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
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.
3614
3628
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3618
3633
CMODEFLAGS="$CFLAGS"
3636
if test "$GCC" = "yes"; then
3638
_svn_xxflags__save="$CFLAGS"
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
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -w" >&5
3646
$as_echo_n "checking if $CC accepts -w... " >&6; }
3648
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649
/* end confdefs.h. */
3650
int main(void){return 0;}
3652
if ac_fn_c_try_link "$LINENO"; then :
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3655
$as_echo "yes" >&6; }
3660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661
$as_echo "no" >&6; }
3662
CFLAGS="$_svn_xxflags__save"
3666
rm -f core conftest.err conftest.$ac_objext \
3667
conftest$ac_exeext conftest.$ac_ext
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
3677
CNOWARNFLAGS="$CFLAGS"
3619
3678
CFLAGS="$CFLAGS_KEEP"
3685
if test "$GCC" = "yes"; then
3624
3687
_svn_xxflags__save="$CFLAGS"
3626
3689
ac_cpp='$CPP $CPPFLAGS'
3963
4027
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3967
4032
CXXMODEFLAGS="$CXXFLAGS"
4035
if test "$GXX" = "yes"; then
4037
_svn_xxflags__save="$CXXFLAGS"
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
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. */
4051
if ac_fn_cxx_try_link "$LINENO"; then :
4053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4054
$as_echo "yes" >&6; }
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060
$as_echo "no" >&6; }
4061
CXXFLAGS="$_svn_xxflags__save"
4065
rm -f core conftest.err conftest.$ac_objext \
4066
conftest$ac_exeext conftest.$ac_ext
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
4076
CXXNOWARNFLAGS="$CXXFLAGS"
3968
4077
CXXFLAGS="$CXXFLAGS_KEEP"
4084
if test "$GXX" = "yes"; then
3973
4086
_svn_xxflags__save="$CXXFLAGS"
3975
4088
ac_cpp='$CXXCPP $CPPFLAGS'
5267
5384
elif test "$withval" = "no" ; then
5388
serf_prefix="$withval"
5394
if test "$serf_skip" = "no" ; then
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"
5408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409
$as_echo "no" >&6; }
5413
serf_pc_arg="$serf_major"
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; }
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'`"
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;}
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441
$as_echo "no" >&6; }
5446
if test -n "$serf_prefix" && test "$serf_found" = "no" ; then
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"
5419
if test "$serf_skip" = "no" ; then
5420
if test "$serf_found" = "no" ; then
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; }
5442
SVN_SERF_INCLUDES=`$PKG_CONFIG $serf_major --cflags | $SED -e 's/-D[^ ]*//g'`
5443
SVN_SERF_LIBS=`$PKG_CONFIG $serf_major --libs`
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;}
5452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453
$as_echo "no" >&6; }
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
5814
5946
APACHE_LIBEXECDIR="`$APXS -q libexecdir`"
5949
for ac_header in unistd.h
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
5956
for ac_func in getpid
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
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`"
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
5984
broken_httpd_auth=no
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;}
5991
$as_echo "#define SVN_ALLOW_BROKEN_HTTPD_AUTH 1" >>confdefs.h
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
10714
# string "DIR[ DIR]" will be prepended to VARIABLE
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
10721
# VARIABLE will be replaced by "DIR[ DIR]"
10722
func_munge_path_list ()
10728
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10731
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10734
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10735
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10738
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10516
10743
for ac_header in dlfcn.h
10518
10745
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
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; }
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
10914
as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10917
lt_cv_with_aix_soname=$with_aix_soname
10919
if ${lt_cv_with_aix_soname+:} false; then :
10920
$as_echo_n "(cached) " >&6
10922
lt_cv_with_aix_soname=aix
10925
with_aix_soname=$lt_cv_with_aix_soname
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
10939
shared_archive_member_spec=shr
10944
with_aix_soname=aix
11846
12128
link_all_deplibs=yes
12132
hardcode_libdir_flag_spec='-L$libdir'
12133
hardcode_minus_L=yes
12134
allow_undefined_flag=unsupported
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";
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
11849
12159
interix[3-9]*)
11850
12160
hardcode_direct=no
11851
12161
hardcode_shlibpath_var=no
12048
12361
no_entry_flag=
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'
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'
12059
12376
aix_use_runtimelinking=no
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
12248
12599
whole_archive_flag_spec='$convenience'
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'
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'
12612
# used by -dlpreopen to get the symbols
12613
archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12615
archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
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'
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";
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
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
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'
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'
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
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
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"'
13190
13635
shlibpath_var=LIBPATH
13589
14036
# before this can be enabled.
13590
14037
hardcode_into_libs=yes
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"
13660
14112
libname_spec='$name'
14113
version_type=windows
13661
14114
shrext_cmds=.dll
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 \$?;
14136
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14137
dlpath=$dir/\$dldll~
13668
14141
osf3* | osf4* | osf5*)
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
15065
15584
# underscore (_), so it is better to generate a list of symbols to
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'
15183
15703
archive_cmds_need_lc_CXX=yes
15184
# This is similar to how AIX traditionally builds its shared
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'
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'
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'
15718
archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15851
hardcode_libdir_flag_spec_CXX='-L$libdir'
15852
hardcode_minus_L_CXX=yes
15853
allow_undefined_flag_CXX=unsupported
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";
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
15319
15879
case $cc_basename in
16111
16671
postdep_objects_CXX=
16112
16672
postdeps_CXX=
16116
case `$CC -V 2>&1 | sed 5q` in
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
16130
if test yes != "$solaris_use_stlport4"; then
16131
postdeps_CXX='-library=Cstd -library=Crun'
16138
case $cc_basename in
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
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'
16778
17298
case $host_os in
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'
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'
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
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'
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'
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
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
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"'
17023
17599
shlibpath_var=LIBPATH
17420
17998
# before this can be enabled.
17421
17999
hardcode_into_libs=yes
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"
17491
18074
libname_spec='$name'
18075
version_type=windows
17492
18076
shrext_cmds=.dll
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 \$?;
18098
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18099
dlpath=$dir/\$dldll~
17499
18103
osf3* | osf4* | osf5*)
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
19493
if test "$with_gnome_keyring" = "yes"; then
19494
as_fn_error $? "--with-gnome-keyring is not supported on Mac OS X." "$LINENO" 5
19496
with_gnome_keyring=no
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
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; }
18916
19525
$as_echo "#define SVN_HAVE_GNOME_KEYRING 1" >>confdefs.h
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`"
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
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
19542
with_gnome_keyring=no
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
18933
19549
with_gnome_keyring=no
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
18940
19556
with_gnome_keyring=no
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
18947
19563
with_gnome_keyring=no
19569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19570
$as_echo "no" >&6; }
19575
# Check whether --enable-gmock was given.
19576
if test "${enable_gmock+set}" = set; then :
19577
enableval=$enable_gmock;
19583
GMOCK_SRCDIR=$abs_srcdir/gmock-fused
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; }
18951
if test "$with_gnome_keyring" = "yes"; then
18952
as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
18954
with_gnome_keyring=no
19593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19594
$as_echo "no" >&6; }
19595
SVN_USE_GMOCK=false
18958
19598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18959
19599
$as_echo "no" >&6; }
19600
SVN_USE_GMOCK_SOURCES=false
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
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
20216
as_fn_error $? "--with-kwallet is not supported on Mac OS X." "$LINENO" 5
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; }
20237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20238
$as_echo "no" >&6; }
19579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19580
$as_echo "no" >&6; }
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; }
19624
if test -n "$KDE4_CONFIG"; then
19625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
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"
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"
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"
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"
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"
19682
20340
rm -f core conftest.err conftest.$ac_objext \
19683
20341
conftest$ac_exeext conftest.$ac_ext
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
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"
20351
CXXFLAGS="$old_CXXFLAGS"
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
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
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
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
19709
as_fn_error $? "cannot find D-Bus" "$LINENO" 5
20370
as_fn_error $? "cannot find pkg-config" "$LINENO" 5
19712
as_fn_error $? "cannot find pkg-config" "$LINENO" 5
20373
as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
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
19718
as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
19721
20381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19722
20382
$as_echo "no" >&6; }
20566
CMAINTAINERFLAGS="$CFLAGS $CMAINTAINERFLAGS"
21219
_svn_xxflags__save="$CFLAGS"
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
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;}
21233
if ac_fn_c_try_link "$LINENO"; then :
21235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21236
$as_echo "yes" >&6; }
21241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21242
$as_echo "no" >&6; }
21243
CFLAGS="$_svn_xxflags__save"
21247
rm -f core conftest.err conftest.$ac_objext \
21248
conftest$ac_exeext conftest.$ac_ext
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
21257
CMAINTAINERFLAGS="$CFLAGS"
20567
21258
CFLAGS="$CFLAGS_KEEP"
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"
20571
21262
if test "$GXX" = "yes"; then
20572
21263
{ $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding G++ warning flags" >&5
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
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;}
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
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;}
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
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;}
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
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;}
28338
cat <<'_LT_EOF' >> "$cfgfile"
28340
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
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
28348
# string "DIR[ DIR]" will be prepended to VARIABLE
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
28355
# VARIABLE will be replaced by "DIR[ DIR]"
28356
func_munge_path_list ()
28362
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
28365
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
28368
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
28369
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
28372
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
28378
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
28379
func_cc_basename ()
28381
for cc_temp in $*""; do
28383
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28384
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28389
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
28393
# ### END FUNCTIONS SHARED WITH CONFIGURE
27576
28397
case $host_os in
27578
28399
cat <<\_LT_EOF >> "$cfgfile"