summaryrefslogtreecommitdiff
path: root/ext/mime_magic/config.m4
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2002-03-24 23:00:47 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2002-03-24 23:00:47 +0000
commit2c413f116aaf83eed98ba0c303e138d86a17633c (patch)
tree4423f6671b0a78075899b8ba4b9e7710f9639cde /ext/mime_magic/config.m4
parent0f3b3045062bc392700f1d630228917679106c6a (diff)
downloadphp-git-2c413f116aaf83eed98ba0c303e138d86a17633c.tar.gz
1st implementation of magic-file based mime_content_type(string filename)
Diffstat (limited to 'ext/mime_magic/config.m4')
-rw-r--r--ext/mime_magic/config.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/mime_magic/config.m4 b/ext/mime_magic/config.m4
new file mode 100644
index 0000000000..21e1c88a1e
--- /dev/null
+++ b/ext/mime_magic/config.m4
@@ -0,0 +1,11 @@
+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" != "no"; then
+ dnl PHP_SUBST(MIME_MAGIC_SHARED_LIBADD)
+
+ PHP_NEW_EXTENSION(mime_magic, mime_magic.c, $ext_shared)
+fi