summaryrefslogtreecommitdiff
blob: 4caccad764a880444890ef519689dc7140831874 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
From: Nathan Phillip Brink <binki@gentoo.org>
Subject: Drop some automatic probing of /usr/local and /opt and etc., Gentoo users know to use CPPFLAGS/CFLAGS/LDFLAGS.
Date: 2014-08-30

--- a/configure.in
+++ b/configure.in
@@ -33,58 +33,6 @@
 AC_AIX
 
 dnl ----------------------------------------------------------
-AC_MSG_CHECKING([for an extra library directory])
-AC_ARG_WITH([localdir],
-[  --with-localdir=/usr/local An extra directory to look for stuff.],[
-   if test "x$withval" = "x" ; then
-      if test -d /usr/local/lib ; then
-	withval="/usr/local"
-      elif test -d /usr/pkg/lib ; then
-	withval="/usr/pkg"
-      elif test -d /opt/lib ; then
-	withval="/opt"
-      else
-        with_extra_libdir="no"
-      fi
-   elif test -d "$withval" ; then
-      with_extra_libdir="yes"
-   else
-      with_extra_libdir="no"
-   fi
-
-   if test "x$withval" != "x" ; then
-      LIBS="-L$withval/lib $LIBS"
-      CFLAGS="-I$withval/include/ $CFLAGS"
-      localdir=$withdir
-      with_extra_libdir="yes"
-   else
-      with_extra_libdir="no"
-   fi
-],[
-   if test "x$withval" = "x" ; then
-      if test -d /usr/local/lib ; then
-	withval="/usr/local"
-      elif test -d /usr/pkg/lib ; then
-	withval="/usr/pkg"
-      elif test -d /opt/lib ; then
-	withval="/opt"
-      else
-        with_extra_libdir="no"
-      fi
-   fi
-
-   if test "x$withval" != "x" ; then
-      LIBS="-L$withval/lib $LIBS"
-      CFLAGS="-I$withval/include/ $CFLAGS"
-      localdir=$withdir
-      with_extra_libdir="yes"
-   else
-      with_extra_libdir="no"
-   fi
-])
-AC_MSG_RESULT([$with_extra_libdir, $withval])
-
-dnl ----------------------------------------------------------
 dnl ----------------------------------------------------------
 dnl
 dnl System specific checks