Mercurial > emacs
changeset 53727:c85ffeab5831
<darwin>: Use fink packages if available.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 27 Jan 2004 16:46:34 +0000 |
parents | f37373c2902a |
children | ca5369d1b33a |
files | configure.in |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Tue Jan 27 09:40:23 2004 +0000 +++ b/configure.in Tue Jan 27 16:46:34 2004 +0000 @@ -1135,6 +1135,12 @@ 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