dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
dnl Test for aspell, and define ASPELL_CFLAGS, ASPELL_LIBS and ASPELL_PATH
dnl
-AC_DEFUN(AM_PATH_ASPELL,
+AC_DEFUN([AM_PATH_ASPELL],
[dnl
dnl Get the cflags and libraries from the aspell-config script
dnl
return 0;
}
],, no_aspell=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
- rm -f conftest.c
+ rm -f conf.aspelltest
if test "x$no_aspell" = x ; then
AC_MSG_RESULT(yes)
AC_MSG_CHECKING(for GNU/aspell dictionaries location)
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $ASPELL_CFLAGS"
LIBS="$LIBS $ASPELL_LIBS"
- rm -f conf.aspelltest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>