summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: 433ed25bdb2a769a9ece92f8aab70bdee1582f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#MIN_CONFIG(3.2)

KDE_ENABLE_HIDDEN_VISIBILITY

###################################################
#  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