diff --git a/configure.in b/configure.in index 3992ad93..ecd5fa05 100644 --- a/configure.in +++ b/configure.in @@ -25,7 +25,8 @@ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ $libtool_flags --disable-static --output=libtool-static --no-verify $ac_aux_dir/ltmain.sh $lt_target \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } -AC_CHECK_HEADERS(string.h stdlib.h unistd.h dirent.h sys/ioctl.h libintl.h) +AC_CHECK_HEADERS(string.h stdlib.h unistd.h dirent.h sys/ioctl.h) +AC_CHECK_HEADERS(libintl.h langinfo.h) # check posix headers.. AC_CHECK_HEADERS(sys/time.h sys/utsname.h regex.h) diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index 15968002..5a7b2b64 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -256,7 +256,7 @@ static void settings_save_fe(const char *fname) static void settings_save_confirm(const char *line, char *fname) { - if (toupper(*line) == 'Y') + if (toupper(*line) == nl_langinfo(YESEXPR)) settings_save_fe(fname); g_free(fname); }