diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-04-22 15:00:24 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-04-22 15:12:54 +0900 |
commit | 73acab394290142a84fcbe3c32d9af8d58641802 (patch) | |
tree | 96a672d4811c31a809342506e31bc884463e7b77 /m4 | |
parent | 47fa1cabae2bf45569e8ba14c86efc8d733a85f5 (diff) | |
download | external_gettext-73acab394290142a84fcbe3c32d9af8d58641802.zip external_gettext-73acab394290142a84fcbe3c32d9af8d58641802.tar.gz external_gettext-73acab394290142a84fcbe3c32d9af8d58641802.tar.bz2 |
m4: Apply NM detection fix from Libtool
2013-04-28 Peter Rosin <peda@lysator.liu.se>
libtool: break all the way out when a good nm is found
* m4/libtool.m4 (LT_PATH_NM): Break all the way out on a good
match.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libtool.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4 index ecffaf7..860eb70 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3421,13 +3421,13 @@ else case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" - break + break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" - break + break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |