]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Fix --with-{openssl|gnutls} to accept path names
authorAlexander Barton <alex@barton.de>
Wed, 2 Sep 2009 12:28:09 +0000 (14:28 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 2 Sep 2009 12:28:09 +0000 (14:28 +0200)
This patch fixes --with-openssl and --with-gnutls and enables both to
accept path names, so that you can use "./configure --with-XXX=/path".
All the other --with-XXX parameters support this already.

configure.in

index d10f6ec6a24db0b03cdfb32cfa60dd58a5a01d41..1940834b0f0977a40776001d18c905a2f08ba5dd 100644 (file)
@@ -315,7 +315,7 @@ fi
 
 AC_ARG_WITH(openssl,
        [  --with-openssl          enable SSL support using OpenSSL],
-       [       if test "$withval" = "yes"; then
+       [       if test "$withval" != "no"; then
                        if test "$withval" != "yes"; then
                                CFLAGS="-I$withval/include $CFLAGS"
                                CPPFLAGS="-I$withval/include $CPPFLAGS"
@@ -332,7 +332,7 @@ AC_ARG_WITH(openssl,
 
 AC_ARG_WITH(gnutls,
        [  --with-gnutls           enable SSL support using gnutls],
-       [       if test "$withval" = "yes"; then
+       [       if test "$withval" != "no"; then
                        if test "$withval" != "yes"; then
                                CFLAGS="-I$withval/include $CFLAGS"
                                CPPFLAGS="-I$withval/include $CPPFLAGS"