silence autoconf warnings
This commit is contained in:
parent
6ef3f7bde7
commit
3dd36873b5
|
@ -93,10 +93,10 @@ dnl Check if extra inc is required
|
|||
CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/$java_inc_dir"
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_SOURCE(
|
||||
[[#include <jni.h>]]
|
||||
),
|
||||
)],
|
||||
passed=`expr $passed + 1`,failed=`expr $failed + 1`
|
||||
)
|
||||
AC_LANG_RESTORE
|
||||
|
@ -110,10 +110,10 @@ dnl Check if extra inc is required
|
|||
CPPFLAGS="$CPPFLAGS -I$JAVA_HOME/$java_inc_dir -I$JAVA_HOME/$java_inc_dir/$java_extra_inc"
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_C
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_SOURCE(
|
||||
[[#include <jni.h>]]
|
||||
),
|
||||
)],
|
||||
passed=`expr $passed + 1`,failed=`expr $failed + 1`
|
||||
)
|
||||
AC_LANG_RESTORE
|
||||
|
|
|
@ -137,7 +137,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
|||
_libcurl_save_libs=$LIBS
|
||||
LIBS="$LIBCURL $LIBS"
|
||||
|
||||
AC_LINK_IFELSE(AC_LANG_PROGRAM([#include <curl/curl.h>],[
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curl/curl.h>],[
|
||||
/* Try and use a few common options to force a failure if we are
|
||||
missing symbols or can't link. */
|
||||
int x;
|
||||
|
@ -148,7 +148,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
|
||||
|
|
|
@ -171,7 +171,7 @@ AC_PROG_CXX
|
|||
#check if the g++ compiler works
|
||||
AC_CACHE_CHECK([whether the C++ compiler works], [ac_cv_sys_cxx_works], [
|
||||
AC_LANG_PUSH([C++])
|
||||
AC_COMPILE_IFELSE([int main() { }], [ac_cv_sys_cxx_works=yes],
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main() { }])], [ac_cv_sys_cxx_works=yes],
|
||||
[ac_cv_sys_cxx_works=no])
|
||||
AC_LANG_POP([C++])
|
||||
])
|
||||
|
|
Loading…
Reference in New Issue