]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in: added main() definition in compile
authorChristopher A. Knight <chriskn@crt.com>
Tue, 14 Mar 2000 20:22:42 +0000 (20:22 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 14 Mar 2000 20:22:42 +0000 (20:22 +0000)
check for header `dlfcn.h' to fix link errors
when built with Sun Workshop Pro CC 4.2 (and perhaps
others).

ChangeLog
ltconfig.in

index 8cfbf0a7fb45cee5104c46565c260faa9dbe270f..22c97649e57785eeb125eeefb2864aa606a082da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-03-14  Christopher A. Knight  <chriskn@crt.com>
+
+       * ltconfig.in: added main() definition in compile
+       check for header `dlfcn.h' to fix link errors 
+       when built with Sun Workshop Pro CC 4.2 (and perhaps
+       others).
 2000-02-03  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
        * libltdl/ltdl.c (lt_find_dlhandle): Deleted.  This was B.S.
index cb886ea3a45d2b75dd1056e0a388c48ac566c7c5..ee7cb2061d50d0bce9a673b5bd3281123727e9fd 100755 (executable)
@@ -2274,6 +2274,7 @@ else
 #line @LINENO@ "ltconfig"
 #include <$ac_hdr>
 int fnord = 0;
+int main () { }
 EOF
 ac_try="$ac_compile >/dev/null 2>conftest.out"
 { (eval echo $progname:@LINENO@: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }