Hello! I used to use this successfully with GNU Automake 1.10, but now I'm on a system where only 1.9 is available, which i supossed to work and be supported as well.
linux/configfrag.ac
#v+
[...]
61 AC_DEFUN([AC_OPTION_Linux_ix86_at], [
62 [unset enableval]
63 AC_ARG_ENABLE([$1],
64 AS_HELP_STRING([--enable-$1], [$2]))
[...]
86 fi]])
[...]
123 AC_DEFUN([AC_Linux_DRIVER_qemu], [
124 AC_OPTION_Linux_ix86_at([$1], [Linux device driver for $2; on ix86-at
enabled]
125 [by default and for qemu], [$3], [$4])
126 ])
[...]
135 AC_Linux_DRIVER_qemu([floppy],
136 [PC floppy],
137 [CONFIG_BLK_DEV_FD])
[...]
#v-
configure.ac
#v+
[...]
137 # Linux code snarfed into GNU Mach.
138 m4_include([linux/configfrag.ac])
[...]
#v-
The files are available via...
#v+
$ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/hurd co -r gnumach-1-branch gnumach
#v-
But now, what is `aclocal' trying to tell me?
#v+
$ AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal-1.9 --force
linux/configfrag.ac:137: error: m4_defn: undefined macro: _m4_divert_diversion
linux/configfrag.ac:126: AC_Linux_DRIVER_qemu is expanded from...
linux/configfrag.ac:137: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal-1.9: autom4te failed with exit status: 1
autoreconf: aclocal-1.9 failed with exit status: 1
#v-
Regards,
Thomas
signature.asc
Description: Digital signature
