projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
64de794
)
- improve ext/hash detection
author
Michael Wallner
<mike@php.net>
Sat, 10 Dec 2005 21:52:50 +0000
(21:52 +0000)
committer
Michael Wallner
<mike@php.net>
Sat, 10 Dec 2005 21:52:50 +0000
(21:52 +0000)
config.m4
patch
|
blob
|
history
diff --git
a/config.m4
b/config.m4
index 9cb097379274c9c36d40b68fdc5b1f526aae6ec3..a99a32dba7d2396b368ce805c72a680676c1a218 100644
(file)
--- a/
config.m4
+++ b/
config.m4
@@
-172,23
+172,21
@@
dnl ----
fi
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS=$INCLUDES
fi
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS=$INCLUDES
- AC_
CHECK_HEADER([php_hash.h], [
- AC_MSG_RESULT(enabled)
- AC_DEFINE([HTTP_HAVE_EXT_HASH], [1], [Have ext/hash support])
+ AC_
MSG_RESULT([looking for php_hash.h])
+ AC_CHECK_HEADER([ext/hash/php_hash.h], [
+ AC_DEFINE([HTTP_HAVE_EXT_HASH
_EXT_HASH
], [1], [Have ext/hash support])
], [
AC_CHECK_HEADER([hash/php_hash.h], [
], [
AC_CHECK_HEADER([hash/php_hash.h], [
- AC_MSG_RESULT(enabled)
AC_DEFINE([HTTP_HAVE_HASH_EXT_HASH], [1], [Have ext/hash support])
], [
AC_DEFINE([HTTP_HAVE_HASH_EXT_HASH], [1], [Have ext/hash support])
], [
- AC_CHECK_HEADER([ext/hash/php_hash.h], [
- AC_MSG_RESULT(enabled)
- AC_DEFINE([HTTP_HAVE_EXT_HASH_EXT_HASH], [1], [Have ext/hash support])
- ], [
- AC_MSG_RESULT(disabled)
+ AC_CHECK_HEADER([php_hash.h], [
+ AC_DEFINE([HTTP_HAVE_EXT_HASH], [1], [Have ext/hash support])
])
])
])
CPPFLAGS=$old_CPPFLAGS;
])
])
])
CPPFLAGS=$old_CPPFLAGS;
+ else
+ AC_MSG_RESULT(disabled)
fi
elif test "$PHP_HASH" != "no" && test "x$PHP_HASH" != "x"; then
AC_MSG_RESULT(enabled)
fi
elif test "$PHP_HASH" != "no" && test "x$PHP_HASH" != "x"; then
AC_MSG_RESULT(enabled)