aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 216d7ed5..e7d397fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -351,7 +351,7 @@ AC_ARG_WITH(gnutls,
351 yes) 351 yes)
352 AC_CHECK_HEADERS([gnutls/abstract.h], 352 AC_CHECK_HEADERS([gnutls/abstract.h],
353 AC_CHECK_LIB([gnutls], [gnutls_pubkey_import], 353 AC_CHECK_LIB([gnutls], [gnutls_pubkey_import],
354 gnutls=true)) 354 gnutls=1))
355 ;; 355 ;;
356 *) 356 *)
357 LDFLAGS="-L$with_gnutls/lib $LDFLAGS" 357 LDFLAGS="-L$with_gnutls/lib $LDFLAGS"
@@ -359,16 +359,16 @@ AC_ARG_WITH(gnutls,
359 AC_CHECK_HEADERS([gnutls/abstract.h], 359 AC_CHECK_HEADERS([gnutls/abstract.h],
360 AC_CHECK_LIB([gnutls], [gnutls_pubkey_import], 360 AC_CHECK_LIB([gnutls], [gnutls_pubkey_import],
361 EXT_LIB_PATH="-L$with_gnutls/lib $EXT_LIB_PATH" 361 EXT_LIB_PATH="-L$with_gnutls/lib $EXT_LIB_PATH"
362 gnutls=true)) 362 gnutls=1))
363 ;; 363 ;;
364 esac 364 esac
365 ], 365 ],
366 [AC_MSG_RESULT([--with-gnutls not specified]) 366 [AC_MSG_RESULT([--with-gnutls not specified])
367 AC_CHECK_HEADERS([gnutls/abstract.h], 367 AC_CHECK_HEADERS([gnutls/abstract.h],
368 AC_CHECK_LIB([gnutls], [gnutls_pubkey_import], 368 AC_CHECK_LIB([gnutls], [gnutls_pubkey_import],
369 gnutls=true)) 369 gnutls=1))
370 ]) 370 ])
371AM_CONDITIONAL(HAVE_GNUTLS, test x$gnutls = xtrue) 371AM_CONDITIONAL(HAVE_GNUTLS, test x$gnutls = x1)
372AC_DEFINE_UNQUOTED([HAVE_GNUTLS], $gnutls, [We have GnuTLS]) 372AC_DEFINE_UNQUOTED([HAVE_GNUTLS], $gnutls, [We have GnuTLS])
373 373
374 374