2010-02-23 14:55:15 -05:00
|
|
|
$OpenBSD: patch-configure,v 1.9 2010/02/23 19:55:15 phessler Exp $
|
|
|
|
--- configure.orig Thu Mar 30 02:51:49 2000
|
|
|
|
+++ configure Sat Feb 13 11:30:23 2010
|
2003-06-22 14:34:38 -04:00
|
|
|
@@ -528,7 +528,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
ac_aux_dir=
|
|
|
|
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
|
|
|
+for ac_dir in ${GNUSYSTEM_AUX_DIR} $srcdir $srcdir/.. $srcdir/../..; do
|
|
|
|
if test -f $ac_dir/install-sh; then
|
|
|
|
ac_aux_dir=$ac_dir
|
|
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2004-10-27 12:47:05 -04:00
|
|
|
@@ -1273,8 +1273,36 @@ sparc-*) cat >> confdefs.h <<\EOF
|
2001-04-22 18:57:27 -04:00
|
|
|
#define __sparc__ 1
|
|
|
|
EOF
|
|
|
|
;;
|
|
|
|
-ppc-*) cat >> confdefs.h <<\EOF
|
2002-04-09 15:50:14 -04:00
|
|
|
+sparc64-*) cat >> confdefs.h <<\EOF
|
|
|
|
+#define __sparc64__ 1
|
|
|
|
+EOF
|
|
|
|
+;;
|
2001-04-22 18:57:27 -04:00
|
|
|
+ppc-*|powerpc-*) cat >> confdefs.h <<\EOF
|
|
|
|
#define __ppc__ 1
|
2004-10-27 12:47:05 -04:00
|
|
|
+EOF
|
|
|
|
+;;
|
2003-06-22 14:34:38 -04:00
|
|
|
+vax-*) cat >> confdefs.h <<\EOF
|
|
|
|
+#define __vax__ 1
|
2003-06-26 17:23:41 -04:00
|
|
|
+EOF
|
|
|
|
+;;
|
|
|
|
+m68k-*) cat >> confdefs.h <<\EOF
|
|
|
|
+#define __m68k__ 1
|
2003-12-01 20:59:46 -05:00
|
|
|
+EOF
|
|
|
|
+;;
|
|
|
|
+hppa-*) cat >> confdefs.h <<\EOF
|
|
|
|
+#define __hppa__ 1
|
|
|
|
+EOF
|
2004-02-20 18:33:58 -05:00
|
|
|
+;;
|
|
|
|
+arm-*) cat >> confdefs.h <<\EOF
|
|
|
|
+#define __arm__ 1
|
|
|
|
+EOF
|
2004-02-27 03:39:30 -05:00
|
|
|
+;;
|
|
|
|
+x86_64-*) cat >> confdefs.h <<\EOF
|
|
|
|
+#define __amd64__ 1
|
|
|
|
+EOF
|
2003-12-01 20:59:46 -05:00
|
|
|
+;;
|
2010-02-23 14:55:15 -05:00
|
|
|
+mips64-*|mips64el-*) cat >> confdefs.h <<\EOF
|
2004-10-27 12:47:05 -04:00
|
|
|
+#define __mips64__ 1
|
|
|
|
EOF
|
|
|
|
;;
|
2003-06-22 14:34:38 -04:00
|
|
|
*) echo "$host is not currently supported by ac3dec"; exit 1;;
|