You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kkbswitch/configure.in.in

28 lines
759 B

#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 <stdio.h>
#include <X11/XKBlib.h>])
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(`tde-config --prefix`)