mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
Update autotools configuration
Use new libtool syntax and cleaning the code a bit
This commit is contained in:
parent
0bfb126e59
commit
5b7e43ac56
3 changed files with 26 additions and 16 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
SUBDIRS = wayland compositor clients data
|
SUBDIRS = wayland compositor clients data
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||||
|
|
|
||||||
17
autogen.sh
17
autogen.sh
|
|
@ -1,12 +1,9 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
srcdir=`dirname $0`
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
||||||
test -z "$srcdir" && srcdir=.
|
test -n "$srcdir" || srcdir=.
|
||||||
|
(
|
||||||
ORIGDIR=`pwd`
|
cd "$srcdir" &&
|
||||||
cd $srcdir
|
autoreconf --force -v --install
|
||||||
|
) || exit
|
||||||
autoreconf --force -v --install || exit 1
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||||
cd $ORIGDIR || exit $?
|
|
||||||
|
|
||||||
$srcdir/configure "$@"
|
|
||||||
|
|
|
||||||
23
configure.ac
23
configure.ac
|
|
@ -1,11 +1,24 @@
|
||||||
AC_INIT(wayland, 0.1)
|
AC_PREREQ([2.64])
|
||||||
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
AC_INIT([wayland],
|
||||||
AC_PROG_CC
|
[0.1],
|
||||||
AC_PROG_LIBTOOL
|
[https://bugs.freedesktop.org/enter_bug.cgi?product=wayland],
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
[wayland],
|
||||||
|
[http://wayland.freedesktop.org/])
|
||||||
|
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE([1.11 foreign dist-bzip2])
|
||||||
|
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
|
|
||||||
|
# Check for programs
|
||||||
|
AC_PROG_CC
|
||||||
|
|
||||||
|
# Initialize libtool
|
||||||
|
LT_PREREQ([2.2])
|
||||||
|
LT_INIT
|
||||||
|
|
||||||
PKG_PROG_PKG_CONFIG()
|
PKG_PROG_PKG_CONFIG()
|
||||||
PKG_CHECK_MODULES(FFI, [libffi])
|
PKG_CHECK_MODULES(FFI, [libffi])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue