]> 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:32:12 +0000 (21:32 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 29 Nov 1999 21:32:12 +0000 (21:32 +0000)
for dlopen support.
Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>

ChangeLog
ltconfig.in

index 5cb509f3f2d798fa41a8086791bcdac511080833..76a74c142456bd97014dbbe20931bf9cb52ddcb3 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 33a2c624a59d368021ce1a20a4befd8fc1ac5a55..f6d5f418b64709294d08bbde940bce64e2295499 100755 (executable)
@@ -2011,6 +2011,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() {
@@ -2048,6 +2051,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() {
@@ -2091,6 +2097,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() {
@@ -2128,6 +2137,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() {
@@ -2173,6 +2185,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() {