- No tabs, no echoing, no unnecessary code

This commit is contained in:
foobar 2002-10-23 02:46:09 +00:00
parent d253364a13
commit d313b3c285

View File

@ -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