diff options
| -rw-r--r-- | ext/enchant/config.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/enchant/config.m4 b/ext/enchant/config.m4 index cd2765c7ef..c00e5689af 100644 --- a/ext/enchant/config.m4 +++ b/ext/enchant/config.m4 @@ -4,8 +4,6 @@ PHP_ARG_WITH([enchant], [Include Enchant support])]) if test "$PHP_ENCHANT" != "no"; then - PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared) - PKG_CHECK_MODULES([ENCHANT], [enchant]) PHP_EVAL_INCLINE($ENCHANT_CFLAGS) @@ -18,4 +16,7 @@ if test "$PHP_ENCHANT" != "no"; then AC_DEFINE(HAVE_ENCHANT_BROKER_SET_PARAM, 1, [ ]) AC_DEFINE(ENCHANT_VERSION_STRING, "1.5.x", [ ]) ]) + + PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared) + PHP_SUBST(ENCHANT_SHARED_LIBADD) fi |
