1 --- enchant-1.6.1/configure.ac.orig 2017-04-04 23:13:57.000000000 +0200
2 +++ enchant-1.6.1/configure.ac 2018-12-23 12:14:42.036264559 +0100
5 AC_CHECK_LIB(aspell,get_aspell_dict_info_list,ASPELL_CFLAGS="-DASPELL_0_50_0=1",)
7 - ASPELL_CFLAGS+=" -DHAVE_PSPELL_H"
8 + ASPELL_CFLAGS="$ASPELL_CFLAGS -DHAVE_PSPELL_H"
9 elif test -f "$aspell_prefix/include/aspell.h"; then
10 AC_MSG_RESULT([yes (aspell)])
13 AC_ARG_ENABLE(applespell, AS_HELP_STRING([--disable-applespell],[enable the applespell backend @<:@default=no@:>@]), build_applespell="$enableval", build_applespell=no)
15 if test "x$build_applespell" != "xno"; then
16 - APPLESPELL_CFLAGS+=" -DXP_TARGET_COCOA -xobjective-c"
17 - APPLESPELL_LIBS+=" -lobjc"
18 - APPLESPELL_LDFLAGS+=" -framework Cocoa"
19 + APPLESPELL_CFLAGS="$APPLESPELL_CFLAGS -DXP_TARGET_COCOA -xobjective-c"
20 + APPLESPELL_LIBS="$APPLESPELL_LIBS -lobjc"
21 + APPLESPELL_LDFLAGS="$APPLESPELL_LDFLAGS -framework Cocoa"