$NetBSD: patch-as,v 1.1 2007/11/03 17:16:37 rillig Exp $ At the point of this code, AC_CHECK_HEADERS(locale.h) has not yet been called, so assume that the header exists. --- libjava/configure.orig 2005-05-03 14:37:08.000000000 +0200 +++ libjava/configure 2007-11-03 18:03:59.000000000 +0100 @@ -4191,7 +4191,7 @@ EOF fi - if test $ac_cv_header_locale_h = yes; then + if test "${ac_cv_header_locale_h-yes}" != no; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo "configure:4197: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then