]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Temporary hack for PR automake/381:
authorAlexandre Duret-Lutz <adl@gnu.org>
Tue, 11 Feb 2003 13:30:25 +0000 (13:30 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Tue, 11 Feb 2003 13:30:25 +0000 (13:30 +0000)
* automake.in (handle_gettext): Turn missing po/ and intl/ errors
into -Wsyntax warnings.

ChangeLog
automake.in
configure

index d0c0ceca0db3468fe388d6bb1b56c474cad350e0..bfb3d828d41e4daa819c8280fe8214dd7cfd6c0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-11  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       Temporary hack for PR automake/381:
+       * automake.in (handle_gettext): Turn missing po/ and intl/ errors
+       into -Wsyntax warnings.
+
 2003-02-10  Richard Dawe  <rich@phekda.freeserve.co.uk>
 
        * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
index 4289e262b17347789faae6700681d75f50663454..0d9c30e4bfe591ea99b0ee7773669f79fc2f1deb 100755 (executable)
@@ -4724,11 +4724,11 @@ sub handle_gettext
     }
 
   my @subdirs = &variable_value_as_list_recursive ('SUBDIRS', 'all');
-  err_var 'SUBDIRS', "AM_GNU_GETTEXT used but `po' not in SUBDIRS"
+  msg_var 'syntax', 'SUBDIRS', "AM_GNU_GETTEXT used but `po' not in SUBDIRS"
     if ! grep ($_ eq 'po', @subdirs);
   # intl/ is not required when AM_GNU_GETTEXT is called with
   # the `external' option.
-  err_var 'SUBDIRS', "AM_GNU_GETTEXT used but `intl' not in SUBDIRS"
+  msg_var 'syntax', 'SUBDIRS', "AM_GNU_GETTEXT used but `intl' not in SUBDIRS"
     if (! $seen_gettext_external
        && ! grep ($_ eq 'intl', @subdirs));
 
index 63bccbafc02b15add4e538f0dc71316e38af3749..72cc8a09acb6a8b3e17f25d51f4193d017e019b9 100755 (executable)
--- a/configure
+++ b/configure
@@ -1454,6 +1454,15 @@ echo "${ECHO_T}no" >&6
   SET_MAKE="MAKE=${MAKE-make}"
 fi
 
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+  am__leading_dot=.
+else
+  am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
 rm -rf .tst 2>/dev/null
 mkdir .tst 2>/dev/null
 if test -d .tst; then