]> sourceware.org Git - automake.git/commitdiff
* tests/defs (aclocaldir): Check for existence of libtool.m4 and
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 19 Nov 2001 12:27:48 +0000 (12:27 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 19 Nov 2001 12:27:48 +0000 (12:27 +0000)
gettext.m4 if required.

ChangeLog
tests/defs

index 39a6bb04b7a3281da04207562bd3826dee1b69a0..5fe41e690e850e2dd077b44aed5fc69722d76196 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/defs (aclocaldir): Check for existence of libtool.m4 and
+       gettext.m4 if required.
+
 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * automake.in (define_objects_from_sources,
@@ -29,9 +34,9 @@
 
 2001-11-16  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
-       * 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.
index 0fa37c58e6961033c1eae7e008f036051921ae42..a63e442a21bfc11f9965b5a1396718d231886ac6 100644 (file)
@@ -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
This page took 0.038757 seconds and 5 git commands to generate.