[Top][All Lists]

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

Re: [bug-inetutils] bootstrap is broken

From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] bootstrap is broken
Date: Tue, 20 Dec 2011 18:41:04 -0500

Mats reported the following problem when bootstraping inetutils with
the latest gnulib/ (2011-12-17):

     configure.ac:152: error: possibly undefined macro: gl_FUNC_READLINE

     configure.ac:176: error: possibly undefined macro: AC_DEFINE

This is due that we set ACLOCAL_FLAGS in bootstrap.conf, the change
that introduced this is:

    * build-aux/bootstrap (AUTOPOINT, AUTORECONF): Factor out definitions.
    Run autopoint and libtoolize *before* gnulib-tool.
    After it, run an abbreviated autoreconf, rather than a loop around
    all tools.
    (slirp, bt_mark_as_generated): Remove functions.

Since ACLOCAL_FLAGS isn't passed to autoreconf, I suggest the
following fix.

2011-12-21  Alfred M. Szmidt  <address@hidden>

        * build-aux/bootstrap (AUTOPOINT): Pass ACLOCAL_FLAGS when
        invoking autoreconf.

--- build-aux/bootstrap~
+++ build-aux/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2011-12-17.15; # UTC
+scriptversion=2011-12-20.23; # UTC
 # Bootstrap this package from checked-out sources.
@@ -821,9 +821,9 @@ find "$m4_base" "$source_base" \
 # Tell autoreconf not to invoke autopoint or libtoolize; they were run above.
 echo "running: AUTOPOINT=true LIBTOOLIZE=true " \
-    "$AUTORECONF --verbose --install --no-recursive -I $m4_base"
+    "$AUTORECONF --verbose --install --no-recursive -I $m4_base $ACLOCAL_FLAGS"
-    $AUTORECONF --verbose --install --no-recursive -I $m4_base \
+    $AUTORECONF --verbose --install --no-recursive -I $m4_base $ACLOCAL_FLAGS\
   || exit 1
 # Get some extra files from gnulib, overriding existing files.

reply via email to

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