[ CCing to automake@gnu.org as this is an automake issue ] I had similar problems after upgrading to automake-1.10, which (because it wasn't available in Debian etch) I installed in /usr/local whereas all the m4 macros were in /usr.
The solution I used was to create a file /usr/local/share/aclocal/dirlist containing the single line /usr/share/aclocal I don't think this solution is particularly neat, but it worked for me. J' On Wed, Mar 28, 2007 at 04:08:30PM -0400, Jason Stover wrote: make -f Smake is failing to expand AM_INTL_SUBDIR. I've been struggling with this problem for a while now. My lack of understanding of aclocal and autoconf is hindering progress. So tell me if I have this straight: 1. aclocal should copy the contents of m4/*.m4 and gl/m4/*.m4 into configure.ac. 2. autoconf should read the macros defined in configure.ac, run m4 on them, and place the results in configure. Is that right? Now here is the error: $ make -f Smake ... aclocal -I m4 -I gl/m4 autoconf configure.ac:26: warning: AM_INTL_SUBDIR is m4_require'd but not m4_defun'd m4/gettext.m4:362: AM_GNU_GETTEXT is expanded from... configure.ac:26: the top level configure:20777: error: possibly undefined macro: AM_INTL_SUBDIR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. *** Error code 1 ...the problem is that I can see the macro defined in the m4 directory: $ grep AM_INTL_SUBDIR m4/*.m4 m4/gettext.m4: AC_REQUIRE([AM_INTL_SUBDIR])dnl m4/intl.m4:AC_DEFUN([AM_INTL_SUBDIR], ...so it looks like aclocal isn't including some necessary information in configure.ac. Is that right? But before it choked, I saw this: ... Copying file m4/intl.m4 ... Doesn't that mean aclocal copied the defun into configure.ac? A few details that might be relevant: I recently upgraded to the latest version of automake, and auto*, and aclocal. My system has BSD m4 in /usr/bin, and GNU m4 1.4.3 in /usr/local/bin. Any hints or section of relevant docs I should read? -Jason _______________________________________________ pspp-dev mailing list pspp-dev@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-dev -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature