005073fa51
subsequent update of emacs packages to version 22.
64 lines
1.7 KiB
Text
64 lines
1.7 KiB
Text
$NetBSD: patch-ab,v 1.1 2007/06/11 13:38:33 markd Exp $
|
|
|
|
--- configure.orig 2003-03-18 14:19:12.000000000 +0000
|
|
+++ configure
|
|
@@ -822,9 +822,17 @@ case "${canonical}" in
|
|
sparc*-*-netbsd*) machine=sparc ;;
|
|
vax-*-netbsd*) machine=vax ;;
|
|
arm-*-netbsd*) machine=arm ;;
|
|
+ x86_64-*-netbsd*) machine=amd64 ;;
|
|
+ hppa-*-netbsd*) machine=hp800 ;;
|
|
+ shle-*-netbsd*) machine=sh3el ;;
|
|
esac
|
|
;;
|
|
|
|
+ ## Darwin / Mac OS X
|
|
+ powerpc-apple-darwin* )
|
|
+ machine=powermac opsys=darwin ;;
|
|
+ i386-apple-darwin* )
|
|
+ machine=intel386 opsys=darwin ;;
|
|
## OpenBSD ports
|
|
*-*-openbsd* )
|
|
opsys=openbsd
|
|
@@ -909,6 +917,10 @@ case "${canonical}" in
|
|
machine=macppc opsys=gnu-linux
|
|
;;
|
|
|
|
+ x86_64-*-linux* )
|
|
+ machine=amd64 opsys=gnu-linux
|
|
+ ;;
|
|
+
|
|
## Altos 3068
|
|
m68*-altos-sysv* )
|
|
machine=altos opsys=usg5-2
|
|
@@ -1659,6 +1671,7 @@ case "${canonical}" in
|
|
*-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
|
|
*-386bsd* ) opsys=386bsd ;;
|
|
*-freebsd* ) opsys=freebsd ;;
|
|
+ *-dragonfly* ) opsys=dragonfly ;;
|
|
*-nextstep* ) opsys=nextstep ;;
|
|
## Otherwise, we'll fall through to the generic opsys code at the bottom.
|
|
esac
|
|
@@ -9124,6 +9137,22 @@ EOF
|
|
fi
|
|
|
|
|
|
+# NETBSD: NetBSD's newer run-time linker fix.
|
|
+if test $opsys = netbsd; then
|
|
+ if test -f /usr/lib/crti.o; then
|
|
+ cat >> confdefs.h <<\EOF
|
|
+#define HAVE_NETBSD_CRTI 1
|
|
+EOF
|
|
+
|
|
+ fi
|
|
+ if test -f /usr/lib/crtn.o; then
|
|
+ cat >> confdefs.h <<\EOF
|
|
+#define HAVE_NETBSD_CRTN 1
|
|
+EOF
|
|
+
|
|
+ fi
|
|
+fi
|
|
+
|
|
# Set up the CFLAGS for real compilation, so we can substitute it.
|
|
CFLAGS="$REAL_CFLAGS"
|
|
CPPFLAGS="$REAL_CPPFLAGS"
|