automake
[Top][All Lists]
Advanced

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

warnings with automake 1.10 on cygwin / pstoedit.m4, libsmi.m4, etc.


From: David Byron
Subject: warnings with automake 1.10 on cygwin / pstoedit.m4, libsmi.m4, etc.
Date: Wed, 17 Jan 2007 10:15:01 -0800

I'm not sure whether this is a cygwin problem, an automake problem, or my
problem but I thought I'd start here.

I'm trying to run the autotools on cygwin (eventually using cccl when I get
that far), but I'm running into trouble before that.  Here's the error I
get:

$ autoreconf -fvi
autoreconf-2.61: Entering directory `.'
autoreconf-2.61: configure.ac: not using Gettext
autoreconf-2.61: running: aclocal --force
/usr/share/aclocal/pstoedit.m4:7: warning: underquoted definition of
AM_PATH_PSTOEDIT
/usr/share/aclocal/pstoedit.m4:7:   run info '(automake)Extending aclocal'
/usr/share/aclocal/pstoedit.m4:7:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/bin/m4: unrecognized option `--debugfile=autom4te.cache/traces.0t'
Try `/usr/bin/m4 --help' for more information.
autom4te-2.61: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf-2.61: aclocal failed with exit status: 1

As background:

$ m4 --version
GNU M4 1.4.4

$ automake --version
automake (GNU automake) 1.10

$ aclocal --version
aclocal (GNU automake) 1.10

I've attached my configure.ac and Makefile.am although I don't think it's
relevant.  If it's interesting:

$ ls -l autom4te.cache/
total 0
-rw-r--r-- 1 dbyron None 0 Jan 17 09:48 output.0t
-rw-r--r-- 1 dbyron None 0 Jan 17 09:48 requests

I went ahead and upgraded to m4 1.4.8:

$ m4 --version
GNU M4 1.4.8

and tried again:

$ rm -r autom4te.cache/
$ autoreconf -fvi
autoreconf-2.61: Entering directory `.'
autoreconf-2.61: configure.ac: not using Gettext
autoreconf-2.61: running: aclocal --force
/usr/share/aclocal/pstoedit.m4:7: warning: underquoted definition of
AM_PATH_PSTOEDIT
/usr/share/aclocal/pstoedit.m4:7:   run info '(automake)Extending aclocal'
/usr/share/aclocal/pstoedit.m4:7:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf-2.61: configure.ac: tracing
autoreconf-2.61: configure.ac: not using Libtool
autoreconf-2.61: running: /usr/bin/autoconf-2.61 --force
autoreconf-2.61: running: /usr/bin/autoheader-2.61 --force
autoreconf-2.61: running: automake --add-missing --copy --force-missing
configure.ac:8: installing `./missing'
configure.ac:8: installing `./install-sh'
Makefile.am: installing `./depcomp'
autoreconf-2.61: Leaving directory `.'

so it works, but there's still this warning.  Looking at
/usr/share/aclocal/pstoedit.m4, it had:

AC_DEFUN(AM_PATH_PSTOEDIT,

on line 7.  I went ahead and changed it to:

AC_DEFUN([AM_PATH_PSTOEDIT],

and the warning disappeared, revealing a different one.  As I fix each one
the same way, a new one appears.  Here are the rest.

/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of
AM_PATH_LIBSMI
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of
AM_PATH_LIBMCRYPT
/usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of
AM_PATH_CPPUNIT

I have a sneaking suspicion this is a cygwin problem since I don't see these
source files in the automake 1.10 tarball I've got.  Can someone take a look
at do a sanity check here before I post to the cygwin list?

Thanks much.

-DB

Attachment: configure.ac
Description: Binary data

Attachment: Makefile.am
Description: Binary data


reply via email to

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