summaryrefslogtreecommitdiff
path: root/infrastructure/m4
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/m4')
-rw-r--r--infrastructure/m4/ax_check_mount_point.m42
-rw-r--r--infrastructure/m4/ax_check_ssl.m42
2 files changed, 3 insertions, 1 deletions
diff --git a/infrastructure/m4/ax_check_mount_point.m4 b/infrastructure/m4/ax_check_mount_point.m4
index 747888cc..3ed3f85d 100644
--- a/infrastructure/m4/ax_check_mount_point.m4
+++ b/infrastructure/m4/ax_check_mount_point.m4
@@ -3,6 +3,7 @@ dnl
dnl This macro will find out how to get mount point information if possible.
dnl
dnl The following defines will be set as appropriate:
+dnl HAVE_MOUNTS
dnl HAVE_MNTENT_H
dnl HAVE_SYS_MNTTAB_H
dnl HAVE_SYS_MOUNT_H
@@ -35,6 +36,7 @@ AC_DEFUN([AX_CHECK_MOUNT_POINT], [
test "x$ac_cv_member_struct_mntent_mnt_dir" = "xyes" || \
test "x$ac_cv_member_struct_mnttab_mnt_mountp" = "xyes"
then
+ AC_DEFINE([HAVE_MOUNTS], [1], [Define to 1 if this platform supports mounts])
m4_ifvaln([$1],[$1],[:])dnl
m4_ifvaln([$2],[else $2])dnl
fi
diff --git a/infrastructure/m4/ax_check_ssl.m4 b/infrastructure/m4/ax_check_ssl.m4
index 039c8398..03362bb6 100644
--- a/infrastructure/m4/ax_check_ssl.m4
+++ b/infrastructure/m4/ax_check_ssl.m4
@@ -27,7 +27,7 @@ AC_DEFUN([AX_CHECK_SSL], [
ax_check_ssl_found=yes
AC_CHECK_HEADERS([openssl/ssl.h],, [ax_check_ssl_found=no])
- AC_CHECK_LIB([ssl], [SSL_read],, [ax_check_ssl_found=no])
+ AC_CHECK_LIB([ssl], [SSL_read],, [ax_check_ssl_found=no], [-lcrypto])
if test "x$ax_check_ssl_found" = "xyes"; then
AC_DEFINE([HAVE_SSL], 1, [Define to 1 if SSL is available])