Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ if test "$PHP_YAZ" = "yes"; then
if pkg-config --exists yaz; then
AC_MSG_RESULT([found])
if pkg-config --atleast-version 3.0.2 yaz; then
AC_DEFINE(HAVE_YAZ,1,[Whether you have YAZ])
lib=`pkg-config --libs yaz`
for c in $lib; do
case $c in
Expand Down
1 change: 0 additions & 1 deletion config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ function yaz_check_version()
if (PHP_YAZ != "no") {
if (yaz_check_version() && CHECK_LIB("yaz5.lib", "yaz", PHP_YAZ)) {
EXTENSION('yaz', 'php_yaz.c');
AC_DEFINE('HAVE_YAZ', 1);
} else {
WARNING("yaz not enabled; libraries and headers not found");
}
Expand Down
5 changes: 0 additions & 5 deletions php_yaz.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include "php.h"
#include "php_ini.h"

#if HAVE_YAZ

#include "ext/standard/info.h"

#include <yaz/yaz-version.h>
Expand Down Expand Up @@ -2399,9 +2397,6 @@ zend_module_entry yaz_module_entry = {
STANDARD_MODULE_PROPERTIES
};


#endif

/*
* Local variables:
* tab-width: 4
Expand Down
8 changes: 0 additions & 8 deletions php_yaz.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#define PHP_YAZ_VERSION "1.2.5"

#if HAVE_YAZ

#ifdef ZTS
#include "TSRM.h"
#endif
Expand Down Expand Up @@ -60,11 +58,5 @@ ZEND_END_MODULE_GLOBALS(yaz)
#else
#define YAZSG(v) (yaz_globals.v)
#endif

#else

#define yaz_module_ptr NULL
#endif

#define phpext_yaz_ptr yaz_module_ptr
#endif
Loading