Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for librostlab-blast 1.0.1.
4 #
5 # Report bugs to <https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab-blast>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell [email protected] and
278 $0: https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab-blast
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311 return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319 set +e
320 as_fn_set_status $1
321 exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
387 {
388 eval $1+=\$2
389 }'
390 else
391 as_fn_append ()
392 {
393 eval $1=\$$1\$2
394 }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else
408 as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 xy) ECHO_C='\c';;
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 ECHO_T=' ';;
520 esac;;
521 *)
522 ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
528 else
529 rm -f conf$$.dir
530 mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s='ln -s'
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 as_ln_s='cp -pR'
541 elif ln conf$$.file conf$$ 2>/dev/null; then
542 as_ln_s=ln
543 else
544 as_ln_s='cp -pR'
545 fi
546 else
547 as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
554 else
555 test -d ./-p && rmdir ./-p
556 as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='librostlab-blast'
593 PACKAGE_TARNAME='librostlab-blast'
594 PACKAGE_VERSION='1.0.1'
595 PACKAGE_STRING='librostlab-blast 1.0.1'
596 PACKAGE_BUGREPORT='https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab-blast'
597 PACKAGE_URL=''
598
599 ac_unique_file="lib/rostlab/blast-result.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 # include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 # include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 DOXYGEN_PAPER_SIZE
641 DX_COND_latex_FALSE
642 DX_COND_latex_TRUE
643 DX_COND_pdf_FALSE
644 DX_COND_pdf_TRUE
645 DX_PDFLATEX
646 DX_FLAG_pdf
647 DX_COND_ps_FALSE
648 DX_COND_ps_TRUE
649 DX_EGREP
650 DX_DVIPS
651 DX_MAKEINDEX
652 DX_LATEX
653 DX_FLAG_ps
654 DX_COND_html_FALSE
655 DX_COND_html_TRUE
656 DX_FLAG_html
657 DX_COND_chi_FALSE
658 DX_COND_chi_TRUE
659 DX_FLAG_chi
660 DX_COND_chm_FALSE
661 DX_COND_chm_TRUE
662 DX_HHC
663 DX_FLAG_chm
664 DX_COND_xml_FALSE
665 DX_COND_xml_TRUE
666 DX_FLAG_xml
667 DX_COND_rtf_FALSE
668 DX_COND_rtf_TRUE
669 DX_FLAG_rtf
670 DX_COND_man_FALSE
671 DX_COND_man_TRUE
672 DX_FLAG_man
673 DX_COND_dot_FALSE
674 DX_COND_dot_TRUE
675 DX_DOT
676 DX_FLAG_dot
677 DX_COND_doc_FALSE
678 DX_COND_doc_TRUE
679 DX_PERL
680 DX_DOXYGEN
681 DX_FLAG_doc
682 DX_ENV
683 DX_DOCDIR
684 DX_CONFIG
685 DX_PROJECT
686 LEXLIB
687 LEX_OUTPUT_ROOT
688 LEX
689 YFLAGS
690 YACC
691 CXXCPP
692 CPP
693 OTOOL64
694 OTOOL
695 LIPO
696 NMEDIT
697 DSYMUTIL
698 MANIFEST_TOOL
699 RANLIB
700 ac_ct_AR
701 AR
702 DLLTOOL
703 OBJDUMP
704 LN_S
705 NM
706 ac_ct_DUMPBIN
707 DUMPBIN
708 LD
709 FGREP
710 EGREP
711 GREP
712 SED
713 host_os
714 host_vendor
715 host_cpu
716 host
717 build_os
718 build_vendor
719 build_cpu
720 build
721 LIBTOOL
722 am__fastdepCXX_FALSE
723 am__fastdepCXX_TRUE
724 CXXDEPMODE
725 ac_ct_CXX
726 CXXFLAGS
727 CXX
728 am__fastdepCC_FALSE
729 am__fastdepCC_TRUE
730 CCDEPMODE
731 am__nodep
732 AMDEPBACKSLASH
733 AMDEP_FALSE
734 AMDEP_TRUE
735 am__quote
736 am__include
737 DEPDIR
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
744 CC
745 am__untar
746 am__tar
747 AMTAR
748 am__leading_dot
749 SET_MAKE
750 AWK
751 mkdir_p
752 MKDIR_P
753 INSTALL_STRIP_PROGRAM
754 STRIP
755 install_sh
756 MAKEINFO
757 AUTOHEADER
758 AUTOMAKE
759 AUTOCONF
760 ACLOCAL
761 VERSION
762 PACKAGE
763 CYGPATH_W
764 am__isrc
765 INSTALL_DATA
766 INSTALL_SCRIPT
767 INSTALL_PROGRAM
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 localstatedir
788 sharedstatedir
789 sysconfdir
790 datadir
791 datarootdir
792 libexecdir
793 sbindir
794 bindir
795 program_transform_name
796 prefix
797 exec_prefix
798 PACKAGE_URL
799 PACKAGE_BUGREPORT
800 PACKAGE_STRING
801 PACKAGE_VERSION
802 PACKAGE_TARNAME
803 PACKAGE_NAME
804 PATH_SEPARATOR
805 SHELL'
806 ac_subst_files=''
807 ac_user_opts='
808 enable_option_checking
809 enable_dependency_tracking
810 enable_shared
811 enable_static
812 with_pic
813 enable_fast_install
814 with_gnu_ld
815 with_sysroot
816 enable_libtool_lock
817 enable_doxygen_doc
818 enable_doxygen_dot
819 enable_doxygen_man
820 enable_doxygen_rtf
821 enable_doxygen_xml
822 enable_doxygen_chm
823 enable_doxygen_chi
824 enable_doxygen_html
825 enable_doxygen_ps
826 enable_doxygen_pdf
827 '
828 ac_precious_vars='build_alias
829 host_alias
830 target_alias
831 CC
832 CFLAGS
833 LDFLAGS
834 LIBS
835 CPPFLAGS
836 CXX
837 CXXFLAGS
838 CCC
839 CPP
840 CXXCPP
841 YACC
842 YFLAGS
843 DOXYGEN_PAPER_SIZE'
844
845
846 # Initialize some variables set by options.
847 ac_init_help=
848 ac_init_version=false
849 ac_unrecognized_opts=
850 ac_unrecognized_sep=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
853 cache_file=/dev/null
854 exec_prefix=NONE
855 no_create=
856 no_recursion=
857 prefix=NONE
858 program_prefix=NONE
859 program_suffix=NONE
860 program_transform_name=s,x,x,
861 silent=
862 site=
863 srcdir=
864 verbose=
865 x_includes=NONE
866 x_libraries=NONE
867
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir='${exec_prefix}/bin'
875 sbindir='${exec_prefix}/sbin'
876 libexecdir='${exec_prefix}/libexec'
877 datarootdir='${prefix}/share'
878 datadir='${datarootdir}'
879 sysconfdir='${prefix}/etc'
880 sharedstatedir='${prefix}/com'
881 localstatedir='${prefix}/var'
882 includedir='${prefix}/include'
883 oldincludedir='/usr/include'
884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
885 infodir='${datarootdir}/info'
886 htmldir='${docdir}'
887 dvidir='${docdir}'
888 pdfdir='${docdir}'
889 psdir='${docdir}'
890 libdir='${exec_prefix}/lib'
891 localedir='${datarootdir}/locale'
892 mandir='${datarootdir}/man'
893
894 ac_prev=
895 ac_dashdash=
896 for ac_option
897 do
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\$ac_option
901 ac_prev=
902 continue
903 fi
904
905 case $ac_option in
906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 *=) ac_optarg= ;;
908 *) ac_optarg=yes ;;
909 esac
910
911 # Accept the important Cygnus configure options, so we can diagnose typos.
912
913 case $ac_dashdash$ac_option in
914 --)
915 ac_dashdash=yes ;;
916
917 -bindir | --bindir | --bindi | --bind | --bin | --bi)
918 ac_prev=bindir ;;
919 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
920 bindir=$ac_optarg ;;
921
922 -build | --build | --buil | --bui | --bu)
923 ac_prev=build_alias ;;
924 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
925 build_alias=$ac_optarg ;;
926
927 -cache-file | --cache-file | --cache-fil | --cache-fi \
928 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
929 ac_prev=cache_file ;;
930 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
931 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
932 cache_file=$ac_optarg ;;
933
934 --config-cache | -C)
935 cache_file=config.cache ;;
936
937 -datadir | --datadir | --datadi | --datad)
938 ac_prev=datadir ;;
939 -datadir=* | --datadir=* | --datadi=* | --datad=*)
940 datadir=$ac_optarg ;;
941
942 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
943 | --dataroo | --dataro | --datar)
944 ac_prev=datarootdir ;;
945 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
946 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
947 datarootdir=$ac_optarg ;;
948
949 -disable-* | --disable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error $? "invalid feature name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
957 *"
958 "enable_$ac_useropt"
959 "*) ;;
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
962 esac
963 eval enable_$ac_useropt=no ;;
964
965 -docdir | --docdir | --docdi | --doc | --do)
966 ac_prev=docdir ;;
967 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
968 docdir=$ac_optarg ;;
969
970 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
971 ac_prev=dvidir ;;
972 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
973 dvidir=$ac_optarg ;;
974
975 -enable-* | --enable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error $? "invalid feature name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
983 *"
984 "enable_$ac_useropt"
985 "*) ;;
986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep=', ';;
988 esac
989 eval enable_$ac_useropt=\$ac_optarg ;;
990
991 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
992 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
993 | --exec | --exe | --ex)
994 ac_prev=exec_prefix ;;
995 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
996 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
997 | --exec=* | --exe=* | --ex=*)
998 exec_prefix=$ac_optarg ;;
999
1000 -gas | --gas | --ga | --g)
1001 # Obsolete; use --with-gas.
1002 with_gas=yes ;;
1003
1004 -help | --help | --hel | --he | -h)
1005 ac_init_help=long ;;
1006 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1007 ac_init_help=recursive ;;
1008 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1009 ac_init_help=short ;;
1010
1011 -host | --host | --hos | --ho)
1012 ac_prev=host_alias ;;
1013 -host=* | --host=* | --hos=* | --ho=*)
1014 host_alias=$ac_optarg ;;
1015
1016 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1017 ac_prev=htmldir ;;
1018 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1019 | --ht=*)
1020 htmldir=$ac_optarg ;;
1021
1022 -includedir | --includedir | --includedi | --included | --include \
1023 | --includ | --inclu | --incl | --inc)
1024 ac_prev=includedir ;;
1025 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1026 | --includ=* | --inclu=* | --incl=* | --inc=*)
1027 includedir=$ac_optarg ;;
1028
1029 -infodir | --infodir | --infodi | --infod | --info | --inf)
1030 ac_prev=infodir ;;
1031 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1032 infodir=$ac_optarg ;;
1033
1034 -libdir | --libdir | --libdi | --libd)
1035 ac_prev=libdir ;;
1036 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1037 libdir=$ac_optarg ;;
1038
1039 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1040 | --libexe | --libex | --libe)
1041 ac_prev=libexecdir ;;
1042 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1043 | --libexe=* | --libex=* | --libe=*)
1044 libexecdir=$ac_optarg ;;
1045
1046 -localedir | --localedir | --localedi | --localed | --locale)
1047 ac_prev=localedir ;;
1048 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1049 localedir=$ac_optarg ;;
1050
1051 -localstatedir | --localstatedir | --localstatedi | --localstated \
1052 | --localstate | --localstat | --localsta | --localst | --locals)
1053 ac_prev=localstatedir ;;
1054 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1055 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1056 localstatedir=$ac_optarg ;;
1057
1058 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1059 ac_prev=mandir ;;
1060 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1061 mandir=$ac_optarg ;;
1062
1063 -nfp | --nfp | --nf)
1064 # Obsolete; use --without-fp.
1065 with_fp=no ;;
1066
1067 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1068 | --no-cr | --no-c | -n)
1069 no_create=yes ;;
1070
1071 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1072 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1073 no_recursion=yes ;;
1074
1075 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1076 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1077 | --oldin | --oldi | --old | --ol | --o)
1078 ac_prev=oldincludedir ;;
1079 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1080 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1081 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1082 oldincludedir=$ac_optarg ;;
1083
1084 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1085 ac_prev=prefix ;;
1086 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1087 prefix=$ac_optarg ;;
1088
1089 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1090 | --program-pre | --program-pr | --program-p)
1091 ac_prev=program_prefix ;;
1092 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1093 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1094 program_prefix=$ac_optarg ;;
1095
1096 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1097 | --program-suf | --program-su | --program-s)
1098 ac_prev=program_suffix ;;
1099 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1100 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1101 program_suffix=$ac_optarg ;;
1102
1103 -program-transform-name | --program-transform-name \
1104 | --program-transform-nam | --program-transform-na \
1105 | --program-transform-n | --program-transform- \
1106 | --program-transform | --program-transfor \
1107 | --program-transfo | --program-transf \
1108 | --program-trans | --program-tran \
1109 | --progr-tra | --program-tr | --program-t)
1110 ac_prev=program_transform_name ;;
1111 -program-transform-name=* | --program-transform-name=* \
1112 | --program-transform-nam=* | --program-transform-na=* \
1113 | --program-transform-n=* | --program-transform-=* \
1114 | --program-transform=* | --program-transfor=* \
1115 | --program-transfo=* | --program-transf=* \
1116 | --program-trans=* | --program-tran=* \
1117 | --progr-tra=* | --program-tr=* | --program-t=*)
1118 program_transform_name=$ac_optarg ;;
1119
1120 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1121 ac_prev=pdfdir ;;
1122 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1123 pdfdir=$ac_optarg ;;
1124
1125 -psdir | --psdir | --psdi | --psd | --ps)
1126 ac_prev=psdir ;;
1127 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1128 psdir=$ac_optarg ;;
1129
1130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1131 | -silent | --silent | --silen | --sile | --sil)
1132 silent=yes ;;
1133
1134 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1135 ac_prev=sbindir ;;
1136 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1137 | --sbi=* | --sb=*)
1138 sbindir=$ac_optarg ;;
1139
1140 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1141 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1142 | --sharedst | --shareds | --shared | --share | --shar \
1143 | --sha | --sh)
1144 ac_prev=sharedstatedir ;;
1145 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1146 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1147 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1148 | --sha=* | --sh=*)
1149 sharedstatedir=$ac_optarg ;;
1150
1151 -site | --site | --sit)
1152 ac_prev=site ;;
1153 -site=* | --site=* | --sit=*)
1154 site=$ac_optarg ;;
1155
1156 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1157 ac_prev=srcdir ;;
1158 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1159 srcdir=$ac_optarg ;;
1160
1161 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1162 | --syscon | --sysco | --sysc | --sys | --sy)
1163 ac_prev=sysconfdir ;;
1164 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1165 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1166 sysconfdir=$ac_optarg ;;
1167
1168 -target | --target | --targe | --targ | --tar | --ta | --t)
1169 ac_prev=target_alias ;;
1170 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1171 target_alias=$ac_optarg ;;
1172
1173 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1174 verbose=yes ;;
1175
1176 -version | --version | --versio | --versi | --vers | -V)
1177 ac_init_version=: ;;
1178
1179 -with-* | --with-*)
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error $? "invalid package name: $ac_useropt"
1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1187 *"
1188 "with_$ac_useropt"
1189 "*) ;;
1190 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep=', ';;
1192 esac
1193 eval with_$ac_useropt=\$ac_optarg ;;
1194
1195 -without-* | --without-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error $? "invalid package name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1203 *"
1204 "with_$ac_useropt"
1205 "*) ;;
1206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep=', ';;
1208 esac
1209 eval with_$ac_useropt=no ;;
1210
1211 --x)
1212 # Obsolete; use --with-x.
1213 with_x=yes ;;
1214
1215 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1216 | --x-incl | --x-inc | --x-in | --x-i)
1217 ac_prev=x_includes ;;
1218 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1219 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1220 x_includes=$ac_optarg ;;
1221
1222 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1223 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1224 ac_prev=x_libraries ;;
1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1227 x_libraries=$ac_optarg ;;
1228
1229 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information"
1231 ;;
1232
1233 *=*)
1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' | [0-9]* | *[!_$as_cr_alnum]* )
1238 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1239 esac
1240 eval $ac_envvar=\$ac_optarg
1241 export $ac_envvar ;;
1242
1243 *)
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 ;;
1250
1251 esac
1252 done
1253
1254 if test -n "$ac_prev"; then
1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error $? "missing argument to $ac_option"
1257 fi
1258
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1261 no) ;;
1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 esac
1265 fi
1266
1267 # Check all directory arguments for consistency.
1268 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1272 do
1273 eval ac_val=\$$ac_var
1274 # Remove trailing slashes.
1275 case $ac_val in
1276 */ )
1277 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\$ac_val;;
1279 esac
1280 # Be sure to have absolute directory names.
1281 case $ac_val in
1282 [\\/$]* | ?:[\\/]* ) continue;;
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1284 esac
1285 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1286 done
1287
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1291 build=$build_alias
1292 host=$host_alias
1293 target=$target_alias
1294
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x; then
1297 if test "x$build_alias" = x; then
1298 cross_compiling=maybe
1299 elif test "x$build_alias" != "x$host_alias"; then
1300 cross_compiling=yes
1301 fi
1302 fi
1303
1304 ac_tool_prefix=
1305 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1306
1307 test "$silent" = yes && exec 6>/dev/null
1308
1309
1310 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1311 ac_ls_di=`ls -di .` &&
1312 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1313 as_fn_error $? "working directory cannot be determined"
1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1315 as_fn_error $? "pwd does not report name of working directory"
1316
1317
1318 # Find the source files, if location was not specified.
1319 if test -z "$srcdir"; then
1320 ac_srcdir_defaulted=yes
1321 # Try the directory containing this script, then the parent directory.
1322 ac_confdir=`$as_dirname -- "$as_myself" ||
1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324 X"$as_myself" : 'X\(//\)[^/]' \| \
1325 X"$as_myself" : 'X\(//\)$' \| \
1326 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327 $as_echo X"$as_myself" |
1328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1329 s//\1/
1330 q
1331 }
1332 /^X\(\/\/\)[^/].*/{
1333 s//\1/
1334 q
1335 }
1336 /^X\(\/\/\)$/{
1337 s//\1/
1338 q
1339 }
1340 /^X\(\/\).*/{
1341 s//\1/
1342 q
1343 }
1344 s/.*/./; q'`
1345 srcdir=$ac_confdir
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 srcdir=..
1348 fi
1349 else
1350 ac_srcdir_defaulted=no
1351 fi
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1354 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1355 fi
1356 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 ac_abs_confdir=`(
1358 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359 pwd)`
1360 # When building in place, set srcdir=.
1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 srcdir=.
1363 fi
1364 # Remove unnecessary trailing slashes from srcdir.
1365 # Double slashes in file names in object file debugging info
1366 # mess up M-x gdb in Emacs.
1367 case $srcdir in
1368 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 esac
1370 for ac_var in $ac_precious_vars; do
1371 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1372 eval ac_env_${ac_var}_value=\$${ac_var}
1373 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1374 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1375 done
1376
1377 #
1378 # Report the --help message.
1379 #
1380 if test "$ac_init_help" = "long"; then
1381 # Omit some internal or obsolete options to make the list less imposing.
1382 # This message is too long to be a string in the A/UX 3.1 sh.
1383 cat <<_ACEOF
1384 \`configure' configures librostlab-blast 1.0.1 to adapt to many kinds of systems.
1385
1386 Usage: $0 [OPTION]... [VAR=VALUE]...
1387
1388 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1389 VAR=VALUE. See below for descriptions of some of the useful variables.
1390
1391 Defaults for the options are specified in brackets.
1392
1393 Configuration:
1394 -h, --help display this help and exit
1395 --help=short display options specific to this package
1396 --help=recursive display the short help of all the included packages
1397 -V, --version display version information and exit
1398 -q, --quiet, --silent do not print \`checking ...' messages
1399 --cache-file=FILE cache test results in FILE [disabled]
1400 -C, --config-cache alias for \`--cache-file=config.cache'
1401 -n, --no-create do not create output files
1402 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403
1404 Installation directories:
1405 --prefix=PREFIX install architecture-independent files in PREFIX
1406 [$ac_default_prefix]
1407 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 [PREFIX]
1409
1410 By default, \`make install' will install all the files in
1411 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1412 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1413 for instance \`--prefix=\$HOME'.
1414
1415 For better control, use the options below.
1416
1417 Fine tuning of the installation directories:
1418 --bindir=DIR user executables [EPREFIX/bin]
1419 --sbindir=DIR system admin executables [EPREFIX/sbin]
1420 --libexecdir=DIR program executables [EPREFIX/libexec]
1421 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1422 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1423 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1424 --libdir=DIR object code libraries [EPREFIX/lib]
1425 --includedir=DIR C header files [PREFIX/include]
1426 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1427 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1428 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1429 --infodir=DIR info documentation [DATAROOTDIR/info]
1430 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1431 --mandir=DIR man documentation [DATAROOTDIR/man]
1432 --docdir=DIR documentation root
1433 [DATAROOTDIR/doc/librostlab-blast]
1434 --htmldir=DIR html documentation [DOCDIR]
1435 --dvidir=DIR dvi documentation [DOCDIR]
1436 --pdfdir=DIR pdf documentation [DOCDIR]
1437 --psdir=DIR ps documentation [DOCDIR]
1438 _ACEOF
1439
1440 cat <<\_ACEOF
1441
1442 Program names:
1443 --program-prefix=PREFIX prepend PREFIX to installed program names
1444 --program-suffix=SUFFIX append SUFFIX to installed program names
1445 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1446
1447 System types:
1448 --build=BUILD configure for building on BUILD [guessed]
1449 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1450 _ACEOF
1451 fi
1452
1453 if test -n "$ac_init_help"; then
1454 case $ac_init_help in
1455 short | recursive ) echo "Configuration of librostlab-blast 1.0.1:";;
1456 esac
1457 cat <<\_ACEOF
1458
1459 Optional Features:
1460 --disable-option-checking ignore unrecognized --enable/--with options
1461 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1462 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1463 --disable-dependency-tracking speeds up one-time build
1464 --enable-dependency-tracking do not reject slow dependency extractors
1465 --enable-shared[=PKGS] build shared libraries [default=yes]
1466 --enable-static[=PKGS] build static libraries [default=yes]
1467 --enable-fast-install[=PKGS]
1468 optimize for fast installation [default=yes]
1469 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --disable-doxygen-doc don't generate any doxygen documentation
1471 --disable-doxygen-dot don't generate graphics for doxygen documentation
1472 --enable-doxygen-man generate doxygen manual pages
1473 --enable-doxygen-rtf generate doxygen RTF documentation
1474 --enable-doxygen-xml generate doxygen XML documentation
1475 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1476 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1477 file
1478 --disable-doxygen-html don't generate doxygen plain HTML documentation
1479 --enable-doxygen-ps generate doxygen PostScript documentation
1480 --disable-doxygen-pdf don't generate doxygen PDF documentation
1481
1482 Optional Packages:
1483 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1484 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1485 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1486 both]
1487 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1488 --with-sysroot=DIR Search for dependent libraries within DIR
1489 (or the compiler's sysroot if not specified).
1490
1491 Some influential environment variables:
1492 CC C compiler command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1495 nonstandard directory <lib dir>
1496 LIBS libraries to pass to the linker, e.g. -l<library>
1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498 you have headers in a nonstandard directory <include dir>
1499 CXX C++ compiler command
1500 CXXFLAGS C++ compiler flags
1501 CPP C preprocessor
1502 CXXCPP C++ preprocessor
1503 YACC The `Yet Another Compiler Compiler' implementation to use.
1504 Defaults to the first program found out of: `bison -y', `byacc',
1505 `yacc'.
1506 YFLAGS The list of arguments that will be passed by default to $YACC.
1507 This script will default YFLAGS to the empty string to avoid a
1508 default value of `-d' given by some make applications.
1509 DOXYGEN_PAPER_SIZE
1510 a4wide (default), a4, letter, legal or executive
1511
1512 Use these variables to override the choices made by `configure' or to help
1513 it to find libraries and programs with nonstandard names/locations.
1514
1515 Report bugs to <https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab-blast>.
1516 _ACEOF
1517 ac_status=$?
1518 fi
1519
1520 if test "$ac_init_help" = "recursive"; then
1521 # If there are subdirs, report their specific --help.
1522 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523 test -d "$ac_dir" ||
1524 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1525 continue
1526 ac_builddir=.
1527
1528 case "$ac_dir" in
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 *)
1531 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 esac ;;
1538 esac
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1543
1544 case $srcdir in
1545 .) # We are building in place.
1546 ac_srcdir=.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1553 *) # Relative name.
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 esac
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1563 echo &&
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1566 echo &&
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1568 else
1569 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 fi || ac_status=$?
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1572 done
1573 fi
1574
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1577 cat <<\_ACEOF
1578 librostlab-blast configure 1.0.1
1579 generated by GNU Autoconf 2.69
1580
1581 Copyright (C) 2012 Free Software Foundation, Inc.
1582 This configure script is free software; the Free Software Foundation
1583 gives unlimited permission to copy, distribute and modify it.
1584 _ACEOF
1585 exit
1586 fi
1587
1588 ## ------------------------ ##
1589 ## Autoconf initialization. ##
1590 ## ------------------------ ##
1591
1592 # ac_fn_c_try_compile LINENO
1593 # --------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_c_try_compile ()
1596 {
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext
1599 if { { ac_try="$ac_compile"
1600 case "(($ac_try" in
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1603 esac
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1607 ac_status=$?
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1612 fi
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.$ac_objext; then :
1618 ac_retval=0
1619 else
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1622
1623 ac_retval=1
1624 fi
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1627
1628 } # ac_fn_c_try_compile
1629
1630 # ac_fn_cxx_try_compile LINENO
1631 # ----------------------------
1632 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_cxx_try_compile ()
1634 {
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 rm -f conftest.$ac_objext
1637 if { { ac_try="$ac_compile"
1638 case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_compile") 2>conftest.err
1645 ac_status=$?
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1650 fi
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_cxx_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest.$ac_objext; then :
1656 ac_retval=0
1657 else
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1660
1661 ac_retval=1
1662 fi
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1665
1666 } # ac_fn_cxx_try_compile
1667
1668 # ac_fn_c_try_link LINENO
1669 # -----------------------
1670 # Try to link conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_link ()
1672 {
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 rm -f conftest.$ac_objext conftest$ac_exeext
1675 if { { ac_try="$ac_link"
1676 case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_link") 2>conftest.err
1683 ac_status=$?
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1688 fi
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest$ac_exeext && {
1694 test "$cross_compiling" = yes ||
1695 test -x conftest$ac_exeext
1696 }; then :
1697 ac_retval=0
1698 else
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1701
1702 ac_retval=1
1703 fi
1704 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1705 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1706 # interfere with the next link command; also delete a directory that is
1707 # left behind by Apple's compiler. We do this before executing the actions.
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status $ac_retval
1711
1712 } # ac_fn_c_try_link
1713
1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1715 # -------------------------------------------------------
1716 # Tests whether HEADER exists and can be compiled using the include files in
1717 # INCLUDES, setting the cache variable VAR accordingly.
1718 ac_fn_c_check_header_compile ()
1719 {
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \${$3+:} false; then :
1724 $as_echo_n "(cached) " >&6
1725 else
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1728 $4
1729 #include <$2>
1730 _ACEOF
1731 if ac_fn_c_try_compile "$LINENO"; then :
1732 eval "$3=yes"
1733 else
1734 eval "$3=no"
1735 fi
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737 fi
1738 eval ac_res=\$$3
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743 } # ac_fn_c_check_header_compile
1744
1745 # ac_fn_c_try_cpp LINENO
1746 # ----------------------
1747 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_c_try_cpp ()
1749 {
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 if { { ac_try="$ac_cpp conftest.$ac_ext"
1752 case "(($ac_try" in
1753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1755 esac
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1759 ac_status=$?
1760 if test -s conftest.err; then
1761 grep -v '^ *+' conftest.err >conftest.er1
1762 cat conftest.er1 >&5
1763 mv -f conftest.er1 conftest.err
1764 fi
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } > conftest.i && {
1767 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1768 test ! -s conftest.err
1769 }; then :
1770 ac_retval=0
1771 else
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1774
1775 ac_retval=1
1776 fi
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 as_fn_set_status $ac_retval
1779
1780 } # ac_fn_c_try_cpp
1781
1782 # ac_fn_c_try_run LINENO
1783 # ----------------------
1784 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1785 # that executables *can* be run.
1786 ac_fn_c_try_run ()
1787 {
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if { { ac_try="$ac_link"
1790 case "(($ac_try" in
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_link") 2>&5
1797 ac_status=$?
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1800 { { case "(($ac_try" in
1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1803 esac
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_try") 2>&5
1807 ac_status=$?
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; }; }; then :
1810 ac_retval=0
1811 else
1812 $as_echo "$as_me: program exited with status $ac_status" >&5
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1815
1816 ac_retval=$ac_status
1817 fi
1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status $ac_retval
1821
1822 } # ac_fn_c_try_run
1823
1824 # ac_fn_c_check_func LINENO FUNC VAR
1825 # ----------------------------------
1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1827 ac_fn_c_check_func ()
1828 {
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1834 else
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1839 #define $2 innocuous_$2
1840
1841 /* System header to define __stub macros and hopefully few prototypes,
1842 which can conflict with char $2 (); below.
1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1844 <limits.h> exists even on freestanding compilers. */
1845
1846 #ifdef __STDC__
1847 # include <limits.h>
1848 #else
1849 # include <assert.h>
1850 #endif
1851
1852 #undef $2
1853
1854 /* Override any GCC internal prototype to avoid an error.
1855 Use char because int might match the return type of a GCC
1856 builtin and then its argument prototype would still apply. */
1857 #ifdef __cplusplus
1858 extern "C"
1859 #endif
1860 char $2 ();
1861 /* The GNU C library defines this for functions which it implements
1862 to always fail with ENOSYS. Some functions are actually named
1863 something starting with __ and the normal name is an alias. */
1864 #if defined __stub_$2 || defined __stub___$2
1865 choke me
1866 #endif
1867
1868 int
1869 main ()
1870 {
1871 return $2 ();
1872 ;
1873 return 0;
1874 }
1875 _ACEOF
1876 if ac_fn_c_try_link "$LINENO"; then :
1877 eval "$3=yes"
1878 else
1879 eval "$3=no"
1880 fi
1881 rm -f core conftest.err conftest.$ac_objext \
1882 conftest$ac_exeext conftest.$ac_ext
1883 fi
1884 eval ac_res=\$$3
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888
1889 } # ac_fn_c_check_func
1890
1891 # ac_fn_cxx_try_cpp LINENO
1892 # ------------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 ac_fn_cxx_try_cpp ()
1895 {
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
1898 case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1905 ac_status=$?
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1910 fi
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } > conftest.i && {
1913 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1914 test ! -s conftest.err
1915 }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1920
1921 ac_retval=1
1922 fi
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1925
1926 } # ac_fn_cxx_try_cpp
1927
1928 # ac_fn_cxx_try_link LINENO
1929 # -------------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_cxx_try_link ()
1932 {
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1936 case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1943 ac_status=$?
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1948 fi
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_cxx_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 test -x conftest$ac_exeext
1956 }; then :
1957 ac_retval=0
1958 else
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1961
1962 ac_retval=1
1963 fi
1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status $ac_retval
1971
1972 } # ac_fn_cxx_try_link
1973
1974 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1975 # ---------------------------------------------------------
1976 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1977 # the include files in INCLUDES and setting the cache variable VAR
1978 # accordingly.
1979 ac_fn_cxx_check_header_mongrel ()
1980 {
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if eval \${$3+:} false; then :
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval \${$3+:} false; then :
1986 $as_echo_n "(cached) " >&6
1987 fi
1988 eval ac_res=\$$3
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 else
1992 # Is the header compilable?
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1994 $as_echo_n "checking $2 usability... " >&6; }
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
1997 $4
1998 #include <$2>
1999 _ACEOF
2000 if ac_fn_cxx_try_compile "$LINENO"; then :
2001 ac_header_compiler=yes
2002 else
2003 ac_header_compiler=no
2004 fi
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2007 $as_echo "$ac_header_compiler" >&6; }
2008
2009 # Is the header present?
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2011 $as_echo_n "checking $2 presence... " >&6; }
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2014 #include <$2>
2015 _ACEOF
2016 if ac_fn_cxx_try_cpp "$LINENO"; then :
2017 ac_header_preproc=yes
2018 else
2019 ac_header_preproc=no
2020 fi
2021 rm -f conftest.err conftest.i conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2023 $as_echo "$ac_header_preproc" >&6; }
2024
2025 # So? What about this header?
2026 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2027 yes:no: )
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2029 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2031 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032 ;;
2033 no:yes:* )
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2035 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2037 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2039 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2041 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2043 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 ( $as_echo "## ------------------------------------------------------------------------------------------- ##
2045 ## Report this to https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab-blast ##
2046 ## ------------------------------------------------------------------------------------------- ##"
2047 ) | sed "s/^/$as_me: WARNING: /" >&2
2048 ;;
2049 esac
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 $as_echo_n "checking for $2... " >&6; }
2052 if eval \${$3+:} false; then :
2053 $as_echo_n "(cached) " >&6
2054 else
2055 eval "$3=\$ac_header_compiler"
2056 fi
2057 eval ac_res=\$$3
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060 fi
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062
2063 } # ac_fn_cxx_check_header_mongrel
2064 cat >config.log <<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2067
2068 It was created by librostlab-blast $as_me 1.0.1, which was
2069 generated by GNU Autoconf 2.69. Invocation command line was
2070
2071 $ $0 $@
2072
2073 _ACEOF
2074 exec 5>>config.log
2075 {
2076 cat <<_ASUNAME
2077 ## --------- ##
2078 ## Platform. ##
2079 ## --------- ##
2080
2081 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2086
2087 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2089
2090 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2091 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2092 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2094 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2095 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2096 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2097
2098 _ASUNAME
2099
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 for as_dir in $PATH
2102 do
2103 IFS=$as_save_IFS
2104 test -z "$as_dir" && as_dir=.
2105 $as_echo "PATH: $as_dir"
2106 done
2107 IFS=$as_save_IFS
2108
2109 } >&5
2110
2111 cat >&5 <<_ACEOF
2112
2113
2114 ## ----------- ##
2115 ## Core tests. ##
2116 ## ----------- ##
2117
2118 _ACEOF
2119
2120
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2126 ac_configure_args=
2127 ac_configure_args0=
2128 ac_configure_args1=
2129 ac_must_keep_next=false
2130 for ac_pass in 1 2
2131 do
2132 for ac_arg
2133 do
2134 case $ac_arg in
2135 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137 | -silent | --silent | --silen | --sile | --sil)
2138 continue ;;
2139 *\'*)
2140 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2141 esac
2142 case $ac_pass in
2143 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2144 2)
2145 as_fn_append ac_configure_args1 " '$ac_arg'"
2146 if test $ac_must_keep_next = true; then
2147 ac_must_keep_next=false # Got value, back to normal.
2148 else
2149 case $ac_arg in
2150 *=* | --config-cache | -C | -disable-* | --disable-* \
2151 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153 | -with-* | --with-* | -without-* | --without-* | --x)
2154 case "$ac_configure_args0 " in
2155 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2156 esac
2157 ;;
2158 -* ) ac_must_keep_next=true ;;
2159 esac
2160 fi
2161 as_fn_append ac_configure_args " '$ac_arg'"
2162 ;;
2163 esac
2164 done
2165 done
2166 { ac_configure_args0=; unset ac_configure_args0;}
2167 { ac_configure_args1=; unset ac_configure_args1;}
2168
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log. We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175 # Save into config.log some information that might help in debugging.
2176 {
2177 echo
2178
2179 $as_echo "## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##"
2182 echo
2183 # The following way of writing the cache mishandles newlines in values,
2184 (
2185 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in #(
2188 *${as_nl}*)
2189 case $ac_var in #(
2190 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2191 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2192 esac
2193 case $ac_var in #(
2194 _ | IFS | as_nl) ;; #(
2195 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2196 *) { eval $ac_var=; unset $ac_var;} ;;
2197 esac ;;
2198 esac
2199 done
2200 (set) 2>&1 |
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2203 sed -n \
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206 ;; #(
2207 *)
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 ;;
2210 esac |
2211 sort
2212 )
2213 echo
2214
2215 $as_echo "## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##"
2218 echo
2219 for ac_var in $ac_subst_vars
2220 do
2221 eval ac_val=\$$ac_var
2222 case $ac_val in
2223 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2224 esac
2225 $as_echo "$ac_var='\''$ac_val'\''"
2226 done | sort
2227 echo
2228
2229 if test -n "$ac_subst_files"; then
2230 $as_echo "## ------------------- ##
2231 ## File substitutions. ##
2232 ## ------------------- ##"
2233 echo
2234 for ac_var in $ac_subst_files
2235 do
2236 eval ac_val=\$$ac_var
2237 case $ac_val in
2238 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2239 esac
2240 $as_echo "$ac_var='\''$ac_val'\''"
2241 done | sort
2242 echo
2243 fi
2244
2245 if test -s confdefs.h; then
2246 $as_echo "## ----------- ##
2247 ## confdefs.h. ##
2248 ## ----------- ##"
2249 echo
2250 cat confdefs.h
2251 echo
2252 fi
2253 test "$ac_signal" != 0 &&
2254 $as_echo "$as_me: caught signal $ac_signal"
2255 $as_echo "$as_me: exit $exit_status"
2256 } >&5
2257 rm -f core *.core core.conftest.* &&
2258 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2259 exit $exit_status
2260 ' 0
2261 for ac_signal in 1 2 13 15; do
2262 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2263 done
2264 ac_signal=0
2265
2266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2267 rm -f -r conftest* confdefs.h
2268
2269 $as_echo "/* confdefs.h */" > confdefs.h
2270
2271 # Predefined preprocessor variables.
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_NAME "$PACKAGE_NAME"
2275 _ACEOF
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2279 _ACEOF
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2283 _ACEOF
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_STRING "$PACKAGE_STRING"
2287 _ACEOF
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2291 _ACEOF
2292
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_URL "$PACKAGE_URL"
2295 _ACEOF
2296
2297
2298 # Let the site file select an alternate cache file if it wants to.
2299 # Prefer an explicitly selected file to automatically selected ones.
2300 ac_site_file1=NONE
2301 ac_site_file2=NONE
2302 if test -n "$CONFIG_SITE"; then
2303 # We do not want a PATH search for config.site.
2304 case $CONFIG_SITE in #((
2305 -*) ac_site_file1=./$CONFIG_SITE;;
2306 */*) ac_site_file1=$CONFIG_SITE;;
2307 *) ac_site_file1=./$CONFIG_SITE;;
2308 esac
2309 elif test "x$prefix" != xNONE; then
2310 ac_site_file1=$prefix/share/config.site
2311 ac_site_file2=$prefix/etc/config.site
2312 else
2313 ac_site_file1=$ac_default_prefix/share/config.site
2314 ac_site_file2=$ac_default_prefix/etc/config.site
2315 fi
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2317 do
2318 test "x$ac_site_file" = xNONE && continue
2319 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2321 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2322 sed 's/^/| /' "$ac_site_file" >&5
2323 . "$ac_site_file" \
2324 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "failed to load site script $ac_site_file
2327 See \`config.log' for more details" "$LINENO" 5; }
2328 fi
2329 done
2330
2331 if test -r "$cache_file"; then
2332 # Some versions of bash will fail to source /dev/null (special files
2333 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2334 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2336 $as_echo "$as_me: loading cache $cache_file" >&6;}
2337 case $cache_file in
2338 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2339 *) . "./$cache_file";;
2340 esac
2341 fi
2342 else
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2344 $as_echo "$as_me: creating cache $cache_file" >&6;}
2345 >$cache_file
2346 fi
2347
2348 # Check that the precious variables saved in the cache have kept the same
2349 # value.
2350 ac_cache_corrupted=false
2351 for ac_var in $ac_precious_vars; do
2352 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2353 eval ac_new_set=\$ac_env_${ac_var}_set
2354 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2355 eval ac_new_val=\$ac_env_${ac_var}_value
2356 case $ac_old_set,$ac_new_set in
2357 set,)
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2360 ac_cache_corrupted=: ;;
2361 ,set)
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2363 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2364 ac_cache_corrupted=: ;;
2365 ,);;
2366 *)
2367 if test "x$ac_old_val" != "x$ac_new_val"; then
2368 # differences in whitespace do not lead to failure.
2369 ac_old_val_w=`echo x $ac_old_val`
2370 ac_new_val_w=`echo x $ac_new_val`
2371 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2373 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2374 ac_cache_corrupted=:
2375 else
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2377 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2378 eval $ac_var=\$ac_old_val
2379 fi
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2381 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2383 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2384 fi;;
2385 esac
2386 # Pass precious variables to config.status.
2387 if test "$ac_new_set" = set; then
2388 case $ac_new_val in
2389 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2390 *) ac_arg=$ac_var=$ac_new_val ;;
2391 esac
2392 case " $ac_configure_args " in
2393 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2394 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2395 esac
2396 fi
2397 done
2398 if $ac_cache_corrupted; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2402 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2403 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2404 fi
2405 ## -------------------- ##
2406 ## Main body of script. ##
2407 ## -------------------- ##
2408
2409 ac_ext=c
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2414
2415
2416
2417
2418 ac_config_headers="$ac_config_headers config.h:config.hin"
2419
2420 am__api_version='1.11'
2421
2422 ac_aux_dir=
2423 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2424 if test -f "$ac_dir/install-sh"; then
2425 ac_aux_dir=$ac_dir
2426 ac_install_sh="$ac_aux_dir/install-sh -c"
2427 break
2428 elif test -f "$ac_dir/install.sh"; then
2429 ac_aux_dir=$ac_dir
2430 ac_install_sh="$ac_aux_dir/install.sh -c"
2431 break
2432 elif test -f "$ac_dir/shtool"; then
2433 ac_aux_dir=$ac_dir
2434 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 break
2436 fi
2437 done
2438 if test -z "$ac_aux_dir"; then
2439 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2440 fi
2441
2442 # These three variables are undocumented and unsupported,
2443 # and are intended to be withdrawn in a future Autoconf release.
2444 # They can cause serious problems if a builder's source tree is in a directory
2445 # whose full name contains unusual characters.
2446 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2447 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2448 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2449
2450
2451 # Find a good install program. We prefer a C program (faster),
2452 # so one script is as good as another. But avoid the broken or
2453 # incompatible versions:
2454 # SysV /etc/install, /usr/sbin/install
2455 # SunOS /usr/etc/install
2456 # IRIX /sbin/install
2457 # AIX /bin/install
2458 # AmigaOS /C/install, which installs bootblocks on floppy discs
2459 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2462 # OS/2's system install, which has a completely different semantic
2463 # ./install, which can be erroneously created by make from ./install.sh.
2464 # Reject install programs that cannot install multiple files.
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2466 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2467 if test -z "$INSTALL"; then
2468 if ${ac_cv_path_install+:} false; then :
2469 $as_echo_n "(cached) " >&6
2470 else
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2473 do
2474 IFS=$as_save_IFS
2475 test -z "$as_dir" && as_dir=.
2476 # Account for people who put trailing slashes in PATH elements.
2477 case $as_dir/ in #((
2478 ./ | .// | /[cC]/* | \
2479 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2480 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2481 /usr/ucb/* ) ;;
2482 *)
2483 # OSF1 and SCO ODT 3.0 have their own names for install.
2484 # Don't use installbsd from OSF since it installs stuff as root
2485 # by default.
2486 for ac_prog in ginstall scoinst install; do
2487 for ac_exec_ext in '' $ac_executable_extensions; do
2488 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2489 if test $ac_prog = install &&
2490 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2491 # AIX install. It has an incompatible calling convention.
2492 :
2493 elif test $ac_prog = install &&
2494 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2495 # program-specific install script used by HP pwplus--don't use.
2496 :
2497 else
2498 rm -rf conftest.one conftest.two conftest.dir
2499 echo one > conftest.one
2500 echo two > conftest.two
2501 mkdir conftest.dir
2502 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2503 test -s conftest.one && test -s conftest.two &&
2504 test -s conftest.dir/conftest.one &&
2505 test -s conftest.dir/conftest.two
2506 then
2507 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2508 break 3
2509 fi
2510 fi
2511 fi
2512 done
2513 done
2514 ;;
2515 esac
2516
2517 done
2518 IFS=$as_save_IFS
2519
2520 rm -rf conftest.one conftest.two conftest.dir
2521
2522 fi
2523 if test "${ac_cv_path_install+set}" = set; then
2524 INSTALL=$ac_cv_path_install
2525 else
2526 # As a last resort, use the slow shell script. Don't cache a
2527 # value for INSTALL within a source directory, because that will
2528 # break other packages using the cache if that directory is
2529 # removed, or if the value is a relative name.
2530 INSTALL=$ac_install_sh
2531 fi
2532 fi
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2534 $as_echo "$INSTALL" >&6; }
2535
2536 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2537 # It thinks the first close brace ends the variable substitution.
2538 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2539
2540 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2541
2542 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2543
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2545 $as_echo_n "checking whether build environment is sane... " >&6; }
2546 # Just in case
2547 sleep 1
2548 echo timestamp > conftest.file
2549 # Reject unsafe characters in $srcdir or the absolute working directory
2550 # name. Accept space and tab only in the latter.
2551 am_lf='
2552 '
2553 case `pwd` in
2554 *[\\\"\#\$\&\'\`$am_lf]*)
2555 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2556 esac
2557 case $srcdir in
2558 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2559 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2560 esac
2561
2562 # Do `set' in a subshell so we don't clobber the current shell's
2563 # arguments. Must try -L first in case configure is actually a
2564 # symlink; some systems play weird games with the mod time of symlinks
2565 # (eg FreeBSD returns the mod time of the symlink's containing
2566 # directory).
2567 if (
2568 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2569 if test "$*" = "X"; then
2570 # -L didn't work.
2571 set X `ls -t "$srcdir/configure" conftest.file`
2572 fi
2573 rm -f conftest.file
2574 if test "$*" != "X $srcdir/configure conftest.file" \
2575 && test "$*" != "X conftest.file $srcdir/configure"; then
2576
2577 # If neither matched, then we have a broken ls. This can happen
2578 # if, for instance, CONFIG_SHELL is bash and it inherits a
2579 # broken ls alias from the environment. This has actually
2580 # happened. Such a system could not be considered "sane".
2581 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2582 alias in your environment" "$LINENO" 5
2583 fi
2584
2585 test "$2" = conftest.file
2586 )
2587 then
2588 # Ok.
2589 :
2590 else
2591 as_fn_error $? "newly created file is older than distributed files!
2592 Check your system clock" "$LINENO" 5
2593 fi
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2595 $as_echo "yes" >&6; }
2596 test "$program_prefix" != NONE &&
2597 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2598 # Use a double $ so make ignores it.
2599 test "$program_suffix" != NONE &&
2600 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2601 # Double any \ or $.
2602 # By default was `s,x,x', remove it if useless.
2603 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2604 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2605
2606 # expand $ac_aux_dir to an absolute path
2607 am_aux_dir=`cd $ac_aux_dir && pwd`
2608
2609 if test x"${MISSING+set}" != xset; then
2610 case $am_aux_dir in
2611 *\ * | *\ *)
2612 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2613 *)
2614 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2615 esac
2616 fi
2617 # Use eval to expand $SHELL
2618 if eval "$MISSING --run true"; then
2619 am_missing_run="$MISSING --run "
2620 else
2621 am_missing_run=
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2623 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2624 fi
2625
2626 if test x"${install_sh}" != xset; then
2627 case $am_aux_dir in
2628 *\ * | *\ *)
2629 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2630 *)
2631 install_sh="\${SHELL} $am_aux_dir/install-sh"
2632 esac
2633 fi
2634
2635 # Installed binaries are usually stripped using `strip' when the user
2636 # run `make install-strip'. However `strip' might not be the right
2637 # tool to use in cross-compilation environments, therefore Automake
2638 # will honor the `STRIP' environment variable to overrule this program.
2639 if test "$cross_compiling" != no; then
2640 if test -n "$ac_tool_prefix"; then
2641 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2642 set dummy ${ac_tool_prefix}strip; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_STRIP+:} false; then :
2646 $as_echo_n "(cached) " >&6
2647 else
2648 if test -n "$STRIP"; then
2649 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2650 else
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 for as_dir in $PATH
2653 do
2654 IFS=$as_save_IFS
2655 test -z "$as_dir" && as_dir=.
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2658 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 break 2
2661 fi
2662 done
2663 done
2664 IFS=$as_save_IFS
2665
2666 fi
2667 fi
2668 STRIP=$ac_cv_prog_STRIP
2669 if test -n "$STRIP"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2671 $as_echo "$STRIP" >&6; }
2672 else
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2675 fi
2676
2677
2678 fi
2679 if test -z "$ac_cv_prog_STRIP"; then
2680 ac_ct_STRIP=$STRIP
2681 # Extract the first word of "strip", so it can be a program name with args.
2682 set dummy strip; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2686 $as_echo_n "(cached) " >&6
2687 else
2688 if test -n "$ac_ct_STRIP"; then
2689 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2690 else
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH
2693 do
2694 IFS=$as_save_IFS
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_ac_ct_STRIP="strip"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 break 2
2701 fi
2702 done
2703 done
2704 IFS=$as_save_IFS
2705
2706 fi
2707 fi
2708 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2709 if test -n "$ac_ct_STRIP"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2711 $as_echo "$ac_ct_STRIP" >&6; }
2712 else
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2715 fi
2716
2717 if test "x$ac_ct_STRIP" = x; then
2718 STRIP=":"
2719 else
2720 case $cross_compiling:$ac_tool_warned in
2721 yes:)
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2724 ac_tool_warned=yes ;;
2725 esac
2726 STRIP=$ac_ct_STRIP
2727 fi
2728 else
2729 STRIP="$ac_cv_prog_STRIP"
2730 fi
2731
2732 fi
2733 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2734
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2736 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2737 if test -z "$MKDIR_P"; then
2738 if ${ac_cv_path_mkdir+:} false; then :
2739 $as_echo_n "(cached) " >&6
2740 else
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2743 do
2744 IFS=$as_save_IFS
2745 test -z "$as_dir" && as_dir=.
2746 for ac_prog in mkdir gmkdir; do
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2749 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2750 'mkdir (GNU coreutils) '* | \
2751 'mkdir (coreutils) '* | \
2752 'mkdir (fileutils) '4.1*)
2753 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2754 break 3;;
2755 esac
2756 done
2757 done
2758 done
2759 IFS=$as_save_IFS
2760
2761 fi
2762
2763 test -d ./--version && rmdir ./--version
2764 if test "${ac_cv_path_mkdir+set}" = set; then
2765 MKDIR_P="$ac_cv_path_mkdir -p"
2766 else
2767 # As a last resort, use the slow shell script. Don't cache a
2768 # value for MKDIR_P within a source directory, because that will
2769 # break other packages using the cache if that directory is
2770 # removed, or if the value is a relative name.
2771 MKDIR_P="$ac_install_sh -d"
2772 fi
2773 fi
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2775 $as_echo "$MKDIR_P" >&6; }
2776
2777 mkdir_p="$MKDIR_P"
2778 case $mkdir_p in
2779 [\\/$]* | ?:[\\/]*) ;;
2780 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2781 esac
2782
2783 for ac_prog in gawk mawk nawk awk
2784 do
2785 # Extract the first word of "$ac_prog", so it can be a program name with args.
2786 set dummy $ac_prog; ac_word=$2
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 $as_echo_n "checking for $ac_word... " >&6; }
2789 if ${ac_cv_prog_AWK+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791 else
2792 if test -n "$AWK"; then
2793 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2794 else
2795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796 for as_dir in $PATH
2797 do
2798 IFS=$as_save_IFS
2799 test -z "$as_dir" && as_dir=.
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2802 ac_cv_prog_AWK="$ac_prog"
2803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 break 2
2805 fi
2806 done
2807 done
2808 IFS=$as_save_IFS
2809
2810 fi
2811 fi
2812 AWK=$ac_cv_prog_AWK
2813 if test -n "$AWK"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2815 $as_echo "$AWK" >&6; }
2816 else
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2819 fi
2820
2821
2822 test -n "$AWK" && break
2823 done
2824
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2826 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2827 set x ${MAKE-make}
2828 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2829 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2830 $as_echo_n "(cached) " >&6
2831 else
2832 cat >conftest.make <<\_ACEOF
2833 SHELL = /bin/sh
2834 all:
2835 @echo '@@@%%%=$(MAKE)=@@@%%%'
2836 _ACEOF
2837 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2838 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2839 *@@@%%%=?*=@@@%%%*)
2840 eval ac_cv_prog_make_${ac_make}_set=yes;;
2841 *)
2842 eval ac_cv_prog_make_${ac_make}_set=no;;
2843 esac
2844 rm -f conftest.make
2845 fi
2846 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2848 $as_echo "yes" >&6; }
2849 SET_MAKE=
2850 else
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2853 SET_MAKE="MAKE=${MAKE-make}"
2854 fi
2855
2856 rm -rf .tst 2>/dev/null
2857 mkdir .tst 2>/dev/null
2858 if test -d .tst; then
2859 am__leading_dot=.
2860 else
2861 am__leading_dot=_
2862 fi
2863 rmdir .tst 2>/dev/null
2864
2865 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2866 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2867 # is not polluted with repeated "-I."
2868 am__isrc=' -I$(srcdir)'
2869 # test to see if srcdir already configured
2870 if test -f $srcdir/config.status; then
2871 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2872 fi
2873 fi
2874
2875 # test whether we have cygpath
2876 if test -z "$CYGPATH_W"; then
2877 if (cygpath --version) >/dev/null 2>/dev/null; then
2878 CYGPATH_W='cygpath -w'
2879 else
2880 CYGPATH_W=echo
2881 fi
2882 fi
2883
2884
2885 # Define the identity of the package.
2886 PACKAGE='librostlab-blast'
2887 VERSION='1.0.1'
2888
2889
2890 cat >>confdefs.h <<_ACEOF
2891 #define PACKAGE "$PACKAGE"
2892 _ACEOF
2893
2894
2895 cat >>confdefs.h <<_ACEOF
2896 #define VERSION "$VERSION"
2897 _ACEOF
2898
2899 # Some tools Automake needs.
2900
2901 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2902
2903
2904 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2905
2906
2907 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2908
2909
2910 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2911
2912
2913 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2914
2915 # We need awk for the "check" target. The system "awk" is bad on
2916 # some platforms.
2917 # Always define AMTAR for backward compatibility. Yes, it's still used
2918 # in the wild :-( We should find a proper way to deprecate it ...
2919 AMTAR='$${TAR-tar}'
2920
2921 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2922
2923
2924
2925
2926
2927
2928 ac_ext=c
2929 ac_cpp='$CPP $CPPFLAGS'
2930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2933 if test -n "$ac_tool_prefix"; then
2934 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2935 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937 $as_echo_n "checking for $ac_word... " >&6; }
2938 if ${ac_cv_prog_CC+:} false; then :
2939 $as_echo_n "(cached) " >&6
2940 else
2941 if test -n "$CC"; then
2942 ac_cv_prog_CC="$CC" # Let the user override the test.
2943 else
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 for as_dir in $PATH
2946 do
2947 IFS=$as_save_IFS
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2953 break 2
2954 fi
2955 done
2956 done
2957 IFS=$as_save_IFS
2958
2959 fi
2960 fi
2961 CC=$ac_cv_prog_CC
2962 if test -n "$CC"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2964 $as_echo "$CC" >&6; }
2965 else
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2968 fi
2969
2970
2971 fi
2972 if test -z "$ac_cv_prog_CC"; then
2973 ac_ct_CC=$CC
2974 # Extract the first word of "gcc", so it can be a program name with args.
2975 set dummy gcc; ac_word=$2
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977 $as_echo_n "checking for $ac_word... " >&6; }
2978 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2979 $as_echo_n "(cached) " >&6
2980 else
2981 if test -n "$ac_ct_CC"; then
2982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2983 else
2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 for as_dir in $PATH
2986 do
2987 IFS=$as_save_IFS
2988 test -z "$as_dir" && as_dir=.
2989 for ac_exec_ext in '' $ac_executable_extensions; do
2990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2991 ac_cv_prog_ac_ct_CC="gcc"
2992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993 break 2
2994 fi
2995 done
2996 done
2997 IFS=$as_save_IFS
2998
2999 fi
3000 fi
3001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3002 if test -n "$ac_ct_CC"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3004 $as_echo "$ac_ct_CC" >&6; }
3005 else
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3008 fi
3009
3010 if test "x$ac_ct_CC" = x; then
3011 CC=""
3012 else
3013 case $cross_compiling:$ac_tool_warned in
3014 yes:)
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3017 ac_tool_warned=yes ;;
3018 esac
3019 CC=$ac_ct_CC
3020 fi
3021 else
3022 CC="$ac_cv_prog_CC"
3023 fi
3024
3025 if test -z "$CC"; then
3026 if test -n "$ac_tool_prefix"; then
3027 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3028 set dummy ${ac_tool_prefix}cc; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false; then :
3032 $as_echo_n "(cached) " >&6
3033 else
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC="$CC" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040 IFS=$as_save_IFS
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 ac_cv_prog_CC="${ac_tool_prefix}cc"
3045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 break 2
3047 fi
3048 done
3049 done
3050 IFS=$as_save_IFS
3051
3052 fi
3053 fi
3054 CC=$ac_cv_prog_CC
3055 if test -n "$CC"; then
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3058 else
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3061 fi
3062
3063
3064 fi
3065 fi
3066 if test -z "$CC"; then
3067 # Extract the first word of "cc", so it can be a program name with args.
3068 set dummy cc; ac_word=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if ${ac_cv_prog_CC+:} false; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 if test -n "$CC"; then
3075 ac_cv_prog_CC="$CC" # Let the user override the test.
3076 else
3077 ac_prog_rejected=no
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH
3080 do
3081 IFS=$as_save_IFS
3082 test -z "$as_dir" && as_dir=.
3083 for ac_exec_ext in '' $ac_executable_extensions; do
3084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3086 ac_prog_rejected=yes
3087 continue
3088 fi
3089 ac_cv_prog_CC="cc"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091 break 2
3092 fi
3093 done
3094 done
3095 IFS=$as_save_IFS
3096
3097 if test $ac_prog_rejected = yes; then
3098 # We found a bogon in the path, so make sure we never use it.
3099 set dummy $ac_cv_prog_CC
3100 shift
3101 if test $# != 0; then
3102 # We chose a different compiler from the bogus one.
3103 # However, it has the same basename, so the bogon will be chosen
3104 # first if we set CC to just the basename; use the full file name.
3105 shift
3106 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3107 fi
3108 fi
3109 fi
3110 fi
3111 CC=$ac_cv_prog_CC
3112 if test -n "$CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3115 else
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3118 fi
3119
3120
3121 fi
3122 if test -z "$CC"; then
3123 if test -n "$ac_tool_prefix"; then
3124 for ac_prog in cl.exe
3125 do
3126 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if ${ac_cv_prog_CC+:} false; then :
3131 $as_echo_n "(cached) " >&6
3132 else
3133 if test -n "$CC"; then
3134 ac_cv_prog_CC="$CC" # Let the user override the test.
3135 else
3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137 for as_dir in $PATH
3138 do
3139 IFS=$as_save_IFS
3140 test -z "$as_dir" && as_dir=.
3141 for ac_exec_ext in '' $ac_executable_extensions; do
3142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3143 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 break 2
3146 fi
3147 done
3148 done
3149 IFS=$as_save_IFS
3150
3151 fi
3152 fi
3153 CC=$ac_cv_prog_CC
3154 if test -n "$CC"; then
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3156 $as_echo "$CC" >&6; }
3157 else
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3160 fi
3161
3162
3163 test -n "$CC" && break
3164 done
3165 fi
3166 if test -z "$CC"; then
3167 ac_ct_CC=$CC
3168 for ac_prog in cl.exe
3169 do
3170 # Extract the first word of "$ac_prog", so it can be a program name with args.
3171 set dummy $ac_prog; ac_word=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3175 $as_echo_n "(cached) " >&6
3176 else
3177 if test -n "$ac_ct_CC"; then
3178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3179 else
3180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181 for as_dir in $PATH
3182 do
3183 IFS=$as_save_IFS
3184 test -z "$as_dir" && as_dir=.
3185 for ac_exec_ext in '' $ac_executable_extensions; do
3186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3187 ac_cv_prog_ac_ct_CC="$ac_prog"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 break 2
3190 fi
3191 done
3192 done
3193 IFS=$as_save_IFS
3194
3195 fi
3196 fi
3197 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3198 if test -n "$ac_ct_CC"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3200 $as_echo "$ac_ct_CC" >&6; }
3201 else
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3204 fi
3205
3206
3207 test -n "$ac_ct_CC" && break
3208 done
3209
3210 if test "x$ac_ct_CC" = x; then
3211 CC=""
3212 else
3213 case $cross_compiling:$ac_tool_warned in
3214 yes:)
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3217 ac_tool_warned=yes ;;
3218 esac
3219 CC=$ac_ct_CC
3220 fi
3221 fi
3222
3223 fi
3224
3225
3226 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228 as_fn_error $? "no acceptable C compiler found in \$PATH
3229 See \`config.log' for more details" "$LINENO" 5; }
3230
3231 # Provide some information about the compiler.
3232 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3233 set X $ac_compile
3234 ac_compiler=$2
3235 for ac_option in --version -v -V -qversion; do
3236 { { ac_try="$ac_compiler $ac_option >&5"
3237 case "(($ac_try" in
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3240 esac
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 $as_echo "$ac_try_echo"; } >&5
3243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3244 ac_status=$?
3245 if test -s conftest.err; then
3246 sed '10a\
3247 ... rest of stderr output deleted ...
3248 10q' conftest.err >conftest.er1
3249 cat conftest.er1 >&5
3250 fi
3251 rm -f conftest.er1 conftest.err
3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }
3254 done
3255
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3258
3259 int
3260 main ()
3261 {
3262
3263 ;
3264 return 0;
3265 }
3266 _ACEOF
3267 ac_clean_files_save=$ac_clean_files
3268 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3269 # Try to create an executable without -o first, disregard a.out.
3270 # It will help us diagnose broken compilers, and finding out an intuition
3271 # of exeext.
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3273 $as_echo_n "checking whether the C compiler works... " >&6; }
3274 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3275
3276 # The possible output files:
3277 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3278
3279 ac_rmfiles=
3280 for ac_file in $ac_files
3281 do
3282 case $ac_file in
3283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3284 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3285 esac
3286 done
3287 rm -f $ac_rmfiles
3288
3289 if { { ac_try="$ac_link_default"
3290 case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3293 esac
3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295 $as_echo "$ac_try_echo"; } >&5
3296 (eval "$ac_link_default") 2>&5
3297 ac_status=$?
3298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299 test $ac_status = 0; }; then :
3300 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3301 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3302 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3303 # so that the user can short-circuit this test for compilers unknown to
3304 # Autoconf.
3305 for ac_file in $ac_files ''
3306 do
3307 test -f "$ac_file" || continue
3308 case $ac_file in
3309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3310 ;;
3311 [ab].out )
3312 # We found the default executable, but exeext='' is most
3313 # certainly right.
3314 break;;
3315 *.* )
3316 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3317 then :; else
3318 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3319 fi
3320 # We set ac_cv_exeext here because the later test for it is not
3321 # safe: cross compilers may not add the suffix if given an `-o'
3322 # argument, so we may need to know it at that point already.
3323 # Even if this section looks crufty: it has the advantage of
3324 # actually working.
3325 break;;
3326 * )
3327 break;;
3328 esac
3329 done
3330 test "$ac_cv_exeext" = no && ac_cv_exeext=
3331
3332 else
3333 ac_file=''
3334 fi
3335 if test -z "$ac_file"; then :
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3338 $as_echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3340
3341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 as_fn_error 77 "C compiler cannot create executables
3344 See \`config.log' for more details" "$LINENO" 5; }
3345 else
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3347 $as_echo "yes" >&6; }
3348 fi
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3350 $as_echo_n "checking for C compiler default output file name... " >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3352 $as_echo "$ac_file" >&6; }
3353 ac_exeext=$ac_cv_exeext
3354
3355 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3356 ac_clean_files=$ac_clean_files_save
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3358 $as_echo_n "checking for suffix of executables... " >&6; }
3359 if { { ac_try="$ac_link"
3360 case "(($ac_try" in
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3363 esac
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_link") 2>&5
3367 ac_status=$?
3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3369 test $ac_status = 0; }; then :
3370 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3371 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3372 # work properly (i.e., refer to `conftest.exe'), while it won't with
3373 # `rm'.
3374 for ac_file in conftest.exe conftest conftest.*; do
3375 test -f "$ac_file" || continue
3376 case $ac_file in
3377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3379 break;;
3380 * ) break;;
3381 esac
3382 done
3383 else
3384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3387 See \`config.log' for more details" "$LINENO" 5; }
3388 fi
3389 rm -f conftest conftest$ac_cv_exeext
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3391 $as_echo "$ac_cv_exeext" >&6; }
3392
3393 rm -f conftest.$ac_ext
3394 EXEEXT=$ac_cv_exeext
3395 ac_exeext=$EXEEXT
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3398 #include <stdio.h>
3399 int
3400 main ()
3401 {
3402 FILE *f = fopen ("conftest.out", "w");
3403 return ferror (f) || fclose (f) != 0;
3404
3405 ;
3406 return 0;
3407 }
3408 _ACEOF
3409 ac_clean_files="$ac_clean_files conftest.out"
3410 # Check that the compiler produces executables we can run. If not, either
3411 # the compiler is broken, or we cross compile.
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3413 $as_echo_n "checking whether we are cross compiling... " >&6; }
3414 if test "$cross_compiling" != yes; then
3415 { { ac_try="$ac_link"
3416 case "(($ac_try" in
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3419 esac
3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3421 $as_echo "$ac_try_echo"; } >&5
3422 (eval "$ac_link") 2>&5
3423 ac_status=$?
3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3425 test $ac_status = 0; }
3426 if { ac_try='./conftest$ac_cv_exeext'
3427 { { case "(($ac_try" in
3428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429 *) ac_try_echo=$ac_try;;
3430 esac
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_try") 2>&5
3434 ac_status=$?
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }; }; then
3437 cross_compiling=no
3438 else
3439 if test "$cross_compiling" = maybe; then
3440 cross_compiling=yes
3441 else
3442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 as_fn_error $? "cannot run C compiled programs.
3445 If you meant to cross compile, use \`--host'.
3446 See \`config.log' for more details" "$LINENO" 5; }
3447 fi
3448 fi
3449 fi
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3451 $as_echo "$cross_compiling" >&6; }
3452
3453 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3454 ac_clean_files=$ac_clean_files_save
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3456 $as_echo_n "checking for suffix of object files... " >&6; }
3457 if ${ac_cv_objext+:} false; then :
3458 $as_echo_n "(cached) " >&6
3459 else
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3462
3463 int
3464 main ()
3465 {
3466
3467 ;
3468 return 0;
3469 }
3470 _ACEOF
3471 rm -f conftest.o conftest.obj
3472 if { { ac_try="$ac_compile"
3473 case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476 esac
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_compile") 2>&5
3480 ac_status=$?
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }; then :
3483 for ac_file in conftest.o conftest.obj conftest.*; do
3484 test -f "$ac_file" || continue;
3485 case $ac_file in
3486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3487 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3488 break;;
3489 esac
3490 done
3491 else
3492 $as_echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3494
3495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497 as_fn_error $? "cannot compute suffix of object files: cannot compile
3498 See \`config.log' for more details" "$LINENO" 5; }
3499 fi
3500 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3501 fi
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3503 $as_echo "$ac_cv_objext" >&6; }
3504 OBJEXT=$ac_cv_objext
3505 ac_objext=$OBJEXT
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3507 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3508 if ${ac_cv_c_compiler_gnu+:} false; then :
3509 $as_echo_n "(cached) " >&6
3510 else
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3513
3514 int
3515 main ()
3516 {
3517 #ifndef __GNUC__
3518 choke me
3519 #endif
3520
3521 ;
3522 return 0;
3523 }
3524 _ACEOF
3525 if ac_fn_c_try_compile "$LINENO"; then :
3526 ac_compiler_gnu=yes
3527 else
3528 ac_compiler_gnu=no
3529 fi
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3532
3533 fi
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3535 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3536 if test $ac_compiler_gnu = yes; then
3537 GCC=yes
3538 else
3539 GCC=
3540 fi
3541 ac_test_CFLAGS=${CFLAGS+set}
3542 ac_save_CFLAGS=$CFLAGS
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3544 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3545 if ${ac_cv_prog_cc_g+:} false; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 ac_save_c_werror_flag=$ac_c_werror_flag
3549 ac_c_werror_flag=yes
3550 ac_cv_prog_cc_g=no
3551 CFLAGS="-g"
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3554
3555 int
3556 main ()
3557 {
3558
3559 ;
3560 return 0;
3561 }
3562 _ACEOF
3563 if ac_fn_c_try_compile "$LINENO"; then :
3564 ac_cv_prog_cc_g=yes
3565 else
3566 CFLAGS=""
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3569
3570 int
3571 main ()
3572 {
3573
3574 ;
3575 return 0;
3576 }
3577 _ACEOF
3578 if ac_fn_c_try_compile "$LINENO"; then :
3579
3580 else
3581 ac_c_werror_flag=$ac_save_c_werror_flag
3582 CFLAGS="-g"
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585
3586 int
3587 main ()
3588 {
3589
3590 ;
3591 return 0;
3592 }
3593 _ACEOF
3594 if ac_fn_c_try_compile "$LINENO"; then :
3595 ac_cv_prog_cc_g=yes
3596 fi
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 fi
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 fi
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 ac_c_werror_flag=$ac_save_c_werror_flag
3603 fi
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3605 $as_echo "$ac_cv_prog_cc_g" >&6; }
3606 if test "$ac_test_CFLAGS" = set; then
3607 CFLAGS=$ac_save_CFLAGS
3608 elif test $ac_cv_prog_cc_g = yes; then
3609 if test "$GCC" = yes; then
3610 CFLAGS="-g -O2"
3611 else
3612 CFLAGS="-g"
3613 fi
3614 else
3615 if test "$GCC" = yes; then
3616 CFLAGS="-O2"
3617 else
3618 CFLAGS=
3619 fi
3620 fi
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3622 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3623 if ${ac_cv_prog_cc_c89+:} false; then :
3624 $as_echo_n "(cached) " >&6
3625 else
3626 ac_cv_prog_cc_c89=no
3627 ac_save_CC=$CC
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3630 #include <stdarg.h>
3631 #include <stdio.h>
3632 struct stat;
3633 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3634 struct buf { int x; };
3635 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3636 static char *e (p, i)
3637 char **p;
3638 int i;
3639 {
3640 return p[i];
3641 }
3642 static char *f (char * (*g) (char **, int), char **p, ...)
3643 {
3644 char *s;
3645 va_list v;
3646 va_start (v,p);
3647 s = g (p, va_arg (v,int));
3648 va_end (v);
3649 return s;
3650 }
3651
3652 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3653 function prototypes and stuff, but not '\xHH' hex character constants.
3654 These don't provoke an error unfortunately, instead are silently treated
3655 as 'x'. The following induces an error, until -std is added to get
3656 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3657 array size at least. It's necessary to write '\x00'==0 to get something
3658 that's true only with -std. */
3659 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3660
3661 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3662 inside strings and character constants. */
3663 #define FOO(x) 'x'
3664 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3665
3666 int test (int i, double x);
3667 struct s1 {int (*f) (int a);};
3668 struct s2 {int (*f) (double a);};
3669 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3670 int argc;
3671 char **argv;
3672 int
3673 main ()
3674 {
3675 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3676 ;
3677 return 0;
3678 }
3679 _ACEOF
3680 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3681 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3682 do
3683 CC="$ac_save_CC $ac_arg"
3684 if ac_fn_c_try_compile "$LINENO"; then :
3685 ac_cv_prog_cc_c89=$ac_arg
3686 fi
3687 rm -f core conftest.err conftest.$ac_objext
3688 test "x$ac_cv_prog_cc_c89" != "xno" && break
3689 done
3690 rm -f conftest.$ac_ext
3691 CC=$ac_save_CC
3692
3693 fi
3694 # AC_CACHE_VAL
3695 case "x$ac_cv_prog_cc_c89" in
3696 x)
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3698 $as_echo "none needed" >&6; } ;;
3699 xno)
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3701 $as_echo "unsupported" >&6; } ;;
3702 *)
3703 CC="$CC $ac_cv_prog_cc_c89"
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3705 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3706 esac
3707 if test "x$ac_cv_prog_cc_c89" != xno; then :
3708
3709 fi
3710
3711 ac_ext=c
3712 ac_cpp='$CPP $CPPFLAGS'
3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716 DEPDIR="${am__leading_dot}deps"
3717
3718 ac_config_commands="$ac_config_commands depfiles"
3719
3720
3721 am_make=${MAKE-make}
3722 cat > confinc << 'END'
3723 am__doit:
3724 @echo this is the am__doit target
3725 .PHONY: am__doit
3726 END
3727 # If we don't find an include directive, just comment out the code.
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3729 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3730 am__include="#"
3731 am__quote=
3732 _am_result=none
3733 # First try GNU make style include.
3734 echo "include confinc" > confmf
3735 # Ignore all kinds of additional output from `make'.
3736 case `$am_make -s -f confmf 2> /dev/null` in #(
3737 *the\ am__doit\ target*)
3738 am__include=include
3739 am__quote=
3740 _am_result=GNU
3741 ;;
3742 esac
3743 # Now try BSD make style include.
3744 if test "$am__include" = "#"; then
3745 echo '.include "confinc"' > confmf
3746 case `$am_make -s -f confmf 2> /dev/null` in #(
3747 *the\ am__doit\ target*)
3748 am__include=.include
3749 am__quote="\""
3750 _am_result=BSD
3751 ;;
3752 esac
3753 fi
3754
3755
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3757 $as_echo "$_am_result" >&6; }
3758 rm -f confinc confmf
3759
3760 # Check whether --enable-dependency-tracking was given.
3761 if test "${enable_dependency_tracking+set}" = set; then :
3762 enableval=$enable_dependency_tracking;
3763 fi
3764
3765 if test "x$enable_dependency_tracking" != xno; then
3766 am_depcomp="$ac_aux_dir/depcomp"
3767 AMDEPBACKSLASH='\'
3768 am__nodep='_no'
3769 fi
3770 if test "x$enable_dependency_tracking" != xno; then
3771 AMDEP_TRUE=
3772 AMDEP_FALSE='#'
3773 else
3774 AMDEP_TRUE='#'
3775 AMDEP_FALSE=
3776 fi
3777
3778
3779
3780 depcc="$CC" am_compiler_list=
3781
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3783 $as_echo_n "checking dependency style of $depcc... " >&6; }
3784 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3785 $as_echo_n "(cached) " >&6
3786 else
3787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3788 # We make a subdir and do the tests there. Otherwise we can end up
3789 # making bogus files that we don't know about and never remove. For
3790 # instance it was reported that on HP-UX the gcc test will end up
3791 # making a dummy file named `D' -- because `-MD' means `put the output
3792 # in D'.
3793 rm -rf conftest.dir
3794 mkdir conftest.dir
3795 # Copy depcomp to subdir because otherwise we won't find it if we're
3796 # using a relative directory.
3797 cp "$am_depcomp" conftest.dir
3798 cd conftest.dir
3799 # We will build objects and dependencies in a subdirectory because
3800 # it helps to detect inapplicable dependency modes. For instance
3801 # both Tru64's cc and ICC support -MD to output dependencies as a
3802 # side effect of compilation, but ICC will put the dependencies in
3803 # the current directory while Tru64 will put them in the object
3804 # directory.
3805 mkdir sub
3806
3807 am_cv_CC_dependencies_compiler_type=none
3808 if test "$am_compiler_list" = ""; then
3809 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3810 fi
3811 am__universal=false
3812 case " $depcc " in #(
3813 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3814 esac
3815
3816 for depmode in $am_compiler_list; do
3817 # Setup a source with many dependencies, because some compilers
3818 # like to wrap large dependency lists on column 80 (with \), and
3819 # we should not choose a depcomp mode which is confused by this.
3820 #
3821 # We need to recreate these files for each test, as the compiler may
3822 # overwrite some of them when testing with obscure command lines.
3823 # This happens at least with the AIX C compiler.
3824 : > sub/conftest.c
3825 for i in 1 2 3 4 5 6; do
3826 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3827 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3828 # Solaris 8's {/usr,}/bin/sh.
3829 touch sub/conftst$i.h
3830 done
3831 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3832
3833 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3834 # mode. It turns out that the SunPro C++ compiler does not properly
3835 # handle `-M -o', and we need to detect this. Also, some Intel
3836 # versions had trouble with output in subdirs
3837 am__obj=sub/conftest.${OBJEXT-o}
3838 am__minus_obj="-o $am__obj"
3839 case $depmode in
3840 gcc)
3841 # This depmode causes a compiler race in universal mode.
3842 test "$am__universal" = false || continue
3843 ;;
3844 nosideeffect)
3845 # after this tag, mechanisms are not by side-effect, so they'll
3846 # only be used when explicitly requested
3847 if test "x$enable_dependency_tracking" = xyes; then
3848 continue
3849 else
3850 break
3851 fi
3852 ;;
3853 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3854 # This compiler won't grok `-c -o', but also, the minuso test has
3855 # not run yet. These depmodes are late enough in the game, and
3856 # so weak that their functioning should not be impacted.
3857 am__obj=conftest.${OBJEXT-o}
3858 am__minus_obj=
3859 ;;
3860 none) break ;;
3861 esac
3862 if depmode=$depmode \
3863 source=sub/conftest.c object=$am__obj \
3864 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3865 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3866 >/dev/null 2>conftest.err &&
3867 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3868 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3869 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3870 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3871 # icc doesn't choke on unknown options, it will just issue warnings
3872 # or remarks (even with -Werror). So we grep stderr for any message
3873 # that says an option was ignored or not supported.
3874 # When given -MP, icc 7.0 and 7.1 complain thusly:
3875 # icc: Command line warning: ignoring option '-M'; no argument required
3876 # The diagnosis changed in icc 8.0:
3877 # icc: Command line remark: option '-MP' not supported
3878 if (grep 'ignoring option' conftest.err ||
3879 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3880 am_cv_CC_dependencies_compiler_type=$depmode
3881 break
3882 fi
3883 fi
3884 done
3885
3886 cd ..
3887 rm -rf conftest.dir
3888 else
3889 am_cv_CC_dependencies_compiler_type=none
3890 fi
3891
3892 fi
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3894 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3895 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3896
3897 if
3898 test "x$enable_dependency_tracking" != xno \
3899 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3900 am__fastdepCC_TRUE=
3901 am__fastdepCC_FALSE='#'
3902 else
3903 am__fastdepCC_TRUE='#'
3904 am__fastdepCC_FALSE=
3905 fi
3906
3907
3908 ac_ext=cpp
3909 ac_cpp='$CXXCPP $CPPFLAGS'
3910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3913 if test -z "$CXX"; then
3914 if test -n "$CCC"; then
3915 CXX=$CCC
3916 else
3917 if test -n "$ac_tool_prefix"; then
3918 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3919 do
3920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_CXX+:} false; then :
3925 $as_echo_n "(cached) " >&6
3926 else
3927 if test -n "$CXX"; then
3928 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3929 else
3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 for as_dir in $PATH
3932 do
3933 IFS=$as_save_IFS
3934 test -z "$as_dir" && as_dir=.
3935 for ac_exec_ext in '' $ac_executable_extensions; do
3936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 break 2
3940 fi
3941 done
3942 done
3943 IFS=$as_save_IFS
3944
3945 fi
3946 fi
3947 CXX=$ac_cv_prog_CXX
3948 if test -n "$CXX"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3950 $as_echo "$CXX" >&6; }
3951 else
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3954 fi
3955
3956
3957 test -n "$CXX" && break
3958 done
3959 fi
3960 if test -z "$CXX"; then
3961 ac_ct_CXX=$CXX
3962 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3963 do
3964 # Extract the first word of "$ac_prog", so it can be a program name with args.
3965 set dummy $ac_prog; ac_word=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 if test -n "$ac_ct_CXX"; then
3972 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3973 else
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 for as_dir in $PATH
3976 do
3977 IFS=$as_save_IFS
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_ac_ct_CXX="$ac_prog"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 break 2
3984 fi
3985 done
3986 done
3987 IFS=$as_save_IFS
3988
3989 fi
3990 fi
3991 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3992 if test -n "$ac_ct_CXX"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3994 $as_echo "$ac_ct_CXX" >&6; }
3995 else
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
3998 fi
3999
4000
4001 test -n "$ac_ct_CXX" && break
4002 done
4003
4004 if test "x$ac_ct_CXX" = x; then
4005 CXX="g++"
4006 else
4007 case $cross_compiling:$ac_tool_warned in
4008 yes:)
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4011 ac_tool_warned=yes ;;
4012 esac
4013 CXX=$ac_ct_CXX
4014 fi
4015 fi
4016
4017 fi
4018 fi
4019 # Provide some information about the compiler.
4020 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4021 set X $ac_compile
4022 ac_compiler=$2
4023 for ac_option in --version -v -V -qversion; do
4024 { { ac_try="$ac_compiler $ac_option >&5"
4025 case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4032 ac_status=$?
4033 if test -s conftest.err; then
4034 sed '10a\
4035 ... rest of stderr output deleted ...
4036 10q' conftest.err >conftest.er1
4037 cat conftest.er1 >&5
4038 fi
4039 rm -f conftest.er1 conftest.err
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }
4042 done
4043
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4045 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4046 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4047 $as_echo_n "(cached) " >&6
4048 else
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051
4052 int
4053 main ()
4054 {
4055 #ifndef __GNUC__
4056 choke me
4057 #endif
4058
4059 ;
4060 return 0;
4061 }
4062 _ACEOF
4063 if ac_fn_cxx_try_compile "$LINENO"; then :
4064 ac_compiler_gnu=yes
4065 else
4066 ac_compiler_gnu=no
4067 fi
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4070
4071 fi
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4073 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4074 if test $ac_compiler_gnu = yes; then
4075 GXX=yes
4076 else
4077 GXX=
4078 fi
4079 ac_test_CXXFLAGS=${CXXFLAGS+set}
4080 ac_save_CXXFLAGS=$CXXFLAGS
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4082 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4083 if ${ac_cv_prog_cxx_g+:} false; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4086 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4087 ac_cxx_werror_flag=yes
4088 ac_cv_prog_cxx_g=no
4089 CXXFLAGS="-g"
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4092
4093 int
4094 main ()
4095 {
4096
4097 ;
4098 return 0;
4099 }
4100 _ACEOF
4101 if ac_fn_cxx_try_compile "$LINENO"; then :
4102 ac_cv_prog_cxx_g=yes
4103 else
4104 CXXFLAGS=""
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4107
4108 int
4109 main ()
4110 {
4111
4112 ;
4113 return 0;
4114 }
4115 _ACEOF
4116 if ac_fn_cxx_try_compile "$LINENO"; then :
4117
4118 else
4119 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4120 CXXFLAGS="-g"
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4123
4124 int
4125 main ()
4126 {
4127
4128 ;
4129 return 0;
4130 }
4131 _ACEOF
4132 if ac_fn_cxx_try_compile "$LINENO"; then :
4133 ac_cv_prog_cxx_g=yes
4134 fi
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4136 fi
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138 fi
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4141 fi
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4143 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4144 if test "$ac_test_CXXFLAGS" = set; then
4145 CXXFLAGS=$ac_save_CXXFLAGS
4146 elif test $ac_cv_prog_cxx_g = yes; then
4147 if test "$GXX" = yes; then
4148 CXXFLAGS="-g -O2"
4149 else
4150 CXXFLAGS="-g"
4151 fi
4152 else
4153 if test "$GXX" = yes; then
4154 CXXFLAGS="-O2"
4155 else
4156 CXXFLAGS=
4157 fi
4158 fi
4159 ac_ext=c
4160 ac_cpp='$CPP $CPPFLAGS'
4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164
4165 depcc="$CXX" am_compiler_list=
4166
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4168 $as_echo_n "checking dependency style of $depcc... " >&6; }
4169 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4173 # We make a subdir and do the tests there. Otherwise we can end up
4174 # making bogus files that we don't know about and never remove. For
4175 # instance it was reported that on HP-UX the gcc test will end up
4176 # making a dummy file named `D' -- because `-MD' means `put the output
4177 # in D'.
4178 rm -rf conftest.dir
4179 mkdir conftest.dir
4180 # Copy depcomp to subdir because otherwise we won't find it if we're
4181 # using a relative directory.
4182 cp "$am_depcomp" conftest.dir
4183 cd conftest.dir
4184 # We will build objects and dependencies in a subdirectory because
4185 # it helps to detect inapplicable dependency modes. For instance
4186 # both Tru64's cc and ICC support -MD to output dependencies as a
4187 # side effect of compilation, but ICC will put the dependencies in
4188 # the current directory while Tru64 will put them in the object
4189 # directory.
4190 mkdir sub
4191
4192 am_cv_CXX_dependencies_compiler_type=none
4193 if test "$am_compiler_list" = ""; then
4194 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4195 fi
4196 am__universal=false
4197 case " $depcc " in #(
4198 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4199 esac
4200
4201 for depmode in $am_compiler_list; do
4202 # Setup a source with many dependencies, because some compilers
4203 # like to wrap large dependency lists on column 80 (with \), and
4204 # we should not choose a depcomp mode which is confused by this.
4205 #
4206 # We need to recreate these files for each test, as the compiler may
4207 # overwrite some of them when testing with obscure command lines.
4208 # This happens at least with the AIX C compiler.
4209 : > sub/conftest.c
4210 for i in 1 2 3 4 5 6; do
4211 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4212 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4213 # Solaris 8's {/usr,}/bin/sh.
4214 touch sub/conftst$i.h
4215 done
4216 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4217
4218 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4219 # mode. It turns out that the SunPro C++ compiler does not properly
4220 # handle `-M -o', and we need to detect this. Also, some Intel
4221 # versions had trouble with output in subdirs
4222 am__obj=sub/conftest.${OBJEXT-o}
4223 am__minus_obj="-o $am__obj"
4224 case $depmode in
4225 gcc)
4226 # This depmode causes a compiler race in universal mode.
4227 test "$am__universal" = false || continue
4228 ;;
4229 nosideeffect)
4230 # after this tag, mechanisms are not by side-effect, so they'll
4231 # only be used when explicitly requested
4232 if test "x$enable_dependency_tracking" = xyes; then
4233 continue
4234 else
4235 break
4236 fi
4237 ;;
4238 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4239 # This compiler won't grok `-c -o', but also, the minuso test has
4240 # not run yet. These depmodes are late enough in the game, and
4241 # so weak that their functioning should not be impacted.
4242 am__obj=conftest.${OBJEXT-o}
4243 am__minus_obj=
4244 ;;
4245 none) break ;;
4246 esac
4247 if depmode=$depmode \
4248 source=sub/conftest.c object=$am__obj \
4249 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4250 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4251 >/dev/null 2>conftest.err &&
4252 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4253 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4254 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4255 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4256 # icc doesn't choke on unknown options, it will just issue warnings
4257 # or remarks (even with -Werror). So we grep stderr for any message
4258 # that says an option was ignored or not supported.
4259 # When given -MP, icc 7.0 and 7.1 complain thusly:
4260 # icc: Command line warning: ignoring option '-M'; no argument required
4261 # The diagnosis changed in icc 8.0:
4262 # icc: Command line remark: option '-MP' not supported
4263 if (grep 'ignoring option' conftest.err ||
4264 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4265 am_cv_CXX_dependencies_compiler_type=$depmode
4266 break
4267 fi
4268 fi
4269 done
4270
4271 cd ..
4272 rm -rf conftest.dir
4273 else
4274 am_cv_CXX_dependencies_compiler_type=none
4275 fi
4276
4277 fi
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4279 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4280 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4281
4282 if
4283 test "x$enable_dependency_tracking" != xno \
4284 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4285 am__fastdepCXX_TRUE=
4286 am__fastdepCXX_FALSE='#'
4287 else
4288 am__fastdepCXX_TRUE='#'
4289 am__fastdepCXX_FALSE=
4290 fi
4291
4292
4293 case `pwd` in
4294 *\ * | *\ *)
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4296 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4297 esac
4298
4299
4300
4301 macro_version='2.4.2'
4302 macro_revision='1.3337'
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316 ltmain="$ac_aux_dir/ltmain.sh"
4317
4318 # Make sure we can run config.sub.
4319 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4320 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4321
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4323 $as_echo_n "checking build system type... " >&6; }
4324 if ${ac_cv_build+:} false; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 ac_build_alias=$build_alias
4328 test "x$ac_build_alias" = x &&
4329 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4330 test "x$ac_build_alias" = x &&
4331 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4332 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4333 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4334
4335 fi
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4337 $as_echo "$ac_cv_build" >&6; }
4338 case $ac_cv_build in
4339 *-*-*) ;;
4340 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4341 esac
4342 build=$ac_cv_build
4343 ac_save_IFS=$IFS; IFS='-'
4344 set x $ac_cv_build
4345 shift
4346 build_cpu=$1
4347 build_vendor=$2
4348 shift; shift
4349 # Remember, the first character of IFS is used to create $*,
4350 # except with old shells:
4351 build_os=$*
4352 IFS=$ac_save_IFS
4353 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4354
4355
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4357 $as_echo_n "checking host system type... " >&6; }
4358 if ${ac_cv_host+:} false; then :
4359 $as_echo_n "(cached) " >&6
4360 else
4361 if test "x$host_alias" = x; then
4362 ac_cv_host=$ac_cv_build
4363 else
4364 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4365 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4366 fi
4367
4368 fi
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4370 $as_echo "$ac_cv_host" >&6; }
4371 case $ac_cv_host in
4372 *-*-*) ;;
4373 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4374 esac
4375 host=$ac_cv_host
4376 ac_save_IFS=$IFS; IFS='-'
4377 set x $ac_cv_host
4378 shift
4379 host_cpu=$1
4380 host_vendor=$2
4381 shift; shift
4382 # Remember, the first character of IFS is used to create $*,
4383 # except with old shells:
4384 host_os=$*
4385 IFS=$ac_save_IFS
4386 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4387
4388
4389 # Backslashify metacharacters that are still active within
4390 # double-quoted strings.
4391 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4392
4393 # Same as above, but do not quote variable references.
4394 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4395
4396 # Sed substitution to delay expansion of an escaped shell variable in a
4397 # double_quote_subst'ed string.
4398 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4399
4400 # Sed substitution to delay expansion of an escaped single quote.
4401 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4402
4403 # Sed substitution to avoid accidental globbing in evaled expressions
4404 no_glob_subst='s/\*/\\\*/g'
4405
4406 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4407 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4408 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4409
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4411 $as_echo_n "checking how to print strings... " >&6; }
4412 # Test print first, because it will be a builtin if present.
4413 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4414 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4415 ECHO='print -r --'
4416 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4417 ECHO='printf %s\n'
4418 else
4419 # Use this function as a fallback that always works.
4420 func_fallback_echo ()
4421 {
4422 eval 'cat <<_LTECHO_EOF
4423 $1
4424 _LTECHO_EOF'
4425 }
4426 ECHO='func_fallback_echo'
4427 fi
4428
4429 # func_echo_all arg...
4430 # Invoke $ECHO with all args, space-separated.
4431 func_echo_all ()
4432 {
4433 $ECHO ""
4434 }
4435
4436 case "$ECHO" in
4437 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4438 $as_echo "printf" >&6; } ;;
4439 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4440 $as_echo "print -r" >&6; } ;;
4441 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4442 $as_echo "cat" >&6; } ;;
4443 esac
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4459 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4460 if ${ac_cv_path_SED+:} false; then :
4461 $as_echo_n "(cached) " >&6
4462 else
4463 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4464 for ac_i in 1 2 3 4 5 6 7; do
4465 ac_script="$ac_script$as_nl$ac_script"
4466 done
4467 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4468 { ac_script=; unset ac_script;}
4469 if test -z "$SED"; then
4470 ac_path_SED_found=false
4471 # Loop through the user's path and test for each of PROGNAME-LIST
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4474 do
4475 IFS=$as_save_IFS
4476 test -z "$as_dir" && as_dir=.
4477 for ac_prog in sed gsed; do
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4480 as_fn_executable_p "$ac_path_SED" || continue
4481 # Check for GNU ac_path_SED and select it if it is found.
4482 # Check for GNU $ac_path_SED
4483 case `"$ac_path_SED" --version 2>&1` in
4484 *GNU*)
4485 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4486 *)
4487 ac_count=0
4488 $as_echo_n 0123456789 >"conftest.in"
4489 while :
4490 do
4491 cat "conftest.in" "conftest.in" >"conftest.tmp"
4492 mv "conftest.tmp" "conftest.in"
4493 cp "conftest.in" "conftest.nl"
4494 $as_echo '' >> "conftest.nl"
4495 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4496 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4497 as_fn_arith $ac_count + 1 && ac_count=$as_val
4498 if test $ac_count -gt ${ac_path_SED_max-0}; then
4499 # Best one so far, save it but keep looking for a better one
4500 ac_cv_path_SED="$ac_path_SED"
4501 ac_path_SED_max=$ac_count
4502 fi
4503 # 10*(2^10) chars as input seems more than enough
4504 test $ac_count -gt 10 && break
4505 done
4506 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4507 esac
4508
4509 $ac_path_SED_found && break 3
4510 done
4511 done
4512 done
4513 IFS=$as_save_IFS
4514 if test -z "$ac_cv_path_SED"; then
4515 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4516 fi
4517 else
4518 ac_cv_path_SED=$SED
4519 fi
4520
4521 fi
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4523 $as_echo "$ac_cv_path_SED" >&6; }
4524 SED="$ac_cv_path_SED"
4525 rm -f conftest.sed
4526
4527 test -z "$SED" && SED=sed
4528 Xsed="$SED -e 1s/^X//"
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4541 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4542 if ${ac_cv_path_GREP+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 if test -z "$GREP"; then
4546 ac_path_GREP_found=false
4547 # Loop through the user's path and test for each of PROGNAME-LIST
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4550 do
4551 IFS=$as_save_IFS
4552 test -z "$as_dir" && as_dir=.
4553 for ac_prog in grep ggrep; do
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4556 as_fn_executable_p "$ac_path_GREP" || continue
4557 # Check for GNU ac_path_GREP and select it if it is found.
4558 # Check for GNU $ac_path_GREP
4559 case `"$ac_path_GREP" --version 2>&1` in
4560 *GNU*)
4561 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4562 *)
4563 ac_count=0
4564 $as_echo_n 0123456789 >"conftest.in"
4565 while :
4566 do
4567 cat "conftest.in" "conftest.in" >"conftest.tmp"
4568 mv "conftest.tmp" "conftest.in"
4569 cp "conftest.in" "conftest.nl"
4570 $as_echo 'GREP' >> "conftest.nl"
4571 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4572 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4573 as_fn_arith $ac_count + 1 && ac_count=$as_val
4574 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4575 # Best one so far, save it but keep looking for a better one
4576 ac_cv_path_GREP="$ac_path_GREP"
4577 ac_path_GREP_max=$ac_count
4578 fi
4579 # 10*(2^10) chars as input seems more than enough
4580 test $ac_count -gt 10 && break
4581 done
4582 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4583 esac
4584
4585 $ac_path_GREP_found && break 3
4586 done
4587 done
4588 done
4589 IFS=$as_save_IFS
4590 if test -z "$ac_cv_path_GREP"; then
4591 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4592 fi
4593 else
4594 ac_cv_path_GREP=$GREP
4595 fi
4596
4597 fi
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4599 $as_echo "$ac_cv_path_GREP" >&6; }
4600 GREP="$ac_cv_path_GREP"
4601
4602
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4604 $as_echo_n "checking for egrep... " >&6; }
4605 if ${ac_cv_path_EGREP+:} false; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4609 then ac_cv_path_EGREP="$GREP -E"
4610 else
4611 if test -z "$EGREP"; then
4612 ac_path_EGREP_found=false
4613 # Loop through the user's path and test for each of PROGNAME-LIST
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4616 do
4617 IFS=$as_save_IFS
4618 test -z "$as_dir" && as_dir=.
4619 for ac_prog in egrep; do
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4622 as_fn_executable_p "$ac_path_EGREP" || continue
4623 # Check for GNU ac_path_EGREP and select it if it is found.
4624 # Check for GNU $ac_path_EGREP
4625 case `"$ac_path_EGREP" --version 2>&1` in
4626 *GNU*)
4627 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4628 *)
4629 ac_count=0
4630 $as_echo_n 0123456789 >"conftest.in"
4631 while :
4632 do
4633 cat "conftest.in" "conftest.in" >"conftest.tmp"
4634 mv "conftest.tmp" "conftest.in"
4635 cp "conftest.in" "conftest.nl"
4636 $as_echo 'EGREP' >> "conftest.nl"
4637 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639 as_fn_arith $ac_count + 1 && ac_count=$as_val
4640 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4641 # Best one so far, save it but keep looking for a better one
4642 ac_cv_path_EGREP="$ac_path_EGREP"
4643 ac_path_EGREP_max=$ac_count
4644 fi
4645 # 10*(2^10) chars as input seems more than enough
4646 test $ac_count -gt 10 && break
4647 done
4648 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4649 esac
4650
4651 $ac_path_EGREP_found && break 3
4652 done
4653 done
4654 done
4655 IFS=$as_save_IFS
4656 if test -z "$ac_cv_path_EGREP"; then
4657 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4658 fi
4659 else
4660 ac_cv_path_EGREP=$EGREP
4661 fi
4662
4663 fi
4664 fi
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4666 $as_echo "$ac_cv_path_EGREP" >&6; }
4667 EGREP="$ac_cv_path_EGREP"
4668
4669
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4671 $as_echo_n "checking for fgrep... " >&6; }
4672 if ${ac_cv_path_FGREP+:} false; then :
4673 $as_echo_n "(cached) " >&6
4674 else
4675 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4676 then ac_cv_path_FGREP="$GREP -F"
4677 else
4678 if test -z "$FGREP"; then
4679 ac_path_FGREP_found=false
4680 # Loop through the user's path and test for each of PROGNAME-LIST
4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4683 do
4684 IFS=$as_save_IFS
4685 test -z "$as_dir" && as_dir=.
4686 for ac_prog in fgrep; do
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4689 as_fn_executable_p "$ac_path_FGREP" || continue
4690 # Check for GNU ac_path_FGREP and select it if it is found.
4691 # Check for GNU $ac_path_FGREP
4692 case `"$ac_path_FGREP" --version 2>&1` in
4693 *GNU*)
4694 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4695 *)
4696 ac_count=0
4697 $as_echo_n 0123456789 >"conftest.in"
4698 while :
4699 do
4700 cat "conftest.in" "conftest.in" >"conftest.tmp"
4701 mv "conftest.tmp" "conftest.in"
4702 cp "conftest.in" "conftest.nl"
4703 $as_echo 'FGREP' >> "conftest.nl"
4704 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4705 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4706 as_fn_arith $ac_count + 1 && ac_count=$as_val
4707 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4708 # Best one so far, save it but keep looking for a better one
4709 ac_cv_path_FGREP="$ac_path_FGREP"
4710 ac_path_FGREP_max=$ac_count
4711 fi
4712 # 10*(2^10) chars as input seems more than enough
4713 test $ac_count -gt 10 && break
4714 done
4715 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4716 esac
4717
4718 $ac_path_FGREP_found && break 3
4719 done
4720 done
4721 done
4722 IFS=$as_save_IFS
4723 if test -z "$ac_cv_path_FGREP"; then
4724 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4725 fi
4726 else
4727 ac_cv_path_FGREP=$FGREP
4728 fi
4729
4730 fi
4731 fi
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4733 $as_echo "$ac_cv_path_FGREP" >&6; }
4734 FGREP="$ac_cv_path_FGREP"
4735
4736
4737 test -z "$GREP" && GREP=grep
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757 # Check whether --with-gnu-ld was given.
4758 if test "${with_gnu_ld+set}" = set; then :
4759 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4760 else
4761 with_gnu_ld=no
4762 fi
4763
4764 ac_prog=ld
4765 if test "$GCC" = yes; then
4766 # Check if gcc -print-prog-name=ld gives a path.
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4768 $as_echo_n "checking for ld used by $CC... " >&6; }
4769 case $host in
4770 *-*-mingw*)
4771 # gcc leaves a trailing carriage return which upsets mingw
4772 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4773 *)
4774 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4775 esac
4776 case $ac_prog in
4777 # Accept absolute paths.
4778 [\\/]* | ?:[\\/]*)
4779 re_direlt='/[^/][^/]*/\.\./'
4780 # Canonicalize the pathname of ld
4781 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4782 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4783 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4784 done
4785 test -z "$LD" && LD="$ac_prog"
4786 ;;
4787 "")
4788 # If it fails, then pretend we aren't using GCC.
4789 ac_prog=ld
4790 ;;
4791 *)
4792 # If it is relative, then search for the first ld in PATH.
4793 with_gnu_ld=unknown
4794 ;;
4795 esac
4796 elif test "$with_gnu_ld" = yes; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4798 $as_echo_n "checking for GNU ld... " >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4801 $as_echo_n "checking for non-GNU ld... " >&6; }
4802 fi
4803 if ${lt_cv_path_LD+:} false; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 if test -z "$LD"; then
4807 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4808 for ac_dir in $PATH; do
4809 IFS="$lt_save_ifs"
4810 test -z "$ac_dir" && ac_dir=.
4811 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4812 lt_cv_path_LD="$ac_dir/$ac_prog"
4813 # Check to see if the program is GNU ld. I'd rather use --version,
4814 # but apparently some variants of GNU ld only accept -v.
4815 # Break only if it was the GNU/non-GNU ld that we prefer.
4816 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4817 *GNU* | *'with BFD'*)
4818 test "$with_gnu_ld" != no && break
4819 ;;
4820 *)
4821 test "$with_gnu_ld" != yes && break
4822 ;;
4823 esac
4824 fi
4825 done
4826 IFS="$lt_save_ifs"
4827 else
4828 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4829 fi
4830 fi
4831
4832 LD="$lt_cv_path_LD"
4833 if test -n "$LD"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4835 $as_echo "$LD" >&6; }
4836 else
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4839 fi
4840 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4842 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4843 if ${lt_cv_prog_gnu_ld+:} false; then :
4844 $as_echo_n "(cached) " >&6
4845 else
4846 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4847 case `$LD -v 2>&1 </dev/null` in
4848 *GNU* | *'with BFD'*)
4849 lt_cv_prog_gnu_ld=yes
4850 ;;
4851 *)
4852 lt_cv_prog_gnu_ld=no
4853 ;;
4854 esac
4855 fi
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4857 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4858 with_gnu_ld=$lt_cv_prog_gnu_ld
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4869 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4870 if ${lt_cv_path_NM+:} false; then :
4871 $as_echo_n "(cached) " >&6
4872 else
4873 if test -n "$NM"; then
4874 # Let the user override the test.
4875 lt_cv_path_NM="$NM"
4876 else
4877 lt_nm_to_check="${ac_tool_prefix}nm"
4878 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4879 lt_nm_to_check="$lt_nm_to_check nm"
4880 fi
4881 for lt_tmp_nm in $lt_nm_to_check; do
4882 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4883 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4884 IFS="$lt_save_ifs"
4885 test -z "$ac_dir" && ac_dir=.
4886 tmp_nm="$ac_dir/$lt_tmp_nm"
4887 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4888 # Check to see if the nm accepts a BSD-compat flag.
4889 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4890 # nm: unknown option "B" ignored
4891 # Tru64's nm complains that /dev/null is an invalid object file
4892 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4893 */dev/null* | *'Invalid file or object type'*)
4894 lt_cv_path_NM="$tmp_nm -B"
4895 break
4896 ;;
4897 *)
4898 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4899 */dev/null*)
4900 lt_cv_path_NM="$tmp_nm -p"
4901 break
4902 ;;
4903 *)
4904 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4905 continue # so that we can try to find one that supports BSD flags
4906 ;;
4907 esac
4908 ;;
4909 esac
4910 fi
4911 done
4912 IFS="$lt_save_ifs"
4913 done
4914 : ${lt_cv_path_NM=no}
4915 fi
4916 fi
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4918 $as_echo "$lt_cv_path_NM" >&6; }
4919 if test "$lt_cv_path_NM" != "no"; then
4920 NM="$lt_cv_path_NM"
4921 else
4922 # Didn't find any BSD compatible name lister, look for dumpbin.
4923 if test -n "$DUMPBIN"; then :
4924 # Let the user override the test.
4925 else
4926 if test -n "$ac_tool_prefix"; then
4927 for ac_prog in dumpbin "link -dump"
4928 do
4929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if ${ac_cv_prog_DUMPBIN+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$DUMPBIN"; then
4937 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4941 do
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4949 fi
4950 done
4951 done
4952 IFS=$as_save_IFS
4953
4954 fi
4955 fi
4956 DUMPBIN=$ac_cv_prog_DUMPBIN
4957 if test -n "$DUMPBIN"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4959 $as_echo "$DUMPBIN" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 fi
4964
4965
4966 test -n "$DUMPBIN" && break
4967 done
4968 fi
4969 if test -z "$DUMPBIN"; then
4970 ac_ct_DUMPBIN=$DUMPBIN
4971 for ac_prog in dumpbin "link -dump"
4972 do
4973 # Extract the first word of "$ac_prog", so it can be a program name with args.
4974 set dummy $ac_prog; ac_word=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 if test -n "$ac_ct_DUMPBIN"; then
4981 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4985 do
4986 IFS=$as_save_IFS
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 break 2
4993 fi
4994 done
4995 done
4996 IFS=$as_save_IFS
4997
4998 fi
4999 fi
5000 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5001 if test -n "$ac_ct_DUMPBIN"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5003 $as_echo "$ac_ct_DUMPBIN" >&6; }
5004 else
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5007 fi
5008
5009
5010 test -n "$ac_ct_DUMPBIN" && break
5011 done
5012
5013 if test "x$ac_ct_DUMPBIN" = x; then
5014 DUMPBIN=":"
5015 else
5016 case $cross_compiling:$ac_tool_warned in
5017 yes:)
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5021 esac
5022 DUMPBIN=$ac_ct_DUMPBIN
5023 fi
5024 fi
5025
5026 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5027 *COFF*)
5028 DUMPBIN="$DUMPBIN -symbols"
5029 ;;
5030 *)
5031 DUMPBIN=:
5032 ;;
5033 esac
5034 fi
5035
5036 if test "$DUMPBIN" != ":"; then
5037 NM="$DUMPBIN"
5038 fi
5039 fi
5040 test -z "$NM" && NM=nm
5041
5042
5043
5044
5045
5046
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5048 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5049 if ${lt_cv_nm_interface+:} false; then :
5050 $as_echo_n "(cached) " >&6
5051 else
5052 lt_cv_nm_interface="BSD nm"
5053 echo "int some_variable = 0;" > conftest.$ac_ext
5054 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5055 (eval "$ac_compile" 2>conftest.err)
5056 cat conftest.err >&5
5057 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5058 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5059 cat conftest.err >&5
5060 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5061 cat conftest.out >&5
5062 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5063 lt_cv_nm_interface="MS dumpbin"
5064 fi
5065 rm -f conftest*
5066 fi
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5068 $as_echo "$lt_cv_nm_interface" >&6; }
5069
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5071 $as_echo_n "checking whether ln -s works... " >&6; }
5072 LN_S=$as_ln_s
5073 if test "$LN_S" = "ln -s"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5075 $as_echo "yes" >&6; }
5076 else
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5078 $as_echo "no, using $LN_S" >&6; }
5079 fi
5080
5081 # find the maximum length of command line arguments
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5083 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5084 if ${lt_cv_sys_max_cmd_len+:} false; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 i=0
5088 teststring="ABCD"
5089
5090 case $build_os in
5091 msdosdjgpp*)
5092 # On DJGPP, this test can blow up pretty badly due to problems in libc
5093 # (any single argument exceeding 2000 bytes causes a buffer overrun
5094 # during glob expansion). Even if it were fixed, the result of this
5095 # check would be larger than it should be.
5096 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5097 ;;
5098
5099 gnu*)
5100 # Under GNU Hurd, this test is not required because there is
5101 # no limit to the length of command line arguments.
5102 # Libtool will interpret -1 as no limit whatsoever
5103 lt_cv_sys_max_cmd_len=-1;
5104 ;;
5105
5106 cygwin* | mingw* | cegcc*)
5107 # On Win9x/ME, this test blows up -- it succeeds, but takes
5108 # about 5 minutes as the teststring grows exponentially.
5109 # Worse, since 9x/ME are not pre-emptively multitasking,
5110 # you end up with a "frozen" computer, even though with patience
5111 # the test eventually succeeds (with a max line length of 256k).
5112 # Instead, let's just punt: use the minimum linelength reported by
5113 # all of the supported platforms: 8192 (on NT/2K/XP).
5114 lt_cv_sys_max_cmd_len=8192;
5115 ;;
5116
5117 mint*)
5118 # On MiNT this can take a long time and run out of memory.
5119 lt_cv_sys_max_cmd_len=8192;
5120 ;;
5121
5122 amigaos*)
5123 # On AmigaOS with pdksh, this test takes hours, literally.
5124 # So we just punt and use a minimum line length of 8192.
5125 lt_cv_sys_max_cmd_len=8192;
5126 ;;
5127
5128 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5129 # This has been around since 386BSD, at least. Likely further.
5130 if test -x /sbin/sysctl; then
5131 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5132 elif test -x /usr/sbin/sysctl; then
5133 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5134 else
5135 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5136 fi
5137 # And add a safety zone
5138 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5139 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5140 ;;
5141
5142 interix*)
5143 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5144 lt_cv_sys_max_cmd_len=196608
5145 ;;
5146
5147 os2*)
5148 # The test takes a long time on OS/2.
5149 lt_cv_sys_max_cmd_len=8192
5150 ;;
5151
5152 osf*)
5153 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5154 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5155 # nice to cause kernel panics so lets avoid the loop below.
5156 # First set a reasonable default.
5157 lt_cv_sys_max_cmd_len=16384
5158 #
5159 if test -x /sbin/sysconfig; then
5160 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5161 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5162 esac
5163 fi
5164 ;;
5165 sco3.2v5*)
5166 lt_cv_sys_max_cmd_len=102400
5167 ;;
5168 sysv5* | sco5v6* | sysv4.2uw2*)
5169 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5170 if test -n "$kargmax"; then
5171 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5172 else
5173 lt_cv_sys_max_cmd_len=32768
5174 fi
5175 ;;
5176 *)
5177 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5178 if test -n "$lt_cv_sys_max_cmd_len" && \
5179 test undefined != "$lt_cv_sys_max_cmd_len"; then
5180 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5181 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5182 else
5183 # Make teststring a little bigger before we do anything with it.
5184 # a 1K string should be a reasonable start.
5185 for i in 1 2 3 4 5 6 7 8 ; do
5186 teststring=$teststring$teststring
5187 done
5188 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5189 # If test is not a shell built-in, we'll probably end up computing a
5190 # maximum length that is only half of the actual maximum length, but
5191 # we can't tell.
5192 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5193 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5194 test $i != 17 # 1/2 MB should be enough
5195 do
5196 i=`expr $i + 1`
5197 teststring=$teststring$teststring
5198 done
5199 # Only check the string length outside the loop.
5200 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5201 teststring=
5202 # Add a significant safety factor because C++ compilers can tack on
5203 # massive amounts of additional arguments before passing them to the
5204 # linker. It appears as though 1/2 is a usable value.
5205 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5206 fi
5207 ;;
5208 esac
5209
5210 fi
5211
5212 if test -n $lt_cv_sys_max_cmd_len ; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5214 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5215 else
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5217 $as_echo "none" >&6; }
5218 fi
5219 max_cmd_len=$lt_cv_sys_max_cmd_len
5220
5221
5222
5223
5224
5225
5226 : ${CP="cp -f"}
5227 : ${MV="mv -f"}
5228 : ${RM="rm -f"}
5229
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5231 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5232 # Try some XSI features
5233 xsi_shell=no
5234 ( _lt_dummy="a/b/c"
5235 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5236 = c,a/b,b/c, \
5237 && eval 'test $(( 1 + 1 )) -eq 2 \
5238 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5239 && xsi_shell=yes
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5241 $as_echo "$xsi_shell" >&6; }
5242
5243
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5245 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5246 lt_shell_append=no
5247 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5248 >/dev/null 2>&1 \
5249 && lt_shell_append=yes
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5251 $as_echo "$lt_shell_append" >&6; }
5252
5253
5254 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5255 lt_unset=unset
5256 else
5257 lt_unset=false
5258 fi
5259
5260
5261
5262
5263
5264 # test EBCDIC or ASCII
5265 case `echo X|tr X '\101'` in
5266 A) # ASCII based system
5267 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5268 lt_SP2NL='tr \040 \012'
5269 lt_NL2SP='tr \015\012 \040\040'
5270 ;;
5271 *) # EBCDIC based system
5272 lt_SP2NL='tr \100 \n'
5273 lt_NL2SP='tr \r\n \100\100'
5274 ;;
5275 esac
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5286 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5287 if ${lt_cv_to_host_file_cmd+:} false; then :
5288 $as_echo_n "(cached) " >&6
5289 else
5290 case $host in
5291 *-*-mingw* )
5292 case $build in
5293 *-*-mingw* ) # actually msys
5294 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5295 ;;
5296 *-*-cygwin* )
5297 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5298 ;;
5299 * ) # otherwise, assume *nix
5300 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5301 ;;
5302 esac
5303 ;;
5304 *-*-cygwin* )
5305 case $build in
5306 *-*-mingw* ) # actually msys
5307 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5308 ;;
5309 *-*-cygwin* )
5310 lt_cv_to_host_file_cmd=func_convert_file_noop
5311 ;;
5312 * ) # otherwise, assume *nix
5313 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5314 ;;
5315 esac
5316 ;;
5317 * ) # unhandled hosts (and "normal" native builds)
5318 lt_cv_to_host_file_cmd=func_convert_file_noop
5319 ;;
5320 esac
5321
5322 fi
5323
5324 to_host_file_cmd=$lt_cv_to_host_file_cmd
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5326 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5327
5328
5329
5330
5331
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5333 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5334 if ${lt_cv_to_tool_file_cmd+:} false; then :
5335 $as_echo_n "(cached) " >&6
5336 else
5337 #assume ordinary cross tools, or native build.
5338 lt_cv_to_tool_file_cmd=func_convert_file_noop
5339 case $host in
5340 *-*-mingw* )
5341 case $build in
5342 *-*-mingw* ) # actually msys
5343 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5344 ;;
5345 esac
5346 ;;
5347 esac
5348
5349 fi
5350
5351 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5353 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5354
5355
5356
5357
5358
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5360 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5361 if ${lt_cv_ld_reload_flag+:} false; then :
5362 $as_echo_n "(cached) " >&6
5363 else
5364 lt_cv_ld_reload_flag='-r'
5365 fi
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5367 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5368 reload_flag=$lt_cv_ld_reload_flag
5369 case $reload_flag in
5370 "" | " "*) ;;
5371 *) reload_flag=" $reload_flag" ;;
5372 esac
5373 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5374 case $host_os in
5375 cygwin* | mingw* | pw32* | cegcc*)
5376 if test "$GCC" != yes; then
5377 reload_cmds=false
5378 fi
5379 ;;
5380 darwin*)
5381 if test "$GCC" = yes; then
5382 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5383 else
5384 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5385 fi
5386 ;;
5387 esac
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397 if test -n "$ac_tool_prefix"; then
5398 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5399 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_OBJDUMP+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 if test -n "$OBJDUMP"; then
5406 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5410 do
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 break 2
5418 fi
5419 done
5420 done
5421 IFS=$as_save_IFS
5422
5423 fi
5424 fi
5425 OBJDUMP=$ac_cv_prog_OBJDUMP
5426 if test -n "$OBJDUMP"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5428 $as_echo "$OBJDUMP" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5432 fi
5433
5434
5435 fi
5436 if test -z "$ac_cv_prog_OBJDUMP"; then
5437 ac_ct_OBJDUMP=$OBJDUMP
5438 # Extract the first word of "objdump", so it can be a program name with args.
5439 set dummy objdump; ac_word=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5443 $as_echo_n "(cached) " >&6
5444 else
5445 if test -n "$ac_ct_OBJDUMP"; then
5446 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5447 else
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 for as_dir in $PATH
5450 do
5451 IFS=$as_save_IFS
5452 test -z "$as_dir" && as_dir=.
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5455 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 break 2
5458 fi
5459 done
5460 done
5461 IFS=$as_save_IFS
5462
5463 fi
5464 fi
5465 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5466 if test -n "$ac_ct_OBJDUMP"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5468 $as_echo "$ac_ct_OBJDUMP" >&6; }
5469 else
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5472 fi
5473
5474 if test "x$ac_ct_OBJDUMP" = x; then
5475 OBJDUMP="false"
5476 else
5477 case $cross_compiling:$ac_tool_warned in
5478 yes:)
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5481 ac_tool_warned=yes ;;
5482 esac
5483 OBJDUMP=$ac_ct_OBJDUMP
5484 fi
5485 else
5486 OBJDUMP="$ac_cv_prog_OBJDUMP"
5487 fi
5488
5489 test -z "$OBJDUMP" && OBJDUMP=objdump
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5500 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5501 if ${lt_cv_deplibs_check_method+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 lt_cv_file_magic_cmd='$MAGIC_CMD'
5505 lt_cv_file_magic_test_file=
5506 lt_cv_deplibs_check_method='unknown'
5507 # Need to set the preceding variable on all platforms that support
5508 # interlibrary dependencies.
5509 # 'none' -- dependencies not supported.
5510 # `unknown' -- same as none, but documents that we really don't know.
5511 # 'pass_all' -- all dependencies passed with no checks.
5512 # 'test_compile' -- check by making test program.
5513 # 'file_magic [[regex]]' -- check by looking for files in library path
5514 # which responds to the $file_magic_cmd with a given extended regex.
5515 # If you have `file' or equivalent on your system and you're not sure
5516 # whether `pass_all' will *always* work, you probably want this one.
5517
5518 case $host_os in
5519 aix[4-9]*)
5520 lt_cv_deplibs_check_method=pass_all
5521 ;;
5522
5523 beos*)
5524 lt_cv_deplibs_check_method=pass_all
5525 ;;
5526
5527 bsdi[45]*)
5528 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5529 lt_cv_file_magic_cmd='/usr/bin/file -L'
5530 lt_cv_file_magic_test_file=/shlib/libc.so
5531 ;;
5532
5533 cygwin*)
5534 # func_win32_libid is a shell function defined in ltmain.sh
5535 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5536 lt_cv_file_magic_cmd='func_win32_libid'
5537 ;;
5538
5539 mingw* | pw32*)
5540 # Base MSYS/MinGW do not provide the 'file' command needed by
5541 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5542 # unless we find 'file', for example because we are cross-compiling.
5543 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5544 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5545 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5546 lt_cv_file_magic_cmd='func_win32_libid'
5547 else
5548 # Keep this pattern in sync with the one in func_win32_libid.
5549 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5550 lt_cv_file_magic_cmd='$OBJDUMP -f'
5551 fi
5552 ;;
5553
5554 cegcc*)
5555 # use the weaker test based on 'objdump'. See mingw*.
5556 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5557 lt_cv_file_magic_cmd='$OBJDUMP -f'
5558 ;;
5559
5560 darwin* | rhapsody*)
5561 lt_cv_deplibs_check_method=pass_all
5562 ;;
5563
5564 freebsd* | dragonfly*)
5565 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5566 case $host_cpu in
5567 i*86 )
5568 # Not sure whether the presence of OpenBSD here was a mistake.
5569 # Let's accept both of them until this is cleared up.
5570 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5571 lt_cv_file_magic_cmd=/usr/bin/file
5572 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5573 ;;
5574 esac
5575 else
5576 lt_cv_deplibs_check_method=pass_all
5577 fi
5578 ;;
5579
5580 haiku*)
5581 lt_cv_deplibs_check_method=pass_all
5582 ;;
5583
5584 hpux10.20* | hpux11*)
5585 lt_cv_file_magic_cmd=/usr/bin/file
5586 case $host_cpu in
5587 ia64*)
5588 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5589 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5590 ;;
5591 hppa*64*)
5592 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]'
5593 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5594 ;;
5595 *)
5596 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5597 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5598 ;;
5599 esac
5600 ;;
5601
5602 interix[3-9]*)
5603 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5604 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5605 ;;
5606
5607 irix5* | irix6* | nonstopux*)
5608 case $LD in
5609 *-32|*"-32 ") libmagic=32-bit;;
5610 *-n32|*"-n32 ") libmagic=N32;;
5611 *-64|*"-64 ") libmagic=64-bit;;
5612 *) libmagic=never-match;;
5613 esac
5614 lt_cv_deplibs_check_method=pass_all
5615 ;;
5616
5617 # This must be glibc/ELF.
5618 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5619 lt_cv_deplibs_check_method=pass_all
5620 ;;
5621
5622 netbsd* | netbsdelf*-gnu)
5623 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5624 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5625 else
5626 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5627 fi
5628 ;;
5629
5630 newos6*)
5631 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5632 lt_cv_file_magic_cmd=/usr/bin/file
5633 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5634 ;;
5635
5636 *nto* | *qnx*)
5637 lt_cv_deplibs_check_method=pass_all
5638 ;;
5639
5640 openbsd*)
5641 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5642 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5643 else
5644 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5645 fi
5646 ;;
5647
5648 osf3* | osf4* | osf5*)
5649 lt_cv_deplibs_check_method=pass_all
5650 ;;
5651
5652 rdos*)
5653 lt_cv_deplibs_check_method=pass_all
5654 ;;
5655
5656 solaris*)
5657 lt_cv_deplibs_check_method=pass_all
5658 ;;
5659
5660 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5661 lt_cv_deplibs_check_method=pass_all
5662 ;;
5663
5664 sysv4 | sysv4.3*)
5665 case $host_vendor in
5666 motorola)
5667 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]'
5668 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5669 ;;
5670 ncr)
5671 lt_cv_deplibs_check_method=pass_all
5672 ;;
5673 sequent)
5674 lt_cv_file_magic_cmd='/bin/file'
5675 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5676 ;;
5677 sni)
5678 lt_cv_file_magic_cmd='/bin/file'
5679 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5680 lt_cv_file_magic_test_file=/lib/libc.so
5681 ;;
5682 siemens)
5683 lt_cv_deplibs_check_method=pass_all
5684 ;;
5685 pc)
5686 lt_cv_deplibs_check_method=pass_all
5687 ;;
5688 esac
5689 ;;
5690
5691 tpf*)
5692 lt_cv_deplibs_check_method=pass_all
5693 ;;
5694 esac
5695
5696 fi
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5698 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5699
5700 file_magic_glob=
5701 want_nocaseglob=no
5702 if test "$build" = "$host"; then
5703 case $host_os in
5704 mingw* | pw32*)
5705 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5706 want_nocaseglob=yes
5707 else
5708 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5709 fi
5710 ;;
5711 esac
5712 fi
5713
5714 file_magic_cmd=$lt_cv_file_magic_cmd
5715 deplibs_check_method=$lt_cv_deplibs_check_method
5716 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739 if test -n "$ac_tool_prefix"; then
5740 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5741 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_DLLTOOL+:} false; then :
5745 $as_echo_n "(cached) " >&6
5746 else
5747 if test -n "$DLLTOOL"; then
5748 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5749 else
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH
5752 do
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 break 2
5760 fi
5761 done
5762 done
5763 IFS=$as_save_IFS
5764
5765 fi
5766 fi
5767 DLLTOOL=$ac_cv_prog_DLLTOOL
5768 if test -n "$DLLTOOL"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5770 $as_echo "$DLLTOOL" >&6; }
5771 else
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5774 fi
5775
5776
5777 fi
5778 if test -z "$ac_cv_prog_DLLTOOL"; then
5779 ac_ct_DLLTOOL=$DLLTOOL
5780 # Extract the first word of "dlltool", so it can be a program name with args.
5781 set dummy dlltool; ac_word=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 if test -n "$ac_ct_DLLTOOL"; then
5788 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5789 else
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 for as_dir in $PATH
5792 do
5793 IFS=$as_save_IFS
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 break 2
5800 fi
5801 done
5802 done
5803 IFS=$as_save_IFS
5804
5805 fi
5806 fi
5807 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5808 if test -n "$ac_ct_DLLTOOL"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5810 $as_echo "$ac_ct_DLLTOOL" >&6; }
5811 else
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5814 fi
5815
5816 if test "x$ac_ct_DLLTOOL" = x; then
5817 DLLTOOL="false"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DLLTOOL=$ac_ct_DLLTOOL
5826 fi
5827 else
5828 DLLTOOL="$ac_cv_prog_DLLTOOL"
5829 fi
5830
5831 test -z "$DLLTOOL" && DLLTOOL=dlltool
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5843 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5844 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 lt_cv_sharedlib_from_linklib_cmd='unknown'
5848
5849 case $host_os in
5850 cygwin* | mingw* | pw32* | cegcc*)
5851 # two different shell functions defined in ltmain.sh
5852 # decide which to use based on capabilities of $DLLTOOL
5853 case `$DLLTOOL --help 2>&1` in
5854 *--identify-strict*)
5855 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5856 ;;
5857 *)
5858 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5859 ;;
5860 esac
5861 ;;
5862 *)
5863 # fallback: assume linklib IS sharedlib
5864 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5865 ;;
5866 esac
5867
5868 fi
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5870 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5871 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5872 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5873
5874
5875
5876
5877
5878
5879
5880
5881 if test -n "$ac_tool_prefix"; then
5882 for ac_prog in ar
5883 do
5884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_AR+:} false; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 if test -n "$AR"; then
5892 ac_cv_prog_AR="$AR" # Let the user override the test.
5893 else
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH
5896 do
5897 IFS=$as_save_IFS
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 break 2
5904 fi
5905 done
5906 done
5907 IFS=$as_save_IFS
5908
5909 fi
5910 fi
5911 AR=$ac_cv_prog_AR
5912 if test -n "$AR"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5914 $as_echo "$AR" >&6; }
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5918 fi
5919
5920
5921 test -n "$AR" && break
5922 done
5923 fi
5924 if test -z "$AR"; then
5925 ac_ct_AR=$AR
5926 for ac_prog in ar
5927 do
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy $ac_prog; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$ac_ct_AR"; then
5936 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5940 do
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_ac_ct_AR="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5948 fi
5949 done
5950 done
5951 IFS=$as_save_IFS
5952
5953 fi
5954 fi
5955 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5956 if test -n "$ac_ct_AR"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5958 $as_echo "$ac_ct_AR" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5962 fi
5963
5964
5965 test -n "$ac_ct_AR" && break
5966 done
5967
5968 if test "x$ac_ct_AR" = x; then
5969 AR="false"
5970 else
5971 case $cross_compiling:$ac_tool_warned in
5972 yes:)
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5975 ac_tool_warned=yes ;;
5976 esac
5977 AR=$ac_ct_AR
5978 fi
5979 fi
5980
5981 : ${AR=ar}
5982 : ${AR_FLAGS=cru}
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5995 $as_echo_n "checking for archiver @FILE support... " >&6; }
5996 if ${lt_cv_ar_at_file+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 lt_cv_ar_at_file=no
6000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6001 /* end confdefs.h. */
6002
6003 int
6004 main ()
6005 {
6006
6007 ;
6008 return 0;
6009 }
6010 _ACEOF
6011 if ac_fn_c_try_compile "$LINENO"; then :
6012 echo conftest.$ac_objext > conftest.lst
6013 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6014 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6015 (eval $lt_ar_try) 2>&5
6016 ac_status=$?
6017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6018 test $ac_status = 0; }
6019 if test "$ac_status" -eq 0; then
6020 # Ensure the archiver fails upon bogus file names.
6021 rm -f conftest.$ac_objext libconftest.a
6022 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6023 (eval $lt_ar_try) 2>&5
6024 ac_status=$?
6025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6026 test $ac_status = 0; }
6027 if test "$ac_status" -ne 0; then
6028 lt_cv_ar_at_file=@
6029 fi
6030 fi
6031 rm -f conftest.* libconftest.a
6032
6033 fi
6034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6035
6036 fi
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6038 $as_echo "$lt_cv_ar_at_file" >&6; }
6039
6040 if test "x$lt_cv_ar_at_file" = xno; then
6041 archiver_list_spec=
6042 else
6043 archiver_list_spec=$lt_cv_ar_at_file
6044 fi
6045
6046
6047
6048
6049
6050
6051
6052 if test -n "$ac_tool_prefix"; then
6053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}strip; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_STRIP+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$STRIP"; then
6061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6065 do
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6073 fi
6074 done
6075 done
6076 IFS=$as_save_IFS
6077
6078 fi
6079 fi
6080 STRIP=$ac_cv_prog_STRIP
6081 if test -n "$STRIP"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6083 $as_echo "$STRIP" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6087 fi
6088
6089
6090 fi
6091 if test -z "$ac_cv_prog_STRIP"; then
6092 ac_ct_STRIP=$STRIP
6093 # Extract the first word of "strip", so it can be a program name with args.
6094 set dummy strip; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6098 $as_echo_n "(cached) " >&6
6099 else
6100 if test -n "$ac_ct_STRIP"; then
6101 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6105 do
6106 IFS=$as_save_IFS
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_ac_ct_STRIP="strip"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6113 fi
6114 done
6115 done
6116 IFS=$as_save_IFS
6117
6118 fi
6119 fi
6120 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6121 if test -n "$ac_ct_STRIP"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6123 $as_echo "$ac_ct_STRIP" >&6; }
6124 else
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6127 fi
6128
6129 if test "x$ac_ct_STRIP" = x; then
6130 STRIP=":"
6131 else
6132 case $cross_compiling:$ac_tool_warned in
6133 yes:)
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6137 esac
6138 STRIP=$ac_ct_STRIP
6139 fi
6140 else
6141 STRIP="$ac_cv_prog_STRIP"
6142 fi
6143
6144 test -z "$STRIP" && STRIP=:
6145
6146
6147
6148
6149
6150
6151 if test -n "$ac_tool_prefix"; then
6152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if ${ac_cv_prog_RANLIB+:} false; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$RANLIB"; then
6160 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6172 fi
6173 done
6174 done
6175 IFS=$as_save_IFS
6176
6177 fi
6178 fi
6179 RANLIB=$ac_cv_prog_RANLIB
6180 if test -n "$RANLIB"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6182 $as_echo "$RANLIB" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 fi
6187
6188
6189 fi
6190 if test -z "$ac_cv_prog_RANLIB"; then
6191 ac_ct_RANLIB=$RANLIB
6192 # Extract the first word of "ranlib", so it can be a program name with args.
6193 set dummy ranlib; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$ac_ct_RANLIB"; then
6200 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6204 do
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_ac_ct_RANLIB="ranlib"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6212 fi
6213 done
6214 done
6215 IFS=$as_save_IFS
6216
6217 fi
6218 fi
6219 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6220 if test -n "$ac_ct_RANLIB"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6222 $as_echo "$ac_ct_RANLIB" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 fi
6227
6228 if test "x$ac_ct_RANLIB" = x; then
6229 RANLIB=":"
6230 else
6231 case $cross_compiling:$ac_tool_warned in
6232 yes:)
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6235 ac_tool_warned=yes ;;
6236 esac
6237 RANLIB=$ac_ct_RANLIB
6238 fi
6239 else
6240 RANLIB="$ac_cv_prog_RANLIB"
6241 fi
6242
6243 test -z "$RANLIB" && RANLIB=:
6244
6245
6246
6247
6248
6249
6250 # Determine commands to create old-style static archives.
6251 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6252 old_postinstall_cmds='chmod 644 $oldlib'
6253 old_postuninstall_cmds=
6254
6255 if test -n "$RANLIB"; then
6256 case $host_os in
6257 openbsd*)
6258 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6259 ;;
6260 *)
6261 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6262 ;;
6263 esac
6264 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6265 fi
6266
6267 case $host_os in
6268 darwin*)
6269 lock_old_archive_extraction=yes ;;
6270 *)
6271 lock_old_archive_extraction=no ;;
6272 esac
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312 # If no C compiler was specified, use CC.
6313 LTCC=${LTCC-"$CC"}
6314
6315 # If no C compiler flags were specified, use CFLAGS.
6316 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6317
6318 # Allow CC to be a program name with arguments.
6319 compiler=$CC
6320
6321
6322 # Check for command to grab the raw symbol name followed by C symbol from nm.
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6324 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6325 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328
6329 # These are sane defaults that work on at least a few old systems.
6330 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6331
6332 # Character class describing NM global symbol codes.
6333 symcode='[BCDEGRST]'
6334
6335 # Regexp to match symbols that can be accessed directly from C.
6336 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6337
6338 # Define system-specific variables.
6339 case $host_os in
6340 aix*)
6341 symcode='[BCDT]'
6342 ;;
6343 cygwin* | mingw* | pw32* | cegcc*)
6344 symcode='[ABCDGISTW]'
6345 ;;
6346 hpux*)
6347 if test "$host_cpu" = ia64; then
6348 symcode='[ABCDEGRST]'
6349 fi
6350 ;;
6351 irix* | nonstopux*)
6352 symcode='[BCDEGRST]'
6353 ;;
6354 osf*)
6355 symcode='[BCDEGQRST]'
6356 ;;
6357 solaris*)
6358 symcode='[BDRT]'
6359 ;;
6360 sco3.2v5*)
6361 symcode='[DT]'
6362 ;;
6363 sysv4.2uw2*)
6364 symcode='[DT]'
6365 ;;
6366 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6367 symcode='[ABDT]'
6368 ;;
6369 sysv4)
6370 symcode='[DFNSTU]'
6371 ;;
6372 esac
6373
6374 # If we're using GNU nm, then use its standard symbol codes.
6375 case `$NM -V 2>&1` in
6376 *GNU* | *'with BFD'*)
6377 symcode='[ABCDGIRSTW]' ;;
6378 esac
6379
6380 # Transform an extracted symbol line into a proper C declaration.
6381 # Some systems (esp. on ia64) link data and code symbols differently,
6382 # so use this general approach.
6383 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6384
6385 # Transform an extracted symbol line into symbol name and symbol address
6386 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6387 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'"
6388
6389 # Handle CRLF in mingw tool chain
6390 opt_cr=
6391 case $build_os in
6392 mingw*)
6393 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6394 ;;
6395 esac
6396
6397 # Try without a prefix underscore, then with it.
6398 for ac_symprfx in "" "_"; do
6399
6400 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6401 symxfrm="\\1 $ac_symprfx\\2 \\2"
6402
6403 # Write the raw and C identifiers.
6404 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6405 # Fake it for dumpbin and say T for any non-static function
6406 # and D for any global variable.
6407 # Also find C++ and __fastcall symbols from MSVC++,
6408 # which start with @ or ?.
6409 lt_cv_sys_global_symbol_pipe="$AWK '"\
6410 " {last_section=section; section=\$ 3};"\
6411 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6412 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6413 " \$ 0!~/External *\|/{next};"\
6414 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6415 " {if(hide[section]) next};"\
6416 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6417 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6418 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6419 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6420 " ' prfx=^$ac_symprfx"
6421 else
6422 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6423 fi
6424 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6425
6426 # Check to see that the pipe works correctly.
6427 pipe_works=no
6428
6429 rm -f conftest*
6430 cat > conftest.$ac_ext <<_LT_EOF
6431 #ifdef __cplusplus
6432 extern "C" {
6433 #endif
6434 char nm_test_var;
6435 void nm_test_func(void);
6436 void nm_test_func(void){}
6437 #ifdef __cplusplus
6438 }
6439 #endif
6440 int main(){nm_test_var='a';nm_test_func();return(0);}
6441 _LT_EOF
6442
6443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6444 (eval $ac_compile) 2>&5
6445 ac_status=$?
6446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6447 test $ac_status = 0; }; then
6448 # Now try to grab the symbols.
6449 nlist=conftest.nm
6450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6451 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6452 ac_status=$?
6453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6454 test $ac_status = 0; } && test -s "$nlist"; then
6455 # Try sorting and uniquifying the output.
6456 if sort "$nlist" | uniq > "$nlist"T; then
6457 mv -f "$nlist"T "$nlist"
6458 else
6459 rm -f "$nlist"T
6460 fi
6461
6462 # Make sure that we snagged all the symbols we need.
6463 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6464 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6465 cat <<_LT_EOF > conftest.$ac_ext
6466 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6467 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6468 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6469 relocations are performed -- see ld's documentation on pseudo-relocs. */
6470 # define LT_DLSYM_CONST
6471 #elif defined(__osf__)
6472 /* This system does not cope well with relocations in const data. */
6473 # define LT_DLSYM_CONST
6474 #else
6475 # define LT_DLSYM_CONST const
6476 #endif
6477
6478 #ifdef __cplusplus
6479 extern "C" {
6480 #endif
6481
6482 _LT_EOF
6483 # Now generate the symbol file.
6484 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6485
6486 cat <<_LT_EOF >> conftest.$ac_ext
6487
6488 /* The mapping between symbol names and symbols. */
6489 LT_DLSYM_CONST struct {
6490 const char *name;
6491 void *address;
6492 }
6493 lt__PROGRAM__LTX_preloaded_symbols[] =
6494 {
6495 { "@PROGRAM@", (void *) 0 },
6496 _LT_EOF
6497 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6498 cat <<\_LT_EOF >> conftest.$ac_ext
6499 {0, (void *) 0}
6500 };
6501
6502 /* This works around a problem in FreeBSD linker */
6503 #ifdef FREEBSD_WORKAROUND
6504 static const void *lt_preloaded_setup() {
6505 return lt__PROGRAM__LTX_preloaded_symbols;
6506 }
6507 #endif
6508
6509 #ifdef __cplusplus
6510 }
6511 #endif
6512 _LT_EOF
6513 # Now try linking the two files.
6514 mv conftest.$ac_objext conftstm.$ac_objext
6515 lt_globsym_save_LIBS=$LIBS
6516 lt_globsym_save_CFLAGS=$CFLAGS
6517 LIBS="conftstm.$ac_objext"
6518 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6520 (eval $ac_link) 2>&5
6521 ac_status=$?
6522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6523 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6524 pipe_works=yes
6525 fi
6526 LIBS=$lt_globsym_save_LIBS
6527 CFLAGS=$lt_globsym_save_CFLAGS
6528 else
6529 echo "cannot find nm_test_func in $nlist" >&5
6530 fi
6531 else
6532 echo "cannot find nm_test_var in $nlist" >&5
6533 fi
6534 else
6535 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6536 fi
6537 else
6538 echo "$progname: failed program was:" >&5
6539 cat conftest.$ac_ext >&5
6540 fi
6541 rm -rf conftest* conftst*
6542
6543 # Do not use the global_symbol_pipe unless it works.
6544 if test "$pipe_works" = yes; then
6545 break
6546 else
6547 lt_cv_sys_global_symbol_pipe=
6548 fi
6549 done
6550
6551 fi
6552
6553 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6554 lt_cv_sys_global_symbol_to_cdecl=
6555 fi
6556 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6558 $as_echo "failed" >&6; }
6559 else
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6561 $as_echo "ok" >&6; }
6562 fi
6563
6564 # Response file support.
6565 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6566 nm_file_list_spec='@'
6567 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6568 nm_file_list_spec='@'
6569 fi
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6598 $as_echo_n "checking for sysroot... " >&6; }
6599
6600 # Check whether --with-sysroot was given.
6601 if test "${with_sysroot+set}" = set; then :
6602 withval=$with_sysroot;
6603 else
6604 with_sysroot=no
6605 fi
6606
6607
6608 lt_sysroot=
6609 case ${with_sysroot} in #(
6610 yes)
6611 if test "$GCC" = yes; then
6612 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6613 fi
6614 ;; #(
6615 /*)
6616 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6617 ;; #(
6618 no|'')
6619 ;; #(
6620 *)
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6622 $as_echo "${with_sysroot}" >&6; }
6623 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6624 ;;
6625 esac
6626
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6628 $as_echo "${lt_sysroot:-no}" >&6; }
6629
6630
6631
6632
6633
6634 # Check whether --enable-libtool-lock was given.
6635 if test "${enable_libtool_lock+set}" = set; then :
6636 enableval=$enable_libtool_lock;
6637 fi
6638
6639 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6640
6641 # Some flags need to be propagated to the compiler or linker for good
6642 # libtool support.
6643 case $host in
6644 ia64-*-hpux*)
6645 # Find out which ABI we are using.
6646 echo 'int i;' > conftest.$ac_ext
6647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6648 (eval $ac_compile) 2>&5
6649 ac_status=$?
6650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6651 test $ac_status = 0; }; then
6652 case `/usr/bin/file conftest.$ac_objext` in
6653 *ELF-32*)
6654 HPUX_IA64_MODE="32"
6655 ;;
6656 *ELF-64*)
6657 HPUX_IA64_MODE="64"
6658 ;;
6659 esac
6660 fi
6661 rm -rf conftest*
6662 ;;
6663 *-*-irix6*)
6664 # Find out which ABI we are using.
6665 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6667 (eval $ac_compile) 2>&5
6668 ac_status=$?
6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6670 test $ac_status = 0; }; then
6671 if test "$lt_cv_prog_gnu_ld" = yes; then
6672 case `/usr/bin/file conftest.$ac_objext` in
6673 *32-bit*)
6674 LD="${LD-ld} -melf32bsmip"
6675 ;;
6676 *N32*)
6677 LD="${LD-ld} -melf32bmipn32"
6678 ;;
6679 *64-bit*)
6680 LD="${LD-ld} -melf64bmip"
6681 ;;
6682 esac
6683 else
6684 case `/usr/bin/file conftest.$ac_objext` in
6685 *32-bit*)
6686 LD="${LD-ld} -32"
6687 ;;
6688 *N32*)
6689 LD="${LD-ld} -n32"
6690 ;;
6691 *64-bit*)
6692 LD="${LD-ld} -64"
6693 ;;
6694 esac
6695 fi
6696 fi
6697 rm -rf conftest*
6698 ;;
6699
6700 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6701 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6702 # Find out which ABI we are using.
6703 echo 'int i;' > conftest.$ac_ext
6704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6705 (eval $ac_compile) 2>&5
6706 ac_status=$?
6707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6708 test $ac_status = 0; }; then
6709 case `/usr/bin/file conftest.o` in
6710 *32-bit*)
6711 case $host in
6712 x86_64-*kfreebsd*-gnu)
6713 LD="${LD-ld} -m elf_i386_fbsd"
6714 ;;
6715 x86_64-*linux*)
6716 case `/usr/bin/file conftest.o` in
6717 *x86-64*)
6718 LD="${LD-ld} -m elf32_x86_64"
6719 ;;
6720 *)
6721 LD="${LD-ld} -m elf_i386"
6722 ;;
6723 esac
6724 ;;
6725 ppc64-*linux*|powerpc64-*linux*)
6726 LD="${LD-ld} -m elf32ppclinux"
6727 ;;
6728 s390x-*linux*)
6729 LD="${LD-ld} -m elf_s390"
6730 ;;
6731 sparc64-*linux*)
6732 LD="${LD-ld} -m elf32_sparc"
6733 ;;
6734 esac
6735 ;;
6736 *64-bit*)
6737 case $host in
6738 x86_64-*kfreebsd*-gnu)
6739 LD="${LD-ld} -m elf_x86_64_fbsd"
6740 ;;
6741 x86_64-*linux*)
6742 LD="${LD-ld} -m elf_x86_64"
6743 ;;
6744 ppc*-*linux*|powerpc*-*linux*)
6745 LD="${LD-ld} -m elf64ppc"
6746 ;;
6747 s390*-*linux*|s390*-*tpf*)
6748 LD="${LD-ld} -m elf64_s390"
6749 ;;
6750 sparc*-*linux*)
6751 LD="${LD-ld} -m elf64_sparc"
6752 ;;
6753 esac
6754 ;;
6755 esac
6756 fi
6757 rm -rf conftest*
6758 ;;
6759
6760 *-*-sco3.2v5*)
6761 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6762 SAVE_CFLAGS="$CFLAGS"
6763 CFLAGS="$CFLAGS -belf"
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6765 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6766 if ${lt_cv_cc_needs_belf+:} false; then :
6767 $as_echo_n "(cached) " >&6
6768 else
6769 ac_ext=c
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6774
6775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6777
6778 int
6779 main ()
6780 {
6781
6782 ;
6783 return 0;
6784 }
6785 _ACEOF
6786 if ac_fn_c_try_link "$LINENO"; then :
6787 lt_cv_cc_needs_belf=yes
6788 else
6789 lt_cv_cc_needs_belf=no
6790 fi
6791 rm -f core conftest.err conftest.$ac_objext \
6792 conftest$ac_exeext conftest.$ac_ext
6793 ac_ext=c
6794 ac_cpp='$CPP $CPPFLAGS'
6795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6798
6799 fi
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6801 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6802 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6803 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6804 CFLAGS="$SAVE_CFLAGS"
6805 fi
6806 ;;
6807 *-*solaris*)
6808 # Find out which ABI we are using.
6809 echo 'int i;' > conftest.$ac_ext
6810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6811 (eval $ac_compile) 2>&5
6812 ac_status=$?
6813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6814 test $ac_status = 0; }; then
6815 case `/usr/bin/file conftest.o` in
6816 *64-bit*)
6817 case $lt_cv_prog_gnu_ld in
6818 yes*)
6819 case $host in
6820 i?86-*-solaris*)
6821 LD="${LD-ld} -m elf_x86_64"
6822 ;;
6823 sparc*-*-solaris*)
6824 LD="${LD-ld} -m elf64_sparc"
6825 ;;
6826 esac
6827 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6828 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6829 LD="${LD-ld}_sol2"
6830 fi
6831 ;;
6832 *)
6833 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6834 LD="${LD-ld} -64"
6835 fi
6836 ;;
6837 esac
6838 ;;
6839 esac
6840 fi
6841 rm -rf conftest*
6842 ;;
6843 esac
6844
6845 need_locks="$enable_libtool_lock"
6846
6847 if test -n "$ac_tool_prefix"; then
6848 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6849 set dummy ${ac_tool_prefix}mt; ac_word=$2
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6851 $as_echo_n "checking for $ac_word... " >&6; }
6852 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6853 $as_echo_n "(cached) " >&6
6854 else
6855 if test -n "$MANIFEST_TOOL"; then
6856 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6857 else
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 for as_dir in $PATH
6860 do
6861 IFS=$as_save_IFS
6862 test -z "$as_dir" && as_dir=.
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6865 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 break 2
6868 fi
6869 done
6870 done
6871 IFS=$as_save_IFS
6872
6873 fi
6874 fi
6875 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6876 if test -n "$MANIFEST_TOOL"; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6878 $as_echo "$MANIFEST_TOOL" >&6; }
6879 else
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6881 $as_echo "no" >&6; }
6882 fi
6883
6884
6885 fi
6886 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6887 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6888 # Extract the first word of "mt", so it can be a program name with args.
6889 set dummy mt; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6891 $as_echo_n "checking for $ac_word... " >&6; }
6892 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6893 $as_echo_n "(cached) " >&6
6894 else
6895 if test -n "$ac_ct_MANIFEST_TOOL"; then
6896 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6897 else
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899 for as_dir in $PATH
6900 do
6901 IFS=$as_save_IFS
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6905 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 break 2
6908 fi
6909 done
6910 done
6911 IFS=$as_save_IFS
6912
6913 fi
6914 fi
6915 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6916 if test -n "$ac_ct_MANIFEST_TOOL"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6918 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6919 else
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6921 $as_echo "no" >&6; }
6922 fi
6923
6924 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6925 MANIFEST_TOOL=":"
6926 else
6927 case $cross_compiling:$ac_tool_warned in
6928 yes:)
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6931 ac_tool_warned=yes ;;
6932 esac
6933 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6934 fi
6935 else
6936 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6937 fi
6938
6939 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6941 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6942 if ${lt_cv_path_mainfest_tool+:} false; then :
6943 $as_echo_n "(cached) " >&6
6944 else
6945 lt_cv_path_mainfest_tool=no
6946 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6947 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6948 cat conftest.err >&5
6949 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6950 lt_cv_path_mainfest_tool=yes
6951 fi
6952 rm -f conftest*
6953 fi
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6955 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6956 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6957 MANIFEST_TOOL=:
6958 fi
6959
6960
6961
6962
6963
6964
6965 case $host_os in
6966 rhapsody* | darwin*)
6967 if test -n "$ac_tool_prefix"; then
6968 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6969 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6973 $as_echo_n "(cached) " >&6
6974 else
6975 if test -n "$DSYMUTIL"; then
6976 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6977 else
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 for as_dir in $PATH
6980 do
6981 IFS=$as_save_IFS
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6985 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 break 2
6988 fi
6989 done
6990 done
6991 IFS=$as_save_IFS
6992
6993 fi
6994 fi
6995 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6996 if test -n "$DSYMUTIL"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6998 $as_echo "$DSYMUTIL" >&6; }
6999 else
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 $as_echo "no" >&6; }
7002 fi
7003
7004
7005 fi
7006 if test -z "$ac_cv_prog_DSYMUTIL"; then
7007 ac_ct_DSYMUTIL=$DSYMUTIL
7008 # Extract the first word of "dsymutil", so it can be a program name with args.
7009 set dummy dsymutil; ac_word=$2
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7013 $as_echo_n "(cached) " >&6
7014 else
7015 if test -n "$ac_ct_DSYMUTIL"; then
7016 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7017 else
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7019 for as_dir in $PATH
7020 do
7021 IFS=$as_save_IFS
7022 test -z "$as_dir" && as_dir=.
7023 for ac_exec_ext in '' $ac_executable_extensions; do
7024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7025 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 break 2
7028 fi
7029 done
7030 done
7031 IFS=$as_save_IFS
7032
7033 fi
7034 fi
7035 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7036 if test -n "$ac_ct_DSYMUTIL"; then
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7038 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7039 else
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7041 $as_echo "no" >&6; }
7042 fi
7043
7044 if test "x$ac_ct_DSYMUTIL" = x; then
7045 DSYMUTIL=":"
7046 else
7047 case $cross_compiling:$ac_tool_warned in
7048 yes:)
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7051 ac_tool_warned=yes ;;
7052 esac
7053 DSYMUTIL=$ac_ct_DSYMUTIL
7054 fi
7055 else
7056 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7057 fi
7058
7059 if test -n "$ac_tool_prefix"; then
7060 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7061 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if ${ac_cv_prog_NMEDIT+:} false; then :
7065 $as_echo_n "(cached) " >&6
7066 else
7067 if test -n "$NMEDIT"; then
7068 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7069 else
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 for as_dir in $PATH
7072 do
7073 IFS=$as_save_IFS
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 break 2
7080 fi
7081 done
7082 done
7083 IFS=$as_save_IFS
7084
7085 fi
7086 fi
7087 NMEDIT=$ac_cv_prog_NMEDIT
7088 if test -n "$NMEDIT"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7090 $as_echo "$NMEDIT" >&6; }
7091 else
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7094 fi
7095
7096
7097 fi
7098 if test -z "$ac_cv_prog_NMEDIT"; then
7099 ac_ct_NMEDIT=$NMEDIT
7100 # Extract the first word of "nmedit", so it can be a program name with args.
7101 set dummy nmedit; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 if test -n "$ac_ct_NMEDIT"; then
7108 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7112 do
7113 IFS=$as_save_IFS
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 break 2
7120 fi
7121 done
7122 done
7123 IFS=$as_save_IFS
7124
7125 fi
7126 fi
7127 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7128 if test -n "$ac_ct_NMEDIT"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7130 $as_echo "$ac_ct_NMEDIT" >&6; }
7131 else
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7134 fi
7135
7136 if test "x$ac_ct_NMEDIT" = x; then
7137 NMEDIT=":"
7138 else
7139 case $cross_compiling:$ac_tool_warned in
7140 yes:)
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7143 ac_tool_warned=yes ;;
7144 esac
7145 NMEDIT=$ac_ct_NMEDIT
7146 fi
7147 else
7148 NMEDIT="$ac_cv_prog_NMEDIT"
7149 fi
7150
7151 if test -n "$ac_tool_prefix"; then
7152 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if ${ac_cv_prog_LIPO+:} false; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 if test -n "$LIPO"; then
7160 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7161 else
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 for as_dir in $PATH
7164 do
7165 IFS=$as_save_IFS
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 break 2
7172 fi
7173 done
7174 done
7175 IFS=$as_save_IFS
7176
7177 fi
7178 fi
7179 LIPO=$ac_cv_prog_LIPO
7180 if test -n "$LIPO"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7182 $as_echo "$LIPO" >&6; }
7183 else
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7186 fi
7187
7188
7189 fi
7190 if test -z "$ac_cv_prog_LIPO"; then
7191 ac_ct_LIPO=$LIPO
7192 # Extract the first word of "lipo", so it can be a program name with args.
7193 set dummy lipo; ac_word=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7197 $as_echo_n "(cached) " >&6
7198 else
7199 if test -n "$ac_ct_LIPO"; then
7200 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7201 else
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 for as_dir in $PATH
7204 do
7205 IFS=$as_save_IFS
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_ac_ct_LIPO="lipo"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 break 2
7212 fi
7213 done
7214 done
7215 IFS=$as_save_IFS
7216
7217 fi
7218 fi
7219 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7220 if test -n "$ac_ct_LIPO"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7222 $as_echo "$ac_ct_LIPO" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7226 fi
7227
7228 if test "x$ac_ct_LIPO" = x; then
7229 LIPO=":"
7230 else
7231 case $cross_compiling:$ac_tool_warned in
7232 yes:)
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7235 ac_tool_warned=yes ;;
7236 esac
7237 LIPO=$ac_ct_LIPO
7238 fi
7239 else
7240 LIPO="$ac_cv_prog_LIPO"
7241 fi
7242
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}otool; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if ${ac_cv_prog_OTOOL+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 if test -n "$OTOOL"; then
7252 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7256 do
7257 IFS=$as_save_IFS
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 break 2
7264 fi
7265 done
7266 done
7267 IFS=$as_save_IFS
7268
7269 fi
7270 fi
7271 OTOOL=$ac_cv_prog_OTOOL
7272 if test -n "$OTOOL"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7274 $as_echo "$OTOOL" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7278 fi
7279
7280
7281 fi
7282 if test -z "$ac_cv_prog_OTOOL"; then
7283 ac_ct_OTOOL=$OTOOL
7284 # Extract the first word of "otool", so it can be a program name with args.
7285 set dummy otool; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7289 $as_echo_n "(cached) " >&6
7290 else
7291 if test -n "$ac_ct_OTOOL"; then
7292 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7296 do
7297 IFS=$as_save_IFS
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_ac_ct_OTOOL="otool"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 break 2
7304 fi
7305 done
7306 done
7307 IFS=$as_save_IFS
7308
7309 fi
7310 fi
7311 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7312 if test -n "$ac_ct_OTOOL"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7314 $as_echo "$ac_ct_OTOOL" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7318 fi
7319
7320 if test "x$ac_ct_OTOOL" = x; then
7321 OTOOL=":"
7322 else
7323 case $cross_compiling:$ac_tool_warned in
7324 yes:)
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned=yes ;;
7328 esac
7329 OTOOL=$ac_ct_OTOOL
7330 fi
7331 else
7332 OTOOL="$ac_cv_prog_OTOOL"
7333 fi
7334
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if ${ac_cv_prog_OTOOL64+:} false; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$OTOOL64"; then
7344 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7348 do
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7353 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7356 fi
7357 done
7358 done
7359 IFS=$as_save_IFS
7360
7361 fi
7362 fi
7363 OTOOL64=$ac_cv_prog_OTOOL64
7364 if test -n "$OTOOL64"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7366 $as_echo "$OTOOL64" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7370 fi
7371
7372
7373 fi
7374 if test -z "$ac_cv_prog_OTOOL64"; then
7375 ac_ct_OTOOL64=$OTOOL64
7376 # Extract the first word of "otool64", so it can be a program name with args.
7377 set dummy otool64; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_OTOOL64"; then
7384 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7388 do
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7393 ac_cv_prog_ac_ct_OTOOL64="otool64"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7396 fi
7397 done
7398 done
7399 IFS=$as_save_IFS
7400
7401 fi
7402 fi
7403 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7404 if test -n "$ac_ct_OTOOL64"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7406 $as_echo "$ac_ct_OTOOL64" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7410 fi
7411
7412 if test "x$ac_ct_OTOOL64" = x; then
7413 OTOOL64=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 OTOOL64=$ac_ct_OTOOL64
7422 fi
7423 else
7424 OTOOL64="$ac_cv_prog_OTOOL64"
7425 fi
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7454 $as_echo_n "checking for -single_module linker flag... " >&6; }
7455 if ${lt_cv_apple_cc_single_mod+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7458 lt_cv_apple_cc_single_mod=no
7459 if test -z "${LT_MULTI_MODULE}"; then
7460 # By default we will add the -single_module flag. You can override
7461 # by either setting the environment variable LT_MULTI_MODULE
7462 # non-empty at configure time, or by adding -multi_module to the
7463 # link flags.
7464 rm -rf libconftest.dylib*
7465 echo "int foo(void){return 1;}" > conftest.c
7466 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7467 -dynamiclib -Wl,-single_module conftest.c" >&5
7468 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7469 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7470 _lt_result=$?
7471 # If there is a non-empty error log, and "single_module"
7472 # appears in it, assume the flag caused a linker warning
7473 if test -s conftest.err && $GREP single_module conftest.err; then
7474 cat conftest.err >&5
7475 # Otherwise, if the output was created with a 0 exit code from
7476 # the compiler, it worked.
7477 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7478 lt_cv_apple_cc_single_mod=yes
7479 else
7480 cat conftest.err >&5
7481 fi
7482 rm -rf libconftest.dylib*
7483 rm -f conftest.*
7484 fi
7485 fi
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7487 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7488
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7490 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7491 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7492 $as_echo_n "(cached) " >&6
7493 else
7494 lt_cv_ld_exported_symbols_list=no
7495 save_LDFLAGS=$LDFLAGS
7496 echo "_main" > conftest.sym
7497 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7500
7501 int
7502 main ()
7503 {
7504
7505 ;
7506 return 0;
7507 }
7508 _ACEOF
7509 if ac_fn_c_try_link "$LINENO"; then :
7510 lt_cv_ld_exported_symbols_list=yes
7511 else
7512 lt_cv_ld_exported_symbols_list=no
7513 fi
7514 rm -f core conftest.err conftest.$ac_objext \
7515 conftest$ac_exeext conftest.$ac_ext
7516 LDFLAGS="$save_LDFLAGS"
7517
7518 fi
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7520 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7521
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7523 $as_echo_n "checking for -force_load linker flag... " >&6; }
7524 if ${lt_cv_ld_force_load+:} false; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 lt_cv_ld_force_load=no
7528 cat > conftest.c << _LT_EOF
7529 int forced_loaded() { return 2;}
7530 _LT_EOF
7531 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7532 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7533 echo "$AR cru libconftest.a conftest.o" >&5
7534 $AR cru libconftest.a conftest.o 2>&5
7535 echo "$RANLIB libconftest.a" >&5
7536 $RANLIB libconftest.a 2>&5
7537 cat > conftest.c << _LT_EOF
7538 int main() { return 0;}
7539 _LT_EOF
7540 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7541 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7542 _lt_result=$?
7543 if test -s conftest.err && $GREP force_load conftest.err; then
7544 cat conftest.err >&5
7545 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7546 lt_cv_ld_force_load=yes
7547 else
7548 cat conftest.err >&5
7549 fi
7550 rm -f conftest.err libconftest.a conftest conftest.c
7551 rm -rf conftest.dSYM
7552
7553 fi
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7555 $as_echo "$lt_cv_ld_force_load" >&6; }
7556 case $host_os in
7557 rhapsody* | darwin1.[012])
7558 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7559 darwin1.*)
7560 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7561 darwin*) # darwin 5.x on
7562 # if running on 10.5 or later, the deployment target defaults
7563 # to the OS version, if on x86, and 10.4, the deployment
7564 # target defaults to 10.4. Don't you love it?
7565 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7566 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7567 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7568 10.[012]*)
7569 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7570 10.*)
7571 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7572 esac
7573 ;;
7574 esac
7575 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7576 _lt_dar_single_mod='$single_module'
7577 fi
7578 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7579 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7580 else
7581 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7582 fi
7583 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7584 _lt_dsymutil='~$DSYMUTIL $lib || :'
7585 else
7586 _lt_dsymutil=
7587 fi
7588 ;;
7589 esac
7590
7591 ac_ext=c
7592 ac_cpp='$CPP $CPPFLAGS'
7593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7597 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7598 # On Suns, sometimes $CPP names a directory.
7599 if test -n "$CPP" && test -d "$CPP"; then
7600 CPP=
7601 fi
7602 if test -z "$CPP"; then
7603 if ${ac_cv_prog_CPP+:} false; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 # Double quotes because CPP needs to be expanded
7607 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7608 do
7609 ac_preproc_ok=false
7610 for ac_c_preproc_warn_flag in '' yes
7611 do
7612 # Use a header file that comes with gcc, so configuring glibc
7613 # with a fresh cross-compiler works.
7614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7615 # <limits.h> exists even on freestanding compilers.
7616 # On the NeXT, cc -E runs the code through the compiler's parser,
7617 # not just through cpp. "Syntax error" is here to catch this case.
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7620 #ifdef __STDC__
7621 # include <limits.h>
7622 #else
7623 # include <assert.h>
7624 #endif
7625 Syntax error
7626 _ACEOF
7627 if ac_fn_c_try_cpp "$LINENO"; then :
7628
7629 else
7630 # Broken: fails on valid input.
7631 continue
7632 fi
7633 rm -f conftest.err conftest.i conftest.$ac_ext
7634
7635 # OK, works on sane cases. Now check whether nonexistent headers
7636 # can be detected and how.
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7639 #include <ac_nonexistent.h>
7640 _ACEOF
7641 if ac_fn_c_try_cpp "$LINENO"; then :
7642 # Broken: success on invalid input.
7643 continue
7644 else
7645 # Passes both tests.
7646 ac_preproc_ok=:
7647 break
7648 fi
7649 rm -f conftest.err conftest.i conftest.$ac_ext
7650
7651 done
7652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7653 rm -f conftest.i conftest.err conftest.$ac_ext
7654 if $ac_preproc_ok; then :
7655 break
7656 fi
7657
7658 done
7659 ac_cv_prog_CPP=$CPP
7660
7661 fi
7662 CPP=$ac_cv_prog_CPP
7663 else
7664 ac_cv_prog_CPP=$CPP
7665 fi
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7667 $as_echo "$CPP" >&6; }
7668 ac_preproc_ok=false
7669 for ac_c_preproc_warn_flag in '' yes
7670 do
7671 # Use a header file that comes with gcc, so configuring glibc
7672 # with a fresh cross-compiler works.
7673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7674 # <limits.h> exists even on freestanding compilers.
7675 # On the NeXT, cc -E runs the code through the compiler's parser,
7676 # not just through cpp. "Syntax error" is here to catch this case.
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7679 #ifdef __STDC__
7680 # include <limits.h>
7681 #else
7682 # include <assert.h>
7683 #endif
7684 Syntax error
7685 _ACEOF
7686 if ac_fn_c_try_cpp "$LINENO"; then :
7687
7688 else
7689 # Broken: fails on valid input.
7690 continue
7691 fi
7692 rm -f conftest.err conftest.i conftest.$ac_ext
7693
7694 # OK, works on sane cases. Now check whether nonexistent headers
7695 # can be detected and how.
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #include <ac_nonexistent.h>
7699 _ACEOF
7700 if ac_fn_c_try_cpp "$LINENO"; then :
7701 # Broken: success on invalid input.
7702 continue
7703 else
7704 # Passes both tests.
7705 ac_preproc_ok=:
7706 break
7707 fi
7708 rm -f conftest.err conftest.i conftest.$ac_ext
7709
7710 done
7711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7712 rm -f conftest.i conftest.err conftest.$ac_ext
7713 if $ac_preproc_ok; then :
7714
7715 else
7716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7718 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7719 See \`config.log' for more details" "$LINENO" 5; }
7720 fi
7721
7722 ac_ext=c
7723 ac_cpp='$CPP $CPPFLAGS'
7724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7727
7728
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7730 $as_echo_n "checking for ANSI C header files... " >&6; }
7731 if ${ac_cv_header_stdc+:} false; then :
7732 $as_echo_n "(cached) " >&6
7733 else
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7736 #include <stdlib.h>
7737 #include <stdarg.h>
7738 #include <string.h>
7739 #include <float.h>
7740
7741 int
7742 main ()
7743 {
7744
7745 ;
7746 return 0;
7747 }
7748 _ACEOF
7749 if ac_fn_c_try_compile "$LINENO"; then :
7750 ac_cv_header_stdc=yes
7751 else
7752 ac_cv_header_stdc=no
7753 fi
7754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7755
7756 if test $ac_cv_header_stdc = yes; then
7757 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760 #include <string.h>
7761
7762 _ACEOF
7763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7764 $EGREP "memchr" >/dev/null 2>&1; then :
7765
7766 else
7767 ac_cv_header_stdc=no
7768 fi
7769 rm -f conftest*
7770
7771 fi
7772
7773 if test $ac_cv_header_stdc = yes; then
7774 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7776 /* end confdefs.h. */
7777 #include <stdlib.h>
7778
7779 _ACEOF
7780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7781 $EGREP "free" >/dev/null 2>&1; then :
7782
7783 else
7784 ac_cv_header_stdc=no
7785 fi
7786 rm -f conftest*
7787
7788 fi
7789
7790 if test $ac_cv_header_stdc = yes; then
7791 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7792 if test "$cross_compiling" = yes; then :
7793 :
7794 else
7795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h. */
7797 #include <ctype.h>
7798 #include <stdlib.h>
7799 #if ((' ' & 0x0FF) == 0x020)
7800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7802 #else
7803 # define ISLOWER(c) \
7804 (('a' <= (c) && (c) <= 'i') \
7805 || ('j' <= (c) && (c) <= 'r') \
7806 || ('s' <= (c) && (c) <= 'z'))
7807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7808 #endif
7809
7810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7811 int
7812 main ()
7813 {
7814 int i;
7815 for (i = 0; i < 256; i++)
7816 if (XOR (islower (i), ISLOWER (i))
7817 || toupper (i) != TOUPPER (i))
7818 return 2;
7819 return 0;
7820 }
7821 _ACEOF
7822 if ac_fn_c_try_run "$LINENO"; then :
7823
7824 else
7825 ac_cv_header_stdc=no
7826 fi
7827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7828 conftest.$ac_objext conftest.beam conftest.$ac_ext
7829 fi
7830
7831 fi
7832 fi
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7834 $as_echo "$ac_cv_header_stdc" >&6; }
7835 if test $ac_cv_header_stdc = yes; then
7836
7837 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7838
7839 fi
7840
7841 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7842 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7843 inttypes.h stdint.h unistd.h
7844 do :
7845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7846 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7847 "
7848 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7849 cat >>confdefs.h <<_ACEOF
7850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7851 _ACEOF
7852
7853 fi
7854
7855 done
7856
7857
7858 for ac_header in dlfcn.h
7859 do :
7860 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7861 "
7862 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7863 cat >>confdefs.h <<_ACEOF
7864 #define HAVE_DLFCN_H 1
7865 _ACEOF
7866
7867 fi
7868
7869 done
7870
7871
7872
7873
7874 func_stripname_cnf ()
7875 {
7876 case ${2} in
7877 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7878 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7879 esac
7880 } # func_stripname_cnf
7881
7882
7883
7884
7885
7886 # Set options
7887
7888
7889
7890 enable_dlopen=no
7891
7892
7893 enable_win32_dll=no
7894
7895
7896 # Check whether --enable-shared was given.
7897 if test "${enable_shared+set}" = set; then :
7898 enableval=$enable_shared; p=${PACKAGE-default}
7899 case $enableval in
7900 yes) enable_shared=yes ;;
7901 no) enable_shared=no ;;
7902 *)
7903 enable_shared=no
7904 # Look at the argument we got. We use all the common list separators.
7905 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7906 for pkg in $enableval; do
7907 IFS="$lt_save_ifs"
7908 if test "X$pkg" = "X$p"; then
7909 enable_shared=yes
7910 fi
7911 done
7912 IFS="$lt_save_ifs"
7913 ;;
7914 esac
7915 else
7916 enable_shared=yes
7917 fi
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927 # Check whether --enable-static was given.
7928 if test "${enable_static+set}" = set; then :
7929 enableval=$enable_static; p=${PACKAGE-default}
7930 case $enableval in
7931 yes) enable_static=yes ;;
7932 no) enable_static=no ;;
7933 *)
7934 enable_static=no
7935 # Look at the argument we got. We use all the common list separators.
7936 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7937 for pkg in $enableval; do
7938 IFS="$lt_save_ifs"
7939 if test "X$pkg" = "X$p"; then
7940 enable_static=yes
7941 fi
7942 done
7943 IFS="$lt_save_ifs"
7944 ;;
7945 esac
7946 else
7947 enable_static=yes
7948 fi
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959 # Check whether --with-pic was given.
7960 if test "${with_pic+set}" = set; then :
7961 withval=$with_pic; lt_p=${PACKAGE-default}
7962 case $withval in
7963 yes|no) pic_mode=$withval ;;
7964 *)
7965 pic_mode=default
7966 # Look at the argument we got. We use all the common list separators.
7967 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7968 for lt_pkg in $withval; do
7969 IFS="$lt_save_ifs"
7970 if test "X$lt_pkg" = "X$lt_p"; then
7971 pic_mode=yes
7972 fi
7973 done
7974 IFS="$lt_save_ifs"
7975 ;;
7976 esac
7977 else
7978 pic_mode=default
7979 fi
7980
7981
7982 test -z "$pic_mode" && pic_mode=default
7983
7984
7985
7986
7987
7988
7989
7990 # Check whether --enable-fast-install was given.
7991 if test "${enable_fast_install+set}" = set; then :
7992 enableval=$enable_fast_install; p=${PACKAGE-default}
7993 case $enableval in
7994 yes) enable_fast_install=yes ;;
7995 no) enable_fast_install=no ;;
7996 *)
7997 enable_fast_install=no
7998 # Look at the argument we got. We use all the common list separators.
7999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000 for pkg in $enableval; do
8001 IFS="$lt_save_ifs"
8002 if test "X$pkg" = "X$p"; then
8003 enable_fast_install=yes
8004 fi
8005 done
8006 IFS="$lt_save_ifs"
8007 ;;
8008 esac
8009 else
8010 enable_fast_install=yes
8011 fi
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023 # This can be used to rebuild libtool when needed
8024 LIBTOOL_DEPS="$ltmain"
8025
8026 # Always use our own libtool.
8027 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058 test -z "$LN_S" && LN_S="ln -s"
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073 if test -n "${ZSH_VERSION+set}" ; then
8074 setopt NO_GLOB_SUBST
8075 fi
8076
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8078 $as_echo_n "checking for objdir... " >&6; }
8079 if ${lt_cv_objdir+:} false; then :
8080 $as_echo_n "(cached) " >&6
8081 else
8082 rm -f .libs 2>/dev/null
8083 mkdir .libs 2>/dev/null
8084 if test -d .libs; then
8085 lt_cv_objdir=.libs
8086 else
8087 # MS-DOS does not allow filenames that begin with a dot.
8088 lt_cv_objdir=_libs
8089 fi
8090 rmdir .libs 2>/dev/null
8091 fi
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8093 $as_echo "$lt_cv_objdir" >&6; }
8094 objdir=$lt_cv_objdir
8095
8096
8097
8098
8099
8100 cat >>confdefs.h <<_ACEOF
8101 #define LT_OBJDIR "$lt_cv_objdir/"
8102 _ACEOF
8103
8104
8105
8106
8107 case $host_os in
8108 aix3*)
8109 # AIX sometimes has problems with the GCC collect2 program. For some
8110 # reason, if we set the COLLECT_NAMES environment variable, the problems
8111 # vanish in a puff of smoke.
8112 if test "X${COLLECT_NAMES+set}" != Xset; then
8113 COLLECT_NAMES=
8114 export COLLECT_NAMES
8115 fi
8116 ;;
8117 esac
8118
8119 # Global variables:
8120 ofile=libtool
8121 can_build_shared=yes
8122
8123 # All known linkers require a `.a' archive for static linking (except MSVC,
8124 # which needs '.lib').
8125 libext=a
8126
8127 with_gnu_ld="$lt_cv_prog_gnu_ld"
8128
8129 old_CC="$CC"
8130 old_CFLAGS="$CFLAGS"
8131
8132 # Set sane defaults for various variables
8133 test -z "$CC" && CC=cc
8134 test -z "$LTCC" && LTCC=$CC
8135 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8136 test -z "$LD" && LD=ld
8137 test -z "$ac_objext" && ac_objext=o
8138
8139 for cc_temp in $compiler""; do
8140 case $cc_temp in
8141 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8142 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8143 \-*) ;;
8144 *) break;;
8145 esac
8146 done
8147 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8148
8149
8150 # Only perform the check for file, if the check method requires it
8151 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8152 case $deplibs_check_method in
8153 file_magic*)
8154 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8156 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8157 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8158 $as_echo_n "(cached) " >&6
8159 else
8160 case $MAGIC_CMD in
8161 [\\/*] | ?:[\\/]*)
8162 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8163 ;;
8164 *)
8165 lt_save_MAGIC_CMD="$MAGIC_CMD"
8166 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8167 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8168 for ac_dir in $ac_dummy; do
8169 IFS="$lt_save_ifs"
8170 test -z "$ac_dir" && ac_dir=.
8171 if test -f $ac_dir/${ac_tool_prefix}file; then
8172 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8173 if test -n "$file_magic_test_file"; then
8174 case $deplibs_check_method in
8175 "file_magic "*)
8176 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8177 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8178 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8179 $EGREP "$file_magic_regex" > /dev/null; then
8180 :
8181 else
8182 cat <<_LT_EOF 1>&2
8183
8184 *** Warning: the command libtool uses to detect shared libraries,
8185 *** $file_magic_cmd, produces output that libtool cannot recognize.
8186 *** The result is that libtool may fail to recognize shared libraries
8187 *** as such. This will affect the creation of libtool libraries that
8188 *** depend on shared libraries, but programs linked with such libtool
8189 *** libraries will work regardless of this problem. Nevertheless, you
8190 *** may want to report the problem to your system manager and/or to
8191 *** [email protected]
8192
8193 _LT_EOF
8194 fi ;;
8195 esac
8196 fi
8197 break
8198 fi
8199 done
8200 IFS="$lt_save_ifs"
8201 MAGIC_CMD="$lt_save_MAGIC_CMD"
8202 ;;
8203 esac
8204 fi
8205
8206 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8207 if test -n "$MAGIC_CMD"; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8209 $as_echo "$MAGIC_CMD" >&6; }
8210 else
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8212 $as_echo "no" >&6; }
8213 fi
8214
8215
8216
8217
8218
8219 if test -z "$lt_cv_path_MAGIC_CMD"; then
8220 if test -n "$ac_tool_prefix"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8222 $as_echo_n "checking for file... " >&6; }
8223 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8224 $as_echo_n "(cached) " >&6
8225 else
8226 case $MAGIC_CMD in
8227 [\\/*] | ?:[\\/]*)
8228 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8229 ;;
8230 *)
8231 lt_save_MAGIC_CMD="$MAGIC_CMD"
8232 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8233 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8234 for ac_dir in $ac_dummy; do
8235 IFS="$lt_save_ifs"
8236 test -z "$ac_dir" && ac_dir=.
8237 if test -f $ac_dir/file; then
8238 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8239 if test -n "$file_magic_test_file"; then
8240 case $deplibs_check_method in
8241 "file_magic "*)
8242 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8243 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8244 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8245 $EGREP "$file_magic_regex" > /dev/null; then
8246 :
8247 else
8248 cat <<_LT_EOF 1>&2
8249
8250 *** Warning: the command libtool uses to detect shared libraries,
8251 *** $file_magic_cmd, produces output that libtool cannot recognize.
8252 *** The result is that libtool may fail to recognize shared libraries
8253 *** as such. This will affect the creation of libtool libraries that
8254 *** depend on shared libraries, but programs linked with such libtool
8255 *** libraries will work regardless of this problem. Nevertheless, you
8256 *** may want to report the problem to your system manager and/or to
8257 *** [email protected]
8258
8259 _LT_EOF
8260 fi ;;
8261 esac
8262 fi
8263 break
8264 fi
8265 done
8266 IFS="$lt_save_ifs"
8267 MAGIC_CMD="$lt_save_MAGIC_CMD"
8268 ;;
8269 esac
8270 fi
8271
8272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8273 if test -n "$MAGIC_CMD"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8275 $as_echo "$MAGIC_CMD" >&6; }
8276 else
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo "no" >&6; }
8279 fi
8280
8281
8282 else
8283 MAGIC_CMD=:
8284 fi
8285 fi
8286
8287 fi
8288 ;;
8289 esac
8290
8291 # Use C for the default configuration in the libtool script
8292
8293 lt_save_CC="$CC"
8294 ac_ext=c
8295 ac_cpp='$CPP $CPPFLAGS'
8296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8299
8300
8301 # Source file extension for C test sources.
8302 ac_ext=c
8303
8304 # Object file extension for compiled C test sources.
8305 objext=o
8306 objext=$objext
8307
8308 # Code to be used in simple compile tests
8309 lt_simple_compile_test_code="int some_variable = 0;"
8310
8311 # Code to be used in simple link tests
8312 lt_simple_link_test_code='int main(){return(0);}'
8313
8314
8315
8316
8317
8318
8319
8320 # If no C compiler was specified, use CC.
8321 LTCC=${LTCC-"$CC"}
8322
8323 # If no C compiler flags were specified, use CFLAGS.
8324 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8325
8326 # Allow CC to be a program name with arguments.
8327 compiler=$CC
8328
8329 # Save the default compiler, since it gets overwritten when the other
8330 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8331 compiler_DEFAULT=$CC
8332
8333 # save warnings/boilerplate of simple test code
8334 ac_outfile=conftest.$ac_objext
8335 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8336 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8337 _lt_compiler_boilerplate=`cat conftest.err`
8338 $RM conftest*
8339
8340 ac_outfile=conftest.$ac_objext
8341 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8342 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8343 _lt_linker_boilerplate=`cat conftest.err`
8344 $RM -r conftest*
8345
8346
8347 ## CAVEAT EMPTOR:
8348 ## There is no encapsulation within the following macros, do not change
8349 ## the running order or otherwise move them around unless you know exactly
8350 ## what you are doing...
8351 if test -n "$compiler"; then
8352
8353 lt_prog_compiler_no_builtin_flag=
8354
8355 if test "$GCC" = yes; then
8356 case $cc_basename in
8357 nvcc*)
8358 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8359 *)
8360 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8361 esac
8362
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8364 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8365 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 lt_cv_prog_compiler_rtti_exceptions=no
8369 ac_outfile=conftest.$ac_objext
8370 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8371 lt_compiler_flag="-fno-rtti -fno-exceptions"
8372 # Insert the option either (1) after the last *FLAGS variable, or
8373 # (2) before a word containing "conftest.", or (3) at the end.
8374 # Note that $ac_compile itself does not contain backslashes and begins
8375 # with a dollar sign (not a hyphen), so the echo should work correctly.
8376 # The option is referenced via a variable to avoid confusing sed.
8377 lt_compile=`echo "$ac_compile" | $SED \
8378 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8379 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8380 -e 's:$: $lt_compiler_flag:'`
8381 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8382 (eval "$lt_compile" 2>conftest.err)
8383 ac_status=$?
8384 cat conftest.err >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 if (exit $ac_status) && test -s "$ac_outfile"; then
8387 # The compiler can only warn and ignore the option if not recognized
8388 # So say no if there are warnings other than the usual output.
8389 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8390 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8391 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8392 lt_cv_prog_compiler_rtti_exceptions=yes
8393 fi
8394 fi
8395 $RM conftest*
8396
8397 fi
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8399 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8400
8401 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8402 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8403 else
8404 :
8405 fi
8406
8407 fi
8408
8409
8410
8411
8412
8413
8414 lt_prog_compiler_wl=
8415 lt_prog_compiler_pic=
8416 lt_prog_compiler_static=
8417
8418
8419 if test "$GCC" = yes; then
8420 lt_prog_compiler_wl='-Wl,'
8421 lt_prog_compiler_static='-static'
8422
8423 case $host_os in
8424 aix*)
8425 # All AIX code is PIC.
8426 if test "$host_cpu" = ia64; then
8427 # AIX 5 now supports IA64 processor
8428 lt_prog_compiler_static='-Bstatic'
8429 fi
8430 ;;
8431
8432 amigaos*)
8433 case $host_cpu in
8434 powerpc)
8435 # see comment about AmigaOS4 .so support
8436 lt_prog_compiler_pic='-fPIC'
8437 ;;
8438 m68k)
8439 # FIXME: we need at least 68020 code to build shared libraries, but
8440 # adding the `-m68020' flag to GCC prevents building anything better,
8441 # like `-m68040'.
8442 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8443 ;;
8444 esac
8445 ;;
8446
8447 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8448 # PIC is the default for these OSes.
8449 ;;
8450
8451 mingw* | cygwin* | pw32* | os2* | cegcc*)
8452 # This hack is so that the source file can tell whether it is being
8453 # built for inclusion in a dll (and should export symbols for example).
8454 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8455 # (--disable-auto-import) libraries
8456 lt_prog_compiler_pic='-DDLL_EXPORT'
8457 ;;
8458
8459 darwin* | rhapsody*)
8460 # PIC is the default on this platform
8461 # Common symbols not allowed in MH_DYLIB files
8462 lt_prog_compiler_pic='-fno-common'
8463 ;;
8464
8465 haiku*)
8466 # PIC is the default for Haiku.
8467 # The "-static" flag exists, but is broken.
8468 lt_prog_compiler_static=
8469 ;;
8470
8471 hpux*)
8472 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8473 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8474 # sets the default TLS model and affects inlining.
8475 case $host_cpu in
8476 hppa*64*)
8477 # +Z the default
8478 ;;
8479 *)
8480 lt_prog_compiler_pic='-fPIC'
8481 ;;
8482 esac
8483 ;;
8484
8485 interix[3-9]*)
8486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8487 # Instead, we relocate shared libraries at runtime.
8488 ;;
8489
8490 msdosdjgpp*)
8491 # Just because we use GCC doesn't mean we suddenly get shared libraries
8492 # on systems that don't support them.
8493 lt_prog_compiler_can_build_shared=no
8494 enable_shared=no
8495 ;;
8496
8497 *nto* | *qnx*)
8498 # QNX uses GNU C++, but need to define -shared option too, otherwise
8499 # it will coredump.
8500 lt_prog_compiler_pic='-fPIC -shared'
8501 ;;
8502
8503 sysv4*MP*)
8504 if test -d /usr/nec; then
8505 lt_prog_compiler_pic=-Kconform_pic
8506 fi
8507 ;;
8508
8509 *)
8510 lt_prog_compiler_pic='-fPIC'
8511 ;;
8512 esac
8513
8514 case $cc_basename in
8515 nvcc*) # Cuda Compiler Driver 2.2
8516 lt_prog_compiler_wl='-Xlinker '
8517 if test -n "$lt_prog_compiler_pic"; then
8518 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8519 fi
8520 ;;
8521 esac
8522 else
8523 # PORTME Check for flag to pass linker flags through the system compiler.
8524 case $host_os in
8525 aix*)
8526 lt_prog_compiler_wl='-Wl,'
8527 if test "$host_cpu" = ia64; then
8528 # AIX 5 now supports IA64 processor
8529 lt_prog_compiler_static='-Bstatic'
8530 else
8531 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8532 fi
8533 ;;
8534
8535 mingw* | cygwin* | pw32* | os2* | cegcc*)
8536 # This hack is so that the source file can tell whether it is being
8537 # built for inclusion in a dll (and should export symbols for example).
8538 lt_prog_compiler_pic='-DDLL_EXPORT'
8539 ;;
8540
8541 hpux9* | hpux10* | hpux11*)
8542 lt_prog_compiler_wl='-Wl,'
8543 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8544 # not for PA HP-UX.
8545 case $host_cpu in
8546 hppa*64*|ia64*)
8547 # +Z the default
8548 ;;
8549 *)
8550 lt_prog_compiler_pic='+Z'
8551 ;;
8552 esac
8553 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8554 lt_prog_compiler_static='${wl}-a ${wl}archive'
8555 ;;
8556
8557 irix5* | irix6* | nonstopux*)
8558 lt_prog_compiler_wl='-Wl,'
8559 # PIC (with -KPIC) is the default.
8560 lt_prog_compiler_static='-non_shared'
8561 ;;
8562
8563 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8564 case $cc_basename in
8565 # old Intel for x86_64 which still supported -KPIC.
8566 ecc*)
8567 lt_prog_compiler_wl='-Wl,'
8568 lt_prog_compiler_pic='-KPIC'
8569 lt_prog_compiler_static='-static'
8570 ;;
8571 # icc used to be incompatible with GCC.
8572 # ICC 10 doesn't accept -KPIC any more.
8573 icc* | ifort*)
8574 lt_prog_compiler_wl='-Wl,'
8575 lt_prog_compiler_pic='-fPIC'
8576 lt_prog_compiler_static='-static'
8577 ;;
8578 # Lahey Fortran 8.1.
8579 lf95*)
8580 lt_prog_compiler_wl='-Wl,'
8581 lt_prog_compiler_pic='--shared'
8582 lt_prog_compiler_static='--static'
8583 ;;
8584 nagfor*)
8585 # NAG Fortran compiler
8586 lt_prog_compiler_wl='-Wl,-Wl,,'
8587 lt_prog_compiler_pic='-PIC'
8588 lt_prog_compiler_static='-Bstatic'
8589 ;;
8590 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8591 # Portland Group compilers (*not* the Pentium gcc compiler,
8592 # which looks to be a dead project)
8593 lt_prog_compiler_wl='-Wl,'
8594 lt_prog_compiler_pic='-fpic'
8595 lt_prog_compiler_static='-Bstatic'
8596 ;;
8597 ccc*)
8598 lt_prog_compiler_wl='-Wl,'
8599 # All Alpha code is PIC.
8600 lt_prog_compiler_static='-non_shared'
8601 ;;
8602 xl* | bgxl* | bgf* | mpixl*)
8603 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8604 lt_prog_compiler_wl='-Wl,'
8605 lt_prog_compiler_pic='-qpic'
8606 lt_prog_compiler_static='-qstaticlink'
8607 ;;
8608 *)
8609 case `$CC -V 2>&1 | sed 5q` in
8610 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8611 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8612 lt_prog_compiler_pic='-KPIC'
8613 lt_prog_compiler_static='-Bstatic'
8614 lt_prog_compiler_wl=''
8615 ;;
8616 *Sun\ F* | *Sun*Fortran*)
8617 lt_prog_compiler_pic='-KPIC'
8618 lt_prog_compiler_static='-Bstatic'
8619 lt_prog_compiler_wl='-Qoption ld '
8620 ;;
8621 *Sun\ C*)
8622 # Sun C 5.9
8623 lt_prog_compiler_pic='-KPIC'
8624 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_wl='-Wl,'
8626 ;;
8627 *Intel*\ [CF]*Compiler*)
8628 lt_prog_compiler_wl='-Wl,'
8629 lt_prog_compiler_pic='-fPIC'
8630 lt_prog_compiler_static='-static'
8631 ;;
8632 *Portland\ Group*)
8633 lt_prog_compiler_wl='-Wl,'
8634 lt_prog_compiler_pic='-fpic'
8635 lt_prog_compiler_static='-Bstatic'
8636 ;;
8637 esac
8638 ;;
8639 esac
8640 ;;
8641
8642 newsos6)
8643 lt_prog_compiler_pic='-KPIC'
8644 lt_prog_compiler_static='-Bstatic'
8645 ;;
8646
8647 *nto* | *qnx*)
8648 # QNX uses GNU C++, but need to define -shared option too, otherwise
8649 # it will coredump.
8650 lt_prog_compiler_pic='-fPIC -shared'
8651 ;;
8652
8653 osf3* | osf4* | osf5*)
8654 lt_prog_compiler_wl='-Wl,'
8655 # All OSF/1 code is PIC.
8656 lt_prog_compiler_static='-non_shared'
8657 ;;
8658
8659 rdos*)
8660 lt_prog_compiler_static='-non_shared'
8661 ;;
8662
8663 solaris*)
8664 lt_prog_compiler_pic='-KPIC'
8665 lt_prog_compiler_static='-Bstatic'
8666 case $cc_basename in
8667 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8668 lt_prog_compiler_wl='-Qoption ld ';;
8669 *)
8670 lt_prog_compiler_wl='-Wl,';;
8671 esac
8672 ;;
8673
8674 sunos4*)
8675 lt_prog_compiler_wl='-Qoption ld '
8676 lt_prog_compiler_pic='-PIC'
8677 lt_prog_compiler_static='-Bstatic'
8678 ;;
8679
8680 sysv4 | sysv4.2uw2* | sysv4.3*)
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_pic='-KPIC'
8683 lt_prog_compiler_static='-Bstatic'
8684 ;;
8685
8686 sysv4*MP*)
8687 if test -d /usr/nec ;then
8688 lt_prog_compiler_pic='-Kconform_pic'
8689 lt_prog_compiler_static='-Bstatic'
8690 fi
8691 ;;
8692
8693 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8694 lt_prog_compiler_wl='-Wl,'
8695 lt_prog_compiler_pic='-KPIC'
8696 lt_prog_compiler_static='-Bstatic'
8697 ;;
8698
8699 unicos*)
8700 lt_prog_compiler_wl='-Wl,'
8701 lt_prog_compiler_can_build_shared=no
8702 ;;
8703
8704 uts4*)
8705 lt_prog_compiler_pic='-pic'
8706 lt_prog_compiler_static='-Bstatic'
8707 ;;
8708
8709 *)
8710 lt_prog_compiler_can_build_shared=no
8711 ;;
8712 esac
8713 fi
8714
8715 case $host_os in
8716 # For platforms which do not support PIC, -DPIC is meaningless:
8717 *djgpp*)
8718 lt_prog_compiler_pic=
8719 ;;
8720 *)
8721 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8722 ;;
8723 esac
8724
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8726 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8727 if ${lt_cv_prog_compiler_pic+:} false; then :
8728 $as_echo_n "(cached) " >&6
8729 else
8730 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8731 fi
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8733 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8734 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8735
8736 #
8737 # Check to make sure the PIC flag actually works.
8738 #
8739 if test -n "$lt_prog_compiler_pic"; then
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8741 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8742 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 lt_cv_prog_compiler_pic_works=no
8746 ac_outfile=conftest.$ac_objext
8747 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8748 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8749 # Insert the option either (1) after the last *FLAGS variable, or
8750 # (2) before a word containing "conftest.", or (3) at the end.
8751 # Note that $ac_compile itself does not contain backslashes and begins
8752 # with a dollar sign (not a hyphen), so the echo should work correctly.
8753 # The option is referenced via a variable to avoid confusing sed.
8754 lt_compile=`echo "$ac_compile" | $SED \
8755 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8756 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8757 -e 's:$: $lt_compiler_flag:'`
8758 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8759 (eval "$lt_compile" 2>conftest.err)
8760 ac_status=$?
8761 cat conftest.err >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 if (exit $ac_status) && test -s "$ac_outfile"; then
8764 # The compiler can only warn and ignore the option if not recognized
8765 # So say no if there are warnings other than the usual output.
8766 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8767 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8768 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8769 lt_cv_prog_compiler_pic_works=yes
8770 fi
8771 fi
8772 $RM conftest*
8773
8774 fi
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8776 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8777
8778 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8779 case $lt_prog_compiler_pic in
8780 "" | " "*) ;;
8781 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8782 esac
8783 else
8784 lt_prog_compiler_pic=
8785 lt_prog_compiler_can_build_shared=no
8786 fi
8787
8788 fi
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800 #
8801 # Check to make sure the static flag actually works.
8802 #
8803 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8805 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8806 if ${lt_cv_prog_compiler_static_works+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 lt_cv_prog_compiler_static_works=no
8810 save_LDFLAGS="$LDFLAGS"
8811 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8812 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8813 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8814 # The linker can only warn and ignore the option if not recognized
8815 # So say no if there are warnings
8816 if test -s conftest.err; then
8817 # Append any errors to the config.log.
8818 cat conftest.err 1>&5
8819 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8820 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8821 if diff conftest.exp conftest.er2 >/dev/null; then
8822 lt_cv_prog_compiler_static_works=yes
8823 fi
8824 else
8825 lt_cv_prog_compiler_static_works=yes
8826 fi
8827 fi
8828 $RM -r conftest*
8829 LDFLAGS="$save_LDFLAGS"
8830
8831 fi
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8833 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8834
8835 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8836 :
8837 else
8838 lt_prog_compiler_static=
8839 fi
8840
8841
8842
8843
8844
8845
8846
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8848 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8849 if ${lt_cv_prog_compiler_c_o+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 lt_cv_prog_compiler_c_o=no
8853 $RM -r conftest 2>/dev/null
8854 mkdir conftest
8855 cd conftest
8856 mkdir out
8857 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8858
8859 lt_compiler_flag="-o out/conftest2.$ac_objext"
8860 # Insert the option either (1) after the last *FLAGS variable, or
8861 # (2) before a word containing "conftest.", or (3) at the end.
8862 # Note that $ac_compile itself does not contain backslashes and begins
8863 # with a dollar sign (not a hyphen), so the echo should work correctly.
8864 lt_compile=`echo "$ac_compile" | $SED \
8865 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8866 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8867 -e 's:$: $lt_compiler_flag:'`
8868 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8869 (eval "$lt_compile" 2>out/conftest.err)
8870 ac_status=$?
8871 cat out/conftest.err >&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8874 then
8875 # The compiler can only warn and ignore the option if not recognized
8876 # So say no if there are warnings
8877 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8878 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8879 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8880 lt_cv_prog_compiler_c_o=yes
8881 fi
8882 fi
8883 chmod u+w . 2>&5
8884 $RM conftest*
8885 # SGI C++ compiler will create directory out/ii_files/ for
8886 # template instantiation
8887 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8888 $RM out/* && rmdir out
8889 cd ..
8890 $RM -r conftest
8891 $RM conftest*
8892
8893 fi
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8895 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8896
8897
8898
8899
8900
8901
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8903 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8904 if ${lt_cv_prog_compiler_c_o+:} false; then :
8905 $as_echo_n "(cached) " >&6
8906 else
8907 lt_cv_prog_compiler_c_o=no
8908 $RM -r conftest 2>/dev/null
8909 mkdir conftest
8910 cd conftest
8911 mkdir out
8912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8913
8914 lt_compiler_flag="-o out/conftest2.$ac_objext"
8915 # Insert the option either (1) after the last *FLAGS variable, or
8916 # (2) before a word containing "conftest.", or (3) at the end.
8917 # Note that $ac_compile itself does not contain backslashes and begins
8918 # with a dollar sign (not a hyphen), so the echo should work correctly.
8919 lt_compile=`echo "$ac_compile" | $SED \
8920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8922 -e 's:$: $lt_compiler_flag:'`
8923 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8924 (eval "$lt_compile" 2>out/conftest.err)
8925 ac_status=$?
8926 cat out/conftest.err >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8929 then
8930 # The compiler can only warn and ignore the option if not recognized
8931 # So say no if there are warnings
8932 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8933 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8934 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8935 lt_cv_prog_compiler_c_o=yes
8936 fi
8937 fi
8938 chmod u+w . 2>&5
8939 $RM conftest*
8940 # SGI C++ compiler will create directory out/ii_files/ for
8941 # template instantiation
8942 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8943 $RM out/* && rmdir out
8944 cd ..
8945 $RM -r conftest
8946 $RM conftest*
8947
8948 fi
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8950 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8951
8952
8953
8954
8955 hard_links="nottested"
8956 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8957 # do not overwrite the value of need_locks provided by the user
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8959 $as_echo_n "checking if we can lock with hard links... " >&6; }
8960 hard_links=yes
8961 $RM conftest*
8962 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8963 touch conftest.a
8964 ln conftest.a conftest.b 2>&5 || hard_links=no
8965 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8967 $as_echo "$hard_links" >&6; }
8968 if test "$hard_links" = no; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8970 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8971 need_locks=warn
8972 fi
8973 else
8974 need_locks=no
8975 fi
8976
8977
8978
8979
8980
8981
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8983 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8984
8985 runpath_var=
8986 allow_undefined_flag=
8987 always_export_symbols=no
8988 archive_cmds=
8989 archive_expsym_cmds=
8990 compiler_needs_object=no
8991 enable_shared_with_static_runtimes=no
8992 export_dynamic_flag_spec=
8993 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8994 hardcode_automatic=no
8995 hardcode_direct=no
8996 hardcode_direct_absolute=no
8997 hardcode_libdir_flag_spec=
8998 hardcode_libdir_separator=
8999 hardcode_minus_L=no
9000 hardcode_shlibpath_var=unsupported
9001 inherit_rpath=no
9002 link_all_deplibs=unknown
9003 module_cmds=
9004 module_expsym_cmds=
9005 old_archive_from_new_cmds=
9006 old_archive_from_expsyms_cmds=
9007 thread_safe_flag_spec=
9008 whole_archive_flag_spec=
9009 # include_expsyms should be a list of space-separated symbols to be *always*
9010 # included in the symbol list
9011 include_expsyms=
9012 # exclude_expsyms can be an extended regexp of symbols to exclude
9013 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9014 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9015 # as well as any symbol that contains `d'.
9016 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9017 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9018 # platforms (ab)use it in PIC code, but their linkers get confused if
9019 # the symbol is explicitly referenced. Since portable code cannot
9020 # rely on this symbol name, it's probably fine to never include it in
9021 # preloaded symbol tables.
9022 # Exclude shared library initialization/finalization symbols.
9023 extract_expsyms_cmds=
9024
9025 case $host_os in
9026 cygwin* | mingw* | pw32* | cegcc*)
9027 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9028 # When not using gcc, we currently assume that we are using
9029 # Microsoft Visual C++.
9030 if test "$GCC" != yes; then
9031 with_gnu_ld=no
9032 fi
9033 ;;
9034 interix*)
9035 # we just hope/assume this is gcc and not c89 (= MSVC++)
9036 with_gnu_ld=yes
9037 ;;
9038 openbsd*)
9039 with_gnu_ld=no
9040 ;;
9041 linux* | k*bsd*-gnu | gnu*)
9042 link_all_deplibs=no
9043 ;;
9044 esac
9045
9046 ld_shlibs=yes
9047
9048 # On some targets, GNU ld is compatible enough with the native linker
9049 # that we're better off using the native interface for both.
9050 lt_use_gnu_ld_interface=no
9051 if test "$with_gnu_ld" = yes; then
9052 case $host_os in
9053 aix*)
9054 # The AIX port of GNU ld has always aspired to compatibility
9055 # with the native linker. However, as the warning in the GNU ld
9056 # block says, versions before 2.19.5* couldn't really create working
9057 # shared libraries, regardless of the interface used.
9058 case `$LD -v 2>&1` in
9059 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9060 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9061 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9062 *)
9063 lt_use_gnu_ld_interface=yes
9064 ;;
9065 esac
9066 ;;
9067 *)
9068 lt_use_gnu_ld_interface=yes
9069 ;;
9070 esac
9071 fi
9072
9073 if test "$lt_use_gnu_ld_interface" = yes; then
9074 # If archive_cmds runs LD, not CC, wlarc should be empty
9075 wlarc='${wl}'
9076
9077 # Set some defaults for GNU ld with shared library support. These
9078 # are reset later if shared libraries are not supported. Putting them
9079 # here allows them to be overridden if necessary.
9080 runpath_var=LD_RUN_PATH
9081 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9082 export_dynamic_flag_spec='${wl}--export-dynamic'
9083 # ancient GNU ld didn't support --whole-archive et. al.
9084 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9085 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9086 else
9087 whole_archive_flag_spec=
9088 fi
9089 supports_anon_versioning=no
9090 case `$LD -v 2>&1` in
9091 *GNU\ gold*) supports_anon_versioning=yes ;;
9092 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9093 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9094 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9095 *\ 2.11.*) ;; # other 2.11 versions
9096 *) supports_anon_versioning=yes ;;
9097 esac
9098
9099 # See if GNU ld supports shared libraries.
9100 case $host_os in
9101 aix[3-9]*)
9102 # On AIX/PPC, the GNU linker is very broken
9103 if test "$host_cpu" != ia64; then
9104 ld_shlibs=no
9105 cat <<_LT_EOF 1>&2
9106
9107 *** Warning: the GNU linker, at least up to release 2.19, is reported
9108 *** to be unable to reliably create shared libraries on AIX.
9109 *** Therefore, libtool is disabling shared libraries support. If you
9110 *** really care for shared libraries, you may want to install binutils
9111 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9112 *** You will then need to restart the configuration process.
9113
9114 _LT_EOF
9115 fi
9116 ;;
9117
9118 amigaos*)
9119 case $host_cpu in
9120 powerpc)
9121 # see comment about AmigaOS4 .so support
9122 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9123 archive_expsym_cmds=''
9124 ;;
9125 m68k)
9126 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)'
9127 hardcode_libdir_flag_spec='-L$libdir'
9128 hardcode_minus_L=yes
9129 ;;
9130 esac
9131 ;;
9132
9133 beos*)
9134 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9135 allow_undefined_flag=unsupported
9136 # Joseph Beckenbach <[email protected]> says some releases of gcc
9137 # support --undefined. This deserves some investigation. FIXME
9138 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9139 else
9140 ld_shlibs=no
9141 fi
9142 ;;
9143
9144 cygwin* | mingw* | pw32* | cegcc*)
9145 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9146 # as there is no search path for DLLs.
9147 hardcode_libdir_flag_spec='-L$libdir'
9148 export_dynamic_flag_spec='${wl}--export-all-symbols'
9149 allow_undefined_flag=unsupported
9150 always_export_symbols=no
9151 enable_shared_with_static_runtimes=yes
9152 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'
9153 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9154
9155 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9156 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9157 # If the export-symbols file already is a .def file (1st line
9158 # is EXPORTS), use it as is; otherwise, prepend...
9159 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9160 cp $export_symbols $output_objdir/$soname.def;
9161 else
9162 echo EXPORTS > $output_objdir/$soname.def;
9163 cat $export_symbols >> $output_objdir/$soname.def;
9164 fi~
9165 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9166 else
9167 ld_shlibs=no
9168 fi
9169 ;;
9170
9171 haiku*)
9172 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9173 link_all_deplibs=yes
9174 ;;
9175
9176 interix[3-9]*)
9177 hardcode_direct=no
9178 hardcode_shlibpath_var=no
9179 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9180 export_dynamic_flag_spec='${wl}-E'
9181 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9182 # Instead, shared libraries are loaded at an image base (0x10000000 by
9183 # default) and relocated if they conflict, which is a slow very memory
9184 # consuming and fragmenting process. To avoid this, we pick a random,
9185 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9186 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9187 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9188 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'
9189 ;;
9190
9191 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9192 tmp_diet=no
9193 if test "$host_os" = linux-dietlibc; then
9194 case $cc_basename in
9195 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9196 esac
9197 fi
9198 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9199 && test "$tmp_diet" = no
9200 then
9201 tmp_addflag=' $pic_flag'
9202 tmp_sharedflag='-shared'
9203 case $cc_basename,$host_cpu in
9204 pgcc*) # Portland Group C compiler
9205 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'
9206 tmp_addflag=' $pic_flag'
9207 ;;
9208 pgf77* | pgf90* | pgf95* | pgfortran*)
9209 # Portland Group f77 and f90 compilers
9210 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'
9211 tmp_addflag=' $pic_flag -Mnomain' ;;
9212 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9213 tmp_addflag=' -i_dynamic' ;;
9214 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9215 tmp_addflag=' -i_dynamic -nofor_main' ;;
9216 ifc* | ifort*) # Intel Fortran compiler
9217 tmp_addflag=' -nofor_main' ;;
9218 lf95*) # Lahey Fortran 8.1
9219 whole_archive_flag_spec=
9220 tmp_sharedflag='--shared' ;;
9221 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9222 tmp_sharedflag='-qmkshrobj'
9223 tmp_addflag= ;;
9224 nvcc*) # Cuda Compiler Driver 2.2
9225 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'
9226 compiler_needs_object=yes
9227 ;;
9228 esac
9229 case `$CC -V 2>&1 | sed 5q` in
9230 *Sun\ C*) # Sun C 5.9
9231 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'
9232 compiler_needs_object=yes
9233 tmp_sharedflag='-G' ;;
9234 *Sun\ F*) # Sun Fortran 8.3
9235 tmp_sharedflag='-G' ;;
9236 esac
9237 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238
9239 if test "x$supports_anon_versioning" = xyes; then
9240 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9241 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9242 echo "local: *; };" >> $output_objdir/$libname.ver~
9243 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9244 fi
9245
9246 case $cc_basename in
9247 xlf* | bgf* | bgxlf* | mpixlf*)
9248 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9249 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9250 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9251 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9252 if test "x$supports_anon_versioning" = xyes; then
9253 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9254 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9255 echo "local: *; };" >> $output_objdir/$libname.ver~
9256 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9257 fi
9258 ;;
9259 esac
9260 else
9261 ld_shlibs=no
9262 fi
9263 ;;
9264
9265 netbsd* | netbsdelf*-gnu)
9266 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9267 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9268 wlarc=
9269 else
9270 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9272 fi
9273 ;;
9274
9275 solaris*)
9276 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9279
9280 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9281 *** create shared libraries on Solaris systems. Therefore, libtool
9282 *** is disabling shared libraries support. We urge you to upgrade GNU
9283 *** binutils to release 2.9.1 or newer. Another option is to modify
9284 *** your PATH or compiler configuration so that the native linker is
9285 *** used, and then restart.
9286
9287 _LT_EOF
9288 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9289 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9291 else
9292 ld_shlibs=no
9293 fi
9294 ;;
9295
9296 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9297 case `$LD -v 2>&1` in
9298 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9299 ld_shlibs=no
9300 cat <<_LT_EOF 1>&2
9301
9302 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9303 *** reliably create shared libraries on SCO systems. Therefore, libtool
9304 *** is disabling shared libraries support. We urge you to upgrade GNU
9305 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9306 *** your PATH or compiler configuration so that the native linker is
9307 *** used, and then restart.
9308
9309 _LT_EOF
9310 ;;
9311 *)
9312 # For security reasons, it is highly recommended that you always
9313 # use absolute paths for naming shared libraries, and exclude the
9314 # DT_RUNPATH tag from executables and libraries. But doing so
9315 # requires that you compile everything twice, which is a pain.
9316 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9317 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9320 else
9321 ld_shlibs=no
9322 fi
9323 ;;
9324 esac
9325 ;;
9326
9327 sunos4*)
9328 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9329 wlarc=
9330 hardcode_direct=yes
9331 hardcode_shlibpath_var=no
9332 ;;
9333
9334 *)
9335 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9336 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9338 else
9339 ld_shlibs=no
9340 fi
9341 ;;
9342 esac
9343
9344 if test "$ld_shlibs" = no; then
9345 runpath_var=
9346 hardcode_libdir_flag_spec=
9347 export_dynamic_flag_spec=
9348 whole_archive_flag_spec=
9349 fi
9350 else
9351 # PORTME fill in a description of your system's linker (not GNU ld)
9352 case $host_os in
9353 aix3*)
9354 allow_undefined_flag=unsupported
9355 always_export_symbols=yes
9356 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'
9357 # Note: this linker hardcodes the directories in LIBPATH if there
9358 # are no directories specified by -L.
9359 hardcode_minus_L=yes
9360 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9361 # Neither direct hardcoding nor static linking is supported with a
9362 # broken collect2.
9363 hardcode_direct=unsupported
9364 fi
9365 ;;
9366
9367 aix[4-9]*)
9368 if test "$host_cpu" = ia64; then
9369 # On IA64, the linker does run time linking by default, so we don't
9370 # have to do anything special.
9371 aix_use_runtimelinking=no
9372 exp_sym_flag='-Bexport'
9373 no_entry_flag=""
9374 else
9375 # If we're using GNU nm, then we don't want the "-C" option.
9376 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9377 # Also, AIX nm treats weak defined symbols like other global
9378 # defined symbols, whereas GNU nm marks them as "W".
9379 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9380 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'
9381 else
9382 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'
9383 fi
9384 aix_use_runtimelinking=no
9385
9386 # Test if we are trying to use run time linking or normal
9387 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9388 # need to do runtime linking.
9389 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9390 for ld_flag in $LDFLAGS; do
9391 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9392 aix_use_runtimelinking=yes
9393 break
9394 fi
9395 done
9396 ;;
9397 esac
9398
9399 exp_sym_flag='-bexport'
9400 no_entry_flag='-bnoentry'
9401 fi
9402
9403 # When large executables or shared objects are built, AIX ld can
9404 # have problems creating the table of contents. If linking a library
9405 # or program results in "error TOC overflow" add -mminimal-toc to
9406 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9407 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9408
9409 archive_cmds=''
9410 hardcode_direct=yes
9411 hardcode_direct_absolute=yes
9412 hardcode_libdir_separator=':'
9413 link_all_deplibs=yes
9414 file_list_spec='${wl}-f,'
9415
9416 if test "$GCC" = yes; then
9417 case $host_os in aix4.[012]|aix4.[012].*)
9418 # We only want to do this on AIX 4.2 and lower, the check
9419 # below for broken collect2 doesn't work under 4.3+
9420 collect2name=`${CC} -print-prog-name=collect2`
9421 if test -f "$collect2name" &&
9422 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9423 then
9424 # We have reworked collect2
9425 :
9426 else
9427 # We have old collect2
9428 hardcode_direct=unsupported
9429 # It fails to find uninstalled libraries when the uninstalled
9430 # path is not listed in the libpath. Setting hardcode_minus_L
9431 # to unsupported forces relinking
9432 hardcode_minus_L=yes
9433 hardcode_libdir_flag_spec='-L$libdir'
9434 hardcode_libdir_separator=
9435 fi
9436 ;;
9437 esac
9438 shared_flag='-shared'
9439 if test "$aix_use_runtimelinking" = yes; then
9440 shared_flag="$shared_flag "'${wl}-G'
9441 fi
9442 link_all_deplibs=no
9443 else
9444 # not using gcc
9445 if test "$host_cpu" = ia64; then
9446 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9447 # chokes on -Wl,-G. The following line is correct:
9448 shared_flag='-G'
9449 else
9450 if test "$aix_use_runtimelinking" = yes; then
9451 shared_flag='${wl}-G'
9452 else
9453 shared_flag='${wl}-bM:SRE'
9454 fi
9455 fi
9456 fi
9457
9458 export_dynamic_flag_spec='${wl}-bexpall'
9459 # It seems that -bexpall does not export symbols beginning with
9460 # underscore (_), so it is better to generate a list of symbols to export.
9461 always_export_symbols=yes
9462 if test "$aix_use_runtimelinking" = yes; then
9463 # Warning - without using the other runtime loading flags (-brtl),
9464 # -berok will link without error, but may produce a broken library.
9465 allow_undefined_flag='-berok'
9466 # Determine the default libpath from the value encoded in an
9467 # empty executable.
9468 if test "${lt_cv_aix_libpath+set}" = set; then
9469 aix_libpath=$lt_cv_aix_libpath
9470 else
9471 if ${lt_cv_aix_libpath_+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476
9477 int
9478 main ()
9479 {
9480
9481 ;
9482 return 0;
9483 }
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486
9487 lt_aix_libpath_sed='
9488 /Import File Strings/,/^$/ {
9489 /^0/ {
9490 s/^0 *\([^ ]*\) *$/\1/
9491 p
9492 }
9493 }'
9494 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9495 # Check for a 64-bit object if we didn't find anything.
9496 if test -z "$lt_cv_aix_libpath_"; then
9497 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9498 fi
9499 fi
9500 rm -f core conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9502 if test -z "$lt_cv_aix_libpath_"; then
9503 lt_cv_aix_libpath_="/usr/lib:/lib"
9504 fi
9505
9506 fi
9507
9508 aix_libpath=$lt_cv_aix_libpath_
9509 fi
9510
9511 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9512 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"
9513 else
9514 if test "$host_cpu" = ia64; then
9515 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9516 allow_undefined_flag="-z nodefs"
9517 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"
9518 else
9519 # Determine the default libpath from the value encoded in an
9520 # empty executable.
9521 if test "${lt_cv_aix_libpath+set}" = set; then
9522 aix_libpath=$lt_cv_aix_libpath
9523 else
9524 if ${lt_cv_aix_libpath_+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9529
9530 int
9531 main ()
9532 {
9533
9534 ;
9535 return 0;
9536 }
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9539
9540 lt_aix_libpath_sed='
9541 /Import File Strings/,/^$/ {
9542 /^0/ {
9543 s/^0 *\([^ ]*\) *$/\1/
9544 p
9545 }
9546 }'
9547 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9548 # Check for a 64-bit object if we didn't find anything.
9549 if test -z "$lt_cv_aix_libpath_"; then
9550 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 fi
9552 fi
9553 rm -f core conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9555 if test -z "$lt_cv_aix_libpath_"; then
9556 lt_cv_aix_libpath_="/usr/lib:/lib"
9557 fi
9558
9559 fi
9560
9561 aix_libpath=$lt_cv_aix_libpath_
9562 fi
9563
9564 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9565 # Warning - without using the other run time loading flags,
9566 # -berok will link without error, but may produce a broken library.
9567 no_undefined_flag=' ${wl}-bernotok'
9568 allow_undefined_flag=' ${wl}-berok'
9569 if test "$with_gnu_ld" = yes; then
9570 # We only use this code for GNU lds that support --whole-archive.
9571 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9572 else
9573 # Exported symbols can be pulled into shared objects from archives
9574 whole_archive_flag_spec='$convenience'
9575 fi
9576 archive_cmds_need_lc=yes
9577 # This is similar to how AIX traditionally builds its shared libraries.
9578 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'
9579 fi
9580 fi
9581 ;;
9582
9583 amigaos*)
9584 case $host_cpu in
9585 powerpc)
9586 # see comment about AmigaOS4 .so support
9587 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9588 archive_expsym_cmds=''
9589 ;;
9590 m68k)
9591 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)'
9592 hardcode_libdir_flag_spec='-L$libdir'
9593 hardcode_minus_L=yes
9594 ;;
9595 esac
9596 ;;
9597
9598 bsdi[45]*)
9599 export_dynamic_flag_spec=-rdynamic
9600 ;;
9601
9602 cygwin* | mingw* | pw32* | cegcc*)
9603 # When not using gcc, we currently assume that we are using
9604 # Microsoft Visual C++.
9605 # hardcode_libdir_flag_spec is actually meaningless, as there is
9606 # no search path for DLLs.
9607 case $cc_basename in
9608 cl*)
9609 # Native MSVC
9610 hardcode_libdir_flag_spec=' '
9611 allow_undefined_flag=unsupported
9612 always_export_symbols=yes
9613 file_list_spec='@'
9614 # Tell ltmain to make .lib files, not .a files.
9615 libext=lib
9616 # Tell ltmain to make .dll files, not .so files.
9617 shrext_cmds=".dll"
9618 # FIXME: Setting linknames here is a bad hack.
9619 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9620 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9621 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9622 else
9623 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9624 fi~
9625 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9626 linknames='
9627 # The linker will not automatically build a static lib if we build a DLL.
9628 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9629 enable_shared_with_static_runtimes=yes
9630 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9631 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9632 # Don't use ranlib
9633 old_postinstall_cmds='chmod 644 $oldlib'
9634 postlink_cmds='lt_outputfile="@OUTPUT@"~
9635 lt_tool_outputfile="@TOOL_OUTPUT@"~
9636 case $lt_outputfile in
9637 *.exe|*.EXE) ;;
9638 *)
9639 lt_outputfile="$lt_outputfile.exe"
9640 lt_tool_outputfile="$lt_tool_outputfile.exe"
9641 ;;
9642 esac~
9643 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9644 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9645 $RM "$lt_outputfile.manifest";
9646 fi'
9647 ;;
9648 *)
9649 # Assume MSVC wrapper
9650 hardcode_libdir_flag_spec=' '
9651 allow_undefined_flag=unsupported
9652 # Tell ltmain to make .lib files, not .a files.
9653 libext=lib
9654 # Tell ltmain to make .dll files, not .so files.
9655 shrext_cmds=".dll"
9656 # FIXME: Setting linknames here is a bad hack.
9657 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9658 # The linker will automatically build a .lib file if we build a DLL.
9659 old_archive_from_new_cmds='true'
9660 # FIXME: Should let the user specify the lib program.
9661 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9662 enable_shared_with_static_runtimes=yes
9663 ;;
9664 esac
9665 ;;
9666
9667 darwin* | rhapsody*)
9668
9669
9670 archive_cmds_need_lc=no
9671 hardcode_direct=no
9672 hardcode_automatic=yes
9673 hardcode_shlibpath_var=unsupported
9674 if test "$lt_cv_ld_force_load" = "yes"; then
9675 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\"`'
9676
9677 else
9678 whole_archive_flag_spec=''
9679 fi
9680 link_all_deplibs=yes
9681 allow_undefined_flag="$_lt_dar_allow_undefined"
9682 case $cc_basename in
9683 ifort*) _lt_dar_can_shared=yes ;;
9684 *) _lt_dar_can_shared=$GCC ;;
9685 esac
9686 if test "$_lt_dar_can_shared" = "yes"; then
9687 output_verbose_link_cmd=func_echo_all
9688 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9689 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9690 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}"
9691 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}"
9692
9693 else
9694 ld_shlibs=no
9695 fi
9696
9697 ;;
9698
9699 dgux*)
9700 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9701 hardcode_libdir_flag_spec='-L$libdir'
9702 hardcode_shlibpath_var=no
9703 ;;
9704
9705 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9706 # support. Future versions do this automatically, but an explicit c++rt0.o
9707 # does not break anything, and helps significantly (at the cost of a little
9708 # extra space).
9709 freebsd2.2*)
9710 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9711 hardcode_libdir_flag_spec='-R$libdir'
9712 hardcode_direct=yes
9713 hardcode_shlibpath_var=no
9714 ;;
9715
9716 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9717 freebsd2.*)
9718 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9719 hardcode_direct=yes
9720 hardcode_minus_L=yes
9721 hardcode_shlibpath_var=no
9722 ;;
9723
9724 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9725 freebsd* | dragonfly*)
9726 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9727 hardcode_libdir_flag_spec='-R$libdir'
9728 hardcode_direct=yes
9729 hardcode_shlibpath_var=no
9730 ;;
9731
9732 hpux9*)
9733 if test "$GCC" = yes; then
9734 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'
9735 else
9736 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'
9737 fi
9738 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9739 hardcode_libdir_separator=:
9740 hardcode_direct=yes
9741
9742 # hardcode_minus_L: Not really in the search PATH,
9743 # but as the default location of the library.
9744 hardcode_minus_L=yes
9745 export_dynamic_flag_spec='${wl}-E'
9746 ;;
9747
9748 hpux10*)
9749 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9750 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9751 else
9752 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9753 fi
9754 if test "$with_gnu_ld" = no; then
9755 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9756 hardcode_libdir_separator=:
9757 hardcode_direct=yes
9758 hardcode_direct_absolute=yes
9759 export_dynamic_flag_spec='${wl}-E'
9760 # hardcode_minus_L: Not really in the search PATH,
9761 # but as the default location of the library.
9762 hardcode_minus_L=yes
9763 fi
9764 ;;
9765
9766 hpux11*)
9767 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9768 case $host_cpu in
9769 hppa*64*)
9770 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 ;;
9772 ia64*)
9773 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9774 ;;
9775 *)
9776 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 ;;
9778 esac
9779 else
9780 case $host_cpu in
9781 hppa*64*)
9782 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9783 ;;
9784 ia64*)
9785 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9786 ;;
9787 *)
9788
9789 # Older versions of the 11.00 compiler do not understand -b yet
9790 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9792 $as_echo_n "checking if $CC understands -b... " >&6; }
9793 if ${lt_cv_prog_compiler__b+:} false; then :
9794 $as_echo_n "(cached) " >&6
9795 else
9796 lt_cv_prog_compiler__b=no
9797 save_LDFLAGS="$LDFLAGS"
9798 LDFLAGS="$LDFLAGS -b"
9799 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9800 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9801 # The linker can only warn and ignore the option if not recognized
9802 # So say no if there are warnings
9803 if test -s conftest.err; then
9804 # Append any errors to the config.log.
9805 cat conftest.err 1>&5
9806 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9807 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9808 if diff conftest.exp conftest.er2 >/dev/null; then
9809 lt_cv_prog_compiler__b=yes
9810 fi
9811 else
9812 lt_cv_prog_compiler__b=yes
9813 fi
9814 fi
9815 $RM -r conftest*
9816 LDFLAGS="$save_LDFLAGS"
9817
9818 fi
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9820 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9821
9822 if test x"$lt_cv_prog_compiler__b" = xyes; then
9823 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824 else
9825 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9826 fi
9827
9828 ;;
9829 esac
9830 fi
9831 if test "$with_gnu_ld" = no; then
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834
9835 case $host_cpu in
9836 hppa*64*|ia64*)
9837 hardcode_direct=no
9838 hardcode_shlibpath_var=no
9839 ;;
9840 *)
9841 hardcode_direct=yes
9842 hardcode_direct_absolute=yes
9843 export_dynamic_flag_spec='${wl}-E'
9844
9845 # hardcode_minus_L: Not really in the search PATH,
9846 # but as the default location of the library.
9847 hardcode_minus_L=yes
9848 ;;
9849 esac
9850 fi
9851 ;;
9852
9853 irix5* | irix6* | nonstopux*)
9854 if test "$GCC" = yes; then
9855 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'
9856 # Try to use the -exported_symbol ld option, if it does not
9857 # work, assume that -exports_file does not work either and
9858 # implicitly export all symbols.
9859 # This should be the same for all languages, so no per-tag cache variable.
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9861 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9862 if ${lt_cv_irix_exported_symbol+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 save_LDFLAGS="$LDFLAGS"
9866 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9869 int foo (void) { return 0; }
9870 _ACEOF
9871 if ac_fn_c_try_link "$LINENO"; then :
9872 lt_cv_irix_exported_symbol=yes
9873 else
9874 lt_cv_irix_exported_symbol=no
9875 fi
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LDFLAGS="$save_LDFLAGS"
9879 fi
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9881 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9882 if test "$lt_cv_irix_exported_symbol" = yes; then
9883 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'
9884 fi
9885 else
9886 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'
9887 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'
9888 fi
9889 archive_cmds_need_lc='no'
9890 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9891 hardcode_libdir_separator=:
9892 inherit_rpath=yes
9893 link_all_deplibs=yes
9894 ;;
9895
9896 netbsd* | netbsdelf*-gnu)
9897 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9898 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9899 else
9900 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9901 fi
9902 hardcode_libdir_flag_spec='-R$libdir'
9903 hardcode_direct=yes
9904 hardcode_shlibpath_var=no
9905 ;;
9906
9907 newsos6)
9908 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_direct=yes
9910 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9911 hardcode_libdir_separator=:
9912 hardcode_shlibpath_var=no
9913 ;;
9914
9915 *nto* | *qnx*)
9916 ;;
9917
9918 openbsd*)
9919 if test -f /usr/libexec/ld.so; then
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9922 hardcode_direct_absolute=yes
9923 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9924 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9925 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9926 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9927 export_dynamic_flag_spec='${wl}-E'
9928 else
9929 case $host_os in
9930 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9931 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9932 hardcode_libdir_flag_spec='-R$libdir'
9933 ;;
9934 *)
9935 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9936 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9937 ;;
9938 esac
9939 fi
9940 else
9941 ld_shlibs=no
9942 fi
9943 ;;
9944
9945 os2*)
9946 hardcode_libdir_flag_spec='-L$libdir'
9947 hardcode_minus_L=yes
9948 allow_undefined_flag=unsupported
9949 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'
9950 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9951 ;;
9952
9953 osf3*)
9954 if test "$GCC" = yes; then
9955 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9956 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'
9957 else
9958 allow_undefined_flag=' -expect_unresolved \*'
9959 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'
9960 fi
9961 archive_cmds_need_lc='no'
9962 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9963 hardcode_libdir_separator=:
9964 ;;
9965
9966 osf4* | osf5*) # as osf3* with the addition of -msym flag
9967 if test "$GCC" = yes; then
9968 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9969 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'
9970 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9971 else
9972 allow_undefined_flag=' -expect_unresolved \*'
9973 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'
9974 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~
9975 $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'
9976
9977 # Both c and cxx compiler support -rpath directly
9978 hardcode_libdir_flag_spec='-rpath $libdir'
9979 fi
9980 archive_cmds_need_lc='no'
9981 hardcode_libdir_separator=:
9982 ;;
9983
9984 solaris*)
9985 no_undefined_flag=' -z defs'
9986 if test "$GCC" = yes; then
9987 wlarc='${wl}'
9988 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9989 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9990 $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'
9991 else
9992 case `$CC -V 2>&1` in
9993 *"Compilers 5.0"*)
9994 wlarc=''
9995 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9997 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9998 ;;
9999 *)
10000 wlarc='${wl}'
10001 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10002 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10003 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10004 ;;
10005 esac
10006 fi
10007 hardcode_libdir_flag_spec='-R$libdir'
10008 hardcode_shlibpath_var=no
10009 case $host_os in
10010 solaris2.[0-5] | solaris2.[0-5].*) ;;
10011 *)
10012 # The compiler driver will combine and reorder linker options,
10013 # but understands `-z linker_flag'. GCC discards it without `$wl',
10014 # but is careful enough not to reorder.
10015 # Supported since Solaris 2.6 (maybe 2.5.1?)
10016 if test "$GCC" = yes; then
10017 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10018 else
10019 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10020 fi
10021 ;;
10022 esac
10023 link_all_deplibs=yes
10024 ;;
10025
10026 sunos4*)
10027 if test "x$host_vendor" = xsequent; then
10028 # Use $CC to link under sequent, because it throws in some extra .o
10029 # files that make .init and .fini sections work.
10030 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10031 else
10032 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10033 fi
10034 hardcode_libdir_flag_spec='-L$libdir'
10035 hardcode_direct=yes
10036 hardcode_minus_L=yes
10037 hardcode_shlibpath_var=no
10038 ;;
10039
10040 sysv4)
10041 case $host_vendor in
10042 sni)
10043 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044 hardcode_direct=yes # is this really true???
10045 ;;
10046 siemens)
10047 ## LD is ld it makes a PLAMLIB
10048 ## CC just makes a GrossModule.
10049 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10050 reload_cmds='$CC -r -o $output$reload_objs'
10051 hardcode_direct=no
10052 ;;
10053 motorola)
10054 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10056 ;;
10057 esac
10058 runpath_var='LD_RUN_PATH'
10059 hardcode_shlibpath_var=no
10060 ;;
10061
10062 sysv4.3*)
10063 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_shlibpath_var=no
10065 export_dynamic_flag_spec='-Bexport'
10066 ;;
10067
10068 sysv4*MP*)
10069 if test -d /usr/nec; then
10070 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10071 hardcode_shlibpath_var=no
10072 runpath_var=LD_RUN_PATH
10073 hardcode_runpath_var=yes
10074 ld_shlibs=yes
10075 fi
10076 ;;
10077
10078 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10079 no_undefined_flag='${wl}-z,text'
10080 archive_cmds_need_lc=no
10081 hardcode_shlibpath_var=no
10082 runpath_var='LD_RUN_PATH'
10083
10084 if test "$GCC" = yes; then
10085 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10086 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 else
10088 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 fi
10091 ;;
10092
10093 sysv5* | sco3.2v5* | sco5v6*)
10094 # Note: We can NOT use -z defs as we might desire, because we do not
10095 # link with -lc, and that would cause any symbols used from libc to
10096 # always be unresolved, which means just about no library would
10097 # ever link correctly. If we're not using GNU ld we use -z text
10098 # though, which does catch some bad symbols but isn't as heavy-handed
10099 # as -z defs.
10100 no_undefined_flag='${wl}-z,text'
10101 allow_undefined_flag='${wl}-z,nodefs'
10102 archive_cmds_need_lc=no
10103 hardcode_shlibpath_var=no
10104 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10105 hardcode_libdir_separator=':'
10106 link_all_deplibs=yes
10107 export_dynamic_flag_spec='${wl}-Bexport'
10108 runpath_var='LD_RUN_PATH'
10109
10110 if test "$GCC" = yes; then
10111 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113 else
10114 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 fi
10117 ;;
10118
10119 uts4*)
10120 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_libdir_flag_spec='-L$libdir'
10122 hardcode_shlibpath_var=no
10123 ;;
10124
10125 *)
10126 ld_shlibs=no
10127 ;;
10128 esac
10129
10130 if test x$host_vendor = xsni; then
10131 case $host in
10132 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10133 export_dynamic_flag_spec='${wl}-Blargedynsym'
10134 ;;
10135 esac
10136 fi
10137 fi
10138
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10140 $as_echo "$ld_shlibs" >&6; }
10141 test "$ld_shlibs" = no && can_build_shared=no
10142
10143 with_gnu_ld=$with_gnu_ld
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159 #
10160 # Do we need to explicitly link libc?
10161 #
10162 case "x$archive_cmds_need_lc" in
10163 x|xyes)
10164 # Assume -lc should be added
10165 archive_cmds_need_lc=yes
10166
10167 if test "$enable_shared" = yes && test "$GCC" = yes; then
10168 case $archive_cmds in
10169 *'~'*)
10170 # FIXME: we may have to deal with multi-command sequences.
10171 ;;
10172 '$CC '*)
10173 # Test whether the compiler implicitly links with -lc since on some
10174 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10175 # to ld, don't add -lc before -lgcc.
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10177 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10178 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 $RM conftest*
10182 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10183
10184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10185 (eval $ac_compile) 2>&5
10186 ac_status=$?
10187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10188 test $ac_status = 0; } 2>conftest.err; then
10189 soname=conftest
10190 lib=conftest
10191 libobjs=conftest.$ac_objext
10192 deplibs=
10193 wl=$lt_prog_compiler_wl
10194 pic_flag=$lt_prog_compiler_pic
10195 compiler_flags=-v
10196 linker_flags=-v
10197 verstring=
10198 output_objdir=.
10199 libname=conftest
10200 lt_save_allow_undefined_flag=$allow_undefined_flag
10201 allow_undefined_flag=
10202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10203 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10204 ac_status=$?
10205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10206 test $ac_status = 0; }
10207 then
10208 lt_cv_archive_cmds_need_lc=no
10209 else
10210 lt_cv_archive_cmds_need_lc=yes
10211 fi
10212 allow_undefined_flag=$lt_save_allow_undefined_flag
10213 else
10214 cat conftest.err 1>&5
10215 fi
10216 $RM conftest*
10217
10218 fi
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10220 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10221 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10222 ;;
10223 esac
10224 fi
10225 ;;
10226 esac
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10380 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10381
10382 if test "$GCC" = yes; then
10383 case $host_os in
10384 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10385 *) lt_awk_arg="/^libraries:/" ;;
10386 esac
10387 case $host_os in
10388 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10389 *) lt_sed_strip_eq="s,=/,/,g" ;;
10390 esac
10391 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10392 case $lt_search_path_spec in
10393 *\;*)
10394 # if the path contains ";" then we assume it to be the separator
10395 # otherwise default to the standard path separator (i.e. ":") - it is
10396 # assumed that no part of a normal pathname contains ";" but that should
10397 # okay in the real world where ";" in dirpaths is itself problematic.
10398 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10399 ;;
10400 *)
10401 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10402 ;;
10403 esac
10404 # Ok, now we have the path, separated by spaces, we can step through it
10405 # and add multilib dir if necessary.
10406 lt_tmp_lt_search_path_spec=
10407 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10408 for lt_sys_path in $lt_search_path_spec; do
10409 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10410 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10411 else
10412 test -d "$lt_sys_path" && \
10413 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10414 fi
10415 done
10416 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10417 BEGIN {RS=" "; FS="/|\n";} {
10418 lt_foo="";
10419 lt_count=0;
10420 for (lt_i = NF; lt_i > 0; lt_i--) {
10421 if ($lt_i != "" && $lt_i != ".") {
10422 if ($lt_i == "..") {
10423 lt_count++;
10424 } else {
10425 if (lt_count == 0) {
10426 lt_foo="/" $lt_i lt_foo;
10427 } else {
10428 lt_count--;
10429 }
10430 }
10431 }
10432 }
10433 if (lt_foo != "") { lt_freq[lt_foo]++; }
10434 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10435 }'`
10436 # AWK program above erroneously prepends '/' to C:/dos/paths
10437 # for these hosts.
10438 case $host_os in
10439 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10440 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10441 esac
10442 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10443 else
10444 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10445 fi
10446 library_names_spec=
10447 libname_spec='lib$name'
10448 soname_spec=
10449 shrext_cmds=".so"
10450 postinstall_cmds=
10451 postuninstall_cmds=
10452 finish_cmds=
10453 finish_eval=
10454 shlibpath_var=
10455 shlibpath_overrides_runpath=unknown
10456 version_type=none
10457 dynamic_linker="$host_os ld.so"
10458 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10459 need_lib_prefix=unknown
10460 hardcode_into_libs=no
10461
10462 # when you set need_version to no, make sure it does not cause -set_version
10463 # flags to be left without arguments
10464 need_version=unknown
10465
10466 case $host_os in
10467 aix3*)
10468 version_type=linux # correct to gnu/linux during the next big refactor
10469 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10470 shlibpath_var=LIBPATH
10471
10472 # AIX 3 has no versioning support, so we append a major version to the name.
10473 soname_spec='${libname}${release}${shared_ext}$major'
10474 ;;
10475
10476 aix[4-9]*)
10477 version_type=linux # correct to gnu/linux during the next big refactor
10478 need_lib_prefix=no
10479 need_version=no
10480 hardcode_into_libs=yes
10481 if test "$host_cpu" = ia64; then
10482 # AIX 5 supports IA64
10483 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10484 shlibpath_var=LD_LIBRARY_PATH
10485 else
10486 # With GCC up to 2.95.x, collect2 would create an import file
10487 # for dependence libraries. The import file would start with
10488 # the line `#! .'. This would cause the generated library to
10489 # depend on `.', always an invalid library. This was fixed in
10490 # development snapshots of GCC prior to 3.0.
10491 case $host_os in
10492 aix4 | aix4.[01] | aix4.[01].*)
10493 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10494 echo ' yes '
10495 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10496 :
10497 else
10498 can_build_shared=no
10499 fi
10500 ;;
10501 esac
10502 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10503 # soname into executable. Probably we can add versioning support to
10504 # collect2, so additional links can be useful in future.
10505 if test "$aix_use_runtimelinking" = yes; then
10506 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10507 # instead of lib<name>.a to let people know that these are not
10508 # typical AIX shared libraries.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 else
10511 # We preserve .a as extension for shared libraries through AIX4.2
10512 # and later when we are not doing run time linking.
10513 library_names_spec='${libname}${release}.a $libname.a'
10514 soname_spec='${libname}${release}${shared_ext}$major'
10515 fi
10516 shlibpath_var=LIBPATH
10517 fi
10518 ;;
10519
10520 amigaos*)
10521 case $host_cpu in
10522 powerpc)
10523 # Since July 2007 AmigaOS4 officially supports .so libraries.
10524 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 ;;
10527 m68k)
10528 library_names_spec='$libname.ixlibrary $libname.a'
10529 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10530 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'
10531 ;;
10532 esac
10533 ;;
10534
10535 beos*)
10536 library_names_spec='${libname}${shared_ext}'
10537 dynamic_linker="$host_os ld.so"
10538 shlibpath_var=LIBRARY_PATH
10539 ;;
10540
10541 bsdi[45]*)
10542 version_type=linux # correct to gnu/linux during the next big refactor
10543 need_version=no
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10547 shlibpath_var=LD_LIBRARY_PATH
10548 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10549 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10550 # the default ld.so.conf also contains /usr/contrib/lib and
10551 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10552 # libtool to hard-code these into programs
10553 ;;
10554
10555 cygwin* | mingw* | pw32* | cegcc*)
10556 version_type=windows
10557 shrext_cmds=".dll"
10558 need_version=no
10559 need_lib_prefix=no
10560
10561 case $GCC,$cc_basename in
10562 yes,*)
10563 # gcc
10564 library_names_spec='$libname.dll.a'
10565 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10566 postinstall_cmds='base_file=`basename \${file}`~
10567 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10568 dldir=$destdir/`dirname \$dlpath`~
10569 test -d \$dldir || mkdir -p \$dldir~
10570 $install_prog $dir/$dlname \$dldir/$dlname~
10571 chmod a+x \$dldir/$dlname~
10572 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10573 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10574 fi'
10575 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10576 dlpath=$dir/\$dldll~
10577 $RM \$dlpath'
10578 shlibpath_overrides_runpath=yes
10579
10580 case $host_os in
10581 cygwin*)
10582 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10583 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584
10585 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10586 ;;
10587 mingw* | cegcc*)
10588 # MinGW DLLs use traditional 'lib' prefix
10589 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10590 ;;
10591 pw32*)
10592 # pw32 DLLs use 'pw' prefix rather than 'lib'
10593 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10594 ;;
10595 esac
10596 dynamic_linker='Win32 ld.exe'
10597 ;;
10598
10599 *,cl*)
10600 # Native MSVC
10601 libname_spec='$name'
10602 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10603 library_names_spec='${libname}.dll.lib'
10604
10605 case $build_os in
10606 mingw*)
10607 sys_lib_search_path_spec=
10608 lt_save_ifs=$IFS
10609 IFS=';'
10610 for lt_path in $LIB
10611 do
10612 IFS=$lt_save_ifs
10613 # Let DOS variable expansion print the short 8.3 style file name.
10614 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10615 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10616 done
10617 IFS=$lt_save_ifs
10618 # Convert to MSYS style.
10619 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10620 ;;
10621 cygwin*)
10622 # Convert to unix form, then to dos form, then back to unix form
10623 # but this time dos style (no spaces!) so that the unix form looks
10624 # like /cygdrive/c/PROGRA~1:/cygdr...
10625 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10626 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10627 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10628 ;;
10629 *)
10630 sys_lib_search_path_spec="$LIB"
10631 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10632 # It is most probably a Windows format PATH.
10633 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10634 else
10635 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10636 fi
10637 # FIXME: find the short name or the path components, as spaces are
10638 # common. (e.g. "Program Files" -> "PROGRA~1")
10639 ;;
10640 esac
10641
10642 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10643 postinstall_cmds='base_file=`basename \${file}`~
10644 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10645 dldir=$destdir/`dirname \$dlpath`~
10646 test -d \$dldir || mkdir -p \$dldir~
10647 $install_prog $dir/$dlname \$dldir/$dlname'
10648 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10649 dlpath=$dir/\$dldll~
10650 $RM \$dlpath'
10651 shlibpath_overrides_runpath=yes
10652 dynamic_linker='Win32 link.exe'
10653 ;;
10654
10655 *)
10656 # Assume MSVC wrapper
10657 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10658 dynamic_linker='Win32 ld.exe'
10659 ;;
10660 esac
10661 # FIXME: first we should search . and the directory the executable is in
10662 shlibpath_var=PATH
10663 ;;
10664
10665 darwin* | rhapsody*)
10666 dynamic_linker="$host_os dyld"
10667 version_type=darwin
10668 need_lib_prefix=no
10669 need_version=no
10670 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10671 soname_spec='${libname}${release}${major}$shared_ext'
10672 shlibpath_overrides_runpath=yes
10673 shlibpath_var=DYLD_LIBRARY_PATH
10674 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10675
10676 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10677 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10678 ;;
10679
10680 dgux*)
10681 version_type=linux # correct to gnu/linux during the next big refactor
10682 need_lib_prefix=no
10683 need_version=no
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10685 soname_spec='${libname}${release}${shared_ext}$major'
10686 shlibpath_var=LD_LIBRARY_PATH
10687 ;;
10688
10689 freebsd* | dragonfly*)
10690 # DragonFly does not have aout. When/if they implement a new
10691 # versioning mechanism, adjust this.
10692 if test -x /usr/bin/objformat; then
10693 objformat=`/usr/bin/objformat`
10694 else
10695 case $host_os in
10696 freebsd[23].*) objformat=aout ;;
10697 *) objformat=elf ;;
10698 esac
10699 fi
10700 version_type=freebsd-$objformat
10701 case $version_type in
10702 freebsd-elf*)
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10704 need_version=no
10705 need_lib_prefix=no
10706 ;;
10707 freebsd-*)
10708 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10709 need_version=yes
10710 ;;
10711 esac
10712 shlibpath_var=LD_LIBRARY_PATH
10713 case $host_os in
10714 freebsd2.*)
10715 shlibpath_overrides_runpath=yes
10716 ;;
10717 freebsd3.[01]* | freebsdelf3.[01]*)
10718 shlibpath_overrides_runpath=yes
10719 hardcode_into_libs=yes
10720 ;;
10721 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10722 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10723 shlibpath_overrides_runpath=no
10724 hardcode_into_libs=yes
10725 ;;
10726 *) # from 4.6 on, and DragonFly
10727 shlibpath_overrides_runpath=yes
10728 hardcode_into_libs=yes
10729 ;;
10730 esac
10731 ;;
10732
10733 haiku*)
10734 version_type=linux # correct to gnu/linux during the next big refactor
10735 need_lib_prefix=no
10736 need_version=no
10737 dynamic_linker="$host_os runtime_loader"
10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10739 soname_spec='${libname}${release}${shared_ext}$major'
10740 shlibpath_var=LIBRARY_PATH
10741 shlibpath_overrides_runpath=yes
10742 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10743 hardcode_into_libs=yes
10744 ;;
10745
10746 hpux9* | hpux10* | hpux11*)
10747 # Give a soname corresponding to the major version so that dld.sl refuses to
10748 # link against other versions.
10749 version_type=sunos
10750 need_lib_prefix=no
10751 need_version=no
10752 case $host_cpu in
10753 ia64*)
10754 shrext_cmds='.so'
10755 hardcode_into_libs=yes
10756 dynamic_linker="$host_os dld.so"
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760 soname_spec='${libname}${release}${shared_ext}$major'
10761 if test "X$HPUX_IA64_MODE" = X32; then
10762 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10763 else
10764 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10765 fi
10766 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10767 ;;
10768 hppa*64*)
10769 shrext_cmds='.sl'
10770 hardcode_into_libs=yes
10771 dynamic_linker="$host_os dld.sl"
10772 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10773 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 soname_spec='${libname}${release}${shared_ext}$major'
10776 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10777 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10778 ;;
10779 *)
10780 shrext_cmds='.sl'
10781 dynamic_linker="$host_os dld.sl"
10782 shlibpath_var=SHLIB_PATH
10783 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 ;;
10787 esac
10788 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10789 postinstall_cmds='chmod 555 $lib'
10790 # or fails outright, so override atomically:
10791 install_override_mode=555
10792 ;;
10793
10794 interix[3-9]*)
10795 version_type=linux # correct to gnu/linux during the next big refactor
10796 need_lib_prefix=no
10797 need_version=no
10798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10799 soname_spec='${libname}${release}${shared_ext}$major'
10800 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10801 shlibpath_var=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath=no
10803 hardcode_into_libs=yes
10804 ;;
10805
10806 irix5* | irix6* | nonstopux*)
10807 case $host_os in
10808 nonstopux*) version_type=nonstopux ;;
10809 *)
10810 if test "$lt_cv_prog_gnu_ld" = yes; then
10811 version_type=linux # correct to gnu/linux during the next big refactor
10812 else
10813 version_type=irix
10814 fi ;;
10815 esac
10816 need_lib_prefix=no
10817 need_version=no
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10820 case $host_os in
10821 irix5* | nonstopux*)
10822 libsuff= shlibsuff=
10823 ;;
10824 *)
10825 case $LD in # libtool.m4 will add one of these switches to LD
10826 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10827 libsuff= shlibsuff= libmagic=32-bit;;
10828 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10829 libsuff=32 shlibsuff=N32 libmagic=N32;;
10830 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10831 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10832 *) libsuff= shlibsuff= libmagic=never-match;;
10833 esac
10834 ;;
10835 esac
10836 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10837 shlibpath_overrides_runpath=no
10838 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10839 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10840 hardcode_into_libs=yes
10841 ;;
10842
10843 # No shared lib support for Linux oldld, aout, or coff.
10844 linux*oldld* | linux*aout* | linux*coff*)
10845 dynamic_linker=no
10846 ;;
10847
10848 # This must be glibc/ELF.
10849 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10850 version_type=linux # correct to gnu/linux during the next big refactor
10851 need_lib_prefix=no
10852 need_version=no
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 soname_spec='${libname}${release}${shared_ext}$major'
10855 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10856 shlibpath_var=LD_LIBRARY_PATH
10857 shlibpath_overrides_runpath=no
10858
10859 # Some binutils ld are patched to set DT_RUNPATH
10860 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 lt_cv_shlibpath_overrides_runpath=no
10864 save_LDFLAGS=$LDFLAGS
10865 save_libdir=$libdir
10866 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10867 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10870
10871 int
10872 main ()
10873 {
10874
10875 ;
10876 return 0;
10877 }
10878 _ACEOF
10879 if ac_fn_c_try_link "$LINENO"; then :
10880 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10881 lt_cv_shlibpath_overrides_runpath=yes
10882 fi
10883 fi
10884 rm -f core conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LDFLAGS=$save_LDFLAGS
10887 libdir=$save_libdir
10888
10889 fi
10890
10891 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10892
10893 # This implies no fast_install, which is unacceptable.
10894 # Some rework will be needed to allow for fast_install
10895 # before this can be enabled.
10896 hardcode_into_libs=yes
10897
10898 # Append ld.so.conf contents to the search path
10899 if test -f /etc/ld.so.conf; then
10900 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' ' '`
10901 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10902 fi
10903
10904 # We used to test for /lib/ld.so.1 and disable shared libraries on
10905 # powerpc, because MkLinux only supported shared libraries with the
10906 # GNU dynamic linker. Since this was broken with cross compilers,
10907 # most powerpc-linux boxes support dynamic linking these days and
10908 # people can always --disable-shared, the test was removed, and we
10909 # assume the GNU/Linux dynamic linker is in use.
10910 dynamic_linker='GNU/Linux ld.so'
10911 ;;
10912
10913 netbsdelf*-gnu)
10914 version_type=linux
10915 need_lib_prefix=no
10916 need_version=no
10917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10918 soname_spec='${libname}${release}${shared_ext}$major'
10919 shlibpath_var=LD_LIBRARY_PATH
10920 shlibpath_overrides_runpath=no
10921 hardcode_into_libs=yes
10922 dynamic_linker='NetBSD ld.elf_so'
10923 ;;
10924
10925 netbsd*)
10926 version_type=sunos
10927 need_lib_prefix=no
10928 need_version=no
10929 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10931 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10932 dynamic_linker='NetBSD (a.out) ld.so'
10933 else
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10935 soname_spec='${libname}${release}${shared_ext}$major'
10936 dynamic_linker='NetBSD ld.elf_so'
10937 fi
10938 shlibpath_var=LD_LIBRARY_PATH
10939 shlibpath_overrides_runpath=yes
10940 hardcode_into_libs=yes
10941 ;;
10942
10943 newsos6)
10944 version_type=linux # correct to gnu/linux during the next big refactor
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 shlibpath_var=LD_LIBRARY_PATH
10947 shlibpath_overrides_runpath=yes
10948 ;;
10949
10950 *nto* | *qnx*)
10951 version_type=qnx
10952 need_lib_prefix=no
10953 need_version=no
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955 soname_spec='${libname}${release}${shared_ext}$major'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 shlibpath_overrides_runpath=no
10958 hardcode_into_libs=yes
10959 dynamic_linker='ldqnx.so'
10960 ;;
10961
10962 openbsd*)
10963 version_type=sunos
10964 sys_lib_dlsearch_path_spec="/usr/lib"
10965 need_lib_prefix=no
10966 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10967 case $host_os in
10968 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10969 *) need_version=no ;;
10970 esac
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10972 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10975 case $host_os in
10976 openbsd2.[89] | openbsd2.[89].*)
10977 shlibpath_overrides_runpath=no
10978 ;;
10979 *)
10980 shlibpath_overrides_runpath=yes
10981 ;;
10982 esac
10983 else
10984 shlibpath_overrides_runpath=yes
10985 fi
10986 ;;
10987
10988 os2*)
10989 libname_spec='$name'
10990 shrext_cmds=".dll"
10991 need_lib_prefix=no
10992 library_names_spec='$libname${shared_ext} $libname.a'
10993 dynamic_linker='OS/2 ld.exe'
10994 shlibpath_var=LIBPATH
10995 ;;
10996
10997 osf3* | osf4* | osf5*)
10998 version_type=osf
10999 need_lib_prefix=no
11000 need_version=no
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11003 shlibpath_var=LD_LIBRARY_PATH
11004 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11005 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11006 ;;
11007
11008 rdos*)
11009 dynamic_linker=no
11010 ;;
11011
11012 solaris*)
11013 version_type=linux # correct to gnu/linux during the next big refactor
11014 need_lib_prefix=no
11015 need_version=no
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec='${libname}${release}${shared_ext}$major'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 shlibpath_overrides_runpath=yes
11020 hardcode_into_libs=yes
11021 # ldd complains unless libraries are executable
11022 postinstall_cmds='chmod +x $lib'
11023 ;;
11024
11025 sunos4*)
11026 version_type=sunos
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11028 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11029 shlibpath_var=LD_LIBRARY_PATH
11030 shlibpath_overrides_runpath=yes
11031 if test "$with_gnu_ld" = yes; then
11032 need_lib_prefix=no
11033 fi
11034 need_version=yes
11035 ;;
11036
11037 sysv4 | sysv4.3*)
11038 version_type=linux # correct to gnu/linux during the next big refactor
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 soname_spec='${libname}${release}${shared_ext}$major'
11041 shlibpath_var=LD_LIBRARY_PATH
11042 case $host_vendor in
11043 sni)
11044 shlibpath_overrides_runpath=no
11045 need_lib_prefix=no
11046 runpath_var=LD_RUN_PATH
11047 ;;
11048 siemens)
11049 need_lib_prefix=no
11050 ;;
11051 motorola)
11052 need_lib_prefix=no
11053 need_version=no
11054 shlibpath_overrides_runpath=no
11055 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11056 ;;
11057 esac
11058 ;;
11059
11060 sysv4*MP*)
11061 if test -d /usr/nec ;then
11062 version_type=linux # correct to gnu/linux during the next big refactor
11063 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11064 soname_spec='$libname${shared_ext}.$major'
11065 shlibpath_var=LD_LIBRARY_PATH
11066 fi
11067 ;;
11068
11069 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11070 version_type=freebsd-elf
11071 need_lib_prefix=no
11072 need_version=no
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 shlibpath_overrides_runpath=yes
11077 hardcode_into_libs=yes
11078 if test "$with_gnu_ld" = yes; then
11079 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11080 else
11081 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11082 case $host_os in
11083 sco3.2v5*)
11084 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11085 ;;
11086 esac
11087 fi
11088 sys_lib_dlsearch_path_spec='/usr/lib'
11089 ;;
11090
11091 tpf*)
11092 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11093 version_type=linux # correct to gnu/linux during the next big refactor
11094 need_lib_prefix=no
11095 need_version=no
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 shlibpath_overrides_runpath=no
11099 hardcode_into_libs=yes
11100 ;;
11101
11102 uts4*)
11103 version_type=linux # correct to gnu/linux during the next big refactor
11104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 soname_spec='${libname}${release}${shared_ext}$major'
11106 shlibpath_var=LD_LIBRARY_PATH
11107 ;;
11108
11109 *)
11110 dynamic_linker=no
11111 ;;
11112 esac
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11114 $as_echo "$dynamic_linker" >&6; }
11115 test "$dynamic_linker" = no && can_build_shared=no
11116
11117 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11118 if test "$GCC" = yes; then
11119 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11120 fi
11121
11122 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11123 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11124 fi
11125 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11126 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11127 fi
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11221 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11222 hardcode_action=
11223 if test -n "$hardcode_libdir_flag_spec" ||
11224 test -n "$runpath_var" ||
11225 test "X$hardcode_automatic" = "Xyes" ; then
11226
11227 # We can hardcode non-existent directories.
11228 if test "$hardcode_direct" != no &&
11229 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11230 # have to relink, otherwise we might link with an installed library
11231 # when we should be linking with a yet-to-be-installed one
11232 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11233 test "$hardcode_minus_L" != no; then
11234 # Linking always hardcodes the temporary library directory.
11235 hardcode_action=relink
11236 else
11237 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11238 hardcode_action=immediate
11239 fi
11240 else
11241 # We cannot hardcode anything, or else we can only hardcode existing
11242 # directories.
11243 hardcode_action=unsupported
11244 fi
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11246 $as_echo "$hardcode_action" >&6; }
11247
11248 if test "$hardcode_action" = relink ||
11249 test "$inherit_rpath" = yes; then
11250 # Fast installation is not supported
11251 enable_fast_install=no
11252 elif test "$shlibpath_overrides_runpath" = yes ||
11253 test "$enable_shared" = no; then
11254 # Fast installation is not necessary
11255 enable_fast_install=needless
11256 fi
11257
11258
11259
11260
11261
11262
11263 if test "x$enable_dlopen" != xyes; then
11264 enable_dlopen=unknown
11265 enable_dlopen_self=unknown
11266 enable_dlopen_self_static=unknown
11267 else
11268 lt_cv_dlopen=no
11269 lt_cv_dlopen_libs=
11270
11271 case $host_os in
11272 beos*)
11273 lt_cv_dlopen="load_add_on"
11274 lt_cv_dlopen_libs=
11275 lt_cv_dlopen_self=yes
11276 ;;
11277
11278 mingw* | pw32* | cegcc*)
11279 lt_cv_dlopen="LoadLibrary"
11280 lt_cv_dlopen_libs=
11281 ;;
11282
11283 cygwin*)
11284 lt_cv_dlopen="dlopen"
11285 lt_cv_dlopen_libs=
11286 ;;
11287
11288 darwin*)
11289 # if libdl is installed we need to link against it
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11291 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11292 if ${ac_cv_lib_dl_dlopen+:} false; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_lib_save_LIBS=$LIBS
11296 LIBS="-ldl $LIBS"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char dlopen ();
11307 int
11308 main ()
11309 {
11310 return dlopen ();
11311 ;
11312 return 0;
11313 }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 ac_cv_lib_dl_dlopen=yes
11317 else
11318 ac_cv_lib_dl_dlopen=no
11319 fi
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11323 fi
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11325 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11326 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11327 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11328 else
11329
11330 lt_cv_dlopen="dyld"
11331 lt_cv_dlopen_libs=
11332 lt_cv_dlopen_self=yes
11333
11334 fi
11335
11336 ;;
11337
11338 *)
11339 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11340 if test "x$ac_cv_func_shl_load" = xyes; then :
11341 lt_cv_dlopen="shl_load"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11344 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11345 if ${ac_cv_lib_dld_shl_load+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldld $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11352
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char shl_load ();
11360 int
11361 main ()
11362 {
11363 return shl_load ();
11364 ;
11365 return 0;
11366 }
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_dld_shl_load=yes
11370 else
11371 ac_cv_lib_dld_shl_load=no
11372 fi
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11376 fi
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11378 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11379 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11380 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11381 else
11382 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11383 if test "x$ac_cv_func_dlopen" = xyes; then :
11384 lt_cv_dlopen="dlopen"
11385 else
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11387 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11388 if ${ac_cv_lib_dl_dlopen+:} false; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-ldl $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char dlopen ();
11403 int
11404 main ()
11405 {
11406 return dlopen ();
11407 ;
11408 return 0;
11409 }
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_dl_dlopen=yes
11413 else
11414 ac_cv_lib_dl_dlopen=no
11415 fi
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11419 fi
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11421 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11422 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11423 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11426 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11427 if ${ac_cv_lib_svld_dlopen+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-lsvld $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11434
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char dlopen ();
11442 int
11443 main ()
11444 {
11445 return dlopen ();
11446 ;
11447 return 0;
11448 }
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 ac_cv_lib_svld_dlopen=yes
11452 else
11453 ac_cv_lib_svld_dlopen=no
11454 fi
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11458 fi
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11460 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11461 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11462 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11463 else
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11465 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11466 if ${ac_cv_lib_dld_dld_link+:} false; then :
11467 $as_echo_n "(cached) " >&6
11468 else
11469 ac_check_lib_save_LIBS=$LIBS
11470 LIBS="-ldld $LIBS"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11473
11474 /* Override any GCC internal prototype to avoid an error.
11475 Use char because int might match the return type of a GCC
11476 builtin and then its argument prototype would still apply. */
11477 #ifdef __cplusplus
11478 extern "C"
11479 #endif
11480 char dld_link ();
11481 int
11482 main ()
11483 {
11484 return dld_link ();
11485 ;
11486 return 0;
11487 }
11488 _ACEOF
11489 if ac_fn_c_try_link "$LINENO"; then :
11490 ac_cv_lib_dld_dld_link=yes
11491 else
11492 ac_cv_lib_dld_dld_link=no
11493 fi
11494 rm -f core conftest.err conftest.$ac_objext \
11495 conftest$ac_exeext conftest.$ac_ext
11496 LIBS=$ac_check_lib_save_LIBS
11497 fi
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11499 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11500 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11501 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11502 fi
11503
11504
11505 fi
11506
11507
11508 fi
11509
11510
11511 fi
11512
11513
11514 fi
11515
11516
11517 fi
11518
11519 ;;
11520 esac
11521
11522 if test "x$lt_cv_dlopen" != xno; then
11523 enable_dlopen=yes
11524 else
11525 enable_dlopen=no
11526 fi
11527
11528 case $lt_cv_dlopen in
11529 dlopen)
11530 save_CPPFLAGS="$CPPFLAGS"
11531 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11532
11533 save_LDFLAGS="$LDFLAGS"
11534 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11535
11536 save_LIBS="$LIBS"
11537 LIBS="$lt_cv_dlopen_libs $LIBS"
11538
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11540 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11541 if ${lt_cv_dlopen_self+:} false; then :
11542 $as_echo_n "(cached) " >&6
11543 else
11544 if test "$cross_compiling" = yes; then :
11545 lt_cv_dlopen_self=cross
11546 else
11547 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11548 lt_status=$lt_dlunknown
11549 cat > conftest.$ac_ext <<_LT_EOF
11550 #line $LINENO "configure"
11551 #include "confdefs.h"
11552
11553 #if HAVE_DLFCN_H
11554 #include <dlfcn.h>
11555 #endif
11556
11557 #include <stdio.h>
11558
11559 #ifdef RTLD_GLOBAL
11560 # define LT_DLGLOBAL RTLD_GLOBAL
11561 #else
11562 # ifdef DL_GLOBAL
11563 # define LT_DLGLOBAL DL_GLOBAL
11564 # else
11565 # define LT_DLGLOBAL 0
11566 # endif
11567 #endif
11568
11569 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11570 find out it does not work in some platform. */
11571 #ifndef LT_DLLAZY_OR_NOW
11572 # ifdef RTLD_LAZY
11573 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11574 # else
11575 # ifdef DL_LAZY
11576 # define LT_DLLAZY_OR_NOW DL_LAZY
11577 # else
11578 # ifdef RTLD_NOW
11579 # define LT_DLLAZY_OR_NOW RTLD_NOW
11580 # else
11581 # ifdef DL_NOW
11582 # define LT_DLLAZY_OR_NOW DL_NOW
11583 # else
11584 # define LT_DLLAZY_OR_NOW 0
11585 # endif
11586 # endif
11587 # endif
11588 # endif
11589 #endif
11590
11591 /* When -fvisbility=hidden is used, assume the code has been annotated
11592 correspondingly for the symbols needed. */
11593 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11594 int fnord () __attribute__((visibility("default")));
11595 #endif
11596
11597 int fnord () { return 42; }
11598 int main ()
11599 {
11600 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11601 int status = $lt_dlunknown;
11602
11603 if (self)
11604 {
11605 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11606 else
11607 {
11608 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11609 else puts (dlerror ());
11610 }
11611 /* dlclose (self); */
11612 }
11613 else
11614 puts (dlerror ());
11615
11616 return status;
11617 }
11618 _LT_EOF
11619 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11620 (eval $ac_link) 2>&5
11621 ac_status=$?
11622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11623 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11624 (./conftest; exit; ) >&5 2>/dev/null
11625 lt_status=$?
11626 case x$lt_status in
11627 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11628 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11629 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11630 esac
11631 else :
11632 # compilation failed
11633 lt_cv_dlopen_self=no
11634 fi
11635 fi
11636 rm -fr conftest*
11637
11638
11639 fi
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11641 $as_echo "$lt_cv_dlopen_self" >&6; }
11642
11643 if test "x$lt_cv_dlopen_self" = xyes; then
11644 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11646 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11647 if ${lt_cv_dlopen_self_static+:} false; then :
11648 $as_echo_n "(cached) " >&6
11649 else
11650 if test "$cross_compiling" = yes; then :
11651 lt_cv_dlopen_self_static=cross
11652 else
11653 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11654 lt_status=$lt_dlunknown
11655 cat > conftest.$ac_ext <<_LT_EOF
11656 #line $LINENO "configure"
11657 #include "confdefs.h"
11658
11659 #if HAVE_DLFCN_H
11660 #include <dlfcn.h>
11661 #endif
11662
11663 #include <stdio.h>
11664
11665 #ifdef RTLD_GLOBAL
11666 # define LT_DLGLOBAL RTLD_GLOBAL
11667 #else
11668 # ifdef DL_GLOBAL
11669 # define LT_DLGLOBAL DL_GLOBAL
11670 # else
11671 # define LT_DLGLOBAL 0
11672 # endif
11673 #endif
11674
11675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11676 find out it does not work in some platform. */
11677 #ifndef LT_DLLAZY_OR_NOW
11678 # ifdef RTLD_LAZY
11679 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11680 # else
11681 # ifdef DL_LAZY
11682 # define LT_DLLAZY_OR_NOW DL_LAZY
11683 # else
11684 # ifdef RTLD_NOW
11685 # define LT_DLLAZY_OR_NOW RTLD_NOW
11686 # else
11687 # ifdef DL_NOW
11688 # define LT_DLLAZY_OR_NOW DL_NOW
11689 # else
11690 # define LT_DLLAZY_OR_NOW 0
11691 # endif
11692 # endif
11693 # endif
11694 # endif
11695 #endif
11696
11697 /* When -fvisbility=hidden is used, assume the code has been annotated
11698 correspondingly for the symbols needed. */
11699 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11700 int fnord () __attribute__((visibility("default")));
11701 #endif
11702
11703 int fnord () { return 42; }
11704 int main ()
11705 {
11706 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11707 int status = $lt_dlunknown;
11708
11709 if (self)
11710 {
11711 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11712 else
11713 {
11714 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11715 else puts (dlerror ());
11716 }
11717 /* dlclose (self); */
11718 }
11719 else
11720 puts (dlerror ());
11721
11722 return status;
11723 }
11724 _LT_EOF
11725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11726 (eval $ac_link) 2>&5
11727 ac_status=$?
11728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11729 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11730 (./conftest; exit; ) >&5 2>/dev/null
11731 lt_status=$?
11732 case x$lt_status in
11733 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11734 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11735 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11736 esac
11737 else :
11738 # compilation failed
11739 lt_cv_dlopen_self_static=no
11740 fi
11741 fi
11742 rm -fr conftest*
11743
11744
11745 fi
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11747 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11748 fi
11749
11750 CPPFLAGS="$save_CPPFLAGS"
11751 LDFLAGS="$save_LDFLAGS"
11752 LIBS="$save_LIBS"
11753 ;;
11754 esac
11755
11756 case $lt_cv_dlopen_self in
11757 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11758 *) enable_dlopen_self=unknown ;;
11759 esac
11760
11761 case $lt_cv_dlopen_self_static in
11762 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11763 *) enable_dlopen_self_static=unknown ;;
11764 esac
11765 fi
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783 striplib=
11784 old_striplib=
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11786 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11787 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11788 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11789 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11791 $as_echo "yes" >&6; }
11792 else
11793 # FIXME - insert some real tests, host_os isn't really good enough
11794 case $host_os in
11795 darwin*)
11796 if test -n "$STRIP" ; then
11797 striplib="$STRIP -x"
11798 old_striplib="$STRIP -S"
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11800 $as_echo "yes" >&6; }
11801 else
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11803 $as_echo "no" >&6; }
11804 fi
11805 ;;
11806 *)
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11809 ;;
11810 esac
11811 fi
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824 # Report which library types will actually be built
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11826 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11828 $as_echo "$can_build_shared" >&6; }
11829
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11831 $as_echo_n "checking whether to build shared libraries... " >&6; }
11832 test "$can_build_shared" = "no" && enable_shared=no
11833
11834 # On AIX, shared libraries and static libraries use the same namespace, and
11835 # are all built from PIC.
11836 case $host_os in
11837 aix3*)
11838 test "$enable_shared" = yes && enable_static=no
11839 if test -n "$RANLIB"; then
11840 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11841 postinstall_cmds='$RANLIB $lib'
11842 fi
11843 ;;
11844
11845 aix[4-9]*)
11846 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11847 test "$enable_shared" = yes && enable_static=no
11848 fi
11849 ;;
11850 esac
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11852 $as_echo "$enable_shared" >&6; }
11853
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11855 $as_echo_n "checking whether to build static libraries... " >&6; }
11856 # Make sure either enable_shared or enable_static is yes.
11857 test "$enable_shared" = yes || enable_static=yes
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11859 $as_echo "$enable_static" >&6; }
11860
11861
11862
11863
11864 fi
11865 ac_ext=c
11866 ac_cpp='$CPP $CPPFLAGS'
11867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11870
11871 CC="$lt_save_CC"
11872
11873 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11874 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11875 (test "X$CXX" != "Xg++"))) ; then
11876 ac_ext=cpp
11877 ac_cpp='$CXXCPP $CPPFLAGS'
11878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11882 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11883 if test -z "$CXXCPP"; then
11884 if ${ac_cv_prog_CXXCPP+:} false; then :
11885 $as_echo_n "(cached) " >&6
11886 else
11887 # Double quotes because CXXCPP needs to be expanded
11888 for CXXCPP in "$CXX -E" "/lib/cpp"
11889 do
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11892 do
11893 # Use a header file that comes with gcc, so configuring glibc
11894 # with a fresh cross-compiler works.
11895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 # <limits.h> exists even on freestanding compilers.
11897 # On the NeXT, cc -E runs the code through the compiler's parser,
11898 # not just through cpp. "Syntax error" is here to catch this case.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906 Syntax error
11907 _ACEOF
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11909
11910 else
11911 # Broken: fails on valid input.
11912 continue
11913 fi
11914 rm -f conftest.err conftest.i conftest.$ac_ext
11915
11916 # OK, works on sane cases. Now check whether nonexistent headers
11917 # can be detected and how.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <ac_nonexistent.h>
11921 _ACEOF
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923 # Broken: success on invalid input.
11924 continue
11925 else
11926 # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11929 fi
11930 rm -f conftest.err conftest.i conftest.$ac_ext
11931
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.i conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11936 break
11937 fi
11938
11939 done
11940 ac_cv_prog_CXXCPP=$CXXCPP
11941
11942 fi
11943 CXXCPP=$ac_cv_prog_CXXCPP
11944 else
11945 ac_cv_prog_CXXCPP=$CXXCPP
11946 fi
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11948 $as_echo "$CXXCPP" >&6; }
11949 ac_preproc_ok=false
11950 for ac_cxx_preproc_warn_flag in '' yes
11951 do
11952 # Use a header file that comes with gcc, so configuring glibc
11953 # with a fresh cross-compiler works.
11954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11955 # <limits.h> exists even on freestanding compilers.
11956 # On the NeXT, cc -E runs the code through the compiler's parser,
11957 # not just through cpp. "Syntax error" is here to catch this case.
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 #ifdef __STDC__
11961 # include <limits.h>
11962 #else
11963 # include <assert.h>
11964 #endif
11965 Syntax error
11966 _ACEOF
11967 if ac_fn_cxx_try_cpp "$LINENO"; then :
11968
11969 else
11970 # Broken: fails on valid input.
11971 continue
11972 fi
11973 rm -f conftest.err conftest.i conftest.$ac_ext
11974
11975 # OK, works on sane cases. Now check whether nonexistent headers
11976 # can be detected and how.
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11979 #include <ac_nonexistent.h>
11980 _ACEOF
11981 if ac_fn_cxx_try_cpp "$LINENO"; then :
11982 # Broken: success on invalid input.
11983 continue
11984 else
11985 # Passes both tests.
11986 ac_preproc_ok=:
11987 break
11988 fi
11989 rm -f conftest.err conftest.i conftest.$ac_ext
11990
11991 done
11992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11993 rm -f conftest.i conftest.err conftest.$ac_ext
11994 if $ac_preproc_ok; then :
11995
11996 else
11997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11999 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12000 See \`config.log' for more details" "$LINENO" 5; }
12001 fi
12002
12003 ac_ext=c
12004 ac_cpp='$CPP $CPPFLAGS'
12005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12008
12009 else
12010 _lt_caught_CXX_error=yes
12011 fi
12012
12013 ac_ext=cpp
12014 ac_cpp='$CXXCPP $CPPFLAGS'
12015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12018
12019 archive_cmds_need_lc_CXX=no
12020 allow_undefined_flag_CXX=
12021 always_export_symbols_CXX=no
12022 archive_expsym_cmds_CXX=
12023 compiler_needs_object_CXX=no
12024 export_dynamic_flag_spec_CXX=
12025 hardcode_direct_CXX=no
12026 hardcode_direct_absolute_CXX=no
12027 hardcode_libdir_flag_spec_CXX=
12028 hardcode_libdir_separator_CXX=
12029 hardcode_minus_L_CXX=no
12030 hardcode_shlibpath_var_CXX=unsupported
12031 hardcode_automatic_CXX=no
12032 inherit_rpath_CXX=no
12033 module_cmds_CXX=
12034 module_expsym_cmds_CXX=
12035 link_all_deplibs_CXX=unknown
12036 old_archive_cmds_CXX=$old_archive_cmds
12037 reload_flag_CXX=$reload_flag
12038 reload_cmds_CXX=$reload_cmds
12039 no_undefined_flag_CXX=
12040 whole_archive_flag_spec_CXX=
12041 enable_shared_with_static_runtimes_CXX=no
12042
12043 # Source file extension for C++ test sources.
12044 ac_ext=cpp
12045
12046 # Object file extension for compiled C++ test sources.
12047 objext=o
12048 objext_CXX=$objext
12049
12050 # No sense in running all these tests if we already determined that
12051 # the CXX compiler isn't working. Some variables (like enable_shared)
12052 # are currently assumed to apply to all compilers on this platform,
12053 # and will be corrupted by setting them based on a non-working compiler.
12054 if test "$_lt_caught_CXX_error" != yes; then
12055 # Code to be used in simple compile tests
12056 lt_simple_compile_test_code="int some_variable = 0;"
12057
12058 # Code to be used in simple link tests
12059 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12060
12061 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12062
12063
12064
12065
12066
12067
12068 # If no C compiler was specified, use CC.
12069 LTCC=${LTCC-"$CC"}
12070
12071 # If no C compiler flags were specified, use CFLAGS.
12072 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12073
12074 # Allow CC to be a program name with arguments.
12075 compiler=$CC
12076
12077
12078 # save warnings/boilerplate of simple test code
12079 ac_outfile=conftest.$ac_objext
12080 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12081 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12082 _lt_compiler_boilerplate=`cat conftest.err`
12083 $RM conftest*
12084
12085 ac_outfile=conftest.$ac_objext
12086 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12087 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12088 _lt_linker_boilerplate=`cat conftest.err`
12089 $RM -r conftest*
12090
12091
12092 # Allow CC to be a program name with arguments.
12093 lt_save_CC=$CC
12094 lt_save_CFLAGS=$CFLAGS
12095 lt_save_LD=$LD
12096 lt_save_GCC=$GCC
12097 GCC=$GXX
12098 lt_save_with_gnu_ld=$with_gnu_ld
12099 lt_save_path_LD=$lt_cv_path_LD
12100 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12101 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12102 else
12103 $as_unset lt_cv_prog_gnu_ld
12104 fi
12105 if test -n "${lt_cv_path_LDCXX+set}"; then
12106 lt_cv_path_LD=$lt_cv_path_LDCXX
12107 else
12108 $as_unset lt_cv_path_LD
12109 fi
12110 test -z "${LDCXX+set}" || LD=$LDCXX
12111 CC=${CXX-"c++"}
12112 CFLAGS=$CXXFLAGS
12113 compiler=$CC
12114 compiler_CXX=$CC
12115 for cc_temp in $compiler""; do
12116 case $cc_temp in
12117 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12118 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12119 \-*) ;;
12120 *) break;;
12121 esac
12122 done
12123 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12124
12125
12126 if test -n "$compiler"; then
12127 # We don't want -fno-exception when compiling C++ code, so set the
12128 # no_builtin_flag separately
12129 if test "$GXX" = yes; then
12130 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12131 else
12132 lt_prog_compiler_no_builtin_flag_CXX=
12133 fi
12134
12135 if test "$GXX" = yes; then
12136 # Set up default GNU C++ configuration
12137
12138
12139
12140 # Check whether --with-gnu-ld was given.
12141 if test "${with_gnu_ld+set}" = set; then :
12142 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12143 else
12144 with_gnu_ld=no
12145 fi
12146
12147 ac_prog=ld
12148 if test "$GCC" = yes; then
12149 # Check if gcc -print-prog-name=ld gives a path.
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12151 $as_echo_n "checking for ld used by $CC... " >&6; }
12152 case $host in
12153 *-*-mingw*)
12154 # gcc leaves a trailing carriage return which upsets mingw
12155 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12156 *)
12157 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12158 esac
12159 case $ac_prog in
12160 # Accept absolute paths.
12161 [\\/]* | ?:[\\/]*)
12162 re_direlt='/[^/][^/]*/\.\./'
12163 # Canonicalize the pathname of ld
12164 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12165 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12166 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12167 done
12168 test -z "$LD" && LD="$ac_prog"
12169 ;;
12170 "")
12171 # If it fails, then pretend we aren't using GCC.
12172 ac_prog=ld
12173 ;;
12174 *)
12175 # If it is relative, then search for the first ld in PATH.
12176 with_gnu_ld=unknown
12177 ;;
12178 esac
12179 elif test "$with_gnu_ld" = yes; then
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12181 $as_echo_n "checking for GNU ld... " >&6; }
12182 else
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12184 $as_echo_n "checking for non-GNU ld... " >&6; }
12185 fi
12186 if ${lt_cv_path_LD+:} false; then :
12187 $as_echo_n "(cached) " >&6
12188 else
12189 if test -z "$LD"; then
12190 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12191 for ac_dir in $PATH; do
12192 IFS="$lt_save_ifs"
12193 test -z "$ac_dir" && ac_dir=.
12194 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12195 lt_cv_path_LD="$ac_dir/$ac_prog"
12196 # Check to see if the program is GNU ld. I'd rather use --version,
12197 # but apparently some variants of GNU ld only accept -v.
12198 # Break only if it was the GNU/non-GNU ld that we prefer.
12199 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12200 *GNU* | *'with BFD'*)
12201 test "$with_gnu_ld" != no && break
12202 ;;
12203 *)
12204 test "$with_gnu_ld" != yes && break
12205 ;;
12206 esac
12207 fi
12208 done
12209 IFS="$lt_save_ifs"
12210 else
12211 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12212 fi
12213 fi
12214
12215 LD="$lt_cv_path_LD"
12216 if test -n "$LD"; then
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12218 $as_echo "$LD" >&6; }
12219 else
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12221 $as_echo "no" >&6; }
12222 fi
12223 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12225 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12226 if ${lt_cv_prog_gnu_ld+:} false; then :
12227 $as_echo_n "(cached) " >&6
12228 else
12229 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12230 case `$LD -v 2>&1 </dev/null` in
12231 *GNU* | *'with BFD'*)
12232 lt_cv_prog_gnu_ld=yes
12233 ;;
12234 *)
12235 lt_cv_prog_gnu_ld=no
12236 ;;
12237 esac
12238 fi
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12240 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12241 with_gnu_ld=$lt_cv_prog_gnu_ld
12242
12243
12244
12245
12246
12247
12248
12249 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12250 # archiving commands below assume that GNU ld is being used.
12251 if test "$with_gnu_ld" = yes; then
12252 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12253 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'
12254
12255 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12256 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12257
12258 # If archive_cmds runs LD, not CC, wlarc should be empty
12259 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12260 # investigate it a little bit more. (MM)
12261 wlarc='${wl}'
12262
12263 # ancient GNU ld didn't support --whole-archive et. al.
12264 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12265 $GREP 'no-whole-archive' > /dev/null; then
12266 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12267 else
12268 whole_archive_flag_spec_CXX=
12269 fi
12270 else
12271 with_gnu_ld=no
12272 wlarc=
12273
12274 # A generic and very simple default shared library creation
12275 # command for GNU C++ for the case where it uses the native
12276 # linker, instead of GNU ld. If possible, this setting should
12277 # overridden to take advantage of the native linker features on
12278 # the platform it is being used on.
12279 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12280 fi
12281
12282 # Commands to make compiler produce verbose output that lists
12283 # what "hidden" libraries, object files and flags are used when
12284 # linking a shared library.
12285 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12286
12287 else
12288 GXX=no
12289 with_gnu_ld=no
12290 wlarc=
12291 fi
12292
12293 # PORTME: fill in a description of your system's C++ link characteristics
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12295 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12296 ld_shlibs_CXX=yes
12297 case $host_os in
12298 aix3*)
12299 # FIXME: insert proper C++ library support
12300 ld_shlibs_CXX=no
12301 ;;
12302 aix[4-9]*)
12303 if test "$host_cpu" = ia64; then
12304 # On IA64, the linker does run time linking by default, so we don't
12305 # have to do anything special.
12306 aix_use_runtimelinking=no
12307 exp_sym_flag='-Bexport'
12308 no_entry_flag=""
12309 else
12310 aix_use_runtimelinking=no
12311
12312 # Test if we are trying to use run time linking or normal
12313 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12314 # need to do runtime linking.
12315 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12316 for ld_flag in $LDFLAGS; do
12317 case $ld_flag in
12318 *-brtl*)
12319 aix_use_runtimelinking=yes
12320 break
12321 ;;
12322 esac
12323 done
12324 ;;
12325 esac
12326
12327 exp_sym_flag='-bexport'
12328 no_entry_flag='-bnoentry'
12329 fi
12330
12331 # When large executables or shared objects are built, AIX ld can
12332 # have problems creating the table of contents. If linking a library
12333 # or program results in "error TOC overflow" add -mminimal-toc to
12334 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12335 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12336
12337 archive_cmds_CXX=''
12338 hardcode_direct_CXX=yes
12339 hardcode_direct_absolute_CXX=yes
12340 hardcode_libdir_separator_CXX=':'
12341 link_all_deplibs_CXX=yes
12342 file_list_spec_CXX='${wl}-f,'
12343
12344 if test "$GXX" = yes; then
12345 case $host_os in aix4.[012]|aix4.[012].*)
12346 # We only want to do this on AIX 4.2 and lower, the check
12347 # below for broken collect2 doesn't work under 4.3+
12348 collect2name=`${CC} -print-prog-name=collect2`
12349 if test -f "$collect2name" &&
12350 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12351 then
12352 # We have reworked collect2
12353 :
12354 else
12355 # We have old collect2
12356 hardcode_direct_CXX=unsupported
12357 # It fails to find uninstalled libraries when the uninstalled
12358 # path is not listed in the libpath. Setting hardcode_minus_L
12359 # to unsupported forces relinking
12360 hardcode_minus_L_CXX=yes
12361 hardcode_libdir_flag_spec_CXX='-L$libdir'
12362 hardcode_libdir_separator_CXX=
12363 fi
12364 esac
12365 shared_flag='-shared'
12366 if test "$aix_use_runtimelinking" = yes; then
12367 shared_flag="$shared_flag "'${wl}-G'
12368 fi
12369 else
12370 # not using gcc
12371 if test "$host_cpu" = ia64; then
12372 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12373 # chokes on -Wl,-G. The following line is correct:
12374 shared_flag='-G'
12375 else
12376 if test "$aix_use_runtimelinking" = yes; then
12377 shared_flag='${wl}-G'
12378 else
12379 shared_flag='${wl}-bM:SRE'
12380 fi
12381 fi
12382 fi
12383
12384 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12385 # It seems that -bexpall does not export symbols beginning with
12386 # underscore (_), so it is better to generate a list of symbols to
12387 # export.
12388 always_export_symbols_CXX=yes
12389 if test "$aix_use_runtimelinking" = yes; then
12390 # Warning - without using the other runtime loading flags (-brtl),
12391 # -berok will link without error, but may produce a broken library.
12392 allow_undefined_flag_CXX='-berok'
12393 # Determine the default libpath from the value encoded in an empty
12394 # executable.
12395 if test "${lt_cv_aix_libpath+set}" = set; then
12396 aix_libpath=$lt_cv_aix_libpath
12397 else
12398 if ${lt_cv_aix_libpath__CXX+:} false; then :
12399 $as_echo_n "(cached) " >&6
12400 else
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12403
12404 int
12405 main ()
12406 {
12407
12408 ;
12409 return 0;
12410 }
12411 _ACEOF
12412 if ac_fn_cxx_try_link "$LINENO"; then :
12413
12414 lt_aix_libpath_sed='
12415 /Import File Strings/,/^$/ {
12416 /^0/ {
12417 s/^0 *\([^ ]*\) *$/\1/
12418 p
12419 }
12420 }'
12421 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12422 # Check for a 64-bit object if we didn't find anything.
12423 if test -z "$lt_cv_aix_libpath__CXX"; then
12424 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12425 fi
12426 fi
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 if test -z "$lt_cv_aix_libpath__CXX"; then
12430 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12431 fi
12432
12433 fi
12434
12435 aix_libpath=$lt_cv_aix_libpath__CXX
12436 fi
12437
12438 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12439
12440 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"
12441 else
12442 if test "$host_cpu" = ia64; then
12443 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12444 allow_undefined_flag_CXX="-z nodefs"
12445 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"
12446 else
12447 # Determine the default libpath from the value encoded in an
12448 # empty executable.
12449 if test "${lt_cv_aix_libpath+set}" = set; then
12450 aix_libpath=$lt_cv_aix_libpath
12451 else
12452 if ${lt_cv_aix_libpath__CXX+:} false; then :
12453 $as_echo_n "(cached) " >&6
12454 else
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12457
12458 int
12459 main ()
12460 {
12461
12462 ;
12463 return 0;
12464 }
12465 _ACEOF
12466 if ac_fn_cxx_try_link "$LINENO"; then :
12467
12468 lt_aix_libpath_sed='
12469 /Import File Strings/,/^$/ {
12470 /^0/ {
12471 s/^0 *\([^ ]*\) *$/\1/
12472 p
12473 }
12474 }'
12475 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12476 # Check for a 64-bit object if we didn't find anything.
12477 if test -z "$lt_cv_aix_libpath__CXX"; then
12478 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12479 fi
12480 fi
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 if test -z "$lt_cv_aix_libpath__CXX"; then
12484 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12485 fi
12486
12487 fi
12488
12489 aix_libpath=$lt_cv_aix_libpath__CXX
12490 fi
12491
12492 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12493 # Warning - without using the other run time loading flags,
12494 # -berok will link without error, but may produce a broken library.
12495 no_undefined_flag_CXX=' ${wl}-bernotok'
12496 allow_undefined_flag_CXX=' ${wl}-berok'
12497 if test "$with_gnu_ld" = yes; then
12498 # We only use this code for GNU lds that support --whole-archive.
12499 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12500 else
12501 # Exported symbols can be pulled into shared objects from archives
12502 whole_archive_flag_spec_CXX='$convenience'
12503 fi
12504 archive_cmds_need_lc_CXX=yes
12505 # This is similar to how AIX traditionally builds its shared
12506 # libraries.
12507 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'
12508 fi
12509 fi
12510 ;;
12511
12512 beos*)
12513 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12514 allow_undefined_flag_CXX=unsupported
12515 # Joseph Beckenbach <[email protected]> says some releases of gcc
12516 # support --undefined. This deserves some investigation. FIXME
12517 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12518 else
12519 ld_shlibs_CXX=no
12520 fi
12521 ;;
12522
12523 chorus*)
12524 case $cc_basename in
12525 *)
12526 # FIXME: insert proper C++ library support
12527 ld_shlibs_CXX=no
12528 ;;
12529 esac
12530 ;;
12531
12532 cygwin* | mingw* | pw32* | cegcc*)
12533 case $GXX,$cc_basename in
12534 ,cl* | no,cl*)
12535 # Native MSVC
12536 # hardcode_libdir_flag_spec is actually meaningless, as there is
12537 # no search path for DLLs.
12538 hardcode_libdir_flag_spec_CXX=' '
12539 allow_undefined_flag_CXX=unsupported
12540 always_export_symbols_CXX=yes
12541 file_list_spec_CXX='@'
12542 # Tell ltmain to make .lib files, not .a files.
12543 libext=lib
12544 # Tell ltmain to make .dll files, not .so files.
12545 shrext_cmds=".dll"
12546 # FIXME: Setting linknames here is a bad hack.
12547 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12548 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12549 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12550 else
12551 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12552 fi~
12553 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12554 linknames='
12555 # The linker will not automatically build a static lib if we build a DLL.
12556 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12557 enable_shared_with_static_runtimes_CXX=yes
12558 # Don't use ranlib
12559 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12560 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12561 lt_tool_outputfile="@TOOL_OUTPUT@"~
12562 case $lt_outputfile in
12563 *.exe|*.EXE) ;;
12564 *)
12565 lt_outputfile="$lt_outputfile.exe"
12566 lt_tool_outputfile="$lt_tool_outputfile.exe"
12567 ;;
12568 esac~
12569 func_to_tool_file "$lt_outputfile"~
12570 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12571 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12572 $RM "$lt_outputfile.manifest";
12573 fi'
12574 ;;
12575 *)
12576 # g++
12577 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12578 # as there is no search path for DLLs.
12579 hardcode_libdir_flag_spec_CXX='-L$libdir'
12580 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12581 allow_undefined_flag_CXX=unsupported
12582 always_export_symbols_CXX=no
12583 enable_shared_with_static_runtimes_CXX=yes
12584
12585 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12586 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'
12587 # If the export-symbols file already is a .def file (1st line
12588 # is EXPORTS), use it as is; otherwise, prepend...
12589 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12590 cp $export_symbols $output_objdir/$soname.def;
12591 else
12592 echo EXPORTS > $output_objdir/$soname.def;
12593 cat $export_symbols >> $output_objdir/$soname.def;
12594 fi~
12595 $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'
12596 else
12597 ld_shlibs_CXX=no
12598 fi
12599 ;;
12600 esac
12601 ;;
12602 darwin* | rhapsody*)
12603
12604
12605 archive_cmds_need_lc_CXX=no
12606 hardcode_direct_CXX=no
12607 hardcode_automatic_CXX=yes
12608 hardcode_shlibpath_var_CXX=unsupported
12609 if test "$lt_cv_ld_force_load" = "yes"; then
12610 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\"`'
12611
12612 else
12613 whole_archive_flag_spec_CXX=''
12614 fi
12615 link_all_deplibs_CXX=yes
12616 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12617 case $cc_basename in
12618 ifort*) _lt_dar_can_shared=yes ;;
12619 *) _lt_dar_can_shared=$GCC ;;
12620 esac
12621 if test "$_lt_dar_can_shared" = "yes"; then
12622 output_verbose_link_cmd=func_echo_all
12623 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}"
12624 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12625 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}"
12626 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}"
12627 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12628 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}"
12629 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}"
12630 fi
12631
12632 else
12633 ld_shlibs_CXX=no
12634 fi
12635
12636 ;;
12637
12638 dgux*)
12639 case $cc_basename in
12640 ec++*)
12641 # FIXME: insert proper C++ library support
12642 ld_shlibs_CXX=no
12643 ;;
12644 ghcx*)
12645 # Green Hills C++ Compiler
12646 # FIXME: insert proper C++ library support
12647 ld_shlibs_CXX=no
12648 ;;
12649 *)
12650 # FIXME: insert proper C++ library support
12651 ld_shlibs_CXX=no
12652 ;;
12653 esac
12654 ;;
12655
12656 freebsd2.*)
12657 # C++ shared libraries reported to be fairly broken before
12658 # switch to ELF
12659 ld_shlibs_CXX=no
12660 ;;
12661
12662 freebsd-elf*)
12663 archive_cmds_need_lc_CXX=no
12664 ;;
12665
12666 freebsd* | dragonfly*)
12667 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12668 # conventions
12669 ld_shlibs_CXX=yes
12670 ;;
12671
12672 haiku*)
12673 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12674 link_all_deplibs_CXX=yes
12675 ;;
12676
12677 hpux9*)
12678 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12679 hardcode_libdir_separator_CXX=:
12680 export_dynamic_flag_spec_CXX='${wl}-E'
12681 hardcode_direct_CXX=yes
12682 hardcode_minus_L_CXX=yes # Not in the search PATH,
12683 # but as the default
12684 # location of the library.
12685
12686 case $cc_basename in
12687 CC*)
12688 # FIXME: insert proper C++ library support
12689 ld_shlibs_CXX=no
12690 ;;
12691 aCC*)
12692 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'
12693 # Commands to make compiler produce verbose output that lists
12694 # what "hidden" libraries, object files and flags are used when
12695 # linking a shared library.
12696 #
12697 # There doesn't appear to be a way to prevent this compiler from
12698 # explicitly linking system object files so we need to strip them
12699 # from the output so that they don't get included in the library
12700 # dependencies.
12701 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"'
12702 ;;
12703 *)
12704 if test "$GXX" = yes; then
12705 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'
12706 else
12707 # FIXME: insert proper C++ library support
12708 ld_shlibs_CXX=no
12709 fi
12710 ;;
12711 esac
12712 ;;
12713
12714 hpux10*|hpux11*)
12715 if test $with_gnu_ld = no; then
12716 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12717 hardcode_libdir_separator_CXX=:
12718
12719 case $host_cpu in
12720 hppa*64*|ia64*)
12721 ;;
12722 *)
12723 export_dynamic_flag_spec_CXX='${wl}-E'
12724 ;;
12725 esac
12726 fi
12727 case $host_cpu in
12728 hppa*64*|ia64*)
12729 hardcode_direct_CXX=no
12730 hardcode_shlibpath_var_CXX=no
12731 ;;
12732 *)
12733 hardcode_direct_CXX=yes
12734 hardcode_direct_absolute_CXX=yes
12735 hardcode_minus_L_CXX=yes # Not in the search PATH,
12736 # but as the default
12737 # location of the library.
12738 ;;
12739 esac
12740
12741 case $cc_basename in
12742 CC*)
12743 # FIXME: insert proper C++ library support
12744 ld_shlibs_CXX=no
12745 ;;
12746 aCC*)
12747 case $host_cpu in
12748 hppa*64*)
12749 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 ;;
12751 ia64*)
12752 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12753 ;;
12754 *)
12755 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 ;;
12757 esac
12758 # Commands to make compiler produce verbose output that lists
12759 # what "hidden" libraries, object files and flags are used when
12760 # linking a shared library.
12761 #
12762 # There doesn't appear to be a way to prevent this compiler from
12763 # explicitly linking system object files so we need to strip them
12764 # from the output so that they don't get included in the library
12765 # dependencies.
12766 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"'
12767 ;;
12768 *)
12769 if test "$GXX" = yes; then
12770 if test $with_gnu_ld = no; then
12771 case $host_cpu in
12772 hppa*64*)
12773 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12774 ;;
12775 ia64*)
12776 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12777 ;;
12778 *)
12779 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'
12780 ;;
12781 esac
12782 fi
12783 else
12784 # FIXME: insert proper C++ library support
12785 ld_shlibs_CXX=no
12786 fi
12787 ;;
12788 esac
12789 ;;
12790
12791 interix[3-9]*)
12792 hardcode_direct_CXX=no
12793 hardcode_shlibpath_var_CXX=no
12794 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12795 export_dynamic_flag_spec_CXX='${wl}-E'
12796 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12797 # Instead, shared libraries are loaded at an image base (0x10000000 by
12798 # default) and relocated if they conflict, which is a slow very memory
12799 # consuming and fragmenting process. To avoid this, we pick a random,
12800 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12801 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12802 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'
12803 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'
12804 ;;
12805 irix5* | irix6*)
12806 case $cc_basename in
12807 CC*)
12808 # SGI C++
12809 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'
12810
12811 # Archives containing C++ object files must be created using
12812 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12813 # necessary to make sure instantiated templates are included
12814 # in the archive.
12815 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12816 ;;
12817 *)
12818 if test "$GXX" = yes; then
12819 if test "$with_gnu_ld" = no; then
12820 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'
12821 else
12822 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'
12823 fi
12824 fi
12825 link_all_deplibs_CXX=yes
12826 ;;
12827 esac
12828 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12829 hardcode_libdir_separator_CXX=:
12830 inherit_rpath_CXX=yes
12831 ;;
12832
12833 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12834 case $cc_basename in
12835 KCC*)
12836 # Kuck and Associates, Inc. (KAI) C++ Compiler
12837
12838 # KCC will only create a shared library if the output file
12839 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12840 # to its proper name (with version) after linking.
12841 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'
12842 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'
12843 # Commands to make compiler produce verbose output that lists
12844 # what "hidden" libraries, object files and flags are used when
12845 # linking a shared library.
12846 #
12847 # There doesn't appear to be a way to prevent this compiler from
12848 # explicitly linking system object files so we need to strip them
12849 # from the output so that they don't get included in the library
12850 # dependencies.
12851 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"'
12852
12853 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12854 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12855
12856 # Archives containing C++ object files must be created using
12857 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12858 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12859 ;;
12860 icpc* | ecpc* )
12861 # Intel C++
12862 with_gnu_ld=yes
12863 # version 8.0 and above of icpc choke on multiply defined symbols
12864 # if we add $predep_objects and $postdep_objects, however 7.1 and
12865 # earlier do not add the objects themselves.
12866 case `$CC -V 2>&1` in
12867 *"Version 7."*)
12868 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12869 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'
12870 ;;
12871 *) # Version 8.0 or newer
12872 tmp_idyn=
12873 case $host_cpu in
12874 ia64*) tmp_idyn=' -i_dynamic';;
12875 esac
12876 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12877 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'
12878 ;;
12879 esac
12880 archive_cmds_need_lc_CXX=no
12881 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12882 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12883 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12884 ;;
12885 pgCC* | pgcpp*)
12886 # Portland Group C++ compiler
12887 case `$CC -V` in
12888 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12889 prelink_cmds_CXX='tpldir=Template.dir~
12890 rm -rf $tpldir~
12891 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12892 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12893 old_archive_cmds_CXX='tpldir=Template.dir~
12894 rm -rf $tpldir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12896 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12897 $RANLIB $oldlib'
12898 archive_cmds_CXX='tpldir=Template.dir~
12899 rm -rf $tpldir~
12900 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12901 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12902 archive_expsym_cmds_CXX='tpldir=Template.dir~
12903 rm -rf $tpldir~
12904 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12905 $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'
12906 ;;
12907 *) # Version 6 and above use weak symbols
12908 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12909 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'
12910 ;;
12911 esac
12912
12913 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12914 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12915 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'
12916 ;;
12917 cxx*)
12918 # Compaq C++
12919 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12920 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'
12921
12922 runpath_var=LD_RUN_PATH
12923 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12924 hardcode_libdir_separator_CXX=:
12925
12926 # Commands to make compiler produce verbose output that lists
12927 # what "hidden" libraries, object files and flags are used when
12928 # linking a shared library.
12929 #
12930 # There doesn't appear to be a way to prevent this compiler from
12931 # explicitly linking system object files so we need to strip them
12932 # from the output so that they don't get included in the library
12933 # dependencies.
12934 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'
12935 ;;
12936 xl* | mpixl* | bgxl*)
12937 # IBM XL 8.0 on PPC, with GNU ld
12938 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12939 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12940 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12941 if test "x$supports_anon_versioning" = xyes; then
12942 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12943 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12944 echo "local: *; };" >> $output_objdir/$libname.ver~
12945 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12946 fi
12947 ;;
12948 *)
12949 case `$CC -V 2>&1 | sed 5q` in
12950 *Sun\ C*)
12951 # Sun C++ 5.9
12952 no_undefined_flag_CXX=' -zdefs'
12953 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12954 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'
12955 hardcode_libdir_flag_spec_CXX='-R$libdir'
12956 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'
12957 compiler_needs_object_CXX=yes
12958
12959 # Not sure whether something based on
12960 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12961 # would be better.
12962 output_verbose_link_cmd='func_echo_all'
12963
12964 # Archives containing C++ object files must be created using
12965 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12966 # necessary to make sure instantiated templates are included
12967 # in the archive.
12968 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12969 ;;
12970 esac
12971 ;;
12972 esac
12973 ;;
12974
12975 lynxos*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979
12980 m88k*)
12981 # FIXME: insert proper C++ library support
12982 ld_shlibs_CXX=no
12983 ;;
12984
12985 mvs*)
12986 case $cc_basename in
12987 cxx*)
12988 # FIXME: insert proper C++ library support
12989 ld_shlibs_CXX=no
12990 ;;
12991 *)
12992 # FIXME: insert proper C++ library support
12993 ld_shlibs_CXX=no
12994 ;;
12995 esac
12996 ;;
12997
12998 netbsd*)
12999 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13000 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13001 wlarc=
13002 hardcode_libdir_flag_spec_CXX='-R$libdir'
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 fi
13006 # Workaround some broken pre-1.5 toolchains
13007 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13008 ;;
13009
13010 *nto* | *qnx*)
13011 ld_shlibs_CXX=yes
13012 ;;
13013
13014 openbsd2*)
13015 # C++ shared libraries are fairly broken
13016 ld_shlibs_CXX=no
13017 ;;
13018
13019 openbsd*)
13020 if test -f /usr/libexec/ld.so; then
13021 hardcode_direct_CXX=yes
13022 hardcode_shlibpath_var_CXX=no
13023 hardcode_direct_absolute_CXX=yes
13024 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13025 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13026 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13027 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13028 export_dynamic_flag_spec_CXX='${wl}-E'
13029 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13030 fi
13031 output_verbose_link_cmd=func_echo_all
13032 else
13033 ld_shlibs_CXX=no
13034 fi
13035 ;;
13036
13037 osf3* | osf4* | osf5*)
13038 case $cc_basename in
13039 KCC*)
13040 # Kuck and Associates, Inc. (KAI) C++ Compiler
13041
13042 # KCC will only create a shared library if the output file
13043 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13044 # to its proper name (with version) after linking.
13045 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'
13046
13047 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13048 hardcode_libdir_separator_CXX=:
13049
13050 # Archives containing C++ object files must be created using
13051 # the KAI C++ compiler.
13052 case $host in
13053 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13054 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13055 esac
13056 ;;
13057 RCC*)
13058 # Rational C++ 2.4.1
13059 # FIXME: insert proper C++ library support
13060 ld_shlibs_CXX=no
13061 ;;
13062 cxx*)
13063 case $host in
13064 osf3*)
13065 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13066 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'
13067 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13068 ;;
13069 *)
13070 allow_undefined_flag_CXX=' -expect_unresolved \*'
13071 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'
13072 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13073 echo "-hidden">> $lib.exp~
13074 $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~
13075 $RM $lib.exp'
13076 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13077 ;;
13078 esac
13079
13080 hardcode_libdir_separator_CXX=:
13081
13082 # Commands to make compiler produce verbose output that lists
13083 # what "hidden" libraries, object files and flags are used when
13084 # linking a shared library.
13085 #
13086 # There doesn't appear to be a way to prevent this compiler from
13087 # explicitly linking system object files so we need to strip them
13088 # from the output so that they don't get included in the library
13089 # dependencies.
13090 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"'
13091 ;;
13092 *)
13093 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13094 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13095 case $host in
13096 osf3*)
13097 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'
13098 ;;
13099 *)
13100 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'
13101 ;;
13102 esac
13103
13104 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13105 hardcode_libdir_separator_CXX=:
13106
13107 # Commands to make compiler produce verbose output that lists
13108 # what "hidden" libraries, object files and flags are used when
13109 # linking a shared library.
13110 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13111
13112 else
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13115 fi
13116 ;;
13117 esac
13118 ;;
13119
13120 psos*)
13121 # FIXME: insert proper C++ library support
13122 ld_shlibs_CXX=no
13123 ;;
13124
13125 sunos4*)
13126 case $cc_basename in
13127 CC*)
13128 # Sun C++ 4.x
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13131 ;;
13132 lcc*)
13133 # Lucid
13134 # FIXME: insert proper C++ library support
13135 ld_shlibs_CXX=no
13136 ;;
13137 *)
13138 # FIXME: insert proper C++ library support
13139 ld_shlibs_CXX=no
13140 ;;
13141 esac
13142 ;;
13143
13144 solaris*)
13145 case $cc_basename in
13146 CC* | sunCC*)
13147 # Sun C++ 4.2, 5.x and Centerline C++
13148 archive_cmds_need_lc_CXX=yes
13149 no_undefined_flag_CXX=' -zdefs'
13150 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13151 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13152 $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'
13153
13154 hardcode_libdir_flag_spec_CXX='-R$libdir'
13155 hardcode_shlibpath_var_CXX=no
13156 case $host_os in
13157 solaris2.[0-5] | solaris2.[0-5].*) ;;
13158 *)
13159 # The compiler driver will combine and reorder linker options,
13160 # but understands `-z linker_flag'.
13161 # Supported since Solaris 2.6 (maybe 2.5.1?)
13162 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13163 ;;
13164 esac
13165 link_all_deplibs_CXX=yes
13166
13167 output_verbose_link_cmd='func_echo_all'
13168
13169 # Archives containing C++ object files must be created using
13170 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13171 # necessary to make sure instantiated templates are included
13172 # in the archive.
13173 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13174 ;;
13175 gcx*)
13176 # Green Hills C++ Compiler
13177 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13178
13179 # The C++ compiler must be used to create the archive.
13180 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13181 ;;
13182 *)
13183 # GNU C++ compiler with Solaris linker
13184 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13185 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13186 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13187 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13188 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13189 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13190
13191 # Commands to make compiler produce verbose output that lists
13192 # what "hidden" libraries, object files and flags are used when
13193 # linking a shared library.
13194 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13195 else
13196 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13197 # platform.
13198 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13199 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13200 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13201
13202 # Commands to make compiler produce verbose output that lists
13203 # what "hidden" libraries, object files and flags are used when
13204 # linking a shared library.
13205 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13206 fi
13207
13208 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13209 case $host_os in
13210 solaris2.[0-5] | solaris2.[0-5].*) ;;
13211 *)
13212 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13213 ;;
13214 esac
13215 fi
13216 ;;
13217 esac
13218 ;;
13219
13220 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13221 no_undefined_flag_CXX='${wl}-z,text'
13222 archive_cmds_need_lc_CXX=no
13223 hardcode_shlibpath_var_CXX=no
13224 runpath_var='LD_RUN_PATH'
13225
13226 case $cc_basename in
13227 CC*)
13228 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 ;;
13231 *)
13232 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13233 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13234 ;;
13235 esac
13236 ;;
13237
13238 sysv5* | sco3.2v5* | sco5v6*)
13239 # Note: We can NOT use -z defs as we might desire, because we do not
13240 # link with -lc, and that would cause any symbols used from libc to
13241 # always be unresolved, which means just about no library would
13242 # ever link correctly. If we're not using GNU ld we use -z text
13243 # though, which does catch some bad symbols but isn't as heavy-handed
13244 # as -z defs.
13245 no_undefined_flag_CXX='${wl}-z,text'
13246 allow_undefined_flag_CXX='${wl}-z,nodefs'
13247 archive_cmds_need_lc_CXX=no
13248 hardcode_shlibpath_var_CXX=no
13249 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13250 hardcode_libdir_separator_CXX=':'
13251 link_all_deplibs_CXX=yes
13252 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13253 runpath_var='LD_RUN_PATH'
13254
13255 case $cc_basename in
13256 CC*)
13257 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13258 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13259 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13260 '"$old_archive_cmds_CXX"
13261 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13262 '"$reload_cmds_CXX"
13263 ;;
13264 *)
13265 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13266 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13267 ;;
13268 esac
13269 ;;
13270
13271 tandem*)
13272 case $cc_basename in
13273 NCC*)
13274 # NonStop-UX NCC 3.20
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13277 ;;
13278 *)
13279 # FIXME: insert proper C++ library support
13280 ld_shlibs_CXX=no
13281 ;;
13282 esac
13283 ;;
13284
13285 vxworks*)
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13288 ;;
13289
13290 *)
13291 # FIXME: insert proper C++ library support
13292 ld_shlibs_CXX=no
13293 ;;
13294 esac
13295
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13297 $as_echo "$ld_shlibs_CXX" >&6; }
13298 test "$ld_shlibs_CXX" = no && can_build_shared=no
13299
13300 GCC_CXX="$GXX"
13301 LD_CXX="$LD"
13302
13303 ## CAVEAT EMPTOR:
13304 ## There is no encapsulation within the following macros, do not change
13305 ## the running order or otherwise move them around unless you know exactly
13306 ## what you are doing...
13307 # Dependencies to place before and after the object being linked:
13308 predep_objects_CXX=
13309 postdep_objects_CXX=
13310 predeps_CXX=
13311 postdeps_CXX=
13312 compiler_lib_search_path_CXX=
13313
13314 cat > conftest.$ac_ext <<_LT_EOF
13315 class Foo
13316 {
13317 public:
13318 Foo (void) { a = 0; }
13319 private:
13320 int a;
13321 };
13322 _LT_EOF
13323
13324
13325 _lt_libdeps_save_CFLAGS=$CFLAGS
13326 case "$CC $CFLAGS " in #(
13327 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13328 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13329 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13330 esac
13331
13332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13333 (eval $ac_compile) 2>&5
13334 ac_status=$?
13335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13336 test $ac_status = 0; }; then
13337 # Parse the compiler output and extract the necessary
13338 # objects, libraries and library flags.
13339
13340 # Sentinel used to keep track of whether or not we are before
13341 # the conftest object file.
13342 pre_test_object_deps_done=no
13343
13344 for p in `eval "$output_verbose_link_cmd"`; do
13345 case ${prev}${p} in
13346
13347 -L* | -R* | -l*)
13348 # Some compilers place space between "-{L,R}" and the path.
13349 # Remove the space.
13350 if test $p = "-L" ||
13351 test $p = "-R"; then
13352 prev=$p
13353 continue
13354 fi
13355
13356 # Expand the sysroot to ease extracting the directories later.
13357 if test -z "$prev"; then
13358 case $p in
13359 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13360 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13361 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13362 esac
13363 fi
13364 case $p in
13365 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13366 esac
13367 if test "$pre_test_object_deps_done" = no; then
13368 case ${prev} in
13369 -L | -R)
13370 # Internal compiler library paths should come after those
13371 # provided the user. The postdeps already come after the
13372 # user supplied libs so there is no need to process them.
13373 if test -z "$compiler_lib_search_path_CXX"; then
13374 compiler_lib_search_path_CXX="${prev}${p}"
13375 else
13376 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13377 fi
13378 ;;
13379 # The "-l" case would never come before the object being
13380 # linked, so don't bother handling this case.
13381 esac
13382 else
13383 if test -z "$postdeps_CXX"; then
13384 postdeps_CXX="${prev}${p}"
13385 else
13386 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13387 fi
13388 fi
13389 prev=
13390 ;;
13391
13392 *.lto.$objext) ;; # Ignore GCC LTO objects
13393 *.$objext)
13394 # This assumes that the test object file only shows up
13395 # once in the compiler output.
13396 if test "$p" = "conftest.$objext"; then
13397 pre_test_object_deps_done=yes
13398 continue
13399 fi
13400
13401 if test "$pre_test_object_deps_done" = no; then
13402 if test -z "$predep_objects_CXX"; then
13403 predep_objects_CXX="$p"
13404 else
13405 predep_objects_CXX="$predep_objects_CXX $p"
13406 fi
13407 else
13408 if test -z "$postdep_objects_CXX"; then
13409 postdep_objects_CXX="$p"
13410 else
13411 postdep_objects_CXX="$postdep_objects_CXX $p"
13412 fi
13413 fi
13414 ;;
13415
13416 *) ;; # Ignore the rest.
13417
13418 esac
13419 done
13420
13421 # Clean up.
13422 rm -f a.out a.exe
13423 else
13424 echo "libtool.m4: error: problem compiling CXX test program"
13425 fi
13426
13427 $RM -f confest.$objext
13428 CFLAGS=$_lt_libdeps_save_CFLAGS
13429
13430 # PORTME: override above test on systems where it is broken
13431 case $host_os in
13432 interix[3-9]*)
13433 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13434 # hack all around it, let's just trust "g++" to DTRT.
13435 predep_objects_CXX=
13436 postdep_objects_CXX=
13437 postdeps_CXX=
13438 ;;
13439
13440 linux*)
13441 case `$CC -V 2>&1 | sed 5q` in
13442 *Sun\ C*)
13443 # Sun C++ 5.9
13444
13445 # The more standards-conforming stlport4 library is
13446 # incompatible with the Cstd library. Avoid specifying
13447 # it if it's in CXXFLAGS. Ignore libCrun as
13448 # -library=stlport4 depends on it.
13449 case " $CXX $CXXFLAGS " in
13450 *" -library=stlport4 "*)
13451 solaris_use_stlport4=yes
13452 ;;
13453 esac
13454
13455 if test "$solaris_use_stlport4" != yes; then
13456 postdeps_CXX='-library=Cstd -library=Crun'
13457 fi
13458 ;;
13459 esac
13460 ;;
13461
13462 solaris*)
13463 case $cc_basename in
13464 CC* | sunCC*)
13465 # The more standards-conforming stlport4 library is
13466 # incompatible with the Cstd library. Avoid specifying
13467 # it if it's in CXXFLAGS. Ignore libCrun as
13468 # -library=stlport4 depends on it.
13469 case " $CXX $CXXFLAGS " in
13470 *" -library=stlport4 "*)
13471 solaris_use_stlport4=yes
13472 ;;
13473 esac
13474
13475 # Adding this requires a known-good setup of shared libraries for
13476 # Sun compiler versions before 5.6, else PIC objects from an old
13477 # archive will be linked into the output, leading to subtle bugs.
13478 if test "$solaris_use_stlport4" != yes; then
13479 postdeps_CXX='-library=Cstd -library=Crun'
13480 fi
13481 ;;
13482 esac
13483 ;;
13484 esac
13485
13486
13487 case " $postdeps_CXX " in
13488 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13489 esac
13490 compiler_lib_search_dirs_CXX=
13491 if test -n "${compiler_lib_search_path_CXX}"; then
13492 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13493 fi
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525 lt_prog_compiler_wl_CXX=
13526 lt_prog_compiler_pic_CXX=
13527 lt_prog_compiler_static_CXX=
13528
13529
13530 # C++ specific cases for pic, static, wl, etc.
13531 if test "$GXX" = yes; then
13532 lt_prog_compiler_wl_CXX='-Wl,'
13533 lt_prog_compiler_static_CXX='-static'
13534
13535 case $host_os in
13536 aix*)
13537 # All AIX code is PIC.
13538 if test "$host_cpu" = ia64; then
13539 # AIX 5 now supports IA64 processor
13540 lt_prog_compiler_static_CXX='-Bstatic'
13541 fi
13542 ;;
13543
13544 amigaos*)
13545 case $host_cpu in
13546 powerpc)
13547 # see comment about AmigaOS4 .so support
13548 lt_prog_compiler_pic_CXX='-fPIC'
13549 ;;
13550 m68k)
13551 # FIXME: we need at least 68020 code to build shared libraries, but
13552 # adding the `-m68020' flag to GCC prevents building anything better,
13553 # like `-m68040'.
13554 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13555 ;;
13556 esac
13557 ;;
13558
13559 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13560 # PIC is the default for these OSes.
13561 ;;
13562 mingw* | cygwin* | os2* | pw32* | cegcc*)
13563 # This hack is so that the source file can tell whether it is being
13564 # built for inclusion in a dll (and should export symbols for example).
13565 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13566 # (--disable-auto-import) libraries
13567 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13568 ;;
13569 darwin* | rhapsody*)
13570 # PIC is the default on this platform
13571 # Common symbols not allowed in MH_DYLIB files
13572 lt_prog_compiler_pic_CXX='-fno-common'
13573 ;;
13574 *djgpp*)
13575 # DJGPP does not support shared libraries at all
13576 lt_prog_compiler_pic_CXX=
13577 ;;
13578 haiku*)
13579 # PIC is the default for Haiku.
13580 # The "-static" flag exists, but is broken.
13581 lt_prog_compiler_static_CXX=
13582 ;;
13583 interix[3-9]*)
13584 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13585 # Instead, we relocate shared libraries at runtime.
13586 ;;
13587 sysv4*MP*)
13588 if test -d /usr/nec; then
13589 lt_prog_compiler_pic_CXX=-Kconform_pic
13590 fi
13591 ;;
13592 hpux*)
13593 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13594 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13595 # sets the default TLS model and affects inlining.
13596 case $host_cpu in
13597 hppa*64*)
13598 ;;
13599 *)
13600 lt_prog_compiler_pic_CXX='-fPIC'
13601 ;;
13602 esac
13603 ;;
13604 *qnx* | *nto*)
13605 # QNX uses GNU C++, but need to define -shared option too, otherwise
13606 # it will coredump.
13607 lt_prog_compiler_pic_CXX='-fPIC -shared'
13608 ;;
13609 *)
13610 lt_prog_compiler_pic_CXX='-fPIC'
13611 ;;
13612 esac
13613 else
13614 case $host_os in
13615 aix[4-9]*)
13616 # All AIX code is PIC.
13617 if test "$host_cpu" = ia64; then
13618 # AIX 5 now supports IA64 processor
13619 lt_prog_compiler_static_CXX='-Bstatic'
13620 else
13621 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13622 fi
13623 ;;
13624 chorus*)
13625 case $cc_basename in
13626 cxch68*)
13627 # Green Hills C++ Compiler
13628 # _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"
13629 ;;
13630 esac
13631 ;;
13632 mingw* | cygwin* | os2* | pw32* | cegcc*)
13633 # This hack is so that the source file can tell whether it is being
13634 # built for inclusion in a dll (and should export symbols for example).
13635 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13636 ;;
13637 dgux*)
13638 case $cc_basename in
13639 ec++*)
13640 lt_prog_compiler_pic_CXX='-KPIC'
13641 ;;
13642 ghcx*)
13643 # Green Hills C++ Compiler
13644 lt_prog_compiler_pic_CXX='-pic'
13645 ;;
13646 *)
13647 ;;
13648 esac
13649 ;;
13650 freebsd* | dragonfly*)
13651 # FreeBSD uses GNU C++
13652 ;;
13653 hpux9* | hpux10* | hpux11*)
13654 case $cc_basename in
13655 CC*)
13656 lt_prog_compiler_wl_CXX='-Wl,'
13657 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13658 if test "$host_cpu" != ia64; then
13659 lt_prog_compiler_pic_CXX='+Z'
13660 fi
13661 ;;
13662 aCC*)
13663 lt_prog_compiler_wl_CXX='-Wl,'
13664 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13665 case $host_cpu in
13666 hppa*64*|ia64*)
13667 # +Z the default
13668 ;;
13669 *)
13670 lt_prog_compiler_pic_CXX='+Z'
13671 ;;
13672 esac
13673 ;;
13674 *)
13675 ;;
13676 esac
13677 ;;
13678 interix*)
13679 # This is c89, which is MS Visual C++ (no shared libs)
13680 # Anyone wants to do a port?
13681 ;;
13682 irix5* | irix6* | nonstopux*)
13683 case $cc_basename in
13684 CC*)
13685 lt_prog_compiler_wl_CXX='-Wl,'
13686 lt_prog_compiler_static_CXX='-non_shared'
13687 # CC pic flag -KPIC is the default.
13688 ;;
13689 *)
13690 ;;
13691 esac
13692 ;;
13693 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13694 case $cc_basename in
13695 KCC*)
13696 # KAI C++ Compiler
13697 lt_prog_compiler_wl_CXX='--backend -Wl,'
13698 lt_prog_compiler_pic_CXX='-fPIC'
13699 ;;
13700 ecpc* )
13701 # old Intel C++ for x86_64 which still supported -KPIC.
13702 lt_prog_compiler_wl_CXX='-Wl,'
13703 lt_prog_compiler_pic_CXX='-KPIC'
13704 lt_prog_compiler_static_CXX='-static'
13705 ;;
13706 icpc* )
13707 # Intel C++, used to be incompatible with GCC.
13708 # ICC 10 doesn't accept -KPIC any more.
13709 lt_prog_compiler_wl_CXX='-Wl,'
13710 lt_prog_compiler_pic_CXX='-fPIC'
13711 lt_prog_compiler_static_CXX='-static'
13712 ;;
13713 pgCC* | pgcpp*)
13714 # Portland Group C++ compiler
13715 lt_prog_compiler_wl_CXX='-Wl,'
13716 lt_prog_compiler_pic_CXX='-fpic'
13717 lt_prog_compiler_static_CXX='-Bstatic'
13718 ;;
13719 cxx*)
13720 # Compaq C++
13721 # Make sure the PIC flag is empty. It appears that all Alpha
13722 # Linux and Compaq Tru64 Unix objects are PIC.
13723 lt_prog_compiler_pic_CXX=
13724 lt_prog_compiler_static_CXX='-non_shared'
13725 ;;
13726 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13727 # IBM XL 8.0, 9.0 on PPC and BlueGene
13728 lt_prog_compiler_wl_CXX='-Wl,'
13729 lt_prog_compiler_pic_CXX='-qpic'
13730 lt_prog_compiler_static_CXX='-qstaticlink'
13731 ;;
13732 *)
13733 case `$CC -V 2>&1 | sed 5q` in
13734 *Sun\ C*)
13735 # Sun C++ 5.9
13736 lt_prog_compiler_pic_CXX='-KPIC'
13737 lt_prog_compiler_static_CXX='-Bstatic'
13738 lt_prog_compiler_wl_CXX='-Qoption ld '
13739 ;;
13740 esac
13741 ;;
13742 esac
13743 ;;
13744 lynxos*)
13745 ;;
13746 m88k*)
13747 ;;
13748 mvs*)
13749 case $cc_basename in
13750 cxx*)
13751 lt_prog_compiler_pic_CXX='-W c,exportall'
13752 ;;
13753 *)
13754 ;;
13755 esac
13756 ;;
13757 netbsd* | netbsdelf*-gnu)
13758 ;;
13759 *qnx* | *nto*)
13760 # QNX uses GNU C++, but need to define -shared option too, otherwise
13761 # it will coredump.
13762 lt_prog_compiler_pic_CXX='-fPIC -shared'
13763 ;;
13764 osf3* | osf4* | osf5*)
13765 case $cc_basename in
13766 KCC*)
13767 lt_prog_compiler_wl_CXX='--backend -Wl,'
13768 ;;
13769 RCC*)
13770 # Rational C++ 2.4.1
13771 lt_prog_compiler_pic_CXX='-pic'
13772 ;;
13773 cxx*)
13774 # Digital/Compaq C++
13775 lt_prog_compiler_wl_CXX='-Wl,'
13776 # Make sure the PIC flag is empty. It appears that all Alpha
13777 # Linux and Compaq Tru64 Unix objects are PIC.
13778 lt_prog_compiler_pic_CXX=
13779 lt_prog_compiler_static_CXX='-non_shared'
13780 ;;
13781 *)
13782 ;;
13783 esac
13784 ;;
13785 psos*)
13786 ;;
13787 solaris*)
13788 case $cc_basename in
13789 CC* | sunCC*)
13790 # Sun C++ 4.2, 5.x and Centerline C++
13791 lt_prog_compiler_pic_CXX='-KPIC'
13792 lt_prog_compiler_static_CXX='-Bstatic'
13793 lt_prog_compiler_wl_CXX='-Qoption ld '
13794 ;;
13795 gcx*)
13796 # Green Hills C++ Compiler
13797 lt_prog_compiler_pic_CXX='-PIC'
13798 ;;
13799 *)
13800 ;;
13801 esac
13802 ;;
13803 sunos4*)
13804 case $cc_basename in
13805 CC*)
13806 # Sun C++ 4.x
13807 lt_prog_compiler_pic_CXX='-pic'
13808 lt_prog_compiler_static_CXX='-Bstatic'
13809 ;;
13810 lcc*)
13811 # Lucid
13812 lt_prog_compiler_pic_CXX='-pic'
13813 ;;
13814 *)
13815 ;;
13816 esac
13817 ;;
13818 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13819 case $cc_basename in
13820 CC*)
13821 lt_prog_compiler_wl_CXX='-Wl,'
13822 lt_prog_compiler_pic_CXX='-KPIC'
13823 lt_prog_compiler_static_CXX='-Bstatic'
13824 ;;
13825 esac
13826 ;;
13827 tandem*)
13828 case $cc_basename in
13829 NCC*)
13830 # NonStop-UX NCC 3.20
13831 lt_prog_compiler_pic_CXX='-KPIC'
13832 ;;
13833 *)
13834 ;;
13835 esac
13836 ;;
13837 vxworks*)
13838 ;;
13839 *)
13840 lt_prog_compiler_can_build_shared_CXX=no
13841 ;;
13842 esac
13843 fi
13844
13845 case $host_os in
13846 # For platforms which do not support PIC, -DPIC is meaningless:
13847 *djgpp*)
13848 lt_prog_compiler_pic_CXX=
13849 ;;
13850 *)
13851 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13852 ;;
13853 esac
13854
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13856 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13857 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13858 $as_echo_n "(cached) " >&6
13859 else
13860 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13861 fi
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13863 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13864 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13865
13866 #
13867 # Check to make sure the PIC flag actually works.
13868 #
13869 if test -n "$lt_prog_compiler_pic_CXX"; then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13871 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13872 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 lt_cv_prog_compiler_pic_works_CXX=no
13876 ac_outfile=conftest.$ac_objext
13877 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13878 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13879 # Insert the option either (1) after the last *FLAGS variable, or
13880 # (2) before a word containing "conftest.", or (3) at the end.
13881 # Note that $ac_compile itself does not contain backslashes and begins
13882 # with a dollar sign (not a hyphen), so the echo should work correctly.
13883 # The option is referenced via a variable to avoid confusing sed.
13884 lt_compile=`echo "$ac_compile" | $SED \
13885 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13886 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13887 -e 's:$: $lt_compiler_flag:'`
13888 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13889 (eval "$lt_compile" 2>conftest.err)
13890 ac_status=$?
13891 cat conftest.err >&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 if (exit $ac_status) && test -s "$ac_outfile"; then
13894 # The compiler can only warn and ignore the option if not recognized
13895 # So say no if there are warnings other than the usual output.
13896 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13898 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_pic_works_CXX=yes
13900 fi
13901 fi
13902 $RM conftest*
13903
13904 fi
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13906 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13907
13908 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13909 case $lt_prog_compiler_pic_CXX in
13910 "" | " "*) ;;
13911 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13912 esac
13913 else
13914 lt_prog_compiler_pic_CXX=
13915 lt_prog_compiler_can_build_shared_CXX=no
13916 fi
13917
13918 fi
13919
13920
13921
13922
13923
13924 #
13925 # Check to make sure the static flag actually works.
13926 #
13927 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13929 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13930 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13931 $as_echo_n "(cached) " >&6
13932 else
13933 lt_cv_prog_compiler_static_works_CXX=no
13934 save_LDFLAGS="$LDFLAGS"
13935 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13936 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13937 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13938 # The linker can only warn and ignore the option if not recognized
13939 # So say no if there are warnings
13940 if test -s conftest.err; then
13941 # Append any errors to the config.log.
13942 cat conftest.err 1>&5
13943 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13944 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13945 if diff conftest.exp conftest.er2 >/dev/null; then
13946 lt_cv_prog_compiler_static_works_CXX=yes
13947 fi
13948 else
13949 lt_cv_prog_compiler_static_works_CXX=yes
13950 fi
13951 fi
13952 $RM -r conftest*
13953 LDFLAGS="$save_LDFLAGS"
13954
13955 fi
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13957 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13958
13959 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13960 :
13961 else
13962 lt_prog_compiler_static_CXX=
13963 fi
13964
13965
13966
13967
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13970 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13971 $as_echo_n "(cached) " >&6
13972 else
13973 lt_cv_prog_compiler_c_o_CXX=no
13974 $RM -r conftest 2>/dev/null
13975 mkdir conftest
13976 cd conftest
13977 mkdir out
13978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13979
13980 lt_compiler_flag="-o out/conftest2.$ac_objext"
13981 # Insert the option either (1) after the last *FLAGS variable, or
13982 # (2) before a word containing "conftest.", or (3) at the end.
13983 # Note that $ac_compile itself does not contain backslashes and begins
13984 # with a dollar sign (not a hyphen), so the echo should work correctly.
13985 lt_compile=`echo "$ac_compile" | $SED \
13986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13988 -e 's:$: $lt_compiler_flag:'`
13989 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13990 (eval "$lt_compile" 2>out/conftest.err)
13991 ac_status=$?
13992 cat out/conftest.err >&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13995 then
13996 # The compiler can only warn and ignore the option if not recognized
13997 # So say no if there are warnings
13998 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13999 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14000 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14001 lt_cv_prog_compiler_c_o_CXX=yes
14002 fi
14003 fi
14004 chmod u+w . 2>&5
14005 $RM conftest*
14006 # SGI C++ compiler will create directory out/ii_files/ for
14007 # template instantiation
14008 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14009 $RM out/* && rmdir out
14010 cd ..
14011 $RM -r conftest
14012 $RM conftest*
14013
14014 fi
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14016 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14017
14018
14019
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14022 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14023 $as_echo_n "(cached) " >&6
14024 else
14025 lt_cv_prog_compiler_c_o_CXX=no
14026 $RM -r conftest 2>/dev/null
14027 mkdir conftest
14028 cd conftest
14029 mkdir out
14030 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14031
14032 lt_compiler_flag="-o out/conftest2.$ac_objext"
14033 # Insert the option either (1) after the last *FLAGS variable, or
14034 # (2) before a word containing "conftest.", or (3) at the end.
14035 # Note that $ac_compile itself does not contain backslashes and begins
14036 # with a dollar sign (not a hyphen), so the echo should work correctly.
14037 lt_compile=`echo "$ac_compile" | $SED \
14038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14040 -e 's:$: $lt_compiler_flag:'`
14041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14042 (eval "$lt_compile" 2>out/conftest.err)
14043 ac_status=$?
14044 cat out/conftest.err >&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14047 then
14048 # The compiler can only warn and ignore the option if not recognized
14049 # So say no if there are warnings
14050 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14051 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14052 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14053 lt_cv_prog_compiler_c_o_CXX=yes
14054 fi
14055 fi
14056 chmod u+w . 2>&5
14057 $RM conftest*
14058 # SGI C++ compiler will create directory out/ii_files/ for
14059 # template instantiation
14060 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14061 $RM out/* && rmdir out
14062 cd ..
14063 $RM -r conftest
14064 $RM conftest*
14065
14066 fi
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14068 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14069
14070
14071
14072
14073 hard_links="nottested"
14074 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14075 # do not overwrite the value of need_locks provided by the user
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14077 $as_echo_n "checking if we can lock with hard links... " >&6; }
14078 hard_links=yes
14079 $RM conftest*
14080 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14081 touch conftest.a
14082 ln conftest.a conftest.b 2>&5 || hard_links=no
14083 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14085 $as_echo "$hard_links" >&6; }
14086 if test "$hard_links" = no; then
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14088 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14089 need_locks=warn
14090 fi
14091 else
14092 need_locks=no
14093 fi
14094
14095
14096
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14099
14100 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14101 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14102 case $host_os in
14103 aix[4-9]*)
14104 # If we're using GNU nm, then we don't want the "-C" option.
14105 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14106 # Also, AIX nm treats weak defined symbols like other global defined
14107 # symbols, whereas GNU nm marks them as "W".
14108 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14109 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'
14110 else
14111 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'
14112 fi
14113 ;;
14114 pw32*)
14115 export_symbols_cmds_CXX="$ltdll_cmds"
14116 ;;
14117 cygwin* | mingw* | cegcc*)
14118 case $cc_basename in
14119 cl*)
14120 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14121 ;;
14122 *)
14123 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'
14124 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14125 ;;
14126 esac
14127 ;;
14128 linux* | k*bsd*-gnu | gnu*)
14129 link_all_deplibs_CXX=no
14130 ;;
14131 *)
14132 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14133 ;;
14134 esac
14135
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14137 $as_echo "$ld_shlibs_CXX" >&6; }
14138 test "$ld_shlibs_CXX" = no && can_build_shared=no
14139
14140 with_gnu_ld_CXX=$with_gnu_ld
14141
14142
14143
14144
14145
14146
14147 #
14148 # Do we need to explicitly link libc?
14149 #
14150 case "x$archive_cmds_need_lc_CXX" in
14151 x|xyes)
14152 # Assume -lc should be added
14153 archive_cmds_need_lc_CXX=yes
14154
14155 if test "$enable_shared" = yes && test "$GCC" = yes; then
14156 case $archive_cmds_CXX in
14157 *'~'*)
14158 # FIXME: we may have to deal with multi-command sequences.
14159 ;;
14160 '$CC '*)
14161 # Test whether the compiler implicitly links with -lc since on some
14162 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14163 # to ld, don't add -lc before -lgcc.
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14165 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14166 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14167 $as_echo_n "(cached) " >&6
14168 else
14169 $RM conftest*
14170 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14171
14172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14173 (eval $ac_compile) 2>&5
14174 ac_status=$?
14175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14176 test $ac_status = 0; } 2>conftest.err; then
14177 soname=conftest
14178 lib=conftest
14179 libobjs=conftest.$ac_objext
14180 deplibs=
14181 wl=$lt_prog_compiler_wl_CXX
14182 pic_flag=$lt_prog_compiler_pic_CXX
14183 compiler_flags=-v
14184 linker_flags=-v
14185 verstring=
14186 output_objdir=.
14187 libname=conftest
14188 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14189 allow_undefined_flag_CXX=
14190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14191 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14192 ac_status=$?
14193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14194 test $ac_status = 0; }
14195 then
14196 lt_cv_archive_cmds_need_lc_CXX=no
14197 else
14198 lt_cv_archive_cmds_need_lc_CXX=yes
14199 fi
14200 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14201 else
14202 cat conftest.err 1>&5
14203 fi
14204 $RM conftest*
14205
14206 fi
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14208 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14209 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14210 ;;
14211 esac
14212 fi
14213 ;;
14214 esac
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14278 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14279
14280 library_names_spec=
14281 libname_spec='lib$name'
14282 soname_spec=
14283 shrext_cmds=".so"
14284 postinstall_cmds=
14285 postuninstall_cmds=
14286 finish_cmds=
14287 finish_eval=
14288 shlibpath_var=
14289 shlibpath_overrides_runpath=unknown
14290 version_type=none
14291 dynamic_linker="$host_os ld.so"
14292 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14293 need_lib_prefix=unknown
14294 hardcode_into_libs=no
14295
14296 # when you set need_version to no, make sure it does not cause -set_version
14297 # flags to be left without arguments
14298 need_version=unknown
14299
14300 case $host_os in
14301 aix3*)
14302 version_type=linux # correct to gnu/linux during the next big refactor
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14304 shlibpath_var=LIBPATH
14305
14306 # AIX 3 has no versioning support, so we append a major version to the name.
14307 soname_spec='${libname}${release}${shared_ext}$major'
14308 ;;
14309
14310 aix[4-9]*)
14311 version_type=linux # correct to gnu/linux during the next big refactor
14312 need_lib_prefix=no
14313 need_version=no
14314 hardcode_into_libs=yes
14315 if test "$host_cpu" = ia64; then
14316 # AIX 5 supports IA64
14317 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14318 shlibpath_var=LD_LIBRARY_PATH
14319 else
14320 # With GCC up to 2.95.x, collect2 would create an import file
14321 # for dependence libraries. The import file would start with
14322 # the line `#! .'. This would cause the generated library to
14323 # depend on `.', always an invalid library. This was fixed in
14324 # development snapshots of GCC prior to 3.0.
14325 case $host_os in
14326 aix4 | aix4.[01] | aix4.[01].*)
14327 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14328 echo ' yes '
14329 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14330 :
14331 else
14332 can_build_shared=no
14333 fi
14334 ;;
14335 esac
14336 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14337 # soname into executable. Probably we can add versioning support to
14338 # collect2, so additional links can be useful in future.
14339 if test "$aix_use_runtimelinking" = yes; then
14340 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14341 # instead of lib<name>.a to let people know that these are not
14342 # typical AIX shared libraries.
14343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14344 else
14345 # We preserve .a as extension for shared libraries through AIX4.2
14346 # and later when we are not doing run time linking.
14347 library_names_spec='${libname}${release}.a $libname.a'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 fi
14350 shlibpath_var=LIBPATH
14351 fi
14352 ;;
14353
14354 amigaos*)
14355 case $host_cpu in
14356 powerpc)
14357 # Since July 2007 AmigaOS4 officially supports .so libraries.
14358 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360 ;;
14361 m68k)
14362 library_names_spec='$libname.ixlibrary $libname.a'
14363 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14364 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'
14365 ;;
14366 esac
14367 ;;
14368
14369 beos*)
14370 library_names_spec='${libname}${shared_ext}'
14371 dynamic_linker="$host_os ld.so"
14372 shlibpath_var=LIBRARY_PATH
14373 ;;
14374
14375 bsdi[45]*)
14376 version_type=linux # correct to gnu/linux during the next big refactor
14377 need_version=no
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14381 shlibpath_var=LD_LIBRARY_PATH
14382 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14383 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14384 # the default ld.so.conf also contains /usr/contrib/lib and
14385 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14386 # libtool to hard-code these into programs
14387 ;;
14388
14389 cygwin* | mingw* | pw32* | cegcc*)
14390 version_type=windows
14391 shrext_cmds=".dll"
14392 need_version=no
14393 need_lib_prefix=no
14394
14395 case $GCC,$cc_basename in
14396 yes,*)
14397 # gcc
14398 library_names_spec='$libname.dll.a'
14399 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14400 postinstall_cmds='base_file=`basename \${file}`~
14401 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14402 dldir=$destdir/`dirname \$dlpath`~
14403 test -d \$dldir || mkdir -p \$dldir~
14404 $install_prog $dir/$dlname \$dldir/$dlname~
14405 chmod a+x \$dldir/$dlname~
14406 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14407 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14408 fi'
14409 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14410 dlpath=$dir/\$dldll~
14411 $RM \$dlpath'
14412 shlibpath_overrides_runpath=yes
14413
14414 case $host_os in
14415 cygwin*)
14416 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14417 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14418
14419 ;;
14420 mingw* | cegcc*)
14421 # MinGW DLLs use traditional 'lib' prefix
14422 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14423 ;;
14424 pw32*)
14425 # pw32 DLLs use 'pw' prefix rather than 'lib'
14426 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14427 ;;
14428 esac
14429 dynamic_linker='Win32 ld.exe'
14430 ;;
14431
14432 *,cl*)
14433 # Native MSVC
14434 libname_spec='$name'
14435 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14436 library_names_spec='${libname}.dll.lib'
14437
14438 case $build_os in
14439 mingw*)
14440 sys_lib_search_path_spec=
14441 lt_save_ifs=$IFS
14442 IFS=';'
14443 for lt_path in $LIB
14444 do
14445 IFS=$lt_save_ifs
14446 # Let DOS variable expansion print the short 8.3 style file name.
14447 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14448 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14449 done
14450 IFS=$lt_save_ifs
14451 # Convert to MSYS style.
14452 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14453 ;;
14454 cygwin*)
14455 # Convert to unix form, then to dos form, then back to unix form
14456 # but this time dos style (no spaces!) so that the unix form looks
14457 # like /cygdrive/c/PROGRA~1:/cygdr...
14458 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14459 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14460 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14461 ;;
14462 *)
14463 sys_lib_search_path_spec="$LIB"
14464 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14465 # It is most probably a Windows format PATH.
14466 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14467 else
14468 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14469 fi
14470 # FIXME: find the short name or the path components, as spaces are
14471 # common. (e.g. "Program Files" -> "PROGRA~1")
14472 ;;
14473 esac
14474
14475 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14476 postinstall_cmds='base_file=`basename \${file}`~
14477 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14478 dldir=$destdir/`dirname \$dlpath`~
14479 test -d \$dldir || mkdir -p \$dldir~
14480 $install_prog $dir/$dlname \$dldir/$dlname'
14481 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14482 dlpath=$dir/\$dldll~
14483 $RM \$dlpath'
14484 shlibpath_overrides_runpath=yes
14485 dynamic_linker='Win32 link.exe'
14486 ;;
14487
14488 *)
14489 # Assume MSVC wrapper
14490 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14491 dynamic_linker='Win32 ld.exe'
14492 ;;
14493 esac
14494 # FIXME: first we should search . and the directory the executable is in
14495 shlibpath_var=PATH
14496 ;;
14497
14498 darwin* | rhapsody*)
14499 dynamic_linker="$host_os dyld"
14500 version_type=darwin
14501 need_lib_prefix=no
14502 need_version=no
14503 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14504 soname_spec='${libname}${release}${major}$shared_ext'
14505 shlibpath_overrides_runpath=yes
14506 shlibpath_var=DYLD_LIBRARY_PATH
14507 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14508
14509 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14510 ;;
14511
14512 dgux*)
14513 version_type=linux # correct to gnu/linux during the next big refactor
14514 need_lib_prefix=no
14515 need_version=no
14516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14517 soname_spec='${libname}${release}${shared_ext}$major'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 ;;
14520
14521 freebsd* | dragonfly*)
14522 # DragonFly does not have aout. When/if they implement a new
14523 # versioning mechanism, adjust this.
14524 if test -x /usr/bin/objformat; then
14525 objformat=`/usr/bin/objformat`
14526 else
14527 case $host_os in
14528 freebsd[23].*) objformat=aout ;;
14529 *) objformat=elf ;;
14530 esac
14531 fi
14532 version_type=freebsd-$objformat
14533 case $version_type in
14534 freebsd-elf*)
14535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14536 need_version=no
14537 need_lib_prefix=no
14538 ;;
14539 freebsd-*)
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14541 need_version=yes
14542 ;;
14543 esac
14544 shlibpath_var=LD_LIBRARY_PATH
14545 case $host_os in
14546 freebsd2.*)
14547 shlibpath_overrides_runpath=yes
14548 ;;
14549 freebsd3.[01]* | freebsdelf3.[01]*)
14550 shlibpath_overrides_runpath=yes
14551 hardcode_into_libs=yes
14552 ;;
14553 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14554 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14555 shlibpath_overrides_runpath=no
14556 hardcode_into_libs=yes
14557 ;;
14558 *) # from 4.6 on, and DragonFly
14559 shlibpath_overrides_runpath=yes
14560 hardcode_into_libs=yes
14561 ;;
14562 esac
14563 ;;
14564
14565 haiku*)
14566 version_type=linux # correct to gnu/linux during the next big refactor
14567 need_lib_prefix=no
14568 need_version=no
14569 dynamic_linker="$host_os runtime_loader"
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14571 soname_spec='${libname}${release}${shared_ext}$major'
14572 shlibpath_var=LIBRARY_PATH
14573 shlibpath_overrides_runpath=yes
14574 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14575 hardcode_into_libs=yes
14576 ;;
14577
14578 hpux9* | hpux10* | hpux11*)
14579 # Give a soname corresponding to the major version so that dld.sl refuses to
14580 # link against other versions.
14581 version_type=sunos
14582 need_lib_prefix=no
14583 need_version=no
14584 case $host_cpu in
14585 ia64*)
14586 shrext_cmds='.so'
14587 hardcode_into_libs=yes
14588 dynamic_linker="$host_os dld.so"
14589 shlibpath_var=LD_LIBRARY_PATH
14590 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592 soname_spec='${libname}${release}${shared_ext}$major'
14593 if test "X$HPUX_IA64_MODE" = X32; then
14594 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14595 else
14596 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14597 fi
14598 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14599 ;;
14600 hppa*64*)
14601 shrext_cmds='.sl'
14602 hardcode_into_libs=yes
14603 dynamic_linker="$host_os dld.sl"
14604 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14605 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607 soname_spec='${libname}${release}${shared_ext}$major'
14608 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14609 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14610 ;;
14611 *)
14612 shrext_cmds='.sl'
14613 dynamic_linker="$host_os dld.sl"
14614 shlibpath_var=SHLIB_PATH
14615 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14617 soname_spec='${libname}${release}${shared_ext}$major'
14618 ;;
14619 esac
14620 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14621 postinstall_cmds='chmod 555 $lib'
14622 # or fails outright, so override atomically:
14623 install_override_mode=555
14624 ;;
14625
14626 interix[3-9]*)
14627 version_type=linux # correct to gnu/linux during the next big refactor
14628 need_lib_prefix=no
14629 need_version=no
14630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14631 soname_spec='${libname}${release}${shared_ext}$major'
14632 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14633 shlibpath_var=LD_LIBRARY_PATH
14634 shlibpath_overrides_runpath=no
14635 hardcode_into_libs=yes
14636 ;;
14637
14638 irix5* | irix6* | nonstopux*)
14639 case $host_os in
14640 nonstopux*) version_type=nonstopux ;;
14641 *)
14642 if test "$lt_cv_prog_gnu_ld" = yes; then
14643 version_type=linux # correct to gnu/linux during the next big refactor
14644 else
14645 version_type=irix
14646 fi ;;
14647 esac
14648 need_lib_prefix=no
14649 need_version=no
14650 soname_spec='${libname}${release}${shared_ext}$major'
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14652 case $host_os in
14653 irix5* | nonstopux*)
14654 libsuff= shlibsuff=
14655 ;;
14656 *)
14657 case $LD in # libtool.m4 will add one of these switches to LD
14658 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14659 libsuff= shlibsuff= libmagic=32-bit;;
14660 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14661 libsuff=32 shlibsuff=N32 libmagic=N32;;
14662 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14663 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14664 *) libsuff= shlibsuff= libmagic=never-match;;
14665 esac
14666 ;;
14667 esac
14668 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14669 shlibpath_overrides_runpath=no
14670 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14671 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14672 hardcode_into_libs=yes
14673 ;;
14674
14675 # No shared lib support for Linux oldld, aout, or coff.
14676 linux*oldld* | linux*aout* | linux*coff*)
14677 dynamic_linker=no
14678 ;;
14679
14680 # This must be glibc/ELF.
14681 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14682 version_type=linux # correct to gnu/linux during the next big refactor
14683 need_lib_prefix=no
14684 need_version=no
14685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14686 soname_spec='${libname}${release}${shared_ext}$major'
14687 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14688 shlibpath_var=LD_LIBRARY_PATH
14689 shlibpath_overrides_runpath=no
14690
14691 # Some binutils ld are patched to set DT_RUNPATH
14692 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 lt_cv_shlibpath_overrides_runpath=no
14696 save_LDFLAGS=$LDFLAGS
14697 save_libdir=$libdir
14698 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14699 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702
14703 int
14704 main ()
14705 {
14706
14707 ;
14708 return 0;
14709 }
14710 _ACEOF
14711 if ac_fn_cxx_try_link "$LINENO"; then :
14712 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14713 lt_cv_shlibpath_overrides_runpath=yes
14714 fi
14715 fi
14716 rm -f core conftest.err conftest.$ac_objext \
14717 conftest$ac_exeext conftest.$ac_ext
14718 LDFLAGS=$save_LDFLAGS
14719 libdir=$save_libdir
14720
14721 fi
14722
14723 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14724
14725 # This implies no fast_install, which is unacceptable.
14726 # Some rework will be needed to allow for fast_install
14727 # before this can be enabled.
14728 hardcode_into_libs=yes
14729
14730 # Append ld.so.conf contents to the search path
14731 if test -f /etc/ld.so.conf; then
14732 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' ' '`
14733 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14734 fi
14735
14736 # We used to test for /lib/ld.so.1 and disable shared libraries on
14737 # powerpc, because MkLinux only supported shared libraries with the
14738 # GNU dynamic linker. Since this was broken with cross compilers,
14739 # most powerpc-linux boxes support dynamic linking these days and
14740 # people can always --disable-shared, the test was removed, and we
14741 # assume the GNU/Linux dynamic linker is in use.
14742 dynamic_linker='GNU/Linux ld.so'
14743 ;;
14744
14745 netbsdelf*-gnu)
14746 version_type=linux
14747 need_lib_prefix=no
14748 need_version=no
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14750 soname_spec='${libname}${release}${shared_ext}$major'
14751 shlibpath_var=LD_LIBRARY_PATH
14752 shlibpath_overrides_runpath=no
14753 hardcode_into_libs=yes
14754 dynamic_linker='NetBSD ld.elf_so'
14755 ;;
14756
14757 netbsd*)
14758 version_type=sunos
14759 need_lib_prefix=no
14760 need_version=no
14761 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14763 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14764 dynamic_linker='NetBSD (a.out) ld.so'
14765 else
14766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14767 soname_spec='${libname}${release}${shared_ext}$major'
14768 dynamic_linker='NetBSD ld.elf_so'
14769 fi
14770 shlibpath_var=LD_LIBRARY_PATH
14771 shlibpath_overrides_runpath=yes
14772 hardcode_into_libs=yes
14773 ;;
14774
14775 newsos6)
14776 version_type=linux # correct to gnu/linux during the next big refactor
14777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14778 shlibpath_var=LD_LIBRARY_PATH
14779 shlibpath_overrides_runpath=yes
14780 ;;
14781
14782 *nto* | *qnx*)
14783 version_type=qnx
14784 need_lib_prefix=no
14785 need_version=no
14786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14787 soname_spec='${libname}${release}${shared_ext}$major'
14788 shlibpath_var=LD_LIBRARY_PATH
14789 shlibpath_overrides_runpath=no
14790 hardcode_into_libs=yes
14791 dynamic_linker='ldqnx.so'
14792 ;;
14793
14794 openbsd*)
14795 version_type=sunos
14796 sys_lib_dlsearch_path_spec="/usr/lib"
14797 need_lib_prefix=no
14798 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14799 case $host_os in
14800 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14801 *) need_version=no ;;
14802 esac
14803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14804 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14805 shlibpath_var=LD_LIBRARY_PATH
14806 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14807 case $host_os in
14808 openbsd2.[89] | openbsd2.[89].*)
14809 shlibpath_overrides_runpath=no
14810 ;;
14811 *)
14812 shlibpath_overrides_runpath=yes
14813 ;;
14814 esac
14815 else
14816 shlibpath_overrides_runpath=yes
14817 fi
14818 ;;
14819
14820 os2*)
14821 libname_spec='$name'
14822 shrext_cmds=".dll"
14823 need_lib_prefix=no
14824 library_names_spec='$libname${shared_ext} $libname.a'
14825 dynamic_linker='OS/2 ld.exe'
14826 shlibpath_var=LIBPATH
14827 ;;
14828
14829 osf3* | osf4* | osf5*)
14830 version_type=osf
14831 need_lib_prefix=no
14832 need_version=no
14833 soname_spec='${libname}${release}${shared_ext}$major'
14834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14835 shlibpath_var=LD_LIBRARY_PATH
14836 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14837 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14838 ;;
14839
14840 rdos*)
14841 dynamic_linker=no
14842 ;;
14843
14844 solaris*)
14845 version_type=linux # correct to gnu/linux during the next big refactor
14846 need_lib_prefix=no
14847 need_version=no
14848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14849 soname_spec='${libname}${release}${shared_ext}$major'
14850 shlibpath_var=LD_LIBRARY_PATH
14851 shlibpath_overrides_runpath=yes
14852 hardcode_into_libs=yes
14853 # ldd complains unless libraries are executable
14854 postinstall_cmds='chmod +x $lib'
14855 ;;
14856
14857 sunos4*)
14858 version_type=sunos
14859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14860 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14861 shlibpath_var=LD_LIBRARY_PATH
14862 shlibpath_overrides_runpath=yes
14863 if test "$with_gnu_ld" = yes; then
14864 need_lib_prefix=no
14865 fi
14866 need_version=yes
14867 ;;
14868
14869 sysv4 | sysv4.3*)
14870 version_type=linux # correct to gnu/linux during the next big refactor
14871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14872 soname_spec='${libname}${release}${shared_ext}$major'
14873 shlibpath_var=LD_LIBRARY_PATH
14874 case $host_vendor in
14875 sni)
14876 shlibpath_overrides_runpath=no
14877 need_lib_prefix=no
14878 runpath_var=LD_RUN_PATH
14879 ;;
14880 siemens)
14881 need_lib_prefix=no
14882 ;;
14883 motorola)
14884 need_lib_prefix=no
14885 need_version=no
14886 shlibpath_overrides_runpath=no
14887 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14888 ;;
14889 esac
14890 ;;
14891
14892 sysv4*MP*)
14893 if test -d /usr/nec ;then
14894 version_type=linux # correct to gnu/linux during the next big refactor
14895 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14896 soname_spec='$libname${shared_ext}.$major'
14897 shlibpath_var=LD_LIBRARY_PATH
14898 fi
14899 ;;
14900
14901 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14902 version_type=freebsd-elf
14903 need_lib_prefix=no
14904 need_version=no
14905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14906 soname_spec='${libname}${release}${shared_ext}$major'
14907 shlibpath_var=LD_LIBRARY_PATH
14908 shlibpath_overrides_runpath=yes
14909 hardcode_into_libs=yes
14910 if test "$with_gnu_ld" = yes; then
14911 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14912 else
14913 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14914 case $host_os in
14915 sco3.2v5*)
14916 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14917 ;;
14918 esac
14919 fi
14920 sys_lib_dlsearch_path_spec='/usr/lib'
14921 ;;
14922
14923 tpf*)
14924 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14925 version_type=linux # correct to gnu/linux during the next big refactor
14926 need_lib_prefix=no
14927 need_version=no
14928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14929 shlibpath_var=LD_LIBRARY_PATH
14930 shlibpath_overrides_runpath=no
14931 hardcode_into_libs=yes
14932 ;;
14933
14934 uts4*)
14935 version_type=linux # correct to gnu/linux during the next big refactor
14936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14937 soname_spec='${libname}${release}${shared_ext}$major'
14938 shlibpath_var=LD_LIBRARY_PATH
14939 ;;
14940
14941 *)
14942 dynamic_linker=no
14943 ;;
14944 esac
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14946 $as_echo "$dynamic_linker" >&6; }
14947 test "$dynamic_linker" = no && can_build_shared=no
14948
14949 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14950 if test "$GCC" = yes; then
14951 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14952 fi
14953
14954 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14955 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14956 fi
14957 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14958 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14959 fi
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14999 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15000 hardcode_action_CXX=
15001 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15002 test -n "$runpath_var_CXX" ||
15003 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15004
15005 # We can hardcode non-existent directories.
15006 if test "$hardcode_direct_CXX" != no &&
15007 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15008 # have to relink, otherwise we might link with an installed library
15009 # when we should be linking with a yet-to-be-installed one
15010 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15011 test "$hardcode_minus_L_CXX" != no; then
15012 # Linking always hardcodes the temporary library directory.
15013 hardcode_action_CXX=relink
15014 else
15015 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15016 hardcode_action_CXX=immediate
15017 fi
15018 else
15019 # We cannot hardcode anything, or else we can only hardcode existing
15020 # directories.
15021 hardcode_action_CXX=unsupported
15022 fi
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15024 $as_echo "$hardcode_action_CXX" >&6; }
15025
15026 if test "$hardcode_action_CXX" = relink ||
15027 test "$inherit_rpath_CXX" = yes; then
15028 # Fast installation is not supported
15029 enable_fast_install=no
15030 elif test "$shlibpath_overrides_runpath" = yes ||
15031 test "$enable_shared" = no; then
15032 # Fast installation is not necessary
15033 enable_fast_install=needless
15034 fi
15035
15036
15037
15038
15039
15040
15041
15042 fi # test -n "$compiler"
15043
15044 CC=$lt_save_CC
15045 CFLAGS=$lt_save_CFLAGS
15046 LDCXX=$LD
15047 LD=$lt_save_LD
15048 GCC=$lt_save_GCC
15049 with_gnu_ld=$lt_save_with_gnu_ld
15050 lt_cv_path_LDCXX=$lt_cv_path_LD
15051 lt_cv_path_LD=$lt_save_path_LD
15052 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15053 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15054 fi # test "$_lt_caught_CXX_error" != yes
15055
15056 ac_ext=c
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076 ac_config_commands="$ac_config_commands libtool"
15077
15078
15079
15080
15081 # Only expand once:
15082
15083
15084 for ac_prog in 'bison -y' byacc
15085 do
15086 # Extract the first word of "$ac_prog", so it can be a program name with args.
15087 set dummy $ac_prog; ac_word=$2
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15089 $as_echo_n "checking for $ac_word... " >&6; }
15090 if ${ac_cv_prog_YACC+:} false; then :
15091 $as_echo_n "(cached) " >&6
15092 else
15093 if test -n "$YACC"; then
15094 ac_cv_prog_YACC="$YACC" # Let the user override the test.
15095 else
15096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15097 for as_dir in $PATH
15098 do
15099 IFS=$as_save_IFS
15100 test -z "$as_dir" && as_dir=.
15101 for ac_exec_ext in '' $ac_executable_extensions; do
15102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15103 ac_cv_prog_YACC="$ac_prog"
15104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15105 break 2
15106 fi
15107 done
15108 done
15109 IFS=$as_save_IFS
15110
15111 fi
15112 fi
15113 YACC=$ac_cv_prog_YACC
15114 if test -n "$YACC"; then
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
15116 $as_echo "$YACC" >&6; }
15117 else
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15119 $as_echo "no" >&6; }
15120 fi
15121
15122
15123 test -n "$YACC" && break
15124 done
15125 test -n "$YACC" || YACC="yacc"
15126
15127 for ac_prog in flex lex
15128 do
15129 # Extract the first word of "$ac_prog", so it can be a program name with args.
15130 set dummy $ac_prog; ac_word=$2
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15132 $as_echo_n "checking for $ac_word... " >&6; }
15133 if ${ac_cv_prog_LEX+:} false; then :
15134 $as_echo_n "(cached) " >&6
15135 else
15136 if test -n "$LEX"; then
15137 ac_cv_prog_LEX="$LEX" # Let the user override the test.
15138 else
15139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15140 for as_dir in $PATH
15141 do
15142 IFS=$as_save_IFS
15143 test -z "$as_dir" && as_dir=.
15144 for ac_exec_ext in '' $ac_executable_extensions; do
15145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15146 ac_cv_prog_LEX="$ac_prog"
15147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15148 break 2
15149 fi
15150 done
15151 done
15152 IFS=$as_save_IFS
15153
15154 fi
15155 fi
15156 LEX=$ac_cv_prog_LEX
15157 if test -n "$LEX"; then
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
15159 $as_echo "$LEX" >&6; }
15160 else
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15162 $as_echo "no" >&6; }
15163 fi
15164
15165
15166 test -n "$LEX" && break
15167 done
15168 test -n "$LEX" || LEX=":"
15169
15170 if test "x$LEX" != "x:"; then
15171 cat >conftest.l <<_ACEOF
15172 %%
15173 a { ECHO; }
15174 b { REJECT; }
15175 c { yymore (); }
15176 d { yyless (1); }
15177 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
15178 yyless ((input () != 0)); }
15179 f { unput (yytext[0]); }
15180 . { BEGIN INITIAL; }
15181 %%
15182 #ifdef YYTEXT_POINTER
15183 extern char *yytext;
15184 #endif
15185 int
15186 main (void)
15187 {
15188 return ! yylex () + ! yywrap ();
15189 }
15190 _ACEOF
15191 { { ac_try="$LEX conftest.l"
15192 case "(($ac_try" in
15193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15194 *) ac_try_echo=$ac_try;;
15195 esac
15196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15197 $as_echo "$ac_try_echo"; } >&5
15198 (eval "$LEX conftest.l") 2>&5
15199 ac_status=$?
15200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15201 test $ac_status = 0; }
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
15203 $as_echo_n "checking lex output file root... " >&6; }
15204 if ${ac_cv_prog_lex_root+:} false; then :
15205 $as_echo_n "(cached) " >&6
15206 else
15207
15208 if test -f lex.yy.c; then
15209 ac_cv_prog_lex_root=lex.yy
15210 elif test -f lexyy.c; then
15211 ac_cv_prog_lex_root=lexyy
15212 else
15213 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
15214 fi
15215 fi
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
15217 $as_echo "$ac_cv_prog_lex_root" >&6; }
15218 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
15219
15220 if test -z "${LEXLIB+set}"; then
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
15222 $as_echo_n "checking lex library... " >&6; }
15223 if ${ac_cv_lib_lex+:} false; then :
15224 $as_echo_n "(cached) " >&6
15225 else
15226
15227 ac_save_LIBS=$LIBS
15228 ac_cv_lib_lex='none needed'
15229 for ac_lib in '' -lfl -ll; do
15230 LIBS="$ac_lib $ac_save_LIBS"
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15233 `cat $LEX_OUTPUT_ROOT.c`
15234 _ACEOF
15235 if ac_fn_c_try_link "$LINENO"; then :
15236 ac_cv_lib_lex=$ac_lib
15237 fi
15238 rm -f core conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15240 test "$ac_cv_lib_lex" != 'none needed' && break
15241 done
15242 LIBS=$ac_save_LIBS
15243
15244 fi
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
15246 $as_echo "$ac_cv_lib_lex" >&6; }
15247 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
15248 fi
15249
15250
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
15252 $as_echo_n "checking whether yytext is a pointer... " >&6; }
15253 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
15254 $as_echo_n "(cached) " >&6
15255 else
15256 # POSIX says lex can declare yytext either as a pointer or an array; the
15257 # default is implementation-dependent. Figure out which it is, since
15258 # not all implementations provide the %pointer and %array declarations.
15259 ac_cv_prog_lex_yytext_pointer=no
15260 ac_save_LIBS=$LIBS
15261 LIBS="$LEXLIB $ac_save_LIBS"
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264
15265 #define YYTEXT_POINTER 1
15266 `cat $LEX_OUTPUT_ROOT.c`
15267 _ACEOF
15268 if ac_fn_c_try_link "$LINENO"; then :
15269 ac_cv_prog_lex_yytext_pointer=yes
15270 fi
15271 rm -f core conftest.err conftest.$ac_objext \
15272 conftest$ac_exeext conftest.$ac_ext
15273 LIBS=$ac_save_LIBS
15274
15275 fi
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
15277 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
15278 if test $ac_cv_prog_lex_yytext_pointer = yes; then
15279
15280 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
15281
15282 fi
15283 rm -f conftest.l $LEX_OUTPUT_ROOT.c
15284
15285 fi
15286 ac_ext=cpp
15287 ac_cpp='$CXXCPP $CPPFLAGS'
15288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15291
15292
15293 for ac_header in rostlab/aux_functions.h rostlab/rostlab_stdexcept.h
15294 do :
15295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15296 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15297 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15298 cat >>confdefs.h <<_ACEOF
15299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15300 _ACEOF
15301
15302 else
15303 echo "required header is missing - please install librostlab" >&2; exit 1;
15304 fi
15305
15306 done
15307
15308
15309
15310
15311
15312 # Files:
15313 DX_PROJECT=librostlab-blast
15314
15315 DX_CONFIG=Doxyfile
15316
15317 DX_DOCDIR=../doxygen-doc
15318
15319
15320 # Environment variables used inside doxygen.cfg:
15321 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
15322
15323 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
15324
15325 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
15326
15327 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
15328
15329
15330 # Doxygen itself:
15331
15332
15333
15334 # Check whether --enable-doxygen-doc was given.
15335 if test "${enable_doxygen_doc+set}" = set; then :
15336 enableval=$enable_doxygen_doc;
15337 case "$enableval" in
15338 #(
15339 y|Y|yes|Yes|YES)
15340 DX_FLAG_doc=1
15341
15342
15343 ;; #(
15344 n|N|no|No|NO)
15345 DX_FLAG_doc=0
15346
15347 ;; #(
15348 *)
15349 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
15350 ;;
15351 esac
15352
15353 else
15354
15355 DX_FLAG_doc=1
15356
15357
15358
15359 fi
15360
15361 if test "$DX_FLAG_doc" = 1; then
15362
15363 if test -n "$ac_tool_prefix"; then
15364 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
15365 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15367 $as_echo_n "checking for $ac_word... " >&6; }
15368 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 case $DX_DOXYGEN in
15372 [\\/]* | ?:[\\/]*)
15373 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
15374 ;;
15375 *)
15376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15377 for as_dir in $PATH
15378 do
15379 IFS=$as_save_IFS
15380 test -z "$as_dir" && as_dir=.
15381 for ac_exec_ext in '' $ac_executable_extensions; do
15382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15383 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15385 break 2
15386 fi
15387 done
15388 done
15389 IFS=$as_save_IFS
15390
15391 ;;
15392 esac
15393 fi
15394 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
15395 if test -n "$DX_DOXYGEN"; then
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
15397 $as_echo "$DX_DOXYGEN" >&6; }
15398 else
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15400 $as_echo "no" >&6; }
15401 fi
15402
15403
15404 fi
15405 if test -z "$ac_cv_path_DX_DOXYGEN"; then
15406 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
15407 # Extract the first word of "doxygen", so it can be a program name with args.
15408 set dummy doxygen; ac_word=$2
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15410 $as_echo_n "checking for $ac_word... " >&6; }
15411 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 case $ac_pt_DX_DOXYGEN in
15415 [\\/]* | ?:[\\/]*)
15416 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
15417 ;;
15418 *)
15419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15420 for as_dir in $PATH
15421 do
15422 IFS=$as_save_IFS
15423 test -z "$as_dir" && as_dir=.
15424 for ac_exec_ext in '' $ac_executable_extensions; do
15425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15426 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15428 break 2
15429 fi
15430 done
15431 done
15432 IFS=$as_save_IFS
15433
15434 ;;
15435 esac
15436 fi
15437 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
15438 if test -n "$ac_pt_DX_DOXYGEN"; then
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
15440 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
15441 else
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15443 $as_echo "no" >&6; }
15444 fi
15445
15446 if test "x$ac_pt_DX_DOXYGEN" = x; then
15447 DX_DOXYGEN=""
15448 else
15449 case $cross_compiling:$ac_tool_warned in
15450 yes:)
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15453 ac_tool_warned=yes ;;
15454 esac
15455 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
15456 fi
15457 else
15458 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
15459 fi
15460
15461 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
15463 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
15464 DX_FLAG_doc=0
15465
15466 fi
15467
15468
15469 if test -n "$ac_tool_prefix"; then
15470 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
15471 set dummy ${ac_tool_prefix}perl; ac_word=$2
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15473 $as_echo_n "checking for $ac_word... " >&6; }
15474 if ${ac_cv_path_DX_PERL+:} false; then :
15475 $as_echo_n "(cached) " >&6
15476 else
15477 case $DX_PERL in
15478 [\\/]* | ?:[\\/]*)
15479 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
15480 ;;
15481 *)
15482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15483 for as_dir in $PATH
15484 do
15485 IFS=$as_save_IFS
15486 test -z "$as_dir" && as_dir=.
15487 for ac_exec_ext in '' $ac_executable_extensions; do
15488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15489 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
15490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15491 break 2
15492 fi
15493 done
15494 done
15495 IFS=$as_save_IFS
15496
15497 ;;
15498 esac
15499 fi
15500 DX_PERL=$ac_cv_path_DX_PERL
15501 if test -n "$DX_PERL"; then
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
15503 $as_echo "$DX_PERL" >&6; }
15504 else
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15506 $as_echo "no" >&6; }
15507 fi
15508
15509
15510 fi
15511 if test -z "$ac_cv_path_DX_PERL"; then
15512 ac_pt_DX_PERL=$DX_PERL
15513 # Extract the first word of "perl", so it can be a program name with args.
15514 set dummy perl; ac_word=$2
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15516 $as_echo_n "checking for $ac_word... " >&6; }
15517 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
15518 $as_echo_n "(cached) " >&6
15519 else
15520 case $ac_pt_DX_PERL in
15521 [\\/]* | ?:[\\/]*)
15522 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
15523 ;;
15524 *)
15525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15526 for as_dir in $PATH
15527 do
15528 IFS=$as_save_IFS
15529 test -z "$as_dir" && as_dir=.
15530 for ac_exec_ext in '' $ac_executable_extensions; do
15531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15532 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
15533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15534 break 2
15535 fi
15536 done
15537 done
15538 IFS=$as_save_IFS
15539
15540 ;;
15541 esac
15542 fi
15543 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
15544 if test -n "$ac_pt_DX_PERL"; then
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
15546 $as_echo "$ac_pt_DX_PERL" >&6; }
15547 else
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15549 $as_echo "no" >&6; }
15550 fi
15551
15552 if test "x$ac_pt_DX_PERL" = x; then
15553 DX_PERL=""
15554 else
15555 case $cross_compiling:$ac_tool_warned in
15556 yes:)
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15559 ac_tool_warned=yes ;;
15560 esac
15561 DX_PERL=$ac_pt_DX_PERL
15562 fi
15563 else
15564 DX_PERL="$ac_cv_path_DX_PERL"
15565 fi
15566
15567 if test "$DX_FLAG_doc$DX_PERL" = 1; then
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
15569 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
15570 DX_FLAG_doc=0
15571
15572 fi
15573
15574 :
15575 fi
15576 if test "$DX_FLAG_doc" = 1; then
15577 DX_COND_doc_TRUE=
15578 DX_COND_doc_FALSE='#'
15579 else
15580 DX_COND_doc_TRUE='#'
15581 DX_COND_doc_FALSE=
15582 fi
15583
15584 if test "$DX_FLAG_doc" = 1; then
15585 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
15586
15587 :
15588 else
15589
15590 :
15591 fi
15592
15593
15594 # Dot for graphics:
15595
15596
15597
15598 # Check whether --enable-doxygen-dot was given.
15599 if test "${enable_doxygen_dot+set}" = set; then :
15600 enableval=$enable_doxygen_dot;
15601 case "$enableval" in
15602 #(
15603 y|Y|yes|Yes|YES)
15604 DX_FLAG_dot=1
15605
15606
15607 test "$DX_FLAG_doc" = "1" \
15608 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
15609
15610 ;; #(
15611 n|N|no|No|NO)
15612 DX_FLAG_dot=0
15613
15614 ;; #(
15615 *)
15616 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
15617 ;;
15618 esac
15619
15620 else
15621
15622 DX_FLAG_dot=1
15623
15624
15625 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
15626
15627
15628
15629 fi
15630
15631 if test "$DX_FLAG_dot" = 1; then
15632
15633 if test -n "$ac_tool_prefix"; then
15634 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
15635 set dummy ${ac_tool_prefix}dot; ac_word=$2
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15637 $as_echo_n "checking for $ac_word... " >&6; }
15638 if ${ac_cv_path_DX_DOT+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 case $DX_DOT in
15642 [\\/]* | ?:[\\/]*)
15643 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
15644 ;;
15645 *)
15646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15647 for as_dir in $PATH
15648 do
15649 IFS=$as_save_IFS
15650 test -z "$as_dir" && as_dir=.
15651 for ac_exec_ext in '' $ac_executable_extensions; do
15652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15653 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
15654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15655 break 2
15656 fi
15657 done
15658 done
15659 IFS=$as_save_IFS
15660
15661 ;;
15662 esac
15663 fi
15664 DX_DOT=$ac_cv_path_DX_DOT
15665 if test -n "$DX_DOT"; then
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
15667 $as_echo "$DX_DOT" >&6; }
15668 else
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15670 $as_echo "no" >&6; }
15671 fi
15672
15673
15674 fi
15675 if test -z "$ac_cv_path_DX_DOT"; then
15676 ac_pt_DX_DOT=$DX_DOT
15677 # Extract the first word of "dot", so it can be a program name with args.
15678 set dummy dot; ac_word=$2
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15680 $as_echo_n "checking for $ac_word... " >&6; }
15681 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
15682 $as_echo_n "(cached) " >&6
15683 else
15684 case $ac_pt_DX_DOT in
15685 [\\/]* | ?:[\\/]*)
15686 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
15687 ;;
15688 *)
15689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15690 for as_dir in $PATH
15691 do
15692 IFS=$as_save_IFS
15693 test -z "$as_dir" && as_dir=.
15694 for ac_exec_ext in '' $ac_executable_extensions; do
15695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15696 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
15697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15698 break 2
15699 fi
15700 done
15701 done
15702 IFS=$as_save_IFS
15703
15704 ;;
15705 esac
15706 fi
15707 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
15708 if test -n "$ac_pt_DX_DOT"; then
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
15710 $as_echo "$ac_pt_DX_DOT" >&6; }
15711 else
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15713 $as_echo "no" >&6; }
15714 fi
15715
15716 if test "x$ac_pt_DX_DOT" = x; then
15717 DX_DOT=""
15718 else
15719 case $cross_compiling:$ac_tool_warned in
15720 yes:)
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15723 ac_tool_warned=yes ;;
15724 esac
15725 DX_DOT=$ac_pt_DX_DOT
15726 fi
15727 else
15728 DX_DOT="$ac_cv_path_DX_DOT"
15729 fi
15730
15731 if test "$DX_FLAG_dot$DX_DOT" = 1; then
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
15733 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
15734 DX_FLAG_dot=0
15735
15736 fi
15737
15738 :
15739 fi
15740 if test "$DX_FLAG_dot" = 1; then
15741 DX_COND_dot_TRUE=
15742 DX_COND_dot_FALSE='#'
15743 else
15744 DX_COND_dot_TRUE='#'
15745 DX_COND_dot_FALSE=
15746 fi
15747
15748 if test "$DX_FLAG_dot" = 1; then
15749 DX_ENV="$DX_ENV HAVE_DOT='YES'"
15750
15751 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
15752
15753 :
15754 else
15755 DX_ENV="$DX_ENV HAVE_DOT='NO'"
15756
15757 :
15758 fi
15759
15760
15761 # Man pages generation:
15762
15763
15764
15765 # Check whether --enable-doxygen-man was given.
15766 if test "${enable_doxygen_man+set}" = set; then :
15767 enableval=$enable_doxygen_man;
15768 case "$enableval" in
15769 #(
15770 y|Y|yes|Yes|YES)
15771 DX_FLAG_man=1
15772
15773
15774 test "$DX_FLAG_doc" = "1" \
15775 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
15776
15777 ;; #(
15778 n|N|no|No|NO)
15779 DX_FLAG_man=0
15780
15781 ;; #(
15782 *)
15783 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
15784 ;;
15785 esac
15786
15787 else
15788
15789 DX_FLAG_man=0
15790
15791
15792 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
15793
15794
15795
15796 fi
15797
15798 if test "$DX_FLAG_man" = 1; then
15799
15800 :
15801 fi
15802 if test "$DX_FLAG_man" = 1; then
15803 DX_COND_man_TRUE=
15804 DX_COND_man_FALSE='#'
15805 else
15806 DX_COND_man_TRUE='#'
15807 DX_COND_man_FALSE=
15808 fi
15809
15810 if test "$DX_FLAG_man" = 1; then
15811 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
15812
15813 :
15814 else
15815 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
15816
15817 :
15818 fi
15819
15820
15821 # RTF file generation:
15822
15823
15824
15825 # Check whether --enable-doxygen-rtf was given.
15826 if test "${enable_doxygen_rtf+set}" = set; then :
15827 enableval=$enable_doxygen_rtf;
15828 case "$enableval" in
15829 #(
15830 y|Y|yes|Yes|YES)
15831 DX_FLAG_rtf=1
15832
15833
15834 test "$DX_FLAG_doc" = "1" \
15835 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
15836
15837 ;; #(
15838 n|N|no|No|NO)
15839 DX_FLAG_rtf=0
15840
15841 ;; #(
15842 *)
15843 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
15844 ;;
15845 esac
15846
15847 else
15848
15849 DX_FLAG_rtf=0
15850
15851
15852 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
15853
15854
15855
15856 fi
15857
15858 if test "$DX_FLAG_rtf" = 1; then
15859
15860 :
15861 fi
15862 if test "$DX_FLAG_rtf" = 1; then
15863 DX_COND_rtf_TRUE=
15864 DX_COND_rtf_FALSE='#'
15865 else
15866 DX_COND_rtf_TRUE='#'
15867 DX_COND_rtf_FALSE=
15868 fi
15869
15870 if test "$DX_FLAG_rtf" = 1; then
15871 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
15872
15873 :
15874 else
15875 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
15876
15877 :
15878 fi
15879
15880
15881 # XML file generation:
15882
15883
15884
15885 # Check whether --enable-doxygen-xml was given.
15886 if test "${enable_doxygen_xml+set}" = set; then :
15887 enableval=$enable_doxygen_xml;
15888 case "$enableval" in
15889 #(
15890 y|Y|yes|Yes|YES)
15891 DX_FLAG_xml=1
15892
15893
15894 test "$DX_FLAG_doc" = "1" \
15895 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
15896
15897 ;; #(
15898 n|N|no|No|NO)
15899 DX_FLAG_xml=0
15900
15901 ;; #(
15902 *)
15903 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
15904 ;;
15905 esac
15906
15907 else
15908
15909 DX_FLAG_xml=0
15910
15911
15912 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
15913
15914
15915
15916 fi
15917
15918 if test "$DX_FLAG_xml" = 1; then
15919
15920 :
15921 fi
15922 if test "$DX_FLAG_xml" = 1; then
15923 DX_COND_xml_TRUE=
15924 DX_COND_xml_FALSE='#'
15925 else
15926 DX_COND_xml_TRUE='#'
15927 DX_COND_xml_FALSE=
15928 fi
15929
15930 if test "$DX_FLAG_xml" = 1; then
15931 DX_ENV="$DX_ENV GENERATE_XML='YES'"
15932
15933 :
15934 else
15935 DX_ENV="$DX_ENV GENERATE_XML='NO'"
15936
15937 :
15938 fi
15939
15940
15941 # (Compressed) HTML help generation:
15942
15943
15944
15945 # Check whether --enable-doxygen-chm was given.
15946 if test "${enable_doxygen_chm+set}" = set; then :
15947 enableval=$enable_doxygen_chm;
15948 case "$enableval" in
15949 #(
15950 y|Y|yes|Yes|YES)
15951 DX_FLAG_chm=1
15952
15953
15954 test "$DX_FLAG_doc" = "1" \
15955 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
15956
15957 ;; #(
15958 n|N|no|No|NO)
15959 DX_FLAG_chm=0
15960
15961 ;; #(
15962 *)
15963 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
15964 ;;
15965 esac
15966
15967 else
15968
15969 DX_FLAG_chm=0
15970
15971
15972 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
15973
15974
15975
15976 fi
15977
15978 if test "$DX_FLAG_chm" = 1; then
15979
15980 if test -n "$ac_tool_prefix"; then
15981 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
15982 set dummy ${ac_tool_prefix}hhc; ac_word=$2
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15984 $as_echo_n "checking for $ac_word... " >&6; }
15985 if ${ac_cv_path_DX_HHC+:} false; then :
15986 $as_echo_n "(cached) " >&6
15987 else
15988 case $DX_HHC in
15989 [\\/]* | ?:[\\/]*)
15990 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
15991 ;;
15992 *)
15993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15994 for as_dir in $PATH
15995 do
15996 IFS=$as_save_IFS
15997 test -z "$as_dir" && as_dir=.
15998 for ac_exec_ext in '' $ac_executable_extensions; do
15999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16000 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
16001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16002 break 2
16003 fi
16004 done
16005 done
16006 IFS=$as_save_IFS
16007
16008 ;;
16009 esac
16010 fi
16011 DX_HHC=$ac_cv_path_DX_HHC
16012 if test -n "$DX_HHC"; then
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
16014 $as_echo "$DX_HHC" >&6; }
16015 else
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16017 $as_echo "no" >&6; }
16018 fi
16019
16020
16021 fi
16022 if test -z "$ac_cv_path_DX_HHC"; then
16023 ac_pt_DX_HHC=$DX_HHC
16024 # Extract the first word of "hhc", so it can be a program name with args.
16025 set dummy hhc; ac_word=$2
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16027 $as_echo_n "checking for $ac_word... " >&6; }
16028 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
16029 $as_echo_n "(cached) " >&6
16030 else
16031 case $ac_pt_DX_HHC in
16032 [\\/]* | ?:[\\/]*)
16033 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
16034 ;;
16035 *)
16036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16037 for as_dir in $PATH
16038 do
16039 IFS=$as_save_IFS
16040 test -z "$as_dir" && as_dir=.
16041 for ac_exec_ext in '' $ac_executable_extensions; do
16042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16043 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
16044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16045 break 2
16046 fi
16047 done
16048 done
16049 IFS=$as_save_IFS
16050
16051 ;;
16052 esac
16053 fi
16054 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
16055 if test -n "$ac_pt_DX_HHC"; then
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
16057 $as_echo "$ac_pt_DX_HHC" >&6; }
16058 else
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16060 $as_echo "no" >&6; }
16061 fi
16062
16063 if test "x$ac_pt_DX_HHC" = x; then
16064 DX_HHC=""
16065 else
16066 case $cross_compiling:$ac_tool_warned in
16067 yes:)
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16070 ac_tool_warned=yes ;;
16071 esac
16072 DX_HHC=$ac_pt_DX_HHC
16073 fi
16074 else
16075 DX_HHC="$ac_cv_path_DX_HHC"
16076 fi
16077
16078 if test "$DX_FLAG_chm$DX_HHC" = 1; then
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
16080 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
16081 DX_FLAG_chm=0
16082
16083 fi
16084
16085 :
16086 fi
16087 if test "$DX_FLAG_chm" = 1; then
16088 DX_COND_chm_TRUE=
16089 DX_COND_chm_FALSE='#'
16090 else
16091 DX_COND_chm_TRUE='#'
16092 DX_COND_chm_FALSE=
16093 fi
16094
16095 if test "$DX_FLAG_chm" = 1; then
16096 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
16097
16098 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
16099
16100 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
16101
16102 :
16103 else
16104 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
16105
16106 :
16107 fi
16108
16109
16110 # Seperate CHI file generation.
16111
16112
16113
16114 # Check whether --enable-doxygen-chi was given.
16115 if test "${enable_doxygen_chi+set}" = set; then :
16116 enableval=$enable_doxygen_chi;
16117 case "$enableval" in
16118 #(
16119 y|Y|yes|Yes|YES)
16120 DX_FLAG_chi=1
16121
16122
16123 test "$DX_FLAG_chm" = "1" \
16124 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
16125
16126 ;; #(
16127 n|N|no|No|NO)
16128 DX_FLAG_chi=0
16129
16130 ;; #(
16131 *)
16132 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
16133 ;;
16134 esac
16135
16136 else
16137
16138 DX_FLAG_chi=0
16139
16140
16141 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
16142
16143
16144
16145 fi
16146
16147 if test "$DX_FLAG_chi" = 1; then
16148
16149 :
16150 fi
16151 if test "$DX_FLAG_chi" = 1; then
16152 DX_COND_chi_TRUE=
16153 DX_COND_chi_FALSE='#'
16154 else
16155 DX_COND_chi_TRUE='#'
16156 DX_COND_chi_FALSE=
16157 fi
16158
16159 if test "$DX_FLAG_chi" = 1; then
16160 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
16161
16162 :
16163 else
16164 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
16165
16166 :
16167 fi
16168
16169
16170 # Plain HTML pages generation:
16171
16172
16173
16174 # Check whether --enable-doxygen-html was given.
16175 if test "${enable_doxygen_html+set}" = set; then :
16176 enableval=$enable_doxygen_html;
16177 case "$enableval" in
16178 #(
16179 y|Y|yes|Yes|YES)
16180 DX_FLAG_html=1
16181
16182
16183 test "$DX_FLAG_doc" = "1" \
16184 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
16185
16186 test "$DX_FLAG_chm" = "0" \
16187 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
16188
16189 ;; #(
16190 n|N|no|No|NO)
16191 DX_FLAG_html=0
16192
16193 ;; #(
16194 *)
16195 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
16196 ;;
16197 esac
16198
16199 else
16200
16201 DX_FLAG_html=1
16202
16203
16204 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
16205
16206
16207 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
16208
16209
16210
16211 fi
16212
16213 if test "$DX_FLAG_html" = 1; then
16214
16215 :
16216 fi
16217 if test "$DX_FLAG_html" = 1; then
16218 DX_COND_html_TRUE=
16219 DX_COND_html_FALSE='#'
16220 else
16221 DX_COND_html_TRUE='#'
16222 DX_COND_html_FALSE=
16223 fi
16224
16225 if test "$DX_FLAG_html" = 1; then
16226 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
16227
16228 :
16229 else
16230 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
16231
16232 :
16233 fi
16234
16235
16236 # PostScript file generation:
16237
16238
16239
16240 # Check whether --enable-doxygen-ps was given.
16241 if test "${enable_doxygen_ps+set}" = set; then :
16242 enableval=$enable_doxygen_ps;
16243 case "$enableval" in
16244 #(
16245 y|Y|yes|Yes|YES)
16246 DX_FLAG_ps=1
16247
16248
16249 test "$DX_FLAG_doc" = "1" \
16250 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
16251
16252 ;; #(
16253 n|N|no|No|NO)
16254 DX_FLAG_ps=0
16255
16256 ;; #(
16257 *)
16258 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
16259 ;;
16260 esac
16261
16262 else
16263
16264 DX_FLAG_ps=0
16265
16266
16267 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
16268
16269
16270
16271 fi
16272
16273 if test "$DX_FLAG_ps" = 1; then
16274
16275 if test -n "$ac_tool_prefix"; then
16276 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
16277 set dummy ${ac_tool_prefix}latex; ac_word=$2
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16279 $as_echo_n "checking for $ac_word... " >&6; }
16280 if ${ac_cv_path_DX_LATEX+:} false; then :
16281 $as_echo_n "(cached) " >&6
16282 else
16283 case $DX_LATEX in
16284 [\\/]* | ?:[\\/]*)
16285 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
16286 ;;
16287 *)
16288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16289 for as_dir in $PATH
16290 do
16291 IFS=$as_save_IFS
16292 test -z "$as_dir" && as_dir=.
16293 for ac_exec_ext in '' $ac_executable_extensions; do
16294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16295 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
16296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16297 break 2
16298 fi
16299 done
16300 done
16301 IFS=$as_save_IFS
16302
16303 ;;
16304 esac
16305 fi
16306 DX_LATEX=$ac_cv_path_DX_LATEX
16307 if test -n "$DX_LATEX"; then
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
16309 $as_echo "$DX_LATEX" >&6; }
16310 else
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16312 $as_echo "no" >&6; }
16313 fi
16314
16315
16316 fi
16317 if test -z "$ac_cv_path_DX_LATEX"; then
16318 ac_pt_DX_LATEX=$DX_LATEX
16319 # Extract the first word of "latex", so it can be a program name with args.
16320 set dummy latex; ac_word=$2
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16322 $as_echo_n "checking for $ac_word... " >&6; }
16323 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
16324 $as_echo_n "(cached) " >&6
16325 else
16326 case $ac_pt_DX_LATEX in
16327 [\\/]* | ?:[\\/]*)
16328 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
16329 ;;
16330 *)
16331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16332 for as_dir in $PATH
16333 do
16334 IFS=$as_save_IFS
16335 test -z "$as_dir" && as_dir=.
16336 for ac_exec_ext in '' $ac_executable_extensions; do
16337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16338 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
16339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16340 break 2
16341 fi
16342 done
16343 done
16344 IFS=$as_save_IFS
16345
16346 ;;
16347 esac
16348 fi
16349 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
16350 if test -n "$ac_pt_DX_LATEX"; then
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
16352 $as_echo "$ac_pt_DX_LATEX" >&6; }
16353 else
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16355 $as_echo "no" >&6; }
16356 fi
16357
16358 if test "x$ac_pt_DX_LATEX" = x; then
16359 DX_LATEX=""
16360 else
16361 case $cross_compiling:$ac_tool_warned in
16362 yes:)
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16365 ac_tool_warned=yes ;;
16366 esac
16367 DX_LATEX=$ac_pt_DX_LATEX
16368 fi
16369 else
16370 DX_LATEX="$ac_cv_path_DX_LATEX"
16371 fi
16372
16373 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
16375 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
16376 DX_FLAG_ps=0
16377
16378 fi
16379
16380
16381 if test -n "$ac_tool_prefix"; then
16382 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16383 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16385 $as_echo_n "checking for $ac_word... " >&6; }
16386 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 case $DX_MAKEINDEX in
16390 [\\/]* | ?:[\\/]*)
16391 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
16392 ;;
16393 *)
16394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16395 for as_dir in $PATH
16396 do
16397 IFS=$as_save_IFS
16398 test -z "$as_dir" && as_dir=.
16399 for ac_exec_ext in '' $ac_executable_extensions; do
16400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16401 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16403 break 2
16404 fi
16405 done
16406 done
16407 IFS=$as_save_IFS
16408
16409 ;;
16410 esac
16411 fi
16412 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
16413 if test -n "$DX_MAKEINDEX"; then
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16415 $as_echo "$DX_MAKEINDEX" >&6; }
16416 else
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16418 $as_echo "no" >&6; }
16419 fi
16420
16421
16422 fi
16423 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16424 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
16425 # Extract the first word of "makeindex", so it can be a program name with args.
16426 set dummy makeindex; ac_word=$2
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16428 $as_echo_n "checking for $ac_word... " >&6; }
16429 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16432 case $ac_pt_DX_MAKEINDEX in
16433 [\\/]* | ?:[\\/]*)
16434 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16435 ;;
16436 *)
16437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16438 for as_dir in $PATH
16439 do
16440 IFS=$as_save_IFS
16441 test -z "$as_dir" && as_dir=.
16442 for ac_exec_ext in '' $ac_executable_extensions; do
16443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16444 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16446 break 2
16447 fi
16448 done
16449 done
16450 IFS=$as_save_IFS
16451
16452 ;;
16453 esac
16454 fi
16455 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
16456 if test -n "$ac_pt_DX_MAKEINDEX"; then
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16458 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16459 else
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16461 $as_echo "no" >&6; }
16462 fi
16463
16464 if test "x$ac_pt_DX_MAKEINDEX" = x; then
16465 DX_MAKEINDEX=""
16466 else
16467 case $cross_compiling:$ac_tool_warned in
16468 yes:)
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16471 ac_tool_warned=yes ;;
16472 esac
16473 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
16474 fi
16475 else
16476 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
16477 fi
16478
16479 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
16481 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
16482 DX_FLAG_ps=0
16483
16484 fi
16485
16486
16487 if test -n "$ac_tool_prefix"; then
16488 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
16489 set dummy ${ac_tool_prefix}dvips; ac_word=$2
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16491 $as_echo_n "checking for $ac_word... " >&6; }
16492 if ${ac_cv_path_DX_DVIPS+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 case $DX_DVIPS in
16496 [\\/]* | ?:[\\/]*)
16497 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
16498 ;;
16499 *)
16500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16501 for as_dir in $PATH
16502 do
16503 IFS=$as_save_IFS
16504 test -z "$as_dir" && as_dir=.
16505 for ac_exec_ext in '' $ac_executable_extensions; do
16506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16507 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
16508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16509 break 2
16510 fi
16511 done
16512 done
16513 IFS=$as_save_IFS
16514
16515 ;;
16516 esac
16517 fi
16518 DX_DVIPS=$ac_cv_path_DX_DVIPS
16519 if test -n "$DX_DVIPS"; then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
16521 $as_echo "$DX_DVIPS" >&6; }
16522 else
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16524 $as_echo "no" >&6; }
16525 fi
16526
16527
16528 fi
16529 if test -z "$ac_cv_path_DX_DVIPS"; then
16530 ac_pt_DX_DVIPS=$DX_DVIPS
16531 # Extract the first word of "dvips", so it can be a program name with args.
16532 set dummy dvips; ac_word=$2
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16534 $as_echo_n "checking for $ac_word... " >&6; }
16535 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
16536 $as_echo_n "(cached) " >&6
16537 else
16538 case $ac_pt_DX_DVIPS in
16539 [\\/]* | ?:[\\/]*)
16540 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
16541 ;;
16542 *)
16543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16544 for as_dir in $PATH
16545 do
16546 IFS=$as_save_IFS
16547 test -z "$as_dir" && as_dir=.
16548 for ac_exec_ext in '' $ac_executable_extensions; do
16549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16550 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
16551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16552 break 2
16553 fi
16554 done
16555 done
16556 IFS=$as_save_IFS
16557
16558 ;;
16559 esac
16560 fi
16561 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
16562 if test -n "$ac_pt_DX_DVIPS"; then
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
16564 $as_echo "$ac_pt_DX_DVIPS" >&6; }
16565 else
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16567 $as_echo "no" >&6; }
16568 fi
16569
16570 if test "x$ac_pt_DX_DVIPS" = x; then
16571 DX_DVIPS=""
16572 else
16573 case $cross_compiling:$ac_tool_warned in
16574 yes:)
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16577 ac_tool_warned=yes ;;
16578 esac
16579 DX_DVIPS=$ac_pt_DX_DVIPS
16580 fi
16581 else
16582 DX_DVIPS="$ac_cv_path_DX_DVIPS"
16583 fi
16584
16585 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
16587 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
16588 DX_FLAG_ps=0
16589
16590 fi
16591
16592
16593 if test -n "$ac_tool_prefix"; then
16594 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16595 set dummy ${ac_tool_prefix}egrep; ac_word=$2
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16597 $as_echo_n "checking for $ac_word... " >&6; }
16598 if ${ac_cv_path_DX_EGREP+:} false; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 case $DX_EGREP in
16602 [\\/]* | ?:[\\/]*)
16603 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
16604 ;;
16605 *)
16606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16607 for as_dir in $PATH
16608 do
16609 IFS=$as_save_IFS
16610 test -z "$as_dir" && as_dir=.
16611 for ac_exec_ext in '' $ac_executable_extensions; do
16612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16613 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16615 break 2
16616 fi
16617 done
16618 done
16619 IFS=$as_save_IFS
16620
16621 ;;
16622 esac
16623 fi
16624 DX_EGREP=$ac_cv_path_DX_EGREP
16625 if test -n "$DX_EGREP"; then
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
16627 $as_echo "$DX_EGREP" >&6; }
16628 else
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630 $as_echo "no" >&6; }
16631 fi
16632
16633
16634 fi
16635 if test -z "$ac_cv_path_DX_EGREP"; then
16636 ac_pt_DX_EGREP=$DX_EGREP
16637 # Extract the first word of "egrep", so it can be a program name with args.
16638 set dummy egrep; ac_word=$2
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16640 $as_echo_n "checking for $ac_word... " >&6; }
16641 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
16642 $as_echo_n "(cached) " >&6
16643 else
16644 case $ac_pt_DX_EGREP in
16645 [\\/]* | ?:[\\/]*)
16646 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
16647 ;;
16648 *)
16649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16650 for as_dir in $PATH
16651 do
16652 IFS=$as_save_IFS
16653 test -z "$as_dir" && as_dir=.
16654 for ac_exec_ext in '' $ac_executable_extensions; do
16655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16656 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16658 break 2
16659 fi
16660 done
16661 done
16662 IFS=$as_save_IFS
16663
16664 ;;
16665 esac
16666 fi
16667 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
16668 if test -n "$ac_pt_DX_EGREP"; then
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
16670 $as_echo "$ac_pt_DX_EGREP" >&6; }
16671 else
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16673 $as_echo "no" >&6; }
16674 fi
16675
16676 if test "x$ac_pt_DX_EGREP" = x; then
16677 DX_EGREP=""
16678 else
16679 case $cross_compiling:$ac_tool_warned in
16680 yes:)
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16683 ac_tool_warned=yes ;;
16684 esac
16685 DX_EGREP=$ac_pt_DX_EGREP
16686 fi
16687 else
16688 DX_EGREP="$ac_cv_path_DX_EGREP"
16689 fi
16690
16691 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
16693 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
16694 DX_FLAG_ps=0
16695
16696 fi
16697
16698 :
16699 fi
16700 if test "$DX_FLAG_ps" = 1; then
16701 DX_COND_ps_TRUE=
16702 DX_COND_ps_FALSE='#'
16703 else
16704 DX_COND_ps_TRUE='#'
16705 DX_COND_ps_FALSE=
16706 fi
16707
16708 if test "$DX_FLAG_ps" = 1; then
16709
16710 :
16711 else
16712
16713 :
16714 fi
16715
16716
16717 # PDF file generation:
16718
16719
16720
16721 # Check whether --enable-doxygen-pdf was given.
16722 if test "${enable_doxygen_pdf+set}" = set; then :
16723 enableval=$enable_doxygen_pdf;
16724 case "$enableval" in
16725 #(
16726 y|Y|yes|Yes|YES)
16727 DX_FLAG_pdf=1
16728
16729
16730 test "$DX_FLAG_doc" = "1" \
16731 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
16732
16733 ;; #(
16734 n|N|no|No|NO)
16735 DX_FLAG_pdf=0
16736
16737 ;; #(
16738 *)
16739 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
16740 ;;
16741 esac
16742
16743 else
16744
16745 DX_FLAG_pdf=1
16746
16747
16748 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
16749
16750
16751
16752 fi
16753
16754 if test "$DX_FLAG_pdf" = 1; then
16755
16756 if test -n "$ac_tool_prefix"; then
16757 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
16758 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16760 $as_echo_n "checking for $ac_word... " >&6; }
16761 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
16762 $as_echo_n "(cached) " >&6
16763 else
16764 case $DX_PDFLATEX in
16765 [\\/]* | ?:[\\/]*)
16766 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
16767 ;;
16768 *)
16769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16770 for as_dir in $PATH
16771 do
16772 IFS=$as_save_IFS
16773 test -z "$as_dir" && as_dir=.
16774 for ac_exec_ext in '' $ac_executable_extensions; do
16775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16776 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
16777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16778 break 2
16779 fi
16780 done
16781 done
16782 IFS=$as_save_IFS
16783
16784 ;;
16785 esac
16786 fi
16787 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
16788 if test -n "$DX_PDFLATEX"; then
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
16790 $as_echo "$DX_PDFLATEX" >&6; }
16791 else
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16793 $as_echo "no" >&6; }
16794 fi
16795
16796
16797 fi
16798 if test -z "$ac_cv_path_DX_PDFLATEX"; then
16799 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
16800 # Extract the first word of "pdflatex", so it can be a program name with args.
16801 set dummy pdflatex; ac_word=$2
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16803 $as_echo_n "checking for $ac_word... " >&6; }
16804 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
16805 $as_echo_n "(cached) " >&6
16806 else
16807 case $ac_pt_DX_PDFLATEX in
16808 [\\/]* | ?:[\\/]*)
16809 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
16810 ;;
16811 *)
16812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16813 for as_dir in $PATH
16814 do
16815 IFS=$as_save_IFS
16816 test -z "$as_dir" && as_dir=.
16817 for ac_exec_ext in '' $ac_executable_extensions; do
16818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16819 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
16820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16821 break 2
16822 fi
16823 done
16824 done
16825 IFS=$as_save_IFS
16826
16827 ;;
16828 esac
16829 fi
16830 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
16831 if test -n "$ac_pt_DX_PDFLATEX"; then
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
16833 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
16834 else
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16836 $as_echo "no" >&6; }
16837 fi
16838
16839 if test "x$ac_pt_DX_PDFLATEX" = x; then
16840 DX_PDFLATEX=""
16841 else
16842 case $cross_compiling:$ac_tool_warned in
16843 yes:)
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16846 ac_tool_warned=yes ;;
16847 esac
16848 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
16849 fi
16850 else
16851 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
16852 fi
16853
16854 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
16856 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
16857 DX_FLAG_pdf=0
16858
16859 fi
16860
16861
16862 if test -n "$ac_tool_prefix"; then
16863 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16864 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16866 $as_echo_n "checking for $ac_word... " >&6; }
16867 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
16868 $as_echo_n "(cached) " >&6
16869 else
16870 case $DX_MAKEINDEX in
16871 [\\/]* | ?:[\\/]*)
16872 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
16873 ;;
16874 *)
16875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16876 for as_dir in $PATH
16877 do
16878 IFS=$as_save_IFS
16879 test -z "$as_dir" && as_dir=.
16880 for ac_exec_ext in '' $ac_executable_extensions; do
16881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16882 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16884 break 2
16885 fi
16886 done
16887 done
16888 IFS=$as_save_IFS
16889
16890 ;;
16891 esac
16892 fi
16893 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
16894 if test -n "$DX_MAKEINDEX"; then
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16896 $as_echo "$DX_MAKEINDEX" >&6; }
16897 else
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16899 $as_echo "no" >&6; }
16900 fi
16901
16902
16903 fi
16904 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16905 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
16906 # Extract the first word of "makeindex", so it can be a program name with args.
16907 set dummy makeindex; ac_word=$2
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16909 $as_echo_n "checking for $ac_word... " >&6; }
16910 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16913 case $ac_pt_DX_MAKEINDEX in
16914 [\\/]* | ?:[\\/]*)
16915 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16916 ;;
16917 *)
16918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16919 for as_dir in $PATH
16920 do
16921 IFS=$as_save_IFS
16922 test -z "$as_dir" && as_dir=.
16923 for ac_exec_ext in '' $ac_executable_extensions; do
16924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16925 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16927 break 2
16928 fi
16929 done
16930 done
16931 IFS=$as_save_IFS
16932
16933 ;;
16934 esac
16935 fi
16936 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
16937 if test -n "$ac_pt_DX_MAKEINDEX"; then
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16939 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16940 else
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16942 $as_echo "no" >&6; }
16943 fi
16944
16945 if test "x$ac_pt_DX_MAKEINDEX" = x; then
16946 DX_MAKEINDEX=""
16947 else
16948 case $cross_compiling:$ac_tool_warned in
16949 yes:)
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16952 ac_tool_warned=yes ;;
16953 esac
16954 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
16955 fi
16956 else
16957 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
16958 fi
16959
16960 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
16962 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
16963 DX_FLAG_pdf=0
16964
16965 fi
16966
16967
16968 if test -n "$ac_tool_prefix"; then
16969 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16970 set dummy ${ac_tool_prefix}egrep; ac_word=$2
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16972 $as_echo_n "checking for $ac_word... " >&6; }
16973 if ${ac_cv_path_DX_EGREP+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 case $DX_EGREP in
16977 [\\/]* | ?:[\\/]*)
16978 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
16979 ;;
16980 *)
16981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16982 for as_dir in $PATH
16983 do
16984 IFS=$as_save_IFS
16985 test -z "$as_dir" && as_dir=.
16986 for ac_exec_ext in '' $ac_executable_extensions; do
16987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16988 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16990 break 2
16991 fi
16992 done
16993 done
16994 IFS=$as_save_IFS
16995
16996 ;;
16997 esac
16998 fi
16999 DX_EGREP=$ac_cv_path_DX_EGREP
17000 if test -n "$DX_EGREP"; then
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
17002 $as_echo "$DX_EGREP" >&6; }
17003 else
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17005 $as_echo "no" >&6; }
17006 fi
17007
17008
17009 fi
17010 if test -z "$ac_cv_path_DX_EGREP"; then
17011 ac_pt_DX_EGREP=$DX_EGREP
17012 # Extract the first word of "egrep", so it can be a program name with args.
17013 set dummy egrep; ac_word=$2
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17015 $as_echo_n "checking for $ac_word... " >&6; }
17016 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
17017 $as_echo_n "(cached) " >&6
17018 else
17019 case $ac_pt_DX_EGREP in
17020 [\\/]* | ?:[\\/]*)
17021 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
17022 ;;
17023 *)
17024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17025 for as_dir in $PATH
17026 do
17027 IFS=$as_save_IFS
17028 test -z "$as_dir" && as_dir=.
17029 for ac_exec_ext in '' $ac_executable_extensions; do
17030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17031 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
17032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17033 break 2
17034 fi
17035 done
17036 done
17037 IFS=$as_save_IFS
17038
17039 ;;
17040 esac
17041 fi
17042 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
17043 if test -n "$ac_pt_DX_EGREP"; then
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
17045 $as_echo "$ac_pt_DX_EGREP" >&6; }
17046 else
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17048 $as_echo "no" >&6; }
17049 fi
17050
17051 if test "x$ac_pt_DX_EGREP" = x; then
17052 DX_EGREP=""
17053 else
17054 case $cross_compiling:$ac_tool_warned in
17055 yes:)
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17058 ac_tool_warned=yes ;;
17059 esac
17060 DX_EGREP=$ac_pt_DX_EGREP
17061 fi
17062 else
17063 DX_EGREP="$ac_cv_path_DX_EGREP"
17064 fi
17065
17066 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
17068 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
17069 DX_FLAG_pdf=0
17070
17071 fi
17072
17073 :
17074 fi
17075 if test "$DX_FLAG_pdf" = 1; then
17076 DX_COND_pdf_TRUE=
17077 DX_COND_pdf_FALSE='#'
17078 else
17079 DX_COND_pdf_TRUE='#'
17080 DX_COND_pdf_FALSE=
17081 fi
17082
17083 if test "$DX_FLAG_pdf" = 1; then
17084
17085 :
17086 else
17087
17088 :
17089 fi
17090
17091
17092 # LaTeX generation for PS and/or PDF:
17093 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
17094 DX_COND_latex_TRUE=
17095 DX_COND_latex_FALSE='#'
17096 else
17097 DX_COND_latex_TRUE='#'
17098 DX_COND_latex_FALSE=
17099 fi
17100
17101 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
17102 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
17103
17104 else
17105 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
17106
17107 fi
17108
17109 # Paper size for PS and/or PDF:
17110
17111 case "$DOXYGEN_PAPER_SIZE" in
17112 #(
17113 "")
17114 DOXYGEN_PAPER_SIZE=""
17115
17116 ;; #(
17117 a4wide|a4|letter|legal|executive)
17118 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
17119
17120 ;; #(
17121 *)
17122 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
17123 ;;
17124 esac
17125
17126 #For debugging:
17127 #echo DX_FLAG_doc=$DX_FLAG_doc
17128 #echo DX_FLAG_dot=$DX_FLAG_dot
17129 #echo DX_FLAG_man=$DX_FLAG_man
17130 #echo DX_FLAG_html=$DX_FLAG_html
17131 #echo DX_FLAG_chm=$DX_FLAG_chm
17132 #echo DX_FLAG_chi=$DX_FLAG_chi
17133 #echo DX_FLAG_rtf=$DX_FLAG_rtf
17134 #echo DX_FLAG_xml=$DX_FLAG_xml
17135 #echo DX_FLAG_pdf=$DX_FLAG_pdf
17136 #echo DX_FLAG_ps=$DX_FLAG_ps
17137 #echo DX_ENV=$DX_ENV
17138
17139
17140 ac_config_files="$ac_config_files Makefile lib/Makefile lib/Doxyfile"
17141
17142 cat >confcache <<\_ACEOF
17143 # This file is a shell script that caches the results of configure
17144 # tests run on this system so they can be shared between configure
17145 # scripts and configure runs, see configure's option --config-cache.
17146 # It is not useful on other systems. If it contains results you don't
17147 # want to keep, you may remove or edit it.
17148 #
17149 # config.status only pays attention to the cache file if you give it
17150 # the --recheck option to rerun configure.
17151 #
17152 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17153 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17154 # following values.
17155
17156 _ACEOF
17157
17158 # The following way of writing the cache mishandles newlines in values,
17159 # but we know of no workaround that is simple, portable, and efficient.
17160 # So, we kill variables containing newlines.
17161 # Ultrix sh set writes to stderr and can't be redirected directly,
17162 # and sets the high bit in the cache file unless we assign to the vars.
17163 (
17164 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17165 eval ac_val=\$$ac_var
17166 case $ac_val in #(
17167 *${as_nl}*)
17168 case $ac_var in #(
17169 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17170 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17171 esac
17172 case $ac_var in #(
17173 _ | IFS | as_nl) ;; #(
17174 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17175 *) { eval $ac_var=; unset $ac_var;} ;;
17176 esac ;;
17177 esac
17178 done
17179
17180 (set) 2>&1 |
17181 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17182 *${as_nl}ac_space=\ *)
17183 # `set' does not quote correctly, so add quotes: double-quote
17184 # substitution turns \\\\ into \\, and sed turns \\ into \.
17185 sed -n \
17186 "s/'/'\\\\''/g;
17187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17188 ;; #(
17189 *)
17190 # `set' quotes correctly as required by POSIX, so do not add quotes.
17191 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17192 ;;
17193 esac |
17194 sort
17195 ) |
17196 sed '
17197 /^ac_cv_env_/b end
17198 t clear
17199 :clear
17200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17201 t end
17202 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17203 :end' >>confcache
17204 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17205 if test -w "$cache_file"; then
17206 if test "x$cache_file" != "x/dev/null"; then
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17208 $as_echo "$as_me: updating cache $cache_file" >&6;}
17209 if test ! -f "$cache_file" || test -h "$cache_file"; then
17210 cat confcache >"$cache_file"
17211 else
17212 case $cache_file in #(
17213 */* | ?:*)
17214 mv -f confcache "$cache_file"$$ &&
17215 mv -f "$cache_file"$$ "$cache_file" ;; #(
17216 *)
17217 mv -f confcache "$cache_file" ;;
17218 esac
17219 fi
17220 fi
17221 else
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17223 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17224 fi
17225 fi
17226 rm -f confcache
17227
17228 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17229 # Let make expand exec_prefix.
17230 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17231
17232 DEFS=-DHAVE_CONFIG_H
17233
17234 ac_libobjs=
17235 ac_ltlibobjs=
17236 U=
17237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17238 # 1. Remove the extension, and $U if already installed.
17239 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17240 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17241 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17242 # will be set to the directory where LIBOBJS objects are built.
17243 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17244 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17245 done
17246 LIBOBJS=$ac_libobjs
17247
17248 LTLIBOBJS=$ac_ltlibobjs
17249
17250
17251 if test -n "$EXEEXT"; then
17252 am__EXEEXT_TRUE=
17253 am__EXEEXT_FALSE='#'
17254 else
17255 am__EXEEXT_TRUE='#'
17256 am__EXEEXT_FALSE=
17257 fi
17258
17259 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17260 as_fn_error $? "conditional \"AMDEP\" was never defined.
17261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17262 fi
17263 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17264 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17266 fi
17267 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17268 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17270 fi
17271 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
17272 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
17273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17274 fi
17275 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
17276 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
17277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17278 fi
17279 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
17280 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
17281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17282 fi
17283 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
17284 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
17285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17286 fi
17287 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
17288 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
17289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17290 fi
17291 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
17292 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
17293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17294 fi
17295 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
17296 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
17297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17298 fi
17299 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
17300 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
17301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17302 fi
17303 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
17304 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
17305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17306 fi
17307 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
17308 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
17309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17310 fi
17311 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
17312 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
17313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17314 fi
17315
17316 : "${CONFIG_STATUS=./config.status}"
17317 ac_write_fail=0
17318 ac_clean_files_save=$ac_clean_files
17319 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17321 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17322 as_write_fail=0
17323 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17324 #! $SHELL
17325 # Generated by $as_me.
17326 # Run this file to recreate the current configuration.
17327 # Compiler output produced by configure, useful for debugging
17328 # configure, is in config.log if it exists.
17329
17330 debug=false
17331 ac_cs_recheck=false
17332 ac_cs_silent=false
17333
17334 SHELL=\${CONFIG_SHELL-$SHELL}
17335 export SHELL
17336 _ASEOF
17337 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17338 ## -------------------- ##
17339 ## M4sh Initialization. ##
17340 ## -------------------- ##
17341
17342 # Be more Bourne compatible
17343 DUALCASE=1; export DUALCASE # for MKS sh
17344 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17345 emulate sh
17346 NULLCMD=:
17347 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17348 # is contrary to our usage. Disable this feature.
17349 alias -g '${1+"$@"}'='"$@"'
17350 setopt NO_GLOB_SUBST
17351 else
17352 case `(set -o) 2>/dev/null` in #(
17353 *posix*) :
17354 set -o posix ;; #(
17355 *) :
17356 ;;
17357 esac
17358 fi
17359
17360
17361 as_nl='
17362 '
17363 export as_nl
17364 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17365 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17366 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17367 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17368 # Prefer a ksh shell builtin over an external printf program on Solaris,
17369 # but without wasting forks for bash or zsh.
17370 if test -z "$BASH_VERSION$ZSH_VERSION" \
17371 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17372 as_echo='print -r --'
17373 as_echo_n='print -rn --'
17374 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17375 as_echo='printf %s\n'
17376 as_echo_n='printf %s'
17377 else
17378 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17379 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17380 as_echo_n='/usr/ucb/echo -n'
17381 else
17382 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17383 as_echo_n_body='eval
17384 arg=$1;
17385 case $arg in #(
17386 *"$as_nl"*)
17387 expr "X$arg" : "X\\(.*\\)$as_nl";
17388 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17389 esac;
17390 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17391 '
17392 export as_echo_n_body
17393 as_echo_n='sh -c $as_echo_n_body as_echo'
17394 fi
17395 export as_echo_body
17396 as_echo='sh -c $as_echo_body as_echo'
17397 fi
17398
17399 # The user is always right.
17400 if test "${PATH_SEPARATOR+set}" != set; then
17401 PATH_SEPARATOR=:
17402 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17403 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17404 PATH_SEPARATOR=';'
17405 }
17406 fi
17407
17408
17409 # IFS
17410 # We need space, tab and new line, in precisely that order. Quoting is
17411 # there to prevent editors from complaining about space-tab.
17412 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17413 # splitting by setting IFS to empty value.)
17414 IFS=" "" $as_nl"
17415
17416 # Find who we are. Look in the path if we contain no directory separator.
17417 as_myself=
17418 case $0 in #((
17419 *[\\/]* ) as_myself=$0 ;;
17420 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17421 for as_dir in $PATH
17422 do
17423 IFS=$as_save_IFS
17424 test -z "$as_dir" && as_dir=.
17425 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17426 done
17427 IFS=$as_save_IFS
17428
17429 ;;
17430 esac
17431 # We did not find ourselves, most probably we were run as `sh COMMAND'
17432 # in which case we are not to be found in the path.
17433 if test "x$as_myself" = x; then
17434 as_myself=$0
17435 fi
17436 if test ! -f "$as_myself"; then
17437 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17438 exit 1
17439 fi
17440
17441 # Unset variables that we do not need and which cause bugs (e.g. in
17442 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17443 # suppresses any "Segmentation fault" message there. '((' could
17444 # trigger a bug in pdksh 5.2.14.
17445 for as_var in BASH_ENV ENV MAIL MAILPATH
17446 do eval test x\${$as_var+set} = xset \
17447 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17448 done
17449 PS1='$ '
17450 PS2='> '
17451 PS4='+ '
17452
17453 # NLS nuisances.
17454 LC_ALL=C
17455 export LC_ALL
17456 LANGUAGE=C
17457 export LANGUAGE
17458
17459 # CDPATH.
17460 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17461
17462
17463 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17464 # ----------------------------------------
17465 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17466 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17467 # script with STATUS, using 1 if that was 0.
17468 as_fn_error ()
17469 {
17470 as_status=$1; test $as_status -eq 0 && as_status=1
17471 if test "$4"; then
17472 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17473 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17474 fi
17475 $as_echo "$as_me: error: $2" >&2
17476 as_fn_exit $as_status
17477 } # as_fn_error
17478
17479
17480 # as_fn_set_status STATUS
17481 # -----------------------
17482 # Set $? to STATUS, without forking.
17483 as_fn_set_status ()
17484 {
17485 return $1
17486 } # as_fn_set_status
17487
17488 # as_fn_exit STATUS
17489 # -----------------
17490 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17491 as_fn_exit ()
17492 {
17493 set +e
17494 as_fn_set_status $1
17495 exit $1
17496 } # as_fn_exit
17497
17498 # as_fn_unset VAR
17499 # ---------------
17500 # Portably unset VAR.
17501 as_fn_unset ()
17502 {
17503 { eval $1=; unset $1;}
17504 }
17505 as_unset=as_fn_unset
17506 # as_fn_append VAR VALUE
17507 # ----------------------
17508 # Append the text in VALUE to the end of the definition contained in VAR. Take
17509 # advantage of any shell optimizations that allow amortized linear growth over
17510 # repeated appends, instead of the typical quadratic growth present in naive
17511 # implementations.
17512 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17513 eval 'as_fn_append ()
17514 {
17515 eval $1+=\$2
17516 }'
17517 else
17518 as_fn_append ()
17519 {
17520 eval $1=\$$1\$2
17521 }
17522 fi # as_fn_append
17523
17524 # as_fn_arith ARG...
17525 # ------------------
17526 # Perform arithmetic evaluation on the ARGs, and store the result in the
17527 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17528 # must be portable across $(()) and expr.
17529 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17530 eval 'as_fn_arith ()
17531 {
17532 as_val=$(( $* ))
17533 }'
17534 else
17535 as_fn_arith ()
17536 {
17537 as_val=`expr "$@" || test $? -eq 1`
17538 }
17539 fi # as_fn_arith
17540
17541
17542 if expr a : '\(a\)' >/dev/null 2>&1 &&
17543 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17544 as_expr=expr
17545 else
17546 as_expr=false
17547 fi
17548
17549 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17550 as_basename=basename
17551 else
17552 as_basename=false
17553 fi
17554
17555 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17556 as_dirname=dirname
17557 else
17558 as_dirname=false
17559 fi
17560
17561 as_me=`$as_basename -- "$0" ||
17562 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17563 X"$0" : 'X\(//\)$' \| \
17564 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17565 $as_echo X/"$0" |
17566 sed '/^.*\/\([^/][^/]*\)\/*$/{
17567 s//\1/
17568 q
17569 }
17570 /^X\/\(\/\/\)$/{
17571 s//\1/
17572 q
17573 }
17574 /^X\/\(\/\).*/{
17575 s//\1/
17576 q
17577 }
17578 s/.*/./; q'`
17579
17580 # Avoid depending upon Character Ranges.
17581 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17582 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17583 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17584 as_cr_digits='0123456789'
17585 as_cr_alnum=$as_cr_Letters$as_cr_digits
17586
17587 ECHO_C= ECHO_N= ECHO_T=
17588 case `echo -n x` in #(((((
17589 -n*)
17590 case `echo 'xy\c'` in
17591 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17592 xy) ECHO_C='\c';;
17593 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17594 ECHO_T=' ';;
17595 esac;;
17596 *)
17597 ECHO_N='-n';;
17598 esac
17599
17600 rm -f conf$$ conf$$.exe conf$$.file
17601 if test -d conf$$.dir; then
17602 rm -f conf$$.dir/conf$$.file
17603 else
17604 rm -f conf$$.dir
17605 mkdir conf$$.dir 2>/dev/null
17606 fi
17607 if (echo >conf$$.file) 2>/dev/null; then
17608 if ln -s conf$$.file conf$$ 2>/dev/null; then
17609 as_ln_s='ln -s'
17610 # ... but there are two gotchas:
17611 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17612 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17613 # In both cases, we have to default to `cp -pR'.
17614 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17615 as_ln_s='cp -pR'
17616 elif ln conf$$.file conf$$ 2>/dev/null; then
17617 as_ln_s=ln
17618 else
17619 as_ln_s='cp -pR'
17620 fi
17621 else
17622 as_ln_s='cp -pR'
17623 fi
17624 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17625 rmdir conf$$.dir 2>/dev/null
17626
17627
17628 # as_fn_mkdir_p
17629 # -------------
17630 # Create "$as_dir" as a directory, including parents if necessary.
17631 as_fn_mkdir_p ()
17632 {
17633
17634 case $as_dir in #(
17635 -*) as_dir=./$as_dir;;
17636 esac
17637 test -d "$as_dir" || eval $as_mkdir_p || {
17638 as_dirs=
17639 while :; do
17640 case $as_dir in #(
17641 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17642 *) as_qdir=$as_dir;;
17643 esac
17644 as_dirs="'$as_qdir' $as_dirs"
17645 as_dir=`$as_dirname -- "$as_dir" ||
17646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17647 X"$as_dir" : 'X\(//\)[^/]' \| \
17648 X"$as_dir" : 'X\(//\)$' \| \
17649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17650 $as_echo X"$as_dir" |
17651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17652 s//\1/
17653 q
17654 }
17655 /^X\(\/\/\)[^/].*/{
17656 s//\1/
17657 q
17658 }
17659 /^X\(\/\/\)$/{
17660 s//\1/
17661 q
17662 }
17663 /^X\(\/\).*/{
17664 s//\1/
17665 q
17666 }
17667 s/.*/./; q'`
17668 test -d "$as_dir" && break
17669 done
17670 test -z "$as_dirs" || eval "mkdir $as_dirs"
17671 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17672
17673
17674 } # as_fn_mkdir_p
17675 if mkdir -p . 2>/dev/null; then
17676 as_mkdir_p='mkdir -p "$as_dir"'
17677 else
17678 test -d ./-p && rmdir ./-p
17679 as_mkdir_p=false
17680 fi
17681
17682
17683 # as_fn_executable_p FILE
17684 # -----------------------
17685 # Test if FILE is an executable regular file.
17686 as_fn_executable_p ()
17687 {
17688 test -f "$1" && test -x "$1"
17689 } # as_fn_executable_p
17690 as_test_x='test -x'
17691 as_executable_p=as_fn_executable_p
17692
17693 # Sed expression to map a string onto a valid CPP name.
17694 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17695
17696 # Sed expression to map a string onto a valid variable name.
17697 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17698
17699
17700 exec 6>&1
17701 ## ----------------------------------- ##
17702 ## Main body of $CONFIG_STATUS script. ##
17703 ## ----------------------------------- ##
17704 _ASEOF
17705 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17706
17707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17708 # Save the log message, to keep $0 and so on meaningful, and to
17709 # report actual input values of CONFIG_FILES etc. instead of their
17710 # values after options handling.
17711 ac_log="
17712 This file was extended by librostlab-blast $as_me 1.0.1, which was
17713 generated by GNU Autoconf 2.69. Invocation command line was
17714
17715 CONFIG_FILES = $CONFIG_FILES
17716 CONFIG_HEADERS = $CONFIG_HEADERS
17717 CONFIG_LINKS = $CONFIG_LINKS
17718 CONFIG_COMMANDS = $CONFIG_COMMANDS
17719 $ $0 $@
17720
17721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17722 "
17723
17724 _ACEOF
17725
17726 case $ac_config_files in *"
17727 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17728 esac
17729
17730 case $ac_config_headers in *"
17731 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17732 esac
17733
17734
17735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17736 # Files that config.status was made for.
17737 config_files="$ac_config_files"
17738 config_headers="$ac_config_headers"
17739 config_commands="$ac_config_commands"
17740
17741 _ACEOF
17742
17743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17744 ac_cs_usage="\
17745 \`$as_me' instantiates files and other configuration actions
17746 from templates according to the current configuration. Unless the files
17747 and actions are specified as TAGs, all are instantiated by default.
17748
17749 Usage: $0 [OPTION]... [TAG]...
17750
17751 -h, --help print this help, then exit
17752 -V, --version print version number and configuration settings, then exit
17753 --config print configuration, then exit
17754 -q, --quiet, --silent
17755 do not print progress messages
17756 -d, --debug don't remove temporary files
17757 --recheck update $as_me by reconfiguring in the same conditions
17758 --file=FILE[:TEMPLATE]
17759 instantiate the configuration file FILE
17760 --header=FILE[:TEMPLATE]
17761 instantiate the configuration header FILE
17762
17763 Configuration files:
17764 $config_files
17765
17766 Configuration headers:
17767 $config_headers
17768
17769 Configuration commands:
17770 $config_commands
17771
17772 Report bugs to <https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab-blast>."
17773
17774 _ACEOF
17775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17776 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17777 ac_cs_version="\\
17778 librostlab-blast config.status 1.0.1
17779 configured by $0, generated by GNU Autoconf 2.69,
17780 with options \\"\$ac_cs_config\\"
17781
17782 Copyright (C) 2012 Free Software Foundation, Inc.
17783 This config.status script is free software; the Free Software Foundation
17784 gives unlimited permission to copy, distribute and modify it."
17785
17786 ac_pwd='$ac_pwd'
17787 srcdir='$srcdir'
17788 INSTALL='$INSTALL'
17789 MKDIR_P='$MKDIR_P'
17790 AWK='$AWK'
17791 test -n "\$AWK" || AWK=awk
17792 _ACEOF
17793
17794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17795 # The default lists apply if the user does not specify any file.
17796 ac_need_defaults=:
17797 while test $# != 0
17798 do
17799 case $1 in
17800 --*=?*)
17801 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17802 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17803 ac_shift=:
17804 ;;
17805 --*=)
17806 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17807 ac_optarg=
17808 ac_shift=:
17809 ;;
17810 *)
17811 ac_option=$1
17812 ac_optarg=$2
17813 ac_shift=shift
17814 ;;
17815 esac
17816
17817 case $ac_option in
17818 # Handling of the options.
17819 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17820 ac_cs_recheck=: ;;
17821 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17822 $as_echo "$ac_cs_version"; exit ;;
17823 --config | --confi | --conf | --con | --co | --c )
17824 $as_echo "$ac_cs_config"; exit ;;
17825 --debug | --debu | --deb | --de | --d | -d )
17826 debug=: ;;
17827 --file | --fil | --fi | --f )
17828 $ac_shift
17829 case $ac_optarg in
17830 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17831 '') as_fn_error $? "missing file argument" ;;
17832 esac
17833 as_fn_append CONFIG_FILES " '$ac_optarg'"
17834 ac_need_defaults=false;;
17835 --header | --heade | --head | --hea )
17836 $ac_shift
17837 case $ac_optarg in
17838 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17839 esac
17840 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17841 ac_need_defaults=false;;
17842 --he | --h)
17843 # Conflict between --help and --header
17844 as_fn_error $? "ambiguous option: \`$1'
17845 Try \`$0 --help' for more information.";;
17846 --help | --hel | -h )
17847 $as_echo "$ac_cs_usage"; exit ;;
17848 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17849 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17850 ac_cs_silent=: ;;
17851
17852 # This is an error.
17853 -*) as_fn_error $? "unrecognized option: \`$1'
17854 Try \`$0 --help' for more information." ;;
17855
17856 *) as_fn_append ac_config_targets " $1"
17857 ac_need_defaults=false ;;
17858
17859 esac
17860 shift
17861 done
17862
17863 ac_configure_extra_args=
17864
17865 if $ac_cs_silent; then
17866 exec 6>/dev/null
17867 ac_configure_extra_args="$ac_configure_extra_args --silent"
17868 fi
17869
17870 _ACEOF
17871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17872 if \$ac_cs_recheck; then
17873 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17874 shift
17875 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17876 CONFIG_SHELL='$SHELL'
17877 export CONFIG_SHELL
17878 exec "\$@"
17879 fi
17880
17881 _ACEOF
17882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17883 exec 5>>config.log
17884 {
17885 echo
17886 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17887 ## Running $as_me. ##
17888 _ASBOX
17889 $as_echo "$ac_log"
17890 } >&5
17891
17892 _ACEOF
17893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17894 #
17895 # INIT-COMMANDS
17896 #
17897 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17898
17899
17900 # The HP-UX ksh and POSIX shell print the target directory to stdout
17901 # if CDPATH is set.
17902 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17903
17904 sed_quote_subst='$sed_quote_subst'
17905 double_quote_subst='$double_quote_subst'
17906 delay_variable_subst='$delay_variable_subst'
17907 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17908 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17909 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17910 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17911 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17912 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17913 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17914 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17915 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17916 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17917 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17918 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17919 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17920 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17921 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17922 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17923 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17924 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17925 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17926 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17927 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17928 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17929 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17930 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17931 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17932 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17933 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17934 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17935 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17936 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17937 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17938 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17939 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17940 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17941 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17942 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17943 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17944 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17945 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17946 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17947 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17948 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17949 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17950 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17951 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17952 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17953 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17954 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17955 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17956 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17957 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17958 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17959 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17960 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17961 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17962 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17963 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"`'
17964 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17965 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17966 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17967 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17968 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17969 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17970 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17971 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17972 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17973 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17974 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17975 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17976 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17977 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17978 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17979 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17980 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17981 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17982 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17983 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17984 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17985 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17986 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17987 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17988 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17989 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17990 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17991 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17992 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17993 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17994 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17995 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17996 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17997 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17998 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17999 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18000 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18001 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18002 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18003 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18004 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18005 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18006 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18007 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18008 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18009 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18010 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18011 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18012 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18013 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18014 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18015 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18016 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18017 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18018 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18019 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18020 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18021 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18022 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18023 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18024 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18025 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18026 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18027 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18028 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18029 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18030 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18031 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18032 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18033 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18034 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18035 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18036 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18037 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18038 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18039 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18040 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18041 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18042 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18043 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18044 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18045 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18046 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18047 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18048 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18049 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18050 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18051 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18052 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18053 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18054 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18055 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18056 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18057 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18058 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18059 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18060 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18061 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18062 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18063 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18064 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18065 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18066 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18067 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18068 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18069 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18070 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18071 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18072 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18073 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18074 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18075 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18076 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18077 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18078 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18079 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18080 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18081 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18082 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18083 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18084 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18085 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18086 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18087 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18088 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18089 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18090 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18091
18092 LTCC='$LTCC'
18093 LTCFLAGS='$LTCFLAGS'
18094 compiler='$compiler_DEFAULT'
18095
18096 # A function that is used when there is no print builtin or printf.
18097 func_fallback_echo ()
18098 {
18099 eval 'cat <<_LTECHO_EOF
18100 \$1
18101 _LTECHO_EOF'
18102 }
18103
18104 # Quote evaled strings.
18105 for var in SHELL \
18106 ECHO \
18107 PATH_SEPARATOR \
18108 SED \
18109 GREP \
18110 EGREP \
18111 FGREP \
18112 LD \
18113 NM \
18114 LN_S \
18115 lt_SP2NL \
18116 lt_NL2SP \
18117 reload_flag \
18118 OBJDUMP \
18119 deplibs_check_method \
18120 file_magic_cmd \
18121 file_magic_glob \
18122 want_nocaseglob \
18123 DLLTOOL \
18124 sharedlib_from_linklib_cmd \
18125 AR \
18126 AR_FLAGS \
18127 archiver_list_spec \
18128 STRIP \
18129 RANLIB \
18130 CC \
18131 CFLAGS \
18132 compiler \
18133 lt_cv_sys_global_symbol_pipe \
18134 lt_cv_sys_global_symbol_to_cdecl \
18135 lt_cv_sys_global_symbol_to_c_name_address \
18136 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18137 nm_file_list_spec \
18138 lt_prog_compiler_no_builtin_flag \
18139 lt_prog_compiler_pic \
18140 lt_prog_compiler_wl \
18141 lt_prog_compiler_static \
18142 lt_cv_prog_compiler_c_o \
18143 need_locks \
18144 MANIFEST_TOOL \
18145 DSYMUTIL \
18146 NMEDIT \
18147 LIPO \
18148 OTOOL \
18149 OTOOL64 \
18150 shrext_cmds \
18151 export_dynamic_flag_spec \
18152 whole_archive_flag_spec \
18153 compiler_needs_object \
18154 with_gnu_ld \
18155 allow_undefined_flag \
18156 no_undefined_flag \
18157 hardcode_libdir_flag_spec \
18158 hardcode_libdir_separator \
18159 exclude_expsyms \
18160 include_expsyms \
18161 file_list_spec \
18162 variables_saved_for_relink \
18163 libname_spec \
18164 library_names_spec \
18165 soname_spec \
18166 install_override_mode \
18167 finish_eval \
18168 old_striplib \
18169 striplib \
18170 compiler_lib_search_dirs \
18171 predep_objects \
18172 postdep_objects \
18173 predeps \
18174 postdeps \
18175 compiler_lib_search_path \
18176 LD_CXX \
18177 reload_flag_CXX \
18178 compiler_CXX \
18179 lt_prog_compiler_no_builtin_flag_CXX \
18180 lt_prog_compiler_pic_CXX \
18181 lt_prog_compiler_wl_CXX \
18182 lt_prog_compiler_static_CXX \
18183 lt_cv_prog_compiler_c_o_CXX \
18184 export_dynamic_flag_spec_CXX \
18185 whole_archive_flag_spec_CXX \
18186 compiler_needs_object_CXX \
18187 with_gnu_ld_CXX \
18188 allow_undefined_flag_CXX \
18189 no_undefined_flag_CXX \
18190 hardcode_libdir_flag_spec_CXX \
18191 hardcode_libdir_separator_CXX \
18192 exclude_expsyms_CXX \
18193 include_expsyms_CXX \
18194 file_list_spec_CXX \
18195 compiler_lib_search_dirs_CXX \
18196 predep_objects_CXX \
18197 postdep_objects_CXX \
18198 predeps_CXX \
18199 postdeps_CXX \
18200 compiler_lib_search_path_CXX; do
18201 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18202 *[\\\\\\\`\\"\\\$]*)
18203 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18204 ;;
18205 *)
18206 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18207 ;;
18208 esac
18209 done
18210
18211 # Double-quote double-evaled strings.
18212 for var in reload_cmds \
18213 old_postinstall_cmds \
18214 old_postuninstall_cmds \
18215 old_archive_cmds \
18216 extract_expsyms_cmds \
18217 old_archive_from_new_cmds \
18218 old_archive_from_expsyms_cmds \
18219 archive_cmds \
18220 archive_expsym_cmds \
18221 module_cmds \
18222 module_expsym_cmds \
18223 export_symbols_cmds \
18224 prelink_cmds \
18225 postlink_cmds \
18226 postinstall_cmds \
18227 postuninstall_cmds \
18228 finish_cmds \
18229 sys_lib_search_path_spec \
18230 sys_lib_dlsearch_path_spec \
18231 reload_cmds_CXX \
18232 old_archive_cmds_CXX \
18233 old_archive_from_new_cmds_CXX \
18234 old_archive_from_expsyms_cmds_CXX \
18235 archive_cmds_CXX \
18236 archive_expsym_cmds_CXX \
18237 module_cmds_CXX \
18238 module_expsym_cmds_CXX \
18239 export_symbols_cmds_CXX \
18240 prelink_cmds_CXX \
18241 postlink_cmds_CXX; do
18242 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18243 *[\\\\\\\`\\"\\\$]*)
18244 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18245 ;;
18246 *)
18247 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18248 ;;
18249 esac
18250 done
18251
18252 ac_aux_dir='$ac_aux_dir'
18253 xsi_shell='$xsi_shell'
18254 lt_shell_append='$lt_shell_append'
18255
18256 # See if we are running on zsh, and set the options which allow our
18257 # commands through without removal of \ escapes INIT.
18258 if test -n "\${ZSH_VERSION+set}" ; then
18259 setopt NO_GLOB_SUBST
18260 fi
18261
18262
18263 PACKAGE='$PACKAGE'
18264 VERSION='$VERSION'
18265 TIMESTAMP='$TIMESTAMP'
18266 RM='$RM'
18267 ofile='$ofile'
18268
18269
18270
18271
18272
18273
18274 _ACEOF
18275
18276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18277
18278 # Handling of arguments.
18279 for ac_config_target in $ac_config_targets
18280 do
18281 case $ac_config_target in
18282 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
18283 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18284 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18285 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18286 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
18287 "lib/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/Doxyfile" ;;
18288
18289 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18290 esac
18291 done
18292
18293
18294 # If the user did not use the arguments to specify the items to instantiate,
18295 # then the envvar interface is used. Set only those that are not.
18296 # We use the long form for the default assignment because of an extremely
18297 # bizarre bug on SunOS 4.1.3.
18298 if $ac_need_defaults; then
18299 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18300 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18301 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18302 fi
18303
18304 # Have a temporary directory for convenience. Make it in the build tree
18305 # simply because there is no reason against having it here, and in addition,
18306 # creating and moving files from /tmp can sometimes cause problems.
18307 # Hook for its removal unless debugging.
18308 # Note that there is a small window in which the directory will not be cleaned:
18309 # after its creation but before its name has been assigned to `$tmp'.
18310 $debug ||
18311 {
18312 tmp= ac_tmp=
18313 trap 'exit_status=$?
18314 : "${ac_tmp:=$tmp}"
18315 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18316 ' 0
18317 trap 'as_fn_exit 1' 1 2 13 15
18318 }
18319 # Create a (secure) tmp directory for tmp files.
18320
18321 {
18322 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18323 test -d "$tmp"
18324 } ||
18325 {
18326 tmp=./conf$$-$RANDOM
18327 (umask 077 && mkdir "$tmp")
18328 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18329 ac_tmp=$tmp
18330
18331 # Set up the scripts for CONFIG_FILES section.
18332 # No need to generate them if there are no CONFIG_FILES.
18333 # This happens for instance with `./config.status config.h'.
18334 if test -n "$CONFIG_FILES"; then
18335
18336
18337 ac_cr=`echo X | tr X '\015'`
18338 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18339 # But we know of no other shell where ac_cr would be empty at this
18340 # point, so we can use a bashism as a fallback.
18341 if test "x$ac_cr" = x; then
18342 eval ac_cr=\$\'\\r\'
18343 fi
18344 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18345 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18346 ac_cs_awk_cr='\\r'
18347 else
18348 ac_cs_awk_cr=$ac_cr
18349 fi
18350
18351 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18352 _ACEOF
18353
18354
18355 {
18356 echo "cat >conf$$subs.awk <<_ACEOF" &&
18357 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18358 echo "_ACEOF"
18359 } >conf$$subs.sh ||
18360 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18361 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18362 ac_delim='%!_!# '
18363 for ac_last_try in false false false false false :; do
18364 . ./conf$$subs.sh ||
18365 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18366
18367 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18368 if test $ac_delim_n = $ac_delim_num; then
18369 break
18370 elif $ac_last_try; then
18371 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18372 else
18373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18374 fi
18375 done
18376 rm -f conf$$subs.sh
18377
18378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18379 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18380 _ACEOF
18381 sed -n '
18382 h
18383 s/^/S["/; s/!.*/"]=/
18384 p
18385 g
18386 s/^[^!]*!//
18387 :repl
18388 t repl
18389 s/'"$ac_delim"'$//
18390 t delim
18391 :nl
18392 h
18393 s/\(.\{148\}\)..*/\1/
18394 t more1
18395 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18396 p
18397 n
18398 b repl
18399 :more1
18400 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18401 p
18402 g
18403 s/.\{148\}//
18404 t nl
18405 :delim
18406 h
18407 s/\(.\{148\}\)..*/\1/
18408 t more2
18409 s/["\\]/\\&/g; s/^/"/; s/$/"/
18410 p
18411 b
18412 :more2
18413 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18414 p
18415 g
18416 s/.\{148\}//
18417 t delim
18418 ' <conf$$subs.awk | sed '
18419 /^[^""]/{
18420 N
18421 s/\n//
18422 }
18423 ' >>$CONFIG_STATUS || ac_write_fail=1
18424 rm -f conf$$subs.awk
18425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18426 _ACAWK
18427 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18428 for (key in S) S_is_set[key] = 1
18429 FS = ""
18430
18431 }
18432 {
18433 line = $ 0
18434 nfields = split(line, field, "@")
18435 substed = 0
18436 len = length(field[1])
18437 for (i = 2; i < nfields; i++) {
18438 key = field[i]
18439 keylen = length(key)
18440 if (S_is_set[key]) {
18441 value = S[key]
18442 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18443 len += length(value) + length(field[++i])
18444 substed = 1
18445 } else
18446 len += 1 + keylen
18447 }
18448
18449 print line
18450 }
18451
18452 _ACAWK
18453 _ACEOF
18454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18455 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18456 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18457 else
18458 cat
18459 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18460 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18461 _ACEOF
18462
18463 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18464 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18465 # trailing colons and then remove the whole line if VPATH becomes empty
18466 # (actually we leave an empty line to preserve line numbers).
18467 if test "x$srcdir" = x.; then
18468 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18469 h
18470 s///
18471 s/^/:/
18472 s/[ ]*$/:/
18473 s/:\$(srcdir):/:/g
18474 s/:\${srcdir}:/:/g
18475 s/:@srcdir@:/:/g
18476 s/^:*//
18477 s/:*$//
18478 x
18479 s/\(=[ ]*\).*/\1/
18480 G
18481 s/\n//
18482 s/^[^=]*=[ ]*$//
18483 }'
18484 fi
18485
18486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18487 fi # test -n "$CONFIG_FILES"
18488
18489 # Set up the scripts for CONFIG_HEADERS section.
18490 # No need to generate them if there are no CONFIG_HEADERS.
18491 # This happens for instance with `./config.status Makefile'.
18492 if test -n "$CONFIG_HEADERS"; then
18493 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18494 BEGIN {
18495 _ACEOF
18496
18497 # Transform confdefs.h into an awk script `defines.awk', embedded as
18498 # here-document in config.status, that substitutes the proper values into
18499 # config.h.in to produce config.h.
18500
18501 # Create a delimiter string that does not exist in confdefs.h, to ease
18502 # handling of long lines.
18503 ac_delim='%!_!# '
18504 for ac_last_try in false false :; do
18505 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18506 if test -z "$ac_tt"; then
18507 break
18508 elif $ac_last_try; then
18509 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18510 else
18511 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18512 fi
18513 done
18514
18515 # For the awk script, D is an array of macro values keyed by name,
18516 # likewise P contains macro parameters if any. Preserve backslash
18517 # newline sequences.
18518
18519 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18520 sed -n '
18521 s/.\{148\}/&'"$ac_delim"'/g
18522 t rset
18523 :rset
18524 s/^[ ]*#[ ]*define[ ][ ]*/ /
18525 t def
18526 d
18527 :def
18528 s/\\$//
18529 t bsnl
18530 s/["\\]/\\&/g
18531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18532 D["\1"]=" \3"/p
18533 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18534 d
18535 :bsnl
18536 s/["\\]/\\&/g
18537 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18538 D["\1"]=" \3\\\\\\n"\\/p
18539 t cont
18540 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18541 t cont
18542 d
18543 :cont
18544 n
18545 s/.\{148\}/&'"$ac_delim"'/g
18546 t clear
18547 :clear
18548 s/\\$//
18549 t bsnlc
18550 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18551 d
18552 :bsnlc
18553 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18554 b cont
18555 ' <confdefs.h | sed '
18556 s/'"$ac_delim"'/"\\\
18557 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18558
18559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18560 for (key in D) D_is_set[key] = 1
18561 FS = ""
18562 }
18563 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18564 line = \$ 0
18565 split(line, arg, " ")
18566 if (arg[1] == "#") {
18567 defundef = arg[2]
18568 mac1 = arg[3]
18569 } else {
18570 defundef = substr(arg[1], 2)
18571 mac1 = arg[2]
18572 }
18573 split(mac1, mac2, "(") #)
18574 macro = mac2[1]
18575 prefix = substr(line, 1, index(line, defundef) - 1)
18576 if (D_is_set[macro]) {
18577 # Preserve the white space surrounding the "#".
18578 print prefix "define", macro P[macro] D[macro]
18579 next
18580 } else {
18581 # Replace #undef with comments. This is necessary, for example,
18582 # in the case of _POSIX_SOURCE, which is predefined and required
18583 # on some systems where configure will not decide to define it.
18584 if (defundef == "undef") {
18585 print "/*", prefix defundef, macro, "*/"
18586 next
18587 }
18588 }
18589 }
18590 { print }
18591 _ACAWK
18592 _ACEOF
18593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18594 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18595 fi # test -n "$CONFIG_HEADERS"
18596
18597
18598 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18599 shift
18600 for ac_tag
18601 do
18602 case $ac_tag in
18603 :[FHLC]) ac_mode=$ac_tag; continue;;
18604 esac
18605 case $ac_mode$ac_tag in
18606 :[FHL]*:*);;
18607 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18608 :[FH]-) ac_tag=-:-;;
18609 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18610 esac
18611 ac_save_IFS=$IFS
18612 IFS=:
18613 set x $ac_tag
18614 IFS=$ac_save_IFS
18615 shift
18616 ac_file=$1
18617 shift
18618
18619 case $ac_mode in
18620 :L) ac_source=$1;;
18621 :[FH])
18622 ac_file_inputs=
18623 for ac_f
18624 do
18625 case $ac_f in
18626 -) ac_f="$ac_tmp/stdin";;
18627 *) # Look for the file first in the build tree, then in the source tree
18628 # (if the path is not absolute). The absolute path cannot be DOS-style,
18629 # because $ac_f cannot contain `:'.
18630 test -f "$ac_f" ||
18631 case $ac_f in
18632 [\\/$]*) false;;
18633 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18634 esac ||
18635 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18636 esac
18637 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18638 as_fn_append ac_file_inputs " '$ac_f'"
18639 done
18640
18641 # Let's still pretend it is `configure' which instantiates (i.e., don't
18642 # use $as_me), people would be surprised to read:
18643 # /* config.h. Generated by config.status. */
18644 configure_input='Generated from '`
18645 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18646 `' by configure.'
18647 if test x"$ac_file" != x-; then
18648 configure_input="$ac_file. $configure_input"
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18650 $as_echo "$as_me: creating $ac_file" >&6;}
18651 fi
18652 # Neutralize special characters interpreted by sed in replacement strings.
18653 case $configure_input in #(
18654 *\&* | *\|* | *\\* )
18655 ac_sed_conf_input=`$as_echo "$configure_input" |
18656 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18657 *) ac_sed_conf_input=$configure_input;;
18658 esac
18659
18660 case $ac_tag in
18661 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18663 esac
18664 ;;
18665 esac
18666
18667 ac_dir=`$as_dirname -- "$ac_file" ||
18668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18669 X"$ac_file" : 'X\(//\)[^/]' \| \
18670 X"$ac_file" : 'X\(//\)$' \| \
18671 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18672 $as_echo X"$ac_file" |
18673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18674 s//\1/
18675 q
18676 }
18677 /^X\(\/\/\)[^/].*/{
18678 s//\1/
18679 q
18680 }
18681 /^X\(\/\/\)$/{
18682 s//\1/
18683 q
18684 }
18685 /^X\(\/\).*/{
18686 s//\1/
18687 q
18688 }
18689 s/.*/./; q'`
18690 as_dir="$ac_dir"; as_fn_mkdir_p
18691 ac_builddir=.
18692
18693 case "$ac_dir" in
18694 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18695 *)
18696 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18697 # A ".." for each directory in $ac_dir_suffix.
18698 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18699 case $ac_top_builddir_sub in
18700 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18701 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18702 esac ;;
18703 esac
18704 ac_abs_top_builddir=$ac_pwd
18705 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18706 # for backward compatibility:
18707 ac_top_builddir=$ac_top_build_prefix
18708
18709 case $srcdir in
18710 .) # We are building in place.
18711 ac_srcdir=.
18712 ac_top_srcdir=$ac_top_builddir_sub
18713 ac_abs_top_srcdir=$ac_pwd ;;
18714 [\\/]* | ?:[\\/]* ) # Absolute name.
18715 ac_srcdir=$srcdir$ac_dir_suffix;
18716 ac_top_srcdir=$srcdir
18717 ac_abs_top_srcdir=$srcdir ;;
18718 *) # Relative name.
18719 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18720 ac_top_srcdir=$ac_top_build_prefix$srcdir
18721 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18722 esac
18723 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18724
18725
18726 case $ac_mode in
18727 :F)
18728 #
18729 # CONFIG_FILE
18730 #
18731
18732 case $INSTALL in
18733 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18734 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18735 esac
18736 ac_MKDIR_P=$MKDIR_P
18737 case $MKDIR_P in
18738 [\\/$]* | ?:[\\/]* ) ;;
18739 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18740 esac
18741 _ACEOF
18742
18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18744 # If the template does not know about datarootdir, expand it.
18745 # FIXME: This hack should be removed a few years after 2.60.
18746 ac_datarootdir_hack=; ac_datarootdir_seen=
18747 ac_sed_dataroot='
18748 /datarootdir/ {
18749 p
18750 q
18751 }
18752 /@datadir@/p
18753 /@docdir@/p
18754 /@infodir@/p
18755 /@localedir@/p
18756 /@mandir@/p'
18757 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18758 *datarootdir*) ac_datarootdir_seen=yes;;
18759 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18761 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18762 _ACEOF
18763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18764 ac_datarootdir_hack='
18765 s&@datadir@&$datadir&g
18766 s&@docdir@&$docdir&g
18767 s&@infodir@&$infodir&g
18768 s&@localedir@&$localedir&g
18769 s&@mandir@&$mandir&g
18770 s&\\\${datarootdir}&$datarootdir&g' ;;
18771 esac
18772 _ACEOF
18773
18774 # Neutralize VPATH when `$srcdir' = `.'.
18775 # Shell code in configure.ac might set extrasub.
18776 # FIXME: do we really want to maintain this feature?
18777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18778 ac_sed_extra="$ac_vpsub
18779 $extrasub
18780 _ACEOF
18781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18782 :t
18783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18784 s|@configure_input@|$ac_sed_conf_input|;t t
18785 s&@top_builddir@&$ac_top_builddir_sub&;t t
18786 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18787 s&@srcdir@&$ac_srcdir&;t t
18788 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18789 s&@top_srcdir@&$ac_top_srcdir&;t t
18790 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18791 s&@builddir@&$ac_builddir&;t t
18792 s&@abs_builddir@&$ac_abs_builddir&;t t
18793 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18794 s&@INSTALL@&$ac_INSTALL&;t t
18795 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18796 $ac_datarootdir_hack
18797 "
18798 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18799 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18800
18801 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18802 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18803 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18804 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18806 which seems to be undefined. Please make sure it is defined" >&5
18807 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18808 which seems to be undefined. Please make sure it is defined" >&2;}
18809
18810 rm -f "$ac_tmp/stdin"
18811 case $ac_file in
18812 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18813 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18814 esac \
18815 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18816 ;;
18817 :H)
18818 #
18819 # CONFIG_HEADER
18820 #
18821 if test x"$ac_file" != x-; then
18822 {
18823 $as_echo "/* $configure_input */" \
18824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18825 } >"$ac_tmp/config.h" \
18826 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18827 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18829 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18830 else
18831 rm -f "$ac_file"
18832 mv "$ac_tmp/config.h" "$ac_file" \
18833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18834 fi
18835 else
18836 $as_echo "/* $configure_input */" \
18837 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18838 || as_fn_error $? "could not create -" "$LINENO" 5
18839 fi
18840 # Compute "$ac_file"'s index in $config_headers.
18841 _am_arg="$ac_file"
18842 _am_stamp_count=1
18843 for _am_header in $config_headers :; do
18844 case $_am_header in
18845 $_am_arg | $_am_arg:* )
18846 break ;;
18847 * )
18848 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18849 esac
18850 done
18851 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18852 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18853 X"$_am_arg" : 'X\(//\)[^/]' \| \
18854 X"$_am_arg" : 'X\(//\)$' \| \
18855 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18856 $as_echo X"$_am_arg" |
18857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18858 s//\1/
18859 q
18860 }
18861 /^X\(\/\/\)[^/].*/{
18862 s//\1/
18863 q
18864 }
18865 /^X\(\/\/\)$/{
18866 s//\1/
18867 q
18868 }
18869 /^X\(\/\).*/{
18870 s//\1/
18871 q
18872 }
18873 s/.*/./; q'`/stamp-h$_am_stamp_count
18874 ;;
18875
18876 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18877 $as_echo "$as_me: executing $ac_file commands" >&6;}
18878 ;;
18879 esac
18880
18881
18882 case $ac_file$ac_mode in
18883 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18884 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18885 # are listed without --file. Let's play safe and only enable the eval
18886 # if we detect the quoting.
18887 case $CONFIG_FILES in
18888 *\'*) eval set x "$CONFIG_FILES" ;;
18889 *) set x $CONFIG_FILES ;;
18890 esac
18891 shift
18892 for mf
18893 do
18894 # Strip MF so we end up with the name of the file.
18895 mf=`echo "$mf" | sed -e 's/:.*$//'`
18896 # Check whether this is an Automake generated Makefile or not.
18897 # We used to match only the files named `Makefile.in', but
18898 # some people rename them; so instead we look at the file content.
18899 # Grep'ing the first line is not enough: some people post-process
18900 # each Makefile.in and add a new line on top of each file to say so.
18901 # Grep'ing the whole file is not good either: AIX grep has a line
18902 # limit of 2048, but all sed's we know have understand at least 4000.
18903 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18904 dirpart=`$as_dirname -- "$mf" ||
18905 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18906 X"$mf" : 'X\(//\)[^/]' \| \
18907 X"$mf" : 'X\(//\)$' \| \
18908 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18909 $as_echo X"$mf" |
18910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18911 s//\1/
18912 q
18913 }
18914 /^X\(\/\/\)[^/].*/{
18915 s//\1/
18916 q
18917 }
18918 /^X\(\/\/\)$/{
18919 s//\1/
18920 q
18921 }
18922 /^X\(\/\).*/{
18923 s//\1/
18924 q
18925 }
18926 s/.*/./; q'`
18927 else
18928 continue
18929 fi
18930 # Extract the definition of DEPDIR, am__include, and am__quote
18931 # from the Makefile without running `make'.
18932 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18933 test -z "$DEPDIR" && continue
18934 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18935 test -z "am__include" && continue
18936 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18937 # When using ansi2knr, U may be empty or an underscore; expand it
18938 U=`sed -n 's/^U = //p' < "$mf"`
18939 # Find all dependency output files, they are included files with
18940 # $(DEPDIR) in their names. We invoke sed twice because it is the
18941 # simplest approach to changing $(DEPDIR) to its actual value in the
18942 # expansion.
18943 for file in `sed -n "
18944 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18945 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18946 # Make sure the directory exists.
18947 test -f "$dirpart/$file" && continue
18948 fdir=`$as_dirname -- "$file" ||
18949 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18950 X"$file" : 'X\(//\)[^/]' \| \
18951 X"$file" : 'X\(//\)$' \| \
18952 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18953 $as_echo X"$file" |
18954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18955 s//\1/
18956 q
18957 }
18958 /^X\(\/\/\)[^/].*/{
18959 s//\1/
18960 q
18961 }
18962 /^X\(\/\/\)$/{
18963 s//\1/
18964 q
18965 }
18966 /^X\(\/\).*/{
18967 s//\1/
18968 q
18969 }
18970 s/.*/./; q'`
18971 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18972 # echo "creating $dirpart/$file"
18973 echo '# dummy' > "$dirpart/$file"
18974 done
18975 done
18976 }
18977 ;;
18978 "libtool":C)
18979
18980 # See if we are running on zsh, and set the options which allow our
18981 # commands through without removal of \ escapes.
18982 if test -n "${ZSH_VERSION+set}" ; then
18983 setopt NO_GLOB_SUBST
18984 fi
18985
18986 cfgfile="${ofile}T"
18987 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18988 $RM "$cfgfile"
18989
18990 cat <<_LT_EOF >> "$cfgfile"
18991 #! $SHELL
18992
18993 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18994 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18995 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18996 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18997 #
18998 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18999 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19000 # Foundation, Inc.
19001 # Written by Gordon Matzigkeit, 1996
19002 #
19003 # This file is part of GNU Libtool.
19004 #
19005 # GNU Libtool is free software; you can redistribute it and/or
19006 # modify it under the terms of the GNU General Public License as
19007 # published by the Free Software Foundation; either version 2 of
19008 # the License, or (at your option) any later version.
19009 #
19010 # As a special exception to the GNU General Public License,
19011 # if you distribute this file as part of a program or library that
19012 # is built using GNU Libtool, you may include this file under the
19013 # same distribution terms that you use for the rest of that program.
19014 #
19015 # GNU Libtool is distributed in the hope that it will be useful,
19016 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19017 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19018 # GNU General Public License for more details.
19019 #
19020 # You should have received a copy of the GNU General Public License
19021 # along with GNU Libtool; see the file COPYING. If not, a copy
19022 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19023 # obtained by writing to the Free Software Foundation, Inc.,
19024 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19025
19026
19027 # The names of the tagged configurations supported by this script.
19028 available_tags="CXX "
19029
19030 # ### BEGIN LIBTOOL CONFIG
19031
19032 # Which release of libtool.m4 was used?
19033 macro_version=$macro_version
19034 macro_revision=$macro_revision
19035
19036 # Whether or not to build shared libraries.
19037 build_libtool_libs=$enable_shared
19038
19039 # Whether or not to build static libraries.
19040 build_old_libs=$enable_static
19041
19042 # What type of objects to build.
19043 pic_mode=$pic_mode
19044
19045 # Whether or not to optimize for fast installation.
19046 fast_install=$enable_fast_install
19047
19048 # Shell to use when invoking shell scripts.
19049 SHELL=$lt_SHELL
19050
19051 # An echo program that protects backslashes.
19052 ECHO=$lt_ECHO
19053
19054 # The PATH separator for the build system.
19055 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19056
19057 # The host system.
19058 host_alias=$host_alias
19059 host=$host
19060 host_os=$host_os
19061
19062 # The build system.
19063 build_alias=$build_alias
19064 build=$build
19065 build_os=$build_os
19066
19067 # A sed program that does not truncate output.
19068 SED=$lt_SED
19069
19070 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19071 Xsed="\$SED -e 1s/^X//"
19072
19073 # A grep program that handles long lines.
19074 GREP=$lt_GREP
19075
19076 # An ERE matcher.
19077 EGREP=$lt_EGREP
19078
19079 # A literal string matcher.
19080 FGREP=$lt_FGREP
19081
19082 # A BSD- or MS-compatible name lister.
19083 NM=$lt_NM
19084
19085 # Whether we need soft or hard links.
19086 LN_S=$lt_LN_S
19087
19088 # What is the maximum length of a command?
19089 max_cmd_len=$max_cmd_len
19090
19091 # Object file suffix (normally "o").
19092 objext=$ac_objext
19093
19094 # Executable file suffix (normally "").
19095 exeext=$exeext
19096
19097 # whether the shell understands "unset".
19098 lt_unset=$lt_unset
19099
19100 # turn spaces into newlines.
19101 SP2NL=$lt_lt_SP2NL
19102
19103 # turn newlines into spaces.
19104 NL2SP=$lt_lt_NL2SP
19105
19106 # convert \$build file names to \$host format.
19107 to_host_file_cmd=$lt_cv_to_host_file_cmd
19108
19109 # convert \$build files to toolchain format.
19110 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19111
19112 # An object symbol dumper.
19113 OBJDUMP=$lt_OBJDUMP
19114
19115 # Method to check whether dependent libraries are shared objects.
19116 deplibs_check_method=$lt_deplibs_check_method
19117
19118 # Command to use when deplibs_check_method = "file_magic".
19119 file_magic_cmd=$lt_file_magic_cmd
19120
19121 # How to find potential files when deplibs_check_method = "file_magic".
19122 file_magic_glob=$lt_file_magic_glob
19123
19124 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19125 want_nocaseglob=$lt_want_nocaseglob
19126
19127 # DLL creation program.
19128 DLLTOOL=$lt_DLLTOOL
19129
19130 # Command to associate shared and link libraries.
19131 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19132
19133 # The archiver.
19134 AR=$lt_AR
19135
19136 # Flags to create an archive.
19137 AR_FLAGS=$lt_AR_FLAGS
19138
19139 # How to feed a file listing to the archiver.
19140 archiver_list_spec=$lt_archiver_list_spec
19141
19142 # A symbol stripping program.
19143 STRIP=$lt_STRIP
19144
19145 # Commands used to install an old-style archive.
19146 RANLIB=$lt_RANLIB
19147 old_postinstall_cmds=$lt_old_postinstall_cmds
19148 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19149
19150 # Whether to use a lock for old archive extraction.
19151 lock_old_archive_extraction=$lock_old_archive_extraction
19152
19153 # A C compiler.
19154 LTCC=$lt_CC
19155
19156 # LTCC compiler flags.
19157 LTCFLAGS=$lt_CFLAGS
19158
19159 # Take the output of nm and produce a listing of raw symbols and C names.
19160 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19161
19162 # Transform the output of nm in a proper C declaration.
19163 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19164
19165 # Transform the output of nm in a C name address pair.
19166 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19167
19168 # Transform the output of nm in a C name address pair when lib prefix is needed.
19169 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19170
19171 # Specify filename containing input files for \$NM.
19172 nm_file_list_spec=$lt_nm_file_list_spec
19173
19174 # The root where to search for dependent libraries,and in which our libraries should be installed.
19175 lt_sysroot=$lt_sysroot
19176
19177 # The name of the directory that contains temporary libtool files.
19178 objdir=$objdir
19179
19180 # Used to examine libraries when file_magic_cmd begins with "file".
19181 MAGIC_CMD=$MAGIC_CMD
19182
19183 # Must we lock files when doing compilation?
19184 need_locks=$lt_need_locks
19185
19186 # Manifest tool.
19187 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19188
19189 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19190 DSYMUTIL=$lt_DSYMUTIL
19191
19192 # Tool to change global to local symbols on Mac OS X.
19193 NMEDIT=$lt_NMEDIT
19194
19195 # Tool to manipulate fat objects and archives on Mac OS X.
19196 LIPO=$lt_LIPO
19197
19198 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19199 OTOOL=$lt_OTOOL
19200
19201 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19202 OTOOL64=$lt_OTOOL64
19203
19204 # Old archive suffix (normally "a").
19205 libext=$libext
19206
19207 # Shared library suffix (normally ".so").
19208 shrext_cmds=$lt_shrext_cmds
19209
19210 # The commands to extract the exported symbol list from a shared archive.
19211 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19212
19213 # Variables whose values should be saved in libtool wrapper scripts and
19214 # restored at link time.
19215 variables_saved_for_relink=$lt_variables_saved_for_relink
19216
19217 # Do we need the "lib" prefix for modules?
19218 need_lib_prefix=$need_lib_prefix
19219
19220 # Do we need a version for libraries?
19221 need_version=$need_version
19222
19223 # Library versioning type.
19224 version_type=$version_type
19225
19226 # Shared library runtime path variable.
19227 runpath_var=$runpath_var
19228
19229 # Shared library path variable.
19230 shlibpath_var=$shlibpath_var
19231
19232 # Is shlibpath searched before the hard-coded library search path?
19233 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19234
19235 # Format of library name prefix.
19236 libname_spec=$lt_libname_spec
19237
19238 # List of archive names. First name is the real one, the rest are links.
19239 # The last name is the one that the linker finds with -lNAME
19240 library_names_spec=$lt_library_names_spec
19241
19242 # The coded name of the library, if different from the real name.
19243 soname_spec=$lt_soname_spec
19244
19245 # Permission mode override for installation of shared libraries.
19246 install_override_mode=$lt_install_override_mode
19247
19248 # Command to use after installation of a shared archive.
19249 postinstall_cmds=$lt_postinstall_cmds
19250
19251 # Command to use after uninstallation of a shared archive.
19252 postuninstall_cmds=$lt_postuninstall_cmds
19253
19254 # Commands used to finish a libtool library installation in a directory.
19255 finish_cmds=$lt_finish_cmds
19256
19257 # As "finish_cmds", except a single script fragment to be evaled but
19258 # not shown.
19259 finish_eval=$lt_finish_eval
19260
19261 # Whether we should hardcode library paths into libraries.
19262 hardcode_into_libs=$hardcode_into_libs
19263
19264 # Compile-time system search path for libraries.
19265 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19266
19267 # Run-time system search path for libraries.
19268 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19269
19270 # Whether dlopen is supported.
19271 dlopen_support=$enable_dlopen
19272
19273 # Whether dlopen of programs is supported.
19274 dlopen_self=$enable_dlopen_self
19275
19276 # Whether dlopen of statically linked programs is supported.
19277 dlopen_self_static=$enable_dlopen_self_static
19278
19279 # Commands to strip libraries.
19280 old_striplib=$lt_old_striplib
19281 striplib=$lt_striplib
19282
19283
19284 # The linker used to build libraries.
19285 LD=$lt_LD
19286
19287 # How to create reloadable object files.
19288 reload_flag=$lt_reload_flag
19289 reload_cmds=$lt_reload_cmds
19290
19291 # Commands used to build an old-style archive.
19292 old_archive_cmds=$lt_old_archive_cmds
19293
19294 # A language specific compiler.
19295 CC=$lt_compiler
19296
19297 # Is the compiler the GNU compiler?
19298 with_gcc=$GCC
19299
19300 # Compiler flag to turn off builtin functions.
19301 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19302
19303 # Additional compiler flags for building library objects.
19304 pic_flag=$lt_lt_prog_compiler_pic
19305
19306 # How to pass a linker flag through the compiler.
19307 wl=$lt_lt_prog_compiler_wl
19308
19309 # Compiler flag to prevent dynamic linking.
19310 link_static_flag=$lt_lt_prog_compiler_static
19311
19312 # Does compiler simultaneously support -c and -o options?
19313 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19314
19315 # Whether or not to add -lc for building shared libraries.
19316 build_libtool_need_lc=$archive_cmds_need_lc
19317
19318 # Whether or not to disallow shared libs when runtime libs are static.
19319 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19320
19321 # Compiler flag to allow reflexive dlopens.
19322 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19323
19324 # Compiler flag to generate shared objects directly from archives.
19325 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19326
19327 # Whether the compiler copes with passing no objects directly.
19328 compiler_needs_object=$lt_compiler_needs_object
19329
19330 # Create an old-style archive from a shared archive.
19331 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19332
19333 # Create a temporary old-style archive to link instead of a shared archive.
19334 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19335
19336 # Commands used to build a shared archive.
19337 archive_cmds=$lt_archive_cmds
19338 archive_expsym_cmds=$lt_archive_expsym_cmds
19339
19340 # Commands used to build a loadable module if different from building
19341 # a shared archive.
19342 module_cmds=$lt_module_cmds
19343 module_expsym_cmds=$lt_module_expsym_cmds
19344
19345 # Whether we are building with GNU ld or not.
19346 with_gnu_ld=$lt_with_gnu_ld
19347
19348 # Flag that allows shared libraries with undefined symbols to be built.
19349 allow_undefined_flag=$lt_allow_undefined_flag
19350
19351 # Flag that enforces no undefined symbols.
19352 no_undefined_flag=$lt_no_undefined_flag
19353
19354 # Flag to hardcode \$libdir into a binary during linking.
19355 # This must work even if \$libdir does not exist
19356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19357
19358 # Whether we need a single "-rpath" flag with a separated argument.
19359 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19360
19361 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19362 # DIR into the resulting binary.
19363 hardcode_direct=$hardcode_direct
19364
19365 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19366 # DIR into the resulting binary and the resulting library dependency is
19367 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19368 # library is relocated.
19369 hardcode_direct_absolute=$hardcode_direct_absolute
19370
19371 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19372 # into the resulting binary.
19373 hardcode_minus_L=$hardcode_minus_L
19374
19375 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19376 # into the resulting binary.
19377 hardcode_shlibpath_var=$hardcode_shlibpath_var
19378
19379 # Set to "yes" if building a shared library automatically hardcodes DIR
19380 # into the library and all subsequent libraries and executables linked
19381 # against it.
19382 hardcode_automatic=$hardcode_automatic
19383
19384 # Set to yes if linker adds runtime paths of dependent libraries
19385 # to runtime path list.
19386 inherit_rpath=$inherit_rpath
19387
19388 # Whether libtool must link a program against all its dependency libraries.
19389 link_all_deplibs=$link_all_deplibs
19390
19391 # Set to "yes" if exported symbols are required.
19392 always_export_symbols=$always_export_symbols
19393
19394 # The commands to list exported symbols.
19395 export_symbols_cmds=$lt_export_symbols_cmds
19396
19397 # Symbols that should not be listed in the preloaded symbols.
19398 exclude_expsyms=$lt_exclude_expsyms
19399
19400 # Symbols that must always be exported.
19401 include_expsyms=$lt_include_expsyms
19402
19403 # Commands necessary for linking programs (against libraries) with templates.
19404 prelink_cmds=$lt_prelink_cmds
19405
19406 # Commands necessary for finishing linking programs.
19407 postlink_cmds=$lt_postlink_cmds
19408
19409 # Specify filename containing input files.
19410 file_list_spec=$lt_file_list_spec
19411
19412 # How to hardcode a shared library path into an executable.
19413 hardcode_action=$hardcode_action
19414
19415 # The directories searched by this compiler when creating a shared library.
19416 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19417
19418 # Dependencies to place before and after the objects being linked to
19419 # create a shared library.
19420 predep_objects=$lt_predep_objects
19421 postdep_objects=$lt_postdep_objects
19422 predeps=$lt_predeps
19423 postdeps=$lt_postdeps
19424
19425 # The library search path used internally by the compiler when linking
19426 # a shared library.
19427 compiler_lib_search_path=$lt_compiler_lib_search_path
19428
19429 # ### END LIBTOOL CONFIG
19430
19431 _LT_EOF
19432
19433 case $host_os in
19434 aix3*)
19435 cat <<\_LT_EOF >> "$cfgfile"
19436 # AIX sometimes has problems with the GCC collect2 program. For some
19437 # reason, if we set the COLLECT_NAMES environment variable, the problems
19438 # vanish in a puff of smoke.
19439 if test "X${COLLECT_NAMES+set}" != Xset; then
19440 COLLECT_NAMES=
19441 export COLLECT_NAMES
19442 fi
19443 _LT_EOF
19444 ;;
19445 esac
19446
19447
19448 ltmain="$ac_aux_dir/ltmain.sh"
19449
19450
19451 # We use sed instead of cat because bash on DJGPP gets confused if
19452 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19453 # text mode, it properly converts lines to CR/LF. This bash problem
19454 # is reportedly fixed, but why not run on old versions too?
19455 sed '$q' "$ltmain" >> "$cfgfile" \
19456 || (rm -f "$cfgfile"; exit 1)
19457
19458 if test x"$xsi_shell" = xyes; then
19459 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19460 func_dirname ()\
19461 {\
19462 \ case ${1} in\
19463 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19464 \ * ) func_dirname_result="${3}" ;;\
19465 \ esac\
19466 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19467 && mv -f "$cfgfile.tmp" "$cfgfile" \
19468 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19469 test 0 -eq $? || _lt_function_replace_fail=:
19470
19471
19472 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19473 func_basename ()\
19474 {\
19475 \ func_basename_result="${1##*/}"\
19476 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19477 && mv -f "$cfgfile.tmp" "$cfgfile" \
19478 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19479 test 0 -eq $? || _lt_function_replace_fail=:
19480
19481
19482 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19483 func_dirname_and_basename ()\
19484 {\
19485 \ case ${1} in\
19486 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19487 \ * ) func_dirname_result="${3}" ;;\
19488 \ esac\
19489 \ func_basename_result="${1##*/}"\
19490 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19491 && mv -f "$cfgfile.tmp" "$cfgfile" \
19492 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19493 test 0 -eq $? || _lt_function_replace_fail=:
19494
19495
19496 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19497 func_stripname ()\
19498 {\
19499 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19500 \ # positional parameters, so assign one to ordinary parameter first.\
19501 \ func_stripname_result=${3}\
19502 \ func_stripname_result=${func_stripname_result#"${1}"}\
19503 \ func_stripname_result=${func_stripname_result%"${2}"}\
19504 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19505 && mv -f "$cfgfile.tmp" "$cfgfile" \
19506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19507 test 0 -eq $? || _lt_function_replace_fail=:
19508
19509
19510 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19511 func_split_long_opt ()\
19512 {\
19513 \ func_split_long_opt_name=${1%%=*}\
19514 \ func_split_long_opt_arg=${1#*=}\
19515 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19516 && mv -f "$cfgfile.tmp" "$cfgfile" \
19517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19518 test 0 -eq $? || _lt_function_replace_fail=:
19519
19520
19521 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19522 func_split_short_opt ()\
19523 {\
19524 \ func_split_short_opt_arg=${1#??}\
19525 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19526 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19527 && mv -f "$cfgfile.tmp" "$cfgfile" \
19528 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19529 test 0 -eq $? || _lt_function_replace_fail=:
19530
19531
19532 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19533 func_lo2o ()\
19534 {\
19535 \ case ${1} in\
19536 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19537 \ *) func_lo2o_result=${1} ;;\
19538 \ esac\
19539 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19540 && mv -f "$cfgfile.tmp" "$cfgfile" \
19541 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19542 test 0 -eq $? || _lt_function_replace_fail=:
19543
19544
19545 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19546 func_xform ()\
19547 {\
19548 func_xform_result=${1%.*}.lo\
19549 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19550 && mv -f "$cfgfile.tmp" "$cfgfile" \
19551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19552 test 0 -eq $? || _lt_function_replace_fail=:
19553
19554
19555 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19556 func_arith ()\
19557 {\
19558 func_arith_result=$(( $* ))\
19559 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19560 && mv -f "$cfgfile.tmp" "$cfgfile" \
19561 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19562 test 0 -eq $? || _lt_function_replace_fail=:
19563
19564
19565 sed -e '/^func_len ()$/,/^} # func_len /c\
19566 func_len ()\
19567 {\
19568 func_len_result=${#1}\
19569 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19570 && mv -f "$cfgfile.tmp" "$cfgfile" \
19571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19572 test 0 -eq $? || _lt_function_replace_fail=:
19573
19574 fi
19575
19576 if test x"$lt_shell_append" = xyes; then
19577 sed -e '/^func_append ()$/,/^} # func_append /c\
19578 func_append ()\
19579 {\
19580 eval "${1}+=\\${2}"\
19581 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19582 && mv -f "$cfgfile.tmp" "$cfgfile" \
19583 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19584 test 0 -eq $? || _lt_function_replace_fail=:
19585
19586
19587 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19588 func_append_quoted ()\
19589 {\
19590 \ func_quote_for_eval "${2}"\
19591 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19592 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19593 && mv -f "$cfgfile.tmp" "$cfgfile" \
19594 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19595 test 0 -eq $? || _lt_function_replace_fail=:
19596
19597
19598 # Save a `func_append' function call where possible by direct use of '+='
19599 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19600 && mv -f "$cfgfile.tmp" "$cfgfile" \
19601 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19602 test 0 -eq $? || _lt_function_replace_fail=:
19603 else
19604 # Save a `func_append' function call even when '+=' is not available
19605 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19606 && mv -f "$cfgfile.tmp" "$cfgfile" \
19607 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19608 test 0 -eq $? || _lt_function_replace_fail=:
19609 fi
19610
19611 if test x"$_lt_function_replace_fail" = x":"; then
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19613 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19614 fi
19615
19616
19617 mv -f "$cfgfile" "$ofile" ||
19618 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19619 chmod +x "$ofile"
19620
19621
19622 cat <<_LT_EOF >> "$ofile"
19623
19624 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19625
19626 # The linker used to build libraries.
19627 LD=$lt_LD_CXX
19628
19629 # How to create reloadable object files.
19630 reload_flag=$lt_reload_flag_CXX
19631 reload_cmds=$lt_reload_cmds_CXX
19632
19633 # Commands used to build an old-style archive.
19634 old_archive_cmds=$lt_old_archive_cmds_CXX
19635
19636 # A language specific compiler.
19637 CC=$lt_compiler_CXX
19638
19639 # Is the compiler the GNU compiler?
19640 with_gcc=$GCC_CXX
19641
19642 # Compiler flag to turn off builtin functions.
19643 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19644
19645 # Additional compiler flags for building library objects.
19646 pic_flag=$lt_lt_prog_compiler_pic_CXX
19647
19648 # How to pass a linker flag through the compiler.
19649 wl=$lt_lt_prog_compiler_wl_CXX
19650
19651 # Compiler flag to prevent dynamic linking.
19652 link_static_flag=$lt_lt_prog_compiler_static_CXX
19653
19654 # Does compiler simultaneously support -c and -o options?
19655 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19656
19657 # Whether or not to add -lc for building shared libraries.
19658 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19659
19660 # Whether or not to disallow shared libs when runtime libs are static.
19661 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19662
19663 # Compiler flag to allow reflexive dlopens.
19664 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19665
19666 # Compiler flag to generate shared objects directly from archives.
19667 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19668
19669 # Whether the compiler copes with passing no objects directly.
19670 compiler_needs_object=$lt_compiler_needs_object_CXX
19671
19672 # Create an old-style archive from a shared archive.
19673 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19674
19675 # Create a temporary old-style archive to link instead of a shared archive.
19676 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19677
19678 # Commands used to build a shared archive.
19679 archive_cmds=$lt_archive_cmds_CXX
19680 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19681
19682 # Commands used to build a loadable module if different from building
19683 # a shared archive.
19684 module_cmds=$lt_module_cmds_CXX
19685 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19686
19687 # Whether we are building with GNU ld or not.
19688 with_gnu_ld=$lt_with_gnu_ld_CXX
19689
19690 # Flag that allows shared libraries with undefined symbols to be built.
19691 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19692
19693 # Flag that enforces no undefined symbols.
19694 no_undefined_flag=$lt_no_undefined_flag_CXX
19695
19696 # Flag to hardcode \$libdir into a binary during linking.
19697 # This must work even if \$libdir does not exist
19698 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19699
19700 # Whether we need a single "-rpath" flag with a separated argument.
19701 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19702
19703 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19704 # DIR into the resulting binary.
19705 hardcode_direct=$hardcode_direct_CXX
19706
19707 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19708 # DIR into the resulting binary and the resulting library dependency is
19709 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19710 # library is relocated.
19711 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19712
19713 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19714 # into the resulting binary.
19715 hardcode_minus_L=$hardcode_minus_L_CXX
19716
19717 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19718 # into the resulting binary.
19719 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19720
19721 # Set to "yes" if building a shared library automatically hardcodes DIR
19722 # into the library and all subsequent libraries and executables linked
19723 # against it.
19724 hardcode_automatic=$hardcode_automatic_CXX
19725
19726 # Set to yes if linker adds runtime paths of dependent libraries
19727 # to runtime path list.
19728 inherit_rpath=$inherit_rpath_CXX
19729
19730 # Whether libtool must link a program against all its dependency libraries.
19731 link_all_deplibs=$link_all_deplibs_CXX
19732
19733 # Set to "yes" if exported symbols are required.
19734 always_export_symbols=$always_export_symbols_CXX
19735
19736 # The commands to list exported symbols.
19737 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19738
19739 # Symbols that should not be listed in the preloaded symbols.
19740 exclude_expsyms=$lt_exclude_expsyms_CXX
19741
19742 # Symbols that must always be exported.
19743 include_expsyms=$lt_include_expsyms_CXX
19744
19745 # Commands necessary for linking programs (against libraries) with templates.
19746 prelink_cmds=$lt_prelink_cmds_CXX
19747
19748 # Commands necessary for finishing linking programs.
19749 postlink_cmds=$lt_postlink_cmds_CXX
19750
19751 # Specify filename containing input files.
19752 file_list_spec=$lt_file_list_spec_CXX
19753
19754 # How to hardcode a shared library path into an executable.
19755 hardcode_action=$hardcode_action_CXX
19756
19757 # The directories searched by this compiler when creating a shared library.
19758 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19759
19760 # Dependencies to place before and after the objects being linked to
19761 # create a shared library.
19762 predep_objects=$lt_predep_objects_CXX
19763 postdep_objects=$lt_postdep_objects_CXX
19764 predeps=$lt_predeps_CXX
19765 postdeps=$lt_postdeps_CXX
19766
19767 # The library search path used internally by the compiler when linking
19768 # a shared library.
19769 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19770
19771 # ### END LIBTOOL TAG CONFIG: CXX
19772 _LT_EOF
19773
19774 ;;
19775
19776 esac
19777 done # for ac_tag
19778
19779
19780 as_fn_exit 0
19781 _ACEOF
19782 ac_clean_files=$ac_clean_files_save
19783
19784 test $ac_write_fail = 0 ||
19785 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19786
19787
19788 # configure is writing to config.log, and then calls config.status.
19789 # config.status does its own redirection, appending to config.log.
19790 # Unfortunately, on DOS this fails, as config.log is still kept open
19791 # by configure, so config.status won't be able to write to it; its
19792 # output is simply discarded. So we exec the FD to /dev/null,
19793 # effectively closing config.log, so it can be properly (re)opened and
19794 # appended to by config.status. When coming back to configure, we
19795 # need to make the FD available again.
19796 if test "$no_create" != yes; then
19797 ac_cs_success=:
19798 ac_config_status_args=
19799 test "$silent" = yes &&
19800 ac_config_status_args="$ac_config_status_args --quiet"
19801 exec 5>/dev/null
19802 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19803 exec 5>>config.log
19804 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19805 # would make configure fail if this is the last instruction.
19806 $ac_cs_success || as_fn_exit 1
19807 fi
19808 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19810 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19811 fi
19812