emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure.in/darwin: remove fink dependency?


From: Martin Fredriksson
Subject: configure.in/darwin: remove fink dependency?
Date: Fri, 11 Feb 2005 01:31:05 +0100

In configure.in, for powerpc-apple-darwin, I believe that "using fink packages if available" should be removed. There is no use for that (as far as I know?) since the needed packages (I think it's only ncurses) are part of the normal development environment.

The problem with using fink packages is when one builds on a machine with fink present. The resulting binary will have dynamic dependencies to "/sw/lib/..." which might not exist on other machines.

I suggest following patch:

--- configure.in.orig   Fri Feb 11 01:19:29 2005
+++ configure.in        Fri Feb 11 01:19:58 2005
@@ -1126,12 +1126,6 @@
     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

Note the question mark in the subject. Anyone think this should be kept there?

/m

--
Martin Fredriksson <address@hidden>, 0730-59 77 00





reply via email to

[Prev in Thread] Current Thread [Next in Thread]