From: Alexandre Oliva Date: Thu, 29 Apr 1999 08:03:41 +0000 (+0000) Subject: Revert last Ossama's patch. autoconf does not use extern "C", so we X-Git-Tag: release-1-3b~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9b14e853dbb0b195bb36dd35ac6b728d88a373;p=thirdparty%2Flibtool.git Revert last Ossama's patch. autoconf does not use extern "C", so we shouldn't either, otherwise libtool might think we have dlopening while libltdl might not be able to deliver it. --- diff --git a/ChangeLog b/ChangeLog index 92553541c..9b65dc8df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,3 @@ -1999-04-29 Ossama Othman - - * ltconfig.in (dlopen): Declare it as extern "C" in C++. - 1999-04-29 Gary V. Vaughan * libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the diff --git a/ltconfig.in b/ltconfig.in index abc482f37..79312b767 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -2079,9 +2079,6 @@ else which can conflict with char dlopen(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen();