summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: a068c91ab4b9e9bf395b5cd35fee604528464cc2 (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
#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