summaryrefslogtreecommitdiffstats
path: root/kbabel/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/configure.in.in')
-rw-r--r--kbabel/configure.in.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/kbabel/configure.in.in b/kbabel/configure.in.in
new file mode 100644
index 00000000..88312d46
--- /dev/null
+++ b/kbabel/configure.in.in
@@ -0,0 +1,12 @@
+AM_PROG_LEX
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+AC_CHECK_HEADER(FlexLexer.h,
+ [kde_have_flex=yes],
+ [kde_have_flex=no])
+
+if test "$kde_have_flex" = "no"; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE kbabel"
+fi
+AC_LANG_RESTORE