octave-maintainers
[Top][All Lists]
Advanced

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

Re: UGLY_DEFS for darwin in configure.in


From: Thomas Treichl
Subject: Re: UGLY_DEFS for darwin in configure.in
Date: Thu, 04 Oct 2007 22:12:17 +0200
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

John W. Eaton schrieb:
On  4-Oct-2007, Thomas Treichl wrote:

| Ok, thanks, things are clear for me now. Will the comments in configure.in for | the *darwin*/UGLY_DEFS also be ok?

OK, I checked in the following change.  I'm assuming that although the
check for sed is not testing for precisely the problem that led to the
special case, it will avoid the problem sed on OS X systems.

jwe
<SNIP>
+### We have to insert extra levels of backslash quoting here so that
+### the right thing ends up in oct-conf.h.
+UGLY_DEFS=`echo $DEFS | $(SED) 's,\\",\\\\\\\\\\\\\\\\\\",g'`
 AC_MSG_NOTICE([defining UGLY_DEFS to be $UGLY_DEFS])
 AC_SUBST(UGLY_DEFS)

Sorry, $(SED) does not work for me with './configure SED=...' here but ${SED} would work for me and $SED would work too - can either be type #2 or #3 be used instead?

  Thomas


reply via email to

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