~ubuntu-branches/ubuntu/utopic/libinfinity/utopic-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Philipp Kern
  • Date: 2011-04-01 10:44:57 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20110401104457-q7927ly61fr51tqs
Tags: 0.5.0-1
* New upstream release.
* Drop patches applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.68 for libinfinity 0.4.2.
 
3
# Generated by GNU Autoconf 2.68 for libinfinity 0.5.0.
4
4
#
5
5
# Report bugs to <armin@arbur.net>.
6
6
#
174
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
177
178
 
178
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
183
    PATH=/empty FPATH=/empty; export PATH FPATH
183
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
186
  if (eval "$as_required") 2>/dev/null; then :
187
187
  as_have_required=yes
188
188
else
570
570
# Identity of this package.
571
571
PACKAGE_NAME='libinfinity'
572
572
PACKAGE_TARNAME='libinfinity'
573
 
PACKAGE_VERSION='0.4.2'
574
 
PACKAGE_STRING='libinfinity 0.4.2'
 
573
PACKAGE_VERSION='0.5.0'
 
574
PACKAGE_STRING='libinfinity 0.5.0'
575
575
PACKAGE_BUGREPORT='armin@arbur.net'
576
576
PACKAGE_URL=''
577
577
 
653
653
WITH_INFTEXTGTK_TRUE
654
654
inftextgtk_LIBS
655
655
inftextgtk_CFLAGS
 
656
gtk_version
 
657
gtk_requirement
656
658
inftext_LIBS
657
659
inftext_CFLAGS
658
660
infinity_LIBS
690
692
DUMPBIN
691
693
LD
692
694
FGREP
693
 
EGREP
694
 
GREP
695
695
SED
696
696
LIBTOOL
697
697
LN_S
 
698
EGREP
 
699
GREP
698
700
CPP
699
701
am__fastdepCC_FALSE
700
702
am__fastdepCC_TRUE
806
808
enable_gtk_doc
807
809
enable_gtk_doc_html
808
810
enable_gtk_doc_pdf
 
811
with_gtk3
809
812
with_inftextgtk
810
813
with_infgtk
811
814
with_infinoted
1380
1383
  # Omit some internal or obsolete options to make the list less imposing.
1381
1384
  # This message is too long to be a string in the A/UX 3.1 sh.
1382
1385
  cat <<_ACEOF
1383
 
\`configure' configures libinfinity 0.4.2 to adapt to many kinds of systems.
 
1386
\`configure' configures libinfinity 0.5.0 to adapt to many kinds of systems.
1384
1387
 
1385
1388
Usage: $0 [OPTION]... [VAR=VALUE]...
1386
1389
 
1450
1453
 
1451
1454
if test -n "$ac_init_help"; then
1452
1455
  case $ac_init_help in
1453
 
     short | recursive ) echo "Configuration of libinfinity 0.4.2:";;
 
1456
     short | recursive ) echo "Configuration of libinfinity 0.5.0:";;
1454
1457
   esac
1455
1458
  cat <<\_ACEOF
1456
1459
 
1482
1485
  --with-sysroot=DIR Search for dependent libraries within DIR
1483
1486
                        (or the compiler's sysroot if not specified).
1484
1487
  --with-html-dir=PATH    path to installed docs
 
1488
  --with-gtk3             Builds libinfgtk and libinftextgtk against GTK+ 3
 
1489
                          [[default=no]]
1485
1490
  --with-inftextgtk       Builds the libinftextgtk library [[default=auto]]
1486
1491
  --with-infgtk           Builds the libinfgtk library [[default=auto]]
1487
1492
  --with-infinoted        Build the infinote standalone server [[default=yes]]
1596
1601
test -n "$ac_init_help" && exit $ac_status
1597
1602
if $ac_init_version; then
1598
1603
  cat <<\_ACEOF
1599
 
libinfinity configure 0.4.2
 
1604
libinfinity configure 0.5.0
1600
1605
generated by GNU Autoconf 2.68
1601
1606
 
1602
1607
Copyright (C) 2010 Free Software Foundation, Inc.
1685
1690
 
1686
1691
} # ac_fn_c_try_cpp
1687
1692
 
1688
 
# ac_fn_c_try_link LINENO
1689
 
# -----------------------
1690
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1691
 
ac_fn_c_try_link ()
1692
 
{
1693
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1695
 
  if { { ac_try="$ac_link"
1696
 
case "(($ac_try" in
1697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698
 
  *) ac_try_echo=$ac_try;;
1699
 
esac
1700
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701
 
$as_echo "$ac_try_echo"; } >&5
1702
 
  (eval "$ac_link") 2>conftest.err
1703
 
  ac_status=$?
1704
 
  if test -s conftest.err; then
1705
 
    grep -v '^ *+' conftest.err >conftest.er1
1706
 
    cat conftest.er1 >&5
1707
 
    mv -f conftest.er1 conftest.err
1708
 
  fi
1709
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710
 
  test $ac_status = 0; } && {
1711
 
         test -z "$ac_c_werror_flag" ||
1712
 
         test ! -s conftest.err
1713
 
       } && test -s conftest$ac_exeext && {
1714
 
         test "$cross_compiling" = yes ||
1715
 
         $as_test_x conftest$ac_exeext
1716
 
       }; then :
1717
 
  ac_retval=0
1718
 
else
1719
 
  $as_echo "$as_me: failed program was:" >&5
1720
 
sed 's/^/| /' conftest.$ac_ext >&5
1721
 
 
1722
 
        ac_retval=1
1723
 
fi
1724
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1725
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1726
 
  # interfere with the next link command; also delete a directory that is
1727
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1728
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730
 
  as_fn_set_status $ac_retval
1731
 
 
1732
 
} # ac_fn_c_try_link
1733
 
 
1734
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1735
 
# -------------------------------------------------------
1736
 
# Tests whether HEADER exists and can be compiled using the include files in
1737
 
# INCLUDES, setting the cache variable VAR accordingly.
1738
 
ac_fn_c_check_header_compile ()
1739
 
{
1740
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1742
 
$as_echo_n "checking for $2... " >&6; }
1743
 
if eval \${$3+:} false; then :
1744
 
  $as_echo_n "(cached) " >&6
1745
 
else
1746
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747
 
/* end confdefs.h.  */
1748
 
$4
1749
 
#include <$2>
1750
 
_ACEOF
1751
 
if ac_fn_c_try_compile "$LINENO"; then :
1752
 
  eval "$3=yes"
1753
 
else
1754
 
  eval "$3=no"
1755
 
fi
1756
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757
 
fi
1758
 
eval ac_res=\$$3
1759
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760
 
$as_echo "$ac_res" >&6; }
1761
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762
 
 
1763
 
} # ac_fn_c_check_header_compile
1764
 
 
1765
 
# ac_fn_c_try_run LINENO
1766
 
# ----------------------
1767
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1768
 
# that executables *can* be run.
1769
 
ac_fn_c_try_run ()
1770
 
{
1771
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772
 
  if { { ac_try="$ac_link"
1773
 
case "(($ac_try" in
1774
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775
 
  *) ac_try_echo=$ac_try;;
1776
 
esac
1777
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778
 
$as_echo "$ac_try_echo"; } >&5
1779
 
  (eval "$ac_link") 2>&5
1780
 
  ac_status=$?
1781
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1783
 
  { { case "(($ac_try" in
1784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785
 
  *) ac_try_echo=$ac_try;;
1786
 
esac
1787
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788
 
$as_echo "$ac_try_echo"; } >&5
1789
 
  (eval "$ac_try") 2>&5
1790
 
  ac_status=$?
1791
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792
 
  test $ac_status = 0; }; }; then :
1793
 
  ac_retval=0
1794
 
else
1795
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1796
 
       $as_echo "$as_me: failed program was:" >&5
1797
 
sed 's/^/| /' conftest.$ac_ext >&5
1798
 
 
1799
 
       ac_retval=$ac_status
1800
 
fi
1801
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803
 
  as_fn_set_status $ac_retval
1804
 
 
1805
 
} # ac_fn_c_try_run
1806
 
 
1807
 
# ac_fn_c_check_func LINENO FUNC VAR
1808
 
# ----------------------------------
1809
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1810
 
ac_fn_c_check_func ()
1811
 
{
1812
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814
 
$as_echo_n "checking for $2... " >&6; }
1815
 
if eval \${$3+:} false; then :
1816
 
  $as_echo_n "(cached) " >&6
1817
 
else
1818
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819
 
/* end confdefs.h.  */
1820
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1822
 
#define $2 innocuous_$2
1823
 
 
1824
 
/* System header to define __stub macros and hopefully few prototypes,
1825
 
    which can conflict with char $2 (); below.
1826
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827
 
    <limits.h> exists even on freestanding compilers.  */
1828
 
 
1829
 
#ifdef __STDC__
1830
 
# include <limits.h>
1831
 
#else
1832
 
# include <assert.h>
1833
 
#endif
1834
 
 
1835
 
#undef $2
1836
 
 
1837
 
/* Override any GCC internal prototype to avoid an error.
1838
 
   Use char because int might match the return type of a GCC
1839
 
   builtin and then its argument prototype would still apply.  */
1840
 
#ifdef __cplusplus
1841
 
extern "C"
1842
 
#endif
1843
 
char $2 ();
1844
 
/* The GNU C library defines this for functions which it implements
1845
 
    to always fail with ENOSYS.  Some functions are actually named
1846
 
    something starting with __ and the normal name is an alias.  */
1847
 
#if defined __stub_$2 || defined __stub___$2
1848
 
choke me
1849
 
#endif
1850
 
 
1851
 
int
1852
 
main ()
1853
 
{
1854
 
return $2 ();
1855
 
  ;
1856
 
  return 0;
1857
 
}
1858
 
_ACEOF
1859
 
if ac_fn_c_try_link "$LINENO"; then :
1860
 
  eval "$3=yes"
1861
 
else
1862
 
  eval "$3=no"
1863
 
fi
1864
 
rm -f core conftest.err conftest.$ac_objext \
1865
 
    conftest$ac_exeext conftest.$ac_ext
1866
 
fi
1867
 
eval ac_res=\$$3
1868
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869
 
$as_echo "$ac_res" >&6; }
1870
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871
 
 
1872
 
} # ac_fn_c_check_func
1873
 
 
1874
1693
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1875
1694
# -------------------------------------------------------
1876
1695
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1961
1780
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
1781
 
1963
1782
} # ac_fn_c_check_header_mongrel
 
1783
 
 
1784
# ac_fn_c_try_run LINENO
 
1785
# ----------------------
 
1786
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1787
# that executables *can* be run.
 
1788
ac_fn_c_try_run ()
 
1789
{
 
1790
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1791
  if { { ac_try="$ac_link"
 
1792
case "(($ac_try" in
 
1793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1794
  *) ac_try_echo=$ac_try;;
 
1795
esac
 
1796
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1797
$as_echo "$ac_try_echo"; } >&5
 
1798
  (eval "$ac_link") 2>&5
 
1799
  ac_status=$?
 
1800
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1801
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1802
  { { case "(($ac_try" in
 
1803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1804
  *) ac_try_echo=$ac_try;;
 
1805
esac
 
1806
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1807
$as_echo "$ac_try_echo"; } >&5
 
1808
  (eval "$ac_try") 2>&5
 
1809
  ac_status=$?
 
1810
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1811
  test $ac_status = 0; }; }; then :
 
1812
  ac_retval=0
 
1813
else
 
1814
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1815
       $as_echo "$as_me: failed program was:" >&5
 
1816
sed 's/^/| /' conftest.$ac_ext >&5
 
1817
 
 
1818
       ac_retval=$ac_status
 
1819
fi
 
1820
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1821
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1822
  as_fn_set_status $ac_retval
 
1823
 
 
1824
} # ac_fn_c_try_run
 
1825
 
 
1826
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1827
# -------------------------------------------------------
 
1828
# Tests whether HEADER exists and can be compiled using the include files in
 
1829
# INCLUDES, setting the cache variable VAR accordingly.
 
1830
ac_fn_c_check_header_compile ()
 
1831
{
 
1832
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1833
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1834
$as_echo_n "checking for $2... " >&6; }
 
1835
if eval \${$3+:} false; then :
 
1836
  $as_echo_n "(cached) " >&6
 
1837
else
 
1838
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1839
/* end confdefs.h.  */
 
1840
$4
 
1841
#include <$2>
 
1842
_ACEOF
 
1843
if ac_fn_c_try_compile "$LINENO"; then :
 
1844
  eval "$3=yes"
 
1845
else
 
1846
  eval "$3=no"
 
1847
fi
 
1848
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1849
fi
 
1850
eval ac_res=\$$3
 
1851
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1852
$as_echo "$ac_res" >&6; }
 
1853
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1854
 
 
1855
} # ac_fn_c_check_header_compile
 
1856
 
 
1857
# ac_fn_c_try_link LINENO
 
1858
# -----------------------
 
1859
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1860
ac_fn_c_try_link ()
 
1861
{
 
1862
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1863
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1864
  if { { ac_try="$ac_link"
 
1865
case "(($ac_try" in
 
1866
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1867
  *) ac_try_echo=$ac_try;;
 
1868
esac
 
1869
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1870
$as_echo "$ac_try_echo"; } >&5
 
1871
  (eval "$ac_link") 2>conftest.err
 
1872
  ac_status=$?
 
1873
  if test -s conftest.err; then
 
1874
    grep -v '^ *+' conftest.err >conftest.er1
 
1875
    cat conftest.er1 >&5
 
1876
    mv -f conftest.er1 conftest.err
 
1877
  fi
 
1878
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1879
  test $ac_status = 0; } && {
 
1880
         test -z "$ac_c_werror_flag" ||
 
1881
         test ! -s conftest.err
 
1882
       } && test -s conftest$ac_exeext && {
 
1883
         test "$cross_compiling" = yes ||
 
1884
         $as_test_x conftest$ac_exeext
 
1885
       }; then :
 
1886
  ac_retval=0
 
1887
else
 
1888
  $as_echo "$as_me: failed program was:" >&5
 
1889
sed 's/^/| /' conftest.$ac_ext >&5
 
1890
 
 
1891
        ac_retval=1
 
1892
fi
 
1893
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1894
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1895
  # interfere with the next link command; also delete a directory that is
 
1896
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1897
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1898
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1899
  as_fn_set_status $ac_retval
 
1900
 
 
1901
} # ac_fn_c_try_link
 
1902
 
 
1903
# ac_fn_c_check_func LINENO FUNC VAR
 
1904
# ----------------------------------
 
1905
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1906
ac_fn_c_check_func ()
 
1907
{
 
1908
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1909
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1910
$as_echo_n "checking for $2... " >&6; }
 
1911
if eval \${$3+:} false; then :
 
1912
  $as_echo_n "(cached) " >&6
 
1913
else
 
1914
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1915
/* end confdefs.h.  */
 
1916
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1917
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1918
#define $2 innocuous_$2
 
1919
 
 
1920
/* System header to define __stub macros and hopefully few prototypes,
 
1921
    which can conflict with char $2 (); below.
 
1922
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1923
    <limits.h> exists even on freestanding compilers.  */
 
1924
 
 
1925
#ifdef __STDC__
 
1926
# include <limits.h>
 
1927
#else
 
1928
# include <assert.h>
 
1929
#endif
 
1930
 
 
1931
#undef $2
 
1932
 
 
1933
/* Override any GCC internal prototype to avoid an error.
 
1934
   Use char because int might match the return type of a GCC
 
1935
   builtin and then its argument prototype would still apply.  */
 
1936
#ifdef __cplusplus
 
1937
extern "C"
 
1938
#endif
 
1939
char $2 ();
 
1940
/* The GNU C library defines this for functions which it implements
 
1941
    to always fail with ENOSYS.  Some functions are actually named
 
1942
    something starting with __ and the normal name is an alias.  */
 
1943
#if defined __stub_$2 || defined __stub___$2
 
1944
choke me
 
1945
#endif
 
1946
 
 
1947
int
 
1948
main ()
 
1949
{
 
1950
return $2 ();
 
1951
  ;
 
1952
  return 0;
 
1953
}
 
1954
_ACEOF
 
1955
if ac_fn_c_try_link "$LINENO"; then :
 
1956
  eval "$3=yes"
 
1957
else
 
1958
  eval "$3=no"
 
1959
fi
 
1960
rm -f core conftest.err conftest.$ac_objext \
 
1961
    conftest$ac_exeext conftest.$ac_ext
 
1962
fi
 
1963
eval ac_res=\$$3
 
1964
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1965
$as_echo "$ac_res" >&6; }
 
1966
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1967
 
 
1968
} # ac_fn_c_check_func
1964
1969
cat >config.log <<_ACEOF
1965
1970
This file contains any messages produced by compilers while
1966
1971
running configure, to aid debugging if configure makes a mistake.
1967
1972
 
1968
 
It was created by libinfinity $as_me 0.4.2, which was
 
1973
It was created by libinfinity $as_me 0.5.0, which was
1969
1974
generated by GNU Autoconf 2.68.  Invocation command line was
1970
1975
 
1971
1976
  $ $0 $@
2780
2785
 
2781
2786
# Define the identity of the package.
2782
2787
 PACKAGE='libinfinity'
2783
 
 VERSION='0.4.2'
 
2788
 VERSION='0.5.0'
2784
2789
 
2785
2790
 
2786
2791
cat >>confdefs.h <<_ACEOF
2859
2864
ac_config_headers="$ac_config_headers config.h libinfinity/inf-config.h"
2860
2865
 
2861
2866
 
2862
 
LIBINFINITY_VERSION=0.4.2
2863
 
LIBINFINITY_API_VERSION=0.4
 
2867
LIBINFINITY_VERSION=0.5.0
 
2868
LIBINFINITY_API_VERSION=0.5
2864
2869
LIBINFINITY_LIBTOOL_VERSION=0:0:0
2865
2870
 
2866
2871
 
2937
2942
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2938
2943
 
2939
2944
 
 
2945
 
 
2946
# Remove -Wno-strict-prototypes for the feature tests
2940
2947
has_strict_prototypes=""
2941
2948
if (echo $CFLAGS | grep -- -Wstrict-prototype)
2942
2949
then
2945
2952
        CFLAGS="$CFLAGS -Wno-strict-prototypes"
2946
2953
fi
2947
2954
 
2948
 
ac_ext=c
2949
 
ac_cpp='$CPP $CPPFLAGS'
2950
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2955
# Make GNU and POSIX extensions such as readdir_r, O_NOFOLLOW and
 
2956
# fdopendir available
 
2957
DEPDIR="${am__leading_dot}deps"
 
2958
 
 
2959
ac_config_commands="$ac_config_commands depfiles"
 
2960
 
 
2961
 
 
2962
am_make=${MAKE-make}
 
2963
cat > confinc << 'END'
 
2964
am__doit:
 
2965
        @echo this is the am__doit target
 
2966
.PHONY: am__doit
 
2967
END
 
2968
# If we don't find an include directive, just comment out the code.
 
2969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2970
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2971
am__include="#"
 
2972
am__quote=
 
2973
_am_result=none
 
2974
# First try GNU make style include.
 
2975
echo "include confinc" > confmf
 
2976
# Ignore all kinds of additional output from `make'.
 
2977
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2978
*the\ am__doit\ target*)
 
2979
  am__include=include
 
2980
  am__quote=
 
2981
  _am_result=GNU
 
2982
  ;;
 
2983
esac
 
2984
# Now try BSD make style include.
 
2985
if test "$am__include" = "#"; then
 
2986
   echo '.include "confinc"' > confmf
 
2987
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2988
   *the\ am__doit\ target*)
 
2989
     am__include=.include
 
2990
     am__quote="\""
 
2991
     _am_result=BSD
 
2992
     ;;
 
2993
   esac
 
2994
fi
 
2995
 
 
2996
 
 
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2998
$as_echo "$_am_result" >&6; }
 
2999
rm -f confinc confmf
 
3000
 
 
3001
# Check whether --enable-dependency-tracking was given.
 
3002
if test "${enable_dependency_tracking+set}" = set; then :
 
3003
  enableval=$enable_dependency_tracking;
 
3004
fi
 
3005
 
 
3006
if test "x$enable_dependency_tracking" != xno; then
 
3007
  am_depcomp="$ac_aux_dir/depcomp"
 
3008
  AMDEPBACKSLASH='\'
 
3009
fi
 
3010
 if test "x$enable_dependency_tracking" != xno; then
 
3011
  AMDEP_TRUE=
 
3012
  AMDEP_FALSE='#'
 
3013
else
 
3014
  AMDEP_TRUE='#'
 
3015
  AMDEP_FALSE=
 
3016
fi
 
3017
 
2953
3018
 
2954
3019
ac_ext=c
2955
3020
ac_cpp='$CPP $CPPFLAGS'
3740
3805
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3741
3806
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3742
3807
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3743
 
DEPDIR="${am__leading_dot}deps"
3744
 
 
3745
 
ac_config_commands="$ac_config_commands depfiles"
3746
 
 
3747
 
 
3748
 
am_make=${MAKE-make}
3749
 
cat > confinc << 'END'
3750
 
am__doit:
3751
 
        @echo this is the am__doit target
3752
 
.PHONY: am__doit
3753
 
END
3754
 
# If we don't find an include directive, just comment out the code.
3755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3756
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3757
 
am__include="#"
3758
 
am__quote=
3759
 
_am_result=none
3760
 
# First try GNU make style include.
3761
 
echo "include confinc" > confmf
3762
 
# Ignore all kinds of additional output from `make'.
3763
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3764
 
*the\ am__doit\ target*)
3765
 
  am__include=include
3766
 
  am__quote=
3767
 
  _am_result=GNU
3768
 
  ;;
3769
 
esac
3770
 
# Now try BSD make style include.
3771
 
if test "$am__include" = "#"; then
3772
 
   echo '.include "confinc"' > confmf
3773
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3774
 
   *the\ am__doit\ target*)
3775
 
     am__include=.include
3776
 
     am__quote="\""
3777
 
     _am_result=BSD
3778
 
     ;;
3779
 
   esac
3780
 
fi
3781
 
 
3782
 
 
3783
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3784
 
$as_echo "$_am_result" >&6; }
3785
 
rm -f confinc confmf
3786
 
 
3787
 
# Check whether --enable-dependency-tracking was given.
3788
 
if test "${enable_dependency_tracking+set}" = set; then :
3789
 
  enableval=$enable_dependency_tracking;
3790
 
fi
3791
 
 
3792
 
if test "x$enable_dependency_tracking" != xno; then
3793
 
  am_depcomp="$ac_aux_dir/depcomp"
3794
 
  AMDEPBACKSLASH='\'
3795
 
fi
3796
 
 if test "x$enable_dependency_tracking" != xno; then
3797
 
  AMDEP_TRUE=
3798
 
  AMDEP_FALSE='#'
3799
 
else
3800
 
  AMDEP_TRUE='#'
3801
 
  AMDEP_FALSE=
3802
 
fi
3803
 
 
3804
 
 
 
3808
 
 
3809
depcc="$CC"   am_compiler_list=
 
3810
 
 
3811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3812
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3813
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3814
  $as_echo_n "(cached) " >&6
 
3815
else
 
3816
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3817
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3818
  # making bogus files that we don't know about and never remove.  For
 
3819
  # instance it was reported that on HP-UX the gcc test will end up
 
3820
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3821
  # in D'.
 
3822
  mkdir conftest.dir
 
3823
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3824
  # using a relative directory.
 
3825
  cp "$am_depcomp" conftest.dir
 
3826
  cd conftest.dir
 
3827
  # We will build objects and dependencies in a subdirectory because
 
3828
  # it helps to detect inapplicable dependency modes.  For instance
 
3829
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3830
  # side effect of compilation, but ICC will put the dependencies in
 
3831
  # the current directory while Tru64 will put them in the object
 
3832
  # directory.
 
3833
  mkdir sub
 
3834
 
 
3835
  am_cv_CC_dependencies_compiler_type=none
 
3836
  if test "$am_compiler_list" = ""; then
 
3837
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3838
  fi
 
3839
  am__universal=false
 
3840
  case " $depcc " in #(
 
3841
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3842
     esac
 
3843
 
 
3844
  for depmode in $am_compiler_list; do
 
3845
    # Setup a source with many dependencies, because some compilers
 
3846
    # like to wrap large dependency lists on column 80 (with \), and
 
3847
    # we should not choose a depcomp mode which is confused by this.
 
3848
    #
 
3849
    # We need to recreate these files for each test, as the compiler may
 
3850
    # overwrite some of them when testing with obscure command lines.
 
3851
    # This happens at least with the AIX C compiler.
 
3852
    : > sub/conftest.c
 
3853
    for i in 1 2 3 4 5 6; do
 
3854
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3855
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3856
      # Solaris 8's {/usr,}/bin/sh.
 
3857
      touch sub/conftst$i.h
 
3858
    done
 
3859
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3860
 
 
3861
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3862
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3863
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3864
    # versions had trouble with output in subdirs
 
3865
    am__obj=sub/conftest.${OBJEXT-o}
 
3866
    am__minus_obj="-o $am__obj"
 
3867
    case $depmode in
 
3868
    gcc)
 
3869
      # This depmode causes a compiler race in universal mode.
 
3870
      test "$am__universal" = false || continue
 
3871
      ;;
 
3872
    nosideeffect)
 
3873
      # after this tag, mechanisms are not by side-effect, so they'll
 
3874
      # only be used when explicitly requested
 
3875
      if test "x$enable_dependency_tracking" = xyes; then
 
3876
        continue
 
3877
      else
 
3878
        break
 
3879
      fi
 
3880
      ;;
 
3881
    msvisualcpp | msvcmsys)
 
3882
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3883
      # not run yet.  These depmodes are late enough in the game, and
 
3884
      # so weak that their functioning should not be impacted.
 
3885
      am__obj=conftest.${OBJEXT-o}
 
3886
      am__minus_obj=
 
3887
      ;;
 
3888
    none) break ;;
 
3889
    esac
 
3890
    if depmode=$depmode \
 
3891
       source=sub/conftest.c object=$am__obj \
 
3892
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3893
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3894
         >/dev/null 2>conftest.err &&
 
3895
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3896
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3897
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3898
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3899
      # icc doesn't choke on unknown options, it will just issue warnings
 
3900
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3901
      # that says an option was ignored or not supported.
 
3902
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3903
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3904
      # The diagnosis changed in icc 8.0:
 
3905
      #   icc: Command line remark: option '-MP' not supported
 
3906
      if (grep 'ignoring option' conftest.err ||
 
3907
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3908
        am_cv_CC_dependencies_compiler_type=$depmode
 
3909
        break
 
3910
      fi
 
3911
    fi
 
3912
  done
 
3913
 
 
3914
  cd ..
 
3915
  rm -rf conftest.dir
 
3916
else
 
3917
  am_cv_CC_dependencies_compiler_type=none
 
3918
fi
 
3919
 
 
3920
fi
 
3921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3922
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3923
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3924
 
 
3925
 if
 
3926
  test "x$enable_dependency_tracking" != xno \
 
3927
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3928
  am__fastdepCC_TRUE=
 
3929
  am__fastdepCC_FALSE='#'
 
3930
else
 
3931
  am__fastdepCC_TRUE='#'
 
3932
  am__fastdepCC_FALSE=
 
3933
fi
 
3934
 
 
3935
 
 
3936
 
 
3937
ac_ext=c
 
3938
ac_cpp='$CPP $CPPFLAGS'
 
3939
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3940
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3941
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3943
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3944
# On Suns, sometimes $CPP names a directory.
 
3945
if test -n "$CPP" && test -d "$CPP"; then
 
3946
  CPP=
 
3947
fi
 
3948
if test -z "$CPP"; then
 
3949
  if ${ac_cv_prog_CPP+:} false; then :
 
3950
  $as_echo_n "(cached) " >&6
 
3951
else
 
3952
      # Double quotes because CPP needs to be expanded
 
3953
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3954
    do
 
3955
      ac_preproc_ok=false
 
3956
for ac_c_preproc_warn_flag in '' yes
 
3957
do
 
3958
  # Use a header file that comes with gcc, so configuring glibc
 
3959
  # with a fresh cross-compiler works.
 
3960
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3961
  # <limits.h> exists even on freestanding compilers.
 
3962
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3963
  # not just through cpp. "Syntax error" is here to catch this case.
 
3964
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3965
/* end confdefs.h.  */
 
3966
#ifdef __STDC__
 
3967
# include <limits.h>
 
3968
#else
 
3969
# include <assert.h>
 
3970
#endif
 
3971
                     Syntax error
 
3972
_ACEOF
 
3973
if ac_fn_c_try_cpp "$LINENO"; then :
 
3974
 
 
3975
else
 
3976
  # Broken: fails on valid input.
 
3977
continue
 
3978
fi
 
3979
rm -f conftest.err conftest.i conftest.$ac_ext
 
3980
 
 
3981
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3982
  # can be detected and how.
 
3983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3984
/* end confdefs.h.  */
 
3985
#include <ac_nonexistent.h>
 
3986
_ACEOF
 
3987
if ac_fn_c_try_cpp "$LINENO"; then :
 
3988
  # Broken: success on invalid input.
 
3989
continue
 
3990
else
 
3991
  # Passes both tests.
 
3992
ac_preproc_ok=:
 
3993
break
 
3994
fi
 
3995
rm -f conftest.err conftest.i conftest.$ac_ext
 
3996
 
 
3997
done
 
3998
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3999
rm -f conftest.i conftest.err conftest.$ac_ext
 
4000
if $ac_preproc_ok; then :
 
4001
  break
 
4002
fi
 
4003
 
 
4004
    done
 
4005
    ac_cv_prog_CPP=$CPP
 
4006
 
 
4007
fi
 
4008
  CPP=$ac_cv_prog_CPP
 
4009
else
 
4010
  ac_cv_prog_CPP=$CPP
 
4011
fi
 
4012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4013
$as_echo "$CPP" >&6; }
 
4014
ac_preproc_ok=false
 
4015
for ac_c_preproc_warn_flag in '' yes
 
4016
do
 
4017
  # Use a header file that comes with gcc, so configuring glibc
 
4018
  # with a fresh cross-compiler works.
 
4019
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4020
  # <limits.h> exists even on freestanding compilers.
 
4021
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4022
  # not just through cpp. "Syntax error" is here to catch this case.
 
4023
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4024
/* end confdefs.h.  */
 
4025
#ifdef __STDC__
 
4026
# include <limits.h>
 
4027
#else
 
4028
# include <assert.h>
 
4029
#endif
 
4030
                     Syntax error
 
4031
_ACEOF
 
4032
if ac_fn_c_try_cpp "$LINENO"; then :
 
4033
 
 
4034
else
 
4035
  # Broken: fails on valid input.
 
4036
continue
 
4037
fi
 
4038
rm -f conftest.err conftest.i conftest.$ac_ext
 
4039
 
 
4040
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4041
  # can be detected and how.
 
4042
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4043
/* end confdefs.h.  */
 
4044
#include <ac_nonexistent.h>
 
4045
_ACEOF
 
4046
if ac_fn_c_try_cpp "$LINENO"; then :
 
4047
  # Broken: success on invalid input.
 
4048
continue
 
4049
else
 
4050
  # Passes both tests.
 
4051
ac_preproc_ok=:
 
4052
break
 
4053
fi
 
4054
rm -f conftest.err conftest.i conftest.$ac_ext
 
4055
 
 
4056
done
 
4057
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4058
rm -f conftest.i conftest.err conftest.$ac_ext
 
4059
if $ac_preproc_ok; then :
 
4060
 
 
4061
else
 
4062
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4063
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4064
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4065
See \`config.log' for more details" "$LINENO" 5; }
 
4066
fi
 
4067
 
 
4068
ac_ext=c
 
4069
ac_cpp='$CPP $CPPFLAGS'
 
4070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4073
 
 
4074
 
 
4075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4076
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4077
if ${ac_cv_path_GREP+:} false; then :
 
4078
  $as_echo_n "(cached) " >&6
 
4079
else
 
4080
  if test -z "$GREP"; then
 
4081
  ac_path_GREP_found=false
 
4082
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4083
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4084
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4085
do
 
4086
  IFS=$as_save_IFS
 
4087
  test -z "$as_dir" && as_dir=.
 
4088
    for ac_prog in grep ggrep; do
 
4089
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4090
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4091
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4092
# Check for GNU ac_path_GREP and select it if it is found.
 
4093
  # Check for GNU $ac_path_GREP
 
4094
case `"$ac_path_GREP" --version 2>&1` in
 
4095
*GNU*)
 
4096
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4097
*)
 
4098
  ac_count=0
 
4099
  $as_echo_n 0123456789 >"conftest.in"
 
4100
  while :
 
4101
  do
 
4102
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4103
    mv "conftest.tmp" "conftest.in"
 
4104
    cp "conftest.in" "conftest.nl"
 
4105
    $as_echo 'GREP' >> "conftest.nl"
 
4106
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4107
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4108
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4109
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4110
      # Best one so far, save it but keep looking for a better one
 
4111
      ac_cv_path_GREP="$ac_path_GREP"
 
4112
      ac_path_GREP_max=$ac_count
 
4113
    fi
 
4114
    # 10*(2^10) chars as input seems more than enough
 
4115
    test $ac_count -gt 10 && break
 
4116
  done
 
4117
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4118
esac
 
4119
 
 
4120
      $ac_path_GREP_found && break 3
 
4121
    done
 
4122
  done
 
4123
  done
 
4124
IFS=$as_save_IFS
 
4125
  if test -z "$ac_cv_path_GREP"; then
 
4126
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4127
  fi
 
4128
else
 
4129
  ac_cv_path_GREP=$GREP
 
4130
fi
 
4131
 
 
4132
fi
 
4133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4134
$as_echo "$ac_cv_path_GREP" >&6; }
 
4135
 GREP="$ac_cv_path_GREP"
 
4136
 
 
4137
 
 
4138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4139
$as_echo_n "checking for egrep... " >&6; }
 
4140
if ${ac_cv_path_EGREP+:} false; then :
 
4141
  $as_echo_n "(cached) " >&6
 
4142
else
 
4143
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4144
   then ac_cv_path_EGREP="$GREP -E"
 
4145
   else
 
4146
     if test -z "$EGREP"; then
 
4147
  ac_path_EGREP_found=false
 
4148
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4149
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4150
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4151
do
 
4152
  IFS=$as_save_IFS
 
4153
  test -z "$as_dir" && as_dir=.
 
4154
    for ac_prog in egrep; do
 
4155
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4156
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4157
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4158
# Check for GNU ac_path_EGREP and select it if it is found.
 
4159
  # Check for GNU $ac_path_EGREP
 
4160
case `"$ac_path_EGREP" --version 2>&1` in
 
4161
*GNU*)
 
4162
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4163
*)
 
4164
  ac_count=0
 
4165
  $as_echo_n 0123456789 >"conftest.in"
 
4166
  while :
 
4167
  do
 
4168
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4169
    mv "conftest.tmp" "conftest.in"
 
4170
    cp "conftest.in" "conftest.nl"
 
4171
    $as_echo 'EGREP' >> "conftest.nl"
 
4172
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4173
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4174
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4175
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4176
      # Best one so far, save it but keep looking for a better one
 
4177
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4178
      ac_path_EGREP_max=$ac_count
 
4179
    fi
 
4180
    # 10*(2^10) chars as input seems more than enough
 
4181
    test $ac_count -gt 10 && break
 
4182
  done
 
4183
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4184
esac
 
4185
 
 
4186
      $ac_path_EGREP_found && break 3
 
4187
    done
 
4188
  done
 
4189
  done
 
4190
IFS=$as_save_IFS
 
4191
  if test -z "$ac_cv_path_EGREP"; then
 
4192
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4193
  fi
 
4194
else
 
4195
  ac_cv_path_EGREP=$EGREP
 
4196
fi
 
4197
 
 
4198
   fi
 
4199
fi
 
4200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4201
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4202
 EGREP="$ac_cv_path_EGREP"
 
4203
 
 
4204
 
 
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4206
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4207
if ${ac_cv_header_stdc+:} false; then :
 
4208
  $as_echo_n "(cached) " >&6
 
4209
else
 
4210
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4211
/* end confdefs.h.  */
 
4212
#include <stdlib.h>
 
4213
#include <stdarg.h>
 
4214
#include <string.h>
 
4215
#include <float.h>
 
4216
 
 
4217
int
 
4218
main ()
 
4219
{
 
4220
 
 
4221
  ;
 
4222
  return 0;
 
4223
}
 
4224
_ACEOF
 
4225
if ac_fn_c_try_compile "$LINENO"; then :
 
4226
  ac_cv_header_stdc=yes
 
4227
else
 
4228
  ac_cv_header_stdc=no
 
4229
fi
 
4230
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4231
 
 
4232
if test $ac_cv_header_stdc = yes; then
 
4233
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4234
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4235
/* end confdefs.h.  */
 
4236
#include <string.h>
 
4237
 
 
4238
_ACEOF
 
4239
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4240
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4241
 
 
4242
else
 
4243
  ac_cv_header_stdc=no
 
4244
fi
 
4245
rm -f conftest*
 
4246
 
 
4247
fi
 
4248
 
 
4249
if test $ac_cv_header_stdc = yes; then
 
4250
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4251
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4252
/* end confdefs.h.  */
 
4253
#include <stdlib.h>
 
4254
 
 
4255
_ACEOF
 
4256
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4257
  $EGREP "free" >/dev/null 2>&1; then :
 
4258
 
 
4259
else
 
4260
  ac_cv_header_stdc=no
 
4261
fi
 
4262
rm -f conftest*
 
4263
 
 
4264
fi
 
4265
 
 
4266
if test $ac_cv_header_stdc = yes; then
 
4267
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4268
  if test "$cross_compiling" = yes; then :
 
4269
  :
 
4270
else
 
4271
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4272
/* end confdefs.h.  */
 
4273
#include <ctype.h>
 
4274
#include <stdlib.h>
 
4275
#if ((' ' & 0x0FF) == 0x020)
 
4276
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4277
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4278
#else
 
4279
# define ISLOWER(c) \
 
4280
                   (('a' <= (c) && (c) <= 'i') \
 
4281
                     || ('j' <= (c) && (c) <= 'r') \
 
4282
                     || ('s' <= (c) && (c) <= 'z'))
 
4283
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4284
#endif
 
4285
 
 
4286
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4287
int
 
4288
main ()
 
4289
{
 
4290
  int i;
 
4291
  for (i = 0; i < 256; i++)
 
4292
    if (XOR (islower (i), ISLOWER (i))
 
4293
        || toupper (i) != TOUPPER (i))
 
4294
      return 2;
 
4295
  return 0;
 
4296
}
 
4297
_ACEOF
 
4298
if ac_fn_c_try_run "$LINENO"; then :
 
4299
 
 
4300
else
 
4301
  ac_cv_header_stdc=no
 
4302
fi
 
4303
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4304
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4305
fi
 
4306
 
 
4307
fi
 
4308
fi
 
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4310
$as_echo "$ac_cv_header_stdc" >&6; }
 
4311
if test $ac_cv_header_stdc = yes; then
 
4312
 
 
4313
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4314
 
 
4315
fi
 
4316
 
 
4317
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4318
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4319
                  inttypes.h stdint.h unistd.h
 
4320
do :
 
4321
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4322
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4323
"
 
4324
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4325
  cat >>confdefs.h <<_ACEOF
 
4326
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4327
_ACEOF
 
4328
 
 
4329
fi
 
4330
 
 
4331
done
 
4332
 
 
4333
 
 
4334
 
 
4335
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
 
4336
if test "x$ac_cv_header_minix_config_h" = xyes; then :
 
4337
  MINIX=yes
 
4338
else
 
4339
  MINIX=
 
4340
fi
 
4341
 
 
4342
 
 
4343
  if test "$MINIX" = yes; then
 
4344
 
 
4345
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
 
4346
 
 
4347
 
 
4348
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
 
4349
 
 
4350
 
 
4351
$as_echo "#define _MINIX 1" >>confdefs.h
 
4352
 
 
4353
  fi
 
4354
 
 
4355
 
 
4356
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
 
4357
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
 
4358
if ${ac_cv_safe_to_define___extensions__+:} false; then :
 
4359
  $as_echo_n "(cached) " >&6
 
4360
else
 
4361
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4362
/* end confdefs.h.  */
 
4363
 
 
4364
#         define __EXTENSIONS__ 1
 
4365
          $ac_includes_default
 
4366
int
 
4367
main ()
 
4368
{
 
4369
 
 
4370
  ;
 
4371
  return 0;
 
4372
}
 
4373
_ACEOF
 
4374
if ac_fn_c_try_compile "$LINENO"; then :
 
4375
  ac_cv_safe_to_define___extensions__=yes
 
4376
else
 
4377
  ac_cv_safe_to_define___extensions__=no
 
4378
fi
 
4379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4380
fi
 
4381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
 
4382
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
 
4383
  test $ac_cv_safe_to_define___extensions__ = yes &&
 
4384
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
 
4385
 
 
4386
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
 
4387
 
 
4388
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
 
4389
 
 
4390
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
 
4391
 
 
4392
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
 
4393
 
 
4394
 
 
4395
 
 
4396
ac_ext=c
 
4397
ac_cpp='$CPP $CPPFLAGS'
 
4398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4399
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4400
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4401
 
 
4402
ac_ext=c
 
4403
ac_cpp='$CPP $CPPFLAGS'
 
4404
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4405
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4406
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4407
if test -n "$ac_tool_prefix"; then
 
4408
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4409
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4411
$as_echo_n "checking for $ac_word... " >&6; }
 
4412
if ${ac_cv_prog_CC+:} false; then :
 
4413
  $as_echo_n "(cached) " >&6
 
4414
else
 
4415
  if test -n "$CC"; then
 
4416
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4417
else
 
4418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4419
for as_dir in $PATH
 
4420
do
 
4421
  IFS=$as_save_IFS
 
4422
  test -z "$as_dir" && as_dir=.
 
4423
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4424
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4425
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4426
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4427
    break 2
 
4428
  fi
 
4429
done
 
4430
  done
 
4431
IFS=$as_save_IFS
 
4432
 
 
4433
fi
 
4434
fi
 
4435
CC=$ac_cv_prog_CC
 
4436
if test -n "$CC"; then
 
4437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4438
$as_echo "$CC" >&6; }
 
4439
else
 
4440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4441
$as_echo "no" >&6; }
 
4442
fi
 
4443
 
 
4444
 
 
4445
fi
 
4446
if test -z "$ac_cv_prog_CC"; then
 
4447
  ac_ct_CC=$CC
 
4448
  # Extract the first word of "gcc", so it can be a program name with args.
 
4449
set dummy gcc; ac_word=$2
 
4450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4451
$as_echo_n "checking for $ac_word... " >&6; }
 
4452
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4453
  $as_echo_n "(cached) " >&6
 
4454
else
 
4455
  if test -n "$ac_ct_CC"; then
 
4456
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4457
else
 
4458
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4459
for as_dir in $PATH
 
4460
do
 
4461
  IFS=$as_save_IFS
 
4462
  test -z "$as_dir" && as_dir=.
 
4463
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4465
    ac_cv_prog_ac_ct_CC="gcc"
 
4466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4467
    break 2
 
4468
  fi
 
4469
done
 
4470
  done
 
4471
IFS=$as_save_IFS
 
4472
 
 
4473
fi
 
4474
fi
 
4475
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4476
if test -n "$ac_ct_CC"; then
 
4477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4478
$as_echo "$ac_ct_CC" >&6; }
 
4479
else
 
4480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4481
$as_echo "no" >&6; }
 
4482
fi
 
4483
 
 
4484
  if test "x$ac_ct_CC" = x; then
 
4485
    CC=""
 
4486
  else
 
4487
    case $cross_compiling:$ac_tool_warned in
 
4488
yes:)
 
4489
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4490
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4491
ac_tool_warned=yes ;;
 
4492
esac
 
4493
    CC=$ac_ct_CC
 
4494
  fi
 
4495
else
 
4496
  CC="$ac_cv_prog_CC"
 
4497
fi
 
4498
 
 
4499
if test -z "$CC"; then
 
4500
          if test -n "$ac_tool_prefix"; then
 
4501
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4502
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4504
$as_echo_n "checking for $ac_word... " >&6; }
 
4505
if ${ac_cv_prog_CC+:} false; then :
 
4506
  $as_echo_n "(cached) " >&6
 
4507
else
 
4508
  if test -n "$CC"; then
 
4509
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4510
else
 
4511
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4512
for as_dir in $PATH
 
4513
do
 
4514
  IFS=$as_save_IFS
 
4515
  test -z "$as_dir" && as_dir=.
 
4516
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4517
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4518
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4519
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4520
    break 2
 
4521
  fi
 
4522
done
 
4523
  done
 
4524
IFS=$as_save_IFS
 
4525
 
 
4526
fi
 
4527
fi
 
4528
CC=$ac_cv_prog_CC
 
4529
if test -n "$CC"; then
 
4530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4531
$as_echo "$CC" >&6; }
 
4532
else
 
4533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4534
$as_echo "no" >&6; }
 
4535
fi
 
4536
 
 
4537
 
 
4538
  fi
 
4539
fi
 
4540
if test -z "$CC"; then
 
4541
  # Extract the first word of "cc", so it can be a program name with args.
 
4542
set dummy cc; ac_word=$2
 
4543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4544
$as_echo_n "checking for $ac_word... " >&6; }
 
4545
if ${ac_cv_prog_CC+:} false; then :
 
4546
  $as_echo_n "(cached) " >&6
 
4547
else
 
4548
  if test -n "$CC"; then
 
4549
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4550
else
 
4551
  ac_prog_rejected=no
 
4552
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4553
for as_dir in $PATH
 
4554
do
 
4555
  IFS=$as_save_IFS
 
4556
  test -z "$as_dir" && as_dir=.
 
4557
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4558
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4559
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4560
       ac_prog_rejected=yes
 
4561
       continue
 
4562
     fi
 
4563
    ac_cv_prog_CC="cc"
 
4564
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4565
    break 2
 
4566
  fi
 
4567
done
 
4568
  done
 
4569
IFS=$as_save_IFS
 
4570
 
 
4571
if test $ac_prog_rejected = yes; then
 
4572
  # We found a bogon in the path, so make sure we never use it.
 
4573
  set dummy $ac_cv_prog_CC
 
4574
  shift
 
4575
  if test $# != 0; then
 
4576
    # We chose a different compiler from the bogus one.
 
4577
    # However, it has the same basename, so the bogon will be chosen
 
4578
    # first if we set CC to just the basename; use the full file name.
 
4579
    shift
 
4580
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4581
  fi
 
4582
fi
 
4583
fi
 
4584
fi
 
4585
CC=$ac_cv_prog_CC
 
4586
if test -n "$CC"; then
 
4587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4588
$as_echo "$CC" >&6; }
 
4589
else
 
4590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4591
$as_echo "no" >&6; }
 
4592
fi
 
4593
 
 
4594
 
 
4595
fi
 
4596
if test -z "$CC"; then
 
4597
  if test -n "$ac_tool_prefix"; then
 
4598
  for ac_prog in cl.exe
 
4599
  do
 
4600
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4601
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4603
$as_echo_n "checking for $ac_word... " >&6; }
 
4604
if ${ac_cv_prog_CC+:} false; then :
 
4605
  $as_echo_n "(cached) " >&6
 
4606
else
 
4607
  if test -n "$CC"; then
 
4608
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4609
else
 
4610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4611
for as_dir in $PATH
 
4612
do
 
4613
  IFS=$as_save_IFS
 
4614
  test -z "$as_dir" && as_dir=.
 
4615
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4616
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4617
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4618
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4619
    break 2
 
4620
  fi
 
4621
done
 
4622
  done
 
4623
IFS=$as_save_IFS
 
4624
 
 
4625
fi
 
4626
fi
 
4627
CC=$ac_cv_prog_CC
 
4628
if test -n "$CC"; then
 
4629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4630
$as_echo "$CC" >&6; }
 
4631
else
 
4632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4633
$as_echo "no" >&6; }
 
4634
fi
 
4635
 
 
4636
 
 
4637
    test -n "$CC" && break
 
4638
  done
 
4639
fi
 
4640
if test -z "$CC"; then
 
4641
  ac_ct_CC=$CC
 
4642
  for ac_prog in cl.exe
 
4643
do
 
4644
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4645
set dummy $ac_prog; ac_word=$2
 
4646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4647
$as_echo_n "checking for $ac_word... " >&6; }
 
4648
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4649
  $as_echo_n "(cached) " >&6
 
4650
else
 
4651
  if test -n "$ac_ct_CC"; then
 
4652
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4653
else
 
4654
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4655
for as_dir in $PATH
 
4656
do
 
4657
  IFS=$as_save_IFS
 
4658
  test -z "$as_dir" && as_dir=.
 
4659
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4660
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4661
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4662
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4663
    break 2
 
4664
  fi
 
4665
done
 
4666
  done
 
4667
IFS=$as_save_IFS
 
4668
 
 
4669
fi
 
4670
fi
 
4671
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4672
if test -n "$ac_ct_CC"; then
 
4673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4674
$as_echo "$ac_ct_CC" >&6; }
 
4675
else
 
4676
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4677
$as_echo "no" >&6; }
 
4678
fi
 
4679
 
 
4680
 
 
4681
  test -n "$ac_ct_CC" && break
 
4682
done
 
4683
 
 
4684
  if test "x$ac_ct_CC" = x; then
 
4685
    CC=""
 
4686
  else
 
4687
    case $cross_compiling:$ac_tool_warned in
 
4688
yes:)
 
4689
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4690
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4691
ac_tool_warned=yes ;;
 
4692
esac
 
4693
    CC=$ac_ct_CC
 
4694
  fi
 
4695
fi
 
4696
 
 
4697
fi
 
4698
 
 
4699
 
 
4700
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4701
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4702
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4703
See \`config.log' for more details" "$LINENO" 5; }
 
4704
 
 
4705
# Provide some information about the compiler.
 
4706
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4707
set X $ac_compile
 
4708
ac_compiler=$2
 
4709
for ac_option in --version -v -V -qversion; do
 
4710
  { { ac_try="$ac_compiler $ac_option >&5"
 
4711
case "(($ac_try" in
 
4712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4713
  *) ac_try_echo=$ac_try;;
 
4714
esac
 
4715
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4716
$as_echo "$ac_try_echo"; } >&5
 
4717
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4718
  ac_status=$?
 
4719
  if test -s conftest.err; then
 
4720
    sed '10a\
 
4721
... rest of stderr output deleted ...
 
4722
         10q' conftest.err >conftest.er1
 
4723
    cat conftest.er1 >&5
 
4724
  fi
 
4725
  rm -f conftest.er1 conftest.err
 
4726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4727
  test $ac_status = 0; }
 
4728
done
 
4729
 
 
4730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4731
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4732
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4733
  $as_echo_n "(cached) " >&6
 
4734
else
 
4735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4736
/* end confdefs.h.  */
 
4737
 
 
4738
int
 
4739
main ()
 
4740
{
 
4741
#ifndef __GNUC__
 
4742
       choke me
 
4743
#endif
 
4744
 
 
4745
  ;
 
4746
  return 0;
 
4747
}
 
4748
_ACEOF
 
4749
if ac_fn_c_try_compile "$LINENO"; then :
 
4750
  ac_compiler_gnu=yes
 
4751
else
 
4752
  ac_compiler_gnu=no
 
4753
fi
 
4754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4755
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4756
 
 
4757
fi
 
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4759
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4760
if test $ac_compiler_gnu = yes; then
 
4761
  GCC=yes
 
4762
else
 
4763
  GCC=
 
4764
fi
 
4765
ac_test_CFLAGS=${CFLAGS+set}
 
4766
ac_save_CFLAGS=$CFLAGS
 
4767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4768
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4769
if ${ac_cv_prog_cc_g+:} false; then :
 
4770
  $as_echo_n "(cached) " >&6
 
4771
else
 
4772
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4773
   ac_c_werror_flag=yes
 
4774
   ac_cv_prog_cc_g=no
 
4775
   CFLAGS="-g"
 
4776
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4777
/* end confdefs.h.  */
 
4778
 
 
4779
int
 
4780
main ()
 
4781
{
 
4782
 
 
4783
  ;
 
4784
  return 0;
 
4785
}
 
4786
_ACEOF
 
4787
if ac_fn_c_try_compile "$LINENO"; then :
 
4788
  ac_cv_prog_cc_g=yes
 
4789
else
 
4790
  CFLAGS=""
 
4791
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4792
/* end confdefs.h.  */
 
4793
 
 
4794
int
 
4795
main ()
 
4796
{
 
4797
 
 
4798
  ;
 
4799
  return 0;
 
4800
}
 
4801
_ACEOF
 
4802
if ac_fn_c_try_compile "$LINENO"; then :
 
4803
 
 
4804
else
 
4805
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4806
         CFLAGS="-g"
 
4807
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4808
/* end confdefs.h.  */
 
4809
 
 
4810
int
 
4811
main ()
 
4812
{
 
4813
 
 
4814
  ;
 
4815
  return 0;
 
4816
}
 
4817
_ACEOF
 
4818
if ac_fn_c_try_compile "$LINENO"; then :
 
4819
  ac_cv_prog_cc_g=yes
 
4820
fi
 
4821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4822
fi
 
4823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4824
fi
 
4825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4826
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4827
fi
 
4828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4829
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4830
if test "$ac_test_CFLAGS" = set; then
 
4831
  CFLAGS=$ac_save_CFLAGS
 
4832
elif test $ac_cv_prog_cc_g = yes; then
 
4833
  if test "$GCC" = yes; then
 
4834
    CFLAGS="-g -O2"
 
4835
  else
 
4836
    CFLAGS="-g"
 
4837
  fi
 
4838
else
 
4839
  if test "$GCC" = yes; then
 
4840
    CFLAGS="-O2"
 
4841
  else
 
4842
    CFLAGS=
 
4843
  fi
 
4844
fi
 
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4846
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4847
if ${ac_cv_prog_cc_c89+:} false; then :
 
4848
  $as_echo_n "(cached) " >&6
 
4849
else
 
4850
  ac_cv_prog_cc_c89=no
 
4851
ac_save_CC=$CC
 
4852
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4853
/* end confdefs.h.  */
 
4854
#include <stdarg.h>
 
4855
#include <stdio.h>
 
4856
#include <sys/types.h>
 
4857
#include <sys/stat.h>
 
4858
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4859
struct buf { int x; };
 
4860
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4861
static char *e (p, i)
 
4862
     char **p;
 
4863
     int i;
 
4864
{
 
4865
  return p[i];
 
4866
}
 
4867
static char *f (char * (*g) (char **, int), char **p, ...)
 
4868
{
 
4869
  char *s;
 
4870
  va_list v;
 
4871
  va_start (v,p);
 
4872
  s = g (p, va_arg (v,int));
 
4873
  va_end (v);
 
4874
  return s;
 
4875
}
 
4876
 
 
4877
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4878
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4879
   These don't provoke an error unfortunately, instead are silently treated
 
4880
   as 'x'.  The following induces an error, until -std is added to get
 
4881
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4882
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4883
   that's true only with -std.  */
 
4884
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4885
 
 
4886
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4887
   inside strings and character constants.  */
 
4888
#define FOO(x) 'x'
 
4889
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4890
 
 
4891
int test (int i, double x);
 
4892
struct s1 {int (*f) (int a);};
 
4893
struct s2 {int (*f) (double a);};
 
4894
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4895
int argc;
 
4896
char **argv;
 
4897
int
 
4898
main ()
 
4899
{
 
4900
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4901
  ;
 
4902
  return 0;
 
4903
}
 
4904
_ACEOF
 
4905
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4906
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4907
do
 
4908
  CC="$ac_save_CC $ac_arg"
 
4909
  if ac_fn_c_try_compile "$LINENO"; then :
 
4910
  ac_cv_prog_cc_c89=$ac_arg
 
4911
fi
 
4912
rm -f core conftest.err conftest.$ac_objext
 
4913
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4914
done
 
4915
rm -f conftest.$ac_ext
 
4916
CC=$ac_save_CC
 
4917
 
 
4918
fi
 
4919
# AC_CACHE_VAL
 
4920
case "x$ac_cv_prog_cc_c89" in
 
4921
  x)
 
4922
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4923
$as_echo "none needed" >&6; } ;;
 
4924
  xno)
 
4925
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4926
$as_echo "unsupported" >&6; } ;;
 
4927
  *)
 
4928
    CC="$CC $ac_cv_prog_cc_c89"
 
4929
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4930
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4931
esac
 
4932
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4933
 
 
4934
fi
 
4935
 
 
4936
ac_ext=c
 
4937
ac_cpp='$CPP $CPPFLAGS'
 
4938
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4939
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4940
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3805
4941
 
3806
4942
depcc="$CC"   am_compiler_list=
3807
4943
 
4286
5422
 
4287
5423
 
4288
5424
 
4289
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4290
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4291
 
if ${ac_cv_path_GREP+:} false; then :
4292
 
  $as_echo_n "(cached) " >&6
4293
 
else
4294
 
  if test -z "$GREP"; then
4295
 
  ac_path_GREP_found=false
4296
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4297
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4299
 
do
4300
 
  IFS=$as_save_IFS
4301
 
  test -z "$as_dir" && as_dir=.
4302
 
    for ac_prog in grep ggrep; do
4303
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4304
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4305
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4306
 
# Check for GNU ac_path_GREP and select it if it is found.
4307
 
  # Check for GNU $ac_path_GREP
4308
 
case `"$ac_path_GREP" --version 2>&1` in
4309
 
*GNU*)
4310
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4311
 
*)
4312
 
  ac_count=0
4313
 
  $as_echo_n 0123456789 >"conftest.in"
4314
 
  while :
4315
 
  do
4316
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4317
 
    mv "conftest.tmp" "conftest.in"
4318
 
    cp "conftest.in" "conftest.nl"
4319
 
    $as_echo 'GREP' >> "conftest.nl"
4320
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4321
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4322
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4323
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4324
 
      # Best one so far, save it but keep looking for a better one
4325
 
      ac_cv_path_GREP="$ac_path_GREP"
4326
 
      ac_path_GREP_max=$ac_count
4327
 
    fi
4328
 
    # 10*(2^10) chars as input seems more than enough
4329
 
    test $ac_count -gt 10 && break
4330
 
  done
4331
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4332
 
esac
4333
 
 
4334
 
      $ac_path_GREP_found && break 3
4335
 
    done
4336
 
  done
4337
 
  done
4338
 
IFS=$as_save_IFS
4339
 
  if test -z "$ac_cv_path_GREP"; then
4340
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4341
 
  fi
4342
 
else
4343
 
  ac_cv_path_GREP=$GREP
4344
 
fi
4345
 
 
4346
 
fi
4347
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4348
 
$as_echo "$ac_cv_path_GREP" >&6; }
4349
 
 GREP="$ac_cv_path_GREP"
4350
 
 
4351
 
 
4352
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4353
 
$as_echo_n "checking for egrep... " >&6; }
4354
 
if ${ac_cv_path_EGREP+:} false; then :
4355
 
  $as_echo_n "(cached) " >&6
4356
 
else
4357
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4358
 
   then ac_cv_path_EGREP="$GREP -E"
4359
 
   else
4360
 
     if test -z "$EGREP"; then
4361
 
  ac_path_EGREP_found=false
4362
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4363
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4365
 
do
4366
 
  IFS=$as_save_IFS
4367
 
  test -z "$as_dir" && as_dir=.
4368
 
    for ac_prog in egrep; do
4369
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4370
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4371
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4372
 
# Check for GNU ac_path_EGREP and select it if it is found.
4373
 
  # Check for GNU $ac_path_EGREP
4374
 
case `"$ac_path_EGREP" --version 2>&1` in
4375
 
*GNU*)
4376
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4377
 
*)
4378
 
  ac_count=0
4379
 
  $as_echo_n 0123456789 >"conftest.in"
4380
 
  while :
4381
 
  do
4382
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4383
 
    mv "conftest.tmp" "conftest.in"
4384
 
    cp "conftest.in" "conftest.nl"
4385
 
    $as_echo 'EGREP' >> "conftest.nl"
4386
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4387
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4388
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4389
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4390
 
      # Best one so far, save it but keep looking for a better one
4391
 
      ac_cv_path_EGREP="$ac_path_EGREP"
4392
 
      ac_path_EGREP_max=$ac_count
4393
 
    fi
4394
 
    # 10*(2^10) chars as input seems more than enough
4395
 
    test $ac_count -gt 10 && break
4396
 
  done
4397
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4398
 
esac
4399
 
 
4400
 
      $ac_path_EGREP_found && break 3
4401
 
    done
4402
 
  done
4403
 
  done
4404
 
IFS=$as_save_IFS
4405
 
  if test -z "$ac_cv_path_EGREP"; then
4406
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4407
 
  fi
4408
 
else
4409
 
  ac_cv_path_EGREP=$EGREP
4410
 
fi
4411
 
 
4412
 
   fi
4413
 
fi
4414
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4415
 
$as_echo "$ac_cv_path_EGREP" >&6; }
4416
 
 EGREP="$ac_cv_path_EGREP"
4417
 
 
4418
 
 
4419
5425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4420
5426
$as_echo_n "checking for fgrep... " >&6; }
4421
5427
if ${ac_cv_path_FGREP+:} false; then :
5613
6619
 
5614
6620
 
5615
6621
 
5616
 
 
5617
6622
if test -n "$ac_tool_prefix"; then
5618
6623
  for ac_prog in ar
5619
6624
  do
7293
8298
    ;;
7294
8299
  esac
7295
8300
 
7296
 
 
7297
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7298
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7299
 
if ${ac_cv_header_stdc+:} false; then :
7300
 
  $as_echo_n "(cached) " >&6
7301
 
else
7302
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303
 
/* end confdefs.h.  */
7304
 
#include <stdlib.h>
7305
 
#include <stdarg.h>
7306
 
#include <string.h>
7307
 
#include <float.h>
7308
 
 
7309
 
int
7310
 
main ()
7311
 
{
7312
 
 
7313
 
  ;
7314
 
  return 0;
7315
 
}
7316
 
_ACEOF
7317
 
if ac_fn_c_try_compile "$LINENO"; then :
7318
 
  ac_cv_header_stdc=yes
7319
 
else
7320
 
  ac_cv_header_stdc=no
7321
 
fi
7322
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7323
 
 
7324
 
if test $ac_cv_header_stdc = yes; then
7325
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7326
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327
 
/* end confdefs.h.  */
7328
 
#include <string.h>
7329
 
 
7330
 
_ACEOF
7331
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7332
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7333
 
 
7334
 
else
7335
 
  ac_cv_header_stdc=no
7336
 
fi
7337
 
rm -f conftest*
7338
 
 
7339
 
fi
7340
 
 
7341
 
if test $ac_cv_header_stdc = yes; then
7342
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7343
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344
 
/* end confdefs.h.  */
7345
 
#include <stdlib.h>
7346
 
 
7347
 
_ACEOF
7348
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7349
 
  $EGREP "free" >/dev/null 2>&1; then :
7350
 
 
7351
 
else
7352
 
  ac_cv_header_stdc=no
7353
 
fi
7354
 
rm -f conftest*
7355
 
 
7356
 
fi
7357
 
 
7358
 
if test $ac_cv_header_stdc = yes; then
7359
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7360
 
  if test "$cross_compiling" = yes; then :
7361
 
  :
7362
 
else
7363
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364
 
/* end confdefs.h.  */
7365
 
#include <ctype.h>
7366
 
#include <stdlib.h>
7367
 
#if ((' ' & 0x0FF) == 0x020)
7368
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7369
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7370
 
#else
7371
 
# define ISLOWER(c) \
7372
 
                   (('a' <= (c) && (c) <= 'i') \
7373
 
                     || ('j' <= (c) && (c) <= 'r') \
7374
 
                     || ('s' <= (c) && (c) <= 'z'))
7375
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7376
 
#endif
7377
 
 
7378
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7379
 
int
7380
 
main ()
7381
 
{
7382
 
  int i;
7383
 
  for (i = 0; i < 256; i++)
7384
 
    if (XOR (islower (i), ISLOWER (i))
7385
 
        || toupper (i) != TOUPPER (i))
7386
 
      return 2;
7387
 
  return 0;
7388
 
}
7389
 
_ACEOF
7390
 
if ac_fn_c_try_run "$LINENO"; then :
7391
 
 
7392
 
else
7393
 
  ac_cv_header_stdc=no
7394
 
fi
7395
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7396
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7397
 
fi
7398
 
 
7399
 
fi
7400
 
fi
7401
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7402
 
$as_echo "$ac_cv_header_stdc" >&6; }
7403
 
if test $ac_cv_header_stdc = yes; then
7404
 
 
7405
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7406
 
 
7407
 
fi
7408
 
 
7409
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7410
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7411
 
                  inttypes.h stdint.h unistd.h
7412
 
do :
7413
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7414
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7415
 
"
7416
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7417
 
  cat >>confdefs.h <<_ACEOF
7418
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7419
 
_ACEOF
7420
 
 
7421
 
fi
7422
 
 
7423
 
done
7424
 
 
7425
 
 
7426
8301
for ac_header in dlfcn.h
7427
8302
do :
7428
8303
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11954
12829
fi
11955
12830
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11956
12831
 
 
12832
# Check for SO_REUSEADDR
 
12833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SO_REUSEADDR" >&5
 
12834
$as_echo_n "checking for SO_REUSEADDR... " >&6; }
 
12835
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12836
/* end confdefs.h.  */
 
12837
#include <sys/socket.h>
 
12838
                #include <stdio.h>
 
12839
int
 
12840
main ()
 
12841
{
 
12842
 int f = SO_REUSEADDR; printf("%d\n", f);
 
12843
  ;
 
12844
  return 0;
 
12845
}
 
12846
_ACEOF
 
12847
if ac_fn_c_try_compile "$LINENO"; then :
 
12848
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12849
$as_echo "yes" >&6; }
 
12850
 
 
12851
$as_echo "#define HAVE_SO_REUSEADDR 1" >>confdefs.h
 
12852
 
 
12853
else
 
12854
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12855
$as_echo "no" >&6; }
 
12856
 
 
12857
fi
 
12858
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12859
 
 
12860
# Check for dirent.d_type
 
12861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for d_type" >&5
 
12862
$as_echo_n "checking for d_type... " >&6; }
 
12863
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12864
/* end confdefs.h.  */
 
12865
#include <dirent.h>
 
12866
                #include <stdio.h>
 
12867
int
 
12868
main ()
 
12869
{
 
12870
 struct dirent d; printf("%d\n", d.d_type);
 
12871
  ;
 
12872
  return 0;
 
12873
}
 
12874
_ACEOF
 
12875
if ac_fn_c_try_compile "$LINENO"; then :
 
12876
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12877
$as_echo "yes" >&6; }
 
12878
 
 
12879
$as_echo "#define HAVE_D_TYPE 1" >>confdefs.h
 
12880
 
 
12881
else
 
12882
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12883
$as_echo "no" >&6; }
 
12884
 
 
12885
fi
 
12886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12887
 
11957
12888
###################################
11958
12889
# Check for regular dependencies
11959
12890
###################################
11960
12891
 
11961
 
infinity_libraries='glib-2.0 >= 2.16 gobject-2.0 >= 2.16 gmodule-2.0 >= 2.16 libxml-2.0 gnutls >= 1.7.2 libgsasl >= 0.2.21'
 
12892
infinity_libraries='glib-2.0 >= 2.16 gobject-2.0 >= 2.16 gmodule-2.0 >= 2.16 gthread-2.0 >= 2.16 libxml-2.0 gnutls >= 1.7.2 libgsasl >= 0.2.21'
11962
12893
 
11963
12894
 
11964
12895
pkg_failed=no
12144
13075
fi
12145
13076
 
12146
13077
###################################
 
13078
# Check for GTK+ 3
 
13079
###################################
 
13080
 
 
13081
 
 
13082
# Check whether --with-gtk3 was given.
 
13083
if test "${with_gtk3+set}" = set; then :
 
13084
  withval=$with_gtk3; with_gtk3=$withval
 
13085
else
 
13086
  with_gtk3=no
 
13087
fi
 
13088
 
 
13089
 
 
13090
if test "x$with_gtk3" = "xyes"
 
13091
then
 
13092
        gtk_requirement="gtk+-3.0 >= 2.90.6"
 
13093
        gtk_version=3
 
13094
else
 
13095
        gtk_requirement="gtk+-2.0 >= 2.12"
 
13096
        gtk_version=2
 
13097
fi
 
13098
 
 
13099
 
 
13100
 
 
13101
 
 
13102
###################################
12147
13103
# libinftextgtk optional package
12148
13104
###################################
12149
13105
 
12167
13123
    pkg_cv_inftextgtk_CFLAGS="$inftextgtk_CFLAGS"
12168
13124
 elif test -n "$PKG_CONFIG"; then
12169
13125
    if test -n "$PKG_CONFIG" && \
12170
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12171
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13126
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13127
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12172
13128
  ac_status=$?
12173
13129
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12174
13130
  test $ac_status = 0; }; then
12175
 
  pkg_cv_inftextgtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13131
  pkg_cv_inftextgtk_CFLAGS=`$PKG_CONFIG --cflags "$gtk_requirement" 2>/dev/null`
12176
13132
else
12177
13133
  pkg_failed=yes
12178
13134
fi
12183
13139
    pkg_cv_inftextgtk_LIBS="$inftextgtk_LIBS"
12184
13140
 elif test -n "$PKG_CONFIG"; then
12185
13141
    if test -n "$PKG_CONFIG" && \
12186
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12187
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13142
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13143
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12188
13144
  ac_status=$?
12189
13145
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12190
13146
  test $ac_status = 0; }; then
12191
 
  pkg_cv_inftextgtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13147
  pkg_cv_inftextgtk_LIBS=`$PKG_CONFIG --libs "$gtk_requirement" 2>/dev/null`
12192
13148
else
12193
13149
  pkg_failed=yes
12194
13150
fi
12208
13164
        _pkg_short_errors_supported=no
12209
13165
fi
12210
13166
        if test $_pkg_short_errors_supported = yes; then
12211
 
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13167
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gtk_requirement" 2>&1`
12212
13168
        else
12213
 
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13169
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gtk_requirement" 2>&1`
12214
13170
        fi
12215
13171
        # Put the nasty error message in config.log where it belongs
12216
13172
        echo "$inftextgtk_PKG_ERRORS" >&5
12238
13194
    pkg_cv_inftextgtk_CFLAGS="$inftextgtk_CFLAGS"
12239
13195
 elif test -n "$PKG_CONFIG"; then
12240
13196
    if test -n "$PKG_CONFIG" && \
12241
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12242
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13197
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13198
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12243
13199
  ac_status=$?
12244
13200
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12245
13201
  test $ac_status = 0; }; then
12246
 
  pkg_cv_inftextgtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13202
  pkg_cv_inftextgtk_CFLAGS=`$PKG_CONFIG --cflags "$gtk_requirement" 2>/dev/null`
12247
13203
else
12248
13204
  pkg_failed=yes
12249
13205
fi
12254
13210
    pkg_cv_inftextgtk_LIBS="$inftextgtk_LIBS"
12255
13211
 elif test -n "$PKG_CONFIG"; then
12256
13212
    if test -n "$PKG_CONFIG" && \
12257
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12258
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13213
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13214
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12259
13215
  ac_status=$?
12260
13216
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12261
13217
  test $ac_status = 0; }; then
12262
 
  pkg_cv_inftextgtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13218
  pkg_cv_inftextgtk_LIBS=`$PKG_CONFIG --libs "$gtk_requirement" 2>/dev/null`
12263
13219
else
12264
13220
  pkg_failed=yes
12265
13221
fi
12279
13235
        _pkg_short_errors_supported=no
12280
13236
fi
12281
13237
        if test $_pkg_short_errors_supported = yes; then
12282
 
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13238
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gtk_requirement" 2>&1`
12283
13239
        else
12284
 
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13240
                inftextgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gtk_requirement" 2>&1`
12285
13241
        fi
12286
13242
        # Put the nasty error message in config.log where it belongs
12287
13243
        echo "$inftextgtk_PKG_ERRORS" >&5
12288
13244
 
12289
 
        as_fn_error $? "Package requirements (gtk+-2.0 >= 2.12) were not met:
 
13245
        as_fn_error $? "Package requirements ($gtk_requirement) were not met:
12290
13246
 
12291
13247
$inftextgtk_PKG_ERRORS
12292
13248
 
12353
13309
    pkg_cv_infgtk_CFLAGS="$infgtk_CFLAGS"
12354
13310
 elif test -n "$PKG_CONFIG"; then
12355
13311
    if test -n "$PKG_CONFIG" && \
12356
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12357
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13312
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13313
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12358
13314
  ac_status=$?
12359
13315
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12360
13316
  test $ac_status = 0; }; then
12361
 
  pkg_cv_infgtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13317
  pkg_cv_infgtk_CFLAGS=`$PKG_CONFIG --cflags "$gtk_requirement" 2>/dev/null`
12362
13318
else
12363
13319
  pkg_failed=yes
12364
13320
fi
12369
13325
    pkg_cv_infgtk_LIBS="$infgtk_LIBS"
12370
13326
 elif test -n "$PKG_CONFIG"; then
12371
13327
    if test -n "$PKG_CONFIG" && \
12372
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12373
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13328
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13329
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12374
13330
  ac_status=$?
12375
13331
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12376
13332
  test $ac_status = 0; }; then
12377
 
  pkg_cv_infgtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13333
  pkg_cv_infgtk_LIBS=`$PKG_CONFIG --libs "$gtk_requirement" 2>/dev/null`
12378
13334
else
12379
13335
  pkg_failed=yes
12380
13336
fi
12394
13350
        _pkg_short_errors_supported=no
12395
13351
fi
12396
13352
        if test $_pkg_short_errors_supported = yes; then
12397
 
                infgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13353
                infgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gtk_requirement" 2>&1`
12398
13354
        else
12399
 
                infgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13355
                infgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gtk_requirement" 2>&1`
12400
13356
        fi
12401
13357
        # Put the nasty error message in config.log where it belongs
12402
13358
        echo "$infgtk_PKG_ERRORS" >&5
12424
13380
    pkg_cv_infgtk_CFLAGS="$infgtk_CFLAGS"
12425
13381
 elif test -n "$PKG_CONFIG"; then
12426
13382
    if test -n "$PKG_CONFIG" && \
12427
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12428
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13383
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13384
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12429
13385
  ac_status=$?
12430
13386
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12431
13387
  test $ac_status = 0; }; then
12432
 
  pkg_cv_infgtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13388
  pkg_cv_infgtk_CFLAGS=`$PKG_CONFIG --cflags "$gtk_requirement" 2>/dev/null`
12433
13389
else
12434
13390
  pkg_failed=yes
12435
13391
fi
12440
13396
    pkg_cv_infgtk_LIBS="$infgtk_LIBS"
12441
13397
 elif test -n "$PKG_CONFIG"; then
12442
13398
    if test -n "$PKG_CONFIG" && \
12443
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.12\""; } >&5
12444
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.12") 2>&5
 
13399
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_requirement\""; } >&5
 
13400
  ($PKG_CONFIG --exists --print-errors "$gtk_requirement") 2>&5
12445
13401
  ac_status=$?
12446
13402
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12447
13403
  test $ac_status = 0; }; then
12448
 
  pkg_cv_infgtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.12" 2>/dev/null`
 
13404
  pkg_cv_infgtk_LIBS=`$PKG_CONFIG --libs "$gtk_requirement" 2>/dev/null`
12449
13405
else
12450
13406
  pkg_failed=yes
12451
13407
fi
12465
13421
        _pkg_short_errors_supported=no
12466
13422
fi
12467
13423
        if test $_pkg_short_errors_supported = yes; then
12468
 
                infgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13424
                infgtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gtk_requirement" 2>&1`
12469
13425
        else
12470
 
                infgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.12" 2>&1`
 
13426
                infgtk_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gtk_requirement" 2>&1`
12471
13427
        fi
12472
13428
        # Put the nasty error message in config.log where it belongs
12473
13429
        echo "$infgtk_PKG_ERRORS" >&5
12474
13430
 
12475
 
        as_fn_error $? "Package requirements (gtk+-2.0 >= 2.12) were not met:
 
13431
        as_fn_error $? "Package requirements ($gtk_requirement) were not met:
12476
13432
 
12477
13433
$infgtk_PKG_ERRORS
12478
13434
 
13016
13972
fi
13017
13973
 
13018
13974
 
 
13975
#################
 
13976
# Check for pam #
 
13977
#################
 
13978
 
 
13979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam" >&5
 
13980
$as_echo_n "checking for pam... " >&6; }
 
13981
as_ac_Lib=`$as_echo "ac_cv_lib_ pam ''_ pam_start " | $as_tr_sh`
 
13982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for  pam_start  in -l pam " >&5
 
13983
$as_echo_n "checking for  pam_start  in -l pam ... " >&6; }
 
13984
if eval \${$as_ac_Lib+:} false; then :
 
13985
  $as_echo_n "(cached) " >&6
 
13986
else
 
13987
  ac_check_lib_save_LIBS=$LIBS
 
13988
LIBS="-l pam   $LIBS"
 
13989
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13990
/* end confdefs.h.  */
 
13991
 
 
13992
/* Override any GCC internal prototype to avoid an error.
 
13993
   Use char because int might match the return type of a GCC
 
13994
   builtin and then its argument prototype would still apply.  */
 
13995
#ifdef __cplusplus
 
13996
extern "C"
 
13997
#endif
 
13998
char  pam_start  ();
 
13999
int
 
14000
main ()
 
14001
{
 
14002
return  pam_start  ();
 
14003
  ;
 
14004
  return 0;
 
14005
}
 
14006
_ACEOF
 
14007
if ac_fn_c_try_link "$LINENO"; then :
 
14008
  eval "$as_ac_Lib=yes"
 
14009
else
 
14010
  eval "$as_ac_Lib=no"
 
14011
fi
 
14012
rm -f core conftest.err conftest.$ac_objext \
 
14013
    conftest$ac_exeext conftest.$ac_ext
 
14014
LIBS=$ac_check_lib_save_LIBS
 
14015
fi
 
14016
eval ac_res=\$$as_ac_Lib
 
14017
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14018
$as_echo "$ac_res" >&6; }
 
14019
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
 
14020
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14021
$as_echo "yes" >&6; }
 
14022
 
 
14023
$as_echo "#define LIBINFINITY_HAVE_PAM 1" >>confdefs.h
 
14024
 
 
14025
               infinity_LIBS="$infinity_LIBS -lpam"
 
14026
else
 
14027
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14028
$as_echo "no" >&6; }
 
14029
 
 
14030
fi
 
14031
 
 
14032
 
 
14033
# Check for PAM_FAIL_DELAY
 
14034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PAM_FAIL_DELAY" >&5
 
14035
$as_echo_n "checking for PAM_FAIL_DELAY... " >&6; }
 
14036
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14037
/* end confdefs.h.  */
 
14038
#include <security/pam_appl.h>
 
14039
                #include <stdio.h>
 
14040
int
 
14041
main ()
 
14042
{
 
14043
 int f = PAM_FAIL_DELAY; printf("%d\n", f);
 
14044
  ;
 
14045
  return 0;
 
14046
}
 
14047
_ACEOF
 
14048
if ac_fn_c_try_compile "$LINENO"; then :
 
14049
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14050
$as_echo "yes" >&6; }
 
14051
 
 
14052
$as_echo "#define HAVE_PAM_FAIL_DELAY 1" >>confdefs.h
 
14053
 
 
14054
else
 
14055
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14056
$as_echo "no" >&6; }
 
14057
 
 
14058
fi
 
14059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14060
 
13019
14061
############
13020
14062
# gettext
13021
14063
############
13022
14064
 
13023
 
GETTEXT_PACKAGE="libinfinity-0.4"
 
14065
GETTEXT_PACKAGE="libinfinity-0.5"
13024
14066
 
13025
14067
 
13026
14068
cat >>confdefs.h <<_ACEOF
13768
14810
 
13769
14811
# These are separate for the macros to be expanded
13770
14812
# (note no square brackets)
13771
 
ac_config_files="$ac_config_files libinfinity-0.4.pc:libinfinity.pc.in libinftext-0.4.pc:libinftext.pc.in libinfgtk-0.4.pc:libinfgtk.pc.in libinftextgtk-0.4.pc:libinftextgtk.pc.in"
 
14813
ac_config_files="$ac_config_files libinfinity-0.5.pc:libinfinity.pc.in libinftext-0.5.pc:libinftext.pc.in libinfgtk-0.5.pc:libinfgtk.pc.in libinftextgtk-0.5.pc:libinftextgtk.pc.in"
13772
14814
 
13773
14815
 
13774
14816
cat >confcache <<\_ACEOF
13900
14942
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13901
14943
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13902
14944
fi
 
14945
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14946
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14947
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14948
fi
13903
14949
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13904
14950
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13905
14951
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14349
15395
# report actual input values of CONFIG_FILES etc. instead of their
14350
15396
# values after options handling.
14351
15397
ac_log="
14352
 
This file was extended by libinfinity $as_me 0.4.2, which was
 
15398
This file was extended by libinfinity $as_me 0.5.0, which was
14353
15399
generated by GNU Autoconf 2.68.  Invocation command line was
14354
15400
 
14355
15401
  CONFIG_FILES    = $CONFIG_FILES
14415
15461
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14416
15462
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14417
15463
ac_cs_version="\\
14418
 
libinfinity config.status 0.4.2
 
15464
libinfinity config.status 0.5.0
14419
15465
configured by $0, generated by GNU Autoconf 2.68,
14420
15466
  with options \\"\$ac_cs_config\\"
14421
15467
 
14857
15903
    "docs/reference/libinfgtk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libinfgtk/Makefile" ;;
14858
15904
    "docs/reference/libinftextgtk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libinftextgtk/Makefile" ;;
14859
15905
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14860
 
    "libinfinity-0.4.pc") CONFIG_FILES="$CONFIG_FILES libinfinity-0.4.pc:libinfinity.pc.in" ;;
14861
 
    "libinftext-0.4.pc") CONFIG_FILES="$CONFIG_FILES libinftext-0.4.pc:libinftext.pc.in" ;;
14862
 
    "libinfgtk-0.4.pc") CONFIG_FILES="$CONFIG_FILES libinfgtk-0.4.pc:libinfgtk.pc.in" ;;
14863
 
    "libinftextgtk-0.4.pc") CONFIG_FILES="$CONFIG_FILES libinftextgtk-0.4.pc:libinftextgtk.pc.in" ;;
 
15906
    "libinfinity-0.5.pc") CONFIG_FILES="$CONFIG_FILES libinfinity-0.5.pc:libinfinity.pc.in" ;;
 
15907
    "libinftext-0.5.pc") CONFIG_FILES="$CONFIG_FILES libinftext-0.5.pc:libinftext.pc.in" ;;
 
15908
    "libinfgtk-0.5.pc") CONFIG_FILES="$CONFIG_FILES libinfgtk-0.5.pc:libinfgtk.pc.in" ;;
 
15909
    "libinftextgtk-0.5.pc") CONFIG_FILES="$CONFIG_FILES libinftextgtk-0.5.pc:libinftextgtk.pc.in" ;;
14864
15910
 
14865
15911
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14866
15912
  esac