| 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 LTLIBICONV 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. |
| 863 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 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 |
|
--disable-rpath do not hardcode runtime library paths |
| 867 |
|
|
| 868 |
|
Optional Packages: |
| 869 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 870 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 871 |
|
--with-gnu-ld assume the C compiler uses GNU ld default=no |
| 872 |
|
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib |
| 873 |
|
--without-libiconv-prefix don't search for libiconv in includedir and libdir |
| 874 |
|
|
| 875 |
Some influential environment variables: |
Some influential environment variables: |
| 876 |
CXX C++ compiler command |
CXX C++ compiler command |
| 3412 |
# Checks for libraries. |
# Checks for libraries. |
| 3413 |
# FIXME: Replace `main' with a function in `-liconv': |
# FIXME: Replace `main' with a function in `-liconv': |
| 3414 |
|
|
| 3415 |
#AM_ICONV |
|
| 3416 |
|
if test "X$prefix" = "XNONE"; then |
| 3417 |
|
acl_final_prefix="$ac_default_prefix" |
| 3418 |
|
else |
| 3419 |
|
acl_final_prefix="$prefix" |
| 3420 |
|
fi |
| 3421 |
|
if test "X$exec_prefix" = "XNONE"; then |
| 3422 |
|
acl_final_exec_prefix='${prefix}' |
| 3423 |
|
else |
| 3424 |
|
acl_final_exec_prefix="$exec_prefix" |
| 3425 |
|
fi |
| 3426 |
|
acl_save_prefix="$prefix" |
| 3427 |
|
prefix="$acl_final_prefix" |
| 3428 |
|
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
| 3429 |
|
prefix="$acl_save_prefix" |
| 3430 |
|
|
| 3431 |
|
|
| 3432 |
|
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
| 3433 |
|
if test "${with_gnu_ld+set}" = set; then |
| 3434 |
|
withval="$with_gnu_ld" |
| 3435 |
|
test "$withval" = no || with_gnu_ld=yes |
| 3436 |
|
else |
| 3437 |
|
with_gnu_ld=no |
| 3438 |
|
fi; |
| 3439 |
|
# Prepare PATH_SEPARATOR. |
| 3440 |
|
# The user is always right. |
| 3441 |
|
if test "${PATH_SEPARATOR+set}" != set; then |
| 3442 |
|
echo "#! /bin/sh" >conf$$.sh |
| 3443 |
|
echo "exit 0" >>conf$$.sh |
| 3444 |
|
chmod +x conf$$.sh |
| 3445 |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 3446 |
|
PATH_SEPARATOR=';' |
| 3447 |
|
else |
| 3448 |
|
PATH_SEPARATOR=: |
| 3449 |
|
fi |
| 3450 |
|
rm -f conf$$.sh |
| 3451 |
|
fi |
| 3452 |
|
ac_prog=ld |
| 3453 |
|
if test "$GCC" = yes; then |
| 3454 |
|
# Check if gcc -print-prog-name=ld gives a path. |
| 3455 |
|
echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
| 3456 |
|
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
| 3457 |
|
case $host in |
| 3458 |
|
*-*-mingw*) |
| 3459 |
|
# gcc leaves a trailing carriage return which upsets mingw |
| 3460 |
|
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 3461 |
|
*) |
| 3462 |
|
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 3463 |
|
esac |
| 3464 |
|
case $ac_prog in |
| 3465 |
|
# Accept absolute paths. |
| 3466 |
|
[\\/]* | [A-Za-z]:[\\/]*) |
| 3467 |
|
re_direlt='/[^/][^/]*/\.\./' |
| 3468 |
|
# Canonicalize the path of ld |
| 3469 |
|
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
| 3470 |
|
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
| 3471 |
|
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
| 3472 |
|
done |
| 3473 |
|
test -z "$LD" && LD="$ac_prog" |
| 3474 |
|
;; |
| 3475 |
|
"") |
| 3476 |
|
# If it fails, then pretend we aren't using GCC. |
| 3477 |
|
ac_prog=ld |
| 3478 |
|
;; |
| 3479 |
|
*) |
| 3480 |
|
# If it is relative, then search for the first ld in PATH. |
| 3481 |
|
with_gnu_ld=unknown |
| 3482 |
|
;; |
| 3483 |
|
esac |
| 3484 |
|
elif test "$with_gnu_ld" = yes; then |
| 3485 |
|
echo "$as_me:$LINENO: checking for GNU ld" >&5 |
| 3486 |
|
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
| 3487 |
|
else |
| 3488 |
|
echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
| 3489 |
|
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
| 3490 |
|
fi |
| 3491 |
|
if test "${acl_cv_path_LD+set}" = set; then |
| 3492 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3493 |
|
else |
| 3494 |
|
if test -z "$LD"; then |
| 3495 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
| 3496 |
|
for ac_dir in $PATH; do |
| 3497 |
|
test -z "$ac_dir" && ac_dir=. |
| 3498 |
|
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 3499 |
|
acl_cv_path_LD="$ac_dir/$ac_prog" |
| 3500 |
|
# Check to see if the program is GNU ld. I'd rather use --version, |
| 3501 |
|
# but apparently some GNU ld's only accept -v. |
| 3502 |
|
# Break only if it was the GNU/non-GNU ld that we prefer. |
| 3503 |
|
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then |
| 3504 |
|
test "$with_gnu_ld" != no && break |
| 3505 |
|
else |
| 3506 |
|
test "$with_gnu_ld" != yes && break |
| 3507 |
|
fi |
| 3508 |
|
fi |
| 3509 |
|
done |
| 3510 |
|
IFS="$ac_save_ifs" |
| 3511 |
|
else |
| 3512 |
|
acl_cv_path_LD="$LD" # Let the user override the test with a path. |
| 3513 |
|
fi |
| 3514 |
|
fi |
| 3515 |
|
|
| 3516 |
|
LD="$acl_cv_path_LD" |
| 3517 |
|
if test -n "$LD"; then |
| 3518 |
|
echo "$as_me:$LINENO: result: $LD" >&5 |
| 3519 |
|
echo "${ECHO_T}$LD" >&6 |
| 3520 |
|
else |
| 3521 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 3522 |
|
echo "${ECHO_T}no" >&6 |
| 3523 |
|
fi |
| 3524 |
|
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
| 3525 |
|
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
| 3526 |
|
{ (exit 1); exit 1; }; } |
| 3527 |
|
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
| 3528 |
|
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
| 3529 |
|
if test "${acl_cv_prog_gnu_ld+set}" = set; then |
| 3530 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3531 |
|
else |
| 3532 |
|
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 3533 |
|
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 3534 |
|
acl_cv_prog_gnu_ld=yes |
| 3535 |
|
else |
| 3536 |
|
acl_cv_prog_gnu_ld=no |
| 3537 |
|
fi |
| 3538 |
|
fi |
| 3539 |
|
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 |
| 3540 |
|
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 |
| 3541 |
|
with_gnu_ld=$acl_cv_prog_gnu_ld |
| 3542 |
|
|
| 3543 |
|
|
| 3544 |
|
|
| 3545 |
|
echo "$as_me:$LINENO: checking for shared library run path origin" >&5 |
| 3546 |
|
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 |
| 3547 |
|
if test "${acl_cv_rpath+set}" = set; then |
| 3548 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3549 |
|
else |
| 3550 |
|
|
| 3551 |
|
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
| 3552 |
|
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
| 3553 |
|
. ./conftest.sh |
| 3554 |
|
rm -f ./conftest.sh |
| 3555 |
|
acl_cv_rpath=done |
| 3556 |
|
|
| 3557 |
|
fi |
| 3558 |
|
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 |
| 3559 |
|
echo "${ECHO_T}$acl_cv_rpath" >&6 |
| 3560 |
|
wl="$acl_cv_wl" |
| 3561 |
|
libext="$acl_cv_libext" |
| 3562 |
|
shlibext="$acl_cv_shlibext" |
| 3563 |
|
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
| 3564 |
|
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
| 3565 |
|
hardcode_direct="$acl_cv_hardcode_direct" |
| 3566 |
|
hardcode_minus_L="$acl_cv_hardcode_minus_L" |
| 3567 |
|
# Check whether --enable-rpath or --disable-rpath was given. |
| 3568 |
|
if test "${enable_rpath+set}" = set; then |
| 3569 |
|
enableval="$enable_rpath" |
| 3570 |
|
: |
| 3571 |
|
else |
| 3572 |
|
enable_rpath=yes |
| 3573 |
|
fi; |
| 3574 |
|
|
| 3575 |
|
|
| 3576 |
|
|
| 3577 |
|
|
| 3578 |
|
|
| 3579 |
|
|
| 3580 |
|
|
| 3581 |
|
use_additional=yes |
| 3582 |
|
|
| 3583 |
|
acl_save_prefix="$prefix" |
| 3584 |
|
prefix="$acl_final_prefix" |
| 3585 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3586 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3587 |
|
|
| 3588 |
|
eval additional_includedir=\"$includedir\" |
| 3589 |
|
eval additional_libdir=\"$libdir\" |
| 3590 |
|
|
| 3591 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3592 |
|
prefix="$acl_save_prefix" |
| 3593 |
|
|
| 3594 |
|
|
| 3595 |
|
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. |
| 3596 |
|
if test "${with_libiconv_prefix+set}" = set; then |
| 3597 |
|
withval="$with_libiconv_prefix" |
| 3598 |
|
|
| 3599 |
|
if test "X$withval" = "Xno"; then |
| 3600 |
|
use_additional=no |
| 3601 |
|
else |
| 3602 |
|
if test "X$withval" = "X"; then |
| 3603 |
|
|
| 3604 |
|
acl_save_prefix="$prefix" |
| 3605 |
|
prefix="$acl_final_prefix" |
| 3606 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3607 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3608 |
|
|
| 3609 |
|
eval additional_includedir=\"$includedir\" |
| 3610 |
|
eval additional_libdir=\"$libdir\" |
| 3611 |
|
|
| 3612 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3613 |
|
prefix="$acl_save_prefix" |
| 3614 |
|
|
| 3615 |
|
else |
| 3616 |
|
additional_includedir="$withval/include" |
| 3617 |
|
additional_libdir="$withval/lib" |
| 3618 |
|
fi |
| 3619 |
|
fi |
| 3620 |
|
|
| 3621 |
|
fi; |
| 3622 |
|
LIBICONV= |
| 3623 |
|
LTLIBICONV= |
| 3624 |
|
INCICONV= |
| 3625 |
|
rpathdirs= |
| 3626 |
|
ltrpathdirs= |
| 3627 |
|
names_already_handled= |
| 3628 |
|
names_next_round='iconv ' |
| 3629 |
|
while test -n "$names_next_round"; do |
| 3630 |
|
names_this_round="$names_next_round" |
| 3631 |
|
names_next_round= |
| 3632 |
|
for name in $names_this_round; do |
| 3633 |
|
already_handled= |
| 3634 |
|
for n in $names_already_handled; do |
| 3635 |
|
if test "$n" = "$name"; then |
| 3636 |
|
already_handled=yes |
| 3637 |
|
break |
| 3638 |
|
fi |
| 3639 |
|
done |
| 3640 |
|
if test -z "$already_handled"; then |
| 3641 |
|
names_already_handled="$names_already_handled $name" |
| 3642 |
|
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
| 3643 |
|
eval value=\"\$HAVE_LIB$uppername\" |
| 3644 |
|
if test -n "$value"; then |
| 3645 |
|
if test "$value" = yes; then |
| 3646 |
|
eval value=\"\$LIB$uppername\" |
| 3647 |
|
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
| 3648 |
|
eval value=\"\$LTLIB$uppername\" |
| 3649 |
|
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
| 3650 |
|
else |
| 3651 |
|
: |
| 3652 |
|
fi |
| 3653 |
|
else |
| 3654 |
|
found_dir= |
| 3655 |
|
found_la= |
| 3656 |
|
found_so= |
| 3657 |
|
found_a= |
| 3658 |
|
if test $use_additional = yes; then |
| 3659 |
|
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then |
| 3660 |
|
found_dir="$additional_libdir" |
| 3661 |
|
found_so="$additional_libdir/lib$name.$shlibext" |
| 3662 |
|
if test -f "$additional_libdir/lib$name.la"; then |
| 3663 |
|
found_la="$additional_libdir/lib$name.la" |
| 3664 |
|
fi |
| 3665 |
|
else |
| 3666 |
|
if test -f "$additional_libdir/lib$name.$libext"; then |
| 3667 |
|
found_dir="$additional_libdir" |
| 3668 |
|
found_a="$additional_libdir/lib$name.$libext" |
| 3669 |
|
if test -f "$additional_libdir/lib$name.la"; then |
| 3670 |
|
found_la="$additional_libdir/lib$name.la" |
| 3671 |
|
fi |
| 3672 |
|
fi |
| 3673 |
|
fi |
| 3674 |
|
fi |
| 3675 |
|
if test "X$found_dir" = "X"; then |
| 3676 |
|
for x in $LDFLAGS $LTLIBICONV; do |
| 3677 |
|
|
| 3678 |
|
acl_save_prefix="$prefix" |
| 3679 |
|
prefix="$acl_final_prefix" |
| 3680 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3681 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3682 |
|
eval x=\"$x\" |
| 3683 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3684 |
|
prefix="$acl_save_prefix" |
| 3685 |
|
|
| 3686 |
|
case "$x" in |
| 3687 |
|
-L*) |
| 3688 |
|
dir=`echo "X$x" | sed -e 's/^X-L//'` |
| 3689 |
|
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then |
| 3690 |
|
found_dir="$dir" |
| 3691 |
|
found_so="$dir/lib$name.$shlibext" |
| 3692 |
|
if test -f "$dir/lib$name.la"; then |
| 3693 |
|
found_la="$dir/lib$name.la" |
| 3694 |
|
fi |
| 3695 |
|
else |
| 3696 |
|
if test -f "$dir/lib$name.$libext"; then |
| 3697 |
|
found_dir="$dir" |
| 3698 |
|
found_a="$dir/lib$name.$libext" |
| 3699 |
|
if test -f "$dir/lib$name.la"; then |
| 3700 |
|
found_la="$dir/lib$name.la" |
| 3701 |
|
fi |
| 3702 |
|
fi |
| 3703 |
|
fi |
| 3704 |
|
;; |
| 3705 |
|
esac |
| 3706 |
|
if test "X$found_dir" != "X"; then |
| 3707 |
|
break |
| 3708 |
|
fi |
| 3709 |
|
done |
| 3710 |
|
fi |
| 3711 |
|
if test "X$found_dir" != "X"; then |
| 3712 |
|
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
| 3713 |
|
if test "X$found_so" != "X"; then |
| 3714 |
|
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then |
| 3715 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 3716 |
|
else |
| 3717 |
|
haveit= |
| 3718 |
|
for x in $ltrpathdirs; do |
| 3719 |
|
if test "X$x" = "X$found_dir"; then |
| 3720 |
|
haveit=yes |
| 3721 |
|
break |
| 3722 |
|
fi |
| 3723 |
|
done |
| 3724 |
|
if test -z "$haveit"; then |
| 3725 |
|
ltrpathdirs="$ltrpathdirs $found_dir" |
| 3726 |
|
fi |
| 3727 |
|
if test "$hardcode_direct" = yes; then |
| 3728 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 3729 |
|
else |
| 3730 |
|
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then |
| 3731 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 3732 |
|
haveit= |
| 3733 |
|
for x in $rpathdirs; do |
| 3734 |
|
if test "X$x" = "X$found_dir"; then |
| 3735 |
|
haveit=yes |
| 3736 |
|
break |
| 3737 |
|
fi |
| 3738 |
|
done |
| 3739 |
|
if test -z "$haveit"; then |
| 3740 |
|
rpathdirs="$rpathdirs $found_dir" |
| 3741 |
|
fi |
| 3742 |
|
else |
| 3743 |
|
haveit= |
| 3744 |
|
for x in $LDFLAGS $LIBICONV; do |
| 3745 |
|
|
| 3746 |
|
acl_save_prefix="$prefix" |
| 3747 |
|
prefix="$acl_final_prefix" |
| 3748 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3749 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3750 |
|
eval x=\"$x\" |
| 3751 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3752 |
|
prefix="$acl_save_prefix" |
| 3753 |
|
|
| 3754 |
|
if test "X$x" = "X-L$found_dir"; then |
| 3755 |
|
haveit=yes |
| 3756 |
|
break |
| 3757 |
|
fi |
| 3758 |
|
done |
| 3759 |
|
if test -z "$haveit"; then |
| 3760 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
| 3761 |
|
fi |
| 3762 |
|
if test "$hardcode_minus_L" != no; then |
| 3763 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 3764 |
|
else |
| 3765 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
| 3766 |
|
fi |
| 3767 |
|
fi |
| 3768 |
|
fi |
| 3769 |
|
fi |
| 3770 |
|
else |
| 3771 |
|
if test "X$found_a" != "X"; then |
| 3772 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
| 3773 |
|
else |
| 3774 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
| 3775 |
|
fi |
| 3776 |
|
fi |
| 3777 |
|
additional_includedir= |
| 3778 |
|
case "$found_dir" in |
| 3779 |
|
*/lib | */lib/) |
| 3780 |
|
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` |
| 3781 |
|
additional_includedir="$basedir/include" |
| 3782 |
|
;; |
| 3783 |
|
esac |
| 3784 |
|
if test "X$additional_includedir" != "X"; then |
| 3785 |
|
if test "X$additional_includedir" != "X/usr/include"; then |
| 3786 |
|
haveit= |
| 3787 |
|
if test "X$additional_includedir" = "X/usr/local/include"; then |
| 3788 |
|
if test -n "$GCC"; then |
| 3789 |
|
case $host_os in |
| 3790 |
|
linux*) haveit=yes;; |
| 3791 |
|
esac |
| 3792 |
|
fi |
| 3793 |
|
fi |
| 3794 |
|
if test -z "$haveit"; then |
| 3795 |
|
for x in $CPPFLAGS $INCICONV; do |
| 3796 |
|
|
| 3797 |
|
acl_save_prefix="$prefix" |
| 3798 |
|
prefix="$acl_final_prefix" |
| 3799 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3800 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3801 |
|
eval x=\"$x\" |
| 3802 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3803 |
|
prefix="$acl_save_prefix" |
| 3804 |
|
|
| 3805 |
|
if test "X$x" = "X-I$additional_includedir"; then |
| 3806 |
|
haveit=yes |
| 3807 |
|
break |
| 3808 |
|
fi |
| 3809 |
|
done |
| 3810 |
|
if test -z "$haveit"; then |
| 3811 |
|
if test -d "$additional_includedir"; then |
| 3812 |
|
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
| 3813 |
|
fi |
| 3814 |
|
fi |
| 3815 |
|
fi |
| 3816 |
|
fi |
| 3817 |
|
fi |
| 3818 |
|
if test -n "$found_la"; then |
| 3819 |
|
save_libdir="$libdir" |
| 3820 |
|
case "$found_la" in |
| 3821 |
|
*/* | *\\*) . "$found_la" ;; |
| 3822 |
|
*) . "./$found_la" ;; |
| 3823 |
|
esac |
| 3824 |
|
libdir="$save_libdir" |
| 3825 |
|
for dep in $dependency_libs; do |
| 3826 |
|
case "$dep" in |
| 3827 |
|
-L*) |
| 3828 |
|
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
| 3829 |
|
if test "X$additional_libdir" != "X/usr/lib"; then |
| 3830 |
|
haveit= |
| 3831 |
|
if test "X$additional_libdir" = "X/usr/local/lib"; then |
| 3832 |
|
if test -n "$GCC"; then |
| 3833 |
|
case $host_os in |
| 3834 |
|
linux*) haveit=yes;; |
| 3835 |
|
esac |
| 3836 |
|
fi |
| 3837 |
|
fi |
| 3838 |
|
if test -z "$haveit"; then |
| 3839 |
|
haveit= |
| 3840 |
|
for x in $LDFLAGS $LIBICONV; do |
| 3841 |
|
|
| 3842 |
|
acl_save_prefix="$prefix" |
| 3843 |
|
prefix="$acl_final_prefix" |
| 3844 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3845 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3846 |
|
eval x=\"$x\" |
| 3847 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3848 |
|
prefix="$acl_save_prefix" |
| 3849 |
|
|
| 3850 |
|
if test "X$x" = "X-L$additional_libdir"; then |
| 3851 |
|
haveit=yes |
| 3852 |
|
break |
| 3853 |
|
fi |
| 3854 |
|
done |
| 3855 |
|
if test -z "$haveit"; then |
| 3856 |
|
if test -d "$additional_libdir"; then |
| 3857 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
| 3858 |
|
fi |
| 3859 |
|
fi |
| 3860 |
|
haveit= |
| 3861 |
|
for x in $LDFLAGS $LTLIBICONV; do |
| 3862 |
|
|
| 3863 |
|
acl_save_prefix="$prefix" |
| 3864 |
|
prefix="$acl_final_prefix" |
| 3865 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3866 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3867 |
|
eval x=\"$x\" |
| 3868 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3869 |
|
prefix="$acl_save_prefix" |
| 3870 |
|
|
| 3871 |
|
if test "X$x" = "X-L$additional_libdir"; then |
| 3872 |
|
haveit=yes |
| 3873 |
|
break |
| 3874 |
|
fi |
| 3875 |
|
done |
| 3876 |
|
if test -z "$haveit"; then |
| 3877 |
|
if test -d "$additional_libdir"; then |
| 3878 |
|
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
| 3879 |
|
fi |
| 3880 |
|
fi |
| 3881 |
|
fi |
| 3882 |
|
fi |
| 3883 |
|
;; |
| 3884 |
|
-R*) |
| 3885 |
|
dir=`echo "X$dep" | sed -e 's/^X-R//'` |
| 3886 |
|
if test "$enable_rpath" != no; then |
| 3887 |
|
haveit= |
| 3888 |
|
for x in $rpathdirs; do |
| 3889 |
|
if test "X$x" = "X$dir"; then |
| 3890 |
|
haveit=yes |
| 3891 |
|
break |
| 3892 |
|
fi |
| 3893 |
|
done |
| 3894 |
|
if test -z "$haveit"; then |
| 3895 |
|
rpathdirs="$rpathdirs $dir" |
| 3896 |
|
fi |
| 3897 |
|
haveit= |
| 3898 |
|
for x in $ltrpathdirs; do |
| 3899 |
|
if test "X$x" = "X$dir"; then |
| 3900 |
|
haveit=yes |
| 3901 |
|
break |
| 3902 |
|
fi |
| 3903 |
|
done |
| 3904 |
|
if test -z "$haveit"; then |
| 3905 |
|
ltrpathdirs="$ltrpathdirs $dir" |
| 3906 |
|
fi |
| 3907 |
|
fi |
| 3908 |
|
;; |
| 3909 |
|
-l*) |
| 3910 |
|
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
| 3911 |
|
;; |
| 3912 |
|
*.la) |
| 3913 |
|
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
| 3914 |
|
;; |
| 3915 |
|
*) |
| 3916 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
| 3917 |
|
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
| 3918 |
|
;; |
| 3919 |
|
esac |
| 3920 |
|
done |
| 3921 |
|
fi |
| 3922 |
|
else |
| 3923 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
| 3924 |
|
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
| 3925 |
|
fi |
| 3926 |
|
fi |
| 3927 |
|
fi |
| 3928 |
|
done |
| 3929 |
|
done |
| 3930 |
|
if test "X$rpathdirs" != "X"; then |
| 3931 |
|
if test -n "$hardcode_libdir_separator"; then |
| 3932 |
|
alldirs= |
| 3933 |
|
for found_dir in $rpathdirs; do |
| 3934 |
|
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" |
| 3935 |
|
done |
| 3936 |
|
acl_save_libdir="$libdir" |
| 3937 |
|
libdir="$alldirs" |
| 3938 |
|
eval flag=\"$hardcode_libdir_flag_spec\" |
| 3939 |
|
libdir="$acl_save_libdir" |
| 3940 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 3941 |
|
else |
| 3942 |
|
for found_dir in $rpathdirs; do |
| 3943 |
|
acl_save_libdir="$libdir" |
| 3944 |
|
libdir="$found_dir" |
| 3945 |
|
eval flag=\"$hardcode_libdir_flag_spec\" |
| 3946 |
|
libdir="$acl_save_libdir" |
| 3947 |
|
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 3948 |
|
done |
| 3949 |
|
fi |
| 3950 |
|
fi |
| 3951 |
|
if test "X$ltrpathdirs" != "X"; then |
| 3952 |
|
for found_dir in $ltrpathdirs; do |
| 3953 |
|
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
| 3954 |
|
done |
| 3955 |
|
fi |
| 3956 |
|
|
| 3957 |
|
|
| 3958 |
|
|
| 3959 |
|
|
| 3960 |
|
|
| 3961 |
|
|
| 3962 |
|
|
| 3963 |
|
|
| 3964 |
|
am_save_CPPFLAGS="$CPPFLAGS" |
| 3965 |
|
|
| 3966 |
|
for element in $INCICONV; do |
| 3967 |
|
haveit= |
| 3968 |
|
for x in $CPPFLAGS; do |
| 3969 |
|
|
| 3970 |
|
acl_save_prefix="$prefix" |
| 3971 |
|
prefix="$acl_final_prefix" |
| 3972 |
|
acl_save_exec_prefix="$exec_prefix" |
| 3973 |
|
exec_prefix="$acl_final_exec_prefix" |
| 3974 |
|
eval x=\"$x\" |
| 3975 |
|
exec_prefix="$acl_save_exec_prefix" |
| 3976 |
|
prefix="$acl_save_prefix" |
| 3977 |
|
|
| 3978 |
|
if test "X$x" = "X$element"; then |
| 3979 |
|
haveit=yes |
| 3980 |
|
break |
| 3981 |
|
fi |
| 3982 |
|
done |
| 3983 |
|
if test -z "$haveit"; then |
| 3984 |
|
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
| 3985 |
|
fi |
| 3986 |
|
done |
| 3987 |
|
|
| 3988 |
|
|
| 3989 |
|
echo "$as_me:$LINENO: checking for iconv" >&5 |
| 3990 |
|
echo $ECHO_N "checking for iconv... $ECHO_C" >&6 |
| 3991 |
|
if test "${am_cv_func_iconv+set}" = set; then |
| 3992 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3993 |
|
else |
| 3994 |
|
|
| 3995 |
|
am_cv_func_iconv="no, consider installing GNU libiconv" |
| 3996 |
|
am_cv_lib_iconv=no |
| 3997 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3998 |
|
/* confdefs.h. */ |
| 3999 |
|
_ACEOF |
| 4000 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4001 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4002 |
|
/* end confdefs.h. */ |
| 4003 |
|
#include <stdlib.h> |
| 4004 |
|
#include <iconv.h> |
| 4005 |
|
int |
| 4006 |
|
main () |
| 4007 |
|
{ |
| 4008 |
|
iconv_t cd = iconv_open("",""); |
| 4009 |
|
iconv(cd,NULL,NULL,NULL,NULL); |
| 4010 |
|
iconv_close(cd); |
| 4011 |
|
; |
| 4012 |
|
return 0; |
| 4013 |
|
} |
| 4014 |
|
_ACEOF |
| 4015 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4016 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4017 |
|
(eval $ac_link) 2>conftest.er1 |
| 4018 |
|
ac_status=$? |
| 4019 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4020 |
|
rm -f conftest.er1 |
| 4021 |
|
cat conftest.err >&5 |
| 4022 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4023 |
|
(exit $ac_status); } && |
| 4024 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 4025 |
|
|| test ! -s conftest.err' |
| 4026 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4027 |
|
(eval $ac_try) 2>&5 |
| 4028 |
|
ac_status=$? |
| 4029 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4030 |
|
(exit $ac_status); }; } && |
| 4031 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 4032 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4033 |
|
(eval $ac_try) 2>&5 |
| 4034 |
|
ac_status=$? |
| 4035 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4036 |
|
(exit $ac_status); }; }; then |
| 4037 |
|
am_cv_func_iconv=yes |
| 4038 |
|
else |
| 4039 |
|
echo "$as_me: failed program was:" >&5 |
| 4040 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4041 |
|
|
| 4042 |
|
fi |
| 4043 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 4044 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4045 |
|
if test "$am_cv_func_iconv" != yes; then |
| 4046 |
|
am_save_LIBS="$LIBS" |
| 4047 |
|
LIBS="$LIBS $LIBICONV" |
| 4048 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4049 |
|
/* confdefs.h. */ |
| 4050 |
|
_ACEOF |
| 4051 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4052 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4053 |
|
/* end confdefs.h. */ |
| 4054 |
|
#include <stdlib.h> |
| 4055 |
|
#include <iconv.h> |
| 4056 |
|
int |
| 4057 |
|
main () |
| 4058 |
|
{ |
| 4059 |
|
iconv_t cd = iconv_open("",""); |
| 4060 |
|
iconv(cd,NULL,NULL,NULL,NULL); |
| 4061 |
|
iconv_close(cd); |
| 4062 |
|
; |
| 4063 |
|
return 0; |
| 4064 |
|
} |
| 4065 |
|
_ACEOF |
| 4066 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4067 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4068 |
|
(eval $ac_link) 2>conftest.er1 |
| 4069 |
|
ac_status=$? |
| 4070 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4071 |
|
rm -f conftest.er1 |
| 4072 |
|
cat conftest.err >&5 |
| 4073 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4074 |
|
(exit $ac_status); } && |
| 4075 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 4076 |
|
|| test ! -s conftest.err' |
| 4077 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4078 |
|
(eval $ac_try) 2>&5 |
| 4079 |
|
ac_status=$? |
| 4080 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4081 |
|
(exit $ac_status); }; } && |
| 4082 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 4083 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4084 |
|
(eval $ac_try) 2>&5 |
| 4085 |
|
ac_status=$? |
| 4086 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4087 |
|
(exit $ac_status); }; }; then |
| 4088 |
|
am_cv_lib_iconv=yes |
| 4089 |
|
am_cv_func_iconv=yes |
| 4090 |
|
else |
| 4091 |
|
echo "$as_me: failed program was:" >&5 |
| 4092 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4093 |
|
|
| 4094 |
|
fi |
| 4095 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 4096 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4097 |
|
LIBS="$am_save_LIBS" |
| 4098 |
|
fi |
| 4099 |
|
|
| 4100 |
|
fi |
| 4101 |
|
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 |
| 4102 |
|
echo "${ECHO_T}$am_cv_func_iconv" >&6 |
| 4103 |
|
if test "$am_cv_func_iconv" = yes; then |
| 4104 |
|
|
| 4105 |
|
cat >>confdefs.h <<\_ACEOF |
| 4106 |
|
#define HAVE_ICONV 1 |
| 4107 |
|
_ACEOF |
| 4108 |
|
|
| 4109 |
|
fi |
| 4110 |
|
if test "$am_cv_lib_iconv" = yes; then |
| 4111 |
|
echo "$as_me:$LINENO: checking how to link with libiconv" >&5 |
| 4112 |
|
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 |
| 4113 |
|
echo "$as_me:$LINENO: result: $LIBICONV" >&5 |
| 4114 |
|
echo "${ECHO_T}$LIBICONV" >&6 |
| 4115 |
|
else |
| 4116 |
|
CPPFLAGS="$am_save_CPPFLAGS" |
| 4117 |
|
LIBICONV= |
| 4118 |
|
LTLIBICONV= |
| 4119 |
|
fi |
| 4120 |
|
|
| 4121 |
|
|
| 4122 |
|
|
| 4123 |
|
if test "$am_cv_func_iconv" = yes; then |
| 4124 |
|
echo "$as_me:$LINENO: checking for iconv declaration" >&5 |
| 4125 |
|
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 |
| 4126 |
|
if test "${am_cv_proto_iconv+set}" = set; then |
| 4127 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4128 |
|
else |
| 4129 |
|
|
| 4130 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 4131 |
|
/* confdefs.h. */ |
| 4132 |
|
_ACEOF |
| 4133 |
|
cat confdefs.h >>conftest.$ac_ext |
| 4134 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4135 |
|
/* end confdefs.h. */ |
| 4136 |
|
|
| 4137 |
|
#include <stdlib.h> |
| 4138 |
|
#include <iconv.h> |
| 4139 |
|
extern |
| 4140 |
|
#ifdef __cplusplus |
| 4141 |
|
"C" |
| 4142 |
|
#endif |
| 4143 |
|
#if defined(__STDC__) || defined(__cplusplus) |
| 4144 |
|
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); |
| 4145 |
|
#else |
| 4146 |
|
size_t iconv(); |
| 4147 |
|
#endif |
| 4148 |
|
|
| 4149 |
|
int |
| 4150 |
|
main () |
| 4151 |
|
{ |
| 4152 |
|
|
| 4153 |
|
; |
| 4154 |
|
return 0; |
| 4155 |
|
} |
| 4156 |
|
_ACEOF |
| 4157 |
|
rm -f conftest.$ac_objext |
| 4158 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4159 |
|
(eval $ac_compile) 2>conftest.er1 |
| 4160 |
|
ac_status=$? |
| 4161 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4162 |
|
rm -f conftest.er1 |
| 4163 |
|
cat conftest.err >&5 |
| 4164 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4165 |
|
(exit $ac_status); } && |
| 4166 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 4167 |
|
|| test ! -s conftest.err' |
| 4168 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4169 |
|
(eval $ac_try) 2>&5 |
| 4170 |
|
ac_status=$? |
| 4171 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4172 |
|
(exit $ac_status); }; } && |
| 4173 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 4174 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4175 |
|
(eval $ac_try) 2>&5 |
| 4176 |
|
ac_status=$? |
| 4177 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4178 |
|
(exit $ac_status); }; }; then |
| 4179 |
|
am_cv_proto_iconv_arg1="" |
| 4180 |
|
else |
| 4181 |
|
echo "$as_me: failed program was:" >&5 |
| 4182 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4183 |
|
|
| 4184 |
|
am_cv_proto_iconv_arg1="const" |
| 4185 |
|
fi |
| 4186 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4187 |
|
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);" |
| 4188 |
|
fi |
| 4189 |
|
|
| 4190 |
|
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` |
| 4191 |
|
echo "$as_me:$LINENO: result: ${ac_t:- |
| 4192 |
|
}$am_cv_proto_iconv" >&5 |
| 4193 |
|
echo "${ECHO_T}${ac_t:- |
| 4194 |
|
}$am_cv_proto_iconv" >&6 |
| 4195 |
|
|
| 4196 |
|
cat >>confdefs.h <<_ACEOF |
| 4197 |
|
#define ICONV_CONST $am_cv_proto_iconv_arg1 |
| 4198 |
|
_ACEOF |
| 4199 |
|
|
| 4200 |
|
fi |
| 4201 |
|
|
| 4202 |
|
|
| 4203 |
# Checks for header files. |
# Checks for header files. |
| 4204 |
|
|
| 4205 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
|
|
|
| 4206 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 4207 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 4208 |
if test "${ac_cv_c_const+set}" = set; then |
if test "${ac_cv_c_const+set}" = set; then |
| 5853 |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
s,@CCDEPMODE@,$CCDEPMODE,;t t |
| 5854 |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
| 5855 |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
| 5856 |
|
s,@LIBICONV@,$LIBICONV,;t t |
| 5857 |
|
s,@LTLIBICONV@,$LTLIBICONV,;t t |
| 5858 |
s,@CPP@,$CPP,;t t |
s,@CPP@,$CPP,;t t |
| 5859 |
s,@EGREP@,$EGREP,;t t |
s,@EGREP@,$EGREP,;t t |
| 5860 |
s,@LIBOBJS@,$LIBOBJS,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |