From: Alexandre Duret-Lutz Date: Mon, 19 Nov 2001 12:27:48 +0000 (+0000) Subject: * tests/defs (aclocaldir): Check for existence of libtool.m4 and X-Git-Tag: Release-1-5b~19 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f4306913141c0b6a8f46dfb57c46d8e1213a8e02;p=automake.git * tests/defs (aclocaldir): Check for existence of libtool.m4 and gettext.m4 if required. --- diff --git a/ChangeLog b/ChangeLog index 39a6bb04..5fe41e69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-19 Alexandre Duret-Lutz + + * tests/defs (aclocaldir): Check for existence of libtool.m4 and + gettext.m4 if required. + 2001-11-16 Alexandre Duret-Lutz * automake.in (define_objects_from_sources, @@ -29,9 +34,9 @@ 2001-11-16 Alexandre Duret-Lutz - * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list): + * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list): New variables. - (handle_single_transform_list, lang_yacc_target_hook): Use + (handle_single_transform_list, lang_yacc_target_hook): Use KNOWN_EXTENSIONS_PATTERN. (accept_extension): New function. (register_language): Call it. diff --git a/tests/defs b/tests/defs index 0fa37c58..a63e442a 100644 --- a/tests/defs +++ b/tests/defs @@ -113,7 +113,12 @@ fi # Find them on the system. aclocaldir=`(aclocal --print-ac-dir) 2>/dev/null` case $required in - *libtool* | *gettext* ) + *libtool* ) + test -f "$aclocaldir/libtool.m4" || exit 77 + ACLOCAL="$ACLOCAL -I $aclocaldir" + ;; + *gettext* ) + test -f "$aclocaldir/gettext.m4" || exit 77 ACLOCAL="$ACLOCAL -I $aclocaldir" ;; esac