configure.ac revision b7fb5eac
11a30de1fSmrg 21a30de1fSmrgdnl Copyright 2005 Red Hat, Inc. 31a30de1fSmrgdnl 41a30de1fSmrgdnl Permission to use, copy, modify, distribute, and sell this software and its 51a30de1fSmrgdnl documentation for any purpose is hereby granted without fee, provided that 61a30de1fSmrgdnl the above copyright notice appear in all copies and that both that 71a30de1fSmrgdnl copyright notice and this permission notice appear in supporting 81a30de1fSmrgdnl documentation, and that the name of Red Hat not be used in 91a30de1fSmrgdnl advertising or publicity pertaining to distribution of the software without 101a30de1fSmrgdnl specific, written prior permission. Red Hat makes no 111a30de1fSmrgdnl representations about the suitability of this software for any purpose. It 121a30de1fSmrgdnl is provided "as is" without express or implied warranty. 131a30de1fSmrgdnl 141a30de1fSmrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 151a30de1fSmrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 161a30de1fSmrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 171a30de1fSmrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 181a30de1fSmrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 191a30de1fSmrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 201a30de1fSmrgdnl PERFORMANCE OF THIS SOFTWARE. 211a30de1fSmrgdnl 221a30de1fSmrgdnl Process this file with autoconf to create configure. 231a30de1fSmrg 241a30de1fSmrgAC_PREREQ([2.57]) 25b7fb5eacSmrgAC_INIT(xmodmap,[1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xmodmap) 261a30de1fSmrgAM_INIT_AUTOMAKE([dist-bzip2]) 271a30de1fSmrgAM_MAINTAINER_MODE 281a30de1fSmrg 29b7fb5eacSmrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 30b7fb5eacSmrgm4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) 31b7fb5eacSmrgXORG_MACROS_VERSION(1.3) 32b7fb5eacSmrg 331a30de1fSmrgAM_CONFIG_HEADER(config.h) 341a30de1fSmrg 351a30de1fSmrgAC_PROG_CC 361a30de1fSmrgAC_PROG_INSTALL 371a30de1fSmrg 38b7fb5eacSmrgXORG_DEFAULT_OPTIONS 39b7fb5eacSmrg 401a30de1fSmrgAC_CHECK_FUNCS([strncasecmp]) 411a30de1fSmrg 421a30de1fSmrg# Checks for pkg-config packages 43b7fb5eacSmrgPKG_CHECK_MODULES(XMODMAP, x11) 44b7fb5eacSmrgAC_SUBST(XMODMAP_CFLAGS) 45b7fb5eacSmrgAC_SUBST(XMODMAP_LIBS) 461a30de1fSmrg 471a30de1fSmrgdnl Allow checking code with lint, sparse, etc. 481a30de1fSmrgXORG_WITH_LINT 491a30de1fSmrg 501a30de1fSmrgAC_OUTPUT([Makefile]) 51