1010cdda0Smrg
2010cdda0Smrgdnl  Copyright 2005 Red Hat, Inc.
3010cdda0Smrgdnl 
4010cdda0Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
5010cdda0Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
6010cdda0Smrgdnl  the above copyright notice appear in all copies and that both that
7010cdda0Smrgdnl  copyright notice and this permission notice appear in supporting
8010cdda0Smrgdnl  documentation, and that the name of Red Hat not be used in
9010cdda0Smrgdnl  advertising or publicity pertaining to distribution of the software without
10010cdda0Smrgdnl  specific, written prior permission.  Red Hat makes no
11010cdda0Smrgdnl  representations about the suitability of this software for any purpose.  It
12010cdda0Smrgdnl  is provided "as is" without express or implied warranty.
13010cdda0Smrgdnl 
14010cdda0Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15010cdda0Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16010cdda0Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17010cdda0Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18010cdda0Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19010cdda0Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20010cdda0Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
21010cdda0Smrgdnl
22010cdda0Smrgdnl Process this file with autoconf to create configure.
23010cdda0Smrg
24b4485a66Smrg# Initialize Autoconf
25af23b0a6SmrgAC_PREREQ([2.60])
26affd2f3fSmrgAC_INIT([xkbutils], [1.0.6],
27945aa7e3Smrg        [https://gitlab.freedesktop.org/xorg/app/xkbutils/issues], [xkbutils])
28b4485a66SmrgAC_CONFIG_SRCDIR([Makefile.am])
29b4485a66SmrgAC_CONFIG_HEADERS([config.h])
30b4485a66Smrg
31b4485a66Smrg# Initialize Automake
32945aa7e3SmrgAM_INIT_AUTOMAKE([foreign dist-xz])
33b4485a66SmrgAM_PROG_CC_C_O
34010cdda0Smrg
35af23b0a6Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
36b3eb03f3Smrgm4_ifndef([XORG_MACROS_VERSION],
37af23b0a6Smrg          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
38af23b0a6SmrgXORG_MACROS_VERSION(1.8)
39af23b0a6SmrgXORG_DEFAULT_OPTIONS
40b3eb03f3Smrg
41b4485a66SmrgAC_CHECK_FUNCS([strcasecmp])
42b3eb03f3Smrg
43010cdda0Smrg# xkbvleds checks
44b4485a66SmrgPKG_CHECK_MODULES(XKBVLEDS, [xproto >= 7.0.17 xaw7 xt x11])
45010cdda0Smrg
46010cdda0Smrg# xkbbell checks
47b4485a66SmrgPKG_CHECK_MODULES(XKBBELL, [xproto inputproto x11])
48010cdda0Smrg
49010cdda0Smrg# xkbwatch checks
50b4485a66SmrgPKG_CHECK_MODULES(XKBWATCH, [xproto >= 7.0.17 xaw7 xt x11])
51010cdda0Smrg
52b4485a66SmrgAC_CONFIG_FILES([
53b4485a66Smrg	Makefile
54b4485a66Smrg	man/Makefile])
55b4485a66SmrgAC_OUTPUT
56