configure.ac revision b3eb03f3
1 2dnl Copyright 2005 Red Hat, Inc. 3dnl 4dnl Permission to use, copy, modify, distribute, and sell this software and its 5dnl documentation for any purpose is hereby granted without fee, provided that 6dnl the above copyright notice appear in all copies and that both that 7dnl copyright notice and this permission notice appear in supporting 8dnl documentation, and that the name of Red Hat not be used in 9dnl advertising or publicity pertaining to distribution of the software without 10dnl specific, written prior permission. Red Hat makes no 11dnl representations about the suitability of this software for any purpose. It 12dnl is provided "as is" without express or implied warranty. 13dnl 14dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20dnl PERFORMANCE OF THIS SOFTWARE. 21dnl 22dnl Process this file with autoconf to create configure. 23 24AC_PREREQ([2.57]) 25AC_INIT(xkbutils, [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xkbutils) 26AM_INIT_AUTOMAKE([dist-bzip2]) 27AM_MAINTAINER_MODE 28 29# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS 30m4_ifndef([XORG_MACROS_VERSION], 31 [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) 32XORG_MACROS_VERSION(1.3) 33 34AM_CONFIG_HEADER(config.h) 35 36AC_PROG_CC 37AM_PROG_CC_C_O 38AC_PROG_INSTALL 39 40XORG_DEFAULT_OPTIONS 41 42# xkbvleds checks 43PKG_CHECK_MODULES(XKBVLEDS, xaw7) 44AC_SUBST(XKBVLEDS_CFLAGS) 45AC_SUBST(XKBVLEDS_LIBS) 46 47# xkbbell checks 48PKG_CHECK_MODULES(XKBBELL, xkbfile x11 inputproto) 49AC_SUBST(XKBBELL_CFLAGS) 50AC_SUBST(XKBBELL_LIBS) 51 52# xkbwatch checks 53PKG_CHECK_MODULES(XKBWATCH, xaw7) 54AC_SUBST(XKBWATCH_CFLAGS) 55AC_SUBST(XKBWATCH_LIBS) 56 57XORG_MANPAGE_SECTIONS 58XORG_RELEASE_VERSION 59XORG_CHANGELOG 60 61AC_OUTPUT([Makefile]) 62