summaryrefslogtreecommitdiff
path: root/app-forensics/afflib/files/afflib-3.7.19-search-path.patch
blob: db646eb5065bc1e72d090d1a2d99abd7b4b36a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/configure.ac b/configure.ac
index d902e4b..914ccf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,24 +30,6 @@ AC_CONFIG_MACRO_DIR([m4])
 m4_include([m4/acx_pthread.m4])
 ACX_PTHREAD()
 
-if test x"${cross_compiling}" = "xno" ; then
-  # Bring additional directories where things might be found into our
-  # search path. I don't know why autoconf doesn't do this by default
-  for spfx in ${prefix} /sw /opt/local /usr/local ; do
-    AC_MSG_NOTICE([checking ${spfx}/include])
-    if test -d ${spfx}/include; then
-        CPPFLAGS="$CPPFLAGS -I${spfx}/include"
-        LDFLAGS="$LDFLAGS -L${spfx}/lib"
-        AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ])
-        AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ])
-    fi
-  done
-  AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ])
-  AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])
-else
-  AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw])
-fi
-
 if test -r /bin/uname.exe ; then
   if test `uname -o` == "Msys" ; then
     AC_MSG_NOTICE([Compiling with Msys. Setting flags appropriately.])