Add error message if X include path detection fails. Closes #1009.

Originally committed to SVN as r6064.
This commit is contained in:
Thomas Goyne 2011-12-22 21:19:31 +00:00
parent 55f8cb3685
commit 76b8df425d
1 changed files with 3 additions and 0 deletions

View File

@ -314,6 +314,9 @@ fi
# Check for X include/lib.
##########################
AC_PATH_XTRA
if test "$no_x" = "yes" && test "$build_darwin" != "yes"; then
AC_MSG_FAILURE([You must have a working copy of X installed.])
fi
######################################