Skip to content

Commit 61ae4fb

Browse files
committed
4.3.4
1 parent 26da0aa commit 61ae4fb

File tree

7 files changed

+41
-120
lines changed

7 files changed

+41
-120
lines changed

ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2009-12-25 Motoyuki Kasahara <m-kasahr@sra.co.jp>
2+
3+
* Version 4.3.3.
4+
5+
* configure.ac (AC_INIT): Set version to 4.3.4.
6+
7+
* m4/gettext.m4 (eb_GNU_GETTEXT): Fix a bug of iconv() and
8+
iconv_open() checks. Don't add '-liconv' to LIBS at all times.
9+
* m4/gettext.m4 (eb_GNU_GETTEXT): No longer check libiconv_open().
10+
111
2009-09-29 Motoyuki Kasahara <m-kasahr@sra.co.jp>
212

313
* Version 4.3.3.

NEWS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
$B%P!<%8%g%s(B 4.3.4 $B$K$*$1$k<g$JJQ99E@(B:
2+
3+
* $B4D6-$K$h$C$F$O!"(Bebinfo $B$N=PNO$9$kI{K\$NBjL>$,J8;z2=$1$9$k$N$r=$@5$7$?!#(B
4+
* $BCm(B: $B%i%$%V%i%jK\BN$K$OJQ99$,$J$$$N$G!"6&M-%i%$%V%i%j$N%P!<%8%g%s$O99?7(B
5+
$B$7$F$7$J$$!#(B
6+
17
$B%P!<%8%g%s(B 4.3.3 $B$K$*$1$k<g$JJQ99E@(B:
28

39
* Cygwin, MinGW $B$G(B DLL $B$r:n@.$G$-$k$h$&$K$7$?!#(B
4-
* Windows $B$G(B ebzipinfo $B$,0[>o=*N;$9$kIT6q9g$r=*N;$7$?!#(B
10+
* Windows $B$G(B ebzipinfo $B$,0[>o=*N;$9$kIT6q9g$r=$@5$7$?!#(B
511

612
$B%P!<%8%g%s(B 4.3.2 $B$K$*$1$k<g$JJQ99E@(B:
713

config.h.in

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@
5151
/* Define to 1 if you have the <libcharset.h> header file. */
5252
#undef HAVE_LIBCHARSET_H
5353

54-
/* Define to 1 if you have the `iconv' library (-liconv). */
55-
#undef HAVE_LIBICONV
56-
57-
/* Define to 1 if you have the `libiconv_open' function. */
58-
#undef HAVE_LIBICONV_OPEN
59-
6054
/* Define to 1 if you have the `nsl' library (-lnsl). */
6155
#undef HAVE_LIBNSL
6256

configure

Lines changed: 15 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.59 for eb 4.3.3.
3+
# Generated by GNU Autoconf 2.59 for eb 4.3.4.
44
#
55
# Copyright (C) 2003 Free Software Foundation, Inc.
66
# This configure script is free software; the Free Software Foundation
@@ -421,8 +421,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
421421
# Identity of this package.
422422
PACKAGE_NAME='eb'
423423
PACKAGE_TARNAME='eb'
424-
PACKAGE_VERSION='4.3.3'
425-
PACKAGE_STRING='eb 4.3.3'
424+
PACKAGE_VERSION='4.3.4'
425+
PACKAGE_STRING='eb 4.3.4'
426426
PACKAGE_BUGREPORT=''
427427

428428
ac_unique_file="eb/eb.c"
@@ -952,7 +952,7 @@ if test "$ac_init_help" = "long"; then
952952
# Omit some internal or obsolete options to make the list less imposing.
953953
# This message is too long to be a string in the A/UX 3.1 sh.
954954
cat <<_ACEOF
955-
\`configure' configures eb 4.3.3 to adapt to many kinds of systems.
955+
\`configure' configures eb 4.3.4 to adapt to many kinds of systems.
956956

957957
Usage: $0 [OPTION]... [VAR=VALUE]...
958958

@@ -1018,7 +1018,7 @@ fi
10181018

10191019
if test -n "$ac_init_help"; then
10201020
case $ac_init_help in
1021-
short | recursive ) echo "Configuration of eb 4.3.3:";;
1021+
short | recursive ) echo "Configuration of eb 4.3.4:";;
10221022
esac
10231023
cat <<\_ACEOF
10241024

@@ -1181,7 +1181,7 @@ fi
11811181
test -n "$ac_init_help" && exit 0
11821182
if $ac_init_version; then
11831183
cat <<\_ACEOF
1184-
eb configure 4.3.3
1184+
eb configure 4.3.4
11851185
generated by GNU Autoconf 2.59
11861186

11871187
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1195,7 +1195,7 @@ cat >&5 <<_ACEOF
11951195
This file contains any messages produced by compilers while
11961196
running configure, to aid debugging if configure makes a mistake.
11971197

1198-
It was created by eb $as_me 4.3.3, which was
1198+
It was created by eb $as_me 4.3.4, which was
11991199
generated by GNU Autoconf 2.59. Invocation command line was
12001200

12011201
$ $0 $@
@@ -1840,7 +1840,7 @@ fi
18401840

18411841
# Define the identity of the package.
18421842
PACKAGE='eb'
1843-
VERSION='4.3.3'
1843+
VERSION='4.3.4'
18441844

18451845

18461846
cat >>confdefs.h <<_ACEOF
@@ -19579,9 +19579,8 @@ fi;
1957919579
save_CPPFLAGS=$CPPFLAGS
1958019580
save_LIBS=$LIBS
1958119581
CPPFLAGS="$save_CPPFLAGS $iconv_includes"
19582-
LIBS="$save_LIBS $iconv_libraries -liconv"
19583-
19584-
echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
19582+
LIBS="$save_LIBS $iconv_libraries"
19583+
echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
1958519584
echo $ECHO_N "checking for iconv_open in -liconv... $ECHO_C" >&6
1958619585
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
1958719586
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -19646,92 +19645,12 @@ fi
1964619645
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
1964719646
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
1964819647
if test $ac_cv_lib_iconv_iconv_open = yes; then
19649-
cat >>confdefs.h <<_ACEOF
19650-
#define HAVE_LIBICONV 1
19651-
_ACEOF
19652-
19653-
LIBS="-liconv $LIBS"
19654-
19648+
ICONVLIBS="$iconv_libraries -liconv"; LIBS="$LIBS -liconv"
1965519649
fi
1965619650

1965719651

19658-
echo "$as_me:$LINENO: checking for libiconv_open in -liconv" >&5
19659-
echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6
19660-
if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then
19661-
echo $ECHO_N "(cached) $ECHO_C" >&6
19662-
else
19663-
ac_check_lib_save_LIBS=$LIBS
19664-
LIBS="-liconv $LIBS"
19665-
cat >conftest.$ac_ext <<_ACEOF
19666-
/* confdefs.h. */
19667-
_ACEOF
19668-
cat confdefs.h >>conftest.$ac_ext
19669-
cat >>conftest.$ac_ext <<_ACEOF
19670-
/* end confdefs.h. */
1967119652

19672-
/* Override any gcc2 internal prototype to avoid an error. */
19673-
#ifdef __cplusplus
19674-
extern "C"
19675-
#endif
19676-
/* We use char because int might match the return type of a gcc2
19677-
builtin and then its argument prototype would still apply. */
19678-
char libiconv_open ();
19679-
int
19680-
main ()
19681-
{
19682-
libiconv_open ();
19683-
;
19684-
return 0;
19685-
}
19686-
_ACEOF
19687-
rm -f conftest.$ac_objext conftest$ac_exeext
19688-
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19689-
(eval $ac_link) 2>conftest.er1
19690-
ac_status=$?
19691-
grep -v '^ *+' conftest.er1 >conftest.err
19692-
rm -f conftest.er1
19693-
cat conftest.err >&5
19694-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695-
(exit $ac_status); } &&
19696-
{ ac_try='test -z "$ac_c_werror_flag"
19697-
|| test ! -s conftest.err'
19698-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699-
(eval $ac_try) 2>&5
19700-
ac_status=$?
19701-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702-
(exit $ac_status); }; } &&
19703-
{ ac_try='test -s conftest$ac_exeext'
19704-
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705-
(eval $ac_try) 2>&5
19706-
ac_status=$?
19707-
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708-
(exit $ac_status); }; }; then
19709-
ac_cv_lib_iconv_libiconv_open=yes
19710-
else
19711-
echo "$as_me: failed program was:" >&5
19712-
sed 's/^/| /' conftest.$ac_ext >&5
19713-
19714-
ac_cv_lib_iconv_libiconv_open=no
19715-
fi
19716-
rm -f conftest.err conftest.$ac_objext \
19717-
conftest$ac_exeext conftest.$ac_ext
19718-
LIBS=$ac_check_lib_save_LIBS
19719-
fi
19720-
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_libiconv_open" >&5
19721-
echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6
19722-
if test $ac_cv_lib_iconv_libiconv_open = yes; then
19723-
cat >>confdefs.h <<_ACEOF
19724-
#define HAVE_LIBICONV 1
19725-
_ACEOF
19726-
19727-
LIBS="-liconv $LIBS"
19728-
19729-
fi
19730-
19731-
19732-
19733-
19734-
for ac_func in iconv_open libiconv_open locale_charset
19653+
for ac_func in iconv_open locale_charset
1973519654
do
1973619655
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
1973719656
echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -19983,12 +19902,8 @@ fi
1998319902

1998419903
done
1998519904

19986-
if test "$ac_cv_func_iconv_open$ac_cv_func_libiconv_open" != nono; then
19905+
if test $ac_cv_func_iconv_open != no; then
1998719906
ICONVINCS="$iconv_includes"
19988-
ICONVLIBS="$iconv_libraries -liconv"
19989-
else
19990-
iconv_includes=
19991-
iconv_libraries=
1999219907
fi
1999319908
CPPFLAGS=$save_CPPFLAGS
1999419909
LIBS=$save_LIBS
@@ -22822,7 +22737,7 @@ _ASBOX
2282222737
} >&5
2282322738
cat >&5 <<_CSEOF
2282422739

22825-
This file was extended by eb $as_me 4.3.3, which was
22740+
This file was extended by eb $as_me 4.3.4, which was
2282622741
generated by GNU Autoconf 2.59. Invocation command line was
2282722742

2282822743
CONFIG_FILES = $CONFIG_FILES
@@ -22885,7 +22800,7 @@ _ACEOF
2288522800

2288622801
cat >>$CONFIG_STATUS <<_ACEOF
2288722802
ac_cs_version="\\
22888-
eb config.status 4.3.3
22803+
eb config.status 4.3.4
2288922804
configured by $0, generated by GNU Autoconf 2.59,
2289022805
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2289122806

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl *
22
dnl * Process this file with autoconf to produce a configure script.
33
dnl *
4-
AC_INIT(eb, 4.3.3)
4+
AC_INIT(eb, 4.3.4)
55
AC_CONFIG_SRCDIR(eb/eb.c)
66
AC_PREREQ(2.54)
77
AM_INIT_AUTOMAKE

libebutils/puts_eucjp.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
int
5454
fputs_eucjp_to_locale(const char *string, FILE *stream)
5555
{
56-
#if defined(HAVE_ICONV_OPEN) || defined(HAVE_LIBICONV_OPEN)
56+
#if defined(HAVE_ICONV_OPEN)
5757
size_t string_length;
5858
const char *locale_encoding;
5959
char *buffer = NULL;
@@ -133,9 +133,9 @@ fputs_eucjp_to_locale(const char *string, FILE *stream)
133133
free(buffer);
134134
return fputs(string, stream);
135135

136-
#else /* not HAVE_ICONV_OPEN && not HAVE_LIBICONV_OPEN */
136+
#else /* not HAVE_ICONV_OPEN */
137137
return fputs(string, stream);
138-
#endif /* not HAVE_ICONV_OPEN && not HAVE_LIBICONV_OPEN */
138+
#endif /* not HAVE_ICONV_OPEN */
139139
}
140140

141141

m4/gettext.m4

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,13 @@ AC_DEFUN([eb_GNU_GETTEXT], [dnl
8686
save_CPPFLAGS=$CPPFLAGS
8787
save_LIBS=$LIBS
8888
CPPFLAGS="$save_CPPFLAGS $iconv_includes"
89-
LIBS="$save_LIBS $iconv_libraries -liconv"
90-
AC_CHECK_LIB(iconv, iconv_open)
91-
AC_CHECK_LIB(iconv, libiconv_open)
92-
AC_CHECK_FUNCS(iconv_open libiconv_open locale_charset)
89+
LIBS="$save_LIBS $iconv_libraries"
90+
AC_CHECK_LIB(iconv, iconv_open,
91+
[ICONVLIBS="$iconv_libraries -liconv"; LIBS="$LIBS -liconv"])
92+
AC_CHECK_FUNCS(iconv_open locale_charset)
9393
AC_CHECK_HEADERS(iconv.h libcharset.h)
94-
if test "$ac_cv_func_iconv_open$ac_cv_func_libiconv_open" != nono; then
94+
if test $ac_cv_func_iconv_open != no; then
9595
ICONVINCS="$iconv_includes"
96-
ICONVLIBS="$iconv_libraries -liconv"
97-
else
98-
iconv_includes=
99-
iconv_libraries=
10096
fi
10197
CPPFLAGS=$save_CPPFLAGS
10298
LIBS=$save_LIBS

0 commit comments

Comments
 (0)