diff configure.ac @ 9915:ac711616bc03

configure.ac: fix HAVE_X definition
author John W. Eaton <jwe@octave.org>
date Fri, 04 Dec 2009 14:05:30 -0500
parents f8a5863ae243
children c1210502785b
line wrap: on
line diff
--- a/configure.ac	Fri Dec 04 10:44:58 2009 -0800
+++ b/configure.ac	Fri Dec 04 14:05:30 2009 -0500
@@ -270,7 +270,7 @@
 ACX_PTHREAD
 
 AC_PATH_X
-if test "$have_x"; then
+if test "$have_x" = "yes"; then
   AC_DEFINE(HAVE_X_WINDOWS, 1, [Define if you have X11])
 
   if test "$x_includes" != "NONE"; then