+2002-10-02 [melvin] 0.8.3claws42
+
+ * ac/aspell.m4
+ Behave better and say "no" when test program cannot be run.
+
2002-10-02 [paul] 0.8.3claws41
* sync with 0.8.4cvs1
{
system ("touch conf.aspelltest");
if(strcmp("$aspell_version","$min_aspell_version")<0){
- printf("no\n");
return 1;
}
return 0;
}
],, no_aspell=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
+ rm -f conftest.c
if test "x$no_aspell" = x ; then
AC_MSG_RESULT(yes)
AC_MSG_CHECKING(for GNU/aspell dictionaries location)
main()
{
AspellConfig * aspellconfig = new_aspell_config();
- system("touch conf.aspelltest");
return 0;
}
],, aspell_failure=yes,)
+ rm -f conftest.c
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
if test "x$aspell_failure" = x ; then
ifelse([$3], , :, [$3])
fi
else
+ AC_MSG_RESULT(no)
ASPELL_CFLAGS=""
ASPELL_LIBS=""
ASPELL_PATH=""
AC_SUBST(ASPELL_CFLAGS)
AC_SUBST(ASPELL_LIBS)
AC_SUBST(ASPELL_PATH)
- rm -f conf.aspelltest
])