diff --git a/configure b/configure index ad7bea04d..b2f46831f 100755 --- a/configure +++ b/configure @@ -16773,12 +16773,12 @@ done if test "$enable_nls" = "yes"; then # List of translations LINGUAS= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext" >&5 +$as_echo_n "checking for gettext... " >&6; } if test "${sudo_cv_gettext+set}" = set; then : $as_echo_n "(cached) " >&6 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext" >&5 -$as_echo_n "checking for gettext... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/configure.in b/configure.in index b6ea098f3..a0bd88d32 100644 --- a/configure.in +++ b/configure.in @@ -2195,8 +2195,8 @@ AC_CHECK_FUNCS(getprogname, , [ if test "$enable_nls" = "yes"; then # List of translations LINGUAS= - AC_CACHE_VAL(sudo_cv_gettext, [ AC_MSG_CHECKING([for gettext]) + AC_CACHE_VAL(sudo_cv_gettext, [ AC_LINK_IFELSE( [ AC_LANG_PROGRAM([[#include ]], [(void)gettext((char *)0);])