From 76b8df425de211489b64cfafc50396b825b292e2 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 22 Dec 2011 21:19:31 +0000 Subject: [PATCH] Add error message if X include path detection fails. Closes #1009. Originally committed to SVN as r6064. --- aegisub/configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aegisub/configure.in b/aegisub/configure.in index 812080ace..ff9dae504 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -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 ######################################