diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-06-24 10:13:10 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-06-24 10:13:10 +0000 |
| commit | 4dd1bad88c8a5e9799dfda636b5542c5234167a6 (patch) | |
| tree | 188c4aa82bec275e7a5b1e6256281deee5b33e1e | |
| parent | 6af4c680d19a707717090ebc8474e7ebd854c218 (diff) | |
| download | btpd-4dd1bad88c8a5e9799dfda636b5542c5234167a6.tar.gz btpd-4dd1bad88c8a5e9799dfda636b5542c5234167a6.zip | |
* Indicate that this is not version 0.1 any more.
* Change email address. * Better tests for curl.
| -rw-r--r-- | configure.ac | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 6e6f887..134101f 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |