projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6893826
)
Wrong test result for alloca.h
author
Till Riedel
<till@ipd.info.uni-karlsruhe.de>
Tue, 6 Apr 2004 10:11:55 +0000
(10:11 +0000)
committer
Till Riedel
<till@ipd.info.uni-karlsruhe.de>
Tue, 6 Apr 2004 10:11:55 +0000
(10:11 +0000)
[r2627]
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
89bed7d
..
b7e75b8
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-211,11
+211,11
@@
fi
AC_CHECK_HEADERS(alloca.h, ac_alloca_headers="yes", ac_alloca_headers="no")
-if test "$ac_alloca_headers" != yes; then
- if test "$ac_cv_header_stdc" == no; then
- AC_MSG_ERROR("alloca.h and stdlib.h not found")
- else
+if test "$ac_alloca_headers" = "yes"; then
AC_DEFINE(HAVE_ALLOCA_H)
+else
+ if test "$ac_cv_header_stdc" = "no"; then
+ AC_MSG_ERROR("alloca.h and stdlib.h not found")
fi
fi