]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match all qnx-nto
authorRobert Boehne <rboehne@gnu.org>
Mon, 2 Jun 2003 04:42:34 +0000 (04:42 +0000)
committerRobert Boehne <rboehne@gnu.org>
Mon, 2 Jun 2003 04:42:34 +0000 (04:42 +0000)
as recent config.guess returns a slightly different string.
* ltmain.in: Replace use of "od" with tr.

ChangeLog
libtool.m4
ltmain.in

index 592e792ae1c56adb154222263210844f8d549135..4268b9f5b72cb43169fab323b1862d7f5ddf2ba9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-01  Robert Boehne  <rboehne@gnu.org>
+
+       * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match all qnx-nto
+       as recent config.guess returns a slightly different string.
+       * ltmain.in: Replace use of "od" with tr.
+
 2003-05-30  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/ltdl.c (argz_insert): Corrected an off by one error when
index 83f149da58cfc663d3a343b4192b1efb70c53fb1..a2a214f8f454cba51ec61f2ab045f5d670a72568 100644 (file)
@@ -1473,7 +1473,7 @@ newsos6)
   shlibpath_overrides_runpath=yes
   ;;
 
-nto-qnx)
+nto-qnx*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -2202,7 +2202,7 @@ newos6*)
   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   ;;
 
-nto-qnx)
+nto-qnx*)
   lt_cv_deplibs_check_method=unknown
   ;;
 
index 0e628b875134a023900a7c04188537ec1dca1b39..9a41e2770d34c08bfcb7da3e061bc1ed864cf949 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -70,8 +70,8 @@ rm="rm -f"
 Xsed="${SED}"' -e 1s/^X//'
 sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
 # test EBCDIC or ASCII
-case `echo A|od -x` in
*[Cc]1*) # EBCDIC based system
+case `echo A|tr A '\301'` in
A) # EBCDIC based system
   SP2NL="tr '\100' '\n'"
   NL2SP="tr '\r\n' '\100\100'"
   ;;