To use it.
authorStefan de Konink <stefan@konink.de>
Thu, 13 May 2010 20:45:22 +0000 (13 22:45 +0200)
committerStefan de Konink <stefan@konink.de>
Thu, 13 May 2010 20:45:22 +0000 (13 22:45 +0200)
config.m4

index c4749f9..6bad1a7 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -1,16 +1,17 @@
 dnl $Id$
 dnl config.m4 for extension mistral
 dnl Comments in this file start with the string 'dnl'.
-dnl If your extension references something external, use with:
 
 PHP_ARG_WITH(libev, for libev support,
-    Make sure that the comment is aligned:
+dnl Make sure that the comment is aligned:
     [  --with-libev[=DIR]   Include libev support])
 
 dnl if test "$PHP_LIBEV" != "no"; then
        AC_MSG_CHECKING(for libev install directory)
        for i in $PHP_LIBEV /usr /usr/local; do
                if test -r $i/include/libev/ev.h; then
+                       LIBEV_INC_DIR=$i/include/libev
+               elif test -r $i/include/ev.h; then
                        LIBEV_INC_DIR=$i/include
                fi
 
@@ -29,5 +30,5 @@ dnl if test "$PHP_LIBEV" != "no"; then
 
        AC_DEFINE(HAVE_LIBEV,1,[Whether you have libev])
        
-       PHP_NEW_EXTENSION(mistral, mistral.c, $ext_shared)
-dnl fi
+       PHP_NEW_EXTENSION(mistral, mistral.c parser.c, $ext_shared)
+dnl fi
\ No newline at end of file