Re: if optimization and eating trailing whitespace with dnl

2009-12-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Mike Frysinger on 12/26/2009 10:58 AM: > the lcd4linux package uses a common construct like so: > > AC_INIT > if :; then > AC_MSG_RESULT([no]) > AC_MSG_ERROR([blah blah blah > blah blah > ])dnl > fi > AC_OUTPUT The dnl is

if optimization and eating trailing whitespace with dnl

2009-12-26 Thread Mike Frysinger
the lcd4linux package uses a common construct like so: AC_INIT if :; then AC_MSG_RESULT([no]) AC_MSG_ERROR([blah blah blah blah blah ])dnl fi AC_OUTPUT with the latest autoconf, this creates a shell script with a syntax error: $ autoconf && bash -n configure configure: line 2363: