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   [EMAIL PROTECTED]



Reply via email to