1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

Use langinfo.h's nl_langinfo(YESEXPR) instead of 'Y'.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@912 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-02 04:44:06 +00:00 committed by cras
parent e4d67a1bc4
commit 29f0531550
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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);
}