~ubuntu-branches/ubuntu/precise/gwibber/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-11-21 09:29:54 UTC
  • mfrom: (1.1.65)
  • Revision ID: package-import@ubuntu.com-20111121092954-v13j1zaju7dvqer3
Tags: 3.3.1-0ubuntu1
* New upstream release
  - Added a "debug" settings key to allow debug logging without running from 
    a terminal.  
  - Ensure _profile is passed a dict, if not it failed
  - Clean up indicator handling, setup the counts up front to ensure the 
    ordering is consistent.
  - Only trim the padding off the entry if we are running in the client.  
    This fixes the gray bar that was displayed below the poster entry 
    in gwibber-poster.
  - Translation fixes for liked and shared strings (LP: #833807)
  - Added LINGUAS file to ensure the po files make it in the 
    DIST (LP: #866038)
  - specify --shared-library when compiling the typelib, this fixes 
    GI (LP: #893125)
* lp_861903.patch, lp_882633.patch, and lp_884831.patch dropped, fixed 
  upstream
* debian/control
  - build depend on valac-0.14

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 gwibber 3.2.1.
 
3
# Generated by GNU Autoconf 2.68 for gwibber 3.3.1.
4
4
#
5
5
# Report bugs to <https://launchpad.net/gwibber>.
6
6
#
632
632
# Identity of this package.
633
633
PACKAGE_NAME='gwibber'
634
634
PACKAGE_TARNAME='gwibber'
635
 
PACKAGE_VERSION='3.2.1'
636
 
PACKAGE_STRING='gwibber 3.2.1'
 
635
PACKAGE_VERSION='3.3.1'
 
636
PACKAGE_STRING='gwibber 3.3.1'
637
637
PACKAGE_BUGREPORT='https://launchpad.net/gwibber'
638
638
PACKAGE_URL=''
639
639
 
673
673
# include <unistd.h>
674
674
#endif"
675
675
 
 
676
gt_needs=
676
677
ac_subst_vars='am__EXEEXT_FALSE
677
678
am__EXEEXT_TRUE
678
679
LTLIBOBJS
684
685
HAVE_UNITY_TRUE
685
686
HAVE_LOCALINSTALL_FALSE
686
687
HAVE_LOCALINSTALL_TRUE
687
 
GTK31_FALSE
688
 
GTK31_TRUE
689
688
DBUSSERVICEDIR
690
689
INTROSPECTION_TEN_FALSE
691
690
INTROSPECTION_TEN_TRUE
720
719
LIBGWIBBER_AGE
721
720
LIBGWIBBER_REVISION
722
721
LIBGWIBBER_CURRENT
723
 
MKINSTALLDIRS
 
722
DATADIRNAME
 
723
ALL_LINGUAS
 
724
INTLTOOL_PERL
 
725
INTLTOOL_POLICY_RULE
 
726
INTLTOOL_SERVICE_RULE
 
727
INTLTOOL_THEME_RULE
 
728
INTLTOOL_SCHEMAS_RULE
 
729
INTLTOOL_CAVES_RULE
 
730
INTLTOOL_XML_NOMERGE_RULE
 
731
INTLTOOL_XML_RULE
 
732
INTLTOOL_KBD_RULE
 
733
INTLTOOL_XAM_RULE
 
734
INTLTOOL_UI_RULE
 
735
INTLTOOL_SOUNDLIST_RULE
 
736
INTLTOOL_SHEET_RULE
 
737
INTLTOOL_SERVER_RULE
 
738
INTLTOOL_PONG_RULE
 
739
INTLTOOL_OAF_RULE
 
740
INTLTOOL_PROP_RULE
 
741
INTLTOOL_KEYS_RULE
 
742
INTLTOOL_DIRECTORY_RULE
 
743
INTLTOOL_DESKTOP_RULE
 
744
INTLTOOL_EXTRACT
 
745
INTLTOOL_MERGE
 
746
INTLTOOL_UPDATE
724
747
POSUB
725
 
POFILES
726
 
PO_IN_DATADIR_FALSE
727
 
PO_IN_DATADIR_TRUE
 
748
LTLIBINTL
 
749
LIBINTL
728
750
INTLLIBS
729
 
INSTOBJEXT
730
 
GMOFILES
731
 
CATOBJEXT
732
 
CATALOGS
733
 
MSGFMT_OPTS
 
751
LTLIBICONV
 
752
LIBICONV
 
753
INTL_MACOSX_LIBS
 
754
XGETTEXT_EXTRA_OPTIONS
 
755
MSGMERGE
 
756
XGETTEXT_015
 
757
XGETTEXT
 
758
GMSGFMT_015
 
759
MSGFMT_015
 
760
GMSGFMT
 
761
MSGFMT
 
762
GETTEXT_MACRO_VERSION
 
763
USE_NLS
734
764
GETTEXT_PACKAGE
735
765
pkgpyexecdir
736
766
pyexecdir
771
801
EGREP
772
802
GREP
773
803
CPP
774
 
VALAC
775
 
DATADIRNAME
776
804
am__fastdepCC_FALSE
777
805
am__fastdepCC_TRUE
778
806
CCDEPMODE
789
817
LDFLAGS
790
818
CFLAGS
791
819
CC
792
 
ALL_LINGUAS
793
 
INTLTOOL_PERL
794
 
GMSGFMT
795
 
MSGFMT
796
 
MSGMERGE
797
 
XGETTEXT
798
 
INTLTOOL_POLICY_RULE
799
 
INTLTOOL_SERVICE_RULE
800
 
INTLTOOL_THEME_RULE
801
 
INTLTOOL_SCHEMAS_RULE
802
 
INTLTOOL_CAVES_RULE
803
 
INTLTOOL_XML_NOMERGE_RULE
804
 
INTLTOOL_XML_RULE
805
 
INTLTOOL_KBD_RULE
806
 
INTLTOOL_XAM_RULE
807
 
INTLTOOL_UI_RULE
808
 
INTLTOOL_SOUNDLIST_RULE
809
 
INTLTOOL_SHEET_RULE
810
 
INTLTOOL_SERVER_RULE
811
 
INTLTOOL_PONG_RULE
812
 
INTLTOOL_OAF_RULE
813
 
INTLTOOL_PROP_RULE
814
 
INTLTOOL_KEYS_RULE
815
 
INTLTOOL_DIRECTORY_RULE
816
 
INTLTOOL_DESKTOP_RULE
817
 
INTLTOOL_EXTRACT
818
 
INTLTOOL_MERGE
819
 
INTLTOOL_UPDATE
820
 
USE_NLS
 
820
VALAC
821
821
MAINT
822
822
MAINTAINER_MODE_FALSE
823
823
MAINTAINER_MODE_TRUE
894
894
enable_option_checking
895
895
enable_silent_rules
896
896
enable_maintainer_mode
897
 
enable_nls
898
897
enable_dependency_tracking
899
898
enable_shared
900
899
enable_static
903
902
with_gnu_ld
904
903
with_sysroot
905
904
enable_libtool_lock
 
905
enable_nls
 
906
enable_rpath
 
907
with_libiconv_prefix
 
908
with_libintl_prefix
906
909
enable_schemas_compile
907
910
enable_maintainer_flags
908
911
enable_deprecated
1471
1474
  # Omit some internal or obsolete options to make the list less imposing.
1472
1475
  # This message is too long to be a string in the A/UX 3.1 sh.
1473
1476
  cat <<_ACEOF
1474
 
\`configure' configures gwibber 3.2.1 to adapt to many kinds of systems.
 
1477
\`configure' configures gwibber 3.3.1 to adapt to many kinds of systems.
1475
1478
 
1476
1479
Usage: $0 [OPTION]... [VAR=VALUE]...
1477
1480
 
1541
1544
 
1542
1545
if test -n "$ac_init_help"; then
1543
1546
  case $ac_init_help in
1544
 
     short | recursive ) echo "Configuration of gwibber 3.2.1:";;
 
1547
     short | recursive ) echo "Configuration of gwibber 3.3.1:";;
1545
1548
   esac
1546
1549
  cat <<\_ACEOF
1547
1550
 
1553
1556
  --disable-silent-rules         verbose build output (undo: `make V=0')
1554
1557
  --enable-maintainer-mode  enable make rules and dependencies not useful
1555
1558
                          (and sometimes confusing) to the casual installer
1556
 
  --disable-nls           do not use Native Language Support
1557
1559
  --disable-dependency-tracking  speeds up one-time build
1558
1560
  --enable-dependency-tracking   do not reject slow dependency extractors
1559
1561
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1561
1563
  --enable-fast-install[=PKGS]
1562
1564
                          optimize for fast installation [default=yes]
1563
1565
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1566
  --disable-nls           do not use Native Language Support
 
1567
  --disable-rpath         do not hardcode runtime library paths
1564
1568
  --disable-schemas-compile
1565
1569
                          Disable regeneration of gschemas.compiled on install
1566
1570
  --enable-maintainer-flags=[no/yes@:>:
1576
1580
Optional Packages:
1577
1581
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1578
1582
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1579
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1583
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1580
1584
                          both]
1581
1585
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1582
1586
  --with-sysroot=DIR Search for dependent libraries within DIR
1583
1587
                        (or the compiler's sysroot if not specified).
 
1588
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1589
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1590
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1591
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1592
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1584
1593
 
1585
1594
Some influential environment variables:
1586
1595
  CC          C compiler command
1672
1681
test -n "$ac_init_help" && exit $ac_status
1673
1682
if $ac_init_version; then
1674
1683
  cat <<\_ACEOF
1675
 
gwibber configure 3.2.1
 
1684
gwibber configure 3.3.1
1676
1685
generated by GNU Autoconf 2.68
1677
1686
 
1678
1687
Copyright (C) 2010 Free Software Foundation, Inc.
1726
1735
 
1727
1736
} # ac_fn_c_try_compile
1728
1737
 
 
1738
# ac_fn_c_try_cpp LINENO
 
1739
# ----------------------
 
1740
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1741
ac_fn_c_try_cpp ()
 
1742
{
 
1743
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1744
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1745
case "(($ac_try" in
 
1746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1747
  *) ac_try_echo=$ac_try;;
 
1748
esac
 
1749
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1750
$as_echo "$ac_try_echo"; } >&5
 
1751
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1752
  ac_status=$?
 
1753
  if test -s conftest.err; then
 
1754
    grep -v '^ *+' conftest.err >conftest.er1
 
1755
    cat conftest.er1 >&5
 
1756
    mv -f conftest.er1 conftest.err
 
1757
  fi
 
1758
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1759
  test $ac_status = 0; } > conftest.i && {
 
1760
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1761
         test ! -s conftest.err
 
1762
       }; then :
 
1763
  ac_retval=0
 
1764
else
 
1765
  $as_echo "$as_me: failed program was:" >&5
 
1766
sed 's/^/| /' conftest.$ac_ext >&5
 
1767
 
 
1768
    ac_retval=1
 
1769
fi
 
1770
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1771
  as_fn_set_status $ac_retval
 
1772
 
 
1773
} # ac_fn_c_try_cpp
 
1774
 
 
1775
# ac_fn_c_try_run LINENO
 
1776
# ----------------------
 
1777
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1778
# that executables *can* be run.
 
1779
ac_fn_c_try_run ()
 
1780
{
 
1781
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1782
  if { { ac_try="$ac_link"
 
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_link") 2>&5
 
1790
  ac_status=$?
 
1791
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1792
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1793
  { { case "(($ac_try" in
 
1794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1795
  *) ac_try_echo=$ac_try;;
 
1796
esac
 
1797
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1798
$as_echo "$ac_try_echo"; } >&5
 
1799
  (eval "$ac_try") 2>&5
 
1800
  ac_status=$?
 
1801
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1802
  test $ac_status = 0; }; }; then :
 
1803
  ac_retval=0
 
1804
else
 
1805
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1806
       $as_echo "$as_me: failed program was:" >&5
 
1807
sed 's/^/| /' conftest.$ac_ext >&5
 
1808
 
 
1809
       ac_retval=$ac_status
 
1810
fi
 
1811
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1812
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1813
  as_fn_set_status $ac_retval
 
1814
 
 
1815
} # ac_fn_c_try_run
 
1816
 
1729
1817
# ac_fn_c_try_link LINENO
1730
1818
# -----------------------
1731
1819
# Try to link conftest.$ac_ext, and return whether this succeeded.
1772
1860
 
1773
1861
} # ac_fn_c_try_link
1774
1862
 
 
1863
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1864
# -------------------------------------------------------
 
1865
# Tests whether HEADER exists and can be compiled using the include files in
 
1866
# INCLUDES, setting the cache variable VAR accordingly.
 
1867
ac_fn_c_check_header_compile ()
 
1868
{
 
1869
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1870
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1871
$as_echo_n "checking for $2... " >&6; }
 
1872
if eval \${$3+:} false; then :
 
1873
  $as_echo_n "(cached) " >&6
 
1874
else
 
1875
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1876
/* end confdefs.h.  */
 
1877
$4
 
1878
#include <$2>
 
1879
_ACEOF
 
1880
if ac_fn_c_try_compile "$LINENO"; then :
 
1881
  eval "$3=yes"
 
1882
else
 
1883
  eval "$3=no"
 
1884
fi
 
1885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1886
fi
 
1887
eval ac_res=\$$3
 
1888
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1889
$as_echo "$ac_res" >&6; }
 
1890
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1891
 
 
1892
} # ac_fn_c_check_header_compile
 
1893
 
1775
1894
# ac_fn_c_check_func LINENO FUNC VAR
1776
1895
# ----------------------------------
1777
1896
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1838
1957
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839
1958
 
1840
1959
} # ac_fn_c_check_func
1841
 
 
1842
 
# ac_fn_c_try_cpp LINENO
1843
 
# ----------------------
1844
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1845
 
ac_fn_c_try_cpp ()
1846
 
{
1847
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1849
 
case "(($ac_try" in
1850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851
 
  *) ac_try_echo=$ac_try;;
1852
 
esac
1853
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854
 
$as_echo "$ac_try_echo"; } >&5
1855
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1856
 
  ac_status=$?
1857
 
  if test -s conftest.err; then
1858
 
    grep -v '^ *+' conftest.err >conftest.er1
1859
 
    cat conftest.er1 >&5
1860
 
    mv -f conftest.er1 conftest.err
1861
 
  fi
1862
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863
 
  test $ac_status = 0; } > conftest.i && {
1864
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1865
 
         test ! -s conftest.err
1866
 
       }; then :
1867
 
  ac_retval=0
1868
 
else
1869
 
  $as_echo "$as_me: failed program was:" >&5
1870
 
sed 's/^/| /' conftest.$ac_ext >&5
1871
 
 
1872
 
    ac_retval=1
1873
 
fi
1874
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875
 
  as_fn_set_status $ac_retval
1876
 
 
1877
 
} # ac_fn_c_try_cpp
1878
 
 
1879
 
# ac_fn_c_try_run LINENO
1880
 
# ----------------------
1881
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1882
 
# that executables *can* be run.
1883
 
ac_fn_c_try_run ()
1884
 
{
1885
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886
 
  if { { ac_try="$ac_link"
1887
 
case "(($ac_try" in
1888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889
 
  *) ac_try_echo=$ac_try;;
1890
 
esac
1891
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892
 
$as_echo "$ac_try_echo"; } >&5
1893
 
  (eval "$ac_link") 2>&5
1894
 
  ac_status=$?
1895
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1897
 
  { { case "(($ac_try" in
1898
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899
 
  *) ac_try_echo=$ac_try;;
1900
 
esac
1901
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902
 
$as_echo "$ac_try_echo"; } >&5
1903
 
  (eval "$ac_try") 2>&5
1904
 
  ac_status=$?
1905
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906
 
  test $ac_status = 0; }; }; then :
1907
 
  ac_retval=0
1908
 
else
1909
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1910
 
       $as_echo "$as_me: failed program was:" >&5
1911
 
sed 's/^/| /' conftest.$ac_ext >&5
1912
 
 
1913
 
       ac_retval=$ac_status
1914
 
fi
1915
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917
 
  as_fn_set_status $ac_retval
1918
 
 
1919
 
} # ac_fn_c_try_run
1920
 
 
1921
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1922
 
# -------------------------------------------------------
1923
 
# Tests whether HEADER exists and can be compiled using the include files in
1924
 
# INCLUDES, setting the cache variable VAR accordingly.
1925
 
ac_fn_c_check_header_compile ()
1926
 
{
1927
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929
 
$as_echo_n "checking for $2... " >&6; }
1930
 
if eval \${$3+:} false; then :
1931
 
  $as_echo_n "(cached) " >&6
1932
 
else
1933
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934
 
/* end confdefs.h.  */
1935
 
$4
1936
 
#include <$2>
1937
 
_ACEOF
1938
 
if ac_fn_c_try_compile "$LINENO"; then :
1939
 
  eval "$3=yes"
1940
 
else
1941
 
  eval "$3=no"
1942
 
fi
1943
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944
 
fi
1945
 
eval ac_res=\$$3
1946
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947
 
$as_echo "$ac_res" >&6; }
1948
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949
 
 
1950
 
} # ac_fn_c_check_header_compile
1951
 
 
1952
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1953
 
# -------------------------------------------------------
1954
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1955
 
# the include files in INCLUDES and setting the cache variable VAR
1956
 
# accordingly.
1957
 
ac_fn_c_check_header_mongrel ()
1958
 
{
1959
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960
 
  if eval \${$3+:} false; then :
1961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962
 
$as_echo_n "checking for $2... " >&6; }
1963
 
if eval \${$3+:} false; then :
1964
 
  $as_echo_n "(cached) " >&6
1965
 
fi
1966
 
eval ac_res=\$$3
1967
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968
 
$as_echo "$ac_res" >&6; }
1969
 
else
1970
 
  # Is the header compilable?
1971
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1972
 
$as_echo_n "checking $2 usability... " >&6; }
1973
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974
 
/* end confdefs.h.  */
1975
 
$4
1976
 
#include <$2>
1977
 
_ACEOF
1978
 
if ac_fn_c_try_compile "$LINENO"; then :
1979
 
  ac_header_compiler=yes
1980
 
else
1981
 
  ac_header_compiler=no
1982
 
fi
1983
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1985
 
$as_echo "$ac_header_compiler" >&6; }
1986
 
 
1987
 
# Is the header present?
1988
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1989
 
$as_echo_n "checking $2 presence... " >&6; }
1990
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991
 
/* end confdefs.h.  */
1992
 
#include <$2>
1993
 
_ACEOF
1994
 
if ac_fn_c_try_cpp "$LINENO"; then :
1995
 
  ac_header_preproc=yes
1996
 
else
1997
 
  ac_header_preproc=no
1998
 
fi
1999
 
rm -f conftest.err conftest.i conftest.$ac_ext
2000
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2001
 
$as_echo "$ac_header_preproc" >&6; }
2002
 
 
2003
 
# So?  What about this header?
2004
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2005
 
  yes:no: )
2006
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2007
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2008
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2009
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2010
 
    ;;
2011
 
  no:yes:* )
2012
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2013
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2014
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2015
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2016
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2017
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2018
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2019
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2020
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2022
 
( $as_echo "## -------------------------------------------- ##
2023
 
## Report this to https://launchpad.net/gwibber ##
2024
 
## -------------------------------------------- ##"
2025
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2026
 
    ;;
2027
 
esac
2028
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029
 
$as_echo_n "checking for $2... " >&6; }
2030
 
if eval \${$3+:} false; then :
2031
 
  $as_echo_n "(cached) " >&6
2032
 
else
2033
 
  eval "$3=\$ac_header_compiler"
2034
 
fi
2035
 
eval ac_res=\$$3
2036
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037
 
$as_echo "$ac_res" >&6; }
2038
 
fi
2039
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040
 
 
2041
 
} # ac_fn_c_check_header_mongrel
2042
1960
cat >config.log <<_ACEOF
2043
1961
This file contains any messages produced by compilers while
2044
1962
running configure, to aid debugging if configure makes a mistake.
2045
1963
 
2046
 
It was created by gwibber $as_me 3.2.1, which was
 
1964
It was created by gwibber $as_me 3.3.1, which was
2047
1965
generated by GNU Autoconf 2.68.  Invocation command line was
2048
1966
 
2049
1967
  $ $0 $@
2323
2241
  >$cache_file
2324
2242
fi
2325
2243
 
 
2244
gt_needs="$gt_needs "
2326
2245
# Check that the precious variables saved in the cache have kept the same
2327
2246
# value.
2328
2247
ac_cache_corrupted=false
2876
2795
 
2877
2796
# Define the identity of the package.
2878
2797
 PACKAGE=gwibber
2879
 
 VERSION=3.2.1
 
2798
 VERSION=3.3.1
2880
2799
 
2881
2800
 
2882
2801
cat >>confdefs.h <<_ACEOF
2918
2837
 
2919
2838
 
2920
2839
GWIBBER_MAJOR_VERSION=3
2921
 
GWIBBER_MINOR_VERSION=2
 
2840
GWIBBER_MINOR_VERSION=3
2922
2841
GWIBBER_MICRO_VERSION=1
2923
 
GWIBBER_VERSION=3.2.1
 
2842
GWIBBER_VERSION=3.3.1
2924
2843
GWIBBER_API_VERSION=0.2
2925
2844
 
2926
2845
 
2952
2871
  MAINT=$MAINTAINER_MODE_TRUE
2953
2872
 
2954
2873
 
2955
 
 
2956
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2957
 
$as_echo_n "checking whether NLS is requested... " >&6; }
2958
 
    # Check whether --enable-nls was given.
2959
 
if test "${enable_nls+set}" = set; then :
2960
 
  enableval=$enable_nls; USE_NLS=$enableval
 
2874
# Extract the first word of "valac-0.14", so it can be a program name with args.
 
2875
set dummy valac-0.14; ac_word=$2
 
2876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2877
$as_echo_n "checking for $ac_word... " >&6; }
 
2878
if ${ac_cv_path_VALAC+:} false; then :
 
2879
  $as_echo_n "(cached) " >&6
2961
2880
else
2962
 
  USE_NLS=yes
2963
 
fi
2964
 
 
2965
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2966
 
$as_echo "$USE_NLS" >&6; }
2967
 
 
2968
 
 
2969
 
DEPDIR="${am__leading_dot}deps"
2970
 
 
2971
 
ac_config_commands="$ac_config_commands depfiles"
2972
 
 
2973
 
 
2974
 
am_make=${MAKE-make}
2975
 
cat > confinc << 'END'
2976
 
am__doit:
2977
 
        @echo this is the am__doit target
2978
 
.PHONY: am__doit
2979
 
END
2980
 
# If we don't find an include directive, just comment out the code.
2981
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2982
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2983
 
am__include="#"
2984
 
am__quote=
2985
 
_am_result=none
2986
 
# First try GNU make style include.
2987
 
echo "include confinc" > confmf
2988
 
# Ignore all kinds of additional output from `make'.
2989
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2990
 
*the\ am__doit\ target*)
2991
 
  am__include=include
2992
 
  am__quote=
2993
 
  _am_result=GNU
 
2881
  case $VALAC in
 
2882
  [\\/]* | ?:[\\/]*)
 
2883
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
 
2884
  ;;
 
2885
  *)
 
2886
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2887
for as_dir in $PATH
 
2888
do
 
2889
  IFS=$as_save_IFS
 
2890
  test -z "$as_dir" && as_dir=.
 
2891
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2892
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2893
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
 
2894
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2895
    break 2
 
2896
  fi
 
2897
done
 
2898
  done
 
2899
IFS=$as_save_IFS
 
2900
 
2994
2901
  ;;
2995
2902
esac
2996
 
# Now try BSD make style include.
2997
 
if test "$am__include" = "#"; then
2998
 
   echo '.include "confinc"' > confmf
2999
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3000
 
   *the\ am__doit\ target*)
3001
 
     am__include=.include
3002
 
     am__quote="\""
3003
 
     _am_result=BSD
 
2903
fi
 
2904
VALAC=$ac_cv_path_VALAC
 
2905
if test -n "$VALAC"; then
 
2906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
 
2907
$as_echo "$VALAC" >&6; }
 
2908
else
 
2909
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2910
$as_echo "no" >&6; }
 
2911
fi
 
2912
 
 
2913
 
 
2914
 if test -z "$VALAC"; then :
 
2915
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
 
2916
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
 
2917
else
 
2918
  if test -n "0.14.0"; then :
 
2919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.14.0" >&5
 
2920
$as_echo_n "checking $VALAC is at least version 0.14.0... " >&6; }
 
2921
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
 
2922
       as_arg_v1=0.14.0
 
2923
as_arg_v2="$am__vala_version"
 
2924
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
2925
case $? in #(
 
2926
  1) :
 
2927
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2928
$as_echo "yes" >&6; } ;; #(
 
2929
  0) :
 
2930
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2931
$as_echo "yes" >&6; } ;; #(
 
2932
  2) :
 
2933
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2934
$as_echo "no" >&6; }
 
2935
          as_fn_error $? "Vala 0.14.0 not found." "$LINENO" 5 ;; #(
 
2936
  *) :
3004
2937
     ;;
3005
 
   esac
3006
 
fi
3007
 
 
3008
 
 
3009
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3010
 
$as_echo "$_am_result" >&6; }
3011
 
rm -f confinc confmf
3012
 
 
3013
 
# Check whether --enable-dependency-tracking was given.
3014
 
if test "${enable_dependency_tracking+set}" = set; then :
3015
 
  enableval=$enable_dependency_tracking;
3016
 
fi
3017
 
 
3018
 
if test "x$enable_dependency_tracking" != xno; then
3019
 
  am_depcomp="$ac_aux_dir/depcomp"
3020
 
  AMDEPBACKSLASH='\'
3021
 
fi
3022
 
 if test "x$enable_dependency_tracking" != xno; then
3023
 
  AMDEP_TRUE=
3024
 
  AMDEP_FALSE='#'
3025
 
else
3026
 
  AMDEP_TRUE='#'
3027
 
  AMDEP_FALSE=
3028
 
fi
3029
 
 
3030
 
 
 
2938
esac
 
2939
fi
 
2940
fi
 
2941
 
 
2942
 
 
2943
if test -z "$VALAC"; then :
 
2944
  as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
 
2945
fi
3031
2946
ac_ext=c
3032
2947
ac_cpp='$CPP $CPPFLAGS'
3033
2948
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3817
3732
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818
3733
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819
3734
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3820
 
 
3821
 
depcc="$CC"   am_compiler_list=
3822
 
 
3823
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3824
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3825
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3826
 
  $as_echo_n "(cached) " >&6
3827
 
else
3828
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3829
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3830
 
  # making bogus files that we don't know about and never remove.  For
3831
 
  # instance it was reported that on HP-UX the gcc test will end up
3832
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3833
 
  # in D'.
3834
 
  mkdir conftest.dir
3835
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3836
 
  # using a relative directory.
3837
 
  cp "$am_depcomp" conftest.dir
3838
 
  cd conftest.dir
3839
 
  # We will build objects and dependencies in a subdirectory because
3840
 
  # it helps to detect inapplicable dependency modes.  For instance
3841
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3842
 
  # side effect of compilation, but ICC will put the dependencies in
3843
 
  # the current directory while Tru64 will put them in the object
3844
 
  # directory.
3845
 
  mkdir sub
3846
 
 
3847
 
  am_cv_CC_dependencies_compiler_type=none
3848
 
  if test "$am_compiler_list" = ""; then
3849
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3850
 
  fi
3851
 
  am__universal=false
3852
 
  case " $depcc " in #(
3853
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3854
 
     esac
3855
 
 
3856
 
  for depmode in $am_compiler_list; do
3857
 
    # Setup a source with many dependencies, because some compilers
3858
 
    # like to wrap large dependency lists on column 80 (with \), and
3859
 
    # we should not choose a depcomp mode which is confused by this.
3860
 
    #
3861
 
    # We need to recreate these files for each test, as the compiler may
3862
 
    # overwrite some of them when testing with obscure command lines.
3863
 
    # This happens at least with the AIX C compiler.
3864
 
    : > sub/conftest.c
3865
 
    for i in 1 2 3 4 5 6; do
3866
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3867
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3868
 
      # Solaris 8's {/usr,}/bin/sh.
3869
 
      touch sub/conftst$i.h
3870
 
    done
3871
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3872
 
 
3873
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3874
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3875
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3876
 
    # versions had trouble with output in subdirs
3877
 
    am__obj=sub/conftest.${OBJEXT-o}
3878
 
    am__minus_obj="-o $am__obj"
3879
 
    case $depmode in
3880
 
    gcc)
3881
 
      # This depmode causes a compiler race in universal mode.
3882
 
      test "$am__universal" = false || continue
3883
 
      ;;
3884
 
    nosideeffect)
3885
 
      # after this tag, mechanisms are not by side-effect, so they'll
3886
 
      # only be used when explicitly requested
3887
 
      if test "x$enable_dependency_tracking" = xyes; then
3888
 
        continue
3889
 
      else
3890
 
        break
3891
 
      fi
3892
 
      ;;
3893
 
    msvisualcpp | msvcmsys)
3894
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3895
 
      # not run yet.  These depmodes are late enough in the game, and
3896
 
      # so weak that their functioning should not be impacted.
3897
 
      am__obj=conftest.${OBJEXT-o}
3898
 
      am__minus_obj=
3899
 
      ;;
3900
 
    none) break ;;
3901
 
    esac
3902
 
    if depmode=$depmode \
3903
 
       source=sub/conftest.c object=$am__obj \
3904
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3905
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3906
 
         >/dev/null 2>conftest.err &&
3907
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3908
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3909
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3910
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3911
 
      # icc doesn't choke on unknown options, it will just issue warnings
3912
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3913
 
      # that says an option was ignored or not supported.
3914
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3915
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3916
 
      # The diagnosis changed in icc 8.0:
3917
 
      #   icc: Command line remark: option '-MP' not supported
3918
 
      if (grep 'ignoring option' conftest.err ||
3919
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3920
 
        am_cv_CC_dependencies_compiler_type=$depmode
3921
 
        break
3922
 
      fi
3923
 
    fi
3924
 
  done
3925
 
 
3926
 
  cd ..
3927
 
  rm -rf conftest.dir
3928
 
else
3929
 
  am_cv_CC_dependencies_compiler_type=none
3930
 
fi
3931
 
 
3932
 
fi
3933
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3934
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3935
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3936
 
 
3937
 
 if
3938
 
  test "x$enable_dependency_tracking" != xno \
3939
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3940
 
  am__fastdepCC_TRUE=
3941
 
  am__fastdepCC_FALSE='#'
3942
 
else
3943
 
  am__fastdepCC_TRUE='#'
3944
 
  am__fastdepCC_FALSE=
3945
 
fi
3946
 
 
3947
 
 
3948
 
 
3949
 
 
3950
 
 
3951
 
case "$am__api_version" in
3952
 
    1.01234)
3953
 
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3954
 
    ;;
3955
 
    *)
3956
 
    ;;
3957
 
esac
3958
 
 
3959
 
if test -n "0.35.0"; then
3960
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3961
 
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3962
 
 
3963
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3964
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3965
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3966
 
 
3967
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3968
 
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3969
 
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3970
 
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
3971
 
fi
3972
 
 
3973
 
# Extract the first word of "intltool-update", so it can be a program name with args.
3974
 
set dummy intltool-update; ac_word=$2
3975
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976
 
$as_echo_n "checking for $ac_word... " >&6; }
3977
 
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3978
 
  $as_echo_n "(cached) " >&6
3979
 
else
3980
 
  case $INTLTOOL_UPDATE in
3981
 
  [\\/]* | ?:[\\/]*)
3982
 
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3983
 
  ;;
3984
 
  *)
3985
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986
 
for as_dir in $PATH
3987
 
do
3988
 
  IFS=$as_save_IFS
3989
 
  test -z "$as_dir" && as_dir=.
3990
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3991
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992
 
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3993
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994
 
    break 2
3995
 
  fi
3996
 
done
3997
 
  done
3998
 
IFS=$as_save_IFS
3999
 
 
4000
 
  ;;
4001
 
esac
4002
 
fi
4003
 
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4004
 
if test -n "$INTLTOOL_UPDATE"; then
4005
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4006
 
$as_echo "$INTLTOOL_UPDATE" >&6; }
4007
 
else
4008
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009
 
$as_echo "no" >&6; }
4010
 
fi
4011
 
 
4012
 
 
4013
 
# Extract the first word of "intltool-merge", so it can be a program name with args.
4014
 
set dummy intltool-merge; ac_word=$2
4015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4016
 
$as_echo_n "checking for $ac_word... " >&6; }
4017
 
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4018
 
  $as_echo_n "(cached) " >&6
4019
 
else
4020
 
  case $INTLTOOL_MERGE in
4021
 
  [\\/]* | ?:[\\/]*)
4022
 
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4023
 
  ;;
4024
 
  *)
4025
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026
 
for as_dir in $PATH
4027
 
do
4028
 
  IFS=$as_save_IFS
4029
 
  test -z "$as_dir" && as_dir=.
4030
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4031
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4032
 
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4033
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034
 
    break 2
4035
 
  fi
4036
 
done
4037
 
  done
4038
 
IFS=$as_save_IFS
4039
 
 
4040
 
  ;;
4041
 
esac
4042
 
fi
4043
 
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4044
 
if test -n "$INTLTOOL_MERGE"; then
4045
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4046
 
$as_echo "$INTLTOOL_MERGE" >&6; }
4047
 
else
4048
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049
 
$as_echo "no" >&6; }
4050
 
fi
4051
 
 
4052
 
 
4053
 
# Extract the first word of "intltool-extract", so it can be a program name with args.
4054
 
set dummy intltool-extract; ac_word=$2
4055
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056
 
$as_echo_n "checking for $ac_word... " >&6; }
4057
 
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4058
 
  $as_echo_n "(cached) " >&6
4059
 
else
4060
 
  case $INTLTOOL_EXTRACT in
4061
 
  [\\/]* | ?:[\\/]*)
4062
 
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4063
 
  ;;
4064
 
  *)
4065
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4066
 
for as_dir in $PATH
4067
 
do
4068
 
  IFS=$as_save_IFS
4069
 
  test -z "$as_dir" && as_dir=.
4070
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4071
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4072
 
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4073
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074
 
    break 2
4075
 
  fi
4076
 
done
4077
 
  done
4078
 
IFS=$as_save_IFS
4079
 
 
4080
 
  ;;
4081
 
esac
4082
 
fi
4083
 
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4084
 
if test -n "$INTLTOOL_EXTRACT"; then
4085
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4086
 
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4087
 
else
4088
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089
 
$as_echo "no" >&6; }
4090
 
fi
4091
 
 
4092
 
 
4093
 
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4094
 
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4095
 
fi
4096
 
 
4097
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4098
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4099
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4100
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4101
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4102
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4103
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4104
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4105
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4106
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4107
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4108
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4109
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4110
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4111
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4112
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4113
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4114
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4115
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4116
 
 
4117
 
 
4118
 
 
4119
 
 
4120
 
 
4121
 
 
4122
 
 
4123
 
 
4124
 
 
4125
 
 
4126
 
 
4127
 
 
4128
 
 
4129
 
 
4130
 
 
4131
 
 
4132
 
 
4133
 
 
4134
 
 
4135
 
 
4136
 
 
4137
 
 
4138
 
 
4139
 
 
4140
 
 
4141
 
 
4142
 
 
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
 
 
4149
 
 
4150
 
 
4151
 
 
4152
 
 
4153
 
 
4154
 
 
4155
 
 
4156
 
 
4157
 
 
4158
 
 
4159
 
 
4160
 
 
4161
 
 
4162
 
 
4163
 
 
4164
 
 
4165
 
 
4166
 
 
4167
 
 
4168
 
 
4169
 
 
4170
 
 
4171
 
 
4172
 
 
4173
 
 
4174
 
 
4175
 
 
4176
 
 
4177
 
 
4178
 
 
4179
 
 
4180
 
 
4181
 
 
4182
 
 
4183
 
 
4184
 
 
4185
 
 
4186
 
 
4187
 
 
4188
 
 
4189
 
 
4190
 
 
4191
 
 
4192
 
 
4193
 
 
4194
 
 
4195
 
 
4196
 
 
4197
 
 
4198
 
 
4199
 
 
4200
 
 
4201
 
 
4202
 
 
4203
 
 
4204
 
 
4205
 
 
4206
 
 
4207
 
 
4208
 
 
4209
 
 
4210
 
 
4211
 
 
4212
 
 
4213
 
# Check the gettext tools to make sure they are GNU
4214
 
# Extract the first word of "xgettext", so it can be a program name with args.
4215
 
set dummy xgettext; ac_word=$2
4216
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217
 
$as_echo_n "checking for $ac_word... " >&6; }
4218
 
if ${ac_cv_path_XGETTEXT+:} false; then :
4219
 
  $as_echo_n "(cached) " >&6
4220
 
else
4221
 
  case $XGETTEXT in
4222
 
  [\\/]* | ?:[\\/]*)
4223
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4224
 
  ;;
4225
 
  *)
4226
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227
 
for as_dir in $PATH
4228
 
do
4229
 
  IFS=$as_save_IFS
4230
 
  test -z "$as_dir" && as_dir=.
4231
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4232
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4233
 
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4234
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235
 
    break 2
4236
 
  fi
4237
 
done
4238
 
  done
4239
 
IFS=$as_save_IFS
4240
 
 
4241
 
  ;;
4242
 
esac
4243
 
fi
4244
 
XGETTEXT=$ac_cv_path_XGETTEXT
4245
 
if test -n "$XGETTEXT"; then
4246
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4247
 
$as_echo "$XGETTEXT" >&6; }
4248
 
else
4249
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250
 
$as_echo "no" >&6; }
4251
 
fi
4252
 
 
4253
 
 
4254
 
# Extract the first word of "msgmerge", so it can be a program name with args.
4255
 
set dummy msgmerge; ac_word=$2
4256
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257
 
$as_echo_n "checking for $ac_word... " >&6; }
4258
 
if ${ac_cv_path_MSGMERGE+:} false; then :
4259
 
  $as_echo_n "(cached) " >&6
4260
 
else
4261
 
  case $MSGMERGE in
4262
 
  [\\/]* | ?:[\\/]*)
4263
 
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4264
 
  ;;
4265
 
  *)
4266
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267
 
for as_dir in $PATH
4268
 
do
4269
 
  IFS=$as_save_IFS
4270
 
  test -z "$as_dir" && as_dir=.
4271
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4272
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273
 
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4274
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4275
 
    break 2
4276
 
  fi
4277
 
done
4278
 
  done
4279
 
IFS=$as_save_IFS
4280
 
 
4281
 
  ;;
4282
 
esac
4283
 
fi
4284
 
MSGMERGE=$ac_cv_path_MSGMERGE
4285
 
if test -n "$MSGMERGE"; then
4286
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4287
 
$as_echo "$MSGMERGE" >&6; }
4288
 
else
4289
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290
 
$as_echo "no" >&6; }
4291
 
fi
4292
 
 
4293
 
 
4294
 
# Extract the first word of "msgfmt", so it can be a program name with args.
4295
 
set dummy msgfmt; ac_word=$2
4296
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297
 
$as_echo_n "checking for $ac_word... " >&6; }
4298
 
if ${ac_cv_path_MSGFMT+:} false; then :
4299
 
  $as_echo_n "(cached) " >&6
4300
 
else
4301
 
  case $MSGFMT in
4302
 
  [\\/]* | ?:[\\/]*)
4303
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4304
 
  ;;
4305
 
  *)
4306
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4307
 
for as_dir in $PATH
4308
 
do
4309
 
  IFS=$as_save_IFS
4310
 
  test -z "$as_dir" && as_dir=.
4311
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4312
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313
 
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4314
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315
 
    break 2
4316
 
  fi
4317
 
done
4318
 
  done
4319
 
IFS=$as_save_IFS
4320
 
 
4321
 
  ;;
4322
 
esac
4323
 
fi
4324
 
MSGFMT=$ac_cv_path_MSGFMT
4325
 
if test -n "$MSGFMT"; then
4326
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4327
 
$as_echo "$MSGFMT" >&6; }
4328
 
else
4329
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330
 
$as_echo "no" >&6; }
4331
 
fi
4332
 
 
4333
 
 
4334
 
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4335
 
set dummy gmsgfmt; ac_word=$2
4336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337
 
$as_echo_n "checking for $ac_word... " >&6; }
4338
 
if ${ac_cv_path_GMSGFMT+:} false; then :
4339
 
  $as_echo_n "(cached) " >&6
4340
 
else
4341
 
  case $GMSGFMT in
4342
 
  [\\/]* | ?:[\\/]*)
4343
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4344
 
  ;;
4345
 
  *)
4346
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347
 
for as_dir in $PATH
4348
 
do
4349
 
  IFS=$as_save_IFS
4350
 
  test -z "$as_dir" && as_dir=.
4351
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4352
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4353
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4354
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4355
 
    break 2
4356
 
  fi
4357
 
done
4358
 
  done
4359
 
IFS=$as_save_IFS
4360
 
 
4361
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4362
 
  ;;
4363
 
esac
4364
 
fi
4365
 
GMSGFMT=$ac_cv_path_GMSGFMT
4366
 
if test -n "$GMSGFMT"; then
4367
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4368
 
$as_echo "$GMSGFMT" >&6; }
4369
 
else
4370
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371
 
$as_echo "no" >&6; }
4372
 
fi
4373
 
 
4374
 
 
4375
 
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4376
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4377
 
fi
4378
 
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4379
 
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4380
 
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4381
 
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4382
 
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4383
 
fi
4384
 
 
4385
 
# Extract the first word of "perl", so it can be a program name with args.
4386
 
set dummy perl; ac_word=$2
4387
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388
 
$as_echo_n "checking for $ac_word... " >&6; }
4389
 
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4390
 
  $as_echo_n "(cached) " >&6
4391
 
else
4392
 
  case $INTLTOOL_PERL in
4393
 
  [\\/]* | ?:[\\/]*)
4394
 
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4395
 
  ;;
4396
 
  *)
4397
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398
 
for as_dir in $PATH
4399
 
do
4400
 
  IFS=$as_save_IFS
4401
 
  test -z "$as_dir" && as_dir=.
4402
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4403
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404
 
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4405
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406
 
    break 2
4407
 
  fi
4408
 
done
4409
 
  done
4410
 
IFS=$as_save_IFS
4411
 
 
4412
 
  ;;
4413
 
esac
4414
 
fi
4415
 
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4416
 
if test -n "$INTLTOOL_PERL"; then
4417
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4418
 
$as_echo "$INTLTOOL_PERL" >&6; }
4419
 
else
4420
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421
 
$as_echo "no" >&6; }
4422
 
fi
4423
 
 
4424
 
 
4425
 
if test -z "$INTLTOOL_PERL"; then
4426
 
   as_fn_error $? "perl not found" "$LINENO" 5
4427
 
fi
4428
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4429
 
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4430
 
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4431
 
if test $? -ne 0; then
4432
 
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4433
 
else
4434
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4435
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4436
 
$as_echo "$IT_PERL_VERSION" >&6; }
4437
 
fi
4438
 
if test "x" != "xno-xml"; then
4439
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4440
 
$as_echo_n "checking for XML::Parser... " >&6; }
4441
 
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4442
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4443
 
$as_echo "ok" >&6; }
4444
 
   else
4445
 
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4446
 
   fi
4447
 
fi
4448
 
 
4449
 
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4450
 
 
4451
 
 
4452
 
# Set DATADIRNAME correctly if it is not set yet
4453
 
# (copied from glib-gettext.m4)
4454
 
if test -z "$DATADIRNAME"; then
4455
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456
 
/* end confdefs.h.  */
4457
 
 
4458
 
int
4459
 
main ()
4460
 
{
4461
 
extern int _nl_msg_cat_cntr;
4462
 
                       return _nl_msg_cat_cntr
4463
 
  ;
4464
 
  return 0;
4465
 
}
4466
 
_ACEOF
4467
 
if ac_fn_c_try_link "$LINENO"; then :
4468
 
  DATADIRNAME=share
4469
 
else
4470
 
  case $host in
4471
 
    *-*-solaris*)
4472
 
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4473
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4474
 
  DATADIRNAME=share
4475
 
else
4476
 
  DATADIRNAME=lib
4477
 
fi
4478
 
 
4479
 
    ;;
4480
 
    *)
4481
 
    DATADIRNAME=lib
4482
 
    ;;
4483
 
    esac
4484
 
fi
4485
 
rm -f core conftest.err conftest.$ac_objext \
4486
 
    conftest$ac_exeext conftest.$ac_ext
4487
 
fi
4488
 
 
4489
 
 
4490
 
 
4491
 
 
4492
 
 
4493
 
# Extract the first word of "valac-0.12", so it can be a program name with args.
4494
 
set dummy valac-0.12; ac_word=$2
4495
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496
 
$as_echo_n "checking for $ac_word... " >&6; }
4497
 
if ${ac_cv_path_VALAC+:} false; then :
4498
 
  $as_echo_n "(cached) " >&6
4499
 
else
4500
 
  case $VALAC in
4501
 
  [\\/]* | ?:[\\/]*)
4502
 
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4503
 
  ;;
4504
 
  *)
4505
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506
 
for as_dir in $PATH
4507
 
do
4508
 
  IFS=$as_save_IFS
4509
 
  test -z "$as_dir" && as_dir=.
4510
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4511
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512
 
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4513
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4514
 
    break 2
4515
 
  fi
4516
 
done
4517
 
  done
4518
 
IFS=$as_save_IFS
4519
 
 
4520
 
  ;;
4521
 
esac
4522
 
fi
4523
 
VALAC=$ac_cv_path_VALAC
4524
 
if test -n "$VALAC"; then
4525
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
4526
 
$as_echo "$VALAC" >&6; }
4527
 
else
4528
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4529
 
$as_echo "no" >&6; }
4530
 
fi
4531
 
 
4532
 
 
4533
 
 if test -z "$VALAC"; then :
4534
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
4535
 
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
4536
 
else
4537
 
  if test -n "0.11.6"; then :
4538
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.11.6" >&5
4539
 
$as_echo_n "checking $VALAC is at least version 0.11.6... " >&6; }
4540
 
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
4541
 
       as_arg_v1=0.11.6
4542
 
as_arg_v2="$am__vala_version"
4543
 
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
4544
 
case $? in #(
4545
 
  1) :
4546
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4547
 
$as_echo "yes" >&6; } ;; #(
4548
 
  0) :
4549
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4550
 
$as_echo "yes" >&6; } ;; #(
4551
 
  2) :
4552
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553
 
$as_echo "no" >&6; }
4554
 
          as_fn_error $? "Vala 0.11.6 not found." "$LINENO" 5 ;; #(
4555
 
  *) :
 
3735
DEPDIR="${am__leading_dot}deps"
 
3736
 
 
3737
ac_config_commands="$ac_config_commands depfiles"
 
3738
 
 
3739
 
 
3740
am_make=${MAKE-make}
 
3741
cat > confinc << 'END'
 
3742
am__doit:
 
3743
        @echo this is the am__doit target
 
3744
.PHONY: am__doit
 
3745
END
 
3746
# If we don't find an include directive, just comment out the code.
 
3747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3748
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3749
am__include="#"
 
3750
am__quote=
 
3751
_am_result=none
 
3752
# First try GNU make style include.
 
3753
echo "include confinc" > confmf
 
3754
# Ignore all kinds of additional output from `make'.
 
3755
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3756
*the\ am__doit\ target*)
 
3757
  am__include=include
 
3758
  am__quote=
 
3759
  _am_result=GNU
 
3760
  ;;
 
3761
esac
 
3762
# Now try BSD make style include.
 
3763
if test "$am__include" = "#"; then
 
3764
   echo '.include "confinc"' > confmf
 
3765
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3766
   *the\ am__doit\ target*)
 
3767
     am__include=.include
 
3768
     am__quote="\""
 
3769
     _am_result=BSD
4556
3770
     ;;
4557
 
esac
4558
 
fi
4559
 
fi
4560
 
 
4561
 
 
4562
 
if test -z "$VALAC"; then :
4563
 
  as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
4564
 
fi
4565
 
ac_ext=c
4566
 
ac_cpp='$CPP $CPPFLAGS'
4567
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4570
 
if test -n "$ac_tool_prefix"; then
4571
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4572
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574
 
$as_echo_n "checking for $ac_word... " >&6; }
4575
 
if ${ac_cv_prog_CC+:} false; then :
4576
 
  $as_echo_n "(cached) " >&6
4577
 
else
4578
 
  if test -n "$CC"; then
4579
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4580
 
else
4581
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582
 
for as_dir in $PATH
4583
 
do
4584
 
  IFS=$as_save_IFS
4585
 
  test -z "$as_dir" && as_dir=.
4586
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4587
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4589
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590
 
    break 2
4591
 
  fi
4592
 
done
4593
 
  done
4594
 
IFS=$as_save_IFS
4595
 
 
4596
 
fi
4597
 
fi
4598
 
CC=$ac_cv_prog_CC
4599
 
if test -n "$CC"; then
4600
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4601
 
$as_echo "$CC" >&6; }
4602
 
else
4603
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604
 
$as_echo "no" >&6; }
4605
 
fi
4606
 
 
4607
 
 
4608
 
fi
4609
 
if test -z "$ac_cv_prog_CC"; then
4610
 
  ac_ct_CC=$CC
4611
 
  # Extract the first word of "gcc", so it can be a program name with args.
4612
 
set dummy gcc; ac_word=$2
4613
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4614
 
$as_echo_n "checking for $ac_word... " >&6; }
4615
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4616
 
  $as_echo_n "(cached) " >&6
4617
 
else
4618
 
  if test -n "$ac_ct_CC"; then
4619
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4620
 
else
4621
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622
 
for as_dir in $PATH
4623
 
do
4624
 
  IFS=$as_save_IFS
4625
 
  test -z "$as_dir" && as_dir=.
4626
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4627
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628
 
    ac_cv_prog_ac_ct_CC="gcc"
4629
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630
 
    break 2
4631
 
  fi
4632
 
done
4633
 
  done
4634
 
IFS=$as_save_IFS
4635
 
 
4636
 
fi
4637
 
fi
4638
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4639
 
if test -n "$ac_ct_CC"; then
4640
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4641
 
$as_echo "$ac_ct_CC" >&6; }
4642
 
else
4643
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644
 
$as_echo "no" >&6; }
4645
 
fi
4646
 
 
4647
 
  if test "x$ac_ct_CC" = x; then
4648
 
    CC=""
4649
 
  else
4650
 
    case $cross_compiling:$ac_tool_warned in
4651
 
yes:)
4652
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4653
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4654
 
ac_tool_warned=yes ;;
4655
 
esac
4656
 
    CC=$ac_ct_CC
4657
 
  fi
4658
 
else
4659
 
  CC="$ac_cv_prog_CC"
4660
 
fi
4661
 
 
4662
 
if test -z "$CC"; then
4663
 
          if test -n "$ac_tool_prefix"; then
4664
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4665
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4666
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667
 
$as_echo_n "checking for $ac_word... " >&6; }
4668
 
if ${ac_cv_prog_CC+:} false; then :
4669
 
  $as_echo_n "(cached) " >&6
4670
 
else
4671
 
  if test -n "$CC"; then
4672
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4673
 
else
4674
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675
 
for as_dir in $PATH
4676
 
do
4677
 
  IFS=$as_save_IFS
4678
 
  test -z "$as_dir" && as_dir=.
4679
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4680
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4682
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683
 
    break 2
4684
 
  fi
4685
 
done
4686
 
  done
4687
 
IFS=$as_save_IFS
4688
 
 
4689
 
fi
4690
 
fi
4691
 
CC=$ac_cv_prog_CC
4692
 
if test -n "$CC"; then
4693
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4694
 
$as_echo "$CC" >&6; }
4695
 
else
4696
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697
 
$as_echo "no" >&6; }
4698
 
fi
4699
 
 
4700
 
 
4701
 
  fi
4702
 
fi
4703
 
if test -z "$CC"; then
4704
 
  # Extract the first word of "cc", so it can be a program name with args.
4705
 
set dummy cc; ac_word=$2
4706
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707
 
$as_echo_n "checking for $ac_word... " >&6; }
4708
 
if ${ac_cv_prog_CC+:} false; then :
4709
 
  $as_echo_n "(cached) " >&6
4710
 
else
4711
 
  if test -n "$CC"; then
4712
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4713
 
else
4714
 
  ac_prog_rejected=no
4715
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716
 
for as_dir in $PATH
4717
 
do
4718
 
  IFS=$as_save_IFS
4719
 
  test -z "$as_dir" && as_dir=.
4720
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4721
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4723
 
       ac_prog_rejected=yes
4724
 
       continue
4725
 
     fi
4726
 
    ac_cv_prog_CC="cc"
4727
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728
 
    break 2
4729
 
  fi
4730
 
done
4731
 
  done
4732
 
IFS=$as_save_IFS
4733
 
 
4734
 
if test $ac_prog_rejected = yes; then
4735
 
  # We found a bogon in the path, so make sure we never use it.
4736
 
  set dummy $ac_cv_prog_CC
4737
 
  shift
4738
 
  if test $# != 0; then
4739
 
    # We chose a different compiler from the bogus one.
4740
 
    # However, it has the same basename, so the bogon will be chosen
4741
 
    # first if we set CC to just the basename; use the full file name.
4742
 
    shift
4743
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4744
 
  fi
4745
 
fi
4746
 
fi
4747
 
fi
4748
 
CC=$ac_cv_prog_CC
4749
 
if test -n "$CC"; then
4750
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4751
 
$as_echo "$CC" >&6; }
4752
 
else
4753
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754
 
$as_echo "no" >&6; }
4755
 
fi
4756
 
 
4757
 
 
4758
 
fi
4759
 
if test -z "$CC"; then
4760
 
  if test -n "$ac_tool_prefix"; then
4761
 
  for ac_prog in cl.exe
4762
 
  do
4763
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4764
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4765
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766
 
$as_echo_n "checking for $ac_word... " >&6; }
4767
 
if ${ac_cv_prog_CC+:} false; then :
4768
 
  $as_echo_n "(cached) " >&6
4769
 
else
4770
 
  if test -n "$CC"; then
4771
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4772
 
else
4773
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774
 
for as_dir in $PATH
4775
 
do
4776
 
  IFS=$as_save_IFS
4777
 
  test -z "$as_dir" && as_dir=.
4778
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4779
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4781
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782
 
    break 2
4783
 
  fi
4784
 
done
4785
 
  done
4786
 
IFS=$as_save_IFS
4787
 
 
4788
 
fi
4789
 
fi
4790
 
CC=$ac_cv_prog_CC
4791
 
if test -n "$CC"; then
4792
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4793
 
$as_echo "$CC" >&6; }
4794
 
else
4795
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796
 
$as_echo "no" >&6; }
4797
 
fi
4798
 
 
4799
 
 
4800
 
    test -n "$CC" && break
4801
 
  done
4802
 
fi
4803
 
if test -z "$CC"; then
4804
 
  ac_ct_CC=$CC
4805
 
  for ac_prog in cl.exe
4806
 
do
4807
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4808
 
set dummy $ac_prog; ac_word=$2
4809
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810
 
$as_echo_n "checking for $ac_word... " >&6; }
4811
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4812
 
  $as_echo_n "(cached) " >&6
4813
 
else
4814
 
  if test -n "$ac_ct_CC"; then
4815
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4816
 
else
4817
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818
 
for as_dir in $PATH
4819
 
do
4820
 
  IFS=$as_save_IFS
4821
 
  test -z "$as_dir" && as_dir=.
4822
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4823
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4824
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4825
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4826
 
    break 2
4827
 
  fi
4828
 
done
4829
 
  done
4830
 
IFS=$as_save_IFS
4831
 
 
4832
 
fi
4833
 
fi
4834
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4835
 
if test -n "$ac_ct_CC"; then
4836
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4837
 
$as_echo "$ac_ct_CC" >&6; }
4838
 
else
4839
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840
 
$as_echo "no" >&6; }
4841
 
fi
4842
 
 
4843
 
 
4844
 
  test -n "$ac_ct_CC" && break
4845
 
done
4846
 
 
4847
 
  if test "x$ac_ct_CC" = x; then
4848
 
    CC=""
4849
 
  else
4850
 
    case $cross_compiling:$ac_tool_warned in
4851
 
yes:)
4852
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4853
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4854
 
ac_tool_warned=yes ;;
4855
 
esac
4856
 
    CC=$ac_ct_CC
4857
 
  fi
4858
 
fi
4859
 
 
4860
 
fi
4861
 
 
4862
 
 
4863
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4864
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4865
 
as_fn_error $? "no acceptable C compiler found in \$PATH
4866
 
See \`config.log' for more details" "$LINENO" 5; }
4867
 
 
4868
 
# Provide some information about the compiler.
4869
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4870
 
set X $ac_compile
4871
 
ac_compiler=$2
4872
 
for ac_option in --version -v -V -qversion; do
4873
 
  { { ac_try="$ac_compiler $ac_option >&5"
4874
 
case "(($ac_try" in
4875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876
 
  *) ac_try_echo=$ac_try;;
4877
 
esac
4878
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4879
 
$as_echo "$ac_try_echo"; } >&5
4880
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4881
 
  ac_status=$?
4882
 
  if test -s conftest.err; then
4883
 
    sed '10a\
4884
 
... rest of stderr output deleted ...
4885
 
         10q' conftest.err >conftest.er1
4886
 
    cat conftest.er1 >&5
4887
 
  fi
4888
 
  rm -f conftest.er1 conftest.err
4889
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4890
 
  test $ac_status = 0; }
4891
 
done
4892
 
 
4893
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4894
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4895
 
if ${ac_cv_c_compiler_gnu+:} false; then :
4896
 
  $as_echo_n "(cached) " >&6
4897
 
else
4898
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899
 
/* end confdefs.h.  */
4900
 
 
4901
 
int
4902
 
main ()
4903
 
{
4904
 
#ifndef __GNUC__
4905
 
       choke me
4906
 
#endif
4907
 
 
4908
 
  ;
4909
 
  return 0;
4910
 
}
4911
 
_ACEOF
4912
 
if ac_fn_c_try_compile "$LINENO"; then :
4913
 
  ac_compiler_gnu=yes
4914
 
else
4915
 
  ac_compiler_gnu=no
4916
 
fi
4917
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4919
 
 
4920
 
fi
4921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4922
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4923
 
if test $ac_compiler_gnu = yes; then
4924
 
  GCC=yes
4925
 
else
4926
 
  GCC=
4927
 
fi
4928
 
ac_test_CFLAGS=${CFLAGS+set}
4929
 
ac_save_CFLAGS=$CFLAGS
4930
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4931
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4932
 
if ${ac_cv_prog_cc_g+:} false; then :
4933
 
  $as_echo_n "(cached) " >&6
4934
 
else
4935
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4936
 
   ac_c_werror_flag=yes
4937
 
   ac_cv_prog_cc_g=no
4938
 
   CFLAGS="-g"
4939
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940
 
/* end confdefs.h.  */
4941
 
 
4942
 
int
4943
 
main ()
4944
 
{
4945
 
 
4946
 
  ;
4947
 
  return 0;
4948
 
}
4949
 
_ACEOF
4950
 
if ac_fn_c_try_compile "$LINENO"; then :
4951
 
  ac_cv_prog_cc_g=yes
4952
 
else
4953
 
  CFLAGS=""
4954
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955
 
/* end confdefs.h.  */
4956
 
 
4957
 
int
4958
 
main ()
4959
 
{
4960
 
 
4961
 
  ;
4962
 
  return 0;
4963
 
}
4964
 
_ACEOF
4965
 
if ac_fn_c_try_compile "$LINENO"; then :
4966
 
 
4967
 
else
4968
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4969
 
         CFLAGS="-g"
4970
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971
 
/* end confdefs.h.  */
4972
 
 
4973
 
int
4974
 
main ()
4975
 
{
4976
 
 
4977
 
  ;
4978
 
  return 0;
4979
 
}
4980
 
_ACEOF
4981
 
if ac_fn_c_try_compile "$LINENO"; then :
4982
 
  ac_cv_prog_cc_g=yes
4983
 
fi
4984
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4985
 
fi
4986
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987
 
fi
4988
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4990
 
fi
4991
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4992
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4993
 
if test "$ac_test_CFLAGS" = set; then
4994
 
  CFLAGS=$ac_save_CFLAGS
4995
 
elif test $ac_cv_prog_cc_g = yes; then
4996
 
  if test "$GCC" = yes; then
4997
 
    CFLAGS="-g -O2"
4998
 
  else
4999
 
    CFLAGS="-g"
5000
 
  fi
5001
 
else
5002
 
  if test "$GCC" = yes; then
5003
 
    CFLAGS="-O2"
5004
 
  else
5005
 
    CFLAGS=
5006
 
  fi
5007
 
fi
5008
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5009
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5010
 
if ${ac_cv_prog_cc_c89+:} false; then :
5011
 
  $as_echo_n "(cached) " >&6
5012
 
else
5013
 
  ac_cv_prog_cc_c89=no
5014
 
ac_save_CC=$CC
5015
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016
 
/* end confdefs.h.  */
5017
 
#include <stdarg.h>
5018
 
#include <stdio.h>
5019
 
#include <sys/types.h>
5020
 
#include <sys/stat.h>
5021
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5022
 
struct buf { int x; };
5023
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5024
 
static char *e (p, i)
5025
 
     char **p;
5026
 
     int i;
5027
 
{
5028
 
  return p[i];
5029
 
}
5030
 
static char *f (char * (*g) (char **, int), char **p, ...)
5031
 
{
5032
 
  char *s;
5033
 
  va_list v;
5034
 
  va_start (v,p);
5035
 
  s = g (p, va_arg (v,int));
5036
 
  va_end (v);
5037
 
  return s;
5038
 
}
5039
 
 
5040
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5041
 
   function prototypes and stuff, but not '\xHH' hex character constants.
5042
 
   These don't provoke an error unfortunately, instead are silently treated
5043
 
   as 'x'.  The following induces an error, until -std is added to get
5044
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5045
 
   array size at least.  It's necessary to write '\x00'==0 to get something
5046
 
   that's true only with -std.  */
5047
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5048
 
 
5049
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5050
 
   inside strings and character constants.  */
5051
 
#define FOO(x) 'x'
5052
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5053
 
 
5054
 
int test (int i, double x);
5055
 
struct s1 {int (*f) (int a);};
5056
 
struct s2 {int (*f) (double a);};
5057
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5058
 
int argc;
5059
 
char **argv;
5060
 
int
5061
 
main ()
5062
 
{
5063
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5064
 
  ;
5065
 
  return 0;
5066
 
}
5067
 
_ACEOF
5068
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5069
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5070
 
do
5071
 
  CC="$ac_save_CC $ac_arg"
5072
 
  if ac_fn_c_try_compile "$LINENO"; then :
5073
 
  ac_cv_prog_cc_c89=$ac_arg
5074
 
fi
5075
 
rm -f core conftest.err conftest.$ac_objext
5076
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5077
 
done
5078
 
rm -f conftest.$ac_ext
5079
 
CC=$ac_save_CC
5080
 
 
5081
 
fi
5082
 
# AC_CACHE_VAL
5083
 
case "x$ac_cv_prog_cc_c89" in
5084
 
  x)
5085
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5086
 
$as_echo "none needed" >&6; } ;;
5087
 
  xno)
5088
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5089
 
$as_echo "unsupported" >&6; } ;;
5090
 
  *)
5091
 
    CC="$CC $ac_cv_prog_cc_c89"
5092
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5093
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5094
 
esac
5095
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
5096
 
 
5097
 
fi
5098
 
 
5099
 
ac_ext=c
5100
 
ac_cpp='$CPP $CPPFLAGS'
5101
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5102
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5103
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3771
   esac
 
3772
fi
 
3773
 
 
3774
 
 
3775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3776
$as_echo "$_am_result" >&6; }
 
3777
rm -f confinc confmf
 
3778
 
 
3779
# Check whether --enable-dependency-tracking was given.
 
3780
if test "${enable_dependency_tracking+set}" = set; then :
 
3781
  enableval=$enable_dependency_tracking;
 
3782
fi
 
3783
 
 
3784
if test "x$enable_dependency_tracking" != xno; then
 
3785
  am_depcomp="$ac_aux_dir/depcomp"
 
3786
  AMDEPBACKSLASH='\'
 
3787
fi
 
3788
 if test "x$enable_dependency_tracking" != xno; then
 
3789
  AMDEP_TRUE=
 
3790
  AMDEP_FALSE='#'
 
3791
else
 
3792
  AMDEP_TRUE='#'
 
3793
  AMDEP_FALSE=
 
3794
fi
 
3795
 
 
3796
 
5104
3797
 
5105
3798
depcc="$CC"   am_compiler_list=
5106
3799
 
5355
4048
fi
5356
4049
 
5357
4050
 
 
4051
 
5358
4052
ac_ext=c
5359
4053
ac_cpp='$CPP $CPPFLAGS'
5360
4054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5743
4437
 
5744
4438
 
5745
4439
 
5746
 
macro_version='2.4'
5747
 
macro_revision='1.3293'
 
4440
macro_version='2.4.2'
 
4441
macro_revision='1.3337'
5748
4442
 
5749
4443
 
5750
4444
 
6459
5153
    lt_cv_sys_max_cmd_len=196608
6460
5154
    ;;
6461
5155
 
 
5156
  os2*)
 
5157
    # The test takes a long time on OS/2.
 
5158
    lt_cv_sys_max_cmd_len=8192
 
5159
    ;;
 
5160
 
6462
5161
  osf*)
6463
5162
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6464
5163
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6498
5197
      # If test is not a shell built-in, we'll probably end up computing a
6499
5198
      # maximum length that is only half of the actual maximum length, but
6500
5199
      # we can't tell.
6501
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5200
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6502
5201
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6503
5202
              test $i != 17 # 1/2 MB should be enough
6504
5203
      do
6927
5626
  lt_cv_deplibs_check_method=pass_all
6928
5627
  ;;
6929
5628
 
6930
 
# This must be Linux ELF.
 
5629
# This must be glibc/ELF.
6931
5630
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6932
5631
  lt_cv_deplibs_check_method=pass_all
6933
5632
  ;;
7567
6266
if test -n "$RANLIB"; then
7568
6267
  case $host_os in
7569
6268
  openbsd*)
7570
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6269
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7571
6270
    ;;
7572
6271
  *)
7573
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6272
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7574
6273
    ;;
7575
6274
  esac
7576
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6275
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7577
6276
fi
7578
6277
 
7579
6278
case $host_os in
7720
6419
    # which start with @ or ?.
7721
6420
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7722
6421
"     {last_section=section; section=\$ 3};"\
 
6422
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7723
6423
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7724
6424
"     \$ 0!~/External *\|/{next};"\
7725
6425
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8108
6808
    CFLAGS="$SAVE_CFLAGS"
8109
6809
  fi
8110
6810
  ;;
8111
 
sparc*-*solaris*)
 
6811
*-*solaris*)
8112
6812
  # Find out which ABI we are using.
8113
6813
  echo 'int i;' > conftest.$ac_ext
8114
6814
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8119
6819
    case `/usr/bin/file conftest.o` in
8120
6820
    *64-bit*)
8121
6821
      case $lt_cv_prog_gnu_ld in
8122
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6822
      yes*)
 
6823
        case $host in
 
6824
        i?86-*-solaris*)
 
6825
          LD="${LD-ld} -m elf_x86_64"
 
6826
          ;;
 
6827
        sparc*-*-solaris*)
 
6828
          LD="${LD-ld} -m elf64_sparc"
 
6829
          ;;
 
6830
        esac
 
6831
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6832
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6833
          LD="${LD-ld}_sol2"
 
6834
        fi
 
6835
        ;;
8123
6836
      *)
8124
6837
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8125
6838
          LD="${LD-ld} -64"
8759
7472
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8760
7473
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8761
7474
        _lt_result=$?
8762
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7475
        # If there is a non-empty error log, and "single_module"
 
7476
        # appears in it, assume the flag caused a linker warning
 
7477
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7478
          cat conftest.err >&5
 
7479
        # Otherwise, if the output was created with a 0 exit code from
 
7480
        # the compiler, it worked.
 
7481
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8763
7482
          lt_cv_apple_cc_single_mod=yes
8764
7483
        else
8765
7484
          cat conftest.err >&5
8770
7489
fi
8771
7490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8772
7491
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7492
 
8773
7493
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8774
7494
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8775
7495
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8802
7522
fi
8803
7523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8804
7524
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7525
 
8805
7526
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8806
7527
$as_echo_n "checking for -force_load linker flag... " >&6; }
8807
7528
if ${lt_cv_ld_force_load+:} false; then :
8823
7544
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8824
7545
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8825
7546
      _lt_result=$?
8826
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7547
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7548
        cat conftest.err >&5
 
7549
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8827
7550
        lt_cv_ld_force_load=yes
8828
7551
      else
8829
7552
        cat conftest.err >&5
8978
7701
 
8979
7702
# Check whether --with-pic was given.
8980
7703
if test "${with_pic+set}" = set; then :
8981
 
  withval=$with_pic; pic_mode="$withval"
 
7704
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7705
    case $withval in
 
7706
    yes|no) pic_mode=$withval ;;
 
7707
    *)
 
7708
      pic_mode=default
 
7709
      # Look at the argument we got.  We use all the common list separators.
 
7710
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7711
      for lt_pkg in $withval; do
 
7712
        IFS="$lt_save_ifs"
 
7713
        if test "X$lt_pkg" = "X$lt_p"; then
 
7714
          pic_mode=yes
 
7715
        fi
 
7716
      done
 
7717
      IFS="$lt_save_ifs"
 
7718
      ;;
 
7719
    esac
8982
7720
else
8983
7721
  pic_mode=default
8984
7722
fi
9056
7794
 
9057
7795
 
9058
7796
 
 
7797
 
 
7798
 
 
7799
 
 
7800
 
9059
7801
test -z "$LN_S" && LN_S="ln -s"
9060
7802
 
9061
7803
 
9515
8257
    case $cc_basename in
9516
8258
    nvcc*) # Cuda Compiler Driver 2.2
9517
8259
      lt_prog_compiler_wl='-Xlinker '
9518
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8260
      if test -n "$lt_prog_compiler_pic"; then
 
8261
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8262
      fi
9519
8263
      ;;
9520
8264
    esac
9521
8265
  else
9606
8350
        ;;
9607
8351
      *)
9608
8352
        case `$CC -V 2>&1 | sed 5q` in
9609
 
        *Sun\ F* | *Sun*Fortran*)
 
8353
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9610
8354
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9611
8355
          lt_prog_compiler_pic='-KPIC'
9612
8356
          lt_prog_compiler_static='-Bstatic'
9613
8357
          lt_prog_compiler_wl=''
9614
8358
          ;;
 
8359
        *Sun\ F* | *Sun*Fortran*)
 
8360
          lt_prog_compiler_pic='-KPIC'
 
8361
          lt_prog_compiler_static='-Bstatic'
 
8362
          lt_prog_compiler_wl='-Qoption ld '
 
8363
          ;;
9615
8364
        *Sun\ C*)
9616
8365
          # Sun C 5.9
9617
8366
          lt_prog_compiler_pic='-KPIC'
9618
8367
          lt_prog_compiler_static='-Bstatic'
9619
8368
          lt_prog_compiler_wl='-Wl,'
9620
8369
          ;;
 
8370
        *Intel*\ [CF]*Compiler*)
 
8371
          lt_prog_compiler_wl='-Wl,'
 
8372
          lt_prog_compiler_pic='-fPIC'
 
8373
          lt_prog_compiler_static='-static'
 
8374
          ;;
 
8375
        *Portland\ Group*)
 
8376
          lt_prog_compiler_wl='-Wl,'
 
8377
          lt_prog_compiler_pic='-fpic'
 
8378
          lt_prog_compiler_static='-Bstatic'
 
8379
          ;;
9621
8380
        esac
9622
8381
        ;;
9623
8382
      esac
9979
8738
  hardcode_direct=no
9980
8739
  hardcode_direct_absolute=no
9981
8740
  hardcode_libdir_flag_spec=
9982
 
  hardcode_libdir_flag_spec_ld=
9983
8741
  hardcode_libdir_separator=
9984
8742
  hardcode_minus_L=no
9985
8743
  hardcode_shlibpath_var=unsupported
10232
8990
        xlf* | bgf* | bgxlf* | mpixlf*)
10233
8991
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10234
8992
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10235
 
          hardcode_libdir_flag_spec=
10236
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8993
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10237
8994
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10238
8995
          if test "x$supports_anon_versioning" = xyes; then
10239
8996
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10613
9370
        # The linker will not automatically build a static lib if we build a DLL.
10614
9371
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10615
9372
        enable_shared_with_static_runtimes=yes
 
9373
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10616
9374
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10617
9375
        # Don't use ranlib
10618
9376
        old_postinstall_cmds='chmod 644 $oldlib'
10658
9416
  hardcode_shlibpath_var=unsupported
10659
9417
  if test "$lt_cv_ld_force_load" = "yes"; then
10660
9418
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9419
 
10661
9420
  else
10662
9421
    whole_archive_flag_spec=''
10663
9422
  fi
10686
9445
      hardcode_shlibpath_var=no
10687
9446
      ;;
10688
9447
 
10689
 
    freebsd1*)
10690
 
      ld_shlibs=no
10691
 
      ;;
10692
 
 
10693
9448
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10694
9449
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10695
9450
    # does not break anything, and helps significantly (at the cost of a little
10702
9457
      ;;
10703
9458
 
10704
9459
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10705
 
    freebsd2*)
 
9460
    freebsd2.*)
10706
9461
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10707
9462
      hardcode_direct=yes
10708
9463
      hardcode_minus_L=yes
10741
9496
      fi
10742
9497
      if test "$with_gnu_ld" = no; then
10743
9498
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10744
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10745
9499
        hardcode_libdir_separator=:
10746
9500
        hardcode_direct=yes
10747
9501
        hardcode_direct_absolute=yes
11365
10119
 
11366
10120
 
11367
10121
 
11368
 
 
11369
 
 
11370
 
 
11371
 
 
11372
 
 
11373
10122
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11374
10123
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11375
10124
 
11459
10208
 
11460
10209
case $host_os in
11461
10210
aix3*)
11462
 
  version_type=linux
 
10211
  version_type=linux # correct to gnu/linux during the next big refactor
11463
10212
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11464
10213
  shlibpath_var=LIBPATH
11465
10214
 
11468
10217
  ;;
11469
10218
 
11470
10219
aix[4-9]*)
11471
 
  version_type=linux
 
10220
  version_type=linux # correct to gnu/linux during the next big refactor
11472
10221
  need_lib_prefix=no
11473
10222
  need_version=no
11474
10223
  hardcode_into_libs=yes
11533
10282
  ;;
11534
10283
 
11535
10284
bsdi[45]*)
11536
 
  version_type=linux
 
10285
  version_type=linux # correct to gnu/linux during the next big refactor
11537
10286
  need_version=no
11538
10287
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539
10288
  soname_spec='${libname}${release}${shared_ext}$major'
11672
10421
  ;;
11673
10422
 
11674
10423
dgux*)
11675
 
  version_type=linux
 
10424
  version_type=linux # correct to gnu/linux during the next big refactor
11676
10425
  need_lib_prefix=no
11677
10426
  need_version=no
11678
10427
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11680
10429
  shlibpath_var=LD_LIBRARY_PATH
11681
10430
  ;;
11682
10431
 
11683
 
freebsd1*)
11684
 
  dynamic_linker=no
11685
 
  ;;
11686
 
 
11687
10432
freebsd* | dragonfly*)
11688
10433
  # DragonFly does not have aout.  When/if they implement a new
11689
10434
  # versioning mechanism, adjust this.
11691
10436
    objformat=`/usr/bin/objformat`
11692
10437
  else
11693
10438
    case $host_os in
11694
 
    freebsd[123]*) objformat=aout ;;
 
10439
    freebsd[23].*) objformat=aout ;;
11695
10440
    *) objformat=elf ;;
11696
10441
    esac
11697
10442
  fi
11709
10454
  esac
11710
10455
  shlibpath_var=LD_LIBRARY_PATH
11711
10456
  case $host_os in
11712
 
  freebsd2*)
 
10457
  freebsd2.*)
11713
10458
    shlibpath_overrides_runpath=yes
11714
10459
    ;;
11715
10460
  freebsd3.[01]* | freebsdelf3.[01]*)
11729
10474
  ;;
11730
10475
 
11731
10476
gnu*)
11732
 
  version_type=linux
 
10477
  version_type=linux # correct to gnu/linux during the next big refactor
11733
10478
  need_lib_prefix=no
11734
10479
  need_version=no
11735
10480
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11740
10485
  ;;
11741
10486
 
11742
10487
haiku*)
11743
 
  version_type=linux
 
10488
  version_type=linux # correct to gnu/linux during the next big refactor
11744
10489
  need_lib_prefix=no
11745
10490
  need_version=no
11746
10491
  dynamic_linker="$host_os runtime_loader"
11801
10546
  ;;
11802
10547
 
11803
10548
interix[3-9]*)
11804
 
  version_type=linux
 
10549
  version_type=linux # correct to gnu/linux during the next big refactor
11805
10550
  need_lib_prefix=no
11806
10551
  need_version=no
11807
10552
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11817
10562
    nonstopux*) version_type=nonstopux ;;
11818
10563
    *)
11819
10564
        if test "$lt_cv_prog_gnu_ld" = yes; then
11820
 
                version_type=linux
 
10565
                version_type=linux # correct to gnu/linux during the next big refactor
11821
10566
        else
11822
10567
                version_type=irix
11823
10568
        fi ;;
11854
10599
  dynamic_linker=no
11855
10600
  ;;
11856
10601
 
11857
 
# This must be Linux ELF.
 
10602
# This must be glibc/ELF.
11858
10603
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11859
 
  version_type=linux
 
10604
  version_type=linux # correct to gnu/linux during the next big refactor
11860
10605
  need_lib_prefix=no
11861
10606
  need_version=no
11862
10607
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11950
10695
  ;;
11951
10696
 
11952
10697
newsos6)
11953
 
  version_type=linux
 
10698
  version_type=linux # correct to gnu/linux during the next big refactor
11954
10699
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11955
10700
  shlibpath_var=LD_LIBRARY_PATH
11956
10701
  shlibpath_overrides_runpath=yes
12019
10764
  ;;
12020
10765
 
12021
10766
solaris*)
12022
 
  version_type=linux
 
10767
  version_type=linux # correct to gnu/linux during the next big refactor
12023
10768
  need_lib_prefix=no
12024
10769
  need_version=no
12025
10770
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12044
10789
  ;;
12045
10790
 
12046
10791
sysv4 | sysv4.3*)
12047
 
  version_type=linux
 
10792
  version_type=linux # correct to gnu/linux during the next big refactor
12048
10793
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12049
10794
  soname_spec='${libname}${release}${shared_ext}$major'
12050
10795
  shlibpath_var=LD_LIBRARY_PATH
12068
10813
 
12069
10814
sysv4*MP*)
12070
10815
  if test -d /usr/nec ;then
12071
 
    version_type=linux
 
10816
    version_type=linux # correct to gnu/linux during the next big refactor
12072
10817
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12073
10818
    soname_spec='$libname${shared_ext}.$major'
12074
10819
    shlibpath_var=LD_LIBRARY_PATH
12099
10844
 
12100
10845
tpf*)
12101
10846
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12102
 
  version_type=linux
 
10847
  version_type=linux # correct to gnu/linux during the next big refactor
12103
10848
  need_lib_prefix=no
12104
10849
  need_version=no
12105
10850
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12109
10854
  ;;
12110
10855
 
12111
10856
uts4*)
12112
 
  version_type=linux
 
10857
  version_type=linux # correct to gnu/linux during the next big refactor
12113
10858
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12114
10859
  soname_spec='${libname}${release}${shared_ext}$major'
12115
10860
  shlibpath_var=LD_LIBRARY_PATH
12891
11636
 
12892
11637
 
12893
11638
 
 
11639
 
 
11640
 
12894
11641
        ac_config_commands="$ac_config_commands libtool"
12895
11642
 
12896
11643
 
13099
11846
localedir='$(prefix)/$(DATADIRNAME)/locale'
13100
11847
 
13101
11848
 
13102
 
 
13103
 
   for ac_header in locale.h
13104
 
do :
13105
 
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13106
 
if test "x$ac_cv_header_locale_h" = xyes; then :
13107
 
  cat >>confdefs.h <<_ACEOF
13108
 
#define HAVE_LOCALE_H 1
13109
 
_ACEOF
13110
 
 
13111
 
fi
13112
 
 
13113
 
done
13114
 
 
13115
 
    if test $ac_cv_header_locale_h = yes; then
13116
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13117
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13118
 
if ${am_cv_val_LC_MESSAGES+:} false; then :
13119
 
  $as_echo_n "(cached) " >&6
13120
 
else
13121
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122
 
/* end confdefs.h.  */
13123
 
#include <locale.h>
13124
 
int
13125
 
main ()
13126
 
{
13127
 
return LC_MESSAGES
13128
 
  ;
13129
 
  return 0;
13130
 
}
13131
 
_ACEOF
13132
 
if ac_fn_c_try_link "$LINENO"; then :
13133
 
  am_cv_val_LC_MESSAGES=yes
13134
 
else
13135
 
  am_cv_val_LC_MESSAGES=no
13136
 
fi
13137
 
rm -f core conftest.err conftest.$ac_objext \
13138
 
    conftest$ac_exeext conftest.$ac_ext
13139
 
fi
13140
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13141
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13142
 
    if test $am_cv_val_LC_MESSAGES = yes; then
13143
 
 
13144
 
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13145
 
 
13146
 
    fi
 
11849
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
11850
$as_echo_n "checking whether NLS is requested... " >&6; }
 
11851
    # Check whether --enable-nls was given.
 
11852
if test "${enable_nls+set}" = set; then :
 
11853
  enableval=$enable_nls; USE_NLS=$enableval
 
11854
else
 
11855
  USE_NLS=yes
 
11856
fi
 
11857
 
 
11858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
11859
$as_echo "$USE_NLS" >&6; }
 
11860
 
 
11861
 
 
11862
 
 
11863
 
 
11864
      GETTEXT_MACRO_VERSION=0.17
 
11865
 
 
11866
 
 
11867
 
 
11868
 
 
11869
# Prepare PATH_SEPARATOR.
 
11870
# The user is always right.
 
11871
if test "${PATH_SEPARATOR+set}" != set; then
 
11872
  echo "#! /bin/sh" >conf$$.sh
 
11873
  echo  "exit 0"   >>conf$$.sh
 
11874
  chmod +x conf$$.sh
 
11875
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11876
    PATH_SEPARATOR=';'
 
11877
  else
 
11878
    PATH_SEPARATOR=:
13147
11879
  fi
13148
 
     USE_NLS=yes
13149
 
 
13150
 
 
13151
 
    gt_cv_have_gettext=no
13152
 
 
13153
 
    CATOBJEXT=NONE
13154
 
    XGETTEXT=:
13155
 
    INTLLIBS=
13156
 
 
13157
 
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13158
 
if test "x$ac_cv_header_libintl_h" = xyes; then :
13159
 
  gt_cv_func_dgettext_libintl="no"
13160
 
      libintl_extra_libs=""
13161
 
 
13162
 
      #
13163
 
      # First check in libc
13164
 
      #
13165
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13166
 
$as_echo_n "checking for ngettext in libc... " >&6; }
13167
 
if ${gt_cv_func_ngettext_libc+:} false; then :
13168
 
  $as_echo_n "(cached) " >&6
13169
 
else
13170
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171
 
/* end confdefs.h.  */
13172
 
 
13173
 
#include <libintl.h>
13174
 
 
13175
 
int
13176
 
main ()
13177
 
{
13178
 
return !ngettext ("","", 1)
13179
 
  ;
13180
 
  return 0;
13181
 
}
13182
 
_ACEOF
13183
 
if ac_fn_c_try_link "$LINENO"; then :
13184
 
  gt_cv_func_ngettext_libc=yes
13185
 
else
13186
 
  gt_cv_func_ngettext_libc=no
13187
 
fi
13188
 
rm -f core conftest.err conftest.$ac_objext \
13189
 
    conftest$ac_exeext conftest.$ac_ext
13190
 
 
13191
 
fi
13192
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13193
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13194
 
 
13195
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13196
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13197
 
$as_echo_n "checking for dgettext in libc... " >&6; }
13198
 
if ${gt_cv_func_dgettext_libc+:} false; then :
13199
 
  $as_echo_n "(cached) " >&6
13200
 
else
13201
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202
 
/* end confdefs.h.  */
13203
 
 
13204
 
#include <libintl.h>
13205
 
 
13206
 
int
13207
 
main ()
13208
 
{
13209
 
return !dgettext ("","")
13210
 
  ;
13211
 
  return 0;
13212
 
}
13213
 
_ACEOF
13214
 
if ac_fn_c_try_link "$LINENO"; then :
13215
 
  gt_cv_func_dgettext_libc=yes
13216
 
else
13217
 
  gt_cv_func_dgettext_libc=no
13218
 
fi
13219
 
rm -f core conftest.err conftest.$ac_objext \
13220
 
    conftest$ac_exeext conftest.$ac_ext
13221
 
 
13222
 
fi
13223
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13224
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13225
 
      fi
13226
 
 
13227
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13228
 
        for ac_func in bind_textdomain_codeset
13229
 
do :
13230
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13231
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13232
 
  cat >>confdefs.h <<_ACEOF
13233
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13234
 
_ACEOF
13235
 
 
13236
 
fi
13237
 
done
13238
 
 
13239
 
      fi
13240
 
 
13241
 
      #
13242
 
      # If we don't have everything we want, check in libintl
13243
 
      #
13244
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
13245
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
13246
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13247
 
 
13248
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13249
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13250
 
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
13251
 
  $as_echo_n "(cached) " >&6
13252
 
else
13253
 
  ac_check_lib_save_LIBS=$LIBS
13254
 
LIBS="-lintl  $LIBS"
13255
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256
 
/* end confdefs.h.  */
13257
 
 
13258
 
/* Override any GCC internal prototype to avoid an error.
13259
 
   Use char because int might match the return type of a GCC
13260
 
   builtin and then its argument prototype would still apply.  */
13261
 
#ifdef __cplusplus
13262
 
extern "C"
13263
 
#endif
13264
 
char bindtextdomain ();
13265
 
int
13266
 
main ()
13267
 
{
13268
 
return bindtextdomain ();
13269
 
  ;
13270
 
  return 0;
13271
 
}
13272
 
_ACEOF
13273
 
if ac_fn_c_try_link "$LINENO"; then :
13274
 
  ac_cv_lib_intl_bindtextdomain=yes
13275
 
else
13276
 
  ac_cv_lib_intl_bindtextdomain=no
13277
 
fi
13278
 
rm -f core conftest.err conftest.$ac_objext \
13279
 
    conftest$ac_exeext conftest.$ac_ext
13280
 
LIBS=$ac_check_lib_save_LIBS
13281
 
fi
13282
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13283
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13284
 
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
13285
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13286
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13287
 
if ${ac_cv_lib_intl_ngettext+:} false; then :
13288
 
  $as_echo_n "(cached) " >&6
13289
 
else
13290
 
  ac_check_lib_save_LIBS=$LIBS
13291
 
LIBS="-lintl  $LIBS"
13292
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293
 
/* end confdefs.h.  */
13294
 
 
13295
 
/* Override any GCC internal prototype to avoid an error.
13296
 
   Use char because int might match the return type of a GCC
13297
 
   builtin and then its argument prototype would still apply.  */
13298
 
#ifdef __cplusplus
13299
 
extern "C"
13300
 
#endif
13301
 
char ngettext ();
13302
 
int
13303
 
main ()
13304
 
{
13305
 
return ngettext ();
13306
 
  ;
13307
 
  return 0;
13308
 
}
13309
 
_ACEOF
13310
 
if ac_fn_c_try_link "$LINENO"; then :
13311
 
  ac_cv_lib_intl_ngettext=yes
13312
 
else
13313
 
  ac_cv_lib_intl_ngettext=no
13314
 
fi
13315
 
rm -f core conftest.err conftest.$ac_objext \
13316
 
    conftest$ac_exeext conftest.$ac_ext
13317
 
LIBS=$ac_check_lib_save_LIBS
13318
 
fi
13319
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13320
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13321
 
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13322
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13323
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13324
 
if ${ac_cv_lib_intl_dgettext+:} false; then :
13325
 
  $as_echo_n "(cached) " >&6
13326
 
else
13327
 
  ac_check_lib_save_LIBS=$LIBS
13328
 
LIBS="-lintl  $LIBS"
13329
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330
 
/* end confdefs.h.  */
13331
 
 
13332
 
/* Override any GCC internal prototype to avoid an error.
13333
 
   Use char because int might match the return type of a GCC
13334
 
   builtin and then its argument prototype would still apply.  */
13335
 
#ifdef __cplusplus
13336
 
extern "C"
13337
 
#endif
13338
 
char dgettext ();
13339
 
int
13340
 
main ()
13341
 
{
13342
 
return dgettext ();
13343
 
  ;
13344
 
  return 0;
13345
 
}
13346
 
_ACEOF
13347
 
if ac_fn_c_try_link "$LINENO"; then :
13348
 
  ac_cv_lib_intl_dgettext=yes
13349
 
else
13350
 
  ac_cv_lib_intl_dgettext=no
13351
 
fi
13352
 
rm -f core conftest.err conftest.$ac_objext \
13353
 
    conftest$ac_exeext conftest.$ac_ext
13354
 
LIBS=$ac_check_lib_save_LIBS
13355
 
fi
13356
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13357
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13358
 
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
13359
 
  gt_cv_func_dgettext_libintl=yes
13360
 
fi
13361
 
 
13362
 
fi
13363
 
 
13364
 
fi
13365
 
 
13366
 
 
13367
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13368
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13369
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13370
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13371
 
$as_echo "" >&6; }
13372
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13373
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13374
 
if ${ac_cv_lib_intl_ngettext+:} false; then :
13375
 
  $as_echo_n "(cached) " >&6
13376
 
else
13377
 
  ac_check_lib_save_LIBS=$LIBS
13378
 
LIBS="-lintl -liconv $LIBS"
13379
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380
 
/* end confdefs.h.  */
13381
 
 
13382
 
/* Override any GCC internal prototype to avoid an error.
13383
 
   Use char because int might match the return type of a GCC
13384
 
   builtin and then its argument prototype would still apply.  */
13385
 
#ifdef __cplusplus
13386
 
extern "C"
13387
 
#endif
13388
 
char ngettext ();
13389
 
int
13390
 
main ()
13391
 
{
13392
 
return ngettext ();
13393
 
  ;
13394
 
  return 0;
13395
 
}
13396
 
_ACEOF
13397
 
if ac_fn_c_try_link "$LINENO"; then :
13398
 
  ac_cv_lib_intl_ngettext=yes
13399
 
else
13400
 
  ac_cv_lib_intl_ngettext=no
13401
 
fi
13402
 
rm -f core conftest.err conftest.$ac_objext \
13403
 
    conftest$ac_exeext conftest.$ac_ext
13404
 
LIBS=$ac_check_lib_save_LIBS
13405
 
fi
13406
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13407
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13408
 
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
13409
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13410
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13411
 
if ${ac_cv_lib_intl_dcgettext+:} false; then :
13412
 
  $as_echo_n "(cached) " >&6
13413
 
else
13414
 
  ac_check_lib_save_LIBS=$LIBS
13415
 
LIBS="-lintl -liconv $LIBS"
13416
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417
 
/* end confdefs.h.  */
13418
 
 
13419
 
/* Override any GCC internal prototype to avoid an error.
13420
 
   Use char because int might match the return type of a GCC
13421
 
   builtin and then its argument prototype would still apply.  */
13422
 
#ifdef __cplusplus
13423
 
extern "C"
13424
 
#endif
13425
 
char dcgettext ();
13426
 
int
13427
 
main ()
13428
 
{
13429
 
return dcgettext ();
13430
 
  ;
13431
 
  return 0;
13432
 
}
13433
 
_ACEOF
13434
 
if ac_fn_c_try_link "$LINENO"; then :
13435
 
  ac_cv_lib_intl_dcgettext=yes
13436
 
else
13437
 
  ac_cv_lib_intl_dcgettext=no
13438
 
fi
13439
 
rm -f core conftest.err conftest.$ac_objext \
13440
 
    conftest$ac_exeext conftest.$ac_ext
13441
 
LIBS=$ac_check_lib_save_LIBS
13442
 
fi
13443
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13444
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13445
 
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
13446
 
  gt_cv_func_dgettext_libintl=yes
13447
 
                        libintl_extra_libs=-liconv
13448
 
else
13449
 
  :
13450
 
fi
13451
 
 
13452
 
else
13453
 
  :
13454
 
fi
13455
 
 
13456
 
        fi
13457
 
 
13458
 
        #
13459
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
13460
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
13461
 
        # and both have dgettext and ngettext
13462
 
        #
13463
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13464
 
          glib_save_LIBS="$LIBS"
13465
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
13466
 
          unset ac_cv_func_bind_textdomain_codeset
13467
 
          for ac_func in bind_textdomain_codeset
13468
 
do :
13469
 
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13470
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13471
 
  cat >>confdefs.h <<_ACEOF
13472
 
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13473
 
_ACEOF
13474
 
 
13475
 
fi
13476
 
done
13477
 
 
13478
 
          LIBS="$glib_save_LIBS"
13479
 
 
13480
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13481
 
            gt_cv_func_dgettext_libc=no
13482
 
          else
13483
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
13484
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
13485
 
              gt_cv_func_dgettext_libintl=no
13486
 
            fi
13487
 
          fi
13488
 
        fi
13489
 
      fi
13490
 
 
13491
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
13492
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
13493
 
        gt_cv_have_gettext=yes
13494
 
      fi
13495
 
 
13496
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13497
 
        INTLLIBS="-lintl $libintl_extra_libs"
13498
 
      fi
13499
 
 
13500
 
      if test "$gt_cv_have_gettext" = "yes"; then
13501
 
 
13502
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13503
 
 
13504
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
11880
  rm -f conf$$.sh
 
11881
fi
 
11882
 
 
11883
# Find out how to test for executable files. Don't use a zero-byte file,
 
11884
# as systems may use methods other than mode bits to determine executability.
 
11885
cat >conf$$.file <<_ASEOF
 
11886
#! /bin/sh
 
11887
exit 0
 
11888
_ASEOF
 
11889
chmod +x conf$$.file
 
11890
if test -x conf$$.file >/dev/null 2>&1; then
 
11891
  ac_executable_p="test -x"
 
11892
else
 
11893
  ac_executable_p="test -f"
 
11894
fi
 
11895
rm -f conf$$.file
 
11896
 
 
11897
# Extract the first word of "msgfmt", so it can be a program name with args.
13505
11898
set dummy msgfmt; ac_word=$2
13506
11899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13507
11900
$as_echo_n "checking for $ac_word... " >&6; }
13509
11902
  $as_echo_n "(cached) " >&6
13510
11903
else
13511
11904
  case "$MSGFMT" in
13512
 
  /*)
13513
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13514
 
  ;;
 
11905
  [\\/]* | ?:[\\/]*)
 
11906
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
11907
    ;;
13515
11908
  *)
13516
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13517
 
  for ac_dir in $PATH; do
13518
 
    test -z "$ac_dir" && ac_dir=.
13519
 
    if test -f $ac_dir/$ac_word; then
13520
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13521
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13522
 
        break
13523
 
      fi
13524
 
    fi
13525
 
  done
13526
 
  IFS="$ac_save_ifs"
13527
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13528
 
  ;;
 
11909
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
11910
    for ac_dir in $PATH; do
 
11911
      IFS="$ac_save_IFS"
 
11912
      test -z "$ac_dir" && ac_dir=.
 
11913
      for ac_exec_ext in '' $ac_executable_extensions; do
 
11914
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
11915
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
11916
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
 
11917
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
11918
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
 
11919
            break 2
 
11920
          fi
 
11921
        fi
 
11922
      done
 
11923
    done
 
11924
    IFS="$ac_save_IFS"
 
11925
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
11926
    ;;
13529
11927
esac
13530
11928
fi
13531
11929
MSGFMT="$ac_cv_path_MSGFMT"
13532
 
if test "$MSGFMT" != "no"; then
 
11930
if test "$MSGFMT" != ":"; then
13533
11931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13534
11932
$as_echo "$MSGFMT" >&6; }
13535
11933
else
13536
11934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13537
11935
$as_echo "no" >&6; }
13538
11936
fi
13539
 
        if test "$MSGFMT" != "no"; then
13540
 
          glib_save_LIBS="$LIBS"
13541
 
          LIBS="$LIBS $INTLLIBS"
13542
 
          for ac_func in dcgettext
13543
 
do :
13544
 
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13545
 
if test "x$ac_cv_func_dcgettext" = xyes; then :
13546
 
  cat >>confdefs.h <<_ACEOF
13547
 
#define HAVE_DCGETTEXT 1
13548
 
_ACEOF
13549
 
 
13550
 
fi
13551
 
done
13552
 
 
13553
 
          MSGFMT_OPTS=
13554
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13555
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13556
 
          cat >conftest.foo <<_ACEOF
13557
 
 
13558
 
msgid ""
13559
 
msgstr ""
13560
 
"Content-Type: text/plain; charset=UTF-8\n"
13561
 
"Project-Id-Version: test 1.0\n"
13562
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13563
 
"Last-Translator: test <foo@bar.xx>\n"
13564
 
"Language-Team: C <LL@li.org>\n"
13565
 
"MIME-Version: 1.0\n"
13566
 
"Content-Transfer-Encoding: 8bit\n"
13567
 
 
13568
 
_ACEOF
13569
 
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13570
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13571
 
  ac_status=$?
13572
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13573
 
  test $ac_status = 0; }; then
13574
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13575
 
$as_echo "yes" >&6; }
13576
 
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13577
 
$as_echo "no" >&6; }
13578
 
echo "$as_me: failed input was:" >&5
13579
 
sed 's/^/| /' conftest.foo >&5
13580
 
fi
13581
 
 
13582
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
11937
 
 
11938
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13583
11939
set dummy gmsgfmt; ac_word=$2
13584
11940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13585
11941
$as_echo_n "checking for $ac_word... " >&6; }
13620
11976
fi
13621
11977
 
13622
11978
 
13623
 
          # Extract the first word of "xgettext", so it can be a program name with args.
 
11979
 
 
11980
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11981
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
11982
    *) MSGFMT_015=$MSGFMT ;;
 
11983
  esac
 
11984
 
 
11985
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
11986
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
11987
    *) GMSGFMT_015=$GMSGFMT ;;
 
11988
  esac
 
11989
 
 
11990
 
 
11991
 
 
11992
# Prepare PATH_SEPARATOR.
 
11993
# The user is always right.
 
11994
if test "${PATH_SEPARATOR+set}" != set; then
 
11995
  echo "#! /bin/sh" >conf$$.sh
 
11996
  echo  "exit 0"   >>conf$$.sh
 
11997
  chmod +x conf$$.sh
 
11998
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
11999
    PATH_SEPARATOR=';'
 
12000
  else
 
12001
    PATH_SEPARATOR=:
 
12002
  fi
 
12003
  rm -f conf$$.sh
 
12004
fi
 
12005
 
 
12006
# Find out how to test for executable files. Don't use a zero-byte file,
 
12007
# as systems may use methods other than mode bits to determine executability.
 
12008
cat >conf$$.file <<_ASEOF
 
12009
#! /bin/sh
 
12010
exit 0
 
12011
_ASEOF
 
12012
chmod +x conf$$.file
 
12013
if test -x conf$$.file >/dev/null 2>&1; then
 
12014
  ac_executable_p="test -x"
 
12015
else
 
12016
  ac_executable_p="test -f"
 
12017
fi
 
12018
rm -f conf$$.file
 
12019
 
 
12020
# Extract the first word of "xgettext", so it can be a program name with args.
13624
12021
set dummy xgettext; ac_word=$2
13625
12022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13626
12023
$as_echo_n "checking for $ac_word... " >&6; }
13628
12025
  $as_echo_n "(cached) " >&6
13629
12026
else
13630
12027
  case "$XGETTEXT" in
13631
 
  /*)
13632
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13633
 
  ;;
 
12028
  [\\/]* | ?:[\\/]*)
 
12029
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
12030
    ;;
13634
12031
  *)
13635
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13636
 
  for ac_dir in $PATH; do
13637
 
    test -z "$ac_dir" && ac_dir=.
13638
 
    if test -f $ac_dir/$ac_word; then
13639
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13640
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13641
 
        break
13642
 
      fi
13643
 
    fi
13644
 
  done
13645
 
  IFS="$ac_save_ifs"
 
12032
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
12033
    for ac_dir in $PATH; do
 
12034
      IFS="$ac_save_IFS"
 
12035
      test -z "$ac_dir" && ac_dir=.
 
12036
      for ac_exec_ext in '' $ac_executable_extensions; do
 
12037
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
12038
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
12039
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
 
12040
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
12041
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
 
12042
            break 2
 
12043
          fi
 
12044
        fi
 
12045
      done
 
12046
    done
 
12047
    IFS="$ac_save_IFS"
13646
12048
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13647
 
  ;;
 
12049
    ;;
13648
12050
esac
13649
12051
fi
13650
12052
XGETTEXT="$ac_cv_path_XGETTEXT"
13656
12058
$as_echo "no" >&6; }
13657
12059
fi
13658
12060
 
13659
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660
 
/* end confdefs.h.  */
13661
 
 
13662
 
int
13663
 
main ()
13664
 
{
13665
 
extern int _nl_msg_cat_cntr;
13666
 
                         return _nl_msg_cat_cntr
13667
 
  ;
13668
 
  return 0;
13669
 
}
13670
 
_ACEOF
13671
 
if ac_fn_c_try_link "$LINENO"; then :
13672
 
  CATOBJEXT=.gmo
13673
 
             DATADIRNAME=share
13674
 
else
 
12061
    rm -f messages.po
 
12062
 
 
12063
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
12064
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
12065
    *) XGETTEXT_015=$XGETTEXT ;;
 
12066
  esac
 
12067
 
 
12068
 
 
12069
 
 
12070
# Prepare PATH_SEPARATOR.
 
12071
# The user is always right.
 
12072
if test "${PATH_SEPARATOR+set}" != set; then
 
12073
  echo "#! /bin/sh" >conf$$.sh
 
12074
  echo  "exit 0"   >>conf$$.sh
 
12075
  chmod +x conf$$.sh
 
12076
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
12077
    PATH_SEPARATOR=';'
 
12078
  else
 
12079
    PATH_SEPARATOR=:
 
12080
  fi
 
12081
  rm -f conf$$.sh
 
12082
fi
 
12083
 
 
12084
# Find out how to test for executable files. Don't use a zero-byte file,
 
12085
# as systems may use methods other than mode bits to determine executability.
 
12086
cat >conf$$.file <<_ASEOF
 
12087
#! /bin/sh
 
12088
exit 0
 
12089
_ASEOF
 
12090
chmod +x conf$$.file
 
12091
if test -x conf$$.file >/dev/null 2>&1; then
 
12092
  ac_executable_p="test -x"
 
12093
else
 
12094
  ac_executable_p="test -f"
 
12095
fi
 
12096
rm -f conf$$.file
 
12097
 
 
12098
# Extract the first word of "msgmerge", so it can be a program name with args.
 
12099
set dummy msgmerge; ac_word=$2
 
12100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12101
$as_echo_n "checking for $ac_word... " >&6; }
 
12102
if ${ac_cv_path_MSGMERGE+:} false; then :
 
12103
  $as_echo_n "(cached) " >&6
 
12104
else
 
12105
  case "$MSGMERGE" in
 
12106
  [\\/]* | ?:[\\/]*)
 
12107
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
12108
    ;;
 
12109
  *)
 
12110
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
12111
    for ac_dir in $PATH; do
 
12112
      IFS="$ac_save_IFS"
 
12113
      test -z "$ac_dir" && ac_dir=.
 
12114
      for ac_exec_ext in '' $ac_executable_extensions; do
 
12115
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
12116
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
12117
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
 
12118
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
 
12119
            break 2
 
12120
          fi
 
12121
        fi
 
12122
      done
 
12123
    done
 
12124
    IFS="$ac_save_IFS"
 
12125
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
12126
    ;;
 
12127
esac
 
12128
fi
 
12129
MSGMERGE="$ac_cv_path_MSGMERGE"
 
12130
if test "$MSGMERGE" != ":"; then
 
12131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
12132
$as_echo "$MSGMERGE" >&6; }
 
12133
else
 
12134
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12135
$as_echo "no" >&6; }
 
12136
fi
 
12137
 
 
12138
 
 
12139
        test -n "$localedir" || localedir='${datadir}/locale'
 
12140
 
 
12141
 
 
12142
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
 
12143
 
 
12144
 
 
12145
  ac_config_commands="$ac_config_commands po-directories"
 
12146
 
 
12147
 
 
12148
 
 
12149
      if test "X$prefix" = "XNONE"; then
 
12150
    acl_final_prefix="$ac_default_prefix"
 
12151
  else
 
12152
    acl_final_prefix="$prefix"
 
12153
  fi
 
12154
  if test "X$exec_prefix" = "XNONE"; then
 
12155
    acl_final_exec_prefix='${prefix}'
 
12156
  else
 
12157
    acl_final_exec_prefix="$exec_prefix"
 
12158
  fi
 
12159
  acl_save_prefix="$prefix"
 
12160
  prefix="$acl_final_prefix"
 
12161
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
12162
  prefix="$acl_save_prefix"
 
12163
 
 
12164
 
 
12165
# Check whether --with-gnu-ld was given.
 
12166
if test "${with_gnu_ld+set}" = set; then :
 
12167
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
12168
else
 
12169
  with_gnu_ld=no
 
12170
fi
 
12171
 
 
12172
# Prepare PATH_SEPARATOR.
 
12173
# The user is always right.
 
12174
if test "${PATH_SEPARATOR+set}" != set; then
 
12175
  echo "#! /bin/sh" >conf$$.sh
 
12176
  echo  "exit 0"   >>conf$$.sh
 
12177
  chmod +x conf$$.sh
 
12178
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
12179
    PATH_SEPARATOR=';'
 
12180
  else
 
12181
    PATH_SEPARATOR=:
 
12182
  fi
 
12183
  rm -f conf$$.sh
 
12184
fi
 
12185
ac_prog=ld
 
12186
if test "$GCC" = yes; then
 
12187
  # Check if gcc -print-prog-name=ld gives a path.
 
12188
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
12189
$as_echo_n "checking for ld used by GCC... " >&6; }
13675
12190
  case $host in
13676
 
            *-*-solaris*)
13677
 
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13678
 
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13679
 
  CATOBJEXT=.gmo
13680
 
               DATADIRNAME=share
13681
 
else
13682
 
  CATOBJEXT=.mo
13683
 
               DATADIRNAME=lib
13684
 
fi
13685
 
 
13686
 
            ;;
13687
 
            *)
13688
 
            CATOBJEXT=.mo
13689
 
            DATADIRNAME=lib
13690
 
            ;;
13691
 
            esac
13692
 
fi
13693
 
rm -f core conftest.err conftest.$ac_objext \
13694
 
    conftest$ac_exeext conftest.$ac_ext
13695
 
          LIBS="$glib_save_LIBS"
13696
 
          INSTOBJEXT=.mo
13697
 
        else
13698
 
          gt_cv_have_gettext=no
13699
 
        fi
13700
 
      fi
13701
 
 
13702
 
fi
13703
 
 
13704
 
 
13705
 
 
13706
 
    if test "$gt_cv_have_gettext" = "yes" ; then
 
12191
  *-*-mingw*)
 
12192
    # gcc leaves a trailing carriage return which upsets mingw
 
12193
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
12194
  *)
 
12195
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
12196
  esac
 
12197
  case $ac_prog in
 
12198
    # Accept absolute paths.
 
12199
    [\\/]* | [A-Za-z]:[\\/]*)
 
12200
      re_direlt='/[^/][^/]*/\.\./'
 
12201
      # Canonicalize the path of ld
 
12202
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
12203
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
12204
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
12205
      done
 
12206
      test -z "$LD" && LD="$ac_prog"
 
12207
      ;;
 
12208
  "")
 
12209
    # If it fails, then pretend we aren't using GCC.
 
12210
    ac_prog=ld
 
12211
    ;;
 
12212
  *)
 
12213
    # If it is relative, then search for the first ld in PATH.
 
12214
    with_gnu_ld=unknown
 
12215
    ;;
 
12216
  esac
 
12217
elif test "$with_gnu_ld" = yes; then
 
12218
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12219
$as_echo_n "checking for GNU ld... " >&6; }
 
12220
else
 
12221
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12222
$as_echo_n "checking for non-GNU ld... " >&6; }
 
12223
fi
 
12224
if ${acl_cv_path_LD+:} false; then :
 
12225
  $as_echo_n "(cached) " >&6
 
12226
else
 
12227
  if test -z "$LD"; then
 
12228
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
12229
  for ac_dir in $PATH; do
 
12230
    test -z "$ac_dir" && ac_dir=.
 
12231
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
12232
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
12233
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
12234
      # but apparently some GNU ld's only accept -v.
 
12235
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
12236
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
12237
      *GNU* | *'with BFD'*)
 
12238
        test "$with_gnu_ld" != no && break ;;
 
12239
      *)
 
12240
        test "$with_gnu_ld" != yes && break ;;
 
12241
      esac
 
12242
    fi
 
12243
  done
 
12244
  IFS="$ac_save_ifs"
 
12245
else
 
12246
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
12247
fi
 
12248
fi
 
12249
 
 
12250
LD="$acl_cv_path_LD"
 
12251
if test -n "$LD"; then
 
12252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12253
$as_echo "$LD" >&6; }
 
12254
else
 
12255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12256
$as_echo "no" >&6; }
 
12257
fi
 
12258
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12260
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12261
if ${acl_cv_prog_gnu_ld+:} false; then :
 
12262
  $as_echo_n "(cached) " >&6
 
12263
else
 
12264
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
12265
case `$LD -v 2>&1 </dev/null` in
 
12266
*GNU* | *'with BFD'*)
 
12267
  acl_cv_prog_gnu_ld=yes ;;
 
12268
*)
 
12269
  acl_cv_prog_gnu_ld=no ;;
 
12270
esac
 
12271
fi
 
12272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
12273
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
12274
with_gnu_ld=$acl_cv_prog_gnu_ld
 
12275
 
 
12276
 
 
12277
 
 
12278
 
 
12279
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
12280
$as_echo_n "checking for shared library run path origin... " >&6; }
 
12281
if ${acl_cv_rpath+:} false; then :
 
12282
  $as_echo_n "(cached) " >&6
 
12283
else
 
12284
 
 
12285
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
12286
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
12287
    . ./conftest.sh
 
12288
    rm -f ./conftest.sh
 
12289
    acl_cv_rpath=done
 
12290
 
 
12291
fi
 
12292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
12293
$as_echo "$acl_cv_rpath" >&6; }
 
12294
  wl="$acl_cv_wl"
 
12295
  acl_libext="$acl_cv_libext"
 
12296
  acl_shlibext="$acl_cv_shlibext"
 
12297
  acl_libname_spec="$acl_cv_libname_spec"
 
12298
  acl_library_names_spec="$acl_cv_library_names_spec"
 
12299
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
12300
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
12301
  acl_hardcode_direct="$acl_cv_hardcode_direct"
 
12302
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
12303
    # Check whether --enable-rpath was given.
 
12304
if test "${enable_rpath+set}" = set; then :
 
12305
  enableval=$enable_rpath; :
 
12306
else
 
12307
  enable_rpath=yes
 
12308
fi
 
12309
 
 
12310
 
 
12311
 
 
12312
                  acl_libdirstem=lib
 
12313
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
12314
  if test -n "$searchpath"; then
 
12315
    acl_save_IFS="${IFS=        }"; IFS=":"
 
12316
    for searchdir in $searchpath; do
 
12317
      if test -d "$searchdir"; then
 
12318
        case "$searchdir" in
 
12319
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
12320
          *) searchdir=`cd "$searchdir" && pwd`
 
12321
             case "$searchdir" in
 
12322
               */lib64 ) acl_libdirstem=lib64 ;;
 
12323
             esac ;;
 
12324
        esac
 
12325
      fi
 
12326
    done
 
12327
    IFS="$acl_save_IFS"
 
12328
  fi
 
12329
 
 
12330
 
 
12331
 
 
12332
 
 
12333
 
 
12334
 
 
12335
 
 
12336
 
 
12337
 
 
12338
    use_additional=yes
 
12339
 
 
12340
  acl_save_prefix="$prefix"
 
12341
  prefix="$acl_final_prefix"
 
12342
  acl_save_exec_prefix="$exec_prefix"
 
12343
  exec_prefix="$acl_final_exec_prefix"
 
12344
 
 
12345
    eval additional_includedir=\"$includedir\"
 
12346
    eval additional_libdir=\"$libdir\"
 
12347
 
 
12348
  exec_prefix="$acl_save_exec_prefix"
 
12349
  prefix="$acl_save_prefix"
 
12350
 
 
12351
 
 
12352
# Check whether --with-libiconv-prefix was given.
 
12353
if test "${with_libiconv_prefix+set}" = set; then :
 
12354
  withval=$with_libiconv_prefix;
 
12355
    if test "X$withval" = "Xno"; then
 
12356
      use_additional=no
 
12357
    else
 
12358
      if test "X$withval" = "X"; then
 
12359
 
 
12360
  acl_save_prefix="$prefix"
 
12361
  prefix="$acl_final_prefix"
 
12362
  acl_save_exec_prefix="$exec_prefix"
 
12363
  exec_prefix="$acl_final_exec_prefix"
 
12364
 
 
12365
          eval additional_includedir=\"$includedir\"
 
12366
          eval additional_libdir=\"$libdir\"
 
12367
 
 
12368
  exec_prefix="$acl_save_exec_prefix"
 
12369
  prefix="$acl_save_prefix"
 
12370
 
 
12371
      else
 
12372
        additional_includedir="$withval/include"
 
12373
        additional_libdir="$withval/$acl_libdirstem"
 
12374
      fi
 
12375
    fi
 
12376
 
 
12377
fi
 
12378
 
 
12379
      LIBICONV=
 
12380
  LTLIBICONV=
 
12381
  INCICONV=
 
12382
  LIBICONV_PREFIX=
 
12383
  rpathdirs=
 
12384
  ltrpathdirs=
 
12385
  names_already_handled=
 
12386
  names_next_round='iconv '
 
12387
  while test -n "$names_next_round"; do
 
12388
    names_this_round="$names_next_round"
 
12389
    names_next_round=
 
12390
    for name in $names_this_round; do
 
12391
      already_handled=
 
12392
      for n in $names_already_handled; do
 
12393
        if test "$n" = "$name"; then
 
12394
          already_handled=yes
 
12395
          break
 
12396
        fi
 
12397
      done
 
12398
      if test -z "$already_handled"; then
 
12399
        names_already_handled="$names_already_handled $name"
 
12400
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
12401
        eval value=\"\$HAVE_LIB$uppername\"
 
12402
        if test -n "$value"; then
 
12403
          if test "$value" = yes; then
 
12404
            eval value=\"\$LIB$uppername\"
 
12405
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
12406
            eval value=\"\$LTLIB$uppername\"
 
12407
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
12408
          else
 
12409
                                    :
 
12410
          fi
 
12411
        else
 
12412
                              found_dir=
 
12413
          found_la=
 
12414
          found_so=
 
12415
          found_a=
 
12416
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
12417
          if test -n "$acl_shlibext"; then
 
12418
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
12419
          else
 
12420
            shrext=
 
12421
          fi
 
12422
          if test $use_additional = yes; then
 
12423
            dir="$additional_libdir"
 
12424
                                    if test -n "$acl_shlibext"; then
 
12425
              if test -f "$dir/$libname$shrext"; then
 
12426
                found_dir="$dir"
 
12427
                found_so="$dir/$libname$shrext"
 
12428
              else
 
12429
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12430
                  ver=`(cd "$dir" && \
 
12431
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
12432
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
12433
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12434
                        | sed 1q ) 2>/dev/null`
 
12435
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12436
                    found_dir="$dir"
 
12437
                    found_so="$dir/$libname$shrext.$ver"
 
12438
                  fi
 
12439
                else
 
12440
                  eval library_names=\"$acl_library_names_spec\"
 
12441
                  for f in $library_names; do
 
12442
                    if test -f "$dir/$f"; then
 
12443
                      found_dir="$dir"
 
12444
                      found_so="$dir/$f"
 
12445
                      break
 
12446
                    fi
 
12447
                  done
 
12448
                fi
 
12449
              fi
 
12450
            fi
 
12451
                        if test "X$found_dir" = "X"; then
 
12452
              if test -f "$dir/$libname.$acl_libext"; then
 
12453
                found_dir="$dir"
 
12454
                found_a="$dir/$libname.$acl_libext"
 
12455
              fi
 
12456
            fi
 
12457
            if test "X$found_dir" != "X"; then
 
12458
              if test -f "$dir/$libname.la"; then
 
12459
                found_la="$dir/$libname.la"
 
12460
              fi
 
12461
            fi
 
12462
          fi
 
12463
          if test "X$found_dir" = "X"; then
 
12464
            for x in $LDFLAGS $LTLIBICONV; do
 
12465
 
 
12466
  acl_save_prefix="$prefix"
 
12467
  prefix="$acl_final_prefix"
 
12468
  acl_save_exec_prefix="$exec_prefix"
 
12469
  exec_prefix="$acl_final_exec_prefix"
 
12470
  eval x=\"$x\"
 
12471
  exec_prefix="$acl_save_exec_prefix"
 
12472
  prefix="$acl_save_prefix"
 
12473
 
 
12474
              case "$x" in
 
12475
                -L*)
 
12476
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
12477
                                    if test -n "$acl_shlibext"; then
 
12478
                    if test -f "$dir/$libname$shrext"; then
 
12479
                      found_dir="$dir"
 
12480
                      found_so="$dir/$libname$shrext"
 
12481
                    else
 
12482
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
12483
                        ver=`(cd "$dir" && \
 
12484
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
12485
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
12486
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
12487
                              | sed 1q ) 2>/dev/null`
 
12488
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
12489
                          found_dir="$dir"
 
12490
                          found_so="$dir/$libname$shrext.$ver"
 
12491
                        fi
 
12492
                      else
 
12493
                        eval library_names=\"$acl_library_names_spec\"
 
12494
                        for f in $library_names; do
 
12495
                          if test -f "$dir/$f"; then
 
12496
                            found_dir="$dir"
 
12497
                            found_so="$dir/$f"
 
12498
                            break
 
12499
                          fi
 
12500
                        done
 
12501
                      fi
 
12502
                    fi
 
12503
                  fi
 
12504
                                    if test "X$found_dir" = "X"; then
 
12505
                    if test -f "$dir/$libname.$acl_libext"; then
 
12506
                      found_dir="$dir"
 
12507
                      found_a="$dir/$libname.$acl_libext"
 
12508
                    fi
 
12509
                  fi
 
12510
                  if test "X$found_dir" != "X"; then
 
12511
                    if test -f "$dir/$libname.la"; then
 
12512
                      found_la="$dir/$libname.la"
 
12513
                    fi
 
12514
                  fi
 
12515
                  ;;
 
12516
              esac
 
12517
              if test "X$found_dir" != "X"; then
 
12518
                break
 
12519
              fi
 
12520
            done
 
12521
          fi
 
12522
          if test "X$found_dir" != "X"; then
 
12523
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
12524
            if test "X$found_so" != "X"; then
 
12525
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
12526
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12527
              else
 
12528
                                                                                haveit=
 
12529
                for x in $ltrpathdirs; do
 
12530
                  if test "X$x" = "X$found_dir"; then
 
12531
                    haveit=yes
 
12532
                    break
 
12533
                  fi
 
12534
                done
 
12535
                if test -z "$haveit"; then
 
12536
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
12537
                fi
 
12538
                                if test "$acl_hardcode_direct" = yes; then
 
12539
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12540
                else
 
12541
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
12542
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12543
                                                            haveit=
 
12544
                    for x in $rpathdirs; do
 
12545
                      if test "X$x" = "X$found_dir"; then
 
12546
                        haveit=yes
 
12547
                        break
 
12548
                      fi
 
12549
                    done
 
12550
                    if test -z "$haveit"; then
 
12551
                      rpathdirs="$rpathdirs $found_dir"
 
12552
                    fi
 
12553
                  else
 
12554
                                                                                haveit=
 
12555
                    for x in $LDFLAGS $LIBICONV; do
 
12556
 
 
12557
  acl_save_prefix="$prefix"
 
12558
  prefix="$acl_final_prefix"
 
12559
  acl_save_exec_prefix="$exec_prefix"
 
12560
  exec_prefix="$acl_final_exec_prefix"
 
12561
  eval x=\"$x\"
 
12562
  exec_prefix="$acl_save_exec_prefix"
 
12563
  prefix="$acl_save_prefix"
 
12564
 
 
12565
                      if test "X$x" = "X-L$found_dir"; then
 
12566
                        haveit=yes
 
12567
                        break
 
12568
                      fi
 
12569
                    done
 
12570
                    if test -z "$haveit"; then
 
12571
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
12572
                    fi
 
12573
                    if test "$acl_hardcode_minus_L" != no; then
 
12574
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
12575
                    else
 
12576
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
12577
                    fi
 
12578
                  fi
 
12579
                fi
 
12580
              fi
 
12581
            else
 
12582
              if test "X$found_a" != "X"; then
 
12583
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
12584
              else
 
12585
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
12586
              fi
 
12587
            fi
 
12588
                        additional_includedir=
 
12589
            case "$found_dir" in
 
12590
              */$acl_libdirstem | */$acl_libdirstem/)
 
12591
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
12592
                LIBICONV_PREFIX="$basedir"
 
12593
                additional_includedir="$basedir/include"
 
12594
                ;;
 
12595
            esac
 
12596
            if test "X$additional_includedir" != "X"; then
 
12597
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
12598
                haveit=
 
12599
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
12600
                  if test -n "$GCC"; then
 
12601
                    case $host_os in
 
12602
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
12603
                    esac
 
12604
                  fi
 
12605
                fi
 
12606
                if test -z "$haveit"; then
 
12607
                  for x in $CPPFLAGS $INCICONV; do
 
12608
 
 
12609
  acl_save_prefix="$prefix"
 
12610
  prefix="$acl_final_prefix"
 
12611
  acl_save_exec_prefix="$exec_prefix"
 
12612
  exec_prefix="$acl_final_exec_prefix"
 
12613
  eval x=\"$x\"
 
12614
  exec_prefix="$acl_save_exec_prefix"
 
12615
  prefix="$acl_save_prefix"
 
12616
 
 
12617
                    if test "X$x" = "X-I$additional_includedir"; then
 
12618
                      haveit=yes
 
12619
                      break
 
12620
                    fi
 
12621
                  done
 
12622
                  if test -z "$haveit"; then
 
12623
                    if test -d "$additional_includedir"; then
 
12624
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
12625
                    fi
 
12626
                  fi
 
12627
                fi
 
12628
              fi
 
12629
            fi
 
12630
                        if test -n "$found_la"; then
 
12631
                                                        save_libdir="$libdir"
 
12632
              case "$found_la" in
 
12633
                */* | *\\*) . "$found_la" ;;
 
12634
                *) . "./$found_la" ;;
 
12635
              esac
 
12636
              libdir="$save_libdir"
 
12637
                            for dep in $dependency_libs; do
 
12638
                case "$dep" in
 
12639
                  -L*)
 
12640
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
12641
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
12642
                      haveit=
 
12643
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
12644
                        if test -n "$GCC"; then
 
12645
                          case $host_os in
 
12646
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
12647
                          esac
 
12648
                        fi
 
12649
                      fi
 
12650
                      if test -z "$haveit"; then
 
12651
                        haveit=
 
12652
                        for x in $LDFLAGS $LIBICONV; do
 
12653
 
 
12654
  acl_save_prefix="$prefix"
 
12655
  prefix="$acl_final_prefix"
 
12656
  acl_save_exec_prefix="$exec_prefix"
 
12657
  exec_prefix="$acl_final_exec_prefix"
 
12658
  eval x=\"$x\"
 
12659
  exec_prefix="$acl_save_exec_prefix"
 
12660
  prefix="$acl_save_prefix"
 
12661
 
 
12662
                          if test "X$x" = "X-L$additional_libdir"; then
 
12663
                            haveit=yes
 
12664
                            break
 
12665
                          fi
 
12666
                        done
 
12667
                        if test -z "$haveit"; then
 
12668
                          if test -d "$additional_libdir"; then
 
12669
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
12670
                          fi
 
12671
                        fi
 
12672
                        haveit=
 
12673
                        for x in $LDFLAGS $LTLIBICONV; do
 
12674
 
 
12675
  acl_save_prefix="$prefix"
 
12676
  prefix="$acl_final_prefix"
 
12677
  acl_save_exec_prefix="$exec_prefix"
 
12678
  exec_prefix="$acl_final_exec_prefix"
 
12679
  eval x=\"$x\"
 
12680
  exec_prefix="$acl_save_exec_prefix"
 
12681
  prefix="$acl_save_prefix"
 
12682
 
 
12683
                          if test "X$x" = "X-L$additional_libdir"; then
 
12684
                            haveit=yes
 
12685
                            break
 
12686
                          fi
 
12687
                        done
 
12688
                        if test -z "$haveit"; then
 
12689
                          if test -d "$additional_libdir"; then
 
12690
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
12691
                          fi
 
12692
                        fi
 
12693
                      fi
 
12694
                    fi
 
12695
                    ;;
 
12696
                  -R*)
 
12697
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
12698
                    if test "$enable_rpath" != no; then
 
12699
                                                                  haveit=
 
12700
                      for x in $rpathdirs; do
 
12701
                        if test "X$x" = "X$dir"; then
 
12702
                          haveit=yes
 
12703
                          break
 
12704
                        fi
 
12705
                      done
 
12706
                      if test -z "$haveit"; then
 
12707
                        rpathdirs="$rpathdirs $dir"
 
12708
                      fi
 
12709
                                                                  haveit=
 
12710
                      for x in $ltrpathdirs; do
 
12711
                        if test "X$x" = "X$dir"; then
 
12712
                          haveit=yes
 
12713
                          break
 
12714
                        fi
 
12715
                      done
 
12716
                      if test -z "$haveit"; then
 
12717
                        ltrpathdirs="$ltrpathdirs $dir"
 
12718
                      fi
 
12719
                    fi
 
12720
                    ;;
 
12721
                  -l*)
 
12722
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
12723
                    ;;
 
12724
                  *.la)
 
12725
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
12726
                    ;;
 
12727
                  *)
 
12728
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
12729
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
12730
                    ;;
 
12731
                esac
 
12732
              done
 
12733
            fi
 
12734
          else
 
12735
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
12736
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
12737
          fi
 
12738
        fi
 
12739
      fi
 
12740
    done
 
12741
  done
 
12742
  if test "X$rpathdirs" != "X"; then
 
12743
    if test -n "$acl_hardcode_libdir_separator"; then
 
12744
                        alldirs=
 
12745
      for found_dir in $rpathdirs; do
 
12746
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
12747
      done
 
12748
            acl_save_libdir="$libdir"
 
12749
      libdir="$alldirs"
 
12750
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
12751
      libdir="$acl_save_libdir"
 
12752
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
12753
    else
 
12754
            for found_dir in $rpathdirs; do
 
12755
        acl_save_libdir="$libdir"
 
12756
        libdir="$found_dir"
 
12757
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
12758
        libdir="$acl_save_libdir"
 
12759
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
12760
      done
 
12761
    fi
 
12762
  fi
 
12763
  if test "X$ltrpathdirs" != "X"; then
 
12764
            for found_dir in $ltrpathdirs; do
 
12765
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
12766
    done
 
12767
  fi
 
12768
 
 
12769
 
 
12770
 
 
12771
 
 
12772
 
 
12773
 
 
12774
 
 
12775
 
 
12776
 
 
12777
 
 
12778
 
 
12779
 
 
12780
 
 
12781
 
 
12782
 
 
12783
 
 
12784
 
 
12785
 
 
12786
 
 
12787
 
 
12788
 
 
12789
 
 
12790
 
 
12791
 
 
12792
 
 
12793
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
12794
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
12795
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
 
12796
  $as_echo_n "(cached) " >&6
 
12797
else
 
12798
  gt_save_LIBS="$LIBS"
 
12799
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
12800
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12801
/* end confdefs.h.  */
 
12802
#include <CoreFoundation/CFPreferences.h>
 
12803
int
 
12804
main ()
 
12805
{
 
12806
CFPreferencesCopyAppValue(NULL, NULL)
 
12807
  ;
 
12808
  return 0;
 
12809
}
 
12810
_ACEOF
 
12811
if ac_fn_c_try_link "$LINENO"; then :
 
12812
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
12813
else
 
12814
  gt_cv_func_CFPreferencesCopyAppValue=no
 
12815
fi
 
12816
rm -f core conftest.err conftest.$ac_objext \
 
12817
    conftest$ac_exeext conftest.$ac_ext
 
12818
     LIBS="$gt_save_LIBS"
 
12819
fi
 
12820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
12821
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
12822
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
12823
 
 
12824
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
12825
 
 
12826
  fi
 
12827
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
12828
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
12829
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
 
12830
  $as_echo_n "(cached) " >&6
 
12831
else
 
12832
  gt_save_LIBS="$LIBS"
 
12833
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
12834
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12835
/* end confdefs.h.  */
 
12836
#include <CoreFoundation/CFLocale.h>
 
12837
int
 
12838
main ()
 
12839
{
 
12840
CFLocaleCopyCurrent();
 
12841
  ;
 
12842
  return 0;
 
12843
}
 
12844
_ACEOF
 
12845
if ac_fn_c_try_link "$LINENO"; then :
 
12846
  gt_cv_func_CFLocaleCopyCurrent=yes
 
12847
else
 
12848
  gt_cv_func_CFLocaleCopyCurrent=no
 
12849
fi
 
12850
rm -f core conftest.err conftest.$ac_objext \
 
12851
    conftest$ac_exeext conftest.$ac_ext
 
12852
     LIBS="$gt_save_LIBS"
 
12853
fi
 
12854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
12855
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
12856
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
12857
 
 
12858
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
12859
 
 
12860
  fi
 
12861
  INTL_MACOSX_LIBS=
 
12862
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
12863
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
12864
  fi
 
12865
 
 
12866
 
 
12867
 
 
12868
 
 
12869
 
 
12870
 
 
12871
  LIBINTL=
 
12872
  LTLIBINTL=
 
12873
  POSUB=
 
12874
 
 
12875
    case " $gt_needs " in
 
12876
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
12877
    *" need-ngettext "*) gt_api_version=2 ;;
 
12878
    *) gt_api_version=1 ;;
 
12879
  esac
 
12880
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
12881
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
12882
 
 
12883
    if test "$USE_NLS" = "yes"; then
 
12884
    gt_use_preinstalled_gnugettext=no
 
12885
 
 
12886
 
 
12887
        if test $gt_api_version -ge 3; then
 
12888
          gt_revision_test_code='
 
12889
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
12890
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
12891
#endif
 
12892
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
12893
'
 
12894
        else
 
12895
          gt_revision_test_code=
 
12896
        fi
 
12897
        if test $gt_api_version -ge 2; then
 
12898
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
12899
        else
 
12900
          gt_expression_test_code=
 
12901
        fi
 
12902
 
 
12903
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
12904
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
12905
if eval \${$gt_func_gnugettext_libc+:} false; then :
 
12906
  $as_echo_n "(cached) " >&6
 
12907
else
 
12908
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12909
/* end confdefs.h.  */
 
12910
#include <libintl.h>
 
12911
$gt_revision_test_code
 
12912
extern int _nl_msg_cat_cntr;
 
12913
extern int *_nl_domain_bindings;
 
12914
int
 
12915
main ()
 
12916
{
 
12917
bindtextdomain ("", "");
 
12918
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
12919
  ;
 
12920
  return 0;
 
12921
}
 
12922
_ACEOF
 
12923
if ac_fn_c_try_link "$LINENO"; then :
 
12924
  eval "$gt_func_gnugettext_libc=yes"
 
12925
else
 
12926
  eval "$gt_func_gnugettext_libc=no"
 
12927
fi
 
12928
rm -f core conftest.err conftest.$ac_objext \
 
12929
    conftest$ac_exeext conftest.$ac_ext
 
12930
fi
 
12931
eval ac_res=\$$gt_func_gnugettext_libc
 
12932
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
12933
$as_echo "$ac_res" >&6; }
 
12934
 
 
12935
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
12936
 
 
12937
 
 
12938
 
 
12939
 
 
12940
 
 
12941
          am_save_CPPFLAGS="$CPPFLAGS"
 
12942
 
 
12943
  for element in $INCICONV; do
 
12944
    haveit=
 
12945
    for x in $CPPFLAGS; do
 
12946
 
 
12947
  acl_save_prefix="$prefix"
 
12948
  prefix="$acl_final_prefix"
 
12949
  acl_save_exec_prefix="$exec_prefix"
 
12950
  exec_prefix="$acl_final_exec_prefix"
 
12951
  eval x=\"$x\"
 
12952
  exec_prefix="$acl_save_exec_prefix"
 
12953
  prefix="$acl_save_prefix"
 
12954
 
 
12955
      if test "X$x" = "X$element"; then
 
12956
        haveit=yes
 
12957
        break
 
12958
      fi
 
12959
    done
 
12960
    if test -z "$haveit"; then
 
12961
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
12962
    fi
 
12963
  done
 
12964
 
 
12965
 
 
12966
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
12967
$as_echo_n "checking for iconv... " >&6; }
 
12968
if ${am_cv_func_iconv+:} false; then :
 
12969
  $as_echo_n "(cached) " >&6
 
12970
else
 
12971
 
 
12972
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
12973
    am_cv_lib_iconv=no
 
12974
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12975
/* end confdefs.h.  */
 
12976
#include <stdlib.h>
 
12977
#include <iconv.h>
 
12978
int
 
12979
main ()
 
12980
{
 
12981
iconv_t cd = iconv_open("","");
 
12982
       iconv(cd,NULL,NULL,NULL,NULL);
 
12983
       iconv_close(cd);
 
12984
  ;
 
12985
  return 0;
 
12986
}
 
12987
_ACEOF
 
12988
if ac_fn_c_try_link "$LINENO"; then :
 
12989
  am_cv_func_iconv=yes
 
12990
fi
 
12991
rm -f core conftest.err conftest.$ac_objext \
 
12992
    conftest$ac_exeext conftest.$ac_ext
 
12993
    if test "$am_cv_func_iconv" != yes; then
 
12994
      am_save_LIBS="$LIBS"
 
12995
      LIBS="$LIBS $LIBICONV"
 
12996
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12997
/* end confdefs.h.  */
 
12998
#include <stdlib.h>
 
12999
#include <iconv.h>
 
13000
int
 
13001
main ()
 
13002
{
 
13003
iconv_t cd = iconv_open("","");
 
13004
         iconv(cd,NULL,NULL,NULL,NULL);
 
13005
         iconv_close(cd);
 
13006
  ;
 
13007
  return 0;
 
13008
}
 
13009
_ACEOF
 
13010
if ac_fn_c_try_link "$LINENO"; then :
 
13011
  am_cv_lib_iconv=yes
 
13012
        am_cv_func_iconv=yes
 
13013
fi
 
13014
rm -f core conftest.err conftest.$ac_objext \
 
13015
    conftest$ac_exeext conftest.$ac_ext
 
13016
      LIBS="$am_save_LIBS"
 
13017
    fi
 
13018
 
 
13019
fi
 
13020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
13021
$as_echo "$am_cv_func_iconv" >&6; }
 
13022
  if test "$am_cv_func_iconv" = yes; then
 
13023
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 
13024
$as_echo_n "checking for working iconv... " >&6; }
 
13025
if ${am_cv_func_iconv_works+:} false; then :
 
13026
  $as_echo_n "(cached) " >&6
 
13027
else
 
13028
 
 
13029
            am_save_LIBS="$LIBS"
 
13030
      if test $am_cv_lib_iconv = yes; then
 
13031
        LIBS="$LIBS $LIBICONV"
 
13032
      fi
 
13033
      if test "$cross_compiling" = yes; then :
 
13034
  case "$host_os" in
 
13035
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
 
13036
           *)            am_cv_func_iconv_works="guessing yes" ;;
 
13037
         esac
 
13038
else
 
13039
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13040
/* end confdefs.h.  */
 
13041
 
 
13042
#include <iconv.h>
 
13043
#include <string.h>
 
13044
int main ()
 
13045
{
 
13046
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
 
13047
     returns.  */
 
13048
  {
 
13049
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
 
13050
    if (cd_utf8_to_88591 != (iconv_t)(-1))
 
13051
      {
 
13052
        static const char input[] = "\342\202\254"; /* EURO SIGN */
 
13053
        char buf[10];
 
13054
        const char *inptr = input;
 
13055
        size_t inbytesleft = strlen (input);
 
13056
        char *outptr = buf;
 
13057
        size_t outbytesleft = sizeof (buf);
 
13058
        size_t res = iconv (cd_utf8_to_88591,
 
13059
                            (char **) &inptr, &inbytesleft,
 
13060
                            &outptr, &outbytesleft);
 
13061
        if (res == 0)
 
13062
          return 1;
 
13063
      }
 
13064
  }
 
13065
#if 0 /* This bug could be worked around by the caller.  */
 
13066
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
 
13067
  {
 
13068
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
 
13069
    if (cd_88591_to_utf8 != (iconv_t)(-1))
 
13070
      {
 
13071
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
 
13072
        char buf[50];
 
13073
        const char *inptr = input;
 
13074
        size_t inbytesleft = strlen (input);
 
13075
        char *outptr = buf;
 
13076
        size_t outbytesleft = sizeof (buf);
 
13077
        size_t res = iconv (cd_88591_to_utf8,
 
13078
                            (char **) &inptr, &inbytesleft,
 
13079
                            &outptr, &outbytesleft);
 
13080
        if ((int)res > 0)
 
13081
          return 1;
 
13082
      }
 
13083
  }
 
13084
#endif
 
13085
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
 
13086
     provided.  */
 
13087
  if (/* Try standardized names.  */
 
13088
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
 
13089
      /* Try IRIX, OSF/1 names.  */
 
13090
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
 
13091
      /* Try AIX names.  */
 
13092
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
 
13093
      /* Try HP-UX names.  */
 
13094
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
 
13095
    return 1;
 
13096
  return 0;
 
13097
}
 
13098
_ACEOF
 
13099
if ac_fn_c_try_run "$LINENO"; then :
 
13100
  am_cv_func_iconv_works=yes
 
13101
else
 
13102
  am_cv_func_iconv_works=no
 
13103
fi
 
13104
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
13105
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
13106
fi
 
13107
 
 
13108
      LIBS="$am_save_LIBS"
 
13109
 
 
13110
fi
 
13111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 
13112
$as_echo "$am_cv_func_iconv_works" >&6; }
 
13113
    case "$am_cv_func_iconv_works" in
 
13114
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
 
13115
      *)   am_func_iconv=yes ;;
 
13116
    esac
 
13117
  else
 
13118
    am_func_iconv=no am_cv_lib_iconv=no
 
13119
  fi
 
13120
  if test "$am_func_iconv" = yes; then
 
13121
 
 
13122
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
13123
 
 
13124
  fi
 
13125
  if test "$am_cv_lib_iconv" = yes; then
 
13126
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
13127
$as_echo_n "checking how to link with libiconv... " >&6; }
 
13128
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
13129
$as_echo "$LIBICONV" >&6; }
 
13130
  else
 
13131
            CPPFLAGS="$am_save_CPPFLAGS"
 
13132
    LIBICONV=
 
13133
    LTLIBICONV=
 
13134
  fi
 
13135
 
 
13136
 
 
13137
 
 
13138
 
 
13139
 
 
13140
 
 
13141
 
 
13142
 
 
13143
    use_additional=yes
 
13144
 
 
13145
  acl_save_prefix="$prefix"
 
13146
  prefix="$acl_final_prefix"
 
13147
  acl_save_exec_prefix="$exec_prefix"
 
13148
  exec_prefix="$acl_final_exec_prefix"
 
13149
 
 
13150
    eval additional_includedir=\"$includedir\"
 
13151
    eval additional_libdir=\"$libdir\"
 
13152
 
 
13153
  exec_prefix="$acl_save_exec_prefix"
 
13154
  prefix="$acl_save_prefix"
 
13155
 
 
13156
 
 
13157
# Check whether --with-libintl-prefix was given.
 
13158
if test "${with_libintl_prefix+set}" = set; then :
 
13159
  withval=$with_libintl_prefix;
 
13160
    if test "X$withval" = "Xno"; then
 
13161
      use_additional=no
 
13162
    else
 
13163
      if test "X$withval" = "X"; then
 
13164
 
 
13165
  acl_save_prefix="$prefix"
 
13166
  prefix="$acl_final_prefix"
 
13167
  acl_save_exec_prefix="$exec_prefix"
 
13168
  exec_prefix="$acl_final_exec_prefix"
 
13169
 
 
13170
          eval additional_includedir=\"$includedir\"
 
13171
          eval additional_libdir=\"$libdir\"
 
13172
 
 
13173
  exec_prefix="$acl_save_exec_prefix"
 
13174
  prefix="$acl_save_prefix"
 
13175
 
 
13176
      else
 
13177
        additional_includedir="$withval/include"
 
13178
        additional_libdir="$withval/$acl_libdirstem"
 
13179
      fi
 
13180
    fi
 
13181
 
 
13182
fi
 
13183
 
 
13184
      LIBINTL=
 
13185
  LTLIBINTL=
 
13186
  INCINTL=
 
13187
  LIBINTL_PREFIX=
 
13188
  rpathdirs=
 
13189
  ltrpathdirs=
 
13190
  names_already_handled=
 
13191
  names_next_round='intl '
 
13192
  while test -n "$names_next_round"; do
 
13193
    names_this_round="$names_next_round"
 
13194
    names_next_round=
 
13195
    for name in $names_this_round; do
 
13196
      already_handled=
 
13197
      for n in $names_already_handled; do
 
13198
        if test "$n" = "$name"; then
 
13199
          already_handled=yes
 
13200
          break
 
13201
        fi
 
13202
      done
 
13203
      if test -z "$already_handled"; then
 
13204
        names_already_handled="$names_already_handled $name"
 
13205
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
13206
        eval value=\"\$HAVE_LIB$uppername\"
 
13207
        if test -n "$value"; then
 
13208
          if test "$value" = yes; then
 
13209
            eval value=\"\$LIB$uppername\"
 
13210
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
13211
            eval value=\"\$LTLIB$uppername\"
 
13212
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
13213
          else
 
13214
                                    :
 
13215
          fi
 
13216
        else
 
13217
                              found_dir=
 
13218
          found_la=
 
13219
          found_so=
 
13220
          found_a=
 
13221
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
13222
          if test -n "$acl_shlibext"; then
 
13223
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
13224
          else
 
13225
            shrext=
 
13226
          fi
 
13227
          if test $use_additional = yes; then
 
13228
            dir="$additional_libdir"
 
13229
                                    if test -n "$acl_shlibext"; then
 
13230
              if test -f "$dir/$libname$shrext"; then
 
13231
                found_dir="$dir"
 
13232
                found_so="$dir/$libname$shrext"
 
13233
              else
 
13234
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13235
                  ver=`(cd "$dir" && \
 
13236
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
13237
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
13238
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13239
                        | sed 1q ) 2>/dev/null`
 
13240
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13241
                    found_dir="$dir"
 
13242
                    found_so="$dir/$libname$shrext.$ver"
 
13243
                  fi
 
13244
                else
 
13245
                  eval library_names=\"$acl_library_names_spec\"
 
13246
                  for f in $library_names; do
 
13247
                    if test -f "$dir/$f"; then
 
13248
                      found_dir="$dir"
 
13249
                      found_so="$dir/$f"
 
13250
                      break
 
13251
                    fi
 
13252
                  done
 
13253
                fi
 
13254
              fi
 
13255
            fi
 
13256
                        if test "X$found_dir" = "X"; then
 
13257
              if test -f "$dir/$libname.$acl_libext"; then
 
13258
                found_dir="$dir"
 
13259
                found_a="$dir/$libname.$acl_libext"
 
13260
              fi
 
13261
            fi
 
13262
            if test "X$found_dir" != "X"; then
 
13263
              if test -f "$dir/$libname.la"; then
 
13264
                found_la="$dir/$libname.la"
 
13265
              fi
 
13266
            fi
 
13267
          fi
 
13268
          if test "X$found_dir" = "X"; then
 
13269
            for x in $LDFLAGS $LTLIBINTL; do
 
13270
 
 
13271
  acl_save_prefix="$prefix"
 
13272
  prefix="$acl_final_prefix"
 
13273
  acl_save_exec_prefix="$exec_prefix"
 
13274
  exec_prefix="$acl_final_exec_prefix"
 
13275
  eval x=\"$x\"
 
13276
  exec_prefix="$acl_save_exec_prefix"
 
13277
  prefix="$acl_save_prefix"
 
13278
 
 
13279
              case "$x" in
 
13280
                -L*)
 
13281
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
13282
                                    if test -n "$acl_shlibext"; then
 
13283
                    if test -f "$dir/$libname$shrext"; then
 
13284
                      found_dir="$dir"
 
13285
                      found_so="$dir/$libname$shrext"
 
13286
                    else
 
13287
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13288
                        ver=`(cd "$dir" && \
 
13289
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
13290
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
13291
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13292
                              | sed 1q ) 2>/dev/null`
 
13293
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13294
                          found_dir="$dir"
 
13295
                          found_so="$dir/$libname$shrext.$ver"
 
13296
                        fi
 
13297
                      else
 
13298
                        eval library_names=\"$acl_library_names_spec\"
 
13299
                        for f in $library_names; do
 
13300
                          if test -f "$dir/$f"; then
 
13301
                            found_dir="$dir"
 
13302
                            found_so="$dir/$f"
 
13303
                            break
 
13304
                          fi
 
13305
                        done
 
13306
                      fi
 
13307
                    fi
 
13308
                  fi
 
13309
                                    if test "X$found_dir" = "X"; then
 
13310
                    if test -f "$dir/$libname.$acl_libext"; then
 
13311
                      found_dir="$dir"
 
13312
                      found_a="$dir/$libname.$acl_libext"
 
13313
                    fi
 
13314
                  fi
 
13315
                  if test "X$found_dir" != "X"; then
 
13316
                    if test -f "$dir/$libname.la"; then
 
13317
                      found_la="$dir/$libname.la"
 
13318
                    fi
 
13319
                  fi
 
13320
                  ;;
 
13321
              esac
 
13322
              if test "X$found_dir" != "X"; then
 
13323
                break
 
13324
              fi
 
13325
            done
 
13326
          fi
 
13327
          if test "X$found_dir" != "X"; then
 
13328
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
13329
            if test "X$found_so" != "X"; then
 
13330
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
13331
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13332
              else
 
13333
                                                                                haveit=
 
13334
                for x in $ltrpathdirs; do
 
13335
                  if test "X$x" = "X$found_dir"; then
 
13336
                    haveit=yes
 
13337
                    break
 
13338
                  fi
 
13339
                done
 
13340
                if test -z "$haveit"; then
 
13341
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
13342
                fi
 
13343
                                if test "$acl_hardcode_direct" = yes; then
 
13344
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13345
                else
 
13346
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
13347
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13348
                                                            haveit=
 
13349
                    for x in $rpathdirs; do
 
13350
                      if test "X$x" = "X$found_dir"; then
 
13351
                        haveit=yes
 
13352
                        break
 
13353
                      fi
 
13354
                    done
 
13355
                    if test -z "$haveit"; then
 
13356
                      rpathdirs="$rpathdirs $found_dir"
 
13357
                    fi
 
13358
                  else
 
13359
                                                                                haveit=
 
13360
                    for x in $LDFLAGS $LIBINTL; do
 
13361
 
 
13362
  acl_save_prefix="$prefix"
 
13363
  prefix="$acl_final_prefix"
 
13364
  acl_save_exec_prefix="$exec_prefix"
 
13365
  exec_prefix="$acl_final_exec_prefix"
 
13366
  eval x=\"$x\"
 
13367
  exec_prefix="$acl_save_exec_prefix"
 
13368
  prefix="$acl_save_prefix"
 
13369
 
 
13370
                      if test "X$x" = "X-L$found_dir"; then
 
13371
                        haveit=yes
 
13372
                        break
 
13373
                      fi
 
13374
                    done
 
13375
                    if test -z "$haveit"; then
 
13376
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
13377
                    fi
 
13378
                    if test "$acl_hardcode_minus_L" != no; then
 
13379
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
13380
                    else
 
13381
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
13382
                    fi
 
13383
                  fi
 
13384
                fi
 
13385
              fi
 
13386
            else
 
13387
              if test "X$found_a" != "X"; then
 
13388
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
13389
              else
 
13390
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
13391
              fi
 
13392
            fi
 
13393
                        additional_includedir=
 
13394
            case "$found_dir" in
 
13395
              */$acl_libdirstem | */$acl_libdirstem/)
 
13396
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
13397
                LIBINTL_PREFIX="$basedir"
 
13398
                additional_includedir="$basedir/include"
 
13399
                ;;
 
13400
            esac
 
13401
            if test "X$additional_includedir" != "X"; then
 
13402
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
13403
                haveit=
 
13404
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
13405
                  if test -n "$GCC"; then
 
13406
                    case $host_os in
 
13407
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13408
                    esac
 
13409
                  fi
 
13410
                fi
 
13411
                if test -z "$haveit"; then
 
13412
                  for x in $CPPFLAGS $INCINTL; do
 
13413
 
 
13414
  acl_save_prefix="$prefix"
 
13415
  prefix="$acl_final_prefix"
 
13416
  acl_save_exec_prefix="$exec_prefix"
 
13417
  exec_prefix="$acl_final_exec_prefix"
 
13418
  eval x=\"$x\"
 
13419
  exec_prefix="$acl_save_exec_prefix"
 
13420
  prefix="$acl_save_prefix"
 
13421
 
 
13422
                    if test "X$x" = "X-I$additional_includedir"; then
 
13423
                      haveit=yes
 
13424
                      break
 
13425
                    fi
 
13426
                  done
 
13427
                  if test -z "$haveit"; then
 
13428
                    if test -d "$additional_includedir"; then
 
13429
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
13430
                    fi
 
13431
                  fi
 
13432
                fi
 
13433
              fi
 
13434
            fi
 
13435
                        if test -n "$found_la"; then
 
13436
                                                        save_libdir="$libdir"
 
13437
              case "$found_la" in
 
13438
                */* | *\\*) . "$found_la" ;;
 
13439
                *) . "./$found_la" ;;
 
13440
              esac
 
13441
              libdir="$save_libdir"
 
13442
                            for dep in $dependency_libs; do
 
13443
                case "$dep" in
 
13444
                  -L*)
 
13445
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
13446
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
13447
                      haveit=
 
13448
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
13449
                        if test -n "$GCC"; then
 
13450
                          case $host_os in
 
13451
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13452
                          esac
 
13453
                        fi
 
13454
                      fi
 
13455
                      if test -z "$haveit"; then
 
13456
                        haveit=
 
13457
                        for x in $LDFLAGS $LIBINTL; do
 
13458
 
 
13459
  acl_save_prefix="$prefix"
 
13460
  prefix="$acl_final_prefix"
 
13461
  acl_save_exec_prefix="$exec_prefix"
 
13462
  exec_prefix="$acl_final_exec_prefix"
 
13463
  eval x=\"$x\"
 
13464
  exec_prefix="$acl_save_exec_prefix"
 
13465
  prefix="$acl_save_prefix"
 
13466
 
 
13467
                          if test "X$x" = "X-L$additional_libdir"; then
 
13468
                            haveit=yes
 
13469
                            break
 
13470
                          fi
 
13471
                        done
 
13472
                        if test -z "$haveit"; then
 
13473
                          if test -d "$additional_libdir"; then
 
13474
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
13475
                          fi
 
13476
                        fi
 
13477
                        haveit=
 
13478
                        for x in $LDFLAGS $LTLIBINTL; do
 
13479
 
 
13480
  acl_save_prefix="$prefix"
 
13481
  prefix="$acl_final_prefix"
 
13482
  acl_save_exec_prefix="$exec_prefix"
 
13483
  exec_prefix="$acl_final_exec_prefix"
 
13484
  eval x=\"$x\"
 
13485
  exec_prefix="$acl_save_exec_prefix"
 
13486
  prefix="$acl_save_prefix"
 
13487
 
 
13488
                          if test "X$x" = "X-L$additional_libdir"; then
 
13489
                            haveit=yes
 
13490
                            break
 
13491
                          fi
 
13492
                        done
 
13493
                        if test -z "$haveit"; then
 
13494
                          if test -d "$additional_libdir"; then
 
13495
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
13496
                          fi
 
13497
                        fi
 
13498
                      fi
 
13499
                    fi
 
13500
                    ;;
 
13501
                  -R*)
 
13502
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
13503
                    if test "$enable_rpath" != no; then
 
13504
                                                                  haveit=
 
13505
                      for x in $rpathdirs; do
 
13506
                        if test "X$x" = "X$dir"; then
 
13507
                          haveit=yes
 
13508
                          break
 
13509
                        fi
 
13510
                      done
 
13511
                      if test -z "$haveit"; then
 
13512
                        rpathdirs="$rpathdirs $dir"
 
13513
                      fi
 
13514
                                                                  haveit=
 
13515
                      for x in $ltrpathdirs; do
 
13516
                        if test "X$x" = "X$dir"; then
 
13517
                          haveit=yes
 
13518
                          break
 
13519
                        fi
 
13520
                      done
 
13521
                      if test -z "$haveit"; then
 
13522
                        ltrpathdirs="$ltrpathdirs $dir"
 
13523
                      fi
 
13524
                    fi
 
13525
                    ;;
 
13526
                  -l*)
 
13527
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
13528
                    ;;
 
13529
                  *.la)
 
13530
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
13531
                    ;;
 
13532
                  *)
 
13533
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
13534
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
13535
                    ;;
 
13536
                esac
 
13537
              done
 
13538
            fi
 
13539
          else
 
13540
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
13541
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
13542
          fi
 
13543
        fi
 
13544
      fi
 
13545
    done
 
13546
  done
 
13547
  if test "X$rpathdirs" != "X"; then
 
13548
    if test -n "$acl_hardcode_libdir_separator"; then
 
13549
                        alldirs=
 
13550
      for found_dir in $rpathdirs; do
 
13551
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
13552
      done
 
13553
            acl_save_libdir="$libdir"
 
13554
      libdir="$alldirs"
 
13555
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13556
      libdir="$acl_save_libdir"
 
13557
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
13558
    else
 
13559
            for found_dir in $rpathdirs; do
 
13560
        acl_save_libdir="$libdir"
 
13561
        libdir="$found_dir"
 
13562
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13563
        libdir="$acl_save_libdir"
 
13564
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
13565
      done
 
13566
    fi
 
13567
  fi
 
13568
  if test "X$ltrpathdirs" != "X"; then
 
13569
            for found_dir in $ltrpathdirs; do
 
13570
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
13571
    done
 
13572
  fi
 
13573
 
 
13574
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
13575
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
13576
if eval \${$gt_func_gnugettext_libintl+:} false; then :
 
13577
  $as_echo_n "(cached) " >&6
 
13578
else
 
13579
  gt_save_CPPFLAGS="$CPPFLAGS"
 
13580
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
13581
            gt_save_LIBS="$LIBS"
 
13582
            LIBS="$LIBS $LIBINTL"
 
13583
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13584
/* end confdefs.h.  */
 
13585
#include <libintl.h>
 
13586
$gt_revision_test_code
 
13587
extern int _nl_msg_cat_cntr;
 
13588
extern
 
13589
#ifdef __cplusplus
 
13590
"C"
 
13591
#endif
 
13592
const char *_nl_expand_alias (const char *);
 
13593
int
 
13594
main ()
 
13595
{
 
13596
bindtextdomain ("", "");
 
13597
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
13598
  ;
 
13599
  return 0;
 
13600
}
 
13601
_ACEOF
 
13602
if ac_fn_c_try_link "$LINENO"; then :
 
13603
  eval "$gt_func_gnugettext_libintl=yes"
 
13604
else
 
13605
  eval "$gt_func_gnugettext_libintl=no"
 
13606
fi
 
13607
rm -f core conftest.err conftest.$ac_objext \
 
13608
    conftest$ac_exeext conftest.$ac_ext
 
13609
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
13610
              LIBS="$LIBS $LIBICONV"
 
13611
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13612
/* end confdefs.h.  */
 
13613
#include <libintl.h>
 
13614
$gt_revision_test_code
 
13615
extern int _nl_msg_cat_cntr;
 
13616
extern
 
13617
#ifdef __cplusplus
 
13618
"C"
 
13619
#endif
 
13620
const char *_nl_expand_alias (const char *);
 
13621
int
 
13622
main ()
 
13623
{
 
13624
bindtextdomain ("", "");
 
13625
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
13626
  ;
 
13627
  return 0;
 
13628
}
 
13629
_ACEOF
 
13630
if ac_fn_c_try_link "$LINENO"; then :
 
13631
  LIBINTL="$LIBINTL $LIBICONV"
 
13632
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
13633
                eval "$gt_func_gnugettext_libintl=yes"
 
13634
 
 
13635
fi
 
13636
rm -f core conftest.err conftest.$ac_objext \
 
13637
    conftest$ac_exeext conftest.$ac_ext
 
13638
            fi
 
13639
            CPPFLAGS="$gt_save_CPPFLAGS"
 
13640
            LIBS="$gt_save_LIBS"
 
13641
fi
 
13642
eval ac_res=\$$gt_func_gnugettext_libintl
 
13643
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
13644
$as_echo "$ac_res" >&6; }
 
13645
        fi
 
13646
 
 
13647
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
13648
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
13649
                && test "$PACKAGE" != gettext-runtime \
 
13650
                && test "$PACKAGE" != gettext-tools; }; then
 
13651
          gt_use_preinstalled_gnugettext=yes
 
13652
        else
 
13653
                    LIBINTL=
 
13654
          LTLIBINTL=
 
13655
          INCINTL=
 
13656
        fi
 
13657
 
 
13658
 
 
13659
 
 
13660
    if test -n "$INTL_MACOSX_LIBS"; then
 
13661
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
13662
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
13663
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
13664
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
13665
      fi
 
13666
    fi
 
13667
 
 
13668
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
13669
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
13707
13670
 
13708
13671
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13709
13672
 
 
13673
    else
 
13674
      USE_NLS=no
13710
13675
    fi
 
13676
  fi
13711
13677
 
13712
 
        if test "$XGETTEXT" != ":"; then
13713
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13714
 
        : ;
 
13678
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
13679
$as_echo_n "checking whether to use NLS... " >&6; }
 
13680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
13681
$as_echo "$USE_NLS" >&6; }
 
13682
  if test "$USE_NLS" = "yes"; then
 
13683
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
13684
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
13685
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
13686
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
13687
        gt_source="external libintl"
13715
13688
      else
13716
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13717
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13718
 
        XGETTEXT=":"
 
13689
        gt_source="libc"
13719
13690
      fi
 
13691
    else
 
13692
      gt_source="included intl directory"
13720
13693
    fi
13721
 
 
13722
 
    # We need to process the po/ directory.
13723
 
    POSUB=po
13724
 
 
13725
 
    ac_config_commands="$ac_config_commands default-1"
13726
 
 
13727
 
 
13728
 
                for lang in $ALL_LINGUAS; do
13729
 
      GMOFILES="$GMOFILES $lang.gmo"
13730
 
      POFILES="$POFILES $lang.po"
 
13694
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
13695
$as_echo "$gt_source" >&6; }
 
13696
  fi
 
13697
 
 
13698
  if test "$USE_NLS" = "yes"; then
 
13699
 
 
13700
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
13701
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
13702
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
13703
$as_echo_n "checking how to link with libintl... " >&6; }
 
13704
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
13705
$as_echo "$LIBINTL" >&6; }
 
13706
 
 
13707
  for element in $INCINTL; do
 
13708
    haveit=
 
13709
    for x in $CPPFLAGS; do
 
13710
 
 
13711
  acl_save_prefix="$prefix"
 
13712
  prefix="$acl_final_prefix"
 
13713
  acl_save_exec_prefix="$exec_prefix"
 
13714
  exec_prefix="$acl_final_exec_prefix"
 
13715
  eval x=\"$x\"
 
13716
  exec_prefix="$acl_save_exec_prefix"
 
13717
  prefix="$acl_save_prefix"
 
13718
 
 
13719
      if test "X$x" = "X$element"; then
 
13720
        haveit=yes
 
13721
        break
 
13722
      fi
13731
13723
    done
13732
 
 
13733
 
 
13734
 
 
13735
 
 
13736
 
 
13737
 
 
13738
 
 
13739
 
 
13740
 
 
13741
 
 
13742
 
 
13743
 
 
13744
 
 
13745
 
   if test "$gt_cv_have_gettext" = "yes"; then
13746
 
     if test "x$ALL_LINGUAS" = "x"; then
13747
 
       LINGUAS=
13748
 
     else
13749
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13750
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
13751
 
       NEW_LINGUAS=
13752
 
       for presentlang in $ALL_LINGUAS; do
13753
 
         useit=no
13754
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13755
 
           desiredlanguages="$LINGUAS"
13756
 
         else
13757
 
           desiredlanguages="$ALL_LINGUAS"
13758
 
         fi
13759
 
         for desiredlang in $desiredlanguages; do
13760
 
           # Use the presentlang catalog if desiredlang is
13761
 
           #   a. equal to presentlang, or
13762
 
           #   b. a variant of presentlang (because in this case,
13763
 
           #      presentlang can be used as a fallback for messages
13764
 
           #      which are not translated in the desiredlang catalog).
13765
 
           case "$desiredlang" in
13766
 
             "$presentlang"*) useit=yes;;
13767
 
           esac
13768
 
         done
13769
 
         if test $useit = yes; then
13770
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13771
 
         fi
13772
 
       done
13773
 
       LINGUAS=$NEW_LINGUAS
13774
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13775
 
$as_echo "$LINGUAS" >&6; }
13776
 
     fi
13777
 
 
13778
 
          if test -n "$LINGUAS"; then
13779
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13780
 
     fi
13781
 
   fi
13782
 
 
13783
 
            MKINSTALLDIRS=
13784
 
   if test -n "$ac_aux_dir"; then
13785
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13786
 
   fi
13787
 
   if test -z "$MKINSTALLDIRS"; then
13788
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13789
 
   fi
13790
 
 
13791
 
 
13792
 
         test -d po || mkdir po
13793
 
   if test "x$srcdir" != "x."; then
13794
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13795
 
       posrcprefix="$srcdir/"
13796
 
     else
13797
 
       posrcprefix="../$srcdir/"
13798
 
     fi
 
13724
    if test -z "$haveit"; then
 
13725
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
13726
    fi
 
13727
  done
 
13728
 
 
13729
      fi
 
13730
 
 
13731
 
 
13732
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
13733
 
 
13734
 
 
13735
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
13736
 
 
13737
    fi
 
13738
 
 
13739
        POSUB=po
 
13740
  fi
 
13741
 
 
13742
 
 
13743
 
 
13744
    INTLLIBS="$LIBINTL"
 
13745
 
 
13746
 
 
13747
 
 
13748
 
 
13749
 
 
13750
 
 
13751
 
 
13752
 
 
13753
 
 
13754
case "$am__api_version" in
 
13755
    1.01234)
 
13756
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
13757
    ;;
 
13758
    *)
 
13759
    ;;
 
13760
esac
 
13761
 
 
13762
if test -n "0.40"; then
 
13763
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40" >&5
 
13764
$as_echo_n "checking for intltool >= 0.40... " >&6; }
 
13765
 
 
13766
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
13767
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
13768
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
13769
 
 
13770
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
13771
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
13772
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
13773
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40 or later." "$LINENO" 5
 
13774
fi
 
13775
 
 
13776
# Extract the first word of "intltool-update", so it can be a program name with args.
 
13777
set dummy intltool-update; ac_word=$2
 
13778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13779
$as_echo_n "checking for $ac_word... " >&6; }
 
13780
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
13781
  $as_echo_n "(cached) " >&6
 
13782
else
 
13783
  case $INTLTOOL_UPDATE in
 
13784
  [\\/]* | ?:[\\/]*)
 
13785
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
13786
  ;;
 
13787
  *)
 
13788
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13789
for as_dir in $PATH
 
13790
do
 
13791
  IFS=$as_save_IFS
 
13792
  test -z "$as_dir" && as_dir=.
 
13793
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13794
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13795
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
13796
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13797
    break 2
 
13798
  fi
 
13799
done
 
13800
  done
 
13801
IFS=$as_save_IFS
 
13802
 
 
13803
  ;;
 
13804
esac
 
13805
fi
 
13806
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
13807
if test -n "$INTLTOOL_UPDATE"; then
 
13808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
13809
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
13810
else
 
13811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13812
$as_echo "no" >&6; }
 
13813
fi
 
13814
 
 
13815
 
 
13816
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
13817
set dummy intltool-merge; ac_word=$2
 
13818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13819
$as_echo_n "checking for $ac_word... " >&6; }
 
13820
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
13821
  $as_echo_n "(cached) " >&6
 
13822
else
 
13823
  case $INTLTOOL_MERGE in
 
13824
  [\\/]* | ?:[\\/]*)
 
13825
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
13826
  ;;
 
13827
  *)
 
13828
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13829
for as_dir in $PATH
 
13830
do
 
13831
  IFS=$as_save_IFS
 
13832
  test -z "$as_dir" && as_dir=.
 
13833
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13834
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13835
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
13836
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13837
    break 2
 
13838
  fi
 
13839
done
 
13840
  done
 
13841
IFS=$as_save_IFS
 
13842
 
 
13843
  ;;
 
13844
esac
 
13845
fi
 
13846
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
13847
if test -n "$INTLTOOL_MERGE"; then
 
13848
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
13849
$as_echo "$INTLTOOL_MERGE" >&6; }
 
13850
else
 
13851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13852
$as_echo "no" >&6; }
 
13853
fi
 
13854
 
 
13855
 
 
13856
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
13857
set dummy intltool-extract; ac_word=$2
 
13858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13859
$as_echo_n "checking for $ac_word... " >&6; }
 
13860
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
13861
  $as_echo_n "(cached) " >&6
 
13862
else
 
13863
  case $INTLTOOL_EXTRACT in
 
13864
  [\\/]* | ?:[\\/]*)
 
13865
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
13866
  ;;
 
13867
  *)
 
13868
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13869
for as_dir in $PATH
 
13870
do
 
13871
  IFS=$as_save_IFS
 
13872
  test -z "$as_dir" && as_dir=.
 
13873
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13875
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
13876
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13877
    break 2
 
13878
  fi
 
13879
done
 
13880
  done
 
13881
IFS=$as_save_IFS
 
13882
 
 
13883
  ;;
 
13884
esac
 
13885
fi
 
13886
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
13887
if test -n "$INTLTOOL_EXTRACT"; then
 
13888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
13889
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
13890
else
 
13891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13892
$as_echo "no" >&6; }
 
13893
fi
 
13894
 
 
13895
 
 
13896
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
13897
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
13898
fi
 
13899
 
 
13900
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13901
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13902
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13903
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13904
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
13905
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13906
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13907
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13908
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13909
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13910
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13911
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
13912
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13913
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13914
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13915
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13916
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13917
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13918
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
13919
 
 
13920
 
 
13921
 
 
13922
 
 
13923
 
 
13924
 
 
13925
 
 
13926
 
 
13927
 
 
13928
 
 
13929
 
 
13930
 
 
13931
 
 
13932
 
 
13933
 
 
13934
 
 
13935
 
 
13936
 
 
13937
 
 
13938
 
 
13939
 
 
13940
 
 
13941
 
 
13942
 
 
13943
 
 
13944
 
 
13945
 
 
13946
 
 
13947
 
 
13948
 
 
13949
 
 
13950
 
 
13951
 
 
13952
 
 
13953
 
 
13954
 
 
13955
 
 
13956
 
 
13957
 
 
13958
 
 
13959
 
 
13960
 
 
13961
 
 
13962
 
 
13963
 
 
13964
 
 
13965
 
 
13966
 
 
13967
 
 
13968
 
 
13969
 
 
13970
 
 
13971
 
 
13972
 
 
13973
 
 
13974
 
 
13975
 
 
13976
 
 
13977
 
 
13978
 
 
13979
 
 
13980
 
 
13981
 
 
13982
 
 
13983
 
 
13984
 
 
13985
 
 
13986
 
 
13987
 
 
13988
 
 
13989
 
 
13990
 
 
13991
 
 
13992
 
 
13993
 
 
13994
 
 
13995
 
 
13996
 
 
13997
 
 
13998
 
 
13999
 
 
14000
 
 
14001
 
 
14002
 
 
14003
 
 
14004
 
 
14005
 
 
14006
 
 
14007
 
 
14008
 
 
14009
 
 
14010
 
 
14011
 
 
14012
 
 
14013
 
 
14014
 
 
14015
 
 
14016
# Check the gettext tools to make sure they are GNU
 
14017
# Extract the first word of "xgettext", so it can be a program name with args.
 
14018
set dummy xgettext; ac_word=$2
 
14019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14020
$as_echo_n "checking for $ac_word... " >&6; }
 
14021
if ${ac_cv_path_XGETTEXT+:} false; then :
 
14022
  $as_echo_n "(cached) " >&6
 
14023
else
 
14024
  case $XGETTEXT in
 
14025
  [\\/]* | ?:[\\/]*)
 
14026
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
14027
  ;;
 
14028
  *)
 
14029
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14030
for as_dir in $PATH
 
14031
do
 
14032
  IFS=$as_save_IFS
 
14033
  test -z "$as_dir" && as_dir=.
 
14034
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14035
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14036
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
14037
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14038
    break 2
 
14039
  fi
 
14040
done
 
14041
  done
 
14042
IFS=$as_save_IFS
 
14043
 
 
14044
  ;;
 
14045
esac
 
14046
fi
 
14047
XGETTEXT=$ac_cv_path_XGETTEXT
 
14048
if test -n "$XGETTEXT"; then
 
14049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
14050
$as_echo "$XGETTEXT" >&6; }
 
14051
else
 
14052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14053
$as_echo "no" >&6; }
 
14054
fi
 
14055
 
 
14056
 
 
14057
# Extract the first word of "msgmerge", so it can be a program name with args.
 
14058
set dummy msgmerge; ac_word=$2
 
14059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14060
$as_echo_n "checking for $ac_word... " >&6; }
 
14061
if ${ac_cv_path_MSGMERGE+:} false; then :
 
14062
  $as_echo_n "(cached) " >&6
 
14063
else
 
14064
  case $MSGMERGE in
 
14065
  [\\/]* | ?:[\\/]*)
 
14066
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
14067
  ;;
 
14068
  *)
 
14069
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14070
for as_dir in $PATH
 
14071
do
 
14072
  IFS=$as_save_IFS
 
14073
  test -z "$as_dir" && as_dir=.
 
14074
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14076
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
14077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14078
    break 2
 
14079
  fi
 
14080
done
 
14081
  done
 
14082
IFS=$as_save_IFS
 
14083
 
 
14084
  ;;
 
14085
esac
 
14086
fi
 
14087
MSGMERGE=$ac_cv_path_MSGMERGE
 
14088
if test -n "$MSGMERGE"; then
 
14089
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
14090
$as_echo "$MSGMERGE" >&6; }
 
14091
else
 
14092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14093
$as_echo "no" >&6; }
 
14094
fi
 
14095
 
 
14096
 
 
14097
# Extract the first word of "msgfmt", so it can be a program name with args.
 
14098
set dummy msgfmt; ac_word=$2
 
14099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14100
$as_echo_n "checking for $ac_word... " >&6; }
 
14101
if ${ac_cv_path_MSGFMT+:} false; then :
 
14102
  $as_echo_n "(cached) " >&6
 
14103
else
 
14104
  case $MSGFMT in
 
14105
  [\\/]* | ?:[\\/]*)
 
14106
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
14107
  ;;
 
14108
  *)
 
14109
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14110
for as_dir in $PATH
 
14111
do
 
14112
  IFS=$as_save_IFS
 
14113
  test -z "$as_dir" && as_dir=.
 
14114
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14115
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14116
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
14117
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14118
    break 2
 
14119
  fi
 
14120
done
 
14121
  done
 
14122
IFS=$as_save_IFS
 
14123
 
 
14124
  ;;
 
14125
esac
 
14126
fi
 
14127
MSGFMT=$ac_cv_path_MSGFMT
 
14128
if test -n "$MSGFMT"; then
 
14129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
14130
$as_echo "$MSGFMT" >&6; }
 
14131
else
 
14132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14133
$as_echo "no" >&6; }
 
14134
fi
 
14135
 
 
14136
 
 
14137
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
14138
set dummy gmsgfmt; ac_word=$2
 
14139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14140
$as_echo_n "checking for $ac_word... " >&6; }
 
14141
if ${ac_cv_path_GMSGFMT+:} false; then :
 
14142
  $as_echo_n "(cached) " >&6
 
14143
else
 
14144
  case $GMSGFMT in
 
14145
  [\\/]* | ?:[\\/]*)
 
14146
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
14147
  ;;
 
14148
  *)
 
14149
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14150
for as_dir in $PATH
 
14151
do
 
14152
  IFS=$as_save_IFS
 
14153
  test -z "$as_dir" && as_dir=.
 
14154
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14155
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14156
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
14157
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14158
    break 2
 
14159
  fi
 
14160
done
 
14161
  done
 
14162
IFS=$as_save_IFS
 
14163
 
 
14164
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
14165
  ;;
 
14166
esac
 
14167
fi
 
14168
GMSGFMT=$ac_cv_path_GMSGFMT
 
14169
if test -n "$GMSGFMT"; then
 
14170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
14171
$as_echo "$GMSGFMT" >&6; }
 
14172
else
 
14173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14174
$as_echo "no" >&6; }
 
14175
fi
 
14176
 
 
14177
 
 
14178
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
14179
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
14180
fi
 
14181
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
14182
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
14183
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
14184
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
14185
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
14186
fi
 
14187
 
 
14188
# Extract the first word of "perl", so it can be a program name with args.
 
14189
set dummy perl; ac_word=$2
 
14190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14191
$as_echo_n "checking for $ac_word... " >&6; }
 
14192
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
14193
  $as_echo_n "(cached) " >&6
 
14194
else
 
14195
  case $INTLTOOL_PERL in
 
14196
  [\\/]* | ?:[\\/]*)
 
14197
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
14198
  ;;
 
14199
  *)
 
14200
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14201
for as_dir in $PATH
 
14202
do
 
14203
  IFS=$as_save_IFS
 
14204
  test -z "$as_dir" && as_dir=.
 
14205
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14207
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
14208
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14209
    break 2
 
14210
  fi
 
14211
done
 
14212
  done
 
14213
IFS=$as_save_IFS
 
14214
 
 
14215
  ;;
 
14216
esac
 
14217
fi
 
14218
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
14219
if test -n "$INTLTOOL_PERL"; then
 
14220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
14221
$as_echo "$INTLTOOL_PERL" >&6; }
 
14222
else
 
14223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14224
$as_echo "no" >&6; }
 
14225
fi
 
14226
 
 
14227
 
 
14228
if test -z "$INTLTOOL_PERL"; then
 
14229
   as_fn_error $? "perl not found" "$LINENO" 5
 
14230
fi
 
14231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
14232
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
14233
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
14234
if test $? -ne 0; then
 
14235
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
14236
else
 
14237
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
14238
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
14239
$as_echo "$IT_PERL_VERSION" >&6; }
 
14240
fi
 
14241
if test "x" != "xno-xml"; then
 
14242
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
14243
$as_echo_n "checking for XML::Parser... " >&6; }
 
14244
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
14245
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
14246
$as_echo "ok" >&6; }
13799
14247
   else
13800
 
     posrcprefix="../"
 
14248
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13801
14249
   fi
13802
 
   rm -f po/POTFILES
13803
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13804
 
        < $srcdir/po/POTFILES.in > po/POTFILES
 
14250
fi
 
14251
 
 
14252
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
14253
 
 
14254
 
 
14255
# Set DATADIRNAME correctly if it is not set yet
 
14256
# (copied from glib-gettext.m4)
 
14257
if test -z "$DATADIRNAME"; then
 
14258
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14259
/* end confdefs.h.  */
 
14260
 
 
14261
int
 
14262
main ()
 
14263
{
 
14264
extern int _nl_msg_cat_cntr;
 
14265
                       return _nl_msg_cat_cntr
 
14266
  ;
 
14267
  return 0;
 
14268
}
 
14269
_ACEOF
 
14270
if ac_fn_c_try_link "$LINENO"; then :
 
14271
  DATADIRNAME=share
 
14272
else
 
14273
  case $host in
 
14274
    *-*-solaris*)
 
14275
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14276
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14277
  DATADIRNAME=share
 
14278
else
 
14279
  DATADIRNAME=lib
 
14280
fi
 
14281
 
 
14282
    ;;
 
14283
    *)
 
14284
    DATADIRNAME=lib
 
14285
    ;;
 
14286
    esac
 
14287
fi
 
14288
rm -f core conftest.err conftest.$ac_objext \
 
14289
    conftest$ac_exeext conftest.$ac_ext
 
14290
fi
 
14291
 
 
14292
 
 
14293
 
 
14294
 
13805
14295
 
13806
14296
 
13807
14297
 
14079
14569
if test "${enable_maintainer_flags+set}" = set; then :
14080
14570
  enableval=$enable_maintainer_flags;
14081
14571
else
14082
 
  enable_maintainer_flags=no
 
14572
  enable_maintainer_flags=yes
14083
14573
fi
14084
14574
 
14085
14575
MAINTAINER_CFLAGS=""
14086
14576
MAINTAINER_VALAFLAGS=""
14087
14577
if test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"; then :
14088
14578
 
14089
 
        MAINTAINER_CFLAGS="-g -Wall -Werror -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self"
 
14579
        MAINTAINER_CFLAGS="-g -Wall -Werror -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Wno-unused-but-set-variable -Wno-unused-variable -Wno-error"
14090
14580
        MAINTAINER_VALAFLAGS="-g --save-temps"
14091
14581
 
14092
14582
 
14112
14602
 
14113
14603
 
14114
14604
GLIB_REQUIRED=2.26
14115
 
GTK_REQUIRED=3.0
14116
 
GDK_REQUIRED=3.0
 
14605
GTK_REQUIRED=3.2
 
14606
GDK_REQUIRED=3.2
14117
14607
DEE_REQUIRED=0.5.19
14118
14608
DBUSMENU_REQUIRED=0.4
14119
14609
INDICATE_REQUIRED=0.5
14574
15064
fi
14575
15065
 
14576
15066
 
14577
 
 if `$PKG_CONFIG --atleast-version=3.1 gtk+-3.0`; then
14578
 
  GTK31_TRUE=
14579
 
  GTK31_FALSE='#'
14580
 
else
14581
 
  GTK31_TRUE='#'
14582
 
  GTK31_FALSE=
14583
 
fi
14584
 
 
14585
 
 
14586
15067
with_localinstall="no"
14587
15068
# Check whether --enable-localinstall was given.
14588
15069
if test "${enable_localinstall+set}" = set; then :
14730
15211
 
14731
15212
fi
14732
15213
 
14733
 
ac_config_files="$ac_config_files Makefile man/Makefile gwibber/Makefile gwibber/lib/Makefile gwibber/lib/gtk/Makefile gwibber/microblog/Makefile gwibber/microblog/util/Makefile gwibber/microblog/util/const.py gwibber/microblog/uploader/Makefile gwibber/microblog/uploader/imageshack/Makefile gwibber/microblog/uploader/ubuntuone_uploader/Makefile gwibber/microblog/urlshorter/Makefile gwibber/microblog/plugins/Makefile gwibber/microblog/plugins/buzz/Makefile gwibber/microblog/plugins/buzz/gtk/Makefile gwibber/microblog/plugins/buzz/gtk/buzz/Makefile gwibber/microblog/plugins/buzz/ui/Makefile gwibber/microblog/plugins/buzz/ui/icons/Makefile gwibber/microblog/plugins/buzz/ui/icons/16x16/Makefile gwibber/microblog/plugins/buzz/ui/icons/22x22/Makefile gwibber/microblog/plugins/buzz/ui/icons/32x32/Makefile gwibber/microblog/plugins/digg/Makefile gwibber/microblog/plugins/digg/gtk/Makefile gwibber/microblog/plugins/digg/gtk/digg/Makefile gwibber/microblog/plugins/digg/ui/Makefile gwibber/microblog/plugins/facebook/Makefile gwibber/microblog/plugins/facebook/gtk/Makefile gwibber/microblog/plugins/facebook/gtk/facebook/Makefile gwibber/microblog/plugins/facebook/ui/Makefile gwibber/microblog/plugins/flickr/Makefile gwibber/microblog/plugins/flickr/gtk/Makefile gwibber/microblog/plugins/flickr/gtk/flickr/Makefile gwibber/microblog/plugins/flickr/ui/Makefile gwibber/microblog/plugins/foursquare/Makefile gwibber/microblog/plugins/foursquare/gtk/Makefile gwibber/microblog/plugins/foursquare/gtk/foursquare/Makefile gwibber/microblog/plugins/foursquare/ui/Makefile gwibber/microblog/plugins/foursquare/ui/icons/Makefile gwibber/microblog/plugins/foursquare/ui/icons/16x16/Makefile gwibber/microblog/plugins/foursquare/ui/icons/22x22/Makefile gwibber/microblog/plugins/foursquare/ui/icons/32x32/Makefile gwibber/microblog/plugins/friendfeed/Makefile gwibber/microblog/plugins/friendfeed/gtk/Makefile gwibber/microblog/plugins/friendfeed/gtk/friendfeed/Makefile gwibber/microblog/plugins/friendfeed/ui/Makefile gwibber/microblog/plugins/identica/Makefile gwibber/microblog/plugins/identica/gtk/Makefile gwibber/microblog/plugins/identica/gtk/identica/Makefile gwibber/microblog/plugins/identica/ui/Makefile gwibber/microblog/plugins/pingfm/Makefile gwibber/microblog/plugins/pingfm/gtk/Makefile gwibber/microblog/plugins/pingfm/gtk/pingfm/Makefile gwibber/microblog/plugins/pingfm/ui/Makefile gwibber/microblog/plugins/qaiku/Makefile gwibber/microblog/plugins/qaiku/gtk/Makefile gwibber/microblog/plugins/qaiku/gtk/qaiku/Makefile gwibber/microblog/plugins/qaiku/ui/Makefile gwibber/microblog/plugins/statusnet/Makefile gwibber/microblog/plugins/statusnet/gtk/Makefile gwibber/microblog/plugins/statusnet/gtk/statusnet/Makefile gwibber/microblog/plugins/statusnet/ui/Makefile gwibber/microblog/plugins/twitter/Makefile gwibber/microblog/plugins/twitter/gtk/Makefile gwibber/microblog/plugins/twitter/gtk/twitter/Makefile gwibber/microblog/plugins/twitter/ui/Makefile data/Makefile data/icons/Makefile data/icons/breakdance/Makefile data/icons/breakdance/16x16/Makefile data/icons/breakdance/22x22/Makefile data/icons/breakdance/32x32/Makefile data/icons/breakdance/scalable/Makefile data/icons/streams/Makefile data/icons/streams/16x16/Makefile data/icons/streams/24x24/Makefile data/icons/streams/32x32/Makefile data/icons/scalable/apps/Makefile data/icons/16x16/apps/Makefile data/icons/24x24/apps/Makefile data/icons/32x32/apps/Makefile data/icons/48x48/apps/Makefile data/icons/256x256/apps/Makefile data/icons/scalable/Makefile data/icons/16x16/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/gwibber.desktop.in data/org.gwibber.gschema.xml.in libgwibber/Makefile libgwibber-gtk/Makefile vapi/Makefile po/Makefile.in gwibber-$GWIBBER_API_VERSION.pc gwibber-gtk-$GWIBBER_API_VERSION.pc lens/Makefile lens/src/Makefile lens/data/Makefile lens/data/gwibber.lens.in client/Makefile bin/Makefile"
 
15214
ac_config_files="$ac_config_files Makefile man/Makefile gwibber/Makefile gwibber/lib/Makefile gwibber/lib/gtk/Makefile gwibber/microblog/Makefile gwibber/microblog/util/Makefile gwibber/microblog/util/const.py gwibber/microblog/uploader/Makefile gwibber/microblog/uploader/imageshack/Makefile gwibber/microblog/uploader/ubuntuone_uploader/Makefile gwibber/microblog/urlshorter/Makefile gwibber/microblog/plugins/Makefile gwibber/microblog/plugins/buzz/Makefile gwibber/microblog/plugins/buzz/gtk/Makefile gwibber/microblog/plugins/buzz/gtk/buzz/Makefile gwibber/microblog/plugins/buzz/ui/Makefile gwibber/microblog/plugins/buzz/ui/icons/Makefile gwibber/microblog/plugins/buzz/ui/icons/16x16/Makefile gwibber/microblog/plugins/buzz/ui/icons/22x22/Makefile gwibber/microblog/plugins/buzz/ui/icons/32x32/Makefile gwibber/microblog/plugins/digg/Makefile gwibber/microblog/plugins/digg/gtk/Makefile gwibber/microblog/plugins/digg/gtk/digg/Makefile gwibber/microblog/plugins/digg/ui/Makefile gwibber/microblog/plugins/facebook/Makefile gwibber/microblog/plugins/facebook/gtk/Makefile gwibber/microblog/plugins/facebook/gtk/facebook/Makefile gwibber/microblog/plugins/facebook/ui/Makefile gwibber/microblog/plugins/flickr/Makefile gwibber/microblog/plugins/flickr/gtk/Makefile gwibber/microblog/plugins/flickr/gtk/flickr/Makefile gwibber/microblog/plugins/flickr/ui/Makefile gwibber/microblog/plugins/foursquare/Makefile gwibber/microblog/plugins/foursquare/gtk/Makefile gwibber/microblog/plugins/foursquare/gtk/foursquare/Makefile gwibber/microblog/plugins/foursquare/ui/Makefile gwibber/microblog/plugins/foursquare/ui/icons/Makefile gwibber/microblog/plugins/foursquare/ui/icons/16x16/Makefile gwibber/microblog/plugins/foursquare/ui/icons/22x22/Makefile gwibber/microblog/plugins/foursquare/ui/icons/32x32/Makefile gwibber/microblog/plugins/friendfeed/Makefile gwibber/microblog/plugins/friendfeed/gtk/Makefile gwibber/microblog/plugins/friendfeed/gtk/friendfeed/Makefile gwibber/microblog/plugins/friendfeed/ui/Makefile gwibber/microblog/plugins/identica/Makefile gwibber/microblog/plugins/identica/gtk/Makefile gwibber/microblog/plugins/identica/gtk/identica/Makefile gwibber/microblog/plugins/identica/ui/Makefile gwibber/microblog/plugins/pingfm/Makefile gwibber/microblog/plugins/pingfm/gtk/Makefile gwibber/microblog/plugins/pingfm/gtk/pingfm/Makefile gwibber/microblog/plugins/pingfm/ui/Makefile gwibber/microblog/plugins/qaiku/Makefile gwibber/microblog/plugins/qaiku/gtk/Makefile gwibber/microblog/plugins/qaiku/gtk/qaiku/Makefile gwibber/microblog/plugins/qaiku/ui/Makefile gwibber/microblog/plugins/statusnet/Makefile gwibber/microblog/plugins/statusnet/gtk/Makefile gwibber/microblog/plugins/statusnet/gtk/statusnet/Makefile gwibber/microblog/plugins/statusnet/ui/Makefile gwibber/microblog/plugins/twitter/Makefile gwibber/microblog/plugins/twitter/gtk/Makefile gwibber/microblog/plugins/twitter/gtk/twitter/Makefile gwibber/microblog/plugins/twitter/ui/Makefile data/Makefile data/icons/Makefile data/icons/breakdance/Makefile data/icons/breakdance/16x16/Makefile data/icons/breakdance/22x22/Makefile data/icons/breakdance/32x32/Makefile data/icons/breakdance/scalable/Makefile data/icons/streams/Makefile data/icons/streams/16x16/Makefile data/icons/streams/24x24/Makefile data/icons/streams/32x32/Makefile data/icons/scalable/apps/Makefile data/icons/16x16/apps/Makefile data/icons/24x24/apps/Makefile data/icons/32x32/apps/Makefile data/icons/48x48/apps/Makefile data/icons/256x256/apps/Makefile data/icons/scalable/Makefile data/icons/16x16/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/gwibber.desktop.in data/org.gwibber.gschema.xml.in libgwibber/Makefile libgwibber-gtk/Makefile vapi/Makefile po/Makefile.in gwibber-$GWIBBER_API_VERSION.pc gwibber-gtk-$GWIBBER_API_VERSION.pc lens/Makefile lens/src/Makefile lens/data/Makefile lens/data/gwibber.lens.in client/Makefile bin/Makefile test/Makefile test/vala/Makefile"
14734
15215
 
14735
15216
cat >confcache <<\_ACEOF
14736
15217
# This file is a shell script that caches the results of configure
14865
15346
  ac_config_commands="$ac_config_commands po/stamp-it"
14866
15347
 
14867
15348
 
14868
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14869
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14870
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14871
 
fi
14872
15349
if test -z "${HAVE_GTKSPELL_TRUE}" && test -z "${HAVE_GTKSPELL_FALSE}"; then
14873
15350
  as_fn_error $? "conditional \"HAVE_GTKSPELL\" was never defined.
14874
15351
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14881
15358
  as_fn_error $? "conditional \"INTROSPECTION_TEN\" was never defined.
14882
15359
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14883
15360
fi
14884
 
if test -z "${GTK31_TRUE}" && test -z "${GTK31_FALSE}"; then
14885
 
  as_fn_error $? "conditional \"GTK31\" was never defined.
14886
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14887
 
fi
14888
15361
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then
14889
15362
  as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined.
14890
15363
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15302
15775
# report actual input values of CONFIG_FILES etc. instead of their
15303
15776
# values after options handling.
15304
15777
ac_log="
15305
 
This file was extended by gwibber $as_me 3.2.1, which was
 
15778
This file was extended by gwibber $as_me 3.3.1, which was
15306
15779
generated by GNU Autoconf 2.68.  Invocation command line was
15307
15780
 
15308
15781
  CONFIG_FILES    = $CONFIG_FILES
15368
15841
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15369
15842
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15370
15843
ac_cs_version="\\
15371
 
gwibber config.status 3.2.1
 
15844
gwibber config.status 3.3.1
15372
15845
configured by $0, generated by GNU Autoconf 2.68,
15373
15846
  with options \\"\$ac_cs_config\\"
15374
15847
 
15505
15978
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15506
15979
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15507
15980
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15981
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15508
15982
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15509
15983
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15510
15984
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15587
16061
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15588
16062
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15589
16063
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15590
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15591
16064
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15592
16065
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15593
16066
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15643
16116
# Quote evaled strings.
15644
16117
for var in SHELL \
15645
16118
ECHO \
 
16119
PATH_SEPARATOR \
15646
16120
SED \
15647
16121
GREP \
15648
16122
EGREP \
15693
16167
allow_undefined_flag \
15694
16168
no_undefined_flag \
15695
16169
hardcode_libdir_flag_spec \
15696
 
hardcode_libdir_flag_spec_ld \
15697
16170
hardcode_libdir_separator \
15698
16171
exclude_expsyms \
15699
16172
include_expsyms \
15765
16238
 
15766
16239
 
15767
16240
 
 
16241
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
16242
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
16243
    # from automake < 1.5.
 
16244
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
16245
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
16246
    LINGUAS="${LINGUAS-%UNSET%}"
15768
16247
 
15769
16248
 
15770
16249
_ACEOF
15778
16257
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15779
16258
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15780
16259
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15781
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
16260
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
15782
16261
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15783
16262
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15784
16263
    "gwibber/Makefile") CONFIG_FILES="$CONFIG_FILES gwibber/Makefile" ;;
15881
16360
    "lens/data/gwibber.lens.in") CONFIG_FILES="$CONFIG_FILES lens/data/gwibber.lens.in" ;;
15882
16361
    "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
15883
16362
    "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
 
16363
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
16364
    "test/vala/Makefile") CONFIG_FILES="$CONFIG_FILES test/vala/Makefile" ;;
15884
16365
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15885
16366
 
15886
16367
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16593
17074
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16594
17075
#
16595
17076
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16596
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16597
 
#                 Inc.
 
17077
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
17078
#                 Foundation, Inc.
16598
17079
#   Written by Gordon Matzigkeit, 1996
16599
17080
#
16600
17081
#   This file is part of GNU Libtool.
16648
17129
# An echo program that protects backslashes.
16649
17130
ECHO=$lt_ECHO
16650
17131
 
 
17132
# The PATH separator for the build system.
 
17133
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
17134
 
16651
17135
# The host system.
16652
17136
host_alias=$host_alias
16653
17137
host=$host
16949
17433
# This must work even if \$libdir does not exist
16950
17434
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16951
17435
 
16952
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
16953
 
# during linking.  This must work even if \$libdir does not exist.
16954
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16955
 
 
16956
17436
# Whether we need a single "-rpath" flag with a separated argument.
16957
17437
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16958
17438
 
17203
17683
  chmod +x "$ofile"
17204
17684
 
17205
17685
 ;;
17206
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17207
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17208
 
      esac ;;
 
17686
    "po-directories":C)
 
17687
    for ac_file in $CONFIG_FILES; do
 
17688
      # Support "outfile[:infile[:infile...]]"
 
17689
      case "$ac_file" in
 
17690
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
17691
      esac
 
17692
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
17693
      case "$ac_file" in */Makefile.in)
 
17694
        # Adjust a relative srcdir.
 
17695
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
17696
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
17697
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
17698
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
17699
        # In autoconf-2.50 it is called $srcdir.
 
17700
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
17701
        case "$ac_given_srcdir" in
 
17702
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
17703
          /*) top_srcdir="$ac_given_srcdir" ;;
 
17704
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
17705
        esac
 
17706
        # Treat a directory as a PO directory if and only if it has a
 
17707
        # POTFILES.in file. This allows packages to have multiple PO
 
17708
        # directories under different names or in different locations.
 
17709
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
17710
          rm -f "$ac_dir/POTFILES"
 
17711
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
17712
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
17713
          POMAKEFILEDEPS="POTFILES.in"
 
17714
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
17715
          # on $ac_dir but don't depend on user-specified configuration
 
17716
          # parameters.
 
17717
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
17718
            # The LINGUAS file contains the set of available languages.
 
17719
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
17720
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
17721
            fi
 
17722
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
17723
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
17724
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
17725
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
17726
          else
 
17727
            # The set of available languages was given in configure.in.
 
17728
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
17729
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
17730
          fi
 
17731
          # Compute POFILES
 
17732
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
17733
          # Compute UPDATEPOFILES
 
17734
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
17735
          # Compute DUMMYPOFILES
 
17736
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
17737
          # Compute GMOFILES
 
17738
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
17739
          case "$ac_given_srcdir" in
 
17740
            .) srcdirpre= ;;
 
17741
            *) srcdirpre='$(srcdir)/' ;;
 
17742
          esac
 
17743
          POFILES=
 
17744
          UPDATEPOFILES=
 
17745
          DUMMYPOFILES=
 
17746
          GMOFILES=
 
17747
          for lang in $ALL_LINGUAS; do
 
17748
            POFILES="$POFILES $srcdirpre$lang.po"
 
17749
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
17750
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
17751
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
17752
          done
 
17753
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
17754
          # environment variable.
 
17755
          INST_LINGUAS=
 
17756
          if test -n "$ALL_LINGUAS"; then
 
17757
            for presentlang in $ALL_LINGUAS; do
 
17758
              useit=no
 
17759
              if test "%UNSET%" != "$LINGUAS"; then
 
17760
                desiredlanguages="$LINGUAS"
 
17761
              else
 
17762
                desiredlanguages="$ALL_LINGUAS"
 
17763
              fi
 
17764
              for desiredlang in $desiredlanguages; do
 
17765
                # Use the presentlang catalog if desiredlang is
 
17766
                #   a. equal to presentlang, or
 
17767
                #   b. a variant of presentlang (because in this case,
 
17768
                #      presentlang can be used as a fallback for messages
 
17769
                #      which are not translated in the desiredlang catalog).
 
17770
                case "$desiredlang" in
 
17771
                  "$presentlang"*) useit=yes;;
 
17772
                esac
 
17773
              done
 
17774
              if test $useit = yes; then
 
17775
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
17776
              fi
 
17777
            done
 
17778
          fi
 
17779
          CATALOGS=
 
17780
          if test -n "$INST_LINGUAS"; then
 
17781
            for lang in $INST_LINGUAS; do
 
17782
              CATALOGS="$CATALOGS $lang.gmo"
 
17783
            done
 
17784
          fi
 
17785
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
17786
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
17787
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
17788
            if test -f "$f"; then
 
17789
              case "$f" in
 
17790
                *.orig | *.bak | *~) ;;
 
17791
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
17792
              esac
 
17793
            fi
 
17794
          done
 
17795
        fi
 
17796
        ;;
 
17797
      esac
 
17798
    done ;;
17209
17799
    "po/stamp-it":C)
17210
17800
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17211
17801
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5