summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-07-23 17:06:07 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-07-23 17:06:07 +0000
commit7198f88caba32f36671de1718ca5320f149a06d2 (patch)
treeedb8bab5b9c7e9b66491975b5a66362bc8e91dee
parent4029039f28642f78bf2f68e7e9908d183cf5c644 (diff)
Fix script on systems where no motif libs are present.
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9505385..c070548 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ AC_ARG_WITH(motif-libraries, [Directory containing the Motif libraries],
AC_ARG_WITH(motif-includes, [Directory containing the Xm direcotry with the Motif header files (eg. /usr/X11R6/include)],
motif_includes=$withval)
-if test $with_motif_libraries = no; then
+if test x$with_motif_libraries = xno; then
echo no motif - commandline $with_motif_libraries
build_motifapps=no
fi
@@ -49,6 +49,7 @@ if [[ -z $motif_libs ]] ; then
PKG_CHECK_MODULES(X11, x11)
AC_CHECK_LIB(Xm, XmFontListCreate, build_motifapps=no, [$X11])
echo motif library not found
+ build_motifapps=no
fi
if test x$build_motifapps = xyes ; then