summaryrefslogtreecommitdiff
path: root/editors/xemacs-devel/files/patch-configure.ac
blob: 1d9758ae1bae2ef7e28024e7b284f1af3f1a91cf (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
26
27
28
--- configure.ac.orig	Sun Dec 18 19:58:55 2005
+++ configure.ac	Mon Dec 19 16:04:59 2005
@@ -1257,6 +1257,7 @@
 dnl Straightforward OS determination
 case "$ac_cv_build" in
   *-*-linux*    ) opsys=linux ;;
+  *-*-freebsd*	) opsys=freebsd ;;
   *-*-netbsd*   ) opsys=netbsd ;;
   *-*-openbsd*	) opsys=openbsd ;;
   *-*-nextstep* ) opsys=nextstep ;;
@@ -3423,7 +3424,7 @@
       dnl #### How about /sw/include, and /opt/local/include?
       dnl these directories need to be the parent of the freetype directory
       for freetype_include_top in "/usr/X11R6/include/freetype2" \
-				  "/usr/include/freetype2"
+				  "$with_site_includes/freetype2"
       do
 	if test -d $freetype_include_top; then
 	  AC_CHECKING([in ${freetype_include_top}/freetype2])
@@ -5296,7 +5297,7 @@
 dnl Check for Berkeley DB.
 if test "$enable_database_berkdb" != "no"; then
   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_TRY_COMPILE([
 #include <stdlib.h>
 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)