blob: f70ca157d4fa54789388cb8b0f391a693e3a6699 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$NetBSD: patch-ai,v 1.4 2000/10/18 11:22:44 rh Exp $
--- configure.orig Sun Oct 26 22:55:34 1997
+++ configure Mon Oct 16 21:09:00 2000
@@ -970,7 +970,7 @@
#try to guess qt locations
qt_incdirs="/usr/lib/qt/include /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt $x_includes $QTINC"
-test -n "$QTDIR" && qt_incdirs="$QTDIR/include $QTDIR $qt_incdirs"
+test -n "$QTDIR" && qt_incdirs="$QTDIR/include $QTDIR/include/qt $QTDIR $qt_incdirs"
qt_incdir=NO
for i in $qt_incdirs;
@@ -1710,6 +1710,14 @@
fi
if test "$OS_TYPE" = "FreeBSD" ; then
OS_TYPE="BSD"
+ fi
+ CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
+ ;;
+
+ NetBSD)
+ CC="gcc"
+ if test "$ARCH_TYPE" = "i386" ; then
+ CFLAGS_ARCH="-i586 -pipe"
fi
CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
;;
|