evdispatch 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +3 -0
- data/Manifest.txt +32 -32
- data/ext/revdispatch/extconf.rb +1 -1
- data/ext/revdispatch/libdispatch-0.1/Changelog +1 -0
- data/ext/revdispatch/libdispatch-0.1/configure +1 -1
- data/ext/revdispatch/libdispatch-0.1/configure.ac +1 -1
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/Changes +24 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/Makefile.in +172 -234
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/aclocal.m4 +6449 -6665
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/autogen.sh +1 -2
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/config.guess +3 -3
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/config.h.in +6 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/config.sub +3 -3
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/configure +496 -783
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/configure.ac +1 -1
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev++.h +32 -8
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.3 +91 -23
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.c +119 -22
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.h +59 -37
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.pod +96 -20
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_poll.c +17 -14
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_vars.h +3 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_wrap.h +2 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/event.c +1 -1
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/libev.m4 +2 -2
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ltmain.sh +92 -151
- data/ext/revdispatch/libdispatch-0.1/src/ev_http.cc +11 -6
- data/ext/revdispatch/libdispatch-0.1/test/stress_test.cc +1 -1
- data/ext/revdispatch/server.rb +11 -23
- data/ext/revdispatch/stest.rb +3 -3
- data/lib/evdispatch/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +35 -35
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/LICENSE +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/Makefile.am +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/README +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_epoll.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_kqueue.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_port.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_select.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_win32.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/event.h +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/install-sh +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/missing +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/mkinstalldirs +0 -0
|
@@ -807,7 +807,6 @@ target_alias
|
|
|
807
807
|
INSTALL_PROGRAM
|
|
808
808
|
INSTALL_SCRIPT
|
|
809
809
|
INSTALL_DATA
|
|
810
|
-
am__isrc
|
|
811
810
|
CYGPATH_W
|
|
812
811
|
PACKAGE
|
|
813
812
|
VERSION
|
|
@@ -816,16 +815,13 @@ AUTOCONF
|
|
|
816
815
|
AUTOMAKE
|
|
817
816
|
AUTOHEADER
|
|
818
817
|
MAKEINFO
|
|
818
|
+
AMTAR
|
|
819
819
|
install_sh
|
|
820
820
|
STRIP
|
|
821
821
|
INSTALL_STRIP_PROGRAM
|
|
822
|
-
mkdir_p
|
|
823
822
|
AWK
|
|
824
823
|
SET_MAKE
|
|
825
824
|
am__leading_dot
|
|
826
|
-
AMTAR
|
|
827
|
-
am__tar
|
|
828
|
-
am__untar
|
|
829
825
|
MAINTAINER_MODE_TRUE
|
|
830
826
|
MAINTAINER_MODE_FALSE
|
|
831
827
|
MAINT
|
|
@@ -853,7 +849,6 @@ AMDEPBACKSLASH
|
|
|
853
849
|
CCDEPMODE
|
|
854
850
|
am__fastdepCC_TRUE
|
|
855
851
|
am__fastdepCC_FALSE
|
|
856
|
-
SED
|
|
857
852
|
GREP
|
|
858
853
|
EGREP
|
|
859
854
|
LN_S
|
|
@@ -1467,14 +1462,14 @@ if test -n "$ac_init_help"; then
|
|
|
1467
1462
|
Optional Features:
|
|
1468
1463
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
1469
1464
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
1470
|
-
--enable-maintainer-mode
|
|
1471
|
-
|
|
1465
|
+
--enable-maintainer-mode enable make rules and dependencies not useful
|
|
1466
|
+
(and sometimes confusing) to the casual installer
|
|
1472
1467
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
|
1473
1468
|
--enable-static[=PKGS] build static libraries [default=yes]
|
|
1474
1469
|
--enable-fast-install[=PKGS]
|
|
1475
1470
|
optimize for fast installation [default=yes]
|
|
1476
|
-
--disable-dependency-tracking
|
|
1477
|
-
--enable-dependency-tracking
|
|
1471
|
+
--disable-dependency-tracking Speeds up one-time builds
|
|
1472
|
+
--enable-dependency-tracking Do not reject slow dependency extractors
|
|
1478
1473
|
--disable-libtool-lock avoid locking (might break parallel builds)
|
|
1479
1474
|
|
|
1480
1475
|
Optional Packages:
|
|
@@ -1924,8 +1919,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
1924
1919
|
|
|
1925
1920
|
|
|
1926
1921
|
|
|
1927
|
-
am__api_version=
|
|
1928
|
-
|
|
1922
|
+
am__api_version="1.7"
|
|
1929
1923
|
ac_aux_dir=
|
|
1930
1924
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
|
1931
1925
|
if test -f "$ac_dir/install-sh"; then
|
|
@@ -2095,6 +2089,7 @@ _ACEOF
|
|
|
2095
2089
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
|
2096
2090
|
rm -f conftest.sed
|
|
2097
2091
|
|
|
2092
|
+
|
|
2098
2093
|
# expand $ac_aux_dir to an absolute path
|
|
2099
2094
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
2100
2095
|
|
|
@@ -2108,54 +2103,6 @@ else
|
|
|
2108
2103
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
2109
2104
|
fi
|
|
2110
2105
|
|
|
2111
|
-
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
2112
|
-
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
|
|
2113
|
-
if test -z "$MKDIR_P"; then
|
|
2114
|
-
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2115
|
-
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2116
|
-
else
|
|
2117
|
-
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2118
|
-
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
|
2119
|
-
do
|
|
2120
|
-
IFS=$as_save_IFS
|
|
2121
|
-
test -z "$as_dir" && as_dir=.
|
|
2122
|
-
for ac_prog in mkdir gmkdir; do
|
|
2123
|
-
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2124
|
-
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
|
2125
|
-
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2126
|
-
'mkdir (GNU coreutils) '* | \
|
|
2127
|
-
'mkdir (coreutils) '* | \
|
|
2128
|
-
'mkdir (fileutils) '4.1*)
|
|
2129
|
-
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
2130
|
-
break 3;;
|
|
2131
|
-
esac
|
|
2132
|
-
done
|
|
2133
|
-
done
|
|
2134
|
-
done
|
|
2135
|
-
IFS=$as_save_IFS
|
|
2136
|
-
|
|
2137
|
-
fi
|
|
2138
|
-
|
|
2139
|
-
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2140
|
-
MKDIR_P="$ac_cv_path_mkdir -p"
|
|
2141
|
-
else
|
|
2142
|
-
# As a last resort, use the slow shell script. Don't cache a
|
|
2143
|
-
# value for MKDIR_P within a source directory, because that will
|
|
2144
|
-
# break other packages using the cache if that directory is
|
|
2145
|
-
# removed, or if the value is a relative name.
|
|
2146
|
-
test -d ./--version && rmdir ./--version
|
|
2147
|
-
MKDIR_P="$ac_install_sh -d"
|
|
2148
|
-
fi
|
|
2149
|
-
fi
|
|
2150
|
-
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
2151
|
-
echo "${ECHO_T}$MKDIR_P" >&6; }
|
|
2152
|
-
|
|
2153
|
-
mkdir_p="$MKDIR_P"
|
|
2154
|
-
case $mkdir_p in
|
|
2155
|
-
[\\/$]* | ?:[\\/]*) ;;
|
|
2156
|
-
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
2157
|
-
esac
|
|
2158
|
-
|
|
2159
2106
|
for ac_prog in gawk mawk nawk awk
|
|
2160
2107
|
do
|
|
2161
2108
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
@@ -2237,16 +2184,12 @@ else
|
|
|
2237
2184
|
fi
|
|
2238
2185
|
rmdir .tst 2>/dev/null
|
|
2239
2186
|
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
# test to see if srcdir already configured
|
|
2245
|
-
if test -f $srcdir/config.status; then
|
|
2246
|
-
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|
2187
|
+
# test to see if srcdir already configured
|
|
2188
|
+
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
|
2189
|
+
test -f $srcdir/config.status; then
|
|
2190
|
+
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|
2247
2191
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
|
2248
2192
|
{ (exit 1); exit 1; }; }
|
|
2249
|
-
fi
|
|
2250
2193
|
fi
|
|
2251
2194
|
|
|
2252
2195
|
# test whether we have cygpath
|
|
@@ -2261,7 +2204,7 @@ fi
|
|
|
2261
2204
|
|
|
2262
2205
|
# Define the identity of the package.
|
|
2263
2206
|
PACKAGE=libev
|
|
2264
|
-
VERSION=3.
|
|
2207
|
+
VERSION=3.31
|
|
2265
2208
|
|
|
2266
2209
|
|
|
2267
2210
|
cat >>confdefs.h <<_ACEOF
|
|
@@ -2289,7 +2232,10 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
2289
2232
|
|
|
2290
2233
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
2291
2234
|
|
|
2292
|
-
|
|
2235
|
+
|
|
2236
|
+
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
2237
|
+
|
|
2238
|
+
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
2293
2239
|
|
|
2294
2240
|
# Installed binaries are usually stripped using `strip' when the user
|
|
2295
2241
|
# run `make install-strip'. However `strip' might not be the right
|
|
@@ -2393,17 +2339,10 @@ else
|
|
|
2393
2339
|
fi
|
|
2394
2340
|
|
|
2395
2341
|
fi
|
|
2396
|
-
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
2342
|
+
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
2397
2343
|
|
|
2398
2344
|
# We need awk for the "check" target. The system "awk" is bad on
|
|
2399
2345
|
# some platforms.
|
|
2400
|
-
# Always define AMTAR for backward compatibility.
|
|
2401
|
-
|
|
2402
|
-
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
|
2403
|
-
|
|
2404
|
-
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
2346
|
|
|
2408
2347
|
|
|
2409
2348
|
|
|
@@ -2420,7 +2359,9 @@ fi
|
|
|
2420
2359
|
|
|
2421
2360
|
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
|
2422
2361
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
|
|
2423
|
-
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
if test $USE_MAINTAINER_MODE = yes; then
|
|
2424
2365
|
MAINTAINER_MODE_TRUE=
|
|
2425
2366
|
MAINTAINER_MODE_FALSE='#'
|
|
2426
2367
|
else
|
|
@@ -2720,7 +2661,9 @@ if test "x$enable_dependency_tracking" != xno; then
|
|
|
2720
2661
|
am_depcomp="$ac_aux_dir/depcomp"
|
|
2721
2662
|
AMDEPBACKSLASH='\'
|
|
2722
2663
|
fi
|
|
2723
|
-
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
if test "x$enable_dependency_tracking" != xno; then
|
|
2724
2667
|
AMDEP_TRUE=
|
|
2725
2668
|
AMDEP_FALSE='#'
|
|
2726
2669
|
else
|
|
@@ -2729,6 +2672,7 @@ else
|
|
|
2729
2672
|
fi
|
|
2730
2673
|
|
|
2731
2674
|
|
|
2675
|
+
|
|
2732
2676
|
ac_ext=c
|
|
2733
2677
|
ac_cpp='$CPP $CPPFLAGS'
|
|
2734
2678
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
@@ -3689,9 +3633,7 @@ else
|
|
|
3689
3633
|
: > sub/conftest.c
|
|
3690
3634
|
for i in 1 2 3 4 5 6; do
|
|
3691
3635
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
3692
|
-
|
|
3693
|
-
# Solaris 8's {/usr,}/bin/sh.
|
|
3694
|
-
touch sub/conftst$i.h
|
|
3636
|
+
: > sub/conftst$i.h
|
|
3695
3637
|
done
|
|
3696
3638
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
3697
3639
|
|
|
@@ -3715,19 +3657,13 @@ else
|
|
|
3715
3657
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
3716
3658
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
3717
3659
|
>/dev/null 2>conftest.err &&
|
|
3718
|
-
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
3719
3660
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
3720
3661
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
3721
3662
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
3722
3663
|
# icc doesn't choke on unknown options, it will just issue warnings
|
|
3723
|
-
#
|
|
3724
|
-
# that says an option was ignored
|
|
3725
|
-
|
|
3726
|
-
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
3727
|
-
# The diagnosis changed in icc 8.0:
|
|
3728
|
-
# icc: Command line remark: option '-MP' not supported
|
|
3729
|
-
if (grep 'ignoring option' conftest.err ||
|
|
3730
|
-
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|
3664
|
+
# (even with -Werror). So we grep stderr for any message
|
|
3665
|
+
# that says an option was ignored.
|
|
3666
|
+
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
|
|
3731
3667
|
am_cv_CC_dependencies_compiler_type=$depmode
|
|
3732
3668
|
break
|
|
3733
3669
|
fi
|
|
@@ -3745,7 +3681,9 @@ fi
|
|
|
3745
3681
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
3746
3682
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
3747
3683
|
|
|
3748
|
-
|
|
3684
|
+
|
|
3685
|
+
|
|
3686
|
+
if
|
|
3749
3687
|
test "x$enable_dependency_tracking" != xno \
|
|
3750
3688
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
|
3751
3689
|
am__fastdepCC_TRUE=
|
|
@@ -3770,13 +3708,12 @@ do
|
|
|
3770
3708
|
test -z "$as_dir" && as_dir=.
|
|
3771
3709
|
for lt_ac_prog in sed gsed; do
|
|
3772
3710
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3773
|
-
if
|
|
3711
|
+
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
|
|
3774
3712
|
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
|
|
3775
3713
|
fi
|
|
3776
3714
|
done
|
|
3777
3715
|
done
|
|
3778
3716
|
done
|
|
3779
|
-
IFS=$as_save_IFS
|
|
3780
3717
|
lt_ac_max=0
|
|
3781
3718
|
lt_ac_count=0
|
|
3782
3719
|
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
|
|
@@ -3811,7 +3748,6 @@ done
|
|
|
3811
3748
|
fi
|
|
3812
3749
|
|
|
3813
3750
|
SED=$lt_cv_path_SED
|
|
3814
|
-
|
|
3815
3751
|
{ echo "$as_me:$LINENO: result: $SED" >&5
|
|
3816
3752
|
echo "${ECHO_T}$SED" >&6; }
|
|
3817
3753
|
|
|
@@ -4173,8 +4109,8 @@ else
|
|
|
4173
4109
|
echo "${ECHO_T}no, using $LN_S" >&6; }
|
|
4174
4110
|
fi
|
|
4175
4111
|
|
|
4176
|
-
{ echo "$as_me:$LINENO: checking how to
|
|
4177
|
-
echo $ECHO_N "checking how to
|
|
4112
|
+
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
|
|
4113
|
+
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
|
|
4178
4114
|
if test "${lt_cv_deplibs_check_method+set}" = set; then
|
|
4179
4115
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4180
4116
|
else
|
|
@@ -4215,15 +4151,9 @@ cygwin*)
|
|
|
4215
4151
|
|
|
4216
4152
|
mingw* | pw32*)
|
|
4217
4153
|
# Base MSYS/MinGW do not provide the 'file' command needed by
|
|
4218
|
-
# func_win32_libid shell function, so use a weaker test based on 'objdump'
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
|
4222
|
-
lt_cv_file_magic_cmd='func_win32_libid'
|
|
4223
|
-
else
|
|
4224
|
-
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
|
|
4225
|
-
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
|
4226
|
-
fi
|
|
4154
|
+
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
|
|
4155
|
+
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
|
|
4156
|
+
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
|
4227
4157
|
;;
|
|
4228
4158
|
|
|
4229
4159
|
darwin* | rhapsody*)
|
|
@@ -4268,7 +4198,7 @@ hpux10.20* | hpux11*)
|
|
|
4268
4198
|
esac
|
|
4269
4199
|
;;
|
|
4270
4200
|
|
|
4271
|
-
|
|
4201
|
+
interix3*)
|
|
4272
4202
|
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
|
|
4273
4203
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
|
|
4274
4204
|
;;
|
|
@@ -4288,7 +4218,7 @@ linux* | k*bsd*-gnu)
|
|
|
4288
4218
|
lt_cv_deplibs_check_method=pass_all
|
|
4289
4219
|
;;
|
|
4290
4220
|
|
|
4291
|
-
netbsd*)
|
|
4221
|
+
netbsd* | netbsdelf*-gnu)
|
|
4292
4222
|
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
|
4293
4223
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
|
4294
4224
|
else
|
|
@@ -4318,10 +4248,6 @@ osf3* | osf4* | osf5*)
|
|
|
4318
4248
|
lt_cv_deplibs_check_method=pass_all
|
|
4319
4249
|
;;
|
|
4320
4250
|
|
|
4321
|
-
rdos*)
|
|
4322
|
-
lt_cv_deplibs_check_method=pass_all
|
|
4323
|
-
;;
|
|
4324
|
-
|
|
4325
4251
|
solaris*)
|
|
4326
4252
|
lt_cv_deplibs_check_method=pass_all
|
|
4327
4253
|
;;
|
|
@@ -4409,7 +4335,7 @@ ia64-*-hpux*)
|
|
|
4409
4335
|
;;
|
|
4410
4336
|
*-*-irix6*)
|
|
4411
4337
|
# Find out which ABI we are using.
|
|
4412
|
-
echo '#line
|
|
4338
|
+
echo '#line 4338 "configure"' > conftest.$ac_ext
|
|
4413
4339
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4414
4340
|
(eval $ac_compile) 2>&5
|
|
4415
4341
|
ac_status=$?
|
|
@@ -4444,8 +4370,7 @@ ia64-*-hpux*)
|
|
|
4444
4370
|
rm -rf conftest*
|
|
4445
4371
|
;;
|
|
4446
4372
|
|
|
4447
|
-
x86_64-*
|
|
4448
|
-
s390*-*linux*|sparc*-*linux*)
|
|
4373
|
+
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
|
|
4449
4374
|
# Find out which ABI we are using.
|
|
4450
4375
|
echo 'int i;' > conftest.$ac_ext
|
|
4451
4376
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
@@ -4456,9 +4381,6 @@ s390*-*linux*|sparc*-*linux*)
|
|
|
4456
4381
|
case `/usr/bin/file conftest.o` in
|
|
4457
4382
|
*32-bit*)
|
|
4458
4383
|
case $host in
|
|
4459
|
-
x86_64-*kfreebsd*-gnu)
|
|
4460
|
-
LD="${LD-ld} -m elf_i386_fbsd"
|
|
4461
|
-
;;
|
|
4462
4384
|
x86_64-*linux*)
|
|
4463
4385
|
LD="${LD-ld} -m elf_i386"
|
|
4464
4386
|
;;
|
|
@@ -4474,11 +4396,7 @@ s390*-*linux*|sparc*-*linux*)
|
|
|
4474
4396
|
esac
|
|
4475
4397
|
;;
|
|
4476
4398
|
*64-bit*)
|
|
4477
|
-
libsuff=64
|
|
4478
4399
|
case $host in
|
|
4479
|
-
x86_64-*kfreebsd*-gnu)
|
|
4480
|
-
LD="${LD-ld} -m elf_x86_64_fbsd"
|
|
4481
|
-
;;
|
|
4482
4400
|
x86_64-*linux*)
|
|
4483
4401
|
LD="${LD-ld} -m elf_x86_64"
|
|
4484
4402
|
;;
|
|
@@ -5615,9 +5533,7 @@ else
|
|
|
5615
5533
|
: > sub/conftest.c
|
|
5616
5534
|
for i in 1 2 3 4 5 6; do
|
|
5617
5535
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
5618
|
-
|
|
5619
|
-
# Solaris 8's {/usr,}/bin/sh.
|
|
5620
|
-
touch sub/conftst$i.h
|
|
5536
|
+
: > sub/conftst$i.h
|
|
5621
5537
|
done
|
|
5622
5538
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
5623
5539
|
|
|
@@ -5641,19 +5557,13 @@ else
|
|
|
5641
5557
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
5642
5558
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
5643
5559
|
>/dev/null 2>conftest.err &&
|
|
5644
|
-
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
5645
5560
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
5646
5561
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
5647
5562
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
5648
5563
|
# icc doesn't choke on unknown options, it will just issue warnings
|
|
5649
|
-
#
|
|
5650
|
-
# that says an option was ignored
|
|
5651
|
-
|
|
5652
|
-
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
5653
|
-
# The diagnosis changed in icc 8.0:
|
|
5654
|
-
# icc: Command line remark: option '-MP' not supported
|
|
5655
|
-
if (grep 'ignoring option' conftest.err ||
|
|
5656
|
-
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|
5564
|
+
# (even with -Werror). So we grep stderr for any message
|
|
5565
|
+
# that says an option was ignored.
|
|
5566
|
+
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
|
|
5657
5567
|
am_cv_CXX_dependencies_compiler_type=$depmode
|
|
5658
5568
|
break
|
|
5659
5569
|
fi
|
|
@@ -5671,7 +5581,9 @@ fi
|
|
|
5671
5581
|
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
|
|
5672
5582
|
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
|
5673
5583
|
|
|
5674
|
-
|
|
5584
|
+
|
|
5585
|
+
|
|
5586
|
+
if
|
|
5675
5587
|
test "x$enable_dependency_tracking" != xno \
|
|
5676
5588
|
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
|
5677
5589
|
am__fastdepCXX_TRUE=
|
|
@@ -6266,27 +6178,24 @@ else
|
|
|
6266
6178
|
fi
|
|
6267
6179
|
;;
|
|
6268
6180
|
*)
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
|
6275
|
-
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
|
|
6181
|
+
# If test is not a shell built-in, we'll probably end up computing a
|
|
6182
|
+
# maximum length that is only half of the actual maximum length, but
|
|
6183
|
+
# we can't tell.
|
|
6184
|
+
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
|
6185
|
+
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
|
|
6276
6186
|
= "XX$teststring") >/dev/null 2>&1 &&
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
fi
|
|
6187
|
+
new_result=`expr "X$teststring" : ".*" 2>&1` &&
|
|
6188
|
+
lt_cv_sys_max_cmd_len=$new_result &&
|
|
6189
|
+
test $i != 17 # 1/2 MB should be enough
|
|
6190
|
+
do
|
|
6191
|
+
i=`expr $i + 1`
|
|
6192
|
+
teststring=$teststring$teststring
|
|
6193
|
+
done
|
|
6194
|
+
teststring=
|
|
6195
|
+
# Add a significant safety factor because C++ compilers can tack on massive
|
|
6196
|
+
# amounts of additional arguments before passing them to the linker.
|
|
6197
|
+
# It appears as though 1/2 is a usable value.
|
|
6198
|
+
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
|
|
6290
6199
|
;;
|
|
6291
6200
|
esac
|
|
6292
6201
|
|
|
@@ -6303,7 +6212,6 @@ fi
|
|
|
6303
6212
|
|
|
6304
6213
|
|
|
6305
6214
|
|
|
6306
|
-
|
|
6307
6215
|
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
|
6308
6216
|
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
|
|
6309
6217
|
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
|
|
@@ -6892,7 +6800,7 @@ test -z "$STRIP" && STRIP=:
|
|
|
6892
6800
|
test -z "$ac_objext" && ac_objext=o
|
|
6893
6801
|
|
|
6894
6802
|
# Determine commands to create old-style static archives.
|
|
6895
|
-
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
|
|
6803
|
+
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
|
|
6896
6804
|
old_postinstall_cmds='chmod 644 $oldlib'
|
|
6897
6805
|
old_postuninstall_cmds=
|
|
6898
6806
|
|
|
@@ -7092,10 +7000,10 @@ objext=o
|
|
|
7092
7000
|
objext=$objext
|
|
7093
7001
|
|
|
7094
7002
|
# Code to be used in simple compile tests
|
|
7095
|
-
lt_simple_compile_test_code="int some_variable = 0
|
|
7003
|
+
lt_simple_compile_test_code="int some_variable = 0;\n"
|
|
7096
7004
|
|
|
7097
7005
|
# Code to be used in simple link tests
|
|
7098
|
-
lt_simple_link_test_code='int main(){return(0);}'
|
|
7006
|
+
lt_simple_link_test_code='int main(){return(0);}\n'
|
|
7099
7007
|
|
|
7100
7008
|
|
|
7101
7009
|
# If no C compiler was specified, use CC.
|
|
@@ -7110,13 +7018,13 @@ compiler=$CC
|
|
|
7110
7018
|
|
|
7111
7019
|
# save warnings/boilerplate of simple test code
|
|
7112
7020
|
ac_outfile=conftest.$ac_objext
|
|
7113
|
-
|
|
7021
|
+
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
|
|
7114
7022
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
7115
7023
|
_lt_compiler_boilerplate=`cat conftest.err`
|
|
7116
7024
|
$rm conftest*
|
|
7117
7025
|
|
|
7118
7026
|
ac_outfile=conftest.$ac_objext
|
|
7119
|
-
|
|
7027
|
+
printf "$lt_simple_link_test_code" >conftest.$ac_ext
|
|
7120
7028
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
7121
7029
|
_lt_linker_boilerplate=`cat conftest.err`
|
|
7122
7030
|
$rm conftest*
|
|
@@ -7136,7 +7044,7 @@ if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
|
|
|
7136
7044
|
else
|
|
7137
7045
|
lt_cv_prog_compiler_rtti_exceptions=no
|
|
7138
7046
|
ac_outfile=conftest.$ac_objext
|
|
7139
|
-
|
|
7047
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
7140
7048
|
lt_compiler_flag="-fno-rtti -fno-exceptions"
|
|
7141
7049
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
7142
7050
|
# (2) before a word containing "conftest.", or (3) at the end.
|
|
@@ -7147,11 +7055,11 @@ else
|
|
|
7147
7055
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
7148
7056
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
7149
7057
|
-e 's:$: $lt_compiler_flag:'`
|
|
7150
|
-
(eval echo "\"\$as_me:
|
|
7058
|
+
(eval echo "\"\$as_me:7058: $lt_compile\"" >&5)
|
|
7151
7059
|
(eval "$lt_compile" 2>conftest.err)
|
|
7152
7060
|
ac_status=$?
|
|
7153
7061
|
cat conftest.err >&5
|
|
7154
|
-
echo "$as_me:
|
|
7062
|
+
echo "$as_me:7062: \$? = $ac_status" >&5
|
|
7155
7063
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
7156
7064
|
# The compiler can only warn and ignore the option if not recognized
|
|
7157
7065
|
# So say no if there are warnings other than the usual output.
|
|
@@ -7202,15 +7110,13 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
7202
7110
|
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
|
|
7203
7111
|
;;
|
|
7204
7112
|
|
|
7205
|
-
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
7113
|
+
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
7206
7114
|
# PIC is the default for these OSes.
|
|
7207
7115
|
;;
|
|
7208
7116
|
|
|
7209
|
-
mingw* |
|
|
7117
|
+
mingw* | pw32* | os2*)
|
|
7210
7118
|
# This hack is so that the source file can tell whether it is being
|
|
7211
7119
|
# built for inclusion in a dll (and should export symbols for example).
|
|
7212
|
-
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
7213
|
-
# (--disable-auto-import) libraries
|
|
7214
7120
|
lt_prog_compiler_pic='-DDLL_EXPORT'
|
|
7215
7121
|
;;
|
|
7216
7122
|
|
|
@@ -7220,7 +7126,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
7220
7126
|
lt_prog_compiler_pic='-fno-common'
|
|
7221
7127
|
;;
|
|
7222
7128
|
|
|
7223
|
-
|
|
7129
|
+
interix3*)
|
|
7224
7130
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
|
7225
7131
|
# Instead, we relocate shared libraries at runtime.
|
|
7226
7132
|
;;
|
|
@@ -7278,7 +7184,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
7278
7184
|
esac
|
|
7279
7185
|
;;
|
|
7280
7186
|
|
|
7281
|
-
mingw* |
|
|
7187
|
+
mingw* | pw32* | os2*)
|
|
7282
7188
|
# This hack is so that the source file can tell whether it is being
|
|
7283
7189
|
# built for inclusion in a dll (and should export symbols for example).
|
|
7284
7190
|
lt_prog_compiler_pic='-DDLL_EXPORT'
|
|
@@ -7330,22 +7236,6 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
7330
7236
|
# All Alpha code is PIC.
|
|
7331
7237
|
lt_prog_compiler_static='-non_shared'
|
|
7332
7238
|
;;
|
|
7333
|
-
*)
|
|
7334
|
-
case `$CC -V 2>&1 | sed 5q` in
|
|
7335
|
-
*Sun\ C*)
|
|
7336
|
-
# Sun C 5.9
|
|
7337
|
-
lt_prog_compiler_pic='-KPIC'
|
|
7338
|
-
lt_prog_compiler_static='-Bstatic'
|
|
7339
|
-
lt_prog_compiler_wl='-Wl,'
|
|
7340
|
-
;;
|
|
7341
|
-
*Sun\ F*)
|
|
7342
|
-
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
|
7343
|
-
lt_prog_compiler_pic='-KPIC'
|
|
7344
|
-
lt_prog_compiler_static='-Bstatic'
|
|
7345
|
-
lt_prog_compiler_wl=''
|
|
7346
|
-
;;
|
|
7347
|
-
esac
|
|
7348
|
-
;;
|
|
7349
7239
|
esac
|
|
7350
7240
|
;;
|
|
7351
7241
|
|
|
@@ -7355,10 +7245,6 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
7355
7245
|
lt_prog_compiler_static='-non_shared'
|
|
7356
7246
|
;;
|
|
7357
7247
|
|
|
7358
|
-
rdos*)
|
|
7359
|
-
lt_prog_compiler_static='-non_shared'
|
|
7360
|
-
;;
|
|
7361
|
-
|
|
7362
7248
|
solaris*)
|
|
7363
7249
|
lt_prog_compiler_pic='-KPIC'
|
|
7364
7250
|
lt_prog_compiler_static='-Bstatic'
|
|
@@ -7426,7 +7312,7 @@ if test "${lt_prog_compiler_pic_works+set}" = set; then
|
|
|
7426
7312
|
else
|
|
7427
7313
|
lt_prog_compiler_pic_works=no
|
|
7428
7314
|
ac_outfile=conftest.$ac_objext
|
|
7429
|
-
|
|
7315
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
7430
7316
|
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
|
|
7431
7317
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
7432
7318
|
# (2) before a word containing "conftest.", or (3) at the end.
|
|
@@ -7437,11 +7323,11 @@ else
|
|
|
7437
7323
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
7438
7324
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
7439
7325
|
-e 's:$: $lt_compiler_flag:'`
|
|
7440
|
-
(eval echo "\"\$as_me:
|
|
7326
|
+
(eval echo "\"\$as_me:7326: $lt_compile\"" >&5)
|
|
7441
7327
|
(eval "$lt_compile" 2>conftest.err)
|
|
7442
7328
|
ac_status=$?
|
|
7443
7329
|
cat conftest.err >&5
|
|
7444
|
-
echo "$as_me:
|
|
7330
|
+
echo "$as_me:7330: \$? = $ac_status" >&5
|
|
7445
7331
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
7446
7332
|
# The compiler can only warn and ignore the option if not recognized
|
|
7447
7333
|
# So say no if there are warnings other than the usual output.
|
|
@@ -7490,7 +7376,7 @@ else
|
|
|
7490
7376
|
lt_prog_compiler_static_works=no
|
|
7491
7377
|
save_LDFLAGS="$LDFLAGS"
|
|
7492
7378
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
7493
|
-
|
|
7379
|
+
printf "$lt_simple_link_test_code" > conftest.$ac_ext
|
|
7494
7380
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
|
7495
7381
|
# The linker can only warn and ignore the option if not recognized
|
|
7496
7382
|
# So say no if there are warnings
|
|
@@ -7530,7 +7416,7 @@ else
|
|
|
7530
7416
|
mkdir conftest
|
|
7531
7417
|
cd conftest
|
|
7532
7418
|
mkdir out
|
|
7533
|
-
|
|
7419
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
7534
7420
|
|
|
7535
7421
|
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
|
7536
7422
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
@@ -7541,11 +7427,11 @@ else
|
|
|
7541
7427
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
7542
7428
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
7543
7429
|
-e 's:$: $lt_compiler_flag:'`
|
|
7544
|
-
(eval echo "\"\$as_me:
|
|
7430
|
+
(eval echo "\"\$as_me:7430: $lt_compile\"" >&5)
|
|
7545
7431
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
7546
7432
|
ac_status=$?
|
|
7547
7433
|
cat out/conftest.err >&5
|
|
7548
|
-
echo "$as_me:
|
|
7434
|
+
echo "$as_me:7434: \$? = $ac_status" >&5
|
|
7549
7435
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
7550
7436
|
then
|
|
7551
7437
|
# The compiler can only warn and ignore the option if not recognized
|
|
@@ -7737,7 +7623,7 @@ EOF
|
|
|
7737
7623
|
allow_undefined_flag=unsupported
|
|
7738
7624
|
always_export_symbols=no
|
|
7739
7625
|
enable_shared_with_static_runtimes=yes
|
|
7740
|
-
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS]
|
|
7626
|
+
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
|
|
7741
7627
|
|
|
7742
7628
|
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
|
7743
7629
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
@@ -7755,7 +7641,7 @@ EOF
|
|
|
7755
7641
|
fi
|
|
7756
7642
|
;;
|
|
7757
7643
|
|
|
7758
|
-
|
|
7644
|
+
interix3*)
|
|
7759
7645
|
hardcode_direct=no
|
|
7760
7646
|
hardcode_shlibpath_var=no
|
|
7761
7647
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
@@ -7770,7 +7656,7 @@ EOF
|
|
|
7770
7656
|
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
7771
7657
|
;;
|
|
7772
7658
|
|
|
7773
|
-
|
|
7659
|
+
linux* | k*bsd*-gnu)
|
|
7774
7660
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
|
7775
7661
|
tmp_addflag=
|
|
7776
7662
|
case $cc_basename,$host_cpu in
|
|
@@ -7788,29 +7674,21 @@ EOF
|
|
|
7788
7674
|
ifc* | ifort*) # Intel Fortran compiler
|
|
7789
7675
|
tmp_addflag=' -nofor_main' ;;
|
|
7790
7676
|
esac
|
|
7791
|
-
|
|
7792
|
-
*Sun\ C*) # Sun C 5.9
|
|
7793
|
-
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
|
|
7794
|
-
tmp_sharedflag='-G' ;;
|
|
7795
|
-
*Sun\ F*) # Sun Fortran 8.3
|
|
7796
|
-
tmp_sharedflag='-G' ;;
|
|
7797
|
-
*)
|
|
7798
|
-
tmp_sharedflag='-shared' ;;
|
|
7799
|
-
esac
|
|
7800
|
-
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
7677
|
+
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
7801
7678
|
|
|
7802
7679
|
if test $supports_anon_versioning = yes; then
|
|
7803
7680
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
|
|
7804
7681
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
7805
7682
|
$echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
7806
|
-
$CC '"$
|
|
7683
|
+
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
|
7807
7684
|
fi
|
|
7685
|
+
link_all_deplibs=no
|
|
7808
7686
|
else
|
|
7809
7687
|
ld_shlibs=no
|
|
7810
7688
|
fi
|
|
7811
7689
|
;;
|
|
7812
7690
|
|
|
7813
|
-
netbsd*)
|
|
7691
|
+
netbsd* | netbsdelf*-gnu)
|
|
7814
7692
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
7815
7693
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
7816
7694
|
wlarc=
|
|
@@ -7962,7 +7840,7 @@ _LT_EOF
|
|
|
7962
7840
|
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
|
7963
7841
|
then
|
|
7964
7842
|
# We have reworked collect2
|
|
7965
|
-
|
|
7843
|
+
hardcode_direct=yes
|
|
7966
7844
|
else
|
|
7967
7845
|
# We have old collect2
|
|
7968
7846
|
hardcode_direct=unsupported
|
|
@@ -8036,18 +7914,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
8036
7914
|
} && test -s conftest$ac_exeext &&
|
|
8037
7915
|
$as_test_x conftest$ac_exeext; then
|
|
8038
7916
|
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
/^0/ {
|
|
8042
|
-
s/^0 *\(.*\)$/\1/
|
|
8043
|
-
p
|
|
8044
|
-
}
|
|
8045
|
-
}'
|
|
8046
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
7917
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
7918
|
+
}'`
|
|
8047
7919
|
# Check for a 64-bit object if we didn't find anything.
|
|
8048
|
-
if test -z "$aix_libpath"; then
|
|
8049
|
-
|
|
8050
|
-
fi
|
|
7920
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
7921
|
+
}'`; fi
|
|
8051
7922
|
else
|
|
8052
7923
|
echo "$as_me: failed program was:" >&5
|
|
8053
7924
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -8102,18 +7973,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
8102
7973
|
} && test -s conftest$ac_exeext &&
|
|
8103
7974
|
$as_test_x conftest$ac_exeext; then
|
|
8104
7975
|
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
/^0/ {
|
|
8108
|
-
s/^0 *\(.*\)$/\1/
|
|
8109
|
-
p
|
|
8110
|
-
}
|
|
8111
|
-
}'
|
|
8112
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
7976
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
7977
|
+
}'`
|
|
8113
7978
|
# Check for a 64-bit object if we didn't find anything.
|
|
8114
|
-
if test -z "$aix_libpath"; then
|
|
8115
|
-
|
|
8116
|
-
fi
|
|
7979
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
7980
|
+
}'`; fi
|
|
8117
7981
|
else
|
|
8118
7982
|
echo "$as_me: failed program was:" >&5
|
|
8119
7983
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -8167,7 +8031,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
8167
8031
|
# The linker will automatically build a .lib file if we build a DLL.
|
|
8168
8032
|
old_archive_From_new_cmds='true'
|
|
8169
8033
|
# FIXME: Should let the user specify the lib program.
|
|
8170
|
-
old_archive_cmds='lib
|
|
8034
|
+
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
|
|
8171
8035
|
fix_srcfile_path='`cygpath -w "$srcfile"`'
|
|
8172
8036
|
enable_shared_with_static_runtimes=yes
|
|
8173
8037
|
;;
|
|
@@ -8209,10 +8073,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
8209
8073
|
case $cc_basename in
|
|
8210
8074
|
xlc*)
|
|
8211
8075
|
output_verbose_link_cmd='echo'
|
|
8212
|
-
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $
|
|
8076
|
+
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
8213
8077
|
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
8214
8078
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
|
8215
|
-
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $
|
|
8079
|
+
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
8216
8080
|
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
8217
8081
|
;;
|
|
8218
8082
|
*)
|
|
@@ -8354,7 +8218,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
8354
8218
|
link_all_deplibs=yes
|
|
8355
8219
|
;;
|
|
8356
8220
|
|
|
8357
|
-
netbsd*)
|
|
8221
|
+
netbsd* | netbsdelf*-gnu)
|
|
8358
8222
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
8359
8223
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
8360
8224
|
else
|
|
@@ -8374,28 +8238,24 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
8374
8238
|
;;
|
|
8375
8239
|
|
|
8376
8240
|
openbsd*)
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
export_dynamic_flag_spec='${wl}-E'
|
|
8385
|
-
else
|
|
8386
|
-
case $host_os in
|
|
8387
|
-
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
|
8388
|
-
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
8389
|
-
hardcode_libdir_flag_spec='-R$libdir'
|
|
8390
|
-
;;
|
|
8391
|
-
*)
|
|
8392
|
-
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
8393
|
-
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
8394
|
-
;;
|
|
8395
|
-
esac
|
|
8396
|
-
fi
|
|
8241
|
+
hardcode_direct=yes
|
|
8242
|
+
hardcode_shlibpath_var=no
|
|
8243
|
+
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
8244
|
+
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
8245
|
+
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
8246
|
+
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
8247
|
+
export_dynamic_flag_spec='${wl}-E'
|
|
8397
8248
|
else
|
|
8398
|
-
|
|
8249
|
+
case $host_os in
|
|
8250
|
+
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
|
8251
|
+
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
8252
|
+
hardcode_libdir_flag_spec='-R$libdir'
|
|
8253
|
+
;;
|
|
8254
|
+
*)
|
|
8255
|
+
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
8256
|
+
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
8257
|
+
;;
|
|
8258
|
+
esac
|
|
8399
8259
|
fi
|
|
8400
8260
|
;;
|
|
8401
8261
|
|
|
@@ -8454,16 +8314,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
8454
8314
|
case $host_os in
|
|
8455
8315
|
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
|
8456
8316
|
*)
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8317
|
+
# The compiler driver will combine linker options so we
|
|
8318
|
+
# cannot just pass the convience library names through
|
|
8319
|
+
# without $wl, iff we do not link with $LD.
|
|
8320
|
+
# Luckily, gcc supports the same syntax we need for Sun Studio.
|
|
8460
8321
|
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8322
|
+
case $wlarc in
|
|
8323
|
+
'')
|
|
8324
|
+
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
|
|
8325
|
+
*)
|
|
8326
|
+
whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
|
|
8327
|
+
esac ;;
|
|
8467
8328
|
esac
|
|
8468
8329
|
link_all_deplibs=yes
|
|
8469
8330
|
;;
|
|
@@ -8520,7 +8381,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
8520
8381
|
fi
|
|
8521
8382
|
;;
|
|
8522
8383
|
|
|
8523
|
-
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*
|
|
8384
|
+
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
|
|
8524
8385
|
no_undefined_flag='${wl}-z,text'
|
|
8525
8386
|
archive_cmds_need_lc=no
|
|
8526
8387
|
hardcode_shlibpath_var=no
|
|
@@ -8597,7 +8458,7 @@ x|xyes)
|
|
|
8597
8458
|
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
|
8598
8459
|
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
8599
8460
|
$rm conftest*
|
|
8600
|
-
|
|
8461
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
8601
8462
|
|
|
8602
8463
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
8603
8464
|
(eval $ac_compile) 2>&5
|
|
@@ -8655,55 +8516,17 @@ shlibpath_overrides_runpath=unknown
|
|
|
8655
8516
|
version_type=none
|
|
8656
8517
|
dynamic_linker="$host_os ld.so"
|
|
8657
8518
|
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
|
8658
|
-
|
|
8659
8519
|
if test "$GCC" = yes; then
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
*) lt_awk_arg="/^libraries:/" ;;
|
|
8663
|
-
esac
|
|
8664
|
-
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
|
8665
|
-
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
|
|
8520
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
|
8521
|
+
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
|
8666
8522
|
# if the path contains ";" then we assume it to be the separator
|
|
8667
8523
|
# otherwise default to the standard path separator (i.e. ":") - it is
|
|
8668
8524
|
# assumed that no part of a normal pathname contains ";" but that should
|
|
8669
8525
|
# okay in the real world where ";" in dirpaths is itself problematic.
|
|
8670
|
-
|
|
8526
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
|
8671
8527
|
else
|
|
8672
|
-
|
|
8528
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
|
8673
8529
|
fi
|
|
8674
|
-
# Ok, now we have the path, separated by spaces, we can step through it
|
|
8675
|
-
# and add multilib dir if necessary.
|
|
8676
|
-
lt_tmp_lt_search_path_spec=
|
|
8677
|
-
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
|
8678
|
-
for lt_sys_path in $lt_search_path_spec; do
|
|
8679
|
-
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
|
8680
|
-
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
|
8681
|
-
else
|
|
8682
|
-
test -d "$lt_sys_path" && \
|
|
8683
|
-
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
|
8684
|
-
fi
|
|
8685
|
-
done
|
|
8686
|
-
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
|
|
8687
|
-
BEGIN {RS=" "; FS="/|\n";} {
|
|
8688
|
-
lt_foo="";
|
|
8689
|
-
lt_count=0;
|
|
8690
|
-
for (lt_i = NF; lt_i > 0; lt_i--) {
|
|
8691
|
-
if ($lt_i != "" && $lt_i != ".") {
|
|
8692
|
-
if ($lt_i == "..") {
|
|
8693
|
-
lt_count++;
|
|
8694
|
-
} else {
|
|
8695
|
-
if (lt_count == 0) {
|
|
8696
|
-
lt_foo="/" $lt_i lt_foo;
|
|
8697
|
-
} else {
|
|
8698
|
-
lt_count--;
|
|
8699
|
-
}
|
|
8700
|
-
}
|
|
8701
|
-
}
|
|
8702
|
-
}
|
|
8703
|
-
if (lt_foo != "") { lt_freq[lt_foo]++; }
|
|
8704
|
-
if (lt_freq[lt_foo] == 1) { print lt_foo; }
|
|
8705
|
-
}'`
|
|
8706
|
-
sys_lib_search_path_spec=`echo $lt_search_path_spec`
|
|
8707
8530
|
else
|
|
8708
8531
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
|
8709
8532
|
fi
|
|
@@ -8863,8 +8686,12 @@ darwin* | rhapsody*)
|
|
|
8863
8686
|
shlibpath_overrides_runpath=yes
|
|
8864
8687
|
shlibpath_var=DYLD_LIBRARY_PATH
|
|
8865
8688
|
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
|
8866
|
-
|
|
8867
|
-
|
|
8689
|
+
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
|
|
8690
|
+
if test "$GCC" = yes; then
|
|
8691
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
|
|
8692
|
+
else
|
|
8693
|
+
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
|
|
8694
|
+
fi
|
|
8868
8695
|
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
|
8869
8696
|
;;
|
|
8870
8697
|
|
|
@@ -8918,7 +8745,7 @@ freebsd* | dragonfly*)
|
|
|
8918
8745
|
shlibpath_overrides_runpath=no
|
|
8919
8746
|
hardcode_into_libs=yes
|
|
8920
8747
|
;;
|
|
8921
|
-
*) # from 4.6 on
|
|
8748
|
+
freebsd*) # from 4.6 on
|
|
8922
8749
|
shlibpath_overrides_runpath=yes
|
|
8923
8750
|
hardcode_into_libs=yes
|
|
8924
8751
|
;;
|
|
@@ -8981,7 +8808,7 @@ hpux9* | hpux10* | hpux11*)
|
|
|
8981
8808
|
postinstall_cmds='chmod 555 $lib'
|
|
8982
8809
|
;;
|
|
8983
8810
|
|
|
8984
|
-
|
|
8811
|
+
interix3*)
|
|
8985
8812
|
version_type=linux
|
|
8986
8813
|
need_lib_prefix=no
|
|
8987
8814
|
need_version=no
|
|
@@ -9049,13 +8876,11 @@ linux* | k*bsd*-gnu)
|
|
|
9049
8876
|
# Some rework will be needed to allow for fast_install
|
|
9050
8877
|
# before this can be enabled.
|
|
9051
8878
|
hardcode_into_libs=yes
|
|
9052
|
-
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
9053
|
-
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
9054
8879
|
|
|
9055
8880
|
# Append ld.so.conf contents to the search path
|
|
9056
8881
|
if test -f /etc/ld.so.conf; then
|
|
9057
|
-
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s
|
|
9058
|
-
sys_lib_dlsearch_path_spec="
|
|
8882
|
+
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
|
8883
|
+
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
9059
8884
|
fi
|
|
9060
8885
|
|
|
9061
8886
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
@@ -9067,6 +8892,18 @@ linux* | k*bsd*-gnu)
|
|
|
9067
8892
|
dynamic_linker='GNU/Linux ld.so'
|
|
9068
8893
|
;;
|
|
9069
8894
|
|
|
8895
|
+
netbsdelf*-gnu)
|
|
8896
|
+
version_type=linux
|
|
8897
|
+
need_lib_prefix=no
|
|
8898
|
+
need_version=no
|
|
8899
|
+
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
8900
|
+
soname_spec='${libname}${release}${shared_ext}$major'
|
|
8901
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
8902
|
+
shlibpath_overrides_runpath=no
|
|
8903
|
+
hardcode_into_libs=yes
|
|
8904
|
+
dynamic_linker='NetBSD ld.elf_so'
|
|
8905
|
+
;;
|
|
8906
|
+
|
|
9070
8907
|
netbsd*)
|
|
9071
8908
|
version_type=sunos
|
|
9072
8909
|
need_lib_prefix=no
|
|
@@ -9148,10 +8985,6 @@ osf3* | osf4* | osf5*)
|
|
|
9148
8985
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
|
9149
8986
|
;;
|
|
9150
8987
|
|
|
9151
|
-
rdos*)
|
|
9152
|
-
dynamic_linker=no
|
|
9153
|
-
;;
|
|
9154
|
-
|
|
9155
8988
|
solaris*)
|
|
9156
8989
|
version_type=linux
|
|
9157
8990
|
need_lib_prefix=no
|
|
@@ -9305,7 +9138,6 @@ else
|
|
|
9305
9138
|
darwin*)
|
|
9306
9139
|
if test -n "$STRIP" ; then
|
|
9307
9140
|
striplib="$STRIP -x"
|
|
9308
|
-
old_striplib="$STRIP -S"
|
|
9309
9141
|
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
9310
9142
|
echo "${ECHO_T}yes" >&6; }
|
|
9311
9143
|
else
|
|
@@ -9892,7 +9724,7 @@ else
|
|
|
9892
9724
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
9893
9725
|
lt_status=$lt_dlunknown
|
|
9894
9726
|
cat > conftest.$ac_ext <<EOF
|
|
9895
|
-
#line
|
|
9727
|
+
#line 9727 "configure"
|
|
9896
9728
|
#include "confdefs.h"
|
|
9897
9729
|
|
|
9898
9730
|
#if HAVE_DLFCN_H
|
|
@@ -9992,7 +9824,7 @@ else
|
|
|
9992
9824
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
|
9993
9825
|
lt_status=$lt_dlunknown
|
|
9994
9826
|
cat > conftest.$ac_ext <<EOF
|
|
9995
|
-
#line
|
|
9827
|
+
#line 9827 "configure"
|
|
9996
9828
|
#include "confdefs.h"
|
|
9997
9829
|
|
|
9998
9830
|
#if HAVE_DLFCN_H
|
|
@@ -10190,7 +10022,6 @@ if test -f "$ltmain"; then
|
|
|
10190
10022
|
module_cmds \
|
|
10191
10023
|
module_expsym_cmds \
|
|
10192
10024
|
lt_cv_prog_compiler_c_o \
|
|
10193
|
-
fix_srcfile_path \
|
|
10194
10025
|
exclude_expsyms \
|
|
10195
10026
|
include_expsyms; do
|
|
10196
10027
|
|
|
@@ -10235,7 +10066,7 @@ echo "$as_me: creating $ofile" >&6;}
|
|
|
10235
10066
|
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
|
|
10236
10067
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
|
10237
10068
|
#
|
|
10238
|
-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
|
|
10069
|
+
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
|
|
10239
10070
|
# Free Software Foundation, Inc.
|
|
10240
10071
|
#
|
|
10241
10072
|
# This file is part of GNU Libtool:
|
|
@@ -10559,7 +10390,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
10559
10390
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
10560
10391
|
|
|
10561
10392
|
# Fix the shell variable \$srcfile for the compiler.
|
|
10562
|
-
fix_srcfile_path
|
|
10393
|
+
fix_srcfile_path="$fix_srcfile_path"
|
|
10563
10394
|
|
|
10564
10395
|
# Set to yes if exported symbols are required.
|
|
10565
10396
|
always_export_symbols=$always_export_symbols
|
|
@@ -10728,10 +10559,10 @@ objext=o
|
|
|
10728
10559
|
objext_CXX=$objext
|
|
10729
10560
|
|
|
10730
10561
|
# Code to be used in simple compile tests
|
|
10731
|
-
lt_simple_compile_test_code="int some_variable = 0
|
|
10562
|
+
lt_simple_compile_test_code="int some_variable = 0;\n"
|
|
10732
10563
|
|
|
10733
10564
|
# Code to be used in simple link tests
|
|
10734
|
-
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
|
|
10565
|
+
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
|
|
10735
10566
|
|
|
10736
10567
|
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
|
10737
10568
|
|
|
@@ -10747,13 +10578,13 @@ compiler=$CC
|
|
|
10747
10578
|
|
|
10748
10579
|
# save warnings/boilerplate of simple test code
|
|
10749
10580
|
ac_outfile=conftest.$ac_objext
|
|
10750
|
-
|
|
10581
|
+
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
|
|
10751
10582
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
10752
10583
|
_lt_compiler_boilerplate=`cat conftest.err`
|
|
10753
10584
|
$rm conftest*
|
|
10754
10585
|
|
|
10755
10586
|
ac_outfile=conftest.$ac_objext
|
|
10756
|
-
|
|
10587
|
+
printf "$lt_simple_link_test_code" >conftest.$ac_ext
|
|
10757
10588
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
10758
10589
|
_lt_linker_boilerplate=`cat conftest.err`
|
|
10759
10590
|
$rm conftest*
|
|
@@ -11012,7 +10843,7 @@ case $host_os in
|
|
|
11012
10843
|
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
|
11013
10844
|
then
|
|
11014
10845
|
# We have reworked collect2
|
|
11015
|
-
|
|
10846
|
+
hardcode_direct_CXX=yes
|
|
11016
10847
|
else
|
|
11017
10848
|
# We have old collect2
|
|
11018
10849
|
hardcode_direct_CXX=unsupported
|
|
@@ -11086,18 +10917,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
11086
10917
|
} && test -s conftest$ac_exeext &&
|
|
11087
10918
|
$as_test_x conftest$ac_exeext; then
|
|
11088
10919
|
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
/^0/ {
|
|
11092
|
-
s/^0 *\(.*\)$/\1/
|
|
11093
|
-
p
|
|
11094
|
-
}
|
|
11095
|
-
}'
|
|
11096
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
10920
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
10921
|
+
}'`
|
|
11097
10922
|
# Check for a 64-bit object if we didn't find anything.
|
|
11098
|
-
if test -z "$aix_libpath"; then
|
|
11099
|
-
|
|
11100
|
-
fi
|
|
10923
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
10924
|
+
}'`; fi
|
|
11101
10925
|
else
|
|
11102
10926
|
echo "$as_me: failed program was:" >&5
|
|
11103
10927
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -11153,18 +10977,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
11153
10977
|
} && test -s conftest$ac_exeext &&
|
|
11154
10978
|
$as_test_x conftest$ac_exeext; then
|
|
11155
10979
|
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
/^0/ {
|
|
11159
|
-
s/^0 *\(.*\)$/\1/
|
|
11160
|
-
p
|
|
11161
|
-
}
|
|
11162
|
-
}'
|
|
11163
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
10980
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
10981
|
+
}'`
|
|
11164
10982
|
# Check for a 64-bit object if we didn't find anything.
|
|
11165
|
-
if test -z "$aix_libpath"; then
|
|
11166
|
-
|
|
11167
|
-
fi
|
|
10983
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
10984
|
+
}'`; fi
|
|
11168
10985
|
else
|
|
11169
10986
|
echo "$as_me: failed program was:" >&5
|
|
11170
10987
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -11283,10 +11100,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11283
11100
|
case $cc_basename in
|
|
11284
11101
|
xlc*)
|
|
11285
11102
|
output_verbose_link_cmd='echo'
|
|
11286
|
-
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $
|
|
11103
|
+
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
11287
11104
|
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
11288
11105
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
|
11289
|
-
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $
|
|
11106
|
+
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
11290
11107
|
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
11291
11108
|
;;
|
|
11292
11109
|
*)
|
|
@@ -11369,7 +11186,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11369
11186
|
hardcode_libdir_separator_CXX=:
|
|
11370
11187
|
|
|
11371
11188
|
case $host_cpu in
|
|
11372
|
-
hppa*64*|ia64*)
|
|
11189
|
+
hppa*64*|ia64*)
|
|
11190
|
+
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
|
|
11191
|
+
;;
|
|
11373
11192
|
*)
|
|
11374
11193
|
export_dynamic_flag_spec_CXX='${wl}-E'
|
|
11375
11194
|
;;
|
|
@@ -11437,7 +11256,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11437
11256
|
;;
|
|
11438
11257
|
esac
|
|
11439
11258
|
;;
|
|
11440
|
-
|
|
11259
|
+
interix3*)
|
|
11441
11260
|
hardcode_direct_CXX=no
|
|
11442
11261
|
hardcode_shlibpath_var_CXX=no
|
|
11443
11262
|
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
|
@@ -11557,29 +11376,6 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11557
11376
|
# dependencies.
|
|
11558
11377
|
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
|
|
11559
11378
|
;;
|
|
11560
|
-
*)
|
|
11561
|
-
case `$CC -V 2>&1 | sed 5q` in
|
|
11562
|
-
*Sun\ C*)
|
|
11563
|
-
# Sun C++ 5.9
|
|
11564
|
-
no_undefined_flag_CXX=' -zdefs'
|
|
11565
|
-
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
|
11566
|
-
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
|
|
11567
|
-
hardcode_libdir_flag_spec_CXX='-R$libdir'
|
|
11568
|
-
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
|
|
11569
|
-
|
|
11570
|
-
# Not sure whether something based on
|
|
11571
|
-
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
|
|
11572
|
-
# would be better.
|
|
11573
|
-
output_verbose_link_cmd='echo'
|
|
11574
|
-
|
|
11575
|
-
# Archives containing C++ object files must be created using
|
|
11576
|
-
# "CC -xar", where "CC" is the Sun C++ compiler. This is
|
|
11577
|
-
# necessary to make sure instantiated templates are included
|
|
11578
|
-
# in the archive.
|
|
11579
|
-
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
|
|
11580
|
-
;;
|
|
11581
|
-
esac
|
|
11582
|
-
;;
|
|
11583
11379
|
esac
|
|
11584
11380
|
;;
|
|
11585
11381
|
lynxos*)
|
|
@@ -11602,7 +11398,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11602
11398
|
;;
|
|
11603
11399
|
esac
|
|
11604
11400
|
;;
|
|
11605
|
-
netbsd*)
|
|
11401
|
+
netbsd* | netbsdelf*-gnu)
|
|
11606
11402
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
11607
11403
|
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
|
11608
11404
|
wlarc=
|
|
@@ -11618,20 +11414,16 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11618
11414
|
ld_shlibs_CXX=no
|
|
11619
11415
|
;;
|
|
11620
11416
|
openbsd*)
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
11630
|
-
fi
|
|
11631
|
-
output_verbose_link_cmd='echo'
|
|
11632
|
-
else
|
|
11633
|
-
ld_shlibs_CXX=no
|
|
11417
|
+
hardcode_direct_CXX=yes
|
|
11418
|
+
hardcode_shlibpath_var_CXX=no
|
|
11419
|
+
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
|
11420
|
+
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
|
11421
|
+
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
11422
|
+
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
|
11423
|
+
export_dynamic_flag_spec_CXX='${wl}-E'
|
|
11424
|
+
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
|
11634
11425
|
fi
|
|
11426
|
+
output_verbose_link_cmd='echo'
|
|
11635
11427
|
;;
|
|
11636
11428
|
osf3*)
|
|
11637
11429
|
case $cc_basename in
|
|
@@ -11793,10 +11585,15 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11793
11585
|
case $host_os in
|
|
11794
11586
|
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
|
11795
11587
|
*)
|
|
11796
|
-
# The compiler
|
|
11797
|
-
#
|
|
11588
|
+
# The C++ compiler is used as linker so we must use $wl
|
|
11589
|
+
# flag to pass the commands to the underlying system
|
|
11590
|
+
# linker. We must also pass each convience library through
|
|
11591
|
+
# to the system linker between allextract/defaultextract.
|
|
11592
|
+
# The C++ compiler will combine linker options so we
|
|
11593
|
+
# cannot just pass the convience library names through
|
|
11594
|
+
# without $wl.
|
|
11798
11595
|
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
|
11799
|
-
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
|
|
11596
|
+
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
|
|
11800
11597
|
;;
|
|
11801
11598
|
esac
|
|
11802
11599
|
link_all_deplibs_CXX=yes
|
|
@@ -11843,12 +11640,6 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
11843
11640
|
fi
|
|
11844
11641
|
|
|
11845
11642
|
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
|
|
11846
|
-
case $host_os in
|
|
11847
|
-
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
|
11848
|
-
*)
|
|
11849
|
-
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
|
|
11850
|
-
;;
|
|
11851
|
-
esac
|
|
11852
11643
|
fi
|
|
11853
11644
|
;;
|
|
11854
11645
|
esac
|
|
@@ -12040,7 +11831,7 @@ $rm -f confest.$objext
|
|
|
12040
11831
|
|
|
12041
11832
|
# PORTME: override above test on systems where it is broken
|
|
12042
11833
|
case $host_os in
|
|
12043
|
-
|
|
11834
|
+
interix3*)
|
|
12044
11835
|
# Interix 3.5 installs completely hosed .la files for C++, so rather than
|
|
12045
11836
|
# hack all around it, let's just trust "g++" to DTRT.
|
|
12046
11837
|
predep_objects_CXX=
|
|
@@ -12048,46 +11839,13 @@ interix[3-9]*)
|
|
|
12048
11839
|
postdeps_CXX=
|
|
12049
11840
|
;;
|
|
12050
11841
|
|
|
12051
|
-
linux*)
|
|
12052
|
-
case `$CC -V 2>&1 | sed 5q` in
|
|
12053
|
-
*Sun\ C*)
|
|
12054
|
-
# Sun C++ 5.9
|
|
12055
|
-
#
|
|
12056
|
-
# The more standards-conforming stlport4 library is
|
|
12057
|
-
# incompatible with the Cstd library. Avoid specifying
|
|
12058
|
-
# it if it's in CXXFLAGS. Ignore libCrun as
|
|
12059
|
-
# -library=stlport4 depends on it.
|
|
12060
|
-
case " $CXX $CXXFLAGS " in
|
|
12061
|
-
*" -library=stlport4 "*)
|
|
12062
|
-
solaris_use_stlport4=yes
|
|
12063
|
-
;;
|
|
12064
|
-
esac
|
|
12065
|
-
if test "$solaris_use_stlport4" != yes; then
|
|
12066
|
-
postdeps_CXX='-library=Cstd -library=Crun'
|
|
12067
|
-
fi
|
|
12068
|
-
;;
|
|
12069
|
-
esac
|
|
12070
|
-
;;
|
|
12071
|
-
|
|
12072
11842
|
solaris*)
|
|
12073
11843
|
case $cc_basename in
|
|
12074
11844
|
CC*)
|
|
12075
|
-
# The more standards-conforming stlport4 library is
|
|
12076
|
-
# incompatible with the Cstd library. Avoid specifying
|
|
12077
|
-
# it if it's in CXXFLAGS. Ignore libCrun as
|
|
12078
|
-
# -library=stlport4 depends on it.
|
|
12079
|
-
case " $CXX $CXXFLAGS " in
|
|
12080
|
-
*" -library=stlport4 "*)
|
|
12081
|
-
solaris_use_stlport4=yes
|
|
12082
|
-
;;
|
|
12083
|
-
esac
|
|
12084
|
-
|
|
12085
11845
|
# Adding this requires a known-good setup of shared libraries for
|
|
12086
11846
|
# Sun compiler versions before 5.6, else PIC objects from an old
|
|
12087
11847
|
# archive will be linked into the output, leading to subtle bugs.
|
|
12088
|
-
|
|
12089
|
-
postdeps_CXX='-library=Cstd -library=Crun'
|
|
12090
|
-
fi
|
|
11848
|
+
postdeps_CXX='-lCstd -lCrun'
|
|
12091
11849
|
;;
|
|
12092
11850
|
esac
|
|
12093
11851
|
;;
|
|
@@ -12124,14 +11882,12 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
12124
11882
|
# like `-m68040'.
|
|
12125
11883
|
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
|
|
12126
11884
|
;;
|
|
12127
|
-
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
11885
|
+
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
12128
11886
|
# PIC is the default for these OSes.
|
|
12129
11887
|
;;
|
|
12130
|
-
mingw* |
|
|
11888
|
+
mingw* | os2* | pw32*)
|
|
12131
11889
|
# This hack is so that the source file can tell whether it is being
|
|
12132
11890
|
# built for inclusion in a dll (and should export symbols for example).
|
|
12133
|
-
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
12134
|
-
# (--disable-auto-import) libraries
|
|
12135
11891
|
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
|
|
12136
11892
|
;;
|
|
12137
11893
|
darwin* | rhapsody*)
|
|
@@ -12143,7 +11899,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
12143
11899
|
# DJGPP does not support shared libraries at all
|
|
12144
11900
|
lt_prog_compiler_pic_CXX=
|
|
12145
11901
|
;;
|
|
12146
|
-
|
|
11902
|
+
interix3*)
|
|
12147
11903
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
|
12148
11904
|
# Instead, we relocate shared libraries at runtime.
|
|
12149
11905
|
;;
|
|
@@ -12279,14 +12035,6 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
12279
12035
|
lt_prog_compiler_static_CXX='-non_shared'
|
|
12280
12036
|
;;
|
|
12281
12037
|
*)
|
|
12282
|
-
case `$CC -V 2>&1 | sed 5q` in
|
|
12283
|
-
*Sun\ C*)
|
|
12284
|
-
# Sun C++ 5.9
|
|
12285
|
-
lt_prog_compiler_pic_CXX='-KPIC'
|
|
12286
|
-
lt_prog_compiler_static_CXX='-Bstatic'
|
|
12287
|
-
lt_prog_compiler_wl_CXX='-Qoption ld '
|
|
12288
|
-
;;
|
|
12289
|
-
esac
|
|
12290
12038
|
;;
|
|
12291
12039
|
esac
|
|
12292
12040
|
;;
|
|
@@ -12303,7 +12051,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
12303
12051
|
;;
|
|
12304
12052
|
esac
|
|
12305
12053
|
;;
|
|
12306
|
-
netbsd*)
|
|
12054
|
+
netbsd* | netbsdelf*-gnu)
|
|
12307
12055
|
;;
|
|
12308
12056
|
osf3* | osf4* | osf5*)
|
|
12309
12057
|
case $cc_basename in
|
|
@@ -12401,7 +12149,7 @@ if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
|
|
|
12401
12149
|
else
|
|
12402
12150
|
lt_prog_compiler_pic_works_CXX=no
|
|
12403
12151
|
ac_outfile=conftest.$ac_objext
|
|
12404
|
-
|
|
12152
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
12405
12153
|
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
|
|
12406
12154
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
12407
12155
|
# (2) before a word containing "conftest.", or (3) at the end.
|
|
@@ -12412,11 +12160,11 @@ else
|
|
|
12412
12160
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
12413
12161
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
12414
12162
|
-e 's:$: $lt_compiler_flag:'`
|
|
12415
|
-
(eval echo "\"\$as_me:
|
|
12163
|
+
(eval echo "\"\$as_me:12163: $lt_compile\"" >&5)
|
|
12416
12164
|
(eval "$lt_compile" 2>conftest.err)
|
|
12417
12165
|
ac_status=$?
|
|
12418
12166
|
cat conftest.err >&5
|
|
12419
|
-
echo "$as_me:
|
|
12167
|
+
echo "$as_me:12167: \$? = $ac_status" >&5
|
|
12420
12168
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
12421
12169
|
# The compiler can only warn and ignore the option if not recognized
|
|
12422
12170
|
# So say no if there are warnings other than the usual output.
|
|
@@ -12465,7 +12213,7 @@ else
|
|
|
12465
12213
|
lt_prog_compiler_static_works_CXX=no
|
|
12466
12214
|
save_LDFLAGS="$LDFLAGS"
|
|
12467
12215
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
12468
|
-
|
|
12216
|
+
printf "$lt_simple_link_test_code" > conftest.$ac_ext
|
|
12469
12217
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
|
12470
12218
|
# The linker can only warn and ignore the option if not recognized
|
|
12471
12219
|
# So say no if there are warnings
|
|
@@ -12505,7 +12253,7 @@ else
|
|
|
12505
12253
|
mkdir conftest
|
|
12506
12254
|
cd conftest
|
|
12507
12255
|
mkdir out
|
|
12508
|
-
|
|
12256
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
12509
12257
|
|
|
12510
12258
|
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
|
12511
12259
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
@@ -12516,11 +12264,11 @@ else
|
|
|
12516
12264
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
12517
12265
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
12518
12266
|
-e 's:$: $lt_compiler_flag:'`
|
|
12519
|
-
(eval echo "\"\$as_me:
|
|
12267
|
+
(eval echo "\"\$as_me:12267: $lt_compile\"" >&5)
|
|
12520
12268
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
12521
12269
|
ac_status=$?
|
|
12522
12270
|
cat out/conftest.err >&5
|
|
12523
|
-
echo "$as_me:
|
|
12271
|
+
echo "$as_me:12271: \$? = $ac_status" >&5
|
|
12524
12272
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
12525
12273
|
then
|
|
12526
12274
|
# The compiler can only warn and ignore the option if not recognized
|
|
@@ -12586,7 +12334,10 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
|
|
|
12586
12334
|
export_symbols_cmds_CXX="$ltdll_cmds"
|
|
12587
12335
|
;;
|
|
12588
12336
|
cygwin* | mingw*)
|
|
12589
|
-
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS]
|
|
12337
|
+
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
|
|
12338
|
+
;;
|
|
12339
|
+
linux* | k*bsd*-gnu)
|
|
12340
|
+
link_all_deplibs_CXX=no
|
|
12590
12341
|
;;
|
|
12591
12342
|
*)
|
|
12592
12343
|
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
|
@@ -12617,7 +12368,7 @@ x|xyes)
|
|
|
12617
12368
|
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
|
12618
12369
|
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
12619
12370
|
$rm conftest*
|
|
12620
|
-
|
|
12371
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
12621
12372
|
|
|
12622
12373
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
12623
12374
|
(eval $ac_compile) 2>&5
|
|
@@ -12675,7 +12426,20 @@ shlibpath_overrides_runpath=unknown
|
|
|
12675
12426
|
version_type=none
|
|
12676
12427
|
dynamic_linker="$host_os ld.so"
|
|
12677
12428
|
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
|
12678
|
-
|
|
12429
|
+
if test "$GCC" = yes; then
|
|
12430
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
|
12431
|
+
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
|
12432
|
+
# if the path contains ";" then we assume it to be the separator
|
|
12433
|
+
# otherwise default to the standard path separator (i.e. ":") - it is
|
|
12434
|
+
# assumed that no part of a normal pathname contains ";" but that should
|
|
12435
|
+
# okay in the real world where ";" in dirpaths is itself problematic.
|
|
12436
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
|
12437
|
+
else
|
|
12438
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
|
12439
|
+
fi
|
|
12440
|
+
else
|
|
12441
|
+
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
|
12442
|
+
fi
|
|
12679
12443
|
need_lib_prefix=unknown
|
|
12680
12444
|
hardcode_into_libs=no
|
|
12681
12445
|
|
|
@@ -12832,7 +12596,12 @@ darwin* | rhapsody*)
|
|
|
12832
12596
|
shlibpath_overrides_runpath=yes
|
|
12833
12597
|
shlibpath_var=DYLD_LIBRARY_PATH
|
|
12834
12598
|
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
|
12835
|
-
|
|
12599
|
+
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
|
|
12600
|
+
if test "$GCC" = yes; then
|
|
12601
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
|
|
12602
|
+
else
|
|
12603
|
+
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
|
|
12604
|
+
fi
|
|
12836
12605
|
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
|
12837
12606
|
;;
|
|
12838
12607
|
|
|
@@ -12886,7 +12655,7 @@ freebsd* | dragonfly*)
|
|
|
12886
12655
|
shlibpath_overrides_runpath=no
|
|
12887
12656
|
hardcode_into_libs=yes
|
|
12888
12657
|
;;
|
|
12889
|
-
*) # from 4.6 on
|
|
12658
|
+
freebsd*) # from 4.6 on
|
|
12890
12659
|
shlibpath_overrides_runpath=yes
|
|
12891
12660
|
hardcode_into_libs=yes
|
|
12892
12661
|
;;
|
|
@@ -12949,7 +12718,7 @@ hpux9* | hpux10* | hpux11*)
|
|
|
12949
12718
|
postinstall_cmds='chmod 555 $lib'
|
|
12950
12719
|
;;
|
|
12951
12720
|
|
|
12952
|
-
|
|
12721
|
+
interix3*)
|
|
12953
12722
|
version_type=linux
|
|
12954
12723
|
need_lib_prefix=no
|
|
12955
12724
|
need_version=no
|
|
@@ -13017,13 +12786,11 @@ linux* | k*bsd*-gnu)
|
|
|
13017
12786
|
# Some rework will be needed to allow for fast_install
|
|
13018
12787
|
# before this can be enabled.
|
|
13019
12788
|
hardcode_into_libs=yes
|
|
13020
|
-
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
13021
|
-
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
13022
12789
|
|
|
13023
12790
|
# Append ld.so.conf contents to the search path
|
|
13024
12791
|
if test -f /etc/ld.so.conf; then
|
|
13025
|
-
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s
|
|
13026
|
-
sys_lib_dlsearch_path_spec="
|
|
12792
|
+
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
|
12793
|
+
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
13027
12794
|
fi
|
|
13028
12795
|
|
|
13029
12796
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
@@ -13035,6 +12802,18 @@ linux* | k*bsd*-gnu)
|
|
|
13035
12802
|
dynamic_linker='GNU/Linux ld.so'
|
|
13036
12803
|
;;
|
|
13037
12804
|
|
|
12805
|
+
netbsdelf*-gnu)
|
|
12806
|
+
version_type=linux
|
|
12807
|
+
need_lib_prefix=no
|
|
12808
|
+
need_version=no
|
|
12809
|
+
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
12810
|
+
soname_spec='${libname}${release}${shared_ext}$major'
|
|
12811
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
12812
|
+
shlibpath_overrides_runpath=no
|
|
12813
|
+
hardcode_into_libs=yes
|
|
12814
|
+
dynamic_linker='NetBSD ld.elf_so'
|
|
12815
|
+
;;
|
|
12816
|
+
|
|
13038
12817
|
netbsd*)
|
|
13039
12818
|
version_type=sunos
|
|
13040
12819
|
need_lib_prefix=no
|
|
@@ -13116,10 +12895,6 @@ osf3* | osf4* | osf5*)
|
|
|
13116
12895
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
|
13117
12896
|
;;
|
|
13118
12897
|
|
|
13119
|
-
rdos*)
|
|
13120
|
-
dynamic_linker=no
|
|
13121
|
-
;;
|
|
13122
|
-
|
|
13123
12898
|
solaris*)
|
|
13124
12899
|
version_type=linux
|
|
13125
12900
|
need_lib_prefix=no
|
|
@@ -13314,7 +13089,6 @@ if test -f "$ltmain"; then
|
|
|
13314
13089
|
module_cmds_CXX \
|
|
13315
13090
|
module_expsym_cmds_CXX \
|
|
13316
13091
|
lt_cv_prog_compiler_c_o_CXX \
|
|
13317
|
-
fix_srcfile_path_CXX \
|
|
13318
13092
|
exclude_expsyms_CXX \
|
|
13319
13093
|
include_expsyms_CXX; do
|
|
13320
13094
|
|
|
@@ -13635,7 +13409,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
13635
13409
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
13636
13410
|
|
|
13637
13411
|
# Fix the shell variable \$srcfile for the compiler.
|
|
13638
|
-
fix_srcfile_path
|
|
13412
|
+
fix_srcfile_path="$fix_srcfile_path_CXX"
|
|
13639
13413
|
|
|
13640
13414
|
# Set to yes if exported symbols are required.
|
|
13641
13415
|
always_export_symbols=$always_export_symbols_CXX
|
|
@@ -13726,17 +13500,10 @@ objext=o
|
|
|
13726
13500
|
objext_F77=$objext
|
|
13727
13501
|
|
|
13728
13502
|
# Code to be used in simple compile tests
|
|
13729
|
-
lt_simple_compile_test_code="\
|
|
13730
|
-
subroutine t
|
|
13731
|
-
return
|
|
13732
|
-
end
|
|
13733
|
-
"
|
|
13503
|
+
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
|
|
13734
13504
|
|
|
13735
13505
|
# Code to be used in simple link tests
|
|
13736
|
-
lt_simple_link_test_code="\
|
|
13737
|
-
program t
|
|
13738
|
-
end
|
|
13739
|
-
"
|
|
13506
|
+
lt_simple_link_test_code=" program t\n end\n"
|
|
13740
13507
|
|
|
13741
13508
|
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
|
13742
13509
|
|
|
@@ -13752,13 +13519,13 @@ compiler=$CC
|
|
|
13752
13519
|
|
|
13753
13520
|
# save warnings/boilerplate of simple test code
|
|
13754
13521
|
ac_outfile=conftest.$ac_objext
|
|
13755
|
-
|
|
13522
|
+
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
|
|
13756
13523
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
13757
13524
|
_lt_compiler_boilerplate=`cat conftest.err`
|
|
13758
13525
|
$rm conftest*
|
|
13759
13526
|
|
|
13760
13527
|
ac_outfile=conftest.$ac_objext
|
|
13761
|
-
|
|
13528
|
+
printf "$lt_simple_link_test_code" >conftest.$ac_ext
|
|
13762
13529
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
13763
13530
|
_lt_linker_boilerplate=`cat conftest.err`
|
|
13764
13531
|
$rm conftest*
|
|
@@ -13845,15 +13612,13 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
13845
13612
|
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
|
|
13846
13613
|
;;
|
|
13847
13614
|
|
|
13848
|
-
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
13615
|
+
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
13849
13616
|
# PIC is the default for these OSes.
|
|
13850
13617
|
;;
|
|
13851
13618
|
|
|
13852
|
-
mingw* |
|
|
13619
|
+
mingw* | pw32* | os2*)
|
|
13853
13620
|
# This hack is so that the source file can tell whether it is being
|
|
13854
13621
|
# built for inclusion in a dll (and should export symbols for example).
|
|
13855
|
-
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
13856
|
-
# (--disable-auto-import) libraries
|
|
13857
13622
|
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
|
|
13858
13623
|
;;
|
|
13859
13624
|
|
|
@@ -13863,7 +13628,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
13863
13628
|
lt_prog_compiler_pic_F77='-fno-common'
|
|
13864
13629
|
;;
|
|
13865
13630
|
|
|
13866
|
-
|
|
13631
|
+
interix3*)
|
|
13867
13632
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
|
13868
13633
|
# Instead, we relocate shared libraries at runtime.
|
|
13869
13634
|
;;
|
|
@@ -13921,7 +13686,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
13921
13686
|
esac
|
|
13922
13687
|
;;
|
|
13923
13688
|
|
|
13924
|
-
mingw* |
|
|
13689
|
+
mingw* | pw32* | os2*)
|
|
13925
13690
|
# This hack is so that the source file can tell whether it is being
|
|
13926
13691
|
# built for inclusion in a dll (and should export symbols for example).
|
|
13927
13692
|
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
|
|
@@ -13973,22 +13738,6 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
13973
13738
|
# All Alpha code is PIC.
|
|
13974
13739
|
lt_prog_compiler_static_F77='-non_shared'
|
|
13975
13740
|
;;
|
|
13976
|
-
*)
|
|
13977
|
-
case `$CC -V 2>&1 | sed 5q` in
|
|
13978
|
-
*Sun\ C*)
|
|
13979
|
-
# Sun C 5.9
|
|
13980
|
-
lt_prog_compiler_pic_F77='-KPIC'
|
|
13981
|
-
lt_prog_compiler_static_F77='-Bstatic'
|
|
13982
|
-
lt_prog_compiler_wl_F77='-Wl,'
|
|
13983
|
-
;;
|
|
13984
|
-
*Sun\ F*)
|
|
13985
|
-
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
|
13986
|
-
lt_prog_compiler_pic_F77='-KPIC'
|
|
13987
|
-
lt_prog_compiler_static_F77='-Bstatic'
|
|
13988
|
-
lt_prog_compiler_wl_F77=''
|
|
13989
|
-
;;
|
|
13990
|
-
esac
|
|
13991
|
-
;;
|
|
13992
13741
|
esac
|
|
13993
13742
|
;;
|
|
13994
13743
|
|
|
@@ -13998,10 +13747,6 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
13998
13747
|
lt_prog_compiler_static_F77='-non_shared'
|
|
13999
13748
|
;;
|
|
14000
13749
|
|
|
14001
|
-
rdos*)
|
|
14002
|
-
lt_prog_compiler_static_F77='-non_shared'
|
|
14003
|
-
;;
|
|
14004
|
-
|
|
14005
13750
|
solaris*)
|
|
14006
13751
|
lt_prog_compiler_pic_F77='-KPIC'
|
|
14007
13752
|
lt_prog_compiler_static_F77='-Bstatic'
|
|
@@ -14069,7 +13814,7 @@ if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
|
|
|
14069
13814
|
else
|
|
14070
13815
|
lt_prog_compiler_pic_works_F77=no
|
|
14071
13816
|
ac_outfile=conftest.$ac_objext
|
|
14072
|
-
|
|
13817
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
14073
13818
|
lt_compiler_flag="$lt_prog_compiler_pic_F77"
|
|
14074
13819
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
14075
13820
|
# (2) before a word containing "conftest.", or (3) at the end.
|
|
@@ -14080,11 +13825,11 @@ else
|
|
|
14080
13825
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
14081
13826
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
14082
13827
|
-e 's:$: $lt_compiler_flag:'`
|
|
14083
|
-
(eval echo "\"\$as_me:
|
|
13828
|
+
(eval echo "\"\$as_me:13828: $lt_compile\"" >&5)
|
|
14084
13829
|
(eval "$lt_compile" 2>conftest.err)
|
|
14085
13830
|
ac_status=$?
|
|
14086
13831
|
cat conftest.err >&5
|
|
14087
|
-
echo "$as_me:
|
|
13832
|
+
echo "$as_me:13832: \$? = $ac_status" >&5
|
|
14088
13833
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
14089
13834
|
# The compiler can only warn and ignore the option if not recognized
|
|
14090
13835
|
# So say no if there are warnings other than the usual output.
|
|
@@ -14133,7 +13878,7 @@ else
|
|
|
14133
13878
|
lt_prog_compiler_static_works_F77=no
|
|
14134
13879
|
save_LDFLAGS="$LDFLAGS"
|
|
14135
13880
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
14136
|
-
|
|
13881
|
+
printf "$lt_simple_link_test_code" > conftest.$ac_ext
|
|
14137
13882
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
|
14138
13883
|
# The linker can only warn and ignore the option if not recognized
|
|
14139
13884
|
# So say no if there are warnings
|
|
@@ -14173,7 +13918,7 @@ else
|
|
|
14173
13918
|
mkdir conftest
|
|
14174
13919
|
cd conftest
|
|
14175
13920
|
mkdir out
|
|
14176
|
-
|
|
13921
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
14177
13922
|
|
|
14178
13923
|
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
|
14179
13924
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
@@ -14184,11 +13929,11 @@ else
|
|
|
14184
13929
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
14185
13930
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
14186
13931
|
-e 's:$: $lt_compiler_flag:'`
|
|
14187
|
-
(eval echo "\"\$as_me:
|
|
13932
|
+
(eval echo "\"\$as_me:13932: $lt_compile\"" >&5)
|
|
14188
13933
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
14189
13934
|
ac_status=$?
|
|
14190
13935
|
cat out/conftest.err >&5
|
|
14191
|
-
echo "$as_me:
|
|
13936
|
+
echo "$as_me:13936: \$? = $ac_status" >&5
|
|
14192
13937
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
14193
13938
|
then
|
|
14194
13939
|
# The compiler can only warn and ignore the option if not recognized
|
|
@@ -14380,7 +14125,7 @@ EOF
|
|
|
14380
14125
|
allow_undefined_flag_F77=unsupported
|
|
14381
14126
|
always_export_symbols_F77=no
|
|
14382
14127
|
enable_shared_with_static_runtimes_F77=yes
|
|
14383
|
-
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS]
|
|
14128
|
+
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
|
|
14384
14129
|
|
|
14385
14130
|
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
|
14386
14131
|
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
@@ -14398,7 +14143,7 @@ EOF
|
|
|
14398
14143
|
fi
|
|
14399
14144
|
;;
|
|
14400
14145
|
|
|
14401
|
-
|
|
14146
|
+
interix3*)
|
|
14402
14147
|
hardcode_direct_F77=no
|
|
14403
14148
|
hardcode_shlibpath_var_F77=no
|
|
14404
14149
|
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
@@ -14413,7 +14158,7 @@ EOF
|
|
|
14413
14158
|
archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
14414
14159
|
;;
|
|
14415
14160
|
|
|
14416
|
-
|
|
14161
|
+
linux* | k*bsd*-gnu)
|
|
14417
14162
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
|
14418
14163
|
tmp_addflag=
|
|
14419
14164
|
case $cc_basename,$host_cpu in
|
|
@@ -14431,29 +14176,21 @@ EOF
|
|
|
14431
14176
|
ifc* | ifort*) # Intel Fortran compiler
|
|
14432
14177
|
tmp_addflag=' -nofor_main' ;;
|
|
14433
14178
|
esac
|
|
14434
|
-
|
|
14435
|
-
*Sun\ C*) # Sun C 5.9
|
|
14436
|
-
whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
|
|
14437
|
-
tmp_sharedflag='-G' ;;
|
|
14438
|
-
*Sun\ F*) # Sun Fortran 8.3
|
|
14439
|
-
tmp_sharedflag='-G' ;;
|
|
14440
|
-
*)
|
|
14441
|
-
tmp_sharedflag='-shared' ;;
|
|
14442
|
-
esac
|
|
14443
|
-
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
14179
|
+
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
14444
14180
|
|
|
14445
14181
|
if test $supports_anon_versioning = yes; then
|
|
14446
14182
|
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
|
|
14447
14183
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
14448
14184
|
$echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
14449
|
-
$CC '"$
|
|
14185
|
+
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
|
14450
14186
|
fi
|
|
14187
|
+
link_all_deplibs_F77=no
|
|
14451
14188
|
else
|
|
14452
14189
|
ld_shlibs_F77=no
|
|
14453
14190
|
fi
|
|
14454
14191
|
;;
|
|
14455
14192
|
|
|
14456
|
-
netbsd*)
|
|
14193
|
+
netbsd* | netbsdelf*-gnu)
|
|
14457
14194
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
14458
14195
|
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
14459
14196
|
wlarc=
|
|
@@ -14605,7 +14342,7 @@ _LT_EOF
|
|
|
14605
14342
|
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
|
14606
14343
|
then
|
|
14607
14344
|
# We have reworked collect2
|
|
14608
|
-
|
|
14345
|
+
hardcode_direct_F77=yes
|
|
14609
14346
|
else
|
|
14610
14347
|
# We have old collect2
|
|
14611
14348
|
hardcode_direct_F77=unsupported
|
|
@@ -14669,18 +14406,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
14669
14406
|
} && test -s conftest$ac_exeext &&
|
|
14670
14407
|
$as_test_x conftest$ac_exeext; then
|
|
14671
14408
|
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
/^0/ {
|
|
14675
|
-
s/^0 *\(.*\)$/\1/
|
|
14676
|
-
p
|
|
14677
|
-
}
|
|
14678
|
-
}'
|
|
14679
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
14409
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
14410
|
+
}'`
|
|
14680
14411
|
# Check for a 64-bit object if we didn't find anything.
|
|
14681
|
-
if test -z "$aix_libpath"; then
|
|
14682
|
-
|
|
14683
|
-
fi
|
|
14412
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
14413
|
+
}'`; fi
|
|
14684
14414
|
else
|
|
14685
14415
|
echo "$as_me: failed program was:" >&5
|
|
14686
14416
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -14725,18 +14455,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
14725
14455
|
} && test -s conftest$ac_exeext &&
|
|
14726
14456
|
$as_test_x conftest$ac_exeext; then
|
|
14727
14457
|
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
/^0/ {
|
|
14731
|
-
s/^0 *\(.*\)$/\1/
|
|
14732
|
-
p
|
|
14733
|
-
}
|
|
14734
|
-
}'
|
|
14735
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
14458
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
14459
|
+
}'`
|
|
14736
14460
|
# Check for a 64-bit object if we didn't find anything.
|
|
14737
|
-
if test -z "$aix_libpath"; then
|
|
14738
|
-
|
|
14739
|
-
fi
|
|
14461
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
14462
|
+
}'`; fi
|
|
14740
14463
|
else
|
|
14741
14464
|
echo "$as_me: failed program was:" >&5
|
|
14742
14465
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -14790,7 +14513,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
14790
14513
|
# The linker will automatically build a .lib file if we build a DLL.
|
|
14791
14514
|
old_archive_From_new_cmds_F77='true'
|
|
14792
14515
|
# FIXME: Should let the user specify the lib program.
|
|
14793
|
-
old_archive_cmds_F77='lib
|
|
14516
|
+
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
|
|
14794
14517
|
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
|
|
14795
14518
|
enable_shared_with_static_runtimes_F77=yes
|
|
14796
14519
|
;;
|
|
@@ -14832,10 +14555,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
14832
14555
|
case $cc_basename in
|
|
14833
14556
|
xlc*)
|
|
14834
14557
|
output_verbose_link_cmd='echo'
|
|
14835
|
-
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $
|
|
14558
|
+
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
14836
14559
|
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
14837
14560
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
|
14838
|
-
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $
|
|
14561
|
+
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
14839
14562
|
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
14840
14563
|
;;
|
|
14841
14564
|
*)
|
|
@@ -14977,7 +14700,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
14977
14700
|
link_all_deplibs_F77=yes
|
|
14978
14701
|
;;
|
|
14979
14702
|
|
|
14980
|
-
netbsd*)
|
|
14703
|
+
netbsd* | netbsdelf*-gnu)
|
|
14981
14704
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
14982
14705
|
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
14983
14706
|
else
|
|
@@ -14997,28 +14720,24 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
14997
14720
|
;;
|
|
14998
14721
|
|
|
14999
14722
|
openbsd*)
|
|
15000
|
-
|
|
15001
|
-
|
|
15002
|
-
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15006
|
-
|
|
15007
|
-
export_dynamic_flag_spec_F77='${wl}-E'
|
|
15008
|
-
else
|
|
15009
|
-
case $host_os in
|
|
15010
|
-
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
|
15011
|
-
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
15012
|
-
hardcode_libdir_flag_spec_F77='-R$libdir'
|
|
15013
|
-
;;
|
|
15014
|
-
*)
|
|
15015
|
-
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
15016
|
-
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
15017
|
-
;;
|
|
15018
|
-
esac
|
|
15019
|
-
fi
|
|
14723
|
+
hardcode_direct_F77=yes
|
|
14724
|
+
hardcode_shlibpath_var_F77=no
|
|
14725
|
+
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
14726
|
+
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
14727
|
+
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
14728
|
+
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
14729
|
+
export_dynamic_flag_spec_F77='${wl}-E'
|
|
15020
14730
|
else
|
|
15021
|
-
|
|
14731
|
+
case $host_os in
|
|
14732
|
+
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
|
14733
|
+
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
14734
|
+
hardcode_libdir_flag_spec_F77='-R$libdir'
|
|
14735
|
+
;;
|
|
14736
|
+
*)
|
|
14737
|
+
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
14738
|
+
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
|
|
14739
|
+
;;
|
|
14740
|
+
esac
|
|
15022
14741
|
fi
|
|
15023
14742
|
;;
|
|
15024
14743
|
|
|
@@ -15077,16 +14796,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
15077
14796
|
case $host_os in
|
|
15078
14797
|
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
|
15079
14798
|
*)
|
|
15080
|
-
|
|
15081
|
-
|
|
15082
|
-
|
|
14799
|
+
# The compiler driver will combine linker options so we
|
|
14800
|
+
# cannot just pass the convience library names through
|
|
14801
|
+
# without $wl, iff we do not link with $LD.
|
|
14802
|
+
# Luckily, gcc supports the same syntax we need for Sun Studio.
|
|
15083
14803
|
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
|
15084
|
-
|
|
15085
|
-
|
|
15086
|
-
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
14804
|
+
case $wlarc in
|
|
14805
|
+
'')
|
|
14806
|
+
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
|
|
14807
|
+
*)
|
|
14808
|
+
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
|
|
14809
|
+
esac ;;
|
|
15090
14810
|
esac
|
|
15091
14811
|
link_all_deplibs_F77=yes
|
|
15092
14812
|
;;
|
|
@@ -15143,7 +14863,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
15143
14863
|
fi
|
|
15144
14864
|
;;
|
|
15145
14865
|
|
|
15146
|
-
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*
|
|
14866
|
+
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
|
|
15147
14867
|
no_undefined_flag_F77='${wl}-z,text'
|
|
15148
14868
|
archive_cmds_need_lc_F77=no
|
|
15149
14869
|
hardcode_shlibpath_var_F77=no
|
|
@@ -15220,7 +14940,7 @@ x|xyes)
|
|
|
15220
14940
|
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
|
15221
14941
|
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
15222
14942
|
$rm conftest*
|
|
15223
|
-
|
|
14943
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
15224
14944
|
|
|
15225
14945
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
15226
14946
|
(eval $ac_compile) 2>&5
|
|
@@ -15278,7 +14998,20 @@ shlibpath_overrides_runpath=unknown
|
|
|
15278
14998
|
version_type=none
|
|
15279
14999
|
dynamic_linker="$host_os ld.so"
|
|
15280
15000
|
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
|
15281
|
-
|
|
15001
|
+
if test "$GCC" = yes; then
|
|
15002
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
|
15003
|
+
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
|
15004
|
+
# if the path contains ";" then we assume it to be the separator
|
|
15005
|
+
# otherwise default to the standard path separator (i.e. ":") - it is
|
|
15006
|
+
# assumed that no part of a normal pathname contains ";" but that should
|
|
15007
|
+
# okay in the real world where ";" in dirpaths is itself problematic.
|
|
15008
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
|
15009
|
+
else
|
|
15010
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
|
15011
|
+
fi
|
|
15012
|
+
else
|
|
15013
|
+
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
|
15014
|
+
fi
|
|
15282
15015
|
need_lib_prefix=unknown
|
|
15283
15016
|
hardcode_into_libs=no
|
|
15284
15017
|
|
|
@@ -15435,7 +15168,12 @@ darwin* | rhapsody*)
|
|
|
15435
15168
|
shlibpath_overrides_runpath=yes
|
|
15436
15169
|
shlibpath_var=DYLD_LIBRARY_PATH
|
|
15437
15170
|
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
|
15438
|
-
|
|
15171
|
+
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
|
|
15172
|
+
if test "$GCC" = yes; then
|
|
15173
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
|
|
15174
|
+
else
|
|
15175
|
+
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
|
|
15176
|
+
fi
|
|
15439
15177
|
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
|
15440
15178
|
;;
|
|
15441
15179
|
|
|
@@ -15489,7 +15227,7 @@ freebsd* | dragonfly*)
|
|
|
15489
15227
|
shlibpath_overrides_runpath=no
|
|
15490
15228
|
hardcode_into_libs=yes
|
|
15491
15229
|
;;
|
|
15492
|
-
*) # from 4.6 on
|
|
15230
|
+
freebsd*) # from 4.6 on
|
|
15493
15231
|
shlibpath_overrides_runpath=yes
|
|
15494
15232
|
hardcode_into_libs=yes
|
|
15495
15233
|
;;
|
|
@@ -15552,7 +15290,7 @@ hpux9* | hpux10* | hpux11*)
|
|
|
15552
15290
|
postinstall_cmds='chmod 555 $lib'
|
|
15553
15291
|
;;
|
|
15554
15292
|
|
|
15555
|
-
|
|
15293
|
+
interix3*)
|
|
15556
15294
|
version_type=linux
|
|
15557
15295
|
need_lib_prefix=no
|
|
15558
15296
|
need_version=no
|
|
@@ -15620,13 +15358,11 @@ linux* | k*bsd*-gnu)
|
|
|
15620
15358
|
# Some rework will be needed to allow for fast_install
|
|
15621
15359
|
# before this can be enabled.
|
|
15622
15360
|
hardcode_into_libs=yes
|
|
15623
|
-
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
15624
|
-
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
15625
15361
|
|
|
15626
15362
|
# Append ld.so.conf contents to the search path
|
|
15627
15363
|
if test -f /etc/ld.so.conf; then
|
|
15628
|
-
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s
|
|
15629
|
-
sys_lib_dlsearch_path_spec="
|
|
15364
|
+
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
|
15365
|
+
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
15630
15366
|
fi
|
|
15631
15367
|
|
|
15632
15368
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
@@ -15638,6 +15374,18 @@ linux* | k*bsd*-gnu)
|
|
|
15638
15374
|
dynamic_linker='GNU/Linux ld.so'
|
|
15639
15375
|
;;
|
|
15640
15376
|
|
|
15377
|
+
netbsdelf*-gnu)
|
|
15378
|
+
version_type=linux
|
|
15379
|
+
need_lib_prefix=no
|
|
15380
|
+
need_version=no
|
|
15381
|
+
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
15382
|
+
soname_spec='${libname}${release}${shared_ext}$major'
|
|
15383
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
15384
|
+
shlibpath_overrides_runpath=no
|
|
15385
|
+
hardcode_into_libs=yes
|
|
15386
|
+
dynamic_linker='NetBSD ld.elf_so'
|
|
15387
|
+
;;
|
|
15388
|
+
|
|
15641
15389
|
netbsd*)
|
|
15642
15390
|
version_type=sunos
|
|
15643
15391
|
need_lib_prefix=no
|
|
@@ -15719,10 +15467,6 @@ osf3* | osf4* | osf5*)
|
|
|
15719
15467
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
|
15720
15468
|
;;
|
|
15721
15469
|
|
|
15722
|
-
rdos*)
|
|
15723
|
-
dynamic_linker=no
|
|
15724
|
-
;;
|
|
15725
|
-
|
|
15726
15470
|
solaris*)
|
|
15727
15471
|
version_type=linux
|
|
15728
15472
|
need_lib_prefix=no
|
|
@@ -15917,7 +15661,6 @@ if test -f "$ltmain"; then
|
|
|
15917
15661
|
module_cmds_F77 \
|
|
15918
15662
|
module_expsym_cmds_F77 \
|
|
15919
15663
|
lt_cv_prog_compiler_c_o_F77 \
|
|
15920
|
-
fix_srcfile_path_F77 \
|
|
15921
15664
|
exclude_expsyms_F77 \
|
|
15922
15665
|
include_expsyms_F77; do
|
|
15923
15666
|
|
|
@@ -16238,7 +15981,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
16238
15981
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
16239
15982
|
|
|
16240
15983
|
# Fix the shell variable \$srcfile for the compiler.
|
|
16241
|
-
fix_srcfile_path
|
|
15984
|
+
fix_srcfile_path="$fix_srcfile_path_F77"
|
|
16242
15985
|
|
|
16243
15986
|
# Set to yes if exported symbols are required.
|
|
16244
15987
|
always_export_symbols=$always_export_symbols_F77
|
|
@@ -16296,10 +16039,10 @@ objext=o
|
|
|
16296
16039
|
objext_GCJ=$objext
|
|
16297
16040
|
|
|
16298
16041
|
# Code to be used in simple compile tests
|
|
16299
|
-
lt_simple_compile_test_code="class foo {}"
|
|
16042
|
+
lt_simple_compile_test_code="class foo {}\n"
|
|
16300
16043
|
|
|
16301
16044
|
# Code to be used in simple link tests
|
|
16302
|
-
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
|
|
16045
|
+
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
|
|
16303
16046
|
|
|
16304
16047
|
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
|
16305
16048
|
|
|
@@ -16315,13 +16058,13 @@ compiler=$CC
|
|
|
16315
16058
|
|
|
16316
16059
|
# save warnings/boilerplate of simple test code
|
|
16317
16060
|
ac_outfile=conftest.$ac_objext
|
|
16318
|
-
|
|
16061
|
+
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
|
|
16319
16062
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
16320
16063
|
_lt_compiler_boilerplate=`cat conftest.err`
|
|
16321
16064
|
$rm conftest*
|
|
16322
16065
|
|
|
16323
16066
|
ac_outfile=conftest.$ac_objext
|
|
16324
|
-
|
|
16067
|
+
printf "$lt_simple_link_test_code" >conftest.$ac_ext
|
|
16325
16068
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
16326
16069
|
_lt_linker_boilerplate=`cat conftest.err`
|
|
16327
16070
|
$rm conftest*
|
|
@@ -16362,7 +16105,7 @@ if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
|
|
|
16362
16105
|
else
|
|
16363
16106
|
lt_cv_prog_compiler_rtti_exceptions=no
|
|
16364
16107
|
ac_outfile=conftest.$ac_objext
|
|
16365
|
-
|
|
16108
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
16366
16109
|
lt_compiler_flag="-fno-rtti -fno-exceptions"
|
|
16367
16110
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
16368
16111
|
# (2) before a word containing "conftest.", or (3) at the end.
|
|
@@ -16373,11 +16116,11 @@ else
|
|
|
16373
16116
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
16374
16117
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
16375
16118
|
-e 's:$: $lt_compiler_flag:'`
|
|
16376
|
-
(eval echo "\"\$as_me:
|
|
16119
|
+
(eval echo "\"\$as_me:16119: $lt_compile\"" >&5)
|
|
16377
16120
|
(eval "$lt_compile" 2>conftest.err)
|
|
16378
16121
|
ac_status=$?
|
|
16379
16122
|
cat conftest.err >&5
|
|
16380
|
-
echo "$as_me:
|
|
16123
|
+
echo "$as_me:16123: \$? = $ac_status" >&5
|
|
16381
16124
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
16382
16125
|
# The compiler can only warn and ignore the option if not recognized
|
|
16383
16126
|
# So say no if there are warnings other than the usual output.
|
|
@@ -16428,15 +16171,13 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
16428
16171
|
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
|
|
16429
16172
|
;;
|
|
16430
16173
|
|
|
16431
|
-
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
16174
|
+
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
16432
16175
|
# PIC is the default for these OSes.
|
|
16433
16176
|
;;
|
|
16434
16177
|
|
|
16435
|
-
mingw* |
|
|
16178
|
+
mingw* | pw32* | os2*)
|
|
16436
16179
|
# This hack is so that the source file can tell whether it is being
|
|
16437
16180
|
# built for inclusion in a dll (and should export symbols for example).
|
|
16438
|
-
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
16439
|
-
# (--disable-auto-import) libraries
|
|
16440
16181
|
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
|
|
16441
16182
|
;;
|
|
16442
16183
|
|
|
@@ -16446,7 +16187,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
16446
16187
|
lt_prog_compiler_pic_GCJ='-fno-common'
|
|
16447
16188
|
;;
|
|
16448
16189
|
|
|
16449
|
-
|
|
16190
|
+
interix3*)
|
|
16450
16191
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
|
16451
16192
|
# Instead, we relocate shared libraries at runtime.
|
|
16452
16193
|
;;
|
|
@@ -16504,7 +16245,7 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
16504
16245
|
esac
|
|
16505
16246
|
;;
|
|
16506
16247
|
|
|
16507
|
-
mingw* |
|
|
16248
|
+
mingw* | pw32* | os2*)
|
|
16508
16249
|
# This hack is so that the source file can tell whether it is being
|
|
16509
16250
|
# built for inclusion in a dll (and should export symbols for example).
|
|
16510
16251
|
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
|
|
@@ -16556,22 +16297,6 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
16556
16297
|
# All Alpha code is PIC.
|
|
16557
16298
|
lt_prog_compiler_static_GCJ='-non_shared'
|
|
16558
16299
|
;;
|
|
16559
|
-
*)
|
|
16560
|
-
case `$CC -V 2>&1 | sed 5q` in
|
|
16561
|
-
*Sun\ C*)
|
|
16562
|
-
# Sun C 5.9
|
|
16563
|
-
lt_prog_compiler_pic_GCJ='-KPIC'
|
|
16564
|
-
lt_prog_compiler_static_GCJ='-Bstatic'
|
|
16565
|
-
lt_prog_compiler_wl_GCJ='-Wl,'
|
|
16566
|
-
;;
|
|
16567
|
-
*Sun\ F*)
|
|
16568
|
-
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
|
16569
|
-
lt_prog_compiler_pic_GCJ='-KPIC'
|
|
16570
|
-
lt_prog_compiler_static_GCJ='-Bstatic'
|
|
16571
|
-
lt_prog_compiler_wl_GCJ=''
|
|
16572
|
-
;;
|
|
16573
|
-
esac
|
|
16574
|
-
;;
|
|
16575
16300
|
esac
|
|
16576
16301
|
;;
|
|
16577
16302
|
|
|
@@ -16581,10 +16306,6 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
16581
16306
|
lt_prog_compiler_static_GCJ='-non_shared'
|
|
16582
16307
|
;;
|
|
16583
16308
|
|
|
16584
|
-
rdos*)
|
|
16585
|
-
lt_prog_compiler_static_GCJ='-non_shared'
|
|
16586
|
-
;;
|
|
16587
|
-
|
|
16588
16309
|
solaris*)
|
|
16589
16310
|
lt_prog_compiler_pic_GCJ='-KPIC'
|
|
16590
16311
|
lt_prog_compiler_static_GCJ='-Bstatic'
|
|
@@ -16652,7 +16373,7 @@ if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
|
|
|
16652
16373
|
else
|
|
16653
16374
|
lt_prog_compiler_pic_works_GCJ=no
|
|
16654
16375
|
ac_outfile=conftest.$ac_objext
|
|
16655
|
-
|
|
16376
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
16656
16377
|
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
|
|
16657
16378
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
16658
16379
|
# (2) before a word containing "conftest.", or (3) at the end.
|
|
@@ -16663,11 +16384,11 @@ else
|
|
|
16663
16384
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
16664
16385
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
16665
16386
|
-e 's:$: $lt_compiler_flag:'`
|
|
16666
|
-
(eval echo "\"\$as_me:
|
|
16387
|
+
(eval echo "\"\$as_me:16387: $lt_compile\"" >&5)
|
|
16667
16388
|
(eval "$lt_compile" 2>conftest.err)
|
|
16668
16389
|
ac_status=$?
|
|
16669
16390
|
cat conftest.err >&5
|
|
16670
|
-
echo "$as_me:
|
|
16391
|
+
echo "$as_me:16391: \$? = $ac_status" >&5
|
|
16671
16392
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
16672
16393
|
# The compiler can only warn and ignore the option if not recognized
|
|
16673
16394
|
# So say no if there are warnings other than the usual output.
|
|
@@ -16716,7 +16437,7 @@ else
|
|
|
16716
16437
|
lt_prog_compiler_static_works_GCJ=no
|
|
16717
16438
|
save_LDFLAGS="$LDFLAGS"
|
|
16718
16439
|
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
16719
|
-
|
|
16440
|
+
printf "$lt_simple_link_test_code" > conftest.$ac_ext
|
|
16720
16441
|
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
|
16721
16442
|
# The linker can only warn and ignore the option if not recognized
|
|
16722
16443
|
# So say no if there are warnings
|
|
@@ -16756,7 +16477,7 @@ else
|
|
|
16756
16477
|
mkdir conftest
|
|
16757
16478
|
cd conftest
|
|
16758
16479
|
mkdir out
|
|
16759
|
-
|
|
16480
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
16760
16481
|
|
|
16761
16482
|
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
|
16762
16483
|
# Insert the option either (1) after the last *FLAGS variable, or
|
|
@@ -16767,11 +16488,11 @@ else
|
|
|
16767
16488
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
16768
16489
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
16769
16490
|
-e 's:$: $lt_compiler_flag:'`
|
|
16770
|
-
(eval echo "\"\$as_me:
|
|
16491
|
+
(eval echo "\"\$as_me:16491: $lt_compile\"" >&5)
|
|
16771
16492
|
(eval "$lt_compile" 2>out/conftest.err)
|
|
16772
16493
|
ac_status=$?
|
|
16773
16494
|
cat out/conftest.err >&5
|
|
16774
|
-
echo "$as_me:
|
|
16495
|
+
echo "$as_me:16495: \$? = $ac_status" >&5
|
|
16775
16496
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
16776
16497
|
then
|
|
16777
16498
|
# The compiler can only warn and ignore the option if not recognized
|
|
@@ -16963,7 +16684,7 @@ EOF
|
|
|
16963
16684
|
allow_undefined_flag_GCJ=unsupported
|
|
16964
16685
|
always_export_symbols_GCJ=no
|
|
16965
16686
|
enable_shared_with_static_runtimes_GCJ=yes
|
|
16966
|
-
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS]
|
|
16687
|
+
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
|
|
16967
16688
|
|
|
16968
16689
|
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
|
16969
16690
|
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
@@ -16981,7 +16702,7 @@ EOF
|
|
|
16981
16702
|
fi
|
|
16982
16703
|
;;
|
|
16983
16704
|
|
|
16984
|
-
|
|
16705
|
+
interix3*)
|
|
16985
16706
|
hardcode_direct_GCJ=no
|
|
16986
16707
|
hardcode_shlibpath_var_GCJ=no
|
|
16987
16708
|
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
@@ -16996,7 +16717,7 @@ EOF
|
|
|
16996
16717
|
archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
16997
16718
|
;;
|
|
16998
16719
|
|
|
16999
|
-
|
|
16720
|
+
linux* | k*bsd*-gnu)
|
|
17000
16721
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
|
17001
16722
|
tmp_addflag=
|
|
17002
16723
|
case $cc_basename,$host_cpu in
|
|
@@ -17014,29 +16735,21 @@ EOF
|
|
|
17014
16735
|
ifc* | ifort*) # Intel Fortran compiler
|
|
17015
16736
|
tmp_addflag=' -nofor_main' ;;
|
|
17016
16737
|
esac
|
|
17017
|
-
|
|
17018
|
-
*Sun\ C*) # Sun C 5.9
|
|
17019
|
-
whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
|
|
17020
|
-
tmp_sharedflag='-G' ;;
|
|
17021
|
-
*Sun\ F*) # Sun Fortran 8.3
|
|
17022
|
-
tmp_sharedflag='-G' ;;
|
|
17023
|
-
*)
|
|
17024
|
-
tmp_sharedflag='-shared' ;;
|
|
17025
|
-
esac
|
|
17026
|
-
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
16738
|
+
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
17027
16739
|
|
|
17028
16740
|
if test $supports_anon_versioning = yes; then
|
|
17029
16741
|
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
|
|
17030
16742
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
17031
16743
|
$echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
17032
|
-
$CC '"$
|
|
16744
|
+
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
|
17033
16745
|
fi
|
|
16746
|
+
link_all_deplibs_GCJ=no
|
|
17034
16747
|
else
|
|
17035
16748
|
ld_shlibs_GCJ=no
|
|
17036
16749
|
fi
|
|
17037
16750
|
;;
|
|
17038
16751
|
|
|
17039
|
-
netbsd*)
|
|
16752
|
+
netbsd* | netbsdelf*-gnu)
|
|
17040
16753
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
17041
16754
|
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
|
17042
16755
|
wlarc=
|
|
@@ -17188,7 +16901,7 @@ _LT_EOF
|
|
|
17188
16901
|
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
|
17189
16902
|
then
|
|
17190
16903
|
# We have reworked collect2
|
|
17191
|
-
|
|
16904
|
+
hardcode_direct_GCJ=yes
|
|
17192
16905
|
else
|
|
17193
16906
|
# We have old collect2
|
|
17194
16907
|
hardcode_direct_GCJ=unsupported
|
|
@@ -17262,18 +16975,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
17262
16975
|
} && test -s conftest$ac_exeext &&
|
|
17263
16976
|
$as_test_x conftest$ac_exeext; then
|
|
17264
16977
|
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
/^0/ {
|
|
17268
|
-
s/^0 *\(.*\)$/\1/
|
|
17269
|
-
p
|
|
17270
|
-
}
|
|
17271
|
-
}'
|
|
17272
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
16978
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
16979
|
+
}'`
|
|
17273
16980
|
# Check for a 64-bit object if we didn't find anything.
|
|
17274
|
-
if test -z "$aix_libpath"; then
|
|
17275
|
-
|
|
17276
|
-
fi
|
|
16981
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
16982
|
+
}'`; fi
|
|
17277
16983
|
else
|
|
17278
16984
|
echo "$as_me: failed program was:" >&5
|
|
17279
16985
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -17328,18 +17034,11 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
17328
17034
|
} && test -s conftest$ac_exeext &&
|
|
17329
17035
|
$as_test_x conftest$ac_exeext; then
|
|
17330
17036
|
|
|
17331
|
-
|
|
17332
|
-
|
|
17333
|
-
/^0/ {
|
|
17334
|
-
s/^0 *\(.*\)$/\1/
|
|
17335
|
-
p
|
|
17336
|
-
}
|
|
17337
|
-
}'
|
|
17338
|
-
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
17037
|
+
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
17038
|
+
}'`
|
|
17339
17039
|
# Check for a 64-bit object if we didn't find anything.
|
|
17340
|
-
if test -z "$aix_libpath"; then
|
|
17341
|
-
|
|
17342
|
-
fi
|
|
17040
|
+
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
|
17041
|
+
}'`; fi
|
|
17343
17042
|
else
|
|
17344
17043
|
echo "$as_me: failed program was:" >&5
|
|
17345
17044
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
@@ -17393,7 +17092,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
17393
17092
|
# The linker will automatically build a .lib file if we build a DLL.
|
|
17394
17093
|
old_archive_From_new_cmds_GCJ='true'
|
|
17395
17094
|
# FIXME: Should let the user specify the lib program.
|
|
17396
|
-
old_archive_cmds_GCJ='lib
|
|
17095
|
+
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
|
|
17397
17096
|
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
|
|
17398
17097
|
enable_shared_with_static_runtimes_GCJ=yes
|
|
17399
17098
|
;;
|
|
@@ -17435,10 +17134,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
17435
17134
|
case $cc_basename in
|
|
17436
17135
|
xlc*)
|
|
17437
17136
|
output_verbose_link_cmd='echo'
|
|
17438
|
-
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $
|
|
17137
|
+
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
|
|
17439
17138
|
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
|
|
17440
17139
|
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
|
|
17441
|
-
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $
|
|
17140
|
+
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
17442
17141
|
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
17443
17142
|
;;
|
|
17444
17143
|
*)
|
|
@@ -17580,7 +17279,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
17580
17279
|
link_all_deplibs_GCJ=yes
|
|
17581
17280
|
;;
|
|
17582
17281
|
|
|
17583
|
-
netbsd*)
|
|
17282
|
+
netbsd* | netbsdelf*-gnu)
|
|
17584
17283
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
17585
17284
|
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
17586
17285
|
else
|
|
@@ -17600,28 +17299,24 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
17600
17299
|
;;
|
|
17601
17300
|
|
|
17602
17301
|
openbsd*)
|
|
17603
|
-
|
|
17604
|
-
|
|
17605
|
-
|
|
17606
|
-
|
|
17607
|
-
|
|
17608
|
-
|
|
17609
|
-
|
|
17610
|
-
export_dynamic_flag_spec_GCJ='${wl}-E'
|
|
17611
|
-
else
|
|
17612
|
-
case $host_os in
|
|
17613
|
-
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
|
17614
|
-
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
17615
|
-
hardcode_libdir_flag_spec_GCJ='-R$libdir'
|
|
17616
|
-
;;
|
|
17617
|
-
*)
|
|
17618
|
-
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
17619
|
-
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
17620
|
-
;;
|
|
17621
|
-
esac
|
|
17622
|
-
fi
|
|
17302
|
+
hardcode_direct_GCJ=yes
|
|
17303
|
+
hardcode_shlibpath_var_GCJ=no
|
|
17304
|
+
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
17305
|
+
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
17306
|
+
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
17307
|
+
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
17308
|
+
export_dynamic_flag_spec_GCJ='${wl}-E'
|
|
17623
17309
|
else
|
|
17624
|
-
|
|
17310
|
+
case $host_os in
|
|
17311
|
+
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
|
17312
|
+
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
17313
|
+
hardcode_libdir_flag_spec_GCJ='-R$libdir'
|
|
17314
|
+
;;
|
|
17315
|
+
*)
|
|
17316
|
+
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
17317
|
+
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
|
|
17318
|
+
;;
|
|
17319
|
+
esac
|
|
17625
17320
|
fi
|
|
17626
17321
|
;;
|
|
17627
17322
|
|
|
@@ -17680,16 +17375,17 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
17680
17375
|
case $host_os in
|
|
17681
17376
|
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
|
17682
17377
|
*)
|
|
17683
|
-
|
|
17684
|
-
|
|
17685
|
-
|
|
17378
|
+
# The compiler driver will combine linker options so we
|
|
17379
|
+
# cannot just pass the convience library names through
|
|
17380
|
+
# without $wl, iff we do not link with $LD.
|
|
17381
|
+
# Luckily, gcc supports the same syntax we need for Sun Studio.
|
|
17686
17382
|
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
|
17687
|
-
|
|
17688
|
-
|
|
17689
|
-
|
|
17690
|
-
|
|
17691
|
-
|
|
17692
|
-
|
|
17383
|
+
case $wlarc in
|
|
17384
|
+
'')
|
|
17385
|
+
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
|
|
17386
|
+
*)
|
|
17387
|
+
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
|
|
17388
|
+
esac ;;
|
|
17693
17389
|
esac
|
|
17694
17390
|
link_all_deplibs_GCJ=yes
|
|
17695
17391
|
;;
|
|
@@ -17746,7 +17442,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
|
|
17746
17442
|
fi
|
|
17747
17443
|
;;
|
|
17748
17444
|
|
|
17749
|
-
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*
|
|
17445
|
+
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
|
|
17750
17446
|
no_undefined_flag_GCJ='${wl}-z,text'
|
|
17751
17447
|
archive_cmds_need_lc_GCJ=no
|
|
17752
17448
|
hardcode_shlibpath_var_GCJ=no
|
|
@@ -17823,7 +17519,7 @@ x|xyes)
|
|
|
17823
17519
|
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
|
17824
17520
|
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
17825
17521
|
$rm conftest*
|
|
17826
|
-
|
|
17522
|
+
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
17827
17523
|
|
|
17828
17524
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
17829
17525
|
(eval $ac_compile) 2>&5
|
|
@@ -17881,7 +17577,20 @@ shlibpath_overrides_runpath=unknown
|
|
|
17881
17577
|
version_type=none
|
|
17882
17578
|
dynamic_linker="$host_os ld.so"
|
|
17883
17579
|
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
|
17884
|
-
|
|
17580
|
+
if test "$GCC" = yes; then
|
|
17581
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
|
|
17582
|
+
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
|
|
17583
|
+
# if the path contains ";" then we assume it to be the separator
|
|
17584
|
+
# otherwise default to the standard path separator (i.e. ":") - it is
|
|
17585
|
+
# assumed that no part of a normal pathname contains ";" but that should
|
|
17586
|
+
# okay in the real world where ";" in dirpaths is itself problematic.
|
|
17587
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
|
17588
|
+
else
|
|
17589
|
+
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
|
17590
|
+
fi
|
|
17591
|
+
else
|
|
17592
|
+
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
|
17593
|
+
fi
|
|
17885
17594
|
need_lib_prefix=unknown
|
|
17886
17595
|
hardcode_into_libs=no
|
|
17887
17596
|
|
|
@@ -18038,7 +17747,12 @@ darwin* | rhapsody*)
|
|
|
18038
17747
|
shlibpath_overrides_runpath=yes
|
|
18039
17748
|
shlibpath_var=DYLD_LIBRARY_PATH
|
|
18040
17749
|
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
|
18041
|
-
|
|
17750
|
+
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
|
|
17751
|
+
if test "$GCC" = yes; then
|
|
17752
|
+
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
|
|
17753
|
+
else
|
|
17754
|
+
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
|
|
17755
|
+
fi
|
|
18042
17756
|
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
|
18043
17757
|
;;
|
|
18044
17758
|
|
|
@@ -18092,7 +17806,7 @@ freebsd* | dragonfly*)
|
|
|
18092
17806
|
shlibpath_overrides_runpath=no
|
|
18093
17807
|
hardcode_into_libs=yes
|
|
18094
17808
|
;;
|
|
18095
|
-
*) # from 4.6 on
|
|
17809
|
+
freebsd*) # from 4.6 on
|
|
18096
17810
|
shlibpath_overrides_runpath=yes
|
|
18097
17811
|
hardcode_into_libs=yes
|
|
18098
17812
|
;;
|
|
@@ -18155,7 +17869,7 @@ hpux9* | hpux10* | hpux11*)
|
|
|
18155
17869
|
postinstall_cmds='chmod 555 $lib'
|
|
18156
17870
|
;;
|
|
18157
17871
|
|
|
18158
|
-
|
|
17872
|
+
interix3*)
|
|
18159
17873
|
version_type=linux
|
|
18160
17874
|
need_lib_prefix=no
|
|
18161
17875
|
need_version=no
|
|
@@ -18223,13 +17937,11 @@ linux* | k*bsd*-gnu)
|
|
|
18223
17937
|
# Some rework will be needed to allow for fast_install
|
|
18224
17938
|
# before this can be enabled.
|
|
18225
17939
|
hardcode_into_libs=yes
|
|
18226
|
-
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
|
18227
|
-
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
18228
17940
|
|
|
18229
17941
|
# Append ld.so.conf contents to the search path
|
|
18230
17942
|
if test -f /etc/ld.so.conf; then
|
|
18231
|
-
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s
|
|
18232
|
-
sys_lib_dlsearch_path_spec="
|
|
17943
|
+
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
|
17944
|
+
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
18233
17945
|
fi
|
|
18234
17946
|
|
|
18235
17947
|
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
@@ -18241,6 +17953,18 @@ linux* | k*bsd*-gnu)
|
|
|
18241
17953
|
dynamic_linker='GNU/Linux ld.so'
|
|
18242
17954
|
;;
|
|
18243
17955
|
|
|
17956
|
+
netbsdelf*-gnu)
|
|
17957
|
+
version_type=linux
|
|
17958
|
+
need_lib_prefix=no
|
|
17959
|
+
need_version=no
|
|
17960
|
+
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
17961
|
+
soname_spec='${libname}${release}${shared_ext}$major'
|
|
17962
|
+
shlibpath_var=LD_LIBRARY_PATH
|
|
17963
|
+
shlibpath_overrides_runpath=no
|
|
17964
|
+
hardcode_into_libs=yes
|
|
17965
|
+
dynamic_linker='NetBSD ld.elf_so'
|
|
17966
|
+
;;
|
|
17967
|
+
|
|
18244
17968
|
netbsd*)
|
|
18245
17969
|
version_type=sunos
|
|
18246
17970
|
need_lib_prefix=no
|
|
@@ -18322,10 +18046,6 @@ osf3* | osf4* | osf5*)
|
|
|
18322
18046
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
|
18323
18047
|
;;
|
|
18324
18048
|
|
|
18325
|
-
rdos*)
|
|
18326
|
-
dynamic_linker=no
|
|
18327
|
-
;;
|
|
18328
|
-
|
|
18329
18049
|
solaris*)
|
|
18330
18050
|
version_type=linux
|
|
18331
18051
|
need_lib_prefix=no
|
|
@@ -18520,7 +18240,6 @@ if test -f "$ltmain"; then
|
|
|
18520
18240
|
module_cmds_GCJ \
|
|
18521
18241
|
module_expsym_cmds_GCJ \
|
|
18522
18242
|
lt_cv_prog_compiler_c_o_GCJ \
|
|
18523
|
-
fix_srcfile_path_GCJ \
|
|
18524
18243
|
exclude_expsyms_GCJ \
|
|
18525
18244
|
include_expsyms_GCJ; do
|
|
18526
18245
|
|
|
@@ -18841,7 +18560,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
18841
18560
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
18842
18561
|
|
|
18843
18562
|
# Fix the shell variable \$srcfile for the compiler.
|
|
18844
|
-
fix_srcfile_path
|
|
18563
|
+
fix_srcfile_path="$fix_srcfile_path_GCJ"
|
|
18845
18564
|
|
|
18846
18565
|
# Set to yes if exported symbols are required.
|
|
18847
18566
|
always_export_symbols=$always_export_symbols_GCJ
|
|
@@ -18898,7 +18617,7 @@ objext=o
|
|
|
18898
18617
|
objext_RC=$objext
|
|
18899
18618
|
|
|
18900
18619
|
# Code to be used in simple compile tests
|
|
18901
|
-
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
|
|
18620
|
+
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
|
|
18902
18621
|
|
|
18903
18622
|
# Code to be used in simple link tests
|
|
18904
18623
|
lt_simple_link_test_code="$lt_simple_compile_test_code"
|
|
@@ -18917,13 +18636,13 @@ compiler=$CC
|
|
|
18917
18636
|
|
|
18918
18637
|
# save warnings/boilerplate of simple test code
|
|
18919
18638
|
ac_outfile=conftest.$ac_objext
|
|
18920
|
-
|
|
18639
|
+
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
|
|
18921
18640
|
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
18922
18641
|
_lt_compiler_boilerplate=`cat conftest.err`
|
|
18923
18642
|
$rm conftest*
|
|
18924
18643
|
|
|
18925
18644
|
ac_outfile=conftest.$ac_objext
|
|
18926
|
-
|
|
18645
|
+
printf "$lt_simple_link_test_code" >conftest.$ac_ext
|
|
18927
18646
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
18928
18647
|
_lt_linker_boilerplate=`cat conftest.err`
|
|
18929
18648
|
$rm conftest*
|
|
@@ -19001,7 +18720,6 @@ if test -f "$ltmain"; then
|
|
|
19001
18720
|
module_cmds_RC \
|
|
19002
18721
|
module_expsym_cmds_RC \
|
|
19003
18722
|
lt_cv_prog_compiler_c_o_RC \
|
|
19004
|
-
fix_srcfile_path_RC \
|
|
19005
18723
|
exclude_expsyms_RC \
|
|
19006
18724
|
include_expsyms_RC; do
|
|
19007
18725
|
|
|
@@ -19322,7 +19040,7 @@ sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
19322
19040
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
19323
19041
|
|
|
19324
19042
|
# Fix the shell variable \$srcfile for the compiler.
|
|
19325
|
-
fix_srcfile_path
|
|
19043
|
+
fix_srcfile_path="$fix_srcfile_path_RC"
|
|
19326
19044
|
|
|
19327
19045
|
# Set to yes if exported symbols are required.
|
|
19328
19046
|
always_export_symbols=$always_export_symbols_RC
|
|
@@ -19434,7 +19152,8 @@ fi
|
|
|
19434
19152
|
|
|
19435
19153
|
|
|
19436
19154
|
|
|
19437
|
-
|
|
19155
|
+
|
|
19156
|
+
for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h
|
|
19438
19157
|
do
|
|
19439
19158
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
19440
19159
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
@@ -19580,7 +19299,8 @@ done
|
|
|
19580
19299
|
|
|
19581
19300
|
|
|
19582
19301
|
|
|
19583
|
-
|
|
19302
|
+
|
|
19303
|
+
for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd
|
|
19584
19304
|
do
|
|
19585
19305
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
19586
19306
|
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
@@ -20754,7 +20474,6 @@ gives unlimited permission to copy, distribute and modify it."
|
|
|
20754
20474
|
ac_pwd='$ac_pwd'
|
|
20755
20475
|
srcdir='$srcdir'
|
|
20756
20476
|
INSTALL='$INSTALL'
|
|
20757
|
-
MKDIR_P='$MKDIR_P'
|
|
20758
20477
|
_ACEOF
|
|
20759
20478
|
|
|
20760
20479
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
@@ -20962,7 +20681,6 @@ target_alias!$target_alias$ac_delim
|
|
|
20962
20681
|
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
|
20963
20682
|
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
|
20964
20683
|
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
|
20965
|
-
am__isrc!$am__isrc$ac_delim
|
|
20966
20684
|
CYGPATH_W!$CYGPATH_W$ac_delim
|
|
20967
20685
|
PACKAGE!$PACKAGE$ac_delim
|
|
20968
20686
|
VERSION!$VERSION$ac_delim
|
|
@@ -20971,16 +20689,13 @@ AUTOCONF!$AUTOCONF$ac_delim
|
|
|
20971
20689
|
AUTOMAKE!$AUTOMAKE$ac_delim
|
|
20972
20690
|
AUTOHEADER!$AUTOHEADER$ac_delim
|
|
20973
20691
|
MAKEINFO!$MAKEINFO$ac_delim
|
|
20692
|
+
AMTAR!$AMTAR$ac_delim
|
|
20974
20693
|
install_sh!$install_sh$ac_delim
|
|
20975
20694
|
STRIP!$STRIP$ac_delim
|
|
20976
20695
|
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
|
|
20977
|
-
mkdir_p!$mkdir_p$ac_delim
|
|
20978
20696
|
AWK!$AWK$ac_delim
|
|
20979
20697
|
SET_MAKE!$SET_MAKE$ac_delim
|
|
20980
20698
|
am__leading_dot!$am__leading_dot$ac_delim
|
|
20981
|
-
AMTAR!$AMTAR$ac_delim
|
|
20982
|
-
am__tar!$am__tar$ac_delim
|
|
20983
|
-
am__untar!$am__untar$ac_delim
|
|
20984
20699
|
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
|
|
20985
20700
|
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
|
|
20986
20701
|
MAINT!$MAINT$ac_delim
|
|
@@ -21008,7 +20723,6 @@ AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
|
|
|
21008
20723
|
CCDEPMODE!$CCDEPMODE$ac_delim
|
|
21009
20724
|
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
|
|
21010
20725
|
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
|
|
21011
|
-
SED!$SED$ac_delim
|
|
21012
20726
|
GREP!$GREP$ac_delim
|
|
21013
20727
|
EGREP!$EGREP$ac_delim
|
|
21014
20728
|
LN_S!$LN_S$ac_delim
|
|
@@ -21019,6 +20733,11 @@ CPP!$CPP$ac_delim
|
|
|
21019
20733
|
CXX!$CXX$ac_delim
|
|
21020
20734
|
CXXFLAGS!$CXXFLAGS$ac_delim
|
|
21021
20735
|
ac_ct_CXX!$ac_ct_CXX$ac_delim
|
|
20736
|
+
CXXDEPMODE!$CXXDEPMODE$ac_delim
|
|
20737
|
+
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
|
|
20738
|
+
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
|
|
20739
|
+
CXXCPP!$CXXCPP$ac_delim
|
|
20740
|
+
F77!$F77$ac_delim
|
|
21022
20741
|
_ACEOF
|
|
21023
20742
|
|
|
21024
20743
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
|
@@ -21060,11 +20779,6 @@ _ACEOF
|
|
|
21060
20779
|
ac_delim='%!_!# '
|
|
21061
20780
|
for ac_last_try in false false false false false :; do
|
|
21062
20781
|
cat >conf$$subs.sed <<_ACEOF
|
|
21063
|
-
CXXDEPMODE!$CXXDEPMODE$ac_delim
|
|
21064
|
-
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
|
|
21065
|
-
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
|
|
21066
|
-
CXXCPP!$CXXCPP$ac_delim
|
|
21067
|
-
F77!$F77$ac_delim
|
|
21068
20782
|
FFLAGS!$FFLAGS$ac_delim
|
|
21069
20783
|
ac_ct_F77!$ac_ct_F77$ac_delim
|
|
21070
20784
|
LIBTOOL!$LIBTOOL$ac_delim
|
|
@@ -21072,7 +20786,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
|
|
21072
20786
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
|
21073
20787
|
_ACEOF
|
|
21074
20788
|
|
|
21075
|
-
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` =
|
|
20789
|
+
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then
|
|
21076
20790
|
break
|
|
21077
20791
|
elif $ac_last_try; then
|
|
21078
20792
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
@@ -21299,11 +21013,6 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
|
21299
21013
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
21300
21014
|
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
|
21301
21015
|
esac
|
|
21302
|
-
ac_MKDIR_P=$MKDIR_P
|
|
21303
|
-
case $MKDIR_P in
|
|
21304
|
-
[\\/$]* | ?:[\\/]* ) ;;
|
|
21305
|
-
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
21306
|
-
esac
|
|
21307
21016
|
_ACEOF
|
|
21308
21017
|
|
|
21309
21018
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
@@ -21357,7 +21066,6 @@ s&@builddir@&$ac_builddir&;t t
|
|
|
21357
21066
|
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
21358
21067
|
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
21359
21068
|
s&@INSTALL@&$ac_INSTALL&;t t
|
|
21360
|
-
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|
21361
21069
|
$ac_datarootdir_hack
|
|
21362
21070
|
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
|
|
21363
21071
|
|
|
@@ -21522,9 +21230,8 @@ echo "$as_me: executing $ac_file commands" >&6;}
|
|
|
21522
21230
|
# some people rename them; so instead we look at the file content.
|
|
21523
21231
|
# Grep'ing the first line is not enough: some people post-process
|
|
21524
21232
|
# each Makefile.in and add a new line on top of each file to say so.
|
|
21525
|
-
#
|
|
21526
|
-
|
|
21527
|
-
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
|
|
21233
|
+
# So let's grep whole file.
|
|
21234
|
+
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
|
21528
21235
|
dirpart=`$as_dirname -- "$mf" ||
|
|
21529
21236
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
21530
21237
|
X"$mf" : 'X\(//\)[^/]' \| \
|
|
@@ -21551,21 +21258,27 @@ echo X"$mf" |
|
|
|
21551
21258
|
else
|
|
21552
21259
|
continue
|
|
21553
21260
|
fi
|
|
21554
|
-
|
|
21555
|
-
# from the Makefile without
|
|
21556
|
-
|
|
21261
|
+
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
|
21262
|
+
# Extract the definition of DEP_FILES from the Makefile without
|
|
21263
|
+
# running `make'.
|
|
21264
|
+
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
|
21557
21265
|
test -z "$DEPDIR" && continue
|
|
21558
|
-
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
21559
|
-
test -z "am__include" && continue
|
|
21560
|
-
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
21561
21266
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
|
21562
|
-
U=`sed -n '
|
|
21563
|
-
|
|
21564
|
-
#
|
|
21565
|
-
#
|
|
21566
|
-
|
|
21567
|
-
|
|
21568
|
-
|
|
21267
|
+
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
|
21268
|
+
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
|
21269
|
+
# We invoke sed twice because it is the simplest approach to
|
|
21270
|
+
# changing $(DEPDIR) to its actual value in the expansion.
|
|
21271
|
+
for file in `sed -n -e '
|
|
21272
|
+
/^DEP_FILES = .*\\\\$/ {
|
|
21273
|
+
s/^DEP_FILES = //
|
|
21274
|
+
:loop
|
|
21275
|
+
s/\\\\$//
|
|
21276
|
+
p
|
|
21277
|
+
n
|
|
21278
|
+
/\\\\$/ b loop
|
|
21279
|
+
p
|
|
21280
|
+
}
|
|
21281
|
+
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
|
21569
21282
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
21570
21283
|
# Make sure the directory exists.
|
|
21571
21284
|
test -f "$dirpart/$file" && continue
|