summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..a068c91
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,34 @@
+#MIN_CONFIG(3.2)
+
+###################################################
+# Check for Konqueror (copied from krusader-1.70)
+###################################################
+
+AC_ARG_WITH(konqueror,
+ AC_HELP_STRING([--without-konqueror],[build KDiff3 without support Konqueror's servicemenus [default=with]]),
+ [with_konq=$withval],
+ [with_konq=yes]
+)
+
+if test "$with_konq" != "no"; then
+ # check for the headers
+ have_libkonq=yes
+ KDE_CHECK_HEADER(konq_popupmenu.h, ,[have_libkonq=no] )
+
+ if test "$have_libkonq" = "no"; then
+ # if this var is 'yes', the configure-suppery drops a warning.
+ # see admin/configure.in.bot.end
+ warn_konq=yes
+ fi
+fi
+
+if test "$have_libkonq" != "yes"; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE kdiff3plugin"
+fi
+
+AM_CONDITIONAL(include_libkonq, test "$have_libkonq" = yes)
+
+AM_INIT_AUTOMAKE(kdiff3, 0.9.92)
+AC_C_BIGENDIAN
+AC_CHECK_KDEMAXPATHLEN
+