octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UGLY_DEFS for darwin in configure.in


From: Thomas Treichl
Subject: UGLY_DEFS for darwin in configure.in
Date: Sun, 23 Sep 2007 00:31:08 +0200
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

Hi again,

I've done a lot of tests and I spend quite a lot of time to see if the lines

  *-*-darwin*)
    UGLY_DEFS=`echo $DEFS | sed 's,\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",g'`
  ;;

in configure.in of the current Octave 2.9.14 sources are still necessary. The big problem that I've got is that I actually am not able to reproduce the problem. This means that I'm not able to compile Octave with MacOSX's original 'sed' at all, the problems are much bigger then just setting the UGLY_DEFS in a different way than on any other *nix platform (The reason may be that either MacOSX's sed is too much POSIX or too much broken in some way, I actually don't know).

My wish would be that these lines could be completely be removed from the ./configure.in script but only if we are sure that there is absolutely no other MacOSX distribution packaging process broken. I've checked the MacPorts patch file where I've already found that these lines are commented out and I'm also forwarding this email to Jeffrey and Marius (from the Fink project and the Huntsville Macintosh Users Group) with the request if they maybe will have the time to apply the attached patch to the current Octave 2.9.14 on a Mac platform and see if this does work for them. That's actually the best poor idea that I've got to make sure to solve that problem...

  Thomas
--- octave-2.9.14/configure.in.orig     2007-09-22 23:57:49.000000000 +0200
+++ octave-2.9.14/configure.in  2007-09-22 23:58:08.000000000 +0200
@@ -1805,9 +1805,9 @@
 dnl "broken shell backslash quoting" or somesuch.
 dnl
 case "$canonical_host_type" in
-  *-*-darwin*)
-    UGLY_DEFS=`echo $DEFS | sed 
's,\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",g'`
-  ;;
+  #*-*-darwin*)
+  #  UGLY_DEFS=`echo $DEFS | sed 
's,\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",g'`
+  #;;
   *)
     UGLY_DEFS=`echo $DEFS | sed 's,\\",\\\\\\\\\\\\\\\\\\",g'`
   ;;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]