BUILD: fix withXaw conditional (tiny change)
authorhasufell <hasufell@gentoo.org>
Wed, 18 Sep 2013 03:57:03 +0000 (20:57 -0700)
committerArun Persaud <arun@nubati.net>
Wed, 18 Sep 2013 03:57:03 +0000 (20:57 -0700)
Listing both one after another leads to withXaw being false
if you pass "--with-Xaw3d --without-Xaw".

configure.ac

index cd85783..c946f4e 100644 (file)
@@ -248,8 +248,7 @@ fi
 
 dnl | make results available in Makefile.am
 AM_CONDITIONAL([withGTK],   [test x"$with_GTK" = x"yes"])
-AM_CONDITIONAL([withXaw],   [test x"$with_Xaw3d" = x"yes"])
-AM_CONDITIONAL([withXaw],   [test x"$with_Xaw" = x"yes"])
+AM_CONDITIONAL([withXaw],   [test x"$with_Xaw3d" = x"yes" || test x"$with_Xaw" = x"yes"])
 
 
 AC_SUBST(FRONTEND_CFLAGS)