From: foobar Date: Tue, 5 Aug 2003 11:17:25 +0000 (+0000) Subject: MFH: - Fixed bug #24936 (ext/fdf is not linked properly when compiled as shared exten... X-Git-Tag: php-4.3.3RC3~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47e16d8ad614610ae2bd5aaf5e24c860ecc9abf7;p=php MFH: - Fixed bug #24936 (ext/fdf is not linked properly when compiled as shared extension). (Jani) --- diff --git a/ext/fdf/config.m4 b/ext/fdf/config.m4 index 31d3e2d70f..2ed695e17e 100644 --- a/ext/fdf/config.m4 +++ b/ext/fdf/config.m4 @@ -8,16 +8,16 @@ PHP_ARG_WITH(fdftk, for FDF support, if test "$PHP_FDFTK" != "no"; then case $host_os in - aix*) + aix*[)] libtype=aix ;; - solaris* ) + solaris*[)] libtype=solaris ;; - linux*) + linux*[)] libtype=linux ;; - *) + *[)] AC_MSG_ERROR([The fdf toolkit is not available for $host_os.]) ;; esac @@ -65,9 +65,9 @@ if test "$PHP_FDFTK" != "no"; then AC_MSG_ERROR(no usable fdf library found) fi - PHP_ADD_LIBRARY_WITH_PATH($FDFLIBRARY, $FDFTK_LIB_DIR, FDFTK_SHARED_LIBADD) + PHP_ADD_LIBRARY_WITH_PATH($FDFLIBRARY, $FDFTK_LIB_DIR, FDF_SHARED_LIBADD) PHP_NEW_EXTENSION(fdf, fdf.c, $ext_shared) - PHP_SUBST(FDFTK_SHARED_LIBADD) + PHP_SUBST(FDF_SHARED_LIBADD) AC_DEFINE(HAVE_FDFLIB,1,[ ]) fi