mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.54)
|
|
|
|
AC_INIT(src/pixman.h)
|
|
|
|
dnl ===========================================================================
|
|
|
|
# Package version number, (as distinct from shared library version)
|
|
LIBPIXMAN_VERSION=0.1.4
|
|
|
|
# libtool shared library version
|
|
|
|
# Increment if the interface has additions, changes, removals.
|
|
LT_CURRENT=1
|
|
|
|
# Increment any time the source changes; set to
|
|
# 0 if you increment CURRENT
|
|
LT_REVISION=0
|
|
|
|
# Increment if any interfaces have been added; set to 0
|
|
# if any interfaces have been removed. removal has
|
|
# precedence over adding, so set to 0 if both happened.
|
|
LT_AGE=0
|
|
|
|
VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
|
|
AC_SUBST(VERSION_INFO)
|
|
|
|
dnl ===========================================================================
|
|
|
|
AM_INIT_AUTOMAKE(libpixman, $LIBPIXMAN_VERSION)
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
AC_PROG_CC
|
|
AM_PROG_LIBTOOL
|
|
|
|
AC_C_BIGENDIAN
|
|
|
|
dnl Use lots of warning flags with GCC
|
|
|
|
WARN_CFLAGS=""
|
|
|
|
if test "x$GCC" = "xyes"; then
|
|
WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
|
|
-Wmissing-prototypes -Wmissing-declarations \
|
|
-Wnested-externs -fno-strict-aliasing"
|
|
fi
|
|
|
|
AC_SUBST(WARN_CFLAGS)
|
|
|
|
dnl ===========================================================================
|
|
|
|
AC_OUTPUT([
|
|
libpixman.pc
|
|
Makefile
|
|
src/Makefile
|
|
])
|