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  <[EMAIL PROTECTED]>

        * 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 ="




_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to