| c:/djgpp/tmp/au7944/input.m4:44: c:/djgpp/bin/m4.exe: Cannot open 
| [c:/djgpp/tmp/au7944/m4.m4]: No such file or directory (ENOENT)
| c:/djgpp/tmp/au7944/input.m4:44: c:/djgpp/bin/m4.exe: Cannot open [../libm4.m4]: No 
| such file or directory (ENOENT)
| 
| and a preserved input.m4:
| 
| divert(-1)                                            -*- Autoconf -*-
| changequote([, ])
| 
| # Move all the builtins into the `_au_' pseudo namespace
| include([c:/djgpp/tmp/au7944/m4save.m4])
| 
| # Import the definition of the obsolete macros.
| include([c:/djgpp/tmp/au7944/au.m4])
| 
| # _au_enable
| # ----------
| # Called at the beginning of all the obsolete macros.  Reenable the
| # builtins, and libm4.
| define([_au_enable],
| [_au_divert(-1)
| # Enable special characters.
| _au_changecom([#])
| 
| # Enable the m4 builtins, libm4 and the autoquoting AC macros.
| _au_include([c:/djgpp/tmp/au7944/m4.m4])
| _au_include([../libm4.m4])
| _au_include([c:/djgpp/tmp/au7944/ac.m4])
| 
| _au_divert(0)])
| 
| # _au_disable
| # -----------
| # Called at the end of all the obsolete macros.  Disable the
| # builtins, and libm4.
| define([_au_disable],
| [_au_divert(-1)
| # Disable libm4, the AC autoquoting macros, and m4.
| _au_include([c:/djgpp/tmp/au7944/disable.m4])
| _au_include([c:/djgpp/tmp/au7944/unm4.m4])
| 
| # Disable special characters.
| _au_changequote()
| _au_changecom()
| 
| _au_divert(0)])
| 
| # Disable, and process.
| _au_disable()_au_dnl
| AC_INIT
| dnl The doc says 27 is a valid fubar.
| fubar=27
| AC_OUTPUT(Makefile, echo $fubar, fubar=$fubar)

Akim> I don't understand.  Your file seems fine.

No, I was wrong, your file is wrong.  Actually, the trailer should
look like

| _au_changequote([,])AC_INIT
| dnl The doc says 27 is a valid fubar.
| fubar=27
| _au_changequote([,])AC_OUTPUT(Makefile, echo $fubar, fubar=$fubar)

The script quote.sed is in charge of this, and, sorry I didn't
remember earlier, it currently depends upon GNU sed, or at least, a
sed which supports `\b', since this script is basically:

| s!\bAC_ALLOCA\b!_au_changequote([,])&!
| s!\bAC_CANONICAL_SYSTEM\b!_au_changequote([,])&!
| s!\bAC_CHAR_UNSIGNED\b!_au_changequote([,])&!

etc.

So my guess is that you don't run GNU sed.  I don't know too well what
to do wrt this issue.  Have autoupdate use Perl?

Reply via email to