~ubuntu-branches/ubuntu/precise/vino/precise-proposed-201205170738

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Bicha
  • Date: 2011-06-28 05:44:56 UTC
  • mfrom: (1.1.48 upstream)
  • Revision ID: james.westby@ubuntu.com-20110628054456-mppzwjz3fp7jkwfy
Tags: 3.1.2-0ubuntu1
* New upstream release
  - Renamed to "Desktop Sharing"
* debian/patches/02_server_sm-disable.patch
  - Refreshed
* debian/patches/04_no_am_gnu_gettext.patch
  - Dropped, applied upstream
* debian/watch
  - Corrected format

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.65 for Vino 3.0.2.
 
3
# Generated by GNU Autoconf 2.65 for Vino 3.1.2.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=vino>.
6
6
#
563
563
# Identity of this package.
564
564
PACKAGE_NAME='Vino'
565
565
PACKAGE_TARNAME='vino'
566
 
PACKAGE_VERSION='3.0.2'
567
 
PACKAGE_STRING='Vino 3.0.2'
 
566
PACKAGE_VERSION='3.1.2'
 
567
PACKAGE_STRING='Vino 3.1.2'
568
568
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=vino'
569
569
PACKAGE_URL='http://live.gnome.org/Vino'
570
570
 
605
605
# include <unistd.h>
606
606
#endif"
607
607
 
608
 
gt_needs=
609
608
ac_subst_vars='am__EXEEXT_FALSE
610
609
am__EXEEXT_TRUE
611
610
LTLIBOBJS
630
629
DATADIRNAME
631
630
ALL_LINGUAS
632
631
INTLTOOL_PERL
 
632
GMSGFMT
 
633
MSGFMT
 
634
MSGMERGE
 
635
XGETTEXT
633
636
INTLTOOL_POLICY_RULE
634
637
INTLTOOL_SERVICE_RULE
635
638
INTLTOOL_THEME_RULE
652
655
INTLTOOL_EXTRACT
653
656
INTLTOOL_MERGE
654
657
INTLTOOL_UPDATE
 
658
USE_NLS
655
659
GETTEXT_PACKAGE
656
 
POSUB
657
 
LTLIBINTL
658
 
LIBINTL
659
 
INTLLIBS
660
 
LTLIBICONV
661
 
LIBICONV
662
 
INTL_MACOSX_LIBS
663
 
XGETTEXT_EXTRA_OPTIONS
664
 
MSGMERGE
665
 
XGETTEXT_015
666
 
XGETTEXT
667
 
GMSGFMT_015
668
 
MSGFMT_015
669
 
GMSGFMT
670
 
MSGFMT
671
 
GETTEXT_MACRO_VERSION
672
 
USE_NLS
673
660
JPEG_LIBS
674
661
ZLIB_LIBS
675
662
LIBGCRYPT_LIBS
828
815
with_zlib
829
816
with_jpeg
830
817
enable_nls
831
 
enable_rpath
832
 
with_libiconv_prefix
833
 
with_libintl_prefix
834
818
enable_ipv6
835
819
enable_schemas_compile
836
820
'
1396
1380
  # Omit some internal or obsolete options to make the list less imposing.
1397
1381
  # This message is too long to be a string in the A/UX 3.1 sh.
1398
1382
  cat <<_ACEOF
1399
 
\`configure' configures Vino 3.0.2 to adapt to many kinds of systems.
 
1383
\`configure' configures Vino 3.1.2 to adapt to many kinds of systems.
1400
1384
 
1401
1385
Usage: $0 [OPTION]... [VAR=VALUE]...
1402
1386
 
1470
1454
 
1471
1455
if test -n "$ac_init_help"; then
1472
1456
  case $ac_init_help in
1473
 
     short | recursive ) echo "Configuration of Vino 3.0.2:";;
 
1457
     short | recursive ) echo "Configuration of Vino 3.1.2:";;
1474
1458
   esac
1475
1459
  cat <<\_ACEOF
1476
1460
 
1496
1480
                          optimize for fast installation [default=yes]
1497
1481
  --disable-libtool-lock  avoid locking (might break parallel builds)
1498
1482
  --disable-nls           do not use Native Language Support
1499
 
  --disable-rpath         do not hardcode runtime library paths
1500
1483
  --disable-ipv6          ignore the presence of IPv6 support and disable it
1501
1484
  --disable-schemas-compile
1502
1485
                          Disable regeneration of gschemas.compiled on install
1520
1503
  --without-avahi         ignore avahi support and disable it
1521
1504
  --without-zlib          ignore zlib support and disable it
1522
1505
  --without-jpeg          ignore jpeg support and disable it
1523
 
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1524
 
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1525
 
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1526
 
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1527
 
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1528
1506
 
1529
1507
Some influential environment variables:
1530
1508
  CC          C compiler command
1625
1603
test -n "$ac_init_help" && exit $ac_status
1626
1604
if $ac_init_version; then
1627
1605
  cat <<\_ACEOF
1628
 
Vino configure 3.0.2
 
1606
Vino configure 3.1.2
1629
1607
generated by GNU Autoconf 2.65
1630
1608
 
1631
1609
Copyright (C) 2009 Free Software Foundation, Inc.
1996
1974
This file contains any messages produced by compilers while
1997
1975
running configure, to aid debugging if configure makes a mistake.
1998
1976
 
1999
 
It was created by Vino $as_me 3.0.2, which was
 
1977
It was created by Vino $as_me 3.1.2, which was
2000
1978
generated by GNU Autoconf 2.65.  Invocation command line was
2001
1979
 
2002
1980
  $ $0 $@
2275
2253
  >$cache_file
2276
2254
fi
2277
2255
 
2278
 
gt_needs="$gt_needs "
2279
2256
# Check that the precious variables saved in the cache have kept the same
2280
2257
# value.
2281
2258
ac_cache_corrupted=false
2810
2787
 
2811
2788
# Define the identity of the package.
2812
2789
 PACKAGE='vino'
2813
 
 VERSION='3.0.2'
 
2790
 VERSION='3.1.2'
2814
2791
 
2815
2792
 
2816
2793
# Some tools Automake needs.
12117
12094
fi
12118
12095
 
12119
12096
# Check for gnutls
12120
 
GNUTLS_DEPS="gnutls >= 1.0.0"
 
12097
GNUTLS_DEPS="gnutls >= 2.2.0"
12121
12098
 
12122
12099
 
12123
12100
# Check whether --with-gnutls was given.
12502
12479
fi
12503
12480
 
12504
12481
# Internationalization
 
12482
GETTEXT_PACKAGE=$PACKAGE_TARNAME
 
12483
 
 
12484
 
 
12485
cat >>confdefs.h <<_ACEOF
 
12486
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
12487
_ACEOF
 
12488
 
12505
12489
 
12506
12490
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12507
12491
$as_echo_n "checking whether NLS is requested... " >&6; }
12518
12502
 
12519
12503
 
12520
12504
 
12521
 
      GETTEXT_MACRO_VERSION=0.17
12522
 
 
12523
 
 
12524
 
 
12525
 
 
12526
 
# Prepare PATH_SEPARATOR.
12527
 
# The user is always right.
12528
 
if test "${PATH_SEPARATOR+set}" != set; then
12529
 
  echo "#! /bin/sh" >conf$$.sh
12530
 
  echo  "exit 0"   >>conf$$.sh
12531
 
  chmod +x conf$$.sh
12532
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12533
 
    PATH_SEPARATOR=';'
12534
 
  else
12535
 
    PATH_SEPARATOR=:
12536
 
  fi
12537
 
  rm -f conf$$.sh
12538
 
fi
12539
 
 
12540
 
# Find out how to test for executable files. Don't use a zero-byte file,
12541
 
# as systems may use methods other than mode bits to determine executability.
12542
 
cat >conf$$.file <<_ASEOF
12543
 
#! /bin/sh
12544
 
exit 0
12545
 
_ASEOF
12546
 
chmod +x conf$$.file
12547
 
if test -x conf$$.file >/dev/null 2>&1; then
12548
 
  ac_executable_p="test -x"
12549
 
else
12550
 
  ac_executable_p="test -f"
12551
 
fi
12552
 
rm -f conf$$.file
12553
 
 
12554
 
# Extract the first word of "msgfmt", so it can be a program name with args.
12555
 
set dummy msgfmt; ac_word=$2
12556
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12557
 
$as_echo_n "checking for $ac_word... " >&6; }
12558
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12559
 
  $as_echo_n "(cached) " >&6
12560
 
else
12561
 
  case "$MSGFMT" in
12562
 
  [\\/]* | ?:[\\/]*)
12563
 
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12564
 
    ;;
12565
 
  *)
12566
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12567
 
    for ac_dir in $PATH; do
12568
 
      IFS="$ac_save_IFS"
12569
 
      test -z "$ac_dir" && ac_dir=.
12570
 
      for ac_exec_ext in '' $ac_executable_extensions; do
12571
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12572
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
12573
 
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12574
 
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12575
 
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12576
 
            break 2
12577
 
          fi
12578
 
        fi
12579
 
      done
12580
 
    done
12581
 
    IFS="$ac_save_IFS"
12582
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12583
 
    ;;
12584
 
esac
12585
 
fi
12586
 
MSGFMT="$ac_cv_path_MSGFMT"
12587
 
if test "$MSGFMT" != ":"; then
12588
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12589
 
$as_echo "$MSGFMT" >&6; }
12590
 
else
12591
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12592
 
$as_echo "no" >&6; }
12593
 
fi
12594
 
 
12595
 
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
12596
 
set dummy gmsgfmt; ac_word=$2
12597
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12598
 
$as_echo_n "checking for $ac_word... " >&6; }
12599
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12600
 
  $as_echo_n "(cached) " >&6
12601
 
else
12602
 
  case $GMSGFMT in
12603
 
  [\\/]* | ?:[\\/]*)
12604
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12605
 
  ;;
12606
 
  *)
12607
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12608
 
for as_dir in $PATH
12609
 
do
12610
 
  IFS=$as_save_IFS
12611
 
  test -z "$as_dir" && as_dir=.
12612
 
    for ac_exec_ext in '' $ac_executable_extensions; do
12613
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12615
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12616
 
    break 2
12617
 
  fi
12618
 
done
12619
 
  done
12620
 
IFS=$as_save_IFS
12621
 
 
12622
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12623
 
  ;;
12624
 
esac
12625
 
fi
12626
 
GMSGFMT=$ac_cv_path_GMSGFMT
12627
 
if test -n "$GMSGFMT"; then
12628
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12629
 
$as_echo "$GMSGFMT" >&6; }
12630
 
else
12631
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632
 
$as_echo "no" >&6; }
12633
 
fi
12634
 
 
12635
 
 
12636
 
 
12637
 
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12638
 
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12639
 
    *) MSGFMT_015=$MSGFMT ;;
12640
 
  esac
12641
 
 
12642
 
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12643
 
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12644
 
    *) GMSGFMT_015=$GMSGFMT ;;
12645
 
  esac
12646
 
 
12647
 
 
12648
 
 
12649
 
# Prepare PATH_SEPARATOR.
12650
 
# The user is always right.
12651
 
if test "${PATH_SEPARATOR+set}" != set; then
12652
 
  echo "#! /bin/sh" >conf$$.sh
12653
 
  echo  "exit 0"   >>conf$$.sh
12654
 
  chmod +x conf$$.sh
12655
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12656
 
    PATH_SEPARATOR=';'
12657
 
  else
12658
 
    PATH_SEPARATOR=:
12659
 
  fi
12660
 
  rm -f conf$$.sh
12661
 
fi
12662
 
 
12663
 
# Find out how to test for executable files. Don't use a zero-byte file,
12664
 
# as systems may use methods other than mode bits to determine executability.
12665
 
cat >conf$$.file <<_ASEOF
12666
 
#! /bin/sh
12667
 
exit 0
12668
 
_ASEOF
12669
 
chmod +x conf$$.file
12670
 
if test -x conf$$.file >/dev/null 2>&1; then
12671
 
  ac_executable_p="test -x"
12672
 
else
12673
 
  ac_executable_p="test -f"
12674
 
fi
12675
 
rm -f conf$$.file
12676
 
 
12677
 
# Extract the first word of "xgettext", so it can be a program name with args.
12678
 
set dummy xgettext; ac_word=$2
12679
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12680
 
$as_echo_n "checking for $ac_word... " >&6; }
12681
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12682
 
  $as_echo_n "(cached) " >&6
12683
 
else
12684
 
  case "$XGETTEXT" in
12685
 
  [\\/]* | ?:[\\/]*)
12686
 
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12687
 
    ;;
12688
 
  *)
12689
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12690
 
    for ac_dir in $PATH; do
12691
 
      IFS="$ac_save_IFS"
12692
 
      test -z "$ac_dir" && ac_dir=.
12693
 
      for ac_exec_ext in '' $ac_executable_extensions; do
12694
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12695
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
12696
 
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12697
 
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12698
 
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12699
 
            break 2
12700
 
          fi
12701
 
        fi
12702
 
      done
12703
 
    done
12704
 
    IFS="$ac_save_IFS"
12705
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12706
 
    ;;
12707
 
esac
12708
 
fi
12709
 
XGETTEXT="$ac_cv_path_XGETTEXT"
12710
 
if test "$XGETTEXT" != ":"; then
12711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12712
 
$as_echo "$XGETTEXT" >&6; }
12713
 
else
12714
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12715
 
$as_echo "no" >&6; }
12716
 
fi
12717
 
 
12718
 
    rm -f messages.po
12719
 
 
12720
 
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12721
 
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12722
 
    *) XGETTEXT_015=$XGETTEXT ;;
12723
 
  esac
12724
 
 
12725
 
 
12726
 
 
12727
 
# Prepare PATH_SEPARATOR.
12728
 
# The user is always right.
12729
 
if test "${PATH_SEPARATOR+set}" != set; then
12730
 
  echo "#! /bin/sh" >conf$$.sh
12731
 
  echo  "exit 0"   >>conf$$.sh
12732
 
  chmod +x conf$$.sh
12733
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12734
 
    PATH_SEPARATOR=';'
12735
 
  else
12736
 
    PATH_SEPARATOR=:
12737
 
  fi
12738
 
  rm -f conf$$.sh
12739
 
fi
12740
 
 
12741
 
# Find out how to test for executable files. Don't use a zero-byte file,
12742
 
# as systems may use methods other than mode bits to determine executability.
12743
 
cat >conf$$.file <<_ASEOF
12744
 
#! /bin/sh
12745
 
exit 0
12746
 
_ASEOF
12747
 
chmod +x conf$$.file
12748
 
if test -x conf$$.file >/dev/null 2>&1; then
12749
 
  ac_executable_p="test -x"
12750
 
else
12751
 
  ac_executable_p="test -f"
12752
 
fi
12753
 
rm -f conf$$.file
12754
 
 
12755
 
# Extract the first word of "msgmerge", so it can be a program name with args.
12756
 
set dummy msgmerge; ac_word=$2
12757
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12758
 
$as_echo_n "checking for $ac_word... " >&6; }
12759
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12760
 
  $as_echo_n "(cached) " >&6
12761
 
else
12762
 
  case "$MSGMERGE" in
12763
 
  [\\/]* | ?:[\\/]*)
12764
 
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12765
 
    ;;
12766
 
  *)
12767
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12768
 
    for ac_dir in $PATH; do
12769
 
      IFS="$ac_save_IFS"
12770
 
      test -z "$ac_dir" && ac_dir=.
12771
 
      for ac_exec_ext in '' $ac_executable_extensions; do
12772
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12773
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
12774
 
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12775
 
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12776
 
            break 2
12777
 
          fi
12778
 
        fi
12779
 
      done
12780
 
    done
12781
 
    IFS="$ac_save_IFS"
12782
 
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12783
 
    ;;
12784
 
esac
12785
 
fi
12786
 
MSGMERGE="$ac_cv_path_MSGMERGE"
12787
 
if test "$MSGMERGE" != ":"; then
12788
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12789
 
$as_echo "$MSGMERGE" >&6; }
12790
 
else
12791
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12792
 
$as_echo "no" >&6; }
12793
 
fi
12794
 
 
12795
 
 
12796
 
        test -n "$localedir" || localedir='${datadir}/locale'
12797
 
 
12798
 
 
12799
 
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12800
 
 
12801
 
 
12802
 
  ac_config_commands="$ac_config_commands po-directories"
12803
 
 
12804
 
 
12805
 
 
12806
 
      if test "X$prefix" = "XNONE"; then
12807
 
    acl_final_prefix="$ac_default_prefix"
12808
 
  else
12809
 
    acl_final_prefix="$prefix"
12810
 
  fi
12811
 
  if test "X$exec_prefix" = "XNONE"; then
12812
 
    acl_final_exec_prefix='${prefix}'
12813
 
  else
12814
 
    acl_final_exec_prefix="$exec_prefix"
12815
 
  fi
12816
 
  acl_save_prefix="$prefix"
12817
 
  prefix="$acl_final_prefix"
12818
 
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12819
 
  prefix="$acl_save_prefix"
12820
 
 
12821
 
 
12822
 
# Check whether --with-gnu-ld was given.
12823
 
if test "${with_gnu_ld+set}" = set; then :
12824
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12825
 
else
12826
 
  with_gnu_ld=no
12827
 
fi
12828
 
 
12829
 
# Prepare PATH_SEPARATOR.
12830
 
# The user is always right.
12831
 
if test "${PATH_SEPARATOR+set}" != set; then
12832
 
  echo "#! /bin/sh" >conf$$.sh
12833
 
  echo  "exit 0"   >>conf$$.sh
12834
 
  chmod +x conf$$.sh
12835
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12836
 
    PATH_SEPARATOR=';'
12837
 
  else
12838
 
    PATH_SEPARATOR=:
12839
 
  fi
12840
 
  rm -f conf$$.sh
12841
 
fi
12842
 
ac_prog=ld
12843
 
if test "$GCC" = yes; then
12844
 
  # Check if gcc -print-prog-name=ld gives a path.
12845
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12846
 
$as_echo_n "checking for ld used by GCC... " >&6; }
12847
 
  case $host in
12848
 
  *-*-mingw*)
12849
 
    # gcc leaves a trailing carriage return which upsets mingw
12850
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12851
 
  *)
12852
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12853
 
  esac
12854
 
  case $ac_prog in
12855
 
    # Accept absolute paths.
12856
 
    [\\/]* | [A-Za-z]:[\\/]*)
12857
 
      re_direlt='/[^/][^/]*/\.\./'
12858
 
      # Canonicalize the path of ld
12859
 
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12860
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12861
 
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12862
 
      done
12863
 
      test -z "$LD" && LD="$ac_prog"
12864
 
      ;;
12865
 
  "")
12866
 
    # If it fails, then pretend we aren't using GCC.
12867
 
    ac_prog=ld
12868
 
    ;;
12869
 
  *)
12870
 
    # If it is relative, then search for the first ld in PATH.
12871
 
    with_gnu_ld=unknown
12872
 
    ;;
12873
 
  esac
12874
 
elif test "$with_gnu_ld" = yes; then
12875
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12876
 
$as_echo_n "checking for GNU ld... " >&6; }
12877
 
else
12878
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12879
 
$as_echo_n "checking for non-GNU ld... " >&6; }
12880
 
fi
12881
 
if test "${acl_cv_path_LD+set}" = set; then :
12882
 
  $as_echo_n "(cached) " >&6
12883
 
else
12884
 
  if test -z "$LD"; then
12885
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12886
 
  for ac_dir in $PATH; do
12887
 
    test -z "$ac_dir" && ac_dir=.
12888
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12889
 
      acl_cv_path_LD="$ac_dir/$ac_prog"
12890
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12891
 
      # but apparently some GNU ld's only accept -v.
12892
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12893
 
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12894
 
      *GNU* | *'with BFD'*)
12895
 
        test "$with_gnu_ld" != no && break ;;
12896
 
      *)
12897
 
        test "$with_gnu_ld" != yes && break ;;
12898
 
      esac
12899
 
    fi
12900
 
  done
12901
 
  IFS="$ac_save_ifs"
12902
 
else
12903
 
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
12904
 
fi
12905
 
fi
12906
 
 
12907
 
LD="$acl_cv_path_LD"
12908
 
if test -n "$LD"; then
12909
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12910
 
$as_echo "$LD" >&6; }
12911
 
else
12912
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913
 
$as_echo "no" >&6; }
12914
 
fi
12915
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12916
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12917
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12918
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12919
 
  $as_echo_n "(cached) " >&6
12920
 
else
12921
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12922
 
case `$LD -v 2>&1 </dev/null` in
12923
 
*GNU* | *'with BFD'*)
12924
 
  acl_cv_prog_gnu_ld=yes ;;
12925
 
*)
12926
 
  acl_cv_prog_gnu_ld=no ;;
12927
 
esac
12928
 
fi
12929
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12930
 
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
12931
 
with_gnu_ld=$acl_cv_prog_gnu_ld
12932
 
 
12933
 
 
12934
 
 
12935
 
 
12936
 
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12937
 
$as_echo_n "checking for shared library run path origin... " >&6; }
12938
 
if test "${acl_cv_rpath+set}" = set; then :
12939
 
  $as_echo_n "(cached) " >&6
12940
 
else
12941
 
 
12942
 
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12943
 
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12944
 
    . ./conftest.sh
12945
 
    rm -f ./conftest.sh
12946
 
    acl_cv_rpath=done
12947
 
 
12948
 
fi
12949
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12950
 
$as_echo "$acl_cv_rpath" >&6; }
12951
 
  wl="$acl_cv_wl"
12952
 
  acl_libext="$acl_cv_libext"
12953
 
  acl_shlibext="$acl_cv_shlibext"
12954
 
  acl_libname_spec="$acl_cv_libname_spec"
12955
 
  acl_library_names_spec="$acl_cv_library_names_spec"
12956
 
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12957
 
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12958
 
  acl_hardcode_direct="$acl_cv_hardcode_direct"
12959
 
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12960
 
    # Check whether --enable-rpath was given.
12961
 
if test "${enable_rpath+set}" = set; then :
12962
 
  enableval=$enable_rpath; :
12963
 
else
12964
 
  enable_rpath=yes
12965
 
fi
12966
 
 
12967
 
 
12968
 
 
12969
 
                  acl_libdirstem=lib
12970
 
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12971
 
  if test -n "$searchpath"; then
12972
 
    acl_save_IFS="${IFS=        }"; IFS=":"
12973
 
    for searchdir in $searchpath; do
12974
 
      if test -d "$searchdir"; then
12975
 
        case "$searchdir" in
12976
 
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12977
 
          *) searchdir=`cd "$searchdir" && pwd`
12978
 
             case "$searchdir" in
12979
 
               */lib64 ) acl_libdirstem=lib64 ;;
12980
 
             esac ;;
12981
 
        esac
12982
 
      fi
12983
 
    done
12984
 
    IFS="$acl_save_IFS"
12985
 
  fi
12986
 
 
12987
 
 
12988
 
 
12989
 
 
12990
 
 
12991
 
 
12992
 
 
12993
 
 
12994
 
 
12995
 
    use_additional=yes
12996
 
 
12997
 
  acl_save_prefix="$prefix"
12998
 
  prefix="$acl_final_prefix"
12999
 
  acl_save_exec_prefix="$exec_prefix"
13000
 
  exec_prefix="$acl_final_exec_prefix"
13001
 
 
13002
 
    eval additional_includedir=\"$includedir\"
13003
 
    eval additional_libdir=\"$libdir\"
13004
 
 
13005
 
  exec_prefix="$acl_save_exec_prefix"
13006
 
  prefix="$acl_save_prefix"
13007
 
 
13008
 
 
13009
 
# Check whether --with-libiconv-prefix was given.
13010
 
if test "${with_libiconv_prefix+set}" = set; then :
13011
 
  withval=$with_libiconv_prefix;
13012
 
    if test "X$withval" = "Xno"; then
13013
 
      use_additional=no
13014
 
    else
13015
 
      if test "X$withval" = "X"; then
13016
 
 
13017
 
  acl_save_prefix="$prefix"
13018
 
  prefix="$acl_final_prefix"
13019
 
  acl_save_exec_prefix="$exec_prefix"
13020
 
  exec_prefix="$acl_final_exec_prefix"
13021
 
 
13022
 
          eval additional_includedir=\"$includedir\"
13023
 
          eval additional_libdir=\"$libdir\"
13024
 
 
13025
 
  exec_prefix="$acl_save_exec_prefix"
13026
 
  prefix="$acl_save_prefix"
13027
 
 
13028
 
      else
13029
 
        additional_includedir="$withval/include"
13030
 
        additional_libdir="$withval/$acl_libdirstem"
13031
 
      fi
13032
 
    fi
13033
 
 
13034
 
fi
13035
 
 
13036
 
      LIBICONV=
13037
 
  LTLIBICONV=
13038
 
  INCICONV=
13039
 
  LIBICONV_PREFIX=
13040
 
  rpathdirs=
13041
 
  ltrpathdirs=
13042
 
  names_already_handled=
13043
 
  names_next_round='iconv '
13044
 
  while test -n "$names_next_round"; do
13045
 
    names_this_round="$names_next_round"
13046
 
    names_next_round=
13047
 
    for name in $names_this_round; do
13048
 
      already_handled=
13049
 
      for n in $names_already_handled; do
13050
 
        if test "$n" = "$name"; then
13051
 
          already_handled=yes
13052
 
          break
13053
 
        fi
13054
 
      done
13055
 
      if test -z "$already_handled"; then
13056
 
        names_already_handled="$names_already_handled $name"
13057
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13058
 
        eval value=\"\$HAVE_LIB$uppername\"
13059
 
        if test -n "$value"; then
13060
 
          if test "$value" = yes; then
13061
 
            eval value=\"\$LIB$uppername\"
13062
 
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13063
 
            eval value=\"\$LTLIB$uppername\"
13064
 
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13065
 
          else
13066
 
                                    :
13067
 
          fi
13068
 
        else
13069
 
                              found_dir=
13070
 
          found_la=
13071
 
          found_so=
13072
 
          found_a=
13073
 
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13074
 
          if test -n "$acl_shlibext"; then
13075
 
            shrext=".$acl_shlibext"             # typically: shrext=.so
13076
 
          else
13077
 
            shrext=
13078
 
          fi
13079
 
          if test $use_additional = yes; then
13080
 
            dir="$additional_libdir"
13081
 
                                    if test -n "$acl_shlibext"; then
13082
 
              if test -f "$dir/$libname$shrext"; then
13083
 
                found_dir="$dir"
13084
 
                found_so="$dir/$libname$shrext"
13085
 
              else
13086
 
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13087
 
                  ver=`(cd "$dir" && \
13088
 
                        for f in "$libname$shrext".*; do echo "$f"; done \
13089
 
                        | sed -e "s,^$libname$shrext\\\\.,," \
13090
 
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13091
 
                        | sed 1q ) 2>/dev/null`
13092
 
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13093
 
                    found_dir="$dir"
13094
 
                    found_so="$dir/$libname$shrext.$ver"
13095
 
                  fi
13096
 
                else
13097
 
                  eval library_names=\"$acl_library_names_spec\"
13098
 
                  for f in $library_names; do
13099
 
                    if test -f "$dir/$f"; then
13100
 
                      found_dir="$dir"
13101
 
                      found_so="$dir/$f"
13102
 
                      break
13103
 
                    fi
13104
 
                  done
13105
 
                fi
13106
 
              fi
13107
 
            fi
13108
 
                        if test "X$found_dir" = "X"; then
13109
 
              if test -f "$dir/$libname.$acl_libext"; then
13110
 
                found_dir="$dir"
13111
 
                found_a="$dir/$libname.$acl_libext"
13112
 
              fi
13113
 
            fi
13114
 
            if test "X$found_dir" != "X"; then
13115
 
              if test -f "$dir/$libname.la"; then
13116
 
                found_la="$dir/$libname.la"
13117
 
              fi
13118
 
            fi
13119
 
          fi
13120
 
          if test "X$found_dir" = "X"; then
13121
 
            for x in $LDFLAGS $LTLIBICONV; do
13122
 
 
13123
 
  acl_save_prefix="$prefix"
13124
 
  prefix="$acl_final_prefix"
13125
 
  acl_save_exec_prefix="$exec_prefix"
13126
 
  exec_prefix="$acl_final_exec_prefix"
13127
 
  eval x=\"$x\"
13128
 
  exec_prefix="$acl_save_exec_prefix"
13129
 
  prefix="$acl_save_prefix"
13130
 
 
13131
 
              case "$x" in
13132
 
                -L*)
13133
 
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
13134
 
                                    if test -n "$acl_shlibext"; then
13135
 
                    if test -f "$dir/$libname$shrext"; then
13136
 
                      found_dir="$dir"
13137
 
                      found_so="$dir/$libname$shrext"
13138
 
                    else
13139
 
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13140
 
                        ver=`(cd "$dir" && \
13141
 
                              for f in "$libname$shrext".*; do echo "$f"; done \
13142
 
                              | sed -e "s,^$libname$shrext\\\\.,," \
13143
 
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13144
 
                              | sed 1q ) 2>/dev/null`
13145
 
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13146
 
                          found_dir="$dir"
13147
 
                          found_so="$dir/$libname$shrext.$ver"
13148
 
                        fi
13149
 
                      else
13150
 
                        eval library_names=\"$acl_library_names_spec\"
13151
 
                        for f in $library_names; do
13152
 
                          if test -f "$dir/$f"; then
13153
 
                            found_dir="$dir"
13154
 
                            found_so="$dir/$f"
13155
 
                            break
13156
 
                          fi
13157
 
                        done
13158
 
                      fi
13159
 
                    fi
13160
 
                  fi
13161
 
                                    if test "X$found_dir" = "X"; then
13162
 
                    if test -f "$dir/$libname.$acl_libext"; then
13163
 
                      found_dir="$dir"
13164
 
                      found_a="$dir/$libname.$acl_libext"
13165
 
                    fi
13166
 
                  fi
13167
 
                  if test "X$found_dir" != "X"; then
13168
 
                    if test -f "$dir/$libname.la"; then
13169
 
                      found_la="$dir/$libname.la"
13170
 
                    fi
13171
 
                  fi
13172
 
                  ;;
13173
 
              esac
13174
 
              if test "X$found_dir" != "X"; then
13175
 
                break
13176
 
              fi
13177
 
            done
13178
 
          fi
13179
 
          if test "X$found_dir" != "X"; then
13180
 
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13181
 
            if test "X$found_so" != "X"; then
13182
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13183
 
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13184
 
              else
13185
 
                                                                                haveit=
13186
 
                for x in $ltrpathdirs; do
13187
 
                  if test "X$x" = "X$found_dir"; then
13188
 
                    haveit=yes
13189
 
                    break
13190
 
                  fi
13191
 
                done
13192
 
                if test -z "$haveit"; then
13193
 
                  ltrpathdirs="$ltrpathdirs $found_dir"
13194
 
                fi
13195
 
                                if test "$acl_hardcode_direct" = yes; then
13196
 
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13197
 
                else
13198
 
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13199
 
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13200
 
                                                            haveit=
13201
 
                    for x in $rpathdirs; do
13202
 
                      if test "X$x" = "X$found_dir"; then
13203
 
                        haveit=yes
13204
 
                        break
13205
 
                      fi
13206
 
                    done
13207
 
                    if test -z "$haveit"; then
13208
 
                      rpathdirs="$rpathdirs $found_dir"
13209
 
                    fi
13210
 
                  else
13211
 
                                                                                haveit=
13212
 
                    for x in $LDFLAGS $LIBICONV; do
13213
 
 
13214
 
  acl_save_prefix="$prefix"
13215
 
  prefix="$acl_final_prefix"
13216
 
  acl_save_exec_prefix="$exec_prefix"
13217
 
  exec_prefix="$acl_final_exec_prefix"
13218
 
  eval x=\"$x\"
13219
 
  exec_prefix="$acl_save_exec_prefix"
13220
 
  prefix="$acl_save_prefix"
13221
 
 
13222
 
                      if test "X$x" = "X-L$found_dir"; then
13223
 
                        haveit=yes
13224
 
                        break
13225
 
                      fi
13226
 
                    done
13227
 
                    if test -z "$haveit"; then
13228
 
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13229
 
                    fi
13230
 
                    if test "$acl_hardcode_minus_L" != no; then
13231
 
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13232
 
                    else
13233
 
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13234
 
                    fi
13235
 
                  fi
13236
 
                fi
13237
 
              fi
13238
 
            else
13239
 
              if test "X$found_a" != "X"; then
13240
 
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13241
 
              else
13242
 
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13243
 
              fi
13244
 
            fi
13245
 
                        additional_includedir=
13246
 
            case "$found_dir" in
13247
 
              */$acl_libdirstem | */$acl_libdirstem/)
13248
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13249
 
                LIBICONV_PREFIX="$basedir"
13250
 
                additional_includedir="$basedir/include"
13251
 
                ;;
13252
 
            esac
13253
 
            if test "X$additional_includedir" != "X"; then
13254
 
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
13255
 
                haveit=
13256
 
                if test "X$additional_includedir" = "X/usr/local/include"; then
13257
 
                  if test -n "$GCC"; then
13258
 
                    case $host_os in
13259
 
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13260
 
                    esac
13261
 
                  fi
13262
 
                fi
13263
 
                if test -z "$haveit"; then
13264
 
                  for x in $CPPFLAGS $INCICONV; do
13265
 
 
13266
 
  acl_save_prefix="$prefix"
13267
 
  prefix="$acl_final_prefix"
13268
 
  acl_save_exec_prefix="$exec_prefix"
13269
 
  exec_prefix="$acl_final_exec_prefix"
13270
 
  eval x=\"$x\"
13271
 
  exec_prefix="$acl_save_exec_prefix"
13272
 
  prefix="$acl_save_prefix"
13273
 
 
13274
 
                    if test "X$x" = "X-I$additional_includedir"; then
13275
 
                      haveit=yes
13276
 
                      break
13277
 
                    fi
13278
 
                  done
13279
 
                  if test -z "$haveit"; then
13280
 
                    if test -d "$additional_includedir"; then
13281
 
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13282
 
                    fi
13283
 
                  fi
13284
 
                fi
13285
 
              fi
13286
 
            fi
13287
 
                        if test -n "$found_la"; then
13288
 
                                                        save_libdir="$libdir"
13289
 
              case "$found_la" in
13290
 
                */* | *\\*) . "$found_la" ;;
13291
 
                *) . "./$found_la" ;;
13292
 
              esac
13293
 
              libdir="$save_libdir"
13294
 
                            for dep in $dependency_libs; do
13295
 
                case "$dep" in
13296
 
                  -L*)
13297
 
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13298
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13299
 
                      haveit=
13300
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13301
 
                        if test -n "$GCC"; then
13302
 
                          case $host_os in
13303
 
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13304
 
                          esac
13305
 
                        fi
13306
 
                      fi
13307
 
                      if test -z "$haveit"; then
13308
 
                        haveit=
13309
 
                        for x in $LDFLAGS $LIBICONV; do
13310
 
 
13311
 
  acl_save_prefix="$prefix"
13312
 
  prefix="$acl_final_prefix"
13313
 
  acl_save_exec_prefix="$exec_prefix"
13314
 
  exec_prefix="$acl_final_exec_prefix"
13315
 
  eval x=\"$x\"
13316
 
  exec_prefix="$acl_save_exec_prefix"
13317
 
  prefix="$acl_save_prefix"
13318
 
 
13319
 
                          if test "X$x" = "X-L$additional_libdir"; then
13320
 
                            haveit=yes
13321
 
                            break
13322
 
                          fi
13323
 
                        done
13324
 
                        if test -z "$haveit"; then
13325
 
                          if test -d "$additional_libdir"; then
13326
 
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13327
 
                          fi
13328
 
                        fi
13329
 
                        haveit=
13330
 
                        for x in $LDFLAGS $LTLIBICONV; do
13331
 
 
13332
 
  acl_save_prefix="$prefix"
13333
 
  prefix="$acl_final_prefix"
13334
 
  acl_save_exec_prefix="$exec_prefix"
13335
 
  exec_prefix="$acl_final_exec_prefix"
13336
 
  eval x=\"$x\"
13337
 
  exec_prefix="$acl_save_exec_prefix"
13338
 
  prefix="$acl_save_prefix"
13339
 
 
13340
 
                          if test "X$x" = "X-L$additional_libdir"; then
13341
 
                            haveit=yes
13342
 
                            break
13343
 
                          fi
13344
 
                        done
13345
 
                        if test -z "$haveit"; then
13346
 
                          if test -d "$additional_libdir"; then
13347
 
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13348
 
                          fi
13349
 
                        fi
13350
 
                      fi
13351
 
                    fi
13352
 
                    ;;
13353
 
                  -R*)
13354
 
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
13355
 
                    if test "$enable_rpath" != no; then
13356
 
                                                                  haveit=
13357
 
                      for x in $rpathdirs; do
13358
 
                        if test "X$x" = "X$dir"; then
13359
 
                          haveit=yes
13360
 
                          break
13361
 
                        fi
13362
 
                      done
13363
 
                      if test -z "$haveit"; then
13364
 
                        rpathdirs="$rpathdirs $dir"
13365
 
                      fi
13366
 
                                                                  haveit=
13367
 
                      for x in $ltrpathdirs; do
13368
 
                        if test "X$x" = "X$dir"; then
13369
 
                          haveit=yes
13370
 
                          break
13371
 
                        fi
13372
 
                      done
13373
 
                      if test -z "$haveit"; then
13374
 
                        ltrpathdirs="$ltrpathdirs $dir"
13375
 
                      fi
13376
 
                    fi
13377
 
                    ;;
13378
 
                  -l*)
13379
 
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13380
 
                    ;;
13381
 
                  *.la)
13382
 
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13383
 
                    ;;
13384
 
                  *)
13385
 
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13386
 
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13387
 
                    ;;
13388
 
                esac
13389
 
              done
13390
 
            fi
13391
 
          else
13392
 
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13393
 
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13394
 
          fi
13395
 
        fi
13396
 
      fi
13397
 
    done
13398
 
  done
13399
 
  if test "X$rpathdirs" != "X"; then
13400
 
    if test -n "$acl_hardcode_libdir_separator"; then
13401
 
                        alldirs=
13402
 
      for found_dir in $rpathdirs; do
13403
 
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13404
 
      done
13405
 
            acl_save_libdir="$libdir"
13406
 
      libdir="$alldirs"
13407
 
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
13408
 
      libdir="$acl_save_libdir"
13409
 
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13410
 
    else
13411
 
            for found_dir in $rpathdirs; do
13412
 
        acl_save_libdir="$libdir"
13413
 
        libdir="$found_dir"
13414
 
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
13415
 
        libdir="$acl_save_libdir"
13416
 
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13417
 
      done
13418
 
    fi
13419
 
  fi
13420
 
  if test "X$ltrpathdirs" != "X"; then
13421
 
            for found_dir in $ltrpathdirs; do
13422
 
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13423
 
    done
13424
 
  fi
13425
 
 
13426
 
 
13427
 
 
13428
 
 
13429
 
 
13430
 
 
13431
 
 
13432
 
 
13433
 
 
13434
 
 
13435
 
 
13436
 
 
13437
 
 
13438
 
 
13439
 
 
13440
 
 
13441
 
 
13442
 
 
13443
 
 
13444
 
 
13445
 
 
13446
 
 
13447
 
 
13448
 
 
13449
 
 
13450
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13451
 
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13452
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
13453
 
  $as_echo_n "(cached) " >&6
13454
 
else
13455
 
  gt_save_LIBS="$LIBS"
13456
 
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13457
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458
 
/* end confdefs.h.  */
13459
 
#include <CoreFoundation/CFPreferences.h>
13460
 
int
13461
 
main ()
13462
 
{
13463
 
CFPreferencesCopyAppValue(NULL, NULL)
13464
 
  ;
13465
 
  return 0;
13466
 
}
13467
 
_ACEOF
13468
 
if ac_fn_c_try_link "$LINENO"; then :
13469
 
  gt_cv_func_CFPreferencesCopyAppValue=yes
13470
 
else
13471
 
  gt_cv_func_CFPreferencesCopyAppValue=no
13472
 
fi
13473
 
rm -f core conftest.err conftest.$ac_objext \
13474
 
    conftest$ac_exeext conftest.$ac_ext
13475
 
     LIBS="$gt_save_LIBS"
13476
 
fi
13477
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13478
 
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13479
 
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13480
 
 
13481
 
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13482
 
 
13483
 
  fi
13484
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13485
 
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13486
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
13487
 
  $as_echo_n "(cached) " >&6
13488
 
else
13489
 
  gt_save_LIBS="$LIBS"
13490
 
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13491
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492
 
/* end confdefs.h.  */
13493
 
#include <CoreFoundation/CFLocale.h>
13494
 
int
13495
 
main ()
13496
 
{
13497
 
CFLocaleCopyCurrent();
13498
 
  ;
13499
 
  return 0;
13500
 
}
13501
 
_ACEOF
13502
 
if ac_fn_c_try_link "$LINENO"; then :
13503
 
  gt_cv_func_CFLocaleCopyCurrent=yes
13504
 
else
13505
 
  gt_cv_func_CFLocaleCopyCurrent=no
13506
 
fi
13507
 
rm -f core conftest.err conftest.$ac_objext \
13508
 
    conftest$ac_exeext conftest.$ac_ext
13509
 
     LIBS="$gt_save_LIBS"
13510
 
fi
13511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13512
 
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13513
 
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13514
 
 
13515
 
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13516
 
 
13517
 
  fi
13518
 
  INTL_MACOSX_LIBS=
13519
 
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13520
 
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13521
 
  fi
13522
 
 
13523
 
 
13524
 
 
13525
 
 
13526
 
 
13527
 
 
13528
 
  LIBINTL=
13529
 
  LTLIBINTL=
13530
 
  POSUB=
13531
 
 
13532
 
    case " $gt_needs " in
13533
 
    *" need-formatstring-macros "*) gt_api_version=3 ;;
13534
 
    *" need-ngettext "*) gt_api_version=2 ;;
13535
 
    *) gt_api_version=1 ;;
13536
 
  esac
13537
 
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13538
 
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13539
 
 
13540
 
    if test "$USE_NLS" = "yes"; then
13541
 
    gt_use_preinstalled_gnugettext=no
13542
 
 
13543
 
 
13544
 
        if test $gt_api_version -ge 3; then
13545
 
          gt_revision_test_code='
13546
 
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13547
 
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13548
 
#endif
13549
 
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13550
 
'
13551
 
        else
13552
 
          gt_revision_test_code=
13553
 
        fi
13554
 
        if test $gt_api_version -ge 2; then
13555
 
          gt_expression_test_code=' + * ngettext ("", "", 0)'
13556
 
        else
13557
 
          gt_expression_test_code=
13558
 
        fi
13559
 
 
13560
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13561
 
$as_echo_n "checking for GNU gettext in libc... " >&6; }
13562
 
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then :
13563
 
  $as_echo_n "(cached) " >&6
13564
 
else
13565
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566
 
/* end confdefs.h.  */
13567
 
#include <libintl.h>
13568
 
$gt_revision_test_code
13569
 
extern int _nl_msg_cat_cntr;
13570
 
extern int *_nl_domain_bindings;
13571
 
int
13572
 
main ()
13573
 
{
13574
 
bindtextdomain ("", "");
13575
 
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13576
 
  ;
13577
 
  return 0;
13578
 
}
13579
 
_ACEOF
13580
 
if ac_fn_c_try_link "$LINENO"; then :
13581
 
  eval "$gt_func_gnugettext_libc=yes"
13582
 
else
13583
 
  eval "$gt_func_gnugettext_libc=no"
13584
 
fi
13585
 
rm -f core conftest.err conftest.$ac_objext \
13586
 
    conftest$ac_exeext conftest.$ac_ext
13587
 
fi
13588
 
eval ac_res=\$$gt_func_gnugettext_libc
13589
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13590
 
$as_echo "$ac_res" >&6; }
13591
 
 
13592
 
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13593
 
 
13594
 
 
13595
 
 
13596
 
 
13597
 
 
13598
 
          am_save_CPPFLAGS="$CPPFLAGS"
13599
 
 
13600
 
  for element in $INCICONV; do
13601
 
    haveit=
13602
 
    for x in $CPPFLAGS; do
13603
 
 
13604
 
  acl_save_prefix="$prefix"
13605
 
  prefix="$acl_final_prefix"
13606
 
  acl_save_exec_prefix="$exec_prefix"
13607
 
  exec_prefix="$acl_final_exec_prefix"
13608
 
  eval x=\"$x\"
13609
 
  exec_prefix="$acl_save_exec_prefix"
13610
 
  prefix="$acl_save_prefix"
13611
 
 
13612
 
      if test "X$x" = "X$element"; then
13613
 
        haveit=yes
13614
 
        break
13615
 
      fi
13616
 
    done
13617
 
    if test -z "$haveit"; then
13618
 
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13619
 
    fi
13620
 
  done
13621
 
 
13622
 
 
13623
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13624
 
$as_echo_n "checking for iconv... " >&6; }
13625
 
if test "${am_cv_func_iconv+set}" = set; then :
13626
 
  $as_echo_n "(cached) " >&6
13627
 
else
13628
 
 
13629
 
    am_cv_func_iconv="no, consider installing GNU libiconv"
13630
 
    am_cv_lib_iconv=no
13631
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632
 
/* end confdefs.h.  */
13633
 
#include <stdlib.h>
13634
 
#include <iconv.h>
13635
 
int
13636
 
main ()
13637
 
{
13638
 
iconv_t cd = iconv_open("","");
13639
 
       iconv(cd,NULL,NULL,NULL,NULL);
13640
 
       iconv_close(cd);
13641
 
  ;
13642
 
  return 0;
13643
 
}
13644
 
_ACEOF
13645
 
if ac_fn_c_try_link "$LINENO"; then :
13646
 
  am_cv_func_iconv=yes
13647
 
fi
13648
 
rm -f core conftest.err conftest.$ac_objext \
13649
 
    conftest$ac_exeext conftest.$ac_ext
13650
 
    if test "$am_cv_func_iconv" != yes; then
13651
 
      am_save_LIBS="$LIBS"
13652
 
      LIBS="$LIBS $LIBICONV"
13653
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654
 
/* end confdefs.h.  */
13655
 
#include <stdlib.h>
13656
 
#include <iconv.h>
13657
 
int
13658
 
main ()
13659
 
{
13660
 
iconv_t cd = iconv_open("","");
13661
 
         iconv(cd,NULL,NULL,NULL,NULL);
13662
 
         iconv_close(cd);
13663
 
  ;
13664
 
  return 0;
13665
 
}
13666
 
_ACEOF
13667
 
if ac_fn_c_try_link "$LINENO"; then :
13668
 
  am_cv_lib_iconv=yes
13669
 
        am_cv_func_iconv=yes
13670
 
fi
13671
 
rm -f core conftest.err conftest.$ac_objext \
13672
 
    conftest$ac_exeext conftest.$ac_ext
13673
 
      LIBS="$am_save_LIBS"
13674
 
    fi
13675
 
 
13676
 
fi
13677
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13678
 
$as_echo "$am_cv_func_iconv" >&6; }
13679
 
  if test "$am_cv_func_iconv" = yes; then
13680
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13681
 
$as_echo_n "checking for working iconv... " >&6; }
13682
 
if test "${am_cv_func_iconv_works+set}" = set; then :
13683
 
  $as_echo_n "(cached) " >&6
13684
 
else
13685
 
 
13686
 
            am_save_LIBS="$LIBS"
13687
 
      if test $am_cv_lib_iconv = yes; then
13688
 
        LIBS="$LIBS $LIBICONV"
13689
 
      fi
13690
 
      if test "$cross_compiling" = yes; then :
13691
 
  case "$host_os" in
13692
 
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13693
 
           *)            am_cv_func_iconv_works="guessing yes" ;;
13694
 
         esac
13695
 
else
13696
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697
 
/* end confdefs.h.  */
13698
 
 
13699
 
#include <iconv.h>
13700
 
#include <string.h>
13701
 
int main ()
13702
 
{
13703
 
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13704
 
     returns.  */
13705
 
  {
13706
 
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13707
 
    if (cd_utf8_to_88591 != (iconv_t)(-1))
13708
 
      {
13709
 
        static const char input[] = "\342\202\254"; /* EURO SIGN */
13710
 
        char buf[10];
13711
 
        const char *inptr = input;
13712
 
        size_t inbytesleft = strlen (input);
13713
 
        char *outptr = buf;
13714
 
        size_t outbytesleft = sizeof (buf);
13715
 
        size_t res = iconv (cd_utf8_to_88591,
13716
 
                            (char **) &inptr, &inbytesleft,
13717
 
                            &outptr, &outbytesleft);
13718
 
        if (res == 0)
13719
 
          return 1;
13720
 
      }
13721
 
  }
13722
 
#if 0 /* This bug could be worked around by the caller.  */
13723
 
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13724
 
  {
13725
 
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13726
 
    if (cd_88591_to_utf8 != (iconv_t)(-1))
13727
 
      {
13728
 
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13729
 
        char buf[50];
13730
 
        const char *inptr = input;
13731
 
        size_t inbytesleft = strlen (input);
13732
 
        char *outptr = buf;
13733
 
        size_t outbytesleft = sizeof (buf);
13734
 
        size_t res = iconv (cd_88591_to_utf8,
13735
 
                            (char **) &inptr, &inbytesleft,
13736
 
                            &outptr, &outbytesleft);
13737
 
        if ((int)res > 0)
13738
 
          return 1;
13739
 
      }
13740
 
  }
13741
 
#endif
13742
 
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13743
 
     provided.  */
13744
 
  if (/* Try standardized names.  */
13745
 
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13746
 
      /* Try IRIX, OSF/1 names.  */
13747
 
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13748
 
      /* Try AIX names.  */
13749
 
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13750
 
      /* Try HP-UX names.  */
13751
 
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13752
 
    return 1;
13753
 
  return 0;
13754
 
}
13755
 
_ACEOF
13756
 
if ac_fn_c_try_run "$LINENO"; then :
13757
 
  am_cv_func_iconv_works=yes
13758
 
else
13759
 
  am_cv_func_iconv_works=no
13760
 
fi
13761
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13762
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
13763
 
fi
13764
 
 
13765
 
      LIBS="$am_save_LIBS"
13766
 
 
13767
 
fi
13768
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13769
 
$as_echo "$am_cv_func_iconv_works" >&6; }
13770
 
    case "$am_cv_func_iconv_works" in
13771
 
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13772
 
      *)   am_func_iconv=yes ;;
13773
 
    esac
13774
 
  else
13775
 
    am_func_iconv=no am_cv_lib_iconv=no
13776
 
  fi
13777
 
  if test "$am_func_iconv" = yes; then
13778
 
 
13779
 
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
13780
 
 
13781
 
  fi
13782
 
  if test "$am_cv_lib_iconv" = yes; then
13783
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13784
 
$as_echo_n "checking how to link with libiconv... " >&6; }
13785
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13786
 
$as_echo "$LIBICONV" >&6; }
13787
 
  else
13788
 
            CPPFLAGS="$am_save_CPPFLAGS"
13789
 
    LIBICONV=
13790
 
    LTLIBICONV=
13791
 
  fi
13792
 
 
13793
 
 
13794
 
 
13795
 
 
13796
 
 
13797
 
 
13798
 
 
13799
 
 
13800
 
    use_additional=yes
13801
 
 
13802
 
  acl_save_prefix="$prefix"
13803
 
  prefix="$acl_final_prefix"
13804
 
  acl_save_exec_prefix="$exec_prefix"
13805
 
  exec_prefix="$acl_final_exec_prefix"
13806
 
 
13807
 
    eval additional_includedir=\"$includedir\"
13808
 
    eval additional_libdir=\"$libdir\"
13809
 
 
13810
 
  exec_prefix="$acl_save_exec_prefix"
13811
 
  prefix="$acl_save_prefix"
13812
 
 
13813
 
 
13814
 
# Check whether --with-libintl-prefix was given.
13815
 
if test "${with_libintl_prefix+set}" = set; then :
13816
 
  withval=$with_libintl_prefix;
13817
 
    if test "X$withval" = "Xno"; then
13818
 
      use_additional=no
13819
 
    else
13820
 
      if test "X$withval" = "X"; then
13821
 
 
13822
 
  acl_save_prefix="$prefix"
13823
 
  prefix="$acl_final_prefix"
13824
 
  acl_save_exec_prefix="$exec_prefix"
13825
 
  exec_prefix="$acl_final_exec_prefix"
13826
 
 
13827
 
          eval additional_includedir=\"$includedir\"
13828
 
          eval additional_libdir=\"$libdir\"
13829
 
 
13830
 
  exec_prefix="$acl_save_exec_prefix"
13831
 
  prefix="$acl_save_prefix"
13832
 
 
13833
 
      else
13834
 
        additional_includedir="$withval/include"
13835
 
        additional_libdir="$withval/$acl_libdirstem"
13836
 
      fi
13837
 
    fi
13838
 
 
13839
 
fi
13840
 
 
13841
 
      LIBINTL=
13842
 
  LTLIBINTL=
13843
 
  INCINTL=
13844
 
  LIBINTL_PREFIX=
13845
 
  rpathdirs=
13846
 
  ltrpathdirs=
13847
 
  names_already_handled=
13848
 
  names_next_round='intl '
13849
 
  while test -n "$names_next_round"; do
13850
 
    names_this_round="$names_next_round"
13851
 
    names_next_round=
13852
 
    for name in $names_this_round; do
13853
 
      already_handled=
13854
 
      for n in $names_already_handled; do
13855
 
        if test "$n" = "$name"; then
13856
 
          already_handled=yes
13857
 
          break
13858
 
        fi
13859
 
      done
13860
 
      if test -z "$already_handled"; then
13861
 
        names_already_handled="$names_already_handled $name"
13862
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13863
 
        eval value=\"\$HAVE_LIB$uppername\"
13864
 
        if test -n "$value"; then
13865
 
          if test "$value" = yes; then
13866
 
            eval value=\"\$LIB$uppername\"
13867
 
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13868
 
            eval value=\"\$LTLIB$uppername\"
13869
 
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13870
 
          else
13871
 
                                    :
13872
 
          fi
13873
 
        else
13874
 
                              found_dir=
13875
 
          found_la=
13876
 
          found_so=
13877
 
          found_a=
13878
 
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13879
 
          if test -n "$acl_shlibext"; then
13880
 
            shrext=".$acl_shlibext"             # typically: shrext=.so
13881
 
          else
13882
 
            shrext=
13883
 
          fi
13884
 
          if test $use_additional = yes; then
13885
 
            dir="$additional_libdir"
13886
 
                                    if test -n "$acl_shlibext"; then
13887
 
              if test -f "$dir/$libname$shrext"; then
13888
 
                found_dir="$dir"
13889
 
                found_so="$dir/$libname$shrext"
13890
 
              else
13891
 
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13892
 
                  ver=`(cd "$dir" && \
13893
 
                        for f in "$libname$shrext".*; do echo "$f"; done \
13894
 
                        | sed -e "s,^$libname$shrext\\\\.,," \
13895
 
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13896
 
                        | sed 1q ) 2>/dev/null`
13897
 
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13898
 
                    found_dir="$dir"
13899
 
                    found_so="$dir/$libname$shrext.$ver"
13900
 
                  fi
13901
 
                else
13902
 
                  eval library_names=\"$acl_library_names_spec\"
13903
 
                  for f in $library_names; do
13904
 
                    if test -f "$dir/$f"; then
13905
 
                      found_dir="$dir"
13906
 
                      found_so="$dir/$f"
13907
 
                      break
13908
 
                    fi
13909
 
                  done
13910
 
                fi
13911
 
              fi
13912
 
            fi
13913
 
                        if test "X$found_dir" = "X"; then
13914
 
              if test -f "$dir/$libname.$acl_libext"; then
13915
 
                found_dir="$dir"
13916
 
                found_a="$dir/$libname.$acl_libext"
13917
 
              fi
13918
 
            fi
13919
 
            if test "X$found_dir" != "X"; then
13920
 
              if test -f "$dir/$libname.la"; then
13921
 
                found_la="$dir/$libname.la"
13922
 
              fi
13923
 
            fi
13924
 
          fi
13925
 
          if test "X$found_dir" = "X"; then
13926
 
            for x in $LDFLAGS $LTLIBINTL; do
13927
 
 
13928
 
  acl_save_prefix="$prefix"
13929
 
  prefix="$acl_final_prefix"
13930
 
  acl_save_exec_prefix="$exec_prefix"
13931
 
  exec_prefix="$acl_final_exec_prefix"
13932
 
  eval x=\"$x\"
13933
 
  exec_prefix="$acl_save_exec_prefix"
13934
 
  prefix="$acl_save_prefix"
13935
 
 
13936
 
              case "$x" in
13937
 
                -L*)
13938
 
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
13939
 
                                    if test -n "$acl_shlibext"; then
13940
 
                    if test -f "$dir/$libname$shrext"; then
13941
 
                      found_dir="$dir"
13942
 
                      found_so="$dir/$libname$shrext"
13943
 
                    else
13944
 
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13945
 
                        ver=`(cd "$dir" && \
13946
 
                              for f in "$libname$shrext".*; do echo "$f"; done \
13947
 
                              | sed -e "s,^$libname$shrext\\\\.,," \
13948
 
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13949
 
                              | sed 1q ) 2>/dev/null`
13950
 
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13951
 
                          found_dir="$dir"
13952
 
                          found_so="$dir/$libname$shrext.$ver"
13953
 
                        fi
13954
 
                      else
13955
 
                        eval library_names=\"$acl_library_names_spec\"
13956
 
                        for f in $library_names; do
13957
 
                          if test -f "$dir/$f"; then
13958
 
                            found_dir="$dir"
13959
 
                            found_so="$dir/$f"
13960
 
                            break
13961
 
                          fi
13962
 
                        done
13963
 
                      fi
13964
 
                    fi
13965
 
                  fi
13966
 
                                    if test "X$found_dir" = "X"; then
13967
 
                    if test -f "$dir/$libname.$acl_libext"; then
13968
 
                      found_dir="$dir"
13969
 
                      found_a="$dir/$libname.$acl_libext"
13970
 
                    fi
13971
 
                  fi
13972
 
                  if test "X$found_dir" != "X"; then
13973
 
                    if test -f "$dir/$libname.la"; then
13974
 
                      found_la="$dir/$libname.la"
13975
 
                    fi
13976
 
                  fi
13977
 
                  ;;
13978
 
              esac
13979
 
              if test "X$found_dir" != "X"; then
13980
 
                break
13981
 
              fi
13982
 
            done
13983
 
          fi
13984
 
          if test "X$found_dir" != "X"; then
13985
 
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13986
 
            if test "X$found_so" != "X"; then
13987
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13988
 
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13989
 
              else
13990
 
                                                                                haveit=
13991
 
                for x in $ltrpathdirs; do
13992
 
                  if test "X$x" = "X$found_dir"; then
13993
 
                    haveit=yes
13994
 
                    break
13995
 
                  fi
13996
 
                done
13997
 
                if test -z "$haveit"; then
13998
 
                  ltrpathdirs="$ltrpathdirs $found_dir"
13999
 
                fi
14000
 
                                if test "$acl_hardcode_direct" = yes; then
14001
 
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14002
 
                else
14003
 
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14004
 
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14005
 
                                                            haveit=
14006
 
                    for x in $rpathdirs; do
14007
 
                      if test "X$x" = "X$found_dir"; then
14008
 
                        haveit=yes
14009
 
                        break
14010
 
                      fi
14011
 
                    done
14012
 
                    if test -z "$haveit"; then
14013
 
                      rpathdirs="$rpathdirs $found_dir"
14014
 
                    fi
14015
 
                  else
14016
 
                                                                                haveit=
14017
 
                    for x in $LDFLAGS $LIBINTL; do
14018
 
 
14019
 
  acl_save_prefix="$prefix"
14020
 
  prefix="$acl_final_prefix"
14021
 
  acl_save_exec_prefix="$exec_prefix"
14022
 
  exec_prefix="$acl_final_exec_prefix"
14023
 
  eval x=\"$x\"
14024
 
  exec_prefix="$acl_save_exec_prefix"
14025
 
  prefix="$acl_save_prefix"
14026
 
 
14027
 
                      if test "X$x" = "X-L$found_dir"; then
14028
 
                        haveit=yes
14029
 
                        break
14030
 
                      fi
14031
 
                    done
14032
 
                    if test -z "$haveit"; then
14033
 
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14034
 
                    fi
14035
 
                    if test "$acl_hardcode_minus_L" != no; then
14036
 
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14037
 
                    else
14038
 
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14039
 
                    fi
14040
 
                  fi
14041
 
                fi
14042
 
              fi
14043
 
            else
14044
 
              if test "X$found_a" != "X"; then
14045
 
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14046
 
              else
14047
 
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14048
 
              fi
14049
 
            fi
14050
 
                        additional_includedir=
14051
 
            case "$found_dir" in
14052
 
              */$acl_libdirstem | */$acl_libdirstem/)
14053
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14054
 
                LIBINTL_PREFIX="$basedir"
14055
 
                additional_includedir="$basedir/include"
14056
 
                ;;
14057
 
            esac
14058
 
            if test "X$additional_includedir" != "X"; then
14059
 
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
14060
 
                haveit=
14061
 
                if test "X$additional_includedir" = "X/usr/local/include"; then
14062
 
                  if test -n "$GCC"; then
14063
 
                    case $host_os in
14064
 
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14065
 
                    esac
14066
 
                  fi
14067
 
                fi
14068
 
                if test -z "$haveit"; then
14069
 
                  for x in $CPPFLAGS $INCINTL; do
14070
 
 
14071
 
  acl_save_prefix="$prefix"
14072
 
  prefix="$acl_final_prefix"
14073
 
  acl_save_exec_prefix="$exec_prefix"
14074
 
  exec_prefix="$acl_final_exec_prefix"
14075
 
  eval x=\"$x\"
14076
 
  exec_prefix="$acl_save_exec_prefix"
14077
 
  prefix="$acl_save_prefix"
14078
 
 
14079
 
                    if test "X$x" = "X-I$additional_includedir"; then
14080
 
                      haveit=yes
14081
 
                      break
14082
 
                    fi
14083
 
                  done
14084
 
                  if test -z "$haveit"; then
14085
 
                    if test -d "$additional_includedir"; then
14086
 
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14087
 
                    fi
14088
 
                  fi
14089
 
                fi
14090
 
              fi
14091
 
            fi
14092
 
                        if test -n "$found_la"; then
14093
 
                                                        save_libdir="$libdir"
14094
 
              case "$found_la" in
14095
 
                */* | *\\*) . "$found_la" ;;
14096
 
                *) . "./$found_la" ;;
14097
 
              esac
14098
 
              libdir="$save_libdir"
14099
 
                            for dep in $dependency_libs; do
14100
 
                case "$dep" in
14101
 
                  -L*)
14102
 
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14103
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14104
 
                      haveit=
14105
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14106
 
                        if test -n "$GCC"; then
14107
 
                          case $host_os in
14108
 
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14109
 
                          esac
14110
 
                        fi
14111
 
                      fi
14112
 
                      if test -z "$haveit"; then
14113
 
                        haveit=
14114
 
                        for x in $LDFLAGS $LIBINTL; do
14115
 
 
14116
 
  acl_save_prefix="$prefix"
14117
 
  prefix="$acl_final_prefix"
14118
 
  acl_save_exec_prefix="$exec_prefix"
14119
 
  exec_prefix="$acl_final_exec_prefix"
14120
 
  eval x=\"$x\"
14121
 
  exec_prefix="$acl_save_exec_prefix"
14122
 
  prefix="$acl_save_prefix"
14123
 
 
14124
 
                          if test "X$x" = "X-L$additional_libdir"; then
14125
 
                            haveit=yes
14126
 
                            break
14127
 
                          fi
14128
 
                        done
14129
 
                        if test -z "$haveit"; then
14130
 
                          if test -d "$additional_libdir"; then
14131
 
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14132
 
                          fi
14133
 
                        fi
14134
 
                        haveit=
14135
 
                        for x in $LDFLAGS $LTLIBINTL; do
14136
 
 
14137
 
  acl_save_prefix="$prefix"
14138
 
  prefix="$acl_final_prefix"
14139
 
  acl_save_exec_prefix="$exec_prefix"
14140
 
  exec_prefix="$acl_final_exec_prefix"
14141
 
  eval x=\"$x\"
14142
 
  exec_prefix="$acl_save_exec_prefix"
14143
 
  prefix="$acl_save_prefix"
14144
 
 
14145
 
                          if test "X$x" = "X-L$additional_libdir"; then
14146
 
                            haveit=yes
14147
 
                            break
14148
 
                          fi
14149
 
                        done
14150
 
                        if test -z "$haveit"; then
14151
 
                          if test -d "$additional_libdir"; then
14152
 
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14153
 
                          fi
14154
 
                        fi
14155
 
                      fi
14156
 
                    fi
14157
 
                    ;;
14158
 
                  -R*)
14159
 
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
14160
 
                    if test "$enable_rpath" != no; then
14161
 
                                                                  haveit=
14162
 
                      for x in $rpathdirs; do
14163
 
                        if test "X$x" = "X$dir"; then
14164
 
                          haveit=yes
14165
 
                          break
14166
 
                        fi
14167
 
                      done
14168
 
                      if test -z "$haveit"; then
14169
 
                        rpathdirs="$rpathdirs $dir"
14170
 
                      fi
14171
 
                                                                  haveit=
14172
 
                      for x in $ltrpathdirs; do
14173
 
                        if test "X$x" = "X$dir"; then
14174
 
                          haveit=yes
14175
 
                          break
14176
 
                        fi
14177
 
                      done
14178
 
                      if test -z "$haveit"; then
14179
 
                        ltrpathdirs="$ltrpathdirs $dir"
14180
 
                      fi
14181
 
                    fi
14182
 
                    ;;
14183
 
                  -l*)
14184
 
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14185
 
                    ;;
14186
 
                  *.la)
14187
 
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14188
 
                    ;;
14189
 
                  *)
14190
 
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14191
 
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14192
 
                    ;;
14193
 
                esac
14194
 
              done
14195
 
            fi
14196
 
          else
14197
 
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14198
 
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14199
 
          fi
14200
 
        fi
14201
 
      fi
14202
 
    done
14203
 
  done
14204
 
  if test "X$rpathdirs" != "X"; then
14205
 
    if test -n "$acl_hardcode_libdir_separator"; then
14206
 
                        alldirs=
14207
 
      for found_dir in $rpathdirs; do
14208
 
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14209
 
      done
14210
 
            acl_save_libdir="$libdir"
14211
 
      libdir="$alldirs"
14212
 
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
14213
 
      libdir="$acl_save_libdir"
14214
 
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14215
 
    else
14216
 
            for found_dir in $rpathdirs; do
14217
 
        acl_save_libdir="$libdir"
14218
 
        libdir="$found_dir"
14219
 
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
14220
 
        libdir="$acl_save_libdir"
14221
 
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14222
 
      done
14223
 
    fi
14224
 
  fi
14225
 
  if test "X$ltrpathdirs" != "X"; then
14226
 
            for found_dir in $ltrpathdirs; do
14227
 
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14228
 
    done
14229
 
  fi
14230
 
 
14231
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14232
 
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
14233
 
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then :
14234
 
  $as_echo_n "(cached) " >&6
14235
 
else
14236
 
  gt_save_CPPFLAGS="$CPPFLAGS"
14237
 
            CPPFLAGS="$CPPFLAGS $INCINTL"
14238
 
            gt_save_LIBS="$LIBS"
14239
 
            LIBS="$LIBS $LIBINTL"
14240
 
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241
 
/* end confdefs.h.  */
14242
 
#include <libintl.h>
14243
 
$gt_revision_test_code
14244
 
extern int _nl_msg_cat_cntr;
14245
 
extern
14246
 
#ifdef __cplusplus
14247
 
"C"
14248
 
#endif
14249
 
const char *_nl_expand_alias (const char *);
14250
 
int
14251
 
main ()
14252
 
{
14253
 
bindtextdomain ("", "");
14254
 
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14255
 
  ;
14256
 
  return 0;
14257
 
}
14258
 
_ACEOF
14259
 
if ac_fn_c_try_link "$LINENO"; then :
14260
 
  eval "$gt_func_gnugettext_libintl=yes"
14261
 
else
14262
 
  eval "$gt_func_gnugettext_libintl=no"
14263
 
fi
14264
 
rm -f core conftest.err conftest.$ac_objext \
14265
 
    conftest$ac_exeext conftest.$ac_ext
14266
 
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14267
 
              LIBS="$LIBS $LIBICONV"
14268
 
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269
 
/* end confdefs.h.  */
14270
 
#include <libintl.h>
14271
 
$gt_revision_test_code
14272
 
extern int _nl_msg_cat_cntr;
14273
 
extern
14274
 
#ifdef __cplusplus
14275
 
"C"
14276
 
#endif
14277
 
const char *_nl_expand_alias (const char *);
14278
 
int
14279
 
main ()
14280
 
{
14281
 
bindtextdomain ("", "");
14282
 
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14283
 
  ;
14284
 
  return 0;
14285
 
}
14286
 
_ACEOF
14287
 
if ac_fn_c_try_link "$LINENO"; then :
14288
 
  LIBINTL="$LIBINTL $LIBICONV"
14289
 
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14290
 
                eval "$gt_func_gnugettext_libintl=yes"
14291
 
 
14292
 
fi
14293
 
rm -f core conftest.err conftest.$ac_objext \
14294
 
    conftest$ac_exeext conftest.$ac_ext
14295
 
            fi
14296
 
            CPPFLAGS="$gt_save_CPPFLAGS"
14297
 
            LIBS="$gt_save_LIBS"
14298
 
fi
14299
 
eval ac_res=\$$gt_func_gnugettext_libintl
14300
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14301
 
$as_echo "$ac_res" >&6; }
14302
 
        fi
14303
 
 
14304
 
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14305
 
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14306
 
                && test "$PACKAGE" != gettext-runtime \
14307
 
                && test "$PACKAGE" != gettext-tools; }; then
14308
 
          gt_use_preinstalled_gnugettext=yes
14309
 
        else
14310
 
                    LIBINTL=
14311
 
          LTLIBINTL=
14312
 
          INCINTL=
14313
 
        fi
14314
 
 
14315
 
 
14316
 
 
14317
 
    if test -n "$INTL_MACOSX_LIBS"; then
14318
 
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
14319
 
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
14320
 
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14321
 
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14322
 
      fi
14323
 
    fi
14324
 
 
14325
 
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
14326
 
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
14327
 
 
14328
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14329
 
 
14330
 
    else
14331
 
      USE_NLS=no
14332
 
    fi
14333
 
  fi
14334
 
 
14335
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14336
 
$as_echo_n "checking whether to use NLS... " >&6; }
14337
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14338
 
$as_echo "$USE_NLS" >&6; }
14339
 
  if test "$USE_NLS" = "yes"; then
14340
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14341
 
$as_echo_n "checking where the gettext function comes from... " >&6; }
14342
 
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14343
 
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14344
 
        gt_source="external libintl"
14345
 
      else
14346
 
        gt_source="libc"
14347
 
      fi
14348
 
    else
14349
 
      gt_source="included intl directory"
14350
 
    fi
14351
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14352
 
$as_echo "$gt_source" >&6; }
14353
 
  fi
14354
 
 
14355
 
  if test "$USE_NLS" = "yes"; then
14356
 
 
14357
 
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14358
 
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14359
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14360
 
$as_echo_n "checking how to link with libintl... " >&6; }
14361
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14362
 
$as_echo "$LIBINTL" >&6; }
14363
 
 
14364
 
  for element in $INCINTL; do
14365
 
    haveit=
14366
 
    for x in $CPPFLAGS; do
14367
 
 
14368
 
  acl_save_prefix="$prefix"
14369
 
  prefix="$acl_final_prefix"
14370
 
  acl_save_exec_prefix="$exec_prefix"
14371
 
  exec_prefix="$acl_final_exec_prefix"
14372
 
  eval x=\"$x\"
14373
 
  exec_prefix="$acl_save_exec_prefix"
14374
 
  prefix="$acl_save_prefix"
14375
 
 
14376
 
      if test "X$x" = "X$element"; then
14377
 
        haveit=yes
14378
 
        break
14379
 
      fi
14380
 
    done
14381
 
    if test -z "$haveit"; then
14382
 
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14383
 
    fi
14384
 
  done
14385
 
 
14386
 
      fi
14387
 
 
14388
 
 
14389
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14390
 
 
14391
 
 
14392
 
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14393
 
 
14394
 
    fi
14395
 
 
14396
 
        POSUB=po
14397
 
  fi
14398
 
 
14399
 
 
14400
 
 
14401
 
    INTLLIBS="$LIBINTL"
14402
 
 
14403
 
 
14404
 
 
14405
 
 
14406
 
 
14407
 
 
14408
 
 
14409
 
GETTEXT_PACKAGE=$PACKAGE_TARNAME
14410
 
 
14411
 
 
14412
 
cat >>confdefs.h <<_ACEOF
14413
 
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14414
 
_ACEOF
14415
 
 
14416
 
 
14417
 
 
14418
12505
case "$am__api_version" in
14419
12506
    1.01234)
14420
12507
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
16795
14882
# report actual input values of CONFIG_FILES etc. instead of their
16796
14883
# values after options handling.
16797
14884
ac_log="
16798
 
This file was extended by Vino $as_me 3.0.2, which was
 
14885
This file was extended by Vino $as_me 3.1.2, which was
16799
14886
generated by GNU Autoconf 2.65.  Invocation command line was
16800
14887
 
16801
14888
  CONFIG_FILES    = $CONFIG_FILES
16862
14949
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16863
14950
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16864
14951
ac_cs_version="\\
16865
 
Vino config.status 3.0.2
 
14952
Vino config.status 3.1.2
16866
14953
configured by $0, generated by GNU Autoconf 2.65,
16867
14954
  with options \\"\$ac_cs_config\\"
16868
14955
 
17236
15323
 
17237
15324
 
17238
15325
 
17239
 
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
17240
 
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17241
 
    # from automake < 1.5.
17242
 
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17243
 
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
17244
 
    LINGUAS="${LINGUAS-%UNSET%}"
17245
 
 
17246
15326
 
17247
15327
_ACEOF
17248
15328
 
17255
15335
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17256
15336
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17257
15337
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17258
 
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17259
15338
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17260
15339
    "capplet/vino-preferences.desktop.in") CONFIG_FILES="$CONFIG_FILES capplet/vino-preferences.desktop.in" ;;
17261
15340
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18579
16658
  chmod +x "$ofile"
18580
16659
 
18581
16660
 ;;
18582
 
    "po-directories":C)
18583
 
    for ac_file in $CONFIG_FILES; do
18584
 
      # Support "outfile[:infile[:infile...]]"
18585
 
      case "$ac_file" in
18586
 
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18587
 
      esac
18588
 
      # PO directories have a Makefile.in generated from Makefile.in.in.
18589
 
      case "$ac_file" in */Makefile.in)
18590
 
        # Adjust a relative srcdir.
18591
 
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18592
 
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18593
 
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18594
 
        # In autoconf-2.13 it is called $ac_given_srcdir.
18595
 
        # In autoconf-2.50 it is called $srcdir.
18596
 
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18597
 
        case "$ac_given_srcdir" in
18598
 
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18599
 
          /*) top_srcdir="$ac_given_srcdir" ;;
18600
 
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
18601
 
        esac
18602
 
        # Treat a directory as a PO directory if and only if it has a
18603
 
        # POTFILES.in file. This allows packages to have multiple PO
18604
 
        # directories under different names or in different locations.
18605
 
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18606
 
          rm -f "$ac_dir/POTFILES"
18607
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18608
 
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18609
 
          POMAKEFILEDEPS="POTFILES.in"
18610
 
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18611
 
          # on $ac_dir but don't depend on user-specified configuration
18612
 
          # parameters.
18613
 
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18614
 
            # The LINGUAS file contains the set of available languages.
18615
 
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
18616
 
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18617
 
            fi
18618
 
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18619
 
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
18620
 
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18621
 
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18622
 
          else
18623
 
            # The set of available languages was given in configure.in.
18624
 
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
18625
 
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18626
 
          fi
18627
 
          # Compute POFILES
18628
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18629
 
          # Compute UPDATEPOFILES
18630
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18631
 
          # Compute DUMMYPOFILES
18632
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18633
 
          # Compute GMOFILES
18634
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18635
 
          case "$ac_given_srcdir" in
18636
 
            .) srcdirpre= ;;
18637
 
            *) srcdirpre='$(srcdir)/' ;;
18638
 
          esac
18639
 
          POFILES=
18640
 
          UPDATEPOFILES=
18641
 
          DUMMYPOFILES=
18642
 
          GMOFILES=
18643
 
          for lang in $ALL_LINGUAS; do
18644
 
            POFILES="$POFILES $srcdirpre$lang.po"
18645
 
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18646
 
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18647
 
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18648
 
          done
18649
 
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
18650
 
          # environment variable.
18651
 
          INST_LINGUAS=
18652
 
          if test -n "$ALL_LINGUAS"; then
18653
 
            for presentlang in $ALL_LINGUAS; do
18654
 
              useit=no
18655
 
              if test "%UNSET%" != "$LINGUAS"; then
18656
 
                desiredlanguages="$LINGUAS"
18657
 
              else
18658
 
                desiredlanguages="$ALL_LINGUAS"
18659
 
              fi
18660
 
              for desiredlang in $desiredlanguages; do
18661
 
                # Use the presentlang catalog if desiredlang is
18662
 
                #   a. equal to presentlang, or
18663
 
                #   b. a variant of presentlang (because in this case,
18664
 
                #      presentlang can be used as a fallback for messages
18665
 
                #      which are not translated in the desiredlang catalog).
18666
 
                case "$desiredlang" in
18667
 
                  "$presentlang"*) useit=yes;;
18668
 
                esac
18669
 
              done
18670
 
              if test $useit = yes; then
18671
 
                INST_LINGUAS="$INST_LINGUAS $presentlang"
18672
 
              fi
18673
 
            done
18674
 
          fi
18675
 
          CATALOGS=
18676
 
          if test -n "$INST_LINGUAS"; then
18677
 
            for lang in $INST_LINGUAS; do
18678
 
              CATALOGS="$CATALOGS $lang.gmo"
18679
 
            done
18680
 
          fi
18681
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18682
 
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18683
 
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18684
 
            if test -f "$f"; then
18685
 
              case "$f" in
18686
 
                *.orig | *.bak | *~) ;;
18687
 
                *) cat "$f" >> "$ac_dir/Makefile" ;;
18688
 
              esac
18689
 
            fi
18690
 
          done
18691
 
        fi
18692
 
        ;;
18693
 
      esac
18694
 
    done ;;
18695
16661
    "po/stamp-it":C)
18696
16662
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18697
16663
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5