aboutsummaryrefslogtreecommitdiff
path: root/devel/apr1/files/patch-apr-util_configure
blob: 9bfd536bc5aa1561e49d3fa53d37c3dc23518de3 (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.7/configure.orig	Mon Sep 26 18:28:49 2005
+++ apr-util-1.2.7/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