Blame configure.ac

Packit 0bec48
Packit 0bec48
#  Copyright 2005 Red Hat, Inc.
Packit 0bec48
#
Packit 0bec48
#  Permission to use, copy, modify, distribute, and sell this software and its
Packit 0bec48
#  documentation for any purpose is hereby granted without fee, provided that
Packit 0bec48
#  the above copyright notice appear in all copies and that both that
Packit 0bec48
#  copyright notice and this permission notice appear in supporting
Packit 0bec48
#  documentation, and that the name of Red Hat not be used in
Packit 0bec48
#  advertising or publicity pertaining to distribution of the software without
Packit 0bec48
#  specific, written prior permission.  Red Hat makes no
Packit 0bec48
#  representations about the suitability of this software for any purpose.  It
Packit 0bec48
#  is provided "as is" without express or implied warranty.
Packit 0bec48
#
Packit 0bec48
#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 0bec48
#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 0bec48
#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 0bec48
#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 0bec48
#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 0bec48
#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 0bec48
#  PERFORMANCE OF THIS SOFTWARE.
Packit 0bec48
#
Packit 0bec48
Packit 0bec48
# Initialize Autoconf
Packit 0bec48
AC_PREREQ([2.60])
Packit 0bec48
AC_INIT([libXScrnSaver], [1.2.3],
Packit 0bec48
        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXScrnSaver])
Packit 0bec48
AC_CONFIG_SRCDIR([Makefile.am])
Packit 0bec48
AC_CONFIG_HEADERS([config.h])
Packit 0bec48
Packit 0bec48
# Initialize Automake
Packit 0bec48
AM_INIT_AUTOMAKE([foreign dist-bzip2])
Packit 0bec48
Packit 0bec48
# Initialize libtool
Packit 0bec48
AC_PROG_LIBTOOL
Packit 0bec48
Packit 0bec48
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
Packit 0bec48
m4_ifndef([XORG_MACROS_VERSION],
Packit 0bec48
          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
Packit 0bec48
XORG_MACROS_VERSION(1.8)
Packit 0bec48
XORG_DEFAULT_OPTIONS
Packit 0bec48
XORG_CHECK_MALLOC_ZERO
Packit 0bec48
Packit 0bec48
# Obtain compiler/linker options for depedencies
Packit 0bec48
PKG_CHECK_MODULES(XSCRNSAVER, x11 xext xextproto [scrnsaverproto >= 1.2])
Packit 0bec48
Packit 0bec48
# Allow checking code with lint, sparse, etc.
Packit 0bec48
XORG_WITH_LINT
Packit 0bec48
XORG_LINT_LIBRARY([Xss])
Packit 0bec48
Packit 0bec48
AC_CONFIG_FILES([Makefile
Packit 0bec48
		src/Makefile
Packit 0bec48
		man/Makefile
Packit 0bec48
		xscrnsaver.pc])
Packit 0bec48
AC_OUTPUT