3336
# Checks for libraries.
3338
echo "$as_me:$LINENO: checking for pcap_lookupdev in -lpcap" >&5
3339
echo $ECHO_N "checking for pcap_lookupdev in -lpcap... $ECHO_C" >&6
3340
if test "${ac_cv_lib_pcap_pcap_lookupdev+set}" = set; then
3341
echo $ECHO_N "(cached) $ECHO_C" >&6
3343
ac_check_lib_save_LIBS=$LIBS
3345
cat >conftest.$ac_ext <<_ACEOF
3348
cat confdefs.h >>conftest.$ac_ext
3349
cat >>conftest.$ac_ext <<_ACEOF
3350
/* end confdefs.h. */
3352
/* Override any gcc2 internal prototype to avoid an error. */
3356
/* We use char because int might match the return type of a gcc2
3357
builtin and then its argument prototype would still apply. */
3358
char pcap_lookupdev ();
3367
rm -f conftest.$ac_objext conftest$ac_exeext
3368
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3369
(eval $ac_link) 2>conftest.er1
3371
grep -v '^ *+' conftest.er1 >conftest.err
3373
cat conftest.err >&5
3374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375
(exit $ac_status); } &&
3376
{ ac_try='test -z "$ac_c_werror_flag"
3377
|| test ! -s conftest.err'
3378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382
(exit $ac_status); }; } &&
3383
{ ac_try='test -s conftest$ac_exeext'
3384
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388
(exit $ac_status); }; }; then
3389
ac_cv_lib_pcap_pcap_lookupdev=yes
3391
echo "$as_me: failed program was:" >&5
3392
sed 's/^/| /' conftest.$ac_ext >&5
3394
ac_cv_lib_pcap_pcap_lookupdev=no
3396
rm -f conftest.err conftest.$ac_objext \
3397
conftest$ac_exeext conftest.$ac_ext
3398
LIBS=$ac_check_lib_save_LIBS
3400
echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_lookupdev" >&5
3401
echo "${ECHO_T}$ac_cv_lib_pcap_pcap_lookupdev" >&6
3402
if test $ac_cv_lib_pcap_pcap_lookupdev = yes; then
3403
cat >>confdefs.h <<_ACEOF
3404
#define HAVE_LIBPCAP 1
3357
if test -n "$ac_aux_dir"; then
3358
case "$ac_aux_dir" in
3359
/*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3360
*) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3363
if test -z "$MKINSTALLDIRS"; then
3364
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3369
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3370
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3371
# Check whether --enable-nls or --disable-nls was given.
3372
if test "${enable_nls+set}" = set; then
3373
enableval="$enable_nls"
3378
echo "$as_me:$LINENO: result: $USE_NLS" >&5
3379
echo "${ECHO_T}$USE_NLS" >&6
3386
# Prepare PATH_SEPARATOR.
3387
# The user is always right.
3388
if test "${PATH_SEPARATOR+set}" != set; then
3389
echo "#! /bin/sh" >conf$$.sh
3390
echo "exit 0" >>conf$$.sh
3392
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3400
# Find out how to test for executable files. Don't use a zero-byte file,
3401
# as systems may use methods other than mode bits to determine executability.
3402
cat >conf$$.file <<_ASEOF
3406
chmod +x conf$$.file
3407
if test -x conf$$.file >/dev/null 2>&1; then
3408
ac_executable_p="test -x"
3410
ac_executable_p="test -f"
3414
# Extract the first word of "msgfmt", so it can be a program name with args.
3415
set dummy msgfmt; ac_word=$2
3416
echo "$as_me:$LINENO: checking for $ac_word" >&5
3417
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3418
if test "${ac_cv_path_MSGFMT+set}" = set; then
3419
echo $ECHO_N "(cached) $ECHO_C" >&6
3423
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3426
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3427
for ac_dir in $PATH; do
3429
test -z "$ac_dir" && ac_dir=.
3430
for ac_exec_ext in '' $ac_executable_extensions; do
3431
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3432
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3433
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3434
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3441
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3445
MSGFMT="$ac_cv_path_MSGFMT"
3446
if test "$MSGFMT" != ":"; then
3447
echo "$as_me:$LINENO: result: $MSGFMT" >&5
3448
echo "${ECHO_T}$MSGFMT" >&6
3450
echo "$as_me:$LINENO: result: no" >&5
3451
echo "${ECHO_T}no" >&6
3454
# Extract the first word of "gmsgfmt", so it can be a program name with args.
3455
set dummy gmsgfmt; ac_word=$2
3456
echo "$as_me:$LINENO: checking for $ac_word" >&5
3457
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458
if test "${ac_cv_path_GMSGFMT+set}" = set; then
3459
echo $ECHO_N "(cached) $ECHO_C" >&6
3463
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470
test -z "$as_dir" && as_dir=.
3471
for ac_exec_ext in '' $ac_executable_extensions; do
3472
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3474
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3480
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3484
GMSGFMT=$ac_cv_path_GMSGFMT
3486
if test -n "$GMSGFMT"; then
3487
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3488
echo "${ECHO_T}$GMSGFMT" >&6
3490
echo "$as_me:$LINENO: result: no" >&5
3491
echo "${ECHO_T}no" >&6
3496
# Prepare PATH_SEPARATOR.
3497
# The user is always right.
3498
if test "${PATH_SEPARATOR+set}" != set; then
3499
echo "#! /bin/sh" >conf$$.sh
3500
echo "exit 0" >>conf$$.sh
3502
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3510
# Find out how to test for executable files. Don't use a zero-byte file,
3511
# as systems may use methods other than mode bits to determine executability.
3512
cat >conf$$.file <<_ASEOF
3516
chmod +x conf$$.file
3517
if test -x conf$$.file >/dev/null 2>&1; then
3518
ac_executable_p="test -x"
3520
ac_executable_p="test -f"
3524
# Extract the first word of "xgettext", so it can be a program name with args.
3525
set dummy xgettext; ac_word=$2
3526
echo "$as_me:$LINENO: checking for $ac_word" >&5
3527
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3528
if test "${ac_cv_path_XGETTEXT+set}" = set; then
3529
echo $ECHO_N "(cached) $ECHO_C" >&6
3533
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3536
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3537
for ac_dir in $PATH; do
3539
test -z "$ac_dir" && ac_dir=.
3540
for ac_exec_ext in '' $ac_executable_extensions; do
3541
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3542
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
3543
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3544
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3551
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3555
XGETTEXT="$ac_cv_path_XGETTEXT"
3556
if test "$XGETTEXT" != ":"; then
3557
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3558
echo "${ECHO_T}$XGETTEXT" >&6
3560
echo "$as_me:$LINENO: result: no" >&5
3561
echo "${ECHO_T}no" >&6
3567
# Prepare PATH_SEPARATOR.
3568
# The user is always right.
3569
if test "${PATH_SEPARATOR+set}" != set; then
3570
echo "#! /bin/sh" >conf$$.sh
3571
echo "exit 0" >>conf$$.sh
3573
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3581
# Find out how to test for executable files. Don't use a zero-byte file,
3582
# as systems may use methods other than mode bits to determine executability.
3583
cat >conf$$.file <<_ASEOF
3587
chmod +x conf$$.file
3588
if test -x conf$$.file >/dev/null 2>&1; then
3589
ac_executable_p="test -x"
3591
ac_executable_p="test -f"
3595
# Extract the first word of "msgmerge", so it can be a program name with args.
3596
set dummy msgmerge; ac_word=$2
3597
echo "$as_me:$LINENO: checking for $ac_word" >&5
3598
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3599
if test "${ac_cv_path_MSGMERGE+set}" = set; then
3600
echo $ECHO_N "(cached) $ECHO_C" >&6
3604
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3607
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3608
for ac_dir in $PATH; do
3610
test -z "$ac_dir" && ac_dir=.
3611
for ac_exec_ext in '' $ac_executable_extensions; do
3612
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3613
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
3614
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3621
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3625
MSGMERGE="$ac_cv_path_MSGMERGE"
3626
if test "$MSGMERGE" != ":"; then
3627
echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3628
echo "${ECHO_T}$MSGMERGE" >&6
3630
echo "$as_me:$LINENO: result: no" >&5
3631
echo "${ECHO_T}no" >&6
3635
if test "$GMSGFMT" != ":"; then
3636
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
3637
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3640
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3641
echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3642
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
3647
if test "$XGETTEXT" != ":"; then
3648
if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
3649
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3652
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
3653
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
3659
ac_config_commands="$ac_config_commands default-1"
3663
if test "X$prefix" = "XNONE"; then
3664
acl_final_prefix="$ac_default_prefix"
3666
acl_final_prefix="$prefix"
3668
if test "X$exec_prefix" = "XNONE"; then
3669
acl_final_exec_prefix='${prefix}'
3671
acl_final_exec_prefix="$exec_prefix"
3673
acl_save_prefix="$prefix"
3674
prefix="$acl_final_prefix"
3675
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3676
prefix="$acl_save_prefix"
3678
# Make sure we can run config.sub.
3679
$ac_config_sub sun4 >/dev/null 2>&1 ||
3680
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3681
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3682
{ (exit 1); exit 1; }; }
3684
echo "$as_me:$LINENO: checking build system type" >&5
3685
echo $ECHO_N "checking build system type... $ECHO_C" >&6
3686
if test "${ac_cv_build+set}" = set; then
3687
echo $ECHO_N "(cached) $ECHO_C" >&6
3689
ac_cv_build_alias=$build_alias
3690
test -z "$ac_cv_build_alias" &&
3691
ac_cv_build_alias=`$ac_config_guess`
3692
test -z "$ac_cv_build_alias" &&
3693
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3694
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3695
{ (exit 1); exit 1; }; }
3696
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3697
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3698
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3699
{ (exit 1); exit 1; }; }
3702
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3703
echo "${ECHO_T}$ac_cv_build" >&6
3705
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3706
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3707
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3710
echo "$as_me:$LINENO: checking host system type" >&5
3711
echo $ECHO_N "checking host system type... $ECHO_C" >&6
3712
if test "${ac_cv_host+set}" = set; then
3713
echo $ECHO_N "(cached) $ECHO_C" >&6
3715
ac_cv_host_alias=$host_alias
3716
test -z "$ac_cv_host_alias" &&
3717
ac_cv_host_alias=$ac_cv_build_alias
3718
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3719
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3720
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3721
{ (exit 1); exit 1; }; }
3724
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3725
echo "${ECHO_T}$ac_cv_host" >&6
3727
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3728
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3729
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3733
# Check whether --with-gnu-ld or --without-gnu-ld was given.
3734
if test "${with_gnu_ld+set}" = set; then
3735
withval="$with_gnu_ld"
3736
test "$withval" = no || with_gnu_ld=yes
3740
# Prepare PATH_SEPARATOR.
3741
# The user is always right.
3742
if test "${PATH_SEPARATOR+set}" != set; then
3743
echo "#! /bin/sh" >conf$$.sh
3744
echo "exit 0" >>conf$$.sh
3746
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3754
if test "$GCC" = yes; then
3755
# Check if gcc -print-prog-name=ld gives a path.
3756
echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3757
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3760
# gcc leaves a trailing carriage return which upsets mingw
3761
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3763
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3766
# Accept absolute paths.
3767
[\\/]* | [A-Za-z]:[\\/]*)
3768
re_direlt='/[^/][^/]*/\.\./'
3769
# Canonicalize the path of ld
3770
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3771
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3772
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3774
test -z "$LD" && LD="$ac_prog"
3777
# If it fails, then pretend we aren't using GCC.
3781
# If it is relative, then search for the first ld in PATH.
3785
elif test "$with_gnu_ld" = yes; then
3786
echo "$as_me:$LINENO: checking for GNU ld" >&5
3787
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3789
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3790
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3792
if test "${acl_cv_path_LD+set}" = set; then
3793
echo $ECHO_N "(cached) $ECHO_C" >&6
3795
if test -z "$LD"; then
3796
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3797
for ac_dir in $PATH; do
3798
test -z "$ac_dir" && ac_dir=.
3799
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3800
acl_cv_path_LD="$ac_dir/$ac_prog"
3801
# Check to see if the program is GNU ld. I'd rather use --version,
3802
# but apparently some GNU ld's only accept -v.
3803
# Break only if it was the GNU/non-GNU ld that we prefer.
3804
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3805
test "$with_gnu_ld" != no && break
3807
test "$with_gnu_ld" != yes && break
3813
acl_cv_path_LD="$LD" # Let the user override the test with a path.
3817
LD="$acl_cv_path_LD"
3818
if test -n "$LD"; then
3819
echo "$as_me:$LINENO: result: $LD" >&5
3820
echo "${ECHO_T}$LD" >&6
3822
echo "$as_me:$LINENO: result: no" >&5
3823
echo "${ECHO_T}no" >&6
3825
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3826
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3827
{ (exit 1); exit 1; }; }
3828
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3829
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3830
if test "${acl_cv_prog_gnu_ld+set}" = set; then
3831
echo $ECHO_N "(cached) $ECHO_C" >&6
3833
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
3834
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3835
acl_cv_prog_gnu_ld=yes
3837
acl_cv_prog_gnu_ld=no
3840
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3841
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3842
with_gnu_ld=$acl_cv_prog_gnu_ld
3846
echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3847
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3848
if test "${acl_cv_rpath+set}" = set; then
3849
echo $ECHO_N "(cached) $ECHO_C" >&6
3852
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3853
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3859
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3860
echo "${ECHO_T}$acl_cv_rpath" >&6
3862
libext="$acl_cv_libext"
3863
shlibext="$acl_cv_shlibext"
3864
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3865
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3866
hardcode_direct="$acl_cv_hardcode_direct"
3867
hardcode_minus_L="$acl_cv_hardcode_minus_L"
3868
# Check whether --enable-rpath or --disable-rpath was given.
3869
if test "${enable_rpath+set}" = set; then
3870
enableval="$enable_rpath"
3884
acl_save_prefix="$prefix"
3885
prefix="$acl_final_prefix"
3886
acl_save_exec_prefix="$exec_prefix"
3887
exec_prefix="$acl_final_exec_prefix"
3889
eval additional_includedir=\"$includedir\"
3890
eval additional_libdir=\"$libdir\"
3892
exec_prefix="$acl_save_exec_prefix"
3893
prefix="$acl_save_prefix"
3896
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3897
if test "${with_libiconv_prefix+set}" = set; then
3898
withval="$with_libiconv_prefix"
3900
if test "X$withval" = "Xno"; then
3903
if test "X$withval" = "X"; then
3905
acl_save_prefix="$prefix"
3906
prefix="$acl_final_prefix"
3907
acl_save_exec_prefix="$exec_prefix"
3908
exec_prefix="$acl_final_exec_prefix"
3910
eval additional_includedir=\"$includedir\"
3911
eval additional_libdir=\"$libdir\"
3913
exec_prefix="$acl_save_exec_prefix"
3914
prefix="$acl_save_prefix"
3917
additional_includedir="$withval/include"
3918
additional_libdir="$withval/lib"
3928
names_already_handled=
3929
names_next_round='iconv '
3930
while test -n "$names_next_round"; do
3931
names_this_round="$names_next_round"
3933
for name in $names_this_round; do
3935
for n in $names_already_handled; do
3936
if test "$n" = "$name"; then
3941
if test -z "$already_handled"; then
3942
names_already_handled="$names_already_handled $name"
3943
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3944
eval value=\"\$HAVE_LIB$uppername\"
3945
if test -n "$value"; then
3946
if test "$value" = yes; then
3947
eval value=\"\$LIB$uppername\"
3948
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3949
eval value=\"\$LTLIB$uppername\"
3950
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3959
if test $use_additional = yes; then
3960
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3961
found_dir="$additional_libdir"
3962
found_so="$additional_libdir/lib$name.$shlibext"
3963
if test -f "$additional_libdir/lib$name.la"; then
3964
found_la="$additional_libdir/lib$name.la"
3967
if test -f "$additional_libdir/lib$name.$libext"; then
3968
found_dir="$additional_libdir"
3969
found_a="$additional_libdir/lib$name.$libext"
3970
if test -f "$additional_libdir/lib$name.la"; then
3971
found_la="$additional_libdir/lib$name.la"
3976
if test "X$found_dir" = "X"; then
3977
for x in $LDFLAGS $LTLIBICONV; do
3979
acl_save_prefix="$prefix"
3980
prefix="$acl_final_prefix"
3981
acl_save_exec_prefix="$exec_prefix"
3982
exec_prefix="$acl_final_exec_prefix"
3984
exec_prefix="$acl_save_exec_prefix"
3985
prefix="$acl_save_prefix"
3989
dir=`echo "X$x" | sed -e 's/^X-L//'`
3990
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3992
found_so="$dir/lib$name.$shlibext"
3993
if test -f "$dir/lib$name.la"; then
3994
found_la="$dir/lib$name.la"
3997
if test -f "$dir/lib$name.$libext"; then
3999
found_a="$dir/lib$name.$libext"
4000
if test -f "$dir/lib$name.la"; then
4001
found_la="$dir/lib$name.la"
4007
if test "X$found_dir" != "X"; then
4012
if test "X$found_dir" != "X"; then
4013
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4014
if test "X$found_so" != "X"; then
4015
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4016
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4019
for x in $ltrpathdirs; do
4020
if test "X$x" = "X$found_dir"; then
4025
if test -z "$haveit"; then
4026
ltrpathdirs="$ltrpathdirs $found_dir"
4028
if test "$hardcode_direct" = yes; then
4029
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4031
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4032
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4034
for x in $rpathdirs; do
4035
if test "X$x" = "X$found_dir"; then
4040
if test -z "$haveit"; then
4041
rpathdirs="$rpathdirs $found_dir"
4045
for x in $LDFLAGS $LIBICONV; do
4047
acl_save_prefix="$prefix"
4048
prefix="$acl_final_prefix"
4049
acl_save_exec_prefix="$exec_prefix"
4050
exec_prefix="$acl_final_exec_prefix"
4052
exec_prefix="$acl_save_exec_prefix"
4053
prefix="$acl_save_prefix"
4055
if test "X$x" = "X-L$found_dir"; then
4060
if test -z "$haveit"; then
4061
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4063
if test "$hardcode_minus_L" != no; then
4064
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4066
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4072
if test "X$found_a" != "X"; then
4073
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4075
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4078
additional_includedir=
4079
case "$found_dir" in
4081
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4082
additional_includedir="$basedir/include"
4085
if test "X$additional_includedir" != "X"; then
4086
if test "X$additional_includedir" != "X/usr/include"; then
4088
if test "X$additional_includedir" = "X/usr/local/include"; then
4089
if test -n "$GCC"; then
4091
linux*) haveit=yes;;
4095
if test -z "$haveit"; then
4096
for x in $CPPFLAGS $INCICONV; do
4098
acl_save_prefix="$prefix"
4099
prefix="$acl_final_prefix"
4100
acl_save_exec_prefix="$exec_prefix"
4101
exec_prefix="$acl_final_exec_prefix"
4103
exec_prefix="$acl_save_exec_prefix"
4104
prefix="$acl_save_prefix"
4106
if test "X$x" = "X-I$additional_includedir"; then
4111
if test -z "$haveit"; then
4112
if test -d "$additional_includedir"; then
4113
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4119
if test -n "$found_la"; then
4120
save_libdir="$libdir"
4122
*/* | *\\*) . "$found_la" ;;
4123
*) . "./$found_la" ;;
4125
libdir="$save_libdir"
4126
for dep in $dependency_libs; do
4129
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4130
if test "X$additional_libdir" != "X/usr/lib"; then
4132
if test "X$additional_libdir" = "X/usr/local/lib"; then
4133
if test -n "$GCC"; then
4135
linux*) haveit=yes;;
4139
if test -z "$haveit"; then
4141
for x in $LDFLAGS $LIBICONV; do
4143
acl_save_prefix="$prefix"
4144
prefix="$acl_final_prefix"
4145
acl_save_exec_prefix="$exec_prefix"
4146
exec_prefix="$acl_final_exec_prefix"
4148
exec_prefix="$acl_save_exec_prefix"
4149
prefix="$acl_save_prefix"
4151
if test "X$x" = "X-L$additional_libdir"; then
4156
if test -z "$haveit"; then
4157
if test -d "$additional_libdir"; then
4158
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4162
for x in $LDFLAGS $LTLIBICONV; do
4164
acl_save_prefix="$prefix"
4165
prefix="$acl_final_prefix"
4166
acl_save_exec_prefix="$exec_prefix"
4167
exec_prefix="$acl_final_exec_prefix"
4169
exec_prefix="$acl_save_exec_prefix"
4170
prefix="$acl_save_prefix"
4172
if test "X$x" = "X-L$additional_libdir"; then
4177
if test -z "$haveit"; then
4178
if test -d "$additional_libdir"; then
4179
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4186
dir=`echo "X$dep" | sed -e 's/^X-R//'`
4187
if test "$enable_rpath" != no; then
4189
for x in $rpathdirs; do
4190
if test "X$x" = "X$dir"; then
4195
if test -z "$haveit"; then
4196
rpathdirs="$rpathdirs $dir"
4199
for x in $ltrpathdirs; do
4200
if test "X$x" = "X$dir"; then
4205
if test -z "$haveit"; then
4206
ltrpathdirs="$ltrpathdirs $dir"
4211
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4214
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4217
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4218
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4224
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4225
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4231
if test "X$rpathdirs" != "X"; then
4232
if test -n "$hardcode_libdir_separator"; then
4234
for found_dir in $rpathdirs; do
4235
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4237
acl_save_libdir="$libdir"
4239
eval flag=\"$hardcode_libdir_flag_spec\"
4240
libdir="$acl_save_libdir"
4241
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4243
for found_dir in $rpathdirs; do
4244
acl_save_libdir="$libdir"
4246
eval flag=\"$hardcode_libdir_flag_spec\"
4247
libdir="$acl_save_libdir"
4248
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4252
if test "X$ltrpathdirs" != "X"; then
4253
for found_dir in $ltrpathdirs; do
4254
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4275
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4276
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4277
# Check whether --enable-nls or --disable-nls was given.
4278
if test "${enable_nls+set}" = set; then
4279
enableval="$enable_nls"
4284
echo "$as_me:$LINENO: result: $USE_NLS" >&5
4285
echo "${ECHO_T}$USE_NLS" >&6
4294
if test "$USE_NLS" = "yes"; then
4295
gt_use_preinstalled_gnugettext=no
4302
echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
4303
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4304
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4305
echo $ECHO_N "(cached) $ECHO_C" >&6
4307
cat >conftest.$ac_ext <<_ACEOF
4310
cat confdefs.h >>conftest.$ac_ext
4311
cat >>conftest.$ac_ext <<_ACEOF
4312
/* end confdefs.h. */
4313
#include <libintl.h>
4314
extern int _nl_msg_cat_cntr;
4315
extern int *_nl_domain_bindings;
4319
bindtextdomain ("", "");
4320
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4325
rm -f conftest.$ac_objext conftest$ac_exeext
4326
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4327
(eval $ac_link) 2>conftest.er1
4329
grep -v '^ *+' conftest.er1 >conftest.err
4331
cat conftest.err >&5
4332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333
(exit $ac_status); } &&
4334
{ ac_try='test -z "$ac_c_werror_flag"
4335
|| test ! -s conftest.err'
4336
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340
(exit $ac_status); }; } &&
4341
{ ac_try='test -s conftest$ac_exeext'
4342
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346
(exit $ac_status); }; }; then
4347
gt_cv_func_gnugettext1_libc=yes
4349
echo "$as_me: failed program was:" >&5
4350
sed 's/^/| /' conftest.$ac_ext >&5
4352
gt_cv_func_gnugettext1_libc=no
4354
rm -f conftest.err conftest.$ac_objext \
4355
conftest$ac_exeext conftest.$ac_ext
4357
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4358
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
4360
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4366
am_save_CPPFLAGS="$CPPFLAGS"
4368
for element in $INCICONV; do
4370
for x in $CPPFLAGS; do
4372
acl_save_prefix="$prefix"
4373
prefix="$acl_final_prefix"
4374
acl_save_exec_prefix="$exec_prefix"
4375
exec_prefix="$acl_final_exec_prefix"
4377
exec_prefix="$acl_save_exec_prefix"
4378
prefix="$acl_save_prefix"
4380
if test "X$x" = "X$element"; then
4385
if test -z "$haveit"; then
4386
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4391
echo "$as_me:$LINENO: checking for iconv" >&5
4392
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4393
if test "${am_cv_func_iconv+set}" = set; then
4394
echo $ECHO_N "(cached) $ECHO_C" >&6
4397
am_cv_func_iconv="no, consider installing GNU libiconv"
4399
cat >conftest.$ac_ext <<_ACEOF
4402
cat confdefs.h >>conftest.$ac_ext
4403
cat >>conftest.$ac_ext <<_ACEOF
4404
/* end confdefs.h. */
4410
iconv_t cd = iconv_open("","");
4411
iconv(cd,NULL,NULL,NULL,NULL);
4417
rm -f conftest.$ac_objext conftest$ac_exeext
4418
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4419
(eval $ac_link) 2>conftest.er1
4421
grep -v '^ *+' conftest.er1 >conftest.err
4423
cat conftest.err >&5
4424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
(exit $ac_status); } &&
4426
{ ac_try='test -z "$ac_c_werror_flag"
4427
|| test ! -s conftest.err'
4428
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432
(exit $ac_status); }; } &&
4433
{ ac_try='test -s conftest$ac_exeext'
4434
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438
(exit $ac_status); }; }; then
4439
am_cv_func_iconv=yes
4441
echo "$as_me: failed program was:" >&5
4442
sed 's/^/| /' conftest.$ac_ext >&5
4445
rm -f conftest.err conftest.$ac_objext \
4446
conftest$ac_exeext conftest.$ac_ext
4447
if test "$am_cv_func_iconv" != yes; then
4448
am_save_LIBS="$LIBS"
4449
LIBS="$LIBS $LIBICONV"
4450
cat >conftest.$ac_ext <<_ACEOF
4453
cat confdefs.h >>conftest.$ac_ext
4454
cat >>conftest.$ac_ext <<_ACEOF
4455
/* end confdefs.h. */
4461
iconv_t cd = iconv_open("","");
4462
iconv(cd,NULL,NULL,NULL,NULL);
4468
rm -f conftest.$ac_objext conftest$ac_exeext
4469
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4470
(eval $ac_link) 2>conftest.er1
4472
grep -v '^ *+' conftest.er1 >conftest.err
4474
cat conftest.err >&5
4475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476
(exit $ac_status); } &&
4477
{ ac_try='test -z "$ac_c_werror_flag"
4478
|| test ! -s conftest.err'
4479
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483
(exit $ac_status); }; } &&
4484
{ ac_try='test -s conftest$ac_exeext'
4485
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489
(exit $ac_status); }; }; then
4491
am_cv_func_iconv=yes
4493
echo "$as_me: failed program was:" >&5
4494
sed 's/^/| /' conftest.$ac_ext >&5
4497
rm -f conftest.err conftest.$ac_objext \
4498
conftest$ac_exeext conftest.$ac_ext
4499
LIBS="$am_save_LIBS"
4503
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4504
echo "${ECHO_T}$am_cv_func_iconv" >&6
4505
if test "$am_cv_func_iconv" = yes; then
4507
cat >>confdefs.h <<\_ACEOF
4508
#define HAVE_ICONV 1
4512
if test "$am_cv_lib_iconv" = yes; then
4513
echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4514
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4515
echo "$as_me:$LINENO: result: $LIBICONV" >&5
4516
echo "${ECHO_T}$LIBICONV" >&6
4518
CPPFLAGS="$am_save_CPPFLAGS"
4530
acl_save_prefix="$prefix"
4531
prefix="$acl_final_prefix"
4532
acl_save_exec_prefix="$exec_prefix"
4533
exec_prefix="$acl_final_exec_prefix"
4535
eval additional_includedir=\"$includedir\"
4536
eval additional_libdir=\"$libdir\"
4538
exec_prefix="$acl_save_exec_prefix"
4539
prefix="$acl_save_prefix"
4542
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
4543
if test "${with_libintl_prefix+set}" = set; then
4544
withval="$with_libintl_prefix"
4546
if test "X$withval" = "Xno"; then
4549
if test "X$withval" = "X"; then
4551
acl_save_prefix="$prefix"
4552
prefix="$acl_final_prefix"
4553
acl_save_exec_prefix="$exec_prefix"
4554
exec_prefix="$acl_final_exec_prefix"
4556
eval additional_includedir=\"$includedir\"
4557
eval additional_libdir=\"$libdir\"
4559
exec_prefix="$acl_save_exec_prefix"
4560
prefix="$acl_save_prefix"
4563
additional_includedir="$withval/include"
4564
additional_libdir="$withval/lib"
4574
names_already_handled=
4575
names_next_round='intl '
4576
while test -n "$names_next_round"; do
4577
names_this_round="$names_next_round"
4579
for name in $names_this_round; do
4581
for n in $names_already_handled; do
4582
if test "$n" = "$name"; then
4587
if test -z "$already_handled"; then
4588
names_already_handled="$names_already_handled $name"
4589
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4590
eval value=\"\$HAVE_LIB$uppername\"
4591
if test -n "$value"; then
4592
if test "$value" = yes; then
4593
eval value=\"\$LIB$uppername\"
4594
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
4595
eval value=\"\$LTLIB$uppername\"
4596
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
4605
if test $use_additional = yes; then
4606
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4607
found_dir="$additional_libdir"
4608
found_so="$additional_libdir/lib$name.$shlibext"
4609
if test -f "$additional_libdir/lib$name.la"; then
4610
found_la="$additional_libdir/lib$name.la"
4613
if test -f "$additional_libdir/lib$name.$libext"; then
4614
found_dir="$additional_libdir"
4615
found_a="$additional_libdir/lib$name.$libext"
4616
if test -f "$additional_libdir/lib$name.la"; then
4617
found_la="$additional_libdir/lib$name.la"
4622
if test "X$found_dir" = "X"; then
4623
for x in $LDFLAGS $LTLIBINTL; do
4625
acl_save_prefix="$prefix"
4626
prefix="$acl_final_prefix"
4627
acl_save_exec_prefix="$exec_prefix"
4628
exec_prefix="$acl_final_exec_prefix"
4630
exec_prefix="$acl_save_exec_prefix"
4631
prefix="$acl_save_prefix"
4635
dir=`echo "X$x" | sed -e 's/^X-L//'`
4636
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4638
found_so="$dir/lib$name.$shlibext"
4639
if test -f "$dir/lib$name.la"; then
4640
found_la="$dir/lib$name.la"
4643
if test -f "$dir/lib$name.$libext"; then
4645
found_a="$dir/lib$name.$libext"
4646
if test -f "$dir/lib$name.la"; then
4647
found_la="$dir/lib$name.la"
4653
if test "X$found_dir" != "X"; then
4658
if test "X$found_dir" != "X"; then
4659
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4660
if test "X$found_so" != "X"; then
4661
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4662
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4665
for x in $ltrpathdirs; do
4666
if test "X$x" = "X$found_dir"; then
4671
if test -z "$haveit"; then
4672
ltrpathdirs="$ltrpathdirs $found_dir"
4674
if test "$hardcode_direct" = yes; then
4675
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4677
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4678
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4680
for x in $rpathdirs; do
4681
if test "X$x" = "X$found_dir"; then
4686
if test -z "$haveit"; then
4687
rpathdirs="$rpathdirs $found_dir"
4691
for x in $LDFLAGS $LIBINTL; do
4693
acl_save_prefix="$prefix"
4694
prefix="$acl_final_prefix"
4695
acl_save_exec_prefix="$exec_prefix"
4696
exec_prefix="$acl_final_exec_prefix"
4698
exec_prefix="$acl_save_exec_prefix"
4699
prefix="$acl_save_prefix"
4701
if test "X$x" = "X-L$found_dir"; then
4706
if test -z "$haveit"; then
4707
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4709
if test "$hardcode_minus_L" != no; then
4710
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4712
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4718
if test "X$found_a" != "X"; then
4719
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
4721
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
4724
additional_includedir=
4725
case "$found_dir" in
4727
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4728
additional_includedir="$basedir/include"
4731
if test "X$additional_includedir" != "X"; then
4732
if test "X$additional_includedir" != "X/usr/include"; then
4734
if test "X$additional_includedir" = "X/usr/local/include"; then
4735
if test -n "$GCC"; then
4737
linux*) haveit=yes;;
4741
if test -z "$haveit"; then
4742
for x in $CPPFLAGS $INCINTL; do
4744
acl_save_prefix="$prefix"
4745
prefix="$acl_final_prefix"
4746
acl_save_exec_prefix="$exec_prefix"
4747
exec_prefix="$acl_final_exec_prefix"
4749
exec_prefix="$acl_save_exec_prefix"
4750
prefix="$acl_save_prefix"
4752
if test "X$x" = "X-I$additional_includedir"; then
4757
if test -z "$haveit"; then
4758
if test -d "$additional_includedir"; then
4759
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
4765
if test -n "$found_la"; then
4766
save_libdir="$libdir"
4768
*/* | *\\*) . "$found_la" ;;
4769
*) . "./$found_la" ;;
4771
libdir="$save_libdir"
4772
for dep in $dependency_libs; do
4775
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4776
if test "X$additional_libdir" != "X/usr/lib"; then
4778
if test "X$additional_libdir" = "X/usr/local/lib"; then
4779
if test -n "$GCC"; then
4781
linux*) haveit=yes;;
4785
if test -z "$haveit"; then
4787
for x in $LDFLAGS $LIBINTL; do
4789
acl_save_prefix="$prefix"
4790
prefix="$acl_final_prefix"
4791
acl_save_exec_prefix="$exec_prefix"
4792
exec_prefix="$acl_final_exec_prefix"
4794
exec_prefix="$acl_save_exec_prefix"
4795
prefix="$acl_save_prefix"
4797
if test "X$x" = "X-L$additional_libdir"; then
4802
if test -z "$haveit"; then
4803
if test -d "$additional_libdir"; then
4804
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
4808
for x in $LDFLAGS $LTLIBINTL; do
4810
acl_save_prefix="$prefix"
4811
prefix="$acl_final_prefix"
4812
acl_save_exec_prefix="$exec_prefix"
4813
exec_prefix="$acl_final_exec_prefix"
4815
exec_prefix="$acl_save_exec_prefix"
4816
prefix="$acl_save_prefix"
4818
if test "X$x" = "X-L$additional_libdir"; then
4823
if test -z "$haveit"; then
4824
if test -d "$additional_libdir"; then
4825
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
4832
dir=`echo "X$dep" | sed -e 's/^X-R//'`
4833
if test "$enable_rpath" != no; then
4835
for x in $rpathdirs; do
4836
if test "X$x" = "X$dir"; then
4841
if test -z "$haveit"; then
4842
rpathdirs="$rpathdirs $dir"
4845
for x in $ltrpathdirs; do
4846
if test "X$x" = "X$dir"; then
4851
if test -z "$haveit"; then
4852
ltrpathdirs="$ltrpathdirs $dir"
4857
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4860
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4863
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
4864
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
4870
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4871
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
4877
if test "X$rpathdirs" != "X"; then
4878
if test -n "$hardcode_libdir_separator"; then
4880
for found_dir in $rpathdirs; do
4881
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4883
acl_save_libdir="$libdir"
4885
eval flag=\"$hardcode_libdir_flag_spec\"
4886
libdir="$acl_save_libdir"
4887
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4889
for found_dir in $rpathdirs; do
4890
acl_save_libdir="$libdir"
4892
eval flag=\"$hardcode_libdir_flag_spec\"
4893
libdir="$acl_save_libdir"
4894
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4898
if test "X$ltrpathdirs" != "X"; then
4899
for found_dir in $ltrpathdirs; do
4900
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
4904
echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4905
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4906
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4907
echo $ECHO_N "(cached) $ECHO_C" >&6
4909
gt_save_CPPFLAGS="$CPPFLAGS"
4910
CPPFLAGS="$CPPFLAGS $INCINTL"
4911
gt_save_LIBS="$LIBS"
4912
LIBS="$LIBS $LIBINTL"
4913
cat >conftest.$ac_ext <<_ACEOF
4916
cat confdefs.h >>conftest.$ac_ext
4917
cat >>conftest.$ac_ext <<_ACEOF
4918
/* end confdefs.h. */
4919
#include <libintl.h>
4920
extern int _nl_msg_cat_cntr;
4925
const char *_nl_expand_alias ();
4929
bindtextdomain ("", "");
4930
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
4935
rm -f conftest.$ac_objext conftest$ac_exeext
4936
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4937
(eval $ac_link) 2>conftest.er1
4939
grep -v '^ *+' conftest.er1 >conftest.err
4941
cat conftest.err >&5
4942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943
(exit $ac_status); } &&
4944
{ ac_try='test -z "$ac_c_werror_flag"
4945
|| test ! -s conftest.err'
4946
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950
(exit $ac_status); }; } &&
4951
{ ac_try='test -s conftest$ac_exeext'
4952
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956
(exit $ac_status); }; }; then
4957
gt_cv_func_gnugettext1_libintl=yes
4959
echo "$as_me: failed program was:" >&5
4960
sed 's/^/| /' conftest.$ac_ext >&5
4962
gt_cv_func_gnugettext1_libintl=no
4964
rm -f conftest.err conftest.$ac_objext \
4965
conftest$ac_exeext conftest.$ac_ext
4966
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4967
LIBS="$LIBS $LIBICONV"
4968
cat >conftest.$ac_ext <<_ACEOF
4971
cat confdefs.h >>conftest.$ac_ext
4972
cat >>conftest.$ac_ext <<_ACEOF
4973
/* end confdefs.h. */
4974
#include <libintl.h>
4975
extern int _nl_msg_cat_cntr;
4980
const char *_nl_expand_alias ();
4984
bindtextdomain ("", "");
4985
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
4990
rm -f conftest.$ac_objext conftest$ac_exeext
4991
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4992
(eval $ac_link) 2>conftest.er1
4994
grep -v '^ *+' conftest.er1 >conftest.err
4996
cat conftest.err >&5
4997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998
(exit $ac_status); } &&
4999
{ ac_try='test -z "$ac_c_werror_flag"
5000
|| test ! -s conftest.err'
5001
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005
(exit $ac_status); }; } &&
5006
{ ac_try='test -s conftest$ac_exeext'
5007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
(exit $ac_status); }; }; then
5012
LIBINTL="$LIBINTL $LIBICONV"
5013
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5014
gt_cv_func_gnugettext1_libintl=yes
5017
echo "$as_me: failed program was:" >&5
5018
sed 's/^/| /' conftest.$ac_ext >&5
5021
rm -f conftest.err conftest.$ac_objext \
5022
conftest$ac_exeext conftest.$ac_ext
5024
CPPFLAGS="$gt_save_CPPFLAGS"
5025
LIBS="$gt_save_LIBS"
5027
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
5028
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
5031
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5032
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5033
&& test "$PACKAGE" != gettext-runtime \
5034
&& test "$PACKAGE" != gettext-tools; }; then
5035
gt_use_preinstalled_gnugettext=yes
5044
if test "$gt_use_preinstalled_gnugettext" = "yes" \
5045
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
5047
cat >>confdefs.h <<\_ACEOF
5048
#define ENABLE_NLS 1
5056
echo "$as_me:$LINENO: checking whether to use NLS" >&5
5057
echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
5058
echo "$as_me:$LINENO: result: $USE_NLS" >&5
5059
echo "${ECHO_T}$USE_NLS" >&6
5060
if test "$USE_NLS" = "yes"; then
5061
echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
5062
echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
5063
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5064
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5065
gt_source="external libintl"
5070
gt_source="included intl directory"
5072
echo "$as_me:$LINENO: result: $gt_source" >&5
5073
echo "${ECHO_T}$gt_source" >&6
5076
if test "$USE_NLS" = "yes"; then
5078
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5079
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5080
echo "$as_me:$LINENO: checking how to link with libintl" >&5
5081
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
5082
echo "$as_me:$LINENO: result: $LIBINTL" >&5
5083
echo "${ECHO_T}$LIBINTL" >&6
5085
for element in $INCINTL; do
5087
for x in $CPPFLAGS; do
5089
acl_save_prefix="$prefix"
5090
prefix="$acl_final_prefix"
5091
acl_save_exec_prefix="$exec_prefix"
5092
exec_prefix="$acl_final_exec_prefix"
5094
exec_prefix="$acl_save_exec_prefix"
5095
prefix="$acl_save_prefix"
5097
if test "X$x" = "X$element"; then
5102
if test -z "$haveit"; then
5103
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5110
cat >>confdefs.h <<\_ACEOF
5111
#define HAVE_GETTEXT 1
5115
cat >>confdefs.h <<\_ACEOF
5116
#define HAVE_DCGETTEXT 1
3412
5134
# Checks for header files.
5970
for ac_header in sys/sockio.h net/if_arp.h
5972
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5973
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5974
echo "$as_me:$LINENO: checking for $ac_header" >&5
5975
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5976
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5977
echo $ECHO_N "(cached) $ECHO_C" >&6
5979
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5980
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5982
# Is the header compilable?
5983
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5984
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5985
cat >conftest.$ac_ext <<_ACEOF
5988
cat confdefs.h >>conftest.$ac_ext
5989
cat >>conftest.$ac_ext <<_ACEOF
5990
/* end confdefs.h. */
5991
$ac_includes_default
5992
#include <$ac_header>
5994
rm -f conftest.$ac_objext
5995
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5996
(eval $ac_compile) 2>conftest.er1
5998
grep -v '^ *+' conftest.er1 >conftest.err
6000
cat conftest.err >&5
6001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002
(exit $ac_status); } &&
6003
{ ac_try='test -z "$ac_c_werror_flag"
6004
|| test ! -s conftest.err'
6005
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009
(exit $ac_status); }; } &&
6010
{ ac_try='test -s conftest.$ac_objext'
6011
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015
(exit $ac_status); }; }; then
6016
ac_header_compiler=yes
6018
echo "$as_me: failed program was:" >&5
6019
sed 's/^/| /' conftest.$ac_ext >&5
6021
ac_header_compiler=no
6023
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6024
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6025
echo "${ECHO_T}$ac_header_compiler" >&6
6027
# Is the header present?
6028
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6029
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6030
cat >conftest.$ac_ext <<_ACEOF
6033
cat confdefs.h >>conftest.$ac_ext
6034
cat >>conftest.$ac_ext <<_ACEOF
6035
/* end confdefs.h. */
6036
#include <$ac_header>
6038
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6039
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6041
grep -v '^ *+' conftest.er1 >conftest.err
6043
cat conftest.err >&5
6044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045
(exit $ac_status); } >/dev/null; then
6046
if test -s conftest.err; then
6047
ac_cpp_err=$ac_c_preproc_warn_flag
6048
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6055
if test -z "$ac_cpp_err"; then
6056
ac_header_preproc=yes
6058
echo "$as_me: failed program was:" >&5
6059
sed 's/^/| /' conftest.$ac_ext >&5
6061
ac_header_preproc=no
6063
rm -f conftest.err conftest.$ac_ext
6064
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6065
echo "${ECHO_T}$ac_header_preproc" >&6
6067
# So? What about this header?
6068
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6070
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6071
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6072
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6073
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6074
ac_header_preproc=yes
6077
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6078
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6079
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6080
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6081
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6082
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6083
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6084
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6085
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6086
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6087
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6088
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6091
## ----------------------------- ##
6092
## Report this to bugs@ucarp.org ##
6093
## ----------------------------- ##
6096
sed "s/^/$as_me: WARNING: /" >&2
6099
echo "$as_me:$LINENO: checking for $ac_header" >&5
6100
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6101
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6102
echo $ECHO_N "(cached) $ECHO_C" >&6
6104
eval "$as_ac_Header=\$ac_header_preproc"
6106
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6107
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6110
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6111
cat >>confdefs.h <<_ACEOF
6112
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6123
for ac_header in fcntl.h sys/fcntl.h ioctl.h sys/ioctl.h
6125
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6126
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6127
echo "$as_me:$LINENO: checking for $ac_header" >&5
6128
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6129
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6130
echo $ECHO_N "(cached) $ECHO_C" >&6
6132
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6133
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6135
# Is the header compilable?
6136
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6137
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6138
cat >conftest.$ac_ext <<_ACEOF
6141
cat confdefs.h >>conftest.$ac_ext
6142
cat >>conftest.$ac_ext <<_ACEOF
6143
/* end confdefs.h. */
6144
$ac_includes_default
6145
#include <$ac_header>
6147
rm -f conftest.$ac_objext
6148
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6149
(eval $ac_compile) 2>conftest.er1
6151
grep -v '^ *+' conftest.er1 >conftest.err
6153
cat conftest.err >&5
6154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155
(exit $ac_status); } &&
6156
{ ac_try='test -z "$ac_c_werror_flag"
6157
|| test ! -s conftest.err'
6158
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162
(exit $ac_status); }; } &&
6163
{ ac_try='test -s conftest.$ac_objext'
6164
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168
(exit $ac_status); }; }; then
6169
ac_header_compiler=yes
6171
echo "$as_me: failed program was:" >&5
6172
sed 's/^/| /' conftest.$ac_ext >&5
6174
ac_header_compiler=no
6176
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6177
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6178
echo "${ECHO_T}$ac_header_compiler" >&6
6180
# Is the header present?
6181
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6182
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6183
cat >conftest.$ac_ext <<_ACEOF
6186
cat confdefs.h >>conftest.$ac_ext
6187
cat >>conftest.$ac_ext <<_ACEOF
6188
/* end confdefs.h. */
6189
#include <$ac_header>
6191
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6192
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6194
grep -v '^ *+' conftest.er1 >conftest.err
6196
cat conftest.err >&5
6197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198
(exit $ac_status); } >/dev/null; then
6199
if test -s conftest.err; then
6200
ac_cpp_err=$ac_c_preproc_warn_flag
6201
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6208
if test -z "$ac_cpp_err"; then
6209
ac_header_preproc=yes
6211
echo "$as_me: failed program was:" >&5
6212
sed 's/^/| /' conftest.$ac_ext >&5
6214
ac_header_preproc=no
6216
rm -f conftest.err conftest.$ac_ext
6217
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6218
echo "${ECHO_T}$ac_header_preproc" >&6
6220
# So? What about this header?
6221
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6223
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6224
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6225
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6226
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6227
ac_header_preproc=yes
6230
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6231
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6232
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6233
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6234
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6235
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6236
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6237
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6238
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6239
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6240
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6241
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6244
## ----------------------------- ##
6245
## Report this to bugs@ucarp.org ##
6246
## ----------------------------- ##
6249
sed "s/^/$as_me: WARNING: /" >&2
6252
echo "$as_me:$LINENO: checking for $ac_header" >&5
6253
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6254
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6255
echo $ECHO_N "(cached) $ECHO_C" >&6
6257
eval "$as_ac_Header=\$ac_header_preproc"
6259
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6260
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6263
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6264
cat >>confdefs.h <<_ACEOF
6265
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4247
6273
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4248
6274
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4249
6275
if test "${ac_cv_c_bigendian+set}" = set; then