summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: 3260178f5e193d31e52c0f9b4c71156fa9fdc447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#MIN_CONFIG(3.0.0)

AM_INIT_AUTOMAKE(kio-apt, 0.13.2)
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN

AC_ARG_WITH(rpm,
            [ --with-rpm    use rpm instead of dpkg ],
            [use_rpm=$withval],
            [use_rpm=no])

echo -n "Package manager to use... "
AM_CONDITIONAL(USE_RPM, test "x$use_rpm" != "xno")

if [ test "x$use_rpm" != "xno" ]; then
  AC_DEFINE_UNQUOTED(USE_RPM, 1, [Define if your package manager is not dpkg but RPM])
  echo "rpm"
else
  echo "dpkg"
fi