configure.ac revision bf2eeab3
114c0a534Smrgdnl Copyright 2005 Red Hat, Inc. 214c0a534Smrgdnl 314c0a534Smrgdnl Permission to use, copy, modify, distribute, and sell this software and its 414c0a534Smrgdnl documentation for any purpose is hereby granted without fee, provided that 514c0a534Smrgdnl the above copyright notice appear in all copies and that both that 614c0a534Smrgdnl copyright notice and this permission notice appear in supporting 714c0a534Smrgdnl documentation, and that the name of Red Hat not be used in 814c0a534Smrgdnl advertising or publicity pertaining to distribution of the software without 914c0a534Smrgdnl specific, written prior permission. Red Hat makes no 1014c0a534Smrgdnl representations about the suitability of this software for any purpose. It 1114c0a534Smrgdnl is provided "as is" without express or implied warranty. 1214c0a534Smrgdnl 1314c0a534Smrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 1414c0a534Smrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 1514c0a534Smrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 1614c0a534Smrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 1714c0a534Smrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 1814c0a534Smrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 1914c0a534Smrgdnl PERFORMANCE OF THIS SOFTWARE. 2014c0a534Smrgdnl 2114c0a534Smrgdnl Process this file with autoconf to create configure. 2214c0a534Smrg 2314c0a534SmrgAC_PREREQ([2.57]) 24bf2eeab3SmrgAC_INIT(smproxy, [1.0.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],smproxy) 2514c0a534SmrgAM_INIT_AUTOMAKE([dist-bzip2]) 2614c0a534SmrgAM_MAINTAINER_MODE 2714c0a534Smrg 28bf2eeab3Smrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS 29bf2eeab3Smrgm4_ifndef([XORG_MACROS_VERSION], 30bf2eeab3Smrg [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) 31bf2eeab3SmrgXORG_MACROS_VERSION(1.3) 32bf2eeab3Smrg 3314c0a534SmrgAM_CONFIG_HEADER(config.h) 3414c0a534Smrg 3514c0a534SmrgAC_PROG_CC 3614c0a534SmrgAC_PROG_INSTALL 3714c0a534Smrg 38bf2eeab3SmrgXORG_DEFAULT_OPTIONS 39bf2eeab3Smrg 4014c0a534SmrgAC_CHECK_FUNC([mkstemp], 41bf2eeab3Smrg AC_DEFINE(HAS_MKSTEMP,1,[Define to 1 if you have the "mkstemp" function.])) 4214c0a534Smrg 4314c0a534Smrg# Checks for pkg-config packages 4414c0a534SmrgPKG_CHECK_MODULES(SMPROXY, xt xmu) 4514c0a534SmrgAC_SUBST(SMPROXY_CFLAGS) 4614c0a534SmrgAC_SUBST(SMPROXY_LIBS) 4714c0a534Smrg 4814c0a534SmrgAC_OUTPUT([Makefile]) 49