diff --git a/checkin_notes b/checkin_notes index 7d8896531b..b92c0f0dc4 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4571,3 +4571,10 @@ David 26 June 2012 sched_send.cpp lib/ coproc.cpp + +David 26 June 2012 + - Unix build tweaks. Fixes #1193 (I think) + + m4/ + boinc_check_fcgi.m4 + libcurl.m4 diff --git a/m4/boinc_check_fcgi.m4 b/m4/boinc_check_fcgi.m4 index d8490c01dc..f8d897b759 100644 --- a/m4/boinc_check_fcgi.m4 +++ b/m4/boinc_check_fcgi.m4 @@ -6,7 +6,7 @@ if ( test "x${enable_server}" = "xyes" ) || ( test "x${enable_libraries}" = "xye save_cflags="${CFLAGS}" CFLAGS="-I${prefix} -include fcgi_stdio.h -D_USING_FCGI_ ${CFLAGS}" AC_COMPILE_IFELSE( - AC_LANG_PROGRAM( + [AC_LANG_PROGRAM( [[ #define CONFIG_TEST ]], @@ -14,7 +14,7 @@ if ( test "x${enable_server}" = "xyes" ) || ( test "x${enable_libraries}" = "xye fprintf(stderr,"Hello\n"); return 0; ] - ), + )], [ AC_MSG_RESULT(yes) ], diff --git a/m4/libcurl.m4 b/m4/libcurl.m4 index 19d3fe651d..60657a9a3f 100644 --- a/m4/libcurl.m4 +++ b/m4/libcurl.m4 @@ -179,7 +179,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG], _libcurl_save_libs=$LIBS LIBS="$LIBS $LIBCURL" - AC_LINK_IFELSE(AC_LANG_PROGRAM([#include ],[ + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ],[ /* Try and use a few common options to force a failure if we are missing symbols or can't link. */ int x; @@ -190,7 +190,7 @@ x=CURLOPT_FILE; x=CURLOPT_ERRORBUFFER; x=CURLOPT_STDERR; x=CURLOPT_VERBOSE; -]),libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no) +])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no) CPPFLAGS=$_libcurl_save_cppflags LIBS=$_libcurl_save_libs