[PPL-devel] [GIT] ppl/ppl(master): Restore the use of the `win32-dll' Libtool option. Use -no-undefined on all variants of Cygwin and MinGW.

Roberto Bagnara bagnara at cs.unipr.it
Wed Dec 30 16:20:59 CET 2009


Module: ppl/ppl
Branch: master
Commit: 0741942dd929d3a02dd508a6f64c2f6fae20a077
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=0741942dd929d3a02dd508a6f64c2f6fae20a077

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Wed Dec 30 16:19:32 2009 +0100

Restore the use of the `win32-dll' Libtool option.  Use -no-undefined on all variants of Cygwin and MinGW.

---

 configure.ac |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5ffb490..e12c6d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -491,7 +491,7 @@ x86_64*)
 esac
 
 case "${host_os}" in
-cygwin)
+cygwin*)
   cygwin=yes
   no_undefined=yes
   ;;
@@ -500,6 +500,7 @@ darwin*)
   ;;
 mingw*)
   mingw=yes
+  no_undefined=yes
   ;;
 solaris*)
   solaris=yes
@@ -932,7 +933,7 @@ darwin*)
     java_dir="/Library/Java/Home"
   fi
   ;;
-# On Fedora 9 systems the JDK is usually in /usr/lib/jvm/java .
+# On modern Fedora systems the JDK is usually in /usr/lib/jvm/java .
 linux*)
   if test "x$java_dir" = x
   then
@@ -1368,7 +1369,7 @@ AM_CONDITIONAL(THOROUGH_MAKE_CHECK, test x"$enableval" = xthorough)
 
 # Libtool.
 LT_PREREQ([1.5.24])
-LT_INIT([dlopen])
+LT_INIT([dlopen,win32-dll])
 AM_CONDITIONAL(ENABLE_SHARED, test x"$enable_shared" = xyes)
 AM_CONDITIONAL(ENABLE_STATIC, test x"$enable_static" = xyes)
 




More information about the PPL-devel mailing list