Add AM_CONDITIONAL for X11_UNAVAILABLE.
authorhanda <handa>
Fri, 5 Nov 2010 11:13:16 +0000 (11:13 +0000)
committerhanda <handa>
Fri, 5 Nov 2010 11:13:16 +0000 (11:13 +0000)
configure.ac

index be24a80..8982dc6 100644 (file)
@@ -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.