2013-05-21 00:26:15 +02:00
|
|
|
dnl ---- configure.ac for gb.openssl
|
2013-05-20 23:29:48 +02:00
|
|
|
|
2014-04-05 23:22:43 +02:00
|
|
|
m4_include([../version.m4])
|
2022-09-03 13:24:51 +02:00
|
|
|
AC_INIT([gambas3-gb-openssl],[GB_VERSION],[GB_MAIL],[],[GB_URL])
|
2013-05-20 23:29:48 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2014-04-05 23:22:43 +02:00
|
|
|
|
2013-05-21 00:26:15 +02:00
|
|
|
GB_INIT(gb.openssl)
|
2022-09-03 13:24:51 +02:00
|
|
|
LT_INIT
|
2013-05-20 23:29:48 +02:00
|
|
|
|
2016-09-05 18:27:18 +02:00
|
|
|
# We really only want to make sure that EVP_MD_do_all() exists.
|
|
|
|
# Don't do a version check because some systems may have the
|
|
|
|
# function from somewhere but don't have a high enough version.
|
|
|
|
#GB_COMPONENT_PKG_CONFIG(openssl, OPENSSL, gb.openssl, [src], 'openssl >= 1.0.0' libcrypto)
|
|
|
|
|
|
|
|
AC_CHECK_LIB(crypto,EVP_MD_do_all,,touch DISABLED)
|
|
|
|
|
|
|
|
GB_COMPONENT_PKG_CONFIG(openssl, OPENSSL, gb.openssl, [src], libcrypto)
|
2013-05-20 23:29:48 +02:00
|
|
|
|
2022-09-03 13:24:51 +02:00
|
|
|
AC_CONFIG_FILES([Makefile src/Makefile])
|
|
|
|
AC_OUTPUT
|
2013-05-20 23:29:48 +02:00
|
|
|
GB_PRINT_MESSAGES
|