Commit 41612c46 authored by Francis Dupont's avatar Francis Dupont
Browse files

Added libbind checks

parent 53c7a535
......@@ -6857,6 +6857,15 @@ no)
;;
*)
if test ! -d "$use_libbind"; then
as_fn_error $? "Cannot find bind directory at $use_libbind" "$LINENO" 5
fi
if test ! -d "$use_libbind/include"; then
as_fn_error $? "Cannot find bind includes at $use_libbind/include" "$LINENO" 5
fi
if test ! -d "$use_libbind/lib"; then
as_fn_error $? "Cannot find bind libraries at $use_libbind/lib" "$LINENO" 5
fi
BINDDIR="$use_libbind"
;;
esac
......
......@@ -707,6 +707,15 @@ no)
AC_CONFIG_FILES([$srcdir/bind/Makefile])
;;
*)
if test ! -d "$use_libbind"; then
AC_MSG_ERROR([Cannot find bind directory at $use_libbind])
fi
if test ! -d "$use_libbind/include"; then
AC_MSG_ERROR([Cannot find bind includes at $use_libbind/include])
fi
if test ! -d "$use_libbind/lib"; then
AC_MSG_ERROR([Cannot find bind libraries at $use_libbind/lib])
fi
BINDDIR="$use_libbind"
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment