From d54e02b1c0f5554ffdd9b2eb15f30565b4562baf Mon Sep 17 00:00:00 2001 From: Till Riedel Date: Tue, 6 Apr 2004 10:11:55 +0000 Subject: [PATCH] Wrong test result for alloca.h [r2627] --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 89bed7d08..b7e75b805 100644 --- 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 -- 2.20.1