~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-08-07 21:32:47 UTC
  • mfrom: (0.2.15) (4.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20150807213247-ozyewtmgsr6tkewl
Tags: 1.9.0-1
* Upload to unstable
* New upstream release.
  + Security fixes
    - CVE-2015-3184: Mixed anonymous/authenticated path-based authz with
      httpd 2.4
    - CVE-2015-3187: svn_repos_trace_node_locations() reveals paths hidden
      by authz
* Add >= 2.7 requirement for python-all-dev Build-Depends, needed to run
  tests.
* Remove Build-Conflicts against ruby-test-unit.  (Closes: #791844)
* Remove patches/apache_module_dependency in favor of expressing the
  dependencies in authz_svn.load/dav_svn.load.
* Build-Depend on apache2-dev (>= 2.4.16) to ensure ap_some_authn_required()
  is available when building mod_authz_svn and Depend on apache2-bin (>=
  2.4.16) for runtime support.

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.69 for subversion 1.8.13.
 
3
# Generated by GNU Autoconf 2.69 for subversion 1.9.0.
4
4
#
5
5
# Report bugs to <http://subversion.apache.org/>.
6
6
#
590
590
# Identity of this package.
591
591
PACKAGE_NAME='subversion'
592
592
PACKAGE_TARNAME='subversion'
593
 
PACKAGE_VERSION='1.8.13'
594
 
PACKAGE_STRING='subversion 1.8.13'
 
593
PACKAGE_VERSION='1.9.0'
 
594
PACKAGE_STRING='subversion 1.9.0'
595
595
PACKAGE_BUGREPORT='http://subversion.apache.org/'
596
596
PACKAGE_URL=''
597
597
 
673
673
JAR
674
674
JAVAH
675
675
JAVADOC
 
676
JAVAC_COMPAT_FLAGS
676
677
JAVAC_FLAGS
677
678
JAVAC
678
679
JAVA
711
712
MSGFMTFLAGS
712
713
NO_GETTEXT_CODESET
713
714
GETTEXT_CODESET
 
715
SVN_INTL_LIBS
714
716
XGETTEXT
715
717
MSGMERGE
716
718
MSGFMT
 
719
SVN_USE_GMOCK
 
720
GMOCK_SRCDIR
717
721
SVN_GNOME_KEYRING_LIBS
718
722
SVN_GNOME_KEYRING_INCLUDES
719
723
SVN_HAVE_GPG_AGENT
731
735
LT_CFLAGS
732
736
SVN_LIBTOOL
733
737
CXXCPP
 
738
LT_SYS_LIBRARY_PATH
734
739
OTOOL64
735
740
OTOOL
736
741
LIPO
753
758
SVN_BINDIR
754
759
SVN_SQLITE_LIBS
755
760
SVN_SQLITE_INCLUDES
 
761
HTTPD_VERSION
756
762
INSTALL_APACHE_MODS
757
763
APACHE_LIBEXECDIR
758
764
APACHE_INCLUDES
764
770
SVN_SERF_INCLUDES
765
771
PKG_CONFIG
766
772
SVN_LT_SOVERSION
 
773
SVN_APR_MAJOR_VERSION
767
774
SVN_APRUTIL_LIBS
768
775
SVN_APRUTIL_CONFIG
769
776
SVN_APRUTIL_INCLUDES
792
799
build
793
800
SED
794
801
CPP
 
802
CXXUSERFLAGS
795
803
CXXMAINTAINERFLAGS
 
804
CXXNOWARNFLAGS
796
805
CXXMODEFLAGS
797
806
ac_ct_CXX
798
807
CXXFLAGS
799
808
CXX
 
809
CUSERFLAGS
800
810
CMAINTAINERFLAGS
 
811
CNOWARNFLAGS
801
812
CMODEFLAGS
802
813
OBJEXT
803
814
EXEEXT
857
868
with_apr_memcache
858
869
with_apxs
859
870
with_apache_libexecdir
 
871
enable_broken_httpd_auth
860
872
with_sqlite
861
873
enable_sqlite_compatibility_version
862
874
enable_shared
863
875
enable_static
864
876
with_pic
865
877
enable_fast_install
 
878
with_aix_soname
866
879
with_gnu_ld
867
880
with_sysroot
868
881
enable_libtool_lock
878
891
enable_keychain
879
892
with_gpg_agent
880
893
with_gnome_keyring
 
894
enable_gmock
881
895
enable_ev2_impl
882
896
enable_nls
883
897
with_libmagic
884
898
with_kwallet
885
899
enable_plaintext_password_storage
886
 
with_openssl
887
900
enable_debug
888
901
enable_optimize
889
902
enable_disallowing_of_undefined_references
916
929
CXXFLAGS
917
930
CCC
918
931
CPP
 
932
LT_SYS_LIBRARY_PATH
919
933
CXXCPP'
920
934
 
921
935
 
1457
1471
  # Omit some internal or obsolete options to make the list less imposing.
1458
1472
  # This message is too long to be a string in the A/UX 3.1 sh.
1459
1473
  cat <<_ACEOF
1460
 
\`configure' configures subversion 1.8.13 to adapt to many kinds of systems.
 
1474
\`configure' configures subversion 1.9.0 to adapt to many kinds of systems.
1461
1475
 
1462
1476
Usage: $0 [OPTION]... [VAR=VALUE]...
1463
1477
 
1523
1537
 
1524
1538
if test -n "$ac_init_help"; then
1525
1539
  case $ac_init_help in
1526
 
     short | recursive ) echo "Configuration of subversion 1.8.13:";;
 
1540
     short | recursive ) echo "Configuration of subversion 1.9.0:";;
1527
1541
   esac
1528
1542
  cat <<\_ACEOF
1529
1543
 
1531
1545
  --disable-option-checking  ignore unrecognized --enable/--with options
1532
1546
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1533
1547
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1548
  --enable-broken-httpd-auth
 
1549
                          Allow building against httpd 2.4 with broken auth
1534
1550
  --enable-sqlite-compatibility-version=X.Y.Z
1535
1551
                          Allow binary to run against SQLite as old as ARG
1536
1552
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1554
1570
                          the Berkeley DB installation. Using BDB 6 will fail
1555
1571
                          if this option is not used.
1556
1572
  --disable-keychain      Disable use of Mac OS KeyChain for auth credentials
 
1573
  --disable-gmock         Do not use the Googlemock testing framework
1557
1574
  --enable-ev2-impl       Use Ev2 implementations, where available
1558
1575
                          [EXPERIMENTAL]
1559
1576
  --disable-nls           Disable gettext functionality
1605
1622
  --with-sqlite=PREFIX    Use installed SQLite library or amalgamation file.
1606
1623
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1607
1624
                          both]
 
1625
  --with-aix-soname=aix|svr4|both
 
1626
                          shared library versioning (aka "SONAME") variant to
 
1627
                          provide on AIX, [default=aix].
1608
1628
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1609
1629
  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1610
1630
                          compiler's sysroot if not specified).
1626
1646
                          (enabled by default if found)
1627
1647
  --with-libmagic=PREFIX  libmagic filetype detection library
1628
1648
  --with-kwallet[=PATH]   Enable use of KWallet (KDE 4) for auth credentials
1629
 
  --with-openssl          This option does NOT affect the Subversion build
1630
 
                          process in any way. It tells an integrated Serf HTTP
1631
 
                          client library build process where to locate the
1632
 
                          OpenSSL library when (and only when) building Serf
1633
 
                          as an integrated part of the Subversion build
1634
 
                          process. When linking to a previously installed
1635
 
                          version of Serf instead, you do not need to use this
1636
 
                          option.
1637
1649
  --with-editor=PATH      Specify a default editor for the subversion client.
1638
1650
  --with-zlib=PREFIX      zlib compression library
1639
1651
  --with-jdk=PATH         Try to use 'PATH/include' to find the JNI headers.
1669
1681
  CXX         C++ compiler command
1670
1682
  CXXFLAGS    C++ compiler flags
1671
1683
  CPP         C preprocessor
 
1684
  LT_SYS_LIBRARY_PATH
 
1685
              User-defined run-time library search path.
1672
1686
  CXXCPP      C++ preprocessor
1673
1687
 
1674
1688
Use these variables to override the choices made by `configure' or to help
1737
1751
test -n "$ac_init_help" && exit $ac_status
1738
1752
if $ac_init_version; then
1739
1753
  cat <<\_ACEOF
1740
 
subversion configure 1.8.13
 
1754
subversion configure 1.9.0
1741
1755
generated by GNU Autoconf 2.69
1742
1756
 
1743
1757
Copyright (C) 2012 Free Software Foundation, Inc.
2281
2295
This file contains any messages produced by compilers while
2282
2296
running configure, to aid debugging if configure makes a mistake.
2283
2297
 
2284
 
It was created by subversion $as_me 1.8.13, which was
 
2298
It was created by subversion $as_me 1.9.0, which was
2285
2299
generated by GNU Autoconf 2.69.  Invocation command line was
2286
2300
 
2287
2301
  $ $0 $@
2661
2675
 
2662
2676
 
2663
2677
 
2664
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.8.13" >&5
2665
 
$as_echo "$as_me: Configuring Subversion 1.8.13" >&6;}
 
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.9.0" >&5
 
2679
$as_echo "$as_me: Configuring Subversion 1.9.0" >&6;}
2666
2680
 
2667
2681
abs_srcdir="`cd $srcdir && pwd`"
2668
2682
 
2702
2716
# ==== Check for programs ====================================================
2703
2717
 
2704
2718
# Look for a C compiler (before anything can set CFLAGS)
2705
 
CMAINTAINERFLAGS="$CUSERFLAGS"
2706
2719
CUSERFLAGS="$CFLAGS"
2707
2720
ac_ext=c
2708
2721
ac_cpp='$CPP $CPPFLAGS'
3498
3511
  CFLAGS_KEEP="$CFLAGS"
3499
3512
  CFLAGS=""
3500
3513
 
 
3514
  if test "$GCC" = "yes"; then
3501
3515
 
3502
3516
  _svn_xxflags__save="$CFLAGS"
3503
3517
  ac_ext=c
3614
3628
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615
3629
 
3616
3630
 
 
3631
  fi
3617
3632
 
3618
3633
  CMODEFLAGS="$CFLAGS"
 
3634
  CFLAGS=""
 
3635
 
 
3636
  if test "$GCC" = "yes"; then
 
3637
 
 
3638
  _svn_xxflags__save="$CFLAGS"
 
3639
  ac_ext=c
 
3640
ac_cpp='$CPP $CPPFLAGS'
 
3641
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3642
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3643
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3644
 
 
3645
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -w" >&5
 
3646
$as_echo_n "checking if $CC accepts -w... " >&6; }
 
3647
  CFLAGS="-w $CFLAGS"
 
3648
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3649
/* end confdefs.h.  */
 
3650
int main(void){return 0;}
 
3651
_ACEOF
 
3652
if ac_fn_c_try_link "$LINENO"; then :
 
3653
 
 
3654
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3655
$as_echo "yes" >&6; }
 
3656
 
 
3657
 
 
3658
else
 
3659
 
 
3660
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3661
$as_echo "no" >&6; }
 
3662
    CFLAGS="$_svn_xxflags__save"
 
3663
 
 
3664
 
 
3665
fi
 
3666
rm -f core conftest.err conftest.$ac_objext \
 
3667
    conftest$ac_exeext conftest.$ac_ext
 
3668
  ac_ext=c
 
3669
ac_cpp='$CPP $CPPFLAGS'
 
3670
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3671
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3672
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3673
 
 
3674
 
 
3675
  fi
 
3676
 
 
3677
  CNOWARNFLAGS="$CFLAGS"
3619
3678
  CFLAGS="$CFLAGS_KEEP"
3620
3679
 
3621
3680
 
3622
3681
 
3623
3682
 
 
3683
 
 
3684
 
 
3685
  if test "$GCC" = "yes"; then
 
3686
 
3624
3687
  _svn_xxflags__save="$CFLAGS"
3625
3688
  ac_ext=c
3626
3689
ac_cpp='$CPP $CPPFLAGS'
3658
3721
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3659
3722
 
3660
3723
 
 
3724
  fi
3661
3725
 
3662
3726
 
3663
3727
# Look for a C++ compiler (before anything can set CXXFLAGS)
3664
 
CXXMAINTAINERFLAGS="$CXXUSERFLAGS"
3665
3728
CXXUSERFLAGS="$CXXFLAGS"
3666
3729
ac_ext=cpp
3667
3730
ac_cpp='$CXXCPP $CPPFLAGS'
3925
3988
  CXXFLAGS_KEEP="$CXXFLAGS"
3926
3989
  CXXFLAGS=""
3927
3990
 
 
3991
  if test "$GXX" = "yes"; then
3928
3992
 
3929
3993
  _svn_xxflags__save="$CXXFLAGS"
3930
3994
  ac_ext=cpp
3963
4027
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964
4028
 
3965
4029
 
 
4030
  fi
3966
4031
 
3967
4032
  CXXMODEFLAGS="$CXXFLAGS"
 
4033
  CXXFLAGS=""
 
4034
 
 
4035
  if test "$GXX" = "yes"; then
 
4036
 
 
4037
  _svn_xxflags__save="$CXXFLAGS"
 
4038
  ac_ext=cpp
 
4039
ac_cpp='$CXXCPP $CPPFLAGS'
 
4040
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4041
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4042
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
4043
 
 
4044
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -w" >&5
 
4045
$as_echo_n "checking if $CXX accepts -w... " >&6; }
 
4046
  CXXFLAGS="-w $CXXFLAGS"
 
4047
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4048
/* end confdefs.h.  */
 
4049
int main(){}
 
4050
_ACEOF
 
4051
if ac_fn_cxx_try_link "$LINENO"; then :
 
4052
 
 
4053
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4054
$as_echo "yes" >&6; }
 
4055
 
 
4056
 
 
4057
else
 
4058
 
 
4059
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4060
$as_echo "no" >&6; }
 
4061
    CXXFLAGS="$_svn_xxflags__save"
 
4062
 
 
4063
 
 
4064
fi
 
4065
rm -f core conftest.err conftest.$ac_objext \
 
4066
    conftest$ac_exeext conftest.$ac_ext
 
4067
  ac_ext=c
 
4068
ac_cpp='$CPP $CPPFLAGS'
 
4069
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4070
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4071
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4072
 
 
4073
 
 
4074
  fi
 
4075
 
 
4076
  CXXNOWARNFLAGS="$CXXFLAGS"
3968
4077
  CXXFLAGS="$CXXFLAGS_KEEP"
3969
4078
 
3970
4079
 
3971
4080
 
3972
4081
 
 
4082
 
 
4083
 
 
4084
  if test "$GXX" = "yes"; then
 
4085
 
3973
4086
  _svn_xxflags__save="$CXXFLAGS"
3974
4087
  ac_ext=cpp
3975
4088
ac_cpp='$CXXCPP $CPPFLAGS'
4007
4120
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008
4121
 
4009
4122
 
 
4123
  fi
4010
4124
 
4011
4125
 
4012
4126
# Look for a C pre-processor
4584
4698
# ==== Libraries, for which we may have source to build ======================
4585
4699
 
4586
4700
 
4587
 
APR_VER_REGEXES="0\.9\.[7-9] 0\.9\.[12][0-9] 1\. 2\."
 
4701
APR_VER_REGEXES="1\.[3-9]\. 2\."
4588
4702
 
4589
4703
 
4590
4704
  APR_WANTED_REGEXES="$APR_VER_REGEXES"
4602
4716
    TEST_X="test -x"
4603
4717
  fi
4604
4718
 
4605
 
  acceptable_majors="1 0"
 
4719
  acceptable_majors="2 1 0"
4606
4720
 
4607
4721
  apr_temp_acceptable_apr_config=""
4608
4722
  for apr_temp_major in $acceptable_majors
4832
4946
  SVN_APRUTIL_CONFIG="$apu_config"
4833
4947
 
4834
4948
 
 
4949
  SVN_APR_MAJOR_VERSION=2
4835
4950
else
4836
4951
  svn_lib_ver=0
4837
 
  APU_VER_REGEXES="0\.9\.[7-9] 0\.9\.1[0-9] 1\."
 
4952
  APU_VER_REGEXES="1\.[3-9]\."
4838
4953
 
4839
4954
  APRUTIL_WANTED_REGEXES="$APU_VER_REGEXES"
4840
4955
 
5068
5183
 
5069
5184
  fi
5070
5185
 
 
5186
  SVN_APR_MAJOR_VERSION=1
5071
5187
fi
 
5188
 
5072
5189
SVN_LT_SOVERSION="-version-info $svn_lib_ver"
5073
5190
 
5074
5191
 
5254
5371
  serf_skip=no
5255
5372
 
5256
5373
  serf_check_major="1"
5257
 
  serf_check_minor="2"
5258
 
  serf_check_patch="1"
5259
 
  serf_check_version="1.2.1"
 
5374
  serf_check_minor="3"
 
5375
  serf_check_patch="4"
 
5376
  serf_check_version="1.3.4"
5260
5377
 
5261
5378
 
5262
5379
# Check whether --with-serf was given.
5267
5384
    elif test "$withval" = "no" ; then
5268
5385
      serf_skip=yes
5269
5386
    else
 
5387
      serf_required=yes
 
5388
      serf_prefix="$withval"
 
5389
    fi
 
5390
 
 
5391
fi
 
5392
 
 
5393
 
 
5394
  if test "$serf_skip" = "no" ; then
 
5395
 
 
5396
  { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via pkg-config" >&5
 
5397
$as_echo "$as_me: serf library configuration via pkg-config" >&6;}
 
5398
  if test -n "$PKG_CONFIG"; then
 
5399
    for serf_major in serf-2 serf-1; do
 
5400
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $serf_major library" >&5
 
5401
$as_echo_n "checking for $serf_major library... " >&6; }
 
5402
      if test -n "$serf_prefix" ; then
 
5403
                                                        if test -e "$serf_prefix/$serf_major.pc" ; then
 
5404
          serf_pc_arg="$serf_prefix/$serf_major.pc"
 
5405
        elif test -e "$serf_prefix/lib/pkgconfig/$serf_major.pc" ; then
 
5406
          serf_pc_arg="$serf_prefix/lib/pkgconfig/$serf_major.pc"
 
5407
        else
 
5408
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5409
$as_echo "no" >&6; }
 
5410
          continue
 
5411
        fi
 
5412
      else
 
5413
        serf_pc_arg="$serf_major"
 
5414
      fi
 
5415
      if $PKG_CONFIG $serf_pc_arg --exists; then
 
5416
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5417
$as_echo "yes" >&6; }
 
5418
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf library version" >&5
 
5419
$as_echo_n "checking serf library version... " >&6; }
 
5420
        SERF_VERSION=`$PKG_CONFIG $serf_pc_arg --modversion`
 
5421
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SERF_VERSION" >&5
 
5422
$as_echo "$SERF_VERSION" >&6; }
 
5423
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf version is suitable" >&5
 
5424
$as_echo_n "checking serf version is suitable... " >&6; }
 
5425
        if $PKG_CONFIG $serf_pc_arg --atleast-version=$serf_check_version; then
 
5426
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5427
$as_echo "yes" >&6; }
 
5428
          serf_found=yes
 
5429
          SVN_SERF_INCLUDES=`$PKG_CONFIG $serf_pc_arg --cflags | $SED -e 's/-D[^ ]*//g'`
 
5430
          SVN_SERF_LIBS=`$PKG_CONFIG $serf_pc_arg --libs-only-l`
 
5431
                    LDFLAGS="$LDFLAGS `$PKG_CONFIG $serf_pc_arg --libs | $SED -e 's/-l[^ ]*//g'`"
 
5432
          break
 
5433
        else
 
5434
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5435
$as_echo "no" >&6; }
 
5436
          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
 
5437
$as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
 
5438
        fi
 
5439
      else
 
5440
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5441
$as_echo "no" >&6; }
 
5442
      fi
 
5443
    done
 
5444
  fi
 
5445
 
 
5446
    if test -n "$serf_prefix" && test "$serf_found" = "no" ; then
5270
5447
 
5271
5448
  { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via prefix" >&5
5272
5449
$as_echo "$as_me: serf library configuration via prefix" >&6;}
5273
5450
  serf_required=yes
5274
 
  serf_prefix=$withval
5275
5451
  for serf_major in serf-2 serf-1; do
5276
5452
    if ! test -d $serf_prefix/include/$serf_major; then continue; fi
5277
5453
    save_cppflags="$CPPFLAGS"
5413
5589
 
5414
5590
    fi
5415
5591
 
5416
 
fi
5417
 
 
5418
 
 
5419
 
  if test "$serf_skip" = "no" ; then
5420
 
    if test "$serf_found" = "no" ; then
5421
 
 
5422
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via pkg-config" >&5
5423
 
$as_echo "$as_me: serf library configuration via pkg-config" >&6;}
5424
 
  if test -n "$PKG_CONFIG"; then
5425
 
    for serf_major in serf-2 serf-1; do
5426
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $serf_major library" >&5
5427
 
$as_echo_n "checking for $serf_major library... " >&6; }
5428
 
      if $PKG_CONFIG $serf_major --exists; then
5429
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5430
 
$as_echo "yes" >&6; }
5431
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf library version" >&5
5432
 
$as_echo_n "checking serf library version... " >&6; }
5433
 
        SERF_VERSION=`$PKG_CONFIG $serf_major --modversion`
5434
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SERF_VERSION" >&5
5435
 
$as_echo "$SERF_VERSION" >&6; }
5436
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf version is suitable" >&5
5437
 
$as_echo_n "checking serf version is suitable... " >&6; }
5438
 
        if $PKG_CONFIG $serf_major --atleast-version=$serf_check_version; then
5439
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5440
 
$as_echo "yes" >&6; }
5441
 
          serf_found=yes
5442
 
          SVN_SERF_INCLUDES=`$PKG_CONFIG $serf_major --cflags | $SED -e 's/-D[^ ]*//g'`
5443
 
          SVN_SERF_LIBS=`$PKG_CONFIG $serf_major --libs`
5444
 
          break
5445
 
        else
5446
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447
 
$as_echo "no" >&6; }
5448
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5449
 
$as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5450
 
        fi
5451
 
      else
5452
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453
 
$as_echo "no" >&6; }
5454
 
      fi
5455
 
    done
5456
 
  fi
5457
 
 
5458
 
    fi
5459
 
 
5460
5592
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking was serf enabled" >&5
5461
5593
$as_echo_n "checking was serf enabled... " >&6; }
5462
5594
    if test "$serf_found" = "yes"; then
5646
5778
 
5647
5779
 
5648
5780
 
5649
 
HTTPD_WANTED_MMN="20020903"
 
5781
HTTPD_WANTED_MMN="20051115"
5650
5782
 
5651
5783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module support via DSO through APXS" >&5
5652
5784
$as_echo_n "checking for Apache module support via DSO through APXS... " >&6; }
5814
5946
        APACHE_LIBEXECDIR="`$APXS -q libexecdir`"
5815
5947
    fi
5816
5948
 
 
5949
    for ac_header in unistd.h
 
5950
do :
 
5951
  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
 
5952
if test "x$ac_cv_header_unistd_h" = xyes; then :
 
5953
  cat >>confdefs.h <<_ACEOF
 
5954
#define HAVE_UNISTD_H 1
 
5955
_ACEOF
 
5956
 for ac_func in getpid
 
5957
do :
 
5958
  ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid"
 
5959
if test "x$ac_cv_func_getpid" = xyes; then :
 
5960
  cat >>confdefs.h <<_ACEOF
 
5961
#define HAVE_GETPID 1
 
5962
_ACEOF
 
5963
 
 
5964
fi
 
5965
done
 
5966
 
 
5967
fi
 
5968
 
 
5969
done
 
5970
 
 
5971
 
5817
5972
    BUILD_APACHE_RULE=apache-mod
5818
5973
    INSTALL_APACHE_RULE=install-mods-shared
5819
5974
    INSTALL_APACHE_MODS=true
 
5975
    HTTPD="`$APXS -q sbindir`/`$APXS -q PROGNAME`"
 
5976
    if ! test -e $HTTPD ; then
 
5977
      HTTPD="`$APXS -q bindir`/`$APXS -q PROGNAME`"
 
5978
    fi
 
5979
    HTTPD_VERSION="`$HTTPD -v | $SED -e 's@^.*/\([0-9.]*\)\(.*$\)@\1@ ; 1q'`"
 
5980
    # Check whether --enable-broken-httpd-auth was given.
 
5981
if test "${enable_broken_httpd_auth+set}" = set; then :
 
5982
  enableval=$enable_broken_httpd_auth; broken_httpd_auth=$enableval
 
5983
else
 
5984
  broken_httpd_auth=no
 
5985
fi
 
5986
 
 
5987
    if test "$enable_broken_httpd_auth" = "yes"; then
 
5988
      { $as_echo "$as_me:${as_lineno-$LINENO}: Building with broken httpd auth" >&5
 
5989
$as_echo "$as_me: Building with broken httpd auth" >&6;}
 
5990
 
 
5991
$as_echo "#define SVN_ALLOW_BROKEN_HTTPD_AUTH 1" >>confdefs.h
 
5992
 
 
5993
    fi
5820
5994
 
5821
5995
    case $host in
5822
5996
      *-*-cygwin*)
5836
6010
 
5837
6011
 
5838
6012
 
 
6013
 
5839
6014
# there aren't any flags that interest us ...
5840
6015
#if test -n "$APXS" && test "$APXS" != "no"; then
5841
6016
#  CFLAGS="$CFLAGS `$APXS -q CFLAGS CFLAGS_SHLIB`"
7191
7366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_atomic_builtins" >&5
7192
7367
$as_echo "$svn_cv_atomic_builtins" >&6; }
7193
7368
 
7194
 
 
7195
7369
if test "$svn_cv_atomic_builtins" = "yes"; then
7196
7370
 
7197
7371
$as_echo "#define SVN_HAS_ATOMIC_BUILTINS 1" >>confdefs.h
7256
7430
 
7257
7431
 
7258
7432
 
7259
 
macro_version='2.4.2.458.26-92994'
7260
 
macro_revision='2.4.3'
 
7433
macro_version='2.4.6'
 
7434
macro_revision='2.4.6'
7261
7435
 
7262
7436
 
7263
7437
 
8417
8591
tpf*)
8418
8592
  lt_cv_deplibs_check_method=pass_all
8419
8593
  ;;
 
8594
os2*)
 
8595
  lt_cv_deplibs_check_method=pass_all
 
8596
  ;;
8420
8597
esac
8421
8598
 
8422
8599
fi
9506
9683
 
9507
9684
 
9508
9685
 
 
9686
 
 
9687
# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
9688
func_cc_basename ()
 
9689
{
 
9690
    for cc_temp in $*""; do
 
9691
      case $cc_temp in
 
9692
        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9693
        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9694
        \-*) ;;
 
9695
        *) break;;
 
9696
      esac
 
9697
    done
 
9698
    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9699
}
 
9700
 
9509
9701
# Check whether --enable-libtool-lock was given.
9510
9702
if test "${enable_libtool_lock+set}" = set; then :
9511
9703
  enableval=$enable_libtool_lock;
10513
10705
    ;;
10514
10706
  esac
10515
10707
 
 
10708
# func_munge_path_list VARIABLE PATH
 
10709
# -----------------------------------
 
10710
# VARIABLE is name of variable containing _space_ separated list of
 
10711
# directories to be munged by the contents of PATH, which is string
 
10712
# having a format:
 
10713
# "DIR[:DIR]:"
 
10714
#       string "DIR[ DIR]" will be prepended to VARIABLE
 
10715
# ":DIR[:DIR]"
 
10716
#       string "DIR[ DIR]" will be appended to VARIABLE
 
10717
# "DIRP[:DIRP]::[DIRA:]DIRA"
 
10718
#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 
10719
#       "DIRA[ DIRA]" will be appended to VARIABLE
 
10720
# "DIR[:DIR]"
 
10721
#       VARIABLE will be replaced by "DIR[ DIR]"
 
10722
func_munge_path_list ()
 
10723
{
 
10724
    case x$2 in
 
10725
    x)
 
10726
        ;;
 
10727
    *:)
 
10728
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 
10729
        ;;
 
10730
    x:*)
 
10731
        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 
10732
        ;;
 
10733
    *::*)
 
10734
        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 
10735
        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 
10736
        ;;
 
10737
    *)
 
10738
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 
10739
        ;;
 
10740
    esac
 
10741
}
 
10742
 
10516
10743
for ac_header in dlfcn.h
10517
10744
do :
10518
10745
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10672
10899
 
10673
10900
 
10674
10901
 
 
10902
  shared_archive_member_spec=
 
10903
case $host,$enable_shared in
 
10904
power*-*-aix[5-9]*,yes)
 
10905
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
 
10906
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
 
10907
 
 
10908
# Check whether --with-aix-soname was given.
 
10909
if test "${with_aix_soname+set}" = set; then :
 
10910
  withval=$with_aix_soname; case $withval in
 
10911
    aix|svr4|both)
 
10912
      ;;
 
10913
    *)
 
10914
      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
 
10915
      ;;
 
10916
    esac
 
10917
    lt_cv_with_aix_soname=$with_aix_soname
 
10918
else
 
10919
  if ${lt_cv_with_aix_soname+:} false; then :
 
10920
  $as_echo_n "(cached) " >&6
 
10921
else
 
10922
  lt_cv_with_aix_soname=aix
 
10923
fi
 
10924
 
 
10925
    with_aix_soname=$lt_cv_with_aix_soname
 
10926
fi
 
10927
 
 
10928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
 
10929
$as_echo "$with_aix_soname" >&6; }
 
10930
  if test aix != "$with_aix_soname"; then
 
10931
    # For the AIX way of multilib, we name the shared archive member
 
10932
    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
 
10933
    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
 
10934
    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
 
10935
    # the AIX toolchain works better with OBJECT_MODE set (default 32).
 
10936
    if test 64 = "${OBJECT_MODE-32}"; then
 
10937
      shared_archive_member_spec=shr_64
 
10938
    else
 
10939
      shared_archive_member_spec=shr
 
10940
    fi
 
10941
  fi
 
10942
  ;;
 
10943
*)
 
10944
  with_aix_soname=aix
 
10945
  ;;
 
10946
esac
 
10947
 
 
10948
 
 
10949
 
 
10950
 
 
10951
 
 
10952
 
 
10953
 
10675
10954
 
10676
10955
 
10677
10956
 
10791
11070
test -z "$LD" && LD=ld
10792
11071
test -z "$ac_objext" && ac_objext=o
10793
11072
 
10794
 
for cc_temp in $compiler""; do
10795
 
  case $cc_temp in
10796
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10797
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10798
 
    \-*) ;;
10799
 
    *) break;;
10800
 
  esac
10801
 
done
10802
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
11073
func_cc_basename $compiler
 
11074
cc_basename=$func_cc_basename_result
10803
11075
 
10804
11076
 
10805
11077
# Only perform the check for file, if the check method requires it
11110
11382
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
11111
11383
      # (--disable-auto-import) libraries
11112
11384
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
11385
      case $host_os in
 
11386
      os2*)
 
11387
        lt_prog_compiler_static='$wl-static'
 
11388
        ;;
 
11389
      esac
11113
11390
      ;;
11114
11391
 
11115
11392
    darwin* | rhapsody*)
11206
11483
      # This hack is so that the source file can tell whether it is being
11207
11484
      # built for inclusion in a dll (and should export symbols for example).
11208
11485
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
11486
      case $host_os in
 
11487
      os2*)
 
11488
        lt_prog_compiler_static='$wl-static'
 
11489
        ;;
 
11490
      esac
11209
11491
      ;;
11210
11492
 
11211
11493
    hpux9* | hpux10* | hpux11*)
11846
12128
      link_all_deplibs=yes
11847
12129
      ;;
11848
12130
 
 
12131
    os2*)
 
12132
      hardcode_libdir_flag_spec='-L$libdir'
 
12133
      hardcode_minus_L=yes
 
12134
      allow_undefined_flag=unsupported
 
12135
      shrext_cmds=.dll
 
12136
      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
12137
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
12138
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
12139
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
12140
        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 
12141
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
12142
        emximp -o $lib $output_objdir/$libname.def'
 
12143
      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
12144
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
12145
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
12146
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
12147
        prefix_cmds="$SED"~
 
12148
        if test EXPORTS = "`$SED 1q $export_symbols`"; then
 
12149
          prefix_cmds="$prefix_cmds -e 1d";
 
12150
        fi~
 
12151
        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 
12152
        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 
12153
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
12154
        emximp -o $lib $output_objdir/$libname.def'
 
12155
      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 
12156
      enable_shared_with_static_runtimes=yes
 
12157
      ;;
 
12158
 
11849
12159
    interix[3-9]*)
11850
12160
      hardcode_direct=no
11851
12161
      hardcode_shlibpath_var=no
11919
12229
        fi
11920
12230
 
11921
12231
        case $cc_basename in
 
12232
        tcc*)
 
12233
          export_dynamic_flag_spec='-rdynamic'
 
12234
          ;;
11922
12235
        xlf* | bgf* | bgxlf* | mpixlf*)
11923
12236
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11924
12237
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12048
12361
        no_entry_flag=
12049
12362
      else
12050
12363
        # If we're using GNU nm, then we don't want the "-C" option.
12051
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
12052
 
        # Also, AIX nm treats weak defined symbols like other global
12053
 
        # defined symbols, whereas GNU nm marks them as "W".
 
12364
        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
 
12365
        # Without the "-l" option, or with the "-B" option, AIX nm treats
 
12366
        # weak defined symbols like other global defined symbols, whereas
 
12367
        # GNU nm marks them as "W".
 
12368
        # While the 'weak' keyword is ignored in the Export File, we need
 
12369
        # it in the Import File for the 'aix-soname' feature, so we have
 
12370
        # to replace the "-B" option with "-P" for AIX nm.
12054
12371
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12055
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
12372
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
12056
12373
        else
12057
 
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
12374
          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
12058
12375
        fi
12059
12376
        aix_use_runtimelinking=no
12060
12377
 
12061
12378
        # Test if we are trying to use run time linking or normal
12062
12379
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12063
 
        # need to do runtime linking.
 
12380
        # have runtime linking enabled, and use it for executables.
 
12381
        # For shared libraries, we enable/disable runtime linking
 
12382
        # depending on the kind of the shared library created -
 
12383
        # when "with_aix_soname,aix_use_runtimelinking" is:
 
12384
        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
 
12385
        # "aix,yes"  lib.so          shared, rtl:yes, for executables
 
12386
        #            lib.a           static archive
 
12387
        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
 
12388
        #            lib.a(lib.so.V) shared, rtl:no,  for executables
 
12389
        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
 
12390
        #            lib.a(lib.so.V) shared, rtl:no
 
12391
        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
 
12392
        #            lib.a           static archive
12064
12393
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12065
12394
          for ld_flag in $LDFLAGS; do
12066
12395
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12068
12397
            break
12069
12398
          fi
12070
12399
          done
 
12400
          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
 
12401
            # With aix-soname=svr4, we create the lib.so.V shared archives only,
 
12402
            # so we don't have lib.a shared libs to link our executables.
 
12403
            # We have to force runtime linking in this case.
 
12404
            aix_use_runtimelinking=yes
 
12405
            LDFLAGS="$LDFLAGS -Wl,-brtl"
 
12406
          fi
12071
12407
          ;;
12072
12408
        esac
12073
12409
 
12087
12423
      hardcode_libdir_separator=':'
12088
12424
      link_all_deplibs=yes
12089
12425
      file_list_spec='$wl-f,'
 
12426
      case $with_aix_soname,$aix_use_runtimelinking in
 
12427
      aix,*) ;; # traditional, no import file
 
12428
      svr4,* | *,yes) # use import file
 
12429
        # The Import File defines what to hardcode.
 
12430
        hardcode_direct=no
 
12431
        hardcode_direct_absolute=no
 
12432
        ;;
 
12433
      esac
12090
12434
 
12091
12435
      if test yes = "$GCC"; then
12092
12436
        case $host_os in aix4.[012]|aix4.[012].*)
12114
12458
        if test yes = "$aix_use_runtimelinking"; then
12115
12459
          shared_flag="$shared_flag "'$wl-G'
12116
12460
        fi
 
12461
        # Need to ensure runtime linking is disabled for the traditional
 
12462
        # shared library, or the linker may eventually find shared libraries
 
12463
        # /with/ Import File - we do not want to mix them.
 
12464
        shared_flag_aix='-shared'
 
12465
        shared_flag_svr4='-shared $wl-G'
12117
12466
      else
12118
12467
        # not using gcc
12119
12468
        if test ia64 = "$host_cpu"; then
12126
12475
          else
12127
12476
            shared_flag='$wl-bM:SRE'
12128
12477
          fi
 
12478
          shared_flag_aix='$wl-bM:SRE'
 
12479
          shared_flag_svr4='$wl-G'
12129
12480
        fi
12130
12481
      fi
12131
12482
 
12133
12484
      # It seems that -bexpall does not export symbols beginning with
12134
12485
      # underscore (_), so it is better to generate a list of symbols to export.
12135
12486
      always_export_symbols=yes
12136
 
      if test yes = "$aix_use_runtimelinking"; then
 
12487
      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12137
12488
        # Warning - without using the other runtime loading flags (-brtl),
12138
12489
        # -berok will link without error, but may produce a broken library.
12139
12490
        allow_undefined_flag='-berok'
12248
12599
            whole_archive_flag_spec='$convenience'
12249
12600
          fi
12250
12601
          archive_cmds_need_lc=yes
12251
 
          # This is similar to how AIX traditionally builds its shared libraries.
12252
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
12602
          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
 
12603
          # -brtl affects multiple linker settings, -berok does not and is overridden later
 
12604
          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
 
12605
          if test svr4 != "$with_aix_soname"; then
 
12606
            # This is similar to how AIX traditionally builds its shared libraries.
 
12607
            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
 
12608
          fi
 
12609
          if test aix != "$with_aix_soname"; then
 
12610
            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
 
12611
          else
 
12612
            # used by -dlpreopen to get the symbols
 
12613
            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
 
12614
          fi
 
12615
          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12253
12616
        fi
12254
12617
      fi
12255
12618
      ;;
12568
12931
      link_all_deplibs=yes
12569
12932
      ;;
12570
12933
 
 
12934
    linux*)
 
12935
      case $cc_basename in
 
12936
      tcc*)
 
12937
        # Fabrice Bellard et al's Tiny C Compiler
 
12938
        ld_shlibs=yes
 
12939
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
12940
        ;;
 
12941
      esac
 
12942
      ;;
 
12943
 
12571
12944
    netbsd*)
12572
12945
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12573
12946
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12613
12986
      hardcode_libdir_flag_spec='-L$libdir'
12614
12987
      hardcode_minus_L=yes
12615
12988
      allow_undefined_flag=unsupported
12616
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12617
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12989
      shrext_cmds=.dll
 
12990
      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
12991
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
12992
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
12993
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
12994
        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 
12995
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
12996
        emximp -o $lib $output_objdir/$libname.def'
 
12997
      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
12998
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
12999
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
13000
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
13001
        prefix_cmds="$SED"~
 
13002
        if test EXPORTS = "`$SED 1q $export_symbols`"; then
 
13003
          prefix_cmds="$prefix_cmds -e 1d";
 
13004
        fi~
 
13005
        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 
13006
        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 
13007
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
13008
        emximp -o $lib $output_objdir/$libname.def'
 
13009
      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 
13010
      enable_shared_with_static_runtimes=yes
12618
13011
      ;;
12619
13012
 
12620
13013
    osf3*)
13137
13530
# flags to be left without arguments
13138
13531
need_version=unknown
13139
13532
 
 
13533
 
 
13534
 
13140
13535
case $host_os in
13141
13536
aix3*)
13142
13537
  version_type=linux # correct to gnu/linux during the next big refactor
13173
13568
      fi
13174
13569
      ;;
13175
13570
    esac
 
13571
    # Using Import Files as archive members, it is possible to support
 
13572
    # filename-based versioning of shared library archives on AIX. While
 
13573
    # this would work for both with and without runtime linking, it will
 
13574
    # prevent static linking of such archives. So we do filename-based
 
13575
    # shared library versioning with .so extension only, which is used
 
13576
    # when both runtime linking and shared linking is enabled.
 
13577
    # Unfortunately, runtime linking may impact performance, so we do
 
13578
    # not want this to be the default eventually. Also, we use the
 
13579
    # versioned .so libs for executables only if there is the -brtl
 
13580
    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
 
13581
    # To allow for filename-based versioning support, we need to create
 
13582
    # libNAME.so.V as an archive file, containing:
 
13583
    # *) an Import File, referring to the versioned filename of the
 
13584
    #    archive as well as the shared archive member, telling the
 
13585
    #    bitwidth (32 or 64) of that shared object, and providing the
 
13586
    #    list of exported symbols of that shared object, eventually
 
13587
    #    decorated with the 'weak' keyword
 
13588
    # *) the shared object with the F_LOADONLY flag set, to really avoid
 
13589
    #    it being seen by the linker.
 
13590
    # At run time we better use the real file rather than another symlink,
 
13591
    # but for link time we create the symlink libNAME.so -> libNAME.so.V
 
13592
 
 
13593
    case $with_aix_soname,$aix_use_runtimelinking in
13176
13594
    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13177
13595
    # soname into executable. Probably we can add versioning support to
13178
13596
    # collect2, so additional links can be useful in future.
13179
 
    if test yes = "$aix_use_runtimelinking"; then
 
13597
    aix,yes) # traditional libtool
 
13598
      dynamic_linker='AIX unversionable lib.so'
13180
13599
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13181
13600
      # instead of lib<name>.a to let people know that these are not
13182
13601
      # typical AIX shared libraries.
13183
13602
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13184
 
    else
 
13603
      ;;
 
13604
    aix,no) # traditional AIX only
 
13605
      dynamic_linker='AIX lib.a(lib.so.V)'
13185
13606
      # We preserve .a as extension for shared libraries through AIX4.2
13186
13607
      # and later when we are not doing run time linking.
13187
13608
      library_names_spec='$libname$release.a $libname.a'
13188
13609
      soname_spec='$libname$release$shared_ext$major'
13189
 
    fi
 
13610
      ;;
 
13611
    svr4,*) # full svr4 only
 
13612
      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
 
13613
      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 
13614
      # We do not specify a path in Import Files, so LIBPATH fires.
 
13615
      shlibpath_overrides_runpath=yes
 
13616
      ;;
 
13617
    *,yes) # both, prefer svr4
 
13618
      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
 
13619
      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 
13620
      # unpreferred sharedlib libNAME.a needs extra handling
 
13621
      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
 
13622
      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
 
13623
      # We do not specify a path in Import Files, so LIBPATH fires.
 
13624
      shlibpath_overrides_runpath=yes
 
13625
      ;;
 
13626
    *,no) # both, prefer aix
 
13627
      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
 
13628
      library_names_spec='$libname$release.a $libname.a'
 
13629
      soname_spec='$libname$release$shared_ext$major'
 
13630
      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
 
13631
      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
 
13632
      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
 
13633
      ;;
 
13634
    esac
13190
13635
    shlibpath_var=LIBPATH
13191
13636
  fi
13192
13637
  ;;
13374
13819
  version_type=freebsd-$objformat
13375
13820
  case $version_type in
13376
13821
    freebsd-elf*)
13377
 
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
 
13822
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
13823
      soname_spec='$libname$release$shared_ext$major'
13378
13824
      need_version=no
13379
13825
      need_lib_prefix=no
13380
13826
      ;;
13434
13880
    soname_spec='$libname$release$shared_ext$major'
13435
13881
    if test 32 = "$HPUX_IA64_MODE"; then
13436
13882
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
13883
      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13437
13884
    else
13438
13885
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
13886
      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13439
13887
    fi
13440
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13441
13888
    ;;
13442
13889
  hppa*64*)
13443
13890
    shrext_cmds='.sl'
13589
14036
  # before this can be enabled.
13590
14037
  hardcode_into_libs=yes
13591
14038
 
13592
 
  # Append ld.so.conf contents to the search path
 
14039
  # Ideally, we could use ldconfig to report *all* directores which are
 
14040
  # searched for libraries, however this is still not possible.  Aside from not
 
14041
  # being certain /sbin/ldconfig is available, command
 
14042
  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
 
14043
  # even though it is searched at run-time.  Try to do the best guess by
 
14044
  # appending ld.so.conf contents (and includes) to the search path.
13593
14045
  if test -f /etc/ld.so.conf; then
13594
14046
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
13595
14047
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13658
14110
 
13659
14111
os2*)
13660
14112
  libname_spec='$name'
 
14113
  version_type=windows
13661
14114
  shrext_cmds=.dll
 
14115
  need_version=no
13662
14116
  need_lib_prefix=no
13663
 
  library_names_spec='$libname$shared_ext $libname.a'
 
14117
  # OS/2 can only load a DLL with a base name of 8 characters or less.
 
14118
  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
 
14119
    v=$($ECHO $release$versuffix | tr -d .-);
 
14120
    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
 
14121
    $ECHO $n$v`$shared_ext'
 
14122
  library_names_spec='${libname}_dll.$libext'
13664
14123
  dynamic_linker='OS/2 ld.exe'
13665
 
  shlibpath_var=LIBPATH
 
14124
  shlibpath_var=BEGINLIBPATH
 
14125
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
14126
  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14127
  postinstall_cmds='base_file=`basename \$file`~
 
14128
    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
 
14129
    dldir=$destdir/`dirname \$dlpath`~
 
14130
    test -d \$dldir || mkdir -p \$dldir~
 
14131
    $install_prog $dir/$dlname \$dldir/$dlname~
 
14132
    chmod a+x \$dldir/$dlname~
 
14133
    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14134
      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14135
    fi'
 
14136
  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
 
14137
    dlpath=$dir/\$dldll~
 
14138
    $RM \$dlpath'
13666
14139
  ;;
13667
14140
 
13668
14141
osf3* | osf4* | osf5*)
13738
14211
  ;;
13739
14212
 
13740
14213
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13741
 
  version_type=freebsd-elf
 
14214
  version_type=sco
13742
14215
  need_lib_prefix=no
13743
14216
  need_version=no
13744
14217
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13793
14266
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13794
14267
  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13795
14268
fi
 
14269
 
13796
14270
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13797
14271
  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13798
14272
fi
13799
14273
 
 
14274
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
 
14275
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
 
14276
 
 
14277
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
 
14278
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
 
14279
 
 
14280
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
 
14281
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
 
14282
 
 
14283
 
 
14284
 
 
14285
 
 
14286
 
 
14287
 
13800
14288
 
13801
14289
 
13802
14290
 
14267
14755
#  endif
14268
14756
#endif
14269
14757
 
14270
 
/* When -fvisbility=hidden is used, assume the code has been annotated
 
14758
/* When -fvisibility=hidden is used, assume the code has been annotated
14271
14759
   correspondingly for the symbols needed.  */
14272
14760
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14273
14761
int fnord () __attribute__((visibility("default")));
14373
14861
#  endif
14374
14862
#endif
14375
14863
 
14376
 
/* When -fvisbility=hidden is used, assume the code has been annotated
 
14864
/* When -fvisibility=hidden is used, assume the code has been annotated
14377
14865
   correspondingly for the symbols needed.  */
14378
14866
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14379
14867
int fnord () __attribute__((visibility("default")));
14522
15010
    ;;
14523
15011
 
14524
15012
  aix[4-9]*)
14525
 
    if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
14526
 
      test yes = "$enable_shared" && enable_static=no
 
15013
    if test ia64 != "$host_cpu"; then
 
15014
      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
 
15015
      yes,aix,yes) ;;                   # shared object as lib.so file only
 
15016
      yes,svr4,*) ;;                    # shared object as lib.so archive member only
 
15017
      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
 
15018
      esac
14527
15019
    fi
14528
15020
    ;;
14529
15021
  esac
14791
15283
  CFLAGS=$CXXFLAGS
14792
15284
  compiler=$CC
14793
15285
  compiler_CXX=$CC
14794
 
  for cc_temp in $compiler""; do
14795
 
  case $cc_temp in
14796
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14797
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14798
 
    \-*) ;;
14799
 
    *) break;;
14800
 
  esac
14801
 
done
14802
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
15286
  func_cc_basename $compiler
 
15287
cc_basename=$func_cc_basename_result
14803
15288
 
14804
15289
 
14805
15290
  if test -n "$compiler"; then
14990
15475
 
14991
15476
          # Test if we are trying to use run time linking or normal
14992
15477
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14993
 
          # need to do runtime linking.
 
15478
          # have runtime linking enabled, and use it for executables.
 
15479
          # For shared libraries, we enable/disable runtime linking
 
15480
          # depending on the kind of the shared library created -
 
15481
          # when "with_aix_soname,aix_use_runtimelinking" is:
 
15482
          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
 
15483
          # "aix,yes"  lib.so          shared, rtl:yes, for executables
 
15484
          #            lib.a           static archive
 
15485
          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
 
15486
          #            lib.a(lib.so.V) shared, rtl:no,  for executables
 
15487
          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
 
15488
          #            lib.a(lib.so.V) shared, rtl:no
 
15489
          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
 
15490
          #            lib.a           static archive
14994
15491
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14995
15492
            for ld_flag in $LDFLAGS; do
14996
15493
              case $ld_flag in
15000
15497
                ;;
15001
15498
              esac
15002
15499
            done
 
15500
            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
 
15501
              # With aix-soname=svr4, we create the lib.so.V shared archives only,
 
15502
              # so we don't have lib.a shared libs to link our executables.
 
15503
              # We have to force runtime linking in this case.
 
15504
              aix_use_runtimelinking=yes
 
15505
              LDFLAGS="$LDFLAGS -Wl,-brtl"
 
15506
            fi
15003
15507
            ;;
15004
15508
          esac
15005
15509
 
15019
15523
        hardcode_libdir_separator_CXX=':'
15020
15524
        link_all_deplibs_CXX=yes
15021
15525
        file_list_spec_CXX='$wl-f,'
 
15526
        case $with_aix_soname,$aix_use_runtimelinking in
 
15527
        aix,*) ;;       # no import file
 
15528
        svr4,* | *,yes) # use import file
 
15529
          # The Import File defines what to hardcode.
 
15530
          hardcode_direct_CXX=no
 
15531
          hardcode_direct_absolute_CXX=no
 
15532
          ;;
 
15533
        esac
15022
15534
 
15023
15535
        if test yes = "$GXX"; then
15024
15536
          case $host_os in aix4.[012]|aix4.[012].*)
15045
15557
          if test yes = "$aix_use_runtimelinking"; then
15046
15558
            shared_flag=$shared_flag' $wl-G'
15047
15559
          fi
 
15560
          # Need to ensure runtime linking is disabled for the traditional
 
15561
          # shared library, or the linker may eventually find shared libraries
 
15562
          # /with/ Import File - we do not want to mix them.
 
15563
          shared_flag_aix='-shared'
 
15564
          shared_flag_svr4='-shared $wl-G'
15048
15565
        else
15049
15566
          # not using gcc
15050
15567
          if test ia64 = "$host_cpu"; then
15057
15574
            else
15058
15575
              shared_flag='$wl-bM:SRE'
15059
15576
            fi
 
15577
            shared_flag_aix='$wl-bM:SRE'
 
15578
            shared_flag_svr4='$wl-G'
15060
15579
          fi
15061
15580
        fi
15062
15581
 
15065
15584
        # underscore (_), so it is better to generate a list of symbols to
15066
15585
        # export.
15067
15586
        always_export_symbols_CXX=yes
15068
 
        if test yes = "$aix_use_runtimelinking"; then
 
15587
        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15069
15588
          # Warning - without using the other runtime loading flags (-brtl),
15070
15589
          # -berok will link without error, but may produce a broken library.
15071
 
          allow_undefined_flag_CXX='-berok'
 
15590
          # The "-G" linker flag allows undefined symbols.
 
15591
          no_undefined_flag_CXX='-bernotok'
15072
15592
          # Determine the default libpath from the value encoded in an empty
15073
15593
          # executable.
15074
15594
          if test set = "${lt_cv_aix_libpath+set}"; then
15181
15701
              whole_archive_flag_spec_CXX='$convenience'
15182
15702
            fi
15183
15703
            archive_cmds_need_lc_CXX=yes
15184
 
            # This is similar to how AIX traditionally builds its shared
15185
 
            # libraries.
15186
 
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
15704
            archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
 
15705
            # -brtl affects multiple linker settings, -berok does not and is overridden later
 
15706
            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
 
15707
            if test svr4 != "$with_aix_soname"; then
 
15708
              # This is similar to how AIX traditionally builds its shared
 
15709
              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
 
15710
              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
 
15711
            fi
 
15712
            if test aix != "$with_aix_soname"; then
 
15713
              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
 
15714
            else
 
15715
              # used by -dlpreopen to get the symbols
 
15716
              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
 
15717
            fi
 
15718
            archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15187
15719
          fi
15188
15720
        fi
15189
15721
        ;;
15315
15847
 
15316
15848
        ;;
15317
15849
 
 
15850
      os2*)
 
15851
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
15852
        hardcode_minus_L_CXX=yes
 
15853
        allow_undefined_flag_CXX=unsupported
 
15854
        shrext_cmds=.dll
 
15855
        archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
15856
          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
15857
          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
15858
          $ECHO EXPORTS >> $output_objdir/$libname.def~
 
15859
          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 
15860
          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
15861
          emximp -o $lib $output_objdir/$libname.def'
 
15862
        archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
15863
          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
15864
          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
15865
          $ECHO EXPORTS >> $output_objdir/$libname.def~
 
15866
          prefix_cmds="$SED"~
 
15867
          if test EXPORTS = "`$SED 1q $export_symbols`"; then
 
15868
            prefix_cmds="$prefix_cmds -e 1d";
 
15869
          fi~
 
15870
          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 
15871
          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 
15872
          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
15873
          emximp -o $lib $output_objdir/$libname.def'
 
15874
        old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 
15875
        enable_shared_with_static_runtimes_CXX=yes
 
15876
        ;;
 
15877
 
15318
15878
      dgux*)
15319
15879
        case $cc_basename in
15320
15880
          ec++*)
16111
16671
  postdep_objects_CXX=
16112
16672
  postdeps_CXX=
16113
16673
  ;;
16114
 
 
16115
 
linux*)
16116
 
  case `$CC -V 2>&1 | sed 5q` in
16117
 
  *Sun\ C*)
16118
 
    # Sun C++ 5.9
16119
 
 
16120
 
    # The more standards-conforming stlport4 library is
16121
 
    # incompatible with the Cstd library. Avoid specifying
16122
 
    # it if it's in CXXFLAGS. Ignore libCrun as
16123
 
    # -library=stlport4 depends on it.
16124
 
    case " $CXX $CXXFLAGS " in
16125
 
    *" -library=stlport4 "*)
16126
 
      solaris_use_stlport4=yes
16127
 
      ;;
16128
 
    esac
16129
 
 
16130
 
    if test yes != "$solaris_use_stlport4"; then
16131
 
      postdeps_CXX='-library=Cstd -library=Crun'
16132
 
    fi
16133
 
    ;;
16134
 
  esac
16135
 
  ;;
16136
 
 
16137
 
solaris*)
16138
 
  case $cc_basename in
16139
 
  CC* | sunCC*)
16140
 
    # The more standards-conforming stlport4 library is
16141
 
    # incompatible with the Cstd library. Avoid specifying
16142
 
    # it if it's in CXXFLAGS. Ignore libCrun as
16143
 
    # -library=stlport4 depends on it.
16144
 
    case " $CXX $CXXFLAGS " in
16145
 
    *" -library=stlport4 "*)
16146
 
      solaris_use_stlport4=yes
16147
 
      ;;
16148
 
    esac
16149
 
 
16150
 
    # Adding this requires a known-good setup of shared libraries for
16151
 
    # Sun compiler versions before 5.6, else PIC objects from an old
16152
 
    # archive will be linked into the output, leading to subtle bugs.
16153
 
    if test yes != "$solaris_use_stlport4"; then
16154
 
      postdeps_CXX='-library=Cstd -library=Crun'
16155
 
    fi
16156
 
    ;;
16157
 
  esac
16158
 
  ;;
16159
16674
esac
16160
16675
 
16161
16676
 
16241
16756
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16242
16757
      # (--disable-auto-import) libraries
16243
16758
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
16759
      case $host_os in
 
16760
      os2*)
 
16761
        lt_prog_compiler_static_CXX='$wl-static'
 
16762
        ;;
 
16763
      esac
16244
16764
      ;;
16245
16765
    darwin* | rhapsody*)
16246
16766
      # PIC is the default on this platform
16778
17298
  case $host_os in
16779
17299
  aix[4-9]*)
16780
17300
    # If we're using GNU nm, then we don't want the "-C" option.
16781
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
16782
 
    # Also, AIX nm treats weak defined symbols like other global defined
16783
 
    # symbols, whereas GNU nm marks them as "W".
 
17301
    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
 
17302
    # Without the "-l" option, or with the "-B" option, AIX nm treats
 
17303
    # weak defined symbols like other global defined symbols, whereas
 
17304
    # GNU nm marks them as "W".
 
17305
    # While the 'weak' keyword is ignored in the Export File, we need
 
17306
    # it in the Import File for the 'aix-soname' feature, so we have
 
17307
    # to replace the "-B" option with "-P" for AIX nm.
16784
17308
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16785
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
17309
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16786
17310
    else
16787
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
17311
      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16788
17312
    fi
16789
17313
    ;;
16790
17314
  pw32*)
16970
17494
# flags to be left without arguments
16971
17495
need_version=unknown
16972
17496
 
 
17497
 
 
17498
 
16973
17499
case $host_os in
16974
17500
aix3*)
16975
17501
  version_type=linux # correct to gnu/linux during the next big refactor
17006
17532
      fi
17007
17533
      ;;
17008
17534
    esac
 
17535
    # Using Import Files as archive members, it is possible to support
 
17536
    # filename-based versioning of shared library archives on AIX. While
 
17537
    # this would work for both with and without runtime linking, it will
 
17538
    # prevent static linking of such archives. So we do filename-based
 
17539
    # shared library versioning with .so extension only, which is used
 
17540
    # when both runtime linking and shared linking is enabled.
 
17541
    # Unfortunately, runtime linking may impact performance, so we do
 
17542
    # not want this to be the default eventually. Also, we use the
 
17543
    # versioned .so libs for executables only if there is the -brtl
 
17544
    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
 
17545
    # To allow for filename-based versioning support, we need to create
 
17546
    # libNAME.so.V as an archive file, containing:
 
17547
    # *) an Import File, referring to the versioned filename of the
 
17548
    #    archive as well as the shared archive member, telling the
 
17549
    #    bitwidth (32 or 64) of that shared object, and providing the
 
17550
    #    list of exported symbols of that shared object, eventually
 
17551
    #    decorated with the 'weak' keyword
 
17552
    # *) the shared object with the F_LOADONLY flag set, to really avoid
 
17553
    #    it being seen by the linker.
 
17554
    # At run time we better use the real file rather than another symlink,
 
17555
    # but for link time we create the symlink libNAME.so -> libNAME.so.V
 
17556
 
 
17557
    case $with_aix_soname,$aix_use_runtimelinking in
17009
17558
    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17010
17559
    # soname into executable. Probably we can add versioning support to
17011
17560
    # collect2, so additional links can be useful in future.
17012
 
    if test yes = "$aix_use_runtimelinking"; then
 
17561
    aix,yes) # traditional libtool
 
17562
      dynamic_linker='AIX unversionable lib.so'
17013
17563
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17014
17564
      # instead of lib<name>.a to let people know that these are not
17015
17565
      # typical AIX shared libraries.
17016
17566
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17017
 
    else
 
17567
      ;;
 
17568
    aix,no) # traditional AIX only
 
17569
      dynamic_linker='AIX lib.a(lib.so.V)'
17018
17570
      # We preserve .a as extension for shared libraries through AIX4.2
17019
17571
      # and later when we are not doing run time linking.
17020
17572
      library_names_spec='$libname$release.a $libname.a'
17021
17573
      soname_spec='$libname$release$shared_ext$major'
17022
 
    fi
 
17574
      ;;
 
17575
    svr4,*) # full svr4 only
 
17576
      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
 
17577
      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 
17578
      # We do not specify a path in Import Files, so LIBPATH fires.
 
17579
      shlibpath_overrides_runpath=yes
 
17580
      ;;
 
17581
    *,yes) # both, prefer svr4
 
17582
      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
 
17583
      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 
17584
      # unpreferred sharedlib libNAME.a needs extra handling
 
17585
      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
 
17586
      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
 
17587
      # We do not specify a path in Import Files, so LIBPATH fires.
 
17588
      shlibpath_overrides_runpath=yes
 
17589
      ;;
 
17590
    *,no) # both, prefer aix
 
17591
      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
 
17592
      library_names_spec='$libname$release.a $libname.a'
 
17593
      soname_spec='$libname$release$shared_ext$major'
 
17594
      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
 
17595
      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
 
17596
      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
 
17597
      ;;
 
17598
    esac
17023
17599
    shlibpath_var=LIBPATH
17024
17600
  fi
17025
17601
  ;;
17205
17781
  version_type=freebsd-$objformat
17206
17782
  case $version_type in
17207
17783
    freebsd-elf*)
17208
 
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
 
17784
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
17785
      soname_spec='$libname$release$shared_ext$major'
17209
17786
      need_version=no
17210
17787
      need_lib_prefix=no
17211
17788
      ;;
17265
17842
    soname_spec='$libname$release$shared_ext$major'
17266
17843
    if test 32 = "$HPUX_IA64_MODE"; then
17267
17844
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
17845
      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17268
17846
    else
17269
17847
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
17848
      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17270
17849
    fi
17271
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17272
17850
    ;;
17273
17851
  hppa*64*)
17274
17852
    shrext_cmds='.sl'
17420
17998
  # before this can be enabled.
17421
17999
  hardcode_into_libs=yes
17422
18000
 
17423
 
  # Append ld.so.conf contents to the search path
 
18001
  # Ideally, we could use ldconfig to report *all* directores which are
 
18002
  # searched for libraries, however this is still not possible.  Aside from not
 
18003
  # being certain /sbin/ldconfig is available, command
 
18004
  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
 
18005
  # even though it is searched at run-time.  Try to do the best guess by
 
18006
  # appending ld.so.conf contents (and includes) to the search path.
17424
18007
  if test -f /etc/ld.so.conf; then
17425
18008
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
17426
18009
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17489
18072
 
17490
18073
os2*)
17491
18074
  libname_spec='$name'
 
18075
  version_type=windows
17492
18076
  shrext_cmds=.dll
 
18077
  need_version=no
17493
18078
  need_lib_prefix=no
17494
 
  library_names_spec='$libname$shared_ext $libname.a'
 
18079
  # OS/2 can only load a DLL with a base name of 8 characters or less.
 
18080
  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
 
18081
    v=$($ECHO $release$versuffix | tr -d .-);
 
18082
    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
 
18083
    $ECHO $n$v`$shared_ext'
 
18084
  library_names_spec='${libname}_dll.$libext'
17495
18085
  dynamic_linker='OS/2 ld.exe'
17496
 
  shlibpath_var=LIBPATH
 
18086
  shlibpath_var=BEGINLIBPATH
 
18087
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
18088
  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
18089
  postinstall_cmds='base_file=`basename \$file`~
 
18090
    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
 
18091
    dldir=$destdir/`dirname \$dlpath`~
 
18092
    test -d \$dldir || mkdir -p \$dldir~
 
18093
    $install_prog $dir/$dlname \$dldir/$dlname~
 
18094
    chmod a+x \$dldir/$dlname~
 
18095
    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
18096
      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
18097
    fi'
 
18098
  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
 
18099
    dlpath=$dir/\$dldll~
 
18100
    $RM \$dlpath'
17497
18101
  ;;
17498
18102
 
17499
18103
osf3* | osf4* | osf5*)
17569
18173
  ;;
17570
18174
 
17571
18175
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17572
 
  version_type=freebsd-elf
 
18176
  version_type=sco
17573
18177
  need_lib_prefix=no
17574
18178
  need_version=no
17575
18179
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17624
18228
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17625
18229
  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17626
18230
fi
 
18231
 
17627
18232
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17628
18233
  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17629
18234
fi
17630
18235
 
 
18236
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
 
18237
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
 
18238
 
 
18239
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
 
18240
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
 
18241
 
 
18242
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
 
18243
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
 
18244
 
 
18245
 
 
18246
 
17631
18247
 
17632
18248
 
17633
18249
 
17766
18382
  SVN_LIBTOOL="$sh_libtool"
17767
18383
else
17768
18384
  sh_libtool="$abs_builddir/libtool"
17769
 
  SVN_LIBTOOL="\$(SHELL) $sh_libtool"
 
18385
  SVN_LIBTOOL="\$(SHELL) \"$sh_libtool\""
17770
18386
fi
17771
18387
 
17772
18388
 
17866
18482
esac
17867
18483
 
17868
18484
 
17869
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to avoid circular linkage at all costs" >&5
17870
 
$as_echo_n "checking whether to avoid circular linkage at all costs... " >&6; }
17871
 
case $host in
17872
 
  *-*-cygwin*)
17873
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17874
 
$as_echo "yes" >&6; }
17875
 
 
17876
 
$as_echo "#define SVN_AVOID_CIRCULAR_LINKAGE_AT_ALL_COSTS_HACK 1" >>confdefs.h
17877
 
 
17878
 
    ;;
17879
 
  *)
17880
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17881
 
$as_echo "no" >&6; }
17882
 
    ;;
17883
 
esac
17884
 
 
17885
18485
trang=yes
17886
18486
 
17887
18487
# Check whether --with-trang was given.
18888
19488
if test "$with_gnome_keyring" != "no"; then
18889
19489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18890
19490
$as_echo "yes" >&6; }
18891
 
  if test "$svn_enable_shared" = "yes"; then
18892
 
    if test "$APR_HAS_DSO" = "yes"; then
18893
 
      if test -n "$PKG_CONFIG"; then
18894
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLib and GNOME Keyring .pc files" >&5
 
19491
  case "$host" in
 
19492
  *-*-darwin*)
 
19493
    if test "$with_gnome_keyring" = "yes"; then
 
19494
      as_fn_error $? "--with-gnome-keyring is not supported on Mac OS X." "$LINENO" 5
 
19495
    else
 
19496
      with_gnome_keyring=no
 
19497
    fi
 
19498
    ;;
 
19499
  *)
 
19500
    if test "$svn_enable_shared" = "yes"; then
 
19501
      if test "$APR_HAS_DSO" = "yes"; then
 
19502
        if test -n "$PKG_CONFIG"; then
 
19503
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLib and GNOME Keyring .pc files" >&5
18895
19504
$as_echo_n "checking for GLib and GNOME Keyring .pc files... " >&6; }
18896
 
        if $PKG_CONFIG --exists glib-2.0 gnome-keyring-1; then
18897
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
19505
          if $PKG_CONFIG --exists glib-2.0 gnome-keyring-1; then
 
19506
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18898
19507
$as_echo "yes" >&6; }
18899
 
          old_CPPFLAGS="$CPPFLAGS"
18900
 
          SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags glib-2.0 gnome-keyring-1`"
18901
 
          CPPFLAGS="$CPPFLAGS $SVN_GNOME_KEYRING_INCLUDES"
18902
 
          ac_fn_c_check_header_mongrel "$LINENO" "gnome-keyring.h" "ac_cv_header_gnome_keyring_h" "$ac_includes_default"
 
19508
            old_CPPFLAGS="$CPPFLAGS"
 
19509
            SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags glib-2.0 gnome-keyring-1`"
 
19510
            CPPFLAGS="$CPPFLAGS $SVN_GNOME_KEYRING_INCLUDES"
 
19511
            ac_fn_c_check_header_mongrel "$LINENO" "gnome-keyring.h" "ac_cv_header_gnome_keyring_h" "$ac_includes_default"
18903
19512
if test "x$ac_cv_header_gnome_keyring_h" = xyes; then :
18904
19513
  found_gnome_keyring=yes
18905
19514
else
18907
19516
fi
18908
19517
 
18909
19518
 
18910
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
 
19519
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
18911
19520
$as_echo_n "checking for GNOME Keyring... " >&6; }
18912
 
          if test "$found_gnome_keyring" = "yes"; then
18913
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
19521
            if test "$found_gnome_keyring" = "yes"; then
 
19522
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18914
19523
$as_echo "yes" >&6; }
18915
19524
 
18916
19525
$as_echo "#define SVN_HAVE_GNOME_KEYRING 1" >>confdefs.h
18917
19526
 
18918
 
            CPPFLAGS="$old_CPPFLAGS"
18919
 
            SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
 
19527
              CPPFLAGS="$old_CPPFLAGS"
 
19528
              SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
 
19529
            else
 
19530
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19531
$as_echo "no" >&6; }
 
19532
              if test "$with_gnome_keyring" = "yes"; then
 
19533
                as_fn_error $? "cannot find GNOME Keyring" "$LINENO" 5
 
19534
              fi
 
19535
            fi
18920
19536
          else
18921
19537
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18922
19538
$as_echo "no" >&6; }
18923
19539
            if test "$with_gnome_keyring" = "yes"; then
18924
 
              as_fn_error $? "cannot find GNOME Keyring" "$LINENO" 5
 
19540
              as_fn_error $? "cannot find GLib and GNOME Keyring .pc files." "$LINENO" 5
 
19541
            else
 
19542
              with_gnome_keyring=no
18925
19543
            fi
18926
19544
          fi
18927
19545
        else
18928
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18929
 
$as_echo "no" >&6; }
18930
19546
          if test "$with_gnome_keyring" = "yes"; then
18931
 
            as_fn_error $? "cannot find GLib and GNOME Keyring .pc files." "$LINENO" 5
 
19547
            as_fn_error $? "cannot find pkg-config. GNOME Keyring requires this." "$LINENO" 5
18932
19548
          else
18933
19549
            with_gnome_keyring=no
18934
19550
          fi
18935
19551
        fi
18936
19552
      else
18937
19553
        if test "$with_gnome_keyring" = "yes"; then
18938
 
          as_fn_error $? "cannot find pkg-config. GNOME Keyring requires this." "$LINENO" 5
 
19554
          as_fn_error $? "APR does not have support for DSOs. GNOME Keyring requires this." "$LINENO" 5
18939
19555
        else
18940
19556
          with_gnome_keyring=no
18941
19557
        fi
18942
19558
      fi
18943
19559
    else
18944
19560
      if test "$with_gnome_keyring" = "yes"; then
18945
 
        as_fn_error $? "APR does not have support for DSOs. GNOME Keyring requires this." "$LINENO" 5
 
19561
        as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
18946
19562
      else
18947
19563
        with_gnome_keyring=no
18948
19564
      fi
18949
19565
    fi
 
19566
    ;;
 
19567
  esac
 
19568
else
 
19569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19570
$as_echo "no" >&6; }
 
19571
fi
 
19572
 
 
19573
 
 
19574
 
 
19575
# Check whether --enable-gmock was given.
 
19576
if test "${enable_gmock+set}" = set; then :
 
19577
  enableval=$enable_gmock;
 
19578
else
 
19579
  enable_gmock=yes
 
19580
fi
 
19581
 
 
19582
 
 
19583
GMOCK_SRCDIR=$abs_srcdir/gmock-fused
 
19584
 
 
19585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use Googlemock" >&5
 
19586
$as_echo_n "checking whether use Googlemock... " >&6; }
 
19587
if test "$enable_gmock" != "no"; then
 
19588
  if test -d "$GMOCK_SRCDIR"; then
 
19589
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
19590
$as_echo "yes" >&6; }
 
19591
    SVN_USE_GMOCK=true
18950
19592
  else
18951
 
    if test "$with_gnome_keyring" = "yes"; then
18952
 
      as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
18953
 
    else
18954
 
      with_gnome_keyring=no
18955
 
    fi
 
19593
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
19594
$as_echo "no" >&6; }
 
19595
    SVN_USE_GMOCK=false
18956
19596
  fi
18957
19597
else
18958
19598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18959
19599
$as_echo "no" >&6; }
 
19600
  SVN_USE_GMOCK_SOURCES=false
18960
19601
fi
18961
19602
 
18962
19603
 
18963
 
 
18964
 
 
18965
19604
# Check whether --enable-ev2-impl was given.
18966
19605
if test "${enable_ev2_impl+set}" = set; then :
18967
19606
  enableval=$enable_ev2_impl; enable_ev2_impl=$enableval
18986
19625
 
18987
19626
 
18988
19627
USE_NLS="no"
 
19628
SVN_INTL_LIBS=""
18989
19629
if test "$enable_nls" = "yes"; then
18990
19630
    # Extract the first word of "msgfmt", so it can be a program name with args.
18991
19631
set dummy msgfmt; ac_word=$2
19165
19805
if test "$ac_res" != no; then :
19166
19806
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19167
19807
 
 
19808
                      # in case libintl needs to be linked explicitly,
 
19809
                      # $ac_cv_search_bindtextdomain contains -l linker flags
 
19810
                      if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
 
19811
                      then
 
19812
                        SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
 
19813
                      fi
 
19814
 
19168
19815
else
19169
19816
 
19170
19817
                    enable_nls="no"
19231
19878
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19232
19879
 
19233
19880
                      enable_nls="yes"
 
19881
                      if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
 
19882
                      then
 
19883
                        SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
 
19884
                      fi
19234
19885
                      # This is here so that -liconv ends up in LIBS
19235
19886
                      # if it worked with -liconv.
19236
19887
                      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
19299
19950
 
19300
19951
 
19301
19952
 
 
19953
 
 
19954
 
19302
19955
GETTEXT_CODESET=\#
19303
19956
NO_GETTEXT_CODESET=\#
19304
19957
if test $USE_NLS = "yes"; then
19558
20211
  if test "$svn_lib_kwallet" != "no"; then
19559
20212
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19560
20213
$as_echo "yes" >&6; }
19561
 
    if test "$svn_enable_shared" = "yes"; then
19562
 
      if test "$APR_HAS_DSO" = "yes"; then
19563
 
        if test -n "$PKG_CONFIG"; then
19564
 
          if test "$HAVE_DBUS" = "yes"; then
19565
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore, QtDBus, QtGui" >&5
 
20214
    case "$host" in
 
20215
    *-*-darwin*)
 
20216
      as_fn_error $? "--with-kwallet is not supported on Mac OS X." "$LINENO" 5
 
20217
      ;;
 
20218
    *)
 
20219
      if test "$svn_enable_shared" = "yes"; then
 
20220
        if test "$APR_HAS_DSO" = "yes"; then
 
20221
          if test -n "$PKG_CONFIG"; then
 
20222
            if test "$HAVE_DBUS" = "yes"; then
 
20223
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore, QtDBus, QtGui" >&5
19566
20224
$as_echo_n "checking for QtCore, QtDBus, QtGui... " >&6; }
19567
 
            if $PKG_CONFIG --exists QtCore QtDBus QtGui; then
19568
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20225
              if $PKG_CONFIG --exists QtCore QtDBus QtGui; then
 
20226
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19569
20227
$as_echo "yes" >&6; }
19570
 
              if test "$svn_lib_kwallet" != "yes"; then
19571
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
 
20228
                if test "$svn_lib_kwallet" != "yes"; then
 
20229
                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
19572
20230
$as_echo_n "checking for kde4-config... " >&6; }
19573
 
                KDE4_CONFIG="$svn_lib_kwallet/bin/kde4-config"
19574
 
                if test -f "$KDE4_CONFIG" && test -x "$KDE4_CONFIG"; then
19575
 
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20231
                  KDE4_CONFIG="$svn_lib_kwallet/bin/kde4-config"
 
20232
                  if test -f "$KDE4_CONFIG" && test -x "$KDE4_CONFIG"; then
 
20233
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19576
20234
$as_echo "yes" >&6; }
 
20235
                  else
 
20236
                    KDE4_CONFIG=""
 
20237
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20238
$as_echo "no" >&6; }
 
20239
                  fi
19577
20240
                else
19578
 
                  KDE4_CONFIG=""
19579
 
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19580
 
$as_echo "no" >&6; }
19581
 
                fi
19582
 
              else
19583
 
                # Extract the first word of "kde4-config", so it can be a program name with args.
 
20241
                  # Extract the first word of "kde4-config", so it can be a program name with args.
19584
20242
set dummy kde4-config; ac_word=$2
19585
20243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19586
20244
$as_echo_n "checking for $ac_word... " >&6; }
19620
20278
fi
19621
20279
 
19622
20280
 
19623
 
              fi
19624
 
              if test -n "$KDE4_CONFIG"; then
19625
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
 
20281
                fi
 
20282
                if test -n "$KDE4_CONFIG"; then
 
20283
                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
19626
20284
$as_echo_n "checking for KWallet... " >&6; }
19627
 
                old_CXXFLAGS="$CXXFLAGS"
19628
 
                old_LDFLAGS="$LDFLAGS"
19629
 
                old_LIBS="$LIBS"
19630
 
                for d in `$PKG_CONFIG --cflags QtCore QtDBus QtGui`; do
19631
 
                  if test -n "`echo "$d" | $EGREP -- '^-D[^[:space:]]*'`"; then
19632
 
                    CPPFLAGS="$CPPFLAGS $d"
19633
 
                  fi
19634
 
                done
19635
 
                qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
19636
 
                kde_dir="`$KDE4_CONFIG --prefix`"
19637
 
                SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
19638
 
                qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
19639
 
                SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
19640
 
                CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
19641
 
                LIBS="$LIBS $SVN_KWALLET_LIBS"
19642
 
                qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
19643
 
                kde_lib_suffix="`$KDE4_CONFIG --libsuffix`"
19644
 
                LDFLAGS="$old_LDFLAGS `
 
20285
                  old_CXXFLAGS="$CXXFLAGS"
 
20286
                  old_LDFLAGS="$LDFLAGS"
 
20287
                  old_LIBS="$LIBS"
 
20288
                  for d in `$PKG_CONFIG --cflags QtCore QtDBus QtGui`; do
 
20289
                    if test -n "`echo "$d" | $EGREP -- '^-D[^[:space:]]*'`"; then
 
20290
                      CPPFLAGS="$CPPFLAGS $d"
 
20291
                    fi
 
20292
                  done
 
20293
                  qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
 
20294
                  kde_dir="`$KDE4_CONFIG --prefix`"
 
20295
                  SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
 
20296
                  qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
 
20297
                  SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
 
20298
                  CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
 
20299
                  LIBS="$LIBS $SVN_KWALLET_LIBS"
 
20300
                  qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
 
20301
                  kde_lib_suffix="`$KDE4_CONFIG --libsuffix`"
 
20302
                  LDFLAGS="$old_LDFLAGS `
19645
20303
  input_flags="$qt_lib_dirs -L$kde_dir/lib$kde_lib_suffix"
19646
20304
  output_flags=""
19647
20305
  filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19661
20319
    printf "%s" "${output_flags# }"
19662
20320
  fi
19663
20321
`"
19664
 
                ac_ext=cpp
 
20322
                  ac_ext=cpp
19665
20323
ac_cpp='$CXXCPP $CPPFLAGS'
19666
20324
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19667
20325
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19668
20326
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19669
20327
 
19670
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20328
                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671
20329
/* end confdefs.h.  */
19672
20330
 
19673
20331
#include <kwallet.h>
19681
20339
fi
19682
20340
rm -f core conftest.err conftest.$ac_objext \
19683
20341
    conftest$ac_exeext conftest.$ac_ext
19684
 
                ac_ext=c
 
20342
                  ac_ext=c
19685
20343
ac_cpp='$CPP $CPPFLAGS'
19686
20344
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19687
20345
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19688
20346
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19689
20347
 
19690
 
                if test "$svn_lib_kwallet" = "yes"; then
19691
 
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20348
                  if test "$svn_lib_kwallet" = "yes"; then
 
20349
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19692
20350
$as_echo "yes" >&6; }
19693
 
                  CXXFLAGS="$old_CXXFLAGS"
19694
 
                  LIBS="$old_LIBS"
 
20351
                    CXXFLAGS="$old_CXXFLAGS"
 
20352
                    LIBS="$old_LIBS"
 
20353
                  else
 
20354
                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20355
$as_echo "no" >&6; }
 
20356
                    as_fn_error $? "cannot find KWallet" "$LINENO" 5
 
20357
                  fi
19695
20358
                else
19696
 
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19697
 
$as_echo "no" >&6; }
19698
 
                  as_fn_error $? "cannot find KWallet" "$LINENO" 5
 
20359
                  as_fn_error $? "cannot find kde4-config" "$LINENO" 5
19699
20360
                fi
19700
20361
              else
19701
 
                as_fn_error $? "cannot find kde4-config" "$LINENO" 5
 
20362
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20363
$as_echo "no" >&6; }
 
20364
                as_fn_error $? "cannot find QtCore, QtDBus, QtGui" "$LINENO" 5
19702
20365
              fi
19703
20366
            else
19704
 
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19705
 
$as_echo "no" >&6; }
19706
 
              as_fn_error $? "cannot find QtCore, QtDBus, QtGui" "$LINENO" 5
 
20367
              as_fn_error $? "cannot find D-Bus" "$LINENO" 5
19707
20368
            fi
19708
20369
          else
19709
 
            as_fn_error $? "cannot find D-Bus" "$LINENO" 5
 
20370
            as_fn_error $? "cannot find pkg-config" "$LINENO" 5
19710
20371
          fi
19711
20372
        else
19712
 
          as_fn_error $? "cannot find pkg-config" "$LINENO" 5
 
20373
          as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
19713
20374
        fi
19714
20375
      else
19715
 
        as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
 
20376
        as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
19716
20377
      fi
19717
 
    else
19718
 
      as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
19719
 
    fi
 
20378
    ;;
 
20379
    esac
19720
20380
  else
19721
20381
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19722
20382
$as_echo "no" >&6; }
20143
20803
 
20144
20804
 
20145
20805
 
20146
 
 
20147
 
# Check whether --with-openssl was given.
20148
 
if test "${with_openssl+set}" = set; then :
20149
 
  withval=$with_openssl;
20150
 
fi
20151
 
 
20152
 
 
20153
20806
# Check whether --enable-debug was given.
20154
20807
if test "${enable_debug+set}" = set; then :
20155
20808
  enableval=$enable_debug;
20563
21216
 
20564
21217
 
20565
21218
 
20566
 
        CMAINTAINERFLAGS="$CFLAGS $CMAINTAINERFLAGS"
 
21219
  _svn_xxflags__save="$CFLAGS"
 
21220
  ac_ext=c
 
21221
ac_cpp='$CPP $CPPFLAGS'
 
21222
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
21223
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
21224
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
21225
 
 
21226
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wmissing-variable-declarations" >&5
 
21227
$as_echo_n "checking if $CC accepts -Wmissing-variable-declarations... " >&6; }
 
21228
  CFLAGS="-Wmissing-variable-declarations $CFLAGS"
 
21229
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21230
/* end confdefs.h.  */
 
21231
int main(void){return 0;}
 
21232
_ACEOF
 
21233
if ac_fn_c_try_link "$LINENO"; then :
 
21234
 
 
21235
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21236
$as_echo "yes" >&6; }
 
21237
 
 
21238
 
 
21239
else
 
21240
 
 
21241
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21242
$as_echo "no" >&6; }
 
21243
    CFLAGS="$_svn_xxflags__save"
 
21244
 
 
21245
 
 
21246
fi
 
21247
rm -f core conftest.err conftest.$ac_objext \
 
21248
    conftest$ac_exeext conftest.$ac_ext
 
21249
  ac_ext=c
 
21250
ac_cpp='$CPP $CPPFLAGS'
 
21251
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
21252
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
21253
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
21254
 
 
21255
 
 
21256
 
 
21257
        CMAINTAINERFLAGS="$CFLAGS"
20567
21258
        CFLAGS="$CFLAGS_KEEP"
20568
21259
 
20569
 
                CMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wformat=2 -Wunused -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs -Winline -Wno-long-long $CMAINTAINERFLAGS"
 
21260
                CMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wformat=2 -Wunused -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wbad-function-cast $CMAINTAINERFLAGS"
20570
21261
      fi
20571
21262
      if test "$GXX" = "yes"; then
20572
21263
        { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding G++ warning flags" >&5
20728
21419
 
20729
21420
 
20730
21421
 
20731
 
        CXXMAINTAINERFLAGS="$CXXFLAGS $CXXMAINTAINERFLAGS"
 
21422
        CXXMAINTAINERFLAGS="$CXXFLAGS"
20732
21423
        CXXFLAGS="$CXXFLAGS_KEEP"
20733
21424
 
20734
21425
                CXXMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wunused -Wunreachable-code $CXXMAINTAINERFLAGS"
22121
22812
 
22122
22813
PYTHON="`$abs_srcdir/build/find_python.sh`"
22123
22814
if test -z "$PYTHON"; then
22124
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.5 or later is required to run the testsuite" >&5
22125
 
$as_echo "$as_me: WARNING: Python 2.5 or later is required to run the testsuite" >&2;}
 
22815
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.7 or later is required to run the testsuite" >&5
 
22816
$as_echo "$as_me: WARNING: Python 2.7 or later is required to run the testsuite" >&2;}
22126
22817
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or to use the Subversion Python bindings" >&5
22127
22818
$as_echo "$as_me: WARNING: or to use the Subversion Python bindings" >&2;}
22128
22819
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
22182
22873
 
22183
22874
 
22184
22875
# The minimum version for the JVM runtime for our Java bytecode.
22185
 
JAVA_OLDEST_WORKING_VER='1.5'
 
22876
JAVA_OLDEST_WORKING_VER='1.6'
22186
22877
# SVN_CHECK_JDK sets $JAVA_CLASSPATH
22187
22878
 
22188
22879
  JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22211
22902
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22212
22903
$as_echo_n "checking for JDK... " >&6; }
22213
22904
  if test $where = check; then
22214
 
            if test -x "$JAVA_HOME/bin/java"; then
 
22905
                if test -x "$JAVA_HOME/bin/java"; then
22215
22906
      JDK="$JAVA_HOME"
 
22907
    elif test -x "/usr/libexec/java_home"; then
 
22908
      JDK=`/usr/libexec/java_home`
22216
22909
    elif test -x "/Library/Java/Home/bin/java"; then
22217
22910
      JDK="/Library/Java/Home"
22218
22911
    elif test -x "/usr/bin/java"; then
22327
23020
        # The release for "-source" could actually be greater than that
22328
23021
    # of "-target", if we want to cross-compile for lesser JVMs.
22329
23022
    if test -z "$JAVAC_FLAGS"; then
22330
 
      JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
 
23023
      JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
22331
23024
      if test "$enable_debugging" = "yes"; then
22332
 
        JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
 
23025
        JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
 
23026
        if test -z "$JAVAC_COMPAT_FLAGS"; then
 
23027
          JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
 
23028
        fi
22333
23029
      fi
22334
23030
    fi
22335
23031
 
22349
23045
 
22350
23046
 
22351
23047
 
 
23048
 
22352
23049
      ;;
22353
23050
      *)
22354
23051
 
22367
23064
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22368
23065
$as_echo_n "checking for JDK... " >&6; }
22369
23066
  if test $where = check; then
22370
 
            if test -x "$JAVA_HOME/bin/java"; then
 
23067
                if test -x "$JAVA_HOME/bin/java"; then
22371
23068
      JDK="$JAVA_HOME"
 
23069
    elif test -x "/usr/libexec/java_home"; then
 
23070
      JDK=`/usr/libexec/java_home`
22372
23071
    elif test -x "/Library/Java/Home/bin/java"; then
22373
23072
      JDK="/Library/Java/Home"
22374
23073
    elif test -x "/usr/bin/java"; then
22483
23182
        # The release for "-source" could actually be greater than that
22484
23183
    # of "-target", if we want to cross-compile for lesser JVMs.
22485
23184
    if test -z "$JAVAC_FLAGS"; then
22486
 
      JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
 
23185
      JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
22487
23186
      if test "$enable_debugging" = "yes"; then
22488
 
        JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
 
23187
        JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
 
23188
        if test -z "$JAVAC_COMPAT_FLAGS"; then
 
23189
          JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
 
23190
        fi
22489
23191
      fi
22490
23192
    fi
22491
23193
 
22505
23207
 
22506
23208
 
22507
23209
 
 
23210
 
22508
23211
      ;;
22509
23212
    esac
22510
23213
 
22526
23229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22527
23230
$as_echo_n "checking for JDK... " >&6; }
22528
23231
  if test $where = check; then
22529
 
            if test -x "$JAVA_HOME/bin/java"; then
 
23232
                if test -x "$JAVA_HOME/bin/java"; then
22530
23233
      JDK="$JAVA_HOME"
 
23234
    elif test -x "/usr/libexec/java_home"; then
 
23235
      JDK=`/usr/libexec/java_home`
22531
23236
    elif test -x "/Library/Java/Home/bin/java"; then
22532
23237
      JDK="/Library/Java/Home"
22533
23238
    elif test -x "/usr/bin/java"; then
22642
23347
        # The release for "-source" could actually be greater than that
22643
23348
    # of "-target", if we want to cross-compile for lesser JVMs.
22644
23349
    if test -z "$JAVAC_FLAGS"; then
22645
 
      JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
 
23350
      JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
22646
23351
      if test "$enable_debugging" = "yes"; then
22647
 
        JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
 
23352
        JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
 
23353
        if test -z "$JAVAC_COMPAT_FLAGS"; then
 
23354
          JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
 
23355
        fi
22648
23356
      fi
22649
23357
    fi
22650
23358
 
22665
23373
 
22666
23374
 
22667
23375
 
 
23376
 
22668
23377
fi
22669
23378
 
22670
23379
 
23053
23762
    #   packages/rpm/redhat-7.x/subversion.spec
23054
23763
    #   packages/rpm/rhel-3/subversion.spec
23055
23764
    #   packages/rpm/rhel-4/subversion.spec
23056
 
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
 
23765
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
 
23766
       test "$SWIG_VERSION" -lt "300000"; then
23057
23767
      SWIG_SUITABLE=yes
23058
23768
    else
23059
23769
      SWIG_SUITABLE=no
23060
23770
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23061
23771
$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23062
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
23063
 
$as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
 
23772
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
 
23773
$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
23064
23774
    fi
23065
23775
  fi
23066
23776
 
23541
24251
    #   packages/rpm/redhat-7.x/subversion.spec
23542
24252
    #   packages/rpm/rhel-3/subversion.spec
23543
24253
    #   packages/rpm/rhel-4/subversion.spec
23544
 
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
 
24254
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
 
24255
       test "$SWIG_VERSION" -lt "300000"; then
23545
24256
      SWIG_SUITABLE=yes
23546
24257
    else
23547
24258
      SWIG_SUITABLE=no
23548
24259
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23549
24260
$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23550
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
23551
 
$as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
 
24261
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
 
24262
$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
23552
24263
    fi
23553
24264
  fi
23554
24265
 
24029
24740
    #   packages/rpm/redhat-7.x/subversion.spec
24030
24741
    #   packages/rpm/rhel-3/subversion.spec
24031
24742
    #   packages/rpm/rhel-4/subversion.spec
24032
 
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
 
24743
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
 
24744
       test "$SWIG_VERSION" -lt "300000"; then
24033
24745
      SWIG_SUITABLE=yes
24034
24746
    else
24035
24747
      SWIG_SUITABLE=no
24036
24748
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24037
24749
$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24038
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
24039
 
$as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
 
24750
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
 
24751
$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
24040
24752
    fi
24041
24753
  fi
24042
24754
 
24520
25232
    #   packages/rpm/redhat-7.x/subversion.spec
24521
25233
    #   packages/rpm/rhel-3/subversion.spec
24522
25234
    #   packages/rpm/rhel-4/subversion.spec
24523
 
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
 
25235
    if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
 
25236
       test "$SWIG_VERSION" -lt "300000"; then
24524
25237
      SWIG_SUITABLE=yes
24525
25238
    else
24526
25239
      SWIG_SUITABLE=no
24527
25240
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24528
25241
$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24529
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
24530
 
$as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
 
25242
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
 
25243
$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
24531
25244
    fi
24532
25245
  fi
24533
25246
 
25279
25992
  svn_fs_lib_install_deps="install-fsmod-lib"
25280
25993
  svn_fs_lib_link="\$(FS_FS_LINK)"
25281
25994
 
 
25995
 
 
25996
$as_echo "#define SVN_LIBSVN_FS_LINKS_FS_X 1" >>confdefs.h
 
25997
 
 
25998
  svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_X_DEPS)"
 
25999
  svn_fs_lib_link="$svn_fs_lib_link \$(FS_X_LINK)"
 
26000
 
25282
26001
  if test "$svn_lib_berkeley_db" = "yes"; then
25283
26002
 
25284
26003
$as_echo "#define SVN_LIBSVN_FS_LINKS_FS_BASE 1" >>confdefs.h
25339
26058
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional flags to link C++ libraries" >&5
25340
26059
$as_echo_n "checking for additional flags to link C++ libraries... " >&6; }
25341
26060
  if test "x$ac_compiler_gnu" = "xyes"; then
25342
 
    LT_CXX_LIBADD="-lstdc++"
25343
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LT_CXX_LIBADD" >&5
 
26061
    case "$host" in
 
26062
      *freebsd10*)
 
26063
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
26064
$as_echo "none needed" >&6; }
 
26065
      ;;
 
26066
      *)
 
26067
        LT_CXX_LIBADD="-lstdc++"
 
26068
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LT_CXX_LIBADD" >&5
25344
26069
$as_echo "$LT_CXX_LIBADD" >&6; }
 
26070
      ;;
 
26071
    esac
25345
26072
  else
25346
26073
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25347
26074
$as_echo "none needed" >&6; }
25374
26101
 
25375
26102
# ==== Miscellaneous bits ====================================================
25376
26103
 
 
26104
for ac_header in stdbool.h inttypes.h
 
26105
do :
 
26106
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
26107
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
26108
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
26109
  cat >>confdefs.h <<_ACEOF
 
26110
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
26111
_ACEOF
 
26112
 
 
26113
fi
 
26114
 
 
26115
done
 
26116
 
 
26117
 
25377
26118
# Strip '-no-cpp-precomp' from CPPFLAGS for the clang compiler
25378
26119
### I think we get this flag from APR, so the fix probably belongs there
25379
26120
if test "$CC" = "clang"; then
25437
26178
ac_config_files="$ac_config_files Makefile"
25438
26179
 
25439
26180
 
 
26181
# Create pkg-config .pc files from .pc.in files
 
26182
for pc_in_file in "${abs_srcdir}"/subversion/libsvn_*/*.pc.in; do
 
26183
  pc_file=${pc_in_file#${abs_srcdir}/}
 
26184
  pc_file=${pc_file%.in}
 
26185
  ac_config_files="$ac_config_files ${pc_file}"
 
26186
 
 
26187
done
 
26188
 
25440
26189
 
25441
26190
  SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/backup/hot-backup.py"
25442
26191
  ac_config_files="$ac_config_files tools/backup/hot-backup.py"
25978
26727
# report actual input values of CONFIG_FILES etc. instead of their
25979
26728
# values after options handling.
25980
26729
ac_log="
25981
 
This file was extended by subversion $as_me 1.8.13, which was
 
26730
This file was extended by subversion $as_me 1.9.0, which was
25982
26731
generated by GNU Autoconf 2.69.  Invocation command line was
25983
26732
 
25984
26733
  CONFIG_FILES    = $CONFIG_FILES
26044
26793
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26045
26794
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26046
26795
ac_cs_version="\\
26047
 
subversion config.status 1.8.13
 
26796
subversion config.status 1.9.0
26048
26797
configured by $0, generated by GNU Autoconf 2.69,
26049
26798
  with options \\"\$ac_cs_config\\"
26050
26799
 
26177
26926
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26178
26927
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26179
26928
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
26929
shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
26180
26930
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26181
26931
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26182
26932
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26297
27047
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26298
27048
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26299
27049
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26300
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
27050
configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
 
27051
configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
26301
27052
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26302
27053
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26303
27054
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26500
27251
postuninstall_cmds \
26501
27252
finish_cmds \
26502
27253
sys_lib_search_path_spec \
26503
 
sys_lib_dlsearch_path_spec \
 
27254
configure_time_dlsearch_path \
 
27255
configure_time_lt_sys_library_path \
26504
27256
reload_cmds_CXX \
26505
27257
old_archive_cmds_CXX \
26506
27258
old_archive_from_new_cmds_CXX \
26555
27307
    "subversion/svn_private_config.h.tmp") CONFIG_HEADERS="$CONFIG_HEADERS subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in" ;;
26556
27308
    "svn_private_config.h.tmp") CONFIG_COMMANDS="$CONFIG_COMMANDS svn_private_config.h.tmp" ;;
26557
27309
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
27310
    "${pc_file}") CONFIG_FILES="$CONFIG_FILES ${pc_file}" ;;
26558
27311
    "tools/backup/hot-backup.py") CONFIG_FILES="$CONFIG_FILES tools/backup/hot-backup.py" ;;
26559
27312
    "tools/hook-scripts/commit-access-control.pl") CONFIG_FILES="$CONFIG_FILES tools/hook-scripts/commit-access-control.pl" ;;
26560
27313
    "subversion/bindings/swig/perl/native/Makefile.PL") CONFIG_FILES="$CONFIG_FILES subversion/bindings/swig/perl/native/Makefile.PL" ;;
27161
27914
# The names of the tagged configurations supported by this script.
27162
27915
available_tags='CXX '
27163
27916
 
 
27917
# Configured defaults for sys_lib_dlsearch_path munging.
 
27918
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
 
27919
 
27164
27920
# ### BEGIN LIBTOOL CONFIG
27165
27921
 
27166
27922
# Which release of libtool.m4 was used?
27179
27935
# Whether or not to optimize for fast installation.
27180
27936
fast_install=$enable_fast_install
27181
27937
 
 
27938
# Shared archive member basename,for filename based shared library versioning on AIX.
 
27939
shared_archive_member_spec=$shared_archive_member_spec
 
27940
 
27182
27941
# Shell to use when invoking shell scripts.
27183
27942
SHELL=$lt_SHELL
27184
27943
 
27407
28166
# Compile-time system search path for libraries.
27408
28167
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27409
28168
 
27410
 
# Run-time system search path for libraries.
27411
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
28169
# Detected run-time system search path for libraries.
 
28170
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
 
28171
 
 
28172
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
 
28173
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
27412
28174
 
27413
28175
# Whether dlopen is supported.
27414
28176
dlopen_support=$enable_dlopen
27573
28335
 
27574
28336
_LT_EOF
27575
28337
 
 
28338
    cat <<'_LT_EOF' >> "$cfgfile"
 
28339
 
 
28340
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
 
28341
 
 
28342
# func_munge_path_list VARIABLE PATH
 
28343
# -----------------------------------
 
28344
# VARIABLE is name of variable containing _space_ separated list of
 
28345
# directories to be munged by the contents of PATH, which is string
 
28346
# having a format:
 
28347
# "DIR[:DIR]:"
 
28348
#       string "DIR[ DIR]" will be prepended to VARIABLE
 
28349
# ":DIR[:DIR]"
 
28350
#       string "DIR[ DIR]" will be appended to VARIABLE
 
28351
# "DIRP[:DIRP]::[DIRA:]DIRA"
 
28352
#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 
28353
#       "DIRA[ DIRA]" will be appended to VARIABLE
 
28354
# "DIR[:DIR]"
 
28355
#       VARIABLE will be replaced by "DIR[ DIR]"
 
28356
func_munge_path_list ()
 
28357
{
 
28358
    case x$2 in
 
28359
    x)
 
28360
        ;;
 
28361
    *:)
 
28362
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
 
28363
        ;;
 
28364
    x:*)
 
28365
        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 
28366
        ;;
 
28367
    *::*)
 
28368
        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 
28369
        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 
28370
        ;;
 
28371
    *)
 
28372
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 
28373
        ;;
 
28374
    esac
 
28375
}
 
28376
 
 
28377
 
 
28378
# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
28379
func_cc_basename ()
 
28380
{
 
28381
    for cc_temp in $*""; do
 
28382
      case $cc_temp in
 
28383
        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
28384
        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
28385
        \-*) ;;
 
28386
        *) break;;
 
28387
      esac
 
28388
    done
 
28389
    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
28390
}
 
28391
 
 
28392
 
 
28393
# ### END FUNCTIONS SHARED WITH CONFIGURE
 
28394
 
 
28395
_LT_EOF
 
28396
 
27576
28397
  case $host_os in
27577
28398
  aix3*)
27578
28399
    cat <<\_LT_EOF >> "$cfgfile"