configure.ac -- checking for fink

David Fang fang at csl.cornell.edu
Thu Mar 27 01:08:28 EDT 2008


Hi,
 	The following excerpt of configure.ac, checking for a hard-coded 
default path for fink is not recommended, and should be removed.

         AC_MSG_CHECKING([for fink])
         if test -d /sw; then
                 AC_MSG_RESULT([found, adding /sw to search paths])
                 CPPFLAGS="$CPPFLAGS -I/sw/include"
                 LDFLAGS="$LDFLAGS -L/sw/lib"
         else
                 AC_MSG_RESULT([not found])
         fi

Fink does not force users to use the default path, so checking for it 
would be a fallacy.  People who use multiple package managers or local 
trees in addition to fink might accidentally compile against unintended 
prefix/trees, so it would be best to leave it out.  We're patching it out 
of the fink package, so there is less reason to keep it around.

Best,

Fang

David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
 	-- (2400 baud? Netscape 3.0?? lynx??? No problem!)




More information about the Devel mailing list