packages/net/pure-ftpd/patches/010-dont-add-host-paths.patch
lars 129c85e7ac [packages] pure-ftpd: Don't add host lib and include paths.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 04:21:02 +00:00

32 lines
955 B
Diff

diff --git a/configure b/configure
index f771720..d1c40f4 100755
--- a/configure
+++ b/configure
@@ -4893,18 +4893,6 @@ fi
-if test -d /usr/local/include; then
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-fi
-
-if test -d /usr/kerberos/include; then
- CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
-fi
-
-if test -d /usr/local/lib; then
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
-fi
-
if uname | fgrep SunOS > /dev/null 2> /dev/null ; then
CPPFLAGS="$CPPFLAGS -D_XPG4_2=1"
fi
@@ -9291,7 +9279,6 @@ if test $ac_have_func = no; then
# There is a commonly available library for RS/6000 AIX.
# Since it is not a standard part of AIX, it might be installed locally.
ac_getloadavg_LIBS=$LIBS
- LIBS="-L/usr/local/lib $LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
$as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then :