]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/link-order.test [ aix, interix ]: Skip command line
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 20 Nov 2005 08:18:24 +0000 (08:18 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 20 Nov 2005 08:18:24 +0000 (08:18 +0000)
grep.
Reported by Thorsten Glaser <tg@66h.42h.de>.

ChangeLog
tests/link-order.test

index 423b819ad5d0a2d7af95fa6bee390d03800cb296..ba8bb221ef324470141496d4488bd827858fde2f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-20  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * tests/link-order.test [ aix, interix ]: Skip command line
+       grep.
+       Reported by Thorsten Glaser <tg@66h.42h.de>.
+
 2005-11-18  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * ltmain.in (finish mode): Fix a couple of $echo uses.
index a383984d373029764bbde66c41cb0ce8bb7bc5e4..9d9d8e99ed8f52ce8cd34e3b8c84d880b4cc670c 100755 (executable)
@@ -58,13 +58,18 @@ EOF
   cat $srcdir/stderr >&2
 done
 
-# Do not error if we do not relink (e.g. static-only systems)
-if $EGREP relinking $srcdir/stderr; then
-  if $EGREP ' -L.*\/new\/lib -lb -L.*\/old\/lib -lcee' $srcdir/stdout; then :; else
-    echo "$0: wrong link order" 1>&2
-    retcode=1
+case $host in
+*-*-aix* | *-*-interix*) ;; # These systems have different path syntax
+*)
+  # Do not error if we do not relink (e.g. static-only systems)
+  if $EGREP relinking $srcdir/stderr; then
+    if $EGREP ' -L.*\/new\/lib -lb -L.*\/old\/lib -lcee' $srcdir/stdout; then :; else
+      echo "$0: wrong link order" 1>&2
+      retcode=1
+    fi
   fi
-fi
+  ;;
+esac
 
 for i in old new; do
   cat >$srcdir/main_$i.c <<EOF