Ver código fonte

* Indicate that this is not version 0.1 any more.

* Change email address.
* Better tests for curl.
master
Richard Nyberg 19 anos atrás
pai
commit
4dd1bad88c
1 arquivos alterados com 8 adições e 3 exclusões
  1. +8
    -3
      configure.ac

+ 8
- 3
configure.ac Ver arquivo

@@ -1,4 +1,4 @@
AC_INIT(btpd, 0.1, rnyberg@gmail.com)
AC_INIT(btpd, 0.1+, btpd@murmeldjur.se)

AC_CANONICAL_TARGET

@@ -54,12 +54,17 @@ if test x$CURLCONF == x; then
AC_PATH_PROG(CURLCONF, curl-config)
fi

if test x$CURLCONF == x ; then
echo Must have curl-config
if test x$CURLCONF == x -o \! \( -r $CURLCONF -a -x $CURLCONF \); then
echo Must have the curl-config script
exit 1
else
AC_SUBST(CURL_CFLAGS, `$CURLCONF --cflags`)
AC_SUBST(CURL_LDFLAGS, `$CURLCONF --libs`)
fi

old_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $CURL_LDFLAGS"
AC_CHECK_LIB(curl, curl_easy_strerror, :, echo Must have recent curl; exit 1)
LDFLAGS=$old_LDFLAGS

AC_OUTPUT

Carregando…
Cancelar
Salvar