mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
14 lines
358 B
JavaScript
14 lines
358 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_WITH("fileinfo", "fileinfo support", "no");
|
|
|
|
if (PHP_FILEINFO != 'no' &&
|
|
CHECK_HEADER_ADD_INCLUDE('magic.h', 'CFLAGS_FILEINFO') &&
|
|
CHECK_LIB(PHP_DEBUG != 'no'?'libmagic-staticd.lib':'libmagic-static.lib',
|
|
'fileinfo', PHP_FILEINFO)) {
|
|
EXTENSION('fileinfo', 'fileinfo.c');
|
|
AC_DEFINE('USE_MAGIC_STATIC', '', '');
|
|
}
|
|
|