Loading ares/m4/cares-compilers.m4 +38 −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 19 # serial 20 dnl CARES_CHECK_COMPILER Loading @@ -40,6 +40,7 @@ AC_DEFUN([CARES_CHECK_COMPILER], [ CARES_CHECK_COMPILER_IBM CARES_CHECK_COMPILER_INTEL CARES_CHECK_COMPILER_GNU CARES_CHECK_COMPILER_LCC CARES_CHECK_COMPILER_SGI CARES_CHECK_COMPILER_SUN # Loading Loading @@ -214,6 +215,28 @@ AC_DEFUN([CARES_CHECK_COMPILER_INTEL], [ ]) dnl CARES_CHECK_COMPILER_LCC dnl ------------------------------------------------- dnl Verify if the C compiler being used is LCC. AC_DEFUN([CARES_CHECK_COMPILER_LCC], [ AC_MSG_CHECKING([whether we are using the LCC C compiler]) CURL_CHECK_DEF([__LCC__], [], [silent]) if test "$curl_cv_have_def___LCC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="LCC" flags_dbg_all="-g" flags_dbg_yes="-g" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CARES_CHECK_COMPILER_SGI dnl ------------------------------------------------- dnl Verify if the C compiler being used is SGI's. Loading Loading @@ -462,6 +485,12 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # dnl Disallow run-time dereferencing of null pointers tmp_CFLAGS="$tmp_CFLAGS -n" ;; # SGIC) # dnl Placeholder Loading Loading @@ -723,6 +752,14 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # if test "$want_warnings" = "yes"; then dnl Highest warning level is double -A tmp_CFLAGS="$tmp_CFLAGS -A -A" fi ;; # SGIC) # if test "$want_warnings" = "yes"; then Loading m4/curl-compilers.m4 +38 −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 18 # serial 19 dnl CURL_CHECK_COMPILER Loading @@ -46,6 +46,7 @@ AC_DEFUN([CURL_CHECK_COMPILER], [ CURL_CHECK_COMPILER_IBM CURL_CHECK_COMPILER_INTEL CURL_CHECK_COMPILER_GNU CURL_CHECK_COMPILER_LCC CURL_CHECK_COMPILER_SGI CURL_CHECK_COMPILER_SUN # Loading Loading @@ -220,6 +221,28 @@ AC_DEFUN([CURL_CHECK_COMPILER_INTEL], [ ]) dnl CURL_CHECK_COMPILER_LCC dnl ------------------------------------------------- dnl Verify if the C compiler being used is LCC. AC_DEFUN([CURL_CHECK_COMPILER_LCC], [ AC_MSG_CHECKING([whether we are using the LCC C compiler]) CURL_CHECK_DEF([__LCC__], [], [silent]) if test "$curl_cv_have_def___LCC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="LCC" flags_dbg_all="-g" flags_dbg_yes="-g" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CURL_CHECK_COMPILER_SGI dnl ------------------------------------------------- dnl Verify if the C compiler being used is SGI's. Loading Loading @@ -468,6 +491,12 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # dnl Disallow run-time dereferencing of null pointers tmp_CFLAGS="$tmp_CFLAGS -n" ;; # SGIC) # dnl Placeholder Loading Loading @@ -729,6 +758,14 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # if test "$want_warnings" = "yes"; then dnl Highest warning level is double -A tmp_CFLAGS="$tmp_CFLAGS -A -A" fi ;; # SGIC) # if test "$want_warnings" = "yes"; then Loading Loading
ares/m4/cares-compilers.m4 +38 −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 19 # serial 20 dnl CARES_CHECK_COMPILER Loading @@ -40,6 +40,7 @@ AC_DEFUN([CARES_CHECK_COMPILER], [ CARES_CHECK_COMPILER_IBM CARES_CHECK_COMPILER_INTEL CARES_CHECK_COMPILER_GNU CARES_CHECK_COMPILER_LCC CARES_CHECK_COMPILER_SGI CARES_CHECK_COMPILER_SUN # Loading Loading @@ -214,6 +215,28 @@ AC_DEFUN([CARES_CHECK_COMPILER_INTEL], [ ]) dnl CARES_CHECK_COMPILER_LCC dnl ------------------------------------------------- dnl Verify if the C compiler being used is LCC. AC_DEFUN([CARES_CHECK_COMPILER_LCC], [ AC_MSG_CHECKING([whether we are using the LCC C compiler]) CURL_CHECK_DEF([__LCC__], [], [silent]) if test "$curl_cv_have_def___LCC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="LCC" flags_dbg_all="-g" flags_dbg_yes="-g" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CARES_CHECK_COMPILER_SGI dnl ------------------------------------------------- dnl Verify if the C compiler being used is SGI's. Loading Loading @@ -462,6 +485,12 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # dnl Disallow run-time dereferencing of null pointers tmp_CFLAGS="$tmp_CFLAGS -n" ;; # SGIC) # dnl Placeholder Loading Loading @@ -723,6 +752,14 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # if test "$want_warnings" = "yes"; then dnl Highest warning level is double -A tmp_CFLAGS="$tmp_CFLAGS -A -A" fi ;; # SGIC) # if test "$want_warnings" = "yes"; then Loading
m4/curl-compilers.m4 +38 −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 18 # serial 19 dnl CURL_CHECK_COMPILER Loading @@ -46,6 +46,7 @@ AC_DEFUN([CURL_CHECK_COMPILER], [ CURL_CHECK_COMPILER_IBM CURL_CHECK_COMPILER_INTEL CURL_CHECK_COMPILER_GNU CURL_CHECK_COMPILER_LCC CURL_CHECK_COMPILER_SGI CURL_CHECK_COMPILER_SUN # Loading Loading @@ -220,6 +221,28 @@ AC_DEFUN([CURL_CHECK_COMPILER_INTEL], [ ]) dnl CURL_CHECK_COMPILER_LCC dnl ------------------------------------------------- dnl Verify if the C compiler being used is LCC. AC_DEFUN([CURL_CHECK_COMPILER_LCC], [ AC_MSG_CHECKING([whether we are using the LCC C compiler]) CURL_CHECK_DEF([__LCC__], [], [silent]) if test "$curl_cv_have_def___LCC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="LCC" flags_dbg_all="-g" flags_dbg_yes="-g" flags_dbg_off="" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) dnl CURL_CHECK_COMPILER_SGI dnl ------------------------------------------------- dnl Verify if the C compiler being used is SGI's. Loading Loading @@ -468,6 +491,12 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # dnl Disallow run-time dereferencing of null pointers tmp_CFLAGS="$tmp_CFLAGS -n" ;; # SGIC) # dnl Placeholder Loading Loading @@ -729,6 +758,14 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ tmp_CFLAGS="$tmp_CFLAGS" ;; # LCC) # if test "$want_warnings" = "yes"; then dnl Highest warning level is double -A tmp_CFLAGS="$tmp_CFLAGS -A -A" fi ;; # SGIC) # if test "$want_warnings" = "yes"; then Loading