configure.ac revision 7d5e3a19
17d5e3a19Smrg 27d5e3a19Smrgdnl Copyright 2005 Red Hat, Inc. 37d5e3a19Smrgdnl 47d5e3a19Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 57d5e3a19Smrgdnl documentation for any purpose is hereby granted without fee, provided that 67d5e3a19Smrgdnl the above copyright notice appear in all copies and that both that 77d5e3a19Smrgdnl copyright notice and this permission notice appear in supporting 87d5e3a19Smrgdnl documentation, and that the name of Red Hat not be used in 97d5e3a19Smrgdnl advertising or publicity pertaining to distribution of the software without 107d5e3a19Smrgdnl specific, written prior permission. Red Hat makes no 117d5e3a19Smrgdnl representations about the suitability of this software for any purpose. It 127d5e3a19Smrgdnl is provided "as is" without express or implied warranty. 137d5e3a19Smrgdnl 147d5e3a19Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 157d5e3a19Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 167d5e3a19Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 177d5e3a19Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 187d5e3a19Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 197d5e3a19Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 207d5e3a19Smrgdnl PERFORMANCE OF THIS SOFTWARE. 217d5e3a19Smrgdnl 227d5e3a19Smrgdnl Process this file with autoconf to create configure. 237d5e3a19Smrg 247d5e3a19SmrgAC_PREREQ([2.57]) 257d5e3a19SmrgAC_INIT(setxkbmap,[1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],setxkbmap) 267d5e3a19SmrgAM_INIT_AUTOMAKE([dist-bzip2]) 277d5e3a19SmrgAM_MAINTAINER_MODE 287d5e3a19Smrg 297d5e3a19SmrgAM_CONFIG_HEADER(config.h) 307d5e3a19Smrg 317d5e3a19SmrgAC_PROG_CC 327d5e3a19SmrgAC_PROG_INSTALL 337d5e3a19Smrg 347d5e3a19SmrgAC_ARG_WITH(xkb-config-root, 357d5e3a19Smrg AC_HELP_STRING([--with-xkb-config-root=<paths>], 367d5e3a19Smrg [Set default XKB config root (default: ${datadir}/X11/xkb)]), 377d5e3a19Smrg [XKBCONFIGROOT="$withval"], 387d5e3a19Smrg [XKBCONFIGROOT=${datadir}/X11/xkb]) 397d5e3a19SmrgAC_SUBST([XKBCONFIGROOT]) 407d5e3a19Smrg 417d5e3a19Smrg# Checks for pkg-config packages 427d5e3a19SmrgPKG_CHECK_MODULES(SETXKBMAP, xkbfile x11) 437d5e3a19SmrgAC_SUBST(SETXKBMAP_CFLAGS) 447d5e3a19SmrgAC_SUBST(SETXKBMAP_LIBS) 457d5e3a19Smrg 467d5e3a19Smrg# Allow checking code with lint, sparse, etc. 477d5e3a19SmrgXORG_WITH_LINT 487d5e3a19Smrg 497d5e3a19SmrgXORG_MANPAGE_SECTIONS 507d5e3a19SmrgXORG_RELEASE_VERSION 517d5e3a19Smrg 527d5e3a19SmrgAC_OUTPUT([Makefile]) 53