diff options
author | Akim Demaille <akim@epita.fr> | 2001-01-16 11:04:36 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2001-01-16 11:04:36 +0000 |
commit | 1e2c6b41ce0a1892d04a91aca27cd4ba952fbcdb (patch) | |
tree | 92c826bb5a9a3dc7612de3eab5b976bf98c65b0c /m4/sanity.m4 | |
parent | 17428a197bb794db1e35f25deb08ecd682b4800f (diff) | |
download | automake-1e2c6b41ce0a1892d04a91aca27cd4ba952fbcdb.tar.gz |
* m4/multi.m4: Remove the hairy useless quotation of `$'.
Simplify `ifelse([$2],,,[$2])' into... `$2'!
* m4/minuso.m4: Don't use changequote!
* m4/cond.m4: Fix quotation.
* m4/sanity.m4: Follow the Autoconf coding style.
* m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
* m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
Use AC_CACHE_CHECK.
Diffstat (limited to 'm4/sanity.m4')
-rw-r--r-- | m4/sanity.m4 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/m4/sanity.m4 b/m4/sanity.m4 index ec7b1ff10..81b6019dc 100644 --- a/m4/sanity.m4 +++ b/m4/sanity.m4 @@ -2,6 +2,8 @@ # Check to make sure that the build environment is sane. # +# serial 2 + AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case @@ -14,12 +16,12 @@ echo timestamp > conftestfile # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` - if test "[$]*" = "X"; then + if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi - if test "[$]*" != "X $srcdir/configure conftestfile" \ - && test "[$]*" != "X conftestfile $srcdir/configure"; then + if test "$[*]" != "X $srcdir/configure conftestfile" \ + && test "$[*]" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a @@ -29,7 +31,7 @@ if ( alias in your environment]) fi - test "[$]2" = conftestfile + test "$[2]" = conftestfile ) then # Ok. |