pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
1998-02-27
1998-02-27 17:59:11 by Marcus Comstedt <marcus@mc.pp.se>
d3008258ff6216485d6b6e22381529eb48219ce9 (
37
lines) (+
19
/-
18
)
[
Show
|
Annotate
]
Branch:
7.9
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, [