aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/open-axiom.m42
-rw-r--r--config/openaxiom-c-macros.h.in3
-rwxr-xr-xconfigure5
3 files changed, 10 insertions, 0 deletions
diff --git a/config/open-axiom.m4 b/config/open-axiom.m4
index 9ce055e7..a1306e70 100644
--- a/config/open-axiom.m4
+++ b/config/open-axiom.m4
@@ -924,6 +924,8 @@ if test -n "$OA_QT_MOC"; then
;;
esac
fi
+AC_DEFINE_UNQUOTED([OPENAXIOM_USE_GUI], [`expr x$oa_has_qt = xyes`],
+ [Whether to use the QT-based GUI interface as driver.])
])
dnl -------------------------------------
diff --git a/config/openaxiom-c-macros.h.in b/config/openaxiom-c-macros.h.in
index d5520af5..1eb6df78 100644
--- a/config/openaxiom-c-macros.h.in
+++ b/config/openaxiom-c-macros.h.in
@@ -172,6 +172,9 @@
/* mmap anonymous flag */
#undef OPENAXIOM_MM_ANONYMOUS_MAP_FLAG
+/* Whether to use the QT-based GUI interface as driver. */
+#undef OPENAXIOM_USE_GUI
+
/* Whether to use the session manager as driver. */
#undef OPENAXIOM_USE_SMAN
diff --git a/configure b/configure
index 715bb053..ee451251 100755
--- a/configure
+++ b/configure
@@ -20702,6 +20702,11 @@ $as_echo "$as_me: WARNING: This version of Qt is too old for OpenAxiom." >&2;}
esac
fi
+cat >>confdefs.h <<_ACEOF
+#define OPENAXIOM_USE_GUI `expr x$oa_has_qt = xyes`
+_ACEOF
+
+
openaxiom_host_has_regex=
ac_fn_cxx_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"