linphone-iphone/linphone/coreapi/plugins/buddylookup/configure.ac
smorlat 793906b4f4 Import buddylookup xml-rpc plugin.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@322 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
2009-03-09 16:00:00 +00:00

54 lines
1.1 KiB
Text

# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(buddylookup, 0.0.1, simon dot morlat at linphone dot org)
AC_CONFIG_SRCDIR([src/lookup.c])
AM_INIT_AUTOMAKE([tar-ustar])
AC_CANONICAL_SYSTEM
AC_MSG_CHECKING([warning make an error on compilation])
AC_ARG_ENABLE(strict,
[ --enable-strict Enable error on compilation warning [default=yes]],
[wall_werror=$enableval],
[wall_werror=yes]
)
dnl AC_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CC
dnl LT_INIT([disable-static])
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
# Checks for libraries.
PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4 >= 2.4.0)
PKG_CHECK_MODULES(LIBLINPHONE, linphone >= 3.0.0)
LINPHONE_PLUGINS_DIR="\$(libdir)/liblinphone/plugins/"
AC_SUBST(LINPHONE_PLUGINS_DIR)
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
if test "$GCC" = "yes" ; then
CFLAGS="$CFLAGS -Wall"
LDFLAGS="$LDFLAGS -rdynamic "
if test $wall_werror = yes; then
CFLAGS="$CFLAGS -Werror "
fi
fi
AC_OUTPUT(
Makefile
src/Makefile
)