autoconf
[Top][All Lists]
Advanced

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

config.status endless loop


From: Peter Eisentraut
Subject: config.status endless loop
Date: Fri, 20 Sep 2002 18:35:51 +0200 (CEST)

When a substitution variable FOO contains the string @FOO@, config.status
runs forever.  Example:

$ cat configure.ac
AC_INIT
FOO='@FOO@'
AC_SUBST(FOO)
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
$ cat Makefile.in
FOO = @FOO@
$ ./configure
configure: creating ./config.status
config.status: creating Makefile
[hangs]

Of course, such a situation seems highly unusual, but I write because it
happened to me today in a real application.

Looking at the code, changing

s,@FOO@,@FOO@,;t t

to

s,@FOO@,@FOO@,g

would work, but I'm sure there are performance implications.

-- 
Peter Eisentraut   address@hidden





reply via email to

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