diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2003-02-11 13:30:25 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2003-02-11 13:30:25 +0000 |
commit | 7543ec879ee711b62740fd93e3b5dbe0b3919889 (patch) | |
tree | 0e92f93949e11e30ba95acd11a6657f7c3e5c3b5 | |
parent | 8011789f2b818d66dcb5362a10cc7c6715fe2c93 (diff) | |
download | automake-7543ec879ee711b62740fd93e3b5dbe0b3919889.tar.gz |
Temporary hack for PR automake/381:
* automake.in (handle_gettext): Turn missing po/ and intl/ errors
into -Wsyntax warnings.
-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 |