+2002-03-01 Peter Eisentraut <peter_e@gmx.net>
+
+ * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
+ lib/autoconf/functions.m4, lib/autoconf/general.m4,
+ lib/autoconf/headers.m4, lib/autoconf/lang.m4,
+ lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
+ of messages.
+
2002-02-28 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Suggest a title to the
fi
])
-test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
+test -z "$CC" && AC_MSG_ERROR([no acceptable C compiler found in \$PATH])
# Provide some information about the compiler.
echo "$as_me:$LINENO:" \
link to the Fortran 77 libraries.])
fi])],
[m4_default([$2],
- [AC_MSG_ERROR([Linking to Fortran libraries from C fails.])])])
+ [AC_MSG_ERROR([linking to Fortran libraries from C fails])])])
])# AC_F77_DUMMY_MAIN
exit (setpgrp (1,1) == -1 ? 0 : 1);])],
[ac_cv_func_setpgrp_void=no],
[ac_cv_func_setpgrp_void=yes],
- [AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])
+ [AC_MSG_ERROR([cannot check setpgrp when cross compiling])])])
if test $ac_cv_func_setpgrp_void = yes; then
AC_DEFINE(SETPGRP_VOID, 1,
[Define to 1 if the `setpgrp' function takes no argument.])
if test $ac_cv_func_pow = no; then
AC_CHECK_LIB(m, pow,
[POW_LIB=-lm],
- [AC_MSG_WARN([can't find library containing definition of pow])])
+ [AC_MSG_WARN([cannot find library containing definition of pow])])
fi
])# _AC_LIBOBJ_STRTOD
ac_cv_func_fork_works=yes
;;
esac
- AC_MSG_WARN(CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling.)
+ AC_MSG_WARN([result $ac_cv_func_fork_works guessed because of cross compilation])
fi
ac_cv_func_vfork_works=$ac_cv_func_vfork
if test "x$ac_cv_func_vfork" = xyes; then
fi;
if test "x$ac_cv_func_fork_works" = xcross; then
ac_cv_func_vfork_works=ac_cv_func_vfork
- AC_MSG_WARN(CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling.)
+ AC_MSG_WARN([result $ac_cv_func_vfork_works guessed because of cross compilation])
fi
if test "x$ac_cv_func_vfork_works" = xyes; then
eval ac_val=$`echo $ac_var`
case $ac_val in
[[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
- *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
+ *) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
esac
done
eval ac_val=$`echo $ac_var`
case $ac_val in
[[\\/$]]* | ?:[[\\/]]* ) ;;
- *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
+ *) AC_MSG_ERROR([expected an absolute directory name for --$ac_var: $ac_val]);;
esac
done
test -z "$ac_cv_build_alias" &&
AC_MSG_ERROR([cannot guess build type; you must specify one])
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
- AC_MSG_ERROR([$ac_config_sub $ac_cv_build_alias failed.])
+ AC_MSG_ERROR([$ac_config_sub $ac_cv_build_alias failed])
])
_AC_CANONICAL_SPLIT(build)
])# AC_CANONICAL_BUILD
AC_MSG_WARN([$1: accepted by the compiler, rejected by the preprocessor!])
AC_MSG_WARN([$1: proceeding with the preprocessor's result]);;
no:yes )
- AC_MSG_WARN([$1: present but cannot be compiled.])
+ AC_MSG_WARN([$1: present but cannot be compiled])
AC_MSG_WARN([$1: check for missing prerequisite headers?])
AC_MSG_WARN([$1: proceeding with the preprocessor's result]);;
esac
# Check for the extension used when `-o foo'. Try to see if ac_cv_exeext,
# as computed by _AC_COMPILER_EXEEXT_DEFAULT is OK.
m4_define([_AC_COMPILER_EXEEXT_O],
-[AC_MSG_CHECKING([for executable suffix])
+[AC_MSG_CHECKING([for suffix of executables])
AS_IF([AC_TRY_EVAL(ac_link)],
[# If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
* ) break;;
esac
done],
- [AC_MSG_ERROR([cannot compute EXEEXT: cannot compile and link])])
+ [AC_MSG_ERROR([cannot compute suffix of executables: cannot compile and link])])
rm -f conftest$ac_cv_exeext
AC_MSG_RESULT([$ac_cv_exeext])
])# _AC_COMPILER_EXEEXT_O
# don't, since _AC_COMPILE_IFELSE needs to know ac_objext for the `test -s'
# it includes. So do it by hand.
m4_define([_AC_COMPILER_OBJEXT],
-[AC_CACHE_CHECK([for object suffix], ac_cv_objext,
+[AC_CACHE_CHECK([for suffix of object files], ac_cv_objext,
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
rm -f conftest.o conftest.obj
AS_IF([AC_TRY_EVAL(ac_compile)],
done],
[echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
-AC_MSG_ERROR([cannot compute OBJEXT: cannot compile])])
+AC_MSG_ERROR([cannot compute suffix of object files: cannot compile])])
rm -f conftest.$ac_cv_objext conftest.$ac_ext])
AC_SUBST([OBJEXT], [$ac_cv_objext])dnl
ac_objext=$OBJEXT
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
-AC_MSG_CHECKING([for a BSD compatible install])
+AC_MSG_CHECKING([for a BSD-compatible install])
if test -z "$INSTALL"; then
AC_CACHE_VAL(ac_cv_path_install,
[_AS_PATH_WALK([$PATH],
AC_MSG_NOTICE([linking $srcdir/$ac_source to $ac_dest])
if test ! -r $srcdir/$ac_source; then
- AC_MSG_ERROR([$srcdir/$ac_source: File not found])
+ AC_MSG_ERROR([$srcdir/$ac_source: file not found])
fi
rm -f $ac_dest