git-svn: trunk@3484
Török Edvin authored on 2008/01/07 01:58:25... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Sun Jan 6 18:26:57 EET 2008 (edwin) |
|
2 |
+------------------------------------ |
|
3 |
+ * build system: avoid bringing in checks for languages we don't use |
|
4 |
+ (decreases configure size by 300Kb+). |
|
5 |
+ |
|
1 | 6 |
Sun Jan 6 15:36:46 CET 2008 (acab) |
2 | 7 |
----------------------------------- |
3 | 8 |
* build system: reenable canadian cross in configure |
... | ... |
@@ -135,10 +135,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
135 | 135 |
CLAMD_LIBS = @CLAMD_LIBS@ |
136 | 136 |
CPP = @CPP@ |
137 | 137 |
CPPFLAGS = @CPPFLAGS@ |
138 |
-CXX = @CXX@ |
|
139 |
-CXXCPP = @CXXCPP@ |
|
140 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
141 |
-CXXFLAGS = @CXXFLAGS@ |
|
142 | 138 |
CYGPATH_W = @CYGPATH_W@ |
143 | 139 |
DBDIR = @DBDIR@ |
144 | 140 |
DEFS = @DEFS@ |
... | ... |
@@ -149,8 +145,6 @@ ECHO_N = @ECHO_N@ |
149 | 149 |
ECHO_T = @ECHO_T@ |
150 | 150 |
EGREP = @EGREP@ |
151 | 151 |
EXEEXT = @EXEEXT@ |
152 |
-F77 = @F77@ |
|
153 |
-FFLAGS = @FFLAGS@ |
|
154 | 152 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
155 | 153 |
GETENT = @GETENT@ |
156 | 154 |
GREP = @GREP@ |
... | ... |
@@ -192,8 +186,6 @@ abs_srcdir = @abs_srcdir@ |
192 | 192 |
abs_top_builddir = @abs_top_builddir@ |
193 | 193 |
abs_top_srcdir = @abs_top_srcdir@ |
194 | 194 |
ac_ct_CC = @ac_ct_CC@ |
195 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
196 |
-ac_ct_F77 = @ac_ct_F77@ |
|
197 | 195 |
am__include = @am__include@ |
198 | 196 |
am__leading_dot = @am__leading_dot@ |
199 | 197 |
am__quote = @am__quote@ |
... | ... |
@@ -118,10 +118,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
118 | 118 |
CLAMD_LIBS = @CLAMD_LIBS@ |
119 | 119 |
CPP = @CPP@ |
120 | 120 |
CPPFLAGS = @CPPFLAGS@ |
121 |
-CXX = @CXX@ |
|
122 |
-CXXCPP = @CXXCPP@ |
|
123 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
124 |
-CXXFLAGS = @CXXFLAGS@ |
|
125 | 121 |
CYGPATH_W = @CYGPATH_W@ |
126 | 122 |
DBDIR = @DBDIR@ |
127 | 123 |
DEFS = @DEFS@ |
... | ... |
@@ -132,8 +128,6 @@ ECHO_N = @ECHO_N@ |
132 | 132 |
ECHO_T = @ECHO_T@ |
133 | 133 |
EGREP = @EGREP@ |
134 | 134 |
EXEEXT = @EXEEXT@ |
135 |
-F77 = @F77@ |
|
136 |
-FFLAGS = @FFLAGS@ |
|
137 | 135 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
138 | 136 |
GETENT = @GETENT@ |
139 | 137 |
GREP = @GREP@ |
... | ... |
@@ -175,8 +169,6 @@ abs_srcdir = @abs_srcdir@ |
175 | 175 |
abs_top_builddir = @abs_top_builddir@ |
176 | 176 |
abs_top_srcdir = @abs_top_srcdir@ |
177 | 177 |
ac_ct_CC = @ac_ct_CC@ |
178 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
179 |
-ac_ct_F77 = @ac_ct_F77@ |
|
180 | 178 |
am__include = @am__include@ |
181 | 179 |
am__leading_dot = @am__leading_dot@ |
182 | 180 |
am__quote = @am__quote@ |
... | ... |
@@ -103,10 +103,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
103 | 103 |
CLAMD_LIBS = @CLAMD_LIBS@ |
104 | 104 |
CPP = @CPP@ |
105 | 105 |
CPPFLAGS = @CPPFLAGS@ |
106 |
-CXX = @CXX@ |
|
107 |
-CXXCPP = @CXXCPP@ |
|
108 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
109 |
-CXXFLAGS = @CXXFLAGS@ |
|
110 | 106 |
CYGPATH_W = @CYGPATH_W@ |
111 | 107 |
DBDIR = @DBDIR@ |
112 | 108 |
DEFS = @DEFS@ -DCL_NOTHREADS |
... | ... |
@@ -117,8 +113,6 @@ ECHO_N = @ECHO_N@ |
117 | 117 |
ECHO_T = @ECHO_T@ |
118 | 118 |
EGREP = @EGREP@ |
119 | 119 |
EXEEXT = @EXEEXT@ |
120 |
-F77 = @F77@ |
|
121 |
-FFLAGS = @FFLAGS@ |
|
122 | 120 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
123 | 121 |
GETENT = @GETENT@ |
124 | 122 |
GREP = @GREP@ |
... | ... |
@@ -160,8 +154,6 @@ abs_srcdir = @abs_srcdir@ |
160 | 160 |
abs_top_builddir = @abs_top_builddir@ |
161 | 161 |
abs_top_srcdir = @abs_top_srcdir@ |
162 | 162 |
ac_ct_CC = @ac_ct_CC@ |
163 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
164 |
-ac_ct_F77 = @ac_ct_F77@ |
|
165 | 163 |
am__include = @am__include@ |
166 | 164 |
am__leading_dot = @am__leading_dot@ |
167 | 165 |
am__quote = @am__quote@ |
... | ... |
@@ -123,10 +123,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
123 | 123 |
CLAMD_LIBS = @CLAMD_LIBS@ |
124 | 124 |
CPP = @CPP@ |
125 | 125 |
CPPFLAGS = @CPPFLAGS@ |
126 |
-CXX = @CXX@ |
|
127 |
-CXXCPP = @CXXCPP@ |
|
128 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
129 |
-CXXFLAGS = @CXXFLAGS@ |
|
130 | 126 |
CYGPATH_W = @CYGPATH_W@ |
131 | 127 |
DBDIR = @DBDIR@ |
132 | 128 |
DEFS = @DEFS@ |
... | ... |
@@ -137,8 +133,6 @@ ECHO_N = @ECHO_N@ |
137 | 137 |
ECHO_T = @ECHO_T@ |
138 | 138 |
EGREP = @EGREP@ |
139 | 139 |
EXEEXT = @EXEEXT@ |
140 |
-F77 = @F77@ |
|
141 |
-FFLAGS = @FFLAGS@ |
|
142 | 140 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
143 | 141 |
GETENT = @GETENT@ |
144 | 142 |
GREP = @GREP@ |
... | ... |
@@ -180,8 +174,6 @@ abs_srcdir = @abs_srcdir@ |
180 | 180 |
abs_top_builddir = @abs_top_builddir@ |
181 | 181 |
abs_top_srcdir = @abs_top_srcdir@ |
182 | 182 |
ac_ct_CC = @ac_ct_CC@ |
183 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
184 |
-ac_ct_F77 = @ac_ct_F77@ |
|
185 | 183 |
am__include = @am__include@ |
186 | 184 |
am__leading_dot = @am__leading_dot@ |
187 | 185 |
am__quote = @am__quote@ |
... | ... |
@@ -112,10 +112,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
112 | 112 |
CLAMD_LIBS = @CLAMD_LIBS@ |
113 | 113 |
CPP = @CPP@ |
114 | 114 |
CPPFLAGS = @CPPFLAGS@ |
115 |
-CXX = @CXX@ |
|
116 |
-CXXCPP = @CXXCPP@ |
|
117 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
118 |
-CXXFLAGS = @CXXFLAGS@ |
|
119 | 115 |
CYGPATH_W = @CYGPATH_W@ |
120 | 116 |
DBDIR = @DBDIR@ |
121 | 117 |
DEFS = @DEFS@ -DCL_NOTHREADS |
... | ... |
@@ -126,8 +122,6 @@ ECHO_N = @ECHO_N@ |
126 | 126 |
ECHO_T = @ECHO_T@ |
127 | 127 |
EGREP = @EGREP@ |
128 | 128 |
EXEEXT = @EXEEXT@ |
129 |
-F77 = @F77@ |
|
130 |
-FFLAGS = @FFLAGS@ |
|
131 | 129 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
132 | 130 |
GETENT = @GETENT@ |
133 | 131 |
GREP = @GREP@ |
... | ... |
@@ -169,8 +163,6 @@ abs_srcdir = @abs_srcdir@ |
169 | 169 |
abs_top_builddir = @abs_top_builddir@ |
170 | 170 |
abs_top_srcdir = @abs_top_srcdir@ |
171 | 171 |
ac_ct_CC = @ac_ct_CC@ |
172 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
173 |
-ac_ct_F77 = @ac_ct_F77@ |
|
174 | 172 |
am__include = @am__include@ |
175 | 173 |
am__leading_dot = @am__leading_dot@ |
176 | 174 |
am__quote = @am__quote@ |
... | ... |
@@ -106,10 +106,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
106 | 106 |
CLAMD_LIBS = @CLAMD_LIBS@ |
107 | 107 |
CPP = @CPP@ |
108 | 108 |
CPPFLAGS = @CPPFLAGS@ |
109 |
-CXX = @CXX@ |
|
110 |
-CXXCPP = @CXXCPP@ |
|
111 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
112 |
-CXXFLAGS = @CXXFLAGS@ |
|
113 | 109 |
CYGPATH_W = @CYGPATH_W@ |
114 | 110 |
DBDIR = @DBDIR@ |
115 | 111 |
DEFS = @DEFS@ -DCL_NOTHREADS |
... | ... |
@@ -120,8 +116,6 @@ ECHO_N = @ECHO_N@ |
120 | 120 |
ECHO_T = @ECHO_T@ |
121 | 121 |
EGREP = @EGREP@ |
122 | 122 |
EXEEXT = @EXEEXT@ |
123 |
-F77 = @F77@ |
|
124 |
-FFLAGS = @FFLAGS@ |
|
125 | 123 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
126 | 124 |
GETENT = @GETENT@ |
127 | 125 |
GREP = @GREP@ |
... | ... |
@@ -163,8 +157,6 @@ abs_srcdir = @abs_srcdir@ |
163 | 163 |
abs_top_builddir = @abs_top_builddir@ |
164 | 164 |
abs_top_srcdir = @abs_top_srcdir@ |
165 | 165 |
ac_ct_CC = @ac_ct_CC@ |
166 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
167 |
-ac_ct_F77 = @ac_ct_F77@ |
|
168 | 166 |
am__include = @am__include@ |
169 | 167 |
am__leading_dot = @am__leading_dot@ |
170 | 168 |
am__quote = @am__quote@ |
... | ... |
@@ -699,10 +699,6 @@ fi |
699 | 699 |
|
700 | 700 |
|
701 | 701 |
|
702 |
-tagnames=${tagnames+${tagnames},}CXX |
|
703 |
- |
|
704 |
-tagnames=${tagnames+${tagnames},}F77 |
|
705 |
- |
|
706 | 702 |
exec 7<&0 </dev/null 6>&1 |
707 | 703 |
|
708 | 704 |
# Name of the host. |
... | ... |
@@ -863,16 +859,6 @@ ECHO |
863 | 863 |
AR |
864 | 864 |
RANLIB |
865 | 865 |
CPP |
866 |
-CXX |
|
867 |
-CXXFLAGS |
|
868 |
-ac_ct_CXX |
|
869 |
-CXXDEPMODE |
|
870 |
-am__fastdepCXX_TRUE |
|
871 |
-am__fastdepCXX_FALSE |
|
872 |
-CXXCPP |
|
873 |
-F77 |
|
874 |
-FFLAGS |
|
875 |
-ac_ct_F77 |
|
876 | 866 |
LIBTOOL |
877 | 867 |
MAINTAINER_MODE_TRUE |
878 | 868 |
MAINTAINER_MODE_FALSE |
... | ... |
@@ -909,13 +895,7 @@ CFLAGS |
909 | 909 |
LDFLAGS |
910 | 910 |
LIBS |
911 | 911 |
CPPFLAGS |
912 |
-CPP |
|
913 |
-CXX |
|
914 |
-CXXFLAGS |
|
915 |
-CCC |
|
916 |
-CXXCPP |
|
917 |
-F77 |
|
918 |
-FFLAGS' |
|
912 |
+CPP' |
|
919 | 913 |
|
920 | 914 |
|
921 | 915 |
# Initialize some variables set by options. |
... | ... |
@@ -1531,7 +1511,6 @@ Optional Packages: |
1531 | 1531 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1532 | 1532 |
--with-pic try to use only PIC/non-PIC objects [default=use |
1533 | 1533 |
both] |
1534 |
- --with-tags[=TAGS] include additional configurations [automatic] |
|
1535 | 1534 |
--with-zlib=DIR path to directory containing zlib library (default= |
1536 | 1535 |
/usr/local or /usr if not found in /usr/local) |
1537 | 1536 |
--with-sendmail=PATH specify location of Sendmail binary (default=auto find) |
... | ... |
@@ -1549,11 +1528,6 @@ Some influential environment variables: |
1549 | 1549 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1550 | 1550 |
you have headers in a nonstandard directory <include dir> |
1551 | 1551 |
CPP C preprocessor |
1552 |
- CXX C++ compiler command |
|
1553 |
- CXXFLAGS C++ compiler flags |
|
1554 |
- CXXCPP C++ preprocessor |
|
1555 |
- F77 Fortran 77 compiler command |
|
1556 |
- FFLAGS Fortran 77 compiler flags |
|
1557 | 1552 |
|
1558 | 1553 |
Use these variables to override the choices made by `configure' or to help |
1559 | 1554 |
it to find libraries and programs with nonstandard names/locations. |
... | ... |
@@ -4034,6 +4008,8 @@ echo "${ECHO_T}no" >&6; } |
4034 | 4034 |
SET_MAKE="MAKE=${MAKE-make}" |
4035 | 4035 |
fi |
4036 | 4036 |
|
4037 |
+ |
|
4038 |
+ |
|
4037 | 4039 |
# Check whether --enable-shared was given. |
4038 | 4040 |
if test "${enable_shared+set}" = set; then |
4039 | 4041 |
enableval=$enable_shared; p=${PACKAGE-default} |
... | ... |
@@ -4748,7 +4724,7 @@ ia64-*-hpux*) |
4748 | 4748 |
;; |
4749 | 4749 |
*-*-irix6*) |
4750 | 4750 |
# Find out which ABI we are using. |
4751 |
- echo '#line 4751 "configure"' > conftest.$ac_ext |
|
4751 |
+ echo '#line 4727 "configure"' > conftest.$ac_ext |
|
4752 | 4752 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4753 | 4753 |
(eval $ac_compile) 2>&5 |
4754 | 4754 |
ac_status=$? |
... | ... |
@@ -5548,973 +5524,6 @@ fi |
5548 | 5548 |
|
5549 | 5549 |
done |
5550 | 5550 |
|
5551 |
-ac_ext=cpp |
|
5552 |
-ac_cpp='$CXXCPP $CPPFLAGS' |
|
5553 |
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5554 |
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5555 |
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
5556 |
-if test -z "$CXX"; then |
|
5557 |
- if test -n "$CCC"; then |
|
5558 |
- CXX=$CCC |
|
5559 |
- else |
|
5560 |
- if test -n "$ac_tool_prefix"; then |
|
5561 |
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
5562 |
- do |
|
5563 |
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
5564 |
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
5565 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5566 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
5567 |
-if test "${ac_cv_prog_CXX+set}" = set; then |
|
5568 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5569 |
-else |
|
5570 |
- if test -n "$CXX"; then |
|
5571 |
- ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
5572 |
-else |
|
5573 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5574 |
-for as_dir in $PATH |
|
5575 |
-do |
|
5576 |
- IFS=$as_save_IFS |
|
5577 |
- test -z "$as_dir" && as_dir=. |
|
5578 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
|
5579 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5580 |
- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
|
5581 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5582 |
- break 2 |
|
5583 |
- fi |
|
5584 |
-done |
|
5585 |
-done |
|
5586 |
-IFS=$as_save_IFS |
|
5587 |
- |
|
5588 |
-fi |
|
5589 |
-fi |
|
5590 |
-CXX=$ac_cv_prog_CXX |
|
5591 |
-if test -n "$CXX"; then |
|
5592 |
- { echo "$as_me:$LINENO: result: $CXX" >&5 |
|
5593 |
-echo "${ECHO_T}$CXX" >&6; } |
|
5594 |
-else |
|
5595 |
- { echo "$as_me:$LINENO: result: no" >&5 |
|
5596 |
-echo "${ECHO_T}no" >&6; } |
|
5597 |
-fi |
|
5598 |
- |
|
5599 |
- |
|
5600 |
- test -n "$CXX" && break |
|
5601 |
- done |
|
5602 |
-fi |
|
5603 |
-if test -z "$CXX"; then |
|
5604 |
- ac_ct_CXX=$CXX |
|
5605 |
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
5606 |
-do |
|
5607 |
- # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5608 |
-set dummy $ac_prog; ac_word=$2 |
|
5609 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
5610 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
5611 |
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
|
5612 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5613 |
-else |
|
5614 |
- if test -n "$ac_ct_CXX"; then |
|
5615 |
- ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
5616 |
-else |
|
5617 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5618 |
-for as_dir in $PATH |
|
5619 |
-do |
|
5620 |
- IFS=$as_save_IFS |
|
5621 |
- test -z "$as_dir" && as_dir=. |
|
5622 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
|
5623 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
5624 |
- ac_cv_prog_ac_ct_CXX="$ac_prog" |
|
5625 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5626 |
- break 2 |
|
5627 |
- fi |
|
5628 |
-done |
|
5629 |
-done |
|
5630 |
-IFS=$as_save_IFS |
|
5631 |
- |
|
5632 |
-fi |
|
5633 |
-fi |
|
5634 |
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
5635 |
-if test -n "$ac_ct_CXX"; then |
|
5636 |
- { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
|
5637 |
-echo "${ECHO_T}$ac_ct_CXX" >&6; } |
|
5638 |
-else |
|
5639 |
- { echo "$as_me:$LINENO: result: no" >&5 |
|
5640 |
-echo "${ECHO_T}no" >&6; } |
|
5641 |
-fi |
|
5642 |
- |
|
5643 |
- |
|
5644 |
- test -n "$ac_ct_CXX" && break |
|
5645 |
-done |
|
5646 |
- |
|
5647 |
- if test "x$ac_ct_CXX" = x; then |
|
5648 |
- CXX="g++" |
|
5649 |
- else |
|
5650 |
- case $cross_compiling:$ac_tool_warned in |
|
5651 |
-yes:) |
|
5652 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
5653 |
-whose name does not start with the host triplet. If you think this |
|
5654 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
5655 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
5656 |
-whose name does not start with the host triplet. If you think this |
|
5657 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
5658 |
-ac_tool_warned=yes ;; |
|
5659 |
-esac |
|
5660 |
- CXX=$ac_ct_CXX |
|
5661 |
- fi |
|
5662 |
-fi |
|
5663 |
- |
|
5664 |
- fi |
|
5665 |
-fi |
|
5666 |
-# Provide some information about the compiler. |
|
5667 |
-echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
|
5668 |
-ac_compiler=`set X $ac_compile; echo $2` |
|
5669 |
-{ (ac_try="$ac_compiler --version >&5" |
|
5670 |
-case "(($ac_try" in |
|
5671 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5672 |
- *) ac_try_echo=$ac_try;; |
|
5673 |
-esac |
|
5674 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
5675 |
- (eval "$ac_compiler --version >&5") 2>&5 |
|
5676 |
- ac_status=$? |
|
5677 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5678 |
- (exit $ac_status); } |
|
5679 |
-{ (ac_try="$ac_compiler -v >&5" |
|
5680 |
-case "(($ac_try" in |
|
5681 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5682 |
- *) ac_try_echo=$ac_try;; |
|
5683 |
-esac |
|
5684 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
5685 |
- (eval "$ac_compiler -v >&5") 2>&5 |
|
5686 |
- ac_status=$? |
|
5687 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5688 |
- (exit $ac_status); } |
|
5689 |
-{ (ac_try="$ac_compiler -V >&5" |
|
5690 |
-case "(($ac_try" in |
|
5691 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5692 |
- *) ac_try_echo=$ac_try;; |
|
5693 |
-esac |
|
5694 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
5695 |
- (eval "$ac_compiler -V >&5") 2>&5 |
|
5696 |
- ac_status=$? |
|
5697 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5698 |
- (exit $ac_status); } |
|
5699 |
- |
|
5700 |
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
|
5701 |
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
|
5702 |
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
|
5703 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5704 |
-else |
|
5705 |
- cat >conftest.$ac_ext <<_ACEOF |
|
5706 |
-/* confdefs.h. */ |
|
5707 |
-_ACEOF |
|
5708 |
-cat confdefs.h >>conftest.$ac_ext |
|
5709 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
5710 |
-/* end confdefs.h. */ |
|
5711 |
- |
|
5712 |
-int |
|
5713 |
-main () |
|
5714 |
-{ |
|
5715 |
-#ifndef __GNUC__ |
|
5716 |
- choke me |
|
5717 |
-#endif |
|
5718 |
- |
|
5719 |
- ; |
|
5720 |
- return 0; |
|
5721 |
-} |
|
5722 |
-_ACEOF |
|
5723 |
-rm -f conftest.$ac_objext |
|
5724 |
-if { (ac_try="$ac_compile" |
|
5725 |
-case "(($ac_try" in |
|
5726 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5727 |
- *) ac_try_echo=$ac_try;; |
|
5728 |
-esac |
|
5729 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
5730 |
- (eval "$ac_compile") 2>conftest.er1 |
|
5731 |
- ac_status=$? |
|
5732 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
5733 |
- rm -f conftest.er1 |
|
5734 |
- cat conftest.err >&5 |
|
5735 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5736 |
- (exit $ac_status); } && { |
|
5737 |
- test -z "$ac_cxx_werror_flag" || |
|
5738 |
- test ! -s conftest.err |
|
5739 |
- } && test -s conftest.$ac_objext; then |
|
5740 |
- ac_compiler_gnu=yes |
|
5741 |
-else |
|
5742 |
- echo "$as_me: failed program was:" >&5 |
|
5743 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
5744 |
- |
|
5745 |
- ac_compiler_gnu=no |
|
5746 |
-fi |
|
5747 |
- |
|
5748 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5749 |
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
|
5750 |
- |
|
5751 |
-fi |
|
5752 |
-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
5753 |
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
|
5754 |
-GXX=`test $ac_compiler_gnu = yes && echo yes` |
|
5755 |
-ac_test_CXXFLAGS=${CXXFLAGS+set} |
|
5756 |
-ac_save_CXXFLAGS=$CXXFLAGS |
|
5757 |
-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
|
5758 |
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
|
5759 |
-if test "${ac_cv_prog_cxx_g+set}" = set; then |
|
5760 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5761 |
-else |
|
5762 |
- ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
5763 |
- ac_cxx_werror_flag=yes |
|
5764 |
- ac_cv_prog_cxx_g=no |
|
5765 |
- CXXFLAGS="-g" |
|
5766 |
- cat >conftest.$ac_ext <<_ACEOF |
|
5767 |
-/* confdefs.h. */ |
|
5768 |
-_ACEOF |
|
5769 |
-cat confdefs.h >>conftest.$ac_ext |
|
5770 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
5771 |
-/* end confdefs.h. */ |
|
5772 |
- |
|
5773 |
-int |
|
5774 |
-main () |
|
5775 |
-{ |
|
5776 |
- |
|
5777 |
- ; |
|
5778 |
- return 0; |
|
5779 |
-} |
|
5780 |
-_ACEOF |
|
5781 |
-rm -f conftest.$ac_objext |
|
5782 |
-if { (ac_try="$ac_compile" |
|
5783 |
-case "(($ac_try" in |
|
5784 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5785 |
- *) ac_try_echo=$ac_try;; |
|
5786 |
-esac |
|
5787 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
5788 |
- (eval "$ac_compile") 2>conftest.er1 |
|
5789 |
- ac_status=$? |
|
5790 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
5791 |
- rm -f conftest.er1 |
|
5792 |
- cat conftest.err >&5 |
|
5793 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5794 |
- (exit $ac_status); } && { |
|
5795 |
- test -z "$ac_cxx_werror_flag" || |
|
5796 |
- test ! -s conftest.err |
|
5797 |
- } && test -s conftest.$ac_objext; then |
|
5798 |
- ac_cv_prog_cxx_g=yes |
|
5799 |
-else |
|
5800 |
- echo "$as_me: failed program was:" >&5 |
|
5801 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
5802 |
- |
|
5803 |
- CXXFLAGS="" |
|
5804 |
- cat >conftest.$ac_ext <<_ACEOF |
|
5805 |
-/* confdefs.h. */ |
|
5806 |
-_ACEOF |
|
5807 |
-cat confdefs.h >>conftest.$ac_ext |
|
5808 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
5809 |
-/* end confdefs.h. */ |
|
5810 |
- |
|
5811 |
-int |
|
5812 |
-main () |
|
5813 |
-{ |
|
5814 |
- |
|
5815 |
- ; |
|
5816 |
- return 0; |
|
5817 |
-} |
|
5818 |
-_ACEOF |
|
5819 |
-rm -f conftest.$ac_objext |
|
5820 |
-if { (ac_try="$ac_compile" |
|
5821 |
-case "(($ac_try" in |
|
5822 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5823 |
- *) ac_try_echo=$ac_try;; |
|
5824 |
-esac |
|
5825 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
5826 |
- (eval "$ac_compile") 2>conftest.er1 |
|
5827 |
- ac_status=$? |
|
5828 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
5829 |
- rm -f conftest.er1 |
|
5830 |
- cat conftest.err >&5 |
|
5831 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5832 |
- (exit $ac_status); } && { |
|
5833 |
- test -z "$ac_cxx_werror_flag" || |
|
5834 |
- test ! -s conftest.err |
|
5835 |
- } && test -s conftest.$ac_objext; then |
|
5836 |
- : |
|
5837 |
-else |
|
5838 |
- echo "$as_me: failed program was:" >&5 |
|
5839 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
5840 |
- |
|
5841 |
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
5842 |
- CXXFLAGS="-g" |
|
5843 |
- cat >conftest.$ac_ext <<_ACEOF |
|
5844 |
-/* confdefs.h. */ |
|
5845 |
-_ACEOF |
|
5846 |
-cat confdefs.h >>conftest.$ac_ext |
|
5847 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
5848 |
-/* end confdefs.h. */ |
|
5849 |
- |
|
5850 |
-int |
|
5851 |
-main () |
|
5852 |
-{ |
|
5853 |
- |
|
5854 |
- ; |
|
5855 |
- return 0; |
|
5856 |
-} |
|
5857 |
-_ACEOF |
|
5858 |
-rm -f conftest.$ac_objext |
|
5859 |
-if { (ac_try="$ac_compile" |
|
5860 |
-case "(($ac_try" in |
|
5861 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
5862 |
- *) ac_try_echo=$ac_try;; |
|
5863 |
-esac |
|
5864 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
5865 |
- (eval "$ac_compile") 2>conftest.er1 |
|
5866 |
- ac_status=$? |
|
5867 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
5868 |
- rm -f conftest.er1 |
|
5869 |
- cat conftest.err >&5 |
|
5870 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5871 |
- (exit $ac_status); } && { |
|
5872 |
- test -z "$ac_cxx_werror_flag" || |
|
5873 |
- test ! -s conftest.err |
|
5874 |
- } && test -s conftest.$ac_objext; then |
|
5875 |
- ac_cv_prog_cxx_g=yes |
|
5876 |
-else |
|
5877 |
- echo "$as_me: failed program was:" >&5 |
|
5878 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
5879 |
- |
|
5880 |
- |
|
5881 |
-fi |
|
5882 |
- |
|
5883 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5884 |
-fi |
|
5885 |
- |
|
5886 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5887 |
-fi |
|
5888 |
- |
|
5889 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5890 |
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
5891 |
-fi |
|
5892 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
|
5893 |
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
|
5894 |
-if test "$ac_test_CXXFLAGS" = set; then |
|
5895 |
- CXXFLAGS=$ac_save_CXXFLAGS |
|
5896 |
-elif test $ac_cv_prog_cxx_g = yes; then |
|
5897 |
- if test "$GXX" = yes; then |
|
5898 |
- CXXFLAGS="-g -O2" |
|
5899 |
- else |
|
5900 |
- CXXFLAGS="-g" |
|
5901 |
- fi |
|
5902 |
-else |
|
5903 |
- if test "$GXX" = yes; then |
|
5904 |
- CXXFLAGS="-O2" |
|
5905 |
- else |
|
5906 |
- CXXFLAGS= |
|
5907 |
- fi |
|
5908 |
-fi |
|
5909 |
-ac_ext=cpp |
|
5910 |
-ac_cpp='$CXXCPP $CPPFLAGS' |
|
5911 |
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5912 |
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5913 |
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
5914 |
- |
|
5915 |
-depcc="$CXX" am_compiler_list= |
|
5916 |
- |
|
5917 |
-{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
5918 |
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
|
5919 |
-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
|
5920 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5921 |
-else |
|
5922 |
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
5923 |
- # We make a subdir and do the tests there. Otherwise we can end up |
|
5924 |
- # making bogus files that we don't know about and never remove. For |
|
5925 |
- # instance it was reported that on HP-UX the gcc test will end up |
|
5926 |
- # making a dummy file named `D' -- because `-MD' means `put the output |
|
5927 |
- # in D'. |
|
5928 |
- mkdir conftest.dir |
|
5929 |
- # Copy depcomp to subdir because otherwise we won't find it if we're |
|
5930 |
- # using a relative directory. |
|
5931 |
- cp "$am_depcomp" conftest.dir |
|
5932 |
- cd conftest.dir |
|
5933 |
- # We will build objects and dependencies in a subdirectory because |
|
5934 |
- # it helps to detect inapplicable dependency modes. For instance |
|
5935 |
- # both Tru64's cc and ICC support -MD to output dependencies as a |
|
5936 |
- # side effect of compilation, but ICC will put the dependencies in |
|
5937 |
- # the current directory while Tru64 will put them in the object |
|
5938 |
- # directory. |
|
5939 |
- mkdir sub |
|
5940 |
- |
|
5941 |
- am_cv_CXX_dependencies_compiler_type=none |
|
5942 |
- if test "$am_compiler_list" = ""; then |
|
5943 |
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
5944 |
- fi |
|
5945 |
- for depmode in $am_compiler_list; do |
|
5946 |
- # Setup a source with many dependencies, because some compilers |
|
5947 |
- # like to wrap large dependency lists on column 80 (with \), and |
|
5948 |
- # we should not choose a depcomp mode which is confused by this. |
|
5949 |
- # |
|
5950 |
- # We need to recreate these files for each test, as the compiler may |
|
5951 |
- # overwrite some of them when testing with obscure command lines. |
|
5952 |
- # This happens at least with the AIX C compiler. |
|
5953 |
- : > sub/conftest.c |
|
5954 |
- for i in 1 2 3 4 5 6; do |
|
5955 |
- echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
5956 |
- # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
5957 |
- # Solaris 8's {/usr,}/bin/sh. |
|
5958 |
- touch sub/conftst$i.h |
|
5959 |
- done |
|
5960 |
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
5961 |
- |
|
5962 |
- case $depmode in |
|
5963 |
- nosideeffect) |
|
5964 |
- # after this tag, mechanisms are not by side-effect, so they'll |
|
5965 |
- # only be used when explicitly requested |
|
5966 |
- if test "x$enable_dependency_tracking" = xyes; then |
|
5967 |
- continue |
|
5968 |
- else |
|
5969 |
- break |
|
5970 |
- fi |
|
5971 |
- ;; |
|
5972 |
- none) break ;; |
|
5973 |
- esac |
|
5974 |
- # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
5975 |
- # mode. It turns out that the SunPro C++ compiler does not properly |
|
5976 |
- # handle `-M -o', and we need to detect this. |
|
5977 |
- if depmode=$depmode \ |
|
5978 |
- source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
5979 |
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
5980 |
- $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
5981 |
- >/dev/null 2>conftest.err && |
|
5982 |
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
5983 |
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
5984 |
- grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
5985 |
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
5986 |
- # icc doesn't choke on unknown options, it will just issue warnings |
|
5987 |
- # or remarks (even with -Werror). So we grep stderr for any message |
|
5988 |
- # that says an option was ignored or not supported. |
|
5989 |
- # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
5990 |
- # icc: Command line warning: ignoring option '-M'; no argument required |
|
5991 |
- # The diagnosis changed in icc 8.0: |
|
5992 |
- # icc: Command line remark: option '-MP' not supported |
|
5993 |
- if (grep 'ignoring option' conftest.err || |
|
5994 |
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
5995 |
- am_cv_CXX_dependencies_compiler_type=$depmode |
|
5996 |
- break |
|
5997 |
- fi |
|
5998 |
- fi |
|
5999 |
- done |
|
6000 |
- |
|
6001 |
- cd .. |
|
6002 |
- rm -rf conftest.dir |
|
6003 |
-else |
|
6004 |
- am_cv_CXX_dependencies_compiler_type=none |
|
6005 |
-fi |
|
6006 |
- |
|
6007 |
-fi |
|
6008 |
-{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
6009 |
-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
6010 |
-CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
6011 |
- |
|
6012 |
- if |
|
6013 |
- test "x$enable_dependency_tracking" != xno \ |
|
6014 |
- && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
6015 |
- am__fastdepCXX_TRUE= |
|
6016 |
- am__fastdepCXX_FALSE='#' |
|
6017 |
-else |
|
6018 |
- am__fastdepCXX_TRUE='#' |
|
6019 |
- am__fastdepCXX_FALSE= |
|
6020 |
-fi |
|
6021 |
- |
|
6022 |
- |
|
6023 |
- |
|
6024 |
- |
|
6025 |
-if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
6026 |
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
6027 |
- (test "X$CXX" != "Xg++"))) ; then |
|
6028 |
- ac_ext=cpp |
|
6029 |
-ac_cpp='$CXXCPP $CPPFLAGS' |
|
6030 |
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6031 |
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6032 |
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
6033 |
-{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
6034 |
-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
6035 |
-if test -z "$CXXCPP"; then |
|
6036 |
- if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
6037 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
6038 |
-else |
|
6039 |
- # Double quotes because CXXCPP needs to be expanded |
|
6040 |
- for CXXCPP in "$CXX -E" "/lib/cpp" |
|
6041 |
- do |
|
6042 |
- ac_preproc_ok=false |
|
6043 |
-for ac_cxx_preproc_warn_flag in '' yes |
|
6044 |
-do |
|
6045 |
- # Use a header file that comes with gcc, so configuring glibc |
|
6046 |
- # with a fresh cross-compiler works. |
|
6047 |
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
6048 |
- # <limits.h> exists even on freestanding compilers. |
|
6049 |
- # On the NeXT, cc -E runs the code through the compiler's parser, |
|
6050 |
- # not just through cpp. "Syntax error" is here to catch this case. |
|
6051 |
- cat >conftest.$ac_ext <<_ACEOF |
|
6052 |
-/* confdefs.h. */ |
|
6053 |
-_ACEOF |
|
6054 |
-cat confdefs.h >>conftest.$ac_ext |
|
6055 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
6056 |
-/* end confdefs.h. */ |
|
6057 |
-#ifdef __STDC__ |
|
6058 |
-# include <limits.h> |
|
6059 |
-#else |
|
6060 |
-# include <assert.h> |
|
6061 |
-#endif |
|
6062 |
- Syntax error |
|
6063 |
-_ACEOF |
|
6064 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
6065 |
-case "(($ac_try" in |
|
6066 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6067 |
- *) ac_try_echo=$ac_try;; |
|
6068 |
-esac |
|
6069 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6070 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
6071 |
- ac_status=$? |
|
6072 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
6073 |
- rm -f conftest.er1 |
|
6074 |
- cat conftest.err >&5 |
|
6075 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6076 |
- (exit $ac_status); } >/dev/null && { |
|
6077 |
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
6078 |
- test ! -s conftest.err |
|
6079 |
- }; then |
|
6080 |
- : |
|
6081 |
-else |
|
6082 |
- echo "$as_me: failed program was:" >&5 |
|
6083 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
6084 |
- |
|
6085 |
- # Broken: fails on valid input. |
|
6086 |
-continue |
|
6087 |
-fi |
|
6088 |
- |
|
6089 |
-rm -f conftest.err conftest.$ac_ext |
|
6090 |
- |
|
6091 |
- # OK, works on sane cases. Now check whether nonexistent headers |
|
6092 |
- # can be detected and how. |
|
6093 |
- cat >conftest.$ac_ext <<_ACEOF |
|
6094 |
-/* confdefs.h. */ |
|
6095 |
-_ACEOF |
|
6096 |
-cat confdefs.h >>conftest.$ac_ext |
|
6097 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
6098 |
-/* end confdefs.h. */ |
|
6099 |
-#include <ac_nonexistent.h> |
|
6100 |
-_ACEOF |
|
6101 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
6102 |
-case "(($ac_try" in |
|
6103 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6104 |
- *) ac_try_echo=$ac_try;; |
|
6105 |
-esac |
|
6106 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6107 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
6108 |
- ac_status=$? |
|
6109 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
6110 |
- rm -f conftest.er1 |
|
6111 |
- cat conftest.err >&5 |
|
6112 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6113 |
- (exit $ac_status); } >/dev/null && { |
|
6114 |
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
6115 |
- test ! -s conftest.err |
|
6116 |
- }; then |
|
6117 |
- # Broken: success on invalid input. |
|
6118 |
-continue |
|
6119 |
-else |
|
6120 |
- echo "$as_me: failed program was:" >&5 |
|
6121 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
6122 |
- |
|
6123 |
- # Passes both tests. |
|
6124 |
-ac_preproc_ok=: |
|
6125 |
-break |
|
6126 |
-fi |
|
6127 |
- |
|
6128 |
-rm -f conftest.err conftest.$ac_ext |
|
6129 |
- |
|
6130 |
-done |
|
6131 |
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
6132 |
-rm -f conftest.err conftest.$ac_ext |
|
6133 |
-if $ac_preproc_ok; then |
|
6134 |
- break |
|
6135 |
-fi |
|
6136 |
- |
|
6137 |
- done |
|
6138 |
- ac_cv_prog_CXXCPP=$CXXCPP |
|
6139 |
- |
|
6140 |
-fi |
|
6141 |
- CXXCPP=$ac_cv_prog_CXXCPP |
|
6142 |
-else |
|
6143 |
- ac_cv_prog_CXXCPP=$CXXCPP |
|
6144 |
-fi |
|
6145 |
-{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
6146 |
-echo "${ECHO_T}$CXXCPP" >&6; } |
|
6147 |
-ac_preproc_ok=false |
|
6148 |
-for ac_cxx_preproc_warn_flag in '' yes |
|
6149 |
-do |
|
6150 |
- # Use a header file that comes with gcc, so configuring glibc |
|
6151 |
- # with a fresh cross-compiler works. |
|
6152 |
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
6153 |
- # <limits.h> exists even on freestanding compilers. |
|
6154 |
- # On the NeXT, cc -E runs the code through the compiler's parser, |
|
6155 |
- # not just through cpp. "Syntax error" is here to catch this case. |
|
6156 |
- cat >conftest.$ac_ext <<_ACEOF |
|
6157 |
-/* confdefs.h. */ |
|
6158 |
-_ACEOF |
|
6159 |
-cat confdefs.h >>conftest.$ac_ext |
|
6160 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
6161 |
-/* end confdefs.h. */ |
|
6162 |
-#ifdef __STDC__ |
|
6163 |
-# include <limits.h> |
|
6164 |
-#else |
|
6165 |
-# include <assert.h> |
|
6166 |
-#endif |
|
6167 |
- Syntax error |
|
6168 |
-_ACEOF |
|
6169 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
6170 |
-case "(($ac_try" in |
|
6171 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6172 |
- *) ac_try_echo=$ac_try;; |
|
6173 |
-esac |
|
6174 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6175 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
6176 |
- ac_status=$? |
|
6177 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
6178 |
- rm -f conftest.er1 |
|
6179 |
- cat conftest.err >&5 |
|
6180 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6181 |
- (exit $ac_status); } >/dev/null && { |
|
6182 |
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
6183 |
- test ! -s conftest.err |
|
6184 |
- }; then |
|
6185 |
- : |
|
6186 |
-else |
|
6187 |
- echo "$as_me: failed program was:" >&5 |
|
6188 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
6189 |
- |
|
6190 |
- # Broken: fails on valid input. |
|
6191 |
-continue |
|
6192 |
-fi |
|
6193 |
- |
|
6194 |
-rm -f conftest.err conftest.$ac_ext |
|
6195 |
- |
|
6196 |
- # OK, works on sane cases. Now check whether nonexistent headers |
|
6197 |
- # can be detected and how. |
|
6198 |
- cat >conftest.$ac_ext <<_ACEOF |
|
6199 |
-/* confdefs.h. */ |
|
6200 |
-_ACEOF |
|
6201 |
-cat confdefs.h >>conftest.$ac_ext |
|
6202 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
6203 |
-/* end confdefs.h. */ |
|
6204 |
-#include <ac_nonexistent.h> |
|
6205 |
-_ACEOF |
|
6206 |
-if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
6207 |
-case "(($ac_try" in |
|
6208 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6209 |
- *) ac_try_echo=$ac_try;; |
|
6210 |
-esac |
|
6211 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6212 |
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
6213 |
- ac_status=$? |
|
6214 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
6215 |
- rm -f conftest.er1 |
|
6216 |
- cat conftest.err >&5 |
|
6217 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6218 |
- (exit $ac_status); } >/dev/null && { |
|
6219 |
- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
6220 |
- test ! -s conftest.err |
|
6221 |
- }; then |
|
6222 |
- # Broken: success on invalid input. |
|
6223 |
-continue |
|
6224 |
-else |
|
6225 |
- echo "$as_me: failed program was:" >&5 |
|
6226 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
6227 |
- |
|
6228 |
- # Passes both tests. |
|
6229 |
-ac_preproc_ok=: |
|
6230 |
-break |
|
6231 |
-fi |
|
6232 |
- |
|
6233 |
-rm -f conftest.err conftest.$ac_ext |
|
6234 |
- |
|
6235 |
-done |
|
6236 |
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
6237 |
-rm -f conftest.err conftest.$ac_ext |
|
6238 |
-if $ac_preproc_ok; then |
|
6239 |
- : |
|
6240 |
-else |
|
6241 |
- { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
6242 |
-See \`config.log' for more details." >&5 |
|
6243 |
-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
6244 |
-See \`config.log' for more details." >&2;} |
|
6245 |
- { (exit 1); exit 1; }; } |
|
6246 |
-fi |
|
6247 |
- |
|
6248 |
-ac_ext=cpp |
|
6249 |
-ac_cpp='$CXXCPP $CPPFLAGS' |
|
6250 |
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6251 |
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6252 |
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
6253 |
- |
|
6254 |
-fi |
|
6255 |
- |
|
6256 |
- |
|
6257 |
-ac_ext=f |
|
6258 |
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
6259 |
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6260 |
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
6261 |
-if test -n "$ac_tool_prefix"; then |
|
6262 |
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
|
6263 |
- do |
|
6264 |
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
6265 |
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
6266 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6267 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
6268 |
-if test "${ac_cv_prog_F77+set}" = set; then |
|
6269 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
6270 |
-else |
|
6271 |
- if test -n "$F77"; then |
|
6272 |
- ac_cv_prog_F77="$F77" # Let the user override the test. |
|
6273 |
-else |
|
6274 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6275 |
-for as_dir in $PATH |
|
6276 |
-do |
|
6277 |
- IFS=$as_save_IFS |
|
6278 |
- test -z "$as_dir" && as_dir=. |
|
6279 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
|
6280 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6281 |
- ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
|
6282 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6283 |
- break 2 |
|
6284 |
- fi |
|
6285 |
-done |
|
6286 |
-done |
|
6287 |
-IFS=$as_save_IFS |
|
6288 |
- |
|
6289 |
-fi |
|
6290 |
-fi |
|
6291 |
-F77=$ac_cv_prog_F77 |
|
6292 |
-if test -n "$F77"; then |
|
6293 |
- { echo "$as_me:$LINENO: result: $F77" >&5 |
|
6294 |
-echo "${ECHO_T}$F77" >&6; } |
|
6295 |
-else |
|
6296 |
- { echo "$as_me:$LINENO: result: no" >&5 |
|
6297 |
-echo "${ECHO_T}no" >&6; } |
|
6298 |
-fi |
|
6299 |
- |
|
6300 |
- |
|
6301 |
- test -n "$F77" && break |
|
6302 |
- done |
|
6303 |
-fi |
|
6304 |
-if test -z "$F77"; then |
|
6305 |
- ac_ct_F77=$F77 |
|
6306 |
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
|
6307 |
-do |
|
6308 |
- # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
6309 |
-set dummy $ac_prog; ac_word=$2 |
|
6310 |
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
6311 |
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
6312 |
-if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
|
6313 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
6314 |
-else |
|
6315 |
- if test -n "$ac_ct_F77"; then |
|
6316 |
- ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
|
6317 |
-else |
|
6318 |
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6319 |
-for as_dir in $PATH |
|
6320 |
-do |
|
6321 |
- IFS=$as_save_IFS |
|
6322 |
- test -z "$as_dir" && as_dir=. |
|
6323 |
- for ac_exec_ext in '' $ac_executable_extensions; do |
|
6324 |
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
6325 |
- ac_cv_prog_ac_ct_F77="$ac_prog" |
|
6326 |
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
6327 |
- break 2 |
|
6328 |
- fi |
|
6329 |
-done |
|
6330 |
-done |
|
6331 |
-IFS=$as_save_IFS |
|
6332 |
- |
|
6333 |
-fi |
|
6334 |
-fi |
|
6335 |
-ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
|
6336 |
-if test -n "$ac_ct_F77"; then |
|
6337 |
- { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
|
6338 |
-echo "${ECHO_T}$ac_ct_F77" >&6; } |
|
6339 |
-else |
|
6340 |
- { echo "$as_me:$LINENO: result: no" >&5 |
|
6341 |
-echo "${ECHO_T}no" >&6; } |
|
6342 |
-fi |
|
6343 |
- |
|
6344 |
- |
|
6345 |
- test -n "$ac_ct_F77" && break |
|
6346 |
-done |
|
6347 |
- |
|
6348 |
- if test "x$ac_ct_F77" = x; then |
|
6349 |
- F77="" |
|
6350 |
- else |
|
6351 |
- case $cross_compiling:$ac_tool_warned in |
|
6352 |
-yes:) |
|
6353 |
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
6354 |
-whose name does not start with the host triplet. If you think this |
|
6355 |
-configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
6356 |
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
6357 |
-whose name does not start with the host triplet. If you think this |
|
6358 |
-configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
6359 |
-ac_tool_warned=yes ;; |
|
6360 |
-esac |
|
6361 |
- F77=$ac_ct_F77 |
|
6362 |
- fi |
|
6363 |
-fi |
|
6364 |
- |
|
6365 |
- |
|
6366 |
-# Provide some information about the compiler. |
|
6367 |
-echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 |
|
6368 |
-ac_compiler=`set X $ac_compile; echo $2` |
|
6369 |
-{ (ac_try="$ac_compiler --version >&5" |
|
6370 |
-case "(($ac_try" in |
|
6371 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6372 |
- *) ac_try_echo=$ac_try;; |
|
6373 |
-esac |
|
6374 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6375 |
- (eval "$ac_compiler --version >&5") 2>&5 |
|
6376 |
- ac_status=$? |
|
6377 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6378 |
- (exit $ac_status); } |
|
6379 |
-{ (ac_try="$ac_compiler -v >&5" |
|
6380 |
-case "(($ac_try" in |
|
6381 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6382 |
- *) ac_try_echo=$ac_try;; |
|
6383 |
-esac |
|
6384 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6385 |
- (eval "$ac_compiler -v >&5") 2>&5 |
|
6386 |
- ac_status=$? |
|
6387 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6388 |
- (exit $ac_status); } |
|
6389 |
-{ (ac_try="$ac_compiler -V >&5" |
|
6390 |
-case "(($ac_try" in |
|
6391 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6392 |
- *) ac_try_echo=$ac_try;; |
|
6393 |
-esac |
|
6394 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6395 |
- (eval "$ac_compiler -V >&5") 2>&5 |
|
6396 |
- ac_status=$? |
|
6397 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6398 |
- (exit $ac_status); } |
|
6399 |
-rm -f a.out |
|
6400 |
- |
|
6401 |
-# If we don't use `.F' as extension, the preprocessor is not run on the |
|
6402 |
-# input file. (Note that this only needs to work for GNU compilers.) |
|
6403 |
-ac_save_ext=$ac_ext |
|
6404 |
-ac_ext=F |
|
6405 |
-{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
|
6406 |
-echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } |
|
6407 |
-if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
|
6408 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
6409 |
-else |
|
6410 |
- cat >conftest.$ac_ext <<_ACEOF |
|
6411 |
- program main |
|
6412 |
-#ifndef __GNUC__ |
|
6413 |
- choke me |
|
6414 |
-#endif |
|
6415 |
- |
|
6416 |
- end |
|
6417 |
-_ACEOF |
|
6418 |
-rm -f conftest.$ac_objext |
|
6419 |
-if { (ac_try="$ac_compile" |
|
6420 |
-case "(($ac_try" in |
|
6421 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6422 |
- *) ac_try_echo=$ac_try;; |
|
6423 |
-esac |
|
6424 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6425 |
- (eval "$ac_compile") 2>conftest.er1 |
|
6426 |
- ac_status=$? |
|
6427 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
6428 |
- rm -f conftest.er1 |
|
6429 |
- cat conftest.err >&5 |
|
6430 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6431 |
- (exit $ac_status); } && { |
|
6432 |
- test -z "$ac_f77_werror_flag" || |
|
6433 |
- test ! -s conftest.err |
|
6434 |
- } && test -s conftest.$ac_objext; then |
|
6435 |
- ac_compiler_gnu=yes |
|
6436 |
-else |
|
6437 |
- echo "$as_me: failed program was:" >&5 |
|
6438 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
6439 |
- |
|
6440 |
- ac_compiler_gnu=no |
|
6441 |
-fi |
|
6442 |
- |
|
6443 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6444 |
-ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
|
6445 |
- |
|
6446 |
-fi |
|
6447 |
-{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
|
6448 |
-echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } |
|
6449 |
-ac_ext=$ac_save_ext |
|
6450 |
-ac_test_FFLAGS=${FFLAGS+set} |
|
6451 |
-ac_save_FFLAGS=$FFLAGS |
|
6452 |
-FFLAGS= |
|
6453 |
-{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
|
6454 |
-echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } |
|
6455 |
-if test "${ac_cv_prog_f77_g+set}" = set; then |
|
6456 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
6457 |
-else |
|
6458 |
- FFLAGS=-g |
|
6459 |
-cat >conftest.$ac_ext <<_ACEOF |
|
6460 |
- program main |
|
6461 |
- |
|
6462 |
- end |
|
6463 |
-_ACEOF |
|
6464 |
-rm -f conftest.$ac_objext |
|
6465 |
-if { (ac_try="$ac_compile" |
|
6466 |
-case "(($ac_try" in |
|
6467 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
6468 |
- *) ac_try_echo=$ac_try;; |
|
6469 |
-esac |
|
6470 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
6471 |
- (eval "$ac_compile") 2>conftest.er1 |
|
6472 |
- ac_status=$? |
|
6473 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
6474 |
- rm -f conftest.er1 |
|
6475 |
- cat conftest.err >&5 |
|
6476 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6477 |
- (exit $ac_status); } && { |
|
6478 |
- test -z "$ac_f77_werror_flag" || |
|
6479 |
- test ! -s conftest.err |
|
6480 |
- } && test -s conftest.$ac_objext; then |
|
6481 |
- ac_cv_prog_f77_g=yes |
|
6482 |
-else |
|
6483 |
- echo "$as_me: failed program was:" >&5 |
|
6484 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
6485 |
- |
|
6486 |
- ac_cv_prog_f77_g=no |
|
6487 |
-fi |
|
6488 |
- |
|
6489 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
6490 |
- |
|
6491 |
-fi |
|
6492 |
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
|
6493 |
-echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } |
|
6494 |
-if test "$ac_test_FFLAGS" = set; then |
|
6495 |
- FFLAGS=$ac_save_FFLAGS |
|
6496 |
-elif test $ac_cv_prog_f77_g = yes; then |
|
6497 |
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
|
6498 |
- FFLAGS="-g -O2" |
|
6499 |
- else |
|
6500 |
- FFLAGS="-g" |
|
6501 |
- fi |
|
6502 |
-else |
|
6503 |
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
|
6504 |
- FFLAGS="-O2" |
|
6505 |
- else |
|
6506 |
- FFLAGS= |
|
6507 |
- fi |
|
6508 |
-fi |
|
6509 |
- |
|
6510 |
-G77=`test $ac_compiler_gnu = yes && echo yes` |
|
6511 |
-ac_ext=c |
|
6512 |
-ac_cpp='$CPP $CPPFLAGS' |
|
6513 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
6514 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
6515 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
6516 |
- |
|
6517 |
- |
|
6518 | 5551 |
|
6519 | 5552 |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
6520 | 5553 |
|
... | ... |
@@ -7485,11 +6494,11 @@ else |
7485 | 7485 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7486 | 7486 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7487 | 7487 |
-e 's:$: $lt_compiler_flag:'` |
7488 |
- (eval echo "\"\$as_me:7488: $lt_compile\"" >&5) |
|
7488 |
+ (eval echo "\"\$as_me:6497: $lt_compile\"" >&5) |
|
7489 | 7489 |
(eval "$lt_compile" 2>conftest.err) |
7490 | 7490 |
ac_status=$? |
7491 | 7491 |
cat conftest.err >&5 |
7492 |
- echo "$as_me:7492: \$? = $ac_status" >&5 |
|
7492 |
+ echo "$as_me:6501: \$? = $ac_status" >&5 |
|
7493 | 7493 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7494 | 7494 |
# The compiler can only warn and ignore the option if not recognized |
7495 | 7495 |
# So say no if there are warnings other than the usual output. |
... | ... |
@@ -7775,11 +6784,11 @@ else |
7775 | 7775 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7776 | 7776 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7777 | 7777 |
-e 's:$: $lt_compiler_flag:'` |
7778 |
- (eval echo "\"\$as_me:7778: $lt_compile\"" >&5) |
|
7778 |
+ (eval echo "\"\$as_me:6787: $lt_compile\"" >&5) |
|
7779 | 7779 |
(eval "$lt_compile" 2>conftest.err) |
7780 | 7780 |
ac_status=$? |
7781 | 7781 |
cat conftest.err >&5 |
7782 |
- echo "$as_me:7782: \$? = $ac_status" >&5 |
|
7782 |
+ echo "$as_me:6791: \$? = $ac_status" >&5 |
|
7783 | 7783 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7784 | 7784 |
# The compiler can only warn and ignore the option if not recognized |
7785 | 7785 |
# So say no if there are warnings other than the usual output. |
... | ... |
@@ -7879,11 +6888,11 @@ else |
7879 | 7879 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7880 | 7880 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7881 | 7881 |
-e 's:$: $lt_compiler_flag:'` |
7882 |
- (eval echo "\"\$as_me:7882: $lt_compile\"" >&5) |
|
7882 |
+ (eval echo "\"\$as_me:6891: $lt_compile\"" >&5) |
|
7883 | 7883 |
(eval "$lt_compile" 2>out/conftest.err) |
7884 | 7884 |
ac_status=$? |
7885 | 7885 |
cat out/conftest.err >&5 |
7886 |
- echo "$as_me:7886: \$? = $ac_status" >&5 |
|
7886 |
+ echo "$as_me:6895: \$? = $ac_status" >&5 |
|
7887 | 7887 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7888 | 7888 |
then |
7889 | 7889 |
# The compiler can only warn and ignore the option if not recognized |
... | ... |
@@ -10241,7 +9250,7 @@ else |
10241 | 10241 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10242 | 10242 |
lt_status=$lt_dlunknown |
10243 | 10243 |
cat > conftest.$ac_ext <<EOF |
10244 |
-#line 10244 "configure" |
|
10244 |
+#line 9253 "configure" |
|
10245 | 10245 |
#include "confdefs.h" |
10246 | 10246 |
|
10247 | 10247 |
#if HAVE_DLFCN_H |
... | ... |
@@ -10341,7 +9350,7 @@ else |
10341 | 10341 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10342 | 10342 |
lt_status=$lt_dlunknown |
10343 | 10343 |
cat > conftest.$ac_ext <<EOF |
10344 |
-#line 10344 "configure" |
|
10344 |
+#line 9353 "configure" |
|
10345 | 10345 |
#include "confdefs.h" |
10346 | 10346 |
|
10347 | 10347 |
#if HAVE_DLFCN_H |
... | ... |
@@ -10975,8807 +9984,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
10975 | 10975 |
CC="$lt_save_CC" |
10976 | 10976 |
|
10977 | 10977 |
|
10978 |
-# Check whether --with-tags was given. |
|
10979 |
-if test "${with_tags+set}" = set; then |
|
10980 |
- withval=$with_tags; tagnames="$withval" |
|
10981 |
-fi |
|
10982 |
- |
|
10983 |
- |
|
10984 |
-if test -f "$ltmain" && test -n "$tagnames"; then |
|
10985 |
- if test ! -f "${ofile}"; then |
|
10986 |
- { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 |
|
10987 |
-echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} |
|
10988 |
- fi |
|
10989 |
- |
|
10990 |
- if test -z "$LTCC"; then |
|
10991 |
- eval "`$SHELL ${ofile} --config | grep '^LTCC='`" |
|
10992 |
- if test -z "$LTCC"; then |
|
10993 |
- { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 |
|
10994 |
-echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} |
|
10995 |
- else |
|
10996 |
- { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 |
|
10997 |
-echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} |
|
10998 |
- fi |
|
10999 |
- fi |
|
11000 |
- if test -z "$LTCFLAGS"; then |
|
11001 |
- eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" |
|
11002 |
- fi |
|
11003 |
- |
|
11004 |
- # Extract list of available tagged configurations in $ofile. |
|
11005 |
- # Note that this assumes the entire list is on one line. |
|
11006 |
- available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` |
|
11007 |
- |
|
11008 |
- lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
11009 |
- for tagname in $tagnames; do |
|
11010 |
- IFS="$lt_save_ifs" |
|
11011 |
- # Check whether tagname contains only valid characters |
|
11012 |
- case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in |
|
11013 |
- "") ;; |
|
11014 |
- *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 |
|
11015 |
-echo "$as_me: error: invalid tag name: $tagname" >&2;} |
|
11016 |
- { (exit 1); exit 1; }; } |
|
11017 |
- ;; |
|
11018 |
- esac |
|
11019 |
- |
|
11020 |
- if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null |
|
11021 |
- then |
|
11022 |
- { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 |
|
11023 |
-echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} |
|
11024 |
- { (exit 1); exit 1; }; } |
|
11025 |
- fi |
|
11026 |
- |
|
11027 |
- # Update the list of available tags. |
|
11028 |
- if test -n "$tagname"; then |
|
11029 |
- echo appending configuration tag \"$tagname\" to $ofile |
|
11030 |
- |
|
11031 |
- case $tagname in |
|
11032 |
- CXX) |
|
11033 |
- if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
|
11034 |
- ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
|
11035 |
- (test "X$CXX" != "Xg++"))) ; then |
|
11036 |
- ac_ext=cpp |
|
11037 |
-ac_cpp='$CXXCPP $CPPFLAGS' |
|
11038 |
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
11039 |
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
11040 |
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
11041 |
- |
|
11042 |
- |
|
11043 |
- |
|
11044 |
- |
|
11045 |
-archive_cmds_need_lc_CXX=no |
|
11046 |
-allow_undefined_flag_CXX= |
|
11047 |
-always_export_symbols_CXX=no |
|
11048 |
-archive_expsym_cmds_CXX= |
|
11049 |
-export_dynamic_flag_spec_CXX= |
|
11050 |
-hardcode_direct_CXX=no |
|
11051 |
-hardcode_libdir_flag_spec_CXX= |
|
11052 |
-hardcode_libdir_flag_spec_ld_CXX= |
|
11053 |
-hardcode_libdir_separator_CXX= |
|
11054 |
-hardcode_minus_L_CXX=no |
|
11055 |
-hardcode_shlibpath_var_CXX=unsupported |
|
11056 |
-hardcode_automatic_CXX=no |
|
11057 |
-module_cmds_CXX= |
|
11058 |
-module_expsym_cmds_CXX= |
|
11059 |
-link_all_deplibs_CXX=unknown |
|
11060 |
-old_archive_cmds_CXX=$old_archive_cmds |
|
11061 |
-no_undefined_flag_CXX= |
|
11062 |
-whole_archive_flag_spec_CXX= |
|
11063 |
-enable_shared_with_static_runtimes_CXX=no |
|
11064 |
- |
|
11065 |
-# Dependencies to place before and after the object being linked: |
|
11066 |
-predep_objects_CXX= |
|
11067 |
-postdep_objects_CXX= |
|
11068 |
-predeps_CXX= |
|
11069 |
-postdeps_CXX= |
|
11070 |
-compiler_lib_search_path_CXX= |
|
11071 |
- |
|
11072 |
-# Source file extension for C++ test sources. |
|
11073 |
-ac_ext=cpp |
|
11074 |
- |
|
11075 |
-# Object file extension for compiled C++ test sources. |
|
11076 |
-objext=o |
|
11077 |
-objext_CXX=$objext |
|
11078 |
- |
|
11079 |
-# Code to be used in simple compile tests |
|
11080 |
-lt_simple_compile_test_code="int some_variable = 0;" |
|
11081 |
- |
|
11082 |
-# Code to be used in simple link tests |
|
11083 |
-lt_simple_link_test_code='int main(int, char *[]) { return(0); }' |
|
11084 |
- |
|
11085 |
-# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
11086 |
- |
|
11087 |
-# If no C compiler was specified, use CC. |
|
11088 |
-LTCC=${LTCC-"$CC"} |
|
11089 |
- |
|
11090 |
-# If no C compiler flags were specified, use CFLAGS. |
|
11091 |
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
11092 |
- |
|
11093 |
-# Allow CC to be a program name with arguments. |
|
11094 |
-compiler=$CC |
|
11095 |
- |
|
11096 |
- |
|
11097 |
-# save warnings/boilerplate of simple test code |
|
11098 |
-ac_outfile=conftest.$ac_objext |
|
11099 |
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
11100 |
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
11101 |
-_lt_compiler_boilerplate=`cat conftest.err` |
|
11102 |
-$rm conftest* |
|
11103 |
- |
|
11104 |
-ac_outfile=conftest.$ac_objext |
|
11105 |
-echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
11106 |
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
11107 |
-_lt_linker_boilerplate=`cat conftest.err` |
|
11108 |
-$rm conftest* |
|
11109 |
- |
|
11110 |
- |
|
11111 |
-# Allow CC to be a program name with arguments. |
|
11112 |
-lt_save_CC=$CC |
|
11113 |
-lt_save_LD=$LD |
|
11114 |
-lt_save_GCC=$GCC |
|
11115 |
-GCC=$GXX |
|
11116 |
-lt_save_with_gnu_ld=$with_gnu_ld |
|
11117 |
-lt_save_path_LD=$lt_cv_path_LD |
|
11118 |
-if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then |
|
11119 |
- lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx |
|
11120 |
-else |
|
11121 |
- $as_unset lt_cv_prog_gnu_ld |
|
11122 |
-fi |
|
11123 |
-if test -n "${lt_cv_path_LDCXX+set}"; then |
|
11124 |
- lt_cv_path_LD=$lt_cv_path_LDCXX |
|
11125 |
-else |
|
11126 |
- $as_unset lt_cv_path_LD |
|
11127 |
-fi |
|
11128 |
-test -z "${LDCXX+set}" || LD=$LDCXX |
|
11129 |
-CC=${CXX-"c++"} |
|
11130 |
-compiler=$CC |
|
11131 |
-compiler_CXX=$CC |
|
11132 |
-for cc_temp in $compiler""; do |
|
11133 |
- case $cc_temp in |
|
11134 |
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
11135 |
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
11136 |
- \-*) ;; |
|
11137 |
- *) break;; |
|
11138 |
- esac |
|
11139 |
-done |
|
11140 |
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
11141 |
- |
|
11142 |
- |
|
11143 |
-# We don't want -fno-exception wen compiling C++ code, so set the |
|
11144 |
-# no_builtin_flag separately |
|
11145 |
-if test "$GXX" = yes; then |
|
11146 |
- lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' |
|
11147 |
-else |
|
11148 |
- lt_prog_compiler_no_builtin_flag_CXX= |
|
11149 |
-fi |
|
11150 |
- |
|
11151 |
-if test "$GXX" = yes; then |
|
11152 |
- # Set up default GNU C++ configuration |
|
11153 |
- |
|
11154 |
- |
|
11155 |
-# Check whether --with-gnu-ld was given. |
|
11156 |
-if test "${with_gnu_ld+set}" = set; then |
|
11157 |
- withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
|
11158 |
-else |
|
11159 |
- with_gnu_ld=no |
|
11160 |
-fi |
|
11161 |
- |
|
11162 |
-ac_prog=ld |
|
11163 |
-if test "$GCC" = yes; then |
|
11164 |
- # Check if gcc -print-prog-name=ld gives a path. |
|
11165 |
- { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
|
11166 |
-echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
|
11167 |
- case $host in |
|
11168 |
- *-*-mingw*) |
|
11169 |
- # gcc leaves a trailing carriage return which upsets mingw |
|
11170 |
- ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
11171 |
- *) |
|
11172 |
- ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
11173 |
- esac |
|
11174 |
- case $ac_prog in |
|
11175 |
- # Accept absolute paths. |
|
11176 |
- [\\/]* | ?:[\\/]*) |
|
11177 |
- re_direlt='/[^/][^/]*/\.\./' |
|
11178 |
- # Canonicalize the pathname of ld |
|
11179 |
- ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
|
11180 |
- while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
|
11181 |
- ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
|
11182 |
- done |
|
11183 |
- test -z "$LD" && LD="$ac_prog" |
|
11184 |
- ;; |
|
11185 |
- "") |
|
11186 |
- # If it fails, then pretend we aren't using GCC. |
|
11187 |
- ac_prog=ld |
|
11188 |
- ;; |
|
11189 |
- *) |
|
11190 |
- # If it is relative, then search for the first ld in PATH. |
|
11191 |
- with_gnu_ld=unknown |
|
11192 |
- ;; |
|
11193 |
- esac |
|
11194 |
-elif test "$with_gnu_ld" = yes; then |
|
11195 |
- { echo "$as_me:$LINENO: checking for GNU ld" >&5 |
|
11196 |
-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
|
11197 |
-else |
|
11198 |
- { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
|
11199 |
-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
|
11200 |
-fi |
|
11201 |
-if test "${lt_cv_path_LD+set}" = set; then |
|
11202 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
11203 |
-else |
|
11204 |
- if test -z "$LD"; then |
|
11205 |
- lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
|
11206 |
- for ac_dir in $PATH; do |
|
11207 |
- IFS="$lt_save_ifs" |
|
11208 |
- test -z "$ac_dir" && ac_dir=. |
|
11209 |
- if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
11210 |
- lt_cv_path_LD="$ac_dir/$ac_prog" |
|
11211 |
- # Check to see if the program is GNU ld. I'd rather use --version, |
|
11212 |
- # but apparently some variants of GNU ld only accept -v. |
|
11213 |
- # Break only if it was the GNU/non-GNU ld that we prefer. |
|
11214 |
- case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
|
11215 |
- *GNU* | *'with BFD'*) |
|
11216 |
- test "$with_gnu_ld" != no && break |
|
11217 |
- ;; |
|
11218 |
- *) |
|
11219 |
- test "$with_gnu_ld" != yes && break |
|
11220 |
- ;; |
|
11221 |
- esac |
|
11222 |
- fi |
|
11223 |
- done |
|
11224 |
- IFS="$lt_save_ifs" |
|
11225 |
-else |
|
11226 |
- lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
11227 |
-fi |
|
11228 |
-fi |
|
11229 |
- |
|
11230 |
-LD="$lt_cv_path_LD" |
|
11231 |
-if test -n "$LD"; then |
|
11232 |
- { echo "$as_me:$LINENO: result: $LD" >&5 |
|
11233 |
-echo "${ECHO_T}$LD" >&6; } |
|
11234 |
-else |
|
11235 |
- { echo "$as_me:$LINENO: result: no" >&5 |
|
11236 |
-echo "${ECHO_T}no" >&6; } |
|
11237 |
-fi |
|
11238 |
-test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
|
11239 |
-echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
11240 |
- { (exit 1); exit 1; }; } |
|
11241 |
-{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
|
11242 |
-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
|
11243 |
-if test "${lt_cv_prog_gnu_ld+set}" = set; then |
|
11244 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
11245 |
-else |
|
11246 |
- # I'd rather use --version here, but apparently some GNU lds only accept -v. |
|
11247 |
-case `$LD -v 2>&1 </dev/null` in |
|
11248 |
-*GNU* | *'with BFD'*) |
|
11249 |
- lt_cv_prog_gnu_ld=yes |
|
11250 |
- ;; |
|
11251 |
-*) |
|
11252 |
- lt_cv_prog_gnu_ld=no |
|
11253 |
- ;; |
|
11254 |
-esac |
|
11255 |
-fi |
|
11256 |
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
|
11257 |
-echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
|
11258 |
-with_gnu_ld=$lt_cv_prog_gnu_ld |
|
11259 |
- |
|
11260 |
- |
|
11261 |
- |
|
11262 |
- # Check if GNU C++ uses GNU ld as the underlying linker, since the |
|
11263 |
- # archiving commands below assume that GNU ld is being used. |
|
11264 |
- if test "$with_gnu_ld" = yes; then |
|
11265 |
- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11266 |
- archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11267 |
- |
|
11268 |
- hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
11269 |
- export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11270 |
- |
|
11271 |
- # If archive_cmds runs LD, not CC, wlarc should be empty |
|
11272 |
- # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
|
11273 |
- # investigate it a little bit more. (MM) |
|
11274 |
- wlarc='${wl}' |
|
11275 |
- |
|
11276 |
- # ancient GNU ld didn't support --whole-archive et. al. |
|
11277 |
- if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ |
|
11278 |
- grep 'no-whole-archive' > /dev/null; then |
|
11279 |
- whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
11280 |
- else |
|
11281 |
- whole_archive_flag_spec_CXX= |
|
11282 |
- fi |
|
11283 |
- else |
|
11284 |
- with_gnu_ld=no |
|
11285 |
- wlarc= |
|
11286 |
- |
|
11287 |
- # A generic and very simple default shared library creation |
|
11288 |
- # command for GNU C++ for the case where it uses the native |
|
11289 |
- # linker, instead of GNU ld. If possible, this setting should |
|
11290 |
- # overridden to take advantage of the native linker features on |
|
11291 |
- # the platform it is being used on. |
|
11292 |
- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
11293 |
- fi |
|
11294 |
- |
|
11295 |
- # Commands to make compiler produce verbose output that lists |
|
11296 |
- # what "hidden" libraries, object files and flags are used when |
|
11297 |
- # linking a shared library. |
|
11298 |
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' |
|
11299 |
- |
|
11300 |
-else |
|
11301 |
- GXX=no |
|
11302 |
- with_gnu_ld=no |
|
11303 |
- wlarc= |
|
11304 |
-fi |
|
11305 |
- |
|
11306 |
-# PORTME: fill in a description of your system's C++ link characteristics |
|
11307 |
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
11308 |
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
|
11309 |
-ld_shlibs_CXX=yes |
|
11310 |
-case $host_os in |
|
11311 |
- aix3*) |
|
11312 |
- # FIXME: insert proper C++ library support |
|
11313 |
- ld_shlibs_CXX=no |
|
11314 |
- ;; |
|
11315 |
- aix4* | aix5*) |
|
11316 |
- if test "$host_cpu" = ia64; then |
|
11317 |
- # On IA64, the linker does run time linking by default, so we don't |
|
11318 |
- # have to do anything special. |
|
11319 |
- aix_use_runtimelinking=no |
|
11320 |
- exp_sym_flag='-Bexport' |
|
11321 |
- no_entry_flag="" |
|
11322 |
- else |
|
11323 |
- aix_use_runtimelinking=no |
|
11324 |
- |
|
11325 |
- # Test if we are trying to use run time linking or normal |
|
11326 |
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
11327 |
- # need to do runtime linking. |
|
11328 |
- case $host_os in aix4.[23]|aix4.[23].*|aix5*) |
|
11329 |
- for ld_flag in $LDFLAGS; do |
|
11330 |
- case $ld_flag in |
|
11331 |
- *-brtl*) |
|
11332 |
- aix_use_runtimelinking=yes |
|
11333 |
- break |
|
11334 |
- ;; |
|
11335 |
- esac |
|
11336 |
- done |
|
11337 |
- ;; |
|
11338 |
- esac |
|
11339 |
- |
|
11340 |
- exp_sym_flag='-bexport' |
|
11341 |
- no_entry_flag='-bnoentry' |
|
11342 |
- fi |
|
11343 |
- |
|
11344 |
- # When large executables or shared objects are built, AIX ld can |
|
11345 |
- # have problems creating the table of contents. If linking a library |
|
11346 |
- # or program results in "error TOC overflow" add -mminimal-toc to |
|
11347 |
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
11348 |
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
11349 |
- |
|
11350 |
- archive_cmds_CXX='' |
|
11351 |
- hardcode_direct_CXX=yes |
|
11352 |
- hardcode_libdir_separator_CXX=':' |
|
11353 |
- link_all_deplibs_CXX=yes |
|
11354 |
- |
|
11355 |
- if test "$GXX" = yes; then |
|
11356 |
- case $host_os in aix4.[012]|aix4.[012].*) |
|
11357 |
- # We only want to do this on AIX 4.2 and lower, the check |
|
11358 |
- # below for broken collect2 doesn't work under 4.3+ |
|
11359 |
- collect2name=`${CC} -print-prog-name=collect2` |
|
11360 |
- if test -f "$collect2name" && \ |
|
11361 |
- strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
11362 |
- then |
|
11363 |
- # We have reworked collect2 |
|
11364 |
- : |
|
11365 |
- else |
|
11366 |
- # We have old collect2 |
|
11367 |
- hardcode_direct_CXX=unsupported |
|
11368 |
- # It fails to find uninstalled libraries when the uninstalled |
|
11369 |
- # path is not listed in the libpath. Setting hardcode_minus_L |
|
11370 |
- # to unsupported forces relinking |
|
11371 |
- hardcode_minus_L_CXX=yes |
|
11372 |
- hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
11373 |
- hardcode_libdir_separator_CXX= |
|
11374 |
- fi |
|
11375 |
- ;; |
|
11376 |
- esac |
|
11377 |
- shared_flag='-shared' |
|
11378 |
- if test "$aix_use_runtimelinking" = yes; then |
|
11379 |
- shared_flag="$shared_flag "'${wl}-G' |
|
11380 |
- fi |
|
11381 |
- else |
|
11382 |
- # not using gcc |
|
11383 |
- if test "$host_cpu" = ia64; then |
|
11384 |
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
11385 |
- # chokes on -Wl,-G. The following line is correct: |
|
11386 |
- shared_flag='-G' |
|
11387 |
- else |
|
11388 |
- if test "$aix_use_runtimelinking" = yes; then |
|
11389 |
- shared_flag='${wl}-G' |
|
11390 |
- else |
|
11391 |
- shared_flag='${wl}-bM:SRE' |
|
11392 |
- fi |
|
11393 |
- fi |
|
11394 |
- fi |
|
11395 |
- |
|
11396 |
- # It seems that -bexpall does not export symbols beginning with |
|
11397 |
- # underscore (_), so it is better to generate a list of symbols to export. |
|
11398 |
- always_export_symbols_CXX=yes |
|
11399 |
- if test "$aix_use_runtimelinking" = yes; then |
|
11400 |
- # Warning - without using the other runtime loading flags (-brtl), |
|
11401 |
- # -berok will link without error, but may produce a broken library. |
|
11402 |
- allow_undefined_flag_CXX='-berok' |
|
11403 |
- # Determine the default libpath from the value encoded in an empty executable. |
|
11404 |
- cat >conftest.$ac_ext <<_ACEOF |
|
11405 |
-/* confdefs.h. */ |
|
11406 |
-_ACEOF |
|
11407 |
-cat confdefs.h >>conftest.$ac_ext |
|
11408 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
11409 |
-/* end confdefs.h. */ |
|
11410 |
- |
|
11411 |
-int |
|
11412 |
-main () |
|
11413 |
-{ |
|
11414 |
- |
|
11415 |
- ; |
|
11416 |
- return 0; |
|
11417 |
-} |
|
11418 |
-_ACEOF |
|
11419 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
|
11420 |
-if { (ac_try="$ac_link" |
|
11421 |
-case "(($ac_try" in |
|
11422 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11423 |
- *) ac_try_echo=$ac_try;; |
|
11424 |
-esac |
|
11425 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
11426 |
- (eval "$ac_link") 2>conftest.er1 |
|
11427 |
- ac_status=$? |
|
11428 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
11429 |
- rm -f conftest.er1 |
|
11430 |
- cat conftest.err >&5 |
|
11431 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
11432 |
- (exit $ac_status); } && { |
|
11433 |
- test -z "$ac_cxx_werror_flag" || |
|
11434 |
- test ! -s conftest.err |
|
11435 |
- } && test -s conftest$ac_exeext && |
|
11436 |
- $as_test_x conftest$ac_exeext; then |
|
11437 |
- |
|
11438 |
-lt_aix_libpath_sed=' |
|
11439 |
- /Import File Strings/,/^$/ { |
|
11440 |
- /^0/ { |
|
11441 |
- s/^0 *\(.*\)$/\1/ |
|
11442 |
- p |
|
11443 |
- } |
|
11444 |
- }' |
|
11445 |
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11446 |
-# Check for a 64-bit object if we didn't find anything. |
|
11447 |
-if test -z "$aix_libpath"; then |
|
11448 |
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11449 |
-fi |
|
11450 |
-else |
|
11451 |
- echo "$as_me: failed program was:" >&5 |
|
11452 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
11453 |
- |
|
11454 |
- |
|
11455 |
-fi |
|
11456 |
- |
|
11457 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
11458 |
- conftest$ac_exeext conftest.$ac_ext |
|
11459 |
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
11460 |
- |
|
11461 |
- hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
11462 |
- |
|
11463 |
- archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
|
11464 |
- else |
|
11465 |
- if test "$host_cpu" = ia64; then |
|
11466 |
- hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' |
|
11467 |
- allow_undefined_flag_CXX="-z nodefs" |
|
11468 |
- archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
11469 |
- else |
|
11470 |
- # Determine the default libpath from the value encoded in an empty executable. |
|
11471 |
- cat >conftest.$ac_ext <<_ACEOF |
|
11472 |
-/* confdefs.h. */ |
|
11473 |
-_ACEOF |
|
11474 |
-cat confdefs.h >>conftest.$ac_ext |
|
11475 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
11476 |
-/* end confdefs.h. */ |
|
11477 |
- |
|
11478 |
-int |
|
11479 |
-main () |
|
11480 |
-{ |
|
11481 |
- |
|
11482 |
- ; |
|
11483 |
- return 0; |
|
11484 |
-} |
|
11485 |
-_ACEOF |
|
11486 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
|
11487 |
-if { (ac_try="$ac_link" |
|
11488 |
-case "(($ac_try" in |
|
11489 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
11490 |
- *) ac_try_echo=$ac_try;; |
|
11491 |
-esac |
|
11492 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
11493 |
- (eval "$ac_link") 2>conftest.er1 |
|
11494 |
- ac_status=$? |
|
11495 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
11496 |
- rm -f conftest.er1 |
|
11497 |
- cat conftest.err >&5 |
|
11498 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
11499 |
- (exit $ac_status); } && { |
|
11500 |
- test -z "$ac_cxx_werror_flag" || |
|
11501 |
- test ! -s conftest.err |
|
11502 |
- } && test -s conftest$ac_exeext && |
|
11503 |
- $as_test_x conftest$ac_exeext; then |
|
11504 |
- |
|
11505 |
-lt_aix_libpath_sed=' |
|
11506 |
- /Import File Strings/,/^$/ { |
|
11507 |
- /^0/ { |
|
11508 |
- s/^0 *\(.*\)$/\1/ |
|
11509 |
- p |
|
11510 |
- } |
|
11511 |
- }' |
|
11512 |
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11513 |
-# Check for a 64-bit object if we didn't find anything. |
|
11514 |
-if test -z "$aix_libpath"; then |
|
11515 |
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
11516 |
-fi |
|
11517 |
-else |
|
11518 |
- echo "$as_me: failed program was:" >&5 |
|
11519 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
11520 |
- |
|
11521 |
- |
|
11522 |
-fi |
|
11523 |
- |
|
11524 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
11525 |
- conftest$ac_exeext conftest.$ac_ext |
|
11526 |
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
11527 |
- |
|
11528 |
- hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
11529 |
- # Warning - without using the other run time loading flags, |
|
11530 |
- # -berok will link without error, but may produce a broken library. |
|
11531 |
- no_undefined_flag_CXX=' ${wl}-bernotok' |
|
11532 |
- allow_undefined_flag_CXX=' ${wl}-berok' |
|
11533 |
- # Exported symbols can be pulled into shared objects from archives |
|
11534 |
- whole_archive_flag_spec_CXX='$convenience' |
|
11535 |
- archive_cmds_need_lc_CXX=yes |
|
11536 |
- # This is similar to how AIX traditionally builds its shared libraries. |
|
11537 |
- archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
11538 |
- fi |
|
11539 |
- fi |
|
11540 |
- ;; |
|
11541 |
- |
|
11542 |
- beos*) |
|
11543 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
11544 |
- allow_undefined_flag_CXX=unsupported |
|
11545 |
- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
11546 |
- # support --undefined. This deserves some investigation. FIXME |
|
11547 |
- archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11548 |
- else |
|
11549 |
- ld_shlibs_CXX=no |
|
11550 |
- fi |
|
11551 |
- ;; |
|
11552 |
- |
|
11553 |
- chorus*) |
|
11554 |
- case $cc_basename in |
|
11555 |
- *) |
|
11556 |
- # FIXME: insert proper C++ library support |
|
11557 |
- ld_shlibs_CXX=no |
|
11558 |
- ;; |
|
11559 |
- esac |
|
11560 |
- ;; |
|
11561 |
- |
|
11562 |
- cygwin* | mingw* | pw32*) |
|
11563 |
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, |
|
11564 |
- # as there is no search path for DLLs. |
|
11565 |
- hardcode_libdir_flag_spec_CXX='-L$libdir' |
|
11566 |
- allow_undefined_flag_CXX=unsupported |
|
11567 |
- always_export_symbols_CXX=no |
|
11568 |
- enable_shared_with_static_runtimes_CXX=yes |
|
11569 |
- |
|
11570 |
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
|
11571 |
- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
11572 |
- # If the export-symbols file already is a .def file (1st line |
|
11573 |
- # is EXPORTS), use it as is; otherwise, prepend... |
|
11574 |
- archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
11575 |
- cp $export_symbols $output_objdir/$soname.def; |
|
11576 |
- else |
|
11577 |
- echo EXPORTS > $output_objdir/$soname.def; |
|
11578 |
- cat $export_symbols >> $output_objdir/$soname.def; |
|
11579 |
- fi~ |
|
11580 |
- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
11581 |
- else |
|
11582 |
- ld_shlibs_CXX=no |
|
11583 |
- fi |
|
11584 |
- ;; |
|
11585 |
- darwin* | rhapsody*) |
|
11586 |
- case $host_os in |
|
11587 |
- rhapsody* | darwin1.[012]) |
|
11588 |
- allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' |
|
11589 |
- ;; |
|
11590 |
- *) # Darwin 1.3 on |
|
11591 |
- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
11592 |
- allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
11593 |
- else |
|
11594 |
- case ${MACOSX_DEPLOYMENT_TARGET} in |
|
11595 |
- 10.[012]) |
|
11596 |
- allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
11597 |
- ;; |
|
11598 |
- 10.*) |
|
11599 |
- allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' |
|
11600 |
- ;; |
|
11601 |
- esac |
|
11602 |
- fi |
|
11603 |
- ;; |
|
11604 |
- esac |
|
11605 |
- archive_cmds_need_lc_CXX=no |
|
11606 |
- hardcode_direct_CXX=no |
|
11607 |
- hardcode_automatic_CXX=yes |
|
11608 |
- hardcode_shlibpath_var_CXX=unsupported |
|
11609 |
- whole_archive_flag_spec_CXX='' |
|
11610 |
- link_all_deplibs_CXX=yes |
|
11611 |
- |
|
11612 |
- if test "$GXX" = yes ; then |
|
11613 |
- lt_int_apple_cc_single_mod=no |
|
11614 |
- output_verbose_link_cmd='echo' |
|
11615 |
- if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then |
|
11616 |
- lt_int_apple_cc_single_mod=yes |
|
11617 |
- fi |
|
11618 |
- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
11619 |
- archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
11620 |
- else |
|
11621 |
- archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
11622 |
- fi |
|
11623 |
- module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
11624 |
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
11625 |
- if test "X$lt_int_apple_cc_single_mod" = Xyes ; then |
|
11626 |
- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
11627 |
- else |
|
11628 |
- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
11629 |
- fi |
|
11630 |
- 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}' |
|
11631 |
- else |
|
11632 |
- case $cc_basename in |
|
11633 |
- xlc*) |
|
11634 |
- output_verbose_link_cmd='echo' |
|
11635 |
- archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
|
11636 |
- module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
11637 |
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
11638 |
- 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
11639 |
- 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}' |
|
11640 |
- ;; |
|
11641 |
- *) |
|
11642 |
- ld_shlibs_CXX=no |
|
11643 |
- ;; |
|
11644 |
- esac |
|
11645 |
- fi |
|
11646 |
- ;; |
|
11647 |
- |
|
11648 |
- dgux*) |
|
11649 |
- case $cc_basename in |
|
11650 |
- ec++*) |
|
11651 |
- # FIXME: insert proper C++ library support |
|
11652 |
- ld_shlibs_CXX=no |
|
11653 |
- ;; |
|
11654 |
- ghcx*) |
|
11655 |
- # Green Hills C++ Compiler |
|
11656 |
- # FIXME: insert proper C++ library support |
|
11657 |
- ld_shlibs_CXX=no |
|
11658 |
- ;; |
|
11659 |
- *) |
|
11660 |
- # FIXME: insert proper C++ library support |
|
11661 |
- ld_shlibs_CXX=no |
|
11662 |
- ;; |
|
11663 |
- esac |
|
11664 |
- ;; |
|
11665 |
- freebsd[12]*) |
|
11666 |
- # C++ shared libraries reported to be fairly broken before switch to ELF |
|
11667 |
- ld_shlibs_CXX=no |
|
11668 |
- ;; |
|
11669 |
- freebsd-elf*) |
|
11670 |
- archive_cmds_need_lc_CXX=no |
|
11671 |
- ;; |
|
11672 |
- freebsd* | dragonfly*) |
|
11673 |
- # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
|
11674 |
- # conventions |
|
11675 |
- ld_shlibs_CXX=yes |
|
11676 |
- ;; |
|
11677 |
- gnu*) |
|
11678 |
- ;; |
|
11679 |
- hpux9*) |
|
11680 |
- hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
11681 |
- hardcode_libdir_separator_CXX=: |
|
11682 |
- export_dynamic_flag_spec_CXX='${wl}-E' |
|
11683 |
- hardcode_direct_CXX=yes |
|
11684 |
- hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
11685 |
- # but as the default |
|
11686 |
- # location of the library. |
|
11687 |
- |
|
11688 |
- case $cc_basename in |
|
11689 |
- CC*) |
|
11690 |
- # FIXME: insert proper C++ library support |
|
11691 |
- ld_shlibs_CXX=no |
|
11692 |
- ;; |
|
11693 |
- aCC*) |
|
11694 |
- archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
11695 |
- # Commands to make compiler produce verbose output that lists |
|
11696 |
- # what "hidden" libraries, object files and flags are used when |
|
11697 |
- # linking a shared library. |
|
11698 |
- # |
|
11699 |
- # There doesn't appear to be a way to prevent this compiler from |
|
11700 |
- # explicitly linking system object files so we need to strip them |
|
11701 |
- # from the output so that they don't get included in the library |
|
11702 |
- # dependencies. |
|
11703 |
- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
11704 |
- ;; |
|
11705 |
- *) |
|
11706 |
- if test "$GXX" = yes; then |
|
11707 |
- archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
11708 |
- else |
|
11709 |
- # FIXME: insert proper C++ library support |
|
11710 |
- ld_shlibs_CXX=no |
|
11711 |
- fi |
|
11712 |
- ;; |
|
11713 |
- esac |
|
11714 |
- ;; |
|
11715 |
- hpux10*|hpux11*) |
|
11716 |
- if test $with_gnu_ld = no; then |
|
11717 |
- hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' |
|
11718 |
- hardcode_libdir_separator_CXX=: |
|
11719 |
- |
|
11720 |
- case $host_cpu in |
|
11721 |
- hppa*64*|ia64*) ;; |
|
11722 |
- *) |
|
11723 |
- export_dynamic_flag_spec_CXX='${wl}-E' |
|
11724 |
- ;; |
|
11725 |
- esac |
|
11726 |
- fi |
|
11727 |
- case $host_cpu in |
|
11728 |
- hppa*64*|ia64*) |
|
11729 |
- hardcode_direct_CXX=no |
|
11730 |
- hardcode_shlibpath_var_CXX=no |
|
11731 |
- ;; |
|
11732 |
- *) |
|
11733 |
- hardcode_direct_CXX=yes |
|
11734 |
- hardcode_minus_L_CXX=yes # Not in the search PATH, |
|
11735 |
- # but as the default |
|
11736 |
- # location of the library. |
|
11737 |
- ;; |
|
11738 |
- esac |
|
11739 |
- |
|
11740 |
- case $cc_basename in |
|
11741 |
- CC*) |
|
11742 |
- # FIXME: insert proper C++ library support |
|
11743 |
- ld_shlibs_CXX=no |
|
11744 |
- ;; |
|
11745 |
- aCC*) |
|
11746 |
- case $host_cpu in |
|
11747 |
- hppa*64*) |
|
11748 |
- archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11749 |
- ;; |
|
11750 |
- ia64*) |
|
11751 |
- archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11752 |
- ;; |
|
11753 |
- *) |
|
11754 |
- archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11755 |
- ;; |
|
11756 |
- esac |
|
11757 |
- # Commands to make compiler produce verbose output that lists |
|
11758 |
- # what "hidden" libraries, object files and flags are used when |
|
11759 |
- # linking a shared library. |
|
11760 |
- # |
|
11761 |
- # There doesn't appear to be a way to prevent this compiler from |
|
11762 |
- # explicitly linking system object files so we need to strip them |
|
11763 |
- # from the output so that they don't get included in the library |
|
11764 |
- # dependencies. |
|
11765 |
- output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
11766 |
- ;; |
|
11767 |
- *) |
|
11768 |
- if test "$GXX" = yes; then |
|
11769 |
- if test $with_gnu_ld = no; then |
|
11770 |
- case $host_cpu in |
|
11771 |
- hppa*64*) |
|
11772 |
- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11773 |
- ;; |
|
11774 |
- ia64*) |
|
11775 |
- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11776 |
- ;; |
|
11777 |
- *) |
|
11778 |
- archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11779 |
- ;; |
|
11780 |
- esac |
|
11781 |
- fi |
|
11782 |
- else |
|
11783 |
- # FIXME: insert proper C++ library support |
|
11784 |
- ld_shlibs_CXX=no |
|
11785 |
- fi |
|
11786 |
- ;; |
|
11787 |
- esac |
|
11788 |
- ;; |
|
11789 |
- interix[3-9]*) |
|
11790 |
- hardcode_direct_CXX=no |
|
11791 |
- hardcode_shlibpath_var_CXX=no |
|
11792 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
11793 |
- export_dynamic_flag_spec_CXX='${wl}-E' |
|
11794 |
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
11795 |
- # Instead, shared libraries are loaded at an image base (0x10000000 by |
|
11796 |
- # default) and relocated if they conflict, which is a slow very memory |
|
11797 |
- # consuming and fragmenting process. To avoid this, we pick a random, |
|
11798 |
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
11799 |
- # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
11800 |
- archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
11801 |
- archive_expsym_cmds_CXX='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' |
|
11802 |
- ;; |
|
11803 |
- irix5* | irix6*) |
|
11804 |
- case $cc_basename in |
|
11805 |
- CC*) |
|
11806 |
- # SGI C++ |
|
11807 |
- archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
11808 |
- |
|
11809 |
- # Archives containing C++ object files must be created using |
|
11810 |
- # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
|
11811 |
- # necessary to make sure instantiated templates are included |
|
11812 |
- # in the archive. |
|
11813 |
- old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' |
|
11814 |
- ;; |
|
11815 |
- *) |
|
11816 |
- if test "$GXX" = yes; then |
|
11817 |
- if test "$with_gnu_ld" = no; then |
|
11818 |
- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
11819 |
- else |
|
11820 |
- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' |
|
11821 |
- fi |
|
11822 |
- fi |
|
11823 |
- link_all_deplibs_CXX=yes |
|
11824 |
- ;; |
|
11825 |
- esac |
|
11826 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
11827 |
- hardcode_libdir_separator_CXX=: |
|
11828 |
- ;; |
|
11829 |
- linux* | k*bsd*-gnu) |
|
11830 |
- case $cc_basename in |
|
11831 |
- KCC*) |
|
11832 |
- # Kuck and Associates, Inc. (KAI) C++ Compiler |
|
11833 |
- |
|
11834 |
- # KCC will only create a shared library if the output file |
|
11835 |
- # ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
11836 |
- # to its proper name (with version) after linking. |
|
11837 |
- archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
11838 |
- archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' |
|
11839 |
- # Commands to make compiler produce verbose output that lists |
|
11840 |
- # what "hidden" libraries, object files and flags are used when |
|
11841 |
- # linking a shared library. |
|
11842 |
- # |
|
11843 |
- # There doesn't appear to be a way to prevent this compiler from |
|
11844 |
- # explicitly linking system object files so we need to strip them |
|
11845 |
- # from the output so that they don't get included in the library |
|
11846 |
- # dependencies. |
|
11847 |
- output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
|
11848 |
- |
|
11849 |
- hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' |
|
11850 |
- export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11851 |
- |
|
11852 |
- # Archives containing C++ object files must be created using |
|
11853 |
- # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
|
11854 |
- old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
|
11855 |
- ;; |
|
11856 |
- icpc*) |
|
11857 |
- # Intel C++ |
|
11858 |
- with_gnu_ld=yes |
|
11859 |
- # version 8.0 and above of icpc choke on multiply defined symbols |
|
11860 |
- # if we add $predep_objects and $postdep_objects, however 7.1 and |
|
11861 |
- # earlier do not add the objects themselves. |
|
11862 |
- case `$CC -V 2>&1` in |
|
11863 |
- *"Version 7."*) |
|
11864 |
- archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11865 |
- archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11866 |
- ;; |
|
11867 |
- *) # Version 8.0 or newer |
|
11868 |
- tmp_idyn= |
|
11869 |
- case $host_cpu in |
|
11870 |
- ia64*) tmp_idyn=' -i_dynamic';; |
|
11871 |
- esac |
|
11872 |
- archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11873 |
- archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
11874 |
- ;; |
|
11875 |
- esac |
|
11876 |
- archive_cmds_need_lc_CXX=no |
|
11877 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
11878 |
- export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11879 |
- whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
|
11880 |
- ;; |
|
11881 |
- pgCC*) |
|
11882 |
- # Portland Group C++ compiler |
|
11883 |
- archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
|
11884 |
- archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
|
11885 |
- |
|
11886 |
- hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' |
|
11887 |
- export_dynamic_flag_spec_CXX='${wl}--export-dynamic' |
|
11888 |
- whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
11889 |
- ;; |
|
11890 |
- cxx*) |
|
11891 |
- # Compaq C++ |
|
11892 |
- archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
11893 |
- archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' |
|
11894 |
- |
|
11895 |
- runpath_var=LD_RUN_PATH |
|
11896 |
- hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
11897 |
- hardcode_libdir_separator_CXX=: |
|
11898 |
- |
|
11899 |
- # Commands to make compiler produce verbose output that lists |
|
11900 |
- # what "hidden" libraries, object files and flags are used when |
|
11901 |
- # linking a shared library. |
|
11902 |
- # |
|
11903 |
- # There doesn't appear to be a way to prevent this compiler from |
|
11904 |
- # explicitly linking system object files so we need to strip them |
|
11905 |
- # from the output so that they don't get included in the library |
|
11906 |
- # dependencies. |
|
11907 |
- 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' |
|
11908 |
- ;; |
|
11909 |
- *) |
|
11910 |
- case `$CC -V 2>&1 | sed 5q` in |
|
11911 |
- *Sun\ C*) |
|
11912 |
- # Sun C++ 5.9 |
|
11913 |
- no_undefined_flag_CXX=' -zdefs' |
|
11914 |
- archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
11915 |
- 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' |
|
11916 |
- hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
11917 |
- 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' |
|
11918 |
- |
|
11919 |
- # Not sure whether something based on |
|
11920 |
- # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
|
11921 |
- # would be better. |
|
11922 |
- output_verbose_link_cmd='echo' |
|
11923 |
- |
|
11924 |
- # Archives containing C++ object files must be created using |
|
11925 |
- # "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
11926 |
- # necessary to make sure instantiated templates are included |
|
11927 |
- # in the archive. |
|
11928 |
- old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
11929 |
- ;; |
|
11930 |
- esac |
|
11931 |
- ;; |
|
11932 |
- esac |
|
11933 |
- ;; |
|
11934 |
- lynxos*) |
|
11935 |
- # FIXME: insert proper C++ library support |
|
11936 |
- ld_shlibs_CXX=no |
|
11937 |
- ;; |
|
11938 |
- m88k*) |
|
11939 |
- # FIXME: insert proper C++ library support |
|
11940 |
- ld_shlibs_CXX=no |
|
11941 |
- ;; |
|
11942 |
- mvs*) |
|
11943 |
- case $cc_basename in |
|
11944 |
- cxx*) |
|
11945 |
- # FIXME: insert proper C++ library support |
|
11946 |
- ld_shlibs_CXX=no |
|
11947 |
- ;; |
|
11948 |
- *) |
|
11949 |
- # FIXME: insert proper C++ library support |
|
11950 |
- ld_shlibs_CXX=no |
|
11951 |
- ;; |
|
11952 |
- esac |
|
11953 |
- ;; |
|
11954 |
- netbsd* | netbsdelf*-gnu) |
|
11955 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
11956 |
- archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' |
|
11957 |
- wlarc= |
|
11958 |
- hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
11959 |
- hardcode_direct_CXX=yes |
|
11960 |
- hardcode_shlibpath_var_CXX=no |
|
11961 |
- fi |
|
11962 |
- # Workaround some broken pre-1.5 toolchains |
|
11963 |
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
|
11964 |
- ;; |
|
11965 |
- openbsd2*) |
|
11966 |
- # C++ shared libraries are fairly broken |
|
11967 |
- ld_shlibs_CXX=no |
|
11968 |
- ;; |
|
11969 |
- openbsd*) |
|
11970 |
- if test -f /usr/libexec/ld.so; then |
|
11971 |
- hardcode_direct_CXX=yes |
|
11972 |
- hardcode_shlibpath_var_CXX=no |
|
11973 |
- archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
|
11974 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
11975 |
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
11976 |
- archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' |
|
11977 |
- export_dynamic_flag_spec_CXX='${wl}-E' |
|
11978 |
- whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
11979 |
- fi |
|
11980 |
- output_verbose_link_cmd='echo' |
|
11981 |
- else |
|
11982 |
- ld_shlibs_CXX=no |
|
11983 |
- fi |
|
11984 |
- ;; |
|
11985 |
- osf3*) |
|
11986 |
- case $cc_basename in |
|
11987 |
- KCC*) |
|
11988 |
- # Kuck and Associates, Inc. (KAI) C++ Compiler |
|
11989 |
- |
|
11990 |
- # KCC will only create a shared library if the output file |
|
11991 |
- # ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
11992 |
- # to its proper name (with version) after linking. |
|
11993 |
- archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
11994 |
- |
|
11995 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
11996 |
- hardcode_libdir_separator_CXX=: |
|
11997 |
- |
|
11998 |
- # Archives containing C++ object files must be created using |
|
11999 |
- # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
|
12000 |
- old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' |
|
12001 |
- |
|
12002 |
- ;; |
|
12003 |
- RCC*) |
|
12004 |
- # Rational C++ 2.4.1 |
|
12005 |
- # FIXME: insert proper C++ library support |
|
12006 |
- ld_shlibs_CXX=no |
|
12007 |
- ;; |
|
12008 |
- cxx*) |
|
12009 |
- allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
12010 |
- archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
12011 |
- |
|
12012 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12013 |
- hardcode_libdir_separator_CXX=: |
|
12014 |
- |
|
12015 |
- # Commands to make compiler produce verbose output that lists |
|
12016 |
- # what "hidden" libraries, object files and flags are used when |
|
12017 |
- # linking a shared library. |
|
12018 |
- # |
|
12019 |
- # There doesn't appear to be a way to prevent this compiler from |
|
12020 |
- # explicitly linking system object files so we need to strip them |
|
12021 |
- # from the output so that they don't get included in the library |
|
12022 |
- # dependencies. |
|
12023 |
- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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' |
|
12024 |
- ;; |
|
12025 |
- *) |
|
12026 |
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
12027 |
- allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
12028 |
- archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
12029 |
- |
|
12030 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12031 |
- hardcode_libdir_separator_CXX=: |
|
12032 |
- |
|
12033 |
- # Commands to make compiler produce verbose output that lists |
|
12034 |
- # what "hidden" libraries, object files and flags are used when |
|
12035 |
- # linking a shared library. |
|
12036 |
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' |
|
12037 |
- |
|
12038 |
- else |
|
12039 |
- # FIXME: insert proper C++ library support |
|
12040 |
- ld_shlibs_CXX=no |
|
12041 |
- fi |
|
12042 |
- ;; |
|
12043 |
- esac |
|
12044 |
- ;; |
|
12045 |
- osf4* | osf5*) |
|
12046 |
- case $cc_basename in |
|
12047 |
- KCC*) |
|
12048 |
- # Kuck and Associates, Inc. (KAI) C++ Compiler |
|
12049 |
- |
|
12050 |
- # KCC will only create a shared library if the output file |
|
12051 |
- # ends with ".so" (or ".sl" for HP-UX), so rename the library |
|
12052 |
- # to its proper name (with version) after linking. |
|
12053 |
- archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' |
|
12054 |
- |
|
12055 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' |
|
12056 |
- hardcode_libdir_separator_CXX=: |
|
12057 |
- |
|
12058 |
- # Archives containing C++ object files must be created using |
|
12059 |
- # the KAI C++ compiler. |
|
12060 |
- old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' |
|
12061 |
- ;; |
|
12062 |
- RCC*) |
|
12063 |
- # Rational C++ 2.4.1 |
|
12064 |
- # FIXME: insert proper C++ library support |
|
12065 |
- ld_shlibs_CXX=no |
|
12066 |
- ;; |
|
12067 |
- cxx*) |
|
12068 |
- allow_undefined_flag_CXX=' -expect_unresolved \*' |
|
12069 |
- archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
12070 |
- archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
|
12071 |
- echo "-hidden">> $lib.exp~ |
|
12072 |
- $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ |
|
12073 |
- $rm $lib.exp' |
|
12074 |
- |
|
12075 |
- hardcode_libdir_flag_spec_CXX='-rpath $libdir' |
|
12076 |
- hardcode_libdir_separator_CXX=: |
|
12077 |
- |
|
12078 |
- # Commands to make compiler produce verbose output that lists |
|
12079 |
- # what "hidden" libraries, object files and flags are used when |
|
12080 |
- # linking a shared library. |
|
12081 |
- # |
|
12082 |
- # There doesn't appear to be a way to prevent this compiler from |
|
12083 |
- # explicitly linking system object files so we need to strip them |
|
12084 |
- # from the output so that they don't get included in the library |
|
12085 |
- # dependencies. |
|
12086 |
- output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "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' |
|
12087 |
- ;; |
|
12088 |
- *) |
|
12089 |
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
12090 |
- allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' |
|
12091 |
- archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
12092 |
- |
|
12093 |
- hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' |
|
12094 |
- hardcode_libdir_separator_CXX=: |
|
12095 |
- |
|
12096 |
- # Commands to make compiler produce verbose output that lists |
|
12097 |
- # what "hidden" libraries, object files and flags are used when |
|
12098 |
- # linking a shared library. |
|
12099 |
- output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' |
|
12100 |
- |
|
12101 |
- else |
|
12102 |
- # FIXME: insert proper C++ library support |
|
12103 |
- ld_shlibs_CXX=no |
|
12104 |
- fi |
|
12105 |
- ;; |
|
12106 |
- esac |
|
12107 |
- ;; |
|
12108 |
- psos*) |
|
12109 |
- # FIXME: insert proper C++ library support |
|
12110 |
- ld_shlibs_CXX=no |
|
12111 |
- ;; |
|
12112 |
- sunos4*) |
|
12113 |
- case $cc_basename in |
|
12114 |
- CC*) |
|
12115 |
- # Sun C++ 4.x |
|
12116 |
- # FIXME: insert proper C++ library support |
|
12117 |
- ld_shlibs_CXX=no |
|
12118 |
- ;; |
|
12119 |
- lcc*) |
|
12120 |
- # Lucid |
|
12121 |
- # FIXME: insert proper C++ library support |
|
12122 |
- ld_shlibs_CXX=no |
|
12123 |
- ;; |
|
12124 |
- *) |
|
12125 |
- # FIXME: insert proper C++ library support |
|
12126 |
- ld_shlibs_CXX=no |
|
12127 |
- ;; |
|
12128 |
- esac |
|
12129 |
- ;; |
|
12130 |
- solaris*) |
|
12131 |
- case $cc_basename in |
|
12132 |
- CC*) |
|
12133 |
- # Sun C++ 4.2, 5.x and Centerline C++ |
|
12134 |
- archive_cmds_need_lc_CXX=yes |
|
12135 |
- no_undefined_flag_CXX=' -zdefs' |
|
12136 |
- archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
|
12137 |
- archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
12138 |
- $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
|
12139 |
- |
|
12140 |
- hardcode_libdir_flag_spec_CXX='-R$libdir' |
|
12141 |
- hardcode_shlibpath_var_CXX=no |
|
12142 |
- case $host_os in |
|
12143 |
- solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
12144 |
- *) |
|
12145 |
- # The compiler driver will combine and reorder linker options, |
|
12146 |
- # but understands `-z linker_flag'. |
|
12147 |
- # Supported since Solaris 2.6 (maybe 2.5.1?) |
|
12148 |
- whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' |
|
12149 |
- ;; |
|
12150 |
- esac |
|
12151 |
- link_all_deplibs_CXX=yes |
|
12152 |
- |
|
12153 |
- output_verbose_link_cmd='echo' |
|
12154 |
- |
|
12155 |
- # Archives containing C++ object files must be created using |
|
12156 |
- # "CC -xar", where "CC" is the Sun C++ compiler. This is |
|
12157 |
- # necessary to make sure instantiated templates are included |
|
12158 |
- # in the archive. |
|
12159 |
- old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' |
|
12160 |
- ;; |
|
12161 |
- gcx*) |
|
12162 |
- # Green Hills C++ Compiler |
|
12163 |
- archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
12164 |
- |
|
12165 |
- # The C++ compiler must be used to create the archive. |
|
12166 |
- old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' |
|
12167 |
- ;; |
|
12168 |
- *) |
|
12169 |
- # GNU C++ compiler with Solaris linker |
|
12170 |
- if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
|
12171 |
- no_undefined_flag_CXX=' ${wl}-z ${wl}defs' |
|
12172 |
- if $CC --version | grep -v '^2\.7' > /dev/null; then |
|
12173 |
- archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
12174 |
- archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
12175 |
- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
|
12176 |
- |
|
12177 |
- # Commands to make compiler produce verbose output that lists |
|
12178 |
- # what "hidden" libraries, object files and flags are used when |
|
12179 |
- # linking a shared library. |
|
12180 |
- output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" |
|
12181 |
- else |
|
12182 |
- # g++ 2.7 appears to require `-G' NOT `-shared' on this |
|
12183 |
- # platform. |
|
12184 |
- archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
|
12185 |
- archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
12186 |
- $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' |
|
12187 |
- |
|
12188 |
- # Commands to make compiler produce verbose output that lists |
|
12189 |
- # what "hidden" libraries, object files and flags are used when |
|
12190 |
- # linking a shared library. |
|
12191 |
- output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" |
|
12192 |
- fi |
|
12193 |
- |
|
12194 |
- hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' |
|
12195 |
- case $host_os in |
|
12196 |
- solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
12197 |
- *) |
|
12198 |
- whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
12199 |
- ;; |
|
12200 |
- esac |
|
12201 |
- fi |
|
12202 |
- ;; |
|
12203 |
- esac |
|
12204 |
- ;; |
|
12205 |
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
12206 |
- no_undefined_flag_CXX='${wl}-z,text' |
|
12207 |
- archive_cmds_need_lc_CXX=no |
|
12208 |
- hardcode_shlibpath_var_CXX=no |
|
12209 |
- runpath_var='LD_RUN_PATH' |
|
12210 |
- |
|
12211 |
- case $cc_basename in |
|
12212 |
- CC*) |
|
12213 |
- archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12214 |
- archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12215 |
- ;; |
|
12216 |
- *) |
|
12217 |
- archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12218 |
- archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12219 |
- ;; |
|
12220 |
- esac |
|
12221 |
- ;; |
|
12222 |
- sysv5* | sco3.2v5* | sco5v6*) |
|
12223 |
- # Note: We can NOT use -z defs as we might desire, because we do not |
|
12224 |
- # link with -lc, and that would cause any symbols used from libc to |
|
12225 |
- # always be unresolved, which means just about no library would |
|
12226 |
- # ever link correctly. If we're not using GNU ld we use -z text |
|
12227 |
- # though, which does catch some bad symbols but isn't as heavy-handed |
|
12228 |
- # as -z defs. |
|
12229 |
- # For security reasons, it is highly recommended that you always |
|
12230 |
- # use absolute paths for naming shared libraries, and exclude the |
|
12231 |
- # DT_RUNPATH tag from executables and libraries. But doing so |
|
12232 |
- # requires that you compile everything twice, which is a pain. |
|
12233 |
- # So that behaviour is only enabled if SCOABSPATH is set to a |
|
12234 |
- # non-empty value in the environment. Most likely only useful for |
|
12235 |
- # creating official distributions of packages. |
|
12236 |
- # This is a hack until libtool officially supports absolute path |
|
12237 |
- # names for shared libraries. |
|
12238 |
- no_undefined_flag_CXX='${wl}-z,text' |
|
12239 |
- allow_undefined_flag_CXX='${wl}-z,nodefs' |
|
12240 |
- archive_cmds_need_lc_CXX=no |
|
12241 |
- hardcode_shlibpath_var_CXX=no |
|
12242 |
- hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
12243 |
- hardcode_libdir_separator_CXX=':' |
|
12244 |
- link_all_deplibs_CXX=yes |
|
12245 |
- export_dynamic_flag_spec_CXX='${wl}-Bexport' |
|
12246 |
- runpath_var='LD_RUN_PATH' |
|
12247 |
- |
|
12248 |
- case $cc_basename in |
|
12249 |
- CC*) |
|
12250 |
- archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12251 |
- archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12252 |
- ;; |
|
12253 |
- *) |
|
12254 |
- archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12255 |
- archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
12256 |
- ;; |
|
12257 |
- esac |
|
12258 |
- ;; |
|
12259 |
- tandem*) |
|
12260 |
- case $cc_basename in |
|
12261 |
- NCC*) |
|
12262 |
- # NonStop-UX NCC 3.20 |
|
12263 |
- # FIXME: insert proper C++ library support |
|
12264 |
- ld_shlibs_CXX=no |
|
12265 |
- ;; |
|
12266 |
- *) |
|
12267 |
- # FIXME: insert proper C++ library support |
|
12268 |
- ld_shlibs_CXX=no |
|
12269 |
- ;; |
|
12270 |
- esac |
|
12271 |
- ;; |
|
12272 |
- vxworks*) |
|
12273 |
- # FIXME: insert proper C++ library support |
|
12274 |
- ld_shlibs_CXX=no |
|
12275 |
- ;; |
|
12276 |
- *) |
|
12277 |
- # FIXME: insert proper C++ library support |
|
12278 |
- ld_shlibs_CXX=no |
|
12279 |
- ;; |
|
12280 |
-esac |
|
12281 |
-{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
|
12282 |
-echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
|
12283 |
-test "$ld_shlibs_CXX" = no && can_build_shared=no |
|
12284 |
- |
|
12285 |
-GCC_CXX="$GXX" |
|
12286 |
-LD_CXX="$LD" |
|
12287 |
- |
|
12288 |
- |
|
12289 |
-cat > conftest.$ac_ext <<EOF |
|
12290 |
-class Foo |
|
12291 |
-{ |
|
12292 |
-public: |
|
12293 |
- Foo (void) { a = 0; } |
|
12294 |
-private: |
|
12295 |
- int a; |
|
12296 |
-}; |
|
12297 |
-EOF |
|
12298 |
- |
|
12299 |
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
12300 |
- (eval $ac_compile) 2>&5 |
|
12301 |
- ac_status=$? |
|
12302 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
12303 |
- (exit $ac_status); }; then |
|
12304 |
- # Parse the compiler output and extract the necessary |
|
12305 |
- # objects, libraries and library flags. |
|
12306 |
- |
|
12307 |
- # Sentinel used to keep track of whether or not we are before |
|
12308 |
- # the conftest object file. |
|
12309 |
- pre_test_object_deps_done=no |
|
12310 |
- |
|
12311 |
- # The `*' in the case matches for architectures that use `case' in |
|
12312 |
- # $output_verbose_cmd can trigger glob expansion during the loop |
|
12313 |
- # eval without this substitution. |
|
12314 |
- output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` |
|
12315 |
- |
|
12316 |
- for p in `eval $output_verbose_link_cmd`; do |
|
12317 |
- case $p in |
|
12318 |
- |
|
12319 |
- -L* | -R* | -l*) |
|
12320 |
- # Some compilers place space between "-{L,R}" and the path. |
|
12321 |
- # Remove the space. |
|
12322 |
- if test $p = "-L" \ |
|
12323 |
- || test $p = "-R"; then |
|
12324 |
- prev=$p |
|
12325 |
- continue |
|
12326 |
- else |
|
12327 |
- prev= |
|
12328 |
- fi |
|
12329 |
- |
|
12330 |
- if test "$pre_test_object_deps_done" = no; then |
|
12331 |
- case $p in |
|
12332 |
- -L* | -R*) |
|
12333 |
- # Internal compiler library paths should come after those |
|
12334 |
- # provided the user. The postdeps already come after the |
|
12335 |
- # user supplied libs so there is no need to process them. |
|
12336 |
- if test -z "$compiler_lib_search_path_CXX"; then |
|
12337 |
- compiler_lib_search_path_CXX="${prev}${p}" |
|
12338 |
- else |
|
12339 |
- compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" |
|
12340 |
- fi |
|
12341 |
- ;; |
|
12342 |
- # The "-l" case would never come before the object being |
|
12343 |
- # linked, so don't bother handling this case. |
|
12344 |
- esac |
|
12345 |
- else |
|
12346 |
- if test -z "$postdeps_CXX"; then |
|
12347 |
- postdeps_CXX="${prev}${p}" |
|
12348 |
- else |
|
12349 |
- postdeps_CXX="${postdeps_CXX} ${prev}${p}" |
|
12350 |
- fi |
|
12351 |
- fi |
|
12352 |
- ;; |
|
12353 |
- |
|
12354 |
- *.$objext) |
|
12355 |
- # This assumes that the test object file only shows up |
|
12356 |
- # once in the compiler output. |
|
12357 |
- if test "$p" = "conftest.$objext"; then |
|
12358 |
- pre_test_object_deps_done=yes |
|
12359 |
- continue |
|
12360 |
- fi |
|
12361 |
- |
|
12362 |
- if test "$pre_test_object_deps_done" = no; then |
|
12363 |
- if test -z "$predep_objects_CXX"; then |
|
12364 |
- predep_objects_CXX="$p" |
|
12365 |
- else |
|
12366 |
- predep_objects_CXX="$predep_objects_CXX $p" |
|
12367 |
- fi |
|
12368 |
- else |
|
12369 |
- if test -z "$postdep_objects_CXX"; then |
|
12370 |
- postdep_objects_CXX="$p" |
|
12371 |
- else |
|
12372 |
- postdep_objects_CXX="$postdep_objects_CXX $p" |
|
12373 |
- fi |
|
12374 |
- fi |
|
12375 |
- ;; |
|
12376 |
- |
|
12377 |
- *) ;; # Ignore the rest. |
|
12378 |
- |
|
12379 |
- esac |
|
12380 |
- done |
|
12381 |
- |
|
12382 |
- # Clean up. |
|
12383 |
- rm -f a.out a.exe |
|
12384 |
-else |
|
12385 |
- echo "libtool.m4: error: problem compiling CXX test program" |
|
12386 |
-fi |
|
12387 |
- |
|
12388 |
-$rm -f confest.$objext |
|
12389 |
- |
|
12390 |
-# PORTME: override above test on systems where it is broken |
|
12391 |
-case $host_os in |
|
12392 |
-interix[3-9]*) |
|
12393 |
- # Interix 3.5 installs completely hosed .la files for C++, so rather than |
|
12394 |
- # hack all around it, let's just trust "g++" to DTRT. |
|
12395 |
- predep_objects_CXX= |
|
12396 |
- postdep_objects_CXX= |
|
12397 |
- postdeps_CXX= |
|
12398 |
- ;; |
|
12399 |
- |
|
12400 |
-linux*) |
|
12401 |
- case `$CC -V 2>&1 | sed 5q` in |
|
12402 |
- *Sun\ C*) |
|
12403 |
- # Sun C++ 5.9 |
|
12404 |
- # |
|
12405 |
- # The more standards-conforming stlport4 library is |
|
12406 |
- # incompatible with the Cstd library. Avoid specifying |
|
12407 |
- # it if it's in CXXFLAGS. Ignore libCrun as |
|
12408 |
- # -library=stlport4 depends on it. |
|
12409 |
- case " $CXX $CXXFLAGS " in |
|
12410 |
- *" -library=stlport4 "*) |
|
12411 |
- solaris_use_stlport4=yes |
|
12412 |
- ;; |
|
12413 |
- esac |
|
12414 |
- if test "$solaris_use_stlport4" != yes; then |
|
12415 |
- postdeps_CXX='-library=Cstd -library=Crun' |
|
12416 |
- fi |
|
12417 |
- ;; |
|
12418 |
- esac |
|
12419 |
- ;; |
|
12420 |
- |
|
12421 |
-solaris*) |
|
12422 |
- case $cc_basename in |
|
12423 |
- CC*) |
|
12424 |
- # The more standards-conforming stlport4 library is |
|
12425 |
- # incompatible with the Cstd library. Avoid specifying |
|
12426 |
- # it if it's in CXXFLAGS. Ignore libCrun as |
|
12427 |
- # -library=stlport4 depends on it. |
|
12428 |
- case " $CXX $CXXFLAGS " in |
|
12429 |
- *" -library=stlport4 "*) |
|
12430 |
- solaris_use_stlport4=yes |
|
12431 |
- ;; |
|
12432 |
- esac |
|
12433 |
- |
|
12434 |
- # Adding this requires a known-good setup of shared libraries for |
|
12435 |
- # Sun compiler versions before 5.6, else PIC objects from an old |
|
12436 |
- # archive will be linked into the output, leading to subtle bugs. |
|
12437 |
- if test "$solaris_use_stlport4" != yes; then |
|
12438 |
- postdeps_CXX='-library=Cstd -library=Crun' |
|
12439 |
- fi |
|
12440 |
- ;; |
|
12441 |
- esac |
|
12442 |
- ;; |
|
12443 |
-esac |
|
12444 |
- |
|
12445 |
- |
|
12446 |
-case " $postdeps_CXX " in |
|
12447 |
-*" -lc "*) archive_cmds_need_lc_CXX=no ;; |
|
12448 |
-esac |
|
12449 |
- |
|
12450 |
-lt_prog_compiler_wl_CXX= |
|
12451 |
-lt_prog_compiler_pic_CXX= |
|
12452 |
-lt_prog_compiler_static_CXX= |
|
12453 |
- |
|
12454 |
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
|
12455 |
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
|
12456 |
- |
|
12457 |
- # C++ specific cases for pic, static, wl, etc. |
|
12458 |
- if test "$GXX" = yes; then |
|
12459 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12460 |
- lt_prog_compiler_static_CXX='-static' |
|
12461 |
- |
|
12462 |
- case $host_os in |
|
12463 |
- aix*) |
|
12464 |
- # All AIX code is PIC. |
|
12465 |
- if test "$host_cpu" = ia64; then |
|
12466 |
- # AIX 5 now supports IA64 processor |
|
12467 |
- lt_prog_compiler_static_CXX='-Bstatic' |
|
12468 |
- fi |
|
12469 |
- ;; |
|
12470 |
- amigaos*) |
|
12471 |
- # FIXME: we need at least 68020 code to build shared libraries, but |
|
12472 |
- # adding the `-m68020' flag to GCC prevents building anything better, |
|
12473 |
- # like `-m68040'. |
|
12474 |
- lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' |
|
12475 |
- ;; |
|
12476 |
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
12477 |
- # PIC is the default for these OSes. |
|
12478 |
- ;; |
|
12479 |
- mingw* | cygwin* | os2* | pw32*) |
|
12480 |
- # This hack is so that the source file can tell whether it is being |
|
12481 |
- # built for inclusion in a dll (and should export symbols for example). |
|
12482 |
- # Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
12483 |
- # (--disable-auto-import) libraries |
|
12484 |
- lt_prog_compiler_pic_CXX='-DDLL_EXPORT' |
|
12485 |
- ;; |
|
12486 |
- darwin* | rhapsody*) |
|
12487 |
- # PIC is the default on this platform |
|
12488 |
- # Common symbols not allowed in MH_DYLIB files |
|
12489 |
- lt_prog_compiler_pic_CXX='-fno-common' |
|
12490 |
- ;; |
|
12491 |
- *djgpp*) |
|
12492 |
- # DJGPP does not support shared libraries at all |
|
12493 |
- lt_prog_compiler_pic_CXX= |
|
12494 |
- ;; |
|
12495 |
- interix[3-9]*) |
|
12496 |
- # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
12497 |
- # Instead, we relocate shared libraries at runtime. |
|
12498 |
- ;; |
|
12499 |
- sysv4*MP*) |
|
12500 |
- if test -d /usr/nec; then |
|
12501 |
- lt_prog_compiler_pic_CXX=-Kconform_pic |
|
12502 |
- fi |
|
12503 |
- ;; |
|
12504 |
- hpux*) |
|
12505 |
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
12506 |
- # not for PA HP-UX. |
|
12507 |
- case $host_cpu in |
|
12508 |
- hppa*64*|ia64*) |
|
12509 |
- ;; |
|
12510 |
- *) |
|
12511 |
- lt_prog_compiler_pic_CXX='-fPIC' |
|
12512 |
- ;; |
|
12513 |
- esac |
|
12514 |
- ;; |
|
12515 |
- *) |
|
12516 |
- lt_prog_compiler_pic_CXX='-fPIC' |
|
12517 |
- ;; |
|
12518 |
- esac |
|
12519 |
- else |
|
12520 |
- case $host_os in |
|
12521 |
- aix4* | aix5*) |
|
12522 |
- # All AIX code is PIC. |
|
12523 |
- if test "$host_cpu" = ia64; then |
|
12524 |
- # AIX 5 now supports IA64 processor |
|
12525 |
- lt_prog_compiler_static_CXX='-Bstatic' |
|
12526 |
- else |
|
12527 |
- lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' |
|
12528 |
- fi |
|
12529 |
- ;; |
|
12530 |
- chorus*) |
|
12531 |
- case $cc_basename in |
|
12532 |
- cxch68*) |
|
12533 |
- # Green Hills C++ Compiler |
|
12534 |
- # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" |
|
12535 |
- ;; |
|
12536 |
- esac |
|
12537 |
- ;; |
|
12538 |
- darwin*) |
|
12539 |
- # PIC is the default on this platform |
|
12540 |
- # Common symbols not allowed in MH_DYLIB files |
|
12541 |
- case $cc_basename in |
|
12542 |
- xlc*) |
|
12543 |
- lt_prog_compiler_pic_CXX='-qnocommon' |
|
12544 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12545 |
- ;; |
|
12546 |
- esac |
|
12547 |
- ;; |
|
12548 |
- dgux*) |
|
12549 |
- case $cc_basename in |
|
12550 |
- ec++*) |
|
12551 |
- lt_prog_compiler_pic_CXX='-KPIC' |
|
12552 |
- ;; |
|
12553 |
- ghcx*) |
|
12554 |
- # Green Hills C++ Compiler |
|
12555 |
- lt_prog_compiler_pic_CXX='-pic' |
|
12556 |
- ;; |
|
12557 |
- *) |
|
12558 |
- ;; |
|
12559 |
- esac |
|
12560 |
- ;; |
|
12561 |
- freebsd* | dragonfly*) |
|
12562 |
- # FreeBSD uses GNU C++ |
|
12563 |
- ;; |
|
12564 |
- hpux9* | hpux10* | hpux11*) |
|
12565 |
- case $cc_basename in |
|
12566 |
- CC*) |
|
12567 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12568 |
- lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
|
12569 |
- if test "$host_cpu" != ia64; then |
|
12570 |
- lt_prog_compiler_pic_CXX='+Z' |
|
12571 |
- fi |
|
12572 |
- ;; |
|
12573 |
- aCC*) |
|
12574 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12575 |
- lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' |
|
12576 |
- case $host_cpu in |
|
12577 |
- hppa*64*|ia64*) |
|
12578 |
- # +Z the default |
|
12579 |
- ;; |
|
12580 |
- *) |
|
12581 |
- lt_prog_compiler_pic_CXX='+Z' |
|
12582 |
- ;; |
|
12583 |
- esac |
|
12584 |
- ;; |
|
12585 |
- *) |
|
12586 |
- ;; |
|
12587 |
- esac |
|
12588 |
- ;; |
|
12589 |
- interix*) |
|
12590 |
- # This is c89, which is MS Visual C++ (no shared libs) |
|
12591 |
- # Anyone wants to do a port? |
|
12592 |
- ;; |
|
12593 |
- irix5* | irix6* | nonstopux*) |
|
12594 |
- case $cc_basename in |
|
12595 |
- CC*) |
|
12596 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12597 |
- lt_prog_compiler_static_CXX='-non_shared' |
|
12598 |
- # CC pic flag -KPIC is the default. |
|
12599 |
- ;; |
|
12600 |
- *) |
|
12601 |
- ;; |
|
12602 |
- esac |
|
12603 |
- ;; |
|
12604 |
- linux* | k*bsd*-gnu) |
|
12605 |
- case $cc_basename in |
|
12606 |
- KCC*) |
|
12607 |
- # KAI C++ Compiler |
|
12608 |
- lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
12609 |
- lt_prog_compiler_pic_CXX='-fPIC' |
|
12610 |
- ;; |
|
12611 |
- icpc* | ecpc*) |
|
12612 |
- # Intel C++ |
|
12613 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12614 |
- lt_prog_compiler_pic_CXX='-KPIC' |
|
12615 |
- lt_prog_compiler_static_CXX='-static' |
|
12616 |
- ;; |
|
12617 |
- pgCC*) |
|
12618 |
- # Portland Group C++ compiler. |
|
12619 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12620 |
- lt_prog_compiler_pic_CXX='-fpic' |
|
12621 |
- lt_prog_compiler_static_CXX='-Bstatic' |
|
12622 |
- ;; |
|
12623 |
- cxx*) |
|
12624 |
- # Compaq C++ |
|
12625 |
- # Make sure the PIC flag is empty. It appears that all Alpha |
|
12626 |
- # Linux and Compaq Tru64 Unix objects are PIC. |
|
12627 |
- lt_prog_compiler_pic_CXX= |
|
12628 |
- lt_prog_compiler_static_CXX='-non_shared' |
|
12629 |
- ;; |
|
12630 |
- *) |
|
12631 |
- case `$CC -V 2>&1 | sed 5q` in |
|
12632 |
- *Sun\ C*) |
|
12633 |
- # Sun C++ 5.9 |
|
12634 |
- lt_prog_compiler_pic_CXX='-KPIC' |
|
12635 |
- lt_prog_compiler_static_CXX='-Bstatic' |
|
12636 |
- lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
12637 |
- ;; |
|
12638 |
- esac |
|
12639 |
- ;; |
|
12640 |
- esac |
|
12641 |
- ;; |
|
12642 |
- lynxos*) |
|
12643 |
- ;; |
|
12644 |
- m88k*) |
|
12645 |
- ;; |
|
12646 |
- mvs*) |
|
12647 |
- case $cc_basename in |
|
12648 |
- cxx*) |
|
12649 |
- lt_prog_compiler_pic_CXX='-W c,exportall' |
|
12650 |
- ;; |
|
12651 |
- *) |
|
12652 |
- ;; |
|
12653 |
- esac |
|
12654 |
- ;; |
|
12655 |
- netbsd* | netbsdelf*-gnu) |
|
12656 |
- ;; |
|
12657 |
- osf3* | osf4* | osf5*) |
|
12658 |
- case $cc_basename in |
|
12659 |
- KCC*) |
|
12660 |
- lt_prog_compiler_wl_CXX='--backend -Wl,' |
|
12661 |
- ;; |
|
12662 |
- RCC*) |
|
12663 |
- # Rational C++ 2.4.1 |
|
12664 |
- lt_prog_compiler_pic_CXX='-pic' |
|
12665 |
- ;; |
|
12666 |
- cxx*) |
|
12667 |
- # Digital/Compaq C++ |
|
12668 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12669 |
- # Make sure the PIC flag is empty. It appears that all Alpha |
|
12670 |
- # Linux and Compaq Tru64 Unix objects are PIC. |
|
12671 |
- lt_prog_compiler_pic_CXX= |
|
12672 |
- lt_prog_compiler_static_CXX='-non_shared' |
|
12673 |
- ;; |
|
12674 |
- *) |
|
12675 |
- ;; |
|
12676 |
- esac |
|
12677 |
- ;; |
|
12678 |
- psos*) |
|
12679 |
- ;; |
|
12680 |
- solaris*) |
|
12681 |
- case $cc_basename in |
|
12682 |
- CC*) |
|
12683 |
- # Sun C++ 4.2, 5.x and Centerline C++ |
|
12684 |
- lt_prog_compiler_pic_CXX='-KPIC' |
|
12685 |
- lt_prog_compiler_static_CXX='-Bstatic' |
|
12686 |
- lt_prog_compiler_wl_CXX='-Qoption ld ' |
|
12687 |
- ;; |
|
12688 |
- gcx*) |
|
12689 |
- # Green Hills C++ Compiler |
|
12690 |
- lt_prog_compiler_pic_CXX='-PIC' |
|
12691 |
- ;; |
|
12692 |
- *) |
|
12693 |
- ;; |
|
12694 |
- esac |
|
12695 |
- ;; |
|
12696 |
- sunos4*) |
|
12697 |
- case $cc_basename in |
|
12698 |
- CC*) |
|
12699 |
- # Sun C++ 4.x |
|
12700 |
- lt_prog_compiler_pic_CXX='-pic' |
|
12701 |
- lt_prog_compiler_static_CXX='-Bstatic' |
|
12702 |
- ;; |
|
12703 |
- lcc*) |
|
12704 |
- # Lucid |
|
12705 |
- lt_prog_compiler_pic_CXX='-pic' |
|
12706 |
- ;; |
|
12707 |
- *) |
|
12708 |
- ;; |
|
12709 |
- esac |
|
12710 |
- ;; |
|
12711 |
- tandem*) |
|
12712 |
- case $cc_basename in |
|
12713 |
- NCC*) |
|
12714 |
- # NonStop-UX NCC 3.20 |
|
12715 |
- lt_prog_compiler_pic_CXX='-KPIC' |
|
12716 |
- ;; |
|
12717 |
- *) |
|
12718 |
- ;; |
|
12719 |
- esac |
|
12720 |
- ;; |
|
12721 |
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
12722 |
- case $cc_basename in |
|
12723 |
- CC*) |
|
12724 |
- lt_prog_compiler_wl_CXX='-Wl,' |
|
12725 |
- lt_prog_compiler_pic_CXX='-KPIC' |
|
12726 |
- lt_prog_compiler_static_CXX='-Bstatic' |
|
12727 |
- ;; |
|
12728 |
- esac |
|
12729 |
- ;; |
|
12730 |
- vxworks*) |
|
12731 |
- ;; |
|
12732 |
- *) |
|
12733 |
- lt_prog_compiler_can_build_shared_CXX=no |
|
12734 |
- ;; |
|
12735 |
- esac |
|
12736 |
- fi |
|
12737 |
- |
|
12738 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
|
12739 |
-echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } |
|
12740 |
- |
|
12741 |
-# |
|
12742 |
-# Check to make sure the PIC flag actually works. |
|
12743 |
-# |
|
12744 |
-if test -n "$lt_prog_compiler_pic_CXX"; then |
|
12745 |
- |
|
12746 |
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
|
12747 |
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } |
|
12748 |
-if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
|
12749 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
12750 |
-else |
|
12751 |
- lt_prog_compiler_pic_works_CXX=no |
|
12752 |
- ac_outfile=conftest.$ac_objext |
|
12753 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
12754 |
- lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" |
|
12755 |
- # Insert the option either (1) after the last *FLAGS variable, or |
|
12756 |
- # (2) before a word containing "conftest.", or (3) at the end. |
|
12757 |
- # Note that $ac_compile itself does not contain backslashes and begins |
|
12758 |
- # with a dollar sign (not a hyphen), so the echo should work correctly. |
|
12759 |
- # The option is referenced via a variable to avoid confusing sed. |
|
12760 |
- lt_compile=`echo "$ac_compile" | $SED \ |
|
12761 |
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
12762 |
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
12763 |
- -e 's:$: $lt_compiler_flag:'` |
|
12764 |
- (eval echo "\"\$as_me:12764: $lt_compile\"" >&5) |
|
12765 |
- (eval "$lt_compile" 2>conftest.err) |
|
12766 |
- ac_status=$? |
|
12767 |
- cat conftest.err >&5 |
|
12768 |
- echo "$as_me:12768: \$? = $ac_status" >&5 |
|
12769 |
- if (exit $ac_status) && test -s "$ac_outfile"; then |
|
12770 |
- # The compiler can only warn and ignore the option if not recognized |
|
12771 |
- # So say no if there are warnings other than the usual output. |
|
12772 |
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
12773 |
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
12774 |
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
12775 |
- lt_prog_compiler_pic_works_CXX=yes |
|
12776 |
- fi |
|
12777 |
- fi |
|
12778 |
- $rm conftest* |
|
12779 |
- |
|
12780 |
-fi |
|
12781 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 |
|
12782 |
-echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } |
|
12783 |
- |
|
12784 |
-if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then |
|
12785 |
- case $lt_prog_compiler_pic_CXX in |
|
12786 |
- "" | " "*) ;; |
|
12787 |
- *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
|
12788 |
- esac |
|
12789 |
-else |
|
12790 |
- lt_prog_compiler_pic_CXX= |
|
12791 |
- lt_prog_compiler_can_build_shared_CXX=no |
|
12792 |
-fi |
|
12793 |
- |
|
12794 |
-fi |
|
12795 |
-case $host_os in |
|
12796 |
- # For platforms which do not support PIC, -DPIC is meaningless: |
|
12797 |
- *djgpp*) |
|
12798 |
- lt_prog_compiler_pic_CXX= |
|
12799 |
- ;; |
|
12800 |
- *) |
|
12801 |
- lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
|
12802 |
- ;; |
|
12803 |
-esac |
|
12804 |
- |
|
12805 |
-# |
|
12806 |
-# Check to make sure the static flag actually works. |
|
12807 |
-# |
|
12808 |
-wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" |
|
12809 |
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
12810 |
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
|
12811 |
-if test "${lt_prog_compiler_static_works_CXX+set}" = set; then |
|
12812 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
12813 |
-else |
|
12814 |
- lt_prog_compiler_static_works_CXX=no |
|
12815 |
- save_LDFLAGS="$LDFLAGS" |
|
12816 |
- LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
12817 |
- echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
12818 |
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
12819 |
- # The linker can only warn and ignore the option if not recognized |
|
12820 |
- # So say no if there are warnings |
|
12821 |
- if test -s conftest.err; then |
|
12822 |
- # Append any errors to the config.log. |
|
12823 |
- cat conftest.err 1>&5 |
|
12824 |
- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
12825 |
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
12826 |
- if diff conftest.exp conftest.er2 >/dev/null; then |
|
12827 |
- lt_prog_compiler_static_works_CXX=yes |
|
12828 |
- fi |
|
12829 |
- else |
|
12830 |
- lt_prog_compiler_static_works_CXX=yes |
|
12831 |
- fi |
|
12832 |
- fi |
|
12833 |
- $rm conftest* |
|
12834 |
- LDFLAGS="$save_LDFLAGS" |
|
12835 |
- |
|
12836 |
-fi |
|
12837 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 |
|
12838 |
-echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } |
|
12839 |
- |
|
12840 |
-if test x"$lt_prog_compiler_static_works_CXX" = xyes; then |
|
12841 |
- : |
|
12842 |
-else |
|
12843 |
- lt_prog_compiler_static_CXX= |
|
12844 |
-fi |
|
12845 |
- |
|
12846 |
- |
|
12847 |
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
12848 |
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
|
12849 |
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
|
12850 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
12851 |
-else |
|
12852 |
- lt_cv_prog_compiler_c_o_CXX=no |
|
12853 |
- $rm -r conftest 2>/dev/null |
|
12854 |
- mkdir conftest |
|
12855 |
- cd conftest |
|
12856 |
- mkdir out |
|
12857 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
12858 |
- |
|
12859 |
- lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
12860 |
- # Insert the option either (1) after the last *FLAGS variable, or |
|
12861 |
- # (2) before a word containing "conftest.", or (3) at the end. |
|
12862 |
- # Note that $ac_compile itself does not contain backslashes and begins |
|
12863 |
- # with a dollar sign (not a hyphen), so the echo should work correctly. |
|
12864 |
- lt_compile=`echo "$ac_compile" | $SED \ |
|
12865 |
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
12866 |
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
12867 |
- -e 's:$: $lt_compiler_flag:'` |
|
12868 |
- (eval echo "\"\$as_me:12868: $lt_compile\"" >&5) |
|
12869 |
- (eval "$lt_compile" 2>out/conftest.err) |
|
12870 |
- ac_status=$? |
|
12871 |
- cat out/conftest.err >&5 |
|
12872 |
- echo "$as_me:12872: \$? = $ac_status" >&5 |
|
12873 |
- if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
12874 |
- then |
|
12875 |
- # The compiler can only warn and ignore the option if not recognized |
|
12876 |
- # So say no if there are warnings |
|
12877 |
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
12878 |
- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
12879 |
- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
12880 |
- lt_cv_prog_compiler_c_o_CXX=yes |
|
12881 |
- fi |
|
12882 |
- fi |
|
12883 |
- chmod u+w . 2>&5 |
|
12884 |
- $rm conftest* |
|
12885 |
- # SGI C++ compiler will create directory out/ii_files/ for |
|
12886 |
- # template instantiation |
|
12887 |
- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
|
12888 |
- $rm out/* && rmdir out |
|
12889 |
- cd .. |
|
12890 |
- rmdir conftest |
|
12891 |
- $rm conftest* |
|
12892 |
- |
|
12893 |
-fi |
|
12894 |
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
|
12895 |
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } |
|
12896 |
- |
|
12897 |
- |
|
12898 |
-hard_links="nottested" |
|
12899 |
-if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
|
12900 |
- # do not overwrite the value of need_locks provided by the user |
|
12901 |
- { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
|
12902 |
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
|
12903 |
- hard_links=yes |
|
12904 |
- $rm conftest* |
|
12905 |
- ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
12906 |
- touch conftest.a |
|
12907 |
- ln conftest.a conftest.b 2>&5 || hard_links=no |
|
12908 |
- ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
12909 |
- { echo "$as_me:$LINENO: result: $hard_links" >&5 |
|
12910 |
-echo "${ECHO_T}$hard_links" >&6; } |
|
12911 |
- if test "$hard_links" = no; then |
|
12912 |
- { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
12913 |
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
12914 |
- need_locks=warn |
|
12915 |
- fi |
|
12916 |
-else |
|
12917 |
- need_locks=no |
|
12918 |
-fi |
|
12919 |
- |
|
12920 |
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
12921 |
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
|
12922 |
- |
|
12923 |
- export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
12924 |
- case $host_os in |
|
12925 |
- aix4* | aix5*) |
|
12926 |
- # If we're using GNU nm, then we don't want the "-C" option. |
|
12927 |
- # -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
12928 |
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
|
12929 |
- export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
12930 |
- else |
|
12931 |
- export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
12932 |
- fi |
|
12933 |
- ;; |
|
12934 |
- pw32*) |
|
12935 |
- export_symbols_cmds_CXX="$ltdll_cmds" |
|
12936 |
- ;; |
|
12937 |
- cygwin* | mingw*) |
|
12938 |
- 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' |
|
12939 |
- ;; |
|
12940 |
- linux* | k*bsd*-gnu) |
|
12941 |
- link_all_deplibs_CXX=no |
|
12942 |
- ;; |
|
12943 |
- *) |
|
12944 |
- export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
12945 |
- ;; |
|
12946 |
- esac |
|
12947 |
- |
|
12948 |
-{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
|
12949 |
-echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
|
12950 |
-test "$ld_shlibs_CXX" = no && can_build_shared=no |
|
12951 |
- |
|
12952 |
-# |
|
12953 |
-# Do we need to explicitly link libc? |
|
12954 |
-# |
|
12955 |
-case "x$archive_cmds_need_lc_CXX" in |
|
12956 |
-x|xyes) |
|
12957 |
- # Assume -lc should be added |
|
12958 |
- archive_cmds_need_lc_CXX=yes |
|
12959 |
- |
|
12960 |
- if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
12961 |
- case $archive_cmds_CXX in |
|
12962 |
- *'~'*) |
|
12963 |
- # FIXME: we may have to deal with multi-command sequences. |
|
12964 |
- ;; |
|
12965 |
- '$CC '*) |
|
12966 |
- # Test whether the compiler implicitly links with -lc since on some |
|
12967 |
- # systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
12968 |
- # to ld, don't add -lc before -lgcc. |
|
12969 |
- { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
|
12970 |
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
|
12971 |
- $rm conftest* |
|
12972 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
12973 |
- |
|
12974 |
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
12975 |
- (eval $ac_compile) 2>&5 |
|
12976 |
- ac_status=$? |
|
12977 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
12978 |
- (exit $ac_status); } 2>conftest.err; then |
|
12979 |
- soname=conftest |
|
12980 |
- lib=conftest |
|
12981 |
- libobjs=conftest.$ac_objext |
|
12982 |
- deplibs= |
|
12983 |
- wl=$lt_prog_compiler_wl_CXX |
|
12984 |
- pic_flag=$lt_prog_compiler_pic_CXX |
|
12985 |
- compiler_flags=-v |
|
12986 |
- linker_flags=-v |
|
12987 |
- verstring= |
|
12988 |
- output_objdir=. |
|
12989 |
- libname=conftest |
|
12990 |
- lt_save_allow_undefined_flag=$allow_undefined_flag_CXX |
|
12991 |
- allow_undefined_flag_CXX= |
|
12992 |
- if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
12993 |
- (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
12994 |
- ac_status=$? |
|
12995 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
12996 |
- (exit $ac_status); } |
|
12997 |
- then |
|
12998 |
- archive_cmds_need_lc_CXX=no |
|
12999 |
- else |
|
13000 |
- archive_cmds_need_lc_CXX=yes |
|
13001 |
- fi |
|
13002 |
- allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
|
13003 |
- else |
|
13004 |
- cat conftest.err 1>&5 |
|
13005 |
- fi |
|
13006 |
- $rm conftest* |
|
13007 |
- { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
|
13008 |
-echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } |
|
13009 |
- ;; |
|
13010 |
- esac |
|
13011 |
- fi |
|
13012 |
- ;; |
|
13013 |
-esac |
|
13014 |
- |
|
13015 |
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
13016 |
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
|
13017 |
-library_names_spec= |
|
13018 |
-libname_spec='lib$name' |
|
13019 |
-soname_spec= |
|
13020 |
-shrext_cmds=".so" |
|
13021 |
-postinstall_cmds= |
|
13022 |
-postuninstall_cmds= |
|
13023 |
-finish_cmds= |
|
13024 |
-finish_eval= |
|
13025 |
-shlibpath_var= |
|
13026 |
-shlibpath_overrides_runpath=unknown |
|
13027 |
-version_type=none |
|
13028 |
-dynamic_linker="$host_os ld.so" |
|
13029 |
-sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
13030 |
- |
|
13031 |
-need_lib_prefix=unknown |
|
13032 |
-hardcode_into_libs=no |
|
13033 |
- |
|
13034 |
-# when you set need_version to no, make sure it does not cause -set_version |
|
13035 |
-# flags to be left without arguments |
|
13036 |
-need_version=unknown |
|
13037 |
- |
|
13038 |
-case $host_os in |
|
13039 |
-aix3*) |
|
13040 |
- version_type=linux |
|
13041 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
13042 |
- shlibpath_var=LIBPATH |
|
13043 |
- |
|
13044 |
- # AIX 3 has no versioning support, so we append a major version to the name. |
|
13045 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13046 |
- ;; |
|
13047 |
- |
|
13048 |
-aix4* | aix5*) |
|
13049 |
- version_type=linux |
|
13050 |
- need_lib_prefix=no |
|
13051 |
- need_version=no |
|
13052 |
- hardcode_into_libs=yes |
|
13053 |
- if test "$host_cpu" = ia64; then |
|
13054 |
- # AIX 5 supports IA64 |
|
13055 |
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
13056 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13057 |
- else |
|
13058 |
- # With GCC up to 2.95.x, collect2 would create an import file |
|
13059 |
- # for dependence libraries. The import file would start with |
|
13060 |
- # the line `#! .'. This would cause the generated library to |
|
13061 |
- # depend on `.', always an invalid library. This was fixed in |
|
13062 |
- # development snapshots of GCC prior to 3.0. |
|
13063 |
- case $host_os in |
|
13064 |
- aix4 | aix4.[01] | aix4.[01].*) |
|
13065 |
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
13066 |
- echo ' yes ' |
|
13067 |
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
|
13068 |
- : |
|
13069 |
- else |
|
13070 |
- can_build_shared=no |
|
13071 |
- fi |
|
13072 |
- ;; |
|
13073 |
- esac |
|
13074 |
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
13075 |
- # soname into executable. Probably we can add versioning support to |
|
13076 |
- # collect2, so additional links can be useful in future. |
|
13077 |
- if test "$aix_use_runtimelinking" = yes; then |
|
13078 |
- # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
13079 |
- # instead of lib<name>.a to let people know that these are not |
|
13080 |
- # typical AIX shared libraries. |
|
13081 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13082 |
- else |
|
13083 |
- # We preserve .a as extension for shared libraries through AIX4.2 |
|
13084 |
- # and later when we are not doing run time linking. |
|
13085 |
- library_names_spec='${libname}${release}.a $libname.a' |
|
13086 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13087 |
- fi |
|
13088 |
- shlibpath_var=LIBPATH |
|
13089 |
- fi |
|
13090 |
- ;; |
|
13091 |
- |
|
13092 |
-amigaos*) |
|
13093 |
- library_names_spec='$libname.ixlibrary $libname.a' |
|
13094 |
- # Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
13095 |
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
|
13096 |
- ;; |
|
13097 |
- |
|
13098 |
-beos*) |
|
13099 |
- library_names_spec='${libname}${shared_ext}' |
|
13100 |
- dynamic_linker="$host_os ld.so" |
|
13101 |
- shlibpath_var=LIBRARY_PATH |
|
13102 |
- ;; |
|
13103 |
- |
|
13104 |
-bsdi[45]*) |
|
13105 |
- version_type=linux |
|
13106 |
- need_version=no |
|
13107 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13108 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13109 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
13110 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13111 |
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
13112 |
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
13113 |
- # the default ld.so.conf also contains /usr/contrib/lib and |
|
13114 |
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
13115 |
- # libtool to hard-code these into programs |
|
13116 |
- ;; |
|
13117 |
- |
|
13118 |
-cygwin* | mingw* | pw32*) |
|
13119 |
- version_type=windows |
|
13120 |
- shrext_cmds=".dll" |
|
13121 |
- need_version=no |
|
13122 |
- need_lib_prefix=no |
|
13123 |
- |
|
13124 |
- case $GCC,$host_os in |
|
13125 |
- yes,cygwin* | yes,mingw* | yes,pw32*) |
|
13126 |
- library_names_spec='$libname.dll.a' |
|
13127 |
- # DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
13128 |
- postinstall_cmds='base_file=`basename \${file}`~ |
|
13129 |
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
|
13130 |
- dldir=$destdir/`dirname \$dlpath`~ |
|
13131 |
- test -d \$dldir || mkdir -p \$dldir~ |
|
13132 |
- $install_prog $dir/$dlname \$dldir/$dlname~ |
|
13133 |
- chmod a+x \$dldir/$dlname' |
|
13134 |
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
13135 |
- dlpath=$dir/\$dldll~ |
|
13136 |
- $rm \$dlpath' |
|
13137 |
- shlibpath_overrides_runpath=yes |
|
13138 |
- |
|
13139 |
- case $host_os in |
|
13140 |
- cygwin*) |
|
13141 |
- # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
13142 |
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
13143 |
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
13144 |
- ;; |
|
13145 |
- mingw*) |
|
13146 |
- # MinGW DLLs use traditional 'lib' prefix |
|
13147 |
- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
13148 |
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
13149 |
- if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
|
13150 |
- # It is most probably a Windows format PATH printed by |
|
13151 |
- # mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
13152 |
- # path with ; separators, and with drive letters. We can handle the |
|
13153 |
- # drive letters (cygwin fileutils understands them), so leave them, |
|
13154 |
- # especially as we might pass files found there to a mingw objdump, |
|
13155 |
- # which wouldn't understand a cygwinified path. Ahh. |
|
13156 |
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
13157 |
- else |
|
13158 |
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
13159 |
- fi |
|
13160 |
- ;; |
|
13161 |
- pw32*) |
|
13162 |
- # pw32 DLLs use 'pw' prefix rather than 'lib' |
|
13163 |
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
13164 |
- ;; |
|
13165 |
- esac |
|
13166 |
- ;; |
|
13167 |
- |
|
13168 |
- *) |
|
13169 |
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
13170 |
- ;; |
|
13171 |
- esac |
|
13172 |
- dynamic_linker='Win32 ld.exe' |
|
13173 |
- # FIXME: first we should search . and the directory the executable is in |
|
13174 |
- shlibpath_var=PATH |
|
13175 |
- ;; |
|
13176 |
- |
|
13177 |
-darwin* | rhapsody*) |
|
13178 |
- dynamic_linker="$host_os dyld" |
|
13179 |
- version_type=darwin |
|
13180 |
- need_lib_prefix=no |
|
13181 |
- need_version=no |
|
13182 |
- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
13183 |
- soname_spec='${libname}${release}${major}$shared_ext' |
|
13184 |
- shlibpath_overrides_runpath=yes |
|
13185 |
- shlibpath_var=DYLD_LIBRARY_PATH |
|
13186 |
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
13187 |
- |
|
13188 |
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
13189 |
- ;; |
|
13190 |
- |
|
13191 |
-dgux*) |
|
13192 |
- version_type=linux |
|
13193 |
- need_lib_prefix=no |
|
13194 |
- need_version=no |
|
13195 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
13196 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13197 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13198 |
- ;; |
|
13199 |
- |
|
13200 |
-freebsd1*) |
|
13201 |
- dynamic_linker=no |
|
13202 |
- ;; |
|
13203 |
- |
|
13204 |
-freebsd* | dragonfly*) |
|
13205 |
- # DragonFly does not have aout. When/if they implement a new |
|
13206 |
- # versioning mechanism, adjust this. |
|
13207 |
- if test -x /usr/bin/objformat; then |
|
13208 |
- objformat=`/usr/bin/objformat` |
|
13209 |
- else |
|
13210 |
- case $host_os in |
|
13211 |
- freebsd[123]*) objformat=aout ;; |
|
13212 |
- *) objformat=elf ;; |
|
13213 |
- esac |
|
13214 |
- fi |
|
13215 |
- version_type=freebsd-$objformat |
|
13216 |
- case $version_type in |
|
13217 |
- freebsd-elf*) |
|
13218 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13219 |
- need_version=no |
|
13220 |
- need_lib_prefix=no |
|
13221 |
- ;; |
|
13222 |
- freebsd-*) |
|
13223 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
13224 |
- need_version=yes |
|
13225 |
- ;; |
|
13226 |
- esac |
|
13227 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13228 |
- case $host_os in |
|
13229 |
- freebsd2*) |
|
13230 |
- shlibpath_overrides_runpath=yes |
|
13231 |
- ;; |
|
13232 |
- freebsd3.[01]* | freebsdelf3.[01]*) |
|
13233 |
- shlibpath_overrides_runpath=yes |
|
13234 |
- hardcode_into_libs=yes |
|
13235 |
- ;; |
|
13236 |
- freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
13237 |
- freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
13238 |
- shlibpath_overrides_runpath=no |
|
13239 |
- hardcode_into_libs=yes |
|
13240 |
- ;; |
|
13241 |
- *) # from 4.6 on, and DragonFly |
|
13242 |
- shlibpath_overrides_runpath=yes |
|
13243 |
- hardcode_into_libs=yes |
|
13244 |
- ;; |
|
13245 |
- esac |
|
13246 |
- ;; |
|
13247 |
- |
|
13248 |
-gnu*) |
|
13249 |
- version_type=linux |
|
13250 |
- need_lib_prefix=no |
|
13251 |
- need_version=no |
|
13252 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
13253 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13254 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13255 |
- hardcode_into_libs=yes |
|
13256 |
- ;; |
|
13257 |
- |
|
13258 |
-hpux9* | hpux10* | hpux11*) |
|
13259 |
- # Give a soname corresponding to the major version so that dld.sl refuses to |
|
13260 |
- # link against other versions. |
|
13261 |
- version_type=sunos |
|
13262 |
- need_lib_prefix=no |
|
13263 |
- need_version=no |
|
13264 |
- case $host_cpu in |
|
13265 |
- ia64*) |
|
13266 |
- shrext_cmds='.so' |
|
13267 |
- hardcode_into_libs=yes |
|
13268 |
- dynamic_linker="$host_os dld.so" |
|
13269 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13270 |
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
13271 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13272 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13273 |
- if test "X$HPUX_IA64_MODE" = X32; then |
|
13274 |
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
13275 |
- else |
|
13276 |
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
13277 |
- fi |
|
13278 |
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
13279 |
- ;; |
|
13280 |
- hppa*64*) |
|
13281 |
- shrext_cmds='.sl' |
|
13282 |
- hardcode_into_libs=yes |
|
13283 |
- dynamic_linker="$host_os dld.sl" |
|
13284 |
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
13285 |
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
13286 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13287 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13288 |
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
13289 |
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
13290 |
- ;; |
|
13291 |
- *) |
|
13292 |
- shrext_cmds='.sl' |
|
13293 |
- dynamic_linker="$host_os dld.sl" |
|
13294 |
- shlibpath_var=SHLIB_PATH |
|
13295 |
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
13296 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13297 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13298 |
- ;; |
|
13299 |
- esac |
|
13300 |
- # HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
13301 |
- postinstall_cmds='chmod 555 $lib' |
|
13302 |
- ;; |
|
13303 |
- |
|
13304 |
-interix[3-9]*) |
|
13305 |
- version_type=linux |
|
13306 |
- need_lib_prefix=no |
|
13307 |
- need_version=no |
|
13308 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13309 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13310 |
- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
13311 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13312 |
- shlibpath_overrides_runpath=no |
|
13313 |
- hardcode_into_libs=yes |
|
13314 |
- ;; |
|
13315 |
- |
|
13316 |
-irix5* | irix6* | nonstopux*) |
|
13317 |
- case $host_os in |
|
13318 |
- nonstopux*) version_type=nonstopux ;; |
|
13319 |
- *) |
|
13320 |
- if test "$lt_cv_prog_gnu_ld" = yes; then |
|
13321 |
- version_type=linux |
|
13322 |
- else |
|
13323 |
- version_type=irix |
|
13324 |
- fi ;; |
|
13325 |
- esac |
|
13326 |
- need_lib_prefix=no |
|
13327 |
- need_version=no |
|
13328 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13329 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13330 |
- case $host_os in |
|
13331 |
- irix5* | nonstopux*) |
|
13332 |
- libsuff= shlibsuff= |
|
13333 |
- ;; |
|
13334 |
- *) |
|
13335 |
- case $LD in # libtool.m4 will add one of these switches to LD |
|
13336 |
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
13337 |
- libsuff= shlibsuff= libmagic=32-bit;; |
|
13338 |
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
13339 |
- libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
13340 |
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
13341 |
- libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
13342 |
- *) libsuff= shlibsuff= libmagic=never-match;; |
|
13343 |
- esac |
|
13344 |
- ;; |
|
13345 |
- esac |
|
13346 |
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
13347 |
- shlibpath_overrides_runpath=no |
|
13348 |
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
13349 |
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
13350 |
- hardcode_into_libs=yes |
|
13351 |
- ;; |
|
13352 |
- |
|
13353 |
-# No shared lib support for Linux oldld, aout, or coff. |
|
13354 |
-linux*oldld* | linux*aout* | linux*coff*) |
|
13355 |
- dynamic_linker=no |
|
13356 |
- ;; |
|
13357 |
- |
|
13358 |
-# This must be Linux ELF. |
|
13359 |
-linux* | k*bsd*-gnu) |
|
13360 |
- version_type=linux |
|
13361 |
- need_lib_prefix=no |
|
13362 |
- need_version=no |
|
13363 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13364 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13365 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
13366 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13367 |
- shlibpath_overrides_runpath=no |
|
13368 |
- # This implies no fast_install, which is unacceptable. |
|
13369 |
- # Some rework will be needed to allow for fast_install |
|
13370 |
- # before this can be enabled. |
|
13371 |
- hardcode_into_libs=yes |
|
13372 |
- |
|
13373 |
- # Append ld.so.conf contents to the search path |
|
13374 |
- if test -f /etc/ld.so.conf; then |
|
13375 |
- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
|
13376 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
13377 |
- fi |
|
13378 |
- |
|
13379 |
- # We used to test for /lib/ld.so.1 and disable shared libraries on |
|
13380 |
- # powerpc, because MkLinux only supported shared libraries with the |
|
13381 |
- # GNU dynamic linker. Since this was broken with cross compilers, |
|
13382 |
- # most powerpc-linux boxes support dynamic linking these days and |
|
13383 |
- # people can always --disable-shared, the test was removed, and we |
|
13384 |
- # assume the GNU/Linux dynamic linker is in use. |
|
13385 |
- dynamic_linker='GNU/Linux ld.so' |
|
13386 |
- ;; |
|
13387 |
- |
|
13388 |
-netbsdelf*-gnu) |
|
13389 |
- version_type=linux |
|
13390 |
- need_lib_prefix=no |
|
13391 |
- need_version=no |
|
13392 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13393 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13394 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13395 |
- shlibpath_overrides_runpath=no |
|
13396 |
- hardcode_into_libs=yes |
|
13397 |
- dynamic_linker='NetBSD ld.elf_so' |
|
13398 |
- ;; |
|
13399 |
- |
|
13400 |
-netbsd*) |
|
13401 |
- version_type=sunos |
|
13402 |
- need_lib_prefix=no |
|
13403 |
- need_version=no |
|
13404 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
13405 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
13406 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
13407 |
- dynamic_linker='NetBSD (a.out) ld.so' |
|
13408 |
- else |
|
13409 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
13410 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13411 |
- dynamic_linker='NetBSD ld.elf_so' |
|
13412 |
- fi |
|
13413 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13414 |
- shlibpath_overrides_runpath=yes |
|
13415 |
- hardcode_into_libs=yes |
|
13416 |
- ;; |
|
13417 |
- |
|
13418 |
-newsos6) |
|
13419 |
- version_type=linux |
|
13420 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13421 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13422 |
- shlibpath_overrides_runpath=yes |
|
13423 |
- ;; |
|
13424 |
- |
|
13425 |
-nto-qnx*) |
|
13426 |
- version_type=linux |
|
13427 |
- need_lib_prefix=no |
|
13428 |
- need_version=no |
|
13429 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13430 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13431 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13432 |
- shlibpath_overrides_runpath=yes |
|
13433 |
- ;; |
|
13434 |
- |
|
13435 |
-openbsd*) |
|
13436 |
- version_type=sunos |
|
13437 |
- sys_lib_dlsearch_path_spec="/usr/lib" |
|
13438 |
- need_lib_prefix=no |
|
13439 |
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
13440 |
- case $host_os in |
|
13441 |
- openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
13442 |
- *) need_version=no ;; |
|
13443 |
- esac |
|
13444 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
13445 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
13446 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13447 |
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
13448 |
- case $host_os in |
|
13449 |
- openbsd2.[89] | openbsd2.[89].*) |
|
13450 |
- shlibpath_overrides_runpath=no |
|
13451 |
- ;; |
|
13452 |
- *) |
|
13453 |
- shlibpath_overrides_runpath=yes |
|
13454 |
- ;; |
|
13455 |
- esac |
|
13456 |
- else |
|
13457 |
- shlibpath_overrides_runpath=yes |
|
13458 |
- fi |
|
13459 |
- ;; |
|
13460 |
- |
|
13461 |
-os2*) |
|
13462 |
- libname_spec='$name' |
|
13463 |
- shrext_cmds=".dll" |
|
13464 |
- need_lib_prefix=no |
|
13465 |
- library_names_spec='$libname${shared_ext} $libname.a' |
|
13466 |
- dynamic_linker='OS/2 ld.exe' |
|
13467 |
- shlibpath_var=LIBPATH |
|
13468 |
- ;; |
|
13469 |
- |
|
13470 |
-osf3* | osf4* | osf5*) |
|
13471 |
- version_type=osf |
|
13472 |
- need_lib_prefix=no |
|
13473 |
- need_version=no |
|
13474 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13475 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13476 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13477 |
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
13478 |
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
13479 |
- ;; |
|
13480 |
- |
|
13481 |
-rdos*) |
|
13482 |
- dynamic_linker=no |
|
13483 |
- ;; |
|
13484 |
- |
|
13485 |
-solaris*) |
|
13486 |
- version_type=linux |
|
13487 |
- need_lib_prefix=no |
|
13488 |
- need_version=no |
|
13489 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13490 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13491 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13492 |
- shlibpath_overrides_runpath=yes |
|
13493 |
- hardcode_into_libs=yes |
|
13494 |
- # ldd complains unless libraries are executable |
|
13495 |
- postinstall_cmds='chmod +x $lib' |
|
13496 |
- ;; |
|
13497 |
- |
|
13498 |
-sunos4*) |
|
13499 |
- version_type=sunos |
|
13500 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
13501 |
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
13502 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13503 |
- shlibpath_overrides_runpath=yes |
|
13504 |
- if test "$with_gnu_ld" = yes; then |
|
13505 |
- need_lib_prefix=no |
|
13506 |
- fi |
|
13507 |
- need_version=yes |
|
13508 |
- ;; |
|
13509 |
- |
|
13510 |
-sysv4 | sysv4.3*) |
|
13511 |
- version_type=linux |
|
13512 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13513 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13514 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13515 |
- case $host_vendor in |
|
13516 |
- sni) |
|
13517 |
- shlibpath_overrides_runpath=no |
|
13518 |
- need_lib_prefix=no |
|
13519 |
- export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
13520 |
- runpath_var=LD_RUN_PATH |
|
13521 |
- ;; |
|
13522 |
- siemens) |
|
13523 |
- need_lib_prefix=no |
|
13524 |
- ;; |
|
13525 |
- motorola) |
|
13526 |
- need_lib_prefix=no |
|
13527 |
- need_version=no |
|
13528 |
- shlibpath_overrides_runpath=no |
|
13529 |
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
13530 |
- ;; |
|
13531 |
- esac |
|
13532 |
- ;; |
|
13533 |
- |
|
13534 |
-sysv4*MP*) |
|
13535 |
- if test -d /usr/nec ;then |
|
13536 |
- version_type=linux |
|
13537 |
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
13538 |
- soname_spec='$libname${shared_ext}.$major' |
|
13539 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13540 |
- fi |
|
13541 |
- ;; |
|
13542 |
- |
|
13543 |
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
13544 |
- version_type=freebsd-elf |
|
13545 |
- need_lib_prefix=no |
|
13546 |
- need_version=no |
|
13547 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
13548 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13549 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13550 |
- hardcode_into_libs=yes |
|
13551 |
- if test "$with_gnu_ld" = yes; then |
|
13552 |
- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
13553 |
- shlibpath_overrides_runpath=no |
|
13554 |
- else |
|
13555 |
- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
13556 |
- shlibpath_overrides_runpath=yes |
|
13557 |
- case $host_os in |
|
13558 |
- sco3.2v5*) |
|
13559 |
- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
13560 |
- ;; |
|
13561 |
- esac |
|
13562 |
- fi |
|
13563 |
- sys_lib_dlsearch_path_spec='/usr/lib' |
|
13564 |
- ;; |
|
13565 |
- |
|
13566 |
-uts4*) |
|
13567 |
- version_type=linux |
|
13568 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
13569 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
13570 |
- shlibpath_var=LD_LIBRARY_PATH |
|
13571 |
- ;; |
|
13572 |
- |
|
13573 |
-*) |
|
13574 |
- dynamic_linker=no |
|
13575 |
- ;; |
|
13576 |
-esac |
|
13577 |
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
|
13578 |
-echo "${ECHO_T}$dynamic_linker" >&6; } |
|
13579 |
-test "$dynamic_linker" = no && can_build_shared=no |
|
13580 |
- |
|
13581 |
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
13582 |
-if test "$GCC" = yes; then |
|
13583 |
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
13584 |
-fi |
|
13585 |
- |
|
13586 |
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
13587 |
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
|
13588 |
-hardcode_action_CXX= |
|
13589 |
-if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
|
13590 |
- test -n "$runpath_var_CXX" || \ |
|
13591 |
- test "X$hardcode_automatic_CXX" = "Xyes" ; then |
|
13592 |
- |
|
13593 |
- # We can hardcode non-existant directories. |
|
13594 |
- if test "$hardcode_direct_CXX" != no && |
|
13595 |
- # If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
13596 |
- # have to relink, otherwise we might link with an installed library |
|
13597 |
- # when we should be linking with a yet-to-be-installed one |
|
13598 |
- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && |
|
13599 |
- test "$hardcode_minus_L_CXX" != no; then |
|
13600 |
- # Linking always hardcodes the temporary library directory. |
|
13601 |
- hardcode_action_CXX=relink |
|
13602 |
- else |
|
13603 |
- # We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
13604 |
- hardcode_action_CXX=immediate |
|
13605 |
- fi |
|
13606 |
-else |
|
13607 |
- # We cannot hardcode anything, or else we can only hardcode existing |
|
13608 |
- # directories. |
|
13609 |
- hardcode_action_CXX=unsupported |
|
13610 |
-fi |
|
13611 |
-{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
|
13612 |
-echo "${ECHO_T}$hardcode_action_CXX" >&6; } |
|
13613 |
- |
|
13614 |
-if test "$hardcode_action_CXX" = relink; then |
|
13615 |
- # Fast installation is not supported |
|
13616 |
- enable_fast_install=no |
|
13617 |
-elif test "$shlibpath_overrides_runpath" = yes || |
|
13618 |
- test "$enable_shared" = no; then |
|
13619 |
- # Fast installation is not necessary |
|
13620 |
- enable_fast_install=needless |
|
13621 |
-fi |
|
13622 |
- |
|
13623 |
- |
|
13624 |
-# The else clause should only fire when bootstrapping the |
|
13625 |
-# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
13626 |
-# with your package, and you will get complaints that there are |
|
13627 |
-# no rules to generate ltmain.sh. |
|
13628 |
-if test -f "$ltmain"; then |
|
13629 |
- # See if we are running on zsh, and set the options which allow our commands through |
|
13630 |
- # without removal of \ escapes. |
|
13631 |
- if test -n "${ZSH_VERSION+set}" ; then |
|
13632 |
- setopt NO_GLOB_SUBST |
|
13633 |
- fi |
|
13634 |
- # Now quote all the things that may contain metacharacters while being |
|
13635 |
- # careful not to overquote the AC_SUBSTed values. We take copies of the |
|
13636 |
- # variables and quote the copies for generation of the libtool script. |
|
13637 |
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
|
13638 |
- SED SHELL STRIP \ |
|
13639 |
- libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
13640 |
- old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
13641 |
- deplibs_check_method reload_flag reload_cmds need_locks \ |
|
13642 |
- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
13643 |
- lt_cv_sys_global_symbol_to_c_name_address \ |
|
13644 |
- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
13645 |
- old_postinstall_cmds old_postuninstall_cmds \ |
|
13646 |
- compiler_CXX \ |
|
13647 |
- CC_CXX \ |
|
13648 |
- LD_CXX \ |
|
13649 |
- lt_prog_compiler_wl_CXX \ |
|
13650 |
- lt_prog_compiler_pic_CXX \ |
|
13651 |
- lt_prog_compiler_static_CXX \ |
|
13652 |
- lt_prog_compiler_no_builtin_flag_CXX \ |
|
13653 |
- export_dynamic_flag_spec_CXX \ |
|
13654 |
- thread_safe_flag_spec_CXX \ |
|
13655 |
- whole_archive_flag_spec_CXX \ |
|
13656 |
- enable_shared_with_static_runtimes_CXX \ |
|
13657 |
- old_archive_cmds_CXX \ |
|
13658 |
- old_archive_from_new_cmds_CXX \ |
|
13659 |
- predep_objects_CXX \ |
|
13660 |
- postdep_objects_CXX \ |
|
13661 |
- predeps_CXX \ |
|
13662 |
- postdeps_CXX \ |
|
13663 |
- compiler_lib_search_path_CXX \ |
|
13664 |
- archive_cmds_CXX \ |
|
13665 |
- archive_expsym_cmds_CXX \ |
|
13666 |
- postinstall_cmds_CXX \ |
|
13667 |
- postuninstall_cmds_CXX \ |
|
13668 |
- old_archive_from_expsyms_cmds_CXX \ |
|
13669 |
- allow_undefined_flag_CXX \ |
|
13670 |
- no_undefined_flag_CXX \ |
|
13671 |
- export_symbols_cmds_CXX \ |
|
13672 |
- hardcode_libdir_flag_spec_CXX \ |
|
13673 |
- hardcode_libdir_flag_spec_ld_CXX \ |
|
13674 |
- hardcode_libdir_separator_CXX \ |
|
13675 |
- hardcode_automatic_CXX \ |
|
13676 |
- module_cmds_CXX \ |
|
13677 |
- module_expsym_cmds_CXX \ |
|
13678 |
- lt_cv_prog_compiler_c_o_CXX \ |
|
13679 |
- fix_srcfile_path_CXX \ |
|
13680 |
- exclude_expsyms_CXX \ |
|
13681 |
- include_expsyms_CXX; do |
|
13682 |
- |
|
13683 |
- case $var in |
|
13684 |
- old_archive_cmds_CXX | \ |
|
13685 |
- old_archive_from_new_cmds_CXX | \ |
|
13686 |
- archive_cmds_CXX | \ |
|
13687 |
- archive_expsym_cmds_CXX | \ |
|
13688 |
- module_cmds_CXX | \ |
|
13689 |
- module_expsym_cmds_CXX | \ |
|
13690 |
- old_archive_from_expsyms_cmds_CXX | \ |
|
13691 |
- export_symbols_cmds_CXX | \ |
|
13692 |
- extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
13693 |
- postinstall_cmds | postuninstall_cmds | \ |
|
13694 |
- old_postinstall_cmds | old_postuninstall_cmds | \ |
|
13695 |
- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
13696 |
- # Double-quote double-evaled strings. |
|
13697 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
13698 |
- ;; |
|
13699 |
- *) |
|
13700 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
13701 |
- ;; |
|
13702 |
- esac |
|
13703 |
- done |
|
13704 |
- |
|
13705 |
- case $lt_echo in |
|
13706 |
- *'\$0 --fallback-echo"') |
|
13707 |
- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
13708 |
- ;; |
|
13709 |
- esac |
|
13710 |
- |
|
13711 |
-cfgfile="$ofile" |
|
13712 |
- |
|
13713 |
- cat <<__EOF__ >> "$cfgfile" |
|
13714 |
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
13715 |
- |
|
13716 |
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
13717 |
- |
|
13718 |
-# Shell to use when invoking shell scripts. |
|
13719 |
-SHELL=$lt_SHELL |
|
13720 |
- |
|
13721 |
-# Whether or not to build shared libraries. |
|
13722 |
-build_libtool_libs=$enable_shared |
|
13723 |
- |
|
13724 |
-# Whether or not to build static libraries. |
|
13725 |
-build_old_libs=$enable_static |
|
13726 |
- |
|
13727 |
-# Whether or not to add -lc for building shared libraries. |
|
13728 |
-build_libtool_need_lc=$archive_cmds_need_lc_CXX |
|
13729 |
- |
|
13730 |
-# Whether or not to disallow shared libs when runtime libs are static |
|
13731 |
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX |
|
13732 |
- |
|
13733 |
-# Whether or not to optimize for fast installation. |
|
13734 |
-fast_install=$enable_fast_install |
|
13735 |
- |
|
13736 |
-# The host system. |
|
13737 |
-host_alias=$host_alias |
|
13738 |
-host=$host |
|
13739 |
-host_os=$host_os |
|
13740 |
- |
|
13741 |
-# The build system. |
|
13742 |
-build_alias=$build_alias |
|
13743 |
-build=$build |
|
13744 |
-build_os=$build_os |
|
13745 |
- |
|
13746 |
-# An echo program that does not interpret backslashes. |
|
13747 |
-echo=$lt_echo |
|
13748 |
- |
|
13749 |
-# The archiver. |
|
13750 |
-AR=$lt_AR |
|
13751 |
-AR_FLAGS=$lt_AR_FLAGS |
|
13752 |
- |
|
13753 |
-# A C compiler. |
|
13754 |
-LTCC=$lt_LTCC |
|
13755 |
- |
|
13756 |
-# LTCC compiler flags. |
|
13757 |
-LTCFLAGS=$lt_LTCFLAGS |
|
13758 |
- |
|
13759 |
-# A language-specific compiler. |
|
13760 |
-CC=$lt_compiler_CXX |
|
13761 |
- |
|
13762 |
-# Is the compiler the GNU C compiler? |
|
13763 |
-with_gcc=$GCC_CXX |
|
13764 |
- |
|
13765 |
-# An ERE matcher. |
|
13766 |
-EGREP=$lt_EGREP |
|
13767 |
- |
|
13768 |
-# The linker used to build libraries. |
|
13769 |
-LD=$lt_LD_CXX |
|
13770 |
- |
|
13771 |
-# Whether we need hard or soft links. |
|
13772 |
-LN_S=$lt_LN_S |
|
13773 |
- |
|
13774 |
-# A BSD-compatible nm program. |
|
13775 |
-NM=$lt_NM |
|
13776 |
- |
|
13777 |
-# A symbol stripping program |
|
13778 |
-STRIP=$lt_STRIP |
|
13779 |
- |
|
13780 |
-# Used to examine libraries when file_magic_cmd begins "file" |
|
13781 |
-MAGIC_CMD=$MAGIC_CMD |
|
13782 |
- |
|
13783 |
-# Used on cygwin: DLL creation program. |
|
13784 |
-DLLTOOL="$DLLTOOL" |
|
13785 |
- |
|
13786 |
-# Used on cygwin: object dumper. |
|
13787 |
-OBJDUMP="$OBJDUMP" |
|
13788 |
- |
|
13789 |
-# Used on cygwin: assembler. |
|
13790 |
-AS="$AS" |
|
13791 |
- |
|
13792 |
-# The name of the directory that contains temporary libtool files. |
|
13793 |
-objdir=$objdir |
|
13794 |
- |
|
13795 |
-# How to create reloadable object files. |
|
13796 |
-reload_flag=$lt_reload_flag |
|
13797 |
-reload_cmds=$lt_reload_cmds |
|
13798 |
- |
|
13799 |
-# How to pass a linker flag through the compiler. |
|
13800 |
-wl=$lt_lt_prog_compiler_wl_CXX |
|
13801 |
- |
|
13802 |
-# Object file suffix (normally "o"). |
|
13803 |
-objext="$ac_objext" |
|
13804 |
- |
|
13805 |
-# Old archive suffix (normally "a"). |
|
13806 |
-libext="$libext" |
|
13807 |
- |
|
13808 |
-# Shared library suffix (normally ".so"). |
|
13809 |
-shrext_cmds='$shrext_cmds' |
|
13810 |
- |
|
13811 |
-# Executable file suffix (normally ""). |
|
13812 |
-exeext="$exeext" |
|
13813 |
- |
|
13814 |
-# Additional compiler flags for building library objects. |
|
13815 |
-pic_flag=$lt_lt_prog_compiler_pic_CXX |
|
13816 |
-pic_mode=$pic_mode |
|
13817 |
- |
|
13818 |
-# What is the maximum length of a command? |
|
13819 |
-max_cmd_len=$lt_cv_sys_max_cmd_len |
|
13820 |
- |
|
13821 |
-# Does compiler simultaneously support -c and -o options? |
|
13822 |
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX |
|
13823 |
- |
|
13824 |
-# Must we lock files when doing compilation? |
|
13825 |
-need_locks=$lt_need_locks |
|
13826 |
- |
|
13827 |
-# Do we need the lib prefix for modules? |
|
13828 |
-need_lib_prefix=$need_lib_prefix |
|
13829 |
- |
|
13830 |
-# Do we need a version for libraries? |
|
13831 |
-need_version=$need_version |
|
13832 |
- |
|
13833 |
-# Whether dlopen is supported. |
|
13834 |
-dlopen_support=$enable_dlopen |
|
13835 |
- |
|
13836 |
-# Whether dlopen of programs is supported. |
|
13837 |
-dlopen_self=$enable_dlopen_self |
|
13838 |
- |
|
13839 |
-# Whether dlopen of statically linked programs is supported. |
|
13840 |
-dlopen_self_static=$enable_dlopen_self_static |
|
13841 |
- |
|
13842 |
-# Compiler flag to prevent dynamic linking. |
|
13843 |
-link_static_flag=$lt_lt_prog_compiler_static_CXX |
|
13844 |
- |
|
13845 |
-# Compiler flag to turn off builtin functions. |
|
13846 |
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX |
|
13847 |
- |
|
13848 |
-# Compiler flag to allow reflexive dlopens. |
|
13849 |
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX |
|
13850 |
- |
|
13851 |
-# Compiler flag to generate shared objects directly from archives. |
|
13852 |
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX |
|
13853 |
- |
|
13854 |
-# Compiler flag to generate thread-safe objects. |
|
13855 |
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX |
|
13856 |
- |
|
13857 |
-# Library versioning type. |
|
13858 |
-version_type=$version_type |
|
13859 |
- |
|
13860 |
-# Format of library name prefix. |
|
13861 |
-libname_spec=$lt_libname_spec |
|
13862 |
- |
|
13863 |
-# List of archive names. First name is the real one, the rest are links. |
|
13864 |
-# The last name is the one that the linker finds with -lNAME. |
|
13865 |
-library_names_spec=$lt_library_names_spec |
|
13866 |
- |
|
13867 |
-# The coded name of the library, if different from the real name. |
|
13868 |
-soname_spec=$lt_soname_spec |
|
13869 |
- |
|
13870 |
-# Commands used to build and install an old-style archive. |
|
13871 |
-RANLIB=$lt_RANLIB |
|
13872 |
-old_archive_cmds=$lt_old_archive_cmds_CXX |
|
13873 |
-old_postinstall_cmds=$lt_old_postinstall_cmds |
|
13874 |
-old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
13875 |
- |
|
13876 |
-# Create an old-style archive from a shared archive. |
|
13877 |
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX |
|
13878 |
- |
|
13879 |
-# Create a temporary old-style archive to link instead of a shared archive. |
|
13880 |
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX |
|
13881 |
- |
|
13882 |
-# Commands used to build and install a shared archive. |
|
13883 |
-archive_cmds=$lt_archive_cmds_CXX |
|
13884 |
-archive_expsym_cmds=$lt_archive_expsym_cmds_CXX |
|
13885 |
-postinstall_cmds=$lt_postinstall_cmds |
|
13886 |
-postuninstall_cmds=$lt_postuninstall_cmds |
|
13887 |
- |
|
13888 |
-# Commands used to build a loadable module (assumed same as above if empty) |
|
13889 |
-module_cmds=$lt_module_cmds_CXX |
|
13890 |
-module_expsym_cmds=$lt_module_expsym_cmds_CXX |
|
13891 |
- |
|
13892 |
-# Commands to strip libraries. |
|
13893 |
-old_striplib=$lt_old_striplib |
|
13894 |
-striplib=$lt_striplib |
|
13895 |
- |
|
13896 |
-# Dependencies to place before the objects being linked to create a |
|
13897 |
-# shared library. |
|
13898 |
-predep_objects=$lt_predep_objects_CXX |
|
13899 |
- |
|
13900 |
-# Dependencies to place after the objects being linked to create a |
|
13901 |
-# shared library. |
|
13902 |
-postdep_objects=$lt_postdep_objects_CXX |
|
13903 |
- |
|
13904 |
-# Dependencies to place before the objects being linked to create a |
|
13905 |
-# shared library. |
|
13906 |
-predeps=$lt_predeps_CXX |
|
13907 |
- |
|
13908 |
-# Dependencies to place after the objects being linked to create a |
|
13909 |
-# shared library. |
|
13910 |
-postdeps=$lt_postdeps_CXX |
|
13911 |
- |
|
13912 |
-# The library search path used internally by the compiler when linking |
|
13913 |
-# a shared library. |
|
13914 |
-compiler_lib_search_path=$lt_compiler_lib_search_path_CXX |
|
13915 |
- |
|
13916 |
-# Method to check whether dependent libraries are shared objects. |
|
13917 |
-deplibs_check_method=$lt_deplibs_check_method |
|
13918 |
- |
|
13919 |
-# Command to use when deplibs_check_method == file_magic. |
|
13920 |
-file_magic_cmd=$lt_file_magic_cmd |
|
13921 |
- |
|
13922 |
-# Flag that allows shared libraries with undefined symbols to be built. |
|
13923 |
-allow_undefined_flag=$lt_allow_undefined_flag_CXX |
|
13924 |
- |
|
13925 |
-# Flag that forces no undefined symbols. |
|
13926 |
-no_undefined_flag=$lt_no_undefined_flag_CXX |
|
13927 |
- |
|
13928 |
-# Commands used to finish a libtool library installation in a directory. |
|
13929 |
-finish_cmds=$lt_finish_cmds |
|
13930 |
- |
|
13931 |
-# Same as above, but a single script fragment to be evaled but not shown. |
|
13932 |
-finish_eval=$lt_finish_eval |
|
13933 |
- |
|
13934 |
-# Take the output of nm and produce a listing of raw symbols and C names. |
|
13935 |
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
13936 |
- |
|
13937 |
-# Transform the output of nm in a proper C declaration |
|
13938 |
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
13939 |
- |
|
13940 |
-# Transform the output of nm in a C name address pair |
|
13941 |
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
13942 |
- |
|
13943 |
-# This is the shared library runtime path variable. |
|
13944 |
-runpath_var=$runpath_var |
|
13945 |
- |
|
13946 |
-# This is the shared library path variable. |
|
13947 |
-shlibpath_var=$shlibpath_var |
|
13948 |
- |
|
13949 |
-# Is shlibpath searched before the hard-coded library search path? |
|
13950 |
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
13951 |
- |
|
13952 |
-# How to hardcode a shared library path into an executable. |
|
13953 |
-hardcode_action=$hardcode_action_CXX |
|
13954 |
- |
|
13955 |
-# Whether we should hardcode library paths into libraries. |
|
13956 |
-hardcode_into_libs=$hardcode_into_libs |
|
13957 |
- |
|
13958 |
-# Flag to hardcode \$libdir into a binary during linking. |
|
13959 |
-# This must work even if \$libdir does not exist. |
|
13960 |
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
|
13961 |
- |
|
13962 |
-# If ld is used when linking, flag to hardcode \$libdir into |
|
13963 |
-# a binary during linking. This must work even if \$libdir does |
|
13964 |
-# not exist. |
|
13965 |
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX |
|
13966 |
- |
|
13967 |
-# Whether we need a single -rpath flag with a separated argument. |
|
13968 |
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
|
13969 |
- |
|
13970 |
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
13971 |
-# resulting binary. |
|
13972 |
-hardcode_direct=$hardcode_direct_CXX |
|
13973 |
- |
|
13974 |
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
13975 |
-# resulting binary. |
|
13976 |
-hardcode_minus_L=$hardcode_minus_L_CXX |
|
13977 |
- |
|
13978 |
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
13979 |
-# the resulting binary. |
|
13980 |
-hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX |
|
13981 |
- |
|
13982 |
-# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
13983 |
-# and all subsequent libraries and executables linked against it. |
|
13984 |
-hardcode_automatic=$hardcode_automatic_CXX |
|
13985 |
- |
|
13986 |
-# Variables whose values should be saved in libtool wrapper scripts and |
|
13987 |
-# restored at relink time. |
|
13988 |
-variables_saved_for_relink="$variables_saved_for_relink" |
|
13989 |
- |
|
13990 |
-# Whether libtool must link a program against all its dependency libraries. |
|
13991 |
-link_all_deplibs=$link_all_deplibs_CXX |
|
13992 |
- |
|
13993 |
-# Compile-time system search path for libraries |
|
13994 |
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
13995 |
- |
|
13996 |
-# Run-time system search path for libraries |
|
13997 |
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
13998 |
- |
|
13999 |
-# Fix the shell variable \$srcfile for the compiler. |
|
14000 |
-fix_srcfile_path=$lt_fix_srcfile_path |
|
14001 |
- |
|
14002 |
-# Set to yes if exported symbols are required. |
|
14003 |
-always_export_symbols=$always_export_symbols_CXX |
|
14004 |
- |
|
14005 |
-# The commands to list exported symbols. |
|
14006 |
-export_symbols_cmds=$lt_export_symbols_cmds_CXX |
|
14007 |
- |
|
14008 |
-# The commands to extract the exported symbol list from a shared archive. |
|
14009 |
-extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
14010 |
- |
|
14011 |
-# Symbols that should not be listed in the preloaded symbols. |
|
14012 |
-exclude_expsyms=$lt_exclude_expsyms_CXX |
|
14013 |
- |
|
14014 |
-# Symbols that must always be exported. |
|
14015 |
-include_expsyms=$lt_include_expsyms_CXX |
|
14016 |
- |
|
14017 |
-# ### END LIBTOOL TAG CONFIG: $tagname |
|
14018 |
- |
|
14019 |
-__EOF__ |
|
14020 |
- |
|
14021 |
- |
|
14022 |
-else |
|
14023 |
- # If there is no Makefile yet, we rely on a make rule to execute |
|
14024 |
- # `config.status --recheck' to rerun these tests and create the |
|
14025 |
- # libtool script then. |
|
14026 |
- ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
14027 |
- if test -f "$ltmain_in"; then |
|
14028 |
- test -f Makefile && make "$ltmain" |
|
14029 |
- fi |
|
14030 |
-fi |
|
14031 |
- |
|
14032 |
- |
|
14033 |
-ac_ext=c |
|
14034 |
-ac_cpp='$CPP $CPPFLAGS' |
|
14035 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
14036 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14037 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
14038 |
- |
|
14039 |
-CC=$lt_save_CC |
|
14040 |
-LDCXX=$LD |
|
14041 |
-LD=$lt_save_LD |
|
14042 |
-GCC=$lt_save_GCC |
|
14043 |
-with_gnu_ldcxx=$with_gnu_ld |
|
14044 |
-with_gnu_ld=$lt_save_with_gnu_ld |
|
14045 |
-lt_cv_path_LDCXX=$lt_cv_path_LD |
|
14046 |
-lt_cv_path_LD=$lt_save_path_LD |
|
14047 |
-lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
|
14048 |
-lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
|
14049 |
- |
|
14050 |
- else |
|
14051 |
- tagname="" |
|
14052 |
- fi |
|
14053 |
- ;; |
|
14054 |
- |
|
14055 |
- F77) |
|
14056 |
- if test -n "$F77" && test "X$F77" != "Xno"; then |
|
14057 |
- |
|
14058 |
-ac_ext=f |
|
14059 |
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
|
14060 |
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
14061 |
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
|
14062 |
- |
|
14063 |
- |
|
14064 |
-archive_cmds_need_lc_F77=no |
|
14065 |
-allow_undefined_flag_F77= |
|
14066 |
-always_export_symbols_F77=no |
|
14067 |
-archive_expsym_cmds_F77= |
|
14068 |
-export_dynamic_flag_spec_F77= |
|
14069 |
-hardcode_direct_F77=no |
|
14070 |
-hardcode_libdir_flag_spec_F77= |
|
14071 |
-hardcode_libdir_flag_spec_ld_F77= |
|
14072 |
-hardcode_libdir_separator_F77= |
|
14073 |
-hardcode_minus_L_F77=no |
|
14074 |
-hardcode_automatic_F77=no |
|
14075 |
-module_cmds_F77= |
|
14076 |
-module_expsym_cmds_F77= |
|
14077 |
-link_all_deplibs_F77=unknown |
|
14078 |
-old_archive_cmds_F77=$old_archive_cmds |
|
14079 |
-no_undefined_flag_F77= |
|
14080 |
-whole_archive_flag_spec_F77= |
|
14081 |
-enable_shared_with_static_runtimes_F77=no |
|
14082 |
- |
|
14083 |
-# Source file extension for f77 test sources. |
|
14084 |
-ac_ext=f |
|
14085 |
- |
|
14086 |
-# Object file extension for compiled f77 test sources. |
|
14087 |
-objext=o |
|
14088 |
-objext_F77=$objext |
|
14089 |
- |
|
14090 |
-# Code to be used in simple compile tests |
|
14091 |
-lt_simple_compile_test_code="\ |
|
14092 |
- subroutine t |
|
14093 |
- return |
|
14094 |
- end |
|
14095 |
-" |
|
14096 |
- |
|
14097 |
-# Code to be used in simple link tests |
|
14098 |
-lt_simple_link_test_code="\ |
|
14099 |
- program t |
|
14100 |
- end |
|
14101 |
-" |
|
14102 |
- |
|
14103 |
-# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
14104 |
- |
|
14105 |
-# If no C compiler was specified, use CC. |
|
14106 |
-LTCC=${LTCC-"$CC"} |
|
14107 |
- |
|
14108 |
-# If no C compiler flags were specified, use CFLAGS. |
|
14109 |
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
14110 |
- |
|
14111 |
-# Allow CC to be a program name with arguments. |
|
14112 |
-compiler=$CC |
|
14113 |
- |
|
14114 |
- |
|
14115 |
-# save warnings/boilerplate of simple test code |
|
14116 |
-ac_outfile=conftest.$ac_objext |
|
14117 |
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
14118 |
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
14119 |
-_lt_compiler_boilerplate=`cat conftest.err` |
|
14120 |
-$rm conftest* |
|
14121 |
- |
|
14122 |
-ac_outfile=conftest.$ac_objext |
|
14123 |
-echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
14124 |
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
14125 |
-_lt_linker_boilerplate=`cat conftest.err` |
|
14126 |
-$rm conftest* |
|
14127 |
- |
|
14128 |
- |
|
14129 |
-# Allow CC to be a program name with arguments. |
|
14130 |
-lt_save_CC="$CC" |
|
14131 |
-CC=${F77-"f77"} |
|
14132 |
-compiler=$CC |
|
14133 |
-compiler_F77=$CC |
|
14134 |
-for cc_temp in $compiler""; do |
|
14135 |
- case $cc_temp in |
|
14136 |
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
14137 |
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
14138 |
- \-*) ;; |
|
14139 |
- *) break;; |
|
14140 |
- esac |
|
14141 |
-done |
|
14142 |
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
14143 |
- |
|
14144 |
- |
|
14145 |
-{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
14146 |
-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } |
|
14147 |
-{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
14148 |
-echo "${ECHO_T}$can_build_shared" >&6; } |
|
14149 |
- |
|
14150 |
-{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
|
14151 |
-echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } |
|
14152 |
-test "$can_build_shared" = "no" && enable_shared=no |
|
14153 |
- |
|
14154 |
-# On AIX, shared libraries and static libraries use the same namespace, and |
|
14155 |
-# are all built from PIC. |
|
14156 |
-case $host_os in |
|
14157 |
-aix3*) |
|
14158 |
- test "$enable_shared" = yes && enable_static=no |
|
14159 |
- if test -n "$RANLIB"; then |
|
14160 |
- archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
14161 |
- postinstall_cmds='$RANLIB $lib' |
|
14162 |
- fi |
|
14163 |
- ;; |
|
14164 |
-aix4* | aix5*) |
|
14165 |
- if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
14166 |
- test "$enable_shared" = yes && enable_static=no |
|
14167 |
- fi |
|
14168 |
- ;; |
|
14169 |
-esac |
|
14170 |
-{ echo "$as_me:$LINENO: result: $enable_shared" >&5 |
|
14171 |
-echo "${ECHO_T}$enable_shared" >&6; } |
|
14172 |
- |
|
14173 |
-{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
|
14174 |
-echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
|
14175 |
-# Make sure either enable_shared or enable_static is yes. |
|
14176 |
-test "$enable_shared" = yes || enable_static=yes |
|
14177 |
-{ echo "$as_me:$LINENO: result: $enable_static" >&5 |
|
14178 |
-echo "${ECHO_T}$enable_static" >&6; } |
|
14179 |
- |
|
14180 |
-GCC_F77="$G77" |
|
14181 |
-LD_F77="$LD" |
|
14182 |
- |
|
14183 |
-lt_prog_compiler_wl_F77= |
|
14184 |
-lt_prog_compiler_pic_F77= |
|
14185 |
-lt_prog_compiler_static_F77= |
|
14186 |
- |
|
14187 |
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
|
14188 |
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
|
14189 |
- |
|
14190 |
- if test "$GCC" = yes; then |
|
14191 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14192 |
- lt_prog_compiler_static_F77='-static' |
|
14193 |
- |
|
14194 |
- case $host_os in |
|
14195 |
- aix*) |
|
14196 |
- # All AIX code is PIC. |
|
14197 |
- if test "$host_cpu" = ia64; then |
|
14198 |
- # AIX 5 now supports IA64 processor |
|
14199 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14200 |
- fi |
|
14201 |
- ;; |
|
14202 |
- |
|
14203 |
- amigaos*) |
|
14204 |
- # FIXME: we need at least 68020 code to build shared libraries, but |
|
14205 |
- # adding the `-m68020' flag to GCC prevents building anything better, |
|
14206 |
- # like `-m68040'. |
|
14207 |
- lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' |
|
14208 |
- ;; |
|
14209 |
- |
|
14210 |
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
14211 |
- # PIC is the default for these OSes. |
|
14212 |
- ;; |
|
14213 |
- |
|
14214 |
- mingw* | cygwin* | pw32* | os2*) |
|
14215 |
- # This hack is so that the source file can tell whether it is being |
|
14216 |
- # built for inclusion in a dll (and should export symbols for example). |
|
14217 |
- # Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
14218 |
- # (--disable-auto-import) libraries |
|
14219 |
- lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
|
14220 |
- ;; |
|
14221 |
- |
|
14222 |
- darwin* | rhapsody*) |
|
14223 |
- # PIC is the default on this platform |
|
14224 |
- # Common symbols not allowed in MH_DYLIB files |
|
14225 |
- lt_prog_compiler_pic_F77='-fno-common' |
|
14226 |
- ;; |
|
14227 |
- |
|
14228 |
- interix[3-9]*) |
|
14229 |
- # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
14230 |
- # Instead, we relocate shared libraries at runtime. |
|
14231 |
- ;; |
|
14232 |
- |
|
14233 |
- msdosdjgpp*) |
|
14234 |
- # Just because we use GCC doesn't mean we suddenly get shared libraries |
|
14235 |
- # on systems that don't support them. |
|
14236 |
- lt_prog_compiler_can_build_shared_F77=no |
|
14237 |
- enable_shared=no |
|
14238 |
- ;; |
|
14239 |
- |
|
14240 |
- sysv4*MP*) |
|
14241 |
- if test -d /usr/nec; then |
|
14242 |
- lt_prog_compiler_pic_F77=-Kconform_pic |
|
14243 |
- fi |
|
14244 |
- ;; |
|
14245 |
- |
|
14246 |
- hpux*) |
|
14247 |
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
14248 |
- # not for PA HP-UX. |
|
14249 |
- case $host_cpu in |
|
14250 |
- hppa*64*|ia64*) |
|
14251 |
- # +Z the default |
|
14252 |
- ;; |
|
14253 |
- *) |
|
14254 |
- lt_prog_compiler_pic_F77='-fPIC' |
|
14255 |
- ;; |
|
14256 |
- esac |
|
14257 |
- ;; |
|
14258 |
- |
|
14259 |
- *) |
|
14260 |
- lt_prog_compiler_pic_F77='-fPIC' |
|
14261 |
- ;; |
|
14262 |
- esac |
|
14263 |
- else |
|
14264 |
- # PORTME Check for flag to pass linker flags through the system compiler. |
|
14265 |
- case $host_os in |
|
14266 |
- aix*) |
|
14267 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14268 |
- if test "$host_cpu" = ia64; then |
|
14269 |
- # AIX 5 now supports IA64 processor |
|
14270 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14271 |
- else |
|
14272 |
- lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' |
|
14273 |
- fi |
|
14274 |
- ;; |
|
14275 |
- darwin*) |
|
14276 |
- # PIC is the default on this platform |
|
14277 |
- # Common symbols not allowed in MH_DYLIB files |
|
14278 |
- case $cc_basename in |
|
14279 |
- xlc*) |
|
14280 |
- lt_prog_compiler_pic_F77='-qnocommon' |
|
14281 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14282 |
- ;; |
|
14283 |
- esac |
|
14284 |
- ;; |
|
14285 |
- |
|
14286 |
- mingw* | cygwin* | pw32* | os2*) |
|
14287 |
- # This hack is so that the source file can tell whether it is being |
|
14288 |
- # built for inclusion in a dll (and should export symbols for example). |
|
14289 |
- lt_prog_compiler_pic_F77='-DDLL_EXPORT' |
|
14290 |
- ;; |
|
14291 |
- |
|
14292 |
- hpux9* | hpux10* | hpux11*) |
|
14293 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14294 |
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
14295 |
- # not for PA HP-UX. |
|
14296 |
- case $host_cpu in |
|
14297 |
- hppa*64*|ia64*) |
|
14298 |
- # +Z the default |
|
14299 |
- ;; |
|
14300 |
- *) |
|
14301 |
- lt_prog_compiler_pic_F77='+Z' |
|
14302 |
- ;; |
|
14303 |
- esac |
|
14304 |
- # Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
14305 |
- lt_prog_compiler_static_F77='${wl}-a ${wl}archive' |
|
14306 |
- ;; |
|
14307 |
- |
|
14308 |
- irix5* | irix6* | nonstopux*) |
|
14309 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14310 |
- # PIC (with -KPIC) is the default. |
|
14311 |
- lt_prog_compiler_static_F77='-non_shared' |
|
14312 |
- ;; |
|
14313 |
- |
|
14314 |
- newsos6) |
|
14315 |
- lt_prog_compiler_pic_F77='-KPIC' |
|
14316 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14317 |
- ;; |
|
14318 |
- |
|
14319 |
- linux* | k*bsd*-gnu) |
|
14320 |
- case $cc_basename in |
|
14321 |
- icc* | ecc*) |
|
14322 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14323 |
- lt_prog_compiler_pic_F77='-KPIC' |
|
14324 |
- lt_prog_compiler_static_F77='-static' |
|
14325 |
- ;; |
|
14326 |
- pgcc* | pgf77* | pgf90* | pgf95*) |
|
14327 |
- # Portland Group compilers (*not* the Pentium gcc compiler, |
|
14328 |
- # which looks to be a dead project) |
|
14329 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14330 |
- lt_prog_compiler_pic_F77='-fpic' |
|
14331 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14332 |
- ;; |
|
14333 |
- ccc*) |
|
14334 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14335 |
- # All Alpha code is PIC. |
|
14336 |
- lt_prog_compiler_static_F77='-non_shared' |
|
14337 |
- ;; |
|
14338 |
- *) |
|
14339 |
- case `$CC -V 2>&1 | sed 5q` in |
|
14340 |
- *Sun\ C*) |
|
14341 |
- # Sun C 5.9 |
|
14342 |
- lt_prog_compiler_pic_F77='-KPIC' |
|
14343 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14344 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14345 |
- ;; |
|
14346 |
- *Sun\ F*) |
|
14347 |
- # Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
14348 |
- lt_prog_compiler_pic_F77='-KPIC' |
|
14349 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14350 |
- lt_prog_compiler_wl_F77='' |
|
14351 |
- ;; |
|
14352 |
- esac |
|
14353 |
- ;; |
|
14354 |
- esac |
|
14355 |
- ;; |
|
14356 |
- |
|
14357 |
- osf3* | osf4* | osf5*) |
|
14358 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14359 |
- # All OSF/1 code is PIC. |
|
14360 |
- lt_prog_compiler_static_F77='-non_shared' |
|
14361 |
- ;; |
|
14362 |
- |
|
14363 |
- rdos*) |
|
14364 |
- lt_prog_compiler_static_F77='-non_shared' |
|
14365 |
- ;; |
|
14366 |
- |
|
14367 |
- solaris*) |
|
14368 |
- lt_prog_compiler_pic_F77='-KPIC' |
|
14369 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14370 |
- case $cc_basename in |
|
14371 |
- f77* | f90* | f95*) |
|
14372 |
- lt_prog_compiler_wl_F77='-Qoption ld ';; |
|
14373 |
- *) |
|
14374 |
- lt_prog_compiler_wl_F77='-Wl,';; |
|
14375 |
- esac |
|
14376 |
- ;; |
|
14377 |
- |
|
14378 |
- sunos4*) |
|
14379 |
- lt_prog_compiler_wl_F77='-Qoption ld ' |
|
14380 |
- lt_prog_compiler_pic_F77='-PIC' |
|
14381 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14382 |
- ;; |
|
14383 |
- |
|
14384 |
- sysv4 | sysv4.2uw2* | sysv4.3*) |
|
14385 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14386 |
- lt_prog_compiler_pic_F77='-KPIC' |
|
14387 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14388 |
- ;; |
|
14389 |
- |
|
14390 |
- sysv4*MP*) |
|
14391 |
- if test -d /usr/nec ;then |
|
14392 |
- lt_prog_compiler_pic_F77='-Kconform_pic' |
|
14393 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14394 |
- fi |
|
14395 |
- ;; |
|
14396 |
- |
|
14397 |
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
14398 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14399 |
- lt_prog_compiler_pic_F77='-KPIC' |
|
14400 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14401 |
- ;; |
|
14402 |
- |
|
14403 |
- unicos*) |
|
14404 |
- lt_prog_compiler_wl_F77='-Wl,' |
|
14405 |
- lt_prog_compiler_can_build_shared_F77=no |
|
14406 |
- ;; |
|
14407 |
- |
|
14408 |
- uts4*) |
|
14409 |
- lt_prog_compiler_pic_F77='-pic' |
|
14410 |
- lt_prog_compiler_static_F77='-Bstatic' |
|
14411 |
- ;; |
|
14412 |
- |
|
14413 |
- *) |
|
14414 |
- lt_prog_compiler_can_build_shared_F77=no |
|
14415 |
- ;; |
|
14416 |
- esac |
|
14417 |
- fi |
|
14418 |
- |
|
14419 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 |
|
14420 |
-echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } |
|
14421 |
- |
|
14422 |
-# |
|
14423 |
-# Check to make sure the PIC flag actually works. |
|
14424 |
-# |
|
14425 |
-if test -n "$lt_prog_compiler_pic_F77"; then |
|
14426 |
- |
|
14427 |
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
|
14428 |
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } |
|
14429 |
-if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
|
14430 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
14431 |
-else |
|
14432 |
- lt_prog_compiler_pic_works_F77=no |
|
14433 |
- ac_outfile=conftest.$ac_objext |
|
14434 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
14435 |
- lt_compiler_flag="$lt_prog_compiler_pic_F77" |
|
14436 |
- # Insert the option either (1) after the last *FLAGS variable, or |
|
14437 |
- # (2) before a word containing "conftest.", or (3) at the end. |
|
14438 |
- # Note that $ac_compile itself does not contain backslashes and begins |
|
14439 |
- # with a dollar sign (not a hyphen), so the echo should work correctly. |
|
14440 |
- # The option is referenced via a variable to avoid confusing sed. |
|
14441 |
- lt_compile=`echo "$ac_compile" | $SED \ |
|
14442 |
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
14443 |
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
14444 |
- -e 's:$: $lt_compiler_flag:'` |
|
14445 |
- (eval echo "\"\$as_me:14445: $lt_compile\"" >&5) |
|
14446 |
- (eval "$lt_compile" 2>conftest.err) |
|
14447 |
- ac_status=$? |
|
14448 |
- cat conftest.err >&5 |
|
14449 |
- echo "$as_me:14449: \$? = $ac_status" >&5 |
|
14450 |
- if (exit $ac_status) && test -s "$ac_outfile"; then |
|
14451 |
- # The compiler can only warn and ignore the option if not recognized |
|
14452 |
- # So say no if there are warnings other than the usual output. |
|
14453 |
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
14454 |
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
14455 |
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
14456 |
- lt_prog_compiler_pic_works_F77=yes |
|
14457 |
- fi |
|
14458 |
- fi |
|
14459 |
- $rm conftest* |
|
14460 |
- |
|
14461 |
-fi |
|
14462 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 |
|
14463 |
-echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } |
|
14464 |
- |
|
14465 |
-if test x"$lt_prog_compiler_pic_works_F77" = xyes; then |
|
14466 |
- case $lt_prog_compiler_pic_F77 in |
|
14467 |
- "" | " "*) ;; |
|
14468 |
- *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
|
14469 |
- esac |
|
14470 |
-else |
|
14471 |
- lt_prog_compiler_pic_F77= |
|
14472 |
- lt_prog_compiler_can_build_shared_F77=no |
|
14473 |
-fi |
|
14474 |
- |
|
14475 |
-fi |
|
14476 |
-case $host_os in |
|
14477 |
- # For platforms which do not support PIC, -DPIC is meaningless: |
|
14478 |
- *djgpp*) |
|
14479 |
- lt_prog_compiler_pic_F77= |
|
14480 |
- ;; |
|
14481 |
- *) |
|
14482 |
- lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
|
14483 |
- ;; |
|
14484 |
-esac |
|
14485 |
- |
|
14486 |
-# |
|
14487 |
-# Check to make sure the static flag actually works. |
|
14488 |
-# |
|
14489 |
-wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" |
|
14490 |
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
14491 |
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
|
14492 |
-if test "${lt_prog_compiler_static_works_F77+set}" = set; then |
|
14493 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
14494 |
-else |
|
14495 |
- lt_prog_compiler_static_works_F77=no |
|
14496 |
- save_LDFLAGS="$LDFLAGS" |
|
14497 |
- LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
14498 |
- echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
14499 |
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
14500 |
- # The linker can only warn and ignore the option if not recognized |
|
14501 |
- # So say no if there are warnings |
|
14502 |
- if test -s conftest.err; then |
|
14503 |
- # Append any errors to the config.log. |
|
14504 |
- cat conftest.err 1>&5 |
|
14505 |
- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
14506 |
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
14507 |
- if diff conftest.exp conftest.er2 >/dev/null; then |
|
14508 |
- lt_prog_compiler_static_works_F77=yes |
|
14509 |
- fi |
|
14510 |
- else |
|
14511 |
- lt_prog_compiler_static_works_F77=yes |
|
14512 |
- fi |
|
14513 |
- fi |
|
14514 |
- $rm conftest* |
|
14515 |
- LDFLAGS="$save_LDFLAGS" |
|
14516 |
- |
|
14517 |
-fi |
|
14518 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 |
|
14519 |
-echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } |
|
14520 |
- |
|
14521 |
-if test x"$lt_prog_compiler_static_works_F77" = xyes; then |
|
14522 |
- : |
|
14523 |
-else |
|
14524 |
- lt_prog_compiler_static_F77= |
|
14525 |
-fi |
|
14526 |
- |
|
14527 |
- |
|
14528 |
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
14529 |
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
|
14530 |
-if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
|
14531 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
14532 |
-else |
|
14533 |
- lt_cv_prog_compiler_c_o_F77=no |
|
14534 |
- $rm -r conftest 2>/dev/null |
|
14535 |
- mkdir conftest |
|
14536 |
- cd conftest |
|
14537 |
- mkdir out |
|
14538 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
14539 |
- |
|
14540 |
- lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
14541 |
- # Insert the option either (1) after the last *FLAGS variable, or |
|
14542 |
- # (2) before a word containing "conftest.", or (3) at the end. |
|
14543 |
- # Note that $ac_compile itself does not contain backslashes and begins |
|
14544 |
- # with a dollar sign (not a hyphen), so the echo should work correctly. |
|
14545 |
- lt_compile=`echo "$ac_compile" | $SED \ |
|
14546 |
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
14547 |
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
14548 |
- -e 's:$: $lt_compiler_flag:'` |
|
14549 |
- (eval echo "\"\$as_me:14549: $lt_compile\"" >&5) |
|
14550 |
- (eval "$lt_compile" 2>out/conftest.err) |
|
14551 |
- ac_status=$? |
|
14552 |
- cat out/conftest.err >&5 |
|
14553 |
- echo "$as_me:14553: \$? = $ac_status" >&5 |
|
14554 |
- if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
14555 |
- then |
|
14556 |
- # The compiler can only warn and ignore the option if not recognized |
|
14557 |
- # So say no if there are warnings |
|
14558 |
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
14559 |
- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
14560 |
- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
14561 |
- lt_cv_prog_compiler_c_o_F77=yes |
|
14562 |
- fi |
|
14563 |
- fi |
|
14564 |
- chmod u+w . 2>&5 |
|
14565 |
- $rm conftest* |
|
14566 |
- # SGI C++ compiler will create directory out/ii_files/ for |
|
14567 |
- # template instantiation |
|
14568 |
- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
|
14569 |
- $rm out/* && rmdir out |
|
14570 |
- cd .. |
|
14571 |
- rmdir conftest |
|
14572 |
- $rm conftest* |
|
14573 |
- |
|
14574 |
-fi |
|
14575 |
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
|
14576 |
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } |
|
14577 |
- |
|
14578 |
- |
|
14579 |
-hard_links="nottested" |
|
14580 |
-if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
|
14581 |
- # do not overwrite the value of need_locks provided by the user |
|
14582 |
- { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
|
14583 |
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
|
14584 |
- hard_links=yes |
|
14585 |
- $rm conftest* |
|
14586 |
- ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
14587 |
- touch conftest.a |
|
14588 |
- ln conftest.a conftest.b 2>&5 || hard_links=no |
|
14589 |
- ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
14590 |
- { echo "$as_me:$LINENO: result: $hard_links" >&5 |
|
14591 |
-echo "${ECHO_T}$hard_links" >&6; } |
|
14592 |
- if test "$hard_links" = no; then |
|
14593 |
- { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
14594 |
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
14595 |
- need_locks=warn |
|
14596 |
- fi |
|
14597 |
-else |
|
14598 |
- need_locks=no |
|
14599 |
-fi |
|
14600 |
- |
|
14601 |
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
14602 |
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
|
14603 |
- |
|
14604 |
- runpath_var= |
|
14605 |
- allow_undefined_flag_F77= |
|
14606 |
- enable_shared_with_static_runtimes_F77=no |
|
14607 |
- archive_cmds_F77= |
|
14608 |
- archive_expsym_cmds_F77= |
|
14609 |
- old_archive_From_new_cmds_F77= |
|
14610 |
- old_archive_from_expsyms_cmds_F77= |
|
14611 |
- export_dynamic_flag_spec_F77= |
|
14612 |
- whole_archive_flag_spec_F77= |
|
14613 |
- thread_safe_flag_spec_F77= |
|
14614 |
- hardcode_libdir_flag_spec_F77= |
|
14615 |
- hardcode_libdir_flag_spec_ld_F77= |
|
14616 |
- hardcode_libdir_separator_F77= |
|
14617 |
- hardcode_direct_F77=no |
|
14618 |
- hardcode_minus_L_F77=no |
|
14619 |
- hardcode_shlibpath_var_F77=unsupported |
|
14620 |
- link_all_deplibs_F77=unknown |
|
14621 |
- hardcode_automatic_F77=no |
|
14622 |
- module_cmds_F77= |
|
14623 |
- module_expsym_cmds_F77= |
|
14624 |
- always_export_symbols_F77=no |
|
14625 |
- export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
14626 |
- # include_expsyms should be a list of space-separated symbols to be *always* |
|
14627 |
- # included in the symbol list |
|
14628 |
- include_expsyms_F77= |
|
14629 |
- # exclude_expsyms can be an extended regexp of symbols to exclude |
|
14630 |
- # it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
14631 |
- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
14632 |
- # as well as any symbol that contains `d'. |
|
14633 |
- exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" |
|
14634 |
- # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
14635 |
- # platforms (ab)use it in PIC code, but their linkers get confused if |
|
14636 |
- # the symbol is explicitly referenced. Since portable code cannot |
|
14637 |
- # rely on this symbol name, it's probably fine to never include it in |
|
14638 |
- # preloaded symbol tables. |
|
14639 |
- extract_expsyms_cmds= |
|
14640 |
- # Just being paranoid about ensuring that cc_basename is set. |
|
14641 |
- for cc_temp in $compiler""; do |
|
14642 |
- case $cc_temp in |
|
14643 |
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
14644 |
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
14645 |
- \-*) ;; |
|
14646 |
- *) break;; |
|
14647 |
- esac |
|
14648 |
-done |
|
14649 |
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
14650 |
- |
|
14651 |
- case $host_os in |
|
14652 |
- cygwin* | mingw* | pw32*) |
|
14653 |
- # FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
14654 |
- # When not using gcc, we currently assume that we are using |
|
14655 |
- # Microsoft Visual C++. |
|
14656 |
- if test "$GCC" != yes; then |
|
14657 |
- with_gnu_ld=no |
|
14658 |
- fi |
|
14659 |
- ;; |
|
14660 |
- interix*) |
|
14661 |
- # we just hope/assume this is gcc and not c89 (= MSVC++) |
|
14662 |
- with_gnu_ld=yes |
|
14663 |
- ;; |
|
14664 |
- openbsd*) |
|
14665 |
- with_gnu_ld=no |
|
14666 |
- ;; |
|
14667 |
- esac |
|
14668 |
- |
|
14669 |
- ld_shlibs_F77=yes |
|
14670 |
- if test "$with_gnu_ld" = yes; then |
|
14671 |
- # If archive_cmds runs LD, not CC, wlarc should be empty |
|
14672 |
- wlarc='${wl}' |
|
14673 |
- |
|
14674 |
- # Set some defaults for GNU ld with shared library support. These |
|
14675 |
- # are reset later if shared libraries are not supported. Putting them |
|
14676 |
- # here allows them to be overridden if necessary. |
|
14677 |
- runpath_var=LD_RUN_PATH |
|
14678 |
- hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' |
|
14679 |
- export_dynamic_flag_spec_F77='${wl}--export-dynamic' |
|
14680 |
- # ancient GNU ld didn't support --whole-archive et. al. |
|
14681 |
- if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
14682 |
- whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
14683 |
- else |
|
14684 |
- whole_archive_flag_spec_F77= |
|
14685 |
- fi |
|
14686 |
- supports_anon_versioning=no |
|
14687 |
- case `$LD -v 2>/dev/null` in |
|
14688 |
- *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
14689 |
- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
14690 |
- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
14691 |
- *\ 2.11.*) ;; # other 2.11 versions |
|
14692 |
- *) supports_anon_versioning=yes ;; |
|
14693 |
- esac |
|
14694 |
- |
|
14695 |
- # See if GNU ld supports shared libraries. |
|
14696 |
- case $host_os in |
|
14697 |
- aix3* | aix4* | aix5*) |
|
14698 |
- # On AIX/PPC, the GNU linker is very broken |
|
14699 |
- if test "$host_cpu" != ia64; then |
|
14700 |
- ld_shlibs_F77=no |
|
14701 |
- cat <<EOF 1>&2 |
|
14702 |
- |
|
14703 |
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
14704 |
-*** to be unable to reliably create shared libraries on AIX. |
|
14705 |
-*** Therefore, libtool is disabling shared libraries support. If you |
|
14706 |
-*** really care for shared libraries, you may want to modify your PATH |
|
14707 |
-*** so that a non-GNU linker is found, and then restart. |
|
14708 |
- |
|
14709 |
-EOF |
|
14710 |
- fi |
|
14711 |
- ;; |
|
14712 |
- |
|
14713 |
- amigaos*) |
|
14714 |
- archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
14715 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
14716 |
- hardcode_minus_L_F77=yes |
|
14717 |
- |
|
14718 |
- # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
|
14719 |
- # that the semantics of dynamic libraries on AmigaOS, at least up |
|
14720 |
- # to version 4, is to share data among multiple programs linked |
|
14721 |
- # with the same dynamic library. Since this doesn't match the |
|
14722 |
- # behavior of shared libraries on other platforms, we can't use |
|
14723 |
- # them. |
|
14724 |
- ld_shlibs_F77=no |
|
14725 |
- ;; |
|
14726 |
- |
|
14727 |
- beos*) |
|
14728 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14729 |
- allow_undefined_flag_F77=unsupported |
|
14730 |
- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
14731 |
- # support --undefined. This deserves some investigation. FIXME |
|
14732 |
- archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14733 |
- else |
|
14734 |
- ld_shlibs_F77=no |
|
14735 |
- fi |
|
14736 |
- ;; |
|
14737 |
- |
|
14738 |
- cygwin* | mingw* | pw32*) |
|
14739 |
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, |
|
14740 |
- # as there is no search path for DLLs. |
|
14741 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
14742 |
- allow_undefined_flag_F77=unsupported |
|
14743 |
- always_export_symbols_F77=no |
|
14744 |
- enable_shared_with_static_runtimes_F77=yes |
|
14745 |
- export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
14746 |
- |
|
14747 |
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
|
14748 |
- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
14749 |
- # If the export-symbols file already is a .def file (1st line |
|
14750 |
- # is EXPORTS), use it as is; otherwise, prepend... |
|
14751 |
- archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
14752 |
- cp $export_symbols $output_objdir/$soname.def; |
|
14753 |
- else |
|
14754 |
- echo EXPORTS > $output_objdir/$soname.def; |
|
14755 |
- cat $export_symbols >> $output_objdir/$soname.def; |
|
14756 |
- fi~ |
|
14757 |
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
14758 |
- else |
|
14759 |
- ld_shlibs_F77=no |
|
14760 |
- fi |
|
14761 |
- ;; |
|
14762 |
- |
|
14763 |
- interix[3-9]*) |
|
14764 |
- hardcode_direct_F77=no |
|
14765 |
- hardcode_shlibpath_var_F77=no |
|
14766 |
- hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
14767 |
- export_dynamic_flag_spec_F77='${wl}-E' |
|
14768 |
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
14769 |
- # Instead, shared libraries are loaded at an image base (0x10000000 by |
|
14770 |
- # default) and relocated if they conflict, which is a slow very memory |
|
14771 |
- # consuming and fragmenting process. To avoid this, we pick a random, |
|
14772 |
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
14773 |
- # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
14774 |
- archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
14775 |
- 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' |
|
14776 |
- ;; |
|
14777 |
- |
|
14778 |
- gnu* | linux* | k*bsd*-gnu) |
|
14779 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14780 |
- tmp_addflag= |
|
14781 |
- case $cc_basename,$host_cpu in |
|
14782 |
- pgcc*) # Portland Group C compiler |
|
14783 |
- whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
14784 |
- tmp_addflag=' $pic_flag' |
|
14785 |
- ;; |
|
14786 |
- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
14787 |
- whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
14788 |
- tmp_addflag=' $pic_flag -Mnomain' ;; |
|
14789 |
- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
14790 |
- tmp_addflag=' -i_dynamic' ;; |
|
14791 |
- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
14792 |
- tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
14793 |
- ifc* | ifort*) # Intel Fortran compiler |
|
14794 |
- tmp_addflag=' -nofor_main' ;; |
|
14795 |
- esac |
|
14796 |
- case `$CC -V 2>&1 | sed 5q` in |
|
14797 |
- *Sun\ C*) # Sun C 5.9 |
|
14798 |
- 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' |
|
14799 |
- tmp_sharedflag='-G' ;; |
|
14800 |
- *Sun\ F*) # Sun Fortran 8.3 |
|
14801 |
- tmp_sharedflag='-G' ;; |
|
14802 |
- *) |
|
14803 |
- tmp_sharedflag='-shared' ;; |
|
14804 |
- esac |
|
14805 |
- archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14806 |
- |
|
14807 |
- if test $supports_anon_versioning = yes; then |
|
14808 |
- archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
14809 |
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
14810 |
- $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
14811 |
- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
14812 |
- fi |
|
14813 |
- link_all_deplibs_F77=no |
|
14814 |
- else |
|
14815 |
- ld_shlibs_F77=no |
|
14816 |
- fi |
|
14817 |
- ;; |
|
14818 |
- |
|
14819 |
- netbsd* | netbsdelf*-gnu) |
|
14820 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
14821 |
- archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
14822 |
- wlarc= |
|
14823 |
- else |
|
14824 |
- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14825 |
- archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14826 |
- fi |
|
14827 |
- ;; |
|
14828 |
- |
|
14829 |
- solaris*) |
|
14830 |
- if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
|
14831 |
- ld_shlibs_F77=no |
|
14832 |
- cat <<EOF 1>&2 |
|
14833 |
- |
|
14834 |
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
14835 |
-*** create shared libraries on Solaris systems. Therefore, libtool |
|
14836 |
-*** is disabling shared libraries support. We urge you to upgrade GNU |
|
14837 |
-*** binutils to release 2.9.1 or newer. Another option is to modify |
|
14838 |
-*** your PATH or compiler configuration so that the native linker is |
|
14839 |
-*** used, and then restart. |
|
14840 |
- |
|
14841 |
-EOF |
|
14842 |
- elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14843 |
- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14844 |
- archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14845 |
- else |
|
14846 |
- ld_shlibs_F77=no |
|
14847 |
- fi |
|
14848 |
- ;; |
|
14849 |
- |
|
14850 |
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
14851 |
- case `$LD -v 2>&1` in |
|
14852 |
- *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
14853 |
- ld_shlibs_F77=no |
|
14854 |
- cat <<_LT_EOF 1>&2 |
|
14855 |
- |
|
14856 |
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
14857 |
-*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
14858 |
-*** is disabling shared libraries support. We urge you to upgrade GNU |
|
14859 |
-*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
14860 |
-*** your PATH or compiler configuration so that the native linker is |
|
14861 |
-*** used, and then restart. |
|
14862 |
- |
|
14863 |
-_LT_EOF |
|
14864 |
- ;; |
|
14865 |
- *) |
|
14866 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14867 |
- hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
14868 |
- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
14869 |
- archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
14870 |
- else |
|
14871 |
- ld_shlibs_F77=no |
|
14872 |
- fi |
|
14873 |
- ;; |
|
14874 |
- esac |
|
14875 |
- ;; |
|
14876 |
- |
|
14877 |
- sunos4*) |
|
14878 |
- archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
14879 |
- wlarc= |
|
14880 |
- hardcode_direct_F77=yes |
|
14881 |
- hardcode_shlibpath_var_F77=no |
|
14882 |
- ;; |
|
14883 |
- |
|
14884 |
- *) |
|
14885 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
14886 |
- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
14887 |
- archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
14888 |
- else |
|
14889 |
- ld_shlibs_F77=no |
|
14890 |
- fi |
|
14891 |
- ;; |
|
14892 |
- esac |
|
14893 |
- |
|
14894 |
- if test "$ld_shlibs_F77" = no; then |
|
14895 |
- runpath_var= |
|
14896 |
- hardcode_libdir_flag_spec_F77= |
|
14897 |
- export_dynamic_flag_spec_F77= |
|
14898 |
- whole_archive_flag_spec_F77= |
|
14899 |
- fi |
|
14900 |
- else |
|
14901 |
- # PORTME fill in a description of your system's linker (not GNU ld) |
|
14902 |
- case $host_os in |
|
14903 |
- aix3*) |
|
14904 |
- allow_undefined_flag_F77=unsupported |
|
14905 |
- always_export_symbols_F77=yes |
|
14906 |
- archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
14907 |
- # Note: this linker hardcodes the directories in LIBPATH if there |
|
14908 |
- # are no directories specified by -L. |
|
14909 |
- hardcode_minus_L_F77=yes |
|
14910 |
- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
14911 |
- # Neither direct hardcoding nor static linking is supported with a |
|
14912 |
- # broken collect2. |
|
14913 |
- hardcode_direct_F77=unsupported |
|
14914 |
- fi |
|
14915 |
- ;; |
|
14916 |
- |
|
14917 |
- aix4* | aix5*) |
|
14918 |
- if test "$host_cpu" = ia64; then |
|
14919 |
- # On IA64, the linker does run time linking by default, so we don't |
|
14920 |
- # have to do anything special. |
|
14921 |
- aix_use_runtimelinking=no |
|
14922 |
- exp_sym_flag='-Bexport' |
|
14923 |
- no_entry_flag="" |
|
14924 |
- else |
|
14925 |
- # If we're using GNU nm, then we don't want the "-C" option. |
|
14926 |
- # -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
14927 |
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
|
14928 |
- export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
14929 |
- else |
|
14930 |
- export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
14931 |
- fi |
|
14932 |
- aix_use_runtimelinking=no |
|
14933 |
- |
|
14934 |
- # Test if we are trying to use run time linking or normal |
|
14935 |
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
14936 |
- # need to do runtime linking. |
|
14937 |
- case $host_os in aix4.[23]|aix4.[23].*|aix5*) |
|
14938 |
- for ld_flag in $LDFLAGS; do |
|
14939 |
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
14940 |
- aix_use_runtimelinking=yes |
|
14941 |
- break |
|
14942 |
- fi |
|
14943 |
- done |
|
14944 |
- ;; |
|
14945 |
- esac |
|
14946 |
- |
|
14947 |
- exp_sym_flag='-bexport' |
|
14948 |
- no_entry_flag='-bnoentry' |
|
14949 |
- fi |
|
14950 |
- |
|
14951 |
- # When large executables or shared objects are built, AIX ld can |
|
14952 |
- # have problems creating the table of contents. If linking a library |
|
14953 |
- # or program results in "error TOC overflow" add -mminimal-toc to |
|
14954 |
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
14955 |
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
14956 |
- |
|
14957 |
- archive_cmds_F77='' |
|
14958 |
- hardcode_direct_F77=yes |
|
14959 |
- hardcode_libdir_separator_F77=':' |
|
14960 |
- link_all_deplibs_F77=yes |
|
14961 |
- |
|
14962 |
- if test "$GCC" = yes; then |
|
14963 |
- case $host_os in aix4.[012]|aix4.[012].*) |
|
14964 |
- # We only want to do this on AIX 4.2 and lower, the check |
|
14965 |
- # below for broken collect2 doesn't work under 4.3+ |
|
14966 |
- collect2name=`${CC} -print-prog-name=collect2` |
|
14967 |
- if test -f "$collect2name" && \ |
|
14968 |
- strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
14969 |
- then |
|
14970 |
- # We have reworked collect2 |
|
14971 |
- : |
|
14972 |
- else |
|
14973 |
- # We have old collect2 |
|
14974 |
- hardcode_direct_F77=unsupported |
|
14975 |
- # It fails to find uninstalled libraries when the uninstalled |
|
14976 |
- # path is not listed in the libpath. Setting hardcode_minus_L |
|
14977 |
- # to unsupported forces relinking |
|
14978 |
- hardcode_minus_L_F77=yes |
|
14979 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
14980 |
- hardcode_libdir_separator_F77= |
|
14981 |
- fi |
|
14982 |
- ;; |
|
14983 |
- esac |
|
14984 |
- shared_flag='-shared' |
|
14985 |
- if test "$aix_use_runtimelinking" = yes; then |
|
14986 |
- shared_flag="$shared_flag "'${wl}-G' |
|
14987 |
- fi |
|
14988 |
- else |
|
14989 |
- # not using gcc |
|
14990 |
- if test "$host_cpu" = ia64; then |
|
14991 |
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
14992 |
- # chokes on -Wl,-G. The following line is correct: |
|
14993 |
- shared_flag='-G' |
|
14994 |
- else |
|
14995 |
- if test "$aix_use_runtimelinking" = yes; then |
|
14996 |
- shared_flag='${wl}-G' |
|
14997 |
- else |
|
14998 |
- shared_flag='${wl}-bM:SRE' |
|
14999 |
- fi |
|
15000 |
- fi |
|
15001 |
- fi |
|
15002 |
- |
|
15003 |
- # It seems that -bexpall does not export symbols beginning with |
|
15004 |
- # underscore (_), so it is better to generate a list of symbols to export. |
|
15005 |
- always_export_symbols_F77=yes |
|
15006 |
- if test "$aix_use_runtimelinking" = yes; then |
|
15007 |
- # Warning - without using the other runtime loading flags (-brtl), |
|
15008 |
- # -berok will link without error, but may produce a broken library. |
|
15009 |
- allow_undefined_flag_F77='-berok' |
|
15010 |
- # Determine the default libpath from the value encoded in an empty executable. |
|
15011 |
- cat >conftest.$ac_ext <<_ACEOF |
|
15012 |
- program main |
|
15013 |
- |
|
15014 |
- end |
|
15015 |
-_ACEOF |
|
15016 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
|
15017 |
-if { (ac_try="$ac_link" |
|
15018 |
-case "(($ac_try" in |
|
15019 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
15020 |
- *) ac_try_echo=$ac_try;; |
|
15021 |
-esac |
|
15022 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
15023 |
- (eval "$ac_link") 2>conftest.er1 |
|
15024 |
- ac_status=$? |
|
15025 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
15026 |
- rm -f conftest.er1 |
|
15027 |
- cat conftest.err >&5 |
|
15028 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
15029 |
- (exit $ac_status); } && { |
|
15030 |
- test -z "$ac_f77_werror_flag" || |
|
15031 |
- test ! -s conftest.err |
|
15032 |
- } && test -s conftest$ac_exeext && |
|
15033 |
- $as_test_x conftest$ac_exeext; then |
|
15034 |
- |
|
15035 |
-lt_aix_libpath_sed=' |
|
15036 |
- /Import File Strings/,/^$/ { |
|
15037 |
- /^0/ { |
|
15038 |
- s/^0 *\(.*\)$/\1/ |
|
15039 |
- p |
|
15040 |
- } |
|
15041 |
- }' |
|
15042 |
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
15043 |
-# Check for a 64-bit object if we didn't find anything. |
|
15044 |
-if test -z "$aix_libpath"; then |
|
15045 |
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
15046 |
-fi |
|
15047 |
-else |
|
15048 |
- echo "$as_me: failed program was:" >&5 |
|
15049 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
15050 |
- |
|
15051 |
- |
|
15052 |
-fi |
|
15053 |
- |
|
15054 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
15055 |
- conftest$ac_exeext conftest.$ac_ext |
|
15056 |
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
15057 |
- |
|
15058 |
- hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
15059 |
- archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
|
15060 |
- else |
|
15061 |
- if test "$host_cpu" = ia64; then |
|
15062 |
- hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' |
|
15063 |
- allow_undefined_flag_F77="-z nodefs" |
|
15064 |
- archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
15065 |
- else |
|
15066 |
- # Determine the default libpath from the value encoded in an empty executable. |
|
15067 |
- cat >conftest.$ac_ext <<_ACEOF |
|
15068 |
- program main |
|
15069 |
- |
|
15070 |
- end |
|
15071 |
-_ACEOF |
|
15072 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
|
15073 |
-if { (ac_try="$ac_link" |
|
15074 |
-case "(($ac_try" in |
|
15075 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
15076 |
- *) ac_try_echo=$ac_try;; |
|
15077 |
-esac |
|
15078 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
15079 |
- (eval "$ac_link") 2>conftest.er1 |
|
15080 |
- ac_status=$? |
|
15081 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
15082 |
- rm -f conftest.er1 |
|
15083 |
- cat conftest.err >&5 |
|
15084 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
15085 |
- (exit $ac_status); } && { |
|
15086 |
- test -z "$ac_f77_werror_flag" || |
|
15087 |
- test ! -s conftest.err |
|
15088 |
- } && test -s conftest$ac_exeext && |
|
15089 |
- $as_test_x conftest$ac_exeext; then |
|
15090 |
- |
|
15091 |
-lt_aix_libpath_sed=' |
|
15092 |
- /Import File Strings/,/^$/ { |
|
15093 |
- /^0/ { |
|
15094 |
- s/^0 *\(.*\)$/\1/ |
|
15095 |
- p |
|
15096 |
- } |
|
15097 |
- }' |
|
15098 |
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
15099 |
-# Check for a 64-bit object if we didn't find anything. |
|
15100 |
-if test -z "$aix_libpath"; then |
|
15101 |
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
15102 |
-fi |
|
15103 |
-else |
|
15104 |
- echo "$as_me: failed program was:" >&5 |
|
15105 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
15106 |
- |
|
15107 |
- |
|
15108 |
-fi |
|
15109 |
- |
|
15110 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
15111 |
- conftest$ac_exeext conftest.$ac_ext |
|
15112 |
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
15113 |
- |
|
15114 |
- hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
15115 |
- # Warning - without using the other run time loading flags, |
|
15116 |
- # -berok will link without error, but may produce a broken library. |
|
15117 |
- no_undefined_flag_F77=' ${wl}-bernotok' |
|
15118 |
- allow_undefined_flag_F77=' ${wl}-berok' |
|
15119 |
- # Exported symbols can be pulled into shared objects from archives |
|
15120 |
- whole_archive_flag_spec_F77='$convenience' |
|
15121 |
- archive_cmds_need_lc_F77=yes |
|
15122 |
- # This is similar to how AIX traditionally builds its shared libraries. |
|
15123 |
- archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
15124 |
- fi |
|
15125 |
- fi |
|
15126 |
- ;; |
|
15127 |
- |
|
15128 |
- amigaos*) |
|
15129 |
- archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
15130 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15131 |
- hardcode_minus_L_F77=yes |
|
15132 |
- # see comment about different semantics on the GNU ld section |
|
15133 |
- ld_shlibs_F77=no |
|
15134 |
- ;; |
|
15135 |
- |
|
15136 |
- bsdi[45]*) |
|
15137 |
- export_dynamic_flag_spec_F77=-rdynamic |
|
15138 |
- ;; |
|
15139 |
- |
|
15140 |
- cygwin* | mingw* | pw32*) |
|
15141 |
- # When not using gcc, we currently assume that we are using |
|
15142 |
- # Microsoft Visual C++. |
|
15143 |
- # hardcode_libdir_flag_spec is actually meaningless, as there is |
|
15144 |
- # no search path for DLLs. |
|
15145 |
- hardcode_libdir_flag_spec_F77=' ' |
|
15146 |
- allow_undefined_flag_F77=unsupported |
|
15147 |
- # Tell ltmain to make .lib files, not .a files. |
|
15148 |
- libext=lib |
|
15149 |
- # Tell ltmain to make .dll files, not .so files. |
|
15150 |
- shrext_cmds=".dll" |
|
15151 |
- # FIXME: Setting linknames here is a bad hack. |
|
15152 |
- archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
15153 |
- # The linker will automatically build a .lib file if we build a DLL. |
|
15154 |
- old_archive_From_new_cmds_F77='true' |
|
15155 |
- # FIXME: Should let the user specify the lib program. |
|
15156 |
- old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
15157 |
- fix_srcfile_path_F77='`cygpath -w "$srcfile"`' |
|
15158 |
- enable_shared_with_static_runtimes_F77=yes |
|
15159 |
- ;; |
|
15160 |
- |
|
15161 |
- darwin* | rhapsody*) |
|
15162 |
- case $host_os in |
|
15163 |
- rhapsody* | darwin1.[012]) |
|
15164 |
- allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' |
|
15165 |
- ;; |
|
15166 |
- *) # Darwin 1.3 on |
|
15167 |
- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
15168 |
- allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
15169 |
- else |
|
15170 |
- case ${MACOSX_DEPLOYMENT_TARGET} in |
|
15171 |
- 10.[012]) |
|
15172 |
- allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
15173 |
- ;; |
|
15174 |
- 10.*) |
|
15175 |
- allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' |
|
15176 |
- ;; |
|
15177 |
- esac |
|
15178 |
- fi |
|
15179 |
- ;; |
|
15180 |
- esac |
|
15181 |
- archive_cmds_need_lc_F77=no |
|
15182 |
- hardcode_direct_F77=no |
|
15183 |
- hardcode_automatic_F77=yes |
|
15184 |
- hardcode_shlibpath_var_F77=unsupported |
|
15185 |
- whole_archive_flag_spec_F77='' |
|
15186 |
- link_all_deplibs_F77=yes |
|
15187 |
- if test "$GCC" = yes ; then |
|
15188 |
- output_verbose_link_cmd='echo' |
|
15189 |
- archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
15190 |
- module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
15191 |
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
15192 |
- archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
15193 |
- 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}' |
|
15194 |
- else |
|
15195 |
- case $cc_basename in |
|
15196 |
- xlc*) |
|
15197 |
- output_verbose_link_cmd='echo' |
|
15198 |
- archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
|
15199 |
- module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
15200 |
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
15201 |
- 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
15202 |
- 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}' |
|
15203 |
- ;; |
|
15204 |
- *) |
|
15205 |
- ld_shlibs_F77=no |
|
15206 |
- ;; |
|
15207 |
- esac |
|
15208 |
- fi |
|
15209 |
- ;; |
|
15210 |
- |
|
15211 |
- dgux*) |
|
15212 |
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15213 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15214 |
- hardcode_shlibpath_var_F77=no |
|
15215 |
- ;; |
|
15216 |
- |
|
15217 |
- freebsd1*) |
|
15218 |
- ld_shlibs_F77=no |
|
15219 |
- ;; |
|
15220 |
- |
|
15221 |
- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
15222 |
- # support. Future versions do this automatically, but an explicit c++rt0.o |
|
15223 |
- # does not break anything, and helps significantly (at the cost of a little |
|
15224 |
- # extra space). |
|
15225 |
- freebsd2.2*) |
|
15226 |
- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
15227 |
- hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15228 |
- hardcode_direct_F77=yes |
|
15229 |
- hardcode_shlibpath_var_F77=no |
|
15230 |
- ;; |
|
15231 |
- |
|
15232 |
- # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
15233 |
- freebsd2*) |
|
15234 |
- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
15235 |
- hardcode_direct_F77=yes |
|
15236 |
- hardcode_minus_L_F77=yes |
|
15237 |
- hardcode_shlibpath_var_F77=no |
|
15238 |
- ;; |
|
15239 |
- |
|
15240 |
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
15241 |
- freebsd* | dragonfly*) |
|
15242 |
- archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
|
15243 |
- hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15244 |
- hardcode_direct_F77=yes |
|
15245 |
- hardcode_shlibpath_var_F77=no |
|
15246 |
- ;; |
|
15247 |
- |
|
15248 |
- hpux9*) |
|
15249 |
- if test "$GCC" = yes; then |
|
15250 |
- archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
15251 |
- else |
|
15252 |
- archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
15253 |
- fi |
|
15254 |
- hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
15255 |
- hardcode_libdir_separator_F77=: |
|
15256 |
- hardcode_direct_F77=yes |
|
15257 |
- |
|
15258 |
- # hardcode_minus_L: Not really in the search PATH, |
|
15259 |
- # but as the default location of the library. |
|
15260 |
- hardcode_minus_L_F77=yes |
|
15261 |
- export_dynamic_flag_spec_F77='${wl}-E' |
|
15262 |
- ;; |
|
15263 |
- |
|
15264 |
- hpux10*) |
|
15265 |
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
15266 |
- archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
15267 |
- else |
|
15268 |
- archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
15269 |
- fi |
|
15270 |
- if test "$with_gnu_ld" = no; then |
|
15271 |
- hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
15272 |
- hardcode_libdir_separator_F77=: |
|
15273 |
- |
|
15274 |
- hardcode_direct_F77=yes |
|
15275 |
- export_dynamic_flag_spec_F77='${wl}-E' |
|
15276 |
- |
|
15277 |
- # hardcode_minus_L: Not really in the search PATH, |
|
15278 |
- # but as the default location of the library. |
|
15279 |
- hardcode_minus_L_F77=yes |
|
15280 |
- fi |
|
15281 |
- ;; |
|
15282 |
- |
|
15283 |
- hpux11*) |
|
15284 |
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
15285 |
- case $host_cpu in |
|
15286 |
- hppa*64*) |
|
15287 |
- archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15288 |
- ;; |
|
15289 |
- ia64*) |
|
15290 |
- archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
15291 |
- ;; |
|
15292 |
- *) |
|
15293 |
- archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
15294 |
- ;; |
|
15295 |
- esac |
|
15296 |
- else |
|
15297 |
- case $host_cpu in |
|
15298 |
- hppa*64*) |
|
15299 |
- archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15300 |
- ;; |
|
15301 |
- ia64*) |
|
15302 |
- archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
15303 |
- ;; |
|
15304 |
- *) |
|
15305 |
- archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
15306 |
- ;; |
|
15307 |
- esac |
|
15308 |
- fi |
|
15309 |
- if test "$with_gnu_ld" = no; then |
|
15310 |
- hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' |
|
15311 |
- hardcode_libdir_separator_F77=: |
|
15312 |
- |
|
15313 |
- case $host_cpu in |
|
15314 |
- hppa*64*|ia64*) |
|
15315 |
- hardcode_libdir_flag_spec_ld_F77='+b $libdir' |
|
15316 |
- hardcode_direct_F77=no |
|
15317 |
- hardcode_shlibpath_var_F77=no |
|
15318 |
- ;; |
|
15319 |
- *) |
|
15320 |
- hardcode_direct_F77=yes |
|
15321 |
- export_dynamic_flag_spec_F77='${wl}-E' |
|
15322 |
- |
|
15323 |
- # hardcode_minus_L: Not really in the search PATH, |
|
15324 |
- # but as the default location of the library. |
|
15325 |
- hardcode_minus_L_F77=yes |
|
15326 |
- ;; |
|
15327 |
- esac |
|
15328 |
- fi |
|
15329 |
- ;; |
|
15330 |
- |
|
15331 |
- irix5* | irix6* | nonstopux*) |
|
15332 |
- if test "$GCC" = yes; then |
|
15333 |
- archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
15334 |
- else |
|
15335 |
- archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
15336 |
- hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' |
|
15337 |
- fi |
|
15338 |
- hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15339 |
- hardcode_libdir_separator_F77=: |
|
15340 |
- link_all_deplibs_F77=yes |
|
15341 |
- ;; |
|
15342 |
- |
|
15343 |
- netbsd* | netbsdelf*-gnu) |
|
15344 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
15345 |
- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
15346 |
- else |
|
15347 |
- archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
15348 |
- fi |
|
15349 |
- hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15350 |
- hardcode_direct_F77=yes |
|
15351 |
- hardcode_shlibpath_var_F77=no |
|
15352 |
- ;; |
|
15353 |
- |
|
15354 |
- newsos6) |
|
15355 |
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15356 |
- hardcode_direct_F77=yes |
|
15357 |
- hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15358 |
- hardcode_libdir_separator_F77=: |
|
15359 |
- hardcode_shlibpath_var_F77=no |
|
15360 |
- ;; |
|
15361 |
- |
|
15362 |
- openbsd*) |
|
15363 |
- if test -f /usr/libexec/ld.so; then |
|
15364 |
- hardcode_direct_F77=yes |
|
15365 |
- hardcode_shlibpath_var_F77=no |
|
15366 |
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
15367 |
- archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
15368 |
- archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
15369 |
- hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
15370 |
- export_dynamic_flag_spec_F77='${wl}-E' |
|
15371 |
- else |
|
15372 |
- case $host_os in |
|
15373 |
- openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
15374 |
- archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
15375 |
- hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15376 |
- ;; |
|
15377 |
- *) |
|
15378 |
- archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
15379 |
- hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' |
|
15380 |
- ;; |
|
15381 |
- esac |
|
15382 |
- fi |
|
15383 |
- else |
|
15384 |
- ld_shlibs_F77=no |
|
15385 |
- fi |
|
15386 |
- ;; |
|
15387 |
- |
|
15388 |
- os2*) |
|
15389 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15390 |
- hardcode_minus_L_F77=yes |
|
15391 |
- allow_undefined_flag_F77=unsupported |
|
15392 |
- archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
|
15393 |
- old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
15394 |
- ;; |
|
15395 |
- |
|
15396 |
- osf3*) |
|
15397 |
- if test "$GCC" = yes; then |
|
15398 |
- allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' |
|
15399 |
- archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
15400 |
- else |
|
15401 |
- allow_undefined_flag_F77=' -expect_unresolved \*' |
|
15402 |
- archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
15403 |
- fi |
|
15404 |
- hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15405 |
- hardcode_libdir_separator_F77=: |
|
15406 |
- ;; |
|
15407 |
- |
|
15408 |
- osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
15409 |
- if test "$GCC" = yes; then |
|
15410 |
- allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' |
|
15411 |
- archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
15412 |
- hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' |
|
15413 |
- else |
|
15414 |
- allow_undefined_flag_F77=' -expect_unresolved \*' |
|
15415 |
- archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
15416 |
- archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
|
15417 |
- $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
|
15418 |
- |
|
15419 |
- # Both c and cxx compiler support -rpath directly |
|
15420 |
- hardcode_libdir_flag_spec_F77='-rpath $libdir' |
|
15421 |
- fi |
|
15422 |
- hardcode_libdir_separator_F77=: |
|
15423 |
- ;; |
|
15424 |
- |
|
15425 |
- solaris*) |
|
15426 |
- no_undefined_flag_F77=' -z text' |
|
15427 |
- if test "$GCC" = yes; then |
|
15428 |
- wlarc='${wl}' |
|
15429 |
- archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15430 |
- archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
15431 |
- $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
|
15432 |
- else |
|
15433 |
- wlarc='' |
|
15434 |
- archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15435 |
- archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
15436 |
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
15437 |
- fi |
|
15438 |
- hardcode_libdir_flag_spec_F77='-R$libdir' |
|
15439 |
- hardcode_shlibpath_var_F77=no |
|
15440 |
- case $host_os in |
|
15441 |
- solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
15442 |
- *) |
|
15443 |
- # The compiler driver will combine and reorder linker options, |
|
15444 |
- # but understands `-z linker_flag'. GCC discards it without `$wl', |
|
15445 |
- # but is careful enough not to reorder. |
|
15446 |
- # Supported since Solaris 2.6 (maybe 2.5.1?) |
|
15447 |
- if test "$GCC" = yes; then |
|
15448 |
- whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
15449 |
- else |
|
15450 |
- whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' |
|
15451 |
- fi |
|
15452 |
- ;; |
|
15453 |
- esac |
|
15454 |
- link_all_deplibs_F77=yes |
|
15455 |
- ;; |
|
15456 |
- |
|
15457 |
- sunos4*) |
|
15458 |
- if test "x$host_vendor" = xsequent; then |
|
15459 |
- # Use $CC to link under sequent, because it throws in some extra .o |
|
15460 |
- # files that make .init and .fini sections work. |
|
15461 |
- archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15462 |
- else |
|
15463 |
- archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
15464 |
- fi |
|
15465 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15466 |
- hardcode_direct_F77=yes |
|
15467 |
- hardcode_minus_L_F77=yes |
|
15468 |
- hardcode_shlibpath_var_F77=no |
|
15469 |
- ;; |
|
15470 |
- |
|
15471 |
- sysv4) |
|
15472 |
- case $host_vendor in |
|
15473 |
- sni) |
|
15474 |
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15475 |
- hardcode_direct_F77=yes # is this really true??? |
|
15476 |
- ;; |
|
15477 |
- siemens) |
|
15478 |
- ## LD is ld it makes a PLAMLIB |
|
15479 |
- ## CC just makes a GrossModule. |
|
15480 |
- archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
15481 |
- reload_cmds_F77='$CC -r -o $output$reload_objs' |
|
15482 |
- hardcode_direct_F77=no |
|
15483 |
- ;; |
|
15484 |
- motorola) |
|
15485 |
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15486 |
- hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie |
|
15487 |
- ;; |
|
15488 |
- esac |
|
15489 |
- runpath_var='LD_RUN_PATH' |
|
15490 |
- hardcode_shlibpath_var_F77=no |
|
15491 |
- ;; |
|
15492 |
- |
|
15493 |
- sysv4.3*) |
|
15494 |
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15495 |
- hardcode_shlibpath_var_F77=no |
|
15496 |
- export_dynamic_flag_spec_F77='-Bexport' |
|
15497 |
- ;; |
|
15498 |
- |
|
15499 |
- sysv4*MP*) |
|
15500 |
- if test -d /usr/nec; then |
|
15501 |
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15502 |
- hardcode_shlibpath_var_F77=no |
|
15503 |
- runpath_var=LD_RUN_PATH |
|
15504 |
- hardcode_runpath_var=yes |
|
15505 |
- ld_shlibs_F77=yes |
|
15506 |
- fi |
|
15507 |
- ;; |
|
15508 |
- |
|
15509 |
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
15510 |
- no_undefined_flag_F77='${wl}-z,text' |
|
15511 |
- archive_cmds_need_lc_F77=no |
|
15512 |
- hardcode_shlibpath_var_F77=no |
|
15513 |
- runpath_var='LD_RUN_PATH' |
|
15514 |
- |
|
15515 |
- if test "$GCC" = yes; then |
|
15516 |
- archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15517 |
- archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15518 |
- else |
|
15519 |
- archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15520 |
- archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15521 |
- fi |
|
15522 |
- ;; |
|
15523 |
- |
|
15524 |
- sysv5* | sco3.2v5* | sco5v6*) |
|
15525 |
- # Note: We can NOT use -z defs as we might desire, because we do not |
|
15526 |
- # link with -lc, and that would cause any symbols used from libc to |
|
15527 |
- # always be unresolved, which means just about no library would |
|
15528 |
- # ever link correctly. If we're not using GNU ld we use -z text |
|
15529 |
- # though, which does catch some bad symbols but isn't as heavy-handed |
|
15530 |
- # as -z defs. |
|
15531 |
- no_undefined_flag_F77='${wl}-z,text' |
|
15532 |
- allow_undefined_flag_F77='${wl}-z,nodefs' |
|
15533 |
- archive_cmds_need_lc_F77=no |
|
15534 |
- hardcode_shlibpath_var_F77=no |
|
15535 |
- hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
15536 |
- hardcode_libdir_separator_F77=':' |
|
15537 |
- link_all_deplibs_F77=yes |
|
15538 |
- export_dynamic_flag_spec_F77='${wl}-Bexport' |
|
15539 |
- runpath_var='LD_RUN_PATH' |
|
15540 |
- |
|
15541 |
- if test "$GCC" = yes; then |
|
15542 |
- archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15543 |
- archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15544 |
- else |
|
15545 |
- archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15546 |
- archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
15547 |
- fi |
|
15548 |
- ;; |
|
15549 |
- |
|
15550 |
- uts4*) |
|
15551 |
- archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
15552 |
- hardcode_libdir_flag_spec_F77='-L$libdir' |
|
15553 |
- hardcode_shlibpath_var_F77=no |
|
15554 |
- ;; |
|
15555 |
- |
|
15556 |
- *) |
|
15557 |
- ld_shlibs_F77=no |
|
15558 |
- ;; |
|
15559 |
- esac |
|
15560 |
- fi |
|
15561 |
- |
|
15562 |
-{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 |
|
15563 |
-echo "${ECHO_T}$ld_shlibs_F77" >&6; } |
|
15564 |
-test "$ld_shlibs_F77" = no && can_build_shared=no |
|
15565 |
- |
|
15566 |
-# |
|
15567 |
-# Do we need to explicitly link libc? |
|
15568 |
-# |
|
15569 |
-case "x$archive_cmds_need_lc_F77" in |
|
15570 |
-x|xyes) |
|
15571 |
- # Assume -lc should be added |
|
15572 |
- archive_cmds_need_lc_F77=yes |
|
15573 |
- |
|
15574 |
- if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
15575 |
- case $archive_cmds_F77 in |
|
15576 |
- *'~'*) |
|
15577 |
- # FIXME: we may have to deal with multi-command sequences. |
|
15578 |
- ;; |
|
15579 |
- '$CC '*) |
|
15580 |
- # Test whether the compiler implicitly links with -lc since on some |
|
15581 |
- # systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
15582 |
- # to ld, don't add -lc before -lgcc. |
|
15583 |
- { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
|
15584 |
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
|
15585 |
- $rm conftest* |
|
15586 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
15587 |
- |
|
15588 |
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
15589 |
- (eval $ac_compile) 2>&5 |
|
15590 |
- ac_status=$? |
|
15591 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
15592 |
- (exit $ac_status); } 2>conftest.err; then |
|
15593 |
- soname=conftest |
|
15594 |
- lib=conftest |
|
15595 |
- libobjs=conftest.$ac_objext |
|
15596 |
- deplibs= |
|
15597 |
- wl=$lt_prog_compiler_wl_F77 |
|
15598 |
- pic_flag=$lt_prog_compiler_pic_F77 |
|
15599 |
- compiler_flags=-v |
|
15600 |
- linker_flags=-v |
|
15601 |
- verstring= |
|
15602 |
- output_objdir=. |
|
15603 |
- libname=conftest |
|
15604 |
- lt_save_allow_undefined_flag=$allow_undefined_flag_F77 |
|
15605 |
- allow_undefined_flag_F77= |
|
15606 |
- if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
15607 |
- (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
15608 |
- ac_status=$? |
|
15609 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
15610 |
- (exit $ac_status); } |
|
15611 |
- then |
|
15612 |
- archive_cmds_need_lc_F77=no |
|
15613 |
- else |
|
15614 |
- archive_cmds_need_lc_F77=yes |
|
15615 |
- fi |
|
15616 |
- allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
|
15617 |
- else |
|
15618 |
- cat conftest.err 1>&5 |
|
15619 |
- fi |
|
15620 |
- $rm conftest* |
|
15621 |
- { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 |
|
15622 |
-echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } |
|
15623 |
- ;; |
|
15624 |
- esac |
|
15625 |
- fi |
|
15626 |
- ;; |
|
15627 |
-esac |
|
15628 |
- |
|
15629 |
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
15630 |
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
|
15631 |
-library_names_spec= |
|
15632 |
-libname_spec='lib$name' |
|
15633 |
-soname_spec= |
|
15634 |
-shrext_cmds=".so" |
|
15635 |
-postinstall_cmds= |
|
15636 |
-postuninstall_cmds= |
|
15637 |
-finish_cmds= |
|
15638 |
-finish_eval= |
|
15639 |
-shlibpath_var= |
|
15640 |
-shlibpath_overrides_runpath=unknown |
|
15641 |
-version_type=none |
|
15642 |
-dynamic_linker="$host_os ld.so" |
|
15643 |
-sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
15644 |
- |
|
15645 |
-need_lib_prefix=unknown |
|
15646 |
-hardcode_into_libs=no |
|
15647 |
- |
|
15648 |
-# when you set need_version to no, make sure it does not cause -set_version |
|
15649 |
-# flags to be left without arguments |
|
15650 |
-need_version=unknown |
|
15651 |
- |
|
15652 |
-case $host_os in |
|
15653 |
-aix3*) |
|
15654 |
- version_type=linux |
|
15655 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
15656 |
- shlibpath_var=LIBPATH |
|
15657 |
- |
|
15658 |
- # AIX 3 has no versioning support, so we append a major version to the name. |
|
15659 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15660 |
- ;; |
|
15661 |
- |
|
15662 |
-aix4* | aix5*) |
|
15663 |
- version_type=linux |
|
15664 |
- need_lib_prefix=no |
|
15665 |
- need_version=no |
|
15666 |
- hardcode_into_libs=yes |
|
15667 |
- if test "$host_cpu" = ia64; then |
|
15668 |
- # AIX 5 supports IA64 |
|
15669 |
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
15670 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15671 |
- else |
|
15672 |
- # With GCC up to 2.95.x, collect2 would create an import file |
|
15673 |
- # for dependence libraries. The import file would start with |
|
15674 |
- # the line `#! .'. This would cause the generated library to |
|
15675 |
- # depend on `.', always an invalid library. This was fixed in |
|
15676 |
- # development snapshots of GCC prior to 3.0. |
|
15677 |
- case $host_os in |
|
15678 |
- aix4 | aix4.[01] | aix4.[01].*) |
|
15679 |
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
15680 |
- echo ' yes ' |
|
15681 |
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
|
15682 |
- : |
|
15683 |
- else |
|
15684 |
- can_build_shared=no |
|
15685 |
- fi |
|
15686 |
- ;; |
|
15687 |
- esac |
|
15688 |
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
15689 |
- # soname into executable. Probably we can add versioning support to |
|
15690 |
- # collect2, so additional links can be useful in future. |
|
15691 |
- if test "$aix_use_runtimelinking" = yes; then |
|
15692 |
- # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
15693 |
- # instead of lib<name>.a to let people know that these are not |
|
15694 |
- # typical AIX shared libraries. |
|
15695 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15696 |
- else |
|
15697 |
- # We preserve .a as extension for shared libraries through AIX4.2 |
|
15698 |
- # and later when we are not doing run time linking. |
|
15699 |
- library_names_spec='${libname}${release}.a $libname.a' |
|
15700 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15701 |
- fi |
|
15702 |
- shlibpath_var=LIBPATH |
|
15703 |
- fi |
|
15704 |
- ;; |
|
15705 |
- |
|
15706 |
-amigaos*) |
|
15707 |
- library_names_spec='$libname.ixlibrary $libname.a' |
|
15708 |
- # Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
15709 |
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
|
15710 |
- ;; |
|
15711 |
- |
|
15712 |
-beos*) |
|
15713 |
- library_names_spec='${libname}${shared_ext}' |
|
15714 |
- dynamic_linker="$host_os ld.so" |
|
15715 |
- shlibpath_var=LIBRARY_PATH |
|
15716 |
- ;; |
|
15717 |
- |
|
15718 |
-bsdi[45]*) |
|
15719 |
- version_type=linux |
|
15720 |
- need_version=no |
|
15721 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15722 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15723 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
15724 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15725 |
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
15726 |
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
15727 |
- # the default ld.so.conf also contains /usr/contrib/lib and |
|
15728 |
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
15729 |
- # libtool to hard-code these into programs |
|
15730 |
- ;; |
|
15731 |
- |
|
15732 |
-cygwin* | mingw* | pw32*) |
|
15733 |
- version_type=windows |
|
15734 |
- shrext_cmds=".dll" |
|
15735 |
- need_version=no |
|
15736 |
- need_lib_prefix=no |
|
15737 |
- |
|
15738 |
- case $GCC,$host_os in |
|
15739 |
- yes,cygwin* | yes,mingw* | yes,pw32*) |
|
15740 |
- library_names_spec='$libname.dll.a' |
|
15741 |
- # DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
15742 |
- postinstall_cmds='base_file=`basename \${file}`~ |
|
15743 |
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
|
15744 |
- dldir=$destdir/`dirname \$dlpath`~ |
|
15745 |
- test -d \$dldir || mkdir -p \$dldir~ |
|
15746 |
- $install_prog $dir/$dlname \$dldir/$dlname~ |
|
15747 |
- chmod a+x \$dldir/$dlname' |
|
15748 |
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
15749 |
- dlpath=$dir/\$dldll~ |
|
15750 |
- $rm \$dlpath' |
|
15751 |
- shlibpath_overrides_runpath=yes |
|
15752 |
- |
|
15753 |
- case $host_os in |
|
15754 |
- cygwin*) |
|
15755 |
- # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
15756 |
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
15757 |
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
15758 |
- ;; |
|
15759 |
- mingw*) |
|
15760 |
- # MinGW DLLs use traditional 'lib' prefix |
|
15761 |
- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
15762 |
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
15763 |
- if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
|
15764 |
- # It is most probably a Windows format PATH printed by |
|
15765 |
- # mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
15766 |
- # path with ; separators, and with drive letters. We can handle the |
|
15767 |
- # drive letters (cygwin fileutils understands them), so leave them, |
|
15768 |
- # especially as we might pass files found there to a mingw objdump, |
|
15769 |
- # which wouldn't understand a cygwinified path. Ahh. |
|
15770 |
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
15771 |
- else |
|
15772 |
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
15773 |
- fi |
|
15774 |
- ;; |
|
15775 |
- pw32*) |
|
15776 |
- # pw32 DLLs use 'pw' prefix rather than 'lib' |
|
15777 |
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
15778 |
- ;; |
|
15779 |
- esac |
|
15780 |
- ;; |
|
15781 |
- |
|
15782 |
- *) |
|
15783 |
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
15784 |
- ;; |
|
15785 |
- esac |
|
15786 |
- dynamic_linker='Win32 ld.exe' |
|
15787 |
- # FIXME: first we should search . and the directory the executable is in |
|
15788 |
- shlibpath_var=PATH |
|
15789 |
- ;; |
|
15790 |
- |
|
15791 |
-darwin* | rhapsody*) |
|
15792 |
- dynamic_linker="$host_os dyld" |
|
15793 |
- version_type=darwin |
|
15794 |
- need_lib_prefix=no |
|
15795 |
- need_version=no |
|
15796 |
- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
15797 |
- soname_spec='${libname}${release}${major}$shared_ext' |
|
15798 |
- shlibpath_overrides_runpath=yes |
|
15799 |
- shlibpath_var=DYLD_LIBRARY_PATH |
|
15800 |
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
15801 |
- |
|
15802 |
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
15803 |
- ;; |
|
15804 |
- |
|
15805 |
-dgux*) |
|
15806 |
- version_type=linux |
|
15807 |
- need_lib_prefix=no |
|
15808 |
- need_version=no |
|
15809 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
15810 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15811 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15812 |
- ;; |
|
15813 |
- |
|
15814 |
-freebsd1*) |
|
15815 |
- dynamic_linker=no |
|
15816 |
- ;; |
|
15817 |
- |
|
15818 |
-freebsd* | dragonfly*) |
|
15819 |
- # DragonFly does not have aout. When/if they implement a new |
|
15820 |
- # versioning mechanism, adjust this. |
|
15821 |
- if test -x /usr/bin/objformat; then |
|
15822 |
- objformat=`/usr/bin/objformat` |
|
15823 |
- else |
|
15824 |
- case $host_os in |
|
15825 |
- freebsd[123]*) objformat=aout ;; |
|
15826 |
- *) objformat=elf ;; |
|
15827 |
- esac |
|
15828 |
- fi |
|
15829 |
- version_type=freebsd-$objformat |
|
15830 |
- case $version_type in |
|
15831 |
- freebsd-elf*) |
|
15832 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
15833 |
- need_version=no |
|
15834 |
- need_lib_prefix=no |
|
15835 |
- ;; |
|
15836 |
- freebsd-*) |
|
15837 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
15838 |
- need_version=yes |
|
15839 |
- ;; |
|
15840 |
- esac |
|
15841 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15842 |
- case $host_os in |
|
15843 |
- freebsd2*) |
|
15844 |
- shlibpath_overrides_runpath=yes |
|
15845 |
- ;; |
|
15846 |
- freebsd3.[01]* | freebsdelf3.[01]*) |
|
15847 |
- shlibpath_overrides_runpath=yes |
|
15848 |
- hardcode_into_libs=yes |
|
15849 |
- ;; |
|
15850 |
- freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
15851 |
- freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
15852 |
- shlibpath_overrides_runpath=no |
|
15853 |
- hardcode_into_libs=yes |
|
15854 |
- ;; |
|
15855 |
- *) # from 4.6 on, and DragonFly |
|
15856 |
- shlibpath_overrides_runpath=yes |
|
15857 |
- hardcode_into_libs=yes |
|
15858 |
- ;; |
|
15859 |
- esac |
|
15860 |
- ;; |
|
15861 |
- |
|
15862 |
-gnu*) |
|
15863 |
- version_type=linux |
|
15864 |
- need_lib_prefix=no |
|
15865 |
- need_version=no |
|
15866 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
15867 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15868 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15869 |
- hardcode_into_libs=yes |
|
15870 |
- ;; |
|
15871 |
- |
|
15872 |
-hpux9* | hpux10* | hpux11*) |
|
15873 |
- # Give a soname corresponding to the major version so that dld.sl refuses to |
|
15874 |
- # link against other versions. |
|
15875 |
- version_type=sunos |
|
15876 |
- need_lib_prefix=no |
|
15877 |
- need_version=no |
|
15878 |
- case $host_cpu in |
|
15879 |
- ia64*) |
|
15880 |
- shrext_cmds='.so' |
|
15881 |
- hardcode_into_libs=yes |
|
15882 |
- dynamic_linker="$host_os dld.so" |
|
15883 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15884 |
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
15885 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15886 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15887 |
- if test "X$HPUX_IA64_MODE" = X32; then |
|
15888 |
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
15889 |
- else |
|
15890 |
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
15891 |
- fi |
|
15892 |
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
15893 |
- ;; |
|
15894 |
- hppa*64*) |
|
15895 |
- shrext_cmds='.sl' |
|
15896 |
- hardcode_into_libs=yes |
|
15897 |
- dynamic_linker="$host_os dld.sl" |
|
15898 |
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
15899 |
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
15900 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15901 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15902 |
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
15903 |
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
15904 |
- ;; |
|
15905 |
- *) |
|
15906 |
- shrext_cmds='.sl' |
|
15907 |
- dynamic_linker="$host_os dld.sl" |
|
15908 |
- shlibpath_var=SHLIB_PATH |
|
15909 |
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
15910 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15911 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15912 |
- ;; |
|
15913 |
- esac |
|
15914 |
- # HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
15915 |
- postinstall_cmds='chmod 555 $lib' |
|
15916 |
- ;; |
|
15917 |
- |
|
15918 |
-interix[3-9]*) |
|
15919 |
- version_type=linux |
|
15920 |
- need_lib_prefix=no |
|
15921 |
- need_version=no |
|
15922 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
15923 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15924 |
- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
15925 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15926 |
- shlibpath_overrides_runpath=no |
|
15927 |
- hardcode_into_libs=yes |
|
15928 |
- ;; |
|
15929 |
- |
|
15930 |
-irix5* | irix6* | nonstopux*) |
|
15931 |
- case $host_os in |
|
15932 |
- nonstopux*) version_type=nonstopux ;; |
|
15933 |
- *) |
|
15934 |
- if test "$lt_cv_prog_gnu_ld" = yes; then |
|
15935 |
- version_type=linux |
|
15936 |
- else |
|
15937 |
- version_type=irix |
|
15938 |
- fi ;; |
|
15939 |
- esac |
|
15940 |
- need_lib_prefix=no |
|
15941 |
- need_version=no |
|
15942 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15943 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
15944 |
- case $host_os in |
|
15945 |
- irix5* | nonstopux*) |
|
15946 |
- libsuff= shlibsuff= |
|
15947 |
- ;; |
|
15948 |
- *) |
|
15949 |
- case $LD in # libtool.m4 will add one of these switches to LD |
|
15950 |
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
15951 |
- libsuff= shlibsuff= libmagic=32-bit;; |
|
15952 |
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
15953 |
- libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
15954 |
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
15955 |
- libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
15956 |
- *) libsuff= shlibsuff= libmagic=never-match;; |
|
15957 |
- esac |
|
15958 |
- ;; |
|
15959 |
- esac |
|
15960 |
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
15961 |
- shlibpath_overrides_runpath=no |
|
15962 |
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
15963 |
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
15964 |
- hardcode_into_libs=yes |
|
15965 |
- ;; |
|
15966 |
- |
|
15967 |
-# No shared lib support for Linux oldld, aout, or coff. |
|
15968 |
-linux*oldld* | linux*aout* | linux*coff*) |
|
15969 |
- dynamic_linker=no |
|
15970 |
- ;; |
|
15971 |
- |
|
15972 |
-# This must be Linux ELF. |
|
15973 |
-linux* | k*bsd*-gnu) |
|
15974 |
- version_type=linux |
|
15975 |
- need_lib_prefix=no |
|
15976 |
- need_version=no |
|
15977 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
15978 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
15979 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
15980 |
- shlibpath_var=LD_LIBRARY_PATH |
|
15981 |
- shlibpath_overrides_runpath=no |
|
15982 |
- # This implies no fast_install, which is unacceptable. |
|
15983 |
- # Some rework will be needed to allow for fast_install |
|
15984 |
- # before this can be enabled. |
|
15985 |
- hardcode_into_libs=yes |
|
15986 |
- |
|
15987 |
- # Append ld.so.conf contents to the search path |
|
15988 |
- if test -f /etc/ld.so.conf; then |
|
15989 |
- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
|
15990 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
15991 |
- fi |
|
15992 |
- |
|
15993 |
- # We used to test for /lib/ld.so.1 and disable shared libraries on |
|
15994 |
- # powerpc, because MkLinux only supported shared libraries with the |
|
15995 |
- # GNU dynamic linker. Since this was broken with cross compilers, |
|
15996 |
- # most powerpc-linux boxes support dynamic linking these days and |
|
15997 |
- # people can always --disable-shared, the test was removed, and we |
|
15998 |
- # assume the GNU/Linux dynamic linker is in use. |
|
15999 |
- dynamic_linker='GNU/Linux ld.so' |
|
16000 |
- ;; |
|
16001 |
- |
|
16002 |
-netbsdelf*-gnu) |
|
16003 |
- version_type=linux |
|
16004 |
- need_lib_prefix=no |
|
16005 |
- need_version=no |
|
16006 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
16007 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16008 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16009 |
- shlibpath_overrides_runpath=no |
|
16010 |
- hardcode_into_libs=yes |
|
16011 |
- dynamic_linker='NetBSD ld.elf_so' |
|
16012 |
- ;; |
|
16013 |
- |
|
16014 |
-netbsd*) |
|
16015 |
- version_type=sunos |
|
16016 |
- need_lib_prefix=no |
|
16017 |
- need_version=no |
|
16018 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
16019 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
16020 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
16021 |
- dynamic_linker='NetBSD (a.out) ld.so' |
|
16022 |
- else |
|
16023 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
16024 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16025 |
- dynamic_linker='NetBSD ld.elf_so' |
|
16026 |
- fi |
|
16027 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16028 |
- shlibpath_overrides_runpath=yes |
|
16029 |
- hardcode_into_libs=yes |
|
16030 |
- ;; |
|
16031 |
- |
|
16032 |
-newsos6) |
|
16033 |
- version_type=linux |
|
16034 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16035 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16036 |
- shlibpath_overrides_runpath=yes |
|
16037 |
- ;; |
|
16038 |
- |
|
16039 |
-nto-qnx*) |
|
16040 |
- version_type=linux |
|
16041 |
- need_lib_prefix=no |
|
16042 |
- need_version=no |
|
16043 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16044 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16045 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16046 |
- shlibpath_overrides_runpath=yes |
|
16047 |
- ;; |
|
16048 |
- |
|
16049 |
-openbsd*) |
|
16050 |
- version_type=sunos |
|
16051 |
- sys_lib_dlsearch_path_spec="/usr/lib" |
|
16052 |
- need_lib_prefix=no |
|
16053 |
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
16054 |
- case $host_os in |
|
16055 |
- openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
16056 |
- *) need_version=no ;; |
|
16057 |
- esac |
|
16058 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
16059 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
16060 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16061 |
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
16062 |
- case $host_os in |
|
16063 |
- openbsd2.[89] | openbsd2.[89].*) |
|
16064 |
- shlibpath_overrides_runpath=no |
|
16065 |
- ;; |
|
16066 |
- *) |
|
16067 |
- shlibpath_overrides_runpath=yes |
|
16068 |
- ;; |
|
16069 |
- esac |
|
16070 |
- else |
|
16071 |
- shlibpath_overrides_runpath=yes |
|
16072 |
- fi |
|
16073 |
- ;; |
|
16074 |
- |
|
16075 |
-os2*) |
|
16076 |
- libname_spec='$name' |
|
16077 |
- shrext_cmds=".dll" |
|
16078 |
- need_lib_prefix=no |
|
16079 |
- library_names_spec='$libname${shared_ext} $libname.a' |
|
16080 |
- dynamic_linker='OS/2 ld.exe' |
|
16081 |
- shlibpath_var=LIBPATH |
|
16082 |
- ;; |
|
16083 |
- |
|
16084 |
-osf3* | osf4* | osf5*) |
|
16085 |
- version_type=osf |
|
16086 |
- need_lib_prefix=no |
|
16087 |
- need_version=no |
|
16088 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16089 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16090 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16091 |
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
16092 |
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
16093 |
- ;; |
|
16094 |
- |
|
16095 |
-rdos*) |
|
16096 |
- dynamic_linker=no |
|
16097 |
- ;; |
|
16098 |
- |
|
16099 |
-solaris*) |
|
16100 |
- version_type=linux |
|
16101 |
- need_lib_prefix=no |
|
16102 |
- need_version=no |
|
16103 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16104 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16105 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16106 |
- shlibpath_overrides_runpath=yes |
|
16107 |
- hardcode_into_libs=yes |
|
16108 |
- # ldd complains unless libraries are executable |
|
16109 |
- postinstall_cmds='chmod +x $lib' |
|
16110 |
- ;; |
|
16111 |
- |
|
16112 |
-sunos4*) |
|
16113 |
- version_type=sunos |
|
16114 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
16115 |
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
16116 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16117 |
- shlibpath_overrides_runpath=yes |
|
16118 |
- if test "$with_gnu_ld" = yes; then |
|
16119 |
- need_lib_prefix=no |
|
16120 |
- fi |
|
16121 |
- need_version=yes |
|
16122 |
- ;; |
|
16123 |
- |
|
16124 |
-sysv4 | sysv4.3*) |
|
16125 |
- version_type=linux |
|
16126 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16127 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16128 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16129 |
- case $host_vendor in |
|
16130 |
- sni) |
|
16131 |
- shlibpath_overrides_runpath=no |
|
16132 |
- need_lib_prefix=no |
|
16133 |
- export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
16134 |
- runpath_var=LD_RUN_PATH |
|
16135 |
- ;; |
|
16136 |
- siemens) |
|
16137 |
- need_lib_prefix=no |
|
16138 |
- ;; |
|
16139 |
- motorola) |
|
16140 |
- need_lib_prefix=no |
|
16141 |
- need_version=no |
|
16142 |
- shlibpath_overrides_runpath=no |
|
16143 |
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
16144 |
- ;; |
|
16145 |
- esac |
|
16146 |
- ;; |
|
16147 |
- |
|
16148 |
-sysv4*MP*) |
|
16149 |
- if test -d /usr/nec ;then |
|
16150 |
- version_type=linux |
|
16151 |
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
16152 |
- soname_spec='$libname${shared_ext}.$major' |
|
16153 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16154 |
- fi |
|
16155 |
- ;; |
|
16156 |
- |
|
16157 |
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
16158 |
- version_type=freebsd-elf |
|
16159 |
- need_lib_prefix=no |
|
16160 |
- need_version=no |
|
16161 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
16162 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16163 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16164 |
- hardcode_into_libs=yes |
|
16165 |
- if test "$with_gnu_ld" = yes; then |
|
16166 |
- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
16167 |
- shlibpath_overrides_runpath=no |
|
16168 |
- else |
|
16169 |
- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
16170 |
- shlibpath_overrides_runpath=yes |
|
16171 |
- case $host_os in |
|
16172 |
- sco3.2v5*) |
|
16173 |
- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
16174 |
- ;; |
|
16175 |
- esac |
|
16176 |
- fi |
|
16177 |
- sys_lib_dlsearch_path_spec='/usr/lib' |
|
16178 |
- ;; |
|
16179 |
- |
|
16180 |
-uts4*) |
|
16181 |
- version_type=linux |
|
16182 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
16183 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
16184 |
- shlibpath_var=LD_LIBRARY_PATH |
|
16185 |
- ;; |
|
16186 |
- |
|
16187 |
-*) |
|
16188 |
- dynamic_linker=no |
|
16189 |
- ;; |
|
16190 |
-esac |
|
16191 |
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
|
16192 |
-echo "${ECHO_T}$dynamic_linker" >&6; } |
|
16193 |
-test "$dynamic_linker" = no && can_build_shared=no |
|
16194 |
- |
|
16195 |
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
16196 |
-if test "$GCC" = yes; then |
|
16197 |
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
16198 |
-fi |
|
16199 |
- |
|
16200 |
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
16201 |
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
|
16202 |
-hardcode_action_F77= |
|
16203 |
-if test -n "$hardcode_libdir_flag_spec_F77" || \ |
|
16204 |
- test -n "$runpath_var_F77" || \ |
|
16205 |
- test "X$hardcode_automatic_F77" = "Xyes" ; then |
|
16206 |
- |
|
16207 |
- # We can hardcode non-existant directories. |
|
16208 |
- if test "$hardcode_direct_F77" != no && |
|
16209 |
- # If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
16210 |
- # have to relink, otherwise we might link with an installed library |
|
16211 |
- # when we should be linking with a yet-to-be-installed one |
|
16212 |
- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && |
|
16213 |
- test "$hardcode_minus_L_F77" != no; then |
|
16214 |
- # Linking always hardcodes the temporary library directory. |
|
16215 |
- hardcode_action_F77=relink |
|
16216 |
- else |
|
16217 |
- # We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
16218 |
- hardcode_action_F77=immediate |
|
16219 |
- fi |
|
16220 |
-else |
|
16221 |
- # We cannot hardcode anything, or else we can only hardcode existing |
|
16222 |
- # directories. |
|
16223 |
- hardcode_action_F77=unsupported |
|
16224 |
-fi |
|
16225 |
-{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
|
16226 |
-echo "${ECHO_T}$hardcode_action_F77" >&6; } |
|
16227 |
- |
|
16228 |
-if test "$hardcode_action_F77" = relink; then |
|
16229 |
- # Fast installation is not supported |
|
16230 |
- enable_fast_install=no |
|
16231 |
-elif test "$shlibpath_overrides_runpath" = yes || |
|
16232 |
- test "$enable_shared" = no; then |
|
16233 |
- # Fast installation is not necessary |
|
16234 |
- enable_fast_install=needless |
|
16235 |
-fi |
|
16236 |
- |
|
16237 |
- |
|
16238 |
-# The else clause should only fire when bootstrapping the |
|
16239 |
-# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
16240 |
-# with your package, and you will get complaints that there are |
|
16241 |
-# no rules to generate ltmain.sh. |
|
16242 |
-if test -f "$ltmain"; then |
|
16243 |
- # See if we are running on zsh, and set the options which allow our commands through |
|
16244 |
- # without removal of \ escapes. |
|
16245 |
- if test -n "${ZSH_VERSION+set}" ; then |
|
16246 |
- setopt NO_GLOB_SUBST |
|
16247 |
- fi |
|
16248 |
- # Now quote all the things that may contain metacharacters while being |
|
16249 |
- # careful not to overquote the AC_SUBSTed values. We take copies of the |
|
16250 |
- # variables and quote the copies for generation of the libtool script. |
|
16251 |
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
|
16252 |
- SED SHELL STRIP \ |
|
16253 |
- libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
16254 |
- old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
16255 |
- deplibs_check_method reload_flag reload_cmds need_locks \ |
|
16256 |
- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
16257 |
- lt_cv_sys_global_symbol_to_c_name_address \ |
|
16258 |
- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
16259 |
- old_postinstall_cmds old_postuninstall_cmds \ |
|
16260 |
- compiler_F77 \ |
|
16261 |
- CC_F77 \ |
|
16262 |
- LD_F77 \ |
|
16263 |
- lt_prog_compiler_wl_F77 \ |
|
16264 |
- lt_prog_compiler_pic_F77 \ |
|
16265 |
- lt_prog_compiler_static_F77 \ |
|
16266 |
- lt_prog_compiler_no_builtin_flag_F77 \ |
|
16267 |
- export_dynamic_flag_spec_F77 \ |
|
16268 |
- thread_safe_flag_spec_F77 \ |
|
16269 |
- whole_archive_flag_spec_F77 \ |
|
16270 |
- enable_shared_with_static_runtimes_F77 \ |
|
16271 |
- old_archive_cmds_F77 \ |
|
16272 |
- old_archive_from_new_cmds_F77 \ |
|
16273 |
- predep_objects_F77 \ |
|
16274 |
- postdep_objects_F77 \ |
|
16275 |
- predeps_F77 \ |
|
16276 |
- postdeps_F77 \ |
|
16277 |
- compiler_lib_search_path_F77 \ |
|
16278 |
- archive_cmds_F77 \ |
|
16279 |
- archive_expsym_cmds_F77 \ |
|
16280 |
- postinstall_cmds_F77 \ |
|
16281 |
- postuninstall_cmds_F77 \ |
|
16282 |
- old_archive_from_expsyms_cmds_F77 \ |
|
16283 |
- allow_undefined_flag_F77 \ |
|
16284 |
- no_undefined_flag_F77 \ |
|
16285 |
- export_symbols_cmds_F77 \ |
|
16286 |
- hardcode_libdir_flag_spec_F77 \ |
|
16287 |
- hardcode_libdir_flag_spec_ld_F77 \ |
|
16288 |
- hardcode_libdir_separator_F77 \ |
|
16289 |
- hardcode_automatic_F77 \ |
|
16290 |
- module_cmds_F77 \ |
|
16291 |
- module_expsym_cmds_F77 \ |
|
16292 |
- lt_cv_prog_compiler_c_o_F77 \ |
|
16293 |
- fix_srcfile_path_F77 \ |
|
16294 |
- exclude_expsyms_F77 \ |
|
16295 |
- include_expsyms_F77; do |
|
16296 |
- |
|
16297 |
- case $var in |
|
16298 |
- old_archive_cmds_F77 | \ |
|
16299 |
- old_archive_from_new_cmds_F77 | \ |
|
16300 |
- archive_cmds_F77 | \ |
|
16301 |
- archive_expsym_cmds_F77 | \ |
|
16302 |
- module_cmds_F77 | \ |
|
16303 |
- module_expsym_cmds_F77 | \ |
|
16304 |
- old_archive_from_expsyms_cmds_F77 | \ |
|
16305 |
- export_symbols_cmds_F77 | \ |
|
16306 |
- extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
16307 |
- postinstall_cmds | postuninstall_cmds | \ |
|
16308 |
- old_postinstall_cmds | old_postuninstall_cmds | \ |
|
16309 |
- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
16310 |
- # Double-quote double-evaled strings. |
|
16311 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
16312 |
- ;; |
|
16313 |
- *) |
|
16314 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
16315 |
- ;; |
|
16316 |
- esac |
|
16317 |
- done |
|
16318 |
- |
|
16319 |
- case $lt_echo in |
|
16320 |
- *'\$0 --fallback-echo"') |
|
16321 |
- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
16322 |
- ;; |
|
16323 |
- esac |
|
16324 |
- |
|
16325 |
-cfgfile="$ofile" |
|
16326 |
- |
|
16327 |
- cat <<__EOF__ >> "$cfgfile" |
|
16328 |
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
16329 |
- |
|
16330 |
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
16331 |
- |
|
16332 |
-# Shell to use when invoking shell scripts. |
|
16333 |
-SHELL=$lt_SHELL |
|
16334 |
- |
|
16335 |
-# Whether or not to build shared libraries. |
|
16336 |
-build_libtool_libs=$enable_shared |
|
16337 |
- |
|
16338 |
-# Whether or not to build static libraries. |
|
16339 |
-build_old_libs=$enable_static |
|
16340 |
- |
|
16341 |
-# Whether or not to add -lc for building shared libraries. |
|
16342 |
-build_libtool_need_lc=$archive_cmds_need_lc_F77 |
|
16343 |
- |
|
16344 |
-# Whether or not to disallow shared libs when runtime libs are static |
|
16345 |
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 |
|
16346 |
- |
|
16347 |
-# Whether or not to optimize for fast installation. |
|
16348 |
-fast_install=$enable_fast_install |
|
16349 |
- |
|
16350 |
-# The host system. |
|
16351 |
-host_alias=$host_alias |
|
16352 |
-host=$host |
|
16353 |
-host_os=$host_os |
|
16354 |
- |
|
16355 |
-# The build system. |
|
16356 |
-build_alias=$build_alias |
|
16357 |
-build=$build |
|
16358 |
-build_os=$build_os |
|
16359 |
- |
|
16360 |
-# An echo program that does not interpret backslashes. |
|
16361 |
-echo=$lt_echo |
|
16362 |
- |
|
16363 |
-# The archiver. |
|
16364 |
-AR=$lt_AR |
|
16365 |
-AR_FLAGS=$lt_AR_FLAGS |
|
16366 |
- |
|
16367 |
-# A C compiler. |
|
16368 |
-LTCC=$lt_LTCC |
|
16369 |
- |
|
16370 |
-# LTCC compiler flags. |
|
16371 |
-LTCFLAGS=$lt_LTCFLAGS |
|
16372 |
- |
|
16373 |
-# A language-specific compiler. |
|
16374 |
-CC=$lt_compiler_F77 |
|
16375 |
- |
|
16376 |
-# Is the compiler the GNU C compiler? |
|
16377 |
-with_gcc=$GCC_F77 |
|
16378 |
- |
|
16379 |
-# An ERE matcher. |
|
16380 |
-EGREP=$lt_EGREP |
|
16381 |
- |
|
16382 |
-# The linker used to build libraries. |
|
16383 |
-LD=$lt_LD_F77 |
|
16384 |
- |
|
16385 |
-# Whether we need hard or soft links. |
|
16386 |
-LN_S=$lt_LN_S |
|
16387 |
- |
|
16388 |
-# A BSD-compatible nm program. |
|
16389 |
-NM=$lt_NM |
|
16390 |
- |
|
16391 |
-# A symbol stripping program |
|
16392 |
-STRIP=$lt_STRIP |
|
16393 |
- |
|
16394 |
-# Used to examine libraries when file_magic_cmd begins "file" |
|
16395 |
-MAGIC_CMD=$MAGIC_CMD |
|
16396 |
- |
|
16397 |
-# Used on cygwin: DLL creation program. |
|
16398 |
-DLLTOOL="$DLLTOOL" |
|
16399 |
- |
|
16400 |
-# Used on cygwin: object dumper. |
|
16401 |
-OBJDUMP="$OBJDUMP" |
|
16402 |
- |
|
16403 |
-# Used on cygwin: assembler. |
|
16404 |
-AS="$AS" |
|
16405 |
- |
|
16406 |
-# The name of the directory that contains temporary libtool files. |
|
16407 |
-objdir=$objdir |
|
16408 |
- |
|
16409 |
-# How to create reloadable object files. |
|
16410 |
-reload_flag=$lt_reload_flag |
|
16411 |
-reload_cmds=$lt_reload_cmds |
|
16412 |
- |
|
16413 |
-# How to pass a linker flag through the compiler. |
|
16414 |
-wl=$lt_lt_prog_compiler_wl_F77 |
|
16415 |
- |
|
16416 |
-# Object file suffix (normally "o"). |
|
16417 |
-objext="$ac_objext" |
|
16418 |
- |
|
16419 |
-# Old archive suffix (normally "a"). |
|
16420 |
-libext="$libext" |
|
16421 |
- |
|
16422 |
-# Shared library suffix (normally ".so"). |
|
16423 |
-shrext_cmds='$shrext_cmds' |
|
16424 |
- |
|
16425 |
-# Executable file suffix (normally ""). |
|
16426 |
-exeext="$exeext" |
|
16427 |
- |
|
16428 |
-# Additional compiler flags for building library objects. |
|
16429 |
-pic_flag=$lt_lt_prog_compiler_pic_F77 |
|
16430 |
-pic_mode=$pic_mode |
|
16431 |
- |
|
16432 |
-# What is the maximum length of a command? |
|
16433 |
-max_cmd_len=$lt_cv_sys_max_cmd_len |
|
16434 |
- |
|
16435 |
-# Does compiler simultaneously support -c and -o options? |
|
16436 |
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 |
|
16437 |
- |
|
16438 |
-# Must we lock files when doing compilation? |
|
16439 |
-need_locks=$lt_need_locks |
|
16440 |
- |
|
16441 |
-# Do we need the lib prefix for modules? |
|
16442 |
-need_lib_prefix=$need_lib_prefix |
|
16443 |
- |
|
16444 |
-# Do we need a version for libraries? |
|
16445 |
-need_version=$need_version |
|
16446 |
- |
|
16447 |
-# Whether dlopen is supported. |
|
16448 |
-dlopen_support=$enable_dlopen |
|
16449 |
- |
|
16450 |
-# Whether dlopen of programs is supported. |
|
16451 |
-dlopen_self=$enable_dlopen_self |
|
16452 |
- |
|
16453 |
-# Whether dlopen of statically linked programs is supported. |
|
16454 |
-dlopen_self_static=$enable_dlopen_self_static |
|
16455 |
- |
|
16456 |
-# Compiler flag to prevent dynamic linking. |
|
16457 |
-link_static_flag=$lt_lt_prog_compiler_static_F77 |
|
16458 |
- |
|
16459 |
-# Compiler flag to turn off builtin functions. |
|
16460 |
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 |
|
16461 |
- |
|
16462 |
-# Compiler flag to allow reflexive dlopens. |
|
16463 |
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 |
|
16464 |
- |
|
16465 |
-# Compiler flag to generate shared objects directly from archives. |
|
16466 |
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 |
|
16467 |
- |
|
16468 |
-# Compiler flag to generate thread-safe objects. |
|
16469 |
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 |
|
16470 |
- |
|
16471 |
-# Library versioning type. |
|
16472 |
-version_type=$version_type |
|
16473 |
- |
|
16474 |
-# Format of library name prefix. |
|
16475 |
-libname_spec=$lt_libname_spec |
|
16476 |
- |
|
16477 |
-# List of archive names. First name is the real one, the rest are links. |
|
16478 |
-# The last name is the one that the linker finds with -lNAME. |
|
16479 |
-library_names_spec=$lt_library_names_spec |
|
16480 |
- |
|
16481 |
-# The coded name of the library, if different from the real name. |
|
16482 |
-soname_spec=$lt_soname_spec |
|
16483 |
- |
|
16484 |
-# Commands used to build and install an old-style archive. |
|
16485 |
-RANLIB=$lt_RANLIB |
|
16486 |
-old_archive_cmds=$lt_old_archive_cmds_F77 |
|
16487 |
-old_postinstall_cmds=$lt_old_postinstall_cmds |
|
16488 |
-old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
16489 |
- |
|
16490 |
-# Create an old-style archive from a shared archive. |
|
16491 |
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 |
|
16492 |
- |
|
16493 |
-# Create a temporary old-style archive to link instead of a shared archive. |
|
16494 |
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 |
|
16495 |
- |
|
16496 |
-# Commands used to build and install a shared archive. |
|
16497 |
-archive_cmds=$lt_archive_cmds_F77 |
|
16498 |
-archive_expsym_cmds=$lt_archive_expsym_cmds_F77 |
|
16499 |
-postinstall_cmds=$lt_postinstall_cmds |
|
16500 |
-postuninstall_cmds=$lt_postuninstall_cmds |
|
16501 |
- |
|
16502 |
-# Commands used to build a loadable module (assumed same as above if empty) |
|
16503 |
-module_cmds=$lt_module_cmds_F77 |
|
16504 |
-module_expsym_cmds=$lt_module_expsym_cmds_F77 |
|
16505 |
- |
|
16506 |
-# Commands to strip libraries. |
|
16507 |
-old_striplib=$lt_old_striplib |
|
16508 |
-striplib=$lt_striplib |
|
16509 |
- |
|
16510 |
-# Dependencies to place before the objects being linked to create a |
|
16511 |
-# shared library. |
|
16512 |
-predep_objects=$lt_predep_objects_F77 |
|
16513 |
- |
|
16514 |
-# Dependencies to place after the objects being linked to create a |
|
16515 |
-# shared library. |
|
16516 |
-postdep_objects=$lt_postdep_objects_F77 |
|
16517 |
- |
|
16518 |
-# Dependencies to place before the objects being linked to create a |
|
16519 |
-# shared library. |
|
16520 |
-predeps=$lt_predeps_F77 |
|
16521 |
- |
|
16522 |
-# Dependencies to place after the objects being linked to create a |
|
16523 |
-# shared library. |
|
16524 |
-postdeps=$lt_postdeps_F77 |
|
16525 |
- |
|
16526 |
-# The library search path used internally by the compiler when linking |
|
16527 |
-# a shared library. |
|
16528 |
-compiler_lib_search_path=$lt_compiler_lib_search_path_F77 |
|
16529 |
- |
|
16530 |
-# Method to check whether dependent libraries are shared objects. |
|
16531 |
-deplibs_check_method=$lt_deplibs_check_method |
|
16532 |
- |
|
16533 |
-# Command to use when deplibs_check_method == file_magic. |
|
16534 |
-file_magic_cmd=$lt_file_magic_cmd |
|
16535 |
- |
|
16536 |
-# Flag that allows shared libraries with undefined symbols to be built. |
|
16537 |
-allow_undefined_flag=$lt_allow_undefined_flag_F77 |
|
16538 |
- |
|
16539 |
-# Flag that forces no undefined symbols. |
|
16540 |
-no_undefined_flag=$lt_no_undefined_flag_F77 |
|
16541 |
- |
|
16542 |
-# Commands used to finish a libtool library installation in a directory. |
|
16543 |
-finish_cmds=$lt_finish_cmds |
|
16544 |
- |
|
16545 |
-# Same as above, but a single script fragment to be evaled but not shown. |
|
16546 |
-finish_eval=$lt_finish_eval |
|
16547 |
- |
|
16548 |
-# Take the output of nm and produce a listing of raw symbols and C names. |
|
16549 |
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
16550 |
- |
|
16551 |
-# Transform the output of nm in a proper C declaration |
|
16552 |
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
16553 |
- |
|
16554 |
-# Transform the output of nm in a C name address pair |
|
16555 |
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
16556 |
- |
|
16557 |
-# This is the shared library runtime path variable. |
|
16558 |
-runpath_var=$runpath_var |
|
16559 |
- |
|
16560 |
-# This is the shared library path variable. |
|
16561 |
-shlibpath_var=$shlibpath_var |
|
16562 |
- |
|
16563 |
-# Is shlibpath searched before the hard-coded library search path? |
|
16564 |
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
16565 |
- |
|
16566 |
-# How to hardcode a shared library path into an executable. |
|
16567 |
-hardcode_action=$hardcode_action_F77 |
|
16568 |
- |
|
16569 |
-# Whether we should hardcode library paths into libraries. |
|
16570 |
-hardcode_into_libs=$hardcode_into_libs |
|
16571 |
- |
|
16572 |
-# Flag to hardcode \$libdir into a binary during linking. |
|
16573 |
-# This must work even if \$libdir does not exist. |
|
16574 |
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 |
|
16575 |
- |
|
16576 |
-# If ld is used when linking, flag to hardcode \$libdir into |
|
16577 |
-# a binary during linking. This must work even if \$libdir does |
|
16578 |
-# not exist. |
|
16579 |
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 |
|
16580 |
- |
|
16581 |
-# Whether we need a single -rpath flag with a separated argument. |
|
16582 |
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 |
|
16583 |
- |
|
16584 |
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
16585 |
-# resulting binary. |
|
16586 |
-hardcode_direct=$hardcode_direct_F77 |
|
16587 |
- |
|
16588 |
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
16589 |
-# resulting binary. |
|
16590 |
-hardcode_minus_L=$hardcode_minus_L_F77 |
|
16591 |
- |
|
16592 |
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
16593 |
-# the resulting binary. |
|
16594 |
-hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 |
|
16595 |
- |
|
16596 |
-# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
16597 |
-# and all subsequent libraries and executables linked against it. |
|
16598 |
-hardcode_automatic=$hardcode_automatic_F77 |
|
16599 |
- |
|
16600 |
-# Variables whose values should be saved in libtool wrapper scripts and |
|
16601 |
-# restored at relink time. |
|
16602 |
-variables_saved_for_relink="$variables_saved_for_relink" |
|
16603 |
- |
|
16604 |
-# Whether libtool must link a program against all its dependency libraries. |
|
16605 |
-link_all_deplibs=$link_all_deplibs_F77 |
|
16606 |
- |
|
16607 |
-# Compile-time system search path for libraries |
|
16608 |
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
16609 |
- |
|
16610 |
-# Run-time system search path for libraries |
|
16611 |
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
16612 |
- |
|
16613 |
-# Fix the shell variable \$srcfile for the compiler. |
|
16614 |
-fix_srcfile_path=$lt_fix_srcfile_path |
|
16615 |
- |
|
16616 |
-# Set to yes if exported symbols are required. |
|
16617 |
-always_export_symbols=$always_export_symbols_F77 |
|
16618 |
- |
|
16619 |
-# The commands to list exported symbols. |
|
16620 |
-export_symbols_cmds=$lt_export_symbols_cmds_F77 |
|
16621 |
- |
|
16622 |
-# The commands to extract the exported symbol list from a shared archive. |
|
16623 |
-extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
16624 |
- |
|
16625 |
-# Symbols that should not be listed in the preloaded symbols. |
|
16626 |
-exclude_expsyms=$lt_exclude_expsyms_F77 |
|
16627 |
- |
|
16628 |
-# Symbols that must always be exported. |
|
16629 |
-include_expsyms=$lt_include_expsyms_F77 |
|
16630 |
- |
|
16631 |
-# ### END LIBTOOL TAG CONFIG: $tagname |
|
16632 |
- |
|
16633 |
-__EOF__ |
|
16634 |
- |
|
16635 |
- |
|
16636 |
-else |
|
16637 |
- # If there is no Makefile yet, we rely on a make rule to execute |
|
16638 |
- # `config.status --recheck' to rerun these tests and create the |
|
16639 |
- # libtool script then. |
|
16640 |
- ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
16641 |
- if test -f "$ltmain_in"; then |
|
16642 |
- test -f Makefile && make "$ltmain" |
|
16643 |
- fi |
|
16644 |
-fi |
|
16645 |
- |
|
16646 |
- |
|
16647 |
-ac_ext=c |
|
16648 |
-ac_cpp='$CPP $CPPFLAGS' |
|
16649 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
16650 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
16651 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
16652 |
- |
|
16653 |
-CC="$lt_save_CC" |
|
16654 |
- |
|
16655 |
- else |
|
16656 |
- tagname="" |
|
16657 |
- fi |
|
16658 |
- ;; |
|
16659 |
- |
|
16660 |
- GCJ) |
|
16661 |
- if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
|
16662 |
- |
|
16663 |
- |
|
16664 |
-# Source file extension for Java test sources. |
|
16665 |
-ac_ext=java |
|
16666 |
- |
|
16667 |
-# Object file extension for compiled Java test sources. |
|
16668 |
-objext=o |
|
16669 |
-objext_GCJ=$objext |
|
16670 |
- |
|
16671 |
-# Code to be used in simple compile tests |
|
16672 |
-lt_simple_compile_test_code="class foo {}" |
|
16673 |
- |
|
16674 |
-# Code to be used in simple link tests |
|
16675 |
-lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' |
|
16676 |
- |
|
16677 |
-# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
16678 |
- |
|
16679 |
-# If no C compiler was specified, use CC. |
|
16680 |
-LTCC=${LTCC-"$CC"} |
|
16681 |
- |
|
16682 |
-# If no C compiler flags were specified, use CFLAGS. |
|
16683 |
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
16684 |
- |
|
16685 |
-# Allow CC to be a program name with arguments. |
|
16686 |
-compiler=$CC |
|
16687 |
- |
|
16688 |
- |
|
16689 |
-# save warnings/boilerplate of simple test code |
|
16690 |
-ac_outfile=conftest.$ac_objext |
|
16691 |
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
16692 |
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
16693 |
-_lt_compiler_boilerplate=`cat conftest.err` |
|
16694 |
-$rm conftest* |
|
16695 |
- |
|
16696 |
-ac_outfile=conftest.$ac_objext |
|
16697 |
-echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
16698 |
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
16699 |
-_lt_linker_boilerplate=`cat conftest.err` |
|
16700 |
-$rm conftest* |
|
16701 |
- |
|
16702 |
- |
|
16703 |
-# Allow CC to be a program name with arguments. |
|
16704 |
-lt_save_CC="$CC" |
|
16705 |
-CC=${GCJ-"gcj"} |
|
16706 |
-compiler=$CC |
|
16707 |
-compiler_GCJ=$CC |
|
16708 |
-for cc_temp in $compiler""; do |
|
16709 |
- case $cc_temp in |
|
16710 |
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
16711 |
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
16712 |
- \-*) ;; |
|
16713 |
- *) break;; |
|
16714 |
- esac |
|
16715 |
-done |
|
16716 |
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
16717 |
- |
|
16718 |
- |
|
16719 |
-# GCJ did not exist at the time GCC didn't implicitly link libc in. |
|
16720 |
-archive_cmds_need_lc_GCJ=no |
|
16721 |
- |
|
16722 |
-old_archive_cmds_GCJ=$old_archive_cmds |
|
16723 |
- |
|
16724 |
- |
|
16725 |
-lt_prog_compiler_no_builtin_flag_GCJ= |
|
16726 |
- |
|
16727 |
-if test "$GCC" = yes; then |
|
16728 |
- lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
|
16729 |
- |
|
16730 |
- |
|
16731 |
-{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
16732 |
-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } |
|
16733 |
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
|
16734 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
16735 |
-else |
|
16736 |
- lt_cv_prog_compiler_rtti_exceptions=no |
|
16737 |
- ac_outfile=conftest.$ac_objext |
|
16738 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
16739 |
- lt_compiler_flag="-fno-rtti -fno-exceptions" |
|
16740 |
- # Insert the option either (1) after the last *FLAGS variable, or |
|
16741 |
- # (2) before a word containing "conftest.", or (3) at the end. |
|
16742 |
- # Note that $ac_compile itself does not contain backslashes and begins |
|
16743 |
- # with a dollar sign (not a hyphen), so the echo should work correctly. |
|
16744 |
- # The option is referenced via a variable to avoid confusing sed. |
|
16745 |
- lt_compile=`echo "$ac_compile" | $SED \ |
|
16746 |
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
16747 |
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
16748 |
- -e 's:$: $lt_compiler_flag:'` |
|
16749 |
- (eval echo "\"\$as_me:16749: $lt_compile\"" >&5) |
|
16750 |
- (eval "$lt_compile" 2>conftest.err) |
|
16751 |
- ac_status=$? |
|
16752 |
- cat conftest.err >&5 |
|
16753 |
- echo "$as_me:16753: \$? = $ac_status" >&5 |
|
16754 |
- if (exit $ac_status) && test -s "$ac_outfile"; then |
|
16755 |
- # The compiler can only warn and ignore the option if not recognized |
|
16756 |
- # So say no if there are warnings other than the usual output. |
|
16757 |
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
16758 |
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
16759 |
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
16760 |
- lt_cv_prog_compiler_rtti_exceptions=yes |
|
16761 |
- fi |
|
16762 |
- fi |
|
16763 |
- $rm conftest* |
|
16764 |
- |
|
16765 |
-fi |
|
16766 |
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
|
16767 |
-echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
16768 |
- |
|
16769 |
-if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
|
16770 |
- lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" |
|
16771 |
-else |
|
16772 |
- : |
|
16773 |
-fi |
|
16774 |
- |
|
16775 |
-fi |
|
16776 |
- |
|
16777 |
-lt_prog_compiler_wl_GCJ= |
|
16778 |
-lt_prog_compiler_pic_GCJ= |
|
16779 |
-lt_prog_compiler_static_GCJ= |
|
16780 |
- |
|
16781 |
-{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
|
16782 |
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
|
16783 |
- |
|
16784 |
- if test "$GCC" = yes; then |
|
16785 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16786 |
- lt_prog_compiler_static_GCJ='-static' |
|
16787 |
- |
|
16788 |
- case $host_os in |
|
16789 |
- aix*) |
|
16790 |
- # All AIX code is PIC. |
|
16791 |
- if test "$host_cpu" = ia64; then |
|
16792 |
- # AIX 5 now supports IA64 processor |
|
16793 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16794 |
- fi |
|
16795 |
- ;; |
|
16796 |
- |
|
16797 |
- amigaos*) |
|
16798 |
- # FIXME: we need at least 68020 code to build shared libraries, but |
|
16799 |
- # adding the `-m68020' flag to GCC prevents building anything better, |
|
16800 |
- # like `-m68040'. |
|
16801 |
- lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' |
|
16802 |
- ;; |
|
16803 |
- |
|
16804 |
- beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
|
16805 |
- # PIC is the default for these OSes. |
|
16806 |
- ;; |
|
16807 |
- |
|
16808 |
- mingw* | cygwin* | pw32* | os2*) |
|
16809 |
- # This hack is so that the source file can tell whether it is being |
|
16810 |
- # built for inclusion in a dll (and should export symbols for example). |
|
16811 |
- # Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
16812 |
- # (--disable-auto-import) libraries |
|
16813 |
- lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' |
|
16814 |
- ;; |
|
16815 |
- |
|
16816 |
- darwin* | rhapsody*) |
|
16817 |
- # PIC is the default on this platform |
|
16818 |
- # Common symbols not allowed in MH_DYLIB files |
|
16819 |
- lt_prog_compiler_pic_GCJ='-fno-common' |
|
16820 |
- ;; |
|
16821 |
- |
|
16822 |
- interix[3-9]*) |
|
16823 |
- # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
|
16824 |
- # Instead, we relocate shared libraries at runtime. |
|
16825 |
- ;; |
|
16826 |
- |
|
16827 |
- msdosdjgpp*) |
|
16828 |
- # Just because we use GCC doesn't mean we suddenly get shared libraries |
|
16829 |
- # on systems that don't support them. |
|
16830 |
- lt_prog_compiler_can_build_shared_GCJ=no |
|
16831 |
- enable_shared=no |
|
16832 |
- ;; |
|
16833 |
- |
|
16834 |
- sysv4*MP*) |
|
16835 |
- if test -d /usr/nec; then |
|
16836 |
- lt_prog_compiler_pic_GCJ=-Kconform_pic |
|
16837 |
- fi |
|
16838 |
- ;; |
|
16839 |
- |
|
16840 |
- hpux*) |
|
16841 |
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
16842 |
- # not for PA HP-UX. |
|
16843 |
- case $host_cpu in |
|
16844 |
- hppa*64*|ia64*) |
|
16845 |
- # +Z the default |
|
16846 |
- ;; |
|
16847 |
- *) |
|
16848 |
- lt_prog_compiler_pic_GCJ='-fPIC' |
|
16849 |
- ;; |
|
16850 |
- esac |
|
16851 |
- ;; |
|
16852 |
- |
|
16853 |
- *) |
|
16854 |
- lt_prog_compiler_pic_GCJ='-fPIC' |
|
16855 |
- ;; |
|
16856 |
- esac |
|
16857 |
- else |
|
16858 |
- # PORTME Check for flag to pass linker flags through the system compiler. |
|
16859 |
- case $host_os in |
|
16860 |
- aix*) |
|
16861 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16862 |
- if test "$host_cpu" = ia64; then |
|
16863 |
- # AIX 5 now supports IA64 processor |
|
16864 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16865 |
- else |
|
16866 |
- lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' |
|
16867 |
- fi |
|
16868 |
- ;; |
|
16869 |
- darwin*) |
|
16870 |
- # PIC is the default on this platform |
|
16871 |
- # Common symbols not allowed in MH_DYLIB files |
|
16872 |
- case $cc_basename in |
|
16873 |
- xlc*) |
|
16874 |
- lt_prog_compiler_pic_GCJ='-qnocommon' |
|
16875 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16876 |
- ;; |
|
16877 |
- esac |
|
16878 |
- ;; |
|
16879 |
- |
|
16880 |
- mingw* | cygwin* | pw32* | os2*) |
|
16881 |
- # This hack is so that the source file can tell whether it is being |
|
16882 |
- # built for inclusion in a dll (and should export symbols for example). |
|
16883 |
- lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' |
|
16884 |
- ;; |
|
16885 |
- |
|
16886 |
- hpux9* | hpux10* | hpux11*) |
|
16887 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16888 |
- # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
16889 |
- # not for PA HP-UX. |
|
16890 |
- case $host_cpu in |
|
16891 |
- hppa*64*|ia64*) |
|
16892 |
- # +Z the default |
|
16893 |
- ;; |
|
16894 |
- *) |
|
16895 |
- lt_prog_compiler_pic_GCJ='+Z' |
|
16896 |
- ;; |
|
16897 |
- esac |
|
16898 |
- # Is there a better lt_prog_compiler_static that works with the bundled CC? |
|
16899 |
- lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' |
|
16900 |
- ;; |
|
16901 |
- |
|
16902 |
- irix5* | irix6* | nonstopux*) |
|
16903 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16904 |
- # PIC (with -KPIC) is the default. |
|
16905 |
- lt_prog_compiler_static_GCJ='-non_shared' |
|
16906 |
- ;; |
|
16907 |
- |
|
16908 |
- newsos6) |
|
16909 |
- lt_prog_compiler_pic_GCJ='-KPIC' |
|
16910 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16911 |
- ;; |
|
16912 |
- |
|
16913 |
- linux* | k*bsd*-gnu) |
|
16914 |
- case $cc_basename in |
|
16915 |
- icc* | ecc*) |
|
16916 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16917 |
- lt_prog_compiler_pic_GCJ='-KPIC' |
|
16918 |
- lt_prog_compiler_static_GCJ='-static' |
|
16919 |
- ;; |
|
16920 |
- pgcc* | pgf77* | pgf90* | pgf95*) |
|
16921 |
- # Portland Group compilers (*not* the Pentium gcc compiler, |
|
16922 |
- # which looks to be a dead project) |
|
16923 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16924 |
- lt_prog_compiler_pic_GCJ='-fpic' |
|
16925 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16926 |
- ;; |
|
16927 |
- ccc*) |
|
16928 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16929 |
- # All Alpha code is PIC. |
|
16930 |
- lt_prog_compiler_static_GCJ='-non_shared' |
|
16931 |
- ;; |
|
16932 |
- *) |
|
16933 |
- case `$CC -V 2>&1 | sed 5q` in |
|
16934 |
- *Sun\ C*) |
|
16935 |
- # Sun C 5.9 |
|
16936 |
- lt_prog_compiler_pic_GCJ='-KPIC' |
|
16937 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16938 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16939 |
- ;; |
|
16940 |
- *Sun\ F*) |
|
16941 |
- # Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
16942 |
- lt_prog_compiler_pic_GCJ='-KPIC' |
|
16943 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16944 |
- lt_prog_compiler_wl_GCJ='' |
|
16945 |
- ;; |
|
16946 |
- esac |
|
16947 |
- ;; |
|
16948 |
- esac |
|
16949 |
- ;; |
|
16950 |
- |
|
16951 |
- osf3* | osf4* | osf5*) |
|
16952 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16953 |
- # All OSF/1 code is PIC. |
|
16954 |
- lt_prog_compiler_static_GCJ='-non_shared' |
|
16955 |
- ;; |
|
16956 |
- |
|
16957 |
- rdos*) |
|
16958 |
- lt_prog_compiler_static_GCJ='-non_shared' |
|
16959 |
- ;; |
|
16960 |
- |
|
16961 |
- solaris*) |
|
16962 |
- lt_prog_compiler_pic_GCJ='-KPIC' |
|
16963 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16964 |
- case $cc_basename in |
|
16965 |
- f77* | f90* | f95*) |
|
16966 |
- lt_prog_compiler_wl_GCJ='-Qoption ld ';; |
|
16967 |
- *) |
|
16968 |
- lt_prog_compiler_wl_GCJ='-Wl,';; |
|
16969 |
- esac |
|
16970 |
- ;; |
|
16971 |
- |
|
16972 |
- sunos4*) |
|
16973 |
- lt_prog_compiler_wl_GCJ='-Qoption ld ' |
|
16974 |
- lt_prog_compiler_pic_GCJ='-PIC' |
|
16975 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16976 |
- ;; |
|
16977 |
- |
|
16978 |
- sysv4 | sysv4.2uw2* | sysv4.3*) |
|
16979 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16980 |
- lt_prog_compiler_pic_GCJ='-KPIC' |
|
16981 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16982 |
- ;; |
|
16983 |
- |
|
16984 |
- sysv4*MP*) |
|
16985 |
- if test -d /usr/nec ;then |
|
16986 |
- lt_prog_compiler_pic_GCJ='-Kconform_pic' |
|
16987 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16988 |
- fi |
|
16989 |
- ;; |
|
16990 |
- |
|
16991 |
- sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
16992 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16993 |
- lt_prog_compiler_pic_GCJ='-KPIC' |
|
16994 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
16995 |
- ;; |
|
16996 |
- |
|
16997 |
- unicos*) |
|
16998 |
- lt_prog_compiler_wl_GCJ='-Wl,' |
|
16999 |
- lt_prog_compiler_can_build_shared_GCJ=no |
|
17000 |
- ;; |
|
17001 |
- |
|
17002 |
- uts4*) |
|
17003 |
- lt_prog_compiler_pic_GCJ='-pic' |
|
17004 |
- lt_prog_compiler_static_GCJ='-Bstatic' |
|
17005 |
- ;; |
|
17006 |
- |
|
17007 |
- *) |
|
17008 |
- lt_prog_compiler_can_build_shared_GCJ=no |
|
17009 |
- ;; |
|
17010 |
- esac |
|
17011 |
- fi |
|
17012 |
- |
|
17013 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 |
|
17014 |
-echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } |
|
17015 |
- |
|
17016 |
-# |
|
17017 |
-# Check to make sure the PIC flag actually works. |
|
17018 |
-# |
|
17019 |
-if test -n "$lt_prog_compiler_pic_GCJ"; then |
|
17020 |
- |
|
17021 |
-{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
|
17022 |
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } |
|
17023 |
-if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
|
17024 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
17025 |
-else |
|
17026 |
- lt_prog_compiler_pic_works_GCJ=no |
|
17027 |
- ac_outfile=conftest.$ac_objext |
|
17028 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
17029 |
- lt_compiler_flag="$lt_prog_compiler_pic_GCJ" |
|
17030 |
- # Insert the option either (1) after the last *FLAGS variable, or |
|
17031 |
- # (2) before a word containing "conftest.", or (3) at the end. |
|
17032 |
- # Note that $ac_compile itself does not contain backslashes and begins |
|
17033 |
- # with a dollar sign (not a hyphen), so the echo should work correctly. |
|
17034 |
- # The option is referenced via a variable to avoid confusing sed. |
|
17035 |
- lt_compile=`echo "$ac_compile" | $SED \ |
|
17036 |
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
17037 |
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
17038 |
- -e 's:$: $lt_compiler_flag:'` |
|
17039 |
- (eval echo "\"\$as_me:17039: $lt_compile\"" >&5) |
|
17040 |
- (eval "$lt_compile" 2>conftest.err) |
|
17041 |
- ac_status=$? |
|
17042 |
- cat conftest.err >&5 |
|
17043 |
- echo "$as_me:17043: \$? = $ac_status" >&5 |
|
17044 |
- if (exit $ac_status) && test -s "$ac_outfile"; then |
|
17045 |
- # The compiler can only warn and ignore the option if not recognized |
|
17046 |
- # So say no if there are warnings other than the usual output. |
|
17047 |
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
17048 |
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
17049 |
- if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
|
17050 |
- lt_prog_compiler_pic_works_GCJ=yes |
|
17051 |
- fi |
|
17052 |
- fi |
|
17053 |
- $rm conftest* |
|
17054 |
- |
|
17055 |
-fi |
|
17056 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 |
|
17057 |
-echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } |
|
17058 |
- |
|
17059 |
-if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then |
|
17060 |
- case $lt_prog_compiler_pic_GCJ in |
|
17061 |
- "" | " "*) ;; |
|
17062 |
- *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; |
|
17063 |
- esac |
|
17064 |
-else |
|
17065 |
- lt_prog_compiler_pic_GCJ= |
|
17066 |
- lt_prog_compiler_can_build_shared_GCJ=no |
|
17067 |
-fi |
|
17068 |
- |
|
17069 |
-fi |
|
17070 |
-case $host_os in |
|
17071 |
- # For platforms which do not support PIC, -DPIC is meaningless: |
|
17072 |
- *djgpp*) |
|
17073 |
- lt_prog_compiler_pic_GCJ= |
|
17074 |
- ;; |
|
17075 |
- *) |
|
17076 |
- lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" |
|
17077 |
- ;; |
|
17078 |
-esac |
|
17079 |
- |
|
17080 |
-# |
|
17081 |
-# Check to make sure the static flag actually works. |
|
17082 |
-# |
|
17083 |
-wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" |
|
17084 |
-{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
|
17085 |
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
|
17086 |
-if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then |
|
17087 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
17088 |
-else |
|
17089 |
- lt_prog_compiler_static_works_GCJ=no |
|
17090 |
- save_LDFLAGS="$LDFLAGS" |
|
17091 |
- LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
|
17092 |
- echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
17093 |
- if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
|
17094 |
- # The linker can only warn and ignore the option if not recognized |
|
17095 |
- # So say no if there are warnings |
|
17096 |
- if test -s conftest.err; then |
|
17097 |
- # Append any errors to the config.log. |
|
17098 |
- cat conftest.err 1>&5 |
|
17099 |
- $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
17100 |
- $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
17101 |
- if diff conftest.exp conftest.er2 >/dev/null; then |
|
17102 |
- lt_prog_compiler_static_works_GCJ=yes |
|
17103 |
- fi |
|
17104 |
- else |
|
17105 |
- lt_prog_compiler_static_works_GCJ=yes |
|
17106 |
- fi |
|
17107 |
- fi |
|
17108 |
- $rm conftest* |
|
17109 |
- LDFLAGS="$save_LDFLAGS" |
|
17110 |
- |
|
17111 |
-fi |
|
17112 |
-{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 |
|
17113 |
-echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } |
|
17114 |
- |
|
17115 |
-if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then |
|
17116 |
- : |
|
17117 |
-else |
|
17118 |
- lt_prog_compiler_static_GCJ= |
|
17119 |
-fi |
|
17120 |
- |
|
17121 |
- |
|
17122 |
-{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
17123 |
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
|
17124 |
-if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
|
17125 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
17126 |
-else |
|
17127 |
- lt_cv_prog_compiler_c_o_GCJ=no |
|
17128 |
- $rm -r conftest 2>/dev/null |
|
17129 |
- mkdir conftest |
|
17130 |
- cd conftest |
|
17131 |
- mkdir out |
|
17132 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
17133 |
- |
|
17134 |
- lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
17135 |
- # Insert the option either (1) after the last *FLAGS variable, or |
|
17136 |
- # (2) before a word containing "conftest.", or (3) at the end. |
|
17137 |
- # Note that $ac_compile itself does not contain backslashes and begins |
|
17138 |
- # with a dollar sign (not a hyphen), so the echo should work correctly. |
|
17139 |
- lt_compile=`echo "$ac_compile" | $SED \ |
|
17140 |
- -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
|
17141 |
- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
17142 |
- -e 's:$: $lt_compiler_flag:'` |
|
17143 |
- (eval echo "\"\$as_me:17143: $lt_compile\"" >&5) |
|
17144 |
- (eval "$lt_compile" 2>out/conftest.err) |
|
17145 |
- ac_status=$? |
|
17146 |
- cat out/conftest.err >&5 |
|
17147 |
- echo "$as_me:17147: \$? = $ac_status" >&5 |
|
17148 |
- if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
17149 |
- then |
|
17150 |
- # The compiler can only warn and ignore the option if not recognized |
|
17151 |
- # So say no if there are warnings |
|
17152 |
- $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
17153 |
- $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
17154 |
- if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
|
17155 |
- lt_cv_prog_compiler_c_o_GCJ=yes |
|
17156 |
- fi |
|
17157 |
- fi |
|
17158 |
- chmod u+w . 2>&5 |
|
17159 |
- $rm conftest* |
|
17160 |
- # SGI C++ compiler will create directory out/ii_files/ for |
|
17161 |
- # template instantiation |
|
17162 |
- test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
|
17163 |
- $rm out/* && rmdir out |
|
17164 |
- cd .. |
|
17165 |
- rmdir conftest |
|
17166 |
- $rm conftest* |
|
17167 |
- |
|
17168 |
-fi |
|
17169 |
-{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 |
|
17170 |
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } |
|
17171 |
- |
|
17172 |
- |
|
17173 |
-hard_links="nottested" |
|
17174 |
-if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then |
|
17175 |
- # do not overwrite the value of need_locks provided by the user |
|
17176 |
- { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
|
17177 |
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
|
17178 |
- hard_links=yes |
|
17179 |
- $rm conftest* |
|
17180 |
- ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
17181 |
- touch conftest.a |
|
17182 |
- ln conftest.a conftest.b 2>&5 || hard_links=no |
|
17183 |
- ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
17184 |
- { echo "$as_me:$LINENO: result: $hard_links" >&5 |
|
17185 |
-echo "${ECHO_T}$hard_links" >&6; } |
|
17186 |
- if test "$hard_links" = no; then |
|
17187 |
- { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
17188 |
-echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
17189 |
- need_locks=warn |
|
17190 |
- fi |
|
17191 |
-else |
|
17192 |
- need_locks=no |
|
17193 |
-fi |
|
17194 |
- |
|
17195 |
-{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
17196 |
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
|
17197 |
- |
|
17198 |
- runpath_var= |
|
17199 |
- allow_undefined_flag_GCJ= |
|
17200 |
- enable_shared_with_static_runtimes_GCJ=no |
|
17201 |
- archive_cmds_GCJ= |
|
17202 |
- archive_expsym_cmds_GCJ= |
|
17203 |
- old_archive_From_new_cmds_GCJ= |
|
17204 |
- old_archive_from_expsyms_cmds_GCJ= |
|
17205 |
- export_dynamic_flag_spec_GCJ= |
|
17206 |
- whole_archive_flag_spec_GCJ= |
|
17207 |
- thread_safe_flag_spec_GCJ= |
|
17208 |
- hardcode_libdir_flag_spec_GCJ= |
|
17209 |
- hardcode_libdir_flag_spec_ld_GCJ= |
|
17210 |
- hardcode_libdir_separator_GCJ= |
|
17211 |
- hardcode_direct_GCJ=no |
|
17212 |
- hardcode_minus_L_GCJ=no |
|
17213 |
- hardcode_shlibpath_var_GCJ=unsupported |
|
17214 |
- link_all_deplibs_GCJ=unknown |
|
17215 |
- hardcode_automatic_GCJ=no |
|
17216 |
- module_cmds_GCJ= |
|
17217 |
- module_expsym_cmds_GCJ= |
|
17218 |
- always_export_symbols_GCJ=no |
|
17219 |
- export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
17220 |
- # include_expsyms should be a list of space-separated symbols to be *always* |
|
17221 |
- # included in the symbol list |
|
17222 |
- include_expsyms_GCJ= |
|
17223 |
- # exclude_expsyms can be an extended regexp of symbols to exclude |
|
17224 |
- # it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
17225 |
- # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
17226 |
- # as well as any symbol that contains `d'. |
|
17227 |
- exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" |
|
17228 |
- # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
17229 |
- # platforms (ab)use it in PIC code, but their linkers get confused if |
|
17230 |
- # the symbol is explicitly referenced. Since portable code cannot |
|
17231 |
- # rely on this symbol name, it's probably fine to never include it in |
|
17232 |
- # preloaded symbol tables. |
|
17233 |
- extract_expsyms_cmds= |
|
17234 |
- # Just being paranoid about ensuring that cc_basename is set. |
|
17235 |
- for cc_temp in $compiler""; do |
|
17236 |
- case $cc_temp in |
|
17237 |
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
17238 |
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
17239 |
- \-*) ;; |
|
17240 |
- *) break;; |
|
17241 |
- esac |
|
17242 |
-done |
|
17243 |
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
17244 |
- |
|
17245 |
- case $host_os in |
|
17246 |
- cygwin* | mingw* | pw32*) |
|
17247 |
- # FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
17248 |
- # When not using gcc, we currently assume that we are using |
|
17249 |
- # Microsoft Visual C++. |
|
17250 |
- if test "$GCC" != yes; then |
|
17251 |
- with_gnu_ld=no |
|
17252 |
- fi |
|
17253 |
- ;; |
|
17254 |
- interix*) |
|
17255 |
- # we just hope/assume this is gcc and not c89 (= MSVC++) |
|
17256 |
- with_gnu_ld=yes |
|
17257 |
- ;; |
|
17258 |
- openbsd*) |
|
17259 |
- with_gnu_ld=no |
|
17260 |
- ;; |
|
17261 |
- esac |
|
17262 |
- |
|
17263 |
- ld_shlibs_GCJ=yes |
|
17264 |
- if test "$with_gnu_ld" = yes; then |
|
17265 |
- # If archive_cmds runs LD, not CC, wlarc should be empty |
|
17266 |
- wlarc='${wl}' |
|
17267 |
- |
|
17268 |
- # Set some defaults for GNU ld with shared library support. These |
|
17269 |
- # are reset later if shared libraries are not supported. Putting them |
|
17270 |
- # here allows them to be overridden if necessary. |
|
17271 |
- runpath_var=LD_RUN_PATH |
|
17272 |
- hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' |
|
17273 |
- export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' |
|
17274 |
- # ancient GNU ld didn't support --whole-archive et. al. |
|
17275 |
- if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
17276 |
- whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
17277 |
- else |
|
17278 |
- whole_archive_flag_spec_GCJ= |
|
17279 |
- fi |
|
17280 |
- supports_anon_versioning=no |
|
17281 |
- case `$LD -v 2>/dev/null` in |
|
17282 |
- *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
17283 |
- *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
17284 |
- *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
17285 |
- *\ 2.11.*) ;; # other 2.11 versions |
|
17286 |
- *) supports_anon_versioning=yes ;; |
|
17287 |
- esac |
|
17288 |
- |
|
17289 |
- # See if GNU ld supports shared libraries. |
|
17290 |
- case $host_os in |
|
17291 |
- aix3* | aix4* | aix5*) |
|
17292 |
- # On AIX/PPC, the GNU linker is very broken |
|
17293 |
- if test "$host_cpu" != ia64; then |
|
17294 |
- ld_shlibs_GCJ=no |
|
17295 |
- cat <<EOF 1>&2 |
|
17296 |
- |
|
17297 |
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
17298 |
-*** to be unable to reliably create shared libraries on AIX. |
|
17299 |
-*** Therefore, libtool is disabling shared libraries support. If you |
|
17300 |
-*** really care for shared libraries, you may want to modify your PATH |
|
17301 |
-*** so that a non-GNU linker is found, and then restart. |
|
17302 |
- |
|
17303 |
-EOF |
|
17304 |
- fi |
|
17305 |
- ;; |
|
17306 |
- |
|
17307 |
- amigaos*) |
|
17308 |
- archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
17309 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17310 |
- hardcode_minus_L_GCJ=yes |
|
17311 |
- |
|
17312 |
- # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
|
17313 |
- # that the semantics of dynamic libraries on AmigaOS, at least up |
|
17314 |
- # to version 4, is to share data among multiple programs linked |
|
17315 |
- # with the same dynamic library. Since this doesn't match the |
|
17316 |
- # behavior of shared libraries on other platforms, we can't use |
|
17317 |
- # them. |
|
17318 |
- ld_shlibs_GCJ=no |
|
17319 |
- ;; |
|
17320 |
- |
|
17321 |
- beos*) |
|
17322 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17323 |
- allow_undefined_flag_GCJ=unsupported |
|
17324 |
- # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
17325 |
- # support --undefined. This deserves some investigation. FIXME |
|
17326 |
- archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17327 |
- else |
|
17328 |
- ld_shlibs_GCJ=no |
|
17329 |
- fi |
|
17330 |
- ;; |
|
17331 |
- |
|
17332 |
- cygwin* | mingw* | pw32*) |
|
17333 |
- # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, |
|
17334 |
- # as there is no search path for DLLs. |
|
17335 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17336 |
- allow_undefined_flag_GCJ=unsupported |
|
17337 |
- always_export_symbols_GCJ=no |
|
17338 |
- enable_shared_with_static_runtimes_GCJ=yes |
|
17339 |
- export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
17340 |
- |
|
17341 |
- if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
|
17342 |
- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
17343 |
- # If the export-symbols file already is a .def file (1st line |
|
17344 |
- # is EXPORTS), use it as is; otherwise, prepend... |
|
17345 |
- archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
|
17346 |
- cp $export_symbols $output_objdir/$soname.def; |
|
17347 |
- else |
|
17348 |
- echo EXPORTS > $output_objdir/$soname.def; |
|
17349 |
- cat $export_symbols >> $output_objdir/$soname.def; |
|
17350 |
- fi~ |
|
17351 |
- $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
|
17352 |
- else |
|
17353 |
- ld_shlibs_GCJ=no |
|
17354 |
- fi |
|
17355 |
- ;; |
|
17356 |
- |
|
17357 |
- interix[3-9]*) |
|
17358 |
- hardcode_direct_GCJ=no |
|
17359 |
- hardcode_shlibpath_var_GCJ=no |
|
17360 |
- hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
17361 |
- export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17362 |
- # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
|
17363 |
- # Instead, shared libraries are loaded at an image base (0x10000000 by |
|
17364 |
- # default) and relocated if they conflict, which is a slow very memory |
|
17365 |
- # consuming and fragmenting process. To avoid this, we pick a random, |
|
17366 |
- # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
|
17367 |
- # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
|
17368 |
- archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
|
17369 |
- 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' |
|
17370 |
- ;; |
|
17371 |
- |
|
17372 |
- gnu* | linux* | k*bsd*-gnu) |
|
17373 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17374 |
- tmp_addflag= |
|
17375 |
- case $cc_basename,$host_cpu in |
|
17376 |
- pgcc*) # Portland Group C compiler |
|
17377 |
- whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
17378 |
- tmp_addflag=' $pic_flag' |
|
17379 |
- ;; |
|
17380 |
- pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
17381 |
- whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
17382 |
- tmp_addflag=' $pic_flag -Mnomain' ;; |
|
17383 |
- ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
17384 |
- tmp_addflag=' -i_dynamic' ;; |
|
17385 |
- efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
17386 |
- tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
17387 |
- ifc* | ifort*) # Intel Fortran compiler |
|
17388 |
- tmp_addflag=' -nofor_main' ;; |
|
17389 |
- esac |
|
17390 |
- case `$CC -V 2>&1 | sed 5q` in |
|
17391 |
- *Sun\ C*) # Sun C 5.9 |
|
17392 |
- 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' |
|
17393 |
- tmp_sharedflag='-G' ;; |
|
17394 |
- *Sun\ F*) # Sun Fortran 8.3 |
|
17395 |
- tmp_sharedflag='-G' ;; |
|
17396 |
- *) |
|
17397 |
- tmp_sharedflag='-shared' ;; |
|
17398 |
- esac |
|
17399 |
- archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17400 |
- |
|
17401 |
- if test $supports_anon_versioning = yes; then |
|
17402 |
- archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
17403 |
- cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
17404 |
- $echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
17405 |
- $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
17406 |
- fi |
|
17407 |
- link_all_deplibs_GCJ=no |
|
17408 |
- else |
|
17409 |
- ld_shlibs_GCJ=no |
|
17410 |
- fi |
|
17411 |
- ;; |
|
17412 |
- |
|
17413 |
- netbsd* | netbsdelf*-gnu) |
|
17414 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
17415 |
- archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
17416 |
- wlarc= |
|
17417 |
- else |
|
17418 |
- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17419 |
- archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
17420 |
- fi |
|
17421 |
- ;; |
|
17422 |
- |
|
17423 |
- solaris*) |
|
17424 |
- if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
|
17425 |
- ld_shlibs_GCJ=no |
|
17426 |
- cat <<EOF 1>&2 |
|
17427 |
- |
|
17428 |
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
17429 |
-*** create shared libraries on Solaris systems. Therefore, libtool |
|
17430 |
-*** is disabling shared libraries support. We urge you to upgrade GNU |
|
17431 |
-*** binutils to release 2.9.1 or newer. Another option is to modify |
|
17432 |
-*** your PATH or compiler configuration so that the native linker is |
|
17433 |
-*** used, and then restart. |
|
17434 |
- |
|
17435 |
-EOF |
|
17436 |
- elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17437 |
- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17438 |
- archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
17439 |
- else |
|
17440 |
- ld_shlibs_GCJ=no |
|
17441 |
- fi |
|
17442 |
- ;; |
|
17443 |
- |
|
17444 |
- sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
17445 |
- case `$LD -v 2>&1` in |
|
17446 |
- *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
17447 |
- ld_shlibs_GCJ=no |
|
17448 |
- cat <<_LT_EOF 1>&2 |
|
17449 |
- |
|
17450 |
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
17451 |
-*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
17452 |
-*** is disabling shared libraries support. We urge you to upgrade GNU |
|
17453 |
-*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
17454 |
-*** your PATH or compiler configuration so that the native linker is |
|
17455 |
-*** used, and then restart. |
|
17456 |
- |
|
17457 |
-_LT_EOF |
|
17458 |
- ;; |
|
17459 |
- *) |
|
17460 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17461 |
- hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
17462 |
- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
17463 |
- archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
17464 |
- else |
|
17465 |
- ld_shlibs_GCJ=no |
|
17466 |
- fi |
|
17467 |
- ;; |
|
17468 |
- esac |
|
17469 |
- ;; |
|
17470 |
- |
|
17471 |
- sunos4*) |
|
17472 |
- archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
17473 |
- wlarc= |
|
17474 |
- hardcode_direct_GCJ=yes |
|
17475 |
- hardcode_shlibpath_var_GCJ=no |
|
17476 |
- ;; |
|
17477 |
- |
|
17478 |
- *) |
|
17479 |
- if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
17480 |
- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
17481 |
- archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
17482 |
- else |
|
17483 |
- ld_shlibs_GCJ=no |
|
17484 |
- fi |
|
17485 |
- ;; |
|
17486 |
- esac |
|
17487 |
- |
|
17488 |
- if test "$ld_shlibs_GCJ" = no; then |
|
17489 |
- runpath_var= |
|
17490 |
- hardcode_libdir_flag_spec_GCJ= |
|
17491 |
- export_dynamic_flag_spec_GCJ= |
|
17492 |
- whole_archive_flag_spec_GCJ= |
|
17493 |
- fi |
|
17494 |
- else |
|
17495 |
- # PORTME fill in a description of your system's linker (not GNU ld) |
|
17496 |
- case $host_os in |
|
17497 |
- aix3*) |
|
17498 |
- allow_undefined_flag_GCJ=unsupported |
|
17499 |
- always_export_symbols_GCJ=yes |
|
17500 |
- archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
17501 |
- # Note: this linker hardcodes the directories in LIBPATH if there |
|
17502 |
- # are no directories specified by -L. |
|
17503 |
- hardcode_minus_L_GCJ=yes |
|
17504 |
- if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
|
17505 |
- # Neither direct hardcoding nor static linking is supported with a |
|
17506 |
- # broken collect2. |
|
17507 |
- hardcode_direct_GCJ=unsupported |
|
17508 |
- fi |
|
17509 |
- ;; |
|
17510 |
- |
|
17511 |
- aix4* | aix5*) |
|
17512 |
- if test "$host_cpu" = ia64; then |
|
17513 |
- # On IA64, the linker does run time linking by default, so we don't |
|
17514 |
- # have to do anything special. |
|
17515 |
- aix_use_runtimelinking=no |
|
17516 |
- exp_sym_flag='-Bexport' |
|
17517 |
- no_entry_flag="" |
|
17518 |
- else |
|
17519 |
- # If we're using GNU nm, then we don't want the "-C" option. |
|
17520 |
- # -C means demangle to AIX nm, but means don't demangle with GNU nm |
|
17521 |
- if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
|
17522 |
- export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
17523 |
- else |
|
17524 |
- export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
17525 |
- fi |
|
17526 |
- aix_use_runtimelinking=no |
|
17527 |
- |
|
17528 |
- # Test if we are trying to use run time linking or normal |
|
17529 |
- # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
|
17530 |
- # need to do runtime linking. |
|
17531 |
- case $host_os in aix4.[23]|aix4.[23].*|aix5*) |
|
17532 |
- for ld_flag in $LDFLAGS; do |
|
17533 |
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
|
17534 |
- aix_use_runtimelinking=yes |
|
17535 |
- break |
|
17536 |
- fi |
|
17537 |
- done |
|
17538 |
- ;; |
|
17539 |
- esac |
|
17540 |
- |
|
17541 |
- exp_sym_flag='-bexport' |
|
17542 |
- no_entry_flag='-bnoentry' |
|
17543 |
- fi |
|
17544 |
- |
|
17545 |
- # When large executables or shared objects are built, AIX ld can |
|
17546 |
- # have problems creating the table of contents. If linking a library |
|
17547 |
- # or program results in "error TOC overflow" add -mminimal-toc to |
|
17548 |
- # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
|
17549 |
- # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
|
17550 |
- |
|
17551 |
- archive_cmds_GCJ='' |
|
17552 |
- hardcode_direct_GCJ=yes |
|
17553 |
- hardcode_libdir_separator_GCJ=':' |
|
17554 |
- link_all_deplibs_GCJ=yes |
|
17555 |
- |
|
17556 |
- if test "$GCC" = yes; then |
|
17557 |
- case $host_os in aix4.[012]|aix4.[012].*) |
|
17558 |
- # We only want to do this on AIX 4.2 and lower, the check |
|
17559 |
- # below for broken collect2 doesn't work under 4.3+ |
|
17560 |
- collect2name=`${CC} -print-prog-name=collect2` |
|
17561 |
- if test -f "$collect2name" && \ |
|
17562 |
- strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
17563 |
- then |
|
17564 |
- # We have reworked collect2 |
|
17565 |
- : |
|
17566 |
- else |
|
17567 |
- # We have old collect2 |
|
17568 |
- hardcode_direct_GCJ=unsupported |
|
17569 |
- # It fails to find uninstalled libraries when the uninstalled |
|
17570 |
- # path is not listed in the libpath. Setting hardcode_minus_L |
|
17571 |
- # to unsupported forces relinking |
|
17572 |
- hardcode_minus_L_GCJ=yes |
|
17573 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17574 |
- hardcode_libdir_separator_GCJ= |
|
17575 |
- fi |
|
17576 |
- ;; |
|
17577 |
- esac |
|
17578 |
- shared_flag='-shared' |
|
17579 |
- if test "$aix_use_runtimelinking" = yes; then |
|
17580 |
- shared_flag="$shared_flag "'${wl}-G' |
|
17581 |
- fi |
|
17582 |
- else |
|
17583 |
- # not using gcc |
|
17584 |
- if test "$host_cpu" = ia64; then |
|
17585 |
- # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
|
17586 |
- # chokes on -Wl,-G. The following line is correct: |
|
17587 |
- shared_flag='-G' |
|
17588 |
- else |
|
17589 |
- if test "$aix_use_runtimelinking" = yes; then |
|
17590 |
- shared_flag='${wl}-G' |
|
17591 |
- else |
|
17592 |
- shared_flag='${wl}-bM:SRE' |
|
17593 |
- fi |
|
17594 |
- fi |
|
17595 |
- fi |
|
17596 |
- |
|
17597 |
- # It seems that -bexpall does not export symbols beginning with |
|
17598 |
- # underscore (_), so it is better to generate a list of symbols to export. |
|
17599 |
- always_export_symbols_GCJ=yes |
|
17600 |
- if test "$aix_use_runtimelinking" = yes; then |
|
17601 |
- # Warning - without using the other runtime loading flags (-brtl), |
|
17602 |
- # -berok will link without error, but may produce a broken library. |
|
17603 |
- allow_undefined_flag_GCJ='-berok' |
|
17604 |
- # Determine the default libpath from the value encoded in an empty executable. |
|
17605 |
- cat >conftest.$ac_ext <<_ACEOF |
|
17606 |
-/* confdefs.h. */ |
|
17607 |
-_ACEOF |
|
17608 |
-cat confdefs.h >>conftest.$ac_ext |
|
17609 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
17610 |
-/* end confdefs.h. */ |
|
17611 |
- |
|
17612 |
-int |
|
17613 |
-main () |
|
17614 |
-{ |
|
17615 |
- |
|
17616 |
- ; |
|
17617 |
- return 0; |
|
17618 |
-} |
|
17619 |
-_ACEOF |
|
17620 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
|
17621 |
-if { (ac_try="$ac_link" |
|
17622 |
-case "(($ac_try" in |
|
17623 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
17624 |
- *) ac_try_echo=$ac_try;; |
|
17625 |
-esac |
|
17626 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
17627 |
- (eval "$ac_link") 2>conftest.er1 |
|
17628 |
- ac_status=$? |
|
17629 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
17630 |
- rm -f conftest.er1 |
|
17631 |
- cat conftest.err >&5 |
|
17632 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
17633 |
- (exit $ac_status); } && { |
|
17634 |
- test -z "$ac_c_werror_flag" || |
|
17635 |
- test ! -s conftest.err |
|
17636 |
- } && test -s conftest$ac_exeext && |
|
17637 |
- $as_test_x conftest$ac_exeext; then |
|
17638 |
- |
|
17639 |
-lt_aix_libpath_sed=' |
|
17640 |
- /Import File Strings/,/^$/ { |
|
17641 |
- /^0/ { |
|
17642 |
- s/^0 *\(.*\)$/\1/ |
|
17643 |
- p |
|
17644 |
- } |
|
17645 |
- }' |
|
17646 |
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
17647 |
-# Check for a 64-bit object if we didn't find anything. |
|
17648 |
-if test -z "$aix_libpath"; then |
|
17649 |
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
17650 |
-fi |
|
17651 |
-else |
|
17652 |
- echo "$as_me: failed program was:" >&5 |
|
17653 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
17654 |
- |
|
17655 |
- |
|
17656 |
-fi |
|
17657 |
- |
|
17658 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
17659 |
- conftest$ac_exeext conftest.$ac_ext |
|
17660 |
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
17661 |
- |
|
17662 |
- hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
17663 |
- archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
|
17664 |
- else |
|
17665 |
- if test "$host_cpu" = ia64; then |
|
17666 |
- hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' |
|
17667 |
- allow_undefined_flag_GCJ="-z nodefs" |
|
17668 |
- archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
|
17669 |
- else |
|
17670 |
- # Determine the default libpath from the value encoded in an empty executable. |
|
17671 |
- cat >conftest.$ac_ext <<_ACEOF |
|
17672 |
-/* confdefs.h. */ |
|
17673 |
-_ACEOF |
|
17674 |
-cat confdefs.h >>conftest.$ac_ext |
|
17675 |
-cat >>conftest.$ac_ext <<_ACEOF |
|
17676 |
-/* end confdefs.h. */ |
|
17677 |
- |
|
17678 |
-int |
|
17679 |
-main () |
|
17680 |
-{ |
|
17681 |
- |
|
17682 |
- ; |
|
17683 |
- return 0; |
|
17684 |
-} |
|
17685 |
-_ACEOF |
|
17686 |
-rm -f conftest.$ac_objext conftest$ac_exeext |
|
17687 |
-if { (ac_try="$ac_link" |
|
17688 |
-case "(($ac_try" in |
|
17689 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
17690 |
- *) ac_try_echo=$ac_try;; |
|
17691 |
-esac |
|
17692 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
17693 |
- (eval "$ac_link") 2>conftest.er1 |
|
17694 |
- ac_status=$? |
|
17695 |
- grep -v '^ *+' conftest.er1 >conftest.err |
|
17696 |
- rm -f conftest.er1 |
|
17697 |
- cat conftest.err >&5 |
|
17698 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
17699 |
- (exit $ac_status); } && { |
|
17700 |
- test -z "$ac_c_werror_flag" || |
|
17701 |
- test ! -s conftest.err |
|
17702 |
- } && test -s conftest$ac_exeext && |
|
17703 |
- $as_test_x conftest$ac_exeext; then |
|
17704 |
- |
|
17705 |
-lt_aix_libpath_sed=' |
|
17706 |
- /Import File Strings/,/^$/ { |
|
17707 |
- /^0/ { |
|
17708 |
- s/^0 *\(.*\)$/\1/ |
|
17709 |
- p |
|
17710 |
- } |
|
17711 |
- }' |
|
17712 |
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
17713 |
-# Check for a 64-bit object if we didn't find anything. |
|
17714 |
-if test -z "$aix_libpath"; then |
|
17715 |
- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
17716 |
-fi |
|
17717 |
-else |
|
17718 |
- echo "$as_me: failed program was:" >&5 |
|
17719 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
|
17720 |
- |
|
17721 |
- |
|
17722 |
-fi |
|
17723 |
- |
|
17724 |
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
17725 |
- conftest$ac_exeext conftest.$ac_ext |
|
17726 |
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
17727 |
- |
|
17728 |
- hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
17729 |
- # Warning - without using the other run time loading flags, |
|
17730 |
- # -berok will link without error, but may produce a broken library. |
|
17731 |
- no_undefined_flag_GCJ=' ${wl}-bernotok' |
|
17732 |
- allow_undefined_flag_GCJ=' ${wl}-berok' |
|
17733 |
- # Exported symbols can be pulled into shared objects from archives |
|
17734 |
- whole_archive_flag_spec_GCJ='$convenience' |
|
17735 |
- archive_cmds_need_lc_GCJ=yes |
|
17736 |
- # This is similar to how AIX traditionally builds its shared libraries. |
|
17737 |
- archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
|
17738 |
- fi |
|
17739 |
- fi |
|
17740 |
- ;; |
|
17741 |
- |
|
17742 |
- amigaos*) |
|
17743 |
- archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
17744 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17745 |
- hardcode_minus_L_GCJ=yes |
|
17746 |
- # see comment about different semantics on the GNU ld section |
|
17747 |
- ld_shlibs_GCJ=no |
|
17748 |
- ;; |
|
17749 |
- |
|
17750 |
- bsdi[45]*) |
|
17751 |
- export_dynamic_flag_spec_GCJ=-rdynamic |
|
17752 |
- ;; |
|
17753 |
- |
|
17754 |
- cygwin* | mingw* | pw32*) |
|
17755 |
- # When not using gcc, we currently assume that we are using |
|
17756 |
- # Microsoft Visual C++. |
|
17757 |
- # hardcode_libdir_flag_spec is actually meaningless, as there is |
|
17758 |
- # no search path for DLLs. |
|
17759 |
- hardcode_libdir_flag_spec_GCJ=' ' |
|
17760 |
- allow_undefined_flag_GCJ=unsupported |
|
17761 |
- # Tell ltmain to make .lib files, not .a files. |
|
17762 |
- libext=lib |
|
17763 |
- # Tell ltmain to make .dll files, not .so files. |
|
17764 |
- shrext_cmds=".dll" |
|
17765 |
- # FIXME: Setting linknames here is a bad hack. |
|
17766 |
- archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
17767 |
- # The linker will automatically build a .lib file if we build a DLL. |
|
17768 |
- old_archive_From_new_cmds_GCJ='true' |
|
17769 |
- # FIXME: Should let the user specify the lib program. |
|
17770 |
- old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' |
|
17771 |
- fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' |
|
17772 |
- enable_shared_with_static_runtimes_GCJ=yes |
|
17773 |
- ;; |
|
17774 |
- |
|
17775 |
- darwin* | rhapsody*) |
|
17776 |
- case $host_os in |
|
17777 |
- rhapsody* | darwin1.[012]) |
|
17778 |
- allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' |
|
17779 |
- ;; |
|
17780 |
- *) # Darwin 1.3 on |
|
17781 |
- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
|
17782 |
- allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
17783 |
- else |
|
17784 |
- case ${MACOSX_DEPLOYMENT_TARGET} in |
|
17785 |
- 10.[012]) |
|
17786 |
- allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
|
17787 |
- ;; |
|
17788 |
- 10.*) |
|
17789 |
- allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' |
|
17790 |
- ;; |
|
17791 |
- esac |
|
17792 |
- fi |
|
17793 |
- ;; |
|
17794 |
- esac |
|
17795 |
- archive_cmds_need_lc_GCJ=no |
|
17796 |
- hardcode_direct_GCJ=no |
|
17797 |
- hardcode_automatic_GCJ=yes |
|
17798 |
- hardcode_shlibpath_var_GCJ=unsupported |
|
17799 |
- whole_archive_flag_spec_GCJ='' |
|
17800 |
- link_all_deplibs_GCJ=yes |
|
17801 |
- if test "$GCC" = yes ; then |
|
17802 |
- output_verbose_link_cmd='echo' |
|
17803 |
- archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
|
17804 |
- module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
17805 |
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
17806 |
- archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
17807 |
- 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}' |
|
17808 |
- else |
|
17809 |
- case $cc_basename in |
|
17810 |
- xlc*) |
|
17811 |
- output_verbose_link_cmd='echo' |
|
17812 |
- archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
|
17813 |
- module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
|
17814 |
- # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
|
17815 |
- 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
17816 |
- 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}' |
|
17817 |
- ;; |
|
17818 |
- *) |
|
17819 |
- ld_shlibs_GCJ=no |
|
17820 |
- ;; |
|
17821 |
- esac |
|
17822 |
- fi |
|
17823 |
- ;; |
|
17824 |
- |
|
17825 |
- dgux*) |
|
17826 |
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
17827 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
17828 |
- hardcode_shlibpath_var_GCJ=no |
|
17829 |
- ;; |
|
17830 |
- |
|
17831 |
- freebsd1*) |
|
17832 |
- ld_shlibs_GCJ=no |
|
17833 |
- ;; |
|
17834 |
- |
|
17835 |
- # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
17836 |
- # support. Future versions do this automatically, but an explicit c++rt0.o |
|
17837 |
- # does not break anything, and helps significantly (at the cost of a little |
|
17838 |
- # extra space). |
|
17839 |
- freebsd2.2*) |
|
17840 |
- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
17841 |
- hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17842 |
- hardcode_direct_GCJ=yes |
|
17843 |
- hardcode_shlibpath_var_GCJ=no |
|
17844 |
- ;; |
|
17845 |
- |
|
17846 |
- # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
17847 |
- freebsd2*) |
|
17848 |
- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
17849 |
- hardcode_direct_GCJ=yes |
|
17850 |
- hardcode_minus_L_GCJ=yes |
|
17851 |
- hardcode_shlibpath_var_GCJ=no |
|
17852 |
- ;; |
|
17853 |
- |
|
17854 |
- # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
17855 |
- freebsd* | dragonfly*) |
|
17856 |
- archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
|
17857 |
- hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17858 |
- hardcode_direct_GCJ=yes |
|
17859 |
- hardcode_shlibpath_var_GCJ=no |
|
17860 |
- ;; |
|
17861 |
- |
|
17862 |
- hpux9*) |
|
17863 |
- if test "$GCC" = yes; then |
|
17864 |
- archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
17865 |
- else |
|
17866 |
- archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
|
17867 |
- fi |
|
17868 |
- hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
17869 |
- hardcode_libdir_separator_GCJ=: |
|
17870 |
- hardcode_direct_GCJ=yes |
|
17871 |
- |
|
17872 |
- # hardcode_minus_L: Not really in the search PATH, |
|
17873 |
- # but as the default location of the library. |
|
17874 |
- hardcode_minus_L_GCJ=yes |
|
17875 |
- export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17876 |
- ;; |
|
17877 |
- |
|
17878 |
- hpux10*) |
|
17879 |
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
17880 |
- archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
17881 |
- else |
|
17882 |
- archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
|
17883 |
- fi |
|
17884 |
- if test "$with_gnu_ld" = no; then |
|
17885 |
- hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
17886 |
- hardcode_libdir_separator_GCJ=: |
|
17887 |
- |
|
17888 |
- hardcode_direct_GCJ=yes |
|
17889 |
- export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17890 |
- |
|
17891 |
- # hardcode_minus_L: Not really in the search PATH, |
|
17892 |
- # but as the default location of the library. |
|
17893 |
- hardcode_minus_L_GCJ=yes |
|
17894 |
- fi |
|
17895 |
- ;; |
|
17896 |
- |
|
17897 |
- hpux11*) |
|
17898 |
- if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
|
17899 |
- case $host_cpu in |
|
17900 |
- hppa*64*) |
|
17901 |
- archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
17902 |
- ;; |
|
17903 |
- ia64*) |
|
17904 |
- archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
17905 |
- ;; |
|
17906 |
- *) |
|
17907 |
- archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
17908 |
- ;; |
|
17909 |
- esac |
|
17910 |
- else |
|
17911 |
- case $host_cpu in |
|
17912 |
- hppa*64*) |
|
17913 |
- archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
17914 |
- ;; |
|
17915 |
- ia64*) |
|
17916 |
- archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
17917 |
- ;; |
|
17918 |
- *) |
|
17919 |
- archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
17920 |
- ;; |
|
17921 |
- esac |
|
17922 |
- fi |
|
17923 |
- if test "$with_gnu_ld" = no; then |
|
17924 |
- hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' |
|
17925 |
- hardcode_libdir_separator_GCJ=: |
|
17926 |
- |
|
17927 |
- case $host_cpu in |
|
17928 |
- hppa*64*|ia64*) |
|
17929 |
- hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' |
|
17930 |
- hardcode_direct_GCJ=no |
|
17931 |
- hardcode_shlibpath_var_GCJ=no |
|
17932 |
- ;; |
|
17933 |
- *) |
|
17934 |
- hardcode_direct_GCJ=yes |
|
17935 |
- export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17936 |
- |
|
17937 |
- # hardcode_minus_L: Not really in the search PATH, |
|
17938 |
- # but as the default location of the library. |
|
17939 |
- hardcode_minus_L_GCJ=yes |
|
17940 |
- ;; |
|
17941 |
- esac |
|
17942 |
- fi |
|
17943 |
- ;; |
|
17944 |
- |
|
17945 |
- irix5* | irix6* | nonstopux*) |
|
17946 |
- if test "$GCC" = yes; then |
|
17947 |
- archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
17948 |
- else |
|
17949 |
- archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
17950 |
- hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' |
|
17951 |
- fi |
|
17952 |
- hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
17953 |
- hardcode_libdir_separator_GCJ=: |
|
17954 |
- link_all_deplibs_GCJ=yes |
|
17955 |
- ;; |
|
17956 |
- |
|
17957 |
- netbsd* | netbsdelf*-gnu) |
|
17958 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
17959 |
- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
17960 |
- else |
|
17961 |
- archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
17962 |
- fi |
|
17963 |
- hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17964 |
- hardcode_direct_GCJ=yes |
|
17965 |
- hardcode_shlibpath_var_GCJ=no |
|
17966 |
- ;; |
|
17967 |
- |
|
17968 |
- newsos6) |
|
17969 |
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
17970 |
- hardcode_direct_GCJ=yes |
|
17971 |
- hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
17972 |
- hardcode_libdir_separator_GCJ=: |
|
17973 |
- hardcode_shlibpath_var_GCJ=no |
|
17974 |
- ;; |
|
17975 |
- |
|
17976 |
- openbsd*) |
|
17977 |
- if test -f /usr/libexec/ld.so; then |
|
17978 |
- hardcode_direct_GCJ=yes |
|
17979 |
- hardcode_shlibpath_var_GCJ=no |
|
17980 |
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
17981 |
- archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
17982 |
- archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
|
17983 |
- hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
17984 |
- export_dynamic_flag_spec_GCJ='${wl}-E' |
|
17985 |
- else |
|
17986 |
- case $host_os in |
|
17987 |
- openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
17988 |
- archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
17989 |
- hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
17990 |
- ;; |
|
17991 |
- *) |
|
17992 |
- archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
17993 |
- hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' |
|
17994 |
- ;; |
|
17995 |
- esac |
|
17996 |
- fi |
|
17997 |
- else |
|
17998 |
- ld_shlibs_GCJ=no |
|
17999 |
- fi |
|
18000 |
- ;; |
|
18001 |
- |
|
18002 |
- os2*) |
|
18003 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
18004 |
- hardcode_minus_L_GCJ=yes |
|
18005 |
- allow_undefined_flag_GCJ=unsupported |
|
18006 |
- archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
|
18007 |
- old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
18008 |
- ;; |
|
18009 |
- |
|
18010 |
- osf3*) |
|
18011 |
- if test "$GCC" = yes; then |
|
18012 |
- allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' |
|
18013 |
- archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
18014 |
- else |
|
18015 |
- allow_undefined_flag_GCJ=' -expect_unresolved \*' |
|
18016 |
- archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
18017 |
- fi |
|
18018 |
- hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
18019 |
- hardcode_libdir_separator_GCJ=: |
|
18020 |
- ;; |
|
18021 |
- |
|
18022 |
- osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
18023 |
- if test "$GCC" = yes; then |
|
18024 |
- allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' |
|
18025 |
- archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
18026 |
- hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' |
|
18027 |
- else |
|
18028 |
- allow_undefined_flag_GCJ=' -expect_unresolved \*' |
|
18029 |
- archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
18030 |
- archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
|
18031 |
- $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
|
18032 |
- |
|
18033 |
- # Both c and cxx compiler support -rpath directly |
|
18034 |
- hardcode_libdir_flag_spec_GCJ='-rpath $libdir' |
|
18035 |
- fi |
|
18036 |
- hardcode_libdir_separator_GCJ=: |
|
18037 |
- ;; |
|
18038 |
- |
|
18039 |
- solaris*) |
|
18040 |
- no_undefined_flag_GCJ=' -z text' |
|
18041 |
- if test "$GCC" = yes; then |
|
18042 |
- wlarc='${wl}' |
|
18043 |
- archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18044 |
- archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
18045 |
- $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
|
18046 |
- else |
|
18047 |
- wlarc='' |
|
18048 |
- archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18049 |
- archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
18050 |
- $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
18051 |
- fi |
|
18052 |
- hardcode_libdir_flag_spec_GCJ='-R$libdir' |
|
18053 |
- hardcode_shlibpath_var_GCJ=no |
|
18054 |
- case $host_os in |
|
18055 |
- solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
18056 |
- *) |
|
18057 |
- # The compiler driver will combine and reorder linker options, |
|
18058 |
- # but understands `-z linker_flag'. GCC discards it without `$wl', |
|
18059 |
- # but is careful enough not to reorder. |
|
18060 |
- # Supported since Solaris 2.6 (maybe 2.5.1?) |
|
18061 |
- if test "$GCC" = yes; then |
|
18062 |
- whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
18063 |
- else |
|
18064 |
- whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' |
|
18065 |
- fi |
|
18066 |
- ;; |
|
18067 |
- esac |
|
18068 |
- link_all_deplibs_GCJ=yes |
|
18069 |
- ;; |
|
18070 |
- |
|
18071 |
- sunos4*) |
|
18072 |
- if test "x$host_vendor" = xsequent; then |
|
18073 |
- # Use $CC to link under sequent, because it throws in some extra .o |
|
18074 |
- # files that make .init and .fini sections work. |
|
18075 |
- archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18076 |
- else |
|
18077 |
- archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
18078 |
- fi |
|
18079 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
18080 |
- hardcode_direct_GCJ=yes |
|
18081 |
- hardcode_minus_L_GCJ=yes |
|
18082 |
- hardcode_shlibpath_var_GCJ=no |
|
18083 |
- ;; |
|
18084 |
- |
|
18085 |
- sysv4) |
|
18086 |
- case $host_vendor in |
|
18087 |
- sni) |
|
18088 |
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18089 |
- hardcode_direct_GCJ=yes # is this really true??? |
|
18090 |
- ;; |
|
18091 |
- siemens) |
|
18092 |
- ## LD is ld it makes a PLAMLIB |
|
18093 |
- ## CC just makes a GrossModule. |
|
18094 |
- archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
18095 |
- reload_cmds_GCJ='$CC -r -o $output$reload_objs' |
|
18096 |
- hardcode_direct_GCJ=no |
|
18097 |
- ;; |
|
18098 |
- motorola) |
|
18099 |
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18100 |
- hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie |
|
18101 |
- ;; |
|
18102 |
- esac |
|
18103 |
- runpath_var='LD_RUN_PATH' |
|
18104 |
- hardcode_shlibpath_var_GCJ=no |
|
18105 |
- ;; |
|
18106 |
- |
|
18107 |
- sysv4.3*) |
|
18108 |
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18109 |
- hardcode_shlibpath_var_GCJ=no |
|
18110 |
- export_dynamic_flag_spec_GCJ='-Bexport' |
|
18111 |
- ;; |
|
18112 |
- |
|
18113 |
- sysv4*MP*) |
|
18114 |
- if test -d /usr/nec; then |
|
18115 |
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18116 |
- hardcode_shlibpath_var_GCJ=no |
|
18117 |
- runpath_var=LD_RUN_PATH |
|
18118 |
- hardcode_runpath_var=yes |
|
18119 |
- ld_shlibs_GCJ=yes |
|
18120 |
- fi |
|
18121 |
- ;; |
|
18122 |
- |
|
18123 |
- sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
|
18124 |
- no_undefined_flag_GCJ='${wl}-z,text' |
|
18125 |
- archive_cmds_need_lc_GCJ=no |
|
18126 |
- hardcode_shlibpath_var_GCJ=no |
|
18127 |
- runpath_var='LD_RUN_PATH' |
|
18128 |
- |
|
18129 |
- if test "$GCC" = yes; then |
|
18130 |
- archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18131 |
- archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18132 |
- else |
|
18133 |
- archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18134 |
- archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18135 |
- fi |
|
18136 |
- ;; |
|
18137 |
- |
|
18138 |
- sysv5* | sco3.2v5* | sco5v6*) |
|
18139 |
- # Note: We can NOT use -z defs as we might desire, because we do not |
|
18140 |
- # link with -lc, and that would cause any symbols used from libc to |
|
18141 |
- # always be unresolved, which means just about no library would |
|
18142 |
- # ever link correctly. If we're not using GNU ld we use -z text |
|
18143 |
- # though, which does catch some bad symbols but isn't as heavy-handed |
|
18144 |
- # as -z defs. |
|
18145 |
- no_undefined_flag_GCJ='${wl}-z,text' |
|
18146 |
- allow_undefined_flag_GCJ='${wl}-z,nodefs' |
|
18147 |
- archive_cmds_need_lc_GCJ=no |
|
18148 |
- hardcode_shlibpath_var_GCJ=no |
|
18149 |
- hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
18150 |
- hardcode_libdir_separator_GCJ=':' |
|
18151 |
- link_all_deplibs_GCJ=yes |
|
18152 |
- export_dynamic_flag_spec_GCJ='${wl}-Bexport' |
|
18153 |
- runpath_var='LD_RUN_PATH' |
|
18154 |
- |
|
18155 |
- if test "$GCC" = yes; then |
|
18156 |
- archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18157 |
- archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18158 |
- else |
|
18159 |
- archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18160 |
- archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
18161 |
- fi |
|
18162 |
- ;; |
|
18163 |
- |
|
18164 |
- uts4*) |
|
18165 |
- archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
18166 |
- hardcode_libdir_flag_spec_GCJ='-L$libdir' |
|
18167 |
- hardcode_shlibpath_var_GCJ=no |
|
18168 |
- ;; |
|
18169 |
- |
|
18170 |
- *) |
|
18171 |
- ld_shlibs_GCJ=no |
|
18172 |
- ;; |
|
18173 |
- esac |
|
18174 |
- fi |
|
18175 |
- |
|
18176 |
-{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 |
|
18177 |
-echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } |
|
18178 |
-test "$ld_shlibs_GCJ" = no && can_build_shared=no |
|
18179 |
- |
|
18180 |
-# |
|
18181 |
-# Do we need to explicitly link libc? |
|
18182 |
-# |
|
18183 |
-case "x$archive_cmds_need_lc_GCJ" in |
|
18184 |
-x|xyes) |
|
18185 |
- # Assume -lc should be added |
|
18186 |
- archive_cmds_need_lc_GCJ=yes |
|
18187 |
- |
|
18188 |
- if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
18189 |
- case $archive_cmds_GCJ in |
|
18190 |
- *'~'*) |
|
18191 |
- # FIXME: we may have to deal with multi-command sequences. |
|
18192 |
- ;; |
|
18193 |
- '$CC '*) |
|
18194 |
- # Test whether the compiler implicitly links with -lc since on some |
|
18195 |
- # systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
18196 |
- # to ld, don't add -lc before -lgcc. |
|
18197 |
- { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
|
18198 |
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
|
18199 |
- $rm conftest* |
|
18200 |
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
18201 |
- |
|
18202 |
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
18203 |
- (eval $ac_compile) 2>&5 |
|
18204 |
- ac_status=$? |
|
18205 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
18206 |
- (exit $ac_status); } 2>conftest.err; then |
|
18207 |
- soname=conftest |
|
18208 |
- lib=conftest |
|
18209 |
- libobjs=conftest.$ac_objext |
|
18210 |
- deplibs= |
|
18211 |
- wl=$lt_prog_compiler_wl_GCJ |
|
18212 |
- pic_flag=$lt_prog_compiler_pic_GCJ |
|
18213 |
- compiler_flags=-v |
|
18214 |
- linker_flags=-v |
|
18215 |
- verstring= |
|
18216 |
- output_objdir=. |
|
18217 |
- libname=conftest |
|
18218 |
- lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ |
|
18219 |
- allow_undefined_flag_GCJ= |
|
18220 |
- if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
18221 |
- (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
18222 |
- ac_status=$? |
|
18223 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
18224 |
- (exit $ac_status); } |
|
18225 |
- then |
|
18226 |
- archive_cmds_need_lc_GCJ=no |
|
18227 |
- else |
|
18228 |
- archive_cmds_need_lc_GCJ=yes |
|
18229 |
- fi |
|
18230 |
- allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag |
|
18231 |
- else |
|
18232 |
- cat conftest.err 1>&5 |
|
18233 |
- fi |
|
18234 |
- $rm conftest* |
|
18235 |
- { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 |
|
18236 |
-echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } |
|
18237 |
- ;; |
|
18238 |
- esac |
|
18239 |
- fi |
|
18240 |
- ;; |
|
18241 |
-esac |
|
18242 |
- |
|
18243 |
-{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
18244 |
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
|
18245 |
-library_names_spec= |
|
18246 |
-libname_spec='lib$name' |
|
18247 |
-soname_spec= |
|
18248 |
-shrext_cmds=".so" |
|
18249 |
-postinstall_cmds= |
|
18250 |
-postuninstall_cmds= |
|
18251 |
-finish_cmds= |
|
18252 |
-finish_eval= |
|
18253 |
-shlibpath_var= |
|
18254 |
-shlibpath_overrides_runpath=unknown |
|
18255 |
-version_type=none |
|
18256 |
-dynamic_linker="$host_os ld.so" |
|
18257 |
-sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
18258 |
- |
|
18259 |
-need_lib_prefix=unknown |
|
18260 |
-hardcode_into_libs=no |
|
18261 |
- |
|
18262 |
-# when you set need_version to no, make sure it does not cause -set_version |
|
18263 |
-# flags to be left without arguments |
|
18264 |
-need_version=unknown |
|
18265 |
- |
|
18266 |
-case $host_os in |
|
18267 |
-aix3*) |
|
18268 |
- version_type=linux |
|
18269 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
|
18270 |
- shlibpath_var=LIBPATH |
|
18271 |
- |
|
18272 |
- # AIX 3 has no versioning support, so we append a major version to the name. |
|
18273 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18274 |
- ;; |
|
18275 |
- |
|
18276 |
-aix4* | aix5*) |
|
18277 |
- version_type=linux |
|
18278 |
- need_lib_prefix=no |
|
18279 |
- need_version=no |
|
18280 |
- hardcode_into_libs=yes |
|
18281 |
- if test "$host_cpu" = ia64; then |
|
18282 |
- # AIX 5 supports IA64 |
|
18283 |
- library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
|
18284 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18285 |
- else |
|
18286 |
- # With GCC up to 2.95.x, collect2 would create an import file |
|
18287 |
- # for dependence libraries. The import file would start with |
|
18288 |
- # the line `#! .'. This would cause the generated library to |
|
18289 |
- # depend on `.', always an invalid library. This was fixed in |
|
18290 |
- # development snapshots of GCC prior to 3.0. |
|
18291 |
- case $host_os in |
|
18292 |
- aix4 | aix4.[01] | aix4.[01].*) |
|
18293 |
- if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
|
18294 |
- echo ' yes ' |
|
18295 |
- echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
|
18296 |
- : |
|
18297 |
- else |
|
18298 |
- can_build_shared=no |
|
18299 |
- fi |
|
18300 |
- ;; |
|
18301 |
- esac |
|
18302 |
- # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
|
18303 |
- # soname into executable. Probably we can add versioning support to |
|
18304 |
- # collect2, so additional links can be useful in future. |
|
18305 |
- if test "$aix_use_runtimelinking" = yes; then |
|
18306 |
- # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
|
18307 |
- # instead of lib<name>.a to let people know that these are not |
|
18308 |
- # typical AIX shared libraries. |
|
18309 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18310 |
- else |
|
18311 |
- # We preserve .a as extension for shared libraries through AIX4.2 |
|
18312 |
- # and later when we are not doing run time linking. |
|
18313 |
- library_names_spec='${libname}${release}.a $libname.a' |
|
18314 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18315 |
- fi |
|
18316 |
- shlibpath_var=LIBPATH |
|
18317 |
- fi |
|
18318 |
- ;; |
|
18319 |
- |
|
18320 |
-amigaos*) |
|
18321 |
- library_names_spec='$libname.ixlibrary $libname.a' |
|
18322 |
- # Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
18323 |
- finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
|
18324 |
- ;; |
|
18325 |
- |
|
18326 |
-beos*) |
|
18327 |
- library_names_spec='${libname}${shared_ext}' |
|
18328 |
- dynamic_linker="$host_os ld.so" |
|
18329 |
- shlibpath_var=LIBRARY_PATH |
|
18330 |
- ;; |
|
18331 |
- |
|
18332 |
-bsdi[45]*) |
|
18333 |
- version_type=linux |
|
18334 |
- need_version=no |
|
18335 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18336 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18337 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
18338 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18339 |
- sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
18340 |
- sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
18341 |
- # the default ld.so.conf also contains /usr/contrib/lib and |
|
18342 |
- # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
18343 |
- # libtool to hard-code these into programs |
|
18344 |
- ;; |
|
18345 |
- |
|
18346 |
-cygwin* | mingw* | pw32*) |
|
18347 |
- version_type=windows |
|
18348 |
- shrext_cmds=".dll" |
|
18349 |
- need_version=no |
|
18350 |
- need_lib_prefix=no |
|
18351 |
- |
|
18352 |
- case $GCC,$host_os in |
|
18353 |
- yes,cygwin* | yes,mingw* | yes,pw32*) |
|
18354 |
- library_names_spec='$libname.dll.a' |
|
18355 |
- # DLL is installed to $(libdir)/../bin by postinstall_cmds |
|
18356 |
- postinstall_cmds='base_file=`basename \${file}`~ |
|
18357 |
- dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
|
18358 |
- dldir=$destdir/`dirname \$dlpath`~ |
|
18359 |
- test -d \$dldir || mkdir -p \$dldir~ |
|
18360 |
- $install_prog $dir/$dlname \$dldir/$dlname~ |
|
18361 |
- chmod a+x \$dldir/$dlname' |
|
18362 |
- postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
|
18363 |
- dlpath=$dir/\$dldll~ |
|
18364 |
- $rm \$dlpath' |
|
18365 |
- shlibpath_overrides_runpath=yes |
|
18366 |
- |
|
18367 |
- case $host_os in |
|
18368 |
- cygwin*) |
|
18369 |
- # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
|
18370 |
- soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
18371 |
- sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
18372 |
- ;; |
|
18373 |
- mingw*) |
|
18374 |
- # MinGW DLLs use traditional 'lib' prefix |
|
18375 |
- soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
18376 |
- sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
18377 |
- if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
|
18378 |
- # It is most probably a Windows format PATH printed by |
|
18379 |
- # mingw gcc, but we are running on Cygwin. Gcc prints its search |
|
18380 |
- # path with ; separators, and with drive letters. We can handle the |
|
18381 |
- # drive letters (cygwin fileutils understands them), so leave them, |
|
18382 |
- # especially as we might pass files found there to a mingw objdump, |
|
18383 |
- # which wouldn't understand a cygwinified path. Ahh. |
|
18384 |
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
|
18385 |
- else |
|
18386 |
- sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
|
18387 |
- fi |
|
18388 |
- ;; |
|
18389 |
- pw32*) |
|
18390 |
- # pw32 DLLs use 'pw' prefix rather than 'lib' |
|
18391 |
- library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
|
18392 |
- ;; |
|
18393 |
- esac |
|
18394 |
- ;; |
|
18395 |
- |
|
18396 |
- *) |
|
18397 |
- library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
|
18398 |
- ;; |
|
18399 |
- esac |
|
18400 |
- dynamic_linker='Win32 ld.exe' |
|
18401 |
- # FIXME: first we should search . and the directory the executable is in |
|
18402 |
- shlibpath_var=PATH |
|
18403 |
- ;; |
|
18404 |
- |
|
18405 |
-darwin* | rhapsody*) |
|
18406 |
- dynamic_linker="$host_os dyld" |
|
18407 |
- version_type=darwin |
|
18408 |
- need_lib_prefix=no |
|
18409 |
- need_version=no |
|
18410 |
- library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
|
18411 |
- soname_spec='${libname}${release}${major}$shared_ext' |
|
18412 |
- shlibpath_overrides_runpath=yes |
|
18413 |
- shlibpath_var=DYLD_LIBRARY_PATH |
|
18414 |
- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
|
18415 |
- |
|
18416 |
- sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
|
18417 |
- ;; |
|
18418 |
- |
|
18419 |
-dgux*) |
|
18420 |
- version_type=linux |
|
18421 |
- need_lib_prefix=no |
|
18422 |
- need_version=no |
|
18423 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
|
18424 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18425 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18426 |
- ;; |
|
18427 |
- |
|
18428 |
-freebsd1*) |
|
18429 |
- dynamic_linker=no |
|
18430 |
- ;; |
|
18431 |
- |
|
18432 |
-freebsd* | dragonfly*) |
|
18433 |
- # DragonFly does not have aout. When/if they implement a new |
|
18434 |
- # versioning mechanism, adjust this. |
|
18435 |
- if test -x /usr/bin/objformat; then |
|
18436 |
- objformat=`/usr/bin/objformat` |
|
18437 |
- else |
|
18438 |
- case $host_os in |
|
18439 |
- freebsd[123]*) objformat=aout ;; |
|
18440 |
- *) objformat=elf ;; |
|
18441 |
- esac |
|
18442 |
- fi |
|
18443 |
- version_type=freebsd-$objformat |
|
18444 |
- case $version_type in |
|
18445 |
- freebsd-elf*) |
|
18446 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
18447 |
- need_version=no |
|
18448 |
- need_lib_prefix=no |
|
18449 |
- ;; |
|
18450 |
- freebsd-*) |
|
18451 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
|
18452 |
- need_version=yes |
|
18453 |
- ;; |
|
18454 |
- esac |
|
18455 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18456 |
- case $host_os in |
|
18457 |
- freebsd2*) |
|
18458 |
- shlibpath_overrides_runpath=yes |
|
18459 |
- ;; |
|
18460 |
- freebsd3.[01]* | freebsdelf3.[01]*) |
|
18461 |
- shlibpath_overrides_runpath=yes |
|
18462 |
- hardcode_into_libs=yes |
|
18463 |
- ;; |
|
18464 |
- freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
18465 |
- freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
|
18466 |
- shlibpath_overrides_runpath=no |
|
18467 |
- hardcode_into_libs=yes |
|
18468 |
- ;; |
|
18469 |
- *) # from 4.6 on, and DragonFly |
|
18470 |
- shlibpath_overrides_runpath=yes |
|
18471 |
- hardcode_into_libs=yes |
|
18472 |
- ;; |
|
18473 |
- esac |
|
18474 |
- ;; |
|
18475 |
- |
|
18476 |
-gnu*) |
|
18477 |
- version_type=linux |
|
18478 |
- need_lib_prefix=no |
|
18479 |
- need_version=no |
|
18480 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
18481 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18482 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18483 |
- hardcode_into_libs=yes |
|
18484 |
- ;; |
|
18485 |
- |
|
18486 |
-hpux9* | hpux10* | hpux11*) |
|
18487 |
- # Give a soname corresponding to the major version so that dld.sl refuses to |
|
18488 |
- # link against other versions. |
|
18489 |
- version_type=sunos |
|
18490 |
- need_lib_prefix=no |
|
18491 |
- need_version=no |
|
18492 |
- case $host_cpu in |
|
18493 |
- ia64*) |
|
18494 |
- shrext_cmds='.so' |
|
18495 |
- hardcode_into_libs=yes |
|
18496 |
- dynamic_linker="$host_os dld.so" |
|
18497 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18498 |
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
18499 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18500 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18501 |
- if test "X$HPUX_IA64_MODE" = X32; then |
|
18502 |
- sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
|
18503 |
- else |
|
18504 |
- sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
|
18505 |
- fi |
|
18506 |
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
18507 |
- ;; |
|
18508 |
- hppa*64*) |
|
18509 |
- shrext_cmds='.sl' |
|
18510 |
- hardcode_into_libs=yes |
|
18511 |
- dynamic_linker="$host_os dld.sl" |
|
18512 |
- shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
|
18513 |
- shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
|
18514 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18515 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18516 |
- sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
|
18517 |
- sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
|
18518 |
- ;; |
|
18519 |
- *) |
|
18520 |
- shrext_cmds='.sl' |
|
18521 |
- dynamic_linker="$host_os dld.sl" |
|
18522 |
- shlibpath_var=SHLIB_PATH |
|
18523 |
- shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
18524 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18525 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18526 |
- ;; |
|
18527 |
- esac |
|
18528 |
- # HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
18529 |
- postinstall_cmds='chmod 555 $lib' |
|
18530 |
- ;; |
|
18531 |
- |
|
18532 |
-interix[3-9]*) |
|
18533 |
- version_type=linux |
|
18534 |
- need_lib_prefix=no |
|
18535 |
- need_version=no |
|
18536 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
18537 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18538 |
- dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
18539 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18540 |
- shlibpath_overrides_runpath=no |
|
18541 |
- hardcode_into_libs=yes |
|
18542 |
- ;; |
|
18543 |
- |
|
18544 |
-irix5* | irix6* | nonstopux*) |
|
18545 |
- case $host_os in |
|
18546 |
- nonstopux*) version_type=nonstopux ;; |
|
18547 |
- *) |
|
18548 |
- if test "$lt_cv_prog_gnu_ld" = yes; then |
|
18549 |
- version_type=linux |
|
18550 |
- else |
|
18551 |
- version_type=irix |
|
18552 |
- fi ;; |
|
18553 |
- esac |
|
18554 |
- need_lib_prefix=no |
|
18555 |
- need_version=no |
|
18556 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18557 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
18558 |
- case $host_os in |
|
18559 |
- irix5* | nonstopux*) |
|
18560 |
- libsuff= shlibsuff= |
|
18561 |
- ;; |
|
18562 |
- *) |
|
18563 |
- case $LD in # libtool.m4 will add one of these switches to LD |
|
18564 |
- *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
|
18565 |
- libsuff= shlibsuff= libmagic=32-bit;; |
|
18566 |
- *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
|
18567 |
- libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
18568 |
- *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
|
18569 |
- libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
18570 |
- *) libsuff= shlibsuff= libmagic=never-match;; |
|
18571 |
- esac |
|
18572 |
- ;; |
|
18573 |
- esac |
|
18574 |
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
18575 |
- shlibpath_overrides_runpath=no |
|
18576 |
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
18577 |
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
18578 |
- hardcode_into_libs=yes |
|
18579 |
- ;; |
|
18580 |
- |
|
18581 |
-# No shared lib support for Linux oldld, aout, or coff. |
|
18582 |
-linux*oldld* | linux*aout* | linux*coff*) |
|
18583 |
- dynamic_linker=no |
|
18584 |
- ;; |
|
18585 |
- |
|
18586 |
-# This must be Linux ELF. |
|
18587 |
-linux* | k*bsd*-gnu) |
|
18588 |
- version_type=linux |
|
18589 |
- need_lib_prefix=no |
|
18590 |
- need_version=no |
|
18591 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18592 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18593 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
18594 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18595 |
- shlibpath_overrides_runpath=no |
|
18596 |
- # This implies no fast_install, which is unacceptable. |
|
18597 |
- # Some rework will be needed to allow for fast_install |
|
18598 |
- # before this can be enabled. |
|
18599 |
- hardcode_into_libs=yes |
|
18600 |
- |
|
18601 |
- # Append ld.so.conf contents to the search path |
|
18602 |
- if test -f /etc/ld.so.conf; then |
|
18603 |
- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
|
18604 |
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
|
18605 |
- fi |
|
18606 |
- |
|
18607 |
- # We used to test for /lib/ld.so.1 and disable shared libraries on |
|
18608 |
- # powerpc, because MkLinux only supported shared libraries with the |
|
18609 |
- # GNU dynamic linker. Since this was broken with cross compilers, |
|
18610 |
- # most powerpc-linux boxes support dynamic linking these days and |
|
18611 |
- # people can always --disable-shared, the test was removed, and we |
|
18612 |
- # assume the GNU/Linux dynamic linker is in use. |
|
18613 |
- dynamic_linker='GNU/Linux ld.so' |
|
18614 |
- ;; |
|
18615 |
- |
|
18616 |
-netbsdelf*-gnu) |
|
18617 |
- version_type=linux |
|
18618 |
- need_lib_prefix=no |
|
18619 |
- need_version=no |
|
18620 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
18621 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18622 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18623 |
- shlibpath_overrides_runpath=no |
|
18624 |
- hardcode_into_libs=yes |
|
18625 |
- dynamic_linker='NetBSD ld.elf_so' |
|
18626 |
- ;; |
|
18627 |
- |
|
18628 |
-netbsd*) |
|
18629 |
- version_type=sunos |
|
18630 |
- need_lib_prefix=no |
|
18631 |
- need_version=no |
|
18632 |
- if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
18633 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
18634 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
18635 |
- dynamic_linker='NetBSD (a.out) ld.so' |
|
18636 |
- else |
|
18637 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
18638 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18639 |
- dynamic_linker='NetBSD ld.elf_so' |
|
18640 |
- fi |
|
18641 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18642 |
- shlibpath_overrides_runpath=yes |
|
18643 |
- hardcode_into_libs=yes |
|
18644 |
- ;; |
|
18645 |
- |
|
18646 |
-newsos6) |
|
18647 |
- version_type=linux |
|
18648 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18649 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18650 |
- shlibpath_overrides_runpath=yes |
|
18651 |
- ;; |
|
18652 |
- |
|
18653 |
-nto-qnx*) |
|
18654 |
- version_type=linux |
|
18655 |
- need_lib_prefix=no |
|
18656 |
- need_version=no |
|
18657 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18658 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18659 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18660 |
- shlibpath_overrides_runpath=yes |
|
18661 |
- ;; |
|
18662 |
- |
|
18663 |
-openbsd*) |
|
18664 |
- version_type=sunos |
|
18665 |
- sys_lib_dlsearch_path_spec="/usr/lib" |
|
18666 |
- need_lib_prefix=no |
|
18667 |
- # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
|
18668 |
- case $host_os in |
|
18669 |
- openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
|
18670 |
- *) need_version=no ;; |
|
18671 |
- esac |
|
18672 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
18673 |
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
18674 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18675 |
- if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
|
18676 |
- case $host_os in |
|
18677 |
- openbsd2.[89] | openbsd2.[89].*) |
|
18678 |
- shlibpath_overrides_runpath=no |
|
18679 |
- ;; |
|
18680 |
- *) |
|
18681 |
- shlibpath_overrides_runpath=yes |
|
18682 |
- ;; |
|
18683 |
- esac |
|
18684 |
- else |
|
18685 |
- shlibpath_overrides_runpath=yes |
|
18686 |
- fi |
|
18687 |
- ;; |
|
18688 |
- |
|
18689 |
-os2*) |
|
18690 |
- libname_spec='$name' |
|
18691 |
- shrext_cmds=".dll" |
|
18692 |
- need_lib_prefix=no |
|
18693 |
- library_names_spec='$libname${shared_ext} $libname.a' |
|
18694 |
- dynamic_linker='OS/2 ld.exe' |
|
18695 |
- shlibpath_var=LIBPATH |
|
18696 |
- ;; |
|
18697 |
- |
|
18698 |
-osf3* | osf4* | osf5*) |
|
18699 |
- version_type=osf |
|
18700 |
- need_lib_prefix=no |
|
18701 |
- need_version=no |
|
18702 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18703 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18704 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18705 |
- sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
18706 |
- sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
18707 |
- ;; |
|
18708 |
- |
|
18709 |
-rdos*) |
|
18710 |
- dynamic_linker=no |
|
18711 |
- ;; |
|
18712 |
- |
|
18713 |
-solaris*) |
|
18714 |
- version_type=linux |
|
18715 |
- need_lib_prefix=no |
|
18716 |
- need_version=no |
|
18717 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18718 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18719 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18720 |
- shlibpath_overrides_runpath=yes |
|
18721 |
- hardcode_into_libs=yes |
|
18722 |
- # ldd complains unless libraries are executable |
|
18723 |
- postinstall_cmds='chmod +x $lib' |
|
18724 |
- ;; |
|
18725 |
- |
|
18726 |
-sunos4*) |
|
18727 |
- version_type=sunos |
|
18728 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
|
18729 |
- finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
18730 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18731 |
- shlibpath_overrides_runpath=yes |
|
18732 |
- if test "$with_gnu_ld" = yes; then |
|
18733 |
- need_lib_prefix=no |
|
18734 |
- fi |
|
18735 |
- need_version=yes |
|
18736 |
- ;; |
|
18737 |
- |
|
18738 |
-sysv4 | sysv4.3*) |
|
18739 |
- version_type=linux |
|
18740 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18741 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18742 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18743 |
- case $host_vendor in |
|
18744 |
- sni) |
|
18745 |
- shlibpath_overrides_runpath=no |
|
18746 |
- need_lib_prefix=no |
|
18747 |
- export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
18748 |
- runpath_var=LD_RUN_PATH |
|
18749 |
- ;; |
|
18750 |
- siemens) |
|
18751 |
- need_lib_prefix=no |
|
18752 |
- ;; |
|
18753 |
- motorola) |
|
18754 |
- need_lib_prefix=no |
|
18755 |
- need_version=no |
|
18756 |
- shlibpath_overrides_runpath=no |
|
18757 |
- sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
18758 |
- ;; |
|
18759 |
- esac |
|
18760 |
- ;; |
|
18761 |
- |
|
18762 |
-sysv4*MP*) |
|
18763 |
- if test -d /usr/nec ;then |
|
18764 |
- version_type=linux |
|
18765 |
- library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
|
18766 |
- soname_spec='$libname${shared_ext}.$major' |
|
18767 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18768 |
- fi |
|
18769 |
- ;; |
|
18770 |
- |
|
18771 |
-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
|
18772 |
- version_type=freebsd-elf |
|
18773 |
- need_lib_prefix=no |
|
18774 |
- need_version=no |
|
18775 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
18776 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18777 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18778 |
- hardcode_into_libs=yes |
|
18779 |
- if test "$with_gnu_ld" = yes; then |
|
18780 |
- sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
18781 |
- shlibpath_overrides_runpath=no |
|
18782 |
- else |
|
18783 |
- sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
18784 |
- shlibpath_overrides_runpath=yes |
|
18785 |
- case $host_os in |
|
18786 |
- sco3.2v5*) |
|
18787 |
- sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
18788 |
- ;; |
|
18789 |
- esac |
|
18790 |
- fi |
|
18791 |
- sys_lib_dlsearch_path_spec='/usr/lib' |
|
18792 |
- ;; |
|
18793 |
- |
|
18794 |
-uts4*) |
|
18795 |
- version_type=linux |
|
18796 |
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
18797 |
- soname_spec='${libname}${release}${shared_ext}$major' |
|
18798 |
- shlibpath_var=LD_LIBRARY_PATH |
|
18799 |
- ;; |
|
18800 |
- |
|
18801 |
-*) |
|
18802 |
- dynamic_linker=no |
|
18803 |
- ;; |
|
18804 |
-esac |
|
18805 |
-{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
|
18806 |
-echo "${ECHO_T}$dynamic_linker" >&6; } |
|
18807 |
-test "$dynamic_linker" = no && can_build_shared=no |
|
18808 |
- |
|
18809 |
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
18810 |
-if test "$GCC" = yes; then |
|
18811 |
- variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
18812 |
-fi |
|
18813 |
- |
|
18814 |
-{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
18815 |
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
|
18816 |
-hardcode_action_GCJ= |
|
18817 |
-if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
|
18818 |
- test -n "$runpath_var_GCJ" || \ |
|
18819 |
- test "X$hardcode_automatic_GCJ" = "Xyes" ; then |
|
18820 |
- |
|
18821 |
- # We can hardcode non-existant directories. |
|
18822 |
- if test "$hardcode_direct_GCJ" != no && |
|
18823 |
- # If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
18824 |
- # have to relink, otherwise we might link with an installed library |
|
18825 |
- # when we should be linking with a yet-to-be-installed one |
|
18826 |
- ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && |
|
18827 |
- test "$hardcode_minus_L_GCJ" != no; then |
|
18828 |
- # Linking always hardcodes the temporary library directory. |
|
18829 |
- hardcode_action_GCJ=relink |
|
18830 |
- else |
|
18831 |
- # We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
18832 |
- hardcode_action_GCJ=immediate |
|
18833 |
- fi |
|
18834 |
-else |
|
18835 |
- # We cannot hardcode anything, or else we can only hardcode existing |
|
18836 |
- # directories. |
|
18837 |
- hardcode_action_GCJ=unsupported |
|
18838 |
-fi |
|
18839 |
-{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
|
18840 |
-echo "${ECHO_T}$hardcode_action_GCJ" >&6; } |
|
18841 |
- |
|
18842 |
-if test "$hardcode_action_GCJ" = relink; then |
|
18843 |
- # Fast installation is not supported |
|
18844 |
- enable_fast_install=no |
|
18845 |
-elif test "$shlibpath_overrides_runpath" = yes || |
|
18846 |
- test "$enable_shared" = no; then |
|
18847 |
- # Fast installation is not necessary |
|
18848 |
- enable_fast_install=needless |
|
18849 |
-fi |
|
18850 |
- |
|
18851 |
- |
|
18852 |
-# The else clause should only fire when bootstrapping the |
|
18853 |
-# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
18854 |
-# with your package, and you will get complaints that there are |
|
18855 |
-# no rules to generate ltmain.sh. |
|
18856 |
-if test -f "$ltmain"; then |
|
18857 |
- # See if we are running on zsh, and set the options which allow our commands through |
|
18858 |
- # without removal of \ escapes. |
|
18859 |
- if test -n "${ZSH_VERSION+set}" ; then |
|
18860 |
- setopt NO_GLOB_SUBST |
|
18861 |
- fi |
|
18862 |
- # Now quote all the things that may contain metacharacters while being |
|
18863 |
- # careful not to overquote the AC_SUBSTed values. We take copies of the |
|
18864 |
- # variables and quote the copies for generation of the libtool script. |
|
18865 |
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
|
18866 |
- SED SHELL STRIP \ |
|
18867 |
- libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
18868 |
- old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
18869 |
- deplibs_check_method reload_flag reload_cmds need_locks \ |
|
18870 |
- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
18871 |
- lt_cv_sys_global_symbol_to_c_name_address \ |
|
18872 |
- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
18873 |
- old_postinstall_cmds old_postuninstall_cmds \ |
|
18874 |
- compiler_GCJ \ |
|
18875 |
- CC_GCJ \ |
|
18876 |
- LD_GCJ \ |
|
18877 |
- lt_prog_compiler_wl_GCJ \ |
|
18878 |
- lt_prog_compiler_pic_GCJ \ |
|
18879 |
- lt_prog_compiler_static_GCJ \ |
|
18880 |
- lt_prog_compiler_no_builtin_flag_GCJ \ |
|
18881 |
- export_dynamic_flag_spec_GCJ \ |
|
18882 |
- thread_safe_flag_spec_GCJ \ |
|
18883 |
- whole_archive_flag_spec_GCJ \ |
|
18884 |
- enable_shared_with_static_runtimes_GCJ \ |
|
18885 |
- old_archive_cmds_GCJ \ |
|
18886 |
- old_archive_from_new_cmds_GCJ \ |
|
18887 |
- predep_objects_GCJ \ |
|
18888 |
- postdep_objects_GCJ \ |
|
18889 |
- predeps_GCJ \ |
|
18890 |
- postdeps_GCJ \ |
|
18891 |
- compiler_lib_search_path_GCJ \ |
|
18892 |
- archive_cmds_GCJ \ |
|
18893 |
- archive_expsym_cmds_GCJ \ |
|
18894 |
- postinstall_cmds_GCJ \ |
|
18895 |
- postuninstall_cmds_GCJ \ |
|
18896 |
- old_archive_from_expsyms_cmds_GCJ \ |
|
18897 |
- allow_undefined_flag_GCJ \ |
|
18898 |
- no_undefined_flag_GCJ \ |
|
18899 |
- export_symbols_cmds_GCJ \ |
|
18900 |
- hardcode_libdir_flag_spec_GCJ \ |
|
18901 |
- hardcode_libdir_flag_spec_ld_GCJ \ |
|
18902 |
- hardcode_libdir_separator_GCJ \ |
|
18903 |
- hardcode_automatic_GCJ \ |
|
18904 |
- module_cmds_GCJ \ |
|
18905 |
- module_expsym_cmds_GCJ \ |
|
18906 |
- lt_cv_prog_compiler_c_o_GCJ \ |
|
18907 |
- fix_srcfile_path_GCJ \ |
|
18908 |
- exclude_expsyms_GCJ \ |
|
18909 |
- include_expsyms_GCJ; do |
|
18910 |
- |
|
18911 |
- case $var in |
|
18912 |
- old_archive_cmds_GCJ | \ |
|
18913 |
- old_archive_from_new_cmds_GCJ | \ |
|
18914 |
- archive_cmds_GCJ | \ |
|
18915 |
- archive_expsym_cmds_GCJ | \ |
|
18916 |
- module_cmds_GCJ | \ |
|
18917 |
- module_expsym_cmds_GCJ | \ |
|
18918 |
- old_archive_from_expsyms_cmds_GCJ | \ |
|
18919 |
- export_symbols_cmds_GCJ | \ |
|
18920 |
- extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
18921 |
- postinstall_cmds | postuninstall_cmds | \ |
|
18922 |
- old_postinstall_cmds | old_postuninstall_cmds | \ |
|
18923 |
- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
18924 |
- # Double-quote double-evaled strings. |
|
18925 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
18926 |
- ;; |
|
18927 |
- *) |
|
18928 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
18929 |
- ;; |
|
18930 |
- esac |
|
18931 |
- done |
|
18932 |
- |
|
18933 |
- case $lt_echo in |
|
18934 |
- *'\$0 --fallback-echo"') |
|
18935 |
- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
18936 |
- ;; |
|
18937 |
- esac |
|
18938 |
- |
|
18939 |
-cfgfile="$ofile" |
|
18940 |
- |
|
18941 |
- cat <<__EOF__ >> "$cfgfile" |
|
18942 |
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
18943 |
- |
|
18944 |
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
18945 |
- |
|
18946 |
-# Shell to use when invoking shell scripts. |
|
18947 |
-SHELL=$lt_SHELL |
|
18948 |
- |
|
18949 |
-# Whether or not to build shared libraries. |
|
18950 |
-build_libtool_libs=$enable_shared |
|
18951 |
- |
|
18952 |
-# Whether or not to build static libraries. |
|
18953 |
-build_old_libs=$enable_static |
|
18954 |
- |
|
18955 |
-# Whether or not to add -lc for building shared libraries. |
|
18956 |
-build_libtool_need_lc=$archive_cmds_need_lc_GCJ |
|
18957 |
- |
|
18958 |
-# Whether or not to disallow shared libs when runtime libs are static |
|
18959 |
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ |
|
18960 |
- |
|
18961 |
-# Whether or not to optimize for fast installation. |
|
18962 |
-fast_install=$enable_fast_install |
|
18963 |
- |
|
18964 |
-# The host system. |
|
18965 |
-host_alias=$host_alias |
|
18966 |
-host=$host |
|
18967 |
-host_os=$host_os |
|
18968 |
- |
|
18969 |
-# The build system. |
|
18970 |
-build_alias=$build_alias |
|
18971 |
-build=$build |
|
18972 |
-build_os=$build_os |
|
18973 |
- |
|
18974 |
-# An echo program that does not interpret backslashes. |
|
18975 |
-echo=$lt_echo |
|
18976 |
- |
|
18977 |
-# The archiver. |
|
18978 |
-AR=$lt_AR |
|
18979 |
-AR_FLAGS=$lt_AR_FLAGS |
|
18980 |
- |
|
18981 |
-# A C compiler. |
|
18982 |
-LTCC=$lt_LTCC |
|
18983 |
- |
|
18984 |
-# LTCC compiler flags. |
|
18985 |
-LTCFLAGS=$lt_LTCFLAGS |
|
18986 |
- |
|
18987 |
-# A language-specific compiler. |
|
18988 |
-CC=$lt_compiler_GCJ |
|
18989 |
- |
|
18990 |
-# Is the compiler the GNU C compiler? |
|
18991 |
-with_gcc=$GCC_GCJ |
|
18992 |
- |
|
18993 |
-# An ERE matcher. |
|
18994 |
-EGREP=$lt_EGREP |
|
18995 |
- |
|
18996 |
-# The linker used to build libraries. |
|
18997 |
-LD=$lt_LD_GCJ |
|
18998 |
- |
|
18999 |
-# Whether we need hard or soft links. |
|
19000 |
-LN_S=$lt_LN_S |
|
19001 |
- |
|
19002 |
-# A BSD-compatible nm program. |
|
19003 |
-NM=$lt_NM |
|
19004 |
- |
|
19005 |
-# A symbol stripping program |
|
19006 |
-STRIP=$lt_STRIP |
|
19007 |
- |
|
19008 |
-# Used to examine libraries when file_magic_cmd begins "file" |
|
19009 |
-MAGIC_CMD=$MAGIC_CMD |
|
19010 |
- |
|
19011 |
-# Used on cygwin: DLL creation program. |
|
19012 |
-DLLTOOL="$DLLTOOL" |
|
19013 |
- |
|
19014 |
-# Used on cygwin: object dumper. |
|
19015 |
-OBJDUMP="$OBJDUMP" |
|
19016 |
- |
|
19017 |
-# Used on cygwin: assembler. |
|
19018 |
-AS="$AS" |
|
19019 |
- |
|
19020 |
-# The name of the directory that contains temporary libtool files. |
|
19021 |
-objdir=$objdir |
|
19022 |
- |
|
19023 |
-# How to create reloadable object files. |
|
19024 |
-reload_flag=$lt_reload_flag |
|
19025 |
-reload_cmds=$lt_reload_cmds |
|
19026 |
- |
|
19027 |
-# How to pass a linker flag through the compiler. |
|
19028 |
-wl=$lt_lt_prog_compiler_wl_GCJ |
|
19029 |
- |
|
19030 |
-# Object file suffix (normally "o"). |
|
19031 |
-objext="$ac_objext" |
|
19032 |
- |
|
19033 |
-# Old archive suffix (normally "a"). |
|
19034 |
-libext="$libext" |
|
19035 |
- |
|
19036 |
-# Shared library suffix (normally ".so"). |
|
19037 |
-shrext_cmds='$shrext_cmds' |
|
19038 |
- |
|
19039 |
-# Executable file suffix (normally ""). |
|
19040 |
-exeext="$exeext" |
|
19041 |
- |
|
19042 |
-# Additional compiler flags for building library objects. |
|
19043 |
-pic_flag=$lt_lt_prog_compiler_pic_GCJ |
|
19044 |
-pic_mode=$pic_mode |
|
19045 |
- |
|
19046 |
-# What is the maximum length of a command? |
|
19047 |
-max_cmd_len=$lt_cv_sys_max_cmd_len |
|
19048 |
- |
|
19049 |
-# Does compiler simultaneously support -c and -o options? |
|
19050 |
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ |
|
19051 |
- |
|
19052 |
-# Must we lock files when doing compilation? |
|
19053 |
-need_locks=$lt_need_locks |
|
19054 |
- |
|
19055 |
-# Do we need the lib prefix for modules? |
|
19056 |
-need_lib_prefix=$need_lib_prefix |
|
19057 |
- |
|
19058 |
-# Do we need a version for libraries? |
|
19059 |
-need_version=$need_version |
|
19060 |
- |
|
19061 |
-# Whether dlopen is supported. |
|
19062 |
-dlopen_support=$enable_dlopen |
|
19063 |
- |
|
19064 |
-# Whether dlopen of programs is supported. |
|
19065 |
-dlopen_self=$enable_dlopen_self |
|
19066 |
- |
|
19067 |
-# Whether dlopen of statically linked programs is supported. |
|
19068 |
-dlopen_self_static=$enable_dlopen_self_static |
|
19069 |
- |
|
19070 |
-# Compiler flag to prevent dynamic linking. |
|
19071 |
-link_static_flag=$lt_lt_prog_compiler_static_GCJ |
|
19072 |
- |
|
19073 |
-# Compiler flag to turn off builtin functions. |
|
19074 |
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ |
|
19075 |
- |
|
19076 |
-# Compiler flag to allow reflexive dlopens. |
|
19077 |
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ |
|
19078 |
- |
|
19079 |
-# Compiler flag to generate shared objects directly from archives. |
|
19080 |
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ |
|
19081 |
- |
|
19082 |
-# Compiler flag to generate thread-safe objects. |
|
19083 |
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ |
|
19084 |
- |
|
19085 |
-# Library versioning type. |
|
19086 |
-version_type=$version_type |
|
19087 |
- |
|
19088 |
-# Format of library name prefix. |
|
19089 |
-libname_spec=$lt_libname_spec |
|
19090 |
- |
|
19091 |
-# List of archive names. First name is the real one, the rest are links. |
|
19092 |
-# The last name is the one that the linker finds with -lNAME. |
|
19093 |
-library_names_spec=$lt_library_names_spec |
|
19094 |
- |
|
19095 |
-# The coded name of the library, if different from the real name. |
|
19096 |
-soname_spec=$lt_soname_spec |
|
19097 |
- |
|
19098 |
-# Commands used to build and install an old-style archive. |
|
19099 |
-RANLIB=$lt_RANLIB |
|
19100 |
-old_archive_cmds=$lt_old_archive_cmds_GCJ |
|
19101 |
-old_postinstall_cmds=$lt_old_postinstall_cmds |
|
19102 |
-old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
19103 |
- |
|
19104 |
-# Create an old-style archive from a shared archive. |
|
19105 |
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ |
|
19106 |
- |
|
19107 |
-# Create a temporary old-style archive to link instead of a shared archive. |
|
19108 |
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ |
|
19109 |
- |
|
19110 |
-# Commands used to build and install a shared archive. |
|
19111 |
-archive_cmds=$lt_archive_cmds_GCJ |
|
19112 |
-archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ |
|
19113 |
-postinstall_cmds=$lt_postinstall_cmds |
|
19114 |
-postuninstall_cmds=$lt_postuninstall_cmds |
|
19115 |
- |
|
19116 |
-# Commands used to build a loadable module (assumed same as above if empty) |
|
19117 |
-module_cmds=$lt_module_cmds_GCJ |
|
19118 |
-module_expsym_cmds=$lt_module_expsym_cmds_GCJ |
|
19119 |
- |
|
19120 |
-# Commands to strip libraries. |
|
19121 |
-old_striplib=$lt_old_striplib |
|
19122 |
-striplib=$lt_striplib |
|
19123 |
- |
|
19124 |
-# Dependencies to place before the objects being linked to create a |
|
19125 |
-# shared library. |
|
19126 |
-predep_objects=$lt_predep_objects_GCJ |
|
19127 |
- |
|
19128 |
-# Dependencies to place after the objects being linked to create a |
|
19129 |
-# shared library. |
|
19130 |
-postdep_objects=$lt_postdep_objects_GCJ |
|
19131 |
- |
|
19132 |
-# Dependencies to place before the objects being linked to create a |
|
19133 |
-# shared library. |
|
19134 |
-predeps=$lt_predeps_GCJ |
|
19135 |
- |
|
19136 |
-# Dependencies to place after the objects being linked to create a |
|
19137 |
-# shared library. |
|
19138 |
-postdeps=$lt_postdeps_GCJ |
|
19139 |
- |
|
19140 |
-# The library search path used internally by the compiler when linking |
|
19141 |
-# a shared library. |
|
19142 |
-compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ |
|
19143 |
- |
|
19144 |
-# Method to check whether dependent libraries are shared objects. |
|
19145 |
-deplibs_check_method=$lt_deplibs_check_method |
|
19146 |
- |
|
19147 |
-# Command to use when deplibs_check_method == file_magic. |
|
19148 |
-file_magic_cmd=$lt_file_magic_cmd |
|
19149 |
- |
|
19150 |
-# Flag that allows shared libraries with undefined symbols to be built. |
|
19151 |
-allow_undefined_flag=$lt_allow_undefined_flag_GCJ |
|
19152 |
- |
|
19153 |
-# Flag that forces no undefined symbols. |
|
19154 |
-no_undefined_flag=$lt_no_undefined_flag_GCJ |
|
19155 |
- |
|
19156 |
-# Commands used to finish a libtool library installation in a directory. |
|
19157 |
-finish_cmds=$lt_finish_cmds |
|
19158 |
- |
|
19159 |
-# Same as above, but a single script fragment to be evaled but not shown. |
|
19160 |
-finish_eval=$lt_finish_eval |
|
19161 |
- |
|
19162 |
-# Take the output of nm and produce a listing of raw symbols and C names. |
|
19163 |
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
19164 |
- |
|
19165 |
-# Transform the output of nm in a proper C declaration |
|
19166 |
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
19167 |
- |
|
19168 |
-# Transform the output of nm in a C name address pair |
|
19169 |
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
19170 |
- |
|
19171 |
-# This is the shared library runtime path variable. |
|
19172 |
-runpath_var=$runpath_var |
|
19173 |
- |
|
19174 |
-# This is the shared library path variable. |
|
19175 |
-shlibpath_var=$shlibpath_var |
|
19176 |
- |
|
19177 |
-# Is shlibpath searched before the hard-coded library search path? |
|
19178 |
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
19179 |
- |
|
19180 |
-# How to hardcode a shared library path into an executable. |
|
19181 |
-hardcode_action=$hardcode_action_GCJ |
|
19182 |
- |
|
19183 |
-# Whether we should hardcode library paths into libraries. |
|
19184 |
-hardcode_into_libs=$hardcode_into_libs |
|
19185 |
- |
|
19186 |
-# Flag to hardcode \$libdir into a binary during linking. |
|
19187 |
-# This must work even if \$libdir does not exist. |
|
19188 |
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ |
|
19189 |
- |
|
19190 |
-# If ld is used when linking, flag to hardcode \$libdir into |
|
19191 |
-# a binary during linking. This must work even if \$libdir does |
|
19192 |
-# not exist. |
|
19193 |
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ |
|
19194 |
- |
|
19195 |
-# Whether we need a single -rpath flag with a separated argument. |
|
19196 |
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ |
|
19197 |
- |
|
19198 |
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
19199 |
-# resulting binary. |
|
19200 |
-hardcode_direct=$hardcode_direct_GCJ |
|
19201 |
- |
|
19202 |
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
19203 |
-# resulting binary. |
|
19204 |
-hardcode_minus_L=$hardcode_minus_L_GCJ |
|
19205 |
- |
|
19206 |
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
19207 |
-# the resulting binary. |
|
19208 |
-hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ |
|
19209 |
- |
|
19210 |
-# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
19211 |
-# and all subsequent libraries and executables linked against it. |
|
19212 |
-hardcode_automatic=$hardcode_automatic_GCJ |
|
19213 |
- |
|
19214 |
-# Variables whose values should be saved in libtool wrapper scripts and |
|
19215 |
-# restored at relink time. |
|
19216 |
-variables_saved_for_relink="$variables_saved_for_relink" |
|
19217 |
- |
|
19218 |
-# Whether libtool must link a program against all its dependency libraries. |
|
19219 |
-link_all_deplibs=$link_all_deplibs_GCJ |
|
19220 |
- |
|
19221 |
-# Compile-time system search path for libraries |
|
19222 |
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
19223 |
- |
|
19224 |
-# Run-time system search path for libraries |
|
19225 |
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
19226 |
- |
|
19227 |
-# Fix the shell variable \$srcfile for the compiler. |
|
19228 |
-fix_srcfile_path=$lt_fix_srcfile_path |
|
19229 |
- |
|
19230 |
-# Set to yes if exported symbols are required. |
|
19231 |
-always_export_symbols=$always_export_symbols_GCJ |
|
19232 |
- |
|
19233 |
-# The commands to list exported symbols. |
|
19234 |
-export_symbols_cmds=$lt_export_symbols_cmds_GCJ |
|
19235 |
- |
|
19236 |
-# The commands to extract the exported symbol list from a shared archive. |
|
19237 |
-extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
19238 |
- |
|
19239 |
-# Symbols that should not be listed in the preloaded symbols. |
|
19240 |
-exclude_expsyms=$lt_exclude_expsyms_GCJ |
|
19241 |
- |
|
19242 |
-# Symbols that must always be exported. |
|
19243 |
-include_expsyms=$lt_include_expsyms_GCJ |
|
19244 |
- |
|
19245 |
-# ### END LIBTOOL TAG CONFIG: $tagname |
|
19246 |
- |
|
19247 |
-__EOF__ |
|
19248 |
- |
|
19249 |
- |
|
19250 |
-else |
|
19251 |
- # If there is no Makefile yet, we rely on a make rule to execute |
|
19252 |
- # `config.status --recheck' to rerun these tests and create the |
|
19253 |
- # libtool script then. |
|
19254 |
- ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
19255 |
- if test -f "$ltmain_in"; then |
|
19256 |
- test -f Makefile && make "$ltmain" |
|
19257 |
- fi |
|
19258 |
-fi |
|
19259 |
- |
|
19260 |
- |
|
19261 |
-ac_ext=c |
|
19262 |
-ac_cpp='$CPP $CPPFLAGS' |
|
19263 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
19264 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
19265 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
19266 |
- |
|
19267 |
-CC="$lt_save_CC" |
|
19268 |
- |
|
19269 |
- else |
|
19270 |
- tagname="" |
|
19271 |
- fi |
|
19272 |
- ;; |
|
19273 |
- |
|
19274 |
- RC) |
|
19275 |
- |
|
19276 |
- |
|
19277 |
-# Source file extension for RC test sources. |
|
19278 |
-ac_ext=rc |
|
19279 |
- |
|
19280 |
-# Object file extension for compiled RC test sources. |
|
19281 |
-objext=o |
|
19282 |
-objext_RC=$objext |
|
19283 |
- |
|
19284 |
-# Code to be used in simple compile tests |
|
19285 |
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' |
|
19286 |
- |
|
19287 |
-# Code to be used in simple link tests |
|
19288 |
-lt_simple_link_test_code="$lt_simple_compile_test_code" |
|
19289 |
- |
|
19290 |
-# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
|
19291 |
- |
|
19292 |
-# If no C compiler was specified, use CC. |
|
19293 |
-LTCC=${LTCC-"$CC"} |
|
19294 |
- |
|
19295 |
-# If no C compiler flags were specified, use CFLAGS. |
|
19296 |
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
19297 |
- |
|
19298 |
-# Allow CC to be a program name with arguments. |
|
19299 |
-compiler=$CC |
|
19300 |
- |
|
19301 |
- |
|
19302 |
-# save warnings/boilerplate of simple test code |
|
19303 |
-ac_outfile=conftest.$ac_objext |
|
19304 |
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
|
19305 |
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
19306 |
-_lt_compiler_boilerplate=`cat conftest.err` |
|
19307 |
-$rm conftest* |
|
19308 |
- |
|
19309 |
-ac_outfile=conftest.$ac_objext |
|
19310 |
-echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
19311 |
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
19312 |
-_lt_linker_boilerplate=`cat conftest.err` |
|
19313 |
-$rm conftest* |
|
19314 |
- |
|
19315 |
- |
|
19316 |
-# Allow CC to be a program name with arguments. |
|
19317 |
-lt_save_CC="$CC" |
|
19318 |
-CC=${RC-"windres"} |
|
19319 |
-compiler=$CC |
|
19320 |
-compiler_RC=$CC |
|
19321 |
-for cc_temp in $compiler""; do |
|
19322 |
- case $cc_temp in |
|
19323 |
- compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
19324 |
- distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
19325 |
- \-*) ;; |
|
19326 |
- *) break;; |
|
19327 |
- esac |
|
19328 |
-done |
|
19329 |
-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
19330 |
- |
|
19331 |
-lt_cv_prog_compiler_c_o_RC=yes |
|
19332 |
- |
|
19333 |
-# The else clause should only fire when bootstrapping the |
|
19334 |
-# libtool distribution, otherwise you forgot to ship ltmain.sh |
|
19335 |
-# with your package, and you will get complaints that there are |
|
19336 |
-# no rules to generate ltmain.sh. |
|
19337 |
-if test -f "$ltmain"; then |
|
19338 |
- # See if we are running on zsh, and set the options which allow our commands through |
|
19339 |
- # without removal of \ escapes. |
|
19340 |
- if test -n "${ZSH_VERSION+set}" ; then |
|
19341 |
- setopt NO_GLOB_SUBST |
|
19342 |
- fi |
|
19343 |
- # Now quote all the things that may contain metacharacters while being |
|
19344 |
- # careful not to overquote the AC_SUBSTed values. We take copies of the |
|
19345 |
- # variables and quote the copies for generation of the libtool script. |
|
19346 |
- for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
|
19347 |
- SED SHELL STRIP \ |
|
19348 |
- libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
|
19349 |
- old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
|
19350 |
- deplibs_check_method reload_flag reload_cmds need_locks \ |
|
19351 |
- lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
|
19352 |
- lt_cv_sys_global_symbol_to_c_name_address \ |
|
19353 |
- sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
19354 |
- old_postinstall_cmds old_postuninstall_cmds \ |
|
19355 |
- compiler_RC \ |
|
19356 |
- CC_RC \ |
|
19357 |
- LD_RC \ |
|
19358 |
- lt_prog_compiler_wl_RC \ |
|
19359 |
- lt_prog_compiler_pic_RC \ |
|
19360 |
- lt_prog_compiler_static_RC \ |
|
19361 |
- lt_prog_compiler_no_builtin_flag_RC \ |
|
19362 |
- export_dynamic_flag_spec_RC \ |
|
19363 |
- thread_safe_flag_spec_RC \ |
|
19364 |
- whole_archive_flag_spec_RC \ |
|
19365 |
- enable_shared_with_static_runtimes_RC \ |
|
19366 |
- old_archive_cmds_RC \ |
|
19367 |
- old_archive_from_new_cmds_RC \ |
|
19368 |
- predep_objects_RC \ |
|
19369 |
- postdep_objects_RC \ |
|
19370 |
- predeps_RC \ |
|
19371 |
- postdeps_RC \ |
|
19372 |
- compiler_lib_search_path_RC \ |
|
19373 |
- archive_cmds_RC \ |
|
19374 |
- archive_expsym_cmds_RC \ |
|
19375 |
- postinstall_cmds_RC \ |
|
19376 |
- postuninstall_cmds_RC \ |
|
19377 |
- old_archive_from_expsyms_cmds_RC \ |
|
19378 |
- allow_undefined_flag_RC \ |
|
19379 |
- no_undefined_flag_RC \ |
|
19380 |
- export_symbols_cmds_RC \ |
|
19381 |
- hardcode_libdir_flag_spec_RC \ |
|
19382 |
- hardcode_libdir_flag_spec_ld_RC \ |
|
19383 |
- hardcode_libdir_separator_RC \ |
|
19384 |
- hardcode_automatic_RC \ |
|
19385 |
- module_cmds_RC \ |
|
19386 |
- module_expsym_cmds_RC \ |
|
19387 |
- lt_cv_prog_compiler_c_o_RC \ |
|
19388 |
- fix_srcfile_path_RC \ |
|
19389 |
- exclude_expsyms_RC \ |
|
19390 |
- include_expsyms_RC; do |
|
19391 |
- |
|
19392 |
- case $var in |
|
19393 |
- old_archive_cmds_RC | \ |
|
19394 |
- old_archive_from_new_cmds_RC | \ |
|
19395 |
- archive_cmds_RC | \ |
|
19396 |
- archive_expsym_cmds_RC | \ |
|
19397 |
- module_cmds_RC | \ |
|
19398 |
- module_expsym_cmds_RC | \ |
|
19399 |
- old_archive_from_expsyms_cmds_RC | \ |
|
19400 |
- export_symbols_cmds_RC | \ |
|
19401 |
- extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
19402 |
- postinstall_cmds | postuninstall_cmds | \ |
|
19403 |
- old_postinstall_cmds | old_postuninstall_cmds | \ |
|
19404 |
- sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
19405 |
- # Double-quote double-evaled strings. |
|
19406 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
19407 |
- ;; |
|
19408 |
- *) |
|
19409 |
- eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
19410 |
- ;; |
|
19411 |
- esac |
|
19412 |
- done |
|
19413 |
- |
|
19414 |
- case $lt_echo in |
|
19415 |
- *'\$0 --fallback-echo"') |
|
19416 |
- lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
|
19417 |
- ;; |
|
19418 |
- esac |
|
19419 |
- |
|
19420 |
-cfgfile="$ofile" |
|
19421 |
- |
|
19422 |
- cat <<__EOF__ >> "$cfgfile" |
|
19423 |
-# ### BEGIN LIBTOOL TAG CONFIG: $tagname |
|
19424 |
- |
|
19425 |
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
19426 |
- |
|
19427 |
-# Shell to use when invoking shell scripts. |
|
19428 |
-SHELL=$lt_SHELL |
|
19429 |
- |
|
19430 |
-# Whether or not to build shared libraries. |
|
19431 |
-build_libtool_libs=$enable_shared |
|
19432 |
- |
|
19433 |
-# Whether or not to build static libraries. |
|
19434 |
-build_old_libs=$enable_static |
|
19435 |
- |
|
19436 |
-# Whether or not to add -lc for building shared libraries. |
|
19437 |
-build_libtool_need_lc=$archive_cmds_need_lc_RC |
|
19438 |
- |
|
19439 |
-# Whether or not to disallow shared libs when runtime libs are static |
|
19440 |
-allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC |
|
19441 |
- |
|
19442 |
-# Whether or not to optimize for fast installation. |
|
19443 |
-fast_install=$enable_fast_install |
|
19444 |
- |
|
19445 |
-# The host system. |
|
19446 |
-host_alias=$host_alias |
|
19447 |
-host=$host |
|
19448 |
-host_os=$host_os |
|
19449 |
- |
|
19450 |
-# The build system. |
|
19451 |
-build_alias=$build_alias |
|
19452 |
-build=$build |
|
19453 |
-build_os=$build_os |
|
19454 |
- |
|
19455 |
-# An echo program that does not interpret backslashes. |
|
19456 |
-echo=$lt_echo |
|
19457 |
- |
|
19458 |
-# The archiver. |
|
19459 |
-AR=$lt_AR |
|
19460 |
-AR_FLAGS=$lt_AR_FLAGS |
|
19461 |
- |
|
19462 |
-# A C compiler. |
|
19463 |
-LTCC=$lt_LTCC |
|
19464 |
- |
|
19465 |
-# LTCC compiler flags. |
|
19466 |
-LTCFLAGS=$lt_LTCFLAGS |
|
19467 |
- |
|
19468 |
-# A language-specific compiler. |
|
19469 |
-CC=$lt_compiler_RC |
|
19470 |
- |
|
19471 |
-# Is the compiler the GNU C compiler? |
|
19472 |
-with_gcc=$GCC_RC |
|
19473 |
- |
|
19474 |
-# An ERE matcher. |
|
19475 |
-EGREP=$lt_EGREP |
|
19476 |
- |
|
19477 |
-# The linker used to build libraries. |
|
19478 |
-LD=$lt_LD_RC |
|
19479 |
- |
|
19480 |
-# Whether we need hard or soft links. |
|
19481 |
-LN_S=$lt_LN_S |
|
19482 |
- |
|
19483 |
-# A BSD-compatible nm program. |
|
19484 |
-NM=$lt_NM |
|
19485 |
- |
|
19486 |
-# A symbol stripping program |
|
19487 |
-STRIP=$lt_STRIP |
|
19488 |
- |
|
19489 |
-# Used to examine libraries when file_magic_cmd begins "file" |
|
19490 |
-MAGIC_CMD=$MAGIC_CMD |
|
19491 |
- |
|
19492 |
-# Used on cygwin: DLL creation program. |
|
19493 |
-DLLTOOL="$DLLTOOL" |
|
19494 |
- |
|
19495 |
-# Used on cygwin: object dumper. |
|
19496 |
-OBJDUMP="$OBJDUMP" |
|
19497 |
- |
|
19498 |
-# Used on cygwin: assembler. |
|
19499 |
-AS="$AS" |
|
19500 |
- |
|
19501 |
-# The name of the directory that contains temporary libtool files. |
|
19502 |
-objdir=$objdir |
|
19503 |
- |
|
19504 |
-# How to create reloadable object files. |
|
19505 |
-reload_flag=$lt_reload_flag |
|
19506 |
-reload_cmds=$lt_reload_cmds |
|
19507 |
- |
|
19508 |
-# How to pass a linker flag through the compiler. |
|
19509 |
-wl=$lt_lt_prog_compiler_wl_RC |
|
19510 |
- |
|
19511 |
-# Object file suffix (normally "o"). |
|
19512 |
-objext="$ac_objext" |
|
19513 |
- |
|
19514 |
-# Old archive suffix (normally "a"). |
|
19515 |
-libext="$libext" |
|
19516 |
- |
|
19517 |
-# Shared library suffix (normally ".so"). |
|
19518 |
-shrext_cmds='$shrext_cmds' |
|
19519 |
- |
|
19520 |
-# Executable file suffix (normally ""). |
|
19521 |
-exeext="$exeext" |
|
19522 |
- |
|
19523 |
-# Additional compiler flags for building library objects. |
|
19524 |
-pic_flag=$lt_lt_prog_compiler_pic_RC |
|
19525 |
-pic_mode=$pic_mode |
|
19526 |
- |
|
19527 |
-# What is the maximum length of a command? |
|
19528 |
-max_cmd_len=$lt_cv_sys_max_cmd_len |
|
19529 |
- |
|
19530 |
-# Does compiler simultaneously support -c and -o options? |
|
19531 |
-compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC |
|
19532 |
- |
|
19533 |
-# Must we lock files when doing compilation? |
|
19534 |
-need_locks=$lt_need_locks |
|
19535 |
- |
|
19536 |
-# Do we need the lib prefix for modules? |
|
19537 |
-need_lib_prefix=$need_lib_prefix |
|
19538 |
- |
|
19539 |
-# Do we need a version for libraries? |
|
19540 |
-need_version=$need_version |
|
19541 |
- |
|
19542 |
-# Whether dlopen is supported. |
|
19543 |
-dlopen_support=$enable_dlopen |
|
19544 |
- |
|
19545 |
-# Whether dlopen of programs is supported. |
|
19546 |
-dlopen_self=$enable_dlopen_self |
|
19547 |
- |
|
19548 |
-# Whether dlopen of statically linked programs is supported. |
|
19549 |
-dlopen_self_static=$enable_dlopen_self_static |
|
19550 |
- |
|
19551 |
-# Compiler flag to prevent dynamic linking. |
|
19552 |
-link_static_flag=$lt_lt_prog_compiler_static_RC |
|
19553 |
- |
|
19554 |
-# Compiler flag to turn off builtin functions. |
|
19555 |
-no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC |
|
19556 |
- |
|
19557 |
-# Compiler flag to allow reflexive dlopens. |
|
19558 |
-export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC |
|
19559 |
- |
|
19560 |
-# Compiler flag to generate shared objects directly from archives. |
|
19561 |
-whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC |
|
19562 |
- |
|
19563 |
-# Compiler flag to generate thread-safe objects. |
|
19564 |
-thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC |
|
19565 |
- |
|
19566 |
-# Library versioning type. |
|
19567 |
-version_type=$version_type |
|
19568 |
- |
|
19569 |
-# Format of library name prefix. |
|
19570 |
-libname_spec=$lt_libname_spec |
|
19571 |
- |
|
19572 |
-# List of archive names. First name is the real one, the rest are links. |
|
19573 |
-# The last name is the one that the linker finds with -lNAME. |
|
19574 |
-library_names_spec=$lt_library_names_spec |
|
19575 |
- |
|
19576 |
-# The coded name of the library, if different from the real name. |
|
19577 |
-soname_spec=$lt_soname_spec |
|
19578 |
- |
|
19579 |
-# Commands used to build and install an old-style archive. |
|
19580 |
-RANLIB=$lt_RANLIB |
|
19581 |
-old_archive_cmds=$lt_old_archive_cmds_RC |
|
19582 |
-old_postinstall_cmds=$lt_old_postinstall_cmds |
|
19583 |
-old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
19584 |
- |
|
19585 |
-# Create an old-style archive from a shared archive. |
|
19586 |
-old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC |
|
19587 |
- |
|
19588 |
-# Create a temporary old-style archive to link instead of a shared archive. |
|
19589 |
-old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC |
|
19590 |
- |
|
19591 |
-# Commands used to build and install a shared archive. |
|
19592 |
-archive_cmds=$lt_archive_cmds_RC |
|
19593 |
-archive_expsym_cmds=$lt_archive_expsym_cmds_RC |
|
19594 |
-postinstall_cmds=$lt_postinstall_cmds |
|
19595 |
-postuninstall_cmds=$lt_postuninstall_cmds |
|
19596 |
- |
|
19597 |
-# Commands used to build a loadable module (assumed same as above if empty) |
|
19598 |
-module_cmds=$lt_module_cmds_RC |
|
19599 |
-module_expsym_cmds=$lt_module_expsym_cmds_RC |
|
19600 |
- |
|
19601 |
-# Commands to strip libraries. |
|
19602 |
-old_striplib=$lt_old_striplib |
|
19603 |
-striplib=$lt_striplib |
|
19604 |
- |
|
19605 |
-# Dependencies to place before the objects being linked to create a |
|
19606 |
-# shared library. |
|
19607 |
-predep_objects=$lt_predep_objects_RC |
|
19608 |
- |
|
19609 |
-# Dependencies to place after the objects being linked to create a |
|
19610 |
-# shared library. |
|
19611 |
-postdep_objects=$lt_postdep_objects_RC |
|
19612 |
- |
|
19613 |
-# Dependencies to place before the objects being linked to create a |
|
19614 |
-# shared library. |
|
19615 |
-predeps=$lt_predeps_RC |
|
19616 |
- |
|
19617 |
-# Dependencies to place after the objects being linked to create a |
|
19618 |
-# shared library. |
|
19619 |
-postdeps=$lt_postdeps_RC |
|
19620 |
- |
|
19621 |
-# The library search path used internally by the compiler when linking |
|
19622 |
-# a shared library. |
|
19623 |
-compiler_lib_search_path=$lt_compiler_lib_search_path_RC |
|
19624 |
- |
|
19625 |
-# Method to check whether dependent libraries are shared objects. |
|
19626 |
-deplibs_check_method=$lt_deplibs_check_method |
|
19627 |
- |
|
19628 |
-# Command to use when deplibs_check_method == file_magic. |
|
19629 |
-file_magic_cmd=$lt_file_magic_cmd |
|
19630 |
- |
|
19631 |
-# Flag that allows shared libraries with undefined symbols to be built. |
|
19632 |
-allow_undefined_flag=$lt_allow_undefined_flag_RC |
|
19633 |
- |
|
19634 |
-# Flag that forces no undefined symbols. |
|
19635 |
-no_undefined_flag=$lt_no_undefined_flag_RC |
|
19636 |
- |
|
19637 |
-# Commands used to finish a libtool library installation in a directory. |
|
19638 |
-finish_cmds=$lt_finish_cmds |
|
19639 |
- |
|
19640 |
-# Same as above, but a single script fragment to be evaled but not shown. |
|
19641 |
-finish_eval=$lt_finish_eval |
|
19642 |
- |
|
19643 |
-# Take the output of nm and produce a listing of raw symbols and C names. |
|
19644 |
-global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
19645 |
- |
|
19646 |
-# Transform the output of nm in a proper C declaration |
|
19647 |
-global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
19648 |
- |
|
19649 |
-# Transform the output of nm in a C name address pair |
|
19650 |
-global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
19651 |
- |
|
19652 |
-# This is the shared library runtime path variable. |
|
19653 |
-runpath_var=$runpath_var |
|
19654 |
- |
|
19655 |
-# This is the shared library path variable. |
|
19656 |
-shlibpath_var=$shlibpath_var |
|
19657 |
- |
|
19658 |
-# Is shlibpath searched before the hard-coded library search path? |
|
19659 |
-shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
19660 |
- |
|
19661 |
-# How to hardcode a shared library path into an executable. |
|
19662 |
-hardcode_action=$hardcode_action_RC |
|
19663 |
- |
|
19664 |
-# Whether we should hardcode library paths into libraries. |
|
19665 |
-hardcode_into_libs=$hardcode_into_libs |
|
19666 |
- |
|
19667 |
-# Flag to hardcode \$libdir into a binary during linking. |
|
19668 |
-# This must work even if \$libdir does not exist. |
|
19669 |
-hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC |
|
19670 |
- |
|
19671 |
-# If ld is used when linking, flag to hardcode \$libdir into |
|
19672 |
-# a binary during linking. This must work even if \$libdir does |
|
19673 |
-# not exist. |
|
19674 |
-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC |
|
19675 |
- |
|
19676 |
-# Whether we need a single -rpath flag with a separated argument. |
|
19677 |
-hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC |
|
19678 |
- |
|
19679 |
-# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
19680 |
-# resulting binary. |
|
19681 |
-hardcode_direct=$hardcode_direct_RC |
|
19682 |
- |
|
19683 |
-# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
19684 |
-# resulting binary. |
|
19685 |
-hardcode_minus_L=$hardcode_minus_L_RC |
|
19686 |
- |
|
19687 |
-# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
19688 |
-# the resulting binary. |
|
19689 |
-hardcode_shlibpath_var=$hardcode_shlibpath_var_RC |
|
19690 |
- |
|
19691 |
-# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
19692 |
-# and all subsequent libraries and executables linked against it. |
|
19693 |
-hardcode_automatic=$hardcode_automatic_RC |
|
19694 |
- |
|
19695 |
-# Variables whose values should be saved in libtool wrapper scripts and |
|
19696 |
-# restored at relink time. |
|
19697 |
-variables_saved_for_relink="$variables_saved_for_relink" |
|
19698 |
- |
|
19699 |
-# Whether libtool must link a program against all its dependency libraries. |
|
19700 |
-link_all_deplibs=$link_all_deplibs_RC |
|
19701 |
- |
|
19702 |
-# Compile-time system search path for libraries |
|
19703 |
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
19704 |
- |
|
19705 |
-# Run-time system search path for libraries |
|
19706 |
-sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
19707 |
- |
|
19708 |
-# Fix the shell variable \$srcfile for the compiler. |
|
19709 |
-fix_srcfile_path=$lt_fix_srcfile_path |
|
19710 |
- |
|
19711 |
-# Set to yes if exported symbols are required. |
|
19712 |
-always_export_symbols=$always_export_symbols_RC |
|
19713 |
- |
|
19714 |
-# The commands to list exported symbols. |
|
19715 |
-export_symbols_cmds=$lt_export_symbols_cmds_RC |
|
19716 |
- |
|
19717 |
-# The commands to extract the exported symbol list from a shared archive. |
|
19718 |
-extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
19719 |
- |
|
19720 |
-# Symbols that should not be listed in the preloaded symbols. |
|
19721 |
-exclude_expsyms=$lt_exclude_expsyms_RC |
|
19722 |
- |
|
19723 |
-# Symbols that must always be exported. |
|
19724 |
-include_expsyms=$lt_include_expsyms_RC |
|
19725 |
- |
|
19726 |
-# ### END LIBTOOL TAG CONFIG: $tagname |
|
19727 |
- |
|
19728 |
-__EOF__ |
|
19729 |
- |
|
19730 |
- |
|
19731 |
-else |
|
19732 |
- # If there is no Makefile yet, we rely on a make rule to execute |
|
19733 |
- # `config.status --recheck' to rerun these tests and create the |
|
19734 |
- # libtool script then. |
|
19735 |
- ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
19736 |
- if test -f "$ltmain_in"; then |
|
19737 |
- test -f Makefile && make "$ltmain" |
|
19738 |
- fi |
|
19739 |
-fi |
|
19740 |
- |
|
19741 |
- |
|
19742 |
-ac_ext=c |
|
19743 |
-ac_cpp='$CPP $CPPFLAGS' |
|
19744 |
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
19745 |
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
19746 |
-ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
19747 |
- |
|
19748 |
-CC="$lt_save_CC" |
|
19749 |
- |
|
19750 |
- ;; |
|
19751 |
- |
|
19752 |
- *) |
|
19753 |
- { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 |
|
19754 |
-echo "$as_me: error: Unsupported tag name: $tagname" >&2;} |
|
19755 |
- { (exit 1); exit 1; }; } |
|
19756 |
- ;; |
|
19757 |
- esac |
|
19758 |
- |
|
19759 |
- # Append the new tag name to the list of available tags. |
|
19760 |
- if test -n "$tagname" ; then |
|
19761 |
- available_tags="$available_tags $tagname" |
|
19762 |
- fi |
|
19763 |
- fi |
|
19764 |
- done |
|
19765 |
- IFS="$lt_save_ifs" |
|
19766 |
- |
|
19767 |
- # Now substitute the updated list of available tags. |
|
19768 |
- if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then |
|
19769 |
- mv "${ofile}T" "$ofile" |
|
19770 |
- chmod +x "$ofile" |
|
19771 |
- else |
|
19772 |
- rm -f "${ofile}T" |
|
19773 |
- { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 |
|
19774 |
-echo "$as_me: error: unable to update list of available tagged configurations." >&2;} |
|
19775 |
- { (exit 1); exit 1; }; } |
|
19776 |
- fi |
|
19777 |
-fi |
|
19778 |
- |
|
19779 | 10978 |
|
19780 | 10979 |
|
19781 | 10980 |
# This can be used to rebuild libtool when needed |
... | ... |
@@ -19796,17 +10004,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
19796 | 19796 |
|
19797 | 19797 |
|
19798 | 19798 |
|
19799 |
- |
|
19800 |
- |
|
19801 |
- |
|
19802 |
- |
|
19803 |
- |
|
19804 |
- |
|
19805 |
- |
|
19806 |
- |
|
19807 |
- |
|
19808 |
- |
|
19809 |
- |
|
19810 | 19799 |
cat >>confdefs.h <<\_ACEOF |
19811 | 19800 |
#define SCANBUFF 131072 |
19812 | 19801 |
_ACEOF |
... | ... |
@@ -26616,13 +16813,6 @@ echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
26616 | 26616 |
Usually this means the macro was only invoked conditionally." >&2;} |
26617 | 26617 |
{ (exit 1); exit 1; }; } |
26618 | 26618 |
fi |
26619 |
-if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
|
26620 |
- { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
|
26621 |
-Usually this means the macro was only invoked conditionally." >&5 |
|
26622 |
-echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
26623 |
-Usually this means the macro was only invoked conditionally." >&2;} |
|
26624 |
- { (exit 1); exit 1; }; } |
|
26625 |
-fi |
|
26626 | 26619 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
26627 | 26620 |
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
26628 | 26621 |
Usually this means the macro was only invoked conditionally." >&5 |
... | ... |
@@ -27311,7 +17501,7 @@ ECHO!$ECHO$ac_delim |
27311 | 27311 |
AR!$AR$ac_delim |
27312 | 27312 |
RANLIB!$RANLIB$ac_delim |
27313 | 27313 |
CPP!$CPP$ac_delim |
27314 |
-CXX!$CXX$ac_delim |
|
27314 |
+LIBTOOL!$LIBTOOL$ac_delim |
|
27315 | 27315 |
_ACEOF |
27316 | 27316 |
|
27317 | 27317 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
... | ... |
@@ -27353,16 +17543,6 @@ _ACEOF |
27353 | 27353 |
ac_delim='%!_!# ' |
27354 | 27354 |
for ac_last_try in false false false false false :; do |
27355 | 27355 |
cat >conf$$subs.sed <<_ACEOF |
27356 |
-CXXFLAGS!$CXXFLAGS$ac_delim |
|
27357 |
-ac_ct_CXX!$ac_ct_CXX$ac_delim |
|
27358 |
-CXXDEPMODE!$CXXDEPMODE$ac_delim |
|
27359 |
-am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim |
|
27360 |
-am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim |
|
27361 |
-CXXCPP!$CXXCPP$ac_delim |
|
27362 |
-F77!$F77$ac_delim |
|
27363 |
-FFLAGS!$FFLAGS$ac_delim |
|
27364 |
-ac_ct_F77!$ac_ct_F77$ac_delim |
|
27365 |
-LIBTOOL!$LIBTOOL$ac_delim |
|
27366 | 27356 |
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim |
27367 | 27357 |
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim |
27368 | 27358 |
MAINT!$MAINT$ac_delim |
... | ... |
@@ -27391,7 +17571,7 @@ LIBOBJS!$LIBOBJS$ac_delim |
27391 | 27391 |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
27392 | 27392 |
_ACEOF |
27393 | 27393 |
|
27394 |
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then |
|
27394 |
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 26; then |
|
27395 | 27395 |
break |
27396 | 27396 |
elif $ac_last_try; then |
27397 | 27397 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-dnl |
|
1 |
+ |
|
2 | 2 |
dnl Copyright (C) 2002 - 2006 Tomasz Kojm <tkojm@clamav.net> |
3 | 3 |
dnl gethostbyname_r and readdir_r checks (c) COPYRIGHT MIT 1995 |
4 | 4 |
dnl socklen_t check (c) Alexander V. Lukyanov <lav@yars.free.net> |
... | ... |
@@ -34,6 +34,11 @@ AC_PROG_CC |
34 | 34 |
AC_PROG_INSTALL |
35 | 35 |
AC_PROG_LN_S |
36 | 36 |
AC_PROG_MAKE_SET |
37 |
+ |
|
38 |
+dnl libtool by default brings in check for all the languages/compilers (CXX/F77/...) |
|
39 |
+dnl we don't need them, so avoid tagged configuration |
|
40 |
+dnl libtool-1.6 should already do it right, but thats not stable yet |
|
41 |
+m4_define([_LT_AC_TAGCONFIG]) |
|
37 | 42 |
AC_PROG_LIBTOOL |
38 | 43 |
|
39 | 44 |
AC_DEFINE(SCANBUFF, 131072, [scan buffer size]) |
... | ... |
@@ -82,10 +82,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
82 | 82 |
CLAMD_LIBS = @CLAMD_LIBS@ |
83 | 83 |
CPP = @CPP@ |
84 | 84 |
CPPFLAGS = @CPPFLAGS@ |
85 |
-CXX = @CXX@ |
|
86 |
-CXXCPP = @CXXCPP@ |
|
87 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
88 |
-CXXFLAGS = @CXXFLAGS@ |
|
89 | 85 |
CYGPATH_W = @CYGPATH_W@ |
90 | 86 |
DBDIR = @DBDIR@ |
91 | 87 |
DEFS = @DEFS@ |
... | ... |
@@ -96,8 +92,6 @@ ECHO_N = @ECHO_N@ |
96 | 96 |
ECHO_T = @ECHO_T@ |
97 | 97 |
EGREP = @EGREP@ |
98 | 98 |
EXEEXT = @EXEEXT@ |
99 |
-F77 = @F77@ |
|
100 |
-FFLAGS = @FFLAGS@ |
|
101 | 99 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
102 | 100 |
GETENT = @GETENT@ |
103 | 101 |
GREP = @GREP@ |
... | ... |
@@ -139,8 +133,6 @@ abs_srcdir = @abs_srcdir@ |
139 | 139 |
abs_top_builddir = @abs_top_builddir@ |
140 | 140 |
abs_top_srcdir = @abs_top_srcdir@ |
141 | 141 |
ac_ct_CC = @ac_ct_CC@ |
142 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
143 |
-ac_ct_F77 = @ac_ct_F77@ |
|
144 | 142 |
am__include = @am__include@ |
145 | 143 |
am__leading_dot = @am__leading_dot@ |
146 | 144 |
am__quote = @am__quote@ |
... | ... |
@@ -87,10 +87,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
87 | 87 |
CLAMD_LIBS = @CLAMD_LIBS@ |
88 | 88 |
CPP = @CPP@ |
89 | 89 |
CPPFLAGS = @CPPFLAGS@ |
90 |
-CXX = @CXX@ |
|
91 |
-CXXCPP = @CXXCPP@ |
|
92 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
93 |
-CXXFLAGS = @CXXFLAGS@ |
|
94 | 90 |
CYGPATH_W = @CYGPATH_W@ |
95 | 91 |
DBDIR = @DBDIR@ |
96 | 92 |
DEFS = @DEFS@ |
... | ... |
@@ -101,8 +97,6 @@ ECHO_N = @ECHO_N@ |
101 | 101 |
ECHO_T = @ECHO_T@ |
102 | 102 |
EGREP = @EGREP@ |
103 | 103 |
EXEEXT = @EXEEXT@ |
104 |
-F77 = @F77@ |
|
105 |
-FFLAGS = @FFLAGS@ |
|
106 | 104 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
107 | 105 |
GETENT = @GETENT@ |
108 | 106 |
GREP = @GREP@ |
... | ... |
@@ -144,8 +138,6 @@ abs_srcdir = @abs_srcdir@ |
144 | 144 |
abs_top_builddir = @abs_top_builddir@ |
145 | 145 |
abs_top_srcdir = @abs_top_srcdir@ |
146 | 146 |
ac_ct_CC = @ac_ct_CC@ |
147 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
148 |
-ac_ct_F77 = @ac_ct_F77@ |
|
149 | 147 |
am__include = @am__include@ |
150 | 148 |
am__leading_dot = @am__leading_dot@ |
151 | 149 |
am__quote = @am__quote@ |
... | ... |
@@ -80,10 +80,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
80 | 80 |
CLAMD_LIBS = @CLAMD_LIBS@ |
81 | 81 |
CPP = @CPP@ |
82 | 82 |
CPPFLAGS = @CPPFLAGS@ |
83 |
-CXX = @CXX@ |
|
84 |
-CXXCPP = @CXXCPP@ |
|
85 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
86 |
-CXXFLAGS = @CXXFLAGS@ |
|
87 | 83 |
CYGPATH_W = @CYGPATH_W@ |
88 | 84 |
DBDIR = @DBDIR@ |
89 | 85 |
DEFS = @DEFS@ |
... | ... |
@@ -94,8 +90,6 @@ ECHO_N = @ECHO_N@ |
94 | 94 |
ECHO_T = @ECHO_T@ |
95 | 95 |
EGREP = @EGREP@ |
96 | 96 |
EXEEXT = @EXEEXT@ |
97 |
-F77 = @F77@ |
|
98 |
-FFLAGS = @FFLAGS@ |
|
99 | 97 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
100 | 98 |
GETENT = @GETENT@ |
101 | 99 |
GREP = @GREP@ |
... | ... |
@@ -137,8 +131,6 @@ abs_srcdir = @abs_srcdir@ |
137 | 137 |
abs_top_builddir = @abs_top_builddir@ |
138 | 138 |
abs_top_srcdir = @abs_top_srcdir@ |
139 | 139 |
ac_ct_CC = @ac_ct_CC@ |
140 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
141 |
-ac_ct_F77 = @ac_ct_F77@ |
|
142 | 140 |
am__include = @am__include@ |
143 | 141 |
am__leading_dot = @am__leading_dot@ |
144 | 142 |
am__quote = @am__quote@ |
... | ... |
@@ -108,10 +108,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
108 | 108 |
CLAMD_LIBS = @CLAMD_LIBS@ |
109 | 109 |
CPP = @CPP@ |
110 | 110 |
CPPFLAGS = @CPPFLAGS@ |
111 |
-CXX = @CXX@ |
|
112 |
-CXXCPP = @CXXCPP@ |
|
113 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
114 |
-CXXFLAGS = @CXXFLAGS@ |
|
115 | 111 |
CYGPATH_W = @CYGPATH_W@ |
116 | 112 |
DBDIR = @DBDIR@ |
117 | 113 |
DEFS = @DEFS@ -DCL_NOTHREADS |
... | ... |
@@ -122,8 +118,6 @@ ECHO_N = @ECHO_N@ |
122 | 122 |
ECHO_T = @ECHO_T@ |
123 | 123 |
EGREP = @EGREP@ |
124 | 124 |
EXEEXT = @EXEEXT@ |
125 |
-F77 = @F77@ |
|
126 |
-FFLAGS = @FFLAGS@ |
|
127 | 125 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
128 | 126 |
GETENT = @GETENT@ |
129 | 127 |
GREP = @GREP@ |
... | ... |
@@ -165,8 +159,6 @@ abs_srcdir = @abs_srcdir@ |
165 | 165 |
abs_top_builddir = @abs_top_builddir@ |
166 | 166 |
abs_top_srcdir = @abs_top_srcdir@ |
167 | 167 |
ac_ct_CC = @ac_ct_CC@ |
168 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
169 |
-ac_ct_F77 = @ac_ct_F77@ |
|
170 | 168 |
am__include = @am__include@ |
171 | 169 |
am__leading_dot = @am__leading_dot@ |
172 | 170 |
am__quote = @am__quote@ |
... | ... |
@@ -149,10 +149,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
149 | 149 |
CLAMD_LIBS = @CLAMD_LIBS@ |
150 | 150 |
CPP = @CPP@ |
151 | 151 |
CPPFLAGS = @CPPFLAGS@ |
152 |
-CXX = @CXX@ |
|
153 |
-CXXCPP = @CXXCPP@ |
|
154 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
155 |
-CXXFLAGS = @CXXFLAGS@ |
|
156 | 152 |
CYGPATH_W = @CYGPATH_W@ |
157 | 153 |
DBDIR = @DBDIR@ |
158 | 154 |
DEFS = @DEFS@ |
... | ... |
@@ -163,8 +159,6 @@ ECHO_N = @ECHO_N@ |
163 | 163 |
ECHO_T = @ECHO_T@ |
164 | 164 |
EGREP = @EGREP@ |
165 | 165 |
EXEEXT = @EXEEXT@ |
166 |
-F77 = @F77@ |
|
167 |
-FFLAGS = @FFLAGS@ |
|
168 | 166 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
169 | 167 |
GETENT = @GETENT@ |
170 | 168 |
GREP = @GREP@ |
... | ... |
@@ -206,8 +200,6 @@ abs_srcdir = @abs_srcdir@ |
206 | 206 |
abs_top_builddir = @abs_top_builddir@ |
207 | 207 |
abs_top_srcdir = @abs_top_srcdir@ |
208 | 208 |
ac_ct_CC = @ac_ct_CC@ |
209 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
210 |
-ac_ct_F77 = @ac_ct_F77@ |
|
211 | 209 |
am__include = @am__include@ |
212 | 210 |
am__leading_dot = @am__leading_dot@ |
213 | 211 |
am__quote = @am__quote@ |
... | ... |
@@ -100,10 +100,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
100 | 100 |
CLAMD_LIBS = @CLAMD_LIBS@ |
101 | 101 |
CPP = @CPP@ |
102 | 102 |
CPPFLAGS = @CPPFLAGS@ |
103 |
-CXX = @CXX@ |
|
104 |
-CXXCPP = @CXXCPP@ |
|
105 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
106 |
-CXXFLAGS = @CXXFLAGS@ |
|
107 | 103 |
CYGPATH_W = @CYGPATH_W@ |
108 | 104 |
DBDIR = @DBDIR@ |
109 | 105 |
DEFS = @DEFS@ |
... | ... |
@@ -114,8 +110,6 @@ ECHO_N = @ECHO_N@ |
114 | 114 |
ECHO_T = @ECHO_T@ |
115 | 115 |
EGREP = @EGREP@ |
116 | 116 |
EXEEXT = @EXEEXT@ |
117 |
-F77 = @F77@ |
|
118 |
-FFLAGS = @FFLAGS@ |
|
119 | 117 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
120 | 118 |
GETENT = @GETENT@ |
121 | 119 |
GREP = @GREP@ |
... | ... |
@@ -157,8 +151,6 @@ abs_srcdir = @abs_srcdir@ |
157 | 157 |
abs_top_builddir = @abs_top_builddir@ |
158 | 158 |
abs_top_srcdir = @abs_top_srcdir@ |
159 | 159 |
ac_ct_CC = @ac_ct_CC@ |
160 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
161 |
-ac_ct_F77 = @ac_ct_F77@ |
|
162 | 160 |
am__include = @am__include@ |
163 | 161 |
am__leading_dot = @am__leading_dot@ |
164 | 162 |
am__quote = @am__quote@ |
... | ... |
@@ -104,10 +104,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
104 | 104 |
CLAMD_LIBS = @CLAMD_LIBS@ |
105 | 105 |
CPP = @CPP@ |
106 | 106 |
CPPFLAGS = @CPPFLAGS@ |
107 |
-CXX = @CXX@ |
|
108 |
-CXXCPP = @CXXCPP@ |
|
109 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
110 |
-CXXFLAGS = @CXXFLAGS@ |
|
111 | 107 |
CYGPATH_W = @CYGPATH_W@ |
112 | 108 |
DBDIR = @DBDIR@ |
113 | 109 |
DEFS = @DEFS@ |
... | ... |
@@ -118,8 +114,6 @@ ECHO_N = @ECHO_N@ |
118 | 118 |
ECHO_T = @ECHO_T@ |
119 | 119 |
EGREP = @EGREP@ |
120 | 120 |
EXEEXT = @EXEEXT@ |
121 |
-F77 = @F77@ |
|
122 |
-FFLAGS = @FFLAGS@ |
|
123 | 121 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
124 | 122 |
GETENT = @GETENT@ |
125 | 123 |
GREP = @GREP@ |
... | ... |
@@ -161,8 +155,6 @@ abs_srcdir = @abs_srcdir@ |
161 | 161 |
abs_top_builddir = @abs_top_builddir@ |
162 | 162 |
abs_top_srcdir = @abs_top_srcdir@ |
163 | 163 |
ac_ct_CC = @ac_ct_CC@ |
164 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
165 |
-ac_ct_F77 = @ac_ct_F77@ |
|
166 | 164 |
am__include = @am__include@ |
167 | 165 |
am__leading_dot = @am__leading_dot@ |
168 | 166 |
am__quote = @am__quote@ |
... | ... |
@@ -99,10 +99,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
99 | 99 |
CLAMD_LIBS = @CLAMD_LIBS@ |
100 | 100 |
CPP = @CPP@ |
101 | 101 |
CPPFLAGS = @CPPFLAGS@ |
102 |
-CXX = @CXX@ |
|
103 |
-CXXCPP = @CXXCPP@ |
|
104 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
105 |
-CXXFLAGS = @CXXFLAGS@ |
|
106 | 102 |
CYGPATH_W = @CYGPATH_W@ |
107 | 103 |
DBDIR = @DBDIR@ |
108 | 104 |
DEFS = @DEFS@ |
... | ... |
@@ -113,8 +109,6 @@ ECHO_N = @ECHO_N@ |
113 | 113 |
ECHO_T = @ECHO_T@ |
114 | 114 |
EGREP = @EGREP@ |
115 | 115 |
EXEEXT = @EXEEXT@ |
116 |
-F77 = @F77@ |
|
117 |
-FFLAGS = @FFLAGS@ |
|
118 | 116 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
119 | 117 |
GETENT = @GETENT@ |
120 | 118 |
GREP = @GREP@ |
... | ... |
@@ -156,8 +150,6 @@ abs_srcdir = @abs_srcdir@ |
156 | 156 |
abs_top_builddir = @abs_top_builddir@ |
157 | 157 |
abs_top_srcdir = @abs_top_srcdir@ |
158 | 158 |
ac_ct_CC = @ac_ct_CC@ |
159 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
160 |
-ac_ct_F77 = @ac_ct_F77@ |
|
161 | 159 |
am__include = @am__include@ |
162 | 160 |
am__leading_dot = @am__leading_dot@ |
163 | 161 |
am__quote = @am__quote@ |
... | ... |
@@ -105,10 +105,6 @@ CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
105 | 105 |
CLAMD_LIBS = @CLAMD_LIBS@ |
106 | 106 |
CPP = @CPP@ |
107 | 107 |
CPPFLAGS = @CPPFLAGS@ |
108 |
-CXX = @CXX@ |
|
109 |
-CXXCPP = @CXXCPP@ |
|
110 |
-CXXDEPMODE = @CXXDEPMODE@ |
|
111 |
-CXXFLAGS = @CXXFLAGS@ |
|
112 | 108 |
CYGPATH_W = @CYGPATH_W@ |
113 | 109 |
DBDIR = @DBDIR@ |
114 | 110 |
|
... | ... |
@@ -121,8 +117,6 @@ ECHO_N = @ECHO_N@ |
121 | 121 |
ECHO_T = @ECHO_T@ |
122 | 122 |
EGREP = @EGREP@ |
123 | 123 |
EXEEXT = @EXEEXT@ |
124 |
-F77 = @F77@ |
|
125 |
-FFLAGS = @FFLAGS@ |
|
126 | 124 |
FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ |
127 | 125 |
GETENT = @GETENT@ |
128 | 126 |
GREP = @GREP@ |
... | ... |
@@ -164,8 +158,6 @@ abs_srcdir = @abs_srcdir@ |
164 | 164 |
abs_top_builddir = @abs_top_builddir@ |
165 | 165 |
abs_top_srcdir = @abs_top_srcdir@ |
166 | 166 |
ac_ct_CC = @ac_ct_CC@ |
167 |
-ac_ct_CXX = @ac_ct_CXX@ |
|
168 |
-ac_ct_F77 = @ac_ct_F77@ |
|
169 | 167 |
am__include = @am__include@ |
170 | 168 |
am__leading_dot = @am__leading_dot@ |
171 | 169 |
am__quote = @am__quote@ |