summaryrefslogtreecommitdiff
blob: 526784653f61292fdd59de4a82fa22c9972af09c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- configure.in.old	2005-09-19 22:07:56.000000000 +0200
+++ configure.in	2005-09-19 22:09:00.000000000 +0200
@@ -600,14 +600,14 @@
 AM_CONDITIONAL(USE_SSL, test x$need_ssl = xyes)
 
 AC_ARG_WITH(sasl, AC_HELP_STRING([--with-sasl[=PFX]], [Use Cyrus SASL 2 network security library]),
-        [
-        if test "$need_socket" != "yes"
-        then
-          AC_MSG_ERROR([SASL support is only useful with POP or IMAP support])
-        fi
-
+        [	
         if test "$with_sasl" != "no"
         then
+          if test "$need_socket" != "yes"
+          then
+            AC_MSG_ERROR([SASL support is only useful with POP or IMAP support])
+          fi
+
           if test "$with_sasl" != "yes"
           then
             CPPFLAGS="$CPPFLAGS -I$with_sasl/include"