482
554
if test ! -r $srcdir/$ac_unique_file; then
483
555
if test "$ac_srcdir_defaulted" = yes; then
484
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
556
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
557
{ (exit 1); exit 1; }; }
486
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
489
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
559
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
560
{ (exit 1); exit 1; }; }
563
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564
ac_env_build_alias_set=${build_alias+set}
565
ac_env_build_alias_value=$build_alias
566
ac_cv_env_build_alias_set=${build_alias+set}
567
ac_cv_env_build_alias_value=$build_alias
568
ac_env_host_alias_set=${host_alias+set}
569
ac_env_host_alias_value=$host_alias
570
ac_cv_env_host_alias_set=${host_alias+set}
571
ac_cv_env_host_alias_value=$host_alias
572
ac_env_target_alias_set=${target_alias+set}
573
ac_env_target_alias_value=$target_alias
574
ac_cv_env_target_alias_set=${target_alias+set}
575
ac_cv_env_target_alias_value=$target_alias
576
ac_env_CC_set=${CC+set}
578
ac_cv_env_CC_set=${CC+set}
579
ac_cv_env_CC_value=$CC
580
ac_env_CFLAGS_set=${CFLAGS+set}
581
ac_env_CFLAGS_value=$CFLAGS
582
ac_cv_env_CFLAGS_set=${CFLAGS+set}
583
ac_cv_env_CFLAGS_value=$CFLAGS
584
ac_env_LDFLAGS_set=${LDFLAGS+set}
585
ac_env_LDFLAGS_value=$LDFLAGS
586
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
587
ac_cv_env_LDFLAGS_value=$LDFLAGS
588
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
589
ac_env_CPPFLAGS_value=$CPPFLAGS
590
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
591
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
592
ac_env_CPP_set=${CPP+set}
593
ac_env_CPP_value=$CPP
594
ac_cv_env_CPP_set=${CPP+set}
595
ac_cv_env_CPP_value=$CPP
596
ac_env_CXX_set=${CXX+set}
597
ac_env_CXX_value=$CXX
598
ac_cv_env_CXX_set=${CXX+set}
599
ac_cv_env_CXX_value=$CXX
600
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
601
ac_env_CXXFLAGS_value=$CXXFLAGS
602
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
603
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
606
# Report the --help message.
608
if test "$ac_init_help" = "long"; then
609
# Omit some internal or obsolete options to make the list less imposing.
610
# This message is too long to be a string in the A/UX 3.1 sh.
612
\`configure' configures this package to adapt to many kinds of systems.
614
Usage: $0 [OPTION]... [VAR=VALUE]...
616
To assign environment variables (e.g., CC, CFLAGS...), specify them as
617
VAR=VALUE. See below for descriptions of some of the useful variables.
619
Defaults for the options are specified in brackets.
622
-h, --help display this help and exit
623
--help=short display options specific to this package
624
--help=recursive display the short help of all the included packages
625
-V, --version display version information and exit
626
-q, --quiet, --silent do not print \`checking...' messages
627
--cache-file=FILE cache test results in FILE [disabled]
628
-C, --config-cache alias for \`--cache-file=config.cache'
629
-n, --no-create do not create output files
630
--srcdir=DIR find the sources in DIR [configure dir or \`..']
635
Installation directories:
636
--prefix=PREFIX install architecture-independent files in PREFIX
638
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
641
By default, \`make install' will install all the files in
642
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
643
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
644
for instance \`--prefix=\$HOME'.
646
For better control, use the options below.
648
Fine tuning of the installation directories:
649
--bindir=DIR user executables [EPREFIX/bin]
650
--sbindir=DIR system admin executables [EPREFIX/sbin]
651
--libexecdir=DIR program executables [EPREFIX/libexec]
652
--datadir=DIR read-only architecture-independent data [PREFIX/share]
653
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
654
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
655
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
656
--libdir=DIR object code libraries [EPREFIX/lib]
657
--includedir=DIR C header files [PREFIX/include]
658
--oldincludedir=DIR C header files for non-gcc [/usr/include]
659
--infodir=DIR info documentation [PREFIX/info]
660
--mandir=DIR man documentation [PREFIX/man]
666
--program-prefix=PREFIX prepend PREFIX to installed program names
667
--program-suffix=SUFFIX append SUFFIX to installed program names
668
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
671
--build=BUILD configure for building on BUILD [guessed]
672
--host=HOST build programs to run on HOST [BUILD]
676
if test -n "$ac_init_help"; then
681
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
682
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
683
--disable-dependency-tracking Speeds up one-time builds
684
--enable-dependency-tracking Do not reject slow dependency extractors
685
--disable-nls do not use Native Language Support
686
--disable-glibtest do not try to compile and run a test GLIB program
687
--disable-gtktest do not try to compile and run a test GTK+ program
690
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
691
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
692
--with-gnu-ld assume the C compiler uses GNU ld default=no
693
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
694
--without-libiconv-prefix don't search for libiconv in includedir and libdir
695
--with-included-gettext use the GNU gettext library included here
696
--with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
697
--without-libintl-prefix don't search for libintl in includedir and libdir
699
Some influential environment variables:
700
CC C compiler command
701
CFLAGS C compiler flags
702
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
703
nonstandard directory <lib dir>
704
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
705
headers in a nonstandard directory <include dir>
707
CXX C++ compiler command
708
CXXFLAGS C++ compiler flags
710
Use these variables to override the choices made by `configure' or to help
711
it to find libraries and programs with nonstandard names/locations.
716
if test "$ac_init_help" = "recursive"; then
717
# If there are subdirs, report their specific --help.
719
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
721
# A "../" for each directory in /$ac_subdir.
722
ac_dots=`echo $ac_subdir |
723
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
726
.) # No --srcdir option. We are building in place.
727
ac_sub_srcdir=$srcdir ;;
728
[\\/]* | ?:[\\/]* ) # Absolute path.
729
ac_sub_srcdir=$srcdir/$ac_subdir ;;
731
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
734
# Check for guested configure; otherwise get Cygnus style configure.
735
if test -f $ac_sub_srcdir/configure.gnu; then
737
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
738
elif test -f $ac_sub_srcdir/configure; then
740
$SHELL $ac_sub_srcdir/configure --help=recursive
741
elif test -f $ac_sub_srcdir/configure.ac ||
742
test -f $ac_sub_srcdir/configure.in; then
746
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
752
test -n "$ac_init_help" && exit 0
753
if $ac_init_version; then
756
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
757
Free Software Foundation, Inc.
758
This configure script is free software; the Free Software Foundation
759
gives unlimited permission to copy, distribute and modify it.
765
This file contains any messages produced by compilers while
766
running configure, to aid debugging if configure makes a mistake.
768
It was created by $as_me, which was
769
generated by GNU Autoconf 2.52. Invocation command line was
780
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
781
uname -m = `(uname -m) 2>/dev/null || echo unknown`
782
uname -r = `(uname -r) 2>/dev/null || echo unknown`
783
uname -s = `(uname -s) 2>/dev/null || echo unknown`
784
uname -v = `(uname -v) 2>/dev/null || echo unknown`
786
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
787
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
789
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
790
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
791
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
792
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
793
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
794
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
795
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
809
# Keep a trace of the command line.
810
# Strip out --no-create and --no-recursion so they do not pile up.
811
# Also quote any args containing shell meta-characters.
817
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
818
| --no-cr | --no-c) ;;
819
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
820
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
821
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
822
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
823
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
825
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
828
# Get rid of the leading space.
831
# When interrupted or exit'd, cleanup temporary files, and complete
832
# config.log. We remove comments because anyway the quotes in there
833
# would cause problems or look ugly.
835
# Save into config.log some information that might help in debugging.
837
echo "## ----------------- ##" >&5
838
echo "## Cache variables. ##" >&5
839
echo "## ----------------- ##" >&5
841
# The following way of writing the cache mishandles newlines in values,
844
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
847
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
848
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
852
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
856
sed "/^$/d" confdefs.h >conftest.log
857
if test -s conftest.log; then
859
echo "## ------------ ##" >&5
860
echo "## confdefs.h. ##" >&5
861
echo "## ------------ ##" >&5
866
test "$ac_signal" != 0 &&
867
echo "$as_me: caught signal $ac_signal" >&5
868
echo "$as_me: exit $exit_status" >&5
869
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
872
for ac_signal in 1 2 13 15; do
873
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
877
# confdefs.h avoids OS command line length limits that DEFS can exceed.
878
rm -rf conftest* confdefs.h
879
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
882
# Let the site file select an alternate cache file if it wants to.
491
883
# Prefer explicitly selected file to automatically selected ones.
492
884
if test -z "$CONFIG_SITE"; then
493
885
if test "x$prefix" != xNONE; then
599
1072
if test "${ac_cv_path_install+set}" = set; then
600
INSTALL="$ac_cv_path_install"
1073
INSTALL=$ac_cv_path_install
602
1075
# As a last resort, use the slow shell script. We don't cache a
603
1076
# path for INSTALL within a source directory, because that will
604
1077
# break other packages using the cache if that directory is
605
1078
# removed, or if the path is relative.
606
INSTALL="$ac_install_sh"
1079
INSTALL=$ac_install_sh
609
echo "$ac_t""$INSTALL" 1>&6
1082
echo "$as_me:1082: result: $INSTALL" >&5
1083
echo "${ECHO_T}$INSTALL" >&6
611
1085
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
612
1086
# It thinks the first close brace ends the variable substitution.
613
1087
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
615
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1089
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
617
1091
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
619
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
620
echo "configure:621: checking whether build environment is sane" >&5
1093
echo "$as_me:1093: checking whether build environment is sane" >&5
1094
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
623
echo timestamp > conftestfile
1097
echo timestamp > conftest.file
624
1098
# Do `set' in a subshell so we don't clobber the current shell's
625
1099
# arguments. Must try -L first in case configure is actually a
626
1100
# symlink; some systems play weird games with the mod time of symlinks
627
1101
# (eg FreeBSD returns the mod time of the symlink's containing
630
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1104
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
631
1105
if test "$*" = "X"; then
632
1106
# -L didn't work.
633
set X `ls -t $srcdir/configure conftestfile`
1107
set X `ls -t $srcdir/configure conftest.file`
635
if test "$*" != "X $srcdir/configure conftestfile" \
636
&& test "$*" != "X conftestfile $srcdir/configure"; then
1110
if test "$*" != "X $srcdir/configure conftest.file" \
1111
&& test "$*" != "X conftest.file $srcdir/configure"; then
638
1113
# If neither matched, then we have a broken ls. This can happen
639
1114
# if, for instance, CONFIG_SHELL is bash and it inherits a
640
1115
# broken ls alias from the environment. This has actually
641
1116
# happened. Such a system could not be considered "sane".
642
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken
643
alias in your environment" 1>&2; exit 1; }
1117
{ { echo "$as_me:1117: error: ls -t appears to fail. Make sure there is not a broken
1118
alias in your environment" >&5
1119
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1120
alias in your environment" >&2;}
1121
{ (exit 1); exit 1; }; }
646
test "$2" = conftestfile
1124
test "$2" = conftest.file
652
{ echo "configure: error: newly created file is older than distributed files!
653
Check your system clock" 1>&2; exit 1; }
656
echo "$ac_t""yes" 1>&6
657
if test "$program_transform_name" = s,x,x,; then
658
program_transform_name=
660
# Double any \ or $. echo might interpret backslashes.
661
cat <<\EOF_SED > conftestsed
662
s,\\,\\\\,g; s,\$,$$,g
664
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1130
{ { echo "$as_me:1130: error: newly created file is older than distributed files!
1131
Check your system clock" >&5
1132
echo "$as_me: error: newly created file is older than distributed files!
1133
Check your system clock" >&2;}
1134
{ (exit 1); exit 1; }; }
1136
echo "$as_me:1136: result: yes" >&5
1137
echo "${ECHO_T}yes" >&6
667
1138
test "$program_prefix" != NONE &&
668
program_transform_name="s,^,${program_prefix},; $program_transform_name"
1139
program_transform_name="s,^,$program_prefix,;$program_transform_name"
669
1140
# Use a double $ so make ignores it.
670
1141
test "$program_suffix" != NONE &&
671
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
673
# sed with no file args requires a program.
674
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
676
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
677
echo "configure:678: checking whether ${MAKE-make} sets \${MAKE}" >&5
678
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
679
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
680
echo $ac_n "(cached) $ac_c" 1>&6
682
cat > conftestmake <<\EOF
1142
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1143
# Double any \ or $. echo might interpret backslashes.
1144
# By default was `s,x,x', remove it if useless.
1145
cat <<\_ACEOF >conftest.sed
1146
s/[\\$]/&&/g;s/;s,x,x,$//
1148
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1151
# expand $ac_aux_dir to an absolute path
1152
am_aux_dir=`cd $ac_aux_dir && pwd`
1154
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1155
# Use eval to expand $SHELL
1156
if eval "$MISSING --run true"; then
1157
am_missing_run="$MISSING --run "
1160
{ echo "$as_me:1160: WARNING: \`missing' script is too old or missing" >&5
1161
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1164
for ac_prog in mawk gawk nawk awk
1166
# Extract the first word of "$ac_prog", so it can be a program name with args.
1167
set dummy $ac_prog; ac_word=$2
1168
echo "$as_me:1168: checking for $ac_word" >&5
1169
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1170
if test "${ac_cv_prog_AWK+set}" = set; then
1171
echo $ECHO_N "(cached) $ECHO_C" >&6
1173
if test -n "$AWK"; then
1174
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1176
ac_save_IFS=$IFS; IFS=$ac_path_separator
1178
for ac_dir in $ac_dummy; do
1180
test -z "$ac_dir" && ac_dir=.
1181
$as_executable_p "$ac_dir/$ac_word" || continue
1182
ac_cv_prog_AWK="$ac_prog"
1183
echo "$as_me:1183: found $ac_dir/$ac_word" >&5
1190
if test -n "$AWK"; then
1191
echo "$as_me:1191: result: $AWK" >&5
1192
echo "${ECHO_T}$AWK" >&6
1194
echo "$as_me:1194: result: no" >&5
1195
echo "${ECHO_T}no" >&6
1198
test -n "$AWK" && break
1201
echo "$as_me:1201: checking whether ${MAKE-make} sets \${MAKE}" >&5
1202
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1203
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1204
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1205
echo $ECHO_N "(cached) $ECHO_C" >&6
1207
cat >conftest.make <<\EOF
684
1209
@echo 'ac_maketemp="${MAKE}"'
686
1211
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
687
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1212
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
688
1213
if test -n "$ac_maketemp"; then
689
1214
eval ac_cv_prog_make_${ac_make}_set=yes
691
1216
eval ac_cv_prog_make_${ac_make}_set=no
695
1220
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
696
echo "$ac_t""yes" 1>&6
1221
echo "$as_me:1221: result: yes" >&5
1222
echo "${ECHO_T}yes" >&6
699
echo "$ac_t""no" 1>&6
1225
echo "$as_me:1225: result: no" >&5
1226
echo "${ECHO_T}no" >&6
700
1227
SET_MAKE="MAKE=${MAKE-make}"
708
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
709
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1230
# test to see if srcdir already configured
1231
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1232
test -f $srcdir/config.status; then
1233
{ { echo "$as_me:1233: error: source directory already configured; run \"make distclean\" there first" >&5
1234
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1235
{ (exit 1); exit 1; }; }
711
cat >> confdefs.h <<EOF
1238
# Define the identity of the package.
1242
cat >>confdefs.h <<EOF
712
1243
#define PACKAGE "$PACKAGE"
715
cat >> confdefs.h <<EOF
1246
cat >>confdefs.h <<EOF
716
1247
#define VERSION "$VERSION"
721
missing_dir=`cd $ac_aux_dir && pwd`
722
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
723
echo "configure:724: checking for working aclocal" >&5
724
# Run test in a subshell; some versions of sh will print an error if
725
# an executable is not found, even if stderr is redirected.
726
# Redirect stdin to placate older versions of autoconf. Sigh.
727
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
729
echo "$ac_t""found" 1>&6
731
ACLOCAL="$missing_dir/missing aclocal"
732
echo "$ac_t""missing" 1>&6
735
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
736
echo "configure:737: checking for working autoconf" >&5
737
# Run test in a subshell; some versions of sh will print an error if
738
# an executable is not found, even if stderr is redirected.
739
# Redirect stdin to placate older versions of autoconf. Sigh.
740
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
742
echo "$ac_t""found" 1>&6
744
AUTOCONF="$missing_dir/missing autoconf"
745
echo "$ac_t""missing" 1>&6
748
echo $ac_n "checking for working automake""... $ac_c" 1>&6
749
echo "configure:750: checking for working automake" >&5
750
# Run test in a subshell; some versions of sh will print an error if
751
# an executable is not found, even if stderr is redirected.
752
# Redirect stdin to placate older versions of autoconf. Sigh.
753
if (automake --version) < /dev/null > /dev/null 2>&1; then
755
echo "$ac_t""found" 1>&6
757
AUTOMAKE="$missing_dir/missing automake"
758
echo "$ac_t""missing" 1>&6
761
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
762
echo "configure:763: checking for working autoheader" >&5
763
# Run test in a subshell; some versions of sh will print an error if
764
# an executable is not found, even if stderr is redirected.
765
# Redirect stdin to placate older versions of autoconf. Sigh.
766
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
767
AUTOHEADER=autoheader
768
echo "$ac_t""found" 1>&6
770
AUTOHEADER="$missing_dir/missing autoheader"
771
echo "$ac_t""missing" 1>&6
774
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
775
echo "configure:776: checking for working makeinfo" >&5
776
# Run test in a subshell; some versions of sh will print an error if
777
# an executable is not found, even if stderr is redirected.
778
# Redirect stdin to placate older versions of autoconf. Sigh.
779
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
781
echo "$ac_t""found" 1>&6
783
MAKEINFO="$missing_dir/missing makeinfo"
784
echo "$ac_t""missing" 1>&6
1250
# Some tools Automake needs.
1252
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1254
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1256
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1258
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1260
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1262
AMTAR=${AMTAR-"${am_missing_run}tar"}
1264
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1266
# Installed binaries are usually stripped using `strip' when the user
1267
# run `make install-strip'. However `strip' might not be the right
1268
# tool to use in cross-compilation environments, therefore Automake
1269
# will honor the `STRIP' environment variable to overrule this program.
1270
if test "$cross_compiling" != no; then
1271
if test -n "$ac_tool_prefix"; then
1272
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1273
set dummy ${ac_tool_prefix}strip; ac_word=$2
1274
echo "$as_me:1274: checking for $ac_word" >&5
1275
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1276
if test "${ac_cv_prog_STRIP+set}" = set; then
1277
echo $ECHO_N "(cached) $ECHO_C" >&6
1279
if test -n "$STRIP"; then
1280
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1282
ac_save_IFS=$IFS; IFS=$ac_path_separator
1284
for ac_dir in $ac_dummy; do
1286
test -z "$ac_dir" && ac_dir=.
1287
$as_executable_p "$ac_dir/$ac_word" || continue
1288
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1289
echo "$as_me:1289: found $ac_dir/$ac_word" >&5
1295
STRIP=$ac_cv_prog_STRIP
1296
if test -n "$STRIP"; then
1297
echo "$as_me:1297: result: $STRIP" >&5
1298
echo "${ECHO_T}$STRIP" >&6
1300
echo "$as_me:1300: result: no" >&5
1301
echo "${ECHO_T}no" >&6
1305
if test -z "$ac_cv_prog_STRIP"; then
1307
# Extract the first word of "strip", so it can be a program name with args.
1308
set dummy strip; ac_word=$2
1309
echo "$as_me:1309: checking for $ac_word" >&5
1310
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1311
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1312
echo $ECHO_N "(cached) $ECHO_C" >&6
1314
if test -n "$ac_ct_STRIP"; then
1315
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1317
ac_save_IFS=$IFS; IFS=$ac_path_separator
1319
for ac_dir in $ac_dummy; do
1321
test -z "$ac_dir" && ac_dir=.
1322
$as_executable_p "$ac_dir/$ac_word" || continue
1323
ac_cv_prog_ac_ct_STRIP="strip"
1324
echo "$as_me:1324: found $ac_dir/$ac_word" >&5
1328
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1331
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1332
if test -n "$ac_ct_STRIP"; then
1333
echo "$as_me:1333: result: $ac_ct_STRIP" >&5
1334
echo "${ECHO_T}$ac_ct_STRIP" >&6
1336
echo "$as_me:1336: result: no" >&5
1337
echo "${ECHO_T}no" >&6
1342
STRIP="$ac_cv_prog_STRIP"
1346
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1348
# We need awk for the "check" target. The system "awk" is bad on
1351
# Add the stamp file to the list of files AC keeps track of,
1352
# along with our hook.
1353
ac_config_headers="$ac_config_headers config.h"
1355
GLIB_REQUIRED_VERSION=2.0.0
1356
GTK_REQUIRED_VERSION=$GLIB_REQUIRED_VERSION
792
1358
ALL_LINGUAS="nl fr"
793
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
794
echo "configure:795: checking how to run the C preprocessor" >&5
795
# On Suns, sometimes $CPP names a directory.
796
if test -n "$CPP" && test -d "$CPP"; then
799
if test -z "$CPP"; then
800
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
801
echo $ac_n "(cached) $ac_c" 1>&6
803
# This must be in double quotes, not single quotes, because CPP may get
804
# substituted into the Makefile and "${CC-cc}" will confuse make.
806
# On the NeXT, cc -E runs the code through the compiler's parser,
807
# not just through cpp.
808
cat > conftest.$ac_ext <<EOF
809
#line 810 "configure"
810
#include "confdefs.h"
814
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
815
{ (eval echo configure:816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
816
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
817
if test -z "$ac_err"; then
821
echo "configure: failed program was:" >&5
822
cat conftest.$ac_ext >&5
824
CPP="${CC-cc} -E -traditional-cpp"
825
cat > conftest.$ac_ext <<EOF
826
#line 827 "configure"
827
#include "confdefs.h"
831
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
832
{ (eval echo configure:833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
833
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
834
if test -z "$ac_err"; then
838
echo "configure: failed program was:" >&5
839
cat conftest.$ac_ext >&5
841
CPP="${CC-cc} -nologo -E"
842
cat > conftest.$ac_ext <<EOF
843
#line 844 "configure"
844
#include "confdefs.h"
848
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
849
{ (eval echo configure:850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
850
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
851
if test -z "$ac_err"; then
855
echo "configure: failed program was:" >&5
856
cat conftest.$ac_ext >&5
865
ac_cv_prog_CPP="$CPP"
867
CPP="$ac_cv_prog_CPP"
869
ac_cv_prog_CPP="$CPP"
871
echo "$ac_t""$CPP" 1>&6
873
# Extract the first word of "gcc", so it can be a program name with args.
1361
if test -n "$ac_aux_dir"; then
1362
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
1364
if test -z "$MKINSTALLDIRS"; then
1365
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
1368
# Extract the first word of "msgfmt", so it can be a program name with args.
1369
set dummy msgfmt; ac_word=$2
1370
echo "$as_me:1370: checking for $ac_word" >&5
1371
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1372
if test "${ac_cv_path_MSGFMT+set}" = set; then
1373
echo $ECHO_N "(cached) $ECHO_C" >&6
1377
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
1380
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1381
for ac_dir in $PATH; do
1382
test -z "$ac_dir" && ac_dir=.
1383
if test -f $ac_dir/$ac_word; then
1384
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
1385
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1386
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
1392
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
1396
MSGFMT="$ac_cv_path_MSGFMT"
1397
if test "$MSGFMT" != ":"; then
1398
echo "$as_me:1398: result: $MSGFMT" >&5
1399
echo "${ECHO_T}$MSGFMT" >&6
1401
echo "$as_me:1401: result: no" >&5
1402
echo "${ECHO_T}no" >&6
1405
# Extract the first word of "gmsgfmt", so it can be a program name with args.
1406
set dummy gmsgfmt; ac_word=$2
1407
echo "$as_me:1407: checking for $ac_word" >&5
1408
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1409
if test "${ac_cv_path_GMSGFMT+set}" = set; then
1410
echo $ECHO_N "(cached) $ECHO_C" >&6
1414
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
1417
ac_save_IFS=$IFS; IFS=$ac_path_separator
1419
for ac_dir in $ac_dummy; do
1421
test -z "$ac_dir" && ac_dir=.
1422
if $as_executable_p "$ac_dir/$ac_word"; then
1423
ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
1424
echo "$as_me:1424: found $ac_dir/$ac_word" >&5
1429
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
1433
GMSGFMT=$ac_cv_path_GMSGFMT
1435
if test -n "$GMSGFMT"; then
1436
echo "$as_me:1436: result: $GMSGFMT" >&5
1437
echo "${ECHO_T}$GMSGFMT" >&6
1439
echo "$as_me:1439: result: no" >&5
1440
echo "${ECHO_T}no" >&6
1443
# Extract the first word of "xgettext", so it can be a program name with args.
1444
set dummy xgettext; ac_word=$2
1445
echo "$as_me:1445: checking for $ac_word" >&5
1446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1447
if test "${ac_cv_path_XGETTEXT+set}" = set; then
1448
echo $ECHO_N "(cached) $ECHO_C" >&6
1452
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
1455
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1456
for ac_dir in $PATH; do
1457
test -z "$ac_dir" && ac_dir=.
1458
if test -f $ac_dir/$ac_word; then
1459
if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
1460
(if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1461
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
1467
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
1471
XGETTEXT="$ac_cv_path_XGETTEXT"
1472
if test "$XGETTEXT" != ":"; then
1473
echo "$as_me:1473: result: $XGETTEXT" >&5
1474
echo "${ECHO_T}$XGETTEXT" >&6
1476
echo "$as_me:1476: result: no" >&5
1477
echo "${ECHO_T}no" >&6
1482
# Extract the first word of "msgmerge", so it can be a program name with args.
1483
set dummy msgmerge; ac_word=$2
1484
echo "$as_me:1484: checking for $ac_word" >&5
1485
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1486
if test "${ac_cv_path_MSGMERGE+set}" = set; then
1487
echo $ECHO_N "(cached) $ECHO_C" >&6
1491
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
1494
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1495
for ac_dir in $PATH; do
1496
test -z "$ac_dir" && ac_dir=.
1497
if test -f $ac_dir/$ac_word; then
1498
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
1499
ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
1505
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
1509
MSGMERGE="$ac_cv_path_MSGMERGE"
1510
if test "$MSGMERGE" != ":"; then
1511
echo "$as_me:1511: result: $MSGMERGE" >&5
1512
echo "${ECHO_T}$MSGMERGE" >&6
1514
echo "$as_me:1514: result: no" >&5
1515
echo "${ECHO_T}no" >&6
1518
if test "$GMSGFMT" != ":"; then
1519
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
1520
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1523
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
1524
echo "$as_me:1524: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
1525
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
1530
if test "$XGETTEXT" != ":"; then
1531
if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
1532
(if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1535
echo "$as_me:1535: result: found xgettext program is not GNU xgettext; ignore it" >&5
1536
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
1542
ac_config_commands="$ac_config_commands default-1"
1544
rm -f .deps 2>/dev/null
1545
mkdir .deps 2>/dev/null
1546
if test -d .deps; then
1549
# MS-DOS does not allow filenames that begin with a dot.
1552
rmdir .deps 2>/dev/null
1554
ac_config_commands="$ac_config_commands depfiles"
1556
am_make=${MAKE-make}
1557
cat > confinc << 'END'
1561
# If we don't find an include directive, just comment out the code.
1562
echo "$as_me:1562: checking for style of include used by $am_make" >&5
1563
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1567
# First try GNU make style include.
1568
echo "include confinc" > confmf
1569
# We grep out `Entering directory' and `Leaving directory'
1570
# messages which can occur if `w' ends up in MAKEFLAGS.
1571
# In particular we don't look at `^make:' because GNU make might
1572
# be invoked under some other name (usually "gmake"), in which
1573
# case it prints its new name instead of `make'.
1574
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1579
# Now try BSD make style include.
1580
if test "$am__include" = "#"; then
1581
echo '.include "confinc"' > confmf
1582
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1583
am__include=.include
1589
echo "$as_me:1589: result: $_am_result" >&5
1590
echo "${ECHO_T}$_am_result" >&6
1591
rm -f confinc confmf
1593
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1594
if test "${enable_dependency_tracking+set}" = set; then
1595
enableval="$enable_dependency_tracking"
1598
if test "x$enable_dependency_tracking" != xno; then
1599
am_depcomp="$ac_aux_dir/depcomp"
1603
if test "x$enable_dependency_tracking" != xno; then
1612
ac_cpp='$CPP $CPPFLAGS'
1613
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1614
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1615
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1616
if test -n "$ac_tool_prefix"; then
1617
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1618
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1619
echo "$as_me:1619: checking for $ac_word" >&5
1620
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621
if test "${ac_cv_prog_CC+set}" = set; then
1622
echo $ECHO_N "(cached) $ECHO_C" >&6
1624
if test -n "$CC"; then
1625
ac_cv_prog_CC="$CC" # Let the user override the test.
1627
ac_save_IFS=$IFS; IFS=$ac_path_separator
1629
for ac_dir in $ac_dummy; do
1631
test -z "$ac_dir" && ac_dir=.
1632
$as_executable_p "$ac_dir/$ac_word" || continue
1633
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1634
echo "$as_me:1634: found $ac_dir/$ac_word" >&5
1641
if test -n "$CC"; then
1642
echo "$as_me:1642: result: $CC" >&5
1643
echo "${ECHO_T}$CC" >&6
1645
echo "$as_me:1645: result: no" >&5
1646
echo "${ECHO_T}no" >&6
1650
if test -z "$ac_cv_prog_CC"; then
1652
# Extract the first word of "gcc", so it can be a program name with args.
874
1653
set dummy gcc; ac_word=$2
875
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
876
echo "configure:877: checking for $ac_word" >&5
877
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
878
echo $ac_n "(cached) $ac_c" 1>&6
1654
echo "$as_me:1654: checking for $ac_word" >&5
1655
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1657
echo $ECHO_N "(cached) $ECHO_C" >&6
1659
if test -n "$ac_ct_CC"; then
1660
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1662
ac_save_IFS=$IFS; IFS=$ac_path_separator
1664
for ac_dir in $ac_dummy; do
1666
test -z "$ac_dir" && ac_dir=.
1667
$as_executable_p "$ac_dir/$ac_word" || continue
1668
ac_cv_prog_ac_ct_CC="gcc"
1669
echo "$as_me:1669: found $ac_dir/$ac_word" >&5
1675
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1676
if test -n "$ac_ct_CC"; then
1677
echo "$as_me:1677: result: $ac_ct_CC" >&5
1678
echo "${ECHO_T}$ac_ct_CC" >&6
1680
echo "$as_me:1680: result: no" >&5
1681
echo "${ECHO_T}no" >&6
1689
if test -z "$CC"; then
1690
if test -n "$ac_tool_prefix"; then
1691
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1692
set dummy ${ac_tool_prefix}cc; ac_word=$2
1693
echo "$as_me:1693: checking for $ac_word" >&5
1694
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695
if test "${ac_cv_prog_CC+set}" = set; then
1696
echo $ECHO_N "(cached) $ECHO_C" >&6
880
1698
if test -n "$CC"; then
881
1699
ac_cv_prog_CC="$CC" # Let the user override the test.
883
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
885
for ac_dir in $ac_dummy; do
886
test -z "$ac_dir" && ac_dir=.
887
if test -f $ac_dir/$ac_word; then
1701
ac_save_IFS=$IFS; IFS=$ac_path_separator
1703
for ac_dir in $ac_dummy; do
1705
test -z "$ac_dir" && ac_dir=.
1706
$as_executable_p "$ac_dir/$ac_word" || continue
1707
ac_cv_prog_CC="${ac_tool_prefix}cc"
1708
echo "$as_me:1708: found $ac_dir/$ac_word" >&5
896
1715
if test -n "$CC"; then
897
echo "$ac_t""$CC" 1>&6
899
echo "$ac_t""no" 1>&6
1716
echo "$as_me:1716: result: $CC" >&5
1717
echo "${ECHO_T}$CC" >&6
1719
echo "$as_me:1719: result: no" >&5
1720
echo "${ECHO_T}no" >&6
1724
if test -z "$ac_cv_prog_CC"; then
1726
# Extract the first word of "cc", so it can be a program name with args.
1727
set dummy cc; ac_word=$2
1728
echo "$as_me:1728: checking for $ac_word" >&5
1729
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1730
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1731
echo $ECHO_N "(cached) $ECHO_C" >&6
1733
if test -n "$ac_ct_CC"; then
1734
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1736
ac_save_IFS=$IFS; IFS=$ac_path_separator
1738
for ac_dir in $ac_dummy; do
1740
test -z "$ac_dir" && ac_dir=.
1741
$as_executable_p "$ac_dir/$ac_word" || continue
1742
ac_cv_prog_ac_ct_CC="cc"
1743
echo "$as_me:1743: found $ac_dir/$ac_word" >&5
1749
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1750
if test -n "$ac_ct_CC"; then
1751
echo "$as_me:1751: result: $ac_ct_CC" >&5
1752
echo "${ECHO_T}$ac_ct_CC" >&6
1754
echo "$as_me:1754: result: no" >&5
1755
echo "${ECHO_T}no" >&6
902
1764
if test -z "$CC"; then
903
1765
# Extract the first word of "cc", so it can be a program name with args.
904
1766
set dummy cc; ac_word=$2
905
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
906
echo "configure:907: checking for $ac_word" >&5
907
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
908
echo $ac_n "(cached) $ac_c" 1>&6
1767
echo "$as_me:1767: checking for $ac_word" >&5
1768
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769
if test "${ac_cv_prog_CC+set}" = set; then
1770
echo $ECHO_N "(cached) $ECHO_C" >&6
910
1772
if test -n "$CC"; then
911
1773
ac_cv_prog_CC="$CC" # Let the user override the test.
913
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
914
1775
ac_prog_rejected=no
916
for ac_dir in $ac_dummy; do
917
test -z "$ac_dir" && ac_dir=.
918
if test -f $ac_dir/$ac_word; then
919
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1776
ac_save_IFS=$IFS; IFS=$ac_path_separator
1778
for ac_dir in $ac_dummy; do
1780
test -z "$ac_dir" && ac_dir=.
1781
$as_executable_p "$ac_dir/$ac_word" || continue
1782
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1783
ac_prog_rejected=yes
1787
echo "$as_me:1787: found $ac_dir/$ac_word" >&5
928
1791
if test $ac_prog_rejected = yes; then
929
1792
# We found a bogon in the path, so make sure we never use it.
930
1793
set dummy $ac_cv_prog_CC
932
if test $# -gt 0; then
1795
if test $# != 0; then
933
1796
# We chose a different compiler from the bogus one.
934
1797
# However, it has the same basename, so the bogon will be chosen
935
1798
# first if we set CC to just the basename; use the full file name.
937
set dummy "$ac_dir/$ac_word" "$@"
1800
set dummy "$ac_dir/$ac_word" ${1+"$@"}
939
1802
ac_cv_prog_CC="$@"
945
1808
if test -n "$CC"; then
946
echo "$ac_t""$CC" 1>&6
1809
echo "$as_me:1809: result: $CC" >&5
1810
echo "${ECHO_T}$CC" >&6
948
echo "$ac_t""no" 1>&6
1812
echo "$as_me:1812: result: no" >&5
1813
echo "${ECHO_T}no" >&6
951
if test -z "$CC"; then
954
# Extract the first word of "cl", so it can be a program name with args.
955
set dummy cl; ac_word=$2
956
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
957
echo "configure:958: checking for $ac_word" >&5
958
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
959
echo $ac_n "(cached) $ac_c" 1>&6
1817
if test -z "$CC"; then
1818
if test -n "$ac_tool_prefix"; then
1821
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1822
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1823
echo "$as_me:1823: checking for $ac_word" >&5
1824
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825
if test "${ac_cv_prog_CC+set}" = set; then
1826
echo $ECHO_N "(cached) $ECHO_C" >&6
961
1828
if test -n "$CC"; then
962
1829
ac_cv_prog_CC="$CC" # Let the user override the test.
964
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
966
for ac_dir in $ac_dummy; do
967
test -z "$ac_dir" && ac_dir=.
968
if test -f $ac_dir/$ac_word; then
1831
ac_save_IFS=$IFS; IFS=$ac_path_separator
1833
for ac_dir in $ac_dummy; do
1835
test -z "$ac_dir" && ac_dir=.
1836
$as_executable_p "$ac_dir/$ac_word" || continue
1837
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1838
echo "$as_me:1838: found $ac_dir/$ac_word" >&5
1845
if test -n "$CC"; then
1846
echo "$as_me:1846: result: $CC" >&5
1847
echo "${ECHO_T}$CC" >&6
1849
echo "$as_me:1849: result: no" >&5
1850
echo "${ECHO_T}no" >&6
1853
test -n "$CC" && break
977
if test -n "$CC"; then
978
echo "$ac_t""$CC" 1>&6
980
echo "$ac_t""no" 1>&6
985
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
988
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
989
echo "configure:990: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
992
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
993
ac_cpp='$CPP $CPPFLAGS'
994
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
995
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
996
cross_compiling=$ac_cv_prog_cc_cross
998
cat > conftest.$ac_ext << EOF
1000
#line 1001 "configure"
1856
if test -z "$CC"; then
1860
# Extract the first word of "$ac_prog", so it can be a program name with args.
1861
set dummy $ac_prog; ac_word=$2
1862
echo "$as_me:1862: checking for $ac_word" >&5
1863
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1864
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1865
echo $ECHO_N "(cached) $ECHO_C" >&6
1867
if test -n "$ac_ct_CC"; then
1868
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1870
ac_save_IFS=$IFS; IFS=$ac_path_separator
1872
for ac_dir in $ac_dummy; do
1874
test -z "$ac_dir" && ac_dir=.
1875
$as_executable_p "$ac_dir/$ac_word" || continue
1876
ac_cv_prog_ac_ct_CC="$ac_prog"
1877
echo "$as_me:1877: found $ac_dir/$ac_word" >&5
1883
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1884
if test -n "$ac_ct_CC"; then
1885
echo "$as_me:1885: result: $ac_ct_CC" >&5
1886
echo "${ECHO_T}$ac_ct_CC" >&6
1888
echo "$as_me:1888: result: no" >&5
1889
echo "${ECHO_T}no" >&6
1892
test -n "$ac_ct_CC" && break
1900
test -z "$CC" && { { echo "$as_me:1900: error: no acceptable cc found in \$PATH" >&5
1901
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1902
{ (exit 1); exit 1; }; }
1904
# Provide some information about the compiler.
1905
echo "$as_me:1905:" \
1906
"checking for C compiler version" >&5
1907
ac_compiler=`set X $ac_compile; echo $2`
1908
{ (eval echo "$as_me:1908: \"$ac_compiler --version </dev/null >&5\"") >&5
1909
(eval $ac_compiler --version </dev/null >&5) 2>&5
1911
echo "$as_me:1911: \$? = $ac_status" >&5
1912
(exit $ac_status); }
1913
{ (eval echo "$as_me:1913: \"$ac_compiler -v </dev/null >&5\"") >&5
1914
(eval $ac_compiler -v </dev/null >&5) 2>&5
1916
echo "$as_me:1916: \$? = $ac_status" >&5
1917
(exit $ac_status); }
1918
{ (eval echo "$as_me:1918: \"$ac_compiler -V </dev/null >&5\"") >&5
1919
(eval $ac_compiler -V </dev/null >&5) 2>&5
1921
echo "$as_me:1921: \$? = $ac_status" >&5
1922
(exit $ac_status); }
1924
cat >conftest.$ac_ext <<_ACEOF
1925
#line 1925 "configure"
1001
1926
#include "confdefs.h"
1005
if { (eval echo configure:1006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1006
ac_cv_prog_cc_works=yes
1007
# If we can't run a trivial program, we are probably using a cross compiler.
1008
if (./conftest; exit) 2>/dev/null; then
1009
ac_cv_prog_cc_cross=no
1936
ac_clean_files_save=$ac_clean_files
1937
ac_clean_files="$ac_clean_files a.out a.exe"
1938
# Try to create an executable without -o first, disregard a.out.
1939
# It will help us diagnose broken compilers, and finding out an intuition
1941
echo "$as_me:1941: checking for C compiler default output" >&5
1942
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1943
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1944
if { (eval echo "$as_me:1944: \"$ac_link_default\"") >&5
1945
(eval $ac_link_default) 2>&5
1947
echo "$as_me:1947: \$? = $ac_status" >&5
1948
(exit $ac_status); }; then
1949
# Find the output, starting from the most likely. This scheme is
1950
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1952
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1953
ls a.out conftest 2>/dev/null;
1954
ls a.* conftest.* 2>/dev/null`; do
1956
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1957
a.out ) # We found the default executable, but exeext='' is most
1960
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1961
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1968
echo "$as_me: failed program was:" >&5
1969
cat conftest.$ac_ext >&5
1970
{ { echo "$as_me:1970: error: C compiler cannot create executables" >&5
1971
echo "$as_me: error: C compiler cannot create executables" >&2;}
1972
{ (exit 77); exit 77; }; }
1975
ac_exeext=$ac_cv_exeext
1976
echo "$as_me:1976: result: $ac_file" >&5
1977
echo "${ECHO_T}$ac_file" >&6
1979
# Check the compiler produces executables we can run. If not, either
1980
# the compiler is broken, or we cross compile.
1981
echo "$as_me:1981: checking whether the C compiler works" >&5
1982
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1983
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1984
# If not cross compiling, check that we can run a simple program.
1985
if test "$cross_compiling" != yes; then
1986
if { ac_try='./$ac_file'
1987
{ (eval echo "$as_me:1987: \"$ac_try\"") >&5
1990
echo "$as_me:1990: \$? = $ac_status" >&5
1991
(exit $ac_status); }; }; then
1011
ac_cv_prog_cc_cross=yes
1994
if test "$cross_compiling" = maybe; then
1997
{ { echo "$as_me:1997: error: cannot run C compiled programs.
1998
If you meant to cross compile, use \`--host'." >&5
1999
echo "$as_me: error: cannot run C compiled programs.
2000
If you meant to cross compile, use \`--host'." >&2;}
2001
{ (exit 1); exit 1; }; }
1014
echo "configure: failed program was:" >&5
1015
cat conftest.$ac_ext >&5
1016
ac_cv_prog_cc_works=no
1020
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1021
ac_cpp='$CPP $CPPFLAGS'
1022
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1023
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1024
cross_compiling=$ac_cv_prog_cc_cross
1026
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1027
if test $ac_cv_prog_cc_works = no; then
1028
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1030
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1031
echo "configure:1032: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1032
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1033
cross_compiling=$ac_cv_prog_cc_cross
1035
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1036
echo "configure:1037: checking whether we are using GNU C" >&5
1037
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1038
echo $ac_n "(cached) $ac_c" 1>&6
1040
cat > conftest.c <<EOF
2005
echo "$as_me:2005: result: yes" >&5
2006
echo "${ECHO_T}yes" >&6
2008
rm -f a.out a.exe conftest$ac_cv_exeext
2009
ac_clean_files=$ac_clean_files_save
2010
# Check the compiler produces executables we can run. If not, either
2011
# the compiler is broken, or we cross compile.
2012
echo "$as_me:2012: checking whether we are cross compiling" >&5
2013
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2014
echo "$as_me:2014: result: $cross_compiling" >&5
2015
echo "${ECHO_T}$cross_compiling" >&6
2017
echo "$as_me:2017: checking for executable suffix" >&5
2018
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2019
if { (eval echo "$as_me:2019: \"$ac_link\"") >&5
2020
(eval $ac_link) 2>&5
2022
echo "$as_me:2022: \$? = $ac_status" >&5
2023
(exit $ac_status); }; then
2024
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2025
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2026
# work properly (i.e., refer to `conftest.exe'), while it won't with
2028
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2030
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2031
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2038
{ { echo "$as_me:2038: error: cannot compute EXEEXT: cannot compile and link" >&5
2039
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2040
{ (exit 1); exit 1; }; }
2043
rm -f conftest$ac_cv_exeext
2044
echo "$as_me:2044: result: $ac_cv_exeext" >&5
2045
echo "${ECHO_T}$ac_cv_exeext" >&6
2047
rm -f conftest.$ac_ext
2048
EXEEXT=$ac_cv_exeext
2050
echo "$as_me:2050: checking for object suffix" >&5
2051
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2052
if test "${ac_cv_objext+set}" = set; then
2053
echo $ECHO_N "(cached) $ECHO_C" >&6
2055
cat >conftest.$ac_ext <<_ACEOF
2056
#line 2056 "configure"
2057
#include "confdefs.h"
2067
rm -f conftest.o conftest.obj
2068
if { (eval echo "$as_me:2068: \"$ac_compile\"") >&5
2069
(eval $ac_compile) 2>&5
2071
echo "$as_me:2071: \$? = $ac_status" >&5
2072
(exit $ac_status); }; then
2073
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2075
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2076
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2081
echo "$as_me: failed program was:" >&5
2082
cat conftest.$ac_ext >&5
2083
{ { echo "$as_me:2083: error: cannot compute OBJEXT: cannot compile" >&5
2084
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2085
{ (exit 1); exit 1; }; }
2088
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2090
echo "$as_me:2090: result: $ac_cv_objext" >&5
2091
echo "${ECHO_T}$ac_cv_objext" >&6
2092
OBJEXT=$ac_cv_objext
2094
echo "$as_me:2094: checking whether we are using the GNU C compiler" >&5
2095
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2096
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2097
echo $ECHO_N "(cached) $ECHO_C" >&6
2099
cat >conftest.$ac_ext <<_ACEOF
2100
#line 2100 "configure"
2101
#include "confdefs.h"
1045
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1052
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1054
if test $ac_cv_prog_gcc = yes; then
1060
ac_test_CFLAGS="${CFLAGS+set}"
1061
ac_save_CFLAGS="$CFLAGS"
1063
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1064
echo "configure:1065: checking whether ${CC-cc} accepts -g" >&5
1065
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1066
echo $ac_n "(cached) $ac_c" 1>&6
1068
echo 'void f(){}' > conftest.c
1069
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2114
rm -f conftest.$ac_objext
2115
if { (eval echo "$as_me:2115: \"$ac_compile\"") >&5
2116
(eval $ac_compile) 2>&5
2118
echo "$as_me:2118: \$? = $ac_status" >&5
2119
(exit $ac_status); } &&
2120
{ ac_try='test -s conftest.$ac_objext'
2121
{ (eval echo "$as_me:2121: \"$ac_try\"") >&5
2124
echo "$as_me:2124: \$? = $ac_status" >&5
2125
(exit $ac_status); }; }; then
2128
echo "$as_me: failed program was:" >&5
2129
cat conftest.$ac_ext >&5
2132
rm -f conftest.$ac_objext conftest.$ac_ext
2133
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2136
echo "$as_me:2136: result: $ac_cv_c_compiler_gnu" >&5
2137
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2138
GCC=`test $ac_compiler_gnu = yes && echo yes`
2139
ac_test_CFLAGS=${CFLAGS+set}
2140
ac_save_CFLAGS=$CFLAGS
2142
echo "$as_me:2142: checking whether $CC accepts -g" >&5
2143
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2144
if test "${ac_cv_prog_cc_g+set}" = set; then
2145
echo $ECHO_N "(cached) $ECHO_C" >&6
2147
cat >conftest.$ac_ext <<_ACEOF
2148
#line 2148 "configure"
2149
#include "confdefs.h"
2159
rm -f conftest.$ac_objext
2160
if { (eval echo "$as_me:2160: \"$ac_compile\"") >&5
2161
(eval $ac_compile) 2>&5
2163
echo "$as_me:2163: \$? = $ac_status" >&5
2164
(exit $ac_status); } &&
2165
{ ac_try='test -s conftest.$ac_objext'
2166
{ (eval echo "$as_me:2166: \"$ac_try\"") >&5
2169
echo "$as_me:2169: \$? = $ac_status" >&5
2170
(exit $ac_status); }; }; then
1070
2171
ac_cv_prog_cc_g=yes
1078
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2173
echo "$as_me: failed program was:" >&5
2174
cat conftest.$ac_ext >&5
2177
rm -f conftest.$ac_objext conftest.$ac_ext
2179
echo "$as_me:2179: result: $ac_cv_prog_cc_g" >&5
2180
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1079
2181
if test "$ac_test_CFLAGS" = set; then
1080
CFLAGS="$ac_save_CFLAGS"
2182
CFLAGS=$ac_save_CFLAGS
1081
2183
elif test $ac_cv_prog_cc_g = yes; then
1082
2184
if test "$GCC" = yes; then
1083
2185
CFLAGS="-g -O2"
2196
# Some people use a C++ compiler to compile C. Since we use `exit',
2197
# in C++ we need to declare it. In case someone uses the same compiler
2198
# for both compiling C and C++ we need to have the C++ compiler decide
2199
# the declaration of exit, since it's the most demanding environment.
2200
cat >conftest.$ac_ext <<_ACEOF
2205
rm -f conftest.$ac_objext
2206
if { (eval echo "$as_me:2206: \"$ac_compile\"") >&5
2207
(eval $ac_compile) 2>&5
2209
echo "$as_me:2209: \$? = $ac_status" >&5
2210
(exit $ac_status); } &&
2211
{ ac_try='test -s conftest.$ac_objext'
2212
{ (eval echo "$as_me:2212: \"$ac_try\"") >&5
2215
echo "$as_me:2215: \$? = $ac_status" >&5
2216
(exit $ac_status); }; }; then
2217
for ac_declaration in \
2219
'#include <stdlib.h>' \
2220
'extern "C" void std::exit (int) throw (); using std::exit;' \
2221
'extern "C" void std::exit (int); using std::exit;' \
2222
'extern "C" void exit (int) throw ();' \
2223
'extern "C" void exit (int);' \
2226
cat >conftest.$ac_ext <<_ACEOF
2227
#line 2227 "configure"
2228
#include "confdefs.h"
2239
rm -f conftest.$ac_objext
2240
if { (eval echo "$as_me:2240: \"$ac_compile\"") >&5
2241
(eval $ac_compile) 2>&5
2243
echo "$as_me:2243: \$? = $ac_status" >&5
2244
(exit $ac_status); } &&
2245
{ ac_try='test -s conftest.$ac_objext'
2246
{ (eval echo "$as_me:2246: \"$ac_try\"") >&5
2249
echo "$as_me:2249: \$? = $ac_status" >&5
2250
(exit $ac_status); }; }; then
2253
echo "$as_me: failed program was:" >&5
2254
cat conftest.$ac_ext >&5
2257
rm -f conftest.$ac_objext conftest.$ac_ext
2258
cat >conftest.$ac_ext <<_ACEOF
2259
#line 2259 "configure"
2260
#include "confdefs.h"
2270
rm -f conftest.$ac_objext
2271
if { (eval echo "$as_me:2271: \"$ac_compile\"") >&5
2272
(eval $ac_compile) 2>&5
2274
echo "$as_me:2274: \$? = $ac_status" >&5
2275
(exit $ac_status); } &&
2276
{ ac_try='test -s conftest.$ac_objext'
2277
{ (eval echo "$as_me:2277: \"$ac_try\"") >&5
2280
echo "$as_me:2280: \$? = $ac_status" >&5
2281
(exit $ac_status); }; }; then
2284
echo "$as_me: failed program was:" >&5
2285
cat conftest.$ac_ext >&5
2287
rm -f conftest.$ac_objext conftest.$ac_ext
2290
if test -n "$ac_declaration"; then
2291
echo '#ifdef __cplusplus' >>confdefs.h
2292
echo $ac_declaration >>confdefs.h
2293
echo '#endif' >>confdefs.h
2297
echo "$as_me: failed program was:" >&5
2298
cat conftest.$ac_ext >&5
2300
rm -f conftest.$ac_objext conftest.$ac_ext
2302
ac_cpp='$CPP $CPPFLAGS'
2303
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2304
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2305
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307
depcc="$CC" am_compiler_list=
2309
echo "$as_me:2309: checking dependency style of $depcc" >&5
2310
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2311
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2312
echo $ECHO_N "(cached) $ECHO_C" >&6
2314
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2315
# We make a subdir and do the tests there. Otherwise we can end up
2316
# making bogus files that we don't know about and never remove. For
2317
# instance it was reported that on HP-UX the gcc test will end up
2318
# making a dummy file named `D' -- because `-MD' means `put the output
2321
# Copy depcomp to subdir because otherwise we won't find it if we're
2322
# using a relative directory.
2323
cp "$am_depcomp" conftest.dir
2326
am_cv_CC_dependencies_compiler_type=none
2327
if test "$am_compiler_list" = ""; then
2328
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2330
for depmode in $am_compiler_list; do
2331
# We need to recreate these files for each test, as the compiler may
2332
# overwrite some of them when testing with obscure command lines.
2333
# This happens at least with the AIX C compiler.
2334
echo '#include "conftest.h"' > conftest.c
2335
echo 'int i;' > conftest.h
2336
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2340
# after this tag, mechanisms are not by side-effect, so they'll
2341
# only be used when explicitly requested
2342
if test "x$enable_dependency_tracking" = xyes; then
2350
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2351
# mode. It turns out that the SunPro C++ compiler does not properly
2352
# handle `-M -o', and we need to detect this.
2353
if depmode=$depmode \
2354
source=conftest.c object=conftest.o \
2355
depfile=conftest.Po tmpdepfile=conftest.TPo \
2356
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2357
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2358
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2359
am_cv_CC_dependencies_compiler_type=$depmode
2367
am_cv_CC_dependencies_compiler_type=none
2371
echo "$as_me:2371: result: $am_cv_CC_dependencies_compiler_type" >&5
2372
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2373
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1096
2375
# Make sure we can run config.sub.
1097
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1098
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1101
echo $ac_n "checking host system type""... $ac_c" 1>&6
1102
echo "configure:1103: checking host system type" >&5
1105
case "$host_alias" in
1109
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1110
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1112
*) host_alias=$nonopt ;;
1116
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1117
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1118
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1119
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1120
echo "$ac_t""$host" 1>&6
1122
# Extract the first word of "ranlib", so it can be a program name with args.
1123
set dummy ranlib; ac_word=$2
1124
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1125
echo "configure:1126: checking for $ac_word" >&5
1126
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1127
echo $ac_n "(cached) $ac_c" 1>&6
2376
$ac_config_sub sun4 >/dev/null 2>&1 ||
2377
{ { echo "$as_me:2377: error: cannot run $ac_config_sub" >&5
2378
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2379
{ (exit 1); exit 1; }; }
2381
echo "$as_me:2381: checking build system type" >&5
2382
echo $ECHO_N "checking build system type... $ECHO_C" >&6
2383
if test "${ac_cv_build+set}" = set; then
2384
echo $ECHO_N "(cached) $ECHO_C" >&6
2386
ac_cv_build_alias=$build_alias
2387
test -z "$ac_cv_build_alias" &&
2388
ac_cv_build_alias=`$ac_config_guess`
2389
test -z "$ac_cv_build_alias" &&
2390
{ { echo "$as_me:2390: error: cannot guess build type; you must specify one" >&5
2391
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2392
{ (exit 1); exit 1; }; }
2393
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2394
{ { echo "$as_me:2394: error: $ac_config_sub $ac_cv_build_alias failed." >&5
2395
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
2396
{ (exit 1); exit 1; }; }
2399
echo "$as_me:2399: result: $ac_cv_build" >&5
2400
echo "${ECHO_T}$ac_cv_build" >&6
2402
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2403
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2404
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2406
echo "$as_me:2406: checking host system type" >&5
2407
echo $ECHO_N "checking host system type... $ECHO_C" >&6
2408
if test "${ac_cv_host+set}" = set; then
2409
echo $ECHO_N "(cached) $ECHO_C" >&6
2411
ac_cv_host_alias=$host_alias
2412
test -z "$ac_cv_host_alias" &&
2413
ac_cv_host_alias=$ac_cv_build_alias
2414
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2415
{ { echo "$as_me:2415: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2416
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2417
{ (exit 1); exit 1; }; }
2420
echo "$as_me:2420: result: $ac_cv_host" >&5
2421
echo "${ECHO_T}$ac_cv_host" >&6
2423
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2424
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2425
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2427
if test -n "$ac_tool_prefix"; then
2428
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2429
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2430
echo "$as_me:2430: checking for $ac_word" >&5
2431
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2432
if test "${ac_cv_prog_RANLIB+set}" = set; then
2433
echo $ECHO_N "(cached) $ECHO_C" >&6
1129
2435
if test -n "$RANLIB"; then
1130
2436
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1132
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1134
for ac_dir in $ac_dummy; do
1135
test -z "$ac_dir" && ac_dir=.
1136
if test -f $ac_dir/$ac_word; then
1137
ac_cv_prog_RANLIB="ranlib"
1142
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1145
RANLIB="$ac_cv_prog_RANLIB"
2438
ac_save_IFS=$IFS; IFS=$ac_path_separator
2440
for ac_dir in $ac_dummy; do
2442
test -z "$ac_dir" && ac_dir=.
2443
$as_executable_p "$ac_dir/$ac_word" || continue
2444
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2445
echo "$as_me:2445: found $ac_dir/$ac_word" >&5
2451
RANLIB=$ac_cv_prog_RANLIB
1146
2452
if test -n "$RANLIB"; then
1147
echo "$ac_t""$RANLIB" 1>&6
1149
echo "$ac_t""no" 1>&6
1153
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
1154
echo "configure:1155: checking for strerror in -lcposix" >&5
1155
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1156
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1157
echo $ac_n "(cached) $ac_c" 1>&6
1159
ac_save_LIBS="$LIBS"
2453
echo "$as_me:2453: result: $RANLIB" >&5
2454
echo "${ECHO_T}$RANLIB" >&6
2456
echo "$as_me:2456: result: no" >&5
2457
echo "${ECHO_T}no" >&6
2461
if test -z "$ac_cv_prog_RANLIB"; then
2462
ac_ct_RANLIB=$RANLIB
2463
# Extract the first word of "ranlib", so it can be a program name with args.
2464
set dummy ranlib; ac_word=$2
2465
echo "$as_me:2465: checking for $ac_word" >&5
2466
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2467
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2468
echo $ECHO_N "(cached) $ECHO_C" >&6
2470
if test -n "$ac_ct_RANLIB"; then
2471
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2473
ac_save_IFS=$IFS; IFS=$ac_path_separator
2475
for ac_dir in $ac_dummy; do
2477
test -z "$ac_dir" && ac_dir=.
2478
$as_executable_p "$ac_dir/$ac_word" || continue
2479
ac_cv_prog_ac_ct_RANLIB="ranlib"
2480
echo "$as_me:2480: found $ac_dir/$ac_word" >&5
2484
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2487
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2488
if test -n "$ac_ct_RANLIB"; then
2489
echo "$as_me:2489: result: $ac_ct_RANLIB" >&5
2490
echo "${ECHO_T}$ac_ct_RANLIB" >&6
2492
echo "$as_me:2492: result: no" >&5
2493
echo "${ECHO_T}no" >&6
2496
RANLIB=$ac_ct_RANLIB
2498
RANLIB="$ac_cv_prog_RANLIB"
2501
echo "$as_me:2501: checking for strerror in -lcposix" >&5
2502
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2503
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2504
echo $ECHO_N "(cached) $ECHO_C" >&6
2506
ac_check_lib_save_LIBS=$LIBS
1160
2507
LIBS="-lcposix $LIBS"
1161
cat > conftest.$ac_ext <<EOF
1162
#line 1163 "configure"
2508
cat >conftest.$ac_ext <<_ACEOF
2509
#line 2509 "configure"
1163
2510
#include "confdefs.h"
1164
2512
/* Override any gcc2 internal prototype to avoid an error. */
1165
2516
/* We use char because int might match the return type of a gcc2
1166
builtin and then its argument prototype would still apply. */
1173
if { (eval echo configure:1174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1175
eval "ac_cv_lib_$ac_lib_var=yes"
2517
builtin and then its argument prototype would still apply. */
2527
rm -f conftest.$ac_objext conftest$ac_exeext
2528
if { (eval echo "$as_me:2528: \"$ac_link\"") >&5
2529
(eval $ac_link) 2>&5
2531
echo "$as_me:2531: \$? = $ac_status" >&5
2532
(exit $ac_status); } &&
2533
{ ac_try='test -s conftest$ac_exeext'
2534
{ (eval echo "$as_me:2534: \"$ac_try\"") >&5
2537
echo "$as_me:2537: \$? = $ac_status" >&5
2538
(exit $ac_status); }; }; then
2539
ac_cv_lib_cposix_strerror=yes
1177
echo "configure: failed program was:" >&5
1178
cat conftest.$ac_ext >&5
1180
eval "ac_cv_lib_$ac_lib_var=no"
1183
LIBS="$ac_save_LIBS"
1186
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1187
echo "$ac_t""yes" 1>&6
2541
echo "$as_me: failed program was:" >&5
2542
cat conftest.$ac_ext >&5
2543
ac_cv_lib_cposix_strerror=no
2545
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2546
LIBS=$ac_check_lib_save_LIBS
2548
echo "$as_me:2548: result: $ac_cv_lib_cposix_strerror" >&5
2549
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2550
if test $ac_cv_lib_cposix_strerror = yes; then
1188
2551
LIBS="$LIBS -lcposix"
1190
echo "$ac_t""no" 1>&6
1195
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1196
echo "configure:1197: checking for ANSI C header files" >&5
1197
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1198
echo $ac_n "(cached) $ac_c" 1>&6
1200
cat > conftest.$ac_ext <<EOF
1201
#line 1202 "configure"
2555
ac_cpp='$CPP $CPPFLAGS'
2556
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2559
echo "$as_me:2559: checking how to run the C preprocessor" >&5
2560
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2561
# On Suns, sometimes $CPP names a directory.
2562
if test -n "$CPP" && test -d "$CPP"; then
2565
if test -z "$CPP"; then
2566
if test "${ac_cv_prog_CPP+set}" = set; then
2567
echo $ECHO_N "(cached) $ECHO_C" >&6
2569
# Double quotes because CPP needs to be expanded
2570
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2573
for ac_c_preproc_warn_flag in '' yes
2575
# Use a header file that comes with gcc, so configuring glibc
2576
# with a fresh cross-compiler works.
2577
# On the NeXT, cc -E runs the code through the compiler's parser,
2578
# not just through cpp. "Syntax error" is here to catch this case.
2579
cat >conftest.$ac_ext <<_ACEOF
2580
#line 2580 "configure"
2581
#include "confdefs.h"
2585
if { (eval echo "$as_me:2585: \"$ac_cpp conftest.$ac_ext\"") >&5
2586
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2588
egrep -v '^ *\+' conftest.er1 >conftest.err
2590
cat conftest.err >&5
2591
echo "$as_me:2591: \$? = $ac_status" >&5
2592
(exit $ac_status); } >/dev/null; then
2593
if test -s conftest.err; then
2594
ac_cpp_err=$ac_c_preproc_warn_flag
2601
if test -z "$ac_cpp_err"; then
2604
echo "$as_me: failed program was:" >&5
2605
cat conftest.$ac_ext >&5
2606
# Broken: fails on valid input.
2609
rm -f conftest.err conftest.$ac_ext
2611
# OK, works on sane cases. Now check whether non-existent headers
2612
# can be detected and how.
2613
cat >conftest.$ac_ext <<_ACEOF
2614
#line 2614 "configure"
2615
#include "confdefs.h"
2616
#include <ac_nonexistent.h>
2618
if { (eval echo "$as_me:2618: \"$ac_cpp conftest.$ac_ext\"") >&5
2619
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2621
egrep -v '^ *\+' conftest.er1 >conftest.err
2623
cat conftest.err >&5
2624
echo "$as_me:2624: \$? = $ac_status" >&5
2625
(exit $ac_status); } >/dev/null; then
2626
if test -s conftest.err; then
2627
ac_cpp_err=$ac_c_preproc_warn_flag
2634
if test -z "$ac_cpp_err"; then
2635
# Broken: success on invalid input.
2638
echo "$as_me: failed program was:" >&5
2639
cat conftest.$ac_ext >&5
2640
# Passes both tests.
2644
rm -f conftest.err conftest.$ac_ext
2647
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2648
rm -f conftest.err conftest.$ac_ext
2649
if $ac_preproc_ok; then
2661
echo "$as_me:2661: result: $CPP" >&5
2662
echo "${ECHO_T}$CPP" >&6
2664
for ac_c_preproc_warn_flag in '' yes
2666
# Use a header file that comes with gcc, so configuring glibc
2667
# with a fresh cross-compiler works.
2668
# On the NeXT, cc -E runs the code through the compiler's parser,
2669
# not just through cpp. "Syntax error" is here to catch this case.
2670
cat >conftest.$ac_ext <<_ACEOF
2671
#line 2671 "configure"
2672
#include "confdefs.h"
2676
if { (eval echo "$as_me:2676: \"$ac_cpp conftest.$ac_ext\"") >&5
2677
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2679
egrep -v '^ *\+' conftest.er1 >conftest.err
2681
cat conftest.err >&5
2682
echo "$as_me:2682: \$? = $ac_status" >&5
2683
(exit $ac_status); } >/dev/null; then
2684
if test -s conftest.err; then
2685
ac_cpp_err=$ac_c_preproc_warn_flag
2692
if test -z "$ac_cpp_err"; then
2695
echo "$as_me: failed program was:" >&5
2696
cat conftest.$ac_ext >&5
2697
# Broken: fails on valid input.
2700
rm -f conftest.err conftest.$ac_ext
2702
# OK, works on sane cases. Now check whether non-existent headers
2703
# can be detected and how.
2704
cat >conftest.$ac_ext <<_ACEOF
2705
#line 2705 "configure"
2706
#include "confdefs.h"
2707
#include <ac_nonexistent.h>
2709
if { (eval echo "$as_me:2709: \"$ac_cpp conftest.$ac_ext\"") >&5
2710
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2712
egrep -v '^ *\+' conftest.er1 >conftest.err
2714
cat conftest.err >&5
2715
echo "$as_me:2715: \$? = $ac_status" >&5
2716
(exit $ac_status); } >/dev/null; then
2717
if test -s conftest.err; then
2718
ac_cpp_err=$ac_c_preproc_warn_flag
2725
if test -z "$ac_cpp_err"; then
2726
# Broken: success on invalid input.
2729
echo "$as_me: failed program was:" >&5
2730
cat conftest.$ac_ext >&5
2731
# Passes both tests.
2735
rm -f conftest.err conftest.$ac_ext
2738
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2739
rm -f conftest.err conftest.$ac_ext
2740
if $ac_preproc_ok; then
2743
{ { echo "$as_me:2743: error: C preprocessor \"$CPP\" fails sanity check" >&5
2744
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2745
{ (exit 1); exit 1; }; }
2749
ac_cpp='$CPP $CPPFLAGS'
2750
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2751
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2752
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2754
echo "$as_me:2754: checking for ANSI C header files" >&5
2755
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2756
if test "${ac_cv_header_stdc+set}" = set; then
2757
echo $ECHO_N "(cached) $ECHO_C" >&6
2759
cat >conftest.$ac_ext <<_ACEOF
2760
#line 2760 "configure"
1202
2761
#include "confdefs.h"
1203
2762
#include <stdlib.h>
1204
2763
#include <stdarg.h>
1205
2764
#include <string.h>
1206
2765
#include <float.h>
1208
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1209
{ (eval echo configure:1210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1210
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1211
if test -z "$ac_err"; then
2768
if { (eval echo "$as_me:2768: \"$ac_cpp conftest.$ac_ext\"") >&5
2769
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2771
egrep -v '^ *\+' conftest.er1 >conftest.err
2773
cat conftest.err >&5
2774
echo "$as_me:2774: \$? = $ac_status" >&5
2775
(exit $ac_status); } >/dev/null; then
2776
if test -s conftest.err; then
2777
ac_cpp_err=$ac_c_preproc_warn_flag
2784
if test -z "$ac_cpp_err"; then
1213
2785
ac_cv_header_stdc=yes
1216
echo "configure: failed program was:" >&5
2787
echo "$as_me: failed program was:" >&5
1217
2788
cat conftest.$ac_ext >&5
1219
2789
ac_cv_header_stdc=no
2791
rm -f conftest.err conftest.$ac_ext
1223
2793
if test $ac_cv_header_stdc = yes; then
1224
2794
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1225
cat > conftest.$ac_ext <<EOF
1226
#line 1227 "configure"
2795
cat >conftest.$ac_ext <<_ACEOF
2796
#line 2796 "configure"
1227
2797
#include "confdefs.h"
1228
2798
#include <string.h>
1230
2801
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1231
2802
egrep "memchr" >/dev/null 2>&1; then
1235
2805
ac_cv_header_stdc=no
1237
2807
rm -f conftest*
1259
2829
if test $ac_cv_header_stdc = yes; then
1260
2830
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1261
if test "$cross_compiling" = yes; then
2831
if test "$cross_compiling" = yes; then
1264
cat > conftest.$ac_ext <<EOF
1265
#line 1266 "configure"
2834
cat >conftest.$ac_ext <<_ACEOF
2835
#line 2835 "configure"
1266
2836
#include "confdefs.h"
1267
2837
#include <ctype.h>
1268
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1269
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2838
#if ((' ' & 0x0FF) == 0x020)
2839
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2840
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2842
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2843
|| ('j' <= (c) && (c) <= 'r') \
2844
|| ('s' <= (c) && (c) <= 'z'))
2845
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1270
2848
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1271
int main () { int i; for (i = 0; i < 256; i++)
1272
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1276
if { (eval echo configure:1277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2853
for (i = 0; i < 256; i++)
2854
if (XOR (islower (i), ISLOWER (i))
2855
|| toupper (i) != TOUPPER (i))
2860
rm -f conftest$ac_exeext
2861
if { (eval echo "$as_me:2861: \"$ac_link\"") >&5
2862
(eval $ac_link) 2>&5
2864
echo "$as_me:2864: \$? = $ac_status" >&5
2865
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2866
{ (eval echo "$as_me:2866: \"$ac_try\"") >&5
2869
echo "$as_me:2869: \$? = $ac_status" >&5
2870
(exit $ac_status); }; }; then
1280
echo "configure: failed program was:" >&5
1281
cat conftest.$ac_ext >&5
1283
ac_cv_header_stdc=no
1291
echo "$ac_t""$ac_cv_header_stdc" 1>&6
2873
echo "$as_me: program exited with status $ac_status" >&5
2874
echo "$as_me: failed program was:" >&5
2875
cat conftest.$ac_ext >&5
2876
ac_cv_header_stdc=no
2878
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2882
echo "$as_me:2882: result: $ac_cv_header_stdc" >&5
2883
echo "${ECHO_T}$ac_cv_header_stdc" >&6
1292
2884
if test $ac_cv_header_stdc = yes; then
1293
cat >> confdefs.h <<\EOF
2886
cat >>confdefs.h <<\EOF
1294
2887
#define STDC_HEADERS 1
1299
echo $ac_n "checking for working const""... $ac_c" 1>&6
1300
echo "configure:1301: checking for working const" >&5
1301
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1302
echo $ac_n "(cached) $ac_c" 1>&6
1304
cat > conftest.$ac_ext <<EOF
1305
#line 1306 "configure"
1306
#include "confdefs.h"
1310
/* Ultrix mips cc rejects this. */
1311
typedef int charset[2]; const charset x;
1312
/* SunOS 4.1.1 cc rejects this. */
1313
char const *const *ccp;
1315
/* NEC SVR4.0.2 mips cc rejects this. */
1316
struct point {int x, y;};
1317
static struct point const zero = {0,0};
1318
/* AIX XL C 1.02.0.0 rejects this.
1319
It does not let you subtract one const X* pointer from another in an arm
1320
of an if-expression whose if-part is not a constant expression */
1321
const char *g = "string";
1322
ccp = &g + (g ? g-g : 0);
1323
/* HPUX 7.0 cc rejects these. */
1326
ccp = (char const *const *) p;
1327
{ /* SCO 3.2v4 cc rejects this. */
1329
char const *s = 0 ? (char *) 0 : (char const *) 0;
1333
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1335
const int *foo = &x[0];
1338
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1339
typedef const int *iptr;
1343
{ /* AIX XL C 1.02.0.0 rejects this saying
1344
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1345
struct s { int j; const int *ap[3]; };
1346
struct s *b; b->j = 5;
1348
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1354
if { (eval echo configure:1355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2892
echo "$as_me:2892: checking for $CC option to accept ANSI C" >&5
2893
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2894
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2895
echo $ECHO_N "(cached) $ECHO_C" >&6
2897
ac_cv_prog_cc_stdc=no
2899
cat >conftest.$ac_ext <<_ACEOF
2900
#line 2900 "configure"
2901
#include "confdefs.h"
2904
#include <sys/types.h>
2905
#include <sys/stat.h>
2906
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2907
struct buf { int x; };
2908
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2909
static char *e (p, i)
2915
static char *f (char * (*g) (char **, int), char **p, ...)
2920
s = g (p, va_arg (v,int));
2924
int test (int i, double x);
2925
struct s1 {int (*f) (int a);};
2926
struct s2 {int (*f) (double a);};
2927
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2933
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2938
# Don't try gcc -ansi; that turns off useful extensions and
2939
# breaks some systems' header files.
2940
# AIX -qlanglvl=ansi
2941
# Ultrix and OSF/1 -std1
2942
# HP-UX 10.20 and later -Ae
2943
# HP-UX older versions -Aa -D_HPUX_SOURCE
2944
# SVR4 -Xc -D__EXTENSIONS__
2945
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2947
CC="$ac_save_CC $ac_arg"
2948
rm -f conftest.$ac_objext
2949
if { (eval echo "$as_me:2949: \"$ac_compile\"") >&5
2950
(eval $ac_compile) 2>&5
2952
echo "$as_me:2952: \$? = $ac_status" >&5
2953
(exit $ac_status); } &&
2954
{ ac_try='test -s conftest.$ac_objext'
2955
{ (eval echo "$as_me:2955: \"$ac_try\"") >&5
2958
echo "$as_me:2958: \$? = $ac_status" >&5
2959
(exit $ac_status); }; }; then
2960
ac_cv_prog_cc_stdc=$ac_arg
2963
echo "$as_me: failed program was:" >&5
2964
cat conftest.$ac_ext >&5
2966
rm -f conftest.$ac_objext
2968
rm -f conftest.$ac_ext conftest.$ac_objext
2973
case "x$ac_cv_prog_cc_stdc" in
2975
echo "$as_me:2975: result: none needed" >&5
2976
echo "${ECHO_T}none needed" >&6 ;;
2978
echo "$as_me:2978: result: $ac_cv_prog_cc_stdc" >&5
2979
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2980
CC="$CC $ac_cv_prog_cc_stdc" ;;
2983
echo "$as_me:2983: checking for an ANSI C-conforming const" >&5
2984
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2985
if test "${ac_cv_c_const+set}" = set; then
2986
echo $ECHO_N "(cached) $ECHO_C" >&6
2988
cat >conftest.$ac_ext <<_ACEOF
2989
#line 2989 "configure"
2990
#include "confdefs.h"
2995
/* FIXME: Include the comments suggested by Paul. */
2997
/* Ultrix mips cc rejects this. */
2998
typedef int charset[2];
3000
/* SunOS 4.1.1 cc rejects this. */
3001
char const *const *ccp;
3003
/* NEC SVR4.0.2 mips cc rejects this. */
3004
struct point {int x, y;};
3005
static struct point const zero = {0,0};
3006
/* AIX XL C 1.02.0.0 rejects this.
3007
It does not let you subtract one const X* pointer from another in
3008
an arm of an if-expression whose if-part is not a constant
3010
const char *g = "string";
3011
ccp = &g + (g ? g-g : 0);
3012
/* HPUX 7.0 cc rejects these. */
3015
ccp = (char const *const *) p;
3016
{ /* SCO 3.2v4 cc rejects this. */
3018
char const *s = 0 ? (char *) 0 : (char const *) 0;
3022
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3024
const int *foo = &x[0];
3027
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3028
typedef const int *iptr;
3032
{ /* AIX XL C 1.02.0.0 rejects this saying
3033
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3034
struct s { int j; const int *ap[3]; };
3035
struct s *b; b->j = 5;
3037
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3046
rm -f conftest.$ac_objext
3047
if { (eval echo "$as_me:3047: \"$ac_compile\"") >&5
3048
(eval $ac_compile) 2>&5
3050
echo "$as_me:3050: \$? = $ac_status" >&5
3051
(exit $ac_status); } &&
3052
{ ac_try='test -s conftest.$ac_objext'
3053
{ (eval echo "$as_me:3053: \"$ac_try\"") >&5
3056
echo "$as_me:3056: \$? = $ac_status" >&5
3057
(exit $ac_status); }; }; then
1356
3058
ac_cv_c_const=yes
1358
echo "configure: failed program was:" >&5
1359
cat conftest.$ac_ext >&5
1366
echo "$ac_t""$ac_cv_c_const" 1>&6
3060
echo "$as_me: failed program was:" >&5
3061
cat conftest.$ac_ext >&5
3064
rm -f conftest.$ac_objext conftest.$ac_ext
3066
echo "$as_me:3066: result: $ac_cv_c_const" >&5
3067
echo "${ECHO_T}$ac_cv_c_const" >&6
1367
3068
if test $ac_cv_c_const = no; then
1368
cat >> confdefs.h <<\EOF
3070
cat >>confdefs.h <<\EOF
1374
echo $ac_n "checking for inline""... $ac_c" 1>&6
1375
echo "configure:1376: checking for inline" >&5
1376
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
1377
echo $ac_n "(cached) $ac_c" 1>&6
3076
echo "$as_me:3076: checking for inline" >&5
3077
echo $ECHO_N "checking for inline... $ECHO_C" >&6
3078
if test "${ac_cv_c_inline+set}" = set; then
3079
echo $ECHO_N "(cached) $ECHO_C" >&6
1379
3081
ac_cv_c_inline=no
1380
3082
for ac_kw in inline __inline__ __inline; do
1381
cat > conftest.$ac_ext <<EOF
1382
#line 1383 "configure"
3083
cat >conftest.$ac_ext <<_ACEOF
3084
#line 3084 "configure"
1383
3085
#include "confdefs.h"
3087
static $ac_kw int static_foo () {return 0; }
3088
$ac_kw int foo () {return 0; }
1389
if { (eval echo configure:1390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3092
rm -f conftest.$ac_objext
3093
if { (eval echo "$as_me:3093: \"$ac_compile\"") >&5
3094
(eval $ac_compile) 2>&5
3096
echo "$as_me:3096: \$? = $ac_status" >&5
3097
(exit $ac_status); } &&
3098
{ ac_try='test -s conftest.$ac_objext'
3099
{ (eval echo "$as_me:3099: \"$ac_try\"") >&5
3102
echo "$as_me:3102: \$? = $ac_status" >&5
3103
(exit $ac_status); }; }; then
1391
3104
ac_cv_c_inline=$ac_kw; break
1393
echo "configure: failed program was:" >&5
1394
cat conftest.$ac_ext >&5
3106
echo "$as_me: failed program was:" >&5
3107
cat conftest.$ac_ext >&5
3109
rm -f conftest.$ac_objext conftest.$ac_ext
1401
echo "$ac_t""$ac_cv_c_inline" 1>&6
1402
case "$ac_cv_c_inline" in
3113
echo "$as_me:3113: result: $ac_cv_c_inline" >&5
3114
echo "${ECHO_T}$ac_cv_c_inline" >&6
3115
case $ac_cv_c_inline in
1403
3116
inline | yes) ;;
1404
no) cat >> confdefs.h <<\EOF
3118
cat >>confdefs.h <<\EOF
1408
*) cat >> confdefs.h <<EOF
3122
*) cat >>confdefs.h <<EOF
1409
3123
#define inline $ac_cv_c_inline
1414
echo $ac_n "checking for off_t""... $ac_c" 1>&6
1415
echo "configure:1416: checking for off_t" >&5
1416
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
1417
echo $ac_n "(cached) $ac_c" 1>&6
3128
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3130
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3131
inttypes.h stdint.h unistd.h
3133
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3134
echo "$as_me:3134: checking for $ac_header" >&5
3135
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3136
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3137
echo $ECHO_N "(cached) $ECHO_C" >&6
1419
cat > conftest.$ac_ext <<EOF
1420
#line 1421 "configure"
3139
cat >conftest.$ac_ext <<_ACEOF
3140
#line 3140 "configure"
1421
3141
#include "confdefs.h"
1422
#include <sys/types.h>
3142
$ac_includes_default
3143
#include <$ac_header>
3145
rm -f conftest.$ac_objext
3146
if { (eval echo "$as_me:3146: \"$ac_compile\"") >&5
3147
(eval $ac_compile) 2>&5
3149
echo "$as_me:3149: \$? = $ac_status" >&5
3150
(exit $ac_status); } &&
3151
{ ac_try='test -s conftest.$ac_objext'
3152
{ (eval echo "$as_me:3152: \"$ac_try\"") >&5
3155
echo "$as_me:3155: \$? = $ac_status" >&5
3156
(exit $ac_status); }; }; then
3157
eval "$as_ac_Header=yes"
3159
echo "$as_me: failed program was:" >&5
3160
cat conftest.$ac_ext >&5
3161
eval "$as_ac_Header=no"
3163
rm -f conftest.$ac_objext conftest.$ac_ext
3165
echo "$as_me:3165: result: `eval echo '${'$as_ac_Header'}'`" >&5
3166
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3167
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3168
cat >>confdefs.h <<EOF
3169
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1428
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1429
egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
3175
echo "$as_me:3175: checking for off_t" >&5
3176
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3177
if test "${ac_cv_type_off_t+set}" = set; then
3178
echo $ECHO_N "(cached) $ECHO_C" >&6
3180
cat >conftest.$ac_ext <<_ACEOF
3181
#line 3181 "configure"
3182
#include "confdefs.h"
3183
$ac_includes_default
3195
rm -f conftest.$ac_objext
3196
if { (eval echo "$as_me:3196: \"$ac_compile\"") >&5
3197
(eval $ac_compile) 2>&5
3199
echo "$as_me:3199: \$? = $ac_status" >&5
3200
(exit $ac_status); } &&
3201
{ ac_try='test -s conftest.$ac_objext'
3202
{ (eval echo "$as_me:3202: \"$ac_try\"") >&5
3205
echo "$as_me:3205: \$? = $ac_status" >&5
3206
(exit $ac_status); }; }; then
1431
3207
ac_cv_type_off_t=yes
3209
echo "$as_me: failed program was:" >&5
3210
cat conftest.$ac_ext >&5
3213
rm -f conftest.$ac_objext conftest.$ac_ext
3215
echo "$as_me:3215: result: $ac_cv_type_off_t" >&5
3216
echo "${ECHO_T}$ac_cv_type_off_t" >&6
3217
if test $ac_cv_type_off_t = yes; then
1439
echo "$ac_t""$ac_cv_type_off_t" 1>&6
1440
if test $ac_cv_type_off_t = no; then
1441
cat >> confdefs.h <<\EOF
3221
cat >>confdefs.h <<EOF
1442
3222
#define off_t long
1447
echo $ac_n "checking for size_t""... $ac_c" 1>&6
1448
echo "configure:1449: checking for size_t" >&5
1449
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1450
echo $ac_n "(cached) $ac_c" 1>&6
3227
echo "$as_me:3227: checking for size_t" >&5
3228
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3229
if test "${ac_cv_type_size_t+set}" = set; then
3230
echo $ECHO_N "(cached) $ECHO_C" >&6
1452
cat > conftest.$ac_ext <<EOF
1453
#line 1454 "configure"
3232
cat >conftest.$ac_ext <<_ACEOF
3233
#line 3233 "configure"
1454
3234
#include "confdefs.h"
1455
#include <sys/types.h>
1461
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1462
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
3235
$ac_includes_default
3241
if (sizeof (size_t))
3247
rm -f conftest.$ac_objext
3248
if { (eval echo "$as_me:3248: \"$ac_compile\"") >&5
3249
(eval $ac_compile) 2>&5
3251
echo "$as_me:3251: \$? = $ac_status" >&5
3252
(exit $ac_status); } &&
3253
{ ac_try='test -s conftest.$ac_objext'
3254
{ (eval echo "$as_me:3254: \"$ac_try\"") >&5
3257
echo "$as_me:3257: \$? = $ac_status" >&5
3258
(exit $ac_status); }; }; then
1464
3259
ac_cv_type_size_t=yes
1467
ac_cv_type_size_t=no
3261
echo "$as_me: failed program was:" >&5
3262
cat conftest.$ac_ext >&5
3263
ac_cv_type_size_t=no
3265
rm -f conftest.$ac_objext conftest.$ac_ext
3267
echo "$as_me:3267: result: $ac_cv_type_size_t" >&5
3268
echo "${ECHO_T}$ac_cv_type_size_t" >&6
3269
if test $ac_cv_type_size_t = yes; then
1472
echo "$ac_t""$ac_cv_type_size_t" 1>&6
1473
if test $ac_cv_type_size_t = no; then
1474
cat >> confdefs.h <<\EOF
3273
cat >>confdefs.h <<EOF
1475
3274
#define size_t unsigned
1998
3867
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1999
3868
egrep "Lucky GNU user" >/dev/null 2>&1; then
2001
3869
ac_cv_gnu_library_2_1=yes
2004
3871
ac_cv_gnu_library_2_1=no
2006
3873
rm -f conftest*
3876
echo "$as_me:3876: result: $ac_cv_gnu_library_2_1" >&5
3877
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
2012
echo "$ac_t""$ac_cv_gnu_library_2_1" 1>&6
2014
3879
GLIBC21="$ac_cv_gnu_library_2_1"
2018
for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
2019
stdlib.h string.h unistd.h sys/param.h
2021
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2022
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2023
echo "configure:2024: checking for $ac_hdr" >&5
2024
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2025
echo $ac_n "(cached) $ac_c" 1>&6
2027
cat > conftest.$ac_ext <<EOF
2028
#line 2029 "configure"
2029
#include "confdefs.h"
2032
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2033
{ (eval echo configure:2034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2034
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2035
if test -z "$ac_err"; then
2037
eval "ac_cv_header_$ac_safe=yes"
2040
echo "configure: failed program was:" >&5
2041
cat conftest.$ac_ext >&5
2043
eval "ac_cv_header_$ac_safe=no"
2047
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2048
echo "$ac_t""yes" 1>&6
2049
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2050
cat >> confdefs.h <<EOF
2051
#define $ac_tr_hdr 1
2055
echo "$ac_t""no" 1>&6
2059
for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
2060
getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
2061
strdup strtoul tsearch __argz_count __argz_stringify __argz_next
2063
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2064
echo "configure:2065: checking for $ac_func" >&5
2065
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2066
echo $ac_n "(cached) $ac_c" 1>&6
2068
cat > conftest.$ac_ext <<EOF
2069
#line 2070 "configure"
2070
#include "confdefs.h"
2071
/* System header to define __stub macros and hopefully few prototypes,
2072
which can conflict with char $ac_func(); below. */
2074
/* Override any gcc2 internal prototype to avoid an error. */
2075
/* We use char because int might match the return type of a gcc2
2076
builtin and then its argument prototype would still apply. */
2081
/* The GNU C library defines this for functions which it implements
2082
to always fail with ENOSYS. Some functions are actually named
2083
something starting with __ and the normal name is an alias. */
2084
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2092
if { (eval echo configure:2093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2094
eval "ac_cv_func_$ac_func=yes"
2096
echo "configure: failed program was:" >&5
2097
cat conftest.$ac_ext >&5
2099
eval "ac_cv_func_$ac_func=no"
2104
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2105
echo "$ac_t""yes" 1>&6
2106
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2107
cat >> confdefs.h <<EOF
2108
#define $ac_tr_func 1
2112
echo "$ac_t""no" 1>&6
2119
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3881
if test "X$prefix" = "XNONE"; then
3882
acl_final_prefix="$ac_default_prefix"
3884
acl_final_prefix="$prefix"
3886
if test "X$exec_prefix" = "XNONE"; then
3887
acl_final_exec_prefix='${prefix}'
3889
acl_final_exec_prefix="$exec_prefix"
3891
acl_save_prefix="$prefix"
3892
prefix="$acl_final_prefix"
3893
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3894
prefix="$acl_save_prefix"
3896
# Check whether --with-gnu-ld or --without-gnu-ld was given.
3897
if test "${with_gnu_ld+set}" = set; then
3898
withval="$with_gnu_ld"
3899
test "$withval" = no || with_gnu_ld=yes
3904
if test "$GCC" = yes; then
3905
# Check if gcc -print-prog-name=ld gives a path.
3906
echo "$as_me:3906: checking for ld used by GCC" >&5
3907
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3910
# gcc leaves a trailing carriage return which upsets mingw
3911
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3913
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3916
# Accept absolute paths.
3917
[\\/]* | [A-Za-z]:[\\/]*)
3918
re_direlt='/[^/][^/]*/\.\./'
3919
# Canonicalize the path of ld
3920
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3921
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3922
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3924
test -z "$LD" && LD="$ac_prog"
3927
# If it fails, then pretend we aren't using GCC.
3931
# If it is relative, then search for the first ld in PATH.
3935
elif test "$with_gnu_ld" = yes; then
3936
echo "$as_me:3936: checking for GNU ld" >&5
3937
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3939
echo "$as_me:3939: checking for non-GNU ld" >&5
3940
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3942
if test "${acl_cv_path_LD+set}" = set; then
3943
echo $ECHO_N "(cached) $ECHO_C" >&6
3945
if test -z "$LD"; then
3946
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3947
for ac_dir in $PATH; do
3948
test -z "$ac_dir" && ac_dir=.
3949
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3950
acl_cv_path_LD="$ac_dir/$ac_prog"
3951
# Check to see if the program is GNU ld. I'd rather use --version,
3952
# but apparently some GNU ld's only accept -v.
3953
# Break only if it was the GNU/non-GNU ld that we prefer.
3954
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3955
test "$with_gnu_ld" != no && break
3957
test "$with_gnu_ld" != yes && break
3963
acl_cv_path_LD="$LD" # Let the user override the test with a path.
3967
LD="$acl_cv_path_LD"
3968
if test -n "$LD"; then
3969
echo "$as_me:3969: result: $LD" >&5
3970
echo "${ECHO_T}$LD" >&6
3972
echo "$as_me:3972: result: no" >&5
3973
echo "${ECHO_T}no" >&6
3975
test -z "$LD" && { { echo "$as_me:3975: error: no acceptable ld found in \$PATH" >&5
3976
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3977
{ (exit 1); exit 1; }; }
3978
echo "$as_me:3978: checking if the linker ($LD) is GNU ld" >&5
3979
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3980
if test "${acl_cv_prog_gnu_ld+set}" = set; then
3981
echo $ECHO_N "(cached) $ECHO_C" >&6
3983
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
3984
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3985
acl_cv_prog_gnu_ld=yes
3987
acl_cv_prog_gnu_ld=no
3990
echo "$as_me:3990: result: $acl_cv_prog_gnu_ld" >&5
3991
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3992
with_gnu_ld=$acl_cv_prog_gnu_ld
3994
echo "$as_me:3994: checking for shared library run path origin" >&5
3995
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3996
if test "${acl_cv_rpath+set}" = set; then
3997
echo $ECHO_N "(cached) $ECHO_C" >&6
4000
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4001
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4007
echo "$as_me:4007: result: $acl_cv_rpath" >&5
4008
echo "${ECHO_T}$acl_cv_rpath" >&6
4010
libext="$acl_cv_libext"
4011
shlibext="$acl_cv_shlibext"
4012
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4013
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4014
hardcode_direct="$acl_cv_hardcode_direct"
4015
hardcode_minus_L="$acl_cv_hardcode_minus_L"
4016
sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
4017
sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
4021
acl_save_prefix="$prefix"
4022
prefix="$acl_final_prefix"
4023
acl_save_exec_prefix="$exec_prefix"
4024
exec_prefix="$acl_final_exec_prefix"
4026
eval additional_includedir=\"$includedir\"
4027
eval additional_libdir=\"$libdir\"
4029
exec_prefix="$acl_save_exec_prefix"
4030
prefix="$acl_save_prefix"
4032
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
2120
4033
if test "${with_libiconv_prefix+set}" = set; then
2121
4034
withval="$with_libiconv_prefix"
2123
for dir in `echo "$withval" | tr : ' '`; do
2124
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
2125
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
2131
echo $ac_n "checking for iconv""... $ac_c" 1>&6
2132
echo "configure:2133: checking for iconv" >&5
2133
if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
2134
echo $ac_n "(cached) $ac_c" 1>&6
4036
if test "X$withval" = "Xno"; then
4039
if test "X$withval" = "X"; then
4041
acl_save_prefix="$prefix"
4042
prefix="$acl_final_prefix"
4043
acl_save_exec_prefix="$exec_prefix"
4044
exec_prefix="$acl_final_exec_prefix"
4046
eval additional_includedir=\"$includedir\"
4047
eval additional_libdir=\"$libdir\"
4049
exec_prefix="$acl_save_exec_prefix"
4050
prefix="$acl_save_prefix"
4053
additional_includedir="$withval/include"
4054
additional_libdir="$withval/lib"
4064
names_already_handled=
4065
names_next_round='iconv '
4066
while test -n "$names_next_round"; do
4067
names_this_round="$names_next_round"
4069
for name in $names_this_round; do
4071
for n in $names_already_handled; do
4072
if test "$n" = "$name"; then
4077
if test -z "$already_handled"; then
4078
names_already_handled="$names_already_handled $name"
4079
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4080
eval value=\"\$HAVE_LIB$uppername\"
4081
if test -n "$value"; then
4082
if test "$value" = yes; then
4083
eval value=\"\$LIB$uppername\"
4084
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4085
eval value=\"\$LTLIB$uppername\"
4086
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4095
if test $use_additional = yes; then
4096
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4097
found_dir="$additional_libdir"
4098
found_so="$additional_libdir/lib$name.$shlibext"
4099
if test -f "$additional_libdir/lib$name.la"; then
4100
found_la="$additional_libdir/lib$name.la"
4103
if test -f "$additional_libdir/lib$name.$libext"; then
4104
found_dir="$additional_libdir"
4105
found_a="$additional_libdir/lib$name.$libext"
4106
if test -f "$additional_libdir/lib$name.la"; then
4107
found_la="$additional_libdir/lib$name.la"
4112
if test "X$found_dir" = "X"; then
4113
for x in $LDFLAGS $LTLIBICONV; do
4115
acl_save_prefix="$prefix"
4116
prefix="$acl_final_prefix"
4117
acl_save_exec_prefix="$exec_prefix"
4118
exec_prefix="$acl_final_exec_prefix"
4120
exec_prefix="$acl_save_exec_prefix"
4121
prefix="$acl_save_prefix"
4125
dir=`echo "X$x" | sed -e 's/^X-L//'`
4126
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4128
found_so="$dir/lib$name.$shlibext"
4129
if test -f "$dir/lib$name.la"; then
4130
found_la="$dir/lib$name.la"
4133
if test -f "$dir/lib$name.$libext"; then
4135
found_a="$dir/lib$name.$libext"
4136
if test -f "$dir/lib$name.la"; then
4137
found_la="$dir/lib$name.la"
4143
if test "X$found_dir" != "X"; then
4148
if test "X$found_dir" != "X"; then
4149
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4150
if test "X$found_so" != "X"; then
4151
if test "X$found_dir" = "X/usr/lib"; then
4152
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4155
for x in $ltrpathdirs; do
4156
if test "X$x" = "X$found_dir"; then
4161
if test -z "$haveit"; then
4162
ltrpathdirs="$ltrpathdirs $found_dir"
4164
if test "$hardcode_direct" = yes; then
4165
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4167
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4168
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4170
for x in $rpathdirs; do
4171
if test "X$x" = "X$found_dir"; then
4176
if test -z "$haveit"; then
4177
rpathdirs="$rpathdirs $found_dir"
4181
for x in $LDFLAGS $LIBICONV; do
4183
acl_save_prefix="$prefix"
4184
prefix="$acl_final_prefix"
4185
acl_save_exec_prefix="$exec_prefix"
4186
exec_prefix="$acl_final_exec_prefix"
4188
exec_prefix="$acl_save_exec_prefix"
4189
prefix="$acl_save_prefix"
4191
if test "X$x" = "X-L$found_dir"; then
4196
if test -z "$haveit"; then
4197
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4199
if test "$hardcode_minus_L" != no; then
4200
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4202
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4208
if test "X$found_a" != "X"; then
4209
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4211
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4214
additional_includedir=
4215
case "$found_dir" in
4217
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4218
additional_includedir="$basedir/include"
4221
if test "X$additional_includedir" != "X"; then
4222
if test "X$additional_includedir" != "X/usr/include"; then
4224
if test "X$additional_includedir" = "X/usr/local/include"; then
4225
if test -n "$GCC"; then
4227
linux*) haveit=yes;;
4231
if test -z "$haveit"; then
4232
for x in $CPPFLAGS $INCICONV; do
4234
acl_save_prefix="$prefix"
4235
prefix="$acl_final_prefix"
4236
acl_save_exec_prefix="$exec_prefix"
4237
exec_prefix="$acl_final_exec_prefix"
4239
exec_prefix="$acl_save_exec_prefix"
4240
prefix="$acl_save_prefix"
4242
if test "X$x" = "X-I$additional_includedir"; then
4247
if test -z "$haveit"; then
4248
if test -d "$additional_includedir"; then
4249
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4255
if test -n "$found_la"; then
4256
save_libdir="$libdir"
4258
*/* | *\\*) . "$found_la" ;;
4259
*) . "./$found_la" ;;
4261
libdir="$save_libdir"
4262
for dep in $dependency_libs; do
4265
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4266
if test "X$additional_libdir" != "X/usr/lib"; then
4268
if test "X$additional_libdir" = "X/usr/local/lib"; then
4269
if test -n "$GCC"; then
4271
linux*) haveit=yes;;
4275
if test -z "$haveit"; then
4277
for x in $LDFLAGS $LIBICONV; do
4279
acl_save_prefix="$prefix"
4280
prefix="$acl_final_prefix"
4281
acl_save_exec_prefix="$exec_prefix"
4282
exec_prefix="$acl_final_exec_prefix"
4284
exec_prefix="$acl_save_exec_prefix"
4285
prefix="$acl_save_prefix"
4287
if test "X$x" = "X-L$additional_libdir"; then
4292
if test -z "$haveit"; then
4293
if test -d "$additional_libdir"; then
4294
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4298
for x in $LDFLAGS $LTLIBICONV; do
4300
acl_save_prefix="$prefix"
4301
prefix="$acl_final_prefix"
4302
acl_save_exec_prefix="$exec_prefix"
4303
exec_prefix="$acl_final_exec_prefix"
4305
exec_prefix="$acl_save_exec_prefix"
4306
prefix="$acl_save_prefix"
4308
if test "X$x" = "X-L$additional_libdir"; then
4313
if test -z "$haveit"; then
4314
if test -d "$additional_libdir"; then
4315
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4322
dir=`echo "X$dep" | sed -e 's/^X-R//'`
4324
for x in $rpathdirs; do
4325
if test "X$x" = "X$dir"; then
4330
if test -z "$haveit"; then
4331
rpathdirs="$rpathdirs $dir"
4334
for x in $ltrpathdirs; do
4335
if test "X$x" = "X$dir"; then
4340
if test -z "$haveit"; then
4341
ltrpathdirs="$ltrpathdirs $dir"
4345
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4348
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4351
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4352
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4358
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4359
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4365
if test "X$rpathdirs" != "X"; then
4366
if test -n "$hardcode_libdir_separator"; then
4368
for found_dir in $rpathdirs; do
4369
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4371
acl_save_libdir="$libdir"
4373
eval flag=\"$hardcode_libdir_flag_spec\"
4374
libdir="$acl_save_libdir"
4375
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4377
for found_dir in $rpathdirs; do
4378
acl_save_libdir="$libdir"
4380
eval flag=\"$hardcode_libdir_flag_spec\"
4381
libdir="$acl_save_libdir"
4382
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4386
if test "X$ltrpathdirs" != "X"; then
4387
for found_dir in $ltrpathdirs; do
4388
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4392
am_save_CPPFLAGS="$CPPFLAGS"
4394
for element in $INCICONV; do
4396
for x in $CPPFLAGS; do
4398
acl_save_prefix="$prefix"
4399
prefix="$acl_final_prefix"
4400
acl_save_exec_prefix="$exec_prefix"
4401
exec_prefix="$acl_final_exec_prefix"
4403
exec_prefix="$acl_save_exec_prefix"
4404
prefix="$acl_save_prefix"
4406
if test "X$x" = "X$element"; then
4411
if test -z "$haveit"; then
4412
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4416
echo "$as_me:4416: checking for iconv" >&5
4417
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4418
if test "${am_cv_func_iconv+set}" = set; then
4419
echo $ECHO_N "(cached) $ECHO_C" >&6
2137
4422
am_cv_func_iconv="no, consider installing GNU libiconv"
2138
4423
am_cv_lib_iconv=no
2139
cat > conftest.$ac_ext <<EOF
2140
#line 2141 "configure"
4424
cat >conftest.$ac_ext <<_ACEOF
4425
#line 4425 "configure"
2141
4426
#include "confdefs.h"
2142
4427
#include <stdlib.h>
2143
4428
#include <iconv.h>
2145
4432
iconv_t cd = iconv_open("","");
2146
4433
iconv(cd,NULL,NULL,NULL,NULL);
2147
4434
iconv_close(cd);
2150
if { (eval echo configure:2151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4439
rm -f conftest.$ac_objext conftest$ac_exeext
4440
if { (eval echo "$as_me:4440: \"$ac_link\"") >&5
4441
(eval $ac_link) 2>&5
4443
echo "$as_me:4443: \$? = $ac_status" >&5
4444
(exit $ac_status); } &&
4445
{ ac_try='test -s conftest$ac_exeext'
4446
{ (eval echo "$as_me:4446: \"$ac_try\"") >&5
4449
echo "$as_me:4449: \$? = $ac_status" >&5
4450
(exit $ac_status); }; }; then
2152
4451
am_cv_func_iconv=yes
2154
echo "configure: failed program was:" >&5
2155
cat conftest.$ac_ext >&5
4453
echo "$as_me: failed program was:" >&5
4454
cat conftest.$ac_ext >&5
4456
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2158
4457
if test "$am_cv_func_iconv" != yes; then
2159
4458
am_save_LIBS="$LIBS"
2160
LIBS="$LIBS -liconv"
2161
cat > conftest.$ac_ext <<EOF
2162
#line 2163 "configure"
4459
LIBS="$LIBS $LIBICONV"
4460
cat >conftest.$ac_ext <<_ACEOF
4461
#line 4461 "configure"
2163
4462
#include "confdefs.h"
2164
4463
#include <stdlib.h>
2165
4464
#include <iconv.h>
2167
4468
iconv_t cd = iconv_open("","");
2168
4469
iconv(cd,NULL,NULL,NULL,NULL);
2169
4470
iconv_close(cd);
2172
if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4475
rm -f conftest.$ac_objext conftest$ac_exeext
4476
if { (eval echo "$as_me:4476: \"$ac_link\"") >&5
4477
(eval $ac_link) 2>&5
4479
echo "$as_me:4479: \$? = $ac_status" >&5
4480
(exit $ac_status); } &&
4481
{ ac_try='test -s conftest$ac_exeext'
4482
{ (eval echo "$as_me:4482: \"$ac_try\"") >&5
4485
echo "$as_me:4485: \$? = $ac_status" >&5
4486
(exit $ac_status); }; }; then
2174
4487
am_cv_lib_iconv=yes
2175
4488
am_cv_func_iconv=yes
2177
echo "configure: failed program was:" >&5
2178
cat conftest.$ac_ext >&5
4490
echo "$as_me: failed program was:" >&5
4491
cat conftest.$ac_ext >&5
4493
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2181
4494
LIBS="$am_save_LIBS"
2186
echo "$ac_t""$am_cv_func_iconv" 1>&6
4498
echo "$as_me:4498: result: $am_cv_func_iconv" >&5
4499
echo "${ECHO_T}$am_cv_func_iconv" >&6
2187
4500
if test "$am_cv_func_iconv" = yes; then
2188
cat >> confdefs.h <<\EOF
4502
cat >>confdefs.h <<\EOF
2189
4503
#define HAVE_ICONV 1
2192
echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
2193
echo "configure:2194: checking for iconv declaration" >&5
2194
if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
2195
echo $ac_n "(cached) $ac_c" 1>&6
2198
cat > conftest.$ac_ext <<EOF
2199
#line 2200 "configure"
4507
if test "$am_cv_lib_iconv" = yes; then
4508
echo "$as_me:4508: checking how to link with libiconv" >&5
4509
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4510
echo "$as_me:4510: result: $LIBICONV" >&5
4511
echo "${ECHO_T}$LIBICONV" >&6
4513
CPPFLAGS="$am_save_CPPFLAGS"
4518
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
4519
stdlib.h string.h unistd.h sys/param.h
4521
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4522
echo "$as_me:4522: checking for $ac_header" >&5
4523
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4524
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4525
echo $ECHO_N "(cached) $ECHO_C" >&6
4527
cat >conftest.$ac_ext <<_ACEOF
4528
#line 4528 "configure"
4529
#include "confdefs.h"
4530
#include <$ac_header>
4532
if { (eval echo "$as_me:4532: \"$ac_cpp conftest.$ac_ext\"") >&5
4533
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4535
egrep -v '^ *\+' conftest.er1 >conftest.err
4537
cat conftest.err >&5
4538
echo "$as_me:4538: \$? = $ac_status" >&5
4539
(exit $ac_status); } >/dev/null; then
4540
if test -s conftest.err; then
4541
ac_cpp_err=$ac_c_preproc_warn_flag
4548
if test -z "$ac_cpp_err"; then
4549
eval "$as_ac_Header=yes"
4551
echo "$as_me: failed program was:" >&5
4552
cat conftest.$ac_ext >&5
4553
eval "$as_ac_Header=no"
4555
rm -f conftest.err conftest.$ac_ext
4557
echo "$as_me:4557: result: `eval echo '${'$as_ac_Header'}'`" >&5
4558
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4559
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4560
cat >>confdefs.h <<EOF
4561
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4567
for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
4568
geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
4569
strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
4571
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4572
echo "$as_me:4572: checking for $ac_func" >&5
4573
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4574
if eval "test \"\${$as_ac_var+set}\" = set"; then
4575
echo $ECHO_N "(cached) $ECHO_C" >&6
4577
cat >conftest.$ac_ext <<_ACEOF
4578
#line 4578 "configure"
4579
#include "confdefs.h"
4580
/* System header to define __stub macros and hopefully few prototypes,
4581
which can conflict with char $ac_func (); below. */
4583
/* Override any gcc2 internal prototype to avoid an error. */
4587
/* We use char because int might match the return type of a gcc2
4588
builtin and then its argument prototype would still apply. */
4595
/* The GNU C library defines this for functions which it implements
4596
to always fail with ENOSYS. Some functions are actually named
4597
something starting with __ and the normal name is an alias. */
4598
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4608
rm -f conftest.$ac_objext conftest$ac_exeext
4609
if { (eval echo "$as_me:4609: \"$ac_link\"") >&5
4610
(eval $ac_link) 2>&5
4612
echo "$as_me:4612: \$? = $ac_status" >&5
4613
(exit $ac_status); } &&
4614
{ ac_try='test -s conftest$ac_exeext'
4615
{ (eval echo "$as_me:4615: \"$ac_try\"") >&5
4618
echo "$as_me:4618: \$? = $ac_status" >&5
4619
(exit $ac_status); }; }; then
4620
eval "$as_ac_var=yes"
4622
echo "$as_me: failed program was:" >&5
4623
cat conftest.$ac_ext >&5
4624
eval "$as_ac_var=no"
4626
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4628
echo "$as_me:4628: result: `eval echo '${'$as_ac_var'}'`" >&5
4629
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4630
if test `eval echo '${'$as_ac_var'}'` = yes; then
4631
cat >>confdefs.h <<EOF
4632
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4638
if test "$am_cv_func_iconv" = yes; then
4639
echo "$as_me:4639: checking for iconv declaration" >&5
4640
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
4641
if test "${am_cv_proto_iconv+set}" = set; then
4642
echo $ECHO_N "(cached) $ECHO_C" >&6
4645
cat >conftest.$ac_ext <<_ACEOF
4646
#line 4646 "configure"
2200
4647
#include "confdefs.h"
2202
4649
#include <stdlib.h>
2211
4658
size_t iconv();
2218
if { (eval echo configure:2219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4669
rm -f conftest.$ac_objext
4670
if { (eval echo "$as_me:4670: \"$ac_compile\"") >&5
4671
(eval $ac_compile) 2>&5
4673
echo "$as_me:4673: \$? = $ac_status" >&5
4674
(exit $ac_status); } &&
4675
{ ac_try='test -s conftest.$ac_objext'
4676
{ (eval echo "$as_me:4676: \"$ac_try\"") >&5
4679
echo "$as_me:4679: \$? = $ac_status" >&5
4680
(exit $ac_status); }; }; then
2220
4681
am_cv_proto_iconv_arg1=""
2222
echo "configure: failed program was:" >&5
2223
cat conftest.$ac_ext >&5
2225
am_cv_proto_iconv_arg1="const"
4683
echo "$as_me: failed program was:" >&5
4684
cat conftest.$ac_ext >&5
4685
am_cv_proto_iconv_arg1="const"
4687
rm -f conftest.$ac_objext conftest.$ac_ext
2228
4688
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);"
2231
4691
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
2232
echo "$ac_t""${ac_t:-
2233
}$am_cv_proto_iconv" 1>&6
2234
cat >> confdefs.h <<EOF
4692
echo "$as_me:4692: result: ${ac_t:-
4693
}$am_cv_proto_iconv" >&5
4694
echo "${ECHO_T}${ac_t:-
4695
}$am_cv_proto_iconv" >&6
4697
cat >>confdefs.h <<EOF
2235
4698
#define ICONV_CONST $am_cv_proto_iconv_arg1
2240
if test "$am_cv_lib_iconv" = yes; then
2246
echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
2247
echo "configure:2248: checking for nl_langinfo and CODESET" >&5
2248
if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
2249
echo $ac_n "(cached) $ac_c" 1>&6
4703
echo "$as_me:4703: checking for nl_langinfo and CODESET" >&5
4704
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
4705
if test "${am_cv_langinfo_codeset+set}" = set; then
4706
echo $ECHO_N "(cached) $ECHO_C" >&6
2251
cat > conftest.$ac_ext <<EOF
2252
#line 2253 "configure"
4708
cat >conftest.$ac_ext <<_ACEOF
4709
#line 4709 "configure"
2253
4710
#include "confdefs.h"
2254
4711
#include <langinfo.h>
2256
4715
char* cs = nl_langinfo(CODESET);
2259
if { (eval echo configure:2260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4720
rm -f conftest.$ac_objext conftest$ac_exeext
4721
if { (eval echo "$as_me:4721: \"$ac_link\"") >&5
4722
(eval $ac_link) 2>&5
4724
echo "$as_me:4724: \$? = $ac_status" >&5
4725
(exit $ac_status); } &&
4726
{ ac_try='test -s conftest$ac_exeext'
4727
{ (eval echo "$as_me:4727: \"$ac_try\"") >&5
4730
echo "$as_me:4730: \$? = $ac_status" >&5
4731
(exit $ac_status); }; }; then
2261
4732
am_cv_langinfo_codeset=yes
2263
echo "configure: failed program was:" >&5
2264
cat conftest.$ac_ext >&5
2266
am_cv_langinfo_codeset=no
4734
echo "$as_me: failed program was:" >&5
4735
cat conftest.$ac_ext >&5
4736
am_cv_langinfo_codeset=no
4738
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2272
echo "$ac_t""$am_cv_langinfo_codeset" 1>&6
4741
echo "$as_me:4741: result: $am_cv_langinfo_codeset" >&5
4742
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
2273
4743
if test $am_cv_langinfo_codeset = yes; then
2274
cat >> confdefs.h <<\EOF
4745
cat >>confdefs.h <<\EOF
2275
4746
#define HAVE_LANGINFO_CODESET 1
2280
if test $ac_cv_header_locale_h = yes; then
2281
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
2282
echo "configure:2283: checking for LC_MESSAGES" >&5
2283
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
2284
echo $ac_n "(cached) $ac_c" 1>&6
4751
if test $ac_cv_header_locale_h = yes; then
4752
echo "$as_me:4752: checking for LC_MESSAGES" >&5
4753
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4754
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4755
echo $ECHO_N "(cached) $ECHO_C" >&6
2286
cat > conftest.$ac_ext <<EOF
2287
#line 2288 "configure"
4757
cat >conftest.$ac_ext <<_ACEOF
4758
#line 4758 "configure"
2288
4759
#include "confdefs.h"
2289
4760
#include <locale.h>
2291
4764
return LC_MESSAGES
2294
if { (eval echo configure:2295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4769
rm -f conftest.$ac_objext conftest$ac_exeext
4770
if { (eval echo "$as_me:4770: \"$ac_link\"") >&5
4771
(eval $ac_link) 2>&5
4773
echo "$as_me:4773: \$? = $ac_status" >&5
4774
(exit $ac_status); } &&
4775
{ ac_try='test -s conftest$ac_exeext'
4776
{ (eval echo "$as_me:4776: \"$ac_try\"") >&5
4779
echo "$as_me:4779: \$? = $ac_status" >&5
4780
(exit $ac_status); }; }; then
2296
4781
am_cv_val_LC_MESSAGES=yes
2298
echo "configure: failed program was:" >&5
2299
cat conftest.$ac_ext >&5
2301
am_cv_val_LC_MESSAGES=no
2306
echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
4783
echo "$as_me: failed program was:" >&5
4784
cat conftest.$ac_ext >&5
4785
am_cv_val_LC_MESSAGES=no
4787
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4789
echo "$as_me:4789: result: $am_cv_val_LC_MESSAGES" >&5
4790
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
2307
4791
if test $am_cv_val_LC_MESSAGES = yes; then
2308
cat >> confdefs.h <<\EOF
4793
cat >>confdefs.h <<\EOF
2309
4794
#define HAVE_LC_MESSAGES 1
2314
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
2315
echo "configure:2316: checking whether NLS is requested" >&5
2316
# Check whether --enable-nls or --disable-nls was given.
4800
for ac_prog in bison
4802
# Extract the first word of "$ac_prog", so it can be a program name with args.
4803
set dummy $ac_prog; ac_word=$2
4804
echo "$as_me:4804: checking for $ac_word" >&5
4805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4806
if test "${ac_cv_prog_INTLBISON+set}" = set; then
4807
echo $ECHO_N "(cached) $ECHO_C" >&6
4809
if test -n "$INTLBISON"; then
4810
ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
4812
ac_save_IFS=$IFS; IFS=$ac_path_separator
4814
for ac_dir in $ac_dummy; do
4816
test -z "$ac_dir" && ac_dir=.
4817
$as_executable_p "$ac_dir/$ac_word" || continue
4818
ac_cv_prog_INTLBISON="$ac_prog"
4819
echo "$as_me:4819: found $ac_dir/$ac_word" >&5
4825
INTLBISON=$ac_cv_prog_INTLBISON
4826
if test -n "$INTLBISON"; then
4827
echo "$as_me:4827: result: $INTLBISON" >&5
4828
echo "${ECHO_T}$INTLBISON" >&6
4830
echo "$as_me:4830: result: no" >&5
4831
echo "${ECHO_T}no" >&6
4834
test -n "$INTLBISON" && break
4837
if test -z "$INTLBISON"; then
4840
echo "$as_me:4840: checking version of bison" >&5
4841
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
4842
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
4843
case $ac_prog_version in
4844
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4845
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
4846
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4847
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4849
echo "$as_me:4849: result: $ac_prog_version" >&5
4850
echo "${ECHO_T}$ac_prog_version" >&6
4852
if test $ac_verc_fail = yes; then
4856
echo "$as_me:4856: checking whether NLS is requested" >&5
4857
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4858
# Check whether --enable-nls or --disable-nls was given.
2317
4859
if test "${enable_nls+set}" = set; then
2318
4860
enableval="$enable_nls"
2319
4861
USE_NLS=$enableval
2324
echo "$ac_t""$USE_NLS" 1>&6
4865
echo "$as_me:4865: result: $USE_NLS" >&5
4866
echo "${ECHO_T}$USE_NLS" >&6
2327
4868
BUILD_INCLUDED_LIBINTL=no
2328
4869
USE_INCLUDED_LIBINTL=no
2331
if test "$USE_NLS" = "yes"; then
2332
cat >> confdefs.h <<\EOF
2333
#define ENABLE_NLS 1
2336
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
2337
echo "configure:2338: checking whether included gettext is requested" >&5
2338
# Check whether --with-included-gettext or --without-included-gettext was given.
4875
if test "$USE_NLS" = "yes"; then
4876
gt_use_preinstalled_gnugettext=no
4878
echo "$as_me:4878: checking whether included gettext is requested" >&5
4879
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4881
# Check whether --with-included-gettext or --without-included-gettext was given.
2339
4882
if test "${with_included_gettext+set}" = set; then
2340
4883
withval="$with_included_gettext"
2341
4884
nls_cv_force_use_gnu_gettext=$withval
2343
4886
nls_cv_force_use_gnu_gettext=no
2346
echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
4888
echo "$as_me:4888: result: $nls_cv_force_use_gnu_gettext" >&5
4889
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
2348
4891
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
2349
4892
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
2355
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
2356
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
2357
echo "configure:2358: checking for libintl.h" >&5
2358
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2359
echo $ac_n "(cached) $ac_c" 1>&6
2361
cat > conftest.$ac_ext <<EOF
2362
#line 2363 "configure"
2363
#include "confdefs.h"
2364
#include <libintl.h>
2366
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2367
{ (eval echo configure:2368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2368
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2369
if test -z "$ac_err"; then
2371
eval "ac_cv_header_$ac_safe=yes"
2374
echo "configure: failed program was:" >&5
2375
cat conftest.$ac_ext >&5
2377
eval "ac_cv_header_$ac_safe=no"
2381
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2382
echo "$ac_t""yes" 1>&6
2383
echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6
2384
echo "configure:2385: checking for GNU gettext in libc" >&5
2385
if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then
2386
echo $ac_n "(cached) $ac_c" 1>&6
2388
cat > conftest.$ac_ext <<EOF
2389
#line 2390 "configure"
4894
echo "$as_me:4894: checking for GNU gettext in libc" >&5
4895
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
4896
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
4897
echo $ECHO_N "(cached) $ECHO_C" >&6
4899
cat >conftest.$ac_ext <<_ACEOF
4900
#line 4900 "configure"
2390
4901
#include "confdefs.h"
2391
4902
#include <libintl.h>
2392
4903
extern int _nl_msg_cat_cntr;
4904
extern int *_nl_domain_bindings;
2394
4908
bindtextdomain ("", "");
2395
return (int) gettext ("") + _nl_msg_cat_cntr
2398
if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4909
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4914
rm -f conftest.$ac_objext conftest$ac_exeext
4915
if { (eval echo "$as_me:4915: \"$ac_link\"") >&5
4916
(eval $ac_link) 2>&5
4918
echo "$as_me:4918: \$? = $ac_status" >&5
4919
(exit $ac_status); } &&
4920
{ ac_try='test -s conftest$ac_exeext'
4921
{ (eval echo "$as_me:4921: \"$ac_try\"") >&5
4924
echo "$as_me:4924: \$? = $ac_status" >&5
4925
(exit $ac_status); }; }; then
2400
4926
gt_cv_func_gnugettext1_libc=yes
2402
echo "configure: failed program was:" >&5
2403
cat conftest.$ac_ext >&5
2405
gt_cv_func_gnugettext1_libc=no
2410
echo "$ac_t""$gt_cv_func_gnugettext1_libc" 1>&6
2412
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
2413
echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6
2414
echo "configure:2415: checking for GNU gettext in libintl" >&5
2415
if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then
2416
echo $ac_n "(cached) $ac_c" 1>&6
4928
echo "$as_me: failed program was:" >&5
4929
cat conftest.$ac_ext >&5
4930
gt_cv_func_gnugettext1_libc=no
4932
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4934
echo "$as_me:4934: result: $gt_cv_func_gnugettext1_libc" >&5
4935
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
4937
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4941
acl_save_prefix="$prefix"
4942
prefix="$acl_final_prefix"
4943
acl_save_exec_prefix="$exec_prefix"
4944
exec_prefix="$acl_final_exec_prefix"
4946
eval additional_includedir=\"$includedir\"
4947
eval additional_libdir=\"$libdir\"
4949
exec_prefix="$acl_save_exec_prefix"
4950
prefix="$acl_save_prefix"
4952
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
4953
if test "${with_libintl_prefix+set}" = set; then
4954
withval="$with_libintl_prefix"
4956
if test "X$withval" = "Xno"; then
4959
if test "X$withval" = "X"; then
4961
acl_save_prefix="$prefix"
4962
prefix="$acl_final_prefix"
4963
acl_save_exec_prefix="$exec_prefix"
4964
exec_prefix="$acl_final_exec_prefix"
4966
eval additional_includedir=\"$includedir\"
4967
eval additional_libdir=\"$libdir\"
4969
exec_prefix="$acl_save_exec_prefix"
4970
prefix="$acl_save_prefix"
4973
additional_includedir="$withval/include"
4974
additional_libdir="$withval/lib"
4984
names_already_handled=
4985
names_next_round='intl '
4986
while test -n "$names_next_round"; do
4987
names_this_round="$names_next_round"
4989
for name in $names_this_round; do
4991
for n in $names_already_handled; do
4992
if test "$n" = "$name"; then
4997
if test -z "$already_handled"; then
4998
names_already_handled="$names_already_handled $name"
4999
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5000
eval value=\"\$HAVE_LIB$uppername\"
5001
if test -n "$value"; then
5002
if test "$value" = yes; then
5003
eval value=\"\$LIB$uppername\"
5004
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5005
eval value=\"\$LTLIB$uppername\"
5006
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5015
if test $use_additional = yes; then
5016
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5017
found_dir="$additional_libdir"
5018
found_so="$additional_libdir/lib$name.$shlibext"
5019
if test -f "$additional_libdir/lib$name.la"; then
5020
found_la="$additional_libdir/lib$name.la"
5023
if test -f "$additional_libdir/lib$name.$libext"; then
5024
found_dir="$additional_libdir"
5025
found_a="$additional_libdir/lib$name.$libext"
5026
if test -f "$additional_libdir/lib$name.la"; then
5027
found_la="$additional_libdir/lib$name.la"
5032
if test "X$found_dir" = "X"; then
5033
for x in $LDFLAGS $LTLIBINTL; do
5035
acl_save_prefix="$prefix"
5036
prefix="$acl_final_prefix"
5037
acl_save_exec_prefix="$exec_prefix"
5038
exec_prefix="$acl_final_exec_prefix"
5040
exec_prefix="$acl_save_exec_prefix"
5041
prefix="$acl_save_prefix"
5045
dir=`echo "X$x" | sed -e 's/^X-L//'`
5046
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5048
found_so="$dir/lib$name.$shlibext"
5049
if test -f "$dir/lib$name.la"; then
5050
found_la="$dir/lib$name.la"
5053
if test -f "$dir/lib$name.$libext"; then
5055
found_a="$dir/lib$name.$libext"
5056
if test -f "$dir/lib$name.la"; then
5057
found_la="$dir/lib$name.la"
5063
if test "X$found_dir" != "X"; then
5068
if test "X$found_dir" != "X"; then
5069
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5070
if test "X$found_so" != "X"; then
5071
if test "X$found_dir" = "X/usr/lib"; then
5072
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5075
for x in $ltrpathdirs; do
5076
if test "X$x" = "X$found_dir"; then
5081
if test -z "$haveit"; then
5082
ltrpathdirs="$ltrpathdirs $found_dir"
5084
if test "$hardcode_direct" = yes; then
5085
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5087
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5088
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5090
for x in $rpathdirs; do
5091
if test "X$x" = "X$found_dir"; then
5096
if test -z "$haveit"; then
5097
rpathdirs="$rpathdirs $found_dir"
5101
for x in $LDFLAGS $LIBINTL; do
5103
acl_save_prefix="$prefix"
5104
prefix="$acl_final_prefix"
5105
acl_save_exec_prefix="$exec_prefix"
5106
exec_prefix="$acl_final_exec_prefix"
5108
exec_prefix="$acl_save_exec_prefix"
5109
prefix="$acl_save_prefix"
5111
if test "X$x" = "X-L$found_dir"; then
5116
if test -z "$haveit"; then
5117
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5119
if test "$hardcode_minus_L" != no; then
5120
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5122
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5128
if test "X$found_a" != "X"; then
5129
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5131
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5134
additional_includedir=
5135
case "$found_dir" in
5137
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5138
additional_includedir="$basedir/include"
5141
if test "X$additional_includedir" != "X"; then
5142
if test "X$additional_includedir" != "X/usr/include"; then
5144
if test "X$additional_includedir" = "X/usr/local/include"; then
5145
if test -n "$GCC"; then
5147
linux*) haveit=yes;;
5151
if test -z "$haveit"; then
5152
for x in $CPPFLAGS $INCINTL; do
5154
acl_save_prefix="$prefix"
5155
prefix="$acl_final_prefix"
5156
acl_save_exec_prefix="$exec_prefix"
5157
exec_prefix="$acl_final_exec_prefix"
5159
exec_prefix="$acl_save_exec_prefix"
5160
prefix="$acl_save_prefix"
5162
if test "X$x" = "X-I$additional_includedir"; then
5167
if test -z "$haveit"; then
5168
if test -d "$additional_includedir"; then
5169
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5175
if test -n "$found_la"; then
5176
save_libdir="$libdir"
5178
*/* | *\\*) . "$found_la" ;;
5179
*) . "./$found_la" ;;
5181
libdir="$save_libdir"
5182
for dep in $dependency_libs; do
5185
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5186
if test "X$additional_libdir" != "X/usr/lib"; then
5188
if test "X$additional_libdir" = "X/usr/local/lib"; then
5189
if test -n "$GCC"; then
5191
linux*) haveit=yes;;
5195
if test -z "$haveit"; then
5197
for x in $LDFLAGS $LIBINTL; do
5199
acl_save_prefix="$prefix"
5200
prefix="$acl_final_prefix"
5201
acl_save_exec_prefix="$exec_prefix"
5202
exec_prefix="$acl_final_exec_prefix"
5204
exec_prefix="$acl_save_exec_prefix"
5205
prefix="$acl_save_prefix"
5207
if test "X$x" = "X-L$additional_libdir"; then
5212
if test -z "$haveit"; then
5213
if test -d "$additional_libdir"; then
5214
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5218
for x in $LDFLAGS $LTLIBINTL; do
5220
acl_save_prefix="$prefix"
5221
prefix="$acl_final_prefix"
5222
acl_save_exec_prefix="$exec_prefix"
5223
exec_prefix="$acl_final_exec_prefix"
5225
exec_prefix="$acl_save_exec_prefix"
5226
prefix="$acl_save_prefix"
5228
if test "X$x" = "X-L$additional_libdir"; then
5233
if test -z "$haveit"; then
5234
if test -d "$additional_libdir"; then
5235
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5242
dir=`echo "X$dep" | sed -e 's/^X-R//'`
5244
for x in $rpathdirs; do
5245
if test "X$x" = "X$dir"; then
5250
if test -z "$haveit"; then
5251
rpathdirs="$rpathdirs $dir"
5254
for x in $ltrpathdirs; do
5255
if test "X$x" = "X$dir"; then
5260
if test -z "$haveit"; then
5261
ltrpathdirs="$ltrpathdirs $dir"
5265
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5268
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5271
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5272
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5278
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5279
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5285
if test "X$rpathdirs" != "X"; then
5286
if test -n "$hardcode_libdir_separator"; then
5288
for found_dir in $rpathdirs; do
5289
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5291
acl_save_libdir="$libdir"
5293
eval flag=\"$hardcode_libdir_flag_spec\"
5294
libdir="$acl_save_libdir"
5295
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5297
for found_dir in $rpathdirs; do
5298
acl_save_libdir="$libdir"
5300
eval flag=\"$hardcode_libdir_flag_spec\"
5301
libdir="$acl_save_libdir"
5302
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5306
if test "X$ltrpathdirs" != "X"; then
5307
for found_dir in $ltrpathdirs; do
5308
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5312
echo "$as_me:5312: checking for GNU gettext in libintl" >&5
5313
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
5314
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
5315
echo $ECHO_N "(cached) $ECHO_C" >&6
2418
gt_save_LIBS="$LIBS"
2419
LIBS="$LIBS -lintl $LIBICONV"
2420
cat > conftest.$ac_ext <<EOF
2421
#line 2422 "configure"
5317
gt_save_CPPFLAGS="$CPPFLAGS"
5318
CPPFLAGS="$CPPFLAGS $INCINTL"
5319
gt_save_LIBS="$LIBS"
5320
LIBS="$LIBS $LIBINTL"
5321
cat >conftest.$ac_ext <<_ACEOF
5322
#line 5322 "configure"
2422
5323
#include "confdefs.h"
2423
5324
#include <libintl.h>
2424
5325
extern int _nl_msg_cat_cntr;
5330
const char *_nl_expand_alias ();
2426
5334
bindtextdomain ("", "");
2427
return (int) gettext ("") + _nl_msg_cat_cntr
2430
if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5335
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5340
rm -f conftest.$ac_objext conftest$ac_exeext
5341
if { (eval echo "$as_me:5341: \"$ac_link\"") >&5
5342
(eval $ac_link) 2>&5
5344
echo "$as_me:5344: \$? = $ac_status" >&5
5345
(exit $ac_status); } &&
5346
{ ac_try='test -s conftest$ac_exeext'
5347
{ (eval echo "$as_me:5347: \"$ac_try\"") >&5
5350
echo "$as_me:5350: \$? = $ac_status" >&5
5351
(exit $ac_status); }; }; then
2432
5352
gt_cv_func_gnugettext1_libintl=yes
2434
echo "configure: failed program was:" >&5
2435
cat conftest.$ac_ext >&5
2437
gt_cv_func_gnugettext1_libintl=no
2440
LIBS="$gt_save_LIBS"
2443
echo "$ac_t""$gt_cv_func_gnugettext1_libintl" 1>&6
2446
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
2447
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
2448
&& test "$PACKAGE" != gettext; }; then
2449
cat >> confdefs.h <<\EOF
2450
#define HAVE_GETTEXT 1
2454
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
2455
INTLLIBS="-lintl $LIBICONV"
2458
gt_save_LIBS="$LIBS"
2459
LIBS="$LIBS $INTLLIBS"
2460
for ac_func in dcgettext
2462
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2463
echo "configure:2464: checking for $ac_func" >&5
2464
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2465
echo $ac_n "(cached) $ac_c" 1>&6
2467
cat > conftest.$ac_ext <<EOF
2468
#line 2469 "configure"
5354
echo "$as_me: failed program was:" >&5
5355
cat conftest.$ac_ext >&5
5356
gt_cv_func_gnugettext1_libintl=no
5358
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5359
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5360
LIBS="$LIBS $LIBICONV"
5361
cat >conftest.$ac_ext <<_ACEOF
5362
#line 5362 "configure"
2469
5363
#include "confdefs.h"
2470
/* System header to define __stub macros and hopefully few prototypes,
2471
which can conflict with char $ac_func(); below. */
2473
/* Override any gcc2 internal prototype to avoid an error. */
2474
/* We use char because int might match the return type of a gcc2
2475
builtin and then its argument prototype would still apply. */
2480
/* The GNU C library defines this for functions which it implements
2481
to always fail with ENOSYS. Some functions are actually named
2482
something starting with __ and the normal name is an alias. */
2483
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5364
#include <libintl.h>
5365
extern int _nl_msg_cat_cntr;
2491
if { (eval echo configure:2492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2493
eval "ac_cv_func_$ac_func=yes"
2495
echo "configure: failed program was:" >&5
2496
cat conftest.$ac_ext >&5
2498
eval "ac_cv_func_$ac_func=no"
2503
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2504
echo "$ac_t""yes" 1>&6
2505
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2506
cat >> confdefs.h <<EOF
2507
#define $ac_tr_func 1
2511
echo "$ac_t""no" 1>&6
2515
LIBS="$gt_save_LIBS"
2517
# Extract the first word of "msgfmt", so it can be a program name with args.
2518
set dummy msgfmt; ac_word=$2
2519
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2520
echo "configure:2521: checking for $ac_word" >&5
2521
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
2522
echo $ac_n "(cached) $ac_c" 1>&6
2526
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2529
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2530
for ac_dir in $PATH; do
2531
test -z "$ac_dir" && ac_dir=.
2532
if test -f $ac_dir/$ac_word; then
2533
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2534
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2540
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
2544
MSGFMT="$ac_cv_path_MSGFMT"
2545
if test -n "$MSGFMT"; then
2546
echo "$ac_t""$MSGFMT" 1>&6
2548
echo "$ac_t""no" 1>&6
2550
if test "$MSGFMT" != "no"; then
2551
# Extract the first word of "gmsgfmt", so it can be a program name with args.
2552
set dummy gmsgfmt; ac_word=$2
2553
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2554
echo "configure:2555: checking for $ac_word" >&5
2555
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2556
echo $ac_n "(cached) $ac_c" 1>&6
2560
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2563
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
2566
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2568
for ac_dir in $ac_dummy; do
2569
test -z "$ac_dir" && ac_dir=.
2570
if test -f $ac_dir/$ac_word; then
2571
ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2576
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2580
GMSGFMT="$ac_cv_path_GMSGFMT"
2581
if test -n "$GMSGFMT"; then
2582
echo "$ac_t""$GMSGFMT" 1>&6
2584
echo "$ac_t""no" 1>&6
2589
# Extract the first word of "xgettext", so it can be a program name with args.
2590
set dummy xgettext; ac_word=$2
2591
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2592
echo "configure:2593: checking for $ac_word" >&5
2593
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
2594
echo $ac_n "(cached) $ac_c" 1>&6
2598
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2601
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2602
for ac_dir in $PATH; do
2603
test -z "$ac_dir" && ac_dir=.
2604
if test -f $ac_dir/$ac_word; then
2605
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2606
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2612
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2616
XGETTEXT="$ac_cv_path_XGETTEXT"
2617
if test -n "$XGETTEXT"; then
2618
echo "$ac_t""$XGETTEXT" 1>&6
2620
echo "$ac_t""no" 1>&6
2628
echo "$ac_t""no" 1>&6
2632
if test "$CATOBJEXT" = "NONE"; then
2633
nls_cv_use_gnu_gettext=yes
5370
const char *_nl_expand_alias ();
5374
bindtextdomain ("", "");
5375
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5380
rm -f conftest.$ac_objext conftest$ac_exeext
5381
if { (eval echo "$as_me:5381: \"$ac_link\"") >&5
5382
(eval $ac_link) 2>&5
5384
echo "$as_me:5384: \$? = $ac_status" >&5
5385
(exit $ac_status); } &&
5386
{ ac_try='test -s conftest$ac_exeext'
5387
{ (eval echo "$as_me:5387: \"$ac_try\"") >&5
5390
echo "$as_me:5390: \$? = $ac_status" >&5
5391
(exit $ac_status); }; }; then
5392
LIBINTL="$LIBINTL $LIBICONV"
5393
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5394
gt_cv_func_gnugettext1_libintl=yes
5397
echo "$as_me: failed program was:" >&5
5398
cat conftest.$ac_ext >&5
5400
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5402
CPPFLAGS="$gt_save_CPPFLAGS"
5403
LIBS="$gt_save_LIBS"
5405
echo "$as_me:5405: result: $gt_cv_func_gnugettext1_libintl" >&5
5406
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
5409
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5410
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5411
&& test "$PACKAGE" != gettext; }; then
5412
gt_use_preinstalled_gnugettext=yes
5419
if test "$gt_use_preinstalled_gnugettext" != "yes"; then
5420
nls_cv_use_gnu_gettext=yes
2637
5424
if test "$nls_cv_use_gnu_gettext" = "yes"; then
2638
5425
INTLOBJS="\$(GETTOBJS)"
2639
# Extract the first word of "msgfmt", so it can be a program name with args.
2640
set dummy msgfmt; ac_word=$2
2641
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2642
echo "configure:2643: checking for $ac_word" >&5
2643
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
2644
echo $ac_n "(cached) $ac_c" 1>&6
2648
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2651
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2652
for ac_dir in $PATH; do
2653
test -z "$ac_dir" && ac_dir=.
2654
if test -f $ac_dir/$ac_word; then
2655
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2656
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2662
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
2666
MSGFMT="$ac_cv_path_MSGFMT"
2667
if test -n "$MSGFMT"; then
2668
echo "$ac_t""$MSGFMT" 1>&6
2670
echo "$ac_t""no" 1>&6
2673
# Extract the first word of "gmsgfmt", so it can be a program name with args.
2674
set dummy gmsgfmt; ac_word=$2
2675
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2676
echo "configure:2677: checking for $ac_word" >&5
2677
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2678
echo $ac_n "(cached) $ac_c" 1>&6
2682
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2685
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
2688
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2690
for ac_dir in $ac_dummy; do
2691
test -z "$ac_dir" && ac_dir=.
2692
if test -f $ac_dir/$ac_word; then
2693
ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2698
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2702
GMSGFMT="$ac_cv_path_GMSGFMT"
2703
if test -n "$GMSGFMT"; then
2704
echo "$ac_t""$GMSGFMT" 1>&6
2706
echo "$ac_t""no" 1>&6
2709
# Extract the first word of "xgettext", so it can be a program name with args.
2710
set dummy xgettext; ac_word=$2
2711
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2712
echo "configure:2713: checking for $ac_word" >&5
2713
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
2714
echo $ac_n "(cached) $ac_c" 1>&6
2718
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2721
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2722
for ac_dir in $PATH; do
2723
test -z "$ac_dir" && ac_dir=.
2724
if test -f $ac_dir/$ac_word; then
2725
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2726
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2732
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2736
XGETTEXT="$ac_cv_path_XGETTEXT"
2737
if test -n "$XGETTEXT"; then
2738
echo "$ac_t""$XGETTEXT" 1>&6
2740
echo "$ac_t""no" 1>&6
2744
BUILD_INCLUDED_LIBINTL=yes
2745
USE_INCLUDED_LIBINTL=yes
2747
INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
2748
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
2751
if test "$XGETTEXT" != ":"; then
2752
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
2755
echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
5426
BUILD_INCLUDED_LIBINTL=yes
5427
USE_INCLUDED_LIBINTL=yes
5428
LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
5429
LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
5430
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
5433
if test "$gt_use_preinstalled_gnugettext" = "yes" \
5434
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
5438
if test "$gt_use_preinstalled_gnugettext" = "yes" \
5439
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
5441
cat >>confdefs.h <<\EOF
5442
#define ENABLE_NLS 1
5450
if test "$USE_NLS" = "yes"; then
5452
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5453
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5454
echo "$as_me:5454: checking how to link with libintl" >&5
5455
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
5456
echo "$as_me:5456: result: $LIBINTL" >&5
5457
echo "${ECHO_T}$LIBINTL" >&6
5459
for element in $INCINTL; do
5461
for x in $CPPFLAGS; do
5463
acl_save_prefix="$prefix"
5464
prefix="$acl_final_prefix"
5465
acl_save_exec_prefix="$exec_prefix"
5466
exec_prefix="$acl_final_exec_prefix"
5468
exec_prefix="$acl_save_exec_prefix"
5469
prefix="$acl_save_prefix"
5471
if test "X$x" = "X$element"; then
5476
if test -z "$haveit"; then
5477
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5483
cat >>confdefs.h <<\EOF
5484
#define HAVE_GETTEXT 1
5487
cat >>confdefs.h <<\EOF
5488
#define HAVE_DCGETTEXT 1
2765
5496
if test "$PACKAGE" = gettext; then
2766
5497
BUILD_INCLUDED_LIBINTL=yes
2769
for ac_prog in bison
2771
# Extract the first word of "$ac_prog", so it can be a program name with args.
2772
set dummy $ac_prog; ac_word=$2
2773
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2774
echo "configure:2775: checking for $ac_word" >&5
2775
if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then
2776
echo $ac_n "(cached) $ac_c" 1>&6
2778
if test -n "$INTLBISON"; then
2779
ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
2781
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2783
for ac_dir in $ac_dummy; do
2784
test -z "$ac_dir" && ac_dir=.
2785
if test -f $ac_dir/$ac_word; then
2786
ac_cv_prog_INTLBISON="$ac_prog"
2793
INTLBISON="$ac_cv_prog_INTLBISON"
2794
if test -n "$INTLBISON"; then
2795
echo "$ac_t""$INTLBISON" 1>&6
2797
echo "$ac_t""no" 1>&6
2800
test -n "$INTLBISON" && break
2803
if test -z "$INTLBISON"; then
2806
echo $ac_n "checking version of bison""... $ac_c" 1>&6
2807
echo "configure:2808: checking version of bison" >&5
2808
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
2809
case $ac_prog_version in
2810
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
2811
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
2812
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
2813
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
2815
echo "$ac_t""$ac_prog_version" 1>&6
2817
if test $ac_verc_fail = yes; then
2821
for lang in $ALL_LINGUAS; do
2822
GMOFILES="$GMOFILES $lang.gmo"
2823
POFILES="$POFILES $lang.po"
2836
5500
nls_cv_header_intl=
2837
5501
nls_cv_header_libgt=
2839
5503
DATADIRNAME=share
2849
if test "x$CATOBJEXT" != "x"; then
2850
if test "x$ALL_LINGUAS" = "x"; then
2853
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
2854
echo "configure:2855: checking for catalogs to be installed" >&5
2856
for presentlang in $ALL_LINGUAS; do
2858
for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
2859
# Use the presentlang catalog if desiredlang is
2860
# a. equal to presentlang, or
2861
# b. a variant of presentlang (because in this case,
2862
# presentlang can be used as a fallback for messages
2863
# which are not translated in the desiredlang catalog).
2864
case "$desiredlang" in
2865
"$presentlang"*) useit=yes;;
2868
if test $useit = yes; then
2869
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
2872
LINGUAS=$NEW_LINGUAS
2873
echo "$ac_t""$LINGUAS" 1>&6
2876
if test -n "$LINGUAS"; then
2877
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
2882
if test -n "$ac_aux_dir"; then
2883
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
2885
if test -z "$MKINSTALLDIRS"; then
2886
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
2890
INTL_LIBTOOL_SUFFIX_PREFIX=
5509
INTL_LIBTOOL_SUFFIX_PREFIX=
2894
5513
if test "x${prefix}" = "xNONE"; then
2895
cat >> confdefs.h <<EOF
5514
cat >>confdefs.h <<EOF
2896
5515
#define PACKAGE_LOCALE_DIR "${ac_default_prefix}/${DATADIRNAME}/locale"
2900
cat >> confdefs.h <<EOF
5519
cat >>confdefs.h <<EOF
2901
5520
#define PACKAGE_LOCALE_DIR "${prefix}/${DATADIRNAME}/locale"
3075
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
3076
if test "${with_gtk_prefix+set}" = set; then
3077
withval="$with_gtk_prefix"
3078
gtk_config_prefix="$withval"
3080
gtk_config_prefix=""
3083
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
3084
if test "${with_gtk_exec_prefix+set}" = set; then
3085
withval="$with_gtk_exec_prefix"
3086
gtk_config_exec_prefix="$withval"
3088
gtk_config_exec_prefix=""
5757
for ac_declaration in \
5759
'#include <stdlib.h>' \
5760
'extern "C" void std::exit (int) throw (); using std::exit;' \
5761
'extern "C" void std::exit (int); using std::exit;' \
5762
'extern "C" void exit (int) throw ();' \
5763
'extern "C" void exit (int);' \
5766
cat >conftest.$ac_ext <<_ACEOF
5767
#line 5767 "configure"
5768
#include "confdefs.h"
5779
rm -f conftest.$ac_objext
5780
if { (eval echo "$as_me:5780: \"$ac_compile\"") >&5
5781
(eval $ac_compile) 2>&5
5783
echo "$as_me:5783: \$? = $ac_status" >&5
5784
(exit $ac_status); } &&
5785
{ ac_try='test -s conftest.$ac_objext'
5786
{ (eval echo "$as_me:5786: \"$ac_try\"") >&5
5789
echo "$as_me:5789: \$? = $ac_status" >&5
5790
(exit $ac_status); }; }; then
5793
echo "$as_me: failed program was:" >&5
5794
cat conftest.$ac_ext >&5
5797
rm -f conftest.$ac_objext conftest.$ac_ext
5798
cat >conftest.$ac_ext <<_ACEOF
5799
#line 5799 "configure"
5800
#include "confdefs.h"
5810
rm -f conftest.$ac_objext
5811
if { (eval echo "$as_me:5811: \"$ac_compile\"") >&5
5812
(eval $ac_compile) 2>&5
5814
echo "$as_me:5814: \$? = $ac_status" >&5
5815
(exit $ac_status); } &&
5816
{ ac_try='test -s conftest.$ac_objext'
5817
{ (eval echo "$as_me:5817: \"$ac_try\"") >&5
5820
echo "$as_me:5820: \$? = $ac_status" >&5
5821
(exit $ac_status); }; }; then
5824
echo "$as_me: failed program was:" >&5
5825
cat conftest.$ac_ext >&5
5827
rm -f conftest.$ac_objext conftest.$ac_ext
5830
if test -n "$ac_declaration"; then
5831
echo '#ifdef __cplusplus' >>confdefs.h
5832
echo $ac_declaration >>confdefs.h
5833
echo '#endif' >>confdefs.h
5837
ac_cpp='$CPP $CPPFLAGS'
5838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5842
depcc="$CXX" am_compiler_list=
5844
echo "$as_me:5844: checking dependency style of $depcc" >&5
5845
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5846
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5847
echo $ECHO_N "(cached) $ECHO_C" >&6
5849
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5850
# We make a subdir and do the tests there. Otherwise we can end up
5851
# making bogus files that we don't know about and never remove. For
5852
# instance it was reported that on HP-UX the gcc test will end up
5853
# making a dummy file named `D' -- because `-MD' means `put the output
5856
# Copy depcomp to subdir because otherwise we won't find it if we're
5857
# using a relative directory.
5858
cp "$am_depcomp" conftest.dir
5861
am_cv_CXX_dependencies_compiler_type=none
5862
if test "$am_compiler_list" = ""; then
5863
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5865
for depmode in $am_compiler_list; do
5866
# We need to recreate these files for each test, as the compiler may
5867
# overwrite some of them when testing with obscure command lines.
5868
# This happens at least with the AIX C compiler.
5869
echo '#include "conftest.h"' > conftest.c
5870
echo 'int i;' > conftest.h
5871
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
5875
# after this tag, mechanisms are not by side-effect, so they'll
5876
# only be used when explicitly requested
5877
if test "x$enable_dependency_tracking" = xyes; then
5885
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5886
# mode. It turns out that the SunPro C++ compiler does not properly
5887
# handle `-M -o', and we need to detect this.
5888
if depmode=$depmode \
5889
source=conftest.c object=conftest.o \
5890
depfile=conftest.Po tmpdepfile=conftest.TPo \
5891
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
5892
grep conftest.h conftest.Po > /dev/null 2>&1 &&
5893
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5894
am_cv_CXX_dependencies_compiler_type=$depmode
5902
am_cv_CXX_dependencies_compiler_type=none
5906
echo "$as_me:5906: result: $am_cv_CXX_dependencies_compiler_type" >&5
5907
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5908
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5910
# Check whether --enable-glibtest or --disable-glibtest was given.
5911
if test "${enable_glibtest+set}" = set; then
5912
enableval="$enable_glibtest"
5918
pkg_config_args=glib-2.0
5919
for module in . gobject
5923
pkg_config_args="$pkg_config_args gmodule-2.0"
5926
pkg_config_args="$pkg_config_args gobject-2.0"
5929
pkg_config_args="$pkg_config_args gthread-2.0"
5934
# Extract the first word of "pkg-config", so it can be a program name with args.
5935
set dummy pkg-config; ac_word=$2
5936
echo "$as_me:5936: checking for $ac_word" >&5
5937
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5938
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5939
echo $ECHO_N "(cached) $ECHO_C" >&6
5943
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5946
ac_save_IFS=$IFS; IFS=$ac_path_separator
5948
for ac_dir in $ac_dummy; do
5950
test -z "$ac_dir" && ac_dir=.
5951
if $as_executable_p "$ac_dir/$ac_word"; then
5952
ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
5953
echo "$as_me:5953: found $ac_dir/$ac_word" >&5
5958
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
5962
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5964
if test -n "$PKG_CONFIG"; then
5965
echo "$as_me:5965: result: $PKG_CONFIG" >&5
5966
echo "${ECHO_T}$PKG_CONFIG" >&6
5968
echo "$as_me:5968: result: no" >&5
5969
echo "${ECHO_T}no" >&6
5974
if test x$PKG_CONFIG != xno ; then
5975
if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
5978
echo *** pkg-config too old; version 0.7 or better required.
5986
min_glib_version=$GLIB_REQUIRED_VERSION
5987
echo "$as_me:5987: checking for GLIB - version >= $min_glib_version" >&5
5988
echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
5990
if test x$PKG_CONFIG != xno ; then
5991
## don't try to run the test against uninstalled libtool libs
5992
if $PKG_CONFIG --uninstalled $pkg_config_args; then
5993
echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
5997
if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
6004
if test x"$no_glib" = x ; then
6005
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
6006
GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
6007
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
6009
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
6010
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
6011
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
6012
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6013
glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
6014
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6015
glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
6016
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6017
if test "x$enable_glibtest" = "xyes" ; then
6018
ac_save_CFLAGS="$CFLAGS"
6019
ac_save_LIBS="$LIBS"
6020
CFLAGS="$CFLAGS $GLIB_CFLAGS"
6021
LIBS="$GLIB_LIBS $LIBS"
6023
if test "$cross_compiling" = yes; then
6024
echo $ac_n "cross compiling; assumed OK... $ac_c"
6026
cat >conftest.$ac_ext <<_ACEOF
6027
#line 6027 "configure"
6028
#include "confdefs.h"
6037
int major, minor, micro;
6040
system ("touch conf.glibtest");
6042
/* HP/UX 9 (%@#!) writes to sscanf strings */
6043
tmp_version = g_strdup("$min_glib_version");
6044
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
6045
printf("%s, bad version string\n", "$min_glib_version");
6049
if ((glib_major_version != $glib_config_major_version) ||
6050
(glib_minor_version != $glib_config_minor_version) ||
6051
(glib_micro_version != $glib_config_micro_version))
6053
printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
6054
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
6055
glib_major_version, glib_minor_version, glib_micro_version);
6056
printf ("*** was found! If pkg-config was correct, then it is best\n");
6057
printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
6058
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6059
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6060
printf("*** required on your system.\n");
6061
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
6062
printf("*** to point to the correct configuration files\n");
6064
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
6065
(glib_minor_version != GLIB_MINOR_VERSION) ||
6066
(glib_micro_version != GLIB_MICRO_VERSION))
6068
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
6069
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
6070
printf("*** library (version %d.%d.%d)\n",
6071
glib_major_version, glib_minor_version, glib_micro_version);
6075
if ((glib_major_version > major) ||
6076
((glib_major_version == major) && (glib_minor_version > minor)) ||
6077
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
6083
printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
6084
glib_major_version, glib_minor_version, glib_micro_version);
6085
printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
6086
major, minor, micro);
6087
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
6089
printf("*** If you have already installed a sufficiently new version, this error\n");
6090
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
6091
printf("*** being found. The easiest way to fix this is to remove the old version\n");
6092
printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
6093
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
6094
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6095
printf("*** so that the correct libraries are found at run-time))\n");
6102
rm -f conftest$ac_exeext
6103
if { (eval echo "$as_me:6103: \"$ac_link\"") >&5
6104
(eval $ac_link) 2>&5
6106
echo "$as_me:6106: \$? = $ac_status" >&5
6107
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6108
{ (eval echo "$as_me:6108: \"$ac_try\"") >&5
6111
echo "$as_me:6111: \$? = $ac_status" >&5
6112
(exit $ac_status); }; }; then
6115
echo "$as_me: program exited with status $ac_status" >&5
6116
echo "$as_me: failed program was:" >&5
6117
cat conftest.$ac_ext >&5
6120
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6122
CFLAGS="$ac_save_CFLAGS"
6123
LIBS="$ac_save_LIBS"
6126
if test "x$no_glib" = x ; then
6127
echo "$as_me:6127: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
6128
echo "${ECHO_T}yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6
6131
echo "$as_me:6131: result: no" >&5
6132
echo "${ECHO_T}no" >&6
6133
if test "$PKG_CONFIG" = "no" ; then
6134
echo "*** A new enough version of pkg-config was not found."
6135
echo "*** See http://www.freedesktop.org/software/pkgconfig/"
6137
if test -f conf.glibtest ; then
6140
echo "*** Could not run GLIB test program, checking why..."
6141
CFLAGS="$CFLAGS $GLIB_CFLAGS"
6142
LIBS="$LIBS $GLIB_LIBS"
6143
cat >conftest.$ac_ext <<_ACEOF
6144
#line 6144 "configure"
6145
#include "confdefs.h"
6153
return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
6158
rm -f conftest.$ac_objext conftest$ac_exeext
6159
if { (eval echo "$as_me:6159: \"$ac_link\"") >&5
6160
(eval $ac_link) 2>&5
6162
echo "$as_me:6162: \$? = $ac_status" >&5
6163
(exit $ac_status); } &&
6164
{ ac_try='test -s conftest$ac_exeext'
6165
{ (eval echo "$as_me:6165: \"$ac_try\"") >&5
6168
echo "$as_me:6168: \$? = $ac_status" >&5
6169
(exit $ac_status); }; }; then
6170
echo "*** The test program compiled, but did not run. This usually means"
6171
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
6172
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
6173
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6174
echo "*** to the installed location Also, make sure you have run ldconfig if that"
6175
echo "*** is required on your system"
6177
echo "*** If you have an old version installed, it is best to remove it, although"
6178
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6180
echo "$as_me: failed program was:" >&5
6181
cat conftest.$ac_ext >&5
6182
echo "*** The test program failed to compile or link. See the file config.log for the"
6183
echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
6184
echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
6185
echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
6187
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6188
CFLAGS="$ac_save_CFLAGS"
6189
LIBS="$ac_save_LIBS"
6197
{ { echo "$as_me:6197: error: Test for GLIB failed. See the file 'INSTALL' for help." >&5
6198
echo "$as_me: error: Test for GLIB failed. See the file 'INSTALL' for help." >&2;}
6199
{ (exit 1); exit 1; }; }
3091
6204
# Check whether --enable-gtktest or --disable-gtktest was given.
3092
6205
if test "${enable_gtktest+set}" = set; then
3093
6206
enableval="$enable_gtktest"
3096
6209
enable_gtktest=yes
6212
pkg_config_args=gtk+-2.0
3102
6215
case "$module" in
3104
gtk_config_args="$gtk_config_args gthread"
6217
pkg_config_args="$pkg_config_args gthread-2.0"
3109
if test x$gtk_config_exec_prefix != x ; then
3110
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
3111
if test x${GTK_CONFIG+set} != xset ; then
3112
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
3115
if test x$gtk_config_prefix != x ; then
3116
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
3117
if test x${GTK_CONFIG+set} != xset ; then
3118
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
3122
# Extract the first word of "gtk-config", so it can be a program name with args.
3123
set dummy gtk-config; ac_word=$2
3124
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3125
echo "configure:3126: checking for $ac_word" >&5
3126
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
3127
echo $ac_n "(cached) $ac_c" 1>&6
3129
case "$GTK_CONFIG" in
3131
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
3134
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
3137
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3139
for ac_dir in $ac_dummy; do
3140
test -z "$ac_dir" && ac_dir=.
3141
if test -f $ac_dir/$ac_word; then
3142
ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
3147
test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
3151
GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
3152
if test -n "$GTK_CONFIG"; then
3153
echo "$ac_t""$GTK_CONFIG" 1>&6
3155
echo "$ac_t""no" 1>&6
3158
min_gtk_version=1.2.0
3159
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
3160
echo "configure:3161: checking for GTK - version >= $min_gtk_version" >&5
3162
if test "$GTK_CONFIG" = "no" ; then
6224
# Extract the first word of "pkg-config", so it can be a program name with args.
6225
set dummy pkg-config; ac_word=$2
6226
echo "$as_me:6226: checking for $ac_word" >&5
6227
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6228
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6229
echo $ECHO_N "(cached) $ECHO_C" >&6
6233
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6236
ac_save_IFS=$IFS; IFS=$ac_path_separator
6238
for ac_dir in $ac_dummy; do
6240
test -z "$ac_dir" && ac_dir=.
6241
if $as_executable_p "$ac_dir/$ac_word"; then
6242
ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
6243
echo "$as_me:6243: found $ac_dir/$ac_word" >&5
6248
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6252
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6254
if test -n "$PKG_CONFIG"; then
6255
echo "$as_me:6255: result: $PKG_CONFIG" >&5
6256
echo "${ECHO_T}$PKG_CONFIG" >&6
6258
echo "$as_me:6258: result: no" >&5
6259
echo "${ECHO_T}no" >&6
6262
if test x$PKG_CONFIG != xno ; then
6263
if pkg-config --atleast-pkgconfig-version 0.7 ; then
6266
echo *** pkg-config too old; version 0.7 or better required.
3165
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
3166
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
3167
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
6274
min_gtk_version=$GTK_REQUIRED_VERSION
6275
echo "$as_me:6275: checking for GTK+ - version >= $min_gtk_version" >&5
6276
echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
6278
if test x$PKG_CONFIG != xno ; then
6279
## don't try to run the test against uninstalled libtool libs
6280
if $PKG_CONFIG --uninstalled $pkg_config_args; then
6281
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
6285
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
6292
if test x"$no_gtk" = x ; then
6293
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
6294
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
6295
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3168
6296
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3169
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
6297
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3170
6298
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3171
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
6299
gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
3172
6300
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3173
6301
if test "x$enable_gtktest" = "xyes" ; then
3174
6302
ac_save_CFLAGS="$CFLAGS"
3261
if { (eval echo configure:3262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6386
rm -f conftest$ac_exeext
6387
if { (eval echo "$as_me:6387: \"$ac_link\"") >&5
6388
(eval $ac_link) 2>&5
6390
echo "$as_me:6390: \$? = $ac_status" >&5
6391
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6392
{ (eval echo "$as_me:6392: \"$ac_try\"") >&5
6395
echo "$as_me:6395: \$? = $ac_status" >&5
6396
(exit $ac_status); }; }; then
3265
echo "configure: failed program was:" >&5
3266
cat conftest.$ac_ext >&5
6399
echo "$as_me: program exited with status $ac_status" >&5
6400
echo "$as_me: failed program was:" >&5
6401
cat conftest.$ac_ext >&5
6404
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3273
6406
CFLAGS="$ac_save_CFLAGS"
3274
6407
LIBS="$ac_save_LIBS"
3277
6410
if test "x$no_gtk" = x ; then
3278
echo "$ac_t""yes" 1>&6
6411
echo "$as_me:6411: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
6412
echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
3281
echo "$ac_t""no" 1>&6
3282
if test "$GTK_CONFIG" = "no" ; then
3283
echo "*** The gtk-config script installed by GTK could not be found"
3284
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
3285
echo "*** your path, or set the GTK_CONFIG environment variable to the"
3286
echo "*** full path to gtk-config."
6415
echo "$as_me:6415: result: no" >&5
6416
echo "${ECHO_T}no" >&6
6417
if test "$PKG_CONFIG" = "no" ; then
6418
echo "*** A new enough version of pkg-config was not found."
6419
echo "*** See http://pkgconfig.sourceforge.net"
3288
6421
if test -f conf.gtktest ; then
3291
echo "*** Could not run GTK test program, checking why..."
6424
echo "*** Could not run GTK+ test program, checking why..."
3292
6425
CFLAGS="$CFLAGS $GTK_CFLAGS"
3293
6426
LIBS="$LIBS $GTK_LIBS"
3294
cat > conftest.$ac_ext <<EOF
3295
#line 3296 "configure"
6427
cat >conftest.$ac_ext <<_ACEOF
6428
#line 6428 "configure"
3296
6429
#include "confdefs.h"
3298
6431
#include <gtk/gtk.h>
3299
6432
#include <stdio.h>
3302
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
3305
if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6437
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
6442
rm -f conftest.$ac_objext conftest$ac_exeext
6443
if { (eval echo "$as_me:6443: \"$ac_link\"") >&5
6444
(eval $ac_link) 2>&5
6446
echo "$as_me:6446: \$? = $ac_status" >&5
6447
(exit $ac_status); } &&
6448
{ ac_try='test -s conftest$ac_exeext'
6449
{ (eval echo "$as_me:6449: \"$ac_try\"") >&5
6452
echo "$as_me:6452: \$? = $ac_status" >&5
6453
(exit $ac_status); }; }; then
3307
6454
echo "*** The test program compiled, but did not run. This usually means"
3308
echo "*** that the run-time linker is not finding GTK or finding the wrong"
3309
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
6455
echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
6456
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
3310
6457
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3311
6458
echo "*** to the installed location Also, make sure you have run ldconfig if that"
3312
6459
echo "*** is required on your system"
3314
6461
echo "*** If you have an old version installed, it is best to remove it, although"
3315
6462
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3317
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
3318
echo "*** came with the system with the command"
3320
echo "*** rpm --erase --nodeps gtk gtk-devel"
3322
echo "configure: failed program was:" >&5
3323
cat conftest.$ac_ext >&5
3325
echo "*** The test program failed to compile or link. See the file config.log for the"
3326
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
3327
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
3328
echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
6464
echo "$as_me: failed program was:" >&5
6465
cat conftest.$ac_ext >&5
6466
echo "*** The test program failed to compile or link. See the file config.log for the"
6467
echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
6468
echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
6469
echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
6471
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3331
6472
CFLAGS="$ac_save_CFLAGS"
3332
6473
LIBS="$ac_save_LIBS"
3337
{ echo "configure: error: Groundhog needs GTK" 1>&2; exit 1; }
6478
{ { echo "$as_me:6478: error: Test for GTK failed. See the file 'INSTALL' for help." >&5
6479
echo "$as_me: error: Test for GTK failed. See the file 'INSTALL' for help." >&2;}
6480
{ (exit 1); exit 1; }; }
3341
6483
rm -f conf.gtktest
3344
6485
CXXFLAGS="-O2 -Wall"
3346
for ac_hdr in unistd.h
6487
for ac_header in unistd.h
3348
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3349
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3350
echo "configure:3351: checking for $ac_hdr" >&5
3351
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3352
echo $ac_n "(cached) $ac_c" 1>&6
6489
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6490
echo "$as_me:6490: checking for $ac_header" >&5
6491
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6492
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6493
echo $ECHO_N "(cached) $ECHO_C" >&6
3354
cat > conftest.$ac_ext <<EOF
3355
#line 3356 "configure"
6495
cat >conftest.$ac_ext <<_ACEOF
6496
#line 6496 "configure"
3356
6497
#include "confdefs.h"
3359
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3360
{ (eval echo configure:3361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3361
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3362
if test -z "$ac_err"; then
3364
eval "ac_cv_header_$ac_safe=yes"
3367
echo "configure: failed program was:" >&5
6498
#include <$ac_header>
6500
if { (eval echo "$as_me:6500: \"$ac_cpp conftest.$ac_ext\"") >&5
6501
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6503
egrep -v '^ *\+' conftest.er1 >conftest.err
6505
cat conftest.err >&5
6506
echo "$as_me:6506: \$? = $ac_status" >&5
6507
(exit $ac_status); } >/dev/null; then
6508
if test -s conftest.err; then
6509
ac_cpp_err=$ac_c_preproc_warn_flag
6516
if test -z "$ac_cpp_err"; then
6517
eval "$as_ac_Header=yes"
6519
echo "$as_me: failed program was:" >&5
3368
6520
cat conftest.$ac_ext >&5
3370
eval "ac_cv_header_$ac_safe=no"
3374
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3375
echo "$ac_t""yes" 1>&6
3376
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3377
cat >> confdefs.h <<EOF
3378
#define $ac_tr_hdr 1
6521
eval "$as_ac_Header=no"
6523
rm -f conftest.err conftest.$ac_ext
6525
echo "$as_me:6525: result: `eval echo '${'$as_ac_Header'}'`" >&5
6526
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6527
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6528
cat >>confdefs.h <<EOF
6529
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3382
echo "$ac_t""no" 1>&6
3387
echo $ac_n "checking for working const""... $ac_c" 1>&6
3388
echo "configure:3389: checking for working const" >&5
3389
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3390
echo $ac_n "(cached) $ac_c" 1>&6
6535
echo "$as_me:6535: checking for an ANSI C-conforming const" >&5
6536
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6537
if test "${ac_cv_c_const+set}" = set; then
6538
echo $ECHO_N "(cached) $ECHO_C" >&6
3392
cat > conftest.$ac_ext <<EOF
3393
#line 3394 "configure"
6540
cat >conftest.$ac_ext <<_ACEOF
6541
#line 6541 "configure"
3394
6542
#include "confdefs.h"
3398
/* Ultrix mips cc rejects this. */
3399
typedef int charset[2]; const charset x;
3400
/* SunOS 4.1.1 cc rejects this. */
3401
char const *const *ccp;
3403
/* NEC SVR4.0.2 mips cc rejects this. */
3404
struct point {int x, y;};
3405
static struct point const zero = {0,0};
3406
/* AIX XL C 1.02.0.0 rejects this.
3407
It does not let you subtract one const X* pointer from another in an arm
3408
of an if-expression whose if-part is not a constant expression */
3409
const char *g = "string";
3410
ccp = &g + (g ? g-g : 0);
3411
/* HPUX 7.0 cc rejects these. */
3414
ccp = (char const *const *) p;
3415
{ /* SCO 3.2v4 cc rejects this. */
3417
char const *s = 0 ? (char *) 0 : (char const *) 0;
3421
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3423
const int *foo = &x[0];
3426
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3427
typedef const int *iptr;
3431
{ /* AIX XL C 1.02.0.0 rejects this saying
3432
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3433
struct s { int j; const int *ap[3]; };
3434
struct s *b; b->j = 5;
3436
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3442
if { (eval echo configure:3443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6547
/* FIXME: Include the comments suggested by Paul. */
6549
/* Ultrix mips cc rejects this. */
6550
typedef int charset[2];
6552
/* SunOS 4.1.1 cc rejects this. */
6553
char const *const *ccp;
6555
/* NEC SVR4.0.2 mips cc rejects this. */
6556
struct point {int x, y;};
6557
static struct point const zero = {0,0};
6558
/* AIX XL C 1.02.0.0 rejects this.
6559
It does not let you subtract one const X* pointer from another in
6560
an arm of an if-expression whose if-part is not a constant
6562
const char *g = "string";
6563
ccp = &g + (g ? g-g : 0);
6564
/* HPUX 7.0 cc rejects these. */
6567
ccp = (char const *const *) p;
6568
{ /* SCO 3.2v4 cc rejects this. */
6570
char const *s = 0 ? (char *) 0 : (char const *) 0;
6574
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6576
const int *foo = &x[0];
6579
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6580
typedef const int *iptr;
6584
{ /* AIX XL C 1.02.0.0 rejects this saying
6585
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6586
struct s { int j; const int *ap[3]; };
6587
struct s *b; b->j = 5;
6589
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6598
rm -f conftest.$ac_objext
6599
if { (eval echo "$as_me:6599: \"$ac_compile\"") >&5
6600
(eval $ac_compile) 2>&5
6602
echo "$as_me:6602: \$? = $ac_status" >&5
6603
(exit $ac_status); } &&
6604
{ ac_try='test -s conftest.$ac_objext'
6605
{ (eval echo "$as_me:6605: \"$ac_try\"") >&5
6608
echo "$as_me:6608: \$? = $ac_status" >&5
6609
(exit $ac_status); }; }; then
3444
6610
ac_cv_c_const=yes
3446
echo "configure: failed program was:" >&5
3447
cat conftest.$ac_ext >&5
3454
echo "$ac_t""$ac_cv_c_const" 1>&6
6612
echo "$as_me: failed program was:" >&5
6613
cat conftest.$ac_ext >&5
6616
rm -f conftest.$ac_objext conftest.$ac_ext
6618
echo "$as_me:6618: result: $ac_cv_c_const" >&5
6619
echo "${ECHO_T}$ac_cv_c_const" >&6
3455
6620
if test $ac_cv_c_const = no; then
3456
cat >> confdefs.h <<\EOF
6622
cat >>confdefs.h <<\EOF
3462
echo $ac_n "checking for size_t""... $ac_c" 1>&6
3463
echo "configure:3464: checking for size_t" >&5
3464
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3465
echo $ac_n "(cached) $ac_c" 1>&6
6628
echo "$as_me:6628: checking for size_t" >&5
6629
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6630
if test "${ac_cv_type_size_t+set}" = set; then
6631
echo $ECHO_N "(cached) $ECHO_C" >&6
3467
cat > conftest.$ac_ext <<EOF
3468
#line 3469 "configure"
6633
cat >conftest.$ac_ext <<_ACEOF
6634
#line 6634 "configure"
3469
6635
#include "confdefs.h"
3470
#include <sys/types.h>
3476
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3477
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
6636
$ac_includes_default
6642
if (sizeof (size_t))
6648
rm -f conftest.$ac_objext
6649
if { (eval echo "$as_me:6649: \"$ac_compile\"") >&5
6650
(eval $ac_compile) 2>&5
6652
echo "$as_me:6652: \$? = $ac_status" >&5
6653
(exit $ac_status); } &&
6654
{ ac_try='test -s conftest.$ac_objext'
6655
{ (eval echo "$as_me:6655: \"$ac_try\"") >&5
6658
echo "$as_me:6658: \$? = $ac_status" >&5
6659
(exit $ac_status); }; }; then
3479
6660
ac_cv_type_size_t=yes
3482
ac_cv_type_size_t=no
6662
echo "$as_me: failed program was:" >&5
6663
cat conftest.$ac_ext >&5
6664
ac_cv_type_size_t=no
6666
rm -f conftest.$ac_objext conftest.$ac_ext
6668
echo "$as_me:6668: result: $ac_cv_type_size_t" >&5
6669
echo "${ECHO_T}$ac_cv_type_size_t" >&6
6670
if test $ac_cv_type_size_t = yes; then
3487
echo "$ac_t""$ac_cv_type_size_t" 1>&6
3488
if test $ac_cv_type_size_t = no; then
3489
cat >> confdefs.h <<\EOF
6674
cat >>confdefs.h <<EOF
3490
6675
#define size_t unsigned
3497
6680
if test "x$GCC" = "xyes"; then
3498
6681
case " $CFLAGS " in
3499
6682
*[\ \ ]-Wall[\ \ ]*) ;;
3505
cat > confcache <<\EOF
6687
ac_config_files="$ac_config_files m4/Makefile intl/Makefile intl/Makefile Makefile src/Makefile po/Makefile.in"
6688
cat >confcache <<\_ACEOF
3506
6689
# This file is a shell script that caches the results of configure
3507
6690
# tests run on this system so they can be shared between configure
3508
# scripts and configure runs. It is not useful on other systems.
3509
# If it contains results you don't want to keep, you may remove or edit it.
3511
# By default, configure uses ./config.cache as the cache file,
3512
# creating it if it does not exist already. You can give configure
3513
# the --cache-file=FILE option to use a different cache file; that is
3514
# what configure does when it calls configure scripts in
3515
# subdirectories, so they share the cache.
3516
# Giving --cache-file=/dev/null disables caching, for debugging configure.
3517
# config.status only pays attention to the cache file if you give it the
3518
# --recheck option to rerun configure.
6691
# scripts and configure runs, see configure's option --config-cache.
6692
# It is not useful on other systems. If it contains results you don't
6693
# want to keep, you may remove or edit it.
6695
# config.status only pays attention to the cache file if you give it
6696
# the --recheck option to rerun configure.
6698
# `ac_cv_env_foo' variables (set or unset) will be overriden when
6699
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3521
6704
# The following way of writing the cache mishandles newlines in values,
3522
6705
# but we know of no workaround that is simple, portable, and efficient.
3523
6706
# So, don't put newlines in cache variables' values.
3524
6707
# Ultrix sh set writes to stderr and can't be redirected directly,
3525
6708
# and sets the high bit in the cache file unless we assign to the vars.
3527
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3529
# `set' does not quote correctly, so add quotes (double-quote substitution
3530
# turns \\\\ into \\, and sed turns \\ into \).
3532
-e "s/'/'\\\\''/g" \
3533
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3536
# `set' quotes correctly as required by POSIX, so do not add quotes.
3537
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3540
if cmp -s $cache_file confcache; then
6711
case `(ac_space=' '; set | grep ac_space) 2>&1` in
6713
# `set' does not quote correctly, so add quotes (double-quote
6714
# substitution turns \\\\ into \\, and sed turns \\ into \).
6717
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6720
# `set' quotes correctly as required by POSIX, so do not add quotes.
6722
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6729
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6731
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6733
if cmp -s $cache_file confcache; then :; else
3543
6734
if test -w $cache_file; then
3544
echo "updating cache $cache_file"
3545
cat confcache > $cache_file
6735
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6736
cat confcache >$cache_file
3547
6738
echo "not updating unwritable cache $cache_file"
3550
6741
rm -f confcache
3552
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3554
6743
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3555
6744
# Let make expand exec_prefix.
3556
6745
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3558
# Any assignment to VPATH causes Sun make to only execute
3559
# the first set of double-colon rules, so remove it if not needed.
3560
# If there is a colon in the path, we need to keep it.
6747
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6748
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6749
# trailing colons and then remove the whole line if VPATH becomes empty
6750
# (actually we leave an empty line to preserve line numbers).
3561
6751
if test "x$srcdir" = x.; then
3562
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
6752
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6753
s/:*\$(srcdir):*/:/;
6754
s/:*\${srcdir}:*/:/;
6756
s/^\([^=]*=[ ]*\):*/\1/;
3565
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3567
6762
DEFS=-DHAVE_CONFIG_H
3569
# Without the "./", some shells look in PATH for config.status.
6764
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6765
{ { echo "$as_me:6765: error: conditional \"AMDEP\" was never defined.
6766
Usually this means the macro was only invoked conditionally." >&5
6767
echo "$as_me: error: conditional \"AMDEP\" was never defined.
6768
Usually this means the macro was only invoked conditionally." >&2;}
6769
{ (exit 1); exit 1; }; }
3570
6772
: ${CONFIG_STATUS=./config.status}
3572
echo creating $CONFIG_STATUS
3573
rm -f $CONFIG_STATUS
3574
cat > $CONFIG_STATUS <<EOF
6773
ac_clean_files_save=$ac_clean_files
6774
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6775
{ echo "$as_me:6775: creating $CONFIG_STATUS" >&5
6776
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6777
cat >$CONFIG_STATUS <<_ACEOF
3576
6779
# Generated automatically by configure.
3577
6780
# Run this file to recreate the current configuration.
3578
# This directory was configured as follows,
3579
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3581
# $0 $ac_configure_args
3583
6781
# Compiler output produced by configure, useful for debugging
3584
# configure, is in ./config.log if it exists.
3586
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
6782
# configure, is in config.log if it exists.
6785
SHELL=\${CONFIG_SHELL-$SHELL}
6786
ac_cs_invocation="\$0 \$@"
6790
cat >>$CONFIG_STATUS <<\_ACEOF
6791
# Be Bourne compatible
6792
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6795
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6799
# Name of the executable.
6800
as_me=`echo "$0" |sed 's,.*[\\/],,'`
6802
if expr a : '\(a\)' >/dev/null 2>&1; then
6808
rm -f conf$$ conf$$.exe conf$$.file
6810
if ln -s conf$$.file conf$$ 2>/dev/null; then
6811
# We could just check for DJGPP; but this test a) works b) is more generic
6812
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6813
if test -f conf$$.exe; then
6814
# Don't use ln at all; we don't have any links
6819
elif ln conf$$.file conf$$ 2>/dev/null; then
6824
rm -f conf$$ conf$$.exe conf$$.file
6826
as_executable_p="test -f"
6828
# Support unset when possible.
6829
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6836
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
6837
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
6838
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
6839
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
6840
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
6841
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
6842
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
6843
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
6846
# We need space, tab and new line, in precisely that order.
6852
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
6858
# Files that config.status was made for.
6859
if test -n "$ac_config_files"; then
6860
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6863
if test -n "$ac_config_headers"; then
6864
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6867
if test -n "$ac_config_links"; then
6868
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6871
if test -n "$ac_config_commands"; then
6872
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6875
cat >>$CONFIG_STATUS <<\EOF
6878
\`$as_me' instantiates files from templates according to the
6879
current configuration.
6881
Usage: $0 [OPTIONS] [FILE]...
6883
-h, --help print this help, then exit
6884
-V, --version print version number, then exit
6885
-d, --debug don't remove temporary files
6886
--recheck update $as_me by reconfiguring in the same conditions
6887
--file=FILE[:TEMPLATE]
6888
instantiate the configuration file FILE
6889
--header=FILE[:TEMPLATE]
6890
instantiate the configuration header FILE
6892
Configuration files:
6895
Configuration headers:
6898
Configuration commands:
6901
Report bugs to <bug-autoconf@gnu.org>."
6904
cat >>$CONFIG_STATUS <<EOF
6907
configured by $0, generated by GNU Autoconf 2.52,
6908
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6910
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6911
Free Software Foundation, Inc.
6912
This config.status script is free software; the Free Software Foundation
6913
gives unlimited permission to copy, distribute and modify it."
6918
cat >>$CONFIG_STATUS <<\EOF
6919
# If no file are specified by the user, then we need to provide default
6920
# value. By we need to know if files were specified by the user.
3589
case "\$ac_option" in
6926
ac_option=`expr "x$1" : 'x\([^=]*\)='`
6927
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6929
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6933
*) # This is not an option, so the user has probably given explicit
6935
ac_need_defaults=false;;
6939
# Handling of the options.
6941
cat >>$CONFIG_STATUS <<EOF
3590
6942
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3591
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3592
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3593
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3594
echo "$CONFIG_STATUS generated by autoconf version 2.13"
3596
-help | --help | --hel | --he | --h)
3597
echo "\$ac_cs_usage"; exit 0 ;;
3598
*) echo "\$ac_cs_usage"; exit 1 ;;
3602
ac_given_srcdir=$srcdir
3603
ac_given_INSTALL="$INSTALL"
3605
trap 'rm -fr `echo "Makefile
3608
po/Makefile.in config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3610
cat >> $CONFIG_STATUS <<EOF
3612
# Protect against being on the right side of a sed subst in config.status.
3613
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3614
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3618
s%@CFLAGS@%$CFLAGS%g
3619
s%@CPPFLAGS@%$CPPFLAGS%g
3620
s%@CXXFLAGS@%$CXXFLAGS%g
3621
s%@FFLAGS@%$FFLAGS%g
3623
s%@LDFLAGS@%$LDFLAGS%g
3625
s%@exec_prefix@%$exec_prefix%g
3626
s%@prefix@%$prefix%g
3627
s%@program_transform_name@%$program_transform_name%g
3628
s%@bindir@%$bindir%g
3629
s%@sbindir@%$sbindir%g
3630
s%@libexecdir@%$libexecdir%g
3631
s%@datadir@%$datadir%g
3632
s%@sysconfdir@%$sysconfdir%g
3633
s%@sharedstatedir@%$sharedstatedir%g
3634
s%@localstatedir@%$localstatedir%g
3635
s%@libdir@%$libdir%g
3636
s%@includedir@%$includedir%g
3637
s%@oldincludedir@%$oldincludedir%g
3638
s%@infodir@%$infodir%g
3639
s%@mandir@%$mandir%g
3640
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3641
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3642
s%@INSTALL_DATA@%$INSTALL_DATA%g
3643
s%@PACKAGE@%$PACKAGE%g
3644
s%@VERSION@%$VERSION%g
3645
s%@ACLOCAL@%$ACLOCAL%g
3646
s%@AUTOCONF@%$AUTOCONF%g
3647
s%@AUTOMAKE@%$AUTOMAKE%g
3648
s%@AUTOHEADER@%$AUTOHEADER%g
3649
s%@MAKEINFO@%$MAKEINFO%g
3650
s%@SET_MAKE@%$SET_MAKE%g
3653
s%@host_alias@%$host_alias%g
3654
s%@host_cpu@%$host_cpu%g
3655
s%@host_vendor@%$host_vendor%g
3656
s%@host_os@%$host_os%g
3657
s%@RANLIB@%$RANLIB%g
3659
s%@ALLOCA@%$ALLOCA%g
3660
s%@GLIBC21@%$GLIBC21%g
3661
s%@LIBICONV@%$LIBICONV%g
3662
s%@USE_NLS@%$USE_NLS%g
3663
s%@MSGFMT@%$MSGFMT%g
3664
s%@GMSGFMT@%$GMSGFMT%g
3665
s%@XGETTEXT@%$XGETTEXT%g
3666
s%@INTLBISON@%$INTLBISON%g
3667
s%@BUILD_INCLUDED_LIBINTL@%$BUILD_INCLUDED_LIBINTL%g
3668
s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
3669
s%@CATALOGS@%$CATALOGS%g
3670
s%@CATOBJEXT@%$CATOBJEXT%g
3671
s%@GMOFILES@%$GMOFILES%g
3672
s%@INTLLIBS@%$INTLLIBS%g
3673
s%@INTLOBJS@%$INTLOBJS%g
3674
s%@POFILES@%$POFILES%g
3676
s%@DATADIRNAME@%$DATADIRNAME%g
3677
s%@INSTOBJEXT@%$INSTOBJEXT%g
3678
s%@GENCAT@%$GENCAT%g
3679
s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
3680
s%@INTL_LIBTOOL_SUFFIX_PREFIX@%$INTL_LIBTOOL_SUFFIX_PREFIX%g
3682
s%@GTK_CONFIG@%$GTK_CONFIG%g
3683
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
3684
s%@GTK_LIBS@%$GTK_LIBS%g
6943
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
6944
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
6946
cat >>$CONFIG_STATUS <<\EOF
6947
--version | --vers* | -V )
6948
echo "$ac_cs_version"; exit 0 ;;
6950
# Conflict between --help and --header
6951
{ { echo "$as_me:6951: error: ambiguous option: $1
6952
Try \`$0 --help' for more information." >&5
6953
echo "$as_me: error: ambiguous option: $1
6954
Try \`$0 --help' for more information." >&2;}
6955
{ (exit 1); exit 1; }; };;
6956
--help | --hel | -h )
6957
echo "$ac_cs_usage"; exit 0 ;;
6958
--debug | --d* | -d )
6960
--file | --fil | --fi | --f )
6962
CONFIG_FILES="$CONFIG_FILES $1"
6963
ac_need_defaults=false;;
6964
--header | --heade | --head | --hea )
6966
CONFIG_HEADERS="$CONFIG_HEADERS $1"
6967
ac_need_defaults=false;;
6970
-*) { { echo "$as_me:6970: error: unrecognized option: $1
6971
Try \`$0 --help' for more information." >&5
6972
echo "$as_me: error: unrecognized option: $1
6973
Try \`$0 --help' for more information." >&2;}
6974
{ (exit 1); exit 1; }; } ;;
6976
*) ac_config_targets="$ac_config_targets $1" ;;
6985
## ----------------------- ##
6986
## Running config.status. ##
6987
## ----------------------- ##
6989
This file was extended by $as_me 2.52, executed with
6990
CONFIG_FILES = $CONFIG_FILES
6991
CONFIG_HEADERS = $CONFIG_HEADERS
6992
CONFIG_LINKS = $CONFIG_LINKS
6993
CONFIG_COMMANDS = $CONFIG_COMMANDS
6995
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7000
cat >>$CONFIG_STATUS <<EOF
7002
# INIT-COMMANDS section.
7005
# Capture the value of obsolete $ALL_LINGUAS because we need it to compute
7006
# POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
7008
eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
7009
# Capture the value of LINGUAS because we need it to compute CATALOGS.
7010
LINGUAS="${LINGUAS-%UNSET%}"
7012
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7016
cat >>$CONFIG_STATUS <<\EOF
7017
for ac_config_target in $ac_config_targets
7019
case "$ac_config_target" in
7020
# Handling of arguments.
7021
"m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
7022
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
7023
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
7024
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7025
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7026
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7027
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7028
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7029
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7030
*) { { echo "$as_me:7030: error: invalid argument: $ac_config_target" >&5
7031
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7032
{ (exit 1); exit 1; }; };;
7036
# If the user did not use the arguments to specify the items to instantiate,
7037
# then the envvar interface is used. Set only those that are not.
7038
# We use the long form for the default assignment because of an extremely
7039
# bizarre bug on SunOS 4.1.3.
7040
if $ac_need_defaults; then
7041
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7042
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7043
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7046
# Create a temporary directory, and hook for its removal unless debugging.
7049
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7050
trap '{ (exit 1); exit 1; }' 1 2 13 15
7053
# Create a (secure) tmp directory for tmp files.
7056
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7057
test -n "$tmp" && test -d "$tmp"
7060
tmp=$TMPDIR/cs$$-$RANDOM
7061
(umask 077 && mkdir $tmp)
7064
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7065
{ (exit 1); exit 1; }
7070
cat >>$CONFIG_STATUS <<EOF
7073
# CONFIG_FILES section.
7076
# No need to generate the scripts if there are no CONFIG_FILES.
7077
# This happens for instance when ./config.status config.h
7078
if test -n "\$CONFIG_FILES"; then
7079
# Protect against being on the right side of a sed subst in config.status.
7080
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7081
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7082
s,@SHELL@,$SHELL,;t t
7083
s,@exec_prefix@,$exec_prefix,;t t
7084
s,@prefix@,$prefix,;t t
7085
s,@program_transform_name@,$program_transform_name,;t t
7086
s,@bindir@,$bindir,;t t
7087
s,@sbindir@,$sbindir,;t t
7088
s,@libexecdir@,$libexecdir,;t t
7089
s,@datadir@,$datadir,;t t
7090
s,@sysconfdir@,$sysconfdir,;t t
7091
s,@sharedstatedir@,$sharedstatedir,;t t
7092
s,@localstatedir@,$localstatedir,;t t
7093
s,@libdir@,$libdir,;t t
7094
s,@includedir@,$includedir,;t t
7095
s,@oldincludedir@,$oldincludedir,;t t
7096
s,@infodir@,$infodir,;t t
7097
s,@mandir@,$mandir,;t t
7098
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7099
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7100
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7101
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7102
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7103
s,@build_alias@,$build_alias,;t t
7104
s,@host_alias@,$host_alias,;t t
7105
s,@target_alias@,$target_alias,;t t
7106
s,@ECHO_C@,$ECHO_C,;t t
7107
s,@ECHO_N@,$ECHO_N,;t t
7108
s,@ECHO_T@,$ECHO_T,;t t
7109
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7112
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7113
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7114
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7115
s,@PACKAGE@,$PACKAGE,;t t
7116
s,@VERSION@,$VERSION,;t t
7117
s,@ACLOCAL@,$ACLOCAL,;t t
7118
s,@AUTOCONF@,$AUTOCONF,;t t
7119
s,@AUTOMAKE@,$AUTOMAKE,;t t
7120
s,@AUTOHEADER@,$AUTOHEADER,;t t
7121
s,@MAKEINFO@,$MAKEINFO,;t t
7122
s,@AMTAR@,$AMTAR,;t t
7123
s,@install_sh@,$install_sh,;t t
7124
s,@STRIP@,$STRIP,;t t
7125
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7126
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7128
s,@SET_MAKE@,$SET_MAKE,;t t
7129
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7130
s,@MSGFMT@,$MSGFMT,;t t
7131
s,@GMSGFMT@,$GMSGFMT,;t t
7132
s,@XGETTEXT@,$XGETTEXT,;t t
7133
s,@MSGMERGE@,$MSGMERGE,;t t
7135
s,@CFLAGS@,$CFLAGS,;t t
7136
s,@LDFLAGS@,$LDFLAGS,;t t
7137
s,@CPPFLAGS@,$CPPFLAGS,;t t
7138
s,@ac_ct_CC@,$ac_ct_CC,;t t
7139
s,@EXEEXT@,$EXEEXT,;t t
7140
s,@OBJEXT@,$OBJEXT,;t t
7141
s,@DEPDIR@,$DEPDIR,;t t
7142
s,@am__include@,$am__include,;t t
7143
s,@am__quote@,$am__quote,;t t
7144
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7145
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7146
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7147
s,@CCDEPMODE@,$CCDEPMODE,;t t
7148
s,@build@,$build,;t t
7149
s,@build_cpu@,$build_cpu,;t t
7150
s,@build_vendor@,$build_vendor,;t t
7151
s,@build_os@,$build_os,;t t
7153
s,@host_cpu@,$host_cpu,;t t
7154
s,@host_vendor@,$host_vendor,;t t
7155
s,@host_os@,$host_os,;t t
7156
s,@RANLIB@,$RANLIB,;t t
7157
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7159
s,@ALLOCA@,$ALLOCA,;t t
7160
s,@GLIBC21@,$GLIBC21,;t t
7161
s,@LIBICONV@,$LIBICONV,;t t
7162
s,@LTLIBICONV@,$LTLIBICONV,;t t
7163
s,@INTLBISON@,$INTLBISON,;t t
7164
s,@USE_NLS@,$USE_NLS,;t t
7165
s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
7166
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7167
s,@CATOBJEXT@,$CATOBJEXT,;t t
7168
s,@INTLOBJS@,$INTLOBJS,;t t
7169
s,@DATADIRNAME@,$DATADIRNAME,;t t
7170
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7171
s,@GENCAT@,$GENCAT,;t t
7172
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
7173
s,@INTLLIBS@,$INTLLIBS,;t t
7174
s,@LIBINTL@,$LIBINTL,;t t
7175
s,@LTLIBINTL@,$LTLIBINTL,;t t
7176
s,@POSUB@,$POSUB,;t t
7178
s,@CXXFLAGS@,$CXXFLAGS,;t t
7179
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7180
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7181
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
7182
s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
7183
s,@GLIB_LIBS@,$GLIB_LIBS,;t t
7184
s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
7185
s,@GOBJECT_QUERY@,$GOBJECT_QUERY,;t t
7186
s,@GLIB_MKENUMS@,$GLIB_MKENUMS,;t t
7187
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
7188
s,@GTK_LIBS@,$GTK_LIBS,;t t
3689
cat >> $CONFIG_STATUS <<\EOF
3691
# Split the substitutions into bite-sized pieces for seds with
3692
# small command number limits, like on Digital OSF/1 and HP-UX.
3693
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3694
ac_file=1 # Number of current file.
3695
ac_beg=1 # First line for current file.
3696
ac_end=$ac_max_sed_cmds # Line after last line for current file.
3699
while $ac_more_lines; do
3700
if test $ac_beg -gt 1; then
3701
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3703
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3705
if test ! -s conftest.s$ac_file; then
3707
rm -f conftest.s$ac_file
3709
if test -z "$ac_sed_cmds"; then
3710
ac_sed_cmds="sed -f conftest.s$ac_file"
3712
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3714
ac_file=`expr $ac_file + 1`
3716
ac_end=`expr $ac_end + $ac_max_sed_cmds`
3719
if test -z "$ac_sed_cmds"; then
3724
cat >> $CONFIG_STATUS <<EOF
3726
CONFIG_FILES=\${CONFIG_FILES-"Makefile
3731
cat >> $CONFIG_STATUS <<\EOF
3732
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
7193
cat >>$CONFIG_STATUS <<\EOF
7194
# Split the substitutions into bite-sized pieces for seds with
7195
# small command number limits, like on Digital OSF/1 and HP-UX.
7197
ac_sed_frag=1 # Number of current file.
7198
ac_beg=1 # First line for current file.
7199
ac_end=$ac_max_sed_lines # Line after last line for current file.
7202
while $ac_more_lines; do
7203
if test $ac_beg -gt 1; then
7204
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7206
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7208
if test ! -s $tmp/subs.frag; then
7211
# The purpose of the label and of the branching condition is to
7212
# speed up the sed processing (if there are no `@' at all, there
7213
# is no need to browse any of the substitutions).
7214
# These are the two extra sed commands mentioned above.
7216
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7217
if test -z "$ac_sed_cmds"; then
7218
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7220
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7222
ac_sed_frag=`expr $ac_sed_frag + 1`
7224
ac_end=`expr $ac_end + $ac_max_sed_lines`
7227
if test -z "$ac_sed_cmds"; then
7230
fi # test -n "$CONFIG_FILES"
7233
cat >>$CONFIG_STATUS <<\EOF
7234
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3733
7235
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3735
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3736
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3737
*) ac_file_in="${ac_file}.in" ;;
7237
- | *:- | *:-:* ) # input from stdin
7239
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7240
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7241
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7242
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7243
* ) ac_file_in=$ac_file.in ;;
3740
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3742
# Remove last slash and all that follows it. Not all systems have dirname.
3743
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7246
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7247
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7248
X"$ac_file" : 'X\(//\)[^/]' \| \
7249
X"$ac_file" : 'X\(//\)$' \| \
7250
X"$ac_file" : 'X\(/\)' \| \
7251
. : '\(.\)' 2>/dev/null ||
7253
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7254
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7255
/^X\(\/\/\)$/{ s//\1/; q; }
7256
/^X\(\/\).*/{ s//\1/; q; }
3744
7258
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3745
# The file is in a subdirectory.
3746
test ! -d "$ac_dir" && mkdir "$ac_dir"
3747
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
7260
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
7264
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7265
case $as_mkdir_dir in
7266
# Skip DOS drivespec
7267
?:) as_incr_dir=$as_mkdir_dir ;;
7269
as_incr_dir=$as_incr_dir/$as_mkdir_dir
7270
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7275
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3748
7276
# A "../" for each directory in $ac_dir_suffix.
3749
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7277
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3751
7279
ac_dir_suffix= ac_dots=
3754
case "$ac_given_srcdir" in
3756
if test -z "$ac_dots"; then top_srcdir=.
3757
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3758
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
7284
if test -z "$ac_dots"; then
7287
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
7290
ac_srcdir=$srcdir$ac_dir_suffix;
7291
ac_top_srcdir=$srcdir ;;
3759
7292
*) # Relative path.
3760
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3761
top_srcdir="$ac_dots$ac_given_srcdir" ;;
3764
case "$ac_given_INSTALL" in
3765
[/$]*) INSTALL="$ac_given_INSTALL" ;;
3766
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3769
echo creating "$ac_file"
3771
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3773
*Makefile*) ac_comsub="1i\\
3774
# $configure_input" ;;
3778
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3780
s%@configure_input@%$configure_input%g
3781
s%@srcdir@%$srcdir%g
3782
s%@top_srcdir@%$top_srcdir%g
3783
s%@INSTALL@%$INSTALL%g
3784
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7293
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7294
ac_top_srcdir=$ac_dots$srcdir ;;
7298
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7299
*) ac_INSTALL=$ac_dots$INSTALL ;;
7302
if test x"$ac_file" != x-; then
7303
{ echo "$as_me:7303: creating $ac_file" >&5
7304
echo "$as_me: creating $ac_file" >&6;}
7307
# Let's still pretend it is `configure' which instantiates (i.e., don't
7308
# use $as_me), people would be surprised to read:
7309
# /* config.h. Generated automatically by config.status. */
7310
configure_input="Generated automatically from `echo $ac_file_in |
7311
sed 's,.*/,,'` by configure."
7313
# First look for the input files in the build tree, otherwise in the
7315
ac_file_inputs=`IFS=:
7316
for f in $ac_file_in; do
7318
-) echo $tmp/stdin ;;
7320
# Absolute (can't be DOS-style, as IFS=:)
7321
test -f "$f" || { { echo "$as_me:7321: error: cannot find input file: $f" >&5
7322
echo "$as_me: error: cannot find input file: $f" >&2;}
7323
{ (exit 1); exit 1; }; }
7326
if test -f "$f"; then
7329
elif test -f "$srcdir/$f"; then
7334
{ { echo "$as_me:7334: error: cannot find input file: $f" >&5
7335
echo "$as_me: error: cannot find input file: $f" >&2;}
7336
{ (exit 1); exit 1; }; }
7339
done` || { (exit 1); exit 1; }
7341
cat >>$CONFIG_STATUS <<EOF
7345
cat >>$CONFIG_STATUS <<\EOF
7347
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7348
s,@configure_input@,$configure_input,;t t
7349
s,@srcdir@,$ac_srcdir,;t t
7350
s,@top_srcdir@,$ac_top_srcdir,;t t
7351
s,@INSTALL@,$ac_INSTALL,;t t
7352
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7354
if test x"$ac_file" != x-; then
7355
mv $tmp/out $ac_file
7363
cat >>$CONFIG_STATUS <<\EOF
7366
# CONFIG_HEADER section.
3788
7369
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3789
7370
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3791
7372
# ac_d sets the value in "#define NAME VALUE" lines.
3792
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3793
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3796
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3797
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3798
ac_uB='\([ ]\)%\1#\2define\3'
7373
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7374
ac_dB='[ ].*$,\1#\2'
7377
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7378
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7379
ac_uB='$,\1#\2define\3'
3801
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3802
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3803
ac_eB='$%\1#\2define\3'
3807
if test "${CONFIG_HEADERS+set}" != set; then
3809
cat >> $CONFIG_STATUS <<EOF
3810
CONFIG_HEADERS="config.h"
3812
cat >> $CONFIG_STATUS <<\EOF
3814
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
7383
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3815
7384
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3817
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3818
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3819
*) ac_file_in="${ac_file}.in" ;;
7386
- | *:- | *:-:* ) # input from stdin
7388
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7389
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7390
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7391
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7392
* ) ac_file_in=$ac_file.in ;;
3822
echo creating $ac_file
3824
rm -f conftest.frag conftest.in conftest.out
3825
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3826
cat $ac_file_inputs > conftest.in
3830
# Transform confdefs.h into a sed script conftest.vals that substitutes
3831
# the proper values into config.h.in to produce config.h. And first:
3832
# Protect against being on the right side of a sed subst in config.status.
3833
# Protect against being in an unquoted here document in config.status.
3835
cat > conftest.hdr <<\EOF
3838
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3842
sed -n -f conftest.hdr confdefs.h > conftest.vals
7395
test x"$ac_file" != x- && { echo "$as_me:7395: creating $ac_file" >&5
7396
echo "$as_me: creating $ac_file" >&6;}
7398
# First look for the input files in the build tree, otherwise in the
7400
ac_file_inputs=`IFS=:
7401
for f in $ac_file_in; do
7403
-) echo $tmp/stdin ;;
7405
# Absolute (can't be DOS-style, as IFS=:)
7406
test -f "$f" || { { echo "$as_me:7406: error: cannot find input file: $f" >&5
7407
echo "$as_me: error: cannot find input file: $f" >&2;}
7408
{ (exit 1); exit 1; }; }
7411
if test -f "$f"; then
7414
elif test -f "$srcdir/$f"; then
7419
{ { echo "$as_me:7419: error: cannot find input file: $f" >&5
7420
echo "$as_me: error: cannot find input file: $f" >&2;}
7421
{ (exit 1); exit 1; }; }
7424
done` || { (exit 1); exit 1; }
7425
# Remove the trailing spaces.
7426
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7430
# Transform confdefs.h into two sed scripts, `conftest.defines' and
7431
# `conftest.undefs', that substitutes the proper values into
7432
# config.h.in to produce config.h. The first handles `#define'
7433
# templates, and the second `#undef' templates.
7434
# And first: Protect against being on the right side of a sed subst in
7435
# config.status. Protect against being in an unquoted here document
7437
rm -f conftest.defines conftest.undefs
7438
# Using a here document instead of a string reduces the quoting nightmare.
7439
# Putting comments in sed scripts is not portable.
7441
# `end' is used to avoid that the second main sed command (meant for
7442
# 0-ary CPP macros) applies to n-ary macro definitions.
7443
# See the Autoconf documentation for `clear'.
7444
cat >confdef2sed.sed <<\EOF
7449
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7451
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7454
# If some macros were called several times there might be several times
7455
# the same #defines, which is useless. Nevertheless, we may not want to
7456
# sort them, since we want the *last* AC-DEFINE to be honored.
7457
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7458
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7459
rm -f confdef2sed.sed
3845
7461
# This sed command replaces #undef with comments. This is necessary, for
3846
7462
# example, in the case of _POSIX_SOURCE, which is predefined and required
3847
7463
# on some systems where configure will not decide to define it.
3848
cat >> conftest.vals <<\EOF
3849
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7464
cat >>conftest.undefs <<\EOF
7465
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3852
# Break up conftest.vals because some shells have a limit on
3853
# the size of here documents, and old seds have small limits too.
3858
ac_lines=`grep -c . conftest.vals`
3859
# grep -c gives empty output for an empty file on some AIX systems.
3860
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3861
# Write a limited-size here document to conftest.frag.
3862
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3863
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3865
sed -f conftest.frag conftest.in > conftest.out
3867
mv conftest.out conftest.in
3869
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3871
mv conftest.tail conftest.vals
3875
cat >> $CONFIG_STATUS <<\EOF
3876
rm -f conftest.frag conftest.h
3877
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3878
cat conftest.in >> conftest.h
3880
if cmp -s $ac_file conftest.h 2>/dev/null; then
3881
echo "$ac_file is unchanged"
7468
# Break up conftest.defines because some shells have a limit on the size
7469
# of here documents, and old seds have small limits too (100 cmds).
7470
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7471
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7472
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7473
echo ' :' >>$CONFIG_STATUS
7475
while grep . conftest.defines >/dev/null
7477
# Write a limited-size here document to $tmp/defines.sed.
7478
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7479
# Speed up: don't consider the non `#define' lines.
7480
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7481
# Work around the forget-to-reset-the-flag bug.
7482
echo 't clr' >>$CONFIG_STATUS
7483
echo ': clr' >>$CONFIG_STATUS
7484
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7486
sed -f $tmp/defines.sed $tmp/in >$tmp/out
7490
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7491
rm -f conftest.defines
7492
mv conftest.tail conftest.defines
7494
rm -f conftest.defines
7495
echo ' fi # egrep' >>$CONFIG_STATUS
7496
echo >>$CONFIG_STATUS
7498
# Break up conftest.undefs because some shells have a limit on the size
7499
# of here documents, and old seds have small limits too (100 cmds).
7500
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7502
while grep . conftest.undefs >/dev/null
7504
# Write a limited-size here document to $tmp/undefs.sed.
7505
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7506
# Speed up: don't consider the non `#undef'
7507
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7508
# Work around the forget-to-reset-the-flag bug.
7509
echo 't clr' >>$CONFIG_STATUS
7510
echo ': clr' >>$CONFIG_STATUS
7511
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7513
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7517
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7518
rm -f conftest.undefs
7519
mv conftest.tail conftest.undefs
7521
rm -f conftest.undefs
7523
cat >>$CONFIG_STATUS <<\EOF
7524
# Let's still pretend it is `configure' which instantiates (i.e., don't
7525
# use $as_me), people would be surprised to read:
7526
# /* config.h. Generated automatically by config.status. */
7527
if test x"$ac_file" = x-; then
7528
echo "/* Generated automatically by configure. */" >$tmp/config.h
3884
# Remove last slash and all that follows it. Not all systems have dirname.
3885
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7530
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
7532
cat $tmp/in >>$tmp/config.h
7534
if test x"$ac_file" != x-; then
7535
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7536
{ echo "$as_me:7536: $ac_file is unchanged" >&5
7537
echo "$as_me: $ac_file is unchanged" >&6;}
7539
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7540
X"$ac_file" : 'X\(//\)[^/]' \| \
7541
X"$ac_file" : 'X\(//\)$' \| \
7542
X"$ac_file" : 'X\(/\)' \| \
7543
. : '\(.\)' 2>/dev/null ||
7545
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7546
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7547
/^X\(\/\/\)$/{ s//\1/; q; }
7548
/^X\(\/\).*/{ s//\1/; q; }
3886
7550
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3887
# The file is in a subdirectory.
3888
test ! -d "$ac_dir" && mkdir "$ac_dir"
7552
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
7556
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7557
case $as_mkdir_dir in
7558
# Skip DOS drivespec
7559
?:) as_incr_dir=$as_mkdir_dir ;;
7561
as_incr_dir=$as_incr_dir/$as_mkdir_dir
7562
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7569
mv $tmp/config.h $ac_file
3891
mv conftest.h $ac_file
3896
cat >> $CONFIG_STATUS <<EOF
3901
cat >> $CONFIG_STATUS <<\EOF
3902
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
3903
for ac_file in $CONFIG_FILES; do
3904
# Support "outfile[:infile[:infile...]]"
3906
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7575
# Run the commands associated with the file.
7577
config.h ) # update the timestamp
7578
echo 'timestamp for config.h' >"./stamp-h1"
7583
cat >>$CONFIG_STATUS <<\EOF
7586
# CONFIG_COMMANDS section.
7588
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7589
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7590
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7594
for ac_file in $CONFIG_FILES; do
7595
# Support "outfile[:infile[:infile...]]"
7597
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7599
# PO directories have a Makefile.in generated from Makefile.in.in.
7600
case "$ac_file" in */Makefile.in)
7601
# Adjust a relative srcdir.
7602
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7603
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7604
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7605
# In autoconf-2.13 it is called $ac_given_srcdir.
7606
# In autoconf-2.50 it is called $srcdir.
7607
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7608
case "$ac_given_srcdir" in
7609
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7610
/*) top_srcdir="$ac_given_srcdir" ;;
7611
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3908
# PO directories have a Makefile.in generated from Makefile.in.in.
3909
case "$ac_file" in */Makefile.in)
3910
# Adjust a relative srcdir.
3911
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3912
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3913
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7613
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7614
rm -f "$ac_dir/POTFILES"
7615
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7616
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7617
# ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
7618
# on $ac_dir but don't depend on user-specified configuration
7620
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7621
# The LINGUAS file contains the set of available languages.
7622
if test -n "$ALL_LINGUAS"; then
7623
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7625
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7626
# Hide the ALL_LINGUAS assigment from automake.
7627
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3914
7629
case "$ac_given_srcdir" in
3915
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3916
/*) top_srcdir="$ac_given_srcdir" ;;
3917
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7631
*) srcdirpre='$(srcdir)/' ;;
3919
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3920
rm -f "$ac_dir/POTFILES"
3921
echo creating "$ac_dir/POTFILES"
3922
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
3923
echo creating "$ac_dir/Makefile"
3924
sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7637
for lang in $ALL_LINGUAS; do
7638
POFILES="$POFILES $srcdirpre$lang.po"
7639
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7640
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7641
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7643
# CATALOGS depends on both $ac_dir and the user's LINGUAS
7644
# environment variable.
7646
if test -n "$ALL_LINGUAS"; then
7647
for presentlang in $ALL_LINGUAS; do
7649
if test "%UNSET%" != "$LINGUAS"; then
7650
desiredlanguages="$LINGUAS"
7652
desiredlanguages="$ALL_LINGUAS"
7654
for desiredlang in $desiredlanguages; do
7655
# Use the presentlang catalog if desiredlang is
7656
# a. equal to presentlang, or
7657
# b. a variant of presentlang (because in this case,
7658
# presentlang can be used as a fallback for messages
7659
# which are not translated in the desiredlang catalog).
7660
case "$desiredlang" in
7661
"$presentlang"*) useit=yes;;
7664
if test $useit = yes; then
7665
INST_LINGUAS="$INST_LINGUAS $presentlang"
7670
if test -n "$INST_LINGUAS"; then
7671
for lang in $INST_LINGUAS; do
7672
CATALOGS="$CATALOGS $lang.gmo"
7675
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7676
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7677
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7678
if test -f "$f"; then
7680
*.orig | *.bak | *~) ;;
7681
*) cat "$f" >> "$ac_dir/Makefile" ;;
7689
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7690
# Strip MF so we end up with the name of the file.
7691
mf=`echo "$mf" | sed -e 's/:.*$//'`
7692
if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
7693
dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7694
X"$mf" : 'X\(//\)[^/]' \| \
7695
X"$mf" : 'X\(//\)$' \| \
7696
X"$mf" : 'X\(/\)' \| \
7697
. : '\(.\)' 2>/dev/null ||
7699
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7700
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7701
/^X\(\/\/\)$/{ s//\1/; q; }
7702
/^X\(\/\).*/{ s//\1/; q; }
7707
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7708
# Extract the definition of DEP_FILES from the Makefile without
7710
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7711
test -z "$DEPDIR" && continue
7712
# When using ansi2knr, U may be empty or an underscore; expand it
7713
U=`sed -n -e '/^U = / s///p' < "$mf"`
7714
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7715
# We invoke sed twice because it is the simplest approach to
7716
# changing $(DEPDIR) to its actual value in the expansion.
7717
for file in `sed -n -e '
7718
/^DEP_FILES = .*\\\\$/ {
7727
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7728
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7729
# Make sure the directory exists.
7730
test -f "$dirpart/$file" && continue
7731
fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7732
X"$file" : 'X\(//\)[^/]' \| \
7733
X"$file" : 'X\(//\)$' \| \
7734
X"$file" : 'X\(/\)' \| \
7735
. : '\(.\)' 2>/dev/null ||
7737
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7738
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7739
/^X\(\/\/\)$/{ s//\1/; q; }
7740
/^X\(\/\).*/{ s//\1/; q; }
7742
{ case $dirpart/$fdir in
7743
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
7746
as_dummy=$dirpart/$fdir
7747
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7748
case $as_mkdir_dir in
7749
# Skip DOS drivespec
7750
?:) as_incr_dir=$as_mkdir_dir ;;
7752
as_incr_dir=$as_incr_dir/$as_mkdir_dir
7753
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7758
# echo "creating $dirpart/$file"
7759
echo '# dummy' > "$dirpart/$file"
7767
cat >>$CONFIG_STATUS <<\EOF
7769
{ (exit 0); exit 0; }
3932
7771
chmod +x $CONFIG_STATUS
3933
rm -fr confdefs* $ac_clean_files
3934
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7772
ac_clean_files=$ac_clean_files_save
7774
# configure is writing to config.log, and then calls config.status.
7775
# config.status does its own redirection, appending to config.log.
7776
# Unfortunately, on DOS this fails, as config.log is still kept open
7777
# by configure, so config.status won't be able to write to it; its
7778
# output is simply discarded. So we exec the FD to /dev/null,
7779
# effectively closing config.log, so it can be properly (re)opened and
7780
# appended to by config.status. When coming back to configure, we
7781
# need to make the FD available again.
7782
if test "$no_create" != yes; then
7785
$SHELL $CONFIG_STATUS || ac_cs_success=false
7787
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
7788
# would make configure fail if this is the last instruction.
7789
$ac_cs_success || { (exit 1); exit 1; }