From: Tom Kacvinsky Date: Sat, 2 Sep 2000 22:50:17 +0000 (+0000) Subject: * libtool.m4: Ignore Tru64's nm's complaint. X-Git-Tag: multi-language-merge-point~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e452718909ba784600a90238f98519e0784fa595;p=thirdparty%2Flibtool.git * libtool.m4: Ignore Tru64's nm's complaint. --- diff --git a/ChangeLog b/ChangeLog index 0e1fa4258..b2a86fe61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-09-02 Tom Kacvinsky , Tim Mooney + + * libtool.m4: Ignore Tru64's nm's complaint. + 2000-09-02 Pavel Roskin * ltconfig.in: only load $cache_file if it's a regular file diff --git a/libtool.m4 b/libtool.m4 index 6468495e2..f1d823708 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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