summaryrefslogtreecommitdiffstats
path: root/databases/postgresql82-server/files/patch-configure
blob: efeca517d300c073acf4f29f56d62bf4cdbf3fab (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
--- configure.orig	Wed Jun 26 21:28:24 2002
+++ configure	Wed Jun 26 21:35:16 2002
@@ -2007,11 +2007,13 @@
 EOF
 
 
-  if test -d "$krb4_prefix/include"; then
-    INCLUDES="$INCLUDES -I$krb4_prefix/include"
-  fi
-  if test -d "$krb4_prefix/lib"; then
-    LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+  if test "$krb4_prefix" != "/usr"; then
+    if test -d "$krb4_prefix/include"; then
+      INCLUDES="$INCLUDES -I$krb4_prefix/include"
+    fi
+    if test -d "$krb4_prefix/lib"; then
+      LIBDIRS="$LIBDIRS -L$krb4_prefix/lib"
+    fi
   fi
 
   krb_srvtab="/etc/srvtab"
@@ -2052,11 +2054,13 @@
 EOF
 
 
-  if test -d "$krb5_prefix/include"; then
-    INCLUDES="$INCLUDES -I$krb5_prefix/include"
-  fi
-  if test -d "$krb5_prefix/lib"; then
-    LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+  if test "$krb5_prefix" != "/usr"; then
+    if test -d "$krb5_prefix/include"; then
+      INCLUDES="$INCLUDES -I$krb5_prefix/include"
+    fi
+    if test -d "$krb5_prefix/lib"; then
+      LIBDIRS="$LIBDIRS -L$krb5_prefix/lib"
+    fi
   fi
 
   krb_srvtab="FILE:\$(sysconfdir)/krb5.keytab"
@@ -2157,11 +2161,13 @@
 EOF
 
 
-  if test -d "${openssl_prefix}/include" ; then
-    INCLUDES="$INCLUDES -I${openssl_prefix}/include"
-  fi
-  if test -d "${openssl_prefix}/lib" ; then
-    LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+  if test "${openssl_prefix}" != "/usr"; then
+    if test -d "${openssl_prefix}/include" ; then
+      INCLUDES="$INCLUDES -I${openssl_prefix}/include"
+    fi
+    if test -d "${openssl_prefix}/lib" ; then
+      LIBDIRS="$LIBDIRS -L${openssl_prefix}/lib"
+    fi
   fi
 
 fi
OpenPOWER on IntegriCloud