summaryrefslogtreecommitdiff
path: root/ext/mime_magic/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mime_magic/config.m4')
-rw-r--r--ext/mime_magic/config.m428
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/mime_magic/config.m4 b/ext/mime_magic/config.m4
deleted file mode 100644
index de7af20e6b..0000000000
--- a/ext/mime_magic/config.m4
+++ /dev/null
@@ -1,28 +0,0 @@
-dnl $Id$
-dnl config.m4 for extension mime_magic
-
-PHP_ARG_ENABLE(mime-magic, whether to enable mime_magic support,
-[ --enable-mime-magic Enable mime_magic support])
-
-if test "$PHP_MIME_MAGIC" = "yes"; then
- dnl PHP_SUBST(MIME_MAGIC_SHARED_LIBADD)
-
- PHP_NEW_EXTENSION(mime_magic, mime_magic.c, $ext_shared)
-
- # Try to see if we can find the path of the magic file in its
- # default locations.
- if test -f /usr/share/magic.mime ; then
- PHP_MIME_MAGIC_FILE_PATH=/usr/share/magic.mime
- elif test -f /usr/share/magic ; then
- PHP_MIME_MAGIC_FILE_PATH=/usr/share/magic
- elif test -f /usr/share/misc/magic.mime ; then
- PHP_MIME_MAGIC_FILE_PATH=/usr/share/misc/magic.mime
- elif test -f /etc/magic ; then
- PHP_MIME_MAGIC_FILE_PATH=/etc/magic
- else
- PHP_MIME_MAGIC_FILE_PATH=""
- fi
-
- AC_DEFINE_UNQUOTED(PHP_MIME_MAGIC_FILE_PATH,"$PHP_MIME_MAGIC_FILE_PATH",[magic file path])
-
-fi