/[autoconf]/autoconf/lib/autoconf/c.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/c.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.166 by akim, Tue Jul 16 13:37:53 2002 UTC revision 1.167 by akim, Sat Sep 28 16:38:48 2002 UTC
# Line 340  AS_IF([$ac_preproc_ok], [$1], [$2])])# _ Line 340  AS_IF([$ac_preproc_ok], [$1], [$2])])# _
340  # Find a working C preprocessor.  # Find a working C preprocessor.
341  # We shouldn't have to require AC_PROG_CC, but this is due to the concurrency  # We shouldn't have to require AC_PROG_CC, but this is due to the concurrency
342  # between the AC_LANG_COMPILER_REQUIRE family and that of AC_PROG_CC.  # between the AC_LANG_COMPILER_REQUIRE family and that of AC_PROG_CC.
343    AN_MAKEVAR([CPP], [AC_PROG_CPP])
344    AN_PROGRAM([cpp], [AC_PROG_CPP])
345  AC_DEFUN([AC_PROG_CPP],  AC_DEFUN([AC_PROG_CPP],
346  [AC_REQUIRE([AC_PROG_CC])dnl  [AC_REQUIRE([AC_PROG_CC])dnl
347  AC_ARG_VAR([CPP],      [C preprocessor])dnl  AC_ARG_VAR([CPP],      [C preprocessor])dnl
# Line 391  AU_DEFUN([ac_cv_prog_gcc], Line 393  AU_DEFUN([ac_cv_prog_gcc],
393  # COMPILER ... is a space separated list of C compilers to search for.  # COMPILER ... is a space separated list of C compilers to search for.
394  # This just gives the user an opportunity to specify an alternative  # This just gives the user an opportunity to specify an alternative
395  # search list for the C compiler.  # search list for the C compiler.
396    AN_MAKEVAR([CC],  [AC_PROG_CC])
397    AN_PROGRAM([cc],  [AC_PROG_CC])
398    AN_PROGRAM([gcc], [AC_PROG_CC])
399  AC_DEFUN([AC_PROG_CC],  AC_DEFUN([AC_PROG_CC],
400  [AC_LANG_PUSH(C)dnl  [AC_LANG_PUSH(C)dnl
401  AC_ARG_VAR([CC],     [C compiler command])dnl  AC_ARG_VAR([CC],     [C compiler command])dnl
# Line 471  fi[]dnl Line 476  fi[]dnl
476    
477  # AC_PROG_GCC_TRADITIONAL  # AC_PROG_GCC_TRADITIONAL
478  # -----------------------  # -----------------------
479    AN_FUNCTION([ioctl],   [AC_PROG_GCC_TRADITIONAL])
480  AC_DEFUN([AC_PROG_GCC_TRADITIONAL],  AC_DEFUN([AC_PROG_GCC_TRADITIONAL],
481  [if test $ac_cv_c_compiler_gnu = yes; then  [if test $ac_cv_c_compiler_gnu = yes; then
482      AC_CACHE_CHECK(whether $CC needs -traditional,      AC_CACHE_CHECK(whether $CC needs -traditional,
# Line 614  AU_DEFUN([ac_cv_prog_gxx], Line 620  AU_DEFUN([ac_cv_prog_gxx],
620  # RCC   Rational C++  # RCC   Rational C++
621  # xlC_r AIX C Set++ (with support for reentrant code)  # xlC_r AIX C Set++ (with support for reentrant code)
622  # xlC   AIX C Set++  # xlC   AIX C Set++
623    AN_MAKEVAR([CXX],  [AC_PROG_CXX])
624    AN_PROGRAM([CC],   [AC_PROG_CXX])
625    AN_PROGRAM([c++],  [AC_PROG_CXX])
626    AN_PROGRAM([g++],  [AC_PROG_CXX])
627  AC_DEFUN([AC_PROG_CXX],  AC_DEFUN([AC_PROG_CXX],
628  [AC_LANG_PUSH(C++)dnl  [AC_LANG_PUSH(C++)dnl
629  AC_ARG_VAR([CXX],      [C++ compiler command])dnl  AC_ARG_VAR([CXX],      [C++ compiler command])dnl
# Line 941  esac Line 951  esac
951  # HP C version B.11.11.04 doesn't allow a typedef as the return value for an  # HP C version B.11.11.04 doesn't allow a typedef as the return value for an
952  # inline function, only builtin types.  # inline function, only builtin types.
953  #  #
954    AN_IDENTIFIER([inline], [AC_C_INLINE])
955  AC_DEFUN([AC_C_INLINE],  AC_DEFUN([AC_C_INLINE],
956  [AC_CACHE_CHECK([for inline], ac_cv_c_inline,  [AC_CACHE_CHECK([for inline], ac_cv_c_inline,
957  [ac_cv_c_inline=no  [ac_cv_c_inline=no
# Line 967  esac Line 978  esac
978    
979  # AC_C_CONST  # AC_C_CONST
980  # ----------  # ----------
981    AN_IDENTIFIER([const],  [AC_C_CONST])
982  AC_DEFUN([AC_C_CONST],  AC_DEFUN([AC_C_CONST],
983  [AC_CACHE_CHECK([for an ANSI C-conforming const], ac_cv_c_const,  [AC_CACHE_CHECK([for an ANSI C-conforming const], ac_cv_c_const,
984  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
# Line 1034  fi Line 1046  fi
1046  # optimizations that could break the user's code.  So, do not #define  # optimizations that could break the user's code.  So, do not #define
1047  # volatile away unless it is really necessary to allow the user's code  # volatile away unless it is really necessary to allow the user's code
1048  # to compile cleanly.  Benign compiler failures should be tolerated.  # to compile cleanly.  Benign compiler failures should be tolerated.
1049    AN_IDENTIFIER([volatile], [AC_C_VOLATILE])
1050  AC_DEFUN([AC_C_VOLATILE],  AC_DEFUN([AC_C_VOLATILE],
1051  [AC_CACHE_CHECK([for working volatile], ac_cv_c_volatile,  [AC_CACHE_CHECK([for working volatile], ac_cv_c_volatile,
1052  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [

Legend:
Removed from v.1.166  
changed lines
  Added in v.1.167

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26