From ae0c828ac29043e7adc56a78fc18d816b32c12b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 18 Aug 2013 15:43:45 +0200 Subject: Initial import of kkbswitch 1.4.3 --- configure.in.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 configure.in.in (limited to 'configure.in.in') diff --git a/configure.in.in b/configure.in.in new file mode 100644 index 0000000..600ed88 --- /dev/null +++ b/configure.in.in @@ -0,0 +1,27 @@ +#MIN_CONFIG(3.0.0) + +AM_INIT_AUTOMAKE(kkbswitch, 1.4.3) +AC_C_BIGENDIAN +AC_CHECK_KDEMAXPATHLEN + +AC_CHECK_HEADERS([X11/extensions/XKBrules.h], [], [], [ + #include + #include ]) + +save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS $all_libraries" +AC_CHECK_LIB(xkbfile, XkbRF_GetNamesProp) +LDFLAGS="$save_LDFLAGS" + +AC_ARG_ENABLE(ru-ua-layout, + [ --enable-ru-ua-layout Install Russian/Ukrainian layout file + (default: don't install)], + enable_ru_ua_layout="$enableval", + enable_ru_ua_layout="no") + +AM_CONDITIONAL(ENABLE_RU_UA_LAYOUT, test "x$enable_ru_ua_layout" = "xyes") + +dnl set prefix according to installed KDE. Strange that KDE build scripts +dnl don't do it by default +AC_PREFIX_DEFAULT(`kde-config --prefix`) + -- cgit v1.2.1