summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5a1e264)
they're needed on Cygwin. (Without _GNU_SOURCE, sys/types.h doesn't
include sys/select.h.) Also added AM_CFLAGS, which we don't currently
use but might in the future.
AC_PATH_PROG([curl_config], [curl-config])
AS_IF([test "x$with_oauth" != xno && test -n "$curl_config"], [
save_CFLAGS="$CFLAGS"
AC_PATH_PROG([curl_config], [curl-config])
AS_IF([test "x$with_oauth" != xno && test -n "$curl_config"], [
save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS `$curl_config --cflags`"
+ CFLAGS="$AM_CPPFLAGS $AM_CFLAGS $CFLAGS `$curl_config --cflags`"
AC_CHECK_HEADER([curl/curl.h], [
HAVE_CURL_H=1
AC_CHECK_LIB([curl], [curl_easy_init], [
AC_CHECK_HEADER([curl/curl.h], [
HAVE_CURL_H=1
AC_CHECK_LIB([curl], [curl_easy_init], [