]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: Be friendlier to C++ compilers when testing
authorGary V. Vaughan <gary@gnu.org>
Mon, 29 Nov 1999 21:39:18 +0000 (21:39 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 29 Nov 1999 21:39:18 +0000 (21:39 +0000)
for dlopen support.
Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>

ChangeLog
ltconfig.in

index 49ed2b5e6b0bd38813a30e7d959aae3d78dcb901..906119504e8fea0cdf3787618c0ec015cce3d6f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-11-29  Gary V. Vaughan  <gary@oranda.demon.co.uk>
+
+       * ltconfig.in:  Be friendlier to C++ compilers when testing
+       for dlopen support.
+       Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>
+
 1999-11-26  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
        * libtool.m4:  better use of $target instead of $host to support
index c816fb72802b346f883dbbcd5ce862b9059165a6..302803f6773be2c6c0fda6770d703dc8b3bd0dc7 100755 (executable)
@@ -2211,6 +2211,9 @@ cat > conftest.$ac_ext <<EOF
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 char dlopen();
 
 int main() {
@@ -2248,6 +2251,9 @@ else
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 char dlopen();
 
 int main() {
@@ -2292,6 +2298,9 @@ cat > conftest.$ac_ext <<EOF
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 char dld_link();
 
 int main() {
@@ -2329,6 +2338,9 @@ else
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 char shl_load();
 
 int main() {
@@ -2375,6 +2387,9 @@ cat > conftest.$ac_ext <<EOF
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 char shl_load();
 
 int main() {