diff --git a/configure.ac b/configure.ac index 7145720..50d0ef4 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ AC_ARG_WITH(discount, [ --with-discount=DIR discount directory ], ,[with_discount="/usr"]) AC_MSG_CHECKING(for discount directory) -if test -e $with_discount/include/*/mkdio.h; then +if test -e $with_discount/include/mkdio.h -o -e $with_discount/include/*/mkdio.h; then discount_dir=$with_discount AC_MSG_RESULT(DISCOUNT found!) else