diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | automake.in | 4 | ||||
-rwxr-xr-x | configure | 9 |
3 files changed, 17 insertions, 2 deletions
@@ -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. diff --git a/automake.in b/automake.in index 4289e262b..0d9c30e4b 100755 --- a/automake.in +++ b/automake.in @@ -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)); @@ -1463,6 +1463,15 @@ else fi rmdir .tst 2>/dev/null +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 + # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |