From 8228d9ee7afcf90d4abd3262d6292a21a06c1e50 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 5 Nov 2010 11:13:16 +0000 Subject: [PATCH] Add AM_CONDITIONAL for X11_UNAVAILABLE. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index be24a80..8982dc6 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,8 @@ AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h]) AC_CHECK_HEADERS([X11/Xaw/Command.h], , no_x=yes) +AM_CONDITIONAL([X11_UNAVAILABLE], [test x$no_x = xyes]) + # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. -- 1.7.10.4