cvs: pecl /python config.w32

From: Date: Mon, 22 Dec 2003 06:57:23 +0000
Subject: cvs: pecl /python config.w32
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-606@lists.php.net to get a copy of this message
jon Mon Dec 22 01:57:23 2003 EDT Added files: /pecl/python config.w32 Log: Adding support for the new Win32 build system. This should work for both Python22 and Python23 installations. For best results, set the PYTHONHOME environmental variable. Index: pecl/python/config.w32 +++ pecl/python/config.w32 // $Id: config.w32,v 1.1 2003/12/22 06:57:23 jon Exp $ // vim:ft=javascript ARG_WITH("python", "Embedded Python support", "no"); if (PHP_PYTHON != "no") { if (PHP_PYTHON == "yes") { PHP_PYTHON = WshShell.Environment("Process").Item("PYTHONHOME"); } if (CHECK_HEADER_ADD_INCLUDE("Python.h", "CFLAGS_PYTHON", PHP_PYTHON + "\\include") && (CHECK_LIB("python22.lib", "python", PHP_PYTHON + "\\libs") || CHECK_LIB("python23.lib", "python", PHP_PYTHON + "\\libs"))) { EXTENSION("python", "python.c pip_convert.c", null, "/D PYTHON_EXPORTS"); AC_DEFINE("HAVE_PYTHON", 1); } else { WARNING("python not enabled; libraries and headers not found"); } }

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