46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
$NetBSD: patch-ab,v 1.1.1.1 2006/07/03 23:29:50 wiz Exp $
|
|
|
|
gcc-2.95 does not know the i386 MMX registers used in the assembler
|
|
statements, do disable them.
|
|
|
|
--- configure.orig Sun Jan 9 23:17:45 2005
|
|
+++ configure Tue Apr 19 17:04:54 2005
|
|
@@ -2046,7 +2046,7 @@ case "$host_os" in
|
|
solaris*) lv_solaris=yes;;
|
|
linux*) lv_linux=yes;;
|
|
*sco*) lv_sco=yes;;
|
|
- freebsd*) lv_freebsd=yes;;
|
|
+ freebsd*|dragonfly*) lv_freebsd=yes;;
|
|
netbsd*) lv_netbsd=yes;;
|
|
openbsd*) lv_openbsd=yes;;
|
|
*darwin*) lv_darwin=yes;;
|
|
@@ -21919,13 +21919,13 @@ echo "$as_me: WARNING: $AIX_COMPILE_INFO
|
|
*)
|
|
LV_THREAD_LIBS=error
|
|
lv_save_LIBS="$LIBS"
|
|
- for thread_lib in "" pthread pthread32 pthreads thread dce; do
|
|
+ for thread_lib in "" -lpthread -lpthread32 -lpthreads -lthread -ldce -pthread; do
|
|
if test x"$thread_lib" = x; then
|
|
add_thread_lib=""
|
|
IN=""
|
|
else
|
|
- add_thread_lib="-l$thread_lib"
|
|
- IN=" in -l$thread_lib"
|
|
+ add_thread_lib="$thread_lib"
|
|
+ IN=" in $thread_lib"
|
|
fi
|
|
if test x"$have_threads" = xposix; then
|
|
defattr=0
|
|
@@ -25450,7 +25450,11 @@ _______EOF
|
|
if test x$lv_ix86 = xyes ; then
|
|
cat >>$outfile <<_______EOF
|
|
|
|
+#if defined(__GNUC__) && __GNUC__ <= 2
|
|
+#define VISUAL_ARCH_UNKNOWN
|
|
+#else
|
|
#define VISUAL_ARCH_X86
|
|
+#endif
|
|
_______EOF
|
|
fi
|
|
|