724
1449
# SunOS /usr/etc/install
725
1450
# IRIX /sbin/install
726
1451
# AIX /bin/install
1452
# AmigaOS /C/install, which installs bootblocks on floppy discs
727
1453
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
728
1454
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
729
1455
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
730
1456
# ./install, which can be erroneously created by make from ./install.sh.
731
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
732
echo "configure:733: checking for a BSD compatible install" >&5
1457
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1458
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
733
1459
if test -z "$INSTALL"; then
734
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
735
echo $ac_n "(cached) $ac_c" 1>&6
1460
if test "${ac_cv_path_install+set}" = set; then
1461
echo $ECHO_N "(cached) $ECHO_C" >&6
737
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
738
for ac_dir in $PATH; do
739
# Account for people who put trailing slashes in PATH elements.
741
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
743
# OSF1 and SCO ODT 3.0 have their own names for install.
744
# Don't use installbsd from OSF since it installs stuff as root
746
for ac_prog in ginstall scoinst install; do
747
if test -f $ac_dir/$ac_prog; then
748
if test $ac_prog = install &&
749
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
750
# AIX install. It has an incompatible calling convention.
753
ac_cv_path_install="$ac_dir/$ac_prog -c"
1463
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1467
test -z "$as_dir" && as_dir=.
1468
# Account for people who put trailing slashes in PATH elements.
1470
./ | .// | /cC/* | \
1471
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1474
# OSF1 and SCO ODT 3.0 have their own names for install.
1475
# Don't use installbsd from OSF since it installs stuff as root
1477
for ac_prog in ginstall scoinst install; do
1478
for ac_exec_ext in '' $ac_executable_extensions; do
1479
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1480
if test $ac_prog = install &&
1481
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1482
# AIX install. It has an incompatible calling convention.
1484
elif test $ac_prog = install &&
1485
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1486
# program-specific install script used by HP pwplus--don't use.
1489
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
764
1501
if test "${ac_cv_path_install+set}" = set; then
765
INSTALL="$ac_cv_path_install"
1502
INSTALL=$ac_cv_path_install
767
1504
# As a last resort, use the slow shell script. We don't cache a
768
1505
# path for INSTALL within a source directory, because that will
769
1506
# break other packages using the cache if that directory is
770
1507
# removed, or if the path is relative.
771
INSTALL="$ac_install_sh"
1508
INSTALL=$ac_install_sh
774
echo "$ac_t""$INSTALL" 1>&6
1511
echo "$as_me:$LINENO: result: $INSTALL" >&5
1512
echo "${ECHO_T}$INSTALL" >&6
776
1514
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
777
1515
# It thinks the first close brace ends the variable substitution.
778
1516
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
780
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1518
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
782
1520
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
784
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
785
echo "configure:786: checking whether build environment is sane" >&5
1522
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1523
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
788
echo timestamp > conftestfile
1526
echo timestamp > conftest.file
789
1527
# Do `set' in a subshell so we don't clobber the current shell's
790
1528
# arguments. Must try -L first in case configure is actually a
791
1529
# symlink; some systems play weird games with the mod time of symlinks
792
1530
# (eg FreeBSD returns the mod time of the symlink's containing
795
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1533
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
796
1534
if test "$*" = "X"; then
797
1535
# -L didn't work.
798
set X `ls -t $srcdir/configure conftestfile`
1536
set X `ls -t $srcdir/configure conftest.file`
800
if test "$*" != "X $srcdir/configure conftestfile" \
801
&& test "$*" != "X conftestfile $srcdir/configure"; then
1539
if test "$*" != "X $srcdir/configure conftest.file" \
1540
&& test "$*" != "X conftest.file $srcdir/configure"; then
803
1542
# If neither matched, then we have a broken ls. This can happen
804
1543
# if, for instance, CONFIG_SHELL is bash and it inherits a
805
1544
# broken ls alias from the environment. This has actually
806
1545
# happened. Such a system could not be considered "sane".
807
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken
808
alias in your environment" 1>&2; exit 1; }
1546
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1547
alias in your environment" >&5
1548
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1549
alias in your environment" >&2;}
1550
{ (exit 1); exit 1; }; }
811
test "$2" = conftestfile
1553
test "$2" = conftest.file
817
{ echo "configure: error: newly created file is older than distributed files!
818
Check your system clock" 1>&2; exit 1; }
821
echo "$ac_t""yes" 1>&6
822
if test "$program_transform_name" = s,x,x,; then
823
program_transform_name=
825
# Double any \ or $. echo might interpret backslashes.
826
cat <<\EOF_SED > conftestsed
827
s,\\,\\\\,g; s,\$,$$,g
829
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1559
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1560
Check your system clock" >&5
1561
echo "$as_me: error: newly created file is older than distributed files!
1562
Check your system clock" >&2;}
1563
{ (exit 1); exit 1; }; }
1565
echo "$as_me:$LINENO: result: yes" >&5
1566
echo "${ECHO_T}yes" >&6
832
1567
test "$program_prefix" != NONE &&
833
program_transform_name="s,^,${program_prefix},; $program_transform_name"
1568
program_transform_name="s,^,$program_prefix,;$program_transform_name"
834
1569
# Use a double $ so make ignores it.
835
1570
test "$program_suffix" != NONE &&
836
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
838
# sed with no file args requires a program.
839
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
841
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
842
echo "configure:843: checking whether ${MAKE-make} sets \${MAKE}" >&5
843
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
844
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
845
echo $ac_n "(cached) $ac_c" 1>&6
847
cat > conftestmake <<\EOF
1571
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1572
# Double any \ or $. echo might interpret backslashes.
1573
# By default was `s,x,x', remove it if useless.
1574
cat <<\_ACEOF >conftest.sed
1575
s/[\\$]/&&/g;s/;s,x,x,$//
1577
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1581
# expand $ac_aux_dir to an absolute path
1582
am_aux_dir=`cd $ac_aux_dir && pwd`
1584
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1585
# Use eval to expand $SHELL
1586
if eval "$MISSING --run true"; then
1587
am_missing_run="$MISSING --run "
1590
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1591
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1594
for ac_prog in gawk mawk nawk awk
1596
# Extract the first word of "$ac_prog", so it can be a program name with args.
1597
set dummy $ac_prog; ac_word=$2
1598
echo "$as_me:$LINENO: checking for $ac_word" >&5
1599
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600
if test "${ac_cv_prog_AWK+set}" = set; then
1601
echo $ECHO_N "(cached) $ECHO_C" >&6
1603
if test -n "$AWK"; then
1604
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610
test -z "$as_dir" && as_dir=.
1611
for ac_exec_ext in '' $ac_executable_extensions; do
1612
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613
ac_cv_prog_AWK="$ac_prog"
1614
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623
if test -n "$AWK"; then
1624
echo "$as_me:$LINENO: result: $AWK" >&5
1625
echo "${ECHO_T}$AWK" >&6
1627
echo "$as_me:$LINENO: result: no" >&5
1628
echo "${ECHO_T}no" >&6
1631
test -n "$AWK" && break
1634
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1635
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1636
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1637
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1638
echo $ECHO_N "(cached) $ECHO_C" >&6
1640
cat >conftest.make <<\_ACEOF
849
1642
@echo 'ac_maketemp="${MAKE}"'
851
1644
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
852
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1645
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
853
1646
if test -n "$ac_maketemp"; then
854
1647
eval ac_cv_prog_make_${ac_make}_set=yes
856
1649
eval ac_cv_prog_make_${ac_make}_set=no
860
1653
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
861
echo "$ac_t""yes" 1>&6
1654
echo "$as_me:$LINENO: result: yes" >&5
1655
echo "${ECHO_T}yes" >&6
864
echo "$ac_t""no" 1>&6
1658
echo "$as_me:$LINENO: result: no" >&5
1659
echo "${ECHO_T}no" >&6
865
1660
SET_MAKE="MAKE=${MAKE-make}"
873
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
874
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1663
# test to see if srcdir already configured
1664
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1665
test -f $srcdir/config.status; then
1666
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1667
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1668
{ (exit 1); exit 1; }; }
876
cat >> confdefs.h <<EOF
1671
# Define the identity of the package.
1676
cat >>confdefs.h <<_ACEOF
877
1677
#define PACKAGE "$PACKAGE"
880
cat >> confdefs.h <<EOF
1681
cat >>confdefs.h <<_ACEOF
881
1682
#define VERSION "$VERSION"
886
missing_dir=`cd $ac_aux_dir && pwd`
887
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
888
echo "configure:889: checking for working aclocal" >&5
889
# Run test in a subshell; some versions of sh will print an error if
890
# an executable is not found, even if stderr is redirected.
891
# Redirect stdin to placate older versions of autoconf. Sigh.
892
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
894
echo "$ac_t""found" 1>&6
896
ACLOCAL="$missing_dir/missing aclocal"
897
echo "$ac_t""missing" 1>&6
900
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
901
echo "configure:902: checking for working autoconf" >&5
902
# Run test in a subshell; some versions of sh will print an error if
903
# an executable is not found, even if stderr is redirected.
904
# Redirect stdin to placate older versions of autoconf. Sigh.
905
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
907
echo "$ac_t""found" 1>&6
909
AUTOCONF="$missing_dir/missing autoconf"
910
echo "$ac_t""missing" 1>&6
913
echo $ac_n "checking for working automake""... $ac_c" 1>&6
914
echo "configure:915: checking for working automake" >&5
915
# Run test in a subshell; some versions of sh will print an error if
916
# an executable is not found, even if stderr is redirected.
917
# Redirect stdin to placate older versions of autoconf. Sigh.
918
if (automake --version) < /dev/null > /dev/null 2>&1; then
920
echo "$ac_t""found" 1>&6
922
AUTOMAKE="$missing_dir/missing automake"
923
echo "$ac_t""missing" 1>&6
926
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
927
echo "configure:928: checking for working autoheader" >&5
928
# Run test in a subshell; some versions of sh will print an error if
929
# an executable is not found, even if stderr is redirected.
930
# Redirect stdin to placate older versions of autoconf. Sigh.
931
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
932
AUTOHEADER=autoheader
933
echo "$ac_t""found" 1>&6
935
AUTOHEADER="$missing_dir/missing autoheader"
936
echo "$ac_t""missing" 1>&6
939
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
940
echo "configure:941: checking for working makeinfo" >&5
941
# Run test in a subshell; some versions of sh will print an error if
942
# an executable is not found, even if stderr is redirected.
943
# Redirect stdin to placate older versions of autoconf. Sigh.
944
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
946
echo "$ac_t""found" 1>&6
948
MAKEINFO="$missing_dir/missing makeinfo"
949
echo "$ac_t""missing" 1>&6
953
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
954
echo "configure:955: checking whether to enable maintainer-specific portions of Makefiles" >&5
1685
# Some tools Automake needs.
1687
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1690
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1693
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1696
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1699
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1702
AMTAR=${AMTAR-"${am_missing_run}tar"}
1704
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1706
# Installed binaries are usually stripped using `strip' when the user
1707
# run `make install-strip'. However `strip' might not be the right
1708
# tool to use in cross-compilation environments, therefore Automake
1709
# will honor the `STRIP' environment variable to overrule this program.
1710
if test "$cross_compiling" != no; then
1711
if test -n "$ac_tool_prefix"; then
1712
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1713
set dummy ${ac_tool_prefix}strip; ac_word=$2
1714
echo "$as_me:$LINENO: checking for $ac_word" >&5
1715
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1716
if test "${ac_cv_prog_STRIP+set}" = set; then
1717
echo $ECHO_N "(cached) $ECHO_C" >&6
1719
if test -n "$STRIP"; then
1720
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1726
test -z "$as_dir" && as_dir=.
1727
for ac_exec_ext in '' $ac_executable_extensions; do
1728
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1729
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1730
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738
STRIP=$ac_cv_prog_STRIP
1739
if test -n "$STRIP"; then
1740
echo "$as_me:$LINENO: result: $STRIP" >&5
1741
echo "${ECHO_T}$STRIP" >&6
1743
echo "$as_me:$LINENO: result: no" >&5
1744
echo "${ECHO_T}no" >&6
1748
if test -z "$ac_cv_prog_STRIP"; then
1750
# Extract the first word of "strip", so it can be a program name with args.
1751
set dummy strip; ac_word=$2
1752
echo "$as_me:$LINENO: checking for $ac_word" >&5
1753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1754
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1755
echo $ECHO_N "(cached) $ECHO_C" >&6
1757
if test -n "$ac_ct_STRIP"; then
1758
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1764
test -z "$as_dir" && as_dir=.
1765
for ac_exec_ext in '' $ac_executable_extensions; do
1766
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1767
ac_cv_prog_ac_ct_STRIP="strip"
1768
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1777
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1778
if test -n "$ac_ct_STRIP"; then
1779
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1780
echo "${ECHO_T}$ac_ct_STRIP" >&6
1782
echo "$as_me:$LINENO: result: no" >&5
1783
echo "${ECHO_T}no" >&6
1788
STRIP="$ac_cv_prog_STRIP"
1792
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1794
# We need awk for the "check" target. The system "awk" is bad on
1799
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1800
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
955
1801
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
956
1802
if test "${enable_maintainer_mode+set}" = set; then
957
1803
enableval="$enable_maintainer_mode"
958
1804
USE_MAINTAINER_MODE=$enableval
960
1806
USE_MAINTAINER_MODE=no
1808
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1809
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
963
echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
966
1812
if test $USE_MAINTAINER_MODE = yes; then
967
1813
MAINTAINER_MODE_TRUE=
970
1816
MAINTAINER_MODE_TRUE='#'
971
1817
MAINTAINER_MODE_FALSE=
973
1820
MAINT=$MAINTAINER_MODE_TRUE
978
LIBEXIF_GTK_REVISION=0
979
LIBEXIF_GTK_CURRENT=3
984
# Find the correct PATH separator. Usually this is `:', but
985
# DJGPP uses `;' like DOS.
986
if test "X${PATH_SEPARATOR+set}" != Xset; then
987
UNAME=${UNAME-`uname 2>/dev/null`}
989
*-DOS) lt_cv_sys_path_separator=';' ;;
990
*) lt_cv_sys_path_separator=':' ;;
992
PATH_SEPARATOR=$lt_cv_sys_path_separator
995
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
996
echo "configure:997: checking for Cygwin environment" >&5
997
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
998
echo $ac_n "(cached) $ac_c" 1>&6
1000
cat > conftest.$ac_ext <<EOF
1001
#line 1002 "configure"
1002
#include "confdefs.h"
1007
#define __CYGWIN__ __CYGWIN32__
1012
if { (eval echo configure:1013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1016
echo "configure: failed program was:" >&5
1017
cat conftest.$ac_ext >&5
1025
echo "$ac_t""$ac_cv_cygwin" 1>&6
1027
test "$ac_cv_cygwin" = yes && CYGWIN=yes
1028
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1029
echo "configure:1030: checking for mingw32 environment" >&5
1030
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1031
echo $ac_n "(cached) $ac_c" 1>&6
1033
cat > conftest.$ac_ext <<EOF
1034
#line 1035 "configure"
1035
#include "confdefs.h"
1041
if { (eval echo configure:1042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1045
echo "configure: failed program was:" >&5
1046
cat conftest.$ac_ext >&5
1054
echo "$ac_t""$ac_cv_mingw32" 1>&6
1056
test "$ac_cv_mingw32" = yes && MINGW32=yes
1057
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1058
echo "configure:1059: checking how to run the C preprocessor" >&5
1824
rm -f .deps 2>/dev/null
1825
mkdir .deps 2>/dev/null
1826
if test -d .deps; then
1829
# MS-DOS does not allow filenames that begin with a dot.
1832
rmdir .deps 2>/dev/null
1835
ac_config_commands="$ac_config_commands depfiles"
1838
am_make=${MAKE-make}
1839
cat > confinc << 'END'
1843
# If we don't find an include directive, just comment out the code.
1844
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1845
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1849
# First try GNU make style include.
1850
echo "include confinc" > confmf
1851
# We grep out `Entering directory' and `Leaving directory'
1852
# messages which can occur if `w' ends up in MAKEFLAGS.
1853
# In particular we don't look at `^make:' because GNU make might
1854
# be invoked under some other name (usually "gmake"), in which
1855
# case it prints its new name instead of `make'.
1856
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1861
# Now try BSD make style include.
1862
if test "$am__include" = "#"; then
1863
echo '.include "confinc"' > confmf
1864
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1865
am__include=.include
1872
echo "$as_me:$LINENO: result: $_am_result" >&5
1873
echo "${ECHO_T}$_am_result" >&6
1874
rm -f confinc confmf
1876
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1877
if test "${enable_dependency_tracking+set}" = set; then
1878
enableval="$enable_dependency_tracking"
1881
if test "x$enable_dependency_tracking" != xno; then
1882
am_depcomp="$ac_aux_dir/depcomp"
1887
if test "x$enable_dependency_tracking" != xno; then
1898
ac_cpp='$CPP $CPPFLAGS'
1899
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1900
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1901
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1902
if test -n "$ac_tool_prefix"; then
1903
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1904
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1905
echo "$as_me:$LINENO: checking for $ac_word" >&5
1906
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1907
if test "${ac_cv_prog_CC+set}" = set; then
1908
echo $ECHO_N "(cached) $ECHO_C" >&6
1910
if test -n "$CC"; then
1911
ac_cv_prog_CC="$CC" # Let the user override the test.
1913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917
test -z "$as_dir" && as_dir=.
1918
for ac_exec_ext in '' $ac_executable_extensions; do
1919
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1920
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1921
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930
if test -n "$CC"; then
1931
echo "$as_me:$LINENO: result: $CC" >&5
1932
echo "${ECHO_T}$CC" >&6
1934
echo "$as_me:$LINENO: result: no" >&5
1935
echo "${ECHO_T}no" >&6
1939
if test -z "$ac_cv_prog_CC"; then
1941
# Extract the first word of "gcc", so it can be a program name with args.
1942
set dummy gcc; ac_word=$2
1943
echo "$as_me:$LINENO: checking for $ac_word" >&5
1944
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1946
echo $ECHO_N "(cached) $ECHO_C" >&6
1948
if test -n "$ac_ct_CC"; then
1949
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955
test -z "$as_dir" && as_dir=.
1956
for ac_exec_ext in '' $ac_executable_extensions; do
1957
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958
ac_cv_prog_ac_ct_CC="gcc"
1959
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1967
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1968
if test -n "$ac_ct_CC"; then
1969
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1970
echo "${ECHO_T}$ac_ct_CC" >&6
1972
echo "$as_me:$LINENO: result: no" >&5
1973
echo "${ECHO_T}no" >&6
1981
if test -z "$CC"; then
1982
if test -n "$ac_tool_prefix"; then
1983
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1984
set dummy ${ac_tool_prefix}cc; ac_word=$2
1985
echo "$as_me:$LINENO: checking for $ac_word" >&5
1986
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1987
if test "${ac_cv_prog_CC+set}" = set; then
1988
echo $ECHO_N "(cached) $ECHO_C" >&6
1990
if test -n "$CC"; then
1991
ac_cv_prog_CC="$CC" # Let the user override the test.
1993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997
test -z "$as_dir" && as_dir=.
1998
for ac_exec_ext in '' $ac_executable_extensions; do
1999
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2000
ac_cv_prog_CC="${ac_tool_prefix}cc"
2001
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010
if test -n "$CC"; then
2011
echo "$as_me:$LINENO: result: $CC" >&5
2012
echo "${ECHO_T}$CC" >&6
2014
echo "$as_me:$LINENO: result: no" >&5
2015
echo "${ECHO_T}no" >&6
2019
if test -z "$ac_cv_prog_CC"; then
2021
# Extract the first word of "cc", so it can be a program name with args.
2022
set dummy cc; ac_word=$2
2023
echo "$as_me:$LINENO: checking for $ac_word" >&5
2024
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2026
echo $ECHO_N "(cached) $ECHO_C" >&6
2028
if test -n "$ac_ct_CC"; then
2029
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035
test -z "$as_dir" && as_dir=.
2036
for ac_exec_ext in '' $ac_executable_extensions; do
2037
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038
ac_cv_prog_ac_ct_CC="cc"
2039
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2048
if test -n "$ac_ct_CC"; then
2049
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2050
echo "${ECHO_T}$ac_ct_CC" >&6
2052
echo "$as_me:$LINENO: result: no" >&5
2053
echo "${ECHO_T}no" >&6
2062
if test -z "$CC"; then
2063
# Extract the first word of "cc", so it can be a program name with args.
2064
set dummy cc; ac_word=$2
2065
echo "$as_me:$LINENO: checking for $ac_word" >&5
2066
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2067
if test "${ac_cv_prog_CC+set}" = set; then
2068
echo $ECHO_N "(cached) $ECHO_C" >&6
2070
if test -n "$CC"; then
2071
ac_cv_prog_CC="$CC" # Let the user override the test.
2074
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078
test -z "$as_dir" && as_dir=.
2079
for ac_exec_ext in '' $ac_executable_extensions; do
2080
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2082
ac_prog_rejected=yes
2086
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092
if test $ac_prog_rejected = yes; then
2093
# We found a bogon in the path, so make sure we never use it.
2094
set dummy $ac_cv_prog_CC
2096
if test $# != 0; then
2097
# We chose a different compiler from the bogus one.
2098
# However, it has the same basename, so the bogon will be chosen
2099
# first if we set CC to just the basename; use the full file name.
2101
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2107
if test -n "$CC"; then
2108
echo "$as_me:$LINENO: result: $CC" >&5
2109
echo "${ECHO_T}$CC" >&6
2111
echo "$as_me:$LINENO: result: no" >&5
2112
echo "${ECHO_T}no" >&6
2116
if test -z "$CC"; then
2117
if test -n "$ac_tool_prefix"; then
2120
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2121
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2122
echo "$as_me:$LINENO: checking for $ac_word" >&5
2123
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124
if test "${ac_cv_prog_CC+set}" = set; then
2125
echo $ECHO_N "(cached) $ECHO_C" >&6
2127
if test -n "$CC"; then
2128
ac_cv_prog_CC="$CC" # Let the user override the test.
2130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134
test -z "$as_dir" && as_dir=.
2135
for ac_exec_ext in '' $ac_executable_extensions; do
2136
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2138
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147
if test -n "$CC"; then
2148
echo "$as_me:$LINENO: result: $CC" >&5
2149
echo "${ECHO_T}$CC" >&6
2151
echo "$as_me:$LINENO: result: no" >&5
2152
echo "${ECHO_T}no" >&6
2155
test -n "$CC" && break
2158
if test -z "$CC"; then
2162
# Extract the first word of "$ac_prog", so it can be a program name with args.
2163
set dummy $ac_prog; ac_word=$2
2164
echo "$as_me:$LINENO: checking for $ac_word" >&5
2165
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2166
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2167
echo $ECHO_N "(cached) $ECHO_C" >&6
2169
if test -n "$ac_ct_CC"; then
2170
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176
test -z "$as_dir" && as_dir=.
2177
for ac_exec_ext in '' $ac_executable_extensions; do
2178
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2179
ac_cv_prog_ac_ct_CC="$ac_prog"
2180
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2189
if test -n "$ac_ct_CC"; then
2190
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2191
echo "${ECHO_T}$ac_ct_CC" >&6
2193
echo "$as_me:$LINENO: result: no" >&5
2194
echo "${ECHO_T}no" >&6
2197
test -n "$ac_ct_CC" && break
2206
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
2207
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
2208
{ (exit 1); exit 1; }; }
2210
# Provide some information about the compiler.
2211
echo "$as_me:$LINENO:" \
2212
"checking for C compiler version" >&5
2213
ac_compiler=`set X $ac_compile; echo $2`
2214
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2215
(eval $ac_compiler --version </dev/null >&5) 2>&5
2217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218
(exit $ac_status); }
2219
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2220
(eval $ac_compiler -v </dev/null >&5) 2>&5
2222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223
(exit $ac_status); }
2224
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2225
(eval $ac_compiler -V </dev/null >&5) 2>&5
2227
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228
(exit $ac_status); }
2230
cat >conftest.$ac_ext <<_ACEOF
2231
#line $LINENO "configure"
2232
#include "confdefs.h"
2242
ac_clean_files_save=$ac_clean_files
2243
ac_clean_files="$ac_clean_files a.out a.exe"
2244
# Try to create an executable without -o first, disregard a.out.
2245
# It will help us diagnose broken compilers, and finding out an intuition
2247
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2248
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2249
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2250
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2251
(eval $ac_link_default) 2>&5
2253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254
(exit $ac_status); }; then
2255
# Find the output, starting from the most likely. This scheme is
2256
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2259
# Be careful to initialize this variable, since it used to be cached.
2260
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2262
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
2263
test -f "$ac_file" || continue
2265
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2266
a.out ) # We found the default executable, but exeext='' is most
2269
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2270
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2277
echo "$as_me: failed program was:" >&5
2278
cat conftest.$ac_ext >&5
2279
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2280
check \`config.log' for details." >&5
2281
echo "$as_me: error: C compiler cannot create executables
2282
check \`config.log' for details." >&2;}
2283
{ (exit 77); exit 77; }; }
2286
ac_exeext=$ac_cv_exeext
2287
echo "$as_me:$LINENO: result: $ac_file" >&5
2288
echo "${ECHO_T}$ac_file" >&6
2290
# Check the compiler produces executables we can run. If not, either
2291
# the compiler is broken, or we cross compile.
2292
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2293
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2294
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2295
# If not cross compiling, check that we can run a simple program.
2296
if test "$cross_compiling" != yes; then
2297
if { ac_try='./$ac_file'
2298
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302
(exit $ac_status); }; }; then
2305
if test "$cross_compiling" = maybe; then
2308
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2309
If you meant to cross compile, use \`--host'." >&5
2310
echo "$as_me: error: cannot run C compiled programs.
2311
If you meant to cross compile, use \`--host'." >&2;}
2312
{ (exit 1); exit 1; }; }
2316
echo "$as_me:$LINENO: result: yes" >&5
2317
echo "${ECHO_T}yes" >&6
2319
rm -f a.out a.exe conftest$ac_cv_exeext
2320
ac_clean_files=$ac_clean_files_save
2321
# Check the compiler produces executables we can run. If not, either
2322
# the compiler is broken, or we cross compile.
2323
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2324
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2325
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2326
echo "${ECHO_T}$cross_compiling" >&6
2328
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2329
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2330
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2331
(eval $ac_link) 2>&5
2333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334
(exit $ac_status); }; then
2335
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2336
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2337
# work properly (i.e., refer to `conftest.exe'), while it won't with
2339
for ac_file in conftest.exe conftest conftest.*; do
2340
test -f "$ac_file" || continue
2342
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2343
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2350
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2351
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2352
{ (exit 1); exit 1; }; }
2355
rm -f conftest$ac_cv_exeext
2356
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2357
echo "${ECHO_T}$ac_cv_exeext" >&6
2359
rm -f conftest.$ac_ext
2360
EXEEXT=$ac_cv_exeext
2362
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2363
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2364
if test "${ac_cv_objext+set}" = set; then
2365
echo $ECHO_N "(cached) $ECHO_C" >&6
2367
cat >conftest.$ac_ext <<_ACEOF
2368
#line $LINENO "configure"
2369
#include "confdefs.h"
2379
rm -f conftest.o conftest.obj
2380
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381
(eval $ac_compile) 2>&5
2383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384
(exit $ac_status); }; then
2385
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2387
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2388
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2393
echo "$as_me: failed program was:" >&5
2394
cat conftest.$ac_ext >&5
2395
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2396
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2397
{ (exit 1); exit 1; }; }
2400
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2402
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2403
echo "${ECHO_T}$ac_cv_objext" >&6
2404
OBJEXT=$ac_cv_objext
2406
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2407
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2408
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2409
echo $ECHO_N "(cached) $ECHO_C" >&6
2411
cat >conftest.$ac_ext <<_ACEOF
2412
#line $LINENO "configure"
2413
#include "confdefs.h"
2426
rm -f conftest.$ac_objext
2427
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2428
(eval $ac_compile) 2>&5
2430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431
(exit $ac_status); } &&
2432
{ ac_try='test -s conftest.$ac_objext'
2433
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437
(exit $ac_status); }; }; then
2440
echo "$as_me: failed program was:" >&5
2441
cat conftest.$ac_ext >&5
2444
rm -f conftest.$ac_objext conftest.$ac_ext
2445
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2448
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2449
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2450
GCC=`test $ac_compiler_gnu = yes && echo yes`
2451
ac_test_CFLAGS=${CFLAGS+set}
2452
ac_save_CFLAGS=$CFLAGS
2454
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2455
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2456
if test "${ac_cv_prog_cc_g+set}" = set; then
2457
echo $ECHO_N "(cached) $ECHO_C" >&6
2459
cat >conftest.$ac_ext <<_ACEOF
2460
#line $LINENO "configure"
2461
#include "confdefs.h"
2471
rm -f conftest.$ac_objext
2472
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473
(eval $ac_compile) 2>&5
2475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476
(exit $ac_status); } &&
2477
{ ac_try='test -s conftest.$ac_objext'
2478
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482
(exit $ac_status); }; }; then
2485
echo "$as_me: failed program was:" >&5
2486
cat conftest.$ac_ext >&5
2489
rm -f conftest.$ac_objext conftest.$ac_ext
2491
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2492
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2493
if test "$ac_test_CFLAGS" = set; then
2494
CFLAGS=$ac_save_CFLAGS
2495
elif test $ac_cv_prog_cc_g = yes; then
2496
if test "$GCC" = yes; then
2502
if test "$GCC" = yes; then
2508
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2509
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2510
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2511
echo $ECHO_N "(cached) $ECHO_C" >&6
2513
ac_cv_prog_cc_stdc=no
2515
cat >conftest.$ac_ext <<_ACEOF
2516
#line $LINENO "configure"
2517
#include "confdefs.h"
2520
#include <sys/types.h>
2521
#include <sys/stat.h>
2522
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2523
struct buf { int x; };
2524
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2525
static char *e (p, i)
2531
static char *f (char * (*g) (char **, int), char **p, ...)
2536
s = g (p, va_arg (v,int));
2540
int test (int i, double x);
2541
struct s1 {int (*f) (int a);};
2542
struct s2 {int (*f) (double a);};
2543
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2549
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2554
# Don't try gcc -ansi; that turns off useful extensions and
2555
# breaks some systems' header files.
2556
# AIX -qlanglvl=ansi
2557
# Ultrix and OSF/1 -std1
2558
# HP-UX 10.20 and later -Ae
2559
# HP-UX older versions -Aa -D_HPUX_SOURCE
2560
# SVR4 -Xc -D__EXTENSIONS__
2561
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2563
CC="$ac_save_CC $ac_arg"
2564
rm -f conftest.$ac_objext
2565
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2566
(eval $ac_compile) 2>&5
2568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569
(exit $ac_status); } &&
2570
{ ac_try='test -s conftest.$ac_objext'
2571
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575
(exit $ac_status); }; }; then
2576
ac_cv_prog_cc_stdc=$ac_arg
2579
echo "$as_me: failed program was:" >&5
2580
cat conftest.$ac_ext >&5
2582
rm -f conftest.$ac_objext
2584
rm -f conftest.$ac_ext conftest.$ac_objext
2589
case "x$ac_cv_prog_cc_stdc" in
2591
echo "$as_me:$LINENO: result: none needed" >&5
2592
echo "${ECHO_T}none needed" >&6 ;;
2594
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2595
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2596
CC="$CC $ac_cv_prog_cc_stdc" ;;
2599
# Some people use a C++ compiler to compile C. Since we use `exit',
2600
# in C++ we need to declare it. In case someone uses the same compiler
2601
# for both compiling C and C++ we need to have the C++ compiler decide
2602
# the declaration of exit, since it's the most demanding environment.
2603
cat >conftest.$ac_ext <<_ACEOF
2608
rm -f conftest.$ac_objext
2609
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2610
(eval $ac_compile) 2>&5
2612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613
(exit $ac_status); } &&
2614
{ ac_try='test -s conftest.$ac_objext'
2615
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619
(exit $ac_status); }; }; then
2620
for ac_declaration in \
2622
'#include <stdlib.h>' \
2623
'extern "C" void std::exit (int) throw (); using std::exit;' \
2624
'extern "C" void std::exit (int); using std::exit;' \
2625
'extern "C" void exit (int) throw ();' \
2626
'extern "C" void exit (int);' \
2629
cat >conftest.$ac_ext <<_ACEOF
2630
#line $LINENO "configure"
2631
#include "confdefs.h"
2642
rm -f conftest.$ac_objext
2643
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644
(eval $ac_compile) 2>&5
2646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647
(exit $ac_status); } &&
2648
{ ac_try='test -s conftest.$ac_objext'
2649
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653
(exit $ac_status); }; }; then
2656
echo "$as_me: failed program was:" >&5
2657
cat conftest.$ac_ext >&5
2660
rm -f conftest.$ac_objext conftest.$ac_ext
2661
cat >conftest.$ac_ext <<_ACEOF
2662
#line $LINENO "configure"
2663
#include "confdefs.h"
2673
rm -f conftest.$ac_objext
2674
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2675
(eval $ac_compile) 2>&5
2677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678
(exit $ac_status); } &&
2679
{ ac_try='test -s conftest.$ac_objext'
2680
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684
(exit $ac_status); }; }; then
2687
echo "$as_me: failed program was:" >&5
2688
cat conftest.$ac_ext >&5
2690
rm -f conftest.$ac_objext conftest.$ac_ext
2693
if test -n "$ac_declaration"; then
2694
echo '#ifdef __cplusplus' >>confdefs.h
2695
echo $ac_declaration >>confdefs.h
2696
echo '#endif' >>confdefs.h
2700
echo "$as_me: failed program was:" >&5
2701
cat conftest.$ac_ext >&5
2703
rm -f conftest.$ac_objext conftest.$ac_ext
2705
ac_cpp='$CPP $CPPFLAGS'
2706
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2707
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2708
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2710
depcc="$CC" am_compiler_list=
2712
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2713
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2714
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2715
echo $ECHO_N "(cached) $ECHO_C" >&6
2717
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2718
# We make a subdir and do the tests there. Otherwise we can end up
2719
# making bogus files that we don't know about and never remove. For
2720
# instance it was reported that on HP-UX the gcc test will end up
2721
# making a dummy file named `D' -- because `-MD' means `put the output
2724
# Copy depcomp to subdir because otherwise we won't find it if we're
2725
# using a relative directory.
2726
cp "$am_depcomp" conftest.dir
2729
am_cv_CC_dependencies_compiler_type=none
2730
if test "$am_compiler_list" = ""; then
2731
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2733
for depmode in $am_compiler_list; do
2734
# We need to recreate these files for each test, as the compiler may
2735
# overwrite some of them when testing with obscure command lines.
2736
# This happens at least with the AIX C compiler.
2737
echo '#include "conftest.h"' > conftest.c
2738
echo 'int i;' > conftest.h
2739
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2743
# after this tag, mechanisms are not by side-effect, so they'll
2744
# only be used when explicitly requested
2745
if test "x$enable_dependency_tracking" = xyes; then
2753
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2754
# mode. It turns out that the SunPro C++ compiler does not properly
2755
# handle `-M -o', and we need to detect this.
2756
if depmode=$depmode \
2757
source=conftest.c object=conftest.o \
2758
depfile=conftest.Po tmpdepfile=conftest.TPo \
2759
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2760
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2761
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2762
am_cv_CC_dependencies_compiler_type=$depmode
2770
am_cv_CC_dependencies_compiler_type=none
2774
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2775
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2776
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2781
echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2782
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2783
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2784
echo $ECHO_N "(cached) $ECHO_C" >&6
2786
ac_check_lib_save_LIBS=$LIBS
2787
LIBS="-lcposix $LIBS"
2788
cat >conftest.$ac_ext <<_ACEOF
2789
#line $LINENO "configure"
2790
#include "confdefs.h"
2792
/* Override any gcc2 internal prototype to avoid an error. */
2796
/* We use char because int might match the return type of a gcc2
2797
builtin and then its argument prototype would still apply. */
2807
rm -f conftest.$ac_objext conftest$ac_exeext
2808
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2809
(eval $ac_link) 2>&5
2811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812
(exit $ac_status); } &&
2813
{ ac_try='test -s conftest$ac_exeext'
2814
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818
(exit $ac_status); }; }; then
2819
ac_cv_lib_cposix_strerror=yes
2821
echo "$as_me: failed program was:" >&5
2822
cat conftest.$ac_ext >&5
2823
ac_cv_lib_cposix_strerror=no
2825
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2826
LIBS=$ac_check_lib_save_LIBS
2828
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2829
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2830
if test $ac_cv_lib_cposix_strerror = yes; then
2831
LIBS="$LIBS -lcposix"
2837
ac_cpp='$CPP $CPPFLAGS'
2838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2841
if test -n "$ac_tool_prefix"; then
2842
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2843
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2844
echo "$as_me:$LINENO: checking for $ac_word" >&5
2845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846
if test "${ac_cv_prog_CC+set}" = set; then
2847
echo $ECHO_N "(cached) $ECHO_C" >&6
2849
if test -n "$CC"; then
2850
ac_cv_prog_CC="$CC" # Let the user override the test.
2852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856
test -z "$as_dir" && as_dir=.
2857
for ac_exec_ext in '' $ac_executable_extensions; do
2858
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2860
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869
if test -n "$CC"; then
2870
echo "$as_me:$LINENO: result: $CC" >&5
2871
echo "${ECHO_T}$CC" >&6
2873
echo "$as_me:$LINENO: result: no" >&5
2874
echo "${ECHO_T}no" >&6
2878
if test -z "$ac_cv_prog_CC"; then
2880
# Extract the first word of "gcc", so it can be a program name with args.
2881
set dummy gcc; ac_word=$2
2882
echo "$as_me:$LINENO: checking for $ac_word" >&5
2883
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2884
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2885
echo $ECHO_N "(cached) $ECHO_C" >&6
2887
if test -n "$ac_ct_CC"; then
2888
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894
test -z "$as_dir" && as_dir=.
2895
for ac_exec_ext in '' $ac_executable_extensions; do
2896
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897
ac_cv_prog_ac_ct_CC="gcc"
2898
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2906
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907
if test -n "$ac_ct_CC"; then
2908
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2909
echo "${ECHO_T}$ac_ct_CC" >&6
2911
echo "$as_me:$LINENO: result: no" >&5
2912
echo "${ECHO_T}no" >&6
2920
if test -z "$CC"; then
2921
if test -n "$ac_tool_prefix"; then
2922
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2923
set dummy ${ac_tool_prefix}cc; ac_word=$2
2924
echo "$as_me:$LINENO: checking for $ac_word" >&5
2925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2926
if test "${ac_cv_prog_CC+set}" = set; then
2927
echo $ECHO_N "(cached) $ECHO_C" >&6
2929
if test -n "$CC"; then
2930
ac_cv_prog_CC="$CC" # Let the user override the test.
2932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936
test -z "$as_dir" && as_dir=.
2937
for ac_exec_ext in '' $ac_executable_extensions; do
2938
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939
ac_cv_prog_CC="${ac_tool_prefix}cc"
2940
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2949
if test -n "$CC"; then
2950
echo "$as_me:$LINENO: result: $CC" >&5
2951
echo "${ECHO_T}$CC" >&6
2953
echo "$as_me:$LINENO: result: no" >&5
2954
echo "${ECHO_T}no" >&6
2958
if test -z "$ac_cv_prog_CC"; then
2960
# Extract the first word of "cc", so it can be a program name with args.
2961
set dummy cc; ac_word=$2
2962
echo "$as_me:$LINENO: checking for $ac_word" >&5
2963
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2964
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2965
echo $ECHO_N "(cached) $ECHO_C" >&6
2967
if test -n "$ac_ct_CC"; then
2968
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974
test -z "$as_dir" && as_dir=.
2975
for ac_exec_ext in '' $ac_executable_extensions; do
2976
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2977
ac_cv_prog_ac_ct_CC="cc"
2978
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2986
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2987
if test -n "$ac_ct_CC"; then
2988
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2989
echo "${ECHO_T}$ac_ct_CC" >&6
2991
echo "$as_me:$LINENO: result: no" >&5
2992
echo "${ECHO_T}no" >&6
3001
if test -z "$CC"; then
3002
# Extract the first word of "cc", so it can be a program name with args.
3003
set dummy cc; ac_word=$2
3004
echo "$as_me:$LINENO: checking for $ac_word" >&5
3005
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3006
if test "${ac_cv_prog_CC+set}" = set; then
3007
echo $ECHO_N "(cached) $ECHO_C" >&6
3009
if test -n "$CC"; then
3010
ac_cv_prog_CC="$CC" # Let the user override the test.
3013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017
test -z "$as_dir" && as_dir=.
3018
for ac_exec_ext in '' $ac_executable_extensions; do
3019
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3020
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3021
ac_prog_rejected=yes
3025
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3031
if test $ac_prog_rejected = yes; then
3032
# We found a bogon in the path, so make sure we never use it.
3033
set dummy $ac_cv_prog_CC
3035
if test $# != 0; then
3036
# We chose a different compiler from the bogus one.
3037
# However, it has the same basename, so the bogon will be chosen
3038
# first if we set CC to just the basename; use the full file name.
3040
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3046
if test -n "$CC"; then
3047
echo "$as_me:$LINENO: result: $CC" >&5
3048
echo "${ECHO_T}$CC" >&6
3050
echo "$as_me:$LINENO: result: no" >&5
3051
echo "${ECHO_T}no" >&6
3055
if test -z "$CC"; then
3056
if test -n "$ac_tool_prefix"; then
3059
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3060
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3061
echo "$as_me:$LINENO: checking for $ac_word" >&5
3062
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063
if test "${ac_cv_prog_CC+set}" = set; then
3064
echo $ECHO_N "(cached) $ECHO_C" >&6
3066
if test -n "$CC"; then
3067
ac_cv_prog_CC="$CC" # Let the user override the test.
3069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073
test -z "$as_dir" && as_dir=.
3074
for ac_exec_ext in '' $ac_executable_extensions; do
3075
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3077
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086
if test -n "$CC"; then
3087
echo "$as_me:$LINENO: result: $CC" >&5
3088
echo "${ECHO_T}$CC" >&6
3090
echo "$as_me:$LINENO: result: no" >&5
3091
echo "${ECHO_T}no" >&6
3094
test -n "$CC" && break
3097
if test -z "$CC"; then
3101
# Extract the first word of "$ac_prog", so it can be a program name with args.
3102
set dummy $ac_prog; ac_word=$2
3103
echo "$as_me:$LINENO: checking for $ac_word" >&5
3104
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3105
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3106
echo $ECHO_N "(cached) $ECHO_C" >&6
3108
if test -n "$ac_ct_CC"; then
3109
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115
test -z "$as_dir" && as_dir=.
3116
for ac_exec_ext in '' $ac_executable_extensions; do
3117
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118
ac_cv_prog_ac_ct_CC="$ac_prog"
3119
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3128
if test -n "$ac_ct_CC"; then
3129
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3130
echo "${ECHO_T}$ac_ct_CC" >&6
3132
echo "$as_me:$LINENO: result: no" >&5
3133
echo "${ECHO_T}no" >&6
3136
test -n "$ac_ct_CC" && break
3145
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
3146
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
3147
{ (exit 1); exit 1; }; }
3149
# Provide some information about the compiler.
3150
echo "$as_me:$LINENO:" \
3151
"checking for C compiler version" >&5
3152
ac_compiler=`set X $ac_compile; echo $2`
3153
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3154
(eval $ac_compiler --version </dev/null >&5) 2>&5
3156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
(exit $ac_status); }
3158
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3159
(eval $ac_compiler -v </dev/null >&5) 2>&5
3161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162
(exit $ac_status); }
3163
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3164
(eval $ac_compiler -V </dev/null >&5) 2>&5
3166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167
(exit $ac_status); }
3169
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3170
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3171
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3172
echo $ECHO_N "(cached) $ECHO_C" >&6
3174
cat >conftest.$ac_ext <<_ACEOF
3175
#line $LINENO "configure"
3176
#include "confdefs.h"
3189
rm -f conftest.$ac_objext
3190
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3191
(eval $ac_compile) 2>&5
3193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194
(exit $ac_status); } &&
3195
{ ac_try='test -s conftest.$ac_objext'
3196
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200
(exit $ac_status); }; }; then
3203
echo "$as_me: failed program was:" >&5
3204
cat conftest.$ac_ext >&5
3207
rm -f conftest.$ac_objext conftest.$ac_ext
3208
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3211
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3212
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3213
GCC=`test $ac_compiler_gnu = yes && echo yes`
3214
ac_test_CFLAGS=${CFLAGS+set}
3215
ac_save_CFLAGS=$CFLAGS
3217
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3218
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3219
if test "${ac_cv_prog_cc_g+set}" = set; then
3220
echo $ECHO_N "(cached) $ECHO_C" >&6
3222
cat >conftest.$ac_ext <<_ACEOF
3223
#line $LINENO "configure"
3224
#include "confdefs.h"
3234
rm -f conftest.$ac_objext
3235
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236
(eval $ac_compile) 2>&5
3238
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239
(exit $ac_status); } &&
3240
{ ac_try='test -s conftest.$ac_objext'
3241
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3244
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245
(exit $ac_status); }; }; then
3248
echo "$as_me: failed program was:" >&5
3249
cat conftest.$ac_ext >&5
3252
rm -f conftest.$ac_objext conftest.$ac_ext
3254
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3255
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3256
if test "$ac_test_CFLAGS" = set; then
3257
CFLAGS=$ac_save_CFLAGS
3258
elif test $ac_cv_prog_cc_g = yes; then
3259
if test "$GCC" = yes; then
3265
if test "$GCC" = yes; then
3271
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3272
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3273
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3274
echo $ECHO_N "(cached) $ECHO_C" >&6
3276
ac_cv_prog_cc_stdc=no
3278
cat >conftest.$ac_ext <<_ACEOF
3279
#line $LINENO "configure"
3280
#include "confdefs.h"
3283
#include <sys/types.h>
3284
#include <sys/stat.h>
3285
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3286
struct buf { int x; };
3287
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3288
static char *e (p, i)
3294
static char *f (char * (*g) (char **, int), char **p, ...)
3299
s = g (p, va_arg (v,int));
3303
int test (int i, double x);
3304
struct s1 {int (*f) (int a);};
3305
struct s2 {int (*f) (double a);};
3306
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3312
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3317
# Don't try gcc -ansi; that turns off useful extensions and
3318
# breaks some systems' header files.
3319
# AIX -qlanglvl=ansi
3320
# Ultrix and OSF/1 -std1
3321
# HP-UX 10.20 and later -Ae
3322
# HP-UX older versions -Aa -D_HPUX_SOURCE
3323
# SVR4 -Xc -D__EXTENSIONS__
3324
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3326
CC="$ac_save_CC $ac_arg"
3327
rm -f conftest.$ac_objext
3328
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3329
(eval $ac_compile) 2>&5
3331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332
(exit $ac_status); } &&
3333
{ ac_try='test -s conftest.$ac_objext'
3334
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338
(exit $ac_status); }; }; then
3339
ac_cv_prog_cc_stdc=$ac_arg
3342
echo "$as_me: failed program was:" >&5
3343
cat conftest.$ac_ext >&5
3345
rm -f conftest.$ac_objext
3347
rm -f conftest.$ac_ext conftest.$ac_objext
3352
case "x$ac_cv_prog_cc_stdc" in
3354
echo "$as_me:$LINENO: result: none needed" >&5
3355
echo "${ECHO_T}none needed" >&6 ;;
3357
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3358
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3359
CC="$CC $ac_cv_prog_cc_stdc" ;;
3362
# Some people use a C++ compiler to compile C. Since we use `exit',
3363
# in C++ we need to declare it. In case someone uses the same compiler
3364
# for both compiling C and C++ we need to have the C++ compiler decide
3365
# the declaration of exit, since it's the most demanding environment.
3366
cat >conftest.$ac_ext <<_ACEOF
3371
rm -f conftest.$ac_objext
3372
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3373
(eval $ac_compile) 2>&5
3375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376
(exit $ac_status); } &&
3377
{ ac_try='test -s conftest.$ac_objext'
3378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382
(exit $ac_status); }; }; then
3383
for ac_declaration in \
3385
'#include <stdlib.h>' \
3386
'extern "C" void std::exit (int) throw (); using std::exit;' \
3387
'extern "C" void std::exit (int); using std::exit;' \
3388
'extern "C" void exit (int) throw ();' \
3389
'extern "C" void exit (int);' \
3392
cat >conftest.$ac_ext <<_ACEOF
3393
#line $LINENO "configure"
3394
#include "confdefs.h"
3405
rm -f conftest.$ac_objext
3406
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3407
(eval $ac_compile) 2>&5
3409
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410
(exit $ac_status); } &&
3411
{ ac_try='test -s conftest.$ac_objext'
3412
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416
(exit $ac_status); }; }; then
3419
echo "$as_me: failed program was:" >&5
3420
cat conftest.$ac_ext >&5
3423
rm -f conftest.$ac_objext conftest.$ac_ext
3424
cat >conftest.$ac_ext <<_ACEOF
3425
#line $LINENO "configure"
3426
#include "confdefs.h"
3436
rm -f conftest.$ac_objext
3437
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3438
(eval $ac_compile) 2>&5
3440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441
(exit $ac_status); } &&
3442
{ ac_try='test -s conftest.$ac_objext'
3443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447
(exit $ac_status); }; }; then
3450
echo "$as_me: failed program was:" >&5
3451
cat conftest.$ac_ext >&5
3453
rm -f conftest.$ac_objext conftest.$ac_ext
3456
if test -n "$ac_declaration"; then
3457
echo '#ifdef __cplusplus' >>confdefs.h
3458
echo $ac_declaration >>confdefs.h
3459
echo '#endif' >>confdefs.h
3463
echo "$as_me: failed program was:" >&5
3464
cat conftest.$ac_ext >&5
3466
rm -f conftest.$ac_objext conftest.$ac_ext
3468
ac_cpp='$CPP $CPPFLAGS'
3469
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473
depcc="$CC" am_compiler_list=
3475
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3476
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3477
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3478
echo $ECHO_N "(cached) $ECHO_C" >&6
3480
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3481
# We make a subdir and do the tests there. Otherwise we can end up
3482
# making bogus files that we don't know about and never remove. For
3483
# instance it was reported that on HP-UX the gcc test will end up
3484
# making a dummy file named `D' -- because `-MD' means `put the output
3487
# Copy depcomp to subdir because otherwise we won't find it if we're
3488
# using a relative directory.
3489
cp "$am_depcomp" conftest.dir
3492
am_cv_CC_dependencies_compiler_type=none
3493
if test "$am_compiler_list" = ""; then
3494
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3496
for depmode in $am_compiler_list; do
3497
# We need to recreate these files for each test, as the compiler may
3498
# overwrite some of them when testing with obscure command lines.
3499
# This happens at least with the AIX C compiler.
3500
echo '#include "conftest.h"' > conftest.c
3501
echo 'int i;' > conftest.h
3502
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3506
# after this tag, mechanisms are not by side-effect, so they'll
3507
# only be used when explicitly requested
3508
if test "x$enable_dependency_tracking" = xyes; then
3516
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3517
# mode. It turns out that the SunPro C++ compiler does not properly
3518
# handle `-M -o', and we need to detect this.
3519
if depmode=$depmode \
3520
source=conftest.c object=conftest.o \
3521
depfile=conftest.Po tmpdepfile=conftest.TPo \
3522
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3523
grep conftest.h conftest.Po > /dev/null 2>&1 &&
3524
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3525
am_cv_CC_dependencies_compiler_type=$depmode
3533
am_cv_CC_dependencies_compiler_type=none
3537
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3538
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3539
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3545
echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3546
echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3547
if test "${am_cv_prog_cc_stdc+set}" = set; then
3548
echo $ECHO_N "(cached) $ECHO_C" >&6
3550
am_cv_prog_cc_stdc=no
3552
# Don't try gcc -ansi; that turns off useful extensions and
3553
# breaks some systems' header files.
3554
# AIX -qlanglvl=ansi
3555
# Ultrix and OSF/1 -std1
3556
# HP-UX 10.20 and later -Ae
3557
# HP-UX older versions -Aa -D_HPUX_SOURCE
3558
# SVR4 -Xc -D__EXTENSIONS__
3559
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3561
CC="$ac_save_CC $ac_arg"
3562
cat >conftest.$ac_ext <<_ACEOF
3563
#line $LINENO "configure"
3564
#include "confdefs.h"
3567
#include <sys/types.h>
3568
#include <sys/stat.h>
3569
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3570
struct buf { int x; };
3571
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3572
static char *e (p, i)
3578
static char *f (char * (*g) (char **, int), char **p, ...)
3583
s = g (p, va_arg (v,int));
3587
int test (int i, double x);
3588
struct s1 {int (*f) (int a);};
3589
struct s2 {int (*f) (double a);};
3590
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3598
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3604
rm -f conftest.$ac_objext
3605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3606
(eval $ac_compile) 2>&5
3608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609
(exit $ac_status); } &&
3610
{ ac_try='test -s conftest.$ac_objext'
3611
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615
(exit $ac_status); }; }; then
3616
am_cv_prog_cc_stdc="$ac_arg"; break
3618
echo "$as_me: failed program was:" >&5
3619
cat conftest.$ac_ext >&5
3621
rm -f conftest.$ac_objext conftest.$ac_ext
3627
if test -z "$am_cv_prog_cc_stdc"; then
3628
echo "$as_me:$LINENO: result: none needed" >&5
3629
echo "${ECHO_T}none needed" >&6
3631
echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3632
echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3634
case "x$am_cv_prog_cc_stdc" in
3636
*) CC="$CC $am_cv_prog_cc_stdc" ;;
3640
ac_cpp='$CPP $CPPFLAGS'
3641
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3645
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1059
3646
# On Suns, sometimes $CPP names a directory.
1060
3647
if test -n "$CPP" && test -d "$CPP"; then
1063
3650
if test -z "$CPP"; then
1064
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1065
echo $ac_n "(cached) $ac_c" 1>&6
1067
# This must be in double quotes, not single quotes, because CPP may get
1068
# substituted into the Makefile and "${CC-cc}" will confuse make.
1070
# On the NeXT, cc -E runs the code through the compiler's parser,
1071
# not just through cpp.
1072
cat > conftest.$ac_ext <<EOF
1073
#line 1074 "configure"
1074
#include "confdefs.h"
1078
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1079
{ (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1080
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1081
if test -z "$ac_err"; then
1085
echo "configure: failed program was:" >&5
1086
cat conftest.$ac_ext >&5
1088
CPP="${CC-cc} -E -traditional-cpp"
1089
cat > conftest.$ac_ext <<EOF
1090
#line 1091 "configure"
1091
#include "confdefs.h"
1095
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1096
{ (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1097
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1098
if test -z "$ac_err"; then
1102
echo "configure: failed program was:" >&5
1103
cat conftest.$ac_ext >&5
1105
CPP="${CC-cc} -nologo -E"
1106
cat > conftest.$ac_ext <<EOF
1107
#line 1108 "configure"
1108
#include "confdefs.h"
1112
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1113
{ (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1114
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1115
if test -z "$ac_err"; then
1119
echo "configure: failed program was:" >&5
1120
cat conftest.$ac_ext >&5
1129
ac_cv_prog_CPP="$CPP"
1131
CPP="$ac_cv_prog_CPP"
1133
ac_cv_prog_CPP="$CPP"
1135
echo "$ac_t""$CPP" 1>&6
3651
if test "${ac_cv_prog_CPP+set}" = set; then
3652
echo $ECHO_N "(cached) $ECHO_C" >&6
3654
# Double quotes because CPP needs to be expanded
3655
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3658
for ac_c_preproc_warn_flag in '' yes
3660
# Use a header file that comes with gcc, so configuring glibc
3661
# with a fresh cross-compiler works.
3662
# On the NeXT, cc -E runs the code through the compiler's parser,
3663
# not just through cpp. "Syntax error" is here to catch this case.
3664
cat >conftest.$ac_ext <<_ACEOF
3665
#line $LINENO "configure"
3666
#include "confdefs.h"
3670
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3671
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3673
grep -v '^ *+' conftest.er1 >conftest.err
3675
cat conftest.err >&5
3676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677
(exit $ac_status); } >/dev/null; then
3678
if test -s conftest.err; then
3679
ac_cpp_err=$ac_c_preproc_warn_flag
3686
if test -z "$ac_cpp_err"; then
3689
echo "$as_me: failed program was:" >&5
3690
cat conftest.$ac_ext >&5
3691
# Broken: fails on valid input.
3694
rm -f conftest.err conftest.$ac_ext
3696
# OK, works on sane cases. Now check whether non-existent headers
3697
# can be detected and how.
3698
cat >conftest.$ac_ext <<_ACEOF
3699
#line $LINENO "configure"
3700
#include "confdefs.h"
3701
#include <ac_nonexistent.h>
3703
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3704
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3706
grep -v '^ *+' conftest.er1 >conftest.err
3708
cat conftest.err >&5
3709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710
(exit $ac_status); } >/dev/null; then
3711
if test -s conftest.err; then
3712
ac_cpp_err=$ac_c_preproc_warn_flag
3719
if test -z "$ac_cpp_err"; then
3720
# Broken: success on invalid input.
3723
echo "$as_me: failed program was:" >&5
3724
cat conftest.$ac_ext >&5
3725
# Passes both tests.
3729
rm -f conftest.err conftest.$ac_ext
3732
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3733
rm -f conftest.err conftest.$ac_ext
3734
if $ac_preproc_ok; then
3746
echo "$as_me:$LINENO: result: $CPP" >&5
3747
echo "${ECHO_T}$CPP" >&6
3749
for ac_c_preproc_warn_flag in '' yes
3751
# Use a header file that comes with gcc, so configuring glibc
3752
# with a fresh cross-compiler works.
3753
# On the NeXT, cc -E runs the code through the compiler's parser,
3754
# not just through cpp. "Syntax error" is here to catch this case.
3755
cat >conftest.$ac_ext <<_ACEOF
3756
#line $LINENO "configure"
3757
#include "confdefs.h"
3761
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3762
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3764
grep -v '^ *+' conftest.er1 >conftest.err
3766
cat conftest.err >&5
3767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768
(exit $ac_status); } >/dev/null; then
3769
if test -s conftest.err; then
3770
ac_cpp_err=$ac_c_preproc_warn_flag
3777
if test -z "$ac_cpp_err"; then
3780
echo "$as_me: failed program was:" >&5
3781
cat conftest.$ac_ext >&5
3782
# Broken: fails on valid input.
3785
rm -f conftest.err conftest.$ac_ext
3787
# OK, works on sane cases. Now check whether non-existent headers
3788
# can be detected and how.
3789
cat >conftest.$ac_ext <<_ACEOF
3790
#line $LINENO "configure"
3791
#include "confdefs.h"
3792
#include <ac_nonexistent.h>
3794
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3795
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3797
grep -v '^ *+' conftest.er1 >conftest.err
3799
cat conftest.err >&5
3800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801
(exit $ac_status); } >/dev/null; then
3802
if test -s conftest.err; then
3803
ac_cpp_err=$ac_c_preproc_warn_flag
3810
if test -z "$ac_cpp_err"; then
3811
# Broken: success on invalid input.
3814
echo "$as_me: failed program was:" >&5
3815
cat conftest.$ac_ext >&5
3816
# Passes both tests.
3820
rm -f conftest.err conftest.$ac_ext
3823
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3824
rm -f conftest.err conftest.$ac_ext
3825
if $ac_preproc_ok; then
3828
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
3829
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3830
{ (exit 1); exit 1; }; }
3834
ac_cpp='$CPP $CPPFLAGS'
3835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840
echo "$as_me:$LINENO: checking for egrep" >&5
3841
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3842
if test "${ac_cv_prog_egrep+set}" = set; then
3843
echo $ECHO_N "(cached) $ECHO_C" >&6
3845
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3846
then ac_cv_prog_egrep='grep -E'
3847
else ac_cv_prog_egrep='egrep'
3850
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3851
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3852
EGREP=$ac_cv_prog_egrep
3855
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3856
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3857
if test "${ac_cv_header_stdc+set}" = set; then
3858
echo $ECHO_N "(cached) $ECHO_C" >&6
3860
cat >conftest.$ac_ext <<_ACEOF
3861
#line $LINENO "configure"
3862
#include "confdefs.h"
3869
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3870
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3872
grep -v '^ *+' conftest.er1 >conftest.err
3874
cat conftest.err >&5
3875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876
(exit $ac_status); } >/dev/null; then
3877
if test -s conftest.err; then
3878
ac_cpp_err=$ac_c_preproc_warn_flag
3885
if test -z "$ac_cpp_err"; then
3886
ac_cv_header_stdc=yes
3888
echo "$as_me: failed program was:" >&5
3889
cat conftest.$ac_ext >&5
3890
ac_cv_header_stdc=no
3892
rm -f conftest.err conftest.$ac_ext
3894
if test $ac_cv_header_stdc = yes; then
3895
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3896
cat >conftest.$ac_ext <<_ACEOF
3897
#line $LINENO "configure"
3898
#include "confdefs.h"
3902
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3903
$EGREP "memchr" >/dev/null 2>&1; then
3906
ac_cv_header_stdc=no
3912
if test $ac_cv_header_stdc = yes; then
3913
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3914
cat >conftest.$ac_ext <<_ACEOF
3915
#line $LINENO "configure"
3916
#include "confdefs.h"
3920
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3921
$EGREP "free" >/dev/null 2>&1; then
3924
ac_cv_header_stdc=no
3930
if test $ac_cv_header_stdc = yes; then
3931
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3932
if test "$cross_compiling" = yes; then
3935
cat >conftest.$ac_ext <<_ACEOF
3936
#line $LINENO "configure"
3937
#include "confdefs.h"
3939
#if ((' ' & 0x0FF) == 0x020)
3940
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3941
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3943
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3944
|| ('j' <= (c) && (c) <= 'r') \
3945
|| ('s' <= (c) && (c) <= 'z'))
3946
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3949
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3954
for (i = 0; i < 256; i++)
3955
if (XOR (islower (i), ISLOWER (i))
3956
|| toupper (i) != TOUPPER (i))
3961
rm -f conftest$ac_exeext
3962
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3963
(eval $ac_link) 2>&5
3965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3967
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971
(exit $ac_status); }; }; then
3974
echo "$as_me: program exited with status $ac_status" >&5
3975
echo "$as_me: failed program was:" >&5
3976
cat conftest.$ac_ext >&5
3978
ac_cv_header_stdc=no
3980
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3984
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3985
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3986
if test $ac_cv_header_stdc = yes; then
3988
cat >>confdefs.h <<\_ACEOF
3989
#define STDC_HEADERS 1
3996
LIBEXIF_GTK_REVISION=0
3997
LIBEXIF_GTK_CURRENT=4
4001
LIBEXIF_GTK_VERSION_INFO=`expr $LIBEXIF_GTK_CURRENT + $LIBEXIF_GTK_REVISION`:$LIBEXIF_GTK_AGE:$LIBEXIF_GTK_REVISION
1137
4004
# Check whether --enable-shared or --disable-shared was given.
1138
4005
if test "${enable_shared+set}" = set; then
8222
if test -n "$ac_aux_dir"; then
8223
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
8225
if test -z "$MKINSTALLDIRS"; then
8226
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
8233
# Extract the first word of "msgfmt", so it can be a program name with args.
8234
set dummy msgfmt; ac_word=$2
8235
echo "$as_me:$LINENO: checking for $ac_word" >&5
8236
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8237
if test "${ac_cv_path_MSGFMT+set}" = set; then
8238
echo $ECHO_N "(cached) $ECHO_C" >&6
8242
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8245
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8246
for ac_dir in $PATH; do
8247
test -z "$ac_dir" && ac_dir=.
8248
if test -f $ac_dir/$ac_word; then
8249
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
8250
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
8251
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
8257
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
8261
MSGFMT="$ac_cv_path_MSGFMT"
8262
if test "$MSGFMT" != ":"; then
8263
echo "$as_me:$LINENO: result: $MSGFMT" >&5
8264
echo "${ECHO_T}$MSGFMT" >&6
8266
echo "$as_me:$LINENO: result: no" >&5
8267
echo "${ECHO_T}no" >&6
8270
# Extract the first word of "gmsgfmt", so it can be a program name with args.
8271
set dummy gmsgfmt; ac_word=$2
8272
echo "$as_me:$LINENO: checking for $ac_word" >&5
8273
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8274
if test "${ac_cv_path_GMSGFMT+set}" = set; then
8275
echo $ECHO_N "(cached) $ECHO_C" >&6
8279
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8282
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286
test -z "$as_dir" && as_dir=.
8287
for ac_exec_ext in '' $ac_executable_extensions; do
8288
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8289
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8290
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8296
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8300
GMSGFMT=$ac_cv_path_GMSGFMT
8302
if test -n "$GMSGFMT"; then
8303
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8304
echo "${ECHO_T}$GMSGFMT" >&6
8306
echo "$as_me:$LINENO: result: no" >&5
8307
echo "${ECHO_T}no" >&6
8311
# Extract the first word of "xgettext", so it can be a program name with args.
8312
set dummy xgettext; ac_word=$2
8313
echo "$as_me:$LINENO: checking for $ac_word" >&5
8314
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8315
if test "${ac_cv_path_XGETTEXT+set}" = set; then
8316
echo $ECHO_N "(cached) $ECHO_C" >&6
8320
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8323
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8324
for ac_dir in $PATH; do
8325
test -z "$ac_dir" && ac_dir=.
8326
if test -f $ac_dir/$ac_word; then
8327
if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
8328
(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
8329
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
8335
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
8339
XGETTEXT="$ac_cv_path_XGETTEXT"
8340
if test "$XGETTEXT" != ":"; then
8341
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8342
echo "${ECHO_T}$XGETTEXT" >&6
8344
echo "$as_me:$LINENO: result: no" >&5
8345
echo "${ECHO_T}no" >&6
8350
# Extract the first word of "msgmerge", so it can be a program name with args.
8351
set dummy msgmerge; ac_word=$2
8352
echo "$as_me:$LINENO: checking for $ac_word" >&5
8353
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8354
if test "${ac_cv_path_MSGMERGE+set}" = set; then
8355
echo $ECHO_N "(cached) $ECHO_C" >&6
8359
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8362
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
8363
for ac_dir in $PATH; do
8364
test -z "$ac_dir" && ac_dir=.
8365
if test -f $ac_dir/$ac_word; then
8366
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
8367
ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
8373
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
8377
MSGMERGE="$ac_cv_path_MSGMERGE"
8378
if test "$MSGMERGE" != ":"; then
8379
echo "$as_me:$LINENO: result: $MSGMERGE" >&5
8380
echo "${ECHO_T}$MSGMERGE" >&6
8382
echo "$as_me:$LINENO: result: no" >&5
8383
echo "${ECHO_T}no" >&6
8387
if test "$GMSGFMT" != ":"; then
8388
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
8389
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
8392
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
8393
echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
8394
echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
8399
if test "$XGETTEXT" != ":"; then
8400
if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
8401
(if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
8404
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8405
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8411
ac_config_commands="$ac_config_commands default-1"
8414
if test -n "$ac_tool_prefix"; then
8415
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8416
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8417
echo "$as_me:$LINENO: checking for $ac_word" >&5
8418
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8419
if test "${ac_cv_prog_RANLIB+set}" = set; then
8420
echo $ECHO_N "(cached) $ECHO_C" >&6
8422
if test -n "$RANLIB"; then
8423
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8425
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8429
test -z "$as_dir" && as_dir=.
8430
for ac_exec_ext in '' $ac_executable_extensions; do
8431
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8432
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8433
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8441
RANLIB=$ac_cv_prog_RANLIB
8442
if test -n "$RANLIB"; then
8443
echo "$as_me:$LINENO: result: $RANLIB" >&5
8444
echo "${ECHO_T}$RANLIB" >&6
8446
echo "$as_me:$LINENO: result: no" >&5
8447
echo "${ECHO_T}no" >&6
8451
if test -z "$ac_cv_prog_RANLIB"; then
8452
ac_ct_RANLIB=$RANLIB
8453
# Extract the first word of "ranlib", so it can be a program name with args.
8454
set dummy ranlib; ac_word=$2
8455
echo "$as_me:$LINENO: checking for $ac_word" >&5
8456
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8457
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8458
echo $ECHO_N "(cached) $ECHO_C" >&6
8460
if test -n "$ac_ct_RANLIB"; then
8461
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8463
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8467
test -z "$as_dir" && as_dir=.
8468
for ac_exec_ext in '' $ac_executable_extensions; do
8469
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8470
ac_cv_prog_ac_ct_RANLIB="ranlib"
8471
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8477
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8480
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8481
if test -n "$ac_ct_RANLIB"; then
8482
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8483
echo "${ECHO_T}$ac_ct_RANLIB" >&6
8485
echo "$as_me:$LINENO: result: no" >&5
8486
echo "${ECHO_T}no" >&6
8489
RANLIB=$ac_ct_RANLIB
8491
RANLIB="$ac_cv_prog_RANLIB"
8494
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8495
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8496
if test "${ac_cv_c_const+set}" = set; then
8497
echo $ECHO_N "(cached) $ECHO_C" >&6
8499
cat >conftest.$ac_ext <<_ACEOF
8500
#line $LINENO "configure"
8501
#include "confdefs.h"
8506
/* FIXME: Include the comments suggested by Paul. */
8508
/* Ultrix mips cc rejects this. */
8509
typedef int charset[2];
8511
/* SunOS 4.1.1 cc rejects this. */
8512
char const *const *ccp;
8514
/* NEC SVR4.0.2 mips cc rejects this. */
8515
struct point {int x, y;};
8516
static struct point const zero = {0,0};
8517
/* AIX XL C 1.02.0.0 rejects this.
8518
It does not let you subtract one const X* pointer from another in
8519
an arm of an if-expression whose if-part is not a constant
8521
const char *g = "string";
8522
ccp = &g + (g ? g-g : 0);
8523
/* HPUX 7.0 cc rejects these. */
8526
ccp = (char const *const *) p;
8527
{ /* SCO 3.2v4 cc rejects this. */
8529
char const *s = 0 ? (char *) 0 : (char const *) 0;
8533
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8535
const int *foo = &x[0];
8538
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8539
typedef const int *iptr;
8543
{ /* AIX XL C 1.02.0.0 rejects this saying
8544
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8545
struct s { int j; const int *ap[3]; };
8546
struct s *b; b->j = 5;
8548
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8557
rm -f conftest.$ac_objext
8558
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8559
(eval $ac_compile) 2>&5
8561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562
(exit $ac_status); } &&
8563
{ ac_try='test -s conftest.$ac_objext'
8564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568
(exit $ac_status); }; }; then
8571
echo "$as_me: failed program was:" >&5
8572
cat conftest.$ac_ext >&5
8575
rm -f conftest.$ac_objext conftest.$ac_ext
8577
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8578
echo "${ECHO_T}$ac_cv_c_const" >&6
8579
if test $ac_cv_c_const = no; then
8581
cat >>confdefs.h <<\_ACEOF
8587
echo "$as_me:$LINENO: checking for inline" >&5
8588
echo $ECHO_N "checking for inline... $ECHO_C" >&6
8589
if test "${ac_cv_c_inline+set}" = set; then
8590
echo $ECHO_N "(cached) $ECHO_C" >&6
8593
for ac_kw in inline __inline__ __inline; do
8594
cat >conftest.$ac_ext <<_ACEOF
8595
#line $LINENO "configure"
8596
#include "confdefs.h"
8599
static $ac_kw foo_t static_foo () {return 0; }
8600
$ac_kw foo_t foo () {return 0; }
8604
rm -f conftest.$ac_objext
8605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8606
(eval $ac_compile) 2>&5
8608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609
(exit $ac_status); } &&
8610
{ ac_try='test -s conftest.$ac_objext'
8611
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615
(exit $ac_status); }; }; then
8616
ac_cv_c_inline=$ac_kw; break
8618
echo "$as_me: failed program was:" >&5
8619
cat conftest.$ac_ext >&5
8621
rm -f conftest.$ac_objext conftest.$ac_ext
8625
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8626
echo "${ECHO_T}$ac_cv_c_inline" >&6
8627
case $ac_cv_c_inline in
8630
cat >>confdefs.h <<\_ACEOF
8634
*) cat >>confdefs.h <<_ACEOF
8635
#define inline $ac_cv_c_inline
8640
echo "$as_me:$LINENO: checking for off_t" >&5
8641
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8642
if test "${ac_cv_type_off_t+set}" = set; then
8643
echo $ECHO_N "(cached) $ECHO_C" >&6
8645
cat >conftest.$ac_ext <<_ACEOF
8646
#line $LINENO "configure"
8647
#include "confdefs.h"
8648
$ac_includes_default
8660
rm -f conftest.$ac_objext
8661
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8662
(eval $ac_compile) 2>&5
8664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665
(exit $ac_status); } &&
8666
{ ac_try='test -s conftest.$ac_objext'
8667
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671
(exit $ac_status); }; }; then
8672
ac_cv_type_off_t=yes
8674
echo "$as_me: failed program was:" >&5
8675
cat conftest.$ac_ext >&5
8678
rm -f conftest.$ac_objext conftest.$ac_ext
8680
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8681
echo "${ECHO_T}$ac_cv_type_off_t" >&6
8682
if test $ac_cv_type_off_t = yes; then
8686
cat >>confdefs.h <<_ACEOF
8692
echo "$as_me:$LINENO: checking for size_t" >&5
8693
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8694
if test "${ac_cv_type_size_t+set}" = set; then
8695
echo $ECHO_N "(cached) $ECHO_C" >&6
8697
cat >conftest.$ac_ext <<_ACEOF
8698
#line $LINENO "configure"
8699
#include "confdefs.h"
8700
$ac_includes_default
8706
if (sizeof (size_t))
8712
rm -f conftest.$ac_objext
8713
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714
(eval $ac_compile) 2>&5
8716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717
(exit $ac_status); } &&
8718
{ ac_try='test -s conftest.$ac_objext'
8719
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723
(exit $ac_status); }; }; then
8724
ac_cv_type_size_t=yes
8726
echo "$as_me: failed program was:" >&5
8727
cat conftest.$ac_ext >&5
8728
ac_cv_type_size_t=no
8730
rm -f conftest.$ac_objext conftest.$ac_ext
8732
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8733
echo "${ECHO_T}$ac_cv_type_size_t" >&6
8734
if test $ac_cv_type_size_t = yes; then
8738
cat >>confdefs.h <<_ACEOF
8739
#define size_t unsigned
8744
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8745
# for constant arguments. Useless!
8746
echo "$as_me:$LINENO: checking for working alloca.h" >&5
8747
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8748
if test "${ac_cv_working_alloca_h+set}" = set; then
8749
echo $ECHO_N "(cached) $ECHO_C" >&6
8751
cat >conftest.$ac_ext <<_ACEOF
8752
#line $LINENO "configure"
8753
#include "confdefs.h"
8758
char *p = (char *) alloca (2 * sizeof (int));
8763
rm -f conftest.$ac_objext conftest$ac_exeext
8764
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8765
(eval $ac_link) 2>&5
8767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768
(exit $ac_status); } &&
8769
{ ac_try='test -s conftest$ac_exeext'
8770
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774
(exit $ac_status); }; }; then
8775
ac_cv_working_alloca_h=yes
8777
echo "$as_me: failed program was:" >&5
8778
cat conftest.$ac_ext >&5
8779
ac_cv_working_alloca_h=no
8781
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8783
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8784
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8785
if test $ac_cv_working_alloca_h = yes; then
8787
cat >>confdefs.h <<\_ACEOF
8788
#define HAVE_ALLOCA_H 1
8793
echo "$as_me:$LINENO: checking for alloca" >&5
8794
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8795
if test "${ac_cv_func_alloca_works+set}" = set; then
8796
echo $ECHO_N "(cached) $ECHO_C" >&6
8798
cat >conftest.$ac_ext <<_ACEOF
8799
#line $LINENO "configure"
8800
#include "confdefs.h"
8802
# define alloca __builtin_alloca
8805
# include <malloc.h>
8806
# define alloca _alloca
8809
# include <alloca.h>
8814
# ifndef alloca /* predefined by HP cc +Olibcalls */
8825
char *p = (char *) alloca (1);
8830
rm -f conftest.$ac_objext conftest$ac_exeext
8831
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8832
(eval $ac_link) 2>&5
8834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835
(exit $ac_status); } &&
8836
{ ac_try='test -s conftest$ac_exeext'
8837
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841
(exit $ac_status); }; }; then
8842
ac_cv_func_alloca_works=yes
8844
echo "$as_me: failed program was:" >&5
8845
cat conftest.$ac_ext >&5
8846
ac_cv_func_alloca_works=no
8848
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8850
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8851
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8853
if test $ac_cv_func_alloca_works = yes; then
8855
cat >>confdefs.h <<\_ACEOF
8856
#define HAVE_ALLOCA 1
8860
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
8861
# that cause trouble. Some versions do not even contain alloca or
8862
# contain a buggy version. If you still want to use their alloca,
8863
# use ar to extract alloca.o from them instead of compiling alloca.c.
8865
ALLOCA=alloca.$ac_objext
8867
cat >>confdefs.h <<\_ACEOF
8872
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8873
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8874
if test "${ac_cv_os_cray+set}" = set; then
8875
echo $ECHO_N "(cached) $ECHO_C" >&6
8877
cat >conftest.$ac_ext <<_ACEOF
8878
#line $LINENO "configure"
8879
#include "confdefs.h"
8880
#if defined(CRAY) && ! defined(CRAY2)
8887
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8888
$EGREP "webecray" >/dev/null 2>&1; then
8896
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8897
echo "${ECHO_T}$ac_cv_os_cray" >&6
8898
if test $ac_cv_os_cray = yes; then
8899
for ac_func in _getb67 GETB67 getb67; do
8900
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8901
echo "$as_me:$LINENO: checking for $ac_func" >&5
8902
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8903
if eval "test \"\${$as_ac_var+set}\" = set"; then
8904
echo $ECHO_N "(cached) $ECHO_C" >&6
8906
cat >conftest.$ac_ext <<_ACEOF
8907
#line $LINENO "configure"
8908
#include "confdefs.h"
8909
/* System header to define __stub macros and hopefully few prototypes,
8910
which can conflict with char $ac_func (); below. */
8912
/* Override any gcc2 internal prototype to avoid an error. */
8916
/* We use char because int might match the return type of a gcc2
8917
builtin and then its argument prototype would still apply. */
8924
/* The GNU C library defines this for functions which it implements
8925
to always fail with ENOSYS. Some functions are actually named
8926
something starting with __ and the normal name is an alias. */
8927
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8937
rm -f conftest.$ac_objext conftest$ac_exeext
8938
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8939
(eval $ac_link) 2>&5
8941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942
(exit $ac_status); } &&
8943
{ ac_try='test -s conftest$ac_exeext'
8944
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948
(exit $ac_status); }; }; then
8949
eval "$as_ac_var=yes"
8951
echo "$as_me: failed program was:" >&5
8952
cat conftest.$ac_ext >&5
8953
eval "$as_ac_var=no"
8955
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8957
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8958
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8959
if test `eval echo '${'$as_ac_var'}'` = yes; then
8961
cat >>confdefs.h <<_ACEOF
8962
#define CRAY_STACKSEG_END $ac_func
8971
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8972
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8973
if test "${ac_cv_c_stack_direction+set}" = set; then
8974
echo $ECHO_N "(cached) $ECHO_C" >&6
8976
if test "$cross_compiling" = yes; then
8977
ac_cv_c_stack_direction=0
8979
cat >conftest.$ac_ext <<_ACEOF
8980
#line $LINENO "configure"
8981
#include "confdefs.h"
8983
find_stack_direction ()
8985
static char *addr = 0;
8990
return find_stack_direction ();
8993
return (&dummy > addr) ? 1 : -1;
8999
exit (find_stack_direction () < 0);
9002
rm -f conftest$ac_exeext
9003
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9004
(eval $ac_link) 2>&5
9006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9008
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012
(exit $ac_status); }; }; then
9013
ac_cv_c_stack_direction=1
9015
echo "$as_me: program exited with status $ac_status" >&5
9016
echo "$as_me: failed program was:" >&5
9017
cat conftest.$ac_ext >&5
9019
ac_cv_c_stack_direction=-1
9021
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9024
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9025
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9027
cat >>confdefs.h <<_ACEOF
9028
#define STACK_DIRECTION $ac_cv_c_stack_direction
9036
for ac_header in stdlib.h unistd.h
9038
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9039
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9040
echo "$as_me:$LINENO: checking for $ac_header" >&5
9041
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9042
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9043
echo $ECHO_N "(cached) $ECHO_C" >&6
9045
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9046
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9048
# Is the header compilable?
9049
echo "$as_me:$LINENO: checking $ac_header usability" >&5
9050
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9051
cat >conftest.$ac_ext <<_ACEOF
9052
#line $LINENO "configure"
9053
#include "confdefs.h"
9054
$ac_includes_default
9055
#include <$ac_header>
9057
rm -f conftest.$ac_objext
9058
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9059
(eval $ac_compile) 2>&5
9061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062
(exit $ac_status); } &&
9063
{ ac_try='test -s conftest.$ac_objext'
9064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068
(exit $ac_status); }; }; then
9069
ac_header_compiler=yes
9071
echo "$as_me: failed program was:" >&5
9072
cat conftest.$ac_ext >&5
9073
ac_header_compiler=no
9075
rm -f conftest.$ac_objext conftest.$ac_ext
9076
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9077
echo "${ECHO_T}$ac_header_compiler" >&6
9079
# Is the header present?
9080
echo "$as_me:$LINENO: checking $ac_header presence" >&5
9081
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9082
cat >conftest.$ac_ext <<_ACEOF
9083
#line $LINENO "configure"
9084
#include "confdefs.h"
9085
#include <$ac_header>
9087
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9088
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9090
grep -v '^ *+' conftest.er1 >conftest.err
9092
cat conftest.err >&5
9093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094
(exit $ac_status); } >/dev/null; then
9095
if test -s conftest.err; then
9096
ac_cpp_err=$ac_c_preproc_warn_flag
9103
if test -z "$ac_cpp_err"; then
9104
ac_header_preproc=yes
9106
echo "$as_me: failed program was:" >&5
9107
cat conftest.$ac_ext >&5
9108
ac_header_preproc=no
9110
rm -f conftest.err conftest.$ac_ext
9111
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9112
echo "${ECHO_T}$ac_header_preproc" >&6
9114
# So? What about this header?
9115
case $ac_header_compiler:$ac_header_preproc in
9117
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9118
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9119
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9120
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9122
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9123
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9124
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9125
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9126
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9127
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9129
echo "$as_me:$LINENO: checking for $ac_header" >&5
9130
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9131
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9132
echo $ECHO_N "(cached) $ECHO_C" >&6
9134
eval "$as_ac_Header=$ac_header_preproc"
9136
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9137
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9140
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9141
cat >>confdefs.h <<_ACEOF
9142
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9150
for ac_func in getpagesize
9152
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9153
echo "$as_me:$LINENO: checking for $ac_func" >&5
9154
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9155
if eval "test \"\${$as_ac_var+set}\" = set"; then
9156
echo $ECHO_N "(cached) $ECHO_C" >&6
9158
cat >conftest.$ac_ext <<_ACEOF
9159
#line $LINENO "configure"
9160
#include "confdefs.h"
9161
/* System header to define __stub macros and hopefully few prototypes,
9162
which can conflict with char $ac_func (); below. */
9164
/* Override any gcc2 internal prototype to avoid an error. */
9168
/* We use char because int might match the return type of a gcc2
9169
builtin and then its argument prototype would still apply. */
9176
/* The GNU C library defines this for functions which it implements
9177
to always fail with ENOSYS. Some functions are actually named
9178
something starting with __ and the normal name is an alias. */
9179
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9189
rm -f conftest.$ac_objext conftest$ac_exeext
9190
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9191
(eval $ac_link) 2>&5
9193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194
(exit $ac_status); } &&
9195
{ ac_try='test -s conftest$ac_exeext'
9196
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200
(exit $ac_status); }; }; then
9201
eval "$as_ac_var=yes"
9203
echo "$as_me: failed program was:" >&5
9204
cat conftest.$ac_ext >&5
9205
eval "$as_ac_var=no"
9207
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9209
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9210
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9211
if test `eval echo '${'$as_ac_var'}'` = yes; then
9212
cat >>confdefs.h <<_ACEOF
9213
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9219
echo "$as_me:$LINENO: checking for working mmap" >&5
9220
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9221
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9222
echo $ECHO_N "(cached) $ECHO_C" >&6
9224
if test "$cross_compiling" = yes; then
9225
ac_cv_func_mmap_fixed_mapped=no
9227
cat >conftest.$ac_ext <<_ACEOF
9228
#line $LINENO "configure"
9229
#include "confdefs.h"
9230
$ac_includes_default
9231
/* malloc might have been renamed as rpl_malloc. */
9234
/* Thanks to Mike Haertel and Jim Avera for this test.
9235
Here is a matrix of mmap possibilities:
9236
mmap private not fixed
9237
mmap private fixed at somewhere currently unmapped
9238
mmap private fixed at somewhere already mapped
9239
mmap shared not fixed
9240
mmap shared fixed at somewhere currently unmapped
9241
mmap shared fixed at somewhere already mapped
9242
For private mappings, we should verify that changes cannot be read()
9243
back from the file, nor mmap's back from the file at a different
9244
address. (There have been systems where private was not correctly
9245
implemented like the infamous i386 svr4.0, and systems where the
9246
VM page cache was not coherent with the file system buffer cache
9247
like early versions of FreeBSD and possibly contemporary NetBSD.)
9248
For shared mappings, we should conversely verify that changes get
9249
propagated back to all the places they're supposed to be.
9251
Grep wants private fixed already mapped.
9252
The main things grep needs to know about mmap are:
9253
* does it exist and is it safe to write into the mmap'd area
9254
* how to use it (BSD variants) */
9257
#include <sys/mman.h>
9259
#if !STDC_HEADERS && !HAVE_STDLIB_H
9263
/* This mess was copied from the GNU getpagesize.h. */
9264
#if !HAVE_GETPAGESIZE
9265
/* Assume that all systems that can run configure have sys/param.h. */
9266
# if !HAVE_SYS_PARAM_H
9267
# define HAVE_SYS_PARAM_H 1
9270
# ifdef _SC_PAGESIZE
9271
# define getpagesize() sysconf(_SC_PAGESIZE)
9272
# else /* no _SC_PAGESIZE */
9273
# if HAVE_SYS_PARAM_H
9274
# include <sys/param.h>
9275
# ifdef EXEC_PAGESIZE
9276
# define getpagesize() EXEC_PAGESIZE
9277
# else /* no EXEC_PAGESIZE */
9279
# define getpagesize() NBPG * CLSIZE
9282
# endif /* no CLSIZE */
9283
# else /* no NBPG */
9285
# define getpagesize() NBPC
9286
# else /* no NBPC */
9288
# define getpagesize() PAGESIZE
9289
# endif /* PAGESIZE */
9290
# endif /* no NBPC */
9291
# endif /* no NBPG */
9292
# endif /* no EXEC_PAGESIZE */
9293
# else /* no HAVE_SYS_PARAM_H */
9294
# define getpagesize() 8192 /* punt totally */
9295
# endif /* no HAVE_SYS_PARAM_H */
9296
# endif /* no _SC_PAGESIZE */
9298
#endif /* no HAVE_GETPAGESIZE */
9303
char *data, *data2, *data3;
9307
pagesize = getpagesize ();
9309
/* First, make a file with some known garbage in it. */
9310
data = (char *) malloc (pagesize);
9313
for (i = 0; i < pagesize; ++i)
9314
*(data + i) = rand ();
9316
fd = creat ("conftest.mmap", 0600);
9319
if (write (fd, data, pagesize) != pagesize)
9323
/* Next, try to mmap the file at a fixed address which already has
9324
something else allocated at it. If we can, also make sure that
9325
we see the same garbage. */
9326
fd = open ("conftest.mmap", O_RDWR);
9329
data2 = (char *) malloc (2 * pagesize);
9332
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
9333
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9334
MAP_PRIVATE | MAP_FIXED, fd, 0L))
9336
for (i = 0; i < pagesize; ++i)
9337
if (*(data + i) != *(data2 + i))
9340
/* Finally, make sure that changes to the mapped area do not
9341
percolate back to the file as seen by read(). (This is a bug on
9342
some variants of i386 svr4.0.) */
9343
for (i = 0; i < pagesize; ++i)
9344
*(data2 + i) = *(data2 + i) + 1;
9345
data3 = (char *) malloc (pagesize);
9348
if (read (fd, data3, pagesize) != pagesize)
9350
for (i = 0; i < pagesize; ++i)
9351
if (*(data + i) != *(data3 + i))
9357
rm -f conftest$ac_exeext
9358
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9359
(eval $ac_link) 2>&5
9361
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9363
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367
(exit $ac_status); }; }; then
9368
ac_cv_func_mmap_fixed_mapped=yes
9370
echo "$as_me: program exited with status $ac_status" >&5
9371
echo "$as_me: failed program was:" >&5
9372
cat conftest.$ac_ext >&5
9374
ac_cv_func_mmap_fixed_mapped=no
9376
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9379
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9380
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9381
if test $ac_cv_func_mmap_fixed_mapped = yes; then
9383
cat >>confdefs.h <<\_ACEOF
9391
echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9392
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
9393
if test "${ac_cv_gnu_library_2_1+set}" = set; then
9394
echo $ECHO_N "(cached) $ECHO_C" >&6
9396
cat >conftest.$ac_ext <<_ACEOF
9397
#line $LINENO "configure"
9398
#include "confdefs.h"
9400
#include <features.h>
9401
#ifdef __GNU_LIBRARY__
9402
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9408
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9409
$EGREP "Lucky GNU user" >/dev/null 2>&1; then
9410
ac_cv_gnu_library_2_1=yes
9412
ac_cv_gnu_library_2_1=no
9419
echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9420
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
9422
GLIBC21="$ac_cv_gnu_library_2_1"
9427
echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9428
echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
9429
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9430
echo $ECHO_N "(cached) $ECHO_C" >&6
9433
if test "$cross_compiling" = yes; then
9435
# Guess based on the CPU.
9437
alpha* | i3456786 | m68k | s390*)
9438
gt_cv_int_divbyzero_sigfpe="guessing yes";;
9440
gt_cv_int_divbyzero_sigfpe="guessing no";;
9444
cat >conftest.$ac_ext <<_ACEOF
9445
#line $LINENO "configure"
9446
#include "confdefs.h"
9453
sigfpe_handler (int sig)
9455
sigfpe_handler (sig) int sig;
9458
/* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
9459
exit (sig != SIGFPE);
9469
signal (SIGFPE, sigfpe_handler);
9470
/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
9471
#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
9472
signal (SIGTRAP, sigfpe_handler);
9474
/* Linux/SPARC yields signal SIGILL. */
9475
#if defined (__sparc__) && defined (__linux__)
9476
signal (SIGILL, sigfpe_handler);
9485
rm -f conftest$ac_exeext
9486
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9487
(eval $ac_link) 2>&5
9489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9491
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495
(exit $ac_status); }; }; then
9496
gt_cv_int_divbyzero_sigfpe=yes
9498
echo "$as_me: program exited with status $ac_status" >&5
9499
echo "$as_me: failed program was:" >&5
9500
cat conftest.$ac_ext >&5
9502
gt_cv_int_divbyzero_sigfpe=no
9504
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9508
echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9509
echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
9510
case "$gt_cv_int_divbyzero_sigfpe" in
9515
cat >>confdefs.h <<_ACEOF
9516
#define INTDIV0_RAISES_SIGFPE $value
9521
echo "$as_me:$LINENO: checking for inttypes.h" >&5
9522
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9523
if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
9524
echo $ECHO_N "(cached) $ECHO_C" >&6
9526
cat >conftest.$ac_ext <<_ACEOF
9527
#line $LINENO "configure"
9528
#include "confdefs.h"
9529
#include <sys/types.h>
9530
#include <inttypes.h>
9534
uintmax_t i = (uintmax_t) -1;
9539
rm -f conftest.$ac_objext
9540
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9541
(eval $ac_compile) 2>&5
9543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544
(exit $ac_status); } &&
9545
{ ac_try='test -s conftest.$ac_objext'
9546
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550
(exit $ac_status); }; }; then
9551
jm_ac_cv_header_inttypes_h=yes
9553
echo "$as_me: failed program was:" >&5
9554
cat conftest.$ac_ext >&5
9555
jm_ac_cv_header_inttypes_h=no
9557
rm -f conftest.$ac_objext conftest.$ac_ext
9559
echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
9560
echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
9561
if test $jm_ac_cv_header_inttypes_h = yes; then
9563
cat >>confdefs.h <<_ACEOF
9564
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
9570
echo "$as_me:$LINENO: checking for stdint.h" >&5
9571
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
9572
if test "${jm_ac_cv_header_stdint_h+set}" = set; then
9573
echo $ECHO_N "(cached) $ECHO_C" >&6
9575
cat >conftest.$ac_ext <<_ACEOF
9576
#line $LINENO "configure"
9577
#include "confdefs.h"
9578
#include <sys/types.h>
9583
uintmax_t i = (uintmax_t) -1;
9588
rm -f conftest.$ac_objext
9589
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9590
(eval $ac_compile) 2>&5
9592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593
(exit $ac_status); } &&
9594
{ ac_try='test -s conftest.$ac_objext'
9595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599
(exit $ac_status); }; }; then
9600
jm_ac_cv_header_stdint_h=yes
9602
echo "$as_me: failed program was:" >&5
9603
cat conftest.$ac_ext >&5
9604
jm_ac_cv_header_stdint_h=no
9606
rm -f conftest.$ac_objext conftest.$ac_ext
9608
echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
9609
echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
9610
if test $jm_ac_cv_header_stdint_h = yes; then
9612
cat >>confdefs.h <<_ACEOF
9613
#define HAVE_STDINT_H_WITH_UINTMAX 1
9619
echo "$as_me:$LINENO: checking for unsigned long long" >&5
9620
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
9621
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
9622
echo $ECHO_N "(cached) $ECHO_C" >&6
9624
cat >conftest.$ac_ext <<_ACEOF
9625
#line $LINENO "configure"
9626
#include "confdefs.h"
9627
unsigned long long ull = 1; int i = 63;
9631
unsigned long long ullmax = (unsigned long long) -1;
9632
return ull << i | ull >> i | ullmax / ull | ullmax % ull;
9637
rm -f conftest.$ac_objext conftest$ac_exeext
9638
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9639
(eval $ac_link) 2>&5
9641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642
(exit $ac_status); } &&
9643
{ ac_try='test -s conftest$ac_exeext'
9644
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648
(exit $ac_status); }; }; then
9649
ac_cv_type_unsigned_long_long=yes
9651
echo "$as_me: failed program was:" >&5
9652
cat conftest.$ac_ext >&5
9653
ac_cv_type_unsigned_long_long=no
9655
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9657
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
9658
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
9659
if test $ac_cv_type_unsigned_long_long = yes; then
9661
cat >>confdefs.h <<\_ACEOF
9662
#define HAVE_UNSIGNED_LONG_LONG 1
9670
if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
9672
test $ac_cv_type_unsigned_long_long = yes \
9673
&& ac_type='unsigned long long' \
9674
|| ac_type='unsigned long'
9676
cat >>confdefs.h <<_ACEOF
9677
#define uintmax_t $ac_type
9683
echo "$as_me:$LINENO: checking for inttypes.h" >&5
9684
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9685
if test "${gt_cv_header_inttypes_h+set}" = set; then
9686
echo $ECHO_N "(cached) $ECHO_C" >&6
9689
cat >conftest.$ac_ext <<_ACEOF
9690
#line $LINENO "configure"
9691
#include "confdefs.h"
9692
#include <sys/types.h>
9693
#include <inttypes.h>
9702
rm -f conftest.$ac_objext
9703
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9704
(eval $ac_compile) 2>&5
9706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707
(exit $ac_status); } &&
9708
{ ac_try='test -s conftest.$ac_objext'
9709
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713
(exit $ac_status); }; }; then
9714
gt_cv_header_inttypes_h=yes
9716
echo "$as_me: failed program was:" >&5
9717
cat conftest.$ac_ext >&5
9718
gt_cv_header_inttypes_h=no
9720
rm -f conftest.$ac_objext conftest.$ac_ext
9723
echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
9724
echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
9725
if test $gt_cv_header_inttypes_h = yes; then
9727
cat >>confdefs.h <<_ACEOF
9728
#define HAVE_INTTYPES_H 1
9735
if test $gt_cv_header_inttypes_h = yes; then
9736
echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
9737
echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
9738
if test "${gt_cv_inttypes_pri_broken+set}" = set; then
9739
echo $ECHO_N "(cached) $ECHO_C" >&6
9742
cat >conftest.$ac_ext <<_ACEOF
9743
#line $LINENO "configure"
9744
#include "confdefs.h"
9745
#include <inttypes.h>
9758
rm -f conftest.$ac_objext
9759
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9760
(eval $ac_compile) 2>&5
9762
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763
(exit $ac_status); } &&
9764
{ ac_try='test -s conftest.$ac_objext'
9765
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769
(exit $ac_status); }; }; then
9770
gt_cv_inttypes_pri_broken=no
9772
echo "$as_me: failed program was:" >&5
9773
cat conftest.$ac_ext >&5
9774
gt_cv_inttypes_pri_broken=yes
9776
rm -f conftest.$ac_objext conftest.$ac_ext
9779
echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
9780
echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
9782
if test "$gt_cv_inttypes_pri_broken" = yes; then
9784
cat >>confdefs.h <<_ACEOF
9785
#define PRI_MACROS_BROKEN 1
9791
if test "X$prefix" = "XNONE"; then
9792
acl_final_prefix="$ac_default_prefix"
9794
acl_final_prefix="$prefix"
9796
if test "X$exec_prefix" = "XNONE"; then
9797
acl_final_exec_prefix='${prefix}'
9799
acl_final_exec_prefix="$exec_prefix"
9801
acl_save_prefix="$prefix"
9802
prefix="$acl_final_prefix"
9803
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9804
prefix="$acl_save_prefix"
9807
# Check whether --with-gnu-ld or --without-gnu-ld was given.
9808
if test "${with_gnu_ld+set}" = set; then
9809
withval="$with_gnu_ld"
9810
test "$withval" = no || with_gnu_ld=yes
9815
if test "$GCC" = yes; then
9816
# Check if gcc -print-prog-name=ld gives a path.
9817
echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9818
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9821
# gcc leaves a trailing carriage return which upsets mingw
9822
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9824
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9827
# Accept absolute paths.
9828
[\\/]* | [A-Za-z]:[\\/]*)
9829
re_direlt='/[^/][^/]*/\.\./'
9830
# Canonicalize the path of ld
9831
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
9832
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9833
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
9835
test -z "$LD" && LD="$ac_prog"
9838
# If it fails, then pretend we aren't using GCC.
9842
# If it is relative, then search for the first ld in PATH.
9846
elif test "$with_gnu_ld" = yes; then
9847
echo "$as_me:$LINENO: checking for GNU ld" >&5
9848
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9850
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9851
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9853
if test "${acl_cv_path_LD+set}" = set; then
9854
echo $ECHO_N "(cached) $ECHO_C" >&6
9856
if test -z "$LD"; then
9857
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9858
for ac_dir in $PATH; do
9859
test -z "$ac_dir" && ac_dir=.
9860
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9861
acl_cv_path_LD="$ac_dir/$ac_prog"
9862
# Check to see if the program is GNU ld. I'd rather use --version,
9863
# but apparently some GNU ld's only accept -v.
9864
# Break only if it was the GNU/non-GNU ld that we prefer.
9865
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
9866
test "$with_gnu_ld" != no && break
9868
test "$with_gnu_ld" != yes && break
9874
acl_cv_path_LD="$LD" # Let the user override the test with a path.
9878
LD="$acl_cv_path_LD"
9879
if test -n "$LD"; then
9880
echo "$as_me:$LINENO: result: $LD" >&5
9881
echo "${ECHO_T}$LD" >&6
9883
echo "$as_me:$LINENO: result: no" >&5
9884
echo "${ECHO_T}no" >&6
9886
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9887
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9888
{ (exit 1); exit 1; }; }
9889
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9890
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9891
if test "${acl_cv_prog_gnu_ld+set}" = set; then
9892
echo $ECHO_N "(cached) $ECHO_C" >&6
9894
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
9895
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
9896
acl_cv_prog_gnu_ld=yes
9898
acl_cv_prog_gnu_ld=no
9901
echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9902
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9903
with_gnu_ld=$acl_cv_prog_gnu_ld
9907
echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9908
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9909
if test "${acl_cv_rpath+set}" = set; then
9910
echo $ECHO_N "(cached) $ECHO_C" >&6
9913
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
9914
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9920
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9921
echo "${ECHO_T}$acl_cv_rpath" >&6
9923
libext="$acl_cv_libext"
9924
shlibext="$acl_cv_shlibext"
9925
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9926
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9927
hardcode_direct="$acl_cv_hardcode_direct"
9928
hardcode_minus_L="$acl_cv_hardcode_minus_L"
9929
sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
9930
sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
9931
# Check whether --enable-rpath or --disable-rpath was given.
9932
if test "${enable_rpath+set}" = set; then
9933
enableval="$enable_rpath"
9947
acl_save_prefix="$prefix"
9948
prefix="$acl_final_prefix"
9949
acl_save_exec_prefix="$exec_prefix"
9950
exec_prefix="$acl_final_exec_prefix"
9952
eval additional_includedir=\"$includedir\"
9953
eval additional_libdir=\"$libdir\"
9955
exec_prefix="$acl_save_exec_prefix"
9956
prefix="$acl_save_prefix"
9959
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9960
if test "${with_libiconv_prefix+set}" = set; then
9961
withval="$with_libiconv_prefix"
9963
if test "X$withval" = "Xno"; then
9966
if test "X$withval" = "X"; then
9968
acl_save_prefix="$prefix"
9969
prefix="$acl_final_prefix"
9970
acl_save_exec_prefix="$exec_prefix"
9971
exec_prefix="$acl_final_exec_prefix"
9973
eval additional_includedir=\"$includedir\"
9974
eval additional_libdir=\"$libdir\"
9976
exec_prefix="$acl_save_exec_prefix"
9977
prefix="$acl_save_prefix"
9980
additional_includedir="$withval/include"
9981
additional_libdir="$withval/lib"
9991
names_already_handled=
9992
names_next_round='iconv '
9993
while test -n "$names_next_round"; do
9994
names_this_round="$names_next_round"
9996
for name in $names_this_round; do
9998
for n in $names_already_handled; do
9999
if test "$n" = "$name"; then
10000
already_handled=yes
10004
if test -z "$already_handled"; then
10005
names_already_handled="$names_already_handled $name"
10006
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10007
eval value=\"\$HAVE_LIB$uppername\"
10008
if test -n "$value"; then
10009
if test "$value" = yes; then
10010
eval value=\"\$LIB$uppername\"
10011
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
10012
eval value=\"\$LTLIB$uppername\"
10013
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
10022
if test $use_additional = yes; then
10023
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10024
found_dir="$additional_libdir"
10025
found_so="$additional_libdir/lib$name.$shlibext"
10026
if test -f "$additional_libdir/lib$name.la"; then
10027
found_la="$additional_libdir/lib$name.la"
10030
if test -f "$additional_libdir/lib$name.$libext"; then
10031
found_dir="$additional_libdir"
10032
found_a="$additional_libdir/lib$name.$libext"
10033
if test -f "$additional_libdir/lib$name.la"; then
10034
found_la="$additional_libdir/lib$name.la"
10039
if test "X$found_dir" = "X"; then
10040
for x in $LDFLAGS $LTLIBICONV; do
10042
acl_save_prefix="$prefix"
10043
prefix="$acl_final_prefix"
10044
acl_save_exec_prefix="$exec_prefix"
10045
exec_prefix="$acl_final_exec_prefix"
10047
exec_prefix="$acl_save_exec_prefix"
10048
prefix="$acl_save_prefix"
10052
dir=`echo "X$x" | sed -e 's/^X-L//'`
10053
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10055
found_so="$dir/lib$name.$shlibext"
10056
if test -f "$dir/lib$name.la"; then
10057
found_la="$dir/lib$name.la"
10060
if test -f "$dir/lib$name.$libext"; then
10062
found_a="$dir/lib$name.$libext"
10063
if test -f "$dir/lib$name.la"; then
10064
found_la="$dir/lib$name.la"
10070
if test "X$found_dir" != "X"; then
10075
if test "X$found_dir" != "X"; then
10076
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10077
if test "X$found_so" != "X"; then
10078
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
10079
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10082
for x in $ltrpathdirs; do
10083
if test "X$x" = "X$found_dir"; then
10088
if test -z "$haveit"; then
10089
ltrpathdirs="$ltrpathdirs $found_dir"
10091
if test "$hardcode_direct" = yes; then
10092
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10094
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
10095
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10097
for x in $rpathdirs; do
10098
if test "X$x" = "X$found_dir"; then
10103
if test -z "$haveit"; then
10104
rpathdirs="$rpathdirs $found_dir"
10108
for x in $LDFLAGS $LIBICONV; do
10110
acl_save_prefix="$prefix"
10111
prefix="$acl_final_prefix"
10112
acl_save_exec_prefix="$exec_prefix"
10113
exec_prefix="$acl_final_exec_prefix"
10115
exec_prefix="$acl_save_exec_prefix"
10116
prefix="$acl_save_prefix"
10118
if test "X$x" = "X-L$found_dir"; then
10123
if test -z "$haveit"; then
10124
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10126
if test "$hardcode_minus_L" != no; then
10127
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
10129
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10135
if test "X$found_a" != "X"; then
10136
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
10138
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10141
additional_includedir=
10142
case "$found_dir" in
10144
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10145
additional_includedir="$basedir/include"
10148
if test "X$additional_includedir" != "X"; then
10149
if test "X$additional_includedir" != "X/usr/include"; then
10151
if test "X$additional_includedir" = "X/usr/local/include"; then
10152
if test -n "$GCC"; then
10154
linux*) haveit=yes;;
10158
if test -z "$haveit"; then
10159
for x in $CPPFLAGS $INCICONV; do
10161
acl_save_prefix="$prefix"
10162
prefix="$acl_final_prefix"
10163
acl_save_exec_prefix="$exec_prefix"
10164
exec_prefix="$acl_final_exec_prefix"
10166
exec_prefix="$acl_save_exec_prefix"
10167
prefix="$acl_save_prefix"
10169
if test "X$x" = "X-I$additional_includedir"; then
10174
if test -z "$haveit"; then
10175
if test -d "$additional_includedir"; then
10176
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10182
if test -n "$found_la"; then
10183
save_libdir="$libdir"
10184
case "$found_la" in
10185
*/* | *\\*) . "$found_la" ;;
10186
*) . "./$found_la" ;;
10188
libdir="$save_libdir"
10189
for dep in $dependency_libs; do
10192
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
10193
if test "X$additional_libdir" != "X/usr/lib"; then
10195
if test "X$additional_libdir" = "X/usr/local/lib"; then
10196
if test -n "$GCC"; then
10198
linux*) haveit=yes;;
10202
if test -z "$haveit"; then
10204
for x in $LDFLAGS $LIBICONV; do
10206
acl_save_prefix="$prefix"
10207
prefix="$acl_final_prefix"
10208
acl_save_exec_prefix="$exec_prefix"
10209
exec_prefix="$acl_final_exec_prefix"
10211
exec_prefix="$acl_save_exec_prefix"
10212
prefix="$acl_save_prefix"
10214
if test "X$x" = "X-L$additional_libdir"; then
10219
if test -z "$haveit"; then
10220
if test -d "$additional_libdir"; then
10221
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10225
for x in $LDFLAGS $LTLIBICONV; do
10227
acl_save_prefix="$prefix"
10228
prefix="$acl_final_prefix"
10229
acl_save_exec_prefix="$exec_prefix"
10230
exec_prefix="$acl_final_exec_prefix"
10232
exec_prefix="$acl_save_exec_prefix"
10233
prefix="$acl_save_prefix"
10235
if test "X$x" = "X-L$additional_libdir"; then
10240
if test -z "$haveit"; then
10241
if test -d "$additional_libdir"; then
10242
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10249
dir=`echo "X$dep" | sed -e 's/^X-R//'`
10250
if test "$enable_rpath" != no; then
10252
for x in $rpathdirs; do
10253
if test "X$x" = "X$dir"; then
10258
if test -z "$haveit"; then
10259
rpathdirs="$rpathdirs $dir"
10262
for x in $ltrpathdirs; do
10263
if test "X$x" = "X$dir"; then
10268
if test -z "$haveit"; then
10269
ltrpathdirs="$ltrpathdirs $dir"
10274
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10277
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10280
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
10281
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10287
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
10288
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10294
if test "X$rpathdirs" != "X"; then
10295
if test -n "$hardcode_libdir_separator"; then
10297
for found_dir in $rpathdirs; do
10298
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10300
acl_save_libdir="$libdir"
10302
eval flag=\"$hardcode_libdir_flag_spec\"
10303
libdir="$acl_save_libdir"
10304
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10306
for found_dir in $rpathdirs; do
10307
acl_save_libdir="$libdir"
10308
libdir="$found_dir"
10309
eval flag=\"$hardcode_libdir_flag_spec\"
10310
libdir="$acl_save_libdir"
10311
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
10315
if test "X$ltrpathdirs" != "X"; then
10316
for found_dir in $ltrpathdirs; do
10317
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10334
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
10335
stdlib.h string.h unistd.h sys/param.h
10337
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10338
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10339
echo "$as_me:$LINENO: checking for $ac_header" >&5
10340
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10341
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10342
echo $ECHO_N "(cached) $ECHO_C" >&6
10344
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10345
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10347
# Is the header compilable?
10348
echo "$as_me:$LINENO: checking $ac_header usability" >&5
10349
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10350
cat >conftest.$ac_ext <<_ACEOF
10351
#line $LINENO "configure"
10352
#include "confdefs.h"
10353
$ac_includes_default
10354
#include <$ac_header>
10356
rm -f conftest.$ac_objext
10357
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10358
(eval $ac_compile) 2>&5
10360
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361
(exit $ac_status); } &&
10362
{ ac_try='test -s conftest.$ac_objext'
10363
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364
(eval $ac_try) 2>&5
10366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367
(exit $ac_status); }; }; then
10368
ac_header_compiler=yes
10370
echo "$as_me: failed program was:" >&5
10371
cat conftest.$ac_ext >&5
10372
ac_header_compiler=no
10374
rm -f conftest.$ac_objext conftest.$ac_ext
10375
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10376
echo "${ECHO_T}$ac_header_compiler" >&6
10378
# Is the header present?
10379
echo "$as_me:$LINENO: checking $ac_header presence" >&5
10380
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10381
cat >conftest.$ac_ext <<_ACEOF
10382
#line $LINENO "configure"
10383
#include "confdefs.h"
10384
#include <$ac_header>
10386
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10387
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10389
grep -v '^ *+' conftest.er1 >conftest.err
10391
cat conftest.err >&5
10392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393
(exit $ac_status); } >/dev/null; then
10394
if test -s conftest.err; then
10395
ac_cpp_err=$ac_c_preproc_warn_flag
10402
if test -z "$ac_cpp_err"; then
10403
ac_header_preproc=yes
10405
echo "$as_me: failed program was:" >&5
10406
cat conftest.$ac_ext >&5
10407
ac_header_preproc=no
10409
rm -f conftest.err conftest.$ac_ext
10410
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10411
echo "${ECHO_T}$ac_header_preproc" >&6
10413
# So? What about this header?
10414
case $ac_header_compiler:$ac_header_preproc in
10416
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10417
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10418
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10419
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10421
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10422
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10423
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10424
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10425
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10426
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10428
echo "$as_me:$LINENO: checking for $ac_header" >&5
10429
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10430
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10431
echo $ECHO_N "(cached) $ECHO_C" >&6
10433
eval "$as_ac_Header=$ac_header_preproc"
10435
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10436
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10439
if test `eval echo '${'$as_ac_Header'}'` = yes; then
10440
cat >>confdefs.h <<_ACEOF
10441
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10469
for ac_func in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
10470
geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
10471
strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
10473
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10474
echo "$as_me:$LINENO: checking for $ac_func" >&5
10475
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10476
if eval "test \"\${$as_ac_var+set}\" = set"; then
10477
echo $ECHO_N "(cached) $ECHO_C" >&6
10479
cat >conftest.$ac_ext <<_ACEOF
10480
#line $LINENO "configure"
10481
#include "confdefs.h"
10482
/* System header to define __stub macros and hopefully few prototypes,
10483
which can conflict with char $ac_func (); below. */
10484
#include <assert.h>
10485
/* Override any gcc2 internal prototype to avoid an error. */
10489
/* We use char because int might match the return type of a gcc2
10490
builtin and then its argument prototype would still apply. */
10497
/* The GNU C library defines this for functions which it implements
10498
to always fail with ENOSYS. Some functions are actually named
10499
something starting with __ and the normal name is an alias. */
10500
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10510
rm -f conftest.$ac_objext conftest$ac_exeext
10511
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10512
(eval $ac_link) 2>&5
10514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515
(exit $ac_status); } &&
10516
{ ac_try='test -s conftest$ac_exeext'
10517
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518
(eval $ac_try) 2>&5
10520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521
(exit $ac_status); }; }; then
10522
eval "$as_ac_var=yes"
10524
echo "$as_me: failed program was:" >&5
10525
cat conftest.$ac_ext >&5
10526
eval "$as_ac_var=no"
10528
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10530
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10531
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10532
if test `eval echo '${'$as_ac_var'}'` = yes; then
10533
cat >>confdefs.h <<_ACEOF
10534
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10546
am_save_CPPFLAGS="$CPPFLAGS"
10548
for element in $INCICONV; do
10550
for x in $CPPFLAGS; do
10552
acl_save_prefix="$prefix"
10553
prefix="$acl_final_prefix"
10554
acl_save_exec_prefix="$exec_prefix"
10555
exec_prefix="$acl_final_exec_prefix"
10557
exec_prefix="$acl_save_exec_prefix"
10558
prefix="$acl_save_prefix"
10560
if test "X$x" = "X$element"; then
10565
if test -z "$haveit"; then
10566
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10571
echo "$as_me:$LINENO: checking for iconv" >&5
10572
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10573
if test "${am_cv_func_iconv+set}" = set; then
10574
echo $ECHO_N "(cached) $ECHO_C" >&6
10577
am_cv_func_iconv="no, consider installing GNU libiconv"
10579
cat >conftest.$ac_ext <<_ACEOF
10580
#line $LINENO "configure"
10581
#include "confdefs.h"
10582
#include <stdlib.h>
10587
iconv_t cd = iconv_open("","");
10588
iconv(cd,NULL,NULL,NULL,NULL);
10594
rm -f conftest.$ac_objext conftest$ac_exeext
10595
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10596
(eval $ac_link) 2>&5
10598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599
(exit $ac_status); } &&
10600
{ ac_try='test -s conftest$ac_exeext'
10601
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10602
(eval $ac_try) 2>&5
10604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605
(exit $ac_status); }; }; then
10606
am_cv_func_iconv=yes
10608
echo "$as_me: failed program was:" >&5
10609
cat conftest.$ac_ext >&5
10611
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10612
if test "$am_cv_func_iconv" != yes; then
10613
am_save_LIBS="$LIBS"
10614
LIBS="$LIBS $LIBICONV"
10615
cat >conftest.$ac_ext <<_ACEOF
10616
#line $LINENO "configure"
10617
#include "confdefs.h"
10618
#include <stdlib.h>
10623
iconv_t cd = iconv_open("","");
10624
iconv(cd,NULL,NULL,NULL,NULL);
10630
rm -f conftest.$ac_objext conftest$ac_exeext
10631
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10632
(eval $ac_link) 2>&5
10634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635
(exit $ac_status); } &&
10636
{ ac_try='test -s conftest$ac_exeext'
10637
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10638
(eval $ac_try) 2>&5
10640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641
(exit $ac_status); }; }; then
10642
am_cv_lib_iconv=yes
10643
am_cv_func_iconv=yes
10645
echo "$as_me: failed program was:" >&5
10646
cat conftest.$ac_ext >&5
10648
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10649
LIBS="$am_save_LIBS"
10653
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10654
echo "${ECHO_T}$am_cv_func_iconv" >&6
10655
if test "$am_cv_func_iconv" = yes; then
10657
cat >>confdefs.h <<\_ACEOF
10658
#define HAVE_ICONV 1
10662
if test "$am_cv_lib_iconv" = yes; then
10663
echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10664
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10665
echo "$as_me:$LINENO: result: $LIBICONV" >&5
10666
echo "${ECHO_T}$LIBICONV" >&6
10668
CPPFLAGS="$am_save_CPPFLAGS"
10675
if test "$am_cv_func_iconv" = yes; then
10676
echo "$as_me:$LINENO: checking for iconv declaration" >&5
10677
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10678
if test "${am_cv_proto_iconv+set}" = set; then
10679
echo $ECHO_N "(cached) $ECHO_C" >&6
10682
cat >conftest.$ac_ext <<_ACEOF
10683
#line $LINENO "configure"
10684
#include "confdefs.h"
10686
#include <stdlib.h>
10692
#if defined(__STDC__) || defined(__cplusplus)
10693
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10706
rm -f conftest.$ac_objext
10707
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10708
(eval $ac_compile) 2>&5
10710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711
(exit $ac_status); } &&
10712
{ ac_try='test -s conftest.$ac_objext'
10713
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714
(eval $ac_try) 2>&5
10716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717
(exit $ac_status); }; }; then
10718
am_cv_proto_iconv_arg1=""
10720
echo "$as_me: failed program was:" >&5
10721
cat conftest.$ac_ext >&5
10722
am_cv_proto_iconv_arg1="const"
10724
rm -f conftest.$ac_objext conftest.$ac_ext
10725
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);"
10728
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10729
echo "$as_me:$LINENO: result: ${ac_t:-
10730
}$am_cv_proto_iconv" >&5
10731
echo "${ECHO_T}${ac_t:-
10732
}$am_cv_proto_iconv" >&6
10734
cat >>confdefs.h <<_ACEOF
10735
#define ICONV_CONST $am_cv_proto_iconv_arg1
10741
echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
10742
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
10743
if test "${am_cv_langinfo_codeset+set}" = set; then
10744
echo $ECHO_N "(cached) $ECHO_C" >&6
10746
cat >conftest.$ac_ext <<_ACEOF
10747
#line $LINENO "configure"
10748
#include "confdefs.h"
10749
#include <langinfo.h>
10753
char* cs = nl_langinfo(CODESET);
10758
rm -f conftest.$ac_objext conftest$ac_exeext
10759
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10760
(eval $ac_link) 2>&5
10762
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763
(exit $ac_status); } &&
10764
{ ac_try='test -s conftest$ac_exeext'
10765
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766
(eval $ac_try) 2>&5
10768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769
(exit $ac_status); }; }; then
10770
am_cv_langinfo_codeset=yes
10772
echo "$as_me: failed program was:" >&5
10773
cat conftest.$ac_ext >&5
10774
am_cv_langinfo_codeset=no
10776
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10779
echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
10780
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
10781
if test $am_cv_langinfo_codeset = yes; then
10783
cat >>confdefs.h <<\_ACEOF
10784
#define HAVE_LANGINFO_CODESET 1
10789
if test $ac_cv_header_locale_h = yes; then
10791
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10792
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10793
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10794
echo $ECHO_N "(cached) $ECHO_C" >&6
10796
cat >conftest.$ac_ext <<_ACEOF
10797
#line $LINENO "configure"
10798
#include "confdefs.h"
10799
#include <locale.h>
10808
rm -f conftest.$ac_objext conftest$ac_exeext
10809
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10810
(eval $ac_link) 2>&5
10812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813
(exit $ac_status); } &&
10814
{ ac_try='test -s conftest$ac_exeext'
10815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10816
(eval $ac_try) 2>&5
10818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819
(exit $ac_status); }; }; then
10820
am_cv_val_LC_MESSAGES=yes
10822
echo "$as_me: failed program was:" >&5
10823
cat conftest.$ac_ext >&5
10824
am_cv_val_LC_MESSAGES=no
10826
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10828
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10829
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10830
if test $am_cv_val_LC_MESSAGES = yes; then
10832
cat >>confdefs.h <<\_ACEOF
10833
#define HAVE_LC_MESSAGES 1
10840
for ac_prog in bison
10842
# Extract the first word of "$ac_prog", so it can be a program name with args.
10843
set dummy $ac_prog; ac_word=$2
10844
echo "$as_me:$LINENO: checking for $ac_word" >&5
10845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10846
if test "${ac_cv_prog_INTLBISON+set}" = set; then
10847
echo $ECHO_N "(cached) $ECHO_C" >&6
10849
if test -n "$INTLBISON"; then
10850
ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
10852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10853
for as_dir in $PATH
10856
test -z "$as_dir" && as_dir=.
10857
for ac_exec_ext in '' $ac_executable_extensions; do
10858
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10859
ac_cv_prog_INTLBISON="$ac_prog"
10860
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10868
INTLBISON=$ac_cv_prog_INTLBISON
10869
if test -n "$INTLBISON"; then
10870
echo "$as_me:$LINENO: result: $INTLBISON" >&5
10871
echo "${ECHO_T}$INTLBISON" >&6
10873
echo "$as_me:$LINENO: result: no" >&5
10874
echo "${ECHO_T}no" >&6
10877
test -n "$INTLBISON" && break
10880
if test -z "$INTLBISON"; then
10883
echo "$as_me:$LINENO: checking version of bison" >&5
10884
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
10885
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
10886
case $ac_prog_version in
10887
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
10888
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
10889
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
10890
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
10892
echo "$as_me:$LINENO: result: $ac_prog_version" >&5
10893
echo "${ECHO_T}$ac_prog_version" >&6
10895
if test $ac_verc_fail = yes; then
10913
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10914
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10915
# Check whether --enable-nls or --disable-nls was given.
10916
if test "${enable_nls+set}" = set; then
10917
enableval="$enable_nls"
10922
echo "$as_me:$LINENO: result: $USE_NLS" >&5
10923
echo "${ECHO_T}$USE_NLS" >&6
10927
BUILD_INCLUDED_LIBINTL=no
10928
USE_INCLUDED_LIBINTL=no
10934
if test "$USE_NLS" = "yes"; then
10935
gt_use_preinstalled_gnugettext=no
10937
echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
10938
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
10940
# Check whether --with-included-gettext or --without-included-gettext was given.
10941
if test "${with_included_gettext+set}" = set; then
10942
withval="$with_included_gettext"
10943
nls_cv_force_use_gnu_gettext=$withval
10945
nls_cv_force_use_gnu_gettext=no
10947
echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
10948
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
10950
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
10951
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10958
echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
10959
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
10960
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
10961
echo $ECHO_N "(cached) $ECHO_C" >&6
10963
cat >conftest.$ac_ext <<_ACEOF
10964
#line $LINENO "configure"
10965
#include "confdefs.h"
10966
#include <libintl.h>
10967
extern int _nl_msg_cat_cntr;
10968
extern int *_nl_domain_bindings;
10972
bindtextdomain ("", "");
10973
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
10978
rm -f conftest.$ac_objext conftest$ac_exeext
10979
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10980
(eval $ac_link) 2>&5
10982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983
(exit $ac_status); } &&
10984
{ ac_try='test -s conftest$ac_exeext'
10985
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10986
(eval $ac_try) 2>&5
10988
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989
(exit $ac_status); }; }; then
10990
gt_cv_func_gnugettext1_libc=yes
10992
echo "$as_me: failed program was:" >&5
10993
cat conftest.$ac_ext >&5
10994
gt_cv_func_gnugettext1_libc=no
10996
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10998
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
10999
echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
11001
if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
11007
acl_save_prefix="$prefix"
11008
prefix="$acl_final_prefix"
11009
acl_save_exec_prefix="$exec_prefix"
11010
exec_prefix="$acl_final_exec_prefix"
11012
eval additional_includedir=\"$includedir\"
11013
eval additional_libdir=\"$libdir\"
11015
exec_prefix="$acl_save_exec_prefix"
11016
prefix="$acl_save_prefix"
11019
# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
11020
if test "${with_libintl_prefix+set}" = set; then
11021
withval="$with_libintl_prefix"
11023
if test "X$withval" = "Xno"; then
11026
if test "X$withval" = "X"; then
11028
acl_save_prefix="$prefix"
11029
prefix="$acl_final_prefix"
11030
acl_save_exec_prefix="$exec_prefix"
11031
exec_prefix="$acl_final_exec_prefix"
11033
eval additional_includedir=\"$includedir\"
11034
eval additional_libdir=\"$libdir\"
11036
exec_prefix="$acl_save_exec_prefix"
11037
prefix="$acl_save_prefix"
11040
additional_includedir="$withval/include"
11041
additional_libdir="$withval/lib"
11051
names_already_handled=
11052
names_next_round='intl '
11053
while test -n "$names_next_round"; do
11054
names_this_round="$names_next_round"
11056
for name in $names_this_round; do
11058
for n in $names_already_handled; do
11059
if test "$n" = "$name"; then
11060
already_handled=yes
11064
if test -z "$already_handled"; then
11065
names_already_handled="$names_already_handled $name"
11066
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11067
eval value=\"\$HAVE_LIB$uppername\"
11068
if test -n "$value"; then
11069
if test "$value" = yes; then
11070
eval value=\"\$LIB$uppername\"
11071
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
11072
eval value=\"\$LTLIB$uppername\"
11073
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
11082
if test $use_additional = yes; then
11083
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
11084
found_dir="$additional_libdir"
11085
found_so="$additional_libdir/lib$name.$shlibext"
11086
if test -f "$additional_libdir/lib$name.la"; then
11087
found_la="$additional_libdir/lib$name.la"
11090
if test -f "$additional_libdir/lib$name.$libext"; then
11091
found_dir="$additional_libdir"
11092
found_a="$additional_libdir/lib$name.$libext"
11093
if test -f "$additional_libdir/lib$name.la"; then
11094
found_la="$additional_libdir/lib$name.la"
11099
if test "X$found_dir" = "X"; then
11100
for x in $LDFLAGS $LTLIBINTL; do
11102
acl_save_prefix="$prefix"
11103
prefix="$acl_final_prefix"
11104
acl_save_exec_prefix="$exec_prefix"
11105
exec_prefix="$acl_final_exec_prefix"
11107
exec_prefix="$acl_save_exec_prefix"
11108
prefix="$acl_save_prefix"
11112
dir=`echo "X$x" | sed -e 's/^X-L//'`
11113
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11115
found_so="$dir/lib$name.$shlibext"
11116
if test -f "$dir/lib$name.la"; then
11117
found_la="$dir/lib$name.la"
11120
if test -f "$dir/lib$name.$libext"; then
11122
found_a="$dir/lib$name.$libext"
11123
if test -f "$dir/lib$name.la"; then
11124
found_la="$dir/lib$name.la"
11130
if test "X$found_dir" != "X"; then
11135
if test "X$found_dir" != "X"; then
11136
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
11137
if test "X$found_so" != "X"; then
11138
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
11139
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
11142
for x in $ltrpathdirs; do
11143
if test "X$x" = "X$found_dir"; then
11148
if test -z "$haveit"; then
11149
ltrpathdirs="$ltrpathdirs $found_dir"
11151
if test "$hardcode_direct" = yes; then
11152
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
11154
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
11155
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
11157
for x in $rpathdirs; do
11158
if test "X$x" = "X$found_dir"; then
11163
if test -z "$haveit"; then
11164
rpathdirs="$rpathdirs $found_dir"
11168
for x in $LDFLAGS $LIBINTL; do
11170
acl_save_prefix="$prefix"
11171
prefix="$acl_final_prefix"
11172
acl_save_exec_prefix="$exec_prefix"
11173
exec_prefix="$acl_final_exec_prefix"
11175
exec_prefix="$acl_save_exec_prefix"
11176
prefix="$acl_save_prefix"
11178
if test "X$x" = "X-L$found_dir"; then
11183
if test -z "$haveit"; then
11184
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
11186
if test "$hardcode_minus_L" != no; then
11187
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
11189
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
11195
if test "X$found_a" != "X"; then
11196
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
11198
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
11201
additional_includedir=
11202
case "$found_dir" in
11204
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11205
additional_includedir="$basedir/include"
11208
if test "X$additional_includedir" != "X"; then
11209
if test "X$additional_includedir" != "X/usr/include"; then
11211
if test "X$additional_includedir" = "X/usr/local/include"; then
11212
if test -n "$GCC"; then
11214
linux*) haveit=yes;;
11218
if test -z "$haveit"; then
11219
for x in $CPPFLAGS $INCINTL; do
11221
acl_save_prefix="$prefix"
11222
prefix="$acl_final_prefix"
11223
acl_save_exec_prefix="$exec_prefix"
11224
exec_prefix="$acl_final_exec_prefix"
11226
exec_prefix="$acl_save_exec_prefix"
11227
prefix="$acl_save_prefix"
11229
if test "X$x" = "X-I$additional_includedir"; then
11234
if test -z "$haveit"; then
11235
if test -d "$additional_includedir"; then
11236
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
11242
if test -n "$found_la"; then
11243
save_libdir="$libdir"
11244
case "$found_la" in
11245
*/* | *\\*) . "$found_la" ;;
11246
*) . "./$found_la" ;;
11248
libdir="$save_libdir"
11249
for dep in $dependency_libs; do
11252
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
11253
if test "X$additional_libdir" != "X/usr/lib"; then
11255
if test "X$additional_libdir" = "X/usr/local/lib"; then
11256
if test -n "$GCC"; then
11258
linux*) haveit=yes;;
11262
if test -z "$haveit"; then
11264
for x in $LDFLAGS $LIBINTL; do
11266
acl_save_prefix="$prefix"
11267
prefix="$acl_final_prefix"
11268
acl_save_exec_prefix="$exec_prefix"
11269
exec_prefix="$acl_final_exec_prefix"
11271
exec_prefix="$acl_save_exec_prefix"
11272
prefix="$acl_save_prefix"
11274
if test "X$x" = "X-L$additional_libdir"; then
11279
if test -z "$haveit"; then
11280
if test -d "$additional_libdir"; then
11281
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
11285
for x in $LDFLAGS $LTLIBINTL; do
11287
acl_save_prefix="$prefix"
11288
prefix="$acl_final_prefix"
11289
acl_save_exec_prefix="$exec_prefix"
11290
exec_prefix="$acl_final_exec_prefix"
11292
exec_prefix="$acl_save_exec_prefix"
11293
prefix="$acl_save_prefix"
11295
if test "X$x" = "X-L$additional_libdir"; then
11300
if test -z "$haveit"; then
11301
if test -d "$additional_libdir"; then
11302
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
11309
dir=`echo "X$dep" | sed -e 's/^X-R//'`
11310
if test "$enable_rpath" != no; then
11312
for x in $rpathdirs; do
11313
if test "X$x" = "X$dir"; then
11318
if test -z "$haveit"; then
11319
rpathdirs="$rpathdirs $dir"
11322
for x in $ltrpathdirs; do
11323
if test "X$x" = "X$dir"; then
11328
if test -z "$haveit"; then
11329
ltrpathdirs="$ltrpathdirs $dir"
11334
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11337
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11340
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
11341
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
11347
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
11348
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
11354
if test "X$rpathdirs" != "X"; then
11355
if test -n "$hardcode_libdir_separator"; then
11357
for found_dir in $rpathdirs; do
11358
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11360
acl_save_libdir="$libdir"
11362
eval flag=\"$hardcode_libdir_flag_spec\"
11363
libdir="$acl_save_libdir"
11364
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
11366
for found_dir in $rpathdirs; do
11367
acl_save_libdir="$libdir"
11368
libdir="$found_dir"
11369
eval flag=\"$hardcode_libdir_flag_spec\"
11370
libdir="$acl_save_libdir"
11371
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
11375
if test "X$ltrpathdirs" != "X"; then
11376
for found_dir in $ltrpathdirs; do
11377
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
11381
echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
11382
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
11383
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
11384
echo $ECHO_N "(cached) $ECHO_C" >&6
11386
gt_save_CPPFLAGS="$CPPFLAGS"
11387
CPPFLAGS="$CPPFLAGS $INCINTL"
11388
gt_save_LIBS="$LIBS"
11389
LIBS="$LIBS $LIBINTL"
11390
cat >conftest.$ac_ext <<_ACEOF
11391
#line $LINENO "configure"
11392
#include "confdefs.h"
11393
#include <libintl.h>
11394
extern int _nl_msg_cat_cntr;
11399
const char *_nl_expand_alias ();
11403
bindtextdomain ("", "");
11404
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11409
rm -f conftest.$ac_objext conftest$ac_exeext
11410
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11411
(eval $ac_link) 2>&5
11413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414
(exit $ac_status); } &&
11415
{ ac_try='test -s conftest$ac_exeext'
11416
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417
(eval $ac_try) 2>&5
11419
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420
(exit $ac_status); }; }; then
11421
gt_cv_func_gnugettext1_libintl=yes
11423
echo "$as_me: failed program was:" >&5
11424
cat conftest.$ac_ext >&5
11425
gt_cv_func_gnugettext1_libintl=no
11427
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11428
if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
11429
LIBS="$LIBS $LIBICONV"
11430
cat >conftest.$ac_ext <<_ACEOF
11431
#line $LINENO "configure"
11432
#include "confdefs.h"
11433
#include <libintl.h>
11434
extern int _nl_msg_cat_cntr;
11439
const char *_nl_expand_alias ();
11443
bindtextdomain ("", "");
11444
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11449
rm -f conftest.$ac_objext conftest$ac_exeext
11450
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11451
(eval $ac_link) 2>&5
11453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454
(exit $ac_status); } &&
11455
{ ac_try='test -s conftest$ac_exeext'
11456
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457
(eval $ac_try) 2>&5
11459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460
(exit $ac_status); }; }; then
11461
LIBINTL="$LIBINTL $LIBICONV"
11462
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
11463
gt_cv_func_gnugettext1_libintl=yes
11466
echo "$as_me: failed program was:" >&5
11467
cat conftest.$ac_ext >&5
11469
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11471
CPPFLAGS="$gt_save_CPPFLAGS"
11472
LIBS="$gt_save_LIBS"
11474
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
11475
echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
11478
if test "$gt_cv_func_gnugettext1_libc" = "yes" \
11479
|| { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
11480
&& test "$PACKAGE" != gettext; }; then
11481
gt_use_preinstalled_gnugettext=yes
11489
if test "$gt_use_preinstalled_gnugettext" != "yes"; then
11490
nls_cv_use_gnu_gettext=yes
11494
if test "$nls_cv_use_gnu_gettext" = "yes"; then
11495
INTLOBJS="\$(GETTOBJS)"
11496
BUILD_INCLUDED_LIBINTL=yes
11497
USE_INCLUDED_LIBINTL=yes
11498
LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
11499
LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
11500
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
11503
if test "$gt_use_preinstalled_gnugettext" = "yes" \
11504
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
11509
if test "$gt_use_preinstalled_gnugettext" = "yes" \
11510
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
11512
cat >>confdefs.h <<\_ACEOF
11513
#define ENABLE_NLS 1
11521
if test "$USE_NLS" = "yes"; then
11523
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11524
if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11525
echo "$as_me:$LINENO: checking how to link with libintl" >&5
11526
echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
11527
echo "$as_me:$LINENO: result: $LIBINTL" >&5
11528
echo "${ECHO_T}$LIBINTL" >&6
11530
for element in $INCINTL; do
11532
for x in $CPPFLAGS; do
11534
acl_save_prefix="$prefix"
11535
prefix="$acl_final_prefix"
11536
acl_save_exec_prefix="$exec_prefix"
11537
exec_prefix="$acl_final_exec_prefix"
11539
exec_prefix="$acl_save_exec_prefix"
11540
prefix="$acl_save_prefix"
11542
if test "X$x" = "X$element"; then
11547
if test -z "$haveit"; then
11548
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
11555
cat >>confdefs.h <<\_ACEOF
11556
#define HAVE_GETTEXT 1
11560
cat >>confdefs.h <<\_ACEOF
11561
#define HAVE_DCGETTEXT 1
11570
if test "$PACKAGE" = gettext; then
11571
BUILD_INCLUDED_LIBINTL=yes
11579
nls_cv_header_intl=
11580
nls_cv_header_libgt=
11591
INTL_LIBTOOL_SUFFIX_PREFIX=
11595
INTLLIBS="$LIBINTL"
5433
11752
echo "*** to the full path to pkg-config."
5434
11753
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
5436
if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7.0; then
5437
echo "*** Your version of pkg-config is too old. You need version 0.7.0 or newer."
5438
echo "*** See http://www.freedesktop.org/software/pkgconfig"
5440
echo $ac_n "checking for gtk""... $ac_c" 1>&6
5441
echo "configure:5442: checking for gtk" >&5
11755
PKG_CONFIG_MIN_VERSION=0.9.0
11756
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11757
echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
11758
echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
5443
if $PKG_CONFIG --exists "gtk" ; then
5444
echo "$ac_t""yes" 1>&6
11760
if $PKG_CONFIG --exists "gtk+-2.0" ; then
11761
echo "$as_me:$LINENO: result: yes" >&5
11762
echo "${ECHO_T}yes" >&6
5447
echo $ac_n "checking GTK_CFLAGS""... $ac_c" 1>&6
5448
echo "configure:5449: checking GTK_CFLAGS" >&5
5449
GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk"`
5450
echo "$ac_t""$GTK_CFLAGS" 1>&6
11765
echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
11766
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
11767
GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
11768
echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
11769
echo "${ECHO_T}$GTK_CFLAGS" >&6
5452
echo $ac_n "checking GTK_LIBS""... $ac_c" 1>&6
5453
echo "configure:5454: checking GTK_LIBS" >&5
5454
GTK_LIBS=`$PKG_CONFIG --libs "gtk"`
5455
echo "$ac_t""$GTK_LIBS" 1>&6
11771
echo "$as_me:$LINENO: checking GTK_LIBS" >&5
11772
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
11773
GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
11774
echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
11775
echo "${ECHO_T}$GTK_LIBS" >&6
5459
## If we have a custom action on failure, don't print errors, but
11779
## If we have a custom action on failure, don't print errors, but
5460
11780
## do set a variable so people can do so.
5461
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk"`
11781
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
5462
11782
echo $GTK_PKG_ERRORS
11788
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11789
echo "*** See http://www.freedesktop.org/software/pkgconfig"
5470
11793
if test $succeeded = yes; then
5473
{ echo "configure: error: Library requirements (gtk) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." 1>&2; exit 1; }
11796
{ { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
11797
echo "$as_me: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
11798
{ (exit 1); exit 1; }; }
5479
# Extract the first word of "gdk-pixbuf-config", so it can be a program name with args.
5480
set dummy gdk-pixbuf-config; ac_word=$2
5481
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5482
echo "configure:5483: checking for $ac_word" >&5
5483
if eval "test \"`echo '$''{'ac_cv_path_GDK_PIXBUF_CONFIG'+set}'`\" = set"; then
5484
echo $ac_n "(cached) $ac_c" 1>&6
5486
case "$GDK_PIXBUF_CONFIG" in
5488
ac_cv_path_GDK_PIXBUF_CONFIG="$GDK_PIXBUF_CONFIG" # Let the user override the test with a path.
5491
ac_cv_path_GDK_PIXBUF_CONFIG="$GDK_PIXBUF_CONFIG" # Let the user override the test with a dos path.
5494
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5496
for ac_dir in $ac_dummy; do
5497
test -z "$ac_dir" && ac_dir=.
5498
if test -f $ac_dir/$ac_word; then
5499
ac_cv_path_GDK_PIXBUF_CONFIG="$ac_dir/$ac_word"
5507
GDK_PIXBUF_CONFIG="$ac_cv_path_GDK_PIXBUF_CONFIG"
5508
if test -n "$GDK_PIXBUF_CONFIG"; then
5509
echo "$ac_t""$GDK_PIXBUF_CONFIG" 1>&6
5511
echo "$ac_t""no" 1>&6
5514
if test -n "${GDK_PIXBUF_CONFIG}"; then
5515
GDK_PIXBUF_CFLAGS=`$GDK_PIXBUF_CONFIG --cflags`
5516
GDK_PIXBUF_LIBS=`$GDK_PIXBUF_CONFIG --libs`
5517
cat >> confdefs.h <<\EOF
5518
#define HAVE_GDK_PIXBUF 1
5525
CFLAGS="$CFLAGS -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Werror"
5529
cat > confcache <<\EOF
11804
CFLAGS="$CFLAGS -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
11807
ac_config_files="$ac_config_files intl/Makefile po/Makefile.in m4/Makefile Makefile libexif-gtk/Makefile libexif-gtk/libexif-gtk.pc gtk-extensions/Makefile tests/Makefile"
11808
cat >confcache <<\_ACEOF
5530
11809
# This file is a shell script that caches the results of configure
5531
11810
# tests run on this system so they can be shared between configure
5532
# scripts and configure runs. It is not useful on other systems.
5533
# If it contains results you don't want to keep, you may remove or edit it.
5535
# By default, configure uses ./config.cache as the cache file,
5536
# creating it if it does not exist already. You can give configure
5537
# the --cache-file=FILE option to use a different cache file; that is
5538
# what configure does when it calls configure scripts in
5539
# subdirectories, so they share the cache.
5540
# Giving --cache-file=/dev/null disables caching, for debugging configure.
5541
# config.status only pays attention to the cache file if you give it the
5542
# --recheck option to rerun configure.
11811
# scripts and configure runs, see configure's option --config-cache.
11812
# It is not useful on other systems. If it contains results you don't
11813
# want to keep, you may remove or edit it.
11815
# config.status only pays attention to the cache file if you give it
11816
# the --recheck option to rerun configure.
11818
# `ac_cv_env_foo' variables (set or unset) will be overridden when
11819
# loading this file, other *unset* `ac_cv_foo' will be assigned the
11820
# following values.
5545
11824
# The following way of writing the cache mishandles newlines in values,
5546
11825
# but we know of no workaround that is simple, portable, and efficient.
5547
11826
# So, don't put newlines in cache variables' values.
5548
11827
# Ultrix sh set writes to stderr and can't be redirected directly,
5549
11828
# and sets the high bit in the cache file unless we assign to the vars.
5551
case `(ac_space=' '; set | grep ac_space) 2>&1` in
5553
# `set' does not quote correctly, so add quotes (double-quote substitution
5554
# turns \\\\ into \\, and sed turns \\ into \).
5556
-e "s/'/'\\\\''/g" \
5557
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5560
# `set' quotes correctly as required by POSIX, so do not add quotes.
5561
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5564
if cmp -s $cache_file confcache; then
11831
case `(ac_space=' '; set | grep ac_space) 2>&1` in
11833
# `set' does not quote correctly, so add quotes (double-quote
11834
# substitution turns \\\\ into \\, and sed turns \\ into \).
11837
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11840
# `set' quotes correctly as required by POSIX, so do not add quotes.
11842
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11849
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11851
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11853
if cmp -s $cache_file confcache; then :; else
5567
11854
if test -w $cache_file; then
5568
echo "updating cache $cache_file"
5569
cat confcache > $cache_file
11855
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11856
cat confcache >$cache_file
5571
11858
echo "not updating unwritable cache $cache_file"
5574
11861
rm -f confcache
5576
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5578
11863
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5579
11864
# Let make expand exec_prefix.
5580
11865
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5582
# Any assignment to VPATH causes Sun make to only execute
5583
# the first set of double-colon rules, so remove it if not needed.
5584
# If there is a colon in the path, we need to keep it.
11867
# VPATH may cause trouble with some makes, so we remove $(srcdir),
11868
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11869
# trailing colons and then remove the whole line if VPATH becomes empty
11870
# (actually we leave an empty line to preserve line numbers).
5585
11871
if test "x$srcdir" = x.; then
5586
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
11872
ac_vpsub='/^[ ]*VPATH[ ]*=/{
11873
s/:*\$(srcdir):*/:/;
11874
s/:*\${srcdir}:*/:/;
11876
s/^\([^=]*=[ ]*\):*/\1/;
5589
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5591
11882
DEFS=-DHAVE_CONFIG_H
5593
# Without the "./", some shells look in PATH for config.status.
11886
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11887
# 1. Remove the extension, and $U if already installed.
11888
ac_i=`echo "$ac_i" |
11889
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11891
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11892
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11894
LIBOBJS=$ac_libobjs
11896
LTLIBOBJS=$ac_ltlibobjs
11899
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11900
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11901
Usually this means the macro was only invoked conditionally." >&5
11902
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11903
Usually this means the macro was only invoked conditionally." >&2;}
11904
{ (exit 1); exit 1; }; }
11906
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11907
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11908
Usually this means the macro was only invoked conditionally." >&5
11909
echo "$as_me: error: conditional \"AMDEP\" was never defined.
11910
Usually this means the macro was only invoked conditionally." >&2;}
11911
{ (exit 1); exit 1; }; }
5594
11914
: ${CONFIG_STATUS=./config.status}
5596
echo creating $CONFIG_STATUS
5597
rm -f $CONFIG_STATUS
5598
cat > $CONFIG_STATUS <<EOF
5600
# Generated automatically by configure.
11915
ac_clean_files_save=$ac_clean_files
11916
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11917
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11918
echo "$as_me: creating $CONFIG_STATUS" >&6;}
11919
cat >$CONFIG_STATUS <<_ACEOF
11921
# Generated by $as_me.
5601
11922
# Run this file to recreate the current configuration.
5602
# This directory was configured as follows,
5603
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5605
# $0 $ac_configure_args
5607
11923
# Compiler output produced by configure, useful for debugging
5608
# configure, is in ./config.log if it exists.
5610
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5613
case "\$ac_option" in
11924
# configure, is in config.log if it exists.
11927
SHELL=\${CONFIG_SHELL-$SHELL}
11930
cat >>$CONFIG_STATUS <<\_ACEOF
11931
## --------------------- ##
11932
## M4sh Initialization. ##
11933
## --------------------- ##
11935
# Be Bourne compatible
11936
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11939
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11940
# is contrary to our usage. Disable this feature.
11941
alias -g '${1+"$@"}'='"$@"'
11942
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11946
# Support unset when possible.
11947
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
11954
# Work around bugs in pre-3.0 UWIN ksh.
11955
$as_unset ENV MAIL MAILPATH
11961
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
11963
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
11964
eval $as_var=C; export $as_var
11970
# Required to use basename.
11971
if expr a : '\(a\)' >/dev/null 2>&1; then
11977
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11978
as_basename=basename
11984
# Name of the executable.
11985
as_me=`$as_basename "$0" ||
11986
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11987
X"$0" : 'X\(//\)$' \| \
11988
X"$0" : 'X\(/\)$' \| \
11989
. : '\(.\)' 2>/dev/null ||
11991
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11992
/^X\/\(\/\/\)$/{ s//\1/; q; }
11993
/^X\/\(\/\).*/{ s//\1/; q; }
11997
# PATH needs CR, and LINENO needs CR and PATH.
11998
# Avoid depending upon Character Ranges.
11999
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12000
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12001
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12002
as_cr_digits='0123456789'
12003
as_cr_alnum=$as_cr_Letters$as_cr_digits
12005
# The user is always right.
12006
if test "${PATH_SEPARATOR+set}" != set; then
12007
echo "#! /bin/sh" >conftest.sh
12008
echo "exit 0" >>conftest.sh
12009
chmod +x conftest.sh
12010
if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
12019
as_lineno_1=$LINENO
12020
as_lineno_2=$LINENO
12021
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12022
test "x$as_lineno_1" != "x$as_lineno_2" &&
12023
test "x$as_lineno_3" = "x$as_lineno_2" || {
12024
# Find who we are. Look in the path if we contain no path at all
12027
*[\\/]* ) as_myself=$0 ;;
12028
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029
for as_dir in $PATH
12032
test -z "$as_dir" && as_dir=.
12033
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12038
# We did not find ourselves, most probably we were run as `sh COMMAND'
12039
# in which case we are not to be found in the path.
12040
if test "x$as_myself" = x; then
12043
if test ! -f "$as_myself"; then
12044
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12045
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12046
{ (exit 1); exit 1; }; }
12048
case $CONFIG_SHELL in
12050
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12051
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12054
test -z "$as_dir" && as_dir=.
12055
for as_base in sh bash ksh sh5; do
12058
if ("$as_dir/$as_base" -c '
12059
as_lineno_1=$LINENO
12060
as_lineno_2=$LINENO
12061
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12062
test "x$as_lineno_1" != "x$as_lineno_2" &&
12063
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12064
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12065
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12066
CONFIG_SHELL=$as_dir/$as_base
12067
export CONFIG_SHELL
12068
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12076
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12077
# uniformly replaced by the line number. The first 'sed' inserts a
12078
# line-number line before each line; the second 'sed' does the real
12079
# work. The second script uses 'N' to pair each line-number line
12080
# with the numbered line, and appends trailing '-' during
12081
# substitution so that $LINENO is not a special case at line end.
12082
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12083
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12084
sed '=' <$as_myself |
12089
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12092
s,^['$as_cr_digits']*\n,,
12093
' >$as_me.lineno &&
12094
chmod +x $as_me.lineno ||
12095
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12096
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12097
{ (exit 1); exit 1; }; }
12099
# Don't try to exec as it changes $[0], causing all sort of problems
12100
# (the dirname of $[0] is not the place where we might find the
12101
# original and so on. Autoconf is especially sensible to this).
12103
# Exit status is that of the last command.
12108
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12109
*c*,-n*) ECHO_N= ECHO_C='
12111
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12112
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12115
if expr a : '\(a\)' >/dev/null 2>&1; then
12121
rm -f conf$$ conf$$.exe conf$$.file
12123
if ln -s conf$$.file conf$$ 2>/dev/null; then
12124
# We could just check for DJGPP; but this test a) works b) is more generic
12125
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12126
if test -f conf$$.exe; then
12127
# Don't use ln at all; we don't have any links
12132
elif ln conf$$.file conf$$ 2>/dev/null; then
12137
rm -f conf$$ conf$$.exe conf$$.file
12139
if mkdir -p . 2>/dev/null; then
12145
as_executable_p="test -f"
12147
# Sed expression to map a string onto a valid CPP name.
12148
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
12150
# Sed expression to map a string onto a valid variable name.
12151
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
12155
# We need space, tab and new line, in precisely that order.
12165
# Open the log real soon, to keep \$[0] and so on meaningful, and to
12166
# report actual input values of CONFIG_FILES etc. instead of their
12167
# values after options handling. Logging --version etc. is OK.
12171
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12172
## Running $as_me. ##
12177
This file was extended by $as_me, which was
12178
generated by GNU Autoconf 2.54. Invocation command line was
12180
CONFIG_FILES = $CONFIG_FILES
12181
CONFIG_HEADERS = $CONFIG_HEADERS
12182
CONFIG_LINKS = $CONFIG_LINKS
12183
CONFIG_COMMANDS = $CONFIG_COMMANDS
12187
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12191
# Files that config.status was made for.
12192
if test -n "$ac_config_files"; then
12193
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12196
if test -n "$ac_config_headers"; then
12197
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12200
if test -n "$ac_config_links"; then
12201
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12204
if test -n "$ac_config_commands"; then
12205
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12208
cat >>$CONFIG_STATUS <<\_ACEOF
12211
\`$as_me' instantiates files from templates according to the
12212
current configuration.
12214
Usage: $0 [OPTIONS] [FILE]...
12216
-h, --help print this help, then exit
12217
-V, --version print version number, then exit
12218
-d, --debug don't remove temporary files
12219
--recheck update $as_me by reconfiguring in the same conditions
12220
--file=FILE[:TEMPLATE]
12221
instantiate the configuration file FILE
12222
--header=FILE[:TEMPLATE]
12223
instantiate the configuration header FILE
12225
Configuration files:
12228
Configuration headers:
12231
Configuration commands:
12234
Report bugs to <bug-autoconf@gnu.org>."
12237
cat >>$CONFIG_STATUS <<_ACEOF
12240
configured by $0, generated by GNU Autoconf 2.54,
12241
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12243
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
12244
Free Software Foundation, Inc.
12245
This config.status script is free software; the Free Software Foundation
12246
gives unlimited permission to copy, distribute and modify it."
12251
cat >>$CONFIG_STATUS <<\_ACEOF
12252
# If no file are specified by the user, then we need to provide default
12253
# value. By we need to know if files were specified by the user.
12259
ac_option=`expr "x$1" : 'x\([^=]*\)='`
12260
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12268
*) # This is not an option, so the user has probably given explicit
12271
ac_need_defaults=false;;
12275
# Handling of the options.
12277
cat >>$CONFIG_STATUS <<_ACEOF
5614
12278
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5615
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5616
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
5617
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5618
echo "$CONFIG_STATUS generated by autoconf version 2.13"
5620
-help | --help | --hel | --he | --h)
5621
echo "\$ac_cs_usage"; exit 0 ;;
5622
*) echo "\$ac_cs_usage"; exit 1 ;;
5626
ac_given_srcdir=$srcdir
5627
ac_given_INSTALL="$INSTALL"
5629
trap 'rm -fr `echo "
5631
libexif-gtk/Makefile
5632
libexif-gtk/libexif-gtk.pc
5633
gtk-extensions/Makefile
5634
config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5636
cat >> $CONFIG_STATUS <<EOF
5638
# Protect against being on the right side of a sed subst in config.status.
5639
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5640
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12279
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
12280
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
12282
cat >>$CONFIG_STATUS <<\_ACEOF
12283
--version | --vers* | -V )
12284
echo "$ac_cs_version"; exit 0 ;;
12286
# Conflict between --help and --header
12287
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
12288
Try \`$0 --help' for more information." >&5
12289
echo "$as_me: error: ambiguous option: $1
12290
Try \`$0 --help' for more information." >&2;}
12291
{ (exit 1); exit 1; }; };;
12292
--help | --hel | -h )
12293
echo "$ac_cs_usage"; exit 0 ;;
12294
--debug | --d* | -d )
12296
--file | --fil | --fi | --f )
12298
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12299
ac_need_defaults=false;;
12300
--header | --heade | --head | --hea )
12302
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12303
ac_need_defaults=false;;
12305
# This is an error.
12306
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12307
Try \`$0 --help' for more information." >&5
12308
echo "$as_me: error: unrecognized option: $1
12309
Try \`$0 --help' for more information." >&2;}
12310
{ (exit 1); exit 1; }; } ;;
12312
*) ac_config_targets="$ac_config_targets $1" ;;
12320
cat >>$CONFIG_STATUS <<_ACEOF
12322
# INIT-COMMANDS section.
12325
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12326
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
12327
# POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12329
eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
12330
# Capture the value of LINGUAS because we need it to compute CATALOGS.
12331
LINGUAS="${LINGUAS-%UNSET%}"
12338
cat >>$CONFIG_STATUS <<\_ACEOF
12339
for ac_config_target in $ac_config_targets
12341
case "$ac_config_target" in
12342
# Handling of arguments.
12343
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
12344
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
12345
"m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
12346
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12347
"libexif-gtk/Makefile" ) CONFIG_FILES="$CONFIG_FILES libexif-gtk/Makefile" ;;
12348
"libexif-gtk/libexif-gtk.pc" ) CONFIG_FILES="$CONFIG_FILES libexif-gtk/libexif-gtk.pc" ;;
12349
"gtk-extensions/Makefile" ) CONFIG_FILES="$CONFIG_FILES gtk-extensions/Makefile" ;;
12350
"tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12351
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12352
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12353
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12354
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12355
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12356
{ (exit 1); exit 1; }; };;
12360
# If the user did not use the arguments to specify the items to instantiate,
12361
# then the envvar interface is used. Set only those that are not.
12362
# We use the long form for the default assignment because of an extremely
12363
# bizarre bug on SunOS 4.1.3.
12364
if $ac_need_defaults; then
12365
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12366
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12367
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12370
# Create a temporary directory, and hook for its removal unless debugging.
12373
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12374
trap '{ (exit 1); exit 1; }' 1 2 13 15
12377
# Create a (secure) tmp directory for tmp files.
12380
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
12381
test -n "$tmp" && test -d "$tmp"
12384
tmp=$TMPDIR/cs$$-$RANDOM
12385
(umask 077 && mkdir $tmp)
12388
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
12389
{ (exit 1); exit 1; }
12394
cat >>$CONFIG_STATUS <<_ACEOF
12397
# CONFIG_FILES section.
12400
# No need to generate the scripts if there are no CONFIG_FILES.
12401
# This happens for instance when ./config.status config.h
12402
if test -n "\$CONFIG_FILES"; then
12403
# Protect against being on the right side of a sed subst in config.status.
12404
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12405
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12406
s,@SHELL@,$SHELL,;t t
12407
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12408
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12409
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12410
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12411
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12412
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12413
s,@exec_prefix@,$exec_prefix,;t t
12414
s,@prefix@,$prefix,;t t
12415
s,@program_transform_name@,$program_transform_name,;t t
12416
s,@bindir@,$bindir,;t t
12417
s,@sbindir@,$sbindir,;t t
12418
s,@libexecdir@,$libexecdir,;t t
12419
s,@datadir@,$datadir,;t t
12420
s,@sysconfdir@,$sysconfdir,;t t
12421
s,@sharedstatedir@,$sharedstatedir,;t t
12422
s,@localstatedir@,$localstatedir,;t t
12423
s,@libdir@,$libdir,;t t
12424
s,@includedir@,$includedir,;t t
12425
s,@oldincludedir@,$oldincludedir,;t t
12426
s,@infodir@,$infodir,;t t
12427
s,@mandir@,$mandir,;t t
12428
s,@build_alias@,$build_alias,;t t
12429
s,@host_alias@,$host_alias,;t t
12430
s,@target_alias@,$target_alias,;t t
12431
s,@DEFS@,$DEFS,;t t
12432
s,@ECHO_C@,$ECHO_C,;t t
12433
s,@ECHO_N@,$ECHO_N,;t t
12434
s,@ECHO_T@,$ECHO_T,;t t
12435
s,@LIBS@,$LIBS,;t t
12436
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12437
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12438
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12439
s,@PACKAGE@,$PACKAGE,;t t
12440
s,@VERSION@,$VERSION,;t t
12441
s,@ACLOCAL@,$ACLOCAL,;t t
12442
s,@AUTOCONF@,$AUTOCONF,;t t
12443
s,@AUTOMAKE@,$AUTOMAKE,;t t
12444
s,@AUTOHEADER@,$AUTOHEADER,;t t
12445
s,@MAKEINFO@,$MAKEINFO,;t t
12446
s,@AMTAR@,$AMTAR,;t t
12447
s,@install_sh@,$install_sh,;t t
12448
s,@STRIP@,$STRIP,;t t
12449
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12450
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12452
s,@SET_MAKE@,$SET_MAKE,;t t
12453
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12454
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12455
s,@MAINT@,$MAINT,;t t
12457
s,@CFLAGS@,$CFLAGS,;t t
12458
s,@LDFLAGS@,$LDFLAGS,;t t
12459
s,@CPPFLAGS@,$CPPFLAGS,;t t
12460
s,@ac_ct_CC@,$ac_ct_CC,;t t
12461
s,@EXEEXT@,$EXEEXT,;t t
12462
s,@OBJEXT@,$OBJEXT,;t t
12463
s,@DEPDIR@,$DEPDIR,;t t
12464
s,@am__include@,$am__include,;t t
12465
s,@am__quote@,$am__quote,;t t
12466
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12467
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12468
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12469
s,@CCDEPMODE@,$CCDEPMODE,;t t
12471
s,@EGREP@,$EGREP,;t t
12472
s,@LIBEXIF_GTK_AGE@,$LIBEXIF_GTK_AGE,;t t
12473
s,@LIBEXIF_GTK_REVISION@,$LIBEXIF_GTK_REVISION,;t t
12474
s,@LIBEXIF_GTK_CURRENT@,$LIBEXIF_GTK_CURRENT,;t t
12475
s,@LIBEXIF_GTK_VERSION_INFO@,$LIBEXIF_GTK_VERSION_INFO,;t t
12476
s,@build@,$build,;t t
12477
s,@build_cpu@,$build_cpu,;t t
12478
s,@build_vendor@,$build_vendor,;t t
12479
s,@build_os@,$build_os,;t t
12480
s,@host@,$host,;t t
12481
s,@host_cpu@,$host_cpu,;t t
12482
s,@host_vendor@,$host_vendor,;t t
12483
s,@host_os@,$host_os,;t t
12484
s,@LN_S@,$LN_S,;t t
12485
s,@ECHO@,$ECHO,;t t
12486
s,@RANLIB@,$RANLIB,;t t
12487
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12488
s,@LIBTOOL@,$LIBTOOL,;t t
12489
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12490
s,@MSGFMT@,$MSGFMT,;t t
12491
s,@GMSGFMT@,$GMSGFMT,;t t
12492
s,@XGETTEXT@,$XGETTEXT,;t t
12493
s,@MSGMERGE@,$MSGMERGE,;t t
12494
s,@ALLOCA@,$ALLOCA,;t t
12495
s,@GLIBC21@,$GLIBC21,;t t
12496
s,@LIBICONV@,$LIBICONV,;t t
12497
s,@LTLIBICONV@,$LTLIBICONV,;t t
12498
s,@INTLBISON@,$INTLBISON,;t t
12499
s,@USE_NLS@,$USE_NLS,;t t
12500
s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
12501
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12502
s,@CATOBJEXT@,$CATOBJEXT,;t t
12503
s,@INTLOBJS@,$INTLOBJS,;t t
12504
s,@DATADIRNAME@,$DATADIRNAME,;t t
12505
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12506
s,@GENCAT@,$GENCAT,;t t
12507
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
12508
s,@INTLLIBS@,$INTLLIBS,;t t
12509
s,@LIBINTL@,$LIBINTL,;t t
12510
s,@LTLIBINTL@,$LTLIBINTL,;t t
12511
s,@POSUB@,$POSUB,;t t
12512
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12513
s,@LIBEXIF_GTK_CFLAGS@,$LIBEXIF_GTK_CFLAGS,;t t
12514
s,@LIBEXIF_GTK_LIBS@,$LIBEXIF_GTK_LIBS,;t t
12515
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
12516
s,@GTK_LIBS@,$GTK_LIBS,;t t
12517
s,@LIBOBJS@,$LIBOBJS,;t t
12518
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12523
cat >>$CONFIG_STATUS <<\_ACEOF
12524
# Split the substitutions into bite-sized pieces for seds with
12525
# small command number limits, like on Digital OSF/1 and HP-UX.
12526
ac_max_sed_lines=48
12527
ac_sed_frag=1 # Number of current file.
12528
ac_beg=1 # First line for current file.
12529
ac_end=$ac_max_sed_lines # Line after last line for current file.
12532
while $ac_more_lines; do
12533
if test $ac_beg -gt 1; then
12534
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12536
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12538
if test ! -s $tmp/subs.frag; then
12539
ac_more_lines=false
12541
# The purpose of the label and of the branching condition is to
12542
# speed up the sed processing (if there are no `@' at all, there
12543
# is no need to browse any of the substitutions).
12544
# These are the two extra sed commands mentioned above.
12546
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12547
if test -z "$ac_sed_cmds"; then
12548
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12550
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12552
ac_sed_frag=`expr $ac_sed_frag + 1`
12554
ac_end=`expr $ac_end + $ac_max_sed_lines`
12557
if test -z "$ac_sed_cmds"; then
12560
fi # test -n "$CONFIG_FILES"
12563
cat >>$CONFIG_STATUS <<\_ACEOF
12564
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12565
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12567
- | *:- | *:-:* ) # input from stdin
12569
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12570
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12571
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12572
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12573
* ) ac_file_in=$ac_file.in ;;
12576
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12577
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12578
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12579
X"$ac_file" : 'X\(//\)[^/]' \| \
12580
X"$ac_file" : 'X\(//\)$' \| \
12581
X"$ac_file" : 'X\(/\)' \| \
12582
. : '\(.\)' 2>/dev/null ||
12584
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12585
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
12586
/^X\(\/\/\)$/{ s//\1/; q; }
12587
/^X\(\/\).*/{ s//\1/; q; }
12589
{ if $as_mkdir_p; then
12594
while test ! -d "$as_dir"; do
12595
as_dirs="$as_dir $as_dirs"
12596
as_dir=`(dirname "$as_dir") 2>/dev/null ||
12597
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12598
X"$as_dir" : 'X\(//\)[^/]' \| \
12599
X"$as_dir" : 'X\(//\)$' \| \
12600
X"$as_dir" : 'X\(/\)' \| \
12601
. : '\(.\)' 2>/dev/null ||
12603
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12604
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
12605
/^X\(\/\/\)$/{ s//\1/; q; }
12606
/^X\(\/\).*/{ s//\1/; q; }
12609
test ! -n "$as_dirs" || mkdir $as_dirs
12610
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12611
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12612
{ (exit 1); exit 1; }; }; }
12616
if test "$ac_dir" != .; then
12617
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12618
# A "../" for each directory in $ac_dir_suffix.
12619
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12621
ac_dir_suffix= ac_top_builddir=
12625
.) # No --srcdir option. We are building in place.
12627
if test -z "$ac_top_builddir"; then
12630
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12632
[\\/]* | ?:[\\/]* ) # Absolute path.
12633
ac_srcdir=$srcdir$ac_dir_suffix;
12634
ac_top_srcdir=$srcdir ;;
12635
*) # Relative path.
12636
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12637
ac_top_srcdir=$ac_top_builddir$srcdir ;;
12639
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12641
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
12642
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
12643
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
12644
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12648
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12649
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12652
if test x"$ac_file" != x-; then
12653
{ echo "$as_me:$LINENO: creating $ac_file" >&5
12654
echo "$as_me: creating $ac_file" >&6;}
12657
# Let's still pretend it is `configure' which instantiates (i.e., don't
12658
# use $as_me), people would be surprised to read:
12659
# /* config.h. Generated by config.status. */
12660
if test x"$ac_file" = x-; then
12663
configure_input="$ac_file. "
12665
configure_input=$configure_input"Generated from `echo $ac_file_in |
12666
sed 's,.*/,,'` by configure."
12668
# First look for the input files in the build tree, otherwise in the
12670
ac_file_inputs=`IFS=:
12671
for f in $ac_file_in; do
12673
-) echo $tmp/stdin ;;
12675
# Absolute (can't be DOS-style, as IFS=:)
12676
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12677
echo "$as_me: error: cannot find input file: $f" >&2;}
12678
{ (exit 1); exit 1; }; }
12681
if test -f "$f"; then
12684
elif test -f "$srcdir/$f"; then
12689
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12690
echo "$as_me: error: cannot find input file: $f" >&2;}
12691
{ (exit 1); exit 1; }; }
12694
done` || { (exit 1); exit 1; }
12696
cat >>$CONFIG_STATUS <<_ACEOF
5644
s%@CFLAGS@%$CFLAGS%g
5645
s%@CPPFLAGS@%$CPPFLAGS%g
5646
s%@CXXFLAGS@%$CXXFLAGS%g
5647
s%@FFLAGS@%$FFLAGS%g
5649
s%@LDFLAGS@%$LDFLAGS%g
5651
s%@exec_prefix@%$exec_prefix%g
5652
s%@prefix@%$prefix%g
5653
s%@program_transform_name@%$program_transform_name%g
5654
s%@bindir@%$bindir%g
5655
s%@sbindir@%$sbindir%g
5656
s%@libexecdir@%$libexecdir%g
5657
s%@datadir@%$datadir%g
5658
s%@sysconfdir@%$sysconfdir%g
5659
s%@sharedstatedir@%$sharedstatedir%g
5660
s%@localstatedir@%$localstatedir%g
5661
s%@libdir@%$libdir%g
5662
s%@includedir@%$includedir%g
5663
s%@oldincludedir@%$oldincludedir%g
5664
s%@infodir@%$infodir%g
5665
s%@mandir@%$mandir%g
5666
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
5667
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
5668
s%@INSTALL_DATA@%$INSTALL_DATA%g
5669
s%@PACKAGE@%$PACKAGE%g
5670
s%@VERSION@%$VERSION%g
5671
s%@ACLOCAL@%$ACLOCAL%g
5672
s%@AUTOCONF@%$AUTOCONF%g
5673
s%@AUTOMAKE@%$AUTOMAKE%g
5674
s%@AUTOHEADER@%$AUTOHEADER%g
5675
s%@MAKEINFO@%$MAKEINFO%g
5676
s%@SET_MAKE@%$SET_MAKE%g
5677
s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
5678
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
5680
s%@LIBEXIF_GTK_AGE@%$LIBEXIF_GTK_AGE%g
5681
s%@LIBEXIF_GTK_REVISION@%$LIBEXIF_GTK_REVISION%g
5682
s%@LIBEXIF_GTK_CURRENT@%$LIBEXIF_GTK_CURRENT%g
5684
s%@host_alias@%$host_alias%g
5685
s%@host_cpu@%$host_cpu%g
5686
s%@host_vendor@%$host_vendor%g
5687
s%@host_os@%$host_os%g
5689
s%@build_alias@%$build_alias%g
5690
s%@build_cpu@%$build_cpu%g
5691
s%@build_vendor@%$build_vendor%g
5692
s%@build_os@%$build_os%g
5695
s%@OBJEXT@%$OBJEXT%g
5696
s%@EXEEXT@%$EXEEXT%g
5698
s%@RANLIB@%$RANLIB%g
5701
s%@LIBTOOL@%$LIBTOOL%g
5702
s%@PKG_CONFIG@%$PKG_CONFIG%g
5703
s%@LIBEXIF_GTK_CFLAGS@%$LIBEXIF_GTK_CFLAGS%g
5704
s%@LIBEXIF_GTK_LIBS@%$LIBEXIF_GTK_LIBS%g
5705
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
5706
s%@GTK_LIBS@%$GTK_LIBS%g
5707
s%@GDK_PIXBUF_CONFIG@%$GDK_PIXBUF_CONFIG%g
5708
s%@GDK_PIXBUF_CFLAGS@%$GDK_PIXBUF_CFLAGS%g
5709
s%@GDK_PIXBUF_LIBS@%$GDK_PIXBUF_LIBS%g
5714
cat >> $CONFIG_STATUS <<\EOF
5716
# Split the substitutions into bite-sized pieces for seds with
5717
# small command number limits, like on Digital OSF/1 and HP-UX.
5718
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
5719
ac_file=1 # Number of current file.
5720
ac_beg=1 # First line for current file.
5721
ac_end=$ac_max_sed_cmds # Line after last line for current file.
5724
while $ac_more_lines; do
5725
if test $ac_beg -gt 1; then
5726
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
5728
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
5730
if test ! -s conftest.s$ac_file; then
5732
rm -f conftest.s$ac_file
5734
if test -z "$ac_sed_cmds"; then
5735
ac_sed_cmds="sed -f conftest.s$ac_file"
5737
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
5739
ac_file=`expr $ac_file + 1`
5741
ac_end=`expr $ac_end + $ac_max_sed_cmds`
12700
cat >>$CONFIG_STATUS <<\_ACEOF
12702
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12703
s,@configure_input@,$configure_input,;t t
12704
s,@srcdir@,$ac_srcdir,;t t
12705
s,@abs_srcdir@,$ac_abs_srcdir,;t t
12706
s,@top_srcdir@,$ac_top_srcdir,;t t
12707
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12708
s,@builddir@,$ac_builddir,;t t
12709
s,@abs_builddir@,$ac_abs_builddir,;t t
12710
s,@top_builddir@,$ac_top_builddir,;t t
12711
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12712
s,@INSTALL@,$ac_INSTALL,;t t
12713
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12715
if test x"$ac_file" != x-; then
12716
mv $tmp/out $ac_file
5744
if test -z "$ac_sed_cmds"; then
5749
cat >> $CONFIG_STATUS <<EOF
5751
CONFIG_FILES=\${CONFIG_FILES-"Makefile
5752
libexif-gtk/Makefile
5753
libexif-gtk/libexif-gtk.pc
5754
gtk-extensions/Makefile
5757
cat >> $CONFIG_STATUS <<\EOF
5758
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
5759
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5761
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5762
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5763
*) ac_file_in="${ac_file}.in" ;;
5766
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5768
# Remove last slash and all that follows it. Not all systems have dirname.
5769
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5770
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5771
# The file is in a subdirectory.
5772
test ! -d "$ac_dir" && mkdir "$ac_dir"
5773
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
5774
# A "../" for each directory in $ac_dir_suffix.
5775
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5777
ac_dir_suffix= ac_dots=
5780
case "$ac_given_srcdir" in
5782
if test -z "$ac_dots"; then top_srcdir=.
5783
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5784
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
5786
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
5787
top_srcdir="$ac_dots$ac_given_srcdir" ;;
5790
case "$ac_given_INSTALL" in
5791
[/$]*) INSTALL="$ac_given_INSTALL" ;;
5792
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
5795
echo creating "$ac_file"
5797
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5799
*Makefile*) ac_comsub="1i\\
5800
# $configure_input" ;;
5804
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5806
s%@configure_input@%$configure_input%g
5807
s%@srcdir@%$srcdir%g
5808
s%@top_srcdir@%$top_srcdir%g
5809
s%@INSTALL@%$INSTALL%g
5810
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12724
cat >>$CONFIG_STATUS <<\_ACEOF
12727
# CONFIG_HEADER section.
5814
12730
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5815
12731
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5817
12733
# ac_d sets the value in "#define NAME VALUE" lines.
5818
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5819
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
5822
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5823
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5824
ac_uB='\([ ]\)%\1#\2define\3'
12734
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12735
ac_dB='[ ].*$,\1#\2'
12738
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12739
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12740
ac_uB='$,\1#\2define\3'
5827
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5828
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5829
ac_eB='$%\1#\2define\3'
5833
if test "${CONFIG_HEADERS+set}" != set; then
5835
cat >> $CONFIG_STATUS <<EOF
5836
CONFIG_HEADERS="config.h"
5838
cat >> $CONFIG_STATUS <<\EOF
5840
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
12744
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5841
12745
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5843
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
5844
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5845
*) ac_file_in="${ac_file}.in" ;;
12747
- | *:- | *:-:* ) # input from stdin
12749
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12750
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12751
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12752
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12753
* ) ac_file_in=$ac_file.in ;;
5848
echo creating $ac_file
5850
rm -f conftest.frag conftest.in conftest.out
5851
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5852
cat $ac_file_inputs > conftest.in
5856
# Transform confdefs.h into a sed script conftest.vals that substitutes
5857
# the proper values into config.h.in to produce config.h. And first:
5858
# Protect against being on the right side of a sed subst in config.status.
5859
# Protect against being in an unquoted here document in config.status.
5861
cat > conftest.hdr <<\EOF
5864
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5868
sed -n -f conftest.hdr confdefs.h > conftest.vals
12756
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12757
echo "$as_me: creating $ac_file" >&6;}
12759
# First look for the input files in the build tree, otherwise in the
12761
ac_file_inputs=`IFS=:
12762
for f in $ac_file_in; do
12764
-) echo $tmp/stdin ;;
12766
# Absolute (can't be DOS-style, as IFS=:)
12767
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12768
echo "$as_me: error: cannot find input file: $f" >&2;}
12769
{ (exit 1); exit 1; }; }
12772
if test -f "$f"; then
12775
elif test -f "$srcdir/$f"; then
12780
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12781
echo "$as_me: error: cannot find input file: $f" >&2;}
12782
{ (exit 1); exit 1; }; }
12785
done` || { (exit 1); exit 1; }
12786
# Remove the trailing spaces.
12787
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12791
# Transform confdefs.h into two sed scripts, `conftest.defines' and
12792
# `conftest.undefs', that substitutes the proper values into
12793
# config.h.in to produce config.h. The first handles `#define'
12794
# templates, and the second `#undef' templates.
12795
# And first: Protect against being on the right side of a sed subst in
12796
# config.status. Protect against being in an unquoted here document
12797
# in config.status.
12798
rm -f conftest.defines conftest.undefs
12799
# Using a here document instead of a string reduces the quoting nightmare.
12800
# Putting comments in sed scripts is not portable.
12802
# `end' is used to avoid that the second main sed command (meant for
12803
# 0-ary CPP macros) applies to n-ary macro definitions.
12804
# See the Autoconf documentation for `clear'.
12805
cat >confdef2sed.sed <<\_ACEOF
12810
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12812
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12815
# If some macros were called several times there might be several times
12816
# the same #defines, which is useless. Nevertheless, we may not want to
12817
# sort them, since we want the *last* AC-DEFINE to be honored.
12818
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12819
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12820
rm -f confdef2sed.sed
5871
12822
# This sed command replaces #undef with comments. This is necessary, for
5872
12823
# example, in the case of _POSIX_SOURCE, which is predefined and required
5873
12824
# on some systems where configure will not decide to define it.
5874
cat >> conftest.vals <<\EOF
5875
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5878
# Break up conftest.vals because some shells have a limit on
5879
# the size of here documents, and old seds have small limits too.
5884
ac_lines=`grep -c . conftest.vals`
5885
# grep -c gives empty output for an empty file on some AIX systems.
5886
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5887
# Write a limited-size here document to conftest.frag.
5888
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5889
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5891
sed -f conftest.frag conftest.in > conftest.out
5893
mv conftest.out conftest.in
5895
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5897
mv conftest.tail conftest.vals
5901
cat >> $CONFIG_STATUS <<\EOF
5902
rm -f conftest.frag conftest.h
5903
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5904
cat conftest.in >> conftest.h
5906
if cmp -s $ac_file conftest.h 2>/dev/null; then
5907
echo "$ac_file is unchanged"
5910
# Remove last slash and all that follows it. Not all systems have dirname.
5911
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5912
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5913
# The file is in a subdirectory.
5914
test ! -d "$ac_dir" && mkdir "$ac_dir"
12825
cat >>conftest.undefs <<\_ACEOF
12826
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12829
# Break up conftest.defines because some shells have a limit on the size
12830
# of here documents, and old seds have small limits too (100 cmds).
12831
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12832
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12833
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12834
echo ' :' >>$CONFIG_STATUS
12835
rm -f conftest.tail
12836
while grep . conftest.defines >/dev/null
12838
# Write a limited-size here document to $tmp/defines.sed.
12839
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12840
# Speed up: don't consider the non `#define' lines.
12841
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12842
# Work around the forget-to-reset-the-flag bug.
12843
echo 't clr' >>$CONFIG_STATUS
12844
echo ': clr' >>$CONFIG_STATUS
12845
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12847
sed -f $tmp/defines.sed $tmp/in >$tmp/out
12849
mv $tmp/out $tmp/in
12851
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12852
rm -f conftest.defines
12853
mv conftest.tail conftest.defines
12855
rm -f conftest.defines
12856
echo ' fi # grep' >>$CONFIG_STATUS
12857
echo >>$CONFIG_STATUS
12859
# Break up conftest.undefs because some shells have a limit on the size
12860
# of here documents, and old seds have small limits too (100 cmds).
12861
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12862
rm -f conftest.tail
12863
while grep . conftest.undefs >/dev/null
12865
# Write a limited-size here document to $tmp/undefs.sed.
12866
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12867
# Speed up: don't consider the non `#undef'
12868
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12869
# Work around the forget-to-reset-the-flag bug.
12870
echo 't clr' >>$CONFIG_STATUS
12871
echo ': clr' >>$CONFIG_STATUS
12872
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12874
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12876
mv $tmp/out $tmp/in
12878
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12879
rm -f conftest.undefs
12880
mv conftest.tail conftest.undefs
12882
rm -f conftest.undefs
12884
cat >>$CONFIG_STATUS <<\_ACEOF
12885
# Let's still pretend it is `configure' which instantiates (i.e., don't
12886
# use $as_me), people would be surprised to read:
12887
# /* config.h. Generated by config.status. */
12888
if test x"$ac_file" = x-; then
12889
echo "/* Generated by configure. */" >$tmp/config.h
12891
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12893
cat $tmp/in >>$tmp/config.h
12895
if test x"$ac_file" != x-; then
12896
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
12897
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12898
echo "$as_me: $ac_file is unchanged" >&6;}
12900
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12901
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12902
X"$ac_file" : 'X\(//\)[^/]' \| \
12903
X"$ac_file" : 'X\(//\)$' \| \
12904
X"$ac_file" : 'X\(/\)' \| \
12905
. : '\(.\)' 2>/dev/null ||
12907
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12908
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
12909
/^X\(\/\/\)$/{ s//\1/; q; }
12910
/^X\(\/\).*/{ s//\1/; q; }
12912
{ if $as_mkdir_p; then
12917
while test ! -d "$as_dir"; do
12918
as_dirs="$as_dir $as_dirs"
12919
as_dir=`(dirname "$as_dir") 2>/dev/null ||
12920
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12921
X"$as_dir" : 'X\(//\)[^/]' \| \
12922
X"$as_dir" : 'X\(//\)$' \| \
12923
X"$as_dir" : 'X\(/\)' \| \
12924
. : '\(.\)' 2>/dev/null ||
12926
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12927
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
12928
/^X\(\/\/\)$/{ s//\1/; q; }
12929
/^X\(\/\).*/{ s//\1/; q; }
12932
test ! -n "$as_dirs" || mkdir $as_dirs
12933
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12934
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12935
{ (exit 1); exit 1; }; }; }
12938
mv $tmp/config.h $ac_file
5917
mv conftest.h $ac_file
5922
cat >> $CONFIG_STATUS <<EOF
5926
cat >> $CONFIG_STATUS <<\EOF
5927
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
12942
rm -f $tmp/config.h
12944
# Run the commands associated with the file.
12946
config.h ) # update the timestamp
12947
echo 'timestamp for config.h' >"./stamp-h1"
12952
cat >>$CONFIG_STATUS <<\_ACEOF
12955
# CONFIG_COMMANDS section.
12957
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12958
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12959
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12960
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12961
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12962
X"$ac_dest" : 'X\(//\)[^/]' \| \
12963
X"$ac_dest" : 'X\(//\)$' \| \
12964
X"$ac_dest" : 'X\(/\)' \| \
12965
. : '\(.\)' 2>/dev/null ||
12967
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12968
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
12969
/^X\(\/\/\)$/{ s//\1/; q; }
12970
/^X\(\/\).*/{ s//\1/; q; }
12974
if test "$ac_dir" != .; then
12975
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12976
# A "../" for each directory in $ac_dir_suffix.
12977
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12979
ac_dir_suffix= ac_top_builddir=
12983
.) # No --srcdir option. We are building in place.
12985
if test -z "$ac_top_builddir"; then
12988
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12990
[\\/]* | ?:[\\/]* ) # Absolute path.
12991
ac_srcdir=$srcdir$ac_dir_suffix;
12992
ac_top_srcdir=$srcdir ;;
12993
*) # Relative path.
12994
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12995
ac_top_srcdir=$ac_top_builddir$srcdir ;;
12997
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12999
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
13000
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
13001
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
13002
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
13005
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13006
echo "$as_me: executing $ac_dest commands" >&6;}
13008
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13009
# Strip MF so we end up with the name of the file.
13010
mf=`echo "$mf" | sed -e 's/:.*$//'`
13011
# Check whether this is an Automake generated Makefile or not.
13012
# We used to match only the files named `Makefile.in', but
13013
# some people rename them; so instead we look at the file content.
13014
# Grep'ing the first line is not enough: some people post-process
13015
# each Makefile.in and add a new line on top of each file to say so.
13016
# So let's grep whole file.
13017
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13018
dirpart=`(dirname "$mf") 2>/dev/null ||
13019
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13020
X"$mf" : 'X\(//\)[^/]' \| \
13021
X"$mf" : 'X\(//\)$' \| \
13022
X"$mf" : 'X\(/\)' \| \
13023
. : '\(.\)' 2>/dev/null ||
13025
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13026
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
13027
/^X\(\/\/\)$/{ s//\1/; q; }
13028
/^X\(\/\).*/{ s//\1/; q; }
13033
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
13034
# Extract the definition of DEP_FILES from the Makefile without
13036
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
13037
test -z "$DEPDIR" && continue
13038
# When using ansi2knr, U may be empty or an underscore; expand it
13039
U=`sed -n -e '/^U = / s///p' < "$mf"`
13040
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
13041
# We invoke sed twice because it is the simplest approach to
13042
# changing $(DEPDIR) to its actual value in the expansion.
13043
for file in `sed -n -e '
13044
/^DEP_FILES = .*\\\\$/ {
13053
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
13054
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13055
# Make sure the directory exists.
13056
test -f "$dirpart/$file" && continue
13057
fdir=`(dirname "$file") 2>/dev/null ||
13058
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13059
X"$file" : 'X\(//\)[^/]' \| \
13060
X"$file" : 'X\(//\)$' \| \
13061
X"$file" : 'X\(/\)' \| \
13062
. : '\(.\)' 2>/dev/null ||
13064
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13065
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
13066
/^X\(\/\/\)$/{ s//\1/; q; }
13067
/^X\(\/\).*/{ s//\1/; q; }
13069
{ if $as_mkdir_p; then
13070
mkdir -p $dirpart/$fdir
13072
as_dir=$dirpart/$fdir
13074
while test ! -d "$as_dir"; do
13075
as_dirs="$as_dir $as_dirs"
13076
as_dir=`(dirname "$as_dir") 2>/dev/null ||
13077
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13078
X"$as_dir" : 'X\(//\)[^/]' \| \
13079
X"$as_dir" : 'X\(//\)$' \| \
13080
X"$as_dir" : 'X\(/\)' \| \
13081
. : '\(.\)' 2>/dev/null ||
13083
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13084
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
13085
/^X\(\/\/\)$/{ s//\1/; q; }
13086
/^X\(\/\).*/{ s//\1/; q; }
13089
test ! -n "$as_dirs" || mkdir $as_dirs
13090
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13091
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13092
{ (exit 1); exit 1; }; }; }
13094
# echo "creating $dirpart/$file"
13095
echo '# dummy' > "$dirpart/$file"
13100
for ac_file in $CONFIG_FILES; do
13101
# Support "outfile[:infile[:infile...]]"
13103
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
13105
# PO directories have a Makefile.in generated from Makefile.in.in.
13106
case "$ac_file" in */Makefile.in)
13107
# Adjust a relative srcdir.
13108
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13109
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
13110
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13111
# In autoconf-2.13 it is called $ac_given_srcdir.
13112
# In autoconf-2.50 it is called $srcdir.
13113
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
13114
case "$ac_given_srcdir" in
13115
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
13116
/*) top_srcdir="$ac_given_srcdir" ;;
13117
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
13119
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13120
rm -f "$ac_dir/POTFILES"
13121
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
13122
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13123
# ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13124
# on $ac_dir but don't depend on user-specified configuration
13126
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13127
# The LINGUAS file contains the set of available languages.
13128
if test -n "$ALL_LINGUAS"; then
13129
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
13131
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13132
# Hide the ALL_LINGUAS assigment from automake.
13133
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13135
case "$ac_given_srcdir" in
13137
*) srcdirpre='$(srcdir)/' ;;
13143
for lang in $ALL_LINGUAS; do
13144
POFILES="$POFILES $srcdirpre$lang.po"
13145
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13146
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
13147
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
13149
# CATALOGS depends on both $ac_dir and the user's LINGUAS
13150
# environment variable.
13152
if test -n "$ALL_LINGUAS"; then
13153
for presentlang in $ALL_LINGUAS; do
13155
if test "%UNSET%" != "$LINGUAS"; then
13156
desiredlanguages="$LINGUAS"
13158
desiredlanguages="$ALL_LINGUAS"
13160
for desiredlang in $desiredlanguages; do
13161
# Use the presentlang catalog if desiredlang is
13162
# a. equal to presentlang, or
13163
# b. a variant of presentlang (because in this case,
13164
# presentlang can be used as a fallback for messages
13165
# which are not translated in the desiredlang catalog).
13166
case "$desiredlang" in
13167
"$presentlang"*) useit=yes;;
13170
if test $useit = yes; then
13171
INST_LINGUAS="$INST_LINGUAS $presentlang"
13176
if test -n "$INST_LINGUAS"; then
13177
for lang in $INST_LINGUAS; do
13178
CATALOGS="$CATALOGS $lang.gmo"
13181
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
13182
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"
13183
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
13184
if test -f "$f"; then
13186
*.orig | *.bak | *~) ;;
13187
*) cat "$f" >> "$ac_dir/Makefile" ;;
13199
cat >>$CONFIG_STATUS <<\_ACEOF
13201
{ (exit 0); exit 0; }
5931
13203
chmod +x $CONFIG_STATUS
5932
rm -fr confdefs* $ac_clean_files
5933
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13204
ac_clean_files=$ac_clean_files_save
13207
# configure is writing to config.log, and then calls config.status.
13208
# config.status does its own redirection, appending to config.log.
13209
# Unfortunately, on DOS this fails, as config.log is still kept open
13210
# by configure, so config.status won't be able to write to it; its
13211
# output is simply discarded. So we exec the FD to /dev/null,
13212
# effectively closing config.log, so it can be properly (re)opened and
13213
# appended to by config.status. When coming back to configure, we
13214
# need to make the FD available again.
13215
if test "$no_create" != yes; then
13218
$SHELL $CONFIG_STATUS || ac_cs_success=false
13220
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
13221
# would make configure fail if this is the last instruction.
13222
$ac_cs_success || { (exit 1); exit 1; }