diff options
author | foobar <sniper@php.net> | 2002-10-23 02:46:09 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-10-23 02:46:09 +0000 |
commit | d313b3c2855052c6b87bd67ddaa2f794fd112d0e (patch) | |
tree | 9860bd1895e16a3794fb83b61125dc2a4d73cda9 /ext/fdf | |
parent | d253364a13ac863772ff3e051a9376c58929f06f (diff) | |
download | php-git-d313b3c2855052c6b87bd67ddaa2f794fd112d0e.tar.gz |
- No tabs, no echoing, no unnecessary code
Diffstat (limited to 'ext/fdf')
-rw-r--r-- | ext/fdf/config.m4 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/fdf/config.m4 b/ext/fdf/config.m4 index a1beb573cc..31d3e2d70f 100644 --- a/ext/fdf/config.m4 +++ b/ext/fdf/config.m4 @@ -28,7 +28,6 @@ if test "$PHP_FDFTK" != "no"; then for dir in $PHP_FDFTK; do for subdir in include HeadersAndLibraries/headers; do - echo checking for $dir/$subdir/FdfTk.h if test -r $dir/$subdir/FdfTk.h; then FDFTK_DIR=$dir FDFTK_H_DIR=$dir/$subdir @@ -54,7 +53,7 @@ if test "$PHP_FDFTK" != "no"; then if test -r $dir/lib$file.so; then PHP_CHECK_LIBRARY($file, FDFOpen, [FDFLIBRARY=$file], [], [-L$dir -lm]) if test "$FDFLIBRARY"; then - PHP_CHECK_LIBRARY($file, FDFGetFDFVersion, [HAVE_FDFTK_5=yes], [], [-L$dir -lm]) + PHP_CHECK_LIBRARY($file, FDFGetFDFVersion, [AC_DEFINE(HAVE_FDFTK_5,1,[ ])], [], [-L$dir -lm]) FDFTK_LIB_DIR=$dir break 2 fi @@ -66,12 +65,9 @@ if test "$PHP_FDFTK" != "no"; then AC_MSG_ERROR(no usable fdf library found) fi - AC_DEFINE(HAVE_FDFLIB,1,[ ]) - if test "$HAVE_FDFTK_5" = "yes"; then - AC_DEFINE(HAVE_FDFTK_5,1,[ ]) - fi PHP_ADD_LIBRARY_WITH_PATH($FDFLIBRARY, $FDFTK_LIB_DIR, FDFTK_SHARED_LIBADD) - PHP_SUBST(FDFTK_SHARED_LIBADD) PHP_NEW_EXTENSION(fdf, fdf.c, $ext_shared) + PHP_SUBST(FDFTK_SHARED_LIBADD) + AC_DEFINE(HAVE_FDFLIB,1,[ ]) fi |