]> 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:13 +0000 (22:50 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 2 Sep 2000 22:50:13 +0000 (22:50 +0000)
ChangeLog
libtool.m4

index a9236e608c8273cf92cae44f341a826ede4d29a5..7d11c89789520d76e495d7c0d1602ddf8bc938fc 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 86184866b9f4efa4f7a5e71110a63ded64130d00..671e8d049a4b593a45eb1a87bd79b6351ccd0995 100644 (file)
@@ -806,7 +806,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