49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
$OpenBSD: patch-configure,v 1.7 2004/02/27 08:39:30 pvalchev Exp $
|
|
--- configure.orig 2000-03-29 17:51:49.000000000 -0700
|
|
+++ configure 2004-02-27 01:28:04.000000000 -0700
|
|
@@ -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"
|
|
@@ -1273,10 +1273,34 @@ sparc-*) cat >> confdefs.h <<\EOF
|
|
#define __sparc__ 1
|
|
EOF
|
|
;;
|
|
-ppc-*) cat >> confdefs.h <<\EOF
|
|
+sparc64-*) cat >> confdefs.h <<\EOF
|
|
+#define __sparc64__ 1
|
|
+EOF
|
|
+;;
|
|
+ppc-*|powerpc-*) cat >> confdefs.h <<\EOF
|
|
#define __ppc__ 1
|
|
EOF
|
|
;;
|
|
+vax-*) cat >> confdefs.h <<\EOF
|
|
+#define __vax__ 1
|
|
+EOF
|
|
+;;
|
|
+m68k-*) cat >> confdefs.h <<\EOF
|
|
+#define __m68k__ 1
|
|
+EOF
|
|
+;;
|
|
+hppa-*) cat >> confdefs.h <<\EOF
|
|
+#define __hppa__ 1
|
|
+EOF
|
|
+;;
|
|
+arm-*) cat >> confdefs.h <<\EOF
|
|
+#define __arm__ 1
|
|
+EOF
|
|
+;;
|
|
+x86_64-*) cat >> confdefs.h <<\EOF
|
|
+#define __amd64__ 1
|
|
+EOF
|
|
+;;
|
|
*) echo "$host is not currently supported by ac3dec"; exit 1;;
|
|
esac
|
|
|