blob: 9a6f9c99907cbcf077c45be34a8289a1a6f375f6 (
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
29
30
31
32
33
34
35
36
37
38
39
40
|
$NetBSD: patch-ab,v 1.16 2006/04/14 10:02:31 adam Exp $
--- configure.orig 2006-04-13 13:35:11.000000000 +0200
+++ configure
@@ -28438,8 +28438,16 @@ if test "x$enable_altivec" = xyes; then
echo "$as_me:$LINENO: checking whether we can compile Altivec code" >&5
echo $ECHO_N "checking whether we can compile Altivec code... $ECHO_C" >&6
+ gimp_save_CFLAGS=$CFLAGS
+ case `uname` in
+ Darwin)
+ CFLAGS="$CFLAGS -faltivec"
+ ;;
+ *)
+ ;;
+ esac
cat >conftest.$ac_ext <<_ACEOF
-asm ("vand %v0, %v0, %v0");
+asm ("vand v0, v0, v0");
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
@@ -28479,7 +28487,7 @@ enable_altivec=no
echo "${ECHO_T}no" >&6
{ echo "$as_me:$LINENO: WARNING: The assembler does not support the Altivec command set." >&5
echo "$as_me: WARNING: The assembler does not support the Altivec command set." >&2;}
-
+ CFLAGS=$gimp_save_CFLAGS
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
@@ -34436,7 +34444,7 @@ fi;
gimpdatadir="$datadir/$PACKAGE/2.0"
gimpplugindir="$libdir/$PACKAGE/2.0"
-gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
+gimpsysconfdir="$sysconfdir"
|