diff options
author | V V <vvaltman@aurum> | 2015-10-19 18:22:08 +0300 |
---|---|---|
committer | V V <vvaltman@aurum> | 2015-10-19 18:22:08 +0300 |
commit | 5b725d288f59ada3f8905a73182fe57ae8c22986 (patch) | |
tree | babe5ec7482a1438b6cf300fdf8aef03ae980959 /configure.ac | |
parent | 8ed2d747155162766e96fca5a500329f3a0c459b (diff) |
updated configure
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 01baf3b..c61710a 100644 --- a/configure.ac +++ b/configure.ac @@ -28,12 +28,8 @@ AC_ARG_ENABLE(openssl,[ --disable-openssl disables OpenSSL, and don't link ag (this can't read *.pub files, though.)], [ if test "x$enableval" = "xno" ; then - AC_DEFINE([TGL_AVOID_OPENSSL],[1],[avoid OpenSSL entirely, use libgcrypt instead (this can't read *.pub files, though.)]) - dnl FIXME: Should replace "echo & exit -1" with AC_ERR_MSG or something similar - AC_CHECK_LIB([gcrypt], [gcry_mpi_snatch], [], [ - echo "Need libgcrypt >= 1.60" - exit -1 - ]) + AC_DEFINE([TGL_AVOID_OPENSSL],[1],[avoid OpenSSL entirely, use libgcrypt instead (this can't read *.pub files, though.)]) + AC_CHECK_LIB([gcrypt], [gcry_mpi_snatch], [], [AC_MSG_ERROR(["Need libgcrypt >= 1.60"])]) else # Don't be annoying, so don't inform the user about --disable-openssl AX_CHECK_OPENSSL(,[AC_MSG_ERROR([No openssl found.])]) |