From: Michael Wallner Date: Tue, 22 Nov 2005 11:19:15 +0000 (+0000) Subject: - ws X-Git-Tag: RELEASE_0_19_0~6 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e72c7760ba1b1502655567f2a57be034a4f7c11d;p=m6w6%2Fext-http - ws --- diff --git a/config.m4 b/config.m4 index 5d6e492..7176d2b 100644 --- a/config.m4 +++ b/config.m4 @@ -166,20 +166,17 @@ dnl ---- fi old_CPPFLAGS=$CPPFLAGS CPPFLAGS=$INCLUDES - AC_CHECK_HEADER([php_hash.h], - [ + AC_CHECK_HEADER([php_hash.h], [ AC_DEFINE([HTTP_HAVE_EXT_HASH], [1], [Have ext/hash support]) ], [ - AC_CHECK_HEADER([hash/php_hash.h], - [ + AC_CHECK_HEADER([hash/php_hash.h], [ AC_DEFINE([HTTP_HAVE_HASH_EXT_HASH], [1], [Have ext/hash support]) + ], [ + AC_CHECK_HEADER([ext/hash/php_hash.h], [ + AC_DEFINE([HTTP_HAVE_EXT_HASH_EXT_HASH], [1], [Have ext/hash support]) ], [ - AC_CHECK_HEADER([ext/hash/php_hash.h], - [ - AC_DEFINE([HTTP_HAVE_EXT_HASH_EXT_HASH], [1], [Have ext/hash support]) - ], [ - ]) ]) + ]) ]) CPPFLAGS=$old_CPPFLAGS; fi