summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-10-11 15:04:27 (GMT)
committerGuido van Rossum <guido@python.org>1994-10-11 15:04:27 (GMT)
commitdabb11b2a24ba79e3f6606829e29306e6ef518e9 (patch)
tree5cfd0224c74b6bc8dcab07de71eee22100293b5a /configure.in
parent6b111b0aefc1b9a2ae22dc10bdba870e92123a1f (diff)
downloadcpython-dabb11b2a24ba79e3f6606829e29306e6ef518e9.zip
cpython-dabb11b2a24ba79e3f6606829e29306e6ef518e9.tar.gz
cpython-dabb11b2a24ba79e3f6606829e29306e6ef518e9.tar.bz2
add test for volatile
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7201d84..6ca1f5a 100644
--- a/configure.in
+++ b/configure.in
@@ -214,7 +214,9 @@ AC_CHAR_UNSIGNED
AC_CONST
-AC_COMPILE_CHECK([signed char], [], [signed char c;], [], AC_DEFINE(signed, []))
+AC_COMPILE_CHECK([lack of working volatile],[],[volatile int x; x = 0;],,AC_DEFINE(volatile,))
+
+AC_COMPILE_CHECK([lack of working signed char], [], [signed char c;],,AC_DEFINE(signed, []))
AC_CHECKING(for prototypes)
AC_TEST_PROGRAM([