openbsd-ports/x11/ogle/patches/patch-configure
espie baf199b2b6 Update to 0.8.3
- openbsd native audio, mostly thanks to Bjorn.
- slightly better navigation code.
2002-06-15 23:09:34 +00:00

34 lines
908 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2002/06/15 23:09:34 espie Exp $
--- configure.orig Wed Jun 12 00:11:32 2002
+++ configure Sun Jun 16 00:51:03 2002
@@ -6255,6 +6255,7 @@ else
cat > conftest.$ac_ext <<EOF
#line 6257 "configure"
#include "confdefs.h"
+#include <X11/Xlib.h>
#include <X11/extensions/XShm.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
@@ -7795,6 +7796,7 @@ else
cat > conftest.$ac_ext <<EOF
#line 7797 "configure"
#include "confdefs.h"
+#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
@@ -8075,8 +8077,11 @@ EOF
powerpc|ppc)
if test "x$GCC" = xyes; then
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops"
- XCFLAGS="-Wa,-m7400"
- USE_ALTIVEC=yes
+ echo | as -m7400 >/dev/null
+ if test $? -eq 0; then
+ XCFLAGS="-Wa,-m7400"
+ USE_ALTIVEC=yes
+ fi
fi
esac