adam@0
|
1 #! /bin/sh
|
adam@0
|
2 # Guess values for system-dependent variables and create Makefiles.
|
adam@64
|
3 # Generated by GNU Autoconf 2.67 for urweb_openid 1.0.
|
adam@0
|
4 #
|
adam@0
|
5 #
|
adam@0
|
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
adam@0
|
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
adam@0
|
8 # Foundation, Inc.
|
adam@0
|
9 #
|
adam@0
|
10 #
|
adam@0
|
11 # This configure script is free software; the Free Software Foundation
|
adam@0
|
12 # gives unlimited permission to copy, distribute and modify it.
|
adam@0
|
13 ## -------------------- ##
|
adam@0
|
14 ## M4sh Initialization. ##
|
adam@0
|
15 ## -------------------- ##
|
adam@0
|
16
|
adam@0
|
17 # Be more Bourne compatible
|
adam@0
|
18 DUALCASE=1; export DUALCASE # for MKS sh
|
adam@0
|
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
adam@0
|
20 emulate sh
|
adam@0
|
21 NULLCMD=:
|
adam@0
|
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
adam@0
|
23 # is contrary to our usage. Disable this feature.
|
adam@0
|
24 alias -g '${1+"$@"}'='"$@"'
|
adam@0
|
25 setopt NO_GLOB_SUBST
|
adam@0
|
26 else
|
adam@0
|
27 case `(set -o) 2>/dev/null` in #(
|
adam@0
|
28 *posix*) :
|
adam@0
|
29 set -o posix ;; #(
|
adam@0
|
30 *) :
|
adam@0
|
31 ;;
|
adam@0
|
32 esac
|
adam@0
|
33 fi
|
adam@0
|
34
|
adam@0
|
35
|
adam@0
|
36 as_nl='
|
adam@0
|
37 '
|
adam@0
|
38 export as_nl
|
adam@0
|
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
adam@0
|
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@0
|
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
|
adam@0
|
44 # but without wasting forks for bash or zsh.
|
adam@0
|
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
|
adam@0
|
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
47 as_echo='print -r --'
|
adam@0
|
48 as_echo_n='print -rn --'
|
adam@0
|
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
50 as_echo='printf %s\n'
|
adam@0
|
51 as_echo_n='printf %s'
|
adam@0
|
52 else
|
adam@0
|
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
adam@0
|
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
adam@0
|
55 as_echo_n='/usr/ucb/echo -n'
|
adam@0
|
56 else
|
adam@0
|
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
adam@0
|
58 as_echo_n_body='eval
|
adam@0
|
59 arg=$1;
|
adam@0
|
60 case $arg in #(
|
adam@0
|
61 *"$as_nl"*)
|
adam@0
|
62 expr "X$arg" : "X\\(.*\\)$as_nl";
|
adam@0
|
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
adam@0
|
64 esac;
|
adam@0
|
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
adam@0
|
66 '
|
adam@0
|
67 export as_echo_n_body
|
adam@0
|
68 as_echo_n='sh -c $as_echo_n_body as_echo'
|
adam@0
|
69 fi
|
adam@0
|
70 export as_echo_body
|
adam@0
|
71 as_echo='sh -c $as_echo_body as_echo'
|
adam@0
|
72 fi
|
adam@0
|
73
|
adam@0
|
74 # The user is always right.
|
adam@0
|
75 if test "${PATH_SEPARATOR+set}" != set; then
|
adam@0
|
76 PATH_SEPARATOR=:
|
adam@0
|
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
adam@0
|
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
adam@0
|
79 PATH_SEPARATOR=';'
|
adam@0
|
80 }
|
adam@0
|
81 fi
|
adam@0
|
82
|
adam@0
|
83
|
adam@0
|
84 # IFS
|
adam@0
|
85 # We need space, tab and new line, in precisely that order. Quoting is
|
adam@0
|
86 # there to prevent editors from complaining about space-tab.
|
adam@0
|
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
adam@0
|
88 # splitting by setting IFS to empty value.)
|
adam@0
|
89 IFS=" "" $as_nl"
|
adam@0
|
90
|
adam@0
|
91 # Find who we are. Look in the path if we contain no directory separator.
|
adam@0
|
92 case $0 in #((
|
adam@0
|
93 *[\\/]* ) as_myself=$0 ;;
|
adam@0
|
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
95 for as_dir in $PATH
|
adam@0
|
96 do
|
adam@0
|
97 IFS=$as_save_IFS
|
adam@0
|
98 test -z "$as_dir" && as_dir=.
|
adam@0
|
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
adam@0
|
100 done
|
adam@0
|
101 IFS=$as_save_IFS
|
adam@0
|
102
|
adam@0
|
103 ;;
|
adam@0
|
104 esac
|
adam@0
|
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
adam@0
|
106 # in which case we are not to be found in the path.
|
adam@0
|
107 if test "x$as_myself" = x; then
|
adam@0
|
108 as_myself=$0
|
adam@0
|
109 fi
|
adam@0
|
110 if test ! -f "$as_myself"; then
|
adam@0
|
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
adam@0
|
112 exit 1
|
adam@0
|
113 fi
|
adam@0
|
114
|
adam@0
|
115 # Unset variables that we do not need and which cause bugs (e.g. in
|
adam@0
|
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
adam@0
|
117 # suppresses any "Segmentation fault" message there. '((' could
|
adam@0
|
118 # trigger a bug in pdksh 5.2.14.
|
adam@0
|
119 for as_var in BASH_ENV ENV MAIL MAILPATH
|
adam@0
|
120 do eval test x\${$as_var+set} = xset \
|
adam@0
|
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
adam@0
|
122 done
|
adam@0
|
123 PS1='$ '
|
adam@0
|
124 PS2='> '
|
adam@0
|
125 PS4='+ '
|
adam@0
|
126
|
adam@0
|
127 # NLS nuisances.
|
adam@0
|
128 LC_ALL=C
|
adam@0
|
129 export LC_ALL
|
adam@0
|
130 LANGUAGE=C
|
adam@0
|
131 export LANGUAGE
|
adam@0
|
132
|
adam@0
|
133 # CDPATH.
|
adam@0
|
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
adam@0
|
135
|
adam@0
|
136 if test "x$CONFIG_SHELL" = x; then
|
adam@0
|
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
adam@0
|
138 emulate sh
|
adam@0
|
139 NULLCMD=:
|
adam@0
|
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
adam@0
|
141 # is contrary to our usage. Disable this feature.
|
adam@0
|
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
adam@0
|
143 setopt NO_GLOB_SUBST
|
adam@0
|
144 else
|
adam@0
|
145 case \`(set -o) 2>/dev/null\` in #(
|
adam@0
|
146 *posix*) :
|
adam@0
|
147 set -o posix ;; #(
|
adam@0
|
148 *) :
|
adam@0
|
149 ;;
|
adam@0
|
150 esac
|
adam@0
|
151 fi
|
adam@0
|
152 "
|
adam@0
|
153 as_required="as_fn_return () { (exit \$1); }
|
adam@0
|
154 as_fn_success () { as_fn_return 0; }
|
adam@0
|
155 as_fn_failure () { as_fn_return 1; }
|
adam@0
|
156 as_fn_ret_success () { return 0; }
|
adam@0
|
157 as_fn_ret_failure () { return 1; }
|
adam@0
|
158
|
adam@0
|
159 exitcode=0
|
adam@0
|
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
adam@0
|
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
adam@0
|
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
adam@0
|
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
adam@0
|
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
adam@0
|
165
|
adam@0
|
166 else
|
adam@0
|
167 exitcode=1; echo positional parameters were not saved.
|
adam@0
|
168 fi
|
adam@0
|
169 test x\$exitcode = x0 || exit 1"
|
adam@0
|
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
adam@0
|
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
adam@0
|
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
adam@0
|
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
adam@47
|
174 test \$(( 1 + 1 )) = 2 || exit 1
|
adam@47
|
175
|
adam@47
|
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
|
adam@47
|
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@47
|
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
adam@47
|
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
adam@47
|
180 PATH=/empty FPATH=/empty; export PATH FPATH
|
adam@47
|
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
|
adam@47
|
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
|
adam@0
|
183 if (eval "$as_required") 2>/dev/null; then :
|
adam@0
|
184 as_have_required=yes
|
adam@0
|
185 else
|
adam@0
|
186 as_have_required=no
|
adam@0
|
187 fi
|
adam@0
|
188 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
adam@0
|
189
|
adam@0
|
190 else
|
adam@0
|
191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
192 as_found=false
|
adam@0
|
193 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
adam@0
|
194 do
|
adam@0
|
195 IFS=$as_save_IFS
|
adam@0
|
196 test -z "$as_dir" && as_dir=.
|
adam@0
|
197 as_found=:
|
adam@0
|
198 case $as_dir in #(
|
adam@0
|
199 /*)
|
adam@0
|
200 for as_base in sh bash ksh sh5; do
|
adam@0
|
201 # Try only shells that exist, to save several forks.
|
adam@0
|
202 as_shell=$as_dir/$as_base
|
adam@0
|
203 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
adam@0
|
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
adam@0
|
205 CONFIG_SHELL=$as_shell as_have_required=yes
|
adam@0
|
206 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
adam@0
|
207 break 2
|
adam@0
|
208 fi
|
adam@0
|
209 fi
|
adam@0
|
210 done;;
|
adam@0
|
211 esac
|
adam@0
|
212 as_found=false
|
adam@0
|
213 done
|
adam@0
|
214 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
adam@0
|
215 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
adam@0
|
216 CONFIG_SHELL=$SHELL as_have_required=yes
|
adam@0
|
217 fi; }
|
adam@0
|
218 IFS=$as_save_IFS
|
adam@0
|
219
|
adam@0
|
220
|
adam@0
|
221 if test "x$CONFIG_SHELL" != x; then :
|
adam@0
|
222 # We cannot yet assume a decent shell, so we have to provide a
|
adam@0
|
223 # neutralization value for shells without unset; and this also
|
adam@0
|
224 # works around shells that cannot unset nonexistent variables.
|
adam@0
|
225 BASH_ENV=/dev/null
|
adam@0
|
226 ENV=/dev/null
|
adam@0
|
227 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
adam@0
|
228 export CONFIG_SHELL
|
adam@64
|
229 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
adam@0
|
230 fi
|
adam@0
|
231
|
adam@0
|
232 if test x$as_have_required = xno; then :
|
adam@0
|
233 $as_echo "$0: This script requires a shell more modern than all"
|
adam@0
|
234 $as_echo "$0: the shells that I found on your system."
|
adam@0
|
235 if test x${ZSH_VERSION+set} = xset ; then
|
adam@0
|
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
adam@0
|
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
adam@0
|
238 else
|
adam@0
|
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
adam@0
|
240 $0: including any error possibly output before this
|
adam@0
|
241 $0: message. Then install a modern shell, or manually run
|
adam@0
|
242 $0: the script under such a shell if you do have one."
|
adam@0
|
243 fi
|
adam@0
|
244 exit 1
|
adam@0
|
245 fi
|
adam@0
|
246 fi
|
adam@0
|
247 fi
|
adam@0
|
248 SHELL=${CONFIG_SHELL-/bin/sh}
|
adam@0
|
249 export SHELL
|
adam@0
|
250 # Unset more variables known to interfere with behavior of common tools.
|
adam@0
|
251 CLICOLOR_FORCE= GREP_OPTIONS=
|
adam@0
|
252 unset CLICOLOR_FORCE GREP_OPTIONS
|
adam@0
|
253
|
adam@0
|
254 ## --------------------- ##
|
adam@0
|
255 ## M4sh Shell Functions. ##
|
adam@0
|
256 ## --------------------- ##
|
adam@0
|
257 # as_fn_unset VAR
|
adam@0
|
258 # ---------------
|
adam@0
|
259 # Portably unset VAR.
|
adam@0
|
260 as_fn_unset ()
|
adam@0
|
261 {
|
adam@0
|
262 { eval $1=; unset $1;}
|
adam@0
|
263 }
|
adam@0
|
264 as_unset=as_fn_unset
|
adam@0
|
265
|
adam@0
|
266 # as_fn_set_status STATUS
|
adam@0
|
267 # -----------------------
|
adam@0
|
268 # Set $? to STATUS, without forking.
|
adam@0
|
269 as_fn_set_status ()
|
adam@0
|
270 {
|
adam@0
|
271 return $1
|
adam@0
|
272 } # as_fn_set_status
|
adam@0
|
273
|
adam@0
|
274 # as_fn_exit STATUS
|
adam@0
|
275 # -----------------
|
adam@0
|
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
adam@0
|
277 as_fn_exit ()
|
adam@0
|
278 {
|
adam@0
|
279 set +e
|
adam@0
|
280 as_fn_set_status $1
|
adam@0
|
281 exit $1
|
adam@0
|
282 } # as_fn_exit
|
adam@0
|
283
|
adam@0
|
284 # as_fn_mkdir_p
|
adam@0
|
285 # -------------
|
adam@0
|
286 # Create "$as_dir" as a directory, including parents if necessary.
|
adam@0
|
287 as_fn_mkdir_p ()
|
adam@0
|
288 {
|
adam@0
|
289
|
adam@0
|
290 case $as_dir in #(
|
adam@0
|
291 -*) as_dir=./$as_dir;;
|
adam@0
|
292 esac
|
adam@0
|
293 test -d "$as_dir" || eval $as_mkdir_p || {
|
adam@0
|
294 as_dirs=
|
adam@0
|
295 while :; do
|
adam@0
|
296 case $as_dir in #(
|
adam@0
|
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
adam@0
|
298 *) as_qdir=$as_dir;;
|
adam@0
|
299 esac
|
adam@0
|
300 as_dirs="'$as_qdir' $as_dirs"
|
adam@0
|
301 as_dir=`$as_dirname -- "$as_dir" ||
|
adam@0
|
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
303 X"$as_dir" : 'X\(//\)[^/]' \| \
|
adam@0
|
304 X"$as_dir" : 'X\(//\)$' \| \
|
adam@0
|
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
306 $as_echo X"$as_dir" |
|
adam@0
|
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
308 s//\1/
|
adam@0
|
309 q
|
adam@0
|
310 }
|
adam@0
|
311 /^X\(\/\/\)[^/].*/{
|
adam@0
|
312 s//\1/
|
adam@0
|
313 q
|
adam@0
|
314 }
|
adam@0
|
315 /^X\(\/\/\)$/{
|
adam@0
|
316 s//\1/
|
adam@0
|
317 q
|
adam@0
|
318 }
|
adam@0
|
319 /^X\(\/\).*/{
|
adam@0
|
320 s//\1/
|
adam@0
|
321 q
|
adam@0
|
322 }
|
adam@0
|
323 s/.*/./; q'`
|
adam@0
|
324 test -d "$as_dir" && break
|
adam@0
|
325 done
|
adam@0
|
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
adam@0
|
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
adam@0
|
328
|
adam@0
|
329
|
adam@0
|
330 } # as_fn_mkdir_p
|
adam@0
|
331 # as_fn_append VAR VALUE
|
adam@0
|
332 # ----------------------
|
adam@0
|
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
|
adam@0
|
334 # advantage of any shell optimizations that allow amortized linear growth over
|
adam@0
|
335 # repeated appends, instead of the typical quadratic growth present in naive
|
adam@0
|
336 # implementations.
|
adam@0
|
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
adam@0
|
338 eval 'as_fn_append ()
|
adam@0
|
339 {
|
adam@0
|
340 eval $1+=\$2
|
adam@0
|
341 }'
|
adam@0
|
342 else
|
adam@0
|
343 as_fn_append ()
|
adam@0
|
344 {
|
adam@0
|
345 eval $1=\$$1\$2
|
adam@0
|
346 }
|
adam@0
|
347 fi # as_fn_append
|
adam@0
|
348
|
adam@0
|
349 # as_fn_arith ARG...
|
adam@0
|
350 # ------------------
|
adam@0
|
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
|
adam@0
|
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
adam@0
|
353 # must be portable across $(()) and expr.
|
adam@0
|
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
adam@0
|
355 eval 'as_fn_arith ()
|
adam@0
|
356 {
|
adam@0
|
357 as_val=$(( $* ))
|
adam@0
|
358 }'
|
adam@0
|
359 else
|
adam@0
|
360 as_fn_arith ()
|
adam@0
|
361 {
|
adam@0
|
362 as_val=`expr "$@" || test $? -eq 1`
|
adam@0
|
363 }
|
adam@0
|
364 fi # as_fn_arith
|
adam@0
|
365
|
adam@0
|
366
|
adam@0
|
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
adam@0
|
368 # ----------------------------------------
|
adam@0
|
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
adam@0
|
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
adam@0
|
371 # script with STATUS, using 1 if that was 0.
|
adam@0
|
372 as_fn_error ()
|
adam@0
|
373 {
|
adam@0
|
374 as_status=$1; test $as_status -eq 0 && as_status=1
|
adam@0
|
375 if test "$4"; then
|
adam@0
|
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
adam@0
|
378 fi
|
adam@0
|
379 $as_echo "$as_me: error: $2" >&2
|
adam@0
|
380 as_fn_exit $as_status
|
adam@0
|
381 } # as_fn_error
|
adam@0
|
382
|
adam@0
|
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adam@0
|
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adam@0
|
385 as_expr=expr
|
adam@0
|
386 else
|
adam@0
|
387 as_expr=false
|
adam@0
|
388 fi
|
adam@0
|
389
|
adam@0
|
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
adam@0
|
391 as_basename=basename
|
adam@0
|
392 else
|
adam@0
|
393 as_basename=false
|
adam@0
|
394 fi
|
adam@0
|
395
|
adam@0
|
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
adam@0
|
397 as_dirname=dirname
|
adam@0
|
398 else
|
adam@0
|
399 as_dirname=false
|
adam@0
|
400 fi
|
adam@0
|
401
|
adam@0
|
402 as_me=`$as_basename -- "$0" ||
|
adam@0
|
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
adam@0
|
404 X"$0" : 'X\(//\)$' \| \
|
adam@0
|
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
406 $as_echo X/"$0" |
|
adam@0
|
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
adam@0
|
408 s//\1/
|
adam@0
|
409 q
|
adam@0
|
410 }
|
adam@0
|
411 /^X\/\(\/\/\)$/{
|
adam@0
|
412 s//\1/
|
adam@0
|
413 q
|
adam@0
|
414 }
|
adam@0
|
415 /^X\/\(\/\).*/{
|
adam@0
|
416 s//\1/
|
adam@0
|
417 q
|
adam@0
|
418 }
|
adam@0
|
419 s/.*/./; q'`
|
adam@0
|
420
|
adam@0
|
421 # Avoid depending upon Character Ranges.
|
adam@0
|
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
adam@0
|
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
adam@0
|
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
adam@0
|
425 as_cr_digits='0123456789'
|
adam@0
|
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
adam@0
|
427
|
adam@0
|
428
|
adam@0
|
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
adam@0
|
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
adam@0
|
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
adam@0
|
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
adam@0
|
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
adam@0
|
434 sed -n '
|
adam@0
|
435 p
|
adam@0
|
436 /[$]LINENO/=
|
adam@0
|
437 ' <$as_myself |
|
adam@0
|
438 sed '
|
adam@0
|
439 s/[$]LINENO.*/&-/
|
adam@0
|
440 t lineno
|
adam@0
|
441 b
|
adam@0
|
442 :lineno
|
adam@0
|
443 N
|
adam@0
|
444 :loop
|
adam@0
|
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
adam@0
|
446 t loop
|
adam@0
|
447 s/-\n.*//
|
adam@0
|
448 ' >$as_me.lineno &&
|
adam@0
|
449 chmod +x "$as_me.lineno" ||
|
adam@0
|
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
adam@0
|
451
|
adam@0
|
452 # Don't try to exec as it changes $[0], causing all sort of problems
|
adam@0
|
453 # (the dirname of $[0] is not the place where we might find the
|
adam@0
|
454 # original and so on. Autoconf is especially sensitive to this).
|
adam@0
|
455 . "./$as_me.lineno"
|
adam@0
|
456 # Exit status is that of the last command.
|
adam@0
|
457 exit
|
adam@0
|
458 }
|
adam@0
|
459
|
adam@0
|
460 ECHO_C= ECHO_N= ECHO_T=
|
adam@0
|
461 case `echo -n x` in #(((((
|
adam@0
|
462 -n*)
|
adam@0
|
463 case `echo 'xy\c'` in
|
adam@0
|
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
adam@0
|
465 xy) ECHO_C='\c';;
|
adam@0
|
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
adam@0
|
467 ECHO_T=' ';;
|
adam@0
|
468 esac;;
|
adam@0
|
469 *)
|
adam@0
|
470 ECHO_N='-n';;
|
adam@0
|
471 esac
|
adam@0
|
472
|
adam@0
|
473 rm -f conf$$ conf$$.exe conf$$.file
|
adam@0
|
474 if test -d conf$$.dir; then
|
adam@0
|
475 rm -f conf$$.dir/conf$$.file
|
adam@0
|
476 else
|
adam@0
|
477 rm -f conf$$.dir
|
adam@0
|
478 mkdir conf$$.dir 2>/dev/null
|
adam@0
|
479 fi
|
adam@0
|
480 if (echo >conf$$.file) 2>/dev/null; then
|
adam@0
|
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
482 as_ln_s='ln -s'
|
adam@0
|
483 # ... but there are two gotchas:
|
adam@0
|
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
adam@0
|
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
adam@0
|
486 # In both cases, we have to default to `cp -p'.
|
adam@0
|
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
adam@0
|
488 as_ln_s='cp -p'
|
adam@0
|
489 elif ln conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
490 as_ln_s=ln
|
adam@0
|
491 else
|
adam@0
|
492 as_ln_s='cp -p'
|
adam@0
|
493 fi
|
adam@0
|
494 else
|
adam@0
|
495 as_ln_s='cp -p'
|
adam@0
|
496 fi
|
adam@0
|
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
adam@0
|
498 rmdir conf$$.dir 2>/dev/null
|
adam@0
|
499
|
adam@0
|
500 if mkdir -p . 2>/dev/null; then
|
adam@0
|
501 as_mkdir_p='mkdir -p "$as_dir"'
|
adam@0
|
502 else
|
adam@0
|
503 test -d ./-p && rmdir ./-p
|
adam@0
|
504 as_mkdir_p=false
|
adam@0
|
505 fi
|
adam@0
|
506
|
adam@0
|
507 if test -x / >/dev/null 2>&1; then
|
adam@0
|
508 as_test_x='test -x'
|
adam@0
|
509 else
|
adam@0
|
510 if ls -dL / >/dev/null 2>&1; then
|
adam@0
|
511 as_ls_L_option=L
|
adam@0
|
512 else
|
adam@0
|
513 as_ls_L_option=
|
adam@0
|
514 fi
|
adam@0
|
515 as_test_x='
|
adam@0
|
516 eval sh -c '\''
|
adam@0
|
517 if test -d "$1"; then
|
adam@0
|
518 test -d "$1/.";
|
adam@0
|
519 else
|
adam@0
|
520 case $1 in #(
|
adam@0
|
521 -*)set "./$1";;
|
adam@0
|
522 esac;
|
adam@0
|
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
adam@0
|
524 ???[sx]*):;;*)false;;esac;fi
|
adam@0
|
525 '\'' sh
|
adam@0
|
526 '
|
adam@0
|
527 fi
|
adam@0
|
528 as_executable_p=$as_test_x
|
adam@0
|
529
|
adam@0
|
530 # Sed expression to map a string onto a valid CPP name.
|
adam@0
|
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
532
|
adam@0
|
533 # Sed expression to map a string onto a valid variable name.
|
adam@0
|
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
535
|
adam@0
|
536 SHELL=${CONFIG_SHELL-/bin/sh}
|
adam@0
|
537
|
adam@0
|
538
|
adam@0
|
539 test -n "$DJDIR" || exec 7<&0 </dev/null
|
adam@0
|
540 exec 6>&1
|
adam@0
|
541
|
adam@0
|
542 # Name of the host.
|
adam@0
|
543 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
adam@0
|
544 # so uname gets run too.
|
adam@0
|
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
adam@0
|
546
|
adam@0
|
547 #
|
adam@0
|
548 # Initializations.
|
adam@0
|
549 #
|
adam@0
|
550 ac_default_prefix=/usr/local
|
adam@0
|
551 ac_clean_files=
|
adam@0
|
552 ac_config_libobj_dir=.
|
adam@0
|
553 LIBOBJS=
|
adam@0
|
554 cross_compiling=no
|
adam@0
|
555 subdirs=
|
adam@0
|
556 MFLAGS=
|
adam@0
|
557 MAKEFLAGS=
|
adam@0
|
558
|
adam@0
|
559 # Identity of this package.
|
adam@0
|
560 PACKAGE_NAME='urweb_openid'
|
adam@0
|
561 PACKAGE_TARNAME='urweb_openid'
|
adam@0
|
562 PACKAGE_VERSION='1.0'
|
adam@0
|
563 PACKAGE_STRING='urweb_openid 1.0'
|
adam@0
|
564 PACKAGE_BUGREPORT=''
|
adam@0
|
565 PACKAGE_URL=''
|
adam@0
|
566
|
adam@0
|
567 # Factoring default headers for most tests.
|
adam@0
|
568 ac_includes_default="\
|
adam@0
|
569 #include <stdio.h>
|
adam@0
|
570 #ifdef HAVE_SYS_TYPES_H
|
adam@0
|
571 # include <sys/types.h>
|
adam@0
|
572 #endif
|
adam@0
|
573 #ifdef HAVE_SYS_STAT_H
|
adam@0
|
574 # include <sys/stat.h>
|
adam@0
|
575 #endif
|
adam@0
|
576 #ifdef STDC_HEADERS
|
adam@0
|
577 # include <stdlib.h>
|
adam@0
|
578 # include <stddef.h>
|
adam@0
|
579 #else
|
adam@0
|
580 # ifdef HAVE_STDLIB_H
|
adam@0
|
581 # include <stdlib.h>
|
adam@0
|
582 # endif
|
adam@0
|
583 #endif
|
adam@0
|
584 #ifdef HAVE_STRING_H
|
adam@0
|
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
adam@0
|
586 # include <memory.h>
|
adam@0
|
587 # endif
|
adam@0
|
588 # include <string.h>
|
adam@0
|
589 #endif
|
adam@0
|
590 #ifdef HAVE_STRINGS_H
|
adam@0
|
591 # include <strings.h>
|
adam@0
|
592 #endif
|
adam@0
|
593 #ifdef HAVE_INTTYPES_H
|
adam@0
|
594 # include <inttypes.h>
|
adam@0
|
595 #endif
|
adam@0
|
596 #ifdef HAVE_STDINT_H
|
adam@0
|
597 # include <stdint.h>
|
adam@0
|
598 #endif
|
adam@0
|
599 #ifdef HAVE_UNISTD_H
|
adam@0
|
600 # include <unistd.h>
|
adam@0
|
601 #endif"
|
adam@0
|
602
|
adam@0
|
603 ac_subst_vars='am__EXEEXT_FALSE
|
adam@0
|
604 am__EXEEXT_TRUE
|
adam@0
|
605 LTLIBOBJS
|
adam@0
|
606 LIBOBJS
|
adam@0
|
607 INCLUDE
|
adam@0
|
608 LIB
|
adam@1
|
609 EXPAT_VERSION
|
adam@1
|
610 EXPAT_LDFLAGS
|
adam@1
|
611 EXPAT_CFLAGS
|
adam@1
|
612 CXXCPP
|
adam@1
|
613 am__fastdepCXX_FALSE
|
adam@1
|
614 am__fastdepCXX_TRUE
|
adam@1
|
615 CXXDEPMODE
|
adam@1
|
616 ac_ct_CXX
|
adam@1
|
617 CXXFLAGS
|
adam@1
|
618 CXX
|
adam@0
|
619 LIBCURL
|
adam@0
|
620 LIBCURL_CPPFLAGS
|
adam@0
|
621 _libcurl_config
|
adam@0
|
622 OPENSSL_LDFLAGS
|
adam@0
|
623 OPENSSL_LIBS
|
adam@0
|
624 OPENSSL_INCLUDES
|
adam@0
|
625 PKG_CONFIG
|
adam@0
|
626 OTOOL64
|
adam@0
|
627 OTOOL
|
adam@0
|
628 LIPO
|
adam@0
|
629 NMEDIT
|
adam@0
|
630 DSYMUTIL
|
adam@47
|
631 MANIFEST_TOOL
|
adam@0
|
632 RANLIB
|
adam@47
|
633 ac_ct_AR
|
adam@0
|
634 AR
|
adam@47
|
635 DLLTOOL
|
adam@0
|
636 OBJDUMP
|
adam@0
|
637 LN_S
|
adam@0
|
638 NM
|
adam@0
|
639 ac_ct_DUMPBIN
|
adam@0
|
640 DUMPBIN
|
adam@0
|
641 LD
|
adam@0
|
642 FGREP
|
adam@0
|
643 SED
|
adam@0
|
644 host_os
|
adam@0
|
645 host_vendor
|
adam@0
|
646 host_cpu
|
adam@0
|
647 host
|
adam@0
|
648 build_os
|
adam@0
|
649 build_vendor
|
adam@0
|
650 build_cpu
|
adam@0
|
651 build
|
adam@0
|
652 LIBTOOL
|
adam@0
|
653 am__fastdepCC_FALSE
|
adam@0
|
654 am__fastdepCC_TRUE
|
adam@0
|
655 CCDEPMODE
|
adam@0
|
656 AMDEPBACKSLASH
|
adam@0
|
657 AMDEP_FALSE
|
adam@0
|
658 AMDEP_TRUE
|
adam@0
|
659 am__quote
|
adam@0
|
660 am__include
|
adam@0
|
661 DEPDIR
|
adam@0
|
662 am__untar
|
adam@0
|
663 am__tar
|
adam@0
|
664 AMTAR
|
adam@0
|
665 am__leading_dot
|
adam@0
|
666 SET_MAKE
|
adam@0
|
667 AWK
|
adam@0
|
668 mkdir_p
|
adam@0
|
669 MKDIR_P
|
adam@0
|
670 INSTALL_STRIP_PROGRAM
|
adam@0
|
671 STRIP
|
adam@0
|
672 install_sh
|
adam@0
|
673 MAKEINFO
|
adam@0
|
674 AUTOHEADER
|
adam@0
|
675 AUTOMAKE
|
adam@0
|
676 AUTOCONF
|
adam@0
|
677 ACLOCAL
|
adam@0
|
678 VERSION
|
adam@0
|
679 PACKAGE
|
adam@0
|
680 CYGPATH_W
|
adam@0
|
681 am__isrc
|
adam@0
|
682 INSTALL_DATA
|
adam@0
|
683 INSTALL_SCRIPT
|
adam@0
|
684 INSTALL_PROGRAM
|
adam@0
|
685 EGREP
|
adam@0
|
686 GREP
|
adam@0
|
687 CPP
|
adam@0
|
688 OBJEXT
|
adam@0
|
689 EXEEXT
|
adam@0
|
690 ac_ct_CC
|
adam@0
|
691 CPPFLAGS
|
adam@0
|
692 LDFLAGS
|
adam@0
|
693 CFLAGS
|
adam@0
|
694 CC
|
adam@0
|
695 target_alias
|
adam@0
|
696 host_alias
|
adam@0
|
697 build_alias
|
adam@0
|
698 LIBS
|
adam@0
|
699 ECHO_T
|
adam@0
|
700 ECHO_N
|
adam@0
|
701 ECHO_C
|
adam@0
|
702 DEFS
|
adam@0
|
703 mandir
|
adam@0
|
704 localedir
|
adam@0
|
705 libdir
|
adam@0
|
706 psdir
|
adam@0
|
707 pdfdir
|
adam@0
|
708 dvidir
|
adam@0
|
709 htmldir
|
adam@0
|
710 infodir
|
adam@0
|
711 docdir
|
adam@0
|
712 oldincludedir
|
adam@0
|
713 includedir
|
adam@0
|
714 localstatedir
|
adam@0
|
715 sharedstatedir
|
adam@0
|
716 sysconfdir
|
adam@0
|
717 datadir
|
adam@0
|
718 datarootdir
|
adam@0
|
719 libexecdir
|
adam@0
|
720 sbindir
|
adam@0
|
721 bindir
|
adam@0
|
722 program_transform_name
|
adam@0
|
723 prefix
|
adam@0
|
724 exec_prefix
|
adam@0
|
725 PACKAGE_URL
|
adam@0
|
726 PACKAGE_BUGREPORT
|
adam@0
|
727 PACKAGE_STRING
|
adam@0
|
728 PACKAGE_VERSION
|
adam@0
|
729 PACKAGE_TARNAME
|
adam@0
|
730 PACKAGE_NAME
|
adam@0
|
731 PATH_SEPARATOR
|
adam@0
|
732 SHELL'
|
adam@0
|
733 ac_subst_files=''
|
adam@0
|
734 ac_user_opts='
|
adam@0
|
735 enable_option_checking
|
adam@0
|
736 enable_dependency_tracking
|
adam@0
|
737 enable_shared
|
adam@0
|
738 enable_static
|
adam@0
|
739 with_pic
|
adam@0
|
740 enable_fast_install
|
adam@0
|
741 with_gnu_ld
|
adam@47
|
742 with_sysroot
|
adam@0
|
743 enable_libtool_lock
|
adam@0
|
744 with_openssl
|
adam@0
|
745 with_libcurl
|
adam@1
|
746 with_expat
|
adam@1
|
747 with_expat_inc
|
adam@1
|
748 with_expat_lib
|
adam@0
|
749 '
|
adam@0
|
750 ac_precious_vars='build_alias
|
adam@0
|
751 host_alias
|
adam@0
|
752 target_alias
|
adam@0
|
753 CC
|
adam@0
|
754 CFLAGS
|
adam@0
|
755 LDFLAGS
|
adam@0
|
756 LIBS
|
adam@0
|
757 CPPFLAGS
|
adam@1
|
758 CPP
|
adam@1
|
759 CXX
|
adam@1
|
760 CXXFLAGS
|
adam@1
|
761 CCC
|
adam@1
|
762 CXXCPP'
|
adam@0
|
763
|
adam@0
|
764
|
adam@0
|
765 # Initialize some variables set by options.
|
adam@0
|
766 ac_init_help=
|
adam@0
|
767 ac_init_version=false
|
adam@0
|
768 ac_unrecognized_opts=
|
adam@0
|
769 ac_unrecognized_sep=
|
adam@0
|
770 # The variables have the same names as the options, with
|
adam@0
|
771 # dashes changed to underlines.
|
adam@0
|
772 cache_file=/dev/null
|
adam@0
|
773 exec_prefix=NONE
|
adam@0
|
774 no_create=
|
adam@0
|
775 no_recursion=
|
adam@0
|
776 prefix=NONE
|
adam@0
|
777 program_prefix=NONE
|
adam@0
|
778 program_suffix=NONE
|
adam@0
|
779 program_transform_name=s,x,x,
|
adam@0
|
780 silent=
|
adam@0
|
781 site=
|
adam@0
|
782 srcdir=
|
adam@0
|
783 verbose=
|
adam@0
|
784 x_includes=NONE
|
adam@0
|
785 x_libraries=NONE
|
adam@0
|
786
|
adam@0
|
787 # Installation directory options.
|
adam@0
|
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
|
adam@0
|
789 # and all the variables that are supposed to be based on exec_prefix
|
adam@0
|
790 # by default will actually change.
|
adam@0
|
791 # Use braces instead of parens because sh, perl, etc. also accept them.
|
adam@0
|
792 # (The list follows the same order as the GNU Coding Standards.)
|
adam@0
|
793 bindir='${exec_prefix}/bin'
|
adam@0
|
794 sbindir='${exec_prefix}/sbin'
|
adam@0
|
795 libexecdir='${exec_prefix}/libexec'
|
adam@0
|
796 datarootdir='${prefix}/share'
|
adam@0
|
797 datadir='${datarootdir}'
|
adam@0
|
798 sysconfdir='${prefix}/etc'
|
adam@0
|
799 sharedstatedir='${prefix}/com'
|
adam@0
|
800 localstatedir='${prefix}/var'
|
adam@0
|
801 includedir='${prefix}/include'
|
adam@0
|
802 oldincludedir='/usr/include'
|
adam@0
|
803 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
adam@0
|
804 infodir='${datarootdir}/info'
|
adam@0
|
805 htmldir='${docdir}'
|
adam@0
|
806 dvidir='${docdir}'
|
adam@0
|
807 pdfdir='${docdir}'
|
adam@0
|
808 psdir='${docdir}'
|
adam@0
|
809 libdir='${exec_prefix}/lib'
|
adam@0
|
810 localedir='${datarootdir}/locale'
|
adam@0
|
811 mandir='${datarootdir}/man'
|
adam@0
|
812
|
adam@0
|
813 ac_prev=
|
adam@0
|
814 ac_dashdash=
|
adam@0
|
815 for ac_option
|
adam@0
|
816 do
|
adam@0
|
817 # If the previous option needs an argument, assign it.
|
adam@0
|
818 if test -n "$ac_prev"; then
|
adam@0
|
819 eval $ac_prev=\$ac_option
|
adam@0
|
820 ac_prev=
|
adam@0
|
821 continue
|
adam@0
|
822 fi
|
adam@0
|
823
|
adam@0
|
824 case $ac_option in
|
adam@0
|
825 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
adam@0
|
826 *=) ac_optarg= ;;
|
adam@0
|
827 *) ac_optarg=yes ;;
|
adam@0
|
828 esac
|
adam@0
|
829
|
adam@0
|
830 # Accept the important Cygnus configure options, so we can diagnose typos.
|
adam@0
|
831
|
adam@0
|
832 case $ac_dashdash$ac_option in
|
adam@0
|
833 --)
|
adam@0
|
834 ac_dashdash=yes ;;
|
adam@0
|
835
|
adam@0
|
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
adam@0
|
837 ac_prev=bindir ;;
|
adam@0
|
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
adam@0
|
839 bindir=$ac_optarg ;;
|
adam@0
|
840
|
adam@0
|
841 -build | --build | --buil | --bui | --bu)
|
adam@0
|
842 ac_prev=build_alias ;;
|
adam@0
|
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
adam@0
|
844 build_alias=$ac_optarg ;;
|
adam@0
|
845
|
adam@0
|
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
|
adam@0
|
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
adam@0
|
848 ac_prev=cache_file ;;
|
adam@0
|
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
adam@0
|
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
adam@0
|
851 cache_file=$ac_optarg ;;
|
adam@0
|
852
|
adam@0
|
853 --config-cache | -C)
|
adam@0
|
854 cache_file=config.cache ;;
|
adam@0
|
855
|
adam@0
|
856 -datadir | --datadir | --datadi | --datad)
|
adam@0
|
857 ac_prev=datadir ;;
|
adam@0
|
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
adam@0
|
859 datadir=$ac_optarg ;;
|
adam@0
|
860
|
adam@0
|
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
adam@0
|
862 | --dataroo | --dataro | --datar)
|
adam@0
|
863 ac_prev=datarootdir ;;
|
adam@0
|
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
adam@0
|
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
adam@0
|
866 datarootdir=$ac_optarg ;;
|
adam@0
|
867
|
adam@0
|
868 -disable-* | --disable-*)
|
adam@0
|
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
adam@0
|
870 # Reject names that are not valid shell variable names.
|
adam@0
|
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
872 as_fn_error $? "invalid feature name: $ac_useropt"
|
adam@0
|
873 ac_useropt_orig=$ac_useropt
|
adam@0
|
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
875 case $ac_user_opts in
|
adam@0
|
876 *"
|
adam@0
|
877 "enable_$ac_useropt"
|
adam@0
|
878 "*) ;;
|
adam@0
|
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
adam@0
|
880 ac_unrecognized_sep=', ';;
|
adam@0
|
881 esac
|
adam@0
|
882 eval enable_$ac_useropt=no ;;
|
adam@0
|
883
|
adam@0
|
884 -docdir | --docdir | --docdi | --doc | --do)
|
adam@0
|
885 ac_prev=docdir ;;
|
adam@0
|
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
adam@0
|
887 docdir=$ac_optarg ;;
|
adam@0
|
888
|
adam@0
|
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
adam@0
|
890 ac_prev=dvidir ;;
|
adam@0
|
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
adam@0
|
892 dvidir=$ac_optarg ;;
|
adam@0
|
893
|
adam@0
|
894 -enable-* | --enable-*)
|
adam@0
|
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
adam@0
|
896 # Reject names that are not valid shell variable names.
|
adam@0
|
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
898 as_fn_error $? "invalid feature name: $ac_useropt"
|
adam@0
|
899 ac_useropt_orig=$ac_useropt
|
adam@0
|
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
901 case $ac_user_opts in
|
adam@0
|
902 *"
|
adam@0
|
903 "enable_$ac_useropt"
|
adam@0
|
904 "*) ;;
|
adam@0
|
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
adam@0
|
906 ac_unrecognized_sep=', ';;
|
adam@0
|
907 esac
|
adam@0
|
908 eval enable_$ac_useropt=\$ac_optarg ;;
|
adam@0
|
909
|
adam@0
|
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
adam@0
|
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
adam@0
|
912 | --exec | --exe | --ex)
|
adam@0
|
913 ac_prev=exec_prefix ;;
|
adam@0
|
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
adam@0
|
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
adam@0
|
916 | --exec=* | --exe=* | --ex=*)
|
adam@0
|
917 exec_prefix=$ac_optarg ;;
|
adam@0
|
918
|
adam@0
|
919 -gas | --gas | --ga | --g)
|
adam@0
|
920 # Obsolete; use --with-gas.
|
adam@0
|
921 with_gas=yes ;;
|
adam@0
|
922
|
adam@0
|
923 -help | --help | --hel | --he | -h)
|
adam@0
|
924 ac_init_help=long ;;
|
adam@0
|
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
adam@0
|
926 ac_init_help=recursive ;;
|
adam@0
|
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
adam@0
|
928 ac_init_help=short ;;
|
adam@0
|
929
|
adam@0
|
930 -host | --host | --hos | --ho)
|
adam@0
|
931 ac_prev=host_alias ;;
|
adam@0
|
932 -host=* | --host=* | --hos=* | --ho=*)
|
adam@0
|
933 host_alias=$ac_optarg ;;
|
adam@0
|
934
|
adam@0
|
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
adam@0
|
936 ac_prev=htmldir ;;
|
adam@0
|
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
adam@0
|
938 | --ht=*)
|
adam@0
|
939 htmldir=$ac_optarg ;;
|
adam@0
|
940
|
adam@0
|
941 -includedir | --includedir | --includedi | --included | --include \
|
adam@0
|
942 | --includ | --inclu | --incl | --inc)
|
adam@0
|
943 ac_prev=includedir ;;
|
adam@0
|
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
adam@0
|
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
|
adam@0
|
946 includedir=$ac_optarg ;;
|
adam@0
|
947
|
adam@0
|
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
|
adam@0
|
949 ac_prev=infodir ;;
|
adam@0
|
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
adam@0
|
951 infodir=$ac_optarg ;;
|
adam@0
|
952
|
adam@0
|
953 -libdir | --libdir | --libdi | --libd)
|
adam@0
|
954 ac_prev=libdir ;;
|
adam@0
|
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
adam@0
|
956 libdir=$ac_optarg ;;
|
adam@0
|
957
|
adam@0
|
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
adam@0
|
959 | --libexe | --libex | --libe)
|
adam@0
|
960 ac_prev=libexecdir ;;
|
adam@0
|
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
adam@0
|
962 | --libexe=* | --libex=* | --libe=*)
|
adam@0
|
963 libexecdir=$ac_optarg ;;
|
adam@0
|
964
|
adam@0
|
965 -localedir | --localedir | --localedi | --localed | --locale)
|
adam@0
|
966 ac_prev=localedir ;;
|
adam@0
|
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
adam@0
|
968 localedir=$ac_optarg ;;
|
adam@0
|
969
|
adam@0
|
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
|
adam@0
|
971 | --localstate | --localstat | --localsta | --localst | --locals)
|
adam@0
|
972 ac_prev=localstatedir ;;
|
adam@0
|
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
adam@0
|
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
adam@0
|
975 localstatedir=$ac_optarg ;;
|
adam@0
|
976
|
adam@0
|
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
adam@0
|
978 ac_prev=mandir ;;
|
adam@0
|
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
adam@0
|
980 mandir=$ac_optarg ;;
|
adam@0
|
981
|
adam@0
|
982 -nfp | --nfp | --nf)
|
adam@0
|
983 # Obsolete; use --without-fp.
|
adam@0
|
984 with_fp=no ;;
|
adam@0
|
985
|
adam@0
|
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
adam@0
|
987 | --no-cr | --no-c | -n)
|
adam@0
|
988 no_create=yes ;;
|
adam@0
|
989
|
adam@0
|
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
adam@0
|
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
adam@0
|
992 no_recursion=yes ;;
|
adam@0
|
993
|
adam@0
|
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
adam@0
|
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
adam@0
|
996 | --oldin | --oldi | --old | --ol | --o)
|
adam@0
|
997 ac_prev=oldincludedir ;;
|
adam@0
|
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
adam@0
|
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
adam@0
|
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
adam@0
|
1001 oldincludedir=$ac_optarg ;;
|
adam@0
|
1002
|
adam@0
|
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
adam@0
|
1004 ac_prev=prefix ;;
|
adam@0
|
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
adam@0
|
1006 prefix=$ac_optarg ;;
|
adam@0
|
1007
|
adam@0
|
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
adam@0
|
1009 | --program-pre | --program-pr | --program-p)
|
adam@0
|
1010 ac_prev=program_prefix ;;
|
adam@0
|
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
adam@0
|
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
adam@0
|
1013 program_prefix=$ac_optarg ;;
|
adam@0
|
1014
|
adam@0
|
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
adam@0
|
1016 | --program-suf | --program-su | --program-s)
|
adam@0
|
1017 ac_prev=program_suffix ;;
|
adam@0
|
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
adam@0
|
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
adam@0
|
1020 program_suffix=$ac_optarg ;;
|
adam@0
|
1021
|
adam@0
|
1022 -program-transform-name | --program-transform-name \
|
adam@0
|
1023 | --program-transform-nam | --program-transform-na \
|
adam@0
|
1024 | --program-transform-n | --program-transform- \
|
adam@0
|
1025 | --program-transform | --program-transfor \
|
adam@0
|
1026 | --program-transfo | --program-transf \
|
adam@0
|
1027 | --program-trans | --program-tran \
|
adam@0
|
1028 | --progr-tra | --program-tr | --program-t)
|
adam@0
|
1029 ac_prev=program_transform_name ;;
|
adam@0
|
1030 -program-transform-name=* | --program-transform-name=* \
|
adam@0
|
1031 | --program-transform-nam=* | --program-transform-na=* \
|
adam@0
|
1032 | --program-transform-n=* | --program-transform-=* \
|
adam@0
|
1033 | --program-transform=* | --program-transfor=* \
|
adam@0
|
1034 | --program-transfo=* | --program-transf=* \
|
adam@0
|
1035 | --program-trans=* | --program-tran=* \
|
adam@0
|
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
|
adam@0
|
1037 program_transform_name=$ac_optarg ;;
|
adam@0
|
1038
|
adam@0
|
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
adam@0
|
1040 ac_prev=pdfdir ;;
|
adam@0
|
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
adam@0
|
1042 pdfdir=$ac_optarg ;;
|
adam@0
|
1043
|
adam@0
|
1044 -psdir | --psdir | --psdi | --psd | --ps)
|
adam@0
|
1045 ac_prev=psdir ;;
|
adam@0
|
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
adam@0
|
1047 psdir=$ac_optarg ;;
|
adam@0
|
1048
|
adam@0
|
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adam@0
|
1050 | -silent | --silent | --silen | --sile | --sil)
|
adam@0
|
1051 silent=yes ;;
|
adam@0
|
1052
|
adam@0
|
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
adam@0
|
1054 ac_prev=sbindir ;;
|
adam@0
|
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
adam@0
|
1056 | --sbi=* | --sb=*)
|
adam@0
|
1057 sbindir=$ac_optarg ;;
|
adam@0
|
1058
|
adam@0
|
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
adam@0
|
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
adam@0
|
1061 | --sharedst | --shareds | --shared | --share | --shar \
|
adam@0
|
1062 | --sha | --sh)
|
adam@0
|
1063 ac_prev=sharedstatedir ;;
|
adam@0
|
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
adam@0
|
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
adam@0
|
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
adam@0
|
1067 | --sha=* | --sh=*)
|
adam@0
|
1068 sharedstatedir=$ac_optarg ;;
|
adam@0
|
1069
|
adam@0
|
1070 -site | --site | --sit)
|
adam@0
|
1071 ac_prev=site ;;
|
adam@0
|
1072 -site=* | --site=* | --sit=*)
|
adam@0
|
1073 site=$ac_optarg ;;
|
adam@0
|
1074
|
adam@0
|
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
adam@0
|
1076 ac_prev=srcdir ;;
|
adam@0
|
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
adam@0
|
1078 srcdir=$ac_optarg ;;
|
adam@0
|
1079
|
adam@0
|
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
adam@0
|
1081 | --syscon | --sysco | --sysc | --sys | --sy)
|
adam@0
|
1082 ac_prev=sysconfdir ;;
|
adam@0
|
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
adam@0
|
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
adam@0
|
1085 sysconfdir=$ac_optarg ;;
|
adam@0
|
1086
|
adam@0
|
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
|
adam@0
|
1088 ac_prev=target_alias ;;
|
adam@0
|
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
adam@0
|
1090 target_alias=$ac_optarg ;;
|
adam@0
|
1091
|
adam@0
|
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
adam@0
|
1093 verbose=yes ;;
|
adam@0
|
1094
|
adam@0
|
1095 -version | --version | --versio | --versi | --vers | -V)
|
adam@0
|
1096 ac_init_version=: ;;
|
adam@0
|
1097
|
adam@0
|
1098 -with-* | --with-*)
|
adam@0
|
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
adam@0
|
1100 # Reject names that are not valid shell variable names.
|
adam@0
|
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
1102 as_fn_error $? "invalid package name: $ac_useropt"
|
adam@0
|
1103 ac_useropt_orig=$ac_useropt
|
adam@0
|
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
1105 case $ac_user_opts in
|
adam@0
|
1106 *"
|
adam@0
|
1107 "with_$ac_useropt"
|
adam@0
|
1108 "*) ;;
|
adam@0
|
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
adam@0
|
1110 ac_unrecognized_sep=', ';;
|
adam@0
|
1111 esac
|
adam@0
|
1112 eval with_$ac_useropt=\$ac_optarg ;;
|
adam@0
|
1113
|
adam@0
|
1114 -without-* | --without-*)
|
adam@0
|
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
adam@0
|
1116 # Reject names that are not valid shell variable names.
|
adam@0
|
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
1118 as_fn_error $? "invalid package name: $ac_useropt"
|
adam@0
|
1119 ac_useropt_orig=$ac_useropt
|
adam@0
|
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
1121 case $ac_user_opts in
|
adam@0
|
1122 *"
|
adam@0
|
1123 "with_$ac_useropt"
|
adam@0
|
1124 "*) ;;
|
adam@0
|
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
adam@0
|
1126 ac_unrecognized_sep=', ';;
|
adam@0
|
1127 esac
|
adam@0
|
1128 eval with_$ac_useropt=no ;;
|
adam@0
|
1129
|
adam@0
|
1130 --x)
|
adam@0
|
1131 # Obsolete; use --with-x.
|
adam@0
|
1132 with_x=yes ;;
|
adam@0
|
1133
|
adam@0
|
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
adam@0
|
1135 | --x-incl | --x-inc | --x-in | --x-i)
|
adam@0
|
1136 ac_prev=x_includes ;;
|
adam@0
|
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
adam@0
|
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
adam@0
|
1139 x_includes=$ac_optarg ;;
|
adam@0
|
1140
|
adam@0
|
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
adam@0
|
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
adam@0
|
1143 ac_prev=x_libraries ;;
|
adam@0
|
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
adam@0
|
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
adam@0
|
1146 x_libraries=$ac_optarg ;;
|
adam@0
|
1147
|
adam@0
|
1148 -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
adam@0
|
1149 Try \`$0 --help' for more information"
|
adam@0
|
1150 ;;
|
adam@0
|
1151
|
adam@0
|
1152 *=*)
|
adam@0
|
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
adam@0
|
1154 # Reject names that are not valid shell variable names.
|
adam@0
|
1155 case $ac_envvar in #(
|
adam@0
|
1156 '' | [0-9]* | *[!_$as_cr_alnum]* )
|
adam@0
|
1157 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
adam@0
|
1158 esac
|
adam@0
|
1159 eval $ac_envvar=\$ac_optarg
|
adam@0
|
1160 export $ac_envvar ;;
|
adam@0
|
1161
|
adam@0
|
1162 *)
|
adam@0
|
1163 # FIXME: should be removed in autoconf 3.0.
|
adam@0
|
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
adam@0
|
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
adam@64
|
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
adam@0
|
1168 ;;
|
adam@0
|
1169
|
adam@0
|
1170 esac
|
adam@0
|
1171 done
|
adam@0
|
1172
|
adam@0
|
1173 if test -n "$ac_prev"; then
|
adam@0
|
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
adam@0
|
1175 as_fn_error $? "missing argument to $ac_option"
|
adam@0
|
1176 fi
|
adam@0
|
1177
|
adam@0
|
1178 if test -n "$ac_unrecognized_opts"; then
|
adam@0
|
1179 case $enable_option_checking in
|
adam@0
|
1180 no) ;;
|
adam@0
|
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
adam@0
|
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
adam@0
|
1183 esac
|
adam@0
|
1184 fi
|
adam@0
|
1185
|
adam@0
|
1186 # Check all directory arguments for consistency.
|
adam@0
|
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
adam@0
|
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
|
adam@0
|
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
adam@0
|
1190 libdir localedir mandir
|
adam@0
|
1191 do
|
adam@0
|
1192 eval ac_val=\$$ac_var
|
adam@0
|
1193 # Remove trailing slashes.
|
adam@0
|
1194 case $ac_val in
|
adam@0
|
1195 */ )
|
adam@0
|
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
adam@0
|
1197 eval $ac_var=\$ac_val;;
|
adam@0
|
1198 esac
|
adam@0
|
1199 # Be sure to have absolute directory names.
|
adam@0
|
1200 case $ac_val in
|
adam@0
|
1201 [\\/$]* | ?:[\\/]* ) continue;;
|
adam@0
|
1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
adam@0
|
1203 esac
|
adam@0
|
1204 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
adam@0
|
1205 done
|
adam@0
|
1206
|
adam@0
|
1207 # There might be people who depend on the old broken behavior: `$host'
|
adam@0
|
1208 # used to hold the argument of --host etc.
|
adam@0
|
1209 # FIXME: To remove some day.
|
adam@0
|
1210 build=$build_alias
|
adam@0
|
1211 host=$host_alias
|
adam@0
|
1212 target=$target_alias
|
adam@0
|
1213
|
adam@0
|
1214 # FIXME: To remove some day.
|
adam@0
|
1215 if test "x$host_alias" != x; then
|
adam@0
|
1216 if test "x$build_alias" = x; then
|
adam@0
|
1217 cross_compiling=maybe
|
adam@0
|
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
adam@0
|
1219 If a cross compiler is detected then cross compile mode will be used" >&2
|
adam@0
|
1220 elif test "x$build_alias" != "x$host_alias"; then
|
adam@0
|
1221 cross_compiling=yes
|
adam@0
|
1222 fi
|
adam@0
|
1223 fi
|
adam@0
|
1224
|
adam@0
|
1225 ac_tool_prefix=
|
adam@0
|
1226 test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
adam@0
|
1227
|
adam@0
|
1228 test "$silent" = yes && exec 6>/dev/null
|
adam@0
|
1229
|
adam@0
|
1230
|
adam@0
|
1231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
adam@0
|
1232 ac_ls_di=`ls -di .` &&
|
adam@0
|
1233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
adam@0
|
1234 as_fn_error $? "working directory cannot be determined"
|
adam@0
|
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
adam@0
|
1236 as_fn_error $? "pwd does not report name of working directory"
|
adam@0
|
1237
|
adam@0
|
1238
|
adam@0
|
1239 # Find the source files, if location was not specified.
|
adam@0
|
1240 if test -z "$srcdir"; then
|
adam@0
|
1241 ac_srcdir_defaulted=yes
|
adam@0
|
1242 # Try the directory containing this script, then the parent directory.
|
adam@0
|
1243 ac_confdir=`$as_dirname -- "$as_myself" ||
|
adam@0
|
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
|
adam@0
|
1246 X"$as_myself" : 'X\(//\)$' \| \
|
adam@0
|
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
1248 $as_echo X"$as_myself" |
|
adam@0
|
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
1250 s//\1/
|
adam@0
|
1251 q
|
adam@0
|
1252 }
|
adam@0
|
1253 /^X\(\/\/\)[^/].*/{
|
adam@0
|
1254 s//\1/
|
adam@0
|
1255 q
|
adam@0
|
1256 }
|
adam@0
|
1257 /^X\(\/\/\)$/{
|
adam@0
|
1258 s//\1/
|
adam@0
|
1259 q
|
adam@0
|
1260 }
|
adam@0
|
1261 /^X\(\/\).*/{
|
adam@0
|
1262 s//\1/
|
adam@0
|
1263 q
|
adam@0
|
1264 }
|
adam@0
|
1265 s/.*/./; q'`
|
adam@0
|
1266 srcdir=$ac_confdir
|
adam@0
|
1267 if test ! -r "$srcdir/$ac_unique_file"; then
|
adam@0
|
1268 srcdir=..
|
adam@0
|
1269 fi
|
adam@0
|
1270 else
|
adam@0
|
1271 ac_srcdir_defaulted=no
|
adam@0
|
1272 fi
|
adam@0
|
1273 if test ! -r "$srcdir/$ac_unique_file"; then
|
adam@0
|
1274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
adam@0
|
1275 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
adam@0
|
1276 fi
|
adam@0
|
1277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
adam@0
|
1278 ac_abs_confdir=`(
|
adam@0
|
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
adam@0
|
1280 pwd)`
|
adam@0
|
1281 # When building in place, set srcdir=.
|
adam@0
|
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
|
adam@0
|
1283 srcdir=.
|
adam@0
|
1284 fi
|
adam@0
|
1285 # Remove unnecessary trailing slashes from srcdir.
|
adam@0
|
1286 # Double slashes in file names in object file debugging info
|
adam@0
|
1287 # mess up M-x gdb in Emacs.
|
adam@0
|
1288 case $srcdir in
|
adam@0
|
1289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
adam@0
|
1290 esac
|
adam@0
|
1291 for ac_var in $ac_precious_vars; do
|
adam@0
|
1292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
adam@0
|
1293 eval ac_env_${ac_var}_value=\$${ac_var}
|
adam@0
|
1294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
adam@0
|
1295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
adam@0
|
1296 done
|
adam@0
|
1297
|
adam@0
|
1298 #
|
adam@0
|
1299 # Report the --help message.
|
adam@0
|
1300 #
|
adam@0
|
1301 if test "$ac_init_help" = "long"; then
|
adam@0
|
1302 # Omit some internal or obsolete options to make the list less imposing.
|
adam@0
|
1303 # This message is too long to be a string in the A/UX 3.1 sh.
|
adam@0
|
1304 cat <<_ACEOF
|
adam@0
|
1305 \`configure' configures urweb_openid 1.0 to adapt to many kinds of systems.
|
adam@0
|
1306
|
adam@0
|
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
|
adam@0
|
1308
|
adam@0
|
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
adam@0
|
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
|
adam@0
|
1311
|
adam@0
|
1312 Defaults for the options are specified in brackets.
|
adam@0
|
1313
|
adam@0
|
1314 Configuration:
|
adam@0
|
1315 -h, --help display this help and exit
|
adam@0
|
1316 --help=short display options specific to this package
|
adam@0
|
1317 --help=recursive display the short help of all the included packages
|
adam@0
|
1318 -V, --version display version information and exit
|
adam@0
|
1319 -q, --quiet, --silent do not print \`checking ...' messages
|
adam@0
|
1320 --cache-file=FILE cache test results in FILE [disabled]
|
adam@0
|
1321 -C, --config-cache alias for \`--cache-file=config.cache'
|
adam@0
|
1322 -n, --no-create do not create output files
|
adam@0
|
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
adam@0
|
1324
|
adam@0
|
1325 Installation directories:
|
adam@0
|
1326 --prefix=PREFIX install architecture-independent files in PREFIX
|
adam@0
|
1327 [$ac_default_prefix]
|
adam@0
|
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
adam@0
|
1329 [PREFIX]
|
adam@0
|
1330
|
adam@0
|
1331 By default, \`make install' will install all the files in
|
adam@0
|
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
adam@0
|
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
adam@0
|
1334 for instance \`--prefix=\$HOME'.
|
adam@0
|
1335
|
adam@0
|
1336 For better control, use the options below.
|
adam@0
|
1337
|
adam@0
|
1338 Fine tuning of the installation directories:
|
adam@0
|
1339 --bindir=DIR user executables [EPREFIX/bin]
|
adam@0
|
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
|
adam@0
|
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
|
adam@0
|
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
adam@0
|
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
adam@0
|
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
adam@0
|
1345 --libdir=DIR object code libraries [EPREFIX/lib]
|
adam@0
|
1346 --includedir=DIR C header files [PREFIX/include]
|
adam@0
|
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
adam@0
|
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
adam@0
|
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
adam@0
|
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
|
adam@0
|
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
adam@0
|
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
|
adam@0
|
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/urweb_openid]
|
adam@0
|
1354 --htmldir=DIR html documentation [DOCDIR]
|
adam@0
|
1355 --dvidir=DIR dvi documentation [DOCDIR]
|
adam@0
|
1356 --pdfdir=DIR pdf documentation [DOCDIR]
|
adam@0
|
1357 --psdir=DIR ps documentation [DOCDIR]
|
adam@0
|
1358 _ACEOF
|
adam@0
|
1359
|
adam@0
|
1360 cat <<\_ACEOF
|
adam@0
|
1361
|
adam@0
|
1362 Program names:
|
adam@0
|
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
|
adam@0
|
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
|
adam@0
|
1365 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
adam@0
|
1366
|
adam@0
|
1367 System types:
|
adam@0
|
1368 --build=BUILD configure for building on BUILD [guessed]
|
adam@0
|
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
adam@0
|
1370 _ACEOF
|
adam@0
|
1371 fi
|
adam@0
|
1372
|
adam@0
|
1373 if test -n "$ac_init_help"; then
|
adam@0
|
1374 case $ac_init_help in
|
adam@0
|
1375 short | recursive ) echo "Configuration of urweb_openid 1.0:";;
|
adam@0
|
1376 esac
|
adam@0
|
1377 cat <<\_ACEOF
|
adam@0
|
1378
|
adam@0
|
1379 Optional Features:
|
adam@0
|
1380 --disable-option-checking ignore unrecognized --enable/--with options
|
adam@0
|
1381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
adam@0
|
1382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
adam@0
|
1383 --disable-dependency-tracking speeds up one-time build
|
adam@0
|
1384 --enable-dependency-tracking do not reject slow dependency extractors
|
adam@0
|
1385 --enable-shared[=PKGS] build shared libraries [default=yes]
|
adam@0
|
1386 --enable-static[=PKGS] build static libraries [default=yes]
|
adam@0
|
1387 --enable-fast-install[=PKGS]
|
adam@0
|
1388 optimize for fast installation [default=yes]
|
adam@0
|
1389 --disable-libtool-lock avoid locking (might break parallel builds)
|
adam@0
|
1390
|
adam@0
|
1391 Optional Packages:
|
adam@0
|
1392 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
adam@0
|
1393 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
adam@0
|
1394 --with-pic try to use only PIC/non-PIC objects [default=use
|
adam@0
|
1395 both]
|
adam@0
|
1396 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
adam@47
|
1397 --with-sysroot=DIR Search for dependent libraries within DIR
|
adam@47
|
1398 (or the compiler's sysroot if not specified).
|
adam@0
|
1399 --with-openssl=DIR root of the OpenSSL directory
|
adam@0
|
1400 --with-libcurl=DIR look for the curl library in DIR
|
adam@1
|
1401 --with-expat=[ARG] use Expat XML Parser from given prefix (ARG=path);
|
adam@1
|
1402 check standard prefixes (ARG=yes); disable (ARG=no)
|
adam@1
|
1403 --with-expat-inc=[DIR] path to Expat XML Parser headers
|
adam@1
|
1404 --with-expat-lib=[ARG] link options for Expat XML Parser libraries
|
adam@0
|
1405
|
adam@0
|
1406 Some influential environment variables:
|
adam@0
|
1407 CC C compiler command
|
adam@0
|
1408 CFLAGS C compiler flags
|
adam@0
|
1409 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
adam@0
|
1410 nonstandard directory <lib dir>
|
adam@0
|
1411 LIBS libraries to pass to the linker, e.g. -l<library>
|
adam@0
|
1412 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
adam@0
|
1413 you have headers in a nonstandard directory <include dir>
|
adam@0
|
1414 CPP C preprocessor
|
adam@1
|
1415 CXX C++ compiler command
|
adam@1
|
1416 CXXFLAGS C++ compiler flags
|
adam@1
|
1417 CXXCPP C++ preprocessor
|
adam@0
|
1418
|
adam@0
|
1419 Use these variables to override the choices made by `configure' or to help
|
adam@0
|
1420 it to find libraries and programs with nonstandard names/locations.
|
adam@0
|
1421
|
adam@0
|
1422 Report bugs to the package provider.
|
adam@0
|
1423 _ACEOF
|
adam@0
|
1424 ac_status=$?
|
adam@0
|
1425 fi
|
adam@0
|
1426
|
adam@0
|
1427 if test "$ac_init_help" = "recursive"; then
|
adam@0
|
1428 # If there are subdirs, report their specific --help.
|
adam@0
|
1429 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
adam@0
|
1430 test -d "$ac_dir" ||
|
adam@0
|
1431 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
adam@0
|
1432 continue
|
adam@0
|
1433 ac_builddir=.
|
adam@0
|
1434
|
adam@0
|
1435 case "$ac_dir" in
|
adam@0
|
1436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
1437 *)
|
adam@0
|
1438 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
adam@0
|
1439 # A ".." for each directory in $ac_dir_suffix.
|
adam@0
|
1440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
adam@0
|
1441 case $ac_top_builddir_sub in
|
adam@0
|
1442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
1443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
adam@0
|
1444 esac ;;
|
adam@0
|
1445 esac
|
adam@0
|
1446 ac_abs_top_builddir=$ac_pwd
|
adam@0
|
1447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
adam@0
|
1448 # for backward compatibility:
|
adam@0
|
1449 ac_top_builddir=$ac_top_build_prefix
|
adam@0
|
1450
|
adam@0
|
1451 case $srcdir in
|
adam@0
|
1452 .) # We are building in place.
|
adam@0
|
1453 ac_srcdir=.
|
adam@0
|
1454 ac_top_srcdir=$ac_top_builddir_sub
|
adam@0
|
1455 ac_abs_top_srcdir=$ac_pwd ;;
|
adam@0
|
1456 [\\/]* | ?:[\\/]* ) # Absolute name.
|
adam@0
|
1457 ac_srcdir=$srcdir$ac_dir_suffix;
|
adam@0
|
1458 ac_top_srcdir=$srcdir
|
adam@0
|
1459 ac_abs_top_srcdir=$srcdir ;;
|
adam@0
|
1460 *) # Relative name.
|
adam@0
|
1461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
adam@0
|
1462 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
adam@0
|
1463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
adam@0
|
1464 esac
|
adam@0
|
1465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
adam@0
|
1466
|
adam@0
|
1467 cd "$ac_dir" || { ac_status=$?; continue; }
|
adam@0
|
1468 # Check for guested configure.
|
adam@0
|
1469 if test -f "$ac_srcdir/configure.gnu"; then
|
adam@0
|
1470 echo &&
|
adam@0
|
1471 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
adam@0
|
1472 elif test -f "$ac_srcdir/configure"; then
|
adam@0
|
1473 echo &&
|
adam@0
|
1474 $SHELL "$ac_srcdir/configure" --help=recursive
|
adam@0
|
1475 else
|
adam@0
|
1476 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
adam@0
|
1477 fi || ac_status=$?
|
adam@0
|
1478 cd "$ac_pwd" || { ac_status=$?; break; }
|
adam@0
|
1479 done
|
adam@0
|
1480 fi
|
adam@0
|
1481
|
adam@0
|
1482 test -n "$ac_init_help" && exit $ac_status
|
adam@0
|
1483 if $ac_init_version; then
|
adam@0
|
1484 cat <<\_ACEOF
|
adam@0
|
1485 urweb_openid configure 1.0
|
adam@64
|
1486 generated by GNU Autoconf 2.67
|
adam@0
|
1487
|
adam@0
|
1488 Copyright (C) 2010 Free Software Foundation, Inc.
|
adam@0
|
1489 This configure script is free software; the Free Software Foundation
|
adam@0
|
1490 gives unlimited permission to copy, distribute and modify it.
|
adam@0
|
1491 _ACEOF
|
adam@0
|
1492 exit
|
adam@0
|
1493 fi
|
adam@0
|
1494
|
adam@0
|
1495 ## ------------------------ ##
|
adam@0
|
1496 ## Autoconf initialization. ##
|
adam@0
|
1497 ## ------------------------ ##
|
adam@0
|
1498
|
adam@0
|
1499 # ac_fn_c_try_compile LINENO
|
adam@0
|
1500 # --------------------------
|
adam@0
|
1501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
adam@0
|
1502 ac_fn_c_try_compile ()
|
adam@0
|
1503 {
|
adam@0
|
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1505 rm -f conftest.$ac_objext
|
adam@0
|
1506 if { { ac_try="$ac_compile"
|
adam@0
|
1507 case "(($ac_try" in
|
adam@0
|
1508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1509 *) ac_try_echo=$ac_try;;
|
adam@0
|
1510 esac
|
adam@0
|
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1512 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1513 (eval "$ac_compile") 2>conftest.err
|
adam@0
|
1514 ac_status=$?
|
adam@0
|
1515 if test -s conftest.err; then
|
adam@0
|
1516 grep -v '^ *+' conftest.err >conftest.er1
|
adam@0
|
1517 cat conftest.er1 >&5
|
adam@0
|
1518 mv -f conftest.er1 conftest.err
|
adam@0
|
1519 fi
|
adam@0
|
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1521 test $ac_status = 0; } && {
|
adam@0
|
1522 test -z "$ac_c_werror_flag" ||
|
adam@0
|
1523 test ! -s conftest.err
|
adam@0
|
1524 } && test -s conftest.$ac_objext; then :
|
adam@0
|
1525 ac_retval=0
|
adam@0
|
1526 else
|
adam@0
|
1527 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1528 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1529
|
adam@0
|
1530 ac_retval=1
|
adam@0
|
1531 fi
|
adam@64
|
1532 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@0
|
1533 as_fn_set_status $ac_retval
|
adam@0
|
1534
|
adam@0
|
1535 } # ac_fn_c_try_compile
|
adam@0
|
1536
|
adam@0
|
1537 # ac_fn_c_try_cpp LINENO
|
adam@0
|
1538 # ----------------------
|
adam@0
|
1539 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
adam@0
|
1540 ac_fn_c_try_cpp ()
|
adam@0
|
1541 {
|
adam@0
|
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1543 if { { ac_try="$ac_cpp conftest.$ac_ext"
|
adam@0
|
1544 case "(($ac_try" in
|
adam@0
|
1545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1546 *) ac_try_echo=$ac_try;;
|
adam@0
|
1547 esac
|
adam@0
|
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1549 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
adam@0
|
1551 ac_status=$?
|
adam@0
|
1552 if test -s conftest.err; then
|
adam@0
|
1553 grep -v '^ *+' conftest.err >conftest.er1
|
adam@0
|
1554 cat conftest.er1 >&5
|
adam@0
|
1555 mv -f conftest.er1 conftest.err
|
adam@0
|
1556 fi
|
adam@0
|
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1558 test $ac_status = 0; } > conftest.i && {
|
adam@0
|
1559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
adam@0
|
1560 test ! -s conftest.err
|
adam@0
|
1561 }; then :
|
adam@0
|
1562 ac_retval=0
|
adam@0
|
1563 else
|
adam@0
|
1564 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1565 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1566
|
adam@0
|
1567 ac_retval=1
|
adam@0
|
1568 fi
|
adam@64
|
1569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@0
|
1570 as_fn_set_status $ac_retval
|
adam@0
|
1571
|
adam@0
|
1572 } # ac_fn_c_try_cpp
|
adam@0
|
1573
|
adam@0
|
1574 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
adam@0
|
1575 # -------------------------------------------------------
|
adam@0
|
1576 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
adam@0
|
1577 # the include files in INCLUDES and setting the cache variable VAR
|
adam@0
|
1578 # accordingly.
|
adam@0
|
1579 ac_fn_c_check_header_mongrel ()
|
adam@0
|
1580 {
|
adam@0
|
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@64
|
1582 if eval "test \"\${$3+set}\"" = set; then :
|
adam@0
|
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1584 $as_echo_n "checking for $2... " >&6; }
|
adam@64
|
1585 if eval "test \"\${$3+set}\"" = set; then :
|
adam@0
|
1586 $as_echo_n "(cached) " >&6
|
adam@0
|
1587 fi
|
adam@0
|
1588 eval ac_res=\$$3
|
adam@0
|
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1590 $as_echo "$ac_res" >&6; }
|
adam@0
|
1591 else
|
adam@0
|
1592 # Is the header compilable?
|
adam@0
|
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
adam@0
|
1594 $as_echo_n "checking $2 usability... " >&6; }
|
adam@0
|
1595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1596 /* end confdefs.h. */
|
adam@0
|
1597 $4
|
adam@0
|
1598 #include <$2>
|
adam@0
|
1599 _ACEOF
|
adam@0
|
1600 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
1601 ac_header_compiler=yes
|
adam@0
|
1602 else
|
adam@0
|
1603 ac_header_compiler=no
|
adam@0
|
1604 fi
|
adam@0
|
1605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
adam@0
|
1607 $as_echo "$ac_header_compiler" >&6; }
|
adam@0
|
1608
|
adam@0
|
1609 # Is the header present?
|
adam@0
|
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
adam@0
|
1611 $as_echo_n "checking $2 presence... " >&6; }
|
adam@0
|
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1613 /* end confdefs.h. */
|
adam@0
|
1614 #include <$2>
|
adam@0
|
1615 _ACEOF
|
adam@0
|
1616 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
1617 ac_header_preproc=yes
|
adam@0
|
1618 else
|
adam@0
|
1619 ac_header_preproc=no
|
adam@0
|
1620 fi
|
adam@0
|
1621 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
adam@0
|
1623 $as_echo "$ac_header_preproc" >&6; }
|
adam@0
|
1624
|
adam@0
|
1625 # So? What about this header?
|
adam@0
|
1626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
adam@0
|
1627 yes:no: )
|
adam@0
|
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
adam@0
|
1629 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
adam@0
|
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
adam@0
|
1631 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
adam@0
|
1632 ;;
|
adam@0
|
1633 no:yes:* )
|
adam@0
|
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
adam@0
|
1635 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
adam@0
|
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
adam@0
|
1637 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
adam@0
|
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
adam@0
|
1639 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
adam@0
|
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
adam@0
|
1641 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
adam@0
|
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
adam@0
|
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
adam@0
|
1644 ;;
|
adam@0
|
1645 esac
|
adam@0
|
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1647 $as_echo_n "checking for $2... " >&6; }
|
adam@64
|
1648 if eval "test \"\${$3+set}\"" = set; then :
|
adam@0
|
1649 $as_echo_n "(cached) " >&6
|
adam@0
|
1650 else
|
adam@0
|
1651 eval "$3=\$ac_header_compiler"
|
adam@0
|
1652 fi
|
adam@0
|
1653 eval ac_res=\$$3
|
adam@0
|
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1655 $as_echo "$ac_res" >&6; }
|
adam@0
|
1656 fi
|
adam@64
|
1657 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@0
|
1658
|
adam@0
|
1659 } # ac_fn_c_check_header_mongrel
|
adam@0
|
1660
|
adam@0
|
1661 # ac_fn_c_try_run LINENO
|
adam@0
|
1662 # ----------------------
|
adam@0
|
1663 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
adam@0
|
1664 # that executables *can* be run.
|
adam@0
|
1665 ac_fn_c_try_run ()
|
adam@0
|
1666 {
|
adam@0
|
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1668 if { { ac_try="$ac_link"
|
adam@0
|
1669 case "(($ac_try" in
|
adam@0
|
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1671 *) ac_try_echo=$ac_try;;
|
adam@0
|
1672 esac
|
adam@0
|
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1674 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1675 (eval "$ac_link") 2>&5
|
adam@0
|
1676 ac_status=$?
|
adam@0
|
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1678 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
adam@0
|
1679 { { case "(($ac_try" in
|
adam@0
|
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1681 *) ac_try_echo=$ac_try;;
|
adam@0
|
1682 esac
|
adam@0
|
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1684 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1685 (eval "$ac_try") 2>&5
|
adam@0
|
1686 ac_status=$?
|
adam@0
|
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1688 test $ac_status = 0; }; }; then :
|
adam@0
|
1689 ac_retval=0
|
adam@0
|
1690 else
|
adam@0
|
1691 $as_echo "$as_me: program exited with status $ac_status" >&5
|
adam@0
|
1692 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1693 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1694
|
adam@0
|
1695 ac_retval=$ac_status
|
adam@0
|
1696 fi
|
adam@0
|
1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
adam@64
|
1698 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@0
|
1699 as_fn_set_status $ac_retval
|
adam@0
|
1700
|
adam@0
|
1701 } # ac_fn_c_try_run
|
adam@0
|
1702
|
adam@0
|
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
adam@0
|
1704 # -------------------------------------------------------
|
adam@0
|
1705 # Tests whether HEADER exists and can be compiled using the include files in
|
adam@0
|
1706 # INCLUDES, setting the cache variable VAR accordingly.
|
adam@0
|
1707 ac_fn_c_check_header_compile ()
|
adam@0
|
1708 {
|
adam@0
|
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1711 $as_echo_n "checking for $2... " >&6; }
|
adam@64
|
1712 if eval "test \"\${$3+set}\"" = set; then :
|
adam@0
|
1713 $as_echo_n "(cached) " >&6
|
adam@0
|
1714 else
|
adam@0
|
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1716 /* end confdefs.h. */
|
adam@0
|
1717 $4
|
adam@0
|
1718 #include <$2>
|
adam@0
|
1719 _ACEOF
|
adam@0
|
1720 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
1721 eval "$3=yes"
|
adam@0
|
1722 else
|
adam@0
|
1723 eval "$3=no"
|
adam@0
|
1724 fi
|
adam@0
|
1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
1726 fi
|
adam@0
|
1727 eval ac_res=\$$3
|
adam@0
|
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1729 $as_echo "$ac_res" >&6; }
|
adam@64
|
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@0
|
1731
|
adam@0
|
1732 } # ac_fn_c_check_header_compile
|
adam@0
|
1733
|
adam@0
|
1734 # ac_fn_c_try_link LINENO
|
adam@0
|
1735 # -----------------------
|
adam@0
|
1736 # Try to link conftest.$ac_ext, and return whether this succeeded.
|
adam@0
|
1737 ac_fn_c_try_link ()
|
adam@0
|
1738 {
|
adam@0
|
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1740 rm -f conftest.$ac_objext conftest$ac_exeext
|
adam@0
|
1741 if { { ac_try="$ac_link"
|
adam@0
|
1742 case "(($ac_try" in
|
adam@0
|
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1744 *) ac_try_echo=$ac_try;;
|
adam@0
|
1745 esac
|
adam@0
|
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1747 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1748 (eval "$ac_link") 2>conftest.err
|
adam@0
|
1749 ac_status=$?
|
adam@0
|
1750 if test -s conftest.err; then
|
adam@0
|
1751 grep -v '^ *+' conftest.err >conftest.er1
|
adam@0
|
1752 cat conftest.er1 >&5
|
adam@0
|
1753 mv -f conftest.er1 conftest.err
|
adam@0
|
1754 fi
|
adam@0
|
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1756 test $ac_status = 0; } && {
|
adam@0
|
1757 test -z "$ac_c_werror_flag" ||
|
adam@0
|
1758 test ! -s conftest.err
|
adam@0
|
1759 } && test -s conftest$ac_exeext && {
|
adam@0
|
1760 test "$cross_compiling" = yes ||
|
adam@0
|
1761 $as_test_x conftest$ac_exeext
|
adam@0
|
1762 }; then :
|
adam@0
|
1763 ac_retval=0
|
adam@0
|
1764 else
|
adam@0
|
1765 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1766 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1767
|
adam@0
|
1768 ac_retval=1
|
adam@0
|
1769 fi
|
adam@0
|
1770 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
adam@0
|
1771 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
adam@0
|
1772 # interfere with the next link command; also delete a directory that is
|
adam@0
|
1773 # left behind by Apple's compiler. We do this before executing the actions.
|
adam@0
|
1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
adam@64
|
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@0
|
1776 as_fn_set_status $ac_retval
|
adam@0
|
1777
|
adam@0
|
1778 } # ac_fn_c_try_link
|
adam@0
|
1779
|
adam@0
|
1780 # ac_fn_c_check_func LINENO FUNC VAR
|
adam@0
|
1781 # ----------------------------------
|
adam@0
|
1782 # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
adam@0
|
1783 ac_fn_c_check_func ()
|
adam@0
|
1784 {
|
adam@0
|
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1787 $as_echo_n "checking for $2... " >&6; }
|
adam@64
|
1788 if eval "test \"\${$3+set}\"" = set; then :
|
adam@0
|
1789 $as_echo_n "(cached) " >&6
|
adam@0
|
1790 else
|
adam@0
|
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1792 /* end confdefs.h. */
|
adam@0
|
1793 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
adam@0
|
1794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
adam@0
|
1795 #define $2 innocuous_$2
|
adam@0
|
1796
|
adam@0
|
1797 /* System header to define __stub macros and hopefully few prototypes,
|
adam@0
|
1798 which can conflict with char $2 (); below.
|
adam@0
|
1799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@0
|
1800 <limits.h> exists even on freestanding compilers. */
|
adam@0
|
1801
|
adam@0
|
1802 #ifdef __STDC__
|
adam@0
|
1803 # include <limits.h>
|
adam@0
|
1804 #else
|
adam@0
|
1805 # include <assert.h>
|
adam@0
|
1806 #endif
|
adam@0
|
1807
|
adam@0
|
1808 #undef $2
|
adam@0
|
1809
|
adam@0
|
1810 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
1811 Use char because int might match the return type of a GCC
|
adam@0
|
1812 builtin and then its argument prototype would still apply. */
|
adam@0
|
1813 #ifdef __cplusplus
|
adam@0
|
1814 extern "C"
|
adam@0
|
1815 #endif
|
adam@0
|
1816 char $2 ();
|
adam@0
|
1817 /* The GNU C library defines this for functions which it implements
|
adam@0
|
1818 to always fail with ENOSYS. Some functions are actually named
|
adam@0
|
1819 something starting with __ and the normal name is an alias. */
|
adam@0
|
1820 #if defined __stub_$2 || defined __stub___$2
|
adam@0
|
1821 choke me
|
adam@0
|
1822 #endif
|
adam@0
|
1823
|
adam@0
|
1824 int
|
adam@0
|
1825 main ()
|
adam@0
|
1826 {
|
adam@0
|
1827 return $2 ();
|
adam@0
|
1828 ;
|
adam@0
|
1829 return 0;
|
adam@0
|
1830 }
|
adam@0
|
1831 _ACEOF
|
adam@0
|
1832 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
1833 eval "$3=yes"
|
adam@0
|
1834 else
|
adam@0
|
1835 eval "$3=no"
|
adam@0
|
1836 fi
|
adam@0
|
1837 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
1838 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
1839 fi
|
adam@0
|
1840 eval ac_res=\$$3
|
adam@0
|
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1842 $as_echo "$ac_res" >&6; }
|
adam@64
|
1843 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@0
|
1844
|
adam@0
|
1845 } # ac_fn_c_check_func
|
adam@1
|
1846
|
adam@1
|
1847 # ac_fn_cxx_try_compile LINENO
|
adam@1
|
1848 # ----------------------------
|
adam@1
|
1849 # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
adam@1
|
1850 ac_fn_cxx_try_compile ()
|
adam@1
|
1851 {
|
adam@1
|
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@1
|
1853 rm -f conftest.$ac_objext
|
adam@1
|
1854 if { { ac_try="$ac_compile"
|
adam@1
|
1855 case "(($ac_try" in
|
adam@1
|
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@1
|
1857 *) ac_try_echo=$ac_try;;
|
adam@1
|
1858 esac
|
adam@1
|
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@1
|
1860 $as_echo "$ac_try_echo"; } >&5
|
adam@1
|
1861 (eval "$ac_compile") 2>conftest.err
|
adam@1
|
1862 ac_status=$?
|
adam@1
|
1863 if test -s conftest.err; then
|
adam@1
|
1864 grep -v '^ *+' conftest.err >conftest.er1
|
adam@1
|
1865 cat conftest.er1 >&5
|
adam@1
|
1866 mv -f conftest.er1 conftest.err
|
adam@1
|
1867 fi
|
adam@1
|
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@1
|
1869 test $ac_status = 0; } && {
|
adam@1
|
1870 test -z "$ac_cxx_werror_flag" ||
|
adam@1
|
1871 test ! -s conftest.err
|
adam@1
|
1872 } && test -s conftest.$ac_objext; then :
|
adam@1
|
1873 ac_retval=0
|
adam@1
|
1874 else
|
adam@1
|
1875 $as_echo "$as_me: failed program was:" >&5
|
adam@1
|
1876 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@1
|
1877
|
adam@1
|
1878 ac_retval=1
|
adam@1
|
1879 fi
|
adam@64
|
1880 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@1
|
1881 as_fn_set_status $ac_retval
|
adam@1
|
1882
|
adam@1
|
1883 } # ac_fn_cxx_try_compile
|
adam@1
|
1884
|
adam@1
|
1885 # ac_fn_cxx_try_cpp LINENO
|
adam@1
|
1886 # ------------------------
|
adam@1
|
1887 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
adam@1
|
1888 ac_fn_cxx_try_cpp ()
|
adam@1
|
1889 {
|
adam@1
|
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@1
|
1891 if { { ac_try="$ac_cpp conftest.$ac_ext"
|
adam@1
|
1892 case "(($ac_try" in
|
adam@1
|
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@1
|
1894 *) ac_try_echo=$ac_try;;
|
adam@1
|
1895 esac
|
adam@1
|
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@1
|
1897 $as_echo "$ac_try_echo"; } >&5
|
adam@1
|
1898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
adam@1
|
1899 ac_status=$?
|
adam@1
|
1900 if test -s conftest.err; then
|
adam@1
|
1901 grep -v '^ *+' conftest.err >conftest.er1
|
adam@1
|
1902 cat conftest.er1 >&5
|
adam@1
|
1903 mv -f conftest.er1 conftest.err
|
adam@1
|
1904 fi
|
adam@1
|
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@1
|
1906 test $ac_status = 0; } > conftest.i && {
|
adam@1
|
1907 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
adam@1
|
1908 test ! -s conftest.err
|
adam@1
|
1909 }; then :
|
adam@1
|
1910 ac_retval=0
|
adam@1
|
1911 else
|
adam@1
|
1912 $as_echo "$as_me: failed program was:" >&5
|
adam@1
|
1913 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@1
|
1914
|
adam@1
|
1915 ac_retval=1
|
adam@1
|
1916 fi
|
adam@64
|
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@1
|
1918 as_fn_set_status $ac_retval
|
adam@1
|
1919
|
adam@1
|
1920 } # ac_fn_cxx_try_cpp
|
adam@1
|
1921
|
adam@1
|
1922 # ac_fn_cxx_try_link LINENO
|
adam@1
|
1923 # -------------------------
|
adam@1
|
1924 # Try to link conftest.$ac_ext, and return whether this succeeded.
|
adam@1
|
1925 ac_fn_cxx_try_link ()
|
adam@1
|
1926 {
|
adam@1
|
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@1
|
1928 rm -f conftest.$ac_objext conftest$ac_exeext
|
adam@1
|
1929 if { { ac_try="$ac_link"
|
adam@1
|
1930 case "(($ac_try" in
|
adam@1
|
1931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@1
|
1932 *) ac_try_echo=$ac_try;;
|
adam@1
|
1933 esac
|
adam@1
|
1934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@1
|
1935 $as_echo "$ac_try_echo"; } >&5
|
adam@1
|
1936 (eval "$ac_link") 2>conftest.err
|
adam@1
|
1937 ac_status=$?
|
adam@1
|
1938 if test -s conftest.err; then
|
adam@1
|
1939 grep -v '^ *+' conftest.err >conftest.er1
|
adam@1
|
1940 cat conftest.er1 >&5
|
adam@1
|
1941 mv -f conftest.er1 conftest.err
|
adam@1
|
1942 fi
|
adam@1
|
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@1
|
1944 test $ac_status = 0; } && {
|
adam@1
|
1945 test -z "$ac_cxx_werror_flag" ||
|
adam@1
|
1946 test ! -s conftest.err
|
adam@1
|
1947 } && test -s conftest$ac_exeext && {
|
adam@1
|
1948 test "$cross_compiling" = yes ||
|
adam@1
|
1949 $as_test_x conftest$ac_exeext
|
adam@1
|
1950 }; then :
|
adam@1
|
1951 ac_retval=0
|
adam@1
|
1952 else
|
adam@1
|
1953 $as_echo "$as_me: failed program was:" >&5
|
adam@1
|
1954 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@1
|
1955
|
adam@1
|
1956 ac_retval=1
|
adam@1
|
1957 fi
|
adam@1
|
1958 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
adam@1
|
1959 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
adam@1
|
1960 # interfere with the next link command; also delete a directory that is
|
adam@1
|
1961 # left behind by Apple's compiler. We do this before executing the actions.
|
adam@1
|
1962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
adam@64
|
1963 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
adam@1
|
1964 as_fn_set_status $ac_retval
|
adam@1
|
1965
|
adam@1
|
1966 } # ac_fn_cxx_try_link
|
adam@0
|
1967 cat >config.log <<_ACEOF
|
adam@0
|
1968 This file contains any messages produced by compilers while
|
adam@0
|
1969 running configure, to aid debugging if configure makes a mistake.
|
adam@0
|
1970
|
adam@0
|
1971 It was created by urweb_openid $as_me 1.0, which was
|
adam@64
|
1972 generated by GNU Autoconf 2.67. Invocation command line was
|
adam@0
|
1973
|
adam@0
|
1974 $ $0 $@
|
adam@0
|
1975
|
adam@0
|
1976 _ACEOF
|
adam@0
|
1977 exec 5>>config.log
|
adam@0
|
1978 {
|
adam@0
|
1979 cat <<_ASUNAME
|
adam@0
|
1980 ## --------- ##
|
adam@0
|
1981 ## Platform. ##
|
adam@0
|
1982 ## --------- ##
|
adam@0
|
1983
|
adam@0
|
1984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
adam@0
|
1985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
adam@0
|
1986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
adam@0
|
1987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
adam@0
|
1988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
adam@0
|
1989
|
adam@0
|
1990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
adam@0
|
1991 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
adam@0
|
1992
|
adam@0
|
1993 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
adam@0
|
1994 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
adam@0
|
1995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
adam@0
|
1996 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
adam@0
|
1997 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
adam@0
|
1998 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
adam@0
|
1999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
adam@0
|
2000
|
adam@0
|
2001 _ASUNAME
|
adam@0
|
2002
|
adam@0
|
2003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2004 for as_dir in $PATH
|
adam@0
|
2005 do
|
adam@0
|
2006 IFS=$as_save_IFS
|
adam@0
|
2007 test -z "$as_dir" && as_dir=.
|
adam@0
|
2008 $as_echo "PATH: $as_dir"
|
adam@0
|
2009 done
|
adam@0
|
2010 IFS=$as_save_IFS
|
adam@0
|
2011
|
adam@0
|
2012 } >&5
|
adam@0
|
2013
|
adam@0
|
2014 cat >&5 <<_ACEOF
|
adam@0
|
2015
|
adam@0
|
2016
|
adam@0
|
2017 ## ----------- ##
|
adam@0
|
2018 ## Core tests. ##
|
adam@0
|
2019 ## ----------- ##
|
adam@0
|
2020
|
adam@0
|
2021 _ACEOF
|
adam@0
|
2022
|
adam@0
|
2023
|
adam@0
|
2024 # Keep a trace of the command line.
|
adam@0
|
2025 # Strip out --no-create and --no-recursion so they do not pile up.
|
adam@0
|
2026 # Strip out --silent because we don't want to record it for future runs.
|
adam@0
|
2027 # Also quote any args containing shell meta-characters.
|
adam@0
|
2028 # Make two passes to allow for proper duplicate-argument suppression.
|
adam@0
|
2029 ac_configure_args=
|
adam@0
|
2030 ac_configure_args0=
|
adam@0
|
2031 ac_configure_args1=
|
adam@0
|
2032 ac_must_keep_next=false
|
adam@0
|
2033 for ac_pass in 1 2
|
adam@0
|
2034 do
|
adam@0
|
2035 for ac_arg
|
adam@0
|
2036 do
|
adam@0
|
2037 case $ac_arg in
|
adam@0
|
2038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
adam@0
|
2039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adam@0
|
2040 | -silent | --silent | --silen | --sile | --sil)
|
adam@0
|
2041 continue ;;
|
adam@0
|
2042 *\'*)
|
adam@0
|
2043 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adam@0
|
2044 esac
|
adam@0
|
2045 case $ac_pass in
|
adam@0
|
2046 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
adam@0
|
2047 2)
|
adam@0
|
2048 as_fn_append ac_configure_args1 " '$ac_arg'"
|
adam@0
|
2049 if test $ac_must_keep_next = true; then
|
adam@0
|
2050 ac_must_keep_next=false # Got value, back to normal.
|
adam@0
|
2051 else
|
adam@0
|
2052 case $ac_arg in
|
adam@0
|
2053 *=* | --config-cache | -C | -disable-* | --disable-* \
|
adam@0
|
2054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
adam@0
|
2055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
adam@0
|
2056 | -with-* | --with-* | -without-* | --without-* | --x)
|
adam@0
|
2057 case "$ac_configure_args0 " in
|
adam@0
|
2058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
adam@0
|
2059 esac
|
adam@0
|
2060 ;;
|
adam@0
|
2061 -* ) ac_must_keep_next=true ;;
|
adam@0
|
2062 esac
|
adam@0
|
2063 fi
|
adam@0
|
2064 as_fn_append ac_configure_args " '$ac_arg'"
|
adam@0
|
2065 ;;
|
adam@0
|
2066 esac
|
adam@0
|
2067 done
|
adam@0
|
2068 done
|
adam@0
|
2069 { ac_configure_args0=; unset ac_configure_args0;}
|
adam@0
|
2070 { ac_configure_args1=; unset ac_configure_args1;}
|
adam@0
|
2071
|
adam@0
|
2072 # When interrupted or exit'd, cleanup temporary files, and complete
|
adam@0
|
2073 # config.log. We remove comments because anyway the quotes in there
|
adam@0
|
2074 # would cause problems or look ugly.
|
adam@0
|
2075 # WARNING: Use '\'' to represent an apostrophe within the trap.
|
adam@0
|
2076 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
adam@0
|
2077 trap 'exit_status=$?
|
adam@0
|
2078 # Save into config.log some information that might help in debugging.
|
adam@0
|
2079 {
|
adam@0
|
2080 echo
|
adam@0
|
2081
|
adam@0
|
2082 $as_echo "## ---------------- ##
|
adam@0
|
2083 ## Cache variables. ##
|
adam@0
|
2084 ## ---------------- ##"
|
adam@0
|
2085 echo
|
adam@0
|
2086 # The following way of writing the cache mishandles newlines in values,
|
adam@0
|
2087 (
|
adam@0
|
2088 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
adam@0
|
2089 eval ac_val=\$$ac_var
|
adam@0
|
2090 case $ac_val in #(
|
adam@0
|
2091 *${as_nl}*)
|
adam@0
|
2092 case $ac_var in #(
|
adam@0
|
2093 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
adam@0
|
2094 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
adam@0
|
2095 esac
|
adam@0
|
2096 case $ac_var in #(
|
adam@0
|
2097 _ | IFS | as_nl) ;; #(
|
adam@0
|
2098 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
adam@0
|
2099 *) { eval $ac_var=; unset $ac_var;} ;;
|
adam@0
|
2100 esac ;;
|
adam@0
|
2101 esac
|
adam@0
|
2102 done
|
adam@0
|
2103 (set) 2>&1 |
|
adam@0
|
2104 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
adam@0
|
2105 *${as_nl}ac_space=\ *)
|
adam@0
|
2106 sed -n \
|
adam@0
|
2107 "s/'\''/'\''\\\\'\'''\''/g;
|
adam@0
|
2108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
adam@0
|
2109 ;; #(
|
adam@0
|
2110 *)
|
adam@0
|
2111 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
adam@0
|
2112 ;;
|
adam@0
|
2113 esac |
|
adam@0
|
2114 sort
|
adam@0
|
2115 )
|
adam@0
|
2116 echo
|
adam@0
|
2117
|
adam@0
|
2118 $as_echo "## ----------------- ##
|
adam@0
|
2119 ## Output variables. ##
|
adam@0
|
2120 ## ----------------- ##"
|
adam@0
|
2121 echo
|
adam@0
|
2122 for ac_var in $ac_subst_vars
|
adam@0
|
2123 do
|
adam@0
|
2124 eval ac_val=\$$ac_var
|
adam@0
|
2125 case $ac_val in
|
adam@0
|
2126 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
adam@0
|
2127 esac
|
adam@0
|
2128 $as_echo "$ac_var='\''$ac_val'\''"
|
adam@0
|
2129 done | sort
|
adam@0
|
2130 echo
|
adam@0
|
2131
|
adam@0
|
2132 if test -n "$ac_subst_files"; then
|
adam@0
|
2133 $as_echo "## ------------------- ##
|
adam@0
|
2134 ## File substitutions. ##
|
adam@0
|
2135 ## ------------------- ##"
|
adam@0
|
2136 echo
|
adam@0
|
2137 for ac_var in $ac_subst_files
|
adam@0
|
2138 do
|
adam@0
|
2139 eval ac_val=\$$ac_var
|
adam@0
|
2140 case $ac_val in
|
adam@0
|
2141 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
adam@0
|
2142 esac
|
adam@0
|
2143 $as_echo "$ac_var='\''$ac_val'\''"
|
adam@0
|
2144 done | sort
|
adam@0
|
2145 echo
|
adam@0
|
2146 fi
|
adam@0
|
2147
|
adam@0
|
2148 if test -s confdefs.h; then
|
adam@0
|
2149 $as_echo "## ----------- ##
|
adam@0
|
2150 ## confdefs.h. ##
|
adam@0
|
2151 ## ----------- ##"
|
adam@0
|
2152 echo
|
adam@0
|
2153 cat confdefs.h
|
adam@0
|
2154 echo
|
adam@0
|
2155 fi
|
adam@0
|
2156 test "$ac_signal" != 0 &&
|
adam@0
|
2157 $as_echo "$as_me: caught signal $ac_signal"
|
adam@0
|
2158 $as_echo "$as_me: exit $exit_status"
|
adam@0
|
2159 } >&5
|
adam@0
|
2160 rm -f core *.core core.conftest.* &&
|
adam@0
|
2161 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
adam@0
|
2162 exit $exit_status
|
adam@0
|
2163 ' 0
|
adam@0
|
2164 for ac_signal in 1 2 13 15; do
|
adam@0
|
2165 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
adam@0
|
2166 done
|
adam@0
|
2167 ac_signal=0
|
adam@0
|
2168
|
adam@0
|
2169 # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
adam@0
|
2170 rm -f -r conftest* confdefs.h
|
adam@0
|
2171
|
adam@0
|
2172 $as_echo "/* confdefs.h */" > confdefs.h
|
adam@0
|
2173
|
adam@0
|
2174 # Predefined preprocessor variables.
|
adam@0
|
2175
|
adam@0
|
2176 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2177 #define PACKAGE_NAME "$PACKAGE_NAME"
|
adam@0
|
2178 _ACEOF
|
adam@0
|
2179
|
adam@0
|
2180 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2181 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
adam@0
|
2182 _ACEOF
|
adam@0
|
2183
|
adam@0
|
2184 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
adam@0
|
2186 _ACEOF
|
adam@0
|
2187
|
adam@0
|
2188 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2189 #define PACKAGE_STRING "$PACKAGE_STRING"
|
adam@0
|
2190 _ACEOF
|
adam@0
|
2191
|
adam@0
|
2192 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2193 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
adam@0
|
2194 _ACEOF
|
adam@0
|
2195
|
adam@0
|
2196 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2197 #define PACKAGE_URL "$PACKAGE_URL"
|
adam@0
|
2198 _ACEOF
|
adam@0
|
2199
|
adam@0
|
2200
|
adam@0
|
2201 # Let the site file select an alternate cache file if it wants to.
|
adam@0
|
2202 # Prefer an explicitly selected file to automatically selected ones.
|
adam@0
|
2203 ac_site_file1=NONE
|
adam@0
|
2204 ac_site_file2=NONE
|
adam@0
|
2205 if test -n "$CONFIG_SITE"; then
|
adam@0
|
2206 # We do not want a PATH search for config.site.
|
adam@0
|
2207 case $CONFIG_SITE in #((
|
adam@0
|
2208 -*) ac_site_file1=./$CONFIG_SITE;;
|
adam@0
|
2209 */*) ac_site_file1=$CONFIG_SITE;;
|
adam@0
|
2210 *) ac_site_file1=./$CONFIG_SITE;;
|
adam@0
|
2211 esac
|
adam@0
|
2212 elif test "x$prefix" != xNONE; then
|
adam@0
|
2213 ac_site_file1=$prefix/share/config.site
|
adam@0
|
2214 ac_site_file2=$prefix/etc/config.site
|
adam@0
|
2215 else
|
adam@0
|
2216 ac_site_file1=$ac_default_prefix/share/config.site
|
adam@0
|
2217 ac_site_file2=$ac_default_prefix/etc/config.site
|
adam@0
|
2218 fi
|
adam@0
|
2219 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
adam@0
|
2220 do
|
adam@0
|
2221 test "x$ac_site_file" = xNONE && continue
|
adam@0
|
2222 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
adam@0
|
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
adam@0
|
2224 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
adam@0
|
2225 sed 's/^/| /' "$ac_site_file" >&5
|
adam@0
|
2226 . "$ac_site_file" \
|
adam@0
|
2227 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2229 as_fn_error $? "failed to load site script $ac_site_file
|
adam@64
|
2230 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
2231 fi
|
adam@0
|
2232 done
|
adam@0
|
2233
|
adam@0
|
2234 if test -r "$cache_file"; then
|
adam@0
|
2235 # Some versions of bash will fail to source /dev/null (special files
|
adam@0
|
2236 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
adam@0
|
2237 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
adam@0
|
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
adam@0
|
2239 $as_echo "$as_me: loading cache $cache_file" >&6;}
|
adam@0
|
2240 case $cache_file in
|
adam@0
|
2241 [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
adam@0
|
2242 *) . "./$cache_file";;
|
adam@0
|
2243 esac
|
adam@0
|
2244 fi
|
adam@0
|
2245 else
|
adam@0
|
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
adam@0
|
2247 $as_echo "$as_me: creating cache $cache_file" >&6;}
|
adam@0
|
2248 >$cache_file
|
adam@0
|
2249 fi
|
adam@0
|
2250
|
adam@0
|
2251 # Check that the precious variables saved in the cache have kept the same
|
adam@0
|
2252 # value.
|
adam@0
|
2253 ac_cache_corrupted=false
|
adam@0
|
2254 for ac_var in $ac_precious_vars; do
|
adam@0
|
2255 eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
adam@0
|
2256 eval ac_new_set=\$ac_env_${ac_var}_set
|
adam@0
|
2257 eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
adam@0
|
2258 eval ac_new_val=\$ac_env_${ac_var}_value
|
adam@0
|
2259 case $ac_old_set,$ac_new_set in
|
adam@0
|
2260 set,)
|
adam@0
|
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
adam@0
|
2262 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
adam@0
|
2263 ac_cache_corrupted=: ;;
|
adam@0
|
2264 ,set)
|
adam@0
|
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
adam@0
|
2266 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
adam@0
|
2267 ac_cache_corrupted=: ;;
|
adam@0
|
2268 ,);;
|
adam@0
|
2269 *)
|
adam@0
|
2270 if test "x$ac_old_val" != "x$ac_new_val"; then
|
adam@0
|
2271 # differences in whitespace do not lead to failure.
|
adam@0
|
2272 ac_old_val_w=`echo x $ac_old_val`
|
adam@0
|
2273 ac_new_val_w=`echo x $ac_new_val`
|
adam@0
|
2274 if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
adam@0
|
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
adam@0
|
2276 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
adam@0
|
2277 ac_cache_corrupted=:
|
adam@0
|
2278 else
|
adam@0
|
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
adam@0
|
2280 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
adam@0
|
2281 eval $ac_var=\$ac_old_val
|
adam@0
|
2282 fi
|
adam@0
|
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
adam@0
|
2284 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
adam@0
|
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
adam@0
|
2286 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
adam@0
|
2287 fi;;
|
adam@0
|
2288 esac
|
adam@0
|
2289 # Pass precious variables to config.status.
|
adam@0
|
2290 if test "$ac_new_set" = set; then
|
adam@0
|
2291 case $ac_new_val in
|
adam@0
|
2292 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adam@0
|
2293 *) ac_arg=$ac_var=$ac_new_val ;;
|
adam@0
|
2294 esac
|
adam@0
|
2295 case " $ac_configure_args " in
|
adam@0
|
2296 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
adam@0
|
2297 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
adam@0
|
2298 esac
|
adam@0
|
2299 fi
|
adam@0
|
2300 done
|
adam@0
|
2301 if $ac_cache_corrupted; then
|
adam@0
|
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
adam@0
|
2305 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
adam@0
|
2306 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
adam@0
|
2307 fi
|
adam@0
|
2308 ## -------------------- ##
|
adam@0
|
2309 ## Main body of script. ##
|
adam@0
|
2310 ## -------------------- ##
|
adam@0
|
2311
|
adam@0
|
2312 ac_ext=c
|
adam@0
|
2313 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
2314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
2315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
2316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
2317
|
adam@0
|
2318
|
adam@0
|
2319 ac_ext=c
|
adam@0
|
2320 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
2324 if test -n "$ac_tool_prefix"; then
|
adam@0
|
2325 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
adam@0
|
2326 set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
adam@0
|
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2328 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
2329 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
2330 $as_echo_n "(cached) " >&6
|
adam@0
|
2331 else
|
adam@0
|
2332 if test -n "$CC"; then
|
adam@0
|
2333 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2334 else
|
adam@0
|
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2336 for as_dir in $PATH
|
adam@0
|
2337 do
|
adam@0
|
2338 IFS=$as_save_IFS
|
adam@0
|
2339 test -z "$as_dir" && as_dir=.
|
adam@0
|
2340 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2342 ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
adam@0
|
2343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2344 break 2
|
adam@0
|
2345 fi
|
adam@0
|
2346 done
|
adam@0
|
2347 done
|
adam@0
|
2348 IFS=$as_save_IFS
|
adam@0
|
2349
|
adam@0
|
2350 fi
|
adam@0
|
2351 fi
|
adam@0
|
2352 CC=$ac_cv_prog_CC
|
adam@0
|
2353 if test -n "$CC"; then
|
adam@0
|
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2355 $as_echo "$CC" >&6; }
|
adam@0
|
2356 else
|
adam@0
|
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2358 $as_echo "no" >&6; }
|
adam@0
|
2359 fi
|
adam@0
|
2360
|
adam@0
|
2361
|
adam@0
|
2362 fi
|
adam@0
|
2363 if test -z "$ac_cv_prog_CC"; then
|
adam@0
|
2364 ac_ct_CC=$CC
|
adam@0
|
2365 # Extract the first word of "gcc", so it can be a program name with args.
|
adam@0
|
2366 set dummy gcc; ac_word=$2
|
adam@0
|
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2368 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
2369 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
adam@0
|
2370 $as_echo_n "(cached) " >&6
|
adam@0
|
2371 else
|
adam@0
|
2372 if test -n "$ac_ct_CC"; then
|
adam@0
|
2373 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
2374 else
|
adam@0
|
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2376 for as_dir in $PATH
|
adam@0
|
2377 do
|
adam@0
|
2378 IFS=$as_save_IFS
|
adam@0
|
2379 test -z "$as_dir" && as_dir=.
|
adam@0
|
2380 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2382 ac_cv_prog_ac_ct_CC="gcc"
|
adam@0
|
2383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2384 break 2
|
adam@0
|
2385 fi
|
adam@0
|
2386 done
|
adam@0
|
2387 done
|
adam@0
|
2388 IFS=$as_save_IFS
|
adam@0
|
2389
|
adam@0
|
2390 fi
|
adam@0
|
2391 fi
|
adam@0
|
2392 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
2393 if test -n "$ac_ct_CC"; then
|
adam@0
|
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
2395 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
2396 else
|
adam@0
|
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2398 $as_echo "no" >&6; }
|
adam@0
|
2399 fi
|
adam@0
|
2400
|
adam@0
|
2401 if test "x$ac_ct_CC" = x; then
|
adam@0
|
2402 CC=""
|
adam@0
|
2403 else
|
adam@0
|
2404 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
2405 yes:)
|
adam@0
|
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
2407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
2408 ac_tool_warned=yes ;;
|
adam@0
|
2409 esac
|
adam@0
|
2410 CC=$ac_ct_CC
|
adam@0
|
2411 fi
|
adam@0
|
2412 else
|
adam@0
|
2413 CC="$ac_cv_prog_CC"
|
adam@0
|
2414 fi
|
adam@0
|
2415
|
adam@0
|
2416 if test -z "$CC"; then
|
adam@0
|
2417 if test -n "$ac_tool_prefix"; then
|
adam@0
|
2418 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
adam@0
|
2419 set dummy ${ac_tool_prefix}cc; ac_word=$2
|
adam@0
|
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2421 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
2422 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
2423 $as_echo_n "(cached) " >&6
|
adam@0
|
2424 else
|
adam@0
|
2425 if test -n "$CC"; then
|
adam@0
|
2426 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2427 else
|
adam@0
|
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2429 for as_dir in $PATH
|
adam@0
|
2430 do
|
adam@0
|
2431 IFS=$as_save_IFS
|
adam@0
|
2432 test -z "$as_dir" && as_dir=.
|
adam@0
|
2433 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2435 ac_cv_prog_CC="${ac_tool_prefix}cc"
|
adam@0
|
2436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2437 break 2
|
adam@0
|
2438 fi
|
adam@0
|
2439 done
|
adam@0
|
2440 done
|
adam@0
|
2441 IFS=$as_save_IFS
|
adam@0
|
2442
|
adam@0
|
2443 fi
|
adam@0
|
2444 fi
|
adam@0
|
2445 CC=$ac_cv_prog_CC
|
adam@0
|
2446 if test -n "$CC"; then
|
adam@0
|
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2448 $as_echo "$CC" >&6; }
|
adam@0
|
2449 else
|
adam@0
|
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2451 $as_echo "no" >&6; }
|
adam@0
|
2452 fi
|
adam@0
|
2453
|
adam@0
|
2454
|
adam@0
|
2455 fi
|
adam@0
|
2456 fi
|
adam@0
|
2457 if test -z "$CC"; then
|
adam@0
|
2458 # Extract the first word of "cc", so it can be a program name with args.
|
adam@0
|
2459 set dummy cc; ac_word=$2
|
adam@0
|
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2461 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
2462 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
2463 $as_echo_n "(cached) " >&6
|
adam@0
|
2464 else
|
adam@0
|
2465 if test -n "$CC"; then
|
adam@0
|
2466 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2467 else
|
adam@0
|
2468 ac_prog_rejected=no
|
adam@0
|
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2470 for as_dir in $PATH
|
adam@0
|
2471 do
|
adam@0
|
2472 IFS=$as_save_IFS
|
adam@0
|
2473 test -z "$as_dir" && as_dir=.
|
adam@0
|
2474 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2476 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
adam@0
|
2477 ac_prog_rejected=yes
|
adam@0
|
2478 continue
|
adam@0
|
2479 fi
|
adam@0
|
2480 ac_cv_prog_CC="cc"
|
adam@0
|
2481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2482 break 2
|
adam@0
|
2483 fi
|
adam@0
|
2484 done
|
adam@0
|
2485 done
|
adam@0
|
2486 IFS=$as_save_IFS
|
adam@0
|
2487
|
adam@0
|
2488 if test $ac_prog_rejected = yes; then
|
adam@0
|
2489 # We found a bogon in the path, so make sure we never use it.
|
adam@0
|
2490 set dummy $ac_cv_prog_CC
|
adam@0
|
2491 shift
|
adam@0
|
2492 if test $# != 0; then
|
adam@0
|
2493 # We chose a different compiler from the bogus one.
|
adam@0
|
2494 # However, it has the same basename, so the bogon will be chosen
|
adam@0
|
2495 # first if we set CC to just the basename; use the full file name.
|
adam@0
|
2496 shift
|
adam@0
|
2497 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
adam@0
|
2498 fi
|
adam@0
|
2499 fi
|
adam@0
|
2500 fi
|
adam@0
|
2501 fi
|
adam@0
|
2502 CC=$ac_cv_prog_CC
|
adam@0
|
2503 if test -n "$CC"; then
|
adam@0
|
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2505 $as_echo "$CC" >&6; }
|
adam@0
|
2506 else
|
adam@0
|
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2508 $as_echo "no" >&6; }
|
adam@0
|
2509 fi
|
adam@0
|
2510
|
adam@0
|
2511
|
adam@0
|
2512 fi
|
adam@0
|
2513 if test -z "$CC"; then
|
adam@0
|
2514 if test -n "$ac_tool_prefix"; then
|
adam@0
|
2515 for ac_prog in cl.exe
|
adam@0
|
2516 do
|
adam@0
|
2517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@0
|
2518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@0
|
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2520 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
2521 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
2522 $as_echo_n "(cached) " >&6
|
adam@0
|
2523 else
|
adam@0
|
2524 if test -n "$CC"; then
|
adam@0
|
2525 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2526 else
|
adam@0
|
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2528 for as_dir in $PATH
|
adam@0
|
2529 do
|
adam@0
|
2530 IFS=$as_save_IFS
|
adam@0
|
2531 test -z "$as_dir" && as_dir=.
|
adam@0
|
2532 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2534 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
adam@0
|
2535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2536 break 2
|
adam@0
|
2537 fi
|
adam@0
|
2538 done
|
adam@0
|
2539 done
|
adam@0
|
2540 IFS=$as_save_IFS
|
adam@0
|
2541
|
adam@0
|
2542 fi
|
adam@0
|
2543 fi
|
adam@0
|
2544 CC=$ac_cv_prog_CC
|
adam@0
|
2545 if test -n "$CC"; then
|
adam@0
|
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2547 $as_echo "$CC" >&6; }
|
adam@0
|
2548 else
|
adam@0
|
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2550 $as_echo "no" >&6; }
|
adam@0
|
2551 fi
|
adam@0
|
2552
|
adam@0
|
2553
|
adam@0
|
2554 test -n "$CC" && break
|
adam@0
|
2555 done
|
adam@0
|
2556 fi
|
adam@0
|
2557 if test -z "$CC"; then
|
adam@0
|
2558 ac_ct_CC=$CC
|
adam@0
|
2559 for ac_prog in cl.exe
|
adam@0
|
2560 do
|
adam@0
|
2561 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
2562 set dummy $ac_prog; ac_word=$2
|
adam@0
|
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2564 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
2565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
adam@0
|
2566 $as_echo_n "(cached) " >&6
|
adam@0
|
2567 else
|
adam@0
|
2568 if test -n "$ac_ct_CC"; then
|
adam@0
|
2569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
2570 else
|
adam@0
|
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2572 for as_dir in $PATH
|
adam@0
|
2573 do
|
adam@0
|
2574 IFS=$as_save_IFS
|
adam@0
|
2575 test -z "$as_dir" && as_dir=.
|
adam@0
|
2576 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2578 ac_cv_prog_ac_ct_CC="$ac_prog"
|
adam@0
|
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2580 break 2
|
adam@0
|
2581 fi
|
adam@0
|
2582 done
|
adam@0
|
2583 done
|
adam@0
|
2584 IFS=$as_save_IFS
|
adam@0
|
2585
|
adam@0
|
2586 fi
|
adam@0
|
2587 fi
|
adam@0
|
2588 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
2589 if test -n "$ac_ct_CC"; then
|
adam@0
|
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
2591 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
2592 else
|
adam@0
|
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2594 $as_echo "no" >&6; }
|
adam@0
|
2595 fi
|
adam@0
|
2596
|
adam@0
|
2597
|
adam@0
|
2598 test -n "$ac_ct_CC" && break
|
adam@0
|
2599 done
|
adam@0
|
2600
|
adam@0
|
2601 if test "x$ac_ct_CC" = x; then
|
adam@0
|
2602 CC=""
|
adam@0
|
2603 else
|
adam@0
|
2604 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
2605 yes:)
|
adam@0
|
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
2607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
2608 ac_tool_warned=yes ;;
|
adam@0
|
2609 esac
|
adam@0
|
2610 CC=$ac_ct_CC
|
adam@0
|
2611 fi
|
adam@0
|
2612 fi
|
adam@0
|
2613
|
adam@0
|
2614 fi
|
adam@0
|
2615
|
adam@0
|
2616
|
adam@0
|
2617 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2619 as_fn_error $? "no acceptable C compiler found in \$PATH
|
adam@64
|
2620 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
2621
|
adam@0
|
2622 # Provide some information about the compiler.
|
adam@0
|
2623 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
adam@0
|
2624 set X $ac_compile
|
adam@0
|
2625 ac_compiler=$2
|
adam@0
|
2626 for ac_option in --version -v -V -qversion; do
|
adam@0
|
2627 { { ac_try="$ac_compiler $ac_option >&5"
|
adam@0
|
2628 case "(($ac_try" in
|
adam@0
|
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2630 *) ac_try_echo=$ac_try;;
|
adam@0
|
2631 esac
|
adam@0
|
2632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2633 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2634 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
adam@0
|
2635 ac_status=$?
|
adam@0
|
2636 if test -s conftest.err; then
|
adam@0
|
2637 sed '10a\
|
adam@0
|
2638 ... rest of stderr output deleted ...
|
adam@0
|
2639 10q' conftest.err >conftest.er1
|
adam@0
|
2640 cat conftest.er1 >&5
|
adam@0
|
2641 fi
|
adam@0
|
2642 rm -f conftest.er1 conftest.err
|
adam@0
|
2643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2644 test $ac_status = 0; }
|
adam@0
|
2645 done
|
adam@0
|
2646
|
adam@0
|
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2648 /* end confdefs.h. */
|
adam@0
|
2649
|
adam@0
|
2650 int
|
adam@0
|
2651 main ()
|
adam@0
|
2652 {
|
adam@0
|
2653
|
adam@0
|
2654 ;
|
adam@0
|
2655 return 0;
|
adam@0
|
2656 }
|
adam@0
|
2657 _ACEOF
|
adam@0
|
2658 ac_clean_files_save=$ac_clean_files
|
adam@0
|
2659 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
adam@0
|
2660 # Try to create an executable without -o first, disregard a.out.
|
adam@0
|
2661 # It will help us diagnose broken compilers, and finding out an intuition
|
adam@0
|
2662 # of exeext.
|
adam@0
|
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
adam@0
|
2664 $as_echo_n "checking whether the C compiler works... " >&6; }
|
adam@0
|
2665 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
adam@0
|
2666
|
adam@0
|
2667 # The possible output files:
|
adam@0
|
2668 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
adam@0
|
2669
|
adam@0
|
2670 ac_rmfiles=
|
adam@0
|
2671 for ac_file in $ac_files
|
adam@0
|
2672 do
|
adam@0
|
2673 case $ac_file in
|
adam@0
|
2674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
adam@0
|
2675 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
adam@0
|
2676 esac
|
adam@0
|
2677 done
|
adam@0
|
2678 rm -f $ac_rmfiles
|
adam@0
|
2679
|
adam@0
|
2680 if { { ac_try="$ac_link_default"
|
adam@0
|
2681 case "(($ac_try" in
|
adam@0
|
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2683 *) ac_try_echo=$ac_try;;
|
adam@0
|
2684 esac
|
adam@0
|
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2686 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2687 (eval "$ac_link_default") 2>&5
|
adam@0
|
2688 ac_status=$?
|
adam@0
|
2689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2690 test $ac_status = 0; }; then :
|
adam@0
|
2691 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
adam@0
|
2692 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
adam@0
|
2693 # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
adam@0
|
2694 # so that the user can short-circuit this test for compilers unknown to
|
adam@0
|
2695 # Autoconf.
|
adam@0
|
2696 for ac_file in $ac_files ''
|
adam@0
|
2697 do
|
adam@0
|
2698 test -f "$ac_file" || continue
|
adam@0
|
2699 case $ac_file in
|
adam@0
|
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
adam@0
|
2701 ;;
|
adam@0
|
2702 [ab].out )
|
adam@0
|
2703 # We found the default executable, but exeext='' is most
|
adam@0
|
2704 # certainly right.
|
adam@0
|
2705 break;;
|
adam@0
|
2706 *.* )
|
adam@0
|
2707 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
adam@0
|
2708 then :; else
|
adam@0
|
2709 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
adam@0
|
2710 fi
|
adam@0
|
2711 # We set ac_cv_exeext here because the later test for it is not
|
adam@0
|
2712 # safe: cross compilers may not add the suffix if given an `-o'
|
adam@0
|
2713 # argument, so we may need to know it at that point already.
|
adam@0
|
2714 # Even if this section looks crufty: it has the advantage of
|
adam@0
|
2715 # actually working.
|
adam@0
|
2716 break;;
|
adam@0
|
2717 * )
|
adam@0
|
2718 break;;
|
adam@0
|
2719 esac
|
adam@0
|
2720 done
|
adam@0
|
2721 test "$ac_cv_exeext" = no && ac_cv_exeext=
|
adam@0
|
2722
|
adam@0
|
2723 else
|
adam@0
|
2724 ac_file=''
|
adam@0
|
2725 fi
|
adam@0
|
2726 if test -z "$ac_file"; then :
|
adam@0
|
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2728 $as_echo "no" >&6; }
|
adam@0
|
2729 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
2730 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
2731
|
adam@0
|
2732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2734 as_fn_error 77 "C compiler cannot create executables
|
adam@64
|
2735 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
2736 else
|
adam@0
|
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
2738 $as_echo "yes" >&6; }
|
adam@0
|
2739 fi
|
adam@0
|
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
adam@0
|
2741 $as_echo_n "checking for C compiler default output file name... " >&6; }
|
adam@0
|
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
adam@0
|
2743 $as_echo "$ac_file" >&6; }
|
adam@0
|
2744 ac_exeext=$ac_cv_exeext
|
adam@0
|
2745
|
adam@0
|
2746 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
adam@0
|
2747 ac_clean_files=$ac_clean_files_save
|
adam@0
|
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
adam@0
|
2749 $as_echo_n "checking for suffix of executables... " >&6; }
|
adam@0
|
2750 if { { ac_try="$ac_link"
|
adam@0
|
2751 case "(($ac_try" in
|
adam@0
|
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2753 *) ac_try_echo=$ac_try;;
|
adam@0
|
2754 esac
|
adam@0
|
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2756 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2757 (eval "$ac_link") 2>&5
|
adam@0
|
2758 ac_status=$?
|
adam@0
|
2759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2760 test $ac_status = 0; }; then :
|
adam@0
|
2761 # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
adam@0
|
2762 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
adam@0
|
2763 # work properly (i.e., refer to `conftest.exe'), while it won't with
|
adam@0
|
2764 # `rm'.
|
adam@0
|
2765 for ac_file in conftest.exe conftest conftest.*; do
|
adam@0
|
2766 test -f "$ac_file" || continue
|
adam@0
|
2767 case $ac_file in
|
adam@0
|
2768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
adam@0
|
2769 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
adam@0
|
2770 break;;
|
adam@0
|
2771 * ) break;;
|
adam@0
|
2772 esac
|
adam@0
|
2773 done
|
adam@0
|
2774 else
|
adam@0
|
2775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2777 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
adam@64
|
2778 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
2779 fi
|
adam@0
|
2780 rm -f conftest conftest$ac_cv_exeext
|
adam@0
|
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
adam@0
|
2782 $as_echo "$ac_cv_exeext" >&6; }
|
adam@0
|
2783
|
adam@0
|
2784 rm -f conftest.$ac_ext
|
adam@0
|
2785 EXEEXT=$ac_cv_exeext
|
adam@0
|
2786 ac_exeext=$EXEEXT
|
adam@0
|
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2788 /* end confdefs.h. */
|
adam@0
|
2789 #include <stdio.h>
|
adam@0
|
2790 int
|
adam@0
|
2791 main ()
|
adam@0
|
2792 {
|
adam@0
|
2793 FILE *f = fopen ("conftest.out", "w");
|
adam@0
|
2794 return ferror (f) || fclose (f) != 0;
|
adam@0
|
2795
|
adam@0
|
2796 ;
|
adam@0
|
2797 return 0;
|
adam@0
|
2798 }
|
adam@0
|
2799 _ACEOF
|
adam@0
|
2800 ac_clean_files="$ac_clean_files conftest.out"
|
adam@0
|
2801 # Check that the compiler produces executables we can run. If not, either
|
adam@0
|
2802 # the compiler is broken, or we cross compile.
|
adam@0
|
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
adam@0
|
2804 $as_echo_n "checking whether we are cross compiling... " >&6; }
|
adam@0
|
2805 if test "$cross_compiling" != yes; then
|
adam@0
|
2806 { { ac_try="$ac_link"
|
adam@0
|
2807 case "(($ac_try" in
|
adam@0
|
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2809 *) ac_try_echo=$ac_try;;
|
adam@0
|
2810 esac
|
adam@0
|
2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2812 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2813 (eval "$ac_link") 2>&5
|
adam@0
|
2814 ac_status=$?
|
adam@0
|
2815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2816 test $ac_status = 0; }
|
adam@0
|
2817 if { ac_try='./conftest$ac_cv_exeext'
|
adam@0
|
2818 { { case "(($ac_try" in
|
adam@0
|
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2820 *) ac_try_echo=$ac_try;;
|
adam@0
|
2821 esac
|
adam@0
|
2822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2823 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2824 (eval "$ac_try") 2>&5
|
adam@0
|
2825 ac_status=$?
|
adam@0
|
2826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2827 test $ac_status = 0; }; }; then
|
adam@0
|
2828 cross_compiling=no
|
adam@0
|
2829 else
|
adam@0
|
2830 if test "$cross_compiling" = maybe; then
|
adam@0
|
2831 cross_compiling=yes
|
adam@0
|
2832 else
|
adam@0
|
2833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2835 as_fn_error $? "cannot run C compiled programs.
|
adam@0
|
2836 If you meant to cross compile, use \`--host'.
|
adam@64
|
2837 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
2838 fi
|
adam@0
|
2839 fi
|
adam@0
|
2840 fi
|
adam@0
|
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
adam@0
|
2842 $as_echo "$cross_compiling" >&6; }
|
adam@0
|
2843
|
adam@0
|
2844 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
adam@0
|
2845 ac_clean_files=$ac_clean_files_save
|
adam@0
|
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
adam@0
|
2847 $as_echo_n "checking for suffix of object files... " >&6; }
|
adam@64
|
2848 if test "${ac_cv_objext+set}" = set; then :
|
adam@0
|
2849 $as_echo_n "(cached) " >&6
|
adam@0
|
2850 else
|
adam@0
|
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2852 /* end confdefs.h. */
|
adam@0
|
2853
|
adam@0
|
2854 int
|
adam@0
|
2855 main ()
|
adam@0
|
2856 {
|
adam@0
|
2857
|
adam@0
|
2858 ;
|
adam@0
|
2859 return 0;
|
adam@0
|
2860 }
|
adam@0
|
2861 _ACEOF
|
adam@0
|
2862 rm -f conftest.o conftest.obj
|
adam@0
|
2863 if { { ac_try="$ac_compile"
|
adam@0
|
2864 case "(($ac_try" in
|
adam@0
|
2865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2866 *) ac_try_echo=$ac_try;;
|
adam@0
|
2867 esac
|
adam@0
|
2868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2869 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2870 (eval "$ac_compile") 2>&5
|
adam@0
|
2871 ac_status=$?
|
adam@0
|
2872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2873 test $ac_status = 0; }; then :
|
adam@0
|
2874 for ac_file in conftest.o conftest.obj conftest.*; do
|
adam@0
|
2875 test -f "$ac_file" || continue;
|
adam@0
|
2876 case $ac_file in
|
adam@0
|
2877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
adam@0
|
2878 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
adam@0
|
2879 break;;
|
adam@0
|
2880 esac
|
adam@0
|
2881 done
|
adam@0
|
2882 else
|
adam@0
|
2883 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
2884 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
2885
|
adam@0
|
2886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2888 as_fn_error $? "cannot compute suffix of object files: cannot compile
|
adam@64
|
2889 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
2890 fi
|
adam@0
|
2891 rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
adam@0
|
2892 fi
|
adam@0
|
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
adam@0
|
2894 $as_echo "$ac_cv_objext" >&6; }
|
adam@0
|
2895 OBJEXT=$ac_cv_objext
|
adam@0
|
2896 ac_objext=$OBJEXT
|
adam@0
|
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
adam@0
|
2898 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
adam@64
|
2899 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
adam@0
|
2900 $as_echo_n "(cached) " >&6
|
adam@0
|
2901 else
|
adam@0
|
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2903 /* end confdefs.h. */
|
adam@0
|
2904
|
adam@0
|
2905 int
|
adam@0
|
2906 main ()
|
adam@0
|
2907 {
|
adam@0
|
2908 #ifndef __GNUC__
|
adam@0
|
2909 choke me
|
adam@0
|
2910 #endif
|
adam@0
|
2911
|
adam@0
|
2912 ;
|
adam@0
|
2913 return 0;
|
adam@0
|
2914 }
|
adam@0
|
2915 _ACEOF
|
adam@0
|
2916 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2917 ac_compiler_gnu=yes
|
adam@0
|
2918 else
|
adam@0
|
2919 ac_compiler_gnu=no
|
adam@0
|
2920 fi
|
adam@0
|
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2922 ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
adam@0
|
2923
|
adam@0
|
2924 fi
|
adam@0
|
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
adam@0
|
2926 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
adam@0
|
2927 if test $ac_compiler_gnu = yes; then
|
adam@0
|
2928 GCC=yes
|
adam@0
|
2929 else
|
adam@0
|
2930 GCC=
|
adam@0
|
2931 fi
|
adam@0
|
2932 ac_test_CFLAGS=${CFLAGS+set}
|
adam@0
|
2933 ac_save_CFLAGS=$CFLAGS
|
adam@0
|
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
adam@0
|
2935 $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
adam@64
|
2936 if test "${ac_cv_prog_cc_g+set}" = set; then :
|
adam@0
|
2937 $as_echo_n "(cached) " >&6
|
adam@0
|
2938 else
|
adam@0
|
2939 ac_save_c_werror_flag=$ac_c_werror_flag
|
adam@0
|
2940 ac_c_werror_flag=yes
|
adam@0
|
2941 ac_cv_prog_cc_g=no
|
adam@0
|
2942 CFLAGS="-g"
|
adam@0
|
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2944 /* end confdefs.h. */
|
adam@0
|
2945
|
adam@0
|
2946 int
|
adam@0
|
2947 main ()
|
adam@0
|
2948 {
|
adam@0
|
2949
|
adam@0
|
2950 ;
|
adam@0
|
2951 return 0;
|
adam@0
|
2952 }
|
adam@0
|
2953 _ACEOF
|
adam@0
|
2954 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2955 ac_cv_prog_cc_g=yes
|
adam@0
|
2956 else
|
adam@0
|
2957 CFLAGS=""
|
adam@0
|
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2959 /* end confdefs.h. */
|
adam@0
|
2960
|
adam@0
|
2961 int
|
adam@0
|
2962 main ()
|
adam@0
|
2963 {
|
adam@0
|
2964
|
adam@0
|
2965 ;
|
adam@0
|
2966 return 0;
|
adam@0
|
2967 }
|
adam@0
|
2968 _ACEOF
|
adam@0
|
2969 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2970
|
adam@0
|
2971 else
|
adam@0
|
2972 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
2973 CFLAGS="-g"
|
adam@0
|
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2975 /* end confdefs.h. */
|
adam@0
|
2976
|
adam@0
|
2977 int
|
adam@0
|
2978 main ()
|
adam@0
|
2979 {
|
adam@0
|
2980
|
adam@0
|
2981 ;
|
adam@0
|
2982 return 0;
|
adam@0
|
2983 }
|
adam@0
|
2984 _ACEOF
|
adam@0
|
2985 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2986 ac_cv_prog_cc_g=yes
|
adam@0
|
2987 fi
|
adam@0
|
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2989 fi
|
adam@0
|
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2991 fi
|
adam@0
|
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2993 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
2994 fi
|
adam@0
|
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
adam@0
|
2996 $as_echo "$ac_cv_prog_cc_g" >&6; }
|
adam@0
|
2997 if test "$ac_test_CFLAGS" = set; then
|
adam@0
|
2998 CFLAGS=$ac_save_CFLAGS
|
adam@0
|
2999 elif test $ac_cv_prog_cc_g = yes; then
|
adam@0
|
3000 if test "$GCC" = yes; then
|
adam@0
|
3001 CFLAGS="-g -O2"
|
adam@0
|
3002 else
|
adam@0
|
3003 CFLAGS="-g"
|
adam@0
|
3004 fi
|
adam@0
|
3005 else
|
adam@0
|
3006 if test "$GCC" = yes; then
|
adam@0
|
3007 CFLAGS="-O2"
|
adam@0
|
3008 else
|
adam@0
|
3009 CFLAGS=
|
adam@0
|
3010 fi
|
adam@0
|
3011 fi
|
adam@0
|
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
adam@0
|
3013 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
adam@64
|
3014 if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
adam@0
|
3015 $as_echo_n "(cached) " >&6
|
adam@0
|
3016 else
|
adam@0
|
3017 ac_cv_prog_cc_c89=no
|
adam@0
|
3018 ac_save_CC=$CC
|
adam@0
|
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3020 /* end confdefs.h. */
|
adam@0
|
3021 #include <stdarg.h>
|
adam@0
|
3022 #include <stdio.h>
|
adam@0
|
3023 #include <sys/types.h>
|
adam@0
|
3024 #include <sys/stat.h>
|
adam@0
|
3025 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
adam@0
|
3026 struct buf { int x; };
|
adam@0
|
3027 FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
adam@0
|
3028 static char *e (p, i)
|
adam@0
|
3029 char **p;
|
adam@0
|
3030 int i;
|
adam@0
|
3031 {
|
adam@0
|
3032 return p[i];
|
adam@0
|
3033 }
|
adam@0
|
3034 static char *f (char * (*g) (char **, int), char **p, ...)
|
adam@0
|
3035 {
|
adam@0
|
3036 char *s;
|
adam@0
|
3037 va_list v;
|
adam@0
|
3038 va_start (v,p);
|
adam@0
|
3039 s = g (p, va_arg (v,int));
|
adam@0
|
3040 va_end (v);
|
adam@0
|
3041 return s;
|
adam@0
|
3042 }
|
adam@0
|
3043
|
adam@0
|
3044 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
adam@0
|
3045 function prototypes and stuff, but not '\xHH' hex character constants.
|
adam@0
|
3046 These don't provoke an error unfortunately, instead are silently treated
|
adam@0
|
3047 as 'x'. The following induces an error, until -std is added to get
|
adam@0
|
3048 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
adam@0
|
3049 array size at least. It's necessary to write '\x00'==0 to get something
|
adam@0
|
3050 that's true only with -std. */
|
adam@0
|
3051 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
adam@0
|
3052
|
adam@0
|
3053 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
adam@0
|
3054 inside strings and character constants. */
|
adam@0
|
3055 #define FOO(x) 'x'
|
adam@0
|
3056 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
adam@0
|
3057
|
adam@0
|
3058 int test (int i, double x);
|
adam@0
|
3059 struct s1 {int (*f) (int a);};
|
adam@0
|
3060 struct s2 {int (*f) (double a);};
|
adam@0
|
3061 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
adam@0
|
3062 int argc;
|
adam@0
|
3063 char **argv;
|
adam@0
|
3064 int
|
adam@0
|
3065 main ()
|
adam@0
|
3066 {
|
adam@0
|
3067 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
adam@0
|
3068 ;
|
adam@0
|
3069 return 0;
|
adam@0
|
3070 }
|
adam@0
|
3071 _ACEOF
|
adam@0
|
3072 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
adam@0
|
3073 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
adam@0
|
3074 do
|
adam@0
|
3075 CC="$ac_save_CC $ac_arg"
|
adam@0
|
3076 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
3077 ac_cv_prog_cc_c89=$ac_arg
|
adam@0
|
3078 fi
|
adam@0
|
3079 rm -f core conftest.err conftest.$ac_objext
|
adam@0
|
3080 test "x$ac_cv_prog_cc_c89" != "xno" && break
|
adam@0
|
3081 done
|
adam@0
|
3082 rm -f conftest.$ac_ext
|
adam@0
|
3083 CC=$ac_save_CC
|
adam@0
|
3084
|
adam@0
|
3085 fi
|
adam@0
|
3086 # AC_CACHE_VAL
|
adam@0
|
3087 case "x$ac_cv_prog_cc_c89" in
|
adam@0
|
3088 x)
|
adam@0
|
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
adam@0
|
3090 $as_echo "none needed" >&6; } ;;
|
adam@0
|
3091 xno)
|
adam@0
|
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
adam@0
|
3093 $as_echo "unsupported" >&6; } ;;
|
adam@0
|
3094 *)
|
adam@0
|
3095 CC="$CC $ac_cv_prog_cc_c89"
|
adam@0
|
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
adam@0
|
3097 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
adam@0
|
3098 esac
|
adam@0
|
3099 if test "x$ac_cv_prog_cc_c89" != xno; then :
|
adam@0
|
3100
|
adam@0
|
3101 fi
|
adam@0
|
3102
|
adam@0
|
3103 ac_ext=c
|
adam@0
|
3104 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
3105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
3106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
3107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
3108
|
adam@0
|
3109
|
adam@0
|
3110 ac_ext=c
|
adam@0
|
3111 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
3112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
3113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
3114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
adam@0
|
3116 $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
adam@0
|
3117 # On Suns, sometimes $CPP names a directory.
|
adam@0
|
3118 if test -n "$CPP" && test -d "$CPP"; then
|
adam@0
|
3119 CPP=
|
adam@0
|
3120 fi
|
adam@0
|
3121 if test -z "$CPP"; then
|
adam@64
|
3122 if test "${ac_cv_prog_CPP+set}" = set; then :
|
adam@0
|
3123 $as_echo_n "(cached) " >&6
|
adam@0
|
3124 else
|
adam@0
|
3125 # Double quotes because CPP needs to be expanded
|
adam@0
|
3126 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
adam@0
|
3127 do
|
adam@0
|
3128 ac_preproc_ok=false
|
adam@0
|
3129 for ac_c_preproc_warn_flag in '' yes
|
adam@0
|
3130 do
|
adam@0
|
3131 # Use a header file that comes with gcc, so configuring glibc
|
adam@0
|
3132 # with a fresh cross-compiler works.
|
adam@0
|
3133 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@0
|
3134 # <limits.h> exists even on freestanding compilers.
|
adam@0
|
3135 # On the NeXT, cc -E runs the code through the compiler's parser,
|
adam@0
|
3136 # not just through cpp. "Syntax error" is here to catch this case.
|
adam@0
|
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3138 /* end confdefs.h. */
|
adam@0
|
3139 #ifdef __STDC__
|
adam@0
|
3140 # include <limits.h>
|
adam@0
|
3141 #else
|
adam@0
|
3142 # include <assert.h>
|
adam@0
|
3143 #endif
|
adam@0
|
3144 Syntax error
|
adam@0
|
3145 _ACEOF
|
adam@0
|
3146 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3147
|
adam@0
|
3148 else
|
adam@0
|
3149 # Broken: fails on valid input.
|
adam@0
|
3150 continue
|
adam@0
|
3151 fi
|
adam@0
|
3152 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3153
|
adam@0
|
3154 # OK, works on sane cases. Now check whether nonexistent headers
|
adam@0
|
3155 # can be detected and how.
|
adam@0
|
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3157 /* end confdefs.h. */
|
adam@0
|
3158 #include <ac_nonexistent.h>
|
adam@0
|
3159 _ACEOF
|
adam@0
|
3160 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3161 # Broken: success on invalid input.
|
adam@0
|
3162 continue
|
adam@0
|
3163 else
|
adam@0
|
3164 # Passes both tests.
|
adam@0
|
3165 ac_preproc_ok=:
|
adam@0
|
3166 break
|
adam@0
|
3167 fi
|
adam@0
|
3168 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3169
|
adam@0
|
3170 done
|
adam@0
|
3171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
adam@0
|
3172 rm -f conftest.i conftest.err conftest.$ac_ext
|
adam@0
|
3173 if $ac_preproc_ok; then :
|
adam@0
|
3174 break
|
adam@0
|
3175 fi
|
adam@0
|
3176
|
adam@0
|
3177 done
|
adam@0
|
3178 ac_cv_prog_CPP=$CPP
|
adam@0
|
3179
|
adam@0
|
3180 fi
|
adam@0
|
3181 CPP=$ac_cv_prog_CPP
|
adam@0
|
3182 else
|
adam@0
|
3183 ac_cv_prog_CPP=$CPP
|
adam@0
|
3184 fi
|
adam@0
|
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
adam@0
|
3186 $as_echo "$CPP" >&6; }
|
adam@0
|
3187 ac_preproc_ok=false
|
adam@0
|
3188 for ac_c_preproc_warn_flag in '' yes
|
adam@0
|
3189 do
|
adam@0
|
3190 # Use a header file that comes with gcc, so configuring glibc
|
adam@0
|
3191 # with a fresh cross-compiler works.
|
adam@0
|
3192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@0
|
3193 # <limits.h> exists even on freestanding compilers.
|
adam@0
|
3194 # On the NeXT, cc -E runs the code through the compiler's parser,
|
adam@0
|
3195 # not just through cpp. "Syntax error" is here to catch this case.
|
adam@0
|
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3197 /* end confdefs.h. */
|
adam@0
|
3198 #ifdef __STDC__
|
adam@0
|
3199 # include <limits.h>
|
adam@0
|
3200 #else
|
adam@0
|
3201 # include <assert.h>
|
adam@0
|
3202 #endif
|
adam@0
|
3203 Syntax error
|
adam@0
|
3204 _ACEOF
|
adam@0
|
3205 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3206
|
adam@0
|
3207 else
|
adam@0
|
3208 # Broken: fails on valid input.
|
adam@0
|
3209 continue
|
adam@0
|
3210 fi
|
adam@0
|
3211 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3212
|
adam@0
|
3213 # OK, works on sane cases. Now check whether nonexistent headers
|
adam@0
|
3214 # can be detected and how.
|
adam@0
|
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3216 /* end confdefs.h. */
|
adam@0
|
3217 #include <ac_nonexistent.h>
|
adam@0
|
3218 _ACEOF
|
adam@0
|
3219 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3220 # Broken: success on invalid input.
|
adam@0
|
3221 continue
|
adam@0
|
3222 else
|
adam@0
|
3223 # Passes both tests.
|
adam@0
|
3224 ac_preproc_ok=:
|
adam@0
|
3225 break
|
adam@0
|
3226 fi
|
adam@0
|
3227 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3228
|
adam@0
|
3229 done
|
adam@0
|
3230 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
adam@0
|
3231 rm -f conftest.i conftest.err conftest.$ac_ext
|
adam@0
|
3232 if $ac_preproc_ok; then :
|
adam@0
|
3233
|
adam@0
|
3234 else
|
adam@0
|
3235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
3236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
3237 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
adam@64
|
3238 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
3239 fi
|
adam@0
|
3240
|
adam@0
|
3241 ac_ext=c
|
adam@0
|
3242 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
3243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
3244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
3245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
3246
|
adam@0
|
3247
|
adam@0
|
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
adam@0
|
3249 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
adam@64
|
3250 if test "${ac_cv_path_GREP+set}" = set; then :
|
adam@0
|
3251 $as_echo_n "(cached) " >&6
|
adam@0
|
3252 else
|
adam@0
|
3253 if test -z "$GREP"; then
|
adam@0
|
3254 ac_path_GREP_found=false
|
adam@0
|
3255 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3257 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
adam@0
|
3258 do
|
adam@0
|
3259 IFS=$as_save_IFS
|
adam@0
|
3260 test -z "$as_dir" && as_dir=.
|
adam@0
|
3261 for ac_prog in grep ggrep; do
|
adam@0
|
3262 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3263 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
3264 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
adam@0
|
3265 # Check for GNU ac_path_GREP and select it if it is found.
|
adam@0
|
3266 # Check for GNU $ac_path_GREP
|
adam@0
|
3267 case `"$ac_path_GREP" --version 2>&1` in
|
adam@0
|
3268 *GNU*)
|
adam@0
|
3269 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
adam@0
|
3270 *)
|
adam@0
|
3271 ac_count=0
|
adam@0
|
3272 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
3273 while :
|
adam@0
|
3274 do
|
adam@0
|
3275 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
3276 mv "conftest.tmp" "conftest.in"
|
adam@0
|
3277 cp "conftest.in" "conftest.nl"
|
adam@0
|
3278 $as_echo 'GREP' >> "conftest.nl"
|
adam@0
|
3279 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
3280 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
3281 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
3282 if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
adam@0
|
3283 # Best one so far, save it but keep looking for a better one
|
adam@0
|
3284 ac_cv_path_GREP="$ac_path_GREP"
|
adam@0
|
3285 ac_path_GREP_max=$ac_count
|
adam@0
|
3286 fi
|
adam@0
|
3287 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
3288 test $ac_count -gt 10 && break
|
adam@0
|
3289 done
|
adam@0
|
3290 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
3291 esac
|
adam@0
|
3292
|
adam@0
|
3293 $ac_path_GREP_found && break 3
|
adam@0
|
3294 done
|
adam@0
|
3295 done
|
adam@0
|
3296 done
|
adam@0
|
3297 IFS=$as_save_IFS
|
adam@0
|
3298 if test -z "$ac_cv_path_GREP"; then
|
adam@0
|
3299 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
adam@0
|
3300 fi
|
adam@0
|
3301 else
|
adam@0
|
3302 ac_cv_path_GREP=$GREP
|
adam@0
|
3303 fi
|
adam@0
|
3304
|
adam@0
|
3305 fi
|
adam@0
|
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
adam@0
|
3307 $as_echo "$ac_cv_path_GREP" >&6; }
|
adam@0
|
3308 GREP="$ac_cv_path_GREP"
|
adam@0
|
3309
|
adam@0
|
3310
|
adam@0
|
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
adam@0
|
3312 $as_echo_n "checking for egrep... " >&6; }
|
adam@64
|
3313 if test "${ac_cv_path_EGREP+set}" = set; then :
|
adam@0
|
3314 $as_echo_n "(cached) " >&6
|
adam@0
|
3315 else
|
adam@0
|
3316 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
adam@0
|
3317 then ac_cv_path_EGREP="$GREP -E"
|
adam@0
|
3318 else
|
adam@0
|
3319 if test -z "$EGREP"; then
|
adam@0
|
3320 ac_path_EGREP_found=false
|
adam@0
|
3321 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3323 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
adam@0
|
3324 do
|
adam@0
|
3325 IFS=$as_save_IFS
|
adam@0
|
3326 test -z "$as_dir" && as_dir=.
|
adam@0
|
3327 for ac_prog in egrep; do
|
adam@0
|
3328 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3329 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
3330 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
adam@0
|
3331 # Check for GNU ac_path_EGREP and select it if it is found.
|
adam@0
|
3332 # Check for GNU $ac_path_EGREP
|
adam@0
|
3333 case `"$ac_path_EGREP" --version 2>&1` in
|
adam@0
|
3334 *GNU*)
|
adam@0
|
3335 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
adam@0
|
3336 *)
|
adam@0
|
3337 ac_count=0
|
adam@0
|
3338 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
3339 while :
|
adam@0
|
3340 do
|
adam@0
|
3341 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
3342 mv "conftest.tmp" "conftest.in"
|
adam@0
|
3343 cp "conftest.in" "conftest.nl"
|
adam@0
|
3344 $as_echo 'EGREP' >> "conftest.nl"
|
adam@0
|
3345 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
3346 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
3347 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
3348 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
adam@0
|
3349 # Best one so far, save it but keep looking for a better one
|
adam@0
|
3350 ac_cv_path_EGREP="$ac_path_EGREP"
|
adam@0
|
3351 ac_path_EGREP_max=$ac_count
|
adam@0
|
3352 fi
|
adam@0
|
3353 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
3354 test $ac_count -gt 10 && break
|
adam@0
|
3355 done
|
adam@0
|
3356 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
3357 esac
|
adam@0
|
3358
|
adam@0
|
3359 $ac_path_EGREP_found && break 3
|
adam@0
|
3360 done
|
adam@0
|
3361 done
|
adam@0
|
3362 done
|
adam@0
|
3363 IFS=$as_save_IFS
|
adam@0
|
3364 if test -z "$ac_cv_path_EGREP"; then
|
adam@0
|
3365 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
adam@0
|
3366 fi
|
adam@0
|
3367 else
|
adam@0
|
3368 ac_cv_path_EGREP=$EGREP
|
adam@0
|
3369 fi
|
adam@0
|
3370
|
adam@0
|
3371 fi
|
adam@0
|
3372 fi
|
adam@0
|
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
adam@0
|
3374 $as_echo "$ac_cv_path_EGREP" >&6; }
|
adam@0
|
3375 EGREP="$ac_cv_path_EGREP"
|
adam@0
|
3376
|
adam@0
|
3377
|
adam@0
|
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
adam@0
|
3379 $as_echo_n "checking for ANSI C header files... " >&6; }
|
adam@64
|
3380 if test "${ac_cv_header_stdc+set}" = set; then :
|
adam@0
|
3381 $as_echo_n "(cached) " >&6
|
adam@0
|
3382 else
|
adam@0
|
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3384 /* end confdefs.h. */
|
adam@0
|
3385 #include <stdlib.h>
|
adam@0
|
3386 #include <stdarg.h>
|
adam@0
|
3387 #include <string.h>
|
adam@0
|
3388 #include <float.h>
|
adam@0
|
3389
|
adam@0
|
3390 int
|
adam@0
|
3391 main ()
|
adam@0
|
3392 {
|
adam@0
|
3393
|
adam@0
|
3394 ;
|
adam@0
|
3395 return 0;
|
adam@0
|
3396 }
|
adam@0
|
3397 _ACEOF
|
adam@0
|
3398 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
3399 ac_cv_header_stdc=yes
|
adam@0
|
3400 else
|
adam@0
|
3401 ac_cv_header_stdc=no
|
adam@0
|
3402 fi
|
adam@0
|
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
3404
|
adam@0
|
3405 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3406 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
adam@0
|
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3408 /* end confdefs.h. */
|
adam@0
|
3409 #include <string.h>
|
adam@0
|
3410
|
adam@0
|
3411 _ACEOF
|
adam@0
|
3412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
adam@0
|
3413 $EGREP "memchr" >/dev/null 2>&1; then :
|
adam@0
|
3414
|
adam@0
|
3415 else
|
adam@0
|
3416 ac_cv_header_stdc=no
|
adam@0
|
3417 fi
|
adam@0
|
3418 rm -f conftest*
|
adam@0
|
3419
|
adam@0
|
3420 fi
|
adam@0
|
3421
|
adam@0
|
3422 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3423 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
adam@0
|
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3425 /* end confdefs.h. */
|
adam@0
|
3426 #include <stdlib.h>
|
adam@0
|
3427
|
adam@0
|
3428 _ACEOF
|
adam@0
|
3429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
adam@0
|
3430 $EGREP "free" >/dev/null 2>&1; then :
|
adam@0
|
3431
|
adam@0
|
3432 else
|
adam@0
|
3433 ac_cv_header_stdc=no
|
adam@0
|
3434 fi
|
adam@0
|
3435 rm -f conftest*
|
adam@0
|
3436
|
adam@0
|
3437 fi
|
adam@0
|
3438
|
adam@0
|
3439 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3440 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
adam@0
|
3441 if test "$cross_compiling" = yes; then :
|
adam@0
|
3442 :
|
adam@0
|
3443 else
|
adam@0
|
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3445 /* end confdefs.h. */
|
adam@0
|
3446 #include <ctype.h>
|
adam@0
|
3447 #include <stdlib.h>
|
adam@0
|
3448 #if ((' ' & 0x0FF) == 0x020)
|
adam@0
|
3449 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
adam@0
|
3450 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
adam@0
|
3451 #else
|
adam@0
|
3452 # define ISLOWER(c) \
|
adam@0
|
3453 (('a' <= (c) && (c) <= 'i') \
|
adam@0
|
3454 || ('j' <= (c) && (c) <= 'r') \
|
adam@0
|
3455 || ('s' <= (c) && (c) <= 'z'))
|
adam@0
|
3456 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
adam@0
|
3457 #endif
|
adam@0
|
3458
|
adam@0
|
3459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
adam@0
|
3460 int
|
adam@0
|
3461 main ()
|
adam@0
|
3462 {
|
adam@0
|
3463 int i;
|
adam@0
|
3464 for (i = 0; i < 256; i++)
|
adam@0
|
3465 if (XOR (islower (i), ISLOWER (i))
|
adam@0
|
3466 || toupper (i) != TOUPPER (i))
|
adam@0
|
3467 return 2;
|
adam@0
|
3468 return 0;
|
adam@0
|
3469 }
|
adam@0
|
3470 _ACEOF
|
adam@0
|
3471 if ac_fn_c_try_run "$LINENO"; then :
|
adam@0
|
3472
|
adam@0
|
3473 else
|
adam@0
|
3474 ac_cv_header_stdc=no
|
adam@0
|
3475 fi
|
adam@0
|
3476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
adam@0
|
3477 conftest.$ac_objext conftest.beam conftest.$ac_ext
|
adam@0
|
3478 fi
|
adam@0
|
3479
|
adam@0
|
3480 fi
|
adam@0
|
3481 fi
|
adam@0
|
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
adam@0
|
3483 $as_echo "$ac_cv_header_stdc" >&6; }
|
adam@0
|
3484 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3485
|
adam@0
|
3486 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
adam@0
|
3487
|
adam@0
|
3488 fi
|
adam@0
|
3489
|
adam@0
|
3490 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
adam@0
|
3491 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
adam@0
|
3492 inttypes.h stdint.h unistd.h
|
adam@0
|
3493 do :
|
adam@0
|
3494 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
adam@0
|
3495 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
adam@0
|
3496 "
|
adam@0
|
3497 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
adam@0
|
3498 cat >>confdefs.h <<_ACEOF
|
adam@0
|
3499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
adam@0
|
3500 _ACEOF
|
adam@0
|
3501
|
adam@0
|
3502 fi
|
adam@0
|
3503
|
adam@0
|
3504 done
|
adam@0
|
3505
|
adam@0
|
3506
|
adam@0
|
3507
|
adam@0
|
3508 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
adam@64
|
3509 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
|
adam@0
|
3510 MINIX=yes
|
adam@0
|
3511 else
|
adam@0
|
3512 MINIX=
|
adam@0
|
3513 fi
|
adam@0
|
3514
|
adam@0
|
3515
|
adam@0
|
3516 if test "$MINIX" = yes; then
|
adam@0
|
3517
|
adam@0
|
3518 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
adam@0
|
3519
|
adam@0
|
3520
|
adam@0
|
3521 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
adam@0
|
3522
|
adam@0
|
3523
|
adam@0
|
3524 $as_echo "#define _MINIX 1" >>confdefs.h
|
adam@0
|
3525
|
adam@0
|
3526 fi
|
adam@0
|
3527
|
adam@0
|
3528
|
adam@0
|
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
adam@0
|
3530 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
adam@64
|
3531 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
|
adam@0
|
3532 $as_echo_n "(cached) " >&6
|
adam@0
|
3533 else
|
adam@0
|
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3535 /* end confdefs.h. */
|
adam@0
|
3536
|
adam@0
|
3537 # define __EXTENSIONS__ 1
|
adam@0
|
3538 $ac_includes_default
|
adam@0
|
3539 int
|
adam@0
|
3540 main ()
|
adam@0
|
3541 {
|
adam@0
|
3542
|
adam@0
|
3543 ;
|
adam@0
|
3544 return 0;
|
adam@0
|
3545 }
|
adam@0
|
3546 _ACEOF
|
adam@0
|
3547 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
3548 ac_cv_safe_to_define___extensions__=yes
|
adam@0
|
3549 else
|
adam@0
|
3550 ac_cv_safe_to_define___extensions__=no
|
adam@0
|
3551 fi
|
adam@0
|
3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
3553 fi
|
adam@0
|
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
adam@0
|
3555 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
adam@0
|
3556 test $ac_cv_safe_to_define___extensions__ = yes &&
|
adam@0
|
3557 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
adam@0
|
3558
|
adam@0
|
3559 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
adam@0
|
3560
|
adam@0
|
3561 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
adam@0
|
3562
|
adam@0
|
3563 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
adam@0
|
3564
|
adam@0
|
3565 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
adam@0
|
3566
|
adam@0
|
3567
|
adam@0
|
3568 am__api_version='1.11'
|
adam@0
|
3569
|
adam@0
|
3570 ac_aux_dir=
|
adam@0
|
3571 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
adam@0
|
3572 if test -f "$ac_dir/install-sh"; then
|
adam@0
|
3573 ac_aux_dir=$ac_dir
|
adam@0
|
3574 ac_install_sh="$ac_aux_dir/install-sh -c"
|
adam@0
|
3575 break
|
adam@0
|
3576 elif test -f "$ac_dir/install.sh"; then
|
adam@0
|
3577 ac_aux_dir=$ac_dir
|
adam@0
|
3578 ac_install_sh="$ac_aux_dir/install.sh -c"
|
adam@0
|
3579 break
|
adam@0
|
3580 elif test -f "$ac_dir/shtool"; then
|
adam@0
|
3581 ac_aux_dir=$ac_dir
|
adam@0
|
3582 ac_install_sh="$ac_aux_dir/shtool install -c"
|
adam@0
|
3583 break
|
adam@0
|
3584 fi
|
adam@0
|
3585 done
|
adam@0
|
3586 if test -z "$ac_aux_dir"; then
|
adam@0
|
3587 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
adam@0
|
3588 fi
|
adam@0
|
3589
|
adam@0
|
3590 # These three variables are undocumented and unsupported,
|
adam@0
|
3591 # and are intended to be withdrawn in a future Autoconf release.
|
adam@0
|
3592 # They can cause serious problems if a builder's source tree is in a directory
|
adam@0
|
3593 # whose full name contains unusual characters.
|
adam@0
|
3594 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
adam@0
|
3595 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
adam@0
|
3596 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
adam@0
|
3597
|
adam@0
|
3598
|
adam@0
|
3599 # Find a good install program. We prefer a C program (faster),
|
adam@0
|
3600 # so one script is as good as another. But avoid the broken or
|
adam@0
|
3601 # incompatible versions:
|
adam@0
|
3602 # SysV /etc/install, /usr/sbin/install
|
adam@0
|
3603 # SunOS /usr/etc/install
|
adam@0
|
3604 # IRIX /sbin/install
|
adam@0
|
3605 # AIX /bin/install
|
adam@0
|
3606 # AmigaOS /C/install, which installs bootblocks on floppy discs
|
adam@0
|
3607 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
adam@0
|
3608 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
adam@0
|
3609 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
adam@0
|
3610 # OS/2's system install, which has a completely different semantic
|
adam@0
|
3611 # ./install, which can be erroneously created by make from ./install.sh.
|
adam@0
|
3612 # Reject install programs that cannot install multiple files.
|
adam@0
|
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
adam@0
|
3614 $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
adam@0
|
3615 if test -z "$INSTALL"; then
|
adam@64
|
3616 if test "${ac_cv_path_install+set}" = set; then :
|
adam@0
|
3617 $as_echo_n "(cached) " >&6
|
adam@0
|
3618 else
|
adam@0
|
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3620 for as_dir in $PATH
|
adam@0
|
3621 do
|
adam@0
|
3622 IFS=$as_save_IFS
|
adam@0
|
3623 test -z "$as_dir" && as_dir=.
|
adam@0
|
3624 # Account for people who put trailing slashes in PATH elements.
|
adam@0
|
3625 case $as_dir/ in #((
|
adam@0
|
3626 ./ | .// | /[cC]/* | \
|
adam@0
|
3627 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
adam@0
|
3628 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
adam@0
|
3629 /usr/ucb/* ) ;;
|
adam@0
|
3630 *)
|
adam@0
|
3631 # OSF1 and SCO ODT 3.0 have their own names for install.
|
adam@0
|
3632 # Don't use installbsd from OSF since it installs stuff as root
|
adam@0
|
3633 # by default.
|
adam@0
|
3634 for ac_prog in ginstall scoinst install; do
|
adam@0
|
3635 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3636 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
adam@0
|
3637 if test $ac_prog = install &&
|
adam@0
|
3638 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
adam@0
|
3639 # AIX install. It has an incompatible calling convention.
|
adam@0
|
3640 :
|
adam@0
|
3641 elif test $ac_prog = install &&
|
adam@0
|
3642 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
adam@0
|
3643 # program-specific install script used by HP pwplus--don't use.
|
adam@0
|
3644 :
|
adam@0
|
3645 else
|
adam@0
|
3646 rm -rf conftest.one conftest.two conftest.dir
|
adam@0
|
3647 echo one > conftest.one
|
adam@0
|
3648 echo two > conftest.two
|
adam@0
|
3649 mkdir conftest.dir
|
adam@0
|
3650 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
adam@0
|
3651 test -s conftest.one && test -s conftest.two &&
|
adam@0
|
3652 test -s conftest.dir/conftest.one &&
|
adam@0
|
3653 test -s conftest.dir/conftest.two
|
adam@0
|
3654 then
|
adam@0
|
3655 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
adam@0
|
3656 break 3
|
adam@0
|
3657 fi
|
adam@0
|
3658 fi
|
adam@0
|
3659 fi
|
adam@0
|
3660 done
|
adam@0
|
3661 done
|
adam@0
|
3662 ;;
|
adam@0
|
3663 esac
|
adam@0
|
3664
|
adam@0
|
3665 done
|
adam@0
|
3666 IFS=$as_save_IFS
|
adam@0
|
3667
|
adam@0
|
3668 rm -rf conftest.one conftest.two conftest.dir
|
adam@0
|
3669
|
adam@0
|
3670 fi
|
adam@0
|
3671 if test "${ac_cv_path_install+set}" = set; then
|
adam@0
|
3672 INSTALL=$ac_cv_path_install
|
adam@0
|
3673 else
|
adam@0
|
3674 # As a last resort, use the slow shell script. Don't cache a
|
adam@0
|
3675 # value for INSTALL within a source directory, because that will
|
adam@0
|
3676 # break other packages using the cache if that directory is
|
adam@0
|
3677 # removed, or if the value is a relative name.
|
adam@0
|
3678 INSTALL=$ac_install_sh
|
adam@0
|
3679 fi
|
adam@0
|
3680 fi
|
adam@0
|
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
adam@0
|
3682 $as_echo "$INSTALL" >&6; }
|
adam@0
|
3683
|
adam@0
|
3684 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
adam@0
|
3685 # It thinks the first close brace ends the variable substitution.
|
adam@0
|
3686 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
adam@0
|
3687
|
adam@0
|
3688 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
adam@0
|
3689
|
adam@0
|
3690 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
adam@0
|
3691
|
adam@0
|
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
adam@0
|
3693 $as_echo_n "checking whether build environment is sane... " >&6; }
|
adam@0
|
3694 # Just in case
|
adam@0
|
3695 sleep 1
|
adam@0
|
3696 echo timestamp > conftest.file
|
adam@0
|
3697 # Reject unsafe characters in $srcdir or the absolute working directory
|
adam@0
|
3698 # name. Accept space and tab only in the latter.
|
adam@0
|
3699 am_lf='
|
adam@0
|
3700 '
|
adam@0
|
3701 case `pwd` in
|
adam@0
|
3702 *[\\\"\#\$\&\'\`$am_lf]*)
|
adam@64
|
3703 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
|
adam@0
|
3704 esac
|
adam@0
|
3705 case $srcdir in
|
adam@0
|
3706 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
adam@64
|
3707 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
|
adam@0
|
3708 esac
|
adam@0
|
3709
|
adam@0
|
3710 # Do `set' in a subshell so we don't clobber the current shell's
|
adam@0
|
3711 # arguments. Must try -L first in case configure is actually a
|
adam@0
|
3712 # symlink; some systems play weird games with the mod time of symlinks
|
adam@0
|
3713 # (eg FreeBSD returns the mod time of the symlink's containing
|
adam@0
|
3714 # directory).
|
adam@0
|
3715 if (
|
adam@0
|
3716 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
adam@0
|
3717 if test "$*" = "X"; then
|
adam@0
|
3718 # -L didn't work.
|
adam@0
|
3719 set X `ls -t "$srcdir/configure" conftest.file`
|
adam@0
|
3720 fi
|
adam@0
|
3721 rm -f conftest.file
|
adam@0
|
3722 if test "$*" != "X $srcdir/configure conftest.file" \
|
adam@0
|
3723 && test "$*" != "X conftest.file $srcdir/configure"; then
|
adam@0
|
3724
|
adam@0
|
3725 # If neither matched, then we have a broken ls. This can happen
|
adam@0
|
3726 # if, for instance, CONFIG_SHELL is bash and it inherits a
|
adam@0
|
3727 # broken ls alias from the environment. This has actually
|
adam@0
|
3728 # happened. Such a system could not be considered "sane".
|
adam@0
|
3729 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
adam@0
|
3730 alias in your environment" "$LINENO" 5
|
adam@0
|
3731 fi
|
adam@0
|
3732
|
adam@0
|
3733 test "$2" = conftest.file
|
adam@0
|
3734 )
|
adam@0
|
3735 then
|
adam@0
|
3736 # Ok.
|
adam@0
|
3737 :
|
adam@0
|
3738 else
|
adam@0
|
3739 as_fn_error $? "newly created file is older than distributed files!
|
adam@0
|
3740 Check your system clock" "$LINENO" 5
|
adam@0
|
3741 fi
|
adam@0
|
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
3743 $as_echo "yes" >&6; }
|
adam@0
|
3744 test "$program_prefix" != NONE &&
|
adam@0
|
3745 program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
adam@0
|
3746 # Use a double $ so make ignores it.
|
adam@0
|
3747 test "$program_suffix" != NONE &&
|
adam@0
|
3748 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
adam@0
|
3749 # Double any \ or $.
|
adam@0
|
3750 # By default was `s,x,x', remove it if useless.
|
adam@0
|
3751 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
adam@0
|
3752 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
adam@0
|
3753
|
adam@0
|
3754 # expand $ac_aux_dir to an absolute path
|
adam@0
|
3755 am_aux_dir=`cd $ac_aux_dir && pwd`
|
adam@0
|
3756
|
adam@0
|
3757 if test x"${MISSING+set}" != xset; then
|
adam@0
|
3758 case $am_aux_dir in
|
adam@0
|
3759 *\ * | *\ *)
|
adam@0
|
3760 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
adam@0
|
3761 *)
|
adam@0
|
3762 MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
adam@0
|
3763 esac
|
adam@0
|
3764 fi
|
adam@0
|
3765 # Use eval to expand $SHELL
|
adam@0
|
3766 if eval "$MISSING --run true"; then
|
adam@0
|
3767 am_missing_run="$MISSING --run "
|
adam@0
|
3768 else
|
adam@0
|
3769 am_missing_run=
|
adam@0
|
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
adam@0
|
3771 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
adam@0
|
3772 fi
|
adam@0
|
3773
|
adam@0
|
3774 if test x"${install_sh}" != xset; then
|
adam@0
|
3775 case $am_aux_dir in
|
adam@0
|
3776 *\ * | *\ *)
|
adam@0
|
3777 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
adam@0
|
3778 *)
|
adam@0
|
3779 install_sh="\${SHELL} $am_aux_dir/install-sh"
|
adam@0
|
3780 esac
|
adam@0
|
3781 fi
|
adam@0
|
3782
|
adam@0
|
3783 # Installed binaries are usually stripped using `strip' when the user
|
adam@0
|
3784 # run `make install-strip'. However `strip' might not be the right
|
adam@0
|
3785 # tool to use in cross-compilation environments, therefore Automake
|
adam@0
|
3786 # will honor the `STRIP' environment variable to overrule this program.
|
adam@0
|
3787 if test "$cross_compiling" != no; then
|
adam@0
|
3788 if test -n "$ac_tool_prefix"; then
|
adam@0
|
3789 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
adam@0
|
3790 set dummy ${ac_tool_prefix}strip; ac_word=$2
|
adam@0
|
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
3792 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
3793 if test "${ac_cv_prog_STRIP+set}" = set; then :
|
adam@0
|
3794 $as_echo_n "(cached) " >&6
|
adam@0
|
3795 else
|
adam@0
|
3796 if test -n "$STRIP"; then
|
adam@0
|
3797 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
adam@0
|
3798 else
|
adam@0
|
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3800 for as_dir in $PATH
|
adam@0
|
3801 do
|
adam@0
|
3802 IFS=$as_save_IFS
|
adam@0
|
3803 test -z "$as_dir" && as_dir=.
|
adam@0
|
3804 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
3806 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
adam@0
|
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
3808 break 2
|
adam@0
|
3809 fi
|
adam@0
|
3810 done
|
adam@0
|
3811 done
|
adam@0
|
3812 IFS=$as_save_IFS
|
adam@0
|
3813
|
adam@0
|
3814 fi
|
adam@0
|
3815 fi
|
adam@0
|
3816 STRIP=$ac_cv_prog_STRIP
|
adam@0
|
3817 if test -n "$STRIP"; then
|
adam@0
|
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
adam@0
|
3819 $as_echo "$STRIP" >&6; }
|
adam@0
|
3820 else
|
adam@0
|
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
3822 $as_echo "no" >&6; }
|
adam@0
|
3823 fi
|
adam@0
|
3824
|
adam@0
|
3825
|
adam@0
|
3826 fi
|
adam@0
|
3827 if test -z "$ac_cv_prog_STRIP"; then
|
adam@0
|
3828 ac_ct_STRIP=$STRIP
|
adam@0
|
3829 # Extract the first word of "strip", so it can be a program name with args.
|
adam@0
|
3830 set dummy strip; ac_word=$2
|
adam@0
|
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
3832 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
3833 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
adam@0
|
3834 $as_echo_n "(cached) " >&6
|
adam@0
|
3835 else
|
adam@0
|
3836 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
3837 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
adam@0
|
3838 else
|
adam@0
|
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3840 for as_dir in $PATH
|
adam@0
|
3841 do
|
adam@0
|
3842 IFS=$as_save_IFS
|
adam@0
|
3843 test -z "$as_dir" && as_dir=.
|
adam@0
|
3844 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
3846 ac_cv_prog_ac_ct_STRIP="strip"
|
adam@0
|
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
3848 break 2
|
adam@0
|
3849 fi
|
adam@0
|
3850 done
|
adam@0
|
3851 done
|
adam@0
|
3852 IFS=$as_save_IFS
|
adam@0
|
3853
|
adam@0
|
3854 fi
|
adam@0
|
3855 fi
|
adam@0
|
3856 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
adam@0
|
3857 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
adam@0
|
3859 $as_echo "$ac_ct_STRIP" >&6; }
|
adam@0
|
3860 else
|
adam@0
|
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
3862 $as_echo "no" >&6; }
|
adam@0
|
3863 fi
|
adam@0
|
3864
|
adam@0
|
3865 if test "x$ac_ct_STRIP" = x; then
|
adam@0
|
3866 STRIP=":"
|
adam@0
|
3867 else
|
adam@0
|
3868 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
3869 yes:)
|
adam@0
|
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
3871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
3872 ac_tool_warned=yes ;;
|
adam@0
|
3873 esac
|
adam@0
|
3874 STRIP=$ac_ct_STRIP
|
adam@0
|
3875 fi
|
adam@0
|
3876 else
|
adam@0
|
3877 STRIP="$ac_cv_prog_STRIP"
|
adam@0
|
3878 fi
|
adam@0
|
3879
|
adam@0
|
3880 fi
|
adam@0
|
3881 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
adam@0
|
3882
|
adam@0
|
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
adam@0
|
3884 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
adam@0
|
3885 if test -z "$MKDIR_P"; then
|
adam@64
|
3886 if test "${ac_cv_path_mkdir+set}" = set; then :
|
adam@0
|
3887 $as_echo_n "(cached) " >&6
|
adam@0
|
3888 else
|
adam@0
|
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3890 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
adam@0
|
3891 do
|
adam@0
|
3892 IFS=$as_save_IFS
|
adam@0
|
3893 test -z "$as_dir" && as_dir=.
|
adam@0
|
3894 for ac_prog in mkdir gmkdir; do
|
adam@0
|
3895 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3896 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
adam@0
|
3897 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
adam@0
|
3898 'mkdir (GNU coreutils) '* | \
|
adam@0
|
3899 'mkdir (coreutils) '* | \
|
adam@0
|
3900 'mkdir (fileutils) '4.1*)
|
adam@0
|
3901 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
adam@0
|
3902 break 3;;
|
adam@0
|
3903 esac
|
adam@0
|
3904 done
|
adam@0
|
3905 done
|
adam@0
|
3906 done
|
adam@0
|
3907 IFS=$as_save_IFS
|
adam@0
|
3908
|
adam@0
|
3909 fi
|
adam@0
|
3910
|
adam@0
|
3911 test -d ./--version && rmdir ./--version
|
adam@0
|
3912 if test "${ac_cv_path_mkdir+set}" = set; then
|
adam@0
|
3913 MKDIR_P="$ac_cv_path_mkdir -p"
|
adam@0
|
3914 else
|
adam@0
|
3915 # As a last resort, use the slow shell script. Don't cache a
|
adam@0
|
3916 # value for MKDIR_P within a source directory, because that will
|
adam@0
|
3917 # break other packages using the cache if that directory is
|
adam@0
|
3918 # removed, or if the value is a relative name.
|
adam@0
|
3919 MKDIR_P="$ac_install_sh -d"
|
adam@0
|
3920 fi
|
adam@0
|
3921 fi
|
adam@0
|
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
adam@0
|
3923 $as_echo "$MKDIR_P" >&6; }
|
adam@0
|
3924
|
adam@0
|
3925 mkdir_p="$MKDIR_P"
|
adam@0
|
3926 case $mkdir_p in
|
adam@0
|
3927 [\\/$]* | ?:[\\/]*) ;;
|
adam@0
|
3928 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
adam@0
|
3929 esac
|
adam@0
|
3930
|
adam@0
|
3931 for ac_prog in gawk mawk nawk awk
|
adam@0
|
3932 do
|
adam@0
|
3933 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
3934 set dummy $ac_prog; ac_word=$2
|
adam@0
|
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
3936 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
3937 if test "${ac_cv_prog_AWK+set}" = set; then :
|
adam@0
|
3938 $as_echo_n "(cached) " >&6
|
adam@0
|
3939 else
|
adam@0
|
3940 if test -n "$AWK"; then
|
adam@0
|
3941 ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
adam@0
|
3942 else
|
adam@0
|
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3944 for as_dir in $PATH
|
adam@0
|
3945 do
|
adam@0
|
3946 IFS=$as_save_IFS
|
adam@0
|
3947 test -z "$as_dir" && as_dir=.
|
adam@0
|
3948 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
3950 ac_cv_prog_AWK="$ac_prog"
|
adam@0
|
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
3952 break 2
|
adam@0
|
3953 fi
|
adam@0
|
3954 done
|
adam@0
|
3955 done
|
adam@0
|
3956 IFS=$as_save_IFS
|
adam@0
|
3957
|
adam@0
|
3958 fi
|
adam@0
|
3959 fi
|
adam@0
|
3960 AWK=$ac_cv_prog_AWK
|
adam@0
|
3961 if test -n "$AWK"; then
|
adam@0
|
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
adam@0
|
3963 $as_echo "$AWK" >&6; }
|
adam@0
|
3964 else
|
adam@0
|
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
3966 $as_echo "no" >&6; }
|
adam@0
|
3967 fi
|
adam@0
|
3968
|
adam@0
|
3969
|
adam@0
|
3970 test -n "$AWK" && break
|
adam@0
|
3971 done
|
adam@0
|
3972
|
adam@0
|
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
adam@0
|
3974 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
adam@0
|
3975 set x ${MAKE-make}
|
adam@0
|
3976 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
adam@64
|
3977 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
|
adam@0
|
3978 $as_echo_n "(cached) " >&6
|
adam@0
|
3979 else
|
adam@0
|
3980 cat >conftest.make <<\_ACEOF
|
adam@0
|
3981 SHELL = /bin/sh
|
adam@0
|
3982 all:
|
adam@0
|
3983 @echo '@@@%%%=$(MAKE)=@@@%%%'
|
adam@0
|
3984 _ACEOF
|
adam@0
|
3985 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
adam@0
|
3986 case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
adam@0
|
3987 *@@@%%%=?*=@@@%%%*)
|
adam@0
|
3988 eval ac_cv_prog_make_${ac_make}_set=yes;;
|
adam@0
|
3989 *)
|
adam@0
|
3990 eval ac_cv_prog_make_${ac_make}_set=no;;
|
adam@0
|
3991 esac
|
adam@0
|
3992 rm -f conftest.make
|
adam@0
|
3993 fi
|
adam@0
|
3994 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
adam@0
|
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
3996 $as_echo "yes" >&6; }
|
adam@0
|
3997 SET_MAKE=
|
adam@0
|
3998 else
|
adam@0
|
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4000 $as_echo "no" >&6; }
|
adam@0
|
4001 SET_MAKE="MAKE=${MAKE-make}"
|
adam@0
|
4002 fi
|
adam@0
|
4003
|
adam@0
|
4004 rm -rf .tst 2>/dev/null
|
adam@0
|
4005 mkdir .tst 2>/dev/null
|
adam@0
|
4006 if test -d .tst; then
|
adam@0
|
4007 am__leading_dot=.
|
adam@0
|
4008 else
|
adam@0
|
4009 am__leading_dot=_
|
adam@0
|
4010 fi
|
adam@0
|
4011 rmdir .tst 2>/dev/null
|
adam@0
|
4012
|
adam@0
|
4013 DEPDIR="${am__leading_dot}deps"
|
adam@0
|
4014
|
adam@0
|
4015 ac_config_commands="$ac_config_commands depfiles"
|
adam@0
|
4016
|
adam@0
|
4017
|
adam@0
|
4018 am_make=${MAKE-make}
|
adam@0
|
4019 cat > confinc << 'END'
|
adam@0
|
4020 am__doit:
|
adam@0
|
4021 @echo this is the am__doit target
|
adam@0
|
4022 .PHONY: am__doit
|
adam@0
|
4023 END
|
adam@0
|
4024 # If we don't find an include directive, just comment out the code.
|
adam@0
|
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
adam@0
|
4026 $as_echo_n "checking for style of include used by $am_make... " >&6; }
|
adam@0
|
4027 am__include="#"
|
adam@0
|
4028 am__quote=
|
adam@0
|
4029 _am_result=none
|
adam@0
|
4030 # First try GNU make style include.
|
adam@0
|
4031 echo "include confinc" > confmf
|
adam@0
|
4032 # Ignore all kinds of additional output from `make'.
|
adam@0
|
4033 case `$am_make -s -f confmf 2> /dev/null` in #(
|
adam@0
|
4034 *the\ am__doit\ target*)
|
adam@0
|
4035 am__include=include
|
adam@0
|
4036 am__quote=
|
adam@0
|
4037 _am_result=GNU
|
adam@0
|
4038 ;;
|
adam@0
|
4039 esac
|
adam@0
|
4040 # Now try BSD make style include.
|
adam@0
|
4041 if test "$am__include" = "#"; then
|
adam@0
|
4042 echo '.include "confinc"' > confmf
|
adam@0
|
4043 case `$am_make -s -f confmf 2> /dev/null` in #(
|
adam@0
|
4044 *the\ am__doit\ target*)
|
adam@0
|
4045 am__include=.include
|
adam@0
|
4046 am__quote="\""
|
adam@0
|
4047 _am_result=BSD
|
adam@0
|
4048 ;;
|
adam@0
|
4049 esac
|
adam@0
|
4050 fi
|
adam@0
|
4051
|
adam@0
|
4052
|
adam@0
|
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
adam@0
|
4054 $as_echo "$_am_result" >&6; }
|
adam@0
|
4055 rm -f confinc confmf
|
adam@0
|
4056
|
adam@0
|
4057 # Check whether --enable-dependency-tracking was given.
|
adam@0
|
4058 if test "${enable_dependency_tracking+set}" = set; then :
|
adam@0
|
4059 enableval=$enable_dependency_tracking;
|
adam@0
|
4060 fi
|
adam@0
|
4061
|
adam@0
|
4062 if test "x$enable_dependency_tracking" != xno; then
|
adam@0
|
4063 am_depcomp="$ac_aux_dir/depcomp"
|
adam@0
|
4064 AMDEPBACKSLASH='\'
|
adam@0
|
4065 fi
|
adam@0
|
4066 if test "x$enable_dependency_tracking" != xno; then
|
adam@0
|
4067 AMDEP_TRUE=
|
adam@0
|
4068 AMDEP_FALSE='#'
|
adam@0
|
4069 else
|
adam@0
|
4070 AMDEP_TRUE='#'
|
adam@0
|
4071 AMDEP_FALSE=
|
adam@0
|
4072 fi
|
adam@0
|
4073
|
adam@0
|
4074
|
adam@0
|
4075 if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
adam@0
|
4076 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
adam@0
|
4077 # is not polluted with repeated "-I."
|
adam@0
|
4078 am__isrc=' -I$(srcdir)'
|
adam@0
|
4079 # test to see if srcdir already configured
|
adam@0
|
4080 if test -f $srcdir/config.status; then
|
adam@0
|
4081 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
adam@0
|
4082 fi
|
adam@0
|
4083 fi
|
adam@0
|
4084
|
adam@0
|
4085 # test whether we have cygpath
|
adam@0
|
4086 if test -z "$CYGPATH_W"; then
|
adam@0
|
4087 if (cygpath --version) >/dev/null 2>/dev/null; then
|
adam@0
|
4088 CYGPATH_W='cygpath -w'
|
adam@0
|
4089 else
|
adam@0
|
4090 CYGPATH_W=echo
|
adam@0
|
4091 fi
|
adam@0
|
4092 fi
|
adam@0
|
4093
|
adam@0
|
4094
|
adam@0
|
4095 # Define the identity of the package.
|
adam@0
|
4096 PACKAGE='urweb_openid'
|
adam@0
|
4097 VERSION='1.0'
|
adam@0
|
4098
|
adam@0
|
4099
|
adam@0
|
4100 # Some tools Automake needs.
|
adam@0
|
4101
|
adam@0
|
4102 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
adam@0
|
4103
|
adam@0
|
4104
|
adam@0
|
4105 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
adam@0
|
4106
|
adam@0
|
4107
|
adam@0
|
4108 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
adam@0
|
4109
|
adam@0
|
4110
|
adam@0
|
4111 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
adam@0
|
4112
|
adam@0
|
4113
|
adam@0
|
4114 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
adam@0
|
4115
|
adam@0
|
4116 # We need awk for the "check" target. The system "awk" is bad on
|
adam@0
|
4117 # some platforms.
|
adam@0
|
4118 # Always define AMTAR for backward compatibility.
|
adam@0
|
4119
|
adam@0
|
4120 AMTAR=${AMTAR-"${am_missing_run}tar"}
|
adam@0
|
4121
|
adam@0
|
4122 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
adam@0
|
4123
|
adam@0
|
4124
|
adam@0
|
4125
|
adam@0
|
4126
|
adam@0
|
4127 depcc="$CC" am_compiler_list=
|
adam@0
|
4128
|
adam@0
|
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
adam@0
|
4130 $as_echo_n "checking dependency style of $depcc... " >&6; }
|
adam@64
|
4131 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
adam@0
|
4132 $as_echo_n "(cached) " >&6
|
adam@0
|
4133 else
|
adam@0
|
4134 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
adam@0
|
4135 # We make a subdir and do the tests there. Otherwise we can end up
|
adam@0
|
4136 # making bogus files that we don't know about and never remove. For
|
adam@0
|
4137 # instance it was reported that on HP-UX the gcc test will end up
|
adam@0
|
4138 # making a dummy file named `D' -- because `-MD' means `put the output
|
adam@0
|
4139 # in D'.
|
adam@0
|
4140 mkdir conftest.dir
|
adam@0
|
4141 # Copy depcomp to subdir because otherwise we won't find it if we're
|
adam@0
|
4142 # using a relative directory.
|
adam@0
|
4143 cp "$am_depcomp" conftest.dir
|
adam@0
|
4144 cd conftest.dir
|
adam@0
|
4145 # We will build objects and dependencies in a subdirectory because
|
adam@0
|
4146 # it helps to detect inapplicable dependency modes. For instance
|
adam@0
|
4147 # both Tru64's cc and ICC support -MD to output dependencies as a
|
adam@0
|
4148 # side effect of compilation, but ICC will put the dependencies in
|
adam@0
|
4149 # the current directory while Tru64 will put them in the object
|
adam@0
|
4150 # directory.
|
adam@0
|
4151 mkdir sub
|
adam@0
|
4152
|
adam@0
|
4153 am_cv_CC_dependencies_compiler_type=none
|
adam@0
|
4154 if test "$am_compiler_list" = ""; then
|
adam@0
|
4155 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
adam@0
|
4156 fi
|
adam@0
|
4157 am__universal=false
|
adam@0
|
4158 case " $depcc " in #(
|
adam@0
|
4159 *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
adam@0
|
4160 esac
|
adam@0
|
4161
|
adam@0
|
4162 for depmode in $am_compiler_list; do
|
adam@0
|
4163 # Setup a source with many dependencies, because some compilers
|
adam@0
|
4164 # like to wrap large dependency lists on column 80 (with \), and
|
adam@0
|
4165 # we should not choose a depcomp mode which is confused by this.
|
adam@0
|
4166 #
|
adam@0
|
4167 # We need to recreate these files for each test, as the compiler may
|
adam@0
|
4168 # overwrite some of them when testing with obscure command lines.
|
adam@0
|
4169 # This happens at least with the AIX C compiler.
|
adam@0
|
4170 : > sub/conftest.c
|
adam@0
|
4171 for i in 1 2 3 4 5 6; do
|
adam@0
|
4172 echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
adam@0
|
4173 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
adam@0
|
4174 # Solaris 8's {/usr,}/bin/sh.
|
adam@0
|
4175 touch sub/conftst$i.h
|
adam@0
|
4176 done
|
adam@0
|
4177 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
adam@0
|
4178
|
adam@0
|
4179 # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
adam@0
|
4180 # mode. It turns out that the SunPro C++ compiler does not properly
|
adam@0
|
4181 # handle `-M -o', and we need to detect this. Also, some Intel
|
adam@0
|
4182 # versions had trouble with output in subdirs
|
adam@0
|
4183 am__obj=sub/conftest.${OBJEXT-o}
|
adam@0
|
4184 am__minus_obj="-o $am__obj"
|
adam@0
|
4185 case $depmode in
|
adam@0
|
4186 gcc)
|
adam@0
|
4187 # This depmode causes a compiler race in universal mode.
|
adam@0
|
4188 test "$am__universal" = false || continue
|
adam@0
|
4189 ;;
|
adam@0
|
4190 nosideeffect)
|
adam@0
|
4191 # after this tag, mechanisms are not by side-effect, so they'll
|
adam@0
|
4192 # only be used when explicitly requested
|
adam@0
|
4193 if test "x$enable_dependency_tracking" = xyes; then
|
adam@0
|
4194 continue
|
adam@0
|
4195 else
|
adam@0
|
4196 break
|
adam@0
|
4197 fi
|
adam@0
|
4198 ;;
|
adam@0
|
4199 msvisualcpp | msvcmsys)
|
adam@0
|
4200 # This compiler won't grok `-c -o', but also, the minuso test has
|
adam@0
|
4201 # not run yet. These depmodes are late enough in the game, and
|
adam@0
|
4202 # so weak that their functioning should not be impacted.
|
adam@0
|
4203 am__obj=conftest.${OBJEXT-o}
|
adam@0
|
4204 am__minus_obj=
|
adam@0
|
4205 ;;
|
adam@0
|
4206 none) break ;;
|
adam@0
|
4207 esac
|
adam@0
|
4208 if depmode=$depmode \
|
adam@0
|
4209 source=sub/conftest.c object=$am__obj \
|
adam@0
|
4210 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
adam@0
|
4211 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
adam@0
|
4212 >/dev/null 2>conftest.err &&
|
adam@0
|
4213 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
adam@0
|
4214 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
adam@0
|
4215 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
adam@0
|
4216 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
adam@0
|
4217 # icc doesn't choke on unknown options, it will just issue warnings
|
adam@0
|
4218 # or remarks (even with -Werror). So we grep stderr for any message
|
adam@0
|
4219 # that says an option was ignored or not supported.
|
adam@0
|
4220 # When given -MP, icc 7.0 and 7.1 complain thusly:
|
adam@0
|
4221 # icc: Command line warning: ignoring option '-M'; no argument required
|
adam@0
|
4222 # The diagnosis changed in icc 8.0:
|
adam@0
|
4223 # icc: Command line remark: option '-MP' not supported
|
adam@0
|
4224 if (grep 'ignoring option' conftest.err ||
|
adam@0
|
4225 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
adam@0
|
4226 am_cv_CC_dependencies_compiler_type=$depmode
|
adam@0
|
4227 break
|
adam@0
|
4228 fi
|
adam@0
|
4229 fi
|
adam@0
|
4230 done
|
adam@0
|
4231
|
adam@0
|
4232 cd ..
|
adam@0
|
4233 rm -rf conftest.dir
|
adam@0
|
4234 else
|
adam@0
|
4235 am_cv_CC_dependencies_compiler_type=none
|
adam@0
|
4236 fi
|
adam@0
|
4237
|
adam@0
|
4238 fi
|
adam@0
|
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
adam@0
|
4240 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
adam@0
|
4241 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
adam@0
|
4242
|
adam@0
|
4243 if
|
adam@0
|
4244 test "x$enable_dependency_tracking" != xno \
|
adam@0
|
4245 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
adam@0
|
4246 am__fastdepCC_TRUE=
|
adam@0
|
4247 am__fastdepCC_FALSE='#'
|
adam@0
|
4248 else
|
adam@0
|
4249 am__fastdepCC_TRUE='#'
|
adam@0
|
4250 am__fastdepCC_FALSE=
|
adam@0
|
4251 fi
|
adam@0
|
4252
|
adam@0
|
4253
|
adam@0
|
4254
|
adam@0
|
4255 ac_ext=c
|
adam@0
|
4256 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
4257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
4258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
4259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
4260 if test -n "$ac_tool_prefix"; then
|
adam@0
|
4261 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
adam@0
|
4262 set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
adam@0
|
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4264 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
4265 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
4266 $as_echo_n "(cached) " >&6
|
adam@0
|
4267 else
|
adam@0
|
4268 if test -n "$CC"; then
|
adam@0
|
4269 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4270 else
|
adam@0
|
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4272 for as_dir in $PATH
|
adam@0
|
4273 do
|
adam@0
|
4274 IFS=$as_save_IFS
|
adam@0
|
4275 test -z "$as_dir" && as_dir=.
|
adam@0
|
4276 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4278 ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
adam@0
|
4279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4280 break 2
|
adam@0
|
4281 fi
|
adam@0
|
4282 done
|
adam@0
|
4283 done
|
adam@0
|
4284 IFS=$as_save_IFS
|
adam@0
|
4285
|
adam@0
|
4286 fi
|
adam@0
|
4287 fi
|
adam@0
|
4288 CC=$ac_cv_prog_CC
|
adam@0
|
4289 if test -n "$CC"; then
|
adam@0
|
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4291 $as_echo "$CC" >&6; }
|
adam@0
|
4292 else
|
adam@0
|
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4294 $as_echo "no" >&6; }
|
adam@0
|
4295 fi
|
adam@0
|
4296
|
adam@0
|
4297
|
adam@0
|
4298 fi
|
adam@0
|
4299 if test -z "$ac_cv_prog_CC"; then
|
adam@0
|
4300 ac_ct_CC=$CC
|
adam@0
|
4301 # Extract the first word of "gcc", so it can be a program name with args.
|
adam@0
|
4302 set dummy gcc; ac_word=$2
|
adam@0
|
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4304 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
4305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
adam@0
|
4306 $as_echo_n "(cached) " >&6
|
adam@0
|
4307 else
|
adam@0
|
4308 if test -n "$ac_ct_CC"; then
|
adam@0
|
4309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
4310 else
|
adam@0
|
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4312 for as_dir in $PATH
|
adam@0
|
4313 do
|
adam@0
|
4314 IFS=$as_save_IFS
|
adam@0
|
4315 test -z "$as_dir" && as_dir=.
|
adam@0
|
4316 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4318 ac_cv_prog_ac_ct_CC="gcc"
|
adam@0
|
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4320 break 2
|
adam@0
|
4321 fi
|
adam@0
|
4322 done
|
adam@0
|
4323 done
|
adam@0
|
4324 IFS=$as_save_IFS
|
adam@0
|
4325
|
adam@0
|
4326 fi
|
adam@0
|
4327 fi
|
adam@0
|
4328 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
4329 if test -n "$ac_ct_CC"; then
|
adam@0
|
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
4331 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
4332 else
|
adam@0
|
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4334 $as_echo "no" >&6; }
|
adam@0
|
4335 fi
|
adam@0
|
4336
|
adam@0
|
4337 if test "x$ac_ct_CC" = x; then
|
adam@0
|
4338 CC=""
|
adam@0
|
4339 else
|
adam@0
|
4340 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
4341 yes:)
|
adam@0
|
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
4343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
4344 ac_tool_warned=yes ;;
|
adam@0
|
4345 esac
|
adam@0
|
4346 CC=$ac_ct_CC
|
adam@0
|
4347 fi
|
adam@0
|
4348 else
|
adam@0
|
4349 CC="$ac_cv_prog_CC"
|
adam@0
|
4350 fi
|
adam@0
|
4351
|
adam@0
|
4352 if test -z "$CC"; then
|
adam@0
|
4353 if test -n "$ac_tool_prefix"; then
|
adam@0
|
4354 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
adam@0
|
4355 set dummy ${ac_tool_prefix}cc; ac_word=$2
|
adam@0
|
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4357 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
4358 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
4359 $as_echo_n "(cached) " >&6
|
adam@0
|
4360 else
|
adam@0
|
4361 if test -n "$CC"; then
|
adam@0
|
4362 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4363 else
|
adam@0
|
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4365 for as_dir in $PATH
|
adam@0
|
4366 do
|
adam@0
|
4367 IFS=$as_save_IFS
|
adam@0
|
4368 test -z "$as_dir" && as_dir=.
|
adam@0
|
4369 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4371 ac_cv_prog_CC="${ac_tool_prefix}cc"
|
adam@0
|
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4373 break 2
|
adam@0
|
4374 fi
|
adam@0
|
4375 done
|
adam@0
|
4376 done
|
adam@0
|
4377 IFS=$as_save_IFS
|
adam@0
|
4378
|
adam@0
|
4379 fi
|
adam@0
|
4380 fi
|
adam@0
|
4381 CC=$ac_cv_prog_CC
|
adam@0
|
4382 if test -n "$CC"; then
|
adam@0
|
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4384 $as_echo "$CC" >&6; }
|
adam@0
|
4385 else
|
adam@0
|
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4387 $as_echo "no" >&6; }
|
adam@0
|
4388 fi
|
adam@0
|
4389
|
adam@0
|
4390
|
adam@0
|
4391 fi
|
adam@0
|
4392 fi
|
adam@0
|
4393 if test -z "$CC"; then
|
adam@0
|
4394 # Extract the first word of "cc", so it can be a program name with args.
|
adam@0
|
4395 set dummy cc; ac_word=$2
|
adam@0
|
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4397 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
4398 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
4399 $as_echo_n "(cached) " >&6
|
adam@0
|
4400 else
|
adam@0
|
4401 if test -n "$CC"; then
|
adam@0
|
4402 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4403 else
|
adam@0
|
4404 ac_prog_rejected=no
|
adam@0
|
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4406 for as_dir in $PATH
|
adam@0
|
4407 do
|
adam@0
|
4408 IFS=$as_save_IFS
|
adam@0
|
4409 test -z "$as_dir" && as_dir=.
|
adam@0
|
4410 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4412 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
adam@0
|
4413 ac_prog_rejected=yes
|
adam@0
|
4414 continue
|
adam@0
|
4415 fi
|
adam@0
|
4416 ac_cv_prog_CC="cc"
|
adam@0
|
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4418 break 2
|
adam@0
|
4419 fi
|
adam@0
|
4420 done
|
adam@0
|
4421 done
|
adam@0
|
4422 IFS=$as_save_IFS
|
adam@0
|
4423
|
adam@0
|
4424 if test $ac_prog_rejected = yes; then
|
adam@0
|
4425 # We found a bogon in the path, so make sure we never use it.
|
adam@0
|
4426 set dummy $ac_cv_prog_CC
|
adam@0
|
4427 shift
|
adam@0
|
4428 if test $# != 0; then
|
adam@0
|
4429 # We chose a different compiler from the bogus one.
|
adam@0
|
4430 # However, it has the same basename, so the bogon will be chosen
|
adam@0
|
4431 # first if we set CC to just the basename; use the full file name.
|
adam@0
|
4432 shift
|
adam@0
|
4433 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
adam@0
|
4434 fi
|
adam@0
|
4435 fi
|
adam@0
|
4436 fi
|
adam@0
|
4437 fi
|
adam@0
|
4438 CC=$ac_cv_prog_CC
|
adam@0
|
4439 if test -n "$CC"; then
|
adam@0
|
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4441 $as_echo "$CC" >&6; }
|
adam@0
|
4442 else
|
adam@0
|
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4444 $as_echo "no" >&6; }
|
adam@0
|
4445 fi
|
adam@0
|
4446
|
adam@0
|
4447
|
adam@0
|
4448 fi
|
adam@0
|
4449 if test -z "$CC"; then
|
adam@0
|
4450 if test -n "$ac_tool_prefix"; then
|
adam@0
|
4451 for ac_prog in cl.exe
|
adam@0
|
4452 do
|
adam@0
|
4453 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@0
|
4454 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@0
|
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4456 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
4457 if test "${ac_cv_prog_CC+set}" = set; then :
|
adam@0
|
4458 $as_echo_n "(cached) " >&6
|
adam@0
|
4459 else
|
adam@0
|
4460 if test -n "$CC"; then
|
adam@0
|
4461 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4462 else
|
adam@0
|
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4464 for as_dir in $PATH
|
adam@0
|
4465 do
|
adam@0
|
4466 IFS=$as_save_IFS
|
adam@0
|
4467 test -z "$as_dir" && as_dir=.
|
adam@0
|
4468 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4470 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
adam@0
|
4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4472 break 2
|
adam@0
|
4473 fi
|
adam@0
|
4474 done
|
adam@0
|
4475 done
|
adam@0
|
4476 IFS=$as_save_IFS
|
adam@0
|
4477
|
adam@0
|
4478 fi
|
adam@0
|
4479 fi
|
adam@0
|
4480 CC=$ac_cv_prog_CC
|
adam@0
|
4481 if test -n "$CC"; then
|
adam@0
|
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4483 $as_echo "$CC" >&6; }
|
adam@0
|
4484 else
|
adam@0
|
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4486 $as_echo "no" >&6; }
|
adam@0
|
4487 fi
|
adam@0
|
4488
|
adam@0
|
4489
|
adam@0
|
4490 test -n "$CC" && break
|
adam@0
|
4491 done
|
adam@0
|
4492 fi
|
adam@0
|
4493 if test -z "$CC"; then
|
adam@0
|
4494 ac_ct_CC=$CC
|
adam@0
|
4495 for ac_prog in cl.exe
|
adam@0
|
4496 do
|
adam@0
|
4497 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
4498 set dummy $ac_prog; ac_word=$2
|
adam@0
|
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4500 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
4501 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
adam@0
|
4502 $as_echo_n "(cached) " >&6
|
adam@0
|
4503 else
|
adam@0
|
4504 if test -n "$ac_ct_CC"; then
|
adam@0
|
4505 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
4506 else
|
adam@0
|
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4508 for as_dir in $PATH
|
adam@0
|
4509 do
|
adam@0
|
4510 IFS=$as_save_IFS
|
adam@0
|
4511 test -z "$as_dir" && as_dir=.
|
adam@0
|
4512 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4514 ac_cv_prog_ac_ct_CC="$ac_prog"
|
adam@0
|
4515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4516 break 2
|
adam@0
|
4517 fi
|
adam@0
|
4518 done
|
adam@0
|
4519 done
|
adam@0
|
4520 IFS=$as_save_IFS
|
adam@0
|
4521
|
adam@0
|
4522 fi
|
adam@0
|
4523 fi
|
adam@0
|
4524 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
4525 if test -n "$ac_ct_CC"; then
|
adam@0
|
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
4527 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
4528 else
|
adam@0
|
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4530 $as_echo "no" >&6; }
|
adam@0
|
4531 fi
|
adam@0
|
4532
|
adam@0
|
4533
|
adam@0
|
4534 test -n "$ac_ct_CC" && break
|
adam@0
|
4535 done
|
adam@0
|
4536
|
adam@0
|
4537 if test "x$ac_ct_CC" = x; then
|
adam@0
|
4538 CC=""
|
adam@0
|
4539 else
|
adam@0
|
4540 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
4541 yes:)
|
adam@0
|
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
4543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
4544 ac_tool_warned=yes ;;
|
adam@0
|
4545 esac
|
adam@0
|
4546 CC=$ac_ct_CC
|
adam@0
|
4547 fi
|
adam@0
|
4548 fi
|
adam@0
|
4549
|
adam@0
|
4550 fi
|
adam@0
|
4551
|
adam@0
|
4552
|
adam@0
|
4553 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
4554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
4555 as_fn_error $? "no acceptable C compiler found in \$PATH
|
adam@64
|
4556 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@0
|
4557
|
adam@0
|
4558 # Provide some information about the compiler.
|
adam@0
|
4559 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
adam@0
|
4560 set X $ac_compile
|
adam@0
|
4561 ac_compiler=$2
|
adam@0
|
4562 for ac_option in --version -v -V -qversion; do
|
adam@0
|
4563 { { ac_try="$ac_compiler $ac_option >&5"
|
adam@0
|
4564 case "(($ac_try" in
|
adam@0
|
4565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
4566 *) ac_try_echo=$ac_try;;
|
adam@0
|
4567 esac
|
adam@0
|
4568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
4569 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
4570 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
adam@0
|
4571 ac_status=$?
|
adam@0
|
4572 if test -s conftest.err; then
|
adam@0
|
4573 sed '10a\
|
adam@0
|
4574 ... rest of stderr output deleted ...
|
adam@0
|
4575 10q' conftest.err >conftest.er1
|
adam@0
|
4576 cat conftest.er1 >&5
|
adam@0
|
4577 fi
|
adam@0
|
4578 rm -f conftest.er1 conftest.err
|
adam@0
|
4579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
4580 test $ac_status = 0; }
|
adam@0
|
4581 done
|
adam@0
|
4582
|
adam@0
|
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
adam@0
|
4584 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
adam@64
|
4585 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
adam@0
|
4586 $as_echo_n "(cached) " >&6
|
adam@0
|
4587 else
|
adam@0
|
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4589 /* end confdefs.h. */
|
adam@0
|
4590
|
adam@0
|
4591 int
|
adam@0
|
4592 main ()
|
adam@0
|
4593 {
|
adam@0
|
4594 #ifndef __GNUC__
|
adam@0
|
4595 choke me
|
adam@0
|
4596 #endif
|
adam@0
|
4597
|
adam@0
|
4598 ;
|
adam@0
|
4599 return 0;
|
adam@0
|
4600 }
|
adam@0
|
4601 _ACEOF
|
adam@0
|
4602 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4603 ac_compiler_gnu=yes
|
adam@0
|
4604 else
|
adam@0
|
4605 ac_compiler_gnu=no
|
adam@0
|
4606 fi
|
adam@0
|
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4608 ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
adam@0
|
4609
|
adam@0
|
4610 fi
|
adam@0
|
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
adam@0
|
4612 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
adam@0
|
4613 if test $ac_compiler_gnu = yes; then
|
adam@0
|
4614 GCC=yes
|
adam@0
|
4615 else
|
adam@0
|
4616 GCC=
|
adam@0
|
4617 fi
|
adam@0
|
4618 ac_test_CFLAGS=${CFLAGS+set}
|
adam@0
|
4619 ac_save_CFLAGS=$CFLAGS
|
adam@0
|
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
adam@0
|
4621 $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
adam@64
|
4622 if test "${ac_cv_prog_cc_g+set}" = set; then :
|
adam@0
|
4623 $as_echo_n "(cached) " >&6
|
adam@0
|
4624 else
|
adam@0
|
4625 ac_save_c_werror_flag=$ac_c_werror_flag
|
adam@0
|
4626 ac_c_werror_flag=yes
|
adam@0
|
4627 ac_cv_prog_cc_g=no
|
adam@0
|
4628 CFLAGS="-g"
|
adam@0
|
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4630 /* end confdefs.h. */
|
adam@0
|
4631
|
adam@0
|
4632 int
|
adam@0
|
4633 main ()
|
adam@0
|
4634 {
|
adam@0
|
4635
|
adam@0
|
4636 ;
|
adam@0
|
4637 return 0;
|
adam@0
|
4638 }
|
adam@0
|
4639 _ACEOF
|
adam@0
|
4640 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4641 ac_cv_prog_cc_g=yes
|
adam@0
|
4642 else
|
adam@0
|
4643 CFLAGS=""
|
adam@0
|
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4645 /* end confdefs.h. */
|
adam@0
|
4646
|
adam@0
|
4647 int
|
adam@0
|
4648 main ()
|
adam@0
|
4649 {
|
adam@0
|
4650
|
adam@0
|
4651 ;
|
adam@0
|
4652 return 0;
|
adam@0
|
4653 }
|
adam@0
|
4654 _ACEOF
|
adam@0
|
4655 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4656
|
adam@0
|
4657 else
|
adam@0
|
4658 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
4659 CFLAGS="-g"
|
adam@0
|
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4661 /* end confdefs.h. */
|
adam@0
|
4662
|
adam@0
|
4663 int
|
adam@0
|
4664 main ()
|
adam@0
|
4665 {
|
adam@0
|
4666
|
adam@0
|
4667 ;
|
adam@0
|
4668 return 0;
|
adam@0
|
4669 }
|
adam@0
|
4670 _ACEOF
|
adam@0
|
4671 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4672 ac_cv_prog_cc_g=yes
|
adam@0
|
4673 fi
|
adam@0
|
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4675 fi
|
adam@0
|
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4677 fi
|
adam@0
|
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4679 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
4680 fi
|
adam@0
|
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
adam@0
|
4682 $as_echo "$ac_cv_prog_cc_g" >&6; }
|
adam@0
|
4683 if test "$ac_test_CFLAGS" = set; then
|
adam@0
|
4684 CFLAGS=$ac_save_CFLAGS
|
adam@0
|
4685 elif test $ac_cv_prog_cc_g = yes; then
|
adam@0
|
4686 if test "$GCC" = yes; then
|
adam@0
|
4687 CFLAGS="-g -O2"
|
adam@0
|
4688 else
|
adam@0
|
4689 CFLAGS="-g"
|
adam@0
|
4690 fi
|
adam@0
|
4691 else
|
adam@0
|
4692 if test "$GCC" = yes; then
|
adam@0
|
4693 CFLAGS="-O2"
|
adam@0
|
4694 else
|
adam@0
|
4695 CFLAGS=
|
adam@0
|
4696 fi
|
adam@0
|
4697 fi
|
adam@0
|
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
adam@0
|
4699 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
adam@64
|
4700 if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
adam@0
|
4701 $as_echo_n "(cached) " >&6
|
adam@0
|
4702 else
|
adam@0
|
4703 ac_cv_prog_cc_c89=no
|
adam@0
|
4704 ac_save_CC=$CC
|
adam@0
|
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4706 /* end confdefs.h. */
|
adam@0
|
4707 #include <stdarg.h>
|
adam@0
|
4708 #include <stdio.h>
|
adam@0
|
4709 #include <sys/types.h>
|
adam@0
|
4710 #include <sys/stat.h>
|
adam@0
|
4711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
adam@0
|
4712 struct buf { int x; };
|
adam@0
|
4713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
adam@0
|
4714 static char *e (p, i)
|
adam@0
|
4715 char **p;
|
adam@0
|
4716 int i;
|
adam@0
|
4717 {
|
adam@0
|
4718 return p[i];
|
adam@0
|
4719 }
|
adam@0
|
4720 static char *f (char * (*g) (char **, int), char **p, ...)
|
adam@0
|
4721 {
|
adam@0
|
4722 char *s;
|
adam@0
|
4723 va_list v;
|
adam@0
|
4724 va_start (v,p);
|
adam@0
|
4725 s = g (p, va_arg (v,int));
|
adam@0
|
4726 va_end (v);
|
adam@0
|
4727 return s;
|
adam@0
|
4728 }
|
adam@0
|
4729
|
adam@0
|
4730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
adam@0
|
4731 function prototypes and stuff, but not '\xHH' hex character constants.
|
adam@0
|
4732 These don't provoke an error unfortunately, instead are silently treated
|
adam@0
|
4733 as 'x'. The following induces an error, until -std is added to get
|
adam@0
|
4734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
adam@0
|
4735 array size at least. It's necessary to write '\x00'==0 to get something
|
adam@0
|
4736 that's true only with -std. */
|
adam@0
|
4737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
adam@0
|
4738
|
adam@0
|
4739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
adam@0
|
4740 inside strings and character constants. */
|
adam@0
|
4741 #define FOO(x) 'x'
|
adam@0
|
4742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
adam@0
|
4743
|
adam@0
|
4744 int test (int i, double x);
|
adam@0
|
4745 struct s1 {int (*f) (int a);};
|
adam@0
|
4746 struct s2 {int (*f) (double a);};
|
adam@0
|
4747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
adam@0
|
4748 int argc;
|
adam@0
|
4749 char **argv;
|
adam@0
|
4750 int
|
adam@0
|
4751 main ()
|
adam@0
|
4752 {
|
adam@0
|
4753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
adam@0
|
4754 ;
|
adam@0
|
4755 return 0;
|
adam@0
|
4756 }
|
adam@0
|
4757 _ACEOF
|
adam@0
|
4758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
adam@0
|
4759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
adam@0
|
4760 do
|
adam@0
|
4761 CC="$ac_save_CC $ac_arg"
|
adam@0
|
4762 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4763 ac_cv_prog_cc_c89=$ac_arg
|
adam@0
|
4764 fi
|
adam@0
|
4765 rm -f core conftest.err conftest.$ac_objext
|
adam@0
|
4766 test "x$ac_cv_prog_cc_c89" != "xno" && break
|
adam@0
|
4767 done
|
adam@0
|
4768 rm -f conftest.$ac_ext
|
adam@0
|
4769 CC=$ac_save_CC
|
adam@0
|
4770
|
adam@0
|
4771 fi
|
adam@0
|
4772 # AC_CACHE_VAL
|
adam@0
|
4773 case "x$ac_cv_prog_cc_c89" in
|
adam@0
|
4774 x)
|
adam@0
|
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
adam@0
|
4776 $as_echo "none needed" >&6; } ;;
|
adam@0
|
4777 xno)
|
adam@0
|
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
adam@0
|
4779 $as_echo "unsupported" >&6; } ;;
|
adam@0
|
4780 *)
|
adam@0
|
4781 CC="$CC $ac_cv_prog_cc_c89"
|
adam@0
|
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
adam@0
|
4783 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
adam@0
|
4784 esac
|
adam@0
|
4785 if test "x$ac_cv_prog_cc_c89" != xno; then :
|
adam@0
|
4786
|
adam@0
|
4787 fi
|
adam@0
|
4788
|
adam@0
|
4789 ac_ext=c
|
adam@0
|
4790 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
4791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
4792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
4793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
4794
|
adam@0
|
4795 case `pwd` in
|
adam@0
|
4796 *\ * | *\ *)
|
adam@0
|
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
adam@0
|
4798 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
adam@0
|
4799 esac
|
adam@0
|
4800
|
adam@0
|
4801
|
adam@0
|
4802
|
adam@47
|
4803 macro_version='2.4'
|
adam@47
|
4804 macro_revision='1.3293'
|
adam@0
|
4805
|
adam@0
|
4806
|
adam@0
|
4807
|
adam@0
|
4808
|
adam@0
|
4809
|
adam@0
|
4810
|
adam@0
|
4811
|
adam@0
|
4812
|
adam@0
|
4813
|
adam@0
|
4814
|
adam@0
|
4815
|
adam@0
|
4816
|
adam@0
|
4817
|
adam@0
|
4818 ltmain="$ac_aux_dir/ltmain.sh"
|
adam@0
|
4819
|
adam@0
|
4820 # Make sure we can run config.sub.
|
adam@0
|
4821 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
adam@0
|
4822 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
adam@0
|
4823
|
adam@0
|
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
adam@0
|
4825 $as_echo_n "checking build system type... " >&6; }
|
adam@64
|
4826 if test "${ac_cv_build+set}" = set; then :
|
adam@0
|
4827 $as_echo_n "(cached) " >&6
|
adam@0
|
4828 else
|
adam@0
|
4829 ac_build_alias=$build_alias
|
adam@0
|
4830 test "x$ac_build_alias" = x &&
|
adam@0
|
4831 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
adam@0
|
4832 test "x$ac_build_alias" = x &&
|
adam@0
|
4833 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
adam@0
|
4834 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
adam@0
|
4835 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
adam@0
|
4836
|
adam@0
|
4837 fi
|
adam@0
|
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
adam@0
|
4839 $as_echo "$ac_cv_build" >&6; }
|
adam@0
|
4840 case $ac_cv_build in
|
adam@0
|
4841 *-*-*) ;;
|
adam@64
|
4842 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
|
adam@0
|
4843 esac
|
adam@0
|
4844 build=$ac_cv_build
|
adam@0
|
4845 ac_save_IFS=$IFS; IFS='-'
|
adam@0
|
4846 set x $ac_cv_build
|
adam@0
|
4847 shift
|
adam@0
|
4848 build_cpu=$1
|
adam@0
|
4849 build_vendor=$2
|
adam@0
|
4850 shift; shift
|
adam@0
|
4851 # Remember, the first character of IFS is used to create $*,
|
adam@0
|
4852 # except with old shells:
|
adam@0
|
4853 build_os=$*
|
adam@0
|
4854 IFS=$ac_save_IFS
|
adam@0
|
4855 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
adam@0
|
4856
|
adam@0
|
4857
|
adam@0
|
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
adam@0
|
4859 $as_echo_n "checking host system type... " >&6; }
|
adam@64
|
4860 if test "${ac_cv_host+set}" = set; then :
|
adam@0
|
4861 $as_echo_n "(cached) " >&6
|
adam@0
|
4862 else
|
adam@0
|
4863 if test "x$host_alias" = x; then
|
adam@0
|
4864 ac_cv_host=$ac_cv_build
|
adam@0
|
4865 else
|
adam@0
|
4866 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
adam@0
|
4867 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
adam@0
|
4868 fi
|
adam@0
|
4869
|
adam@0
|
4870 fi
|
adam@0
|
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
adam@0
|
4872 $as_echo "$ac_cv_host" >&6; }
|
adam@0
|
4873 case $ac_cv_host in
|
adam@0
|
4874 *-*-*) ;;
|
adam@64
|
4875 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
|
adam@0
|
4876 esac
|
adam@0
|
4877 host=$ac_cv_host
|
adam@0
|
4878 ac_save_IFS=$IFS; IFS='-'
|
adam@0
|
4879 set x $ac_cv_host
|
adam@0
|
4880 shift
|
adam@0
|
4881 host_cpu=$1
|
adam@0
|
4882 host_vendor=$2
|
adam@0
|
4883 shift; shift
|
adam@0
|
4884 # Remember, the first character of IFS is used to create $*,
|
adam@0
|
4885 # except with old shells:
|
adam@0
|
4886 host_os=$*
|
adam@0
|
4887 IFS=$ac_save_IFS
|
adam@0
|
4888 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
adam@0
|
4889
|
adam@0
|
4890
|
adam@47
|
4891 # Backslashify metacharacters that are still active within
|
adam@47
|
4892 # double-quoted strings.
|
adam@47
|
4893 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
adam@47
|
4894
|
adam@47
|
4895 # Same as above, but do not quote variable references.
|
adam@47
|
4896 double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
adam@47
|
4897
|
adam@47
|
4898 # Sed substitution to delay expansion of an escaped shell variable in a
|
adam@47
|
4899 # double_quote_subst'ed string.
|
adam@47
|
4900 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
adam@47
|
4901
|
adam@47
|
4902 # Sed substitution to delay expansion of an escaped single quote.
|
adam@47
|
4903 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
|
adam@47
|
4904
|
adam@47
|
4905 # Sed substitution to avoid accidental globbing in evaled expressions
|
adam@47
|
4906 no_glob_subst='s/\*/\\\*/g'
|
adam@47
|
4907
|
adam@47
|
4908 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@47
|
4909 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
|
adam@47
|
4910 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
adam@47
|
4911
|
adam@47
|
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
adam@47
|
4913 $as_echo_n "checking how to print strings... " >&6; }
|
adam@47
|
4914 # Test print first, because it will be a builtin if present.
|
adam@47
|
4915 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
adam@47
|
4916 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
adam@47
|
4917 ECHO='print -r --'
|
adam@47
|
4918 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
|
adam@47
|
4919 ECHO='printf %s\n'
|
adam@47
|
4920 else
|
adam@47
|
4921 # Use this function as a fallback that always works.
|
adam@47
|
4922 func_fallback_echo ()
|
adam@47
|
4923 {
|
adam@47
|
4924 eval 'cat <<_LTECHO_EOF
|
adam@47
|
4925 $1
|
adam@47
|
4926 _LTECHO_EOF'
|
adam@47
|
4927 }
|
adam@47
|
4928 ECHO='func_fallback_echo'
|
adam@47
|
4929 fi
|
adam@47
|
4930
|
adam@47
|
4931 # func_echo_all arg...
|
adam@47
|
4932 # Invoke $ECHO with all args, space-separated.
|
adam@47
|
4933 func_echo_all ()
|
adam@47
|
4934 {
|
adam@47
|
4935 $ECHO ""
|
adam@47
|
4936 }
|
adam@47
|
4937
|
adam@47
|
4938 case "$ECHO" in
|
adam@47
|
4939 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
adam@47
|
4940 $as_echo "printf" >&6; } ;;
|
adam@47
|
4941 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
adam@47
|
4942 $as_echo "print -r" >&6; } ;;
|
adam@47
|
4943 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
adam@47
|
4944 $as_echo "cat" >&6; } ;;
|
adam@47
|
4945 esac
|
adam@47
|
4946
|
adam@47
|
4947
|
adam@47
|
4948
|
adam@47
|
4949
|
adam@47
|
4950
|
adam@47
|
4951
|
adam@47
|
4952
|
adam@47
|
4953
|
adam@47
|
4954
|
adam@47
|
4955
|
adam@47
|
4956
|
adam@47
|
4957
|
adam@47
|
4958
|
adam@47
|
4959
|
adam@0
|
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
adam@0
|
4961 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
adam@64
|
4962 if test "${ac_cv_path_SED+set}" = set; then :
|
adam@0
|
4963 $as_echo_n "(cached) " >&6
|
adam@0
|
4964 else
|
adam@0
|
4965 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
adam@0
|
4966 for ac_i in 1 2 3 4 5 6 7; do
|
adam@0
|
4967 ac_script="$ac_script$as_nl$ac_script"
|
adam@0
|
4968 done
|
adam@0
|
4969 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
|
adam@0
|
4970 { ac_script=; unset ac_script;}
|
adam@0
|
4971 if test -z "$SED"; then
|
adam@0
|
4972 ac_path_SED_found=false
|
adam@0
|
4973 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4975 for as_dir in $PATH
|
adam@0
|
4976 do
|
adam@0
|
4977 IFS=$as_save_IFS
|
adam@0
|
4978 test -z "$as_dir" && as_dir=.
|
adam@0
|
4979 for ac_prog in sed gsed; do
|
adam@0
|
4980 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4981 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
4982 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
|
adam@0
|
4983 # Check for GNU ac_path_SED and select it if it is found.
|
adam@0
|
4984 # Check for GNU $ac_path_SED
|
adam@0
|
4985 case `"$ac_path_SED" --version 2>&1` in
|
adam@0
|
4986 *GNU*)
|
adam@0
|
4987 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
adam@0
|
4988 *)
|
adam@0
|
4989 ac_count=0
|
adam@0
|
4990 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
4991 while :
|
adam@0
|
4992 do
|
adam@0
|
4993 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
4994 mv "conftest.tmp" "conftest.in"
|
adam@0
|
4995 cp "conftest.in" "conftest.nl"
|
adam@0
|
4996 $as_echo '' >> "conftest.nl"
|
adam@0
|
4997 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
4998 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
4999 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
5000 if test $ac_count -gt ${ac_path_SED_max-0}; then
|
adam@0
|
5001 # Best one so far, save it but keep looking for a better one
|
adam@0
|
5002 ac_cv_path_SED="$ac_path_SED"
|
adam@0
|
5003 ac_path_SED_max=$ac_count
|
adam@0
|
5004 fi
|
adam@0
|
5005 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
5006 test $ac_count -gt 10 && break
|
adam@0
|
5007 done
|
adam@0
|
5008 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
5009 esac
|
adam@0
|
5010
|
adam@0
|
5011 $ac_path_SED_found && break 3
|
adam@0
|
5012 done
|
adam@0
|
5013 done
|
adam@0
|
5014 done
|
adam@0
|
5015 IFS=$as_save_IFS
|
adam@0
|
5016 if test -z "$ac_cv_path_SED"; then
|
adam@0
|
5017 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
|
adam@0
|
5018 fi
|
adam@0
|
5019 else
|
adam@0
|
5020 ac_cv_path_SED=$SED
|
adam@0
|
5021 fi
|
adam@0
|
5022
|
adam@0
|
5023 fi
|
adam@0
|
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
adam@0
|
5025 $as_echo "$ac_cv_path_SED" >&6; }
|
adam@0
|
5026 SED="$ac_cv_path_SED"
|
adam@0
|
5027 rm -f conftest.sed
|
adam@0
|
5028
|
adam@0
|
5029 test -z "$SED" && SED=sed
|
adam@0
|
5030 Xsed="$SED -e 1s/^X//"
|
adam@0
|
5031
|
adam@0
|
5032
|
adam@0
|
5033
|
adam@0
|
5034
|
adam@0
|
5035
|
adam@0
|
5036
|
adam@0
|
5037
|
adam@0
|
5038
|
adam@0
|
5039
|
adam@0
|
5040
|
adam@0
|
5041
|
adam@0
|
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
adam@0
|
5043 $as_echo_n "checking for fgrep... " >&6; }
|
adam@64
|
5044 if test "${ac_cv_path_FGREP+set}" = set; then :
|
adam@0
|
5045 $as_echo_n "(cached) " >&6
|
adam@0
|
5046 else
|
adam@0
|
5047 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
adam@0
|
5048 then ac_cv_path_FGREP="$GREP -F"
|
adam@0
|
5049 else
|
adam@0
|
5050 if test -z "$FGREP"; then
|
adam@0
|
5051 ac_path_FGREP_found=false
|
adam@0
|
5052 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5054 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
adam@0
|
5055 do
|
adam@0
|
5056 IFS=$as_save_IFS
|
adam@0
|
5057 test -z "$as_dir" && as_dir=.
|
adam@0
|
5058 for ac_prog in fgrep; do
|
adam@0
|
5059 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5060 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
5061 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
|
adam@0
|
5062 # Check for GNU ac_path_FGREP and select it if it is found.
|
adam@0
|
5063 # Check for GNU $ac_path_FGREP
|
adam@0
|
5064 case `"$ac_path_FGREP" --version 2>&1` in
|
adam@0
|
5065 *GNU*)
|
adam@0
|
5066 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
|
adam@0
|
5067 *)
|
adam@0
|
5068 ac_count=0
|
adam@0
|
5069 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
5070 while :
|
adam@0
|
5071 do
|
adam@0
|
5072 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
5073 mv "conftest.tmp" "conftest.in"
|
adam@0
|
5074 cp "conftest.in" "conftest.nl"
|
adam@0
|
5075 $as_echo 'FGREP' >> "conftest.nl"
|
adam@0
|
5076 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
5077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
5078 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
5079 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
|
adam@0
|
5080 # Best one so far, save it but keep looking for a better one
|
adam@0
|
5081 ac_cv_path_FGREP="$ac_path_FGREP"
|
adam@0
|
5082 ac_path_FGREP_max=$ac_count
|
adam@0
|
5083 fi
|
adam@0
|
5084 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
5085 test $ac_count -gt 10 && break
|
adam@0
|
5086 done
|
adam@0
|
5087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
5088 esac
|
adam@0
|
5089
|
adam@0
|
5090 $ac_path_FGREP_found && break 3
|
adam@0
|
5091 done
|
adam@0
|
5092 done
|
adam@0
|
5093 done
|
adam@0
|
5094 IFS=$as_save_IFS
|
adam@0
|
5095 if test -z "$ac_cv_path_FGREP"; then
|
adam@0
|
5096 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
adam@0
|
5097 fi
|
adam@0
|
5098 else
|
adam@0
|
5099 ac_cv_path_FGREP=$FGREP
|
adam@0
|
5100 fi
|
adam@0
|
5101
|
adam@0
|
5102 fi
|
adam@0
|
5103 fi
|
adam@0
|
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
adam@0
|
5105 $as_echo "$ac_cv_path_FGREP" >&6; }
|
adam@0
|
5106 FGREP="$ac_cv_path_FGREP"
|
adam@0
|
5107
|
adam@0
|
5108
|
adam@0
|
5109 test -z "$GREP" && GREP=grep
|
adam@0
|
5110
|
adam@0
|
5111
|
adam@0
|
5112
|
adam@0
|
5113
|
adam@0
|
5114
|
adam@0
|
5115
|
adam@0
|
5116
|
adam@0
|
5117
|
adam@0
|
5118
|
adam@0
|
5119
|
adam@0
|
5120
|
adam@0
|
5121
|
adam@0
|
5122
|
adam@0
|
5123
|
adam@0
|
5124
|
adam@0
|
5125
|
adam@0
|
5126
|
adam@0
|
5127
|
adam@0
|
5128
|
adam@0
|
5129 # Check whether --with-gnu-ld was given.
|
adam@0
|
5130 if test "${with_gnu_ld+set}" = set; then :
|
adam@0
|
5131 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
adam@0
|
5132 else
|
adam@0
|
5133 with_gnu_ld=no
|
adam@0
|
5134 fi
|
adam@0
|
5135
|
adam@0
|
5136 ac_prog=ld
|
adam@0
|
5137 if test "$GCC" = yes; then
|
adam@0
|
5138 # Check if gcc -print-prog-name=ld gives a path.
|
adam@0
|
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
adam@0
|
5140 $as_echo_n "checking for ld used by $CC... " >&6; }
|
adam@0
|
5141 case $host in
|
adam@0
|
5142 *-*-mingw*)
|
adam@0
|
5143 # gcc leaves a trailing carriage return which upsets mingw
|
adam@0
|
5144 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
adam@0
|
5145 *)
|
adam@0
|
5146 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
adam@0
|
5147 esac
|
adam@0
|
5148 case $ac_prog in
|
adam@0
|
5149 # Accept absolute paths.
|
adam@0
|
5150 [\\/]* | ?:[\\/]*)
|
adam@0
|
5151 re_direlt='/[^/][^/]*/\.\./'
|
adam@0
|
5152 # Canonicalize the pathname of ld
|
adam@0
|
5153 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
|
adam@0
|
5154 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
|
adam@0
|
5155 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
|
adam@0
|
5156 done
|
adam@0
|
5157 test -z "$LD" && LD="$ac_prog"
|
adam@0
|
5158 ;;
|
adam@0
|
5159 "")
|
adam@0
|
5160 # If it fails, then pretend we aren't using GCC.
|
adam@0
|
5161 ac_prog=ld
|
adam@0
|
5162 ;;
|
adam@0
|
5163 *)
|
adam@0
|
5164 # If it is relative, then search for the first ld in PATH.
|
adam@0
|
5165 with_gnu_ld=unknown
|
adam@0
|
5166 ;;
|
adam@0
|
5167 esac
|
adam@0
|
5168 elif test "$with_gnu_ld" = yes; then
|
adam@0
|
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
adam@0
|
5170 $as_echo_n "checking for GNU ld... " >&6; }
|
adam@0
|
5171 else
|
adam@0
|
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
adam@0
|
5173 $as_echo_n "checking for non-GNU ld... " >&6; }
|
adam@0
|
5174 fi
|
adam@64
|
5175 if test "${lt_cv_path_LD+set}" = set; then :
|
adam@0
|
5176 $as_echo_n "(cached) " >&6
|
adam@0
|
5177 else
|
adam@0
|
5178 if test -z "$LD"; then
|
adam@0
|
5179 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
5180 for ac_dir in $PATH; do
|
adam@0
|
5181 IFS="$lt_save_ifs"
|
adam@0
|
5182 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
5183 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
adam@0
|
5184 lt_cv_path_LD="$ac_dir/$ac_prog"
|
adam@0
|
5185 # Check to see if the program is GNU ld. I'd rather use --version,
|
adam@0
|
5186 # but apparently some variants of GNU ld only accept -v.
|
adam@0
|
5187 # Break only if it was the GNU/non-GNU ld that we prefer.
|
adam@0
|
5188 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
|
adam@0
|
5189 *GNU* | *'with BFD'*)
|
adam@0
|
5190 test "$with_gnu_ld" != no && break
|
adam@0
|
5191 ;;
|
adam@0
|
5192 *)
|
adam@0
|
5193 test "$with_gnu_ld" != yes && break
|
adam@0
|
5194 ;;
|
adam@0
|
5195 esac
|
adam@0
|
5196 fi
|
adam@0
|
5197 done
|
adam@0
|
5198 IFS="$lt_save_ifs"
|
adam@0
|
5199 else
|
adam@0
|
5200 lt_cv_path_LD="$LD" # Let the user override the test with a path.
|
adam@0
|
5201 fi
|
adam@0
|
5202 fi
|
adam@0
|
5203
|
adam@0
|
5204 LD="$lt_cv_path_LD"
|
adam@0
|
5205 if test -n "$LD"; then
|
adam@0
|
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
adam@0
|
5207 $as_echo "$LD" >&6; }
|
adam@0
|
5208 else
|
adam@0
|
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5210 $as_echo "no" >&6; }
|
adam@0
|
5211 fi
|
adam@0
|
5212 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
adam@0
|
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
adam@0
|
5214 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
adam@64
|
5215 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
|
adam@0
|
5216 $as_echo_n "(cached) " >&6
|
adam@0
|
5217 else
|
adam@0
|
5218 # I'd rather use --version here, but apparently some GNU lds only accept -v.
|
adam@0
|
5219 case `$LD -v 2>&1 </dev/null` in
|
adam@0
|
5220 *GNU* | *'with BFD'*)
|
adam@0
|
5221 lt_cv_prog_gnu_ld=yes
|
adam@0
|
5222 ;;
|
adam@0
|
5223 *)
|
adam@0
|
5224 lt_cv_prog_gnu_ld=no
|
adam@0
|
5225 ;;
|
adam@0
|
5226 esac
|
adam@0
|
5227 fi
|
adam@0
|
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
adam@0
|
5229 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
adam@0
|
5230 with_gnu_ld=$lt_cv_prog_gnu_ld
|
adam@0
|
5231
|
adam@0
|
5232
|
adam@0
|
5233
|
adam@0
|
5234
|
adam@0
|
5235
|
adam@0
|
5236
|
adam@0
|
5237
|
adam@0
|
5238
|
adam@0
|
5239
|
adam@0
|
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
adam@0
|
5241 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
adam@64
|
5242 if test "${lt_cv_path_NM+set}" = set; then :
|
adam@0
|
5243 $as_echo_n "(cached) " >&6
|
adam@0
|
5244 else
|
adam@0
|
5245 if test -n "$NM"; then
|
adam@0
|
5246 # Let the user override the test.
|
adam@0
|
5247 lt_cv_path_NM="$NM"
|
adam@0
|
5248 else
|
adam@0
|
5249 lt_nm_to_check="${ac_tool_prefix}nm"
|
adam@0
|
5250 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
|
adam@0
|
5251 lt_nm_to_check="$lt_nm_to_check nm"
|
adam@0
|
5252 fi
|
adam@0
|
5253 for lt_tmp_nm in $lt_nm_to_check; do
|
adam@0
|
5254 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
5255 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
|
adam@0
|
5256 IFS="$lt_save_ifs"
|
adam@0
|
5257 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
5258 tmp_nm="$ac_dir/$lt_tmp_nm"
|
adam@0
|
5259 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
|
adam@0
|
5260 # Check to see if the nm accepts a BSD-compat flag.
|
adam@0
|
5261 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
adam@0
|
5262 # nm: unknown option "B" ignored
|
adam@0
|
5263 # Tru64's nm complains that /dev/null is an invalid object file
|
adam@0
|
5264 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
|
adam@0
|
5265 */dev/null* | *'Invalid file or object type'*)
|
adam@0
|
5266 lt_cv_path_NM="$tmp_nm -B"
|
adam@0
|
5267 break
|
adam@0
|
5268 ;;
|
adam@0
|
5269 *)
|
adam@0
|
5270 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
adam@0
|
5271 */dev/null*)
|
adam@0
|
5272 lt_cv_path_NM="$tmp_nm -p"
|
adam@0
|
5273 break
|
adam@0
|
5274 ;;
|
adam@0
|
5275 *)
|
adam@0
|
5276 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
adam@0
|
5277 continue # so that we can try to find one that supports BSD flags
|
adam@0
|
5278 ;;
|
adam@0
|
5279 esac
|
adam@0
|
5280 ;;
|
adam@0
|
5281 esac
|
adam@0
|
5282 fi
|
adam@0
|
5283 done
|
adam@0
|
5284 IFS="$lt_save_ifs"
|
adam@0
|
5285 done
|
adam@0
|
5286 : ${lt_cv_path_NM=no}
|
adam@0
|
5287 fi
|
adam@0
|
5288 fi
|
adam@0
|
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
adam@0
|
5290 $as_echo "$lt_cv_path_NM" >&6; }
|
adam@0
|
5291 if test "$lt_cv_path_NM" != "no"; then
|
adam@0
|
5292 NM="$lt_cv_path_NM"
|
adam@0
|
5293 else
|
adam@0
|
5294 # Didn't find any BSD compatible name lister, look for dumpbin.
|
adam@47
|
5295 if test -n "$DUMPBIN"; then :
|
adam@47
|
5296 # Let the user override the test.
|
adam@47
|
5297 else
|
adam@47
|
5298 if test -n "$ac_tool_prefix"; then
|
adam@47
|
5299 for ac_prog in dumpbin "link -dump"
|
adam@0
|
5300 do
|
adam@0
|
5301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@0
|
5302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@0
|
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5304 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
5305 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
|
adam@0
|
5306 $as_echo_n "(cached) " >&6
|
adam@0
|
5307 else
|
adam@0
|
5308 if test -n "$DUMPBIN"; then
|
adam@0
|
5309 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
|
adam@0
|
5310 else
|
adam@0
|
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5312 for as_dir in $PATH
|
adam@0
|
5313 do
|
adam@0
|
5314 IFS=$as_save_IFS
|
adam@0
|
5315 test -z "$as_dir" && as_dir=.
|
adam@0
|
5316 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5318 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
adam@0
|
5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5320 break 2
|
adam@0
|
5321 fi
|
adam@0
|
5322 done
|
adam@0
|
5323 done
|
adam@0
|
5324 IFS=$as_save_IFS
|
adam@0
|
5325
|
adam@0
|
5326 fi
|
adam@0
|
5327 fi
|
adam@0
|
5328 DUMPBIN=$ac_cv_prog_DUMPBIN
|
adam@0
|
5329 if test -n "$DUMPBIN"; then
|
adam@0
|
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
adam@0
|
5331 $as_echo "$DUMPBIN" >&6; }
|
adam@0
|
5332 else
|
adam@0
|
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5334 $as_echo "no" >&6; }
|
adam@0
|
5335 fi
|
adam@0
|
5336
|
adam@0
|
5337
|
adam@0
|
5338 test -n "$DUMPBIN" && break
|
adam@0
|
5339 done
|
adam@0
|
5340 fi
|
adam@0
|
5341 if test -z "$DUMPBIN"; then
|
adam@0
|
5342 ac_ct_DUMPBIN=$DUMPBIN
|
adam@47
|
5343 for ac_prog in dumpbin "link -dump"
|
adam@0
|
5344 do
|
adam@0
|
5345 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
5346 set dummy $ac_prog; ac_word=$2
|
adam@0
|
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5348 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
5349 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
|
adam@0
|
5350 $as_echo_n "(cached) " >&6
|
adam@0
|
5351 else
|
adam@0
|
5352 if test -n "$ac_ct_DUMPBIN"; then
|
adam@0
|
5353 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
|
adam@0
|
5354 else
|
adam@0
|
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5356 for as_dir in $PATH
|
adam@0
|
5357 do
|
adam@0
|
5358 IFS=$as_save_IFS
|
adam@0
|
5359 test -z "$as_dir" && as_dir=.
|
adam@0
|
5360 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5362 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
adam@0
|
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5364 break 2
|
adam@0
|
5365 fi
|
adam@0
|
5366 done
|
adam@0
|
5367 done
|
adam@0
|
5368 IFS=$as_save_IFS
|
adam@0
|
5369
|
adam@0
|
5370 fi
|
adam@0
|
5371 fi
|
adam@0
|
5372 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
adam@0
|
5373 if test -n "$ac_ct_DUMPBIN"; then
|
adam@0
|
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
adam@0
|
5375 $as_echo "$ac_ct_DUMPBIN" >&6; }
|
adam@0
|
5376 else
|
adam@0
|
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5378 $as_echo "no" >&6; }
|
adam@0
|
5379 fi
|
adam@0
|
5380
|
adam@0
|
5381
|
adam@0
|
5382 test -n "$ac_ct_DUMPBIN" && break
|
adam@0
|
5383 done
|
adam@0
|
5384
|
adam@0
|
5385 if test "x$ac_ct_DUMPBIN" = x; then
|
adam@0
|
5386 DUMPBIN=":"
|
adam@0
|
5387 else
|
adam@0
|
5388 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
5389 yes:)
|
adam@0
|
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
5391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
5392 ac_tool_warned=yes ;;
|
adam@0
|
5393 esac
|
adam@0
|
5394 DUMPBIN=$ac_ct_DUMPBIN
|
adam@0
|
5395 fi
|
adam@0
|
5396 fi
|
adam@0
|
5397
|
adam@47
|
5398 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
|
adam@47
|
5399 *COFF*)
|
adam@47
|
5400 DUMPBIN="$DUMPBIN -symbols"
|
adam@47
|
5401 ;;
|
adam@47
|
5402 *)
|
adam@47
|
5403 DUMPBIN=:
|
adam@47
|
5404 ;;
|
adam@47
|
5405 esac
|
adam@47
|
5406 fi
|
adam@0
|
5407
|
adam@0
|
5408 if test "$DUMPBIN" != ":"; then
|
adam@0
|
5409 NM="$DUMPBIN"
|
adam@0
|
5410 fi
|
adam@0
|
5411 fi
|
adam@0
|
5412 test -z "$NM" && NM=nm
|
adam@0
|
5413
|
adam@0
|
5414
|
adam@0
|
5415
|
adam@0
|
5416
|
adam@0
|
5417
|
adam@0
|
5418
|
adam@0
|
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
adam@0
|
5420 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
adam@64
|
5421 if test "${lt_cv_nm_interface+set}" = set; then :
|
adam@0
|
5422 $as_echo_n "(cached) " >&6
|
adam@0
|
5423 else
|
adam@0
|
5424 lt_cv_nm_interface="BSD nm"
|
adam@0
|
5425 echo "int some_variable = 0;" > conftest.$ac_ext
|
adam@47
|
5426 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
|
adam@0
|
5427 (eval "$ac_compile" 2>conftest.err)
|
adam@0
|
5428 cat conftest.err >&5
|
adam@47
|
5429 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
adam@0
|
5430 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
adam@0
|
5431 cat conftest.err >&5
|
adam@47
|
5432 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
|
adam@0
|
5433 cat conftest.out >&5
|
adam@0
|
5434 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
adam@0
|
5435 lt_cv_nm_interface="MS dumpbin"
|
adam@0
|
5436 fi
|
adam@0
|
5437 rm -f conftest*
|
adam@0
|
5438 fi
|
adam@0
|
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
adam@0
|
5440 $as_echo "$lt_cv_nm_interface" >&6; }
|
adam@0
|
5441
|
adam@0
|
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
adam@0
|
5443 $as_echo_n "checking whether ln -s works... " >&6; }
|
adam@0
|
5444 LN_S=$as_ln_s
|
adam@0
|
5445 if test "$LN_S" = "ln -s"; then
|
adam@0
|
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
5447 $as_echo "yes" >&6; }
|
adam@0
|
5448 else
|
adam@0
|
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
adam@0
|
5450 $as_echo "no, using $LN_S" >&6; }
|
adam@0
|
5451 fi
|
adam@0
|
5452
|
adam@0
|
5453 # find the maximum length of command line arguments
|
adam@0
|
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
adam@0
|
5455 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
adam@64
|
5456 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
|
adam@0
|
5457 $as_echo_n "(cached) " >&6
|
adam@0
|
5458 else
|
adam@0
|
5459 i=0
|
adam@0
|
5460 teststring="ABCD"
|
adam@0
|
5461
|
adam@0
|
5462 case $build_os in
|
adam@0
|
5463 msdosdjgpp*)
|
adam@0
|
5464 # On DJGPP, this test can blow up pretty badly due to problems in libc
|
adam@0
|
5465 # (any single argument exceeding 2000 bytes causes a buffer overrun
|
adam@0
|
5466 # during glob expansion). Even if it were fixed, the result of this
|
adam@0
|
5467 # check would be larger than it should be.
|
adam@0
|
5468 lt_cv_sys_max_cmd_len=12288; # 12K is about right
|
adam@0
|
5469 ;;
|
adam@0
|
5470
|
adam@0
|
5471 gnu*)
|
adam@0
|
5472 # Under GNU Hurd, this test is not required because there is
|
adam@0
|
5473 # no limit to the length of command line arguments.
|
adam@0
|
5474 # Libtool will interpret -1 as no limit whatsoever
|
adam@0
|
5475 lt_cv_sys_max_cmd_len=-1;
|
adam@0
|
5476 ;;
|
adam@0
|
5477
|
adam@0
|
5478 cygwin* | mingw* | cegcc*)
|
adam@0
|
5479 # On Win9x/ME, this test blows up -- it succeeds, but takes
|
adam@0
|
5480 # about 5 minutes as the teststring grows exponentially.
|
adam@0
|
5481 # Worse, since 9x/ME are not pre-emptively multitasking,
|
adam@0
|
5482 # you end up with a "frozen" computer, even though with patience
|
adam@0
|
5483 # the test eventually succeeds (with a max line length of 256k).
|
adam@0
|
5484 # Instead, let's just punt: use the minimum linelength reported by
|
adam@0
|
5485 # all of the supported platforms: 8192 (on NT/2K/XP).
|
adam@0
|
5486 lt_cv_sys_max_cmd_len=8192;
|
adam@0
|
5487 ;;
|
adam@0
|
5488
|
adam@47
|
5489 mint*)
|
adam@47
|
5490 # On MiNT this can take a long time and run out of memory.
|
adam@47
|
5491 lt_cv_sys_max_cmd_len=8192;
|
adam@47
|
5492 ;;
|
adam@47
|
5493
|
adam@0
|
5494 amigaos*)
|
adam@0
|
5495 # On AmigaOS with pdksh, this test takes hours, literally.
|
adam@0
|
5496 # So we just punt and use a minimum line length of 8192.
|
adam@0
|
5497 lt_cv_sys_max_cmd_len=8192;
|
adam@0
|
5498 ;;
|
adam@0
|
5499
|
adam@0
|
5500 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
adam@0
|
5501 # This has been around since 386BSD, at least. Likely further.
|
adam@0
|
5502 if test -x /sbin/sysctl; then
|
adam@0
|
5503 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
adam@0
|
5504 elif test -x /usr/sbin/sysctl; then
|
adam@0
|
5505 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
|
adam@0
|
5506 else
|
adam@0
|
5507 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
|
adam@0
|
5508 fi
|
adam@0
|
5509 # And add a safety zone
|
adam@0
|
5510 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
adam@0
|
5511 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
adam@0
|
5512 ;;
|
adam@0
|
5513
|
adam@0
|
5514 interix*)
|
adam@0
|
5515 # We know the value 262144 and hardcode it with a safety zone (like BSD)
|
adam@0
|
5516 lt_cv_sys_max_cmd_len=196608
|
adam@0
|
5517 ;;
|
adam@0
|
5518
|
adam@0
|
5519 osf*)
|
adam@0
|
5520 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
adam@0
|
5521 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
adam@0
|
5522 # nice to cause kernel panics so lets avoid the loop below.
|
adam@0
|
5523 # First set a reasonable default.
|
adam@0
|
5524 lt_cv_sys_max_cmd_len=16384
|
adam@0
|
5525 #
|
adam@0
|
5526 if test -x /sbin/sysconfig; then
|
adam@0
|
5527 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
|
adam@0
|
5528 *1*) lt_cv_sys_max_cmd_len=-1 ;;
|
adam@0
|
5529 esac
|
adam@0
|
5530 fi
|
adam@0
|
5531 ;;
|
adam@0
|
5532 sco3.2v5*)
|
adam@0
|
5533 lt_cv_sys_max_cmd_len=102400
|
adam@0
|
5534 ;;
|
adam@0
|
5535 sysv5* | sco5v6* | sysv4.2uw2*)
|
adam@0
|
5536 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
adam@0
|
5537 if test -n "$kargmax"; then
|
adam@0
|
5538 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
|
adam@0
|
5539 else
|
adam@0
|
5540 lt_cv_sys_max_cmd_len=32768
|
adam@0
|
5541 fi
|
adam@0
|
5542 ;;
|
adam@0
|
5543 *)
|
adam@0
|
5544 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
|
adam@0
|
5545 if test -n "$lt_cv_sys_max_cmd_len"; then
|
adam@0
|
5546 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
adam@0
|
5547 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
adam@0
|
5548 else
|
adam@0
|
5549 # Make teststring a little bigger before we do anything with it.
|
adam@0
|
5550 # a 1K string should be a reasonable start.
|
adam@0
|
5551 for i in 1 2 3 4 5 6 7 8 ; do
|
adam@0
|
5552 teststring=$teststring$teststring
|
adam@0
|
5553 done
|
adam@0
|
5554 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
adam@0
|
5555 # If test is not a shell built-in, we'll probably end up computing a
|
adam@0
|
5556 # maximum length that is only half of the actual maximum length, but
|
adam@0
|
5557 # we can't tell.
|
adam@47
|
5558 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
|
adam@47
|
5559 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
adam@0
|
5560 test $i != 17 # 1/2 MB should be enough
|
adam@0
|
5561 do
|
adam@0
|
5562 i=`expr $i + 1`
|
adam@0
|
5563 teststring=$teststring$teststring
|
adam@0
|
5564 done
|
adam@0
|
5565 # Only check the string length outside the loop.
|
adam@0
|
5566 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
|
adam@0
|
5567 teststring=
|
adam@0
|
5568 # Add a significant safety factor because C++ compilers can tack on
|
adam@0
|
5569 # massive amounts of additional arguments before passing them to the
|
adam@0
|
5570 # linker. It appears as though 1/2 is a usable value.
|
adam@0
|
5571 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
|
adam@0
|
5572 fi
|
adam@0
|
5573 ;;
|
adam@0
|
5574 esac
|
adam@0
|
5575
|
adam@0
|
5576 fi
|
adam@0
|
5577
|
adam@0
|
5578 if test -n $lt_cv_sys_max_cmd_len ; then
|
adam@0
|
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
adam@0
|
5580 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
adam@0
|
5581 else
|
adam@0
|
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
adam@0
|
5583 $as_echo "none" >&6; }
|
adam@0
|
5584 fi
|
adam@0
|
5585 max_cmd_len=$lt_cv_sys_max_cmd_len
|
adam@0
|
5586
|
adam@0
|
5587
|
adam@0
|
5588
|
adam@0
|
5589
|
adam@0
|
5590
|
adam@0
|
5591
|
adam@0
|
5592 : ${CP="cp -f"}
|
adam@0
|
5593 : ${MV="mv -f"}
|
adam@0
|
5594 : ${RM="rm -f"}
|
adam@0
|
5595
|
adam@0
|
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
|
adam@0
|
5597 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
|
adam@0
|
5598 # Try some XSI features
|
adam@0
|
5599 xsi_shell=no
|
adam@0
|
5600 ( _lt_dummy="a/b/c"
|
adam@47
|
5601 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
|
adam@47
|
5602 = c,a/b,b/c, \
|
adam@0
|
5603 && eval 'test $(( 1 + 1 )) -eq 2 \
|
adam@0
|
5604 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
|
adam@0
|
5605 && xsi_shell=yes
|
adam@0
|
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
|
adam@0
|
5607 $as_echo "$xsi_shell" >&6; }
|
adam@0
|
5608
|
adam@0
|
5609
|
adam@0
|
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
|
adam@0
|
5611 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
|
adam@0
|
5612 lt_shell_append=no
|
adam@0
|
5613 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
|
adam@0
|
5614 >/dev/null 2>&1 \
|
adam@0
|
5615 && lt_shell_append=yes
|
adam@0
|
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
|
adam@0
|
5617 $as_echo "$lt_shell_append" >&6; }
|
adam@0
|
5618
|
adam@0
|
5619
|
adam@0
|
5620 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
adam@0
|
5621 lt_unset=unset
|
adam@0
|
5622 else
|
adam@0
|
5623 lt_unset=false
|
adam@0
|
5624 fi
|
adam@0
|
5625
|
adam@0
|
5626
|
adam@0
|
5627
|
adam@0
|
5628
|
adam@0
|
5629
|
adam@0
|
5630 # test EBCDIC or ASCII
|
adam@0
|
5631 case `echo X|tr X '\101'` in
|
adam@0
|
5632 A) # ASCII based system
|
adam@0
|
5633 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
|
adam@0
|
5634 lt_SP2NL='tr \040 \012'
|
adam@0
|
5635 lt_NL2SP='tr \015\012 \040\040'
|
adam@0
|
5636 ;;
|
adam@0
|
5637 *) # EBCDIC based system
|
adam@0
|
5638 lt_SP2NL='tr \100 \n'
|
adam@0
|
5639 lt_NL2SP='tr \r\n \100\100'
|
adam@0
|
5640 ;;
|
adam@0
|
5641 esac
|
adam@0
|
5642
|
adam@0
|
5643
|
adam@0
|
5644
|
adam@0
|
5645
|
adam@0
|
5646
|
adam@0
|
5647
|
adam@0
|
5648
|
adam@0
|
5649
|
adam@0
|
5650
|
adam@47
|
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
adam@47
|
5652 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
|
adam@64
|
5653 if test "${lt_cv_to_host_file_cmd+set}" = set; then :
|
adam@47
|
5654 $as_echo_n "(cached) " >&6
|
adam@47
|
5655 else
|
adam@47
|
5656 case $host in
|
adam@47
|
5657 *-*-mingw* )
|
adam@47
|
5658 case $build in
|
adam@47
|
5659 *-*-mingw* ) # actually msys
|
adam@47
|
5660 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
adam@47
|
5661 ;;
|
adam@47
|
5662 *-*-cygwin* )
|
adam@47
|
5663 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
|
adam@47
|
5664 ;;
|
adam@47
|
5665 * ) # otherwise, assume *nix
|
adam@47
|
5666 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
|
adam@47
|
5667 ;;
|
adam@47
|
5668 esac
|
adam@47
|
5669 ;;
|
adam@47
|
5670 *-*-cygwin* )
|
adam@47
|
5671 case $build in
|
adam@47
|
5672 *-*-mingw* ) # actually msys
|
adam@47
|
5673 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
adam@47
|
5674 ;;
|
adam@47
|
5675 *-*-cygwin* )
|
adam@47
|
5676 lt_cv_to_host_file_cmd=func_convert_file_noop
|
adam@47
|
5677 ;;
|
adam@47
|
5678 * ) # otherwise, assume *nix
|
adam@47
|
5679 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
|
adam@47
|
5680 ;;
|
adam@47
|
5681 esac
|
adam@47
|
5682 ;;
|
adam@47
|
5683 * ) # unhandled hosts (and "normal" native builds)
|
adam@47
|
5684 lt_cv_to_host_file_cmd=func_convert_file_noop
|
adam@47
|
5685 ;;
|
adam@47
|
5686 esac
|
adam@47
|
5687
|
adam@47
|
5688 fi
|
adam@47
|
5689
|
adam@47
|
5690 to_host_file_cmd=$lt_cv_to_host_file_cmd
|
adam@47
|
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
adam@47
|
5692 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
|
adam@47
|
5693
|
adam@47
|
5694
|
adam@47
|
5695
|
adam@47
|
5696
|
adam@47
|
5697
|
adam@47
|
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
adam@47
|
5699 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
|
adam@64
|
5700 if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
|
adam@47
|
5701 $as_echo_n "(cached) " >&6
|
adam@47
|
5702 else
|
adam@47
|
5703 #assume ordinary cross tools, or native build.
|
adam@47
|
5704 lt_cv_to_tool_file_cmd=func_convert_file_noop
|
adam@47
|
5705 case $host in
|
adam@47
|
5706 *-*-mingw* )
|
adam@47
|
5707 case $build in
|
adam@47
|
5708 *-*-mingw* ) # actually msys
|
adam@47
|
5709 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
|
adam@47
|
5710 ;;
|
adam@47
|
5711 esac
|
adam@47
|
5712 ;;
|
adam@47
|
5713 esac
|
adam@47
|
5714
|
adam@47
|
5715 fi
|
adam@47
|
5716
|
adam@47
|
5717 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
adam@47
|
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
adam@47
|
5719 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
|
adam@47
|
5720
|
adam@47
|
5721
|
adam@47
|
5722
|
adam@47
|
5723
|
adam@47
|
5724
|
adam@0
|
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
adam@0
|
5726 $as_echo_n "checking for $LD option to reload object files... " >&6; }
|
adam@64
|
5727 if test "${lt_cv_ld_reload_flag+set}" = set; then :
|
adam@0
|
5728 $as_echo_n "(cached) " >&6
|
adam@0
|
5729 else
|
adam@0
|
5730 lt_cv_ld_reload_flag='-r'
|
adam@0
|
5731 fi
|
adam@0
|
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
adam@0
|
5733 $as_echo "$lt_cv_ld_reload_flag" >&6; }
|
adam@0
|
5734 reload_flag=$lt_cv_ld_reload_flag
|
adam@0
|
5735 case $reload_flag in
|
adam@0
|
5736 "" | " "*) ;;
|
adam@0
|
5737 *) reload_flag=" $reload_flag" ;;
|
adam@0
|
5738 esac
|
adam@0
|
5739 reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
adam@0
|
5740 case $host_os in
|
adam@47
|
5741 cygwin* | mingw* | pw32* | cegcc*)
|
adam@47
|
5742 if test "$GCC" != yes; then
|
adam@47
|
5743 reload_cmds=false
|
adam@47
|
5744 fi
|
adam@47
|
5745 ;;
|
adam@0
|
5746 darwin*)
|
adam@0
|
5747 if test "$GCC" = yes; then
|
adam@0
|
5748 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
|
adam@0
|
5749 else
|
adam@0
|
5750 reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
adam@0
|
5751 fi
|
adam@0
|
5752 ;;
|
adam@0
|
5753 esac
|
adam@0
|
5754
|
adam@0
|
5755
|
adam@0
|
5756
|
adam@0
|
5757
|
adam@0
|
5758
|
adam@0
|
5759
|
adam@0
|
5760
|
adam@0
|
5761
|
adam@0
|
5762
|
adam@0
|
5763 if test -n "$ac_tool_prefix"; then
|
adam@0
|
5764 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
adam@0
|
5765 set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
adam@0
|
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5767 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
5768 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
|
adam@0
|
5769 $as_echo_n "(cached) " >&6
|
adam@0
|
5770 else
|
adam@0
|
5771 if test -n "$OBJDUMP"; then
|
adam@0
|
5772 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
adam@0
|
5773 else
|
adam@0
|
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5775 for as_dir in $PATH
|
adam@0
|
5776 do
|
adam@0
|
5777 IFS=$as_save_IFS
|
adam@0
|
5778 test -z "$as_dir" && as_dir=.
|
adam@0
|
5779 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5781 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
adam@0
|
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5783 break 2
|
adam@0
|
5784 fi
|
adam@0
|
5785 done
|
adam@0
|
5786 done
|
adam@0
|
5787 IFS=$as_save_IFS
|
adam@0
|
5788
|
adam@0
|
5789 fi
|
adam@0
|
5790 fi
|
adam@0
|
5791 OBJDUMP=$ac_cv_prog_OBJDUMP
|
adam@0
|
5792 if test -n "$OBJDUMP"; then
|
adam@0
|
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
adam@0
|
5794 $as_echo "$OBJDUMP" >&6; }
|
adam@0
|
5795 else
|
adam@0
|
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5797 $as_echo "no" >&6; }
|
adam@0
|
5798 fi
|
adam@0
|
5799
|
adam@0
|
5800
|
adam@0
|
5801 fi
|
adam@0
|
5802 if test -z "$ac_cv_prog_OBJDUMP"; then
|
adam@0
|
5803 ac_ct_OBJDUMP=$OBJDUMP
|
adam@0
|
5804 # Extract the first word of "objdump", so it can be a program name with args.
|
adam@0
|
5805 set dummy objdump; ac_word=$2
|
adam@0
|
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5807 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
5808 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
|
adam@0
|
5809 $as_echo_n "(cached) " >&6
|
adam@0
|
5810 else
|
adam@0
|
5811 if test -n "$ac_ct_OBJDUMP"; then
|
adam@0
|
5812 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
|
adam@0
|
5813 else
|
adam@0
|
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5815 for as_dir in $PATH
|
adam@0
|
5816 do
|
adam@0
|
5817 IFS=$as_save_IFS
|
adam@0
|
5818 test -z "$as_dir" && as_dir=.
|
adam@0
|
5819 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5821 ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
adam@0
|
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5823 break 2
|
adam@0
|
5824 fi
|
adam@0
|
5825 done
|
adam@0
|
5826 done
|
adam@0
|
5827 IFS=$as_save_IFS
|
adam@0
|
5828
|
adam@0
|
5829 fi
|
adam@0
|
5830 fi
|
adam@0
|
5831 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
adam@0
|
5832 if test -n "$ac_ct_OBJDUMP"; then
|
adam@0
|
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
adam@0
|
5834 $as_echo "$ac_ct_OBJDUMP" >&6; }
|
adam@0
|
5835 else
|
adam@0
|
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5837 $as_echo "no" >&6; }
|
adam@0
|
5838 fi
|
adam@0
|
5839
|
adam@0
|
5840 if test "x$ac_ct_OBJDUMP" = x; then
|
adam@0
|
5841 OBJDUMP="false"
|
adam@0
|
5842 else
|
adam@0
|
5843 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
5844 yes:)
|
adam@0
|
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
5846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
5847 ac_tool_warned=yes ;;
|
adam@0
|
5848 esac
|
adam@0
|
5849 OBJDUMP=$ac_ct_OBJDUMP
|
adam@0
|
5850 fi
|
adam@0
|
5851 else
|
adam@0
|
5852 OBJDUMP="$ac_cv_prog_OBJDUMP"
|
adam@0
|
5853 fi
|
adam@0
|
5854
|
adam@0
|
5855 test -z "$OBJDUMP" && OBJDUMP=objdump
|
adam@0
|
5856
|
adam@0
|
5857
|
adam@0
|
5858
|
adam@0
|
5859
|
adam@0
|
5860
|
adam@0
|
5861
|
adam@0
|
5862
|
adam@0
|
5863
|
adam@0
|
5864
|
adam@0
|
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
adam@0
|
5866 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
adam@64
|
5867 if test "${lt_cv_deplibs_check_method+set}" = set; then :
|
adam@0
|
5868 $as_echo_n "(cached) " >&6
|
adam@0
|
5869 else
|
adam@0
|
5870 lt_cv_file_magic_cmd='$MAGIC_CMD'
|
adam@0
|
5871 lt_cv_file_magic_test_file=
|
adam@0
|
5872 lt_cv_deplibs_check_method='unknown'
|
adam@0
|
5873 # Need to set the preceding variable on all platforms that support
|
adam@0
|
5874 # interlibrary dependencies.
|
adam@0
|
5875 # 'none' -- dependencies not supported.
|
adam@0
|
5876 # `unknown' -- same as none, but documents that we really don't know.
|
adam@0
|
5877 # 'pass_all' -- all dependencies passed with no checks.
|
adam@0
|
5878 # 'test_compile' -- check by making test program.
|
adam@0
|
5879 # 'file_magic [[regex]]' -- check by looking for files in library path
|
adam@0
|
5880 # which responds to the $file_magic_cmd with a given extended regex.
|
adam@0
|
5881 # If you have `file' or equivalent on your system and you're not sure
|
adam@0
|
5882 # whether `pass_all' will *always* work, you probably want this one.
|
adam@0
|
5883
|
adam@0
|
5884 case $host_os in
|
adam@0
|
5885 aix[4-9]*)
|
adam@0
|
5886 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5887 ;;
|
adam@0
|
5888
|
adam@0
|
5889 beos*)
|
adam@0
|
5890 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5891 ;;
|
adam@0
|
5892
|
adam@0
|
5893 bsdi[45]*)
|
adam@0
|
5894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
adam@0
|
5895 lt_cv_file_magic_cmd='/usr/bin/file -L'
|
adam@0
|
5896 lt_cv_file_magic_test_file=/shlib/libc.so
|
adam@0
|
5897 ;;
|
adam@0
|
5898
|
adam@0
|
5899 cygwin*)
|
adam@0
|
5900 # func_win32_libid is a shell function defined in ltmain.sh
|
adam@0
|
5901 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
adam@0
|
5902 lt_cv_file_magic_cmd='func_win32_libid'
|
adam@0
|
5903 ;;
|
adam@0
|
5904
|
adam@0
|
5905 mingw* | pw32*)
|
adam@0
|
5906 # Base MSYS/MinGW do not provide the 'file' command needed by
|
adam@0
|
5907 # func_win32_libid shell function, so use a weaker test based on 'objdump',
|
adam@0
|
5908 # unless we find 'file', for example because we are cross-compiling.
|
adam@47
|
5909 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
|
adam@47
|
5910 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
|
adam@0
|
5911 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
adam@0
|
5912 lt_cv_file_magic_cmd='func_win32_libid'
|
adam@0
|
5913 else
|
adam@47
|
5914 # Keep this pattern in sync with the one in func_win32_libid.
|
adam@47
|
5915 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
|
adam@0
|
5916 lt_cv_file_magic_cmd='$OBJDUMP -f'
|
adam@0
|
5917 fi
|
adam@0
|
5918 ;;
|
adam@0
|
5919
|
adam@47
|
5920 cegcc*)
|
adam@0
|
5921 # use the weaker test based on 'objdump'. See mingw*.
|
adam@0
|
5922 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
|
adam@0
|
5923 lt_cv_file_magic_cmd='$OBJDUMP -f'
|
adam@0
|
5924 ;;
|
adam@0
|
5925
|
adam@0
|
5926 darwin* | rhapsody*)
|
adam@0
|
5927 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5928 ;;
|
adam@0
|
5929
|
adam@0
|
5930 freebsd* | dragonfly*)
|
adam@0
|
5931 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
adam@0
|
5932 case $host_cpu in
|
adam@0
|
5933 i*86 )
|
adam@0
|
5934 # Not sure whether the presence of OpenBSD here was a mistake.
|
adam@0
|
5935 # Let's accept both of them until this is cleared up.
|
adam@0
|
5936 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
adam@0
|
5937 lt_cv_file_magic_cmd=/usr/bin/file
|
adam@0
|
5938 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
adam@0
|
5939 ;;
|
adam@0
|
5940 esac
|
adam@0
|
5941 else
|
adam@0
|
5942 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5943 fi
|
adam@0
|
5944 ;;
|
adam@0
|
5945
|
adam@0
|
5946 gnu*)
|
adam@0
|
5947 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5948 ;;
|
adam@0
|
5949
|
adam@47
|
5950 haiku*)
|
adam@47
|
5951 lt_cv_deplibs_check_method=pass_all
|
adam@47
|
5952 ;;
|
adam@47
|
5953
|
adam@0
|
5954 hpux10.20* | hpux11*)
|
adam@0
|
5955 lt_cv_file_magic_cmd=/usr/bin/file
|
adam@0
|
5956 case $host_cpu in
|
adam@0
|
5957 ia64*)
|
adam@0
|
5958 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
adam@0
|
5959 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
|
adam@0
|
5960 ;;
|
adam@0
|
5961 hppa*64*)
|
adam@47
|
5962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
|
adam@0
|
5963 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
|
adam@0
|
5964 ;;
|
adam@0
|
5965 *)
|
adam@47
|
5966 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
|
adam@0
|
5967 lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
adam@0
|
5968 ;;
|
adam@0
|
5969 esac
|
adam@0
|
5970 ;;
|
adam@0
|
5971
|
adam@0
|
5972 interix[3-9]*)
|
adam@0
|
5973 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
|
adam@0
|
5974 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
|
adam@0
|
5975 ;;
|
adam@0
|
5976
|
adam@0
|
5977 irix5* | irix6* | nonstopux*)
|
adam@0
|
5978 case $LD in
|
adam@0
|
5979 *-32|*"-32 ") libmagic=32-bit;;
|
adam@0
|
5980 *-n32|*"-n32 ") libmagic=N32;;
|
adam@0
|
5981 *-64|*"-64 ") libmagic=64-bit;;
|
adam@0
|
5982 *) libmagic=never-match;;
|
adam@0
|
5983 esac
|
adam@0
|
5984 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5985 ;;
|
adam@0
|
5986
|
adam@0
|
5987 # This must be Linux ELF.
|
adam@0
|
5988 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
5989 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5990 ;;
|
adam@0
|
5991
|
adam@0
|
5992 netbsd* | netbsdelf*-gnu)
|
adam@0
|
5993 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
adam@0
|
5994 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
adam@0
|
5995 else
|
adam@0
|
5996 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
adam@0
|
5997 fi
|
adam@0
|
5998 ;;
|
adam@0
|
5999
|
adam@0
|
6000 newos6*)
|
adam@0
|
6001 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
adam@0
|
6002 lt_cv_file_magic_cmd=/usr/bin/file
|
adam@0
|
6003 lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
adam@0
|
6004 ;;
|
adam@0
|
6005
|
adam@0
|
6006 *nto* | *qnx*)
|
adam@0
|
6007 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6008 ;;
|
adam@0
|
6009
|
adam@0
|
6010 openbsd*)
|
adam@0
|
6011 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@0
|
6012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
adam@0
|
6013 else
|
adam@0
|
6014 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
adam@0
|
6015 fi
|
adam@0
|
6016 ;;
|
adam@0
|
6017
|
adam@0
|
6018 osf3* | osf4* | osf5*)
|
adam@0
|
6019 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6020 ;;
|
adam@0
|
6021
|
adam@0
|
6022 rdos*)
|
adam@0
|
6023 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6024 ;;
|
adam@0
|
6025
|
adam@0
|
6026 solaris*)
|
adam@0
|
6027 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6028 ;;
|
adam@0
|
6029
|
adam@0
|
6030 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
adam@0
|
6031 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6032 ;;
|
adam@0
|
6033
|
adam@0
|
6034 sysv4 | sysv4.3*)
|
adam@0
|
6035 case $host_vendor in
|
adam@0
|
6036 motorola)
|
adam@0
|
6037 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
|
adam@0
|
6038 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
|
adam@0
|
6039 ;;
|
adam@0
|
6040 ncr)
|
adam@0
|
6041 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6042 ;;
|
adam@0
|
6043 sequent)
|
adam@0
|
6044 lt_cv_file_magic_cmd='/bin/file'
|
adam@0
|
6045 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
|
adam@0
|
6046 ;;
|
adam@0
|
6047 sni)
|
adam@0
|
6048 lt_cv_file_magic_cmd='/bin/file'
|
adam@0
|
6049 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
|
adam@0
|
6050 lt_cv_file_magic_test_file=/lib/libc.so
|
adam@0
|
6051 ;;
|
adam@0
|
6052 siemens)
|
adam@0
|
6053 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6054 ;;
|
adam@0
|
6055 pc)
|
adam@0
|
6056 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6057 ;;
|
adam@0
|
6058 esac
|
adam@0
|
6059 ;;
|
adam@0
|
6060
|
adam@0
|
6061 tpf*)
|
adam@0
|
6062 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
6063 ;;
|
adam@0
|
6064 esac
|
adam@0
|
6065
|
adam@0
|
6066 fi
|
adam@0
|
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
adam@0
|
6068 $as_echo "$lt_cv_deplibs_check_method" >&6; }
|
adam@47
|
6069
|
adam@47
|
6070 file_magic_glob=
|
adam@47
|
6071 want_nocaseglob=no
|
adam@47
|
6072 if test "$build" = "$host"; then
|
adam@47
|
6073 case $host_os in
|
adam@47
|
6074 mingw* | pw32*)
|
adam@47
|
6075 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
|
adam@47
|
6076 want_nocaseglob=yes
|
adam@47
|
6077 else
|
adam@47
|
6078 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
|
adam@47
|
6079 fi
|
adam@47
|
6080 ;;
|
adam@47
|
6081 esac
|
adam@47
|
6082 fi
|
adam@47
|
6083
|
adam@0
|
6084 file_magic_cmd=$lt_cv_file_magic_cmd
|
adam@0
|
6085 deplibs_check_method=$lt_cv_deplibs_check_method
|
adam@0
|
6086 test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
adam@0
|
6087
|
adam@0
|
6088
|
adam@0
|
6089
|
adam@0
|
6090
|
adam@0
|
6091
|
adam@0
|
6092
|
adam@0
|
6093
|
adam@0
|
6094
|
adam@0
|
6095
|
adam@0
|
6096
|
adam@0
|
6097
|
adam@0
|
6098
|
adam@47
|
6099
|
adam@47
|
6100
|
adam@47
|
6101
|
adam@47
|
6102
|
adam@47
|
6103
|
adam@47
|
6104
|
adam@47
|
6105
|
adam@47
|
6106
|
adam@47
|
6107
|
adam@47
|
6108
|
adam@0
|
6109 if test -n "$ac_tool_prefix"; then
|
adam@47
|
6110 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
adam@47
|
6111 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
adam@0
|
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6113 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6114 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
|
adam@47
|
6115 $as_echo_n "(cached) " >&6
|
adam@47
|
6116 else
|
adam@47
|
6117 if test -n "$DLLTOOL"; then
|
adam@47
|
6118 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
adam@0
|
6119 else
|
adam@0
|
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6121 for as_dir in $PATH
|
adam@0
|
6122 do
|
adam@0
|
6123 IFS=$as_save_IFS
|
adam@0
|
6124 test -z "$as_dir" && as_dir=.
|
adam@0
|
6125 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@47
|
6127 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
adam@0
|
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6129 break 2
|
adam@0
|
6130 fi
|
adam@0
|
6131 done
|
adam@0
|
6132 done
|
adam@0
|
6133 IFS=$as_save_IFS
|
adam@0
|
6134
|
adam@0
|
6135 fi
|
adam@0
|
6136 fi
|
adam@47
|
6137 DLLTOOL=$ac_cv_prog_DLLTOOL
|
adam@47
|
6138 if test -n "$DLLTOOL"; then
|
adam@47
|
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
adam@47
|
6140 $as_echo "$DLLTOOL" >&6; }
|
adam@0
|
6141 else
|
adam@0
|
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6143 $as_echo "no" >&6; }
|
adam@0
|
6144 fi
|
adam@0
|
6145
|
adam@0
|
6146
|
adam@0
|
6147 fi
|
adam@47
|
6148 if test -z "$ac_cv_prog_DLLTOOL"; then
|
adam@47
|
6149 ac_ct_DLLTOOL=$DLLTOOL
|
adam@47
|
6150 # Extract the first word of "dlltool", so it can be a program name with args.
|
adam@47
|
6151 set dummy dlltool; ac_word=$2
|
adam@0
|
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6153 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6154 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
|
adam@47
|
6155 $as_echo_n "(cached) " >&6
|
adam@47
|
6156 else
|
adam@47
|
6157 if test -n "$ac_ct_DLLTOOL"; then
|
adam@47
|
6158 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
adam@0
|
6159 else
|
adam@0
|
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6161 for as_dir in $PATH
|
adam@0
|
6162 do
|
adam@0
|
6163 IFS=$as_save_IFS
|
adam@0
|
6164 test -z "$as_dir" && as_dir=.
|
adam@0
|
6165 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@47
|
6167 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
adam@0
|
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6169 break 2
|
adam@0
|
6170 fi
|
adam@0
|
6171 done
|
adam@0
|
6172 done
|
adam@0
|
6173 IFS=$as_save_IFS
|
adam@0
|
6174
|
adam@0
|
6175 fi
|
adam@0
|
6176 fi
|
adam@47
|
6177 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
adam@47
|
6178 if test -n "$ac_ct_DLLTOOL"; then
|
adam@47
|
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
adam@47
|
6180 $as_echo "$ac_ct_DLLTOOL" >&6; }
|
adam@0
|
6181 else
|
adam@0
|
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6183 $as_echo "no" >&6; }
|
adam@0
|
6184 fi
|
adam@0
|
6185
|
adam@47
|
6186 if test "x$ac_ct_DLLTOOL" = x; then
|
adam@47
|
6187 DLLTOOL="false"
|
adam@0
|
6188 else
|
adam@0
|
6189 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
6190 yes:)
|
adam@0
|
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
6192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
6193 ac_tool_warned=yes ;;
|
adam@0
|
6194 esac
|
adam@47
|
6195 DLLTOOL=$ac_ct_DLLTOOL
|
adam@47
|
6196 fi
|
adam@47
|
6197 else
|
adam@47
|
6198 DLLTOOL="$ac_cv_prog_DLLTOOL"
|
adam@47
|
6199 fi
|
adam@47
|
6200
|
adam@47
|
6201 test -z "$DLLTOOL" && DLLTOOL=dlltool
|
adam@47
|
6202
|
adam@47
|
6203
|
adam@47
|
6204
|
adam@47
|
6205
|
adam@47
|
6206
|
adam@47
|
6207
|
adam@47
|
6208
|
adam@47
|
6209
|
adam@47
|
6210
|
adam@47
|
6211
|
adam@47
|
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
adam@47
|
6213 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
|
adam@64
|
6214 if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
|
adam@47
|
6215 $as_echo_n "(cached) " >&6
|
adam@47
|
6216 else
|
adam@47
|
6217 lt_cv_sharedlib_from_linklib_cmd='unknown'
|
adam@47
|
6218
|
adam@47
|
6219 case $host_os in
|
adam@47
|
6220 cygwin* | mingw* | pw32* | cegcc*)
|
adam@47
|
6221 # two different shell functions defined in ltmain.sh
|
adam@47
|
6222 # decide which to use based on capabilities of $DLLTOOL
|
adam@47
|
6223 case `$DLLTOOL --help 2>&1` in
|
adam@47
|
6224 *--identify-strict*)
|
adam@47
|
6225 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
|
adam@47
|
6226 ;;
|
adam@47
|
6227 *)
|
adam@47
|
6228 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
|
adam@47
|
6229 ;;
|
adam@47
|
6230 esac
|
adam@47
|
6231 ;;
|
adam@47
|
6232 *)
|
adam@47
|
6233 # fallback: assume linklib IS sharedlib
|
adam@47
|
6234 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
|
adam@47
|
6235 ;;
|
adam@47
|
6236 esac
|
adam@47
|
6237
|
adam@47
|
6238 fi
|
adam@47
|
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
adam@47
|
6240 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
adam@47
|
6241 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
|
adam@47
|
6242 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
adam@47
|
6243
|
adam@47
|
6244
|
adam@47
|
6245
|
adam@47
|
6246
|
adam@47
|
6247
|
adam@47
|
6248
|
adam@47
|
6249
|
adam@47
|
6250 if test -n "$ac_tool_prefix"; then
|
adam@47
|
6251 for ac_prog in ar
|
adam@47
|
6252 do
|
adam@47
|
6253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@47
|
6254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@47
|
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@47
|
6256 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6257 if test "${ac_cv_prog_AR+set}" = set; then :
|
adam@47
|
6258 $as_echo_n "(cached) " >&6
|
adam@47
|
6259 else
|
adam@47
|
6260 if test -n "$AR"; then
|
adam@47
|
6261 ac_cv_prog_AR="$AR" # Let the user override the test.
|
adam@47
|
6262 else
|
adam@47
|
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@47
|
6264 for as_dir in $PATH
|
adam@47
|
6265 do
|
adam@47
|
6266 IFS=$as_save_IFS
|
adam@47
|
6267 test -z "$as_dir" && as_dir=.
|
adam@47
|
6268 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@47
|
6269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@47
|
6270 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
adam@47
|
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@47
|
6272 break 2
|
adam@47
|
6273 fi
|
adam@47
|
6274 done
|
adam@47
|
6275 done
|
adam@47
|
6276 IFS=$as_save_IFS
|
adam@47
|
6277
|
adam@47
|
6278 fi
|
adam@47
|
6279 fi
|
adam@47
|
6280 AR=$ac_cv_prog_AR
|
adam@47
|
6281 if test -n "$AR"; then
|
adam@47
|
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
adam@47
|
6283 $as_echo "$AR" >&6; }
|
adam@47
|
6284 else
|
adam@47
|
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@47
|
6286 $as_echo "no" >&6; }
|
adam@47
|
6287 fi
|
adam@47
|
6288
|
adam@47
|
6289
|
adam@47
|
6290 test -n "$AR" && break
|
adam@47
|
6291 done
|
adam@47
|
6292 fi
|
adam@47
|
6293 if test -z "$AR"; then
|
adam@47
|
6294 ac_ct_AR=$AR
|
adam@47
|
6295 for ac_prog in ar
|
adam@47
|
6296 do
|
adam@47
|
6297 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@47
|
6298 set dummy $ac_prog; ac_word=$2
|
adam@47
|
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@47
|
6300 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6301 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
|
adam@47
|
6302 $as_echo_n "(cached) " >&6
|
adam@47
|
6303 else
|
adam@47
|
6304 if test -n "$ac_ct_AR"; then
|
adam@47
|
6305 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
adam@47
|
6306 else
|
adam@47
|
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@47
|
6308 for as_dir in $PATH
|
adam@47
|
6309 do
|
adam@47
|
6310 IFS=$as_save_IFS
|
adam@47
|
6311 test -z "$as_dir" && as_dir=.
|
adam@47
|
6312 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@47
|
6313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@47
|
6314 ac_cv_prog_ac_ct_AR="$ac_prog"
|
adam@47
|
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@47
|
6316 break 2
|
adam@47
|
6317 fi
|
adam@47
|
6318 done
|
adam@47
|
6319 done
|
adam@47
|
6320 IFS=$as_save_IFS
|
adam@47
|
6321
|
adam@47
|
6322 fi
|
adam@47
|
6323 fi
|
adam@47
|
6324 ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
adam@47
|
6325 if test -n "$ac_ct_AR"; then
|
adam@47
|
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
adam@47
|
6327 $as_echo "$ac_ct_AR" >&6; }
|
adam@47
|
6328 else
|
adam@47
|
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@47
|
6330 $as_echo "no" >&6; }
|
adam@47
|
6331 fi
|
adam@47
|
6332
|
adam@47
|
6333
|
adam@47
|
6334 test -n "$ac_ct_AR" && break
|
adam@47
|
6335 done
|
adam@47
|
6336
|
adam@47
|
6337 if test "x$ac_ct_AR" = x; then
|
adam@47
|
6338 AR="false"
|
adam@47
|
6339 else
|
adam@47
|
6340 case $cross_compiling:$ac_tool_warned in
|
adam@47
|
6341 yes:)
|
adam@47
|
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@47
|
6343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@47
|
6344 ac_tool_warned=yes ;;
|
adam@47
|
6345 esac
|
adam@0
|
6346 AR=$ac_ct_AR
|
adam@0
|
6347 fi
|
adam@47
|
6348 fi
|
adam@47
|
6349
|
adam@47
|
6350 : ${AR=ar}
|
adam@47
|
6351 : ${AR_FLAGS=cru}
|
adam@47
|
6352
|
adam@47
|
6353
|
adam@47
|
6354
|
adam@47
|
6355
|
adam@47
|
6356
|
adam@47
|
6357
|
adam@47
|
6358
|
adam@47
|
6359
|
adam@47
|
6360
|
adam@47
|
6361
|
adam@47
|
6362
|
adam@47
|
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
adam@47
|
6364 $as_echo_n "checking for archiver @FILE support... " >&6; }
|
adam@64
|
6365 if test "${lt_cv_ar_at_file+set}" = set; then :
|
adam@47
|
6366 $as_echo_n "(cached) " >&6
|
adam@47
|
6367 else
|
adam@47
|
6368 lt_cv_ar_at_file=no
|
adam@47
|
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@47
|
6370 /* end confdefs.h. */
|
adam@47
|
6371
|
adam@47
|
6372 int
|
adam@47
|
6373 main ()
|
adam@47
|
6374 {
|
adam@47
|
6375
|
adam@47
|
6376 ;
|
adam@47
|
6377 return 0;
|
adam@47
|
6378 }
|
adam@47
|
6379 _ACEOF
|
adam@47
|
6380 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@47
|
6381 echo conftest.$ac_objext > conftest.lst
|
adam@47
|
6382 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
|
adam@47
|
6383 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
adam@47
|
6384 (eval $lt_ar_try) 2>&5
|
adam@47
|
6385 ac_status=$?
|
adam@47
|
6386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@47
|
6387 test $ac_status = 0; }
|
adam@47
|
6388 if test "$ac_status" -eq 0; then
|
adam@47
|
6389 # Ensure the archiver fails upon bogus file names.
|
adam@47
|
6390 rm -f conftest.$ac_objext libconftest.a
|
adam@47
|
6391 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
adam@47
|
6392 (eval $lt_ar_try) 2>&5
|
adam@47
|
6393 ac_status=$?
|
adam@47
|
6394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@47
|
6395 test $ac_status = 0; }
|
adam@47
|
6396 if test "$ac_status" -ne 0; then
|
adam@47
|
6397 lt_cv_ar_at_file=@
|
adam@47
|
6398 fi
|
adam@47
|
6399 fi
|
adam@47
|
6400 rm -f conftest.* libconftest.a
|
adam@47
|
6401
|
adam@47
|
6402 fi
|
adam@47
|
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@47
|
6404
|
adam@47
|
6405 fi
|
adam@47
|
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
adam@47
|
6407 $as_echo "$lt_cv_ar_at_file" >&6; }
|
adam@47
|
6408
|
adam@47
|
6409 if test "x$lt_cv_ar_at_file" = xno; then
|
adam@47
|
6410 archiver_list_spec=
|
adam@47
|
6411 else
|
adam@47
|
6412 archiver_list_spec=$lt_cv_ar_at_file
|
adam@47
|
6413 fi
|
adam@0
|
6414
|
adam@0
|
6415
|
adam@0
|
6416
|
adam@0
|
6417
|
adam@0
|
6418
|
adam@0
|
6419
|
adam@0
|
6420
|
adam@0
|
6421 if test -n "$ac_tool_prefix"; then
|
adam@0
|
6422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
adam@0
|
6423 set dummy ${ac_tool_prefix}strip; ac_word=$2
|
adam@0
|
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6425 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6426 if test "${ac_cv_prog_STRIP+set}" = set; then :
|
adam@0
|
6427 $as_echo_n "(cached) " >&6
|
adam@0
|
6428 else
|
adam@0
|
6429 if test -n "$STRIP"; then
|
adam@0
|
6430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
adam@0
|
6431 else
|
adam@0
|
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6433 for as_dir in $PATH
|
adam@0
|
6434 do
|
adam@0
|
6435 IFS=$as_save_IFS
|
adam@0
|
6436 test -z "$as_dir" && as_dir=.
|
adam@0
|
6437 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6439 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
adam@0
|
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6441 break 2
|
adam@0
|
6442 fi
|
adam@0
|
6443 done
|
adam@0
|
6444 done
|
adam@0
|
6445 IFS=$as_save_IFS
|
adam@0
|
6446
|
adam@0
|
6447 fi
|
adam@0
|
6448 fi
|
adam@0
|
6449 STRIP=$ac_cv_prog_STRIP
|
adam@0
|
6450 if test -n "$STRIP"; then
|
adam@0
|
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
adam@0
|
6452 $as_echo "$STRIP" >&6; }
|
adam@0
|
6453 else
|
adam@0
|
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6455 $as_echo "no" >&6; }
|
adam@0
|
6456 fi
|
adam@0
|
6457
|
adam@0
|
6458
|
adam@0
|
6459 fi
|
adam@0
|
6460 if test -z "$ac_cv_prog_STRIP"; then
|
adam@0
|
6461 ac_ct_STRIP=$STRIP
|
adam@0
|
6462 # Extract the first word of "strip", so it can be a program name with args.
|
adam@0
|
6463 set dummy strip; ac_word=$2
|
adam@0
|
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6465 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6466 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
adam@0
|
6467 $as_echo_n "(cached) " >&6
|
adam@0
|
6468 else
|
adam@0
|
6469 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
6470 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
adam@0
|
6471 else
|
adam@0
|
6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6473 for as_dir in $PATH
|
adam@0
|
6474 do
|
adam@0
|
6475 IFS=$as_save_IFS
|
adam@0
|
6476 test -z "$as_dir" && as_dir=.
|
adam@0
|
6477 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6479 ac_cv_prog_ac_ct_STRIP="strip"
|
adam@0
|
6480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6481 break 2
|
adam@0
|
6482 fi
|
adam@0
|
6483 done
|
adam@0
|
6484 done
|
adam@0
|
6485 IFS=$as_save_IFS
|
adam@0
|
6486
|
adam@0
|
6487 fi
|
adam@0
|
6488 fi
|
adam@0
|
6489 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
adam@0
|
6490 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
adam@0
|
6492 $as_echo "$ac_ct_STRIP" >&6; }
|
adam@0
|
6493 else
|
adam@0
|
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6495 $as_echo "no" >&6; }
|
adam@0
|
6496 fi
|
adam@0
|
6497
|
adam@0
|
6498 if test "x$ac_ct_STRIP" = x; then
|
adam@0
|
6499 STRIP=":"
|
adam@0
|
6500 else
|
adam@0
|
6501 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
6502 yes:)
|
adam@0
|
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
6504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
6505 ac_tool_warned=yes ;;
|
adam@0
|
6506 esac
|
adam@0
|
6507 STRIP=$ac_ct_STRIP
|
adam@0
|
6508 fi
|
adam@0
|
6509 else
|
adam@0
|
6510 STRIP="$ac_cv_prog_STRIP"
|
adam@0
|
6511 fi
|
adam@0
|
6512
|
adam@0
|
6513 test -z "$STRIP" && STRIP=:
|
adam@0
|
6514
|
adam@0
|
6515
|
adam@0
|
6516
|
adam@0
|
6517
|
adam@0
|
6518
|
adam@0
|
6519
|
adam@0
|
6520 if test -n "$ac_tool_prefix"; then
|
adam@0
|
6521 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
adam@0
|
6522 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
adam@0
|
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6524 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6525 if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
adam@0
|
6526 $as_echo_n "(cached) " >&6
|
adam@0
|
6527 else
|
adam@0
|
6528 if test -n "$RANLIB"; then
|
adam@0
|
6529 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
adam@0
|
6530 else
|
adam@0
|
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6532 for as_dir in $PATH
|
adam@0
|
6533 do
|
adam@0
|
6534 IFS=$as_save_IFS
|
adam@0
|
6535 test -z "$as_dir" && as_dir=.
|
adam@0
|
6536 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6538 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
adam@0
|
6539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6540 break 2
|
adam@0
|
6541 fi
|
adam@0
|
6542 done
|
adam@0
|
6543 done
|
adam@0
|
6544 IFS=$as_save_IFS
|
adam@0
|
6545
|
adam@0
|
6546 fi
|
adam@0
|
6547 fi
|
adam@0
|
6548 RANLIB=$ac_cv_prog_RANLIB
|
adam@0
|
6549 if test -n "$RANLIB"; then
|
adam@0
|
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
adam@0
|
6551 $as_echo "$RANLIB" >&6; }
|
adam@0
|
6552 else
|
adam@0
|
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6554 $as_echo "no" >&6; }
|
adam@0
|
6555 fi
|
adam@0
|
6556
|
adam@0
|
6557
|
adam@0
|
6558 fi
|
adam@0
|
6559 if test -z "$ac_cv_prog_RANLIB"; then
|
adam@0
|
6560 ac_ct_RANLIB=$RANLIB
|
adam@0
|
6561 # Extract the first word of "ranlib", so it can be a program name with args.
|
adam@0
|
6562 set dummy ranlib; ac_word=$2
|
adam@0
|
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6564 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
6565 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
adam@0
|
6566 $as_echo_n "(cached) " >&6
|
adam@0
|
6567 else
|
adam@0
|
6568 if test -n "$ac_ct_RANLIB"; then
|
adam@0
|
6569 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
adam@0
|
6570 else
|
adam@0
|
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6572 for as_dir in $PATH
|
adam@0
|
6573 do
|
adam@0
|
6574 IFS=$as_save_IFS
|
adam@0
|
6575 test -z "$as_dir" && as_dir=.
|
adam@0
|
6576 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6578 ac_cv_prog_ac_ct_RANLIB="ranlib"
|
adam@0
|
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6580 break 2
|
adam@0
|
6581 fi
|
adam@0
|
6582 done
|
adam@0
|
6583 done
|
adam@0
|
6584 IFS=$as_save_IFS
|
adam@0
|
6585
|
adam@0
|
6586 fi
|
adam@0
|
6587 fi
|
adam@0
|
6588 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
adam@0
|
6589 if test -n "$ac_ct_RANLIB"; then
|
adam@0
|
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
adam@0
|
6591 $as_echo "$ac_ct_RANLIB" >&6; }
|
adam@0
|
6592 else
|
adam@0
|
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6594 $as_echo "no" >&6; }
|
adam@0
|
6595 fi
|
adam@0
|
6596
|
adam@0
|
6597 if test "x$ac_ct_RANLIB" = x; then
|
adam@0
|
6598 RANLIB=":"
|
adam@0
|
6599 else
|
adam@0
|
6600 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
6601 yes:)
|
adam@0
|
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
6603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
6604 ac_tool_warned=yes ;;
|
adam@0
|
6605 esac
|
adam@0
|
6606 RANLIB=$ac_ct_RANLIB
|
adam@0
|
6607 fi
|
adam@0
|
6608 else
|
adam@0
|
6609 RANLIB="$ac_cv_prog_RANLIB"
|
adam@0
|
6610 fi
|
adam@0
|
6611
|
adam@0
|
6612 test -z "$RANLIB" && RANLIB=:
|
adam@0
|
6613
|
adam@0
|
6614
|
adam@0
|
6615
|
adam@0
|
6616
|
adam@0
|
6617
|
adam@0
|
6618
|
adam@0
|
6619 # Determine commands to create old-style static archives.
|
adam@0
|
6620 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
|
adam@0
|
6621 old_postinstall_cmds='chmod 644 $oldlib'
|
adam@0
|
6622 old_postuninstall_cmds=
|
adam@0
|
6623
|
adam@0
|
6624 if test -n "$RANLIB"; then
|
adam@0
|
6625 case $host_os in
|
adam@0
|
6626 openbsd*)
|
adam@0
|
6627 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
|
adam@0
|
6628 ;;
|
adam@0
|
6629 *)
|
adam@0
|
6630 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
|
adam@0
|
6631 ;;
|
adam@0
|
6632 esac
|
adam@0
|
6633 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
|
adam@0
|
6634 fi
|
adam@0
|
6635
|
adam@47
|
6636 case $host_os in
|
adam@47
|
6637 darwin*)
|
adam@47
|
6638 lock_old_archive_extraction=yes ;;
|
adam@47
|
6639 *)
|
adam@47
|
6640 lock_old_archive_extraction=no ;;
|
adam@47
|
6641 esac
|
adam@47
|
6642
|
adam@47
|
6643
|
adam@47
|
6644
|
adam@47
|
6645
|
adam@47
|
6646
|
adam@47
|
6647
|
adam@0
|
6648
|
adam@0
|
6649
|
adam@0
|
6650
|
adam@0
|
6651
|
adam@0
|
6652
|
adam@0
|
6653
|
adam@0
|
6654
|
adam@0
|
6655
|
adam@0
|
6656
|
adam@0
|
6657
|
adam@0
|
6658
|
adam@0
|
6659
|
adam@0
|
6660
|
adam@0
|
6661
|
adam@0
|
6662
|
adam@0
|
6663
|
adam@0
|
6664
|
adam@0
|
6665
|
adam@0
|
6666
|
adam@0
|
6667
|
adam@0
|
6668
|
adam@0
|
6669
|
adam@0
|
6670
|
adam@0
|
6671
|
adam@0
|
6672
|
adam@0
|
6673
|
adam@0
|
6674
|
adam@0
|
6675
|
adam@0
|
6676
|
adam@0
|
6677
|
adam@0
|
6678
|
adam@0
|
6679
|
adam@0
|
6680
|
adam@0
|
6681 # If no C compiler was specified, use CC.
|
adam@0
|
6682 LTCC=${LTCC-"$CC"}
|
adam@0
|
6683
|
adam@0
|
6684 # If no C compiler flags were specified, use CFLAGS.
|
adam@0
|
6685 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
|
adam@0
|
6686
|
adam@0
|
6687 # Allow CC to be a program name with arguments.
|
adam@0
|
6688 compiler=$CC
|
adam@0
|
6689
|
adam@0
|
6690
|
adam@0
|
6691 # Check for command to grab the raw symbol name followed by C symbol from nm.
|
adam@0
|
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
adam@0
|
6693 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
adam@64
|
6694 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
|
adam@0
|
6695 $as_echo_n "(cached) " >&6
|
adam@0
|
6696 else
|
adam@0
|
6697
|
adam@0
|
6698 # These are sane defaults that work on at least a few old systems.
|
adam@0
|
6699 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
adam@0
|
6700
|
adam@0
|
6701 # Character class describing NM global symbol codes.
|
adam@0
|
6702 symcode='[BCDEGRST]'
|
adam@0
|
6703
|
adam@0
|
6704 # Regexp to match symbols that can be accessed directly from C.
|
adam@0
|
6705 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
|
adam@0
|
6706
|
adam@0
|
6707 # Define system-specific variables.
|
adam@0
|
6708 case $host_os in
|
adam@0
|
6709 aix*)
|
adam@0
|
6710 symcode='[BCDT]'
|
adam@0
|
6711 ;;
|
adam@0
|
6712 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
6713 symcode='[ABCDGISTW]'
|
adam@0
|
6714 ;;
|
adam@0
|
6715 hpux*)
|
adam@0
|
6716 if test "$host_cpu" = ia64; then
|
adam@0
|
6717 symcode='[ABCDEGRST]'
|
adam@0
|
6718 fi
|
adam@0
|
6719 ;;
|
adam@0
|
6720 irix* | nonstopux*)
|
adam@0
|
6721 symcode='[BCDEGRST]'
|
adam@0
|
6722 ;;
|
adam@0
|
6723 osf*)
|
adam@0
|
6724 symcode='[BCDEGQRST]'
|
adam@0
|
6725 ;;
|
adam@0
|
6726 solaris*)
|
adam@0
|
6727 symcode='[BDRT]'
|
adam@0
|
6728 ;;
|
adam@0
|
6729 sco3.2v5*)
|
adam@0
|
6730 symcode='[DT]'
|
adam@0
|
6731 ;;
|
adam@0
|
6732 sysv4.2uw2*)
|
adam@0
|
6733 symcode='[DT]'
|
adam@0
|
6734 ;;
|
adam@0
|
6735 sysv5* | sco5v6* | unixware* | OpenUNIX*)
|
adam@0
|
6736 symcode='[ABDT]'
|
adam@0
|
6737 ;;
|
adam@0
|
6738 sysv4)
|
adam@0
|
6739 symcode='[DFNSTU]'
|
adam@0
|
6740 ;;
|
adam@0
|
6741 esac
|
adam@0
|
6742
|
adam@0
|
6743 # If we're using GNU nm, then use its standard symbol codes.
|
adam@0
|
6744 case `$NM -V 2>&1` in
|
adam@0
|
6745 *GNU* | *'with BFD'*)
|
adam@0
|
6746 symcode='[ABCDGIRSTW]' ;;
|
adam@0
|
6747 esac
|
adam@0
|
6748
|
adam@0
|
6749 # Transform an extracted symbol line into a proper C declaration.
|
adam@0
|
6750 # Some systems (esp. on ia64) link data and code symbols differently,
|
adam@0
|
6751 # so use this general approach.
|
adam@0
|
6752 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
|
adam@0
|
6753
|
adam@0
|
6754 # Transform an extracted symbol line into symbol name and symbol address
|
adam@47
|
6755 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
|
adam@47
|
6756 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
|
adam@0
|
6757
|
adam@0
|
6758 # Handle CRLF in mingw tool chain
|
adam@0
|
6759 opt_cr=
|
adam@0
|
6760 case $build_os in
|
adam@0
|
6761 mingw*)
|
adam@0
|
6762 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
|
adam@0
|
6763 ;;
|
adam@0
|
6764 esac
|
adam@0
|
6765
|
adam@0
|
6766 # Try without a prefix underscore, then with it.
|
adam@0
|
6767 for ac_symprfx in "" "_"; do
|
adam@0
|
6768
|
adam@0
|
6769 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
|
adam@0
|
6770 symxfrm="\\1 $ac_symprfx\\2 \\2"
|
adam@0
|
6771
|
adam@0
|
6772 # Write the raw and C identifiers.
|
adam@0
|
6773 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
adam@0
|
6774 # Fake it for dumpbin and say T for any non-static function
|
adam@0
|
6775 # and D for any global variable.
|
adam@0
|
6776 # Also find C++ and __fastcall symbols from MSVC++,
|
adam@0
|
6777 # which start with @ or ?.
|
adam@0
|
6778 lt_cv_sys_global_symbol_pipe="$AWK '"\
|
adam@0
|
6779 " {last_section=section; section=\$ 3};"\
|
adam@0
|
6780 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
adam@0
|
6781 " \$ 0!~/External *\|/{next};"\
|
adam@0
|
6782 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
adam@0
|
6783 " {if(hide[section]) next};"\
|
adam@0
|
6784 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
|
adam@0
|
6785 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
|
adam@0
|
6786 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
|
adam@0
|
6787 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
|
adam@0
|
6788 " ' prfx=^$ac_symprfx"
|
adam@0
|
6789 else
|
adam@0
|
6790 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
adam@0
|
6791 fi
|
adam@47
|
6792 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
adam@0
|
6793
|
adam@0
|
6794 # Check to see that the pipe works correctly.
|
adam@0
|
6795 pipe_works=no
|
adam@0
|
6796
|
adam@0
|
6797 rm -f conftest*
|
adam@0
|
6798 cat > conftest.$ac_ext <<_LT_EOF
|
adam@0
|
6799 #ifdef __cplusplus
|
adam@0
|
6800 extern "C" {
|
adam@0
|
6801 #endif
|
adam@0
|
6802 char nm_test_var;
|
adam@0
|
6803 void nm_test_func(void);
|
adam@0
|
6804 void nm_test_func(void){}
|
adam@0
|
6805 #ifdef __cplusplus
|
adam@0
|
6806 }
|
adam@0
|
6807 #endif
|
adam@0
|
6808 int main(){nm_test_var='a';nm_test_func();return(0);}
|
adam@0
|
6809 _LT_EOF
|
adam@0
|
6810
|
adam@0
|
6811 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
6812 (eval $ac_compile) 2>&5
|
adam@0
|
6813 ac_status=$?
|
adam@0
|
6814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6815 test $ac_status = 0; }; then
|
adam@0
|
6816 # Now try to grab the symbols.
|
adam@0
|
6817 nlist=conftest.nm
|
adam@47
|
6818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
|
adam@47
|
6819 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
|
adam@0
|
6820 ac_status=$?
|
adam@0
|
6821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6822 test $ac_status = 0; } && test -s "$nlist"; then
|
adam@0
|
6823 # Try sorting and uniquifying the output.
|
adam@0
|
6824 if sort "$nlist" | uniq > "$nlist"T; then
|
adam@0
|
6825 mv -f "$nlist"T "$nlist"
|
adam@0
|
6826 else
|
adam@0
|
6827 rm -f "$nlist"T
|
adam@0
|
6828 fi
|
adam@0
|
6829
|
adam@0
|
6830 # Make sure that we snagged all the symbols we need.
|
adam@0
|
6831 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
|
adam@0
|
6832 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
|
adam@0
|
6833 cat <<_LT_EOF > conftest.$ac_ext
|
adam@47
|
6834 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
adam@47
|
6835 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
adam@47
|
6836 /* DATA imports from DLLs on WIN32 con't be const, because runtime
|
adam@47
|
6837 relocations are performed -- see ld's documentation on pseudo-relocs. */
|
adam@47
|
6838 # define LT_DLSYM_CONST
|
adam@47
|
6839 #elif defined(__osf__)
|
adam@47
|
6840 /* This system does not cope well with relocations in const data. */
|
adam@47
|
6841 # define LT_DLSYM_CONST
|
adam@47
|
6842 #else
|
adam@47
|
6843 # define LT_DLSYM_CONST const
|
adam@47
|
6844 #endif
|
adam@47
|
6845
|
adam@0
|
6846 #ifdef __cplusplus
|
adam@0
|
6847 extern "C" {
|
adam@0
|
6848 #endif
|
adam@0
|
6849
|
adam@0
|
6850 _LT_EOF
|
adam@0
|
6851 # Now generate the symbol file.
|
adam@0
|
6852 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
|
adam@0
|
6853
|
adam@0
|
6854 cat <<_LT_EOF >> conftest.$ac_ext
|
adam@0
|
6855
|
adam@0
|
6856 /* The mapping between symbol names and symbols. */
|
adam@47
|
6857 LT_DLSYM_CONST struct {
|
adam@0
|
6858 const char *name;
|
adam@0
|
6859 void *address;
|
adam@0
|
6860 }
|
adam@0
|
6861 lt__PROGRAM__LTX_preloaded_symbols[] =
|
adam@0
|
6862 {
|
adam@0
|
6863 { "@PROGRAM@", (void *) 0 },
|
adam@0
|
6864 _LT_EOF
|
adam@0
|
6865 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
|
adam@0
|
6866 cat <<\_LT_EOF >> conftest.$ac_ext
|
adam@0
|
6867 {0, (void *) 0}
|
adam@0
|
6868 };
|
adam@0
|
6869
|
adam@0
|
6870 /* This works around a problem in FreeBSD linker */
|
adam@0
|
6871 #ifdef FREEBSD_WORKAROUND
|
adam@0
|
6872 static const void *lt_preloaded_setup() {
|
adam@0
|
6873 return lt__PROGRAM__LTX_preloaded_symbols;
|
adam@0
|
6874 }
|
adam@0
|
6875 #endif
|
adam@0
|
6876
|
adam@0
|
6877 #ifdef __cplusplus
|
adam@0
|
6878 }
|
adam@0
|
6879 #endif
|
adam@0
|
6880 _LT_EOF
|
adam@0
|
6881 # Now try linking the two files.
|
adam@0
|
6882 mv conftest.$ac_objext conftstm.$ac_objext
|
adam@47
|
6883 lt_globsym_save_LIBS=$LIBS
|
adam@47
|
6884 lt_globsym_save_CFLAGS=$CFLAGS
|
adam@0
|
6885 LIBS="conftstm.$ac_objext"
|
adam@0
|
6886 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
|
adam@0
|
6887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
adam@0
|
6888 (eval $ac_link) 2>&5
|
adam@0
|
6889 ac_status=$?
|
adam@0
|
6890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6891 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
|
adam@0
|
6892 pipe_works=yes
|
adam@0
|
6893 fi
|
adam@47
|
6894 LIBS=$lt_globsym_save_LIBS
|
adam@47
|
6895 CFLAGS=$lt_globsym_save_CFLAGS
|
adam@0
|
6896 else
|
adam@0
|
6897 echo "cannot find nm_test_func in $nlist" >&5
|
adam@0
|
6898 fi
|
adam@0
|
6899 else
|
adam@0
|
6900 echo "cannot find nm_test_var in $nlist" >&5
|
adam@0
|
6901 fi
|
adam@0
|
6902 else
|
adam@0
|
6903 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
|
adam@0
|
6904 fi
|
adam@0
|
6905 else
|
adam@0
|
6906 echo "$progname: failed program was:" >&5
|
adam@0
|
6907 cat conftest.$ac_ext >&5
|
adam@0
|
6908 fi
|
adam@0
|
6909 rm -rf conftest* conftst*
|
adam@0
|
6910
|
adam@0
|
6911 # Do not use the global_symbol_pipe unless it works.
|
adam@0
|
6912 if test "$pipe_works" = yes; then
|
adam@0
|
6913 break
|
adam@0
|
6914 else
|
adam@0
|
6915 lt_cv_sys_global_symbol_pipe=
|
adam@0
|
6916 fi
|
adam@0
|
6917 done
|
adam@0
|
6918
|
adam@0
|
6919 fi
|
adam@0
|
6920
|
adam@0
|
6921 if test -z "$lt_cv_sys_global_symbol_pipe"; then
|
adam@0
|
6922 lt_cv_sys_global_symbol_to_cdecl=
|
adam@0
|
6923 fi
|
adam@0
|
6924 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
adam@0
|
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
adam@0
|
6926 $as_echo "failed" >&6; }
|
adam@0
|
6927 else
|
adam@0
|
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
adam@0
|
6929 $as_echo "ok" >&6; }
|
adam@0
|
6930 fi
|
adam@0
|
6931
|
adam@47
|
6932 # Response file support.
|
adam@47
|
6933 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
adam@47
|
6934 nm_file_list_spec='@'
|
adam@47
|
6935 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
|
adam@47
|
6936 nm_file_list_spec='@'
|
adam@47
|
6937 fi
|
adam@47
|
6938
|
adam@47
|
6939
|
adam@47
|
6940
|
adam@47
|
6941
|
adam@47
|
6942
|
adam@47
|
6943
|
adam@47
|
6944
|
adam@47
|
6945
|
adam@47
|
6946
|
adam@47
|
6947
|
adam@47
|
6948
|
adam@47
|
6949
|
adam@47
|
6950
|
adam@47
|
6951
|
adam@47
|
6952
|
adam@47
|
6953
|
adam@47
|
6954
|
adam@47
|
6955
|
adam@47
|
6956
|
adam@47
|
6957
|
adam@47
|
6958
|
adam@47
|
6959
|
adam@47
|
6960
|
adam@47
|
6961
|
adam@47
|
6962
|
adam@47
|
6963
|
adam@47
|
6964
|
adam@47
|
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
adam@47
|
6966 $as_echo_n "checking for sysroot... " >&6; }
|
adam@47
|
6967
|
adam@47
|
6968 # Check whether --with-sysroot was given.
|
adam@47
|
6969 if test "${with_sysroot+set}" = set; then :
|
adam@47
|
6970 withval=$with_sysroot;
|
adam@47
|
6971 else
|
adam@47
|
6972 with_sysroot=no
|
adam@47
|
6973 fi
|
adam@47
|
6974
|
adam@47
|
6975
|
adam@47
|
6976 lt_sysroot=
|
adam@47
|
6977 case ${with_sysroot} in #(
|
adam@47
|
6978 yes)
|
adam@47
|
6979 if test "$GCC" = yes; then
|
adam@47
|
6980 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
|
adam@47
|
6981 fi
|
adam@47
|
6982 ;; #(
|
adam@47
|
6983 /*)
|
adam@47
|
6984 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
adam@47
|
6985 ;; #(
|
adam@47
|
6986 no|'')
|
adam@47
|
6987 ;; #(
|
adam@47
|
6988 *)
|
adam@47
|
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
|
adam@47
|
6990 $as_echo "${with_sysroot}" >&6; }
|
adam@47
|
6991 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
|
adam@47
|
6992 ;;
|
adam@47
|
6993 esac
|
adam@47
|
6994
|
adam@47
|
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
adam@47
|
6996 $as_echo "${lt_sysroot:-no}" >&6; }
|
adam@0
|
6997
|
adam@0
|
6998
|
adam@0
|
6999
|
adam@0
|
7000
|
adam@0
|
7001
|
adam@0
|
7002 # Check whether --enable-libtool-lock was given.
|
adam@0
|
7003 if test "${enable_libtool_lock+set}" = set; then :
|
adam@0
|
7004 enableval=$enable_libtool_lock;
|
adam@0
|
7005 fi
|
adam@0
|
7006
|
adam@0
|
7007 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
adam@0
|
7008
|
adam@0
|
7009 # Some flags need to be propagated to the compiler or linker for good
|
adam@0
|
7010 # libtool support.
|
adam@0
|
7011 case $host in
|
adam@0
|
7012 ia64-*-hpux*)
|
adam@0
|
7013 # Find out which ABI we are using.
|
adam@0
|
7014 echo 'int i;' > conftest.$ac_ext
|
adam@0
|
7015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
7016 (eval $ac_compile) 2>&5
|
adam@0
|
7017 ac_status=$?
|
adam@0
|
7018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
7019 test $ac_status = 0; }; then
|
adam@0
|
7020 case `/usr/bin/file conftest.$ac_objext` in
|
adam@0
|
7021 *ELF-32*)
|
adam@0
|
7022 HPUX_IA64_MODE="32"
|
adam@0
|
7023 ;;
|
adam@0
|
7024 *ELF-64*)
|
adam@0
|
7025 HPUX_IA64_MODE="64"
|
adam@0
|
7026 ;;
|
adam@0
|
7027 esac
|
adam@0
|
7028 fi
|
adam@0
|
7029 rm -rf conftest*
|
adam@0
|
7030 ;;
|
adam@0
|
7031 *-*-irix6*)
|
adam@0
|
7032 # Find out which ABI we are using.
|
adam@47
|
7033 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
|
adam@0
|
7034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
7035 (eval $ac_compile) 2>&5
|
adam@0
|
7036 ac_status=$?
|
adam@0
|
7037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
7038 test $ac_status = 0; }; then
|
adam@0
|
7039 if test "$lt_cv_prog_gnu_ld" = yes; then
|
adam@0
|
7040 case `/usr/bin/file conftest.$ac_objext` in
|
adam@0
|
7041 *32-bit*)
|
adam@0
|
7042 LD="${LD-ld} -melf32bsmip"
|
adam@0
|
7043 ;;
|
adam@0
|
7044 *N32*)
|
adam@0
|
7045 LD="${LD-ld} -melf32bmipn32"
|
adam@0
|
7046 ;;
|
adam@0
|
7047 *64-bit*)
|
adam@0
|
7048 LD="${LD-ld} -melf64bmip"
|
adam@0
|
7049 ;;
|
adam@0
|
7050 esac
|
adam@0
|
7051 else
|
adam@0
|
7052 case `/usr/bin/file conftest.$ac_objext` in
|
adam@0
|
7053 *32-bit*)
|
adam@0
|
7054 LD="${LD-ld} -32"
|
adam@0
|
7055 ;;
|
adam@0
|
7056 *N32*)
|
adam@0
|
7057 LD="${LD-ld} -n32"
|
adam@0
|
7058 ;;
|
adam@0
|
7059 *64-bit*)
|
adam@0
|
7060 LD="${LD-ld} -64"
|
adam@0
|
7061 ;;
|
adam@0
|
7062 esac
|
adam@0
|
7063 fi
|
adam@0
|
7064 fi
|
adam@0
|
7065 rm -rf conftest*
|
adam@0
|
7066 ;;
|
adam@0
|
7067
|
adam@0
|
7068 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
adam@0
|
7069 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
adam@0
|
7070 # Find out which ABI we are using.
|
adam@0
|
7071 echo 'int i;' > conftest.$ac_ext
|
adam@0
|
7072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
7073 (eval $ac_compile) 2>&5
|
adam@0
|
7074 ac_status=$?
|
adam@0
|
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
7076 test $ac_status = 0; }; then
|
adam@0
|
7077 case `/usr/bin/file conftest.o` in
|
adam@0
|
7078 *32-bit*)
|
adam@0
|
7079 case $host in
|
adam@0
|
7080 x86_64-*kfreebsd*-gnu)
|
adam@0
|
7081 LD="${LD-ld} -m elf_i386_fbsd"
|
adam@0
|
7082 ;;
|
adam@0
|
7083 x86_64-*linux*)
|
adam@0
|
7084 LD="${LD-ld} -m elf_i386"
|
adam@0
|
7085 ;;
|
adam@0
|
7086 ppc64-*linux*|powerpc64-*linux*)
|
adam@0
|
7087 LD="${LD-ld} -m elf32ppclinux"
|
adam@0
|
7088 ;;
|
adam@0
|
7089 s390x-*linux*)
|
adam@0
|
7090 LD="${LD-ld} -m elf_s390"
|
adam@0
|
7091 ;;
|
adam@0
|
7092 sparc64-*linux*)
|
adam@0
|
7093 LD="${LD-ld} -m elf32_sparc"
|
adam@0
|
7094 ;;
|
adam@0
|
7095 esac
|
adam@0
|
7096 ;;
|
adam@0
|
7097 *64-bit*)
|
adam@0
|
7098 case $host in
|
adam@0
|
7099 x86_64-*kfreebsd*-gnu)
|
adam@0
|
7100 LD="${LD-ld} -m elf_x86_64_fbsd"
|
adam@0
|
7101 ;;
|
adam@0
|
7102 x86_64-*linux*)
|
adam@0
|
7103 LD="${LD-ld} -m elf_x86_64"
|
adam@0
|
7104 ;;
|
adam@0
|
7105 ppc*-*linux*|powerpc*-*linux*)
|
adam@0
|
7106 LD="${LD-ld} -m elf64ppc"
|
adam@0
|
7107 ;;
|
adam@0
|
7108 s390*-*linux*|s390*-*tpf*)
|
adam@0
|
7109 LD="${LD-ld} -m elf64_s390"
|
adam@0
|
7110 ;;
|
adam@0
|
7111 sparc*-*linux*)
|
adam@0
|
7112 LD="${LD-ld} -m elf64_sparc"
|
adam@0
|
7113 ;;
|
adam@0
|
7114 esac
|
adam@0
|
7115 ;;
|
adam@0
|
7116 esac
|
adam@0
|
7117 fi
|
adam@0
|
7118 rm -rf conftest*
|
adam@0
|
7119 ;;
|
adam@0
|
7120
|
adam@0
|
7121 *-*-sco3.2v5*)
|
adam@0
|
7122 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
adam@0
|
7123 SAVE_CFLAGS="$CFLAGS"
|
adam@0
|
7124 CFLAGS="$CFLAGS -belf"
|
adam@0
|
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
adam@0
|
7126 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
adam@64
|
7127 if test "${lt_cv_cc_needs_belf+set}" = set; then :
|
adam@0
|
7128 $as_echo_n "(cached) " >&6
|
adam@0
|
7129 else
|
adam@0
|
7130 ac_ext=c
|
adam@0
|
7131 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
7132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
7133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
7134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
7135
|
adam@0
|
7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
7137 /* end confdefs.h. */
|
adam@0
|
7138
|
adam@0
|
7139 int
|
adam@0
|
7140 main ()
|
adam@0
|
7141 {
|
adam@0
|
7142
|
adam@0
|
7143 ;
|
adam@0
|
7144 return 0;
|
adam@0
|
7145 }
|
adam@0
|
7146 _ACEOF
|
adam@0
|
7147 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
7148 lt_cv_cc_needs_belf=yes
|
adam@0
|
7149 else
|
adam@0
|
7150 lt_cv_cc_needs_belf=no
|
adam@0
|
7151 fi
|
adam@0
|
7152 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
7153 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
7154 ac_ext=c
|
adam@0
|
7155 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
7156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
7157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
7158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
7159
|
adam@0
|
7160 fi
|
adam@0
|
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
adam@0
|
7162 $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
adam@0
|
7163 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
adam@0
|
7164 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
adam@0
|
7165 CFLAGS="$SAVE_CFLAGS"
|
adam@0
|
7166 fi
|
adam@0
|
7167 ;;
|
adam@0
|
7168 sparc*-*solaris*)
|
adam@0
|
7169 # Find out which ABI we are using.
|
adam@0
|
7170 echo 'int i;' > conftest.$ac_ext
|
adam@0
|
7171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
7172 (eval $ac_compile) 2>&5
|
adam@0
|
7173 ac_status=$?
|
adam@0
|
7174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
7175 test $ac_status = 0; }; then
|
adam@0
|
7176 case `/usr/bin/file conftest.o` in
|
adam@0
|
7177 *64-bit*)
|
adam@0
|
7178 case $lt_cv_prog_gnu_ld in
|
adam@0
|
7179 yes*) LD="${LD-ld} -m elf64_sparc" ;;
|
adam@0
|
7180 *)
|
adam@0
|
7181 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
adam@0
|
7182 LD="${LD-ld} -64"
|
adam@0
|
7183 fi
|
adam@0
|
7184 ;;
|
adam@0
|
7185 esac
|
adam@0
|
7186 ;;
|
adam@0
|
7187 esac
|
adam@0
|
7188 fi
|
adam@0
|
7189 rm -rf conftest*
|
adam@0
|
7190 ;;
|
adam@0
|
7191 esac
|
adam@0
|
7192
|
adam@0
|
7193 need_locks="$enable_libtool_lock"
|
adam@0
|
7194
|
adam@47
|
7195 if test -n "$ac_tool_prefix"; then
|
adam@47
|
7196 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
|
adam@47
|
7197 set dummy ${ac_tool_prefix}mt; ac_word=$2
|
adam@47
|
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@47
|
7199 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7200 if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
|
adam@47
|
7201 $as_echo_n "(cached) " >&6
|
adam@47
|
7202 else
|
adam@47
|
7203 if test -n "$MANIFEST_TOOL"; then
|
adam@47
|
7204 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
|
adam@47
|
7205 else
|
adam@47
|
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@47
|
7207 for as_dir in $PATH
|
adam@47
|
7208 do
|
adam@47
|
7209 IFS=$as_save_IFS
|
adam@47
|
7210 test -z "$as_dir" && as_dir=.
|
adam@47
|
7211 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@47
|
7212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@47
|
7213 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
adam@47
|
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@47
|
7215 break 2
|
adam@47
|
7216 fi
|
adam@47
|
7217 done
|
adam@47
|
7218 done
|
adam@47
|
7219 IFS=$as_save_IFS
|
adam@47
|
7220
|
adam@47
|
7221 fi
|
adam@47
|
7222 fi
|
adam@47
|
7223 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
|
adam@47
|
7224 if test -n "$MANIFEST_TOOL"; then
|
adam@47
|
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
adam@47
|
7226 $as_echo "$MANIFEST_TOOL" >&6; }
|
adam@47
|
7227 else
|
adam@47
|
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@47
|
7229 $as_echo "no" >&6; }
|
adam@47
|
7230 fi
|
adam@47
|
7231
|
adam@47
|
7232
|
adam@47
|
7233 fi
|
adam@47
|
7234 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
|
adam@47
|
7235 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
|
adam@47
|
7236 # Extract the first word of "mt", so it can be a program name with args.
|
adam@47
|
7237 set dummy mt; ac_word=$2
|
adam@47
|
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@47
|
7239 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7240 if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
|
adam@47
|
7241 $as_echo_n "(cached) " >&6
|
adam@47
|
7242 else
|
adam@47
|
7243 if test -n "$ac_ct_MANIFEST_TOOL"; then
|
adam@47
|
7244 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
|
adam@47
|
7245 else
|
adam@47
|
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@47
|
7247 for as_dir in $PATH
|
adam@47
|
7248 do
|
adam@47
|
7249 IFS=$as_save_IFS
|
adam@47
|
7250 test -z "$as_dir" && as_dir=.
|
adam@47
|
7251 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@47
|
7252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@47
|
7253 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
adam@47
|
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@47
|
7255 break 2
|
adam@47
|
7256 fi
|
adam@47
|
7257 done
|
adam@47
|
7258 done
|
adam@47
|
7259 IFS=$as_save_IFS
|
adam@47
|
7260
|
adam@47
|
7261 fi
|
adam@47
|
7262 fi
|
adam@47
|
7263 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
|
adam@47
|
7264 if test -n "$ac_ct_MANIFEST_TOOL"; then
|
adam@47
|
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
adam@47
|
7266 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
|
adam@47
|
7267 else
|
adam@47
|
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@47
|
7269 $as_echo "no" >&6; }
|
adam@47
|
7270 fi
|
adam@47
|
7271
|
adam@47
|
7272 if test "x$ac_ct_MANIFEST_TOOL" = x; then
|
adam@47
|
7273 MANIFEST_TOOL=":"
|
adam@47
|
7274 else
|
adam@47
|
7275 case $cross_compiling:$ac_tool_warned in
|
adam@47
|
7276 yes:)
|
adam@47
|
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@47
|
7278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@47
|
7279 ac_tool_warned=yes ;;
|
adam@47
|
7280 esac
|
adam@47
|
7281 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
|
adam@47
|
7282 fi
|
adam@47
|
7283 else
|
adam@47
|
7284 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
|
adam@47
|
7285 fi
|
adam@47
|
7286
|
adam@47
|
7287 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
adam@47
|
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
adam@47
|
7289 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
adam@64
|
7290 if test "${lt_cv_path_mainfest_tool+set}" = set; then :
|
adam@47
|
7291 $as_echo_n "(cached) " >&6
|
adam@47
|
7292 else
|
adam@47
|
7293 lt_cv_path_mainfest_tool=no
|
adam@47
|
7294 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
|
adam@47
|
7295 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
adam@47
|
7296 cat conftest.err >&5
|
adam@47
|
7297 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
|
adam@47
|
7298 lt_cv_path_mainfest_tool=yes
|
adam@47
|
7299 fi
|
adam@47
|
7300 rm -f conftest*
|
adam@47
|
7301 fi
|
adam@47
|
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
adam@47
|
7303 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
|
adam@47
|
7304 if test "x$lt_cv_path_mainfest_tool" != xyes; then
|
adam@47
|
7305 MANIFEST_TOOL=:
|
adam@47
|
7306 fi
|
adam@47
|
7307
|
adam@47
|
7308
|
adam@47
|
7309
|
adam@47
|
7310
|
adam@47
|
7311
|
adam@0
|
7312
|
adam@0
|
7313 case $host_os in
|
adam@0
|
7314 rhapsody* | darwin*)
|
adam@0
|
7315 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7316 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
adam@0
|
7317 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
adam@0
|
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7319 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7320 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
|
adam@0
|
7321 $as_echo_n "(cached) " >&6
|
adam@0
|
7322 else
|
adam@0
|
7323 if test -n "$DSYMUTIL"; then
|
adam@0
|
7324 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
|
adam@0
|
7325 else
|
adam@0
|
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7327 for as_dir in $PATH
|
adam@0
|
7328 do
|
adam@0
|
7329 IFS=$as_save_IFS
|
adam@0
|
7330 test -z "$as_dir" && as_dir=.
|
adam@0
|
7331 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7333 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
adam@0
|
7334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7335 break 2
|
adam@0
|
7336 fi
|
adam@0
|
7337 done
|
adam@0
|
7338 done
|
adam@0
|
7339 IFS=$as_save_IFS
|
adam@0
|
7340
|
adam@0
|
7341 fi
|
adam@0
|
7342 fi
|
adam@0
|
7343 DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
adam@0
|
7344 if test -n "$DSYMUTIL"; then
|
adam@0
|
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
adam@0
|
7346 $as_echo "$DSYMUTIL" >&6; }
|
adam@0
|
7347 else
|
adam@0
|
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7349 $as_echo "no" >&6; }
|
adam@0
|
7350 fi
|
adam@0
|
7351
|
adam@0
|
7352
|
adam@0
|
7353 fi
|
adam@0
|
7354 if test -z "$ac_cv_prog_DSYMUTIL"; then
|
adam@0
|
7355 ac_ct_DSYMUTIL=$DSYMUTIL
|
adam@0
|
7356 # Extract the first word of "dsymutil", so it can be a program name with args.
|
adam@0
|
7357 set dummy dsymutil; ac_word=$2
|
adam@0
|
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7359 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7360 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
|
adam@0
|
7361 $as_echo_n "(cached) " >&6
|
adam@0
|
7362 else
|
adam@0
|
7363 if test -n "$ac_ct_DSYMUTIL"; then
|
adam@0
|
7364 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
|
adam@0
|
7365 else
|
adam@0
|
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7367 for as_dir in $PATH
|
adam@0
|
7368 do
|
adam@0
|
7369 IFS=$as_save_IFS
|
adam@0
|
7370 test -z "$as_dir" && as_dir=.
|
adam@0
|
7371 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7373 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
adam@0
|
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7375 break 2
|
adam@0
|
7376 fi
|
adam@0
|
7377 done
|
adam@0
|
7378 done
|
adam@0
|
7379 IFS=$as_save_IFS
|
adam@0
|
7380
|
adam@0
|
7381 fi
|
adam@0
|
7382 fi
|
adam@0
|
7383 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
adam@0
|
7384 if test -n "$ac_ct_DSYMUTIL"; then
|
adam@0
|
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
adam@0
|
7386 $as_echo "$ac_ct_DSYMUTIL" >&6; }
|
adam@0
|
7387 else
|
adam@0
|
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7389 $as_echo "no" >&6; }
|
adam@0
|
7390 fi
|
adam@0
|
7391
|
adam@0
|
7392 if test "x$ac_ct_DSYMUTIL" = x; then
|
adam@0
|
7393 DSYMUTIL=":"
|
adam@0
|
7394 else
|
adam@0
|
7395 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7396 yes:)
|
adam@0
|
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7399 ac_tool_warned=yes ;;
|
adam@0
|
7400 esac
|
adam@0
|
7401 DSYMUTIL=$ac_ct_DSYMUTIL
|
adam@0
|
7402 fi
|
adam@0
|
7403 else
|
adam@0
|
7404 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
|
adam@0
|
7405 fi
|
adam@0
|
7406
|
adam@0
|
7407 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7408 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
adam@0
|
7409 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
adam@0
|
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7411 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7412 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
|
adam@0
|
7413 $as_echo_n "(cached) " >&6
|
adam@0
|
7414 else
|
adam@0
|
7415 if test -n "$NMEDIT"; then
|
adam@0
|
7416 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
adam@0
|
7417 else
|
adam@0
|
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7419 for as_dir in $PATH
|
adam@0
|
7420 do
|
adam@0
|
7421 IFS=$as_save_IFS
|
adam@0
|
7422 test -z "$as_dir" && as_dir=.
|
adam@0
|
7423 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7425 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
adam@0
|
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7427 break 2
|
adam@0
|
7428 fi
|
adam@0
|
7429 done
|
adam@0
|
7430 done
|
adam@0
|
7431 IFS=$as_save_IFS
|
adam@0
|
7432
|
adam@0
|
7433 fi
|
adam@0
|
7434 fi
|
adam@0
|
7435 NMEDIT=$ac_cv_prog_NMEDIT
|
adam@0
|
7436 if test -n "$NMEDIT"; then
|
adam@0
|
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
adam@0
|
7438 $as_echo "$NMEDIT" >&6; }
|
adam@0
|
7439 else
|
adam@0
|
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7441 $as_echo "no" >&6; }
|
adam@0
|
7442 fi
|
adam@0
|
7443
|
adam@0
|
7444
|
adam@0
|
7445 fi
|
adam@0
|
7446 if test -z "$ac_cv_prog_NMEDIT"; then
|
adam@0
|
7447 ac_ct_NMEDIT=$NMEDIT
|
adam@0
|
7448 # Extract the first word of "nmedit", so it can be a program name with args.
|
adam@0
|
7449 set dummy nmedit; ac_word=$2
|
adam@0
|
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7451 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7452 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
|
adam@0
|
7453 $as_echo_n "(cached) " >&6
|
adam@0
|
7454 else
|
adam@0
|
7455 if test -n "$ac_ct_NMEDIT"; then
|
adam@0
|
7456 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
adam@0
|
7457 else
|
adam@0
|
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7459 for as_dir in $PATH
|
adam@0
|
7460 do
|
adam@0
|
7461 IFS=$as_save_IFS
|
adam@0
|
7462 test -z "$as_dir" && as_dir=.
|
adam@0
|
7463 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7465 ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
adam@0
|
7466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7467 break 2
|
adam@0
|
7468 fi
|
adam@0
|
7469 done
|
adam@0
|
7470 done
|
adam@0
|
7471 IFS=$as_save_IFS
|
adam@0
|
7472
|
adam@0
|
7473 fi
|
adam@0
|
7474 fi
|
adam@0
|
7475 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
adam@0
|
7476 if test -n "$ac_ct_NMEDIT"; then
|
adam@0
|
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
adam@0
|
7478 $as_echo "$ac_ct_NMEDIT" >&6; }
|
adam@0
|
7479 else
|
adam@0
|
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7481 $as_echo "no" >&6; }
|
adam@0
|
7482 fi
|
adam@0
|
7483
|
adam@0
|
7484 if test "x$ac_ct_NMEDIT" = x; then
|
adam@0
|
7485 NMEDIT=":"
|
adam@0
|
7486 else
|
adam@0
|
7487 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7488 yes:)
|
adam@0
|
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7491 ac_tool_warned=yes ;;
|
adam@0
|
7492 esac
|
adam@0
|
7493 NMEDIT=$ac_ct_NMEDIT
|
adam@0
|
7494 fi
|
adam@0
|
7495 else
|
adam@0
|
7496 NMEDIT="$ac_cv_prog_NMEDIT"
|
adam@0
|
7497 fi
|
adam@0
|
7498
|
adam@0
|
7499 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7500 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
adam@0
|
7501 set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
adam@0
|
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7503 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7504 if test "${ac_cv_prog_LIPO+set}" = set; then :
|
adam@0
|
7505 $as_echo_n "(cached) " >&6
|
adam@0
|
7506 else
|
adam@0
|
7507 if test -n "$LIPO"; then
|
adam@0
|
7508 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
adam@0
|
7509 else
|
adam@0
|
7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7511 for as_dir in $PATH
|
adam@0
|
7512 do
|
adam@0
|
7513 IFS=$as_save_IFS
|
adam@0
|
7514 test -z "$as_dir" && as_dir=.
|
adam@0
|
7515 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7517 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
adam@0
|
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7519 break 2
|
adam@0
|
7520 fi
|
adam@0
|
7521 done
|
adam@0
|
7522 done
|
adam@0
|
7523 IFS=$as_save_IFS
|
adam@0
|
7524
|
adam@0
|
7525 fi
|
adam@0
|
7526 fi
|
adam@0
|
7527 LIPO=$ac_cv_prog_LIPO
|
adam@0
|
7528 if test -n "$LIPO"; then
|
adam@0
|
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
adam@0
|
7530 $as_echo "$LIPO" >&6; }
|
adam@0
|
7531 else
|
adam@0
|
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7533 $as_echo "no" >&6; }
|
adam@0
|
7534 fi
|
adam@0
|
7535
|
adam@0
|
7536
|
adam@0
|
7537 fi
|
adam@0
|
7538 if test -z "$ac_cv_prog_LIPO"; then
|
adam@0
|
7539 ac_ct_LIPO=$LIPO
|
adam@0
|
7540 # Extract the first word of "lipo", so it can be a program name with args.
|
adam@0
|
7541 set dummy lipo; ac_word=$2
|
adam@0
|
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7543 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7544 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
|
adam@0
|
7545 $as_echo_n "(cached) " >&6
|
adam@0
|
7546 else
|
adam@0
|
7547 if test -n "$ac_ct_LIPO"; then
|
adam@0
|
7548 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
adam@0
|
7549 else
|
adam@0
|
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7551 for as_dir in $PATH
|
adam@0
|
7552 do
|
adam@0
|
7553 IFS=$as_save_IFS
|
adam@0
|
7554 test -z "$as_dir" && as_dir=.
|
adam@0
|
7555 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7557 ac_cv_prog_ac_ct_LIPO="lipo"
|
adam@0
|
7558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7559 break 2
|
adam@0
|
7560 fi
|
adam@0
|
7561 done
|
adam@0
|
7562 done
|
adam@0
|
7563 IFS=$as_save_IFS
|
adam@0
|
7564
|
adam@0
|
7565 fi
|
adam@0
|
7566 fi
|
adam@0
|
7567 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
adam@0
|
7568 if test -n "$ac_ct_LIPO"; then
|
adam@0
|
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
adam@0
|
7570 $as_echo "$ac_ct_LIPO" >&6; }
|
adam@0
|
7571 else
|
adam@0
|
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7573 $as_echo "no" >&6; }
|
adam@0
|
7574 fi
|
adam@0
|
7575
|
adam@0
|
7576 if test "x$ac_ct_LIPO" = x; then
|
adam@0
|
7577 LIPO=":"
|
adam@0
|
7578 else
|
adam@0
|
7579 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7580 yes:)
|
adam@0
|
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7583 ac_tool_warned=yes ;;
|
adam@0
|
7584 esac
|
adam@0
|
7585 LIPO=$ac_ct_LIPO
|
adam@0
|
7586 fi
|
adam@0
|
7587 else
|
adam@0
|
7588 LIPO="$ac_cv_prog_LIPO"
|
adam@0
|
7589 fi
|
adam@0
|
7590
|
adam@0
|
7591 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7592 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
adam@0
|
7593 set dummy ${ac_tool_prefix}otool; ac_word=$2
|
adam@0
|
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7595 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7596 if test "${ac_cv_prog_OTOOL+set}" = set; then :
|
adam@0
|
7597 $as_echo_n "(cached) " >&6
|
adam@0
|
7598 else
|
adam@0
|
7599 if test -n "$OTOOL"; then
|
adam@0
|
7600 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
adam@0
|
7601 else
|
adam@0
|
7602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7603 for as_dir in $PATH
|
adam@0
|
7604 do
|
adam@0
|
7605 IFS=$as_save_IFS
|
adam@0
|
7606 test -z "$as_dir" && as_dir=.
|
adam@0
|
7607 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7609 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
adam@0
|
7610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7611 break 2
|
adam@0
|
7612 fi
|
adam@0
|
7613 done
|
adam@0
|
7614 done
|
adam@0
|
7615 IFS=$as_save_IFS
|
adam@0
|
7616
|
adam@0
|
7617 fi
|
adam@0
|
7618 fi
|
adam@0
|
7619 OTOOL=$ac_cv_prog_OTOOL
|
adam@0
|
7620 if test -n "$OTOOL"; then
|
adam@0
|
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
adam@0
|
7622 $as_echo "$OTOOL" >&6; }
|
adam@0
|
7623 else
|
adam@0
|
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7625 $as_echo "no" >&6; }
|
adam@0
|
7626 fi
|
adam@0
|
7627
|
adam@0
|
7628
|
adam@0
|
7629 fi
|
adam@0
|
7630 if test -z "$ac_cv_prog_OTOOL"; then
|
adam@0
|
7631 ac_ct_OTOOL=$OTOOL
|
adam@0
|
7632 # Extract the first word of "otool", so it can be a program name with args.
|
adam@0
|
7633 set dummy otool; ac_word=$2
|
adam@0
|
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7635 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7636 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
|
adam@0
|
7637 $as_echo_n "(cached) " >&6
|
adam@0
|
7638 else
|
adam@0
|
7639 if test -n "$ac_ct_OTOOL"; then
|
adam@0
|
7640 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
adam@0
|
7641 else
|
adam@0
|
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7643 for as_dir in $PATH
|
adam@0
|
7644 do
|
adam@0
|
7645 IFS=$as_save_IFS
|
adam@0
|
7646 test -z "$as_dir" && as_dir=.
|
adam@0
|
7647 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7649 ac_cv_prog_ac_ct_OTOOL="otool"
|
adam@0
|
7650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7651 break 2
|
adam@0
|
7652 fi
|
adam@0
|
7653 done
|
adam@0
|
7654 done
|
adam@0
|
7655 IFS=$as_save_IFS
|
adam@0
|
7656
|
adam@0
|
7657 fi
|
adam@0
|
7658 fi
|
adam@0
|
7659 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
adam@0
|
7660 if test -n "$ac_ct_OTOOL"; then
|
adam@0
|
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
adam@0
|
7662 $as_echo "$ac_ct_OTOOL" >&6; }
|
adam@0
|
7663 else
|
adam@0
|
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7665 $as_echo "no" >&6; }
|
adam@0
|
7666 fi
|
adam@0
|
7667
|
adam@0
|
7668 if test "x$ac_ct_OTOOL" = x; then
|
adam@0
|
7669 OTOOL=":"
|
adam@0
|
7670 else
|
adam@0
|
7671 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7672 yes:)
|
adam@0
|
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7675 ac_tool_warned=yes ;;
|
adam@0
|
7676 esac
|
adam@0
|
7677 OTOOL=$ac_ct_OTOOL
|
adam@0
|
7678 fi
|
adam@0
|
7679 else
|
adam@0
|
7680 OTOOL="$ac_cv_prog_OTOOL"
|
adam@0
|
7681 fi
|
adam@0
|
7682
|
adam@0
|
7683 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7684 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
adam@0
|
7685 set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
adam@0
|
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7687 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7688 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
|
adam@0
|
7689 $as_echo_n "(cached) " >&6
|
adam@0
|
7690 else
|
adam@0
|
7691 if test -n "$OTOOL64"; then
|
adam@0
|
7692 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
adam@0
|
7693 else
|
adam@0
|
7694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7695 for as_dir in $PATH
|
adam@0
|
7696 do
|
adam@0
|
7697 IFS=$as_save_IFS
|
adam@0
|
7698 test -z "$as_dir" && as_dir=.
|
adam@0
|
7699 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7701 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
adam@0
|
7702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7703 break 2
|
adam@0
|
7704 fi
|
adam@0
|
7705 done
|
adam@0
|
7706 done
|
adam@0
|
7707 IFS=$as_save_IFS
|
adam@0
|
7708
|
adam@0
|
7709 fi
|
adam@0
|
7710 fi
|
adam@0
|
7711 OTOOL64=$ac_cv_prog_OTOOL64
|
adam@0
|
7712 if test -n "$OTOOL64"; then
|
adam@0
|
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
adam@0
|
7714 $as_echo "$OTOOL64" >&6; }
|
adam@0
|
7715 else
|
adam@0
|
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7717 $as_echo "no" >&6; }
|
adam@0
|
7718 fi
|
adam@0
|
7719
|
adam@0
|
7720
|
adam@0
|
7721 fi
|
adam@0
|
7722 if test -z "$ac_cv_prog_OTOOL64"; then
|
adam@0
|
7723 ac_ct_OTOOL64=$OTOOL64
|
adam@0
|
7724 # Extract the first word of "otool64", so it can be a program name with args.
|
adam@0
|
7725 set dummy otool64; ac_word=$2
|
adam@0
|
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7727 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
7728 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
|
adam@0
|
7729 $as_echo_n "(cached) " >&6
|
adam@0
|
7730 else
|
adam@0
|
7731 if test -n "$ac_ct_OTOOL64"; then
|
adam@0
|
7732 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
adam@0
|
7733 else
|
adam@0
|
7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7735 for as_dir in $PATH
|
adam@0
|
7736 do
|
adam@0
|
7737 IFS=$as_save_IFS
|
adam@0
|
7738 test -z "$as_dir" && as_dir=.
|
adam@0
|
7739 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7741 ac_cv_prog_ac_ct_OTOOL64="otool64"
|
adam@0
|
7742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7743 break 2
|
adam@0
|
7744 fi
|
adam@0
|
7745 done
|
adam@0
|
7746 done
|
adam@0
|
7747 IFS=$as_save_IFS
|
adam@0
|
7748
|
adam@0
|
7749 fi
|
adam@0
|
7750 fi
|
adam@0
|
7751 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
adam@0
|
7752 if test -n "$ac_ct_OTOOL64"; then
|
adam@0
|
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
adam@0
|
7754 $as_echo "$ac_ct_OTOOL64" >&6; }
|
adam@0
|
7755 else
|
adam@0
|
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7757 $as_echo "no" >&6; }
|
adam@0
|
7758 fi
|
adam@0
|
7759
|
adam@0
|
7760 if test "x$ac_ct_OTOOL64" = x; then
|
adam@0
|
7761 OTOOL64=":"
|
adam@0
|
7762 else
|
adam@0
|
7763 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7764 yes:)
|
adam@0
|
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7767 ac_tool_warned=yes ;;
|
adam@0
|
7768 esac
|
adam@0
|
7769 OTOOL64=$ac_ct_OTOOL64
|
adam@0
|
7770 fi
|
adam@0
|
7771 else
|
adam@0
|
7772 OTOOL64="$ac_cv_prog_OTOOL64"
|
adam@0
|
7773 fi
|
adam@0
|
7774
|
adam@0
|
7775
|
adam@0
|
7776
|
adam@0
|
7777
|
adam@0
|
7778
|
adam@0
|
7779
|
adam@0
|
7780
|
adam@0
|
7781
|
adam@0
|
7782
|
adam@0
|
7783
|
adam@0
|
7784
|
adam@0
|
7785
|
adam@0
|
7786
|
adam@0
|
7787
|
adam@0
|
7788
|
adam@0
|
7789
|
adam@0
|
7790
|
adam@0
|
7791
|
adam@0
|
7792
|
adam@0
|
7793
|
adam@0
|
7794
|
adam@0
|
7795
|
adam@0
|
7796
|
adam@0
|
7797
|
adam@0
|
7798
|
adam@0
|
7799
|
adam@0
|
7800
|
adam@0
|
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
adam@0
|
7802 $as_echo_n "checking for -single_module linker flag... " >&6; }
|
adam@64
|
7803 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
|
adam@0
|
7804 $as_echo_n "(cached) " >&6
|
adam@0
|
7805 else
|
adam@0
|
7806 lt_cv_apple_cc_single_mod=no
|
adam@0
|
7807 if test -z "${LT_MULTI_MODULE}"; then
|
adam@0
|
7808 # By default we will add the -single_module flag. You can override
|
adam@0
|
7809 # by either setting the environment variable LT_MULTI_MODULE
|
adam@0
|
7810 # non-empty at configure time, or by adding -multi_module to the
|
adam@0
|
7811 # link flags.
|
adam@0
|
7812 rm -rf libconftest.dylib*
|
adam@0
|
7813 echo "int foo(void){return 1;}" > conftest.c
|
adam@0
|
7814 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
adam@0
|
7815 -dynamiclib -Wl,-single_module conftest.c" >&5
|
adam@0
|
7816 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
adam@0
|
7817 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
adam@0
|
7818 _lt_result=$?
|
adam@0
|
7819 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
|
adam@0
|
7820 lt_cv_apple_cc_single_mod=yes
|
adam@0
|
7821 else
|
adam@0
|
7822 cat conftest.err >&5
|
adam@0
|
7823 fi
|
adam@0
|
7824 rm -rf libconftest.dylib*
|
adam@0
|
7825 rm -f conftest.*
|
adam@0
|
7826 fi
|
adam@0
|
7827 fi
|
adam@0
|
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
adam@0
|
7829 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
adam@0
|
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
adam@0
|
7831 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
adam@64
|
7832 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
|
adam@0
|
7833 $as_echo_n "(cached) " >&6
|
adam@0
|
7834 else
|
adam@0
|
7835 lt_cv_ld_exported_symbols_list=no
|
adam@0
|
7836 save_LDFLAGS=$LDFLAGS
|
adam@0
|
7837 echo "_main" > conftest.sym
|
adam@0
|
7838 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
|
adam@0
|
7839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
7840 /* end confdefs.h. */
|
adam@0
|
7841
|
adam@0
|
7842 int
|
adam@0
|
7843 main ()
|
adam@0
|
7844 {
|
adam@0
|
7845
|
adam@0
|
7846 ;
|
adam@0
|
7847 return 0;
|
adam@0
|
7848 }
|
adam@0
|
7849 _ACEOF
|
adam@0
|
7850 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
7851 lt_cv_ld_exported_symbols_list=yes
|
adam@0
|
7852 else
|
adam@0
|
7853 lt_cv_ld_exported_symbols_list=no
|
adam@0
|
7854 fi
|
adam@0
|
7855 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
7856 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
7857 LDFLAGS="$save_LDFLAGS"
|
adam@0
|
7858
|
adam@0
|
7859 fi
|
adam@0
|
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
adam@0
|
7861 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
adam@47
|
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
adam@47
|
7863 $as_echo_n "checking for -force_load linker flag... " >&6; }
|
adam@64
|
7864 if test "${lt_cv_ld_force_load+set}" = set; then :
|
adam@47
|
7865 $as_echo_n "(cached) " >&6
|
adam@47
|
7866 else
|
adam@47
|
7867 lt_cv_ld_force_load=no
|
adam@47
|
7868 cat > conftest.c << _LT_EOF
|
adam@47
|
7869 int forced_loaded() { return 2;}
|
adam@47
|
7870 _LT_EOF
|
adam@47
|
7871 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
adam@47
|
7872 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
adam@47
|
7873 echo "$AR cru libconftest.a conftest.o" >&5
|
adam@47
|
7874 $AR cru libconftest.a conftest.o 2>&5
|
adam@47
|
7875 echo "$RANLIB libconftest.a" >&5
|
adam@47
|
7876 $RANLIB libconftest.a 2>&5
|
adam@47
|
7877 cat > conftest.c << _LT_EOF
|
adam@47
|
7878 int main() { return 0;}
|
adam@47
|
7879 _LT_EOF
|
adam@47
|
7880 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
|
adam@47
|
7881 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
adam@47
|
7882 _lt_result=$?
|
adam@47
|
7883 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
|
adam@47
|
7884 lt_cv_ld_force_load=yes
|
adam@47
|
7885 else
|
adam@47
|
7886 cat conftest.err >&5
|
adam@47
|
7887 fi
|
adam@47
|
7888 rm -f conftest.err libconftest.a conftest conftest.c
|
adam@47
|
7889 rm -rf conftest.dSYM
|
adam@47
|
7890
|
adam@47
|
7891 fi
|
adam@47
|
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
adam@47
|
7893 $as_echo "$lt_cv_ld_force_load" >&6; }
|
adam@0
|
7894 case $host_os in
|
adam@0
|
7895 rhapsody* | darwin1.[012])
|
adam@0
|
7896 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
adam@0
|
7897 darwin1.*)
|
adam@0
|
7898 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
adam@0
|
7899 darwin*) # darwin 5.x on
|
adam@0
|
7900 # if running on 10.5 or later, the deployment target defaults
|
adam@0
|
7901 # to the OS version, if on x86, and 10.4, the deployment
|
adam@0
|
7902 # target defaults to 10.4. Don't you love it?
|
adam@0
|
7903 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
adam@0
|
7904 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
adam@0
|
7905 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
adam@0
|
7906 10.[012]*)
|
adam@0
|
7907 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
adam@0
|
7908 10.*)
|
adam@0
|
7909 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
adam@0
|
7910 esac
|
adam@0
|
7911 ;;
|
adam@0
|
7912 esac
|
adam@0
|
7913 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
adam@0
|
7914 _lt_dar_single_mod='$single_module'
|
adam@0
|
7915 fi
|
adam@0
|
7916 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
|
adam@0
|
7917 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
adam@0
|
7918 else
|
adam@0
|
7919 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
adam@0
|
7920 fi
|
adam@47
|
7921 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
|
adam@0
|
7922 _lt_dsymutil='~$DSYMUTIL $lib || :'
|
adam@0
|
7923 else
|
adam@0
|
7924 _lt_dsymutil=
|
adam@0
|
7925 fi
|
adam@0
|
7926 ;;
|
adam@0
|
7927 esac
|
adam@0
|
7928
|
adam@0
|
7929 for ac_header in dlfcn.h
|
adam@0
|
7930 do :
|
adam@0
|
7931 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
adam@0
|
7932 "
|
adam@64
|
7933 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
|
adam@0
|
7934 cat >>confdefs.h <<_ACEOF
|
adam@0
|
7935 #define HAVE_DLFCN_H 1
|
adam@0
|
7936 _ACEOF
|
adam@0
|
7937
|
adam@0
|
7938 fi
|
adam@0
|
7939
|
adam@0
|
7940 done
|
adam@0
|
7941
|
adam@0
|
7942
|
adam@0
|
7943
|
adam@47
|
7944
|
adam@47
|
7945
|
adam@0
|
7946 # Set options
|
adam@0
|
7947
|
adam@0
|
7948
|
adam@0
|
7949
|
adam@0
|
7950 enable_dlopen=no
|
adam@0
|
7951
|
adam@0
|
7952
|
adam@0
|
7953 enable_win32_dll=no
|
adam@0
|
7954
|
adam@0
|
7955
|
adam@0
|
7956 # Check whether --enable-shared was given.
|
adam@0
|
7957 if test "${enable_shared+set}" = set; then :
|
adam@0
|
7958 enableval=$enable_shared; p=${PACKAGE-default}
|
adam@0
|
7959 case $enableval in
|
adam@0
|
7960 yes) enable_shared=yes ;;
|
adam@0
|
7961 no) enable_shared=no ;;
|
adam@0
|
7962 *)
|
adam@0
|
7963 enable_shared=no
|
adam@0
|
7964 # Look at the argument we got. We use all the common list separators.
|
adam@0
|
7965 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
adam@0
|
7966 for pkg in $enableval; do
|
adam@0
|
7967 IFS="$lt_save_ifs"
|
adam@0
|
7968 if test "X$pkg" = "X$p"; then
|
adam@0
|
7969 enable_shared=yes
|
adam@0
|
7970 fi
|
adam@0
|
7971 done
|
adam@0
|
7972 IFS="$lt_save_ifs"
|
adam@0
|
7973 ;;
|
adam@0
|
7974 esac
|
adam@0
|
7975 else
|
adam@0
|
7976 enable_shared=yes
|
adam@0
|
7977 fi
|
adam@0
|
7978
|
adam@0
|
7979
|
adam@0
|
7980
|
adam@0
|
7981
|
adam@0
|
7982
|
adam@0
|
7983
|
adam@0
|
7984
|
adam@0
|
7985
|
adam@0
|
7986
|
adam@0
|
7987 # Check whether --enable-static was given.
|
adam@0
|
7988 if test "${enable_static+set}" = set; then :
|
adam@0
|
7989 enableval=$enable_static; p=${PACKAGE-default}
|
adam@0
|
7990 case $enableval in
|
adam@0
|
7991 yes) enable_static=yes ;;
|
adam@0
|
7992 no) enable_static=no ;;
|
adam@0
|
7993 *)
|
adam@0
|
7994 enable_static=no
|
adam@0
|
7995 # Look at the argument we got. We use all the common list separators.
|
adam@0
|
7996 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
adam@0
|
7997 for pkg in $enableval; do
|
adam@0
|
7998 IFS="$lt_save_ifs"
|
adam@0
|
7999 if test "X$pkg" = "X$p"; then
|
adam@0
|
8000 enable_static=yes
|
adam@0
|
8001 fi
|
adam@0
|
8002 done
|
adam@0
|
8003 IFS="$lt_save_ifs"
|
adam@0
|
8004 ;;
|
adam@0
|
8005 esac
|
adam@0
|
8006 else
|
adam@0
|
8007 enable_static=yes
|
adam@0
|
8008 fi
|
adam@0
|
8009
|
adam@0
|
8010
|
adam@0
|
8011
|
adam@0
|
8012
|
adam@0
|
8013
|
adam@0
|
8014
|
adam@0
|
8015
|
adam@0
|
8016
|
adam@0
|
8017
|
adam@0
|
8018
|
adam@0
|
8019 # Check whether --with-pic was given.
|
adam@0
|
8020 if test "${with_pic+set}" = set; then :
|
adam@0
|
8021 withval=$with_pic; pic_mode="$withval"
|
adam@0
|
8022 else
|
adam@0
|
8023 pic_mode=default
|
adam@0
|
8024 fi
|
adam@0
|
8025
|
adam@0
|
8026
|
adam@0
|
8027 test -z "$pic_mode" && pic_mode=default
|
adam@0
|
8028
|
adam@0
|
8029
|
adam@0
|
8030
|
adam@0
|
8031
|
adam@0
|
8032
|
adam@0
|
8033
|
adam@0
|
8034
|
adam@0
|
8035 # Check whether --enable-fast-install was given.
|
adam@0
|
8036 if test "${enable_fast_install+set}" = set; then :
|
adam@0
|
8037 enableval=$enable_fast_install; p=${PACKAGE-default}
|
adam@0
|
8038 case $enableval in
|
adam@0
|
8039 yes) enable_fast_install=yes ;;
|
adam@0
|
8040 no) enable_fast_install=no ;;
|
adam@0
|
8041 *)
|
adam@0
|
8042 enable_fast_install=no
|
adam@0
|
8043 # Look at the argument we got. We use all the common list separators.
|
adam@0
|
8044 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
adam@0
|
8045 for pkg in $enableval; do
|
adam@0
|
8046 IFS="$lt_save_ifs"
|
adam@0
|
8047 if test "X$pkg" = "X$p"; then
|
adam@0
|
8048 enable_fast_install=yes
|
adam@0
|
8049 fi
|
adam@0
|
8050 done
|
adam@0
|
8051 IFS="$lt_save_ifs"
|
adam@0
|
8052 ;;
|
adam@0
|
8053 esac
|
adam@0
|
8054 else
|
adam@0
|
8055 enable_fast_install=yes
|
adam@0
|
8056 fi
|
adam@0
|
8057
|
adam@0
|
8058
|
adam@0
|
8059
|
adam@0
|
8060
|
adam@0
|
8061
|
adam@0
|
8062
|
adam@0
|
8063
|
adam@0
|
8064
|
adam@0
|
8065
|
adam@0
|
8066
|
adam@0
|
8067
|
adam@0
|
8068 # This can be used to rebuild libtool when needed
|
adam@0
|
8069 LIBTOOL_DEPS="$ltmain"
|
adam@0
|
8070
|
adam@0
|
8071 # Always use our own libtool.
|
adam@0
|
8072 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
adam@0
|
8073
|
adam@0
|
8074
|
adam@0
|
8075
|
adam@0
|
8076
|
adam@0
|
8077
|
adam@0
|
8078
|
adam@0
|
8079
|
adam@0
|
8080
|
adam@0
|
8081
|
adam@0
|
8082
|
adam@0
|
8083
|
adam@0
|
8084
|
adam@0
|
8085
|
adam@0
|
8086
|
adam@0
|
8087
|
adam@0
|
8088
|
adam@0
|
8089
|
adam@0
|
8090
|
adam@0
|
8091
|
adam@0
|
8092
|
adam@0
|
8093
|
adam@0
|
8094
|
adam@0
|
8095
|
adam@0
|
8096
|
adam@0
|
8097
|
adam@47
|
8098
|
adam@0
|
8099 test -z "$LN_S" && LN_S="ln -s"
|
adam@0
|
8100
|
adam@0
|
8101
|
adam@0
|
8102
|
adam@0
|
8103
|
adam@0
|
8104
|
adam@0
|
8105
|
adam@0
|
8106
|
adam@0
|
8107
|
adam@0
|
8108
|
adam@0
|
8109
|
adam@0
|
8110
|
adam@0
|
8111
|
adam@0
|
8112
|
adam@0
|
8113
|
adam@0
|
8114 if test -n "${ZSH_VERSION+set}" ; then
|
adam@0
|
8115 setopt NO_GLOB_SUBST
|
adam@0
|
8116 fi
|
adam@0
|
8117
|
adam@0
|
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
adam@0
|
8119 $as_echo_n "checking for objdir... " >&6; }
|
adam@64
|
8120 if test "${lt_cv_objdir+set}" = set; then :
|
adam@0
|
8121 $as_echo_n "(cached) " >&6
|
adam@0
|
8122 else
|
adam@0
|
8123 rm -f .libs 2>/dev/null
|
adam@0
|
8124 mkdir .libs 2>/dev/null
|
adam@0
|
8125 if test -d .libs; then
|
adam@0
|
8126 lt_cv_objdir=.libs
|
adam@0
|
8127 else
|
adam@0
|
8128 # MS-DOS does not allow filenames that begin with a dot.
|
adam@0
|
8129 lt_cv_objdir=_libs
|
adam@0
|
8130 fi
|
adam@0
|
8131 rmdir .libs 2>/dev/null
|
adam@0
|
8132 fi
|
adam@0
|
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
adam@0
|
8134 $as_echo "$lt_cv_objdir" >&6; }
|
adam@0
|
8135 objdir=$lt_cv_objdir
|
adam@0
|
8136
|
adam@0
|
8137
|
adam@0
|
8138
|
adam@0
|
8139
|
adam@0
|
8140
|
adam@0
|
8141 cat >>confdefs.h <<_ACEOF
|
adam@0
|
8142 #define LT_OBJDIR "$lt_cv_objdir/"
|
adam@0
|
8143 _ACEOF
|
adam@0
|
8144
|
adam@0
|
8145
|
adam@0
|
8146
|
adam@0
|
8147
|
adam@0
|
8148 case $host_os in
|
adam@0
|
8149 aix3*)
|
adam@0
|
8150 # AIX sometimes has problems with the GCC collect2 program. For some
|
adam@0
|
8151 # reason, if we set the COLLECT_NAMES environment variable, the problems
|
adam@0
|
8152 # vanish in a puff of smoke.
|
adam@0
|
8153 if test "X${COLLECT_NAMES+set}" != Xset; then
|
adam@0
|
8154 COLLECT_NAMES=
|
adam@0
|
8155 export COLLECT_NAMES
|
adam@0
|
8156 fi
|
adam@0
|
8157 ;;
|
adam@0
|
8158 esac
|
adam@0
|
8159
|
adam@0
|
8160 # Global variables:
|
adam@0
|
8161 ofile=libtool
|
adam@0
|
8162 can_build_shared=yes
|
adam@0
|
8163
|
adam@0
|
8164 # All known linkers require a `.a' archive for static linking (except MSVC,
|
adam@0
|
8165 # which needs '.lib').
|
adam@0
|
8166 libext=a
|
adam@0
|
8167
|
adam@0
|
8168 with_gnu_ld="$lt_cv_prog_gnu_ld"
|
adam@0
|
8169
|
adam@0
|
8170 old_CC="$CC"
|
adam@0
|
8171 old_CFLAGS="$CFLAGS"
|
adam@0
|
8172
|
adam@0
|
8173 # Set sane defaults for various variables
|
adam@0
|
8174 test -z "$CC" && CC=cc
|
adam@0
|
8175 test -z "$LTCC" && LTCC=$CC
|
adam@0
|
8176 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
|
adam@0
|
8177 test -z "$LD" && LD=ld
|
adam@0
|
8178 test -z "$ac_objext" && ac_objext=o
|
adam@0
|
8179
|
adam@0
|
8180 for cc_temp in $compiler""; do
|
adam@0
|
8181 case $cc_temp in
|
adam@0
|
8182 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
adam@0
|
8183 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
adam@0
|
8184 \-*) ;;
|
adam@0
|
8185 *) break;;
|
adam@0
|
8186 esac
|
adam@0
|
8187 done
|
adam@47
|
8188 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
adam@0
|
8189
|
adam@0
|
8190
|
adam@0
|
8191 # Only perform the check for file, if the check method requires it
|
adam@0
|
8192 test -z "$MAGIC_CMD" && MAGIC_CMD=file
|
adam@0
|
8193 case $deplibs_check_method in
|
adam@0
|
8194 file_magic*)
|
adam@0
|
8195 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
adam@0
|
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
adam@0
|
8197 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
adam@64
|
8198 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
|
adam@0
|
8199 $as_echo_n "(cached) " >&6
|
adam@0
|
8200 else
|
adam@0
|
8201 case $MAGIC_CMD in
|
adam@0
|
8202 [\\/*] | ?:[\\/]*)
|
adam@0
|
8203 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
adam@0
|
8204 ;;
|
adam@0
|
8205 *)
|
adam@0
|
8206 lt_save_MAGIC_CMD="$MAGIC_CMD"
|
adam@0
|
8207 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
8208 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
|
adam@0
|
8209 for ac_dir in $ac_dummy; do
|
adam@0
|
8210 IFS="$lt_save_ifs"
|
adam@0
|
8211 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
8212 if test -f $ac_dir/${ac_tool_prefix}file; then
|
adam@0
|
8213 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
|
adam@0
|
8214 if test -n "$file_magic_test_file"; then
|
adam@0
|
8215 case $deplibs_check_method in
|
adam@0
|
8216 "file_magic "*)
|
adam@0
|
8217 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
|
adam@0
|
8218 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8219 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
adam@0
|
8220 $EGREP "$file_magic_regex" > /dev/null; then
|
adam@0
|
8221 :
|
adam@0
|
8222 else
|
adam@0
|
8223 cat <<_LT_EOF 1>&2
|
adam@0
|
8224
|
adam@0
|
8225 *** Warning: the command libtool uses to detect shared libraries,
|
adam@0
|
8226 *** $file_magic_cmd, produces output that libtool cannot recognize.
|
adam@0
|
8227 *** The result is that libtool may fail to recognize shared libraries
|
adam@0
|
8228 *** as such. This will affect the creation of libtool libraries that
|
adam@0
|
8229 *** depend on shared libraries, but programs linked with such libtool
|
adam@0
|
8230 *** libraries will work regardless of this problem. Nevertheless, you
|
adam@0
|
8231 *** may want to report the problem to your system manager and/or to
|
adam@0
|
8232 *** bug-libtool@gnu.org
|
adam@0
|
8233
|
adam@0
|
8234 _LT_EOF
|
adam@0
|
8235 fi ;;
|
adam@0
|
8236 esac
|
adam@0
|
8237 fi
|
adam@0
|
8238 break
|
adam@0
|
8239 fi
|
adam@0
|
8240 done
|
adam@0
|
8241 IFS="$lt_save_ifs"
|
adam@0
|
8242 MAGIC_CMD="$lt_save_MAGIC_CMD"
|
adam@0
|
8243 ;;
|
adam@0
|
8244 esac
|
adam@0
|
8245 fi
|
adam@0
|
8246
|
adam@0
|
8247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8248 if test -n "$MAGIC_CMD"; then
|
adam@0
|
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
adam@0
|
8250 $as_echo "$MAGIC_CMD" >&6; }
|
adam@0
|
8251 else
|
adam@0
|
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
8253 $as_echo "no" >&6; }
|
adam@0
|
8254 fi
|
adam@0
|
8255
|
adam@0
|
8256
|
adam@0
|
8257
|
adam@0
|
8258
|
adam@0
|
8259
|
adam@0
|
8260 if test -z "$lt_cv_path_MAGIC_CMD"; then
|
adam@0
|
8261 if test -n "$ac_tool_prefix"; then
|
adam@0
|
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
adam@0
|
8263 $as_echo_n "checking for file... " >&6; }
|
adam@64
|
8264 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
|
adam@0
|
8265 $as_echo_n "(cached) " >&6
|
adam@0
|
8266 else
|
adam@0
|
8267 case $MAGIC_CMD in
|
adam@0
|
8268 [\\/*] | ?:[\\/]*)
|
adam@0
|
8269 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
adam@0
|
8270 ;;
|
adam@0
|
8271 *)
|
adam@0
|
8272 lt_save_MAGIC_CMD="$MAGIC_CMD"
|
adam@0
|
8273 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
8274 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
|
adam@0
|
8275 for ac_dir in $ac_dummy; do
|
adam@0
|
8276 IFS="$lt_save_ifs"
|
adam@0
|
8277 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
8278 if test -f $ac_dir/file; then
|
adam@0
|
8279 lt_cv_path_MAGIC_CMD="$ac_dir/file"
|
adam@0
|
8280 if test -n "$file_magic_test_file"; then
|
adam@0
|
8281 case $deplibs_check_method in
|
adam@0
|
8282 "file_magic "*)
|
adam@0
|
8283 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
|
adam@0
|
8284 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8285 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
adam@0
|
8286 $EGREP "$file_magic_regex" > /dev/null; then
|
adam@0
|
8287 :
|
adam@0
|
8288 else
|
adam@0
|
8289 cat <<_LT_EOF 1>&2
|
adam@0
|
8290
|
adam@0
|
8291 *** Warning: the command libtool uses to detect shared libraries,
|
adam@0
|
8292 *** $file_magic_cmd, produces output that libtool cannot recognize.
|
adam@0
|
8293 *** The result is that libtool may fail to recognize shared libraries
|
adam@0
|
8294 *** as such. This will affect the creation of libtool libraries that
|
adam@0
|
8295 *** depend on shared libraries, but programs linked with such libtool
|
adam@0
|
8296 *** libraries will work regardless of this problem. Nevertheless, you
|
adam@0
|
8297 *** may want to report the problem to your system manager and/or to
|
adam@0
|
8298 *** bug-libtool@gnu.org
|
adam@0
|
8299
|
adam@0
|
8300 _LT_EOF
|
adam@0
|
8301 fi ;;
|
adam@0
|
8302 esac
|
adam@0
|
8303 fi
|
adam@0
|
8304 break
|
adam@0
|
8305 fi
|
adam@0
|
8306 done
|
adam@0
|
8307 IFS="$lt_save_ifs"
|
adam@0
|
8308 MAGIC_CMD="$lt_save_MAGIC_CMD"
|
adam@0
|
8309 ;;
|
adam@0
|
8310 esac
|
adam@0
|
8311 fi
|
adam@0
|
8312
|
adam@0
|
8313 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8314 if test -n "$MAGIC_CMD"; then
|
adam@0
|
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
adam@0
|
8316 $as_echo "$MAGIC_CMD" >&6; }
|
adam@0
|
8317 else
|
adam@0
|
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
8319 $as_echo "no" >&6; }
|
adam@0
|
8320 fi
|
adam@0
|
8321
|
adam@0
|
8322
|
adam@0
|
8323 else
|
adam@0
|
8324 MAGIC_CMD=:
|
adam@0
|
8325 fi
|
adam@0
|
8326 fi
|
adam@0
|
8327
|
adam@0
|
8328 fi
|
adam@0
|
8329 ;;
|
adam@0
|
8330 esac
|
adam@0
|
8331
|
adam@0
|
8332 # Use C for the default configuration in the libtool script
|
adam@0
|
8333
|
adam@0
|
8334 lt_save_CC="$CC"
|
adam@0
|
8335 ac_ext=c
|
adam@0
|
8336 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
8337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
8338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
8339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
8340
|
adam@0
|
8341
|
adam@0
|
8342 # Source file extension for C test sources.
|
adam@0
|
8343 ac_ext=c
|
adam@0
|
8344
|
adam@0
|
8345 # Object file extension for compiled C test sources.
|
adam@0
|
8346 objext=o
|
adam@0
|
8347 objext=$objext
|
adam@0
|
8348
|
adam@0
|
8349 # Code to be used in simple compile tests
|
adam@0
|
8350 lt_simple_compile_test_code="int some_variable = 0;"
|
adam@0
|
8351
|
adam@0
|
8352 # Code to be used in simple link tests
|
adam@0
|
8353 lt_simple_link_test_code='int main(){return(0);}'
|
adam@0
|
8354
|
adam@0
|
8355
|
adam@0
|
8356
|
adam@0
|
8357
|
adam@0
|
8358
|
adam@0
|
8359
|
adam@0
|
8360
|
adam@0
|
8361 # If no C compiler was specified, use CC.
|
adam@0
|
8362 LTCC=${LTCC-"$CC"}
|
adam@0
|
8363
|
adam@0
|
8364 # If no C compiler flags were specified, use CFLAGS.
|
adam@0
|
8365 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
|
adam@0
|
8366
|
adam@0
|
8367 # Allow CC to be a program name with arguments.
|
adam@0
|
8368 compiler=$CC
|
adam@0
|
8369
|
adam@0
|
8370 # Save the default compiler, since it gets overwritten when the other
|
adam@0
|
8371 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
|
adam@0
|
8372 compiler_DEFAULT=$CC
|
adam@0
|
8373
|
adam@0
|
8374 # save warnings/boilerplate of simple test code
|
adam@0
|
8375 ac_outfile=conftest.$ac_objext
|
adam@0
|
8376 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
|
adam@0
|
8377 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
adam@0
|
8378 _lt_compiler_boilerplate=`cat conftest.err`
|
adam@0
|
8379 $RM conftest*
|
adam@0
|
8380
|
adam@0
|
8381 ac_outfile=conftest.$ac_objext
|
adam@0
|
8382 echo "$lt_simple_link_test_code" >conftest.$ac_ext
|
adam@0
|
8383 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
adam@0
|
8384 _lt_linker_boilerplate=`cat conftest.err`
|
adam@0
|
8385 $RM -r conftest*
|
adam@0
|
8386
|
adam@0
|
8387
|
adam@0
|
8388 ## CAVEAT EMPTOR:
|
adam@0
|
8389 ## There is no encapsulation within the following macros, do not change
|
adam@0
|
8390 ## the running order or otherwise move them around unless you know exactly
|
adam@0
|
8391 ## what you are doing...
|
adam@0
|
8392 if test -n "$compiler"; then
|
adam@0
|
8393
|
adam@0
|
8394 lt_prog_compiler_no_builtin_flag=
|
adam@0
|
8395
|
adam@0
|
8396 if test "$GCC" = yes; then
|
adam@47
|
8397 case $cc_basename in
|
adam@47
|
8398 nvcc*)
|
adam@47
|
8399 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
|
adam@47
|
8400 *)
|
adam@47
|
8401 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
|
adam@47
|
8402 esac
|
adam@0
|
8403
|
adam@0
|
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
adam@0
|
8405 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
adam@64
|
8406 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
|
adam@0
|
8407 $as_echo_n "(cached) " >&6
|
adam@0
|
8408 else
|
adam@0
|
8409 lt_cv_prog_compiler_rtti_exceptions=no
|
adam@0
|
8410 ac_outfile=conftest.$ac_objext
|
adam@0
|
8411 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8412 lt_compiler_flag="-fno-rtti -fno-exceptions"
|
adam@0
|
8413 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8414 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8415 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8416 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8417 # The option is referenced via a variable to avoid confusing sed.
|
adam@0
|
8418 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8421 -e 's:$: $lt_compiler_flag:'`
|
adam@47
|
8422 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8423 (eval "$lt_compile" 2>conftest.err)
|
adam@0
|
8424 ac_status=$?
|
adam@0
|
8425 cat conftest.err >&5
|
adam@47
|
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8427 if (exit $ac_status) && test -s "$ac_outfile"; then
|
adam@0
|
8428 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8429 # So say no if there are warnings other than the usual output.
|
adam@47
|
8430 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
adam@0
|
8431 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@0
|
8432 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
adam@0
|
8433 lt_cv_prog_compiler_rtti_exceptions=yes
|
adam@0
|
8434 fi
|
adam@0
|
8435 fi
|
adam@0
|
8436 $RM conftest*
|
adam@0
|
8437
|
adam@0
|
8438 fi
|
adam@0
|
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
adam@0
|
8440 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
adam@0
|
8441
|
adam@0
|
8442 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
|
adam@0
|
8443 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
|
adam@0
|
8444 else
|
adam@0
|
8445 :
|
adam@0
|
8446 fi
|
adam@0
|
8447
|
adam@0
|
8448 fi
|
adam@0
|
8449
|
adam@0
|
8450
|
adam@0
|
8451
|
adam@0
|
8452
|
adam@0
|
8453
|
adam@0
|
8454
|
adam@0
|
8455 lt_prog_compiler_wl=
|
adam@0
|
8456 lt_prog_compiler_pic=
|
adam@0
|
8457 lt_prog_compiler_static=
|
adam@0
|
8458
|
adam@0
|
8459
|
adam@0
|
8460 if test "$GCC" = yes; then
|
adam@0
|
8461 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8462 lt_prog_compiler_static='-static'
|
adam@0
|
8463
|
adam@0
|
8464 case $host_os in
|
adam@0
|
8465 aix*)
|
adam@0
|
8466 # All AIX code is PIC.
|
adam@0
|
8467 if test "$host_cpu" = ia64; then
|
adam@0
|
8468 # AIX 5 now supports IA64 processor
|
adam@0
|
8469 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8470 fi
|
adam@0
|
8471 ;;
|
adam@0
|
8472
|
adam@0
|
8473 amigaos*)
|
adam@0
|
8474 case $host_cpu in
|
adam@0
|
8475 powerpc)
|
adam@0
|
8476 # see comment about AmigaOS4 .so support
|
adam@0
|
8477 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8478 ;;
|
adam@0
|
8479 m68k)
|
adam@0
|
8480 # FIXME: we need at least 68020 code to build shared libraries, but
|
adam@0
|
8481 # adding the `-m68020' flag to GCC prevents building anything better,
|
adam@0
|
8482 # like `-m68040'.
|
adam@0
|
8483 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
|
adam@0
|
8484 ;;
|
adam@0
|
8485 esac
|
adam@0
|
8486 ;;
|
adam@0
|
8487
|
adam@0
|
8488 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
adam@0
|
8489 # PIC is the default for these OSes.
|
adam@0
|
8490 ;;
|
adam@0
|
8491
|
adam@0
|
8492 mingw* | cygwin* | pw32* | os2* | cegcc*)
|
adam@0
|
8493 # This hack is so that the source file can tell whether it is being
|
adam@0
|
8494 # built for inclusion in a dll (and should export symbols for example).
|
adam@0
|
8495 # Although the cygwin gcc ignores -fPIC, still need this for old-style
|
adam@0
|
8496 # (--disable-auto-import) libraries
|
adam@0
|
8497 lt_prog_compiler_pic='-DDLL_EXPORT'
|
adam@0
|
8498 ;;
|
adam@0
|
8499
|
adam@0
|
8500 darwin* | rhapsody*)
|
adam@0
|
8501 # PIC is the default on this platform
|
adam@0
|
8502 # Common symbols not allowed in MH_DYLIB files
|
adam@0
|
8503 lt_prog_compiler_pic='-fno-common'
|
adam@0
|
8504 ;;
|
adam@0
|
8505
|
adam@47
|
8506 haiku*)
|
adam@47
|
8507 # PIC is the default for Haiku.
|
adam@47
|
8508 # The "-static" flag exists, but is broken.
|
adam@47
|
8509 lt_prog_compiler_static=
|
adam@47
|
8510 ;;
|
adam@47
|
8511
|
adam@0
|
8512 hpux*)
|
adam@0
|
8513 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
adam@0
|
8514 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
adam@0
|
8515 # sets the default TLS model and affects inlining.
|
adam@0
|
8516 case $host_cpu in
|
adam@0
|
8517 hppa*64*)
|
adam@0
|
8518 # +Z the default
|
adam@0
|
8519 ;;
|
adam@0
|
8520 *)
|
adam@0
|
8521 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8522 ;;
|
adam@0
|
8523 esac
|
adam@0
|
8524 ;;
|
adam@0
|
8525
|
adam@0
|
8526 interix[3-9]*)
|
adam@0
|
8527 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
adam@0
|
8528 # Instead, we relocate shared libraries at runtime.
|
adam@0
|
8529 ;;
|
adam@0
|
8530
|
adam@0
|
8531 msdosdjgpp*)
|
adam@0
|
8532 # Just because we use GCC doesn't mean we suddenly get shared libraries
|
adam@0
|
8533 # on systems that don't support them.
|
adam@0
|
8534 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8535 enable_shared=no
|
adam@0
|
8536 ;;
|
adam@0
|
8537
|
adam@0
|
8538 *nto* | *qnx*)
|
adam@0
|
8539 # QNX uses GNU C++, but need to define -shared option too, otherwise
|
adam@0
|
8540 # it will coredump.
|
adam@0
|
8541 lt_prog_compiler_pic='-fPIC -shared'
|
adam@0
|
8542 ;;
|
adam@0
|
8543
|
adam@0
|
8544 sysv4*MP*)
|
adam@0
|
8545 if test -d /usr/nec; then
|
adam@0
|
8546 lt_prog_compiler_pic=-Kconform_pic
|
adam@0
|
8547 fi
|
adam@0
|
8548 ;;
|
adam@0
|
8549
|
adam@0
|
8550 *)
|
adam@0
|
8551 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8552 ;;
|
adam@0
|
8553 esac
|
adam@47
|
8554
|
adam@47
|
8555 case $cc_basename in
|
adam@47
|
8556 nvcc*) # Cuda Compiler Driver 2.2
|
adam@47
|
8557 lt_prog_compiler_wl='-Xlinker '
|
adam@47
|
8558 lt_prog_compiler_pic='-Xcompiler -fPIC'
|
adam@47
|
8559 ;;
|
adam@47
|
8560 esac
|
adam@0
|
8561 else
|
adam@0
|
8562 # PORTME Check for flag to pass linker flags through the system compiler.
|
adam@0
|
8563 case $host_os in
|
adam@0
|
8564 aix*)
|
adam@0
|
8565 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8566 if test "$host_cpu" = ia64; then
|
adam@0
|
8567 # AIX 5 now supports IA64 processor
|
adam@0
|
8568 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8569 else
|
adam@0
|
8570 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
|
adam@0
|
8571 fi
|
adam@0
|
8572 ;;
|
adam@0
|
8573
|
adam@0
|
8574 mingw* | cygwin* | pw32* | os2* | cegcc*)
|
adam@0
|
8575 # This hack is so that the source file can tell whether it is being
|
adam@0
|
8576 # built for inclusion in a dll (and should export symbols for example).
|
adam@0
|
8577 lt_prog_compiler_pic='-DDLL_EXPORT'
|
adam@0
|
8578 ;;
|
adam@0
|
8579
|
adam@0
|
8580 hpux9* | hpux10* | hpux11*)
|
adam@0
|
8581 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8582 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
|
adam@0
|
8583 # not for PA HP-UX.
|
adam@0
|
8584 case $host_cpu in
|
adam@0
|
8585 hppa*64*|ia64*)
|
adam@0
|
8586 # +Z the default
|
adam@0
|
8587 ;;
|
adam@0
|
8588 *)
|
adam@0
|
8589 lt_prog_compiler_pic='+Z'
|
adam@0
|
8590 ;;
|
adam@0
|
8591 esac
|
adam@0
|
8592 # Is there a better lt_prog_compiler_static that works with the bundled CC?
|
adam@0
|
8593 lt_prog_compiler_static='${wl}-a ${wl}archive'
|
adam@0
|
8594 ;;
|
adam@0
|
8595
|
adam@0
|
8596 irix5* | irix6* | nonstopux*)
|
adam@0
|
8597 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8598 # PIC (with -KPIC) is the default.
|
adam@0
|
8599 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8600 ;;
|
adam@0
|
8601
|
adam@0
|
8602 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
8603 case $cc_basename in
|
adam@0
|
8604 # old Intel for x86_64 which still supported -KPIC.
|
adam@0
|
8605 ecc*)
|
adam@0
|
8606 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8607 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8608 lt_prog_compiler_static='-static'
|
adam@0
|
8609 ;;
|
adam@0
|
8610 # icc used to be incompatible with GCC.
|
adam@0
|
8611 # ICC 10 doesn't accept -KPIC any more.
|
adam@0
|
8612 icc* | ifort*)
|
adam@0
|
8613 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8614 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8615 lt_prog_compiler_static='-static'
|
adam@0
|
8616 ;;
|
adam@0
|
8617 # Lahey Fortran 8.1.
|
adam@0
|
8618 lf95*)
|
adam@0
|
8619 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8620 lt_prog_compiler_pic='--shared'
|
adam@0
|
8621 lt_prog_compiler_static='--static'
|
adam@0
|
8622 ;;
|
adam@47
|
8623 nagfor*)
|
adam@47
|
8624 # NAG Fortran compiler
|
adam@47
|
8625 lt_prog_compiler_wl='-Wl,-Wl,,'
|
adam@47
|
8626 lt_prog_compiler_pic='-PIC'
|
adam@47
|
8627 lt_prog_compiler_static='-Bstatic'
|
adam@47
|
8628 ;;
|
adam@47
|
8629 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
adam@0
|
8630 # Portland Group compilers (*not* the Pentium gcc compiler,
|
adam@0
|
8631 # which looks to be a dead project)
|
adam@0
|
8632 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8633 lt_prog_compiler_pic='-fpic'
|
adam@0
|
8634 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8635 ;;
|
adam@0
|
8636 ccc*)
|
adam@0
|
8637 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8638 # All Alpha code is PIC.
|
adam@0
|
8639 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8640 ;;
|
adam@47
|
8641 xl* | bgxl* | bgf* | mpixl*)
|
adam@47
|
8642 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
|
adam@0
|
8643 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8644 lt_prog_compiler_pic='-qpic'
|
adam@0
|
8645 lt_prog_compiler_static='-qstaticlink'
|
adam@0
|
8646 ;;
|
adam@0
|
8647 *)
|
adam@0
|
8648 case `$CC -V 2>&1 | sed 5q` in
|
adam@47
|
8649 *Sun\ F* | *Sun*Fortran*)
|
adam@47
|
8650 # Sun Fortran 8.3 passes all unrecognized flags to the linker
|
adam@47
|
8651 lt_prog_compiler_pic='-KPIC'
|
adam@47
|
8652 lt_prog_compiler_static='-Bstatic'
|
adam@47
|
8653 lt_prog_compiler_wl=''
|
adam@47
|
8654 ;;
|
adam@0
|
8655 *Sun\ C*)
|
adam@0
|
8656 # Sun C 5.9
|
adam@0
|
8657 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8658 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8659 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8660 ;;
|
adam@0
|
8661 esac
|
adam@0
|
8662 ;;
|
adam@0
|
8663 esac
|
adam@0
|
8664 ;;
|
adam@0
|
8665
|
adam@0
|
8666 newsos6)
|
adam@0
|
8667 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8668 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8669 ;;
|
adam@0
|
8670
|
adam@0
|
8671 *nto* | *qnx*)
|
adam@0
|
8672 # QNX uses GNU C++, but need to define -shared option too, otherwise
|
adam@0
|
8673 # it will coredump.
|
adam@0
|
8674 lt_prog_compiler_pic='-fPIC -shared'
|
adam@0
|
8675 ;;
|
adam@0
|
8676
|
adam@0
|
8677 osf3* | osf4* | osf5*)
|
adam@0
|
8678 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8679 # All OSF/1 code is PIC.
|
adam@0
|
8680 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8681 ;;
|
adam@0
|
8682
|
adam@0
|
8683 rdos*)
|
adam@0
|
8684 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8685 ;;
|
adam@0
|
8686
|
adam@0
|
8687 solaris*)
|
adam@0
|
8688 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8689 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8690 case $cc_basename in
|
adam@47
|
8691 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
|
adam@0
|
8692 lt_prog_compiler_wl='-Qoption ld ';;
|
adam@0
|
8693 *)
|
adam@0
|
8694 lt_prog_compiler_wl='-Wl,';;
|
adam@0
|
8695 esac
|
adam@0
|
8696 ;;
|
adam@0
|
8697
|
adam@0
|
8698 sunos4*)
|
adam@0
|
8699 lt_prog_compiler_wl='-Qoption ld '
|
adam@0
|
8700 lt_prog_compiler_pic='-PIC'
|
adam@0
|
8701 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8702 ;;
|
adam@0
|
8703
|
adam@0
|
8704 sysv4 | sysv4.2uw2* | sysv4.3*)
|
adam@0
|
8705 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8706 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8707 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8708 ;;
|
adam@0
|
8709
|
adam@0
|
8710 sysv4*MP*)
|
adam@0
|
8711 if test -d /usr/nec ;then
|
adam@0
|
8712 lt_prog_compiler_pic='-Kconform_pic'
|
adam@0
|
8713 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8714 fi
|
adam@0
|
8715 ;;
|
adam@0
|
8716
|
adam@0
|
8717 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
adam@0
|
8718 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8719 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8720 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8721 ;;
|
adam@0
|
8722
|
adam@0
|
8723 unicos*)
|
adam@0
|
8724 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8725 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8726 ;;
|
adam@0
|
8727
|
adam@0
|
8728 uts4*)
|
adam@0
|
8729 lt_prog_compiler_pic='-pic'
|
adam@0
|
8730 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8731 ;;
|
adam@0
|
8732
|
adam@0
|
8733 *)
|
adam@0
|
8734 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8735 ;;
|
adam@0
|
8736 esac
|
adam@0
|
8737 fi
|
adam@0
|
8738
|
adam@0
|
8739 case $host_os in
|
adam@0
|
8740 # For platforms which do not support PIC, -DPIC is meaningless:
|
adam@0
|
8741 *djgpp*)
|
adam@0
|
8742 lt_prog_compiler_pic=
|
adam@0
|
8743 ;;
|
adam@0
|
8744 *)
|
adam@0
|
8745 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
|
adam@0
|
8746 ;;
|
adam@0
|
8747 esac
|
adam@47
|
8748
|
adam@47
|
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
adam@47
|
8750 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
adam@64
|
8751 if test "${lt_cv_prog_compiler_pic+set}" = set; then :
|
adam@47
|
8752 $as_echo_n "(cached) " >&6
|
adam@47
|
8753 else
|
adam@47
|
8754 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
|
adam@47
|
8755 fi
|
adam@47
|
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
adam@47
|
8757 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
|
adam@47
|
8758 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
|
adam@0
|
8759
|
adam@0
|
8760 #
|
adam@0
|
8761 # Check to make sure the PIC flag actually works.
|
adam@0
|
8762 #
|
adam@0
|
8763 if test -n "$lt_prog_compiler_pic"; then
|
adam@0
|
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
adam@0
|
8765 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
adam@64
|
8766 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
|
adam@0
|
8767 $as_echo_n "(cached) " >&6
|
adam@0
|
8768 else
|
adam@0
|
8769 lt_cv_prog_compiler_pic_works=no
|
adam@0
|
8770 ac_outfile=conftest.$ac_objext
|
adam@0
|
8771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8772 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
|
adam@0
|
8773 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8774 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8775 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8776 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8777 # The option is referenced via a variable to avoid confusing sed.
|
adam@0
|
8778 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8781 -e 's:$: $lt_compiler_flag:'`
|
adam@47
|
8782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8783 (eval "$lt_compile" 2>conftest.err)
|
adam@0
|
8784 ac_status=$?
|
adam@0
|
8785 cat conftest.err >&5
|
adam@47
|
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8787 if (exit $ac_status) && test -s "$ac_outfile"; then
|
adam@0
|
8788 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8789 # So say no if there are warnings other than the usual output.
|
adam@47
|
8790 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
adam@0
|
8791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@0
|
8792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
adam@0
|
8793 lt_cv_prog_compiler_pic_works=yes
|
adam@0
|
8794 fi
|
adam@0
|
8795 fi
|
adam@0
|
8796 $RM conftest*
|
adam@0
|
8797
|
adam@0
|
8798 fi
|
adam@0
|
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
adam@0
|
8800 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
adam@0
|
8801
|
adam@0
|
8802 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
|
adam@0
|
8803 case $lt_prog_compiler_pic in
|
adam@0
|
8804 "" | " "*) ;;
|
adam@0
|
8805 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
|
adam@0
|
8806 esac
|
adam@0
|
8807 else
|
adam@0
|
8808 lt_prog_compiler_pic=
|
adam@0
|
8809 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8810 fi
|
adam@0
|
8811
|
adam@0
|
8812 fi
|
adam@0
|
8813
|
adam@0
|
8814
|
adam@0
|
8815
|
adam@0
|
8816
|
adam@0
|
8817
|
adam@0
|
8818
|
adam@47
|
8819
|
adam@47
|
8820
|
adam@47
|
8821
|
adam@47
|
8822
|
adam@47
|
8823
|
adam@0
|
8824 #
|
adam@0
|
8825 # Check to make sure the static flag actually works.
|
adam@0
|
8826 #
|
adam@0
|
8827 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
adam@0
|
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
adam@0
|
8829 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
adam@64
|
8830 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
|
adam@0
|
8831 $as_echo_n "(cached) " >&6
|
adam@0
|
8832 else
|
adam@0
|
8833 lt_cv_prog_compiler_static_works=no
|
adam@0
|
8834 save_LDFLAGS="$LDFLAGS"
|
adam@0
|
8835 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
adam@0
|
8836 echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
adam@0
|
8837 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
adam@0
|
8838 # The linker can only warn and ignore the option if not recognized
|
adam@0
|
8839 # So say no if there are warnings
|
adam@0
|
8840 if test -s conftest.err; then
|
adam@0
|
8841 # Append any errors to the config.log.
|
adam@0
|
8842 cat conftest.err 1>&5
|
adam@47
|
8843 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
adam@0
|
8844 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@0
|
8845 if diff conftest.exp conftest.er2 >/dev/null; then
|
adam@0
|
8846 lt_cv_prog_compiler_static_works=yes
|
adam@0
|
8847 fi
|
adam@0
|
8848 else
|
adam@0
|
8849 lt_cv_prog_compiler_static_works=yes
|
adam@0
|
8850 fi
|
adam@0
|
8851 fi
|
adam@0
|
8852 $RM -r conftest*
|
adam@0
|
8853 LDFLAGS="$save_LDFLAGS"
|
adam@0
|
8854
|
adam@0
|
8855 fi
|
adam@0
|
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
adam@0
|
8857 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
adam@0
|
8858
|
adam@0
|
8859 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
|
adam@0
|
8860 :
|
adam@0
|
8861 else
|
adam@0
|
8862 lt_prog_compiler_static=
|
adam@0
|
8863 fi
|
adam@0
|
8864
|
adam@0
|
8865
|
adam@0
|
8866
|
adam@0
|
8867
|
adam@0
|
8868
|
adam@0
|
8869
|
adam@0
|
8870
|
adam@0
|
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
adam@0
|
8872 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
adam@64
|
8873 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
|
adam@0
|
8874 $as_echo_n "(cached) " >&6
|
adam@0
|
8875 else
|
adam@0
|
8876 lt_cv_prog_compiler_c_o=no
|
adam@0
|
8877 $RM -r conftest 2>/dev/null
|
adam@0
|
8878 mkdir conftest
|
adam@0
|
8879 cd conftest
|
adam@0
|
8880 mkdir out
|
adam@0
|
8881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8882
|
adam@0
|
8883 lt_compiler_flag="-o out/conftest2.$ac_objext"
|
adam@0
|
8884 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8885 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8886 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8887 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8888 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8891 -e 's:$: $lt_compiler_flag:'`
|
adam@47
|
8892 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8893 (eval "$lt_compile" 2>out/conftest.err)
|
adam@0
|
8894 ac_status=$?
|
adam@0
|
8895 cat out/conftest.err >&5
|
adam@47
|
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8897 if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
adam@0
|
8898 then
|
adam@0
|
8899 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8900 # So say no if there are warnings
|
adam@47
|
8901 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
adam@0
|
8902 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
adam@0
|
8903 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
adam@0
|
8904 lt_cv_prog_compiler_c_o=yes
|
adam@0
|
8905 fi
|
adam@0
|
8906 fi
|
adam@0
|
8907 chmod u+w . 2>&5
|
adam@0
|
8908 $RM conftest*
|
adam@0
|
8909 # SGI C++ compiler will create directory out/ii_files/ for
|
adam@0
|
8910 # template instantiation
|
adam@0
|
8911 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
adam@0
|
8912 $RM out/* && rmdir out
|
adam@0
|
8913 cd ..
|
adam@0
|
8914 $RM -r conftest
|
adam@0
|
8915 $RM conftest*
|
adam@0
|
8916
|
adam@0
|
8917 fi
|
adam@0
|
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
adam@0
|
8919 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
adam@0
|
8920
|
adam@0
|
8921
|
adam@0
|
8922
|
adam@0
|
8923
|
adam@0
|
8924
|
adam@0
|
8925
|
adam@0
|
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
adam@0
|
8927 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
adam@64
|
8928 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
|
adam@0
|
8929 $as_echo_n "(cached) " >&6
|
adam@0
|
8930 else
|
adam@0
|
8931 lt_cv_prog_compiler_c_o=no
|
adam@0
|
8932 $RM -r conftest 2>/dev/null
|
adam@0
|
8933 mkdir conftest
|
adam@0
|
8934 cd conftest
|
adam@0
|
8935 mkdir out
|
adam@0
|
8936 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8937
|
adam@0
|
8938 lt_compiler_flag="-o out/conftest2.$ac_objext"
|
adam@0
|
8939 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8940 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8941 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8942 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8943 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8946 -e 's:$: $lt_compiler_flag:'`
|
adam@47
|
8947 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8948 (eval "$lt_compile" 2>out/conftest.err)
|
adam@0
|
8949 ac_status=$?
|
adam@0
|
8950 cat out/conftest.err >&5
|
adam@47
|
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8952 if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
adam@0
|
8953 then
|
adam@0
|
8954 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8955 # So say no if there are warnings
|
adam@47
|
8956 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
adam@0
|
8957 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
adam@0
|
8958 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
adam@0
|
8959 lt_cv_prog_compiler_c_o=yes
|
adam@0
|
8960 fi
|
adam@0
|
8961 fi
|
adam@0
|
8962 chmod u+w . 2>&5
|
adam@0
|
8963 $RM conftest*
|
adam@0
|
8964 # SGI C++ compiler will create directory out/ii_files/ for
|
adam@0
|
8965 # template instantiation
|
adam@0
|
8966 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
adam@0
|
8967 $RM out/* && rmdir out
|
adam@0
|
8968 cd ..
|
adam@0
|
8969 $RM -r conftest
|
adam@0
|
8970 $RM conftest*
|
adam@0
|
8971
|
adam@0
|
8972 fi
|
adam@0
|
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
adam@0
|
8974 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
adam@0
|
8975
|
adam@0
|
8976
|
adam@0
|
8977
|
adam@0
|
8978
|
adam@0
|
8979 hard_links="nottested"
|
adam@0
|
8980 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
|
adam@0
|
8981 # do not overwrite the value of need_locks provided by the user
|
adam@0
|
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
adam@0
|
8983 $as_echo_n "checking if we can lock with hard links... " >&6; }
|
adam@0
|
8984 hard_links=yes
|
adam@0
|
8985 $RM conftest*
|
adam@0
|
8986 ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
adam@0
|
8987 touch conftest.a
|
adam@0
|
8988 ln conftest.a conftest.b 2>&5 || hard_links=no
|
adam@0
|
8989 ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
adam@0
|
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
adam@0
|
8991 $as_echo "$hard_links" >&6; }
|
adam@0
|
8992 if test "$hard_links" = no; then
|
adam@0
|
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
adam@0
|
8994 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
adam@0
|
8995 need_locks=warn
|
adam@0
|
8996 fi
|
adam@0
|
8997 else
|
adam@0
|
8998 need_locks=no
|
adam@0
|
8999 fi
|
adam@0
|
9000
|
adam@0
|
9001
|
adam@0
|
9002
|
adam@0
|
9003
|
adam@0
|
9004
|
adam@0
|
9005
|
adam@0
|
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
adam@0
|
9007 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
adam@0
|
9008
|
adam@0
|
9009 runpath_var=
|
adam@0
|
9010 allow_undefined_flag=
|
adam@0
|
9011 always_export_symbols=no
|
adam@0
|
9012 archive_cmds=
|
adam@0
|
9013 archive_expsym_cmds=
|
adam@0
|
9014 compiler_needs_object=no
|
adam@0
|
9015 enable_shared_with_static_runtimes=no
|
adam@0
|
9016 export_dynamic_flag_spec=
|
adam@0
|
9017 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
adam@0
|
9018 hardcode_automatic=no
|
adam@0
|
9019 hardcode_direct=no
|
adam@0
|
9020 hardcode_direct_absolute=no
|
adam@0
|
9021 hardcode_libdir_flag_spec=
|
adam@0
|
9022 hardcode_libdir_flag_spec_ld=
|
adam@0
|
9023 hardcode_libdir_separator=
|
adam@0
|
9024 hardcode_minus_L=no
|
adam@0
|
9025 hardcode_shlibpath_var=unsupported
|
adam@0
|
9026 inherit_rpath=no
|
adam@0
|
9027 link_all_deplibs=unknown
|
adam@0
|
9028 module_cmds=
|
adam@0
|
9029 module_expsym_cmds=
|
adam@0
|
9030 old_archive_from_new_cmds=
|
adam@0
|
9031 old_archive_from_expsyms_cmds=
|
adam@0
|
9032 thread_safe_flag_spec=
|
adam@0
|
9033 whole_archive_flag_spec=
|
adam@0
|
9034 # include_expsyms should be a list of space-separated symbols to be *always*
|
adam@0
|
9035 # included in the symbol list
|
adam@0
|
9036 include_expsyms=
|
adam@0
|
9037 # exclude_expsyms can be an extended regexp of symbols to exclude
|
adam@0
|
9038 # it will be wrapped by ` (' and `)$', so one must not match beginning or
|
adam@0
|
9039 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
|
adam@0
|
9040 # as well as any symbol that contains `d'.
|
adam@0
|
9041 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
adam@0
|
9042 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
|
adam@0
|
9043 # platforms (ab)use it in PIC code, but their linkers get confused if
|
adam@0
|
9044 # the symbol is explicitly referenced. Since portable code cannot
|
adam@0
|
9045 # rely on this symbol name, it's probably fine to never include it in
|
adam@0
|
9046 # preloaded symbol tables.
|
adam@0
|
9047 # Exclude shared library initialization/finalization symbols.
|
adam@0
|
9048 extract_expsyms_cmds=
|
adam@0
|
9049
|
adam@0
|
9050 case $host_os in
|
adam@0
|
9051 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
9052 # FIXME: the MSVC++ port hasn't been tested in a loooong time
|
adam@0
|
9053 # When not using gcc, we currently assume that we are using
|
adam@0
|
9054 # Microsoft Visual C++.
|
adam@0
|
9055 if test "$GCC" != yes; then
|
adam@0
|
9056 with_gnu_ld=no
|
adam@0
|
9057 fi
|
adam@0
|
9058 ;;
|
adam@0
|
9059 interix*)
|
adam@0
|
9060 # we just hope/assume this is gcc and not c89 (= MSVC++)
|
adam@0
|
9061 with_gnu_ld=yes
|
adam@0
|
9062 ;;
|
adam@0
|
9063 openbsd*)
|
adam@0
|
9064 with_gnu_ld=no
|
adam@0
|
9065 ;;
|
adam@47
|
9066 linux* | k*bsd*-gnu | gnu*)
|
adam@0
|
9067 link_all_deplibs=no
|
adam@0
|
9068 ;;
|
adam@0
|
9069 esac
|
adam@0
|
9070
|
adam@0
|
9071 ld_shlibs=yes
|
adam@47
|
9072
|
adam@47
|
9073 # On some targets, GNU ld is compatible enough with the native linker
|
adam@47
|
9074 # that we're better off using the native interface for both.
|
adam@47
|
9075 lt_use_gnu_ld_interface=no
|
adam@0
|
9076 if test "$with_gnu_ld" = yes; then
|
adam@47
|
9077 case $host_os in
|
adam@47
|
9078 aix*)
|
adam@47
|
9079 # The AIX port of GNU ld has always aspired to compatibility
|
adam@47
|
9080 # with the native linker. However, as the warning in the GNU ld
|
adam@47
|
9081 # block says, versions before 2.19.5* couldn't really create working
|
adam@47
|
9082 # shared libraries, regardless of the interface used.
|
adam@47
|
9083 case `$LD -v 2>&1` in
|
adam@47
|
9084 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
|
adam@47
|
9085 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
|
adam@47
|
9086 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
|
adam@47
|
9087 *)
|
adam@47
|
9088 lt_use_gnu_ld_interface=yes
|
adam@47
|
9089 ;;
|
adam@47
|
9090 esac
|
adam@47
|
9091 ;;
|
adam@47
|
9092 *)
|
adam@47
|
9093 lt_use_gnu_ld_interface=yes
|
adam@47
|
9094 ;;
|
adam@47
|
9095 esac
|
adam@47
|
9096 fi
|
adam@47
|
9097
|
adam@47
|
9098 if test "$lt_use_gnu_ld_interface" = yes; then
|
adam@0
|
9099 # If archive_cmds runs LD, not CC, wlarc should be empty
|
adam@0
|
9100 wlarc='${wl}'
|
adam@0
|
9101
|
adam@0
|
9102 # Set some defaults for GNU ld with shared library support. These
|
adam@0
|
9103 # are reset later if shared libraries are not supported. Putting them
|
adam@0
|
9104 # here allows them to be overridden if necessary.
|
adam@0
|
9105 runpath_var=LD_RUN_PATH
|
adam@0
|
9106 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9107 export_dynamic_flag_spec='${wl}--export-dynamic'
|
adam@0
|
9108 # ancient GNU ld didn't support --whole-archive et. al.
|
adam@0
|
9109 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
|
adam@0
|
9110 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
adam@0
|
9111 else
|
adam@0
|
9112 whole_archive_flag_spec=
|
adam@0
|
9113 fi
|
adam@0
|
9114 supports_anon_versioning=no
|
adam@0
|
9115 case `$LD -v 2>&1` in
|
adam@0
|
9116 *GNU\ gold*) supports_anon_versioning=yes ;;
|
adam@0
|
9117 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
adam@0
|
9118 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
adam@0
|
9119 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
|
adam@0
|
9120 *\ 2.11.*) ;; # other 2.11 versions
|
adam@0
|
9121 *) supports_anon_versioning=yes ;;
|
adam@0
|
9122 esac
|
adam@0
|
9123
|
adam@0
|
9124 # See if GNU ld supports shared libraries.
|
adam@0
|
9125 case $host_os in
|
adam@0
|
9126 aix[3-9]*)
|
adam@0
|
9127 # On AIX/PPC, the GNU linker is very broken
|
adam@0
|
9128 if test "$host_cpu" != ia64; then
|
adam@0
|
9129 ld_shlibs=no
|
adam@0
|
9130 cat <<_LT_EOF 1>&2
|
adam@0
|
9131
|
adam@47
|
9132 *** Warning: the GNU linker, at least up to release 2.19, is reported
|
adam@0
|
9133 *** to be unable to reliably create shared libraries on AIX.
|
adam@0
|
9134 *** Therefore, libtool is disabling shared libraries support. If you
|
adam@47
|
9135 *** really care for shared libraries, you may want to install binutils
|
adam@47
|
9136 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
|
adam@47
|
9137 *** You will then need to restart the configuration process.
|
adam@0
|
9138
|
adam@0
|
9139 _LT_EOF
|
adam@0
|
9140 fi
|
adam@0
|
9141 ;;
|
adam@0
|
9142
|
adam@0
|
9143 amigaos*)
|
adam@0
|
9144 case $host_cpu in
|
adam@0
|
9145 powerpc)
|
adam@0
|
9146 # see comment about AmigaOS4 .so support
|
adam@0
|
9147 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9148 archive_expsym_cmds=''
|
adam@0
|
9149 ;;
|
adam@0
|
9150 m68k)
|
adam@0
|
9151 archive_cmds='$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)'
|
adam@0
|
9152 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9153 hardcode_minus_L=yes
|
adam@0
|
9154 ;;
|
adam@0
|
9155 esac
|
adam@0
|
9156 ;;
|
adam@0
|
9157
|
adam@0
|
9158 beos*)
|
adam@0
|
9159 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@0
|
9160 allow_undefined_flag=unsupported
|
adam@0
|
9161 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
adam@0
|
9162 # support --undefined. This deserves some investigation. FIXME
|
adam@0
|
9163 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9164 else
|
adam@0
|
9165 ld_shlibs=no
|
adam@0
|
9166 fi
|
adam@0
|
9167 ;;
|
adam@0
|
9168
|
adam@0
|
9169 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
9170 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
|
adam@0
|
9171 # as there is no search path for DLLs.
|
adam@0
|
9172 hardcode_libdir_flag_spec='-L$libdir'
|
adam@47
|
9173 export_dynamic_flag_spec='${wl}--export-all-symbols'
|
adam@0
|
9174 allow_undefined_flag=unsupported
|
adam@0
|
9175 always_export_symbols=no
|
adam@0
|
9176 enable_shared_with_static_runtimes=yes
|
adam@47
|
9177 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
|
adam@47
|
9178 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
|
adam@0
|
9179
|
adam@0
|
9180 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
|
adam@0
|
9181 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
adam@0
|
9182 # If the export-symbols file already is a .def file (1st line
|
adam@0
|
9183 # is EXPORTS), use it as is; otherwise, prepend...
|
adam@0
|
9184 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
adam@0
|
9185 cp $export_symbols $output_objdir/$soname.def;
|
adam@0
|
9186 else
|
adam@0
|
9187 echo EXPORTS > $output_objdir/$soname.def;
|
adam@0
|
9188 cat $export_symbols >> $output_objdir/$soname.def;
|
adam@0
|
9189 fi~
|
adam@0
|
9190 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
adam@0
|
9191 else
|
adam@0
|
9192 ld_shlibs=no
|
adam@0
|
9193 fi
|
adam@0
|
9194 ;;
|
adam@0
|
9195
|
adam@47
|
9196 haiku*)
|
adam@47
|
9197 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@47
|
9198 link_all_deplibs=yes
|
adam@47
|
9199 ;;
|
adam@47
|
9200
|
adam@0
|
9201 interix[3-9]*)
|
adam@0
|
9202 hardcode_direct=no
|
adam@0
|
9203 hardcode_shlibpath_var=no
|
adam@0
|
9204 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
adam@0
|
9205 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9206 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
|
adam@0
|
9207 # Instead, shared libraries are loaded at an image base (0x10000000 by
|
adam@0
|
9208 # default) and relocated if they conflict, which is a slow very memory
|
adam@0
|
9209 # consuming and fragmenting process. To avoid this, we pick a random,
|
adam@0
|
9210 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
adam@0
|
9211 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
adam@0
|
9212 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
adam@0
|
9213 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
adam@0
|
9214 ;;
|
adam@0
|
9215
|
adam@0
|
9216 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
9217 tmp_diet=no
|
adam@0
|
9218 if test "$host_os" = linux-dietlibc; then
|
adam@0
|
9219 case $cc_basename in
|
adam@0
|
9220 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
|
adam@0
|
9221 esac
|
adam@0
|
9222 fi
|
adam@0
|
9223 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
|
adam@0
|
9224 && test "$tmp_diet" = no
|
adam@0
|
9225 then
|
adam@47
|
9226 tmp_addflag=' $pic_flag'
|
adam@0
|
9227 tmp_sharedflag='-shared'
|
adam@0
|
9228 case $cc_basename,$host_cpu in
|
adam@0
|
9229 pgcc*) # Portland Group C compiler
|
adam@47
|
9230 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
adam@0
|
9231 tmp_addflag=' $pic_flag'
|
adam@0
|
9232 ;;
|
adam@47
|
9233 pgf77* | pgf90* | pgf95* | pgfortran*)
|
adam@47
|
9234 # Portland Group f77 and f90 compilers
|
adam@47
|
9235 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
adam@0
|
9236 tmp_addflag=' $pic_flag -Mnomain' ;;
|
adam@0
|
9237 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
|
adam@0
|
9238 tmp_addflag=' -i_dynamic' ;;
|
adam@0
|
9239 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
|
adam@0
|
9240 tmp_addflag=' -i_dynamic -nofor_main' ;;
|
adam@0
|
9241 ifc* | ifort*) # Intel Fortran compiler
|
adam@0
|
9242 tmp_addflag=' -nofor_main' ;;
|
adam@0
|
9243 lf95*) # Lahey Fortran 8.1
|
adam@0
|
9244 whole_archive_flag_spec=
|
adam@0
|
9245 tmp_sharedflag='--shared' ;;
|
adam@47
|
9246 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
|
adam@0
|
9247 tmp_sharedflag='-qmkshrobj'
|
adam@0
|
9248 tmp_addflag= ;;
|
adam@47
|
9249 nvcc*) # Cuda Compiler Driver 2.2
|
adam@47
|
9250 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
adam@47
|
9251 compiler_needs_object=yes
|
adam@47
|
9252 ;;
|
adam@0
|
9253 esac
|
adam@0
|
9254 case `$CC -V 2>&1 | sed 5q` in
|
adam@0
|
9255 *Sun\ C*) # Sun C 5.9
|
adam@47
|
9256 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
adam@0
|
9257 compiler_needs_object=yes
|
adam@0
|
9258 tmp_sharedflag='-G' ;;
|
adam@0
|
9259 *Sun\ F*) # Sun Fortran 8.3
|
adam@0
|
9260 tmp_sharedflag='-G' ;;
|
adam@0
|
9261 esac
|
adam@0
|
9262 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9263
|
adam@0
|
9264 if test "x$supports_anon_versioning" = xyes; then
|
adam@0
|
9265 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
adam@0
|
9266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
adam@0
|
9267 echo "local: *; };" >> $output_objdir/$libname.ver~
|
adam@0
|
9268 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
adam@0
|
9269 fi
|
adam@0
|
9270
|
adam@0
|
9271 case $cc_basename in
|
adam@47
|
9272 xlf* | bgf* | bgxlf* | mpixlf*)
|
adam@0
|
9273 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
adam@0
|
9274 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
|
adam@0
|
9275 hardcode_libdir_flag_spec=
|
adam@0
|
9276 hardcode_libdir_flag_spec_ld='-rpath $libdir'
|
adam@47
|
9277 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
adam@0
|
9278 if test "x$supports_anon_versioning" = xyes; then
|
adam@0
|
9279 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
adam@0
|
9280 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
adam@0
|
9281 echo "local: *; };" >> $output_objdir/$libname.ver~
|
adam@47
|
9282 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
adam@0
|
9283 fi
|
adam@0
|
9284 ;;
|
adam@0
|
9285 esac
|
adam@0
|
9286 else
|
adam@0
|
9287 ld_shlibs=no
|
adam@0
|
9288 fi
|
adam@0
|
9289 ;;
|
adam@0
|
9290
|
adam@0
|
9291 netbsd* | netbsdelf*-gnu)
|
adam@0
|
9292 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@0
|
9293 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
adam@0
|
9294 wlarc=
|
adam@0
|
9295 else
|
adam@47
|
9296 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@47
|
9297 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9298 fi
|
adam@0
|
9299 ;;
|
adam@0
|
9300
|
adam@0
|
9301 solaris*)
|
adam@0
|
9302 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
adam@0
|
9303 ld_shlibs=no
|
adam@0
|
9304 cat <<_LT_EOF 1>&2
|
adam@0
|
9305
|
adam@0
|
9306 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
|
adam@0
|
9307 *** create shared libraries on Solaris systems. Therefore, libtool
|
adam@0
|
9308 *** is disabling shared libraries support. We urge you to upgrade GNU
|
adam@0
|
9309 *** binutils to release 2.9.1 or newer. Another option is to modify
|
adam@0
|
9310 *** your PATH or compiler configuration so that the native linker is
|
adam@0
|
9311 *** used, and then restart.
|
adam@0
|
9312
|
adam@0
|
9313 _LT_EOF
|
adam@0
|
9314 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@47
|
9315 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@47
|
9316 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9317 else
|
adam@0
|
9318 ld_shlibs=no
|
adam@0
|
9319 fi
|
adam@0
|
9320 ;;
|
adam@0
|
9321
|
adam@0
|
9322 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
adam@0
|
9323 case `$LD -v 2>&1` in
|
adam@0
|
9324 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
adam@0
|
9325 ld_shlibs=no
|
adam@0
|
9326 cat <<_LT_EOF 1>&2
|
adam@0
|
9327
|
adam@0
|
9328 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
|
adam@0
|
9329 *** reliably create shared libraries on SCO systems. Therefore, libtool
|
adam@0
|
9330 *** is disabling shared libraries support. We urge you to upgrade GNU
|
adam@0
|
9331 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
|
adam@0
|
9332 *** your PATH or compiler configuration so that the native linker is
|
adam@0
|
9333 *** used, and then restart.
|
adam@0
|
9334
|
adam@0
|
9335 _LT_EOF
|
adam@0
|
9336 ;;
|
adam@0
|
9337 *)
|
adam@0
|
9338 # For security reasons, it is highly recommended that you always
|
adam@0
|
9339 # use absolute paths for naming shared libraries, and exclude the
|
adam@0
|
9340 # DT_RUNPATH tag from executables and libraries. But doing so
|
adam@0
|
9341 # requires that you compile everything twice, which is a pain.
|
adam@0
|
9342 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@0
|
9343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9345 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9346 else
|
adam@0
|
9347 ld_shlibs=no
|
adam@0
|
9348 fi
|
adam@0
|
9349 ;;
|
adam@0
|
9350 esac
|
adam@0
|
9351 ;;
|
adam@0
|
9352
|
adam@0
|
9353 sunos4*)
|
adam@0
|
9354 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9355 wlarc=
|
adam@0
|
9356 hardcode_direct=yes
|
adam@0
|
9357 hardcode_shlibpath_var=no
|
adam@0
|
9358 ;;
|
adam@0
|
9359
|
adam@0
|
9360 *)
|
adam@0
|
9361 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@47
|
9362 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@47
|
9363 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9364 else
|
adam@0
|
9365 ld_shlibs=no
|
adam@0
|
9366 fi
|
adam@0
|
9367 ;;
|
adam@0
|
9368 esac
|
adam@0
|
9369
|
adam@0
|
9370 if test "$ld_shlibs" = no; then
|
adam@0
|
9371 runpath_var=
|
adam@0
|
9372 hardcode_libdir_flag_spec=
|
adam@0
|
9373 export_dynamic_flag_spec=
|
adam@0
|
9374 whole_archive_flag_spec=
|
adam@0
|
9375 fi
|
adam@0
|
9376 else
|
adam@0
|
9377 # PORTME fill in a description of your system's linker (not GNU ld)
|
adam@0
|
9378 case $host_os in
|
adam@0
|
9379 aix3*)
|
adam@0
|
9380 allow_undefined_flag=unsupported
|
adam@0
|
9381 always_export_symbols=yes
|
adam@0
|
9382 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
|
adam@0
|
9383 # Note: this linker hardcodes the directories in LIBPATH if there
|
adam@0
|
9384 # are no directories specified by -L.
|
adam@0
|
9385 hardcode_minus_L=yes
|
adam@0
|
9386 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
|
adam@0
|
9387 # Neither direct hardcoding nor static linking is supported with a
|
adam@0
|
9388 # broken collect2.
|
adam@0
|
9389 hardcode_direct=unsupported
|
adam@0
|
9390 fi
|
adam@0
|
9391 ;;
|
adam@0
|
9392
|
adam@0
|
9393 aix[4-9]*)
|
adam@0
|
9394 if test "$host_cpu" = ia64; then
|
adam@0
|
9395 # On IA64, the linker does run time linking by default, so we don't
|
adam@0
|
9396 # have to do anything special.
|
adam@0
|
9397 aix_use_runtimelinking=no
|
adam@0
|
9398 exp_sym_flag='-Bexport'
|
adam@0
|
9399 no_entry_flag=""
|
adam@0
|
9400 else
|
adam@0
|
9401 # If we're using GNU nm, then we don't want the "-C" option.
|
adam@0
|
9402 # -C means demangle to AIX nm, but means don't demangle with GNU nm
|
adam@47
|
9403 # Also, AIX nm treats weak defined symbols like other global
|
adam@47
|
9404 # defined symbols, whereas GNU nm marks them as "W".
|
adam@0
|
9405 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
adam@47
|
9406 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
adam@0
|
9407 else
|
adam@0
|
9408 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
adam@0
|
9409 fi
|
adam@0
|
9410 aix_use_runtimelinking=no
|
adam@0
|
9411
|
adam@0
|
9412 # Test if we are trying to use run time linking or normal
|
adam@0
|
9413 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
adam@0
|
9414 # need to do runtime linking.
|
adam@0
|
9415 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
adam@0
|
9416 for ld_flag in $LDFLAGS; do
|
adam@0
|
9417 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
adam@0
|
9418 aix_use_runtimelinking=yes
|
adam@0
|
9419 break
|
adam@0
|
9420 fi
|
adam@0
|
9421 done
|
adam@0
|
9422 ;;
|
adam@0
|
9423 esac
|
adam@0
|
9424
|
adam@0
|
9425 exp_sym_flag='-bexport'
|
adam@0
|
9426 no_entry_flag='-bnoentry'
|
adam@0
|
9427 fi
|
adam@0
|
9428
|
adam@0
|
9429 # When large executables or shared objects are built, AIX ld can
|
adam@0
|
9430 # have problems creating the table of contents. If linking a library
|
adam@0
|
9431 # or program results in "error TOC overflow" add -mminimal-toc to
|
adam@0
|
9432 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
adam@0
|
9433 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
adam@0
|
9434
|
adam@0
|
9435 archive_cmds=''
|
adam@0
|
9436 hardcode_direct=yes
|
adam@0
|
9437 hardcode_direct_absolute=yes
|
adam@0
|
9438 hardcode_libdir_separator=':'
|
adam@0
|
9439 link_all_deplibs=yes
|
adam@0
|
9440 file_list_spec='${wl}-f,'
|
adam@0
|
9441
|
adam@0
|
9442 if test "$GCC" = yes; then
|
adam@0
|
9443 case $host_os in aix4.[012]|aix4.[012].*)
|
adam@0
|
9444 # We only want to do this on AIX 4.2 and lower, the check
|
adam@0
|
9445 # below for broken collect2 doesn't work under 4.3+
|
adam@0
|
9446 collect2name=`${CC} -print-prog-name=collect2`
|
adam@0
|
9447 if test -f "$collect2name" &&
|
adam@0
|
9448 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
|
adam@0
|
9449 then
|
adam@0
|
9450 # We have reworked collect2
|
adam@0
|
9451 :
|
adam@0
|
9452 else
|
adam@0
|
9453 # We have old collect2
|
adam@0
|
9454 hardcode_direct=unsupported
|
adam@0
|
9455 # It fails to find uninstalled libraries when the uninstalled
|
adam@0
|
9456 # path is not listed in the libpath. Setting hardcode_minus_L
|
adam@0
|
9457 # to unsupported forces relinking
|
adam@0
|
9458 hardcode_minus_L=yes
|
adam@0
|
9459 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9460 hardcode_libdir_separator=
|
adam@0
|
9461 fi
|
adam@0
|
9462 ;;
|
adam@0
|
9463 esac
|
adam@0
|
9464 shared_flag='-shared'
|
adam@0
|
9465 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
9466 shared_flag="$shared_flag "'${wl}-G'
|
adam@0
|
9467 fi
|
adam@0
|
9468 link_all_deplibs=no
|
adam@0
|
9469 else
|
adam@0
|
9470 # not using gcc
|
adam@0
|
9471 if test "$host_cpu" = ia64; then
|
adam@0
|
9472 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
|
adam@0
|
9473 # chokes on -Wl,-G. The following line is correct:
|
adam@0
|
9474 shared_flag='-G'
|
adam@0
|
9475 else
|
adam@0
|
9476 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
9477 shared_flag='${wl}-G'
|
adam@0
|
9478 else
|
adam@0
|
9479 shared_flag='${wl}-bM:SRE'
|
adam@0
|
9480 fi
|
adam@0
|
9481 fi
|
adam@0
|
9482 fi
|
adam@0
|
9483
|
adam@0
|
9484 export_dynamic_flag_spec='${wl}-bexpall'
|
adam@0
|
9485 # It seems that -bexpall does not export symbols beginning with
|
adam@0
|
9486 # underscore (_), so it is better to generate a list of symbols to export.
|
adam@0
|
9487 always_export_symbols=yes
|
adam@0
|
9488 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
9489 # Warning - without using the other runtime loading flags (-brtl),
|
adam@0
|
9490 # -berok will link without error, but may produce a broken library.
|
adam@0
|
9491 allow_undefined_flag='-berok'
|
adam@0
|
9492 # Determine the default libpath from the value encoded in an
|
adam@0
|
9493 # empty executable.
|
adam@47
|
9494 if test "${lt_cv_aix_libpath+set}" = set; then
|
adam@47
|
9495 aix_libpath=$lt_cv_aix_libpath
|
adam@47
|
9496 else
|
adam@64
|
9497 if test "${lt_cv_aix_libpath_+set}" = set; then :
|
adam@47
|
9498 $as_echo_n "(cached) " >&6
|
adam@47
|
9499 else
|
adam@47
|
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
9501 /* end confdefs.h. */
|
adam@0
|
9502
|
adam@0
|
9503 int
|
adam@0
|
9504 main ()
|
adam@0
|
9505 {
|
adam@0
|
9506
|
adam@0
|
9507 ;
|
adam@0
|
9508 return 0;
|
adam@0
|
9509 }
|
adam@0
|
9510 _ACEOF
|
adam@0
|
9511 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
9512
|
adam@47
|
9513 lt_aix_libpath_sed='
|
adam@47
|
9514 /Import File Strings/,/^$/ {
|
adam@47
|
9515 /^0/ {
|
adam@47
|
9516 s/^0 *\([^ ]*\) *$/\1/
|
adam@47
|
9517 p
|
adam@47
|
9518 }
|
adam@47
|
9519 }'
|
adam@47
|
9520 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
9521 # Check for a 64-bit object if we didn't find anything.
|
adam@47
|
9522 if test -z "$lt_cv_aix_libpath_"; then
|
adam@47
|
9523 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
9524 fi
|
adam@0
|
9525 fi
|
adam@0
|
9526 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
9527 conftest$ac_exeext conftest.$ac_ext
|
adam@47
|
9528 if test -z "$lt_cv_aix_libpath_"; then
|
adam@47
|
9529 lt_cv_aix_libpath_="/usr/lib:/lib"
|
adam@47
|
9530 fi
|
adam@47
|
9531
|
adam@47
|
9532 fi
|
adam@47
|
9533
|
adam@47
|
9534 aix_libpath=$lt_cv_aix_libpath_
|
adam@47
|
9535 fi
|
adam@0
|
9536
|
adam@0
|
9537 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
adam@47
|
9538 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
|
adam@0
|
9539 else
|
adam@0
|
9540 if test "$host_cpu" = ia64; then
|
adam@0
|
9541 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
adam@0
|
9542 allow_undefined_flag="-z nodefs"
|
adam@0
|
9543 archive_expsym_cmds="\$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"
|
adam@0
|
9544 else
|
adam@0
|
9545 # Determine the default libpath from the value encoded in an
|
adam@0
|
9546 # empty executable.
|
adam@47
|
9547 if test "${lt_cv_aix_libpath+set}" = set; then
|
adam@47
|
9548 aix_libpath=$lt_cv_aix_libpath
|
adam@47
|
9549 else
|
adam@64
|
9550 if test "${lt_cv_aix_libpath_+set}" = set; then :
|
adam@47
|
9551 $as_echo_n "(cached) " >&6
|
adam@47
|
9552 else
|
adam@47
|
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
9554 /* end confdefs.h. */
|
adam@0
|
9555
|
adam@0
|
9556 int
|
adam@0
|
9557 main ()
|
adam@0
|
9558 {
|
adam@0
|
9559
|
adam@0
|
9560 ;
|
adam@0
|
9561 return 0;
|
adam@0
|
9562 }
|
adam@0
|
9563 _ACEOF
|
adam@0
|
9564 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
9565
|
adam@47
|
9566 lt_aix_libpath_sed='
|
adam@47
|
9567 /Import File Strings/,/^$/ {
|
adam@47
|
9568 /^0/ {
|
adam@47
|
9569 s/^0 *\([^ ]*\) *$/\1/
|
adam@47
|
9570 p
|
adam@47
|
9571 }
|
adam@47
|
9572 }'
|
adam@47
|
9573 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
9574 # Check for a 64-bit object if we didn't find anything.
|
adam@47
|
9575 if test -z "$lt_cv_aix_libpath_"; then
|
adam@47
|
9576 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
9577 fi
|
adam@0
|
9578 fi
|
adam@0
|
9579 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
9580 conftest$ac_exeext conftest.$ac_ext
|
adam@47
|
9581 if test -z "$lt_cv_aix_libpath_"; then
|
adam@47
|
9582 lt_cv_aix_libpath_="/usr/lib:/lib"
|
adam@47
|
9583 fi
|
adam@47
|
9584
|
adam@47
|
9585 fi
|
adam@47
|
9586
|
adam@47
|
9587 aix_libpath=$lt_cv_aix_libpath_
|
adam@47
|
9588 fi
|
adam@0
|
9589
|
adam@0
|
9590 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
adam@0
|
9591 # Warning - without using the other run time loading flags,
|
adam@0
|
9592 # -berok will link without error, but may produce a broken library.
|
adam@0
|
9593 no_undefined_flag=' ${wl}-bernotok'
|
adam@0
|
9594 allow_undefined_flag=' ${wl}-berok'
|
adam@47
|
9595 if test "$with_gnu_ld" = yes; then
|
adam@47
|
9596 # We only use this code for GNU lds that support --whole-archive.
|
adam@47
|
9597 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
|
adam@47
|
9598 else
|
adam@47
|
9599 # Exported symbols can be pulled into shared objects from archives
|
adam@47
|
9600 whole_archive_flag_spec='$convenience'
|
adam@47
|
9601 fi
|
adam@0
|
9602 archive_cmds_need_lc=yes
|
adam@0
|
9603 # This is similar to how AIX traditionally builds its shared libraries.
|
adam@0
|
9604 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
|
adam@0
|
9605 fi
|
adam@0
|
9606 fi
|
adam@0
|
9607 ;;
|
adam@0
|
9608
|
adam@0
|
9609 amigaos*)
|
adam@0
|
9610 case $host_cpu in
|
adam@0
|
9611 powerpc)
|
adam@0
|
9612 # see comment about AmigaOS4 .so support
|
adam@0
|
9613 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9614 archive_expsym_cmds=''
|
adam@0
|
9615 ;;
|
adam@0
|
9616 m68k)
|
adam@0
|
9617 archive_cmds='$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)'
|
adam@0
|
9618 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9619 hardcode_minus_L=yes
|
adam@0
|
9620 ;;
|
adam@0
|
9621 esac
|
adam@0
|
9622 ;;
|
adam@0
|
9623
|
adam@0
|
9624 bsdi[45]*)
|
adam@0
|
9625 export_dynamic_flag_spec=-rdynamic
|
adam@0
|
9626 ;;
|
adam@0
|
9627
|
adam@0
|
9628 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
9629 # When not using gcc, we currently assume that we are using
|
adam@0
|
9630 # Microsoft Visual C++.
|
adam@0
|
9631 # hardcode_libdir_flag_spec is actually meaningless, as there is
|
adam@0
|
9632 # no search path for DLLs.
|
adam@47
|
9633 case $cc_basename in
|
adam@47
|
9634 cl*)
|
adam@47
|
9635 # Native MSVC
|
adam@47
|
9636 hardcode_libdir_flag_spec=' '
|
adam@47
|
9637 allow_undefined_flag=unsupported
|
adam@47
|
9638 always_export_symbols=yes
|
adam@47
|
9639 file_list_spec='@'
|
adam@47
|
9640 # Tell ltmain to make .lib files, not .a files.
|
adam@47
|
9641 libext=lib
|
adam@47
|
9642 # Tell ltmain to make .dll files, not .so files.
|
adam@47
|
9643 shrext_cmds=".dll"
|
adam@47
|
9644 # FIXME: Setting linknames here is a bad hack.
|
adam@47
|
9645 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
|
adam@47
|
9646 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
adam@47
|
9647 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
|
adam@47
|
9648 else
|
adam@47
|
9649 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
|
adam@47
|
9650 fi~
|
adam@47
|
9651 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
|
adam@47
|
9652 linknames='
|
adam@47
|
9653 # The linker will not automatically build a static lib if we build a DLL.
|
adam@47
|
9654 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
|
adam@47
|
9655 enable_shared_with_static_runtimes=yes
|
adam@47
|
9656 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
|
adam@47
|
9657 # Don't use ranlib
|
adam@47
|
9658 old_postinstall_cmds='chmod 644 $oldlib'
|
adam@47
|
9659 postlink_cmds='lt_outputfile="@OUTPUT@"~
|
adam@47
|
9660 lt_tool_outputfile="@TOOL_OUTPUT@"~
|
adam@47
|
9661 case $lt_outputfile in
|
adam@47
|
9662 *.exe|*.EXE) ;;
|
adam@47
|
9663 *)
|
adam@47
|
9664 lt_outputfile="$lt_outputfile.exe"
|
adam@47
|
9665 lt_tool_outputfile="$lt_tool_outputfile.exe"
|
adam@47
|
9666 ;;
|
adam@47
|
9667 esac~
|
adam@47
|
9668 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
|
adam@47
|
9669 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
|
adam@47
|
9670 $RM "$lt_outputfile.manifest";
|
adam@47
|
9671 fi'
|
adam@47
|
9672 ;;
|
adam@47
|
9673 *)
|
adam@47
|
9674 # Assume MSVC wrapper
|
adam@47
|
9675 hardcode_libdir_flag_spec=' '
|
adam@47
|
9676 allow_undefined_flag=unsupported
|
adam@47
|
9677 # Tell ltmain to make .lib files, not .a files.
|
adam@47
|
9678 libext=lib
|
adam@47
|
9679 # Tell ltmain to make .dll files, not .so files.
|
adam@47
|
9680 shrext_cmds=".dll"
|
adam@47
|
9681 # FIXME: Setting linknames here is a bad hack.
|
adam@47
|
9682 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
|
adam@47
|
9683 # The linker will automatically build a .lib file if we build a DLL.
|
adam@47
|
9684 old_archive_from_new_cmds='true'
|
adam@47
|
9685 # FIXME: Should let the user specify the lib program.
|
adam@47
|
9686 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
|
adam@47
|
9687 enable_shared_with_static_runtimes=yes
|
adam@47
|
9688 ;;
|
adam@47
|
9689 esac
|
adam@0
|
9690 ;;
|
adam@0
|
9691
|
adam@0
|
9692 darwin* | rhapsody*)
|
adam@0
|
9693
|
adam@0
|
9694
|
adam@0
|
9695 archive_cmds_need_lc=no
|
adam@0
|
9696 hardcode_direct=no
|
adam@0
|
9697 hardcode_automatic=yes
|
adam@0
|
9698 hardcode_shlibpath_var=unsupported
|
adam@47
|
9699 if test "$lt_cv_ld_force_load" = "yes"; then
|
adam@47
|
9700 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
adam@47
|
9701 else
|
adam@47
|
9702 whole_archive_flag_spec=''
|
adam@47
|
9703 fi
|
adam@0
|
9704 link_all_deplibs=yes
|
adam@0
|
9705 allow_undefined_flag="$_lt_dar_allow_undefined"
|
adam@0
|
9706 case $cc_basename in
|
adam@0
|
9707 ifort*) _lt_dar_can_shared=yes ;;
|
adam@0
|
9708 *) _lt_dar_can_shared=$GCC ;;
|
adam@0
|
9709 esac
|
adam@0
|
9710 if test "$_lt_dar_can_shared" = "yes"; then
|
adam@47
|
9711 output_verbose_link_cmd=func_echo_all
|
adam@0
|
9712 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
|
adam@0
|
9713 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
|
adam@0
|
9714 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
|
adam@0
|
9715 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
|
adam@0
|
9716
|
adam@0
|
9717 else
|
adam@0
|
9718 ld_shlibs=no
|
adam@0
|
9719 fi
|
adam@0
|
9720
|
adam@0
|
9721 ;;
|
adam@0
|
9722
|
adam@0
|
9723 dgux*)
|
adam@0
|
9724 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9725 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9726 hardcode_shlibpath_var=no
|
adam@0
|
9727 ;;
|
adam@0
|
9728
|
adam@0
|
9729 freebsd1*)
|
adam@0
|
9730 ld_shlibs=no
|
adam@0
|
9731 ;;
|
adam@0
|
9732
|
adam@0
|
9733 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
adam@0
|
9734 # support. Future versions do this automatically, but an explicit c++rt0.o
|
adam@0
|
9735 # does not break anything, and helps significantly (at the cost of a little
|
adam@0
|
9736 # extra space).
|
adam@0
|
9737 freebsd2.2*)
|
adam@0
|
9738 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
|
adam@0
|
9739 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9740 hardcode_direct=yes
|
adam@0
|
9741 hardcode_shlibpath_var=no
|
adam@0
|
9742 ;;
|
adam@0
|
9743
|
adam@0
|
9744 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
adam@0
|
9745 freebsd2*)
|
adam@0
|
9746 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9747 hardcode_direct=yes
|
adam@0
|
9748 hardcode_minus_L=yes
|
adam@0
|
9749 hardcode_shlibpath_var=no
|
adam@0
|
9750 ;;
|
adam@0
|
9751
|
adam@0
|
9752 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
adam@0
|
9753 freebsd* | dragonfly*)
|
adam@47
|
9754 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9755 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9756 hardcode_direct=yes
|
adam@0
|
9757 hardcode_shlibpath_var=no
|
adam@0
|
9758 ;;
|
adam@0
|
9759
|
adam@0
|
9760 hpux9*)
|
adam@0
|
9761 if test "$GCC" = yes; then
|
adam@47
|
9762 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
adam@0
|
9763 else
|
adam@0
|
9764 archive_cmds='$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'
|
adam@0
|
9765 fi
|
adam@0
|
9766 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
adam@0
|
9767 hardcode_libdir_separator=:
|
adam@0
|
9768 hardcode_direct=yes
|
adam@0
|
9769
|
adam@0
|
9770 # hardcode_minus_L: Not really in the search PATH,
|
adam@0
|
9771 # but as the default location of the library.
|
adam@0
|
9772 hardcode_minus_L=yes
|
adam@0
|
9773 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9774 ;;
|
adam@0
|
9775
|
adam@0
|
9776 hpux10*)
|
adam@47
|
9777 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
adam@47
|
9778 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9779 else
|
adam@0
|
9780 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9781 fi
|
adam@0
|
9782 if test "$with_gnu_ld" = no; then
|
adam@0
|
9783 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
adam@0
|
9784 hardcode_libdir_flag_spec_ld='+b $libdir'
|
adam@0
|
9785 hardcode_libdir_separator=:
|
adam@0
|
9786 hardcode_direct=yes
|
adam@0
|
9787 hardcode_direct_absolute=yes
|
adam@0
|
9788 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9789 # hardcode_minus_L: Not really in the search PATH,
|
adam@0
|
9790 # but as the default location of the library.
|
adam@0
|
9791 hardcode_minus_L=yes
|
adam@0
|
9792 fi
|
adam@0
|
9793 ;;
|
adam@0
|
9794
|
adam@0
|
9795 hpux11*)
|
adam@47
|
9796 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
adam@0
|
9797 case $host_cpu in
|
adam@0
|
9798 hppa*64*)
|
adam@0
|
9799 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9800 ;;
|
adam@0
|
9801 ia64*)
|
adam@47
|
9802 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9803 ;;
|
adam@0
|
9804 *)
|
adam@47
|
9805 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9806 ;;
|
adam@0
|
9807 esac
|
adam@0
|
9808 else
|
adam@0
|
9809 case $host_cpu in
|
adam@0
|
9810 hppa*64*)
|
adam@0
|
9811 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9812 ;;
|
adam@0
|
9813 ia64*)
|
adam@0
|
9814 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9815 ;;
|
adam@0
|
9816 *)
|
adam@47
|
9817
|
adam@47
|
9818 # Older versions of the 11.00 compiler do not understand -b yet
|
adam@47
|
9819 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
adam@47
|
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
adam@47
|
9821 $as_echo_n "checking if $CC understands -b... " >&6; }
|
adam@64
|
9822 if test "${lt_cv_prog_compiler__b+set}" = set; then :
|
adam@47
|
9823 $as_echo_n "(cached) " >&6
|
adam@47
|
9824 else
|
adam@47
|
9825 lt_cv_prog_compiler__b=no
|
adam@47
|
9826 save_LDFLAGS="$LDFLAGS"
|
adam@47
|
9827 LDFLAGS="$LDFLAGS -b"
|
adam@47
|
9828 echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
adam@47
|
9829 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
adam@47
|
9830 # The linker can only warn and ignore the option if not recognized
|
adam@47
|
9831 # So say no if there are warnings
|
adam@47
|
9832 if test -s conftest.err; then
|
adam@47
|
9833 # Append any errors to the config.log.
|
adam@47
|
9834 cat conftest.err 1>&5
|
adam@47
|
9835 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
adam@47
|
9836 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@47
|
9837 if diff conftest.exp conftest.er2 >/dev/null; then
|
adam@47
|
9838 lt_cv_prog_compiler__b=yes
|
adam@47
|
9839 fi
|
adam@47
|
9840 else
|
adam@47
|
9841 lt_cv_prog_compiler__b=yes
|
adam@47
|
9842 fi
|
adam@47
|
9843 fi
|
adam@47
|
9844 $RM -r conftest*
|
adam@47
|
9845 LDFLAGS="$save_LDFLAGS"
|
adam@47
|
9846
|
adam@47
|
9847 fi
|
adam@47
|
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
adam@47
|
9849 $as_echo "$lt_cv_prog_compiler__b" >&6; }
|
adam@47
|
9850
|
adam@47
|
9851 if test x"$lt_cv_prog_compiler__b" = xyes; then
|
adam@47
|
9852 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
adam@47
|
9853 else
|
adam@47
|
9854 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
adam@47
|
9855 fi
|
adam@47
|
9856
|
adam@0
|
9857 ;;
|
adam@0
|
9858 esac
|
adam@0
|
9859 fi
|
adam@0
|
9860 if test "$with_gnu_ld" = no; then
|
adam@0
|
9861 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
adam@0
|
9862 hardcode_libdir_separator=:
|
adam@0
|
9863
|
adam@0
|
9864 case $host_cpu in
|
adam@0
|
9865 hppa*64*|ia64*)
|
adam@0
|
9866 hardcode_direct=no
|
adam@0
|
9867 hardcode_shlibpath_var=no
|
adam@0
|
9868 ;;
|
adam@0
|
9869 *)
|
adam@0
|
9870 hardcode_direct=yes
|
adam@0
|
9871 hardcode_direct_absolute=yes
|
adam@0
|
9872 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9873
|
adam@0
|
9874 # hardcode_minus_L: Not really in the search PATH,
|
adam@0
|
9875 # but as the default location of the library.
|
adam@0
|
9876 hardcode_minus_L=yes
|
adam@0
|
9877 ;;
|
adam@0
|
9878 esac
|
adam@0
|
9879 fi
|
adam@0
|
9880 ;;
|
adam@0
|
9881
|
adam@0
|
9882 irix5* | irix6* | nonstopux*)
|
adam@0
|
9883 if test "$GCC" = yes; then
|
adam@47
|
9884 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
adam@0
|
9885 # Try to use the -exported_symbol ld option, if it does not
|
adam@0
|
9886 # work, assume that -exports_file does not work either and
|
adam@0
|
9887 # implicitly export all symbols.
|
adam@47
|
9888 # This should be the same for all languages, so no per-tag cache variable.
|
adam@47
|
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
adam@47
|
9890 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
adam@64
|
9891 if test "${lt_cv_irix_exported_symbol+set}" = set; then :
|
adam@47
|
9892 $as_echo_n "(cached) " >&6
|
adam@47
|
9893 else
|
adam@47
|
9894 save_LDFLAGS="$LDFLAGS"
|
adam@47
|
9895 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
|
adam@47
|
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@47
|
9897 /* end confdefs.h. */
|
adam@47
|
9898 int foo (void) { return 0; }
|
adam@0
|
9899 _ACEOF
|
adam@0
|
9900 if ac_fn_c_try_link "$LINENO"; then :
|
adam@47
|
9901 lt_cv_irix_exported_symbol=yes
|
adam@47
|
9902 else
|
adam@47
|
9903 lt_cv_irix_exported_symbol=no
|
adam@0
|
9904 fi
|
adam@0
|
9905 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
9906 conftest$ac_exeext conftest.$ac_ext
|
adam@47
|
9907 LDFLAGS="$save_LDFLAGS"
|
adam@47
|
9908 fi
|
adam@47
|
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
adam@47
|
9910 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
adam@47
|
9911 if test "$lt_cv_irix_exported_symbol" = yes; then
|
adam@47
|
9912 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
|
adam@47
|
9913 fi
|
adam@0
|
9914 else
|
adam@47
|
9915 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
adam@47
|
9916 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
|
adam@0
|
9917 fi
|
adam@0
|
9918 archive_cmds_need_lc='no'
|
adam@0
|
9919 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9920 hardcode_libdir_separator=:
|
adam@0
|
9921 inherit_rpath=yes
|
adam@0
|
9922 link_all_deplibs=yes
|
adam@0
|
9923 ;;
|
adam@0
|
9924
|
adam@0
|
9925 netbsd* | netbsdelf*-gnu)
|
adam@0
|
9926 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@0
|
9927 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
adam@0
|
9928 else
|
adam@0
|
9929 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
adam@0
|
9930 fi
|
adam@0
|
9931 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9932 hardcode_direct=yes
|
adam@0
|
9933 hardcode_shlibpath_var=no
|
adam@0
|
9934 ;;
|
adam@0
|
9935
|
adam@0
|
9936 newsos6)
|
adam@0
|
9937 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9938 hardcode_direct=yes
|
adam@0
|
9939 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9940 hardcode_libdir_separator=:
|
adam@0
|
9941 hardcode_shlibpath_var=no
|
adam@0
|
9942 ;;
|
adam@0
|
9943
|
adam@0
|
9944 *nto* | *qnx*)
|
adam@0
|
9945 ;;
|
adam@0
|
9946
|
adam@0
|
9947 openbsd*)
|
adam@0
|
9948 if test -f /usr/libexec/ld.so; then
|
adam@0
|
9949 hardcode_direct=yes
|
adam@0
|
9950 hardcode_shlibpath_var=no
|
adam@0
|
9951 hardcode_direct_absolute=yes
|
adam@0
|
9952 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@0
|
9953 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9954 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
adam@0
|
9955 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
adam@0
|
9956 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9957 else
|
adam@0
|
9958 case $host_os in
|
adam@0
|
9959 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
adam@0
|
9960 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9961 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9962 ;;
|
adam@0
|
9963 *)
|
adam@0
|
9964 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9965 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
adam@0
|
9966 ;;
|
adam@0
|
9967 esac
|
adam@0
|
9968 fi
|
adam@0
|
9969 else
|
adam@0
|
9970 ld_shlibs=no
|
adam@0
|
9971 fi
|
adam@0
|
9972 ;;
|
adam@0
|
9973
|
adam@0
|
9974 os2*)
|
adam@0
|
9975 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9976 hardcode_minus_L=yes
|
adam@0
|
9977 allow_undefined_flag=unsupported
|
adam@47
|
9978 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
|
adam@0
|
9979 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
adam@0
|
9980 ;;
|
adam@0
|
9981
|
adam@0
|
9982 osf3*)
|
adam@0
|
9983 if test "$GCC" = yes; then
|
adam@0
|
9984 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
adam@47
|
9985 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
adam@0
|
9986 else
|
adam@0
|
9987 allow_undefined_flag=' -expect_unresolved \*'
|
adam@47
|
9988 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
adam@0
|
9989 fi
|
adam@0
|
9990 archive_cmds_need_lc='no'
|
adam@0
|
9991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9992 hardcode_libdir_separator=:
|
adam@0
|
9993 ;;
|
adam@0
|
9994
|
adam@0
|
9995 osf4* | osf5*) # as osf3* with the addition of -msym flag
|
adam@0
|
9996 if test "$GCC" = yes; then
|
adam@0
|
9997 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
adam@47
|
9998 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
adam@0
|
9999 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
10000 else
|
adam@0
|
10001 allow_undefined_flag=' -expect_unresolved \*'
|
adam@47
|
10002 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
adam@0
|
10003 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
|
adam@47
|
10004 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
|
adam@0
|
10005
|
adam@0
|
10006 # Both c and cxx compiler support -rpath directly
|
adam@0
|
10007 hardcode_libdir_flag_spec='-rpath $libdir'
|
adam@0
|
10008 fi
|
adam@0
|
10009 archive_cmds_need_lc='no'
|
adam@0
|
10010 hardcode_libdir_separator=:
|
adam@0
|
10011 ;;
|
adam@0
|
10012
|
adam@0
|
10013 solaris*)
|
adam@0
|
10014 no_undefined_flag=' -z defs'
|
adam@0
|
10015 if test "$GCC" = yes; then
|
adam@0
|
10016 wlarc='${wl}'
|
adam@47
|
10017 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10018 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@47
|
10019 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
|
adam@0
|
10020 else
|
adam@0
|
10021 case `$CC -V 2>&1` in
|
adam@0
|
10022 *"Compilers 5.0"*)
|
adam@0
|
10023 wlarc=''
|
adam@0
|
10024 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10025 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@0
|
10026 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
|
adam@0
|
10027 ;;
|
adam@0
|
10028 *)
|
adam@0
|
10029 wlarc='${wl}'
|
adam@0
|
10030 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10031 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@0
|
10032 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
|
adam@0
|
10033 ;;
|
adam@0
|
10034 esac
|
adam@0
|
10035 fi
|
adam@0
|
10036 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
10037 hardcode_shlibpath_var=no
|
adam@0
|
10038 case $host_os in
|
adam@0
|
10039 solaris2.[0-5] | solaris2.[0-5].*) ;;
|
adam@0
|
10040 *)
|
adam@0
|
10041 # The compiler driver will combine and reorder linker options,
|
adam@0
|
10042 # but understands `-z linker_flag'. GCC discards it without `$wl',
|
adam@0
|
10043 # but is careful enough not to reorder.
|
adam@0
|
10044 # Supported since Solaris 2.6 (maybe 2.5.1?)
|
adam@0
|
10045 if test "$GCC" = yes; then
|
adam@0
|
10046 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
|
adam@0
|
10047 else
|
adam@0
|
10048 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
|
adam@0
|
10049 fi
|
adam@0
|
10050 ;;
|
adam@0
|
10051 esac
|
adam@0
|
10052 link_all_deplibs=yes
|
adam@0
|
10053 ;;
|
adam@0
|
10054
|
adam@0
|
10055 sunos4*)
|
adam@0
|
10056 if test "x$host_vendor" = xsequent; then
|
adam@0
|
10057 # Use $CC to link under sequent, because it throws in some extra .o
|
adam@0
|
10058 # files that make .init and .fini sections work.
|
adam@0
|
10059 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10060 else
|
adam@0
|
10061 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10062 fi
|
adam@0
|
10063 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
10064 hardcode_direct=yes
|
adam@0
|
10065 hardcode_minus_L=yes
|
adam@0
|
10066 hardcode_shlibpath_var=no
|
adam@0
|
10067 ;;
|
adam@0
|
10068
|
adam@0
|
10069 sysv4)
|
adam@0
|
10070 case $host_vendor in
|
adam@0
|
10071 sni)
|
adam@0
|
10072 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10073 hardcode_direct=yes # is this really true???
|
adam@0
|
10074 ;;
|
adam@0
|
10075 siemens)
|
adam@0
|
10076 ## LD is ld it makes a PLAMLIB
|
adam@0
|
10077 ## CC just makes a GrossModule.
|
adam@0
|
10078 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10079 reload_cmds='$CC -r -o $output$reload_objs'
|
adam@0
|
10080 hardcode_direct=no
|
adam@0
|
10081 ;;
|
adam@0
|
10082 motorola)
|
adam@0
|
10083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10084 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
adam@0
|
10085 ;;
|
adam@0
|
10086 esac
|
adam@0
|
10087 runpath_var='LD_RUN_PATH'
|
adam@0
|
10088 hardcode_shlibpath_var=no
|
adam@0
|
10089 ;;
|
adam@0
|
10090
|
adam@0
|
10091 sysv4.3*)
|
adam@0
|
10092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10093 hardcode_shlibpath_var=no
|
adam@0
|
10094 export_dynamic_flag_spec='-Bexport'
|
adam@0
|
10095 ;;
|
adam@0
|
10096
|
adam@0
|
10097 sysv4*MP*)
|
adam@0
|
10098 if test -d /usr/nec; then
|
adam@0
|
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10100 hardcode_shlibpath_var=no
|
adam@0
|
10101 runpath_var=LD_RUN_PATH
|
adam@0
|
10102 hardcode_runpath_var=yes
|
adam@0
|
10103 ld_shlibs=yes
|
adam@0
|
10104 fi
|
adam@0
|
10105 ;;
|
adam@0
|
10106
|
adam@0
|
10107 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
adam@0
|
10108 no_undefined_flag='${wl}-z,text'
|
adam@0
|
10109 archive_cmds_need_lc=no
|
adam@0
|
10110 hardcode_shlibpath_var=no
|
adam@0
|
10111 runpath_var='LD_RUN_PATH'
|
adam@0
|
10112
|
adam@0
|
10113 if test "$GCC" = yes; then
|
adam@0
|
10114 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10115 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10116 else
|
adam@0
|
10117 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10118 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10119 fi
|
adam@0
|
10120 ;;
|
adam@0
|
10121
|
adam@0
|
10122 sysv5* | sco3.2v5* | sco5v6*)
|
adam@0
|
10123 # Note: We can NOT use -z defs as we might desire, because we do not
|
adam@0
|
10124 # link with -lc, and that would cause any symbols used from libc to
|
adam@0
|
10125 # always be unresolved, which means just about no library would
|
adam@0
|
10126 # ever link correctly. If we're not using GNU ld we use -z text
|
adam@0
|
10127 # though, which does catch some bad symbols but isn't as heavy-handed
|
adam@0
|
10128 # as -z defs.
|
adam@0
|
10129 no_undefined_flag='${wl}-z,text'
|
adam@0
|
10130 allow_undefined_flag='${wl}-z,nodefs'
|
adam@0
|
10131 archive_cmds_need_lc=no
|
adam@0
|
10132 hardcode_shlibpath_var=no
|
adam@0
|
10133 hardcode_libdir_flag_spec='${wl}-R,$libdir'
|
adam@0
|
10134 hardcode_libdir_separator=':'
|
adam@0
|
10135 link_all_deplibs=yes
|
adam@0
|
10136 export_dynamic_flag_spec='${wl}-Bexport'
|
adam@0
|
10137 runpath_var='LD_RUN_PATH'
|
adam@0
|
10138
|
adam@0
|
10139 if test "$GCC" = yes; then
|
adam@0
|
10140 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10141 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10142 else
|
adam@0
|
10143 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10144 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10145 fi
|
adam@0
|
10146 ;;
|
adam@0
|
10147
|
adam@0
|
10148 uts4*)
|
adam@0
|
10149 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10150 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
10151 hardcode_shlibpath_var=no
|
adam@0
|
10152 ;;
|
adam@0
|
10153
|
adam@0
|
10154 *)
|
adam@0
|
10155 ld_shlibs=no
|
adam@0
|
10156 ;;
|
adam@0
|
10157 esac
|
adam@0
|
10158
|
adam@0
|
10159 if test x$host_vendor = xsni; then
|
adam@0
|
10160 case $host in
|
adam@0
|
10161 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
adam@0
|
10162 export_dynamic_flag_spec='${wl}-Blargedynsym'
|
adam@0
|
10163 ;;
|
adam@0
|
10164 esac
|
adam@0
|
10165 fi
|
adam@0
|
10166 fi
|
adam@0
|
10167
|
adam@0
|
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
adam@0
|
10169 $as_echo "$ld_shlibs" >&6; }
|
adam@0
|
10170 test "$ld_shlibs" = no && can_build_shared=no
|
adam@0
|
10171
|
adam@0
|
10172 with_gnu_ld=$with_gnu_ld
|
adam@0
|
10173
|
adam@0
|
10174
|
adam@0
|
10175
|
adam@0
|
10176
|
adam@0
|
10177
|
adam@0
|
10178
|
adam@0
|
10179
|
adam@0
|
10180
|
adam@0
|
10181
|
adam@0
|
10182
|
adam@0
|
10183
|
adam@0
|
10184
|
adam@0
|
10185
|
adam@0
|
10186
|
adam@0
|
10187
|
adam@0
|
10188 #
|
adam@0
|
10189 # Do we need to explicitly link libc?
|
adam@0
|
10190 #
|
adam@0
|
10191 case "x$archive_cmds_need_lc" in
|
adam@0
|
10192 x|xyes)
|
adam@0
|
10193 # Assume -lc should be added
|
adam@0
|
10194 archive_cmds_need_lc=yes
|
adam@0
|
10195
|
adam@0
|
10196 if test "$enable_shared" = yes && test "$GCC" = yes; then
|
adam@0
|
10197 case $archive_cmds in
|
adam@0
|
10198 *'~'*)
|
adam@0
|
10199 # FIXME: we may have to deal with multi-command sequences.
|
adam@0
|
10200 ;;
|
adam@0
|
10201 '$CC '*)
|
adam@0
|
10202 # Test whether the compiler implicitly links with -lc since on some
|
adam@0
|
10203 # systems, -lgcc has to come before -lc. If gcc already passes -lc
|
adam@0
|
10204 # to ld, don't add -lc before -lgcc.
|
adam@0
|
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
adam@0
|
10206 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
adam@64
|
10207 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
|
adam@47
|
10208 $as_echo_n "(cached) " >&6
|
adam@47
|
10209 else
|
adam@47
|
10210 $RM conftest*
|
adam@47
|
10211 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@47
|
10212
|
adam@47
|
10213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
10214 (eval $ac_compile) 2>&5
|
adam@0
|
10215 ac_status=$?
|
adam@0
|
10216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
10217 test $ac_status = 0; } 2>conftest.err; then
|
adam@47
|
10218 soname=conftest
|
adam@47
|
10219 lib=conftest
|
adam@47
|
10220 libobjs=conftest.$ac_objext
|
adam@47
|
10221 deplibs=
|
adam@47
|
10222 wl=$lt_prog_compiler_wl
|
adam@47
|
10223 pic_flag=$lt_prog_compiler_pic
|
adam@47
|
10224 compiler_flags=-v
|
adam@47
|
10225 linker_flags=-v
|
adam@47
|
10226 verstring=
|
adam@47
|
10227 output_objdir=.
|
adam@47
|
10228 libname=conftest
|
adam@47
|
10229 lt_save_allow_undefined_flag=$allow_undefined_flag
|
adam@47
|
10230 allow_undefined_flag=
|
adam@47
|
10231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
adam@0
|
10232 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
adam@0
|
10233 ac_status=$?
|
adam@0
|
10234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
10235 test $ac_status = 0; }
|
adam@47
|
10236 then
|
adam@47
|
10237 lt_cv_archive_cmds_need_lc=no
|
adam@47
|
10238 else
|
adam@47
|
10239 lt_cv_archive_cmds_need_lc=yes
|
adam@47
|
10240 fi
|
adam@47
|
10241 allow_undefined_flag=$lt_save_allow_undefined_flag
|
adam@47
|
10242 else
|
adam@47
|
10243 cat conftest.err 1>&5
|
adam@47
|
10244 fi
|
adam@47
|
10245 $RM conftest*
|
adam@47
|
10246
|
adam@47
|
10247 fi
|
adam@47
|
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
adam@47
|
10249 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
|
adam@47
|
10250 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
adam@0
|
10251 ;;
|
adam@0
|
10252 esac
|
adam@0
|
10253 fi
|
adam@0
|
10254 ;;
|
adam@0
|
10255 esac
|
adam@0
|
10256
|
adam@0
|
10257
|
adam@0
|
10258
|
adam@0
|
10259
|
adam@0
|
10260
|
adam@0
|
10261
|
adam@0
|
10262
|
adam@0
|
10263
|
adam@0
|
10264
|
adam@0
|
10265
|
adam@0
|
10266
|
adam@0
|
10267
|
adam@0
|
10268
|
adam@0
|
10269
|
adam@0
|
10270
|
adam@0
|
10271
|
adam@0
|
10272
|
adam@0
|
10273
|
adam@0
|
10274
|
adam@0
|
10275
|
adam@0
|
10276
|
adam@0
|
10277
|
adam@0
|
10278
|
adam@0
|
10279
|
adam@0
|
10280
|
adam@0
|
10281
|
adam@0
|
10282
|
adam@0
|
10283
|
adam@0
|
10284
|
adam@0
|
10285
|
adam@0
|
10286
|
adam@0
|
10287
|
adam@0
|
10288
|
adam@0
|
10289
|
adam@0
|
10290
|
adam@0
|
10291
|
adam@0
|
10292
|
adam@0
|
10293
|
adam@0
|
10294
|
adam@0
|
10295
|
adam@0
|
10296
|
adam@0
|
10297
|
adam@0
|
10298
|
adam@0
|
10299
|
adam@0
|
10300
|
adam@0
|
10301
|
adam@0
|
10302
|
adam@0
|
10303
|
adam@0
|
10304
|
adam@0
|
10305
|
adam@0
|
10306
|
adam@0
|
10307
|
adam@0
|
10308
|
adam@0
|
10309
|
adam@0
|
10310
|
adam@0
|
10311
|
adam@0
|
10312
|
adam@0
|
10313
|
adam@0
|
10314
|
adam@0
|
10315
|
adam@0
|
10316
|
adam@0
|
10317
|
adam@0
|
10318
|
adam@0
|
10319
|
adam@0
|
10320
|
adam@0
|
10321
|
adam@0
|
10322
|
adam@0
|
10323
|
adam@0
|
10324
|
adam@0
|
10325
|
adam@0
|
10326
|
adam@0
|
10327
|
adam@0
|
10328
|
adam@0
|
10329
|
adam@0
|
10330
|
adam@0
|
10331
|
adam@0
|
10332
|
adam@0
|
10333
|
adam@0
|
10334
|
adam@0
|
10335
|
adam@0
|
10336
|
adam@0
|
10337
|
adam@0
|
10338
|
adam@0
|
10339
|
adam@0
|
10340
|
adam@0
|
10341
|
adam@0
|
10342
|
adam@0
|
10343
|
adam@0
|
10344
|
adam@0
|
10345
|
adam@0
|
10346
|
adam@0
|
10347
|
adam@0
|
10348
|
adam@0
|
10349
|
adam@0
|
10350
|
adam@0
|
10351
|
adam@0
|
10352
|
adam@0
|
10353
|
adam@0
|
10354
|
adam@0
|
10355
|
adam@0
|
10356
|
adam@0
|
10357
|
adam@0
|
10358
|
adam@0
|
10359
|
adam@0
|
10360
|
adam@0
|
10361
|
adam@0
|
10362
|
adam@0
|
10363
|
adam@0
|
10364
|
adam@0
|
10365
|
adam@0
|
10366
|
adam@0
|
10367
|
adam@0
|
10368
|
adam@0
|
10369
|
adam@0
|
10370
|
adam@0
|
10371
|
adam@0
|
10372
|
adam@0
|
10373
|
adam@0
|
10374
|
adam@0
|
10375
|
adam@0
|
10376
|
adam@0
|
10377
|
adam@0
|
10378
|
adam@0
|
10379
|
adam@0
|
10380
|
adam@0
|
10381
|
adam@0
|
10382
|
adam@0
|
10383
|
adam@0
|
10384
|
adam@0
|
10385
|
adam@0
|
10386
|
adam@0
|
10387
|
adam@0
|
10388
|
adam@0
|
10389
|
adam@0
|
10390
|
adam@0
|
10391
|
adam@0
|
10392
|
adam@0
|
10393
|
adam@0
|
10394
|
adam@0
|
10395
|
adam@0
|
10396
|
adam@0
|
10397
|
adam@0
|
10398
|
adam@0
|
10399
|
adam@0
|
10400
|
adam@0
|
10401
|
adam@0
|
10402
|
adam@0
|
10403
|
adam@0
|
10404
|
adam@0
|
10405
|
adam@0
|
10406
|
adam@0
|
10407
|
adam@0
|
10408
|
adam@0
|
10409
|
adam@0
|
10410
|
adam@0
|
10411
|
adam@0
|
10412
|
adam@0
|
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
adam@0
|
10414 $as_echo_n "checking dynamic linker characteristics... " >&6; }
|
adam@0
|
10415
|
adam@0
|
10416 if test "$GCC" = yes; then
|
adam@0
|
10417 case $host_os in
|
adam@0
|
10418 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
|
adam@0
|
10419 *) lt_awk_arg="/^libraries:/" ;;
|
adam@0
|
10420 esac
|
adam@47
|
10421 case $host_os in
|
adam@47
|
10422 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
|
adam@47
|
10423 *) lt_sed_strip_eq="s,=/,/,g" ;;
|
adam@47
|
10424 esac
|
adam@47
|
10425 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
|
adam@47
|
10426 case $lt_search_path_spec in
|
adam@47
|
10427 *\;*)
|
adam@0
|
10428 # if the path contains ";" then we assume it to be the separator
|
adam@0
|
10429 # otherwise default to the standard path separator (i.e. ":") - it is
|
adam@0
|
10430 # assumed that no part of a normal pathname contains ";" but that should
|
adam@0
|
10431 # okay in the real world where ";" in dirpaths is itself problematic.
|
adam@47
|
10432 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
|
adam@47
|
10433 ;;
|
adam@47
|
10434 *)
|
adam@47
|
10435 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
|
adam@47
|
10436 ;;
|
adam@47
|
10437 esac
|
adam@0
|
10438 # Ok, now we have the path, separated by spaces, we can step through it
|
adam@0
|
10439 # and add multilib dir if necessary.
|
adam@0
|
10440 lt_tmp_lt_search_path_spec=
|
adam@0
|
10441 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
adam@0
|
10442 for lt_sys_path in $lt_search_path_spec; do
|
adam@0
|
10443 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
adam@0
|
10444 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
adam@0
|
10445 else
|
adam@0
|
10446 test -d "$lt_sys_path" && \
|
adam@0
|
10447 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
adam@0
|
10448 fi
|
adam@0
|
10449 done
|
adam@47
|
10450 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
|
adam@0
|
10451 BEGIN {RS=" "; FS="/|\n";} {
|
adam@0
|
10452 lt_foo="";
|
adam@0
|
10453 lt_count=0;
|
adam@0
|
10454 for (lt_i = NF; lt_i > 0; lt_i--) {
|
adam@0
|
10455 if ($lt_i != "" && $lt_i != ".") {
|
adam@0
|
10456 if ($lt_i == "..") {
|
adam@0
|
10457 lt_count++;
|
adam@0
|
10458 } else {
|
adam@0
|
10459 if (lt_count == 0) {
|
adam@0
|
10460 lt_foo="/" $lt_i lt_foo;
|
adam@0
|
10461 } else {
|
adam@0
|
10462 lt_count--;
|
adam@0
|
10463 }
|
adam@0
|
10464 }
|
adam@0
|
10465 }
|
adam@0
|
10466 }
|
adam@0
|
10467 if (lt_foo != "") { lt_freq[lt_foo]++; }
|
adam@0
|
10468 if (lt_freq[lt_foo] == 1) { print lt_foo; }
|
adam@0
|
10469 }'`
|
adam@47
|
10470 # AWK program above erroneously prepends '/' to C:/dos/paths
|
adam@47
|
10471 # for these hosts.
|
adam@47
|
10472 case $host_os in
|
adam@47
|
10473 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
|
adam@47
|
10474 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
|
adam@47
|
10475 esac
|
adam@47
|
10476 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
|
adam@0
|
10477 else
|
adam@0
|
10478 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
adam@0
|
10479 fi
|
adam@0
|
10480 library_names_spec=
|
adam@0
|
10481 libname_spec='lib$name'
|
adam@0
|
10482 soname_spec=
|
adam@0
|
10483 shrext_cmds=".so"
|
adam@0
|
10484 postinstall_cmds=
|
adam@0
|
10485 postuninstall_cmds=
|
adam@0
|
10486 finish_cmds=
|
adam@0
|
10487 finish_eval=
|
adam@0
|
10488 shlibpath_var=
|
adam@0
|
10489 shlibpath_overrides_runpath=unknown
|
adam@0
|
10490 version_type=none
|
adam@0
|
10491 dynamic_linker="$host_os ld.so"
|
adam@0
|
10492 sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
adam@0
|
10493 need_lib_prefix=unknown
|
adam@0
|
10494 hardcode_into_libs=no
|
adam@0
|
10495
|
adam@0
|
10496 # when you set need_version to no, make sure it does not cause -set_version
|
adam@0
|
10497 # flags to be left without arguments
|
adam@0
|
10498 need_version=unknown
|
adam@0
|
10499
|
adam@0
|
10500 case $host_os in
|
adam@0
|
10501 aix3*)
|
adam@0
|
10502 version_type=linux
|
adam@0
|
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
adam@0
|
10504 shlibpath_var=LIBPATH
|
adam@0
|
10505
|
adam@0
|
10506 # AIX 3 has no versioning support, so we append a major version to the name.
|
adam@0
|
10507 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10508 ;;
|
adam@0
|
10509
|
adam@0
|
10510 aix[4-9]*)
|
adam@0
|
10511 version_type=linux
|
adam@0
|
10512 need_lib_prefix=no
|
adam@0
|
10513 need_version=no
|
adam@0
|
10514 hardcode_into_libs=yes
|
adam@0
|
10515 if test "$host_cpu" = ia64; then
|
adam@0
|
10516 # AIX 5 supports IA64
|
adam@0
|
10517 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
|
adam@0
|
10518 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10519 else
|
adam@0
|
10520 # With GCC up to 2.95.x, collect2 would create an import file
|
adam@0
|
10521 # for dependence libraries. The import file would start with
|
adam@0
|
10522 # the line `#! .'. This would cause the generated library to
|
adam@0
|
10523 # depend on `.', always an invalid library. This was fixed in
|
adam@0
|
10524 # development snapshots of GCC prior to 3.0.
|
adam@0
|
10525 case $host_os in
|
adam@0
|
10526 aix4 | aix4.[01] | aix4.[01].*)
|
adam@0
|
10527 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
|
adam@0
|
10528 echo ' yes '
|
adam@0
|
10529 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
|
adam@0
|
10530 :
|
adam@0
|
10531 else
|
adam@0
|
10532 can_build_shared=no
|
adam@0
|
10533 fi
|
adam@0
|
10534 ;;
|
adam@0
|
10535 esac
|
adam@0
|
10536 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
|
adam@0
|
10537 # soname into executable. Probably we can add versioning support to
|
adam@0
|
10538 # collect2, so additional links can be useful in future.
|
adam@0
|
10539 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
10540 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
|
adam@0
|
10541 # instead of lib<name>.a to let people know that these are not
|
adam@0
|
10542 # typical AIX shared libraries.
|
adam@0
|
10543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10544 else
|
adam@0
|
10545 # We preserve .a as extension for shared libraries through AIX4.2
|
adam@0
|
10546 # and later when we are not doing run time linking.
|
adam@0
|
10547 library_names_spec='${libname}${release}.a $libname.a'
|
adam@0
|
10548 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10549 fi
|
adam@0
|
10550 shlibpath_var=LIBPATH
|
adam@0
|
10551 fi
|
adam@0
|
10552 ;;
|
adam@0
|
10553
|
adam@0
|
10554 amigaos*)
|
adam@0
|
10555 case $host_cpu in
|
adam@0
|
10556 powerpc)
|
adam@0
|
10557 # Since July 2007 AmigaOS4 officially supports .so libraries.
|
adam@0
|
10558 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
|
adam@0
|
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10560 ;;
|
adam@0
|
10561 m68k)
|
adam@0
|
10562 library_names_spec='$libname.ixlibrary $libname.a'
|
adam@0
|
10563 # Create ${libname}_ixlibrary.a entries in /sys/libs.
|
adam@47
|
10564 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
|
adam@0
|
10565 ;;
|
adam@0
|
10566 esac
|
adam@0
|
10567 ;;
|
adam@0
|
10568
|
adam@0
|
10569 beos*)
|
adam@0
|
10570 library_names_spec='${libname}${shared_ext}'
|
adam@0
|
10571 dynamic_linker="$host_os ld.so"
|
adam@0
|
10572 shlibpath_var=LIBRARY_PATH
|
adam@0
|
10573 ;;
|
adam@0
|
10574
|
adam@0
|
10575 bsdi[45]*)
|
adam@0
|
10576 version_type=linux
|
adam@0
|
10577 need_version=no
|
adam@0
|
10578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10579 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10580 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
|
adam@0
|
10581 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10582 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
|
adam@0
|
10583 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
|
adam@0
|
10584 # the default ld.so.conf also contains /usr/contrib/lib and
|
adam@0
|
10585 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
|
adam@0
|
10586 # libtool to hard-code these into programs
|
adam@0
|
10587 ;;
|
adam@0
|
10588
|
adam@0
|
10589 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
10590 version_type=windows
|
adam@0
|
10591 shrext_cmds=".dll"
|
adam@0
|
10592 need_version=no
|
adam@0
|
10593 need_lib_prefix=no
|
adam@0
|
10594
|
adam@47
|
10595 case $GCC,$cc_basename in
|
adam@47
|
10596 yes,*)
|
adam@47
|
10597 # gcc
|
adam@0
|
10598 library_names_spec='$libname.dll.a'
|
adam@0
|
10599 # DLL is installed to $(libdir)/../bin by postinstall_cmds
|
adam@0
|
10600 postinstall_cmds='base_file=`basename \${file}`~
|
adam@0
|
10601 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
adam@0
|
10602 dldir=$destdir/`dirname \$dlpath`~
|
adam@0
|
10603 test -d \$dldir || mkdir -p \$dldir~
|
adam@0
|
10604 $install_prog $dir/$dlname \$dldir/$dlname~
|
adam@0
|
10605 chmod a+x \$dldir/$dlname~
|
adam@0
|
10606 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
|
adam@0
|
10607 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
|
adam@0
|
10608 fi'
|
adam@0
|
10609 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
adam@0
|
10610 dlpath=$dir/\$dldll~
|
adam@0
|
10611 $RM \$dlpath'
|
adam@0
|
10612 shlibpath_overrides_runpath=yes
|
adam@0
|
10613
|
adam@0
|
10614 case $host_os in
|
adam@0
|
10615 cygwin*)
|
adam@0
|
10616 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
adam@0
|
10617 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@47
|
10618
|
adam@47
|
10619 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
adam@0
|
10620 ;;
|
adam@0
|
10621 mingw* | cegcc*)
|
adam@0
|
10622 # MinGW DLLs use traditional 'lib' prefix
|
adam@0
|
10623 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@0
|
10624 ;;
|
adam@0
|
10625 pw32*)
|
adam@0
|
10626 # pw32 DLLs use 'pw' prefix rather than 'lib'
|
adam@0
|
10627 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@0
|
10628 ;;
|
adam@0
|
10629 esac
|
adam@47
|
10630 dynamic_linker='Win32 ld.exe'
|
adam@47
|
10631 ;;
|
adam@47
|
10632
|
adam@47
|
10633 *,cl*)
|
adam@47
|
10634 # Native MSVC
|
adam@47
|
10635 libname_spec='$name'
|
adam@47
|
10636 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@47
|
10637 library_names_spec='${libname}.dll.lib'
|
adam@47
|
10638
|
adam@47
|
10639 case $build_os in
|
adam@47
|
10640 mingw*)
|
adam@47
|
10641 sys_lib_search_path_spec=
|
adam@47
|
10642 lt_save_ifs=$IFS
|
adam@47
|
10643 IFS=';'
|
adam@47
|
10644 for lt_path in $LIB
|
adam@47
|
10645 do
|
adam@47
|
10646 IFS=$lt_save_ifs
|
adam@47
|
10647 # Let DOS variable expansion print the short 8.3 style file name.
|
adam@47
|
10648 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
|
adam@47
|
10649 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
|
adam@47
|
10650 done
|
adam@47
|
10651 IFS=$lt_save_ifs
|
adam@47
|
10652 # Convert to MSYS style.
|
adam@47
|
10653 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
adam@47
|
10654 ;;
|
adam@47
|
10655 cygwin*)
|
adam@47
|
10656 # Convert to unix form, then to dos form, then back to unix form
|
adam@47
|
10657 # but this time dos style (no spaces!) so that the unix form looks
|
adam@47
|
10658 # like /cygdrive/c/PROGRA~1:/cygdr...
|
adam@47
|
10659 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
|
adam@47
|
10660 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
|
adam@47
|
10661 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
adam@47
|
10662 ;;
|
adam@47
|
10663 *)
|
adam@47
|
10664 sys_lib_search_path_spec="$LIB"
|
adam@47
|
10665 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
|
adam@47
|
10666 # It is most probably a Windows format PATH.
|
adam@47
|
10667 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
adam@47
|
10668 else
|
adam@47
|
10669 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
adam@47
|
10670 fi
|
adam@47
|
10671 # FIXME: find the short name or the path components, as spaces are
|
adam@47
|
10672 # common. (e.g. "Program Files" -> "PROGRA~1")
|
adam@47
|
10673 ;;
|
adam@47
|
10674 esac
|
adam@47
|
10675
|
adam@47
|
10676 # DLL is installed to $(libdir)/../bin by postinstall_cmds
|
adam@47
|
10677 postinstall_cmds='base_file=`basename \${file}`~
|
adam@47
|
10678 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
adam@47
|
10679 dldir=$destdir/`dirname \$dlpath`~
|
adam@47
|
10680 test -d \$dldir || mkdir -p \$dldir~
|
adam@47
|
10681 $install_prog $dir/$dlname \$dldir/$dlname'
|
adam@47
|
10682 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
adam@47
|
10683 dlpath=$dir/\$dldll~
|
adam@47
|
10684 $RM \$dlpath'
|
adam@47
|
10685 shlibpath_overrides_runpath=yes
|
adam@47
|
10686 dynamic_linker='Win32 link.exe'
|
adam@0
|
10687 ;;
|
adam@0
|
10688
|
adam@0
|
10689 *)
|
adam@47
|
10690 # Assume MSVC wrapper
|
adam@0
|
10691 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
|
adam@47
|
10692 dynamic_linker='Win32 ld.exe'
|
adam@47
|
10693 ;;
|
adam@47
|
10694 esac
|
adam@0
|
10695 # FIXME: first we should search . and the directory the executable is in
|
adam@0
|
10696 shlibpath_var=PATH
|
adam@0
|
10697 ;;
|
adam@0
|
10698
|
adam@0
|
10699 darwin* | rhapsody*)
|
adam@0
|
10700 dynamic_linker="$host_os dyld"
|
adam@0
|
10701 version_type=darwin
|
adam@0
|
10702 need_lib_prefix=no
|
adam@0
|
10703 need_version=no
|
adam@0
|
10704 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
|
adam@0
|
10705 soname_spec='${libname}${release}${major}$shared_ext'
|
adam@0
|
10706 shlibpath_overrides_runpath=yes
|
adam@0
|
10707 shlibpath_var=DYLD_LIBRARY_PATH
|
adam@0
|
10708 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
adam@0
|
10709
|
adam@0
|
10710 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
|
adam@0
|
10711 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
adam@0
|
10712 ;;
|
adam@0
|
10713
|
adam@0
|
10714 dgux*)
|
adam@0
|
10715 version_type=linux
|
adam@0
|
10716 need_lib_prefix=no
|
adam@0
|
10717 need_version=no
|
adam@0
|
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
adam@0
|
10719 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10720 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10721 ;;
|
adam@0
|
10722
|
adam@0
|
10723 freebsd1*)
|
adam@0
|
10724 dynamic_linker=no
|
adam@0
|
10725 ;;
|
adam@0
|
10726
|
adam@0
|
10727 freebsd* | dragonfly*)
|
adam@0
|
10728 # DragonFly does not have aout. When/if they implement a new
|
adam@0
|
10729 # versioning mechanism, adjust this.
|
adam@0
|
10730 if test -x /usr/bin/objformat; then
|
adam@0
|
10731 objformat=`/usr/bin/objformat`
|
adam@0
|
10732 else
|
adam@0
|
10733 case $host_os in
|
adam@0
|
10734 freebsd[123]*) objformat=aout ;;
|
adam@0
|
10735 *) objformat=elf ;;
|
adam@0
|
10736 esac
|
adam@0
|
10737 fi
|
adam@0
|
10738 version_type=freebsd-$objformat
|
adam@0
|
10739 case $version_type in
|
adam@0
|
10740 freebsd-elf*)
|
adam@0
|
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@0
|
10742 need_version=no
|
adam@0
|
10743 need_lib_prefix=no
|
adam@0
|
10744 ;;
|
adam@0
|
10745 freebsd-*)
|
adam@0
|
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
|
adam@0
|
10747 need_version=yes
|
adam@0
|
10748 ;;
|
adam@0
|
10749 esac
|
adam@0
|
10750 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10751 case $host_os in
|
adam@0
|
10752 freebsd2*)
|
adam@0
|
10753 shlibpath_overrides_runpath=yes
|
adam@0
|
10754 ;;
|
adam@0
|
10755 freebsd3.[01]* | freebsdelf3.[01]*)
|
adam@0
|
10756 shlibpath_overrides_runpath=yes
|
adam@0
|
10757 hardcode_into_libs=yes
|
adam@0
|
10758 ;;
|
adam@0
|
10759 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
|
adam@0
|
10760 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
|
adam@0
|
10761 shlibpath_overrides_runpath=no
|
adam@0
|
10762 hardcode_into_libs=yes
|
adam@0
|
10763 ;;
|
adam@0
|
10764 *) # from 4.6 on, and DragonFly
|
adam@0
|
10765 shlibpath_overrides_runpath=yes
|
adam@0
|
10766 hardcode_into_libs=yes
|
adam@0
|
10767 ;;
|
adam@0
|
10768 esac
|
adam@0
|
10769 ;;
|
adam@0
|
10770
|
adam@0
|
10771 gnu*)
|
adam@0
|
10772 version_type=linux
|
adam@0
|
10773 need_lib_prefix=no
|
adam@0
|
10774 need_version=no
|
adam@0
|
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
adam@0
|
10776 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10777 shlibpath_var=LD_LIBRARY_PATH
|
adam@47
|
10778 shlibpath_overrides_runpath=no
|
adam@47
|
10779 hardcode_into_libs=yes
|
adam@47
|
10780 ;;
|
adam@47
|
10781
|
adam@47
|
10782 haiku*)
|
adam@47
|
10783 version_type=linux
|
adam@47
|
10784 need_lib_prefix=no
|
adam@47
|
10785 need_version=no
|
adam@47
|
10786 dynamic_linker="$host_os runtime_loader"
|
adam@47
|
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
adam@47
|
10788 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@47
|
10789 shlibpath_var=LIBRARY_PATH
|
adam@47
|
10790 shlibpath_overrides_runpath=yes
|
adam@47
|
10791 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
|
adam@0
|
10792 hardcode_into_libs=yes
|
adam@0
|
10793 ;;
|
adam@0
|
10794
|
adam@0
|
10795 hpux9* | hpux10* | hpux11*)
|
adam@0
|
10796 # Give a soname corresponding to the major version so that dld.sl refuses to
|
adam@0
|
10797 # link against other versions.
|
adam@0
|
10798 version_type=sunos
|
adam@0
|
10799 need_lib_prefix=no
|
adam@0
|
10800 need_version=no
|
adam@0
|
10801 case $host_cpu in
|
adam@0
|
10802 ia64*)
|
adam@0
|
10803 shrext_cmds='.so'
|
adam@0
|
10804 hardcode_into_libs=yes
|
adam@0
|
10805 dynamic_linker="$host_os dld.so"
|
adam@0
|
10806 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10807 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
adam@0
|
10808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10809 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10810 if test "X$HPUX_IA64_MODE" = X32; then
|
adam@0
|
10811 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
|
adam@0
|
10812 else
|
adam@0
|
10813 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
|
adam@0
|
10814 fi
|
adam@0
|
10815 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
adam@0
|
10816 ;;
|
adam@0
|
10817 hppa*64*)
|
adam@0
|
10818 shrext_cmds='.sl'
|
adam@0
|
10819 hardcode_into_libs=yes
|
adam@0
|
10820 dynamic_linker="$host_os dld.sl"
|
adam@0
|
10821 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
|
adam@0
|
10822 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
adam@0
|
10823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10824 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10825 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
|
adam@0
|
10826 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
adam@0
|
10827 ;;
|
adam@0
|
10828 *)
|
adam@0
|
10829 shrext_cmds='.sl'
|
adam@0
|
10830 dynamic_linker="$host_os dld.sl"
|
adam@0
|
10831 shlibpath_var=SHLIB_PATH
|
adam@0
|
10832 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
|
adam@0
|
10833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10834 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10835 ;;
|
adam@0
|
10836 esac
|
adam@47
|
10837 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
|
adam@0
|
10838 postinstall_cmds='chmod 555 $lib'
|
adam@47
|
10839 # or fails outright, so override atomically:
|
adam@47
|
10840 install_override_mode=555
|
adam@0
|
10841 ;;
|
adam@0
|
10842
|
adam@0
|
10843 interix[3-9]*)
|
adam@0
|
10844 version_type=linux
|
adam@0
|
10845 need_lib_prefix=no
|
adam@0
|
10846 need_version=no
|
adam@0
|
10847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@0
|
10848 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10849 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
|
adam@0
|
10850 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10851 shlibpath_overrides_runpath=no
|
adam@0
|
10852 hardcode_into_libs=yes
|
adam@0
|
10853 ;;
|
adam@0
|
10854
|
adam@0
|
10855 irix5* | irix6* | nonstopux*)
|
adam@0
|
10856 case $host_os in
|
adam@0
|
10857 nonstopux*) version_type=nonstopux ;;
|
adam@0
|
10858 *)
|
adam@0
|
10859 if test "$lt_cv_prog_gnu_ld" = yes; then
|
adam@0
|
10860 version_type=linux
|
adam@0
|
10861 else
|
adam@0
|
10862 version_type=irix
|
adam@0
|
10863 fi ;;
|
adam@0
|
10864 esac
|
adam@0
|
10865 need_lib_prefix=no
|
adam@0
|
10866 need_version=no
|
adam@0
|
10867 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@0
|
10869 case $host_os in
|
adam@0
|
10870 irix5* | nonstopux*)
|
adam@0
|
10871 libsuff= shlibsuff=
|
adam@0
|
10872 ;;
|
adam@0
|
10873 *)
|
adam@0
|
10874 case $LD in # libtool.m4 will add one of these switches to LD
|
adam@0
|
10875 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
|
adam@0
|
10876 libsuff= shlibsuff= libmagic=32-bit;;
|
adam@0
|
10877 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
|
adam@0
|
10878 libsuff=32 shlibsuff=N32 libmagic=N32;;
|
adam@0
|
10879 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
|
adam@0
|
10880 libsuff=64 shlibsuff=64 libmagic=64-bit;;
|
adam@0
|
10881 *) libsuff= shlibsuff= libmagic=never-match;;
|
adam@0
|
10882 esac
|
adam@0
|
10883 ;;
|
adam@0
|
10884 esac
|
adam@0
|
10885 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
|
adam@0
|
10886 shlibpath_overrides_runpath=no
|
adam@0
|
10887 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
adam@0
|
10888 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
adam@0
|
10889 hardcode_into_libs=yes
|
adam@0
|
10890 ;;
|
adam@0
|
10891
|
adam@0
|
10892 # No shared lib support for Linux oldld, aout, or coff.
|
adam@0
|
10893 linux*oldld* | linux*aout* | linux*coff*)
|
adam@0
|
10894 dynamic_linker=no
|
adam@0
|
10895 ;;
|
adam@0
|
10896
|
adam@0
|
10897 # This must be Linux ELF.
|
adam@0
|
10898 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
10899 version_type=linux
|
adam@0
|
10900 need_lib_prefix=no
|
adam@0
|
10901 need_version=no
|
adam@0
|
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10903 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10904 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
adam@0
|
10905 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10906 shlibpath_overrides_runpath=no
|
adam@47
|
10907
|
adam@0
|
10908 # Some binutils ld are patched to set DT_RUNPATH
|
adam@64
|
10909 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
|
adam@47
|
10910 $as_echo_n "(cached) " >&6
|
adam@47
|
10911 else
|
adam@47
|
10912 lt_cv_shlibpath_overrides_runpath=no
|
adam@47
|
10913 save_LDFLAGS=$LDFLAGS
|
adam@47
|
10914 save_libdir=$libdir
|
adam@47
|
10915 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
adam@47
|
10916 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
adam@47
|
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
10918 /* end confdefs.h. */
|
adam@0
|
10919
|
adam@0
|
10920 int
|
adam@0
|
10921 main ()
|
adam@0
|
10922 {
|
adam@0
|
10923
|
adam@0
|
10924 ;
|
adam@0
|
10925 return 0;
|
adam@0
|
10926 }
|
adam@0
|
10927 _ACEOF
|
adam@0
|
10928 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
10929 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
adam@47
|
10930 lt_cv_shlibpath_overrides_runpath=yes
|
adam@0
|
10931 fi
|
adam@0
|
10932 fi
|
adam@0
|
10933 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
10934 conftest$ac_exeext conftest.$ac_ext
|
adam@47
|
10935 LDFLAGS=$save_LDFLAGS
|
adam@47
|
10936 libdir=$save_libdir
|
adam@47
|
10937
|
adam@47
|
10938 fi
|
adam@47
|
10939
|
adam@47
|
10940 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
|
adam@0
|
10941
|
adam@0
|
10942 # This implies no fast_install, which is unacceptable.
|
adam@0
|
10943 # Some rework will be needed to allow for fast_install
|
adam@0
|
10944 # before this can be enabled.
|
adam@0
|
10945 hardcode_into_libs=yes
|
adam@0
|
10946
|
adam@0
|
10947 # Append ld.so.conf contents to the search path
|
adam@0
|
10948 if test -f /etc/ld.so.conf; then
|
adam@47
|
10949 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
adam@0
|
10950 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
adam@0
|
10951 fi
|
adam@0
|
10952
|
adam@0
|
10953 # We used to test for /lib/ld.so.1 and disable shared libraries on
|
adam@0
|
10954 # powerpc, because MkLinux only supported shared libraries with the
|
adam@0
|
10955 # GNU dynamic linker. Since this was broken with cross compilers,
|
adam@0
|
10956 # most powerpc-linux boxes support dynamic linking these days and
|
adam@0
|
10957 # people can always --disable-shared, the test was removed, and we
|
adam@0
|
10958 # assume the GNU/Linux dynamic linker is in use.
|
adam@0
|
10959 dynamic_linker='GNU/Linux ld.so'
|
adam@0
|
10960 ;;
|
adam@0
|
10961
|
adam@0
|
10962 netbsdelf*-gnu)
|
adam@0
|
10963 version_type=linux
|
adam@0
|
10964 need_lib_prefix=no
|
adam@0
|
10965 need_version=no
|
adam@0
|
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@0
|
10967 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10968 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10969 shlibpath_overrides_runpath=no
|
adam@0
|
10970 hardcode_into_libs=yes
|
adam@0
|
10971 dynamic_linker='NetBSD ld.elf_so'
|
adam@0
|
10972 ;;
|
adam@0
|
10973
|
adam@0
|
10974 netbsd*)
|
adam@0
|
10975 version_type=sunos
|
adam@0
|
10976 need_lib_prefix=no
|
adam@0
|
10977 need_version=no
|
adam@0
|
10978 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@0
|
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@0
|
10980 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
adam@0
|
10981 dynamic_linker='NetBSD (a.out) ld.so'
|
adam@0
|
10982 else
|
adam@0
|
10983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@0
|
10984 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10985 dynamic_linker='NetBSD ld.elf_so'
|
adam@0
|
10986 fi
|
adam@0
|
10987 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10988 shlibpath_overrides_runpath=yes
|
adam@0
|
10989 hardcode_into_libs=yes
|
adam@0
|
10990 ;;
|
adam@0
|
10991
|
adam@0
|
10992 newsos6)
|
adam@0
|
10993 version_type=linux
|
adam@0
|
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10995 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10996 shlibpath_overrides_runpath=yes
|
adam@0
|
10997 ;;
|
adam@0
|
10998
|
adam@0
|
10999 *nto* | *qnx*)
|
adam@0
|
11000 version_type=qnx
|
adam@0
|
11001 need_lib_prefix=no
|
adam@0
|
11002 need_version=no
|
adam@0
|
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11004 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
11005 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11006 shlibpath_overrides_runpath=no
|
adam@0
|
11007 hardcode_into_libs=yes
|
adam@0
|
11008 dynamic_linker='ldqnx.so'
|
adam@0
|
11009 ;;
|
adam@0
|
11010
|
adam@0
|
11011 openbsd*)
|
adam@0
|
11012 version_type=sunos
|
adam@0
|
11013 sys_lib_dlsearch_path_spec="/usr/lib"
|
adam@0
|
11014 need_lib_prefix=no
|
adam@0
|
11015 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
adam@0
|
11016 case $host_os in
|
adam@0
|
11017 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
adam@0
|
11018 *) need_version=no ;;
|
adam@0
|
11019 esac
|
adam@0
|
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@0
|
11021 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
adam@0
|
11022 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11023 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@0
|
11024 case $host_os in
|
adam@0
|
11025 openbsd2.[89] | openbsd2.[89].*)
|
adam@0
|
11026 shlibpath_overrides_runpath=no
|
adam@0
|
11027 ;;
|
adam@0
|
11028 *)
|
adam@0
|
11029 shlibpath_overrides_runpath=yes
|
adam@0
|
11030 ;;
|
adam@0
|
11031 esac
|
adam@0
|
11032 else
|
adam@0
|
11033 shlibpath_overrides_runpath=yes
|
adam@0
|
11034 fi
|
adam@0
|
11035 ;;
|
adam@0
|
11036
|
adam@0
|
11037 os2*)
|
adam@0
|
11038 libname_spec='$name'
|
adam@0
|
11039 shrext_cmds=".dll"
|
adam@0
|
11040 need_lib_prefix=no
|
adam@0
|
11041 library_names_spec='$libname${shared_ext} $libname.a'
|
adam@0
|
11042 dynamic_linker='OS/2 ld.exe'
|
adam@0
|
11043 shlibpath_var=LIBPATH
|
adam@0
|
11044 ;;
|
adam@0
|
11045
|
adam@0
|
11046 osf3* | osf4* | osf5*)
|
adam@0
|
11047 version_type=osf
|
adam@0
|
11048 need_lib_prefix=no
|
adam@0
|
11049 need_version=no
|
adam@0
|
11050 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11052 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11053 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
|
adam@0
|
11054 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
adam@0
|
11055 ;;
|
adam@0
|
11056
|
adam@0
|
11057 rdos*)
|
adam@0
|
11058 dynamic_linker=no
|
adam@0
|
11059 ;;
|
adam@0
|
11060
|
adam@0
|
11061 solaris*)
|
adam@0
|
11062 version_type=linux
|
adam@0
|
11063 need_lib_prefix=no
|
adam@0
|
11064 need_version=no
|
adam@0
|
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11066 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
11067 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11068 shlibpath_overrides_runpath=yes
|
adam@0
|
11069 hardcode_into_libs=yes
|
adam@0
|
11070 # ldd complains unless libraries are executable
|
adam@0
|
11071 postinstall_cmds='chmod +x $lib'
|
adam@0
|
11072 ;;
|
adam@0
|
11073
|
adam@0
|
11074 sunos4*)
|
adam@0
|
11075 version_type=sunos
|
adam@0
|
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@0
|
11077 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
|
adam@0
|
11078 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11079 shlibpath_overrides_runpath=yes
|
adam@0
|
11080 if test "$with_gnu_ld" = yes; then
|
adam@0
|
11081 need_lib_prefix=no
|
adam@0
|
11082 fi
|
adam@0
|
11083 need_version=yes
|
adam@0
|
11084 ;;
|
adam@0
|
11085
|
adam@0
|
11086 sysv4 | sysv4.3*)
|
adam@0
|
11087 version_type=linux
|
adam@0
|
11088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11089 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
11090 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11091 case $host_vendor in
|
adam@0
|
11092 sni)
|
adam@0
|
11093 shlibpath_overrides_runpath=no
|
adam@0
|
11094 need_lib_prefix=no
|
adam@0
|
11095 runpath_var=LD_RUN_PATH
|
adam@0
|
11096 ;;
|
adam@0
|
11097 siemens)
|
adam@0
|
11098 need_lib_prefix=no
|
adam@0
|
11099 ;;
|
adam@0
|
11100 motorola)
|
adam@0
|
11101 need_lib_prefix=no
|
adam@0
|
11102 need_version=no
|
adam@0
|
11103 shlibpath_overrides_runpath=no
|
adam@0
|
11104 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
|
adam@0
|
11105 ;;
|
adam@0
|
11106 esac
|
adam@0
|
11107 ;;
|
adam@0
|
11108
|
adam@0
|
11109 sysv4*MP*)
|
adam@0
|
11110 if test -d /usr/nec ;then
|
adam@0
|
11111 version_type=linux
|
adam@0
|
11112 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
adam@0
|
11113 soname_spec='$libname${shared_ext}.$major'
|
adam@0
|
11114 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11115 fi
|
adam@0
|
11116 ;;
|
adam@0
|
11117
|
adam@0
|
11118 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
adam@0
|
11119 version_type=freebsd-elf
|
adam@0
|
11120 need_lib_prefix=no
|
adam@0
|
11121 need_version=no
|
adam@0
|
11122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@0
|
11123 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
11124 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11125 shlibpath_overrides_runpath=yes
|
adam@0
|
11126 hardcode_into_libs=yes
|
adam@0
|
11127 if test "$with_gnu_ld" = yes; then
|
adam@0
|
11128 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
|
adam@0
|
11129 else
|
adam@0
|
11130 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
|
adam@0
|
11131 case $host_os in
|
adam@0
|
11132 sco3.2v5*)
|
adam@0
|
11133 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
|
adam@0
|
11134 ;;
|
adam@0
|
11135 esac
|
adam@0
|
11136 fi
|
adam@0
|
11137 sys_lib_dlsearch_path_spec='/usr/lib'
|
adam@0
|
11138 ;;
|
adam@0
|
11139
|
adam@0
|
11140 tpf*)
|
adam@0
|
11141 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
adam@0
|
11142 version_type=linux
|
adam@0
|
11143 need_lib_prefix=no
|
adam@0
|
11144 need_version=no
|
adam@0
|
11145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11146 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11147 shlibpath_overrides_runpath=no
|
adam@0
|
11148 hardcode_into_libs=yes
|
adam@0
|
11149 ;;
|
adam@0
|
11150
|
adam@0
|
11151 uts4*)
|
adam@0
|
11152 version_type=linux
|
adam@0
|
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11154 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
11155 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11156 ;;
|
adam@0
|
11157
|
adam@0
|
11158 *)
|
adam@0
|
11159 dynamic_linker=no
|
adam@0
|
11160 ;;
|
adam@0
|
11161 esac
|
adam@0
|
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
adam@0
|
11163 $as_echo "$dynamic_linker" >&6; }
|
adam@0
|
11164 test "$dynamic_linker" = no && can_build_shared=no
|
adam@0
|
11165
|
adam@0
|
11166 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
adam@0
|
11167 if test "$GCC" = yes; then
|
adam@0
|
11168 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
adam@0
|
11169 fi
|
adam@0
|
11170
|
adam@0
|
11171 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
|
adam@0
|
11172 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
|
adam@0
|
11173 fi
|
adam@0
|
11174 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
|
adam@0
|
11175 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
|
adam@0
|
11176 fi
|
adam@0
|
11177
|
adam@0
|
11178
|
adam@0
|
11179
|
adam@0
|
11180
|
adam@0
|
11181
|
adam@0
|
11182
|
adam@0
|
11183
|
adam@0
|
11184
|
adam@0
|
11185
|
adam@0
|
11186
|
adam@0
|
11187
|
adam@0
|
11188
|
adam@0
|
11189
|
adam@0
|
11190
|
adam@0
|
11191
|
adam@0
|
11192
|
adam@0
|
11193
|
adam@0
|
11194
|
adam@0
|
11195
|
adam@0
|
11196
|
adam@0
|
11197
|
adam@0
|
11198
|
adam@0
|
11199
|
adam@0
|
11200
|
adam@0
|
11201
|
adam@0
|
11202
|
adam@0
|
11203
|
adam@0
|
11204
|
adam@0
|
11205
|
adam@0
|
11206
|
adam@0
|
11207
|
adam@0
|
11208
|
adam@0
|
11209
|
adam@0
|
11210
|
adam@0
|
11211
|
adam@0
|
11212
|
adam@0
|
11213
|
adam@0
|
11214
|
adam@0
|
11215
|
adam@0
|
11216
|
adam@0
|
11217
|
adam@0
|
11218
|
adam@0
|
11219
|
adam@0
|
11220
|
adam@0
|
11221
|
adam@0
|
11222
|
adam@0
|
11223
|
adam@0
|
11224
|
adam@0
|
11225
|
adam@0
|
11226
|
adam@0
|
11227
|
adam@0
|
11228
|
adam@0
|
11229
|
adam@0
|
11230
|
adam@0
|
11231
|
adam@0
|
11232
|
adam@0
|
11233
|
adam@0
|
11234
|
adam@0
|
11235
|
adam@0
|
11236
|
adam@0
|
11237
|
adam@0
|
11238
|
adam@0
|
11239
|
adam@0
|
11240
|
adam@0
|
11241
|
adam@0
|
11242
|
adam@0
|
11243
|
adam@0
|
11244
|
adam@0
|
11245
|
adam@0
|
11246
|
adam@0
|
11247
|
adam@0
|
11248
|
adam@0
|
11249
|
adam@0
|
11250
|
adam@0
|
11251
|
adam@0
|
11252
|
adam@0
|
11253
|
adam@0
|
11254
|
adam@0
|
11255
|
adam@0
|
11256
|
adam@0
|
11257
|
adam@0
|
11258
|
adam@0
|
11259
|
adam@0
|
11260
|
adam@0
|
11261
|
adam@0
|
11262
|
adam@0
|
11263
|
adam@47
|
11264
|
adam@47
|
11265
|
adam@47
|
11266
|
adam@47
|
11267
|
adam@47
|
11268
|
adam@0
|
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
adam@0
|
11270 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
adam@0
|
11271 hardcode_action=
|
adam@0
|
11272 if test -n "$hardcode_libdir_flag_spec" ||
|
adam@0
|
11273 test -n "$runpath_var" ||
|
adam@0
|
11274 test "X$hardcode_automatic" = "Xyes" ; then
|
adam@0
|
11275
|
adam@0
|
11276 # We can hardcode non-existent directories.
|
adam@0
|
11277 if test "$hardcode_direct" != no &&
|
adam@0
|
11278 # If the only mechanism to avoid hardcoding is shlibpath_var, we
|
adam@0
|
11279 # have to relink, otherwise we might link with an installed library
|
adam@0
|
11280 # when we should be linking with a yet-to-be-installed one
|
adam@0
|
11281 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
|
adam@0
|
11282 test "$hardcode_minus_L" != no; then
|
adam@0
|
11283 # Linking always hardcodes the temporary library directory.
|
adam@0
|
11284 hardcode_action=relink
|
adam@0
|
11285 else
|
adam@0
|
11286 # We can link without hardcoding, and we can hardcode nonexisting dirs.
|
adam@0
|
11287 hardcode_action=immediate
|
adam@0
|
11288 fi
|
adam@0
|
11289 else
|
adam@0
|
11290 # We cannot hardcode anything, or else we can only hardcode existing
|
adam@0
|
11291 # directories.
|
adam@0
|
11292 hardcode_action=unsupported
|
adam@0
|
11293 fi
|
adam@0
|
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
adam@0
|
11295 $as_echo "$hardcode_action" >&6; }
|
adam@0
|
11296
|
adam@0
|
11297 if test "$hardcode_action" = relink ||
|
adam@0
|
11298 test "$inherit_rpath" = yes; then
|
adam@0
|
11299 # Fast installation is not supported
|
adam@0
|
11300 enable_fast_install=no
|
adam@0
|
11301 elif test "$shlibpath_overrides_runpath" = yes ||
|
adam@0
|
11302 test "$enable_shared" = no; then
|
adam@0
|
11303 # Fast installation is not necessary
|
adam@0
|
11304 enable_fast_install=needless
|
adam@0
|
11305 fi
|
adam@0
|
11306
|
adam@0
|
11307
|
adam@0
|
11308
|
adam@0
|
11309
|
adam@0
|
11310
|
adam@0
|
11311
|
adam@0
|
11312 if test "x$enable_dlopen" != xyes; then
|
adam@0
|
11313 enable_dlopen=unknown
|
adam@0
|
11314 enable_dlopen_self=unknown
|
adam@0
|
11315 enable_dlopen_self_static=unknown
|
adam@0
|
11316 else
|
adam@0
|
11317 lt_cv_dlopen=no
|
adam@0
|
11318 lt_cv_dlopen_libs=
|
adam@0
|
11319
|
adam@0
|
11320 case $host_os in
|
adam@0
|
11321 beos*)
|
adam@0
|
11322 lt_cv_dlopen="load_add_on"
|
adam@0
|
11323 lt_cv_dlopen_libs=
|
adam@0
|
11324 lt_cv_dlopen_self=yes
|
adam@0
|
11325 ;;
|
adam@0
|
11326
|
adam@0
|
11327 mingw* | pw32* | cegcc*)
|
adam@0
|
11328 lt_cv_dlopen="LoadLibrary"
|
adam@0
|
11329 lt_cv_dlopen_libs=
|
adam@0
|
11330 ;;
|
adam@0
|
11331
|
adam@0
|
11332 cygwin*)
|
adam@0
|
11333 lt_cv_dlopen="dlopen"
|
adam@0
|
11334 lt_cv_dlopen_libs=
|
adam@0
|
11335 ;;
|
adam@0
|
11336
|
adam@0
|
11337 darwin*)
|
adam@0
|
11338 # if libdl is installed we need to link against it
|
adam@0
|
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
adam@0
|
11340 $as_echo_n "checking for dlopen in -ldl... " >&6; }
|
adam@64
|
11341 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
adam@0
|
11342 $as_echo_n "(cached) " >&6
|
adam@0
|
11343 else
|
adam@0
|
11344 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11345 LIBS="-ldl $LIBS"
|
adam@0
|
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11347 /* end confdefs.h. */
|
adam@0
|
11348
|
adam@0
|
11349 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11350 Use char because int might match the return type of a GCC
|
adam@0
|
11351 builtin and then its argument prototype would still apply. */
|
adam@0
|
11352 #ifdef __cplusplus
|
adam@0
|
11353 extern "C"
|
adam@0
|
11354 #endif
|
adam@0
|
11355 char dlopen ();
|
adam@0
|
11356 int
|
adam@0
|
11357 main ()
|
adam@0
|
11358 {
|
adam@0
|
11359 return dlopen ();
|
adam@0
|
11360 ;
|
adam@0
|
11361 return 0;
|
adam@0
|
11362 }
|
adam@0
|
11363 _ACEOF
|
adam@0
|
11364 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11365 ac_cv_lib_dl_dlopen=yes
|
adam@0
|
11366 else
|
adam@0
|
11367 ac_cv_lib_dl_dlopen=no
|
adam@0
|
11368 fi
|
adam@0
|
11369 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11370 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11371 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11372 fi
|
adam@0
|
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
adam@0
|
11374 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
adam@64
|
11375 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
adam@0
|
11376 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
adam@0
|
11377 else
|
adam@0
|
11378
|
adam@0
|
11379 lt_cv_dlopen="dyld"
|
adam@0
|
11380 lt_cv_dlopen_libs=
|
adam@0
|
11381 lt_cv_dlopen_self=yes
|
adam@0
|
11382
|
adam@0
|
11383 fi
|
adam@0
|
11384
|
adam@0
|
11385 ;;
|
adam@0
|
11386
|
adam@0
|
11387 *)
|
adam@0
|
11388 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
adam@64
|
11389 if test "x$ac_cv_func_shl_load" = x""yes; then :
|
adam@0
|
11390 lt_cv_dlopen="shl_load"
|
adam@0
|
11391 else
|
adam@0
|
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
adam@0
|
11393 $as_echo_n "checking for shl_load in -ldld... " >&6; }
|
adam@64
|
11394 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
|
adam@0
|
11395 $as_echo_n "(cached) " >&6
|
adam@0
|
11396 else
|
adam@0
|
11397 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11398 LIBS="-ldld $LIBS"
|
adam@0
|
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11400 /* end confdefs.h. */
|
adam@0
|
11401
|
adam@0
|
11402 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11403 Use char because int might match the return type of a GCC
|
adam@0
|
11404 builtin and then its argument prototype would still apply. */
|
adam@0
|
11405 #ifdef __cplusplus
|
adam@0
|
11406 extern "C"
|
adam@0
|
11407 #endif
|
adam@0
|
11408 char shl_load ();
|
adam@0
|
11409 int
|
adam@0
|
11410 main ()
|
adam@0
|
11411 {
|
adam@0
|
11412 return shl_load ();
|
adam@0
|
11413 ;
|
adam@0
|
11414 return 0;
|
adam@0
|
11415 }
|
adam@0
|
11416 _ACEOF
|
adam@0
|
11417 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11418 ac_cv_lib_dld_shl_load=yes
|
adam@0
|
11419 else
|
adam@0
|
11420 ac_cv_lib_dld_shl_load=no
|
adam@0
|
11421 fi
|
adam@0
|
11422 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11423 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11424 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11425 fi
|
adam@0
|
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
adam@0
|
11427 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
adam@64
|
11428 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
|
adam@0
|
11429 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
|
adam@0
|
11430 else
|
adam@0
|
11431 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
adam@64
|
11432 if test "x$ac_cv_func_dlopen" = x""yes; then :
|
adam@0
|
11433 lt_cv_dlopen="dlopen"
|
adam@0
|
11434 else
|
adam@0
|
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
adam@0
|
11436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
|
adam@64
|
11437 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
adam@0
|
11438 $as_echo_n "(cached) " >&6
|
adam@0
|
11439 else
|
adam@0
|
11440 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11441 LIBS="-ldl $LIBS"
|
adam@0
|
11442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11443 /* end confdefs.h. */
|
adam@0
|
11444
|
adam@0
|
11445 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11446 Use char because int might match the return type of a GCC
|
adam@0
|
11447 builtin and then its argument prototype would still apply. */
|
adam@0
|
11448 #ifdef __cplusplus
|
adam@0
|
11449 extern "C"
|
adam@0
|
11450 #endif
|
adam@0
|
11451 char dlopen ();
|
adam@0
|
11452 int
|
adam@0
|
11453 main ()
|
adam@0
|
11454 {
|
adam@0
|
11455 return dlopen ();
|
adam@0
|
11456 ;
|
adam@0
|
11457 return 0;
|
adam@0
|
11458 }
|
adam@0
|
11459 _ACEOF
|
adam@0
|
11460 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11461 ac_cv_lib_dl_dlopen=yes
|
adam@0
|
11462 else
|
adam@0
|
11463 ac_cv_lib_dl_dlopen=no
|
adam@0
|
11464 fi
|
adam@0
|
11465 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11466 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11467 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11468 fi
|
adam@0
|
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
adam@0
|
11470 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
adam@64
|
11471 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
adam@0
|
11472 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
adam@0
|
11473 else
|
adam@0
|
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
adam@0
|
11475 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
adam@64
|
11476 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
|
adam@0
|
11477 $as_echo_n "(cached) " >&6
|
adam@0
|
11478 else
|
adam@0
|
11479 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11480 LIBS="-lsvld $LIBS"
|
adam@0
|
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11482 /* end confdefs.h. */
|
adam@0
|
11483
|
adam@0
|
11484 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11485 Use char because int might match the return type of a GCC
|
adam@0
|
11486 builtin and then its argument prototype would still apply. */
|
adam@0
|
11487 #ifdef __cplusplus
|
adam@0
|
11488 extern "C"
|
adam@0
|
11489 #endif
|
adam@0
|
11490 char dlopen ();
|
adam@0
|
11491 int
|
adam@0
|
11492 main ()
|
adam@0
|
11493 {
|
adam@0
|
11494 return dlopen ();
|
adam@0
|
11495 ;
|
adam@0
|
11496 return 0;
|
adam@0
|
11497 }
|
adam@0
|
11498 _ACEOF
|
adam@0
|
11499 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11500 ac_cv_lib_svld_dlopen=yes
|
adam@0
|
11501 else
|
adam@0
|
11502 ac_cv_lib_svld_dlopen=no
|
adam@0
|
11503 fi
|
adam@0
|
11504 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11505 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11506 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11507 fi
|
adam@0
|
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
adam@0
|
11509 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
adam@64
|
11510 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
|
adam@0
|
11511 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
|
adam@0
|
11512 else
|
adam@0
|
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
adam@0
|
11514 $as_echo_n "checking for dld_link in -ldld... " >&6; }
|
adam@64
|
11515 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
|
adam@0
|
11516 $as_echo_n "(cached) " >&6
|
adam@0
|
11517 else
|
adam@0
|
11518 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11519 LIBS="-ldld $LIBS"
|
adam@0
|
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11521 /* end confdefs.h. */
|
adam@0
|
11522
|
adam@0
|
11523 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11524 Use char because int might match the return type of a GCC
|
adam@0
|
11525 builtin and then its argument prototype would still apply. */
|
adam@0
|
11526 #ifdef __cplusplus
|
adam@0
|
11527 extern "C"
|
adam@0
|
11528 #endif
|
adam@0
|
11529 char dld_link ();
|
adam@0
|
11530 int
|
adam@0
|
11531 main ()
|
adam@0
|
11532 {
|
adam@0
|
11533 return dld_link ();
|
adam@0
|
11534 ;
|
adam@0
|
11535 return 0;
|
adam@0
|
11536 }
|
adam@0
|
11537 _ACEOF
|
adam@0
|
11538 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11539 ac_cv_lib_dld_dld_link=yes
|
adam@0
|
11540 else
|
adam@0
|
11541 ac_cv_lib_dld_dld_link=no
|
adam@0
|
11542 fi
|
adam@0
|
11543 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11544 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11545 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11546 fi
|
adam@0
|
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
adam@0
|
11548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
adam@64
|
11549 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
|
adam@0
|
11550 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
|
adam@0
|
11551 fi
|
adam@0
|
11552
|
adam@0
|
11553
|
adam@0
|
11554 fi
|
adam@0
|
11555
|
adam@0
|
11556
|
adam@0
|
11557 fi
|
adam@0
|
11558
|
adam@0
|
11559
|
adam@0
|
11560 fi
|
adam@0
|
11561
|
adam@0
|
11562
|
adam@0
|
11563 fi
|
adam@0
|
11564
|
adam@0
|
11565
|
adam@0
|
11566 fi
|
adam@0
|
11567
|
adam@0
|
11568 ;;
|
adam@0
|
11569 esac
|
adam@0
|
11570
|
adam@0
|
11571 if test "x$lt_cv_dlopen" != xno; then
|
adam@0
|
11572 enable_dlopen=yes
|
adam@0
|
11573 else
|
adam@0
|
11574 enable_dlopen=no
|
adam@0
|
11575 fi
|
adam@0
|
11576
|
adam@0
|
11577 case $lt_cv_dlopen in
|
adam@0
|
11578 dlopen)
|
adam@0
|
11579 save_CPPFLAGS="$CPPFLAGS"
|
adam@0
|
11580 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
|
adam@0
|
11581
|
adam@0
|
11582 save_LDFLAGS="$LDFLAGS"
|
adam@0
|
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
|
adam@0
|
11584
|
adam@0
|
11585 save_LIBS="$LIBS"
|
adam@0
|
11586 LIBS="$lt_cv_dlopen_libs $LIBS"
|
adam@0
|
11587
|
adam@0
|
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
adam@0
|
11589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
adam@64
|
11590 if test "${lt_cv_dlopen_self+set}" = set; then :
|
adam@0
|
11591 $as_echo_n "(cached) " >&6
|
adam@0
|
11592 else
|
adam@0
|
11593 if test "$cross_compiling" = yes; then :
|
adam@0
|
11594 lt_cv_dlopen_self=cross
|
adam@0
|
11595 else
|
adam@0
|
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
adam@0
|
11597 lt_status=$lt_dlunknown
|
adam@0
|
11598 cat > conftest.$ac_ext <<_LT_EOF
|
adam@47
|
11599 #line $LINENO "configure"
|
adam@0
|
11600 #include "confdefs.h"
|
adam@0
|
11601
|
adam@0
|
11602 #if HAVE_DLFCN_H
|
adam@0
|
11603 #include <dlfcn.h>
|
adam@0
|
11604 #endif
|
adam@0
|
11605
|
adam@0
|
11606 #include <stdio.h>
|
adam@0
|
11607
|
adam@0
|
11608 #ifdef RTLD_GLOBAL
|
adam@0
|
11609 # define LT_DLGLOBAL RTLD_GLOBAL
|
adam@0
|
11610 #else
|
adam@0
|
11611 # ifdef DL_GLOBAL
|
adam@0
|
11612 # define LT_DLGLOBAL DL_GLOBAL
|
adam@0
|
11613 # else
|
adam@0
|
11614 # define LT_DLGLOBAL 0
|
adam@0
|
11615 # endif
|
adam@0
|
11616 #endif
|
adam@0
|
11617
|
adam@0
|
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
|
adam@0
|
11619 find out it does not work in some platform. */
|
adam@0
|
11620 #ifndef LT_DLLAZY_OR_NOW
|
adam@0
|
11621 # ifdef RTLD_LAZY
|
adam@0
|
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
|
adam@0
|
11623 # else
|
adam@0
|
11624 # ifdef DL_LAZY
|
adam@0
|
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
|
adam@0
|
11626 # else
|
adam@0
|
11627 # ifdef RTLD_NOW
|
adam@0
|
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
|
adam@0
|
11629 # else
|
adam@0
|
11630 # ifdef DL_NOW
|
adam@0
|
11631 # define LT_DLLAZY_OR_NOW DL_NOW
|
adam@0
|
11632 # else
|
adam@0
|
11633 # define LT_DLLAZY_OR_NOW 0
|
adam@0
|
11634 # endif
|
adam@0
|
11635 # endif
|
adam@0
|
11636 # endif
|
adam@0
|
11637 # endif
|
adam@0
|
11638 #endif
|
adam@0
|
11639
|
adam@47
|
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
|
adam@47
|
11641 correspondingly for the symbols needed. */
|
adam@47
|
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
adam@47
|
11643 int fnord () __attribute__((visibility("default")));
|
adam@47
|
11644 #endif
|
adam@47
|
11645
|
adam@47
|
11646 int fnord () { return 42; }
|
adam@0
|
11647 int main ()
|
adam@0
|
11648 {
|
adam@0
|
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
adam@0
|
11650 int status = $lt_dlunknown;
|
adam@0
|
11651
|
adam@0
|
11652 if (self)
|
adam@0
|
11653 {
|
adam@0
|
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
adam@47
|
11655 else
|
adam@47
|
11656 {
|
adam@47
|
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
adam@47
|
11658 else puts (dlerror ());
|
adam@47
|
11659 }
|
adam@0
|
11660 /* dlclose (self); */
|
adam@0
|
11661 }
|
adam@0
|
11662 else
|
adam@0
|
11663 puts (dlerror ());
|
adam@0
|
11664
|
adam@0
|
11665 return status;
|
adam@0
|
11666 }
|
adam@0
|
11667 _LT_EOF
|
adam@0
|
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
adam@0
|
11669 (eval $ac_link) 2>&5
|
adam@0
|
11670 ac_status=$?
|
adam@0
|
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
adam@0
|
11673 (./conftest; exit; ) >&5 2>/dev/null
|
adam@0
|
11674 lt_status=$?
|
adam@0
|
11675 case x$lt_status in
|
adam@0
|
11676 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
|
adam@0
|
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
|
adam@0
|
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
|
adam@0
|
11679 esac
|
adam@0
|
11680 else :
|
adam@0
|
11681 # compilation failed
|
adam@0
|
11682 lt_cv_dlopen_self=no
|
adam@0
|
11683 fi
|
adam@0
|
11684 fi
|
adam@0
|
11685 rm -fr conftest*
|
adam@0
|
11686
|
adam@0
|
11687
|
adam@0
|
11688 fi
|
adam@0
|
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
adam@0
|
11690 $as_echo "$lt_cv_dlopen_self" >&6; }
|
adam@0
|
11691
|
adam@0
|
11692 if test "x$lt_cv_dlopen_self" = xyes; then
|
adam@0
|
11693 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
adam@0
|
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
adam@0
|
11695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
adam@64
|
11696 if test "${lt_cv_dlopen_self_static+set}" = set; then :
|
adam@0
|
11697 $as_echo_n "(cached) " >&6
|
adam@0
|
11698 else
|
adam@0
|
11699 if test "$cross_compiling" = yes; then :
|
adam@0
|
11700 lt_cv_dlopen_self_static=cross
|
adam@0
|
11701 else
|
adam@0
|
11702 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
adam@0
|
11703 lt_status=$lt_dlunknown
|
adam@0
|
11704 cat > conftest.$ac_ext <<_LT_EOF
|
adam@47
|
11705 #line $LINENO "configure"
|
adam@0
|
11706 #include "confdefs.h"
|
adam@0
|
11707
|
adam@0
|
11708 #if HAVE_DLFCN_H
|
adam@0
|
11709 #include <dlfcn.h>
|
adam@0
|
11710 #endif
|
adam@0
|
11711
|
adam@0
|
11712 #include <stdio.h>
|
adam@0
|
11713
|
adam@0
|
11714 #ifdef RTLD_GLOBAL
|
adam@0
|
11715 # define LT_DLGLOBAL RTLD_GLOBAL
|
adam@0
|
11716 #else
|
adam@0
|
11717 # ifdef DL_GLOBAL
|
adam@0
|
11718 # define LT_DLGLOBAL DL_GLOBAL
|
adam@0
|
11719 # else
|
adam@0
|
11720 # define LT_DLGLOBAL 0
|
adam@0
|
11721 # endif
|
adam@0
|
11722 #endif
|
adam@0
|
11723
|
adam@0
|
11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
|
adam@0
|
11725 find out it does not work in some platform. */
|
adam@0
|
11726 #ifndef LT_DLLAZY_OR_NOW
|
adam@0
|
11727 # ifdef RTLD_LAZY
|
adam@0
|
11728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
|
adam@0
|
11729 # else
|
adam@0
|
11730 # ifdef DL_LAZY
|
adam@0
|
11731 # define LT_DLLAZY_OR_NOW DL_LAZY
|
adam@0
|
11732 # else
|
adam@0
|
11733 # ifdef RTLD_NOW
|
adam@0
|
11734 # define LT_DLLAZY_OR_NOW RTLD_NOW
|
adam@0
|
11735 # else
|
adam@0
|
11736 # ifdef DL_NOW
|
adam@0
|
11737 # define LT_DLLAZY_OR_NOW DL_NOW
|
adam@0
|
11738 # else
|
adam@0
|
11739 # define LT_DLLAZY_OR_NOW 0
|
adam@0
|
11740 # endif
|
adam@0
|
11741 # endif
|
adam@0
|
11742 # endif
|
adam@0
|
11743 # endif
|
adam@0
|
11744 #endif
|
adam@0
|
11745
|
adam@47
|
11746 /* When -fvisbility=hidden is used, assume the code has been annotated
|
adam@47
|
11747 correspondingly for the symbols needed. */
|
adam@47
|
11748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
adam@47
|
11749 int fnord () __attribute__((visibility("default")));
|
adam@47
|
11750 #endif
|
adam@47
|
11751
|
adam@47
|
11752 int fnord () { return 42; }
|
adam@0
|
11753 int main ()
|
adam@0
|
11754 {
|
adam@0
|
11755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
adam@0
|
11756 int status = $lt_dlunknown;
|
adam@0
|
11757
|
adam@0
|
11758 if (self)
|
adam@0
|
11759 {
|
adam@0
|
11760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
adam@47
|
11761 else
|
adam@47
|
11762 {
|
adam@47
|
11763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
adam@47
|
11764 else puts (dlerror ());
|
adam@47
|
11765 }
|
adam@0
|
11766 /* dlclose (self); */
|
adam@0
|
11767 }
|
adam@0
|
11768 else
|
adam@0
|
11769 puts (dlerror ());
|
adam@0
|
11770
|
adam@0
|
11771 return status;
|
adam@0
|
11772 }
|
adam@0
|
11773 _LT_EOF
|
adam@0
|
11774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
adam@0
|
11775 (eval $ac_link) 2>&5
|
adam@0
|
11776 ac_status=$?
|
adam@0
|
11777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
11778 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
adam@0
|
11779 (./conftest; exit; ) >&5 2>/dev/null
|
adam@0
|
11780 lt_status=$?
|
adam@0
|
11781 case x$lt_status in
|
adam@0
|
11782 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
|
adam@0
|
11783 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
|
adam@0
|
11784 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
|
adam@0
|
11785 esac
|
adam@0
|
11786 else :
|
adam@0
|
11787 # compilation failed
|
adam@0
|
11788 lt_cv_dlopen_self_static=no
|
adam@0
|
11789 fi
|
adam@0
|
11790 fi
|
adam@0
|
11791 rm -fr conftest*
|
adam@0
|
11792
|
adam@0
|
11793
|
adam@0
|
11794 fi
|
adam@0
|
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
adam@0
|
11796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
|
adam@0
|
11797 fi
|
adam@0
|
11798
|
adam@0
|
11799 CPPFLAGS="$save_CPPFLAGS"
|
adam@0
|
11800 LDFLAGS="$save_LDFLAGS"
|
adam@0
|
11801 LIBS="$save_LIBS"
|
adam@0
|
11802 ;;
|
adam@0
|
11803 esac
|
adam@0
|
11804
|
adam@0
|
11805 case $lt_cv_dlopen_self in
|
adam@0
|
11806 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
|
adam@0
|
11807 *) enable_dlopen_self=unknown ;;
|
adam@0
|
11808 esac
|
adam@0
|
11809
|
adam@0
|
11810 case $lt_cv_dlopen_self_static in
|
adam@0
|
11811 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
|
adam@0
|
11812 *) enable_dlopen_self_static=unknown ;;
|
adam@0
|
11813 esac
|
adam@0
|
11814 fi
|
adam@0
|
11815
|
adam@0
|
11816
|
adam@0
|
11817
|
adam@0
|
11818
|
adam@0
|
11819
|
adam@0
|
11820
|
adam@0
|
11821
|
adam@0
|
11822
|
adam@0
|
11823
|
adam@0
|
11824
|
adam@0
|
11825
|
adam@0
|
11826
|
adam@0
|
11827
|
adam@0
|
11828
|
adam@0
|
11829
|
adam@0
|
11830
|
adam@0
|
11831
|
adam@0
|
11832 striplib=
|
adam@0
|
11833 old_striplib=
|
adam@0
|
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
adam@0
|
11835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
adam@0
|
11836 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
adam@0
|
11837 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
adam@0
|
11838 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
adam@0
|
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
11840 $as_echo "yes" >&6; }
|
adam@0
|
11841 else
|
adam@0
|
11842 # FIXME - insert some real tests, host_os isn't really good enough
|
adam@0
|
11843 case $host_os in
|
adam@0
|
11844 darwin*)
|
adam@0
|
11845 if test -n "$STRIP" ; then
|
adam@0
|
11846 striplib="$STRIP -x"
|
adam@0
|
11847 old_striplib="$STRIP -S"
|
adam@0
|
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
11849 $as_echo "yes" >&6; }
|
adam@0
|
11850 else
|
adam@0
|
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11852 $as_echo "no" >&6; }
|
adam@0
|
11853 fi
|
adam@0
|
11854 ;;
|
adam@0
|
11855 *)
|
adam@0
|
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11857 $as_echo "no" >&6; }
|
adam@0
|
11858 ;;
|
adam@0
|
11859 esac
|
adam@0
|
11860 fi
|
adam@0
|
11861
|
adam@0
|
11862
|
adam@0
|
11863
|
adam@0
|
11864
|
adam@0
|
11865
|
adam@0
|
11866
|
adam@0
|
11867
|
adam@0
|
11868
|
adam@0
|
11869
|
adam@0
|
11870
|
adam@0
|
11871
|
adam@0
|
11872
|
adam@0
|
11873 # Report which library types will actually be built
|
adam@0
|
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
adam@0
|
11875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
adam@0
|
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
adam@0
|
11877 $as_echo "$can_build_shared" >&6; }
|
adam@0
|
11878
|
adam@0
|
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
adam@0
|
11880 $as_echo_n "checking whether to build shared libraries... " >&6; }
|
adam@0
|
11881 test "$can_build_shared" = "no" && enable_shared=no
|
adam@0
|
11882
|
adam@0
|
11883 # On AIX, shared libraries and static libraries use the same namespace, and
|
adam@0
|
11884 # are all built from PIC.
|
adam@0
|
11885 case $host_os in
|
adam@0
|
11886 aix3*)
|
adam@0
|
11887 test "$enable_shared" = yes && enable_static=no
|
adam@0
|
11888 if test -n "$RANLIB"; then
|
adam@0
|
11889 archive_cmds="$archive_cmds~\$RANLIB \$lib"
|
adam@0
|
11890 postinstall_cmds='$RANLIB $lib'
|
adam@0
|
11891 fi
|
adam@0
|
11892 ;;
|
adam@0
|
11893
|
adam@0
|
11894 aix[4-9]*)
|
adam@0
|
11895 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
|
adam@0
|
11896 test "$enable_shared" = yes && enable_static=no
|
adam@0
|
11897 fi
|
adam@0
|
11898 ;;
|
adam@0
|
11899 esac
|
adam@0
|
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
adam@0
|
11901 $as_echo "$enable_shared" >&6; }
|
adam@0
|
11902
|
adam@0
|
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
adam@0
|
11904 $as_echo_n "checking whether to build static libraries... " >&6; }
|
adam@0
|
11905 # Make sure either enable_shared or enable_static is yes.
|
adam@0
|
11906 test "$enable_shared" = yes || enable_static=yes
|
adam@0
|
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
adam@0
|
11908 $as_echo "$enable_static" >&6; }
|
adam@0
|
11909
|
adam@0
|
11910
|
adam@0
|
11911
|
adam@0
|
11912
|
adam@0
|
11913 fi
|
adam@0
|
11914 ac_ext=c
|
adam@0
|
11915 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
11916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
11917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
11918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
11919
|
adam@0
|
11920 CC="$lt_save_CC"
|
adam@0
|
11921
|
adam@0
|
11922
|
adam@0
|
11923
|
adam@0
|
11924
|
adam@0
|
11925
|
adam@0
|
11926
|
adam@0
|
11927
|
adam@0
|
11928
|
adam@0
|
11929
|
adam@0
|
11930
|
adam@0
|
11931
|
adam@0
|
11932
|
adam@0
|
11933
|
adam@0
|
11934 ac_config_commands="$ac_config_commands libtool"
|
adam@0
|
11935
|
adam@0
|
11936
|
adam@0
|
11937
|
adam@0
|
11938
|
adam@0
|
11939 # Only expand once:
|
adam@0
|
11940
|
adam@0
|
11941
|
adam@0
|
11942
|
adam@0
|
11943
|
adam@0
|
11944
|
adam@0
|
11945 found=false
|
adam@0
|
11946
|
adam@0
|
11947 # Check whether --with-openssl was given.
|
adam@0
|
11948 if test "${with_openssl+set}" = set; then :
|
adam@0
|
11949 withval=$with_openssl;
|
adam@0
|
11950 case "$withval" in
|
adam@0
|
11951 "" | y | ye | yes | n | no)
|
adam@0
|
11952 as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
|
adam@0
|
11953 ;;
|
adam@0
|
11954 *) ssldirs="$withval"
|
adam@0
|
11955 ;;
|
adam@0
|
11956 esac
|
adam@0
|
11957
|
adam@0
|
11958 else
|
adam@0
|
11959
|
adam@0
|
11960 # if pkg-config is installed and openssl has installed a .pc file,
|
adam@0
|
11961 # then use that information and don't search ssldirs
|
adam@0
|
11962 # Extract the first word of "pkg-config", so it can be a program name with args.
|
adam@0
|
11963 set dummy pkg-config; ac_word=$2
|
adam@0
|
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
11965 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
11966 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
|
adam@0
|
11967 $as_echo_n "(cached) " >&6
|
adam@0
|
11968 else
|
adam@0
|
11969 case $PKG_CONFIG in
|
adam@0
|
11970 [\\/]* | ?:[\\/]*)
|
adam@0
|
11971 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
adam@0
|
11972 ;;
|
adam@0
|
11973 *)
|
adam@0
|
11974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
11975 for as_dir in $PATH
|
adam@0
|
11976 do
|
adam@0
|
11977 IFS=$as_save_IFS
|
adam@0
|
11978 test -z "$as_dir" && as_dir=.
|
adam@0
|
11979 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
11980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
11981 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
adam@0
|
11982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
11983 break 2
|
adam@0
|
11984 fi
|
adam@0
|
11985 done
|
adam@0
|
11986 done
|
adam@0
|
11987 IFS=$as_save_IFS
|
adam@0
|
11988
|
adam@0
|
11989 ;;
|
adam@0
|
11990 esac
|
adam@0
|
11991 fi
|
adam@0
|
11992 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
adam@0
|
11993 if test -n "$PKG_CONFIG"; then
|
adam@0
|
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
adam@0
|
11995 $as_echo "$PKG_CONFIG" >&6; }
|
adam@0
|
11996 else
|
adam@0
|
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11998 $as_echo "no" >&6; }
|
adam@0
|
11999 fi
|
adam@0
|
12000
|
adam@0
|
12001
|
adam@0
|
12002 if test x"$PKG_CONFIG" != x""; then
|
adam@0
|
12003 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
|
adam@0
|
12004 if test $? = 0; then
|
adam@0
|
12005 OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
|
adam@0
|
12006 OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
|
adam@0
|
12007 found=true
|
adam@0
|
12008 fi
|
adam@0
|
12009 fi
|
adam@0
|
12010
|
adam@0
|
12011 # no such luck; use some default ssldirs
|
adam@0
|
12012 if ! $found; then
|
adam@0
|
12013 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
|
adam@0
|
12014 fi
|
adam@0
|
12015
|
adam@0
|
12016
|
adam@0
|
12017 fi
|
adam@0
|
12018
|
adam@0
|
12019
|
adam@0
|
12020
|
adam@0
|
12021 # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
|
adam@0
|
12022 # an 'openssl' subdirectory
|
adam@0
|
12023
|
adam@0
|
12024 if ! $found; then
|
adam@0
|
12025 OPENSSL_INCLUDES=
|
adam@0
|
12026 for ssldir in $ssldirs; do
|
adam@0
|
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
|
adam@0
|
12028 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
|
adam@0
|
12029 if test -f "$ssldir/include/openssl/ssl.h"; then
|
adam@0
|
12030 OPENSSL_INCLUDES="-I$ssldir/include"
|
adam@0
|
12031 OPENSSL_LDFLAGS="-L$ssldir/lib"
|
adam@0
|
12032 OPENSSL_LIBS="-lssl -lcrypto"
|
adam@0
|
12033 found=true
|
adam@0
|
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
12035 $as_echo "yes" >&6; }
|
adam@0
|
12036 break
|
adam@0
|
12037 else
|
adam@0
|
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
12039 $as_echo "no" >&6; }
|
adam@0
|
12040 fi
|
adam@0
|
12041 done
|
adam@0
|
12042
|
adam@0
|
12043 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
|
adam@0
|
12044 # it will just work!
|
adam@0
|
12045 fi
|
adam@0
|
12046
|
adam@0
|
12047 # try the preprocessor and linker with our new flags,
|
adam@0
|
12048 # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
|
adam@0
|
12049
|
adam@0
|
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
|
adam@0
|
12051 $as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; }
|
adam@0
|
12052 echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
|
adam@0
|
12053 "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
|
adam@0
|
12054
|
adam@0
|
12055 save_LIBS="$LIBS"
|
adam@0
|
12056 save_LDFLAGS="$LDFLAGS"
|
adam@0
|
12057 save_CPPFLAGS="$CPPFLAGS"
|
adam@0
|
12058 LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
|
adam@0
|
12059 LIBS="$OPENSSL_LIBS $LIBS"
|
adam@0
|
12060 CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS"
|
adam@0
|
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
12062 /* end confdefs.h. */
|
adam@0
|
12063 #include <openssl/ssl.h>
|
adam@0
|
12064 int
|
adam@0
|
12065 main ()
|
adam@0
|
12066 {
|
adam@0
|
12067 SSL_new(NULL)
|
adam@0
|
12068 ;
|
adam@0
|
12069 return 0;
|
adam@0
|
12070 }
|
adam@0
|
12071 _ACEOF
|
adam@0
|
12072 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
12073
|
adam@0
|
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
12075 $as_echo "yes" >&6; }
|
adam@0
|
12076 echo >/dev/null
|
adam@0
|
12077
|
adam@0
|
12078 else
|
adam@0
|
12079
|
adam@0
|
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
12081 $as_echo "no" >&6; }
|
adam@0
|
12082 echo "You must install OpenSSL development files."; exit 1
|
adam@0
|
12083
|
adam@0
|
12084 fi
|
adam@0
|
12085 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
12086 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
12087 CPPFLAGS="$save_CPPFLAGS"
|
adam@0
|
12088 LDFLAGS="$save_LDFLAGS"
|
adam@0
|
12089 LIBS="$save_LIBS"
|
adam@0
|
12090
|
adam@0
|
12091
|
adam@0
|
12092
|
adam@0
|
12093
|
adam@0
|
12094
|
adam@0
|
12095
|
adam@0
|
12096
|
adam@0
|
12097
|
adam@0
|
12098
|
adam@0
|
12099
|
adam@0
|
12100
|
adam@0
|
12101
|
adam@0
|
12102
|
adam@0
|
12103
|
adam@0
|
12104
|
adam@0
|
12105
|
adam@0
|
12106
|
adam@0
|
12107
|
adam@0
|
12108
|
adam@0
|
12109
|
adam@0
|
12110
|
adam@0
|
12111
|
adam@0
|
12112
|
adam@0
|
12113
|
adam@0
|
12114
|
adam@0
|
12115
|
adam@0
|
12116
|
adam@0
|
12117
|
adam@0
|
12118
|
adam@0
|
12119
|
adam@0
|
12120
|
adam@0
|
12121 # Check whether --with-libcurl was given.
|
adam@0
|
12122 if test "${with_libcurl+set}" = set; then :
|
adam@0
|
12123 withval=$with_libcurl; _libcurl_with=$withval
|
adam@0
|
12124 else
|
adam@0
|
12125 _libcurl_with=yes
|
adam@0
|
12126 fi
|
adam@0
|
12127
|
adam@0
|
12128
|
adam@0
|
12129 if test "$_libcurl_with" != "no" ; then
|
adam@0
|
12130
|
adam@0
|
12131 for ac_prog in gawk mawk nawk awk
|
adam@0
|
12132 do
|
adam@0
|
12133 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
12134 set dummy $ac_prog; ac_word=$2
|
adam@0
|
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
12136 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
12137 if test "${ac_cv_prog_AWK+set}" = set; then :
|
adam@0
|
12138 $as_echo_n "(cached) " >&6
|
adam@0
|
12139 else
|
adam@0
|
12140 if test -n "$AWK"; then
|
adam@0
|
12141 ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
adam@0
|
12142 else
|
adam@0
|
12143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
12144 for as_dir in $PATH
|
adam@0
|
12145 do
|
adam@0
|
12146 IFS=$as_save_IFS
|
adam@0
|
12147 test -z "$as_dir" && as_dir=.
|
adam@0
|
12148 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
12149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
12150 ac_cv_prog_AWK="$ac_prog"
|
adam@0
|
12151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
12152 break 2
|
adam@0
|
12153 fi
|
adam@0
|
12154 done
|
adam@0
|
12155 done
|
adam@0
|
12156 IFS=$as_save_IFS
|
adam@0
|
12157
|
adam@0
|
12158 fi
|
adam@0
|
12159 fi
|
adam@0
|
12160 AWK=$ac_cv_prog_AWK
|
adam@0
|
12161 if test -n "$AWK"; then
|
adam@0
|
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
adam@0
|
12163 $as_echo "$AWK" >&6; }
|
adam@0
|
12164 else
|
adam@0
|
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
12166 $as_echo "no" >&6; }
|
adam@0
|
12167 fi
|
adam@0
|
12168
|
adam@0
|
12169
|
adam@0
|
12170 test -n "$AWK" && break
|
adam@0
|
12171 done
|
adam@0
|
12172
|
adam@0
|
12173
|
adam@0
|
12174 _libcurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[1]+256*A[2]+A[3]; print X;}'"
|
adam@0
|
12175
|
adam@0
|
12176 _libcurl_try_link=yes
|
adam@0
|
12177
|
adam@0
|
12178 if test -d "$_libcurl_with" ; then
|
adam@0
|
12179 LIBCURL_CPPFLAGS="-I$withval/include"
|
adam@0
|
12180 _libcurl_ldflags="-L$withval/lib"
|
adam@0
|
12181 # Extract the first word of "curl-config", so it can be a program name with args.
|
adam@0
|
12182 set dummy curl-config; ac_word=$2
|
adam@0
|
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
12184 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
12185 if test "${ac_cv_path__libcurl_config+set}" = set; then :
|
adam@0
|
12186 $as_echo_n "(cached) " >&6
|
adam@0
|
12187 else
|
adam@0
|
12188 case $_libcurl_config in
|
adam@0
|
12189 [\\/]* | ?:[\\/]*)
|
adam@0
|
12190 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
|
adam@0
|
12191 ;;
|
adam@0
|
12192 *)
|
adam@0
|
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
12194 for as_dir in "$withval/bin"
|
adam@0
|
12195 do
|
adam@0
|
12196 IFS=$as_save_IFS
|
adam@0
|
12197 test -z "$as_dir" && as_dir=.
|
adam@0
|
12198 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
12199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
12200 ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
|
adam@0
|
12201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
12202 break 2
|
adam@0
|
12203 fi
|
adam@0
|
12204 done
|
adam@0
|
12205 done
|
adam@0
|
12206 IFS=$as_save_IFS
|
adam@0
|
12207
|
adam@0
|
12208 test -z "$ac_cv_path__libcurl_config" && ac_cv_path__libcurl_config=""$withval/bin""
|
adam@0
|
12209 ;;
|
adam@0
|
12210 esac
|
adam@0
|
12211 fi
|
adam@0
|
12212 _libcurl_config=$ac_cv_path__libcurl_config
|
adam@0
|
12213 if test -n "$_libcurl_config"; then
|
adam@0
|
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
|
adam@0
|
12215 $as_echo "$_libcurl_config" >&6; }
|
adam@0
|
12216 else
|
adam@0
|
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
12218 $as_echo "no" >&6; }
|
adam@0
|
12219 fi
|
adam@0
|
12220
|
adam@0
|
12221
|
adam@0
|
12222 else
|
adam@0
|
12223 # Extract the first word of "curl-config", so it can be a program name with args.
|
adam@0
|
12224 set dummy curl-config; ac_word=$2
|
adam@0
|
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
12226 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
12227 if test "${ac_cv_path__libcurl_config+set}" = set; then :
|
adam@0
|
12228 $as_echo_n "(cached) " >&6
|
adam@0
|
12229 else
|
adam@0
|
12230 case $_libcurl_config in
|
adam@0
|
12231 [\\/]* | ?:[\\/]*)
|
adam@0
|
12232 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
|
adam@0
|
12233 ;;
|
adam@0
|
12234 *)
|
adam@0
|
12235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
12236 for as_dir in $PATH
|
adam@0
|
12237 do
|
adam@0
|
12238 IFS=$as_save_IFS
|
adam@0
|
12239 test -z "$as_dir" && as_dir=.
|
adam@0
|
12240 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
12241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
12242 ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
|
adam@0
|
12243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
12244 break 2
|
adam@0
|
12245 fi
|
adam@0
|
12246 done
|
adam@0
|
12247 done
|
adam@0
|
12248 IFS=$as_save_IFS
|
adam@0
|
12249
|
adam@0
|
12250 ;;
|
adam@0
|
12251 esac
|
adam@0
|
12252 fi
|
adam@0
|
12253 _libcurl_config=$ac_cv_path__libcurl_config
|
adam@0
|
12254 if test -n "$_libcurl_config"; then
|
adam@0
|
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
|
adam@0
|
12256 $as_echo "$_libcurl_config" >&6; }
|
adam@0
|
12257 else
|
adam@0
|
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
12259 $as_echo "no" >&6; }
|
adam@0
|
12260 fi
|
adam@0
|
12261
|
adam@0
|
12262
|
adam@0
|
12263 fi
|
adam@0
|
12264
|
adam@0
|
12265 if test x$_libcurl_config != "x" ; then
|
adam@0
|
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5
|
adam@0
|
12267 $as_echo_n "checking for the version of libcurl... " >&6; }
|
adam@64
|
12268 if test "${libcurl_cv_lib_curl_version+set}" = set; then :
|
adam@0
|
12269 $as_echo_n "(cached) " >&6
|
adam@0
|
12270 else
|
adam@0
|
12271 libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
|
adam@0
|
12272 fi
|
adam@0
|
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5
|
adam@0
|
12274 $as_echo "$libcurl_cv_lib_curl_version" >&6; }
|
adam@0
|
12275
|
adam@0
|
12276 _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
|
adam@0
|
12277 _libcurl_wanted=`echo 0 | $_libcurl_version_parse`
|
adam@0
|
12278
|
adam@0
|
12279 if test $_libcurl_wanted -gt 0 ; then
|
adam@0
|
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version " >&5
|
adam@0
|
12281 $as_echo_n "checking for libcurl >= version ... " >&6; }
|
adam@64
|
12282 if test "${libcurl_cv_lib_version_ok+set}" = set; then :
|
adam@0
|
12283 $as_echo_n "(cached) " >&6
|
adam@0
|
12284 else
|
adam@0
|
12285
|
adam@0
|
12286 if test $_libcurl_version -ge $_libcurl_wanted ; then
|
adam@0
|
12287 libcurl_cv_lib_version_ok=yes
|
adam@0
|
12288 else
|
adam@0
|
12289 libcurl_cv_lib_version_ok=no
|
adam@0
|
12290 fi
|
adam@0
|
12291
|
adam@0
|
12292 fi
|
adam@0
|
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_version_ok" >&5
|
adam@0
|
12294 $as_echo "$libcurl_cv_lib_version_ok" >&6; }
|
adam@0
|
12295 fi
|
adam@0
|
12296
|
adam@0
|
12297 if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then
|
adam@0
|
12298 if test x"$LIBCURL_CPPFLAGS" = "x" ; then
|
adam@0
|
12299 LIBCURL_CPPFLAGS=`$_libcurl_config --cflags`
|
adam@0
|
12300 fi
|
adam@0
|
12301 if test x"$LIBCURL" = "x" ; then
|
adam@0
|
12302 LIBCURL=`$_libcurl_config --libs`
|
adam@0
|
12303
|
adam@0
|
12304 # This is so silly, but Apple actually has a bug in their
|
adam@0
|
12305 # curl-config script. Fixed in Tiger, but there are still
|
adam@0
|
12306 # lots of Panther installs around.
|
adam@0
|
12307 case "${host}" in
|
adam@0
|
12308 powerpc-apple-darwin7*)
|
adam@0
|
12309 LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'`
|
adam@0
|
12310 ;;
|
adam@0
|
12311 esac
|
adam@0
|
12312 fi
|
adam@0
|
12313
|
adam@0
|
12314 # All curl-config scripts support --feature
|
adam@0
|
12315 _libcurl_features=`$_libcurl_config --feature`
|
adam@0
|
12316
|
adam@0
|
12317 # Is it modern enough to have --protocols? (7.12.4)
|
adam@0
|
12318 if test $_libcurl_version -ge 461828 ; then
|
adam@0
|
12319 _libcurl_protocols=`$_libcurl_config --protocols`
|
adam@0
|
12320 fi
|
adam@0
|
12321 else
|
adam@0
|
12322 _libcurl_try_link=no
|
adam@0
|
12323 fi
|
adam@0
|
12324
|
adam@0
|
12325 unset _libcurl_wanted
|
adam@0
|
12326 fi
|
adam@0
|
12327
|
adam@0
|
12328 if test $_libcurl_try_link = yes ; then
|
adam@0
|
12329
|
adam@0
|
12330 # we didn't find curl-config, so let's see if the user-supplied
|
adam@0
|
12331 # link line (or failing that, "-lcurl") is enough.
|
adam@0
|
12332 LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
|
adam@0
|
12333
|
adam@0
|
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5
|
adam@0
|
12335 $as_echo_n "checking whether libcurl is usable... " >&6; }
|
adam@64
|
12336 if test "${libcurl_cv_lib_curl_usable+set}" = set; then :
|
adam@0
|
12337 $as_echo_n "(cached) " >&6
|
adam@0
|
12338 else
|
adam@0
|
12339
|
adam@0
|
12340 _libcurl_save_cppflags=$CPPFLAGS
|
adam@0
|
12341 CPPFLAGS="$LIBCURL_CPPFLAGS $CPPFLAGS"
|
adam@0
|
12342 _libcurl_save_libs=$LIBS
|
adam@0
|
12343 LIBS="$LIBCURL $LIBS"
|
adam@0
|
12344
|
adam@0
|
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
12346 /* end confdefs.h. */
|
adam@0
|
12347 #include <curl/curl.h>
|
adam@0
|
12348 int
|
adam@0
|
12349 main ()
|
adam@0
|
12350 {
|
adam@0
|
12351
|
adam@0
|
12352 /* Try and use a few common options to force a failure if we are
|
adam@0
|
12353 missing symbols or can't link. */
|
adam@0
|
12354 int x;
|
adam@0
|
12355 curl_easy_setopt(NULL,CURLOPT_URL,NULL);
|
adam@0
|
12356 x=CURL_ERROR_SIZE;
|
adam@0
|
12357 x=CURLOPT_WRITEFUNCTION;
|
adam@0
|
12358 x=CURLOPT_FILE;
|
adam@0
|
12359 x=CURLOPT_ERRORBUFFER;
|
adam@0
|
12360 x=CURLOPT_STDERR;
|
adam@0
|
12361 x=CURLOPT_VERBOSE;
|
adam@0
|
12362
|
adam@0
|
12363 ;
|
adam@0
|
12364 return 0;
|
adam@0
|
12365 }
|
adam@0
|
12366 _ACEOF
|
adam@0
|
12367 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
12368 libcurl_cv_lib_curl_usable=yes
|
adam@0
|
12369 else
|
adam@0
|
12370 libcurl_cv_lib_curl_usable=no
|
adam@0
|
12371 fi
|
adam@0
|
12372 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
12373 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
12374
|
adam@0
|
12375 CPPFLAGS=$_libcurl_save_cppflags
|
adam@0
|
12376 LIBS=$_libcurl_save_libs
|
adam@0
|
12377 unset _libcurl_save_cppflags
|
adam@0
|
12378 unset _libcurl_save_libs
|
adam@0
|
12379
|
adam@0
|
12380 fi
|
adam@0
|
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_usable" >&5
|
adam@0
|
12382 $as_echo "$libcurl_cv_lib_curl_usable" >&6; }
|
adam@0
|
12383
|
adam@0
|
12384 if test $libcurl_cv_lib_curl_usable = yes ; then
|
adam@0
|
12385
|
adam@0
|
12386 # Does curl_free() exist in this version of libcurl?
|
adam@0
|
12387 # If not, fake it with free()
|
adam@0
|
12388
|
adam@0
|
12389 _libcurl_save_cppflags=$CPPFLAGS
|
adam@0
|
12390 CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
|
adam@0
|
12391 _libcurl_save_libs=$LIBS
|
adam@0
|
12392 LIBS="$LIBS $LIBCURL"
|
adam@0
|
12393
|
adam@0
|
12394 ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free"
|
adam@64
|
12395 if test "x$ac_cv_func_curl_free" = x""yes; then :
|
adam@0
|
12396
|
adam@0
|
12397 else
|
adam@0
|
12398
|
adam@0
|
12399 $as_echo "#define curl_free free" >>confdefs.h
|
adam@0
|
12400
|
adam@0
|
12401 fi
|
adam@0
|
12402
|
adam@0
|
12403
|
adam@0
|
12404 CPPFLAGS=$_libcurl_save_cppflags
|
adam@0
|
12405 LIBS=$_libcurl_save_libs
|
adam@0
|
12406 unset _libcurl_save_cppflags
|
adam@0
|
12407 unset _libcurl_save_libs
|
adam@0
|
12408
|
adam@0
|
12409
|
adam@0
|
12410 $as_echo "#define HAVE_LIBCURL 1" >>confdefs.h
|
adam@0
|
12411
|
adam@0
|
12412
|
adam@0
|
12413
|
adam@0
|
12414
|
adam@0
|
12415 for _libcurl_feature in $_libcurl_features ; do
|
adam@0
|
12416 cat >>confdefs.h <<_ACEOF
|
adam@0
|
12417 #define `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1
|
adam@0
|
12418 _ACEOF
|
adam@0
|
12419
|
adam@0
|
12420 eval `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes
|
adam@0
|
12421 done
|
adam@0
|
12422
|
adam@0
|
12423 if test "x$_libcurl_protocols" = "x" ; then
|
adam@0
|
12424
|
adam@0
|
12425 # We don't have --protocols, so just assume that all
|
adam@0
|
12426 # protocols are available
|
adam@0
|
12427 _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT TFTP"
|
adam@0
|
12428
|
adam@0
|
12429 if test x$libcurl_feature_SSL = xyes ; then
|
adam@0
|
12430 _libcurl_protocols="$_libcurl_protocols HTTPS"
|
adam@0
|
12431
|
adam@0
|
12432 # FTPS wasn't standards-compliant until version
|
adam@0
|
12433 # 7.11.0 (0x070b00 == 461568)
|
adam@0
|
12434 if test $_libcurl_version -ge 461568; then
|
adam@0
|
12435 _libcurl_protocols="$_libcurl_protocols FTPS"
|
adam@0
|
12436 fi
|
adam@0
|
12437 fi
|
adam@0
|
12438
|
adam@0
|
12439 # RTSP, IMAP, POP3 and SMTP were added in
|
adam@0
|
12440 # 7.20.0 (0x071400 == 463872)
|
adam@0
|
12441 if test $_libcurl_version -ge 463872; then
|
adam@0
|
12442 _libcurl_protocols="$_libcurl_protocols RTSP IMAP POP3 SMTP"
|
adam@0
|
12443 fi
|
adam@0
|
12444 fi
|
adam@0
|
12445
|
adam@0
|
12446 for _libcurl_protocol in $_libcurl_protocols ; do
|
adam@0
|
12447 cat >>confdefs.h <<_ACEOF
|
adam@0
|
12448 #define `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1
|
adam@0
|
12449 _ACEOF
|
adam@0
|
12450
|
adam@0
|
12451 eval `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes
|
adam@0
|
12452 done
|
adam@0
|
12453 else
|
adam@0
|
12454 unset LIBCURL
|
adam@0
|
12455 unset LIBCURL_CPPFLAGS
|
adam@0
|
12456 fi
|
adam@0
|
12457 fi
|
adam@0
|
12458
|
adam@0
|
12459 unset _libcurl_try_link
|
adam@0
|
12460 unset _libcurl_version_parse
|
adam@0
|
12461 unset _libcurl_config
|
adam@0
|
12462 unset _libcurl_feature
|
adam@0
|
12463 unset _libcurl_features
|
adam@0
|
12464 unset _libcurl_protocol
|
adam@0
|
12465 unset _libcurl_protocols
|
adam@0
|
12466 unset _libcurl_version
|
adam@0
|
12467 unset _libcurl_ldflags
|
adam@0
|
12468 fi
|
adam@0
|
12469
|
adam@0
|
12470 if test x$_libcurl_with = xno || test x$libcurl_cv_lib_curl_usable != xyes ; then
|
adam@0
|
12471 # This is the IF-NO path
|
adam@0
|
12472 echo "You must install libcurl development files."; exit 1
|
adam@0
|
12473 else
|
adam@0
|
12474 # This is the IF-YES path
|
adam@0
|
12475 echo >/dev/null
|
adam@0
|
12476 fi
|
adam@0
|
12477
|
adam@0
|
12478 unset _libcurl_with
|
adam@0
|
12479
|
adam@0
|
12480
|
adam@1
|
12481 ac_ext=cpp
|
adam@1
|
12482 ac_cpp='$CXXCPP $CPPFLAGS'
|
adam@1
|
12483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
12484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
12485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
adam@1
|
12486 if test -z "$CXX"; then
|
adam@1
|
12487 if test -n "$CCC"; then
|
adam@1
|
12488 CXX=$CCC
|
adam@1
|
12489 else
|
adam@1
|
12490 if test -n "$ac_tool_prefix"; then
|
adam@1
|
12491 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
adam@1
|
12492 do
|
adam@1
|
12493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@1
|
12494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@1
|
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@1
|
12496 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
12497 if test "${ac_cv_prog_CXX+set}" = set; then :
|
adam@1
|
12498 $as_echo_n "(cached) " >&6
|
adam@1
|
12499 else
|
adam@1
|
12500 if test -n "$CXX"; then
|
adam@1
|
12501 ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
adam@1
|
12502 else
|
adam@1
|
12503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@1
|
12504 for as_dir in $PATH
|
adam@1
|
12505 do
|
adam@1
|
12506 IFS=$as_save_IFS
|
adam@1
|
12507 test -z "$as_dir" && as_dir=.
|
adam@1
|
12508 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@1
|
12509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@1
|
12510 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
adam@1
|
12511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@1
|
12512 break 2
|
adam@1
|
12513 fi
|
adam@1
|
12514 done
|
adam@1
|
12515 done
|
adam@1
|
12516 IFS=$as_save_IFS
|
adam@1
|
12517
|
adam@1
|
12518 fi
|
adam@1
|
12519 fi
|
adam@1
|
12520 CXX=$ac_cv_prog_CXX
|
adam@1
|
12521 if test -n "$CXX"; then
|
adam@1
|
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
adam@1
|
12523 $as_echo "$CXX" >&6; }
|
adam@1
|
12524 else
|
adam@1
|
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@1
|
12526 $as_echo "no" >&6; }
|
adam@1
|
12527 fi
|
adam@1
|
12528
|
adam@1
|
12529
|
adam@1
|
12530 test -n "$CXX" && break
|
adam@1
|
12531 done
|
adam@1
|
12532 fi
|
adam@1
|
12533 if test -z "$CXX"; then
|
adam@1
|
12534 ac_ct_CXX=$CXX
|
adam@1
|
12535 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
adam@1
|
12536 do
|
adam@1
|
12537 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@1
|
12538 set dummy $ac_prog; ac_word=$2
|
adam@1
|
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@1
|
12540 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@64
|
12541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
adam@1
|
12542 $as_echo_n "(cached) " >&6
|
adam@1
|
12543 else
|
adam@1
|
12544 if test -n "$ac_ct_CXX"; then
|
adam@1
|
12545 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
adam@1
|
12546 else
|
adam@1
|
12547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@1
|
12548 for as_dir in $PATH
|
adam@1
|
12549 do
|
adam@1
|
12550 IFS=$as_save_IFS
|
adam@1
|
12551 test -z "$as_dir" && as_dir=.
|
adam@1
|
12552 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@1
|
12553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@1
|
12554 ac_cv_prog_ac_ct_CXX="$ac_prog"
|
adam@1
|
12555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@1
|
12556 break 2
|
adam@1
|
12557 fi
|
adam@1
|
12558 done
|
adam@1
|
12559 done
|
adam@1
|
12560 IFS=$as_save_IFS
|
adam@1
|
12561
|
adam@1
|
12562 fi
|
adam@1
|
12563 fi
|
adam@1
|
12564 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
adam@1
|
12565 if test -n "$ac_ct_CXX"; then
|
adam@1
|
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
adam@1
|
12567 $as_echo "$ac_ct_CXX" >&6; }
|
adam@1
|
12568 else
|
adam@1
|
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@1
|
12570 $as_echo "no" >&6; }
|
adam@1
|
12571 fi
|
adam@1
|
12572
|
adam@1
|
12573
|
adam@1
|
12574 test -n "$ac_ct_CXX" && break
|
adam@1
|
12575 done
|
adam@1
|
12576
|
adam@1
|
12577 if test "x$ac_ct_CXX" = x; then
|
adam@1
|
12578 CXX="g++"
|
adam@1
|
12579 else
|
adam@1
|
12580 case $cross_compiling:$ac_tool_warned in
|
adam@1
|
12581 yes:)
|
adam@1
|
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@1
|
12583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@1
|
12584 ac_tool_warned=yes ;;
|
adam@1
|
12585 esac
|
adam@1
|
12586 CXX=$ac_ct_CXX
|
adam@1
|
12587 fi
|
adam@1
|
12588 fi
|
adam@1
|
12589
|
adam@1
|
12590 fi
|
adam@1
|
12591 fi
|
adam@1
|
12592 # Provide some information about the compiler.
|
adam@1
|
12593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
adam@1
|
12594 set X $ac_compile
|
adam@1
|
12595 ac_compiler=$2
|
adam@1
|
12596 for ac_option in --version -v -V -qversion; do
|
adam@1
|
12597 { { ac_try="$ac_compiler $ac_option >&5"
|
adam@1
|
12598 case "(($ac_try" in
|
adam@1
|
12599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@1
|
12600 *) ac_try_echo=$ac_try;;
|
adam@1
|
12601 esac
|
adam@1
|
12602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@1
|
12603 $as_echo "$ac_try_echo"; } >&5
|
adam@1
|
12604 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
adam@1
|
12605 ac_status=$?
|
adam@1
|
12606 if test -s conftest.err; then
|
adam@1
|
12607 sed '10a\
|
adam@1
|
12608 ... rest of stderr output deleted ...
|
adam@1
|
12609 10q' conftest.err >conftest.er1
|
adam@1
|
12610 cat conftest.er1 >&5
|
adam@1
|
12611 fi
|
adam@1
|
12612 rm -f conftest.er1 conftest.err
|
adam@1
|
12613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@1
|
12614 test $ac_status = 0; }
|
adam@1
|
12615 done
|
adam@1
|
12616
|
adam@1
|
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
adam@1
|
12618 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
adam@64
|
12619 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
adam@1
|
12620 $as_echo_n "(cached) " >&6
|
adam@1
|
12621 else
|
adam@1
|
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12623 /* end confdefs.h. */
|
adam@1
|
12624
|
adam@1
|
12625 int
|
adam@1
|
12626 main ()
|
adam@1
|
12627 {
|
adam@1
|
12628 #ifndef __GNUC__
|
adam@1
|
12629 choke me
|
adam@1
|
12630 #endif
|
adam@1
|
12631
|
adam@1
|
12632 ;
|
adam@1
|
12633 return 0;
|
adam@1
|
12634 }
|
adam@1
|
12635 _ACEOF
|
adam@1
|
12636 if ac_fn_cxx_try_compile "$LINENO"; then :
|
adam@1
|
12637 ac_compiler_gnu=yes
|
adam@1
|
12638 else
|
adam@1
|
12639 ac_compiler_gnu=no
|
adam@1
|
12640 fi
|
adam@1
|
12641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@1
|
12642 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
adam@1
|
12643
|
adam@1
|
12644 fi
|
adam@1
|
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
adam@1
|
12646 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
adam@1
|
12647 if test $ac_compiler_gnu = yes; then
|
adam@1
|
12648 GXX=yes
|
adam@1
|
12649 else
|
adam@1
|
12650 GXX=
|
adam@1
|
12651 fi
|
adam@1
|
12652 ac_test_CXXFLAGS=${CXXFLAGS+set}
|
adam@1
|
12653 ac_save_CXXFLAGS=$CXXFLAGS
|
adam@1
|
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
adam@1
|
12655 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
adam@64
|
12656 if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
adam@1
|
12657 $as_echo_n "(cached) " >&6
|
adam@1
|
12658 else
|
adam@1
|
12659 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
adam@1
|
12660 ac_cxx_werror_flag=yes
|
adam@1
|
12661 ac_cv_prog_cxx_g=no
|
adam@1
|
12662 CXXFLAGS="-g"
|
adam@1
|
12663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12664 /* end confdefs.h. */
|
adam@1
|
12665
|
adam@1
|
12666 int
|
adam@1
|
12667 main ()
|
adam@1
|
12668 {
|
adam@1
|
12669
|
adam@1
|
12670 ;
|
adam@1
|
12671 return 0;
|
adam@1
|
12672 }
|
adam@1
|
12673 _ACEOF
|
adam@1
|
12674 if ac_fn_cxx_try_compile "$LINENO"; then :
|
adam@1
|
12675 ac_cv_prog_cxx_g=yes
|
adam@1
|
12676 else
|
adam@1
|
12677 CXXFLAGS=""
|
adam@1
|
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12679 /* end confdefs.h. */
|
adam@1
|
12680
|
adam@1
|
12681 int
|
adam@1
|
12682 main ()
|
adam@1
|
12683 {
|
adam@1
|
12684
|
adam@1
|
12685 ;
|
adam@1
|
12686 return 0;
|
adam@1
|
12687 }
|
adam@1
|
12688 _ACEOF
|
adam@1
|
12689 if ac_fn_cxx_try_compile "$LINENO"; then :
|
adam@1
|
12690
|
adam@1
|
12691 else
|
adam@1
|
12692 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
adam@1
|
12693 CXXFLAGS="-g"
|
adam@1
|
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12695 /* end confdefs.h. */
|
adam@1
|
12696
|
adam@1
|
12697 int
|
adam@1
|
12698 main ()
|
adam@1
|
12699 {
|
adam@1
|
12700
|
adam@1
|
12701 ;
|
adam@1
|
12702 return 0;
|
adam@1
|
12703 }
|
adam@1
|
12704 _ACEOF
|
adam@1
|
12705 if ac_fn_cxx_try_compile "$LINENO"; then :
|
adam@1
|
12706 ac_cv_prog_cxx_g=yes
|
adam@1
|
12707 fi
|
adam@1
|
12708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@1
|
12709 fi
|
adam@1
|
12710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@1
|
12711 fi
|
adam@1
|
12712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@1
|
12713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
adam@1
|
12714 fi
|
adam@1
|
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
adam@1
|
12716 $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
adam@1
|
12717 if test "$ac_test_CXXFLAGS" = set; then
|
adam@1
|
12718 CXXFLAGS=$ac_save_CXXFLAGS
|
adam@1
|
12719 elif test $ac_cv_prog_cxx_g = yes; then
|
adam@1
|
12720 if test "$GXX" = yes; then
|
adam@1
|
12721 CXXFLAGS="-g -O2"
|
adam@1
|
12722 else
|
adam@1
|
12723 CXXFLAGS="-g"
|
adam@1
|
12724 fi
|
adam@1
|
12725 else
|
adam@1
|
12726 if test "$GXX" = yes; then
|
adam@1
|
12727 CXXFLAGS="-O2"
|
adam@1
|
12728 else
|
adam@1
|
12729 CXXFLAGS=
|
adam@1
|
12730 fi
|
adam@1
|
12731 fi
|
adam@1
|
12732 ac_ext=c
|
adam@1
|
12733 ac_cpp='$CPP $CPPFLAGS'
|
adam@1
|
12734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
12735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
12736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@1
|
12737
|
adam@1
|
12738 depcc="$CXX" am_compiler_list=
|
adam@1
|
12739
|
adam@1
|
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
adam@1
|
12741 $as_echo_n "checking dependency style of $depcc... " >&6; }
|
adam@64
|
12742 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
adam@1
|
12743 $as_echo_n "(cached) " >&6
|
adam@1
|
12744 else
|
adam@1
|
12745 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
adam@1
|
12746 # We make a subdir and do the tests there. Otherwise we can end up
|
adam@1
|
12747 # making bogus files that we don't know about and never remove. For
|
adam@1
|
12748 # instance it was reported that on HP-UX the gcc test will end up
|
adam@1
|
12749 # making a dummy file named `D' -- because `-MD' means `put the output
|
adam@1
|
12750 # in D'.
|
adam@1
|
12751 mkdir conftest.dir
|
adam@1
|
12752 # Copy depcomp to subdir because otherwise we won't find it if we're
|
adam@1
|
12753 # using a relative directory.
|
adam@1
|
12754 cp "$am_depcomp" conftest.dir
|
adam@1
|
12755 cd conftest.dir
|
adam@1
|
12756 # We will build objects and dependencies in a subdirectory because
|
adam@1
|
12757 # it helps to detect inapplicable dependency modes. For instance
|
adam@1
|
12758 # both Tru64's cc and ICC support -MD to output dependencies as a
|
adam@1
|
12759 # side effect of compilation, but ICC will put the dependencies in
|
adam@1
|
12760 # the current directory while Tru64 will put them in the object
|
adam@1
|
12761 # directory.
|
adam@1
|
12762 mkdir sub
|
adam@1
|
12763
|
adam@1
|
12764 am_cv_CXX_dependencies_compiler_type=none
|
adam@1
|
12765 if test "$am_compiler_list" = ""; then
|
adam@1
|
12766 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
adam@1
|
12767 fi
|
adam@1
|
12768 am__universal=false
|
adam@1
|
12769 case " $depcc " in #(
|
adam@1
|
12770 *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
adam@1
|
12771 esac
|
adam@1
|
12772
|
adam@1
|
12773 for depmode in $am_compiler_list; do
|
adam@1
|
12774 # Setup a source with many dependencies, because some compilers
|
adam@1
|
12775 # like to wrap large dependency lists on column 80 (with \), and
|
adam@1
|
12776 # we should not choose a depcomp mode which is confused by this.
|
adam@1
|
12777 #
|
adam@1
|
12778 # We need to recreate these files for each test, as the compiler may
|
adam@1
|
12779 # overwrite some of them when testing with obscure command lines.
|
adam@1
|
12780 # This happens at least with the AIX C compiler.
|
adam@1
|
12781 : > sub/conftest.c
|
adam@1
|
12782 for i in 1 2 3 4 5 6; do
|
adam@1
|
12783 echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
adam@1
|
12784 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
adam@1
|
12785 # Solaris 8's {/usr,}/bin/sh.
|
adam@1
|
12786 touch sub/conftst$i.h
|
adam@1
|
12787 done
|
adam@1
|
12788 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
adam@1
|
12789
|
adam@1
|
12790 # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
adam@1
|
12791 # mode. It turns out that the SunPro C++ compiler does not properly
|
adam@1
|
12792 # handle `-M -o', and we need to detect this. Also, some Intel
|
adam@1
|
12793 # versions had trouble with output in subdirs
|
adam@1
|
12794 am__obj=sub/conftest.${OBJEXT-o}
|
adam@1
|
12795 am__minus_obj="-o $am__obj"
|
adam@1
|
12796 case $depmode in
|
adam@1
|
12797 gcc)
|
adam@1
|
12798 # This depmode causes a compiler race in universal mode.
|
adam@1
|
12799 test "$am__universal" = false || continue
|
adam@1
|
12800 ;;
|
adam@1
|
12801 nosideeffect)
|
adam@1
|
12802 # after this tag, mechanisms are not by side-effect, so they'll
|
adam@1
|
12803 # only be used when explicitly requested
|
adam@1
|
12804 if test "x$enable_dependency_tracking" = xyes; then
|
adam@1
|
12805 continue
|
adam@1
|
12806 else
|
adam@1
|
12807 break
|
adam@1
|
12808 fi
|
adam@1
|
12809 ;;
|
adam@1
|
12810 msvisualcpp | msvcmsys)
|
adam@1
|
12811 # This compiler won't grok `-c -o', but also, the minuso test has
|
adam@1
|
12812 # not run yet. These depmodes are late enough in the game, and
|
adam@1
|
12813 # so weak that their functioning should not be impacted.
|
adam@1
|
12814 am__obj=conftest.${OBJEXT-o}
|
adam@1
|
12815 am__minus_obj=
|
adam@1
|
12816 ;;
|
adam@1
|
12817 none) break ;;
|
adam@1
|
12818 esac
|
adam@1
|
12819 if depmode=$depmode \
|
adam@1
|
12820 source=sub/conftest.c object=$am__obj \
|
adam@1
|
12821 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
adam@1
|
12822 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
adam@1
|
12823 >/dev/null 2>conftest.err &&
|
adam@1
|
12824 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
adam@1
|
12825 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
adam@1
|
12826 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
adam@1
|
12827 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
adam@1
|
12828 # icc doesn't choke on unknown options, it will just issue warnings
|
adam@1
|
12829 # or remarks (even with -Werror). So we grep stderr for any message
|
adam@1
|
12830 # that says an option was ignored or not supported.
|
adam@1
|
12831 # When given -MP, icc 7.0 and 7.1 complain thusly:
|
adam@1
|
12832 # icc: Command line warning: ignoring option '-M'; no argument required
|
adam@1
|
12833 # The diagnosis changed in icc 8.0:
|
adam@1
|
12834 # icc: Command line remark: option '-MP' not supported
|
adam@1
|
12835 if (grep 'ignoring option' conftest.err ||
|
adam@1
|
12836 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
adam@1
|
12837 am_cv_CXX_dependencies_compiler_type=$depmode
|
adam@1
|
12838 break
|
adam@1
|
12839 fi
|
adam@1
|
12840 fi
|
adam@1
|
12841 done
|
adam@1
|
12842
|
adam@1
|
12843 cd ..
|
adam@1
|
12844 rm -rf conftest.dir
|
adam@1
|
12845 else
|
adam@1
|
12846 am_cv_CXX_dependencies_compiler_type=none
|
adam@1
|
12847 fi
|
adam@1
|
12848
|
adam@1
|
12849 fi
|
adam@1
|
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
adam@1
|
12851 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
adam@1
|
12852 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
adam@1
|
12853
|
adam@1
|
12854 if
|
adam@1
|
12855 test "x$enable_dependency_tracking" != xno \
|
adam@1
|
12856 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
adam@1
|
12857 am__fastdepCXX_TRUE=
|
adam@1
|
12858 am__fastdepCXX_FALSE='#'
|
adam@1
|
12859 else
|
adam@1
|
12860 am__fastdepCXX_TRUE='#'
|
adam@1
|
12861 am__fastdepCXX_FALSE=
|
adam@1
|
12862 fi
|
adam@1
|
12863
|
adam@1
|
12864
|
adam@1
|
12865
|
adam@47
|
12866
|
adam@47
|
12867 func_stripname_cnf ()
|
adam@47
|
12868 {
|
adam@47
|
12869 case ${2} in
|
adam@47
|
12870 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
|
adam@47
|
12871 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
|
adam@47
|
12872 esac
|
adam@47
|
12873 } # func_stripname_cnf
|
adam@47
|
12874
|
adam@47
|
12875 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
|
adam@1
|
12876 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
|
adam@1
|
12877 (test "X$CXX" != "Xg++"))) ; then
|
adam@1
|
12878 ac_ext=cpp
|
adam@1
|
12879 ac_cpp='$CXXCPP $CPPFLAGS'
|
adam@1
|
12880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
12881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
12882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
adam@1
|
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
adam@1
|
12884 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
adam@1
|
12885 if test -z "$CXXCPP"; then
|
adam@64
|
12886 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
|
adam@1
|
12887 $as_echo_n "(cached) " >&6
|
adam@1
|
12888 else
|
adam@1
|
12889 # Double quotes because CXXCPP needs to be expanded
|
adam@1
|
12890 for CXXCPP in "$CXX -E" "/lib/cpp"
|
adam@1
|
12891 do
|
adam@1
|
12892 ac_preproc_ok=false
|
adam@1
|
12893 for ac_cxx_preproc_warn_flag in '' yes
|
adam@1
|
12894 do
|
adam@1
|
12895 # Use a header file that comes with gcc, so configuring glibc
|
adam@1
|
12896 # with a fresh cross-compiler works.
|
adam@1
|
12897 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@1
|
12898 # <limits.h> exists even on freestanding compilers.
|
adam@1
|
12899 # On the NeXT, cc -E runs the code through the compiler's parser,
|
adam@1
|
12900 # not just through cpp. "Syntax error" is here to catch this case.
|
adam@1
|
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12902 /* end confdefs.h. */
|
adam@1
|
12903 #ifdef __STDC__
|
adam@1
|
12904 # include <limits.h>
|
adam@1
|
12905 #else
|
adam@1
|
12906 # include <assert.h>
|
adam@1
|
12907 #endif
|
adam@1
|
12908 Syntax error
|
adam@1
|
12909 _ACEOF
|
adam@1
|
12910 if ac_fn_cxx_try_cpp "$LINENO"; then :
|
adam@1
|
12911
|
adam@1
|
12912 else
|
adam@1
|
12913 # Broken: fails on valid input.
|
adam@1
|
12914 continue
|
adam@1
|
12915 fi
|
adam@1
|
12916 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@1
|
12917
|
adam@1
|
12918 # OK, works on sane cases. Now check whether nonexistent headers
|
adam@1
|
12919 # can be detected and how.
|
adam@1
|
12920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12921 /* end confdefs.h. */
|
adam@1
|
12922 #include <ac_nonexistent.h>
|
adam@1
|
12923 _ACEOF
|
adam@1
|
12924 if ac_fn_cxx_try_cpp "$LINENO"; then :
|
adam@1
|
12925 # Broken: success on invalid input.
|
adam@1
|
12926 continue
|
adam@1
|
12927 else
|
adam@1
|
12928 # Passes both tests.
|
adam@1
|
12929 ac_preproc_ok=:
|
adam@1
|
12930 break
|
adam@1
|
12931 fi
|
adam@1
|
12932 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@1
|
12933
|
adam@1
|
12934 done
|
adam@1
|
12935 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
adam@1
|
12936 rm -f conftest.i conftest.err conftest.$ac_ext
|
adam@1
|
12937 if $ac_preproc_ok; then :
|
adam@1
|
12938 break
|
adam@1
|
12939 fi
|
adam@1
|
12940
|
adam@1
|
12941 done
|
adam@1
|
12942 ac_cv_prog_CXXCPP=$CXXCPP
|
adam@1
|
12943
|
adam@1
|
12944 fi
|
adam@1
|
12945 CXXCPP=$ac_cv_prog_CXXCPP
|
adam@1
|
12946 else
|
adam@1
|
12947 ac_cv_prog_CXXCPP=$CXXCPP
|
adam@1
|
12948 fi
|
adam@1
|
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
adam@1
|
12950 $as_echo "$CXXCPP" >&6; }
|
adam@1
|
12951 ac_preproc_ok=false
|
adam@1
|
12952 for ac_cxx_preproc_warn_flag in '' yes
|
adam@1
|
12953 do
|
adam@1
|
12954 # Use a header file that comes with gcc, so configuring glibc
|
adam@1
|
12955 # with a fresh cross-compiler works.
|
adam@1
|
12956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@1
|
12957 # <limits.h> exists even on freestanding compilers.
|
adam@1
|
12958 # On the NeXT, cc -E runs the code through the compiler's parser,
|
adam@1
|
12959 # not just through cpp. "Syntax error" is here to catch this case.
|
adam@1
|
12960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12961 /* end confdefs.h. */
|
adam@1
|
12962 #ifdef __STDC__
|
adam@1
|
12963 # include <limits.h>
|
adam@1
|
12964 #else
|
adam@1
|
12965 # include <assert.h>
|
adam@1
|
12966 #endif
|
adam@1
|
12967 Syntax error
|
adam@1
|
12968 _ACEOF
|
adam@1
|
12969 if ac_fn_cxx_try_cpp "$LINENO"; then :
|
adam@1
|
12970
|
adam@1
|
12971 else
|
adam@1
|
12972 # Broken: fails on valid input.
|
adam@1
|
12973 continue
|
adam@1
|
12974 fi
|
adam@1
|
12975 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@1
|
12976
|
adam@1
|
12977 # OK, works on sane cases. Now check whether nonexistent headers
|
adam@1
|
12978 # can be detected and how.
|
adam@1
|
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
12980 /* end confdefs.h. */
|
adam@1
|
12981 #include <ac_nonexistent.h>
|
adam@1
|
12982 _ACEOF
|
adam@1
|
12983 if ac_fn_cxx_try_cpp "$LINENO"; then :
|
adam@1
|
12984 # Broken: success on invalid input.
|
adam@1
|
12985 continue
|
adam@1
|
12986 else
|
adam@1
|
12987 # Passes both tests.
|
adam@1
|
12988 ac_preproc_ok=:
|
adam@1
|
12989 break
|
adam@1
|
12990 fi
|
adam@1
|
12991 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@1
|
12992
|
adam@1
|
12993 done
|
adam@1
|
12994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
adam@1
|
12995 rm -f conftest.i conftest.err conftest.$ac_ext
|
adam@1
|
12996 if $ac_preproc_ok; then :
|
adam@1
|
12997
|
adam@1
|
12998 else
|
adam@1
|
12999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@1
|
13000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@47
|
13001 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
|
adam@64
|
13002 See \`config.log' for more details" "$LINENO" 5 ; }
|
adam@1
|
13003 fi
|
adam@1
|
13004
|
adam@1
|
13005 ac_ext=c
|
adam@1
|
13006 ac_cpp='$CPP $CPPFLAGS'
|
adam@1
|
13007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
13008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
13009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@1
|
13010
|
adam@1
|
13011 else
|
adam@1
|
13012 _lt_caught_CXX_error=yes
|
adam@1
|
13013 fi
|
adam@1
|
13014
|
adam@1
|
13015 ac_ext=cpp
|
adam@1
|
13016 ac_cpp='$CXXCPP $CPPFLAGS'
|
adam@1
|
13017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
13018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
13019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
adam@1
|
13020
|
adam@1
|
13021 archive_cmds_need_lc_CXX=no
|
adam@1
|
13022 allow_undefined_flag_CXX=
|
adam@1
|
13023 always_export_symbols_CXX=no
|
adam@1
|
13024 archive_expsym_cmds_CXX=
|
adam@1
|
13025 compiler_needs_object_CXX=no
|
adam@1
|
13026 export_dynamic_flag_spec_CXX=
|
adam@1
|
13027 hardcode_direct_CXX=no
|
adam@1
|
13028 hardcode_direct_absolute_CXX=no
|
adam@1
|
13029 hardcode_libdir_flag_spec_CXX=
|
adam@1
|
13030 hardcode_libdir_flag_spec_ld_CXX=
|
adam@1
|
13031 hardcode_libdir_separator_CXX=
|
adam@1
|
13032 hardcode_minus_L_CXX=no
|
adam@1
|
13033 hardcode_shlibpath_var_CXX=unsupported
|
adam@1
|
13034 hardcode_automatic_CXX=no
|
adam@1
|
13035 inherit_rpath_CXX=no
|
adam@1
|
13036 module_cmds_CXX=
|
adam@1
|
13037 module_expsym_cmds_CXX=
|
adam@1
|
13038 link_all_deplibs_CXX=unknown
|
adam@1
|
13039 old_archive_cmds_CXX=$old_archive_cmds
|
adam@47
|
13040 reload_flag_CXX=$reload_flag
|
adam@47
|
13041 reload_cmds_CXX=$reload_cmds
|
adam@1
|
13042 no_undefined_flag_CXX=
|
adam@1
|
13043 whole_archive_flag_spec_CXX=
|
adam@1
|
13044 enable_shared_with_static_runtimes_CXX=no
|
adam@1
|
13045
|
adam@1
|
13046 # Source file extension for C++ test sources.
|
adam@1
|
13047 ac_ext=cpp
|
adam@1
|
13048
|
adam@1
|
13049 # Object file extension for compiled C++ test sources.
|
adam@1
|
13050 objext=o
|
adam@1
|
13051 objext_CXX=$objext
|
adam@1
|
13052
|
adam@1
|
13053 # No sense in running all these tests if we already determined that
|
adam@1
|
13054 # the CXX compiler isn't working. Some variables (like enable_shared)
|
adam@1
|
13055 # are currently assumed to apply to all compilers on this platform,
|
adam@1
|
13056 # and will be corrupted by setting them based on a non-working compiler.
|
adam@1
|
13057 if test "$_lt_caught_CXX_error" != yes; then
|
adam@1
|
13058 # Code to be used in simple compile tests
|
adam@1
|
13059 lt_simple_compile_test_code="int some_variable = 0;"
|
adam@1
|
13060
|
adam@1
|
13061 # Code to be used in simple link tests
|
adam@1
|
13062 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
|
adam@1
|
13063
|
adam@1
|
13064 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
adam@1
|
13065
|
adam@1
|
13066
|
adam@1
|
13067
|
adam@1
|
13068
|
adam@1
|
13069
|
adam@1
|
13070
|
adam@1
|
13071 # If no C compiler was specified, use CC.
|
adam@1
|
13072 LTCC=${LTCC-"$CC"}
|
adam@1
|
13073
|
adam@1
|
13074 # If no C compiler flags were specified, use CFLAGS.
|
adam@1
|
13075 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
|
adam@1
|
13076
|
adam@1
|
13077 # Allow CC to be a program name with arguments.
|
adam@1
|
13078 compiler=$CC
|
adam@1
|
13079
|
adam@1
|
13080
|
adam@1
|
13081 # save warnings/boilerplate of simple test code
|
adam@1
|
13082 ac_outfile=conftest.$ac_objext
|
adam@1
|
13083 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
|
adam@1
|
13084 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
adam@1
|
13085 _lt_compiler_boilerplate=`cat conftest.err`
|
adam@1
|
13086 $RM conftest*
|
adam@1
|
13087
|
adam@1
|
13088 ac_outfile=conftest.$ac_objext
|
adam@1
|
13089 echo "$lt_simple_link_test_code" >conftest.$ac_ext
|
adam@1
|
13090 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
adam@1
|
13091 _lt_linker_boilerplate=`cat conftest.err`
|
adam@1
|
13092 $RM -r conftest*
|
adam@1
|
13093
|
adam@1
|
13094
|
adam@1
|
13095 # Allow CC to be a program name with arguments.
|
adam@1
|
13096 lt_save_CC=$CC
|
adam@47
|
13097 lt_save_CFLAGS=$CFLAGS
|
adam@1
|
13098 lt_save_LD=$LD
|
adam@1
|
13099 lt_save_GCC=$GCC
|
adam@1
|
13100 GCC=$GXX
|
adam@1
|
13101 lt_save_with_gnu_ld=$with_gnu_ld
|
adam@1
|
13102 lt_save_path_LD=$lt_cv_path_LD
|
adam@1
|
13103 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
|
adam@1
|
13104 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
|
adam@1
|
13105 else
|
adam@1
|
13106 $as_unset lt_cv_prog_gnu_ld
|
adam@1
|
13107 fi
|
adam@1
|
13108 if test -n "${lt_cv_path_LDCXX+set}"; then
|
adam@1
|
13109 lt_cv_path_LD=$lt_cv_path_LDCXX
|
adam@1
|
13110 else
|
adam@1
|
13111 $as_unset lt_cv_path_LD
|
adam@1
|
13112 fi
|
adam@1
|
13113 test -z "${LDCXX+set}" || LD=$LDCXX
|
adam@1
|
13114 CC=${CXX-"c++"}
|
adam@47
|
13115 CFLAGS=$CXXFLAGS
|
adam@1
|
13116 compiler=$CC
|
adam@1
|
13117 compiler_CXX=$CC
|
adam@1
|
13118 for cc_temp in $compiler""; do
|
adam@1
|
13119 case $cc_temp in
|
adam@1
|
13120 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
adam@1
|
13121 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
adam@1
|
13122 \-*) ;;
|
adam@1
|
13123 *) break;;
|
adam@1
|
13124 esac
|
adam@1
|
13125 done
|
adam@47
|
13126 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
adam@1
|
13127
|
adam@1
|
13128
|
adam@1
|
13129 if test -n "$compiler"; then
|
adam@1
|
13130 # We don't want -fno-exception when compiling C++ code, so set the
|
adam@1
|
13131 # no_builtin_flag separately
|
adam@1
|
13132 if test "$GXX" = yes; then
|
adam@1
|
13133 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
|
adam@1
|
13134 else
|
adam@1
|
13135 lt_prog_compiler_no_builtin_flag_CXX=
|
adam@1
|
13136 fi
|
adam@1
|
13137
|
adam@1
|
13138 if test "$GXX" = yes; then
|
adam@1
|
13139 # Set up default GNU C++ configuration
|
adam@1
|
13140
|
adam@1
|
13141
|
adam@1
|
13142
|
adam@1
|
13143 # Check whether --with-gnu-ld was given.
|
adam@1
|
13144 if test "${with_gnu_ld+set}" = set; then :
|
adam@1
|
13145 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
adam@1
|
13146 else
|
adam@1
|
13147 with_gnu_ld=no
|
adam@1
|
13148 fi
|
adam@1
|
13149
|
adam@1
|
13150 ac_prog=ld
|
adam@1
|
13151 if test "$GCC" = yes; then
|
adam@1
|
13152 # Check if gcc -print-prog-name=ld gives a path.
|
adam@1
|
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
adam@1
|
13154 $as_echo_n "checking for ld used by $CC... " >&6; }
|
adam@1
|
13155 case $host in
|
adam@1
|
13156 *-*-mingw*)
|
adam@1
|
13157 # gcc leaves a trailing carriage return which upsets mingw
|
adam@1
|
13158 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
adam@1
|
13159 *)
|
adam@1
|
13160 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
adam@1
|
13161 esac
|
adam@1
|
13162 case $ac_prog in
|
adam@1
|
13163 # Accept absolute paths.
|
adam@1
|
13164 [\\/]* | ?:[\\/]*)
|
adam@1
|
13165 re_direlt='/[^/][^/]*/\.\./'
|
adam@1
|
13166 # Canonicalize the pathname of ld
|
adam@1
|
13167 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
|
adam@1
|
13168 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
|
adam@1
|
13169 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
|
adam@1
|
13170 done
|
adam@1
|
13171 test -z "$LD" && LD="$ac_prog"
|
adam@1
|
13172 ;;
|
adam@1
|
13173 "")
|
adam@1
|
13174 # If it fails, then pretend we aren't using GCC.
|
adam@1
|
13175 ac_prog=ld
|
adam@1
|
13176 ;;
|
adam@1
|
13177 *)
|
adam@1
|
13178 # If it is relative, then search for the first ld in PATH.
|
adam@1
|
13179 with_gnu_ld=unknown
|
adam@1
|
13180 ;;
|
adam@1
|
13181 esac
|
adam@1
|
13182 elif test "$with_gnu_ld" = yes; then
|
adam@1
|
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
adam@1
|
13184 $as_echo_n "checking for GNU ld... " >&6; }
|
adam@1
|
13185 else
|
adam@1
|
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
adam@1
|
13187 $as_echo_n "checking for non-GNU ld... " >&6; }
|
adam@1
|
13188 fi
|
adam@64
|
13189 if test "${lt_cv_path_LD+set}" = set; then :
|
adam@1
|
13190 $as_echo_n "(cached) " >&6
|
adam@1
|
13191 else
|
adam@1
|
13192 if test -z "$LD"; then
|
adam@1
|
13193 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@1
|
13194 for ac_dir in $PATH; do
|
adam@1
|
13195 IFS="$lt_save_ifs"
|
adam@1
|
13196 test -z "$ac_dir" && ac_dir=.
|
adam@1
|
13197 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
adam@1
|
13198 lt_cv_path_LD="$ac_dir/$ac_prog"
|
adam@1
|
13199 # Check to see if the program is GNU ld. I'd rather use --version,
|
adam@1
|
13200 # but apparently some variants of GNU ld only accept -v.
|
adam@1
|
13201 # Break only if it was the GNU/non-GNU ld that we prefer.
|
adam@1
|
13202 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
|
adam@1
|
13203 *GNU* | *'with BFD'*)
|
adam@1
|
13204 test "$with_gnu_ld" != no && break
|
adam@1
|
13205 ;;
|
adam@1
|
13206 *)
|
adam@1
|
13207 test "$with_gnu_ld" != yes && break
|
adam@1
|
13208 ;;
|
adam@1
|
13209 esac
|
adam@1
|
13210 fi
|
adam@1
|
13211 done
|
adam@1
|
13212 IFS="$lt_save_ifs"
|
adam@1
|
13213 else
|
adam@1
|
13214 lt_cv_path_LD="$LD" # Let the user override the test with a path.
|
adam@1
|
13215 fi
|
adam@1
|
13216 fi
|
adam@1
|
13217
|
adam@1
|
13218 LD="$lt_cv_path_LD"
|
adam@1
|
13219 if test -n "$LD"; then
|
adam@1
|
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
adam@1
|
13221 $as_echo "$LD" >&6; }
|
adam@1
|
13222 else
|
adam@1
|
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@1
|
13224 $as_echo "no" >&6; }
|
adam@1
|
13225 fi
|
adam@1
|
13226 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
adam@1
|
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
adam@1
|
13228 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
adam@64
|
13229 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
|
adam@1
|
13230 $as_echo_n "(cached) " >&6
|
adam@1
|
13231 else
|
adam@1
|
13232 # I'd rather use --version here, but apparently some GNU lds only accept -v.
|
adam@1
|
13233 case `$LD -v 2>&1 </dev/null` in
|
adam@1
|
13234 *GNU* | *'with BFD'*)
|
adam@1
|
13235 lt_cv_prog_gnu_ld=yes
|
adam@1
|
13236 ;;
|
adam@1
|
13237 *)
|
adam@1
|
13238 lt_cv_prog_gnu_ld=no
|
adam@1
|
13239 ;;
|
adam@1
|
13240 esac
|
adam@1
|
13241 fi
|
adam@1
|
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
adam@1
|
13243 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
adam@1
|
13244 with_gnu_ld=$lt_cv_prog_gnu_ld
|
adam@1
|
13245
|
adam@1
|
13246
|
adam@1
|
13247
|
adam@1
|
13248
|
adam@1
|
13249
|
adam@1
|
13250
|
adam@1
|
13251
|
adam@1
|
13252 # Check if GNU C++ uses GNU ld as the underlying linker, since the
|
adam@1
|
13253 # archiving commands below assume that GNU ld is being used.
|
adam@1
|
13254 if test "$with_gnu_ld" = yes; then
|
adam@47
|
13255 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@47
|
13256 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@1
|
13257
|
adam@1
|
13258 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
|
adam@1
|
13259 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
|
adam@1
|
13260
|
adam@1
|
13261 # If archive_cmds runs LD, not CC, wlarc should be empty
|
adam@1
|
13262 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
|
adam@1
|
13263 # investigate it a little bit more. (MM)
|
adam@1
|
13264 wlarc='${wl}'
|
adam@1
|
13265
|
adam@1
|
13266 # ancient GNU ld didn't support --whole-archive et. al.
|
adam@1
|
13267 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
|
adam@1
|
13268 $GREP 'no-whole-archive' > /dev/null; then
|
adam@1
|
13269 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
adam@1
|
13270 else
|
adam@1
|
13271 whole_archive_flag_spec_CXX=
|
adam@1
|
13272 fi
|
adam@1
|
13273 else
|
adam@1
|
13274 with_gnu_ld=no
|
adam@1
|
13275 wlarc=
|
adam@1
|
13276
|
adam@1
|
13277 # A generic and very simple default shared library creation
|
adam@1
|
13278 # command for GNU C++ for the case where it uses the native
|
adam@1
|
13279 # linker, instead of GNU ld. If possible, this setting should
|
adam@1
|
13280 # overridden to take advantage of the native linker features on
|
adam@1
|
13281 # the platform it is being used on.
|
adam@1
|
13282 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
adam@1
|
13283 fi
|
adam@1
|
13284
|
adam@1
|
13285 # Commands to make compiler produce verbose output that lists
|
adam@1
|
13286 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
13287 # linking a shared library.
|
adam@47
|
13288 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
|
adam@1
|
13289
|
adam@1
|
13290 else
|
adam@1
|
13291 GXX=no
|
adam@1
|
13292 with_gnu_ld=no
|
adam@1
|
13293 wlarc=
|
adam@1
|
13294 fi
|
adam@1
|
13295
|
adam@1
|
13296 # PORTME: fill in a description of your system's C++ link characteristics
|
adam@1
|
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
adam@1
|
13298 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
adam@1
|
13299 ld_shlibs_CXX=yes
|
adam@1
|
13300 case $host_os in
|
adam@1
|
13301 aix3*)
|
adam@1
|
13302 # FIXME: insert proper C++ library support
|
adam@1
|
13303 ld_shlibs_CXX=no
|
adam@1
|
13304 ;;
|
adam@1
|
13305 aix[4-9]*)
|
adam@1
|
13306 if test "$host_cpu" = ia64; then
|
adam@1
|
13307 # On IA64, the linker does run time linking by default, so we don't
|
adam@1
|
13308 # have to do anything special.
|
adam@1
|
13309 aix_use_runtimelinking=no
|
adam@1
|
13310 exp_sym_flag='-Bexport'
|
adam@1
|
13311 no_entry_flag=""
|
adam@1
|
13312 else
|
adam@1
|
13313 aix_use_runtimelinking=no
|
adam@1
|
13314
|
adam@1
|
13315 # Test if we are trying to use run time linking or normal
|
adam@1
|
13316 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
adam@1
|
13317 # need to do runtime linking.
|
adam@1
|
13318 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
adam@1
|
13319 for ld_flag in $LDFLAGS; do
|
adam@1
|
13320 case $ld_flag in
|
adam@1
|
13321 *-brtl*)
|
adam@1
|
13322 aix_use_runtimelinking=yes
|
adam@1
|
13323 break
|
adam@1
|
13324 ;;
|
adam@1
|
13325 esac
|
adam@1
|
13326 done
|
adam@1
|
13327 ;;
|
adam@1
|
13328 esac
|
adam@1
|
13329
|
adam@1
|
13330 exp_sym_flag='-bexport'
|
adam@1
|
13331 no_entry_flag='-bnoentry'
|
adam@1
|
13332 fi
|
adam@1
|
13333
|
adam@1
|
13334 # When large executables or shared objects are built, AIX ld can
|
adam@1
|
13335 # have problems creating the table of contents. If linking a library
|
adam@1
|
13336 # or program results in "error TOC overflow" add -mminimal-toc to
|
adam@1
|
13337 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
adam@1
|
13338 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
adam@1
|
13339
|
adam@1
|
13340 archive_cmds_CXX=''
|
adam@1
|
13341 hardcode_direct_CXX=yes
|
adam@1
|
13342 hardcode_direct_absolute_CXX=yes
|
adam@1
|
13343 hardcode_libdir_separator_CXX=':'
|
adam@1
|
13344 link_all_deplibs_CXX=yes
|
adam@1
|
13345 file_list_spec_CXX='${wl}-f,'
|
adam@1
|
13346
|
adam@1
|
13347 if test "$GXX" = yes; then
|
adam@1
|
13348 case $host_os in aix4.[012]|aix4.[012].*)
|
adam@1
|
13349 # We only want to do this on AIX 4.2 and lower, the check
|
adam@1
|
13350 # below for broken collect2 doesn't work under 4.3+
|
adam@1
|
13351 collect2name=`${CC} -print-prog-name=collect2`
|
adam@1
|
13352 if test -f "$collect2name" &&
|
adam@1
|
13353 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
|
adam@1
|
13354 then
|
adam@1
|
13355 # We have reworked collect2
|
adam@1
|
13356 :
|
adam@1
|
13357 else
|
adam@1
|
13358 # We have old collect2
|
adam@1
|
13359 hardcode_direct_CXX=unsupported
|
adam@1
|
13360 # It fails to find uninstalled libraries when the uninstalled
|
adam@1
|
13361 # path is not listed in the libpath. Setting hardcode_minus_L
|
adam@1
|
13362 # to unsupported forces relinking
|
adam@1
|
13363 hardcode_minus_L_CXX=yes
|
adam@1
|
13364 hardcode_libdir_flag_spec_CXX='-L$libdir'
|
adam@1
|
13365 hardcode_libdir_separator_CXX=
|
adam@1
|
13366 fi
|
adam@1
|
13367 esac
|
adam@1
|
13368 shared_flag='-shared'
|
adam@1
|
13369 if test "$aix_use_runtimelinking" = yes; then
|
adam@1
|
13370 shared_flag="$shared_flag "'${wl}-G'
|
adam@1
|
13371 fi
|
adam@1
|
13372 else
|
adam@1
|
13373 # not using gcc
|
adam@1
|
13374 if test "$host_cpu" = ia64; then
|
adam@1
|
13375 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
|
adam@1
|
13376 # chokes on -Wl,-G. The following line is correct:
|
adam@1
|
13377 shared_flag='-G'
|
adam@1
|
13378 else
|
adam@1
|
13379 if test "$aix_use_runtimelinking" = yes; then
|
adam@1
|
13380 shared_flag='${wl}-G'
|
adam@1
|
13381 else
|
adam@1
|
13382 shared_flag='${wl}-bM:SRE'
|
adam@1
|
13383 fi
|
adam@1
|
13384 fi
|
adam@1
|
13385 fi
|
adam@1
|
13386
|
adam@1
|
13387 export_dynamic_flag_spec_CXX='${wl}-bexpall'
|
adam@1
|
13388 # It seems that -bexpall does not export symbols beginning with
|
adam@1
|
13389 # underscore (_), so it is better to generate a list of symbols to
|
adam@1
|
13390 # export.
|
adam@1
|
13391 always_export_symbols_CXX=yes
|
adam@1
|
13392 if test "$aix_use_runtimelinking" = yes; then
|
adam@1
|
13393 # Warning - without using the other runtime loading flags (-brtl),
|
adam@1
|
13394 # -berok will link without error, but may produce a broken library.
|
adam@1
|
13395 allow_undefined_flag_CXX='-berok'
|
adam@1
|
13396 # Determine the default libpath from the value encoded in an empty
|
adam@1
|
13397 # executable.
|
adam@47
|
13398 if test "${lt_cv_aix_libpath+set}" = set; then
|
adam@47
|
13399 aix_libpath=$lt_cv_aix_libpath
|
adam@47
|
13400 else
|
adam@64
|
13401 if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
|
adam@47
|
13402 $as_echo_n "(cached) " >&6
|
adam@47
|
13403 else
|
adam@47
|
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
13405 /* end confdefs.h. */
|
adam@1
|
13406
|
adam@1
|
13407 int
|
adam@1
|
13408 main ()
|
adam@1
|
13409 {
|
adam@1
|
13410
|
adam@1
|
13411 ;
|
adam@1
|
13412 return 0;
|
adam@1
|
13413 }
|
adam@1
|
13414 _ACEOF
|
adam@1
|
13415 if ac_fn_cxx_try_link "$LINENO"; then :
|
adam@1
|
13416
|
adam@47
|
13417 lt_aix_libpath_sed='
|
adam@47
|
13418 /Import File Strings/,/^$/ {
|
adam@47
|
13419 /^0/ {
|
adam@47
|
13420 s/^0 *\([^ ]*\) *$/\1/
|
adam@47
|
13421 p
|
adam@47
|
13422 }
|
adam@47
|
13423 }'
|
adam@47
|
13424 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
13425 # Check for a 64-bit object if we didn't find anything.
|
adam@47
|
13426 if test -z "$lt_cv_aix_libpath__CXX"; then
|
adam@47
|
13427 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
13428 fi
|
adam@1
|
13429 fi
|
adam@1
|
13430 rm -f core conftest.err conftest.$ac_objext \
|
adam@1
|
13431 conftest$ac_exeext conftest.$ac_ext
|
adam@47
|
13432 if test -z "$lt_cv_aix_libpath__CXX"; then
|
adam@47
|
13433 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
|
adam@47
|
13434 fi
|
adam@47
|
13435
|
adam@47
|
13436 fi
|
adam@47
|
13437
|
adam@47
|
13438 aix_libpath=$lt_cv_aix_libpath__CXX
|
adam@47
|
13439 fi
|
adam@1
|
13440
|
adam@1
|
13441 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
|
adam@1
|
13442
|
adam@47
|
13443 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
|
adam@1
|
13444 else
|
adam@1
|
13445 if test "$host_cpu" = ia64; then
|
adam@1
|
13446 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
|
adam@1
|
13447 allow_undefined_flag_CXX="-z nodefs"
|
adam@1
|
13448 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"
|
adam@1
|
13449 else
|
adam@1
|
13450 # Determine the default libpath from the value encoded in an
|
adam@1
|
13451 # empty executable.
|
adam@47
|
13452 if test "${lt_cv_aix_libpath+set}" = set; then
|
adam@47
|
13453 aix_libpath=$lt_cv_aix_libpath
|
adam@47
|
13454 else
|
adam@64
|
13455 if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
|
adam@47
|
13456 $as_echo_n "(cached) " >&6
|
adam@47
|
13457 else
|
adam@47
|
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
13459 /* end confdefs.h. */
|
adam@1
|
13460
|
adam@1
|
13461 int
|
adam@1
|
13462 main ()
|
adam@1
|
13463 {
|
adam@1
|
13464
|
adam@1
|
13465 ;
|
adam@1
|
13466 return 0;
|
adam@1
|
13467 }
|
adam@1
|
13468 _ACEOF
|
adam@1
|
13469 if ac_fn_cxx_try_link "$LINENO"; then :
|
adam@1
|
13470
|
adam@47
|
13471 lt_aix_libpath_sed='
|
adam@47
|
13472 /Import File Strings/,/^$/ {
|
adam@47
|
13473 /^0/ {
|
adam@47
|
13474 s/^0 *\([^ ]*\) *$/\1/
|
adam@47
|
13475 p
|
adam@47
|
13476 }
|
adam@47
|
13477 }'
|
adam@47
|
13478 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
13479 # Check for a 64-bit object if we didn't find anything.
|
adam@47
|
13480 if test -z "$lt_cv_aix_libpath__CXX"; then
|
adam@47
|
13481 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@47
|
13482 fi
|
adam@1
|
13483 fi
|
adam@1
|
13484 rm -f core conftest.err conftest.$ac_objext \
|
adam@1
|
13485 conftest$ac_exeext conftest.$ac_ext
|
adam@47
|
13486 if test -z "$lt_cv_aix_libpath__CXX"; then
|
adam@47
|
13487 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
|
adam@47
|
13488 fi
|
adam@47
|
13489
|
adam@47
|
13490 fi
|
adam@47
|
13491
|
adam@47
|
13492 aix_libpath=$lt_cv_aix_libpath__CXX
|
adam@47
|
13493 fi
|
adam@1
|
13494
|
adam@1
|
13495 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
|
adam@1
|
13496 # Warning - without using the other run time loading flags,
|
adam@1
|
13497 # -berok will link without error, but may produce a broken library.
|
adam@1
|
13498 no_undefined_flag_CXX=' ${wl}-bernotok'
|
adam@1
|
13499 allow_undefined_flag_CXX=' ${wl}-berok'
|
adam@47
|
13500 if test "$with_gnu_ld" = yes; then
|
adam@47
|
13501 # We only use this code for GNU lds that support --whole-archive.
|
adam@47
|
13502 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
|
adam@47
|
13503 else
|
adam@47
|
13504 # Exported symbols can be pulled into shared objects from archives
|
adam@47
|
13505 whole_archive_flag_spec_CXX='$convenience'
|
adam@47
|
13506 fi
|
adam@1
|
13507 archive_cmds_need_lc_CXX=yes
|
adam@1
|
13508 # This is similar to how AIX traditionally builds its shared
|
adam@1
|
13509 # libraries.
|
adam@1
|
13510 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'
|
adam@1
|
13511 fi
|
adam@1
|
13512 fi
|
adam@1
|
13513 ;;
|
adam@1
|
13514
|
adam@1
|
13515 beos*)
|
adam@1
|
13516 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@1
|
13517 allow_undefined_flag_CXX=unsupported
|
adam@1
|
13518 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
adam@1
|
13519 # support --undefined. This deserves some investigation. FIXME
|
adam@1
|
13520 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@1
|
13521 else
|
adam@1
|
13522 ld_shlibs_CXX=no
|
adam@1
|
13523 fi
|
adam@1
|
13524 ;;
|
adam@1
|
13525
|
adam@1
|
13526 chorus*)
|
adam@1
|
13527 case $cc_basename in
|
adam@1
|
13528 *)
|
adam@1
|
13529 # FIXME: insert proper C++ library support
|
adam@1
|
13530 ld_shlibs_CXX=no
|
adam@1
|
13531 ;;
|
adam@1
|
13532 esac
|
adam@1
|
13533 ;;
|
adam@1
|
13534
|
adam@1
|
13535 cygwin* | mingw* | pw32* | cegcc*)
|
adam@47
|
13536 case $GXX,$cc_basename in
|
adam@47
|
13537 ,cl* | no,cl*)
|
adam@47
|
13538 # Native MSVC
|
adam@47
|
13539 # hardcode_libdir_flag_spec is actually meaningless, as there is
|
adam@47
|
13540 # no search path for DLLs.
|
adam@47
|
13541 hardcode_libdir_flag_spec_CXX=' '
|
adam@47
|
13542 allow_undefined_flag_CXX=unsupported
|
adam@47
|
13543 always_export_symbols_CXX=yes
|
adam@47
|
13544 file_list_spec_CXX='@'
|
adam@47
|
13545 # Tell ltmain to make .lib files, not .a files.
|
adam@47
|
13546 libext=lib
|
adam@47
|
13547 # Tell ltmain to make .dll files, not .so files.
|
adam@47
|
13548 shrext_cmds=".dll"
|
adam@47
|
13549 # FIXME: Setting linknames here is a bad hack.
|
adam@47
|
13550 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
|
adam@47
|
13551 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
adam@47
|
13552 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
|
adam@47
|
13553 else
|
adam@47
|
13554 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
|
adam@47
|
13555 fi~
|
adam@47
|
13556 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
|
adam@47
|
13557 linknames='
|
adam@47
|
13558 # The linker will not automatically build a static lib if we build a DLL.
|
adam@47
|
13559 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
|
adam@47
|
13560 enable_shared_with_static_runtimes_CXX=yes
|
adam@47
|
13561 # Don't use ranlib
|
adam@47
|
13562 old_postinstall_cmds_CXX='chmod 644 $oldlib'
|
adam@47
|
13563 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
|
adam@47
|
13564 lt_tool_outputfile="@TOOL_OUTPUT@"~
|
adam@47
|
13565 case $lt_outputfile in
|
adam@47
|
13566 *.exe|*.EXE) ;;
|
adam@47
|
13567 *)
|
adam@47
|
13568 lt_outputfile="$lt_outputfile.exe"
|
adam@47
|
13569 lt_tool_outputfile="$lt_tool_outputfile.exe"
|
adam@47
|
13570 ;;
|
adam@47
|
13571 esac~
|
adam@47
|
13572 func_to_tool_file "$lt_outputfile"~
|
adam@47
|
13573 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
|
adam@47
|
13574 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
|
adam@47
|
13575 $RM "$lt_outputfile.manifest";
|
adam@47
|
13576 fi'
|
adam@47
|
13577 ;;
|
adam@47
|
13578 *)
|
adam@47
|
13579 # g++
|
adam@47
|
13580 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
|
adam@47
|
13581 # as there is no search path for DLLs.
|
adam@47
|
13582 hardcode_libdir_flag_spec_CXX='-L$libdir'
|
adam@47
|
13583 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
|
adam@47
|
13584 allow_undefined_flag_CXX=unsupported
|
adam@47
|
13585 always_export_symbols_CXX=no
|
adam@47
|
13586 enable_shared_with_static_runtimes_CXX=yes
|
adam@47
|
13587
|
adam@47
|
13588 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
|
adam@47
|
13589 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'
|
adam@47
|
13590 # If the export-symbols file already is a .def file (1st line
|
adam@47
|
13591 # is EXPORTS), use it as is; otherwise, prepend...
|
adam@47
|
13592 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
adam@47
|
13593 cp $export_symbols $output_objdir/$soname.def;
|
adam@47
|
13594 else
|
adam@47
|
13595 echo EXPORTS > $output_objdir/$soname.def;
|
adam@47
|
13596 cat $export_symbols >> $output_objdir/$soname.def;
|
adam@47
|
13597 fi~
|
adam@47
|
13598 $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'
|
adam@47
|
13599 else
|
adam@47
|
13600 ld_shlibs_CXX=no
|
adam@47
|
13601 fi
|
adam@47
|
13602 ;;
|
adam@47
|
13603 esac
|
adam@47
|
13604 ;;
|
adam@1
|
13605 darwin* | rhapsody*)
|
adam@1
|
13606
|
adam@1
|
13607
|
adam@1
|
13608 archive_cmds_need_lc_CXX=no
|
adam@1
|
13609 hardcode_direct_CXX=no
|
adam@1
|
13610 hardcode_automatic_CXX=yes
|
adam@1
|
13611 hardcode_shlibpath_var_CXX=unsupported
|
adam@47
|
13612 if test "$lt_cv_ld_force_load" = "yes"; then
|
adam@47
|
13613 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
adam@47
|
13614 else
|
adam@47
|
13615 whole_archive_flag_spec_CXX=''
|
adam@47
|
13616 fi
|
adam@1
|
13617 link_all_deplibs_CXX=yes
|
adam@1
|
13618 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
|
adam@1
|
13619 case $cc_basename in
|
adam@1
|
13620 ifort*) _lt_dar_can_shared=yes ;;
|
adam@1
|
13621 *) _lt_dar_can_shared=$GCC ;;
|
adam@1
|
13622 esac
|
adam@1
|
13623 if test "$_lt_dar_can_shared" = "yes"; then
|
adam@47
|
13624 output_verbose_link_cmd=func_echo_all
|
adam@1
|
13625 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
|
adam@1
|
13626 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
|
adam@1
|
13627 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
|
adam@1
|
13628 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
|
adam@1
|
13629 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
|
adam@1
|
13630 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${_lt_dsymutil}"
|
adam@1
|
13631 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
|
adam@1
|
13632 fi
|
adam@1
|
13633
|
adam@1
|
13634 else
|
adam@1
|
13635 ld_shlibs_CXX=no
|
adam@1
|
13636 fi
|
adam@1
|
13637
|
adam@1
|
13638 ;;
|
adam@1
|
13639
|
adam@1
|
13640 dgux*)
|
adam@1
|
13641 case $cc_basename in
|
adam@1
|
13642 ec++*)
|
adam@1
|
13643 # FIXME: insert proper C++ library support
|
adam@1
|
13644 ld_shlibs_CXX=no
|
adam@1
|
13645 ;;
|
adam@1
|
13646 ghcx*)
|
adam@1
|
13647 # Green Hills C++ Compiler
|
adam@1
|
13648 # FIXME: insert proper C++ library support
|
adam@1
|
13649 ld_shlibs_CXX=no
|
adam@1
|
13650 ;;
|
adam@1
|
13651 *)
|
adam@1
|
13652 # FIXME: insert proper C++ library support
|
adam@1
|
13653 ld_shlibs_CXX=no
|
adam@1
|
13654 ;;
|
adam@1
|
13655 esac
|
adam@1
|
13656 ;;
|
adam@1
|
13657
|
adam@1
|
13658 freebsd[12]*)
|
adam@1
|
13659 # C++ shared libraries reported to be fairly broken before
|
adam@1
|
13660 # switch to ELF
|
adam@1
|
13661 ld_shlibs_CXX=no
|
adam@1
|
13662 ;;
|
adam@1
|
13663
|
adam@1
|
13664 freebsd-elf*)
|
adam@1
|
13665 archive_cmds_need_lc_CXX=no
|
adam@1
|
13666 ;;
|
adam@1
|
13667
|
adam@1
|
13668 freebsd* | dragonfly*)
|
adam@1
|
13669 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
adam@1
|
13670 # conventions
|
adam@1
|
13671 ld_shlibs_CXX=yes
|
adam@1
|
13672 ;;
|
adam@1
|
13673
|
adam@1
|
13674 gnu*)
|
adam@1
|
13675 ;;
|
adam@1
|
13676
|
adam@47
|
13677 haiku*)
|
adam@47
|
13678 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@47
|
13679 link_all_deplibs_CXX=yes
|
adam@47
|
13680 ;;
|
adam@47
|
13681
|
adam@1
|
13682 hpux9*)
|
adam@1
|
13683 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
|
adam@1
|
13684 hardcode_libdir_separator_CXX=:
|
adam@1
|
13685 export_dynamic_flag_spec_CXX='${wl}-E'
|
adam@1
|
13686 hardcode_direct_CXX=yes
|
adam@1
|
13687 hardcode_minus_L_CXX=yes # Not in the search PATH,
|
adam@1
|
13688 # but as the default
|
adam@1
|
13689 # location of the library.
|
adam@1
|
13690
|
adam@1
|
13691 case $cc_basename in
|
adam@1
|
13692 CC*)
|
adam@1
|
13693 # FIXME: insert proper C++ library support
|
adam@1
|
13694 ld_shlibs_CXX=no
|
adam@1
|
13695 ;;
|
adam@1
|
13696 aCC*)
|
adam@1
|
13697 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'
|
adam@1
|
13698 # Commands to make compiler produce verbose output that lists
|
adam@1
|
13699 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
13700 # linking a shared library.
|
adam@1
|
13701 #
|
adam@1
|
13702 # There doesn't appear to be a way to prevent this compiler from
|
adam@1
|
13703 # explicitly linking system object files so we need to strip them
|
adam@1
|
13704 # from the output so that they don't get included in the library
|
adam@1
|
13705 # dependencies.
|
adam@47
|
13706 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
|
adam@1
|
13707 ;;
|
adam@1
|
13708 *)
|
adam@1
|
13709 if test "$GXX" = yes; then
|
adam@47
|
13710 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
|
adam@1
|
13711 else
|
adam@1
|
13712 # FIXME: insert proper C++ library support
|
adam@1
|
13713 ld_shlibs_CXX=no
|
adam@1
|
13714 fi
|
adam@1
|
13715 ;;
|
adam@1
|
13716 esac
|
adam@1
|
13717 ;;
|
adam@1
|
13718
|
adam@1
|
13719 hpux10*|hpux11*)
|
adam@1
|
13720 if test $with_gnu_ld = no; then
|
adam@1
|
13721 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
|
adam@1
|
13722 hardcode_libdir_separator_CXX=:
|
adam@1
|
13723
|
adam@1
|
13724 case $host_cpu in
|
adam@1
|
13725 hppa*64*|ia64*)
|
adam@1
|
13726 ;;
|
adam@1
|
13727 *)
|
adam@1
|
13728 export_dynamic_flag_spec_CXX='${wl}-E'
|
adam@1
|
13729 ;;
|
adam@1
|
13730 esac
|
adam@1
|
13731 fi
|
adam@1
|
13732 case $host_cpu in
|
adam@1
|
13733 hppa*64*|ia64*)
|
adam@1
|
13734 hardcode_direct_CXX=no
|
adam@1
|
13735 hardcode_shlibpath_var_CXX=no
|
adam@1
|
13736 ;;
|
adam@1
|
13737 *)
|
adam@1
|
13738 hardcode_direct_CXX=yes
|
adam@1
|
13739 hardcode_direct_absolute_CXX=yes
|
adam@1
|
13740 hardcode_minus_L_CXX=yes # Not in the search PATH,
|
adam@1
|
13741 # but as the default
|
adam@1
|
13742 # location of the library.
|
adam@1
|
13743 ;;
|
adam@1
|
13744 esac
|
adam@1
|
13745
|
adam@1
|
13746 case $cc_basename in
|
adam@1
|
13747 CC*)
|
adam@1
|
13748 # FIXME: insert proper C++ library support
|
adam@1
|
13749 ld_shlibs_CXX=no
|
adam@1
|
13750 ;;
|
adam@1
|
13751 aCC*)
|
adam@1
|
13752 case $host_cpu in
|
adam@1
|
13753 hppa*64*)
|
adam@1
|
13754 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
13755 ;;
|
adam@1
|
13756 ia64*)
|
adam@1
|
13757 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
13758 ;;
|
adam@1
|
13759 *)
|
adam@1
|
13760 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
13761 ;;
|
adam@1
|
13762 esac
|
adam@1
|
13763 # Commands to make compiler produce verbose output that lists
|
adam@1
|
13764 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
13765 # linking a shared library.
|
adam@1
|
13766 #
|
adam@1
|
13767 # There doesn't appear to be a way to prevent this compiler from
|
adam@1
|
13768 # explicitly linking system object files so we need to strip them
|
adam@1
|
13769 # from the output so that they don't get included in the library
|
adam@1
|
13770 # dependencies.
|
adam@47
|
13771 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; func_echo_all "$list"'
|
adam@1
|
13772 ;;
|
adam@1
|
13773 *)
|
adam@1
|
13774 if test "$GXX" = yes; then
|
adam@1
|
13775 if test $with_gnu_ld = no; then
|
adam@1
|
13776 case $host_cpu in
|
adam@1
|
13777 hppa*64*)
|
adam@1
|
13778 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
13779 ;;
|
adam@1
|
13780 ia64*)
|
adam@47
|
13781 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
13782 ;;
|
adam@1
|
13783 *)
|
adam@47
|
13784 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
13785 ;;
|
adam@1
|
13786 esac
|
adam@1
|
13787 fi
|
adam@1
|
13788 else
|
adam@1
|
13789 # FIXME: insert proper C++ library support
|
adam@1
|
13790 ld_shlibs_CXX=no
|
adam@1
|
13791 fi
|
adam@1
|
13792 ;;
|
adam@1
|
13793 esac
|
adam@1
|
13794 ;;
|
adam@1
|
13795
|
adam@1
|
13796 interix[3-9]*)
|
adam@1
|
13797 hardcode_direct_CXX=no
|
adam@1
|
13798 hardcode_shlibpath_var_CXX=no
|
adam@1
|
13799 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
adam@1
|
13800 export_dynamic_flag_spec_CXX='${wl}-E'
|
adam@1
|
13801 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
|
adam@1
|
13802 # Instead, shared libraries are loaded at an image base (0x10000000 by
|
adam@1
|
13803 # default) and relocated if they conflict, which is a slow very memory
|
adam@1
|
13804 # consuming and fragmenting process. To avoid this, we pick a random,
|
adam@1
|
13805 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
adam@1
|
13806 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
adam@1
|
13807 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'
|
adam@1
|
13808 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'
|
adam@1
|
13809 ;;
|
adam@1
|
13810 irix5* | irix6*)
|
adam@1
|
13811 case $cc_basename in
|
adam@1
|
13812 CC*)
|
adam@1
|
13813 # SGI C++
|
adam@47
|
13814 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
adam@1
|
13815
|
adam@1
|
13816 # Archives containing C++ object files must be created using
|
adam@1
|
13817 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
|
adam@1
|
13818 # necessary to make sure instantiated templates are included
|
adam@1
|
13819 # in the archive.
|
adam@1
|
13820 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
|
adam@1
|
13821 ;;
|
adam@1
|
13822 *)
|
adam@1
|
13823 if test "$GXX" = yes; then
|
adam@1
|
13824 if test "$with_gnu_ld" = no; then
|
adam@47
|
13825 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
adam@1
|
13826 else
|
adam@47
|
13827 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
|
adam@1
|
13828 fi
|
adam@1
|
13829 fi
|
adam@1
|
13830 link_all_deplibs_CXX=yes
|
adam@1
|
13831 ;;
|
adam@1
|
13832 esac
|
adam@1
|
13833 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
|
adam@1
|
13834 hardcode_libdir_separator_CXX=:
|
adam@1
|
13835 inherit_rpath_CXX=yes
|
adam@1
|
13836 ;;
|
adam@1
|
13837
|
adam@1
|
13838 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@1
|
13839 case $cc_basename in
|
adam@1
|
13840 KCC*)
|
adam@1
|
13841 # Kuck and Associates, Inc. (KAI) C++ Compiler
|
adam@1
|
13842
|
adam@1
|
13843 # KCC will only create a shared library if the output file
|
adam@1
|
13844 # ends with ".so" (or ".sl" for HP-UX), so rename the library
|
adam@1
|
13845 # to its proper name (with version) after linking.
|
adam@1
|
13846 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'
|
adam@1
|
13847 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'
|
adam@1
|
13848 # Commands to make compiler produce verbose output that lists
|
adam@1
|
13849 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
13850 # linking a shared library.
|
adam@1
|
13851 #
|
adam@1
|
13852 # There doesn't appear to be a way to prevent this compiler from
|
adam@1
|
13853 # explicitly linking system object files so we need to strip them
|
adam@1
|
13854 # from the output so that they don't get included in the library
|
adam@1
|
13855 # dependencies.
|
adam@47
|
13856 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; func_echo_all "$list"'
|
adam@1
|
13857
|
adam@1
|
13858 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
adam@1
|
13859 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
|
adam@1
|
13860
|
adam@1
|
13861 # Archives containing C++ object files must be created using
|
adam@1
|
13862 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
|
adam@1
|
13863 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
|
adam@1
|
13864 ;;
|
adam@1
|
13865 icpc* | ecpc* )
|
adam@1
|
13866 # Intel C++
|
adam@1
|
13867 with_gnu_ld=yes
|
adam@1
|
13868 # version 8.0 and above of icpc choke on multiply defined symbols
|
adam@1
|
13869 # if we add $predep_objects and $postdep_objects, however 7.1 and
|
adam@1
|
13870 # earlier do not add the objects themselves.
|
adam@1
|
13871 case `$CC -V 2>&1` in
|
adam@1
|
13872 *"Version 7."*)
|
adam@1
|
13873 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@1
|
13874 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'
|
adam@1
|
13875 ;;
|
adam@1
|
13876 *) # Version 8.0 or newer
|
adam@1
|
13877 tmp_idyn=
|
adam@1
|
13878 case $host_cpu in
|
adam@1
|
13879 ia64*) tmp_idyn=' -i_dynamic';;
|
adam@1
|
13880 esac
|
adam@1
|
13881 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@1
|
13882 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'
|
adam@1
|
13883 ;;
|
adam@1
|
13884 esac
|
adam@1
|
13885 archive_cmds_need_lc_CXX=no
|
adam@1
|
13886 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
adam@1
|
13887 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
|
adam@1
|
13888 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
|
adam@1
|
13889 ;;
|
adam@1
|
13890 pgCC* | pgcpp*)
|
adam@1
|
13891 # Portland Group C++ compiler
|
adam@1
|
13892 case `$CC -V` in
|
adam@47
|
13893 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
|
adam@1
|
13894 prelink_cmds_CXX='tpldir=Template.dir~
|
adam@1
|
13895 rm -rf $tpldir~
|
adam@1
|
13896 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
|
adam@47
|
13897 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
|
adam@1
|
13898 old_archive_cmds_CXX='tpldir=Template.dir~
|
adam@1
|
13899 rm -rf $tpldir~
|
adam@1
|
13900 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
|
adam@47
|
13901 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
|
adam@1
|
13902 $RANLIB $oldlib'
|
adam@1
|
13903 archive_cmds_CXX='tpldir=Template.dir~
|
adam@1
|
13904 rm -rf $tpldir~
|
adam@1
|
13905 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
adam@47
|
13906 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
adam@1
|
13907 archive_expsym_cmds_CXX='tpldir=Template.dir~
|
adam@1
|
13908 rm -rf $tpldir~
|
adam@1
|
13909 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
adam@47
|
13910 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
adam@1
|
13911 ;;
|
adam@47
|
13912 *) # Version 6 and above use weak symbols
|
adam@1
|
13913 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
adam@1
|
13914 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'
|
adam@1
|
13915 ;;
|
adam@1
|
13916 esac
|
adam@1
|
13917
|
adam@1
|
13918 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
|
adam@1
|
13919 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
|
adam@47
|
13920 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
adam@1
|
13921 ;;
|
adam@1
|
13922 cxx*)
|
adam@1
|
13923 # Compaq C++
|
adam@1
|
13924 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@1
|
13925 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'
|
adam@1
|
13926
|
adam@1
|
13927 runpath_var=LD_RUN_PATH
|
adam@1
|
13928 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
|
adam@1
|
13929 hardcode_libdir_separator_CXX=:
|
adam@1
|
13930
|
adam@1
|
13931 # Commands to make compiler produce verbose output that lists
|
adam@1
|
13932 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
13933 # linking a shared library.
|
adam@1
|
13934 #
|
adam@1
|
13935 # There doesn't appear to be a way to prevent this compiler from
|
adam@1
|
13936 # explicitly linking system object files so we need to strip them
|
adam@1
|
13937 # from the output so that they don't get included in the library
|
adam@1
|
13938 # dependencies.
|
adam@47
|
13939 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed'
|
adam@47
|
13940 ;;
|
adam@47
|
13941 xl* | mpixl* | bgxl*)
|
adam@1
|
13942 # IBM XL 8.0 on PPC, with GNU ld
|
adam@1
|
13943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
|
adam@1
|
13944 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
|
adam@1
|
13945 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@1
|
13946 if test "x$supports_anon_versioning" = xyes; then
|
adam@1
|
13947 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
|
adam@1
|
13948 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
adam@1
|
13949 echo "local: *; };" >> $output_objdir/$libname.ver~
|
adam@1
|
13950 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
adam@1
|
13951 fi
|
adam@1
|
13952 ;;
|
adam@1
|
13953 *)
|
adam@1
|
13954 case `$CC -V 2>&1 | sed 5q` in
|
adam@1
|
13955 *Sun\ C*)
|
adam@1
|
13956 # Sun C++ 5.9
|
adam@1
|
13957 no_undefined_flag_CXX=' -zdefs'
|
adam@1
|
13958 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
13959 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'
|
adam@1
|
13960 hardcode_libdir_flag_spec_CXX='-R$libdir'
|
adam@47
|
13961 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
|
adam@1
|
13962 compiler_needs_object_CXX=yes
|
adam@1
|
13963
|
adam@1
|
13964 # Not sure whether something based on
|
adam@1
|
13965 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
|
adam@1
|
13966 # would be better.
|
adam@47
|
13967 output_verbose_link_cmd='func_echo_all'
|
adam@1
|
13968
|
adam@1
|
13969 # Archives containing C++ object files must be created using
|
adam@1
|
13970 # "CC -xar", where "CC" is the Sun C++ compiler. This is
|
adam@1
|
13971 # necessary to make sure instantiated templates are included
|
adam@1
|
13972 # in the archive.
|
adam@1
|
13973 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
|
adam@1
|
13974 ;;
|
adam@1
|
13975 esac
|
adam@1
|
13976 ;;
|
adam@1
|
13977 esac
|
adam@1
|
13978 ;;
|
adam@1
|
13979
|
adam@1
|
13980 lynxos*)
|
adam@1
|
13981 # FIXME: insert proper C++ library support
|
adam@1
|
13982 ld_shlibs_CXX=no
|
adam@1
|
13983 ;;
|
adam@1
|
13984
|
adam@1
|
13985 m88k*)
|
adam@1
|
13986 # FIXME: insert proper C++ library support
|
adam@1
|
13987 ld_shlibs_CXX=no
|
adam@1
|
13988 ;;
|
adam@1
|
13989
|
adam@1
|
13990 mvs*)
|
adam@1
|
13991 case $cc_basename in
|
adam@1
|
13992 cxx*)
|
adam@1
|
13993 # FIXME: insert proper C++ library support
|
adam@1
|
13994 ld_shlibs_CXX=no
|
adam@1
|
13995 ;;
|
adam@1
|
13996 *)
|
adam@1
|
13997 # FIXME: insert proper C++ library support
|
adam@1
|
13998 ld_shlibs_CXX=no
|
adam@1
|
13999 ;;
|
adam@1
|
14000 esac
|
adam@1
|
14001 ;;
|
adam@1
|
14002
|
adam@1
|
14003 netbsd*)
|
adam@1
|
14004 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@1
|
14005 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
|
adam@1
|
14006 wlarc=
|
adam@1
|
14007 hardcode_libdir_flag_spec_CXX='-R$libdir'
|
adam@1
|
14008 hardcode_direct_CXX=yes
|
adam@1
|
14009 hardcode_shlibpath_var_CXX=no
|
adam@1
|
14010 fi
|
adam@1
|
14011 # Workaround some broken pre-1.5 toolchains
|
adam@1
|
14012 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
|
adam@1
|
14013 ;;
|
adam@1
|
14014
|
adam@1
|
14015 *nto* | *qnx*)
|
adam@1
|
14016 ld_shlibs_CXX=yes
|
adam@1
|
14017 ;;
|
adam@1
|
14018
|
adam@1
|
14019 openbsd2*)
|
adam@1
|
14020 # C++ shared libraries are fairly broken
|
adam@1
|
14021 ld_shlibs_CXX=no
|
adam@1
|
14022 ;;
|
adam@1
|
14023
|
adam@1
|
14024 openbsd*)
|
adam@1
|
14025 if test -f /usr/libexec/ld.so; then
|
adam@1
|
14026 hardcode_direct_CXX=yes
|
adam@1
|
14027 hardcode_shlibpath_var_CXX=no
|
adam@1
|
14028 hardcode_direct_absolute_CXX=yes
|
adam@1
|
14029 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
|
adam@1
|
14030 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
adam@1
|
14031 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@1
|
14032 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
|
adam@1
|
14033 export_dynamic_flag_spec_CXX='${wl}-E'
|
adam@1
|
14034 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
adam@1
|
14035 fi
|
adam@47
|
14036 output_verbose_link_cmd=func_echo_all
|
adam@1
|
14037 else
|
adam@1
|
14038 ld_shlibs_CXX=no
|
adam@1
|
14039 fi
|
adam@1
|
14040 ;;
|
adam@1
|
14041
|
adam@1
|
14042 osf3* | osf4* | osf5*)
|
adam@1
|
14043 case $cc_basename in
|
adam@1
|
14044 KCC*)
|
adam@1
|
14045 # Kuck and Associates, Inc. (KAI) C++ Compiler
|
adam@1
|
14046
|
adam@1
|
14047 # KCC will only create a shared library if the output file
|
adam@1
|
14048 # ends with ".so" (or ".sl" for HP-UX), so rename the library
|
adam@1
|
14049 # to its proper name (with version) after linking.
|
adam@1
|
14050 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'
|
adam@1
|
14051
|
adam@1
|
14052 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
|
adam@1
|
14053 hardcode_libdir_separator_CXX=:
|
adam@1
|
14054
|
adam@1
|
14055 # Archives containing C++ object files must be created using
|
adam@1
|
14056 # the KAI C++ compiler.
|
adam@1
|
14057 case $host in
|
adam@1
|
14058 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
|
adam@1
|
14059 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
|
adam@1
|
14060 esac
|
adam@1
|
14061 ;;
|
adam@1
|
14062 RCC*)
|
adam@1
|
14063 # Rational C++ 2.4.1
|
adam@1
|
14064 # FIXME: insert proper C++ library support
|
adam@1
|
14065 ld_shlibs_CXX=no
|
adam@1
|
14066 ;;
|
adam@1
|
14067 cxx*)
|
adam@1
|
14068 case $host in
|
adam@1
|
14069 osf3*)
|
adam@1
|
14070 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
|
adam@47
|
14071 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
adam@1
|
14072 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
|
adam@1
|
14073 ;;
|
adam@1
|
14074 *)
|
adam@1
|
14075 allow_undefined_flag_CXX=' -expect_unresolved \*'
|
adam@47
|
14076 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
|
adam@1
|
14077 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
|
adam@1
|
14078 echo "-hidden">> $lib.exp~
|
adam@47
|
14079 $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~
|
adam@1
|
14080 $RM $lib.exp'
|
adam@1
|
14081 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
|
adam@1
|
14082 ;;
|
adam@1
|
14083 esac
|
adam@1
|
14084
|
adam@1
|
14085 hardcode_libdir_separator_CXX=:
|
adam@1
|
14086
|
adam@1
|
14087 # Commands to make compiler produce verbose output that lists
|
adam@1
|
14088 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
14089 # linking a shared library.
|
adam@1
|
14090 #
|
adam@1
|
14091 # There doesn't appear to be a way to prevent this compiler from
|
adam@1
|
14092 # explicitly linking system object files so we need to strip them
|
adam@1
|
14093 # from the output so that they don't get included in the library
|
adam@1
|
14094 # dependencies.
|
adam@47
|
14095 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"'
|
adam@1
|
14096 ;;
|
adam@1
|
14097 *)
|
adam@1
|
14098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
|
adam@1
|
14099 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
|
adam@1
|
14100 case $host in
|
adam@1
|
14101 osf3*)
|
adam@47
|
14102 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
adam@1
|
14103 ;;
|
adam@1
|
14104 *)
|
adam@47
|
14105 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
adam@1
|
14106 ;;
|
adam@1
|
14107 esac
|
adam@1
|
14108
|
adam@1
|
14109 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
|
adam@1
|
14110 hardcode_libdir_separator_CXX=:
|
adam@1
|
14111
|
adam@1
|
14112 # Commands to make compiler produce verbose output that lists
|
adam@1
|
14113 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
14114 # linking a shared library.
|
adam@47
|
14115 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
|
adam@1
|
14116
|
adam@1
|
14117 else
|
adam@1
|
14118 # FIXME: insert proper C++ library support
|
adam@1
|
14119 ld_shlibs_CXX=no
|
adam@1
|
14120 fi
|
adam@1
|
14121 ;;
|
adam@1
|
14122 esac
|
adam@1
|
14123 ;;
|
adam@1
|
14124
|
adam@1
|
14125 psos*)
|
adam@1
|
14126 # FIXME: insert proper C++ library support
|
adam@1
|
14127 ld_shlibs_CXX=no
|
adam@1
|
14128 ;;
|
adam@1
|
14129
|
adam@1
|
14130 sunos4*)
|
adam@1
|
14131 case $cc_basename in
|
adam@1
|
14132 CC*)
|
adam@1
|
14133 # Sun C++ 4.x
|
adam@1
|
14134 # FIXME: insert proper C++ library support
|
adam@1
|
14135 ld_shlibs_CXX=no
|
adam@1
|
14136 ;;
|
adam@1
|
14137 lcc*)
|
adam@1
|
14138 # Lucid
|
adam@1
|
14139 # FIXME: insert proper C++ library support
|
adam@1
|
14140 ld_shlibs_CXX=no
|
adam@1
|
14141 ;;
|
adam@1
|
14142 *)
|
adam@1
|
14143 # FIXME: insert proper C++ library support
|
adam@1
|
14144 ld_shlibs_CXX=no
|
adam@1
|
14145 ;;
|
adam@1
|
14146 esac
|
adam@1
|
14147 ;;
|
adam@1
|
14148
|
adam@1
|
14149 solaris*)
|
adam@1
|
14150 case $cc_basename in
|
adam@47
|
14151 CC* | sunCC*)
|
adam@1
|
14152 # Sun C++ 4.2, 5.x and Centerline C++
|
adam@1
|
14153 archive_cmds_need_lc_CXX=yes
|
adam@1
|
14154 no_undefined_flag_CXX=' -zdefs'
|
adam@1
|
14155 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
adam@1
|
14156 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@1
|
14157 $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'
|
adam@1
|
14158
|
adam@1
|
14159 hardcode_libdir_flag_spec_CXX='-R$libdir'
|
adam@1
|
14160 hardcode_shlibpath_var_CXX=no
|
adam@1
|
14161 case $host_os in
|
adam@1
|
14162 solaris2.[0-5] | solaris2.[0-5].*) ;;
|
adam@1
|
14163 *)
|
adam@1
|
14164 # The compiler driver will combine and reorder linker options,
|
adam@1
|
14165 # but understands `-z linker_flag'.
|
adam@1
|
14166 # Supported since Solaris 2.6 (maybe 2.5.1?)
|
adam@1
|
14167 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
|
adam@1
|
14168 ;;
|
adam@1
|
14169 esac
|
adam@1
|
14170 link_all_deplibs_CXX=yes
|
adam@1
|
14171
|
adam@47
|
14172 output_verbose_link_cmd='func_echo_all'
|
adam@1
|
14173
|
adam@1
|
14174 # Archives containing C++ object files must be created using
|
adam@1
|
14175 # "CC -xar", where "CC" is the Sun C++ compiler. This is
|
adam@1
|
14176 # necessary to make sure instantiated templates are included
|
adam@1
|
14177 # in the archive.
|
adam@1
|
14178 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
|
adam@1
|
14179 ;;
|
adam@1
|
14180 gcx*)
|
adam@1
|
14181 # Green Hills C++ Compiler
|
adam@1
|
14182 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
adam@1
|
14183
|
adam@1
|
14184 # The C++ compiler must be used to create the archive.
|
adam@1
|
14185 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
|
adam@1
|
14186 ;;
|
adam@1
|
14187 *)
|
adam@1
|
14188 # GNU C++ compiler with Solaris linker
|
adam@1
|
14189 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
|
adam@1
|
14190 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
|
adam@1
|
14191 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
|
adam@47
|
14192 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
adam@1
|
14193 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@47
|
14194 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
adam@1
|
14195
|
adam@1
|
14196 # Commands to make compiler produce verbose output that lists
|
adam@1
|
14197 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
14198 # linking a shared library.
|
adam@47
|
14199 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
|
adam@1
|
14200 else
|
adam@1
|
14201 # g++ 2.7 appears to require `-G' NOT `-shared' on this
|
adam@1
|
14202 # platform.
|
adam@1
|
14203 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
|
adam@1
|
14204 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@1
|
14205 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
|
adam@1
|
14206
|
adam@1
|
14207 # Commands to make compiler produce verbose output that lists
|
adam@1
|
14208 # what "hidden" libraries, object files and flags are used when
|
adam@1
|
14209 # linking a shared library.
|
adam@47
|
14210 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
|
adam@1
|
14211 fi
|
adam@1
|
14212
|
adam@1
|
14213 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
|
adam@1
|
14214 case $host_os in
|
adam@1
|
14215 solaris2.[0-5] | solaris2.[0-5].*) ;;
|
adam@1
|
14216 *)
|
adam@1
|
14217 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
|
adam@1
|
14218 ;;
|
adam@1
|
14219 esac
|
adam@1
|
14220 fi
|
adam@1
|
14221 ;;
|
adam@1
|
14222 esac
|
adam@1
|
14223 ;;
|
adam@1
|
14224
|
adam@1
|
14225 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
adam@1
|
14226 no_undefined_flag_CXX='${wl}-z,text'
|
adam@1
|
14227 archive_cmds_need_lc_CXX=no
|
adam@1
|
14228 hardcode_shlibpath_var_CXX=no
|
adam@1
|
14229 runpath_var='LD_RUN_PATH'
|
adam@1
|
14230
|
adam@1
|
14231 case $cc_basename in
|
adam@1
|
14232 CC*)
|
adam@1
|
14233 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@1
|
14234 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@1
|
14235 ;;
|
adam@1
|
14236 *)
|
adam@1
|
14237 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@1
|
14238 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@1
|
14239 ;;
|
adam@1
|
14240 esac
|
adam@1
|
14241 ;;
|
adam@1
|
14242
|
adam@1
|
14243 sysv5* | sco3.2v5* | sco5v6*)
|
adam@1
|
14244 # Note: We can NOT use -z defs as we might desire, because we do not
|
adam@1
|
14245 # link with -lc, and that would cause any symbols used from libc to
|
adam@1
|
14246 # always be unresolved, which means just about no library would
|
adam@1
|
14247 # ever link correctly. If we're not using GNU ld we use -z text
|
adam@1
|
14248 # though, which does catch some bad symbols but isn't as heavy-handed
|
adam@1
|
14249 # as -z defs.
|
adam@1
|
14250 no_undefined_flag_CXX='${wl}-z,text'
|
adam@1
|
14251 allow_undefined_flag_CXX='${wl}-z,nodefs'
|
adam@1
|
14252 archive_cmds_need_lc_CXX=no
|
adam@1
|
14253 hardcode_shlibpath_var_CXX=no
|
adam@1
|
14254 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
|
adam@1
|
14255 hardcode_libdir_separator_CXX=':'
|
adam@1
|
14256 link_all_deplibs_CXX=yes
|
adam@1
|
14257 export_dynamic_flag_spec_CXX='${wl}-Bexport'
|
adam@1
|
14258 runpath_var='LD_RUN_PATH'
|
adam@1
|
14259
|
adam@1
|
14260 case $cc_basename in
|
adam@1
|
14261 CC*)
|
adam@1
|
14262 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@1
|
14263 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@47
|
14264 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
|
adam@47
|
14265 '"$old_archive_cmds_CXX"
|
adam@47
|
14266 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
|
adam@47
|
14267 '"$reload_cmds_CXX"
|
adam@1
|
14268 ;;
|
adam@1
|
14269 *)
|
adam@1
|
14270 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@1
|
14271 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@1
|
14272 ;;
|
adam@1
|
14273 esac
|
adam@1
|
14274 ;;
|
adam@1
|
14275
|
adam@1
|
14276 tandem*)
|
adam@1
|
14277 case $cc_basename in
|
adam@1
|
14278 NCC*)
|
adam@1
|
14279 # NonStop-UX NCC 3.20
|
adam@1
|
14280 # FIXME: insert proper C++ library support
|
adam@1
|
14281 ld_shlibs_CXX=no
|
adam@1
|
14282 ;;
|
adam@1
|
14283 *)
|
adam@1
|
14284 # FIXME: insert proper C++ library support
|
adam@1
|
14285 ld_shlibs_CXX=no
|
adam@1
|
14286 ;;
|
adam@1
|
14287 esac
|
adam@1
|
14288 ;;
|
adam@1
|
14289
|
adam@1
|
14290 vxworks*)
|
adam@1
|
14291 # FIXME: insert proper C++ library support
|
adam@1
|
14292 ld_shlibs_CXX=no
|
adam@1
|
14293 ;;
|
adam@1
|
14294
|
adam@1
|
14295 *)
|
adam@1
|
14296 # FIXME: insert proper C++ library support
|
adam@1
|
14297 ld_shlibs_CXX=no
|
adam@1
|
14298 ;;
|
adam@1
|
14299 esac
|
adam@1
|
14300
|
adam@1
|
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
adam@1
|
14302 $as_echo "$ld_shlibs_CXX" >&6; }
|
adam@1
|
14303 test "$ld_shlibs_CXX" = no && can_build_shared=no
|
adam@1
|
14304
|
adam@1
|
14305 GCC_CXX="$GXX"
|
adam@1
|
14306 LD_CXX="$LD"
|
adam@1
|
14307
|
adam@1
|
14308 ## CAVEAT EMPTOR:
|
adam@1
|
14309 ## There is no encapsulation within the following macros, do not change
|
adam@1
|
14310 ## the running order or otherwise move them around unless you know exactly
|
adam@1
|
14311 ## what you are doing...
|
adam@1
|
14312 # Dependencies to place before and after the object being linked:
|
adam@1
|
14313 predep_objects_CXX=
|
adam@1
|
14314 postdep_objects_CXX=
|
adam@1
|
14315 predeps_CXX=
|
adam@1
|
14316 postdeps_CXX=
|
adam@1
|
14317 compiler_lib_search_path_CXX=
|
adam@1
|
14318
|
adam@1
|
14319 cat > conftest.$ac_ext <<_LT_EOF
|
adam@1
|
14320 class Foo
|
adam@1
|
14321 {
|
adam@1
|
14322 public:
|
adam@1
|
14323 Foo (void) { a = 0; }
|
adam@1
|
14324 private:
|
adam@1
|
14325 int a;
|
adam@1
|
14326 };
|
adam@1
|
14327 _LT_EOF
|
adam@1
|
14328
|
adam@47
|
14329
|
adam@47
|
14330 _lt_libdeps_save_CFLAGS=$CFLAGS
|
adam@47
|
14331 case "$CC $CFLAGS " in #(
|
adam@47
|
14332 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
|
adam@47
|
14333 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
|
adam@47
|
14334 esac
|
adam@47
|
14335
|
adam@1
|
14336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@1
|
14337 (eval $ac_compile) 2>&5
|
adam@1
|
14338 ac_status=$?
|
adam@1
|
14339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@1
|
14340 test $ac_status = 0; }; then
|
adam@1
|
14341 # Parse the compiler output and extract the necessary
|
adam@1
|
14342 # objects, libraries and library flags.
|
adam@1
|
14343
|
adam@1
|
14344 # Sentinel used to keep track of whether or not we are before
|
adam@1
|
14345 # the conftest object file.
|
adam@1
|
14346 pre_test_object_deps_done=no
|
adam@1
|
14347
|
adam@1
|
14348 for p in `eval "$output_verbose_link_cmd"`; do
|
adam@47
|
14349 case ${prev}${p} in
|
adam@1
|
14350
|
adam@1
|
14351 -L* | -R* | -l*)
|
adam@1
|
14352 # Some compilers place space between "-{L,R}" and the path.
|
adam@1
|
14353 # Remove the space.
|
adam@1
|
14354 if test $p = "-L" ||
|
adam@1
|
14355 test $p = "-R"; then
|
adam@1
|
14356 prev=$p
|
adam@1
|
14357 continue
|
adam@1
|
14358 fi
|
adam@1
|
14359
|
adam@47
|
14360 # Expand the sysroot to ease extracting the directories later.
|
adam@47
|
14361 if test -z "$prev"; then
|
adam@47
|
14362 case $p in
|
adam@47
|
14363 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
|
adam@47
|
14364 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
|
adam@47
|
14365 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
|
adam@47
|
14366 esac
|
adam@47
|
14367 fi
|
adam@47
|
14368 case $p in
|
adam@47
|
14369 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
|
adam@47
|
14370 esac
|
adam@1
|
14371 if test "$pre_test_object_deps_done" = no; then
|
adam@47
|
14372 case ${prev} in
|
adam@47
|
14373 -L | -R)
|
adam@1
|
14374 # Internal compiler library paths should come after those
|
adam@1
|
14375 # provided the user. The postdeps already come after the
|
adam@1
|
14376 # user supplied libs so there is no need to process them.
|
adam@1
|
14377 if test -z "$compiler_lib_search_path_CXX"; then
|
adam@1
|
14378 compiler_lib_search_path_CXX="${prev}${p}"
|
adam@1
|
14379 else
|
adam@1
|
14380 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
|
adam@1
|
14381 fi
|
adam@1
|
14382 ;;
|
adam@1
|
14383 # The "-l" case would never come before the object being
|
adam@1
|
14384 # linked, so don't bother handling this case.
|
adam@1
|
14385 esac
|
adam@1
|
14386 else
|
adam@1
|
14387 if test -z "$postdeps_CXX"; then
|
adam@1
|
14388 postdeps_CXX="${prev}${p}"
|
adam@1
|
14389 else
|
adam@1
|
14390 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
|
adam@1
|
14391 fi
|
adam@1
|
14392 fi
|
adam@47
|
14393 prev=
|
adam@1
|
14394 ;;
|
adam@1
|
14395
|
adam@47
|
14396 *.lto.$objext) ;; # Ignore GCC LTO objects
|
adam@1
|
14397 *.$objext)
|
adam@1
|
14398 # This assumes that the test object file only shows up
|
adam@1
|
14399 # once in the compiler output.
|
adam@1
|
14400 if test "$p" = "conftest.$objext"; then
|
adam@1
|
14401 pre_test_object_deps_done=yes
|
adam@1
|
14402 continue
|
adam@1
|
14403 fi
|
adam@1
|
14404
|
adam@1
|
14405 if test "$pre_test_object_deps_done" = no; then
|
adam@1
|
14406 if test -z "$predep_objects_CXX"; then
|
adam@1
|
14407 predep_objects_CXX="$p"
|
adam@1
|
14408 else
|
adam@1
|
14409 predep_objects_CXX="$predep_objects_CXX $p"
|
adam@1
|
14410 fi
|
adam@1
|
14411 else
|
adam@1
|
14412 if test -z "$postdep_objects_CXX"; then
|
adam@1
|
14413 postdep_objects_CXX="$p"
|
adam@1
|
14414 else
|
adam@1
|
14415 postdep_objects_CXX="$postdep_objects_CXX $p"
|
adam@1
|
14416 fi
|
adam@1
|
14417 fi
|
adam@1
|
14418 ;;
|
adam@1
|
14419
|
adam@1
|
14420 *) ;; # Ignore the rest.
|
adam@1
|
14421
|
adam@1
|
14422 esac
|
adam@1
|
14423 done
|
adam@1
|
14424
|
adam@1
|
14425 # Clean up.
|
adam@1
|
14426 rm -f a.out a.exe
|
adam@1
|
14427 else
|
adam@1
|
14428 echo "libtool.m4: error: problem compiling CXX test program"
|
adam@1
|
14429 fi
|
adam@1
|
14430
|
adam@1
|
14431 $RM -f confest.$objext
|
adam@47
|
14432 CFLAGS=$_lt_libdeps_save_CFLAGS
|
adam@1
|
14433
|
adam@1
|
14434 # PORTME: override above test on systems where it is broken
|
adam@1
|
14435 case $host_os in
|
adam@1
|
14436 interix[3-9]*)
|
adam@1
|
14437 # Interix 3.5 installs completely hosed .la files for C++, so rather than
|
adam@1
|
14438 # hack all around it, let's just trust "g++" to DTRT.
|
adam@1
|
14439 predep_objects_CXX=
|
adam@1
|
14440 postdep_objects_CXX=
|
adam@1
|
14441 postdeps_CXX=
|
adam@1
|
14442 ;;
|
adam@1
|
14443
|
adam@1
|
14444 linux*)
|
adam@1
|
14445 case `$CC -V 2>&1 | sed 5q` in
|
adam@1
|
14446 *Sun\ C*)
|
adam@1
|
14447 # Sun C++ 5.9
|
adam@1
|
14448
|
adam@1
|
14449 # The more standards-conforming stlport4 library is
|
adam@1
|
14450 # incompatible with the Cstd library. Avoid specifying
|
adam@1
|
14451 # it if it's in CXXFLAGS. Ignore libCrun as
|
adam@1
|
14452 # -library=stlport4 depends on it.
|
adam@1
|
14453 case " $CXX $CXXFLAGS " in
|
adam@1
|
14454 *" -library=stlport4 "*)
|
adam@1
|
14455 solaris_use_stlport4=yes
|
adam@1
|
14456 ;;
|
adam@1
|
14457 esac
|
adam@1
|
14458
|
adam@1
|
14459 if test "$solaris_use_stlport4" != yes; then
|
adam@1
|
14460 postdeps_CXX='-library=Cstd -library=Crun'
|
adam@1
|
14461 fi
|
adam@1
|
14462 ;;
|
adam@1
|
14463 esac
|
adam@1
|
14464 ;;
|
adam@1
|
14465
|
adam@1
|
14466 solaris*)
|
adam@1
|
14467 case $cc_basename in
|
adam@47
|
14468 CC* | sunCC*)
|
adam@1
|
14469 # The more standards-conforming stlport4 library is
|
adam@1
|
14470 # incompatible with the Cstd library. Avoid specifying
|
adam@1
|
14471 # it if it's in CXXFLAGS. Ignore libCrun as
|
adam@1
|
14472 # -library=stlport4 depends on it.
|
adam@1
|
14473 case " $CXX $CXXFLAGS " in
|
adam@1
|
14474 *" -library=stlport4 "*)
|
adam@1
|
14475 solaris_use_stlport4=yes
|
adam@1
|
14476 ;;
|
adam@1
|
14477 esac
|
adam@1
|
14478
|
adam@1
|
14479 # Adding this requires a known-good setup of shared libraries for
|
adam@1
|
14480 # Sun compiler versions before 5.6, else PIC objects from an old
|
adam@1
|
14481 # archive will be linked into the output, leading to subtle bugs.
|
adam@1
|
14482 if test "$solaris_use_stlport4" != yes; then
|
adam@1
|
14483 postdeps_CXX='-library=Cstd -library=Crun'
|
adam@1
|
14484 fi
|
adam@1
|
14485 ;;
|
adam@1
|
14486 esac
|
adam@1
|
14487 ;;
|
adam@1
|
14488 esac
|
adam@1
|
14489
|
adam@1
|
14490
|
adam@1
|
14491 case " $postdeps_CXX " in
|
adam@1
|
14492 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
|
adam@1
|
14493 esac
|
adam@1
|
14494 compiler_lib_search_dirs_CXX=
|
adam@1
|
14495 if test -n "${compiler_lib_search_path_CXX}"; then
|
adam@1
|
14496 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
|
adam@1
|
14497 fi
|
adam@1
|
14498
|
adam@1
|
14499
|
adam@1
|
14500
|
adam@1
|
14501
|
adam@1
|
14502
|
adam@1
|
14503
|
adam@1
|
14504
|
adam@1
|
14505
|
adam@1
|
14506
|
adam@1
|
14507
|
adam@1
|
14508
|
adam@1
|
14509
|
adam@1
|
14510
|
adam@1
|
14511
|
adam@1
|
14512
|
adam@1
|
14513
|
adam@1
|
14514
|
adam@1
|
14515
|
adam@1
|
14516
|
adam@1
|
14517
|
adam@1
|
14518
|
adam@1
|
14519
|
adam@1
|
14520
|
adam@1
|
14521
|
adam@1
|
14522
|
adam@1
|
14523
|
adam@1
|
14524
|
adam@1
|
14525
|
adam@1
|
14526
|
adam@1
|
14527
|
adam@1
|
14528
|
adam@1
|
14529 lt_prog_compiler_wl_CXX=
|
adam@1
|
14530 lt_prog_compiler_pic_CXX=
|
adam@1
|
14531 lt_prog_compiler_static_CXX=
|
adam@1
|
14532
|
adam@1
|
14533
|
adam@1
|
14534 # C++ specific cases for pic, static, wl, etc.
|
adam@1
|
14535 if test "$GXX" = yes; then
|
adam@1
|
14536 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14537 lt_prog_compiler_static_CXX='-static'
|
adam@1
|
14538
|
adam@1
|
14539 case $host_os in
|
adam@1
|
14540 aix*)
|
adam@1
|
14541 # All AIX code is PIC.
|
adam@1
|
14542 if test "$host_cpu" = ia64; then
|
adam@1
|
14543 # AIX 5 now supports IA64 processor
|
adam@1
|
14544 lt_prog_compiler_static_CXX='-Bstatic'
|
adam@1
|
14545 fi
|
adam@1
|
14546 ;;
|
adam@1
|
14547
|
adam@1
|
14548 amigaos*)
|
adam@1
|
14549 case $host_cpu in
|
adam@1
|
14550 powerpc)
|
adam@1
|
14551 # see comment about AmigaOS4 .so support
|
adam@1
|
14552 lt_prog_compiler_pic_CXX='-fPIC'
|
adam@1
|
14553 ;;
|
adam@1
|
14554 m68k)
|
adam@1
|
14555 # FIXME: we need at least 68020 code to build shared libraries, but
|
adam@1
|
14556 # adding the `-m68020' flag to GCC prevents building anything better,
|
adam@1
|
14557 # like `-m68040'.
|
adam@1
|
14558 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
|
adam@1
|
14559 ;;
|
adam@1
|
14560 esac
|
adam@1
|
14561 ;;
|
adam@1
|
14562
|
adam@1
|
14563 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
adam@1
|
14564 # PIC is the default for these OSes.
|
adam@1
|
14565 ;;
|
adam@1
|
14566 mingw* | cygwin* | os2* | pw32* | cegcc*)
|
adam@1
|
14567 # This hack is so that the source file can tell whether it is being
|
adam@1
|
14568 # built for inclusion in a dll (and should export symbols for example).
|
adam@1
|
14569 # Although the cygwin gcc ignores -fPIC, still need this for old-style
|
adam@1
|
14570 # (--disable-auto-import) libraries
|
adam@1
|
14571 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
|
adam@1
|
14572 ;;
|
adam@1
|
14573 darwin* | rhapsody*)
|
adam@1
|
14574 # PIC is the default on this platform
|
adam@1
|
14575 # Common symbols not allowed in MH_DYLIB files
|
adam@1
|
14576 lt_prog_compiler_pic_CXX='-fno-common'
|
adam@1
|
14577 ;;
|
adam@1
|
14578 *djgpp*)
|
adam@1
|
14579 # DJGPP does not support shared libraries at all
|
adam@1
|
14580 lt_prog_compiler_pic_CXX=
|
adam@1
|
14581 ;;
|
adam@47
|
14582 haiku*)
|
adam@47
|
14583 # PIC is the default for Haiku.
|
adam@47
|
14584 # The "-static" flag exists, but is broken.
|
adam@47
|
14585 lt_prog_compiler_static_CXX=
|
adam@47
|
14586 ;;
|
adam@1
|
14587 interix[3-9]*)
|
adam@1
|
14588 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
adam@1
|
14589 # Instead, we relocate shared libraries at runtime.
|
adam@1
|
14590 ;;
|
adam@1
|
14591 sysv4*MP*)
|
adam@1
|
14592 if test -d /usr/nec; then
|
adam@1
|
14593 lt_prog_compiler_pic_CXX=-Kconform_pic
|
adam@1
|
14594 fi
|
adam@1
|
14595 ;;
|
adam@1
|
14596 hpux*)
|
adam@1
|
14597 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
adam@1
|
14598 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
adam@1
|
14599 # sets the default TLS model and affects inlining.
|
adam@1
|
14600 case $host_cpu in
|
adam@1
|
14601 hppa*64*)
|
adam@1
|
14602 ;;
|
adam@1
|
14603 *)
|
adam@1
|
14604 lt_prog_compiler_pic_CXX='-fPIC'
|
adam@1
|
14605 ;;
|
adam@1
|
14606 esac
|
adam@1
|
14607 ;;
|
adam@1
|
14608 *qnx* | *nto*)
|
adam@1
|
14609 # QNX uses GNU C++, but need to define -shared option too, otherwise
|
adam@1
|
14610 # it will coredump.
|
adam@1
|
14611 lt_prog_compiler_pic_CXX='-fPIC -shared'
|
adam@1
|
14612 ;;
|
adam@1
|
14613 *)
|
adam@1
|
14614 lt_prog_compiler_pic_CXX='-fPIC'
|
adam@1
|
14615 ;;
|
adam@1
|
14616 esac
|
adam@1
|
14617 else
|
adam@1
|
14618 case $host_os in
|
adam@1
|
14619 aix[4-9]*)
|
adam@1
|
14620 # All AIX code is PIC.
|
adam@1
|
14621 if test "$host_cpu" = ia64; then
|
adam@1
|
14622 # AIX 5 now supports IA64 processor
|
adam@1
|
14623 lt_prog_compiler_static_CXX='-Bstatic'
|
adam@1
|
14624 else
|
adam@1
|
14625 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
|
adam@1
|
14626 fi
|
adam@1
|
14627 ;;
|
adam@1
|
14628 chorus*)
|
adam@1
|
14629 case $cc_basename in
|
adam@1
|
14630 cxch68*)
|
adam@1
|
14631 # Green Hills C++ Compiler
|
adam@1
|
14632 # _LT_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"
|
adam@1
|
14633 ;;
|
adam@1
|
14634 esac
|
adam@1
|
14635 ;;
|
adam@47
|
14636 mingw* | cygwin* | os2* | pw32* | cegcc*)
|
adam@47
|
14637 # This hack is so that the source file can tell whether it is being
|
adam@47
|
14638 # built for inclusion in a dll (and should export symbols for example).
|
adam@47
|
14639 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
|
adam@47
|
14640 ;;
|
adam@1
|
14641 dgux*)
|
adam@1
|
14642 case $cc_basename in
|
adam@1
|
14643 ec++*)
|
adam@1
|
14644 lt_prog_compiler_pic_CXX='-KPIC'
|
adam@1
|
14645 ;;
|
adam@1
|
14646 ghcx*)
|
adam@1
|
14647 # Green Hills C++ Compiler
|
adam@1
|
14648 lt_prog_compiler_pic_CXX='-pic'
|
adam@1
|
14649 ;;
|
adam@1
|
14650 *)
|
adam@1
|
14651 ;;
|
adam@1
|
14652 esac
|
adam@1
|
14653 ;;
|
adam@1
|
14654 freebsd* | dragonfly*)
|
adam@1
|
14655 # FreeBSD uses GNU C++
|
adam@1
|
14656 ;;
|
adam@1
|
14657 hpux9* | hpux10* | hpux11*)
|
adam@1
|
14658 case $cc_basename in
|
adam@1
|
14659 CC*)
|
adam@1
|
14660 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14661 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
|
adam@1
|
14662 if test "$host_cpu" != ia64; then
|
adam@1
|
14663 lt_prog_compiler_pic_CXX='+Z'
|
adam@1
|
14664 fi
|
adam@1
|
14665 ;;
|
adam@1
|
14666 aCC*)
|
adam@1
|
14667 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14668 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
|
adam@1
|
14669 case $host_cpu in
|
adam@1
|
14670 hppa*64*|ia64*)
|
adam@1
|
14671 # +Z the default
|
adam@1
|
14672 ;;
|
adam@1
|
14673 *)
|
adam@1
|
14674 lt_prog_compiler_pic_CXX='+Z'
|
adam@1
|
14675 ;;
|
adam@1
|
14676 esac
|
adam@1
|
14677 ;;
|
adam@1
|
14678 *)
|
adam@1
|
14679 ;;
|
adam@1
|
14680 esac
|
adam@1
|
14681 ;;
|
adam@1
|
14682 interix*)
|
adam@1
|
14683 # This is c89, which is MS Visual C++ (no shared libs)
|
adam@1
|
14684 # Anyone wants to do a port?
|
adam@1
|
14685 ;;
|
adam@1
|
14686 irix5* | irix6* | nonstopux*)
|
adam@1
|
14687 case $cc_basename in
|
adam@1
|
14688 CC*)
|
adam@1
|
14689 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14690 lt_prog_compiler_static_CXX='-non_shared'
|
adam@1
|
14691 # CC pic flag -KPIC is the default.
|
adam@1
|
14692 ;;
|
adam@1
|
14693 *)
|
adam@1
|
14694 ;;
|
adam@1
|
14695 esac
|
adam@1
|
14696 ;;
|
adam@1
|
14697 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@1
|
14698 case $cc_basename in
|
adam@1
|
14699 KCC*)
|
adam@1
|
14700 # KAI C++ Compiler
|
adam@1
|
14701 lt_prog_compiler_wl_CXX='--backend -Wl,'
|
adam@1
|
14702 lt_prog_compiler_pic_CXX='-fPIC'
|
adam@1
|
14703 ;;
|
adam@1
|
14704 ecpc* )
|
adam@1
|
14705 # old Intel C++ for x86_64 which still supported -KPIC.
|
adam@1
|
14706 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14707 lt_prog_compiler_pic_CXX='-KPIC'
|
adam@1
|
14708 lt_prog_compiler_static_CXX='-static'
|
adam@1
|
14709 ;;
|
adam@1
|
14710 icpc* )
|
adam@1
|
14711 # Intel C++, used to be incompatible with GCC.
|
adam@1
|
14712 # ICC 10 doesn't accept -KPIC any more.
|
adam@1
|
14713 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14714 lt_prog_compiler_pic_CXX='-fPIC'
|
adam@1
|
14715 lt_prog_compiler_static_CXX='-static'
|
adam@1
|
14716 ;;
|
adam@1
|
14717 pgCC* | pgcpp*)
|
adam@1
|
14718 # Portland Group C++ compiler
|
adam@1
|
14719 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14720 lt_prog_compiler_pic_CXX='-fpic'
|
adam@1
|
14721 lt_prog_compiler_static_CXX='-Bstatic'
|
adam@1
|
14722 ;;
|
adam@1
|
14723 cxx*)
|
adam@1
|
14724 # Compaq C++
|
adam@1
|
14725 # Make sure the PIC flag is empty. It appears that all Alpha
|
adam@1
|
14726 # Linux and Compaq Tru64 Unix objects are PIC.
|
adam@1
|
14727 lt_prog_compiler_pic_CXX=
|
adam@1
|
14728 lt_prog_compiler_static_CXX='-non_shared'
|
adam@1
|
14729 ;;
|
adam@47
|
14730 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
|
adam@47
|
14731 # IBM XL 8.0, 9.0 on PPC and BlueGene
|
adam@1
|
14732 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14733 lt_prog_compiler_pic_CXX='-qpic'
|
adam@1
|
14734 lt_prog_compiler_static_CXX='-qstaticlink'
|
adam@1
|
14735 ;;
|
adam@1
|
14736 *)
|
adam@1
|
14737 case `$CC -V 2>&1 | sed 5q` in
|
adam@1
|
14738 *Sun\ C*)
|
adam@1
|
14739 # Sun C++ 5.9
|
adam@1
|
14740 lt_prog_compiler_pic_CXX='-KPIC'
|
adam@1
|
14741 lt_prog_compiler_static_CXX='-Bstatic'
|
adam@1
|
14742 lt_prog_compiler_wl_CXX='-Qoption ld '
|
adam@1
|
14743 ;;
|
adam@1
|
14744 esac
|
adam@1
|
14745 ;;
|
adam@1
|
14746 esac
|
adam@1
|
14747 ;;
|
adam@1
|
14748 lynxos*)
|
adam@1
|
14749 ;;
|
adam@1
|
14750 m88k*)
|
adam@1
|
14751 ;;
|
adam@1
|
14752 mvs*)
|
adam@1
|
14753 case $cc_basename in
|
adam@1
|
14754 cxx*)
|
adam@1
|
14755 lt_prog_compiler_pic_CXX='-W c,exportall'
|
adam@1
|
14756 ;;
|
adam@1
|
14757 *)
|
adam@1
|
14758 ;;
|
adam@1
|
14759 esac
|
adam@1
|
14760 ;;
|
adam@1
|
14761 netbsd* | netbsdelf*-gnu)
|
adam@1
|
14762 ;;
|
adam@1
|
14763 *qnx* | *nto*)
|
adam@1
|
14764 # QNX uses GNU C++, but need to define -shared option too, otherwise
|
adam@1
|
14765 # it will coredump.
|
adam@1
|
14766 lt_prog_compiler_pic_CXX='-fPIC -shared'
|
adam@1
|
14767 ;;
|
adam@1
|
14768 osf3* | osf4* | osf5*)
|
adam@1
|
14769 case $cc_basename in
|
adam@1
|
14770 KCC*)
|
adam@1
|
14771 lt_prog_compiler_wl_CXX='--backend -Wl,'
|
adam@1
|
14772 ;;
|
adam@1
|
14773 RCC*)
|
adam@1
|
14774 # Rational C++ 2.4.1
|
adam@1
|
14775 lt_prog_compiler_pic_CXX='-pic'
|
adam@1
|
14776 ;;
|
adam@1
|
14777 cxx*)
|
adam@1
|
14778 # Digital/Compaq C++
|
adam@1
|
14779 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14780 # Make sure the PIC flag is empty. It appears that all Alpha
|
adam@1
|
14781 # Linux and Compaq Tru64 Unix objects are PIC.
|
adam@1
|
14782 lt_prog_compiler_pic_CXX=
|
adam@1
|
14783 lt_prog_compiler_static_CXX='-non_shared'
|
adam@1
|
14784 ;;
|
adam@1
|
14785 *)
|
adam@1
|
14786 ;;
|
adam@1
|
14787 esac
|
adam@1
|
14788 ;;
|
adam@1
|
14789 psos*)
|
adam@1
|
14790 ;;
|
adam@1
|
14791 solaris*)
|
adam@1
|
14792 case $cc_basename in
|
adam@47
|
14793 CC* | sunCC*)
|
adam@1
|
14794 # Sun C++ 4.2, 5.x and Centerline C++
|
adam@1
|
14795 lt_prog_compiler_pic_CXX='-KPIC'
|
adam@1
|
14796 lt_prog_compiler_static_CXX='-Bstatic'
|
adam@1
|
14797 lt_prog_compiler_wl_CXX='-Qoption ld '
|
adam@1
|
14798 ;;
|
adam@1
|
14799 gcx*)
|
adam@1
|
14800 # Green Hills C++ Compiler
|
adam@1
|
14801 lt_prog_compiler_pic_CXX='-PIC'
|
adam@1
|
14802 ;;
|
adam@1
|
14803 *)
|
adam@1
|
14804 ;;
|
adam@1
|
14805 esac
|
adam@1
|
14806 ;;
|
adam@1
|
14807 sunos4*)
|
adam@1
|
14808 case $cc_basename in
|
adam@1
|
14809 CC*)
|
adam@1
|
14810 # Sun C++ 4.x
|
adam@1
|
14811 lt_prog_compiler_pic_CXX='-pic'
|
adam@1
|
14812 lt_prog_compiler_static_CXX='-Bstatic'
|
adam@1
|
14813 ;;
|
adam@1
|
14814 lcc*)
|
adam@1
|
14815 # Lucid
|
adam@1
|
14816 lt_prog_compiler_pic_CXX='-pic'
|
adam@1
|
14817 ;;
|
adam@1
|
14818 *)
|
adam@1
|
14819 ;;
|
adam@1
|
14820 esac
|
adam@1
|
14821 ;;
|
adam@1
|
14822 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
adam@1
|
14823 case $cc_basename in
|
adam@1
|
14824 CC*)
|
adam@1
|
14825 lt_prog_compiler_wl_CXX='-Wl,'
|
adam@1
|
14826 lt_prog_compiler_pic_CXX='-KPIC'
|
adam@1
|
14827 lt_prog_compiler_static_CXX='-Bstatic'
|
adam@1
|
14828 ;;
|
adam@1
|
14829 esac
|
adam@1
|
14830 ;;
|
adam@1
|
14831 tandem*)
|
adam@1
|
14832 case $cc_basename in
|
adam@1
|
14833 NCC*)
|
adam@1
|
14834 # NonStop-UX NCC 3.20
|
adam@1
|
14835 lt_prog_compiler_pic_CXX='-KPIC'
|
adam@1
|
14836 ;;
|
adam@1
|
14837 *)
|
adam@1
|
14838 ;;
|
adam@1
|
14839 esac
|
adam@1
|
14840 ;;
|
adam@1
|
14841 vxworks*)
|
adam@1
|
14842 ;;
|
adam@1
|
14843 *)
|
adam@1
|
14844 lt_prog_compiler_can_build_shared_CXX=no
|
adam@1
|
14845 ;;
|
adam@1
|
14846 esac
|
adam@1
|
14847 fi
|
adam@1
|
14848
|
adam@1
|
14849 case $host_os in
|
adam@1
|
14850 # For platforms which do not support PIC, -DPIC is meaningless:
|
adam@1
|
14851 *djgpp*)
|
adam@1
|
14852 lt_prog_compiler_pic_CXX=
|
adam@1
|
14853 ;;
|
adam@1
|
14854 *)
|
adam@1
|
14855 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
|
adam@1
|
14856 ;;
|
adam@1
|
14857 esac
|
adam@47
|
14858
|
adam@47
|
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
adam@47
|
14860 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
adam@64
|
14861 if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then :
|
adam@47
|
14862 $as_echo_n "(cached) " >&6
|
adam@47
|
14863 else
|
adam@47
|
14864 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
|
adam@47
|
14865 fi
|
adam@47
|
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
|
adam@47
|
14867 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
|
adam@47
|
14868 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
|
adam@1
|
14869
|
adam@1
|
14870 #
|
adam@1
|
14871 # Check to make sure the PIC flag actually works.
|
adam@1
|
14872 #
|
adam@1
|
14873 if test -n "$lt_prog_compiler_pic_CXX"; then
|
adam@1
|
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
adam@1
|
14875 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
|
adam@64
|
14876 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
|
adam@1
|
14877 $as_echo_n "(cached) " >&6
|
adam@1
|
14878 else
|
adam@1
|
14879 lt_cv_prog_compiler_pic_works_CXX=no
|
adam@1
|
14880 ac_outfile=conftest.$ac_objext
|
adam@1
|
14881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@1
|
14882 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
|
adam@1
|
14883 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@1
|
14884 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@1
|
14885 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@1
|
14886 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@1
|
14887 # The option is referenced via a variable to avoid confusing sed.
|
adam@1
|
14888 lt_compile=`echo "$ac_compile" | $SED \
|
adam@1
|
14889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@1
|
14890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@1
|
14891 -e 's:$: $lt_compiler_flag:'`
|
adam@47
|
14892 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@1
|
14893 (eval "$lt_compile" 2>conftest.err)
|
adam@1
|
14894 ac_status=$?
|
adam@1
|
14895 cat conftest.err >&5
|
adam@47
|
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@1
|
14897 if (exit $ac_status) && test -s "$ac_outfile"; then
|
adam@1
|
14898 # The compiler can only warn and ignore the option if not recognized
|
adam@1
|
14899 # So say no if there are warnings other than the usual output.
|
adam@47
|
14900 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
adam@1
|
14901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@1
|
14902 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
adam@1
|
14903 lt_cv_prog_compiler_pic_works_CXX=yes
|
adam@1
|
14904 fi
|
adam@1
|
14905 fi
|
adam@1
|
14906 $RM conftest*
|
adam@1
|
14907
|
adam@1
|
14908 fi
|
adam@1
|
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
|
adam@1
|
14910 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
|
adam@1
|
14911
|
adam@1
|
14912 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
|
adam@1
|
14913 case $lt_prog_compiler_pic_CXX in
|
adam@1
|
14914 "" | " "*) ;;
|
adam@1
|
14915 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
|
adam@1
|
14916 esac
|
adam@1
|
14917 else
|
adam@1
|
14918 lt_prog_compiler_pic_CXX=
|
adam@1
|
14919 lt_prog_compiler_can_build_shared_CXX=no
|
adam@1
|
14920 fi
|
adam@1
|
14921
|
adam@1
|
14922 fi
|
adam@1
|
14923
|
adam@1
|
14924
|
adam@1
|
14925
|
adam@47
|
14926
|
adam@47
|
14927
|
adam@1
|
14928 #
|
adam@1
|
14929 # Check to make sure the static flag actually works.
|
adam@1
|
14930 #
|
adam@1
|
14931 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
|
adam@1
|
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
adam@1
|
14933 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
adam@64
|
14934 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
|
adam@1
|
14935 $as_echo_n "(cached) " >&6
|
adam@1
|
14936 else
|
adam@1
|
14937 lt_cv_prog_compiler_static_works_CXX=no
|
adam@1
|
14938 save_LDFLAGS="$LDFLAGS"
|
adam@1
|
14939 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
adam@1
|
14940 echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
adam@1
|
14941 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
adam@1
|
14942 # The linker can only warn and ignore the option if not recognized
|
adam@1
|
14943 # So say no if there are warnings
|
adam@1
|
14944 if test -s conftest.err; then
|
adam@1
|
14945 # Append any errors to the config.log.
|
adam@1
|
14946 cat conftest.err 1>&5
|
adam@47
|
14947 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
adam@1
|
14948 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@1
|
14949 if diff conftest.exp conftest.er2 >/dev/null; then
|
adam@1
|
14950 lt_cv_prog_compiler_static_works_CXX=yes
|
adam@1
|
14951 fi
|
adam@1
|
14952 else
|
adam@1
|
14953 lt_cv_prog_compiler_static_works_CXX=yes
|
adam@1
|
14954 fi
|
adam@1
|
14955 fi
|
adam@1
|
14956 $RM -r conftest*
|
adam@1
|
14957 LDFLAGS="$save_LDFLAGS"
|
adam@1
|
14958
|
adam@1
|
14959 fi
|
adam@1
|
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
|
adam@1
|
14961 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
|
adam@1
|
14962
|
adam@1
|
14963 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
|
adam@1
|
14964 :
|
adam@1
|
14965 else
|
adam@1
|
14966 lt_prog_compiler_static_CXX=
|
adam@1
|
14967 fi
|
adam@1
|
14968
|
adam@1
|
14969
|
adam@1
|
14970
|
adam@1
|
14971
|
adam@1
|
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
adam@1
|
14973 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
adam@64
|
14974 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
|
adam@1
|
14975 $as_echo_n "(cached) " >&6
|
adam@1
|
14976 else
|
adam@1
|
14977 lt_cv_prog_compiler_c_o_CXX=no
|
adam@1
|
14978 $RM -r conftest 2>/dev/null
|
adam@1
|
14979 mkdir conftest
|
adam@1
|
14980 cd conftest
|
adam@1
|
14981 mkdir out
|
adam@1
|
14982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@1
|
14983
|
adam@1
|
14984 lt_compiler_flag="-o out/conftest2.$ac_objext"
|
adam@1
|
14985 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@1
|
14986 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@1
|
14987 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@1
|
14988 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@1
|
14989 lt_compile=`echo "$ac_compile" | $SED \
|
adam@1
|
14990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@1
|
14991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@1
|
14992 -e 's:$: $lt_compiler_flag:'`
|
adam@47
|
14993 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@1
|
14994 (eval "$lt_compile" 2>out/conftest.err)
|
adam@1
|
14995 ac_status=$?
|
adam@1
|
14996 cat out/conftest.err >&5
|
adam@47
|
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@1
|
14998 if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
adam@1
|
14999 then
|
adam@1
|
15000 # The compiler can only warn and ignore the option if not recognized
|
adam@1
|
15001 # So say no if there are warnings
|
adam@47
|
15002 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
adam@1
|
15003 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
adam@1
|
15004 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
adam@1
|
15005 lt_cv_prog_compiler_c_o_CXX=yes
|
adam@1
|
15006 fi
|
adam@1
|
15007 fi
|
adam@1
|
15008 chmod u+w . 2>&5
|
adam@1
|
15009 $RM conftest*
|
adam@1
|
15010 # SGI C++ compiler will create directory out/ii_files/ for
|
adam@1
|
15011 # template instantiation
|
adam@1
|
15012 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
adam@1
|
15013 $RM out/* && rmdir out
|
adam@1
|
15014 cd ..
|
adam@1
|
15015 $RM -r conftest
|
adam@1
|
15016 $RM conftest*
|
adam@1
|
15017
|
adam@1
|
15018 fi
|
adam@1
|
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
adam@1
|
15020 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
adam@1
|
15021
|
adam@1
|
15022
|
adam@1
|
15023
|
adam@1
|
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
adam@1
|
15025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
adam@64
|
15026 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
|
adam@1
|
15027 $as_echo_n "(cached) " >&6
|
adam@1
|
15028 else
|
adam@1
|
15029 lt_cv_prog_compiler_c_o_CXX=no
|
adam@1
|
15030 $RM -r conftest 2>/dev/null
|
adam@1
|
15031 mkdir conftest
|
adam@1
|
15032 cd conftest
|
adam@1
|
15033 mkdir out
|
adam@1
|
15034 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@1
|
15035
|
adam@1
|
15036 lt_compiler_flag="-o out/conftest2.$ac_objext"
|
adam@1
|
15037 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@1
|
15038 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@1
|
15039 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@1
|
15040 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@1
|
15041 lt_compile=`echo "$ac_compile" | $SED \
|
adam@1
|
15042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@1
|
15043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@1
|
15044 -e 's:$: $lt_compiler_flag:'`
|
adam@47
|
15045 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@1
|
15046 (eval "$lt_compile" 2>out/conftest.err)
|
adam@1
|
15047 ac_status=$?
|
adam@1
|
15048 cat out/conftest.err >&5
|
adam@47
|
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@1
|
15050 if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
adam@1
|
15051 then
|
adam@1
|
15052 # The compiler can only warn and ignore the option if not recognized
|
adam@1
|
15053 # So say no if there are warnings
|
adam@47
|
15054 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
adam@1
|
15055 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
adam@1
|
15056 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
adam@1
|
15057 lt_cv_prog_compiler_c_o_CXX=yes
|
adam@1
|
15058 fi
|
adam@1
|
15059 fi
|
adam@1
|
15060 chmod u+w . 2>&5
|
adam@1
|
15061 $RM conftest*
|
adam@1
|
15062 # SGI C++ compiler will create directory out/ii_files/ for
|
adam@1
|
15063 # template instantiation
|
adam@1
|
15064 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
adam@1
|
15065 $RM out/* && rmdir out
|
adam@1
|
15066 cd ..
|
adam@1
|
15067 $RM -r conftest
|
adam@1
|
15068 $RM conftest*
|
adam@1
|
15069
|
adam@1
|
15070 fi
|
adam@1
|
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
adam@1
|
15072 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
adam@1
|
15073
|
adam@1
|
15074
|
adam@1
|
15075
|
adam@1
|
15076
|
adam@1
|
15077 hard_links="nottested"
|
adam@1
|
15078 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
|
adam@1
|
15079 # do not overwrite the value of need_locks provided by the user
|
adam@1
|
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
adam@1
|
15081 $as_echo_n "checking if we can lock with hard links... " >&6; }
|
adam@1
|
15082 hard_links=yes
|
adam@1
|
15083 $RM conftest*
|
adam@1
|
15084 ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
adam@1
|
15085 touch conftest.a
|
adam@1
|
15086 ln conftest.a conftest.b 2>&5 || hard_links=no
|
adam@1
|
15087 ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
adam@1
|
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
adam@1
|
15089 $as_echo "$hard_links" >&6; }
|
adam@1
|
15090 if test "$hard_links" = no; then
|
adam@1
|
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
adam@1
|
15092 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
adam@1
|
15093 need_locks=warn
|
adam@1
|
15094 fi
|
adam@1
|
15095 else
|
adam@1
|
15096 need_locks=no
|
adam@1
|
15097 fi
|
adam@1
|
15098
|
adam@1
|
15099
|
adam@1
|
15100
|
adam@1
|
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
adam@1
|
15102 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
adam@1
|
15103
|
adam@1
|
15104 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
adam@47
|
15105 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
adam@1
|
15106 case $host_os in
|
adam@1
|
15107 aix[4-9]*)
|
adam@1
|
15108 # If we're using GNU nm, then we don't want the "-C" option.
|
adam@1
|
15109 # -C means demangle to AIX nm, but means don't demangle with GNU nm
|
adam@47
|
15110 # Also, AIX nm treats weak defined symbols like other global defined
|
adam@47
|
15111 # symbols, whereas GNU nm marks them as "W".
|
adam@1
|
15112 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
adam@47
|
15113 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
adam@1
|
15114 else
|
adam@1
|
15115 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'
|
adam@1
|
15116 fi
|
adam@1
|
15117 ;;
|
adam@1
|
15118 pw32*)
|
adam@1
|
15119 export_symbols_cmds_CXX="$ltdll_cmds"
|
adam@47
|
15120 ;;
|
adam@1
|
15121 cygwin* | mingw* | cegcc*)
|
adam@47
|
15122 case $cc_basename in
|
adam@47
|
15123 cl*) ;;
|
adam@47
|
15124 *)
|
adam@47
|
15125 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
|
adam@47
|
15126 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
|
adam@47
|
15127 ;;
|
adam@47
|
15128 esac
|
adam@47
|
15129 ;;
|
adam@47
|
15130 linux* | k*bsd*-gnu | gnu*)
|
adam@1
|
15131 link_all_deplibs_CXX=no
|
adam@47
|
15132 ;;
|
adam@1
|
15133 *)
|
adam@1
|
15134 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
adam@47
|
15135 ;;
|
adam@47
|
15136 esac
|
adam@1
|
15137
|
adam@1
|
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
adam@1
|
15139 $as_echo "$ld_shlibs_CXX" >&6; }
|
adam@1
|
15140 test "$ld_shlibs_CXX" = no && can_build_shared=no
|
adam@1
|
15141
|
adam@1
|
15142 with_gnu_ld_CXX=$with_gnu_ld
|
adam@1
|
15143
|
adam@1
|
15144
|
adam@1
|
15145
|
adam@1
|
15146
|
adam@1
|
15147
|
adam@1
|
15148
|
adam@1
|
15149 #
|
adam@1
|
15150 # Do we need to explicitly link libc?
|
adam@1
|
15151 #
|
adam@1
|
15152 case "x$archive_cmds_need_lc_CXX" in
|
adam@1
|
15153 x|xyes)
|
adam@1
|
15154 # Assume -lc should be added
|
adam@1
|
15155 archive_cmds_need_lc_CXX=yes
|
adam@1
|
15156
|
adam@1
|
15157 if test "$enable_shared" = yes && test "$GCC" = yes; then
|
adam@1
|
15158 case $archive_cmds_CXX in
|
adam@1
|
15159 *'~'*)
|
adam@1
|
15160 # FIXME: we may have to deal with multi-command sequences.
|
adam@1
|
15161 ;;
|
adam@1
|
15162 '$CC '*)
|
adam@1
|
15163 # Test whether the compiler implicitly links with -lc since on some
|
adam@1
|
15164 # systems, -lgcc has to come before -lc. If gcc already passes -lc
|
adam@1
|
15165 # to ld, don't add -lc before -lgcc.
|
adam@1
|
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
adam@1
|
15167 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
adam@64
|
15168 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
|
adam@47
|
15169 $as_echo_n "(cached) " >&6
|
adam@47
|
15170 else
|
adam@47
|
15171 $RM conftest*
|
adam@47
|
15172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@47
|
15173
|
adam@47
|
15174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@1
|
15175 (eval $ac_compile) 2>&5
|
adam@1
|
15176 ac_status=$?
|
adam@1
|
15177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@1
|
15178 test $ac_status = 0; } 2>conftest.err; then
|
adam@47
|
15179 soname=conftest
|
adam@47
|
15180 lib=conftest
|
adam@47
|
15181 libobjs=conftest.$ac_objext
|
adam@47
|
15182 deplibs=
|
adam@47
|
15183 wl=$lt_prog_compiler_wl_CXX
|
adam@47
|
15184 pic_flag=$lt_prog_compiler_pic_CXX
|
adam@47
|
15185 compiler_flags=-v
|
adam@47
|
15186 linker_flags=-v
|
adam@47
|
15187 verstring=
|
adam@47
|
15188 output_objdir=.
|
adam@47
|
15189 libname=conftest
|
adam@47
|
15190 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
|
adam@47
|
15191 allow_undefined_flag_CXX=
|
adam@47
|
15192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
adam@1
|
15193 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
adam@1
|
15194 ac_status=$?
|
adam@1
|
15195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@1
|
15196 test $ac_status = 0; }
|
adam@47
|
15197 then
|
adam@47
|
15198 lt_cv_archive_cmds_need_lc_CXX=no
|
adam@47
|
15199 else
|
adam@47
|
15200 lt_cv_archive_cmds_need_lc_CXX=yes
|
adam@47
|
15201 fi
|
adam@47
|
15202 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
|
adam@47
|
15203 else
|
adam@47
|
15204 cat conftest.err 1>&5
|
adam@47
|
15205 fi
|
adam@47
|
15206 $RM conftest*
|
adam@47
|
15207
|
adam@47
|
15208 fi
|
adam@47
|
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
|
adam@47
|
15210 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
|
adam@47
|
15211 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
|
adam@1
|
15212 ;;
|
adam@1
|
15213 esac
|
adam@1
|
15214 fi
|
adam@1
|
15215 ;;
|
adam@1
|
15216 esac
|
adam@1
|
15217
|
adam@1
|
15218
|
adam@1
|
15219
|
adam@1
|
15220
|
adam@1
|
15221
|
adam@1
|
15222
|
adam@1
|
15223
|
adam@1
|
15224
|
adam@1
|
15225
|
adam@1
|
15226
|
adam@1
|
15227
|
adam@1
|
15228
|
adam@1
|
15229
|
adam@1
|
15230
|
adam@1
|
15231
|
adam@1
|
15232
|
adam@1
|
15233
|
adam@1
|
15234
|
adam@1
|
15235
|
adam@1
|
15236
|
adam@1
|
15237
|
adam@1
|
15238
|
adam@1
|
15239
|
adam@1
|
15240
|
adam@1
|
15241
|
adam@1
|
15242
|
adam@1
|
15243
|
adam@1
|
15244
|
adam@1
|
15245
|
adam@1
|
15246
|
adam@1
|
15247
|
adam@1
|
15248
|
adam@1
|
15249
|
adam@1
|
15250
|
adam@1
|
15251
|
adam@1
|
15252
|
adam@1
|
15253
|
adam@1
|
15254
|
adam@1
|
15255
|
adam@1
|
15256
|
adam@1
|
15257
|
adam@1
|
15258
|
adam@1
|
15259
|
adam@1
|
15260
|
adam@1
|
15261
|
adam@1
|
15262
|
adam@1
|
15263
|
adam@1
|
15264
|
adam@1
|
15265
|
adam@1
|
15266
|
adam@1
|
15267
|
adam@1
|
15268
|
adam@1
|
15269
|
adam@1
|
15270
|
adam@1
|
15271
|
adam@1
|
15272
|
adam@1
|
15273
|
adam@1
|
15274
|
adam@1
|
15275
|
adam@1
|
15276
|
adam@1
|
15277
|
adam@1
|
15278
|
adam@1
|
15279
|
adam@1
|
15280
|
adam@1
|
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
adam@1
|
15282 $as_echo_n "checking dynamic linker characteristics... " >&6; }
|
adam@1
|
15283
|
adam@1
|
15284 library_names_spec=
|
adam@1
|
15285 libname_spec='lib$name'
|
adam@1
|
15286 soname_spec=
|
adam@1
|
15287 shrext_cmds=".so"
|
adam@1
|
15288 postinstall_cmds=
|
adam@1
|
15289 postuninstall_cmds=
|
adam@1
|
15290 finish_cmds=
|
adam@1
|
15291 finish_eval=
|
adam@1
|
15292 shlibpath_var=
|
adam@1
|
15293 shlibpath_overrides_runpath=unknown
|
adam@1
|
15294 version_type=none
|
adam@1
|
15295 dynamic_linker="$host_os ld.so"
|
adam@1
|
15296 sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
adam@1
|
15297 need_lib_prefix=unknown
|
adam@1
|
15298 hardcode_into_libs=no
|
adam@1
|
15299
|
adam@1
|
15300 # when you set need_version to no, make sure it does not cause -set_version
|
adam@1
|
15301 # flags to be left without arguments
|
adam@1
|
15302 need_version=unknown
|
adam@1
|
15303
|
adam@1
|
15304 case $host_os in
|
adam@1
|
15305 aix3*)
|
adam@1
|
15306 version_type=linux
|
adam@1
|
15307 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
adam@1
|
15308 shlibpath_var=LIBPATH
|
adam@1
|
15309
|
adam@1
|
15310 # AIX 3 has no versioning support, so we append a major version to the name.
|
adam@1
|
15311 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15312 ;;
|
adam@1
|
15313
|
adam@1
|
15314 aix[4-9]*)
|
adam@1
|
15315 version_type=linux
|
adam@1
|
15316 need_lib_prefix=no
|
adam@1
|
15317 need_version=no
|
adam@1
|
15318 hardcode_into_libs=yes
|
adam@1
|
15319 if test "$host_cpu" = ia64; then
|
adam@1
|
15320 # AIX 5 supports IA64
|
adam@1
|
15321 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
|
adam@1
|
15322 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15323 else
|
adam@1
|
15324 # With GCC up to 2.95.x, collect2 would create an import file
|
adam@1
|
15325 # for dependence libraries. The import file would start with
|
adam@1
|
15326 # the line `#! .'. This would cause the generated library to
|
adam@1
|
15327 # depend on `.', always an invalid library. This was fixed in
|
adam@1
|
15328 # development snapshots of GCC prior to 3.0.
|
adam@1
|
15329 case $host_os in
|
adam@1
|
15330 aix4 | aix4.[01] | aix4.[01].*)
|
adam@1
|
15331 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
|
adam@1
|
15332 echo ' yes '
|
adam@1
|
15333 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
|
adam@1
|
15334 :
|
adam@1
|
15335 else
|
adam@1
|
15336 can_build_shared=no
|
adam@1
|
15337 fi
|
adam@1
|
15338 ;;
|
adam@1
|
15339 esac
|
adam@1
|
15340 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
|
adam@1
|
15341 # soname into executable. Probably we can add versioning support to
|
adam@1
|
15342 # collect2, so additional links can be useful in future.
|
adam@1
|
15343 if test "$aix_use_runtimelinking" = yes; then
|
adam@1
|
15344 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
|
adam@1
|
15345 # instead of lib<name>.a to let people know that these are not
|
adam@1
|
15346 # typical AIX shared libraries.
|
adam@1
|
15347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15348 else
|
adam@1
|
15349 # We preserve .a as extension for shared libraries through AIX4.2
|
adam@1
|
15350 # and later when we are not doing run time linking.
|
adam@1
|
15351 library_names_spec='${libname}${release}.a $libname.a'
|
adam@1
|
15352 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15353 fi
|
adam@1
|
15354 shlibpath_var=LIBPATH
|
adam@1
|
15355 fi
|
adam@1
|
15356 ;;
|
adam@1
|
15357
|
adam@1
|
15358 amigaos*)
|
adam@1
|
15359 case $host_cpu in
|
adam@1
|
15360 powerpc)
|
adam@1
|
15361 # Since July 2007 AmigaOS4 officially supports .so libraries.
|
adam@1
|
15362 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
|
adam@1
|
15363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15364 ;;
|
adam@1
|
15365 m68k)
|
adam@1
|
15366 library_names_spec='$libname.ixlibrary $libname.a'
|
adam@1
|
15367 # Create ${libname}_ixlibrary.a entries in /sys/libs.
|
adam@47
|
15368 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
|
adam@1
|
15369 ;;
|
adam@1
|
15370 esac
|
adam@1
|
15371 ;;
|
adam@1
|
15372
|
adam@1
|
15373 beos*)
|
adam@1
|
15374 library_names_spec='${libname}${shared_ext}'
|
adam@1
|
15375 dynamic_linker="$host_os ld.so"
|
adam@1
|
15376 shlibpath_var=LIBRARY_PATH
|
adam@1
|
15377 ;;
|
adam@1
|
15378
|
adam@1
|
15379 bsdi[45]*)
|
adam@1
|
15380 version_type=linux
|
adam@1
|
15381 need_version=no
|
adam@1
|
15382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15383 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15384 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
|
adam@1
|
15385 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15386 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
|
adam@1
|
15387 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
|
adam@1
|
15388 # the default ld.so.conf also contains /usr/contrib/lib and
|
adam@1
|
15389 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
|
adam@1
|
15390 # libtool to hard-code these into programs
|
adam@1
|
15391 ;;
|
adam@1
|
15392
|
adam@1
|
15393 cygwin* | mingw* | pw32* | cegcc*)
|
adam@1
|
15394 version_type=windows
|
adam@1
|
15395 shrext_cmds=".dll"
|
adam@1
|
15396 need_version=no
|
adam@1
|
15397 need_lib_prefix=no
|
adam@1
|
15398
|
adam@47
|
15399 case $GCC,$cc_basename in
|
adam@47
|
15400 yes,*)
|
adam@47
|
15401 # gcc
|
adam@1
|
15402 library_names_spec='$libname.dll.a'
|
adam@1
|
15403 # DLL is installed to $(libdir)/../bin by postinstall_cmds
|
adam@1
|
15404 postinstall_cmds='base_file=`basename \${file}`~
|
adam@1
|
15405 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
adam@1
|
15406 dldir=$destdir/`dirname \$dlpath`~
|
adam@1
|
15407 test -d \$dldir || mkdir -p \$dldir~
|
adam@1
|
15408 $install_prog $dir/$dlname \$dldir/$dlname~
|
adam@1
|
15409 chmod a+x \$dldir/$dlname~
|
adam@1
|
15410 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
|
adam@1
|
15411 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
|
adam@1
|
15412 fi'
|
adam@1
|
15413 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
adam@1
|
15414 dlpath=$dir/\$dldll~
|
adam@1
|
15415 $RM \$dlpath'
|
adam@1
|
15416 shlibpath_overrides_runpath=yes
|
adam@1
|
15417
|
adam@1
|
15418 case $host_os in
|
adam@1
|
15419 cygwin*)
|
adam@1
|
15420 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
adam@1
|
15421 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@47
|
15422
|
adam@1
|
15423 ;;
|
adam@1
|
15424 mingw* | cegcc*)
|
adam@1
|
15425 # MinGW DLLs use traditional 'lib' prefix
|
adam@1
|
15426 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@1
|
15427 ;;
|
adam@1
|
15428 pw32*)
|
adam@1
|
15429 # pw32 DLLs use 'pw' prefix rather than 'lib'
|
adam@1
|
15430 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@1
|
15431 ;;
|
adam@1
|
15432 esac
|
adam@47
|
15433 dynamic_linker='Win32 ld.exe'
|
adam@47
|
15434 ;;
|
adam@47
|
15435
|
adam@47
|
15436 *,cl*)
|
adam@47
|
15437 # Native MSVC
|
adam@47
|
15438 libname_spec='$name'
|
adam@47
|
15439 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@47
|
15440 library_names_spec='${libname}.dll.lib'
|
adam@47
|
15441
|
adam@47
|
15442 case $build_os in
|
adam@47
|
15443 mingw*)
|
adam@47
|
15444 sys_lib_search_path_spec=
|
adam@47
|
15445 lt_save_ifs=$IFS
|
adam@47
|
15446 IFS=';'
|
adam@47
|
15447 for lt_path in $LIB
|
adam@47
|
15448 do
|
adam@47
|
15449 IFS=$lt_save_ifs
|
adam@47
|
15450 # Let DOS variable expansion print the short 8.3 style file name.
|
adam@47
|
15451 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
|
adam@47
|
15452 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
|
adam@47
|
15453 done
|
adam@47
|
15454 IFS=$lt_save_ifs
|
adam@47
|
15455 # Convert to MSYS style.
|
adam@47
|
15456 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
adam@47
|
15457 ;;
|
adam@47
|
15458 cygwin*)
|
adam@47
|
15459 # Convert to unix form, then to dos form, then back to unix form
|
adam@47
|
15460 # but this time dos style (no spaces!) so that the unix form looks
|
adam@47
|
15461 # like /cygdrive/c/PROGRA~1:/cygdr...
|
adam@47
|
15462 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
|
adam@47
|
15463 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
|
adam@47
|
15464 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
adam@47
|
15465 ;;
|
adam@47
|
15466 *)
|
adam@47
|
15467 sys_lib_search_path_spec="$LIB"
|
adam@47
|
15468 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
|
adam@47
|
15469 # It is most probably a Windows format PATH.
|
adam@47
|
15470 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
adam@47
|
15471 else
|
adam@47
|
15472 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
adam@47
|
15473 fi
|
adam@47
|
15474 # FIXME: find the short name or the path components, as spaces are
|
adam@47
|
15475 # common. (e.g. "Program Files" -> "PROGRA~1")
|
adam@47
|
15476 ;;
|
adam@47
|
15477 esac
|
adam@47
|
15478
|
adam@47
|
15479 # DLL is installed to $(libdir)/../bin by postinstall_cmds
|
adam@47
|
15480 postinstall_cmds='base_file=`basename \${file}`~
|
adam@47
|
15481 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
adam@47
|
15482 dldir=$destdir/`dirname \$dlpath`~
|
adam@47
|
15483 test -d \$dldir || mkdir -p \$dldir~
|
adam@47
|
15484 $install_prog $dir/$dlname \$dldir/$dlname'
|
adam@47
|
15485 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
adam@47
|
15486 dlpath=$dir/\$dldll~
|
adam@47
|
15487 $RM \$dlpath'
|
adam@47
|
15488 shlibpath_overrides_runpath=yes
|
adam@47
|
15489 dynamic_linker='Win32 link.exe'
|
adam@1
|
15490 ;;
|
adam@1
|
15491
|
adam@1
|
15492 *)
|
adam@47
|
15493 # Assume MSVC wrapper
|
adam@1
|
15494 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
|
adam@47
|
15495 dynamic_linker='Win32 ld.exe'
|
adam@47
|
15496 ;;
|
adam@47
|
15497 esac
|
adam@1
|
15498 # FIXME: first we should search . and the directory the executable is in
|
adam@1
|
15499 shlibpath_var=PATH
|
adam@1
|
15500 ;;
|
adam@1
|
15501
|
adam@1
|
15502 darwin* | rhapsody*)
|
adam@1
|
15503 dynamic_linker="$host_os dyld"
|
adam@1
|
15504 version_type=darwin
|
adam@1
|
15505 need_lib_prefix=no
|
adam@1
|
15506 need_version=no
|
adam@1
|
15507 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
|
adam@1
|
15508 soname_spec='${libname}${release}${major}$shared_ext'
|
adam@1
|
15509 shlibpath_overrides_runpath=yes
|
adam@1
|
15510 shlibpath_var=DYLD_LIBRARY_PATH
|
adam@1
|
15511 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
adam@1
|
15512
|
adam@1
|
15513 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
adam@1
|
15514 ;;
|
adam@1
|
15515
|
adam@1
|
15516 dgux*)
|
adam@1
|
15517 version_type=linux
|
adam@1
|
15518 need_lib_prefix=no
|
adam@1
|
15519 need_version=no
|
adam@1
|
15520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
adam@1
|
15521 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15522 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15523 ;;
|
adam@1
|
15524
|
adam@1
|
15525 freebsd1*)
|
adam@1
|
15526 dynamic_linker=no
|
adam@1
|
15527 ;;
|
adam@1
|
15528
|
adam@1
|
15529 freebsd* | dragonfly*)
|
adam@1
|
15530 # DragonFly does not have aout. When/if they implement a new
|
adam@1
|
15531 # versioning mechanism, adjust this.
|
adam@1
|
15532 if test -x /usr/bin/objformat; then
|
adam@1
|
15533 objformat=`/usr/bin/objformat`
|
adam@1
|
15534 else
|
adam@1
|
15535 case $host_os in
|
adam@1
|
15536 freebsd[123]*) objformat=aout ;;
|
adam@1
|
15537 *) objformat=elf ;;
|
adam@1
|
15538 esac
|
adam@1
|
15539 fi
|
adam@1
|
15540 version_type=freebsd-$objformat
|
adam@1
|
15541 case $version_type in
|
adam@1
|
15542 freebsd-elf*)
|
adam@1
|
15543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@1
|
15544 need_version=no
|
adam@1
|
15545 need_lib_prefix=no
|
adam@1
|
15546 ;;
|
adam@1
|
15547 freebsd-*)
|
adam@1
|
15548 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
|
adam@1
|
15549 need_version=yes
|
adam@1
|
15550 ;;
|
adam@1
|
15551 esac
|
adam@1
|
15552 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15553 case $host_os in
|
adam@1
|
15554 freebsd2*)
|
adam@1
|
15555 shlibpath_overrides_runpath=yes
|
adam@1
|
15556 ;;
|
adam@1
|
15557 freebsd3.[01]* | freebsdelf3.[01]*)
|
adam@1
|
15558 shlibpath_overrides_runpath=yes
|
adam@1
|
15559 hardcode_into_libs=yes
|
adam@1
|
15560 ;;
|
adam@1
|
15561 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
|
adam@1
|
15562 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
|
adam@1
|
15563 shlibpath_overrides_runpath=no
|
adam@1
|
15564 hardcode_into_libs=yes
|
adam@1
|
15565 ;;
|
adam@1
|
15566 *) # from 4.6 on, and DragonFly
|
adam@1
|
15567 shlibpath_overrides_runpath=yes
|
adam@1
|
15568 hardcode_into_libs=yes
|
adam@1
|
15569 ;;
|
adam@1
|
15570 esac
|
adam@1
|
15571 ;;
|
adam@1
|
15572
|
adam@1
|
15573 gnu*)
|
adam@1
|
15574 version_type=linux
|
adam@1
|
15575 need_lib_prefix=no
|
adam@1
|
15576 need_version=no
|
adam@1
|
15577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
adam@1
|
15578 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15579 shlibpath_var=LD_LIBRARY_PATH
|
adam@47
|
15580 shlibpath_overrides_runpath=no
|
adam@47
|
15581 hardcode_into_libs=yes
|
adam@47
|
15582 ;;
|
adam@47
|
15583
|
adam@47
|
15584 haiku*)
|
adam@47
|
15585 version_type=linux
|
adam@47
|
15586 need_lib_prefix=no
|
adam@47
|
15587 need_version=no
|
adam@47
|
15588 dynamic_linker="$host_os runtime_loader"
|
adam@47
|
15589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
adam@47
|
15590 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@47
|
15591 shlibpath_var=LIBRARY_PATH
|
adam@47
|
15592 shlibpath_overrides_runpath=yes
|
adam@47
|
15593 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
|
adam@1
|
15594 hardcode_into_libs=yes
|
adam@1
|
15595 ;;
|
adam@1
|
15596
|
adam@1
|
15597 hpux9* | hpux10* | hpux11*)
|
adam@1
|
15598 # Give a soname corresponding to the major version so that dld.sl refuses to
|
adam@1
|
15599 # link against other versions.
|
adam@1
|
15600 version_type=sunos
|
adam@1
|
15601 need_lib_prefix=no
|
adam@1
|
15602 need_version=no
|
adam@1
|
15603 case $host_cpu in
|
adam@1
|
15604 ia64*)
|
adam@1
|
15605 shrext_cmds='.so'
|
adam@1
|
15606 hardcode_into_libs=yes
|
adam@1
|
15607 dynamic_linker="$host_os dld.so"
|
adam@1
|
15608 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15609 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
adam@1
|
15610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15611 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15612 if test "X$HPUX_IA64_MODE" = X32; then
|
adam@1
|
15613 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
|
adam@1
|
15614 else
|
adam@1
|
15615 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
|
adam@1
|
15616 fi
|
adam@1
|
15617 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
adam@1
|
15618 ;;
|
adam@1
|
15619 hppa*64*)
|
adam@1
|
15620 shrext_cmds='.sl'
|
adam@1
|
15621 hardcode_into_libs=yes
|
adam@1
|
15622 dynamic_linker="$host_os dld.sl"
|
adam@1
|
15623 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
|
adam@1
|
15624 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
adam@1
|
15625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15626 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15627 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
|
adam@1
|
15628 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
adam@1
|
15629 ;;
|
adam@1
|
15630 *)
|
adam@1
|
15631 shrext_cmds='.sl'
|
adam@1
|
15632 dynamic_linker="$host_os dld.sl"
|
adam@1
|
15633 shlibpath_var=SHLIB_PATH
|
adam@1
|
15634 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
|
adam@1
|
15635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15636 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15637 ;;
|
adam@1
|
15638 esac
|
adam@47
|
15639 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
|
adam@1
|
15640 postinstall_cmds='chmod 555 $lib'
|
adam@47
|
15641 # or fails outright, so override atomically:
|
adam@47
|
15642 install_override_mode=555
|
adam@1
|
15643 ;;
|
adam@1
|
15644
|
adam@1
|
15645 interix[3-9]*)
|
adam@1
|
15646 version_type=linux
|
adam@1
|
15647 need_lib_prefix=no
|
adam@1
|
15648 need_version=no
|
adam@1
|
15649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@1
|
15650 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15651 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
|
adam@1
|
15652 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15653 shlibpath_overrides_runpath=no
|
adam@1
|
15654 hardcode_into_libs=yes
|
adam@1
|
15655 ;;
|
adam@1
|
15656
|
adam@1
|
15657 irix5* | irix6* | nonstopux*)
|
adam@1
|
15658 case $host_os in
|
adam@1
|
15659 nonstopux*) version_type=nonstopux ;;
|
adam@1
|
15660 *)
|
adam@1
|
15661 if test "$lt_cv_prog_gnu_ld" = yes; then
|
adam@1
|
15662 version_type=linux
|
adam@1
|
15663 else
|
adam@1
|
15664 version_type=irix
|
adam@1
|
15665 fi ;;
|
adam@1
|
15666 esac
|
adam@1
|
15667 need_lib_prefix=no
|
adam@1
|
15668 need_version=no
|
adam@1
|
15669 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@1
|
15671 case $host_os in
|
adam@1
|
15672 irix5* | nonstopux*)
|
adam@1
|
15673 libsuff= shlibsuff=
|
adam@1
|
15674 ;;
|
adam@1
|
15675 *)
|
adam@1
|
15676 case $LD in # libtool.m4 will add one of these switches to LD
|
adam@1
|
15677 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
|
adam@1
|
15678 libsuff= shlibsuff= libmagic=32-bit;;
|
adam@1
|
15679 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
|
adam@1
|
15680 libsuff=32 shlibsuff=N32 libmagic=N32;;
|
adam@1
|
15681 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
|
adam@1
|
15682 libsuff=64 shlibsuff=64 libmagic=64-bit;;
|
adam@1
|
15683 *) libsuff= shlibsuff= libmagic=never-match;;
|
adam@1
|
15684 esac
|
adam@1
|
15685 ;;
|
adam@1
|
15686 esac
|
adam@1
|
15687 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
|
adam@1
|
15688 shlibpath_overrides_runpath=no
|
adam@1
|
15689 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
adam@1
|
15690 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
adam@1
|
15691 hardcode_into_libs=yes
|
adam@1
|
15692 ;;
|
adam@1
|
15693
|
adam@1
|
15694 # No shared lib support for Linux oldld, aout, or coff.
|
adam@1
|
15695 linux*oldld* | linux*aout* | linux*coff*)
|
adam@1
|
15696 dynamic_linker=no
|
adam@1
|
15697 ;;
|
adam@1
|
15698
|
adam@1
|
15699 # This must be Linux ELF.
|
adam@1
|
15700 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@1
|
15701 version_type=linux
|
adam@1
|
15702 need_lib_prefix=no
|
adam@1
|
15703 need_version=no
|
adam@1
|
15704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15705 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
adam@1
|
15707 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15708 shlibpath_overrides_runpath=no
|
adam@47
|
15709
|
adam@1
|
15710 # Some binutils ld are patched to set DT_RUNPATH
|
adam@64
|
15711 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
|
adam@47
|
15712 $as_echo_n "(cached) " >&6
|
adam@47
|
15713 else
|
adam@47
|
15714 lt_cv_shlibpath_overrides_runpath=no
|
adam@47
|
15715 save_LDFLAGS=$LDFLAGS
|
adam@47
|
15716 save_libdir=$libdir
|
adam@47
|
15717 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
|
adam@47
|
15718 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
|
adam@47
|
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
15720 /* end confdefs.h. */
|
adam@1
|
15721
|
adam@1
|
15722 int
|
adam@1
|
15723 main ()
|
adam@1
|
15724 {
|
adam@1
|
15725
|
adam@1
|
15726 ;
|
adam@1
|
15727 return 0;
|
adam@1
|
15728 }
|
adam@1
|
15729 _ACEOF
|
adam@1
|
15730 if ac_fn_cxx_try_link "$LINENO"; then :
|
adam@1
|
15731 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
adam@47
|
15732 lt_cv_shlibpath_overrides_runpath=yes
|
adam@1
|
15733 fi
|
adam@1
|
15734 fi
|
adam@1
|
15735 rm -f core conftest.err conftest.$ac_objext \
|
adam@1
|
15736 conftest$ac_exeext conftest.$ac_ext
|
adam@47
|
15737 LDFLAGS=$save_LDFLAGS
|
adam@47
|
15738 libdir=$save_libdir
|
adam@47
|
15739
|
adam@47
|
15740 fi
|
adam@47
|
15741
|
adam@47
|
15742 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
|
adam@1
|
15743
|
adam@1
|
15744 # This implies no fast_install, which is unacceptable.
|
adam@1
|
15745 # Some rework will be needed to allow for fast_install
|
adam@1
|
15746 # before this can be enabled.
|
adam@1
|
15747 hardcode_into_libs=yes
|
adam@1
|
15748
|
adam@1
|
15749 # Append ld.so.conf contents to the search path
|
adam@1
|
15750 if test -f /etc/ld.so.conf; then
|
adam@47
|
15751 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
|
adam@1
|
15752 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
adam@1
|
15753 fi
|
adam@1
|
15754
|
adam@1
|
15755 # We used to test for /lib/ld.so.1 and disable shared libraries on
|
adam@1
|
15756 # powerpc, because MkLinux only supported shared libraries with the
|
adam@1
|
15757 # GNU dynamic linker. Since this was broken with cross compilers,
|
adam@1
|
15758 # most powerpc-linux boxes support dynamic linking these days and
|
adam@1
|
15759 # people can always --disable-shared, the test was removed, and we
|
adam@1
|
15760 # assume the GNU/Linux dynamic linker is in use.
|
adam@1
|
15761 dynamic_linker='GNU/Linux ld.so'
|
adam@1
|
15762 ;;
|
adam@1
|
15763
|
adam@1
|
15764 netbsdelf*-gnu)
|
adam@1
|
15765 version_type=linux
|
adam@1
|
15766 need_lib_prefix=no
|
adam@1
|
15767 need_version=no
|
adam@1
|
15768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@1
|
15769 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15770 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15771 shlibpath_overrides_runpath=no
|
adam@1
|
15772 hardcode_into_libs=yes
|
adam@1
|
15773 dynamic_linker='NetBSD ld.elf_so'
|
adam@1
|
15774 ;;
|
adam@1
|
15775
|
adam@1
|
15776 netbsd*)
|
adam@1
|
15777 version_type=sunos
|
adam@1
|
15778 need_lib_prefix=no
|
adam@1
|
15779 need_version=no
|
adam@1
|
15780 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@1
|
15781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@1
|
15782 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
adam@1
|
15783 dynamic_linker='NetBSD (a.out) ld.so'
|
adam@1
|
15784 else
|
adam@1
|
15785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@1
|
15786 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15787 dynamic_linker='NetBSD ld.elf_so'
|
adam@1
|
15788 fi
|
adam@1
|
15789 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15790 shlibpath_overrides_runpath=yes
|
adam@1
|
15791 hardcode_into_libs=yes
|
adam@1
|
15792 ;;
|
adam@1
|
15793
|
adam@1
|
15794 newsos6)
|
adam@1
|
15795 version_type=linux
|
adam@1
|
15796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15797 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15798 shlibpath_overrides_runpath=yes
|
adam@1
|
15799 ;;
|
adam@1
|
15800
|
adam@1
|
15801 *nto* | *qnx*)
|
adam@1
|
15802 version_type=qnx
|
adam@1
|
15803 need_lib_prefix=no
|
adam@1
|
15804 need_version=no
|
adam@1
|
15805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15806 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15807 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15808 shlibpath_overrides_runpath=no
|
adam@1
|
15809 hardcode_into_libs=yes
|
adam@1
|
15810 dynamic_linker='ldqnx.so'
|
adam@1
|
15811 ;;
|
adam@1
|
15812
|
adam@1
|
15813 openbsd*)
|
adam@1
|
15814 version_type=sunos
|
adam@1
|
15815 sys_lib_dlsearch_path_spec="/usr/lib"
|
adam@1
|
15816 need_lib_prefix=no
|
adam@1
|
15817 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
adam@1
|
15818 case $host_os in
|
adam@1
|
15819 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
adam@1
|
15820 *) need_version=no ;;
|
adam@1
|
15821 esac
|
adam@1
|
15822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@1
|
15823 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
adam@1
|
15824 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15825 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@1
|
15826 case $host_os in
|
adam@1
|
15827 openbsd2.[89] | openbsd2.[89].*)
|
adam@1
|
15828 shlibpath_overrides_runpath=no
|
adam@1
|
15829 ;;
|
adam@1
|
15830 *)
|
adam@1
|
15831 shlibpath_overrides_runpath=yes
|
adam@1
|
15832 ;;
|
adam@1
|
15833 esac
|
adam@1
|
15834 else
|
adam@1
|
15835 shlibpath_overrides_runpath=yes
|
adam@1
|
15836 fi
|
adam@1
|
15837 ;;
|
adam@1
|
15838
|
adam@1
|
15839 os2*)
|
adam@1
|
15840 libname_spec='$name'
|
adam@1
|
15841 shrext_cmds=".dll"
|
adam@1
|
15842 need_lib_prefix=no
|
adam@1
|
15843 library_names_spec='$libname${shared_ext} $libname.a'
|
adam@1
|
15844 dynamic_linker='OS/2 ld.exe'
|
adam@1
|
15845 shlibpath_var=LIBPATH
|
adam@1
|
15846 ;;
|
adam@1
|
15847
|
adam@1
|
15848 osf3* | osf4* | osf5*)
|
adam@1
|
15849 version_type=osf
|
adam@1
|
15850 need_lib_prefix=no
|
adam@1
|
15851 need_version=no
|
adam@1
|
15852 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15854 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15855 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
|
adam@1
|
15856 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
adam@1
|
15857 ;;
|
adam@1
|
15858
|
adam@1
|
15859 rdos*)
|
adam@1
|
15860 dynamic_linker=no
|
adam@1
|
15861 ;;
|
adam@1
|
15862
|
adam@1
|
15863 solaris*)
|
adam@1
|
15864 version_type=linux
|
adam@1
|
15865 need_lib_prefix=no
|
adam@1
|
15866 need_version=no
|
adam@1
|
15867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15868 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15869 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15870 shlibpath_overrides_runpath=yes
|
adam@1
|
15871 hardcode_into_libs=yes
|
adam@1
|
15872 # ldd complains unless libraries are executable
|
adam@1
|
15873 postinstall_cmds='chmod +x $lib'
|
adam@1
|
15874 ;;
|
adam@1
|
15875
|
adam@1
|
15876 sunos4*)
|
adam@1
|
15877 version_type=sunos
|
adam@1
|
15878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@1
|
15879 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
|
adam@1
|
15880 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15881 shlibpath_overrides_runpath=yes
|
adam@1
|
15882 if test "$with_gnu_ld" = yes; then
|
adam@1
|
15883 need_lib_prefix=no
|
adam@1
|
15884 fi
|
adam@1
|
15885 need_version=yes
|
adam@1
|
15886 ;;
|
adam@1
|
15887
|
adam@1
|
15888 sysv4 | sysv4.3*)
|
adam@1
|
15889 version_type=linux
|
adam@1
|
15890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15891 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15892 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15893 case $host_vendor in
|
adam@1
|
15894 sni)
|
adam@1
|
15895 shlibpath_overrides_runpath=no
|
adam@1
|
15896 need_lib_prefix=no
|
adam@1
|
15897 runpath_var=LD_RUN_PATH
|
adam@1
|
15898 ;;
|
adam@1
|
15899 siemens)
|
adam@1
|
15900 need_lib_prefix=no
|
adam@1
|
15901 ;;
|
adam@1
|
15902 motorola)
|
adam@1
|
15903 need_lib_prefix=no
|
adam@1
|
15904 need_version=no
|
adam@1
|
15905 shlibpath_overrides_runpath=no
|
adam@1
|
15906 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
|
adam@1
|
15907 ;;
|
adam@1
|
15908 esac
|
adam@1
|
15909 ;;
|
adam@1
|
15910
|
adam@1
|
15911 sysv4*MP*)
|
adam@1
|
15912 if test -d /usr/nec ;then
|
adam@1
|
15913 version_type=linux
|
adam@1
|
15914 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
adam@1
|
15915 soname_spec='$libname${shared_ext}.$major'
|
adam@1
|
15916 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15917 fi
|
adam@1
|
15918 ;;
|
adam@1
|
15919
|
adam@1
|
15920 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
adam@1
|
15921 version_type=freebsd-elf
|
adam@1
|
15922 need_lib_prefix=no
|
adam@1
|
15923 need_version=no
|
adam@1
|
15924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@1
|
15925 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15926 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15927 shlibpath_overrides_runpath=yes
|
adam@1
|
15928 hardcode_into_libs=yes
|
adam@1
|
15929 if test "$with_gnu_ld" = yes; then
|
adam@1
|
15930 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
|
adam@1
|
15931 else
|
adam@1
|
15932 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
|
adam@1
|
15933 case $host_os in
|
adam@1
|
15934 sco3.2v5*)
|
adam@1
|
15935 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
|
adam@1
|
15936 ;;
|
adam@1
|
15937 esac
|
adam@1
|
15938 fi
|
adam@1
|
15939 sys_lib_dlsearch_path_spec='/usr/lib'
|
adam@1
|
15940 ;;
|
adam@1
|
15941
|
adam@1
|
15942 tpf*)
|
adam@1
|
15943 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
adam@1
|
15944 version_type=linux
|
adam@1
|
15945 need_lib_prefix=no
|
adam@1
|
15946 need_version=no
|
adam@1
|
15947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15948 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15949 shlibpath_overrides_runpath=no
|
adam@1
|
15950 hardcode_into_libs=yes
|
adam@1
|
15951 ;;
|
adam@1
|
15952
|
adam@1
|
15953 uts4*)
|
adam@1
|
15954 version_type=linux
|
adam@1
|
15955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@1
|
15956 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@1
|
15957 shlibpath_var=LD_LIBRARY_PATH
|
adam@1
|
15958 ;;
|
adam@1
|
15959
|
adam@1
|
15960 *)
|
adam@1
|
15961 dynamic_linker=no
|
adam@1
|
15962 ;;
|
adam@1
|
15963 esac
|
adam@1
|
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
adam@1
|
15965 $as_echo "$dynamic_linker" >&6; }
|
adam@1
|
15966 test "$dynamic_linker" = no && can_build_shared=no
|
adam@1
|
15967
|
adam@1
|
15968 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
adam@1
|
15969 if test "$GCC" = yes; then
|
adam@1
|
15970 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
adam@1
|
15971 fi
|
adam@1
|
15972
|
adam@1
|
15973 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
|
adam@1
|
15974 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
|
adam@1
|
15975 fi
|
adam@1
|
15976 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
|
adam@1
|
15977 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
|
adam@1
|
15978 fi
|
adam@1
|
15979
|
adam@1
|
15980
|
adam@1
|
15981
|
adam@1
|
15982
|
adam@1
|
15983
|
adam@1
|
15984
|
adam@1
|
15985
|
adam@1
|
15986
|
adam@1
|
15987
|
adam@1
|
15988
|
adam@1
|
15989
|
adam@1
|
15990
|
adam@1
|
15991
|
adam@1
|
15992
|
adam@1
|
15993
|
adam@1
|
15994
|
adam@1
|
15995
|
adam@1
|
15996
|
adam@1
|
15997
|
adam@1
|
15998
|
adam@1
|
15999
|
adam@1
|
16000
|
adam@1
|
16001
|
adam@1
|
16002
|
adam@1
|
16003
|
adam@1
|
16004
|
adam@1
|
16005
|
adam@1
|
16006
|
adam@1
|
16007
|
adam@1
|
16008
|
adam@1
|
16009
|
adam@1
|
16010
|
adam@1
|
16011
|
adam@1
|
16012
|
adam@1
|
16013
|
adam@1
|
16014
|
adam@47
|
16015
|
adam@47
|
16016
|
adam@1
|
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
adam@1
|
16018 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
adam@1
|
16019 hardcode_action_CXX=
|
adam@1
|
16020 if test -n "$hardcode_libdir_flag_spec_CXX" ||
|
adam@1
|
16021 test -n "$runpath_var_CXX" ||
|
adam@1
|
16022 test "X$hardcode_automatic_CXX" = "Xyes" ; then
|
adam@1
|
16023
|
adam@1
|
16024 # We can hardcode non-existent directories.
|
adam@1
|
16025 if test "$hardcode_direct_CXX" != no &&
|
adam@1
|
16026 # If the only mechanism to avoid hardcoding is shlibpath_var, we
|
adam@1
|
16027 # have to relink, otherwise we might link with an installed library
|
adam@1
|
16028 # when we should be linking with a yet-to-be-installed one
|
adam@1
|
16029 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
|
adam@1
|
16030 test "$hardcode_minus_L_CXX" != no; then
|
adam@1
|
16031 # Linking always hardcodes the temporary library directory.
|
adam@1
|
16032 hardcode_action_CXX=relink
|
adam@1
|
16033 else
|
adam@1
|
16034 # We can link without hardcoding, and we can hardcode nonexisting dirs.
|
adam@1
|
16035 hardcode_action_CXX=immediate
|
adam@1
|
16036 fi
|
adam@1
|
16037 else
|
adam@1
|
16038 # We cannot hardcode anything, or else we can only hardcode existing
|
adam@1
|
16039 # directories.
|
adam@1
|
16040 hardcode_action_CXX=unsupported
|
adam@1
|
16041 fi
|
adam@1
|
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
|
adam@1
|
16043 $as_echo "$hardcode_action_CXX" >&6; }
|
adam@1
|
16044
|
adam@1
|
16045 if test "$hardcode_action_CXX" = relink ||
|
adam@1
|
16046 test "$inherit_rpath_CXX" = yes; then
|
adam@1
|
16047 # Fast installation is not supported
|
adam@1
|
16048 enable_fast_install=no
|
adam@1
|
16049 elif test "$shlibpath_overrides_runpath" = yes ||
|
adam@1
|
16050 test "$enable_shared" = no; then
|
adam@1
|
16051 # Fast installation is not necessary
|
adam@1
|
16052 enable_fast_install=needless
|
adam@1
|
16053 fi
|
adam@1
|
16054
|
adam@1
|
16055
|
adam@1
|
16056
|
adam@1
|
16057
|
adam@1
|
16058
|
adam@1
|
16059
|
adam@1
|
16060
|
adam@1
|
16061 fi # test -n "$compiler"
|
adam@1
|
16062
|
adam@1
|
16063 CC=$lt_save_CC
|
adam@47
|
16064 CFLAGS=$lt_save_CFLAGS
|
adam@1
|
16065 LDCXX=$LD
|
adam@1
|
16066 LD=$lt_save_LD
|
adam@1
|
16067 GCC=$lt_save_GCC
|
adam@1
|
16068 with_gnu_ld=$lt_save_with_gnu_ld
|
adam@1
|
16069 lt_cv_path_LDCXX=$lt_cv_path_LD
|
adam@1
|
16070 lt_cv_path_LD=$lt_save_path_LD
|
adam@1
|
16071 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
|
adam@1
|
16072 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
|
adam@1
|
16073 fi # test "$_lt_caught_CXX_error" != yes
|
adam@1
|
16074
|
adam@1
|
16075 ac_ext=c
|
adam@1
|
16076 ac_cpp='$CPP $CPPFLAGS'
|
adam@1
|
16077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
16078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
16079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@1
|
16080
|
adam@1
|
16081
|
adam@1
|
16082
|
adam@1
|
16083
|
adam@1
|
16084 # Check whether --with-expat was given.
|
adam@1
|
16085 if test "${with_expat+set}" = set; then :
|
adam@1
|
16086 withval=$with_expat;
|
adam@1
|
16087 if test "$withval" = "yes"; then
|
adam@1
|
16088 if test -f /usr/local/include/expat.h ; then
|
adam@1
|
16089 expat_prefix=/usr/local
|
adam@1
|
16090 elif test -f /usr/include/expat.h ; then
|
adam@1
|
16091 expat_prefix=/usr
|
adam@1
|
16092 else
|
adam@1
|
16093 expat_prefix=""
|
adam@1
|
16094 fi
|
adam@1
|
16095 expat_requested="yes"
|
adam@1
|
16096 elif test -d "$withval"; then
|
adam@1
|
16097 expat_prefix="$withval"
|
adam@1
|
16098 expat_requested="yes"
|
adam@1
|
16099 else
|
adam@1
|
16100 expat_prefix=""
|
adam@1
|
16101 expat_requested="no"
|
adam@1
|
16102 fi
|
adam@1
|
16103
|
adam@1
|
16104 else
|
adam@1
|
16105
|
adam@1
|
16106 if test -f /usr/local/include/expat.h ; then
|
adam@1
|
16107 expat_prefix=/usr/local
|
adam@1
|
16108 elif test -f /usr/include/expat.h ; then
|
adam@1
|
16109 expat_prefix=/usr
|
adam@1
|
16110 else
|
adam@1
|
16111 expat_prefix=""
|
adam@1
|
16112 fi
|
adam@1
|
16113
|
adam@1
|
16114
|
adam@1
|
16115 fi
|
adam@1
|
16116
|
adam@1
|
16117
|
adam@1
|
16118
|
adam@1
|
16119 # Check whether --with-expat-inc was given.
|
adam@1
|
16120 if test "${with_expat_inc+set}" = set; then :
|
adam@1
|
16121 withval=$with_expat_inc; expat_include_dir="$withval"
|
adam@1
|
16122 else
|
adam@1
|
16123 expat_include_dir=""
|
adam@1
|
16124
|
adam@1
|
16125 fi
|
adam@1
|
16126
|
adam@1
|
16127
|
adam@1
|
16128 # Check whether --with-expat-lib was given.
|
adam@1
|
16129 if test "${with_expat_lib+set}" = set; then :
|
adam@1
|
16130 withval=$with_expat_lib; expat_lib_flags="$withval"
|
adam@1
|
16131 else
|
adam@1
|
16132 expat_lib_flags=""
|
adam@1
|
16133
|
adam@1
|
16134 fi
|
adam@1
|
16135
|
adam@1
|
16136
|
adam@1
|
16137 EXPAT_CFLAGS=""
|
adam@1
|
16138 EXPAT_LDFLAGS=""
|
adam@1
|
16139 EXPAT_VERSION=""
|
adam@1
|
16140
|
adam@1
|
16141 run_expat_test="no"
|
adam@1
|
16142
|
adam@1
|
16143 if test -n "$expat_prefix"; then
|
adam@1
|
16144 expat_include_dir="$expat_prefix/include"
|
adam@1
|
16145 expat_lib_flags="-L$expat_prefix/lib -lexpat"
|
adam@1
|
16146 run_expat_test="yes"
|
adam@1
|
16147 elif test "$expat_requested" = "yes"; then
|
adam@1
|
16148 if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
|
adam@1
|
16149 run_expat_test="yes"
|
adam@1
|
16150 fi
|
adam@1
|
16151 else
|
adam@1
|
16152 run_expat_test="no"
|
adam@1
|
16153 fi
|
adam@1
|
16154
|
adam@1
|
16155 if test "$run_expat_test" = "yes"; then
|
adam@1
|
16156
|
adam@1
|
16157 saved_CPPFLAGS="$CPPFLAGS"
|
adam@1
|
16158 CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
|
adam@1
|
16159
|
adam@1
|
16160 saved_LDFLAGS="$LDFLAGS"
|
adam@1
|
16161 LDFLAGS="$LDFLAGS $expat_lib_flags"
|
adam@1
|
16162
|
adam@1
|
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
|
adam@1
|
16164 $as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
|
adam@1
|
16165
|
adam@1
|
16166 ac_ext=cpp
|
adam@1
|
16167 ac_cpp='$CXXCPP $CPPFLAGS'
|
adam@1
|
16168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
16169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
16170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
adam@1
|
16171
|
adam@1
|
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
16173 /* end confdefs.h. */
|
adam@1
|
16174
|
adam@1
|
16175
|
adam@1
|
16176 #include <expat.h>
|
adam@1
|
16177
|
adam@1
|
16178 int
|
adam@1
|
16179 main ()
|
adam@1
|
16180 {
|
adam@1
|
16181
|
adam@1
|
16182
|
adam@1
|
16183 ;
|
adam@1
|
16184 return 0;
|
adam@1
|
16185 }
|
adam@1
|
16186 _ACEOF
|
adam@1
|
16187 if ac_fn_cxx_try_compile "$LINENO"; then :
|
adam@1
|
16188
|
adam@1
|
16189 EXPAT_CFLAGS="-I$expat_include_dir"
|
adam@1
|
16190 expat_header_found="yes"
|
adam@1
|
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
|
adam@1
|
16192 $as_echo "found" >&6; }
|
adam@1
|
16193
|
adam@1
|
16194 else
|
adam@1
|
16195
|
adam@1
|
16196 expat_header_found="no"
|
adam@1
|
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
|
adam@1
|
16198 $as_echo "not found" >&6; }
|
adam@1
|
16199
|
adam@1
|
16200
|
adam@1
|
16201 fi
|
adam@1
|
16202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@1
|
16203 ac_ext=c
|
adam@1
|
16204 ac_cpp='$CPP $CPPFLAGS'
|
adam@1
|
16205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
16206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
16207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@1
|
16208
|
adam@1
|
16209
|
adam@1
|
16210 if test "$expat_header_found" = "yes"; then
|
adam@1
|
16211
|
adam@1
|
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
|
adam@1
|
16213 $as_echo_n "checking for Expat XML Parser libraries... " >&6; }
|
adam@1
|
16214
|
adam@1
|
16215 ac_ext=cpp
|
adam@1
|
16216 ac_cpp='$CXXCPP $CPPFLAGS'
|
adam@1
|
16217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
16218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
16219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
adam@1
|
16220
|
adam@1
|
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@1
|
16222 /* end confdefs.h. */
|
adam@1
|
16223
|
adam@1
|
16224
|
adam@1
|
16225 #include <expat.h>
|
adam@1
|
16226
|
adam@1
|
16227 int
|
adam@1
|
16228 main ()
|
adam@1
|
16229 {
|
adam@1
|
16230
|
adam@1
|
16231 XML_Parser p = XML_ParserCreate(NULL);
|
adam@1
|
16232 XML_ParserFree(p);
|
adam@1
|
16233 p = NULL;
|
adam@1
|
16234
|
adam@1
|
16235
|
adam@1
|
16236 ;
|
adam@1
|
16237 return 0;
|
adam@1
|
16238 }
|
adam@1
|
16239 _ACEOF
|
adam@1
|
16240 if ac_fn_cxx_try_link "$LINENO"; then :
|
adam@1
|
16241
|
adam@1
|
16242 EXPAT_LDFLAGS="$expat_lib_flags"
|
adam@1
|
16243 expat_lib_found="yes"
|
adam@1
|
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
|
adam@1
|
16245 $as_echo "found" >&6; }
|
adam@1
|
16246
|
adam@1
|
16247 else
|
adam@1
|
16248
|
adam@1
|
16249 expat_lib_found="no"
|
adam@1
|
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
|
adam@1
|
16251 $as_echo "not found" >&6; }
|
adam@1
|
16252
|
adam@1
|
16253
|
adam@1
|
16254 fi
|
adam@1
|
16255 rm -f core conftest.err conftest.$ac_objext \
|
adam@1
|
16256 conftest$ac_exeext conftest.$ac_ext
|
adam@1
|
16257 ac_ext=c
|
adam@1
|
16258 ac_cpp='$CPP $CPPFLAGS'
|
adam@1
|
16259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@1
|
16260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@1
|
16261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@1
|
16262
|
adam@1
|
16263 fi
|
adam@1
|
16264
|
adam@1
|
16265 CPPFLAGS="$saved_CPPFLAGS"
|
adam@1
|
16266 LDFLAGS="$saved_LDFLAGS"
|
adam@1
|
16267 fi
|
adam@1
|
16268
|
adam@1
|
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
|
adam@1
|
16270 $as_echo_n "checking for Expat XML Parser... " >&6; }
|
adam@1
|
16271
|
adam@1
|
16272 if test "$run_expat_test" = "yes"; then
|
adam@1
|
16273 if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
|
adam@1
|
16274
|
adam@1
|
16275
|
adam@1
|
16276
|
adam@1
|
16277
|
adam@1
|
16278 HAVE_EXPAT="yes"
|
adam@1
|
16279 else
|
adam@1
|
16280 HAVE_EXPAT="no"
|
adam@1
|
16281 fi
|
adam@1
|
16282
|
adam@1
|
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
|
adam@1
|
16284 $as_echo "$HAVE_EXPAT" >&6; }
|
adam@1
|
16285
|
adam@1
|
16286 if test "$HAVE_EXPAT" = "yes"; then
|
adam@1
|
16287
|
adam@1
|
16288 expat_version_req=
|
adam@1
|
16289
|
adam@1
|
16290 if test -n "$expat_version_req"; then
|
adam@1
|
16291
|
adam@1
|
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
|
adam@1
|
16293 $as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
|
adam@1
|
16294
|
adam@1
|
16295 if test -f "$expat_include_dir/expat.h"; then
|
adam@1
|
16296
|
adam@1
|
16297 expat_major=`cat $expat_include_dir/expat.h | \
|
adam@1
|
16298 grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
|
adam@1
|
16299 sed -e 's/#define XML_MAJOR_VERSION.//'`
|
adam@1
|
16300
|
adam@1
|
16301 expat_minor=`cat $expat_include_dir/expat.h | \
|
adam@1
|
16302 grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
|
adam@1
|
16303 sed -e 's/#define XML_MINOR_VERSION.//'`
|
adam@1
|
16304
|
adam@1
|
16305 expat_revision=`cat $expat_include_dir/expat.h | \
|
adam@1
|
16306 grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
|
adam@1
|
16307 sed -e 's/#define XML_MICRO_VERSION.//'`
|
adam@1
|
16308
|
adam@1
|
16309 EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
|
adam@1
|
16310
|
adam@1
|
16311
|
adam@1
|
16312 expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
|
adam@1
|
16313 expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
|
adam@1
|
16314 expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
|
adam@1
|
16315 if test "x$expat_version_req_revision" = "x"; then
|
adam@1
|
16316 expat_version_req_revision="0"
|
adam@1
|
16317 fi
|
adam@1
|
16318
|
adam@1
|
16319 expat_version_req_number=`expr $expat_version_req_major \* 10000 \
|
adam@1
|
16320 \+ $expat_version_req_minor \* 100 \
|
adam@1
|
16321 \+ $expat_version_req_revision`
|
adam@1
|
16322
|
adam@1
|
16323 expat_version_number=`expr $expat_major \* 10000 \
|
adam@1
|
16324 \+ $expat_minor \* 100 \
|
adam@1
|
16325 \+ $expat_revision`
|
adam@1
|
16326
|
adam@1
|
16327 expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
|
adam@1
|
16328 if test "$expat_version_check" = "1"; then
|
adam@1
|
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@1
|
16330 $as_echo "yes" >&6; }
|
adam@1
|
16331 else
|
adam@1
|
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@1
|
16333 $as_echo "no" >&6; }
|
adam@1
|
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
|
adam@1
|
16335 $as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
|
adam@1
|
16336 fi
|
adam@1
|
16337 else
|
adam@1
|
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@1
|
16339 $as_echo "no" >&6; }
|
adam@1
|
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
|
adam@1
|
16341 $as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
|
adam@1
|
16342 fi
|
adam@1
|
16343 fi
|
adam@1
|
16344 fi
|
adam@1
|
16345
|
adam@1
|
16346 else
|
adam@1
|
16347 HAVE_EXPAT="no"
|
adam@1
|
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
|
adam@1
|
16349 $as_echo "$HAVE_EXPAT" >&6; }
|
adam@1
|
16350
|
adam@1
|
16351 if test "$expat_requested" = "yes"; then
|
adam@1
|
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&5
|
adam@1
|
16353 $as_echo "$as_me: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&2;}
|
adam@1
|
16354 fi
|
adam@1
|
16355 fi
|
adam@1
|
16356
|
adam@1
|
16357
|
adam@0
|
16358 if test $prefix = "NONE"; then
|
adam@0
|
16359 prefix=/usr/local
|
adam@0
|
16360 fi
|
adam@0
|
16361
|
adam@0
|
16362 if test -z $LIB; then
|
adam@0
|
16363 LIB=$prefix/lib/urweb
|
adam@0
|
16364 fi
|
adam@0
|
16365
|
adam@0
|
16366 if test -z $INCLUDE; then
|
adam@0
|
16367 INCLUDE=$prefix/include/urweb
|
adam@0
|
16368 fi
|
adam@0
|
16369
|
adam@0
|
16370
|
adam@0
|
16371
|
adam@0
|
16372
|
adam@0
|
16373 ac_config_files="$ac_config_files Makefile src/c/Makefile src/ur/config.urp"
|
adam@0
|
16374
|
adam@0
|
16375
|
adam@0
|
16376 cat >confcache <<\_ACEOF
|
adam@0
|
16377 # This file is a shell script that caches the results of configure
|
adam@0
|
16378 # tests run on this system so they can be shared between configure
|
adam@0
|
16379 # scripts and configure runs, see configure's option --config-cache.
|
adam@0
|
16380 # It is not useful on other systems. If it contains results you don't
|
adam@0
|
16381 # want to keep, you may remove or edit it.
|
adam@0
|
16382 #
|
adam@0
|
16383 # config.status only pays attention to the cache file if you give it
|
adam@0
|
16384 # the --recheck option to rerun configure.
|
adam@0
|
16385 #
|
adam@0
|
16386 # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
adam@0
|
16387 # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
adam@0
|
16388 # following values.
|
adam@0
|
16389
|
adam@0
|
16390 _ACEOF
|
adam@0
|
16391
|
adam@0
|
16392 # The following way of writing the cache mishandles newlines in values,
|
adam@0
|
16393 # but we know of no workaround that is simple, portable, and efficient.
|
adam@0
|
16394 # So, we kill variables containing newlines.
|
adam@0
|
16395 # Ultrix sh set writes to stderr and can't be redirected directly,
|
adam@0
|
16396 # and sets the high bit in the cache file unless we assign to the vars.
|
adam@0
|
16397 (
|
adam@0
|
16398 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
adam@0
|
16399 eval ac_val=\$$ac_var
|
adam@0
|
16400 case $ac_val in #(
|
adam@0
|
16401 *${as_nl}*)
|
adam@0
|
16402 case $ac_var in #(
|
adam@0
|
16403 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
adam@0
|
16404 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
adam@0
|
16405 esac
|
adam@0
|
16406 case $ac_var in #(
|
adam@0
|
16407 _ | IFS | as_nl) ;; #(
|
adam@0
|
16408 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
adam@0
|
16409 *) { eval $ac_var=; unset $ac_var;} ;;
|
adam@0
|
16410 esac ;;
|
adam@0
|
16411 esac
|
adam@0
|
16412 done
|
adam@0
|
16413
|
adam@0
|
16414 (set) 2>&1 |
|
adam@0
|
16415 case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
adam@0
|
16416 *${as_nl}ac_space=\ *)
|
adam@0
|
16417 # `set' does not quote correctly, so add quotes: double-quote
|
adam@0
|
16418 # substitution turns \\\\ into \\, and sed turns \\ into \.
|
adam@0
|
16419 sed -n \
|
adam@0
|
16420 "s/'/'\\\\''/g;
|
adam@0
|
16421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
adam@0
|
16422 ;; #(
|
adam@0
|
16423 *)
|
adam@0
|
16424 # `set' quotes correctly as required by POSIX, so do not add quotes.
|
adam@0
|
16425 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
adam@0
|
16426 ;;
|
adam@0
|
16427 esac |
|
adam@0
|
16428 sort
|
adam@0
|
16429 ) |
|
adam@0
|
16430 sed '
|
adam@0
|
16431 /^ac_cv_env_/b end
|
adam@0
|
16432 t clear
|
adam@0
|
16433 :clear
|
adam@0
|
16434 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
adam@0
|
16435 t end
|
adam@0
|
16436 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
adam@0
|
16437 :end' >>confcache
|
adam@0
|
16438 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
adam@0
|
16439 if test -w "$cache_file"; then
|
adam@64
|
16440 test "x$cache_file" != "x/dev/null" &&
|
adam@0
|
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
adam@0
|
16442 $as_echo "$as_me: updating cache $cache_file" >&6;}
|
adam@64
|
16443 cat confcache >$cache_file
|
adam@0
|
16444 else
|
adam@0
|
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
adam@0
|
16446 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
adam@0
|
16447 fi
|
adam@0
|
16448 fi
|
adam@0
|
16449 rm -f confcache
|
adam@0
|
16450
|
adam@0
|
16451 test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
adam@0
|
16452 # Let make expand exec_prefix.
|
adam@0
|
16453 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
adam@0
|
16454
|
adam@0
|
16455 # Transform confdefs.h into DEFS.
|
adam@0
|
16456 # Protect against shell expansion while executing Makefile rules.
|
adam@0
|
16457 # Protect against Makefile macro expansion.
|
adam@0
|
16458 #
|
adam@0
|
16459 # If the first sed substitution is executed (which looks for macros that
|
adam@0
|
16460 # take arguments), then branch to the quote section. Otherwise,
|
adam@0
|
16461 # look for a macro that doesn't take arguments.
|
adam@0
|
16462 ac_script='
|
adam@0
|
16463 :mline
|
adam@0
|
16464 /\\$/{
|
adam@0
|
16465 N
|
adam@0
|
16466 s,\\\n,,
|
adam@0
|
16467 b mline
|
adam@0
|
16468 }
|
adam@0
|
16469 t clear
|
adam@0
|
16470 :clear
|
adam@0
|
16471 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
adam@0
|
16472 t quote
|
adam@0
|
16473 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
adam@0
|
16474 t quote
|
adam@0
|
16475 b any
|
adam@0
|
16476 :quote
|
adam@0
|
16477 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
adam@0
|
16478 s/\[/\\&/g
|
adam@0
|
16479 s/\]/\\&/g
|
adam@0
|
16480 s/\$/$$/g
|
adam@0
|
16481 H
|
adam@0
|
16482 :any
|
adam@0
|
16483 ${
|
adam@0
|
16484 g
|
adam@0
|
16485 s/^\n//
|
adam@0
|
16486 s/\n/ /g
|
adam@0
|
16487 p
|
adam@0
|
16488 }
|
adam@0
|
16489 '
|
adam@0
|
16490 DEFS=`sed -n "$ac_script" confdefs.h`
|
adam@0
|
16491
|
adam@0
|
16492
|
adam@0
|
16493 ac_libobjs=
|
adam@0
|
16494 ac_ltlibobjs=
|
adam@0
|
16495 U=
|
adam@0
|
16496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
adam@0
|
16497 # 1. Remove the extension, and $U if already installed.
|
adam@0
|
16498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
adam@0
|
16499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
adam@0
|
16500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
adam@0
|
16501 # will be set to the directory where LIBOBJS objects are built.
|
adam@0
|
16502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
adam@0
|
16503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
adam@0
|
16504 done
|
adam@0
|
16505 LIBOBJS=$ac_libobjs
|
adam@0
|
16506
|
adam@0
|
16507 LTLIBOBJS=$ac_ltlibobjs
|
adam@0
|
16508
|
adam@0
|
16509
|
adam@0
|
16510 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
adam@0
|
16511 as_fn_error $? "conditional \"AMDEP\" was never defined.
|
adam@0
|
16512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
adam@0
|
16513 fi
|
adam@0
|
16514 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
adam@0
|
16515 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
adam@0
|
16516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
adam@0
|
16517 fi
|
adam@0
|
16518 if test -n "$EXEEXT"; then
|
adam@0
|
16519 am__EXEEXT_TRUE=
|
adam@0
|
16520 am__EXEEXT_FALSE='#'
|
adam@0
|
16521 else
|
adam@0
|
16522 am__EXEEXT_TRUE='#'
|
adam@0
|
16523 am__EXEEXT_FALSE=
|
adam@0
|
16524 fi
|
adam@0
|
16525
|
adam@1
|
16526 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
adam@1
|
16527 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
|
adam@1
|
16528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
adam@1
|
16529 fi
|
adam@47
|
16530
|
adam@64
|
16531 : ${CONFIG_STATUS=./config.status}
|
adam@0
|
16532 ac_write_fail=0
|
adam@0
|
16533 ac_clean_files_save=$ac_clean_files
|
adam@0
|
16534 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
adam@0
|
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
adam@0
|
16536 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
adam@0
|
16537 as_write_fail=0
|
adam@0
|
16538 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
adam@0
|
16539 #! $SHELL
|
adam@0
|
16540 # Generated by $as_me.
|
adam@0
|
16541 # Run this file to recreate the current configuration.
|
adam@0
|
16542 # Compiler output produced by configure, useful for debugging
|
adam@0
|
16543 # configure, is in config.log if it exists.
|
adam@0
|
16544
|
adam@0
|
16545 debug=false
|
adam@0
|
16546 ac_cs_recheck=false
|
adam@0
|
16547 ac_cs_silent=false
|
adam@0
|
16548
|
adam@0
|
16549 SHELL=\${CONFIG_SHELL-$SHELL}
|
adam@0
|
16550 export SHELL
|
adam@0
|
16551 _ASEOF
|
adam@0
|
16552 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
adam@0
|
16553 ## -------------------- ##
|
adam@0
|
16554 ## M4sh Initialization. ##
|
adam@0
|
16555 ## -------------------- ##
|
adam@0
|
16556
|
adam@0
|
16557 # Be more Bourne compatible
|
adam@0
|
16558 DUALCASE=1; export DUALCASE # for MKS sh
|
adam@0
|
16559 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
adam@0
|
16560 emulate sh
|
adam@0
|
16561 NULLCMD=:
|
adam@0
|
16562 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
adam@0
|
16563 # is contrary to our usage. Disable this feature.
|
adam@0
|
16564 alias -g '${1+"$@"}'='"$@"'
|
adam@0
|
16565 setopt NO_GLOB_SUBST
|
adam@0
|
16566 else
|
adam@0
|
16567 case `(set -o) 2>/dev/null` in #(
|
adam@0
|
16568 *posix*) :
|
adam@0
|
16569 set -o posix ;; #(
|
adam@0
|
16570 *) :
|
adam@0
|
16571 ;;
|
adam@0
|
16572 esac
|
adam@0
|
16573 fi
|
adam@0
|
16574
|
adam@0
|
16575
|
adam@0
|
16576 as_nl='
|
adam@0
|
16577 '
|
adam@0
|
16578 export as_nl
|
adam@0
|
16579 # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
adam@0
|
16580 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@0
|
16581 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
16582 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
16583 # Prefer a ksh shell builtin over an external printf program on Solaris,
|
adam@0
|
16584 # but without wasting forks for bash or zsh.
|
adam@0
|
16585 if test -z "$BASH_VERSION$ZSH_VERSION" \
|
adam@0
|
16586 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
16587 as_echo='print -r --'
|
adam@0
|
16588 as_echo_n='print -rn --'
|
adam@0
|
16589 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
16590 as_echo='printf %s\n'
|
adam@0
|
16591 as_echo_n='printf %s'
|
adam@0
|
16592 else
|
adam@0
|
16593 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
adam@0
|
16594 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
adam@0
|
16595 as_echo_n='/usr/ucb/echo -n'
|
adam@0
|
16596 else
|
adam@0
|
16597 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
adam@0
|
16598 as_echo_n_body='eval
|
adam@0
|
16599 arg=$1;
|
adam@0
|
16600 case $arg in #(
|
adam@0
|
16601 *"$as_nl"*)
|
adam@0
|
16602 expr "X$arg" : "X\\(.*\\)$as_nl";
|
adam@0
|
16603 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
adam@0
|
16604 esac;
|
adam@0
|
16605 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
adam@0
|
16606 '
|
adam@0
|
16607 export as_echo_n_body
|
adam@0
|
16608 as_echo_n='sh -c $as_echo_n_body as_echo'
|
adam@0
|
16609 fi
|
adam@0
|
16610 export as_echo_body
|
adam@0
|
16611 as_echo='sh -c $as_echo_body as_echo'
|
adam@0
|
16612 fi
|
adam@0
|
16613
|
adam@0
|
16614 # The user is always right.
|
adam@0
|
16615 if test "${PATH_SEPARATOR+set}" != set; then
|
adam@0
|
16616 PATH_SEPARATOR=:
|
adam@0
|
16617 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
adam@0
|
16618 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
adam@0
|
16619 PATH_SEPARATOR=';'
|
adam@0
|
16620 }
|
adam@0
|
16621 fi
|
adam@0
|
16622
|
adam@0
|
16623
|
adam@0
|
16624 # IFS
|
adam@0
|
16625 # We need space, tab and new line, in precisely that order. Quoting is
|
adam@0
|
16626 # there to prevent editors from complaining about space-tab.
|
adam@0
|
16627 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
adam@0
|
16628 # splitting by setting IFS to empty value.)
|
adam@0
|
16629 IFS=" "" $as_nl"
|
adam@0
|
16630
|
adam@0
|
16631 # Find who we are. Look in the path if we contain no directory separator.
|
adam@0
|
16632 case $0 in #((
|
adam@0
|
16633 *[\\/]* ) as_myself=$0 ;;
|
adam@0
|
16634 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
16635 for as_dir in $PATH
|
adam@0
|
16636 do
|
adam@0
|
16637 IFS=$as_save_IFS
|
adam@0
|
16638 test -z "$as_dir" && as_dir=.
|
adam@0
|
16639 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
adam@0
|
16640 done
|
adam@0
|
16641 IFS=$as_save_IFS
|
adam@0
|
16642
|
adam@0
|
16643 ;;
|
adam@0
|
16644 esac
|
adam@0
|
16645 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
adam@0
|
16646 # in which case we are not to be found in the path.
|
adam@0
|
16647 if test "x$as_myself" = x; then
|
adam@0
|
16648 as_myself=$0
|
adam@0
|
16649 fi
|
adam@0
|
16650 if test ! -f "$as_myself"; then
|
adam@0
|
16651 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
adam@0
|
16652 exit 1
|
adam@0
|
16653 fi
|
adam@0
|
16654
|
adam@0
|
16655 # Unset variables that we do not need and which cause bugs (e.g. in
|
adam@0
|
16656 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
adam@0
|
16657 # suppresses any "Segmentation fault" message there. '((' could
|
adam@0
|
16658 # trigger a bug in pdksh 5.2.14.
|
adam@0
|
16659 for as_var in BASH_ENV ENV MAIL MAILPATH
|
adam@0
|
16660 do eval test x\${$as_var+set} = xset \
|
adam@0
|
16661 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
adam@0
|
16662 done
|
adam@0
|
16663 PS1='$ '
|
adam@0
|
16664 PS2='> '
|
adam@0
|
16665 PS4='+ '
|
adam@0
|
16666
|
adam@0
|
16667 # NLS nuisances.
|
adam@0
|
16668 LC_ALL=C
|
adam@0
|
16669 export LC_ALL
|
adam@0
|
16670 LANGUAGE=C
|
adam@0
|
16671 export LANGUAGE
|
adam@0
|
16672
|
adam@0
|
16673 # CDPATH.
|
adam@0
|
16674 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
adam@0
|
16675
|
adam@0
|
16676
|
adam@0
|
16677 # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
adam@0
|
16678 # ----------------------------------------
|
adam@0
|
16679 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
adam@0
|
16680 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
adam@0
|
16681 # script with STATUS, using 1 if that was 0.
|
adam@0
|
16682 as_fn_error ()
|
adam@0
|
16683 {
|
adam@0
|
16684 as_status=$1; test $as_status -eq 0 && as_status=1
|
adam@0
|
16685 if test "$4"; then
|
adam@0
|
16686 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
16687 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
adam@0
|
16688 fi
|
adam@0
|
16689 $as_echo "$as_me: error: $2" >&2
|
adam@0
|
16690 as_fn_exit $as_status
|
adam@0
|
16691 } # as_fn_error
|
adam@0
|
16692
|
adam@0
|
16693
|
adam@0
|
16694 # as_fn_set_status STATUS
|
adam@0
|
16695 # -----------------------
|
adam@0
|
16696 # Set $? to STATUS, without forking.
|
adam@0
|
16697 as_fn_set_status ()
|
adam@0
|
16698 {
|
adam@0
|
16699 return $1
|
adam@0
|
16700 } # as_fn_set_status
|
adam@0
|
16701
|
adam@0
|
16702 # as_fn_exit STATUS
|
adam@0
|
16703 # -----------------
|
adam@0
|
16704 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
adam@0
|
16705 as_fn_exit ()
|
adam@0
|
16706 {
|
adam@0
|
16707 set +e
|
adam@0
|
16708 as_fn_set_status $1
|
adam@0
|
16709 exit $1
|
adam@0
|
16710 } # as_fn_exit
|
adam@0
|
16711
|
adam@0
|
16712 # as_fn_unset VAR
|
adam@0
|
16713 # ---------------
|
adam@0
|
16714 # Portably unset VAR.
|
adam@0
|
16715 as_fn_unset ()
|
adam@0
|
16716 {
|
adam@0
|
16717 { eval $1=; unset $1;}
|
adam@0
|
16718 }
|
adam@0
|
16719 as_unset=as_fn_unset
|
adam@0
|
16720 # as_fn_append VAR VALUE
|
adam@0
|
16721 # ----------------------
|
adam@0
|
16722 # Append the text in VALUE to the end of the definition contained in VAR. Take
|
adam@0
|
16723 # advantage of any shell optimizations that allow amortized linear growth over
|
adam@0
|
16724 # repeated appends, instead of the typical quadratic growth present in naive
|
adam@0
|
16725 # implementations.
|
adam@0
|
16726 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
adam@0
|
16727 eval 'as_fn_append ()
|
adam@0
|
16728 {
|
adam@0
|
16729 eval $1+=\$2
|
adam@0
|
16730 }'
|
adam@0
|
16731 else
|
adam@0
|
16732 as_fn_append ()
|
adam@0
|
16733 {
|
adam@0
|
16734 eval $1=\$$1\$2
|
adam@0
|
16735 }
|
adam@0
|
16736 fi # as_fn_append
|
adam@0
|
16737
|
adam@0
|
16738 # as_fn_arith ARG...
|
adam@0
|
16739 # ------------------
|
adam@0
|
16740 # Perform arithmetic evaluation on the ARGs, and store the result in the
|
adam@0
|
16741 # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
adam@0
|
16742 # must be portable across $(()) and expr.
|
adam@0
|
16743 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
adam@0
|
16744 eval 'as_fn_arith ()
|
adam@0
|
16745 {
|
adam@0
|
16746 as_val=$(( $* ))
|
adam@0
|
16747 }'
|
adam@0
|
16748 else
|
adam@0
|
16749 as_fn_arith ()
|
adam@0
|
16750 {
|
adam@0
|
16751 as_val=`expr "$@" || test $? -eq 1`
|
adam@0
|
16752 }
|
adam@0
|
16753 fi # as_fn_arith
|
adam@0
|
16754
|
adam@0
|
16755
|
adam@0
|
16756 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adam@0
|
16757 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adam@0
|
16758 as_expr=expr
|
adam@0
|
16759 else
|
adam@0
|
16760 as_expr=false
|
adam@0
|
16761 fi
|
adam@0
|
16762
|
adam@0
|
16763 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
adam@0
|
16764 as_basename=basename
|
adam@0
|
16765 else
|
adam@0
|
16766 as_basename=false
|
adam@0
|
16767 fi
|
adam@0
|
16768
|
adam@0
|
16769 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
adam@0
|
16770 as_dirname=dirname
|
adam@0
|
16771 else
|
adam@0
|
16772 as_dirname=false
|
adam@0
|
16773 fi
|
adam@0
|
16774
|
adam@0
|
16775 as_me=`$as_basename -- "$0" ||
|
adam@0
|
16776 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
adam@0
|
16777 X"$0" : 'X\(//\)$' \| \
|
adam@0
|
16778 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
16779 $as_echo X/"$0" |
|
adam@0
|
16780 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
adam@0
|
16781 s//\1/
|
adam@0
|
16782 q
|
adam@0
|
16783 }
|
adam@0
|
16784 /^X\/\(\/\/\)$/{
|
adam@0
|
16785 s//\1/
|
adam@0
|
16786 q
|
adam@0
|
16787 }
|
adam@0
|
16788 /^X\/\(\/\).*/{
|
adam@0
|
16789 s//\1/
|
adam@0
|
16790 q
|
adam@0
|
16791 }
|
adam@0
|
16792 s/.*/./; q'`
|
adam@0
|
16793
|
adam@0
|
16794 # Avoid depending upon Character Ranges.
|
adam@0
|
16795 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
adam@0
|
16796 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
adam@0
|
16797 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
adam@0
|
16798 as_cr_digits='0123456789'
|
adam@0
|
16799 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
adam@0
|
16800
|
adam@0
|
16801 ECHO_C= ECHO_N= ECHO_T=
|
adam@0
|
16802 case `echo -n x` in #(((((
|
adam@0
|
16803 -n*)
|
adam@0
|
16804 case `echo 'xy\c'` in
|
adam@0
|
16805 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
adam@0
|
16806 xy) ECHO_C='\c';;
|
adam@0
|
16807 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
adam@0
|
16808 ECHO_T=' ';;
|
adam@0
|
16809 esac;;
|
adam@0
|
16810 *)
|
adam@0
|
16811 ECHO_N='-n';;
|
adam@0
|
16812 esac
|
adam@0
|
16813
|
adam@0
|
16814 rm -f conf$$ conf$$.exe conf$$.file
|
adam@0
|
16815 if test -d conf$$.dir; then
|
adam@0
|
16816 rm -f conf$$.dir/conf$$.file
|
adam@0
|
16817 else
|
adam@0
|
16818 rm -f conf$$.dir
|
adam@0
|
16819 mkdir conf$$.dir 2>/dev/null
|
adam@0
|
16820 fi
|
adam@0
|
16821 if (echo >conf$$.file) 2>/dev/null; then
|
adam@0
|
16822 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
16823 as_ln_s='ln -s'
|
adam@0
|
16824 # ... but there are two gotchas:
|
adam@0
|
16825 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
adam@0
|
16826 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
adam@0
|
16827 # In both cases, we have to default to `cp -p'.
|
adam@0
|
16828 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
adam@0
|
16829 as_ln_s='cp -p'
|
adam@0
|
16830 elif ln conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
16831 as_ln_s=ln
|
adam@0
|
16832 else
|
adam@0
|
16833 as_ln_s='cp -p'
|
adam@0
|
16834 fi
|
adam@0
|
16835 else
|
adam@0
|
16836 as_ln_s='cp -p'
|
adam@0
|
16837 fi
|
adam@0
|
16838 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
adam@0
|
16839 rmdir conf$$.dir 2>/dev/null
|
adam@0
|
16840
|
adam@0
|
16841
|
adam@0
|
16842 # as_fn_mkdir_p
|
adam@0
|
16843 # -------------
|
adam@0
|
16844 # Create "$as_dir" as a directory, including parents if necessary.
|
adam@0
|
16845 as_fn_mkdir_p ()
|
adam@0
|
16846 {
|
adam@0
|
16847
|
adam@0
|
16848 case $as_dir in #(
|
adam@0
|
16849 -*) as_dir=./$as_dir;;
|
adam@0
|
16850 esac
|
adam@0
|
16851 test -d "$as_dir" || eval $as_mkdir_p || {
|
adam@0
|
16852 as_dirs=
|
adam@0
|
16853 while :; do
|
adam@0
|
16854 case $as_dir in #(
|
adam@0
|
16855 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
adam@0
|
16856 *) as_qdir=$as_dir;;
|
adam@0
|
16857 esac
|
adam@0
|
16858 as_dirs="'$as_qdir' $as_dirs"
|
adam@0
|
16859 as_dir=`$as_dirname -- "$as_dir" ||
|
adam@0
|
16860 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
16861 X"$as_dir" : 'X\(//\)[^/]' \| \
|
adam@0
|
16862 X"$as_dir" : 'X\(//\)$' \| \
|
adam@0
|
16863 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
16864 $as_echo X"$as_dir" |
|
adam@0
|
16865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
16866 s//\1/
|
adam@0
|
16867 q
|
adam@0
|
16868 }
|
adam@0
|
16869 /^X\(\/\/\)[^/].*/{
|
adam@0
|
16870 s//\1/
|
adam@0
|
16871 q
|
adam@0
|
16872 }
|
adam@0
|
16873 /^X\(\/\/\)$/{
|
adam@0
|
16874 s//\1/
|
adam@0
|
16875 q
|
adam@0
|
16876 }
|
adam@0
|
16877 /^X\(\/\).*/{
|
adam@0
|
16878 s//\1/
|
adam@0
|
16879 q
|
adam@0
|
16880 }
|
adam@0
|
16881 s/.*/./; q'`
|
adam@0
|
16882 test -d "$as_dir" && break
|
adam@0
|
16883 done
|
adam@0
|
16884 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
adam@0
|
16885 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
adam@0
|
16886
|
adam@0
|
16887
|
adam@0
|
16888 } # as_fn_mkdir_p
|
adam@0
|
16889 if mkdir -p . 2>/dev/null; then
|
adam@0
|
16890 as_mkdir_p='mkdir -p "$as_dir"'
|
adam@0
|
16891 else
|
adam@0
|
16892 test -d ./-p && rmdir ./-p
|
adam@0
|
16893 as_mkdir_p=false
|
adam@0
|
16894 fi
|
adam@0
|
16895
|
adam@0
|
16896 if test -x / >/dev/null 2>&1; then
|
adam@0
|
16897 as_test_x='test -x'
|
adam@0
|
16898 else
|
adam@0
|
16899 if ls -dL / >/dev/null 2>&1; then
|
adam@0
|
16900 as_ls_L_option=L
|
adam@0
|
16901 else
|
adam@0
|
16902 as_ls_L_option=
|
adam@0
|
16903 fi
|
adam@0
|
16904 as_test_x='
|
adam@0
|
16905 eval sh -c '\''
|
adam@0
|
16906 if test -d "$1"; then
|
adam@0
|
16907 test -d "$1/.";
|
adam@0
|
16908 else
|
adam@0
|
16909 case $1 in #(
|
adam@0
|
16910 -*)set "./$1";;
|
adam@0
|
16911 esac;
|
adam@0
|
16912 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
adam@0
|
16913 ???[sx]*):;;*)false;;esac;fi
|
adam@0
|
16914 '\'' sh
|
adam@0
|
16915 '
|
adam@0
|
16916 fi
|
adam@0
|
16917 as_executable_p=$as_test_x
|
adam@0
|
16918
|
adam@0
|
16919 # Sed expression to map a string onto a valid CPP name.
|
adam@0
|
16920 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
16921
|
adam@0
|
16922 # Sed expression to map a string onto a valid variable name.
|
adam@0
|
16923 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
16924
|
adam@0
|
16925
|
adam@0
|
16926 exec 6>&1
|
adam@0
|
16927 ## ----------------------------------- ##
|
adam@0
|
16928 ## Main body of $CONFIG_STATUS script. ##
|
adam@0
|
16929 ## ----------------------------------- ##
|
adam@0
|
16930 _ASEOF
|
adam@0
|
16931 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
adam@0
|
16932
|
adam@0
|
16933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
16934 # Save the log message, to keep $0 and so on meaningful, and to
|
adam@0
|
16935 # report actual input values of CONFIG_FILES etc. instead of their
|
adam@0
|
16936 # values after options handling.
|
adam@0
|
16937 ac_log="
|
adam@0
|
16938 This file was extended by urweb_openid $as_me 1.0, which was
|
adam@64
|
16939 generated by GNU Autoconf 2.67. Invocation command line was
|
adam@0
|
16940
|
adam@0
|
16941 CONFIG_FILES = $CONFIG_FILES
|
adam@0
|
16942 CONFIG_HEADERS = $CONFIG_HEADERS
|
adam@0
|
16943 CONFIG_LINKS = $CONFIG_LINKS
|
adam@0
|
16944 CONFIG_COMMANDS = $CONFIG_COMMANDS
|
adam@0
|
16945 $ $0 $@
|
adam@0
|
16946
|
adam@0
|
16947 on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
adam@0
|
16948 "
|
adam@0
|
16949
|
adam@0
|
16950 _ACEOF
|
adam@0
|
16951
|
adam@0
|
16952 case $ac_config_files in *"
|
adam@0
|
16953 "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
adam@0
|
16954 esac
|
adam@0
|
16955
|
adam@0
|
16956
|
adam@0
|
16957
|
adam@0
|
16958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
16959 # Files that config.status was made for.
|
adam@0
|
16960 config_files="$ac_config_files"
|
adam@0
|
16961 config_commands="$ac_config_commands"
|
adam@0
|
16962
|
adam@0
|
16963 _ACEOF
|
adam@0
|
16964
|
adam@0
|
16965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
16966 ac_cs_usage="\
|
adam@0
|
16967 \`$as_me' instantiates files and other configuration actions
|
adam@0
|
16968 from templates according to the current configuration. Unless the files
|
adam@0
|
16969 and actions are specified as TAGs, all are instantiated by default.
|
adam@0
|
16970
|
adam@0
|
16971 Usage: $0 [OPTION]... [TAG]...
|
adam@0
|
16972
|
adam@0
|
16973 -h, --help print this help, then exit
|
adam@0
|
16974 -V, --version print version number and configuration settings, then exit
|
adam@0
|
16975 --config print configuration, then exit
|
adam@0
|
16976 -q, --quiet, --silent
|
adam@0
|
16977 do not print progress messages
|
adam@0
|
16978 -d, --debug don't remove temporary files
|
adam@0
|
16979 --recheck update $as_me by reconfiguring in the same conditions
|
adam@0
|
16980 --file=FILE[:TEMPLATE]
|
adam@0
|
16981 instantiate the configuration file FILE
|
adam@0
|
16982
|
adam@0
|
16983 Configuration files:
|
adam@0
|
16984 $config_files
|
adam@0
|
16985
|
adam@0
|
16986 Configuration commands:
|
adam@0
|
16987 $config_commands
|
adam@0
|
16988
|
adam@0
|
16989 Report bugs to the package provider."
|
adam@0
|
16990
|
adam@0
|
16991 _ACEOF
|
adam@0
|
16992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
16993 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
adam@0
|
16994 ac_cs_version="\\
|
adam@0
|
16995 urweb_openid config.status 1.0
|
adam@64
|
16996 configured by $0, generated by GNU Autoconf 2.67,
|
adam@0
|
16997 with options \\"\$ac_cs_config\\"
|
adam@0
|
16998
|
adam@0
|
16999 Copyright (C) 2010 Free Software Foundation, Inc.
|
adam@0
|
17000 This config.status script is free software; the Free Software Foundation
|
adam@0
|
17001 gives unlimited permission to copy, distribute and modify it."
|
adam@0
|
17002
|
adam@0
|
17003 ac_pwd='$ac_pwd'
|
adam@0
|
17004 srcdir='$srcdir'
|
adam@0
|
17005 INSTALL='$INSTALL'
|
adam@0
|
17006 MKDIR_P='$MKDIR_P'
|
adam@0
|
17007 AWK='$AWK'
|
adam@0
|
17008 test -n "\$AWK" || AWK=awk
|
adam@0
|
17009 _ACEOF
|
adam@0
|
17010
|
adam@0
|
17011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
17012 # The default lists apply if the user does not specify any file.
|
adam@0
|
17013 ac_need_defaults=:
|
adam@0
|
17014 while test $# != 0
|
adam@0
|
17015 do
|
adam@0
|
17016 case $1 in
|
adam@0
|
17017 --*=?*)
|
adam@0
|
17018 ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
adam@0
|
17019 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
adam@0
|
17020 ac_shift=:
|
adam@0
|
17021 ;;
|
adam@0
|
17022 --*=)
|
adam@0
|
17023 ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
adam@0
|
17024 ac_optarg=
|
adam@0
|
17025 ac_shift=:
|
adam@0
|
17026 ;;
|
adam@0
|
17027 *)
|
adam@0
|
17028 ac_option=$1
|
adam@0
|
17029 ac_optarg=$2
|
adam@0
|
17030 ac_shift=shift
|
adam@0
|
17031 ;;
|
adam@0
|
17032 esac
|
adam@0
|
17033
|
adam@0
|
17034 case $ac_option in
|
adam@0
|
17035 # Handling of the options.
|
adam@0
|
17036 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
adam@0
|
17037 ac_cs_recheck=: ;;
|
adam@0
|
17038 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
adam@0
|
17039 $as_echo "$ac_cs_version"; exit ;;
|
adam@0
|
17040 --config | --confi | --conf | --con | --co | --c )
|
adam@0
|
17041 $as_echo "$ac_cs_config"; exit ;;
|
adam@0
|
17042 --debug | --debu | --deb | --de | --d | -d )
|
adam@0
|
17043 debug=: ;;
|
adam@0
|
17044 --file | --fil | --fi | --f )
|
adam@0
|
17045 $ac_shift
|
adam@0
|
17046 case $ac_optarg in
|
adam@0
|
17047 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adam@0
|
17048 '') as_fn_error $? "missing file argument" ;;
|
adam@0
|
17049 esac
|
adam@0
|
17050 as_fn_append CONFIG_FILES " '$ac_optarg'"
|
adam@0
|
17051 ac_need_defaults=false;;
|
adam@0
|
17052 --he | --h | --help | --hel | -h )
|
adam@0
|
17053 $as_echo "$ac_cs_usage"; exit ;;
|
adam@0
|
17054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adam@0
|
17055 | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
adam@0
|
17056 ac_cs_silent=: ;;
|
adam@0
|
17057
|
adam@0
|
17058 # This is an error.
|
adam@0
|
17059 -*) as_fn_error $? "unrecognized option: \`$1'
|
adam@0
|
17060 Try \`$0 --help' for more information." ;;
|
adam@0
|
17061
|
adam@0
|
17062 *) as_fn_append ac_config_targets " $1"
|
adam@0
|
17063 ac_need_defaults=false ;;
|
adam@0
|
17064
|
adam@0
|
17065 esac
|
adam@0
|
17066 shift
|
adam@0
|
17067 done
|
adam@0
|
17068
|
adam@0
|
17069 ac_configure_extra_args=
|
adam@0
|
17070
|
adam@0
|
17071 if $ac_cs_silent; then
|
adam@0
|
17072 exec 6>/dev/null
|
adam@0
|
17073 ac_configure_extra_args="$ac_configure_extra_args --silent"
|
adam@0
|
17074 fi
|
adam@0
|
17075
|
adam@0
|
17076 _ACEOF
|
adam@0
|
17077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
17078 if \$ac_cs_recheck; then
|
adam@0
|
17079 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
adam@0
|
17080 shift
|
adam@0
|
17081 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
adam@0
|
17082 CONFIG_SHELL='$SHELL'
|
adam@0
|
17083 export CONFIG_SHELL
|
adam@0
|
17084 exec "\$@"
|
adam@0
|
17085 fi
|
adam@0
|
17086
|
adam@0
|
17087 _ACEOF
|
adam@0
|
17088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
17089 exec 5>>config.log
|
adam@0
|
17090 {
|
adam@0
|
17091 echo
|
adam@0
|
17092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
adam@0
|
17093 ## Running $as_me. ##
|
adam@0
|
17094 _ASBOX
|
adam@0
|
17095 $as_echo "$ac_log"
|
adam@0
|
17096 } >&5
|
adam@0
|
17097
|
adam@0
|
17098 _ACEOF
|
adam@0
|
17099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
17100 #
|
adam@0
|
17101 # INIT-COMMANDS
|
adam@0
|
17102 #
|
adam@0
|
17103 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
adam@0
|
17104
|
adam@0
|
17105
|
adam@0
|
17106 # The HP-UX ksh and POSIX shell print the target directory to stdout
|
adam@0
|
17107 # if CDPATH is set.
|
adam@0
|
17108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
adam@0
|
17109
|
adam@0
|
17110 sed_quote_subst='$sed_quote_subst'
|
adam@0
|
17111 double_quote_subst='$double_quote_subst'
|
adam@0
|
17112 delay_variable_subst='$delay_variable_subst'
|
adam@47
|
17113 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17114 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17115 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17116 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17117 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17118 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17119 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17120 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17121 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17122 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17123 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17124 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17125 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17126 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17127 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17128 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17129 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17130 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17131 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17132 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17133 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17134 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17135 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17136 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17137 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17138 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17139 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17140 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17141 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17142 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17143 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17144 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17145 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17146 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17147 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17148 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17149 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17150 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17151 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17152 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17153 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17154 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17155 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17156 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17157 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17158 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17159 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17160 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17161 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17162 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17163 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17164 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17165 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17166 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17167 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17168 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17169 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17170 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17171 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17172 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17173 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17174 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17175 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17176 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17177 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17178 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17179 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17180 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17181 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17182 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17183 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17184 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17185 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17186 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17187 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17188 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17189 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17190 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17191 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17192 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17193 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17194 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17195 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17196 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17197 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17198 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17199 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17200 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17201 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17202 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17203 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17204 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17205 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17206 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17207 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17208 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17209 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17210 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17211 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17212 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17213 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17214 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17215 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17216 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17217 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17218 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17219 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17220 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17221 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17222 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17223 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17224 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17225 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17226 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17227 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17228 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17229 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17230 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17231 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17232 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17233 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17234 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17235 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17236 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17237 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17238 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17239 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17240 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17241 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17242 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17243 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17244 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17245 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17246 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17247 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17248 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17249 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17250 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17251 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17252 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17253 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17254 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17255 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17256 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17257 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17258 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17259 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17260 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17261 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17262 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17263 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17264 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17265 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17266 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17267 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17268 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17269 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17270 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17271 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17272 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17273 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17274 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17275 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17276 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17277 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17278 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17279 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17280 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17281 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17282 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17283 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17284 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17285 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17286 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17287 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17288 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17289 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17290 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17291 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17292 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17293 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17294 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17295 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17296 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@47
|
17297 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
|
adam@0
|
17298
|
adam@0
|
17299 LTCC='$LTCC'
|
adam@0
|
17300 LTCFLAGS='$LTCFLAGS'
|
adam@0
|
17301 compiler='$compiler_DEFAULT'
|
adam@0
|
17302
|
adam@47
|
17303 # A function that is used when there is no print builtin or printf.
|
adam@47
|
17304 func_fallback_echo ()
|
adam@47
|
17305 {
|
adam@47
|
17306 eval 'cat <<_LTECHO_EOF
|
adam@47
|
17307 \$1
|
adam@47
|
17308 _LTECHO_EOF'
|
adam@47
|
17309 }
|
adam@47
|
17310
|
adam@0
|
17311 # Quote evaled strings.
|
adam@47
|
17312 for var in SHELL \
|
adam@47
|
17313 ECHO \
|
adam@47
|
17314 SED \
|
adam@0
|
17315 GREP \
|
adam@0
|
17316 EGREP \
|
adam@0
|
17317 FGREP \
|
adam@0
|
17318 LD \
|
adam@0
|
17319 NM \
|
adam@0
|
17320 LN_S \
|
adam@0
|
17321 lt_SP2NL \
|
adam@0
|
17322 lt_NL2SP \
|
adam@0
|
17323 reload_flag \
|
adam@0
|
17324 OBJDUMP \
|
adam@0
|
17325 deplibs_check_method \
|
adam@0
|
17326 file_magic_cmd \
|
adam@47
|
17327 file_magic_glob \
|
adam@47
|
17328 want_nocaseglob \
|
adam@47
|
17329 DLLTOOL \
|
adam@47
|
17330 sharedlib_from_linklib_cmd \
|
adam@0
|
17331 AR \
|
adam@0
|
17332 AR_FLAGS \
|
adam@47
|
17333 archiver_list_spec \
|
adam@0
|
17334 STRIP \
|
adam@0
|
17335 RANLIB \
|
adam@0
|
17336 CC \
|
adam@0
|
17337 CFLAGS \
|
adam@0
|
17338 compiler \
|
adam@0
|
17339 lt_cv_sys_global_symbol_pipe \
|
adam@0
|
17340 lt_cv_sys_global_symbol_to_cdecl \
|
adam@0
|
17341 lt_cv_sys_global_symbol_to_c_name_address \
|
adam@0
|
17342 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
|
adam@47
|
17343 nm_file_list_spec \
|
adam@0
|
17344 lt_prog_compiler_no_builtin_flag \
|
adam@47
|
17345 lt_prog_compiler_pic \
|
adam@0
|
17346 lt_prog_compiler_wl \
|
adam@0
|
17347 lt_prog_compiler_static \
|
adam@0
|
17348 lt_cv_prog_compiler_c_o \
|
adam@0
|
17349 need_locks \
|
adam@47
|
17350 MANIFEST_TOOL \
|
adam@0
|
17351 DSYMUTIL \
|
adam@0
|
17352 NMEDIT \
|
adam@0
|
17353 LIPO \
|
adam@0
|
17354 OTOOL \
|
adam@0
|
17355 OTOOL64 \
|
adam@0
|
17356 shrext_cmds \
|
adam@0
|
17357 export_dynamic_flag_spec \
|
adam@0
|
17358 whole_archive_flag_spec \
|
adam@0
|
17359 compiler_needs_object \
|
adam@0
|
17360 with_gnu_ld \
|
adam@0
|
17361 allow_undefined_flag \
|
adam@0
|
17362 no_undefined_flag \
|
adam@0
|
17363 hardcode_libdir_flag_spec \
|
adam@0
|
17364 hardcode_libdir_flag_spec_ld \
|
adam@0
|
17365 hardcode_libdir_separator \
|
adam@0
|
17366 exclude_expsyms \
|
adam@0
|
17367 include_expsyms \
|
adam@0
|
17368 file_list_spec \
|
adam@0
|
17369 variables_saved_for_relink \
|
adam@0
|
17370 libname_spec \
|
adam@0
|
17371 library_names_spec \
|
adam@0
|
17372 soname_spec \
|
adam@47
|
17373 install_override_mode \
|
adam@0
|
17374 finish_eval \
|
adam@0
|
17375 old_striplib \
|
adam@1
|
17376 striplib \
|
adam@1
|
17377 compiler_lib_search_dirs \
|
adam@1
|
17378 predep_objects \
|
adam@1
|
17379 postdep_objects \
|
adam@1
|
17380 predeps \
|
adam@1
|
17381 postdeps \
|
adam@1
|
17382 compiler_lib_search_path \
|
adam@1
|
17383 LD_CXX \
|
adam@47
|
17384 reload_flag_CXX \
|
adam@1
|
17385 compiler_CXX \
|
adam@1
|
17386 lt_prog_compiler_no_builtin_flag_CXX \
|
adam@47
|
17387 lt_prog_compiler_pic_CXX \
|
adam@1
|
17388 lt_prog_compiler_wl_CXX \
|
adam@1
|
17389 lt_prog_compiler_static_CXX \
|
adam@1
|
17390 lt_cv_prog_compiler_c_o_CXX \
|
adam@1
|
17391 export_dynamic_flag_spec_CXX \
|
adam@1
|
17392 whole_archive_flag_spec_CXX \
|
adam@1
|
17393 compiler_needs_object_CXX \
|
adam@1
|
17394 with_gnu_ld_CXX \
|
adam@1
|
17395 allow_undefined_flag_CXX \
|
adam@1
|
17396 no_undefined_flag_CXX \
|
adam@1
|
17397 hardcode_libdir_flag_spec_CXX \
|
adam@1
|
17398 hardcode_libdir_flag_spec_ld_CXX \
|
adam@1
|
17399 hardcode_libdir_separator_CXX \
|
adam@1
|
17400 exclude_expsyms_CXX \
|
adam@1
|
17401 include_expsyms_CXX \
|
adam@1
|
17402 file_list_spec_CXX \
|
adam@1
|
17403 compiler_lib_search_dirs_CXX \
|
adam@1
|
17404 predep_objects_CXX \
|
adam@1
|
17405 postdep_objects_CXX \
|
adam@1
|
17406 predeps_CXX \
|
adam@1
|
17407 postdeps_CXX \
|
adam@1
|
17408 compiler_lib_search_path_CXX; do
|
adam@47
|
17409 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
adam@0
|
17410 *[\\\\\\\`\\"\\\$]*)
|
adam@47
|
17411 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
|
adam@0
|
17412 ;;
|
adam@0
|
17413 *)
|
adam@0
|
17414 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
adam@0
|
17415 ;;
|
adam@0
|
17416 esac
|
adam@0
|
17417 done
|
adam@0
|
17418
|
adam@0
|
17419 # Double-quote double-evaled strings.
|
adam@0
|
17420 for var in reload_cmds \
|
adam@0
|
17421 old_postinstall_cmds \
|
adam@0
|
17422 old_postuninstall_cmds \
|
adam@0
|
17423 old_archive_cmds \
|
adam@0
|
17424 extract_expsyms_cmds \
|
adam@0
|
17425 old_archive_from_new_cmds \
|
adam@0
|
17426 old_archive_from_expsyms_cmds \
|
adam@0
|
17427 archive_cmds \
|
adam@0
|
17428 archive_expsym_cmds \
|
adam@0
|
17429 module_cmds \
|
adam@0
|
17430 module_expsym_cmds \
|
adam@0
|
17431 export_symbols_cmds \
|
adam@0
|
17432 prelink_cmds \
|
adam@47
|
17433 postlink_cmds \
|
adam@0
|
17434 postinstall_cmds \
|
adam@0
|
17435 postuninstall_cmds \
|
adam@0
|
17436 finish_cmds \
|
adam@0
|
17437 sys_lib_search_path_spec \
|
adam@1
|
17438 sys_lib_dlsearch_path_spec \
|
adam@47
|
17439 reload_cmds_CXX \
|
adam@1
|
17440 old_archive_cmds_CXX \
|
adam@1
|
17441 old_archive_from_new_cmds_CXX \
|
adam@1
|
17442 old_archive_from_expsyms_cmds_CXX \
|
adam@1
|
17443 archive_cmds_CXX \
|
adam@1
|
17444 archive_expsym_cmds_CXX \
|
adam@1
|
17445 module_cmds_CXX \
|
adam@1
|
17446 module_expsym_cmds_CXX \
|
adam@1
|
17447 export_symbols_cmds_CXX \
|
adam@47
|
17448 prelink_cmds_CXX \
|
adam@47
|
17449 postlink_cmds_CXX; do
|
adam@47
|
17450 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
adam@0
|
17451 *[\\\\\\\`\\"\\\$]*)
|
adam@47
|
17452 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
|
adam@0
|
17453 ;;
|
adam@0
|
17454 *)
|
adam@0
|
17455 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
adam@0
|
17456 ;;
|
adam@0
|
17457 esac
|
adam@0
|
17458 done
|
adam@0
|
17459
|
adam@0
|
17460 ac_aux_dir='$ac_aux_dir'
|
adam@0
|
17461 xsi_shell='$xsi_shell'
|
adam@0
|
17462 lt_shell_append='$lt_shell_append'
|
adam@0
|
17463
|
adam@0
|
17464 # See if we are running on zsh, and set the options which allow our
|
adam@0
|
17465 # commands through without removal of \ escapes INIT.
|
adam@0
|
17466 if test -n "\${ZSH_VERSION+set}" ; then
|
adam@0
|
17467 setopt NO_GLOB_SUBST
|
adam@0
|
17468 fi
|
adam@0
|
17469
|
adam@0
|
17470
|
adam@0
|
17471 PACKAGE='$PACKAGE'
|
adam@0
|
17472 VERSION='$VERSION'
|
adam@0
|
17473 TIMESTAMP='$TIMESTAMP'
|
adam@0
|
17474 RM='$RM'
|
adam@0
|
17475 ofile='$ofile'
|
adam@0
|
17476
|
adam@0
|
17477
|
adam@0
|
17478
|
adam@0
|
17479
|
adam@1
|
17480
|
adam@1
|
17481
|
adam@0
|
17482 _ACEOF
|
adam@0
|
17483
|
adam@0
|
17484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
17485
|
adam@0
|
17486 # Handling of arguments.
|
adam@0
|
17487 for ac_config_target in $ac_config_targets
|
adam@0
|
17488 do
|
adam@0
|
17489 case $ac_config_target in
|
adam@0
|
17490 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
adam@0
|
17491 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
adam@0
|
17492 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
adam@0
|
17493 "src/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/c/Makefile" ;;
|
adam@0
|
17494 "src/ur/config.urp") CONFIG_FILES="$CONFIG_FILES src/ur/config.urp" ;;
|
adam@0
|
17495
|
adam@64
|
17496 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
|
adam@0
|
17497 esac
|
adam@0
|
17498 done
|
adam@0
|
17499
|
adam@0
|
17500
|
adam@0
|
17501 # If the user did not use the arguments to specify the items to instantiate,
|
adam@0
|
17502 # then the envvar interface is used. Set only those that are not.
|
adam@0
|
17503 # We use the long form for the default assignment because of an extremely
|
adam@0
|
17504 # bizarre bug on SunOS 4.1.3.
|
adam@0
|
17505 if $ac_need_defaults; then
|
adam@0
|
17506 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
adam@0
|
17507 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
adam@0
|
17508 fi
|
adam@0
|
17509
|
adam@0
|
17510 # Have a temporary directory for convenience. Make it in the build tree
|
adam@0
|
17511 # simply because there is no reason against having it here, and in addition,
|
adam@0
|
17512 # creating and moving files from /tmp can sometimes cause problems.
|
adam@0
|
17513 # Hook for its removal unless debugging.
|
adam@0
|
17514 # Note that there is a small window in which the directory will not be cleaned:
|
adam@0
|
17515 # after its creation but before its name has been assigned to `$tmp'.
|
adam@0
|
17516 $debug ||
|
adam@0
|
17517 {
|
adam@64
|
17518 tmp=
|
adam@0
|
17519 trap 'exit_status=$?
|
adam@64
|
17520 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
adam@0
|
17521 ' 0
|
adam@0
|
17522 trap 'as_fn_exit 1' 1 2 13 15
|
adam@0
|
17523 }
|
adam@0
|
17524 # Create a (secure) tmp directory for tmp files.
|
adam@0
|
17525
|
adam@0
|
17526 {
|
adam@0
|
17527 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
adam@64
|
17528 test -n "$tmp" && test -d "$tmp"
|
adam@0
|
17529 } ||
|
adam@0
|
17530 {
|
adam@0
|
17531 tmp=./conf$$-$RANDOM
|
adam@0
|
17532 (umask 077 && mkdir "$tmp")
|
adam@0
|
17533 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
adam@0
|
17534
|
adam@0
|
17535 # Set up the scripts for CONFIG_FILES section.
|
adam@0
|
17536 # No need to generate them if there are no CONFIG_FILES.
|
adam@0
|
17537 # This happens for instance with `./config.status config.h'.
|
adam@0
|
17538 if test -n "$CONFIG_FILES"; then
|
adam@0
|
17539
|
adam@0
|
17540
|
adam@0
|
17541 ac_cr=`echo X | tr X '\015'`
|
adam@0
|
17542 # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
adam@0
|
17543 # But we know of no other shell where ac_cr would be empty at this
|
adam@0
|
17544 # point, so we can use a bashism as a fallback.
|
adam@0
|
17545 if test "x$ac_cr" = x; then
|
adam@0
|
17546 eval ac_cr=\$\'\\r\'
|
adam@0
|
17547 fi
|
adam@0
|
17548 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
adam@0
|
17549 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
adam@0
|
17550 ac_cs_awk_cr='\\r'
|
adam@0
|
17551 else
|
adam@0
|
17552 ac_cs_awk_cr=$ac_cr
|
adam@0
|
17553 fi
|
adam@0
|
17554
|
adam@64
|
17555 echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
adam@0
|
17556 _ACEOF
|
adam@0
|
17557
|
adam@0
|
17558
|
adam@0
|
17559 {
|
adam@0
|
17560 echo "cat >conf$$subs.awk <<_ACEOF" &&
|
adam@0
|
17561 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
adam@0
|
17562 echo "_ACEOF"
|
adam@0
|
17563 } >conf$$subs.sh ||
|
adam@0
|
17564 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
17565 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
adam@0
|
17566 ac_delim='%!_!# '
|
adam@0
|
17567 for ac_last_try in false false false false false :; do
|
adam@0
|
17568 . ./conf$$subs.sh ||
|
adam@0
|
17569 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
17570
|
adam@0
|
17571 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
adam@0
|
17572 if test $ac_delim_n = $ac_delim_num; then
|
adam@0
|
17573 break
|
adam@0
|
17574 elif $ac_last_try; then
|
adam@0
|
17575 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
17576 else
|
adam@0
|
17577 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
adam@0
|
17578 fi
|
adam@0
|
17579 done
|
adam@0
|
17580 rm -f conf$$subs.sh
|
adam@0
|
17581
|
adam@0
|
17582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@64
|
17583 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
adam@0
|
17584 _ACEOF
|
adam@0
|
17585 sed -n '
|
adam@0
|
17586 h
|
adam@0
|
17587 s/^/S["/; s/!.*/"]=/
|
adam@0
|
17588 p
|
adam@0
|
17589 g
|
adam@0
|
17590 s/^[^!]*!//
|
adam@0
|
17591 :repl
|
adam@0
|
17592 t repl
|
adam@0
|
17593 s/'"$ac_delim"'$//
|
adam@0
|
17594 t delim
|
adam@0
|
17595 :nl
|
adam@0
|
17596 h
|
adam@0
|
17597 s/\(.\{148\}\)..*/\1/
|
adam@0
|
17598 t more1
|
adam@0
|
17599 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
adam@0
|
17600 p
|
adam@0
|
17601 n
|
adam@0
|
17602 b repl
|
adam@0
|
17603 :more1
|
adam@0
|
17604 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
adam@0
|
17605 p
|
adam@0
|
17606 g
|
adam@0
|
17607 s/.\{148\}//
|
adam@0
|
17608 t nl
|
adam@0
|
17609 :delim
|
adam@0
|
17610 h
|
adam@0
|
17611 s/\(.\{148\}\)..*/\1/
|
adam@0
|
17612 t more2
|
adam@0
|
17613 s/["\\]/\\&/g; s/^/"/; s/$/"/
|
adam@0
|
17614 p
|
adam@0
|
17615 b
|
adam@0
|
17616 :more2
|
adam@0
|
17617 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
adam@0
|
17618 p
|
adam@0
|
17619 g
|
adam@0
|
17620 s/.\{148\}//
|
adam@0
|
17621 t delim
|
adam@0
|
17622 ' <conf$$subs.awk | sed '
|
adam@0
|
17623 /^[^""]/{
|
adam@0
|
17624 N
|
adam@0
|
17625 s/\n//
|
adam@0
|
17626 }
|
adam@0
|
17627 ' >>$CONFIG_STATUS || ac_write_fail=1
|
adam@0
|
17628 rm -f conf$$subs.awk
|
adam@0
|
17629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
17630 _ACAWK
|
adam@64
|
17631 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
adam@0
|
17632 for (key in S) S_is_set[key] = 1
|
adam@0
|
17633 FS = ""
|
adam@0
|
17634
|
adam@0
|
17635 }
|
adam@0
|
17636 {
|
adam@0
|
17637 line = $ 0
|
adam@0
|
17638 nfields = split(line, field, "@")
|
adam@0
|
17639 substed = 0
|
adam@0
|
17640 len = length(field[1])
|
adam@0
|
17641 for (i = 2; i < nfields; i++) {
|
adam@0
|
17642 key = field[i]
|
adam@0
|
17643 keylen = length(key)
|
adam@0
|
17644 if (S_is_set[key]) {
|
adam@0
|
17645 value = S[key]
|
adam@0
|
17646 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
adam@0
|
17647 len += length(value) + length(field[++i])
|
adam@0
|
17648 substed = 1
|
adam@0
|
17649 } else
|
adam@0
|
17650 len += 1 + keylen
|
adam@0
|
17651 }
|
adam@0
|
17652
|
adam@0
|
17653 print line
|
adam@0
|
17654 }
|
adam@0
|
17655
|
adam@0
|
17656 _ACAWK
|
adam@0
|
17657 _ACEOF
|
adam@0
|
17658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
17659 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
adam@0
|
17660 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
adam@0
|
17661 else
|
adam@0
|
17662 cat
|
adam@64
|
17663 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
adam@0
|
17664 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
adam@0
|
17665 _ACEOF
|
adam@0
|
17666
|
adam@0
|
17667 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
adam@0
|
17668 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
adam@0
|
17669 # trailing colons and then remove the whole line if VPATH becomes empty
|
adam@0
|
17670 # (actually we leave an empty line to preserve line numbers).
|
adam@0
|
17671 if test "x$srcdir" = x.; then
|
adam@0
|
17672 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
adam@0
|
17673 h
|
adam@0
|
17674 s///
|
adam@0
|
17675 s/^/:/
|
adam@0
|
17676 s/[ ]*$/:/
|
adam@0
|
17677 s/:\$(srcdir):/:/g
|
adam@0
|
17678 s/:\${srcdir}:/:/g
|
adam@0
|
17679 s/:@srcdir@:/:/g
|
adam@0
|
17680 s/^:*//
|
adam@0
|
17681 s/:*$//
|
adam@0
|
17682 x
|
adam@0
|
17683 s/\(=[ ]*\).*/\1/
|
adam@0
|
17684 G
|
adam@0
|
17685 s/\n//
|
adam@0
|
17686 s/^[^=]*=[ ]*$//
|
adam@0
|
17687 }'
|
adam@0
|
17688 fi
|
adam@0
|
17689
|
adam@0
|
17690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
17691 fi # test -n "$CONFIG_FILES"
|
adam@0
|
17692
|
adam@0
|
17693
|
adam@0
|
17694 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
|
adam@0
|
17695 shift
|
adam@0
|
17696 for ac_tag
|
adam@0
|
17697 do
|
adam@0
|
17698 case $ac_tag in
|
adam@0
|
17699 :[FHLC]) ac_mode=$ac_tag; continue;;
|
adam@0
|
17700 esac
|
adam@0
|
17701 case $ac_mode$ac_tag in
|
adam@0
|
17702 :[FHL]*:*);;
|
adam@64
|
17703 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
|
adam@0
|
17704 :[FH]-) ac_tag=-:-;;
|
adam@0
|
17705 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
adam@0
|
17706 esac
|
adam@0
|
17707 ac_save_IFS=$IFS
|
adam@0
|
17708 IFS=:
|
adam@0
|
17709 set x $ac_tag
|
adam@0
|
17710 IFS=$ac_save_IFS
|
adam@0
|
17711 shift
|
adam@0
|
17712 ac_file=$1
|
adam@0
|
17713 shift
|
adam@0
|
17714
|
adam@0
|
17715 case $ac_mode in
|
adam@0
|
17716 :L) ac_source=$1;;
|
adam@0
|
17717 :[FH])
|
adam@0
|
17718 ac_file_inputs=
|
adam@0
|
17719 for ac_f
|
adam@0
|
17720 do
|
adam@0
|
17721 case $ac_f in
|
adam@64
|
17722 -) ac_f="$tmp/stdin";;
|
adam@0
|
17723 *) # Look for the file first in the build tree, then in the source tree
|
adam@0
|
17724 # (if the path is not absolute). The absolute path cannot be DOS-style,
|
adam@0
|
17725 # because $ac_f cannot contain `:'.
|
adam@0
|
17726 test -f "$ac_f" ||
|
adam@0
|
17727 case $ac_f in
|
adam@0
|
17728 [\\/$]*) false;;
|
adam@0
|
17729 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
adam@0
|
17730 esac ||
|
adam@64
|
17731 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
|
adam@0
|
17732 esac
|
adam@0
|
17733 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
adam@0
|
17734 as_fn_append ac_file_inputs " '$ac_f'"
|
adam@0
|
17735 done
|
adam@0
|
17736
|
adam@0
|
17737 # Let's still pretend it is `configure' which instantiates (i.e., don't
|
adam@0
|
17738 # use $as_me), people would be surprised to read:
|
adam@0
|
17739 # /* config.h. Generated by config.status. */
|
adam@0
|
17740 configure_input='Generated from '`
|
adam@0
|
17741 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
adam@0
|
17742 `' by configure.'
|
adam@0
|
17743 if test x"$ac_file" != x-; then
|
adam@0
|
17744 configure_input="$ac_file. $configure_input"
|
adam@0
|
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
adam@0
|
17746 $as_echo "$as_me: creating $ac_file" >&6;}
|
adam@0
|
17747 fi
|
adam@0
|
17748 # Neutralize special characters interpreted by sed in replacement strings.
|
adam@0
|
17749 case $configure_input in #(
|
adam@0
|
17750 *\&* | *\|* | *\\* )
|
adam@0
|
17751 ac_sed_conf_input=`$as_echo "$configure_input" |
|
adam@0
|
17752 sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
adam@0
|
17753 *) ac_sed_conf_input=$configure_input;;
|
adam@0
|
17754 esac
|
adam@0
|
17755
|
adam@0
|
17756 case $ac_tag in
|
adam@64
|
17757 *:-:* | *:-) cat >"$tmp/stdin" \
|
adam@64
|
17758 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
adam@0
|
17759 esac
|
adam@0
|
17760 ;;
|
adam@0
|
17761 esac
|
adam@0
|
17762
|
adam@0
|
17763 ac_dir=`$as_dirname -- "$ac_file" ||
|
adam@0
|
17764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
17765 X"$ac_file" : 'X\(//\)[^/]' \| \
|
adam@0
|
17766 X"$ac_file" : 'X\(//\)$' \| \
|
adam@0
|
17767 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
17768 $as_echo X"$ac_file" |
|
adam@0
|
17769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
17770 s//\1/
|
adam@0
|
17771 q
|
adam@0
|
17772 }
|
adam@0
|
17773 /^X\(\/\/\)[^/].*/{
|
adam@0
|
17774 s//\1/
|
adam@0
|
17775 q
|
adam@0
|
17776 }
|
adam@0
|
17777 /^X\(\/\/\)$/{
|
adam@0
|
17778 s//\1/
|
adam@0
|
17779 q
|
adam@0
|
17780 }
|
adam@0
|
17781 /^X\(\/\).*/{
|
adam@0
|
17782 s//\1/
|
adam@0
|
17783 q
|
adam@0
|
17784 }
|
adam@0
|
17785 s/.*/./; q'`
|
adam@0
|
17786 as_dir="$ac_dir"; as_fn_mkdir_p
|
adam@0
|
17787 ac_builddir=.
|
adam@0
|
17788
|
adam@0
|
17789 case "$ac_dir" in
|
adam@0
|
17790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
17791 *)
|
adam@0
|
17792 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
adam@0
|
17793 # A ".." for each directory in $ac_dir_suffix.
|
adam@0
|
17794 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
adam@0
|
17795 case $ac_top_builddir_sub in
|
adam@0
|
17796 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
17797 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
adam@0
|
17798 esac ;;
|
adam@0
|
17799 esac
|
adam@0
|
17800 ac_abs_top_builddir=$ac_pwd
|
adam@0
|
17801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
adam@0
|
17802 # for backward compatibility:
|
adam@0
|
17803 ac_top_builddir=$ac_top_build_prefix
|
adam@0
|
17804
|
adam@0
|
17805 case $srcdir in
|
adam@0
|
17806 .) # We are building in place.
|
adam@0
|
17807 ac_srcdir=.
|
adam@0
|
17808 ac_top_srcdir=$ac_top_builddir_sub
|
adam@0
|
17809 ac_abs_top_srcdir=$ac_pwd ;;
|
adam@0
|
17810 [\\/]* | ?:[\\/]* ) # Absolute name.
|
adam@0
|
17811 ac_srcdir=$srcdir$ac_dir_suffix;
|
adam@0
|
17812 ac_top_srcdir=$srcdir
|
adam@0
|
17813 ac_abs_top_srcdir=$srcdir ;;
|
adam@0
|
17814 *) # Relative name.
|
adam@0
|
17815 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
adam@0
|
17816 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
adam@0
|
17817 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
adam@0
|
17818 esac
|
adam@0
|
17819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
adam@0
|
17820
|
adam@0
|
17821
|
adam@0
|
17822 case $ac_mode in
|
adam@0
|
17823 :F)
|
adam@0
|
17824 #
|
adam@0
|
17825 # CONFIG_FILE
|
adam@0
|
17826 #
|
adam@0
|
17827
|
adam@0
|
17828 case $INSTALL in
|
adam@0
|
17829 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
adam@0
|
17830 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
adam@0
|
17831 esac
|
adam@0
|
17832 ac_MKDIR_P=$MKDIR_P
|
adam@0
|
17833 case $MKDIR_P in
|
adam@0
|
17834 [\\/$]* | ?:[\\/]* ) ;;
|
adam@0
|
17835 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
adam@0
|
17836 esac
|
adam@0
|
17837 _ACEOF
|
adam@0
|
17838
|
adam@0
|
17839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
17840 # If the template does not know about datarootdir, expand it.
|
adam@0
|
17841 # FIXME: This hack should be removed a few years after 2.60.
|
adam@0
|
17842 ac_datarootdir_hack=; ac_datarootdir_seen=
|
adam@0
|
17843 ac_sed_dataroot='
|
adam@0
|
17844 /datarootdir/ {
|
adam@0
|
17845 p
|
adam@0
|
17846 q
|
adam@0
|
17847 }
|
adam@0
|
17848 /@datadir@/p
|
adam@0
|
17849 /@docdir@/p
|
adam@0
|
17850 /@infodir@/p
|
adam@0
|
17851 /@localedir@/p
|
adam@0
|
17852 /@mandir@/p'
|
adam@0
|
17853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
adam@0
|
17854 *datarootdir*) ac_datarootdir_seen=yes;;
|
adam@0
|
17855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
adam@0
|
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
adam@0
|
17857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
adam@0
|
17858 _ACEOF
|
adam@0
|
17859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
17860 ac_datarootdir_hack='
|
adam@0
|
17861 s&@datadir@&$datadir&g
|
adam@0
|
17862 s&@docdir@&$docdir&g
|
adam@0
|
17863 s&@infodir@&$infodir&g
|
adam@0
|
17864 s&@localedir@&$localedir&g
|
adam@0
|
17865 s&@mandir@&$mandir&g
|
adam@0
|
17866 s&\\\${datarootdir}&$datarootdir&g' ;;
|
adam@0
|
17867 esac
|
adam@0
|
17868 _ACEOF
|
adam@0
|
17869
|
adam@0
|
17870 # Neutralize VPATH when `$srcdir' = `.'.
|
adam@0
|
17871 # Shell code in configure.ac might set extrasub.
|
adam@0
|
17872 # FIXME: do we really want to maintain this feature?
|
adam@0
|
17873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
17874 ac_sed_extra="$ac_vpsub
|
adam@0
|
17875 $extrasub
|
adam@0
|
17876 _ACEOF
|
adam@0
|
17877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
17878 :t
|
adam@0
|
17879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
adam@0
|
17880 s|@configure_input@|$ac_sed_conf_input|;t t
|
adam@0
|
17881 s&@top_builddir@&$ac_top_builddir_sub&;t t
|
adam@0
|
17882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
adam@0
|
17883 s&@srcdir@&$ac_srcdir&;t t
|
adam@0
|
17884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
adam@0
|
17885 s&@top_srcdir@&$ac_top_srcdir&;t t
|
adam@0
|
17886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
adam@0
|
17887 s&@builddir@&$ac_builddir&;t t
|
adam@0
|
17888 s&@abs_builddir@&$ac_abs_builddir&;t t
|
adam@0
|
17889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
adam@0
|
17890 s&@INSTALL@&$ac_INSTALL&;t t
|
adam@0
|
17891 s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
adam@0
|
17892 $ac_datarootdir_hack
|
adam@0
|
17893 "
|
adam@64
|
17894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
adam@64
|
17895 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
adam@0
|
17896
|
adam@0
|
17897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
adam@64
|
17898 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
adam@64
|
17899 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
adam@0
|
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
adam@0
|
17901 which seems to be undefined. Please make sure it is defined" >&5
|
adam@0
|
17902 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
adam@0
|
17903 which seems to be undefined. Please make sure it is defined" >&2;}
|
adam@0
|
17904
|
adam@64
|
17905 rm -f "$tmp/stdin"
|
adam@0
|
17906 case $ac_file in
|
adam@64
|
17907 -) cat "$tmp/out" && rm -f "$tmp/out";;
|
adam@64
|
17908 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
adam@0
|
17909 esac \
|
adam@0
|
17910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
adam@0
|
17911 ;;
|
adam@0
|
17912
|
adam@0
|
17913
|
adam@0
|
17914 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
adam@0
|
17915 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
adam@0
|
17916 ;;
|
adam@0
|
17917 esac
|
adam@0
|
17918
|
adam@0
|
17919
|
adam@0
|
17920 case $ac_file$ac_mode in
|
adam@0
|
17921 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
adam@0
|
17922 # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
adam@0
|
17923 # are listed without --file. Let's play safe and only enable the eval
|
adam@0
|
17924 # if we detect the quoting.
|
adam@0
|
17925 case $CONFIG_FILES in
|
adam@0
|
17926 *\'*) eval set x "$CONFIG_FILES" ;;
|
adam@0
|
17927 *) set x $CONFIG_FILES ;;
|
adam@0
|
17928 esac
|
adam@0
|
17929 shift
|
adam@0
|
17930 for mf
|
adam@0
|
17931 do
|
adam@0
|
17932 # Strip MF so we end up with the name of the file.
|
adam@0
|
17933 mf=`echo "$mf" | sed -e 's/:.*$//'`
|
adam@0
|
17934 # Check whether this is an Automake generated Makefile or not.
|
adam@0
|
17935 # We used to match only the files named `Makefile.in', but
|
adam@0
|
17936 # some people rename them; so instead we look at the file content.
|
adam@0
|
17937 # Grep'ing the first line is not enough: some people post-process
|
adam@0
|
17938 # each Makefile.in and add a new line on top of each file to say so.
|
adam@0
|
17939 # Grep'ing the whole file is not good either: AIX grep has a line
|
adam@0
|
17940 # limit of 2048, but all sed's we know have understand at least 4000.
|
adam@0
|
17941 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
adam@0
|
17942 dirpart=`$as_dirname -- "$mf" ||
|
adam@0
|
17943 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
17944 X"$mf" : 'X\(//\)[^/]' \| \
|
adam@0
|
17945 X"$mf" : 'X\(//\)$' \| \
|
adam@0
|
17946 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
17947 $as_echo X"$mf" |
|
adam@0
|
17948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
17949 s//\1/
|
adam@0
|
17950 q
|
adam@0
|
17951 }
|
adam@0
|
17952 /^X\(\/\/\)[^/].*/{
|
adam@0
|
17953 s//\1/
|
adam@0
|
17954 q
|
adam@0
|
17955 }
|
adam@0
|
17956 /^X\(\/\/\)$/{
|
adam@0
|
17957 s//\1/
|
adam@0
|
17958 q
|
adam@0
|
17959 }
|
adam@0
|
17960 /^X\(\/\).*/{
|
adam@0
|
17961 s//\1/
|
adam@0
|
17962 q
|
adam@0
|
17963 }
|
adam@0
|
17964 s/.*/./; q'`
|
adam@0
|
17965 else
|
adam@0
|
17966 continue
|
adam@0
|
17967 fi
|
adam@0
|
17968 # Extract the definition of DEPDIR, am__include, and am__quote
|
adam@0
|
17969 # from the Makefile without running `make'.
|
adam@0
|
17970 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
adam@0
|
17971 test -z "$DEPDIR" && continue
|
adam@0
|
17972 am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
adam@0
|
17973 test -z "am__include" && continue
|
adam@0
|
17974 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
adam@0
|
17975 # When using ansi2knr, U may be empty or an underscore; expand it
|
adam@0
|
17976 U=`sed -n 's/^U = //p' < "$mf"`
|
adam@0
|
17977 # Find all dependency output files, they are included files with
|
adam@0
|
17978 # $(DEPDIR) in their names. We invoke sed twice because it is the
|
adam@0
|
17979 # simplest approach to changing $(DEPDIR) to its actual value in the
|
adam@0
|
17980 # expansion.
|
adam@0
|
17981 for file in `sed -n "
|
adam@0
|
17982 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
adam@0
|
17983 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
adam@0
|
17984 # Make sure the directory exists.
|
adam@0
|
17985 test -f "$dirpart/$file" && continue
|
adam@0
|
17986 fdir=`$as_dirname -- "$file" ||
|
adam@0
|
17987 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
17988 X"$file" : 'X\(//\)[^/]' \| \
|
adam@0
|
17989 X"$file" : 'X\(//\)$' \| \
|
adam@0
|
17990 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
17991 $as_echo X"$file" |
|
adam@0
|
17992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
17993 s//\1/
|
adam@0
|
17994 q
|
adam@0
|
17995 }
|
adam@0
|
17996 /^X\(\/\/\)[^/].*/{
|
adam@0
|
17997 s//\1/
|
adam@0
|
17998 q
|
adam@0
|
17999 }
|
adam@0
|
18000 /^X\(\/\/\)$/{
|
adam@0
|
18001 s//\1/
|
adam@0
|
18002 q
|
adam@0
|
18003 }
|
adam@0
|
18004 /^X\(\/\).*/{
|
adam@0
|
18005 s//\1/
|
adam@0
|
18006 q
|
adam@0
|
18007 }
|
adam@0
|
18008 s/.*/./; q'`
|
adam@0
|
18009 as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
adam@0
|
18010 # echo "creating $dirpart/$file"
|
adam@0
|
18011 echo '# dummy' > "$dirpart/$file"
|
adam@0
|
18012 done
|
adam@0
|
18013 done
|
adam@0
|
18014 }
|
adam@0
|
18015 ;;
|
adam@0
|
18016 "libtool":C)
|
adam@0
|
18017
|
adam@0
|
18018 # See if we are running on zsh, and set the options which allow our
|
adam@0
|
18019 # commands through without removal of \ escapes.
|
adam@0
|
18020 if test -n "${ZSH_VERSION+set}" ; then
|
adam@0
|
18021 setopt NO_GLOB_SUBST
|
adam@0
|
18022 fi
|
adam@0
|
18023
|
adam@0
|
18024 cfgfile="${ofile}T"
|
adam@0
|
18025 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
|
adam@0
|
18026 $RM "$cfgfile"
|
adam@0
|
18027
|
adam@0
|
18028 cat <<_LT_EOF >> "$cfgfile"
|
adam@0
|
18029 #! $SHELL
|
adam@0
|
18030
|
adam@0
|
18031 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
|
adam@0
|
18032 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
|
adam@0
|
18033 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
adam@0
|
18034 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
adam@0
|
18035 #
|
adam@0
|
18036 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
adam@47
|
18037 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
|
adam@47
|
18038 # Inc.
|
adam@0
|
18039 # Written by Gordon Matzigkeit, 1996
|
adam@0
|
18040 #
|
adam@0
|
18041 # This file is part of GNU Libtool.
|
adam@0
|
18042 #
|
adam@0
|
18043 # GNU Libtool is free software; you can redistribute it and/or
|
adam@0
|
18044 # modify it under the terms of the GNU General Public License as
|
adam@0
|
18045 # published by the Free Software Foundation; either version 2 of
|
adam@0
|
18046 # the License, or (at your option) any later version.
|
adam@0
|
18047 #
|
adam@0
|
18048 # As a special exception to the GNU General Public License,
|
adam@0
|
18049 # if you distribute this file as part of a program or library that
|
adam@0
|
18050 # is built using GNU Libtool, you may include this file under the
|
adam@0
|
18051 # same distribution terms that you use for the rest of that program.
|
adam@0
|
18052 #
|
adam@0
|
18053 # GNU Libtool is distributed in the hope that it will be useful,
|
adam@0
|
18054 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
adam@0
|
18055 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
adam@0
|
18056 # GNU General Public License for more details.
|
adam@0
|
18057 #
|
adam@0
|
18058 # You should have received a copy of the GNU General Public License
|
adam@0
|
18059 # along with GNU Libtool; see the file COPYING. If not, a copy
|
adam@0
|
18060 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
|
adam@0
|
18061 # obtained by writing to the Free Software Foundation, Inc.,
|
adam@0
|
18062 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
adam@0
|
18063
|
adam@0
|
18064
|
adam@0
|
18065 # The names of the tagged configurations supported by this script.
|
adam@1
|
18066 available_tags="CXX "
|
adam@0
|
18067
|
adam@0
|
18068 # ### BEGIN LIBTOOL CONFIG
|
adam@0
|
18069
|
adam@0
|
18070 # Which release of libtool.m4 was used?
|
adam@0
|
18071 macro_version=$macro_version
|
adam@0
|
18072 macro_revision=$macro_revision
|
adam@0
|
18073
|
adam@0
|
18074 # Whether or not to build shared libraries.
|
adam@0
|
18075 build_libtool_libs=$enable_shared
|
adam@0
|
18076
|
adam@0
|
18077 # Whether or not to build static libraries.
|
adam@0
|
18078 build_old_libs=$enable_static
|
adam@0
|
18079
|
adam@0
|
18080 # What type of objects to build.
|
adam@0
|
18081 pic_mode=$pic_mode
|
adam@0
|
18082
|
adam@0
|
18083 # Whether or not to optimize for fast installation.
|
adam@0
|
18084 fast_install=$enable_fast_install
|
adam@0
|
18085
|
adam@47
|
18086 # Shell to use when invoking shell scripts.
|
adam@47
|
18087 SHELL=$lt_SHELL
|
adam@47
|
18088
|
adam@47
|
18089 # An echo program that protects backslashes.
|
adam@47
|
18090 ECHO=$lt_ECHO
|
adam@47
|
18091
|
adam@0
|
18092 # The host system.
|
adam@0
|
18093 host_alias=$host_alias
|
adam@0
|
18094 host=$host
|
adam@0
|
18095 host_os=$host_os
|
adam@0
|
18096
|
adam@0
|
18097 # The build system.
|
adam@0
|
18098 build_alias=$build_alias
|
adam@0
|
18099 build=$build
|
adam@0
|
18100 build_os=$build_os
|
adam@0
|
18101
|
adam@0
|
18102 # A sed program that does not truncate output.
|
adam@0
|
18103 SED=$lt_SED
|
adam@0
|
18104
|
adam@0
|
18105 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
adam@0
|
18106 Xsed="\$SED -e 1s/^X//"
|
adam@0
|
18107
|
adam@0
|
18108 # A grep program that handles long lines.
|
adam@0
|
18109 GREP=$lt_GREP
|
adam@0
|
18110
|
adam@0
|
18111 # An ERE matcher.
|
adam@0
|
18112 EGREP=$lt_EGREP
|
adam@0
|
18113
|
adam@0
|
18114 # A literal string matcher.
|
adam@0
|
18115 FGREP=$lt_FGREP
|
adam@0
|
18116
|
adam@0
|
18117 # A BSD- or MS-compatible name lister.
|
adam@0
|
18118 NM=$lt_NM
|
adam@0
|
18119
|
adam@0
|
18120 # Whether we need soft or hard links.
|
adam@0
|
18121 LN_S=$lt_LN_S
|
adam@0
|
18122
|
adam@0
|
18123 # What is the maximum length of a command?
|
adam@0
|
18124 max_cmd_len=$max_cmd_len
|
adam@0
|
18125
|
adam@0
|
18126 # Object file suffix (normally "o").
|
adam@0
|
18127 objext=$ac_objext
|
adam@0
|
18128
|
adam@0
|
18129 # Executable file suffix (normally "").
|
adam@0
|
18130 exeext=$exeext
|
adam@0
|
18131
|
adam@0
|
18132 # whether the shell understands "unset".
|
adam@0
|
18133 lt_unset=$lt_unset
|
adam@0
|
18134
|
adam@0
|
18135 # turn spaces into newlines.
|
adam@0
|
18136 SP2NL=$lt_lt_SP2NL
|
adam@0
|
18137
|
adam@0
|
18138 # turn newlines into spaces.
|
adam@0
|
18139 NL2SP=$lt_lt_NL2SP
|
adam@0
|
18140
|
adam@47
|
18141 # convert \$build file names to \$host format.
|
adam@47
|
18142 to_host_file_cmd=$lt_cv_to_host_file_cmd
|
adam@47
|
18143
|
adam@47
|
18144 # convert \$build files to toolchain format.
|
adam@47
|
18145 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
adam@0
|
18146
|
adam@0
|
18147 # An object symbol dumper.
|
adam@0
|
18148 OBJDUMP=$lt_OBJDUMP
|
adam@0
|
18149
|
adam@0
|
18150 # Method to check whether dependent libraries are shared objects.
|
adam@0
|
18151 deplibs_check_method=$lt_deplibs_check_method
|
adam@0
|
18152
|
adam@47
|
18153 # Command to use when deplibs_check_method = "file_magic".
|
adam@0
|
18154 file_magic_cmd=$lt_file_magic_cmd
|
adam@0
|
18155
|
adam@47
|
18156 # How to find potential files when deplibs_check_method = "file_magic".
|
adam@47
|
18157 file_magic_glob=$lt_file_magic_glob
|
adam@47
|
18158
|
adam@47
|
18159 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
|
adam@47
|
18160 want_nocaseglob=$lt_want_nocaseglob
|
adam@47
|
18161
|
adam@47
|
18162 # DLL creation program.
|
adam@47
|
18163 DLLTOOL=$lt_DLLTOOL
|
adam@47
|
18164
|
adam@47
|
18165 # Command to associate shared and link libraries.
|
adam@47
|
18166 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
|
adam@47
|
18167
|
adam@0
|
18168 # The archiver.
|
adam@0
|
18169 AR=$lt_AR
|
adam@47
|
18170
|
adam@47
|
18171 # Flags to create an archive.
|
adam@0
|
18172 AR_FLAGS=$lt_AR_FLAGS
|
adam@0
|
18173
|
adam@47
|
18174 # How to feed a file listing to the archiver.
|
adam@47
|
18175 archiver_list_spec=$lt_archiver_list_spec
|
adam@47
|
18176
|
adam@0
|
18177 # A symbol stripping program.
|
adam@0
|
18178 STRIP=$lt_STRIP
|
adam@0
|
18179
|
adam@0
|
18180 # Commands used to install an old-style archive.
|
adam@0
|
18181 RANLIB=$lt_RANLIB
|
adam@0
|
18182 old_postinstall_cmds=$lt_old_postinstall_cmds
|
adam@0
|
18183 old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
adam@0
|
18184
|
adam@47
|
18185 # Whether to use a lock for old archive extraction.
|
adam@47
|
18186 lock_old_archive_extraction=$lock_old_archive_extraction
|
adam@47
|
18187
|
adam@0
|
18188 # A C compiler.
|
adam@0
|
18189 LTCC=$lt_CC
|
adam@0
|
18190
|
adam@0
|
18191 # LTCC compiler flags.
|
adam@0
|
18192 LTCFLAGS=$lt_CFLAGS
|
adam@0
|
18193
|
adam@0
|
18194 # Take the output of nm and produce a listing of raw symbols and C names.
|
adam@0
|
18195 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
|
adam@0
|
18196
|
adam@0
|
18197 # Transform the output of nm in a proper C declaration.
|
adam@0
|
18198 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
|
adam@0
|
18199
|
adam@0
|
18200 # Transform the output of nm in a C name address pair.
|
adam@0
|
18201 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
adam@0
|
18202
|
adam@0
|
18203 # Transform the output of nm in a C name address pair when lib prefix is needed.
|
adam@0
|
18204 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
|
adam@0
|
18205
|
adam@47
|
18206 # Specify filename containing input files for \$NM.
|
adam@47
|
18207 nm_file_list_spec=$lt_nm_file_list_spec
|
adam@47
|
18208
|
adam@47
|
18209 # The root where to search for dependent libraries,and in which our libraries should be installed.
|
adam@47
|
18210 lt_sysroot=$lt_sysroot
|
adam@47
|
18211
|
adam@0
|
18212 # The name of the directory that contains temporary libtool files.
|
adam@0
|
18213 objdir=$objdir
|
adam@0
|
18214
|
adam@0
|
18215 # Used to examine libraries when file_magic_cmd begins with "file".
|
adam@0
|
18216 MAGIC_CMD=$MAGIC_CMD
|
adam@0
|
18217
|
adam@0
|
18218 # Must we lock files when doing compilation?
|
adam@0
|
18219 need_locks=$lt_need_locks
|
adam@0
|
18220
|
adam@47
|
18221 # Manifest tool.
|
adam@47
|
18222 MANIFEST_TOOL=$lt_MANIFEST_TOOL
|
adam@47
|
18223
|
adam@0
|
18224 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
adam@0
|
18225 DSYMUTIL=$lt_DSYMUTIL
|
adam@0
|
18226
|
adam@0
|
18227 # Tool to change global to local symbols on Mac OS X.
|
adam@0
|
18228 NMEDIT=$lt_NMEDIT
|
adam@0
|
18229
|
adam@0
|
18230 # Tool to manipulate fat objects and archives on Mac OS X.
|
adam@0
|
18231 LIPO=$lt_LIPO
|
adam@0
|
18232
|
adam@0
|
18233 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
adam@0
|
18234 OTOOL=$lt_OTOOL
|
adam@0
|
18235
|
adam@0
|
18236 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
adam@0
|
18237 OTOOL64=$lt_OTOOL64
|
adam@0
|
18238
|
adam@0
|
18239 # Old archive suffix (normally "a").
|
adam@0
|
18240 libext=$libext
|
adam@0
|
18241
|
adam@0
|
18242 # Shared library suffix (normally ".so").
|
adam@0
|
18243 shrext_cmds=$lt_shrext_cmds
|
adam@0
|
18244
|
adam@0
|
18245 # The commands to extract the exported symbol list from a shared archive.
|
adam@0
|
18246 extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
adam@0
|
18247
|
adam@0
|
18248 # Variables whose values should be saved in libtool wrapper scripts and
|
adam@0
|
18249 # restored at link time.
|
adam@0
|
18250 variables_saved_for_relink=$lt_variables_saved_for_relink
|
adam@0
|
18251
|
adam@0
|
18252 # Do we need the "lib" prefix for modules?
|
adam@0
|
18253 need_lib_prefix=$need_lib_prefix
|
adam@0
|
18254
|
adam@0
|
18255 # Do we need a version for libraries?
|
adam@0
|
18256 need_version=$need_version
|
adam@0
|
18257
|
adam@0
|
18258 # Library versioning type.
|
adam@0
|
18259 version_type=$version_type
|
adam@0
|
18260
|
adam@0
|
18261 # Shared library runtime path variable.
|
adam@0
|
18262 runpath_var=$runpath_var
|
adam@0
|
18263
|
adam@0
|
18264 # Shared library path variable.
|
adam@0
|
18265 shlibpath_var=$shlibpath_var
|
adam@0
|
18266
|
adam@0
|
18267 # Is shlibpath searched before the hard-coded library search path?
|
adam@0
|
18268 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
adam@0
|
18269
|
adam@0
|
18270 # Format of library name prefix.
|
adam@0
|
18271 libname_spec=$lt_libname_spec
|
adam@0
|
18272
|
adam@0
|
18273 # List of archive names. First name is the real one, the rest are links.
|
adam@0
|
18274 # The last name is the one that the linker finds with -lNAME
|
adam@0
|
18275 library_names_spec=$lt_library_names_spec
|
adam@0
|
18276
|
adam@0
|
18277 # The coded name of the library, if different from the real name.
|
adam@0
|
18278 soname_spec=$lt_soname_spec
|
adam@0
|
18279
|
adam@47
|
18280 # Permission mode override for installation of shared libraries.
|
adam@47
|
18281 install_override_mode=$lt_install_override_mode
|
adam@47
|
18282
|
adam@0
|
18283 # Command to use after installation of a shared archive.
|
adam@0
|
18284 postinstall_cmds=$lt_postinstall_cmds
|
adam@0
|
18285
|
adam@0
|
18286 # Command to use after uninstallation of a shared archive.
|
adam@0
|
18287 postuninstall_cmds=$lt_postuninstall_cmds
|
adam@0
|
18288
|
adam@0
|
18289 # Commands used to finish a libtool library installation in a directory.
|
adam@0
|
18290 finish_cmds=$lt_finish_cmds
|
adam@0
|
18291
|
adam@0
|
18292 # As "finish_cmds", except a single script fragment to be evaled but
|
adam@0
|
18293 # not shown.
|
adam@0
|
18294 finish_eval=$lt_finish_eval
|
adam@0
|
18295
|
adam@0
|
18296 # Whether we should hardcode library paths into libraries.
|
adam@0
|
18297 hardcode_into_libs=$hardcode_into_libs
|
adam@0
|
18298
|
adam@0
|
18299 # Compile-time system search path for libraries.
|
adam@0
|
18300 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
adam@0
|
18301
|
adam@0
|
18302 # Run-time system search path for libraries.
|
adam@0
|
18303 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
adam@0
|
18304
|
adam@0
|
18305 # Whether dlopen is supported.
|
adam@0
|
18306 dlopen_support=$enable_dlopen
|
adam@0
|
18307
|
adam@0
|
18308 # Whether dlopen of programs is supported.
|
adam@0
|
18309 dlopen_self=$enable_dlopen_self
|
adam@0
|
18310
|
adam@0
|
18311 # Whether dlopen of statically linked programs is supported.
|
adam@0
|
18312 dlopen_self_static=$enable_dlopen_self_static
|
adam@0
|
18313
|
adam@0
|
18314 # Commands to strip libraries.
|
adam@0
|
18315 old_striplib=$lt_old_striplib
|
adam@0
|
18316 striplib=$lt_striplib
|
adam@0
|
18317
|
adam@0
|
18318
|
adam@0
|
18319 # The linker used to build libraries.
|
adam@0
|
18320 LD=$lt_LD
|
adam@0
|
18321
|
adam@47
|
18322 # How to create reloadable object files.
|
adam@47
|
18323 reload_flag=$lt_reload_flag
|
adam@47
|
18324 reload_cmds=$lt_reload_cmds
|
adam@47
|
18325
|
adam@0
|
18326 # Commands used to build an old-style archive.
|
adam@0
|
18327 old_archive_cmds=$lt_old_archive_cmds
|
adam@0
|
18328
|
adam@0
|
18329 # A language specific compiler.
|
adam@0
|
18330 CC=$lt_compiler
|
adam@0
|
18331
|
adam@0
|
18332 # Is the compiler the GNU compiler?
|
adam@0
|
18333 with_gcc=$GCC
|
adam@0
|
18334
|
adam@0
|
18335 # Compiler flag to turn off builtin functions.
|
adam@0
|
18336 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
|
adam@0
|
18337
|
adam@47
|
18338 # Additional compiler flags for building library objects.
|
adam@47
|
18339 pic_flag=$lt_lt_prog_compiler_pic
|
adam@47
|
18340
|
adam@0
|
18341 # How to pass a linker flag through the compiler.
|
adam@0
|
18342 wl=$lt_lt_prog_compiler_wl
|
adam@0
|
18343
|
adam@0
|
18344 # Compiler flag to prevent dynamic linking.
|
adam@0
|
18345 link_static_flag=$lt_lt_prog_compiler_static
|
adam@0
|
18346
|
adam@0
|
18347 # Does compiler simultaneously support -c and -o options?
|
adam@0
|
18348 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
|
adam@0
|
18349
|
adam@0
|
18350 # Whether or not to add -lc for building shared libraries.
|
adam@0
|
18351 build_libtool_need_lc=$archive_cmds_need_lc
|
adam@0
|
18352
|
adam@0
|
18353 # Whether or not to disallow shared libs when runtime libs are static.
|
adam@0
|
18354 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
|
adam@0
|
18355
|
adam@0
|
18356 # Compiler flag to allow reflexive dlopens.
|
adam@0
|
18357 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
adam@0
|
18358
|
adam@0
|
18359 # Compiler flag to generate shared objects directly from archives.
|
adam@0
|
18360 whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
adam@0
|
18361
|
adam@0
|
18362 # Whether the compiler copes with passing no objects directly.
|
adam@0
|
18363 compiler_needs_object=$lt_compiler_needs_object
|
adam@0
|
18364
|
adam@0
|
18365 # Create an old-style archive from a shared archive.
|
adam@0
|
18366 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
adam@0
|
18367
|
adam@0
|
18368 # Create a temporary old-style archive to link instead of a shared archive.
|
adam@0
|
18369 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
adam@0
|
18370
|
adam@0
|
18371 # Commands used to build a shared archive.
|
adam@0
|
18372 archive_cmds=$lt_archive_cmds
|
adam@0
|
18373 archive_expsym_cmds=$lt_archive_expsym_cmds
|
adam@0
|
18374
|
adam@0
|
18375 # Commands used to build a loadable module if different from building
|
adam@0
|
18376 # a shared archive.
|
adam@0
|
18377 module_cmds=$lt_module_cmds
|
adam@0
|
18378 module_expsym_cmds=$lt_module_expsym_cmds
|
adam@0
|
18379
|
adam@0
|
18380 # Whether we are building with GNU ld or not.
|
adam@0
|
18381 with_gnu_ld=$lt_with_gnu_ld
|
adam@0
|
18382
|
adam@0
|
18383 # Flag that allows shared libraries with undefined symbols to be built.
|
adam@0
|
18384 allow_undefined_flag=$lt_allow_undefined_flag
|
adam@0
|
18385
|
adam@0
|
18386 # Flag that enforces no undefined symbols.
|
adam@0
|
18387 no_undefined_flag=$lt_no_undefined_flag
|
adam@0
|
18388
|
adam@0
|
18389 # Flag to hardcode \$libdir into a binary during linking.
|
adam@0
|
18390 # This must work even if \$libdir does not exist
|
adam@0
|
18391 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
adam@0
|
18392
|
adam@0
|
18393 # If ld is used when linking, flag to hardcode \$libdir into a binary
|
adam@0
|
18394 # during linking. This must work even if \$libdir does not exist.
|
adam@0
|
18395 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
|
adam@0
|
18396
|
adam@0
|
18397 # Whether we need a single "-rpath" flag with a separated argument.
|
adam@0
|
18398 hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
adam@0
|
18399
|
adam@0
|
18400 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
adam@0
|
18401 # DIR into the resulting binary.
|
adam@0
|
18402 hardcode_direct=$hardcode_direct
|
adam@0
|
18403
|
adam@0
|
18404 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
adam@0
|
18405 # DIR into the resulting binary and the resulting library dependency is
|
adam@0
|
18406 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
adam@0
|
18407 # library is relocated.
|
adam@0
|
18408 hardcode_direct_absolute=$hardcode_direct_absolute
|
adam@0
|
18409
|
adam@0
|
18410 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
adam@0
|
18411 # into the resulting binary.
|
adam@0
|
18412 hardcode_minus_L=$hardcode_minus_L
|
adam@0
|
18413
|
adam@0
|
18414 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
adam@0
|
18415 # into the resulting binary.
|
adam@0
|
18416 hardcode_shlibpath_var=$hardcode_shlibpath_var
|
adam@0
|
18417
|
adam@0
|
18418 # Set to "yes" if building a shared library automatically hardcodes DIR
|
adam@0
|
18419 # into the library and all subsequent libraries and executables linked
|
adam@0
|
18420 # against it.
|
adam@0
|
18421 hardcode_automatic=$hardcode_automatic
|
adam@0
|
18422
|
adam@0
|
18423 # Set to yes if linker adds runtime paths of dependent libraries
|
adam@0
|
18424 # to runtime path list.
|
adam@0
|
18425 inherit_rpath=$inherit_rpath
|
adam@0
|
18426
|
adam@0
|
18427 # Whether libtool must link a program against all its dependency libraries.
|
adam@0
|
18428 link_all_deplibs=$link_all_deplibs
|
adam@0
|
18429
|
adam@0
|
18430 # Set to "yes" if exported symbols are required.
|
adam@0
|
18431 always_export_symbols=$always_export_symbols
|
adam@0
|
18432
|
adam@0
|
18433 # The commands to list exported symbols.
|
adam@0
|
18434 export_symbols_cmds=$lt_export_symbols_cmds
|
adam@0
|
18435
|
adam@0
|
18436 # Symbols that should not be listed in the preloaded symbols.
|
adam@0
|
18437 exclude_expsyms=$lt_exclude_expsyms
|
adam@0
|
18438
|
adam@0
|
18439 # Symbols that must always be exported.
|
adam@0
|
18440 include_expsyms=$lt_include_expsyms
|
adam@0
|
18441
|
adam@0
|
18442 # Commands necessary for linking programs (against libraries) with templates.
|
adam@0
|
18443 prelink_cmds=$lt_prelink_cmds
|
adam@0
|
18444
|
adam@47
|
18445 # Commands necessary for finishing linking programs.
|
adam@47
|
18446 postlink_cmds=$lt_postlink_cmds
|
adam@47
|
18447
|
adam@0
|
18448 # Specify filename containing input files.
|
adam@0
|
18449 file_list_spec=$lt_file_list_spec
|
adam@0
|
18450
|
adam@0
|
18451 # How to hardcode a shared library path into an executable.
|
adam@0
|
18452 hardcode_action=$hardcode_action
|
adam@0
|
18453
|
adam@1
|
18454 # The directories searched by this compiler when creating a shared library.
|
adam@1
|
18455 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
|
adam@1
|
18456
|
adam@1
|
18457 # Dependencies to place before and after the objects being linked to
|
adam@1
|
18458 # create a shared library.
|
adam@1
|
18459 predep_objects=$lt_predep_objects
|
adam@1
|
18460 postdep_objects=$lt_postdep_objects
|
adam@1
|
18461 predeps=$lt_predeps
|
adam@1
|
18462 postdeps=$lt_postdeps
|
adam@1
|
18463
|
adam@1
|
18464 # The library search path used internally by the compiler when linking
|
adam@1
|
18465 # a shared library.
|
adam@1
|
18466 compiler_lib_search_path=$lt_compiler_lib_search_path
|
adam@1
|
18467
|
adam@0
|
18468 # ### END LIBTOOL CONFIG
|
adam@0
|
18469
|
adam@0
|
18470 _LT_EOF
|
adam@0
|
18471
|
adam@0
|
18472 case $host_os in
|
adam@0
|
18473 aix3*)
|
adam@0
|
18474 cat <<\_LT_EOF >> "$cfgfile"
|
adam@0
|
18475 # AIX sometimes has problems with the GCC collect2 program. For some
|
adam@0
|
18476 # reason, if we set the COLLECT_NAMES environment variable, the problems
|
adam@0
|
18477 # vanish in a puff of smoke.
|
adam@0
|
18478 if test "X${COLLECT_NAMES+set}" != Xset; then
|
adam@0
|
18479 COLLECT_NAMES=
|
adam@0
|
18480 export COLLECT_NAMES
|
adam@0
|
18481 fi
|
adam@0
|
18482 _LT_EOF
|
adam@0
|
18483 ;;
|
adam@0
|
18484 esac
|
adam@0
|
18485
|
adam@0
|
18486
|
adam@0
|
18487 ltmain="$ac_aux_dir/ltmain.sh"
|
adam@0
|
18488
|
adam@0
|
18489
|
adam@0
|
18490 # We use sed instead of cat because bash on DJGPP gets confused if
|
adam@0
|
18491 # if finds mixed CR/LF and LF-only lines. Since sed operates in
|
adam@0
|
18492 # text mode, it properly converts lines to CR/LF. This bash problem
|
adam@0
|
18493 # is reportedly fixed, but why not run on old versions too?
|
adam@47
|
18494 sed '$q' "$ltmain" >> "$cfgfile" \
|
adam@47
|
18495 || (rm -f "$cfgfile"; exit 1)
|
adam@47
|
18496
|
adam@47
|
18497 if test x"$xsi_shell" = xyes; then
|
adam@47
|
18498 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
|
adam@47
|
18499 func_dirname ()\
|
adam@47
|
18500 {\
|
adam@47
|
18501 \ case ${1} in\
|
adam@47
|
18502 \ */*) func_dirname_result="${1%/*}${2}" ;;\
|
adam@47
|
18503 \ * ) func_dirname_result="${3}" ;;\
|
adam@47
|
18504 \ esac\
|
adam@47
|
18505 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18506 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18507 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18508 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18509
|
adam@47
|
18510
|
adam@47
|
18511 sed -e '/^func_basename ()$/,/^} # func_basename /c\
|
adam@47
|
18512 func_basename ()\
|
adam@47
|
18513 {\
|
adam@47
|
18514 \ func_basename_result="${1##*/}"\
|
adam@47
|
18515 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18516 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18518 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18519
|
adam@47
|
18520
|
adam@47
|
18521 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
|
adam@47
|
18522 func_dirname_and_basename ()\
|
adam@47
|
18523 {\
|
adam@47
|
18524 \ case ${1} in\
|
adam@47
|
18525 \ */*) func_dirname_result="${1%/*}${2}" ;;\
|
adam@47
|
18526 \ * ) func_dirname_result="${3}" ;;\
|
adam@47
|
18527 \ esac\
|
adam@47
|
18528 \ func_basename_result="${1##*/}"\
|
adam@47
|
18529 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18530 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18531 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18532 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18533
|
adam@47
|
18534
|
adam@47
|
18535 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
|
adam@47
|
18536 func_stripname ()\
|
adam@47
|
18537 {\
|
adam@47
|
18538 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
|
adam@47
|
18539 \ # positional parameters, so assign one to ordinary parameter first.\
|
adam@47
|
18540 \ func_stripname_result=${3}\
|
adam@47
|
18541 \ func_stripname_result=${func_stripname_result#"${1}"}\
|
adam@47
|
18542 \ func_stripname_result=${func_stripname_result%"${2}"}\
|
adam@47
|
18543 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18544 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18545 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18546 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18547
|
adam@47
|
18548
|
adam@47
|
18549 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
|
adam@47
|
18550 func_split_long_opt ()\
|
adam@47
|
18551 {\
|
adam@47
|
18552 \ func_split_long_opt_name=${1%%=*}\
|
adam@47
|
18553 \ func_split_long_opt_arg=${1#*=}\
|
adam@47
|
18554 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18555 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18557 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18558
|
adam@47
|
18559
|
adam@47
|
18560 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
|
adam@47
|
18561 func_split_short_opt ()\
|
adam@47
|
18562 {\
|
adam@47
|
18563 \ func_split_short_opt_arg=${1#??}\
|
adam@47
|
18564 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
|
adam@47
|
18565 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18566 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18567 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18568 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18569
|
adam@47
|
18570
|
adam@47
|
18571 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
|
adam@47
|
18572 func_lo2o ()\
|
adam@47
|
18573 {\
|
adam@47
|
18574 \ case ${1} in\
|
adam@47
|
18575 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
|
adam@47
|
18576 \ *) func_lo2o_result=${1} ;;\
|
adam@47
|
18577 \ esac\
|
adam@47
|
18578 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18579 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18580 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18581 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18582
|
adam@47
|
18583
|
adam@47
|
18584 sed -e '/^func_xform ()$/,/^} # func_xform /c\
|
adam@47
|
18585 func_xform ()\
|
adam@47
|
18586 {\
|
adam@47
|
18587 func_xform_result=${1%.*}.lo\
|
adam@47
|
18588 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18589 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18591 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18592
|
adam@47
|
18593
|
adam@47
|
18594 sed -e '/^func_arith ()$/,/^} # func_arith /c\
|
adam@47
|
18595 func_arith ()\
|
adam@47
|
18596 {\
|
adam@47
|
18597 func_arith_result=$(( $* ))\
|
adam@47
|
18598 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18599 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18600 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18601 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18602
|
adam@47
|
18603
|
adam@47
|
18604 sed -e '/^func_len ()$/,/^} # func_len /c\
|
adam@47
|
18605 func_len ()\
|
adam@47
|
18606 {\
|
adam@47
|
18607 func_len_result=${#1}\
|
adam@47
|
18608 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18609 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18611 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18612
|
adam@47
|
18613 fi
|
adam@47
|
18614
|
adam@47
|
18615 if test x"$lt_shell_append" = xyes; then
|
adam@47
|
18616 sed -e '/^func_append ()$/,/^} # func_append /c\
|
adam@47
|
18617 func_append ()\
|
adam@47
|
18618 {\
|
adam@47
|
18619 eval "${1}+=\\${2}"\
|
adam@47
|
18620 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18621 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18623 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18624
|
adam@47
|
18625
|
adam@47
|
18626 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
|
adam@47
|
18627 func_append_quoted ()\
|
adam@47
|
18628 {\
|
adam@47
|
18629 \ func_quote_for_eval "${2}"\
|
adam@47
|
18630 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
|
adam@47
|
18631 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@47
|
18632 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18634 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18635
|
adam@47
|
18636
|
adam@47
|
18637 # Save a `func_append' function call where possible by direct use of '+='
|
adam@47
|
18638 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
|
adam@47
|
18639 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18640 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18641 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18642 else
|
adam@47
|
18643 # Save a `func_append' function call even when '+=' is not available
|
adam@47
|
18644 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
|
adam@47
|
18645 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@47
|
18646 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@47
|
18647 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@47
|
18648 fi
|
adam@47
|
18649
|
adam@47
|
18650 if test x"$_lt_function_replace_fail" = x":"; then
|
adam@47
|
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
|
adam@47
|
18652 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
|
adam@47
|
18653 fi
|
adam@47
|
18654
|
adam@47
|
18655
|
adam@47
|
18656 mv -f "$cfgfile" "$ofile" ||
|
adam@0
|
18657 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
adam@0
|
18658 chmod +x "$ofile"
|
adam@0
|
18659
|
adam@1
|
18660
|
adam@1
|
18661 cat <<_LT_EOF >> "$ofile"
|
adam@1
|
18662
|
adam@1
|
18663 # ### BEGIN LIBTOOL TAG CONFIG: CXX
|
adam@1
|
18664
|
adam@1
|
18665 # The linker used to build libraries.
|
adam@1
|
18666 LD=$lt_LD_CXX
|
adam@1
|
18667
|
adam@47
|
18668 # How to create reloadable object files.
|
adam@47
|
18669 reload_flag=$lt_reload_flag_CXX
|
adam@47
|
18670 reload_cmds=$lt_reload_cmds_CXX
|
adam@47
|
18671
|
adam@1
|
18672 # Commands used to build an old-style archive.
|
adam@1
|
18673 old_archive_cmds=$lt_old_archive_cmds_CXX
|
adam@1
|
18674
|
adam@1
|
18675 # A language specific compiler.
|
adam@1
|
18676 CC=$lt_compiler_CXX
|
adam@1
|
18677
|
adam@1
|
18678 # Is the compiler the GNU compiler?
|
adam@1
|
18679 with_gcc=$GCC_CXX
|
adam@1
|
18680
|
adam@1
|
18681 # Compiler flag to turn off builtin functions.
|
adam@1
|
18682 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
|
adam@1
|
18683
|
adam@47
|
18684 # Additional compiler flags for building library objects.
|
adam@47
|
18685 pic_flag=$lt_lt_prog_compiler_pic_CXX
|
adam@47
|
18686
|
adam@1
|
18687 # How to pass a linker flag through the compiler.
|
adam@1
|
18688 wl=$lt_lt_prog_compiler_wl_CXX
|
adam@1
|
18689
|
adam@1
|
18690 # Compiler flag to prevent dynamic linking.
|
adam@1
|
18691 link_static_flag=$lt_lt_prog_compiler_static_CXX
|
adam@1
|
18692
|
adam@1
|
18693 # Does compiler simultaneously support -c and -o options?
|
adam@1
|
18694 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
|
adam@1
|
18695
|
adam@1
|
18696 # Whether or not to add -lc for building shared libraries.
|
adam@1
|
18697 build_libtool_need_lc=$archive_cmds_need_lc_CXX
|
adam@1
|
18698
|
adam@1
|
18699 # Whether or not to disallow shared libs when runtime libs are static.
|
adam@1
|
18700 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
|
adam@1
|
18701
|
adam@1
|
18702 # Compiler flag to allow reflexive dlopens.
|
adam@1
|
18703 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
|
adam@1
|
18704
|
adam@1
|
18705 # Compiler flag to generate shared objects directly from archives.
|
adam@1
|
18706 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
|
adam@1
|
18707
|
adam@1
|
18708 # Whether the compiler copes with passing no objects directly.
|
adam@1
|
18709 compiler_needs_object=$lt_compiler_needs_object_CXX
|
adam@1
|
18710
|
adam@1
|
18711 # Create an old-style archive from a shared archive.
|
adam@1
|
18712 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
|
adam@1
|
18713
|
adam@1
|
18714 # Create a temporary old-style archive to link instead of a shared archive.
|
adam@1
|
18715 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
|
adam@1
|
18716
|
adam@1
|
18717 # Commands used to build a shared archive.
|
adam@1
|
18718 archive_cmds=$lt_archive_cmds_CXX
|
adam@1
|
18719 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
|
adam@1
|
18720
|
adam@1
|
18721 # Commands used to build a loadable module if different from building
|
adam@1
|
18722 # a shared archive.
|
adam@1
|
18723 module_cmds=$lt_module_cmds_CXX
|
adam@1
|
18724 module_expsym_cmds=$lt_module_expsym_cmds_CXX
|
adam@1
|
18725
|
adam@1
|
18726 # Whether we are building with GNU ld or not.
|
adam@1
|
18727 with_gnu_ld=$lt_with_gnu_ld_CXX
|
adam@1
|
18728
|
adam@1
|
18729 # Flag that allows shared libraries with undefined symbols to be built.
|
adam@1
|
18730 allow_undefined_flag=$lt_allow_undefined_flag_CXX
|
adam@1
|
18731
|
adam@1
|
18732 # Flag that enforces no undefined symbols.
|
adam@1
|
18733 no_undefined_flag=$lt_no_undefined_flag_CXX
|
adam@1
|
18734
|
adam@1
|
18735 # Flag to hardcode \$libdir into a binary during linking.
|
adam@1
|
18736 # This must work even if \$libdir does not exist
|
adam@1
|
18737 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
|
adam@1
|
18738
|
adam@1
|
18739 # If ld is used when linking, flag to hardcode \$libdir into a binary
|
adam@1
|
18740 # during linking. This must work even if \$libdir does not exist.
|
adam@1
|
18741 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
|
adam@1
|
18742
|
adam@1
|
18743 # Whether we need a single "-rpath" flag with a separated argument.
|
adam@1
|
18744 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
|
adam@1
|
18745
|
adam@1
|
18746 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
adam@1
|
18747 # DIR into the resulting binary.
|
adam@1
|
18748 hardcode_direct=$hardcode_direct_CXX
|
adam@1
|
18749
|
adam@1
|
18750 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
adam@1
|
18751 # DIR into the resulting binary and the resulting library dependency is
|
adam@1
|
18752 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
adam@1
|
18753 # library is relocated.
|
adam@1
|
18754 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
|
adam@1
|
18755
|
adam@1
|
18756 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
adam@1
|
18757 # into the resulting binary.
|
adam@1
|
18758 hardcode_minus_L=$hardcode_minus_L_CXX
|
adam@1
|
18759
|
adam@1
|
18760 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
adam@1
|
18761 # into the resulting binary.
|
adam@1
|
18762 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
|
adam@1
|
18763
|
adam@1
|
18764 # Set to "yes" if building a shared library automatically hardcodes DIR
|
adam@1
|
18765 # into the library and all subsequent libraries and executables linked
|
adam@1
|
18766 # against it.
|
adam@1
|
18767 hardcode_automatic=$hardcode_automatic_CXX
|
adam@1
|
18768
|
adam@1
|
18769 # Set to yes if linker adds runtime paths of dependent libraries
|
adam@1
|
18770 # to runtime path list.
|
adam@1
|
18771 inherit_rpath=$inherit_rpath_CXX
|
adam@1
|
18772
|
adam@1
|
18773 # Whether libtool must link a program against all its dependency libraries.
|
adam@1
|
18774 link_all_deplibs=$link_all_deplibs_CXX
|
adam@1
|
18775
|
adam@1
|
18776 # Set to "yes" if exported symbols are required.
|
adam@1
|
18777 always_export_symbols=$always_export_symbols_CXX
|
adam@1
|
18778
|
adam@1
|
18779 # The commands to list exported symbols.
|
adam@1
|
18780 export_symbols_cmds=$lt_export_symbols_cmds_CXX
|
adam@1
|
18781
|
adam@1
|
18782 # Symbols that should not be listed in the preloaded symbols.
|
adam@1
|
18783 exclude_expsyms=$lt_exclude_expsyms_CXX
|
adam@1
|
18784
|
adam@1
|
18785 # Symbols that must always be exported.
|
adam@1
|
18786 include_expsyms=$lt_include_expsyms_CXX
|
adam@1
|
18787
|
adam@1
|
18788 # Commands necessary for linking programs (against libraries) with templates.
|
adam@1
|
18789 prelink_cmds=$lt_prelink_cmds_CXX
|
adam@1
|
18790
|
adam@47
|
18791 # Commands necessary for finishing linking programs.
|
adam@47
|
18792 postlink_cmds=$lt_postlink_cmds_CXX
|
adam@47
|
18793
|
adam@1
|
18794 # Specify filename containing input files.
|
adam@1
|
18795 file_list_spec=$lt_file_list_spec_CXX
|
adam@1
|
18796
|
adam@1
|
18797 # How to hardcode a shared library path into an executable.
|
adam@1
|
18798 hardcode_action=$hardcode_action_CXX
|
adam@1
|
18799
|
adam@1
|
18800 # The directories searched by this compiler when creating a shared library.
|
adam@1
|
18801 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
|
adam@1
|
18802
|
adam@1
|
18803 # Dependencies to place before and after the objects being linked to
|
adam@1
|
18804 # create a shared library.
|
adam@1
|
18805 predep_objects=$lt_predep_objects_CXX
|
adam@1
|
18806 postdep_objects=$lt_postdep_objects_CXX
|
adam@1
|
18807 predeps=$lt_predeps_CXX
|
adam@1
|
18808 postdeps=$lt_postdeps_CXX
|
adam@1
|
18809
|
adam@1
|
18810 # The library search path used internally by the compiler when linking
|
adam@1
|
18811 # a shared library.
|
adam@1
|
18812 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
|
adam@1
|
18813
|
adam@1
|
18814 # ### END LIBTOOL TAG CONFIG: CXX
|
adam@1
|
18815 _LT_EOF
|
adam@1
|
18816
|
adam@0
|
18817 ;;
|
adam@0
|
18818
|
adam@0
|
18819 esac
|
adam@0
|
18820 done # for ac_tag
|
adam@0
|
18821
|
adam@0
|
18822
|
adam@0
|
18823 as_fn_exit 0
|
adam@0
|
18824 _ACEOF
|
adam@0
|
18825 ac_clean_files=$ac_clean_files_save
|
adam@0
|
18826
|
adam@0
|
18827 test $ac_write_fail = 0 ||
|
adam@0
|
18828 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
18829
|
adam@0
|
18830
|
adam@0
|
18831 # configure is writing to config.log, and then calls config.status.
|
adam@0
|
18832 # config.status does its own redirection, appending to config.log.
|
adam@0
|
18833 # Unfortunately, on DOS this fails, as config.log is still kept open
|
adam@0
|
18834 # by configure, so config.status won't be able to write to it; its
|
adam@0
|
18835 # output is simply discarded. So we exec the FD to /dev/null,
|
adam@0
|
18836 # effectively closing config.log, so it can be properly (re)opened and
|
adam@0
|
18837 # appended to by config.status. When coming back to configure, we
|
adam@0
|
18838 # need to make the FD available again.
|
adam@0
|
18839 if test "$no_create" != yes; then
|
adam@0
|
18840 ac_cs_success=:
|
adam@0
|
18841 ac_config_status_args=
|
adam@0
|
18842 test "$silent" = yes &&
|
adam@0
|
18843 ac_config_status_args="$ac_config_status_args --quiet"
|
adam@0
|
18844 exec 5>/dev/null
|
adam@0
|
18845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
adam@0
|
18846 exec 5>>config.log
|
adam@0
|
18847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
adam@0
|
18848 # would make configure fail if this is the last instruction.
|
adam@0
|
18849 $ac_cs_success || as_fn_exit 1
|
adam@0
|
18850 fi
|
adam@0
|
18851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
adam@0
|
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
adam@0
|
18853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
adam@0
|
18854 fi
|
adam@0
|
18855
|
adam@0
|
18856
|
adam@0
|
18857 cat <<EOF
|
adam@0
|
18858
|
adam@0
|
18859 Ur/Web OpenID library configuration:
|
adam@0
|
18860 lib directory: LIB $LIB
|
adam@0
|
18861 include directory: INCLUDE $INCLUDE
|
adam@0
|
18862 EOF
|