1 AC_INIT(xkeyboard-config, 0.9)
2 AC_CONFIG_SRCDIR(rules/base.xml.in)
3 AM_INIT_AUTOMAKE([dist-bzip2])
8 AC_PATH_PROG([XKBCOMP], [xkbcomp], [not_found])
9 if test x$XKBCOMP = xnot_found ; then
10 AC_ERROR([xkbcomp is required to install the xkb data files])
13 AC_ARG_WITH( xkb_base,
14 [ --with-xkb-base=DIR XKB base path (by default it is /usr/X11R6/lib/X11/xkb)],
16 xkb_base="\$(prefix)/lib/X11/xkb" )
18 AC_ARG_WITH( xkb_rules_symlink,
19 [ --with-xkb-rules-symlink=NAME1(,NAME2)* create symlink(s) to "old style" rules files (xfree86 and/or xorg)],
20 xkb_rules_symlink="$withval" )
22 AC_ARG_ENABLE( xkbcomp_symlink,
23 [ --enable-xkbcomp-symlink create xkbcomp symlink to $(xkb_base)../../../bin/xkbcomp],
24 enable_xkbcomp_symlink="$enableval",
25 enable_xkbcomp_symlink="yes" )
27 AC_ARG_ENABLE( compat_rules,
28 [ --enable-compat-rules create compatibility rules],
29 enable_compat_rules="$enableval",
30 enable_compat_rules="yes" )
32 AM_CONDITIONAL(CREATE_RULES_SYMLINK, test "x$xkb_rules_symlink" != "x")
34 AM_CONDITIONAL(CREATE_XKBCOMP_SYMLINK, test "x$enable_xkbcomp_symlink" = "xyes")
36 AM_CONDITIONAL(USE_COMPAT_RULES, test "x$enable_compat_rules" = "xyes")
38 AC_PROG_INTLTOOL(0.30)
40 ALL_LINGUAS="af az bg cs da el en_GB es fi fr hu it ka nl ru rw sk sl sq sr sr@Latn sv tr uk vi zh_CN zh_TW"
43 AC_SUBST(xkb_rules_symlink)
45 AC_OUTPUT([ po/Makefile
49 geometry/digital_vndr/Makefile
50 geometry/sgi_vndr/Makefile
52 keycodes/digital_vndr/Makefile
53 keycodes/sgi_vndr/Makefile
55 keymap/digital_vndr/Makefile
56 keymap/sgi_vndr/Makefile
57 keymap/sun_vndr/Makefile
62 symbols/digital_vndr/Makefile
63 symbols/fujitsu_vndr/Makefile
64 symbols/hp_vndr/Makefile
65 symbols/macintosh_vndr/Makefile
66 symbols/nec_vndr/Makefile
67 symbols/sgi_vndr/Makefile
68 symbols/sony_vndr/Makefile
69 symbols/sun_vndr/Makefile
70 symbols/xfree68_vndr/Makefile