configure.ac: fix HAVE_X definition
author |
John W. Eaton <jwe@octave.org> |
date |
Fri, 04 Dec 2009 14:05:30 -0500 |
parents |
e76d8c767584 |
children |
3dbe6e920f76 |
files |
ChangeLog configure.ac |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-04 John W. Eaton <jwe@octave.org>
+
+ * configure.ac: Check $have_x = yes, not just $have_x.
+
2009-12-04 John W. Eaton <jwe@octave.org>
* configure.ac: Require auotconf 2.62.
--- a/configure.ac
+++ b/configure.ac
@@ -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