openwrt_archive/net/pure-ftpd/patches/010-dont-add-host-paths.patch
2011-05-15 08:28:13 +00:00

30 lines
890 B
Diff

--- a/configure
+++ b/configure
@@ -4825,18 +4825,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
@@ -9222,7 +9210,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 :