autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

Is AX_PATH_GENERIC() broken?


From: Vadim Zeitlin
Subject: Is AX_PATH_GENERIC() broken?
Date: Wed, 23 Jun 2010 12:19:55 +0200

 Hello,

 It looks like AX_PATH_GENERIC is broken:

        % cat configure.ac
        AC_INIT([foo],[1.0])
        AM_INIT_AUTOMAKE
        AX_PATH_GENERIC([curl])
        AC_SUBST(FOO)
        % curl -s -o ax_path_generic.m4 
'http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_generic.m4'
        % aclocal -I .
        % autoconf
        configure.ac:4: error: possibly undefined macro: AC_SUBST
              If this token and others are legitimate, please use 
m4_pattern_allow.
              See the Autoconf documentation.
        configure:2373: error: possibly undefined macro: AC_MSG_RESULT

IOW, any macros used after AX_PATH_GENERIC() don't work, probably because
there is a mismatched bracket or something like this in it but I don't see
anything obviously wrong and don't really know how to debug it.

 Unsurprisingly, any macros using AX_PATH_GENERIC(), e.g. AX_LIB_CURL(),
are broken too and using them results in the same error message.

 It would be great if somebody could look into this because
AX_PATH_GENERIC() definitely looks like a useful macro (although it's
unfortunate that it doesn't provide --without-library option to disable the
use of the library entirely, it would have been perfect if it did) but it
just can't be used currently.

 Thanks in advance,
VZ

Attachment: pgprIC8qobHyt.pgp
Description: PGP signature


reply via email to

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