mirror of https://framagit.org/bortzmeyer/echoping
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
540 B
Plaintext
18 lines
540 B
Plaintext
dnl $Id$
|
|
|
|
AC_INIT(adamsnames, 0.0-BETA)
|
|
AC_PROG_CC(cc gcc)
|
|
AC_PROG_LIBTOOL
|
|
AM_INIT_AUTOMAKE(foreign)
|
|
AC_CONFIG_HEADERS(config.h)
|
|
|
|
AC_CHECK_PROG(ADAMSNAMES_BUILD, xmlrpc-c-config, 1, 0)
|
|
if test "$ADAMSNAMES_BUILD" = 1; then
|
|
LIBS="${LIBS} `xmlrpc-c-config libwww-client --libs`"
|
|
CCFLAGS="${CCFLAGS} `xmlrpc-c-config libwww-client --cflags`"
|
|
else
|
|
AC_ERROR([No XML-RPC C developement environment found, get it from http://xmlrpc-c.sourceforge.net/])
|
|
fi
|
|
AM_CONDITIONAL(ADAMSNAMESBUILD, test "$ADAMSNAMES_BUILD" = 1)
|
|
AC_OUTPUT(Makefile)
|