bug-autoconf
[Top][All Lists]
Advanced

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

./configure -C creates config.cache it can't use


From: Matt McClure
Subject: ./configure -C creates config.cache it can't use
Date: Fri, 28 Jun 2002 12:22:28 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530

On IRIX 6.5, I bootstrap with:

libtoolize --force --copy \
&& aclocal \
&& autoheader \
&& automake --foreign --add-missing --copy \
&& autoconf

and then run:

./configure -C

If I run configure again, it says:

bash-2.05$ ./configure -C
configure: loading cache config.cache
./configure[1290]: syntax error at line 76 : `(' unexpected

It seems that configure is changing the line below from aclocal.m4
(included from libtool.m4):

lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/
{\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/
{\"\2\", (lt_ptr) \&\2},/p'"

into the following in config.cache:

test "${lt_cv_global_symbol_to_c_name_address+set}" = set ||
lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^\'^: \([^\'^ *\)
$/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^\'^[BCDEGRST] \([^\'^ ]*\)
\([^\'^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'

(Line wrapping in both of the above lines done by Mozilla.)

I think the requoting/escaping of quote characters is broken.  Sh on
Linux doesn't seem to care, or at least, it ignores the problem
silently.  But IRIX sh barfs, as you can see above.

I'm using:

autoconf 2.53
automake 1.6
libtool 1.4.2

Any ideas how to fix this?

-- 
Matt
http://www.faradic.net/~mmcclure/

    When you move like a jellyfish
    Rhythm don't mean nothing
        -Jack Johnson

Attachment: pgppeARFODjiK.pgp
Description: PGP signature


reply via email to

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