summaryrefslogtreecommitdiff
path: root/editors/emacs23/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs23/files/patch-configure.in')
-rw-r--r--editors/emacs23/files/patch-configure.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/editors/emacs23/files/patch-configure.in b/editors/emacs23/files/patch-configure.in
new file mode 100644
index 000000000000..6a3bd7899d58
--- /dev/null
+++ b/editors/emacs23/files/patch-configure.in
@@ -0,0 +1,37 @@
+--- configure.in.orig Sun Mar 16 17:06:05 2003
++++ configure.in Thu Mar 18 13:31:10 2004
+@@ -179,6 +179,18 @@
+ machine='' opsys='' unported=no
+ case "${canonical}" in
+
++ ## FreeBSD ports
++ *-*-freebsd* )
++ opsys=freebsd
++ case "${canonical}" in
++ alpha*-*-freebsd*) machine=alpha ;;
++ amd64-*-freebsd*) machine=amd64 ;;
++ ia64-*-freebsd*) machine=ia64 ;;
++ i[3456]86-*-freebsd*) machine=intel386 ;;
++ sparc64-*-freebsd*) machine=sparc ;;
++ esac
++ ;;
++
+ ## NetBSD ports
+ *-*-netbsd* )
+ opsys=netbsd
+@@ -1032,7 +1044,6 @@
+ ;;
+ *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
+ *-386bsd* ) opsys=386bsd ;;
+- *-freebsd* ) opsys=freebsd ;;
+ *-nextstep* ) opsys=nextstep ;;
+ ## Otherwise, we'll fall through to the generic opsys code at the bottom.
+ esac
+@@ -2050,6 +2061,7 @@
+ # Solaris requires -lintl if you want strerror (which calls dgettext)
+ # to return localized messages.
+ AC_CHECK_LIB(intl, dgettext)
++AC_CHECK_LIB(xpg4, _xpg4_setrunelocale)
+
+ AC_MSG_CHECKING(whether localtime caches TZ)
+ AC_CACHE_VAL(emacs_cv_localtime_cache,