configure.ac revision b4485a66
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]) 26b4485a66SmrgAC_INIT([xkbutils], [1.0.4], 27af23b0a6Smrg [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xkbutils]) 28b4485a66SmrgAC_CONFIG_SRCDIR([Makefile.am]) 29b4485a66SmrgAC_CONFIG_HEADERS([config.h]) 30b4485a66Smrg 31b4485a66Smrg# Initialize Automake 32af23b0a6SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 33010cdda0SmrgAM_MAINTAINER_MODE 34b4485a66SmrgAM_PROG_CC_C_O 35010cdda0Smrg 36af23b0a6Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 37b3eb03f3Smrgm4_ifndef([XORG_MACROS_VERSION], 38af23b0a6Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 39af23b0a6SmrgXORG_MACROS_VERSION(1.8) 40af23b0a6SmrgXORG_DEFAULT_OPTIONS 41b3eb03f3Smrg 42b4485a66SmrgAC_CHECK_FUNCS([strcasecmp]) 43b3eb03f3Smrg 44010cdda0Smrg# xkbvleds checks 45b4485a66SmrgPKG_CHECK_MODULES(XKBVLEDS, [xproto >= 7.0.17 xaw7 xt x11]) 46010cdda0Smrg 47010cdda0Smrg# xkbbell checks 48b4485a66SmrgPKG_CHECK_MODULES(XKBBELL, [xproto inputproto x11]) 49010cdda0Smrg 50010cdda0Smrg# xkbwatch checks 51b4485a66SmrgPKG_CHECK_MODULES(XKBWATCH, [xproto >= 7.0.17 xaw7 xt x11]) 52010cdda0Smrg 53b4485a66SmrgAC_CONFIG_FILES([ 54b4485a66Smrg Makefile 55b4485a66Smrg man/Makefile]) 56b4485a66SmrgAC_OUTPUT 57