aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs-devel/files/patch-configure.ac
blob: 5058b3f986d7b8122518e21b4ab2e6b44bf42acb (plain) (blame)
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
--- configure.ac.orig   2007-05-21 03:50:13.000000000 +0000
+++ configure.ac    2008-08-04 13:50:15.000000000 +0000
@@ -389,5 +389,7 @@
 dnl
+dnl m4_fst disappeared without a trace in autoconf 2.62
+m4_define([xe_fst], [$1])dnl
 define([XE_EXPAND_COMPLEX_OPTIONS],
 [m4_if([$2], [], [],
-       [XE_EXPAND_COMPLEX_OPTION([$1], m4_fst($2))[]dnl
+       [XE_EXPAND_COMPLEX_OPTION([$1], xe_fst($2))[]dnl
 XE_EXPAND_COMPLEX_OPTIONS([$1], XE_CDR($2))])])dnl
@@ -1313,2 +1315,3 @@
   *-*-linux*    ) opsys=linux ;;
+  *-*-freebsd* ) opsys=freebsd ;;
   *-*-netbsd*   ) opsys=netbsd ;;
@@ -3496,3 +3499,3 @@
       for freetype_include_top in "/usr/X11R6/include/freetype2" \
-                 "/usr/include/freetype2"
+                 "$with_site_includes/freetype2"
       do
@@ -5420,3 +5423,3 @@
   AC_MSG_CHECKING(for Berkeley db.h)
-  for header in "db/db.h" "db.h"; do
+  for header in "/usr/include/db.h" "db/db.h" "db.h"; do
     AC_COMPILE_IFELSE([AC_LANG_SOURCE([