summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..032475b
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,17 @@
+#MIN_CONFIG(3.3)
+
+AM_INIT_AUTOMAKE(kscope, 1.6.2)
+AC_C_BIGENDIAN
+AC_CHECK_KDEMAXPATHLEN
+
+AM_PROG_LEX
+AC_CHECK_PROG(HAVE_LEX, $LEX, yes, no)
+if [[ "$HAVE_LEX" = "no" ]]; then
+ AC_MSG_ERROR(Lex/Flex is required in order to build KScope)
+fi
+
+AC_PROG_YACC
+AC_CHECK_PROG(HAVE_YACC, $YACC, yes, no)
+if [[ "$HAVE_YACC" = "no" ]]; then
+ AC_MSG_ERROR(Yacc/Bison is required in order to build KScope)
+fi