Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for DSSI 1.1.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
92
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
187 as_have_required=yes
188 else
189 as_have_required=no
190 fi
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=.
200 as_found=:
201 case $as_dir in #(
202 /*)
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 break 2
211 fi
212 fi
213 done;;
214 esac
215 as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248 else
249 $as_echo "$0: Please tell [email protected] and
250 $0: [email protected] about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254 fi
255 exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273 { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282 return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290 set +e
291 as_fn_set_status $1
292 exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301 case $as_dir in #(
302 -*) as_dir=./$as_dir;;
303 esac
304 test -d "$as_dir" || eval $as_mkdir_p || {
305 as_dirs=
306 while :; do
307 case $as_dir in #(
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309 *) as_qdir=$as_dir;;
310 esac
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\/\)[^/].*/{
323 s//\1/
324 q
325 }
326 /^X\(\/\/\)$/{
327 s//\1/
328 q
329 }
330 /^X\(\/\).*/{
331 s//\1/
332 q
333 }
334 s/.*/./; q'`
335 test -d "$as_dir" && break
336 done
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
350 {
351 eval $1+=\$2
352 }'
353 else
354 as_fn_append ()
355 {
356 eval $1=\$$1\$2
357 }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 eval 'as_fn_arith ()
367 {
368 as_val=$(( $* ))
369 }'
370 else
371 as_fn_arith ()
372 {
373 as_val=`expr "$@" || test $? -eq 1`
374 }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385 as_status=$1; test $as_status -eq 0 && as_status=1
386 if test "$4"; then
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389 fi
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
396 as_expr=expr
397 else
398 as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402 as_basename=basename
403 else
404 as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408 as_dirname=dirname
409 else
410 as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 s//\1/
420 q
421 }
422 /^X\/\(\/\/\)$/{
423 s//\1/
424 q
425 }
426 /^X\/\(\/\).*/{
427 s//\1/
428 q
429 }
430 s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 sed -n '
446 p
447 /[$]LINENO/=
448 ' <$as_myself |
449 sed '
450 s/[$]LINENO.*/&-/
451 t lineno
452 b
453 :lineno
454 N
455 :loop
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 t loop
458 s/-\n.*//
459 ' >$as_me.lineno &&
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
466 . "./$as_me.lineno"
467 # Exit status is that of the last command.
468 exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 xy) ECHO_C='\c';;
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
478 ECHO_T=' ';;
479 esac;;
480 *)
481 ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487 else
488 rm -f conf$$.dir
489 mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
504 fi
505 else
506 as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
520 else
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
525 fi
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in #(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
537 '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='DSSI'
572 PACKAGE_TARNAME='dssi'
573 PACKAGE_VERSION='1.1.1'
574 PACKAGE_STRING='DSSI 1.1.1'
575 PACKAGE_BUGREPORT='[email protected]'
576 PACKAGE_URL=''
577
578 ac_unique_file="dssi/dssi.h"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 # include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 # include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 BUILD_SAMPLER_FALSE
620 BUILD_SAMPLER_TRUE
621 DARWIN_FALSE
622 DARWIN_TRUE
623 HAVE_QT_FALSE
624 HAVE_QT_TRUE
625 QT_MOC
626 QT_LIBS
627 QT_CFLAGS
628 SRC_LIBS
629 SRC_CFLAGS
630 SNDFILE_LIBS
631 SNDFILE_CFLAGS
632 HAVE_JACK_FALSE
633 HAVE_JACK_TRUE
634 JACK_LIBS
635 JACK_CFLAGS
636 HAVE_LIBLO_FALSE
637 HAVE_LIBLO_TRUE
638 LIBLO_LIBS
639 LIBLO_CFLAGS
640 ALSA_LIBS
641 ALSA_CFLAGS
642 PKG_CONFIG_LIBDIR
643 PKG_CONFIG_PATH
644 PKG_CONFIG
645 CXXCPP
646 CPP
647 OTOOL64
648 OTOOL
649 LIPO
650 NMEDIT
651 DSYMUTIL
652 MANIFEST_TOOL
653 RANLIB
654 ac_ct_AR
655 AR
656 DLLTOOL
657 OBJDUMP
658 LN_S
659 NM
660 ac_ct_DUMPBIN
661 DUMPBIN
662 LD
663 FGREP
664 EGREP
665 GREP
666 SED
667 host_os
668 host_vendor
669 host_cpu
670 host
671 build_os
672 build_vendor
673 build_cpu
674 build
675 LIBTOOL
676 am__fastdepCXX_FALSE
677 am__fastdepCXX_TRUE
678 CXXDEPMODE
679 ac_ct_CXX
680 CXXFLAGS
681 CXX
682 am__fastdepCC_FALSE
683 am__fastdepCC_TRUE
684 CCDEPMODE
685 AMDEPBACKSLASH
686 AMDEP_FALSE
687 AMDEP_TRUE
688 am__quote
689 am__include
690 DEPDIR
691 OBJEXT
692 EXEEXT
693 ac_ct_CC
694 CPPFLAGS
695 LDFLAGS
696 CFLAGS
697 CC
698 am__untar
699 am__tar
700 AMTAR
701 am__leading_dot
702 SET_MAKE
703 AWK
704 mkdir_p
705 MKDIR_P
706 INSTALL_STRIP_PROGRAM
707 STRIP
708 install_sh
709 MAKEINFO
710 AUTOHEADER
711 AUTOMAKE
712 AUTOCONF
713 ACLOCAL
714 VERSION
715 PACKAGE
716 CYGPATH_W
717 am__isrc
718 INSTALL_DATA
719 INSTALL_SCRIPT
720 INSTALL_PROGRAM
721 target_alias
722 host_alias
723 build_alias
724 LIBS
725 ECHO_T
726 ECHO_N
727 ECHO_C
728 DEFS
729 mandir
730 localedir
731 libdir
732 psdir
733 pdfdir
734 dvidir
735 htmldir
736 infodir
737 docdir
738 oldincludedir
739 includedir
740 localstatedir
741 sharedstatedir
742 sysconfdir
743 datadir
744 datarootdir
745 libexecdir
746 sbindir
747 bindir
748 program_transform_name
749 prefix
750 exec_prefix
751 PACKAGE_URL
752 PACKAGE_BUGREPORT
753 PACKAGE_STRING
754 PACKAGE_VERSION
755 PACKAGE_TARNAME
756 PACKAGE_NAME
757 PATH_SEPARATOR
758 SHELL'
759 ac_subst_files=''
760 ac_user_opts='
761 enable_option_checking
762 enable_dependency_tracking
763 enable_static
764 enable_shared
765 with_pic
766 enable_fast_install
767 with_gnu_ld
768 with_sysroot
769 enable_libtool_lock
770 '
771 ac_precious_vars='build_alias
772 host_alias
773 target_alias
774 CC
775 CFLAGS
776 LDFLAGS
777 LIBS
778 CPPFLAGS
779 CXX
780 CXXFLAGS
781 CCC
782 CPP
783 CXXCPP
784 PKG_CONFIG
785 PKG_CONFIG_PATH
786 PKG_CONFIG_LIBDIR
787 ALSA_CFLAGS
788 ALSA_LIBS
789 LIBLO_CFLAGS
790 LIBLO_LIBS
791 JACK_CFLAGS
792 JACK_LIBS
793 SNDFILE_CFLAGS
794 SNDFILE_LIBS
795 SRC_CFLAGS
796 SRC_LIBS
797 QT_CFLAGS
798 QT_LIBS'
799
800
801 # Initialize some variables set by options.
802 ac_init_help=
803 ac_init_version=false
804 ac_unrecognized_opts=
805 ac_unrecognized_sep=
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
808 cache_file=/dev/null
809 exec_prefix=NONE
810 no_create=
811 no_recursion=
812 prefix=NONE
813 program_prefix=NONE
814 program_suffix=NONE
815 program_transform_name=s,x,x,
816 silent=
817 site=
818 srcdir=
819 verbose=
820 x_includes=NONE
821 x_libraries=NONE
822
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir='${exec_prefix}/bin'
830 sbindir='${exec_prefix}/sbin'
831 libexecdir='${exec_prefix}/libexec'
832 datarootdir='${prefix}/share'
833 datadir='${datarootdir}'
834 sysconfdir='${prefix}/etc'
835 sharedstatedir='${prefix}/com'
836 localstatedir='${prefix}/var'
837 includedir='${prefix}/include'
838 oldincludedir='/usr/include'
839 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir='${datarootdir}/info'
841 htmldir='${docdir}'
842 dvidir='${docdir}'
843 pdfdir='${docdir}'
844 psdir='${docdir}'
845 libdir='${exec_prefix}/lib'
846 localedir='${datarootdir}/locale'
847 mandir='${datarootdir}/man'
848
849 ac_prev=
850 ac_dashdash=
851 for ac_option
852 do
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\$ac_option
856 ac_prev=
857 continue
858 fi
859
860 case $ac_option in
861 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 *=) ac_optarg= ;;
863 *) ac_optarg=yes ;;
864 esac
865
866 # Accept the important Cygnus configure options, so we can diagnose typos.
867
868 case $ac_dashdash$ac_option in
869 --)
870 ac_dashdash=yes ;;
871
872 -bindir | --bindir | --bindi | --bind | --bin | --bi)
873 ac_prev=bindir ;;
874 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
875 bindir=$ac_optarg ;;
876
877 -build | --build | --buil | --bui | --bu)
878 ac_prev=build_alias ;;
879 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
880 build_alias=$ac_optarg ;;
881
882 -cache-file | --cache-file | --cache-fil | --cache-fi \
883 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
884 ac_prev=cache_file ;;
885 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
886 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
887 cache_file=$ac_optarg ;;
888
889 --config-cache | -C)
890 cache_file=config.cache ;;
891
892 -datadir | --datadir | --datadi | --datad)
893 ac_prev=datadir ;;
894 -datadir=* | --datadir=* | --datadi=* | --datad=*)
895 datadir=$ac_optarg ;;
896
897 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
898 | --dataroo | --dataro | --datar)
899 ac_prev=datarootdir ;;
900 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
901 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
902 datarootdir=$ac_optarg ;;
903
904 -disable-* | --disable-*)
905 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906 # Reject names that are not valid shell variable names.
907 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908 as_fn_error $? "invalid feature name: $ac_useropt"
909 ac_useropt_orig=$ac_useropt
910 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911 case $ac_user_opts in
912 *"
913 "enable_$ac_useropt"
914 "*) ;;
915 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
916 ac_unrecognized_sep=', ';;
917 esac
918 eval enable_$ac_useropt=no ;;
919
920 -docdir | --docdir | --docdi | --doc | --do)
921 ac_prev=docdir ;;
922 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
923 docdir=$ac_optarg ;;
924
925 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
926 ac_prev=dvidir ;;
927 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
928 dvidir=$ac_optarg ;;
929
930 -enable-* | --enable-*)
931 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932 # Reject names that are not valid shell variable names.
933 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
934 as_fn_error $? "invalid feature name: $ac_useropt"
935 ac_useropt_orig=$ac_useropt
936 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
937 case $ac_user_opts in
938 *"
939 "enable_$ac_useropt"
940 "*) ;;
941 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
942 ac_unrecognized_sep=', ';;
943 esac
944 eval enable_$ac_useropt=\$ac_optarg ;;
945
946 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
947 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
948 | --exec | --exe | --ex)
949 ac_prev=exec_prefix ;;
950 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
951 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
952 | --exec=* | --exe=* | --ex=*)
953 exec_prefix=$ac_optarg ;;
954
955 -gas | --gas | --ga | --g)
956 # Obsolete; use --with-gas.
957 with_gas=yes ;;
958
959 -help | --help | --hel | --he | -h)
960 ac_init_help=long ;;
961 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
962 ac_init_help=recursive ;;
963 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
964 ac_init_help=short ;;
965
966 -host | --host | --hos | --ho)
967 ac_prev=host_alias ;;
968 -host=* | --host=* | --hos=* | --ho=*)
969 host_alias=$ac_optarg ;;
970
971 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
972 ac_prev=htmldir ;;
973 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
974 | --ht=*)
975 htmldir=$ac_optarg ;;
976
977 -includedir | --includedir | --includedi | --included | --include \
978 | --includ | --inclu | --incl | --inc)
979 ac_prev=includedir ;;
980 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
981 | --includ=* | --inclu=* | --incl=* | --inc=*)
982 includedir=$ac_optarg ;;
983
984 -infodir | --infodir | --infodi | --infod | --info | --inf)
985 ac_prev=infodir ;;
986 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
987 infodir=$ac_optarg ;;
988
989 -libdir | --libdir | --libdi | --libd)
990 ac_prev=libdir ;;
991 -libdir=* | --libdir=* | --libdi=* | --libd=*)
992 libdir=$ac_optarg ;;
993
994 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
995 | --libexe | --libex | --libe)
996 ac_prev=libexecdir ;;
997 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
998 | --libexe=* | --libex=* | --libe=*)
999 libexecdir=$ac_optarg ;;
1000
1001 -localedir | --localedir | --localedi | --localed | --locale)
1002 ac_prev=localedir ;;
1003 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1004 localedir=$ac_optarg ;;
1005
1006 -localstatedir | --localstatedir | --localstatedi | --localstated \
1007 | --localstate | --localstat | --localsta | --localst | --locals)
1008 ac_prev=localstatedir ;;
1009 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1010 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1011 localstatedir=$ac_optarg ;;
1012
1013 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014 ac_prev=mandir ;;
1015 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1016 mandir=$ac_optarg ;;
1017
1018 -nfp | --nfp | --nf)
1019 # Obsolete; use --without-fp.
1020 with_fp=no ;;
1021
1022 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1023 | --no-cr | --no-c | -n)
1024 no_create=yes ;;
1025
1026 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1027 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1028 no_recursion=yes ;;
1029
1030 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1031 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1032 | --oldin | --oldi | --old | --ol | --o)
1033 ac_prev=oldincludedir ;;
1034 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1035 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1036 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1037 oldincludedir=$ac_optarg ;;
1038
1039 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1040 ac_prev=prefix ;;
1041 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1042 prefix=$ac_optarg ;;
1043
1044 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1045 | --program-pre | --program-pr | --program-p)
1046 ac_prev=program_prefix ;;
1047 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1048 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1049 program_prefix=$ac_optarg ;;
1050
1051 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1052 | --program-suf | --program-su | --program-s)
1053 ac_prev=program_suffix ;;
1054 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1055 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1056 program_suffix=$ac_optarg ;;
1057
1058 -program-transform-name | --program-transform-name \
1059 | --program-transform-nam | --program-transform-na \
1060 | --program-transform-n | --program-transform- \
1061 | --program-transform | --program-transfor \
1062 | --program-transfo | --program-transf \
1063 | --program-trans | --program-tran \
1064 | --progr-tra | --program-tr | --program-t)
1065 ac_prev=program_transform_name ;;
1066 -program-transform-name=* | --program-transform-name=* \
1067 | --program-transform-nam=* | --program-transform-na=* \
1068 | --program-transform-n=* | --program-transform-=* \
1069 | --program-transform=* | --program-transfor=* \
1070 | --program-transfo=* | --program-transf=* \
1071 | --program-trans=* | --program-tran=* \
1072 | --progr-tra=* | --program-tr=* | --program-t=*)
1073 program_transform_name=$ac_optarg ;;
1074
1075 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1076 ac_prev=pdfdir ;;
1077 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1078 pdfdir=$ac_optarg ;;
1079
1080 -psdir | --psdir | --psdi | --psd | --ps)
1081 ac_prev=psdir ;;
1082 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1083 psdir=$ac_optarg ;;
1084
1085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086 | -silent | --silent | --silen | --sile | --sil)
1087 silent=yes ;;
1088
1089 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090 ac_prev=sbindir ;;
1091 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092 | --sbi=* | --sb=*)
1093 sbindir=$ac_optarg ;;
1094
1095 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1096 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1097 | --sharedst | --shareds | --shared | --share | --shar \
1098 | --sha | --sh)
1099 ac_prev=sharedstatedir ;;
1100 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1101 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1102 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103 | --sha=* | --sh=*)
1104 sharedstatedir=$ac_optarg ;;
1105
1106 -site | --site | --sit)
1107 ac_prev=site ;;
1108 -site=* | --site=* | --sit=*)
1109 site=$ac_optarg ;;
1110
1111 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112 ac_prev=srcdir ;;
1113 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1114 srcdir=$ac_optarg ;;
1115
1116 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1117 | --syscon | --sysco | --sysc | --sys | --sy)
1118 ac_prev=sysconfdir ;;
1119 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1120 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1121 sysconfdir=$ac_optarg ;;
1122
1123 -target | --target | --targe | --targ | --tar | --ta | --t)
1124 ac_prev=target_alias ;;
1125 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1126 target_alias=$ac_optarg ;;
1127
1128 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1129 verbose=yes ;;
1130
1131 -version | --version | --versio | --versi | --vers | -V)
1132 ac_init_version=: ;;
1133
1134 -with-* | --with-*)
1135 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138 as_fn_error $? "invalid package name: $ac_useropt"
1139 ac_useropt_orig=$ac_useropt
1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1142 *"
1143 "with_$ac_useropt"
1144 "*) ;;
1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1146 ac_unrecognized_sep=', ';;
1147 esac
1148 eval with_$ac_useropt=\$ac_optarg ;;
1149
1150 -without-* | --without-*)
1151 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154 as_fn_error $? "invalid package name: $ac_useropt"
1155 ac_useropt_orig=$ac_useropt
1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1158 *"
1159 "with_$ac_useropt"
1160 "*) ;;
1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1162 ac_unrecognized_sep=', ';;
1163 esac
1164 eval with_$ac_useropt=no ;;
1165
1166 --x)
1167 # Obsolete; use --with-x.
1168 with_x=yes ;;
1169
1170 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1171 | --x-incl | --x-inc | --x-in | --x-i)
1172 ac_prev=x_includes ;;
1173 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1174 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1175 x_includes=$ac_optarg ;;
1176
1177 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1178 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1179 ac_prev=x_libraries ;;
1180 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1181 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1182 x_libraries=$ac_optarg ;;
1183
1184 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1185 Try \`$0 --help' for more information"
1186 ;;
1187
1188 *=*)
1189 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1190 # Reject names that are not valid shell variable names.
1191 case $ac_envvar in #(
1192 '' | [0-9]* | *[!_$as_cr_alnum]* )
1193 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1194 esac
1195 eval $ac_envvar=\$ac_optarg
1196 export $ac_envvar ;;
1197
1198 *)
1199 # FIXME: should be removed in autoconf 3.0.
1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1204 ;;
1205
1206 esac
1207 done
1208
1209 if test -n "$ac_prev"; then
1210 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1211 as_fn_error $? "missing argument to $ac_option"
1212 fi
1213
1214 if test -n "$ac_unrecognized_opts"; then
1215 case $enable_option_checking in
1216 no) ;;
1217 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219 esac
1220 fi
1221
1222 # Check all directory arguments for consistency.
1223 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1224 datadir sysconfdir sharedstatedir localstatedir includedir \
1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1226 libdir localedir mandir
1227 do
1228 eval ac_val=\$$ac_var
1229 # Remove trailing slashes.
1230 case $ac_val in
1231 */ )
1232 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1233 eval $ac_var=\$ac_val;;
1234 esac
1235 # Be sure to have absolute directory names.
1236 case $ac_val in
1237 [\\/$]* | ?:[\\/]* ) continue;;
1238 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1239 esac
1240 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1241 done
1242
1243 # There might be people who depend on the old broken behavior: `$host'
1244 # used to hold the argument of --host etc.
1245 # FIXME: To remove some day.
1246 build=$build_alias
1247 host=$host_alias
1248 target=$target_alias
1249
1250 # FIXME: To remove some day.
1251 if test "x$host_alias" != x; then
1252 if test "x$build_alias" = x; then
1253 cross_compiling=maybe
1254 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1255 If a cross compiler is detected then cross compile mode will be used" >&2
1256 elif test "x$build_alias" != "x$host_alias"; then
1257 cross_compiling=yes
1258 fi
1259 fi
1260
1261 ac_tool_prefix=
1262 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263
1264 test "$silent" = yes && exec 6>/dev/null
1265
1266
1267 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di=`ls -di .` &&
1269 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error $? "working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error $? "pwd does not report name of working directory"
1273
1274
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 $as_echo X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286 s//\1/
1287 q
1288 }
1289 /^X\(\/\/\)[^/].*/{
1290 s//\1/
1291 q
1292 }
1293 /^X\(\/\/\)$/{
1294 s//\1/
1295 q
1296 }
1297 /^X\(\/\).*/{
1298 s//\1/
1299 q
1300 }
1301 s/.*/./; q'`
1302 srcdir=$ac_confdir
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1304 srcdir=..
1305 fi
1306 else
1307 ac_srcdir_defaulted=no
1308 fi
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1312 fi
1313 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 ac_abs_confdir=`(
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 pwd)`
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1319 srcdir=.
1320 fi
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1324 case $srcdir in
1325 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 esac
1327 for ac_var in $ac_precious_vars; do
1328 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_${ac_var}_value=\$${ac_var}
1330 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1332 done
1333
1334 #
1335 # Report the --help message.
1336 #
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1340 cat <<_ACEOF
1341 \`configure' configures DSSI 1.1.1 to adapt to many kinds of systems.
1342
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1344
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1347
1348 Defaults for the options are specified in brackets.
1349
1350 Configuration:
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print \`checking ...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for \`--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1365 [PREFIX]
1366
1367 By default, \`make install' will install all the files in
1368 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1370 for instance \`--prefix=\$HOME'.
1371
1372 For better control, use the options below.
1373
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --libdir=DIR object code libraries [EPREFIX/lib]
1382 --includedir=DIR C header files [PREFIX/include]
1383 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1384 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1385 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1386 --infodir=DIR info documentation [DATAROOTDIR/info]
1387 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1388 --mandir=DIR man documentation [DATAROOTDIR/man]
1389 --docdir=DIR documentation root [DATAROOTDIR/doc/dssi]
1390 --htmldir=DIR html documentation [DOCDIR]
1391 --dvidir=DIR dvi documentation [DOCDIR]
1392 --pdfdir=DIR pdf documentation [DOCDIR]
1393 --psdir=DIR ps documentation [DOCDIR]
1394 _ACEOF
1395
1396 cat <<\_ACEOF
1397
1398 Program names:
1399 --program-prefix=PREFIX prepend PREFIX to installed program names
1400 --program-suffix=SUFFIX append SUFFIX to installed program names
1401 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1402
1403 System types:
1404 --build=BUILD configure for building on BUILD [guessed]
1405 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1406 _ACEOF
1407 fi
1408
1409 if test -n "$ac_init_help"; then
1410 case $ac_init_help in
1411 short | recursive ) echo "Configuration of DSSI 1.1.1:";;
1412 esac
1413 cat <<\_ACEOF
1414
1415 Optional Features:
1416 --disable-option-checking ignore unrecognized --enable/--with options
1417 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1418 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1419 --disable-dependency-tracking speeds up one-time build
1420 --enable-dependency-tracking do not reject slow dependency extractors
1421 --enable-static[=PKGS] build static libraries [default=no]
1422 --enable-shared[=PKGS] build shared libraries [default=yes]
1423 --enable-fast-install[=PKGS]
1424 optimize for fast installation [default=yes]
1425 --disable-libtool-lock avoid locking (might break parallel builds)
1426
1427 Optional Packages:
1428 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1429 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1430 --with-pic try to use only PIC/non-PIC objects [default=use
1431 both]
1432 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1433 --with-sysroot=DIR Search for dependent libraries within DIR
1434 (or the compiler's sysroot if not specified).
1435
1436 Some influential environment variables:
1437 CC C compiler command
1438 CFLAGS C compiler flags
1439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1440 nonstandard directory <lib dir>
1441 LIBS libraries to pass to the linker, e.g. -l<library>
1442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443 you have headers in a nonstandard directory <include dir>
1444 CXX C++ compiler command
1445 CXXFLAGS C++ compiler flags
1446 CPP C preprocessor
1447 CXXCPP C++ preprocessor
1448 PKG_CONFIG path to pkg-config utility
1449 PKG_CONFIG_PATH
1450 directories to add to pkg-config's search path
1451 PKG_CONFIG_LIBDIR
1452 path overriding pkg-config's built-in search path
1453 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1454 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1455 LIBLO_CFLAGS
1456 C compiler flags for LIBLO, overriding pkg-config
1457 LIBLO_LIBS linker flags for LIBLO, overriding pkg-config
1458 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1459 JACK_LIBS linker flags for JACK, overriding pkg-config
1460 SNDFILE_CFLAGS
1461 C compiler flags for SNDFILE, overriding pkg-config
1462 SNDFILE_LIBS
1463 linker flags for SNDFILE, overriding pkg-config
1464 SRC_CFLAGS C compiler flags for SRC, overriding pkg-config
1465 SRC_LIBS linker flags for SRC, overriding pkg-config
1466 QT_CFLAGS C compiler flags for QT, overriding pkg-config
1467 QT_LIBS linker flags for QT, overriding pkg-config
1468
1469 Use these variables to override the choices made by `configure' or to help
1470 it to find libraries and programs with nonstandard names/locations.
1471
1472 Report bugs to <[email protected]>.
1473 _ACEOF
1474 ac_status=$?
1475 fi
1476
1477 if test "$ac_init_help" = "recursive"; then
1478 # If there are subdirs, report their specific --help.
1479 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1480 test -d "$ac_dir" ||
1481 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1482 continue
1483 ac_builddir=.
1484
1485 case "$ac_dir" in
1486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 *)
1488 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1489 # A ".." for each directory in $ac_dir_suffix.
1490 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1491 case $ac_top_builddir_sub in
1492 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1494 esac ;;
1495 esac
1496 ac_abs_top_builddir=$ac_pwd
1497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1498 # for backward compatibility:
1499 ac_top_builddir=$ac_top_build_prefix
1500
1501 case $srcdir in
1502 .) # We are building in place.
1503 ac_srcdir=.
1504 ac_top_srcdir=$ac_top_builddir_sub
1505 ac_abs_top_srcdir=$ac_pwd ;;
1506 [\\/]* | ?:[\\/]* ) # Absolute name.
1507 ac_srcdir=$srcdir$ac_dir_suffix;
1508 ac_top_srcdir=$srcdir
1509 ac_abs_top_srcdir=$srcdir ;;
1510 *) # Relative name.
1511 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1512 ac_top_srcdir=$ac_top_build_prefix$srcdir
1513 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1514 esac
1515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1516
1517 cd "$ac_dir" || { ac_status=$?; continue; }
1518 # Check for guested configure.
1519 if test -f "$ac_srcdir/configure.gnu"; then
1520 echo &&
1521 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1522 elif test -f "$ac_srcdir/configure"; then
1523 echo &&
1524 $SHELL "$ac_srcdir/configure" --help=recursive
1525 else
1526 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1527 fi || ac_status=$?
1528 cd "$ac_pwd" || { ac_status=$?; break; }
1529 done
1530 fi
1531
1532 test -n "$ac_init_help" && exit $ac_status
1533 if $ac_init_version; then
1534 cat <<\_ACEOF
1535 DSSI configure 1.1.1
1536 generated by GNU Autoconf 2.68
1537
1538 Copyright (C) 2010 Free Software Foundation, Inc.
1539 This configure script is free software; the Free Software Foundation
1540 gives unlimited permission to copy, distribute and modify it.
1541 _ACEOF
1542 exit
1543 fi
1544
1545 ## ------------------------ ##
1546 ## Autoconf initialization. ##
1547 ## ------------------------ ##
1548
1549 # ac_fn_c_try_compile LINENO
1550 # --------------------------
1551 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1552 ac_fn_c_try_compile ()
1553 {
1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555 rm -f conftest.$ac_objext
1556 if { { ac_try="$ac_compile"
1557 case "(($ac_try" in
1558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1559 *) ac_try_echo=$ac_try;;
1560 esac
1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1562 $as_echo "$ac_try_echo"; } >&5
1563 (eval "$ac_compile") 2>conftest.err
1564 ac_status=$?
1565 if test -s conftest.err; then
1566 grep -v '^ *+' conftest.err >conftest.er1
1567 cat conftest.er1 >&5
1568 mv -f conftest.er1 conftest.err
1569 fi
1570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571 test $ac_status = 0; } && {
1572 test -z "$ac_c_werror_flag" ||
1573 test ! -s conftest.err
1574 } && test -s conftest.$ac_objext; then :
1575 ac_retval=0
1576 else
1577 $as_echo "$as_me: failed program was:" >&5
1578 sed 's/^/| /' conftest.$ac_ext >&5
1579
1580 ac_retval=1
1581 fi
1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583 as_fn_set_status $ac_retval
1584
1585 } # ac_fn_c_try_compile
1586
1587 # ac_fn_cxx_try_compile LINENO
1588 # ----------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_cxx_try_compile ()
1591 {
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1595 case "(($ac_try" in
1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1598 esac
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1602 ac_status=$?
1603 if test -s conftest.err; then
1604 grep -v '^ *+' conftest.err >conftest.er1
1605 cat conftest.er1 >&5
1606 mv -f conftest.er1 conftest.err
1607 fi
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_cxx_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.$ac_objext; then :
1613 ac_retval=0
1614 else
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1617
1618 ac_retval=1
1619 fi
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1622
1623 } # ac_fn_cxx_try_compile
1624
1625 # ac_fn_c_try_link LINENO
1626 # -----------------------
1627 # Try to link conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_link ()
1629 {
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 rm -f conftest.$ac_objext conftest$ac_exeext
1632 if { { ac_try="$ac_link"
1633 case "(($ac_try" in
1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1636 esac
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_link") 2>conftest.err
1640 ac_status=$?
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1645 fi
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && {
1648 test -z "$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1650 } && test -s conftest$ac_exeext && {
1651 test "$cross_compiling" = yes ||
1652 $as_test_x conftest$ac_exeext
1653 }; then :
1654 ac_retval=0
1655 else
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1658
1659 ac_retval=1
1660 fi
1661 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1662 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1663 # interfere with the next link command; also delete a directory that is
1664 # left behind by Apple's compiler. We do this before executing the actions.
1665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1668
1669 } # ac_fn_c_try_link
1670
1671 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1672 # -------------------------------------------------------
1673 # Tests whether HEADER exists and can be compiled using the include files in
1674 # INCLUDES, setting the cache variable VAR accordingly.
1675 ac_fn_c_check_header_compile ()
1676 {
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681 $as_echo_n "(cached) " >&6
1682 else
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1685 $4
1686 #include <$2>
1687 _ACEOF
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689 eval "$3=yes"
1690 else
1691 eval "$3=no"
1692 fi
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 fi
1695 eval ac_res=\$$3
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
1700 } # ac_fn_c_check_header_compile
1701
1702 # ac_fn_c_try_cpp LINENO
1703 # ----------------------
1704 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_c_try_cpp ()
1706 {
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 if { { ac_try="$ac_cpp conftest.$ac_ext"
1709 case "(($ac_try" in
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1712 esac
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716 ac_status=$?
1717 if test -s conftest.err; then
1718 grep -v '^ *+' conftest.err >conftest.er1
1719 cat conftest.er1 >&5
1720 mv -f conftest.er1 conftest.err
1721 fi
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } > conftest.i && {
1724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725 test ! -s conftest.err
1726 }; then :
1727 ac_retval=0
1728 else
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1731
1732 ac_retval=1
1733 fi
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1736
1737 } # ac_fn_c_try_cpp
1738
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1743 ac_fn_c_try_run ()
1744 {
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_link"
1747 case "(($ac_try" in
1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749 *) ac_try_echo=$ac_try;;
1750 esac
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>&5
1754 ac_status=$?
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1757 { { case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_try") 2>&5
1764 ac_status=$?
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; }; }; then :
1767 ac_retval=0
1768 else
1769 $as_echo "$as_me: program exited with status $ac_status" >&5
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1772
1773 ac_retval=$ac_status
1774 fi
1775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 as_fn_set_status $ac_retval
1778
1779 } # ac_fn_c_try_run
1780
1781 # ac_fn_c_check_func LINENO FUNC VAR
1782 # ----------------------------------
1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1784 ac_fn_c_check_func ()
1785 {
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1791 else
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1796 #define $2 innocuous_$2
1797
1798 /* System header to define __stub macros and hopefully few prototypes,
1799 which can conflict with char $2 (); below.
1800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801 <limits.h> exists even on freestanding compilers. */
1802
1803 #ifdef __STDC__
1804 # include <limits.h>
1805 #else
1806 # include <assert.h>
1807 #endif
1808
1809 #undef $2
1810
1811 /* Override any GCC internal prototype to avoid an error.
1812 Use char because int might match the return type of a GCC
1813 builtin and then its argument prototype would still apply. */
1814 #ifdef __cplusplus
1815 extern "C"
1816 #endif
1817 char $2 ();
1818 /* The GNU C library defines this for functions which it implements
1819 to always fail with ENOSYS. Some functions are actually named
1820 something starting with __ and the normal name is an alias. */
1821 #if defined __stub_$2 || defined __stub___$2
1822 choke me
1823 #endif
1824
1825 int
1826 main ()
1827 {
1828 return $2 ();
1829 ;
1830 return 0;
1831 }
1832 _ACEOF
1833 if ac_fn_c_try_link "$LINENO"; then :
1834 eval "$3=yes"
1835 else
1836 eval "$3=no"
1837 fi
1838 rm -f core conftest.err conftest.$ac_objext \
1839 conftest$ac_exeext conftest.$ac_ext
1840 fi
1841 eval ac_res=\$$3
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845
1846 } # ac_fn_c_check_func
1847
1848 # ac_fn_cxx_try_cpp LINENO
1849 # ------------------------
1850 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1851 ac_fn_cxx_try_cpp ()
1852 {
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 if { { ac_try="$ac_cpp conftest.$ac_ext"
1855 case "(($ac_try" in
1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857 *) ac_try_echo=$ac_try;;
1858 esac
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1862 ac_status=$?
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1865 cat conftest.er1 >&5
1866 mv -f conftest.er1 conftest.err
1867 fi
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } > conftest.i && {
1870 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1871 test ! -s conftest.err
1872 }; then :
1873 ac_retval=0
1874 else
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1877
1878 ac_retval=1
1879 fi
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status $ac_retval
1882
1883 } # ac_fn_cxx_try_cpp
1884
1885 # ac_fn_cxx_try_link LINENO
1886 # -------------------------
1887 # Try to link conftest.$ac_ext, and return whether this succeeded.
1888 ac_fn_cxx_try_link ()
1889 {
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 rm -f conftest.$ac_objext conftest$ac_exeext
1892 if { { ac_try="$ac_link"
1893 case "(($ac_try" in
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_link") 2>conftest.err
1900 ac_status=$?
1901 if test -s conftest.err; then
1902 grep -v '^ *+' conftest.err >conftest.er1
1903 cat conftest.er1 >&5
1904 mv -f conftest.er1 conftest.err
1905 fi
1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907 test $ac_status = 0; } && {
1908 test -z "$ac_cxx_werror_flag" ||
1909 test ! -s conftest.err
1910 } && test -s conftest$ac_exeext && {
1911 test "$cross_compiling" = yes ||
1912 $as_test_x conftest$ac_exeext
1913 }; then :
1914 ac_retval=0
1915 else
1916 $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.$ac_ext >&5
1918
1919 ac_retval=1
1920 fi
1921 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1922 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1923 # interfere with the next link command; also delete a directory that is
1924 # left behind by Apple's compiler. We do this before executing the actions.
1925 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 as_fn_set_status $ac_retval
1928
1929 } # ac_fn_cxx_try_link
1930
1931 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1932 # -------------------------------------------------------
1933 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1934 # the include files in INCLUDES and setting the cache variable VAR
1935 # accordingly.
1936 ac_fn_c_check_header_mongrel ()
1937 {
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 if eval \${$3+:} false; then :
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941 $as_echo_n "checking for $2... " >&6; }
1942 if eval \${$3+:} false; then :
1943 $as_echo_n "(cached) " >&6
1944 fi
1945 eval ac_res=\$$3
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 else
1949 # Is the header compilable?
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1951 $as_echo_n "checking $2 usability... " >&6; }
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1954 $4
1955 #include <$2>
1956 _ACEOF
1957 if ac_fn_c_try_compile "$LINENO"; then :
1958 ac_header_compiler=yes
1959 else
1960 ac_header_compiler=no
1961 fi
1962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1964 $as_echo "$ac_header_compiler" >&6; }
1965
1966 # Is the header present?
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1968 $as_echo_n "checking $2 presence... " >&6; }
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 #include <$2>
1972 _ACEOF
1973 if ac_fn_c_try_cpp "$LINENO"; then :
1974 ac_header_preproc=yes
1975 else
1976 ac_header_preproc=no
1977 fi
1978 rm -f conftest.err conftest.i conftest.$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1980 $as_echo "$ac_header_preproc" >&6; }
1981
1982 # So? What about this header?
1983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1984 yes:no: )
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1986 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1988 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1989 ;;
1990 no:yes:* )
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1992 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1994 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1996 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1998 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2000 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2001 ( $as_echo "## ----------------------------------------------- ##
2002 ## Report this to [email protected] ##
2003 ## ----------------------------------------------- ##"
2004 ) | sed "s/^/$as_me: WARNING: /" >&2
2005 ;;
2006 esac
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008 $as_echo_n "checking for $2... " >&6; }
2009 if eval \${$3+:} false; then :
2010 $as_echo_n "(cached) " >&6
2011 else
2012 eval "$3=\$ac_header_compiler"
2013 fi
2014 eval ac_res=\$$3
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 fi
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019
2020 } # ac_fn_c_check_header_mongrel
2021
2022 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # ---------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2026 # accordingly.
2027 ac_fn_cxx_check_header_mongrel ()
2028 {
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if eval \${$3+:} false; then :
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 fi
2036 eval ac_res=\$$3
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 else
2040 # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2045 $4
2046 #include <$2>
2047 _ACEOF
2048 if ac_fn_cxx_try_compile "$LINENO"; then :
2049 ac_header_compiler=yes
2050 else
2051 ac_header_compiler=no
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2056
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2062 #include <$2>
2063 _ACEOF
2064 if ac_fn_cxx_try_cpp "$LINENO"; then :
2065 ac_header_preproc=yes
2066 else
2067 ac_header_preproc=no
2068 fi
2069 rm -f conftest.err conftest.i conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2072
2073 # So? What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2075 yes:no: )
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2080 ;;
2081 no:yes:* )
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092 ( $as_echo "## ----------------------------------------------- ##
2093 ## Report this to [email protected] ##
2094 ## ----------------------------------------------- ##"
2095 ) | sed "s/^/$as_me: WARNING: /" >&2
2096 ;;
2097 esac
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099 $as_echo_n "checking for $2... " >&6; }
2100 if eval \${$3+:} false; then :
2101 $as_echo_n "(cached) " >&6
2102 else
2103 eval "$3=\$ac_header_compiler"
2104 fi
2105 eval ac_res=\$$3
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108 fi
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110
2111 } # ac_fn_cxx_check_header_mongrel
2112 cat >config.log <<_ACEOF
2113 This file contains any messages produced by compilers while
2114 running configure, to aid debugging if configure makes a mistake.
2115
2116 It was created by DSSI $as_me 1.1.1, which was
2117 generated by GNU Autoconf 2.68. Invocation command line was
2118
2119 $ $0 $@
2120
2121 _ACEOF
2122 exec 5>>config.log
2123 {
2124 cat <<_ASUNAME
2125 ## --------- ##
2126 ## Platform. ##
2127 ## --------- ##
2128
2129 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2130 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2131 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2132 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2133 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2134
2135 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2136 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2137
2138 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2139 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2140 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2141 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2142 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2143 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2144 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2145
2146 _ASUNAME
2147
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 for as_dir in $PATH
2150 do
2151 IFS=$as_save_IFS
2152 test -z "$as_dir" && as_dir=.
2153 $as_echo "PATH: $as_dir"
2154 done
2155 IFS=$as_save_IFS
2156
2157 } >&5
2158
2159 cat >&5 <<_ACEOF
2160
2161
2162 ## ----------- ##
2163 ## Core tests. ##
2164 ## ----------- ##
2165
2166 _ACEOF
2167
2168
2169 # Keep a trace of the command line.
2170 # Strip out --no-create and --no-recursion so they do not pile up.
2171 # Strip out --silent because we don't want to record it for future runs.
2172 # Also quote any args containing shell meta-characters.
2173 # Make two passes to allow for proper duplicate-argument suppression.
2174 ac_configure_args=
2175 ac_configure_args0=
2176 ac_configure_args1=
2177 ac_must_keep_next=false
2178 for ac_pass in 1 2
2179 do
2180 for ac_arg
2181 do
2182 case $ac_arg in
2183 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2185 | -silent | --silent | --silen | --sile | --sil)
2186 continue ;;
2187 *\'*)
2188 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2189 esac
2190 case $ac_pass in
2191 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2192 2)
2193 as_fn_append ac_configure_args1 " '$ac_arg'"
2194 if test $ac_must_keep_next = true; then
2195 ac_must_keep_next=false # Got value, back to normal.
2196 else
2197 case $ac_arg in
2198 *=* | --config-cache | -C | -disable-* | --disable-* \
2199 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2200 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2201 | -with-* | --with-* | -without-* | --without-* | --x)
2202 case "$ac_configure_args0 " in
2203 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2204 esac
2205 ;;
2206 -* ) ac_must_keep_next=true ;;
2207 esac
2208 fi
2209 as_fn_append ac_configure_args " '$ac_arg'"
2210 ;;
2211 esac
2212 done
2213 done
2214 { ac_configure_args0=; unset ac_configure_args0;}
2215 { ac_configure_args1=; unset ac_configure_args1;}
2216
2217 # When interrupted or exit'd, cleanup temporary files, and complete
2218 # config.log. We remove comments because anyway the quotes in there
2219 # would cause problems or look ugly.
2220 # WARNING: Use '\'' to represent an apostrophe within the trap.
2221 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2222 trap 'exit_status=$?
2223 # Save into config.log some information that might help in debugging.
2224 {
2225 echo
2226
2227 $as_echo "## ---------------- ##
2228 ## Cache variables. ##
2229 ## ---------------- ##"
2230 echo
2231 # The following way of writing the cache mishandles newlines in values,
2232 (
2233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2234 eval ac_val=\$$ac_var
2235 case $ac_val in #(
2236 *${as_nl}*)
2237 case $ac_var in #(
2238 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2240 esac
2241 case $ac_var in #(
2242 _ | IFS | as_nl) ;; #(
2243 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2244 *) { eval $ac_var=; unset $ac_var;} ;;
2245 esac ;;
2246 esac
2247 done
2248 (set) 2>&1 |
2249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2250 *${as_nl}ac_space=\ *)
2251 sed -n \
2252 "s/'\''/'\''\\\\'\'''\''/g;
2253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2254 ;; #(
2255 *)
2256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2257 ;;
2258 esac |
2259 sort
2260 )
2261 echo
2262
2263 $as_echo "## ----------------- ##
2264 ## Output variables. ##
2265 ## ----------------- ##"
2266 echo
2267 for ac_var in $ac_subst_vars
2268 do
2269 eval ac_val=\$$ac_var
2270 case $ac_val in
2271 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 esac
2273 $as_echo "$ac_var='\''$ac_val'\''"
2274 done | sort
2275 echo
2276
2277 if test -n "$ac_subst_files"; then
2278 $as_echo "## ------------------- ##
2279 ## File substitutions. ##
2280 ## ------------------- ##"
2281 echo
2282 for ac_var in $ac_subst_files
2283 do
2284 eval ac_val=\$$ac_var
2285 case $ac_val in
2286 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287 esac
2288 $as_echo "$ac_var='\''$ac_val'\''"
2289 done | sort
2290 echo
2291 fi
2292
2293 if test -s confdefs.h; then
2294 $as_echo "## ----------- ##
2295 ## confdefs.h. ##
2296 ## ----------- ##"
2297 echo
2298 cat confdefs.h
2299 echo
2300 fi
2301 test "$ac_signal" != 0 &&
2302 $as_echo "$as_me: caught signal $ac_signal"
2303 $as_echo "$as_me: exit $exit_status"
2304 } >&5
2305 rm -f core *.core core.conftest.* &&
2306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2307 exit $exit_status
2308 ' 0
2309 for ac_signal in 1 2 13 15; do
2310 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2311 done
2312 ac_signal=0
2313
2314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2315 rm -f -r conftest* confdefs.h
2316
2317 $as_echo "/* confdefs.h */" > confdefs.h
2318
2319 # Predefined preprocessor variables.
2320
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_NAME "$PACKAGE_NAME"
2323 _ACEOF
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2327 _ACEOF
2328
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2331 _ACEOF
2332
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_STRING "$PACKAGE_STRING"
2335 _ACEOF
2336
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2339 _ACEOF
2340
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_URL "$PACKAGE_URL"
2343 _ACEOF
2344
2345
2346 # Let the site file select an alternate cache file if it wants to.
2347 # Prefer an explicitly selected file to automatically selected ones.
2348 ac_site_file1=NONE
2349 ac_site_file2=NONE
2350 if test -n "$CONFIG_SITE"; then
2351 # We do not want a PATH search for config.site.
2352 case $CONFIG_SITE in #((
2353 -*) ac_site_file1=./$CONFIG_SITE;;
2354 */*) ac_site_file1=$CONFIG_SITE;;
2355 *) ac_site_file1=./$CONFIG_SITE;;
2356 esac
2357 elif test "x$prefix" != xNONE; then
2358 ac_site_file1=$prefix/share/config.site
2359 ac_site_file2=$prefix/etc/config.site
2360 else
2361 ac_site_file1=$ac_default_prefix/share/config.site
2362 ac_site_file2=$ac_default_prefix/etc/config.site
2363 fi
2364 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2365 do
2366 test "x$ac_site_file" = xNONE && continue
2367 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2369 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2370 sed 's/^/| /' "$ac_site_file" >&5
2371 . "$ac_site_file" \
2372 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2374 as_fn_error $? "failed to load site script $ac_site_file
2375 See \`config.log' for more details" "$LINENO" 5; }
2376 fi
2377 done
2378
2379 if test -r "$cache_file"; then
2380 # Some versions of bash will fail to source /dev/null (special files
2381 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2382 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2384 $as_echo "$as_me: loading cache $cache_file" >&6;}
2385 case $cache_file in
2386 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2387 *) . "./$cache_file";;
2388 esac
2389 fi
2390 else
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2392 $as_echo "$as_me: creating cache $cache_file" >&6;}
2393 >$cache_file
2394 fi
2395
2396 # Check that the precious variables saved in the cache have kept the same
2397 # value.
2398 ac_cache_corrupted=false
2399 for ac_var in $ac_precious_vars; do
2400 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2401 eval ac_new_set=\$ac_env_${ac_var}_set
2402 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2403 eval ac_new_val=\$ac_env_${ac_var}_value
2404 case $ac_old_set,$ac_new_set in
2405 set,)
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2407 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2408 ac_cache_corrupted=: ;;
2409 ,set)
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2411 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2412 ac_cache_corrupted=: ;;
2413 ,);;
2414 *)
2415 if test "x$ac_old_val" != "x$ac_new_val"; then
2416 # differences in whitespace do not lead to failure.
2417 ac_old_val_w=`echo x $ac_old_val`
2418 ac_new_val_w=`echo x $ac_new_val`
2419 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2421 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2422 ac_cache_corrupted=:
2423 else
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2425 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2426 eval $ac_var=\$ac_old_val
2427 fi
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2429 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2431 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2432 fi;;
2433 esac
2434 # Pass precious variables to config.status.
2435 if test "$ac_new_set" = set; then
2436 case $ac_new_val in
2437 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2438 *) ac_arg=$ac_var=$ac_new_val ;;
2439 esac
2440 case " $ac_configure_args " in
2441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2442 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2443 esac
2444 fi
2445 done
2446 if $ac_cache_corrupted; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2450 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2451 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2452 fi
2453 ## -------------------- ##
2454 ## Main body of script. ##
2455 ## -------------------- ##
2456
2457 ac_ext=c
2458 ac_cpp='$CPP $CPPFLAGS'
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2462
2463
2464
2465
2466 am__api_version='1.11'
2467
2468 ac_aux_dir=
2469 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2470 if test -f "$ac_dir/install-sh"; then
2471 ac_aux_dir=$ac_dir
2472 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 break
2474 elif test -f "$ac_dir/install.sh"; then
2475 ac_aux_dir=$ac_dir
2476 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 break
2478 elif test -f "$ac_dir/shtool"; then
2479 ac_aux_dir=$ac_dir
2480 ac_install_sh="$ac_aux_dir/shtool install -c"
2481 break
2482 fi
2483 done
2484 if test -z "$ac_aux_dir"; then
2485 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2486 fi
2487
2488 # These three variables are undocumented and unsupported,
2489 # and are intended to be withdrawn in a future Autoconf release.
2490 # They can cause serious problems if a builder's source tree is in a directory
2491 # whose full name contains unusual characters.
2492 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2493 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2494 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2495
2496
2497 # Find a good install program. We prefer a C program (faster),
2498 # so one script is as good as another. But avoid the broken or
2499 # incompatible versions:
2500 # SysV /etc/install, /usr/sbin/install
2501 # SunOS /usr/etc/install
2502 # IRIX /sbin/install
2503 # AIX /bin/install
2504 # AmigaOS /C/install, which installs bootblocks on floppy discs
2505 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2506 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2507 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2508 # OS/2's system install, which has a completely different semantic
2509 # ./install, which can be erroneously created by make from ./install.sh.
2510 # Reject install programs that cannot install multiple files.
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2512 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2513 if test -z "$INSTALL"; then
2514 if ${ac_cv_path_install+:} false; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 # Account for people who put trailing slashes in PATH elements.
2523 case $as_dir/ in #((
2524 ./ | .// | /[cC]/* | \
2525 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2526 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2527 /usr/ucb/* ) ;;
2528 *)
2529 # OSF1 and SCO ODT 3.0 have their own names for install.
2530 # Don't use installbsd from OSF since it installs stuff as root
2531 # by default.
2532 for ac_prog in ginstall scoinst install; do
2533 for ac_exec_ext in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2535 if test $ac_prog = install &&
2536 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2537 # AIX install. It has an incompatible calling convention.
2538 :
2539 elif test $ac_prog = install &&
2540 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2541 # program-specific install script used by HP pwplus--don't use.
2542 :
2543 else
2544 rm -rf conftest.one conftest.two conftest.dir
2545 echo one > conftest.one
2546 echo two > conftest.two
2547 mkdir conftest.dir
2548 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2549 test -s conftest.one && test -s conftest.two &&
2550 test -s conftest.dir/conftest.one &&
2551 test -s conftest.dir/conftest.two
2552 then
2553 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2554 break 3
2555 fi
2556 fi
2557 fi
2558 done
2559 done
2560 ;;
2561 esac
2562
2563 done
2564 IFS=$as_save_IFS
2565
2566 rm -rf conftest.one conftest.two conftest.dir
2567
2568 fi
2569 if test "${ac_cv_path_install+set}" = set; then
2570 INSTALL=$ac_cv_path_install
2571 else
2572 # As a last resort, use the slow shell script. Don't cache a
2573 # value for INSTALL within a source directory, because that will
2574 # break other packages using the cache if that directory is
2575 # removed, or if the value is a relative name.
2576 INSTALL=$ac_install_sh
2577 fi
2578 fi
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2580 $as_echo "$INSTALL" >&6; }
2581
2582 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2583 # It thinks the first close brace ends the variable substitution.
2584 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2585
2586 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2587
2588 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2589
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2591 $as_echo_n "checking whether build environment is sane... " >&6; }
2592 # Just in case
2593 sleep 1
2594 echo timestamp > conftest.file
2595 # Reject unsafe characters in $srcdir or the absolute working directory
2596 # name. Accept space and tab only in the latter.
2597 am_lf='
2598 '
2599 case `pwd` in
2600 *[\\\"\#\$\&\'\`$am_lf]*)
2601 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2602 esac
2603 case $srcdir in
2604 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2605 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2606 esac
2607
2608 # Do `set' in a subshell so we don't clobber the current shell's
2609 # arguments. Must try -L first in case configure is actually a
2610 # symlink; some systems play weird games with the mod time of symlinks
2611 # (eg FreeBSD returns the mod time of the symlink's containing
2612 # directory).
2613 if (
2614 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2615 if test "$*" = "X"; then
2616 # -L didn't work.
2617 set X `ls -t "$srcdir/configure" conftest.file`
2618 fi
2619 rm -f conftest.file
2620 if test "$*" != "X $srcdir/configure conftest.file" \
2621 && test "$*" != "X conftest.file $srcdir/configure"; then
2622
2623 # If neither matched, then we have a broken ls. This can happen
2624 # if, for instance, CONFIG_SHELL is bash and it inherits a
2625 # broken ls alias from the environment. This has actually
2626 # happened. Such a system could not be considered "sane".
2627 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2628 alias in your environment" "$LINENO" 5
2629 fi
2630
2631 test "$2" = conftest.file
2632 )
2633 then
2634 # Ok.
2635 :
2636 else
2637 as_fn_error $? "newly created file is older than distributed files!
2638 Check your system clock" "$LINENO" 5
2639 fi
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641 $as_echo "yes" >&6; }
2642 test "$program_prefix" != NONE &&
2643 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2644 # Use a double $ so make ignores it.
2645 test "$program_suffix" != NONE &&
2646 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2647 # Double any \ or $.
2648 # By default was `s,x,x', remove it if useless.
2649 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2650 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2651
2652 # expand $ac_aux_dir to an absolute path
2653 am_aux_dir=`cd $ac_aux_dir && pwd`
2654
2655 if test x"${MISSING+set}" != xset; then
2656 case $am_aux_dir in
2657 *\ * | *\ *)
2658 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2659 *)
2660 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2661 esac
2662 fi
2663 # Use eval to expand $SHELL
2664 if eval "$MISSING --run true"; then
2665 am_missing_run="$MISSING --run "
2666 else
2667 am_missing_run=
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2669 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2670 fi
2671
2672 if test x"${install_sh}" != xset; then
2673 case $am_aux_dir in
2674 *\ * | *\ *)
2675 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2676 *)
2677 install_sh="\${SHELL} $am_aux_dir/install-sh"
2678 esac
2679 fi
2680
2681 # Installed binaries are usually stripped using `strip' when the user
2682 # run `make install-strip'. However `strip' might not be the right
2683 # tool to use in cross-compilation environments, therefore Automake
2684 # will honor the `STRIP' environment variable to overrule this program.
2685 if test "$cross_compiling" != no; then
2686 if test -n "$ac_tool_prefix"; then
2687 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2688 set dummy ${ac_tool_prefix}strip; ac_word=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if ${ac_cv_prog_STRIP+:} false; then :
2692 $as_echo_n "(cached) " >&6
2693 else
2694 if test -n "$STRIP"; then
2695 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2696 else
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 for as_dir in $PATH
2699 do
2700 IFS=$as_save_IFS
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 break 2
2707 fi
2708 done
2709 done
2710 IFS=$as_save_IFS
2711
2712 fi
2713 fi
2714 STRIP=$ac_cv_prog_STRIP
2715 if test -n "$STRIP"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2717 $as_echo "$STRIP" >&6; }
2718 else
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2721 fi
2722
2723
2724 fi
2725 if test -z "$ac_cv_prog_STRIP"; then
2726 ac_ct_STRIP=$STRIP
2727 # Extract the first word of "strip", so it can be a program name with args.
2728 set dummy strip; ac_word=$2
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2730 $as_echo_n "checking for $ac_word... " >&6; }
2731 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 if test -n "$ac_ct_STRIP"; then
2735 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2736 else
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 for as_dir in $PATH
2739 do
2740 IFS=$as_save_IFS
2741 test -z "$as_dir" && as_dir=.
2742 for ac_exec_ext in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_ac_ct_STRIP="strip"
2745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 break 2
2747 fi
2748 done
2749 done
2750 IFS=$as_save_IFS
2751
2752 fi
2753 fi
2754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2755 if test -n "$ac_ct_STRIP"; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2757 $as_echo "$ac_ct_STRIP" >&6; }
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2760 $as_echo "no" >&6; }
2761 fi
2762
2763 if test "x$ac_ct_STRIP" = x; then
2764 STRIP=":"
2765 else
2766 case $cross_compiling:$ac_tool_warned in
2767 yes:)
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2770 ac_tool_warned=yes ;;
2771 esac
2772 STRIP=$ac_ct_STRIP
2773 fi
2774 else
2775 STRIP="$ac_cv_prog_STRIP"
2776 fi
2777
2778 fi
2779 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2780
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2782 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2783 if test -z "$MKDIR_P"; then
2784 if ${ac_cv_path_mkdir+:} false; then :
2785 $as_echo_n "(cached) " >&6
2786 else
2787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2789 do
2790 IFS=$as_save_IFS
2791 test -z "$as_dir" && as_dir=.
2792 for ac_prog in mkdir gmkdir; do
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2795 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2796 'mkdir (GNU coreutils) '* | \
2797 'mkdir (coreutils) '* | \
2798 'mkdir (fileutils) '4.1*)
2799 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2800 break 3;;
2801 esac
2802 done
2803 done
2804 done
2805 IFS=$as_save_IFS
2806
2807 fi
2808
2809 test -d ./--version && rmdir ./--version
2810 if test "${ac_cv_path_mkdir+set}" = set; then
2811 MKDIR_P="$ac_cv_path_mkdir -p"
2812 else
2813 # As a last resort, use the slow shell script. Don't cache a
2814 # value for MKDIR_P within a source directory, because that will
2815 # break other packages using the cache if that directory is
2816 # removed, or if the value is a relative name.
2817 MKDIR_P="$ac_install_sh -d"
2818 fi
2819 fi
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2821 $as_echo "$MKDIR_P" >&6; }
2822
2823 mkdir_p="$MKDIR_P"
2824 case $mkdir_p in
2825 [\\/$]* | ?:[\\/]*) ;;
2826 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2827 esac
2828
2829 for ac_prog in gawk mawk nawk awk
2830 do
2831 # Extract the first word of "$ac_prog", so it can be a program name with args.
2832 set dummy $ac_prog; ac_word=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if ${ac_cv_prog_AWK+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 if test -n "$AWK"; then
2839 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2840 else
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 for as_dir in $PATH
2843 do
2844 IFS=$as_save_IFS
2845 test -z "$as_dir" && as_dir=.
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_AWK="$ac_prog"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 break 2
2851 fi
2852 done
2853 done
2854 IFS=$as_save_IFS
2855
2856 fi
2857 fi
2858 AWK=$ac_cv_prog_AWK
2859 if test -n "$AWK"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2861 $as_echo "$AWK" >&6; }
2862 else
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2865 fi
2866
2867
2868 test -n "$AWK" && break
2869 done
2870
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2872 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873 set x ${MAKE-make}
2874 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2875 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 cat >conftest.make <<\_ACEOF
2879 SHELL = /bin/sh
2880 all:
2881 @echo '@@@%%%=$(MAKE)=@@@%%%'
2882 _ACEOF
2883 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2884 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885 *@@@%%%=?*=@@@%%%*)
2886 eval ac_cv_prog_make_${ac_make}_set=yes;;
2887 *)
2888 eval ac_cv_prog_make_${ac_make}_set=no;;
2889 esac
2890 rm -f conftest.make
2891 fi
2892 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2894 $as_echo "yes" >&6; }
2895 SET_MAKE=
2896 else
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2899 SET_MAKE="MAKE=${MAKE-make}"
2900 fi
2901
2902 rm -rf .tst 2>/dev/null
2903 mkdir .tst 2>/dev/null
2904 if test -d .tst; then
2905 am__leading_dot=.
2906 else
2907 am__leading_dot=_
2908 fi
2909 rmdir .tst 2>/dev/null
2910
2911 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2912 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2913 # is not polluted with repeated "-I."
2914 am__isrc=' -I$(srcdir)'
2915 # test to see if srcdir already configured
2916 if test -f $srcdir/config.status; then
2917 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2918 fi
2919 fi
2920
2921 # test whether we have cygpath
2922 if test -z "$CYGPATH_W"; then
2923 if (cygpath --version) >/dev/null 2>/dev/null; then
2924 CYGPATH_W='cygpath -w'
2925 else
2926 CYGPATH_W=echo
2927 fi
2928 fi
2929
2930
2931 # Define the identity of the package.
2932 PACKAGE='dssi'
2933 VERSION='1.1.1'
2934
2935
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE "$PACKAGE"
2938 _ACEOF
2939
2940
2941 cat >>confdefs.h <<_ACEOF
2942 #define VERSION "$VERSION"
2943 _ACEOF
2944
2945 # Some tools Automake needs.
2946
2947 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2948
2949
2950 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2951
2952
2953 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2954
2955
2956 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2957
2958
2959 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960
2961 # We need awk for the "check" target. The system "awk" is bad on
2962 # some platforms.
2963 # Always define AMTAR for backward compatibility.
2964
2965 AMTAR=${AMTAR-"${am_missing_run}tar"}
2966
2967 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2968
2969
2970
2971
2972
2973 ac_config_headers="$ac_config_headers config.h"
2974
2975
2976 ac_ext=c
2977 ac_cpp='$CPP $CPPFLAGS'
2978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981 if test -n "$ac_tool_prefix"; then
2982 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2983 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2985 $as_echo_n "checking for $ac_word... " >&6; }
2986 if ${ac_cv_prog_CC+:} false; then :
2987 $as_echo_n "(cached) " >&6
2988 else
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC="$CC" # Let the user override the test.
2991 else
2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 for as_dir in $PATH
2994 do
2995 IFS=$as_save_IFS
2996 test -z "$as_dir" && as_dir=.
2997 for ac_exec_ext in '' $ac_executable_extensions; do
2998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2999 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 break 2
3002 fi
3003 done
3004 done
3005 IFS=$as_save_IFS
3006
3007 fi
3008 fi
3009 CC=$ac_cv_prog_CC
3010 if test -n "$CC"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3012 $as_echo "$CC" >&6; }
3013 else
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 $as_echo "no" >&6; }
3016 fi
3017
3018
3019 fi
3020 if test -z "$ac_cv_prog_CC"; then
3021 ac_ct_CC=$CC
3022 # Extract the first word of "gcc", so it can be a program name with args.
3023 set dummy gcc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3028 else
3029 if test -n "$ac_ct_CC"; then
3030 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3031 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3034 do
3035 IFS=$as_save_IFS
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039 ac_cv_prog_ac_ct_CC="gcc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 break 2
3042 fi
3043 done
3044 done
3045 IFS=$as_save_IFS
3046
3047 fi
3048 fi
3049 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3050 if test -n "$ac_ct_CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3052 $as_echo "$ac_ct_CC" >&6; }
3053 else
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3056 fi
3057
3058 if test "x$ac_ct_CC" = x; then
3059 CC=""
3060 else
3061 case $cross_compiling:$ac_tool_warned in
3062 yes:)
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067 CC=$ac_ct_CC
3068 fi
3069 else
3070 CC="$ac_cv_prog_CC"
3071 fi
3072
3073 if test -z "$CC"; then
3074 if test -n "$ac_tool_prefix"; then
3075 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3076 set dummy ${ac_tool_prefix}cc; ac_word=$2
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078 $as_echo_n "checking for $ac_word... " >&6; }
3079 if ${ac_cv_prog_CC+:} false; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 if test -n "$CC"; then
3083 ac_cv_prog_CC="$CC" # Let the user override the test.
3084 else
3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086 for as_dir in $PATH
3087 do
3088 IFS=$as_save_IFS
3089 test -z "$as_dir" && as_dir=.
3090 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092 ac_cv_prog_CC="${ac_tool_prefix}cc"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 break 2
3095 fi
3096 done
3097 done
3098 IFS=$as_save_IFS
3099
3100 fi
3101 fi
3102 CC=$ac_cv_prog_CC
3103 if test -n "$CC"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3105 $as_echo "$CC" >&6; }
3106 else
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3109 fi
3110
3111
3112 fi
3113 fi
3114 if test -z "$CC"; then
3115 # Extract the first word of "cc", so it can be a program name with args.
3116 set dummy cc; ac_word=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if ${ac_cv_prog_CC+:} false; then :
3120 $as_echo_n "(cached) " >&6
3121 else
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC="$CC" # Let the user override the test.
3124 else
3125 ac_prog_rejected=no
3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 for as_dir in $PATH
3128 do
3129 IFS=$as_save_IFS
3130 test -z "$as_dir" && as_dir=.
3131 for ac_exec_ext in '' $ac_executable_extensions; do
3132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3133 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3134 ac_prog_rejected=yes
3135 continue
3136 fi
3137 ac_cv_prog_CC="cc"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 break 2
3140 fi
3141 done
3142 done
3143 IFS=$as_save_IFS
3144
3145 if test $ac_prog_rejected = yes; then
3146 # We found a bogon in the path, so make sure we never use it.
3147 set dummy $ac_cv_prog_CC
3148 shift
3149 if test $# != 0; then
3150 # We chose a different compiler from the bogus one.
3151 # However, it has the same basename, so the bogon will be chosen
3152 # first if we set CC to just the basename; use the full file name.
3153 shift
3154 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3155 fi
3156 fi
3157 fi
3158 fi
3159 CC=$ac_cv_prog_CC
3160 if test -n "$CC"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3162 $as_echo "$CC" >&6; }
3163 else
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3166 fi
3167
3168
3169 fi
3170 if test -z "$CC"; then
3171 if test -n "$ac_tool_prefix"; then
3172 for ac_prog in cl.exe
3173 do
3174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_CC+:} false; then :
3179 $as_echo_n "(cached) " >&6
3180 else
3181 if test -n "$CC"; then
3182 ac_cv_prog_CC="$CC" # Let the user override the test.
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3186 do
3187 IFS=$as_save_IFS
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 break 2
3194 fi
3195 done
3196 done
3197 IFS=$as_save_IFS
3198
3199 fi
3200 fi
3201 CC=$ac_cv_prog_CC
3202 if test -n "$CC"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3204 $as_echo "$CC" >&6; }
3205 else
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3208 fi
3209
3210
3211 test -n "$CC" && break
3212 done
3213 fi
3214 if test -z "$CC"; then
3215 ac_ct_CC=$CC
3216 for ac_prog in cl.exe
3217 do
3218 # Extract the first word of "$ac_prog", so it can be a program name with args.
3219 set dummy $ac_prog; ac_word=$2
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3223 $as_echo_n "(cached) " >&6
3224 else
3225 if test -n "$ac_ct_CC"; then
3226 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3227 else
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 for as_dir in $PATH
3230 do
3231 IFS=$as_save_IFS
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235 ac_cv_prog_ac_ct_CC="$ac_prog"
3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 break 2
3238 fi
3239 done
3240 done
3241 IFS=$as_save_IFS
3242
3243 fi
3244 fi
3245 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3246 if test -n "$ac_ct_CC"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3248 $as_echo "$ac_ct_CC" >&6; }
3249 else
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3252 fi
3253
3254
3255 test -n "$ac_ct_CC" && break
3256 done
3257
3258 if test "x$ac_ct_CC" = x; then
3259 CC=""
3260 else
3261 case $cross_compiling:$ac_tool_warned in
3262 yes:)
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3266 esac
3267 CC=$ac_ct_CC
3268 fi
3269 fi
3270
3271 fi
3272
3273
3274 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error $? "no acceptable C compiler found in \$PATH
3277 See \`config.log' for more details" "$LINENO" 5; }
3278
3279 # Provide some information about the compiler.
3280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3281 set X $ac_compile
3282 ac_compiler=$2
3283 for ac_option in --version -v -V -qversion; do
3284 { { ac_try="$ac_compiler $ac_option >&5"
3285 case "(($ac_try" in
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3288 esac
3289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3290 $as_echo "$ac_try_echo"; } >&5
3291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3292 ac_status=$?
3293 if test -s conftest.err; then
3294 sed '10a\
3295 ... rest of stderr output deleted ...
3296 10q' conftest.err >conftest.er1
3297 cat conftest.er1 >&5
3298 fi
3299 rm -f conftest.er1 conftest.err
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }
3302 done
3303
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3306
3307 int
3308 main ()
3309 {
3310
3311 ;
3312 return 0;
3313 }
3314 _ACEOF
3315 ac_clean_files_save=$ac_clean_files
3316 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3317 # Try to create an executable without -o first, disregard a.out.
3318 # It will help us diagnose broken compilers, and finding out an intuition
3319 # of exeext.
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3321 $as_echo_n "checking whether the C compiler works... " >&6; }
3322 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3323
3324 # The possible output files:
3325 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3326
3327 ac_rmfiles=
3328 for ac_file in $ac_files
3329 do
3330 case $ac_file in
3331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3332 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3333 esac
3334 done
3335 rm -f $ac_rmfiles
3336
3337 if { { ac_try="$ac_link_default"
3338 case "(($ac_try" in
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3341 esac
3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343 $as_echo "$ac_try_echo"; } >&5
3344 (eval "$ac_link_default") 2>&5
3345 ac_status=$?
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }; then :
3348 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3349 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3350 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3351 # so that the user can short-circuit this test for compilers unknown to
3352 # Autoconf.
3353 for ac_file in $ac_files ''
3354 do
3355 test -f "$ac_file" || continue
3356 case $ac_file in
3357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3358 ;;
3359 [ab].out )
3360 # We found the default executable, but exeext='' is most
3361 # certainly right.
3362 break;;
3363 *.* )
3364 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3365 then :; else
3366 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3367 fi
3368 # We set ac_cv_exeext here because the later test for it is not
3369 # safe: cross compilers may not add the suffix if given an `-o'
3370 # argument, so we may need to know it at that point already.
3371 # Even if this section looks crufty: it has the advantage of
3372 # actually working.
3373 break;;
3374 * )
3375 break;;
3376 esac
3377 done
3378 test "$ac_cv_exeext" = no && ac_cv_exeext=
3379
3380 else
3381 ac_file=''
3382 fi
3383 if test -z "$ac_file"; then :
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3386 $as_echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3388
3389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error 77 "C compiler cannot create executables
3392 See \`config.log' for more details" "$LINENO" 5; }
3393 else
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3395 $as_echo "yes" >&6; }
3396 fi
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3398 $as_echo_n "checking for C compiler default output file name... " >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3400 $as_echo "$ac_file" >&6; }
3401 ac_exeext=$ac_cv_exeext
3402
3403 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3404 ac_clean_files=$ac_clean_files_save
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3406 $as_echo_n "checking for suffix of executables... " >&6; }
3407 if { { ac_try="$ac_link"
3408 case "(($ac_try" in
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3411 esac
3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_link") 2>&5
3415 ac_status=$?
3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417 test $ac_status = 0; }; then :
3418 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3419 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3420 # work properly (i.e., refer to `conftest.exe'), while it won't with
3421 # `rm'.
3422 for ac_file in conftest.exe conftest conftest.*; do
3423 test -f "$ac_file" || continue
3424 case $ac_file in
3425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3426 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3427 break;;
3428 * ) break;;
3429 esac
3430 done
3431 else
3432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3435 See \`config.log' for more details" "$LINENO" 5; }
3436 fi
3437 rm -f conftest conftest$ac_cv_exeext
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3439 $as_echo "$ac_cv_exeext" >&6; }
3440
3441 rm -f conftest.$ac_ext
3442 EXEEXT=$ac_cv_exeext
3443 ac_exeext=$EXEEXT
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3446 #include <stdio.h>
3447 int
3448 main ()
3449 {
3450 FILE *f = fopen ("conftest.out", "w");
3451 return ferror (f) || fclose (f) != 0;
3452
3453 ;
3454 return 0;
3455 }
3456 _ACEOF
3457 ac_clean_files="$ac_clean_files conftest.out"
3458 # Check that the compiler produces executables we can run. If not, either
3459 # the compiler is broken, or we cross compile.
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3461 $as_echo_n "checking whether we are cross compiling... " >&6; }
3462 if test "$cross_compiling" != yes; then
3463 { { ac_try="$ac_link"
3464 case "(($ac_try" in
3465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466 *) ac_try_echo=$ac_try;;
3467 esac
3468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469 $as_echo "$ac_try_echo"; } >&5
3470 (eval "$ac_link") 2>&5
3471 ac_status=$?
3472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3473 test $ac_status = 0; }
3474 if { ac_try='./conftest$ac_cv_exeext'
3475 { { case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3478 esac
3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481 (eval "$ac_try") 2>&5
3482 ac_status=$?
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }; }; then
3485 cross_compiling=no
3486 else
3487 if test "$cross_compiling" = maybe; then
3488 cross_compiling=yes
3489 else
3490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492 as_fn_error $? "cannot run C compiled programs.
3493 If you meant to cross compile, use \`--host'.
3494 See \`config.log' for more details" "$LINENO" 5; }
3495 fi
3496 fi
3497 fi
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3499 $as_echo "$cross_compiling" >&6; }
3500
3501 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3502 ac_clean_files=$ac_clean_files_save
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3504 $as_echo_n "checking for suffix of object files... " >&6; }
3505 if ${ac_cv_objext+:} false; then :
3506 $as_echo_n "(cached) " >&6
3507 else
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3510
3511 int
3512 main ()
3513 {
3514
3515 ;
3516 return 0;
3517 }
3518 _ACEOF
3519 rm -f conftest.o conftest.obj
3520 if { { ac_try="$ac_compile"
3521 case "(($ac_try" in
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3524 esac
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_compile") 2>&5
3528 ac_status=$?
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; then :
3531 for ac_file in conftest.o conftest.obj conftest.*; do
3532 test -f "$ac_file" || continue;
3533 case $ac_file in
3534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3535 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3536 break;;
3537 esac
3538 done
3539 else
3540 $as_echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.$ac_ext >&5
3542
3543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545 as_fn_error $? "cannot compute suffix of object files: cannot compile
3546 See \`config.log' for more details" "$LINENO" 5; }
3547 fi
3548 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3549 fi
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3551 $as_echo "$ac_cv_objext" >&6; }
3552 OBJEXT=$ac_cv_objext
3553 ac_objext=$OBJEXT
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3555 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3556 if ${ac_cv_c_compiler_gnu+:} false; then :
3557 $as_echo_n "(cached) " >&6
3558 else
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3561
3562 int
3563 main ()
3564 {
3565 #ifndef __GNUC__
3566 choke me
3567 #endif
3568
3569 ;
3570 return 0;
3571 }
3572 _ACEOF
3573 if ac_fn_c_try_compile "$LINENO"; then :
3574 ac_compiler_gnu=yes
3575 else
3576 ac_compiler_gnu=no
3577 fi
3578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3579 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3580
3581 fi
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3583 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3584 if test $ac_compiler_gnu = yes; then
3585 GCC=yes
3586 else
3587 GCC=
3588 fi
3589 ac_test_CFLAGS=${CFLAGS+set}
3590 ac_save_CFLAGS=$CFLAGS
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3592 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3593 if ${ac_cv_prog_cc_g+:} false; then :
3594 $as_echo_n "(cached) " >&6
3595 else
3596 ac_save_c_werror_flag=$ac_c_werror_flag
3597 ac_c_werror_flag=yes
3598 ac_cv_prog_cc_g=no
3599 CFLAGS="-g"
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3602
3603 int
3604 main ()
3605 {
3606
3607 ;
3608 return 0;
3609 }
3610 _ACEOF
3611 if ac_fn_c_try_compile "$LINENO"; then :
3612 ac_cv_prog_cc_g=yes
3613 else
3614 CFLAGS=""
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3617
3618 int
3619 main ()
3620 {
3621
3622 ;
3623 return 0;
3624 }
3625 _ACEOF
3626 if ac_fn_c_try_compile "$LINENO"; then :
3627
3628 else
3629 ac_c_werror_flag=$ac_save_c_werror_flag
3630 CFLAGS="-g"
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3633
3634 int
3635 main ()
3636 {
3637
3638 ;
3639 return 0;
3640 }
3641 _ACEOF
3642 if ac_fn_c_try_compile "$LINENO"; then :
3643 ac_cv_prog_cc_g=yes
3644 fi
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 fi
3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648 fi
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650 ac_c_werror_flag=$ac_save_c_werror_flag
3651 fi
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3653 $as_echo "$ac_cv_prog_cc_g" >&6; }
3654 if test "$ac_test_CFLAGS" = set; then
3655 CFLAGS=$ac_save_CFLAGS
3656 elif test $ac_cv_prog_cc_g = yes; then
3657 if test "$GCC" = yes; then
3658 CFLAGS="-g -O2"
3659 else
3660 CFLAGS="-g"
3661 fi
3662 else
3663 if test "$GCC" = yes; then
3664 CFLAGS="-O2"
3665 else
3666 CFLAGS=
3667 fi
3668 fi
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3670 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3671 if ${ac_cv_prog_cc_c89+:} false; then :
3672 $as_echo_n "(cached) " >&6
3673 else
3674 ac_cv_prog_cc_c89=no
3675 ac_save_CC=$CC
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3678 #include <stdarg.h>
3679 #include <stdio.h>
3680 #include <sys/types.h>
3681 #include <sys/stat.h>
3682 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3683 struct buf { int x; };
3684 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3685 static char *e (p, i)
3686 char **p;
3687 int i;
3688 {
3689 return p[i];
3690 }
3691 static char *f (char * (*g) (char **, int), char **p, ...)
3692 {
3693 char *s;
3694 va_list v;
3695 va_start (v,p);
3696 s = g (p, va_arg (v,int));
3697 va_end (v);
3698 return s;
3699 }
3700
3701 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3702 function prototypes and stuff, but not '\xHH' hex character constants.
3703 These don't provoke an error unfortunately, instead are silently treated
3704 as 'x'. The following induces an error, until -std is added to get
3705 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3706 array size at least. It's necessary to write '\x00'==0 to get something
3707 that's true only with -std. */
3708 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3709
3710 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3711 inside strings and character constants. */
3712 #define FOO(x) 'x'
3713 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3714
3715 int test (int i, double x);
3716 struct s1 {int (*f) (int a);};
3717 struct s2 {int (*f) (double a);};
3718 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3719 int argc;
3720 char **argv;
3721 int
3722 main ()
3723 {
3724 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3725 ;
3726 return 0;
3727 }
3728 _ACEOF
3729 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3730 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3731 do
3732 CC="$ac_save_CC $ac_arg"
3733 if ac_fn_c_try_compile "$LINENO"; then :
3734 ac_cv_prog_cc_c89=$ac_arg
3735 fi
3736 rm -f core conftest.err conftest.$ac_objext
3737 test "x$ac_cv_prog_cc_c89" != "xno" && break
3738 done
3739 rm -f conftest.$ac_ext
3740 CC=$ac_save_CC
3741
3742 fi
3743 # AC_CACHE_VAL
3744 case "x$ac_cv_prog_cc_c89" in
3745 x)
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3747 $as_echo "none needed" >&6; } ;;
3748 xno)
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3750 $as_echo "unsupported" >&6; } ;;
3751 *)
3752 CC="$CC $ac_cv_prog_cc_c89"
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3754 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3755 esac
3756 if test "x$ac_cv_prog_cc_c89" != xno; then :
3757
3758 fi
3759
3760 ac_ext=c
3761 ac_cpp='$CPP $CPPFLAGS'
3762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765 DEPDIR="${am__leading_dot}deps"
3766
3767 ac_config_commands="$ac_config_commands depfiles"
3768
3769
3770 am_make=${MAKE-make}
3771 cat > confinc << 'END'
3772 am__doit:
3773 @echo this is the am__doit target
3774 .PHONY: am__doit
3775 END
3776 # If we don't find an include directive, just comment out the code.
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3778 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3779 am__include="#"
3780 am__quote=
3781 _am_result=none
3782 # First try GNU make style include.
3783 echo "include confinc" > confmf
3784 # Ignore all kinds of additional output from `make'.
3785 case `$am_make -s -f confmf 2> /dev/null` in #(
3786 *the\ am__doit\ target*)
3787 am__include=include
3788 am__quote=
3789 _am_result=GNU
3790 ;;
3791 esac
3792 # Now try BSD make style include.
3793 if test "$am__include" = "#"; then
3794 echo '.include "confinc"' > confmf
3795 case `$am_make -s -f confmf 2> /dev/null` in #(
3796 *the\ am__doit\ target*)
3797 am__include=.include
3798 am__quote="\""
3799 _am_result=BSD
3800 ;;
3801 esac
3802 fi
3803
3804
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3806 $as_echo "$_am_result" >&6; }
3807 rm -f confinc confmf
3808
3809 # Check whether --enable-dependency-tracking was given.
3810 if test "${enable_dependency_tracking+set}" = set; then :
3811 enableval=$enable_dependency_tracking;
3812 fi
3813
3814 if test "x$enable_dependency_tracking" != xno; then
3815 am_depcomp="$ac_aux_dir/depcomp"
3816 AMDEPBACKSLASH='\'
3817 fi
3818 if test "x$enable_dependency_tracking" != xno; then
3819 AMDEP_TRUE=
3820 AMDEP_FALSE='#'
3821 else
3822 AMDEP_TRUE='#'
3823 AMDEP_FALSE=
3824 fi
3825
3826
3827
3828 depcc="$CC" am_compiler_list=
3829
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3831 $as_echo_n "checking dependency style of $depcc... " >&6; }
3832 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3836 # We make a subdir and do the tests there. Otherwise we can end up
3837 # making bogus files that we don't know about and never remove. For
3838 # instance it was reported that on HP-UX the gcc test will end up
3839 # making a dummy file named `D' -- because `-MD' means `put the output
3840 # in D'.
3841 mkdir conftest.dir
3842 # Copy depcomp to subdir because otherwise we won't find it if we're
3843 # using a relative directory.
3844 cp "$am_depcomp" conftest.dir
3845 cd conftest.dir
3846 # We will build objects and dependencies in a subdirectory because
3847 # it helps to detect inapplicable dependency modes. For instance
3848 # both Tru64's cc and ICC support -MD to output dependencies as a
3849 # side effect of compilation, but ICC will put the dependencies in
3850 # the current directory while Tru64 will put them in the object
3851 # directory.
3852 mkdir sub
3853
3854 am_cv_CC_dependencies_compiler_type=none
3855 if test "$am_compiler_list" = ""; then
3856 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3857 fi
3858 am__universal=false
3859 case " $depcc " in #(
3860 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3861 esac
3862
3863 for depmode in $am_compiler_list; do
3864 # Setup a source with many dependencies, because some compilers
3865 # like to wrap large dependency lists on column 80 (with \), and
3866 # we should not choose a depcomp mode which is confused by this.
3867 #
3868 # We need to recreate these files for each test, as the compiler may
3869 # overwrite some of them when testing with obscure command lines.
3870 # This happens at least with the AIX C compiler.
3871 : > sub/conftest.c
3872 for i in 1 2 3 4 5 6; do
3873 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3874 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3875 # Solaris 8's {/usr,}/bin/sh.
3876 touch sub/conftst$i.h
3877 done
3878 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3879
3880 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3881 # mode. It turns out that the SunPro C++ compiler does not properly
3882 # handle `-M -o', and we need to detect this. Also, some Intel
3883 # versions had trouble with output in subdirs
3884 am__obj=sub/conftest.${OBJEXT-o}
3885 am__minus_obj="-o $am__obj"
3886 case $depmode in
3887 gcc)
3888 # This depmode causes a compiler race in universal mode.
3889 test "$am__universal" = false || continue
3890 ;;
3891 nosideeffect)
3892 # after this tag, mechanisms are not by side-effect, so they'll
3893 # only be used when explicitly requested
3894 if test "x$enable_dependency_tracking" = xyes; then
3895 continue
3896 else
3897 break
3898 fi
3899 ;;
3900 msvisualcpp | msvcmsys)
3901 # This compiler won't grok `-c -o', but also, the minuso test has
3902 # not run yet. These depmodes are late enough in the game, and
3903 # so weak that their functioning should not be impacted.
3904 am__obj=conftest.${OBJEXT-o}
3905 am__minus_obj=
3906 ;;
3907 none) break ;;
3908 esac
3909 if depmode=$depmode \
3910 source=sub/conftest.c object=$am__obj \
3911 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3912 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3913 >/dev/null 2>conftest.err &&
3914 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3915 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3916 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3917 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3918 # icc doesn't choke on unknown options, it will just issue warnings
3919 # or remarks (even with -Werror). So we grep stderr for any message
3920 # that says an option was ignored or not supported.
3921 # When given -MP, icc 7.0 and 7.1 complain thusly:
3922 # icc: Command line warning: ignoring option '-M'; no argument required
3923 # The diagnosis changed in icc 8.0:
3924 # icc: Command line remark: option '-MP' not supported
3925 if (grep 'ignoring option' conftest.err ||
3926 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3927 am_cv_CC_dependencies_compiler_type=$depmode
3928 break
3929 fi
3930 fi
3931 done
3932
3933 cd ..
3934 rm -rf conftest.dir
3935 else
3936 am_cv_CC_dependencies_compiler_type=none
3937 fi
3938
3939 fi
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3941 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3942 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3943
3944 if
3945 test "x$enable_dependency_tracking" != xno \
3946 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3947 am__fastdepCC_TRUE=
3948 am__fastdepCC_FALSE='#'
3949 else
3950 am__fastdepCC_TRUE='#'
3951 am__fastdepCC_FALSE=
3952 fi
3953
3954
3955 ac_ext=cpp
3956 ac_cpp='$CXXCPP $CPPFLAGS'
3957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3960 if test -z "$CXX"; then
3961 if test -n "$CCC"; then
3962 CXX=$CCC
3963 else
3964 if test -n "$ac_tool_prefix"; then
3965 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3966 do
3967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 $as_echo_n "checking for $ac_word... " >&6; }
3971 if ${ac_cv_prog_CXX+:} false; then :
3972 $as_echo_n "(cached) " >&6
3973 else
3974 if test -n "$CXX"; then
3975 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3976 else
3977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978 for as_dir in $PATH
3979 do
3980 IFS=$as_save_IFS
3981 test -z "$as_dir" && as_dir=.
3982 for ac_exec_ext in '' $ac_executable_extensions; do
3983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3984 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 break 2
3987 fi
3988 done
3989 done
3990 IFS=$as_save_IFS
3991
3992 fi
3993 fi
3994 CXX=$ac_cv_prog_CXX
3995 if test -n "$CXX"; then
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3997 $as_echo "$CXX" >&6; }
3998 else
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4000 $as_echo "no" >&6; }
4001 fi
4002
4003
4004 test -n "$CXX" && break
4005 done
4006 fi
4007 if test -z "$CXX"; then
4008 ac_ct_CXX=$CXX
4009 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4010 do
4011 # Extract the first word of "$ac_prog", so it can be a program name with args.
4012 set dummy $ac_prog; ac_word=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4016 $as_echo_n "(cached) " >&6
4017 else
4018 if test -n "$ac_ct_CXX"; then
4019 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4020 else
4021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022 for as_dir in $PATH
4023 do
4024 IFS=$as_save_IFS
4025 test -z "$as_dir" && as_dir=.
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4028 ac_cv_prog_ac_ct_CXX="$ac_prog"
4029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4030 break 2
4031 fi
4032 done
4033 done
4034 IFS=$as_save_IFS
4035
4036 fi
4037 fi
4038 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4039 if test -n "$ac_ct_CXX"; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4041 $as_echo "$ac_ct_CXX" >&6; }
4042 else
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4044 $as_echo "no" >&6; }
4045 fi
4046
4047
4048 test -n "$ac_ct_CXX" && break
4049 done
4050
4051 if test "x$ac_ct_CXX" = x; then
4052 CXX="g++"
4053 else
4054 case $cross_compiling:$ac_tool_warned in
4055 yes:)
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4058 ac_tool_warned=yes ;;
4059 esac
4060 CXX=$ac_ct_CXX
4061 fi
4062 fi
4063
4064 fi
4065 fi
4066 # Provide some information about the compiler.
4067 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4068 set X $ac_compile
4069 ac_compiler=$2
4070 for ac_option in --version -v -V -qversion; do
4071 { { ac_try="$ac_compiler $ac_option >&5"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077 $as_echo "$ac_try_echo"; } >&5
4078 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4079 ac_status=$?
4080 if test -s conftest.err; then
4081 sed '10a\
4082 ... rest of stderr output deleted ...
4083 10q' conftest.err >conftest.er1
4084 cat conftest.er1 >&5
4085 fi
4086 rm -f conftest.er1 conftest.err
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }
4089 done
4090
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4092 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4093 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4094 $as_echo_n "(cached) " >&6
4095 else
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4098
4099 int
4100 main ()
4101 {
4102 #ifndef __GNUC__
4103 choke me
4104 #endif
4105
4106 ;
4107 return 0;
4108 }
4109 _ACEOF
4110 if ac_fn_cxx_try_compile "$LINENO"; then :
4111 ac_compiler_gnu=yes
4112 else
4113 ac_compiler_gnu=no
4114 fi
4115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4117
4118 fi
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4120 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4121 if test $ac_compiler_gnu = yes; then
4122 GXX=yes
4123 else
4124 GXX=
4125 fi
4126 ac_test_CXXFLAGS=${CXXFLAGS+set}
4127 ac_save_CXXFLAGS=$CXXFLAGS
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4129 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4130 if ${ac_cv_prog_cxx_g+:} false; then :
4131 $as_echo_n "(cached) " >&6
4132 else
4133 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4134 ac_cxx_werror_flag=yes
4135 ac_cv_prog_cxx_g=no
4136 CXXFLAGS="-g"
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4139
4140 int
4141 main ()
4142 {
4143
4144 ;
4145 return 0;
4146 }
4147 _ACEOF
4148 if ac_fn_cxx_try_compile "$LINENO"; then :
4149 ac_cv_prog_cxx_g=yes
4150 else
4151 CXXFLAGS=""
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4154
4155 int
4156 main ()
4157 {
4158
4159 ;
4160 return 0;
4161 }
4162 _ACEOF
4163 if ac_fn_cxx_try_compile "$LINENO"; then :
4164
4165 else
4166 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4167 CXXFLAGS="-g"
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4170
4171 int
4172 main ()
4173 {
4174
4175 ;
4176 return 0;
4177 }
4178 _ACEOF
4179 if ac_fn_cxx_try_compile "$LINENO"; then :
4180 ac_cv_prog_cxx_g=yes
4181 fi
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 fi
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 fi
4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4188 fi
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4190 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4191 if test "$ac_test_CXXFLAGS" = set; then
4192 CXXFLAGS=$ac_save_CXXFLAGS
4193 elif test $ac_cv_prog_cxx_g = yes; then
4194 if test "$GXX" = yes; then
4195 CXXFLAGS="-g -O2"
4196 else
4197 CXXFLAGS="-g"
4198 fi
4199 else
4200 if test "$GXX" = yes; then
4201 CXXFLAGS="-O2"
4202 else
4203 CXXFLAGS=
4204 fi
4205 fi
4206 ac_ext=c
4207 ac_cpp='$CPP $CPPFLAGS'
4208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4211
4212 depcc="$CXX" am_compiler_list=
4213
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4215 $as_echo_n "checking dependency style of $depcc... " >&6; }
4216 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4217 $as_echo_n "(cached) " >&6
4218 else
4219 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4220 # We make a subdir and do the tests there. Otherwise we can end up
4221 # making bogus files that we don't know about and never remove. For
4222 # instance it was reported that on HP-UX the gcc test will end up
4223 # making a dummy file named `D' -- because `-MD' means `put the output
4224 # in D'.
4225 mkdir conftest.dir
4226 # Copy depcomp to subdir because otherwise we won't find it if we're
4227 # using a relative directory.
4228 cp "$am_depcomp" conftest.dir
4229 cd conftest.dir
4230 # We will build objects and dependencies in a subdirectory because
4231 # it helps to detect inapplicable dependency modes. For instance
4232 # both Tru64's cc and ICC support -MD to output dependencies as a
4233 # side effect of compilation, but ICC will put the dependencies in
4234 # the current directory while Tru64 will put them in the object
4235 # directory.
4236 mkdir sub
4237
4238 am_cv_CXX_dependencies_compiler_type=none
4239 if test "$am_compiler_list" = ""; then
4240 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4241 fi
4242 am__universal=false
4243 case " $depcc " in #(
4244 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4245 esac
4246
4247 for depmode in $am_compiler_list; do
4248 # Setup a source with many dependencies, because some compilers
4249 # like to wrap large dependency lists on column 80 (with \), and
4250 # we should not choose a depcomp mode which is confused by this.
4251 #
4252 # We need to recreate these files for each test, as the compiler may
4253 # overwrite some of them when testing with obscure command lines.
4254 # This happens at least with the AIX C compiler.
4255 : > sub/conftest.c
4256 for i in 1 2 3 4 5 6; do
4257 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4258 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4259 # Solaris 8's {/usr,}/bin/sh.
4260 touch sub/conftst$i.h
4261 done
4262 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4263
4264 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4265 # mode. It turns out that the SunPro C++ compiler does not properly
4266 # handle `-M -o', and we need to detect this. Also, some Intel
4267 # versions had trouble with output in subdirs
4268 am__obj=sub/conftest.${OBJEXT-o}
4269 am__minus_obj="-o $am__obj"
4270 case $depmode in
4271 gcc)
4272 # This depmode causes a compiler race in universal mode.
4273 test "$am__universal" = false || continue
4274 ;;
4275 nosideeffect)
4276 # after this tag, mechanisms are not by side-effect, so they'll
4277 # only be used when explicitly requested
4278 if test "x$enable_dependency_tracking" = xyes; then
4279 continue
4280 else
4281 break
4282 fi
4283 ;;
4284 msvisualcpp | msvcmsys)
4285 # This compiler won't grok `-c -o', but also, the minuso test has
4286 # not run yet. These depmodes are late enough in the game, and
4287 # so weak that their functioning should not be impacted.
4288 am__obj=conftest.${OBJEXT-o}
4289 am__minus_obj=
4290 ;;
4291 none) break ;;
4292 esac
4293 if depmode=$depmode \
4294 source=sub/conftest.c object=$am__obj \
4295 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4296 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4297 >/dev/null 2>conftest.err &&
4298 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4299 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4300 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4301 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4302 # icc doesn't choke on unknown options, it will just issue warnings
4303 # or remarks (even with -Werror). So we grep stderr for any message
4304 # that says an option was ignored or not supported.
4305 # When given -MP, icc 7.0 and 7.1 complain thusly:
4306 # icc: Command line warning: ignoring option '-M'; no argument required
4307 # The diagnosis changed in icc 8.0:
4308 # icc: Command line remark: option '-MP' not supported
4309 if (grep 'ignoring option' conftest.err ||
4310 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4311 am_cv_CXX_dependencies_compiler_type=$depmode
4312 break
4313 fi
4314 fi
4315 done
4316
4317 cd ..
4318 rm -rf conftest.dir
4319 else
4320 am_cv_CXX_dependencies_compiler_type=none
4321 fi
4322
4323 fi
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4325 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4326 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4327
4328 if
4329 test "x$enable_dependency_tracking" != xno \
4330 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4331 am__fastdepCXX_TRUE=
4332 am__fastdepCXX_FALSE='#'
4333 else
4334 am__fastdepCXX_TRUE='#'
4335 am__fastdepCXX_FALSE=
4336 fi
4337
4338
4339 # Check whether --enable-static was given.
4340 if test "${enable_static+set}" = set; then :
4341 enableval=$enable_static; p=${PACKAGE-default}
4342 case $enableval in
4343 yes) enable_static=yes ;;
4344 no) enable_static=no ;;
4345 *)
4346 enable_static=no
4347 # Look at the argument we got. We use all the common list separators.
4348 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4349 for pkg in $enableval; do
4350 IFS="$lt_save_ifs"
4351 if test "X$pkg" = "X$p"; then
4352 enable_static=yes
4353 fi
4354 done
4355 IFS="$lt_save_ifs"
4356 ;;
4357 esac
4358 else
4359 enable_static=no
4360 fi
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370 # Check whether --enable-shared was given.
4371 if test "${enable_shared+set}" = set; then :
4372 enableval=$enable_shared; p=${PACKAGE-default}
4373 case $enableval in
4374 yes) enable_shared=yes ;;
4375 no) enable_shared=no ;;
4376 *)
4377 enable_shared=no
4378 # Look at the argument we got. We use all the common list separators.
4379 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4380 for pkg in $enableval; do
4381 IFS="$lt_save_ifs"
4382 if test "X$pkg" = "X$p"; then
4383 enable_shared=yes
4384 fi
4385 done
4386 IFS="$lt_save_ifs"
4387 ;;
4388 esac
4389 else
4390 enable_shared=yes
4391 fi
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401 case `pwd` in
4402 *\ * | *\ *)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4404 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4405 esac
4406
4407
4408
4409 macro_version='2.4'
4410 macro_revision='1.3293'
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424 ltmain="$ac_aux_dir/ltmain.sh"
4425
4426 # Make sure we can run config.sub.
4427 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4428 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4429
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4431 $as_echo_n "checking build system type... " >&6; }
4432 if ${ac_cv_build+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 ac_build_alias=$build_alias
4436 test "x$ac_build_alias" = x &&
4437 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4438 test "x$ac_build_alias" = x &&
4439 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4440 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4441 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4442
4443 fi
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4445 $as_echo "$ac_cv_build" >&6; }
4446 case $ac_cv_build in
4447 *-*-*) ;;
4448 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4449 esac
4450 build=$ac_cv_build
4451 ac_save_IFS=$IFS; IFS='-'
4452 set x $ac_cv_build
4453 shift
4454 build_cpu=$1
4455 build_vendor=$2
4456 shift; shift
4457 # Remember, the first character of IFS is used to create $*,
4458 # except with old shells:
4459 build_os=$*
4460 IFS=$ac_save_IFS
4461 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4462
4463
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4465 $as_echo_n "checking host system type... " >&6; }
4466 if ${ac_cv_host+:} false; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 if test "x$host_alias" = x; then
4470 ac_cv_host=$ac_cv_build
4471 else
4472 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4473 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4474 fi
4475
4476 fi
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4478 $as_echo "$ac_cv_host" >&6; }
4479 case $ac_cv_host in
4480 *-*-*) ;;
4481 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4482 esac
4483 host=$ac_cv_host
4484 ac_save_IFS=$IFS; IFS='-'
4485 set x $ac_cv_host
4486 shift
4487 host_cpu=$1
4488 host_vendor=$2
4489 shift; shift
4490 # Remember, the first character of IFS is used to create $*,
4491 # except with old shells:
4492 host_os=$*
4493 IFS=$ac_save_IFS
4494 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4495
4496
4497 # Backslashify metacharacters that are still active within
4498 # double-quoted strings.
4499 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4500
4501 # Same as above, but do not quote variable references.
4502 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4503
4504 # Sed substitution to delay expansion of an escaped shell variable in a
4505 # double_quote_subst'ed string.
4506 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4507
4508 # Sed substitution to delay expansion of an escaped single quote.
4509 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4510
4511 # Sed substitution to avoid accidental globbing in evaled expressions
4512 no_glob_subst='s/\*/\\\*/g'
4513
4514 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4515 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4516 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4517
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4519 $as_echo_n "checking how to print strings... " >&6; }
4520 # Test print first, because it will be a builtin if present.
4521 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4522 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4523 ECHO='print -r --'
4524 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4525 ECHO='printf %s\n'
4526 else
4527 # Use this function as a fallback that always works.
4528 func_fallback_echo ()
4529 {
4530 eval 'cat <<_LTECHO_EOF
4531 $1
4532 _LTECHO_EOF'
4533 }
4534 ECHO='func_fallback_echo'
4535 fi
4536
4537 # func_echo_all arg...
4538 # Invoke $ECHO with all args, space-separated.
4539 func_echo_all ()
4540 {
4541 $ECHO ""
4542 }
4543
4544 case "$ECHO" in
4545 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4546 $as_echo "printf" >&6; } ;;
4547 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4548 $as_echo "print -r" >&6; } ;;
4549 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4550 $as_echo "cat" >&6; } ;;
4551 esac
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4567 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4568 if ${ac_cv_path_SED+:} false; then :
4569 $as_echo_n "(cached) " >&6
4570 else
4571 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4572 for ac_i in 1 2 3 4 5 6 7; do
4573 ac_script="$ac_script$as_nl$ac_script"
4574 done
4575 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4576 { ac_script=; unset ac_script;}
4577 if test -z "$SED"; then
4578 ac_path_SED_found=false
4579 # Loop through the user's path and test for each of PROGNAME-LIST
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4582 do
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_prog in sed gsed; do
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4588 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4589 # Check for GNU ac_path_SED and select it if it is found.
4590 # Check for GNU $ac_path_SED
4591 case `"$ac_path_SED" --version 2>&1` in
4592 *GNU*)
4593 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4594 *)
4595 ac_count=0
4596 $as_echo_n 0123456789 >"conftest.in"
4597 while :
4598 do
4599 cat "conftest.in" "conftest.in" >"conftest.tmp"
4600 mv "conftest.tmp" "conftest.in"
4601 cp "conftest.in" "conftest.nl"
4602 $as_echo '' >> "conftest.nl"
4603 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4604 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4605 as_fn_arith $ac_count + 1 && ac_count=$as_val
4606 if test $ac_count -gt ${ac_path_SED_max-0}; then
4607 # Best one so far, save it but keep looking for a better one
4608 ac_cv_path_SED="$ac_path_SED"
4609 ac_path_SED_max=$ac_count
4610 fi
4611 # 10*(2^10) chars as input seems more than enough
4612 test $ac_count -gt 10 && break
4613 done
4614 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4615 esac
4616
4617 $ac_path_SED_found && break 3
4618 done
4619 done
4620 done
4621 IFS=$as_save_IFS
4622 if test -z "$ac_cv_path_SED"; then
4623 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4624 fi
4625 else
4626 ac_cv_path_SED=$SED
4627 fi
4628
4629 fi
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4631 $as_echo "$ac_cv_path_SED" >&6; }
4632 SED="$ac_cv_path_SED"
4633 rm -f conftest.sed
4634
4635 test -z "$SED" && SED=sed
4636 Xsed="$SED -e 1s/^X//"
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4649 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4650 if ${ac_cv_path_GREP+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -z "$GREP"; then
4654 ac_path_GREP_found=false
4655 # Loop through the user's path and test for each of PROGNAME-LIST
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4658 do
4659 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
4661 for ac_prog in grep ggrep; do
4662 for ac_exec_ext in '' $ac_executable_extensions; do
4663 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4664 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4665 # Check for GNU ac_path_GREP and select it if it is found.
4666 # Check for GNU $ac_path_GREP
4667 case `"$ac_path_GREP" --version 2>&1` in
4668 *GNU*)
4669 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4670 *)
4671 ac_count=0
4672 $as_echo_n 0123456789 >"conftest.in"
4673 while :
4674 do
4675 cat "conftest.in" "conftest.in" >"conftest.tmp"
4676 mv "conftest.tmp" "conftest.in"
4677 cp "conftest.in" "conftest.nl"
4678 $as_echo 'GREP' >> "conftest.nl"
4679 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4680 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4681 as_fn_arith $ac_count + 1 && ac_count=$as_val
4682 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4683 # Best one so far, save it but keep looking for a better one
4684 ac_cv_path_GREP="$ac_path_GREP"
4685 ac_path_GREP_max=$ac_count
4686 fi
4687 # 10*(2^10) chars as input seems more than enough
4688 test $ac_count -gt 10 && break
4689 done
4690 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4691 esac
4692
4693 $ac_path_GREP_found && break 3
4694 done
4695 done
4696 done
4697 IFS=$as_save_IFS
4698 if test -z "$ac_cv_path_GREP"; then
4699 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4700 fi
4701 else
4702 ac_cv_path_GREP=$GREP
4703 fi
4704
4705 fi
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4707 $as_echo "$ac_cv_path_GREP" >&6; }
4708 GREP="$ac_cv_path_GREP"
4709
4710
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4712 $as_echo_n "checking for egrep... " >&6; }
4713 if ${ac_cv_path_EGREP+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4717 then ac_cv_path_EGREP="$GREP -E"
4718 else
4719 if test -z "$EGREP"; then
4720 ac_path_EGREP_found=false
4721 # Loop through the user's path and test for each of PROGNAME-LIST
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4724 do
4725 IFS=$as_save_IFS
4726 test -z "$as_dir" && as_dir=.
4727 for ac_prog in egrep; do
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4730 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4731 # Check for GNU ac_path_EGREP and select it if it is found.
4732 # Check for GNU $ac_path_EGREP
4733 case `"$ac_path_EGREP" --version 2>&1` in
4734 *GNU*)
4735 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4736 *)
4737 ac_count=0
4738 $as_echo_n 0123456789 >"conftest.in"
4739 while :
4740 do
4741 cat "conftest.in" "conftest.in" >"conftest.tmp"
4742 mv "conftest.tmp" "conftest.in"
4743 cp "conftest.in" "conftest.nl"
4744 $as_echo 'EGREP' >> "conftest.nl"
4745 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4746 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4747 as_fn_arith $ac_count + 1 && ac_count=$as_val
4748 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4749 # Best one so far, save it but keep looking for a better one
4750 ac_cv_path_EGREP="$ac_path_EGREP"
4751 ac_path_EGREP_max=$ac_count
4752 fi
4753 # 10*(2^10) chars as input seems more than enough
4754 test $ac_count -gt 10 && break
4755 done
4756 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4757 esac
4758
4759 $ac_path_EGREP_found && break 3
4760 done
4761 done
4762 done
4763 IFS=$as_save_IFS
4764 if test -z "$ac_cv_path_EGREP"; then
4765 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4766 fi
4767 else
4768 ac_cv_path_EGREP=$EGREP
4769 fi
4770
4771 fi
4772 fi
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4774 $as_echo "$ac_cv_path_EGREP" >&6; }
4775 EGREP="$ac_cv_path_EGREP"
4776
4777
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4779 $as_echo_n "checking for fgrep... " >&6; }
4780 if ${ac_cv_path_FGREP+:} false; then :
4781 $as_echo_n "(cached) " >&6
4782 else
4783 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4784 then ac_cv_path_FGREP="$GREP -F"
4785 else
4786 if test -z "$FGREP"; then
4787 ac_path_FGREP_found=false
4788 # Loop through the user's path and test for each of PROGNAME-LIST
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4791 do
4792 IFS=$as_save_IFS
4793 test -z "$as_dir" && as_dir=.
4794 for ac_prog in fgrep; do
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4797 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4798 # Check for GNU ac_path_FGREP and select it if it is found.
4799 # Check for GNU $ac_path_FGREP
4800 case `"$ac_path_FGREP" --version 2>&1` in
4801 *GNU*)
4802 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4803 *)
4804 ac_count=0
4805 $as_echo_n 0123456789 >"conftest.in"
4806 while :
4807 do
4808 cat "conftest.in" "conftest.in" >"conftest.tmp"
4809 mv "conftest.tmp" "conftest.in"
4810 cp "conftest.in" "conftest.nl"
4811 $as_echo 'FGREP' >> "conftest.nl"
4812 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4813 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4814 as_fn_arith $ac_count + 1 && ac_count=$as_val
4815 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4816 # Best one so far, save it but keep looking for a better one
4817 ac_cv_path_FGREP="$ac_path_FGREP"
4818 ac_path_FGREP_max=$ac_count
4819 fi
4820 # 10*(2^10) chars as input seems more than enough
4821 test $ac_count -gt 10 && break
4822 done
4823 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4824 esac
4825
4826 $ac_path_FGREP_found && break 3
4827 done
4828 done
4829 done
4830 IFS=$as_save_IFS
4831 if test -z "$ac_cv_path_FGREP"; then
4832 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4833 fi
4834 else
4835 ac_cv_path_FGREP=$FGREP
4836 fi
4837
4838 fi
4839 fi
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4841 $as_echo "$ac_cv_path_FGREP" >&6; }
4842 FGREP="$ac_cv_path_FGREP"
4843
4844
4845 test -z "$GREP" && GREP=grep
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865 # Check whether --with-gnu-ld was given.
4866 if test "${with_gnu_ld+set}" = set; then :
4867 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4868 else
4869 with_gnu_ld=no
4870 fi
4871
4872 ac_prog=ld
4873 if test "$GCC" = yes; then
4874 # Check if gcc -print-prog-name=ld gives a path.
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4876 $as_echo_n "checking for ld used by $CC... " >&6; }
4877 case $host in
4878 *-*-mingw*)
4879 # gcc leaves a trailing carriage return which upsets mingw
4880 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4881 *)
4882 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4883 esac
4884 case $ac_prog in
4885 # Accept absolute paths.
4886 [\\/]* | ?:[\\/]*)
4887 re_direlt='/[^/][^/]*/\.\./'
4888 # Canonicalize the pathname of ld
4889 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4890 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4891 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4892 done
4893 test -z "$LD" && LD="$ac_prog"
4894 ;;
4895 "")
4896 # If it fails, then pretend we aren't using GCC.
4897 ac_prog=ld
4898 ;;
4899 *)
4900 # If it is relative, then search for the first ld in PATH.
4901 with_gnu_ld=unknown
4902 ;;
4903 esac
4904 elif test "$with_gnu_ld" = yes; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4906 $as_echo_n "checking for GNU ld... " >&6; }
4907 else
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4909 $as_echo_n "checking for non-GNU ld... " >&6; }
4910 fi
4911 if ${lt_cv_path_LD+:} false; then :
4912 $as_echo_n "(cached) " >&6
4913 else
4914 if test -z "$LD"; then
4915 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4916 for ac_dir in $PATH; do
4917 IFS="$lt_save_ifs"
4918 test -z "$ac_dir" && ac_dir=.
4919 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4920 lt_cv_path_LD="$ac_dir/$ac_prog"
4921 # Check to see if the program is GNU ld. I'd rather use --version,
4922 # but apparently some variants of GNU ld only accept -v.
4923 # Break only if it was the GNU/non-GNU ld that we prefer.
4924 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4925 *GNU* | *'with BFD'*)
4926 test "$with_gnu_ld" != no && break
4927 ;;
4928 *)
4929 test "$with_gnu_ld" != yes && break
4930 ;;
4931 esac
4932 fi
4933 done
4934 IFS="$lt_save_ifs"
4935 else
4936 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4937 fi
4938 fi
4939
4940 LD="$lt_cv_path_LD"
4941 if test -n "$LD"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4943 $as_echo "$LD" >&6; }
4944 else
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 fi
4948 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4950 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4951 if ${lt_cv_prog_gnu_ld+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4955 case `$LD -v 2>&1 </dev/null` in
4956 *GNU* | *'with BFD'*)
4957 lt_cv_prog_gnu_ld=yes
4958 ;;
4959 *)
4960 lt_cv_prog_gnu_ld=no
4961 ;;
4962 esac
4963 fi
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4965 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4966 with_gnu_ld=$lt_cv_prog_gnu_ld
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4977 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4978 if ${lt_cv_path_NM+:} false; then :
4979 $as_echo_n "(cached) " >&6
4980 else
4981 if test -n "$NM"; then
4982 # Let the user override the test.
4983 lt_cv_path_NM="$NM"
4984 else
4985 lt_nm_to_check="${ac_tool_prefix}nm"
4986 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4987 lt_nm_to_check="$lt_nm_to_check nm"
4988 fi
4989 for lt_tmp_nm in $lt_nm_to_check; do
4990 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4991 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4992 IFS="$lt_save_ifs"
4993 test -z "$ac_dir" && ac_dir=.
4994 tmp_nm="$ac_dir/$lt_tmp_nm"
4995 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4996 # Check to see if the nm accepts a BSD-compat flag.
4997 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4998 # nm: unknown option "B" ignored
4999 # Tru64's nm complains that /dev/null is an invalid object file
5000 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5001 */dev/null* | *'Invalid file or object type'*)
5002 lt_cv_path_NM="$tmp_nm -B"
5003 break
5004 ;;
5005 *)
5006 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5007 */dev/null*)
5008 lt_cv_path_NM="$tmp_nm -p"
5009 break
5010 ;;
5011 *)
5012 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5013 continue # so that we can try to find one that supports BSD flags
5014 ;;
5015 esac
5016 ;;
5017 esac
5018 fi
5019 done
5020 IFS="$lt_save_ifs"
5021 done
5022 : ${lt_cv_path_NM=no}
5023 fi
5024 fi
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5026 $as_echo "$lt_cv_path_NM" >&6; }
5027 if test "$lt_cv_path_NM" != "no"; then
5028 NM="$lt_cv_path_NM"
5029 else
5030 # Didn't find any BSD compatible name lister, look for dumpbin.
5031 if test -n "$DUMPBIN"; then :
5032 # Let the user override the test.
5033 else
5034 if test -n "$ac_tool_prefix"; then
5035 for ac_prog in dumpbin "link -dump"
5036 do
5037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_DUMPBIN+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 if test -n "$DUMPBIN"; then
5045 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5046 else
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 for as_dir in $PATH
5049 do
5050 IFS=$as_save_IFS
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5054 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 break 2
5057 fi
5058 done
5059 done
5060 IFS=$as_save_IFS
5061
5062 fi
5063 fi
5064 DUMPBIN=$ac_cv_prog_DUMPBIN
5065 if test -n "$DUMPBIN"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5067 $as_echo "$DUMPBIN" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5071 fi
5072
5073
5074 test -n "$DUMPBIN" && break
5075 done
5076 fi
5077 if test -z "$DUMPBIN"; then
5078 ac_ct_DUMPBIN=$DUMPBIN
5079 for ac_prog in dumpbin "link -dump"
5080 do
5081 # Extract the first word of "$ac_prog", so it can be a program name with args.
5082 set dummy $ac_prog; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 if test -n "$ac_ct_DUMPBIN"; then
5089 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5093 do
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5101 fi
5102 done
5103 done
5104 IFS=$as_save_IFS
5105
5106 fi
5107 fi
5108 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5109 if test -n "$ac_ct_DUMPBIN"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5111 $as_echo "$ac_ct_DUMPBIN" >&6; }
5112 else
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5115 fi
5116
5117
5118 test -n "$ac_ct_DUMPBIN" && break
5119 done
5120
5121 if test "x$ac_ct_DUMPBIN" = x; then
5122 DUMPBIN=":"
5123 else
5124 case $cross_compiling:$ac_tool_warned in
5125 yes:)
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5128 ac_tool_warned=yes ;;
5129 esac
5130 DUMPBIN=$ac_ct_DUMPBIN
5131 fi
5132 fi
5133
5134 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5135 *COFF*)
5136 DUMPBIN="$DUMPBIN -symbols"
5137 ;;
5138 *)
5139 DUMPBIN=:
5140 ;;
5141 esac
5142 fi
5143
5144 if test "$DUMPBIN" != ":"; then
5145 NM="$DUMPBIN"
5146 fi
5147 fi
5148 test -z "$NM" && NM=nm
5149
5150
5151
5152
5153
5154
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5156 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5157 if ${lt_cv_nm_interface+:} false; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 lt_cv_nm_interface="BSD nm"
5161 echo "int some_variable = 0;" > conftest.$ac_ext
5162 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5163 (eval "$ac_compile" 2>conftest.err)
5164 cat conftest.err >&5
5165 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5166 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5167 cat conftest.err >&5
5168 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5169 cat conftest.out >&5
5170 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5171 lt_cv_nm_interface="MS dumpbin"
5172 fi
5173 rm -f conftest*
5174 fi
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5176 $as_echo "$lt_cv_nm_interface" >&6; }
5177
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5179 $as_echo_n "checking whether ln -s works... " >&6; }
5180 LN_S=$as_ln_s
5181 if test "$LN_S" = "ln -s"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5183 $as_echo "yes" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5186 $as_echo "no, using $LN_S" >&6; }
5187 fi
5188
5189 # find the maximum length of command line arguments
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5191 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5192 if ${lt_cv_sys_max_cmd_len+:} false; then :
5193 $as_echo_n "(cached) " >&6
5194 else
5195 i=0
5196 teststring="ABCD"
5197
5198 case $build_os in
5199 msdosdjgpp*)
5200 # On DJGPP, this test can blow up pretty badly due to problems in libc
5201 # (any single argument exceeding 2000 bytes causes a buffer overrun
5202 # during glob expansion). Even if it were fixed, the result of this
5203 # check would be larger than it should be.
5204 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5205 ;;
5206
5207 gnu*)
5208 # Under GNU Hurd, this test is not required because there is
5209 # no limit to the length of command line arguments.
5210 # Libtool will interpret -1 as no limit whatsoever
5211 lt_cv_sys_max_cmd_len=-1;
5212 ;;
5213
5214 cygwin* | mingw* | cegcc*)
5215 # On Win9x/ME, this test blows up -- it succeeds, but takes
5216 # about 5 minutes as the teststring grows exponentially.
5217 # Worse, since 9x/ME are not pre-emptively multitasking,
5218 # you end up with a "frozen" computer, even though with patience
5219 # the test eventually succeeds (with a max line length of 256k).
5220 # Instead, let's just punt: use the minimum linelength reported by
5221 # all of the supported platforms: 8192 (on NT/2K/XP).
5222 lt_cv_sys_max_cmd_len=8192;
5223 ;;
5224
5225 mint*)
5226 # On MiNT this can take a long time and run out of memory.
5227 lt_cv_sys_max_cmd_len=8192;
5228 ;;
5229
5230 amigaos*)
5231 # On AmigaOS with pdksh, this test takes hours, literally.
5232 # So we just punt and use a minimum line length of 8192.
5233 lt_cv_sys_max_cmd_len=8192;
5234 ;;
5235
5236 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5237 # This has been around since 386BSD, at least. Likely further.
5238 if test -x /sbin/sysctl; then
5239 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5240 elif test -x /usr/sbin/sysctl; then
5241 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5242 else
5243 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5244 fi
5245 # And add a safety zone
5246 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5247 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5248 ;;
5249
5250 interix*)
5251 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5252 lt_cv_sys_max_cmd_len=196608
5253 ;;
5254
5255 osf*)
5256 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5257 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5258 # nice to cause kernel panics so lets avoid the loop below.
5259 # First set a reasonable default.
5260 lt_cv_sys_max_cmd_len=16384
5261 #
5262 if test -x /sbin/sysconfig; then
5263 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5264 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5265 esac
5266 fi
5267 ;;
5268 sco3.2v5*)
5269 lt_cv_sys_max_cmd_len=102400
5270 ;;
5271 sysv5* | sco5v6* | sysv4.2uw2*)
5272 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5273 if test -n "$kargmax"; then
5274 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5275 else
5276 lt_cv_sys_max_cmd_len=32768
5277 fi
5278 ;;
5279 *)
5280 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5281 if test -n "$lt_cv_sys_max_cmd_len"; then
5282 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5283 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5284 else
5285 # Make teststring a little bigger before we do anything with it.
5286 # a 1K string should be a reasonable start.
5287 for i in 1 2 3 4 5 6 7 8 ; do
5288 teststring=$teststring$teststring
5289 done
5290 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5291 # If test is not a shell built-in, we'll probably end up computing a
5292 # maximum length that is only half of the actual maximum length, but
5293 # we can't tell.
5294 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5295 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5296 test $i != 17 # 1/2 MB should be enough
5297 do
5298 i=`expr $i + 1`
5299 teststring=$teststring$teststring
5300 done
5301 # Only check the string length outside the loop.
5302 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5303 teststring=
5304 # Add a significant safety factor because C++ compilers can tack on
5305 # massive amounts of additional arguments before passing them to the
5306 # linker. It appears as though 1/2 is a usable value.
5307 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5308 fi
5309 ;;
5310 esac
5311
5312 fi
5313
5314 if test -n $lt_cv_sys_max_cmd_len ; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5316 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5317 else
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5319 $as_echo "none" >&6; }
5320 fi
5321 max_cmd_len=$lt_cv_sys_max_cmd_len
5322
5323
5324
5325
5326
5327
5328 : ${CP="cp -f"}
5329 : ${MV="mv -f"}
5330 : ${RM="rm -f"}
5331
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5333 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5334 # Try some XSI features
5335 xsi_shell=no
5336 ( _lt_dummy="a/b/c"
5337 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5338 = c,a/b,b/c, \
5339 && eval 'test $(( 1 + 1 )) -eq 2 \
5340 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5341 && xsi_shell=yes
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5343 $as_echo "$xsi_shell" >&6; }
5344
5345
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5347 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5348 lt_shell_append=no
5349 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5350 >/dev/null 2>&1 \
5351 && lt_shell_append=yes
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5353 $as_echo "$lt_shell_append" >&6; }
5354
5355
5356 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5357 lt_unset=unset
5358 else
5359 lt_unset=false
5360 fi
5361
5362
5363
5364
5365
5366 # test EBCDIC or ASCII
5367 case `echo X|tr X '\101'` in
5368 A) # ASCII based system
5369 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5370 lt_SP2NL='tr \040 \012'
5371 lt_NL2SP='tr \015\012 \040\040'
5372 ;;
5373 *) # EBCDIC based system
5374 lt_SP2NL='tr \100 \n'
5375 lt_NL2SP='tr \r\n \100\100'
5376 ;;
5377 esac
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5388 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5389 if ${lt_cv_to_host_file_cmd+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 case $host in
5393 *-*-mingw* )
5394 case $build in
5395 *-*-mingw* ) # actually msys
5396 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5397 ;;
5398 *-*-cygwin* )
5399 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5400 ;;
5401 * ) # otherwise, assume *nix
5402 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5403 ;;
5404 esac
5405 ;;
5406 *-*-cygwin* )
5407 case $build in
5408 *-*-mingw* ) # actually msys
5409 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5410 ;;
5411 *-*-cygwin* )
5412 lt_cv_to_host_file_cmd=func_convert_file_noop
5413 ;;
5414 * ) # otherwise, assume *nix
5415 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5416 ;;
5417 esac
5418 ;;
5419 * ) # unhandled hosts (and "normal" native builds)
5420 lt_cv_to_host_file_cmd=func_convert_file_noop
5421 ;;
5422 esac
5423
5424 fi
5425
5426 to_host_file_cmd=$lt_cv_to_host_file_cmd
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5428 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5429
5430
5431
5432
5433
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5435 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5436 if ${lt_cv_to_tool_file_cmd+:} false; then :
5437 $as_echo_n "(cached) " >&6
5438 else
5439 #assume ordinary cross tools, or native build.
5440 lt_cv_to_tool_file_cmd=func_convert_file_noop
5441 case $host in
5442 *-*-mingw* )
5443 case $build in
5444 *-*-mingw* ) # actually msys
5445 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5446 ;;
5447 esac
5448 ;;
5449 esac
5450
5451 fi
5452
5453 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5455 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5456
5457
5458
5459
5460
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5462 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5463 if ${lt_cv_ld_reload_flag+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 lt_cv_ld_reload_flag='-r'
5467 fi
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5469 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5470 reload_flag=$lt_cv_ld_reload_flag
5471 case $reload_flag in
5472 "" | " "*) ;;
5473 *) reload_flag=" $reload_flag" ;;
5474 esac
5475 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5476 case $host_os in
5477 cygwin* | mingw* | pw32* | cegcc*)
5478 if test "$GCC" != yes; then
5479 reload_cmds=false
5480 fi
5481 ;;
5482 darwin*)
5483 if test "$GCC" = yes; then
5484 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5485 else
5486 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5487 fi
5488 ;;
5489 esac
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499 if test -n "$ac_tool_prefix"; then
5500 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5501 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_OBJDUMP+:} false; then :
5505 $as_echo_n "(cached) " >&6
5506 else
5507 if test -n "$OBJDUMP"; then
5508 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5509 else
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in $PATH
5512 do
5513 IFS=$as_save_IFS
5514 test -z "$as_dir" && as_dir=.
5515 for ac_exec_ext in '' $ac_executable_extensions; do
5516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5517 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5519 break 2
5520 fi
5521 done
5522 done
5523 IFS=$as_save_IFS
5524
5525 fi
5526 fi
5527 OBJDUMP=$ac_cv_prog_OBJDUMP
5528 if test -n "$OBJDUMP"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5530 $as_echo "$OBJDUMP" >&6; }
5531 else
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5534 fi
5535
5536
5537 fi
5538 if test -z "$ac_cv_prog_OBJDUMP"; then
5539 ac_ct_OBJDUMP=$OBJDUMP
5540 # Extract the first word of "objdump", so it can be a program name with args.
5541 set dummy objdump; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5545 $as_echo_n "(cached) " >&6
5546 else
5547 if test -n "$ac_ct_OBJDUMP"; then
5548 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5552 do
5553 IFS=$as_save_IFS
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 break 2
5560 fi
5561 done
5562 done
5563 IFS=$as_save_IFS
5564
5565 fi
5566 fi
5567 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5568 if test -n "$ac_ct_OBJDUMP"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5570 $as_echo "$ac_ct_OBJDUMP" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5574 fi
5575
5576 if test "x$ac_ct_OBJDUMP" = x; then
5577 OBJDUMP="false"
5578 else
5579 case $cross_compiling:$ac_tool_warned in
5580 yes:)
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583 ac_tool_warned=yes ;;
5584 esac
5585 OBJDUMP=$ac_ct_OBJDUMP
5586 fi
5587 else
5588 OBJDUMP="$ac_cv_prog_OBJDUMP"
5589 fi
5590
5591 test -z "$OBJDUMP" && OBJDUMP=objdump
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5602 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5603 if ${lt_cv_deplibs_check_method+:} false; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 lt_cv_file_magic_cmd='$MAGIC_CMD'
5607 lt_cv_file_magic_test_file=
5608 lt_cv_deplibs_check_method='unknown'
5609 # Need to set the preceding variable on all platforms that support
5610 # interlibrary dependencies.
5611 # 'none' -- dependencies not supported.
5612 # `unknown' -- same as none, but documents that we really don't know.
5613 # 'pass_all' -- all dependencies passed with no checks.
5614 # 'test_compile' -- check by making test program.
5615 # 'file_magic [[regex]]' -- check by looking for files in library path
5616 # which responds to the $file_magic_cmd with a given extended regex.
5617 # If you have `file' or equivalent on your system and you're not sure
5618 # whether `pass_all' will *always* work, you probably want this one.
5619
5620 case $host_os in
5621 aix[4-9]*)
5622 lt_cv_deplibs_check_method=pass_all
5623 ;;
5624
5625 beos*)
5626 lt_cv_deplibs_check_method=pass_all
5627 ;;
5628
5629 bsdi[45]*)
5630 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5631 lt_cv_file_magic_cmd='/usr/bin/file -L'
5632 lt_cv_file_magic_test_file=/shlib/libc.so
5633 ;;
5634
5635 cygwin*)
5636 # func_win32_libid is a shell function defined in ltmain.sh
5637 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5638 lt_cv_file_magic_cmd='func_win32_libid'
5639 ;;
5640
5641 mingw* | pw32*)
5642 # Base MSYS/MinGW do not provide the 'file' command needed by
5643 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5644 # unless we find 'file', for example because we are cross-compiling.
5645 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5646 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5647 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5648 lt_cv_file_magic_cmd='func_win32_libid'
5649 else
5650 # Keep this pattern in sync with the one in func_win32_libid.
5651 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5652 lt_cv_file_magic_cmd='$OBJDUMP -f'
5653 fi
5654 ;;
5655
5656 cegcc*)
5657 # use the weaker test based on 'objdump'. See mingw*.
5658 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5659 lt_cv_file_magic_cmd='$OBJDUMP -f'
5660 ;;
5661
5662 darwin* | rhapsody*)
5663 lt_cv_deplibs_check_method=pass_all
5664 ;;
5665
5666 freebsd* | dragonfly*)
5667 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5668 case $host_cpu in
5669 i*86 )
5670 # Not sure whether the presence of OpenBSD here was a mistake.
5671 # Let's accept both of them until this is cleared up.
5672 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5673 lt_cv_file_magic_cmd=/usr/bin/file
5674 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5675 ;;
5676 esac
5677 else
5678 lt_cv_deplibs_check_method=pass_all
5679 fi
5680 ;;
5681
5682 gnu*)
5683 lt_cv_deplibs_check_method=pass_all
5684 ;;
5685
5686 haiku*)
5687 lt_cv_deplibs_check_method=pass_all
5688 ;;
5689
5690 hpux10.20* | hpux11*)
5691 lt_cv_file_magic_cmd=/usr/bin/file
5692 case $host_cpu in
5693 ia64*)
5694 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5695 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5696 ;;
5697 hppa*64*)
5698 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]'
5699 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5700 ;;
5701 *)
5702 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5703 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5704 ;;
5705 esac
5706 ;;
5707
5708 interix[3-9]*)
5709 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5710 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5711 ;;
5712
5713 irix5* | irix6* | nonstopux*)
5714 case $LD in
5715 *-32|*"-32 ") libmagic=32-bit;;
5716 *-n32|*"-n32 ") libmagic=N32;;
5717 *-64|*"-64 ") libmagic=64-bit;;
5718 *) libmagic=never-match;;
5719 esac
5720 lt_cv_deplibs_check_method=pass_all
5721 ;;
5722
5723 # This must be Linux ELF.
5724 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5725 lt_cv_deplibs_check_method=pass_all
5726 ;;
5727
5728 netbsd*)
5729 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5730 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5731 else
5732 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5733 fi
5734 ;;
5735
5736 newos6*)
5737 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5738 lt_cv_file_magic_cmd=/usr/bin/file
5739 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5740 ;;
5741
5742 *nto* | *qnx*)
5743 lt_cv_deplibs_check_method=pass_all
5744 ;;
5745
5746 openbsd*)
5747 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5748 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5749 else
5750 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5751 fi
5752 ;;
5753
5754 osf3* | osf4* | osf5*)
5755 lt_cv_deplibs_check_method=pass_all
5756 ;;
5757
5758 rdos*)
5759 lt_cv_deplibs_check_method=pass_all
5760 ;;
5761
5762 solaris*)
5763 lt_cv_deplibs_check_method=pass_all
5764 ;;
5765
5766 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5767 lt_cv_deplibs_check_method=pass_all
5768 ;;
5769
5770 sysv4 | sysv4.3*)
5771 case $host_vendor in
5772 motorola)
5773 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]'
5774 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5775 ;;
5776 ncr)
5777 lt_cv_deplibs_check_method=pass_all
5778 ;;
5779 sequent)
5780 lt_cv_file_magic_cmd='/bin/file'
5781 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5782 ;;
5783 sni)
5784 lt_cv_file_magic_cmd='/bin/file'
5785 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5786 lt_cv_file_magic_test_file=/lib/libc.so
5787 ;;
5788 siemens)
5789 lt_cv_deplibs_check_method=pass_all
5790 ;;
5791 pc)
5792 lt_cv_deplibs_check_method=pass_all
5793 ;;
5794 esac
5795 ;;
5796
5797 tpf*)
5798 lt_cv_deplibs_check_method=pass_all
5799 ;;
5800 esac
5801
5802 fi
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5804 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5805
5806 file_magic_glob=
5807 want_nocaseglob=no
5808 if test "$build" = "$host"; then
5809 case $host_os in
5810 mingw* | pw32*)
5811 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5812 want_nocaseglob=yes
5813 else
5814 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5815 fi
5816 ;;
5817 esac
5818 fi
5819
5820 file_magic_cmd=$lt_cv_file_magic_cmd
5821 deplibs_check_method=$lt_cv_deplibs_check_method
5822 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845 if test -n "$ac_tool_prefix"; then
5846 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5847 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_DLLTOOL+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 if test -n "$DLLTOOL"; then
5854 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5858 do
5859 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 break 2
5866 fi
5867 done
5868 done
5869 IFS=$as_save_IFS
5870
5871 fi
5872 fi
5873 DLLTOOL=$ac_cv_prog_DLLTOOL
5874 if test -n "$DLLTOOL"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5876 $as_echo "$DLLTOOL" >&6; }
5877 else
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5880 fi
5881
5882
5883 fi
5884 if test -z "$ac_cv_prog_DLLTOOL"; then
5885 ac_ct_DLLTOOL=$DLLTOOL
5886 # Extract the first word of "dlltool", so it can be a program name with args.
5887 set dummy dlltool; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5891 $as_echo_n "(cached) " >&6
5892 else
5893 if test -n "$ac_ct_DLLTOOL"; then
5894 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5895 else
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5898 do
5899 IFS=$as_save_IFS
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 break 2
5906 fi
5907 done
5908 done
5909 IFS=$as_save_IFS
5910
5911 fi
5912 fi
5913 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5914 if test -n "$ac_ct_DLLTOOL"; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5916 $as_echo "$ac_ct_DLLTOOL" >&6; }
5917 else
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5920 fi
5921
5922 if test "x$ac_ct_DLLTOOL" = x; then
5923 DLLTOOL="false"
5924 else
5925 case $cross_compiling:$ac_tool_warned in
5926 yes:)
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5929 ac_tool_warned=yes ;;
5930 esac
5931 DLLTOOL=$ac_ct_DLLTOOL
5932 fi
5933 else
5934 DLLTOOL="$ac_cv_prog_DLLTOOL"
5935 fi
5936
5937 test -z "$DLLTOOL" && DLLTOOL=dlltool
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5949 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5950 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 lt_cv_sharedlib_from_linklib_cmd='unknown'
5954
5955 case $host_os in
5956 cygwin* | mingw* | pw32* | cegcc*)
5957 # two different shell functions defined in ltmain.sh
5958 # decide which to use based on capabilities of $DLLTOOL
5959 case `$DLLTOOL --help 2>&1` in
5960 *--identify-strict*)
5961 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5962 ;;
5963 *)
5964 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5965 ;;
5966 esac
5967 ;;
5968 *)
5969 # fallback: assume linklib IS sharedlib
5970 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5971 ;;
5972 esac
5973
5974 fi
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5976 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5977 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5978 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5979
5980
5981
5982
5983
5984
5985
5986
5987 if test -n "$ac_tool_prefix"; then
5988 for ac_prog in ar
5989 do
5990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5993 $as_echo_n "checking for $ac_word... " >&6; }
5994 if ${ac_cv_prog_AR+:} false; then :
5995 $as_echo_n "(cached) " >&6
5996 else
5997 if test -n "$AR"; then
5998 ac_cv_prog_AR="$AR" # Let the user override the test.
5999 else
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6001 for as_dir in $PATH
6002 do
6003 IFS=$as_save_IFS
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 break 2
6010 fi
6011 done
6012 done
6013 IFS=$as_save_IFS
6014
6015 fi
6016 fi
6017 AR=$ac_cv_prog_AR
6018 if test -n "$AR"; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6020 $as_echo "$AR" >&6; }
6021 else
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 $as_echo "no" >&6; }
6024 fi
6025
6026
6027 test -n "$AR" && break
6028 done
6029 fi
6030 if test -z "$AR"; then
6031 ac_ct_AR=$AR
6032 for ac_prog in ar
6033 do
6034 # Extract the first word of "$ac_prog", so it can be a program name with args.
6035 set dummy $ac_prog; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 if test -n "$ac_ct_AR"; then
6042 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6046 do
6047 IFS=$as_save_IFS
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_ac_ct_AR="$ac_prog"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 break 2
6054 fi
6055 done
6056 done
6057 IFS=$as_save_IFS
6058
6059 fi
6060 fi
6061 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6062 if test -n "$ac_ct_AR"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6064 $as_echo "$ac_ct_AR" >&6; }
6065 else
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6068 fi
6069
6070
6071 test -n "$ac_ct_AR" && break
6072 done
6073
6074 if test "x$ac_ct_AR" = x; then
6075 AR="false"
6076 else
6077 case $cross_compiling:$ac_tool_warned in
6078 yes:)
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6081 ac_tool_warned=yes ;;
6082 esac
6083 AR=$ac_ct_AR
6084 fi
6085 fi
6086
6087 : ${AR=ar}
6088 : ${AR_FLAGS=cru}
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6101 $as_echo_n "checking for archiver @FILE support... " >&6; }
6102 if ${lt_cv_ar_at_file+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 lt_cv_ar_at_file=no
6106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108
6109 int
6110 main ()
6111 {
6112
6113 ;
6114 return 0;
6115 }
6116 _ACEOF
6117 if ac_fn_c_try_compile "$LINENO"; then :
6118 echo conftest.$ac_objext > conftest.lst
6119 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6120 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6121 (eval $lt_ar_try) 2>&5
6122 ac_status=$?
6123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6124 test $ac_status = 0; }
6125 if test "$ac_status" -eq 0; then
6126 # Ensure the archiver fails upon bogus file names.
6127 rm -f conftest.$ac_objext libconftest.a
6128 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6129 (eval $lt_ar_try) 2>&5
6130 ac_status=$?
6131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6132 test $ac_status = 0; }
6133 if test "$ac_status" -ne 0; then
6134 lt_cv_ar_at_file=@
6135 fi
6136 fi
6137 rm -f conftest.* libconftest.a
6138
6139 fi
6140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6141
6142 fi
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6144 $as_echo "$lt_cv_ar_at_file" >&6; }
6145
6146 if test "x$lt_cv_ar_at_file" = xno; then
6147 archiver_list_spec=
6148 else
6149 archiver_list_spec=$lt_cv_ar_at_file
6150 fi
6151
6152
6153
6154
6155
6156
6157
6158 if test -n "$ac_tool_prefix"; then
6159 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6160 set dummy ${ac_tool_prefix}strip; ac_word=$2
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 $as_echo_n "checking for $ac_word... " >&6; }
6163 if ${ac_cv_prog_STRIP+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 if test -n "$STRIP"; then
6167 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6168 else
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6171 do
6172 IFS=$as_save_IFS
6173 test -z "$as_dir" && as_dir=.
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6176 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 break 2
6179 fi
6180 done
6181 done
6182 IFS=$as_save_IFS
6183
6184 fi
6185 fi
6186 STRIP=$ac_cv_prog_STRIP
6187 if test -n "$STRIP"; then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6189 $as_echo "$STRIP" >&6; }
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 $as_echo "no" >&6; }
6193 fi
6194
6195
6196 fi
6197 if test -z "$ac_cv_prog_STRIP"; then
6198 ac_ct_STRIP=$STRIP
6199 # Extract the first word of "strip", so it can be a program name with args.
6200 set dummy strip; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 if test -n "$ac_ct_STRIP"; then
6207 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6211 do
6212 IFS=$as_save_IFS
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6216 ac_cv_prog_ac_ct_STRIP="strip"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 break 2
6219 fi
6220 done
6221 done
6222 IFS=$as_save_IFS
6223
6224 fi
6225 fi
6226 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6227 if test -n "$ac_ct_STRIP"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6229 $as_echo "$ac_ct_STRIP" >&6; }
6230 else
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6233 fi
6234
6235 if test "x$ac_ct_STRIP" = x; then
6236 STRIP=":"
6237 else
6238 case $cross_compiling:$ac_tool_warned in
6239 yes:)
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 ac_tool_warned=yes ;;
6243 esac
6244 STRIP=$ac_ct_STRIP
6245 fi
6246 else
6247 STRIP="$ac_cv_prog_STRIP"
6248 fi
6249
6250 test -z "$STRIP" && STRIP=:
6251
6252
6253
6254
6255
6256
6257 if test -n "$ac_tool_prefix"; then
6258 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if ${ac_cv_prog_RANLIB+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 if test -n "$RANLIB"; then
6266 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6270 do
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 break 2
6278 fi
6279 done
6280 done
6281 IFS=$as_save_IFS
6282
6283 fi
6284 fi
6285 RANLIB=$ac_cv_prog_RANLIB
6286 if test -n "$RANLIB"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6288 $as_echo "$RANLIB" >&6; }
6289 else
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6292 fi
6293
6294
6295 fi
6296 if test -z "$ac_cv_prog_RANLIB"; then
6297 ac_ct_RANLIB=$RANLIB
6298 # Extract the first word of "ranlib", so it can be a program name with args.
6299 set dummy ranlib; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6303 $as_echo_n "(cached) " >&6
6304 else
6305 if test -n "$ac_ct_RANLIB"; then
6306 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6307 else
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 for as_dir in $PATH
6310 do
6311 IFS=$as_save_IFS
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315 ac_cv_prog_ac_ct_RANLIB="ranlib"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317 break 2
6318 fi
6319 done
6320 done
6321 IFS=$as_save_IFS
6322
6323 fi
6324 fi
6325 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6326 if test -n "$ac_ct_RANLIB"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6328 $as_echo "$ac_ct_RANLIB" >&6; }
6329 else
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6332 fi
6333
6334 if test "x$ac_ct_RANLIB" = x; then
6335 RANLIB=":"
6336 else
6337 case $cross_compiling:$ac_tool_warned in
6338 yes:)
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6342 esac
6343 RANLIB=$ac_ct_RANLIB
6344 fi
6345 else
6346 RANLIB="$ac_cv_prog_RANLIB"
6347 fi
6348
6349 test -z "$RANLIB" && RANLIB=:
6350
6351
6352
6353
6354
6355
6356 # Determine commands to create old-style static archives.
6357 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6358 old_postinstall_cmds='chmod 644 $oldlib'
6359 old_postuninstall_cmds=
6360
6361 if test -n "$RANLIB"; then
6362 case $host_os in
6363 openbsd*)
6364 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6365 ;;
6366 *)
6367 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6368 ;;
6369 esac
6370 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6371 fi
6372
6373 case $host_os in
6374 darwin*)
6375 lock_old_archive_extraction=yes ;;
6376 *)
6377 lock_old_archive_extraction=no ;;
6378 esac
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418 # If no C compiler was specified, use CC.
6419 LTCC=${LTCC-"$CC"}
6420
6421 # If no C compiler flags were specified, use CFLAGS.
6422 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6423
6424 # Allow CC to be a program name with arguments.
6425 compiler=$CC
6426
6427
6428 # Check for command to grab the raw symbol name followed by C symbol from nm.
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6430 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6431 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434
6435 # These are sane defaults that work on at least a few old systems.
6436 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6437
6438 # Character class describing NM global symbol codes.
6439 symcode='[BCDEGRST]'
6440
6441 # Regexp to match symbols that can be accessed directly from C.
6442 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6443
6444 # Define system-specific variables.
6445 case $host_os in
6446 aix*)
6447 symcode='[BCDT]'
6448 ;;
6449 cygwin* | mingw* | pw32* | cegcc*)
6450 symcode='[ABCDGISTW]'
6451 ;;
6452 hpux*)
6453 if test "$host_cpu" = ia64; then
6454 symcode='[ABCDEGRST]'
6455 fi
6456 ;;
6457 irix* | nonstopux*)
6458 symcode='[BCDEGRST]'
6459 ;;
6460 osf*)
6461 symcode='[BCDEGQRST]'
6462 ;;
6463 solaris*)
6464 symcode='[BDRT]'
6465 ;;
6466 sco3.2v5*)
6467 symcode='[DT]'
6468 ;;
6469 sysv4.2uw2*)
6470 symcode='[DT]'
6471 ;;
6472 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6473 symcode='[ABDT]'
6474 ;;
6475 sysv4)
6476 symcode='[DFNSTU]'
6477 ;;
6478 esac
6479
6480 # If we're using GNU nm, then use its standard symbol codes.
6481 case `$NM -V 2>&1` in
6482 *GNU* | *'with BFD'*)
6483 symcode='[ABCDGIRSTW]' ;;
6484 esac
6485
6486 # Transform an extracted symbol line into a proper C declaration.
6487 # Some systems (esp. on ia64) link data and code symbols differently,
6488 # so use this general approach.
6489 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6490
6491 # Transform an extracted symbol line into symbol name and symbol address
6492 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6493 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'"
6494
6495 # Handle CRLF in mingw tool chain
6496 opt_cr=
6497 case $build_os in
6498 mingw*)
6499 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6500 ;;
6501 esac
6502
6503 # Try without a prefix underscore, then with it.
6504 for ac_symprfx in "" "_"; do
6505
6506 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6507 symxfrm="\\1 $ac_symprfx\\2 \\2"
6508
6509 # Write the raw and C identifiers.
6510 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6511 # Fake it for dumpbin and say T for any non-static function
6512 # and D for any global variable.
6513 # Also find C++ and __fastcall symbols from MSVC++,
6514 # which start with @ or ?.
6515 lt_cv_sys_global_symbol_pipe="$AWK '"\
6516 " {last_section=section; section=\$ 3};"\
6517 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6518 " \$ 0!~/External *\|/{next};"\
6519 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6520 " {if(hide[section]) next};"\
6521 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6522 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6523 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6524 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6525 " ' prfx=^$ac_symprfx"
6526 else
6527 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6528 fi
6529 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6530
6531 # Check to see that the pipe works correctly.
6532 pipe_works=no
6533
6534 rm -f conftest*
6535 cat > conftest.$ac_ext <<_LT_EOF
6536 #ifdef __cplusplus
6537 extern "C" {
6538 #endif
6539 char nm_test_var;
6540 void nm_test_func(void);
6541 void nm_test_func(void){}
6542 #ifdef __cplusplus
6543 }
6544 #endif
6545 int main(){nm_test_var='a';nm_test_func();return(0);}
6546 _LT_EOF
6547
6548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6549 (eval $ac_compile) 2>&5
6550 ac_status=$?
6551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6552 test $ac_status = 0; }; then
6553 # Now try to grab the symbols.
6554 nlist=conftest.nm
6555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6556 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6557 ac_status=$?
6558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6559 test $ac_status = 0; } && test -s "$nlist"; then
6560 # Try sorting and uniquifying the output.
6561 if sort "$nlist" | uniq > "$nlist"T; then
6562 mv -f "$nlist"T "$nlist"
6563 else
6564 rm -f "$nlist"T
6565 fi
6566
6567 # Make sure that we snagged all the symbols we need.
6568 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6569 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6570 cat <<_LT_EOF > conftest.$ac_ext
6571 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6572 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6573 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6574 relocations are performed -- see ld's documentation on pseudo-relocs. */
6575 # define LT_DLSYM_CONST
6576 #elif defined(__osf__)
6577 /* This system does not cope well with relocations in const data. */
6578 # define LT_DLSYM_CONST
6579 #else
6580 # define LT_DLSYM_CONST const
6581 #endif
6582
6583 #ifdef __cplusplus
6584 extern "C" {
6585 #endif
6586
6587 _LT_EOF
6588 # Now generate the symbol file.
6589 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6590
6591 cat <<_LT_EOF >> conftest.$ac_ext
6592
6593 /* The mapping between symbol names and symbols. */
6594 LT_DLSYM_CONST struct {
6595 const char *name;
6596 void *address;
6597 }
6598 lt__PROGRAM__LTX_preloaded_symbols[] =
6599 {
6600 { "@PROGRAM@", (void *) 0 },
6601 _LT_EOF
6602 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6603 cat <<\_LT_EOF >> conftest.$ac_ext
6604 {0, (void *) 0}
6605 };
6606
6607 /* This works around a problem in FreeBSD linker */
6608 #ifdef FREEBSD_WORKAROUND
6609 static const void *lt_preloaded_setup() {
6610 return lt__PROGRAM__LTX_preloaded_symbols;
6611 }
6612 #endif
6613
6614 #ifdef __cplusplus
6615 }
6616 #endif
6617 _LT_EOF
6618 # Now try linking the two files.
6619 mv conftest.$ac_objext conftstm.$ac_objext
6620 lt_globsym_save_LIBS=$LIBS
6621 lt_globsym_save_CFLAGS=$CFLAGS
6622 LIBS="conftstm.$ac_objext"
6623 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6625 (eval $ac_link) 2>&5
6626 ac_status=$?
6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6629 pipe_works=yes
6630 fi
6631 LIBS=$lt_globsym_save_LIBS
6632 CFLAGS=$lt_globsym_save_CFLAGS
6633 else
6634 echo "cannot find nm_test_func in $nlist" >&5
6635 fi
6636 else
6637 echo "cannot find nm_test_var in $nlist" >&5
6638 fi
6639 else
6640 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6641 fi
6642 else
6643 echo "$progname: failed program was:" >&5
6644 cat conftest.$ac_ext >&5
6645 fi
6646 rm -rf conftest* conftst*
6647
6648 # Do not use the global_symbol_pipe unless it works.
6649 if test "$pipe_works" = yes; then
6650 break
6651 else
6652 lt_cv_sys_global_symbol_pipe=
6653 fi
6654 done
6655
6656 fi
6657
6658 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6659 lt_cv_sys_global_symbol_to_cdecl=
6660 fi
6661 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6663 $as_echo "failed" >&6; }
6664 else
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6666 $as_echo "ok" >&6; }
6667 fi
6668
6669 # Response file support.
6670 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6671 nm_file_list_spec='@'
6672 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6673 nm_file_list_spec='@'
6674 fi
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6703 $as_echo_n "checking for sysroot... " >&6; }
6704
6705 # Check whether --with-sysroot was given.
6706 if test "${with_sysroot+set}" = set; then :
6707 withval=$with_sysroot;
6708 else
6709 with_sysroot=no
6710 fi
6711
6712
6713 lt_sysroot=
6714 case ${with_sysroot} in #(
6715 yes)
6716 if test "$GCC" = yes; then
6717 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6718 fi
6719 ;; #(
6720 /*)
6721 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6722 ;; #(
6723 no|'')
6724 ;; #(
6725 *)
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6727 $as_echo "${with_sysroot}" >&6; }
6728 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6729 ;;
6730 esac
6731
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6733 $as_echo "${lt_sysroot:-no}" >&6; }
6734
6735
6736
6737
6738
6739 # Check whether --enable-libtool-lock was given.
6740 if test "${enable_libtool_lock+set}" = set; then :
6741 enableval=$enable_libtool_lock;
6742 fi
6743
6744 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6745
6746 # Some flags need to be propagated to the compiler or linker for good
6747 # libtool support.
6748 case $host in
6749 ia64-*-hpux*)
6750 # Find out which ABI we are using.
6751 echo 'int i;' > conftest.$ac_ext
6752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6753 (eval $ac_compile) 2>&5
6754 ac_status=$?
6755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6756 test $ac_status = 0; }; then
6757 case `/usr/bin/file conftest.$ac_objext` in
6758 *ELF-32*)
6759 HPUX_IA64_MODE="32"
6760 ;;
6761 *ELF-64*)
6762 HPUX_IA64_MODE="64"
6763 ;;
6764 esac
6765 fi
6766 rm -rf conftest*
6767 ;;
6768 *-*-irix6*)
6769 # Find out which ABI we are using.
6770 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6772 (eval $ac_compile) 2>&5
6773 ac_status=$?
6774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6775 test $ac_status = 0; }; then
6776 if test "$lt_cv_prog_gnu_ld" = yes; then
6777 case `/usr/bin/file conftest.$ac_objext` in
6778 *32-bit*)
6779 LD="${LD-ld} -melf32bsmip"
6780 ;;
6781 *N32*)
6782 LD="${LD-ld} -melf32bmipn32"
6783 ;;
6784 *64-bit*)
6785 LD="${LD-ld} -melf64bmip"
6786 ;;
6787 esac
6788 else
6789 case `/usr/bin/file conftest.$ac_objext` in
6790 *32-bit*)
6791 LD="${LD-ld} -32"
6792 ;;
6793 *N32*)
6794 LD="${LD-ld} -n32"
6795 ;;
6796 *64-bit*)
6797 LD="${LD-ld} -64"
6798 ;;
6799 esac
6800 fi
6801 fi
6802 rm -rf conftest*
6803 ;;
6804
6805 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6806 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6807 # Find out which ABI we are using.
6808 echo 'int i;' > conftest.$ac_ext
6809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810 (eval $ac_compile) 2>&5
6811 ac_status=$?
6812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813 test $ac_status = 0; }; then
6814 case `/usr/bin/file conftest.o` in
6815 *32-bit*)
6816 case $host in
6817 x86_64-*kfreebsd*-gnu)
6818 LD="${LD-ld} -m elf_i386_fbsd"
6819 ;;
6820 x86_64-*linux*)
6821 LD="${LD-ld} -m elf_i386"
6822 ;;
6823 ppc64-*linux*|powerpc64-*linux*)
6824 LD="${LD-ld} -m elf32ppclinux"
6825 ;;
6826 s390x-*linux*)
6827 LD="${LD-ld} -m elf_s390"
6828 ;;
6829 sparc64-*linux*)
6830 LD="${LD-ld} -m elf32_sparc"
6831 ;;
6832 esac
6833 ;;
6834 *64-bit*)
6835 case $host in
6836 x86_64-*kfreebsd*-gnu)
6837 LD="${LD-ld} -m elf_x86_64_fbsd"
6838 ;;
6839 x86_64-*linux*)
6840 LD="${LD-ld} -m elf_x86_64"
6841 ;;
6842 ppc*-*linux*|powerpc*-*linux*)
6843 LD="${LD-ld} -m elf64ppc"
6844 ;;
6845 s390*-*linux*|s390*-*tpf*)
6846 LD="${LD-ld} -m elf64_s390"
6847 ;;
6848 sparc*-*linux*)
6849 LD="${LD-ld} -m elf64_sparc"
6850 ;;
6851 esac
6852 ;;
6853 esac
6854 fi
6855 rm -rf conftest*
6856 ;;
6857
6858 *-*-sco3.2v5*)
6859 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6860 SAVE_CFLAGS="$CFLAGS"
6861 CFLAGS="$CFLAGS -belf"
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6863 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6864 if ${lt_cv_cc_needs_belf+:} false; then :
6865 $as_echo_n "(cached) " >&6
6866 else
6867 ac_ext=c
6868 ac_cpp='$CPP $CPPFLAGS'
6869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6872
6873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6875
6876 int
6877 main ()
6878 {
6879
6880 ;
6881 return 0;
6882 }
6883 _ACEOF
6884 if ac_fn_c_try_link "$LINENO"; then :
6885 lt_cv_cc_needs_belf=yes
6886 else
6887 lt_cv_cc_needs_belf=no
6888 fi
6889 rm -f core conftest.err conftest.$ac_objext \
6890 conftest$ac_exeext conftest.$ac_ext
6891 ac_ext=c
6892 ac_cpp='$CPP $CPPFLAGS'
6893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6896
6897 fi
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6899 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6900 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6901 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6902 CFLAGS="$SAVE_CFLAGS"
6903 fi
6904 ;;
6905 sparc*-*solaris*)
6906 # Find out which ABI we are using.
6907 echo 'int i;' > conftest.$ac_ext
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6909 (eval $ac_compile) 2>&5
6910 ac_status=$?
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; }; then
6913 case `/usr/bin/file conftest.o` in
6914 *64-bit*)
6915 case $lt_cv_prog_gnu_ld in
6916 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6917 *)
6918 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6919 LD="${LD-ld} -64"
6920 fi
6921 ;;
6922 esac
6923 ;;
6924 esac
6925 fi
6926 rm -rf conftest*
6927 ;;
6928 esac
6929
6930 need_locks="$enable_libtool_lock"
6931
6932 if test -n "$ac_tool_prefix"; then
6933 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6934 set dummy ${ac_tool_prefix}mt; ac_word=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936 $as_echo_n "checking for $ac_word... " >&6; }
6937 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
6940 if test -n "$MANIFEST_TOOL"; then
6941 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6942 else
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 for as_dir in $PATH
6945 do
6946 IFS=$as_save_IFS
6947 test -z "$as_dir" && as_dir=.
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6950 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6952 break 2
6953 fi
6954 done
6955 done
6956 IFS=$as_save_IFS
6957
6958 fi
6959 fi
6960 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6961 if test -n "$MANIFEST_TOOL"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6963 $as_echo "$MANIFEST_TOOL" >&6; }
6964 else
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 $as_echo "no" >&6; }
6967 fi
6968
6969
6970 fi
6971 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6972 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6973 # Extract the first word of "mt", so it can be a program name with args.
6974 set dummy mt; ac_word=$2
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6976 $as_echo_n "checking for $ac_word... " >&6; }
6977 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6978 $as_echo_n "(cached) " >&6
6979 else
6980 if test -n "$ac_ct_MANIFEST_TOOL"; then
6981 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6982 else
6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984 for as_dir in $PATH
6985 do
6986 IFS=$as_save_IFS
6987 test -z "$as_dir" && as_dir=.
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6990 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6992 break 2
6993 fi
6994 done
6995 done
6996 IFS=$as_save_IFS
6997
6998 fi
6999 fi
7000 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7001 if test -n "$ac_ct_MANIFEST_TOOL"; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7003 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7004 else
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7006 $as_echo "no" >&6; }
7007 fi
7008
7009 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7010 MANIFEST_TOOL=":"
7011 else
7012 case $cross_compiling:$ac_tool_warned in
7013 yes:)
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7016 ac_tool_warned=yes ;;
7017 esac
7018 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7019 fi
7020 else
7021 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7022 fi
7023
7024 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7026 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7027 if ${lt_cv_path_mainfest_tool+:} false; then :
7028 $as_echo_n "(cached) " >&6
7029 else
7030 lt_cv_path_mainfest_tool=no
7031 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7032 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7033 cat conftest.err >&5
7034 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7035 lt_cv_path_mainfest_tool=yes
7036 fi
7037 rm -f conftest*
7038 fi
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7040 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7041 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7042 MANIFEST_TOOL=:
7043 fi
7044
7045
7046
7047
7048
7049
7050 case $host_os in
7051 rhapsody* | darwin*)
7052 if test -n "$ac_tool_prefix"; then
7053 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7054 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056 $as_echo_n "checking for $ac_word... " >&6; }
7057 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7058 $as_echo_n "(cached) " >&6
7059 else
7060 if test -n "$DSYMUTIL"; then
7061 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7062 else
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 for as_dir in $PATH
7065 do
7066 IFS=$as_save_IFS
7067 test -z "$as_dir" && as_dir=.
7068 for ac_exec_ext in '' $ac_executable_extensions; do
7069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7070 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 break 2
7073 fi
7074 done
7075 done
7076 IFS=$as_save_IFS
7077
7078 fi
7079 fi
7080 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7081 if test -n "$DSYMUTIL"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7083 $as_echo "$DSYMUTIL" >&6; }
7084 else
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7087 fi
7088
7089
7090 fi
7091 if test -z "$ac_cv_prog_DSYMUTIL"; then
7092 ac_ct_DSYMUTIL=$DSYMUTIL
7093 # Extract the first word of "dsymutil", so it can be a program name with args.
7094 set dummy dsymutil; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7098 $as_echo_n "(cached) " >&6
7099 else
7100 if test -n "$ac_ct_DSYMUTIL"; then
7101 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7102 else
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in $PATH
7105 do
7106 IFS=$as_save_IFS
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7110 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 break 2
7113 fi
7114 done
7115 done
7116 IFS=$as_save_IFS
7117
7118 fi
7119 fi
7120 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7121 if test -n "$ac_ct_DSYMUTIL"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7123 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7124 else
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7127 fi
7128
7129 if test "x$ac_ct_DSYMUTIL" = x; then
7130 DSYMUTIL=":"
7131 else
7132 case $cross_compiling:$ac_tool_warned in
7133 yes:)
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7136 ac_tool_warned=yes ;;
7137 esac
7138 DSYMUTIL=$ac_ct_DSYMUTIL
7139 fi
7140 else
7141 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7142 fi
7143
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_NMEDIT+:} false; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 if test -n "$NMEDIT"; then
7153 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7154 else
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 for as_dir in $PATH
7157 do
7158 IFS=$as_save_IFS
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7162 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 break 2
7165 fi
7166 done
7167 done
7168 IFS=$as_save_IFS
7169
7170 fi
7171 fi
7172 NMEDIT=$ac_cv_prog_NMEDIT
7173 if test -n "$NMEDIT"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7175 $as_echo "$NMEDIT" >&6; }
7176 else
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7179 fi
7180
7181
7182 fi
7183 if test -z "$ac_cv_prog_NMEDIT"; then
7184 ac_ct_NMEDIT=$NMEDIT
7185 # Extract the first word of "nmedit", so it can be a program name with args.
7186 set dummy nmedit; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
7192 if test -n "$ac_ct_NMEDIT"; then
7193 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7197 do
7198 IFS=$as_save_IFS
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7202 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 break 2
7205 fi
7206 done
7207 done
7208 IFS=$as_save_IFS
7209
7210 fi
7211 fi
7212 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7213 if test -n "$ac_ct_NMEDIT"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7215 $as_echo "$ac_ct_NMEDIT" >&6; }
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7219 fi
7220
7221 if test "x$ac_ct_NMEDIT" = x; then
7222 NMEDIT=":"
7223 else
7224 case $cross_compiling:$ac_tool_warned in
7225 yes:)
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7229 esac
7230 NMEDIT=$ac_ct_NMEDIT
7231 fi
7232 else
7233 NMEDIT="$ac_cv_prog_NMEDIT"
7234 fi
7235
7236 if test -n "$ac_tool_prefix"; then
7237 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7238 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 $as_echo_n "checking for $ac_word... " >&6; }
7241 if ${ac_cv_prog_LIPO+:} false; then :
7242 $as_echo_n "(cached) " >&6
7243 else
7244 if test -n "$LIPO"; then
7245 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7246 else
7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 for as_dir in $PATH
7249 do
7250 IFS=$as_save_IFS
7251 test -z "$as_dir" && as_dir=.
7252 for ac_exec_ext in '' $ac_executable_extensions; do
7253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7254 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 break 2
7257 fi
7258 done
7259 done
7260 IFS=$as_save_IFS
7261
7262 fi
7263 fi
7264 LIPO=$ac_cv_prog_LIPO
7265 if test -n "$LIPO"; then
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7267 $as_echo "$LIPO" >&6; }
7268 else
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 $as_echo "no" >&6; }
7271 fi
7272
7273
7274 fi
7275 if test -z "$ac_cv_prog_LIPO"; then
7276 ac_ct_LIPO=$LIPO
7277 # Extract the first word of "lipo", so it can be a program name with args.
7278 set dummy lipo; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 $as_echo_n "checking for $ac_word... " >&6; }
7281 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7282 $as_echo_n "(cached) " >&6
7283 else
7284 if test -n "$ac_ct_LIPO"; then
7285 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7286 else
7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288 for as_dir in $PATH
7289 do
7290 IFS=$as_save_IFS
7291 test -z "$as_dir" && as_dir=.
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294 ac_cv_prog_ac_ct_LIPO="lipo"
7295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 break 2
7297 fi
7298 done
7299 done
7300 IFS=$as_save_IFS
7301
7302 fi
7303 fi
7304 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7305 if test -n "$ac_ct_LIPO"; then
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7307 $as_echo "$ac_ct_LIPO" >&6; }
7308 else
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310 $as_echo "no" >&6; }
7311 fi
7312
7313 if test "x$ac_ct_LIPO" = x; then
7314 LIPO=":"
7315 else
7316 case $cross_compiling:$ac_tool_warned in
7317 yes:)
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7320 ac_tool_warned=yes ;;
7321 esac
7322 LIPO=$ac_ct_LIPO
7323 fi
7324 else
7325 LIPO="$ac_cv_prog_LIPO"
7326 fi
7327
7328 if test -n "$ac_tool_prefix"; then
7329 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7330 set dummy ${ac_tool_prefix}otool; ac_word=$2
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332 $as_echo_n "checking for $ac_word... " >&6; }
7333 if ${ac_cv_prog_OTOOL+:} false; then :
7334 $as_echo_n "(cached) " >&6
7335 else
7336 if test -n "$OTOOL"; then
7337 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7338 else
7339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 for as_dir in $PATH
7341 do
7342 IFS=$as_save_IFS
7343 test -z "$as_dir" && as_dir=.
7344 for ac_exec_ext in '' $ac_executable_extensions; do
7345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7346 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 break 2
7349 fi
7350 done
7351 done
7352 IFS=$as_save_IFS
7353
7354 fi
7355 fi
7356 OTOOL=$ac_cv_prog_OTOOL
7357 if test -n "$OTOOL"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7359 $as_echo "$OTOOL" >&6; }
7360 else
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7363 fi
7364
7365
7366 fi
7367 if test -z "$ac_cv_prog_OTOOL"; then
7368 ac_ct_OTOOL=$OTOOL
7369 # Extract the first word of "otool", so it can be a program name with args.
7370 set dummy otool; ac_word=$2
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 $as_echo_n "checking for $ac_word... " >&6; }
7373 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7374 $as_echo_n "(cached) " >&6
7375 else
7376 if test -n "$ac_ct_OTOOL"; then
7377 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7378 else
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380 for as_dir in $PATH
7381 do
7382 IFS=$as_save_IFS
7383 test -z "$as_dir" && as_dir=.
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386 ac_cv_prog_ac_ct_OTOOL="otool"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 break 2
7389 fi
7390 done
7391 done
7392 IFS=$as_save_IFS
7393
7394 fi
7395 fi
7396 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7397 if test -n "$ac_ct_OTOOL"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7399 $as_echo "$ac_ct_OTOOL" >&6; }
7400 else
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7403 fi
7404
7405 if test "x$ac_ct_OTOOL" = x; then
7406 OTOOL=":"
7407 else
7408 case $cross_compiling:$ac_tool_warned in
7409 yes:)
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7412 ac_tool_warned=yes ;;
7413 esac
7414 OTOOL=$ac_ct_OTOOL
7415 fi
7416 else
7417 OTOOL="$ac_cv_prog_OTOOL"
7418 fi
7419
7420 if test -n "$ac_tool_prefix"; then
7421 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7422 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if ${ac_cv_prog_OTOOL64+:} false; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 if test -n "$OTOOL64"; then
7429 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7430 else
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 for as_dir in $PATH
7433 do
7434 IFS=$as_save_IFS
7435 test -z "$as_dir" && as_dir=.
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7438 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 break 2
7441 fi
7442 done
7443 done
7444 IFS=$as_save_IFS
7445
7446 fi
7447 fi
7448 OTOOL64=$ac_cv_prog_OTOOL64
7449 if test -n "$OTOOL64"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7451 $as_echo "$OTOOL64" >&6; }
7452 else
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7455 fi
7456
7457
7458 fi
7459 if test -z "$ac_cv_prog_OTOOL64"; then
7460 ac_ct_OTOOL64=$OTOOL64
7461 # Extract the first word of "otool64", so it can be a program name with args.
7462 set dummy otool64; ac_word=$2
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464 $as_echo_n "checking for $ac_word... " >&6; }
7465 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7466 $as_echo_n "(cached) " >&6
7467 else
7468 if test -n "$ac_ct_OTOOL64"; then
7469 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7470 else
7471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472 for as_dir in $PATH
7473 do
7474 IFS=$as_save_IFS
7475 test -z "$as_dir" && as_dir=.
7476 for ac_exec_ext in '' $ac_executable_extensions; do
7477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7478 ac_cv_prog_ac_ct_OTOOL64="otool64"
7479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480 break 2
7481 fi
7482 done
7483 done
7484 IFS=$as_save_IFS
7485
7486 fi
7487 fi
7488 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7489 if test -n "$ac_ct_OTOOL64"; then
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7491 $as_echo "$ac_ct_OTOOL64" >&6; }
7492 else
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494 $as_echo "no" >&6; }
7495 fi
7496
7497 if test "x$ac_ct_OTOOL64" = x; then
7498 OTOOL64=":"
7499 else
7500 case $cross_compiling:$ac_tool_warned in
7501 yes:)
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7504 ac_tool_warned=yes ;;
7505 esac
7506 OTOOL64=$ac_ct_OTOOL64
7507 fi
7508 else
7509 OTOOL64="$ac_cv_prog_OTOOL64"
7510 fi
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7539 $as_echo_n "checking for -single_module linker flag... " >&6; }
7540 if ${lt_cv_apple_cc_single_mod+:} false; then :
7541 $as_echo_n "(cached) " >&6
7542 else
7543 lt_cv_apple_cc_single_mod=no
7544 if test -z "${LT_MULTI_MODULE}"; then
7545 # By default we will add the -single_module flag. You can override
7546 # by either setting the environment variable LT_MULTI_MODULE
7547 # non-empty at configure time, or by adding -multi_module to the
7548 # link flags.
7549 rm -rf libconftest.dylib*
7550 echo "int foo(void){return 1;}" > conftest.c
7551 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7552 -dynamiclib -Wl,-single_module conftest.c" >&5
7553 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7554 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7555 _lt_result=$?
7556 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7557 lt_cv_apple_cc_single_mod=yes
7558 else
7559 cat conftest.err >&5
7560 fi
7561 rm -rf libconftest.dylib*
7562 rm -f conftest.*
7563 fi
7564 fi
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7566 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7568 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7569 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7570 $as_echo_n "(cached) " >&6
7571 else
7572 lt_cv_ld_exported_symbols_list=no
7573 save_LDFLAGS=$LDFLAGS
7574 echo "_main" > conftest.sym
7575 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h. */
7578
7579 int
7580 main ()
7581 {
7582
7583 ;
7584 return 0;
7585 }
7586 _ACEOF
7587 if ac_fn_c_try_link "$LINENO"; then :
7588 lt_cv_ld_exported_symbols_list=yes
7589 else
7590 lt_cv_ld_exported_symbols_list=no
7591 fi
7592 rm -f core conftest.err conftest.$ac_objext \
7593 conftest$ac_exeext conftest.$ac_ext
7594 LDFLAGS="$save_LDFLAGS"
7595
7596 fi
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7598 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7600 $as_echo_n "checking for -force_load linker flag... " >&6; }
7601 if ${lt_cv_ld_force_load+:} false; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 lt_cv_ld_force_load=no
7605 cat > conftest.c << _LT_EOF
7606 int forced_loaded() { return 2;}
7607 _LT_EOF
7608 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7609 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7610 echo "$AR cru libconftest.a conftest.o" >&5
7611 $AR cru libconftest.a conftest.o 2>&5
7612 echo "$RANLIB libconftest.a" >&5
7613 $RANLIB libconftest.a 2>&5
7614 cat > conftest.c << _LT_EOF
7615 int main() { return 0;}
7616 _LT_EOF
7617 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7618 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7619 _lt_result=$?
7620 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7621 lt_cv_ld_force_load=yes
7622 else
7623 cat conftest.err >&5
7624 fi
7625 rm -f conftest.err libconftest.a conftest conftest.c
7626 rm -rf conftest.dSYM
7627
7628 fi
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7630 $as_echo "$lt_cv_ld_force_load" >&6; }
7631 case $host_os in
7632 rhapsody* | darwin1.[012])
7633 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7634 darwin1.*)
7635 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7636 darwin*) # darwin 5.x on
7637 # if running on 10.5 or later, the deployment target defaults
7638 # to the OS version, if on x86, and 10.4, the deployment
7639 # target defaults to 10.4. Don't you love it?
7640 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7641 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7642 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7643 10.[012]*)
7644 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7645 10.*)
7646 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7647 esac
7648 ;;
7649 esac
7650 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7651 _lt_dar_single_mod='$single_module'
7652 fi
7653 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7654 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7655 else
7656 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7657 fi
7658 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7659 _lt_dsymutil='~$DSYMUTIL $lib || :'
7660 else
7661 _lt_dsymutil=
7662 fi
7663 ;;
7664 esac
7665
7666 ac_ext=c
7667 ac_cpp='$CPP $CPPFLAGS'
7668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7672 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7673 # On Suns, sometimes $CPP names a directory.
7674 if test -n "$CPP" && test -d "$CPP"; then
7675 CPP=
7676 fi
7677 if test -z "$CPP"; then
7678 if ${ac_cv_prog_CPP+:} false; then :
7679 $as_echo_n "(cached) " >&6
7680 else
7681 # Double quotes because CPP needs to be expanded
7682 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7683 do
7684 ac_preproc_ok=false
7685 for ac_c_preproc_warn_flag in '' yes
7686 do
7687 # Use a header file that comes with gcc, so configuring glibc
7688 # with a fresh cross-compiler works.
7689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7690 # <limits.h> exists even on freestanding compilers.
7691 # On the NeXT, cc -E runs the code through the compiler's parser,
7692 # not just through cpp. "Syntax error" is here to catch this case.
7693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7694 /* end confdefs.h. */
7695 #ifdef __STDC__
7696 # include <limits.h>
7697 #else
7698 # include <assert.h>
7699 #endif
7700 Syntax error
7701 _ACEOF
7702 if ac_fn_c_try_cpp "$LINENO"; then :
7703
7704 else
7705 # Broken: fails on valid input.
7706 continue
7707 fi
7708 rm -f conftest.err conftest.i conftest.$ac_ext
7709
7710 # OK, works on sane cases. Now check whether nonexistent headers
7711 # can be detected and how.
7712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7713 /* end confdefs.h. */
7714 #include <ac_nonexistent.h>
7715 _ACEOF
7716 if ac_fn_c_try_cpp "$LINENO"; then :
7717 # Broken: success on invalid input.
7718 continue
7719 else
7720 # Passes both tests.
7721 ac_preproc_ok=:
7722 break
7723 fi
7724 rm -f conftest.err conftest.i conftest.$ac_ext
7725
7726 done
7727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7728 rm -f conftest.i conftest.err conftest.$ac_ext
7729 if $ac_preproc_ok; then :
7730 break
7731 fi
7732
7733 done
7734 ac_cv_prog_CPP=$CPP
7735
7736 fi
7737 CPP=$ac_cv_prog_CPP
7738 else
7739 ac_cv_prog_CPP=$CPP
7740 fi
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7742 $as_echo "$CPP" >&6; }
7743 ac_preproc_ok=false
7744 for ac_c_preproc_warn_flag in '' yes
7745 do
7746 # Use a header file that comes with gcc, so configuring glibc
7747 # with a fresh cross-compiler works.
7748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7749 # <limits.h> exists even on freestanding compilers.
7750 # On the NeXT, cc -E runs the code through the compiler's parser,
7751 # not just through cpp. "Syntax error" is here to catch this case.
7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7754 #ifdef __STDC__
7755 # include <limits.h>
7756 #else
7757 # include <assert.h>
7758 #endif
7759 Syntax error
7760 _ACEOF
7761 if ac_fn_c_try_cpp "$LINENO"; then :
7762
7763 else
7764 # Broken: fails on valid input.
7765 continue
7766 fi
7767 rm -f conftest.err conftest.i conftest.$ac_ext
7768
7769 # OK, works on sane cases. Now check whether nonexistent headers
7770 # can be detected and how.
7771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h. */
7773 #include <ac_nonexistent.h>
7774 _ACEOF
7775 if ac_fn_c_try_cpp "$LINENO"; then :
7776 # Broken: success on invalid input.
7777 continue
7778 else
7779 # Passes both tests.
7780 ac_preproc_ok=:
7781 break
7782 fi
7783 rm -f conftest.err conftest.i conftest.$ac_ext
7784
7785 done
7786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7787 rm -f conftest.i conftest.err conftest.$ac_ext
7788 if $ac_preproc_ok; then :
7789
7790 else
7791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7793 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7794 See \`config.log' for more details" "$LINENO" 5; }
7795 fi
7796
7797 ac_ext=c
7798 ac_cpp='$CPP $CPPFLAGS'
7799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7802
7803
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7805 $as_echo_n "checking for ANSI C header files... " >&6; }
7806 if ${ac_cv_header_stdc+:} false; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7811 #include <stdlib.h>
7812 #include <stdarg.h>
7813 #include <string.h>
7814 #include <float.h>
7815
7816 int
7817 main ()
7818 {
7819
7820 ;
7821 return 0;
7822 }
7823 _ACEOF
7824 if ac_fn_c_try_compile "$LINENO"; then :
7825 ac_cv_header_stdc=yes
7826 else
7827 ac_cv_header_stdc=no
7828 fi
7829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7830
7831 if test $ac_cv_header_stdc = yes; then
7832 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7835 #include <string.h>
7836
7837 _ACEOF
7838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7839 $EGREP "memchr" >/dev/null 2>&1; then :
7840
7841 else
7842 ac_cv_header_stdc=no
7843 fi
7844 rm -f conftest*
7845
7846 fi
7847
7848 if test $ac_cv_header_stdc = yes; then
7849 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <stdlib.h>
7853
7854 _ACEOF
7855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7856 $EGREP "free" >/dev/null 2>&1; then :
7857
7858 else
7859 ac_cv_header_stdc=no
7860 fi
7861 rm -f conftest*
7862
7863 fi
7864
7865 if test $ac_cv_header_stdc = yes; then
7866 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7867 if test "$cross_compiling" = yes; then :
7868 :
7869 else
7870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7872 #include <ctype.h>
7873 #include <stdlib.h>
7874 #if ((' ' & 0x0FF) == 0x020)
7875 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7876 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7877 #else
7878 # define ISLOWER(c) \
7879 (('a' <= (c) && (c) <= 'i') \
7880 || ('j' <= (c) && (c) <= 'r') \
7881 || ('s' <= (c) && (c) <= 'z'))
7882 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7883 #endif
7884
7885 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7886 int
7887 main ()
7888 {
7889 int i;
7890 for (i = 0; i < 256; i++)
7891 if (XOR (islower (i), ISLOWER (i))
7892 || toupper (i) != TOUPPER (i))
7893 return 2;
7894 return 0;
7895 }
7896 _ACEOF
7897 if ac_fn_c_try_run "$LINENO"; then :
7898
7899 else
7900 ac_cv_header_stdc=no
7901 fi
7902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7903 conftest.$ac_objext conftest.beam conftest.$ac_ext
7904 fi
7905
7906 fi
7907 fi
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7909 $as_echo "$ac_cv_header_stdc" >&6; }
7910 if test $ac_cv_header_stdc = yes; then
7911
7912 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7913
7914 fi
7915
7916 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7917 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7918 inttypes.h stdint.h unistd.h
7919 do :
7920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7921 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7922 "
7923 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7924 cat >>confdefs.h <<_ACEOF
7925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7926 _ACEOF
7927
7928 fi
7929
7930 done
7931
7932
7933 for ac_header in dlfcn.h
7934 do :
7935 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7936 "
7937 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7938 cat >>confdefs.h <<_ACEOF
7939 #define HAVE_DLFCN_H 1
7940 _ACEOF
7941
7942 fi
7943
7944 done
7945
7946
7947
7948
7949 func_stripname_cnf ()
7950 {
7951 case ${2} in
7952 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7953 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7954 esac
7955 } # func_stripname_cnf
7956
7957
7958
7959
7960
7961 # Set options
7962
7963
7964
7965 enable_dlopen=no
7966
7967
7968 enable_win32_dll=no
7969
7970
7971
7972
7973
7974 # Check whether --with-pic was given.
7975 if test "${with_pic+set}" = set; then :
7976 withval=$with_pic; pic_mode="$withval"
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 test -z "$LN_S" && LN_S="ln -s"
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069 if test -n "${ZSH_VERSION+set}" ; then
8070 setopt NO_GLOB_SUBST
8071 fi
8072
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8074 $as_echo_n "checking for objdir... " >&6; }
8075 if ${lt_cv_objdir+:} false; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 rm -f .libs 2>/dev/null
8079 mkdir .libs 2>/dev/null
8080 if test -d .libs; then
8081 lt_cv_objdir=.libs
8082 else
8083 # MS-DOS does not allow filenames that begin with a dot.
8084 lt_cv_objdir=_libs
8085 fi
8086 rmdir .libs 2>/dev/null
8087 fi
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8089 $as_echo "$lt_cv_objdir" >&6; }
8090 objdir=$lt_cv_objdir
8091
8092
8093
8094
8095
8096 cat >>confdefs.h <<_ACEOF
8097 #define LT_OBJDIR "$lt_cv_objdir/"
8098 _ACEOF
8099
8100
8101
8102
8103 case $host_os in
8104 aix3*)
8105 # AIX sometimes has problems with the GCC collect2 program. For some
8106 # reason, if we set the COLLECT_NAMES environment variable, the problems
8107 # vanish in a puff of smoke.
8108 if test "X${COLLECT_NAMES+set}" != Xset; then
8109 COLLECT_NAMES=
8110 export COLLECT_NAMES
8111 fi
8112 ;;
8113 esac
8114
8115 # Global variables:
8116 ofile=libtool
8117 can_build_shared=yes
8118
8119 # All known linkers require a `.a' archive for static linking (except MSVC,
8120 # which needs '.lib').
8121 libext=a
8122
8123 with_gnu_ld="$lt_cv_prog_gnu_ld"
8124
8125 old_CC="$CC"
8126 old_CFLAGS="$CFLAGS"
8127
8128 # Set sane defaults for various variables
8129 test -z "$CC" && CC=cc
8130 test -z "$LTCC" && LTCC=$CC
8131 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8132 test -z "$LD" && LD=ld
8133 test -z "$ac_objext" && ac_objext=o
8134
8135 for cc_temp in $compiler""; do
8136 case $cc_temp in
8137 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8138 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8139 \-*) ;;
8140 *) break;;
8141 esac
8142 done
8143 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8144
8145
8146 # Only perform the check for file, if the check method requires it
8147 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8148 case $deplibs_check_method in
8149 file_magic*)
8150 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8152 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8153 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8154 $as_echo_n "(cached) " >&6
8155 else
8156 case $MAGIC_CMD in
8157 [\\/*] | ?:[\\/]*)
8158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8159 ;;
8160 *)
8161 lt_save_MAGIC_CMD="$MAGIC_CMD"
8162 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8163 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8164 for ac_dir in $ac_dummy; do
8165 IFS="$lt_save_ifs"
8166 test -z "$ac_dir" && ac_dir=.
8167 if test -f $ac_dir/${ac_tool_prefix}file; then
8168 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8169 if test -n "$file_magic_test_file"; then
8170 case $deplibs_check_method in
8171 "file_magic "*)
8172 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8174 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8175 $EGREP "$file_magic_regex" > /dev/null; then
8176 :
8177 else
8178 cat <<_LT_EOF 1>&2
8179
8180 *** Warning: the command libtool uses to detect shared libraries,
8181 *** $file_magic_cmd, produces output that libtool cannot recognize.
8182 *** The result is that libtool may fail to recognize shared libraries
8183 *** as such. This will affect the creation of libtool libraries that
8184 *** depend on shared libraries, but programs linked with such libtool
8185 *** libraries will work regardless of this problem. Nevertheless, you
8186 *** may want to report the problem to your system manager and/or to
8187 *** [email protected]
8188
8189 _LT_EOF
8190 fi ;;
8191 esac
8192 fi
8193 break
8194 fi
8195 done
8196 IFS="$lt_save_ifs"
8197 MAGIC_CMD="$lt_save_MAGIC_CMD"
8198 ;;
8199 esac
8200 fi
8201
8202 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8203 if test -n "$MAGIC_CMD"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8205 $as_echo "$MAGIC_CMD" >&6; }
8206 else
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8209 fi
8210
8211
8212
8213
8214
8215 if test -z "$lt_cv_path_MAGIC_CMD"; then
8216 if test -n "$ac_tool_prefix"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8218 $as_echo_n "checking for file... " >&6; }
8219 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 case $MAGIC_CMD in
8223 [\\/*] | ?:[\\/]*)
8224 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8225 ;;
8226 *)
8227 lt_save_MAGIC_CMD="$MAGIC_CMD"
8228 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8229 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8230 for ac_dir in $ac_dummy; do
8231 IFS="$lt_save_ifs"
8232 test -z "$ac_dir" && ac_dir=.
8233 if test -f $ac_dir/file; then
8234 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8235 if test -n "$file_magic_test_file"; then
8236 case $deplibs_check_method in
8237 "file_magic "*)
8238 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8239 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8240 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8241 $EGREP "$file_magic_regex" > /dev/null; then
8242 :
8243 else
8244 cat <<_LT_EOF 1>&2
8245
8246 *** Warning: the command libtool uses to detect shared libraries,
8247 *** $file_magic_cmd, produces output that libtool cannot recognize.
8248 *** The result is that libtool may fail to recognize shared libraries
8249 *** as such. This will affect the creation of libtool libraries that
8250 *** depend on shared libraries, but programs linked with such libtool
8251 *** libraries will work regardless of this problem. Nevertheless, you
8252 *** may want to report the problem to your system manager and/or to
8253 *** [email protected]
8254
8255 _LT_EOF
8256 fi ;;
8257 esac
8258 fi
8259 break
8260 fi
8261 done
8262 IFS="$lt_save_ifs"
8263 MAGIC_CMD="$lt_save_MAGIC_CMD"
8264 ;;
8265 esac
8266 fi
8267
8268 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8269 if test -n "$MAGIC_CMD"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8271 $as_echo "$MAGIC_CMD" >&6; }
8272 else
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8275 fi
8276
8277
8278 else
8279 MAGIC_CMD=:
8280 fi
8281 fi
8282
8283 fi
8284 ;;
8285 esac
8286
8287 # Use C for the default configuration in the libtool script
8288
8289 lt_save_CC="$CC"
8290 ac_ext=c
8291 ac_cpp='$CPP $CPPFLAGS'
8292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8295
8296
8297 # Source file extension for C test sources.
8298 ac_ext=c
8299
8300 # Object file extension for compiled C test sources.
8301 objext=o
8302 objext=$objext
8303
8304 # Code to be used in simple compile tests
8305 lt_simple_compile_test_code="int some_variable = 0;"
8306
8307 # Code to be used in simple link tests
8308 lt_simple_link_test_code='int main(){return(0);}'
8309
8310
8311
8312
8313
8314
8315
8316 # If no C compiler was specified, use CC.
8317 LTCC=${LTCC-"$CC"}
8318
8319 # If no C compiler flags were specified, use CFLAGS.
8320 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8321
8322 # Allow CC to be a program name with arguments.
8323 compiler=$CC
8324
8325 # Save the default compiler, since it gets overwritten when the other
8326 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8327 compiler_DEFAULT=$CC
8328
8329 # save warnings/boilerplate of simple test code
8330 ac_outfile=conftest.$ac_objext
8331 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8332 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8333 _lt_compiler_boilerplate=`cat conftest.err`
8334 $RM conftest*
8335
8336 ac_outfile=conftest.$ac_objext
8337 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8338 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8339 _lt_linker_boilerplate=`cat conftest.err`
8340 $RM -r conftest*
8341
8342
8343 if test -n "$compiler"; then
8344
8345 lt_prog_compiler_no_builtin_flag=
8346
8347 if test "$GCC" = yes; then
8348 case $cc_basename in
8349 nvcc*)
8350 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8351 *)
8352 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8353 esac
8354
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8356 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8357 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 lt_cv_prog_compiler_rtti_exceptions=no
8361 ac_outfile=conftest.$ac_objext
8362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8363 lt_compiler_flag="-fno-rtti -fno-exceptions"
8364 # Insert the option either (1) after the last *FLAGS variable, or
8365 # (2) before a word containing "conftest.", or (3) at the end.
8366 # Note that $ac_compile itself does not contain backslashes and begins
8367 # with a dollar sign (not a hyphen), so the echo should work correctly.
8368 # The option is referenced via a variable to avoid confusing sed.
8369 lt_compile=`echo "$ac_compile" | $SED \
8370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8372 -e 's:$: $lt_compiler_flag:'`
8373 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8374 (eval "$lt_compile" 2>conftest.err)
8375 ac_status=$?
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 if (exit $ac_status) && test -s "$ac_outfile"; then
8379 # The compiler can only warn and ignore the option if not recognized
8380 # So say no if there are warnings other than the usual output.
8381 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8382 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8383 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8384 lt_cv_prog_compiler_rtti_exceptions=yes
8385 fi
8386 fi
8387 $RM conftest*
8388
8389 fi
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8391 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8392
8393 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8394 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8395 else
8396 :
8397 fi
8398
8399 fi
8400
8401
8402
8403
8404
8405
8406 lt_prog_compiler_wl=
8407 lt_prog_compiler_pic=
8408 lt_prog_compiler_static=
8409
8410
8411 if test "$GCC" = yes; then
8412 lt_prog_compiler_wl='-Wl,'
8413 lt_prog_compiler_static='-static'
8414
8415 case $host_os in
8416 aix*)
8417 # All AIX code is PIC.
8418 if test "$host_cpu" = ia64; then
8419 # AIX 5 now supports IA64 processor
8420 lt_prog_compiler_static='-Bstatic'
8421 fi
8422 ;;
8423
8424 amigaos*)
8425 case $host_cpu in
8426 powerpc)
8427 # see comment about AmigaOS4 .so support
8428 lt_prog_compiler_pic='-fPIC'
8429 ;;
8430 m68k)
8431 # FIXME: we need at least 68020 code to build shared libraries, but
8432 # adding the `-m68020' flag to GCC prevents building anything better,
8433 # like `-m68040'.
8434 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8435 ;;
8436 esac
8437 ;;
8438
8439 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8440 # PIC is the default for these OSes.
8441 ;;
8442
8443 mingw* | cygwin* | pw32* | os2* | cegcc*)
8444 # This hack is so that the source file can tell whether it is being
8445 # built for inclusion in a dll (and should export symbols for example).
8446 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8447 # (--disable-auto-import) libraries
8448 lt_prog_compiler_pic='-DDLL_EXPORT'
8449 ;;
8450
8451 darwin* | rhapsody*)
8452 # PIC is the default on this platform
8453 # Common symbols not allowed in MH_DYLIB files
8454 lt_prog_compiler_pic='-fno-common'
8455 ;;
8456
8457 haiku*)
8458 # PIC is the default for Haiku.
8459 # The "-static" flag exists, but is broken.
8460 lt_prog_compiler_static=
8461 ;;
8462
8463 hpux*)
8464 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8465 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8466 # sets the default TLS model and affects inlining.
8467 case $host_cpu in
8468 hppa*64*)
8469 # +Z the default
8470 ;;
8471 *)
8472 lt_prog_compiler_pic='-fPIC'
8473 ;;
8474 esac
8475 ;;
8476
8477 interix[3-9]*)
8478 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8479 # Instead, we relocate shared libraries at runtime.
8480 ;;
8481
8482 msdosdjgpp*)
8483 # Just because we use GCC doesn't mean we suddenly get shared libraries
8484 # on systems that don't support them.
8485 lt_prog_compiler_can_build_shared=no
8486 enable_shared=no
8487 ;;
8488
8489 *nto* | *qnx*)
8490 # QNX uses GNU C++, but need to define -shared option too, otherwise
8491 # it will coredump.
8492 lt_prog_compiler_pic='-fPIC -shared'
8493 ;;
8494
8495 sysv4*MP*)
8496 if test -d /usr/nec; then
8497 lt_prog_compiler_pic=-Kconform_pic
8498 fi
8499 ;;
8500
8501 *)
8502 lt_prog_compiler_pic='-fPIC'
8503 ;;
8504 esac
8505
8506 case $cc_basename in
8507 nvcc*) # Cuda Compiler Driver 2.2
8508 lt_prog_compiler_wl='-Xlinker '
8509 lt_prog_compiler_pic='-Xcompiler -fPIC'
8510 ;;
8511 esac
8512 else
8513 # PORTME Check for flag to pass linker flags through the system compiler.
8514 case $host_os in
8515 aix*)
8516 lt_prog_compiler_wl='-Wl,'
8517 if test "$host_cpu" = ia64; then
8518 # AIX 5 now supports IA64 processor
8519 lt_prog_compiler_static='-Bstatic'
8520 else
8521 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8522 fi
8523 ;;
8524
8525 mingw* | cygwin* | pw32* | os2* | cegcc*)
8526 # This hack is so that the source file can tell whether it is being
8527 # built for inclusion in a dll (and should export symbols for example).
8528 lt_prog_compiler_pic='-DDLL_EXPORT'
8529 ;;
8530
8531 hpux9* | hpux10* | hpux11*)
8532 lt_prog_compiler_wl='-Wl,'
8533 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8534 # not for PA HP-UX.
8535 case $host_cpu in
8536 hppa*64*|ia64*)
8537 # +Z the default
8538 ;;
8539 *)
8540 lt_prog_compiler_pic='+Z'
8541 ;;
8542 esac
8543 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8544 lt_prog_compiler_static='${wl}-a ${wl}archive'
8545 ;;
8546
8547 irix5* | irix6* | nonstopux*)
8548 lt_prog_compiler_wl='-Wl,'
8549 # PIC (with -KPIC) is the default.
8550 lt_prog_compiler_static='-non_shared'
8551 ;;
8552
8553 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8554 case $cc_basename in
8555 # old Intel for x86_64 which still supported -KPIC.
8556 ecc*)
8557 lt_prog_compiler_wl='-Wl,'
8558 lt_prog_compiler_pic='-KPIC'
8559 lt_prog_compiler_static='-static'
8560 ;;
8561 # icc used to be incompatible with GCC.
8562 # ICC 10 doesn't accept -KPIC any more.
8563 icc* | ifort*)
8564 lt_prog_compiler_wl='-Wl,'
8565 lt_prog_compiler_pic='-fPIC'
8566 lt_prog_compiler_static='-static'
8567 ;;
8568 # Lahey Fortran 8.1.
8569 lf95*)
8570 lt_prog_compiler_wl='-Wl,'
8571 lt_prog_compiler_pic='--shared'
8572 lt_prog_compiler_static='--static'
8573 ;;
8574 nagfor*)
8575 # NAG Fortran compiler
8576 lt_prog_compiler_wl='-Wl,-Wl,,'
8577 lt_prog_compiler_pic='-PIC'
8578 lt_prog_compiler_static='-Bstatic'
8579 ;;
8580 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8581 # Portland Group compilers (*not* the Pentium gcc compiler,
8582 # which looks to be a dead project)
8583 lt_prog_compiler_wl='-Wl,'
8584 lt_prog_compiler_pic='-fpic'
8585 lt_prog_compiler_static='-Bstatic'
8586 ;;
8587 ccc*)
8588 lt_prog_compiler_wl='-Wl,'
8589 # All Alpha code is PIC.
8590 lt_prog_compiler_static='-non_shared'
8591 ;;
8592 xl* | bgxl* | bgf* | mpixl*)
8593 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8594 lt_prog_compiler_wl='-Wl,'
8595 lt_prog_compiler_pic='-qpic'
8596 lt_prog_compiler_static='-qstaticlink'
8597 ;;
8598 *)
8599 case `$CC -V 2>&1 | sed 5q` in
8600 *Sun\ F* | *Sun*Fortran*)
8601 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8602 lt_prog_compiler_pic='-KPIC'
8603 lt_prog_compiler_static='-Bstatic'
8604 lt_prog_compiler_wl=''
8605 ;;
8606 *Sun\ C*)
8607 # Sun C 5.9
8608 lt_prog_compiler_pic='-KPIC'
8609 lt_prog_compiler_static='-Bstatic'
8610 lt_prog_compiler_wl='-Wl,'
8611 ;;
8612 esac
8613 ;;
8614 esac
8615 ;;
8616
8617 newsos6)
8618 lt_prog_compiler_pic='-KPIC'
8619 lt_prog_compiler_static='-Bstatic'
8620 ;;
8621
8622 *nto* | *qnx*)
8623 # QNX uses GNU C++, but need to define -shared option too, otherwise
8624 # it will coredump.
8625 lt_prog_compiler_pic='-fPIC -shared'
8626 ;;
8627
8628 osf3* | osf4* | osf5*)
8629 lt_prog_compiler_wl='-Wl,'
8630 # All OSF/1 code is PIC.
8631 lt_prog_compiler_static='-non_shared'
8632 ;;
8633
8634 rdos*)
8635 lt_prog_compiler_static='-non_shared'
8636 ;;
8637
8638 solaris*)
8639 lt_prog_compiler_pic='-KPIC'
8640 lt_prog_compiler_static='-Bstatic'
8641 case $cc_basename in
8642 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8643 lt_prog_compiler_wl='-Qoption ld ';;
8644 *)
8645 lt_prog_compiler_wl='-Wl,';;
8646 esac
8647 ;;
8648
8649 sunos4*)
8650 lt_prog_compiler_wl='-Qoption ld '
8651 lt_prog_compiler_pic='-PIC'
8652 lt_prog_compiler_static='-Bstatic'
8653 ;;
8654
8655 sysv4 | sysv4.2uw2* | sysv4.3*)
8656 lt_prog_compiler_wl='-Wl,'
8657 lt_prog_compiler_pic='-KPIC'
8658 lt_prog_compiler_static='-Bstatic'
8659 ;;
8660
8661 sysv4*MP*)
8662 if test -d /usr/nec ;then
8663 lt_prog_compiler_pic='-Kconform_pic'
8664 lt_prog_compiler_static='-Bstatic'
8665 fi
8666 ;;
8667
8668 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-KPIC'
8671 lt_prog_compiler_static='-Bstatic'
8672 ;;
8673
8674 unicos*)
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_can_build_shared=no
8677 ;;
8678
8679 uts4*)
8680 lt_prog_compiler_pic='-pic'
8681 lt_prog_compiler_static='-Bstatic'
8682 ;;
8683
8684 *)
8685 lt_prog_compiler_can_build_shared=no
8686 ;;
8687 esac
8688 fi
8689
8690 case $host_os in
8691 # For platforms which do not support PIC, -DPIC is meaningless:
8692 *djgpp*)
8693 lt_prog_compiler_pic=
8694 ;;
8695 *)
8696 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8697 ;;
8698 esac
8699
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8701 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8702 if ${lt_cv_prog_compiler_pic+:} false; then :
8703 $as_echo_n "(cached) " >&6
8704 else
8705 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8706 fi
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8708 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8709 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8710
8711 #
8712 # Check to make sure the PIC flag actually works.
8713 #
8714 if test -n "$lt_prog_compiler_pic"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8716 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8717 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8718 $as_echo_n "(cached) " >&6
8719 else
8720 lt_cv_prog_compiler_pic_works=no
8721 ac_outfile=conftest.$ac_objext
8722 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8723 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8724 # Insert the option either (1) after the last *FLAGS variable, or
8725 # (2) before a word containing "conftest.", or (3) at the end.
8726 # Note that $ac_compile itself does not contain backslashes and begins
8727 # with a dollar sign (not a hyphen), so the echo should work correctly.
8728 # The option is referenced via a variable to avoid confusing sed.
8729 lt_compile=`echo "$ac_compile" | $SED \
8730 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8731 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8732 -e 's:$: $lt_compiler_flag:'`
8733 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8734 (eval "$lt_compile" 2>conftest.err)
8735 ac_status=$?
8736 cat conftest.err >&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 if (exit $ac_status) && test -s "$ac_outfile"; then
8739 # The compiler can only warn and ignore the option if not recognized
8740 # So say no if there are warnings other than the usual output.
8741 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8742 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8743 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8744 lt_cv_prog_compiler_pic_works=yes
8745 fi
8746 fi
8747 $RM conftest*
8748
8749 fi
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8751 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8752
8753 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8754 case $lt_prog_compiler_pic in
8755 "" | " "*) ;;
8756 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8757 esac
8758 else
8759 lt_prog_compiler_pic=
8760 lt_prog_compiler_can_build_shared=no
8761 fi
8762
8763 fi
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775 #
8776 # Check to make sure the static flag actually works.
8777 #
8778 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8780 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8781 if ${lt_cv_prog_compiler_static_works+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 lt_cv_prog_compiler_static_works=no
8785 save_LDFLAGS="$LDFLAGS"
8786 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8787 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8788 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8789 # The linker can only warn and ignore the option if not recognized
8790 # So say no if there are warnings
8791 if test -s conftest.err; then
8792 # Append any errors to the config.log.
8793 cat conftest.err 1>&5
8794 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8795 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8796 if diff conftest.exp conftest.er2 >/dev/null; then
8797 lt_cv_prog_compiler_static_works=yes
8798 fi
8799 else
8800 lt_cv_prog_compiler_static_works=yes
8801 fi
8802 fi
8803 $RM -r conftest*
8804 LDFLAGS="$save_LDFLAGS"
8805
8806 fi
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8808 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8809
8810 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8811 :
8812 else
8813 lt_prog_compiler_static=
8814 fi
8815
8816
8817
8818
8819
8820
8821
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8823 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8824 if ${lt_cv_prog_compiler_c_o+:} false; then :
8825 $as_echo_n "(cached) " >&6
8826 else
8827 lt_cv_prog_compiler_c_o=no
8828 $RM -r conftest 2>/dev/null
8829 mkdir conftest
8830 cd conftest
8831 mkdir out
8832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833
8834 lt_compiler_flag="-o out/conftest2.$ac_objext"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 lt_compile=`echo "$ac_compile" | $SED \
8840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8842 -e 's:$: $lt_compiler_flag:'`
8843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8844 (eval "$lt_compile" 2>out/conftest.err)
8845 ac_status=$?
8846 cat out/conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8849 then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8853 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8854 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_c_o=yes
8856 fi
8857 fi
8858 chmod u+w . 2>&5
8859 $RM conftest*
8860 # SGI C++ compiler will create directory out/ii_files/ for
8861 # template instantiation
8862 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8863 $RM out/* && rmdir out
8864 cd ..
8865 $RM -r conftest
8866 $RM conftest*
8867
8868 fi
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8870 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8871
8872
8873
8874
8875
8876
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8878 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8879 if ${lt_cv_prog_compiler_c_o+:} false; then :
8880 $as_echo_n "(cached) " >&6
8881 else
8882 lt_cv_prog_compiler_c_o=no
8883 $RM -r conftest 2>/dev/null
8884 mkdir conftest
8885 cd conftest
8886 mkdir out
8887 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8888
8889 lt_compiler_flag="-o out/conftest2.$ac_objext"
8890 # Insert the option either (1) after the last *FLAGS variable, or
8891 # (2) before a word containing "conftest.", or (3) at the end.
8892 # Note that $ac_compile itself does not contain backslashes and begins
8893 # with a dollar sign (not a hyphen), so the echo should work correctly.
8894 lt_compile=`echo "$ac_compile" | $SED \
8895 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8897 -e 's:$: $lt_compiler_flag:'`
8898 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8899 (eval "$lt_compile" 2>out/conftest.err)
8900 ac_status=$?
8901 cat out/conftest.err >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8904 then
8905 # The compiler can only warn and ignore the option if not recognized
8906 # So say no if there are warnings
8907 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8908 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8909 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8910 lt_cv_prog_compiler_c_o=yes
8911 fi
8912 fi
8913 chmod u+w . 2>&5
8914 $RM conftest*
8915 # SGI C++ compiler will create directory out/ii_files/ for
8916 # template instantiation
8917 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8918 $RM out/* && rmdir out
8919 cd ..
8920 $RM -r conftest
8921 $RM conftest*
8922
8923 fi
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8925 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8926
8927
8928
8929
8930 hard_links="nottested"
8931 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8932 # do not overwrite the value of need_locks provided by the user
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8934 $as_echo_n "checking if we can lock with hard links... " >&6; }
8935 hard_links=yes
8936 $RM conftest*
8937 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8938 touch conftest.a
8939 ln conftest.a conftest.b 2>&5 || hard_links=no
8940 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8942 $as_echo "$hard_links" >&6; }
8943 if test "$hard_links" = no; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8945 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8946 need_locks=warn
8947 fi
8948 else
8949 need_locks=no
8950 fi
8951
8952
8953
8954
8955
8956
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8958 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8959
8960 runpath_var=
8961 allow_undefined_flag=
8962 always_export_symbols=no
8963 archive_cmds=
8964 archive_expsym_cmds=
8965 compiler_needs_object=no
8966 enable_shared_with_static_runtimes=no
8967 export_dynamic_flag_spec=
8968 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8969 hardcode_automatic=no
8970 hardcode_direct=no
8971 hardcode_direct_absolute=no
8972 hardcode_libdir_flag_spec=
8973 hardcode_libdir_flag_spec_ld=
8974 hardcode_libdir_separator=
8975 hardcode_minus_L=no
8976 hardcode_shlibpath_var=unsupported
8977 inherit_rpath=no
8978 link_all_deplibs=unknown
8979 module_cmds=
8980 module_expsym_cmds=
8981 old_archive_from_new_cmds=
8982 old_archive_from_expsyms_cmds=
8983 thread_safe_flag_spec=
8984 whole_archive_flag_spec=
8985 # include_expsyms should be a list of space-separated symbols to be *always*
8986 # included in the symbol list
8987 include_expsyms=
8988 # exclude_expsyms can be an extended regexp of symbols to exclude
8989 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8990 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8991 # as well as any symbol that contains `d'.
8992 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8993 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8994 # platforms (ab)use it in PIC code, but their linkers get confused if
8995 # the symbol is explicitly referenced. Since portable code cannot
8996 # rely on this symbol name, it's probably fine to never include it in
8997 # preloaded symbol tables.
8998 # Exclude shared library initialization/finalization symbols.
8999 extract_expsyms_cmds=
9000
9001 case $host_os in
9002 cygwin* | mingw* | pw32* | cegcc*)
9003 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9004 # When not using gcc, we currently assume that we are using
9005 # Microsoft Visual C++.
9006 if test "$GCC" != yes; then
9007 with_gnu_ld=no
9008 fi
9009 ;;
9010 interix*)
9011 # we just hope/assume this is gcc and not c89 (= MSVC++)
9012 with_gnu_ld=yes
9013 ;;
9014 openbsd*)
9015 with_gnu_ld=no
9016 ;;
9017 esac
9018
9019 ld_shlibs=yes
9020
9021 # On some targets, GNU ld is compatible enough with the native linker
9022 # that we're better off using the native interface for both.
9023 lt_use_gnu_ld_interface=no
9024 if test "$with_gnu_ld" = yes; then
9025 case $host_os in
9026 aix*)
9027 # The AIX port of GNU ld has always aspired to compatibility
9028 # with the native linker. However, as the warning in the GNU ld
9029 # block says, versions before 2.19.5* couldn't really create working
9030 # shared libraries, regardless of the interface used.
9031 case `$LD -v 2>&1` in
9032 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9033 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9034 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9035 *)
9036 lt_use_gnu_ld_interface=yes
9037 ;;
9038 esac
9039 ;;
9040 *)
9041 lt_use_gnu_ld_interface=yes
9042 ;;
9043 esac
9044 fi
9045
9046 if test "$lt_use_gnu_ld_interface" = yes; then
9047 # If archive_cmds runs LD, not CC, wlarc should be empty
9048 wlarc='${wl}'
9049
9050 # Set some defaults for GNU ld with shared library support. These
9051 # are reset later if shared libraries are not supported. Putting them
9052 # here allows them to be overridden if necessary.
9053 runpath_var=LD_RUN_PATH
9054 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9055 export_dynamic_flag_spec='${wl}--export-dynamic'
9056 # ancient GNU ld didn't support --whole-archive et. al.
9057 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9058 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9059 else
9060 whole_archive_flag_spec=
9061 fi
9062 supports_anon_versioning=no
9063 case `$LD -v 2>&1` in
9064 *GNU\ gold*) supports_anon_versioning=yes ;;
9065 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9066 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9067 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9068 *\ 2.11.*) ;; # other 2.11 versions
9069 *) supports_anon_versioning=yes ;;
9070 esac
9071
9072 # See if GNU ld supports shared libraries.
9073 case $host_os in
9074 aix[3-9]*)
9075 # On AIX/PPC, the GNU linker is very broken
9076 if test "$host_cpu" != ia64; then
9077 ld_shlibs=no
9078 cat <<_LT_EOF 1>&2
9079
9080 *** Warning: the GNU linker, at least up to release 2.19, is reported
9081 *** to be unable to reliably create shared libraries on AIX.
9082 *** Therefore, libtool is disabling shared libraries support. If you
9083 *** really care for shared libraries, you may want to install binutils
9084 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9085 *** You will then need to restart the configuration process.
9086
9087 _LT_EOF
9088 fi
9089 ;;
9090
9091 amigaos*)
9092 case $host_cpu in
9093 powerpc)
9094 # see comment about AmigaOS4 .so support
9095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9096 archive_expsym_cmds=''
9097 ;;
9098 m68k)
9099 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)'
9100 hardcode_libdir_flag_spec='-L$libdir'
9101 hardcode_minus_L=yes
9102 ;;
9103 esac
9104 ;;
9105
9106 beos*)
9107 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9108 allow_undefined_flag=unsupported
9109 # Joseph Beckenbach <[email protected]> says some releases of gcc
9110 # support --undefined. This deserves some investigation. FIXME
9111 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112 else
9113 ld_shlibs=no
9114 fi
9115 ;;
9116
9117 cygwin* | mingw* | pw32* | cegcc*)
9118 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9119 # as there is no search path for DLLs.
9120 hardcode_libdir_flag_spec='-L$libdir'
9121 export_dynamic_flag_spec='${wl}--export-all-symbols'
9122 allow_undefined_flag=unsupported
9123 always_export_symbols=no
9124 enable_shared_with_static_runtimes=yes
9125 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'
9126 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9127
9128 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9129 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9130 # If the export-symbols file already is a .def file (1st line
9131 # is EXPORTS), use it as is; otherwise, prepend...
9132 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9133 cp $export_symbols $output_objdir/$soname.def;
9134 else
9135 echo EXPORTS > $output_objdir/$soname.def;
9136 cat $export_symbols >> $output_objdir/$soname.def;
9137 fi~
9138 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9139 else
9140 ld_shlibs=no
9141 fi
9142 ;;
9143
9144 haiku*)
9145 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146 link_all_deplibs=yes
9147 ;;
9148
9149 interix[3-9]*)
9150 hardcode_direct=no
9151 hardcode_shlibpath_var=no
9152 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9153 export_dynamic_flag_spec='${wl}-E'
9154 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9155 # Instead, shared libraries are loaded at an image base (0x10000000 by
9156 # default) and relocated if they conflict, which is a slow very memory
9157 # consuming and fragmenting process. To avoid this, we pick a random,
9158 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9159 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9160 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9161 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'
9162 ;;
9163
9164 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9165 tmp_diet=no
9166 if test "$host_os" = linux-dietlibc; then
9167 case $cc_basename in
9168 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9169 esac
9170 fi
9171 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9172 && test "$tmp_diet" = no
9173 then
9174 tmp_addflag=' $pic_flag'
9175 tmp_sharedflag='-shared'
9176 case $cc_basename,$host_cpu in
9177 pgcc*) # Portland Group C compiler
9178 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'
9179 tmp_addflag=' $pic_flag'
9180 ;;
9181 pgf77* | pgf90* | pgf95* | pgfortran*)
9182 # Portland Group f77 and f90 compilers
9183 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'
9184 tmp_addflag=' $pic_flag -Mnomain' ;;
9185 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9186 tmp_addflag=' -i_dynamic' ;;
9187 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9188 tmp_addflag=' -i_dynamic -nofor_main' ;;
9189 ifc* | ifort*) # Intel Fortran compiler
9190 tmp_addflag=' -nofor_main' ;;
9191 lf95*) # Lahey Fortran 8.1
9192 whole_archive_flag_spec=
9193 tmp_sharedflag='--shared' ;;
9194 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9195 tmp_sharedflag='-qmkshrobj'
9196 tmp_addflag= ;;
9197 nvcc*) # Cuda Compiler Driver 2.2
9198 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'
9199 compiler_needs_object=yes
9200 ;;
9201 esac
9202 case `$CC -V 2>&1 | sed 5q` in
9203 *Sun\ C*) # Sun C 5.9
9204 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'
9205 compiler_needs_object=yes
9206 tmp_sharedflag='-G' ;;
9207 *Sun\ F*) # Sun Fortran 8.3
9208 tmp_sharedflag='-G' ;;
9209 esac
9210 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9211
9212 if test "x$supports_anon_versioning" = xyes; then
9213 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9214 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9215 echo "local: *; };" >> $output_objdir/$libname.ver~
9216 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9217 fi
9218
9219 case $cc_basename in
9220 xlf* | bgf* | bgxlf* | mpixlf*)
9221 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9222 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9223 hardcode_libdir_flag_spec=
9224 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9225 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9226 if test "x$supports_anon_versioning" = xyes; then
9227 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9228 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9229 echo "local: *; };" >> $output_objdir/$libname.ver~
9230 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9231 fi
9232 ;;
9233 esac
9234 else
9235 ld_shlibs=no
9236 fi
9237 ;;
9238
9239 netbsd*)
9240 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9241 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9242 wlarc=
9243 else
9244 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9245 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9246 fi
9247 ;;
9248
9249 solaris*)
9250 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9251 ld_shlibs=no
9252 cat <<_LT_EOF 1>&2
9253
9254 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9255 *** create shared libraries on Solaris systems. Therefore, libtool
9256 *** is disabling shared libraries support. We urge you to upgrade GNU
9257 *** binutils to release 2.9.1 or newer. Another option is to modify
9258 *** your PATH or compiler configuration so that the native linker is
9259 *** used, and then restart.
9260
9261 _LT_EOF
9262 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9263 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9265 else
9266 ld_shlibs=no
9267 fi
9268 ;;
9269
9270 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9271 case `$LD -v 2>&1` in
9272 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9273 ld_shlibs=no
9274 cat <<_LT_EOF 1>&2
9275
9276 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9277 *** reliably create shared libraries on SCO systems. Therefore, libtool
9278 *** is disabling shared libraries support. We urge you to upgrade GNU
9279 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9280 *** your PATH or compiler configuration so that the native linker is
9281 *** used, and then restart.
9282
9283 _LT_EOF
9284 ;;
9285 *)
9286 # For security reasons, it is highly recommended that you always
9287 # use absolute paths for naming shared libraries, and exclude the
9288 # DT_RUNPATH tag from executables and libraries. But doing so
9289 # requires that you compile everything twice, which is a pain.
9290 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9292 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9293 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9294 else
9295 ld_shlibs=no
9296 fi
9297 ;;
9298 esac
9299 ;;
9300
9301 sunos4*)
9302 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9303 wlarc=
9304 hardcode_direct=yes
9305 hardcode_shlibpath_var=no
9306 ;;
9307
9308 *)
9309 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9310 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9312 else
9313 ld_shlibs=no
9314 fi
9315 ;;
9316 esac
9317
9318 if test "$ld_shlibs" = no; then
9319 runpath_var=
9320 hardcode_libdir_flag_spec=
9321 export_dynamic_flag_spec=
9322 whole_archive_flag_spec=
9323 fi
9324 else
9325 # PORTME fill in a description of your system's linker (not GNU ld)
9326 case $host_os in
9327 aix3*)
9328 allow_undefined_flag=unsupported
9329 always_export_symbols=yes
9330 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'
9331 # Note: this linker hardcodes the directories in LIBPATH if there
9332 # are no directories specified by -L.
9333 hardcode_minus_L=yes
9334 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9335 # Neither direct hardcoding nor static linking is supported with a
9336 # broken collect2.
9337 hardcode_direct=unsupported
9338 fi
9339 ;;
9340
9341 aix[4-9]*)
9342 if test "$host_cpu" = ia64; then
9343 # On IA64, the linker does run time linking by default, so we don't
9344 # have to do anything special.
9345 aix_use_runtimelinking=no
9346 exp_sym_flag='-Bexport'
9347 no_entry_flag=""
9348 else
9349 # If we're using GNU nm, then we don't want the "-C" option.
9350 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9351 # Also, AIX nm treats weak defined symbols like other global
9352 # defined symbols, whereas GNU nm marks them as "W".
9353 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9354 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'
9355 else
9356 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'
9357 fi
9358 aix_use_runtimelinking=no
9359
9360 # Test if we are trying to use run time linking or normal
9361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9362 # need to do runtime linking.
9363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9364 for ld_flag in $LDFLAGS; do
9365 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9366 aix_use_runtimelinking=yes
9367 break
9368 fi
9369 done
9370 ;;
9371 esac
9372
9373 exp_sym_flag='-bexport'
9374 no_entry_flag='-bnoentry'
9375 fi
9376
9377 # When large executables or shared objects are built, AIX ld can
9378 # have problems creating the table of contents. If linking a library
9379 # or program results in "error TOC overflow" add -mminimal-toc to
9380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9382
9383 archive_cmds=''
9384 hardcode_direct=yes
9385 hardcode_direct_absolute=yes
9386 hardcode_libdir_separator=':'
9387 link_all_deplibs=yes
9388 file_list_spec='${wl}-f,'
9389
9390 if test "$GCC" = yes; then
9391 case $host_os in aix4.[012]|aix4.[012].*)
9392 # We only want to do this on AIX 4.2 and lower, the check
9393 # below for broken collect2 doesn't work under 4.3+
9394 collect2name=`${CC} -print-prog-name=collect2`
9395 if test -f "$collect2name" &&
9396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9397 then
9398 # We have reworked collect2
9399 :
9400 else
9401 # We have old collect2
9402 hardcode_direct=unsupported
9403 # It fails to find uninstalled libraries when the uninstalled
9404 # path is not listed in the libpath. Setting hardcode_minus_L
9405 # to unsupported forces relinking
9406 hardcode_minus_L=yes
9407 hardcode_libdir_flag_spec='-L$libdir'
9408 hardcode_libdir_separator=
9409 fi
9410 ;;
9411 esac
9412 shared_flag='-shared'
9413 if test "$aix_use_runtimelinking" = yes; then
9414 shared_flag="$shared_flag "'${wl}-G'
9415 fi
9416 else
9417 # not using gcc
9418 if test "$host_cpu" = ia64; then
9419 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9420 # chokes on -Wl,-G. The following line is correct:
9421 shared_flag='-G'
9422 else
9423 if test "$aix_use_runtimelinking" = yes; then
9424 shared_flag='${wl}-G'
9425 else
9426 shared_flag='${wl}-bM:SRE'
9427 fi
9428 fi
9429 fi
9430
9431 export_dynamic_flag_spec='${wl}-bexpall'
9432 # It seems that -bexpall does not export symbols beginning with
9433 # underscore (_), so it is better to generate a list of symbols to export.
9434 always_export_symbols=yes
9435 if test "$aix_use_runtimelinking" = yes; then
9436 # Warning - without using the other runtime loading flags (-brtl),
9437 # -berok will link without error, but may produce a broken library.
9438 allow_undefined_flag='-berok'
9439 # Determine the default libpath from the value encoded in an
9440 # empty executable.
9441 if test "${lt_cv_aix_libpath+set}" = set; then
9442 aix_libpath=$lt_cv_aix_libpath
9443 else
9444 if ${lt_cv_aix_libpath_+:} false; then :
9445 $as_echo_n "(cached) " >&6
9446 else
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449
9450 int
9451 main ()
9452 {
9453
9454 ;
9455 return 0;
9456 }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459
9460 lt_aix_libpath_sed='
9461 /Import File Strings/,/^$/ {
9462 /^0/ {
9463 s/^0 *\([^ ]*\) *$/\1/
9464 p
9465 }
9466 }'
9467 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9468 # Check for a 64-bit object if we didn't find anything.
9469 if test -z "$lt_cv_aix_libpath_"; then
9470 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9471 fi
9472 fi
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 if test -z "$lt_cv_aix_libpath_"; then
9476 lt_cv_aix_libpath_="/usr/lib:/lib"
9477 fi
9478
9479 fi
9480
9481 aix_libpath=$lt_cv_aix_libpath_
9482 fi
9483
9484 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9485 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"
9486 else
9487 if test "$host_cpu" = ia64; then
9488 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9489 allow_undefined_flag="-z nodefs"
9490 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"
9491 else
9492 # Determine the default libpath from the value encoded in an
9493 # empty executable.
9494 if test "${lt_cv_aix_libpath+set}" = set; then
9495 aix_libpath=$lt_cv_aix_libpath
9496 else
9497 if ${lt_cv_aix_libpath_+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9502
9503 int
9504 main ()
9505 {
9506
9507 ;
9508 return 0;
9509 }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"; then :
9512
9513 lt_aix_libpath_sed='
9514 /Import File Strings/,/^$/ {
9515 /^0/ {
9516 s/^0 *\([^ ]*\) *$/\1/
9517 p
9518 }
9519 }'
9520 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9521 # Check for a 64-bit object if we didn't find anything.
9522 if test -z "$lt_cv_aix_libpath_"; then
9523 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9524 fi
9525 fi
9526 rm -f core conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 if test -z "$lt_cv_aix_libpath_"; then
9529 lt_cv_aix_libpath_="/usr/lib:/lib"
9530 fi
9531
9532 fi
9533
9534 aix_libpath=$lt_cv_aix_libpath_
9535 fi
9536
9537 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9538 # Warning - without using the other run time loading flags,
9539 # -berok will link without error, but may produce a broken library.
9540 no_undefined_flag=' ${wl}-bernotok'
9541 allow_undefined_flag=' ${wl}-berok'
9542 if test "$with_gnu_ld" = yes; then
9543 # We only use this code for GNU lds that support --whole-archive.
9544 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9545 else
9546 # Exported symbols can be pulled into shared objects from archives
9547 whole_archive_flag_spec='$convenience'
9548 fi
9549 archive_cmds_need_lc=yes
9550 # This is similar to how AIX traditionally builds its shared libraries.
9551 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'
9552 fi
9553 fi
9554 ;;
9555
9556 amigaos*)
9557 case $host_cpu in
9558 powerpc)
9559 # see comment about AmigaOS4 .so support
9560 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9561 archive_expsym_cmds=''
9562 ;;
9563 m68k)
9564 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)'
9565 hardcode_libdir_flag_spec='-L$libdir'
9566 hardcode_minus_L=yes
9567 ;;
9568 esac
9569 ;;
9570
9571 bsdi[45]*)
9572 export_dynamic_flag_spec=-rdynamic
9573 ;;
9574
9575 cygwin* | mingw* | pw32* | cegcc*)
9576 # When not using gcc, we currently assume that we are using
9577 # Microsoft Visual C++.
9578 # hardcode_libdir_flag_spec is actually meaningless, as there is
9579 # no search path for DLLs.
9580 case $cc_basename in
9581 cl*)
9582 # Native MSVC
9583 hardcode_libdir_flag_spec=' '
9584 allow_undefined_flag=unsupported
9585 always_export_symbols=yes
9586 file_list_spec='@'
9587 # Tell ltmain to make .lib files, not .a files.
9588 libext=lib
9589 # Tell ltmain to make .dll files, not .so files.
9590 shrext_cmds=".dll"
9591 # FIXME: Setting linknames here is a bad hack.
9592 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9593 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9594 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9595 else
9596 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9597 fi~
9598 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9599 linknames='
9600 # The linker will not automatically build a static lib if we build a DLL.
9601 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9602 enable_shared_with_static_runtimes=yes
9603 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9604 # Don't use ranlib
9605 old_postinstall_cmds='chmod 644 $oldlib'
9606 postlink_cmds='lt_outputfile="@OUTPUT@"~
9607 lt_tool_outputfile="@TOOL_OUTPUT@"~
9608 case $lt_outputfile in
9609 *.exe|*.EXE) ;;
9610 *)
9611 lt_outputfile="$lt_outputfile.exe"
9612 lt_tool_outputfile="$lt_tool_outputfile.exe"
9613 ;;
9614 esac~
9615 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9616 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9617 $RM "$lt_outputfile.manifest";
9618 fi'
9619 ;;
9620 *)
9621 # Assume MSVC wrapper
9622 hardcode_libdir_flag_spec=' '
9623 allow_undefined_flag=unsupported
9624 # Tell ltmain to make .lib files, not .a files.
9625 libext=lib
9626 # Tell ltmain to make .dll files, not .so files.
9627 shrext_cmds=".dll"
9628 # FIXME: Setting linknames here is a bad hack.
9629 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9630 # The linker will automatically build a .lib file if we build a DLL.
9631 old_archive_from_new_cmds='true'
9632 # FIXME: Should let the user specify the lib program.
9633 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9634 enable_shared_with_static_runtimes=yes
9635 ;;
9636 esac
9637 ;;
9638
9639 darwin* | rhapsody*)
9640
9641
9642 archive_cmds_need_lc=no
9643 hardcode_direct=no
9644 hardcode_automatic=yes
9645 hardcode_shlibpath_var=unsupported
9646 if test "$lt_cv_ld_force_load" = "yes"; then
9647 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\"`'
9648 else
9649 whole_archive_flag_spec=''
9650 fi
9651 link_all_deplibs=yes
9652 allow_undefined_flag="$_lt_dar_allow_undefined"
9653 case $cc_basename in
9654 ifort*) _lt_dar_can_shared=yes ;;
9655 *) _lt_dar_can_shared=$GCC ;;
9656 esac
9657 if test "$_lt_dar_can_shared" = "yes"; then
9658 output_verbose_link_cmd=func_echo_all
9659 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9660 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9661 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}"
9662 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}"
9663
9664 else
9665 ld_shlibs=no
9666 fi
9667
9668 ;;
9669
9670 dgux*)
9671 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9672 hardcode_libdir_flag_spec='-L$libdir'
9673 hardcode_shlibpath_var=no
9674 ;;
9675
9676 freebsd1*)
9677 ld_shlibs=no
9678 ;;
9679
9680 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9681 # support. Future versions do this automatically, but an explicit c++rt0.o
9682 # does not break anything, and helps significantly (at the cost of a little
9683 # extra space).
9684 freebsd2.2*)
9685 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9686 hardcode_libdir_flag_spec='-R$libdir'
9687 hardcode_direct=yes
9688 hardcode_shlibpath_var=no
9689 ;;
9690
9691 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9692 freebsd2*)
9693 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9694 hardcode_direct=yes
9695 hardcode_minus_L=yes
9696 hardcode_shlibpath_var=no
9697 ;;
9698
9699 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9700 freebsd* | dragonfly*)
9701 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9702 hardcode_libdir_flag_spec='-R$libdir'
9703 hardcode_direct=yes
9704 hardcode_shlibpath_var=no
9705 ;;
9706
9707 hpux9*)
9708 if test "$GCC" = yes; then
9709 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'
9710 else
9711 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'
9712 fi
9713 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9714 hardcode_libdir_separator=:
9715 hardcode_direct=yes
9716
9717 # hardcode_minus_L: Not really in the search PATH,
9718 # but as the default location of the library.
9719 hardcode_minus_L=yes
9720 export_dynamic_flag_spec='${wl}-E'
9721 ;;
9722
9723 hpux10*)
9724 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9725 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9726 else
9727 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9728 fi
9729 if test "$with_gnu_ld" = no; then
9730 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9731 hardcode_libdir_flag_spec_ld='+b $libdir'
9732 hardcode_libdir_separator=:
9733 hardcode_direct=yes
9734 hardcode_direct_absolute=yes
9735 export_dynamic_flag_spec='${wl}-E'
9736 # hardcode_minus_L: Not really in the search PATH,
9737 # but as the default location of the library.
9738 hardcode_minus_L=yes
9739 fi
9740 ;;
9741
9742 hpux11*)
9743 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9744 case $host_cpu in
9745 hppa*64*)
9746 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9747 ;;
9748 ia64*)
9749 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9750 ;;
9751 *)
9752 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9753 ;;
9754 esac
9755 else
9756 case $host_cpu in
9757 hppa*64*)
9758 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 ;;
9760 ia64*)
9761 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9762 ;;
9763 *)
9764
9765 # Older versions of the 11.00 compiler do not understand -b yet
9766 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9768 $as_echo_n "checking if $CC understands -b... " >&6; }
9769 if ${lt_cv_prog_compiler__b+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 lt_cv_prog_compiler__b=no
9773 save_LDFLAGS="$LDFLAGS"
9774 LDFLAGS="$LDFLAGS -b"
9775 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9776 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9777 # The linker can only warn and ignore the option if not recognized
9778 # So say no if there are warnings
9779 if test -s conftest.err; then
9780 # Append any errors to the config.log.
9781 cat conftest.err 1>&5
9782 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9783 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9784 if diff conftest.exp conftest.er2 >/dev/null; then
9785 lt_cv_prog_compiler__b=yes
9786 fi
9787 else
9788 lt_cv_prog_compiler__b=yes
9789 fi
9790 fi
9791 $RM -r conftest*
9792 LDFLAGS="$save_LDFLAGS"
9793
9794 fi
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9796 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9797
9798 if test x"$lt_cv_prog_compiler__b" = xyes; then
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9800 else
9801 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9802 fi
9803
9804 ;;
9805 esac
9806 fi
9807 if test "$with_gnu_ld" = no; then
9808 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9809 hardcode_libdir_separator=:
9810
9811 case $host_cpu in
9812 hppa*64*|ia64*)
9813 hardcode_direct=no
9814 hardcode_shlibpath_var=no
9815 ;;
9816 *)
9817 hardcode_direct=yes
9818 hardcode_direct_absolute=yes
9819 export_dynamic_flag_spec='${wl}-E'
9820
9821 # hardcode_minus_L: Not really in the search PATH,
9822 # but as the default location of the library.
9823 hardcode_minus_L=yes
9824 ;;
9825 esac
9826 fi
9827 ;;
9828
9829 irix5* | irix6* | nonstopux*)
9830 if test "$GCC" = yes; then
9831 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'
9832 # Try to use the -exported_symbol ld option, if it does not
9833 # work, assume that -exports_file does not work either and
9834 # implicitly export all symbols.
9835 # This should be the same for all languages, so no per-tag cache variable.
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9837 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9838 if ${lt_cv_irix_exported_symbol+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 save_LDFLAGS="$LDFLAGS"
9842 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9845 int foo (void) { return 0; }
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 lt_cv_irix_exported_symbol=yes
9849 else
9850 lt_cv_irix_exported_symbol=no
9851 fi
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LDFLAGS="$save_LDFLAGS"
9855 fi
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9857 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9858 if test "$lt_cv_irix_exported_symbol" = yes; then
9859 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'
9860 fi
9861 else
9862 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'
9863 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'
9864 fi
9865 archive_cmds_need_lc='no'
9866 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9867 hardcode_libdir_separator=:
9868 inherit_rpath=yes
9869 link_all_deplibs=yes
9870 ;;
9871
9872 netbsd*)
9873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9874 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9875 else
9876 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9877 fi
9878 hardcode_libdir_flag_spec='-R$libdir'
9879 hardcode_direct=yes
9880 hardcode_shlibpath_var=no
9881 ;;
9882
9883 newsos6)
9884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_direct=yes
9886 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9887 hardcode_libdir_separator=:
9888 hardcode_shlibpath_var=no
9889 ;;
9890
9891 *nto* | *qnx*)
9892 ;;
9893
9894 openbsd*)
9895 if test -f /usr/libexec/ld.so; then
9896 hardcode_direct=yes
9897 hardcode_shlibpath_var=no
9898 hardcode_direct_absolute=yes
9899 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9900 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9902 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9903 export_dynamic_flag_spec='${wl}-E'
9904 else
9905 case $host_os in
9906 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9907 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9908 hardcode_libdir_flag_spec='-R$libdir'
9909 ;;
9910 *)
9911 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9912 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9913 ;;
9914 esac
9915 fi
9916 else
9917 ld_shlibs=no
9918 fi
9919 ;;
9920
9921 os2*)
9922 hardcode_libdir_flag_spec='-L$libdir'
9923 hardcode_minus_L=yes
9924 allow_undefined_flag=unsupported
9925 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'
9926 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9927 ;;
9928
9929 osf3*)
9930 if test "$GCC" = yes; then
9931 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9932 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'
9933 else
9934 allow_undefined_flag=' -expect_unresolved \*'
9935 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'
9936 fi
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 hardcode_libdir_separator=:
9940 ;;
9941
9942 osf4* | osf5*) # as osf3* with the addition of -msym flag
9943 if test "$GCC" = yes; then
9944 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9945 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'
9946 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947 else
9948 allow_undefined_flag=' -expect_unresolved \*'
9949 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'
9950 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~
9951 $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'
9952
9953 # Both c and cxx compiler support -rpath directly
9954 hardcode_libdir_flag_spec='-rpath $libdir'
9955 fi
9956 archive_cmds_need_lc='no'
9957 hardcode_libdir_separator=:
9958 ;;
9959
9960 solaris*)
9961 no_undefined_flag=' -z defs'
9962 if test "$GCC" = yes; then
9963 wlarc='${wl}'
9964 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9966 $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'
9967 else
9968 case `$CC -V 2>&1` in
9969 *"Compilers 5.0"*)
9970 wlarc=''
9971 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9974 ;;
9975 *)
9976 wlarc='${wl}'
9977 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9979 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9980 ;;
9981 esac
9982 fi
9983 hardcode_libdir_flag_spec='-R$libdir'
9984 hardcode_shlibpath_var=no
9985 case $host_os in
9986 solaris2.[0-5] | solaris2.[0-5].*) ;;
9987 *)
9988 # The compiler driver will combine and reorder linker options,
9989 # but understands `-z linker_flag'. GCC discards it without `$wl',
9990 # but is careful enough not to reorder.
9991 # Supported since Solaris 2.6 (maybe 2.5.1?)
9992 if test "$GCC" = yes; then
9993 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9994 else
9995 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9996 fi
9997 ;;
9998 esac
9999 link_all_deplibs=yes
10000 ;;
10001
10002 sunos4*)
10003 if test "x$host_vendor" = xsequent; then
10004 # Use $CC to link under sequent, because it throws in some extra .o
10005 # files that make .init and .fini sections work.
10006 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10007 else
10008 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10009 fi
10010 hardcode_libdir_flag_spec='-L$libdir'
10011 hardcode_direct=yes
10012 hardcode_minus_L=yes
10013 hardcode_shlibpath_var=no
10014 ;;
10015
10016 sysv4)
10017 case $host_vendor in
10018 sni)
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_direct=yes # is this really true???
10021 ;;
10022 siemens)
10023 ## LD is ld it makes a PLAMLIB
10024 ## CC just makes a GrossModule.
10025 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10026 reload_cmds='$CC -r -o $output$reload_objs'
10027 hardcode_direct=no
10028 ;;
10029 motorola)
10030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10032 ;;
10033 esac
10034 runpath_var='LD_RUN_PATH'
10035 hardcode_shlibpath_var=no
10036 ;;
10037
10038 sysv4.3*)
10039 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10040 hardcode_shlibpath_var=no
10041 export_dynamic_flag_spec='-Bexport'
10042 ;;
10043
10044 sysv4*MP*)
10045 if test -d /usr/nec; then
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_shlibpath_var=no
10048 runpath_var=LD_RUN_PATH
10049 hardcode_runpath_var=yes
10050 ld_shlibs=yes
10051 fi
10052 ;;
10053
10054 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10055 no_undefined_flag='${wl}-z,text'
10056 archive_cmds_need_lc=no
10057 hardcode_shlibpath_var=no
10058 runpath_var='LD_RUN_PATH'
10059
10060 if test "$GCC" = yes; then
10061 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 else
10064 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 fi
10067 ;;
10068
10069 sysv5* | sco3.2v5* | sco5v6*)
10070 # Note: We can NOT use -z defs as we might desire, because we do not
10071 # link with -lc, and that would cause any symbols used from libc to
10072 # always be unresolved, which means just about no library would
10073 # ever link correctly. If we're not using GNU ld we use -z text
10074 # though, which does catch some bad symbols but isn't as heavy-handed
10075 # as -z defs.
10076 no_undefined_flag='${wl}-z,text'
10077 allow_undefined_flag='${wl}-z,nodefs'
10078 archive_cmds_need_lc=no
10079 hardcode_shlibpath_var=no
10080 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10081 hardcode_libdir_separator=':'
10082 link_all_deplibs=yes
10083 export_dynamic_flag_spec='${wl}-Bexport'
10084 runpath_var='LD_RUN_PATH'
10085
10086 if test "$GCC" = yes; then
10087 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 else
10090 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 fi
10093 ;;
10094
10095 uts4*)
10096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10097 hardcode_libdir_flag_spec='-L$libdir'
10098 hardcode_shlibpath_var=no
10099 ;;
10100
10101 *)
10102 ld_shlibs=no
10103 ;;
10104 esac
10105
10106 if test x$host_vendor = xsni; then
10107 case $host in
10108 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10109 export_dynamic_flag_spec='${wl}-Blargedynsym'
10110 ;;
10111 esac
10112 fi
10113 fi
10114
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10116 $as_echo "$ld_shlibs" >&6; }
10117 test "$ld_shlibs" = no && can_build_shared=no
10118
10119 with_gnu_ld=$with_gnu_ld
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135 #
10136 # Do we need to explicitly link libc?
10137 #
10138 case "x$archive_cmds_need_lc" in
10139 x|xyes)
10140 # Assume -lc should be added
10141 archive_cmds_need_lc=yes
10142
10143 if test "$enable_shared" = yes && test "$GCC" = yes; then
10144 case $archive_cmds in
10145 *'~'*)
10146 # FIXME: we may have to deal with multi-command sequences.
10147 ;;
10148 '$CC '*)
10149 # Test whether the compiler implicitly links with -lc since on some
10150 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10151 # to ld, don't add -lc before -lgcc.
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10153 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10154 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 $RM conftest*
10158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10159
10160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10161 (eval $ac_compile) 2>&5
10162 ac_status=$?
10163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10164 test $ac_status = 0; } 2>conftest.err; then
10165 soname=conftest
10166 lib=conftest
10167 libobjs=conftest.$ac_objext
10168 deplibs=
10169 wl=$lt_prog_compiler_wl
10170 pic_flag=$lt_prog_compiler_pic
10171 compiler_flags=-v
10172 linker_flags=-v
10173 verstring=
10174 output_objdir=.
10175 libname=conftest
10176 lt_save_allow_undefined_flag=$allow_undefined_flag
10177 allow_undefined_flag=
10178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10179 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10180 ac_status=$?
10181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10182 test $ac_status = 0; }
10183 then
10184 lt_cv_archive_cmds_need_lc=no
10185 else
10186 lt_cv_archive_cmds_need_lc=yes
10187 fi
10188 allow_undefined_flag=$lt_save_allow_undefined_flag
10189 else
10190 cat conftest.err 1>&5
10191 fi
10192 $RM conftest*
10193
10194 fi
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10196 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10197 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10198 ;;
10199 esac
10200 fi
10201 ;;
10202 esac
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10361 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10362
10363 if test "$GCC" = yes; then
10364 case $host_os in
10365 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10366 *) lt_awk_arg="/^libraries:/" ;;
10367 esac
10368 case $host_os in
10369 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10370 *) lt_sed_strip_eq="s,=/,/,g" ;;
10371 esac
10372 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10373 case $lt_search_path_spec in
10374 *\;*)
10375 # if the path contains ";" then we assume it to be the separator
10376 # otherwise default to the standard path separator (i.e. ":") - it is
10377 # assumed that no part of a normal pathname contains ";" but that should
10378 # okay in the real world where ";" in dirpaths is itself problematic.
10379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10380 ;;
10381 *)
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10383 ;;
10384 esac
10385 # Ok, now we have the path, separated by spaces, we can step through it
10386 # and add multilib dir if necessary.
10387 lt_tmp_lt_search_path_spec=
10388 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10389 for lt_sys_path in $lt_search_path_spec; do
10390 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10391 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10392 else
10393 test -d "$lt_sys_path" && \
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10395 fi
10396 done
10397 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10398 BEGIN {RS=" "; FS="/|\n";} {
10399 lt_foo="";
10400 lt_count=0;
10401 for (lt_i = NF; lt_i > 0; lt_i--) {
10402 if ($lt_i != "" && $lt_i != ".") {
10403 if ($lt_i == "..") {
10404 lt_count++;
10405 } else {
10406 if (lt_count == 0) {
10407 lt_foo="/" $lt_i lt_foo;
10408 } else {
10409 lt_count--;
10410 }
10411 }
10412 }
10413 }
10414 if (lt_foo != "") { lt_freq[lt_foo]++; }
10415 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10416 }'`
10417 # AWK program above erroneously prepends '/' to C:/dos/paths
10418 # for these hosts.
10419 case $host_os in
10420 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10421 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10422 esac
10423 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10424 else
10425 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10426 fi
10427 library_names_spec=
10428 libname_spec='lib$name'
10429 soname_spec=
10430 shrext_cmds=".so"
10431 postinstall_cmds=
10432 postuninstall_cmds=
10433 finish_cmds=
10434 finish_eval=
10435 shlibpath_var=
10436 shlibpath_overrides_runpath=unknown
10437 version_type=none
10438 dynamic_linker="$host_os ld.so"
10439 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10440 need_lib_prefix=unknown
10441 hardcode_into_libs=no
10442
10443 # when you set need_version to no, make sure it does not cause -set_version
10444 # flags to be left without arguments
10445 need_version=unknown
10446
10447 case $host_os in
10448 aix3*)
10449 version_type=linux
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10451 shlibpath_var=LIBPATH
10452
10453 # AIX 3 has no versioning support, so we append a major version to the name.
10454 soname_spec='${libname}${release}${shared_ext}$major'
10455 ;;
10456
10457 aix[4-9]*)
10458 version_type=linux
10459 need_lib_prefix=no
10460 need_version=no
10461 hardcode_into_libs=yes
10462 if test "$host_cpu" = ia64; then
10463 # AIX 5 supports IA64
10464 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10465 shlibpath_var=LD_LIBRARY_PATH
10466 else
10467 # With GCC up to 2.95.x, collect2 would create an import file
10468 # for dependence libraries. The import file would start with
10469 # the line `#! .'. This would cause the generated library to
10470 # depend on `.', always an invalid library. This was fixed in
10471 # development snapshots of GCC prior to 3.0.
10472 case $host_os in
10473 aix4 | aix4.[01] | aix4.[01].*)
10474 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10475 echo ' yes '
10476 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10477 :
10478 else
10479 can_build_shared=no
10480 fi
10481 ;;
10482 esac
10483 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10484 # soname into executable. Probably we can add versioning support to
10485 # collect2, so additional links can be useful in future.
10486 if test "$aix_use_runtimelinking" = yes; then
10487 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10488 # instead of lib<name>.a to let people know that these are not
10489 # typical AIX shared libraries.
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 else
10492 # We preserve .a as extension for shared libraries through AIX4.2
10493 # and later when we are not doing run time linking.
10494 library_names_spec='${libname}${release}.a $libname.a'
10495 soname_spec='${libname}${release}${shared_ext}$major'
10496 fi
10497 shlibpath_var=LIBPATH
10498 fi
10499 ;;
10500
10501 amigaos*)
10502 case $host_cpu in
10503 powerpc)
10504 # Since July 2007 AmigaOS4 officially supports .so libraries.
10505 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 ;;
10508 m68k)
10509 library_names_spec='$libname.ixlibrary $libname.a'
10510 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10511 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'
10512 ;;
10513 esac
10514 ;;
10515
10516 beos*)
10517 library_names_spec='${libname}${shared_ext}'
10518 dynamic_linker="$host_os ld.so"
10519 shlibpath_var=LIBRARY_PATH
10520 ;;
10521
10522 bsdi[45]*)
10523 version_type=linux
10524 need_version=no
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 soname_spec='${libname}${release}${shared_ext}$major'
10527 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10528 shlibpath_var=LD_LIBRARY_PATH
10529 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10530 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10531 # the default ld.so.conf also contains /usr/contrib/lib and
10532 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10533 # libtool to hard-code these into programs
10534 ;;
10535
10536 cygwin* | mingw* | pw32* | cegcc*)
10537 version_type=windows
10538 shrext_cmds=".dll"
10539 need_version=no
10540 need_lib_prefix=no
10541
10542 case $GCC,$cc_basename in
10543 yes,*)
10544 # gcc
10545 library_names_spec='$libname.dll.a'
10546 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10547 postinstall_cmds='base_file=`basename \${file}`~
10548 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10549 dldir=$destdir/`dirname \$dlpath`~
10550 test -d \$dldir || mkdir -p \$dldir~
10551 $install_prog $dir/$dlname \$dldir/$dlname~
10552 chmod a+x \$dldir/$dlname~
10553 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10554 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10555 fi'
10556 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10557 dlpath=$dir/\$dldll~
10558 $RM \$dlpath'
10559 shlibpath_overrides_runpath=yes
10560
10561 case $host_os in
10562 cygwin*)
10563 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10564 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10565
10566 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10567 ;;
10568 mingw* | cegcc*)
10569 # MinGW DLLs use traditional 'lib' prefix
10570 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10571 ;;
10572 pw32*)
10573 # pw32 DLLs use 'pw' prefix rather than 'lib'
10574 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575 ;;
10576 esac
10577 dynamic_linker='Win32 ld.exe'
10578 ;;
10579
10580 *,cl*)
10581 # Native MSVC
10582 libname_spec='$name'
10583 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584 library_names_spec='${libname}.dll.lib'
10585
10586 case $build_os in
10587 mingw*)
10588 sys_lib_search_path_spec=
10589 lt_save_ifs=$IFS
10590 IFS=';'
10591 for lt_path in $LIB
10592 do
10593 IFS=$lt_save_ifs
10594 # Let DOS variable expansion print the short 8.3 style file name.
10595 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10596 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10597 done
10598 IFS=$lt_save_ifs
10599 # Convert to MSYS style.
10600 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10601 ;;
10602 cygwin*)
10603 # Convert to unix form, then to dos form, then back to unix form
10604 # but this time dos style (no spaces!) so that the unix form looks
10605 # like /cygdrive/c/PROGRA~1:/cygdr...
10606 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10607 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10608 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10609 ;;
10610 *)
10611 sys_lib_search_path_spec="$LIB"
10612 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10613 # It is most probably a Windows format PATH.
10614 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10615 else
10616 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10617 fi
10618 # FIXME: find the short name or the path components, as spaces are
10619 # common. (e.g. "Program Files" -> "PROGRA~1")
10620 ;;
10621 esac
10622
10623 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10624 postinstall_cmds='base_file=`basename \${file}`~
10625 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10626 dldir=$destdir/`dirname \$dlpath`~
10627 test -d \$dldir || mkdir -p \$dldir~
10628 $install_prog $dir/$dlname \$dldir/$dlname'
10629 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10630 dlpath=$dir/\$dldll~
10631 $RM \$dlpath'
10632 shlibpath_overrides_runpath=yes
10633 dynamic_linker='Win32 link.exe'
10634 ;;
10635
10636 *)
10637 # Assume MSVC wrapper
10638 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10639 dynamic_linker='Win32 ld.exe'
10640 ;;
10641 esac
10642 # FIXME: first we should search . and the directory the executable is in
10643 shlibpath_var=PATH
10644 ;;
10645
10646 darwin* | rhapsody*)
10647 dynamic_linker="$host_os dyld"
10648 version_type=darwin
10649 need_lib_prefix=no
10650 need_version=no
10651 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10652 soname_spec='${libname}${release}${major}$shared_ext'
10653 shlibpath_overrides_runpath=yes
10654 shlibpath_var=DYLD_LIBRARY_PATH
10655 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10656
10657 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10658 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10659 ;;
10660
10661 dgux*)
10662 version_type=linux
10663 need_lib_prefix=no
10664 need_version=no
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10666 soname_spec='${libname}${release}${shared_ext}$major'
10667 shlibpath_var=LD_LIBRARY_PATH
10668 ;;
10669
10670 freebsd1*)
10671 dynamic_linker=no
10672 ;;
10673
10674 freebsd* | dragonfly*)
10675 # DragonFly does not have aout. When/if they implement a new
10676 # versioning mechanism, adjust this.
10677 if test -x /usr/bin/objformat; then
10678 objformat=`/usr/bin/objformat`
10679 else
10680 case $host_os in
10681 freebsd[123]*) objformat=aout ;;
10682 *) objformat=elf ;;
10683 esac
10684 fi
10685 version_type=freebsd-$objformat
10686 case $version_type in
10687 freebsd-elf*)
10688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10689 need_version=no
10690 need_lib_prefix=no
10691 ;;
10692 freebsd-*)
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10694 need_version=yes
10695 ;;
10696 esac
10697 shlibpath_var=LD_LIBRARY_PATH
10698 case $host_os in
10699 freebsd2*)
10700 shlibpath_overrides_runpath=yes
10701 ;;
10702 freebsd3.[01]* | freebsdelf3.[01]*)
10703 shlibpath_overrides_runpath=yes
10704 hardcode_into_libs=yes
10705 ;;
10706 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10707 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10708 shlibpath_overrides_runpath=no
10709 hardcode_into_libs=yes
10710 ;;
10711 *) # from 4.6 on, and DragonFly
10712 shlibpath_overrides_runpath=yes
10713 hardcode_into_libs=yes
10714 ;;
10715 esac
10716 ;;
10717
10718 gnu*)
10719 version_type=linux
10720 need_lib_prefix=no
10721 need_version=no
10722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10723 soname_spec='${libname}${release}${shared_ext}$major'
10724 shlibpath_var=LD_LIBRARY_PATH
10725 hardcode_into_libs=yes
10726 ;;
10727
10728 haiku*)
10729 version_type=linux
10730 need_lib_prefix=no
10731 need_version=no
10732 dynamic_linker="$host_os runtime_loader"
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 shlibpath_var=LIBRARY_PATH
10736 shlibpath_overrides_runpath=yes
10737 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10738 hardcode_into_libs=yes
10739 ;;
10740
10741 hpux9* | hpux10* | hpux11*)
10742 # Give a soname corresponding to the major version so that dld.sl refuses to
10743 # link against other versions.
10744 version_type=sunos
10745 need_lib_prefix=no
10746 need_version=no
10747 case $host_cpu in
10748 ia64*)
10749 shrext_cmds='.so'
10750 hardcode_into_libs=yes
10751 dynamic_linker="$host_os dld.so"
10752 shlibpath_var=LD_LIBRARY_PATH
10753 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755 soname_spec='${libname}${release}${shared_ext}$major'
10756 if test "X$HPUX_IA64_MODE" = X32; then
10757 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10758 else
10759 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10760 fi
10761 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10762 ;;
10763 hppa*64*)
10764 shrext_cmds='.sl'
10765 hardcode_into_libs=yes
10766 dynamic_linker="$host_os dld.sl"
10767 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10768 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 soname_spec='${libname}${release}${shared_ext}$major'
10771 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10772 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10773 ;;
10774 *)
10775 shrext_cmds='.sl'
10776 dynamic_linker="$host_os dld.sl"
10777 shlibpath_var=SHLIB_PATH
10778 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 ;;
10782 esac
10783 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10784 postinstall_cmds='chmod 555 $lib'
10785 # or fails outright, so override atomically:
10786 install_override_mode=555
10787 ;;
10788
10789 interix[3-9]*)
10790 version_type=linux
10791 need_lib_prefix=no
10792 need_version=no
10793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10794 soname_spec='${libname}${release}${shared_ext}$major'
10795 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10796 shlibpath_var=LD_LIBRARY_PATH
10797 shlibpath_overrides_runpath=no
10798 hardcode_into_libs=yes
10799 ;;
10800
10801 irix5* | irix6* | nonstopux*)
10802 case $host_os in
10803 nonstopux*) version_type=nonstopux ;;
10804 *)
10805 if test "$lt_cv_prog_gnu_ld" = yes; then
10806 version_type=linux
10807 else
10808 version_type=irix
10809 fi ;;
10810 esac
10811 need_lib_prefix=no
10812 need_version=no
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10815 case $host_os in
10816 irix5* | nonstopux*)
10817 libsuff= shlibsuff=
10818 ;;
10819 *)
10820 case $LD in # libtool.m4 will add one of these switches to LD
10821 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10822 libsuff= shlibsuff= libmagic=32-bit;;
10823 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10824 libsuff=32 shlibsuff=N32 libmagic=N32;;
10825 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10826 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10827 *) libsuff= shlibsuff= libmagic=never-match;;
10828 esac
10829 ;;
10830 esac
10831 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10832 shlibpath_overrides_runpath=no
10833 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10834 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10835 hardcode_into_libs=yes
10836 ;;
10837
10838 # No shared lib support for Linux oldld, aout, or coff.
10839 linux*oldld* | linux*aout* | linux*coff*)
10840 dynamic_linker=no
10841 ;;
10842
10843 # This must be Linux ELF.
10844 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10845 version_type=linux
10846 need_lib_prefix=no
10847 need_version=no
10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849 soname_spec='${libname}${release}${shared_ext}$major'
10850 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10851 shlibpath_var=LD_LIBRARY_PATH
10852 shlibpath_overrides_runpath=no
10853
10854 # Some binutils ld are patched to set DT_RUNPATH
10855 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 lt_cv_shlibpath_overrides_runpath=no
10859 save_LDFLAGS=$LDFLAGS
10860 save_libdir=$libdir
10861 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10862 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10865
10866 int
10867 main ()
10868 {
10869
10870 ;
10871 return 0;
10872 }
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"; then :
10875 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10876 lt_cv_shlibpath_overrides_runpath=yes
10877 fi
10878 fi
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 LDFLAGS=$save_LDFLAGS
10882 libdir=$save_libdir
10883
10884 fi
10885
10886 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10887
10888 # This implies no fast_install, which is unacceptable.
10889 # Some rework will be needed to allow for fast_install
10890 # before this can be enabled.
10891 hardcode_into_libs=yes
10892
10893 # Append ld.so.conf contents to the search path
10894 if test -f /etc/ld.so.conf; then
10895 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' ' '`
10896 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10897 fi
10898
10899 # We used to test for /lib/ld.so.1 and disable shared libraries on
10900 # powerpc, because MkLinux only supported shared libraries with the
10901 # GNU dynamic linker. Since this was broken with cross compilers,
10902 # most powerpc-linux boxes support dynamic linking these days and
10903 # people can always --disable-shared, the test was removed, and we
10904 # assume the GNU/Linux dynamic linker is in use.
10905 dynamic_linker='GNU/Linux ld.so'
10906 ;;
10907
10908 netbsd*)
10909 version_type=sunos
10910 need_lib_prefix=no
10911 need_version=no
10912 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10915 dynamic_linker='NetBSD (a.out) ld.so'
10916 else
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 dynamic_linker='NetBSD ld.elf_so'
10920 fi
10921 shlibpath_var=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath=yes
10923 hardcode_into_libs=yes
10924 ;;
10925
10926 newsos6)
10927 version_type=linux
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 shlibpath_overrides_runpath=yes
10931 ;;
10932
10933 *nto* | *qnx*)
10934 version_type=qnx
10935 need_lib_prefix=no
10936 need_version=no
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 soname_spec='${libname}${release}${shared_ext}$major'
10939 shlibpath_var=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath=no
10941 hardcode_into_libs=yes
10942 dynamic_linker='ldqnx.so'
10943 ;;
10944
10945 openbsd*)
10946 version_type=sunos
10947 sys_lib_dlsearch_path_spec="/usr/lib"
10948 need_lib_prefix=no
10949 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10950 case $host_os in
10951 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10952 *) need_version=no ;;
10953 esac
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10958 case $host_os in
10959 openbsd2.[89] | openbsd2.[89].*)
10960 shlibpath_overrides_runpath=no
10961 ;;
10962 *)
10963 shlibpath_overrides_runpath=yes
10964 ;;
10965 esac
10966 else
10967 shlibpath_overrides_runpath=yes
10968 fi
10969 ;;
10970
10971 os2*)
10972 libname_spec='$name'
10973 shrext_cmds=".dll"
10974 need_lib_prefix=no
10975 library_names_spec='$libname${shared_ext} $libname.a'
10976 dynamic_linker='OS/2 ld.exe'
10977 shlibpath_var=LIBPATH
10978 ;;
10979
10980 osf3* | osf4* | osf5*)
10981 version_type=osf
10982 need_lib_prefix=no
10983 need_version=no
10984 soname_spec='${libname}${release}${shared_ext}$major'
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 shlibpath_var=LD_LIBRARY_PATH
10987 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10988 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10989 ;;
10990
10991 rdos*)
10992 dynamic_linker=no
10993 ;;
10994
10995 solaris*)
10996 version_type=linux
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=yes
11003 hardcode_into_libs=yes
11004 # ldd complains unless libraries are executable
11005 postinstall_cmds='chmod +x $lib'
11006 ;;
11007
11008 sunos4*)
11009 version_type=sunos
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11011 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 shlibpath_overrides_runpath=yes
11014 if test "$with_gnu_ld" = yes; then
11015 need_lib_prefix=no
11016 fi
11017 need_version=yes
11018 ;;
11019
11020 sysv4 | sysv4.3*)
11021 version_type=linux
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 soname_spec='${libname}${release}${shared_ext}$major'
11024 shlibpath_var=LD_LIBRARY_PATH
11025 case $host_vendor in
11026 sni)
11027 shlibpath_overrides_runpath=no
11028 need_lib_prefix=no
11029 runpath_var=LD_RUN_PATH
11030 ;;
11031 siemens)
11032 need_lib_prefix=no
11033 ;;
11034 motorola)
11035 need_lib_prefix=no
11036 need_version=no
11037 shlibpath_overrides_runpath=no
11038 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11039 ;;
11040 esac
11041 ;;
11042
11043 sysv4*MP*)
11044 if test -d /usr/nec ;then
11045 version_type=linux
11046 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11047 soname_spec='$libname${shared_ext}.$major'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 fi
11050 ;;
11051
11052 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11053 version_type=freebsd-elf
11054 need_lib_prefix=no
11055 need_version=no
11056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11057 soname_spec='${libname}${release}${shared_ext}$major'
11058 shlibpath_var=LD_LIBRARY_PATH
11059 shlibpath_overrides_runpath=yes
11060 hardcode_into_libs=yes
11061 if test "$with_gnu_ld" = yes; then
11062 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11063 else
11064 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11065 case $host_os in
11066 sco3.2v5*)
11067 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11068 ;;
11069 esac
11070 fi
11071 sys_lib_dlsearch_path_spec='/usr/lib'
11072 ;;
11073
11074 tpf*)
11075 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11076 version_type=linux
11077 need_lib_prefix=no
11078 need_version=no
11079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 shlibpath_var=LD_LIBRARY_PATH
11081 shlibpath_overrides_runpath=no
11082 hardcode_into_libs=yes
11083 ;;
11084
11085 uts4*)
11086 version_type=linux
11087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11088 soname_spec='${libname}${release}${shared_ext}$major'
11089 shlibpath_var=LD_LIBRARY_PATH
11090 ;;
11091
11092 *)
11093 dynamic_linker=no
11094 ;;
11095 esac
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11097 $as_echo "$dynamic_linker" >&6; }
11098 test "$dynamic_linker" = no && can_build_shared=no
11099
11100 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11101 if test "$GCC" = yes; then
11102 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11103 fi
11104
11105 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11106 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11107 fi
11108 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11109 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11110 fi
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11204 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11205 hardcode_action=
11206 if test -n "$hardcode_libdir_flag_spec" ||
11207 test -n "$runpath_var" ||
11208 test "X$hardcode_automatic" = "Xyes" ; then
11209
11210 # We can hardcode non-existent directories.
11211 if test "$hardcode_direct" != no &&
11212 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11213 # have to relink, otherwise we might link with an installed library
11214 # when we should be linking with a yet-to-be-installed one
11215 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11216 test "$hardcode_minus_L" != no; then
11217 # Linking always hardcodes the temporary library directory.
11218 hardcode_action=relink
11219 else
11220 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11221 hardcode_action=immediate
11222 fi
11223 else
11224 # We cannot hardcode anything, or else we can only hardcode existing
11225 # directories.
11226 hardcode_action=unsupported
11227 fi
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11229 $as_echo "$hardcode_action" >&6; }
11230
11231 if test "$hardcode_action" = relink ||
11232 test "$inherit_rpath" = yes; then
11233 # Fast installation is not supported
11234 enable_fast_install=no
11235 elif test "$shlibpath_overrides_runpath" = yes ||
11236 test "$enable_shared" = no; then
11237 # Fast installation is not necessary
11238 enable_fast_install=needless
11239 fi
11240
11241
11242
11243
11244
11245
11246 if test "x$enable_dlopen" != xyes; then
11247 enable_dlopen=unknown
11248 enable_dlopen_self=unknown
11249 enable_dlopen_self_static=unknown
11250 else
11251 lt_cv_dlopen=no
11252 lt_cv_dlopen_libs=
11253
11254 case $host_os in
11255 beos*)
11256 lt_cv_dlopen="load_add_on"
11257 lt_cv_dlopen_libs=
11258 lt_cv_dlopen_self=yes
11259 ;;
11260
11261 mingw* | pw32* | cegcc*)
11262 lt_cv_dlopen="LoadLibrary"
11263 lt_cv_dlopen_libs=
11264 ;;
11265
11266 cygwin*)
11267 lt_cv_dlopen="dlopen"
11268 lt_cv_dlopen_libs=
11269 ;;
11270
11271 darwin*)
11272 # if libdl is installed we need to link against it
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11274 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11275 if ${ac_cv_lib_dl_dlopen+:} false; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-ldl $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11282
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char dlopen ();
11290 int
11291 main ()
11292 {
11293 return dlopen ();
11294 ;
11295 return 0;
11296 }
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 ac_cv_lib_dl_dlopen=yes
11300 else
11301 ac_cv_lib_dl_dlopen=no
11302 fi
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11306 fi
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11308 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11309 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11310 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11311 else
11312
11313 lt_cv_dlopen="dyld"
11314 lt_cv_dlopen_libs=
11315 lt_cv_dlopen_self=yes
11316
11317 fi
11318
11319 ;;
11320
11321 *)
11322 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11323 if test "x$ac_cv_func_shl_load" = xyes; then :
11324 lt_cv_dlopen="shl_load"
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11327 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11328 if ${ac_cv_lib_dld_shl_load+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-ldld $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char shl_load ();
11343 int
11344 main ()
11345 {
11346 return shl_load ();
11347 ;
11348 return 0;
11349 }
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_dld_shl_load=yes
11353 else
11354 ac_cv_lib_dld_shl_load=no
11355 fi
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11359 fi
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11361 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11362 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11363 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11364 else
11365 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11366 if test "x$ac_cv_func_dlopen" = xyes; then :
11367 lt_cv_dlopen="dlopen"
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11370 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11371 if ${ac_cv_lib_dl_dlopen+:} false; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-ldl $LIBS"
11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11377 /* end confdefs.h. */
11378
11379 /* Override any GCC internal prototype to avoid an error.
11380 Use char because int might match the return type of a GCC
11381 builtin and then its argument prototype would still apply. */
11382 #ifdef __cplusplus
11383 extern "C"
11384 #endif
11385 char dlopen ();
11386 int
11387 main ()
11388 {
11389 return dlopen ();
11390 ;
11391 return 0;
11392 }
11393 _ACEOF
11394 if ac_fn_c_try_link "$LINENO"; then :
11395 ac_cv_lib_dl_dlopen=yes
11396 else
11397 ac_cv_lib_dl_dlopen=no
11398 fi
11399 rm -f core conftest.err conftest.$ac_objext \
11400 conftest$ac_exeext conftest.$ac_ext
11401 LIBS=$ac_check_lib_save_LIBS
11402 fi
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11404 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11405 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11406 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11407 else
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11409 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11410 if ${ac_cv_lib_svld_dlopen+:} false; then :
11411 $as_echo_n "(cached) " >&6
11412 else
11413 ac_check_lib_save_LIBS=$LIBS
11414 LIBS="-lsvld $LIBS"
11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11417
11418 /* Override any GCC internal prototype to avoid an error.
11419 Use char because int might match the return type of a GCC
11420 builtin and then its argument prototype would still apply. */
11421 #ifdef __cplusplus
11422 extern "C"
11423 #endif
11424 char dlopen ();
11425 int
11426 main ()
11427 {
11428 return dlopen ();
11429 ;
11430 return 0;
11431 }
11432 _ACEOF
11433 if ac_fn_c_try_link "$LINENO"; then :
11434 ac_cv_lib_svld_dlopen=yes
11435 else
11436 ac_cv_lib_svld_dlopen=no
11437 fi
11438 rm -f core conftest.err conftest.$ac_objext \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_lib_save_LIBS
11441 fi
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11443 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11444 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11445 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11446 else
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11448 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11449 if ${ac_cv_lib_dld_dld_link+:} false; then :
11450 $as_echo_n "(cached) " >&6
11451 else
11452 ac_check_lib_save_LIBS=$LIBS
11453 LIBS="-ldld $LIBS"
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11456
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11460 #ifdef __cplusplus
11461 extern "C"
11462 #endif
11463 char dld_link ();
11464 int
11465 main ()
11466 {
11467 return dld_link ();
11468 ;
11469 return 0;
11470 }
11471 _ACEOF
11472 if ac_fn_c_try_link "$LINENO"; then :
11473 ac_cv_lib_dld_dld_link=yes
11474 else
11475 ac_cv_lib_dld_dld_link=no
11476 fi
11477 rm -f core conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_lib_save_LIBS
11480 fi
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11482 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11483 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11484 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11485 fi
11486
11487
11488 fi
11489
11490
11491 fi
11492
11493
11494 fi
11495
11496
11497 fi
11498
11499
11500 fi
11501
11502 ;;
11503 esac
11504
11505 if test "x$lt_cv_dlopen" != xno; then
11506 enable_dlopen=yes
11507 else
11508 enable_dlopen=no
11509 fi
11510
11511 case $lt_cv_dlopen in
11512 dlopen)
11513 save_CPPFLAGS="$CPPFLAGS"
11514 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11515
11516 save_LDFLAGS="$LDFLAGS"
11517 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11518
11519 save_LIBS="$LIBS"
11520 LIBS="$lt_cv_dlopen_libs $LIBS"
11521
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11523 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11524 if ${lt_cv_dlopen_self+:} false; then :
11525 $as_echo_n "(cached) " >&6
11526 else
11527 if test "$cross_compiling" = yes; then :
11528 lt_cv_dlopen_self=cross
11529 else
11530 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11531 lt_status=$lt_dlunknown
11532 cat > conftest.$ac_ext <<_LT_EOF
11533 #line $LINENO "configure"
11534 #include "confdefs.h"
11535
11536 #if HAVE_DLFCN_H
11537 #include <dlfcn.h>
11538 #endif
11539
11540 #include <stdio.h>
11541
11542 #ifdef RTLD_GLOBAL
11543 # define LT_DLGLOBAL RTLD_GLOBAL
11544 #else
11545 # ifdef DL_GLOBAL
11546 # define LT_DLGLOBAL DL_GLOBAL
11547 # else
11548 # define LT_DLGLOBAL 0
11549 # endif
11550 #endif
11551
11552 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11553 find out it does not work in some platform. */
11554 #ifndef LT_DLLAZY_OR_NOW
11555 # ifdef RTLD_LAZY
11556 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11557 # else
11558 # ifdef DL_LAZY
11559 # define LT_DLLAZY_OR_NOW DL_LAZY
11560 # else
11561 # ifdef RTLD_NOW
11562 # define LT_DLLAZY_OR_NOW RTLD_NOW
11563 # else
11564 # ifdef DL_NOW
11565 # define LT_DLLAZY_OR_NOW DL_NOW
11566 # else
11567 # define LT_DLLAZY_OR_NOW 0
11568 # endif
11569 # endif
11570 # endif
11571 # endif
11572 #endif
11573
11574 /* When -fvisbility=hidden is used, assume the code has been annotated
11575 correspondingly for the symbols needed. */
11576 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11577 int fnord () __attribute__((visibility("default")));
11578 #endif
11579
11580 int fnord () { return 42; }
11581 int main ()
11582 {
11583 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11584 int status = $lt_dlunknown;
11585
11586 if (self)
11587 {
11588 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11589 else
11590 {
11591 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11592 else puts (dlerror ());
11593 }
11594 /* dlclose (self); */
11595 }
11596 else
11597 puts (dlerror ());
11598
11599 return status;
11600 }
11601 _LT_EOF
11602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11603 (eval $ac_link) 2>&5
11604 ac_status=$?
11605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11606 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11607 (./conftest; exit; ) >&5 2>/dev/null
11608 lt_status=$?
11609 case x$lt_status in
11610 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11611 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11612 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11613 esac
11614 else :
11615 # compilation failed
11616 lt_cv_dlopen_self=no
11617 fi
11618 fi
11619 rm -fr conftest*
11620
11621
11622 fi
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11624 $as_echo "$lt_cv_dlopen_self" >&6; }
11625
11626 if test "x$lt_cv_dlopen_self" = xyes; then
11627 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11629 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11630 if ${lt_cv_dlopen_self_static+:} false; then :
11631 $as_echo_n "(cached) " >&6
11632 else
11633 if test "$cross_compiling" = yes; then :
11634 lt_cv_dlopen_self_static=cross
11635 else
11636 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11637 lt_status=$lt_dlunknown
11638 cat > conftest.$ac_ext <<_LT_EOF
11639 #line $LINENO "configure"
11640 #include "confdefs.h"
11641
11642 #if HAVE_DLFCN_H
11643 #include <dlfcn.h>
11644 #endif
11645
11646 #include <stdio.h>
11647
11648 #ifdef RTLD_GLOBAL
11649 # define LT_DLGLOBAL RTLD_GLOBAL
11650 #else
11651 # ifdef DL_GLOBAL
11652 # define LT_DLGLOBAL DL_GLOBAL
11653 # else
11654 # define LT_DLGLOBAL 0
11655 # endif
11656 #endif
11657
11658 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11659 find out it does not work in some platform. */
11660 #ifndef LT_DLLAZY_OR_NOW
11661 # ifdef RTLD_LAZY
11662 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11663 # else
11664 # ifdef DL_LAZY
11665 # define LT_DLLAZY_OR_NOW DL_LAZY
11666 # else
11667 # ifdef RTLD_NOW
11668 # define LT_DLLAZY_OR_NOW RTLD_NOW
11669 # else
11670 # ifdef DL_NOW
11671 # define LT_DLLAZY_OR_NOW DL_NOW
11672 # else
11673 # define LT_DLLAZY_OR_NOW 0
11674 # endif
11675 # endif
11676 # endif
11677 # endif
11678 #endif
11679
11680 /* When -fvisbility=hidden is used, assume the code has been annotated
11681 correspondingly for the symbols needed. */
11682 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11683 int fnord () __attribute__((visibility("default")));
11684 #endif
11685
11686 int fnord () { return 42; }
11687 int main ()
11688 {
11689 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11690 int status = $lt_dlunknown;
11691
11692 if (self)
11693 {
11694 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11695 else
11696 {
11697 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11698 else puts (dlerror ());
11699 }
11700 /* dlclose (self); */
11701 }
11702 else
11703 puts (dlerror ());
11704
11705 return status;
11706 }
11707 _LT_EOF
11708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11709 (eval $ac_link) 2>&5
11710 ac_status=$?
11711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11712 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11713 (./conftest; exit; ) >&5 2>/dev/null
11714 lt_status=$?
11715 case x$lt_status in
11716 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11717 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11718 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11719 esac
11720 else :
11721 # compilation failed
11722 lt_cv_dlopen_self_static=no
11723 fi
11724 fi
11725 rm -fr conftest*
11726
11727
11728 fi
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11730 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11731 fi
11732
11733 CPPFLAGS="$save_CPPFLAGS"
11734 LDFLAGS="$save_LDFLAGS"
11735 LIBS="$save_LIBS"
11736 ;;
11737 esac
11738
11739 case $lt_cv_dlopen_self in
11740 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11741 *) enable_dlopen_self=unknown ;;
11742 esac
11743
11744 case $lt_cv_dlopen_self_static in
11745 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11746 *) enable_dlopen_self_static=unknown ;;
11747 esac
11748 fi
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766 striplib=
11767 old_striplib=
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11769 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11770 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11771 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11772 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11774 $as_echo "yes" >&6; }
11775 else
11776 # FIXME - insert some real tests, host_os isn't really good enough
11777 case $host_os in
11778 darwin*)
11779 if test -n "$STRIP" ; then
11780 striplib="$STRIP -x"
11781 old_striplib="$STRIP -S"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11783 $as_echo "yes" >&6; }
11784 else
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11786 $as_echo "no" >&6; }
11787 fi
11788 ;;
11789 *)
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11791 $as_echo "no" >&6; }
11792 ;;
11793 esac
11794 fi
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807 # Report which library types will actually be built
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11809 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11811 $as_echo "$can_build_shared" >&6; }
11812
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11814 $as_echo_n "checking whether to build shared libraries... " >&6; }
11815 test "$can_build_shared" = "no" && enable_shared=no
11816
11817 # On AIX, shared libraries and static libraries use the same namespace, and
11818 # are all built from PIC.
11819 case $host_os in
11820 aix3*)
11821 test "$enable_shared" = yes && enable_static=no
11822 if test -n "$RANLIB"; then
11823 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11824 postinstall_cmds='$RANLIB $lib'
11825 fi
11826 ;;
11827
11828 aix[4-9]*)
11829 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11830 test "$enable_shared" = yes && enable_static=no
11831 fi
11832 ;;
11833 esac
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11835 $as_echo "$enable_shared" >&6; }
11836
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11838 $as_echo_n "checking whether to build static libraries... " >&6; }
11839 # Make sure either enable_shared or enable_static is yes.
11840 test "$enable_shared" = yes || enable_static=yes
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11842 $as_echo "$enable_static" >&6; }
11843
11844
11845
11846
11847 fi
11848 ac_ext=c
11849 ac_cpp='$CPP $CPPFLAGS'
11850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11853
11854 CC="$lt_save_CC"
11855
11856 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11857 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11858 (test "X$CXX" != "Xg++"))) ; then
11859 ac_ext=cpp
11860 ac_cpp='$CXXCPP $CPPFLAGS'
11861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11865 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11866 if test -z "$CXXCPP"; then
11867 if ${ac_cv_prog_CXXCPP+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 # Double quotes because CXXCPP needs to be expanded
11871 for CXXCPP in "$CXX -E" "/lib/cpp"
11872 do
11873 ac_preproc_ok=false
11874 for ac_cxx_preproc_warn_flag in '' yes
11875 do
11876 # Use a header file that comes with gcc, so configuring glibc
11877 # with a fresh cross-compiler works.
11878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11879 # <limits.h> exists even on freestanding compilers.
11880 # On the NeXT, cc -E runs the code through the compiler's parser,
11881 # not just through cpp. "Syntax error" is here to catch this case.
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11884 #ifdef __STDC__
11885 # include <limits.h>
11886 #else
11887 # include <assert.h>
11888 #endif
11889 Syntax error
11890 _ACEOF
11891 if ac_fn_cxx_try_cpp "$LINENO"; then :
11892
11893 else
11894 # Broken: fails on valid input.
11895 continue
11896 fi
11897 rm -f conftest.err conftest.i conftest.$ac_ext
11898
11899 # OK, works on sane cases. Now check whether nonexistent headers
11900 # can be detected and how.
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11903 #include <ac_nonexistent.h>
11904 _ACEOF
11905 if ac_fn_cxx_try_cpp "$LINENO"; then :
11906 # Broken: success on invalid input.
11907 continue
11908 else
11909 # Passes both tests.
11910 ac_preproc_ok=:
11911 break
11912 fi
11913 rm -f conftest.err conftest.i conftest.$ac_ext
11914
11915 done
11916 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11917 rm -f conftest.i conftest.err conftest.$ac_ext
11918 if $ac_preproc_ok; then :
11919 break
11920 fi
11921
11922 done
11923 ac_cv_prog_CXXCPP=$CXXCPP
11924
11925 fi
11926 CXXCPP=$ac_cv_prog_CXXCPP
11927 else
11928 ac_cv_prog_CXXCPP=$CXXCPP
11929 fi
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11931 $as_echo "$CXXCPP" >&6; }
11932 ac_preproc_ok=false
11933 for ac_cxx_preproc_warn_flag in '' yes
11934 do
11935 # Use a header file that comes with gcc, so configuring glibc
11936 # with a fresh cross-compiler works.
11937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11938 # <limits.h> exists even on freestanding compilers.
11939 # On the NeXT, cc -E runs the code through the compiler's parser,
11940 # not just through cpp. "Syntax error" is here to catch this case.
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 #ifdef __STDC__
11944 # include <limits.h>
11945 #else
11946 # include <assert.h>
11947 #endif
11948 Syntax error
11949 _ACEOF
11950 if ac_fn_cxx_try_cpp "$LINENO"; then :
11951
11952 else
11953 # Broken: fails on valid input.
11954 continue
11955 fi
11956 rm -f conftest.err conftest.i conftest.$ac_ext
11957
11958 # OK, works on sane cases. Now check whether nonexistent headers
11959 # can be detected and how.
11960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11962 #include <ac_nonexistent.h>
11963 _ACEOF
11964 if ac_fn_cxx_try_cpp "$LINENO"; then :
11965 # Broken: success on invalid input.
11966 continue
11967 else
11968 # Passes both tests.
11969 ac_preproc_ok=:
11970 break
11971 fi
11972 rm -f conftest.err conftest.i conftest.$ac_ext
11973
11974 done
11975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11976 rm -f conftest.i conftest.err conftest.$ac_ext
11977 if $ac_preproc_ok; then :
11978
11979 else
11980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11982 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11983 See \`config.log' for more details" "$LINENO" 5; }
11984 fi
11985
11986 ac_ext=c
11987 ac_cpp='$CPP $CPPFLAGS'
11988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11991
11992 else
11993 _lt_caught_CXX_error=yes
11994 fi
11995
11996 ac_ext=cpp
11997 ac_cpp='$CXXCPP $CPPFLAGS'
11998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12001
12002 archive_cmds_need_lc_CXX=no
12003 allow_undefined_flag_CXX=
12004 always_export_symbols_CXX=no
12005 archive_expsym_cmds_CXX=
12006 compiler_needs_object_CXX=no
12007 export_dynamic_flag_spec_CXX=
12008 hardcode_direct_CXX=no
12009 hardcode_direct_absolute_CXX=no
12010 hardcode_libdir_flag_spec_CXX=
12011 hardcode_libdir_flag_spec_ld_CXX=
12012 hardcode_libdir_separator_CXX=
12013 hardcode_minus_L_CXX=no
12014 hardcode_shlibpath_var_CXX=unsupported
12015 hardcode_automatic_CXX=no
12016 inherit_rpath_CXX=no
12017 module_cmds_CXX=
12018 module_expsym_cmds_CXX=
12019 link_all_deplibs_CXX=unknown
12020 old_archive_cmds_CXX=$old_archive_cmds
12021 reload_flag_CXX=$reload_flag
12022 reload_cmds_CXX=$reload_cmds
12023 no_undefined_flag_CXX=
12024 whole_archive_flag_spec_CXX=
12025 enable_shared_with_static_runtimes_CXX=no
12026
12027 # Source file extension for C++ test sources.
12028 ac_ext=cpp
12029
12030 # Object file extension for compiled C++ test sources.
12031 objext=o
12032 objext_CXX=$objext
12033
12034 # No sense in running all these tests if we already determined that
12035 # the CXX compiler isn't working. Some variables (like enable_shared)
12036 # are currently assumed to apply to all compilers on this platform,
12037 # and will be corrupted by setting them based on a non-working compiler.
12038 if test "$_lt_caught_CXX_error" != yes; then
12039 # Code to be used in simple compile tests
12040 lt_simple_compile_test_code="int some_variable = 0;"
12041
12042 # Code to be used in simple link tests
12043 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12044
12045 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12046
12047
12048
12049
12050
12051
12052 # If no C compiler was specified, use CC.
12053 LTCC=${LTCC-"$CC"}
12054
12055 # If no C compiler flags were specified, use CFLAGS.
12056 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12057
12058 # Allow CC to be a program name with arguments.
12059 compiler=$CC
12060
12061
12062 # save warnings/boilerplate of simple test code
12063 ac_outfile=conftest.$ac_objext
12064 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12065 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12066 _lt_compiler_boilerplate=`cat conftest.err`
12067 $RM conftest*
12068
12069 ac_outfile=conftest.$ac_objext
12070 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12071 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12072 _lt_linker_boilerplate=`cat conftest.err`
12073 $RM -r conftest*
12074
12075
12076 # Allow CC to be a program name with arguments.
12077 lt_save_CC=$CC
12078 lt_save_CFLAGS=$CFLAGS
12079 lt_save_LD=$LD
12080 lt_save_GCC=$GCC
12081 GCC=$GXX
12082 lt_save_with_gnu_ld=$with_gnu_ld
12083 lt_save_path_LD=$lt_cv_path_LD
12084 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12085 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12086 else
12087 $as_unset lt_cv_prog_gnu_ld
12088 fi
12089 if test -n "${lt_cv_path_LDCXX+set}"; then
12090 lt_cv_path_LD=$lt_cv_path_LDCXX
12091 else
12092 $as_unset lt_cv_path_LD
12093 fi
12094 test -z "${LDCXX+set}" || LD=$LDCXX
12095 CC=${CXX-"c++"}
12096 CFLAGS=$CXXFLAGS
12097 compiler=$CC
12098 compiler_CXX=$CC
12099 for cc_temp in $compiler""; do
12100 case $cc_temp in
12101 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12102 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12103 \-*) ;;
12104 *) break;;
12105 esac
12106 done
12107 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12108
12109
12110 if test -n "$compiler"; then
12111 # We don't want -fno-exception when compiling C++ code, so set the
12112 # no_builtin_flag separately
12113 if test "$GXX" = yes; then
12114 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12115 else
12116 lt_prog_compiler_no_builtin_flag_CXX=
12117 fi
12118
12119 if test "$GXX" = yes; then
12120 # Set up default GNU C++ configuration
12121
12122
12123
12124 # Check whether --with-gnu-ld was given.
12125 if test "${with_gnu_ld+set}" = set; then :
12126 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12127 else
12128 with_gnu_ld=no
12129 fi
12130
12131 ac_prog=ld
12132 if test "$GCC" = yes; then
12133 # Check if gcc -print-prog-name=ld gives a path.
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12135 $as_echo_n "checking for ld used by $CC... " >&6; }
12136 case $host in
12137 *-*-mingw*)
12138 # gcc leaves a trailing carriage return which upsets mingw
12139 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12140 *)
12141 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12142 esac
12143 case $ac_prog in
12144 # Accept absolute paths.
12145 [\\/]* | ?:[\\/]*)
12146 re_direlt='/[^/][^/]*/\.\./'
12147 # Canonicalize the pathname of ld
12148 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12149 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12150 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12151 done
12152 test -z "$LD" && LD="$ac_prog"
12153 ;;
12154 "")
12155 # If it fails, then pretend we aren't using GCC.
12156 ac_prog=ld
12157 ;;
12158 *)
12159 # If it is relative, then search for the first ld in PATH.
12160 with_gnu_ld=unknown
12161 ;;
12162 esac
12163 elif test "$with_gnu_ld" = yes; then
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12165 $as_echo_n "checking for GNU ld... " >&6; }
12166 else
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12168 $as_echo_n "checking for non-GNU ld... " >&6; }
12169 fi
12170 if ${lt_cv_path_LD+:} false; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 if test -z "$LD"; then
12174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12175 for ac_dir in $PATH; do
12176 IFS="$lt_save_ifs"
12177 test -z "$ac_dir" && ac_dir=.
12178 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12179 lt_cv_path_LD="$ac_dir/$ac_prog"
12180 # Check to see if the program is GNU ld. I'd rather use --version,
12181 # but apparently some variants of GNU ld only accept -v.
12182 # Break only if it was the GNU/non-GNU ld that we prefer.
12183 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12184 *GNU* | *'with BFD'*)
12185 test "$with_gnu_ld" != no && break
12186 ;;
12187 *)
12188 test "$with_gnu_ld" != yes && break
12189 ;;
12190 esac
12191 fi
12192 done
12193 IFS="$lt_save_ifs"
12194 else
12195 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12196 fi
12197 fi
12198
12199 LD="$lt_cv_path_LD"
12200 if test -n "$LD"; then
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12202 $as_echo "$LD" >&6; }
12203 else
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12205 $as_echo "no" >&6; }
12206 fi
12207 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12209 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12210 if ${lt_cv_prog_gnu_ld+:} false; then :
12211 $as_echo_n "(cached) " >&6
12212 else
12213 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12214 case `$LD -v 2>&1 </dev/null` in
12215 *GNU* | *'with BFD'*)
12216 lt_cv_prog_gnu_ld=yes
12217 ;;
12218 *)
12219 lt_cv_prog_gnu_ld=no
12220 ;;
12221 esac
12222 fi
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12224 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12225 with_gnu_ld=$lt_cv_prog_gnu_ld
12226
12227
12228
12229
12230
12231
12232
12233 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12234 # archiving commands below assume that GNU ld is being used.
12235 if test "$with_gnu_ld" = yes; then
12236 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12237 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'
12238
12239 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12240 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12241
12242 # If archive_cmds runs LD, not CC, wlarc should be empty
12243 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12244 # investigate it a little bit more. (MM)
12245 wlarc='${wl}'
12246
12247 # ancient GNU ld didn't support --whole-archive et. al.
12248 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12249 $GREP 'no-whole-archive' > /dev/null; then
12250 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12251 else
12252 whole_archive_flag_spec_CXX=
12253 fi
12254 else
12255 with_gnu_ld=no
12256 wlarc=
12257
12258 # A generic and very simple default shared library creation
12259 # command for GNU C++ for the case where it uses the native
12260 # linker, instead of GNU ld. If possible, this setting should
12261 # overridden to take advantage of the native linker features on
12262 # the platform it is being used on.
12263 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12264 fi
12265
12266 # Commands to make compiler produce verbose output that lists
12267 # what "hidden" libraries, object files and flags are used when
12268 # linking a shared library.
12269 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12270
12271 else
12272 GXX=no
12273 with_gnu_ld=no
12274 wlarc=
12275 fi
12276
12277 # PORTME: fill in a description of your system's C++ link characteristics
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12279 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12280 ld_shlibs_CXX=yes
12281 case $host_os in
12282 aix3*)
12283 # FIXME: insert proper C++ library support
12284 ld_shlibs_CXX=no
12285 ;;
12286 aix[4-9]*)
12287 if test "$host_cpu" = ia64; then
12288 # On IA64, the linker does run time linking by default, so we don't
12289 # have to do anything special.
12290 aix_use_runtimelinking=no
12291 exp_sym_flag='-Bexport'
12292 no_entry_flag=""
12293 else
12294 aix_use_runtimelinking=no
12295
12296 # Test if we are trying to use run time linking or normal
12297 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12298 # need to do runtime linking.
12299 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12300 for ld_flag in $LDFLAGS; do
12301 case $ld_flag in
12302 *-brtl*)
12303 aix_use_runtimelinking=yes
12304 break
12305 ;;
12306 esac
12307 done
12308 ;;
12309 esac
12310
12311 exp_sym_flag='-bexport'
12312 no_entry_flag='-bnoentry'
12313 fi
12314
12315 # When large executables or shared objects are built, AIX ld can
12316 # have problems creating the table of contents. If linking a library
12317 # or program results in "error TOC overflow" add -mminimal-toc to
12318 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12319 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12320
12321 archive_cmds_CXX=''
12322 hardcode_direct_CXX=yes
12323 hardcode_direct_absolute_CXX=yes
12324 hardcode_libdir_separator_CXX=':'
12325 link_all_deplibs_CXX=yes
12326 file_list_spec_CXX='${wl}-f,'
12327
12328 if test "$GXX" = yes; then
12329 case $host_os in aix4.[012]|aix4.[012].*)
12330 # We only want to do this on AIX 4.2 and lower, the check
12331 # below for broken collect2 doesn't work under 4.3+
12332 collect2name=`${CC} -print-prog-name=collect2`
12333 if test -f "$collect2name" &&
12334 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12335 then
12336 # We have reworked collect2
12337 :
12338 else
12339 # We have old collect2
12340 hardcode_direct_CXX=unsupported
12341 # It fails to find uninstalled libraries when the uninstalled
12342 # path is not listed in the libpath. Setting hardcode_minus_L
12343 # to unsupported forces relinking
12344 hardcode_minus_L_CXX=yes
12345 hardcode_libdir_flag_spec_CXX='-L$libdir'
12346 hardcode_libdir_separator_CXX=
12347 fi
12348 esac
12349 shared_flag='-shared'
12350 if test "$aix_use_runtimelinking" = yes; then
12351 shared_flag="$shared_flag "'${wl}-G'
12352 fi
12353 else
12354 # not using gcc
12355 if test "$host_cpu" = ia64; then
12356 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12357 # chokes on -Wl,-G. The following line is correct:
12358 shared_flag='-G'
12359 else
12360 if test "$aix_use_runtimelinking" = yes; then
12361 shared_flag='${wl}-G'
12362 else
12363 shared_flag='${wl}-bM:SRE'
12364 fi
12365 fi
12366 fi
12367
12368 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12369 # It seems that -bexpall does not export symbols beginning with
12370 # underscore (_), so it is better to generate a list of symbols to
12371 # export.
12372 always_export_symbols_CXX=yes
12373 if test "$aix_use_runtimelinking" = yes; then
12374 # Warning - without using the other runtime loading flags (-brtl),
12375 # -berok will link without error, but may produce a broken library.
12376 allow_undefined_flag_CXX='-berok'
12377 # Determine the default libpath from the value encoded in an empty
12378 # executable.
12379 if test "${lt_cv_aix_libpath+set}" = set; then
12380 aix_libpath=$lt_cv_aix_libpath
12381 else
12382 if ${lt_cv_aix_libpath__CXX+:} false; then :
12383 $as_echo_n "(cached) " >&6
12384 else
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12387
12388 int
12389 main ()
12390 {
12391
12392 ;
12393 return 0;
12394 }
12395 _ACEOF
12396 if ac_fn_cxx_try_link "$LINENO"; then :
12397
12398 lt_aix_libpath_sed='
12399 /Import File Strings/,/^$/ {
12400 /^0/ {
12401 s/^0 *\([^ ]*\) *$/\1/
12402 p
12403 }
12404 }'
12405 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12406 # Check for a 64-bit object if we didn't find anything.
12407 if test -z "$lt_cv_aix_libpath__CXX"; then
12408 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12409 fi
12410 fi
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 if test -z "$lt_cv_aix_libpath__CXX"; then
12414 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12415 fi
12416
12417 fi
12418
12419 aix_libpath=$lt_cv_aix_libpath__CXX
12420 fi
12421
12422 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12423
12424 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"
12425 else
12426 if test "$host_cpu" = ia64; then
12427 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12428 allow_undefined_flag_CXX="-z nodefs"
12429 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"
12430 else
12431 # Determine the default libpath from the value encoded in an
12432 # empty executable.
12433 if test "${lt_cv_aix_libpath+set}" = set; then
12434 aix_libpath=$lt_cv_aix_libpath
12435 else
12436 if ${lt_cv_aix_libpath__CXX+:} false; then :
12437 $as_echo_n "(cached) " >&6
12438 else
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12441
12442 int
12443 main ()
12444 {
12445
12446 ;
12447 return 0;
12448 }
12449 _ACEOF
12450 if ac_fn_cxx_try_link "$LINENO"; then :
12451
12452 lt_aix_libpath_sed='
12453 /Import File Strings/,/^$/ {
12454 /^0/ {
12455 s/^0 *\([^ ]*\) *$/\1/
12456 p
12457 }
12458 }'
12459 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12460 # Check for a 64-bit object if we didn't find anything.
12461 if test -z "$lt_cv_aix_libpath__CXX"; then
12462 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12463 fi
12464 fi
12465 rm -f core conftest.err conftest.$ac_objext \
12466 conftest$ac_exeext conftest.$ac_ext
12467 if test -z "$lt_cv_aix_libpath__CXX"; then
12468 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12469 fi
12470
12471 fi
12472
12473 aix_libpath=$lt_cv_aix_libpath__CXX
12474 fi
12475
12476 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12477 # Warning - without using the other run time loading flags,
12478 # -berok will link without error, but may produce a broken library.
12479 no_undefined_flag_CXX=' ${wl}-bernotok'
12480 allow_undefined_flag_CXX=' ${wl}-berok'
12481 if test "$with_gnu_ld" = yes; then
12482 # We only use this code for GNU lds that support --whole-archive.
12483 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12484 else
12485 # Exported symbols can be pulled into shared objects from archives
12486 whole_archive_flag_spec_CXX='$convenience'
12487 fi
12488 archive_cmds_need_lc_CXX=yes
12489 # This is similar to how AIX traditionally builds its shared
12490 # libraries.
12491 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'
12492 fi
12493 fi
12494 ;;
12495
12496 beos*)
12497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12498 allow_undefined_flag_CXX=unsupported
12499 # Joseph Beckenbach <[email protected]> says some releases of gcc
12500 # support --undefined. This deserves some investigation. FIXME
12501 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12502 else
12503 ld_shlibs_CXX=no
12504 fi
12505 ;;
12506
12507 chorus*)
12508 case $cc_basename in
12509 *)
12510 # FIXME: insert proper C++ library support
12511 ld_shlibs_CXX=no
12512 ;;
12513 esac
12514 ;;
12515
12516 cygwin* | mingw* | pw32* | cegcc*)
12517 case $GXX,$cc_basename in
12518 ,cl* | no,cl*)
12519 # Native MSVC
12520 # hardcode_libdir_flag_spec is actually meaningless, as there is
12521 # no search path for DLLs.
12522 hardcode_libdir_flag_spec_CXX=' '
12523 allow_undefined_flag_CXX=unsupported
12524 always_export_symbols_CXX=yes
12525 file_list_spec_CXX='@'
12526 # Tell ltmain to make .lib files, not .a files.
12527 libext=lib
12528 # Tell ltmain to make .dll files, not .so files.
12529 shrext_cmds=".dll"
12530 # FIXME: Setting linknames here is a bad hack.
12531 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12532 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12533 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12534 else
12535 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12536 fi~
12537 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12538 linknames='
12539 # The linker will not automatically build a static lib if we build a DLL.
12540 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12541 enable_shared_with_static_runtimes_CXX=yes
12542 # Don't use ranlib
12543 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12544 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12545 lt_tool_outputfile="@TOOL_OUTPUT@"~
12546 case $lt_outputfile in
12547 *.exe|*.EXE) ;;
12548 *)
12549 lt_outputfile="$lt_outputfile.exe"
12550 lt_tool_outputfile="$lt_tool_outputfile.exe"
12551 ;;
12552 esac~
12553 func_to_tool_file "$lt_outputfile"~
12554 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12555 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12556 $RM "$lt_outputfile.manifest";
12557 fi'
12558 ;;
12559 *)
12560 # g++
12561 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12562 # as there is no search path for DLLs.
12563 hardcode_libdir_flag_spec_CXX='-L$libdir'
12564 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12568
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 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'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12578 fi~
12579 $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'
12580 else
12581 ld_shlibs_CXX=no
12582 fi
12583 ;;
12584 esac
12585 ;;
12586 darwin* | rhapsody*)
12587
12588
12589 archive_cmds_need_lc_CXX=no
12590 hardcode_direct_CXX=no
12591 hardcode_automatic_CXX=yes
12592 hardcode_shlibpath_var_CXX=unsupported
12593 if test "$lt_cv_ld_force_load" = "yes"; then
12594 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\"`'
12595 else
12596 whole_archive_flag_spec_CXX=''
12597 fi
12598 link_all_deplibs_CXX=yes
12599 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12600 case $cc_basename in
12601 ifort*) _lt_dar_can_shared=yes ;;
12602 *) _lt_dar_can_shared=$GCC ;;
12603 esac
12604 if test "$_lt_dar_can_shared" = "yes"; then
12605 output_verbose_link_cmd=func_echo_all
12606 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}"
12607 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12608 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}"
12609 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}"
12610 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12611 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}"
12612 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}"
12613 fi
12614
12615 else
12616 ld_shlibs_CXX=no
12617 fi
12618
12619 ;;
12620
12621 dgux*)
12622 case $cc_basename in
12623 ec++*)
12624 # FIXME: insert proper C++ library support
12625 ld_shlibs_CXX=no
12626 ;;
12627 ghcx*)
12628 # Green Hills C++ Compiler
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12631 ;;
12632 *)
12633 # FIXME: insert proper C++ library support
12634 ld_shlibs_CXX=no
12635 ;;
12636 esac
12637 ;;
12638
12639 freebsd[12]*)
12640 # C++ shared libraries reported to be fairly broken before
12641 # switch to ELF
12642 ld_shlibs_CXX=no
12643 ;;
12644
12645 freebsd-elf*)
12646 archive_cmds_need_lc_CXX=no
12647 ;;
12648
12649 freebsd* | dragonfly*)
12650 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12651 # conventions
12652 ld_shlibs_CXX=yes
12653 ;;
12654
12655 gnu*)
12656 ;;
12657
12658 haiku*)
12659 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12660 link_all_deplibs_CXX=yes
12661 ;;
12662
12663 hpux9*)
12664 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12665 hardcode_libdir_separator_CXX=:
12666 export_dynamic_flag_spec_CXX='${wl}-E'
12667 hardcode_direct_CXX=yes
12668 hardcode_minus_L_CXX=yes # Not in the search PATH,
12669 # but as the default
12670 # location of the library.
12671
12672 case $cc_basename in
12673 CC*)
12674 # FIXME: insert proper C++ library support
12675 ld_shlibs_CXX=no
12676 ;;
12677 aCC*)
12678 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'
12679 # Commands to make compiler produce verbose output that lists
12680 # what "hidden" libraries, object files and flags are used when
12681 # linking a shared library.
12682 #
12683 # There doesn't appear to be a way to prevent this compiler from
12684 # explicitly linking system object files so we need to strip them
12685 # from the output so that they don't get included in the library
12686 # dependencies.
12687 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"'
12688 ;;
12689 *)
12690 if test "$GXX" = yes; then
12691 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'
12692 else
12693 # FIXME: insert proper C++ library support
12694 ld_shlibs_CXX=no
12695 fi
12696 ;;
12697 esac
12698 ;;
12699
12700 hpux10*|hpux11*)
12701 if test $with_gnu_ld = no; then
12702 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12703 hardcode_libdir_separator_CXX=:
12704
12705 case $host_cpu in
12706 hppa*64*|ia64*)
12707 ;;
12708 *)
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 ;;
12711 esac
12712 fi
12713 case $host_cpu in
12714 hppa*64*|ia64*)
12715 hardcode_direct_CXX=no
12716 hardcode_shlibpath_var_CXX=no
12717 ;;
12718 *)
12719 hardcode_direct_CXX=yes
12720 hardcode_direct_absolute_CXX=yes
12721 hardcode_minus_L_CXX=yes # Not in the search PATH,
12722 # but as the default
12723 # location of the library.
12724 ;;
12725 esac
12726
12727 case $cc_basename in
12728 CC*)
12729 # FIXME: insert proper C++ library support
12730 ld_shlibs_CXX=no
12731 ;;
12732 aCC*)
12733 case $host_cpu in
12734 hppa*64*)
12735 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12736 ;;
12737 ia64*)
12738 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 ;;
12740 *)
12741 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12742 ;;
12743 esac
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12747 #
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 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"'
12753 ;;
12754 *)
12755 if test "$GXX" = yes; then
12756 if test $with_gnu_ld = no; then
12757 case $host_cpu in
12758 hppa*64*)
12759 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12760 ;;
12761 ia64*)
12762 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 ;;
12764 *)
12765 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'
12766 ;;
12767 esac
12768 fi
12769 else
12770 # FIXME: insert proper C++ library support
12771 ld_shlibs_CXX=no
12772 fi
12773 ;;
12774 esac
12775 ;;
12776
12777 interix[3-9]*)
12778 hardcode_direct_CXX=no
12779 hardcode_shlibpath_var_CXX=no
12780 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12781 export_dynamic_flag_spec_CXX='${wl}-E'
12782 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12783 # Instead, shared libraries are loaded at an image base (0x10000000 by
12784 # default) and relocated if they conflict, which is a slow very memory
12785 # consuming and fragmenting process. To avoid this, we pick a random,
12786 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12787 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12788 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'
12789 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'
12790 ;;
12791 irix5* | irix6*)
12792 case $cc_basename in
12793 CC*)
12794 # SGI C++
12795 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'
12796
12797 # Archives containing C++ object files must be created using
12798 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12799 # necessary to make sure instantiated templates are included
12800 # in the archive.
12801 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12802 ;;
12803 *)
12804 if test "$GXX" = yes; then
12805 if test "$with_gnu_ld" = no; then
12806 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'
12807 else
12808 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'
12809 fi
12810 fi
12811 link_all_deplibs_CXX=yes
12812 ;;
12813 esac
12814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815 hardcode_libdir_separator_CXX=:
12816 inherit_rpath_CXX=yes
12817 ;;
12818
12819 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12820 case $cc_basename in
12821 KCC*)
12822 # Kuck and Associates, Inc. (KAI) C++ Compiler
12823
12824 # KCC will only create a shared library if the output file
12825 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12826 # to its proper name (with version) after linking.
12827 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'
12828 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'
12829 # Commands to make compiler produce verbose output that lists
12830 # what "hidden" libraries, object files and flags are used when
12831 # linking a shared library.
12832 #
12833 # There doesn't appear to be a way to prevent this compiler from
12834 # explicitly linking system object files so we need to strip them
12835 # from the output so that they don't get included in the library
12836 # dependencies.
12837 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"'
12838
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841
12842 # Archives containing C++ object files must be created using
12843 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12844 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12845 ;;
12846 icpc* | ecpc* )
12847 # Intel C++
12848 with_gnu_ld=yes
12849 # version 8.0 and above of icpc choke on multiply defined symbols
12850 # if we add $predep_objects and $postdep_objects, however 7.1 and
12851 # earlier do not add the objects themselves.
12852 case `$CC -V 2>&1` in
12853 *"Version 7."*)
12854 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 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'
12856 ;;
12857 *) # Version 8.0 or newer
12858 tmp_idyn=
12859 case $host_cpu in
12860 ia64*) tmp_idyn=' -i_dynamic';;
12861 esac
12862 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12863 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'
12864 ;;
12865 esac
12866 archive_cmds_need_lc_CXX=no
12867 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12868 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12869 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12870 ;;
12871 pgCC* | pgcpp*)
12872 # Portland Group C++ compiler
12873 case `$CC -V` in
12874 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12875 prelink_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12878 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12879 old_archive_cmds_CXX='tpldir=Template.dir~
12880 rm -rf $tpldir~
12881 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12882 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12883 $RANLIB $oldlib'
12884 archive_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12888 archive_expsym_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12891 $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'
12892 ;;
12893 *) # Version 6 and above use weak symbols
12894 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12895 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'
12896 ;;
12897 esac
12898
12899 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12900 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12901 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'
12902 ;;
12903 cxx*)
12904 # Compaq C++
12905 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12906 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'
12907
12908 runpath_var=LD_RUN_PATH
12909 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12910 hardcode_libdir_separator_CXX=:
12911
12912 # Commands to make compiler produce verbose output that lists
12913 # what "hidden" libraries, object files and flags are used when
12914 # linking a shared library.
12915 #
12916 # There doesn't appear to be a way to prevent this compiler from
12917 # explicitly linking system object files so we need to strip them
12918 # from the output so that they don't get included in the library
12919 # dependencies.
12920 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'
12921 ;;
12922 xl* | mpixl* | bgxl*)
12923 # IBM XL 8.0 on PPC, with GNU ld
12924 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12925 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12926 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12927 if test "x$supports_anon_versioning" = xyes; then
12928 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12929 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12930 echo "local: *; };" >> $output_objdir/$libname.ver~
12931 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12932 fi
12933 ;;
12934 *)
12935 case `$CC -V 2>&1 | sed 5q` in
12936 *Sun\ C*)
12937 # Sun C++ 5.9
12938 no_undefined_flag_CXX=' -zdefs'
12939 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12940 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'
12941 hardcode_libdir_flag_spec_CXX='-R$libdir'
12942 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'
12943 compiler_needs_object_CXX=yes
12944
12945 # Not sure whether something based on
12946 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12947 # would be better.
12948 output_verbose_link_cmd='func_echo_all'
12949
12950 # Archives containing C++ object files must be created using
12951 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12952 # necessary to make sure instantiated templates are included
12953 # in the archive.
12954 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12955 ;;
12956 esac
12957 ;;
12958 esac
12959 ;;
12960
12961 lynxos*)
12962 # FIXME: insert proper C++ library support
12963 ld_shlibs_CXX=no
12964 ;;
12965
12966 m88k*)
12967 # FIXME: insert proper C++ library support
12968 ld_shlibs_CXX=no
12969 ;;
12970
12971 mvs*)
12972 case $cc_basename in
12973 cxx*)
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12976 ;;
12977 *)
12978 # FIXME: insert proper C++ library support
12979 ld_shlibs_CXX=no
12980 ;;
12981 esac
12982 ;;
12983
12984 netbsd*)
12985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12986 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12987 wlarc=
12988 hardcode_libdir_flag_spec_CXX='-R$libdir'
12989 hardcode_direct_CXX=yes
12990 hardcode_shlibpath_var_CXX=no
12991 fi
12992 # Workaround some broken pre-1.5 toolchains
12993 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12994 ;;
12995
12996 *nto* | *qnx*)
12997 ld_shlibs_CXX=yes
12998 ;;
12999
13000 openbsd2*)
13001 # C++ shared libraries are fairly broken
13002 ld_shlibs_CXX=no
13003 ;;
13004
13005 openbsd*)
13006 if test -f /usr/libexec/ld.so; then
13007 hardcode_direct_CXX=yes
13008 hardcode_shlibpath_var_CXX=no
13009 hardcode_direct_absolute_CXX=yes
13010 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13011 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13012 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13013 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13014 export_dynamic_flag_spec_CXX='${wl}-E'
13015 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13016 fi
13017 output_verbose_link_cmd=func_echo_all
13018 else
13019 ld_shlibs_CXX=no
13020 fi
13021 ;;
13022
13023 osf3* | osf4* | osf5*)
13024 case $cc_basename in
13025 KCC*)
13026 # Kuck and Associates, Inc. (KAI) C++ Compiler
13027
13028 # KCC will only create a shared library if the output file
13029 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13030 # to its proper name (with version) after linking.
13031 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'
13032
13033 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13034 hardcode_libdir_separator_CXX=:
13035
13036 # Archives containing C++ object files must be created using
13037 # the KAI C++ compiler.
13038 case $host in
13039 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13040 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13041 esac
13042 ;;
13043 RCC*)
13044 # Rational C++ 2.4.1
13045 # FIXME: insert proper C++ library support
13046 ld_shlibs_CXX=no
13047 ;;
13048 cxx*)
13049 case $host in
13050 osf3*)
13051 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13052 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'
13053 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13054 ;;
13055 *)
13056 allow_undefined_flag_CXX=' -expect_unresolved \*'
13057 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'
13058 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13059 echo "-hidden">> $lib.exp~
13060 $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~
13061 $RM $lib.exp'
13062 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13063 ;;
13064 esac
13065
13066 hardcode_libdir_separator_CXX=:
13067
13068 # Commands to make compiler produce verbose output that lists
13069 # what "hidden" libraries, object files and flags are used when
13070 # linking a shared library.
13071 #
13072 # There doesn't appear to be a way to prevent this compiler from
13073 # explicitly linking system object files so we need to strip them
13074 # from the output so that they don't get included in the library
13075 # dependencies.
13076 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"'
13077 ;;
13078 *)
13079 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13080 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13081 case $host in
13082 osf3*)
13083 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'
13084 ;;
13085 *)
13086 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'
13087 ;;
13088 esac
13089
13090 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13091 hardcode_libdir_separator_CXX=:
13092
13093 # Commands to make compiler produce verbose output that lists
13094 # what "hidden" libraries, object files and flags are used when
13095 # linking a shared library.
13096 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13097
13098 else
13099 # FIXME: insert proper C++ library support
13100 ld_shlibs_CXX=no
13101 fi
13102 ;;
13103 esac
13104 ;;
13105
13106 psos*)
13107 # FIXME: insert proper C++ library support
13108 ld_shlibs_CXX=no
13109 ;;
13110
13111 sunos4*)
13112 case $cc_basename in
13113 CC*)
13114 # Sun C++ 4.x
13115 # FIXME: insert proper C++ library support
13116 ld_shlibs_CXX=no
13117 ;;
13118 lcc*)
13119 # Lucid
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13122 ;;
13123 *)
13124 # FIXME: insert proper C++ library support
13125 ld_shlibs_CXX=no
13126 ;;
13127 esac
13128 ;;
13129
13130 solaris*)
13131 case $cc_basename in
13132 CC* | sunCC*)
13133 # Sun C++ 4.2, 5.x and Centerline C++
13134 archive_cmds_need_lc_CXX=yes
13135 no_undefined_flag_CXX=' -zdefs'
13136 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13137 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13138 $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'
13139
13140 hardcode_libdir_flag_spec_CXX='-R$libdir'
13141 hardcode_shlibpath_var_CXX=no
13142 case $host_os in
13143 solaris2.[0-5] | solaris2.[0-5].*) ;;
13144 *)
13145 # The compiler driver will combine and reorder linker options,
13146 # but understands `-z linker_flag'.
13147 # Supported since Solaris 2.6 (maybe 2.5.1?)
13148 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13149 ;;
13150 esac
13151 link_all_deplibs_CXX=yes
13152
13153 output_verbose_link_cmd='func_echo_all'
13154
13155 # Archives containing C++ object files must be created using
13156 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13157 # necessary to make sure instantiated templates are included
13158 # in the archive.
13159 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13160 ;;
13161 gcx*)
13162 # Green Hills C++ Compiler
13163 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13164
13165 # The C++ compiler must be used to create the archive.
13166 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13167 ;;
13168 *)
13169 # GNU C++ compiler with Solaris linker
13170 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13171 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13172 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13173 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13174 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13175 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13176
13177 # Commands to make compiler produce verbose output that lists
13178 # what "hidden" libraries, object files and flags are used when
13179 # linking a shared library.
13180 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13181 else
13182 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13183 # platform.
13184 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13185 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13186 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13187
13188 # Commands to make compiler produce verbose output that lists
13189 # what "hidden" libraries, object files and flags are used when
13190 # linking a shared library.
13191 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13192 fi
13193
13194 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13195 case $host_os in
13196 solaris2.[0-5] | solaris2.[0-5].*) ;;
13197 *)
13198 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13199 ;;
13200 esac
13201 fi
13202 ;;
13203 esac
13204 ;;
13205
13206 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13207 no_undefined_flag_CXX='${wl}-z,text'
13208 archive_cmds_need_lc_CXX=no
13209 hardcode_shlibpath_var_CXX=no
13210 runpath_var='LD_RUN_PATH'
13211
13212 case $cc_basename in
13213 CC*)
13214 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 ;;
13217 *)
13218 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13220 ;;
13221 esac
13222 ;;
13223
13224 sysv5* | sco3.2v5* | sco5v6*)
13225 # Note: We can NOT use -z defs as we might desire, because we do not
13226 # link with -lc, and that would cause any symbols used from libc to
13227 # always be unresolved, which means just about no library would
13228 # ever link correctly. If we're not using GNU ld we use -z text
13229 # though, which does catch some bad symbols but isn't as heavy-handed
13230 # as -z defs.
13231 no_undefined_flag_CXX='${wl}-z,text'
13232 allow_undefined_flag_CXX='${wl}-z,nodefs'
13233 archive_cmds_need_lc_CXX=no
13234 hardcode_shlibpath_var_CXX=no
13235 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13236 hardcode_libdir_separator_CXX=':'
13237 link_all_deplibs_CXX=yes
13238 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13239 runpath_var='LD_RUN_PATH'
13240
13241 case $cc_basename in
13242 CC*)
13243 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13244 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13245 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13246 '"$old_archive_cmds_CXX"
13247 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13248 '"$reload_cmds_CXX"
13249 ;;
13250 *)
13251 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 ;;
13254 esac
13255 ;;
13256
13257 tandem*)
13258 case $cc_basename in
13259 NCC*)
13260 # NonStop-UX NCC 3.20
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13263 ;;
13264 *)
13265 # FIXME: insert proper C++ library support
13266 ld_shlibs_CXX=no
13267 ;;
13268 esac
13269 ;;
13270
13271 vxworks*)
13272 # FIXME: insert proper C++ library support
13273 ld_shlibs_CXX=no
13274 ;;
13275
13276 *)
13277 # FIXME: insert proper C++ library support
13278 ld_shlibs_CXX=no
13279 ;;
13280 esac
13281
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13283 $as_echo "$ld_shlibs_CXX" >&6; }
13284 test "$ld_shlibs_CXX" = no && can_build_shared=no
13285
13286 GCC_CXX="$GXX"
13287 LD_CXX="$LD"
13288
13289 ## CAVEAT EMPTOR:
13290 ## There is no encapsulation within the following macros, do not change
13291 ## the running order or otherwise move them around unless you know exactly
13292 ## what you are doing...
13293 # Dependencies to place before and after the object being linked:
13294 predep_objects_CXX=
13295 postdep_objects_CXX=
13296 predeps_CXX=
13297 postdeps_CXX=
13298 compiler_lib_search_path_CXX=
13299
13300 cat > conftest.$ac_ext <<_LT_EOF
13301 class Foo
13302 {
13303 public:
13304 Foo (void) { a = 0; }
13305 private:
13306 int a;
13307 };
13308 _LT_EOF
13309
13310
13311 _lt_libdeps_save_CFLAGS=$CFLAGS
13312 case "$CC $CFLAGS " in #(
13313 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13314 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13315 esac
13316
13317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13318 (eval $ac_compile) 2>&5
13319 ac_status=$?
13320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13321 test $ac_status = 0; }; then
13322 # Parse the compiler output and extract the necessary
13323 # objects, libraries and library flags.
13324
13325 # Sentinel used to keep track of whether or not we are before
13326 # the conftest object file.
13327 pre_test_object_deps_done=no
13328
13329 for p in `eval "$output_verbose_link_cmd"`; do
13330 case ${prev}${p} in
13331
13332 -L* | -R* | -l*)
13333 # Some compilers place space between "-{L,R}" and the path.
13334 # Remove the space.
13335 if test $p = "-L" ||
13336 test $p = "-R"; then
13337 prev=$p
13338 continue
13339 fi
13340
13341 # Expand the sysroot to ease extracting the directories later.
13342 if test -z "$prev"; then
13343 case $p in
13344 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13345 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13346 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13347 esac
13348 fi
13349 case $p in
13350 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13351 esac
13352 if test "$pre_test_object_deps_done" = no; then
13353 case ${prev} in
13354 -L | -R)
13355 # Internal compiler library paths should come after those
13356 # provided the user. The postdeps already come after the
13357 # user supplied libs so there is no need to process them.
13358 if test -z "$compiler_lib_search_path_CXX"; then
13359 compiler_lib_search_path_CXX="${prev}${p}"
13360 else
13361 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13362 fi
13363 ;;
13364 # The "-l" case would never come before the object being
13365 # linked, so don't bother handling this case.
13366 esac
13367 else
13368 if test -z "$postdeps_CXX"; then
13369 postdeps_CXX="${prev}${p}"
13370 else
13371 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13372 fi
13373 fi
13374 prev=
13375 ;;
13376
13377 *.lto.$objext) ;; # Ignore GCC LTO objects
13378 *.$objext)
13379 # This assumes that the test object file only shows up
13380 # once in the compiler output.
13381 if test "$p" = "conftest.$objext"; then
13382 pre_test_object_deps_done=yes
13383 continue
13384 fi
13385
13386 if test "$pre_test_object_deps_done" = no; then
13387 if test -z "$predep_objects_CXX"; then
13388 predep_objects_CXX="$p"
13389 else
13390 predep_objects_CXX="$predep_objects_CXX $p"
13391 fi
13392 else
13393 if test -z "$postdep_objects_CXX"; then
13394 postdep_objects_CXX="$p"
13395 else
13396 postdep_objects_CXX="$postdep_objects_CXX $p"
13397 fi
13398 fi
13399 ;;
13400
13401 *) ;; # Ignore the rest.
13402
13403 esac
13404 done
13405
13406 # Clean up.
13407 rm -f a.out a.exe
13408 else
13409 echo "libtool.m4: error: problem compiling CXX test program"
13410 fi
13411
13412 $RM -f confest.$objext
13413 CFLAGS=$_lt_libdeps_save_CFLAGS
13414
13415 # PORTME: override above test on systems where it is broken
13416 case $host_os in
13417 interix[3-9]*)
13418 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13419 # hack all around it, let's just trust "g++" to DTRT.
13420 predep_objects_CXX=
13421 postdep_objects_CXX=
13422 postdeps_CXX=
13423 ;;
13424
13425 linux*)
13426 case `$CC -V 2>&1 | sed 5q` in
13427 *Sun\ C*)
13428 # Sun C++ 5.9
13429
13430 # The more standards-conforming stlport4 library is
13431 # incompatible with the Cstd library. Avoid specifying
13432 # it if it's in CXXFLAGS. Ignore libCrun as
13433 # -library=stlport4 depends on it.
13434 case " $CXX $CXXFLAGS " in
13435 *" -library=stlport4 "*)
13436 solaris_use_stlport4=yes
13437 ;;
13438 esac
13439
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13442 fi
13443 ;;
13444 esac
13445 ;;
13446
13447 solaris*)
13448 case $cc_basename in
13449 CC* | sunCC*)
13450 # The more standards-conforming stlport4 library is
13451 # incompatible with the Cstd library. Avoid specifying
13452 # it if it's in CXXFLAGS. Ignore libCrun as
13453 # -library=stlport4 depends on it.
13454 case " $CXX $CXXFLAGS " in
13455 *" -library=stlport4 "*)
13456 solaris_use_stlport4=yes
13457 ;;
13458 esac
13459
13460 # Adding this requires a known-good setup of shared libraries for
13461 # Sun compiler versions before 5.6, else PIC objects from an old
13462 # archive will be linked into the output, leading to subtle bugs.
13463 if test "$solaris_use_stlport4" != yes; then
13464 postdeps_CXX='-library=Cstd -library=Crun'
13465 fi
13466 ;;
13467 esac
13468 ;;
13469 esac
13470
13471
13472 case " $postdeps_CXX " in
13473 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13474 esac
13475 compiler_lib_search_dirs_CXX=
13476 if test -n "${compiler_lib_search_path_CXX}"; then
13477 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13478 fi
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510 lt_prog_compiler_wl_CXX=
13511 lt_prog_compiler_pic_CXX=
13512 lt_prog_compiler_static_CXX=
13513
13514
13515 # C++ specific cases for pic, static, wl, etc.
13516 if test "$GXX" = yes; then
13517 lt_prog_compiler_wl_CXX='-Wl,'
13518 lt_prog_compiler_static_CXX='-static'
13519
13520 case $host_os in
13521 aix*)
13522 # All AIX code is PIC.
13523 if test "$host_cpu" = ia64; then
13524 # AIX 5 now supports IA64 processor
13525 lt_prog_compiler_static_CXX='-Bstatic'
13526 fi
13527 ;;
13528
13529 amigaos*)
13530 case $host_cpu in
13531 powerpc)
13532 # see comment about AmigaOS4 .so support
13533 lt_prog_compiler_pic_CXX='-fPIC'
13534 ;;
13535 m68k)
13536 # FIXME: we need at least 68020 code to build shared libraries, but
13537 # adding the `-m68020' flag to GCC prevents building anything better,
13538 # like `-m68040'.
13539 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13540 ;;
13541 esac
13542 ;;
13543
13544 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13545 # PIC is the default for these OSes.
13546 ;;
13547 mingw* | cygwin* | os2* | pw32* | cegcc*)
13548 # This hack is so that the source file can tell whether it is being
13549 # built for inclusion in a dll (and should export symbols for example).
13550 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13551 # (--disable-auto-import) libraries
13552 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13553 ;;
13554 darwin* | rhapsody*)
13555 # PIC is the default on this platform
13556 # Common symbols not allowed in MH_DYLIB files
13557 lt_prog_compiler_pic_CXX='-fno-common'
13558 ;;
13559 *djgpp*)
13560 # DJGPP does not support shared libraries at all
13561 lt_prog_compiler_pic_CXX=
13562 ;;
13563 haiku*)
13564 # PIC is the default for Haiku.
13565 # The "-static" flag exists, but is broken.
13566 lt_prog_compiler_static_CXX=
13567 ;;
13568 interix[3-9]*)
13569 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13570 # Instead, we relocate shared libraries at runtime.
13571 ;;
13572 sysv4*MP*)
13573 if test -d /usr/nec; then
13574 lt_prog_compiler_pic_CXX=-Kconform_pic
13575 fi
13576 ;;
13577 hpux*)
13578 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13579 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13580 # sets the default TLS model and affects inlining.
13581 case $host_cpu in
13582 hppa*64*)
13583 ;;
13584 *)
13585 lt_prog_compiler_pic_CXX='-fPIC'
13586 ;;
13587 esac
13588 ;;
13589 *qnx* | *nto*)
13590 # QNX uses GNU C++, but need to define -shared option too, otherwise
13591 # it will coredump.
13592 lt_prog_compiler_pic_CXX='-fPIC -shared'
13593 ;;
13594 *)
13595 lt_prog_compiler_pic_CXX='-fPIC'
13596 ;;
13597 esac
13598 else
13599 case $host_os in
13600 aix[4-9]*)
13601 # All AIX code is PIC.
13602 if test "$host_cpu" = ia64; then
13603 # AIX 5 now supports IA64 processor
13604 lt_prog_compiler_static_CXX='-Bstatic'
13605 else
13606 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13607 fi
13608 ;;
13609 chorus*)
13610 case $cc_basename in
13611 cxch68*)
13612 # Green Hills C++ Compiler
13613 # _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"
13614 ;;
13615 esac
13616 ;;
13617 mingw* | cygwin* | os2* | pw32* | cegcc*)
13618 # This hack is so that the source file can tell whether it is being
13619 # built for inclusion in a dll (and should export symbols for example).
13620 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13621 ;;
13622 dgux*)
13623 case $cc_basename in
13624 ec++*)
13625 lt_prog_compiler_pic_CXX='-KPIC'
13626 ;;
13627 ghcx*)
13628 # Green Hills C++ Compiler
13629 lt_prog_compiler_pic_CXX='-pic'
13630 ;;
13631 *)
13632 ;;
13633 esac
13634 ;;
13635 freebsd* | dragonfly*)
13636 # FreeBSD uses GNU C++
13637 ;;
13638 hpux9* | hpux10* | hpux11*)
13639 case $cc_basename in
13640 CC*)
13641 lt_prog_compiler_wl_CXX='-Wl,'
13642 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13643 if test "$host_cpu" != ia64; then
13644 lt_prog_compiler_pic_CXX='+Z'
13645 fi
13646 ;;
13647 aCC*)
13648 lt_prog_compiler_wl_CXX='-Wl,'
13649 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13650 case $host_cpu in
13651 hppa*64*|ia64*)
13652 # +Z the default
13653 ;;
13654 *)
13655 lt_prog_compiler_pic_CXX='+Z'
13656 ;;
13657 esac
13658 ;;
13659 *)
13660 ;;
13661 esac
13662 ;;
13663 interix*)
13664 # This is c89, which is MS Visual C++ (no shared libs)
13665 # Anyone wants to do a port?
13666 ;;
13667 irix5* | irix6* | nonstopux*)
13668 case $cc_basename in
13669 CC*)
13670 lt_prog_compiler_wl_CXX='-Wl,'
13671 lt_prog_compiler_static_CXX='-non_shared'
13672 # CC pic flag -KPIC is the default.
13673 ;;
13674 *)
13675 ;;
13676 esac
13677 ;;
13678 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13679 case $cc_basename in
13680 KCC*)
13681 # KAI C++ Compiler
13682 lt_prog_compiler_wl_CXX='--backend -Wl,'
13683 lt_prog_compiler_pic_CXX='-fPIC'
13684 ;;
13685 ecpc* )
13686 # old Intel C++ for x86_64 which still supported -KPIC.
13687 lt_prog_compiler_wl_CXX='-Wl,'
13688 lt_prog_compiler_pic_CXX='-KPIC'
13689 lt_prog_compiler_static_CXX='-static'
13690 ;;
13691 icpc* )
13692 # Intel C++, used to be incompatible with GCC.
13693 # ICC 10 doesn't accept -KPIC any more.
13694 lt_prog_compiler_wl_CXX='-Wl,'
13695 lt_prog_compiler_pic_CXX='-fPIC'
13696 lt_prog_compiler_static_CXX='-static'
13697 ;;
13698 pgCC* | pgcpp*)
13699 # Portland Group C++ compiler
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-fpic'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13703 ;;
13704 cxx*)
13705 # Compaq C++
13706 # Make sure the PIC flag is empty. It appears that all Alpha
13707 # Linux and Compaq Tru64 Unix objects are PIC.
13708 lt_prog_compiler_pic_CXX=
13709 lt_prog_compiler_static_CXX='-non_shared'
13710 ;;
13711 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13712 # IBM XL 8.0, 9.0 on PPC and BlueGene
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-qpic'
13715 lt_prog_compiler_static_CXX='-qstaticlink'
13716 ;;
13717 *)
13718 case `$CC -V 2>&1 | sed 5q` in
13719 *Sun\ C*)
13720 # Sun C++ 5.9
13721 lt_prog_compiler_pic_CXX='-KPIC'
13722 lt_prog_compiler_static_CXX='-Bstatic'
13723 lt_prog_compiler_wl_CXX='-Qoption ld '
13724 ;;
13725 esac
13726 ;;
13727 esac
13728 ;;
13729 lynxos*)
13730 ;;
13731 m88k*)
13732 ;;
13733 mvs*)
13734 case $cc_basename in
13735 cxx*)
13736 lt_prog_compiler_pic_CXX='-W c,exportall'
13737 ;;
13738 *)
13739 ;;
13740 esac
13741 ;;
13742 netbsd*)
13743 ;;
13744 *qnx* | *nto*)
13745 # QNX uses GNU C++, but need to define -shared option too, otherwise
13746 # it will coredump.
13747 lt_prog_compiler_pic_CXX='-fPIC -shared'
13748 ;;
13749 osf3* | osf4* | osf5*)
13750 case $cc_basename in
13751 KCC*)
13752 lt_prog_compiler_wl_CXX='--backend -Wl,'
13753 ;;
13754 RCC*)
13755 # Rational C++ 2.4.1
13756 lt_prog_compiler_pic_CXX='-pic'
13757 ;;
13758 cxx*)
13759 # Digital/Compaq C++
13760 lt_prog_compiler_wl_CXX='-Wl,'
13761 # Make sure the PIC flag is empty. It appears that all Alpha
13762 # Linux and Compaq Tru64 Unix objects are PIC.
13763 lt_prog_compiler_pic_CXX=
13764 lt_prog_compiler_static_CXX='-non_shared'
13765 ;;
13766 *)
13767 ;;
13768 esac
13769 ;;
13770 psos*)
13771 ;;
13772 solaris*)
13773 case $cc_basename in
13774 CC* | sunCC*)
13775 # Sun C++ 4.2, 5.x and Centerline C++
13776 lt_prog_compiler_pic_CXX='-KPIC'
13777 lt_prog_compiler_static_CXX='-Bstatic'
13778 lt_prog_compiler_wl_CXX='-Qoption ld '
13779 ;;
13780 gcx*)
13781 # Green Hills C++ Compiler
13782 lt_prog_compiler_pic_CXX='-PIC'
13783 ;;
13784 *)
13785 ;;
13786 esac
13787 ;;
13788 sunos4*)
13789 case $cc_basename in
13790 CC*)
13791 # Sun C++ 4.x
13792 lt_prog_compiler_pic_CXX='-pic'
13793 lt_prog_compiler_static_CXX='-Bstatic'
13794 ;;
13795 lcc*)
13796 # Lucid
13797 lt_prog_compiler_pic_CXX='-pic'
13798 ;;
13799 *)
13800 ;;
13801 esac
13802 ;;
13803 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13804 case $cc_basename in
13805 CC*)
13806 lt_prog_compiler_wl_CXX='-Wl,'
13807 lt_prog_compiler_pic_CXX='-KPIC'
13808 lt_prog_compiler_static_CXX='-Bstatic'
13809 ;;
13810 esac
13811 ;;
13812 tandem*)
13813 case $cc_basename in
13814 NCC*)
13815 # NonStop-UX NCC 3.20
13816 lt_prog_compiler_pic_CXX='-KPIC'
13817 ;;
13818 *)
13819 ;;
13820 esac
13821 ;;
13822 vxworks*)
13823 ;;
13824 *)
13825 lt_prog_compiler_can_build_shared_CXX=no
13826 ;;
13827 esac
13828 fi
13829
13830 case $host_os in
13831 # For platforms which do not support PIC, -DPIC is meaningless:
13832 *djgpp*)
13833 lt_prog_compiler_pic_CXX=
13834 ;;
13835 *)
13836 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13837 ;;
13838 esac
13839
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13841 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13842 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13843 $as_echo_n "(cached) " >&6
13844 else
13845 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13846 fi
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13848 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13849 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13850
13851 #
13852 # Check to make sure the PIC flag actually works.
13853 #
13854 if test -n "$lt_prog_compiler_pic_CXX"; then
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13856 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13857 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13858 $as_echo_n "(cached) " >&6
13859 else
13860 lt_cv_prog_compiler_pic_works_CXX=no
13861 ac_outfile=conftest.$ac_objext
13862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13863 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 # The option is referenced via a variable to avoid confusing sed.
13869 lt_compile=`echo "$ac_compile" | $SED \
13870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13872 -e 's:$: $lt_compiler_flag:'`
13873 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13874 (eval "$lt_compile" 2>conftest.err)
13875 ac_status=$?
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 if (exit $ac_status) && test -s "$ac_outfile"; then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings other than the usual output.
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13882 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13883 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_pic_works_CXX=yes
13885 fi
13886 fi
13887 $RM conftest*
13888
13889 fi
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13891 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13892
13893 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13894 case $lt_prog_compiler_pic_CXX in
13895 "" | " "*) ;;
13896 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13897 esac
13898 else
13899 lt_prog_compiler_pic_CXX=
13900 lt_prog_compiler_can_build_shared_CXX=no
13901 fi
13902
13903 fi
13904
13905
13906
13907
13908
13909 #
13910 # Check to make sure the static flag actually works.
13911 #
13912 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13914 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13915 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 lt_cv_prog_compiler_static_works_CXX=no
13919 save_LDFLAGS="$LDFLAGS"
13920 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13921 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13922 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13923 # The linker can only warn and ignore the option if not recognized
13924 # So say no if there are warnings
13925 if test -s conftest.err; then
13926 # Append any errors to the config.log.
13927 cat conftest.err 1>&5
13928 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13929 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13930 if diff conftest.exp conftest.er2 >/dev/null; then
13931 lt_cv_prog_compiler_static_works_CXX=yes
13932 fi
13933 else
13934 lt_cv_prog_compiler_static_works_CXX=yes
13935 fi
13936 fi
13937 $RM -r conftest*
13938 LDFLAGS="$save_LDFLAGS"
13939
13940 fi
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13942 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13943
13944 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13945 :
13946 else
13947 lt_prog_compiler_static_CXX=
13948 fi
13949
13950
13951
13952
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13954 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13955 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 lt_cv_prog_compiler_c_o_CXX=no
13959 $RM -r conftest 2>/dev/null
13960 mkdir conftest
13961 cd conftest
13962 mkdir out
13963 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13964
13965 lt_compiler_flag="-o out/conftest2.$ac_objext"
13966 # Insert the option either (1) after the last *FLAGS variable, or
13967 # (2) before a word containing "conftest.", or (3) at the end.
13968 # Note that $ac_compile itself does not contain backslashes and begins
13969 # with a dollar sign (not a hyphen), so the echo should work correctly.
13970 lt_compile=`echo "$ac_compile" | $SED \
13971 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13972 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13973 -e 's:$: $lt_compiler_flag:'`
13974 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13975 (eval "$lt_compile" 2>out/conftest.err)
13976 ac_status=$?
13977 cat out/conftest.err >&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13980 then
13981 # The compiler can only warn and ignore the option if not recognized
13982 # So say no if there are warnings
13983 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13984 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13985 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13986 lt_cv_prog_compiler_c_o_CXX=yes
13987 fi
13988 fi
13989 chmod u+w . 2>&5
13990 $RM conftest*
13991 # SGI C++ compiler will create directory out/ii_files/ for
13992 # template instantiation
13993 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13994 $RM out/* && rmdir out
13995 cd ..
13996 $RM -r conftest
13997 $RM conftest*
13998
13999 fi
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14001 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14002
14003
14004
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14006 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14007 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 lt_cv_prog_compiler_c_o_CXX=no
14011 $RM -r conftest 2>/dev/null
14012 mkdir conftest
14013 cd conftest
14014 mkdir out
14015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14016
14017 lt_compiler_flag="-o out/conftest2.$ac_objext"
14018 # Insert the option either (1) after the last *FLAGS variable, or
14019 # (2) before a word containing "conftest.", or (3) at the end.
14020 # Note that $ac_compile itself does not contain backslashes and begins
14021 # with a dollar sign (not a hyphen), so the echo should work correctly.
14022 lt_compile=`echo "$ac_compile" | $SED \
14023 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14025 -e 's:$: $lt_compiler_flag:'`
14026 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14027 (eval "$lt_compile" 2>out/conftest.err)
14028 ac_status=$?
14029 cat out/conftest.err >&5
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14032 then
14033 # The compiler can only warn and ignore the option if not recognized
14034 # So say no if there are warnings
14035 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14036 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14037 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14038 lt_cv_prog_compiler_c_o_CXX=yes
14039 fi
14040 fi
14041 chmod u+w . 2>&5
14042 $RM conftest*
14043 # SGI C++ compiler will create directory out/ii_files/ for
14044 # template instantiation
14045 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14046 $RM out/* && rmdir out
14047 cd ..
14048 $RM -r conftest
14049 $RM conftest*
14050
14051 fi
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14053 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14054
14055
14056
14057
14058 hard_links="nottested"
14059 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14060 # do not overwrite the value of need_locks provided by the user
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14062 $as_echo_n "checking if we can lock with hard links... " >&6; }
14063 hard_links=yes
14064 $RM conftest*
14065 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14066 touch conftest.a
14067 ln conftest.a conftest.b 2>&5 || hard_links=no
14068 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14070 $as_echo "$hard_links" >&6; }
14071 if test "$hard_links" = no; then
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14073 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14074 need_locks=warn
14075 fi
14076 else
14077 need_locks=no
14078 fi
14079
14080
14081
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14083 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14084
14085 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14086 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14087 case $host_os in
14088 aix[4-9]*)
14089 # If we're using GNU nm, then we don't want the "-C" option.
14090 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14091 # Also, AIX nm treats weak defined symbols like other global defined
14092 # symbols, whereas GNU nm marks them as "W".
14093 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14094 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'
14095 else
14096 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'
14097 fi
14098 ;;
14099 pw32*)
14100 export_symbols_cmds_CXX="$ltdll_cmds"
14101 ;;
14102 cygwin* | mingw* | cegcc*)
14103 case $cc_basename in
14104 cl*) ;;
14105 *)
14106 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'
14107 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14108 ;;
14109 esac
14110 ;;
14111 *)
14112 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14113 ;;
14114 esac
14115
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14117 $as_echo "$ld_shlibs_CXX" >&6; }
14118 test "$ld_shlibs_CXX" = no && can_build_shared=no
14119
14120 with_gnu_ld_CXX=$with_gnu_ld
14121
14122
14123
14124
14125
14126
14127 #
14128 # Do we need to explicitly link libc?
14129 #
14130 case "x$archive_cmds_need_lc_CXX" in
14131 x|xyes)
14132 # Assume -lc should be added
14133 archive_cmds_need_lc_CXX=yes
14134
14135 if test "$enable_shared" = yes && test "$GCC" = yes; then
14136 case $archive_cmds_CXX in
14137 *'~'*)
14138 # FIXME: we may have to deal with multi-command sequences.
14139 ;;
14140 '$CC '*)
14141 # Test whether the compiler implicitly links with -lc since on some
14142 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14143 # to ld, don't add -lc before -lgcc.
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14145 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14146 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 $RM conftest*
14150 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14151
14152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14153 (eval $ac_compile) 2>&5
14154 ac_status=$?
14155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14156 test $ac_status = 0; } 2>conftest.err; then
14157 soname=conftest
14158 lib=conftest
14159 libobjs=conftest.$ac_objext
14160 deplibs=
14161 wl=$lt_prog_compiler_wl_CXX
14162 pic_flag=$lt_prog_compiler_pic_CXX
14163 compiler_flags=-v
14164 linker_flags=-v
14165 verstring=
14166 output_objdir=.
14167 libname=conftest
14168 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14169 allow_undefined_flag_CXX=
14170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14171 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14172 ac_status=$?
14173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14174 test $ac_status = 0; }
14175 then
14176 lt_cv_archive_cmds_need_lc_CXX=no
14177 else
14178 lt_cv_archive_cmds_need_lc_CXX=yes
14179 fi
14180 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14181 else
14182 cat conftest.err 1>&5
14183 fi
14184 $RM conftest*
14185
14186 fi
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14188 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14189 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14190 ;;
14191 esac
14192 fi
14193 ;;
14194 esac
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14260 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14261
14262 library_names_spec=
14263 libname_spec='lib$name'
14264 soname_spec=
14265 shrext_cmds=".so"
14266 postinstall_cmds=
14267 postuninstall_cmds=
14268 finish_cmds=
14269 finish_eval=
14270 shlibpath_var=
14271 shlibpath_overrides_runpath=unknown
14272 version_type=none
14273 dynamic_linker="$host_os ld.so"
14274 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14275 need_lib_prefix=unknown
14276 hardcode_into_libs=no
14277
14278 # when you set need_version to no, make sure it does not cause -set_version
14279 # flags to be left without arguments
14280 need_version=unknown
14281
14282 case $host_os in
14283 aix3*)
14284 version_type=linux
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14286 shlibpath_var=LIBPATH
14287
14288 # AIX 3 has no versioning support, so we append a major version to the name.
14289 soname_spec='${libname}${release}${shared_ext}$major'
14290 ;;
14291
14292 aix[4-9]*)
14293 version_type=linux
14294 need_lib_prefix=no
14295 need_version=no
14296 hardcode_into_libs=yes
14297 if test "$host_cpu" = ia64; then
14298 # AIX 5 supports IA64
14299 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14300 shlibpath_var=LD_LIBRARY_PATH
14301 else
14302 # With GCC up to 2.95.x, collect2 would create an import file
14303 # for dependence libraries. The import file would start with
14304 # the line `#! .'. This would cause the generated library to
14305 # depend on `.', always an invalid library. This was fixed in
14306 # development snapshots of GCC prior to 3.0.
14307 case $host_os in
14308 aix4 | aix4.[01] | aix4.[01].*)
14309 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14310 echo ' yes '
14311 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14312 :
14313 else
14314 can_build_shared=no
14315 fi
14316 ;;
14317 esac
14318 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14319 # soname into executable. Probably we can add versioning support to
14320 # collect2, so additional links can be useful in future.
14321 if test "$aix_use_runtimelinking" = yes; then
14322 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14323 # instead of lib<name>.a to let people know that these are not
14324 # typical AIX shared libraries.
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14326 else
14327 # We preserve .a as extension for shared libraries through AIX4.2
14328 # and later when we are not doing run time linking.
14329 library_names_spec='${libname}${release}.a $libname.a'
14330 soname_spec='${libname}${release}${shared_ext}$major'
14331 fi
14332 shlibpath_var=LIBPATH
14333 fi
14334 ;;
14335
14336 amigaos*)
14337 case $host_cpu in
14338 powerpc)
14339 # Since July 2007 AmigaOS4 officially supports .so libraries.
14340 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14342 ;;
14343 m68k)
14344 library_names_spec='$libname.ixlibrary $libname.a'
14345 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14346 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'
14347 ;;
14348 esac
14349 ;;
14350
14351 beos*)
14352 library_names_spec='${libname}${shared_ext}'
14353 dynamic_linker="$host_os ld.so"
14354 shlibpath_var=LIBRARY_PATH
14355 ;;
14356
14357 bsdi[45]*)
14358 version_type=linux
14359 need_version=no
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14361 soname_spec='${libname}${release}${shared_ext}$major'
14362 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14363 shlibpath_var=LD_LIBRARY_PATH
14364 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14365 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14366 # the default ld.so.conf also contains /usr/contrib/lib and
14367 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14368 # libtool to hard-code these into programs
14369 ;;
14370
14371 cygwin* | mingw* | pw32* | cegcc*)
14372 version_type=windows
14373 shrext_cmds=".dll"
14374 need_version=no
14375 need_lib_prefix=no
14376
14377 case $GCC,$cc_basename in
14378 yes,*)
14379 # gcc
14380 library_names_spec='$libname.dll.a'
14381 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14382 postinstall_cmds='base_file=`basename \${file}`~
14383 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14384 dldir=$destdir/`dirname \$dlpath`~
14385 test -d \$dldir || mkdir -p \$dldir~
14386 $install_prog $dir/$dlname \$dldir/$dlname~
14387 chmod a+x \$dldir/$dlname~
14388 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14389 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14390 fi'
14391 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14392 dlpath=$dir/\$dldll~
14393 $RM \$dlpath'
14394 shlibpath_overrides_runpath=yes
14395
14396 case $host_os in
14397 cygwin*)
14398 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14399 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14400
14401 ;;
14402 mingw* | cegcc*)
14403 # MinGW DLLs use traditional 'lib' prefix
14404 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14405 ;;
14406 pw32*)
14407 # pw32 DLLs use 'pw' prefix rather than 'lib'
14408 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14409 ;;
14410 esac
14411 dynamic_linker='Win32 ld.exe'
14412 ;;
14413
14414 *,cl*)
14415 # Native MSVC
14416 libname_spec='$name'
14417 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14418 library_names_spec='${libname}.dll.lib'
14419
14420 case $build_os in
14421 mingw*)
14422 sys_lib_search_path_spec=
14423 lt_save_ifs=$IFS
14424 IFS=';'
14425 for lt_path in $LIB
14426 do
14427 IFS=$lt_save_ifs
14428 # Let DOS variable expansion print the short 8.3 style file name.
14429 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14430 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14431 done
14432 IFS=$lt_save_ifs
14433 # Convert to MSYS style.
14434 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14435 ;;
14436 cygwin*)
14437 # Convert to unix form, then to dos form, then back to unix form
14438 # but this time dos style (no spaces!) so that the unix form looks
14439 # like /cygdrive/c/PROGRA~1:/cygdr...
14440 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14441 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14442 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14443 ;;
14444 *)
14445 sys_lib_search_path_spec="$LIB"
14446 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14447 # It is most probably a Windows format PATH.
14448 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14449 else
14450 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14451 fi
14452 # FIXME: find the short name or the path components, as spaces are
14453 # common. (e.g. "Program Files" -> "PROGRA~1")
14454 ;;
14455 esac
14456
14457 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14458 postinstall_cmds='base_file=`basename \${file}`~
14459 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14460 dldir=$destdir/`dirname \$dlpath`~
14461 test -d \$dldir || mkdir -p \$dldir~
14462 $install_prog $dir/$dlname \$dldir/$dlname'
14463 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14464 dlpath=$dir/\$dldll~
14465 $RM \$dlpath'
14466 shlibpath_overrides_runpath=yes
14467 dynamic_linker='Win32 link.exe'
14468 ;;
14469
14470 *)
14471 # Assume MSVC wrapper
14472 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14473 dynamic_linker='Win32 ld.exe'
14474 ;;
14475 esac
14476 # FIXME: first we should search . and the directory the executable is in
14477 shlibpath_var=PATH
14478 ;;
14479
14480 darwin* | rhapsody*)
14481 dynamic_linker="$host_os dyld"
14482 version_type=darwin
14483 need_lib_prefix=no
14484 need_version=no
14485 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14486 soname_spec='${libname}${release}${major}$shared_ext'
14487 shlibpath_overrides_runpath=yes
14488 shlibpath_var=DYLD_LIBRARY_PATH
14489 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14490
14491 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14492 ;;
14493
14494 dgux*)
14495 version_type=linux
14496 need_lib_prefix=no
14497 need_version=no
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 ;;
14502
14503 freebsd1*)
14504 dynamic_linker=no
14505 ;;
14506
14507 freebsd* | dragonfly*)
14508 # DragonFly does not have aout. When/if they implement a new
14509 # versioning mechanism, adjust this.
14510 if test -x /usr/bin/objformat; then
14511 objformat=`/usr/bin/objformat`
14512 else
14513 case $host_os in
14514 freebsd[123]*) objformat=aout ;;
14515 *) objformat=elf ;;
14516 esac
14517 fi
14518 version_type=freebsd-$objformat
14519 case $version_type in
14520 freebsd-elf*)
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14522 need_version=no
14523 need_lib_prefix=no
14524 ;;
14525 freebsd-*)
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14527 need_version=yes
14528 ;;
14529 esac
14530 shlibpath_var=LD_LIBRARY_PATH
14531 case $host_os in
14532 freebsd2*)
14533 shlibpath_overrides_runpath=yes
14534 ;;
14535 freebsd3.[01]* | freebsdelf3.[01]*)
14536 shlibpath_overrides_runpath=yes
14537 hardcode_into_libs=yes
14538 ;;
14539 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14540 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14541 shlibpath_overrides_runpath=no
14542 hardcode_into_libs=yes
14543 ;;
14544 *) # from 4.6 on, and DragonFly
14545 shlibpath_overrides_runpath=yes
14546 hardcode_into_libs=yes
14547 ;;
14548 esac
14549 ;;
14550
14551 gnu*)
14552 version_type=linux
14553 need_lib_prefix=no
14554 need_version=no
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14556 soname_spec='${libname}${release}${shared_ext}$major'
14557 shlibpath_var=LD_LIBRARY_PATH
14558 hardcode_into_libs=yes
14559 ;;
14560
14561 haiku*)
14562 version_type=linux
14563 need_lib_prefix=no
14564 need_version=no
14565 dynamic_linker="$host_os runtime_loader"
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14567 soname_spec='${libname}${release}${shared_ext}$major'
14568 shlibpath_var=LIBRARY_PATH
14569 shlibpath_overrides_runpath=yes
14570 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14571 hardcode_into_libs=yes
14572 ;;
14573
14574 hpux9* | hpux10* | hpux11*)
14575 # Give a soname corresponding to the major version so that dld.sl refuses to
14576 # link against other versions.
14577 version_type=sunos
14578 need_lib_prefix=no
14579 need_version=no
14580 case $host_cpu in
14581 ia64*)
14582 shrext_cmds='.so'
14583 hardcode_into_libs=yes
14584 dynamic_linker="$host_os dld.so"
14585 shlibpath_var=LD_LIBRARY_PATH
14586 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14588 soname_spec='${libname}${release}${shared_ext}$major'
14589 if test "X$HPUX_IA64_MODE" = X32; then
14590 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14591 else
14592 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14593 fi
14594 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14595 ;;
14596 hppa*64*)
14597 shrext_cmds='.sl'
14598 hardcode_into_libs=yes
14599 dynamic_linker="$host_os dld.sl"
14600 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14601 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14605 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14606 ;;
14607 *)
14608 shrext_cmds='.sl'
14609 dynamic_linker="$host_os dld.sl"
14610 shlibpath_var=SHLIB_PATH
14611 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14613 soname_spec='${libname}${release}${shared_ext}$major'
14614 ;;
14615 esac
14616 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14617 postinstall_cmds='chmod 555 $lib'
14618 # or fails outright, so override atomically:
14619 install_override_mode=555
14620 ;;
14621
14622 interix[3-9]*)
14623 version_type=linux
14624 need_lib_prefix=no
14625 need_version=no
14626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14627 soname_spec='${libname}${release}${shared_ext}$major'
14628 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14629 shlibpath_var=LD_LIBRARY_PATH
14630 shlibpath_overrides_runpath=no
14631 hardcode_into_libs=yes
14632 ;;
14633
14634 irix5* | irix6* | nonstopux*)
14635 case $host_os in
14636 nonstopux*) version_type=nonstopux ;;
14637 *)
14638 if test "$lt_cv_prog_gnu_ld" = yes; then
14639 version_type=linux
14640 else
14641 version_type=irix
14642 fi ;;
14643 esac
14644 need_lib_prefix=no
14645 need_version=no
14646 soname_spec='${libname}${release}${shared_ext}$major'
14647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14648 case $host_os in
14649 irix5* | nonstopux*)
14650 libsuff= shlibsuff=
14651 ;;
14652 *)
14653 case $LD in # libtool.m4 will add one of these switches to LD
14654 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14655 libsuff= shlibsuff= libmagic=32-bit;;
14656 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14657 libsuff=32 shlibsuff=N32 libmagic=N32;;
14658 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14659 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14660 *) libsuff= shlibsuff= libmagic=never-match;;
14661 esac
14662 ;;
14663 esac
14664 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14665 shlibpath_overrides_runpath=no
14666 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14667 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14668 hardcode_into_libs=yes
14669 ;;
14670
14671 # No shared lib support for Linux oldld, aout, or coff.
14672 linux*oldld* | linux*aout* | linux*coff*)
14673 dynamic_linker=no
14674 ;;
14675
14676 # This must be Linux ELF.
14677 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14678 version_type=linux
14679 need_lib_prefix=no
14680 need_version=no
14681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14682 soname_spec='${libname}${release}${shared_ext}$major'
14683 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=no
14686
14687 # Some binutils ld are patched to set DT_RUNPATH
14688 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 lt_cv_shlibpath_overrides_runpath=no
14692 save_LDFLAGS=$LDFLAGS
14693 save_libdir=$libdir
14694 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14695 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698
14699 int
14700 main ()
14701 {
14702
14703 ;
14704 return 0;
14705 }
14706 _ACEOF
14707 if ac_fn_cxx_try_link "$LINENO"; then :
14708 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14709 lt_cv_shlibpath_overrides_runpath=yes
14710 fi
14711 fi
14712 rm -f core conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14714 LDFLAGS=$save_LDFLAGS
14715 libdir=$save_libdir
14716
14717 fi
14718
14719 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14720
14721 # This implies no fast_install, which is unacceptable.
14722 # Some rework will be needed to allow for fast_install
14723 # before this can be enabled.
14724 hardcode_into_libs=yes
14725
14726 # Append ld.so.conf contents to the search path
14727 if test -f /etc/ld.so.conf; then
14728 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' ' '`
14729 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14730 fi
14731
14732 # We used to test for /lib/ld.so.1 and disable shared libraries on
14733 # powerpc, because MkLinux only supported shared libraries with the
14734 # GNU dynamic linker. Since this was broken with cross compilers,
14735 # most powerpc-linux boxes support dynamic linking these days and
14736 # people can always --disable-shared, the test was removed, and we
14737 # assume the GNU/Linux dynamic linker is in use.
14738 dynamic_linker='GNU/Linux ld.so'
14739 ;;
14740
14741 netbsd*)
14742 version_type=sunos
14743 need_lib_prefix=no
14744 need_version=no
14745 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14747 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14748 dynamic_linker='NetBSD (a.out) ld.so'
14749 else
14750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14751 soname_spec='${libname}${release}${shared_ext}$major'
14752 dynamic_linker='NetBSD ld.elf_so'
14753 fi
14754 shlibpath_var=LD_LIBRARY_PATH
14755 shlibpath_overrides_runpath=yes
14756 hardcode_into_libs=yes
14757 ;;
14758
14759 newsos6)
14760 version_type=linux
14761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14762 shlibpath_var=LD_LIBRARY_PATH
14763 shlibpath_overrides_runpath=yes
14764 ;;
14765
14766 *nto* | *qnx*)
14767 version_type=qnx
14768 need_lib_prefix=no
14769 need_version=no
14770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14771 soname_spec='${libname}${release}${shared_ext}$major'
14772 shlibpath_var=LD_LIBRARY_PATH
14773 shlibpath_overrides_runpath=no
14774 hardcode_into_libs=yes
14775 dynamic_linker='ldqnx.so'
14776 ;;
14777
14778 openbsd*)
14779 version_type=sunos
14780 sys_lib_dlsearch_path_spec="/usr/lib"
14781 need_lib_prefix=no
14782 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14783 case $host_os in
14784 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14785 *) need_version=no ;;
14786 esac
14787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14788 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14789 shlibpath_var=LD_LIBRARY_PATH
14790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14791 case $host_os in
14792 openbsd2.[89] | openbsd2.[89].*)
14793 shlibpath_overrides_runpath=no
14794 ;;
14795 *)
14796 shlibpath_overrides_runpath=yes
14797 ;;
14798 esac
14799 else
14800 shlibpath_overrides_runpath=yes
14801 fi
14802 ;;
14803
14804 os2*)
14805 libname_spec='$name'
14806 shrext_cmds=".dll"
14807 need_lib_prefix=no
14808 library_names_spec='$libname${shared_ext} $libname.a'
14809 dynamic_linker='OS/2 ld.exe'
14810 shlibpath_var=LIBPATH
14811 ;;
14812
14813 osf3* | osf4* | osf5*)
14814 version_type=osf
14815 need_lib_prefix=no
14816 need_version=no
14817 soname_spec='${libname}${release}${shared_ext}$major'
14818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14819 shlibpath_var=LD_LIBRARY_PATH
14820 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14821 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14822 ;;
14823
14824 rdos*)
14825 dynamic_linker=no
14826 ;;
14827
14828 solaris*)
14829 version_type=linux
14830 need_lib_prefix=no
14831 need_version=no
14832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14833 soname_spec='${libname}${release}${shared_ext}$major'
14834 shlibpath_var=LD_LIBRARY_PATH
14835 shlibpath_overrides_runpath=yes
14836 hardcode_into_libs=yes
14837 # ldd complains unless libraries are executable
14838 postinstall_cmds='chmod +x $lib'
14839 ;;
14840
14841 sunos4*)
14842 version_type=sunos
14843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14844 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14845 shlibpath_var=LD_LIBRARY_PATH
14846 shlibpath_overrides_runpath=yes
14847 if test "$with_gnu_ld" = yes; then
14848 need_lib_prefix=no
14849 fi
14850 need_version=yes
14851 ;;
14852
14853 sysv4 | sysv4.3*)
14854 version_type=linux
14855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14856 soname_spec='${libname}${release}${shared_ext}$major'
14857 shlibpath_var=LD_LIBRARY_PATH
14858 case $host_vendor in
14859 sni)
14860 shlibpath_overrides_runpath=no
14861 need_lib_prefix=no
14862 runpath_var=LD_RUN_PATH
14863 ;;
14864 siemens)
14865 need_lib_prefix=no
14866 ;;
14867 motorola)
14868 need_lib_prefix=no
14869 need_version=no
14870 shlibpath_overrides_runpath=no
14871 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14872 ;;
14873 esac
14874 ;;
14875
14876 sysv4*MP*)
14877 if test -d /usr/nec ;then
14878 version_type=linux
14879 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14880 soname_spec='$libname${shared_ext}.$major'
14881 shlibpath_var=LD_LIBRARY_PATH
14882 fi
14883 ;;
14884
14885 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14886 version_type=freebsd-elf
14887 need_lib_prefix=no
14888 need_version=no
14889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14890 soname_spec='${libname}${release}${shared_ext}$major'
14891 shlibpath_var=LD_LIBRARY_PATH
14892 shlibpath_overrides_runpath=yes
14893 hardcode_into_libs=yes
14894 if test "$with_gnu_ld" = yes; then
14895 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14896 else
14897 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14898 case $host_os in
14899 sco3.2v5*)
14900 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14901 ;;
14902 esac
14903 fi
14904 sys_lib_dlsearch_path_spec='/usr/lib'
14905 ;;
14906
14907 tpf*)
14908 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14909 version_type=linux
14910 need_lib_prefix=no
14911 need_version=no
14912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14913 shlibpath_var=LD_LIBRARY_PATH
14914 shlibpath_overrides_runpath=no
14915 hardcode_into_libs=yes
14916 ;;
14917
14918 uts4*)
14919 version_type=linux
14920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14921 soname_spec='${libname}${release}${shared_ext}$major'
14922 shlibpath_var=LD_LIBRARY_PATH
14923 ;;
14924
14925 *)
14926 dynamic_linker=no
14927 ;;
14928 esac
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14930 $as_echo "$dynamic_linker" >&6; }
14931 test "$dynamic_linker" = no && can_build_shared=no
14932
14933 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14934 if test "$GCC" = yes; then
14935 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14936 fi
14937
14938 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14939 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14940 fi
14941 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14942 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14943 fi
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14983 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14984 hardcode_action_CXX=
14985 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14986 test -n "$runpath_var_CXX" ||
14987 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14988
14989 # We can hardcode non-existent directories.
14990 if test "$hardcode_direct_CXX" != no &&
14991 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14992 # have to relink, otherwise we might link with an installed library
14993 # when we should be linking with a yet-to-be-installed one
14994 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14995 test "$hardcode_minus_L_CXX" != no; then
14996 # Linking always hardcodes the temporary library directory.
14997 hardcode_action_CXX=relink
14998 else
14999 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15000 hardcode_action_CXX=immediate
15001 fi
15002 else
15003 # We cannot hardcode anything, or else we can only hardcode existing
15004 # directories.
15005 hardcode_action_CXX=unsupported
15006 fi
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15008 $as_echo "$hardcode_action_CXX" >&6; }
15009
15010 if test "$hardcode_action_CXX" = relink ||
15011 test "$inherit_rpath_CXX" = yes; then
15012 # Fast installation is not supported
15013 enable_fast_install=no
15014 elif test "$shlibpath_overrides_runpath" = yes ||
15015 test "$enable_shared" = no; then
15016 # Fast installation is not necessary
15017 enable_fast_install=needless
15018 fi
15019
15020
15021
15022
15023
15024
15025
15026 fi # test -n "$compiler"
15027
15028 CC=$lt_save_CC
15029 CFLAGS=$lt_save_CFLAGS
15030 LDCXX=$LD
15031 LD=$lt_save_LD
15032 GCC=$lt_save_GCC
15033 with_gnu_ld=$lt_save_with_gnu_ld
15034 lt_cv_path_LDCXX=$lt_cv_path_LD
15035 lt_cv_path_LD=$lt_save_path_LD
15036 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15037 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15038 fi # test "$_lt_caught_CXX_error" != yes
15039
15040 ac_ext=c
15041 ac_cpp='$CPP $CPPFLAGS'
15042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058 ac_config_commands="$ac_config_commands libtool"
15059
15060
15061
15062
15063 # Only expand once:
15064
15065
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
15067 $as_echo_n "checking whether ln -s works... " >&6; }
15068 LN_S=$as_ln_s
15069 if test "$LN_S" = "ln -s"; then
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15071 $as_echo "yes" >&6; }
15072 else
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
15074 $as_echo "no, using $LN_S" >&6; }
15075 fi
15076
15077
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15079 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15080 if ${ac_cv_c_bigendian+:} false; then :
15081 $as_echo_n "(cached) " >&6
15082 else
15083 ac_cv_c_bigendian=unknown
15084 # See if we're dealing with a universal compiler.
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15087 #ifndef __APPLE_CC__
15088 not a universal capable compiler
15089 #endif
15090 typedef int dummy;
15091
15092 _ACEOF
15093 if ac_fn_c_try_compile "$LINENO"; then :
15094
15095 # Check for potential -arch flags. It is not universal unless
15096 # there are at least two -arch flags with different values.
15097 ac_arch=
15098 ac_prev=
15099 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15100 if test -n "$ac_prev"; then
15101 case $ac_word in
15102 i?86 | x86_64 | ppc | ppc64)
15103 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15104 ac_arch=$ac_word
15105 else
15106 ac_cv_c_bigendian=universal
15107 break
15108 fi
15109 ;;
15110 esac
15111 ac_prev=
15112 elif test "x$ac_word" = "x-arch"; then
15113 ac_prev=arch
15114 fi
15115 done
15116 fi
15117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15118 if test $ac_cv_c_bigendian = unknown; then
15119 # See if sys/param.h defines the BYTE_ORDER macro.
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 #include <sys/types.h>
15123 #include <sys/param.h>
15124
15125 int
15126 main ()
15127 {
15128 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15129 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15130 && LITTLE_ENDIAN)
15131 bogus endian macros
15132 #endif
15133
15134 ;
15135 return 0;
15136 }
15137 _ACEOF
15138 if ac_fn_c_try_compile "$LINENO"; then :
15139 # It does; now see whether it defined to BIG_ENDIAN or not.
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 #include <sys/types.h>
15143 #include <sys/param.h>
15144
15145 int
15146 main ()
15147 {
15148 #if BYTE_ORDER != BIG_ENDIAN
15149 not big endian
15150 #endif
15151
15152 ;
15153 return 0;
15154 }
15155 _ACEOF
15156 if ac_fn_c_try_compile "$LINENO"; then :
15157 ac_cv_c_bigendian=yes
15158 else
15159 ac_cv_c_bigendian=no
15160 fi
15161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15162 fi
15163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 fi
15165 if test $ac_cv_c_bigendian = unknown; then
15166 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169 #include <limits.h>
15170
15171 int
15172 main ()
15173 {
15174 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15175 bogus endian macros
15176 #endif
15177
15178 ;
15179 return 0;
15180 }
15181 _ACEOF
15182 if ac_fn_c_try_compile "$LINENO"; then :
15183 # It does; now see whether it defined to _BIG_ENDIAN or not.
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15186 #include <limits.h>
15187
15188 int
15189 main ()
15190 {
15191 #ifndef _BIG_ENDIAN
15192 not big endian
15193 #endif
15194
15195 ;
15196 return 0;
15197 }
15198 _ACEOF
15199 if ac_fn_c_try_compile "$LINENO"; then :
15200 ac_cv_c_bigendian=yes
15201 else
15202 ac_cv_c_bigendian=no
15203 fi
15204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205 fi
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15207 fi
15208 if test $ac_cv_c_bigendian = unknown; then
15209 # Compile a test program.
15210 if test "$cross_compiling" = yes; then :
15211 # Try to guess by grepping values from an object file.
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15214 short int ascii_mm[] =
15215 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15216 short int ascii_ii[] =
15217 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15218 int use_ascii (int i) {
15219 return ascii_mm[i] + ascii_ii[i];
15220 }
15221 short int ebcdic_ii[] =
15222 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15223 short int ebcdic_mm[] =
15224 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15225 int use_ebcdic (int i) {
15226 return ebcdic_mm[i] + ebcdic_ii[i];
15227 }
15228 extern int foo;
15229
15230 int
15231 main ()
15232 {
15233 return use_ascii (foo) == use_ebcdic (foo);
15234 ;
15235 return 0;
15236 }
15237 _ACEOF
15238 if ac_fn_c_try_compile "$LINENO"; then :
15239 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15240 ac_cv_c_bigendian=yes
15241 fi
15242 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15243 if test "$ac_cv_c_bigendian" = unknown; then
15244 ac_cv_c_bigendian=no
15245 else
15246 # finding both strings is unlikely to happen, but who knows?
15247 ac_cv_c_bigendian=unknown
15248 fi
15249 fi
15250 fi
15251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15252 else
15253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15254 /* end confdefs.h. */
15255 $ac_includes_default
15256 int
15257 main ()
15258 {
15259
15260 /* Are we little or big endian? From Harbison&Steele. */
15261 union
15262 {
15263 long int l;
15264 char c[sizeof (long int)];
15265 } u;
15266 u.l = 1;
15267 return u.c[sizeof (long int) - 1] == 1;
15268
15269 ;
15270 return 0;
15271 }
15272 _ACEOF
15273 if ac_fn_c_try_run "$LINENO"; then :
15274 ac_cv_c_bigendian=no
15275 else
15276 ac_cv_c_bigendian=yes
15277 fi
15278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15279 conftest.$ac_objext conftest.beam conftest.$ac_ext
15280 fi
15281
15282 fi
15283 fi
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15285 $as_echo "$ac_cv_c_bigendian" >&6; }
15286 case $ac_cv_c_bigendian in #(
15287 yes)
15288 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15289 ;; #(
15290 no)
15291 ;; #(
15292 universal)
15293
15294 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15295
15296 ;; #(
15297 *)
15298 as_fn_error $? "unknown endianness
15299 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15300 esac
15301
15302
15303 for ac_header in ladspa.h
15304 do :
15305 ac_fn_c_check_header_mongrel "$LINENO" "ladspa.h" "ac_cv_header_ladspa_h" "$ac_includes_default"
15306 if test "x$ac_cv_header_ladspa_h" = xyes; then :
15307 cat >>confdefs.h <<_ACEOF
15308 #define HAVE_LADSPA_H 1
15309 _ACEOF
15310
15311 fi
15312
15313 done
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15324 if test -n "$ac_tool_prefix"; then
15325 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15326 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15328 $as_echo_n "checking for $ac_word... " >&6; }
15329 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15330 $as_echo_n "(cached) " >&6
15331 else
15332 case $PKG_CONFIG in
15333 [\\/]* | ?:[\\/]*)
15334 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15335 ;;
15336 *)
15337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15338 for as_dir in $PATH
15339 do
15340 IFS=$as_save_IFS
15341 test -z "$as_dir" && as_dir=.
15342 for ac_exec_ext in '' $ac_executable_extensions; do
15343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15344 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15346 break 2
15347 fi
15348 done
15349 done
15350 IFS=$as_save_IFS
15351
15352 ;;
15353 esac
15354 fi
15355 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15356 if test -n "$PKG_CONFIG"; then
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15358 $as_echo "$PKG_CONFIG" >&6; }
15359 else
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15361 $as_echo "no" >&6; }
15362 fi
15363
15364
15365 fi
15366 if test -z "$ac_cv_path_PKG_CONFIG"; then
15367 ac_pt_PKG_CONFIG=$PKG_CONFIG
15368 # Extract the first word of "pkg-config", so it can be a program name with args.
15369 set dummy pkg-config; ac_word=$2
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15371 $as_echo_n "checking for $ac_word... " >&6; }
15372 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15373 $as_echo_n "(cached) " >&6
15374 else
15375 case $ac_pt_PKG_CONFIG in
15376 [\\/]* | ?:[\\/]*)
15377 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15378 ;;
15379 *)
15380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15381 for as_dir in $PATH
15382 do
15383 IFS=$as_save_IFS
15384 test -z "$as_dir" && as_dir=.
15385 for ac_exec_ext in '' $ac_executable_extensions; do
15386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15387 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15389 break 2
15390 fi
15391 done
15392 done
15393 IFS=$as_save_IFS
15394
15395 ;;
15396 esac
15397 fi
15398 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15399 if test -n "$ac_pt_PKG_CONFIG"; then
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15401 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15402 else
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15404 $as_echo "no" >&6; }
15405 fi
15406
15407 if test "x$ac_pt_PKG_CONFIG" = x; then
15408 PKG_CONFIG=""
15409 else
15410 case $cross_compiling:$ac_tool_warned in
15411 yes:)
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15414 ac_tool_warned=yes ;;
15415 esac
15416 PKG_CONFIG=$ac_pt_PKG_CONFIG
15417 fi
15418 else
15419 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15420 fi
15421
15422 fi
15423 if test -n "$PKG_CONFIG"; then
15424 _pkg_min_version=0.9.0
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15426 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15427 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15429 $as_echo "yes" >&6; }
15430 else
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15432 $as_echo "no" >&6; }
15433 PKG_CONFIG=""
15434 fi
15435 fi
15436
15437 pkg_failed=no
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15439 $as_echo_n "checking for ALSA... " >&6; }
15440
15441 if test -n "$ALSA_CFLAGS"; then
15442 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15443 elif test -n "$PKG_CONFIG"; then
15444 if test -n "$PKG_CONFIG" && \
15445 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
15446 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
15447 ac_status=$?
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }; then
15450 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9" 2>/dev/null`
15451 test "x$?" != "x0" && pkg_failed=yes
15452 else
15453 pkg_failed=yes
15454 fi
15455 else
15456 pkg_failed=untried
15457 fi
15458 if test -n "$ALSA_LIBS"; then
15459 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15460 elif test -n "$PKG_CONFIG"; then
15461 if test -n "$PKG_CONFIG" && \
15462 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9\""; } >&5
15463 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9") 2>&5
15464 ac_status=$?
15465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466 test $ac_status = 0; }; then
15467 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9" 2>/dev/null`
15468 test "x$?" != "x0" && pkg_failed=yes
15469 else
15470 pkg_failed=yes
15471 fi
15472 else
15473 pkg_failed=untried
15474 fi
15475
15476
15477
15478 if test $pkg_failed = yes; then
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15480 $as_echo "no" >&6; }
15481
15482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15483 _pkg_short_errors_supported=yes
15484 else
15485 _pkg_short_errors_supported=no
15486 fi
15487 if test $_pkg_short_errors_supported = yes; then
15488 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= 0.9" 2>&1`
15489 else
15490 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= 0.9" 2>&1`
15491 fi
15492 # Put the nasty error message in config.log where it belongs
15493 echo "$ALSA_PKG_ERRORS" >&5
15494
15495 with_alsa=no
15496 elif test $pkg_failed = untried; then
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15498 $as_echo "no" >&6; }
15499 with_alsa=no
15500 else
15501 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15502 ALSA_LIBS=$pkg_cv_ALSA_LIBS
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15504 $as_echo "yes" >&6; }
15505 with_alsa=ALSA
15506 fi
15507 if test "x${with_alsa}" = xno ; then
15508
15509 pkg_failed=no
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15511 $as_echo_n "checking for ALSA... " >&6; }
15512
15513 if test -n "$ALSA_CFLAGS"; then
15514 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15515 elif test -n "$PKG_CONFIG"; then
15516 if test -n "$PKG_CONFIG" && \
15517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
15518 ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
15519 ac_status=$?
15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521 test $ac_status = 0; }; then
15522 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat" 2>/dev/null`
15523 test "x$?" != "x0" && pkg_failed=yes
15524 else
15525 pkg_failed=yes
15526 fi
15527 else
15528 pkg_failed=untried
15529 fi
15530 if test -n "$ALSA_LIBS"; then
15531 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15532 elif test -n "$PKG_CONFIG"; then
15533 if test -n "$PKG_CONFIG" && \
15534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
15535 ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
15536 ac_status=$?
15537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15538 test $ac_status = 0; }; then
15539 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "libdssialsacompat" 2>/dev/null`
15540 test "x$?" != "x0" && pkg_failed=yes
15541 else
15542 pkg_failed=yes
15543 fi
15544 else
15545 pkg_failed=untried
15546 fi
15547
15548
15549
15550 if test $pkg_failed = yes; then
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15552 $as_echo "no" >&6; }
15553
15554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15555 _pkg_short_errors_supported=yes
15556 else
15557 _pkg_short_errors_supported=no
15558 fi
15559 if test $_pkg_short_errors_supported = yes; then
15560 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdssialsacompat" 2>&1`
15561 else
15562 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdssialsacompat" 2>&1`
15563 fi
15564 # Put the nasty error message in config.log where it belongs
15565 echo "$ALSA_PKG_ERRORS" >&5
15566
15567 as_fn_error $? "neither ALSA nor libdssialsacompat found" "$LINENO" 5
15568 elif test $pkg_failed = untried; then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15570 $as_echo "no" >&6; }
15571 as_fn_error $? "neither ALSA nor libdssialsacompat found" "$LINENO" 5
15572 else
15573 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15574 ALSA_LIBS=$pkg_cv_ALSA_LIBS
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15576 $as_echo "yes" >&6; }
15577 with_alsa=libdssialsacompat
15578 fi
15579 fi
15580
15581
15582
15583
15584 pkg_failed=no
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBLO" >&5
15586 $as_echo_n "checking for LIBLO... " >&6; }
15587
15588 if test -n "$LIBLO_CFLAGS"; then
15589 pkg_cv_LIBLO_CFLAGS="$LIBLO_CFLAGS"
15590 elif test -n "$PKG_CONFIG"; then
15591 if test -n "$PKG_CONFIG" && \
15592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo >= 0.12\""; } >&5
15593 ($PKG_CONFIG --exists --print-errors "liblo >= 0.12") 2>&5
15594 ac_status=$?
15595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15596 test $ac_status = 0; }; then
15597 pkg_cv_LIBLO_CFLAGS=`$PKG_CONFIG --cflags "liblo >= 0.12" 2>/dev/null`
15598 test "x$?" != "x0" && pkg_failed=yes
15599 else
15600 pkg_failed=yes
15601 fi
15602 else
15603 pkg_failed=untried
15604 fi
15605 if test -n "$LIBLO_LIBS"; then
15606 pkg_cv_LIBLO_LIBS="$LIBLO_LIBS"
15607 elif test -n "$PKG_CONFIG"; then
15608 if test -n "$PKG_CONFIG" && \
15609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblo >= 0.12\""; } >&5
15610 ($PKG_CONFIG --exists --print-errors "liblo >= 0.12") 2>&5
15611 ac_status=$?
15612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15613 test $ac_status = 0; }; then
15614 pkg_cv_LIBLO_LIBS=`$PKG_CONFIG --libs "liblo >= 0.12" 2>/dev/null`
15615 test "x$?" != "x0" && pkg_failed=yes
15616 else
15617 pkg_failed=yes
15618 fi
15619 else
15620 pkg_failed=untried
15621 fi
15622
15623
15624
15625 if test $pkg_failed = yes; then
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627 $as_echo "no" >&6; }
15628
15629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15630 _pkg_short_errors_supported=yes
15631 else
15632 _pkg_short_errors_supported=no
15633 fi
15634 if test $_pkg_short_errors_supported = yes; then
15635 LIBLO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblo >= 0.12" 2>&1`
15636 else
15637 LIBLO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblo >= 0.12" 2>&1`
15638 fi
15639 # Put the nasty error message in config.log where it belongs
15640 echo "$LIBLO_PKG_ERRORS" >&5
15641
15642 with_liblo=no
15643 elif test $pkg_failed = untried; then
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15645 $as_echo "no" >&6; }
15646 with_liblo=no
15647 else
15648 LIBLO_CFLAGS=$pkg_cv_LIBLO_CFLAGS
15649 LIBLO_LIBS=$pkg_cv_LIBLO_LIBS
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15651 $as_echo "yes" >&6; }
15652 with_liblo=yes
15653 fi
15654
15655
15656 if test x$with_liblo = xyes; then
15657 HAVE_LIBLO_TRUE=
15658 HAVE_LIBLO_FALSE='#'
15659 else
15660 HAVE_LIBLO_TRUE='#'
15661 HAVE_LIBLO_FALSE=
15662 fi
15663
15664
15665
15666 pkg_failed=no
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
15668 $as_echo_n "checking for JACK... " >&6; }
15669
15670 if test -n "$JACK_CFLAGS"; then
15671 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
15672 elif test -n "$PKG_CONFIG"; then
15673 if test -n "$PKG_CONFIG" && \
15674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.14\""; } >&5
15675 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.14") 2>&5
15676 ac_status=$?
15677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15678 test $ac_status = 0; }; then
15679 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.14" 2>/dev/null`
15680 test "x$?" != "x0" && pkg_failed=yes
15681 else
15682 pkg_failed=yes
15683 fi
15684 else
15685 pkg_failed=untried
15686 fi
15687 if test -n "$JACK_LIBS"; then
15688 pkg_cv_JACK_LIBS="$JACK_LIBS"
15689 elif test -n "$PKG_CONFIG"; then
15690 if test -n "$PKG_CONFIG" && \
15691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.14\""; } >&5
15692 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.14") 2>&5
15693 ac_status=$?
15694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15695 test $ac_status = 0; }; then
15696 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.14" 2>/dev/null`
15697 test "x$?" != "x0" && pkg_failed=yes
15698 else
15699 pkg_failed=yes
15700 fi
15701 else
15702 pkg_failed=untried
15703 fi
15704
15705
15706
15707 if test $pkg_failed = yes; then
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15709 $as_echo "no" >&6; }
15710
15711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15712 _pkg_short_errors_supported=yes
15713 else
15714 _pkg_short_errors_supported=no
15715 fi
15716 if test $_pkg_short_errors_supported = yes; then
15717 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack >= 0.99.14" 2>&1`
15718 else
15719 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack >= 0.99.14" 2>&1`
15720 fi
15721 # Put the nasty error message in config.log where it belongs
15722 echo "$JACK_PKG_ERRORS" >&5
15723
15724 with_jack=no
15725 elif test $pkg_failed = untried; then
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15727 $as_echo "no" >&6; }
15728 with_jack=no
15729 else
15730 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
15731 JACK_LIBS=$pkg_cv_JACK_LIBS
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15733 $as_echo "yes" >&6; }
15734 with_jack=yes
15735 fi
15736
15737
15738 if test x$with_jack = xyes; then
15739 HAVE_JACK_TRUE=
15740 HAVE_JACK_FALSE='#'
15741 else
15742 HAVE_JACK_TRUE='#'
15743 HAVE_JACK_FALSE=
15744 fi
15745
15746
15747
15748 pkg_failed=no
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15750 $as_echo_n "checking for SNDFILE... " >&6; }
15751
15752 if test -n "$SNDFILE_CFLAGS"; then
15753 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15754 elif test -n "$PKG_CONFIG"; then
15755 if test -n "$PKG_CONFIG" && \
15756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
15757 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
15758 ac_status=$?
15759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15760 test $ac_status = 0; }; then
15761 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null`
15762 test "x$?" != "x0" && pkg_failed=yes
15763 else
15764 pkg_failed=yes
15765 fi
15766 else
15767 pkg_failed=untried
15768 fi
15769 if test -n "$SNDFILE_LIBS"; then
15770 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15771 elif test -n "$PKG_CONFIG"; then
15772 if test -n "$PKG_CONFIG" && \
15773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
15774 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
15775 ac_status=$?
15776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15777 test $ac_status = 0; }; then
15778 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null`
15779 test "x$?" != "x0" && pkg_failed=yes
15780 else
15781 pkg_failed=yes
15782 fi
15783 else
15784 pkg_failed=untried
15785 fi
15786
15787
15788
15789 if test $pkg_failed = yes; then
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15791 $as_echo "no" >&6; }
15792
15793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15794 _pkg_short_errors_supported=yes
15795 else
15796 _pkg_short_errors_supported=no
15797 fi
15798 if test $_pkg_short_errors_supported = yes; then
15799 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1`
15800 else
15801 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1`
15802 fi
15803 # Put the nasty error message in config.log where it belongs
15804 echo "$SNDFILE_PKG_ERRORS" >&5
15805
15806 with_sndfile=no
15807 elif test $pkg_failed = untried; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15809 $as_echo "no" >&6; }
15810 with_sndfile=no
15811 else
15812 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15813 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15815 $as_echo "yes" >&6; }
15816 with_sndfile=yes
15817 fi
15818
15819 pkg_failed=no
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRC" >&5
15821 $as_echo_n "checking for SRC... " >&6; }
15822
15823 if test -n "$SRC_CFLAGS"; then
15824 pkg_cv_SRC_CFLAGS="$SRC_CFLAGS"
15825 elif test -n "$PKG_CONFIG"; then
15826 if test -n "$PKG_CONFIG" && \
15827 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5
15828 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
15829 ac_status=$?
15830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15831 test $ac_status = 0; }; then
15832 pkg_cv_SRC_CFLAGS=`$PKG_CONFIG --cflags "samplerate" 2>/dev/null`
15833 test "x$?" != "x0" && pkg_failed=yes
15834 else
15835 pkg_failed=yes
15836 fi
15837 else
15838 pkg_failed=untried
15839 fi
15840 if test -n "$SRC_LIBS"; then
15841 pkg_cv_SRC_LIBS="$SRC_LIBS"
15842 elif test -n "$PKG_CONFIG"; then
15843 if test -n "$PKG_CONFIG" && \
15844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate\""; } >&5
15845 ($PKG_CONFIG --exists --print-errors "samplerate") 2>&5
15846 ac_status=$?
15847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15848 test $ac_status = 0; }; then
15849 pkg_cv_SRC_LIBS=`$PKG_CONFIG --libs "samplerate" 2>/dev/null`
15850 test "x$?" != "x0" && pkg_failed=yes
15851 else
15852 pkg_failed=yes
15853 fi
15854 else
15855 pkg_failed=untried
15856 fi
15857
15858
15859
15860 if test $pkg_failed = yes; then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15862 $as_echo "no" >&6; }
15863
15864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15865 _pkg_short_errors_supported=yes
15866 else
15867 _pkg_short_errors_supported=no
15868 fi
15869 if test $_pkg_short_errors_supported = yes; then
15870 SRC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate" 2>&1`
15871 else
15872 SRC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate" 2>&1`
15873 fi
15874 # Put the nasty error message in config.log where it belongs
15875 echo "$SRC_PKG_ERRORS" >&5
15876
15877 with_SRC=no
15878 elif test $pkg_failed = untried; then
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15880 $as_echo "no" >&6; }
15881 with_SRC=no
15882 else
15883 SRC_CFLAGS=$pkg_cv_SRC_CFLAGS
15884 SRC_LIBS=$pkg_cv_SRC_LIBS
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15886 $as_echo "yes" >&6; }
15887 with_SRC=yes
15888 fi
15889
15890
15891
15892
15893
15894 with_qt=no
15895
15896 pkg_failed=no
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
15898 $as_echo_n "checking for QT... " >&6; }
15899
15900 if test -n "$QT_CFLAGS"; then
15901 pkg_cv_QT_CFLAGS="$QT_CFLAGS"
15902 elif test -n "$PKG_CONFIG"; then
15903 if test -n "$PKG_CONFIG" && \
15904 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.0.1 QtGui >= 4.0.1\""; } >&5
15905 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.0.1 QtGui >= 4.0.1") 2>&5
15906 ac_status=$?
15907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15908 test $ac_status = 0; }; then
15909 pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>/dev/null`
15910 test "x$?" != "x0" && pkg_failed=yes
15911 else
15912 pkg_failed=yes
15913 fi
15914 else
15915 pkg_failed=untried
15916 fi
15917 if test -n "$QT_LIBS"; then
15918 pkg_cv_QT_LIBS="$QT_LIBS"
15919 elif test -n "$PKG_CONFIG"; then
15920 if test -n "$PKG_CONFIG" && \
15921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore >= 4.0.1 QtGui >= 4.0.1\""; } >&5
15922 ($PKG_CONFIG --exists --print-errors "QtCore >= 4.0.1 QtGui >= 4.0.1") 2>&5
15923 ac_status=$?
15924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15925 test $ac_status = 0; }; then
15926 pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>/dev/null`
15927 test "x$?" != "x0" && pkg_failed=yes
15928 else
15929 pkg_failed=yes
15930 fi
15931 else
15932 pkg_failed=untried
15933 fi
15934
15935
15936
15937 if test $pkg_failed = yes; then
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15939 $as_echo "no" >&6; }
15940
15941 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15942 _pkg_short_errors_supported=yes
15943 else
15944 _pkg_short_errors_supported=no
15945 fi
15946 if test $_pkg_short_errors_supported = yes; then
15947 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>&1`
15948 else
15949 QT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "QtCore >= 4.0.1 QtGui >= 4.0.1" 2>&1`
15950 fi
15951 # Put the nasty error message in config.log where it belongs
15952 echo "$QT_PKG_ERRORS" >&5
15953
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config could not find Qt >= 4.0.1" >&5
15955 $as_echo "$as_me: pkg-config could not find Qt >= 4.0.1" >&6;}
15956 elif test $pkg_failed = untried; then
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15958 $as_echo "no" >&6; }
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config could not find Qt >= 4.0.1" >&5
15960 $as_echo "$as_me: pkg-config could not find Qt >= 4.0.1" >&6;}
15961 else
15962 QT_CFLAGS=$pkg_cv_QT_CFLAGS
15963 QT_LIBS=$pkg_cv_QT_LIBS
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15965 $as_echo "yes" >&6; }
15966 with_qt=yes
15967 QT_MOC=`$PKG_CONFIG --variable=moc_location QtCore`
15968 fi
15969 if test "x${with_qt}" = xno ; then
15970 case "${host_os}" in
15971 darwin*)
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt OS X frameworks" >&5
15973 $as_echo "$as_me: checking for Qt OS X frameworks" >&6;}
15974
15975 ac_ext=cpp
15976 ac_cpp='$CXXCPP $CPPFLAGS'
15977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15980
15981 dssi_save_cppflags="$CPPFLAGS"
15982 CPPFLAGS="$CPPFLAGS -I/Library/Frameworks/QtCore.framework/Headers"
15983 CPPFLAGS="$CPPFLAGS -I/Library/Frameworks/QtGui.framework/Headers"
15984
15985 for ac_header in QApplication
15986 do :
15987 ac_fn_cxx_check_header_mongrel "$LINENO" "QApplication" "ac_cv_header_QApplication" "$ac_includes_default"
15988 if test "x$ac_cv_header_QApplication" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_QAPPLICATION 1
15991 _ACEOF
15992 with_qt=yes
15993 fi
15994
15995 done
15996
15997 CPPFLAGS="$dssi_save_cppflags"
15998 ac_ext=c
15999 ac_cpp='$CPP $CPPFLAGS'
16000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16003
16004 if test "x${with_qt}" = xyes ; then
16005 # Extract the first word of "moc", so it can be a program name with args.
16006 set dummy moc; ac_word=$2
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16008 $as_echo_n "checking for $ac_word... " >&6; }
16009 if ${ac_cv_path_QT_MOC+:} false; then :
16010 $as_echo_n "(cached) " >&6
16011 else
16012 case $QT_MOC in
16013 [\\/]* | ?:[\\/]*)
16014 ac_cv_path_QT_MOC="$QT_MOC" # Let the user override the test with a path.
16015 ;;
16016 *)
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16019 do
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_exec_ext in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_path_QT_MOC="$as_dir/$ac_word$ac_exec_ext"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026 break 2
16027 fi
16028 done
16029 done
16030 IFS=$as_save_IFS
16031
16032 ;;
16033 esac
16034 fi
16035 QT_MOC=$ac_cv_path_QT_MOC
16036 if test -n "$QT_MOC"; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
16038 $as_echo "$QT_MOC" >&6; }
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16042 fi
16043
16044
16045 if test "x$QT_MOC" = x ; then
16046 echo moc not found
16047 with_qt=no
16048 else
16049 QT_CFLAGS="-I/Library/Frameworks/QtCore.framework/Headers"
16050 QT_CFLAGS="$QT_CFLAGS -I/Library/Frameworks/QtGui.framework/Headers"
16051 QT_LIBS="-Xlinker -framework -Xlinker QtCore -Xlinker -framework -Xlinker QtGui"
16052 fi
16053 fi
16054 ;;
16055 esac
16056 fi
16057 if test "x${with_qt}" = xyes ; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Qt is X11-based" >&5
16059 $as_echo_n "checking whether Qt is X11-based... " >&6; }
16060
16061 ac_ext=cpp
16062 ac_cpp='$CXXCPP $CPPFLAGS'
16063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16066
16067 dssi_save_cxxflags="$CXXFLAGS"
16068 CXXFLAGS="$CXXFLAGS $QT_CFLAGS"
16069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16070 /* end confdefs.h. */
16071 #include <QApplication>
16072 int
16073 main ()
16074 {
16075 #ifndef Q_WS_X11
16076 #error notX11
16077 #endif
16078
16079 ;
16080 return 0;
16081 }
16082 _ACEOF
16083 if ac_fn_cxx_try_compile "$LINENO"; then :
16084 QT_LIBS="$QT_LIBS -lX11"
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16086 $as_echo "yes" >&6; }
16087 else
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16089 $as_echo "no" >&6; }
16090 fi
16091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16092 CXXFLAGS="$dssi_save_cxxflags"
16093 ac_ext=c
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16098
16099 fi
16100
16101
16102
16103 if test x$with_qt = xyes; then
16104 HAVE_QT_TRUE=
16105 HAVE_QT_FALSE='#'
16106 else
16107 HAVE_QT_TRUE='#'
16108 HAVE_QT_FALSE=
16109 fi
16110
16111
16112 case "${host_os}" in
16113 darwin*)
16114 darwin=yes
16115
16116 $as_echo "#define MIDI_COREMIDI 1" >>confdefs.h
16117
16118 ;;
16119 *)
16120 darwin=no
16121 if test "x${with_alsa}" = xALSA ; then
16122
16123 $as_echo "#define MIDI_ALSA 1" >>confdefs.h
16124
16125 fi
16126 ;;
16127 esac
16128 if test x$darwin = xyes; then
16129 DARWIN_TRUE=
16130 DARWIN_FALSE='#'
16131 else
16132 DARWIN_TRUE='#'
16133 DARWIN_FALSE=
16134 fi
16135
16136
16137 if test "x$GCC" = "xyes"; then
16138 case " $CFLAGS " in
16139 *[\ \ ]-Wall[\ \ ]*) ;;
16140 *) CFLAGS="$CFLAGS -Wall" ;;
16141 esac
16142 fi
16143
16144 jack_dssi_host_needs=''
16145 dssi_osc_tools_needs=''
16146 trivial_sampler_needs=''
16147 less_trivial_synth_gui_needs=''
16148 trivial_sampler_gui_needs=''
16149 if test "x$with_liblo" != xyes ; then
16150 jack_dssi_host_needs="$jack_dssi_host_needs liblo"
16151 dssi_osc_tools_needs="$dssi_osc_tools_needs liblo"
16152 less_trivial_synth_gui_needs="$less_trivial_synth_gui_needs liblo"
16153 trivial_sampler_gui_needs="$trivial_sampler_gui_needs liblo"
16154 fi
16155 if test "x$with_jack" != xyes ; then
16156 jack_dssi_host_needs="$jack_dssi_host_needs JACK"
16157 fi
16158 if test "x$with_sndfile" != xyes ; then
16159 trivial_sampler_needs="$trivial_sampler_needs libsndfile"
16160 trivial_sampler_gui_needs="$trivial_sampler_gui_needs libsndfile"
16161 fi
16162 if test "x$with_SRC" != xyes ; then
16163 trivial_sampler_needs="$trivial_sampler_needs libsamplerate"
16164 fi
16165 if test -z "$trivial_sampler_needs"; then
16166 BUILD_SAMPLER_TRUE=
16167 BUILD_SAMPLER_FALSE='#'
16168 else
16169 BUILD_SAMPLER_TRUE='#'
16170 BUILD_SAMPLER_FALSE=
16171 fi
16172
16173 if test "x$with_qt" != xyes ; then
16174 less_trivial_synth_gui_needs="$less_trivial_synth_gui_needs Qt4"
16175 trivial_sampler_gui_needs="$trivial_sampler_gui_needs Qt4"
16176 fi
16177
16178 ac_config_files="$ac_config_files Makefile dssi.pc jack-dssi-host/Makefile examples/Makefile tests/Makefile"
16179
16180 cat >confcache <<\_ACEOF
16181 # This file is a shell script that caches the results of configure
16182 # tests run on this system so they can be shared between configure
16183 # scripts and configure runs, see configure's option --config-cache.
16184 # It is not useful on other systems. If it contains results you don't
16185 # want to keep, you may remove or edit it.
16186 #
16187 # config.status only pays attention to the cache file if you give it
16188 # the --recheck option to rerun configure.
16189 #
16190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16192 # following values.
16193
16194 _ACEOF
16195
16196 # The following way of writing the cache mishandles newlines in values,
16197 # but we know of no workaround that is simple, portable, and efficient.
16198 # So, we kill variables containing newlines.
16199 # Ultrix sh set writes to stderr and can't be redirected directly,
16200 # and sets the high bit in the cache file unless we assign to the vars.
16201 (
16202 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16203 eval ac_val=\$$ac_var
16204 case $ac_val in #(
16205 *${as_nl}*)
16206 case $ac_var in #(
16207 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16209 esac
16210 case $ac_var in #(
16211 _ | IFS | as_nl) ;; #(
16212 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16213 *) { eval $ac_var=; unset $ac_var;} ;;
16214 esac ;;
16215 esac
16216 done
16217
16218 (set) 2>&1 |
16219 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16220 *${as_nl}ac_space=\ *)
16221 # `set' does not quote correctly, so add quotes: double-quote
16222 # substitution turns \\\\ into \\, and sed turns \\ into \.
16223 sed -n \
16224 "s/'/'\\\\''/g;
16225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16226 ;; #(
16227 *)
16228 # `set' quotes correctly as required by POSIX, so do not add quotes.
16229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16230 ;;
16231 esac |
16232 sort
16233 ) |
16234 sed '
16235 /^ac_cv_env_/b end
16236 t clear
16237 :clear
16238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16239 t end
16240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16241 :end' >>confcache
16242 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16243 if test -w "$cache_file"; then
16244 if test "x$cache_file" != "x/dev/null"; then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16246 $as_echo "$as_me: updating cache $cache_file" >&6;}
16247 if test ! -f "$cache_file" || test -h "$cache_file"; then
16248 cat confcache >"$cache_file"
16249 else
16250 case $cache_file in #(
16251 */* | ?:*)
16252 mv -f confcache "$cache_file"$$ &&
16253 mv -f "$cache_file"$$ "$cache_file" ;; #(
16254 *)
16255 mv -f confcache "$cache_file" ;;
16256 esac
16257 fi
16258 fi
16259 else
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16261 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16262 fi
16263 fi
16264 rm -f confcache
16265
16266 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16267 # Let make expand exec_prefix.
16268 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16269
16270 DEFS=-DHAVE_CONFIG_H
16271
16272 ac_libobjs=
16273 ac_ltlibobjs=
16274 U=
16275 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16276 # 1. Remove the extension, and $U if already installed.
16277 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16278 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16279 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16280 # will be set to the directory where LIBOBJS objects are built.
16281 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16282 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16283 done
16284 LIBOBJS=$ac_libobjs
16285
16286 LTLIBOBJS=$ac_ltlibobjs
16287
16288
16289 if test -n "$EXEEXT"; then
16290 am__EXEEXT_TRUE=
16291 am__EXEEXT_FALSE='#'
16292 else
16293 am__EXEEXT_TRUE='#'
16294 am__EXEEXT_FALSE=
16295 fi
16296
16297 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16298 as_fn_error $? "conditional \"AMDEP\" was never defined.
16299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16300 fi
16301 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16302 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16304 fi
16305 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16306 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16308 fi
16309
16310 if test -z "${HAVE_LIBLO_TRUE}" && test -z "${HAVE_LIBLO_FALSE}"; then
16311 as_fn_error $? "conditional \"HAVE_LIBLO\" was never defined.
16312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16313 fi
16314 if test -z "${HAVE_JACK_TRUE}" && test -z "${HAVE_JACK_FALSE}"; then
16315 as_fn_error $? "conditional \"HAVE_JACK\" was never defined.
16316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16317 fi
16318 if test -z "${HAVE_QT_TRUE}" && test -z "${HAVE_QT_FALSE}"; then
16319 as_fn_error $? "conditional \"HAVE_QT\" was never defined.
16320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16321 fi
16322 if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
16323 as_fn_error $? "conditional \"DARWIN\" was never defined.
16324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16325 fi
16326 if test -z "${BUILD_SAMPLER_TRUE}" && test -z "${BUILD_SAMPLER_FALSE}"; then
16327 as_fn_error $? "conditional \"BUILD_SAMPLER\" was never defined.
16328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16329 fi
16330
16331 : "${CONFIG_STATUS=./config.status}"
16332 ac_write_fail=0
16333 ac_clean_files_save=$ac_clean_files
16334 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16336 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16337 as_write_fail=0
16338 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16339 #! $SHELL
16340 # Generated by $as_me.
16341 # Run this file to recreate the current configuration.
16342 # Compiler output produced by configure, useful for debugging
16343 # configure, is in config.log if it exists.
16344
16345 debug=false
16346 ac_cs_recheck=false
16347 ac_cs_silent=false
16348
16349 SHELL=\${CONFIG_SHELL-$SHELL}
16350 export SHELL
16351 _ASEOF
16352 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16353 ## -------------------- ##
16354 ## M4sh Initialization. ##
16355 ## -------------------- ##
16356
16357 # Be more Bourne compatible
16358 DUALCASE=1; export DUALCASE # for MKS sh
16359 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16360 emulate sh
16361 NULLCMD=:
16362 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16363 # is contrary to our usage. Disable this feature.
16364 alias -g '${1+"$@"}'='"$@"'
16365 setopt NO_GLOB_SUBST
16366 else
16367 case `(set -o) 2>/dev/null` in #(
16368 *posix*) :
16369 set -o posix ;; #(
16370 *) :
16371 ;;
16372 esac
16373 fi
16374
16375
16376 as_nl='
16377 '
16378 export as_nl
16379 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16380 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16381 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16382 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16383 # Prefer a ksh shell builtin over an external printf program on Solaris,
16384 # but without wasting forks for bash or zsh.
16385 if test -z "$BASH_VERSION$ZSH_VERSION" \
16386 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16387 as_echo='print -r --'
16388 as_echo_n='print -rn --'
16389 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16390 as_echo='printf %s\n'
16391 as_echo_n='printf %s'
16392 else
16393 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16394 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16395 as_echo_n='/usr/ucb/echo -n'
16396 else
16397 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16398 as_echo_n_body='eval
16399 arg=$1;
16400 case $arg in #(
16401 *"$as_nl"*)
16402 expr "X$arg" : "X\\(.*\\)$as_nl";
16403 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16404 esac;
16405 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16406 '
16407 export as_echo_n_body
16408 as_echo_n='sh -c $as_echo_n_body as_echo'
16409 fi
16410 export as_echo_body
16411 as_echo='sh -c $as_echo_body as_echo'
16412 fi
16413
16414 # The user is always right.
16415 if test "${PATH_SEPARATOR+set}" != set; then
16416 PATH_SEPARATOR=:
16417 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16418 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16419 PATH_SEPARATOR=';'
16420 }
16421 fi
16422
16423
16424 # IFS
16425 # We need space, tab and new line, in precisely that order. Quoting is
16426 # there to prevent editors from complaining about space-tab.
16427 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16428 # splitting by setting IFS to empty value.)
16429 IFS=" "" $as_nl"
16430
16431 # Find who we are. Look in the path if we contain no directory separator.
16432 as_myself=
16433 case $0 in #((
16434 *[\\/]* ) as_myself=$0 ;;
16435 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16436 for as_dir in $PATH
16437 do
16438 IFS=$as_save_IFS
16439 test -z "$as_dir" && as_dir=.
16440 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16441 done
16442 IFS=$as_save_IFS
16443
16444 ;;
16445 esac
16446 # We did not find ourselves, most probably we were run as `sh COMMAND'
16447 # in which case we are not to be found in the path.
16448 if test "x$as_myself" = x; then
16449 as_myself=$0
16450 fi
16451 if test ! -f "$as_myself"; then
16452 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16453 exit 1
16454 fi
16455
16456 # Unset variables that we do not need and which cause bugs (e.g. in
16457 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16458 # suppresses any "Segmentation fault" message there. '((' could
16459 # trigger a bug in pdksh 5.2.14.
16460 for as_var in BASH_ENV ENV MAIL MAILPATH
16461 do eval test x\${$as_var+set} = xset \
16462 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16463 done
16464 PS1='$ '
16465 PS2='> '
16466 PS4='+ '
16467
16468 # NLS nuisances.
16469 LC_ALL=C
16470 export LC_ALL
16471 LANGUAGE=C
16472 export LANGUAGE
16473
16474 # CDPATH.
16475 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16476
16477
16478 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16479 # ----------------------------------------
16480 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16481 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16482 # script with STATUS, using 1 if that was 0.
16483 as_fn_error ()
16484 {
16485 as_status=$1; test $as_status -eq 0 && as_status=1
16486 if test "$4"; then
16487 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16488 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16489 fi
16490 $as_echo "$as_me: error: $2" >&2
16491 as_fn_exit $as_status
16492 } # as_fn_error
16493
16494
16495 # as_fn_set_status STATUS
16496 # -----------------------
16497 # Set $? to STATUS, without forking.
16498 as_fn_set_status ()
16499 {
16500 return $1
16501 } # as_fn_set_status
16502
16503 # as_fn_exit STATUS
16504 # -----------------
16505 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16506 as_fn_exit ()
16507 {
16508 set +e
16509 as_fn_set_status $1
16510 exit $1
16511 } # as_fn_exit
16512
16513 # as_fn_unset VAR
16514 # ---------------
16515 # Portably unset VAR.
16516 as_fn_unset ()
16517 {
16518 { eval $1=; unset $1;}
16519 }
16520 as_unset=as_fn_unset
16521 # as_fn_append VAR VALUE
16522 # ----------------------
16523 # Append the text in VALUE to the end of the definition contained in VAR. Take
16524 # advantage of any shell optimizations that allow amortized linear growth over
16525 # repeated appends, instead of the typical quadratic growth present in naive
16526 # implementations.
16527 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16528 eval 'as_fn_append ()
16529 {
16530 eval $1+=\$2
16531 }'
16532 else
16533 as_fn_append ()
16534 {
16535 eval $1=\$$1\$2
16536 }
16537 fi # as_fn_append
16538
16539 # as_fn_arith ARG...
16540 # ------------------
16541 # Perform arithmetic evaluation on the ARGs, and store the result in the
16542 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16543 # must be portable across $(()) and expr.
16544 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16545 eval 'as_fn_arith ()
16546 {
16547 as_val=$(( $* ))
16548 }'
16549 else
16550 as_fn_arith ()
16551 {
16552 as_val=`expr "$@" || test $? -eq 1`
16553 }
16554 fi # as_fn_arith
16555
16556
16557 if expr a : '\(a\)' >/dev/null 2>&1 &&
16558 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16559 as_expr=expr
16560 else
16561 as_expr=false
16562 fi
16563
16564 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16565 as_basename=basename
16566 else
16567 as_basename=false
16568 fi
16569
16570 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16571 as_dirname=dirname
16572 else
16573 as_dirname=false
16574 fi
16575
16576 as_me=`$as_basename -- "$0" ||
16577 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16578 X"$0" : 'X\(//\)$' \| \
16579 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16580 $as_echo X/"$0" |
16581 sed '/^.*\/\([^/][^/]*\)\/*$/{
16582 s//\1/
16583 q
16584 }
16585 /^X\/\(\/\/\)$/{
16586 s//\1/
16587 q
16588 }
16589 /^X\/\(\/\).*/{
16590 s//\1/
16591 q
16592 }
16593 s/.*/./; q'`
16594
16595 # Avoid depending upon Character Ranges.
16596 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16597 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16598 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16599 as_cr_digits='0123456789'
16600 as_cr_alnum=$as_cr_Letters$as_cr_digits
16601
16602 ECHO_C= ECHO_N= ECHO_T=
16603 case `echo -n x` in #(((((
16604 -n*)
16605 case `echo 'xy\c'` in
16606 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16607 xy) ECHO_C='\c';;
16608 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16609 ECHO_T=' ';;
16610 esac;;
16611 *)
16612 ECHO_N='-n';;
16613 esac
16614
16615 rm -f conf$$ conf$$.exe conf$$.file
16616 if test -d conf$$.dir; then
16617 rm -f conf$$.dir/conf$$.file
16618 else
16619 rm -f conf$$.dir
16620 mkdir conf$$.dir 2>/dev/null
16621 fi
16622 if (echo >conf$$.file) 2>/dev/null; then
16623 if ln -s conf$$.file conf$$ 2>/dev/null; then
16624 as_ln_s='ln -s'
16625 # ... but there are two gotchas:
16626 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16627 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16628 # In both cases, we have to default to `cp -p'.
16629 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16630 as_ln_s='cp -p'
16631 elif ln conf$$.file conf$$ 2>/dev/null; then
16632 as_ln_s=ln
16633 else
16634 as_ln_s='cp -p'
16635 fi
16636 else
16637 as_ln_s='cp -p'
16638 fi
16639 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16640 rmdir conf$$.dir 2>/dev/null
16641
16642
16643 # as_fn_mkdir_p
16644 # -------------
16645 # Create "$as_dir" as a directory, including parents if necessary.
16646 as_fn_mkdir_p ()
16647 {
16648
16649 case $as_dir in #(
16650 -*) as_dir=./$as_dir;;
16651 esac
16652 test -d "$as_dir" || eval $as_mkdir_p || {
16653 as_dirs=
16654 while :; do
16655 case $as_dir in #(
16656 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16657 *) as_qdir=$as_dir;;
16658 esac
16659 as_dirs="'$as_qdir' $as_dirs"
16660 as_dir=`$as_dirname -- "$as_dir" ||
16661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16662 X"$as_dir" : 'X\(//\)[^/]' \| \
16663 X"$as_dir" : 'X\(//\)$' \| \
16664 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16665 $as_echo X"$as_dir" |
16666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16667 s//\1/
16668 q
16669 }
16670 /^X\(\/\/\)[^/].*/{
16671 s//\1/
16672 q
16673 }
16674 /^X\(\/\/\)$/{
16675 s//\1/
16676 q
16677 }
16678 /^X\(\/\).*/{
16679 s//\1/
16680 q
16681 }
16682 s/.*/./; q'`
16683 test -d "$as_dir" && break
16684 done
16685 test -z "$as_dirs" || eval "mkdir $as_dirs"
16686 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16687
16688
16689 } # as_fn_mkdir_p
16690 if mkdir -p . 2>/dev/null; then
16691 as_mkdir_p='mkdir -p "$as_dir"'
16692 else
16693 test -d ./-p && rmdir ./-p
16694 as_mkdir_p=false
16695 fi
16696
16697 if test -x / >/dev/null 2>&1; then
16698 as_test_x='test -x'
16699 else
16700 if ls -dL / >/dev/null 2>&1; then
16701 as_ls_L_option=L
16702 else
16703 as_ls_L_option=
16704 fi
16705 as_test_x='
16706 eval sh -c '\''
16707 if test -d "$1"; then
16708 test -d "$1/.";
16709 else
16710 case $1 in #(
16711 -*)set "./$1";;
16712 esac;
16713 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16714 ???[sx]*):;;*)false;;esac;fi
16715 '\'' sh
16716 '
16717 fi
16718 as_executable_p=$as_test_x
16719
16720 # Sed expression to map a string onto a valid CPP name.
16721 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16722
16723 # Sed expression to map a string onto a valid variable name.
16724 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16725
16726
16727 exec 6>&1
16728 ## ----------------------------------- ##
16729 ## Main body of $CONFIG_STATUS script. ##
16730 ## ----------------------------------- ##
16731 _ASEOF
16732 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16733
16734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16735 # Save the log message, to keep $0 and so on meaningful, and to
16736 # report actual input values of CONFIG_FILES etc. instead of their
16737 # values after options handling.
16738 ac_log="
16739 This file was extended by DSSI $as_me 1.1.1, which was
16740 generated by GNU Autoconf 2.68. Invocation command line was
16741
16742 CONFIG_FILES = $CONFIG_FILES
16743 CONFIG_HEADERS = $CONFIG_HEADERS
16744 CONFIG_LINKS = $CONFIG_LINKS
16745 CONFIG_COMMANDS = $CONFIG_COMMANDS
16746 $ $0 $@
16747
16748 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16749 "
16750
16751 _ACEOF
16752
16753 case $ac_config_files in *"
16754 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16755 esac
16756
16757 case $ac_config_headers in *"
16758 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16759 esac
16760
16761
16762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16763 # Files that config.status was made for.
16764 config_files="$ac_config_files"
16765 config_headers="$ac_config_headers"
16766 config_commands="$ac_config_commands"
16767
16768 _ACEOF
16769
16770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16771 ac_cs_usage="\
16772 \`$as_me' instantiates files and other configuration actions
16773 from templates according to the current configuration. Unless the files
16774 and actions are specified as TAGs, all are instantiated by default.
16775
16776 Usage: $0 [OPTION]... [TAG]...
16777
16778 -h, --help print this help, then exit
16779 -V, --version print version number and configuration settings, then exit
16780 --config print configuration, then exit
16781 -q, --quiet, --silent
16782 do not print progress messages
16783 -d, --debug don't remove temporary files
16784 --recheck update $as_me by reconfiguring in the same conditions
16785 --file=FILE[:TEMPLATE]
16786 instantiate the configuration file FILE
16787 --header=FILE[:TEMPLATE]
16788 instantiate the configuration header FILE
16789
16790 Configuration files:
16791 $config_files
16792
16793 Configuration headers:
16794 $config_headers
16795
16796 Configuration commands:
16797 $config_commands
16798
16799 Report bugs to <[email protected]>."
16800
16801 _ACEOF
16802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16803 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16804 ac_cs_version="\\
16805 DSSI config.status 1.1.1
16806 configured by $0, generated by GNU Autoconf 2.68,
16807 with options \\"\$ac_cs_config\\"
16808
16809 Copyright (C) 2010 Free Software Foundation, Inc.
16810 This config.status script is free software; the Free Software Foundation
16811 gives unlimited permission to copy, distribute and modify it."
16812
16813 ac_pwd='$ac_pwd'
16814 srcdir='$srcdir'
16815 INSTALL='$INSTALL'
16816 MKDIR_P='$MKDIR_P'
16817 AWK='$AWK'
16818 test -n "\$AWK" || AWK=awk
16819 _ACEOF
16820
16821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16822 # The default lists apply if the user does not specify any file.
16823 ac_need_defaults=:
16824 while test $# != 0
16825 do
16826 case $1 in
16827 --*=?*)
16828 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16829 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16830 ac_shift=:
16831 ;;
16832 --*=)
16833 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16834 ac_optarg=
16835 ac_shift=:
16836 ;;
16837 *)
16838 ac_option=$1
16839 ac_optarg=$2
16840 ac_shift=shift
16841 ;;
16842 esac
16843
16844 case $ac_option in
16845 # Handling of the options.
16846 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16847 ac_cs_recheck=: ;;
16848 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16849 $as_echo "$ac_cs_version"; exit ;;
16850 --config | --confi | --conf | --con | --co | --c )
16851 $as_echo "$ac_cs_config"; exit ;;
16852 --debug | --debu | --deb | --de | --d | -d )
16853 debug=: ;;
16854 --file | --fil | --fi | --f )
16855 $ac_shift
16856 case $ac_optarg in
16857 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16858 '') as_fn_error $? "missing file argument" ;;
16859 esac
16860 as_fn_append CONFIG_FILES " '$ac_optarg'"
16861 ac_need_defaults=false;;
16862 --header | --heade | --head | --hea )
16863 $ac_shift
16864 case $ac_optarg in
16865 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16866 esac
16867 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16868 ac_need_defaults=false;;
16869 --he | --h)
16870 # Conflict between --help and --header
16871 as_fn_error $? "ambiguous option: \`$1'
16872 Try \`$0 --help' for more information.";;
16873 --help | --hel | -h )
16874 $as_echo "$ac_cs_usage"; exit ;;
16875 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16876 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16877 ac_cs_silent=: ;;
16878
16879 # This is an error.
16880 -*) as_fn_error $? "unrecognized option: \`$1'
16881 Try \`$0 --help' for more information." ;;
16882
16883 *) as_fn_append ac_config_targets " $1"
16884 ac_need_defaults=false ;;
16885
16886 esac
16887 shift
16888 done
16889
16890 ac_configure_extra_args=
16891
16892 if $ac_cs_silent; then
16893 exec 6>/dev/null
16894 ac_configure_extra_args="$ac_configure_extra_args --silent"
16895 fi
16896
16897 _ACEOF
16898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16899 if \$ac_cs_recheck; then
16900 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16901 shift
16902 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16903 CONFIG_SHELL='$SHELL'
16904 export CONFIG_SHELL
16905 exec "\$@"
16906 fi
16907
16908 _ACEOF
16909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16910 exec 5>>config.log
16911 {
16912 echo
16913 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16914 ## Running $as_me. ##
16915 _ASBOX
16916 $as_echo "$ac_log"
16917 } >&5
16918
16919 _ACEOF
16920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16921 #
16922 # INIT-COMMANDS
16923 #
16924 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16925
16926
16927 # The HP-UX ksh and POSIX shell print the target directory to stdout
16928 # if CDPATH is set.
16929 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16930
16931 sed_quote_subst='$sed_quote_subst'
16932 double_quote_subst='$double_quote_subst'
16933 delay_variable_subst='$delay_variable_subst'
16934 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16935 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16936 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16937 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16938 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16939 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16940 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16941 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16942 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16943 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16944 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16945 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16946 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16947 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16948 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16949 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16950 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16951 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16952 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16953 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16954 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16955 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16956 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16957 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16958 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16959 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16960 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16961 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16962 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16963 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16964 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16965 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16966 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16967 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16968 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16969 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16970 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16971 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16972 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16973 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16974 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16975 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16976 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16977 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16978 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16979 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16980 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16981 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16982 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16983 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16984 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16985 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16986 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16987 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16988 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16989 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"`'
16990 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16991 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16992 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16993 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16994 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16995 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16996 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16997 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16998 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16999 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17000 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17001 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17002 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17003 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17004 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17005 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17006 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17007 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17008 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17009 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17010 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17011 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17012 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17013 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17014 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17015 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17016 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17017 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17018 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17019 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17020 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17021 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17022 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17023 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17024 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17025 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17026 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17027 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17028 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17029 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17030 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17031 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17032 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17033 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17034 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17035 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17036 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17037 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17038 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17039 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17040 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17041 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17042 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17043 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17044 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17045 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17046 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17047 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17048 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17049 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17050 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17051 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17052 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17053 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17054 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17055 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17056 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17057 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17058 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17059 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17060 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17061 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17062 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17063 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17064 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17065 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17066 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17067 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17068 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17069 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17070 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17071 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17072 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17073 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17074 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17075 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17076 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17077 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17078 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17079 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17080 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17081 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17082 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17083 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17084 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17085 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17086 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17087 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17088 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17089 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17090 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17091 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17092 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17093 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17094 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17095 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17096 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17097 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17098 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17099 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17100 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17101 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17102 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17103 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17104 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17105 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17106 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17107 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17108 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17109 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17110 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17111 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17112 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17113 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17114 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17115 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17116 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17117 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17118 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17119
17120 LTCC='$LTCC'
17121 LTCFLAGS='$LTCFLAGS'
17122 compiler='$compiler_DEFAULT'
17123
17124 # A function that is used when there is no print builtin or printf.
17125 func_fallback_echo ()
17126 {
17127 eval 'cat <<_LTECHO_EOF
17128 \$1
17129 _LTECHO_EOF'
17130 }
17131
17132 # Quote evaled strings.
17133 for var in SHELL \
17134 ECHO \
17135 SED \
17136 GREP \
17137 EGREP \
17138 FGREP \
17139 LD \
17140 NM \
17141 LN_S \
17142 lt_SP2NL \
17143 lt_NL2SP \
17144 reload_flag \
17145 OBJDUMP \
17146 deplibs_check_method \
17147 file_magic_cmd \
17148 file_magic_glob \
17149 want_nocaseglob \
17150 DLLTOOL \
17151 sharedlib_from_linklib_cmd \
17152 AR \
17153 AR_FLAGS \
17154 archiver_list_spec \
17155 STRIP \
17156 RANLIB \
17157 CC \
17158 CFLAGS \
17159 compiler \
17160 lt_cv_sys_global_symbol_pipe \
17161 lt_cv_sys_global_symbol_to_cdecl \
17162 lt_cv_sys_global_symbol_to_c_name_address \
17163 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17164 nm_file_list_spec \
17165 lt_prog_compiler_no_builtin_flag \
17166 lt_prog_compiler_pic \
17167 lt_prog_compiler_wl \
17168 lt_prog_compiler_static \
17169 lt_cv_prog_compiler_c_o \
17170 need_locks \
17171 MANIFEST_TOOL \
17172 DSYMUTIL \
17173 NMEDIT \
17174 LIPO \
17175 OTOOL \
17176 OTOOL64 \
17177 shrext_cmds \
17178 export_dynamic_flag_spec \
17179 whole_archive_flag_spec \
17180 compiler_needs_object \
17181 with_gnu_ld \
17182 allow_undefined_flag \
17183 no_undefined_flag \
17184 hardcode_libdir_flag_spec \
17185 hardcode_libdir_flag_spec_ld \
17186 hardcode_libdir_separator \
17187 exclude_expsyms \
17188 include_expsyms \
17189 file_list_spec \
17190 variables_saved_for_relink \
17191 libname_spec \
17192 library_names_spec \
17193 soname_spec \
17194 install_override_mode \
17195 finish_eval \
17196 old_striplib \
17197 striplib \
17198 compiler_lib_search_dirs \
17199 predep_objects \
17200 postdep_objects \
17201 predeps \
17202 postdeps \
17203 compiler_lib_search_path \
17204 LD_CXX \
17205 reload_flag_CXX \
17206 compiler_CXX \
17207 lt_prog_compiler_no_builtin_flag_CXX \
17208 lt_prog_compiler_pic_CXX \
17209 lt_prog_compiler_wl_CXX \
17210 lt_prog_compiler_static_CXX \
17211 lt_cv_prog_compiler_c_o_CXX \
17212 export_dynamic_flag_spec_CXX \
17213 whole_archive_flag_spec_CXX \
17214 compiler_needs_object_CXX \
17215 with_gnu_ld_CXX \
17216 allow_undefined_flag_CXX \
17217 no_undefined_flag_CXX \
17218 hardcode_libdir_flag_spec_CXX \
17219 hardcode_libdir_flag_spec_ld_CXX \
17220 hardcode_libdir_separator_CXX \
17221 exclude_expsyms_CXX \
17222 include_expsyms_CXX \
17223 file_list_spec_CXX \
17224 compiler_lib_search_dirs_CXX \
17225 predep_objects_CXX \
17226 postdep_objects_CXX \
17227 predeps_CXX \
17228 postdeps_CXX \
17229 compiler_lib_search_path_CXX; do
17230 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17231 *[\\\\\\\`\\"\\\$]*)
17232 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17233 ;;
17234 *)
17235 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17236 ;;
17237 esac
17238 done
17239
17240 # Double-quote double-evaled strings.
17241 for var in reload_cmds \
17242 old_postinstall_cmds \
17243 old_postuninstall_cmds \
17244 old_archive_cmds \
17245 extract_expsyms_cmds \
17246 old_archive_from_new_cmds \
17247 old_archive_from_expsyms_cmds \
17248 archive_cmds \
17249 archive_expsym_cmds \
17250 module_cmds \
17251 module_expsym_cmds \
17252 export_symbols_cmds \
17253 prelink_cmds \
17254 postlink_cmds \
17255 postinstall_cmds \
17256 postuninstall_cmds \
17257 finish_cmds \
17258 sys_lib_search_path_spec \
17259 sys_lib_dlsearch_path_spec \
17260 reload_cmds_CXX \
17261 old_archive_cmds_CXX \
17262 old_archive_from_new_cmds_CXX \
17263 old_archive_from_expsyms_cmds_CXX \
17264 archive_cmds_CXX \
17265 archive_expsym_cmds_CXX \
17266 module_cmds_CXX \
17267 module_expsym_cmds_CXX \
17268 export_symbols_cmds_CXX \
17269 prelink_cmds_CXX \
17270 postlink_cmds_CXX; do
17271 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17272 *[\\\\\\\`\\"\\\$]*)
17273 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17274 ;;
17275 *)
17276 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17277 ;;
17278 esac
17279 done
17280
17281 ac_aux_dir='$ac_aux_dir'
17282 xsi_shell='$xsi_shell'
17283 lt_shell_append='$lt_shell_append'
17284
17285 # See if we are running on zsh, and set the options which allow our
17286 # commands through without removal of \ escapes INIT.
17287 if test -n "\${ZSH_VERSION+set}" ; then
17288 setopt NO_GLOB_SUBST
17289 fi
17290
17291
17292 PACKAGE='$PACKAGE'
17293 VERSION='$VERSION'
17294 TIMESTAMP='$TIMESTAMP'
17295 RM='$RM'
17296 ofile='$ofile'
17297
17298
17299
17300
17301
17302
17303 _ACEOF
17304
17305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17306
17307 # Handling of arguments.
17308 for ac_config_target in $ac_config_targets
17309 do
17310 case $ac_config_target in
17311 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17312 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17313 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17314 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17315 "dssi.pc") CONFIG_FILES="$CONFIG_FILES dssi.pc" ;;
17316 "jack-dssi-host/Makefile") CONFIG_FILES="$CONFIG_FILES jack-dssi-host/Makefile" ;;
17317 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17318 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17319
17320 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17321 esac
17322 done
17323
17324
17325 # If the user did not use the arguments to specify the items to instantiate,
17326 # then the envvar interface is used. Set only those that are not.
17327 # We use the long form for the default assignment because of an extremely
17328 # bizarre bug on SunOS 4.1.3.
17329 if $ac_need_defaults; then
17330 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17331 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17332 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17333 fi
17334
17335 # Have a temporary directory for convenience. Make it in the build tree
17336 # simply because there is no reason against having it here, and in addition,
17337 # creating and moving files from /tmp can sometimes cause problems.
17338 # Hook for its removal unless debugging.
17339 # Note that there is a small window in which the directory will not be cleaned:
17340 # after its creation but before its name has been assigned to `$tmp'.
17341 $debug ||
17342 {
17343 tmp= ac_tmp=
17344 trap 'exit_status=$?
17345 : "${ac_tmp:=$tmp}"
17346 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17347 ' 0
17348 trap 'as_fn_exit 1' 1 2 13 15
17349 }
17350 # Create a (secure) tmp directory for tmp files.
17351
17352 {
17353 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17354 test -d "$tmp"
17355 } ||
17356 {
17357 tmp=./conf$$-$RANDOM
17358 (umask 077 && mkdir "$tmp")
17359 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17360 ac_tmp=$tmp
17361
17362 # Set up the scripts for CONFIG_FILES section.
17363 # No need to generate them if there are no CONFIG_FILES.
17364 # This happens for instance with `./config.status config.h'.
17365 if test -n "$CONFIG_FILES"; then
17366
17367
17368 ac_cr=`echo X | tr X '\015'`
17369 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17370 # But we know of no other shell where ac_cr would be empty at this
17371 # point, so we can use a bashism as a fallback.
17372 if test "x$ac_cr" = x; then
17373 eval ac_cr=\$\'\\r\'
17374 fi
17375 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17376 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17377 ac_cs_awk_cr='\\r'
17378 else
17379 ac_cs_awk_cr=$ac_cr
17380 fi
17381
17382 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17383 _ACEOF
17384
17385
17386 {
17387 echo "cat >conf$$subs.awk <<_ACEOF" &&
17388 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17389 echo "_ACEOF"
17390 } >conf$$subs.sh ||
17391 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17392 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17393 ac_delim='%!_!# '
17394 for ac_last_try in false false false false false :; do
17395 . ./conf$$subs.sh ||
17396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17397
17398 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17399 if test $ac_delim_n = $ac_delim_num; then
17400 break
17401 elif $ac_last_try; then
17402 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17403 else
17404 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17405 fi
17406 done
17407 rm -f conf$$subs.sh
17408
17409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17410 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17411 _ACEOF
17412 sed -n '
17413 h
17414 s/^/S["/; s/!.*/"]=/
17415 p
17416 g
17417 s/^[^!]*!//
17418 :repl
17419 t repl
17420 s/'"$ac_delim"'$//
17421 t delim
17422 :nl
17423 h
17424 s/\(.\{148\}\)..*/\1/
17425 t more1
17426 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17427 p
17428 n
17429 b repl
17430 :more1
17431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17432 p
17433 g
17434 s/.\{148\}//
17435 t nl
17436 :delim
17437 h
17438 s/\(.\{148\}\)..*/\1/
17439 t more2
17440 s/["\\]/\\&/g; s/^/"/; s/$/"/
17441 p
17442 b
17443 :more2
17444 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17445 p
17446 g
17447 s/.\{148\}//
17448 t delim
17449 ' <conf$$subs.awk | sed '
17450 /^[^""]/{
17451 N
17452 s/\n//
17453 }
17454 ' >>$CONFIG_STATUS || ac_write_fail=1
17455 rm -f conf$$subs.awk
17456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17457 _ACAWK
17458 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17459 for (key in S) S_is_set[key] = 1
17460 FS = ""
17461
17462 }
17463 {
17464 line = $ 0
17465 nfields = split(line, field, "@")
17466 substed = 0
17467 len = length(field[1])
17468 for (i = 2; i < nfields; i++) {
17469 key = field[i]
17470 keylen = length(key)
17471 if (S_is_set[key]) {
17472 value = S[key]
17473 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17474 len += length(value) + length(field[++i])
17475 substed = 1
17476 } else
17477 len += 1 + keylen
17478 }
17479
17480 print line
17481 }
17482
17483 _ACAWK
17484 _ACEOF
17485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17486 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17487 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17488 else
17489 cat
17490 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17491 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17492 _ACEOF
17493
17494 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17495 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17496 # trailing colons and then remove the whole line if VPATH becomes empty
17497 # (actually we leave an empty line to preserve line numbers).
17498 if test "x$srcdir" = x.; then
17499 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17500 h
17501 s///
17502 s/^/:/
17503 s/[ ]*$/:/
17504 s/:\$(srcdir):/:/g
17505 s/:\${srcdir}:/:/g
17506 s/:@srcdir@:/:/g
17507 s/^:*//
17508 s/:*$//
17509 x
17510 s/\(=[ ]*\).*/\1/
17511 G
17512 s/\n//
17513 s/^[^=]*=[ ]*$//
17514 }'
17515 fi
17516
17517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17518 fi # test -n "$CONFIG_FILES"
17519
17520 # Set up the scripts for CONFIG_HEADERS section.
17521 # No need to generate them if there are no CONFIG_HEADERS.
17522 # This happens for instance with `./config.status Makefile'.
17523 if test -n "$CONFIG_HEADERS"; then
17524 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17525 BEGIN {
17526 _ACEOF
17527
17528 # Transform confdefs.h into an awk script `defines.awk', embedded as
17529 # here-document in config.status, that substitutes the proper values into
17530 # config.h.in to produce config.h.
17531
17532 # Create a delimiter string that does not exist in confdefs.h, to ease
17533 # handling of long lines.
17534 ac_delim='%!_!# '
17535 for ac_last_try in false false :; do
17536 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17537 if test -z "$ac_tt"; then
17538 break
17539 elif $ac_last_try; then
17540 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17541 else
17542 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17543 fi
17544 done
17545
17546 # For the awk script, D is an array of macro values keyed by name,
17547 # likewise P contains macro parameters if any. Preserve backslash
17548 # newline sequences.
17549
17550 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17551 sed -n '
17552 s/.\{148\}/&'"$ac_delim"'/g
17553 t rset
17554 :rset
17555 s/^[ ]*#[ ]*define[ ][ ]*/ /
17556 t def
17557 d
17558 :def
17559 s/\\$//
17560 t bsnl
17561 s/["\\]/\\&/g
17562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17563 D["\1"]=" \3"/p
17564 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17565 d
17566 :bsnl
17567 s/["\\]/\\&/g
17568 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17569 D["\1"]=" \3\\\\\\n"\\/p
17570 t cont
17571 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17572 t cont
17573 d
17574 :cont
17575 n
17576 s/.\{148\}/&'"$ac_delim"'/g
17577 t clear
17578 :clear
17579 s/\\$//
17580 t bsnlc
17581 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17582 d
17583 :bsnlc
17584 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17585 b cont
17586 ' <confdefs.h | sed '
17587 s/'"$ac_delim"'/"\\\
17588 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17589
17590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17591 for (key in D) D_is_set[key] = 1
17592 FS = ""
17593 }
17594 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17595 line = \$ 0
17596 split(line, arg, " ")
17597 if (arg[1] == "#") {
17598 defundef = arg[2]
17599 mac1 = arg[3]
17600 } else {
17601 defundef = substr(arg[1], 2)
17602 mac1 = arg[2]
17603 }
17604 split(mac1, mac2, "(") #)
17605 macro = mac2[1]
17606 prefix = substr(line, 1, index(line, defundef) - 1)
17607 if (D_is_set[macro]) {
17608 # Preserve the white space surrounding the "#".
17609 print prefix "define", macro P[macro] D[macro]
17610 next
17611 } else {
17612 # Replace #undef with comments. This is necessary, for example,
17613 # in the case of _POSIX_SOURCE, which is predefined and required
17614 # on some systems where configure will not decide to define it.
17615 if (defundef == "undef") {
17616 print "/*", prefix defundef, macro, "*/"
17617 next
17618 }
17619 }
17620 }
17621 { print }
17622 _ACAWK
17623 _ACEOF
17624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17625 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17626 fi # test -n "$CONFIG_HEADERS"
17627
17628
17629 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17630 shift
17631 for ac_tag
17632 do
17633 case $ac_tag in
17634 :[FHLC]) ac_mode=$ac_tag; continue;;
17635 esac
17636 case $ac_mode$ac_tag in
17637 :[FHL]*:*);;
17638 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17639 :[FH]-) ac_tag=-:-;;
17640 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17641 esac
17642 ac_save_IFS=$IFS
17643 IFS=:
17644 set x $ac_tag
17645 IFS=$ac_save_IFS
17646 shift
17647 ac_file=$1
17648 shift
17649
17650 case $ac_mode in
17651 :L) ac_source=$1;;
17652 :[FH])
17653 ac_file_inputs=
17654 for ac_f
17655 do
17656 case $ac_f in
17657 -) ac_f="$ac_tmp/stdin";;
17658 *) # Look for the file first in the build tree, then in the source tree
17659 # (if the path is not absolute). The absolute path cannot be DOS-style,
17660 # because $ac_f cannot contain `:'.
17661 test -f "$ac_f" ||
17662 case $ac_f in
17663 [\\/$]*) false;;
17664 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17665 esac ||
17666 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17667 esac
17668 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17669 as_fn_append ac_file_inputs " '$ac_f'"
17670 done
17671
17672 # Let's still pretend it is `configure' which instantiates (i.e., don't
17673 # use $as_me), people would be surprised to read:
17674 # /* config.h. Generated by config.status. */
17675 configure_input='Generated from '`
17676 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17677 `' by configure.'
17678 if test x"$ac_file" != x-; then
17679 configure_input="$ac_file. $configure_input"
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17681 $as_echo "$as_me: creating $ac_file" >&6;}
17682 fi
17683 # Neutralize special characters interpreted by sed in replacement strings.
17684 case $configure_input in #(
17685 *\&* | *\|* | *\\* )
17686 ac_sed_conf_input=`$as_echo "$configure_input" |
17687 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17688 *) ac_sed_conf_input=$configure_input;;
17689 esac
17690
17691 case $ac_tag in
17692 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17694 esac
17695 ;;
17696 esac
17697
17698 ac_dir=`$as_dirname -- "$ac_file" ||
17699 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17700 X"$ac_file" : 'X\(//\)[^/]' \| \
17701 X"$ac_file" : 'X\(//\)$' \| \
17702 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17703 $as_echo X"$ac_file" |
17704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17705 s//\1/
17706 q
17707 }
17708 /^X\(\/\/\)[^/].*/{
17709 s//\1/
17710 q
17711 }
17712 /^X\(\/\/\)$/{
17713 s//\1/
17714 q
17715 }
17716 /^X\(\/\).*/{
17717 s//\1/
17718 q
17719 }
17720 s/.*/./; q'`
17721 as_dir="$ac_dir"; as_fn_mkdir_p
17722 ac_builddir=.
17723
17724 case "$ac_dir" in
17725 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17726 *)
17727 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17728 # A ".." for each directory in $ac_dir_suffix.
17729 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17730 case $ac_top_builddir_sub in
17731 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17732 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17733 esac ;;
17734 esac
17735 ac_abs_top_builddir=$ac_pwd
17736 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17737 # for backward compatibility:
17738 ac_top_builddir=$ac_top_build_prefix
17739
17740 case $srcdir in
17741 .) # We are building in place.
17742 ac_srcdir=.
17743 ac_top_srcdir=$ac_top_builddir_sub
17744 ac_abs_top_srcdir=$ac_pwd ;;
17745 [\\/]* | ?:[\\/]* ) # Absolute name.
17746 ac_srcdir=$srcdir$ac_dir_suffix;
17747 ac_top_srcdir=$srcdir
17748 ac_abs_top_srcdir=$srcdir ;;
17749 *) # Relative name.
17750 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17751 ac_top_srcdir=$ac_top_build_prefix$srcdir
17752 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17753 esac
17754 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17755
17756
17757 case $ac_mode in
17758 :F)
17759 #
17760 # CONFIG_FILE
17761 #
17762
17763 case $INSTALL in
17764 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17765 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17766 esac
17767 ac_MKDIR_P=$MKDIR_P
17768 case $MKDIR_P in
17769 [\\/$]* | ?:[\\/]* ) ;;
17770 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17771 esac
17772 _ACEOF
17773
17774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17775 # If the template does not know about datarootdir, expand it.
17776 # FIXME: This hack should be removed a few years after 2.60.
17777 ac_datarootdir_hack=; ac_datarootdir_seen=
17778 ac_sed_dataroot='
17779 /datarootdir/ {
17780 p
17781 q
17782 }
17783 /@datadir@/p
17784 /@docdir@/p
17785 /@infodir@/p
17786 /@localedir@/p
17787 /@mandir@/p'
17788 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17789 *datarootdir*) ac_datarootdir_seen=yes;;
17790 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17792 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17793 _ACEOF
17794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17795 ac_datarootdir_hack='
17796 s&@datadir@&$datadir&g
17797 s&@docdir@&$docdir&g
17798 s&@infodir@&$infodir&g
17799 s&@localedir@&$localedir&g
17800 s&@mandir@&$mandir&g
17801 s&\\\${datarootdir}&$datarootdir&g' ;;
17802 esac
17803 _ACEOF
17804
17805 # Neutralize VPATH when `$srcdir' = `.'.
17806 # Shell code in configure.ac might set extrasub.
17807 # FIXME: do we really want to maintain this feature?
17808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17809 ac_sed_extra="$ac_vpsub
17810 $extrasub
17811 _ACEOF
17812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17813 :t
17814 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17815 s|@configure_input@|$ac_sed_conf_input|;t t
17816 s&@top_builddir@&$ac_top_builddir_sub&;t t
17817 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17818 s&@srcdir@&$ac_srcdir&;t t
17819 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17820 s&@top_srcdir@&$ac_top_srcdir&;t t
17821 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17822 s&@builddir@&$ac_builddir&;t t
17823 s&@abs_builddir@&$ac_abs_builddir&;t t
17824 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17825 s&@INSTALL@&$ac_INSTALL&;t t
17826 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17827 $ac_datarootdir_hack
17828 "
17829 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17830 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17831
17832 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17833 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17834 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17835 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17837 which seems to be undefined. Please make sure it is defined" >&5
17838 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17839 which seems to be undefined. Please make sure it is defined" >&2;}
17840
17841 rm -f "$ac_tmp/stdin"
17842 case $ac_file in
17843 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17844 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17845 esac \
17846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17847 ;;
17848 :H)
17849 #
17850 # CONFIG_HEADER
17851 #
17852 if test x"$ac_file" != x-; then
17853 {
17854 $as_echo "/* $configure_input */" \
17855 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17856 } >"$ac_tmp/config.h" \
17857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17858 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17860 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17861 else
17862 rm -f "$ac_file"
17863 mv "$ac_tmp/config.h" "$ac_file" \
17864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17865 fi
17866 else
17867 $as_echo "/* $configure_input */" \
17868 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17869 || as_fn_error $? "could not create -" "$LINENO" 5
17870 fi
17871 # Compute "$ac_file"'s index in $config_headers.
17872 _am_arg="$ac_file"
17873 _am_stamp_count=1
17874 for _am_header in $config_headers :; do
17875 case $_am_header in
17876 $_am_arg | $_am_arg:* )
17877 break ;;
17878 * )
17879 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17880 esac
17881 done
17882 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17883 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17884 X"$_am_arg" : 'X\(//\)[^/]' \| \
17885 X"$_am_arg" : 'X\(//\)$' \| \
17886 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17887 $as_echo X"$_am_arg" |
17888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17889 s//\1/
17890 q
17891 }
17892 /^X\(\/\/\)[^/].*/{
17893 s//\1/
17894 q
17895 }
17896 /^X\(\/\/\)$/{
17897 s//\1/
17898 q
17899 }
17900 /^X\(\/\).*/{
17901 s//\1/
17902 q
17903 }
17904 s/.*/./; q'`/stamp-h$_am_stamp_count
17905 ;;
17906
17907 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17908 $as_echo "$as_me: executing $ac_file commands" >&6;}
17909 ;;
17910 esac
17911
17912
17913 case $ac_file$ac_mode in
17914 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17915 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17916 # are listed without --file. Let's play safe and only enable the eval
17917 # if we detect the quoting.
17918 case $CONFIG_FILES in
17919 *\'*) eval set x "$CONFIG_FILES" ;;
17920 *) set x $CONFIG_FILES ;;
17921 esac
17922 shift
17923 for mf
17924 do
17925 # Strip MF so we end up with the name of the file.
17926 mf=`echo "$mf" | sed -e 's/:.*$//'`
17927 # Check whether this is an Automake generated Makefile or not.
17928 # We used to match only the files named `Makefile.in', but
17929 # some people rename them; so instead we look at the file content.
17930 # Grep'ing the first line is not enough: some people post-process
17931 # each Makefile.in and add a new line on top of each file to say so.
17932 # Grep'ing the whole file is not good either: AIX grep has a line
17933 # limit of 2048, but all sed's we know have understand at least 4000.
17934 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17935 dirpart=`$as_dirname -- "$mf" ||
17936 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17937 X"$mf" : 'X\(//\)[^/]' \| \
17938 X"$mf" : 'X\(//\)$' \| \
17939 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17940 $as_echo X"$mf" |
17941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17942 s//\1/
17943 q
17944 }
17945 /^X\(\/\/\)[^/].*/{
17946 s//\1/
17947 q
17948 }
17949 /^X\(\/\/\)$/{
17950 s//\1/
17951 q
17952 }
17953 /^X\(\/\).*/{
17954 s//\1/
17955 q
17956 }
17957 s/.*/./; q'`
17958 else
17959 continue
17960 fi
17961 # Extract the definition of DEPDIR, am__include, and am__quote
17962 # from the Makefile without running `make'.
17963 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17964 test -z "$DEPDIR" && continue
17965 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17966 test -z "am__include" && continue
17967 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17968 # When using ansi2knr, U may be empty or an underscore; expand it
17969 U=`sed -n 's/^U = //p' < "$mf"`
17970 # Find all dependency output files, they are included files with
17971 # $(DEPDIR) in their names. We invoke sed twice because it is the
17972 # simplest approach to changing $(DEPDIR) to its actual value in the
17973 # expansion.
17974 for file in `sed -n "
17975 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17976 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17977 # Make sure the directory exists.
17978 test -f "$dirpart/$file" && continue
17979 fdir=`$as_dirname -- "$file" ||
17980 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17981 X"$file" : 'X\(//\)[^/]' \| \
17982 X"$file" : 'X\(//\)$' \| \
17983 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17984 $as_echo X"$file" |
17985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17986 s//\1/
17987 q
17988 }
17989 /^X\(\/\/\)[^/].*/{
17990 s//\1/
17991 q
17992 }
17993 /^X\(\/\/\)$/{
17994 s//\1/
17995 q
17996 }
17997 /^X\(\/\).*/{
17998 s//\1/
17999 q
18000 }
18001 s/.*/./; q'`
18002 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18003 # echo "creating $dirpart/$file"
18004 echo '# dummy' > "$dirpart/$file"
18005 done
18006 done
18007 }
18008 ;;
18009 "libtool":C)
18010
18011 # See if we are running on zsh, and set the options which allow our
18012 # commands through without removal of \ escapes.
18013 if test -n "${ZSH_VERSION+set}" ; then
18014 setopt NO_GLOB_SUBST
18015 fi
18016
18017 cfgfile="${ofile}T"
18018 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18019 $RM "$cfgfile"
18020
18021 cat <<_LT_EOF >> "$cfgfile"
18022 #! $SHELL
18023
18024 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18025 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18026 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18027 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18028 #
18029 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18030 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18031 # Inc.
18032 # Written by Gordon Matzigkeit, 1996
18033 #
18034 # This file is part of GNU Libtool.
18035 #
18036 # GNU Libtool is free software; you can redistribute it and/or
18037 # modify it under the terms of the GNU General Public License as
18038 # published by the Free Software Foundation; either version 2 of
18039 # the License, or (at your option) any later version.
18040 #
18041 # As a special exception to the GNU General Public License,
18042 # if you distribute this file as part of a program or library that
18043 # is built using GNU Libtool, you may include this file under the
18044 # same distribution terms that you use for the rest of that program.
18045 #
18046 # GNU Libtool is distributed in the hope that it will be useful,
18047 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18048 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18049 # GNU General Public License for more details.
18050 #
18051 # You should have received a copy of the GNU General Public License
18052 # along with GNU Libtool; see the file COPYING. If not, a copy
18053 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18054 # obtained by writing to the Free Software Foundation, Inc.,
18055 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18056
18057
18058 # The names of the tagged configurations supported by this script.
18059 available_tags="CXX "
18060
18061 # ### BEGIN LIBTOOL CONFIG
18062
18063 # Whether or not to build static libraries.
18064 build_old_libs=$enable_static
18065
18066 # Whether or not to build shared libraries.
18067 build_libtool_libs=$enable_shared
18068
18069 # Which release of libtool.m4 was used?
18070 macro_version=$macro_version
18071 macro_revision=$macro_revision
18072
18073 # What type of objects to build.
18074 pic_mode=$pic_mode
18075
18076 # Whether or not to optimize for fast installation.
18077 fast_install=$enable_fast_install
18078
18079 # Shell to use when invoking shell scripts.
18080 SHELL=$lt_SHELL
18081
18082 # An echo program that protects backslashes.
18083 ECHO=$lt_ECHO
18084
18085 # The host system.
18086 host_alias=$host_alias
18087 host=$host
18088 host_os=$host_os
18089
18090 # The build system.
18091 build_alias=$build_alias
18092 build=$build
18093 build_os=$build_os
18094
18095 # A sed program that does not truncate output.
18096 SED=$lt_SED
18097
18098 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18099 Xsed="\$SED -e 1s/^X//"
18100
18101 # A grep program that handles long lines.
18102 GREP=$lt_GREP
18103
18104 # An ERE matcher.
18105 EGREP=$lt_EGREP
18106
18107 # A literal string matcher.
18108 FGREP=$lt_FGREP
18109
18110 # A BSD- or MS-compatible name lister.
18111 NM=$lt_NM
18112
18113 # Whether we need soft or hard links.
18114 LN_S=$lt_LN_S
18115
18116 # What is the maximum length of a command?
18117 max_cmd_len=$max_cmd_len
18118
18119 # Object file suffix (normally "o").
18120 objext=$ac_objext
18121
18122 # Executable file suffix (normally "").
18123 exeext=$exeext
18124
18125 # whether the shell understands "unset".
18126 lt_unset=$lt_unset
18127
18128 # turn spaces into newlines.
18129 SP2NL=$lt_lt_SP2NL
18130
18131 # turn newlines into spaces.
18132 NL2SP=$lt_lt_NL2SP
18133
18134 # convert \$build file names to \$host format.
18135 to_host_file_cmd=$lt_cv_to_host_file_cmd
18136
18137 # convert \$build files to toolchain format.
18138 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18139
18140 # An object symbol dumper.
18141 OBJDUMP=$lt_OBJDUMP
18142
18143 # Method to check whether dependent libraries are shared objects.
18144 deplibs_check_method=$lt_deplibs_check_method
18145
18146 # Command to use when deplibs_check_method = "file_magic".
18147 file_magic_cmd=$lt_file_magic_cmd
18148
18149 # How to find potential files when deplibs_check_method = "file_magic".
18150 file_magic_glob=$lt_file_magic_glob
18151
18152 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18153 want_nocaseglob=$lt_want_nocaseglob
18154
18155 # DLL creation program.
18156 DLLTOOL=$lt_DLLTOOL
18157
18158 # Command to associate shared and link libraries.
18159 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18160
18161 # The archiver.
18162 AR=$lt_AR
18163
18164 # Flags to create an archive.
18165 AR_FLAGS=$lt_AR_FLAGS
18166
18167 # How to feed a file listing to the archiver.
18168 archiver_list_spec=$lt_archiver_list_spec
18169
18170 # A symbol stripping program.
18171 STRIP=$lt_STRIP
18172
18173 # Commands used to install an old-style archive.
18174 RANLIB=$lt_RANLIB
18175 old_postinstall_cmds=$lt_old_postinstall_cmds
18176 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18177
18178 # Whether to use a lock for old archive extraction.
18179 lock_old_archive_extraction=$lock_old_archive_extraction
18180
18181 # A C compiler.
18182 LTCC=$lt_CC
18183
18184 # LTCC compiler flags.
18185 LTCFLAGS=$lt_CFLAGS
18186
18187 # Take the output of nm and produce a listing of raw symbols and C names.
18188 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18189
18190 # Transform the output of nm in a proper C declaration.
18191 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18192
18193 # Transform the output of nm in a C name address pair.
18194 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18195
18196 # Transform the output of nm in a C name address pair when lib prefix is needed.
18197 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18198
18199 # Specify filename containing input files for \$NM.
18200 nm_file_list_spec=$lt_nm_file_list_spec
18201
18202 # The root where to search for dependent libraries,and in which our libraries should be installed.
18203 lt_sysroot=$lt_sysroot
18204
18205 # The name of the directory that contains temporary libtool files.
18206 objdir=$objdir
18207
18208 # Used to examine libraries when file_magic_cmd begins with "file".
18209 MAGIC_CMD=$MAGIC_CMD
18210
18211 # Must we lock files when doing compilation?
18212 need_locks=$lt_need_locks
18213
18214 # Manifest tool.
18215 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18216
18217 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18218 DSYMUTIL=$lt_DSYMUTIL
18219
18220 # Tool to change global to local symbols on Mac OS X.
18221 NMEDIT=$lt_NMEDIT
18222
18223 # Tool to manipulate fat objects and archives on Mac OS X.
18224 LIPO=$lt_LIPO
18225
18226 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18227 OTOOL=$lt_OTOOL
18228
18229 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18230 OTOOL64=$lt_OTOOL64
18231
18232 # Old archive suffix (normally "a").
18233 libext=$libext
18234
18235 # Shared library suffix (normally ".so").
18236 shrext_cmds=$lt_shrext_cmds
18237
18238 # The commands to extract the exported symbol list from a shared archive.
18239 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18240
18241 # Variables whose values should be saved in libtool wrapper scripts and
18242 # restored at link time.
18243 variables_saved_for_relink=$lt_variables_saved_for_relink
18244
18245 # Do we need the "lib" prefix for modules?
18246 need_lib_prefix=$need_lib_prefix
18247
18248 # Do we need a version for libraries?
18249 need_version=$need_version
18250
18251 # Library versioning type.
18252 version_type=$version_type
18253
18254 # Shared library runtime path variable.
18255 runpath_var=$runpath_var
18256
18257 # Shared library path variable.
18258 shlibpath_var=$shlibpath_var
18259
18260 # Is shlibpath searched before the hard-coded library search path?
18261 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18262
18263 # Format of library name prefix.
18264 libname_spec=$lt_libname_spec
18265
18266 # List of archive names. First name is the real one, the rest are links.
18267 # The last name is the one that the linker finds with -lNAME
18268 library_names_spec=$lt_library_names_spec
18269
18270 # The coded name of the library, if different from the real name.
18271 soname_spec=$lt_soname_spec
18272
18273 # Permission mode override for installation of shared libraries.
18274 install_override_mode=$lt_install_override_mode
18275
18276 # Command to use after installation of a shared archive.
18277 postinstall_cmds=$lt_postinstall_cmds
18278
18279 # Command to use after uninstallation of a shared archive.
18280 postuninstall_cmds=$lt_postuninstall_cmds
18281
18282 # Commands used to finish a libtool library installation in a directory.
18283 finish_cmds=$lt_finish_cmds
18284
18285 # As "finish_cmds", except a single script fragment to be evaled but
18286 # not shown.
18287 finish_eval=$lt_finish_eval
18288
18289 # Whether we should hardcode library paths into libraries.
18290 hardcode_into_libs=$hardcode_into_libs
18291
18292 # Compile-time system search path for libraries.
18293 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18294
18295 # Run-time system search path for libraries.
18296 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18297
18298 # Whether dlopen is supported.
18299 dlopen_support=$enable_dlopen
18300
18301 # Whether dlopen of programs is supported.
18302 dlopen_self=$enable_dlopen_self
18303
18304 # Whether dlopen of statically linked programs is supported.
18305 dlopen_self_static=$enable_dlopen_self_static
18306
18307 # Commands to strip libraries.
18308 old_striplib=$lt_old_striplib
18309 striplib=$lt_striplib
18310
18311
18312 # The linker used to build libraries.
18313 LD=$lt_LD
18314
18315 # How to create reloadable object files.
18316 reload_flag=$lt_reload_flag
18317 reload_cmds=$lt_reload_cmds
18318
18319 # Commands used to build an old-style archive.
18320 old_archive_cmds=$lt_old_archive_cmds
18321
18322 # A language specific compiler.
18323 CC=$lt_compiler
18324
18325 # Is the compiler the GNU compiler?
18326 with_gcc=$GCC
18327
18328 # Compiler flag to turn off builtin functions.
18329 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18330
18331 # Additional compiler flags for building library objects.
18332 pic_flag=$lt_lt_prog_compiler_pic
18333
18334 # How to pass a linker flag through the compiler.
18335 wl=$lt_lt_prog_compiler_wl
18336
18337 # Compiler flag to prevent dynamic linking.
18338 link_static_flag=$lt_lt_prog_compiler_static
18339
18340 # Does compiler simultaneously support -c and -o options?
18341 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18342
18343 # Whether or not to add -lc for building shared libraries.
18344 build_libtool_need_lc=$archive_cmds_need_lc
18345
18346 # Whether or not to disallow shared libs when runtime libs are static.
18347 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18348
18349 # Compiler flag to allow reflexive dlopens.
18350 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18351
18352 # Compiler flag to generate shared objects directly from archives.
18353 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18354
18355 # Whether the compiler copes with passing no objects directly.
18356 compiler_needs_object=$lt_compiler_needs_object
18357
18358 # Create an old-style archive from a shared archive.
18359 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18360
18361 # Create a temporary old-style archive to link instead of a shared archive.
18362 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18363
18364 # Commands used to build a shared archive.
18365 archive_cmds=$lt_archive_cmds
18366 archive_expsym_cmds=$lt_archive_expsym_cmds
18367
18368 # Commands used to build a loadable module if different from building
18369 # a shared archive.
18370 module_cmds=$lt_module_cmds
18371 module_expsym_cmds=$lt_module_expsym_cmds
18372
18373 # Whether we are building with GNU ld or not.
18374 with_gnu_ld=$lt_with_gnu_ld
18375
18376 # Flag that allows shared libraries with undefined symbols to be built.
18377 allow_undefined_flag=$lt_allow_undefined_flag
18378
18379 # Flag that enforces no undefined symbols.
18380 no_undefined_flag=$lt_no_undefined_flag
18381
18382 # Flag to hardcode \$libdir into a binary during linking.
18383 # This must work even if \$libdir does not exist
18384 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18385
18386 # If ld is used when linking, flag to hardcode \$libdir into a binary
18387 # during linking. This must work even if \$libdir does not exist.
18388 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18389
18390 # Whether we need a single "-rpath" flag with a separated argument.
18391 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18392
18393 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18394 # DIR into the resulting binary.
18395 hardcode_direct=$hardcode_direct
18396
18397 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18398 # DIR into the resulting binary and the resulting library dependency is
18399 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18400 # library is relocated.
18401 hardcode_direct_absolute=$hardcode_direct_absolute
18402
18403 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18404 # into the resulting binary.
18405 hardcode_minus_L=$hardcode_minus_L
18406
18407 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18408 # into the resulting binary.
18409 hardcode_shlibpath_var=$hardcode_shlibpath_var
18410
18411 # Set to "yes" if building a shared library automatically hardcodes DIR
18412 # into the library and all subsequent libraries and executables linked
18413 # against it.
18414 hardcode_automatic=$hardcode_automatic
18415
18416 # Set to yes if linker adds runtime paths of dependent libraries
18417 # to runtime path list.
18418 inherit_rpath=$inherit_rpath
18419
18420 # Whether libtool must link a program against all its dependency libraries.
18421 link_all_deplibs=$link_all_deplibs
18422
18423 # Set to "yes" if exported symbols are required.
18424 always_export_symbols=$always_export_symbols
18425
18426 # The commands to list exported symbols.
18427 export_symbols_cmds=$lt_export_symbols_cmds
18428
18429 # Symbols that should not be listed in the preloaded symbols.
18430 exclude_expsyms=$lt_exclude_expsyms
18431
18432 # Symbols that must always be exported.
18433 include_expsyms=$lt_include_expsyms
18434
18435 # Commands necessary for linking programs (against libraries) with templates.
18436 prelink_cmds=$lt_prelink_cmds
18437
18438 # Commands necessary for finishing linking programs.
18439 postlink_cmds=$lt_postlink_cmds
18440
18441 # Specify filename containing input files.
18442 file_list_spec=$lt_file_list_spec
18443
18444 # How to hardcode a shared library path into an executable.
18445 hardcode_action=$hardcode_action
18446
18447 # The directories searched by this compiler when creating a shared library.
18448 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18449
18450 # Dependencies to place before and after the objects being linked to
18451 # create a shared library.
18452 predep_objects=$lt_predep_objects
18453 postdep_objects=$lt_postdep_objects
18454 predeps=$lt_predeps
18455 postdeps=$lt_postdeps
18456
18457 # The library search path used internally by the compiler when linking
18458 # a shared library.
18459 compiler_lib_search_path=$lt_compiler_lib_search_path
18460
18461 # ### END LIBTOOL CONFIG
18462
18463 _LT_EOF
18464
18465 case $host_os in
18466 aix3*)
18467 cat <<\_LT_EOF >> "$cfgfile"
18468 # AIX sometimes has problems with the GCC collect2 program. For some
18469 # reason, if we set the COLLECT_NAMES environment variable, the problems
18470 # vanish in a puff of smoke.
18471 if test "X${COLLECT_NAMES+set}" != Xset; then
18472 COLLECT_NAMES=
18473 export COLLECT_NAMES
18474 fi
18475 _LT_EOF
18476 ;;
18477 esac
18478
18479
18480 ltmain="$ac_aux_dir/ltmain.sh"
18481
18482
18483 # We use sed instead of cat because bash on DJGPP gets confused if
18484 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18485 # text mode, it properly converts lines to CR/LF. This bash problem
18486 # is reportedly fixed, but why not run on old versions too?
18487 sed '$q' "$ltmain" >> "$cfgfile" \
18488 || (rm -f "$cfgfile"; exit 1)
18489
18490 if test x"$xsi_shell" = xyes; then
18491 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18492 func_dirname ()\
18493 {\
18494 \ case ${1} in\
18495 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18496 \ * ) func_dirname_result="${3}" ;;\
18497 \ esac\
18498 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18499 && mv -f "$cfgfile.tmp" "$cfgfile" \
18500 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18501 test 0 -eq $? || _lt_function_replace_fail=:
18502
18503
18504 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18505 func_basename ()\
18506 {\
18507 \ func_basename_result="${1##*/}"\
18508 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18509 && mv -f "$cfgfile.tmp" "$cfgfile" \
18510 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18511 test 0 -eq $? || _lt_function_replace_fail=:
18512
18513
18514 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18515 func_dirname_and_basename ()\
18516 {\
18517 \ case ${1} in\
18518 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18519 \ * ) func_dirname_result="${3}" ;;\
18520 \ esac\
18521 \ func_basename_result="${1##*/}"\
18522 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18523 && mv -f "$cfgfile.tmp" "$cfgfile" \
18524 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18525 test 0 -eq $? || _lt_function_replace_fail=:
18526
18527
18528 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18529 func_stripname ()\
18530 {\
18531 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18532 \ # positional parameters, so assign one to ordinary parameter first.\
18533 \ func_stripname_result=${3}\
18534 \ func_stripname_result=${func_stripname_result#"${1}"}\
18535 \ func_stripname_result=${func_stripname_result%"${2}"}\
18536 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18537 && mv -f "$cfgfile.tmp" "$cfgfile" \
18538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18539 test 0 -eq $? || _lt_function_replace_fail=:
18540
18541
18542 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18543 func_split_long_opt ()\
18544 {\
18545 \ func_split_long_opt_name=${1%%=*}\
18546 \ func_split_long_opt_arg=${1#*=}\
18547 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18548 && mv -f "$cfgfile.tmp" "$cfgfile" \
18549 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18550 test 0 -eq $? || _lt_function_replace_fail=:
18551
18552
18553 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18554 func_split_short_opt ()\
18555 {\
18556 \ func_split_short_opt_arg=${1#??}\
18557 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18558 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18559 && mv -f "$cfgfile.tmp" "$cfgfile" \
18560 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18561 test 0 -eq $? || _lt_function_replace_fail=:
18562
18563
18564 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18565 func_lo2o ()\
18566 {\
18567 \ case ${1} in\
18568 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18569 \ *) func_lo2o_result=${1} ;;\
18570 \ esac\
18571 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18572 && mv -f "$cfgfile.tmp" "$cfgfile" \
18573 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18574 test 0 -eq $? || _lt_function_replace_fail=:
18575
18576
18577 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18578 func_xform ()\
18579 {\
18580 func_xform_result=${1%.*}.lo\
18581 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18582 && mv -f "$cfgfile.tmp" "$cfgfile" \
18583 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18584 test 0 -eq $? || _lt_function_replace_fail=:
18585
18586
18587 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18588 func_arith ()\
18589 {\
18590 func_arith_result=$(( $* ))\
18591 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18592 && mv -f "$cfgfile.tmp" "$cfgfile" \
18593 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18594 test 0 -eq $? || _lt_function_replace_fail=:
18595
18596
18597 sed -e '/^func_len ()$/,/^} # func_len /c\
18598 func_len ()\
18599 {\
18600 func_len_result=${#1}\
18601 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18602 && mv -f "$cfgfile.tmp" "$cfgfile" \
18603 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18604 test 0 -eq $? || _lt_function_replace_fail=:
18605
18606 fi
18607
18608 if test x"$lt_shell_append" = xyes; then
18609 sed -e '/^func_append ()$/,/^} # func_append /c\
18610 func_append ()\
18611 {\
18612 eval "${1}+=\\${2}"\
18613 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18614 && mv -f "$cfgfile.tmp" "$cfgfile" \
18615 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18616 test 0 -eq $? || _lt_function_replace_fail=:
18617
18618
18619 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18620 func_append_quoted ()\
18621 {\
18622 \ func_quote_for_eval "${2}"\
18623 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18624 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18625 && mv -f "$cfgfile.tmp" "$cfgfile" \
18626 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18627 test 0 -eq $? || _lt_function_replace_fail=:
18628
18629
18630 # Save a `func_append' function call where possible by direct use of '+='
18631 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18632 && mv -f "$cfgfile.tmp" "$cfgfile" \
18633 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18634 test 0 -eq $? || _lt_function_replace_fail=:
18635 else
18636 # Save a `func_append' function call even when '+=' is not available
18637 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18638 && mv -f "$cfgfile.tmp" "$cfgfile" \
18639 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18640 test 0 -eq $? || _lt_function_replace_fail=:
18641 fi
18642
18643 if test x"$_lt_function_replace_fail" = x":"; then
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18645 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18646 fi
18647
18648
18649 mv -f "$cfgfile" "$ofile" ||
18650 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18651 chmod +x "$ofile"
18652
18653
18654 cat <<_LT_EOF >> "$ofile"
18655
18656 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18657
18658 # The linker used to build libraries.
18659 LD=$lt_LD_CXX
18660
18661 # How to create reloadable object files.
18662 reload_flag=$lt_reload_flag_CXX
18663 reload_cmds=$lt_reload_cmds_CXX
18664
18665 # Commands used to build an old-style archive.
18666 old_archive_cmds=$lt_old_archive_cmds_CXX
18667
18668 # A language specific compiler.
18669 CC=$lt_compiler_CXX
18670
18671 # Is the compiler the GNU compiler?
18672 with_gcc=$GCC_CXX
18673
18674 # Compiler flag to turn off builtin functions.
18675 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18676
18677 # Additional compiler flags for building library objects.
18678 pic_flag=$lt_lt_prog_compiler_pic_CXX
18679
18680 # How to pass a linker flag through the compiler.
18681 wl=$lt_lt_prog_compiler_wl_CXX
18682
18683 # Compiler flag to prevent dynamic linking.
18684 link_static_flag=$lt_lt_prog_compiler_static_CXX
18685
18686 # Does compiler simultaneously support -c and -o options?
18687 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18688
18689 # Whether or not to add -lc for building shared libraries.
18690 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18691
18692 # Whether or not to disallow shared libs when runtime libs are static.
18693 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18694
18695 # Compiler flag to allow reflexive dlopens.
18696 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18697
18698 # Compiler flag to generate shared objects directly from archives.
18699 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18700
18701 # Whether the compiler copes with passing no objects directly.
18702 compiler_needs_object=$lt_compiler_needs_object_CXX
18703
18704 # Create an old-style archive from a shared archive.
18705 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18706
18707 # Create a temporary old-style archive to link instead of a shared archive.
18708 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18709
18710 # Commands used to build a shared archive.
18711 archive_cmds=$lt_archive_cmds_CXX
18712 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18713
18714 # Commands used to build a loadable module if different from building
18715 # a shared archive.
18716 module_cmds=$lt_module_cmds_CXX
18717 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18718
18719 # Whether we are building with GNU ld or not.
18720 with_gnu_ld=$lt_with_gnu_ld_CXX
18721
18722 # Flag that allows shared libraries with undefined symbols to be built.
18723 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18724
18725 # Flag that enforces no undefined symbols.
18726 no_undefined_flag=$lt_no_undefined_flag_CXX
18727
18728 # Flag to hardcode \$libdir into a binary during linking.
18729 # This must work even if \$libdir does not exist
18730 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18731
18732 # If ld is used when linking, flag to hardcode \$libdir into a binary
18733 # during linking. This must work even if \$libdir does not exist.
18734 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18735
18736 # Whether we need a single "-rpath" flag with a separated argument.
18737 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18738
18739 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18740 # DIR into the resulting binary.
18741 hardcode_direct=$hardcode_direct_CXX
18742
18743 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18744 # DIR into the resulting binary and the resulting library dependency is
18745 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18746 # library is relocated.
18747 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18748
18749 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18750 # into the resulting binary.
18751 hardcode_minus_L=$hardcode_minus_L_CXX
18752
18753 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18754 # into the resulting binary.
18755 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18756
18757 # Set to "yes" if building a shared library automatically hardcodes DIR
18758 # into the library and all subsequent libraries and executables linked
18759 # against it.
18760 hardcode_automatic=$hardcode_automatic_CXX
18761
18762 # Set to yes if linker adds runtime paths of dependent libraries
18763 # to runtime path list.
18764 inherit_rpath=$inherit_rpath_CXX
18765
18766 # Whether libtool must link a program against all its dependency libraries.
18767 link_all_deplibs=$link_all_deplibs_CXX
18768
18769 # Set to "yes" if exported symbols are required.
18770 always_export_symbols=$always_export_symbols_CXX
18771
18772 # The commands to list exported symbols.
18773 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18774
18775 # Symbols that should not be listed in the preloaded symbols.
18776 exclude_expsyms=$lt_exclude_expsyms_CXX
18777
18778 # Symbols that must always be exported.
18779 include_expsyms=$lt_include_expsyms_CXX
18780
18781 # Commands necessary for linking programs (against libraries) with templates.
18782 prelink_cmds=$lt_prelink_cmds_CXX
18783
18784 # Commands necessary for finishing linking programs.
18785 postlink_cmds=$lt_postlink_cmds_CXX
18786
18787 # Specify filename containing input files.
18788 file_list_spec=$lt_file_list_spec_CXX
18789
18790 # How to hardcode a shared library path into an executable.
18791 hardcode_action=$hardcode_action_CXX
18792
18793 # The directories searched by this compiler when creating a shared library.
18794 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18795
18796 # Dependencies to place before and after the objects being linked to
18797 # create a shared library.
18798 predep_objects=$lt_predep_objects_CXX
18799 postdep_objects=$lt_postdep_objects_CXX
18800 predeps=$lt_predeps_CXX
18801 postdeps=$lt_postdeps_CXX
18802
18803 # The library search path used internally by the compiler when linking
18804 # a shared library.
18805 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18806
18807 # ### END LIBTOOL TAG CONFIG: CXX
18808 _LT_EOF
18809
18810 ;;
18811
18812 esac
18813 done # for ac_tag
18814
18815
18816 as_fn_exit 0
18817 _ACEOF
18818 ac_clean_files=$ac_clean_files_save
18819
18820 test $ac_write_fail = 0 ||
18821 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18822
18823
18824 # configure is writing to config.log, and then calls config.status.
18825 # config.status does its own redirection, appending to config.log.
18826 # Unfortunately, on DOS this fails, as config.log is still kept open
18827 # by configure, so config.status won't be able to write to it; its
18828 # output is simply discarded. So we exec the FD to /dev/null,
18829 # effectively closing config.log, so it can be properly (re)opened and
18830 # appended to by config.status. When coming back to configure, we
18831 # need to make the FD available again.
18832 if test "$no_create" != yes; then
18833 ac_cs_success=:
18834 ac_config_status_args=
18835 test "$silent" = yes &&
18836 ac_config_status_args="$ac_config_status_args --quiet"
18837 exec 5>/dev/null
18838 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18839 exec 5>>config.log
18840 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18841 # would make configure fail if this is the last instruction.
18842 $ac_cs_success || as_fn_exit 1
18843 fi
18844 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18846 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18847 fi
18848
18849
18850
18851 echo "* ======== DSSI ${PACKAGE_VERSION} configured ========"
18852
18853 if test -z "$jack_dssi_host_needs" ; then
18854 echo "* building jack-dssi-host: yes"
18855 else
18856 echo "* building jack-dssi-host: no (missing$jack_dssi_host_needs)"
18857 fi
18858 echo "* building DSSI list/analyse tools: yes"
18859 if test -z "$dssi_osc_tools_needs" ; then
18860 echo "* building DSSI OSC tools: yes"
18861 else
18862 echo "* building DSSI OSC tools: no (missing$dssi_osc_tools_needs)"
18863 fi
18864 echo "* building trivial_synth plugin: yes"
18865 echo "* building less_trivial_synth plugin: yes"
18866 echo "* building karplong plugin: yes"
18867 if test -z "$trivial_sampler_needs" ; then
18868 echo "* building trivial_sampler plugin: yes"
18869 else
18870 echo "* building trivial_sampler plugin: no (missing$trivial_sampler_needs)"
18871 fi
18872 if test -z "$less_trivial_synth_gui_needs" ; then
18873 echo "* building less_trivial_synth GUI: yes"
18874 else
18875 echo "* building less_trivial_synth GUI: no (missing$less_trivial_synth_gui_needs)"
18876 fi
18877 if test -z "$trivial_sampler_gui_needs" ; then
18878 echo "* building trivial_sampler GUI: yes"
18879 else
18880 echo "* building trivial_sampler GUI: no (missing$trivial_sampler_gui_needs)"
18881 fi