Loading ares/m4/cares-compilers.m4 +42 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. # serial 20 # serial 21 dnl CARES_CHECK_COMPILER Loading @@ -43,6 +43,7 @@ AC_DEFUN([CARES_CHECK_COMPILER], [ CARES_CHECK_COMPILER_LCC CARES_CHECK_COMPILER_SGI CARES_CHECK_COMPILER_SUN CARES_CHECK_COMPILER_TINYC # if test "$compiler_id" = "unknown"; then cat <<_EOF 1>&2 Loading Loading @@ -283,6 +284,28 @@ AC_DEFUN([CARES_CHECK_COMPILER_SUN], [ ]) dnl CARES_CHECK_COMPILER_TINYC dnl ------------------------------------------------- dnl Verify if the C compiler being used is TINYC. AC_DEFUN([CARES_CHECK_COMPILER_TINYC], [ AC_MSG_CHECKING([whether we are using the TinyCC C compiler]) CURL_CHECK_DEF([__TINYC__], [], [silent]) if test "$curl_cv_have_def___TINYC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="TINYC" flags_dbg_all="-g -b" flags_dbg_yes="-g -b" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CARES_CONVERT_INCLUDE_TO_ISYSTEM dnl ------------------------------------------------- dnl Changes standard include paths present in CFLAGS Loading Loading @@ -503,6 +526,12 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # TINYC) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading Loading @@ -779,6 +808,18 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ fi ;; # TINYC) # if test "$want_warnings" = "yes"; then dnl Activate all warnings tmp_CFLAGS="$tmp_CFLAGS -Wall" dnl Make string constants be of type const char * tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings" dnl Warn use of unsupported GCC features ignored by TCC tmp_CFLAGS="$tmp_CFLAGS -Wunsupported" fi ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading m4/curl-compilers.m4 +42 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. # serial 19 # serial 20 dnl CURL_CHECK_COMPILER Loading @@ -49,6 +49,7 @@ AC_DEFUN([CURL_CHECK_COMPILER], [ CURL_CHECK_COMPILER_LCC CURL_CHECK_COMPILER_SGI CURL_CHECK_COMPILER_SUN CURL_CHECK_COMPILER_TINYC # if test "$compiler_id" = "unknown"; then cat <<_EOF 1>&2 Loading Loading @@ -289,6 +290,28 @@ AC_DEFUN([CURL_CHECK_COMPILER_SUN], [ ]) dnl CURL_CHECK_COMPILER_TINYC dnl ------------------------------------------------- dnl Verify if the C compiler being used is TINYC. AC_DEFUN([CURL_CHECK_COMPILER_TINYC], [ AC_MSG_CHECKING([whether we are using the TinyCC C compiler]) CURL_CHECK_DEF([__TINYC__], [], [silent]) if test "$curl_cv_have_def___TINYC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="TINYC" flags_dbg_all="-g -b" flags_dbg_yes="-g -b" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CURL_CONVERT_INCLUDE_TO_ISYSTEM dnl ------------------------------------------------- dnl Changes standard include paths present in CFLAGS Loading Loading @@ -509,6 +532,12 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # TINYC) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading Loading @@ -785,6 +814,18 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ fi ;; # TINYC) # if test "$want_warnings" = "yes"; then dnl Activate all warnings tmp_CFLAGS="$tmp_CFLAGS -Wall" dnl Make string constants be of type const char * tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings" dnl Warn use of unsupported GCC features ignored by TCC tmp_CFLAGS="$tmp_CFLAGS -Wunsupported" fi ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading Loading
ares/m4/cares-compilers.m4 +42 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. # serial 20 # serial 21 dnl CARES_CHECK_COMPILER Loading @@ -43,6 +43,7 @@ AC_DEFUN([CARES_CHECK_COMPILER], [ CARES_CHECK_COMPILER_LCC CARES_CHECK_COMPILER_SGI CARES_CHECK_COMPILER_SUN CARES_CHECK_COMPILER_TINYC # if test "$compiler_id" = "unknown"; then cat <<_EOF 1>&2 Loading Loading @@ -283,6 +284,28 @@ AC_DEFUN([CARES_CHECK_COMPILER_SUN], [ ]) dnl CARES_CHECK_COMPILER_TINYC dnl ------------------------------------------------- dnl Verify if the C compiler being used is TINYC. AC_DEFUN([CARES_CHECK_COMPILER_TINYC], [ AC_MSG_CHECKING([whether we are using the TinyCC C compiler]) CURL_CHECK_DEF([__TINYC__], [], [silent]) if test "$curl_cv_have_def___TINYC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="TINYC" flags_dbg_all="-g -b" flags_dbg_yes="-g -b" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CARES_CONVERT_INCLUDE_TO_ISYSTEM dnl ------------------------------------------------- dnl Changes standard include paths present in CFLAGS Loading Loading @@ -503,6 +526,12 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # TINYC) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading Loading @@ -779,6 +808,18 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ fi ;; # TINYC) # if test "$want_warnings" = "yes"; then dnl Activate all warnings tmp_CFLAGS="$tmp_CFLAGS -Wall" dnl Make string constants be of type const char * tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings" dnl Warn use of unsupported GCC features ignored by TCC tmp_CFLAGS="$tmp_CFLAGS -Wunsupported" fi ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading
m4/curl-compilers.m4 +42 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. # serial 19 # serial 20 dnl CURL_CHECK_COMPILER Loading @@ -49,6 +49,7 @@ AC_DEFUN([CURL_CHECK_COMPILER], [ CURL_CHECK_COMPILER_LCC CURL_CHECK_COMPILER_SGI CURL_CHECK_COMPILER_SUN CURL_CHECK_COMPILER_TINYC # if test "$compiler_id" = "unknown"; then cat <<_EOF 1>&2 Loading Loading @@ -289,6 +290,28 @@ AC_DEFUN([CURL_CHECK_COMPILER_SUN], [ ]) dnl CURL_CHECK_COMPILER_TINYC dnl ------------------------------------------------- dnl Verify if the C compiler being used is TINYC. AC_DEFUN([CURL_CHECK_COMPILER_TINYC], [ AC_MSG_CHECKING([whether we are using the TinyCC C compiler]) CURL_CHECK_DEF([__TINYC__], [], [silent]) if test "$curl_cv_have_def___TINYC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="TINYC" flags_dbg_all="-g -b" flags_dbg_yes="-g -b" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CURL_CONVERT_INCLUDE_TO_ISYSTEM dnl ------------------------------------------------- dnl Changes standard include paths present in CFLAGS Loading Loading @@ -509,6 +532,12 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # TINYC) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading Loading @@ -785,6 +814,18 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ fi ;; # TINYC) # if test "$want_warnings" = "yes"; then dnl Activate all warnings tmp_CFLAGS="$tmp_CFLAGS -Wall" dnl Make string constants be of type const char * tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings" dnl Warn use of unsupported GCC features ignored by TCC tmp_CFLAGS="$tmp_CFLAGS -Wunsupported" fi ;; # esac # tmp_CPPFLAGS=`eval echo $tmp_CPPFLAGS` Loading