#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 24
+# serial 29
dnl CARES_CHECK_COMPILER
flags_opt_yes="unknown"
flags_opt_off="unknown"
#
- CARES_CHECK_COMPILER_DEC
- CARES_CHECK_COMPILER_HP
- CARES_CHECK_COMPILER_IBM
- CARES_CHECK_COMPILER_INTEL
- CARES_CHECK_COMPILER_GNU
+ CARES_CHECK_COMPILER_DEC_C
+ CARES_CHECK_COMPILER_HPUX_C
+ CARES_CHECK_COMPILER_IBM_C
+ CARES_CHECK_COMPILER_INTEL_C
+ CARES_CHECK_COMPILER_GNU_C
CARES_CHECK_COMPILER_LCC
- CARES_CHECK_COMPILER_SGI_MIPSpro_C
+ CARES_CHECK_COMPILER_SGI_MIPSPRO_C
CARES_CHECK_COMPILER_SGI_MIPS_C
- CARES_CHECK_COMPILER_SUN
- CARES_CHECK_COMPILER_TINYC
+ CARES_CHECK_COMPILER_SUNPRO_C
+ CARES_CHECK_COMPILER_TINY_C
#
if test "$compiler_id" = "unknown"; then
cat <<_EOF 1>&2
])
-dnl CARES_CHECK_COMPILER_DEC
+dnl CARES_CHECK_COMPILER_DEC_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is DEC's.
+dnl Verify if compiler being used is DEC C.
-AC_DEFUN([CARES_CHECK_COMPILER_DEC], [
- AC_MSG_CHECKING([whether we are using the DEC/Compaq C compiler])
+AC_DEFUN([CARES_CHECK_COMPILER_DEC_C], [
+ AC_MSG_CHECKING([if compiler is DEC/Compaq/HP C])
CURL_CHECK_DEF([__DECC], [], [silent])
CURL_CHECK_DEF([__DECC_VER], [], [silent])
if test "$curl_cv_have_def___DECC" = "yes" &&
test "$curl_cv_have_def___DECC_VER" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="DECC"
+ compiler_id="DEC_C"
flags_dbg_all="-g -g0 -g1 -g2 -g3"
flags_dbg_yes="-g2"
flags_dbg_off="-g0"
])
-dnl CARES_CHECK_COMPILER_GNU
+dnl CARES_CHECK_COMPILER_GNU_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is GNU's.
+dnl Verify if compiler being used is GNU C.
-AC_DEFUN([CARES_CHECK_COMPILER_GNU], [
- AC_REQUIRE([CARES_CHECK_COMPILER_INTEL])dnl
- #
- AC_MSG_CHECKING([whether we are using the GNU C compiler])
+AC_DEFUN([CARES_CHECK_COMPILER_GNU_C], [
+ AC_REQUIRE([CARES_CHECK_COMPILER_INTEL_C])dnl
+ AC_MSG_CHECKING([if compiler is GNU C])
CURL_CHECK_DEF([__GNUC__], [], [silent])
if test "$curl_cv_have_def___GNUC__" = "yes" &&
test "$compiler_id" = "unknown"; then
AC_MSG_RESULT([yes])
- compiler_id="GNUC"
+ compiler_id="GNU_C"
gccver=`$CC -dumpversion`
gccvhi=`echo $gccver | cut -d . -f1`
gccvlo=`echo $gccver | cut -d . -f2`
])
-dnl CARES_CHECK_COMPILER_HP
+dnl CARES_CHECK_COMPILER_HPUX_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is HP's.
+dnl Verify if compiler being used is HP-UX C.
-AC_DEFUN([CARES_CHECK_COMPILER_HP], [
- AC_MSG_CHECKING([whether we are using the HP C compiler])
+AC_DEFUN([CARES_CHECK_COMPILER_HPUX_C], [
+ AC_MSG_CHECKING([if compiler is HP-UX C])
CURL_CHECK_DEF([__HP_cc], [], [silent])
if test "$curl_cv_have_def___HP_cc" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="HPUXC"
+ compiler_id="HP_UX_C"
flags_dbg_all="-g -s"
flags_dbg_yes="-g"
flags_dbg_off="-s"
])
-dnl CARES_CHECK_COMPILER_IBM
+dnl CARES_CHECK_COMPILER_IBM_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is IBM's.
+dnl Verify if compiler being used is IBM C.
-AC_DEFUN([CARES_CHECK_COMPILER_IBM], [
- AC_MSG_CHECKING([whether we are using the IBM C compiler])
+AC_DEFUN([CARES_CHECK_COMPILER_IBM_C], [
+ AC_MSG_CHECKING([if compiler is IBM C])
CURL_CHECK_DEF([__IBMC__], [], [silent])
if test "$curl_cv_have_def___IBMC__" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="IBMC"
+ compiler_id="IBM_C"
flags_dbg_all="-g -g0 -g1 -g2 -g3"
flags_dbg_yes="-g"
flags_dbg_off=""
])
-dnl CARES_CHECK_COMPILER_INTEL
+dnl CARES_CHECK_COMPILER_INTEL_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is Intel's.
+dnl Verify if compiler being used is Intel C.
-AC_DEFUN([CARES_CHECK_COMPILER_INTEL], [
- AC_BEFORE([$0],[CARES_CHECK_COMPILER_GNU])dnl
- AC_MSG_CHECKING([whether we are using the Intel C compiler])
+AC_DEFUN([CARES_CHECK_COMPILER_INTEL_C], [
+ AC_BEFORE([$0],[CARES_CHECK_COMPILER_GNU_C])dnl
+ AC_MSG_CHECKING([if compiler is Intel C])
CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent])
if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
AC_MSG_RESULT([yes])
CURL_CHECK_DEF([__unix__], [], [silent])
if test "$curl_cv_have_def___unix__" = "yes"; then
- compiler_id="ICC_unix"
+ compiler_id="INTEL_UNIX_C"
flags_dbg_all="-g -g0"
flags_dbg_yes="-g"
flags_dbg_off="-g0"
flags_opt_yes="-O2"
flags_opt_off="-O0"
else
- compiler_id="ICC_windows"
+ compiler_id="INTEL_WINDOWS_C"
flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
flags_dbg_all="$flags_dbg_all /debug"
flags_dbg_all="$flags_dbg_all /debug:none"
dnl CARES_CHECK_COMPILER_LCC
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is LCC.
+dnl Verify if compiler being used is LCC.
AC_DEFUN([CARES_CHECK_COMPILER_LCC], [
- AC_MSG_CHECKING([whether we are using the LCC C compiler])
+ AC_MSG_CHECKING([if compiler is LCC])
CURL_CHECK_DEF([__LCC__], [], [silent])
if test "$curl_cv_have_def___LCC__" = "yes"; then
AC_MSG_RESULT([yes])
dnl CARES_CHECK_COMPILER_SGI_MIPS_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is SGI's.
+dnl Verify if compiler being used is SGI MIPS C.
AC_DEFUN([CARES_CHECK_COMPILER_SGI_MIPS_C], [
- AC_REQUIRE([CARES_CHECK_COMPILER_SGI_MIPSpro_C])dnl
+ AC_REQUIRE([CARES_CHECK_COMPILER_SGI_MIPSPRO_C])dnl
AC_MSG_CHECKING([if compiler is SGI MIPS C])
CURL_CHECK_DEF([__GNUC__], [], [silent])
CURL_CHECK_DEF([__sgi], [], [silent])
])
-dnl CARES_CHECK_COMPILER_SGI_MIPSpro_C
+dnl CARES_CHECK_COMPILER_SGI_MIPSPRO_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is SGI's.
+dnl Verify if compiler being used is SGI MIPSpro C.
-AC_DEFUN([CARES_CHECK_COMPILER_SGI_MIPSpro_C], [
+AC_DEFUN([CARES_CHECK_COMPILER_SGI_MIPSPRO_C], [
AC_BEFORE([$0],[CARES_CHECK_COMPILER_SGI_MIPS_C])dnl
AC_MSG_CHECKING([if compiler is SGI MIPSpro C])
CURL_CHECK_DEF([__GNUC__], [], [silent])
(test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes" ||
test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then
AC_MSG_RESULT([yes])
- compiler_id="SGI_MIPSpro_C"
+ compiler_id="SGI_MIPSPRO_C"
flags_dbg_all="-g -g0 -g1 -g2 -g3"
flags_dbg_yes="-g"
flags_dbg_off="-g0"
])
-dnl CARES_CHECK_COMPILER_SUN
+dnl CARES_CHECK_COMPILER_SUNPRO_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is SUN's.
+dnl Verify if compiler being used is SunPro C.
-AC_DEFUN([CARES_CHECK_COMPILER_SUN], [
- AC_MSG_CHECKING([whether we are using the SUN C compiler])
+AC_DEFUN([CARES_CHECK_COMPILER_SUNPRO_C], [
+ AC_MSG_CHECKING([if compiler is SunPro C])
CURL_CHECK_DEF([__SUNPRO_C], [], [silent])
if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="SUNC"
+ compiler_id="SUNPRO_C"
flags_dbg_all="-g -s"
flags_dbg_yes="-g"
flags_dbg_off="-s"
])
-dnl CARES_CHECK_COMPILER_TINYC
+dnl CARES_CHECK_COMPILER_TINY_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is TINYC.
+dnl Verify if compiler being used is Tiny C.
-AC_DEFUN([CARES_CHECK_COMPILER_TINYC], [
- AC_MSG_CHECKING([whether we are using the TinyCC C compiler])
+AC_DEFUN([CARES_CHECK_COMPILER_TINY_C], [
+ AC_MSG_CHECKING([if compiler is Tiny C])
CURL_CHECK_DEF([__TINYC__], [], [silent])
if test "$curl_cv_have_def___TINYC__" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="TINYC"
+ compiler_id="TINY_C"
flags_dbg_all="-g -b"
flags_dbg_yes="-g -b"
flags_dbg_off=""
#
if test "$compiler_id" != "unknown"; then
#
- if test "$compiler_id" = "GNUC"; then
+ if test "$compiler_id" = "GNU_C"; then
CARES_CONVERT_INCLUDE_TO_ISYSTEM
fi
#
#
case "$compiler_id" in
#
- DECC)
+ DEC_C)
#
dnl Select strict ANSI C compiler mode
tmp_CFLAGS="$tmp_CFLAGS -std1"
tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
;;
#
- GNUC)
+ GNU_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- HPUXC)
+ HP_UX_C)
#
dnl Disallow run-time dereferencing of null pointers
tmp_CFLAGS="$tmp_CFLAGS -z"
tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255"
;;
#
- IBMC)
+ IBM_C)
#
dnl Ensure that compiler optimizations are always thread-safe.
tmp_CFLAGS="$tmp_CFLAGS -qthreaded"
tmp_CFLAGS="$tmp_CFLAGS -qhalt=e"
;;
#
- ICC_unix)
+ INTEL_UNIX_C)
#
dnl On unix this compiler uses gcc's header files, so
dnl we select ANSI C89 dialect plus GNU extensions.
tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
;;
#
- ICC_windows)
+ INTEL_WINDOWS_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- SGI_MIPSpro_C)
+ SGI_MIPSPRO_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- SUNC)
+ SUNPRO_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- TINYC)
+ TINY_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
#
case "$compiler_id" in
#
- DECC)
+ DEC_C)
#
if test "$want_warnings" = "yes"; then
dnl Select a higher warning level than default level2
fi
;;
#
- GNUC)
+ GNU_C)
#
if test "$want_warnings" = "yes"; then
dnl Do not enable -pedantic when cross-compiling with a gcc older
fi
;;
#
- HPUXC)
+ HP_UX_C)
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
fi
;;
#
- IBMC)
+ IBM_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- ICC_unix)
+ INTEL_UNIX_C)
#
if test "$want_warnings" = "yes"; then
if test "$compiler_num" -gt "600"; then
fi
;;
#
- ICC_windows)
+ INTEL_WINDOWS_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
fi
;;
#
- SGI_MIPSpro_C)
+ SGI_MIPSPRO_C)
#
if test "$want_warnings" = "yes"; then
dnl Perform stricter semantic and lint-like checks
fi
;;
#
- SUNC)
+ SUNPRO_C)
#
if test "$want_warnings" = "yes"; then
dnl Perform stricter semantic and lint-like checks
fi
;;
#
- TINYC)
+ TINY_C)
#
if test "$want_warnings" = "yes"; then
dnl Activate all warnings
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 23
+# serial 28
dnl CURL_CHECK_COMPILER
flags_opt_yes="unknown"
flags_opt_off="unknown"
#
- CURL_CHECK_COMPILER_DEC
- CURL_CHECK_COMPILER_HP
- CURL_CHECK_COMPILER_IBM
- CURL_CHECK_COMPILER_INTEL
- CURL_CHECK_COMPILER_GNU
+ CURL_CHECK_COMPILER_DEC_C
+ CURL_CHECK_COMPILER_HPUX_C
+ CURL_CHECK_COMPILER_IBM_C
+ CURL_CHECK_COMPILER_INTEL_C
+ CURL_CHECK_COMPILER_GNU_C
CURL_CHECK_COMPILER_LCC
- CURL_CHECK_COMPILER_SGI_MIPSpro_C
+ CURL_CHECK_COMPILER_SGI_MIPSPRO_C
CURL_CHECK_COMPILER_SGI_MIPS_C
- CURL_CHECK_COMPILER_SUN
- CURL_CHECK_COMPILER_TINYC
+ CURL_CHECK_COMPILER_SUNPRO_C
+ CURL_CHECK_COMPILER_TINY_C
#
if test "$compiler_id" = "unknown"; then
cat <<_EOF 1>&2
])
-dnl CURL_CHECK_COMPILER_DEC
+dnl CURL_CHECK_COMPILER_DEC_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is DEC's.
+dnl Verify if compiler being used is DEC C.
-AC_DEFUN([CURL_CHECK_COMPILER_DEC], [
- AC_MSG_CHECKING([whether we are using the DEC/Compaq C compiler])
+AC_DEFUN([CURL_CHECK_COMPILER_DEC_C], [
+ AC_MSG_CHECKING([if compiler is DEC/Compaq/HP C])
CURL_CHECK_DEF([__DECC], [], [silent])
CURL_CHECK_DEF([__DECC_VER], [], [silent])
if test "$curl_cv_have_def___DECC" = "yes" &&
test "$curl_cv_have_def___DECC_VER" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="DECC"
+ compiler_id="DEC_C"
flags_dbg_all="-g -g0 -g1 -g2 -g3"
flags_dbg_yes="-g2"
flags_dbg_off="-g0"
])
-dnl CURL_CHECK_COMPILER_GNU
+dnl CURL_CHECK_COMPILER_GNU_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is GNU's.
+dnl Verify if compiler being used is GNU C.
-AC_DEFUN([CURL_CHECK_COMPILER_GNU], [
- AC_REQUIRE([CURL_CHECK_COMPILER_INTEL])dnl
- #
- AC_MSG_CHECKING([whether we are using the GNU C compiler])
+AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [
+ AC_REQUIRE([CURL_CHECK_COMPILER_INTEL_C])dnl
+ AC_MSG_CHECKING([if compiler is GNU C])
CURL_CHECK_DEF([__GNUC__], [], [silent])
if test "$curl_cv_have_def___GNUC__" = "yes" &&
test "$compiler_id" = "unknown"; then
AC_MSG_RESULT([yes])
- compiler_id="GNUC"
+ compiler_id="GNU_C"
gccver=`$CC -dumpversion`
gccvhi=`echo $gccver | cut -d . -f1`
gccvlo=`echo $gccver | cut -d . -f2`
])
-dnl CURL_CHECK_COMPILER_HP
+dnl CURL_CHECK_COMPILER_HPUX_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is HP's.
+dnl Verify if compiler being used is HP-UX C.
-AC_DEFUN([CURL_CHECK_COMPILER_HP], [
- AC_MSG_CHECKING([whether we are using the HP C compiler])
+AC_DEFUN([CURL_CHECK_COMPILER_HPUX_C], [
+ AC_MSG_CHECKING([if compiler is HP-UX C])
CURL_CHECK_DEF([__HP_cc], [], [silent])
if test "$curl_cv_have_def___HP_cc" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="HPUXC"
+ compiler_id="HP_UX_C"
flags_dbg_all="-g -s"
flags_dbg_yes="-g"
flags_dbg_off="-s"
])
-dnl CURL_CHECK_COMPILER_IBM
+dnl CURL_CHECK_COMPILER_IBM_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is IBM's.
+dnl Verify if compiler being used is IBM C.
-AC_DEFUN([CURL_CHECK_COMPILER_IBM], [
- AC_MSG_CHECKING([whether we are using the IBM C compiler])
+AC_DEFUN([CURL_CHECK_COMPILER_IBM_C], [
+ AC_MSG_CHECKING([if compiler is IBM C])
CURL_CHECK_DEF([__IBMC__], [], [silent])
if test "$curl_cv_have_def___IBMC__" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="IBMC"
+ compiler_id="IBM_C"
flags_dbg_all="-g -g0 -g1 -g2 -g3"
flags_dbg_yes="-g"
flags_dbg_off=""
])
-dnl CURL_CHECK_COMPILER_INTEL
+dnl CURL_CHECK_COMPILER_INTEL_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is Intel's.
+dnl Verify if compiler being used is Intel C.
-AC_DEFUN([CURL_CHECK_COMPILER_INTEL], [
- AC_BEFORE([$0],[CURL_CHECK_COMPILER_GNU])dnl
- AC_MSG_CHECKING([whether we are using the Intel C compiler])
+AC_DEFUN([CURL_CHECK_COMPILER_INTEL_C], [
+ AC_BEFORE([$0],[CURL_CHECK_COMPILER_GNU_C])dnl
+ AC_MSG_CHECKING([if compiler is Intel C])
CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent])
if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
AC_MSG_RESULT([yes])
CURL_CHECK_DEF([__unix__], [], [silent])
if test "$curl_cv_have_def___unix__" = "yes"; then
- compiler_id="ICC_unix"
+ compiler_id="INTEL_UNIX_C"
flags_dbg_all="-g -g0"
flags_dbg_yes="-g"
flags_dbg_off="-g0"
flags_opt_yes="-O2"
flags_opt_off="-O0"
else
- compiler_id="ICC_windows"
+ compiler_id="INTEL_WINDOWS_C"
flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
flags_dbg_all="$flags_dbg_all /debug"
flags_dbg_all="$flags_dbg_all /debug:none"
dnl CURL_CHECK_COMPILER_LCC
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is LCC.
+dnl Verify if compiler being used is LCC.
AC_DEFUN([CURL_CHECK_COMPILER_LCC], [
- AC_MSG_CHECKING([whether we are using the LCC C compiler])
+ AC_MSG_CHECKING([if compiler is LCC])
CURL_CHECK_DEF([__LCC__], [], [silent])
if test "$curl_cv_have_def___LCC__" = "yes"; then
AC_MSG_RESULT([yes])
dnl CURL_CHECK_COMPILER_SGI_MIPS_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is SGI's.
+dnl Verify if compiler being used is SGI MIPS C.
AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPS_C], [
- AC_REQUIRE([CURL_CHECK_COMPILER_SGI_MIPSpro_C])dnl
+ AC_REQUIRE([CURL_CHECK_COMPILER_SGI_MIPSPRO_C])dnl
AC_MSG_CHECKING([if compiler is SGI MIPS C])
CURL_CHECK_DEF([__GNUC__], [], [silent])
CURL_CHECK_DEF([__sgi], [], [silent])
])
-dnl CURL_CHECK_COMPILER_SGI_MIPSpro_C
+dnl CURL_CHECK_COMPILER_SGI_MIPSPRO_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is SGI's.
+dnl Verify if compiler being used is SGI MIPSpro C.
-AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPSpro_C], [
+AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPSPRO_C], [
AC_BEFORE([$0],[CURL_CHECK_COMPILER_SGI_MIPS_C])dnl
AC_MSG_CHECKING([if compiler is SGI MIPSpro C])
CURL_CHECK_DEF([__GNUC__], [], [silent])
(test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes" ||
test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then
AC_MSG_RESULT([yes])
- compiler_id="SGI_MIPSpro_C"
+ compiler_id="SGI_MIPSPRO_C"
flags_dbg_all="-g -g0 -g1 -g2 -g3"
flags_dbg_yes="-g"
flags_dbg_off="-g0"
])
-dnl CURL_CHECK_COMPILER_SUN
+dnl CURL_CHECK_COMPILER_SUNPRO_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is SUN's.
+dnl Verify if compiler being used is SunPro C.
-AC_DEFUN([CURL_CHECK_COMPILER_SUN], [
- AC_MSG_CHECKING([whether we are using the SUN C compiler])
+AC_DEFUN([CURL_CHECK_COMPILER_SUNPRO_C], [
+ AC_MSG_CHECKING([if compiler is SunPro C])
CURL_CHECK_DEF([__SUNPRO_C], [], [silent])
if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="SUNC"
+ compiler_id="SUNPRO_C"
flags_dbg_all="-g -s"
flags_dbg_yes="-g"
flags_dbg_off="-s"
])
-dnl CURL_CHECK_COMPILER_TINYC
+dnl CURL_CHECK_COMPILER_TINY_C
dnl -------------------------------------------------
-dnl Verify if the C compiler being used is TINYC.
+dnl Verify if compiler being used is Tiny C.
-AC_DEFUN([CURL_CHECK_COMPILER_TINYC], [
- AC_MSG_CHECKING([whether we are using the TinyCC C compiler])
+AC_DEFUN([CURL_CHECK_COMPILER_TINY_C], [
+ AC_MSG_CHECKING([if compiler is Tiny C])
CURL_CHECK_DEF([__TINYC__], [], [silent])
if test "$curl_cv_have_def___TINYC__" = "yes"; then
AC_MSG_RESULT([yes])
- compiler_id="TINYC"
+ compiler_id="TINY_C"
flags_dbg_all="-g -b"
flags_dbg_yes="-g -b"
flags_dbg_off=""
#
if test "$compiler_id" != "unknown"; then
#
- if test "$compiler_id" = "GNUC"; then
+ if test "$compiler_id" = "GNU_C"; then
CURL_CONVERT_INCLUDE_TO_ISYSTEM
fi
#
#
case "$compiler_id" in
#
- DECC)
+ DEC_C)
#
dnl Select strict ANSI C compiler mode
tmp_CFLAGS="$tmp_CFLAGS -std1"
tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
;;
#
- GNUC)
+ GNU_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- HPUXC)
+ HP_UX_C)
#
dnl Disallow run-time dereferencing of null pointers
tmp_CFLAGS="$tmp_CFLAGS -z"
tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255"
;;
#
- IBMC)
+ IBM_C)
#
dnl Ensure that compiler optimizations are always thread-safe.
tmp_CFLAGS="$tmp_CFLAGS -qthreaded"
tmp_CFLAGS="$tmp_CFLAGS -qhalt=e"
;;
#
- ICC_unix)
+ INTEL_UNIX_C)
#
dnl On unix this compiler uses gcc's header files, so
dnl we select ANSI C89 dialect plus GNU extensions.
tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
;;
#
- ICC_windows)
+ INTEL_WINDOWS_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- SGI_MIPSpro_C)
+ SGI_MIPSPRO_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- SUNC)
+ SUNPRO_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- TINYC)
+ TINY_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
#
case "$compiler_id" in
#
- DECC)
+ DEC_C)
#
if test "$want_warnings" = "yes"; then
dnl Select a higher warning level than default level2
fi
;;
#
- GNUC)
+ GNU_C)
#
if test "$want_warnings" = "yes"; then
dnl Do not enable -pedantic when cross-compiling with a gcc older
fi
;;
#
- HPUXC)
+ HP_UX_C)
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
fi
;;
#
- IBMC)
+ IBM_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
;;
#
- ICC_unix)
+ INTEL_UNIX_C)
#
if test "$want_warnings" = "yes"; then
if test "$compiler_num" -gt "600"; then
fi
;;
#
- ICC_windows)
+ INTEL_WINDOWS_C)
#
dnl Placeholder
tmp_CFLAGS="$tmp_CFLAGS"
fi
;;
#
- SGI_MIPSpro_C)
+ SGI_MIPSPRO_C)
#
if test "$want_warnings" = "yes"; then
dnl Perform stricter semantic and lint-like checks
fi
;;
#
- SUNC)
+ SUNPRO_C)
#
if test "$want_warnings" = "yes"; then
dnl Perform stricter semantic and lint-like checks
fi
;;
#
- TINYC)
+ TINY_C)
#
if test "$want_warnings" = "yes"; then
dnl Activate all warnings