| 311 |
# include <unistd.h> |
# include <unistd.h> |
| 312 |
#endif" |
#endif" |
| 313 |
|
|
| 314 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os IS_DARWIN_TRUE IS_DARWIN_FALSE IS_MINGW_TRUE IS_MINGW_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os IS_DARWIN_TRUE IS_DARWIN_FALSE IS_MINGW_TRUE IS_MINGW_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBICONV CPP EGREP LIBOBJS LTLIBOBJS' |
| 315 |
ac_subst_files='' |
ac_subst_files='' |
| 316 |
|
|
| 317 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
| 864 |
--disable-dependency-tracking speeds up one-time build |
--disable-dependency-tracking speeds up one-time build |
| 865 |
--enable-dependency-tracking do not reject slow dependency extractors |
--enable-dependency-tracking do not reject slow dependency extractors |
| 866 |
|
|
| 867 |
|
Optional Packages: |
| 868 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 869 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 870 |
|
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib |
| 871 |
|
|
| 872 |
Some influential environment variables: |
Some influential environment variables: |
| 873 |
CXX C++ compiler command |
CXX C++ compiler command |
| 874 |
CXXFLAGS C++ compiler flags |
CXXFLAGS C++ compiler flags |
| 972 |
else |
else |
| 973 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 974 |
fi |
fi |
| 975 |
cd "$ac_popdir" |
cd $ac_popdir |
| 976 |
done |
done |
| 977 |
fi |
fi |
| 978 |
|
|
| 2183 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 2184 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2185 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2186 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2187 |
|
|| test ! -s conftest.err' |
| 2188 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2189 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2190 |
ac_status=$? |
ac_status=$? |
| 2242 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 2243 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2244 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2245 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2246 |
|
|| test ! -s conftest.err' |
| 2247 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2248 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2249 |
ac_status=$? |
ac_status=$? |
| 2314 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 2315 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2316 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2317 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2318 |
|
|| test ! -s conftest.err' |
| 2319 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2320 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2321 |
ac_status=$? |
ac_status=$? |
| 2359 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 2360 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2361 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2362 |
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2363 |
|
|| test ! -s conftest.err' |
| 2364 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2365 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2366 |
ac_status=$? |
ac_status=$? |
| 2934 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 2935 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2936 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2937 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2938 |
|
|| test ! -s conftest.err' |
| 2939 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2940 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 2941 |
ac_status=$? |
ac_status=$? |
| 2993 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 2994 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2995 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 2996 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2997 |
|
|| test ! -s conftest.err' |
| 2998 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2999 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3000 |
ac_status=$? |
ac_status=$? |
| 3110 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 3111 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3112 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3113 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3114 |
|
|| test ! -s conftest.err' |
| 3115 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3116 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3117 |
ac_status=$? |
ac_status=$? |
| 3165 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 3166 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3167 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3168 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3169 |
|
|| test ! -s conftest.err' |
| 3170 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3171 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3172 |
ac_status=$? |
ac_status=$? |
| 3211 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 3212 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3213 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3214 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3215 |
|
|| test ! -s conftest.err' |
| 3216 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3217 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3218 |
ac_status=$? |
ac_status=$? |
| 3256 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 3257 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3258 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3259 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3260 |
|
|| test ! -s conftest.err' |
| 3261 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3262 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3263 |
ac_status=$? |
ac_status=$? |
| 3408 |
|
|
| 3409 |
# Checks for libraries. |
# Checks for libraries. |
| 3410 |
# FIXME: Replace `main' with a function in `-liconv': |
# FIXME: Replace `main' with a function in `-liconv': |
| 3411 |
|
#AC_CHECK_LIB([iconv], [main]) |
| 3412 |
|
|
| 3413 |
|
|
| 3414 |
|
|
| 3415 |
|
|
| 3416 |
|
|
| 3417 |
|
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. |
| 3418 |
|
if test "${with_libiconv_prefix+set}" = set; then |
| 3419 |
|
withval="$with_libiconv_prefix" |
| 3420 |
|
|
| 3421 |
|
for dir in `echo "$withval" | tr : ' '`; do |
| 3422 |
|
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi |
| 3423 |
|
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi |
| 3424 |
|
done |
| 3425 |
|
|
| 3426 |
|
fi; |
| 3427 |
|
|
| 3428 |
echo "$as_me:$LINENO: checking for main in -liconv" >&5 |
echo "$as_me:$LINENO: checking for iconv" >&5 |
| 3429 |
echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 |
echo $ECHO_N "checking for iconv... $ECHO_C" >&6 |
| 3430 |
if test "${ac_cv_lib_iconv_main+set}" = set; then |
if test "${am_cv_func_iconv+set}" = set; then |
| 3431 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3432 |
else |
else |
| 3433 |
ac_check_lib_save_LIBS=$LIBS |
|
| 3434 |
LIBS="-liconv $LIBS" |
am_cv_func_iconv="no, consider installing GNU libiconv" |
| 3435 |
cat >conftest.$ac_ext <<_ACEOF |
am_cv_lib_iconv=no |
| 3436 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3437 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 3438 |
_ACEOF |
_ACEOF |
| 3439 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 3440 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 3441 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
| 3442 |
|
#include <stdlib.h> |
| 3443 |
|
#include <iconv.h> |
| 3444 |
|
int |
| 3445 |
|
main () |
| 3446 |
|
{ |
| 3447 |
|
iconv_t cd = iconv_open("",""); |
| 3448 |
|
iconv(cd,NULL,NULL,NULL,NULL); |
| 3449 |
|
iconv_close(cd); |
| 3450 |
|
; |
| 3451 |
|
return 0; |
| 3452 |
|
} |
| 3453 |
|
_ACEOF |
| 3454 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 3455 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 3456 |
|
(eval $ac_link) 2>conftest.er1 |
| 3457 |
|
ac_status=$? |
| 3458 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3459 |
|
rm -f conftest.er1 |
| 3460 |
|
cat conftest.err >&5 |
| 3461 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3462 |
|
(exit $ac_status); } && |
| 3463 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 3464 |
|
|| test ! -s conftest.err' |
| 3465 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3466 |
|
(eval $ac_try) 2>&5 |
| 3467 |
|
ac_status=$? |
| 3468 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3469 |
|
(exit $ac_status); }; } && |
| 3470 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 3471 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3472 |
|
(eval $ac_try) 2>&5 |
| 3473 |
|
ac_status=$? |
| 3474 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3475 |
|
(exit $ac_status); }; }; then |
| 3476 |
|
am_cv_func_iconv=yes |
| 3477 |
|
else |
| 3478 |
|
echo "$as_me: failed program was:" >&5 |
| 3479 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3480 |
|
|
| 3481 |
|
fi |
| 3482 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 3483 |
|
conftest$ac_exeext conftest.$ac_ext |
| 3484 |
|
if test "$am_cv_func_iconv" != yes; then |
| 3485 |
|
am_save_LIBS="$LIBS" |
| 3486 |
|
LIBS="$LIBS -liconv" |
| 3487 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3488 |
|
/* confdefs.h. */ |
| 3489 |
|
_ACEOF |
| 3490 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3491 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 3492 |
|
/* end confdefs.h. */ |
| 3493 |
|
#include <stdlib.h> |
| 3494 |
|
#include <iconv.h> |
| 3495 |
int |
int |
| 3496 |
main () |
main () |
| 3497 |
{ |
{ |
| 3498 |
main (); |
iconv_t cd = iconv_open("",""); |
| 3499 |
|
iconv(cd,NULL,NULL,NULL,NULL); |
| 3500 |
|
iconv_close(cd); |
| 3501 |
; |
; |
| 3502 |
return 0; |
return 0; |
| 3503 |
} |
} |
| 3511 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 3512 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3513 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3514 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3515 |
|
|| test ! -s conftest.err' |
| 3516 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3517 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3518 |
ac_status=$? |
ac_status=$? |
| 3524 |
ac_status=$? |
ac_status=$? |
| 3525 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3526 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
| 3527 |
ac_cv_lib_iconv_main=yes |
am_cv_lib_iconv=yes |
| 3528 |
|
am_cv_func_iconv=yes |
| 3529 |
else |
else |
| 3530 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
| 3531 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3532 |
|
|
|
ac_cv_lib_iconv_main=no |
|
| 3533 |
fi |
fi |
| 3534 |
rm -f conftest.err conftest.$ac_objext \ |
rm -f conftest.err conftest.$ac_objext \ |
| 3535 |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
| 3536 |
LIBS=$ac_check_lib_save_LIBS |
LIBS="$am_save_LIBS" |
| 3537 |
|
fi |
| 3538 |
|
|
| 3539 |
fi |
fi |
| 3540 |
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 |
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
| 3541 |
echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 |
echo "${ECHO_T}$am_cv_func_iconv" >&6 |
| 3542 |
if test $ac_cv_lib_iconv_main = yes; then |
if test "$am_cv_func_iconv" = yes; then |
| 3543 |
cat >>confdefs.h <<_ACEOF |
|
| 3544 |
#define HAVE_LIBICONV 1 |
cat >>confdefs.h <<\_ACEOF |
| 3545 |
|
#define HAVE_ICONV 1 |
| 3546 |
|
_ACEOF |
| 3547 |
|
|
| 3548 |
|
echo "$as_me:$LINENO: checking for iconv declaration" >&5 |
| 3549 |
|
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 |
| 3550 |
|
if test "${am_cv_proto_iconv+set}" = set; then |
| 3551 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3552 |
|
else |
| 3553 |
|
|
| 3554 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3555 |
|
/* confdefs.h. */ |
| 3556 |
_ACEOF |
_ACEOF |
| 3557 |
|
cat confdefs.h >>conftest.$ac_ext |
| 3558 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 3559 |
|
/* end confdefs.h. */ |
| 3560 |
|
|
| 3561 |
|
#include <stdlib.h> |
| 3562 |
|
#include <iconv.h> |
| 3563 |
|
extern |
| 3564 |
|
#ifdef __cplusplus |
| 3565 |
|
"C" |
| 3566 |
|
#endif |
| 3567 |
|
#if defined(__STDC__) || defined(__cplusplus) |
| 3568 |
|
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); |
| 3569 |
|
#else |
| 3570 |
|
size_t iconv(); |
| 3571 |
|
#endif |
| 3572 |
|
|
| 3573 |
|
int |
| 3574 |
|
main () |
| 3575 |
|
{ |
| 3576 |
|
|
| 3577 |
LIBS="-liconv $LIBS" |
; |
| 3578 |
|
return 0; |
| 3579 |
|
} |
| 3580 |
|
_ACEOF |
| 3581 |
|
rm -f conftest.$ac_objext |
| 3582 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3583 |
|
(eval $ac_compile) 2>conftest.er1 |
| 3584 |
|
ac_status=$? |
| 3585 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3586 |
|
rm -f conftest.er1 |
| 3587 |
|
cat conftest.err >&5 |
| 3588 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3589 |
|
(exit $ac_status); } && |
| 3590 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 3591 |
|
|| test ! -s conftest.err' |
| 3592 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3593 |
|
(eval $ac_try) 2>&5 |
| 3594 |
|
ac_status=$? |
| 3595 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3596 |
|
(exit $ac_status); }; } && |
| 3597 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 3598 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3599 |
|
(eval $ac_try) 2>&5 |
| 3600 |
|
ac_status=$? |
| 3601 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3602 |
|
(exit $ac_status); }; }; then |
| 3603 |
|
am_cv_proto_iconv_arg1="" |
| 3604 |
|
else |
| 3605 |
|
echo "$as_me: failed program was:" >&5 |
| 3606 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3607 |
|
|
| 3608 |
|
am_cv_proto_iconv_arg1="const" |
| 3609 |
|
fi |
| 3610 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3611 |
|
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" |
| 3612 |
fi |
fi |
| 3613 |
|
|
| 3614 |
|
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` |
| 3615 |
|
echo "$as_me:$LINENO: result: ${ac_t:- |
| 3616 |
|
}$am_cv_proto_iconv" >&5 |
| 3617 |
|
echo "${ECHO_T}${ac_t:- |
| 3618 |
|
}$am_cv_proto_iconv" >&6 |
| 3619 |
|
|
| 3620 |
|
cat >>confdefs.h <<_ACEOF |
| 3621 |
|
#define ICONV_CONST $am_cv_proto_iconv_arg1 |
| 3622 |
|
_ACEOF |
| 3623 |
|
|
| 3624 |
|
fi |
| 3625 |
|
LIBICONV= |
| 3626 |
|
if test "$am_cv_lib_iconv" = yes; then |
| 3627 |
|
LIBICONV="-liconv" |
| 3628 |
|
fi |
| 3629 |
|
|
| 3630 |
|
|
| 3631 |
|
|
| 3632 |
# Checks for header files. |
# Checks for header files. |
| 3633 |
|
|
| 3707 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 3708 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3709 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 3710 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 3711 |
|
|| test ! -s conftest.err' |
| 3712 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3713 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 3714 |
ac_status=$? |
ac_status=$? |
| 4022 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 4023 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4024 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4025 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4026 |
|
|| test ! -s conftest.err' |
| 4027 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4028 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 4029 |
ac_status=$? |
ac_status=$? |
| 4193 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 4194 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4195 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4196 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4197 |
|
|| test ! -s conftest.err' |
| 4198 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4199 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 4200 |
ac_status=$? |
ac_status=$? |
| 4259 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 4260 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4261 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4262 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4263 |
|
|| test ! -s conftest.err' |
| 4264 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4265 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 4266 |
ac_status=$? |
ac_status=$? |
| 4328 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 4329 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4330 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4331 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4332 |
|
|| test ! -s conftest.err' |
| 4333 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4334 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 4335 |
ac_status=$? |
ac_status=$? |
| 4532 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 4533 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4534 |
(exit $ac_status); } && |
(exit $ac_status); } && |
| 4535 |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4536 |
|
|| test ! -s conftest.err' |
| 4537 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4538 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
| 4539 |
ac_status=$? |
ac_status=$? |
| 5282 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
| 5283 |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
| 5284 |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
| 5285 |
|
s,@LIBICONV@,$LIBICONV,;t t |
| 5286 |
s,@CPP@,$CPP,;t t |
s,@CPP@,$CPP,;t t |
| 5287 |
s,@EGREP@,$EGREP,;t t |
s,@EGREP@,$EGREP,;t t |
| 5288 |
s,@LIBOBJS@,$LIBOBJS,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |
| 5453 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 5454 |
esac |
esac |
| 5455 |
|
|
| 5456 |
|
if test x"$ac_file" != x-; then |
| 5457 |
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 5458 |
|
echo "$as_me: creating $ac_file" >&6;} |
| 5459 |
|
rm -f "$ac_file" |
| 5460 |
|
fi |
| 5461 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 5462 |
# use $as_me), people would be surprised to read: |
# use $as_me), people would be surprised to read: |
| 5463 |
# /* config.h. Generated by config.status. */ |
# /* config.h. Generated by config.status. */ |
| 5496 |
fi;; |
fi;; |
| 5497 |
esac |
esac |
| 5498 |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
|
|
|
|
if test x"$ac_file" != x-; then |
|
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
echo "$as_me: creating $ac_file" >&6;} |
|
|
rm -f "$ac_file" |
|
|
fi |
|
| 5499 |
_ACEOF |
_ACEOF |
| 5500 |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
| 5501 |
sed "$ac_vpsub |
sed "$ac_vpsub |