bug-gnulib
[Top][All Lists]
Advanced

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

work around automake error


From: Bruno Haible
Subject: work around automake error
Date: Tue, 10 Jan 2006 14:28:30 +0100
User-agent: KMail/1.5.4

Hi,

./gnulib-tool --create-testdir --dir=/dev/shm/testdir --with-tests gettext
gives an error:
configure.ac: AM_GNU_GETTEXT used but SUBDIRS not defined
autoreconf: automake failed with exit status: 1

I'm committing this fix.

2006-01-07  Bruno Haible  <address@hidden>

        * gnulib-tool (func_emit_tests_Makefile_am): Emit an empty SUBDIR
        variable.
        Needed to avoid an automake error regarding the 'gettext' module.

*** gnulib-tool.bak     2006-01-07 16:41:09.000000000 +0100
--- gnulib-tool 2006-01-07 19:41:07.000000000 +0100
***************
*** 748,753 ****
--- 748,757 ----
    echo
    echo "ACLOCAL_AMFLAGS = -I ${testsbase_inverse}/${m4base}"
    echo
+   # Nothing is being added to SUBDIRS; nevertheless the existence of this
+   # variable is needed to avoid an error from automake:
+   #   "AM_GNU_GETTEXT used but SUBDIRS not defined"
+   echo "SUBDIRS ="
    echo "TESTS ="
    echo "TESTS_ENVIRONMENT ="
    echo "noinst_PROGRAMS ="






reply via email to

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