Przeglądaj źródła

* Indicate that this is not version 0.1 any more.

* Change email address.
* Better tests for curl.
master
Richard Nyberg 20 lat temu
rodzic
commit
4dd1bad88c
1 zmienionych plików z 8 dodań i 3 usunięć
  1. +8
    -3
      configure.ac

+ 8
- 3
configure.ac Wyświetl plik

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


AC_CANONICAL_TARGET AC_CANONICAL_TARGET


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


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

||||||
x
 
000:0
Ładowanie…
Anuluj
Zapisz