diff options
Diffstat (limited to 'configure.in.in')
-rw-r--r-- | configure.in.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in new file mode 100644 index 0000000..3260178 --- /dev/null +++ b/configure.in.in @@ -0,0 +1,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 + + |