projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f728db
)
Detect whether C99 is supported.
author
Chris Hanson
<org/chris-hanson/cph>
Mon, 22 Mar 2010 07:13:41 +0000
(
00:13
-0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Mon, 22 Mar 2010 07:13:41 +0000
(
00:13
-0700)
src/microcode/configure.ac
patch
|
blob
|
history
diff --git
a/src/microcode/configure.ac
b/src/microcode/configure.ac
index 5b9054b8bb3421fd2f729232b72f5f3b2b029751..6d08886c092f9d6c6fa42bbb904c81806db6d6ed 100644
(file)
--- a/
src/microcode/configure.ac
+++ b/
src/microcode/configure.ac
@@
-204,6
+204,13
@@
SAVED_LDFLAGS=${LDFLAGS}
dnl Checks for programs.
AC_PROG_CC
+AC_PROG_CC_STDC
+if test "x${ac_cv_prog_cc_c99}" != xno; then
+ AC_DEFINE([HAVE_STDC_99], [1], [Does the compiler support C99?])
+fi
+if test "x${ac_cv_prog_cc_c89}" != xno; then
+ AC_DEFINE([HAVE_STDC_89], [1], [Does the compiler support C89?])
+fi
AC_C_BACKSLASH_A
AC_C_BIGENDIAN
AC_C_CONST