summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-01-27 16:46:34 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-01-27 16:46:34 +0000
commit8eac9d45e5eaa24976f039e96602e1741ad7994b (patch)
tree318347690a913820b4ebf96ad84ba033c66afbf2 /configure.in
parent8df6b2bd18dfdc826b410ef47440a7258cd9abc3 (diff)
downloademacs-8eac9d45e5eaa24976f039e96602e1741ad7994b.tar.gz
<darwin>: Use fink packages if available.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
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