PATCH: uname(1) on UnixWare (Solaris)
Bang Jun-Young
bjy at mogua.org
Wed Jun 6 14:01:49 CDT 2001
On Wed, Jun 06, 2001 at 07:38:03PM +0200, Marcus Meissner wrote:
> to end that $OSNAME and `uname` thread, here a patch which just gets rid
> of the OS names and uses the commandline flags.
Oops, here is my patch which does the same thing (no kidding).
ChangeLog entry:
* configure.in:
Replace "Linux dll" with "GNU style ELF dll".
Remove support for NetBSD a.out dll.
--
Bang Jun-Young <bjy at mogua.org>
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /home/wine/wine/configure.in,v
retrieving revision 1.204
diff -u -u -r1.204 configure.in
--- configure.in 2001/05/31 21:35:15 1.204
+++ configure.in 2001/06/06 17:55:56
@@ -593,14 +593,14 @@
LDDLLFLAGS=""
if test "$LIBEXT" = "so"
then
- AC_CACHE_CHECK("whether we can build a Linux dll",
- ac_cv_c_dll_linux,
+ AC_CACHE_CHECK("whether we can build a GNU style ELF dll",
+ ac_cv_c_dll_gnuelf,
[saved_cflags=$CFLAGS
CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
- AC_TRY_LINK(,[return 1],ac_cv_c_dll_linux="yes",ac_cv_c_dll_linux="no")
+ AC_TRY_LINK(,[return 1],ac_cv_c_dll_gnuelf="yes",ac_cv_c_dll_gnuelf="no")
CFLAGS=$saved_cflags
])
- if test "$ac_cv_c_dll_linux" = "yes"
+ if test "$ac_cv_c_dll_gnuelf" = "yes"
then
LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%) -Wl,-rpath,\$(libdir)"
LDDLLFLAGS="-Wl,-Bsymbolic"
@@ -616,22 +616,9 @@
then
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,\$(libdir)/%)"
LDDLLFLAGS="-Wl,-B,symbolic"
- else
- AC_CACHE_CHECK("whether we can build a NetBSD a.out dll",
- ac_cv_c_dll_netbsd,
- [saved_cflags=$CFLAGS
- CFLAGS="$CFLAGS -fPIC -Wl,-Bshareable,-Bforcearchive"
- AC_TRY_LINK(,[return 1],ac_cv_c_dll_netbsd="yes",ac_cv_c_dll_netbsd="no")
- CFLAGS=$saved_cflags
- ])
- if test "$ac_cv_c_dll_netbsd" = "yes"
- then
- LDSHARED="\$(CC) -Wl,-Bshareable,-Bforcearchive"
- LDDLLFLAGS="" #FIXME
- fi
fi
fi
- if test "$ac_cv_c_dll_linux" = "no" -a "$ac_cv_c_dll_unixware" = "no" -a "$ac_cv_c_dll_netbsd" = "no"
+ if test "$ac_cv_c_dll_gnuelf" = "no" -a "$ac_cv_c_dll_unixware" = "no"
then
LIBEXT="a"
if test "$DLLWRAP" = "dllwrap"; then
More information about the wine-patches
mailing list