configure.ac revision 200d7199
1ef981d24Smrg 2200d7199Smrg# Copyright 2005 Red Hat, Inc. 3200d7199Smrg# 4200d7199Smrg# Permission to use, copy, modify, distribute, and sell this software and its 5200d7199Smrg# documentation for any purpose is hereby granted without fee, provided that 6200d7199Smrg# the above copyright notice appear in all copies and that both that 7200d7199Smrg# copyright notice and this permission notice appear in supporting 8200d7199Smrg# documentation, and that the name of Red Hat not be used in 9200d7199Smrg# advertising or publicity pertaining to distribution of the software without 10200d7199Smrg# specific, written prior permission. Red Hat makes no 11200d7199Smrg# representations about the suitability of this software for any purpose. It 12200d7199Smrg# is provided "as is" without express or implied warranty. 13200d7199Smrg# 14200d7199Smrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15200d7199Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16200d7199Smrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17200d7199Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18200d7199Smrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19200d7199Smrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20200d7199Smrg# PERFORMANCE OF THIS SOFTWARE. 21200d7199Smrg# 22200d7199Smrg 23200d7199Smrg# Initialize Autoconf 2456957a04SmrgAC_PREREQ([2.60]) 25200d7199SmrgAC_INIT([libXScrnSaver], [1.2.2], 26200d7199Smrg [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXScrnSaver]) 27200d7199SmrgAC_CONFIG_SRCDIR([Makefile.am]) 28200d7199SmrgAC_CONFIG_HEADERS([config.h]) 29ef981d24Smrg 30200d7199Smrg# Initialize Automake 3156957a04SmrgAM_INIT_AUTOMAKE([foreign dist-bzip2]) 32ef981d24SmrgAM_MAINTAINER_MODE 33ef981d24Smrg 34200d7199Smrg# Initialize libtool 35200d7199SmrgAC_PROG_LIBTOOL 36ef981d24Smrg 3756957a04Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 3856957a04Smrgm4_ifndef([XORG_MACROS_VERSION], 3956957a04Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 4056957a04SmrgXORG_MACROS_VERSION(1.8) 4156957a04SmrgXORG_DEFAULT_OPTIONS 42200d7199SmrgXORG_CHECK_MALLOC_ZERO 43ef981d24Smrg 44200d7199Smrg# Obtain compiler/linker options for depedencies 4565eef222SmrgPKG_CHECK_MODULES(XSCRNSAVER, x11 xext xextproto [scrnsaverproto >= 1.2]) 46ef981d24Smrg 47200d7199Smrg# Allow checking code with lint, sparse, etc. 48ef981d24SmrgXORG_WITH_LINT 49ef981d24SmrgXORG_LINT_LIBRARY([Xss]) 50ef981d24Smrg 51200d7199SmrgAC_CONFIG_FILES([Makefile 52200d7199Smrg src/Makefile 53200d7199Smrg man/Makefile 54200d7199Smrg xscrnsaver.pc]) 55200d7199SmrgAC_OUTPUT 56