]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Do not use `test ... -a ...'.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 11 Nov 2008 21:55:45 +0000 (22:55 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 11 Nov 2008 21:55:45 +0000 (22:55 +0100)
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
Replace test -a with test && test.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/m4/libtool.m4

index fd5c82b0a94c88c4ed1fa1386cfaf542583832a4..3753fc6eeb1930cc5ced7514a788effdc6d811c1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Do not use `test ... -a ...'.
+       * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [hpux10, hpux11]:
+       Replace test -a with test && test.
+
 2008-11-11  Roumen Petrov  <bugtrack@roumenpetrov.info>  (tiny change)
 
        Fix destdir tests in cross compile mode.
index 0b2f3209dd6711fbc235cecc1c56e4514ae53e74..461e3cd2770c575752ab8d93000b4ba54ca95f04 100644 (file)
@@ -4783,7 +4783,7 @@ _LT_EOF
       ;;
 
     hpux10*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
       else
        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
@@ -4802,7 +4802,7 @@ _LT_EOF
       ;;
 
     hpux11*)
-      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
        case $host_cpu in
        hppa*64*)
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'