~ubuntu-branches/ubuntu/oneiric/gtkhtml3.14/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-01-25 16:47:41 UTC
  • mfrom: (1.6.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100125164741-0yjpj0hijgo8a8k2
Tags: 1:3.29.6.is.3.28.2-0ubuntu1
* Revert upload as incompatible with evolution 2.28
* drop << in debian/libgtkhtml3.14-19.shlibs and
  debian/libgtkhtml3.14-19.shlibs
* take debian/patches/01_use_gtk_widget_is_toplevel.patch from
  upstream to build with gtk > 2.18

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.63 for gtkhtml 3.29.6.
 
3
# Generated by GNU Autoconf 2.63 for gtkhtml 3.28.2.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml>.
6
6
#
745
745
# Identity of this package.
746
746
PACKAGE_NAME='gtkhtml'
747
747
PACKAGE_TARNAME='gtkhtml'
748
 
PACKAGE_VERSION='3.29.6'
749
 
PACKAGE_STRING='gtkhtml 3.29.6'
 
748
PACKAGE_VERSION='3.28.2'
 
749
PACKAGE_STRING='gtkhtml 3.28.2'
750
750
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml'
751
751
 
752
752
ac_unique_file="README"
819
819
GAIL_LIBS
820
820
GAIL_CFLAGS
821
821
PKG_CONFIG
 
822
MKINSTALLDIRS
 
823
POSUB
 
824
POFILES
 
825
PO_IN_DATADIR_FALSE
 
826
PO_IN_DATADIR_TRUE
 
827
INTLLIBS
 
828
INSTOBJEXT
 
829
GMOFILES
 
830
CATOBJEXT
 
831
CATALOGS
 
832
MSGFMT_OPTS
822
833
SOEXT
823
834
OS_WIN32_FALSE
824
835
OS_WIN32_TRUE
825
836
GLIB_GENMARSHAL
 
837
LTCXXCOMPILE
 
838
LTCOMPILE
 
839
DOLT_BASH
826
840
CXXCPP
827
841
OTOOL64
828
842
OTOOL
830
844
NMEDIT
831
845
DSYMUTIL
832
846
lt_ECHO
833
 
RANLIB
834
847
AR
835
848
LN_S
836
849
NM
839
852
LD
840
853
FGREP
841
854
SED
 
855
LIBTOOL
 
856
OBJDUMP
 
857
DLLTOOL
 
858
AS
842
859
host_os
843
860
host_vendor
844
861
host_cpu
847
864
build_vendor
848
865
build_cpu
849
866
build
850
 
LIBTOOL
851
 
OBJDUMP
852
 
DLLTOOL
853
 
AS
854
 
LIBOBJS
855
 
ALLOCA
 
867
RANLIB
856
868
am__fastdepCXX_FALSE
857
869
am__fastdepCXX_TRUE
858
870
CXXDEPMODE
859
871
ac_ct_CXX
860
872
CXXFLAGS
861
873
CXX
862
 
WARNING_FLAGS
863
 
MKINSTALLDIRS
864
 
POSUB
865
 
POFILES
866
 
PO_IN_DATADIR_FALSE
867
 
PO_IN_DATADIR_TRUE
868
 
INTLLIBS
869
 
INSTOBJEXT
870
 
GMOFILES
871
 
CATOBJEXT
872
 
CATALOGS
873
 
MSGFMT_OPTS
 
874
LIBOBJS
874
875
EGREP
875
876
GREP
876
877
CPP
 
878
ALLOCA
 
879
WARNING_FLAGS
877
880
DATADIRNAME
878
881
am__fastdepCC_FALSE
879
882
am__fastdepCC_TRUE
997
1000
enable_maintainer_mode
998
1001
enable_nls
999
1002
enable_dependency_tracking
 
1003
enable_shared
1000
1004
enable_static
1001
 
enable_shared
1002
1005
with_pic
1003
1006
enable_fast_install
1004
1007
with_gnu_ld
1584
1587
  # Omit some internal or obsolete options to make the list less imposing.
1585
1588
  # This message is too long to be a string in the A/UX 3.1 sh.
1586
1589
  cat <<_ACEOF
1587
 
\`configure' configures gtkhtml 3.29.6 to adapt to many kinds of systems.
 
1590
\`configure' configures gtkhtml 3.28.2 to adapt to many kinds of systems.
1588
1591
 
1589
1592
Usage: $0 [OPTION]... [VAR=VALUE]...
1590
1593
 
1654
1657
 
1655
1658
if test -n "$ac_init_help"; then
1656
1659
  case $ac_init_help in
1657
 
     short | recursive ) echo "Configuration of gtkhtml 3.29.6:";;
 
1660
     short | recursive ) echo "Configuration of gtkhtml 3.28.2:";;
1658
1661
   esac
1659
1662
  cat <<\_ACEOF
1660
1663
 
1669
1672
  --disable-nls           do not use Native Language Support
1670
1673
  --disable-dependency-tracking  speeds up one-time build
1671
1674
  --enable-dependency-tracking   do not reject slow dependency extractors
1672
 
  --enable-static[=PKGS]  build static libraries [default=no]
1673
1675
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1676
  --enable-static[=PKGS]  build static libraries [default=yes]
1674
1677
  --enable-fast-install[=PKGS]
1675
1678
                          optimize for fast installation [default=yes]
1676
1679
  --disable-libtool-lock  avoid locking (might break parallel builds)
1677
 
  --enable-shlib-factory  build editor factory as shared library [default=yes]
 
1680
  --enable-shlib-factory  build editor factory as shared library default=yes
1678
1681
 
1679
1682
Optional Packages:
1680
1683
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1783
1786
test -n "$ac_init_help" && exit $ac_status
1784
1787
if $ac_init_version; then
1785
1788
  cat <<\_ACEOF
1786
 
gtkhtml configure 3.29.6
 
1789
gtkhtml configure 3.28.2
1787
1790
generated by GNU Autoconf 2.63
1788
1791
 
1789
1792
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1797
1800
This file contains any messages produced by compilers while
1798
1801
running configure, to aid debugging if configure makes a mistake.
1799
1802
 
1800
 
It was created by gtkhtml $as_me 3.29.6, which was
 
1803
It was created by gtkhtml $as_me 3.28.2, which was
1801
1804
generated by GNU Autoconf 2.63.  Invocation command line was
1802
1805
 
1803
1806
  $ $0 $@
2646
2649
 
2647
2650
# Define the identity of the package.
2648
2651
 PACKAGE='gtkhtml'
2649
 
 VERSION='3.29.6'
 
2652
 VERSION='3.28.2'
2650
2653
 
2651
2654
 
2652
2655
cat >>confdefs.h <<_ACEOF
2686
2689
 
2687
2690
 
2688
2691
 
2689
 
 
2690
2692
ac_config_headers="$ac_config_headers config.h"
2691
2693
 
2692
2694
 
2693
2695
 
2694
2696
PACKAGE=gtkhtml
2695
2697
 
2696
 
 
 
2698
# Required Package Versions
2697
2699
 
2698
2700
 
2699
2701
 
2733
2735
I18N_LIB_CFLAGS="-DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\\\"${GTKHTML_RELEASE_STRING}\\\""
2734
2736
 
2735
2737
 
 
2738
# Automake 1.11 - Silent Build Rules
2736
2739
# Check whether --enable-silent-rules was given.
2737
2740
if test "${enable_silent_rules+set}" = set; then
2738
2741
  enableval=$enable_silent_rules;
4580
4583
 
4581
4584
 
4582
4585
 
 
4586
 
 
4587
# Compiler Warning Flags
 
4588
 
 
4589
 
 
4590
  list="-DG_DISABLE_DEPRECATED
 
4591
        -DPANGO_DISABLE_DEPRECATED
 
4592
        -DGDK_DISABLE_DEPRECATED
 
4593
        -DGDK_PIXBUF_DISABLE_DEPRECATED
 
4594
        -DGTK_DISABLE_DEPRECATED
 
4595
        -DGNOME_DISABLE_DEPRECATED
 
4596
        -DG_DISABLE_SINGLE_INCLUDES
 
4597
        -DGTK_DISABLE_SINGLE_INCLUDES
 
4598
        -Wall -Wextra
 
4599
        -Wno-missing-field-initializers
 
4600
        -Wno-sign-compare
 
4601
        -Wno-unused-parameter
 
4602
        -Wdeclaration-after-statement
 
4603
        -Werror-implicit-function-declaration
 
4604
        -Wformat-nonliteral -Wformat-security -Winit-self
 
4605
        -Wmissing-declarations -Wmissing-include-dirs
 
4606
        -Wmissing-noreturn -Wnested-externs -Wpointer-arith
 
4607
        -Wredundant-decls -Wundef -Wwrite-strings"
 
4608
  flags_supported=""
 
4609
  flags_unsupported=""
 
4610
  { $as_echo "$as_me:$LINENO: checking for supported compiler flags" >&5
 
4611
$as_echo_n "checking for supported compiler flags... " >&6; }
 
4612
  for each in $list
 
4613
  do
 
4614
    save_CFLAGS="$CFLAGS"
 
4615
    CFLAGS="$CFLAGS $each"
 
4616
    cat >conftest.$ac_ext <<_ACEOF
 
4617
/* confdefs.h.  */
 
4618
_ACEOF
 
4619
cat confdefs.h >>conftest.$ac_ext
 
4620
cat >>conftest.$ac_ext <<_ACEOF
 
4621
/* end confdefs.h.  */
 
4622
 
 
4623
int
 
4624
main ()
 
4625
{
 
4626
 
 
4627
  ;
 
4628
  return 0;
 
4629
}
 
4630
_ACEOF
 
4631
rm -f conftest.$ac_objext
 
4632
if { (ac_try="$ac_compile"
 
4633
case "(($ac_try" in
 
4634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4635
  *) ac_try_echo=$ac_try;;
 
4636
esac
 
4637
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4638
$as_echo "$ac_try_echo") >&5
 
4639
  (eval "$ac_compile") 2>conftest.er1
 
4640
  ac_status=$?
 
4641
  grep -v '^ *+' conftest.er1 >conftest.err
 
4642
  rm -f conftest.er1
 
4643
  cat conftest.err >&5
 
4644
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4645
  (exit $ac_status); } && {
 
4646
         test -z "$ac_c_werror_flag" ||
 
4647
         test ! -s conftest.err
 
4648
       } && test -s conftest.$ac_objext; then
 
4649
  flag_ok=yes
 
4650
else
 
4651
  $as_echo "$as_me: failed program was:" >&5
 
4652
sed 's/^/| /' conftest.$ac_ext >&5
 
4653
 
 
4654
        flag_ok=no
 
4655
fi
 
4656
 
 
4657
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4658
    CFLAGS="$save_CFLAGS"
 
4659
 
 
4660
    if test "X$flag_ok" = Xyes ; then
 
4661
      flags_supported="$flags_supported $each"
 
4662
    else
 
4663
      flags_unsupported="$flags_unsupported $each"
 
4664
    fi
 
4665
  done
 
4666
  { $as_echo "$as_me:$LINENO: result: $flags_supported" >&5
 
4667
$as_echo "$flags_supported" >&6; }
 
4668
  if test "X$flags_unsupported" != X ; then
 
4669
    { $as_echo "$as_me:$LINENO: WARNING: unsupported compiler flags: $flags_unsupported" >&5
 
4670
$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
 
4671
  fi
 
4672
  WARNING_FLAGS="$WARNING_FLAGS $flags_supported"
 
4673
 
 
4674
 
 
4675
 
 
4676
# Other useful compiler warnings for test builds only.
 
4677
# These may produce warnings we have no control over.
 
4678
#
 
4679
#       -Wmissing-format-attribute
 
4680
#       -Wshadow
 
4681
 
 
4682
CFLAGS="$CFLAGS $WARNING_FLAGS"
 
4683
 
 
4684
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
4685
$as_echo_n "checking for inline... " >&6; }
 
4686
if test "${ac_cv_c_inline+set}" = set; then
 
4687
  $as_echo_n "(cached) " >&6
 
4688
else
 
4689
  ac_cv_c_inline=no
 
4690
for ac_kw in inline __inline__ __inline; do
 
4691
  cat >conftest.$ac_ext <<_ACEOF
 
4692
/* confdefs.h.  */
 
4693
_ACEOF
 
4694
cat confdefs.h >>conftest.$ac_ext
 
4695
cat >>conftest.$ac_ext <<_ACEOF
 
4696
/* end confdefs.h.  */
 
4697
#ifndef __cplusplus
 
4698
typedef int foo_t;
 
4699
static $ac_kw foo_t static_foo () {return 0; }
 
4700
$ac_kw foo_t foo () {return 0; }
 
4701
#endif
 
4702
 
 
4703
_ACEOF
 
4704
rm -f conftest.$ac_objext
 
4705
if { (ac_try="$ac_compile"
 
4706
case "(($ac_try" in
 
4707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4708
  *) ac_try_echo=$ac_try;;
 
4709
esac
 
4710
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4711
$as_echo "$ac_try_echo") >&5
 
4712
  (eval "$ac_compile") 2>conftest.er1
 
4713
  ac_status=$?
 
4714
  grep -v '^ *+' conftest.er1 >conftest.err
 
4715
  rm -f conftest.er1
 
4716
  cat conftest.err >&5
 
4717
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4718
  (exit $ac_status); } && {
 
4719
         test -z "$ac_c_werror_flag" ||
 
4720
         test ! -s conftest.err
 
4721
       } && test -s conftest.$ac_objext; then
 
4722
  ac_cv_c_inline=$ac_kw
 
4723
else
 
4724
  $as_echo "$as_me: failed program was:" >&5
 
4725
sed 's/^/| /' conftest.$ac_ext >&5
 
4726
 
 
4727
 
 
4728
fi
 
4729
 
 
4730
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4731
  test "$ac_cv_c_inline" != no && break
 
4732
done
 
4733
 
 
4734
fi
 
4735
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
4736
$as_echo "$ac_cv_c_inline" >&6; }
 
4737
 
 
4738
 
 
4739
case $ac_cv_c_inline in
 
4740
  inline | yes) ;;
 
4741
  *)
 
4742
    case $ac_cv_c_inline in
 
4743
      no) ac_val=;;
 
4744
      *) ac_val=$ac_cv_c_inline;;
 
4745
    esac
 
4746
    cat >>confdefs.h <<_ACEOF
 
4747
#ifndef __cplusplus
 
4748
#define inline $ac_val
 
4749
#endif
 
4750
_ACEOF
 
4751
    ;;
 
4752
esac
 
4753
 
4583
4754
ac_ext=c
4584
4755
ac_cpp='$CPP $CPPFLAGS'
4585
4756
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5202
5373
done
5203
5374
 
5204
5375
 
5205
 
 
5206
 
 
5207
 
for ac_header in locale.h
5208
 
do
5209
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5210
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5211
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5212
 
$as_echo_n "checking for $ac_header... " >&6; }
5213
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5214
 
  $as_echo_n "(cached) " >&6
5215
 
fi
5216
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5217
 
                 $as_echo "$as_val"'`
5218
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5219
 
$as_echo "$ac_res" >&6; }
5220
 
else
5221
 
  # Is the header compilable?
5222
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5223
 
$as_echo_n "checking $ac_header usability... " >&6; }
5224
 
cat >conftest.$ac_ext <<_ACEOF
5225
 
/* confdefs.h.  */
5226
 
_ACEOF
5227
 
cat confdefs.h >>conftest.$ac_ext
5228
 
cat >>conftest.$ac_ext <<_ACEOF
5229
 
/* end confdefs.h.  */
5230
 
$ac_includes_default
5231
 
#include <$ac_header>
5232
 
_ACEOF
5233
 
rm -f conftest.$ac_objext
5234
 
if { (ac_try="$ac_compile"
5235
 
case "(($ac_try" in
5236
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237
 
  *) ac_try_echo=$ac_try;;
5238
 
esac
5239
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5240
 
$as_echo "$ac_try_echo") >&5
5241
 
  (eval "$ac_compile") 2>conftest.er1
5242
 
  ac_status=$?
5243
 
  grep -v '^ *+' conftest.er1 >conftest.err
5244
 
  rm -f conftest.er1
5245
 
  cat conftest.err >&5
5246
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247
 
  (exit $ac_status); } && {
5248
 
         test -z "$ac_c_werror_flag" ||
5249
 
         test ! -s conftest.err
5250
 
       } && test -s conftest.$ac_objext; then
5251
 
  ac_header_compiler=yes
5252
 
else
5253
 
  $as_echo "$as_me: failed program was:" >&5
5254
 
sed 's/^/| /' conftest.$ac_ext >&5
5255
 
 
5256
 
        ac_header_compiler=no
5257
 
fi
5258
 
 
5259
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5260
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5261
 
$as_echo "$ac_header_compiler" >&6; }
5262
 
 
5263
 
# Is the header present?
5264
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5265
 
$as_echo_n "checking $ac_header presence... " >&6; }
5266
 
cat >conftest.$ac_ext <<_ACEOF
5267
 
/* confdefs.h.  */
5268
 
_ACEOF
5269
 
cat confdefs.h >>conftest.$ac_ext
5270
 
cat >>conftest.$ac_ext <<_ACEOF
5271
 
/* end confdefs.h.  */
5272
 
#include <$ac_header>
5273
 
_ACEOF
5274
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5275
 
case "(($ac_try" in
5276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277
 
  *) ac_try_echo=$ac_try;;
5278
 
esac
5279
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5280
 
$as_echo "$ac_try_echo") >&5
5281
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5282
 
  ac_status=$?
5283
 
  grep -v '^ *+' conftest.er1 >conftest.err
5284
 
  rm -f conftest.er1
5285
 
  cat conftest.err >&5
5286
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287
 
  (exit $ac_status); } >/dev/null && {
5288
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5289
 
         test ! -s conftest.err
5290
 
       }; then
5291
 
  ac_header_preproc=yes
5292
 
else
5293
 
  $as_echo "$as_me: failed program was:" >&5
5294
 
sed 's/^/| /' conftest.$ac_ext >&5
5295
 
 
5296
 
  ac_header_preproc=no
5297
 
fi
5298
 
 
5299
 
rm -f conftest.err conftest.$ac_ext
5300
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5301
 
$as_echo "$ac_header_preproc" >&6; }
5302
 
 
5303
 
# So?  What about this header?
5304
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5305
 
  yes:no: )
5306
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5307
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5308
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5309
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5310
 
    ac_header_preproc=yes
5311
 
    ;;
5312
 
  no:yes:* )
5313
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5314
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5315
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5316
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5317
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5318
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5319
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5320
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5321
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5322
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5323
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5324
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5325
 
    ( cat <<\_ASBOX
5326
 
## ---------------------------------------------------------------------- ##
5327
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
5328
 
## ---------------------------------------------------------------------- ##
5329
 
_ASBOX
5330
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5331
 
    ;;
5332
 
esac
5333
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5334
 
$as_echo_n "checking for $ac_header... " >&6; }
5335
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5336
 
  $as_echo_n "(cached) " >&6
5337
 
else
5338
 
  eval "$as_ac_Header=\$ac_header_preproc"
5339
 
fi
5340
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
5341
 
                 $as_echo "$as_val"'`
5342
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5343
 
$as_echo "$ac_res" >&6; }
5344
 
 
5345
 
fi
5346
 
as_val=`eval 'as_val=${'$as_ac_Header'}
5347
 
                 $as_echo "$as_val"'`
5348
 
   if test "x$as_val" = x""yes; then
5349
 
  cat >>confdefs.h <<_ACEOF
5350
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5351
 
_ACEOF
5352
 
 
5353
 
fi
5354
 
 
5355
 
done
5356
 
 
5357
 
    if test $ac_cv_header_locale_h = yes; then
5358
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5359
 
$as_echo_n "checking for LC_MESSAGES... " >&6; }
5360
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5361
 
  $as_echo_n "(cached) " >&6
5362
 
else
5363
 
  cat >conftest.$ac_ext <<_ACEOF
5364
 
/* confdefs.h.  */
5365
 
_ACEOF
5366
 
cat confdefs.h >>conftest.$ac_ext
5367
 
cat >>conftest.$ac_ext <<_ACEOF
5368
 
/* end confdefs.h.  */
5369
 
#include <locale.h>
5370
 
int
5371
 
main ()
5372
 
{
5373
 
return LC_MESSAGES
5374
 
  ;
5375
 
  return 0;
5376
 
}
5377
 
_ACEOF
5378
 
rm -f conftest.$ac_objext conftest$ac_exeext
5379
 
if { (ac_try="$ac_link"
5380
 
case "(($ac_try" in
5381
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382
 
  *) ac_try_echo=$ac_try;;
5383
 
esac
5384
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5385
 
$as_echo "$ac_try_echo") >&5
5386
 
  (eval "$ac_link") 2>conftest.er1
5387
 
  ac_status=$?
5388
 
  grep -v '^ *+' conftest.er1 >conftest.err
5389
 
  rm -f conftest.er1
5390
 
  cat conftest.err >&5
5391
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392
 
  (exit $ac_status); } && {
5393
 
         test -z "$ac_c_werror_flag" ||
5394
 
         test ! -s conftest.err
5395
 
       } && test -s conftest$ac_exeext && {
5396
 
         test "$cross_compiling" = yes ||
5397
 
         $as_test_x conftest$ac_exeext
5398
 
       }; then
5399
 
  am_cv_val_LC_MESSAGES=yes
5400
 
else
5401
 
  $as_echo "$as_me: failed program was:" >&5
5402
 
sed 's/^/| /' conftest.$ac_ext >&5
5403
 
 
5404
 
        am_cv_val_LC_MESSAGES=no
5405
 
fi
5406
 
 
5407
 
rm -rf conftest.dSYM
5408
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5409
 
      conftest$ac_exeext conftest.$ac_ext
5410
 
fi
5411
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5412
 
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5413
 
    if test $am_cv_val_LC_MESSAGES = yes; then
5414
 
 
5415
 
cat >>confdefs.h <<\_ACEOF
5416
 
#define HAVE_LC_MESSAGES 1
5417
 
_ACEOF
5418
 
 
5419
 
    fi
5420
 
  fi
5421
 
     USE_NLS=yes
5422
 
 
5423
 
 
5424
 
    gt_cv_have_gettext=no
5425
 
 
5426
 
    CATOBJEXT=NONE
5427
 
    XGETTEXT=:
5428
 
    INTLLIBS=
5429
 
 
5430
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
5431
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5432
 
$as_echo_n "checking for libintl.h... " >&6; }
5433
 
if test "${ac_cv_header_libintl_h+set}" = set; then
5434
 
  $as_echo_n "(cached) " >&6
5435
 
fi
5436
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5437
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
5438
 
else
5439
 
  # Is the header compilable?
5440
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
5441
 
$as_echo_n "checking libintl.h usability... " >&6; }
5442
 
cat >conftest.$ac_ext <<_ACEOF
5443
 
/* confdefs.h.  */
5444
 
_ACEOF
5445
 
cat confdefs.h >>conftest.$ac_ext
5446
 
cat >>conftest.$ac_ext <<_ACEOF
5447
 
/* end confdefs.h.  */
5448
 
$ac_includes_default
5449
 
#include <libintl.h>
5450
 
_ACEOF
5451
 
rm -f conftest.$ac_objext
5452
 
if { (ac_try="$ac_compile"
5453
 
case "(($ac_try" in
5454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455
 
  *) ac_try_echo=$ac_try;;
5456
 
esac
5457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5458
 
$as_echo "$ac_try_echo") >&5
5459
 
  (eval "$ac_compile") 2>conftest.er1
5460
 
  ac_status=$?
5461
 
  grep -v '^ *+' conftest.er1 >conftest.err
5462
 
  rm -f conftest.er1
5463
 
  cat conftest.err >&5
5464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465
 
  (exit $ac_status); } && {
5466
 
         test -z "$ac_c_werror_flag" ||
5467
 
         test ! -s conftest.err
5468
 
       } && test -s conftest.$ac_objext; then
5469
 
  ac_header_compiler=yes
5470
 
else
5471
 
  $as_echo "$as_me: failed program was:" >&5
5472
 
sed 's/^/| /' conftest.$ac_ext >&5
5473
 
 
5474
 
        ac_header_compiler=no
5475
 
fi
5476
 
 
5477
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5478
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5479
 
$as_echo "$ac_header_compiler" >&6; }
5480
 
 
5481
 
# Is the header present?
5482
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
5483
 
$as_echo_n "checking libintl.h presence... " >&6; }
5484
 
cat >conftest.$ac_ext <<_ACEOF
5485
 
/* confdefs.h.  */
5486
 
_ACEOF
5487
 
cat confdefs.h >>conftest.$ac_ext
5488
 
cat >>conftest.$ac_ext <<_ACEOF
5489
 
/* end confdefs.h.  */
5490
 
#include <libintl.h>
5491
 
_ACEOF
5492
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5493
 
case "(($ac_try" in
5494
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5495
 
  *) ac_try_echo=$ac_try;;
5496
 
esac
5497
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5498
 
$as_echo "$ac_try_echo") >&5
5499
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5500
 
  ac_status=$?
5501
 
  grep -v '^ *+' conftest.er1 >conftest.err
5502
 
  rm -f conftest.er1
5503
 
  cat conftest.err >&5
5504
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505
 
  (exit $ac_status); } >/dev/null && {
5506
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5507
 
         test ! -s conftest.err
5508
 
       }; then
5509
 
  ac_header_preproc=yes
5510
 
else
5511
 
  $as_echo "$as_me: failed program was:" >&5
5512
 
sed 's/^/| /' conftest.$ac_ext >&5
5513
 
 
5514
 
  ac_header_preproc=no
5515
 
fi
5516
 
 
5517
 
rm -f conftest.err conftest.$ac_ext
5518
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5519
 
$as_echo "$ac_header_preproc" >&6; }
5520
 
 
5521
 
# So?  What about this header?
5522
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5523
 
  yes:no: )
5524
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5525
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5526
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5527
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5528
 
    ac_header_preproc=yes
5529
 
    ;;
5530
 
  no:yes:* )
5531
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5532
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5533
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
5534
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
5535
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5536
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5537
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
5538
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5539
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5540
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5541
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5542
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5543
 
    ( cat <<\_ASBOX
5544
 
## ---------------------------------------------------------------------- ##
5545
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
5546
 
## ---------------------------------------------------------------------- ##
5547
 
_ASBOX
5548
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5549
 
    ;;
5550
 
esac
5551
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5552
 
$as_echo_n "checking for libintl.h... " >&6; }
5553
 
if test "${ac_cv_header_libintl_h+set}" = set; then
5554
 
  $as_echo_n "(cached) " >&6
5555
 
else
5556
 
  ac_cv_header_libintl_h=$ac_header_preproc
5557
 
fi
5558
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5559
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
5560
 
 
5561
 
fi
5562
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
5563
 
  gt_cv_func_dgettext_libintl="no"
5564
 
      libintl_extra_libs=""
5565
 
 
5566
 
      #
5567
 
      # First check in libc
5568
 
      #
5569
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5570
 
$as_echo_n "checking for ngettext in libc... " >&6; }
5571
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
5572
 
  $as_echo_n "(cached) " >&6
5573
 
else
5574
 
  cat >conftest.$ac_ext <<_ACEOF
5575
 
/* confdefs.h.  */
5576
 
_ACEOF
5577
 
cat confdefs.h >>conftest.$ac_ext
5578
 
cat >>conftest.$ac_ext <<_ACEOF
5579
 
/* end confdefs.h.  */
5580
 
 
5581
 
#include <libintl.h>
5582
 
 
5583
 
int
5584
 
main ()
5585
 
{
5586
 
return !ngettext ("","", 1)
5587
 
  ;
5588
 
  return 0;
5589
 
}
5590
 
_ACEOF
5591
 
rm -f conftest.$ac_objext conftest$ac_exeext
5592
 
if { (ac_try="$ac_link"
5593
 
case "(($ac_try" in
5594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595
 
  *) ac_try_echo=$ac_try;;
5596
 
esac
5597
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5598
 
$as_echo "$ac_try_echo") >&5
5599
 
  (eval "$ac_link") 2>conftest.er1
5600
 
  ac_status=$?
5601
 
  grep -v '^ *+' conftest.er1 >conftest.err
5602
 
  rm -f conftest.er1
5603
 
  cat conftest.err >&5
5604
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605
 
  (exit $ac_status); } && {
5606
 
         test -z "$ac_c_werror_flag" ||
5607
 
         test ! -s conftest.err
5608
 
       } && test -s conftest$ac_exeext && {
5609
 
         test "$cross_compiling" = yes ||
5610
 
         $as_test_x conftest$ac_exeext
5611
 
       }; then
5612
 
  gt_cv_func_ngettext_libc=yes
5613
 
else
5614
 
  $as_echo "$as_me: failed program was:" >&5
5615
 
sed 's/^/| /' conftest.$ac_ext >&5
5616
 
 
5617
 
        gt_cv_func_ngettext_libc=no
5618
 
fi
5619
 
 
5620
 
rm -rf conftest.dSYM
5621
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5622
 
      conftest$ac_exeext conftest.$ac_ext
5623
 
 
5624
 
fi
5625
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
5626
 
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5627
 
 
5628
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5629
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5630
 
$as_echo_n "checking for dgettext in libc... " >&6; }
5631
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
5632
 
  $as_echo_n "(cached) " >&6
5633
 
else
5634
 
  cat >conftest.$ac_ext <<_ACEOF
5635
 
/* confdefs.h.  */
5636
 
_ACEOF
5637
 
cat confdefs.h >>conftest.$ac_ext
5638
 
cat >>conftest.$ac_ext <<_ACEOF
5639
 
/* end confdefs.h.  */
5640
 
 
5641
 
#include <libintl.h>
5642
 
 
5643
 
int
5644
 
main ()
5645
 
{
5646
 
return !dgettext ("","")
5647
 
  ;
5648
 
  return 0;
5649
 
}
5650
 
_ACEOF
5651
 
rm -f conftest.$ac_objext conftest$ac_exeext
5652
 
if { (ac_try="$ac_link"
5653
 
case "(($ac_try" in
5654
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5655
 
  *) ac_try_echo=$ac_try;;
5656
 
esac
5657
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5658
 
$as_echo "$ac_try_echo") >&5
5659
 
  (eval "$ac_link") 2>conftest.er1
5660
 
  ac_status=$?
5661
 
  grep -v '^ *+' conftest.er1 >conftest.err
5662
 
  rm -f conftest.er1
5663
 
  cat conftest.err >&5
5664
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665
 
  (exit $ac_status); } && {
5666
 
         test -z "$ac_c_werror_flag" ||
5667
 
         test ! -s conftest.err
5668
 
       } && test -s conftest$ac_exeext && {
5669
 
         test "$cross_compiling" = yes ||
5670
 
         $as_test_x conftest$ac_exeext
5671
 
       }; then
5672
 
  gt_cv_func_dgettext_libc=yes
5673
 
else
5674
 
  $as_echo "$as_me: failed program was:" >&5
5675
 
sed 's/^/| /' conftest.$ac_ext >&5
5676
 
 
5677
 
        gt_cv_func_dgettext_libc=no
5678
 
fi
5679
 
 
5680
 
rm -rf conftest.dSYM
5681
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5682
 
      conftest$ac_exeext conftest.$ac_ext
5683
 
 
5684
 
fi
5685
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5686
 
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5687
 
      fi
5688
 
 
5689
 
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5690
 
 
5691
 
for ac_func in bind_textdomain_codeset
5692
 
do
5693
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5694
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5695
 
$as_echo_n "checking for $ac_func... " >&6; }
5696
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5697
 
  $as_echo_n "(cached) " >&6
5698
 
else
5699
 
  cat >conftest.$ac_ext <<_ACEOF
5700
 
/* confdefs.h.  */
5701
 
_ACEOF
5702
 
cat confdefs.h >>conftest.$ac_ext
5703
 
cat >>conftest.$ac_ext <<_ACEOF
5704
 
/* end confdefs.h.  */
5705
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5706
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5707
 
#define $ac_func innocuous_$ac_func
5708
 
 
5709
 
/* System header to define __stub macros and hopefully few prototypes,
5710
 
    which can conflict with char $ac_func (); below.
5711
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5712
 
    <limits.h> exists even on freestanding compilers.  */
5713
 
 
5714
 
#ifdef __STDC__
5715
 
# include <limits.h>
5716
 
#else
5717
 
# include <assert.h>
5718
 
#endif
5719
 
 
5720
 
#undef $ac_func
5721
 
 
5722
 
/* Override any GCC internal prototype to avoid an error.
5723
 
   Use char because int might match the return type of a GCC
5724
 
   builtin and then its argument prototype would still apply.  */
5725
 
#ifdef __cplusplus
5726
 
extern "C"
5727
 
#endif
5728
 
char $ac_func ();
5729
 
/* The GNU C library defines this for functions which it implements
5730
 
    to always fail with ENOSYS.  Some functions are actually named
5731
 
    something starting with __ and the normal name is an alias.  */
5732
 
#if defined __stub_$ac_func || defined __stub___$ac_func
5733
 
choke me
5734
 
#endif
5735
 
 
5736
 
int
5737
 
main ()
5738
 
{
5739
 
return $ac_func ();
5740
 
  ;
5741
 
  return 0;
5742
 
}
5743
 
_ACEOF
5744
 
rm -f conftest.$ac_objext conftest$ac_exeext
5745
 
if { (ac_try="$ac_link"
5746
 
case "(($ac_try" in
5747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5748
 
  *) ac_try_echo=$ac_try;;
5749
 
esac
5750
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5751
 
$as_echo "$ac_try_echo") >&5
5752
 
  (eval "$ac_link") 2>conftest.er1
5753
 
  ac_status=$?
5754
 
  grep -v '^ *+' conftest.er1 >conftest.err
5755
 
  rm -f conftest.er1
5756
 
  cat conftest.err >&5
5757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758
 
  (exit $ac_status); } && {
5759
 
         test -z "$ac_c_werror_flag" ||
5760
 
         test ! -s conftest.err
5761
 
       } && test -s conftest$ac_exeext && {
5762
 
         test "$cross_compiling" = yes ||
5763
 
         $as_test_x conftest$ac_exeext
5764
 
       }; then
5765
 
  eval "$as_ac_var=yes"
5766
 
else
5767
 
  $as_echo "$as_me: failed program was:" >&5
5768
 
sed 's/^/| /' conftest.$ac_ext >&5
5769
 
 
5770
 
        eval "$as_ac_var=no"
5771
 
fi
5772
 
 
5773
 
rm -rf conftest.dSYM
5774
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5775
 
      conftest$ac_exeext conftest.$ac_ext
5776
 
fi
5777
 
ac_res=`eval 'as_val=${'$as_ac_var'}
5778
 
                 $as_echo "$as_val"'`
5779
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5780
 
$as_echo "$ac_res" >&6; }
5781
 
as_val=`eval 'as_val=${'$as_ac_var'}
5782
 
                 $as_echo "$as_val"'`
5783
 
   if test "x$as_val" = x""yes; then
5784
 
  cat >>confdefs.h <<_ACEOF
5785
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5786
 
_ACEOF
5787
 
 
5788
 
fi
5789
 
done
5790
 
 
5791
 
      fi
5792
 
 
5793
 
      #
5794
 
      # If we don't have everything we want, check in libintl
5795
 
      #
5796
 
      if test "$gt_cv_func_dgettext_libc" != "yes" \
5797
 
         || test "$gt_cv_func_ngettext_libc" != "yes" \
5798
 
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5799
 
 
5800
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5801
 
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5802
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5803
 
  $as_echo_n "(cached) " >&6
5804
 
else
5805
 
  ac_check_lib_save_LIBS=$LIBS
5806
 
LIBS="-lintl  $LIBS"
5807
 
cat >conftest.$ac_ext <<_ACEOF
5808
 
/* confdefs.h.  */
5809
 
_ACEOF
5810
 
cat confdefs.h >>conftest.$ac_ext
5811
 
cat >>conftest.$ac_ext <<_ACEOF
5812
 
/* end confdefs.h.  */
5813
 
 
5814
 
/* Override any GCC internal prototype to avoid an error.
5815
 
   Use char because int might match the return type of a GCC
5816
 
   builtin and then its argument prototype would still apply.  */
5817
 
#ifdef __cplusplus
5818
 
extern "C"
5819
 
#endif
5820
 
char bindtextdomain ();
5821
 
int
5822
 
main ()
5823
 
{
5824
 
return bindtextdomain ();
5825
 
  ;
5826
 
  return 0;
5827
 
}
5828
 
_ACEOF
5829
 
rm -f conftest.$ac_objext conftest$ac_exeext
5830
 
if { (ac_try="$ac_link"
5831
 
case "(($ac_try" in
5832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5833
 
  *) ac_try_echo=$ac_try;;
5834
 
esac
5835
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5836
 
$as_echo "$ac_try_echo") >&5
5837
 
  (eval "$ac_link") 2>conftest.er1
5838
 
  ac_status=$?
5839
 
  grep -v '^ *+' conftest.er1 >conftest.err
5840
 
  rm -f conftest.er1
5841
 
  cat conftest.err >&5
5842
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843
 
  (exit $ac_status); } && {
5844
 
         test -z "$ac_c_werror_flag" ||
5845
 
         test ! -s conftest.err
5846
 
       } && test -s conftest$ac_exeext && {
5847
 
         test "$cross_compiling" = yes ||
5848
 
         $as_test_x conftest$ac_exeext
5849
 
       }; then
5850
 
  ac_cv_lib_intl_bindtextdomain=yes
5851
 
else
5852
 
  $as_echo "$as_me: failed program was:" >&5
5853
 
sed 's/^/| /' conftest.$ac_ext >&5
5854
 
 
5855
 
        ac_cv_lib_intl_bindtextdomain=no
5856
 
fi
5857
 
 
5858
 
rm -rf conftest.dSYM
5859
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5860
 
      conftest$ac_exeext conftest.$ac_ext
5861
 
LIBS=$ac_check_lib_save_LIBS
5862
 
fi
5863
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5864
 
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5865
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
5866
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5867
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5868
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5869
 
  $as_echo_n "(cached) " >&6
5870
 
else
5871
 
  ac_check_lib_save_LIBS=$LIBS
5872
 
LIBS="-lintl  $LIBS"
5873
 
cat >conftest.$ac_ext <<_ACEOF
5874
 
/* confdefs.h.  */
5875
 
_ACEOF
5876
 
cat confdefs.h >>conftest.$ac_ext
5877
 
cat >>conftest.$ac_ext <<_ACEOF
5878
 
/* end confdefs.h.  */
5879
 
 
5880
 
/* Override any GCC internal prototype to avoid an error.
5881
 
   Use char because int might match the return type of a GCC
5882
 
   builtin and then its argument prototype would still apply.  */
5883
 
#ifdef __cplusplus
5884
 
extern "C"
5885
 
#endif
5886
 
char ngettext ();
5887
 
int
5888
 
main ()
5889
 
{
5890
 
return ngettext ();
5891
 
  ;
5892
 
  return 0;
5893
 
}
5894
 
_ACEOF
5895
 
rm -f conftest.$ac_objext conftest$ac_exeext
5896
 
if { (ac_try="$ac_link"
5897
 
case "(($ac_try" in
5898
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5899
 
  *) ac_try_echo=$ac_try;;
5900
 
esac
5901
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5902
 
$as_echo "$ac_try_echo") >&5
5903
 
  (eval "$ac_link") 2>conftest.er1
5904
 
  ac_status=$?
5905
 
  grep -v '^ *+' conftest.er1 >conftest.err
5906
 
  rm -f conftest.er1
5907
 
  cat conftest.err >&5
5908
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909
 
  (exit $ac_status); } && {
5910
 
         test -z "$ac_c_werror_flag" ||
5911
 
         test ! -s conftest.err
5912
 
       } && test -s conftest$ac_exeext && {
5913
 
         test "$cross_compiling" = yes ||
5914
 
         $as_test_x conftest$ac_exeext
5915
 
       }; then
5916
 
  ac_cv_lib_intl_ngettext=yes
5917
 
else
5918
 
  $as_echo "$as_me: failed program was:" >&5
5919
 
sed 's/^/| /' conftest.$ac_ext >&5
5920
 
 
5921
 
        ac_cv_lib_intl_ngettext=no
5922
 
fi
5923
 
 
5924
 
rm -rf conftest.dSYM
5925
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5926
 
      conftest$ac_exeext conftest.$ac_ext
5927
 
LIBS=$ac_check_lib_save_LIBS
5928
 
fi
5929
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5930
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5931
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
5932
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5933
 
$as_echo_n "checking for dgettext in -lintl... " >&6; }
5934
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5935
 
  $as_echo_n "(cached) " >&6
5936
 
else
5937
 
  ac_check_lib_save_LIBS=$LIBS
5938
 
LIBS="-lintl  $LIBS"
5939
 
cat >conftest.$ac_ext <<_ACEOF
5940
 
/* confdefs.h.  */
5941
 
_ACEOF
5942
 
cat confdefs.h >>conftest.$ac_ext
5943
 
cat >>conftest.$ac_ext <<_ACEOF
5944
 
/* end confdefs.h.  */
5945
 
 
5946
 
/* Override any GCC internal prototype to avoid an error.
5947
 
   Use char because int might match the return type of a GCC
5948
 
   builtin and then its argument prototype would still apply.  */
5949
 
#ifdef __cplusplus
5950
 
extern "C"
5951
 
#endif
5952
 
char dgettext ();
5953
 
int
5954
 
main ()
5955
 
{
5956
 
return dgettext ();
5957
 
  ;
5958
 
  return 0;
5959
 
}
5960
 
_ACEOF
5961
 
rm -f conftest.$ac_objext conftest$ac_exeext
5962
 
if { (ac_try="$ac_link"
5963
 
case "(($ac_try" in
5964
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5965
 
  *) ac_try_echo=$ac_try;;
5966
 
esac
5967
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5968
 
$as_echo "$ac_try_echo") >&5
5969
 
  (eval "$ac_link") 2>conftest.er1
5970
 
  ac_status=$?
5971
 
  grep -v '^ *+' conftest.er1 >conftest.err
5972
 
  rm -f conftest.er1
5973
 
  cat conftest.err >&5
5974
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975
 
  (exit $ac_status); } && {
5976
 
         test -z "$ac_c_werror_flag" ||
5977
 
         test ! -s conftest.err
5978
 
       } && test -s conftest$ac_exeext && {
5979
 
         test "$cross_compiling" = yes ||
5980
 
         $as_test_x conftest$ac_exeext
5981
 
       }; then
5982
 
  ac_cv_lib_intl_dgettext=yes
5983
 
else
5984
 
  $as_echo "$as_me: failed program was:" >&5
5985
 
sed 's/^/| /' conftest.$ac_ext >&5
5986
 
 
5987
 
        ac_cv_lib_intl_dgettext=no
5988
 
fi
5989
 
 
5990
 
rm -rf conftest.dSYM
5991
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5992
 
      conftest$ac_exeext conftest.$ac_ext
5993
 
LIBS=$ac_check_lib_save_LIBS
5994
 
fi
5995
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5996
 
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5997
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
5998
 
  gt_cv_func_dgettext_libintl=yes
5999
 
fi
6000
 
 
6001
 
fi
6002
 
 
6003
 
fi
6004
 
 
6005
 
 
6006
 
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6007
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6008
 
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6009
 
          { $as_echo "$as_me:$LINENO: result: " >&5
6010
 
$as_echo "" >&6; }
6011
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6012
 
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6013
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6014
 
  $as_echo_n "(cached) " >&6
6015
 
else
6016
 
  ac_check_lib_save_LIBS=$LIBS
6017
 
LIBS="-lintl -liconv $LIBS"
6018
 
cat >conftest.$ac_ext <<_ACEOF
6019
 
/* confdefs.h.  */
6020
 
_ACEOF
6021
 
cat confdefs.h >>conftest.$ac_ext
6022
 
cat >>conftest.$ac_ext <<_ACEOF
6023
 
/* end confdefs.h.  */
6024
 
 
6025
 
/* Override any GCC internal prototype to avoid an error.
6026
 
   Use char because int might match the return type of a GCC
6027
 
   builtin and then its argument prototype would still apply.  */
6028
 
#ifdef __cplusplus
6029
 
extern "C"
6030
 
#endif
6031
 
char ngettext ();
6032
 
int
6033
 
main ()
6034
 
{
6035
 
return ngettext ();
6036
 
  ;
6037
 
  return 0;
6038
 
}
6039
 
_ACEOF
6040
 
rm -f conftest.$ac_objext conftest$ac_exeext
6041
 
if { (ac_try="$ac_link"
6042
 
case "(($ac_try" in
6043
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6044
 
  *) ac_try_echo=$ac_try;;
6045
 
esac
6046
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6047
 
$as_echo "$ac_try_echo") >&5
6048
 
  (eval "$ac_link") 2>conftest.er1
6049
 
  ac_status=$?
6050
 
  grep -v '^ *+' conftest.er1 >conftest.err
6051
 
  rm -f conftest.er1
6052
 
  cat conftest.err >&5
6053
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054
 
  (exit $ac_status); } && {
6055
 
         test -z "$ac_c_werror_flag" ||
6056
 
         test ! -s conftest.err
6057
 
       } && test -s conftest$ac_exeext && {
6058
 
         test "$cross_compiling" = yes ||
6059
 
         $as_test_x conftest$ac_exeext
6060
 
       }; then
6061
 
  ac_cv_lib_intl_ngettext=yes
6062
 
else
6063
 
  $as_echo "$as_me: failed program was:" >&5
6064
 
sed 's/^/| /' conftest.$ac_ext >&5
6065
 
 
6066
 
        ac_cv_lib_intl_ngettext=no
6067
 
fi
6068
 
 
6069
 
rm -rf conftest.dSYM
6070
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6071
 
      conftest$ac_exeext conftest.$ac_ext
6072
 
LIBS=$ac_check_lib_save_LIBS
6073
 
fi
6074
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6075
 
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6076
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
6077
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6078
 
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6079
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6080
 
  $as_echo_n "(cached) " >&6
6081
 
else
6082
 
  ac_check_lib_save_LIBS=$LIBS
6083
 
LIBS="-lintl -liconv $LIBS"
6084
 
cat >conftest.$ac_ext <<_ACEOF
6085
 
/* confdefs.h.  */
6086
 
_ACEOF
6087
 
cat confdefs.h >>conftest.$ac_ext
6088
 
cat >>conftest.$ac_ext <<_ACEOF
6089
 
/* end confdefs.h.  */
6090
 
 
6091
 
/* Override any GCC internal prototype to avoid an error.
6092
 
   Use char because int might match the return type of a GCC
6093
 
   builtin and then its argument prototype would still apply.  */
6094
 
#ifdef __cplusplus
6095
 
extern "C"
6096
 
#endif
6097
 
char dcgettext ();
6098
 
int
6099
 
main ()
6100
 
{
6101
 
return dcgettext ();
6102
 
  ;
6103
 
  return 0;
6104
 
}
6105
 
_ACEOF
6106
 
rm -f conftest.$ac_objext conftest$ac_exeext
6107
 
if { (ac_try="$ac_link"
6108
 
case "(($ac_try" in
6109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110
 
  *) ac_try_echo=$ac_try;;
6111
 
esac
6112
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6113
 
$as_echo "$ac_try_echo") >&5
6114
 
  (eval "$ac_link") 2>conftest.er1
6115
 
  ac_status=$?
6116
 
  grep -v '^ *+' conftest.er1 >conftest.err
6117
 
  rm -f conftest.er1
6118
 
  cat conftest.err >&5
6119
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120
 
  (exit $ac_status); } && {
6121
 
         test -z "$ac_c_werror_flag" ||
6122
 
         test ! -s conftest.err
6123
 
       } && test -s conftest$ac_exeext && {
6124
 
         test "$cross_compiling" = yes ||
6125
 
         $as_test_x conftest$ac_exeext
6126
 
       }; then
6127
 
  ac_cv_lib_intl_dcgettext=yes
6128
 
else
6129
 
  $as_echo "$as_me: failed program was:" >&5
6130
 
sed 's/^/| /' conftest.$ac_ext >&5
6131
 
 
6132
 
        ac_cv_lib_intl_dcgettext=no
6133
 
fi
6134
 
 
6135
 
rm -rf conftest.dSYM
6136
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6137
 
      conftest$ac_exeext conftest.$ac_ext
6138
 
LIBS=$ac_check_lib_save_LIBS
6139
 
fi
6140
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
6141
 
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6142
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
6143
 
  gt_cv_func_dgettext_libintl=yes
6144
 
                        libintl_extra_libs=-liconv
6145
 
else
6146
 
  :
6147
 
fi
6148
 
 
6149
 
else
6150
 
  :
6151
 
fi
6152
 
 
6153
 
        fi
6154
 
 
6155
 
        #
6156
 
        # If we found libintl, then check in it for bind_textdomain_codeset();
6157
 
        # we'll prefer libc if neither have bind_textdomain_codeset(),
6158
 
        # and both have dgettext and ngettext
6159
 
        #
6160
 
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6161
 
          glib_save_LIBS="$LIBS"
6162
 
          LIBS="$LIBS -lintl $libintl_extra_libs"
6163
 
          unset ac_cv_func_bind_textdomain_codeset
6164
 
 
6165
 
for ac_func in bind_textdomain_codeset
6166
 
do
6167
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6168
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6169
 
$as_echo_n "checking for $ac_func... " >&6; }
6170
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6171
 
  $as_echo_n "(cached) " >&6
6172
 
else
6173
 
  cat >conftest.$ac_ext <<_ACEOF
6174
 
/* confdefs.h.  */
6175
 
_ACEOF
6176
 
cat confdefs.h >>conftest.$ac_ext
6177
 
cat >>conftest.$ac_ext <<_ACEOF
6178
 
/* end confdefs.h.  */
6179
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6180
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6181
 
#define $ac_func innocuous_$ac_func
6182
 
 
6183
 
/* System header to define __stub macros and hopefully few prototypes,
6184
 
    which can conflict with char $ac_func (); below.
6185
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6186
 
    <limits.h> exists even on freestanding compilers.  */
6187
 
 
6188
 
#ifdef __STDC__
6189
 
# include <limits.h>
6190
 
#else
6191
 
# include <assert.h>
6192
 
#endif
6193
 
 
6194
 
#undef $ac_func
6195
 
 
6196
 
/* Override any GCC internal prototype to avoid an error.
6197
 
   Use char because int might match the return type of a GCC
6198
 
   builtin and then its argument prototype would still apply.  */
6199
 
#ifdef __cplusplus
6200
 
extern "C"
6201
 
#endif
6202
 
char $ac_func ();
6203
 
/* The GNU C library defines this for functions which it implements
6204
 
    to always fail with ENOSYS.  Some functions are actually named
6205
 
    something starting with __ and the normal name is an alias.  */
6206
 
#if defined __stub_$ac_func || defined __stub___$ac_func
6207
 
choke me
6208
 
#endif
6209
 
 
6210
 
int
6211
 
main ()
6212
 
{
6213
 
return $ac_func ();
6214
 
  ;
6215
 
  return 0;
6216
 
}
6217
 
_ACEOF
6218
 
rm -f conftest.$ac_objext conftest$ac_exeext
6219
 
if { (ac_try="$ac_link"
6220
 
case "(($ac_try" in
6221
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6222
 
  *) ac_try_echo=$ac_try;;
6223
 
esac
6224
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6225
 
$as_echo "$ac_try_echo") >&5
6226
 
  (eval "$ac_link") 2>conftest.er1
6227
 
  ac_status=$?
6228
 
  grep -v '^ *+' conftest.er1 >conftest.err
6229
 
  rm -f conftest.er1
6230
 
  cat conftest.err >&5
6231
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232
 
  (exit $ac_status); } && {
6233
 
         test -z "$ac_c_werror_flag" ||
6234
 
         test ! -s conftest.err
6235
 
       } && test -s conftest$ac_exeext && {
6236
 
         test "$cross_compiling" = yes ||
6237
 
         $as_test_x conftest$ac_exeext
6238
 
       }; then
6239
 
  eval "$as_ac_var=yes"
6240
 
else
6241
 
  $as_echo "$as_me: failed program was:" >&5
6242
 
sed 's/^/| /' conftest.$ac_ext >&5
6243
 
 
6244
 
        eval "$as_ac_var=no"
6245
 
fi
6246
 
 
6247
 
rm -rf conftest.dSYM
6248
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6249
 
      conftest$ac_exeext conftest.$ac_ext
6250
 
fi
6251
 
ac_res=`eval 'as_val=${'$as_ac_var'}
6252
 
                 $as_echo "$as_val"'`
6253
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6254
 
$as_echo "$ac_res" >&6; }
6255
 
as_val=`eval 'as_val=${'$as_ac_var'}
6256
 
                 $as_echo "$as_val"'`
6257
 
   if test "x$as_val" = x""yes; then
6258
 
  cat >>confdefs.h <<_ACEOF
6259
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6260
 
_ACEOF
6261
 
 
6262
 
fi
6263
 
done
6264
 
 
6265
 
          LIBS="$glib_save_LIBS"
6266
 
 
6267
 
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6268
 
            gt_cv_func_dgettext_libc=no
6269
 
          else
6270
 
            if test "$gt_cv_func_dgettext_libc" = "yes" \
6271
 
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
6272
 
              gt_cv_func_dgettext_libintl=no
6273
 
            fi
6274
 
          fi
6275
 
        fi
6276
 
      fi
6277
 
 
6278
 
      if test "$gt_cv_func_dgettext_libc" = "yes" \
6279
 
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
6280
 
        gt_cv_have_gettext=yes
6281
 
      fi
6282
 
 
6283
 
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6284
 
        INTLLIBS="-lintl $libintl_extra_libs"
6285
 
      fi
6286
 
 
6287
 
      if test "$gt_cv_have_gettext" = "yes"; then
6288
 
 
6289
 
cat >>confdefs.h <<\_ACEOF
6290
 
#define HAVE_GETTEXT 1
6291
 
_ACEOF
6292
 
 
6293
 
        # Extract the first word of "msgfmt", so it can be a program name with args.
6294
 
set dummy msgfmt; ac_word=$2
6295
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6296
 
$as_echo_n "checking for $ac_word... " >&6; }
6297
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
6298
 
  $as_echo_n "(cached) " >&6
6299
 
else
6300
 
  case "$MSGFMT" in
6301
 
  /*)
6302
 
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6303
 
  ;;
6304
 
  *)
6305
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6306
 
  for ac_dir in $PATH; do
6307
 
    test -z "$ac_dir" && ac_dir=.
6308
 
    if test -f $ac_dir/$ac_word; then
6309
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6310
 
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6311
 
        break
6312
 
      fi
6313
 
    fi
6314
 
  done
6315
 
  IFS="$ac_save_ifs"
6316
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6317
 
  ;;
6318
 
esac
6319
 
fi
6320
 
MSGFMT="$ac_cv_path_MSGFMT"
6321
 
if test "$MSGFMT" != "no"; then
6322
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
6323
 
$as_echo "$MSGFMT" >&6; }
6324
 
else
6325
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6326
 
$as_echo "no" >&6; }
6327
 
fi
6328
 
        if test "$MSGFMT" != "no"; then
6329
 
          glib_save_LIBS="$LIBS"
6330
 
          LIBS="$LIBS $INTLLIBS"
6331
 
 
6332
 
for ac_func in dcgettext
6333
 
do
6334
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6335
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6336
 
$as_echo_n "checking for $ac_func... " >&6; }
6337
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6338
 
  $as_echo_n "(cached) " >&6
6339
 
else
6340
 
  cat >conftest.$ac_ext <<_ACEOF
6341
 
/* confdefs.h.  */
6342
 
_ACEOF
6343
 
cat confdefs.h >>conftest.$ac_ext
6344
 
cat >>conftest.$ac_ext <<_ACEOF
6345
 
/* end confdefs.h.  */
6346
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6347
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6348
 
#define $ac_func innocuous_$ac_func
6349
 
 
6350
 
/* System header to define __stub macros and hopefully few prototypes,
6351
 
    which can conflict with char $ac_func (); below.
6352
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6353
 
    <limits.h> exists even on freestanding compilers.  */
6354
 
 
6355
 
#ifdef __STDC__
6356
 
# include <limits.h>
6357
 
#else
6358
 
# include <assert.h>
6359
 
#endif
6360
 
 
6361
 
#undef $ac_func
6362
 
 
6363
 
/* Override any GCC internal prototype to avoid an error.
6364
 
   Use char because int might match the return type of a GCC
6365
 
   builtin and then its argument prototype would still apply.  */
6366
 
#ifdef __cplusplus
6367
 
extern "C"
6368
 
#endif
6369
 
char $ac_func ();
6370
 
/* The GNU C library defines this for functions which it implements
6371
 
    to always fail with ENOSYS.  Some functions are actually named
6372
 
    something starting with __ and the normal name is an alias.  */
6373
 
#if defined __stub_$ac_func || defined __stub___$ac_func
6374
 
choke me
6375
 
#endif
6376
 
 
6377
 
int
6378
 
main ()
6379
 
{
6380
 
return $ac_func ();
6381
 
  ;
6382
 
  return 0;
6383
 
}
6384
 
_ACEOF
6385
 
rm -f conftest.$ac_objext conftest$ac_exeext
6386
 
if { (ac_try="$ac_link"
6387
 
case "(($ac_try" in
6388
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6389
 
  *) ac_try_echo=$ac_try;;
6390
 
esac
6391
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6392
 
$as_echo "$ac_try_echo") >&5
6393
 
  (eval "$ac_link") 2>conftest.er1
6394
 
  ac_status=$?
6395
 
  grep -v '^ *+' conftest.er1 >conftest.err
6396
 
  rm -f conftest.er1
6397
 
  cat conftest.err >&5
6398
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399
 
  (exit $ac_status); } && {
6400
 
         test -z "$ac_c_werror_flag" ||
6401
 
         test ! -s conftest.err
6402
 
       } && test -s conftest$ac_exeext && {
6403
 
         test "$cross_compiling" = yes ||
6404
 
         $as_test_x conftest$ac_exeext
6405
 
       }; then
6406
 
  eval "$as_ac_var=yes"
6407
 
else
6408
 
  $as_echo "$as_me: failed program was:" >&5
6409
 
sed 's/^/| /' conftest.$ac_ext >&5
6410
 
 
6411
 
        eval "$as_ac_var=no"
6412
 
fi
6413
 
 
6414
 
rm -rf conftest.dSYM
6415
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6416
 
      conftest$ac_exeext conftest.$ac_ext
6417
 
fi
6418
 
ac_res=`eval 'as_val=${'$as_ac_var'}
6419
 
                 $as_echo "$as_val"'`
6420
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6421
 
$as_echo "$ac_res" >&6; }
6422
 
as_val=`eval 'as_val=${'$as_ac_var'}
6423
 
                 $as_echo "$as_val"'`
6424
 
   if test "x$as_val" = x""yes; then
6425
 
  cat >>confdefs.h <<_ACEOF
6426
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6427
 
_ACEOF
6428
 
 
6429
 
fi
6430
 
done
6431
 
 
6432
 
          MSGFMT_OPTS=
6433
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6434
 
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6435
 
          cat >conftest.foo <<_ACEOF
6436
 
 
6437
 
msgid ""
6438
 
msgstr ""
6439
 
"Content-Type: text/plain; charset=UTF-8\n"
6440
 
"Project-Id-Version: test 1.0\n"
6441
 
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6442
 
"Last-Translator: test <foo@bar.xx>\n"
6443
 
"Language-Team: C <LL@li.org>\n"
6444
 
"MIME-Version: 1.0\n"
6445
 
"Content-Transfer-Encoding: 8bit\n"
6446
 
 
6447
 
_ACEOF
6448
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
6449
 
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6450
 
  ac_status=$?
6451
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452
 
  (exit $ac_status); }; then
6453
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
6454
 
$as_echo "yes" >&6; }
6455
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
6456
 
$as_echo "no" >&6; }
6457
 
echo "$as_me: failed input was:" >&5
6458
 
sed 's/^/| /' conftest.foo >&5
6459
 
fi
6460
 
 
6461
 
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
6462
 
set dummy gmsgfmt; ac_word=$2
6463
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6464
 
$as_echo_n "checking for $ac_word... " >&6; }
6465
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6466
 
  $as_echo_n "(cached) " >&6
6467
 
else
6468
 
  case $GMSGFMT in
6469
 
  [\\/]* | ?:[\\/]*)
6470
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6471
 
  ;;
6472
 
  *)
6473
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474
 
for as_dir in $PATH
6475
 
do
6476
 
  IFS=$as_save_IFS
6477
 
  test -z "$as_dir" && as_dir=.
6478
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6479
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6480
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6481
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6482
 
    break 2
6483
 
  fi
6484
 
done
6485
 
done
6486
 
IFS=$as_save_IFS
6487
 
 
6488
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6489
 
  ;;
6490
 
esac
6491
 
fi
6492
 
GMSGFMT=$ac_cv_path_GMSGFMT
6493
 
if test -n "$GMSGFMT"; then
6494
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6495
 
$as_echo "$GMSGFMT" >&6; }
6496
 
else
6497
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6498
 
$as_echo "no" >&6; }
6499
 
fi
6500
 
 
6501
 
 
6502
 
          # Extract the first word of "xgettext", so it can be a program name with args.
6503
 
set dummy xgettext; ac_word=$2
6504
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6505
 
$as_echo_n "checking for $ac_word... " >&6; }
6506
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6507
 
  $as_echo_n "(cached) " >&6
6508
 
else
6509
 
  case "$XGETTEXT" in
6510
 
  /*)
6511
 
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6512
 
  ;;
6513
 
  *)
6514
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6515
 
  for ac_dir in $PATH; do
6516
 
    test -z "$ac_dir" && ac_dir=.
6517
 
    if test -f $ac_dir/$ac_word; then
6518
 
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6519
 
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6520
 
        break
6521
 
      fi
6522
 
    fi
6523
 
  done
6524
 
  IFS="$ac_save_ifs"
6525
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6526
 
  ;;
6527
 
esac
6528
 
fi
6529
 
XGETTEXT="$ac_cv_path_XGETTEXT"
6530
 
if test "$XGETTEXT" != ":"; then
6531
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6532
 
$as_echo "$XGETTEXT" >&6; }
6533
 
else
6534
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6535
 
$as_echo "no" >&6; }
6536
 
fi
6537
 
 
6538
 
          cat >conftest.$ac_ext <<_ACEOF
6539
 
/* confdefs.h.  */
6540
 
_ACEOF
6541
 
cat confdefs.h >>conftest.$ac_ext
6542
 
cat >>conftest.$ac_ext <<_ACEOF
6543
 
/* end confdefs.h.  */
6544
 
 
6545
 
int
6546
 
main ()
6547
 
{
6548
 
extern int _nl_msg_cat_cntr;
6549
 
                         return _nl_msg_cat_cntr
6550
 
  ;
6551
 
  return 0;
6552
 
}
6553
 
_ACEOF
6554
 
rm -f conftest.$ac_objext conftest$ac_exeext
6555
 
if { (ac_try="$ac_link"
6556
 
case "(($ac_try" in
6557
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6558
 
  *) ac_try_echo=$ac_try;;
6559
 
esac
6560
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6561
 
$as_echo "$ac_try_echo") >&5
6562
 
  (eval "$ac_link") 2>conftest.er1
6563
 
  ac_status=$?
6564
 
  grep -v '^ *+' conftest.er1 >conftest.err
6565
 
  rm -f conftest.er1
6566
 
  cat conftest.err >&5
6567
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568
 
  (exit $ac_status); } && {
6569
 
         test -z "$ac_c_werror_flag" ||
6570
 
         test ! -s conftest.err
6571
 
       } && test -s conftest$ac_exeext && {
6572
 
         test "$cross_compiling" = yes ||
6573
 
         $as_test_x conftest$ac_exeext
6574
 
       }; then
6575
 
  CATOBJEXT=.gmo
6576
 
             DATADIRNAME=share
6577
 
else
6578
 
  $as_echo "$as_me: failed program was:" >&5
6579
 
sed 's/^/| /' conftest.$ac_ext >&5
6580
 
 
6581
 
        case $host in
6582
 
            *-*-solaris*)
6583
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6584
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
6585
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6586
 
  $as_echo_n "(cached) " >&6
6587
 
else
6588
 
  cat >conftest.$ac_ext <<_ACEOF
6589
 
/* confdefs.h.  */
6590
 
_ACEOF
6591
 
cat confdefs.h >>conftest.$ac_ext
6592
 
cat >>conftest.$ac_ext <<_ACEOF
6593
 
/* end confdefs.h.  */
6594
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6595
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6596
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6597
 
 
6598
 
/* System header to define __stub macros and hopefully few prototypes,
6599
 
    which can conflict with char bind_textdomain_codeset (); below.
6600
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6601
 
    <limits.h> exists even on freestanding compilers.  */
6602
 
 
6603
 
#ifdef __STDC__
6604
 
# include <limits.h>
6605
 
#else
6606
 
# include <assert.h>
6607
 
#endif
6608
 
 
6609
 
#undef bind_textdomain_codeset
6610
 
 
6611
 
/* Override any GCC internal prototype to avoid an error.
6612
 
   Use char because int might match the return type of a GCC
6613
 
   builtin and then its argument prototype would still apply.  */
6614
 
#ifdef __cplusplus
6615
 
extern "C"
6616
 
#endif
6617
 
char bind_textdomain_codeset ();
6618
 
/* The GNU C library defines this for functions which it implements
6619
 
    to always fail with ENOSYS.  Some functions are actually named
6620
 
    something starting with __ and the normal name is an alias.  */
6621
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6622
 
choke me
6623
 
#endif
6624
 
 
6625
 
int
6626
 
main ()
6627
 
{
6628
 
return bind_textdomain_codeset ();
6629
 
  ;
6630
 
  return 0;
6631
 
}
6632
 
_ACEOF
6633
 
rm -f conftest.$ac_objext conftest$ac_exeext
6634
 
if { (ac_try="$ac_link"
6635
 
case "(($ac_try" in
6636
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
 
  *) ac_try_echo=$ac_try;;
6638
 
esac
6639
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6640
 
$as_echo "$ac_try_echo") >&5
6641
 
  (eval "$ac_link") 2>conftest.er1
6642
 
  ac_status=$?
6643
 
  grep -v '^ *+' conftest.er1 >conftest.err
6644
 
  rm -f conftest.er1
6645
 
  cat conftest.err >&5
6646
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647
 
  (exit $ac_status); } && {
6648
 
         test -z "$ac_c_werror_flag" ||
6649
 
         test ! -s conftest.err
6650
 
       } && test -s conftest$ac_exeext && {
6651
 
         test "$cross_compiling" = yes ||
6652
 
         $as_test_x conftest$ac_exeext
6653
 
       }; then
6654
 
  ac_cv_func_bind_textdomain_codeset=yes
6655
 
else
6656
 
  $as_echo "$as_me: failed program was:" >&5
6657
 
sed 's/^/| /' conftest.$ac_ext >&5
6658
 
 
6659
 
        ac_cv_func_bind_textdomain_codeset=no
6660
 
fi
6661
 
 
6662
 
rm -rf conftest.dSYM
6663
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6664
 
      conftest$ac_exeext conftest.$ac_ext
6665
 
fi
6666
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6667
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
6668
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
6669
 
  CATOBJEXT=.gmo
6670
 
               DATADIRNAME=share
6671
 
else
6672
 
  CATOBJEXT=.mo
6673
 
               DATADIRNAME=lib
6674
 
fi
6675
 
 
6676
 
            ;;
6677
 
            *)
6678
 
            CATOBJEXT=.mo
6679
 
            DATADIRNAME=lib
6680
 
            ;;
6681
 
            esac
6682
 
fi
6683
 
 
6684
 
rm -rf conftest.dSYM
6685
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6686
 
      conftest$ac_exeext conftest.$ac_ext
6687
 
          LIBS="$glib_save_LIBS"
6688
 
          INSTOBJEXT=.mo
6689
 
        else
6690
 
          gt_cv_have_gettext=no
6691
 
        fi
6692
 
      fi
6693
 
 
6694
 
fi
6695
 
 
6696
 
 
6697
 
 
6698
 
    if test "$gt_cv_have_gettext" = "yes" ; then
6699
 
 
6700
 
cat >>confdefs.h <<\_ACEOF
6701
 
#define ENABLE_NLS 1
6702
 
_ACEOF
6703
 
 
6704
 
    fi
6705
 
 
6706
 
        if test "$XGETTEXT" != ":"; then
6707
 
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6708
 
        : ;
6709
 
      else
6710
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6711
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6712
 
        XGETTEXT=":"
6713
 
      fi
6714
 
    fi
6715
 
 
6716
 
    # We need to process the po/ directory.
6717
 
    POSUB=po
6718
 
 
6719
 
    ac_config_commands="$ac_config_commands default-1"
6720
 
 
6721
 
 
6722
 
                for lang in $ALL_LINGUAS; do
6723
 
      GMOFILES="$GMOFILES $lang.gmo"
6724
 
      POFILES="$POFILES $lang.po"
6725
 
    done
6726
 
 
6727
 
 
6728
 
 
6729
 
 
6730
 
 
6731
 
 
6732
 
 
6733
 
 
6734
 
 
6735
 
 
6736
 
 
6737
 
 
6738
 
 
6739
 
   if test "$gt_cv_have_gettext" = "yes"; then
6740
 
     if test "x$ALL_LINGUAS" = "x"; then
6741
 
       LINGUAS=
6742
 
     else
6743
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6744
 
$as_echo_n "checking for catalogs to be installed... " >&6; }
6745
 
       NEW_LINGUAS=
6746
 
       for presentlang in $ALL_LINGUAS; do
6747
 
         useit=no
6748
 
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6749
 
           desiredlanguages="$LINGUAS"
6750
 
         else
6751
 
           desiredlanguages="$ALL_LINGUAS"
6752
 
         fi
6753
 
         for desiredlang in $desiredlanguages; do
6754
 
           # Use the presentlang catalog if desiredlang is
6755
 
           #   a. equal to presentlang, or
6756
 
           #   b. a variant of presentlang (because in this case,
6757
 
           #      presentlang can be used as a fallback for messages
6758
 
           #      which are not translated in the desiredlang catalog).
6759
 
           case "$desiredlang" in
6760
 
             "$presentlang"*) useit=yes;;
6761
 
           esac
6762
 
         done
6763
 
         if test $useit = yes; then
6764
 
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6765
 
         fi
6766
 
       done
6767
 
       LINGUAS=$NEW_LINGUAS
6768
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
6769
 
$as_echo "$LINGUAS" >&6; }
6770
 
     fi
6771
 
 
6772
 
          if test -n "$LINGUAS"; then
6773
 
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6774
 
     fi
6775
 
   fi
6776
 
 
6777
 
            MKINSTALLDIRS=
6778
 
   if test -n "$ac_aux_dir"; then
6779
 
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6780
 
   fi
6781
 
   if test -z "$MKINSTALLDIRS"; then
6782
 
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6783
 
   fi
6784
 
 
6785
 
 
6786
 
         test -d po || mkdir po
6787
 
   if test "x$srcdir" != "x."; then
6788
 
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6789
 
       posrcprefix="$srcdir/"
6790
 
     else
6791
 
       posrcprefix="../$srcdir/"
6792
 
     fi
6793
 
   else
6794
 
     posrcprefix="../"
6795
 
   fi
6796
 
   rm -f po/POTFILES
6797
 
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6798
 
        < $srcdir/po/POTFILES.in > po/POTFILES
6799
 
 
6800
 
 
6801
 
 
6802
 
  list="-DG_DISABLE_DEPRECATED
6803
 
        -DPANGO_DISABLE_DEPRECATED
6804
 
        -DGDK_DISABLE_DEPRECATED
6805
 
        -DGDK_PIXBUF_DISABLE_DEPRECATED
6806
 
        -DGTK_DISABLE_DEPRECATED
6807
 
        -DGNOME_DISABLE_DEPRECATED
6808
 
        -DG_DISABLE_SINGLE_INCLUDES
6809
 
        -DGTK_DISABLE_SINGLE_INCLUDES
6810
 
        -Wall -Wextra
6811
 
        -Wno-missing-field-initializers
6812
 
        -Wno-sign-compare
6813
 
        -Wno-unused-parameter
6814
 
        -Wdeclaration-after-statement
6815
 
        -Werror-implicit-function-declaration
6816
 
        -Wformat-nonliteral -Wformat-security -Winit-self
6817
 
        -Wmissing-declarations -Wmissing-include-dirs
6818
 
        -Wmissing-noreturn -Wnested-externs -Wpointer-arith
6819
 
        -Wredundant-decls -Wundef -Wwrite-strings"
6820
 
  flags_supported=""
6821
 
  flags_unsupported=""
6822
 
  { $as_echo "$as_me:$LINENO: checking for supported compiler flags" >&5
6823
 
$as_echo_n "checking for supported compiler flags... " >&6; }
6824
 
  for each in $list
6825
 
  do
6826
 
    save_CFLAGS="$CFLAGS"
6827
 
    CFLAGS="$CFLAGS $each"
6828
 
    cat >conftest.$ac_ext <<_ACEOF
6829
 
/* confdefs.h.  */
6830
 
_ACEOF
6831
 
cat confdefs.h >>conftest.$ac_ext
6832
 
cat >>conftest.$ac_ext <<_ACEOF
6833
 
/* end confdefs.h.  */
6834
 
 
6835
 
int
6836
 
main ()
6837
 
{
6838
 
 
6839
 
  ;
6840
 
  return 0;
6841
 
}
6842
 
_ACEOF
6843
 
rm -f conftest.$ac_objext
6844
 
if { (ac_try="$ac_compile"
6845
 
case "(($ac_try" in
6846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6847
 
  *) ac_try_echo=$ac_try;;
6848
 
esac
6849
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6850
 
$as_echo "$ac_try_echo") >&5
6851
 
  (eval "$ac_compile") 2>conftest.er1
6852
 
  ac_status=$?
6853
 
  grep -v '^ *+' conftest.er1 >conftest.err
6854
 
  rm -f conftest.er1
6855
 
  cat conftest.err >&5
6856
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857
 
  (exit $ac_status); } && {
6858
 
         test -z "$ac_c_werror_flag" ||
6859
 
         test ! -s conftest.err
6860
 
       } && test -s conftest.$ac_objext; then
6861
 
  flag_ok=yes
6862
 
else
6863
 
  $as_echo "$as_me: failed program was:" >&5
6864
 
sed 's/^/| /' conftest.$ac_ext >&5
6865
 
 
6866
 
        flag_ok=no
6867
 
fi
6868
 
 
6869
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6870
 
    CFLAGS="$save_CFLAGS"
6871
 
 
6872
 
    if test "X$flag_ok" = Xyes ; then
6873
 
      flags_supported="$flags_supported $each"
6874
 
    else
6875
 
      flags_unsupported="$flags_unsupported $each"
6876
 
    fi
6877
 
  done
6878
 
  { $as_echo "$as_me:$LINENO: result: $flags_supported" >&5
6879
 
$as_echo "$flags_supported" >&6; }
6880
 
  if test "X$flags_unsupported" != X ; then
6881
 
    { $as_echo "$as_me:$LINENO: WARNING: unsupported compiler flags: $flags_unsupported" >&5
6882
 
$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
6883
 
  fi
6884
 
  WARNING_FLAGS="$WARNING_FLAGS $flags_supported"
6885
 
 
6886
 
 
6887
 
 
6888
 
 
6889
 
CFLAGS="$CFLAGS $WARNING_FLAGS"
6890
 
 
6891
 
ac_ext=c
6892
 
ac_cpp='$CPP $CPPFLAGS'
6893
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6894
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6895
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6896
 
if test -n "$ac_tool_prefix"; then
6897
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6898
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
6899
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6900
 
$as_echo_n "checking for $ac_word... " >&6; }
6901
 
if test "${ac_cv_prog_CC+set}" = set; then
6902
 
  $as_echo_n "(cached) " >&6
6903
 
else
6904
 
  if test -n "$CC"; then
6905
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
6906
 
else
6907
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908
 
for as_dir in $PATH
6909
 
do
6910
 
  IFS=$as_save_IFS
6911
 
  test -z "$as_dir" && as_dir=.
6912
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6913
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
6915
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6916
 
    break 2
6917
 
  fi
6918
 
done
6919
 
done
6920
 
IFS=$as_save_IFS
6921
 
 
6922
 
fi
6923
 
fi
6924
 
CC=$ac_cv_prog_CC
6925
 
if test -n "$CC"; then
6926
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
6927
 
$as_echo "$CC" >&6; }
6928
 
else
6929
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6930
 
$as_echo "no" >&6; }
6931
 
fi
6932
 
 
6933
 
 
6934
 
fi
6935
 
if test -z "$ac_cv_prog_CC"; then
6936
 
  ac_ct_CC=$CC
6937
 
  # Extract the first word of "gcc", so it can be a program name with args.
6938
 
set dummy gcc; ac_word=$2
6939
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6940
 
$as_echo_n "checking for $ac_word... " >&6; }
6941
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6942
 
  $as_echo_n "(cached) " >&6
6943
 
else
6944
 
  if test -n "$ac_ct_CC"; then
6945
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6946
 
else
6947
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948
 
for as_dir in $PATH
6949
 
do
6950
 
  IFS=$as_save_IFS
6951
 
  test -z "$as_dir" && as_dir=.
6952
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6953
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954
 
    ac_cv_prog_ac_ct_CC="gcc"
6955
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6956
 
    break 2
6957
 
  fi
6958
 
done
6959
 
done
6960
 
IFS=$as_save_IFS
6961
 
 
6962
 
fi
6963
 
fi
6964
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
6965
 
if test -n "$ac_ct_CC"; then
6966
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6967
 
$as_echo "$ac_ct_CC" >&6; }
6968
 
else
6969
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
6970
 
$as_echo "no" >&6; }
6971
 
fi
6972
 
 
6973
 
  if test "x$ac_ct_CC" = x; then
6974
 
    CC=""
6975
 
  else
6976
 
    case $cross_compiling:$ac_tool_warned in
6977
 
yes:)
6978
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6979
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6980
 
ac_tool_warned=yes ;;
6981
 
esac
6982
 
    CC=$ac_ct_CC
6983
 
  fi
6984
 
else
6985
 
  CC="$ac_cv_prog_CC"
6986
 
fi
6987
 
 
6988
 
if test -z "$CC"; then
6989
 
          if test -n "$ac_tool_prefix"; then
6990
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6991
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
6992
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6993
 
$as_echo_n "checking for $ac_word... " >&6; }
6994
 
if test "${ac_cv_prog_CC+set}" = set; then
6995
 
  $as_echo_n "(cached) " >&6
6996
 
else
6997
 
  if test -n "$CC"; then
6998
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
6999
 
else
7000
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001
 
for as_dir in $PATH
7002
 
do
7003
 
  IFS=$as_save_IFS
7004
 
  test -z "$as_dir" && as_dir=.
7005
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7006
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7007
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
7008
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7009
 
    break 2
7010
 
  fi
7011
 
done
7012
 
done
7013
 
IFS=$as_save_IFS
7014
 
 
7015
 
fi
7016
 
fi
7017
 
CC=$ac_cv_prog_CC
7018
 
if test -n "$CC"; then
7019
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
7020
 
$as_echo "$CC" >&6; }
7021
 
else
7022
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7023
 
$as_echo "no" >&6; }
7024
 
fi
7025
 
 
7026
 
 
7027
 
  fi
7028
 
fi
7029
 
if test -z "$CC"; then
7030
 
  # Extract the first word of "cc", so it can be a program name with args.
7031
 
set dummy cc; ac_word=$2
7032
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7033
 
$as_echo_n "checking for $ac_word... " >&6; }
7034
 
if test "${ac_cv_prog_CC+set}" = set; then
7035
 
  $as_echo_n "(cached) " >&6
7036
 
else
7037
 
  if test -n "$CC"; then
7038
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
7039
 
else
7040
 
  ac_prog_rejected=no
7041
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042
 
for as_dir in $PATH
7043
 
do
7044
 
  IFS=$as_save_IFS
7045
 
  test -z "$as_dir" && as_dir=.
7046
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7047
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7048
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7049
 
       ac_prog_rejected=yes
7050
 
       continue
7051
 
     fi
7052
 
    ac_cv_prog_CC="cc"
7053
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7054
 
    break 2
7055
 
  fi
7056
 
done
7057
 
done
7058
 
IFS=$as_save_IFS
7059
 
 
7060
 
if test $ac_prog_rejected = yes; then
7061
 
  # We found a bogon in the path, so make sure we never use it.
7062
 
  set dummy $ac_cv_prog_CC
7063
 
  shift
7064
 
  if test $# != 0; then
7065
 
    # We chose a different compiler from the bogus one.
7066
 
    # However, it has the same basename, so the bogon will be chosen
7067
 
    # first if we set CC to just the basename; use the full file name.
7068
 
    shift
7069
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
7070
 
  fi
7071
 
fi
7072
 
fi
7073
 
fi
7074
 
CC=$ac_cv_prog_CC
7075
 
if test -n "$CC"; then
7076
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
7077
 
$as_echo "$CC" >&6; }
7078
 
else
7079
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7080
 
$as_echo "no" >&6; }
7081
 
fi
7082
 
 
7083
 
 
7084
 
fi
7085
 
if test -z "$CC"; then
7086
 
  if test -n "$ac_tool_prefix"; then
7087
 
  for ac_prog in cl.exe
7088
 
  do
7089
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7090
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7091
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7092
 
$as_echo_n "checking for $ac_word... " >&6; }
7093
 
if test "${ac_cv_prog_CC+set}" = set; then
7094
 
  $as_echo_n "(cached) " >&6
7095
 
else
7096
 
  if test -n "$CC"; then
7097
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
7098
 
else
7099
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100
 
for as_dir in $PATH
7101
 
do
7102
 
  IFS=$as_save_IFS
7103
 
  test -z "$as_dir" && as_dir=.
7104
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7105
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7106
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7107
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7108
 
    break 2
7109
 
  fi
7110
 
done
7111
 
done
7112
 
IFS=$as_save_IFS
7113
 
 
7114
 
fi
7115
 
fi
7116
 
CC=$ac_cv_prog_CC
7117
 
if test -n "$CC"; then
7118
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
7119
 
$as_echo "$CC" >&6; }
7120
 
else
7121
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7122
 
$as_echo "no" >&6; }
7123
 
fi
7124
 
 
7125
 
 
7126
 
    test -n "$CC" && break
7127
 
  done
7128
 
fi
7129
 
if test -z "$CC"; then
7130
 
  ac_ct_CC=$CC
7131
 
  for ac_prog in cl.exe
7132
 
do
7133
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7134
 
set dummy $ac_prog; ac_word=$2
7135
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7136
 
$as_echo_n "checking for $ac_word... " >&6; }
7137
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7138
 
  $as_echo_n "(cached) " >&6
7139
 
else
7140
 
  if test -n "$ac_ct_CC"; then
7141
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7142
 
else
7143
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144
 
for as_dir in $PATH
7145
 
do
7146
 
  IFS=$as_save_IFS
7147
 
  test -z "$as_dir" && as_dir=.
7148
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7149
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7150
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
7151
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7152
 
    break 2
7153
 
  fi
7154
 
done
7155
 
done
7156
 
IFS=$as_save_IFS
7157
 
 
7158
 
fi
7159
 
fi
7160
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
7161
 
if test -n "$ac_ct_CC"; then
7162
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7163
 
$as_echo "$ac_ct_CC" >&6; }
7164
 
else
7165
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7166
 
$as_echo "no" >&6; }
7167
 
fi
7168
 
 
7169
 
 
7170
 
  test -n "$ac_ct_CC" && break
7171
 
done
7172
 
 
7173
 
  if test "x$ac_ct_CC" = x; then
7174
 
    CC=""
7175
 
  else
7176
 
    case $cross_compiling:$ac_tool_warned in
7177
 
yes:)
7178
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7179
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7180
 
ac_tool_warned=yes ;;
7181
 
esac
7182
 
    CC=$ac_ct_CC
7183
 
  fi
7184
 
fi
7185
 
 
7186
 
fi
7187
 
 
7188
 
 
7189
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7190
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7191
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
7192
 
See \`config.log' for more details." >&5
7193
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
7194
 
See \`config.log' for more details." >&2;}
7195
 
   { (exit 1); exit 1; }; }; }
7196
 
 
7197
 
# Provide some information about the compiler.
7198
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
7199
 
set X $ac_compile
7200
 
ac_compiler=$2
7201
 
{ (ac_try="$ac_compiler --version >&5"
7202
 
case "(($ac_try" in
7203
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7204
 
  *) ac_try_echo=$ac_try;;
7205
 
esac
7206
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7207
 
$as_echo "$ac_try_echo") >&5
7208
 
  (eval "$ac_compiler --version >&5") 2>&5
7209
 
  ac_status=$?
7210
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211
 
  (exit $ac_status); }
7212
 
{ (ac_try="$ac_compiler -v >&5"
7213
 
case "(($ac_try" in
7214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7215
 
  *) ac_try_echo=$ac_try;;
7216
 
esac
7217
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7218
 
$as_echo "$ac_try_echo") >&5
7219
 
  (eval "$ac_compiler -v >&5") 2>&5
7220
 
  ac_status=$?
7221
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222
 
  (exit $ac_status); }
7223
 
{ (ac_try="$ac_compiler -V >&5"
7224
 
case "(($ac_try" in
7225
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7226
 
  *) ac_try_echo=$ac_try;;
7227
 
esac
7228
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7229
 
$as_echo "$ac_try_echo") >&5
7230
 
  (eval "$ac_compiler -V >&5") 2>&5
7231
 
  ac_status=$?
7232
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233
 
  (exit $ac_status); }
7234
 
 
7235
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
7236
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
7237
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
7238
 
  $as_echo_n "(cached) " >&6
7239
 
else
7240
 
  cat >conftest.$ac_ext <<_ACEOF
7241
 
/* confdefs.h.  */
7242
 
_ACEOF
7243
 
cat confdefs.h >>conftest.$ac_ext
7244
 
cat >>conftest.$ac_ext <<_ACEOF
7245
 
/* end confdefs.h.  */
7246
 
 
7247
 
int
7248
 
main ()
7249
 
{
7250
 
#ifndef __GNUC__
7251
 
       choke me
7252
 
#endif
7253
 
 
7254
 
  ;
7255
 
  return 0;
7256
 
}
7257
 
_ACEOF
7258
 
rm -f conftest.$ac_objext
7259
 
if { (ac_try="$ac_compile"
7260
 
case "(($ac_try" in
7261
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262
 
  *) ac_try_echo=$ac_try;;
7263
 
esac
7264
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7265
 
$as_echo "$ac_try_echo") >&5
7266
 
  (eval "$ac_compile") 2>conftest.er1
7267
 
  ac_status=$?
7268
 
  grep -v '^ *+' conftest.er1 >conftest.err
7269
 
  rm -f conftest.er1
7270
 
  cat conftest.err >&5
7271
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272
 
  (exit $ac_status); } && {
7273
 
         test -z "$ac_c_werror_flag" ||
7274
 
         test ! -s conftest.err
7275
 
       } && test -s conftest.$ac_objext; then
7276
 
  ac_compiler_gnu=yes
7277
 
else
7278
 
  $as_echo "$as_me: failed program was:" >&5
7279
 
sed 's/^/| /' conftest.$ac_ext >&5
7280
 
 
7281
 
        ac_compiler_gnu=no
7282
 
fi
7283
 
 
7284
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7285
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
7286
 
 
7287
 
fi
7288
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
7289
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
7290
 
if test $ac_compiler_gnu = yes; then
7291
 
  GCC=yes
7292
 
else
7293
 
  GCC=
7294
 
fi
7295
 
ac_test_CFLAGS=${CFLAGS+set}
7296
 
ac_save_CFLAGS=$CFLAGS
7297
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
7298
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
7299
 
if test "${ac_cv_prog_cc_g+set}" = set; then
7300
 
  $as_echo_n "(cached) " >&6
7301
 
else
7302
 
  ac_save_c_werror_flag=$ac_c_werror_flag
7303
 
   ac_c_werror_flag=yes
7304
 
   ac_cv_prog_cc_g=no
7305
 
   CFLAGS="-g"
7306
 
   cat >conftest.$ac_ext <<_ACEOF
7307
 
/* confdefs.h.  */
7308
 
_ACEOF
7309
 
cat confdefs.h >>conftest.$ac_ext
7310
 
cat >>conftest.$ac_ext <<_ACEOF
7311
 
/* end confdefs.h.  */
7312
 
 
7313
 
int
7314
 
main ()
7315
 
{
7316
 
 
7317
 
  ;
7318
 
  return 0;
7319
 
}
7320
 
_ACEOF
7321
 
rm -f conftest.$ac_objext
7322
 
if { (ac_try="$ac_compile"
7323
 
case "(($ac_try" in
7324
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7325
 
  *) ac_try_echo=$ac_try;;
7326
 
esac
7327
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7328
 
$as_echo "$ac_try_echo") >&5
7329
 
  (eval "$ac_compile") 2>conftest.er1
7330
 
  ac_status=$?
7331
 
  grep -v '^ *+' conftest.er1 >conftest.err
7332
 
  rm -f conftest.er1
7333
 
  cat conftest.err >&5
7334
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335
 
  (exit $ac_status); } && {
7336
 
         test -z "$ac_c_werror_flag" ||
7337
 
         test ! -s conftest.err
7338
 
       } && test -s conftest.$ac_objext; then
7339
 
  ac_cv_prog_cc_g=yes
7340
 
else
7341
 
  $as_echo "$as_me: failed program was:" >&5
7342
 
sed 's/^/| /' conftest.$ac_ext >&5
7343
 
 
7344
 
        CFLAGS=""
7345
 
      cat >conftest.$ac_ext <<_ACEOF
7346
 
/* confdefs.h.  */
7347
 
_ACEOF
7348
 
cat confdefs.h >>conftest.$ac_ext
7349
 
cat >>conftest.$ac_ext <<_ACEOF
7350
 
/* end confdefs.h.  */
7351
 
 
7352
 
int
7353
 
main ()
7354
 
{
7355
 
 
7356
 
  ;
7357
 
  return 0;
7358
 
}
7359
 
_ACEOF
7360
 
rm -f conftest.$ac_objext
7361
 
if { (ac_try="$ac_compile"
7362
 
case "(($ac_try" in
7363
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364
 
  *) ac_try_echo=$ac_try;;
7365
 
esac
7366
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7367
 
$as_echo "$ac_try_echo") >&5
7368
 
  (eval "$ac_compile") 2>conftest.er1
7369
 
  ac_status=$?
7370
 
  grep -v '^ *+' conftest.er1 >conftest.err
7371
 
  rm -f conftest.er1
7372
 
  cat conftest.err >&5
7373
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374
 
  (exit $ac_status); } && {
7375
 
         test -z "$ac_c_werror_flag" ||
7376
 
         test ! -s conftest.err
7377
 
       } && test -s conftest.$ac_objext; then
7378
 
  :
7379
 
else
7380
 
  $as_echo "$as_me: failed program was:" >&5
7381
 
sed 's/^/| /' conftest.$ac_ext >&5
7382
 
 
7383
 
        ac_c_werror_flag=$ac_save_c_werror_flag
7384
 
         CFLAGS="-g"
7385
 
         cat >conftest.$ac_ext <<_ACEOF
7386
 
/* confdefs.h.  */
7387
 
_ACEOF
7388
 
cat confdefs.h >>conftest.$ac_ext
7389
 
cat >>conftest.$ac_ext <<_ACEOF
7390
 
/* end confdefs.h.  */
7391
 
 
7392
 
int
7393
 
main ()
7394
 
{
7395
 
 
7396
 
  ;
7397
 
  return 0;
7398
 
}
7399
 
_ACEOF
7400
 
rm -f conftest.$ac_objext
7401
 
if { (ac_try="$ac_compile"
7402
 
case "(($ac_try" in
7403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7404
 
  *) ac_try_echo=$ac_try;;
7405
 
esac
7406
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7407
 
$as_echo "$ac_try_echo") >&5
7408
 
  (eval "$ac_compile") 2>conftest.er1
7409
 
  ac_status=$?
7410
 
  grep -v '^ *+' conftest.er1 >conftest.err
7411
 
  rm -f conftest.er1
7412
 
  cat conftest.err >&5
7413
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414
 
  (exit $ac_status); } && {
7415
 
         test -z "$ac_c_werror_flag" ||
7416
 
         test ! -s conftest.err
7417
 
       } && test -s conftest.$ac_objext; then
7418
 
  ac_cv_prog_cc_g=yes
7419
 
else
7420
 
  $as_echo "$as_me: failed program was:" >&5
7421
 
sed 's/^/| /' conftest.$ac_ext >&5
7422
 
 
7423
 
 
7424
 
fi
7425
 
 
7426
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7427
 
fi
7428
 
 
7429
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7430
 
fi
7431
 
 
7432
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7433
 
   ac_c_werror_flag=$ac_save_c_werror_flag
7434
 
fi
7435
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
7436
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
7437
 
if test "$ac_test_CFLAGS" = set; then
7438
 
  CFLAGS=$ac_save_CFLAGS
7439
 
elif test $ac_cv_prog_cc_g = yes; then
7440
 
  if test "$GCC" = yes; then
7441
 
    CFLAGS="-g -O2"
7442
 
  else
7443
 
    CFLAGS="-g"
7444
 
  fi
7445
 
else
7446
 
  if test "$GCC" = yes; then
7447
 
    CFLAGS="-O2"
7448
 
  else
7449
 
    CFLAGS=
7450
 
  fi
7451
 
fi
7452
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
7453
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7454
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
7455
 
  $as_echo_n "(cached) " >&6
7456
 
else
7457
 
  ac_cv_prog_cc_c89=no
7458
 
ac_save_CC=$CC
7459
 
cat >conftest.$ac_ext <<_ACEOF
7460
 
/* confdefs.h.  */
7461
 
_ACEOF
7462
 
cat confdefs.h >>conftest.$ac_ext
7463
 
cat >>conftest.$ac_ext <<_ACEOF
7464
 
/* end confdefs.h.  */
7465
 
#include <stdarg.h>
7466
 
#include <stdio.h>
7467
 
#include <sys/types.h>
7468
 
#include <sys/stat.h>
7469
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
7470
 
struct buf { int x; };
7471
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
7472
 
static char *e (p, i)
7473
 
     char **p;
7474
 
     int i;
7475
 
{
7476
 
  return p[i];
7477
 
}
7478
 
static char *f (char * (*g) (char **, int), char **p, ...)
7479
 
{
7480
 
  char *s;
7481
 
  va_list v;
7482
 
  va_start (v,p);
7483
 
  s = g (p, va_arg (v,int));
7484
 
  va_end (v);
7485
 
  return s;
7486
 
}
7487
 
 
7488
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
7489
 
   function prototypes and stuff, but not '\xHH' hex character constants.
7490
 
   These don't provoke an error unfortunately, instead are silently treated
7491
 
   as 'x'.  The following induces an error, until -std is added to get
7492
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
7493
 
   array size at least.  It's necessary to write '\x00'==0 to get something
7494
 
   that's true only with -std.  */
7495
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7496
 
 
7497
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7498
 
   inside strings and character constants.  */
7499
 
#define FOO(x) 'x'
7500
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7501
 
 
7502
 
int test (int i, double x);
7503
 
struct s1 {int (*f) (int a);};
7504
 
struct s2 {int (*f) (double a);};
7505
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7506
 
int argc;
7507
 
char **argv;
7508
 
int
7509
 
main ()
7510
 
{
7511
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
7512
 
  ;
7513
 
  return 0;
7514
 
}
7515
 
_ACEOF
7516
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7517
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7518
 
do
7519
 
  CC="$ac_save_CC $ac_arg"
7520
 
  rm -f conftest.$ac_objext
7521
 
if { (ac_try="$ac_compile"
7522
 
case "(($ac_try" in
7523
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524
 
  *) ac_try_echo=$ac_try;;
7525
 
esac
7526
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7527
 
$as_echo "$ac_try_echo") >&5
7528
 
  (eval "$ac_compile") 2>conftest.er1
7529
 
  ac_status=$?
7530
 
  grep -v '^ *+' conftest.er1 >conftest.err
7531
 
  rm -f conftest.er1
7532
 
  cat conftest.err >&5
7533
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534
 
  (exit $ac_status); } && {
7535
 
         test -z "$ac_c_werror_flag" ||
7536
 
         test ! -s conftest.err
7537
 
       } && test -s conftest.$ac_objext; then
7538
 
  ac_cv_prog_cc_c89=$ac_arg
7539
 
else
7540
 
  $as_echo "$as_me: failed program was:" >&5
7541
 
sed 's/^/| /' conftest.$ac_ext >&5
7542
 
 
7543
 
 
7544
 
fi
7545
 
 
7546
 
rm -f core conftest.err conftest.$ac_objext
7547
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
7548
 
done
7549
 
rm -f conftest.$ac_ext
7550
 
CC=$ac_save_CC
7551
 
 
7552
 
fi
7553
 
# AC_CACHE_VAL
7554
 
case "x$ac_cv_prog_cc_c89" in
7555
 
  x)
7556
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
7557
 
$as_echo "none needed" >&6; } ;;
7558
 
  xno)
7559
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
7560
 
$as_echo "unsupported" >&6; } ;;
7561
 
  *)
7562
 
    CC="$CC $ac_cv_prog_cc_c89"
7563
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
7564
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
7565
 
esac
7566
 
 
7567
 
 
7568
 
ac_ext=c
7569
 
ac_cpp='$CPP $CPPFLAGS'
7570
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7571
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7572
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7573
 
 
7574
 
depcc="$CC"   am_compiler_list=
7575
 
 
7576
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7577
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
7578
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
7579
 
  $as_echo_n "(cached) " >&6
7580
 
else
7581
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7582
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7583
 
  # making bogus files that we don't know about and never remove.  For
7584
 
  # instance it was reported that on HP-UX the gcc test will end up
7585
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7586
 
  # in D'.
7587
 
  mkdir conftest.dir
7588
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7589
 
  # using a relative directory.
7590
 
  cp "$am_depcomp" conftest.dir
7591
 
  cd conftest.dir
7592
 
  # We will build objects and dependencies in a subdirectory because
7593
 
  # it helps to detect inapplicable dependency modes.  For instance
7594
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7595
 
  # side effect of compilation, but ICC will put the dependencies in
7596
 
  # the current directory while Tru64 will put them in the object
7597
 
  # directory.
7598
 
  mkdir sub
7599
 
 
7600
 
  am_cv_CC_dependencies_compiler_type=none
7601
 
  if test "$am_compiler_list" = ""; then
7602
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7603
 
  fi
7604
 
  am__universal=false
7605
 
  case " $depcc " in #(
7606
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
7607
 
     esac
7608
 
 
7609
 
  for depmode in $am_compiler_list; do
7610
 
    # Setup a source with many dependencies, because some compilers
7611
 
    # like to wrap large dependency lists on column 80 (with \), and
7612
 
    # we should not choose a depcomp mode which is confused by this.
7613
 
    #
7614
 
    # We need to recreate these files for each test, as the compiler may
7615
 
    # overwrite some of them when testing with obscure command lines.
7616
 
    # This happens at least with the AIX C compiler.
7617
 
    : > sub/conftest.c
7618
 
    for i in 1 2 3 4 5 6; do
7619
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7620
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7621
 
      # Solaris 8's {/usr,}/bin/sh.
7622
 
      touch sub/conftst$i.h
7623
 
    done
7624
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7625
 
 
7626
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7627
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7628
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
7629
 
    # versions had trouble with output in subdirs
7630
 
    am__obj=sub/conftest.${OBJEXT-o}
7631
 
    am__minus_obj="-o $am__obj"
7632
 
    case $depmode in
7633
 
    gcc)
7634
 
      # This depmode causes a compiler race in universal mode.
7635
 
      test "$am__universal" = false || continue
7636
 
      ;;
7637
 
    nosideeffect)
7638
 
      # after this tag, mechanisms are not by side-effect, so they'll
7639
 
      # only be used when explicitly requested
7640
 
      if test "x$enable_dependency_tracking" = xyes; then
7641
 
        continue
7642
 
      else
7643
 
        break
7644
 
      fi
7645
 
      ;;
7646
 
    msvisualcpp | msvcmsys)
7647
 
      # This compiler won't grok `-c -o', but also, the minuso test has
7648
 
      # not run yet.  These depmodes are late enough in the game, and
7649
 
      # so weak that their functioning should not be impacted.
7650
 
      am__obj=conftest.${OBJEXT-o}
7651
 
      am__minus_obj=
7652
 
      ;;
7653
 
    none) break ;;
7654
 
    esac
7655
 
    if depmode=$depmode \
7656
 
       source=sub/conftest.c object=$am__obj \
7657
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7658
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7659
 
         >/dev/null 2>conftest.err &&
7660
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7661
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7662
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7663
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7664
 
      # icc doesn't choke on unknown options, it will just issue warnings
7665
 
      # or remarks (even with -Werror).  So we grep stderr for any message
7666
 
      # that says an option was ignored or not supported.
7667
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
7668
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
7669
 
      # The diagnosis changed in icc 8.0:
7670
 
      #   icc: Command line remark: option '-MP' not supported
7671
 
      if (grep 'ignoring option' conftest.err ||
7672
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7673
 
        am_cv_CC_dependencies_compiler_type=$depmode
7674
 
        break
7675
 
      fi
7676
 
    fi
7677
 
  done
7678
 
 
7679
 
  cd ..
7680
 
  rm -rf conftest.dir
7681
 
else
7682
 
  am_cv_CC_dependencies_compiler_type=none
7683
 
fi
7684
 
 
7685
 
fi
7686
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7687
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7688
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7689
 
 
7690
 
 if
7691
 
  test "x$enable_dependency_tracking" != xno \
7692
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7693
 
  am__fastdepCC_TRUE=
7694
 
  am__fastdepCC_FALSE='#'
7695
 
else
7696
 
  am__fastdepCC_TRUE='#'
7697
 
  am__fastdepCC_FALSE=
7698
 
fi
7699
 
 
7700
 
 
7701
 
ac_ext=cpp
7702
 
ac_cpp='$CXXCPP $CPPFLAGS'
7703
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7704
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7705
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7706
 
if test -z "$CXX"; then
7707
 
  if test -n "$CCC"; then
7708
 
    CXX=$CCC
7709
 
  else
7710
 
    if test -n "$ac_tool_prefix"; then
7711
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7712
 
  do
7713
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7714
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7715
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7716
 
$as_echo_n "checking for $ac_word... " >&6; }
7717
 
if test "${ac_cv_prog_CXX+set}" = set; then
7718
 
  $as_echo_n "(cached) " >&6
7719
 
else
7720
 
  if test -n "$CXX"; then
7721
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7722
 
else
7723
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724
 
for as_dir in $PATH
7725
 
do
7726
 
  IFS=$as_save_IFS
7727
 
  test -z "$as_dir" && as_dir=.
7728
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7729
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7731
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7732
 
    break 2
7733
 
  fi
7734
 
done
7735
 
done
7736
 
IFS=$as_save_IFS
7737
 
 
7738
 
fi
7739
 
fi
7740
 
CXX=$ac_cv_prog_CXX
7741
 
if test -n "$CXX"; then
7742
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
7743
 
$as_echo "$CXX" >&6; }
7744
 
else
7745
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7746
 
$as_echo "no" >&6; }
7747
 
fi
7748
 
 
7749
 
 
7750
 
    test -n "$CXX" && break
7751
 
  done
7752
 
fi
7753
 
if test -z "$CXX"; then
7754
 
  ac_ct_CXX=$CXX
7755
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7756
 
do
7757
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7758
 
set dummy $ac_prog; ac_word=$2
7759
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7760
 
$as_echo_n "checking for $ac_word... " >&6; }
7761
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7762
 
  $as_echo_n "(cached) " >&6
7763
 
else
7764
 
  if test -n "$ac_ct_CXX"; then
7765
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7766
 
else
7767
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768
 
for as_dir in $PATH
7769
 
do
7770
 
  IFS=$as_save_IFS
7771
 
  test -z "$as_dir" && as_dir=.
7772
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7773
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7775
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7776
 
    break 2
7777
 
  fi
7778
 
done
7779
 
done
7780
 
IFS=$as_save_IFS
7781
 
 
7782
 
fi
7783
 
fi
7784
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7785
 
if test -n "$ac_ct_CXX"; then
7786
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7787
 
$as_echo "$ac_ct_CXX" >&6; }
7788
 
else
7789
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7790
 
$as_echo "no" >&6; }
7791
 
fi
7792
 
 
7793
 
 
7794
 
  test -n "$ac_ct_CXX" && break
7795
 
done
7796
 
 
7797
 
  if test "x$ac_ct_CXX" = x; then
7798
 
    CXX="g++"
7799
 
  else
7800
 
    case $cross_compiling:$ac_tool_warned in
7801
 
yes:)
7802
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7803
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7804
 
ac_tool_warned=yes ;;
7805
 
esac
7806
 
    CXX=$ac_ct_CXX
7807
 
  fi
7808
 
fi
7809
 
 
7810
 
  fi
7811
 
fi
7812
 
# Provide some information about the compiler.
7813
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7814
 
set X $ac_compile
7815
 
ac_compiler=$2
7816
 
{ (ac_try="$ac_compiler --version >&5"
7817
 
case "(($ac_try" in
7818
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7819
 
  *) ac_try_echo=$ac_try;;
7820
 
esac
7821
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7822
 
$as_echo "$ac_try_echo") >&5
7823
 
  (eval "$ac_compiler --version >&5") 2>&5
7824
 
  ac_status=$?
7825
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826
 
  (exit $ac_status); }
7827
 
{ (ac_try="$ac_compiler -v >&5"
7828
 
case "(($ac_try" in
7829
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830
 
  *) ac_try_echo=$ac_try;;
7831
 
esac
7832
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7833
 
$as_echo "$ac_try_echo") >&5
7834
 
  (eval "$ac_compiler -v >&5") 2>&5
7835
 
  ac_status=$?
7836
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837
 
  (exit $ac_status); }
7838
 
{ (ac_try="$ac_compiler -V >&5"
7839
 
case "(($ac_try" in
7840
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7841
 
  *) ac_try_echo=$ac_try;;
7842
 
esac
7843
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7844
 
$as_echo "$ac_try_echo") >&5
7845
 
  (eval "$ac_compiler -V >&5") 2>&5
7846
 
  ac_status=$?
7847
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848
 
  (exit $ac_status); }
7849
 
 
7850
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7851
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7852
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7853
 
  $as_echo_n "(cached) " >&6
7854
 
else
7855
 
  cat >conftest.$ac_ext <<_ACEOF
7856
 
/* confdefs.h.  */
7857
 
_ACEOF
7858
 
cat confdefs.h >>conftest.$ac_ext
7859
 
cat >>conftest.$ac_ext <<_ACEOF
7860
 
/* end confdefs.h.  */
7861
 
 
7862
 
int
7863
 
main ()
7864
 
{
7865
 
#ifndef __GNUC__
7866
 
       choke me
7867
 
#endif
7868
 
 
7869
 
  ;
7870
 
  return 0;
7871
 
}
7872
 
_ACEOF
7873
 
rm -f conftest.$ac_objext
7874
 
if { (ac_try="$ac_compile"
7875
 
case "(($ac_try" in
7876
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7877
 
  *) ac_try_echo=$ac_try;;
7878
 
esac
7879
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7880
 
$as_echo "$ac_try_echo") >&5
7881
 
  (eval "$ac_compile") 2>conftest.er1
7882
 
  ac_status=$?
7883
 
  grep -v '^ *+' conftest.er1 >conftest.err
7884
 
  rm -f conftest.er1
7885
 
  cat conftest.err >&5
7886
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887
 
  (exit $ac_status); } && {
7888
 
         test -z "$ac_cxx_werror_flag" ||
7889
 
         test ! -s conftest.err
7890
 
       } && test -s conftest.$ac_objext; then
7891
 
  ac_compiler_gnu=yes
7892
 
else
7893
 
  $as_echo "$as_me: failed program was:" >&5
7894
 
sed 's/^/| /' conftest.$ac_ext >&5
7895
 
 
7896
 
        ac_compiler_gnu=no
7897
 
fi
7898
 
 
7899
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7900
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7901
 
 
7902
 
fi
7903
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7904
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7905
 
if test $ac_compiler_gnu = yes; then
7906
 
  GXX=yes
7907
 
else
7908
 
  GXX=
7909
 
fi
7910
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
7911
 
ac_save_CXXFLAGS=$CXXFLAGS
7912
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7913
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7914
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
7915
 
  $as_echo_n "(cached) " >&6
7916
 
else
7917
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7918
 
   ac_cxx_werror_flag=yes
7919
 
   ac_cv_prog_cxx_g=no
7920
 
   CXXFLAGS="-g"
7921
 
   cat >conftest.$ac_ext <<_ACEOF
7922
 
/* confdefs.h.  */
7923
 
_ACEOF
7924
 
cat confdefs.h >>conftest.$ac_ext
7925
 
cat >>conftest.$ac_ext <<_ACEOF
7926
 
/* end confdefs.h.  */
7927
 
 
7928
 
int
7929
 
main ()
7930
 
{
7931
 
 
7932
 
  ;
7933
 
  return 0;
7934
 
}
7935
 
_ACEOF
7936
 
rm -f conftest.$ac_objext
7937
 
if { (ac_try="$ac_compile"
7938
 
case "(($ac_try" in
7939
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940
 
  *) ac_try_echo=$ac_try;;
7941
 
esac
7942
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7943
 
$as_echo "$ac_try_echo") >&5
7944
 
  (eval "$ac_compile") 2>conftest.er1
7945
 
  ac_status=$?
7946
 
  grep -v '^ *+' conftest.er1 >conftest.err
7947
 
  rm -f conftest.er1
7948
 
  cat conftest.err >&5
7949
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950
 
  (exit $ac_status); } && {
7951
 
         test -z "$ac_cxx_werror_flag" ||
7952
 
         test ! -s conftest.err
7953
 
       } && test -s conftest.$ac_objext; then
7954
 
  ac_cv_prog_cxx_g=yes
7955
 
else
7956
 
  $as_echo "$as_me: failed program was:" >&5
7957
 
sed 's/^/| /' conftest.$ac_ext >&5
7958
 
 
7959
 
        CXXFLAGS=""
7960
 
      cat >conftest.$ac_ext <<_ACEOF
7961
 
/* confdefs.h.  */
7962
 
_ACEOF
7963
 
cat confdefs.h >>conftest.$ac_ext
7964
 
cat >>conftest.$ac_ext <<_ACEOF
7965
 
/* end confdefs.h.  */
7966
 
 
7967
 
int
7968
 
main ()
7969
 
{
7970
 
 
7971
 
  ;
7972
 
  return 0;
7973
 
}
7974
 
_ACEOF
7975
 
rm -f conftest.$ac_objext
7976
 
if { (ac_try="$ac_compile"
7977
 
case "(($ac_try" in
7978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7979
 
  *) ac_try_echo=$ac_try;;
7980
 
esac
7981
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7982
 
$as_echo "$ac_try_echo") >&5
7983
 
  (eval "$ac_compile") 2>conftest.er1
7984
 
  ac_status=$?
7985
 
  grep -v '^ *+' conftest.er1 >conftest.err
7986
 
  rm -f conftest.er1
7987
 
  cat conftest.err >&5
7988
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989
 
  (exit $ac_status); } && {
7990
 
         test -z "$ac_cxx_werror_flag" ||
7991
 
         test ! -s conftest.err
7992
 
       } && test -s conftest.$ac_objext; then
7993
 
  :
7994
 
else
7995
 
  $as_echo "$as_me: failed program was:" >&5
7996
 
sed 's/^/| /' conftest.$ac_ext >&5
7997
 
 
7998
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7999
 
         CXXFLAGS="-g"
8000
 
         cat >conftest.$ac_ext <<_ACEOF
8001
 
/* confdefs.h.  */
8002
 
_ACEOF
8003
 
cat confdefs.h >>conftest.$ac_ext
8004
 
cat >>conftest.$ac_ext <<_ACEOF
8005
 
/* end confdefs.h.  */
8006
 
 
8007
 
int
8008
 
main ()
8009
 
{
8010
 
 
8011
 
  ;
8012
 
  return 0;
8013
 
}
8014
 
_ACEOF
8015
 
rm -f conftest.$ac_objext
8016
 
if { (ac_try="$ac_compile"
8017
 
case "(($ac_try" in
8018
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8019
 
  *) ac_try_echo=$ac_try;;
8020
 
esac
8021
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8022
 
$as_echo "$ac_try_echo") >&5
8023
 
  (eval "$ac_compile") 2>conftest.er1
8024
 
  ac_status=$?
8025
 
  grep -v '^ *+' conftest.er1 >conftest.err
8026
 
  rm -f conftest.er1
8027
 
  cat conftest.err >&5
8028
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029
 
  (exit $ac_status); } && {
8030
 
         test -z "$ac_cxx_werror_flag" ||
8031
 
         test ! -s conftest.err
8032
 
       } && test -s conftest.$ac_objext; then
8033
 
  ac_cv_prog_cxx_g=yes
8034
 
else
8035
 
  $as_echo "$as_me: failed program was:" >&5
8036
 
sed 's/^/| /' conftest.$ac_ext >&5
8037
 
 
8038
 
 
8039
 
fi
8040
 
 
8041
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8042
 
fi
8043
 
 
8044
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8045
 
fi
8046
 
 
8047
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8048
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8049
 
fi
8050
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8051
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8052
 
if test "$ac_test_CXXFLAGS" = set; then
8053
 
  CXXFLAGS=$ac_save_CXXFLAGS
8054
 
elif test $ac_cv_prog_cxx_g = yes; then
8055
 
  if test "$GXX" = yes; then
8056
 
    CXXFLAGS="-g -O2"
8057
 
  else
8058
 
    CXXFLAGS="-g"
8059
 
  fi
8060
 
else
8061
 
  if test "$GXX" = yes; then
8062
 
    CXXFLAGS="-O2"
8063
 
  else
8064
 
    CXXFLAGS=
8065
 
  fi
8066
 
fi
8067
 
ac_ext=c
8068
 
ac_cpp='$CPP $CPPFLAGS'
8069
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8070
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8071
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8072
 
 
8073
 
depcc="$CXX"  am_compiler_list=
8074
 
 
8075
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8076
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
8077
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
8078
 
  $as_echo_n "(cached) " >&6
8079
 
else
8080
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8081
 
  # We make a subdir and do the tests there.  Otherwise we can end up
8082
 
  # making bogus files that we don't know about and never remove.  For
8083
 
  # instance it was reported that on HP-UX the gcc test will end up
8084
 
  # making a dummy file named `D' -- because `-MD' means `put the output
8085
 
  # in D'.
8086
 
  mkdir conftest.dir
8087
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
8088
 
  # using a relative directory.
8089
 
  cp "$am_depcomp" conftest.dir
8090
 
  cd conftest.dir
8091
 
  # We will build objects and dependencies in a subdirectory because
8092
 
  # it helps to detect inapplicable dependency modes.  For instance
8093
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
8094
 
  # side effect of compilation, but ICC will put the dependencies in
8095
 
  # the current directory while Tru64 will put them in the object
8096
 
  # directory.
8097
 
  mkdir sub
8098
 
 
8099
 
  am_cv_CXX_dependencies_compiler_type=none
8100
 
  if test "$am_compiler_list" = ""; then
8101
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8102
 
  fi
8103
 
  am__universal=false
8104
 
  case " $depcc " in #(
8105
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8106
 
     esac
8107
 
 
8108
 
  for depmode in $am_compiler_list; do
8109
 
    # Setup a source with many dependencies, because some compilers
8110
 
    # like to wrap large dependency lists on column 80 (with \), and
8111
 
    # we should not choose a depcomp mode which is confused by this.
8112
 
    #
8113
 
    # We need to recreate these files for each test, as the compiler may
8114
 
    # overwrite some of them when testing with obscure command lines.
8115
 
    # This happens at least with the AIX C compiler.
8116
 
    : > sub/conftest.c
8117
 
    for i in 1 2 3 4 5 6; do
8118
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8119
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8120
 
      # Solaris 8's {/usr,}/bin/sh.
8121
 
      touch sub/conftst$i.h
8122
 
    done
8123
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8124
 
 
8125
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8126
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8127
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
8128
 
    # versions had trouble with output in subdirs
8129
 
    am__obj=sub/conftest.${OBJEXT-o}
8130
 
    am__minus_obj="-o $am__obj"
8131
 
    case $depmode in
8132
 
    gcc)
8133
 
      # This depmode causes a compiler race in universal mode.
8134
 
      test "$am__universal" = false || continue
8135
 
      ;;
8136
 
    nosideeffect)
8137
 
      # after this tag, mechanisms are not by side-effect, so they'll
8138
 
      # only be used when explicitly requested
8139
 
      if test "x$enable_dependency_tracking" = xyes; then
8140
 
        continue
8141
 
      else
8142
 
        break
8143
 
      fi
8144
 
      ;;
8145
 
    msvisualcpp | msvcmsys)
8146
 
      # This compiler won't grok `-c -o', but also, the minuso test has
8147
 
      # not run yet.  These depmodes are late enough in the game, and
8148
 
      # so weak that their functioning should not be impacted.
8149
 
      am__obj=conftest.${OBJEXT-o}
8150
 
      am__minus_obj=
8151
 
      ;;
8152
 
    none) break ;;
8153
 
    esac
8154
 
    if depmode=$depmode \
8155
 
       source=sub/conftest.c object=$am__obj \
8156
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8157
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8158
 
         >/dev/null 2>conftest.err &&
8159
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8160
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8161
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8162
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8163
 
      # icc doesn't choke on unknown options, it will just issue warnings
8164
 
      # or remarks (even with -Werror).  So we grep stderr for any message
8165
 
      # that says an option was ignored or not supported.
8166
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
8167
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
8168
 
      # The diagnosis changed in icc 8.0:
8169
 
      #   icc: Command line remark: option '-MP' not supported
8170
 
      if (grep 'ignoring option' conftest.err ||
8171
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8172
 
        am_cv_CXX_dependencies_compiler_type=$depmode
8173
 
        break
8174
 
      fi
8175
 
    fi
8176
 
  done
8177
 
 
8178
 
  cd ..
8179
 
  rm -rf conftest.dir
8180
 
else
8181
 
  am_cv_CXX_dependencies_compiler_type=none
8182
 
fi
8183
 
 
8184
 
fi
8185
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
8186
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8187
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8188
 
 
8189
 
 if
8190
 
  test "x$enable_dependency_tracking" != xno \
8191
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8192
 
  am__fastdepCXX_TRUE=
8193
 
  am__fastdepCXX_FALSE='#'
8194
 
else
8195
 
  am__fastdepCXX_TRUE='#'
8196
 
  am__fastdepCXX_FALSE=
8197
 
fi
8198
 
 
8199
 
 
8200
 
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
8201
 
$as_echo_n "checking for inline... " >&6; }
8202
 
if test "${ac_cv_c_inline+set}" = set; then
8203
 
  $as_echo_n "(cached) " >&6
8204
 
else
8205
 
  ac_cv_c_inline=no
8206
 
for ac_kw in inline __inline__ __inline; do
8207
 
  cat >conftest.$ac_ext <<_ACEOF
8208
 
/* confdefs.h.  */
8209
 
_ACEOF
8210
 
cat confdefs.h >>conftest.$ac_ext
8211
 
cat >>conftest.$ac_ext <<_ACEOF
8212
 
/* end confdefs.h.  */
8213
 
#ifndef __cplusplus
8214
 
typedef int foo_t;
8215
 
static $ac_kw foo_t static_foo () {return 0; }
8216
 
$ac_kw foo_t foo () {return 0; }
8217
 
#endif
8218
 
 
8219
 
_ACEOF
8220
 
rm -f conftest.$ac_objext
8221
 
if { (ac_try="$ac_compile"
8222
 
case "(($ac_try" in
8223
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8224
 
  *) ac_try_echo=$ac_try;;
8225
 
esac
8226
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8227
 
$as_echo "$ac_try_echo") >&5
8228
 
  (eval "$ac_compile") 2>conftest.er1
8229
 
  ac_status=$?
8230
 
  grep -v '^ *+' conftest.er1 >conftest.err
8231
 
  rm -f conftest.er1
8232
 
  cat conftest.err >&5
8233
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234
 
  (exit $ac_status); } && {
8235
 
         test -z "$ac_c_werror_flag" ||
8236
 
         test ! -s conftest.err
8237
 
       } && test -s conftest.$ac_objext; then
8238
 
  ac_cv_c_inline=$ac_kw
8239
 
else
8240
 
  $as_echo "$as_me: failed program was:" >&5
8241
 
sed 's/^/| /' conftest.$ac_ext >&5
8242
 
 
8243
 
 
8244
 
fi
8245
 
 
8246
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8247
 
  test "$ac_cv_c_inline" != no && break
8248
 
done
8249
 
 
8250
 
fi
8251
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8252
 
$as_echo "$ac_cv_c_inline" >&6; }
8253
 
 
8254
 
 
8255
 
case $ac_cv_c_inline in
8256
 
  inline | yes) ;;
8257
 
  *)
8258
 
    case $ac_cv_c_inline in
8259
 
      no) ac_val=;;
8260
 
      *) ac_val=$ac_cv_c_inline;;
8261
 
    esac
8262
 
    cat >>confdefs.h <<_ACEOF
8263
 
#ifndef __cplusplus
8264
 
#define inline $ac_val
8265
 
#endif
8266
 
_ACEOF
8267
 
    ;;
8268
 
esac
8269
 
 
8270
5376
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8271
5377
# for constant arguments.  Useless!
8272
5378
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
8888
5994
 
8889
5995
 
8890
5996
 
 
5997
ac_ext=cpp
 
5998
ac_cpp='$CXXCPP $CPPFLAGS'
 
5999
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6000
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6001
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
6002
if test -z "$CXX"; then
 
6003
  if test -n "$CCC"; then
 
6004
    CXX=$CCC
 
6005
  else
 
6006
    if test -n "$ac_tool_prefix"; then
 
6007
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
6008
  do
 
6009
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6010
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6011
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6012
$as_echo_n "checking for $ac_word... " >&6; }
 
6013
if test "${ac_cv_prog_CXX+set}" = set; then
 
6014
  $as_echo_n "(cached) " >&6
 
6015
else
 
6016
  if test -n "$CXX"; then
 
6017
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
6018
else
 
6019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6020
for as_dir in $PATH
 
6021
do
 
6022
  IFS=$as_save_IFS
 
6023
  test -z "$as_dir" && as_dir=.
 
6024
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6025
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6026
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
6027
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6028
    break 2
 
6029
  fi
 
6030
done
 
6031
done
 
6032
IFS=$as_save_IFS
 
6033
 
 
6034
fi
 
6035
fi
 
6036
CXX=$ac_cv_prog_CXX
 
6037
if test -n "$CXX"; then
 
6038
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
6039
$as_echo "$CXX" >&6; }
 
6040
else
 
6041
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6042
$as_echo "no" >&6; }
 
6043
fi
 
6044
 
 
6045
 
 
6046
    test -n "$CXX" && break
 
6047
  done
 
6048
fi
 
6049
if test -z "$CXX"; then
 
6050
  ac_ct_CXX=$CXX
 
6051
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
6052
do
 
6053
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6054
set dummy $ac_prog; ac_word=$2
 
6055
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6056
$as_echo_n "checking for $ac_word... " >&6; }
 
6057
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
6058
  $as_echo_n "(cached) " >&6
 
6059
else
 
6060
  if test -n "$ac_ct_CXX"; then
 
6061
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
6062
else
 
6063
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6064
for as_dir in $PATH
 
6065
do
 
6066
  IFS=$as_save_IFS
 
6067
  test -z "$as_dir" && as_dir=.
 
6068
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6070
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
6071
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6072
    break 2
 
6073
  fi
 
6074
done
 
6075
done
 
6076
IFS=$as_save_IFS
 
6077
 
 
6078
fi
 
6079
fi
 
6080
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
6081
if test -n "$ac_ct_CXX"; then
 
6082
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
6083
$as_echo "$ac_ct_CXX" >&6; }
 
6084
else
 
6085
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6086
$as_echo "no" >&6; }
 
6087
fi
 
6088
 
 
6089
 
 
6090
  test -n "$ac_ct_CXX" && break
 
6091
done
 
6092
 
 
6093
  if test "x$ac_ct_CXX" = x; then
 
6094
    CXX="g++"
 
6095
  else
 
6096
    case $cross_compiling:$ac_tool_warned in
 
6097
yes:)
 
6098
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6099
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6100
ac_tool_warned=yes ;;
 
6101
esac
 
6102
    CXX=$ac_ct_CXX
 
6103
  fi
 
6104
fi
 
6105
 
 
6106
  fi
 
6107
fi
 
6108
# Provide some information about the compiler.
 
6109
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
6110
set X $ac_compile
 
6111
ac_compiler=$2
 
6112
{ (ac_try="$ac_compiler --version >&5"
 
6113
case "(($ac_try" in
 
6114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6115
  *) ac_try_echo=$ac_try;;
 
6116
esac
 
6117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6118
$as_echo "$ac_try_echo") >&5
 
6119
  (eval "$ac_compiler --version >&5") 2>&5
 
6120
  ac_status=$?
 
6121
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6122
  (exit $ac_status); }
 
6123
{ (ac_try="$ac_compiler -v >&5"
 
6124
case "(($ac_try" in
 
6125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6126
  *) ac_try_echo=$ac_try;;
 
6127
esac
 
6128
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6129
$as_echo "$ac_try_echo") >&5
 
6130
  (eval "$ac_compiler -v >&5") 2>&5
 
6131
  ac_status=$?
 
6132
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6133
  (exit $ac_status); }
 
6134
{ (ac_try="$ac_compiler -V >&5"
 
6135
case "(($ac_try" in
 
6136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6137
  *) ac_try_echo=$ac_try;;
 
6138
esac
 
6139
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6140
$as_echo "$ac_try_echo") >&5
 
6141
  (eval "$ac_compiler -V >&5") 2>&5
 
6142
  ac_status=$?
 
6143
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6144
  (exit $ac_status); }
 
6145
 
 
6146
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
6147
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
6148
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
6149
  $as_echo_n "(cached) " >&6
 
6150
else
 
6151
  cat >conftest.$ac_ext <<_ACEOF
 
6152
/* confdefs.h.  */
 
6153
_ACEOF
 
6154
cat confdefs.h >>conftest.$ac_ext
 
6155
cat >>conftest.$ac_ext <<_ACEOF
 
6156
/* end confdefs.h.  */
 
6157
 
 
6158
int
 
6159
main ()
 
6160
{
 
6161
#ifndef __GNUC__
 
6162
       choke me
 
6163
#endif
 
6164
 
 
6165
  ;
 
6166
  return 0;
 
6167
}
 
6168
_ACEOF
 
6169
rm -f conftest.$ac_objext
 
6170
if { (ac_try="$ac_compile"
 
6171
case "(($ac_try" in
 
6172
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6173
  *) ac_try_echo=$ac_try;;
 
6174
esac
 
6175
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6176
$as_echo "$ac_try_echo") >&5
 
6177
  (eval "$ac_compile") 2>conftest.er1
 
6178
  ac_status=$?
 
6179
  grep -v '^ *+' conftest.er1 >conftest.err
 
6180
  rm -f conftest.er1
 
6181
  cat conftest.err >&5
 
6182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6183
  (exit $ac_status); } && {
 
6184
         test -z "$ac_cxx_werror_flag" ||
 
6185
         test ! -s conftest.err
 
6186
       } && test -s conftest.$ac_objext; then
 
6187
  ac_compiler_gnu=yes
 
6188
else
 
6189
  $as_echo "$as_me: failed program was:" >&5
 
6190
sed 's/^/| /' conftest.$ac_ext >&5
 
6191
 
 
6192
        ac_compiler_gnu=no
 
6193
fi
 
6194
 
 
6195
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6196
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
6197
 
 
6198
fi
 
6199
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
6200
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
6201
if test $ac_compiler_gnu = yes; then
 
6202
  GXX=yes
 
6203
else
 
6204
  GXX=
 
6205
fi
 
6206
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
6207
ac_save_CXXFLAGS=$CXXFLAGS
 
6208
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
6209
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
6210
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
6211
  $as_echo_n "(cached) " >&6
 
6212
else
 
6213
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
6214
   ac_cxx_werror_flag=yes
 
6215
   ac_cv_prog_cxx_g=no
 
6216
   CXXFLAGS="-g"
 
6217
   cat >conftest.$ac_ext <<_ACEOF
 
6218
/* confdefs.h.  */
 
6219
_ACEOF
 
6220
cat confdefs.h >>conftest.$ac_ext
 
6221
cat >>conftest.$ac_ext <<_ACEOF
 
6222
/* end confdefs.h.  */
 
6223
 
 
6224
int
 
6225
main ()
 
6226
{
 
6227
 
 
6228
  ;
 
6229
  return 0;
 
6230
}
 
6231
_ACEOF
 
6232
rm -f conftest.$ac_objext
 
6233
if { (ac_try="$ac_compile"
 
6234
case "(($ac_try" in
 
6235
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6236
  *) ac_try_echo=$ac_try;;
 
6237
esac
 
6238
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6239
$as_echo "$ac_try_echo") >&5
 
6240
  (eval "$ac_compile") 2>conftest.er1
 
6241
  ac_status=$?
 
6242
  grep -v '^ *+' conftest.er1 >conftest.err
 
6243
  rm -f conftest.er1
 
6244
  cat conftest.err >&5
 
6245
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6246
  (exit $ac_status); } && {
 
6247
         test -z "$ac_cxx_werror_flag" ||
 
6248
         test ! -s conftest.err
 
6249
       } && test -s conftest.$ac_objext; then
 
6250
  ac_cv_prog_cxx_g=yes
 
6251
else
 
6252
  $as_echo "$as_me: failed program was:" >&5
 
6253
sed 's/^/| /' conftest.$ac_ext >&5
 
6254
 
 
6255
        CXXFLAGS=""
 
6256
      cat >conftest.$ac_ext <<_ACEOF
 
6257
/* confdefs.h.  */
 
6258
_ACEOF
 
6259
cat confdefs.h >>conftest.$ac_ext
 
6260
cat >>conftest.$ac_ext <<_ACEOF
 
6261
/* end confdefs.h.  */
 
6262
 
 
6263
int
 
6264
main ()
 
6265
{
 
6266
 
 
6267
  ;
 
6268
  return 0;
 
6269
}
 
6270
_ACEOF
 
6271
rm -f conftest.$ac_objext
 
6272
if { (ac_try="$ac_compile"
 
6273
case "(($ac_try" in
 
6274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6275
  *) ac_try_echo=$ac_try;;
 
6276
esac
 
6277
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6278
$as_echo "$ac_try_echo") >&5
 
6279
  (eval "$ac_compile") 2>conftest.er1
 
6280
  ac_status=$?
 
6281
  grep -v '^ *+' conftest.er1 >conftest.err
 
6282
  rm -f conftest.er1
 
6283
  cat conftest.err >&5
 
6284
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6285
  (exit $ac_status); } && {
 
6286
         test -z "$ac_cxx_werror_flag" ||
 
6287
         test ! -s conftest.err
 
6288
       } && test -s conftest.$ac_objext; then
 
6289
  :
 
6290
else
 
6291
  $as_echo "$as_me: failed program was:" >&5
 
6292
sed 's/^/| /' conftest.$ac_ext >&5
 
6293
 
 
6294
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6295
         CXXFLAGS="-g"
 
6296
         cat >conftest.$ac_ext <<_ACEOF
 
6297
/* confdefs.h.  */
 
6298
_ACEOF
 
6299
cat confdefs.h >>conftest.$ac_ext
 
6300
cat >>conftest.$ac_ext <<_ACEOF
 
6301
/* end confdefs.h.  */
 
6302
 
 
6303
int
 
6304
main ()
 
6305
{
 
6306
 
 
6307
  ;
 
6308
  return 0;
 
6309
}
 
6310
_ACEOF
 
6311
rm -f conftest.$ac_objext
 
6312
if { (ac_try="$ac_compile"
 
6313
case "(($ac_try" in
 
6314
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6315
  *) ac_try_echo=$ac_try;;
 
6316
esac
 
6317
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6318
$as_echo "$ac_try_echo") >&5
 
6319
  (eval "$ac_compile") 2>conftest.er1
 
6320
  ac_status=$?
 
6321
  grep -v '^ *+' conftest.er1 >conftest.err
 
6322
  rm -f conftest.er1
 
6323
  cat conftest.err >&5
 
6324
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6325
  (exit $ac_status); } && {
 
6326
         test -z "$ac_cxx_werror_flag" ||
 
6327
         test ! -s conftest.err
 
6328
       } && test -s conftest.$ac_objext; then
 
6329
  ac_cv_prog_cxx_g=yes
 
6330
else
 
6331
  $as_echo "$as_me: failed program was:" >&5
 
6332
sed 's/^/| /' conftest.$ac_ext >&5
 
6333
 
 
6334
 
 
6335
fi
 
6336
 
 
6337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6338
fi
 
6339
 
 
6340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6341
fi
 
6342
 
 
6343
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6344
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
6345
fi
 
6346
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
6347
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
6348
if test "$ac_test_CXXFLAGS" = set; then
 
6349
  CXXFLAGS=$ac_save_CXXFLAGS
 
6350
elif test $ac_cv_prog_cxx_g = yes; then
 
6351
  if test "$GXX" = yes; then
 
6352
    CXXFLAGS="-g -O2"
 
6353
  else
 
6354
    CXXFLAGS="-g"
 
6355
  fi
 
6356
else
 
6357
  if test "$GXX" = yes; then
 
6358
    CXXFLAGS="-O2"
 
6359
  else
 
6360
    CXXFLAGS=
 
6361
  fi
 
6362
fi
 
6363
ac_ext=c
 
6364
ac_cpp='$CPP $CPPFLAGS'
 
6365
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6366
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6367
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6368
 
 
6369
depcc="$CXX"  am_compiler_list=
 
6370
 
 
6371
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
6372
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
6373
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
6374
  $as_echo_n "(cached) " >&6
 
6375
else
 
6376
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6377
  # We make a subdir and do the tests there.  Otherwise we can end up
 
6378
  # making bogus files that we don't know about and never remove.  For
 
6379
  # instance it was reported that on HP-UX the gcc test will end up
 
6380
  # making a dummy file named `D' -- because `-MD' means `put the output
 
6381
  # in D'.
 
6382
  mkdir conftest.dir
 
6383
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6384
  # using a relative directory.
 
6385
  cp "$am_depcomp" conftest.dir
 
6386
  cd conftest.dir
 
6387
  # We will build objects and dependencies in a subdirectory because
 
6388
  # it helps to detect inapplicable dependency modes.  For instance
 
6389
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6390
  # side effect of compilation, but ICC will put the dependencies in
 
6391
  # the current directory while Tru64 will put them in the object
 
6392
  # directory.
 
6393
  mkdir sub
 
6394
 
 
6395
  am_cv_CXX_dependencies_compiler_type=none
 
6396
  if test "$am_compiler_list" = ""; then
 
6397
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6398
  fi
 
6399
  am__universal=false
 
6400
  case " $depcc " in #(
 
6401
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
6402
     esac
 
6403
 
 
6404
  for depmode in $am_compiler_list; do
 
6405
    # Setup a source with many dependencies, because some compilers
 
6406
    # like to wrap large dependency lists on column 80 (with \), and
 
6407
    # we should not choose a depcomp mode which is confused by this.
 
6408
    #
 
6409
    # We need to recreate these files for each test, as the compiler may
 
6410
    # overwrite some of them when testing with obscure command lines.
 
6411
    # This happens at least with the AIX C compiler.
 
6412
    : > sub/conftest.c
 
6413
    for i in 1 2 3 4 5 6; do
 
6414
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6415
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6416
      # Solaris 8's {/usr,}/bin/sh.
 
6417
      touch sub/conftst$i.h
 
6418
    done
 
6419
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6420
 
 
6421
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6422
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6423
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
6424
    # versions had trouble with output in subdirs
 
6425
    am__obj=sub/conftest.${OBJEXT-o}
 
6426
    am__minus_obj="-o $am__obj"
 
6427
    case $depmode in
 
6428
    gcc)
 
6429
      # This depmode causes a compiler race in universal mode.
 
6430
      test "$am__universal" = false || continue
 
6431
      ;;
 
6432
    nosideeffect)
 
6433
      # after this tag, mechanisms are not by side-effect, so they'll
 
6434
      # only be used when explicitly requested
 
6435
      if test "x$enable_dependency_tracking" = xyes; then
 
6436
        continue
 
6437
      else
 
6438
        break
 
6439
      fi
 
6440
      ;;
 
6441
    msvisualcpp | msvcmsys)
 
6442
      # This compiler won't grok `-c -o', but also, the minuso test has
 
6443
      # not run yet.  These depmodes are late enough in the game, and
 
6444
      # so weak that their functioning should not be impacted.
 
6445
      am__obj=conftest.${OBJEXT-o}
 
6446
      am__minus_obj=
 
6447
      ;;
 
6448
    none) break ;;
 
6449
    esac
 
6450
    if depmode=$depmode \
 
6451
       source=sub/conftest.c object=$am__obj \
 
6452
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6453
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
6454
         >/dev/null 2>conftest.err &&
 
6455
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6456
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6457
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
6458
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6459
      # icc doesn't choke on unknown options, it will just issue warnings
 
6460
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6461
      # that says an option was ignored or not supported.
 
6462
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6463
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6464
      # The diagnosis changed in icc 8.0:
 
6465
      #   icc: Command line remark: option '-MP' not supported
 
6466
      if (grep 'ignoring option' conftest.err ||
 
6467
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6468
        am_cv_CXX_dependencies_compiler_type=$depmode
 
6469
        break
 
6470
      fi
 
6471
    fi
 
6472
  done
 
6473
 
 
6474
  cd ..
 
6475
  rm -rf conftest.dir
 
6476
else
 
6477
  am_cv_CXX_dependencies_compiler_type=none
 
6478
fi
 
6479
 
 
6480
fi
 
6481
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
6482
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
6483
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
6484
 
 
6485
 if
 
6486
  test "x$enable_dependency_tracking" != xno \
 
6487
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
6488
  am__fastdepCXX_TRUE=
 
6489
  am__fastdepCXX_FALSE='#'
 
6490
else
 
6491
  am__fastdepCXX_TRUE='#'
 
6492
  am__fastdepCXX_FALSE=
 
6493
fi
 
6494
 
 
6495
 
 
6496
if test -n "$ac_tool_prefix"; then
 
6497
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6498
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6499
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6500
$as_echo_n "checking for $ac_word... " >&6; }
 
6501
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6502
  $as_echo_n "(cached) " >&6
 
6503
else
 
6504
  if test -n "$RANLIB"; then
 
6505
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6506
else
 
6507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6508
for as_dir in $PATH
 
6509
do
 
6510
  IFS=$as_save_IFS
 
6511
  test -z "$as_dir" && as_dir=.
 
6512
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6514
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6515
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6516
    break 2
 
6517
  fi
 
6518
done
 
6519
done
 
6520
IFS=$as_save_IFS
 
6521
 
 
6522
fi
 
6523
fi
 
6524
RANLIB=$ac_cv_prog_RANLIB
 
6525
if test -n "$RANLIB"; then
 
6526
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6527
$as_echo "$RANLIB" >&6; }
 
6528
else
 
6529
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6530
$as_echo "no" >&6; }
 
6531
fi
 
6532
 
 
6533
 
 
6534
fi
 
6535
if test -z "$ac_cv_prog_RANLIB"; then
 
6536
  ac_ct_RANLIB=$RANLIB
 
6537
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6538
set dummy ranlib; ac_word=$2
 
6539
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6540
$as_echo_n "checking for $ac_word... " >&6; }
 
6541
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6542
  $as_echo_n "(cached) " >&6
 
6543
else
 
6544
  if test -n "$ac_ct_RANLIB"; then
 
6545
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6546
else
 
6547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6548
for as_dir in $PATH
 
6549
do
 
6550
  IFS=$as_save_IFS
 
6551
  test -z "$as_dir" && as_dir=.
 
6552
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6553
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6554
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6555
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6556
    break 2
 
6557
  fi
 
6558
done
 
6559
done
 
6560
IFS=$as_save_IFS
 
6561
 
 
6562
fi
 
6563
fi
 
6564
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6565
if test -n "$ac_ct_RANLIB"; then
 
6566
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6567
$as_echo "$ac_ct_RANLIB" >&6; }
 
6568
else
 
6569
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6570
$as_echo "no" >&6; }
 
6571
fi
 
6572
 
 
6573
  if test "x$ac_ct_RANLIB" = x; then
 
6574
    RANLIB=":"
 
6575
  else
 
6576
    case $cross_compiling:$ac_tool_warned in
 
6577
yes:)
 
6578
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6579
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6580
ac_tool_warned=yes ;;
 
6581
esac
 
6582
    RANLIB=$ac_ct_RANLIB
 
6583
  fi
 
6584
else
 
6585
  RANLIB="$ac_cv_prog_RANLIB"
 
6586
fi
 
6587
 
8891
6588
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
8892
6589
$as_echo_n "checking for size_t... " >&6; }
8893
6590
if test "${ac_cv_type_size_t+set}" = set; then
8994
6691
 
8995
6692
 
8996
6693
 
8997
 
 
8998
 
 
8999
 
 
9000
 
 
9001
 
 
9002
 
 
9003
 
 
9004
 
 
9005
 
 
9006
 
 
9007
 
for ac_func in memchr memmove memset regcomp setlocale strchr strcspn strrchr strstr strtol strtoull
9008
 
do
9009
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9010
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9011
 
$as_echo_n "checking for $ac_func... " >&6; }
9012
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9013
 
  $as_echo_n "(cached) " >&6
9014
 
else
9015
 
  cat >conftest.$ac_ext <<_ACEOF
9016
 
/* confdefs.h.  */
9017
 
_ACEOF
9018
 
cat confdefs.h >>conftest.$ac_ext
9019
 
cat >>conftest.$ac_ext <<_ACEOF
9020
 
/* end confdefs.h.  */
9021
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9022
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9023
 
#define $ac_func innocuous_$ac_func
9024
 
 
9025
 
/* System header to define __stub macros and hopefully few prototypes,
9026
 
    which can conflict with char $ac_func (); below.
9027
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9028
 
    <limits.h> exists even on freestanding compilers.  */
9029
 
 
9030
 
#ifdef __STDC__
9031
 
# include <limits.h>
9032
 
#else
9033
 
# include <assert.h>
9034
 
#endif
9035
 
 
9036
 
#undef $ac_func
9037
 
 
9038
 
/* Override any GCC internal prototype to avoid an error.
9039
 
   Use char because int might match the return type of a GCC
9040
 
   builtin and then its argument prototype would still apply.  */
9041
 
#ifdef __cplusplus
9042
 
extern "C"
9043
 
#endif
9044
 
char $ac_func ();
9045
 
/* The GNU C library defines this for functions which it implements
9046
 
    to always fail with ENOSYS.  Some functions are actually named
9047
 
    something starting with __ and the normal name is an alias.  */
9048
 
#if defined __stub_$ac_func || defined __stub___$ac_func
9049
 
choke me
9050
 
#endif
9051
 
 
9052
 
int
9053
 
main ()
9054
 
{
9055
 
return $ac_func ();
9056
 
  ;
9057
 
  return 0;
9058
 
}
9059
 
_ACEOF
9060
 
rm -f conftest.$ac_objext conftest$ac_exeext
9061
 
if { (ac_try="$ac_link"
9062
 
case "(($ac_try" in
9063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9064
 
  *) ac_try_echo=$ac_try;;
9065
 
esac
9066
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9067
 
$as_echo "$ac_try_echo") >&5
9068
 
  (eval "$ac_link") 2>conftest.er1
9069
 
  ac_status=$?
9070
 
  grep -v '^ *+' conftest.er1 >conftest.err
9071
 
  rm -f conftest.er1
9072
 
  cat conftest.err >&5
9073
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074
 
  (exit $ac_status); } && {
9075
 
         test -z "$ac_c_werror_flag" ||
9076
 
         test ! -s conftest.err
9077
 
       } && test -s conftest$ac_exeext && {
9078
 
         test "$cross_compiling" = yes ||
9079
 
         $as_test_x conftest$ac_exeext
9080
 
       }; then
9081
 
  eval "$as_ac_var=yes"
9082
 
else
9083
 
  $as_echo "$as_me: failed program was:" >&5
9084
 
sed 's/^/| /' conftest.$ac_ext >&5
9085
 
 
9086
 
        eval "$as_ac_var=no"
9087
 
fi
9088
 
 
9089
 
rm -rf conftest.dSYM
9090
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9091
 
      conftest$ac_exeext conftest.$ac_ext
9092
 
fi
9093
 
ac_res=`eval 'as_val=${'$as_ac_var'}
9094
 
                 $as_echo "$as_val"'`
9095
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9096
 
$as_echo "$ac_res" >&6; }
9097
 
as_val=`eval 'as_val=${'$as_ac_var'}
9098
 
                 $as_echo "$as_val"'`
9099
 
   if test "x$as_val" = x""yes; then
9100
 
  cat >>confdefs.h <<_ACEOF
9101
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9102
 
_ACEOF
9103
 
 
9104
 
fi
9105
 
done
9106
 
 
9107
 
 
9108
 
 
9109
 
for ac_header in fcntl.h libintl.h
9110
 
do
9111
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9112
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9113
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9114
 
$as_echo_n "checking for $ac_header... " >&6; }
9115
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9116
 
  $as_echo_n "(cached) " >&6
9117
 
fi
9118
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9119
 
                 $as_echo "$as_val"'`
9120
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9121
 
$as_echo "$ac_res" >&6; }
9122
 
else
9123
 
  # Is the header compilable?
9124
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9125
 
$as_echo_n "checking $ac_header usability... " >&6; }
9126
 
cat >conftest.$ac_ext <<_ACEOF
9127
 
/* confdefs.h.  */
9128
 
_ACEOF
9129
 
cat confdefs.h >>conftest.$ac_ext
9130
 
cat >>conftest.$ac_ext <<_ACEOF
9131
 
/* end confdefs.h.  */
9132
 
$ac_includes_default
9133
 
#include <$ac_header>
9134
 
_ACEOF
9135
 
rm -f conftest.$ac_objext
9136
 
if { (ac_try="$ac_compile"
9137
 
case "(($ac_try" in
9138
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139
 
  *) ac_try_echo=$ac_try;;
9140
 
esac
9141
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9142
 
$as_echo "$ac_try_echo") >&5
9143
 
  (eval "$ac_compile") 2>conftest.er1
9144
 
  ac_status=$?
9145
 
  grep -v '^ *+' conftest.er1 >conftest.err
9146
 
  rm -f conftest.er1
9147
 
  cat conftest.err >&5
9148
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149
 
  (exit $ac_status); } && {
9150
 
         test -z "$ac_c_werror_flag" ||
9151
 
         test ! -s conftest.err
9152
 
       } && test -s conftest.$ac_objext; then
9153
 
  ac_header_compiler=yes
9154
 
else
9155
 
  $as_echo "$as_me: failed program was:" >&5
9156
 
sed 's/^/| /' conftest.$ac_ext >&5
9157
 
 
9158
 
        ac_header_compiler=no
9159
 
fi
9160
 
 
9161
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9162
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9163
 
$as_echo "$ac_header_compiler" >&6; }
9164
 
 
9165
 
# Is the header present?
9166
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9167
 
$as_echo_n "checking $ac_header presence... " >&6; }
9168
 
cat >conftest.$ac_ext <<_ACEOF
9169
 
/* confdefs.h.  */
9170
 
_ACEOF
9171
 
cat confdefs.h >>conftest.$ac_ext
9172
 
cat >>conftest.$ac_ext <<_ACEOF
9173
 
/* end confdefs.h.  */
9174
 
#include <$ac_header>
9175
 
_ACEOF
9176
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9177
 
case "(($ac_try" in
9178
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9179
 
  *) ac_try_echo=$ac_try;;
9180
 
esac
9181
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9182
 
$as_echo "$ac_try_echo") >&5
9183
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9184
 
  ac_status=$?
9185
 
  grep -v '^ *+' conftest.er1 >conftest.err
9186
 
  rm -f conftest.er1
9187
 
  cat conftest.err >&5
9188
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189
 
  (exit $ac_status); } >/dev/null && {
9190
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9191
 
         test ! -s conftest.err
9192
 
       }; then
9193
 
  ac_header_preproc=yes
9194
 
else
9195
 
  $as_echo "$as_me: failed program was:" >&5
9196
 
sed 's/^/| /' conftest.$ac_ext >&5
9197
 
 
9198
 
  ac_header_preproc=no
9199
 
fi
9200
 
 
9201
 
rm -f conftest.err conftest.$ac_ext
9202
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9203
 
$as_echo "$ac_header_preproc" >&6; }
9204
 
 
9205
 
# So?  What about this header?
9206
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9207
 
  yes:no: )
9208
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9209
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9210
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9211
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9212
 
    ac_header_preproc=yes
9213
 
    ;;
9214
 
  no:yes:* )
9215
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9216
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9217
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9218
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9219
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9220
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9221
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9222
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9223
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9224
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9225
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9226
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9227
 
    ( cat <<\_ASBOX
9228
 
## ---------------------------------------------------------------------- ##
9229
 
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
9230
 
## ---------------------------------------------------------------------- ##
9231
 
_ASBOX
9232
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
9233
 
    ;;
9234
 
esac
9235
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9236
 
$as_echo_n "checking for $ac_header... " >&6; }
9237
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9238
 
  $as_echo_n "(cached) " >&6
9239
 
else
9240
 
  eval "$as_ac_Header=\$ac_header_preproc"
9241
 
fi
9242
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9243
 
                 $as_echo "$as_val"'`
9244
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9245
 
$as_echo "$ac_res" >&6; }
9246
 
 
9247
 
fi
9248
 
as_val=`eval 'as_val=${'$as_ac_Header'}
9249
 
                 $as_echo "$as_val"'`
9250
 
   if test "x$as_val" = x""yes; then
9251
 
  cat >>confdefs.h <<_ACEOF
9252
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9253
 
_ACEOF
9254
 
 
9255
 
fi
9256
 
 
9257
 
done
9258
 
 
9259
 
 
9260
 
 
9261
 
case `pwd` in
9262
 
  *\ * | *\     *)
9263
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
9264
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
9265
 
esac
9266
 
 
9267
 
 
9268
 
 
9269
 
macro_version='2.2.6'
9270
 
macro_revision='1.3012'
9271
 
 
9272
 
 
9273
 
 
9274
 
 
9275
 
 
9276
 
 
9277
 
 
9278
 
 
9279
 
 
9280
 
 
9281
 
 
9282
 
 
9283
 
 
9284
 
ltmain="$ac_aux_dir/ltmain.sh"
 
6694
for ac_func in memchr
 
6695
do
 
6696
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6697
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6698
$as_echo_n "checking for $ac_func... " >&6; }
 
6699
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
6700
  $as_echo_n "(cached) " >&6
 
6701
else
 
6702
  cat >conftest.$ac_ext <<_ACEOF
 
6703
/* confdefs.h.  */
 
6704
_ACEOF
 
6705
cat confdefs.h >>conftest.$ac_ext
 
6706
cat >>conftest.$ac_ext <<_ACEOF
 
6707
/* end confdefs.h.  */
 
6708
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
6709
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6710
#define $ac_func innocuous_$ac_func
 
6711
 
 
6712
/* System header to define __stub macros and hopefully few prototypes,
 
6713
    which can conflict with char $ac_func (); below.
 
6714
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6715
    <limits.h> exists even on freestanding compilers.  */
 
6716
 
 
6717
#ifdef __STDC__
 
6718
# include <limits.h>
 
6719
#else
 
6720
# include <assert.h>
 
6721
#endif
 
6722
 
 
6723
#undef $ac_func
 
6724
 
 
6725
/* Override any GCC internal prototype to avoid an error.
 
6726
   Use char because int might match the return type of a GCC
 
6727
   builtin and then its argument prototype would still apply.  */
 
6728
#ifdef __cplusplus
 
6729
extern "C"
 
6730
#endif
 
6731
char $ac_func ();
 
6732
/* The GNU C library defines this for functions which it implements
 
6733
    to always fail with ENOSYS.  Some functions are actually named
 
6734
    something starting with __ and the normal name is an alias.  */
 
6735
#if defined __stub_$ac_func || defined __stub___$ac_func
 
6736
choke me
 
6737
#endif
 
6738
 
 
6739
int
 
6740
main ()
 
6741
{
 
6742
return $ac_func ();
 
6743
  ;
 
6744
  return 0;
 
6745
}
 
6746
_ACEOF
 
6747
rm -f conftest.$ac_objext conftest$ac_exeext
 
6748
if { (ac_try="$ac_link"
 
6749
case "(($ac_try" in
 
6750
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6751
  *) ac_try_echo=$ac_try;;
 
6752
esac
 
6753
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6754
$as_echo "$ac_try_echo") >&5
 
6755
  (eval "$ac_link") 2>conftest.er1
 
6756
  ac_status=$?
 
6757
  grep -v '^ *+' conftest.er1 >conftest.err
 
6758
  rm -f conftest.er1
 
6759
  cat conftest.err >&5
 
6760
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6761
  (exit $ac_status); } && {
 
6762
         test -z "$ac_c_werror_flag" ||
 
6763
         test ! -s conftest.err
 
6764
       } && test -s conftest$ac_exeext && {
 
6765
         test "$cross_compiling" = yes ||
 
6766
         $as_test_x conftest$ac_exeext
 
6767
       }; then
 
6768
  eval "$as_ac_var=yes"
 
6769
else
 
6770
  $as_echo "$as_me: failed program was:" >&5
 
6771
sed 's/^/| /' conftest.$ac_ext >&5
 
6772
 
 
6773
        eval "$as_ac_var=no"
 
6774
fi
 
6775
 
 
6776
rm -rf conftest.dSYM
 
6777
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6778
      conftest$ac_exeext conftest.$ac_ext
 
6779
fi
 
6780
ac_res=`eval 'as_val=${'$as_ac_var'}
 
6781
                 $as_echo "$as_val"'`
 
6782
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6783
$as_echo "$ac_res" >&6; }
 
6784
as_val=`eval 'as_val=${'$as_ac_var'}
 
6785
                 $as_echo "$as_val"'`
 
6786
   if test "x$as_val" = x""yes; then
 
6787
  cat >>confdefs.h <<_ACEOF
 
6788
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6789
_ACEOF
 
6790
 
 
6791
fi
 
6792
done
 
6793
 
 
6794
 
 
6795
for ac_func in memmove
 
6796
do
 
6797
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6798
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6799
$as_echo_n "checking for $ac_func... " >&6; }
 
6800
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
6801
  $as_echo_n "(cached) " >&6
 
6802
else
 
6803
  cat >conftest.$ac_ext <<_ACEOF
 
6804
/* confdefs.h.  */
 
6805
_ACEOF
 
6806
cat confdefs.h >>conftest.$ac_ext
 
6807
cat >>conftest.$ac_ext <<_ACEOF
 
6808
/* end confdefs.h.  */
 
6809
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
6810
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6811
#define $ac_func innocuous_$ac_func
 
6812
 
 
6813
/* System header to define __stub macros and hopefully few prototypes,
 
6814
    which can conflict with char $ac_func (); below.
 
6815
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6816
    <limits.h> exists even on freestanding compilers.  */
 
6817
 
 
6818
#ifdef __STDC__
 
6819
# include <limits.h>
 
6820
#else
 
6821
# include <assert.h>
 
6822
#endif
 
6823
 
 
6824
#undef $ac_func
 
6825
 
 
6826
/* Override any GCC internal prototype to avoid an error.
 
6827
   Use char because int might match the return type of a GCC
 
6828
   builtin and then its argument prototype would still apply.  */
 
6829
#ifdef __cplusplus
 
6830
extern "C"
 
6831
#endif
 
6832
char $ac_func ();
 
6833
/* The GNU C library defines this for functions which it implements
 
6834
    to always fail with ENOSYS.  Some functions are actually named
 
6835
    something starting with __ and the normal name is an alias.  */
 
6836
#if defined __stub_$ac_func || defined __stub___$ac_func
 
6837
choke me
 
6838
#endif
 
6839
 
 
6840
int
 
6841
main ()
 
6842
{
 
6843
return $ac_func ();
 
6844
  ;
 
6845
  return 0;
 
6846
}
 
6847
_ACEOF
 
6848
rm -f conftest.$ac_objext conftest$ac_exeext
 
6849
if { (ac_try="$ac_link"
 
6850
case "(($ac_try" in
 
6851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6852
  *) ac_try_echo=$ac_try;;
 
6853
esac
 
6854
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6855
$as_echo "$ac_try_echo") >&5
 
6856
  (eval "$ac_link") 2>conftest.er1
 
6857
  ac_status=$?
 
6858
  grep -v '^ *+' conftest.er1 >conftest.err
 
6859
  rm -f conftest.er1
 
6860
  cat conftest.err >&5
 
6861
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6862
  (exit $ac_status); } && {
 
6863
         test -z "$ac_c_werror_flag" ||
 
6864
         test ! -s conftest.err
 
6865
       } && test -s conftest$ac_exeext && {
 
6866
         test "$cross_compiling" = yes ||
 
6867
         $as_test_x conftest$ac_exeext
 
6868
       }; then
 
6869
  eval "$as_ac_var=yes"
 
6870
else
 
6871
  $as_echo "$as_me: failed program was:" >&5
 
6872
sed 's/^/| /' conftest.$ac_ext >&5
 
6873
 
 
6874
        eval "$as_ac_var=no"
 
6875
fi
 
6876
 
 
6877
rm -rf conftest.dSYM
 
6878
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6879
      conftest$ac_exeext conftest.$ac_ext
 
6880
fi
 
6881
ac_res=`eval 'as_val=${'$as_ac_var'}
 
6882
                 $as_echo "$as_val"'`
 
6883
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6884
$as_echo "$ac_res" >&6; }
 
6885
as_val=`eval 'as_val=${'$as_ac_var'}
 
6886
                 $as_echo "$as_val"'`
 
6887
   if test "x$as_val" = x""yes; then
 
6888
  cat >>confdefs.h <<_ACEOF
 
6889
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6890
_ACEOF
 
6891
 
 
6892
fi
 
6893
done
 
6894
 
 
6895
 
 
6896
for ac_func in memset
 
6897
do
 
6898
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
6899
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
6900
$as_echo_n "checking for $ac_func... " >&6; }
 
6901
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
6902
  $as_echo_n "(cached) " >&6
 
6903
else
 
6904
  cat >conftest.$ac_ext <<_ACEOF
 
6905
/* confdefs.h.  */
 
6906
_ACEOF
 
6907
cat confdefs.h >>conftest.$ac_ext
 
6908
cat >>conftest.$ac_ext <<_ACEOF
 
6909
/* end confdefs.h.  */
 
6910
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
6911
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
6912
#define $ac_func innocuous_$ac_func
 
6913
 
 
6914
/* System header to define __stub macros and hopefully few prototypes,
 
6915
    which can conflict with char $ac_func (); below.
 
6916
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6917
    <limits.h> exists even on freestanding compilers.  */
 
6918
 
 
6919
#ifdef __STDC__
 
6920
# include <limits.h>
 
6921
#else
 
6922
# include <assert.h>
 
6923
#endif
 
6924
 
 
6925
#undef $ac_func
 
6926
 
 
6927
/* Override any GCC internal prototype to avoid an error.
 
6928
   Use char because int might match the return type of a GCC
 
6929
   builtin and then its argument prototype would still apply.  */
 
6930
#ifdef __cplusplus
 
6931
extern "C"
 
6932
#endif
 
6933
char $ac_func ();
 
6934
/* The GNU C library defines this for functions which it implements
 
6935
    to always fail with ENOSYS.  Some functions are actually named
 
6936
    something starting with __ and the normal name is an alias.  */
 
6937
#if defined __stub_$ac_func || defined __stub___$ac_func
 
6938
choke me
 
6939
#endif
 
6940
 
 
6941
int
 
6942
main ()
 
6943
{
 
6944
return $ac_func ();
 
6945
  ;
 
6946
  return 0;
 
6947
}
 
6948
_ACEOF
 
6949
rm -f conftest.$ac_objext conftest$ac_exeext
 
6950
if { (ac_try="$ac_link"
 
6951
case "(($ac_try" in
 
6952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6953
  *) ac_try_echo=$ac_try;;
 
6954
esac
 
6955
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6956
$as_echo "$ac_try_echo") >&5
 
6957
  (eval "$ac_link") 2>conftest.er1
 
6958
  ac_status=$?
 
6959
  grep -v '^ *+' conftest.er1 >conftest.err
 
6960
  rm -f conftest.er1
 
6961
  cat conftest.err >&5
 
6962
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6963
  (exit $ac_status); } && {
 
6964
         test -z "$ac_c_werror_flag" ||
 
6965
         test ! -s conftest.err
 
6966
       } && test -s conftest$ac_exeext && {
 
6967
         test "$cross_compiling" = yes ||
 
6968
         $as_test_x conftest$ac_exeext
 
6969
       }; then
 
6970
  eval "$as_ac_var=yes"
 
6971
else
 
6972
  $as_echo "$as_me: failed program was:" >&5
 
6973
sed 's/^/| /' conftest.$ac_ext >&5
 
6974
 
 
6975
        eval "$as_ac_var=no"
 
6976
fi
 
6977
 
 
6978
rm -rf conftest.dSYM
 
6979
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6980
      conftest$ac_exeext conftest.$ac_ext
 
6981
fi
 
6982
ac_res=`eval 'as_val=${'$as_ac_var'}
 
6983
                 $as_echo "$as_val"'`
 
6984
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6985
$as_echo "$ac_res" >&6; }
 
6986
as_val=`eval 'as_val=${'$as_ac_var'}
 
6987
                 $as_echo "$as_val"'`
 
6988
   if test "x$as_val" = x""yes; then
 
6989
  cat >>confdefs.h <<_ACEOF
 
6990
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
6991
_ACEOF
 
6992
 
 
6993
fi
 
6994
done
 
6995
 
 
6996
 
 
6997
for ac_func in regcomp
 
6998
do
 
6999
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7000
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7001
$as_echo_n "checking for $ac_func... " >&6; }
 
7002
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7003
  $as_echo_n "(cached) " >&6
 
7004
else
 
7005
  cat >conftest.$ac_ext <<_ACEOF
 
7006
/* confdefs.h.  */
 
7007
_ACEOF
 
7008
cat confdefs.h >>conftest.$ac_ext
 
7009
cat >>conftest.$ac_ext <<_ACEOF
 
7010
/* end confdefs.h.  */
 
7011
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7012
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7013
#define $ac_func innocuous_$ac_func
 
7014
 
 
7015
/* System header to define __stub macros and hopefully few prototypes,
 
7016
    which can conflict with char $ac_func (); below.
 
7017
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7018
    <limits.h> exists even on freestanding compilers.  */
 
7019
 
 
7020
#ifdef __STDC__
 
7021
# include <limits.h>
 
7022
#else
 
7023
# include <assert.h>
 
7024
#endif
 
7025
 
 
7026
#undef $ac_func
 
7027
 
 
7028
/* Override any GCC internal prototype to avoid an error.
 
7029
   Use char because int might match the return type of a GCC
 
7030
   builtin and then its argument prototype would still apply.  */
 
7031
#ifdef __cplusplus
 
7032
extern "C"
 
7033
#endif
 
7034
char $ac_func ();
 
7035
/* The GNU C library defines this for functions which it implements
 
7036
    to always fail with ENOSYS.  Some functions are actually named
 
7037
    something starting with __ and the normal name is an alias.  */
 
7038
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7039
choke me
 
7040
#endif
 
7041
 
 
7042
int
 
7043
main ()
 
7044
{
 
7045
return $ac_func ();
 
7046
  ;
 
7047
  return 0;
 
7048
}
 
7049
_ACEOF
 
7050
rm -f conftest.$ac_objext conftest$ac_exeext
 
7051
if { (ac_try="$ac_link"
 
7052
case "(($ac_try" in
 
7053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7054
  *) ac_try_echo=$ac_try;;
 
7055
esac
 
7056
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7057
$as_echo "$ac_try_echo") >&5
 
7058
  (eval "$ac_link") 2>conftest.er1
 
7059
  ac_status=$?
 
7060
  grep -v '^ *+' conftest.er1 >conftest.err
 
7061
  rm -f conftest.er1
 
7062
  cat conftest.err >&5
 
7063
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7064
  (exit $ac_status); } && {
 
7065
         test -z "$ac_c_werror_flag" ||
 
7066
         test ! -s conftest.err
 
7067
       } && test -s conftest$ac_exeext && {
 
7068
         test "$cross_compiling" = yes ||
 
7069
         $as_test_x conftest$ac_exeext
 
7070
       }; then
 
7071
  eval "$as_ac_var=yes"
 
7072
else
 
7073
  $as_echo "$as_me: failed program was:" >&5
 
7074
sed 's/^/| /' conftest.$ac_ext >&5
 
7075
 
 
7076
        eval "$as_ac_var=no"
 
7077
fi
 
7078
 
 
7079
rm -rf conftest.dSYM
 
7080
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7081
      conftest$ac_exeext conftest.$ac_ext
 
7082
fi
 
7083
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7084
                 $as_echo "$as_val"'`
 
7085
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7086
$as_echo "$ac_res" >&6; }
 
7087
as_val=`eval 'as_val=${'$as_ac_var'}
 
7088
                 $as_echo "$as_val"'`
 
7089
   if test "x$as_val" = x""yes; then
 
7090
  cat >>confdefs.h <<_ACEOF
 
7091
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7092
_ACEOF
 
7093
 
 
7094
fi
 
7095
done
 
7096
 
 
7097
 
 
7098
for ac_func in setlocale
 
7099
do
 
7100
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7101
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7102
$as_echo_n "checking for $ac_func... " >&6; }
 
7103
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7104
  $as_echo_n "(cached) " >&6
 
7105
else
 
7106
  cat >conftest.$ac_ext <<_ACEOF
 
7107
/* confdefs.h.  */
 
7108
_ACEOF
 
7109
cat confdefs.h >>conftest.$ac_ext
 
7110
cat >>conftest.$ac_ext <<_ACEOF
 
7111
/* end confdefs.h.  */
 
7112
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7113
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7114
#define $ac_func innocuous_$ac_func
 
7115
 
 
7116
/* System header to define __stub macros and hopefully few prototypes,
 
7117
    which can conflict with char $ac_func (); below.
 
7118
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7119
    <limits.h> exists even on freestanding compilers.  */
 
7120
 
 
7121
#ifdef __STDC__
 
7122
# include <limits.h>
 
7123
#else
 
7124
# include <assert.h>
 
7125
#endif
 
7126
 
 
7127
#undef $ac_func
 
7128
 
 
7129
/* Override any GCC internal prototype to avoid an error.
 
7130
   Use char because int might match the return type of a GCC
 
7131
   builtin and then its argument prototype would still apply.  */
 
7132
#ifdef __cplusplus
 
7133
extern "C"
 
7134
#endif
 
7135
char $ac_func ();
 
7136
/* The GNU C library defines this for functions which it implements
 
7137
    to always fail with ENOSYS.  Some functions are actually named
 
7138
    something starting with __ and the normal name is an alias.  */
 
7139
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7140
choke me
 
7141
#endif
 
7142
 
 
7143
int
 
7144
main ()
 
7145
{
 
7146
return $ac_func ();
 
7147
  ;
 
7148
  return 0;
 
7149
}
 
7150
_ACEOF
 
7151
rm -f conftest.$ac_objext conftest$ac_exeext
 
7152
if { (ac_try="$ac_link"
 
7153
case "(($ac_try" in
 
7154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7155
  *) ac_try_echo=$ac_try;;
 
7156
esac
 
7157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7158
$as_echo "$ac_try_echo") >&5
 
7159
  (eval "$ac_link") 2>conftest.er1
 
7160
  ac_status=$?
 
7161
  grep -v '^ *+' conftest.er1 >conftest.err
 
7162
  rm -f conftest.er1
 
7163
  cat conftest.err >&5
 
7164
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7165
  (exit $ac_status); } && {
 
7166
         test -z "$ac_c_werror_flag" ||
 
7167
         test ! -s conftest.err
 
7168
       } && test -s conftest$ac_exeext && {
 
7169
         test "$cross_compiling" = yes ||
 
7170
         $as_test_x conftest$ac_exeext
 
7171
       }; then
 
7172
  eval "$as_ac_var=yes"
 
7173
else
 
7174
  $as_echo "$as_me: failed program was:" >&5
 
7175
sed 's/^/| /' conftest.$ac_ext >&5
 
7176
 
 
7177
        eval "$as_ac_var=no"
 
7178
fi
 
7179
 
 
7180
rm -rf conftest.dSYM
 
7181
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7182
      conftest$ac_exeext conftest.$ac_ext
 
7183
fi
 
7184
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7185
                 $as_echo "$as_val"'`
 
7186
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7187
$as_echo "$ac_res" >&6; }
 
7188
as_val=`eval 'as_val=${'$as_ac_var'}
 
7189
                 $as_echo "$as_val"'`
 
7190
   if test "x$as_val" = x""yes; then
 
7191
  cat >>confdefs.h <<_ACEOF
 
7192
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7193
_ACEOF
 
7194
 
 
7195
fi
 
7196
done
 
7197
 
 
7198
 
 
7199
for ac_func in strchr
 
7200
do
 
7201
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7202
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7203
$as_echo_n "checking for $ac_func... " >&6; }
 
7204
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7205
  $as_echo_n "(cached) " >&6
 
7206
else
 
7207
  cat >conftest.$ac_ext <<_ACEOF
 
7208
/* confdefs.h.  */
 
7209
_ACEOF
 
7210
cat confdefs.h >>conftest.$ac_ext
 
7211
cat >>conftest.$ac_ext <<_ACEOF
 
7212
/* end confdefs.h.  */
 
7213
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7214
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7215
#define $ac_func innocuous_$ac_func
 
7216
 
 
7217
/* System header to define __stub macros and hopefully few prototypes,
 
7218
    which can conflict with char $ac_func (); below.
 
7219
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7220
    <limits.h> exists even on freestanding compilers.  */
 
7221
 
 
7222
#ifdef __STDC__
 
7223
# include <limits.h>
 
7224
#else
 
7225
# include <assert.h>
 
7226
#endif
 
7227
 
 
7228
#undef $ac_func
 
7229
 
 
7230
/* Override any GCC internal prototype to avoid an error.
 
7231
   Use char because int might match the return type of a GCC
 
7232
   builtin and then its argument prototype would still apply.  */
 
7233
#ifdef __cplusplus
 
7234
extern "C"
 
7235
#endif
 
7236
char $ac_func ();
 
7237
/* The GNU C library defines this for functions which it implements
 
7238
    to always fail with ENOSYS.  Some functions are actually named
 
7239
    something starting with __ and the normal name is an alias.  */
 
7240
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7241
choke me
 
7242
#endif
 
7243
 
 
7244
int
 
7245
main ()
 
7246
{
 
7247
return $ac_func ();
 
7248
  ;
 
7249
  return 0;
 
7250
}
 
7251
_ACEOF
 
7252
rm -f conftest.$ac_objext conftest$ac_exeext
 
7253
if { (ac_try="$ac_link"
 
7254
case "(($ac_try" in
 
7255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7256
  *) ac_try_echo=$ac_try;;
 
7257
esac
 
7258
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7259
$as_echo "$ac_try_echo") >&5
 
7260
  (eval "$ac_link") 2>conftest.er1
 
7261
  ac_status=$?
 
7262
  grep -v '^ *+' conftest.er1 >conftest.err
 
7263
  rm -f conftest.er1
 
7264
  cat conftest.err >&5
 
7265
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7266
  (exit $ac_status); } && {
 
7267
         test -z "$ac_c_werror_flag" ||
 
7268
         test ! -s conftest.err
 
7269
       } && test -s conftest$ac_exeext && {
 
7270
         test "$cross_compiling" = yes ||
 
7271
         $as_test_x conftest$ac_exeext
 
7272
       }; then
 
7273
  eval "$as_ac_var=yes"
 
7274
else
 
7275
  $as_echo "$as_me: failed program was:" >&5
 
7276
sed 's/^/| /' conftest.$ac_ext >&5
 
7277
 
 
7278
        eval "$as_ac_var=no"
 
7279
fi
 
7280
 
 
7281
rm -rf conftest.dSYM
 
7282
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7283
      conftest$ac_exeext conftest.$ac_ext
 
7284
fi
 
7285
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7286
                 $as_echo "$as_val"'`
 
7287
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7288
$as_echo "$ac_res" >&6; }
 
7289
as_val=`eval 'as_val=${'$as_ac_var'}
 
7290
                 $as_echo "$as_val"'`
 
7291
   if test "x$as_val" = x""yes; then
 
7292
  cat >>confdefs.h <<_ACEOF
 
7293
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7294
_ACEOF
 
7295
 
 
7296
fi
 
7297
done
 
7298
 
 
7299
 
 
7300
for ac_func in strcspn
 
7301
do
 
7302
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7303
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7304
$as_echo_n "checking for $ac_func... " >&6; }
 
7305
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7306
  $as_echo_n "(cached) " >&6
 
7307
else
 
7308
  cat >conftest.$ac_ext <<_ACEOF
 
7309
/* confdefs.h.  */
 
7310
_ACEOF
 
7311
cat confdefs.h >>conftest.$ac_ext
 
7312
cat >>conftest.$ac_ext <<_ACEOF
 
7313
/* end confdefs.h.  */
 
7314
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7315
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7316
#define $ac_func innocuous_$ac_func
 
7317
 
 
7318
/* System header to define __stub macros and hopefully few prototypes,
 
7319
    which can conflict with char $ac_func (); below.
 
7320
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7321
    <limits.h> exists even on freestanding compilers.  */
 
7322
 
 
7323
#ifdef __STDC__
 
7324
# include <limits.h>
 
7325
#else
 
7326
# include <assert.h>
 
7327
#endif
 
7328
 
 
7329
#undef $ac_func
 
7330
 
 
7331
/* Override any GCC internal prototype to avoid an error.
 
7332
   Use char because int might match the return type of a GCC
 
7333
   builtin and then its argument prototype would still apply.  */
 
7334
#ifdef __cplusplus
 
7335
extern "C"
 
7336
#endif
 
7337
char $ac_func ();
 
7338
/* The GNU C library defines this for functions which it implements
 
7339
    to always fail with ENOSYS.  Some functions are actually named
 
7340
    something starting with __ and the normal name is an alias.  */
 
7341
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7342
choke me
 
7343
#endif
 
7344
 
 
7345
int
 
7346
main ()
 
7347
{
 
7348
return $ac_func ();
 
7349
  ;
 
7350
  return 0;
 
7351
}
 
7352
_ACEOF
 
7353
rm -f conftest.$ac_objext conftest$ac_exeext
 
7354
if { (ac_try="$ac_link"
 
7355
case "(($ac_try" in
 
7356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7357
  *) ac_try_echo=$ac_try;;
 
7358
esac
 
7359
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7360
$as_echo "$ac_try_echo") >&5
 
7361
  (eval "$ac_link") 2>conftest.er1
 
7362
  ac_status=$?
 
7363
  grep -v '^ *+' conftest.er1 >conftest.err
 
7364
  rm -f conftest.er1
 
7365
  cat conftest.err >&5
 
7366
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7367
  (exit $ac_status); } && {
 
7368
         test -z "$ac_c_werror_flag" ||
 
7369
         test ! -s conftest.err
 
7370
       } && test -s conftest$ac_exeext && {
 
7371
         test "$cross_compiling" = yes ||
 
7372
         $as_test_x conftest$ac_exeext
 
7373
       }; then
 
7374
  eval "$as_ac_var=yes"
 
7375
else
 
7376
  $as_echo "$as_me: failed program was:" >&5
 
7377
sed 's/^/| /' conftest.$ac_ext >&5
 
7378
 
 
7379
        eval "$as_ac_var=no"
 
7380
fi
 
7381
 
 
7382
rm -rf conftest.dSYM
 
7383
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7384
      conftest$ac_exeext conftest.$ac_ext
 
7385
fi
 
7386
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7387
                 $as_echo "$as_val"'`
 
7388
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7389
$as_echo "$ac_res" >&6; }
 
7390
as_val=`eval 'as_val=${'$as_ac_var'}
 
7391
                 $as_echo "$as_val"'`
 
7392
   if test "x$as_val" = x""yes; then
 
7393
  cat >>confdefs.h <<_ACEOF
 
7394
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7395
_ACEOF
 
7396
 
 
7397
fi
 
7398
done
 
7399
 
 
7400
 
 
7401
for ac_func in strrchr
 
7402
do
 
7403
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7404
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7405
$as_echo_n "checking for $ac_func... " >&6; }
 
7406
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7407
  $as_echo_n "(cached) " >&6
 
7408
else
 
7409
  cat >conftest.$ac_ext <<_ACEOF
 
7410
/* confdefs.h.  */
 
7411
_ACEOF
 
7412
cat confdefs.h >>conftest.$ac_ext
 
7413
cat >>conftest.$ac_ext <<_ACEOF
 
7414
/* end confdefs.h.  */
 
7415
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7416
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7417
#define $ac_func innocuous_$ac_func
 
7418
 
 
7419
/* System header to define __stub macros and hopefully few prototypes,
 
7420
    which can conflict with char $ac_func (); below.
 
7421
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7422
    <limits.h> exists even on freestanding compilers.  */
 
7423
 
 
7424
#ifdef __STDC__
 
7425
# include <limits.h>
 
7426
#else
 
7427
# include <assert.h>
 
7428
#endif
 
7429
 
 
7430
#undef $ac_func
 
7431
 
 
7432
/* Override any GCC internal prototype to avoid an error.
 
7433
   Use char because int might match the return type of a GCC
 
7434
   builtin and then its argument prototype would still apply.  */
 
7435
#ifdef __cplusplus
 
7436
extern "C"
 
7437
#endif
 
7438
char $ac_func ();
 
7439
/* The GNU C library defines this for functions which it implements
 
7440
    to always fail with ENOSYS.  Some functions are actually named
 
7441
    something starting with __ and the normal name is an alias.  */
 
7442
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7443
choke me
 
7444
#endif
 
7445
 
 
7446
int
 
7447
main ()
 
7448
{
 
7449
return $ac_func ();
 
7450
  ;
 
7451
  return 0;
 
7452
}
 
7453
_ACEOF
 
7454
rm -f conftest.$ac_objext conftest$ac_exeext
 
7455
if { (ac_try="$ac_link"
 
7456
case "(($ac_try" in
 
7457
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7458
  *) ac_try_echo=$ac_try;;
 
7459
esac
 
7460
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7461
$as_echo "$ac_try_echo") >&5
 
7462
  (eval "$ac_link") 2>conftest.er1
 
7463
  ac_status=$?
 
7464
  grep -v '^ *+' conftest.er1 >conftest.err
 
7465
  rm -f conftest.er1
 
7466
  cat conftest.err >&5
 
7467
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7468
  (exit $ac_status); } && {
 
7469
         test -z "$ac_c_werror_flag" ||
 
7470
         test ! -s conftest.err
 
7471
       } && test -s conftest$ac_exeext && {
 
7472
         test "$cross_compiling" = yes ||
 
7473
         $as_test_x conftest$ac_exeext
 
7474
       }; then
 
7475
  eval "$as_ac_var=yes"
 
7476
else
 
7477
  $as_echo "$as_me: failed program was:" >&5
 
7478
sed 's/^/| /' conftest.$ac_ext >&5
 
7479
 
 
7480
        eval "$as_ac_var=no"
 
7481
fi
 
7482
 
 
7483
rm -rf conftest.dSYM
 
7484
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7485
      conftest$ac_exeext conftest.$ac_ext
 
7486
fi
 
7487
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7488
                 $as_echo "$as_val"'`
 
7489
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7490
$as_echo "$ac_res" >&6; }
 
7491
as_val=`eval 'as_val=${'$as_ac_var'}
 
7492
                 $as_echo "$as_val"'`
 
7493
   if test "x$as_val" = x""yes; then
 
7494
  cat >>confdefs.h <<_ACEOF
 
7495
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7496
_ACEOF
 
7497
 
 
7498
fi
 
7499
done
 
7500
 
 
7501
 
 
7502
for ac_func in strstr
 
7503
do
 
7504
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7505
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7506
$as_echo_n "checking for $ac_func... " >&6; }
 
7507
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7508
  $as_echo_n "(cached) " >&6
 
7509
else
 
7510
  cat >conftest.$ac_ext <<_ACEOF
 
7511
/* confdefs.h.  */
 
7512
_ACEOF
 
7513
cat confdefs.h >>conftest.$ac_ext
 
7514
cat >>conftest.$ac_ext <<_ACEOF
 
7515
/* end confdefs.h.  */
 
7516
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7517
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7518
#define $ac_func innocuous_$ac_func
 
7519
 
 
7520
/* System header to define __stub macros and hopefully few prototypes,
 
7521
    which can conflict with char $ac_func (); below.
 
7522
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7523
    <limits.h> exists even on freestanding compilers.  */
 
7524
 
 
7525
#ifdef __STDC__
 
7526
# include <limits.h>
 
7527
#else
 
7528
# include <assert.h>
 
7529
#endif
 
7530
 
 
7531
#undef $ac_func
 
7532
 
 
7533
/* Override any GCC internal prototype to avoid an error.
 
7534
   Use char because int might match the return type of a GCC
 
7535
   builtin and then its argument prototype would still apply.  */
 
7536
#ifdef __cplusplus
 
7537
extern "C"
 
7538
#endif
 
7539
char $ac_func ();
 
7540
/* The GNU C library defines this for functions which it implements
 
7541
    to always fail with ENOSYS.  Some functions are actually named
 
7542
    something starting with __ and the normal name is an alias.  */
 
7543
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7544
choke me
 
7545
#endif
 
7546
 
 
7547
int
 
7548
main ()
 
7549
{
 
7550
return $ac_func ();
 
7551
  ;
 
7552
  return 0;
 
7553
}
 
7554
_ACEOF
 
7555
rm -f conftest.$ac_objext conftest$ac_exeext
 
7556
if { (ac_try="$ac_link"
 
7557
case "(($ac_try" in
 
7558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7559
  *) ac_try_echo=$ac_try;;
 
7560
esac
 
7561
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7562
$as_echo "$ac_try_echo") >&5
 
7563
  (eval "$ac_link") 2>conftest.er1
 
7564
  ac_status=$?
 
7565
  grep -v '^ *+' conftest.er1 >conftest.err
 
7566
  rm -f conftest.er1
 
7567
  cat conftest.err >&5
 
7568
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7569
  (exit $ac_status); } && {
 
7570
         test -z "$ac_c_werror_flag" ||
 
7571
         test ! -s conftest.err
 
7572
       } && test -s conftest$ac_exeext && {
 
7573
         test "$cross_compiling" = yes ||
 
7574
         $as_test_x conftest$ac_exeext
 
7575
       }; then
 
7576
  eval "$as_ac_var=yes"
 
7577
else
 
7578
  $as_echo "$as_me: failed program was:" >&5
 
7579
sed 's/^/| /' conftest.$ac_ext >&5
 
7580
 
 
7581
        eval "$as_ac_var=no"
 
7582
fi
 
7583
 
 
7584
rm -rf conftest.dSYM
 
7585
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7586
      conftest$ac_exeext conftest.$ac_ext
 
7587
fi
 
7588
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7589
                 $as_echo "$as_val"'`
 
7590
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7591
$as_echo "$ac_res" >&6; }
 
7592
as_val=`eval 'as_val=${'$as_ac_var'}
 
7593
                 $as_echo "$as_val"'`
 
7594
   if test "x$as_val" = x""yes; then
 
7595
  cat >>confdefs.h <<_ACEOF
 
7596
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7597
_ACEOF
 
7598
 
 
7599
fi
 
7600
done
 
7601
 
 
7602
 
 
7603
for ac_func in strtol
 
7604
do
 
7605
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7606
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7607
$as_echo_n "checking for $ac_func... " >&6; }
 
7608
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7609
  $as_echo_n "(cached) " >&6
 
7610
else
 
7611
  cat >conftest.$ac_ext <<_ACEOF
 
7612
/* confdefs.h.  */
 
7613
_ACEOF
 
7614
cat confdefs.h >>conftest.$ac_ext
 
7615
cat >>conftest.$ac_ext <<_ACEOF
 
7616
/* end confdefs.h.  */
 
7617
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7618
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7619
#define $ac_func innocuous_$ac_func
 
7620
 
 
7621
/* System header to define __stub macros and hopefully few prototypes,
 
7622
    which can conflict with char $ac_func (); below.
 
7623
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7624
    <limits.h> exists even on freestanding compilers.  */
 
7625
 
 
7626
#ifdef __STDC__
 
7627
# include <limits.h>
 
7628
#else
 
7629
# include <assert.h>
 
7630
#endif
 
7631
 
 
7632
#undef $ac_func
 
7633
 
 
7634
/* Override any GCC internal prototype to avoid an error.
 
7635
   Use char because int might match the return type of a GCC
 
7636
   builtin and then its argument prototype would still apply.  */
 
7637
#ifdef __cplusplus
 
7638
extern "C"
 
7639
#endif
 
7640
char $ac_func ();
 
7641
/* The GNU C library defines this for functions which it implements
 
7642
    to always fail with ENOSYS.  Some functions are actually named
 
7643
    something starting with __ and the normal name is an alias.  */
 
7644
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7645
choke me
 
7646
#endif
 
7647
 
 
7648
int
 
7649
main ()
 
7650
{
 
7651
return $ac_func ();
 
7652
  ;
 
7653
  return 0;
 
7654
}
 
7655
_ACEOF
 
7656
rm -f conftest.$ac_objext conftest$ac_exeext
 
7657
if { (ac_try="$ac_link"
 
7658
case "(($ac_try" in
 
7659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7660
  *) ac_try_echo=$ac_try;;
 
7661
esac
 
7662
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7663
$as_echo "$ac_try_echo") >&5
 
7664
  (eval "$ac_link") 2>conftest.er1
 
7665
  ac_status=$?
 
7666
  grep -v '^ *+' conftest.er1 >conftest.err
 
7667
  rm -f conftest.er1
 
7668
  cat conftest.err >&5
 
7669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7670
  (exit $ac_status); } && {
 
7671
         test -z "$ac_c_werror_flag" ||
 
7672
         test ! -s conftest.err
 
7673
       } && test -s conftest$ac_exeext && {
 
7674
         test "$cross_compiling" = yes ||
 
7675
         $as_test_x conftest$ac_exeext
 
7676
       }; then
 
7677
  eval "$as_ac_var=yes"
 
7678
else
 
7679
  $as_echo "$as_me: failed program was:" >&5
 
7680
sed 's/^/| /' conftest.$ac_ext >&5
 
7681
 
 
7682
        eval "$as_ac_var=no"
 
7683
fi
 
7684
 
 
7685
rm -rf conftest.dSYM
 
7686
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7687
      conftest$ac_exeext conftest.$ac_ext
 
7688
fi
 
7689
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7690
                 $as_echo "$as_val"'`
 
7691
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7692
$as_echo "$ac_res" >&6; }
 
7693
as_val=`eval 'as_val=${'$as_ac_var'}
 
7694
                 $as_echo "$as_val"'`
 
7695
   if test "x$as_val" = x""yes; then
 
7696
  cat >>confdefs.h <<_ACEOF
 
7697
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7698
_ACEOF
 
7699
 
 
7700
fi
 
7701
done
 
7702
 
 
7703
 
 
7704
for ac_func in strtoull
 
7705
do
 
7706
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
7707
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
7708
$as_echo_n "checking for $ac_func... " >&6; }
 
7709
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
7710
  $as_echo_n "(cached) " >&6
 
7711
else
 
7712
  cat >conftest.$ac_ext <<_ACEOF
 
7713
/* confdefs.h.  */
 
7714
_ACEOF
 
7715
cat confdefs.h >>conftest.$ac_ext
 
7716
cat >>conftest.$ac_ext <<_ACEOF
 
7717
/* end confdefs.h.  */
 
7718
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
7719
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
7720
#define $ac_func innocuous_$ac_func
 
7721
 
 
7722
/* System header to define __stub macros and hopefully few prototypes,
 
7723
    which can conflict with char $ac_func (); below.
 
7724
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7725
    <limits.h> exists even on freestanding compilers.  */
 
7726
 
 
7727
#ifdef __STDC__
 
7728
# include <limits.h>
 
7729
#else
 
7730
# include <assert.h>
 
7731
#endif
 
7732
 
 
7733
#undef $ac_func
 
7734
 
 
7735
/* Override any GCC internal prototype to avoid an error.
 
7736
   Use char because int might match the return type of a GCC
 
7737
   builtin and then its argument prototype would still apply.  */
 
7738
#ifdef __cplusplus
 
7739
extern "C"
 
7740
#endif
 
7741
char $ac_func ();
 
7742
/* The GNU C library defines this for functions which it implements
 
7743
    to always fail with ENOSYS.  Some functions are actually named
 
7744
    something starting with __ and the normal name is an alias.  */
 
7745
#if defined __stub_$ac_func || defined __stub___$ac_func
 
7746
choke me
 
7747
#endif
 
7748
 
 
7749
int
 
7750
main ()
 
7751
{
 
7752
return $ac_func ();
 
7753
  ;
 
7754
  return 0;
 
7755
}
 
7756
_ACEOF
 
7757
rm -f conftest.$ac_objext conftest$ac_exeext
 
7758
if { (ac_try="$ac_link"
 
7759
case "(($ac_try" in
 
7760
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7761
  *) ac_try_echo=$ac_try;;
 
7762
esac
 
7763
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7764
$as_echo "$ac_try_echo") >&5
 
7765
  (eval "$ac_link") 2>conftest.er1
 
7766
  ac_status=$?
 
7767
  grep -v '^ *+' conftest.er1 >conftest.err
 
7768
  rm -f conftest.er1
 
7769
  cat conftest.err >&5
 
7770
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7771
  (exit $ac_status); } && {
 
7772
         test -z "$ac_c_werror_flag" ||
 
7773
         test ! -s conftest.err
 
7774
       } && test -s conftest$ac_exeext && {
 
7775
         test "$cross_compiling" = yes ||
 
7776
         $as_test_x conftest$ac_exeext
 
7777
       }; then
 
7778
  eval "$as_ac_var=yes"
 
7779
else
 
7780
  $as_echo "$as_me: failed program was:" >&5
 
7781
sed 's/^/| /' conftest.$ac_ext >&5
 
7782
 
 
7783
        eval "$as_ac_var=no"
 
7784
fi
 
7785
 
 
7786
rm -rf conftest.dSYM
 
7787
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7788
      conftest$ac_exeext conftest.$ac_ext
 
7789
fi
 
7790
ac_res=`eval 'as_val=${'$as_ac_var'}
 
7791
                 $as_echo "$as_val"'`
 
7792
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7793
$as_echo "$ac_res" >&6; }
 
7794
as_val=`eval 'as_val=${'$as_ac_var'}
 
7795
                 $as_echo "$as_val"'`
 
7796
   if test "x$as_val" = x""yes; then
 
7797
  cat >>confdefs.h <<_ACEOF
 
7798
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
7799
_ACEOF
 
7800
 
 
7801
fi
 
7802
done
 
7803
 
 
7804
 
 
7805
for ac_header in fcntl.h
 
7806
do
 
7807
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7808
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7809
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7810
$as_echo_n "checking for $ac_header... " >&6; }
 
7811
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7812
  $as_echo_n "(cached) " >&6
 
7813
fi
 
7814
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7815
                 $as_echo "$as_val"'`
 
7816
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7817
$as_echo "$ac_res" >&6; }
 
7818
else
 
7819
  # Is the header compilable?
 
7820
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7821
$as_echo_n "checking $ac_header usability... " >&6; }
 
7822
cat >conftest.$ac_ext <<_ACEOF
 
7823
/* confdefs.h.  */
 
7824
_ACEOF
 
7825
cat confdefs.h >>conftest.$ac_ext
 
7826
cat >>conftest.$ac_ext <<_ACEOF
 
7827
/* end confdefs.h.  */
 
7828
$ac_includes_default
 
7829
#include <$ac_header>
 
7830
_ACEOF
 
7831
rm -f conftest.$ac_objext
 
7832
if { (ac_try="$ac_compile"
 
7833
case "(($ac_try" in
 
7834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7835
  *) ac_try_echo=$ac_try;;
 
7836
esac
 
7837
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7838
$as_echo "$ac_try_echo") >&5
 
7839
  (eval "$ac_compile") 2>conftest.er1
 
7840
  ac_status=$?
 
7841
  grep -v '^ *+' conftest.er1 >conftest.err
 
7842
  rm -f conftest.er1
 
7843
  cat conftest.err >&5
 
7844
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7845
  (exit $ac_status); } && {
 
7846
         test -z "$ac_c_werror_flag" ||
 
7847
         test ! -s conftest.err
 
7848
       } && test -s conftest.$ac_objext; then
 
7849
  ac_header_compiler=yes
 
7850
else
 
7851
  $as_echo "$as_me: failed program was:" >&5
 
7852
sed 's/^/| /' conftest.$ac_ext >&5
 
7853
 
 
7854
        ac_header_compiler=no
 
7855
fi
 
7856
 
 
7857
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7858
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7859
$as_echo "$ac_header_compiler" >&6; }
 
7860
 
 
7861
# Is the header present?
 
7862
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7863
$as_echo_n "checking $ac_header presence... " >&6; }
 
7864
cat >conftest.$ac_ext <<_ACEOF
 
7865
/* confdefs.h.  */
 
7866
_ACEOF
 
7867
cat confdefs.h >>conftest.$ac_ext
 
7868
cat >>conftest.$ac_ext <<_ACEOF
 
7869
/* end confdefs.h.  */
 
7870
#include <$ac_header>
 
7871
_ACEOF
 
7872
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7873
case "(($ac_try" in
 
7874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7875
  *) ac_try_echo=$ac_try;;
 
7876
esac
 
7877
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7878
$as_echo "$ac_try_echo") >&5
 
7879
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7880
  ac_status=$?
 
7881
  grep -v '^ *+' conftest.er1 >conftest.err
 
7882
  rm -f conftest.er1
 
7883
  cat conftest.err >&5
 
7884
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7885
  (exit $ac_status); } >/dev/null && {
 
7886
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7887
         test ! -s conftest.err
 
7888
       }; then
 
7889
  ac_header_preproc=yes
 
7890
else
 
7891
  $as_echo "$as_me: failed program was:" >&5
 
7892
sed 's/^/| /' conftest.$ac_ext >&5
 
7893
 
 
7894
  ac_header_preproc=no
 
7895
fi
 
7896
 
 
7897
rm -f conftest.err conftest.$ac_ext
 
7898
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7899
$as_echo "$ac_header_preproc" >&6; }
 
7900
 
 
7901
# So?  What about this header?
 
7902
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
7903
  yes:no: )
 
7904
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
7905
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
7906
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
7907
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
7908
    ac_header_preproc=yes
 
7909
    ;;
 
7910
  no:yes:* )
 
7911
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
7912
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
7913
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
7914
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
7915
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
7916
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
7917
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
7918
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
7919
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
7920
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
7921
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
7922
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
7923
    ( cat <<\_ASBOX
 
7924
## ---------------------------------------------------------------------- ##
 
7925
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
 
7926
## ---------------------------------------------------------------------- ##
 
7927
_ASBOX
 
7928
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
7929
    ;;
 
7930
esac
 
7931
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7932
$as_echo_n "checking for $ac_header... " >&6; }
 
7933
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7934
  $as_echo_n "(cached) " >&6
 
7935
else
 
7936
  eval "$as_ac_Header=\$ac_header_preproc"
 
7937
fi
 
7938
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7939
                 $as_echo "$as_val"'`
 
7940
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7941
$as_echo "$ac_res" >&6; }
 
7942
 
 
7943
fi
 
7944
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7945
                 $as_echo "$as_val"'`
 
7946
   if test "x$as_val" = x""yes; then
 
7947
  cat >>confdefs.h <<_ACEOF
 
7948
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7949
_ACEOF
 
7950
 
 
7951
fi
 
7952
 
 
7953
done
 
7954
 
 
7955
 
 
7956
for ac_header in libintl.h
 
7957
do
 
7958
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7959
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7960
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7961
$as_echo_n "checking for $ac_header... " >&6; }
 
7962
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7963
  $as_echo_n "(cached) " >&6
 
7964
fi
 
7965
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7966
                 $as_echo "$as_val"'`
 
7967
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7968
$as_echo "$ac_res" >&6; }
 
7969
else
 
7970
  # Is the header compilable?
 
7971
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7972
$as_echo_n "checking $ac_header usability... " >&6; }
 
7973
cat >conftest.$ac_ext <<_ACEOF
 
7974
/* confdefs.h.  */
 
7975
_ACEOF
 
7976
cat confdefs.h >>conftest.$ac_ext
 
7977
cat >>conftest.$ac_ext <<_ACEOF
 
7978
/* end confdefs.h.  */
 
7979
$ac_includes_default
 
7980
#include <$ac_header>
 
7981
_ACEOF
 
7982
rm -f conftest.$ac_objext
 
7983
if { (ac_try="$ac_compile"
 
7984
case "(($ac_try" in
 
7985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7986
  *) ac_try_echo=$ac_try;;
 
7987
esac
 
7988
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7989
$as_echo "$ac_try_echo") >&5
 
7990
  (eval "$ac_compile") 2>conftest.er1
 
7991
  ac_status=$?
 
7992
  grep -v '^ *+' conftest.er1 >conftest.err
 
7993
  rm -f conftest.er1
 
7994
  cat conftest.err >&5
 
7995
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7996
  (exit $ac_status); } && {
 
7997
         test -z "$ac_c_werror_flag" ||
 
7998
         test ! -s conftest.err
 
7999
       } && test -s conftest.$ac_objext; then
 
8000
  ac_header_compiler=yes
 
8001
else
 
8002
  $as_echo "$as_me: failed program was:" >&5
 
8003
sed 's/^/| /' conftest.$ac_ext >&5
 
8004
 
 
8005
        ac_header_compiler=no
 
8006
fi
 
8007
 
 
8008
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8009
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
8010
$as_echo "$ac_header_compiler" >&6; }
 
8011
 
 
8012
# Is the header present?
 
8013
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
8014
$as_echo_n "checking $ac_header presence... " >&6; }
 
8015
cat >conftest.$ac_ext <<_ACEOF
 
8016
/* confdefs.h.  */
 
8017
_ACEOF
 
8018
cat confdefs.h >>conftest.$ac_ext
 
8019
cat >>conftest.$ac_ext <<_ACEOF
 
8020
/* end confdefs.h.  */
 
8021
#include <$ac_header>
 
8022
_ACEOF
 
8023
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
8024
case "(($ac_try" in
 
8025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8026
  *) ac_try_echo=$ac_try;;
 
8027
esac
 
8028
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8029
$as_echo "$ac_try_echo") >&5
 
8030
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
8031
  ac_status=$?
 
8032
  grep -v '^ *+' conftest.er1 >conftest.err
 
8033
  rm -f conftest.er1
 
8034
  cat conftest.err >&5
 
8035
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8036
  (exit $ac_status); } >/dev/null && {
 
8037
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
8038
         test ! -s conftest.err
 
8039
       }; then
 
8040
  ac_header_preproc=yes
 
8041
else
 
8042
  $as_echo "$as_me: failed program was:" >&5
 
8043
sed 's/^/| /' conftest.$ac_ext >&5
 
8044
 
 
8045
  ac_header_preproc=no
 
8046
fi
 
8047
 
 
8048
rm -f conftest.err conftest.$ac_ext
 
8049
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
8050
$as_echo "$ac_header_preproc" >&6; }
 
8051
 
 
8052
# So?  What about this header?
 
8053
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
8054
  yes:no: )
 
8055
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
8056
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
8057
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
8058
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
8059
    ac_header_preproc=yes
 
8060
    ;;
 
8061
  no:yes:* )
 
8062
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
8063
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
8064
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
8065
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
8066
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
8067
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
8068
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
8069
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
8070
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
8071
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
8072
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
8073
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
8074
    ( cat <<\_ASBOX
 
8075
## ---------------------------------------------------------------------- ##
 
8076
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
 
8077
## ---------------------------------------------------------------------- ##
 
8078
_ASBOX
 
8079
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
8080
    ;;
 
8081
esac
 
8082
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8083
$as_echo_n "checking for $ac_header... " >&6; }
 
8084
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8085
  $as_echo_n "(cached) " >&6
 
8086
else
 
8087
  eval "$as_ac_Header=\$ac_header_preproc"
 
8088
fi
 
8089
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8090
                 $as_echo "$as_val"'`
 
8091
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8092
$as_echo "$ac_res" >&6; }
 
8093
 
 
8094
fi
 
8095
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8096
                 $as_echo "$as_val"'`
 
8097
   if test "x$as_val" = x""yes; then
 
8098
  cat >>confdefs.h <<_ACEOF
 
8099
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8100
_ACEOF
 
8101
 
 
8102
fi
 
8103
 
 
8104
done
 
8105
 
 
8106
 
 
8107
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
8108
$as_echo_n "checking for library containing strerror... " >&6; }
 
8109
if test "${ac_cv_search_strerror+set}" = set; then
 
8110
  $as_echo_n "(cached) " >&6
 
8111
else
 
8112
  ac_func_search_save_LIBS=$LIBS
 
8113
cat >conftest.$ac_ext <<_ACEOF
 
8114
/* confdefs.h.  */
 
8115
_ACEOF
 
8116
cat confdefs.h >>conftest.$ac_ext
 
8117
cat >>conftest.$ac_ext <<_ACEOF
 
8118
/* end confdefs.h.  */
 
8119
 
 
8120
/* Override any GCC internal prototype to avoid an error.
 
8121
   Use char because int might match the return type of a GCC
 
8122
   builtin and then its argument prototype would still apply.  */
 
8123
#ifdef __cplusplus
 
8124
extern "C"
 
8125
#endif
 
8126
char strerror ();
 
8127
int
 
8128
main ()
 
8129
{
 
8130
return strerror ();
 
8131
  ;
 
8132
  return 0;
 
8133
}
 
8134
_ACEOF
 
8135
for ac_lib in '' cposix; do
 
8136
  if test -z "$ac_lib"; then
 
8137
    ac_res="none required"
 
8138
  else
 
8139
    ac_res=-l$ac_lib
 
8140
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
8141
  fi
 
8142
  rm -f conftest.$ac_objext conftest$ac_exeext
 
8143
if { (ac_try="$ac_link"
 
8144
case "(($ac_try" in
 
8145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8146
  *) ac_try_echo=$ac_try;;
 
8147
esac
 
8148
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8149
$as_echo "$ac_try_echo") >&5
 
8150
  (eval "$ac_link") 2>conftest.er1
 
8151
  ac_status=$?
 
8152
  grep -v '^ *+' conftest.er1 >conftest.err
 
8153
  rm -f conftest.er1
 
8154
  cat conftest.err >&5
 
8155
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8156
  (exit $ac_status); } && {
 
8157
         test -z "$ac_c_werror_flag" ||
 
8158
         test ! -s conftest.err
 
8159
       } && test -s conftest$ac_exeext && {
 
8160
         test "$cross_compiling" = yes ||
 
8161
         $as_test_x conftest$ac_exeext
 
8162
       }; then
 
8163
  ac_cv_search_strerror=$ac_res
 
8164
else
 
8165
  $as_echo "$as_me: failed program was:" >&5
 
8166
sed 's/^/| /' conftest.$ac_ext >&5
 
8167
 
 
8168
 
 
8169
fi
 
8170
 
 
8171
rm -rf conftest.dSYM
 
8172
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8173
      conftest$ac_exeext
 
8174
  if test "${ac_cv_search_strerror+set}" = set; then
 
8175
  break
 
8176
fi
 
8177
done
 
8178
if test "${ac_cv_search_strerror+set}" = set; then
 
8179
  :
 
8180
else
 
8181
  ac_cv_search_strerror=no
 
8182
fi
 
8183
rm conftest.$ac_ext
 
8184
LIBS=$ac_func_search_save_LIBS
 
8185
fi
 
8186
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
8187
$as_echo "$ac_cv_search_strerror" >&6; }
 
8188
ac_res=$ac_cv_search_strerror
 
8189
if test "$ac_res" != no; then
 
8190
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
8191
 
 
8192
fi
 
8193
 
 
8194
ac_ext=c
 
8195
ac_cpp='$CPP $CPPFLAGS'
 
8196
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8197
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8198
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8199
if test -n "$ac_tool_prefix"; then
 
8200
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
8201
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
8202
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8203
$as_echo_n "checking for $ac_word... " >&6; }
 
8204
if test "${ac_cv_prog_CC+set}" = set; then
 
8205
  $as_echo_n "(cached) " >&6
 
8206
else
 
8207
  if test -n "$CC"; then
 
8208
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
8209
else
 
8210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8211
for as_dir in $PATH
 
8212
do
 
8213
  IFS=$as_save_IFS
 
8214
  test -z "$as_dir" && as_dir=.
 
8215
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8216
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8217
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
8218
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8219
    break 2
 
8220
  fi
 
8221
done
 
8222
done
 
8223
IFS=$as_save_IFS
 
8224
 
 
8225
fi
 
8226
fi
 
8227
CC=$ac_cv_prog_CC
 
8228
if test -n "$CC"; then
 
8229
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
8230
$as_echo "$CC" >&6; }
 
8231
else
 
8232
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8233
$as_echo "no" >&6; }
 
8234
fi
 
8235
 
 
8236
 
 
8237
fi
 
8238
if test -z "$ac_cv_prog_CC"; then
 
8239
  ac_ct_CC=$CC
 
8240
  # Extract the first word of "gcc", so it can be a program name with args.
 
8241
set dummy gcc; ac_word=$2
 
8242
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8243
$as_echo_n "checking for $ac_word... " >&6; }
 
8244
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
8245
  $as_echo_n "(cached) " >&6
 
8246
else
 
8247
  if test -n "$ac_ct_CC"; then
 
8248
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
8249
else
 
8250
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8251
for as_dir in $PATH
 
8252
do
 
8253
  IFS=$as_save_IFS
 
8254
  test -z "$as_dir" && as_dir=.
 
8255
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8256
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8257
    ac_cv_prog_ac_ct_CC="gcc"
 
8258
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8259
    break 2
 
8260
  fi
 
8261
done
 
8262
done
 
8263
IFS=$as_save_IFS
 
8264
 
 
8265
fi
 
8266
fi
 
8267
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
8268
if test -n "$ac_ct_CC"; then
 
8269
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
8270
$as_echo "$ac_ct_CC" >&6; }
 
8271
else
 
8272
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8273
$as_echo "no" >&6; }
 
8274
fi
 
8275
 
 
8276
  if test "x$ac_ct_CC" = x; then
 
8277
    CC=""
 
8278
  else
 
8279
    case $cross_compiling:$ac_tool_warned in
 
8280
yes:)
 
8281
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8282
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8283
ac_tool_warned=yes ;;
 
8284
esac
 
8285
    CC=$ac_ct_CC
 
8286
  fi
 
8287
else
 
8288
  CC="$ac_cv_prog_CC"
 
8289
fi
 
8290
 
 
8291
if test -z "$CC"; then
 
8292
          if test -n "$ac_tool_prefix"; then
 
8293
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
8294
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
8295
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8296
$as_echo_n "checking for $ac_word... " >&6; }
 
8297
if test "${ac_cv_prog_CC+set}" = set; then
 
8298
  $as_echo_n "(cached) " >&6
 
8299
else
 
8300
  if test -n "$CC"; then
 
8301
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
8302
else
 
8303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8304
for as_dir in $PATH
 
8305
do
 
8306
  IFS=$as_save_IFS
 
8307
  test -z "$as_dir" && as_dir=.
 
8308
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8310
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
8311
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8312
    break 2
 
8313
  fi
 
8314
done
 
8315
done
 
8316
IFS=$as_save_IFS
 
8317
 
 
8318
fi
 
8319
fi
 
8320
CC=$ac_cv_prog_CC
 
8321
if test -n "$CC"; then
 
8322
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
8323
$as_echo "$CC" >&6; }
 
8324
else
 
8325
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8326
$as_echo "no" >&6; }
 
8327
fi
 
8328
 
 
8329
 
 
8330
  fi
 
8331
fi
 
8332
if test -z "$CC"; then
 
8333
  # Extract the first word of "cc", so it can be a program name with args.
 
8334
set dummy cc; ac_word=$2
 
8335
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8336
$as_echo_n "checking for $ac_word... " >&6; }
 
8337
if test "${ac_cv_prog_CC+set}" = set; then
 
8338
  $as_echo_n "(cached) " >&6
 
8339
else
 
8340
  if test -n "$CC"; then
 
8341
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
8342
else
 
8343
  ac_prog_rejected=no
 
8344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8345
for as_dir in $PATH
 
8346
do
 
8347
  IFS=$as_save_IFS
 
8348
  test -z "$as_dir" && as_dir=.
 
8349
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8350
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8351
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
8352
       ac_prog_rejected=yes
 
8353
       continue
 
8354
     fi
 
8355
    ac_cv_prog_CC="cc"
 
8356
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8357
    break 2
 
8358
  fi
 
8359
done
 
8360
done
 
8361
IFS=$as_save_IFS
 
8362
 
 
8363
if test $ac_prog_rejected = yes; then
 
8364
  # We found a bogon in the path, so make sure we never use it.
 
8365
  set dummy $ac_cv_prog_CC
 
8366
  shift
 
8367
  if test $# != 0; then
 
8368
    # We chose a different compiler from the bogus one.
 
8369
    # However, it has the same basename, so the bogon will be chosen
 
8370
    # first if we set CC to just the basename; use the full file name.
 
8371
    shift
 
8372
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
8373
  fi
 
8374
fi
 
8375
fi
 
8376
fi
 
8377
CC=$ac_cv_prog_CC
 
8378
if test -n "$CC"; then
 
8379
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
8380
$as_echo "$CC" >&6; }
 
8381
else
 
8382
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8383
$as_echo "no" >&6; }
 
8384
fi
 
8385
 
 
8386
 
 
8387
fi
 
8388
if test -z "$CC"; then
 
8389
  if test -n "$ac_tool_prefix"; then
 
8390
  for ac_prog in cl.exe
 
8391
  do
 
8392
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
8393
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
8394
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8395
$as_echo_n "checking for $ac_word... " >&6; }
 
8396
if test "${ac_cv_prog_CC+set}" = set; then
 
8397
  $as_echo_n "(cached) " >&6
 
8398
else
 
8399
  if test -n "$CC"; then
 
8400
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
8401
else
 
8402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8403
for as_dir in $PATH
 
8404
do
 
8405
  IFS=$as_save_IFS
 
8406
  test -z "$as_dir" && as_dir=.
 
8407
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8408
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8409
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
8410
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8411
    break 2
 
8412
  fi
 
8413
done
 
8414
done
 
8415
IFS=$as_save_IFS
 
8416
 
 
8417
fi
 
8418
fi
 
8419
CC=$ac_cv_prog_CC
 
8420
if test -n "$CC"; then
 
8421
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
8422
$as_echo "$CC" >&6; }
 
8423
else
 
8424
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8425
$as_echo "no" >&6; }
 
8426
fi
 
8427
 
 
8428
 
 
8429
    test -n "$CC" && break
 
8430
  done
 
8431
fi
 
8432
if test -z "$CC"; then
 
8433
  ac_ct_CC=$CC
 
8434
  for ac_prog in cl.exe
 
8435
do
 
8436
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8437
set dummy $ac_prog; ac_word=$2
 
8438
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8439
$as_echo_n "checking for $ac_word... " >&6; }
 
8440
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
8441
  $as_echo_n "(cached) " >&6
 
8442
else
 
8443
  if test -n "$ac_ct_CC"; then
 
8444
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
8445
else
 
8446
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8447
for as_dir in $PATH
 
8448
do
 
8449
  IFS=$as_save_IFS
 
8450
  test -z "$as_dir" && as_dir=.
 
8451
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8452
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8453
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
8454
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8455
    break 2
 
8456
  fi
 
8457
done
 
8458
done
 
8459
IFS=$as_save_IFS
 
8460
 
 
8461
fi
 
8462
fi
 
8463
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
8464
if test -n "$ac_ct_CC"; then
 
8465
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
8466
$as_echo "$ac_ct_CC" >&6; }
 
8467
else
 
8468
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8469
$as_echo "no" >&6; }
 
8470
fi
 
8471
 
 
8472
 
 
8473
  test -n "$ac_ct_CC" && break
 
8474
done
 
8475
 
 
8476
  if test "x$ac_ct_CC" = x; then
 
8477
    CC=""
 
8478
  else
 
8479
    case $cross_compiling:$ac_tool_warned in
 
8480
yes:)
 
8481
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8482
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8483
ac_tool_warned=yes ;;
 
8484
esac
 
8485
    CC=$ac_ct_CC
 
8486
  fi
 
8487
fi
 
8488
 
 
8489
fi
 
8490
 
 
8491
 
 
8492
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
8493
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8494
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
8495
See \`config.log' for more details." >&5
 
8496
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
 
8497
See \`config.log' for more details." >&2;}
 
8498
   { (exit 1); exit 1; }; }; }
 
8499
 
 
8500
# Provide some information about the compiler.
 
8501
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
8502
set X $ac_compile
 
8503
ac_compiler=$2
 
8504
{ (ac_try="$ac_compiler --version >&5"
 
8505
case "(($ac_try" in
 
8506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8507
  *) ac_try_echo=$ac_try;;
 
8508
esac
 
8509
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8510
$as_echo "$ac_try_echo") >&5
 
8511
  (eval "$ac_compiler --version >&5") 2>&5
 
8512
  ac_status=$?
 
8513
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8514
  (exit $ac_status); }
 
8515
{ (ac_try="$ac_compiler -v >&5"
 
8516
case "(($ac_try" in
 
8517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8518
  *) ac_try_echo=$ac_try;;
 
8519
esac
 
8520
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8521
$as_echo "$ac_try_echo") >&5
 
8522
  (eval "$ac_compiler -v >&5") 2>&5
 
8523
  ac_status=$?
 
8524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8525
  (exit $ac_status); }
 
8526
{ (ac_try="$ac_compiler -V >&5"
 
8527
case "(($ac_try" in
 
8528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8529
  *) ac_try_echo=$ac_try;;
 
8530
esac
 
8531
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8532
$as_echo "$ac_try_echo") >&5
 
8533
  (eval "$ac_compiler -V >&5") 2>&5
 
8534
  ac_status=$?
 
8535
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8536
  (exit $ac_status); }
 
8537
 
 
8538
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
8539
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
8540
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
8541
  $as_echo_n "(cached) " >&6
 
8542
else
 
8543
  cat >conftest.$ac_ext <<_ACEOF
 
8544
/* confdefs.h.  */
 
8545
_ACEOF
 
8546
cat confdefs.h >>conftest.$ac_ext
 
8547
cat >>conftest.$ac_ext <<_ACEOF
 
8548
/* end confdefs.h.  */
 
8549
 
 
8550
int
 
8551
main ()
 
8552
{
 
8553
#ifndef __GNUC__
 
8554
       choke me
 
8555
#endif
 
8556
 
 
8557
  ;
 
8558
  return 0;
 
8559
}
 
8560
_ACEOF
 
8561
rm -f conftest.$ac_objext
 
8562
if { (ac_try="$ac_compile"
 
8563
case "(($ac_try" in
 
8564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8565
  *) ac_try_echo=$ac_try;;
 
8566
esac
 
8567
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8568
$as_echo "$ac_try_echo") >&5
 
8569
  (eval "$ac_compile") 2>conftest.er1
 
8570
  ac_status=$?
 
8571
  grep -v '^ *+' conftest.er1 >conftest.err
 
8572
  rm -f conftest.er1
 
8573
  cat conftest.err >&5
 
8574
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8575
  (exit $ac_status); } && {
 
8576
         test -z "$ac_c_werror_flag" ||
 
8577
         test ! -s conftest.err
 
8578
       } && test -s conftest.$ac_objext; then
 
8579
  ac_compiler_gnu=yes
 
8580
else
 
8581
  $as_echo "$as_me: failed program was:" >&5
 
8582
sed 's/^/| /' conftest.$ac_ext >&5
 
8583
 
 
8584
        ac_compiler_gnu=no
 
8585
fi
 
8586
 
 
8587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8588
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
8589
 
 
8590
fi
 
8591
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
8592
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
8593
if test $ac_compiler_gnu = yes; then
 
8594
  GCC=yes
 
8595
else
 
8596
  GCC=
 
8597
fi
 
8598
ac_test_CFLAGS=${CFLAGS+set}
 
8599
ac_save_CFLAGS=$CFLAGS
 
8600
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
8601
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
8602
if test "${ac_cv_prog_cc_g+set}" = set; then
 
8603
  $as_echo_n "(cached) " >&6
 
8604
else
 
8605
  ac_save_c_werror_flag=$ac_c_werror_flag
 
8606
   ac_c_werror_flag=yes
 
8607
   ac_cv_prog_cc_g=no
 
8608
   CFLAGS="-g"
 
8609
   cat >conftest.$ac_ext <<_ACEOF
 
8610
/* confdefs.h.  */
 
8611
_ACEOF
 
8612
cat confdefs.h >>conftest.$ac_ext
 
8613
cat >>conftest.$ac_ext <<_ACEOF
 
8614
/* end confdefs.h.  */
 
8615
 
 
8616
int
 
8617
main ()
 
8618
{
 
8619
 
 
8620
  ;
 
8621
  return 0;
 
8622
}
 
8623
_ACEOF
 
8624
rm -f conftest.$ac_objext
 
8625
if { (ac_try="$ac_compile"
 
8626
case "(($ac_try" in
 
8627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8628
  *) ac_try_echo=$ac_try;;
 
8629
esac
 
8630
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8631
$as_echo "$ac_try_echo") >&5
 
8632
  (eval "$ac_compile") 2>conftest.er1
 
8633
  ac_status=$?
 
8634
  grep -v '^ *+' conftest.er1 >conftest.err
 
8635
  rm -f conftest.er1
 
8636
  cat conftest.err >&5
 
8637
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8638
  (exit $ac_status); } && {
 
8639
         test -z "$ac_c_werror_flag" ||
 
8640
         test ! -s conftest.err
 
8641
       } && test -s conftest.$ac_objext; then
 
8642
  ac_cv_prog_cc_g=yes
 
8643
else
 
8644
  $as_echo "$as_me: failed program was:" >&5
 
8645
sed 's/^/| /' conftest.$ac_ext >&5
 
8646
 
 
8647
        CFLAGS=""
 
8648
      cat >conftest.$ac_ext <<_ACEOF
 
8649
/* confdefs.h.  */
 
8650
_ACEOF
 
8651
cat confdefs.h >>conftest.$ac_ext
 
8652
cat >>conftest.$ac_ext <<_ACEOF
 
8653
/* end confdefs.h.  */
 
8654
 
 
8655
int
 
8656
main ()
 
8657
{
 
8658
 
 
8659
  ;
 
8660
  return 0;
 
8661
}
 
8662
_ACEOF
 
8663
rm -f conftest.$ac_objext
 
8664
if { (ac_try="$ac_compile"
 
8665
case "(($ac_try" in
 
8666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8667
  *) ac_try_echo=$ac_try;;
 
8668
esac
 
8669
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8670
$as_echo "$ac_try_echo") >&5
 
8671
  (eval "$ac_compile") 2>conftest.er1
 
8672
  ac_status=$?
 
8673
  grep -v '^ *+' conftest.er1 >conftest.err
 
8674
  rm -f conftest.er1
 
8675
  cat conftest.err >&5
 
8676
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8677
  (exit $ac_status); } && {
 
8678
         test -z "$ac_c_werror_flag" ||
 
8679
         test ! -s conftest.err
 
8680
       } && test -s conftest.$ac_objext; then
 
8681
  :
 
8682
else
 
8683
  $as_echo "$as_me: failed program was:" >&5
 
8684
sed 's/^/| /' conftest.$ac_ext >&5
 
8685
 
 
8686
        ac_c_werror_flag=$ac_save_c_werror_flag
 
8687
         CFLAGS="-g"
 
8688
         cat >conftest.$ac_ext <<_ACEOF
 
8689
/* confdefs.h.  */
 
8690
_ACEOF
 
8691
cat confdefs.h >>conftest.$ac_ext
 
8692
cat >>conftest.$ac_ext <<_ACEOF
 
8693
/* end confdefs.h.  */
 
8694
 
 
8695
int
 
8696
main ()
 
8697
{
 
8698
 
 
8699
  ;
 
8700
  return 0;
 
8701
}
 
8702
_ACEOF
 
8703
rm -f conftest.$ac_objext
 
8704
if { (ac_try="$ac_compile"
 
8705
case "(($ac_try" in
 
8706
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8707
  *) ac_try_echo=$ac_try;;
 
8708
esac
 
8709
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8710
$as_echo "$ac_try_echo") >&5
 
8711
  (eval "$ac_compile") 2>conftest.er1
 
8712
  ac_status=$?
 
8713
  grep -v '^ *+' conftest.er1 >conftest.err
 
8714
  rm -f conftest.er1
 
8715
  cat conftest.err >&5
 
8716
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8717
  (exit $ac_status); } && {
 
8718
         test -z "$ac_c_werror_flag" ||
 
8719
         test ! -s conftest.err
 
8720
       } && test -s conftest.$ac_objext; then
 
8721
  ac_cv_prog_cc_g=yes
 
8722
else
 
8723
  $as_echo "$as_me: failed program was:" >&5
 
8724
sed 's/^/| /' conftest.$ac_ext >&5
 
8725
 
 
8726
 
 
8727
fi
 
8728
 
 
8729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8730
fi
 
8731
 
 
8732
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8733
fi
 
8734
 
 
8735
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8736
   ac_c_werror_flag=$ac_save_c_werror_flag
 
8737
fi
 
8738
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
8739
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
8740
if test "$ac_test_CFLAGS" = set; then
 
8741
  CFLAGS=$ac_save_CFLAGS
 
8742
elif test $ac_cv_prog_cc_g = yes; then
 
8743
  if test "$GCC" = yes; then
 
8744
    CFLAGS="-g -O2"
 
8745
  else
 
8746
    CFLAGS="-g"
 
8747
  fi
 
8748
else
 
8749
  if test "$GCC" = yes; then
 
8750
    CFLAGS="-O2"
 
8751
  else
 
8752
    CFLAGS=
 
8753
  fi
 
8754
fi
 
8755
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
8756
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
8757
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
8758
  $as_echo_n "(cached) " >&6
 
8759
else
 
8760
  ac_cv_prog_cc_c89=no
 
8761
ac_save_CC=$CC
 
8762
cat >conftest.$ac_ext <<_ACEOF
 
8763
/* confdefs.h.  */
 
8764
_ACEOF
 
8765
cat confdefs.h >>conftest.$ac_ext
 
8766
cat >>conftest.$ac_ext <<_ACEOF
 
8767
/* end confdefs.h.  */
 
8768
#include <stdarg.h>
 
8769
#include <stdio.h>
 
8770
#include <sys/types.h>
 
8771
#include <sys/stat.h>
 
8772
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
8773
struct buf { int x; };
 
8774
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
8775
static char *e (p, i)
 
8776
     char **p;
 
8777
     int i;
 
8778
{
 
8779
  return p[i];
 
8780
}
 
8781
static char *f (char * (*g) (char **, int), char **p, ...)
 
8782
{
 
8783
  char *s;
 
8784
  va_list v;
 
8785
  va_start (v,p);
 
8786
  s = g (p, va_arg (v,int));
 
8787
  va_end (v);
 
8788
  return s;
 
8789
}
 
8790
 
 
8791
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
8792
   function prototypes and stuff, but not '\xHH' hex character constants.
 
8793
   These don't provoke an error unfortunately, instead are silently treated
 
8794
   as 'x'.  The following induces an error, until -std is added to get
 
8795
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
8796
   array size at least.  It's necessary to write '\x00'==0 to get something
 
8797
   that's true only with -std.  */
 
8798
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
8799
 
 
8800
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
8801
   inside strings and character constants.  */
 
8802
#define FOO(x) 'x'
 
8803
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
8804
 
 
8805
int test (int i, double x);
 
8806
struct s1 {int (*f) (int a);};
 
8807
struct s2 {int (*f) (double a);};
 
8808
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
8809
int argc;
 
8810
char **argv;
 
8811
int
 
8812
main ()
 
8813
{
 
8814
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
8815
  ;
 
8816
  return 0;
 
8817
}
 
8818
_ACEOF
 
8819
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
8820
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
8821
do
 
8822
  CC="$ac_save_CC $ac_arg"
 
8823
  rm -f conftest.$ac_objext
 
8824
if { (ac_try="$ac_compile"
 
8825
case "(($ac_try" in
 
8826
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8827
  *) ac_try_echo=$ac_try;;
 
8828
esac
 
8829
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8830
$as_echo "$ac_try_echo") >&5
 
8831
  (eval "$ac_compile") 2>conftest.er1
 
8832
  ac_status=$?
 
8833
  grep -v '^ *+' conftest.er1 >conftest.err
 
8834
  rm -f conftest.er1
 
8835
  cat conftest.err >&5
 
8836
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8837
  (exit $ac_status); } && {
 
8838
         test -z "$ac_c_werror_flag" ||
 
8839
         test ! -s conftest.err
 
8840
       } && test -s conftest.$ac_objext; then
 
8841
  ac_cv_prog_cc_c89=$ac_arg
 
8842
else
 
8843
  $as_echo "$as_me: failed program was:" >&5
 
8844
sed 's/^/| /' conftest.$ac_ext >&5
 
8845
 
 
8846
 
 
8847
fi
 
8848
 
 
8849
rm -f core conftest.err conftest.$ac_objext
 
8850
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
8851
done
 
8852
rm -f conftest.$ac_ext
 
8853
CC=$ac_save_CC
 
8854
 
 
8855
fi
 
8856
# AC_CACHE_VAL
 
8857
case "x$ac_cv_prog_cc_c89" in
 
8858
  x)
 
8859
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
8860
$as_echo "none needed" >&6; } ;;
 
8861
  xno)
 
8862
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
8863
$as_echo "unsupported" >&6; } ;;
 
8864
  *)
 
8865
    CC="$CC $ac_cv_prog_cc_c89"
 
8866
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
8867
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
8868
esac
 
8869
 
 
8870
 
 
8871
ac_ext=c
 
8872
ac_cpp='$CPP $CPPFLAGS'
 
8873
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8874
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8875
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8876
 
 
8877
depcc="$CC"   am_compiler_list=
 
8878
 
 
8879
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
8880
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
8881
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
8882
  $as_echo_n "(cached) " >&6
 
8883
else
 
8884
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
8885
  # We make a subdir and do the tests there.  Otherwise we can end up
 
8886
  # making bogus files that we don't know about and never remove.  For
 
8887
  # instance it was reported that on HP-UX the gcc test will end up
 
8888
  # making a dummy file named `D' -- because `-MD' means `put the output
 
8889
  # in D'.
 
8890
  mkdir conftest.dir
 
8891
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
8892
  # using a relative directory.
 
8893
  cp "$am_depcomp" conftest.dir
 
8894
  cd conftest.dir
 
8895
  # We will build objects and dependencies in a subdirectory because
 
8896
  # it helps to detect inapplicable dependency modes.  For instance
 
8897
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
8898
  # side effect of compilation, but ICC will put the dependencies in
 
8899
  # the current directory while Tru64 will put them in the object
 
8900
  # directory.
 
8901
  mkdir sub
 
8902
 
 
8903
  am_cv_CC_dependencies_compiler_type=none
 
8904
  if test "$am_compiler_list" = ""; then
 
8905
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
8906
  fi
 
8907
  am__universal=false
 
8908
  case " $depcc " in #(
 
8909
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8910
     esac
 
8911
 
 
8912
  for depmode in $am_compiler_list; do
 
8913
    # Setup a source with many dependencies, because some compilers
 
8914
    # like to wrap large dependency lists on column 80 (with \), and
 
8915
    # we should not choose a depcomp mode which is confused by this.
 
8916
    #
 
8917
    # We need to recreate these files for each test, as the compiler may
 
8918
    # overwrite some of them when testing with obscure command lines.
 
8919
    # This happens at least with the AIX C compiler.
 
8920
    : > sub/conftest.c
 
8921
    for i in 1 2 3 4 5 6; do
 
8922
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
8923
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
8924
      # Solaris 8's {/usr,}/bin/sh.
 
8925
      touch sub/conftst$i.h
 
8926
    done
 
8927
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
8928
 
 
8929
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8930
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8931
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8932
    # versions had trouble with output in subdirs
 
8933
    am__obj=sub/conftest.${OBJEXT-o}
 
8934
    am__minus_obj="-o $am__obj"
 
8935
    case $depmode in
 
8936
    gcc)
 
8937
      # This depmode causes a compiler race in universal mode.
 
8938
      test "$am__universal" = false || continue
 
8939
      ;;
 
8940
    nosideeffect)
 
8941
      # after this tag, mechanisms are not by side-effect, so they'll
 
8942
      # only be used when explicitly requested
 
8943
      if test "x$enable_dependency_tracking" = xyes; then
 
8944
        continue
 
8945
      else
 
8946
        break
 
8947
      fi
 
8948
      ;;
 
8949
    msvisualcpp | msvcmsys)
 
8950
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8951
      # not run yet.  These depmodes are late enough in the game, and
 
8952
      # so weak that their functioning should not be impacted.
 
8953
      am__obj=conftest.${OBJEXT-o}
 
8954
      am__minus_obj=
 
8955
      ;;
 
8956
    none) break ;;
 
8957
    esac
 
8958
    if depmode=$depmode \
 
8959
       source=sub/conftest.c object=$am__obj \
 
8960
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
8961
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
8962
         >/dev/null 2>conftest.err &&
 
8963
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
8964
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
8965
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
8966
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
8967
      # icc doesn't choke on unknown options, it will just issue warnings
 
8968
      # or remarks (even with -Werror).  So we grep stderr for any message
 
8969
      # that says an option was ignored or not supported.
 
8970
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
8971
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
8972
      # The diagnosis changed in icc 8.0:
 
8973
      #   icc: Command line remark: option '-MP' not supported
 
8974
      if (grep 'ignoring option' conftest.err ||
 
8975
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
8976
        am_cv_CC_dependencies_compiler_type=$depmode
 
8977
        break
 
8978
      fi
 
8979
    fi
 
8980
  done
 
8981
 
 
8982
  cd ..
 
8983
  rm -rf conftest.dir
 
8984
else
 
8985
  am_cv_CC_dependencies_compiler_type=none
 
8986
fi
 
8987
 
 
8988
fi
 
8989
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
8990
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
8991
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
8992
 
 
8993
 if
 
8994
  test "x$enable_dependency_tracking" != xno \
 
8995
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
8996
  am__fastdepCC_TRUE=
 
8997
  am__fastdepCC_FALSE='#'
 
8998
else
 
8999
  am__fastdepCC_TRUE='#'
 
9000
  am__fastdepCC_FALSE=
 
9001
fi
 
9002
 
 
9003
 
 
9004
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
9005
$as_echo_n "checking for ANSI C header files... " >&6; }
 
9006
if test "${ac_cv_header_stdc+set}" = set; then
 
9007
  $as_echo_n "(cached) " >&6
 
9008
else
 
9009
  cat >conftest.$ac_ext <<_ACEOF
 
9010
/* confdefs.h.  */
 
9011
_ACEOF
 
9012
cat confdefs.h >>conftest.$ac_ext
 
9013
cat >>conftest.$ac_ext <<_ACEOF
 
9014
/* end confdefs.h.  */
 
9015
#include <stdlib.h>
 
9016
#include <stdarg.h>
 
9017
#include <string.h>
 
9018
#include <float.h>
 
9019
 
 
9020
int
 
9021
main ()
 
9022
{
 
9023
 
 
9024
  ;
 
9025
  return 0;
 
9026
}
 
9027
_ACEOF
 
9028
rm -f conftest.$ac_objext
 
9029
if { (ac_try="$ac_compile"
 
9030
case "(($ac_try" in
 
9031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9032
  *) ac_try_echo=$ac_try;;
 
9033
esac
 
9034
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9035
$as_echo "$ac_try_echo") >&5
 
9036
  (eval "$ac_compile") 2>conftest.er1
 
9037
  ac_status=$?
 
9038
  grep -v '^ *+' conftest.er1 >conftest.err
 
9039
  rm -f conftest.er1
 
9040
  cat conftest.err >&5
 
9041
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9042
  (exit $ac_status); } && {
 
9043
         test -z "$ac_c_werror_flag" ||
 
9044
         test ! -s conftest.err
 
9045
       } && test -s conftest.$ac_objext; then
 
9046
  ac_cv_header_stdc=yes
 
9047
else
 
9048
  $as_echo "$as_me: failed program was:" >&5
 
9049
sed 's/^/| /' conftest.$ac_ext >&5
 
9050
 
 
9051
        ac_cv_header_stdc=no
 
9052
fi
 
9053
 
 
9054
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
9055
 
 
9056
if test $ac_cv_header_stdc = yes; then
 
9057
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
9058
  cat >conftest.$ac_ext <<_ACEOF
 
9059
/* confdefs.h.  */
 
9060
_ACEOF
 
9061
cat confdefs.h >>conftest.$ac_ext
 
9062
cat >>conftest.$ac_ext <<_ACEOF
 
9063
/* end confdefs.h.  */
 
9064
#include <string.h>
 
9065
 
 
9066
_ACEOF
 
9067
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
9068
  $EGREP "memchr" >/dev/null 2>&1; then
 
9069
  :
 
9070
else
 
9071
  ac_cv_header_stdc=no
 
9072
fi
 
9073
rm -f conftest*
 
9074
 
 
9075
fi
 
9076
 
 
9077
if test $ac_cv_header_stdc = yes; then
 
9078
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
9079
  cat >conftest.$ac_ext <<_ACEOF
 
9080
/* confdefs.h.  */
 
9081
_ACEOF
 
9082
cat confdefs.h >>conftest.$ac_ext
 
9083
cat >>conftest.$ac_ext <<_ACEOF
 
9084
/* end confdefs.h.  */
 
9085
#include <stdlib.h>
 
9086
 
 
9087
_ACEOF
 
9088
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
9089
  $EGREP "free" >/dev/null 2>&1; then
 
9090
  :
 
9091
else
 
9092
  ac_cv_header_stdc=no
 
9093
fi
 
9094
rm -f conftest*
 
9095
 
 
9096
fi
 
9097
 
 
9098
if test $ac_cv_header_stdc = yes; then
 
9099
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
9100
  if test "$cross_compiling" = yes; then
 
9101
  :
 
9102
else
 
9103
  cat >conftest.$ac_ext <<_ACEOF
 
9104
/* confdefs.h.  */
 
9105
_ACEOF
 
9106
cat confdefs.h >>conftest.$ac_ext
 
9107
cat >>conftest.$ac_ext <<_ACEOF
 
9108
/* end confdefs.h.  */
 
9109
#include <ctype.h>
 
9110
#include <stdlib.h>
 
9111
#if ((' ' & 0x0FF) == 0x020)
 
9112
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
9113
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
9114
#else
 
9115
# define ISLOWER(c) \
 
9116
                   (('a' <= (c) && (c) <= 'i') \
 
9117
                     || ('j' <= (c) && (c) <= 'r') \
 
9118
                     || ('s' <= (c) && (c) <= 'z'))
 
9119
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
9120
#endif
 
9121
 
 
9122
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
9123
int
 
9124
main ()
 
9125
{
 
9126
  int i;
 
9127
  for (i = 0; i < 256; i++)
 
9128
    if (XOR (islower (i), ISLOWER (i))
 
9129
        || toupper (i) != TOUPPER (i))
 
9130
      return 2;
 
9131
  return 0;
 
9132
}
 
9133
_ACEOF
 
9134
rm -f conftest$ac_exeext
 
9135
if { (ac_try="$ac_link"
 
9136
case "(($ac_try" in
 
9137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9138
  *) ac_try_echo=$ac_try;;
 
9139
esac
 
9140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9141
$as_echo "$ac_try_echo") >&5
 
9142
  (eval "$ac_link") 2>&5
 
9143
  ac_status=$?
 
9144
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9145
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
9146
  { (case "(($ac_try" in
 
9147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9148
  *) ac_try_echo=$ac_try;;
 
9149
esac
 
9150
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9151
$as_echo "$ac_try_echo") >&5
 
9152
  (eval "$ac_try") 2>&5
 
9153
  ac_status=$?
 
9154
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9155
  (exit $ac_status); }; }; then
 
9156
  :
 
9157
else
 
9158
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
9159
$as_echo "$as_me: failed program was:" >&5
 
9160
sed 's/^/| /' conftest.$ac_ext >&5
 
9161
 
 
9162
( exit $ac_status )
 
9163
ac_cv_header_stdc=no
 
9164
fi
 
9165
rm -rf conftest.dSYM
 
9166
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
9167
fi
 
9168
 
 
9169
 
 
9170
fi
 
9171
fi
 
9172
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
9173
$as_echo "$ac_cv_header_stdc" >&6; }
 
9174
if test $ac_cv_header_stdc = yes; then
 
9175
 
 
9176
cat >>confdefs.h <<\_ACEOF
 
9177
#define STDC_HEADERS 1
 
9178
_ACEOF
 
9179
 
 
9180
fi
9285
9181
 
9286
9182
# Make sure we can run config.sub.
9287
9183
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
9366
9262
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
9367
9263
 
9368
9264
 
 
9265
enable_win32_dll=yes
 
9266
 
 
9267
case $host in
 
9268
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
9269
  if test -n "$ac_tool_prefix"; then
 
9270
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
9271
set dummy ${ac_tool_prefix}as; ac_word=$2
 
9272
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9273
$as_echo_n "checking for $ac_word... " >&6; }
 
9274
if test "${ac_cv_prog_AS+set}" = set; then
 
9275
  $as_echo_n "(cached) " >&6
 
9276
else
 
9277
  if test -n "$AS"; then
 
9278
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
9279
else
 
9280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9281
for as_dir in $PATH
 
9282
do
 
9283
  IFS=$as_save_IFS
 
9284
  test -z "$as_dir" && as_dir=.
 
9285
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9287
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
9288
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9289
    break 2
 
9290
  fi
 
9291
done
 
9292
done
 
9293
IFS=$as_save_IFS
 
9294
 
 
9295
fi
 
9296
fi
 
9297
AS=$ac_cv_prog_AS
 
9298
if test -n "$AS"; then
 
9299
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
 
9300
$as_echo "$AS" >&6; }
 
9301
else
 
9302
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9303
$as_echo "no" >&6; }
 
9304
fi
 
9305
 
 
9306
 
 
9307
fi
 
9308
if test -z "$ac_cv_prog_AS"; then
 
9309
  ac_ct_AS=$AS
 
9310
  # Extract the first word of "as", so it can be a program name with args.
 
9311
set dummy as; ac_word=$2
 
9312
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9313
$as_echo_n "checking for $ac_word... " >&6; }
 
9314
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 
9315
  $as_echo_n "(cached) " >&6
 
9316
else
 
9317
  if test -n "$ac_ct_AS"; then
 
9318
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
9319
else
 
9320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9321
for as_dir in $PATH
 
9322
do
 
9323
  IFS=$as_save_IFS
 
9324
  test -z "$as_dir" && as_dir=.
 
9325
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9327
    ac_cv_prog_ac_ct_AS="as"
 
9328
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9329
    break 2
 
9330
  fi
 
9331
done
 
9332
done
 
9333
IFS=$as_save_IFS
 
9334
 
 
9335
fi
 
9336
fi
 
9337
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
9338
if test -n "$ac_ct_AS"; then
 
9339
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
9340
$as_echo "$ac_ct_AS" >&6; }
 
9341
else
 
9342
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9343
$as_echo "no" >&6; }
 
9344
fi
 
9345
 
 
9346
  if test "x$ac_ct_AS" = x; then
 
9347
    AS="false"
 
9348
  else
 
9349
    case $cross_compiling:$ac_tool_warned in
 
9350
yes:)
 
9351
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9352
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9353
ac_tool_warned=yes ;;
 
9354
esac
 
9355
    AS=$ac_ct_AS
 
9356
  fi
 
9357
else
 
9358
  AS="$ac_cv_prog_AS"
 
9359
fi
 
9360
 
 
9361
  if test -n "$ac_tool_prefix"; then
 
9362
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
9363
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
9364
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9365
$as_echo_n "checking for $ac_word... " >&6; }
 
9366
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
9367
  $as_echo_n "(cached) " >&6
 
9368
else
 
9369
  if test -n "$DLLTOOL"; then
 
9370
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
9371
else
 
9372
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9373
for as_dir in $PATH
 
9374
do
 
9375
  IFS=$as_save_IFS
 
9376
  test -z "$as_dir" && as_dir=.
 
9377
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9378
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9379
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
9380
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9381
    break 2
 
9382
  fi
 
9383
done
 
9384
done
 
9385
IFS=$as_save_IFS
 
9386
 
 
9387
fi
 
9388
fi
 
9389
DLLTOOL=$ac_cv_prog_DLLTOOL
 
9390
if test -n "$DLLTOOL"; then
 
9391
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
9392
$as_echo "$DLLTOOL" >&6; }
 
9393
else
 
9394
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9395
$as_echo "no" >&6; }
 
9396
fi
 
9397
 
 
9398
 
 
9399
fi
 
9400
if test -z "$ac_cv_prog_DLLTOOL"; then
 
9401
  ac_ct_DLLTOOL=$DLLTOOL
 
9402
  # Extract the first word of "dlltool", so it can be a program name with args.
 
9403
set dummy dlltool; ac_word=$2
 
9404
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9405
$as_echo_n "checking for $ac_word... " >&6; }
 
9406
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
9407
  $as_echo_n "(cached) " >&6
 
9408
else
 
9409
  if test -n "$ac_ct_DLLTOOL"; then
 
9410
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
9411
else
 
9412
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9413
for as_dir in $PATH
 
9414
do
 
9415
  IFS=$as_save_IFS
 
9416
  test -z "$as_dir" && as_dir=.
 
9417
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9418
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9419
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
9420
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9421
    break 2
 
9422
  fi
 
9423
done
 
9424
done
 
9425
IFS=$as_save_IFS
 
9426
 
 
9427
fi
 
9428
fi
 
9429
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
9430
if test -n "$ac_ct_DLLTOOL"; then
 
9431
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
9432
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
9433
else
 
9434
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9435
$as_echo "no" >&6; }
 
9436
fi
 
9437
 
 
9438
  if test "x$ac_ct_DLLTOOL" = x; then
 
9439
    DLLTOOL="false"
 
9440
  else
 
9441
    case $cross_compiling:$ac_tool_warned in
 
9442
yes:)
 
9443
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9444
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9445
ac_tool_warned=yes ;;
 
9446
esac
 
9447
    DLLTOOL=$ac_ct_DLLTOOL
 
9448
  fi
 
9449
else
 
9450
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
9451
fi
 
9452
 
 
9453
  if test -n "$ac_tool_prefix"; then
 
9454
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
9455
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
9456
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9457
$as_echo_n "checking for $ac_word... " >&6; }
 
9458
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
9459
  $as_echo_n "(cached) " >&6
 
9460
else
 
9461
  if test -n "$OBJDUMP"; then
 
9462
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
9463
else
 
9464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9465
for as_dir in $PATH
 
9466
do
 
9467
  IFS=$as_save_IFS
 
9468
  test -z "$as_dir" && as_dir=.
 
9469
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9470
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9471
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
9472
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9473
    break 2
 
9474
  fi
 
9475
done
 
9476
done
 
9477
IFS=$as_save_IFS
 
9478
 
 
9479
fi
 
9480
fi
 
9481
OBJDUMP=$ac_cv_prog_OBJDUMP
 
9482
if test -n "$OBJDUMP"; then
 
9483
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
9484
$as_echo "$OBJDUMP" >&6; }
 
9485
else
 
9486
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9487
$as_echo "no" >&6; }
 
9488
fi
 
9489
 
 
9490
 
 
9491
fi
 
9492
if test -z "$ac_cv_prog_OBJDUMP"; then
 
9493
  ac_ct_OBJDUMP=$OBJDUMP
 
9494
  # Extract the first word of "objdump", so it can be a program name with args.
 
9495
set dummy objdump; ac_word=$2
 
9496
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9497
$as_echo_n "checking for $ac_word... " >&6; }
 
9498
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
9499
  $as_echo_n "(cached) " >&6
 
9500
else
 
9501
  if test -n "$ac_ct_OBJDUMP"; then
 
9502
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
9503
else
 
9504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9505
for as_dir in $PATH
 
9506
do
 
9507
  IFS=$as_save_IFS
 
9508
  test -z "$as_dir" && as_dir=.
 
9509
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9510
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9511
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
9512
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9513
    break 2
 
9514
  fi
 
9515
done
 
9516
done
 
9517
IFS=$as_save_IFS
 
9518
 
 
9519
fi
 
9520
fi
 
9521
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
9522
if test -n "$ac_ct_OBJDUMP"; then
 
9523
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
9524
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
9525
else
 
9526
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9527
$as_echo "no" >&6; }
 
9528
fi
 
9529
 
 
9530
  if test "x$ac_ct_OBJDUMP" = x; then
 
9531
    OBJDUMP="false"
 
9532
  else
 
9533
    case $cross_compiling:$ac_tool_warned in
 
9534
yes:)
 
9535
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9536
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9537
ac_tool_warned=yes ;;
 
9538
esac
 
9539
    OBJDUMP=$ac_ct_OBJDUMP
 
9540
  fi
 
9541
else
 
9542
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
9543
fi
 
9544
 
 
9545
  ;;
 
9546
esac
 
9547
 
 
9548
test -z "$AS" && AS=as
 
9549
 
 
9550
 
 
9551
 
 
9552
 
 
9553
 
 
9554
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
9555
 
 
9556
 
 
9557
 
 
9558
 
 
9559
 
 
9560
test -z "$OBJDUMP" && OBJDUMP=objdump
 
9561
 
 
9562
 
 
9563
 
 
9564
 
 
9565
 
 
9566
 
 
9567
 
 
9568
case `pwd` in
 
9569
  *\ * | *\     *)
 
9570
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
9571
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
9572
esac
 
9573
 
 
9574
 
 
9575
 
 
9576
macro_version='2.2.6'
 
9577
macro_revision='1.3012'
 
9578
 
 
9579
 
 
9580
 
 
9581
 
 
9582
 
 
9583
 
 
9584
 
 
9585
 
 
9586
 
 
9587
 
 
9588
 
 
9589
 
 
9590
 
 
9591
ltmain="$ac_aux_dir/ltmain.sh"
 
9592
 
9369
9593
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
9370
9594
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
9371
9595
if test "${ac_cv_path_SED+set}" = set; then
9826
10050
else
9827
10051
  lt_cv_nm_interface="BSD nm"
9828
10052
  echo "int some_variable = 0;" > conftest.$ac_ext
9829
 
  (eval echo "\"\$as_me:9829: $ac_compile\"" >&5)
 
10053
  (eval echo "\"\$as_me:10053: $ac_compile\"" >&5)
9830
10054
  (eval "$ac_compile" 2>conftest.err)
9831
10055
  cat conftest.err >&5
9832
 
  (eval echo "\"\$as_me:9832: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
10056
  (eval echo "\"\$as_me:10056: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
9833
10057
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
9834
10058
  cat conftest.err >&5
9835
 
  (eval echo "\"\$as_me:9835: output\"" >&5)
 
10059
  (eval echo "\"\$as_me:10059: output\"" >&5)
9836
10060
  cat conftest.out >&5
9837
10061
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
9838
10062
    lt_cv_nm_interface="MS dumpbin"
11034
11258
  ;;
11035
11259
*-*-irix6*)
11036
11260
  # Find out which ABI we are using.
11037
 
  echo '#line 11037 "configure"' > conftest.$ac_ext
 
11261
  echo '#line 11261 "configure"' > conftest.$ac_ext
11038
11262
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11039
11263
  (eval $ac_compile) 2>&5
11040
11264
  ac_status=$?
12642
12866
 
12643
12867
 
12644
12868
# Set options
12645
 
# Check whether --enable-static was given.
12646
 
if test "${enable_static+set}" = set; then
12647
 
  enableval=$enable_static; p=${PACKAGE-default}
12648
 
    case $enableval in
12649
 
    yes) enable_static=yes ;;
12650
 
    no) enable_static=no ;;
12651
 
    *)
12652
 
     enable_static=no
12653
 
      # Look at the argument we got.  We use all the common list separators.
12654
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12655
 
      for pkg in $enableval; do
12656
 
        IFS="$lt_save_ifs"
12657
 
        if test "X$pkg" = "X$p"; then
12658
 
          enable_static=yes
12659
 
        fi
12660
 
      done
12661
 
      IFS="$lt_save_ifs"
12662
 
      ;;
12663
 
    esac
12664
 
else
12665
 
  enable_static=no
12666
 
fi
12667
 
 
12668
 
 
12669
 
 
12670
 
 
12671
 
 
12672
 
 
12673
 
 
12674
 
enable_win32_dll=yes
12675
 
 
12676
 
case $host in
12677
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
12678
 
  if test -n "$ac_tool_prefix"; then
12679
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
12680
 
set dummy ${ac_tool_prefix}as; ac_word=$2
12681
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12682
 
$as_echo_n "checking for $ac_word... " >&6; }
12683
 
if test "${ac_cv_prog_AS+set}" = set; then
12684
 
  $as_echo_n "(cached) " >&6
12685
 
else
12686
 
  if test -n "$AS"; then
12687
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
12688
 
else
12689
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12690
 
for as_dir in $PATH
12691
 
do
12692
 
  IFS=$as_save_IFS
12693
 
  test -z "$as_dir" && as_dir=.
12694
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12695
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12696
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
12697
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12698
 
    break 2
12699
 
  fi
12700
 
done
12701
 
done
12702
 
IFS=$as_save_IFS
12703
 
 
12704
 
fi
12705
 
fi
12706
 
AS=$ac_cv_prog_AS
12707
 
if test -n "$AS"; then
12708
 
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
12709
 
$as_echo "$AS" >&6; }
12710
 
else
12711
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12712
 
$as_echo "no" >&6; }
12713
 
fi
12714
 
 
12715
 
 
12716
 
fi
12717
 
if test -z "$ac_cv_prog_AS"; then
12718
 
  ac_ct_AS=$AS
12719
 
  # Extract the first word of "as", so it can be a program name with args.
12720
 
set dummy as; ac_word=$2
12721
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12722
 
$as_echo_n "checking for $ac_word... " >&6; }
12723
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
12724
 
  $as_echo_n "(cached) " >&6
12725
 
else
12726
 
  if test -n "$ac_ct_AS"; then
12727
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
12728
 
else
12729
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12730
 
for as_dir in $PATH
12731
 
do
12732
 
  IFS=$as_save_IFS
12733
 
  test -z "$as_dir" && as_dir=.
12734
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12735
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12736
 
    ac_cv_prog_ac_ct_AS="as"
12737
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12738
 
    break 2
12739
 
  fi
12740
 
done
12741
 
done
12742
 
IFS=$as_save_IFS
12743
 
 
12744
 
fi
12745
 
fi
12746
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
12747
 
if test -n "$ac_ct_AS"; then
12748
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
12749
 
$as_echo "$ac_ct_AS" >&6; }
12750
 
else
12751
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12752
 
$as_echo "no" >&6; }
12753
 
fi
12754
 
 
12755
 
  if test "x$ac_ct_AS" = x; then
12756
 
    AS="false"
12757
 
  else
12758
 
    case $cross_compiling:$ac_tool_warned in
12759
 
yes:)
12760
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12761
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12762
 
ac_tool_warned=yes ;;
12763
 
esac
12764
 
    AS=$ac_ct_AS
12765
 
  fi
12766
 
else
12767
 
  AS="$ac_cv_prog_AS"
12768
 
fi
12769
 
 
12770
 
  if test -n "$ac_tool_prefix"; then
12771
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12772
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12773
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12774
 
$as_echo_n "checking for $ac_word... " >&6; }
12775
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12776
 
  $as_echo_n "(cached) " >&6
12777
 
else
12778
 
  if test -n "$DLLTOOL"; then
12779
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12780
 
else
12781
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12782
 
for as_dir in $PATH
12783
 
do
12784
 
  IFS=$as_save_IFS
12785
 
  test -z "$as_dir" && as_dir=.
12786
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12787
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12788
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12789
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12790
 
    break 2
12791
 
  fi
12792
 
done
12793
 
done
12794
 
IFS=$as_save_IFS
12795
 
 
12796
 
fi
12797
 
fi
12798
 
DLLTOOL=$ac_cv_prog_DLLTOOL
12799
 
if test -n "$DLLTOOL"; then
12800
 
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12801
 
$as_echo "$DLLTOOL" >&6; }
12802
 
else
12803
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12804
 
$as_echo "no" >&6; }
12805
 
fi
12806
 
 
12807
 
 
12808
 
fi
12809
 
if test -z "$ac_cv_prog_DLLTOOL"; then
12810
 
  ac_ct_DLLTOOL=$DLLTOOL
12811
 
  # Extract the first word of "dlltool", so it can be a program name with args.
12812
 
set dummy dlltool; ac_word=$2
12813
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12814
 
$as_echo_n "checking for $ac_word... " >&6; }
12815
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12816
 
  $as_echo_n "(cached) " >&6
12817
 
else
12818
 
  if test -n "$ac_ct_DLLTOOL"; then
12819
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12820
 
else
12821
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12822
 
for as_dir in $PATH
12823
 
do
12824
 
  IFS=$as_save_IFS
12825
 
  test -z "$as_dir" && as_dir=.
12826
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12827
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12828
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12829
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12830
 
    break 2
12831
 
  fi
12832
 
done
12833
 
done
12834
 
IFS=$as_save_IFS
12835
 
 
12836
 
fi
12837
 
fi
12838
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12839
 
if test -n "$ac_ct_DLLTOOL"; then
12840
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12841
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
12842
 
else
12843
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12844
 
$as_echo "no" >&6; }
12845
 
fi
12846
 
 
12847
 
  if test "x$ac_ct_DLLTOOL" = x; then
12848
 
    DLLTOOL="false"
12849
 
  else
12850
 
    case $cross_compiling:$ac_tool_warned in
12851
 
yes:)
12852
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12853
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12854
 
ac_tool_warned=yes ;;
12855
 
esac
12856
 
    DLLTOOL=$ac_ct_DLLTOOL
12857
 
  fi
12858
 
else
12859
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
12860
 
fi
12861
 
 
12862
 
  if test -n "$ac_tool_prefix"; then
12863
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
12864
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
12865
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12866
 
$as_echo_n "checking for $ac_word... " >&6; }
12867
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
12868
 
  $as_echo_n "(cached) " >&6
12869
 
else
12870
 
  if test -n "$OBJDUMP"; then
12871
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12872
 
else
12873
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12874
 
for as_dir in $PATH
12875
 
do
12876
 
  IFS=$as_save_IFS
12877
 
  test -z "$as_dir" && as_dir=.
12878
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12879
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12880
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
12881
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12882
 
    break 2
12883
 
  fi
12884
 
done
12885
 
done
12886
 
IFS=$as_save_IFS
12887
 
 
12888
 
fi
12889
 
fi
12890
 
OBJDUMP=$ac_cv_prog_OBJDUMP
12891
 
if test -n "$OBJDUMP"; then
12892
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
12893
 
$as_echo "$OBJDUMP" >&6; }
12894
 
else
12895
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12896
 
$as_echo "no" >&6; }
12897
 
fi
12898
 
 
12899
 
 
12900
 
fi
12901
 
if test -z "$ac_cv_prog_OBJDUMP"; then
12902
 
  ac_ct_OBJDUMP=$OBJDUMP
12903
 
  # Extract the first word of "objdump", so it can be a program name with args.
12904
 
set dummy objdump; ac_word=$2
12905
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12906
 
$as_echo_n "checking for $ac_word... " >&6; }
12907
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
12908
 
  $as_echo_n "(cached) " >&6
12909
 
else
12910
 
  if test -n "$ac_ct_OBJDUMP"; then
12911
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
12912
 
else
12913
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12914
 
for as_dir in $PATH
12915
 
do
12916
 
  IFS=$as_save_IFS
12917
 
  test -z "$as_dir" && as_dir=.
12918
 
  for ac_exec_ext in '' $ac_executable_extensions; do
12919
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12920
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
12921
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12922
 
    break 2
12923
 
  fi
12924
 
done
12925
 
done
12926
 
IFS=$as_save_IFS
12927
 
 
12928
 
fi
12929
 
fi
12930
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
12931
 
if test -n "$ac_ct_OBJDUMP"; then
12932
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
12933
 
$as_echo "$ac_ct_OBJDUMP" >&6; }
12934
 
else
12935
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12936
 
$as_echo "no" >&6; }
12937
 
fi
12938
 
 
12939
 
  if test "x$ac_ct_OBJDUMP" = x; then
12940
 
    OBJDUMP="false"
12941
 
  else
12942
 
    case $cross_compiling:$ac_tool_warned in
12943
 
yes:)
12944
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12945
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12946
 
ac_tool_warned=yes ;;
12947
 
esac
12948
 
    OBJDUMP=$ac_ct_OBJDUMP
12949
 
  fi
12950
 
else
12951
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
12952
 
fi
12953
 
 
12954
 
  ;;
12955
 
esac
12956
 
 
12957
 
test -z "$AS" && AS=as
12958
 
 
12959
 
 
12960
 
 
12961
 
 
12962
 
 
12963
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
12964
 
 
12965
 
 
12966
 
 
12967
 
 
12968
 
 
12969
 
test -z "$OBJDUMP" && OBJDUMP=objdump
12970
 
 
12971
 
 
12972
 
 
12973
 
 
12974
12869
 
12975
12870
 
12976
12871
 
13009
12904
 
13010
12905
 
13011
12906
 
 
12907
  # Check whether --enable-static was given.
 
12908
if test "${enable_static+set}" = set; then
 
12909
  enableval=$enable_static; p=${PACKAGE-default}
 
12910
    case $enableval in
 
12911
    yes) enable_static=yes ;;
 
12912
    no) enable_static=no ;;
 
12913
    *)
 
12914
     enable_static=no
 
12915
      # Look at the argument we got.  We use all the common list separators.
 
12916
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
12917
      for pkg in $enableval; do
 
12918
        IFS="$lt_save_ifs"
 
12919
        if test "X$pkg" = "X$p"; then
 
12920
          enable_static=yes
 
12921
        fi
 
12922
      done
 
12923
      IFS="$lt_save_ifs"
 
12924
      ;;
 
12925
    esac
 
12926
else
 
12927
  enable_static=yes
 
12928
fi
 
12929
 
 
12930
 
 
12931
 
 
12932
 
 
12933
 
 
12934
 
 
12935
 
 
12936
 
13012
12937
 
13013
12938
 
13014
12939
# Check whether --with-pic was given.
13409
13334
$RM -r conftest*
13410
13335
 
13411
13336
 
13412
 
## CAVEAT EMPTOR:
13413
 
## There is no encapsulation within the following macros, do not change
13414
 
## the running order or otherwise move them around unless you know exactly
13415
 
## what you are doing...
13416
13337
if test -n "$compiler"; then
13417
13338
 
13418
13339
lt_prog_compiler_no_builtin_flag=
13438
13359
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13439
13360
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13440
13361
   -e 's:$: $lt_compiler_flag:'`
13441
 
   (eval echo "\"\$as_me:13441: $lt_compile\"" >&5)
 
13362
   (eval echo "\"\$as_me:13362: $lt_compile\"" >&5)
13442
13363
   (eval "$lt_compile" 2>conftest.err)
13443
13364
   ac_status=$?
13444
13365
   cat conftest.err >&5
13445
 
   echo "$as_me:13445: \$? = $ac_status" >&5
 
13366
   echo "$as_me:13366: \$? = $ac_status" >&5
13446
13367
   if (exit $ac_status) && test -s "$ac_outfile"; then
13447
13368
     # The compiler can only warn and ignore the option if not recognized
13448
13369
     # So say no if there are warnings other than the usual output.
13777
13698
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13778
13699
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13779
13700
   -e 's:$: $lt_compiler_flag:'`
13780
 
   (eval echo "\"\$as_me:13780: $lt_compile\"" >&5)
 
13701
   (eval echo "\"\$as_me:13701: $lt_compile\"" >&5)
13781
13702
   (eval "$lt_compile" 2>conftest.err)
13782
13703
   ac_status=$?
13783
13704
   cat conftest.err >&5
13784
 
   echo "$as_me:13784: \$? = $ac_status" >&5
 
13705
   echo "$as_me:13705: \$? = $ac_status" >&5
13785
13706
   if (exit $ac_status) && test -s "$ac_outfile"; then
13786
13707
     # The compiler can only warn and ignore the option if not recognized
13787
13708
     # So say no if there are warnings other than the usual output.
13882
13803
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883
13804
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884
13805
   -e 's:$: $lt_compiler_flag:'`
13885
 
   (eval echo "\"\$as_me:13885: $lt_compile\"" >&5)
 
13806
   (eval echo "\"\$as_me:13806: $lt_compile\"" >&5)
13886
13807
   (eval "$lt_compile" 2>out/conftest.err)
13887
13808
   ac_status=$?
13888
13809
   cat out/conftest.err >&5
13889
 
   echo "$as_me:13889: \$? = $ac_status" >&5
 
13810
   echo "$as_me:13810: \$? = $ac_status" >&5
13890
13811
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891
13812
   then
13892
13813
     # The compiler can only warn and ignore the option if not recognized
13937
13858
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938
13859
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939
13860
   -e 's:$: $lt_compiler_flag:'`
13940
 
   (eval echo "\"\$as_me:13940: $lt_compile\"" >&5)
 
13861
   (eval echo "\"\$as_me:13861: $lt_compile\"" >&5)
13941
13862
   (eval "$lt_compile" 2>out/conftest.err)
13942
13863
   ac_status=$?
13943
13864
   cat out/conftest.err >&5
13944
 
   echo "$as_me:13944: \$? = $ac_status" >&5
 
13865
   echo "$as_me:13865: \$? = $ac_status" >&5
13945
13866
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946
13867
   then
13947
13868
     # The compiler can only warn and ignore the option if not recognized
15789
15710
  # before this can be enabled.
15790
15711
  hardcode_into_libs=yes
15791
15712
 
 
15713
  # Add ABI-specific directories to the system library path.
 
15714
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
15715
 
15792
15716
  # Append ld.so.conf contents to the search path
15793
15717
  if test -f /etc/ld.so.conf; then
15794
15718
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15795
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
15719
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15796
15720
  fi
15797
15721
 
15798
15722
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16737
16661
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16738
16662
  lt_status=$lt_dlunknown
16739
16663
  cat > conftest.$ac_ext <<_LT_EOF
16740
 
#line 16740 "configure"
 
16664
#line 16664 "configure"
16741
16665
#include "confdefs.h"
16742
16666
 
16743
16667
#if HAVE_DLFCN_H
16833
16757
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16834
16758
  lt_status=$lt_dlunknown
16835
16759
  cat > conftest.$ac_ext <<_LT_EOF
16836
 
#line 16836 "configure"
 
16760
#line 16760 "configure"
16837
16761
#include "confdefs.h"
16838
16762
 
16839
16763
#if HAVE_DLFCN_H
18853
18777
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18854
18778
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18855
18779
   -e 's:$: $lt_compiler_flag:'`
18856
 
   (eval echo "\"\$as_me:18856: $lt_compile\"" >&5)
 
18780
   (eval echo "\"\$as_me:18780: $lt_compile\"" >&5)
18857
18781
   (eval "$lt_compile" 2>conftest.err)
18858
18782
   ac_status=$?
18859
18783
   cat conftest.err >&5
18860
 
   echo "$as_me:18860: \$? = $ac_status" >&5
 
18784
   echo "$as_me:18784: \$? = $ac_status" >&5
18861
18785
   if (exit $ac_status) && test -s "$ac_outfile"; then
18862
18786
     # The compiler can only warn and ignore the option if not recognized
18863
18787
     # So say no if there are warnings other than the usual output.
18952
18876
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18953
18877
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18954
18878
   -e 's:$: $lt_compiler_flag:'`
18955
 
   (eval echo "\"\$as_me:18955: $lt_compile\"" >&5)
 
18879
   (eval echo "\"\$as_me:18879: $lt_compile\"" >&5)
18956
18880
   (eval "$lt_compile" 2>out/conftest.err)
18957
18881
   ac_status=$?
18958
18882
   cat out/conftest.err >&5
18959
 
   echo "$as_me:18959: \$? = $ac_status" >&5
 
18883
   echo "$as_me:18883: \$? = $ac_status" >&5
18960
18884
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18961
18885
   then
18962
18886
     # The compiler can only warn and ignore the option if not recognized
19004
18928
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19005
18929
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19006
18930
   -e 's:$: $lt_compiler_flag:'`
19007
 
   (eval echo "\"\$as_me:19007: $lt_compile\"" >&5)
 
18931
   (eval echo "\"\$as_me:18931: $lt_compile\"" >&5)
19008
18932
   (eval "$lt_compile" 2>out/conftest.err)
19009
18933
   ac_status=$?
19010
18934
   cat out/conftest.err >&5
19011
 
   echo "$as_me:19011: \$? = $ac_status" >&5
 
18935
   echo "$as_me:18935: \$? = $ac_status" >&5
19012
18936
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
19013
18937
   then
19014
18938
     # The compiler can only warn and ignore the option if not recognized
19651
19575
  # before this can be enabled.
19652
19576
  hardcode_into_libs=yes
19653
19577
 
 
19578
  # Add ABI-specific directories to the system library path.
 
19579
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
19580
 
19654
19581
  # Append ld.so.conf contents to the search path
19655
19582
  if test -f /etc/ld.so.conf; then
19656
19583
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19657
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
19584
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19658
19585
  fi
19659
19586
 
19660
19587
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19989
19916
 
19990
19917
 
19991
19918
 
 
19919
 
 
19920
# dolt, a replacement for libtool
 
19921
# Josh Triplett <josh@freedesktop.org>
 
19922
# Extract the first word of "bash", so it can be a program name with args.
 
19923
set dummy bash; ac_word=$2
 
19924
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19925
$as_echo_n "checking for $ac_word... " >&6; }
 
19926
if test "${ac_cv_path_DOLT_BASH+set}" = set; then
 
19927
  $as_echo_n "(cached) " >&6
 
19928
else
 
19929
  case $DOLT_BASH in
 
19930
  [\\/]* | ?:[\\/]*)
 
19931
  ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path.
 
19932
  ;;
 
19933
  *)
 
19934
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
19935
for as_dir in $PATH
 
19936
do
 
19937
  IFS=$as_save_IFS
 
19938
  test -z "$as_dir" && as_dir=.
 
19939
  for ac_exec_ext in '' $ac_executable_extensions; do
 
19940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
19941
    ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext"
 
19942
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19943
    break 2
 
19944
  fi
 
19945
done
 
19946
done
 
19947
IFS=$as_save_IFS
 
19948
 
 
19949
  ;;
 
19950
esac
 
19951
fi
 
19952
DOLT_BASH=$ac_cv_path_DOLT_BASH
 
19953
if test -n "$DOLT_BASH"; then
 
19954
  { $as_echo "$as_me:$LINENO: result: $DOLT_BASH" >&5
 
19955
$as_echo "$DOLT_BASH" >&6; }
 
19956
else
 
19957
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
19958
$as_echo "no" >&6; }
 
19959
fi
 
19960
 
 
19961
 
 
19962
{ $as_echo "$as_me:$LINENO: checking if dolt supports this host" >&5
 
19963
$as_echo_n "checking if dolt supports this host... " >&6; }
 
19964
dolt_supported=yes
 
19965
if test x$DOLT_BASH = x; then
 
19966
    dolt_supported=no
 
19967
fi
 
19968
if test x$GCC != xyes; then
 
19969
    dolt_supported=no
 
19970
fi
 
19971
case $host in
 
19972
i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \
 
19973
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
 
19974
    pic_options='-fPIC'
 
19975
    ;;
 
19976
i?86-apple-darwin*)
 
19977
    pic_options='-fno-common'
 
19978
    ;;
 
19979
*)
 
19980
    dolt_supported=no
 
19981
    ;;
 
19982
esac
 
19983
if test x$dolt_supported = xno ; then
 
19984
    { $as_echo "$as_me:$LINENO: result: no, falling back to libtool" >&5
 
19985
$as_echo "no, falling back to libtool" >&6; }
 
19986
    LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
 
19987
    LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
 
19988
else
 
19989
    { $as_echo "$as_me:$LINENO: result: yes, replacing libtool" >&5
 
19990
$as_echo "yes, replacing libtool" >&6; }
 
19991
 
 
19992
    cat <<__DOLTCOMPILE__EOF__ >doltcompile
 
19993
#!$DOLT_BASH
 
19994
__DOLTCOMPILE__EOF__
 
19995
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
19996
args=("$@")
 
19997
for ((arg=0; arg<${#args[@]}; arg++)) ; do
 
19998
    if test x"${args[$arg]}" = x-o ; then
 
19999
        objarg=$((arg+1))
 
20000
        break
 
20001
    fi
 
20002
done
 
20003
if test x$objarg = x ; then
 
20004
    echo 'Error: no -o on compiler command line' 1>&2
 
20005
    exit 1
 
20006
fi
 
20007
lo="${args[$objarg]}"
 
20008
obj="${lo%.lo}"
 
20009
if test x"$lo" = x"$obj" ; then
 
20010
    echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2
 
20011
    exit 1
 
20012
fi
 
20013
objbase="${obj##*/}"
 
20014
__DOLTCOMPILE__EOF__
 
20015
 
 
20016
    if test x$enable_shared = xyes; then
 
20017
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20018
libobjdir="${obj%$objbase}.libs"
 
20019
if test ! -d "$libobjdir" ; then
 
20020
    mkdir_out="$(mkdir "$libobjdir" 2>&1)"
 
20021
    mkdir_ret=$?
 
20022
    if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then
 
20023
        echo "$mkdir_out" 1>&2
 
20024
        exit $mkdir_ret
 
20025
    fi
 
20026
fi
 
20027
pic_object="$libobjdir/$objbase.o"
 
20028
args[$objarg]="$pic_object"
 
20029
__DOLTCOMPILE__EOF__
 
20030
    cat <<__DOLTCOMPILE__EOF__ >>doltcompile
 
20031
"\${args[@]}" $pic_options -DPIC || exit \$?
 
20032
__DOLTCOMPILE__EOF__
 
20033
    fi
 
20034
 
 
20035
    if test x$enable_static = xyes; then
 
20036
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20037
non_pic_object="$obj.o"
 
20038
args[$objarg]="$non_pic_object"
 
20039
__DOLTCOMPILE__EOF__
 
20040
        if test x$enable_shared = xyes; then
 
20041
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20042
"${args[@]}" >/dev/null 2>&1 || exit $?
 
20043
__DOLTCOMPILE__EOF__
 
20044
        else
 
20045
            cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20046
"${args[@]}" || exit $?
 
20047
__DOLTCOMPILE__EOF__
 
20048
        fi
 
20049
    fi
 
20050
 
 
20051
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20052
{
 
20053
echo "# $lo - a libtool object file"
 
20054
echo "# Generated by doltcompile, not libtool"
 
20055
__DOLTCOMPILE__EOF__
 
20056
 
 
20057
    if test x$enable_shared = xyes; then
 
20058
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20059
echo "pic_object='.libs/${objbase}.o'"
 
20060
__DOLTCOMPILE__EOF__
 
20061
    else
 
20062
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20063
echo pic_object=none
 
20064
__DOLTCOMPILE__EOF__
 
20065
    fi
 
20066
 
 
20067
    if test x$enable_static = xyes; then
 
20068
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20069
echo "non_pic_object='${objbase}.o'"
 
20070
__DOLTCOMPILE__EOF__
 
20071
    else
 
20072
        cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20073
echo non_pic_object=none
 
20074
__DOLTCOMPILE__EOF__
 
20075
    fi
 
20076
 
 
20077
    cat <<'__DOLTCOMPILE__EOF__' >>doltcompile
 
20078
} > "$lo"
 
20079
__DOLTCOMPILE__EOF__
 
20080
 
 
20081
    chmod +x doltcompile
 
20082
    LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)'
 
20083
    LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)'
 
20084
 
 
20085
    cat <<__DOLTLIBTOOL__EOF__ > doltlibtool
 
20086
#!$DOLT_BASH
 
20087
__DOLTLIBTOOL__EOF__
 
20088
    cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool
 
20089
top_builddir_slash="${0%%doltlibtool}"
 
20090
: ${top_builddir_slash:=./}
 
20091
args=()
 
20092
modeok=false
 
20093
tagok=false
 
20094
for arg in "$@"; do
 
20095
    case "$arg" in
 
20096
        --mode=compile) modeok=true ;;
 
20097
        --tag=CC|--tag=CXX) tagok=true ;;
 
20098
        *) args+=("$arg")
 
20099
    esac
 
20100
done
 
20101
if $modeok && $tagok ; then
 
20102
    . ${top_builddir_slash}doltcompile "${args[@]}"
 
20103
else
 
20104
    exec ${top_builddir_slash}libtool "$@"
 
20105
fi
 
20106
__DOLTLIBTOOL__EOF__
 
20107
 
 
20108
    chmod +x doltlibtool
 
20109
    LIBTOOL='$(top_builddir)/doltlibtool'
 
20110
fi
 
20111
 
 
20112
 
 
20113
# end dolt
 
20114
 
 
20115
 
19992
20116
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
19993
20117
set dummy glib-genmarshal; ac_word=$2
19994
20118
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
20057
20181
 
20058
20182
 
20059
20183
 
 
20184
 
 
20185
 
 
20186
for ac_header in locale.h
 
20187
do
 
20188
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20189
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20190
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20191
$as_echo_n "checking for $ac_header... " >&6; }
 
20192
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20193
  $as_echo_n "(cached) " >&6
 
20194
fi
 
20195
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20196
                 $as_echo "$as_val"'`
 
20197
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20198
$as_echo "$ac_res" >&6; }
 
20199
else
 
20200
  # Is the header compilable?
 
20201
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20202
$as_echo_n "checking $ac_header usability... " >&6; }
 
20203
cat >conftest.$ac_ext <<_ACEOF
 
20204
/* confdefs.h.  */
 
20205
_ACEOF
 
20206
cat confdefs.h >>conftest.$ac_ext
 
20207
cat >>conftest.$ac_ext <<_ACEOF
 
20208
/* end confdefs.h.  */
 
20209
$ac_includes_default
 
20210
#include <$ac_header>
 
20211
_ACEOF
 
20212
rm -f conftest.$ac_objext
 
20213
if { (ac_try="$ac_compile"
 
20214
case "(($ac_try" in
 
20215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20216
  *) ac_try_echo=$ac_try;;
 
20217
esac
 
20218
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20219
$as_echo "$ac_try_echo") >&5
 
20220
  (eval "$ac_compile") 2>conftest.er1
 
20221
  ac_status=$?
 
20222
  grep -v '^ *+' conftest.er1 >conftest.err
 
20223
  rm -f conftest.er1
 
20224
  cat conftest.err >&5
 
20225
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20226
  (exit $ac_status); } && {
 
20227
         test -z "$ac_c_werror_flag" ||
 
20228
         test ! -s conftest.err
 
20229
       } && test -s conftest.$ac_objext; then
 
20230
  ac_header_compiler=yes
 
20231
else
 
20232
  $as_echo "$as_me: failed program was:" >&5
 
20233
sed 's/^/| /' conftest.$ac_ext >&5
 
20234
 
 
20235
        ac_header_compiler=no
 
20236
fi
 
20237
 
 
20238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20239
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20240
$as_echo "$ac_header_compiler" >&6; }
 
20241
 
 
20242
# Is the header present?
 
20243
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20244
$as_echo_n "checking $ac_header presence... " >&6; }
 
20245
cat >conftest.$ac_ext <<_ACEOF
 
20246
/* confdefs.h.  */
 
20247
_ACEOF
 
20248
cat confdefs.h >>conftest.$ac_ext
 
20249
cat >>conftest.$ac_ext <<_ACEOF
 
20250
/* end confdefs.h.  */
 
20251
#include <$ac_header>
 
20252
_ACEOF
 
20253
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20254
case "(($ac_try" in
 
20255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20256
  *) ac_try_echo=$ac_try;;
 
20257
esac
 
20258
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20259
$as_echo "$ac_try_echo") >&5
 
20260
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
20261
  ac_status=$?
 
20262
  grep -v '^ *+' conftest.er1 >conftest.err
 
20263
  rm -f conftest.er1
 
20264
  cat conftest.err >&5
 
20265
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20266
  (exit $ac_status); } >/dev/null && {
 
20267
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20268
         test ! -s conftest.err
 
20269
       }; then
 
20270
  ac_header_preproc=yes
 
20271
else
 
20272
  $as_echo "$as_me: failed program was:" >&5
 
20273
sed 's/^/| /' conftest.$ac_ext >&5
 
20274
 
 
20275
  ac_header_preproc=no
 
20276
fi
 
20277
 
 
20278
rm -f conftest.err conftest.$ac_ext
 
20279
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20280
$as_echo "$ac_header_preproc" >&6; }
 
20281
 
 
20282
# So?  What about this header?
 
20283
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
20284
  yes:no: )
 
20285
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20286
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20287
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20288
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20289
    ac_header_preproc=yes
 
20290
    ;;
 
20291
  no:yes:* )
 
20292
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20293
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20294
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20295
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20296
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20297
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20298
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20299
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20300
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20301
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20302
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20303
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20304
    ( cat <<\_ASBOX
 
20305
## ---------------------------------------------------------------------- ##
 
20306
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
 
20307
## ---------------------------------------------------------------------- ##
 
20308
_ASBOX
 
20309
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
20310
    ;;
 
20311
esac
 
20312
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20313
$as_echo_n "checking for $ac_header... " >&6; }
 
20314
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20315
  $as_echo_n "(cached) " >&6
 
20316
else
 
20317
  eval "$as_ac_Header=\$ac_header_preproc"
 
20318
fi
 
20319
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20320
                 $as_echo "$as_val"'`
 
20321
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20322
$as_echo "$ac_res" >&6; }
 
20323
 
 
20324
fi
 
20325
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20326
                 $as_echo "$as_val"'`
 
20327
   if test "x$as_val" = x""yes; then
 
20328
  cat >>confdefs.h <<_ACEOF
 
20329
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20330
_ACEOF
 
20331
 
 
20332
fi
 
20333
 
 
20334
done
 
20335
 
 
20336
    if test $ac_cv_header_locale_h = yes; then
 
20337
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
20338
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
20339
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
20340
  $as_echo_n "(cached) " >&6
 
20341
else
 
20342
  cat >conftest.$ac_ext <<_ACEOF
 
20343
/* confdefs.h.  */
 
20344
_ACEOF
 
20345
cat confdefs.h >>conftest.$ac_ext
 
20346
cat >>conftest.$ac_ext <<_ACEOF
 
20347
/* end confdefs.h.  */
 
20348
#include <locale.h>
 
20349
int
 
20350
main ()
 
20351
{
 
20352
return LC_MESSAGES
 
20353
  ;
 
20354
  return 0;
 
20355
}
 
20356
_ACEOF
 
20357
rm -f conftest.$ac_objext conftest$ac_exeext
 
20358
if { (ac_try="$ac_link"
 
20359
case "(($ac_try" in
 
20360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20361
  *) ac_try_echo=$ac_try;;
 
20362
esac
 
20363
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20364
$as_echo "$ac_try_echo") >&5
 
20365
  (eval "$ac_link") 2>conftest.er1
 
20366
  ac_status=$?
 
20367
  grep -v '^ *+' conftest.er1 >conftest.err
 
20368
  rm -f conftest.er1
 
20369
  cat conftest.err >&5
 
20370
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20371
  (exit $ac_status); } && {
 
20372
         test -z "$ac_c_werror_flag" ||
 
20373
         test ! -s conftest.err
 
20374
       } && test -s conftest$ac_exeext && {
 
20375
         test "$cross_compiling" = yes ||
 
20376
         $as_test_x conftest$ac_exeext
 
20377
       }; then
 
20378
  am_cv_val_LC_MESSAGES=yes
 
20379
else
 
20380
  $as_echo "$as_me: failed program was:" >&5
 
20381
sed 's/^/| /' conftest.$ac_ext >&5
 
20382
 
 
20383
        am_cv_val_LC_MESSAGES=no
 
20384
fi
 
20385
 
 
20386
rm -rf conftest.dSYM
 
20387
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20388
      conftest$ac_exeext conftest.$ac_ext
 
20389
fi
 
20390
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
20391
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
20392
    if test $am_cv_val_LC_MESSAGES = yes; then
 
20393
 
 
20394
cat >>confdefs.h <<\_ACEOF
 
20395
#define HAVE_LC_MESSAGES 1
 
20396
_ACEOF
 
20397
 
 
20398
    fi
 
20399
  fi
 
20400
     USE_NLS=yes
 
20401
 
 
20402
 
 
20403
    gt_cv_have_gettext=no
 
20404
 
 
20405
    CATOBJEXT=NONE
 
20406
    XGETTEXT=:
 
20407
    INTLLIBS=
 
20408
 
 
20409
    if test "${ac_cv_header_libintl_h+set}" = set; then
 
20410
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
20411
$as_echo_n "checking for libintl.h... " >&6; }
 
20412
if test "${ac_cv_header_libintl_h+set}" = set; then
 
20413
  $as_echo_n "(cached) " >&6
 
20414
fi
 
20415
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
20416
$as_echo "$ac_cv_header_libintl_h" >&6; }
 
20417
else
 
20418
  # Is the header compilable?
 
20419
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
20420
$as_echo_n "checking libintl.h usability... " >&6; }
 
20421
cat >conftest.$ac_ext <<_ACEOF
 
20422
/* confdefs.h.  */
 
20423
_ACEOF
 
20424
cat confdefs.h >>conftest.$ac_ext
 
20425
cat >>conftest.$ac_ext <<_ACEOF
 
20426
/* end confdefs.h.  */
 
20427
$ac_includes_default
 
20428
#include <libintl.h>
 
20429
_ACEOF
 
20430
rm -f conftest.$ac_objext
 
20431
if { (ac_try="$ac_compile"
 
20432
case "(($ac_try" in
 
20433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20434
  *) ac_try_echo=$ac_try;;
 
20435
esac
 
20436
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20437
$as_echo "$ac_try_echo") >&5
 
20438
  (eval "$ac_compile") 2>conftest.er1
 
20439
  ac_status=$?
 
20440
  grep -v '^ *+' conftest.er1 >conftest.err
 
20441
  rm -f conftest.er1
 
20442
  cat conftest.err >&5
 
20443
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20444
  (exit $ac_status); } && {
 
20445
         test -z "$ac_c_werror_flag" ||
 
20446
         test ! -s conftest.err
 
20447
       } && test -s conftest.$ac_objext; then
 
20448
  ac_header_compiler=yes
 
20449
else
 
20450
  $as_echo "$as_me: failed program was:" >&5
 
20451
sed 's/^/| /' conftest.$ac_ext >&5
 
20452
 
 
20453
        ac_header_compiler=no
 
20454
fi
 
20455
 
 
20456
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20457
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20458
$as_echo "$ac_header_compiler" >&6; }
 
20459
 
 
20460
# Is the header present?
 
20461
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
20462
$as_echo_n "checking libintl.h presence... " >&6; }
 
20463
cat >conftest.$ac_ext <<_ACEOF
 
20464
/* confdefs.h.  */
 
20465
_ACEOF
 
20466
cat confdefs.h >>conftest.$ac_ext
 
20467
cat >>conftest.$ac_ext <<_ACEOF
 
20468
/* end confdefs.h.  */
 
20469
#include <libintl.h>
 
20470
_ACEOF
 
20471
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20472
case "(($ac_try" in
 
20473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20474
  *) ac_try_echo=$ac_try;;
 
20475
esac
 
20476
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20477
$as_echo "$ac_try_echo") >&5
 
20478
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
20479
  ac_status=$?
 
20480
  grep -v '^ *+' conftest.er1 >conftest.err
 
20481
  rm -f conftest.er1
 
20482
  cat conftest.err >&5
 
20483
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20484
  (exit $ac_status); } >/dev/null && {
 
20485
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20486
         test ! -s conftest.err
 
20487
       }; then
 
20488
  ac_header_preproc=yes
 
20489
else
 
20490
  $as_echo "$as_me: failed program was:" >&5
 
20491
sed 's/^/| /' conftest.$ac_ext >&5
 
20492
 
 
20493
  ac_header_preproc=no
 
20494
fi
 
20495
 
 
20496
rm -f conftest.err conftest.$ac_ext
 
20497
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20498
$as_echo "$ac_header_preproc" >&6; }
 
20499
 
 
20500
# So?  What about this header?
 
20501
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
20502
  yes:no: )
 
20503
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
20504
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20505
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
20506
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
20507
    ac_header_preproc=yes
 
20508
    ;;
 
20509
  no:yes:* )
 
20510
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
20511
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
20512
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
20513
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
20514
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
20515
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
20516
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
20517
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20518
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
20519
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
20520
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
20521
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
20522
    ( cat <<\_ASBOX
 
20523
## ---------------------------------------------------------------------- ##
 
20524
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
 
20525
## ---------------------------------------------------------------------- ##
 
20526
_ASBOX
 
20527
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
20528
    ;;
 
20529
esac
 
20530
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
20531
$as_echo_n "checking for libintl.h... " >&6; }
 
20532
if test "${ac_cv_header_libintl_h+set}" = set; then
 
20533
  $as_echo_n "(cached) " >&6
 
20534
else
 
20535
  ac_cv_header_libintl_h=$ac_header_preproc
 
20536
fi
 
20537
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
20538
$as_echo "$ac_cv_header_libintl_h" >&6; }
 
20539
 
 
20540
fi
 
20541
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
20542
  gt_cv_func_dgettext_libintl="no"
 
20543
      libintl_extra_libs=""
 
20544
 
 
20545
      #
 
20546
      # First check in libc
 
20547
      #
 
20548
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
20549
$as_echo_n "checking for ngettext in libc... " >&6; }
 
20550
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
20551
  $as_echo_n "(cached) " >&6
 
20552
else
 
20553
  cat >conftest.$ac_ext <<_ACEOF
 
20554
/* confdefs.h.  */
 
20555
_ACEOF
 
20556
cat confdefs.h >>conftest.$ac_ext
 
20557
cat >>conftest.$ac_ext <<_ACEOF
 
20558
/* end confdefs.h.  */
 
20559
 
 
20560
#include <libintl.h>
 
20561
 
 
20562
int
 
20563
main ()
 
20564
{
 
20565
return !ngettext ("","", 1)
 
20566
  ;
 
20567
  return 0;
 
20568
}
 
20569
_ACEOF
 
20570
rm -f conftest.$ac_objext conftest$ac_exeext
 
20571
if { (ac_try="$ac_link"
 
20572
case "(($ac_try" in
 
20573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20574
  *) ac_try_echo=$ac_try;;
 
20575
esac
 
20576
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20577
$as_echo "$ac_try_echo") >&5
 
20578
  (eval "$ac_link") 2>conftest.er1
 
20579
  ac_status=$?
 
20580
  grep -v '^ *+' conftest.er1 >conftest.err
 
20581
  rm -f conftest.er1
 
20582
  cat conftest.err >&5
 
20583
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20584
  (exit $ac_status); } && {
 
20585
         test -z "$ac_c_werror_flag" ||
 
20586
         test ! -s conftest.err
 
20587
       } && test -s conftest$ac_exeext && {
 
20588
         test "$cross_compiling" = yes ||
 
20589
         $as_test_x conftest$ac_exeext
 
20590
       }; then
 
20591
  gt_cv_func_ngettext_libc=yes
 
20592
else
 
20593
  $as_echo "$as_me: failed program was:" >&5
 
20594
sed 's/^/| /' conftest.$ac_ext >&5
 
20595
 
 
20596
        gt_cv_func_ngettext_libc=no
 
20597
fi
 
20598
 
 
20599
rm -rf conftest.dSYM
 
20600
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20601
      conftest$ac_exeext conftest.$ac_ext
 
20602
 
 
20603
fi
 
20604
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
20605
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
20606
 
 
20607
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
20608
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
20609
$as_echo_n "checking for dgettext in libc... " >&6; }
 
20610
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
20611
  $as_echo_n "(cached) " >&6
 
20612
else
 
20613
  cat >conftest.$ac_ext <<_ACEOF
 
20614
/* confdefs.h.  */
 
20615
_ACEOF
 
20616
cat confdefs.h >>conftest.$ac_ext
 
20617
cat >>conftest.$ac_ext <<_ACEOF
 
20618
/* end confdefs.h.  */
 
20619
 
 
20620
#include <libintl.h>
 
20621
 
 
20622
int
 
20623
main ()
 
20624
{
 
20625
return !dgettext ("","")
 
20626
  ;
 
20627
  return 0;
 
20628
}
 
20629
_ACEOF
 
20630
rm -f conftest.$ac_objext conftest$ac_exeext
 
20631
if { (ac_try="$ac_link"
 
20632
case "(($ac_try" in
 
20633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20634
  *) ac_try_echo=$ac_try;;
 
20635
esac
 
20636
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20637
$as_echo "$ac_try_echo") >&5
 
20638
  (eval "$ac_link") 2>conftest.er1
 
20639
  ac_status=$?
 
20640
  grep -v '^ *+' conftest.er1 >conftest.err
 
20641
  rm -f conftest.er1
 
20642
  cat conftest.err >&5
 
20643
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20644
  (exit $ac_status); } && {
 
20645
         test -z "$ac_c_werror_flag" ||
 
20646
         test ! -s conftest.err
 
20647
       } && test -s conftest$ac_exeext && {
 
20648
         test "$cross_compiling" = yes ||
 
20649
         $as_test_x conftest$ac_exeext
 
20650
       }; then
 
20651
  gt_cv_func_dgettext_libc=yes
 
20652
else
 
20653
  $as_echo "$as_me: failed program was:" >&5
 
20654
sed 's/^/| /' conftest.$ac_ext >&5
 
20655
 
 
20656
        gt_cv_func_dgettext_libc=no
 
20657
fi
 
20658
 
 
20659
rm -rf conftest.dSYM
 
20660
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20661
      conftest$ac_exeext conftest.$ac_ext
 
20662
 
 
20663
fi
 
20664
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
20665
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
20666
      fi
 
20667
 
 
20668
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
20669
 
 
20670
for ac_func in bind_textdomain_codeset
 
20671
do
 
20672
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20673
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20674
$as_echo_n "checking for $ac_func... " >&6; }
 
20675
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
20676
  $as_echo_n "(cached) " >&6
 
20677
else
 
20678
  cat >conftest.$ac_ext <<_ACEOF
 
20679
/* confdefs.h.  */
 
20680
_ACEOF
 
20681
cat confdefs.h >>conftest.$ac_ext
 
20682
cat >>conftest.$ac_ext <<_ACEOF
 
20683
/* end confdefs.h.  */
 
20684
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
20685
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20686
#define $ac_func innocuous_$ac_func
 
20687
 
 
20688
/* System header to define __stub macros and hopefully few prototypes,
 
20689
    which can conflict with char $ac_func (); below.
 
20690
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
20691
    <limits.h> exists even on freestanding compilers.  */
 
20692
 
 
20693
#ifdef __STDC__
 
20694
# include <limits.h>
 
20695
#else
 
20696
# include <assert.h>
 
20697
#endif
 
20698
 
 
20699
#undef $ac_func
 
20700
 
 
20701
/* Override any GCC internal prototype to avoid an error.
 
20702
   Use char because int might match the return type of a GCC
 
20703
   builtin and then its argument prototype would still apply.  */
 
20704
#ifdef __cplusplus
 
20705
extern "C"
 
20706
#endif
 
20707
char $ac_func ();
 
20708
/* The GNU C library defines this for functions which it implements
 
20709
    to always fail with ENOSYS.  Some functions are actually named
 
20710
    something starting with __ and the normal name is an alias.  */
 
20711
#if defined __stub_$ac_func || defined __stub___$ac_func
 
20712
choke me
 
20713
#endif
 
20714
 
 
20715
int
 
20716
main ()
 
20717
{
 
20718
return $ac_func ();
 
20719
  ;
 
20720
  return 0;
 
20721
}
 
20722
_ACEOF
 
20723
rm -f conftest.$ac_objext conftest$ac_exeext
 
20724
if { (ac_try="$ac_link"
 
20725
case "(($ac_try" in
 
20726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20727
  *) ac_try_echo=$ac_try;;
 
20728
esac
 
20729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20730
$as_echo "$ac_try_echo") >&5
 
20731
  (eval "$ac_link") 2>conftest.er1
 
20732
  ac_status=$?
 
20733
  grep -v '^ *+' conftest.er1 >conftest.err
 
20734
  rm -f conftest.er1
 
20735
  cat conftest.err >&5
 
20736
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20737
  (exit $ac_status); } && {
 
20738
         test -z "$ac_c_werror_flag" ||
 
20739
         test ! -s conftest.err
 
20740
       } && test -s conftest$ac_exeext && {
 
20741
         test "$cross_compiling" = yes ||
 
20742
         $as_test_x conftest$ac_exeext
 
20743
       }; then
 
20744
  eval "$as_ac_var=yes"
 
20745
else
 
20746
  $as_echo "$as_me: failed program was:" >&5
 
20747
sed 's/^/| /' conftest.$ac_ext >&5
 
20748
 
 
20749
        eval "$as_ac_var=no"
 
20750
fi
 
20751
 
 
20752
rm -rf conftest.dSYM
 
20753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20754
      conftest$ac_exeext conftest.$ac_ext
 
20755
fi
 
20756
ac_res=`eval 'as_val=${'$as_ac_var'}
 
20757
                 $as_echo "$as_val"'`
 
20758
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20759
$as_echo "$ac_res" >&6; }
 
20760
as_val=`eval 'as_val=${'$as_ac_var'}
 
20761
                 $as_echo "$as_val"'`
 
20762
   if test "x$as_val" = x""yes; then
 
20763
  cat >>confdefs.h <<_ACEOF
 
20764
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20765
_ACEOF
 
20766
 
 
20767
fi
 
20768
done
 
20769
 
 
20770
      fi
 
20771
 
 
20772
      #
 
20773
      # If we don't have everything we want, check in libintl
 
20774
      #
 
20775
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
20776
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
20777
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
20778
 
 
20779
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
20780
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
20781
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
20782
  $as_echo_n "(cached) " >&6
 
20783
else
 
20784
  ac_check_lib_save_LIBS=$LIBS
 
20785
LIBS="-lintl  $LIBS"
 
20786
cat >conftest.$ac_ext <<_ACEOF
 
20787
/* confdefs.h.  */
 
20788
_ACEOF
 
20789
cat confdefs.h >>conftest.$ac_ext
 
20790
cat >>conftest.$ac_ext <<_ACEOF
 
20791
/* end confdefs.h.  */
 
20792
 
 
20793
/* Override any GCC internal prototype to avoid an error.
 
20794
   Use char because int might match the return type of a GCC
 
20795
   builtin and then its argument prototype would still apply.  */
 
20796
#ifdef __cplusplus
 
20797
extern "C"
 
20798
#endif
 
20799
char bindtextdomain ();
 
20800
int
 
20801
main ()
 
20802
{
 
20803
return bindtextdomain ();
 
20804
  ;
 
20805
  return 0;
 
20806
}
 
20807
_ACEOF
 
20808
rm -f conftest.$ac_objext conftest$ac_exeext
 
20809
if { (ac_try="$ac_link"
 
20810
case "(($ac_try" in
 
20811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20812
  *) ac_try_echo=$ac_try;;
 
20813
esac
 
20814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20815
$as_echo "$ac_try_echo") >&5
 
20816
  (eval "$ac_link") 2>conftest.er1
 
20817
  ac_status=$?
 
20818
  grep -v '^ *+' conftest.er1 >conftest.err
 
20819
  rm -f conftest.er1
 
20820
  cat conftest.err >&5
 
20821
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20822
  (exit $ac_status); } && {
 
20823
         test -z "$ac_c_werror_flag" ||
 
20824
         test ! -s conftest.err
 
20825
       } && test -s conftest$ac_exeext && {
 
20826
         test "$cross_compiling" = yes ||
 
20827
         $as_test_x conftest$ac_exeext
 
20828
       }; then
 
20829
  ac_cv_lib_intl_bindtextdomain=yes
 
20830
else
 
20831
  $as_echo "$as_me: failed program was:" >&5
 
20832
sed 's/^/| /' conftest.$ac_ext >&5
 
20833
 
 
20834
        ac_cv_lib_intl_bindtextdomain=no
 
20835
fi
 
20836
 
 
20837
rm -rf conftest.dSYM
 
20838
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20839
      conftest$ac_exeext conftest.$ac_ext
 
20840
LIBS=$ac_check_lib_save_LIBS
 
20841
fi
 
20842
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
20843
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
20844
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
 
20845
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
20846
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
20847
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
20848
  $as_echo_n "(cached) " >&6
 
20849
else
 
20850
  ac_check_lib_save_LIBS=$LIBS
 
20851
LIBS="-lintl  $LIBS"
 
20852
cat >conftest.$ac_ext <<_ACEOF
 
20853
/* confdefs.h.  */
 
20854
_ACEOF
 
20855
cat confdefs.h >>conftest.$ac_ext
 
20856
cat >>conftest.$ac_ext <<_ACEOF
 
20857
/* end confdefs.h.  */
 
20858
 
 
20859
/* Override any GCC internal prototype to avoid an error.
 
20860
   Use char because int might match the return type of a GCC
 
20861
   builtin and then its argument prototype would still apply.  */
 
20862
#ifdef __cplusplus
 
20863
extern "C"
 
20864
#endif
 
20865
char ngettext ();
 
20866
int
 
20867
main ()
 
20868
{
 
20869
return ngettext ();
 
20870
  ;
 
20871
  return 0;
 
20872
}
 
20873
_ACEOF
 
20874
rm -f conftest.$ac_objext conftest$ac_exeext
 
20875
if { (ac_try="$ac_link"
 
20876
case "(($ac_try" in
 
20877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20878
  *) ac_try_echo=$ac_try;;
 
20879
esac
 
20880
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20881
$as_echo "$ac_try_echo") >&5
 
20882
  (eval "$ac_link") 2>conftest.er1
 
20883
  ac_status=$?
 
20884
  grep -v '^ *+' conftest.er1 >conftest.err
 
20885
  rm -f conftest.er1
 
20886
  cat conftest.err >&5
 
20887
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20888
  (exit $ac_status); } && {
 
20889
         test -z "$ac_c_werror_flag" ||
 
20890
         test ! -s conftest.err
 
20891
       } && test -s conftest$ac_exeext && {
 
20892
         test "$cross_compiling" = yes ||
 
20893
         $as_test_x conftest$ac_exeext
 
20894
       }; then
 
20895
  ac_cv_lib_intl_ngettext=yes
 
20896
else
 
20897
  $as_echo "$as_me: failed program was:" >&5
 
20898
sed 's/^/| /' conftest.$ac_ext >&5
 
20899
 
 
20900
        ac_cv_lib_intl_ngettext=no
 
20901
fi
 
20902
 
 
20903
rm -rf conftest.dSYM
 
20904
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20905
      conftest$ac_exeext conftest.$ac_ext
 
20906
LIBS=$ac_check_lib_save_LIBS
 
20907
fi
 
20908
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
20909
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
20910
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
20911
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
20912
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
20913
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
20914
  $as_echo_n "(cached) " >&6
 
20915
else
 
20916
  ac_check_lib_save_LIBS=$LIBS
 
20917
LIBS="-lintl  $LIBS"
 
20918
cat >conftest.$ac_ext <<_ACEOF
 
20919
/* confdefs.h.  */
 
20920
_ACEOF
 
20921
cat confdefs.h >>conftest.$ac_ext
 
20922
cat >>conftest.$ac_ext <<_ACEOF
 
20923
/* end confdefs.h.  */
 
20924
 
 
20925
/* Override any GCC internal prototype to avoid an error.
 
20926
   Use char because int might match the return type of a GCC
 
20927
   builtin and then its argument prototype would still apply.  */
 
20928
#ifdef __cplusplus
 
20929
extern "C"
 
20930
#endif
 
20931
char dgettext ();
 
20932
int
 
20933
main ()
 
20934
{
 
20935
return dgettext ();
 
20936
  ;
 
20937
  return 0;
 
20938
}
 
20939
_ACEOF
 
20940
rm -f conftest.$ac_objext conftest$ac_exeext
 
20941
if { (ac_try="$ac_link"
 
20942
case "(($ac_try" in
 
20943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20944
  *) ac_try_echo=$ac_try;;
 
20945
esac
 
20946
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20947
$as_echo "$ac_try_echo") >&5
 
20948
  (eval "$ac_link") 2>conftest.er1
 
20949
  ac_status=$?
 
20950
  grep -v '^ *+' conftest.er1 >conftest.err
 
20951
  rm -f conftest.er1
 
20952
  cat conftest.err >&5
 
20953
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20954
  (exit $ac_status); } && {
 
20955
         test -z "$ac_c_werror_flag" ||
 
20956
         test ! -s conftest.err
 
20957
       } && test -s conftest$ac_exeext && {
 
20958
         test "$cross_compiling" = yes ||
 
20959
         $as_test_x conftest$ac_exeext
 
20960
       }; then
 
20961
  ac_cv_lib_intl_dgettext=yes
 
20962
else
 
20963
  $as_echo "$as_me: failed program was:" >&5
 
20964
sed 's/^/| /' conftest.$ac_ext >&5
 
20965
 
 
20966
        ac_cv_lib_intl_dgettext=no
 
20967
fi
 
20968
 
 
20969
rm -rf conftest.dSYM
 
20970
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20971
      conftest$ac_exeext conftest.$ac_ext
 
20972
LIBS=$ac_check_lib_save_LIBS
 
20973
fi
 
20974
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
20975
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
20976
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
20977
  gt_cv_func_dgettext_libintl=yes
 
20978
fi
 
20979
 
 
20980
fi
 
20981
 
 
20982
fi
 
20983
 
 
20984
 
 
20985
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
20986
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
20987
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
20988
          { $as_echo "$as_me:$LINENO: result: " >&5
 
20989
$as_echo "" >&6; }
 
20990
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
20991
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
20992
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
20993
  $as_echo_n "(cached) " >&6
 
20994
else
 
20995
  ac_check_lib_save_LIBS=$LIBS
 
20996
LIBS="-lintl -liconv $LIBS"
 
20997
cat >conftest.$ac_ext <<_ACEOF
 
20998
/* confdefs.h.  */
 
20999
_ACEOF
 
21000
cat confdefs.h >>conftest.$ac_ext
 
21001
cat >>conftest.$ac_ext <<_ACEOF
 
21002
/* end confdefs.h.  */
 
21003
 
 
21004
/* Override any GCC internal prototype to avoid an error.
 
21005
   Use char because int might match the return type of a GCC
 
21006
   builtin and then its argument prototype would still apply.  */
 
21007
#ifdef __cplusplus
 
21008
extern "C"
 
21009
#endif
 
21010
char ngettext ();
 
21011
int
 
21012
main ()
 
21013
{
 
21014
return ngettext ();
 
21015
  ;
 
21016
  return 0;
 
21017
}
 
21018
_ACEOF
 
21019
rm -f conftest.$ac_objext conftest$ac_exeext
 
21020
if { (ac_try="$ac_link"
 
21021
case "(($ac_try" in
 
21022
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21023
  *) ac_try_echo=$ac_try;;
 
21024
esac
 
21025
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21026
$as_echo "$ac_try_echo") >&5
 
21027
  (eval "$ac_link") 2>conftest.er1
 
21028
  ac_status=$?
 
21029
  grep -v '^ *+' conftest.er1 >conftest.err
 
21030
  rm -f conftest.er1
 
21031
  cat conftest.err >&5
 
21032
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21033
  (exit $ac_status); } && {
 
21034
         test -z "$ac_c_werror_flag" ||
 
21035
         test ! -s conftest.err
 
21036
       } && test -s conftest$ac_exeext && {
 
21037
         test "$cross_compiling" = yes ||
 
21038
         $as_test_x conftest$ac_exeext
 
21039
       }; then
 
21040
  ac_cv_lib_intl_ngettext=yes
 
21041
else
 
21042
  $as_echo "$as_me: failed program was:" >&5
 
21043
sed 's/^/| /' conftest.$ac_ext >&5
 
21044
 
 
21045
        ac_cv_lib_intl_ngettext=no
 
21046
fi
 
21047
 
 
21048
rm -rf conftest.dSYM
 
21049
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21050
      conftest$ac_exeext conftest.$ac_ext
 
21051
LIBS=$ac_check_lib_save_LIBS
 
21052
fi
 
21053
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
21054
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
21055
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
 
21056
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
21057
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
21058
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
21059
  $as_echo_n "(cached) " >&6
 
21060
else
 
21061
  ac_check_lib_save_LIBS=$LIBS
 
21062
LIBS="-lintl -liconv $LIBS"
 
21063
cat >conftest.$ac_ext <<_ACEOF
 
21064
/* confdefs.h.  */
 
21065
_ACEOF
 
21066
cat confdefs.h >>conftest.$ac_ext
 
21067
cat >>conftest.$ac_ext <<_ACEOF
 
21068
/* end confdefs.h.  */
 
21069
 
 
21070
/* Override any GCC internal prototype to avoid an error.
 
21071
   Use char because int might match the return type of a GCC
 
21072
   builtin and then its argument prototype would still apply.  */
 
21073
#ifdef __cplusplus
 
21074
extern "C"
 
21075
#endif
 
21076
char dcgettext ();
 
21077
int
 
21078
main ()
 
21079
{
 
21080
return dcgettext ();
 
21081
  ;
 
21082
  return 0;
 
21083
}
 
21084
_ACEOF
 
21085
rm -f conftest.$ac_objext conftest$ac_exeext
 
21086
if { (ac_try="$ac_link"
 
21087
case "(($ac_try" in
 
21088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21089
  *) ac_try_echo=$ac_try;;
 
21090
esac
 
21091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21092
$as_echo "$ac_try_echo") >&5
 
21093
  (eval "$ac_link") 2>conftest.er1
 
21094
  ac_status=$?
 
21095
  grep -v '^ *+' conftest.er1 >conftest.err
 
21096
  rm -f conftest.er1
 
21097
  cat conftest.err >&5
 
21098
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21099
  (exit $ac_status); } && {
 
21100
         test -z "$ac_c_werror_flag" ||
 
21101
         test ! -s conftest.err
 
21102
       } && test -s conftest$ac_exeext && {
 
21103
         test "$cross_compiling" = yes ||
 
21104
         $as_test_x conftest$ac_exeext
 
21105
       }; then
 
21106
  ac_cv_lib_intl_dcgettext=yes
 
21107
else
 
21108
  $as_echo "$as_me: failed program was:" >&5
 
21109
sed 's/^/| /' conftest.$ac_ext >&5
 
21110
 
 
21111
        ac_cv_lib_intl_dcgettext=no
 
21112
fi
 
21113
 
 
21114
rm -rf conftest.dSYM
 
21115
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21116
      conftest$ac_exeext conftest.$ac_ext
 
21117
LIBS=$ac_check_lib_save_LIBS
 
21118
fi
 
21119
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
21120
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
21121
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
21122
  gt_cv_func_dgettext_libintl=yes
 
21123
                        libintl_extra_libs=-liconv
 
21124
else
 
21125
  :
 
21126
fi
 
21127
 
 
21128
else
 
21129
  :
 
21130
fi
 
21131
 
 
21132
        fi
 
21133
 
 
21134
        #
 
21135
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
21136
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
21137
        # and both have dgettext and ngettext
 
21138
        #
 
21139
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
21140
          glib_save_LIBS="$LIBS"
 
21141
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
21142
          unset ac_cv_func_bind_textdomain_codeset
 
21143
 
 
21144
for ac_func in bind_textdomain_codeset
 
21145
do
 
21146
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
21147
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21148
$as_echo_n "checking for $ac_func... " >&6; }
 
21149
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
21150
  $as_echo_n "(cached) " >&6
 
21151
else
 
21152
  cat >conftest.$ac_ext <<_ACEOF
 
21153
/* confdefs.h.  */
 
21154
_ACEOF
 
21155
cat confdefs.h >>conftest.$ac_ext
 
21156
cat >>conftest.$ac_ext <<_ACEOF
 
21157
/* end confdefs.h.  */
 
21158
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
21159
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21160
#define $ac_func innocuous_$ac_func
 
21161
 
 
21162
/* System header to define __stub macros and hopefully few prototypes,
 
21163
    which can conflict with char $ac_func (); below.
 
21164
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
21165
    <limits.h> exists even on freestanding compilers.  */
 
21166
 
 
21167
#ifdef __STDC__
 
21168
# include <limits.h>
 
21169
#else
 
21170
# include <assert.h>
 
21171
#endif
 
21172
 
 
21173
#undef $ac_func
 
21174
 
 
21175
/* Override any GCC internal prototype to avoid an error.
 
21176
   Use char because int might match the return type of a GCC
 
21177
   builtin and then its argument prototype would still apply.  */
 
21178
#ifdef __cplusplus
 
21179
extern "C"
 
21180
#endif
 
21181
char $ac_func ();
 
21182
/* The GNU C library defines this for functions which it implements
 
21183
    to always fail with ENOSYS.  Some functions are actually named
 
21184
    something starting with __ and the normal name is an alias.  */
 
21185
#if defined __stub_$ac_func || defined __stub___$ac_func
 
21186
choke me
 
21187
#endif
 
21188
 
 
21189
int
 
21190
main ()
 
21191
{
 
21192
return $ac_func ();
 
21193
  ;
 
21194
  return 0;
 
21195
}
 
21196
_ACEOF
 
21197
rm -f conftest.$ac_objext conftest$ac_exeext
 
21198
if { (ac_try="$ac_link"
 
21199
case "(($ac_try" in
 
21200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21201
  *) ac_try_echo=$ac_try;;
 
21202
esac
 
21203
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21204
$as_echo "$ac_try_echo") >&5
 
21205
  (eval "$ac_link") 2>conftest.er1
 
21206
  ac_status=$?
 
21207
  grep -v '^ *+' conftest.er1 >conftest.err
 
21208
  rm -f conftest.er1
 
21209
  cat conftest.err >&5
 
21210
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21211
  (exit $ac_status); } && {
 
21212
         test -z "$ac_c_werror_flag" ||
 
21213
         test ! -s conftest.err
 
21214
       } && test -s conftest$ac_exeext && {
 
21215
         test "$cross_compiling" = yes ||
 
21216
         $as_test_x conftest$ac_exeext
 
21217
       }; then
 
21218
  eval "$as_ac_var=yes"
 
21219
else
 
21220
  $as_echo "$as_me: failed program was:" >&5
 
21221
sed 's/^/| /' conftest.$ac_ext >&5
 
21222
 
 
21223
        eval "$as_ac_var=no"
 
21224
fi
 
21225
 
 
21226
rm -rf conftest.dSYM
 
21227
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21228
      conftest$ac_exeext conftest.$ac_ext
 
21229
fi
 
21230
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21231
                 $as_echo "$as_val"'`
 
21232
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21233
$as_echo "$ac_res" >&6; }
 
21234
as_val=`eval 'as_val=${'$as_ac_var'}
 
21235
                 $as_echo "$as_val"'`
 
21236
   if test "x$as_val" = x""yes; then
 
21237
  cat >>confdefs.h <<_ACEOF
 
21238
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
21239
_ACEOF
 
21240
 
 
21241
fi
 
21242
done
 
21243
 
 
21244
          LIBS="$glib_save_LIBS"
 
21245
 
 
21246
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
21247
            gt_cv_func_dgettext_libc=no
 
21248
          else
 
21249
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
21250
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
21251
              gt_cv_func_dgettext_libintl=no
 
21252
            fi
 
21253
          fi
 
21254
        fi
 
21255
      fi
 
21256
 
 
21257
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
21258
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
21259
        gt_cv_have_gettext=yes
 
21260
      fi
 
21261
 
 
21262
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
21263
        INTLLIBS="-lintl $libintl_extra_libs"
 
21264
      fi
 
21265
 
 
21266
      if test "$gt_cv_have_gettext" = "yes"; then
 
21267
 
 
21268
cat >>confdefs.h <<\_ACEOF
 
21269
#define HAVE_GETTEXT 1
 
21270
_ACEOF
 
21271
 
 
21272
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
21273
set dummy msgfmt; ac_word=$2
 
21274
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21275
$as_echo_n "checking for $ac_word... " >&6; }
 
21276
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
21277
  $as_echo_n "(cached) " >&6
 
21278
else
 
21279
  case "$MSGFMT" in
 
21280
  /*)
 
21281
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
21282
  ;;
 
21283
  *)
 
21284
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
21285
  for ac_dir in $PATH; do
 
21286
    test -z "$ac_dir" && ac_dir=.
 
21287
    if test -f $ac_dir/$ac_word; then
 
21288
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
21289
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
21290
        break
 
21291
      fi
 
21292
    fi
 
21293
  done
 
21294
  IFS="$ac_save_ifs"
 
21295
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
21296
  ;;
 
21297
esac
 
21298
fi
 
21299
MSGFMT="$ac_cv_path_MSGFMT"
 
21300
if test "$MSGFMT" != "no"; then
 
21301
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
21302
$as_echo "$MSGFMT" >&6; }
 
21303
else
 
21304
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21305
$as_echo "no" >&6; }
 
21306
fi
 
21307
        if test "$MSGFMT" != "no"; then
 
21308
          glib_save_LIBS="$LIBS"
 
21309
          LIBS="$LIBS $INTLLIBS"
 
21310
 
 
21311
for ac_func in dcgettext
 
21312
do
 
21313
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
21314
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
21315
$as_echo_n "checking for $ac_func... " >&6; }
 
21316
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
21317
  $as_echo_n "(cached) " >&6
 
21318
else
 
21319
  cat >conftest.$ac_ext <<_ACEOF
 
21320
/* confdefs.h.  */
 
21321
_ACEOF
 
21322
cat confdefs.h >>conftest.$ac_ext
 
21323
cat >>conftest.$ac_ext <<_ACEOF
 
21324
/* end confdefs.h.  */
 
21325
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
21326
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21327
#define $ac_func innocuous_$ac_func
 
21328
 
 
21329
/* System header to define __stub macros and hopefully few prototypes,
 
21330
    which can conflict with char $ac_func (); below.
 
21331
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
21332
    <limits.h> exists even on freestanding compilers.  */
 
21333
 
 
21334
#ifdef __STDC__
 
21335
# include <limits.h>
 
21336
#else
 
21337
# include <assert.h>
 
21338
#endif
 
21339
 
 
21340
#undef $ac_func
 
21341
 
 
21342
/* Override any GCC internal prototype to avoid an error.
 
21343
   Use char because int might match the return type of a GCC
 
21344
   builtin and then its argument prototype would still apply.  */
 
21345
#ifdef __cplusplus
 
21346
extern "C"
 
21347
#endif
 
21348
char $ac_func ();
 
21349
/* The GNU C library defines this for functions which it implements
 
21350
    to always fail with ENOSYS.  Some functions are actually named
 
21351
    something starting with __ and the normal name is an alias.  */
 
21352
#if defined __stub_$ac_func || defined __stub___$ac_func
 
21353
choke me
 
21354
#endif
 
21355
 
 
21356
int
 
21357
main ()
 
21358
{
 
21359
return $ac_func ();
 
21360
  ;
 
21361
  return 0;
 
21362
}
 
21363
_ACEOF
 
21364
rm -f conftest.$ac_objext conftest$ac_exeext
 
21365
if { (ac_try="$ac_link"
 
21366
case "(($ac_try" in
 
21367
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21368
  *) ac_try_echo=$ac_try;;
 
21369
esac
 
21370
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21371
$as_echo "$ac_try_echo") >&5
 
21372
  (eval "$ac_link") 2>conftest.er1
 
21373
  ac_status=$?
 
21374
  grep -v '^ *+' conftest.er1 >conftest.err
 
21375
  rm -f conftest.er1
 
21376
  cat conftest.err >&5
 
21377
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21378
  (exit $ac_status); } && {
 
21379
         test -z "$ac_c_werror_flag" ||
 
21380
         test ! -s conftest.err
 
21381
       } && test -s conftest$ac_exeext && {
 
21382
         test "$cross_compiling" = yes ||
 
21383
         $as_test_x conftest$ac_exeext
 
21384
       }; then
 
21385
  eval "$as_ac_var=yes"
 
21386
else
 
21387
  $as_echo "$as_me: failed program was:" >&5
 
21388
sed 's/^/| /' conftest.$ac_ext >&5
 
21389
 
 
21390
        eval "$as_ac_var=no"
 
21391
fi
 
21392
 
 
21393
rm -rf conftest.dSYM
 
21394
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21395
      conftest$ac_exeext conftest.$ac_ext
 
21396
fi
 
21397
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21398
                 $as_echo "$as_val"'`
 
21399
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21400
$as_echo "$ac_res" >&6; }
 
21401
as_val=`eval 'as_val=${'$as_ac_var'}
 
21402
                 $as_echo "$as_val"'`
 
21403
   if test "x$as_val" = x""yes; then
 
21404
  cat >>confdefs.h <<_ACEOF
 
21405
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
21406
_ACEOF
 
21407
 
 
21408
fi
 
21409
done
 
21410
 
 
21411
          MSGFMT_OPTS=
 
21412
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
21413
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
21414
          cat >conftest.foo <<_ACEOF
 
21415
 
 
21416
msgid ""
 
21417
msgstr ""
 
21418
"Content-Type: text/plain; charset=UTF-8\n"
 
21419
"Project-Id-Version: test 1.0\n"
 
21420
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
21421
"Last-Translator: test <foo@bar.xx>\n"
 
21422
"Language-Team: C <LL@li.org>\n"
 
21423
"MIME-Version: 1.0\n"
 
21424
"Content-Transfer-Encoding: 8bit\n"
 
21425
 
 
21426
_ACEOF
 
21427
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
21428
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
21429
  ac_status=$?
 
21430
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21431
  (exit $ac_status); }; then
 
21432
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
21433
$as_echo "yes" >&6; }
 
21434
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
21435
$as_echo "no" >&6; }
 
21436
echo "$as_me: failed input was:" >&5
 
21437
sed 's/^/| /' conftest.foo >&5
 
21438
fi
 
21439
 
 
21440
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
21441
set dummy gmsgfmt; ac_word=$2
 
21442
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21443
$as_echo_n "checking for $ac_word... " >&6; }
 
21444
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
21445
  $as_echo_n "(cached) " >&6
 
21446
else
 
21447
  case $GMSGFMT in
 
21448
  [\\/]* | ?:[\\/]*)
 
21449
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
21450
  ;;
 
21451
  *)
 
21452
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21453
for as_dir in $PATH
 
21454
do
 
21455
  IFS=$as_save_IFS
 
21456
  test -z "$as_dir" && as_dir=.
 
21457
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21458
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21459
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
21460
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21461
    break 2
 
21462
  fi
 
21463
done
 
21464
done
 
21465
IFS=$as_save_IFS
 
21466
 
 
21467
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
21468
  ;;
 
21469
esac
 
21470
fi
 
21471
GMSGFMT=$ac_cv_path_GMSGFMT
 
21472
if test -n "$GMSGFMT"; then
 
21473
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
21474
$as_echo "$GMSGFMT" >&6; }
 
21475
else
 
21476
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21477
$as_echo "no" >&6; }
 
21478
fi
 
21479
 
 
21480
 
 
21481
          # Extract the first word of "xgettext", so it can be a program name with args.
 
21482
set dummy xgettext; ac_word=$2
 
21483
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21484
$as_echo_n "checking for $ac_word... " >&6; }
 
21485
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
21486
  $as_echo_n "(cached) " >&6
 
21487
else
 
21488
  case "$XGETTEXT" in
 
21489
  /*)
 
21490
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
21491
  ;;
 
21492
  *)
 
21493
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
21494
  for ac_dir in $PATH; do
 
21495
    test -z "$ac_dir" && ac_dir=.
 
21496
    if test -f $ac_dir/$ac_word; then
 
21497
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
21498
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
21499
        break
 
21500
      fi
 
21501
    fi
 
21502
  done
 
21503
  IFS="$ac_save_ifs"
 
21504
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
21505
  ;;
 
21506
esac
 
21507
fi
 
21508
XGETTEXT="$ac_cv_path_XGETTEXT"
 
21509
if test "$XGETTEXT" != ":"; then
 
21510
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
21511
$as_echo "$XGETTEXT" >&6; }
 
21512
else
 
21513
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21514
$as_echo "no" >&6; }
 
21515
fi
 
21516
 
 
21517
          cat >conftest.$ac_ext <<_ACEOF
 
21518
/* confdefs.h.  */
 
21519
_ACEOF
 
21520
cat confdefs.h >>conftest.$ac_ext
 
21521
cat >>conftest.$ac_ext <<_ACEOF
 
21522
/* end confdefs.h.  */
 
21523
 
 
21524
int
 
21525
main ()
 
21526
{
 
21527
extern int _nl_msg_cat_cntr;
 
21528
                         return _nl_msg_cat_cntr
 
21529
  ;
 
21530
  return 0;
 
21531
}
 
21532
_ACEOF
 
21533
rm -f conftest.$ac_objext conftest$ac_exeext
 
21534
if { (ac_try="$ac_link"
 
21535
case "(($ac_try" in
 
21536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21537
  *) ac_try_echo=$ac_try;;
 
21538
esac
 
21539
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21540
$as_echo "$ac_try_echo") >&5
 
21541
  (eval "$ac_link") 2>conftest.er1
 
21542
  ac_status=$?
 
21543
  grep -v '^ *+' conftest.er1 >conftest.err
 
21544
  rm -f conftest.er1
 
21545
  cat conftest.err >&5
 
21546
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21547
  (exit $ac_status); } && {
 
21548
         test -z "$ac_c_werror_flag" ||
 
21549
         test ! -s conftest.err
 
21550
       } && test -s conftest$ac_exeext && {
 
21551
         test "$cross_compiling" = yes ||
 
21552
         $as_test_x conftest$ac_exeext
 
21553
       }; then
 
21554
  CATOBJEXT=.gmo
 
21555
             DATADIRNAME=share
 
21556
else
 
21557
  $as_echo "$as_me: failed program was:" >&5
 
21558
sed 's/^/| /' conftest.$ac_ext >&5
 
21559
 
 
21560
        case $host in
 
21561
            *-*-solaris*)
 
21562
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
21563
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 
21564
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 
21565
  $as_echo_n "(cached) " >&6
 
21566
else
 
21567
  cat >conftest.$ac_ext <<_ACEOF
 
21568
/* confdefs.h.  */
 
21569
_ACEOF
 
21570
cat confdefs.h >>conftest.$ac_ext
 
21571
cat >>conftest.$ac_ext <<_ACEOF
 
21572
/* end confdefs.h.  */
 
21573
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 
21574
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
21575
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 
21576
 
 
21577
/* System header to define __stub macros and hopefully few prototypes,
 
21578
    which can conflict with char bind_textdomain_codeset (); below.
 
21579
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
21580
    <limits.h> exists even on freestanding compilers.  */
 
21581
 
 
21582
#ifdef __STDC__
 
21583
# include <limits.h>
 
21584
#else
 
21585
# include <assert.h>
 
21586
#endif
 
21587
 
 
21588
#undef bind_textdomain_codeset
 
21589
 
 
21590
/* Override any GCC internal prototype to avoid an error.
 
21591
   Use char because int might match the return type of a GCC
 
21592
   builtin and then its argument prototype would still apply.  */
 
21593
#ifdef __cplusplus
 
21594
extern "C"
 
21595
#endif
 
21596
char bind_textdomain_codeset ();
 
21597
/* The GNU C library defines this for functions which it implements
 
21598
    to always fail with ENOSYS.  Some functions are actually named
 
21599
    something starting with __ and the normal name is an alias.  */
 
21600
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 
21601
choke me
 
21602
#endif
 
21603
 
 
21604
int
 
21605
main ()
 
21606
{
 
21607
return bind_textdomain_codeset ();
 
21608
  ;
 
21609
  return 0;
 
21610
}
 
21611
_ACEOF
 
21612
rm -f conftest.$ac_objext conftest$ac_exeext
 
21613
if { (ac_try="$ac_link"
 
21614
case "(($ac_try" in
 
21615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21616
  *) ac_try_echo=$ac_try;;
 
21617
esac
 
21618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21619
$as_echo "$ac_try_echo") >&5
 
21620
  (eval "$ac_link") 2>conftest.er1
 
21621
  ac_status=$?
 
21622
  grep -v '^ *+' conftest.er1 >conftest.err
 
21623
  rm -f conftest.er1
 
21624
  cat conftest.err >&5
 
21625
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21626
  (exit $ac_status); } && {
 
21627
         test -z "$ac_c_werror_flag" ||
 
21628
         test ! -s conftest.err
 
21629
       } && test -s conftest$ac_exeext && {
 
21630
         test "$cross_compiling" = yes ||
 
21631
         $as_test_x conftest$ac_exeext
 
21632
       }; then
 
21633
  ac_cv_func_bind_textdomain_codeset=yes
 
21634
else
 
21635
  $as_echo "$as_me: failed program was:" >&5
 
21636
sed 's/^/| /' conftest.$ac_ext >&5
 
21637
 
 
21638
        ac_cv_func_bind_textdomain_codeset=no
 
21639
fi
 
21640
 
 
21641
rm -rf conftest.dSYM
 
21642
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21643
      conftest$ac_exeext conftest.$ac_ext
 
21644
fi
 
21645
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
21646
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 
21647
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
21648
  CATOBJEXT=.gmo
 
21649
               DATADIRNAME=share
 
21650
else
 
21651
  CATOBJEXT=.mo
 
21652
               DATADIRNAME=lib
 
21653
fi
 
21654
 
 
21655
            ;;
 
21656
            *)
 
21657
            CATOBJEXT=.mo
 
21658
            DATADIRNAME=lib
 
21659
            ;;
 
21660
            esac
 
21661
fi
 
21662
 
 
21663
rm -rf conftest.dSYM
 
21664
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21665
      conftest$ac_exeext conftest.$ac_ext
 
21666
          LIBS="$glib_save_LIBS"
 
21667
          INSTOBJEXT=.mo
 
21668
        else
 
21669
          gt_cv_have_gettext=no
 
21670
        fi
 
21671
      fi
 
21672
 
 
21673
fi
 
21674
 
 
21675
 
 
21676
 
 
21677
    if test "$gt_cv_have_gettext" = "yes" ; then
 
21678
 
 
21679
cat >>confdefs.h <<\_ACEOF
 
21680
#define ENABLE_NLS 1
 
21681
_ACEOF
 
21682
 
 
21683
    fi
 
21684
 
 
21685
        if test "$XGETTEXT" != ":"; then
 
21686
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
21687
        : ;
 
21688
      else
 
21689
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
21690
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
21691
        XGETTEXT=":"
 
21692
      fi
 
21693
    fi
 
21694
 
 
21695
    # We need to process the po/ directory.
 
21696
    POSUB=po
 
21697
 
 
21698
    ac_config_commands="$ac_config_commands default-1"
 
21699
 
 
21700
 
 
21701
                for lang in $ALL_LINGUAS; do
 
21702
      GMOFILES="$GMOFILES $lang.gmo"
 
21703
      POFILES="$POFILES $lang.po"
 
21704
    done
 
21705
 
 
21706
 
 
21707
 
 
21708
 
 
21709
 
 
21710
 
 
21711
 
 
21712
 
 
21713
 
 
21714
 
 
21715
 
 
21716
 
 
21717
 
 
21718
   if test "$gt_cv_have_gettext" = "yes"; then
 
21719
     if test "x$ALL_LINGUAS" = "x"; then
 
21720
       LINGUAS=
 
21721
     else
 
21722
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
21723
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
21724
       NEW_LINGUAS=
 
21725
       for presentlang in $ALL_LINGUAS; do
 
21726
         useit=no
 
21727
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
21728
           desiredlanguages="$LINGUAS"
 
21729
         else
 
21730
           desiredlanguages="$ALL_LINGUAS"
 
21731
         fi
 
21732
         for desiredlang in $desiredlanguages; do
 
21733
           # Use the presentlang catalog if desiredlang is
 
21734
           #   a. equal to presentlang, or
 
21735
           #   b. a variant of presentlang (because in this case,
 
21736
           #      presentlang can be used as a fallback for messages
 
21737
           #      which are not translated in the desiredlang catalog).
 
21738
           case "$desiredlang" in
 
21739
             "$presentlang"*) useit=yes;;
 
21740
           esac
 
21741
         done
 
21742
         if test $useit = yes; then
 
21743
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
21744
         fi
 
21745
       done
 
21746
       LINGUAS=$NEW_LINGUAS
 
21747
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
21748
$as_echo "$LINGUAS" >&6; }
 
21749
     fi
 
21750
 
 
21751
          if test -n "$LINGUAS"; then
 
21752
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
21753
     fi
 
21754
   fi
 
21755
 
 
21756
            MKINSTALLDIRS=
 
21757
   if test -n "$ac_aux_dir"; then
 
21758
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
21759
   fi
 
21760
   if test -z "$MKINSTALLDIRS"; then
 
21761
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
21762
   fi
 
21763
 
 
21764
 
 
21765
         test -d po || mkdir po
 
21766
   if test "x$srcdir" != "x."; then
 
21767
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
21768
       posrcprefix="$srcdir/"
 
21769
     else
 
21770
       posrcprefix="../$srcdir/"
 
21771
     fi
 
21772
   else
 
21773
     posrcprefix="../"
 
21774
   fi
 
21775
   rm -f po/POTFILES
 
21776
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
21777
        < $srcdir/po/POTFILES.in > po/POTFILES
 
21778
 
 
21779
 
20060
21780
GAIL_MODULES="gail >= 1.1.0"
20061
21781
 
20062
21782
 
20400
22120
 
20401
22121
 
20402
22122
 
20403
 
GTKHTML_MODULES="gtk+-2.0 >= 2.18.0 enchant >= 1.1.7 gconf-2.0 iso-codes"
 
22123
GTKHTML_MODULES="gtk+-2.0 >= 2.16.0 enchant gconf-2.0 iso-codes"
20404
22124
 
20405
22125
pkg_failed=no
20406
22126
{ $as_echo "$as_me:$LINENO: checking for GTKHTML" >&5
20514
22234
 
20515
22235
 
20516
22236
 
 
22237
# Glade catalog files
20517
22238
 
20518
22239
# Check whether --with-glade-catalog was given.
20519
22240
if test "${with_glade_catalog+set}" = set; then
20642
22363
fi
20643
22364
 
20644
22365
 
 
22366
# These are still needed for 'dist' targets.
20645
22367
ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
20646
22368
 
20647
22369
 
 
22370
 
20648
22371
HAVE_NEWSOUP="no"
20649
22372
have_newsoup="no"
20650
22373
 
20705
22428
        { $as_echo "$as_me:$LINENO: result: no" >&5
20706
22429
$as_echo "no" >&6; }
20707
22430
 
20708
 
pkg_failed=no
20709
 
{ $as_echo "$as_me:$LINENO: checking for SOUP" >&5
20710
 
$as_echo_n "checking for SOUP... " >&6; }
20711
 
 
20712
 
if test -n "$SOUP_CFLAGS"; then
20713
 
    pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
20714
 
 elif test -n "$PKG_CONFIG"; then
20715
 
    if test -n "$PKG_CONFIG" && \
20716
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
20717
 
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20718
 
  ac_status=$?
20719
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720
 
  (exit $ac_status); }; then
20721
 
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
20722
 
else
20723
 
  pkg_failed=yes
20724
 
fi
20725
 
 else
20726
 
    pkg_failed=untried
20727
 
fi
20728
 
if test -n "$SOUP_LIBS"; then
20729
 
    pkg_cv_SOUP_LIBS="$SOUP_LIBS"
20730
 
 elif test -n "$PKG_CONFIG"; then
20731
 
    if test -n "$PKG_CONFIG" && \
20732
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
20733
 
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20734
 
  ac_status=$?
20735
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736
 
  (exit $ac_status); }; then
20737
 
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
20738
 
else
20739
 
  pkg_failed=yes
20740
 
fi
20741
 
 else
20742
 
    pkg_failed=untried
20743
 
fi
20744
 
 
20745
 
 
20746
 
 
20747
 
if test $pkg_failed = yes; then
20748
 
 
20749
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20750
 
        _pkg_short_errors_supported=yes
20751
 
else
20752
 
        _pkg_short_errors_supported=no
20753
 
fi
20754
 
        if test $_pkg_short_errors_supported = yes; then
20755
 
                SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
20756
 
        else
20757
 
                SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
20758
 
        fi
20759
 
        # Put the nasty error message in config.log where it belongs
20760
 
        echo "$SOUP_PKG_ERRORS" >&5
20761
 
 
20762
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
20763
 
$as_echo "no" >&6; }
20764
 
                have_soup="no"
20765
 
elif test $pkg_failed = untried; then
20766
 
        have_soup="no"
20767
 
else
20768
 
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
20769
 
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
20770
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
20771
 
$as_echo "yes" >&6; }
20772
 
        have_soup="yes"
20773
 
fi
20774
 
 
20775
 
elif test $pkg_failed = untried; then
20776
 
 
20777
 
pkg_failed=no
20778
 
{ $as_echo "$as_me:$LINENO: checking for SOUP" >&5
20779
 
$as_echo_n "checking for SOUP... " >&6; }
20780
 
 
20781
 
if test -n "$SOUP_CFLAGS"; then
20782
 
    pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
20783
 
 elif test -n "$PKG_CONFIG"; then
20784
 
    if test -n "$PKG_CONFIG" && \
20785
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
20786
 
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20787
 
  ac_status=$?
20788
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789
 
  (exit $ac_status); }; then
20790
 
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
20791
 
else
20792
 
  pkg_failed=yes
20793
 
fi
20794
 
 else
20795
 
    pkg_failed=untried
20796
 
fi
20797
 
if test -n "$SOUP_LIBS"; then
20798
 
    pkg_cv_SOUP_LIBS="$SOUP_LIBS"
20799
 
 elif test -n "$PKG_CONFIG"; then
20800
 
    if test -n "$PKG_CONFIG" && \
20801
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
20802
 
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20803
 
  ac_status=$?
20804
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805
 
  (exit $ac_status); }; then
20806
 
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
20807
 
else
20808
 
  pkg_failed=yes
20809
 
fi
20810
 
 else
20811
 
    pkg_failed=untried
20812
 
fi
20813
 
 
20814
 
 
20815
 
 
20816
 
if test $pkg_failed = yes; then
20817
 
 
20818
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20819
 
        _pkg_short_errors_supported=yes
20820
 
else
20821
 
        _pkg_short_errors_supported=no
20822
 
fi
20823
 
        if test $_pkg_short_errors_supported = yes; then
20824
 
                SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
20825
 
        else
20826
 
                SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
20827
 
        fi
20828
 
        # Put the nasty error message in config.log where it belongs
20829
 
        echo "$SOUP_PKG_ERRORS" >&5
20830
 
 
20831
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
20832
 
$as_echo "no" >&6; }
20833
 
                have_soup="no"
20834
 
elif test $pkg_failed = untried; then
20835
 
        have_soup="no"
20836
 
else
20837
 
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
20838
 
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
20839
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
20840
 
$as_echo "yes" >&6; }
20841
 
        have_soup="yes"
20842
 
fi
20843
 
 
20844
 
else
20845
 
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
20846
 
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
20847
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
20848
 
$as_echo "yes" >&6; }
20849
 
                HAVE_NEWSOUP="yes"
20850
 
                have_soup="yes"
 
22431
 
 
22432
pkg_failed=no
 
22433
{ $as_echo "$as_me:$LINENO: checking for SOUP" >&5
 
22434
$as_echo_n "checking for SOUP... " >&6; }
 
22435
 
 
22436
if test -n "$SOUP_CFLAGS"; then
 
22437
    pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
 
22438
 elif test -n "$PKG_CONFIG"; then
 
22439
    if test -n "$PKG_CONFIG" && \
 
22440
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
 
22441
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
22442
  ac_status=$?
 
22443
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22444
  (exit $ac_status); }; then
 
22445
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
 
22446
else
 
22447
  pkg_failed=yes
 
22448
fi
 
22449
 else
 
22450
    pkg_failed=untried
 
22451
fi
 
22452
if test -n "$SOUP_LIBS"; then
 
22453
    pkg_cv_SOUP_LIBS="$SOUP_LIBS"
 
22454
 elif test -n "$PKG_CONFIG"; then
 
22455
    if test -n "$PKG_CONFIG" && \
 
22456
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
 
22457
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
22458
  ac_status=$?
 
22459
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22460
  (exit $ac_status); }; then
 
22461
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
 
22462
else
 
22463
  pkg_failed=yes
 
22464
fi
 
22465
 else
 
22466
    pkg_failed=untried
 
22467
fi
 
22468
 
 
22469
 
 
22470
 
 
22471
if test $pkg_failed = yes; then
 
22472
 
 
22473
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22474
        _pkg_short_errors_supported=yes
 
22475
else
 
22476
        _pkg_short_errors_supported=no
 
22477
fi
 
22478
        if test $_pkg_short_errors_supported = yes; then
 
22479
                SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
 
22480
        else
 
22481
                SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
 
22482
        fi
 
22483
        # Put the nasty error message in config.log where it belongs
 
22484
        echo "$SOUP_PKG_ERRORS" >&5
 
22485
 
 
22486
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
22487
$as_echo "no" >&6; }
 
22488
                have_soup="no"
 
22489
elif test $pkg_failed = untried; then
 
22490
        have_soup="no"
 
22491
else
 
22492
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
 
22493
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
 
22494
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
22495
$as_echo "yes" >&6; }
 
22496
        have_soup="yes"
 
22497
fi
 
22498
 
 
22499
elif test $pkg_failed = untried; then
 
22500
 
 
22501
 
 
22502
pkg_failed=no
 
22503
{ $as_echo "$as_me:$LINENO: checking for SOUP" >&5
 
22504
$as_echo_n "checking for SOUP... " >&6; }
 
22505
 
 
22506
if test -n "$SOUP_CFLAGS"; then
 
22507
    pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
 
22508
 elif test -n "$PKG_CONFIG"; then
 
22509
    if test -n "$PKG_CONFIG" && \
 
22510
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
 
22511
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
22512
  ac_status=$?
 
22513
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22514
  (exit $ac_status); }; then
 
22515
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
 
22516
else
 
22517
  pkg_failed=yes
 
22518
fi
 
22519
 else
 
22520
    pkg_failed=untried
 
22521
fi
 
22522
if test -n "$SOUP_LIBS"; then
 
22523
    pkg_cv_SOUP_LIBS="$SOUP_LIBS"
 
22524
 elif test -n "$PKG_CONFIG"; then
 
22525
    if test -n "$PKG_CONFIG" && \
 
22526
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
 
22527
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
 
22528
  ac_status=$?
 
22529
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22530
  (exit $ac_status); }; then
 
22531
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
 
22532
else
 
22533
  pkg_failed=yes
 
22534
fi
 
22535
 else
 
22536
    pkg_failed=untried
 
22537
fi
 
22538
 
 
22539
 
 
22540
 
 
22541
if test $pkg_failed = yes; then
 
22542
 
 
22543
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
22544
        _pkg_short_errors_supported=yes
 
22545
else
 
22546
        _pkg_short_errors_supported=no
 
22547
fi
 
22548
        if test $_pkg_short_errors_supported = yes; then
 
22549
                SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
 
22550
        else
 
22551
                SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
 
22552
        fi
 
22553
        # Put the nasty error message in config.log where it belongs
 
22554
        echo "$SOUP_PKG_ERRORS" >&5
 
22555
 
 
22556
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
22557
$as_echo "no" >&6; }
 
22558
                have_soup="no"
 
22559
elif test $pkg_failed = untried; then
 
22560
        have_soup="no"
 
22561
else
 
22562
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
 
22563
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
 
22564
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
22565
$as_echo "yes" >&6; }
 
22566
        have_soup="yes"
 
22567
fi
 
22568
 
 
22569
else
 
22570
        SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
 
22571
        SOUP_LIBS=$pkg_cv_SOUP_LIBS
 
22572
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
22573
$as_echo "yes" >&6; }
 
22574
 
 
22575
    HAVE_NEWSOUP="yes"
 
22576
    have_soup="yes"
20851
22577
 
20852
22578
fi
20853
22579
 
20978
22704
        :
20979
22705
fi
20980
22706
 
 
22707
 
20981
22708
{ $as_echo "$as_me:$LINENO: checking for iso-codes package" >&5
20982
22709
$as_echo_n "checking for iso-codes package... " >&6; }
20983
22710
have_iso_codes=no
21199
22926
 
21200
22927
 
21201
22928
 
 
22929
 
21202
22930
# Check whether --enable-shlib-factory was given.
21203
22931
if test "${enable_shlib_factory+set}" = set; then
21204
 
  enableval=$enable_shlib_factory; enable_shlib_factory="$enableval"
 
22932
  enableval=$enable_shlib_factory; shlib_factory="$enableval"
21205
22933
else
21206
 
  enable_shlib_factory="yes"
 
22934
  shlib_factory="yes"
21207
22935
fi
21208
22936
 
21209
22937
 
21210
 
if test "x$enable_shlib_factory" = "xyes"; then
 
22938
if test "x$shlib_factory" = "xyes"; then
21211
22939
        GNOME_GTKHTML_EDITOR_SHLIB=1
21212
22940
        GNOME_GTKHTML_EDITOR_TYPE="shlib"
21213
22941
 
21220
22948
fi
21221
22949
 
21222
22950
 
21223
 
 if test x$enable_shlib_factory = xyes; then
 
22951
 if test x$shlib_factory = xyes; then
21224
22952
  EDITOR_SHLIB_TRUE=
21225
22953
  EDITOR_SHLIB_FALSE='#'
21226
22954
else
21241
22969
 
21242
22970
 
21243
22971
 
21244
 
ac_config_files="$ac_config_files Makefile gtkhtml-zip a11y/Makefile art/Makefile components/Makefile components/editor/Makefile components/editor/gtkhtml-editor.pc gtkhtml/Makefile gtkhtml/libgtkhtml.pc po/Makefile.in"
 
22972
ac_config_files="$ac_config_files Makefile gtkhtml-zip po/Makefile.in gtkhtml/Makefile gtkhtml/libgtkhtml.pc a11y/Makefile components/Makefile components/editor/Makefile components/editor/gtkhtml-editor.pc art/Makefile"
21245
22973
 
21246
22974
cat >confcache <<\_ACEOF
21247
22975
# This file is a shell script that caches the results of configure
21373
23101
  ac_config_commands="$ac_config_commands po/stamp-it"
21374
23102
 
21375
23103
 
 
23104
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
23105
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
23106
Usually this means the macro was only invoked conditionally." >&5
 
23107
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
23108
Usually this means the macro was only invoked conditionally." >&2;}
 
23109
   { (exit 1); exit 1; }; }
 
23110
fi
21376
23111
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21377
23112
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21378
23113
Usually this means the macro was only invoked conditionally." >&5
21387
23122
Usually this means the macro was only invoked conditionally." >&2;}
21388
23123
   { (exit 1); exit 1; }; }
21389
23124
fi
21390
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21391
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21392
 
Usually this means the macro was only invoked conditionally." >&5
21393
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21394
 
Usually this means the macro was only invoked conditionally." >&2;}
21395
 
   { (exit 1); exit 1; }; }
21396
 
fi
21397
23125
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
21398
23126
  { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined.
21399
23127
Usually this means the macro was only invoked conditionally." >&5
21751
23479
# report actual input values of CONFIG_FILES etc. instead of their
21752
23480
# values after options handling.
21753
23481
ac_log="
21754
 
This file was extended by gtkhtml $as_me 3.29.6, which was
 
23482
This file was extended by gtkhtml $as_me 3.28.2, which was
21755
23483
generated by GNU Autoconf 2.63.  Invocation command line was
21756
23484
 
21757
23485
  CONFIG_FILES    = $CONFIG_FILES
21814
23542
_ACEOF
21815
23543
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21816
23544
ac_cs_version="\\
21817
 
gtkhtml config.status 3.29.6
 
23545
gtkhtml config.status 3.28.2
21818
23546
configured by $0, generated by GNU Autoconf 2.63,
21819
23547
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21820
23548
 
21930
23658
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21931
23659
 
21932
23660
 
21933
 
 
21934
23661
# The HP-UX ksh and POSIX shell print the target directory to stdout
21935
23662
# if CDPATH is set.
21936
23663
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21938
23665
sed_quote_subst='$sed_quote_subst'
21939
23666
double_quote_subst='$double_quote_subst'
21940
23667
delay_variable_subst='$delay_variable_subst'
21941
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21942
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21943
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21944
23668
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
21945
23669
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21946
23670
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
23671
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
23672
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21947
23673
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
23674
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21948
23675
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21949
23676
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21950
23677
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
22282
24009
 
22283
24010
 
22284
24011
 
 
24012
 
22285
24013
_ACEOF
22286
24014
 
22287
24015
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22292
24020
  case $ac_config_target in
22293
24021
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22294
24022
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
24023
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22295
24024
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
22296
 
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22297
24025
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22298
24026
    "gtkhtml-zip") CONFIG_FILES="$CONFIG_FILES gtkhtml-zip" ;;
 
24027
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
24028
    "gtkhtml/Makefile") CONFIG_FILES="$CONFIG_FILES gtkhtml/Makefile" ;;
 
24029
    "gtkhtml/libgtkhtml.pc") CONFIG_FILES="$CONFIG_FILES gtkhtml/libgtkhtml.pc" ;;
22299
24030
    "a11y/Makefile") CONFIG_FILES="$CONFIG_FILES a11y/Makefile" ;;
22300
 
    "art/Makefile") CONFIG_FILES="$CONFIG_FILES art/Makefile" ;;
22301
24031
    "components/Makefile") CONFIG_FILES="$CONFIG_FILES components/Makefile" ;;
22302
24032
    "components/editor/Makefile") CONFIG_FILES="$CONFIG_FILES components/editor/Makefile" ;;
22303
24033
    "components/editor/gtkhtml-editor.pc") CONFIG_FILES="$CONFIG_FILES components/editor/gtkhtml-editor.pc" ;;
22304
 
    "gtkhtml/Makefile") CONFIG_FILES="$CONFIG_FILES gtkhtml/Makefile" ;;
22305
 
    "gtkhtml/libgtkhtml.pc") CONFIG_FILES="$CONFIG_FILES gtkhtml/libgtkhtml.pc" ;;
22306
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
24034
    "art/Makefile") CONFIG_FILES="$CONFIG_FILES art/Makefile" ;;
22307
24035
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
22308
24036
 
22309
24037
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23094
24822
  done
23095
24823
}
23096
24824
 ;;
23097
 
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
23098
 
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
23099
 
      esac ;;
23100
24825
    "libtool":C)
23101
24826
 
23102
24827
    # See if we are running on zsh, and set the options which allow our
23150
24875
 
23151
24876
# ### BEGIN LIBTOOL CONFIG
23152
24877
 
23153
 
# Which release of libtool.m4 was used?
23154
 
macro_version=$macro_version
23155
 
macro_revision=$macro_revision
23156
 
 
23157
 
# Whether or not to build static libraries.
23158
 
build_old_libs=$enable_static
23159
 
 
23160
24878
# Assembler program.
23161
24879
AS=$AS
23162
24880
 
23166
24884
# Object dumper program.
23167
24885
OBJDUMP=$OBJDUMP
23168
24886
 
 
24887
# Which release of libtool.m4 was used?
 
24888
macro_version=$macro_version
 
24889
macro_revision=$macro_revision
 
24890
 
23169
24891
# Whether or not to build shared libraries.
23170
24892
build_libtool_libs=$enable_shared
23171
24893
 
 
24894
# Whether or not to build static libraries.
 
24895
build_old_libs=$enable_static
 
24896
 
23172
24897
# What type of objects to build.
23173
24898
pic_mode=$pic_mode
23174
24899
 
23905
25630
_LT_EOF
23906
25631
 
23907
25632
 ;;
 
25633
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
25634
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
25635
      esac ;;
23908
25636
    "po/stamp-it":C)
23909
25637
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
23910
25638
       { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
23970
25698
 
23971
25699
 
23972
25700
echo "
 
25701
 
23973
25702
Configuration:
23974
25703
 
23975
25704
        Cookies support in soup :               ${HAVE_NEWSOUP}