[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    Cygwin and msys configure patches
From:       "Steven Edwards" <Steven_Ed4153 () yahoo ! com>
Date:       2002-03-25 16:51:19
[Download RAW message or body]

These patches fix ./configure on cygwin and msys. Dimi has said he will
write a more compleate configure patch for cygwin soon. Currently you
still have to change LIBEXT= to dll from so when wanting to build
windows style dlls. I assume the patch he is going to write is going to
autodetect the LIBEXT option for the platform you are building on/for.

Changelog: Minor configure fix for building on Cygwin/Msys.

["configure.ac.diff" (application/octet-stream)]

cvs diff configure.ac 
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.10
diff -u -r1.10 configure.ac
--- configure.ac	23 Mar 2002 20:18:11 -0000	1.10
+++ configure.ac	25 Mar 2002 16:45:58 -0000
@@ -13,8 +13,8 @@
 dnl **** Command-line arguments ****
 
 dnl Default values
-LIBEXT=so       # library type .so or .a
-
+LIBEXT=so       # library type .so .a .dll
+ 
 AC_ARG_ENABLE(debug, AC_HELP_STRING([--disable-debug],[compile out all debugging \
messages]))  AC_ARG_ENABLE(trace, AC_HELP_STRING([--disable-trace],[compile out TRACE \
messages]))  AC_ARG_ENABLE(opengl,AC_HELP_STRING([--enable-opengl],[force usage of \
OpenGL even if the latter is thread-safe via pthread])) @@ -790,8 +790,7 @@
     DLLEXT=".so"
     LDPATH="LD_LIBRARY_PATH=\"\$(TOPOBJDIR)/unicode:\$\$LD_LIBRARY_PATH\""
 elif test "$LIBEXT" = "dll"; then
-    #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
-    DLLEXT=""
+    DLLWRAP="dllwrap"
     LDPATH="PATH=\"\$(TOPOBJDIR)/unicode:\$\$PATH\""
 fi


["configure.diff" (application/octet-stream)]

cvs diff configure 
Index: configure
===================================================================
RCS file: /home/wine/wine/configure,v
retrieving revision 1.266
diff -u -r1.266 configure
--- configure	23 Mar 2002 20:18:11 -0000	1.266
+++ configure	25 Mar 2002 16:47:29 -0000
@@ -1009,7 +1009,7 @@
 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
-LIBEXT=so       # library type .so or .a
+LIBEXT=so       # library type .so .a or .dll
 
 # Check whether --enable-debug or --disable-debug was given.
 if test "${enable_debug+set}" = set; then
@@ -7935,8 +7935,7 @@
     DLLEXT=".so"
     LDPATH="LD_LIBRARY_PATH=\"\$(TOPOBJDIR)/unicode:\$\$LD_LIBRARY_PATH\""
 elif test "$LIBEXT" = "dll"; then
-    #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
-    DLLEXT=""
+    DLLWRAP="dllwrap"
     LDPATH="PATH=\"\$(TOPOBJDIR)/unicode:\$\$PATH\""
 fi
 
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic