summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-01-27 16:48:17 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-01-27 16:48:17 +0000
commit22bb9485c84244486df39446201c54b9d82373d8 (patch)
tree2dd286a29feac869c37d410314e79839ab012272
parenteb37b8fd092e4607705f11ee2f9abd9491ecac5a (diff)
downloademacs-22bb9485c84244486df39446201c54b9d82373d8.tar.gz
<darwin>: Use fink packages if available.
-rw-r--r--ChangeLog6
-rw-r--r--configure.in6
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 05ce35671f2..a01025e36f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * configure.in <darwin>: Use fink packages if available.
+
2004-01-25 Jerome Marant <jmarant@free.fr> (tiny change)
* make-dist (lispref): Do include lispref/index.texi.
@@ -39,7 +43,7 @@
* configure.in (HAVE_GTK_MULTIDISPLAY): Check if GTK can handle
multiple displays.
- Wrong number of args to AC_CHECK_LIB for HAVE_X_SM test corrected.
+ Wrong number of args to AC_CHECK_LIB for HAVE_X_SM test corrected.
2003-09-23 Dave Love <fx@gnu.org>
diff --git a/configure.in b/configure.in
index 8663ce9765c..d5e4ba1e69b 100644
--- a/configure.in
+++ b/configure.in
@@ -1135,6 +1135,12 @@ dnl see the `changequote' comment above.
machine=powermac opsys=darwin
# Define CPP as follows to make autoconf work correctly.
CPP="${CC-cc} -E -no-cpp-precomp"
+ # Use fink packages if available.
+ if test -d /sw/include && test -d /sw/lib; then
+ GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
+ CPP="${CPP} ${GCC_TEST_OPTIONS}"
+ NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
+ fi
;;
## AMD x86-64 Linux-based GNU system