]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (lt_cv_dlopen_self, lt_cv_dlopen_self_static): Use
authorOssama Othman <ossama@debian.org>
Wed, 20 Sep 2000 22:15:43 +0000 (22:15 +0000)
committerOssama Othman <ossama@debian.org>
Wed, 20 Sep 2000 22:15:43 +0000 (22:15 +0000)
"$ac_ext" as test program extension instead of the hard-coded
"c" because the link command expects a test program ending with
the former.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>

ChangeLog
ltconfig.in

index 9c3c58f37130c411bfc575991f691c90d4dcd664..bedee5a23853054df6760f5ff34eda43a7e33147 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-09-20  Ossama Othman  <ossama@debian.org>
+
+       * ltconfig.in (lt_cv_dlopen_self, lt_cv_dlopen_self_static): Use
+       "$ac_ext" as test program extension instead of the hard-coded
+       "c" because the link command expects a test program ending with
+       the former.
+       Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+
 2000-09-15  Nick Hudson  <nick@nthcliff.demon.co.uk>
 
        * ltcf-cxx.sh (netbsd): Improved support.
index 5f875be9d4a80ba1ad6d3407958f2ba1ee379048..94123e4e79d948df889687b57a739fcb47c44f0e 100755 (executable)
@@ -1795,7 +1795,7 @@ else
   if test "$cross_compiling" = yes; then
     lt_cv_dlopen_self=cross
   else
-    cat > conftest.c <<EOF
+    cat > conftest.$ac_ext <<EOF
 #line @LINENO@ "ltconfig"
 
 #if HAVE_DLFCN_H
@@ -1868,7 +1868,7 @@ else
   if test "$cross_compiling" = yes; then
     lt_cv_dlopen_self_static=cross
   else
-    cat > conftest.c <<EOF
+    cat > conftest.$ac_ext <<EOF
 #line @LINENO@ "ltconfig"
 
 #if HAVE_DLFCN_H