unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* configure.in/darwin: remove fink dependency?
@ 2005-02-11  0:31 Martin Fredriksson
  2005-02-11  4:20 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Fredriksson @ 2005-02-11  0:31 UTC (permalink / raw)


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 <m@rfc.se>, 0730-59 77 00

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-11  4:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-11  0:31 configure.in/darwin: remove fink dependency? Martin Fredriksson
2005-02-11  4:20 ` Stefan Monnier
2005-02-11  4:45   ` Martin Fredriksson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).