Branch: Tag:

1998-02-27

1998-02-27 17:59:11 by Marcus Comstedt <marcus@mc.pp.se>

Result of volatile check now used in signal test.

Rev: src/configure.in:1.163

1: - AC_REVISION("$Id: configure.in,v 1.162 1998/02/27 17:35:04 marcus Exp $") + AC_REVISION("$Id: configure.in,v 1.163 1998/02/27 17:59:11 marcus Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
1480:    AC_MSG_RESULT(not by cast)   fi    + ############################################################################# +  + AC_MSG_CHECKING(for volatile) + AC_CACHE_VAL(pike_cv_volatile, + [ +  AC_TRY_COMPILE([],[ volatile int foo=1;], pike_cv_volatile=yes,pike_cv_volatile=no) + ]) +  + if test "$pike_cv_volatile" = yes; then +  AC_MSG_RESULT(yes) +  AC_DEFINE(VOLATILE,volatile) + else +  AC_MSG_RESULT(no) +  AC_DEFINE(VOLATILE,) + fi +    ########################################################################      AC_MSG_CHECKING(for sig_atomic_t)
1513:   #include <stdlib.h>   #include <stddef.h>   #endif - volatile sig_atomic_t sigrun=0; + VOLATILE sig_atomic_t sigrun=0;   RETSIGTYPE func(int sig) { sigrun=1; }      int main()
1700:      #############################################################################    - AC_MSG_CHECKING(for volatile) - AC_CACHE_VAL(pike_cv_volatile, - [ -  AC_TRY_COMPILE([],[ volatile int foo=1;], pike_cv_volatile=yes,pike_cv_volatile=no) - ]) -  - if test "$pike_cv_volatile" = yes; then -  AC_MSG_RESULT(yes) -  AC_DEFINE(VOLATILE,volatile) - else -  AC_MSG_RESULT(no) -  AC_DEFINE(VOLATILE,) - fi -  - ############################################################################# -  +    AC_MSG_CHECKING(for gcc function attributes)   AC_CACHE_VAL(pike_cv_gcc_attributes,   [