summaryrefslogtreecommitdiff
path: root/devel/apr1/files/patch-apr-util_configure
blob: b6eea660e68c6f7f5e8276217fc7faf4b990b942 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- apr-util-1.2.8/configure.orig	Mon Sep 26 18:28:49 2005
+++ apr-util-1.2.8/configure	Fri Dec 23 15:06:09 2005
@@ -13806,6 +13806,8 @@
     elif test "$withval" = "no"; then
       apu_have_gdbm=0
     else
+      saved_cppflags="$CPPFLAGS"
+      saved_libs="$LIBS"
       CPPFLAGS="-I$withval/include"
       LIBS="-L$withval/lib "
 
@@ -14064,6 +14066,9 @@
   fi
 
       fi
+
+      CPPFLAGS="$saved_cppflags"
+      LIBS="$saved_libs"
     fi
 
 else