handle --without-randomdev [RT #1372]

This commit is contained in:
Brian Wellington 2001-06-03 19:36:01 +00:00
parent c39911afea
commit dee520f1be

View file

@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.257 $)
AC_REVISION($Revision: 1.258 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
@ -378,6 +378,9 @@ case "$use_randomdev" in
yes)
AC_MSG_ERROR([--with-randomdev must specify a path])
;;
no)
AC_MSG_RESULT(disabled)
;;
*)
AC_DEFINE_UNQUOTED(PATH_RANDOMDEV, "$use_randomdev")
AC_MSG_RESULT(using "$use_randomdev")