summaryrefslogtreecommitdiff
blob: ad397fef8a1fc9e65da287f42f10d8f9099462af (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
diff -Nru squidGuard-1.4.orig/configure.in squidGuard-1.4/configure.in
--- squidGuard-1.4.orig/configure.in	2009-01-03 20:04:30.000000000 +0000
+++ squidGuard-1.4/configure.in	2009-04-25 09:53:49.000000000 +0000
@@ -201,7 +201,9 @@
                echo "Unable to link to LDAP library."
                echo
                exit 1
-       ],)
+       ],[
+               ac_status=0
+       ])
 fi
 
 dnl
@@ -314,7 +316,8 @@
 			exit (0);
 		exit (1);
 	}	
-	], db_ok_version=yes, db_ok_version=no, db_ok_version=no)
+	], db_ok_version=yes, db_ok_version=no, db_ok_version=yes)
+
 
 if test $db_ok_version = no; then
 	echo
@@ -345,7 +348,7 @@
 			exit (1);
 		exit (0);
 	}	
-	], db_ok_version=yes, db_ok_version=no, db_ok_version=no)
+	], db_ok_version=yes, db_ok_version=no, db_ok_version=yes)
 
 if test $db_ok_version = no; then
 	echo
@@ -377,7 +380,7 @@
 			exit (0);
 		exit (1);
 	}	
-	], dbg2_ok_version=yes, dbg2_ok_version=no, dbg2_ok_version=no)
+	], dbg2_ok_version=yes, dbg2_ok_version=no, dbg2_ok_version=yes)
 
 if test $dbg2_ok_version = yes; then
 	AC_DEFINE(DB_VERSION_GT2)
@@ -401,7 +404,7 @@
                         exit (0);
                 exit (1);
         }
-        ], dbg3_ok_version=yes, dbg3_ok_version=no, dbg3_ok_version=no)
+        ], dbg3_ok_version=yes, dbg3_ok_version=no, dbg3_ok_version=yes)
 
 if test $dbg3_ok_version = yes; then
         AC_DEFINE(DB_VERSION_GT3)