]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use changequote to
authorGary V. Vaughan <gary@gnu.org>
Fri, 28 Jan 2000 23:28:57 +0000 (23:28 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 28 Jan 2000 23:28:57 +0000 (23:28 +0000)
protect `[' and `]' in deplibs_check_method.

ChangeLog
libtool.m4

index c453440c79b395bbd6c5e521f4a1d93ef92bc0ac..0b813e3ee5479e0adeda27bb265aa257390d3942 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-01-28  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
+       * libtool.m4 (AC_DEPLIBS_CHECK_METHOD):  Use changequote to
+       protect `[' and `]' in deplibs_check_method.
+
        * libltdl/ltdl.h (lt_dlrealloc): Added declaration.
        * libltdl/ltdl.c (lt_dlrealloc): Added default definition.
        
index c5deabb6edc10de525b979d74d1a598fb24b80d0..954412974e888c39e73efb7c3eedf5f1f6fd92a2 100644 (file)
@@ -482,7 +482,9 @@ aix4* | beos*)
   ;;
 
 bsdi4*)
+  changequote(,)dnl
   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+  changequote([, ])dnl
   lt_cv_file_magic_test_file=/shlib/libc.so
   ;;
 
@@ -517,7 +519,9 @@ irix5* | irix6*)
     *) libmagic=never-match;;
     esac
     # this will be overridden with pass_all, but let us keep it just in case
+    changequote(,)dnl
     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+    changequote([, ])dnl
     ;;
   esac
   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
@@ -531,7 +535,9 @@ linux-gnu*)
     lt_cv_deplibs_check_method=pass_all ;;
   *)
     # glibc up to 2.1.1 does not perform some relocations on ARM
+    changequote(,)dnl
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+    changequote([, ])dnl
   esac
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
   ;;
@@ -558,7 +564,9 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     lt_cv_deplibs_check_method=pass_all
     ;;
   motorola)
+    changequote(,)dnl
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+    changequote([, ])dnl
     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     ;;
   esac