From da9342170302a9cf9113f0b624e194a3091d2dba Mon Sep 17 00:00:00 2001 From: Robert Boehne Date: Mon, 2 Jun 2003 04:42:52 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ libtool.m4 | 4 ++-- ltmain.in | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a9145461..817b784ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-06-01 Robert Boehne + + * 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 * libltdl/ltdl.c (argz_insert): Corrected an off by one error when diff --git a/libtool.m4 b/libtool.m4 index 83f149da5..a2a214f8f 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 ;; diff --git a/ltmain.in b/ltmain.in index 0e628b875..9a41e2770 100644 --- 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'" ;; -- 2.47.3