From: Thomas Tanner Date: Tue, 23 Mar 1999 16:25:30 +0000 (+0000) Subject: * libltdl/configure.in: the sed expression for finding the shared X-Git-Tag: release-1-3~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af9e16949f6a82fc6602a235ada947c64b65a39d;p=thirdparty%2Flibtool.git * libltdl/configure.in: the sed expression for finding the shared library extension used to think the . in [.] for the cygwin shared_library_names_spec was the start of the extension!! We now remove anything in square brackets (assuming that the square brackets delimit a sed or expr expression which is not part of the extension) before looking for the extension. --- diff --git a/ChangeLog b/ChangeLog index 0f740f99f..d62a6c4b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,15 @@ * ltmain.in: don't allow relative run-paths, fixed a typo in a warning, ignore -dlopen self for libraries and objects +1999-03-23 Gary V. Vaughan + + * libltdl/configure.in: the sed expression for finding the shared + library extension used to think the . in [.] for the cygwin + shared_library_names_spec was the start of the extension!! We now + remove anything in square brackets (assuming that the square + brackets delimit a sed or expr expression which is not part of the + extension) before looking for the extension. + 1999-03-21 Alexandre Oliva * tests/build-relink.test: if we relink and have hardcode_direct, diff --git a/libltdl/configure.in b/libltdl/configure.in index 0d3b45351..2a0bb859c 100644 --- a/libltdl/configure.in +++ b/libltdl/configure.in @@ -42,7 +42,7 @@ AC_CACHE_CHECK([which extension is used for shared libraries], done rm -f conftest changequote(, ) - echo "$last" | sed 's/^[^.]*//;s/\$.*$//;s/\.$//' > conftest + echo "$last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest changequote([, ]) ) libltdl_cv_shlibext=`cat conftest`