mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
17 lines
347 B
JavaScript
17 lines
347 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("mhash", "mhash support", "no");
|
|
|
|
if (PHP_MHASH != "no") {
|
|
|
|
if (CHECK_HEADER_ADD_INCLUDE('mhash.h', 'CFLAGS_MHASH') &&
|
|
CHECK_LIB('libmhash.lib', 'mhash')) {
|
|
EXTENSION('mhash', 'mhash.c');
|
|
AC_DEFINE('HAVE_LIBMHASH', 1);
|
|
} else {
|
|
WARNING("mhash not enabled; libraries and headers not found");
|
|
}
|
|
}
|
|
|