]> arthur.barton.de Git - netatalk.git/commitdiff
Fixed --with-ssl-dir.
authorsrittau <srittau>
Mon, 3 Dec 2001 19:31:33 +0000 (19:31 +0000)
committersrittau <srittau>
Mon, 3 Dec 2001 19:31:33 +0000 (19:31 +0000)
macros/ssl-check.m4

index b9c369e49f3778258e621d19b3827791002dffc2..7aee7c02fe193165dcece0f74db57ca99e235f94 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: ssl-check.m4,v 1.4 2001-12-01 15:17:33 srittau Exp $
+dnl $Id: ssl-check.m4,v 1.5 2001-12-03 19:31:33 srittau Exp $
 dnl Autoconf macro to check for SSL or OpenSSL
 
 AC_DEFUN([AC_PATH_SSL], [
@@ -7,7 +7,12 @@ AC_DEFUN([AC_PATH_SSL], [
                [
                        if test "x$withval" = "xno"; then
                                tryssl=no
+                       elif test "x$withval" = "xyes"; then
+                               tryssl=yes
+                               tryssldir=
                        else
+                               dnl FIXME: should only try in $withval
+                               tryssl=yes
                                tryssldir="$withval"
                        fi
                ], [tryssl=yes]