aboutsummaryrefslogtreecommitdiff
blob: e94d57e63c05cb809f2f0985f48bdf572dff6f8b (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
diff --git a/configure.ac b/configure.ac
index e46b240..4606c31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -531,16 +531,6 @@ fi
 GPG_ERROR_CONFIG_HOST="$host"
 
 case "$includedir" in
-  /usr/include|/include) ;;
-  '${prefix}/include')
-    if test "$prefix" != / -a "$prefix" != /usr; then
-      if test -z "$GPG_ERROR_CONFIG_CFLAGS"; then
-        GPG_ERROR_CONFIG_CFLAGS="-I$includedir"
-      else
-        GPG_ERROR_CONFIG_CFLAGS="-I$includedir $GPG_ERROR_CONFIG_CFLAGS"
-      fi
-    fi
-    ;;
   *)
     if test -z "$GPG_ERROR_CONFIG_CFLAGS"; then
       GPG_ERROR_CONFIG_CFLAGS="-I$includedir"
@@ -550,16 +540,6 @@ case "$includedir" in
     ;;
 esac
 case "$libdir" in
-  /usr/lib|/usr/lib64|/lib|/lib64) ;;
-  '${exec_prefix}/lib')
-    if test "$exec_prefix" = "NONE"; then
-      if test "$prefix" != / -a "$prefix" != /usr; then
-        GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS"
-      fi
-    elif test "$exec_prefix" != / -a "$exec_prefix" != /usr; then
-      GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS"
-    fi
-    ;;
   *) GPG_ERROR_CONFIG_LIBS="-L$libdir $GPG_ERROR_CONFIG_LIBS" ;;
 esac