]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Ignore Tru64's nm's complaint.
authorTom Kacvinsky <tjk@ams.org>
Sat, 2 Sep 2000 22:50:17 +0000 (22:50 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 22:50:17 +0000 (22:50 +0000)
ChangeLog
libtool.m4

index 0e1fa425896cc00897f7a541dcabe89576ba46b5..b2a86fe61c3e57774d22b0282511a179e9bdcdf2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-02  Tom Kacvinsky  <tjk@ams.org>, Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
+
+       * libtool.m4: Ignore Tru64's nm's complaint.
+
 2000-09-02  Pavel Roskin <proski@gnu.org>
 
        * ltconfig.in: only load $cache_file if it's a regular file
index 6468495e2697533f517ded1df508ea74e2464fae..f1d823708f675aee287d946ede5ff8daf41058c2 100644 (file)
@@ -655,7 +655,8 @@ else
       # Check to see if the nm accepts a BSD-compat flag.
       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
       #   nm: unknown option "B" ignored
-      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+      # Tru64's nm complains that /dev/null is an invalid object file
+      if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null||Invalid file or object type)' >/dev/null; then
        ac_cv_path_NM="$tmp_nm -B"
        break
       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then