/[autoconf]/autoconf/tests/c.at
ViewVC logotype

Diff of /autoconf/tests/c.at

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

revision 1.2 by eggert, Fri Apr 19 19:07:49 2002 UTC revision 1.3 by meyering, Sat Apr 12 20:53:19 2003 UTC
# Line 2  Line 2 
2    
3  AT_BANNER([C low level compiling/preprocessing macros.])  AT_BANNER([C low level compiling/preprocessing macros.])
4    
5  # Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.  # Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6  #  #
7  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
8  # it under the terms of the GNU General Public License as published by  # it under the terms of the GNU General Public License as published by
# Line 74  AT_CLEANUP Line 74  AT_CLEANUP
74  ## C keywords.  ##  ## C keywords.  ##
75  ## ------------ ##  ## ------------ ##
76    
77  # GCC supports `const', `volatile', and `inline'.  # GCC supports `const', `inline', `restrict', and `volatile'.
78  AT_CHECK_MACRO([C keywords],  AT_CHECK_MACRO([C keywords],
79  [[AC_PROG_CC  [[AC_PROG_CC
80  AC_C_CONST  AC_C_CONST
81  AC_C_INLINE  AC_C_INLINE
82    AC_C_RESTRICT
83  AC_C_VOLATILE  AC_C_VOLATILE
84  case $GCC,$ac_cv_c_const,$ac_cv_c_inline,$ac_cv_c_volatile in  case $GCC,$ac_cv_c_const,$ac_cv_c_inline,$ac_cv_c_restrict,$ac_cv_c_volatile in
85   yes,*no*)   yes,*no*)
86     AC_MSG_ERROR([failed to detect `const', `inline' or `volatile' support]);;     AC_MSG_ERROR([failed to detect `const', `inline', `restrict', or `volatile' support]);;
87  esac  esac
88  ]])  ]])
89    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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