mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 23:44:35 +00:00
342b932d54
* configure: Add. * configure.ac (AM_INIT_AUTOMAKE): Use gcc versions. (PKG_CHECK_MODULES): Re-use libjava/classpath solution, naming. * m4/pkg.m4: Add, take from classpath. * src/Makefile.am: Adjust names.
49 lines
981 B
Plaintext
49 lines
981 B
Plaintext
AC_INIT([libabigail],
|
|
[0.1],
|
|
[http://sourceware.org/bugzilla],
|
|
[libabigail],
|
|
[http://sourceware.org/libabigail])
|
|
|
|
AC_PREREQ([2.63])
|
|
AC_CONFIG_HEADER([config.h])
|
|
AC_CONFIG_SRCDIR([README])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
AM_INIT_AUTOMAKE([1.11.1])
|
|
AM_MAINTAINER_MODE([enable])
|
|
|
|
AM_SILENT_RULES([yes])
|
|
|
|
dnl *************************************************
|
|
dnl Here is the list of versions of the dependencies
|
|
dnl *************************************************
|
|
|
|
AC_PROG_CXX
|
|
AC_USE_SYSTEM_EXTENSIONS
|
|
AC_PROG_INSTALL
|
|
|
|
LT_PREREQ([2.2])
|
|
LT_INIT
|
|
|
|
AC_LANG([C++])
|
|
AC_LANG_COMPILER_REQUIRE
|
|
|
|
dnl Check for dependency: libxml
|
|
LIBXML2_VERSION=2.6.22
|
|
PKG_CHECK_MODULES(XML, libxml-2.0 >= $LIBXML2_VERSION)
|
|
AC_SUBST(XML_LIBS)
|
|
AC_SUBST(XML_CFLAGS)
|
|
|
|
if test x$ABIGAIL_DEVEL != x; then
|
|
DEVEL_CFLAGS="-g -Wall -Wextra -Werror"
|
|
DEVEL_CXXFLAGS="-g -Wall -Wextra -Werror"
|
|
CFLAGS=$DEVEL_CFLAGS
|
|
CXXFLAGS=$DEVEL_CXXFLAGS
|
|
fi
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
src/Makefile
|
|
tests/Makefile])
|
|
|
|
AC_OUTPUT
|