]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (dlfcn.h): function definition may cause warnings;
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 11 Mar 1999 02:26:29 +0000 (02:26 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 11 Mar 1999 02:26:29 +0000 (02:26 +0000)
define variable instead

ChangeLog
ltconfig.in

index 381008dae2f851272bf9ef30dec347c6e278b9e0..c59ea688b9a6d6899062ea6df1ac518a973b949f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-03-10  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltconfig.in (dlfcn.h): function definition may cause warnings;
+       define variable instead
+
        * ltmain.in: properly create an export file for a program,
        avoiding error messages about not finding it
 
index 1a4b57b8865cda145ec78097a50b58b449961114..2cec09902d865319f2525e84de75b8b64b8f4736 100755 (executable)
@@ -2144,7 +2144,7 @@ else
   cat > conftest.$ac_ext <<EOF
 #line @LINENO@ "ltconfig"
 #include <$ac_hdr>
-int fnord() { return 0; }
+int fnord = 0;
 EOF
 ac_try="$ac_compile conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }