automake
[Top][All Lists]
Advanced

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

What is `aclocal' trying to tell me? ``error: m4_defn: undefined macro:


From: Thomas Schwinge
Subject: What is `aclocal' trying to tell me? ``error: m4_defn: undefined macro: _m4_divert_diversion''
Date: Wed, 9 May 2007 15:51:01 +0200
User-agent: Mutt/1.5.11

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:address@hidden:/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

Attachment: signature.asc
Description: Digital signature


reply via email to

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