]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/link-order.at [ aix* ]: skip path syntax grep.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 23 Sep 2005 16:48:14 +0000 (16:48 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 23 Sep 2005 16:48:14 +0000 (16:48 +0000)
ChangeLog
tests/link-order.at

index f934736344eef57ad0af0966cf5644f71f85ff66..0c92fbccda7122da4c0a5ace3d93cebe69502fc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-23  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * tests/link-order.at [ aix* ]: skip path syntax grep.
+
 2005-09-23  Peter Ekberg  <peda@lysator.liu.se>,
 
        * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Fix awk
index 2034a116c04e4ccaf04e50cff9a73b3cbe383cd2..d56d364bdcea72f63a65d802dc0c07fdacb2a096 100644 (file)
@@ -64,10 +64,15 @@ done
 $LIBTOOL --mode=clean rm -f src/libb.la
 $LIBTOOL --mode=clean rm -f src/liba.la
 
-# Do not error if we do not relink (e.g. static-only systems)
-AT_CHECK([if $EGREP relinking stderr; then
-           $EGREP ' -L.*\/new\/lib -lb -L.*\/old\/lib -lcee' stdout
-         else :; fi], [0], [ignore], [], [echo "wrong link order"])
+case $host_os in
+aix*) ;;  # AIX has different path syntax
+*)
+  # Do not error if we do not relink (e.g. static-only systems)
+  AT_CHECK([if $EGREP relinking stderr; then
+             $EGREP ' -L.*\/new\/lib -lb -L.*\/old\/lib -lcee' stdout
+           else :; fi], [0], [ignore], [], [echo "wrong link order"])
+  ;;
+esac
 
 for i in old new; do
   cat >src/main_$i.c <<EOF