mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
configure: turn off automatic searches through non-standard directories
configure will no longer check for the existence of extra include, lib and bin directories in /usr/pkg /sw /opt /opt/local /usr/local. The check was not done in a particularly sensible manner and there are now no mandatory dependencies that not shipped in the main system trees on virtually every system in existence. If building with Fink, follow these directions as suggested by the fink project: http://www.finkproject.org/faq/usage-general.php#compile-myself Closes #1185, and closes #1186.
This commit is contained in:
parent
42813eeb84
commit
1177daecde
1 changed files with 0 additions and 37 deletions
37
configure.ac
37
configure.ac
|
@ -94,43 +94,6 @@ AC_LANG(C++)
|
||||||
|
|
||||||
echo "CXXFLAGS: $CXXFLAGS"
|
echo "CXXFLAGS: $CXXFLAGS"
|
||||||
|
|
||||||
#
|
|
||||||
# Detect directories which may contain additional headers, libraries
|
|
||||||
# and commands. This needs to be done early - before Autoconf starts
|
|
||||||
# to mess with CXXFLAGS and all the other environemnt variables.
|
|
||||||
#
|
|
||||||
# This mostly helps OS X users, since fink usually installs out of
|
|
||||||
# tree and doesn't update CXXFLAGS.
|
|
||||||
|
|
||||||
for i in /usr/pkg /sw /opt /opt/local /usr/local; do
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([for $i/include include directory])
|
|
||||||
if test -d $i/include; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
CXXFLAGS="$CXXFLAGS -I$i/include/"
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([for $i/lib library directory])
|
|
||||||
if test -d $i/lib; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
LDFLAGS="$LDFLAGS -L$i/lib/"
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([for $i/bin command directory])
|
|
||||||
if test -d $i/bin; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
optbindirs="$optbindirs $i/bin"
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tell autoconf to create config.h header
|
# Tell autoconf to create config.h header
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue