configure.ac revision 8c9fbc29
18c9fbc29Smrg
28c9fbc29Smrgdnl  Copyright 2005 Red Hat, Inc.
38c9fbc29Smrgdnl 
48c9fbc29Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
58c9fbc29Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
68c9fbc29Smrgdnl  the above copyright notice appear in all copies and that both that
78c9fbc29Smrgdnl  copyright notice and this permission notice appear in supporting
88c9fbc29Smrgdnl  documentation, and that the name of Red Hat not be used in
98c9fbc29Smrgdnl  advertising or publicity pertaining to distribution of the software without
108c9fbc29Smrgdnl  specific, written prior permission.  Red Hat makes no
118c9fbc29Smrgdnl  representations about the suitability of this software for any purpose.  It
128c9fbc29Smrgdnl  is provided "as is" without express or implied warranty.
138c9fbc29Smrgdnl 
148c9fbc29Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
158c9fbc29Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
168c9fbc29Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
178c9fbc29Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
188c9fbc29Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
198c9fbc29Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
208c9fbc29Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
218c9fbc29Smrgdnl
228c9fbc29Smrgdnl Process this file with autoconf to create configure.
238c9fbc29Smrg
248c9fbc29SmrgAC_PREREQ([2.57])
258c9fbc29Smrg
268c9fbc29SmrgAC_INIT(libxkbfile, 1.0.5, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libxkbfile)
278c9fbc29SmrgAM_INIT_AUTOMAKE([dist-bzip2])
288c9fbc29SmrgAM_MAINTAINER_MODE
298c9fbc29Smrg
308c9fbc29SmrgAM_CONFIG_HEADER(config.h)
318c9fbc29Smrg
328c9fbc29Smrg# Check for progs
338c9fbc29SmrgAC_PROG_CC
348c9fbc29SmrgAC_PROG_LIBTOOL
358c9fbc29Smrg
368c9fbc29SmrgAC_CHECK_FUNC(strcasecmp, [], AC_DEFINE([NEED_STRCASECMP], 1,
378c9fbc29Smrg                                        [Do not have `strcasecmp'.]))
388c9fbc29Smrg
398c9fbc29Smrg# Check for dependencies
408c9fbc29SmrgPKG_CHECK_MODULES(XKBFILE, x11 kbproto)
418c9fbc29Smrg
428c9fbc29SmrgAC_SUBST(XKBFILE_CFLAGS)
438c9fbc29SmrgAC_SUBST(XKBFILE_LIBS)
448c9fbc29Smrg		  
458c9fbc29SmrgXORG_RELEASE_VERSION
468c9fbc29Smrg
478c9fbc29SmrgAC_OUTPUT([Makefile
488c9fbc29Smrg	   src/Makefile
498c9fbc29Smrg           xkbfile.pc])
50