cvs: pecl /mdbtools config.w32

From: Date: Wed, 22 Feb 2006 00:18:21 +0000
Subject: cvs: pecl /mdbtools config.w32
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-5241@lists.php.net to get a copy of this message
edink Wed Feb 22 00:18:21 2006 UTC Modified files: /pecl/mdbtools config.w32 Log: Never use ERROR() in config.w32 http://cvs.php.net/viewcvs.cgi/pecl/mdbtools/config.w32?r1=1.1&r2=1.2&diff_format=u Index: pecl/mdbtools/config.w32 diff -u pecl/mdbtools/config.w32:1.1 pecl/mdbtools/config.w32:1.2 --- pecl/mdbtools/config.w32:1.1 Mon Feb 20 18:47:50 2006 +++ pecl/mdbtools/config.w32 Wed Feb 22 00:18:21 2006 @@ -1,17 +1,15 @@ -// $ Id: $ +// $Id: config.w32,v 1.2 2006/02/22 00:18:21 edink Exp $ // vim:ft=javascript ARG_WITH('mdbtools', 'MDB data file access library', 'no'); if (PHP_MDBTOOLS == "yes") { - if (!CHECK_LIB("mdb.lib", "mdbtools", PHP_MDBTOOLS)) { - ERROR("mdbtools: library 'mdb' not found"); + if (!CHECK_LIB("mdb.lib", "mdbtools", PHP_MDBTOOLS) || + !CHECK_HEADER_ADD_INCLUDE("mdbtools.h", "CFLAGS_MDBTOOLS")) { + WARNING("mdbtools: library or header files not found"); + } else { + EXTENSION("mdbtools", "mdbtools.c"); + AC_DEFINE("HAVE_MDBTOOLS", 1, "mdbtools support"); } - - if (!CHECK_HEADER_ADD_INCLUDE("mdbtools.h", "CFLAGS_MDBTOOLS")) { - ERROR("mdbtools: header 'mdbtools.h' not found"); - } - EXTENSION("mdbtools", "mdbtools.c"); - AC_DEFINE("HAVE_MDBTOOLS", 1, "mdbtools support"); }

« previous php.pecl.cvs (#5241) next »