summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/configure.in.in')
-rw-r--r--kexi/plugins/macros/configure.in.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/kexi/plugins/macros/configure.in.in b/kexi/plugins/macros/configure.in.in
new file mode 100644
index 00000000..52fb9f5a
--- /dev/null
+++ b/kexi/plugins/macros/configure.in.in
@@ -0,0 +1,13 @@
+# Check for kunittest
+AC_MSG_CHECKING([for kunittest])
+
+# First we check if the console unittester could be compiled
+have_kunittest_header="no"
+KDE_CHECK_HEADER(kunittest/tester.h, have_kunittest_header="yes", , )
+AM_CONDITIONAL(include_kunittest, test "$have_kunittest_header" = "yes")
+
+# Second we check if the GUI-unittester could be compiled
+have_kunittestgui_header="no"
+KDE_CHECK_HEADER(kunittest/runnergui.h, have_kunittestgui_header="yes", , )
+AM_CONDITIONAL(include_kunittestgui, test "$have_kunittestgui_header" = "yes")
+