Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gstreamermm 1.10.0.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell [email protected] and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311 return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319 set +e
320 as_fn_set_status $1
321 exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
387 {
388 eval $1+=\$2
389 }'
390 else
391 as_fn_append ()
392 {
393 eval $1=\$$1\$2
394 }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else
408 as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 xy) ECHO_C='\c';;
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 ECHO_T=' ';;
520 esac;;
521 *)
522 ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
528 else
529 rm -f conf$$.dir
530 mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s='ln -s'
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 as_ln_s='cp -pR'
541 elif ln conf$$.file conf$$ 2>/dev/null; then
542 as_ln_s=ln
543 else
544 as_ln_s='cp -pR'
545 fi
546 else
547 as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
554 else
555 test -d ./-p && rmdir ./-p
556 as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='gstreamermm'
593 PACKAGE_TARNAME='gstreamermm'
594 PACKAGE_VERSION='1.10.0'
595 PACKAGE_STRING='gstreamermm 1.10.0'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm'
597 PACKAGE_URL='http://www.gtkmm.org/'
598
599 ac_unique_file="gstreamer/gstreamermm.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 # include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 # include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 DISABLE_DEPRECATED_API_FALSE
641 DISABLE_DEPRECATED_API_TRUE
642 GSTREAMERMM_WXXFLAGS
643 GST_INSPECT
644 GSTREAMERMM_BASE_PLUGIN_DEFS
645 GSTREAMERMM_CORE_PLUGIN_DEFS
646 ENABLE_UNITTESTS
647 DOCINSTALL_FLAGS
648 DOXYGEN_TAGFILES
649 ENABLE_DOCUMENTATION_FALSE
650 ENABLE_DOCUMENTATION_TRUE
651 XSLTPROC
652 DOXYGEN
653 DOT
654 PERL
655 GMMPROC_DIR
656 ENABLE_GUI_EXAMPLES_FALSE
657 ENABLE_GUI_EXAMPLES_TRUE
658 GUI_EXAMPLES_LIBS
659 GUI_EXAMPLES_CFLAGS
660 GSTREAMERMM_LIBS
661 GSTREAMERMM_CFLAGS
662 PKG_CONFIG_LIBDIR
663 PKG_CONFIG_PATH
664 PKG_CONFIG
665 GSTREAMERMM_MODULES
666 M4
667 CXXCPP
668 CPP
669 LT_SYS_LIBRARY_PATH
670 OTOOL64
671 OTOOL
672 LIPO
673 NMEDIT
674 DSYMUTIL
675 MANIFEST_TOOL
676 RANLIB
677 ac_ct_AR
678 AR
679 LN_S
680 NM
681 ac_ct_DUMPBIN
682 DUMPBIN
683 LD
684 FGREP
685 EGREP
686 GREP
687 SED
688 am__fastdepCC_FALSE
689 am__fastdepCC_TRUE
690 CCDEPMODE
691 ac_ct_CC
692 CFLAGS
693 CC
694 LIBTOOL
695 OBJDUMP
696 DLLTOOL
697 AS
698 host_os
699 host_vendor
700 host_cpu
701 host
702 build_os
703 build_vendor
704 build_cpu
705 build
706 HAVE_CXX11
707 am__fastdepCXX_FALSE
708 am__fastdepCXX_TRUE
709 CXXDEPMODE
710 am__nodep
711 AMDEPBACKSLASH
712 AMDEP_FALSE
713 AMDEP_TRUE
714 am__quote
715 am__include
716 DEPDIR
717 OBJEXT
718 EXEEXT
719 ac_ct_CXX
720 CPPFLAGS
721 LDFLAGS
722 CXXFLAGS
723 CXX
724 ACLOCAL_FLAGS
725 MAINT
726 MAINTAINER_MODE_FALSE
727 MAINTAINER_MODE_TRUE
728 AM_BACKSLASH
729 AM_DEFAULT_VERBOSITY
730 AM_DEFAULT_V
731 AM_V
732 am__untar
733 am__tar
734 AMTAR
735 am__leading_dot
736 SET_MAKE
737 AWK
738 mkdir_p
739 MKDIR_P
740 INSTALL_STRIP_PROGRAM
741 STRIP
742 install_sh
743 MAKEINFO
744 AUTOHEADER
745 AUTOMAKE
746 AUTOCONF
747 ACLOCAL
748 VERSION
749 PACKAGE
750 CYGPATH_W
751 am__isrc
752 INSTALL_DATA
753 INSTALL_SCRIPT
754 INSTALL_PROGRAM
755 GSTREAMERMM_SO_VERSION
756 MMDOCTOOLDIR
757 DIST_DOCTOOLS_FALSE
758 DIST_DOCTOOLS_TRUE
759 GSTREAMERMM_MICRO_VERSION
760 GSTREAMERMM_MINOR_VERSION
761 GSTREAMERMM_MAJOR_VERSION
762 GSTREAMERMM_API_VERSION
763 GSTREAMERMM_VERSION
764 GSTREAMERMM_MODULE_NAME
765 target_alias
766 host_alias
767 build_alias
768 LIBS
769 ECHO_T
770 ECHO_N
771 ECHO_C
772 DEFS
773 mandir
774 localedir
775 libdir
776 psdir
777 pdfdir
778 dvidir
779 htmldir
780 infodir
781 docdir
782 oldincludedir
783 includedir
784 localstatedir
785 sharedstatedir
786 sysconfdir
787 datadir
788 datarootdir
789 libexecdir
790 sbindir
791 bindir
792 program_transform_name
793 prefix
794 exec_prefix
795 PACKAGE_URL
796 PACKAGE_BUGREPORT
797 PACKAGE_STRING
798 PACKAGE_VERSION
799 PACKAGE_TARNAME
800 PACKAGE_NAME
801 PATH_SEPARATOR
802 SHELL'
803 ac_subst_files=''
804 ac_user_opts='
805 enable_option_checking
806 enable_silent_rules
807 enable_maintainer_mode
808 enable_dependency_tracking
809 enable_static
810 enable_shared
811 with_pic
812 enable_fast_install
813 with_aix_soname
814 with_gnu_ld
815 with_sysroot
816 enable_libtool_lock
817 enable_documentation
818 with_libstdc_doc
819 with_libsigc_doc
820 with_glibmm_doc
821 with_cairomm_doc
822 with_pangomm_doc
823 enable_unittests
824 enable_warnings
825 enable_deprecated_api
826 '
827 ac_precious_vars='build_alias
828 host_alias
829 target_alias
830 ACLOCAL_FLAGS
831 CXX
832 CXXFLAGS
833 LDFLAGS
834 LIBS
835 CPPFLAGS
836 CCC
837 CC
838 CFLAGS
839 LT_SYS_LIBRARY_PATH
840 CPP
841 CXXCPP
842 PKG_CONFIG
843 PKG_CONFIG_PATH
844 PKG_CONFIG_LIBDIR
845 GSTREAMERMM_CFLAGS
846 GSTREAMERMM_LIBS
847 GUI_EXAMPLES_CFLAGS
848 GUI_EXAMPLES_LIBS
849 PERL
850 DOT
851 DOXYGEN
852 XSLTPROC'
853
854
855 # Initialize some variables set by options.
856 ac_init_help=
857 ac_init_version=false
858 ac_unrecognized_opts=
859 ac_unrecognized_sep=
860 # The variables have the same names as the options, with
861 # dashes changed to underlines.
862 cache_file=/dev/null
863 exec_prefix=NONE
864 no_create=
865 no_recursion=
866 prefix=NONE
867 program_prefix=NONE
868 program_suffix=NONE
869 program_transform_name=s,x,x,
870 silent=
871 site=
872 srcdir=
873 verbose=
874 x_includes=NONE
875 x_libraries=NONE
876
877 # Installation directory options.
878 # These are left unexpanded so users can "make install exec_prefix=/foo"
879 # and all the variables that are supposed to be based on exec_prefix
880 # by default will actually change.
881 # Use braces instead of parens because sh, perl, etc. also accept them.
882 # (The list follows the same order as the GNU Coding Standards.)
883 bindir='${exec_prefix}/bin'
884 sbindir='${exec_prefix}/sbin'
885 libexecdir='${exec_prefix}/libexec'
886 datarootdir='${prefix}/share'
887 datadir='${datarootdir}'
888 sysconfdir='${prefix}/etc'
889 sharedstatedir='${prefix}/com'
890 localstatedir='${prefix}/var'
891 includedir='${prefix}/include'
892 oldincludedir='/usr/include'
893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
894 infodir='${datarootdir}/info'
895 htmldir='${docdir}'
896 dvidir='${docdir}'
897 pdfdir='${docdir}'
898 psdir='${docdir}'
899 libdir='${exec_prefix}/lib'
900 localedir='${datarootdir}/locale'
901 mandir='${datarootdir}/man'
902
903 ac_prev=
904 ac_dashdash=
905 for ac_option
906 do
907 # If the previous option needs an argument, assign it.
908 if test -n "$ac_prev"; then
909 eval $ac_prev=\$ac_option
910 ac_prev=
911 continue
912 fi
913
914 case $ac_option in
915 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 *=) ac_optarg= ;;
917 *) ac_optarg=yes ;;
918 esac
919
920 # Accept the important Cygnus configure options, so we can diagnose typos.
921
922 case $ac_dashdash$ac_option in
923 --)
924 ac_dashdash=yes ;;
925
926 -bindir | --bindir | --bindi | --bind | --bin | --bi)
927 ac_prev=bindir ;;
928 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
929 bindir=$ac_optarg ;;
930
931 -build | --build | --buil | --bui | --bu)
932 ac_prev=build_alias ;;
933 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
934 build_alias=$ac_optarg ;;
935
936 -cache-file | --cache-file | --cache-fil | --cache-fi \
937 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
938 ac_prev=cache_file ;;
939 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
940 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
941 cache_file=$ac_optarg ;;
942
943 --config-cache | -C)
944 cache_file=config.cache ;;
945
946 -datadir | --datadir | --datadi | --datad)
947 ac_prev=datadir ;;
948 -datadir=* | --datadir=* | --datadi=* | --datad=*)
949 datadir=$ac_optarg ;;
950
951 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
952 | --dataroo | --dataro | --datar)
953 ac_prev=datarootdir ;;
954 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
955 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
956 datarootdir=$ac_optarg ;;
957
958 -disable-* | --disable-*)
959 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
962 as_fn_error $? "invalid feature name: $ac_useropt"
963 ac_useropt_orig=$ac_useropt
964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
966 *"
967 "enable_$ac_useropt"
968 "*) ;;
969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
970 ac_unrecognized_sep=', ';;
971 esac
972 eval enable_$ac_useropt=no ;;
973
974 -docdir | --docdir | --docdi | --doc | --do)
975 ac_prev=docdir ;;
976 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
977 docdir=$ac_optarg ;;
978
979 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
980 ac_prev=dvidir ;;
981 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
982 dvidir=$ac_optarg ;;
983
984 -enable-* | --enable-*)
985 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
988 as_fn_error $? "invalid feature name: $ac_useropt"
989 ac_useropt_orig=$ac_useropt
990 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
992 *"
993 "enable_$ac_useropt"
994 "*) ;;
995 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
996 ac_unrecognized_sep=', ';;
997 esac
998 eval enable_$ac_useropt=\$ac_optarg ;;
999
1000 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1001 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1002 | --exec | --exe | --ex)
1003 ac_prev=exec_prefix ;;
1004 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1005 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1006 | --exec=* | --exe=* | --ex=*)
1007 exec_prefix=$ac_optarg ;;
1008
1009 -gas | --gas | --ga | --g)
1010 # Obsolete; use --with-gas.
1011 with_gas=yes ;;
1012
1013 -help | --help | --hel | --he | -h)
1014 ac_init_help=long ;;
1015 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1016 ac_init_help=recursive ;;
1017 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1018 ac_init_help=short ;;
1019
1020 -host | --host | --hos | --ho)
1021 ac_prev=host_alias ;;
1022 -host=* | --host=* | --hos=* | --ho=*)
1023 host_alias=$ac_optarg ;;
1024
1025 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1026 ac_prev=htmldir ;;
1027 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1028 | --ht=*)
1029 htmldir=$ac_optarg ;;
1030
1031 -includedir | --includedir | --includedi | --included | --include \
1032 | --includ | --inclu | --incl | --inc)
1033 ac_prev=includedir ;;
1034 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1035 | --includ=* | --inclu=* | --incl=* | --inc=*)
1036 includedir=$ac_optarg ;;
1037
1038 -infodir | --infodir | --infodi | --infod | --info | --inf)
1039 ac_prev=infodir ;;
1040 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1041 infodir=$ac_optarg ;;
1042
1043 -libdir | --libdir | --libdi | --libd)
1044 ac_prev=libdir ;;
1045 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1046 libdir=$ac_optarg ;;
1047
1048 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1049 | --libexe | --libex | --libe)
1050 ac_prev=libexecdir ;;
1051 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1052 | --libexe=* | --libex=* | --libe=*)
1053 libexecdir=$ac_optarg ;;
1054
1055 -localedir | --localedir | --localedi | --localed | --locale)
1056 ac_prev=localedir ;;
1057 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1058 localedir=$ac_optarg ;;
1059
1060 -localstatedir | --localstatedir | --localstatedi | --localstated \
1061 | --localstate | --localstat | --localsta | --localst | --locals)
1062 ac_prev=localstatedir ;;
1063 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1064 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1065 localstatedir=$ac_optarg ;;
1066
1067 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1068 ac_prev=mandir ;;
1069 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1070 mandir=$ac_optarg ;;
1071
1072 -nfp | --nfp | --nf)
1073 # Obsolete; use --without-fp.
1074 with_fp=no ;;
1075
1076 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1077 | --no-cr | --no-c | -n)
1078 no_create=yes ;;
1079
1080 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1081 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1082 no_recursion=yes ;;
1083
1084 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1085 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1086 | --oldin | --oldi | --old | --ol | --o)
1087 ac_prev=oldincludedir ;;
1088 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1089 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1090 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1091 oldincludedir=$ac_optarg ;;
1092
1093 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1094 ac_prev=prefix ;;
1095 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1096 prefix=$ac_optarg ;;
1097
1098 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1099 | --program-pre | --program-pr | --program-p)
1100 ac_prev=program_prefix ;;
1101 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1102 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1103 program_prefix=$ac_optarg ;;
1104
1105 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1106 | --program-suf | --program-su | --program-s)
1107 ac_prev=program_suffix ;;
1108 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1109 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1110 program_suffix=$ac_optarg ;;
1111
1112 -program-transform-name | --program-transform-name \
1113 | --program-transform-nam | --program-transform-na \
1114 | --program-transform-n | --program-transform- \
1115 | --program-transform | --program-transfor \
1116 | --program-transfo | --program-transf \
1117 | --program-trans | --program-tran \
1118 | --progr-tra | --program-tr | --program-t)
1119 ac_prev=program_transform_name ;;
1120 -program-transform-name=* | --program-transform-name=* \
1121 | --program-transform-nam=* | --program-transform-na=* \
1122 | --program-transform-n=* | --program-transform-=* \
1123 | --program-transform=* | --program-transfor=* \
1124 | --program-transfo=* | --program-transf=* \
1125 | --program-trans=* | --program-tran=* \
1126 | --progr-tra=* | --program-tr=* | --program-t=*)
1127 program_transform_name=$ac_optarg ;;
1128
1129 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1130 ac_prev=pdfdir ;;
1131 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1132 pdfdir=$ac_optarg ;;
1133
1134 -psdir | --psdir | --psdi | --psd | --ps)
1135 ac_prev=psdir ;;
1136 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1137 psdir=$ac_optarg ;;
1138
1139 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1140 | -silent | --silent | --silen | --sile | --sil)
1141 silent=yes ;;
1142
1143 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1144 ac_prev=sbindir ;;
1145 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1146 | --sbi=* | --sb=*)
1147 sbindir=$ac_optarg ;;
1148
1149 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1150 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1151 | --sharedst | --shareds | --shared | --share | --shar \
1152 | --sha | --sh)
1153 ac_prev=sharedstatedir ;;
1154 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1155 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1156 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1157 | --sha=* | --sh=*)
1158 sharedstatedir=$ac_optarg ;;
1159
1160 -site | --site | --sit)
1161 ac_prev=site ;;
1162 -site=* | --site=* | --sit=*)
1163 site=$ac_optarg ;;
1164
1165 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1166 ac_prev=srcdir ;;
1167 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1168 srcdir=$ac_optarg ;;
1169
1170 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1171 | --syscon | --sysco | --sysc | --sys | --sy)
1172 ac_prev=sysconfdir ;;
1173 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1174 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1175 sysconfdir=$ac_optarg ;;
1176
1177 -target | --target | --targe | --targ | --tar | --ta | --t)
1178 ac_prev=target_alias ;;
1179 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1180 target_alias=$ac_optarg ;;
1181
1182 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1183 verbose=yes ;;
1184
1185 -version | --version | --versio | --versi | --vers | -V)
1186 ac_init_version=: ;;
1187
1188 -with-* | --with-*)
1189 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192 as_fn_error $? "invalid package name: $ac_useropt"
1193 ac_useropt_orig=$ac_useropt
1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1196 *"
1197 "with_$ac_useropt"
1198 "*) ;;
1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1200 ac_unrecognized_sep=', ';;
1201 esac
1202 eval with_$ac_useropt=\$ac_optarg ;;
1203
1204 -without-* | --without-*)
1205 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1208 as_fn_error $? "invalid package name: $ac_useropt"
1209 ac_useropt_orig=$ac_useropt
1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1212 *"
1213 "with_$ac_useropt"
1214 "*) ;;
1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1216 ac_unrecognized_sep=', ';;
1217 esac
1218 eval with_$ac_useropt=no ;;
1219
1220 --x)
1221 # Obsolete; use --with-x.
1222 with_x=yes ;;
1223
1224 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1225 | --x-incl | --x-inc | --x-in | --x-i)
1226 ac_prev=x_includes ;;
1227 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1228 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1229 x_includes=$ac_optarg ;;
1230
1231 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1232 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1233 ac_prev=x_libraries ;;
1234 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1235 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1236 x_libraries=$ac_optarg ;;
1237
1238 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1239 Try \`$0 --help' for more information"
1240 ;;
1241
1242 *=*)
1243 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1244 # Reject names that are not valid shell variable names.
1245 case $ac_envvar in #(
1246 '' | [0-9]* | *[!_$as_cr_alnum]* )
1247 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1248 esac
1249 eval $ac_envvar=\$ac_optarg
1250 export $ac_envvar ;;
1251
1252 *)
1253 # FIXME: should be removed in autoconf 3.0.
1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1258 ;;
1259
1260 esac
1261 done
1262
1263 if test -n "$ac_prev"; then
1264 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1265 as_fn_error $? "missing argument to $ac_option"
1266 fi
1267
1268 if test -n "$ac_unrecognized_opts"; then
1269 case $enable_option_checking in
1270 no) ;;
1271 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 esac
1274 fi
1275
1276 # Check all directory arguments for consistency.
1277 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1278 datadir sysconfdir sharedstatedir localstatedir includedir \
1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1280 libdir localedir mandir
1281 do
1282 eval ac_val=\$$ac_var
1283 # Remove trailing slashes.
1284 case $ac_val in
1285 */ )
1286 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1287 eval $ac_var=\$ac_val;;
1288 esac
1289 # Be sure to have absolute directory names.
1290 case $ac_val in
1291 [\\/$]* | ?:[\\/]* ) continue;;
1292 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1293 esac
1294 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1295 done
1296
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1300 build=$build_alias
1301 host=$host_alias
1302 target=$target_alias
1303
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x; then
1306 if test "x$build_alias" = x; then
1307 cross_compiling=maybe
1308 elif test "x$build_alias" != "x$host_alias"; then
1309 cross_compiling=yes
1310 fi
1311 fi
1312
1313 ac_tool_prefix=
1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1315
1316 test "$silent" = yes && exec 6>/dev/null
1317
1318
1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1320 ac_ls_di=`ls -di .` &&
1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1322 as_fn_error $? "working directory cannot be determined"
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 as_fn_error $? "pwd does not report name of working directory"
1325
1326
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329 ac_srcdir_defaulted=yes
1330 # Try the directory containing this script, then the parent directory.
1331 ac_confdir=`$as_dirname -- "$as_myself" ||
1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333 X"$as_myself" : 'X\(//\)[^/]' \| \
1334 X"$as_myself" : 'X\(//\)$' \| \
1335 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1336 $as_echo X"$as_myself" |
1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 s//\1/
1339 q
1340 }
1341 /^X\(\/\/\)[^/].*/{
1342 s//\1/
1343 q
1344 }
1345 /^X\(\/\/\)$/{
1346 s//\1/
1347 q
1348 }
1349 /^X\(\/\).*/{
1350 s//\1/
1351 q
1352 }
1353 s/.*/./; q'`
1354 srcdir=$ac_confdir
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1356 srcdir=..
1357 fi
1358 else
1359 ac_srcdir_defaulted=no
1360 fi
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1364 fi
1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1366 ac_abs_confdir=`(
1367 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1368 pwd)`
1369 # When building in place, set srcdir=.
1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 srcdir=.
1372 fi
1373 # Remove unnecessary trailing slashes from srcdir.
1374 # Double slashes in file names in object file debugging info
1375 # mess up M-x gdb in Emacs.
1376 case $srcdir in
1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 esac
1379 for ac_var in $ac_precious_vars; do
1380 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_${ac_var}_value=\$${ac_var}
1382 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1384 done
1385
1386 #
1387 # Report the --help message.
1388 #
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1392 cat <<_ACEOF
1393 \`configure' configures gstreamermm 1.10.0 to adapt to many kinds of systems.
1394
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1396
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1399
1400 Defaults for the options are specified in brackets.
1401
1402 Configuration:
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking ...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 [PREFIX]
1418
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1423
1424 For better control, use the options below.
1425
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/gstreamermm]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1446 _ACEOF
1447
1448 cat <<\_ACEOF
1449
1450 Program names:
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1454
1455 System types:
1456 --build=BUILD configure for building on BUILD [guessed]
1457 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1458 _ACEOF
1459 fi
1460
1461 if test -n "$ac_init_help"; then
1462 case $ac_init_help in
1463 short | recursive ) echo "Configuration of gstreamermm 1.10.0:";;
1464 esac
1465 cat <<\_ACEOF
1466
1467 Optional Features:
1468 --disable-option-checking ignore unrecognized --enable/--with options
1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471 --enable-silent-rules less verbose build output (undo: "make V=1")
1472 --disable-silent-rules verbose build output (undo: "make V=0")
1473 --enable-maintainer-mode
1474 enable make rules and dependencies not useful (and
1475 sometimes confusing) to the casual installer
1476 --enable-dependency-tracking
1477 do not reject slow dependency extractors
1478 --disable-dependency-tracking
1479 speeds up one-time build
1480 --enable-static[=PKGS] build static libraries [default=no]
1481 --enable-shared[=PKGS] build shared libraries [default=yes]
1482 --enable-fast-install[=PKGS]
1483 optimize for fast installation [default=yes]
1484 --disable-libtool-lock avoid locking (might break parallel builds)
1485 --disable-documentation do not build or install the documentation
1486 --enable-unittests=[yes/no/auto]
1487 Enable unit tests
1488 --enable-warnings[=min|max|fatal|no]
1489 set compiler pedantry level [default=min]
1490 --disable-deprecated-api
1491 omit deprecated API from the library
1492
1493 Optional Packages:
1494 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1495 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1496 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1497 both]
1498 --with-aix-soname=aix|svr4|both
1499 shared library versioning (aka "SONAME") variant to
1500 provide on AIX, [default=aix].
1501 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1502 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1503 compiler's sysroot if not specified).
1504 --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1505 Link to external libstdc documentation [auto]
1506 --with-libsigc-doc=[TAGFILE@]HTMLREFDIR
1507 Link to external libsigc documentation [auto]
1508 --with-glibmm-doc=[TAGFILE@]HTMLREFDIR
1509 Link to external glibmm documentation [auto]
1510 --with-cairomm-doc=[TAGFILE@]HTMLREFDIR
1511 Link to external cairomm documentation [auto]
1512 --with-pangomm-doc=[TAGFILE@]HTMLREFDIR
1513 Link to external pangomm documentation [auto]
1514
1515 Some influential environment variables:
1516 ACLOCAL_FLAGS
1517 aclocal flags, e.g. -I <macro dir>
1518 CXX C++ compiler command
1519 CXXFLAGS C++ compiler flags
1520 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1521 nonstandard directory <lib dir>
1522 LIBS libraries to pass to the linker, e.g. -l<library>
1523 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524 you have headers in a nonstandard directory <include dir>
1525 CC C compiler command
1526 CFLAGS C compiler flags
1527 LT_SYS_LIBRARY_PATH
1528 User-defined run-time library search path.
1529 CPP C preprocessor
1530 CXXCPP C++ preprocessor
1531 PKG_CONFIG path to pkg-config utility
1532 PKG_CONFIG_PATH
1533 directories to add to pkg-config's search path
1534 PKG_CONFIG_LIBDIR
1535 path overriding pkg-config's built-in search path
1536 GSTREAMERMM_CFLAGS
1537 C compiler flags for GSTREAMERMM, overriding pkg-config
1538 GSTREAMERMM_LIBS
1539 linker flags for GSTREAMERMM, overriding pkg-config
1540 GUI_EXAMPLES_CFLAGS
1541 C compiler flags for GUI_EXAMPLES, overriding pkg-config
1542 GUI_EXAMPLES_LIBS
1543 linker flags for GUI_EXAMPLES, overriding pkg-config
1544 PERL path to Perl interpreter
1545 DOT path to dot utility
1546 DOXYGEN path to Doxygen utility
1547 XSLTPROC path to xsltproc utility
1548
1549 Use these variables to override the choices made by `configure' or to help
1550 it to find libraries and programs with nonstandard names/locations.
1551
1552 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm>.
1553 gstreamermm home page: <http://www.gtkmm.org/>.
1554 _ACEOF
1555 ac_status=$?
1556 fi
1557
1558 if test "$ac_init_help" = "recursive"; then
1559 # If there are subdirs, report their specific --help.
1560 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1561 test -d "$ac_dir" ||
1562 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1563 continue
1564 ac_builddir=.
1565
1566 case "$ac_dir" in
1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1568 *)
1569 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1570 # A ".." for each directory in $ac_dir_suffix.
1571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1572 case $ac_top_builddir_sub in
1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1575 esac ;;
1576 esac
1577 ac_abs_top_builddir=$ac_pwd
1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1579 # for backward compatibility:
1580 ac_top_builddir=$ac_top_build_prefix
1581
1582 case $srcdir in
1583 .) # We are building in place.
1584 ac_srcdir=.
1585 ac_top_srcdir=$ac_top_builddir_sub
1586 ac_abs_top_srcdir=$ac_pwd ;;
1587 [\\/]* | ?:[\\/]* ) # Absolute name.
1588 ac_srcdir=$srcdir$ac_dir_suffix;
1589 ac_top_srcdir=$srcdir
1590 ac_abs_top_srcdir=$srcdir ;;
1591 *) # Relative name.
1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1593 ac_top_srcdir=$ac_top_build_prefix$srcdir
1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1595 esac
1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1597
1598 cd "$ac_dir" || { ac_status=$?; continue; }
1599 # Check for guested configure.
1600 if test -f "$ac_srcdir/configure.gnu"; then
1601 echo &&
1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603 elif test -f "$ac_srcdir/configure"; then
1604 echo &&
1605 $SHELL "$ac_srcdir/configure" --help=recursive
1606 else
1607 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1608 fi || ac_status=$?
1609 cd "$ac_pwd" || { ac_status=$?; break; }
1610 done
1611 fi
1612
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1615 cat <<\_ACEOF
1616 gstreamermm configure 1.10.0
1617 generated by GNU Autoconf 2.69
1618
1619 Copyright (C) 2012 Free Software Foundation, Inc.
1620 This configure script is free software; the Free Software Foundation
1621 gives unlimited permission to copy, distribute and modify it.
1622 _ACEOF
1623 exit
1624 fi
1625
1626 ## ------------------------ ##
1627 ## Autoconf initialization. ##
1628 ## ------------------------ ##
1629
1630 # ac_fn_cxx_try_compile LINENO
1631 # ----------------------------
1632 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_cxx_try_compile ()
1634 {
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 rm -f conftest.$ac_objext
1637 if { { ac_try="$ac_compile"
1638 case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_compile") 2>conftest.err
1645 ac_status=$?
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1650 fi
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_cxx_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest.$ac_objext; then :
1656 ac_retval=0
1657 else
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1660
1661 ac_retval=1
1662 fi
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1665
1666 } # ac_fn_cxx_try_compile
1667
1668 # ac_fn_c_try_compile LINENO
1669 # --------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_c_try_compile ()
1672 {
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 rm -f conftest.$ac_objext
1675 if { { ac_try="$ac_compile"
1676 case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_compile") 2>conftest.err
1683 ac_status=$?
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1688 fi
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest.$ac_objext; then :
1694 ac_retval=0
1695 else
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1698
1699 ac_retval=1
1700 fi
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1703
1704 } # ac_fn_c_try_compile
1705
1706 # ac_fn_c_try_link LINENO
1707 # -----------------------
1708 # Try to link conftest.$ac_ext, and return whether this succeeded.
1709 ac_fn_c_try_link ()
1710 {
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 rm -f conftest.$ac_objext conftest$ac_exeext
1713 if { { ac_try="$ac_link"
1714 case "(($ac_try" in
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1717 esac
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>conftest.err
1721 ac_status=$?
1722 if test -s conftest.err; then
1723 grep -v '^ *+' conftest.err >conftest.er1
1724 cat conftest.er1 >&5
1725 mv -f conftest.er1 conftest.err
1726 fi
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; } && {
1729 test -z "$ac_c_werror_flag" ||
1730 test ! -s conftest.err
1731 } && test -s conftest$ac_exeext && {
1732 test "$cross_compiling" = yes ||
1733 test -x conftest$ac_exeext
1734 }; then :
1735 ac_retval=0
1736 else
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1739
1740 ac_retval=1
1741 fi
1742 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744 # interfere with the next link command; also delete a directory that is
1745 # left behind by Apple's compiler. We do this before executing the actions.
1746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_link
1751
1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1753 # -------------------------------------------------------
1754 # Tests whether HEADER exists and can be compiled using the include files in
1755 # INCLUDES, setting the cache variable VAR accordingly.
1756 ac_fn_c_check_header_compile ()
1757 {
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if eval \${$3+:} false; then :
1762 $as_echo_n "(cached) " >&6
1763 else
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1766 $4
1767 #include <$2>
1768 _ACEOF
1769 if ac_fn_c_try_compile "$LINENO"; then :
1770 eval "$3=yes"
1771 else
1772 eval "$3=no"
1773 fi
1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1775 fi
1776 eval ac_res=\$$3
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780
1781 } # ac_fn_c_check_header_compile
1782
1783 # ac_fn_c_try_cpp LINENO
1784 # ----------------------
1785 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_cpp ()
1787 {
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 if { { ac_try="$ac_cpp conftest.$ac_ext"
1790 case "(($ac_try" in
1791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797 ac_status=$?
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1802 fi
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } > conftest.i && {
1805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 }; then :
1808 ac_retval=0
1809 else
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1812
1813 ac_retval=1
1814 fi
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 as_fn_set_status $ac_retval
1817
1818 } # ac_fn_c_try_cpp
1819
1820 # ac_fn_c_try_run LINENO
1821 # ----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823 # that executables *can* be run.
1824 ac_fn_c_try_run ()
1825 {
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if { { ac_try="$ac_link"
1828 case "(($ac_try" in
1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1831 esac
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>&5
1835 ac_status=$?
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1838 { { case "(($ac_try" in
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1841 esac
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_try") 2>&5
1845 ac_status=$?
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; }; }; then :
1848 ac_retval=0
1849 else
1850 $as_echo "$as_me: program exited with status $ac_status" >&5
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1853
1854 ac_retval=$ac_status
1855 fi
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 as_fn_set_status $ac_retval
1859
1860 } # ac_fn_c_try_run
1861
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func ()
1866 {
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1872 else
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1877 #define $2 innocuous_$2
1878
1879 /* System header to define __stub macros and hopefully few prototypes,
1880 which can conflict with char $2 (); below.
1881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1882 <limits.h> exists even on freestanding compilers. */
1883
1884 #ifdef __STDC__
1885 # include <limits.h>
1886 #else
1887 # include <assert.h>
1888 #endif
1889
1890 #undef $2
1891
1892 /* Override any GCC internal prototype to avoid an error.
1893 Use char because int might match the return type of a GCC
1894 builtin and then its argument prototype would still apply. */
1895 #ifdef __cplusplus
1896 extern "C"
1897 #endif
1898 char $2 ();
1899 /* The GNU C library defines this for functions which it implements
1900 to always fail with ENOSYS. Some functions are actually named
1901 something starting with __ and the normal name is an alias. */
1902 #if defined __stub_$2 || defined __stub___$2
1903 choke me
1904 #endif
1905
1906 int
1907 main ()
1908 {
1909 return $2 ();
1910 ;
1911 return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_link "$LINENO"; then :
1915 eval "$3=yes"
1916 else
1917 eval "$3=no"
1918 fi
1919 rm -f core conftest.err conftest.$ac_objext \
1920 conftest$ac_exeext conftest.$ac_ext
1921 fi
1922 eval ac_res=\$$3
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926
1927 } # ac_fn_c_check_func
1928
1929 # ac_fn_cxx_try_cpp LINENO
1930 # ------------------------
1931 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1932 ac_fn_cxx_try_cpp ()
1933 {
1934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935 if { { ac_try="$ac_cpp conftest.$ac_ext"
1936 case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1943 ac_status=$?
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1948 fi
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } > conftest.i && {
1951 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1952 test ! -s conftest.err
1953 }; then :
1954 ac_retval=0
1955 else
1956 $as_echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.$ac_ext >&5
1958
1959 ac_retval=1
1960 fi
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962 as_fn_set_status $ac_retval
1963
1964 } # ac_fn_cxx_try_cpp
1965
1966 # ac_fn_cxx_try_link LINENO
1967 # -------------------------
1968 # Try to link conftest.$ac_ext, and return whether this succeeded.
1969 ac_fn_cxx_try_link ()
1970 {
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 rm -f conftest.$ac_objext conftest$ac_exeext
1973 if { { ac_try="$ac_link"
1974 case "(($ac_try" in
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1977 esac
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_link") 2>conftest.err
1981 ac_status=$?
1982 if test -s conftest.err; then
1983 grep -v '^ *+' conftest.err >conftest.er1
1984 cat conftest.er1 >&5
1985 mv -f conftest.er1 conftest.err
1986 fi
1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } && {
1989 test -z "$ac_cxx_werror_flag" ||
1990 test ! -s conftest.err
1991 } && test -s conftest$ac_exeext && {
1992 test "$cross_compiling" = yes ||
1993 test -x conftest$ac_exeext
1994 }; then :
1995 ac_retval=0
1996 else
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
1999
2000 ac_retval=1
2001 fi
2002 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2003 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2004 # interfere with the next link command; also delete a directory that is
2005 # left behind by Apple's compiler. We do this before executing the actions.
2006 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 as_fn_set_status $ac_retval
2009
2010 } # ac_fn_cxx_try_link
2011 cat >config.log <<_ACEOF
2012 This file contains any messages produced by compilers while
2013 running configure, to aid debugging if configure makes a mistake.
2014
2015 It was created by gstreamermm $as_me 1.10.0, which was
2016 generated by GNU Autoconf 2.69. Invocation command line was
2017
2018 $ $0 $@
2019
2020 _ACEOF
2021 exec 5>>config.log
2022 {
2023 cat <<_ASUNAME
2024 ## --------- ##
2025 ## Platform. ##
2026 ## --------- ##
2027
2028 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2029 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2030 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2031 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2032 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2033
2034 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2035 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2036
2037 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2038 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2039 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2040 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2041 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2042 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2043 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2044
2045 _ASUNAME
2046
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2048 for as_dir in $PATH
2049 do
2050 IFS=$as_save_IFS
2051 test -z "$as_dir" && as_dir=.
2052 $as_echo "PATH: $as_dir"
2053 done
2054 IFS=$as_save_IFS
2055
2056 } >&5
2057
2058 cat >&5 <<_ACEOF
2059
2060
2061 ## ----------- ##
2062 ## Core tests. ##
2063 ## ----------- ##
2064
2065 _ACEOF
2066
2067
2068 # Keep a trace of the command line.
2069 # Strip out --no-create and --no-recursion so they do not pile up.
2070 # Strip out --silent because we don't want to record it for future runs.
2071 # Also quote any args containing shell meta-characters.
2072 # Make two passes to allow for proper duplicate-argument suppression.
2073 ac_configure_args=
2074 ac_configure_args0=
2075 ac_configure_args1=
2076 ac_must_keep_next=false
2077 for ac_pass in 1 2
2078 do
2079 for ac_arg
2080 do
2081 case $ac_arg in
2082 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2084 | -silent | --silent | --silen | --sile | --sil)
2085 continue ;;
2086 *\'*)
2087 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2088 esac
2089 case $ac_pass in
2090 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2091 2)
2092 as_fn_append ac_configure_args1 " '$ac_arg'"
2093 if test $ac_must_keep_next = true; then
2094 ac_must_keep_next=false # Got value, back to normal.
2095 else
2096 case $ac_arg in
2097 *=* | --config-cache | -C | -disable-* | --disable-* \
2098 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2099 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2100 | -with-* | --with-* | -without-* | --without-* | --x)
2101 case "$ac_configure_args0 " in
2102 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2103 esac
2104 ;;
2105 -* ) ac_must_keep_next=true ;;
2106 esac
2107 fi
2108 as_fn_append ac_configure_args " '$ac_arg'"
2109 ;;
2110 esac
2111 done
2112 done
2113 { ac_configure_args0=; unset ac_configure_args0;}
2114 { ac_configure_args1=; unset ac_configure_args1;}
2115
2116 # When interrupted or exit'd, cleanup temporary files, and complete
2117 # config.log. We remove comments because anyway the quotes in there
2118 # would cause problems or look ugly.
2119 # WARNING: Use '\'' to represent an apostrophe within the trap.
2120 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2121 trap 'exit_status=$?
2122 # Save into config.log some information that might help in debugging.
2123 {
2124 echo
2125
2126 $as_echo "## ---------------- ##
2127 ## Cache variables. ##
2128 ## ---------------- ##"
2129 echo
2130 # The following way of writing the cache mishandles newlines in values,
2131 (
2132 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2133 eval ac_val=\$$ac_var
2134 case $ac_val in #(
2135 *${as_nl}*)
2136 case $ac_var in #(
2137 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2138 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2139 esac
2140 case $ac_var in #(
2141 _ | IFS | as_nl) ;; #(
2142 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2143 *) { eval $ac_var=; unset $ac_var;} ;;
2144 esac ;;
2145 esac
2146 done
2147 (set) 2>&1 |
2148 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2149 *${as_nl}ac_space=\ *)
2150 sed -n \
2151 "s/'\''/'\''\\\\'\'''\''/g;
2152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2153 ;; #(
2154 *)
2155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2156 ;;
2157 esac |
2158 sort
2159 )
2160 echo
2161
2162 $as_echo "## ----------------- ##
2163 ## Output variables. ##
2164 ## ----------------- ##"
2165 echo
2166 for ac_var in $ac_subst_vars
2167 do
2168 eval ac_val=\$$ac_var
2169 case $ac_val in
2170 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171 esac
2172 $as_echo "$ac_var='\''$ac_val'\''"
2173 done | sort
2174 echo
2175
2176 if test -n "$ac_subst_files"; then
2177 $as_echo "## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##"
2180 echo
2181 for ac_var in $ac_subst_files
2182 do
2183 eval ac_val=\$$ac_var
2184 case $ac_val in
2185 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2186 esac
2187 $as_echo "$ac_var='\''$ac_val'\''"
2188 done | sort
2189 echo
2190 fi
2191
2192 if test -s confdefs.h; then
2193 $as_echo "## ----------- ##
2194 ## confdefs.h. ##
2195 ## ----------- ##"
2196 echo
2197 cat confdefs.h
2198 echo
2199 fi
2200 test "$ac_signal" != 0 &&
2201 $as_echo "$as_me: caught signal $ac_signal"
2202 $as_echo "$as_me: exit $exit_status"
2203 } >&5
2204 rm -f core *.core core.conftest.* &&
2205 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2206 exit $exit_status
2207 ' 0
2208 for ac_signal in 1 2 13 15; do
2209 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2210 done
2211 ac_signal=0
2212
2213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2214 rm -f -r conftest* confdefs.h
2215
2216 $as_echo "/* confdefs.h */" > confdefs.h
2217
2218 # Predefined preprocessor variables.
2219
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_NAME "$PACKAGE_NAME"
2222 _ACEOF
2223
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2226 _ACEOF
2227
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2230 _ACEOF
2231
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_STRING "$PACKAGE_STRING"
2234 _ACEOF
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2238 _ACEOF
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_URL "$PACKAGE_URL"
2242 _ACEOF
2243
2244
2245 # Let the site file select an alternate cache file if it wants to.
2246 # Prefer an explicitly selected file to automatically selected ones.
2247 ac_site_file1=NONE
2248 ac_site_file2=NONE
2249 if test -n "$CONFIG_SITE"; then
2250 # We do not want a PATH search for config.site.
2251 case $CONFIG_SITE in #((
2252 -*) ac_site_file1=./$CONFIG_SITE;;
2253 */*) ac_site_file1=$CONFIG_SITE;;
2254 *) ac_site_file1=./$CONFIG_SITE;;
2255 esac
2256 elif test "x$prefix" != xNONE; then
2257 ac_site_file1=$prefix/share/config.site
2258 ac_site_file2=$prefix/etc/config.site
2259 else
2260 ac_site_file1=$ac_default_prefix/share/config.site
2261 ac_site_file2=$ac_default_prefix/etc/config.site
2262 fi
2263 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2264 do
2265 test "x$ac_site_file" = xNONE && continue
2266 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2268 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2269 sed 's/^/| /' "$ac_site_file" >&5
2270 . "$ac_site_file" \
2271 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 as_fn_error $? "failed to load site script $ac_site_file
2274 See \`config.log' for more details" "$LINENO" 5; }
2275 fi
2276 done
2277
2278 if test -r "$cache_file"; then
2279 # Some versions of bash will fail to source /dev/null (special files
2280 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2281 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2283 $as_echo "$as_me: loading cache $cache_file" >&6;}
2284 case $cache_file in
2285 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2286 *) . "./$cache_file";;
2287 esac
2288 fi
2289 else
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2291 $as_echo "$as_me: creating cache $cache_file" >&6;}
2292 >$cache_file
2293 fi
2294
2295 # Check that the precious variables saved in the cache have kept the same
2296 # value.
2297 ac_cache_corrupted=false
2298 for ac_var in $ac_precious_vars; do
2299 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2300 eval ac_new_set=\$ac_env_${ac_var}_set
2301 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2302 eval ac_new_val=\$ac_env_${ac_var}_value
2303 case $ac_old_set,$ac_new_set in
2304 set,)
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2306 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2307 ac_cache_corrupted=: ;;
2308 ,set)
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2310 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2311 ac_cache_corrupted=: ;;
2312 ,);;
2313 *)
2314 if test "x$ac_old_val" != "x$ac_new_val"; then
2315 # differences in whitespace do not lead to failure.
2316 ac_old_val_w=`echo x $ac_old_val`
2317 ac_new_val_w=`echo x $ac_new_val`
2318 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2320 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2321 ac_cache_corrupted=:
2322 else
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2324 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2325 eval $ac_var=\$ac_old_val
2326 fi
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2328 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2330 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2331 fi;;
2332 esac
2333 # Pass precious variables to config.status.
2334 if test "$ac_new_set" = set; then
2335 case $ac_new_val in
2336 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2337 *) ac_arg=$ac_var=$ac_new_val ;;
2338 esac
2339 case " $ac_configure_args " in
2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2341 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2342 esac
2343 fi
2344 done
2345 if $ac_cache_corrupted; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2349 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2351 fi
2352 ## -------------------- ##
2353 ## Main body of script. ##
2354 ## -------------------- ##
2355
2356 ac_ext=c
2357 ac_cpp='$CPP $CPPFLAGS'
2358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2361
2362
2363
2364
2365
2366 ac_aux_dir=
2367 for ac_dir in build "$srcdir"/build; do
2368 if test -f "$ac_dir/install-sh"; then
2369 ac_aux_dir=$ac_dir
2370 ac_install_sh="$ac_aux_dir/install-sh -c"
2371 break
2372 elif test -f "$ac_dir/install.sh"; then
2373 ac_aux_dir=$ac_dir
2374 ac_install_sh="$ac_aux_dir/install.sh -c"
2375 break
2376 elif test -f "$ac_dir/shtool"; then
2377 ac_aux_dir=$ac_dir
2378 ac_install_sh="$ac_aux_dir/shtool install -c"
2379 break
2380 fi
2381 done
2382 if test -z "$ac_aux_dir"; then
2383 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2384 fi
2385
2386 # These three variables are undocumented and unsupported,
2387 # and are intended to be withdrawn in a future Autoconf release.
2388 # They can cause serious problems if a builder's source tree is in a directory
2389 # whose full name contains unusual characters.
2390 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2391 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2392 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2393
2394
2395
2396 ac_config_headers="$ac_config_headers config.h gstreamer/gstreamermmconfig.h"
2397
2398
2399
2400
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
2402 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
2403 cat >conftest.make <<'_MMEOF'
2404 override reverse = $(2)$(subst ,, )$(1)
2405 override result := $(word 2,$(call reverse,success,failure))
2406 all: ; test '$(result)' = success
2407 .PHONY: all
2408 _MMEOF
2409 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
2410 mm_gnu_make=yes
2411 else
2412 mm_gnu_make=no
2413 fi
2414 rm -f conftest.make
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
2416 $as_echo "$mm_gnu_make" >&6; }
2417 if test "x$mm_gnu_make" != xyes; then :
2418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
2421 See \`config.log' for more details" "$LINENO" 5; }
2422 fi
2423
2424 GSTREAMERMM_MODULE_NAME='gstreamermm-1.0'
2425
2426 GSTREAMERMM_VERSION='1.10.0'
2427
2428 GSTREAMERMM_API_VERSION='1.0'
2429
2430 GSTREAMERMM_MAJOR_VERSION=1
2431
2432
2433 $as_echo "#define GSTREAMERMM_MAJOR_VERSION 1" >>confdefs.h
2434
2435 GSTREAMERMM_MINOR_VERSION=10
2436
2437
2438 $as_echo "#define GSTREAMERMM_MINOR_VERSION 10" >>confdefs.h
2439
2440 GSTREAMERMM_MICRO_VERSION=0
2441
2442
2443 $as_echo "#define GSTREAMERMM_MICRO_VERSION 0" >>confdefs.h
2444
2445
2446
2447 # Copy the mm-common .pl scripts into docs/,
2448 # and use them from there,
2449 # so we can dist them to avoid a tarball-build dependency.
2450 MMDOCTOOLDIR='${top_srcdir}/docs'
2451 if test 'xdocs' != 'x'; then
2452 DIST_DOCTOOLS_TRUE=
2453 DIST_DOCTOOLS_FALSE='#'
2454 else
2455 DIST_DOCTOOLS_TRUE='#'
2456 DIST_DOCTOOLS_FALSE=
2457 fi
2458
2459
2460 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
2461 GSTREAMERMM_SO_VERSION=1:0:0
2462
2463
2464 am__api_version='1.15'
2465
2466 # Find a good install program. We prefer a C program (faster),
2467 # so one script is as good as another. But avoid the broken or
2468 # incompatible versions:
2469 # SysV /etc/install, /usr/sbin/install
2470 # SunOS /usr/etc/install
2471 # IRIX /sbin/install
2472 # AIX /bin/install
2473 # AmigaOS /C/install, which installs bootblocks on floppy discs
2474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2477 # OS/2's system install, which has a completely different semantic
2478 # ./install, which can be erroneously created by make from ./install.sh.
2479 # Reject install programs that cannot install multiple files.
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2481 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2482 if test -z "$INSTALL"; then
2483 if ${ac_cv_path_install+:} false; then :
2484 $as_echo_n "(cached) " >&6
2485 else
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 for as_dir in $PATH
2488 do
2489 IFS=$as_save_IFS
2490 test -z "$as_dir" && as_dir=.
2491 # Account for people who put trailing slashes in PATH elements.
2492 case $as_dir/ in #((
2493 ./ | .// | /[cC]/* | \
2494 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2495 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2496 /usr/ucb/* ) ;;
2497 *)
2498 # OSF1 and SCO ODT 3.0 have their own names for install.
2499 # Don't use installbsd from OSF since it installs stuff as root
2500 # by default.
2501 for ac_prog in ginstall scoinst install; do
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2504 if test $ac_prog = install &&
2505 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2506 # AIX install. It has an incompatible calling convention.
2507 :
2508 elif test $ac_prog = install &&
2509 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2510 # program-specific install script used by HP pwplus--don't use.
2511 :
2512 else
2513 rm -rf conftest.one conftest.two conftest.dir
2514 echo one > conftest.one
2515 echo two > conftest.two
2516 mkdir conftest.dir
2517 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2518 test -s conftest.one && test -s conftest.two &&
2519 test -s conftest.dir/conftest.one &&
2520 test -s conftest.dir/conftest.two
2521 then
2522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2523 break 3
2524 fi
2525 fi
2526 fi
2527 done
2528 done
2529 ;;
2530 esac
2531
2532 done
2533 IFS=$as_save_IFS
2534
2535 rm -rf conftest.one conftest.two conftest.dir
2536
2537 fi
2538 if test "${ac_cv_path_install+set}" = set; then
2539 INSTALL=$ac_cv_path_install
2540 else
2541 # As a last resort, use the slow shell script. Don't cache a
2542 # value for INSTALL within a source directory, because that will
2543 # break other packages using the cache if that directory is
2544 # removed, or if the value is a relative name.
2545 INSTALL=$ac_install_sh
2546 fi
2547 fi
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2549 $as_echo "$INSTALL" >&6; }
2550
2551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2552 # It thinks the first close brace ends the variable substitution.
2553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2554
2555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2556
2557 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2558
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2560 $as_echo_n "checking whether build environment is sane... " >&6; }
2561 # Reject unsafe characters in $srcdir or the absolute working directory
2562 # name. Accept space and tab only in the latter.
2563 am_lf='
2564 '
2565 case `pwd` in
2566 *[\\\"\#\$\&\'\`$am_lf]*)
2567 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2568 esac
2569 case $srcdir in
2570 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2571 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2572 esac
2573
2574 # Do 'set' in a subshell so we don't clobber the current shell's
2575 # arguments. Must try -L first in case configure is actually a
2576 # symlink; some systems play weird games with the mod time of symlinks
2577 # (eg FreeBSD returns the mod time of the symlink's containing
2578 # directory).
2579 if (
2580 am_has_slept=no
2581 for am_try in 1 2; do
2582 echo "timestamp, slept: $am_has_slept" > conftest.file
2583 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2584 if test "$*" = "X"; then
2585 # -L didn't work.
2586 set X `ls -t "$srcdir/configure" conftest.file`
2587 fi
2588 if test "$*" != "X $srcdir/configure conftest.file" \
2589 && test "$*" != "X conftest.file $srcdir/configure"; then
2590
2591 # If neither matched, then we have a broken ls. This can happen
2592 # if, for instance, CONFIG_SHELL is bash and it inherits a
2593 # broken ls alias from the environment. This has actually
2594 # happened. Such a system could not be considered "sane".
2595 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2596 alias in your environment" "$LINENO" 5
2597 fi
2598 if test "$2" = conftest.file || test $am_try -eq 2; then
2599 break
2600 fi
2601 # Just in case.
2602 sleep 1
2603 am_has_slept=yes
2604 done
2605 test "$2" = conftest.file
2606 )
2607 then
2608 # Ok.
2609 :
2610 else
2611 as_fn_error $? "newly created file is older than distributed files!
2612 Check your system clock" "$LINENO" 5
2613 fi
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2616 # If we didn't sleep, we still need to ensure time stamps of config.status and
2617 # generated files are strictly newer.
2618 am_sleep_pid=
2619 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2620 ( sleep 1 ) &
2621 am_sleep_pid=$!
2622 fi
2623
2624 rm -f conftest.file
2625
2626 test "$program_prefix" != NONE &&
2627 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2628 # Use a double $ so make ignores it.
2629 test "$program_suffix" != NONE &&
2630 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2631 # Double any \ or $.
2632 # By default was `s,x,x', remove it if useless.
2633 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2634 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2635
2636 # Expand $ac_aux_dir to an absolute path.
2637 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2638
2639 if test x"${MISSING+set}" != xset; then
2640 case $am_aux_dir in
2641 *\ * | *\ *)
2642 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2643 *)
2644 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2645 esac
2646 fi
2647 # Use eval to expand $SHELL
2648 if eval "$MISSING --is-lightweight"; then
2649 am_missing_run="$MISSING "
2650 else
2651 am_missing_run=
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2653 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2654 fi
2655
2656 if test x"${install_sh+set}" != xset; then
2657 case $am_aux_dir in
2658 *\ * | *\ *)
2659 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2660 *)
2661 install_sh="\${SHELL} $am_aux_dir/install-sh"
2662 esac
2663 fi
2664
2665 # Installed binaries are usually stripped using 'strip' when the user
2666 # run "make install-strip". However 'strip' might not be the right
2667 # tool to use in cross-compilation environments, therefore Automake
2668 # will honor the 'STRIP' environment variable to overrule this program.
2669 if test "$cross_compiling" != no; then
2670 if test -n "$ac_tool_prefix"; then
2671 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2672 set dummy ${ac_tool_prefix}strip; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_STRIP+:} false; then :
2676 $as_echo_n "(cached) " >&6
2677 else
2678 if test -n "$STRIP"; then
2679 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2680 else
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 for as_dir in $PATH
2683 do
2684 IFS=$as_save_IFS
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 break 2
2691 fi
2692 done
2693 done
2694 IFS=$as_save_IFS
2695
2696 fi
2697 fi
2698 STRIP=$ac_cv_prog_STRIP
2699 if test -n "$STRIP"; then
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2701 $as_echo "$STRIP" >&6; }
2702 else
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2705 fi
2706
2707
2708 fi
2709 if test -z "$ac_cv_prog_STRIP"; then
2710 ac_ct_STRIP=$STRIP
2711 # Extract the first word of "strip", so it can be a program name with args.
2712 set dummy strip; ac_word=$2
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2716 $as_echo_n "(cached) " >&6
2717 else
2718 if test -n "$ac_ct_STRIP"; then
2719 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2720 else
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 for as_dir in $PATH
2723 do
2724 IFS=$as_save_IFS
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_ac_ct_STRIP="strip"
2729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 break 2
2731 fi
2732 done
2733 done
2734 IFS=$as_save_IFS
2735
2736 fi
2737 fi
2738 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2739 if test -n "$ac_ct_STRIP"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2741 $as_echo "$ac_ct_STRIP" >&6; }
2742 else
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744 $as_echo "no" >&6; }
2745 fi
2746
2747 if test "x$ac_ct_STRIP" = x; then
2748 STRIP=":"
2749 else
2750 case $cross_compiling:$ac_tool_warned in
2751 yes:)
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2754 ac_tool_warned=yes ;;
2755 esac
2756 STRIP=$ac_ct_STRIP
2757 fi
2758 else
2759 STRIP="$ac_cv_prog_STRIP"
2760 fi
2761
2762 fi
2763 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2764
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2766 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2767 if test -z "$MKDIR_P"; then
2768 if ${ac_cv_path_mkdir+:} false; then :
2769 $as_echo_n "(cached) " >&6
2770 else
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2773 do
2774 IFS=$as_save_IFS
2775 test -z "$as_dir" && as_dir=.
2776 for ac_prog in mkdir gmkdir; do
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2779 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2780 'mkdir (GNU coreutils) '* | \
2781 'mkdir (coreutils) '* | \
2782 'mkdir (fileutils) '4.1*)
2783 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2784 break 3;;
2785 esac
2786 done
2787 done
2788 done
2789 IFS=$as_save_IFS
2790
2791 fi
2792
2793 test -d ./--version && rmdir ./--version
2794 if test "${ac_cv_path_mkdir+set}" = set; then
2795 MKDIR_P="$ac_cv_path_mkdir -p"
2796 else
2797 # As a last resort, use the slow shell script. Don't cache a
2798 # value for MKDIR_P within a source directory, because that will
2799 # break other packages using the cache if that directory is
2800 # removed, or if the value is a relative name.
2801 MKDIR_P="$ac_install_sh -d"
2802 fi
2803 fi
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2805 $as_echo "$MKDIR_P" >&6; }
2806
2807 for ac_prog in gawk mawk nawk awk
2808 do
2809 # Extract the first word of "$ac_prog", so it can be a program name with args.
2810 set dummy $ac_prog; ac_word=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_AWK+:} false; then :
2814 $as_echo_n "(cached) " >&6
2815 else
2816 if test -n "$AWK"; then
2817 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2818 else
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH
2821 do
2822 IFS=$as_save_IFS
2823 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_AWK="$ac_prog"
2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 break 2
2829 fi
2830 done
2831 done
2832 IFS=$as_save_IFS
2833
2834 fi
2835 fi
2836 AWK=$ac_cv_prog_AWK
2837 if test -n "$AWK"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2839 $as_echo "$AWK" >&6; }
2840 else
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2843 fi
2844
2845
2846 test -n "$AWK" && break
2847 done
2848
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2850 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2851 set x ${MAKE-make}
2852 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2853 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2854 $as_echo_n "(cached) " >&6
2855 else
2856 cat >conftest.make <<\_ACEOF
2857 SHELL = /bin/sh
2858 all:
2859 @echo '@@@%%%=$(MAKE)=@@@%%%'
2860 _ACEOF
2861 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2862 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2863 *@@@%%%=?*=@@@%%%*)
2864 eval ac_cv_prog_make_${ac_make}_set=yes;;
2865 *)
2866 eval ac_cv_prog_make_${ac_make}_set=no;;
2867 esac
2868 rm -f conftest.make
2869 fi
2870 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2873 SET_MAKE=
2874 else
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2877 SET_MAKE="MAKE=${MAKE-make}"
2878 fi
2879
2880 rm -rf .tst 2>/dev/null
2881 mkdir .tst 2>/dev/null
2882 if test -d .tst; then
2883 am__leading_dot=.
2884 else
2885 am__leading_dot=_
2886 fi
2887 rmdir .tst 2>/dev/null
2888
2889 # Check whether --enable-silent-rules was given.
2890 if test "${enable_silent_rules+set}" = set; then :
2891 enableval=$enable_silent_rules;
2892 fi
2893
2894 case $enable_silent_rules in # (((
2895 yes) AM_DEFAULT_VERBOSITY=0;;
2896 no) AM_DEFAULT_VERBOSITY=1;;
2897 *) AM_DEFAULT_VERBOSITY=1;;
2898 esac
2899 am_make=${MAKE-make}
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2901 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2902 if ${am_cv_make_support_nested_variables+:} false; then :
2903 $as_echo_n "(cached) " >&6
2904 else
2905 if $as_echo 'TRUE=$(BAR$(V))
2906 BAR0=false
2907 BAR1=true
2908 V=1
2909 am__doit:
2910 @$(TRUE)
2911 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2912 am_cv_make_support_nested_variables=yes
2913 else
2914 am_cv_make_support_nested_variables=no
2915 fi
2916 fi
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2918 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2919 if test $am_cv_make_support_nested_variables = yes; then
2920 AM_V='$(V)'
2921 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2922 else
2923 AM_V=$AM_DEFAULT_VERBOSITY
2924 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2925 fi
2926 AM_BACKSLASH='\'
2927
2928 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2929 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2930 # is not polluted with repeated "-I."
2931 am__isrc=' -I$(srcdir)'
2932 # test to see if srcdir already configured
2933 if test -f $srcdir/config.status; then
2934 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2935 fi
2936 fi
2937
2938 # test whether we have cygpath
2939 if test -z "$CYGPATH_W"; then
2940 if (cygpath --version) >/dev/null 2>/dev/null; then
2941 CYGPATH_W='cygpath -w'
2942 else
2943 CYGPATH_W=echo
2944 fi
2945 fi
2946
2947
2948 # Define the identity of the package.
2949 PACKAGE='gstreamermm'
2950 VERSION='1.10.0'
2951
2952
2953 # Some tools Automake needs.
2954
2955 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2956
2957
2958 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2959
2960
2961 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2962
2963
2964 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2965
2966
2967 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2968
2969 # For better backward compatibility. To be removed once Automake 1.9.x
2970 # dies out for good. For more background, see:
2971 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2972 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2973 mkdir_p='$(MKDIR_P)'
2974
2975 # We need awk for the "check" target (and possibly the TAP driver). The
2976 # system "awk" is bad on some platforms.
2977 # Always define AMTAR for backward compatibility. Yes, it's still used
2978 # in the wild :-( We should find a proper way to deprecate it ...
2979 AMTAR='$${TAR-tar}'
2980
2981
2982 # We'll loop over all known methods to create a tar archive until one works.
2983 _am_tools='gnutar plaintar pax cpio none'
2984
2985 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2986 # There is notably a 21 bits limit for the UID and the GID. In fact,
2987 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2988 # and bug#13588).
2989 am_max_uid=2097151 # 2^21 - 1
2990 am_max_gid=$am_max_uid
2991 # The $UID and $GID variables are not portable, so we need to resort
2992 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2993 # below are definitely unexpected, so allow the users to see them
2994 # (that is, avoid stderr redirection).
2995 am_uid=`id -u || echo unknown`
2996 am_gid=`id -g || echo unknown`
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2998 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2999 if test $am_uid -le $am_max_uid; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3001 $as_echo "yes" >&6; }
3002 else
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3005 _am_tools=none
3006 fi
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3008 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3009 if test $am_gid -le $am_max_gid; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3011 $as_echo "yes" >&6; }
3012 else
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3015 _am_tools=none
3016 fi
3017
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3019 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3020
3021 # Go ahead even if we have the value already cached. We do so because we
3022 # need to set the values for the 'am__tar' and 'am__untar' variables.
3023 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3024
3025 for _am_tool in $_am_tools; do
3026 case $_am_tool in
3027 gnutar)
3028 for _am_tar in tar gnutar gtar; do
3029 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3030 ($_am_tar --version) >&5 2>&5
3031 ac_status=$?
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } && break
3034 done
3035 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3036 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3037 am__untar="$_am_tar -xf -"
3038 ;;
3039 plaintar)
3040 # Must skip GNU tar: if it does not support --format= it doesn't create
3041 # ustar tarball either.
3042 (tar --version) >/dev/null 2>&1 && continue
3043 am__tar='tar chf - "$$tardir"'
3044 am__tar_='tar chf - "$tardir"'
3045 am__untar='tar xf -'
3046 ;;
3047 pax)
3048 am__tar='pax -L -x ustar -w "$$tardir"'
3049 am__tar_='pax -L -x ustar -w "$tardir"'
3050 am__untar='pax -r'
3051 ;;
3052 cpio)
3053 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3054 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3055 am__untar='cpio -i -H ustar -d'
3056 ;;
3057 none)
3058 am__tar=false
3059 am__tar_=false
3060 am__untar=false
3061 ;;
3062 esac
3063
3064 # If the value was cached, stop now. We just wanted to have am__tar
3065 # and am__untar set.
3066 test -n "${am_cv_prog_tar_ustar}" && break
3067
3068 # tar/untar a dummy directory, and stop if the command works.
3069 rm -rf conftest.dir
3070 mkdir conftest.dir
3071 echo GrepMe > conftest.dir/file
3072 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3073 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3074 ac_status=$?
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }
3077 rm -rf conftest.dir
3078 if test -s conftest.tar; then
3079 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3080 ($am__untar <conftest.tar) >&5 2>&5
3081 ac_status=$?
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }
3084 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3085 (cat conftest.dir/file) >&5 2>&5
3086 ac_status=$?
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }
3089 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3090 fi
3091 done
3092 rm -rf conftest.dir
3093
3094 if ${am_cv_prog_tar_ustar+:} false; then :
3095 $as_echo_n "(cached) " >&6
3096 else
3097 am_cv_prog_tar_ustar=$_am_tool
3098 fi
3099
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3101 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3102
3103
3104
3105
3106
3107
3108 # POSIX will say in a future version that running "rm -f" with no argument
3109 # is OK; and we want to be able to make that assumption in our Makefile
3110 # recipes. So use an aggressive probe to check that the usage we want is
3111 # actually supported "in the wild" to an acceptable degree.
3112 # See automake bug#10828.
3113 # To make any issue more visible, cause the running configure to be aborted
3114 # by default if the 'rm' program in use doesn't match our expectations; the
3115 # user can still override this though.
3116 if rm -f && rm -fr && rm -rf; then : OK; else
3117 cat >&2 <<'END'
3118 Oops!
3119
3120 Your 'rm' program seems unable to run without file operands specified
3121 on the command line, even when the '-f' option is present. This is contrary
3122 to the behaviour of most rm programs out there, and not conforming with
3123 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3124
3125 Please tell [email protected] about your system, including the value
3126 of your $PATH and any error possibly output before this message. This
3127 can help us improve future automake versions.
3128
3129 END
3130 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3131 echo 'Configuration will proceed anyway, since you have set the' >&2
3132 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3133 echo >&2
3134 else
3135 cat >&2 <<'END'
3136 Aborting the configuration process, to ensure you take notice of the issue.
3137
3138 You can download and install GNU coreutils to get an 'rm' implementation
3139 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3140
3141 If you want to complete the configuration process using your problematic
3142 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3143 to "yes", and re-run configure.
3144
3145 END
3146 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3147 fi
3148 fi
3149
3150 # Check whether --enable-silent-rules was given.
3151 if test "${enable_silent_rules+set}" = set; then :
3152 enableval=$enable_silent_rules;
3153 fi
3154
3155 case $enable_silent_rules in # (((
3156 yes) AM_DEFAULT_VERBOSITY=0;;
3157 no) AM_DEFAULT_VERBOSITY=1;;
3158 *) AM_DEFAULT_VERBOSITY=0;;
3159 esac
3160 am_make=${MAKE-make}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3162 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3163 if ${am_cv_make_support_nested_variables+:} false; then :
3164 $as_echo_n "(cached) " >&6
3165 else
3166 if $as_echo 'TRUE=$(BAR$(V))
3167 BAR0=false
3168 BAR1=true
3169 V=1
3170 am__doit:
3171 @$(TRUE)
3172 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3173 am_cv_make_support_nested_variables=yes
3174 else
3175 am_cv_make_support_nested_variables=no
3176 fi
3177 fi
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3179 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3180 if test $am_cv_make_support_nested_variables = yes; then
3181 AM_V='$(V)'
3182 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3183 else
3184 AM_V=$AM_DEFAULT_VERBOSITY
3185 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3186 fi
3187 AM_BACKSLASH='\'
3188
3189
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3191 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3192 # Check whether --enable-maintainer-mode was given.
3193 if test "${enable_maintainer_mode+set}" = set; then :
3194 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3195 else
3196 USE_MAINTAINER_MODE=no
3197 fi
3198
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3200 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3201 if test $USE_MAINTAINER_MODE = yes; then
3202 MAINTAINER_MODE_TRUE=
3203 MAINTAINER_MODE_FALSE='#'
3204 else
3205 MAINTAINER_MODE_TRUE='#'
3206 MAINTAINER_MODE_FALSE=
3207 fi
3208
3209 MAINT=$MAINTAINER_MODE_TRUE
3210
3211
3212
3213
3214 ac_ext=cpp
3215 ac_cpp='$CXXCPP $CPPFLAGS'
3216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3219 if test -z "$CXX"; then
3220 if test -n "$CCC"; then
3221 CXX=$CCC
3222 else
3223 if test -n "$ac_tool_prefix"; then
3224 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3225 do
3226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if ${ac_cv_prog_CXX+:} false; then :
3231 $as_echo_n "(cached) " >&6
3232 else
3233 if test -n "$CXX"; then
3234 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3235 else
3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3237 for as_dir in $PATH
3238 do
3239 IFS=$as_save_IFS
3240 test -z "$as_dir" && as_dir=.
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 break 2
3246 fi
3247 done
3248 done
3249 IFS=$as_save_IFS
3250
3251 fi
3252 fi
3253 CXX=$ac_cv_prog_CXX
3254 if test -n "$CXX"; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3256 $as_echo "$CXX" >&6; }
3257 else
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 fi
3261
3262
3263 test -n "$CXX" && break
3264 done
3265 fi
3266 if test -z "$CXX"; then
3267 ac_ct_CXX=$CXX
3268 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3269 do
3270 # Extract the first word of "$ac_prog", so it can be a program name with args.
3271 set dummy $ac_prog; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 if test -n "$ac_ct_CXX"; then
3278 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3279 else
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH
3282 do
3283 IFS=$as_save_IFS
3284 test -z "$as_dir" && as_dir=.
3285 for ac_exec_ext in '' $ac_executable_extensions; do
3286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_ac_ct_CXX="$ac_prog"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 break 2
3290 fi
3291 done
3292 done
3293 IFS=$as_save_IFS
3294
3295 fi
3296 fi
3297 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3298 if test -n "$ac_ct_CXX"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3300 $as_echo "$ac_ct_CXX" >&6; }
3301 else
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3304 fi
3305
3306
3307 test -n "$ac_ct_CXX" && break
3308 done
3309
3310 if test "x$ac_ct_CXX" = x; then
3311 CXX="g++"
3312 else
3313 case $cross_compiling:$ac_tool_warned in
3314 yes:)
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3317 ac_tool_warned=yes ;;
3318 esac
3319 CXX=$ac_ct_CXX
3320 fi
3321 fi
3322
3323 fi
3324 fi
3325 # Provide some information about the compiler.
3326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3327 set X $ac_compile
3328 ac_compiler=$2
3329 for ac_option in --version -v -V -qversion; do
3330 { { ac_try="$ac_compiler $ac_option >&5"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3338 ac_status=$?
3339 if test -s conftest.err; then
3340 sed '10a\
3341 ... rest of stderr output deleted ...
3342 10q' conftest.err >conftest.er1
3343 cat conftest.er1 >&5
3344 fi
3345 rm -f conftest.er1 conftest.err
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }
3348 done
3349
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3352
3353 int
3354 main ()
3355 {
3356
3357 ;
3358 return 0;
3359 }
3360 _ACEOF
3361 ac_clean_files_save=$ac_clean_files
3362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363 # Try to create an executable without -o first, disregard a.out.
3364 # It will help us diagnose broken compilers, and finding out an intuition
3365 # of exeext.
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3367 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3368 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3369
3370 # The possible output files:
3371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3372
3373 ac_rmfiles=
3374 for ac_file in $ac_files
3375 do
3376 case $ac_file in
3377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3379 esac
3380 done
3381 rm -f $ac_rmfiles
3382
3383 if { { ac_try="$ac_link_default"
3384 case "(($ac_try" in
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3387 esac
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link_default") 2>&5
3391 ac_status=$?
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; then :
3394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3397 # so that the user can short-circuit this test for compilers unknown to
3398 # Autoconf.
3399 for ac_file in $ac_files ''
3400 do
3401 test -f "$ac_file" || continue
3402 case $ac_file in
3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3404 ;;
3405 [ab].out )
3406 # We found the default executable, but exeext='' is most
3407 # certainly right.
3408 break;;
3409 *.* )
3410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3411 then :; else
3412 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3413 fi
3414 # We set ac_cv_exeext here because the later test for it is not
3415 # safe: cross compilers may not add the suffix if given an `-o'
3416 # argument, so we may need to know it at that point already.
3417 # Even if this section looks crufty: it has the advantage of
3418 # actually working.
3419 break;;
3420 * )
3421 break;;
3422 esac
3423 done
3424 test "$ac_cv_exeext" = no && ac_cv_exeext=
3425
3426 else
3427 ac_file=''
3428 fi
3429 if test -z "$ac_file"; then :
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.$ac_ext >&5
3434
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error 77 "C++ compiler cannot create executables
3438 See \`config.log' for more details" "$LINENO" 5; }
3439 else
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3442 fi
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3444 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446 $as_echo "$ac_file" >&6; }
3447 ac_exeext=$ac_cv_exeext
3448
3449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3450 ac_clean_files=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452 $as_echo_n "checking for suffix of executables... " >&6; }
3453 if { { ac_try="$ac_link"
3454 case "(($ac_try" in
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3457 esac
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_link") 2>&5
3461 ac_status=$?
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }; then :
3464 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3465 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3466 # work properly (i.e., refer to `conftest.exe'), while it won't with
3467 # `rm'.
3468 for ac_file in conftest.exe conftest conftest.*; do
3469 test -f "$ac_file" || continue
3470 case $ac_file in
3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3472 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3473 break;;
3474 * ) break;;
3475 esac
3476 done
3477 else
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3481 See \`config.log' for more details" "$LINENO" 5; }
3482 fi
3483 rm -f conftest conftest$ac_cv_exeext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3485 $as_echo "$ac_cv_exeext" >&6; }
3486
3487 rm -f conftest.$ac_ext
3488 EXEEXT=$ac_cv_exeext
3489 ac_exeext=$EXEEXT
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3492 #include <stdio.h>
3493 int
3494 main ()
3495 {
3496 FILE *f = fopen ("conftest.out", "w");
3497 return ferror (f) || fclose (f) != 0;
3498
3499 ;
3500 return 0;
3501 }
3502 _ACEOF
3503 ac_clean_files="$ac_clean_files conftest.out"
3504 # Check that the compiler produces executables we can run. If not, either
3505 # the compiler is broken, or we cross compile.
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3507 $as_echo_n "checking whether we are cross compiling... " >&6; }
3508 if test "$cross_compiling" != yes; then
3509 { { ac_try="$ac_link"
3510 case "(($ac_try" in
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3513 esac
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_link") 2>&5
3517 ac_status=$?
3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519 test $ac_status = 0; }
3520 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
3528 ac_status=$?
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; }; then
3531 cross_compiling=no
3532 else
3533 if test "$cross_compiling" = maybe; then
3534 cross_compiling=yes
3535 else
3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error $? "cannot run C++ compiled programs.
3539 If you meant to cross compile, use \`--host'.
3540 See \`config.log' for more details" "$LINENO" 5; }
3541 fi
3542 fi
3543 fi
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3545 $as_echo "$cross_compiling" >&6; }
3546
3547 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3548 ac_clean_files=$ac_clean_files_save
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3550 $as_echo_n "checking for suffix of object files... " >&6; }
3551 if ${ac_cv_objext+:} false; then :
3552 $as_echo_n "(cached) " >&6
3553 else
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3556
3557 int
3558 main ()
3559 {
3560
3561 ;
3562 return 0;
3563 }
3564 _ACEOF
3565 rm -f conftest.o conftest.obj
3566 if { { ac_try="$ac_compile"
3567 case "(($ac_try" in
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3570 esac
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573 (eval "$ac_compile") 2>&5
3574 ac_status=$?
3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576 test $ac_status = 0; }; then :
3577 for ac_file in conftest.o conftest.obj conftest.*; do
3578 test -f "$ac_file" || continue;
3579 case $ac_file in
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3582 break;;
3583 esac
3584 done
3585 else
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3588
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "cannot compute suffix of object files: cannot compile
3592 See \`config.log' for more details" "$LINENO" 5; }
3593 fi
3594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3595 fi
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3597 $as_echo "$ac_cv_objext" >&6; }
3598 OBJEXT=$ac_cv_objext
3599 ac_objext=$OBJEXT
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3601 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3602 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3607
3608 int
3609 main ()
3610 {
3611 #ifndef __GNUC__
3612 choke me
3613 #endif
3614
3615 ;
3616 return 0;
3617 }
3618 _ACEOF
3619 if ac_fn_cxx_try_compile "$LINENO"; then :
3620 ac_compiler_gnu=yes
3621 else
3622 ac_compiler_gnu=no
3623 fi
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3626
3627 fi
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3629 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3630 if test $ac_compiler_gnu = yes; then
3631 GXX=yes
3632 else
3633 GXX=
3634 fi
3635 ac_test_CXXFLAGS=${CXXFLAGS+set}
3636 ac_save_CXXFLAGS=$CXXFLAGS
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3638 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3639 if ${ac_cv_prog_cxx_g+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3643 ac_cxx_werror_flag=yes
3644 ac_cv_prog_cxx_g=no
3645 CXXFLAGS="-g"
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3648
3649 int
3650 main ()
3651 {
3652
3653 ;
3654 return 0;
3655 }
3656 _ACEOF
3657 if ac_fn_cxx_try_compile "$LINENO"; then :
3658 ac_cv_prog_cxx_g=yes
3659 else
3660 CXXFLAGS=""
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3663
3664 int
3665 main ()
3666 {
3667
3668 ;
3669 return 0;
3670 }
3671 _ACEOF
3672 if ac_fn_cxx_try_compile "$LINENO"; then :
3673
3674 else
3675 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3676 CXXFLAGS="-g"
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3679
3680 int
3681 main ()
3682 {
3683
3684 ;
3685 return 0;
3686 }
3687 _ACEOF
3688 if ac_fn_cxx_try_compile "$LINENO"; then :
3689 ac_cv_prog_cxx_g=yes
3690 fi
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 fi
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 fi
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3697 fi
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3699 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3700 if test "$ac_test_CXXFLAGS" = set; then
3701 CXXFLAGS=$ac_save_CXXFLAGS
3702 elif test $ac_cv_prog_cxx_g = yes; then
3703 if test "$GXX" = yes; then
3704 CXXFLAGS="-g -O2"
3705 else
3706 CXXFLAGS="-g"
3707 fi
3708 else
3709 if test "$GXX" = yes; then
3710 CXXFLAGS="-O2"
3711 else
3712 CXXFLAGS=
3713 fi
3714 fi
3715 ac_ext=c
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720 DEPDIR="${am__leading_dot}deps"
3721
3722 ac_config_commands="$ac_config_commands depfiles"
3723
3724
3725 am_make=${MAKE-make}
3726 cat > confinc << 'END'
3727 am__doit:
3728 @echo this is the am__doit target
3729 .PHONY: am__doit
3730 END
3731 # If we don't find an include directive, just comment out the code.
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3733 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3734 am__include="#"
3735 am__quote=
3736 _am_result=none
3737 # First try GNU make style include.
3738 echo "include confinc" > confmf
3739 # Ignore all kinds of additional output from 'make'.
3740 case `$am_make -s -f confmf 2> /dev/null` in #(
3741 *the\ am__doit\ target*)
3742 am__include=include
3743 am__quote=
3744 _am_result=GNU
3745 ;;
3746 esac
3747 # Now try BSD make style include.
3748 if test "$am__include" = "#"; then
3749 echo '.include "confinc"' > confmf
3750 case `$am_make -s -f confmf 2> /dev/null` in #(
3751 *the\ am__doit\ target*)
3752 am__include=.include
3753 am__quote="\""
3754 _am_result=BSD
3755 ;;
3756 esac
3757 fi
3758
3759
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3761 $as_echo "$_am_result" >&6; }
3762 rm -f confinc confmf
3763
3764 # Check whether --enable-dependency-tracking was given.
3765 if test "${enable_dependency_tracking+set}" = set; then :
3766 enableval=$enable_dependency_tracking;
3767 fi
3768
3769 if test "x$enable_dependency_tracking" != xno; then
3770 am_depcomp="$ac_aux_dir/depcomp"
3771 AMDEPBACKSLASH='\'
3772 am__nodep='_no'
3773 fi
3774 if test "x$enable_dependency_tracking" != xno; then
3775 AMDEP_TRUE=
3776 AMDEP_FALSE='#'
3777 else
3778 AMDEP_TRUE='#'
3779 AMDEP_FALSE=
3780 fi
3781
3782
3783
3784 depcc="$CXX" am_compiler_list=
3785
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3787 $as_echo_n "checking dependency style of $depcc... " >&6; }
3788 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3792 # We make a subdir and do the tests there. Otherwise we can end up
3793 # making bogus files that we don't know about and never remove. For
3794 # instance it was reported that on HP-UX the gcc test will end up
3795 # making a dummy file named 'D' -- because '-MD' means "put the output
3796 # in D".
3797 rm -rf conftest.dir
3798 mkdir conftest.dir
3799 # Copy depcomp to subdir because otherwise we won't find it if we're
3800 # using a relative directory.
3801 cp "$am_depcomp" conftest.dir
3802 cd conftest.dir
3803 # We will build objects and dependencies in a subdirectory because
3804 # it helps to detect inapplicable dependency modes. For instance
3805 # both Tru64's cc and ICC support -MD to output dependencies as a
3806 # side effect of compilation, but ICC will put the dependencies in
3807 # the current directory while Tru64 will put them in the object
3808 # directory.
3809 mkdir sub
3810
3811 am_cv_CXX_dependencies_compiler_type=none
3812 if test "$am_compiler_list" = ""; then
3813 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3814 fi
3815 am__universal=false
3816 case " $depcc " in #(
3817 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3818 esac
3819
3820 for depmode in $am_compiler_list; do
3821 # Setup a source with many dependencies, because some compilers
3822 # like to wrap large dependency lists on column 80 (with \), and
3823 # we should not choose a depcomp mode which is confused by this.
3824 #
3825 # We need to recreate these files for each test, as the compiler may
3826 # overwrite some of them when testing with obscure command lines.
3827 # This happens at least with the AIX C compiler.
3828 : > sub/conftest.c
3829 for i in 1 2 3 4 5 6; do
3830 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3831 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3832 # Solaris 10 /bin/sh.
3833 echo '/* dummy */' > sub/conftst$i.h
3834 done
3835 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3836
3837 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3838 # mode. It turns out that the SunPro C++ compiler does not properly
3839 # handle '-M -o', and we need to detect this. Also, some Intel
3840 # versions had trouble with output in subdirs.
3841 am__obj=sub/conftest.${OBJEXT-o}
3842 am__minus_obj="-o $am__obj"
3843 case $depmode in
3844 gcc)
3845 # This depmode causes a compiler race in universal mode.
3846 test "$am__universal" = false || continue
3847 ;;
3848 nosideeffect)
3849 # After this tag, mechanisms are not by side-effect, so they'll
3850 # only be used when explicitly requested.
3851 if test "x$enable_dependency_tracking" = xyes; then
3852 continue
3853 else
3854 break
3855 fi
3856 ;;
3857 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3858 # This compiler won't grok '-c -o', but also, the minuso test has
3859 # not run yet. These depmodes are late enough in the game, and
3860 # so weak that their functioning should not be impacted.
3861 am__obj=conftest.${OBJEXT-o}
3862 am__minus_obj=
3863 ;;
3864 none) break ;;
3865 esac
3866 if depmode=$depmode \
3867 source=sub/conftest.c object=$am__obj \
3868 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3869 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3870 >/dev/null 2>conftest.err &&
3871 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3872 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3873 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3874 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3875 # icc doesn't choke on unknown options, it will just issue warnings
3876 # or remarks (even with -Werror). So we grep stderr for any message
3877 # that says an option was ignored or not supported.
3878 # When given -MP, icc 7.0 and 7.1 complain thusly:
3879 # icc: Command line warning: ignoring option '-M'; no argument required
3880 # The diagnosis changed in icc 8.0:
3881 # icc: Command line remark: option '-MP' not supported
3882 if (grep 'ignoring option' conftest.err ||
3883 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3884 am_cv_CXX_dependencies_compiler_type=$depmode
3885 break
3886 fi
3887 fi
3888 done
3889
3890 cd ..
3891 rm -rf conftest.dir
3892 else
3893 am_cv_CXX_dependencies_compiler_type=none
3894 fi
3895
3896 fi
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3898 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3899 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3900
3901 if
3902 test "x$enable_dependency_tracking" != xno \
3903 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3904 am__fastdepCXX_TRUE=
3905 am__fastdepCXX_FALSE='#'
3906 else
3907 am__fastdepCXX_TRUE='#'
3908 am__fastdepCXX_FALSE=
3909 fi
3910
3911
3912
3913 ax_cxx_compile_cxx11_required=true
3914 ac_ext=cpp
3915 ac_cpp='$CXXCPP $CPPFLAGS'
3916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3919 ac_success=no
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
3921 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
3922 if ${ax_cv_cxx_compile_cxx11+:} false; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3927
3928 template <typename T>
3929 struct check
3930 {
3931 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3932 };
3933
3934 struct Base {
3935 virtual void f() {}
3936 };
3937 struct Child : public Base {
3938 virtual void f() override {}
3939 };
3940
3941 typedef check<check<bool>> right_angle_brackets;
3942
3943 int a;
3944 decltype(a) b;
3945
3946 typedef check<int> check_type;
3947 check_type c;
3948 check_type&& cr = static_cast<check_type&&>(c);
3949
3950 auto d = a;
3951 auto l = [](){};
3952 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3953 struct use_l { use_l() { l(); } };
3954
3955 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3956 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3957 namespace test_template_alias_sfinae {
3958 struct foo {};
3959
3960 template<typename T>
3961 using member = typename T::member_type;
3962
3963 template<typename T>
3964 void func(...) {}
3965
3966 template<typename T>
3967 void func(member<T>*) {}
3968
3969 void test();
3970
3971 void test() {
3972 func<foo>(0);
3973 }
3974 }
3975
3976 _ACEOF
3977 if ac_fn_cxx_try_compile "$LINENO"; then :
3978 ax_cv_cxx_compile_cxx11=yes
3979 else
3980 ax_cv_cxx_compile_cxx11=no
3981 fi
3982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3983 fi
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
3985 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
3986 if test x$ax_cv_cxx_compile_cxx11 = xyes; then
3987 ac_success=yes
3988 fi
3989
3990
3991
3992 if test x$ac_success = xno; then
3993 for switch in -std=c++11 -std=c++0x +std=c++11; do
3994 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
3996 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
3997 if eval \${$cachevar+:} false; then :
3998 $as_echo_n "(cached) " >&6
3999 else
4000 ac_save_CXXFLAGS="$CXXFLAGS"
4001 CXXFLAGS="$CXXFLAGS $switch"
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4004
4005 template <typename T>
4006 struct check
4007 {
4008 static_assert(sizeof(int) <= sizeof(T), "not big enough");
4009 };
4010
4011 struct Base {
4012 virtual void f() {}
4013 };
4014 struct Child : public Base {
4015 virtual void f() override {}
4016 };
4017
4018 typedef check<check<bool>> right_angle_brackets;
4019
4020 int a;
4021 decltype(a) b;
4022
4023 typedef check<int> check_type;
4024 check_type c;
4025 check_type&& cr = static_cast<check_type&&>(c);
4026
4027 auto d = a;
4028 auto l = [](){};
4029 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
4030 struct use_l { use_l() { l(); } };
4031
4032 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
4033 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
4034 namespace test_template_alias_sfinae {
4035 struct foo {};
4036
4037 template<typename T>
4038 using member = typename T::member_type;
4039
4040 template<typename T>
4041 void func(...) {}
4042
4043 template<typename T>
4044 void func(member<T>*) {}
4045
4046 void test();
4047
4048 void test() {
4049 func<foo>(0);
4050 }
4051 }
4052
4053 _ACEOF
4054 if ac_fn_cxx_try_compile "$LINENO"; then :
4055 eval $cachevar=yes
4056 else
4057 eval $cachevar=no
4058 fi
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4060 CXXFLAGS="$ac_save_CXXFLAGS"
4061 fi
4062 eval ac_res=\$$cachevar
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4064 $as_echo "$ac_res" >&6; }
4065 if eval test x\$$cachevar = xyes; then
4066 CXXFLAGS="$CXXFLAGS $switch"
4067 ac_success=yes
4068 break
4069 fi
4070 done
4071 fi
4072 ac_ext=c
4073 ac_cpp='$CPP $CPPFLAGS'
4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4077
4078 if test x$ax_cxx_compile_cxx11_required = xtrue; then
4079 if test x$ac_success = xno; then
4080 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4081 fi
4082 else
4083 if test x$ac_success = xno; then
4084 HAVE_CXX11=0
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4086 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4087 else
4088 HAVE_CXX11=1
4089
4090 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
4091
4092 fi
4093
4094
4095 fi
4096
4097
4098 # Check whether --enable-static was given.
4099 if test "${enable_static+set}" = set; then :
4100 enableval=$enable_static; p=${PACKAGE-default}
4101 case $enableval in
4102 yes) enable_static=yes ;;
4103 no) enable_static=no ;;
4104 *)
4105 enable_static=no
4106 # Look at the argument we got. We use all the common list separators.
4107 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4108 for pkg in $enableval; do
4109 IFS=$lt_save_ifs
4110 if test "X$pkg" = "X$p"; then
4111 enable_static=yes
4112 fi
4113 done
4114 IFS=$lt_save_ifs
4115 ;;
4116 esac
4117 else
4118 enable_static=no
4119 fi
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129 # Make sure we can run config.sub.
4130 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4131 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4132
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4134 $as_echo_n "checking build system type... " >&6; }
4135 if ${ac_cv_build+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 ac_build_alias=$build_alias
4139 test "x$ac_build_alias" = x &&
4140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4141 test "x$ac_build_alias" = x &&
4142 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4143 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4145
4146 fi
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4148 $as_echo "$ac_cv_build" >&6; }
4149 case $ac_cv_build in
4150 *-*-*) ;;
4151 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4152 esac
4153 build=$ac_cv_build
4154 ac_save_IFS=$IFS; IFS='-'
4155 set x $ac_cv_build
4156 shift
4157 build_cpu=$1
4158 build_vendor=$2
4159 shift; shift
4160 # Remember, the first character of IFS is used to create $*,
4161 # except with old shells:
4162 build_os=$*
4163 IFS=$ac_save_IFS
4164 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4165
4166
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4168 $as_echo_n "checking host system type... " >&6; }
4169 if ${ac_cv_host+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 if test "x$host_alias" = x; then
4173 ac_cv_host=$ac_cv_build
4174 else
4175 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4177 fi
4178
4179 fi
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4181 $as_echo "$ac_cv_host" >&6; }
4182 case $ac_cv_host in
4183 *-*-*) ;;
4184 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4185 esac
4186 host=$ac_cv_host
4187 ac_save_IFS=$IFS; IFS='-'
4188 set x $ac_cv_host
4189 shift
4190 host_cpu=$1
4191 host_vendor=$2
4192 shift; shift
4193 # Remember, the first character of IFS is used to create $*,
4194 # except with old shells:
4195 host_os=$*
4196 IFS=$ac_save_IFS
4197 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4198
4199
4200 enable_win32_dll=yes
4201
4202 case $host in
4203 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4204 if test -n "$ac_tool_prefix"; then
4205 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4206 set dummy ${ac_tool_prefix}as; ac_word=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if ${ac_cv_prog_AS+:} false; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 if test -n "$AS"; then
4213 ac_cv_prog_AS="$AS" # Let the user override the test.
4214 else
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 for as_dir in $PATH
4217 do
4218 IFS=$as_save_IFS
4219 test -z "$as_dir" && as_dir=.
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_AS="${ac_tool_prefix}as"
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 break 2
4225 fi
4226 done
4227 done
4228 IFS=$as_save_IFS
4229
4230 fi
4231 fi
4232 AS=$ac_cv_prog_AS
4233 if test -n "$AS"; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4235 $as_echo "$AS" >&6; }
4236 else
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4239 fi
4240
4241
4242 fi
4243 if test -z "$ac_cv_prog_AS"; then
4244 ac_ct_AS=$AS
4245 # Extract the first word of "as", so it can be a program name with args.
4246 set dummy as; ac_word=$2
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4248 $as_echo_n "checking for $ac_word... " >&6; }
4249 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 if test -n "$ac_ct_AS"; then
4253 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4257 do
4258 IFS=$as_save_IFS
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_ac_ct_AS="as"
4263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 break 2
4265 fi
4266 done
4267 done
4268 IFS=$as_save_IFS
4269
4270 fi
4271 fi
4272 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4273 if test -n "$ac_ct_AS"; then
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4275 $as_echo "$ac_ct_AS" >&6; }
4276 else
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4278 $as_echo "no" >&6; }
4279 fi
4280
4281 if test "x$ac_ct_AS" = x; then
4282 AS="false"
4283 else
4284 case $cross_compiling:$ac_tool_warned in
4285 yes:)
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4288 ac_tool_warned=yes ;;
4289 esac
4290 AS=$ac_ct_AS
4291 fi
4292 else
4293 AS="$ac_cv_prog_AS"
4294 fi
4295
4296 if test -n "$ac_tool_prefix"; then
4297 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4298 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300 $as_echo_n "checking for $ac_word... " >&6; }
4301 if ${ac_cv_prog_DLLTOOL+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 if test -n "$DLLTOOL"; then
4305 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4306 else
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308 for as_dir in $PATH
4309 do
4310 IFS=$as_save_IFS
4311 test -z "$as_dir" && as_dir=.
4312 for ac_exec_ext in '' $ac_executable_extensions; do
4313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 break 2
4317 fi
4318 done
4319 done
4320 IFS=$as_save_IFS
4321
4322 fi
4323 fi
4324 DLLTOOL=$ac_cv_prog_DLLTOOL
4325 if test -n "$DLLTOOL"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4327 $as_echo "$DLLTOOL" >&6; }
4328 else
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4331 fi
4332
4333
4334 fi
4335 if test -z "$ac_cv_prog_DLLTOOL"; then
4336 ac_ct_DLLTOOL=$DLLTOOL
4337 # Extract the first word of "dlltool", so it can be a program name with args.
4338 set dummy dlltool; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$ac_ct_DLLTOOL"; then
4345 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4349 do
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4357 fi
4358 done
4359 done
4360 IFS=$as_save_IFS
4361
4362 fi
4363 fi
4364 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4365 if test -n "$ac_ct_DLLTOOL"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4367 $as_echo "$ac_ct_DLLTOOL" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4371 fi
4372
4373 if test "x$ac_ct_DLLTOOL" = x; then
4374 DLLTOOL="false"
4375 else
4376 case $cross_compiling:$ac_tool_warned in
4377 yes:)
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4380 ac_tool_warned=yes ;;
4381 esac
4382 DLLTOOL=$ac_ct_DLLTOOL
4383 fi
4384 else
4385 DLLTOOL="$ac_cv_prog_DLLTOOL"
4386 fi
4387
4388 if test -n "$ac_tool_prefix"; then
4389 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4390 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_OBJDUMP+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 if test -n "$OBJDUMP"; then
4397 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4398 else
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 for as_dir in $PATH
4401 do
4402 IFS=$as_save_IFS
4403 test -z "$as_dir" && as_dir=.
4404 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4406 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 break 2
4409 fi
4410 done
4411 done
4412 IFS=$as_save_IFS
4413
4414 fi
4415 fi
4416 OBJDUMP=$ac_cv_prog_OBJDUMP
4417 if test -n "$OBJDUMP"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4419 $as_echo "$OBJDUMP" >&6; }
4420 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4423 fi
4424
4425
4426 fi
4427 if test -z "$ac_cv_prog_OBJDUMP"; then
4428 ac_ct_OBJDUMP=$OBJDUMP
4429 # Extract the first word of "objdump", so it can be a program name with args.
4430 set dummy objdump; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$ac_ct_OBJDUMP"; then
4437 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4441 do
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4449 fi
4450 done
4451 done
4452 IFS=$as_save_IFS
4453
4454 fi
4455 fi
4456 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4457 if test -n "$ac_ct_OBJDUMP"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4459 $as_echo "$ac_ct_OBJDUMP" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4463 fi
4464
4465 if test "x$ac_ct_OBJDUMP" = x; then
4466 OBJDUMP="false"
4467 else
4468 case $cross_compiling:$ac_tool_warned in
4469 yes:)
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4472 ac_tool_warned=yes ;;
4473 esac
4474 OBJDUMP=$ac_ct_OBJDUMP
4475 fi
4476 else
4477 OBJDUMP="$ac_cv_prog_OBJDUMP"
4478 fi
4479
4480 ;;
4481 esac
4482
4483 test -z "$AS" && AS=as
4484
4485
4486
4487
4488
4489 test -z "$DLLTOOL" && DLLTOOL=dlltool
4490
4491
4492
4493
4494
4495 test -z "$OBJDUMP" && OBJDUMP=objdump
4496
4497
4498
4499
4500
4501
4502
4503 case `pwd` in
4504 *\ * | *\ *)
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4506 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4507 esac
4508
4509
4510
4511 macro_version='2.4.6'
4512 macro_revision='2.4.6'
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526 ltmain=$ac_aux_dir/ltmain.sh
4527
4528 # Backslashify metacharacters that are still active within
4529 # double-quoted strings.
4530 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4531
4532 # Same as above, but do not quote variable references.
4533 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4534
4535 # Sed substitution to delay expansion of an escaped shell variable in a
4536 # double_quote_subst'ed string.
4537 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4538
4539 # Sed substitution to delay expansion of an escaped single quote.
4540 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4541
4542 # Sed substitution to avoid accidental globbing in evaled expressions
4543 no_glob_subst='s/\*/\\\*/g'
4544
4545 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4546 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4547 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4548
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4550 $as_echo_n "checking how to print strings... " >&6; }
4551 # Test print first, because it will be a builtin if present.
4552 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4553 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4554 ECHO='print -r --'
4555 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4556 ECHO='printf %s\n'
4557 else
4558 # Use this function as a fallback that always works.
4559 func_fallback_echo ()
4560 {
4561 eval 'cat <<_LTECHO_EOF
4562 $1
4563 _LTECHO_EOF'
4564 }
4565 ECHO='func_fallback_echo'
4566 fi
4567
4568 # func_echo_all arg...
4569 # Invoke $ECHO with all args, space-separated.
4570 func_echo_all ()
4571 {
4572 $ECHO ""
4573 }
4574
4575 case $ECHO in
4576 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4577 $as_echo "printf" >&6; } ;;
4578 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4579 $as_echo "print -r" >&6; } ;;
4580 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4581 $as_echo "cat" >&6; } ;;
4582 esac
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597 ac_ext=c
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4604 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_prog_CC+:} false; then :
4608 $as_echo_n "(cached) " >&6
4609 else
4610 if test -n "$CC"; then
4611 ac_cv_prog_CC="$CC" # Let the user override the test.
4612 else
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 for as_dir in $PATH
4615 do
4616 IFS=$as_save_IFS
4617 test -z "$as_dir" && as_dir=.
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4620 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 break 2
4623 fi
4624 done
4625 done
4626 IFS=$as_save_IFS
4627
4628 fi
4629 fi
4630 CC=$ac_cv_prog_CC
4631 if test -n "$CC"; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4633 $as_echo "$CC" >&6; }
4634 else
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4637 fi
4638
4639
4640 fi
4641 if test -z "$ac_cv_prog_CC"; then
4642 ac_ct_CC=$CC
4643 # Extract the first word of "gcc", so it can be a program name with args.
4644 set dummy gcc; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 if test -n "$ac_ct_CC"; then
4651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4655 do
4656 IFS=$as_save_IFS
4657 test -z "$as_dir" && as_dir=.
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_ac_ct_CC="gcc"
4661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 break 2
4663 fi
4664 done
4665 done
4666 IFS=$as_save_IFS
4667
4668 fi
4669 fi
4670 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4671 if test -n "$ac_ct_CC"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4673 $as_echo "$ac_ct_CC" >&6; }
4674 else
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4677 fi
4678
4679 if test "x$ac_ct_CC" = x; then
4680 CC=""
4681 else
4682 case $cross_compiling:$ac_tool_warned in
4683 yes:)
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4686 ac_tool_warned=yes ;;
4687 esac
4688 CC=$ac_ct_CC
4689 fi
4690 else
4691 CC="$ac_cv_prog_CC"
4692 fi
4693
4694 if test -z "$CC"; then
4695 if test -n "$ac_tool_prefix"; then
4696 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4697 set dummy ${ac_tool_prefix}cc; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_CC+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 if test -n "$CC"; then
4704 ac_cv_prog_CC="$CC" # Let the user override the test.
4705 else
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in $PATH
4708 do
4709 IFS=$as_save_IFS
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_CC="${ac_tool_prefix}cc"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 break 2
4716 fi
4717 done
4718 done
4719 IFS=$as_save_IFS
4720
4721 fi
4722 fi
4723 CC=$ac_cv_prog_CC
4724 if test -n "$CC"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4726 $as_echo "$CC" >&6; }
4727 else
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4730 fi
4731
4732
4733 fi
4734 fi
4735 if test -z "$CC"; then
4736 # Extract the first word of "cc", so it can be a program name with args.
4737 set dummy cc; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if ${ac_cv_prog_CC+:} false; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -n "$CC"; then
4744 ac_cv_prog_CC="$CC" # Let the user override the test.
4745 else
4746 ac_prog_rejected=no
4747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 for as_dir in $PATH
4749 do
4750 IFS=$as_save_IFS
4751 test -z "$as_dir" && as_dir=.
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4754 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4755 ac_prog_rejected=yes
4756 continue
4757 fi
4758 ac_cv_prog_CC="cc"
4759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 break 2
4761 fi
4762 done
4763 done
4764 IFS=$as_save_IFS
4765
4766 if test $ac_prog_rejected = yes; then
4767 # We found a bogon in the path, so make sure we never use it.
4768 set dummy $ac_cv_prog_CC
4769 shift
4770 if test $# != 0; then
4771 # We chose a different compiler from the bogus one.
4772 # However, it has the same basename, so the bogon will be chosen
4773 # first if we set CC to just the basename; use the full file name.
4774 shift
4775 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4776 fi
4777 fi
4778 fi
4779 fi
4780 CC=$ac_cv_prog_CC
4781 if test -n "$CC"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4783 $as_echo "$CC" >&6; }
4784 else
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4787 fi
4788
4789
4790 fi
4791 if test -z "$CC"; then
4792 if test -n "$ac_tool_prefix"; then
4793 for ac_prog in cl.exe
4794 do
4795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4798 $as_echo_n "checking for $ac_word... " >&6; }
4799 if ${ac_cv_prog_CC+:} false; then :
4800 $as_echo_n "(cached) " >&6
4801 else
4802 if test -n "$CC"; then
4803 ac_cv_prog_CC="$CC" # Let the user override the test.
4804 else
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH
4807 do
4808 IFS=$as_save_IFS
4809 test -z "$as_dir" && as_dir=.
4810 for ac_exec_ext in '' $ac_executable_extensions; do
4811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4812 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 break 2
4815 fi
4816 done
4817 done
4818 IFS=$as_save_IFS
4819
4820 fi
4821 fi
4822 CC=$ac_cv_prog_CC
4823 if test -n "$CC"; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4825 $as_echo "$CC" >&6; }
4826 else
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829 fi
4830
4831
4832 test -n "$CC" && break
4833 done
4834 fi
4835 if test -z "$CC"; then
4836 ac_ct_CC=$CC
4837 for ac_prog in cl.exe
4838 do
4839 # Extract the first word of "$ac_prog", so it can be a program name with args.
4840 set dummy $ac_prog; ac_word=$2
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4842 $as_echo_n "checking for $ac_word... " >&6; }
4843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4844 $as_echo_n "(cached) " >&6
4845 else
4846 if test -n "$ac_ct_CC"; then
4847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4848 else
4849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 for as_dir in $PATH
4851 do
4852 IFS=$as_save_IFS
4853 test -z "$as_dir" && as_dir=.
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4856 ac_cv_prog_ac_ct_CC="$ac_prog"
4857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 break 2
4859 fi
4860 done
4861 done
4862 IFS=$as_save_IFS
4863
4864 fi
4865 fi
4866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4867 if test -n "$ac_ct_CC"; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4869 $as_echo "$ac_ct_CC" >&6; }
4870 else
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 $as_echo "no" >&6; }
4873 fi
4874
4875
4876 test -n "$ac_ct_CC" && break
4877 done
4878
4879 if test "x$ac_ct_CC" = x; then
4880 CC=""
4881 else
4882 case $cross_compiling:$ac_tool_warned in
4883 yes:)
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4886 ac_tool_warned=yes ;;
4887 esac
4888 CC=$ac_ct_CC
4889 fi
4890 fi
4891
4892 fi
4893
4894
4895 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4897 as_fn_error $? "no acceptable C compiler found in \$PATH
4898 See \`config.log' for more details" "$LINENO" 5; }
4899
4900 # Provide some information about the compiler.
4901 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4902 set X $ac_compile
4903 ac_compiler=$2
4904 for ac_option in --version -v -V -qversion; do
4905 { { ac_try="$ac_compiler $ac_option >&5"
4906 case "(($ac_try" in
4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908 *) ac_try_echo=$ac_try;;
4909 esac
4910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4911 $as_echo "$ac_try_echo"; } >&5
4912 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4913 ac_status=$?
4914 if test -s conftest.err; then
4915 sed '10a\
4916 ... rest of stderr output deleted ...
4917 10q' conftest.err >conftest.er1
4918 cat conftest.er1 >&5
4919 fi
4920 rm -f conftest.er1 conftest.err
4921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4922 test $ac_status = 0; }
4923 done
4924
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4926 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4927 if ${ac_cv_c_compiler_gnu+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4932
4933 int
4934 main ()
4935 {
4936 #ifndef __GNUC__
4937 choke me
4938 #endif
4939
4940 ;
4941 return 0;
4942 }
4943 _ACEOF
4944 if ac_fn_c_try_compile "$LINENO"; then :
4945 ac_compiler_gnu=yes
4946 else
4947 ac_compiler_gnu=no
4948 fi
4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4950 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4951
4952 fi
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4954 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4955 if test $ac_compiler_gnu = yes; then
4956 GCC=yes
4957 else
4958 GCC=
4959 fi
4960 ac_test_CFLAGS=${CFLAGS+set}
4961 ac_save_CFLAGS=$CFLAGS
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4963 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4964 if ${ac_cv_prog_cc_g+:} false; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 ac_save_c_werror_flag=$ac_c_werror_flag
4968 ac_c_werror_flag=yes
4969 ac_cv_prog_cc_g=no
4970 CFLAGS="-g"
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4973
4974 int
4975 main ()
4976 {
4977
4978 ;
4979 return 0;
4980 }
4981 _ACEOF
4982 if ac_fn_c_try_compile "$LINENO"; then :
4983 ac_cv_prog_cc_g=yes
4984 else
4985 CFLAGS=""
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4988
4989 int
4990 main ()
4991 {
4992
4993 ;
4994 return 0;
4995 }
4996 _ACEOF
4997 if ac_fn_c_try_compile "$LINENO"; then :
4998
4999 else
5000 ac_c_werror_flag=$ac_save_c_werror_flag
5001 CFLAGS="-g"
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5004
5005 int
5006 main ()
5007 {
5008
5009 ;
5010 return 0;
5011 }
5012 _ACEOF
5013 if ac_fn_c_try_compile "$LINENO"; then :
5014 ac_cv_prog_cc_g=yes
5015 fi
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 fi
5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 fi
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 ac_c_werror_flag=$ac_save_c_werror_flag
5022 fi
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5024 $as_echo "$ac_cv_prog_cc_g" >&6; }
5025 if test "$ac_test_CFLAGS" = set; then
5026 CFLAGS=$ac_save_CFLAGS
5027 elif test $ac_cv_prog_cc_g = yes; then
5028 if test "$GCC" = yes; then
5029 CFLAGS="-g -O2"
5030 else
5031 CFLAGS="-g"
5032 fi
5033 else
5034 if test "$GCC" = yes; then
5035 CFLAGS="-O2"
5036 else
5037 CFLAGS=
5038 fi
5039 fi
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5041 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5042 if ${ac_cv_prog_cc_c89+:} false; then :
5043 $as_echo_n "(cached) " >&6
5044 else
5045 ac_cv_prog_cc_c89=no
5046 ac_save_CC=$CC
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5049 #include <stdarg.h>
5050 #include <stdio.h>
5051 struct stat;
5052 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5053 struct buf { int x; };
5054 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5055 static char *e (p, i)
5056 char **p;
5057 int i;
5058 {
5059 return p[i];
5060 }
5061 static char *f (char * (*g) (char **, int), char **p, ...)
5062 {
5063 char *s;
5064 va_list v;
5065 va_start (v,p);
5066 s = g (p, va_arg (v,int));
5067 va_end (v);
5068 return s;
5069 }
5070
5071 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5072 function prototypes and stuff, but not '\xHH' hex character constants.
5073 These don't provoke an error unfortunately, instead are silently treated
5074 as 'x'. The following induces an error, until -std is added to get
5075 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5076 array size at least. It's necessary to write '\x00'==0 to get something
5077 that's true only with -std. */
5078 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5079
5080 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5081 inside strings and character constants. */
5082 #define FOO(x) 'x'
5083 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5084
5085 int test (int i, double x);
5086 struct s1 {int (*f) (int a);};
5087 struct s2 {int (*f) (double a);};
5088 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5089 int argc;
5090 char **argv;
5091 int
5092 main ()
5093 {
5094 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5095 ;
5096 return 0;
5097 }
5098 _ACEOF
5099 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5100 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5101 do
5102 CC="$ac_save_CC $ac_arg"
5103 if ac_fn_c_try_compile "$LINENO"; then :
5104 ac_cv_prog_cc_c89=$ac_arg
5105 fi
5106 rm -f core conftest.err conftest.$ac_objext
5107 test "x$ac_cv_prog_cc_c89" != "xno" && break
5108 done
5109 rm -f conftest.$ac_ext
5110 CC=$ac_save_CC
5111
5112 fi
5113 # AC_CACHE_VAL
5114 case "x$ac_cv_prog_cc_c89" in
5115 x)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5117 $as_echo "none needed" >&6; } ;;
5118 xno)
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5120 $as_echo "unsupported" >&6; } ;;
5121 *)
5122 CC="$CC $ac_cv_prog_cc_c89"
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5124 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5125 esac
5126 if test "x$ac_cv_prog_cc_c89" != xno; then :
5127
5128 fi
5129
5130 ac_ext=c
5131 ac_cpp='$CPP $CPPFLAGS'
5132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135
5136 ac_ext=c
5137 ac_cpp='$CPP $CPPFLAGS'
5138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5142 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5143 if ${am_cv_prog_cc_c_o+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5148
5149 int
5150 main ()
5151 {
5152
5153 ;
5154 return 0;
5155 }
5156 _ACEOF
5157 # Make sure it works both with $CC and with simple cc.
5158 # Following AC_PROG_CC_C_O, we do the test twice because some
5159 # compilers refuse to overwrite an existing .o file with -o,
5160 # though they will create one.
5161 am_cv_prog_cc_c_o=yes
5162 for am_i in 1 2; do
5163 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5164 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5165 ac_status=$?
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } \
5168 && test -f conftest2.$ac_objext; then
5169 : OK
5170 else
5171 am_cv_prog_cc_c_o=no
5172 break
5173 fi
5174 done
5175 rm -f core conftest*
5176 unset am_i
5177 fi
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5179 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5180 if test "$am_cv_prog_cc_c_o" != yes; then
5181 # Losing compiler, so override with the script.
5182 # FIXME: It is wrong to rewrite CC.
5183 # But if we don't then we get into trouble of one sort or another.
5184 # A longer-term fix would be to have automake use am__CC in this case,
5185 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5186 CC="$am_aux_dir/compile $CC"
5187 fi
5188 ac_ext=c
5189 ac_cpp='$CPP $CPPFLAGS'
5190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5193
5194
5195 depcc="$CC" am_compiler_list=
5196
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5198 $as_echo_n "checking dependency style of $depcc... " >&6; }
5199 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5203 # We make a subdir and do the tests there. Otherwise we can end up
5204 # making bogus files that we don't know about and never remove. For
5205 # instance it was reported that on HP-UX the gcc test will end up
5206 # making a dummy file named 'D' -- because '-MD' means "put the output
5207 # in D".
5208 rm -rf conftest.dir
5209 mkdir conftest.dir
5210 # Copy depcomp to subdir because otherwise we won't find it if we're
5211 # using a relative directory.
5212 cp "$am_depcomp" conftest.dir
5213 cd conftest.dir
5214 # We will build objects and dependencies in a subdirectory because
5215 # it helps to detect inapplicable dependency modes. For instance
5216 # both Tru64's cc and ICC support -MD to output dependencies as a
5217 # side effect of compilation, but ICC will put the dependencies in
5218 # the current directory while Tru64 will put them in the object
5219 # directory.
5220 mkdir sub
5221
5222 am_cv_CC_dependencies_compiler_type=none
5223 if test "$am_compiler_list" = ""; then
5224 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5225 fi
5226 am__universal=false
5227 case " $depcc " in #(
5228 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5229 esac
5230
5231 for depmode in $am_compiler_list; do
5232 # Setup a source with many dependencies, because some compilers
5233 # like to wrap large dependency lists on column 80 (with \), and
5234 # we should not choose a depcomp mode which is confused by this.
5235 #
5236 # We need to recreate these files for each test, as the compiler may
5237 # overwrite some of them when testing with obscure command lines.
5238 # This happens at least with the AIX C compiler.
5239 : > sub/conftest.c
5240 for i in 1 2 3 4 5 6; do
5241 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5242 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5243 # Solaris 10 /bin/sh.
5244 echo '/* dummy */' > sub/conftst$i.h
5245 done
5246 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5247
5248 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5249 # mode. It turns out that the SunPro C++ compiler does not properly
5250 # handle '-M -o', and we need to detect this. Also, some Intel
5251 # versions had trouble with output in subdirs.
5252 am__obj=sub/conftest.${OBJEXT-o}
5253 am__minus_obj="-o $am__obj"
5254 case $depmode in
5255 gcc)
5256 # This depmode causes a compiler race in universal mode.
5257 test "$am__universal" = false || continue
5258 ;;
5259 nosideeffect)
5260 # After this tag, mechanisms are not by side-effect, so they'll
5261 # only be used when explicitly requested.
5262 if test "x$enable_dependency_tracking" = xyes; then
5263 continue
5264 else
5265 break
5266 fi
5267 ;;
5268 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5269 # This compiler won't grok '-c -o', but also, the minuso test has
5270 # not run yet. These depmodes are late enough in the game, and
5271 # so weak that their functioning should not be impacted.
5272 am__obj=conftest.${OBJEXT-o}
5273 am__minus_obj=
5274 ;;
5275 none) break ;;
5276 esac
5277 if depmode=$depmode \
5278 source=sub/conftest.c object=$am__obj \
5279 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5280 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5281 >/dev/null 2>conftest.err &&
5282 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5283 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5284 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5285 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5286 # icc doesn't choke on unknown options, it will just issue warnings
5287 # or remarks (even with -Werror). So we grep stderr for any message
5288 # that says an option was ignored or not supported.
5289 # When given -MP, icc 7.0 and 7.1 complain thusly:
5290 # icc: Command line warning: ignoring option '-M'; no argument required
5291 # The diagnosis changed in icc 8.0:
5292 # icc: Command line remark: option '-MP' not supported
5293 if (grep 'ignoring option' conftest.err ||
5294 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5295 am_cv_CC_dependencies_compiler_type=$depmode
5296 break
5297 fi
5298 fi
5299 done
5300
5301 cd ..
5302 rm -rf conftest.dir
5303 else
5304 am_cv_CC_dependencies_compiler_type=none
5305 fi
5306
5307 fi
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5309 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5310 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5311
5312 if
5313 test "x$enable_dependency_tracking" != xno \
5314 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5315 am__fastdepCC_TRUE=
5316 am__fastdepCC_FALSE='#'
5317 else
5318 am__fastdepCC_TRUE='#'
5319 am__fastdepCC_FALSE=
5320 fi
5321
5322
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5324 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5325 if ${ac_cv_path_SED+:} false; then :
5326 $as_echo_n "(cached) " >&6
5327 else
5328 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5329 for ac_i in 1 2 3 4 5 6 7; do
5330 ac_script="$ac_script$as_nl$ac_script"
5331 done
5332 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5333 { ac_script=; unset ac_script;}
5334 if test -z "$SED"; then
5335 ac_path_SED_found=false
5336 # Loop through the user's path and test for each of PROGNAME-LIST
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 for as_dir in $PATH
5339 do
5340 IFS=$as_save_IFS
5341 test -z "$as_dir" && as_dir=.
5342 for ac_prog in sed gsed; do
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5345 as_fn_executable_p "$ac_path_SED" || continue
5346 # Check for GNU ac_path_SED and select it if it is found.
5347 # Check for GNU $ac_path_SED
5348 case `"$ac_path_SED" --version 2>&1` in
5349 *GNU*)
5350 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5351 *)
5352 ac_count=0
5353 $as_echo_n 0123456789 >"conftest.in"
5354 while :
5355 do
5356 cat "conftest.in" "conftest.in" >"conftest.tmp"
5357 mv "conftest.tmp" "conftest.in"
5358 cp "conftest.in" "conftest.nl"
5359 $as_echo '' >> "conftest.nl"
5360 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5361 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5362 as_fn_arith $ac_count + 1 && ac_count=$as_val
5363 if test $ac_count -gt ${ac_path_SED_max-0}; then
5364 # Best one so far, save it but keep looking for a better one
5365 ac_cv_path_SED="$ac_path_SED"
5366 ac_path_SED_max=$ac_count
5367 fi
5368 # 10*(2^10) chars as input seems more than enough
5369 test $ac_count -gt 10 && break
5370 done
5371 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5372 esac
5373
5374 $ac_path_SED_found && break 3
5375 done
5376 done
5377 done
5378 IFS=$as_save_IFS
5379 if test -z "$ac_cv_path_SED"; then
5380 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5381 fi
5382 else
5383 ac_cv_path_SED=$SED
5384 fi
5385
5386 fi
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5388 $as_echo "$ac_cv_path_SED" >&6; }
5389 SED="$ac_cv_path_SED"
5390 rm -f conftest.sed
5391
5392 test -z "$SED" && SED=sed
5393 Xsed="$SED -e 1s/^X//"
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5406 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5407 if ${ac_cv_path_GREP+:} false; then :
5408 $as_echo_n "(cached) " >&6
5409 else
5410 if test -z "$GREP"; then
5411 ac_path_GREP_found=false
5412 # Loop through the user's path and test for each of PROGNAME-LIST
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5415 do
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_prog in grep ggrep; do
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5421 as_fn_executable_p "$ac_path_GREP" || continue
5422 # Check for GNU ac_path_GREP and select it if it is found.
5423 # Check for GNU $ac_path_GREP
5424 case `"$ac_path_GREP" --version 2>&1` in
5425 *GNU*)
5426 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5427 *)
5428 ac_count=0
5429 $as_echo_n 0123456789 >"conftest.in"
5430 while :
5431 do
5432 cat "conftest.in" "conftest.in" >"conftest.tmp"
5433 mv "conftest.tmp" "conftest.in"
5434 cp "conftest.in" "conftest.nl"
5435 $as_echo 'GREP' >> "conftest.nl"
5436 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438 as_fn_arith $ac_count + 1 && ac_count=$as_val
5439 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5440 # Best one so far, save it but keep looking for a better one
5441 ac_cv_path_GREP="$ac_path_GREP"
5442 ac_path_GREP_max=$ac_count
5443 fi
5444 # 10*(2^10) chars as input seems more than enough
5445 test $ac_count -gt 10 && break
5446 done
5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5448 esac
5449
5450 $ac_path_GREP_found && break 3
5451 done
5452 done
5453 done
5454 IFS=$as_save_IFS
5455 if test -z "$ac_cv_path_GREP"; then
5456 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5457 fi
5458 else
5459 ac_cv_path_GREP=$GREP
5460 fi
5461
5462 fi
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5464 $as_echo "$ac_cv_path_GREP" >&6; }
5465 GREP="$ac_cv_path_GREP"
5466
5467
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5469 $as_echo_n "checking for egrep... " >&6; }
5470 if ${ac_cv_path_EGREP+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5474 then ac_cv_path_EGREP="$GREP -E"
5475 else
5476 if test -z "$EGREP"; then
5477 ac_path_EGREP_found=false
5478 # Loop through the user's path and test for each of PROGNAME-LIST
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5481 do
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_prog in egrep; do
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5487 as_fn_executable_p "$ac_path_EGREP" || continue
5488 # Check for GNU ac_path_EGREP and select it if it is found.
5489 # Check for GNU $ac_path_EGREP
5490 case `"$ac_path_EGREP" --version 2>&1` in
5491 *GNU*)
5492 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5493 *)
5494 ac_count=0
5495 $as_echo_n 0123456789 >"conftest.in"
5496 while :
5497 do
5498 cat "conftest.in" "conftest.in" >"conftest.tmp"
5499 mv "conftest.tmp" "conftest.in"
5500 cp "conftest.in" "conftest.nl"
5501 $as_echo 'EGREP' >> "conftest.nl"
5502 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504 as_fn_arith $ac_count + 1 && ac_count=$as_val
5505 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5506 # Best one so far, save it but keep looking for a better one
5507 ac_cv_path_EGREP="$ac_path_EGREP"
5508 ac_path_EGREP_max=$ac_count
5509 fi
5510 # 10*(2^10) chars as input seems more than enough
5511 test $ac_count -gt 10 && break
5512 done
5513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5514 esac
5515
5516 $ac_path_EGREP_found && break 3
5517 done
5518 done
5519 done
5520 IFS=$as_save_IFS
5521 if test -z "$ac_cv_path_EGREP"; then
5522 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5523 fi
5524 else
5525 ac_cv_path_EGREP=$EGREP
5526 fi
5527
5528 fi
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5531 $as_echo "$ac_cv_path_EGREP" >&6; }
5532 EGREP="$ac_cv_path_EGREP"
5533
5534
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5536 $as_echo_n "checking for fgrep... " >&6; }
5537 if ${ac_cv_path_FGREP+:} false; then :
5538 $as_echo_n "(cached) " >&6
5539 else
5540 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5541 then ac_cv_path_FGREP="$GREP -F"
5542 else
5543 if test -z "$FGREP"; then
5544 ac_path_FGREP_found=false
5545 # Loop through the user's path and test for each of PROGNAME-LIST
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5548 do
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_prog in fgrep; do
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5554 as_fn_executable_p "$ac_path_FGREP" || continue
5555 # Check for GNU ac_path_FGREP and select it if it is found.
5556 # Check for GNU $ac_path_FGREP
5557 case `"$ac_path_FGREP" --version 2>&1` in
5558 *GNU*)
5559 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5560 *)
5561 ac_count=0
5562 $as_echo_n 0123456789 >"conftest.in"
5563 while :
5564 do
5565 cat "conftest.in" "conftest.in" >"conftest.tmp"
5566 mv "conftest.tmp" "conftest.in"
5567 cp "conftest.in" "conftest.nl"
5568 $as_echo 'FGREP' >> "conftest.nl"
5569 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5570 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5571 as_fn_arith $ac_count + 1 && ac_count=$as_val
5572 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5573 # Best one so far, save it but keep looking for a better one
5574 ac_cv_path_FGREP="$ac_path_FGREP"
5575 ac_path_FGREP_max=$ac_count
5576 fi
5577 # 10*(2^10) chars as input seems more than enough
5578 test $ac_count -gt 10 && break
5579 done
5580 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5581 esac
5582
5583 $ac_path_FGREP_found && break 3
5584 done
5585 done
5586 done
5587 IFS=$as_save_IFS
5588 if test -z "$ac_cv_path_FGREP"; then
5589 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5590 fi
5591 else
5592 ac_cv_path_FGREP=$FGREP
5593 fi
5594
5595 fi
5596 fi
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5598 $as_echo "$ac_cv_path_FGREP" >&6; }
5599 FGREP="$ac_cv_path_FGREP"
5600
5601
5602 test -z "$GREP" && GREP=grep
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622 # Check whether --with-gnu-ld was given.
5623 if test "${with_gnu_ld+set}" = set; then :
5624 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5625 else
5626 with_gnu_ld=no
5627 fi
5628
5629 ac_prog=ld
5630 if test yes = "$GCC"; then
5631 # Check if gcc -print-prog-name=ld gives a path.
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5633 $as_echo_n "checking for ld used by $CC... " >&6; }
5634 case $host in
5635 *-*-mingw*)
5636 # gcc leaves a trailing carriage return, which upsets mingw
5637 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5638 *)
5639 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5640 esac
5641 case $ac_prog in
5642 # Accept absolute paths.
5643 [\\/]* | ?:[\\/]*)
5644 re_direlt='/[^/][^/]*/\.\./'
5645 # Canonicalize the pathname of ld
5646 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5647 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5648 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5649 done
5650 test -z "$LD" && LD=$ac_prog
5651 ;;
5652 "")
5653 # If it fails, then pretend we aren't using GCC.
5654 ac_prog=ld
5655 ;;
5656 *)
5657 # If it is relative, then search for the first ld in PATH.
5658 with_gnu_ld=unknown
5659 ;;
5660 esac
5661 elif test yes = "$with_gnu_ld"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5663 $as_echo_n "checking for GNU ld... " >&6; }
5664 else
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5666 $as_echo_n "checking for non-GNU ld... " >&6; }
5667 fi
5668 if ${lt_cv_path_LD+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 if test -z "$LD"; then
5672 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5673 for ac_dir in $PATH; do
5674 IFS=$lt_save_ifs
5675 test -z "$ac_dir" && ac_dir=.
5676 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5677 lt_cv_path_LD=$ac_dir/$ac_prog
5678 # Check to see if the program is GNU ld. I'd rather use --version,
5679 # but apparently some variants of GNU ld only accept -v.
5680 # Break only if it was the GNU/non-GNU ld that we prefer.
5681 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5682 *GNU* | *'with BFD'*)
5683 test no != "$with_gnu_ld" && break
5684 ;;
5685 *)
5686 test yes != "$with_gnu_ld" && break
5687 ;;
5688 esac
5689 fi
5690 done
5691 IFS=$lt_save_ifs
5692 else
5693 lt_cv_path_LD=$LD # Let the user override the test with a path.
5694 fi
5695 fi
5696
5697 LD=$lt_cv_path_LD
5698 if test -n "$LD"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5700 $as_echo "$LD" >&6; }
5701 else
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5704 fi
5705 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5707 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5708 if ${lt_cv_prog_gnu_ld+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
5711 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5712 case `$LD -v 2>&1 </dev/null` in
5713 *GNU* | *'with BFD'*)
5714 lt_cv_prog_gnu_ld=yes
5715 ;;
5716 *)
5717 lt_cv_prog_gnu_ld=no
5718 ;;
5719 esac
5720 fi
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5722 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5723 with_gnu_ld=$lt_cv_prog_gnu_ld
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5734 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5735 if ${lt_cv_path_NM+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$NM"; then
5739 # Let the user override the test.
5740 lt_cv_path_NM=$NM
5741 else
5742 lt_nm_to_check=${ac_tool_prefix}nm
5743 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5744 lt_nm_to_check="$lt_nm_to_check nm"
5745 fi
5746 for lt_tmp_nm in $lt_nm_to_check; do
5747 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5748 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5749 IFS=$lt_save_ifs
5750 test -z "$ac_dir" && ac_dir=.
5751 tmp_nm=$ac_dir/$lt_tmp_nm
5752 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5753 # Check to see if the nm accepts a BSD-compat flag.
5754 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5755 # nm: unknown option "B" ignored
5756 # Tru64's nm complains that /dev/null is an invalid object file
5757 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5758 case $build_os in
5759 mingw*) lt_bad_file=conftest.nm/nofile ;;
5760 *) lt_bad_file=/dev/null ;;
5761 esac
5762 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5763 *$lt_bad_file* | *'Invalid file or object type'*)
5764 lt_cv_path_NM="$tmp_nm -B"
5765 break 2
5766 ;;
5767 *)
5768 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5769 */dev/null*)
5770 lt_cv_path_NM="$tmp_nm -p"
5771 break 2
5772 ;;
5773 *)
5774 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5775 continue # so that we can try to find one that supports BSD flags
5776 ;;
5777 esac
5778 ;;
5779 esac
5780 fi
5781 done
5782 IFS=$lt_save_ifs
5783 done
5784 : ${lt_cv_path_NM=no}
5785 fi
5786 fi
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5788 $as_echo "$lt_cv_path_NM" >&6; }
5789 if test no != "$lt_cv_path_NM"; then
5790 NM=$lt_cv_path_NM
5791 else
5792 # Didn't find any BSD compatible name lister, look for dumpbin.
5793 if test -n "$DUMPBIN"; then :
5794 # Let the user override the test.
5795 else
5796 if test -n "$ac_tool_prefix"; then
5797 for ac_prog in dumpbin "link -dump"
5798 do
5799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5800 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_DUMPBIN+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 if test -n "$DUMPBIN"; then
5807 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5811 do
5812 IFS=$as_save_IFS
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 break 2
5819 fi
5820 done
5821 done
5822 IFS=$as_save_IFS
5823
5824 fi
5825 fi
5826 DUMPBIN=$ac_cv_prog_DUMPBIN
5827 if test -n "$DUMPBIN"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5829 $as_echo "$DUMPBIN" >&6; }
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5833 fi
5834
5835
5836 test -n "$DUMPBIN" && break
5837 done
5838 fi
5839 if test -z "$DUMPBIN"; then
5840 ac_ct_DUMPBIN=$DUMPBIN
5841 for ac_prog in dumpbin "link -dump"
5842 do
5843 # Extract the first word of "$ac_prog", so it can be a program name with args.
5844 set dummy $ac_prog; ac_word=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5848 $as_echo_n "(cached) " >&6
5849 else
5850 if test -n "$ac_ct_DUMPBIN"; then
5851 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5852 else
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 for as_dir in $PATH
5855 do
5856 IFS=$as_save_IFS
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5860 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 break 2
5863 fi
5864 done
5865 done
5866 IFS=$as_save_IFS
5867
5868 fi
5869 fi
5870 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5871 if test -n "$ac_ct_DUMPBIN"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5873 $as_echo "$ac_ct_DUMPBIN" >&6; }
5874 else
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5877 fi
5878
5879
5880 test -n "$ac_ct_DUMPBIN" && break
5881 done
5882
5883 if test "x$ac_ct_DUMPBIN" = x; then
5884 DUMPBIN=":"
5885 else
5886 case $cross_compiling:$ac_tool_warned in
5887 yes:)
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5890 ac_tool_warned=yes ;;
5891 esac
5892 DUMPBIN=$ac_ct_DUMPBIN
5893 fi
5894 fi
5895
5896 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5897 *COFF*)
5898 DUMPBIN="$DUMPBIN -symbols -headers"
5899 ;;
5900 *)
5901 DUMPBIN=:
5902 ;;
5903 esac
5904 fi
5905
5906 if test : != "$DUMPBIN"; then
5907 NM=$DUMPBIN
5908 fi
5909 fi
5910 test -z "$NM" && NM=nm
5911
5912
5913
5914
5915
5916
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5918 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5919 if ${lt_cv_nm_interface+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921 else
5922 lt_cv_nm_interface="BSD nm"
5923 echo "int some_variable = 0;" > conftest.$ac_ext
5924 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5925 (eval "$ac_compile" 2>conftest.err)
5926 cat conftest.err >&5
5927 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5928 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5929 cat conftest.err >&5
5930 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5931 cat conftest.out >&5
5932 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5933 lt_cv_nm_interface="MS dumpbin"
5934 fi
5935 rm -f conftest*
5936 fi
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5938 $as_echo "$lt_cv_nm_interface" >&6; }
5939
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5941 $as_echo_n "checking whether ln -s works... " >&6; }
5942 LN_S=$as_ln_s
5943 if test "$LN_S" = "ln -s"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5945 $as_echo "yes" >&6; }
5946 else
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5948 $as_echo "no, using $LN_S" >&6; }
5949 fi
5950
5951 # find the maximum length of command line arguments
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5953 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5954 if ${lt_cv_sys_max_cmd_len+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 i=0
5958 teststring=ABCD
5959
5960 case $build_os in
5961 msdosdjgpp*)
5962 # On DJGPP, this test can blow up pretty badly due to problems in libc
5963 # (any single argument exceeding 2000 bytes causes a buffer overrun
5964 # during glob expansion). Even if it were fixed, the result of this
5965 # check would be larger than it should be.
5966 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5967 ;;
5968
5969 gnu*)
5970 # Under GNU Hurd, this test is not required because there is
5971 # no limit to the length of command line arguments.
5972 # Libtool will interpret -1 as no limit whatsoever
5973 lt_cv_sys_max_cmd_len=-1;
5974 ;;
5975
5976 cygwin* | mingw* | cegcc*)
5977 # On Win9x/ME, this test blows up -- it succeeds, but takes
5978 # about 5 minutes as the teststring grows exponentially.
5979 # Worse, since 9x/ME are not pre-emptively multitasking,
5980 # you end up with a "frozen" computer, even though with patience
5981 # the test eventually succeeds (with a max line length of 256k).
5982 # Instead, let's just punt: use the minimum linelength reported by
5983 # all of the supported platforms: 8192 (on NT/2K/XP).
5984 lt_cv_sys_max_cmd_len=8192;
5985 ;;
5986
5987 mint*)
5988 # On MiNT this can take a long time and run out of memory.
5989 lt_cv_sys_max_cmd_len=8192;
5990 ;;
5991
5992 amigaos*)
5993 # On AmigaOS with pdksh, this test takes hours, literally.
5994 # So we just punt and use a minimum line length of 8192.
5995 lt_cv_sys_max_cmd_len=8192;
5996 ;;
5997
5998 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5999 # This has been around since 386BSD, at least. Likely further.
6000 if test -x /sbin/sysctl; then
6001 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6002 elif test -x /usr/sbin/sysctl; then
6003 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6004 else
6005 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6006 fi
6007 # And add a safety zone
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6010 ;;
6011
6012 interix*)
6013 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6014 lt_cv_sys_max_cmd_len=196608
6015 ;;
6016
6017 os2*)
6018 # The test takes a long time on OS/2.
6019 lt_cv_sys_max_cmd_len=8192
6020 ;;
6021
6022 osf*)
6023 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6024 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6025 # nice to cause kernel panics so lets avoid the loop below.
6026 # First set a reasonable default.
6027 lt_cv_sys_max_cmd_len=16384
6028 #
6029 if test -x /sbin/sysconfig; then
6030 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6031 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6032 esac
6033 fi
6034 ;;
6035 sco3.2v5*)
6036 lt_cv_sys_max_cmd_len=102400
6037 ;;
6038 sysv5* | sco5v6* | sysv4.2uw2*)
6039 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6040 if test -n "$kargmax"; then
6041 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6042 else
6043 lt_cv_sys_max_cmd_len=32768
6044 fi
6045 ;;
6046 *)
6047 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6048 if test -n "$lt_cv_sys_max_cmd_len" && \
6049 test undefined != "$lt_cv_sys_max_cmd_len"; then
6050 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6052 else
6053 # Make teststring a little bigger before we do anything with it.
6054 # a 1K string should be a reasonable start.
6055 for i in 1 2 3 4 5 6 7 8; do
6056 teststring=$teststring$teststring
6057 done
6058 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6059 # If test is not a shell built-in, we'll probably end up computing a
6060 # maximum length that is only half of the actual maximum length, but
6061 # we can't tell.
6062 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6063 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6064 test 17 != "$i" # 1/2 MB should be enough
6065 do
6066 i=`expr $i + 1`
6067 teststring=$teststring$teststring
6068 done
6069 # Only check the string length outside the loop.
6070 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6071 teststring=
6072 # Add a significant safety factor because C++ compilers can tack on
6073 # massive amounts of additional arguments before passing them to the
6074 # linker. It appears as though 1/2 is a usable value.
6075 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6076 fi
6077 ;;
6078 esac
6079
6080 fi
6081
6082 if test -n "$lt_cv_sys_max_cmd_len"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6084 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6087 $as_echo "none" >&6; }
6088 fi
6089 max_cmd_len=$lt_cv_sys_max_cmd_len
6090
6091
6092
6093
6094
6095
6096 : ${CP="cp -f"}
6097 : ${MV="mv -f"}
6098 : ${RM="rm -f"}
6099
6100 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6101 lt_unset=unset
6102 else
6103 lt_unset=false
6104 fi
6105
6106
6107
6108
6109
6110 # test EBCDIC or ASCII
6111 case `echo X|tr X '\101'` in
6112 A) # ASCII based system
6113 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6114 lt_SP2NL='tr \040 \012'
6115 lt_NL2SP='tr \015\012 \040\040'
6116 ;;
6117 *) # EBCDIC based system
6118 lt_SP2NL='tr \100 \n'
6119 lt_NL2SP='tr \r\n \100\100'
6120 ;;
6121 esac
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6132 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6133 if ${lt_cv_to_host_file_cmd+:} false; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 case $host in
6137 *-*-mingw* )
6138 case $build in
6139 *-*-mingw* ) # actually msys
6140 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6141 ;;
6142 *-*-cygwin* )
6143 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6144 ;;
6145 * ) # otherwise, assume *nix
6146 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6147 ;;
6148 esac
6149 ;;
6150 *-*-cygwin* )
6151 case $build in
6152 *-*-mingw* ) # actually msys
6153 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6154 ;;
6155 *-*-cygwin* )
6156 lt_cv_to_host_file_cmd=func_convert_file_noop
6157 ;;
6158 * ) # otherwise, assume *nix
6159 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6160 ;;
6161 esac
6162 ;;
6163 * ) # unhandled hosts (and "normal" native builds)
6164 lt_cv_to_host_file_cmd=func_convert_file_noop
6165 ;;
6166 esac
6167
6168 fi
6169
6170 to_host_file_cmd=$lt_cv_to_host_file_cmd
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6172 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6173
6174
6175
6176
6177
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6179 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6180 if ${lt_cv_to_tool_file_cmd+:} false; then :
6181 $as_echo_n "(cached) " >&6
6182 else
6183 #assume ordinary cross tools, or native build.
6184 lt_cv_to_tool_file_cmd=func_convert_file_noop
6185 case $host in
6186 *-*-mingw* )
6187 case $build in
6188 *-*-mingw* ) # actually msys
6189 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6190 ;;
6191 esac
6192 ;;
6193 esac
6194
6195 fi
6196
6197 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6199 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6200
6201
6202
6203
6204
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6206 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6207 if ${lt_cv_ld_reload_flag+:} false; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 lt_cv_ld_reload_flag='-r'
6211 fi
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6213 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6214 reload_flag=$lt_cv_ld_reload_flag
6215 case $reload_flag in
6216 "" | " "*) ;;
6217 *) reload_flag=" $reload_flag" ;;
6218 esac
6219 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6220 case $host_os in
6221 cygwin* | mingw* | pw32* | cegcc*)
6222 if test yes != "$GCC"; then
6223 reload_cmds=false
6224 fi
6225 ;;
6226 darwin*)
6227 if test yes = "$GCC"; then
6228 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6229 else
6230 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6231 fi
6232 ;;
6233 esac
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243 if test -n "$ac_tool_prefix"; then
6244 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6245 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247 $as_echo_n "checking for $ac_word... " >&6; }
6248 if ${ac_cv_prog_OBJDUMP+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 if test -n "$OBJDUMP"; then
6252 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6253 else
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH
6256 do
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 break 2
6264 fi
6265 done
6266 done
6267 IFS=$as_save_IFS
6268
6269 fi
6270 fi
6271 OBJDUMP=$ac_cv_prog_OBJDUMP
6272 if test -n "$OBJDUMP"; then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6274 $as_echo "$OBJDUMP" >&6; }
6275 else
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 $as_echo "no" >&6; }
6278 fi
6279
6280
6281 fi
6282 if test -z "$ac_cv_prog_OBJDUMP"; then
6283 ac_ct_OBJDUMP=$OBJDUMP
6284 # Extract the first word of "objdump", so it can be a program name with args.
6285 set dummy objdump; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$ac_ct_OBJDUMP"; then
6292 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6293 else
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6295 for as_dir in $PATH
6296 do
6297 IFS=$as_save_IFS
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 break 2
6304 fi
6305 done
6306 done
6307 IFS=$as_save_IFS
6308
6309 fi
6310 fi
6311 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6312 if test -n "$ac_ct_OBJDUMP"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6314 $as_echo "$ac_ct_OBJDUMP" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6318 fi
6319
6320 if test "x$ac_ct_OBJDUMP" = x; then
6321 OBJDUMP="false"
6322 else
6323 case $cross_compiling:$ac_tool_warned in
6324 yes:)
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6327 ac_tool_warned=yes ;;
6328 esac
6329 OBJDUMP=$ac_ct_OBJDUMP
6330 fi
6331 else
6332 OBJDUMP="$ac_cv_prog_OBJDUMP"
6333 fi
6334
6335 test -z "$OBJDUMP" && OBJDUMP=objdump
6336
6337
6338
6339
6340
6341
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6343 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6344 if ${lt_cv_deplibs_check_method+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 lt_cv_file_magic_cmd='$MAGIC_CMD'
6348 lt_cv_file_magic_test_file=
6349 lt_cv_deplibs_check_method='unknown'
6350 # Need to set the preceding variable on all platforms that support
6351 # interlibrary dependencies.
6352 # 'none' -- dependencies not supported.
6353 # 'unknown' -- same as none, but documents that we really don't know.
6354 # 'pass_all' -- all dependencies passed with no checks.
6355 # 'test_compile' -- check by making test program.
6356 # 'file_magic [[regex]]' -- check by looking for files in library path
6357 # that responds to the $file_magic_cmd with a given extended regex.
6358 # If you have 'file' or equivalent on your system and you're not sure
6359 # whether 'pass_all' will *always* work, you probably want this one.
6360
6361 case $host_os in
6362 aix[4-9]*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 beos*)
6367 lt_cv_deplibs_check_method=pass_all
6368 ;;
6369
6370 bsdi[45]*)
6371 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6372 lt_cv_file_magic_cmd='/usr/bin/file -L'
6373 lt_cv_file_magic_test_file=/shlib/libc.so
6374 ;;
6375
6376 cygwin*)
6377 # func_win32_libid is a shell function defined in ltmain.sh
6378 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6379 lt_cv_file_magic_cmd='func_win32_libid'
6380 ;;
6381
6382 mingw* | pw32*)
6383 # Base MSYS/MinGW do not provide the 'file' command needed by
6384 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6385 # unless we find 'file', for example because we are cross-compiling.
6386 if ( file / ) >/dev/null 2>&1; then
6387 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6388 lt_cv_file_magic_cmd='func_win32_libid'
6389 else
6390 # Keep this pattern in sync with the one in func_win32_libid.
6391 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6392 lt_cv_file_magic_cmd='$OBJDUMP -f'
6393 fi
6394 ;;
6395
6396 cegcc*)
6397 # use the weaker test based on 'objdump'. See mingw*.
6398 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6399 lt_cv_file_magic_cmd='$OBJDUMP -f'
6400 ;;
6401
6402 darwin* | rhapsody*)
6403 lt_cv_deplibs_check_method=pass_all
6404 ;;
6405
6406 freebsd* | dragonfly*)
6407 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6408 case $host_cpu in
6409 i*86 )
6410 # Not sure whether the presence of OpenBSD here was a mistake.
6411 # Let's accept both of them until this is cleared up.
6412 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6413 lt_cv_file_magic_cmd=/usr/bin/file
6414 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6415 ;;
6416 esac
6417 else
6418 lt_cv_deplibs_check_method=pass_all
6419 fi
6420 ;;
6421
6422 haiku*)
6423 lt_cv_deplibs_check_method=pass_all
6424 ;;
6425
6426 hpux10.20* | hpux11*)
6427 lt_cv_file_magic_cmd=/usr/bin/file
6428 case $host_cpu in
6429 ia64*)
6430 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6431 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6432 ;;
6433 hppa*64*)
6434 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]'
6435 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6436 ;;
6437 *)
6438 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6439 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6440 ;;
6441 esac
6442 ;;
6443
6444 interix[3-9]*)
6445 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6447 ;;
6448
6449 irix5* | irix6* | nonstopux*)
6450 case $LD in
6451 *-32|*"-32 ") libmagic=32-bit;;
6452 *-n32|*"-n32 ") libmagic=N32;;
6453 *-64|*"-64 ") libmagic=64-bit;;
6454 *) libmagic=never-match;;
6455 esac
6456 lt_cv_deplibs_check_method=pass_all
6457 ;;
6458
6459 # This must be glibc/ELF.
6460 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6461 lt_cv_deplibs_check_method=pass_all
6462 ;;
6463
6464 netbsd*)
6465 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6466 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6467 else
6468 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6469 fi
6470 ;;
6471
6472 newos6*)
6473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6474 lt_cv_file_magic_cmd=/usr/bin/file
6475 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6476 ;;
6477
6478 *nto* | *qnx*)
6479 lt_cv_deplibs_check_method=pass_all
6480 ;;
6481
6482 openbsd* | bitrig*)
6483 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6484 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6485 else
6486 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6487 fi
6488 ;;
6489
6490 osf3* | osf4* | osf5*)
6491 lt_cv_deplibs_check_method=pass_all
6492 ;;
6493
6494 rdos*)
6495 lt_cv_deplibs_check_method=pass_all
6496 ;;
6497
6498 solaris*)
6499 lt_cv_deplibs_check_method=pass_all
6500 ;;
6501
6502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6503 lt_cv_deplibs_check_method=pass_all
6504 ;;
6505
6506 sysv4 | sysv4.3*)
6507 case $host_vendor in
6508 motorola)
6509 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]'
6510 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6511 ;;
6512 ncr)
6513 lt_cv_deplibs_check_method=pass_all
6514 ;;
6515 sequent)
6516 lt_cv_file_magic_cmd='/bin/file'
6517 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6518 ;;
6519 sni)
6520 lt_cv_file_magic_cmd='/bin/file'
6521 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6522 lt_cv_file_magic_test_file=/lib/libc.so
6523 ;;
6524 siemens)
6525 lt_cv_deplibs_check_method=pass_all
6526 ;;
6527 pc)
6528 lt_cv_deplibs_check_method=pass_all
6529 ;;
6530 esac
6531 ;;
6532
6533 tpf*)
6534 lt_cv_deplibs_check_method=pass_all
6535 ;;
6536 os2*)
6537 lt_cv_deplibs_check_method=pass_all
6538 ;;
6539 esac
6540
6541 fi
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6543 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6544
6545 file_magic_glob=
6546 want_nocaseglob=no
6547 if test "$build" = "$host"; then
6548 case $host_os in
6549 mingw* | pw32*)
6550 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6551 want_nocaseglob=yes
6552 else
6553 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6554 fi
6555 ;;
6556 esac
6557 fi
6558
6559 file_magic_cmd=$lt_cv_file_magic_cmd
6560 deplibs_check_method=$lt_cv_deplibs_check_method
6561 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584 if test -n "$ac_tool_prefix"; then
6585 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6586 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_DLLTOOL+:} false; then :
6590 $as_echo_n "(cached) " >&6
6591 else
6592 if test -n "$DLLTOOL"; then
6593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6594 else
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 for as_dir in $PATH
6597 do
6598 IFS=$as_save_IFS
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 break 2
6605 fi
6606 done
6607 done
6608 IFS=$as_save_IFS
6609
6610 fi
6611 fi
6612 DLLTOOL=$ac_cv_prog_DLLTOOL
6613 if test -n "$DLLTOOL"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6615 $as_echo "$DLLTOOL" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6619 fi
6620
6621
6622 fi
6623 if test -z "$ac_cv_prog_DLLTOOL"; then
6624 ac_ct_DLLTOOL=$DLLTOOL
6625 # Extract the first word of "dlltool", so it can be a program name with args.
6626 set dummy dlltool; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6630 $as_echo_n "(cached) " >&6
6631 else
6632 if test -n "$ac_ct_DLLTOOL"; then
6633 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6634 else
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 for as_dir in $PATH
6637 do
6638 IFS=$as_save_IFS
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 break 2
6645 fi
6646 done
6647 done
6648 IFS=$as_save_IFS
6649
6650 fi
6651 fi
6652 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6653 if test -n "$ac_ct_DLLTOOL"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6655 $as_echo "$ac_ct_DLLTOOL" >&6; }
6656 else
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6659 fi
6660
6661 if test "x$ac_ct_DLLTOOL" = x; then
6662 DLLTOOL="false"
6663 else
6664 case $cross_compiling:$ac_tool_warned in
6665 yes:)
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6668 ac_tool_warned=yes ;;
6669 esac
6670 DLLTOOL=$ac_ct_DLLTOOL
6671 fi
6672 else
6673 DLLTOOL="$ac_cv_prog_DLLTOOL"
6674 fi
6675
6676 test -z "$DLLTOOL" && DLLTOOL=dlltool
6677
6678
6679
6680
6681
6682
6683
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6685 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6686 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6687 $as_echo_n "(cached) " >&6
6688 else
6689 lt_cv_sharedlib_from_linklib_cmd='unknown'
6690
6691 case $host_os in
6692 cygwin* | mingw* | pw32* | cegcc*)
6693 # two different shell functions defined in ltmain.sh;
6694 # decide which one to use based on capabilities of $DLLTOOL
6695 case `$DLLTOOL --help 2>&1` in
6696 *--identify-strict*)
6697 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6698 ;;
6699 *)
6700 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6701 ;;
6702 esac
6703 ;;
6704 *)
6705 # fallback: assume linklib IS sharedlib
6706 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6707 ;;
6708 esac
6709
6710 fi
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6712 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6713 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6714 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6715
6716
6717
6718
6719
6720
6721
6722
6723 if test -n "$ac_tool_prefix"; then
6724 for ac_prog in ar
6725 do
6726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 $as_echo_n "checking for $ac_word... " >&6; }
6730 if ${ac_cv_prog_AR+:} false; then :
6731 $as_echo_n "(cached) " >&6
6732 else
6733 if test -n "$AR"; then
6734 ac_cv_prog_AR="$AR" # Let the user override the test.
6735 else
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 for as_dir in $PATH
6738 do
6739 IFS=$as_save_IFS
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 break 2
6746 fi
6747 done
6748 done
6749 IFS=$as_save_IFS
6750
6751 fi
6752 fi
6753 AR=$ac_cv_prog_AR
6754 if test -n "$AR"; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6756 $as_echo "$AR" >&6; }
6757 else
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 $as_echo "no" >&6; }
6760 fi
6761
6762
6763 test -n "$AR" && break
6764 done
6765 fi
6766 if test -z "$AR"; then
6767 ac_ct_AR=$AR
6768 for ac_prog in ar
6769 do
6770 # Extract the first word of "$ac_prog", so it can be a program name with args.
6771 set dummy $ac_prog; ac_word=$2
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773 $as_echo_n "checking for $ac_word... " >&6; }
6774 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6775 $as_echo_n "(cached) " >&6
6776 else
6777 if test -n "$ac_ct_AR"; then
6778 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6779 else
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781 for as_dir in $PATH
6782 do
6783 IFS=$as_save_IFS
6784 test -z "$as_dir" && as_dir=.
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_ac_ct_AR="$ac_prog"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 break 2
6790 fi
6791 done
6792 done
6793 IFS=$as_save_IFS
6794
6795 fi
6796 fi
6797 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6798 if test -n "$ac_ct_AR"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6800 $as_echo "$ac_ct_AR" >&6; }
6801 else
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 $as_echo "no" >&6; }
6804 fi
6805
6806
6807 test -n "$ac_ct_AR" && break
6808 done
6809
6810 if test "x$ac_ct_AR" = x; then
6811 AR="false"
6812 else
6813 case $cross_compiling:$ac_tool_warned in
6814 yes:)
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817 ac_tool_warned=yes ;;
6818 esac
6819 AR=$ac_ct_AR
6820 fi
6821 fi
6822
6823 : ${AR=ar}
6824 : ${AR_FLAGS=cru}
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6837 $as_echo_n "checking for archiver @FILE support... " >&6; }
6838 if ${lt_cv_ar_at_file+:} false; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6841 lt_cv_ar_at_file=no
6842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 /* end confdefs.h. */
6844
6845 int
6846 main ()
6847 {
6848
6849 ;
6850 return 0;
6851 }
6852 _ACEOF
6853 if ac_fn_c_try_compile "$LINENO"; then :
6854 echo conftest.$ac_objext > conftest.lst
6855 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6857 (eval $lt_ar_try) 2>&5
6858 ac_status=$?
6859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6860 test $ac_status = 0; }
6861 if test 0 -eq "$ac_status"; then
6862 # Ensure the archiver fails upon bogus file names.
6863 rm -f conftest.$ac_objext libconftest.a
6864 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6865 (eval $lt_ar_try) 2>&5
6866 ac_status=$?
6867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6868 test $ac_status = 0; }
6869 if test 0 -ne "$ac_status"; then
6870 lt_cv_ar_at_file=@
6871 fi
6872 fi
6873 rm -f conftest.* libconftest.a
6874
6875 fi
6876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877
6878 fi
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6880 $as_echo "$lt_cv_ar_at_file" >&6; }
6881
6882 if test no = "$lt_cv_ar_at_file"; then
6883 archiver_list_spec=
6884 else
6885 archiver_list_spec=$lt_cv_ar_at_file
6886 fi
6887
6888
6889
6890
6891
6892
6893
6894 if test -n "$ac_tool_prefix"; then
6895 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6896 set dummy ${ac_tool_prefix}strip; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_STRIP+:} false; then :
6900 $as_echo_n "(cached) " >&6
6901 else
6902 if test -n "$STRIP"; then
6903 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6904 else
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH
6907 do
6908 IFS=$as_save_IFS
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 break 2
6915 fi
6916 done
6917 done
6918 IFS=$as_save_IFS
6919
6920 fi
6921 fi
6922 STRIP=$ac_cv_prog_STRIP
6923 if test -n "$STRIP"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6925 $as_echo "$STRIP" >&6; }
6926 else
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6929 fi
6930
6931
6932 fi
6933 if test -z "$ac_cv_prog_STRIP"; then
6934 ac_ct_STRIP=$STRIP
6935 # Extract the first word of "strip", so it can be a program name with args.
6936 set dummy strip; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6940 $as_echo_n "(cached) " >&6
6941 else
6942 if test -n "$ac_ct_STRIP"; then
6943 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6944 else
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 for as_dir in $PATH
6947 do
6948 IFS=$as_save_IFS
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952 ac_cv_prog_ac_ct_STRIP="strip"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 break 2
6955 fi
6956 done
6957 done
6958 IFS=$as_save_IFS
6959
6960 fi
6961 fi
6962 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6963 if test -n "$ac_ct_STRIP"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6965 $as_echo "$ac_ct_STRIP" >&6; }
6966 else
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6969 fi
6970
6971 if test "x$ac_ct_STRIP" = x; then
6972 STRIP=":"
6973 else
6974 case $cross_compiling:$ac_tool_warned in
6975 yes:)
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6978 ac_tool_warned=yes ;;
6979 esac
6980 STRIP=$ac_ct_STRIP
6981 fi
6982 else
6983 STRIP="$ac_cv_prog_STRIP"
6984 fi
6985
6986 test -z "$STRIP" && STRIP=:
6987
6988
6989
6990
6991
6992
6993 if test -n "$ac_tool_prefix"; then
6994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6995 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6997 $as_echo_n "checking for $ac_word... " >&6; }
6998 if ${ac_cv_prog_RANLIB+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 if test -n "$RANLIB"; then
7002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7003 else
7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 for as_dir in $PATH
7006 do
7007 IFS=$as_save_IFS
7008 test -z "$as_dir" && as_dir=.
7009 for ac_exec_ext in '' $ac_executable_extensions; do
7010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7011 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 break 2
7014 fi
7015 done
7016 done
7017 IFS=$as_save_IFS
7018
7019 fi
7020 fi
7021 RANLIB=$ac_cv_prog_RANLIB
7022 if test -n "$RANLIB"; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7024 $as_echo "$RANLIB" >&6; }
7025 else
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7027 $as_echo "no" >&6; }
7028 fi
7029
7030
7031 fi
7032 if test -z "$ac_cv_prog_RANLIB"; then
7033 ac_ct_RANLIB=$RANLIB
7034 # Extract the first word of "ranlib", so it can be a program name with args.
7035 set dummy ranlib; ac_word=$2
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7037 $as_echo_n "checking for $ac_word... " >&6; }
7038 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7039 $as_echo_n "(cached) " >&6
7040 else
7041 if test -n "$ac_ct_RANLIB"; then
7042 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7043 else
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 for as_dir in $PATH
7046 do
7047 IFS=$as_save_IFS
7048 test -z "$as_dir" && as_dir=.
7049 for ac_exec_ext in '' $ac_executable_extensions; do
7050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7051 ac_cv_prog_ac_ct_RANLIB="ranlib"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 break 2
7054 fi
7055 done
7056 done
7057 IFS=$as_save_IFS
7058
7059 fi
7060 fi
7061 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7062 if test -n "$ac_ct_RANLIB"; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7064 $as_echo "$ac_ct_RANLIB" >&6; }
7065 else
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7067 $as_echo "no" >&6; }
7068 fi
7069
7070 if test "x$ac_ct_RANLIB" = x; then
7071 RANLIB=":"
7072 else
7073 case $cross_compiling:$ac_tool_warned in
7074 yes:)
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7077 ac_tool_warned=yes ;;
7078 esac
7079 RANLIB=$ac_ct_RANLIB
7080 fi
7081 else
7082 RANLIB="$ac_cv_prog_RANLIB"
7083 fi
7084
7085 test -z "$RANLIB" && RANLIB=:
7086
7087
7088
7089
7090
7091
7092 # Determine commands to create old-style static archives.
7093 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7094 old_postinstall_cmds='chmod 644 $oldlib'
7095 old_postuninstall_cmds=
7096
7097 if test -n "$RANLIB"; then
7098 case $host_os in
7099 bitrig* | openbsd*)
7100 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7101 ;;
7102 *)
7103 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7104 ;;
7105 esac
7106 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7107 fi
7108
7109 case $host_os in
7110 darwin*)
7111 lock_old_archive_extraction=yes ;;
7112 *)
7113 lock_old_archive_extraction=no ;;
7114 esac
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154 # If no C compiler was specified, use CC.
7155 LTCC=${LTCC-"$CC"}
7156
7157 # If no C compiler flags were specified, use CFLAGS.
7158 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7159
7160 # Allow CC to be a program name with arguments.
7161 compiler=$CC
7162
7163
7164 # Check for command to grab the raw symbol name followed by C symbol from nm.
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7166 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7167 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170
7171 # These are sane defaults that work on at least a few old systems.
7172 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7173
7174 # Character class describing NM global symbol codes.
7175 symcode='[BCDEGRST]'
7176
7177 # Regexp to match symbols that can be accessed directly from C.
7178 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7179
7180 # Define system-specific variables.
7181 case $host_os in
7182 aix*)
7183 symcode='[BCDT]'
7184 ;;
7185 cygwin* | mingw* | pw32* | cegcc*)
7186 symcode='[ABCDGISTW]'
7187 ;;
7188 hpux*)
7189 if test ia64 = "$host_cpu"; then
7190 symcode='[ABCDEGRST]'
7191 fi
7192 ;;
7193 irix* | nonstopux*)
7194 symcode='[BCDEGRST]'
7195 ;;
7196 osf*)
7197 symcode='[BCDEGQRST]'
7198 ;;
7199 solaris*)
7200 symcode='[BDRT]'
7201 ;;
7202 sco3.2v5*)
7203 symcode='[DT]'
7204 ;;
7205 sysv4.2uw2*)
7206 symcode='[DT]'
7207 ;;
7208 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7209 symcode='[ABDT]'
7210 ;;
7211 sysv4)
7212 symcode='[DFNSTU]'
7213 ;;
7214 esac
7215
7216 # If we're using GNU nm, then use its standard symbol codes.
7217 case `$NM -V 2>&1` in
7218 *GNU* | *'with BFD'*)
7219 symcode='[ABCDGIRSTW]' ;;
7220 esac
7221
7222 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7223 # Gets list of data symbols to import.
7224 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7225 # Adjust the below global symbol transforms to fixup imported variables.
7226 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7227 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7228 lt_c_name_lib_hook="\
7229 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7230 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7231 else
7232 # Disable hooks by default.
7233 lt_cv_sys_global_symbol_to_import=
7234 lt_cdecl_hook=
7235 lt_c_name_hook=
7236 lt_c_name_lib_hook=
7237 fi
7238
7239 # Transform an extracted symbol line into a proper C declaration.
7240 # Some systems (esp. on ia64) link data and code symbols differently,
7241 # so use this general approach.
7242 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7243 $lt_cdecl_hook\
7244 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7245 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7246
7247 # Transform an extracted symbol line into symbol name and symbol address
7248 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7249 $lt_c_name_hook\
7250 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7251 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7252
7253 # Transform an extracted symbol line into symbol name with lib prefix and
7254 # symbol address.
7255 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7256 $lt_c_name_lib_hook\
7257 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7258 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7259 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7260
7261 # Handle CRLF in mingw tool chain
7262 opt_cr=
7263 case $build_os in
7264 mingw*)
7265 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7266 ;;
7267 esac
7268
7269 # Try without a prefix underscore, then with it.
7270 for ac_symprfx in "" "_"; do
7271
7272 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7273 symxfrm="\\1 $ac_symprfx\\2 \\2"
7274
7275 # Write the raw and C identifiers.
7276 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7277 # Fake it for dumpbin and say T for any non-static function,
7278 # D for any global variable and I for any imported variable.
7279 # Also find C++ and __fastcall symbols from MSVC++,
7280 # which start with @ or ?.
7281 lt_cv_sys_global_symbol_pipe="$AWK '"\
7282 " {last_section=section; section=\$ 3};"\
7283 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7284 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7285 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7286 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7287 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7288 " \$ 0!~/External *\|/{next};"\
7289 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7290 " {if(hide[section]) next};"\
7291 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7292 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7293 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7294 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7295 " ' prfx=^$ac_symprfx"
7296 else
7297 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7298 fi
7299 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7300
7301 # Check to see that the pipe works correctly.
7302 pipe_works=no
7303
7304 rm -f conftest*
7305 cat > conftest.$ac_ext <<_LT_EOF
7306 #ifdef __cplusplus
7307 extern "C" {
7308 #endif
7309 char nm_test_var;
7310 void nm_test_func(void);
7311 void nm_test_func(void){}
7312 #ifdef __cplusplus
7313 }
7314 #endif
7315 int main(){nm_test_var='a';nm_test_func();return(0);}
7316 _LT_EOF
7317
7318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7319 (eval $ac_compile) 2>&5
7320 ac_status=$?
7321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7322 test $ac_status = 0; }; then
7323 # Now try to grab the symbols.
7324 nlist=conftest.nm
7325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7326 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7327 ac_status=$?
7328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7329 test $ac_status = 0; } && test -s "$nlist"; then
7330 # Try sorting and uniquifying the output.
7331 if sort "$nlist" | uniq > "$nlist"T; then
7332 mv -f "$nlist"T "$nlist"
7333 else
7334 rm -f "$nlist"T
7335 fi
7336
7337 # Make sure that we snagged all the symbols we need.
7338 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7339 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7340 cat <<_LT_EOF > conftest.$ac_ext
7341 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7342 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7343 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7344 relocations are performed -- see ld's documentation on pseudo-relocs. */
7345 # define LT_DLSYM_CONST
7346 #elif defined __osf__
7347 /* This system does not cope well with relocations in const data. */
7348 # define LT_DLSYM_CONST
7349 #else
7350 # define LT_DLSYM_CONST const
7351 #endif
7352
7353 #ifdef __cplusplus
7354 extern "C" {
7355 #endif
7356
7357 _LT_EOF
7358 # Now generate the symbol file.
7359 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7360
7361 cat <<_LT_EOF >> conftest.$ac_ext
7362
7363 /* The mapping between symbol names and symbols. */
7364 LT_DLSYM_CONST struct {
7365 const char *name;
7366 void *address;
7367 }
7368 lt__PROGRAM__LTX_preloaded_symbols[] =
7369 {
7370 { "@PROGRAM@", (void *) 0 },
7371 _LT_EOF
7372 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7373 cat <<\_LT_EOF >> conftest.$ac_ext
7374 {0, (void *) 0}
7375 };
7376
7377 /* This works around a problem in FreeBSD linker */
7378 #ifdef FREEBSD_WORKAROUND
7379 static const void *lt_preloaded_setup() {
7380 return lt__PROGRAM__LTX_preloaded_symbols;
7381 }
7382 #endif
7383
7384 #ifdef __cplusplus
7385 }
7386 #endif
7387 _LT_EOF
7388 # Now try linking the two files.
7389 mv conftest.$ac_objext conftstm.$ac_objext
7390 lt_globsym_save_LIBS=$LIBS
7391 lt_globsym_save_CFLAGS=$CFLAGS
7392 LIBS=conftstm.$ac_objext
7393 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7395 (eval $ac_link) 2>&5
7396 ac_status=$?
7397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7398 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7399 pipe_works=yes
7400 fi
7401 LIBS=$lt_globsym_save_LIBS
7402 CFLAGS=$lt_globsym_save_CFLAGS
7403 else
7404 echo "cannot find nm_test_func in $nlist" >&5
7405 fi
7406 else
7407 echo "cannot find nm_test_var in $nlist" >&5
7408 fi
7409 else
7410 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7411 fi
7412 else
7413 echo "$progname: failed program was:" >&5
7414 cat conftest.$ac_ext >&5
7415 fi
7416 rm -rf conftest* conftst*
7417
7418 # Do not use the global_symbol_pipe unless it works.
7419 if test yes = "$pipe_works"; then
7420 break
7421 else
7422 lt_cv_sys_global_symbol_pipe=
7423 fi
7424 done
7425
7426 fi
7427
7428 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7429 lt_cv_sys_global_symbol_to_cdecl=
7430 fi
7431 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7433 $as_echo "failed" >&6; }
7434 else
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7436 $as_echo "ok" >&6; }
7437 fi
7438
7439 # Response file support.
7440 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7441 nm_file_list_spec='@'
7442 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7443 nm_file_list_spec='@'
7444 fi
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7483 $as_echo_n "checking for sysroot... " >&6; }
7484
7485 # Check whether --with-sysroot was given.
7486 if test "${with_sysroot+set}" = set; then :
7487 withval=$with_sysroot;
7488 else
7489 with_sysroot=no
7490 fi
7491
7492
7493 lt_sysroot=
7494 case $with_sysroot in #(
7495 yes)
7496 if test yes = "$GCC"; then
7497 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7498 fi
7499 ;; #(
7500 /*)
7501 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7502 ;; #(
7503 no|'')
7504 ;; #(
7505 *)
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7507 $as_echo "$with_sysroot" >&6; }
7508 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7509 ;;
7510 esac
7511
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7513 $as_echo "${lt_sysroot:-no}" >&6; }
7514
7515
7516
7517
7518
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7520 $as_echo_n "checking for a working dd... " >&6; }
7521 if ${ac_cv_path_lt_DD+:} false; then :
7522 $as_echo_n "(cached) " >&6
7523 else
7524 printf 0123456789abcdef0123456789abcdef >conftest.i
7525 cat conftest.i conftest.i >conftest2.i
7526 : ${lt_DD:=$DD}
7527 if test -z "$lt_DD"; then
7528 ac_path_lt_DD_found=false
7529 # Loop through the user's path and test for each of PROGNAME-LIST
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7532 do
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_prog in dd; do
7536 for ac_exec_ext in '' $ac_executable_extensions; do
7537 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7538 as_fn_executable_p "$ac_path_lt_DD" || continue
7539 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7540 cmp -s conftest.i conftest.out \
7541 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7542 fi
7543 $ac_path_lt_DD_found && break 3
7544 done
7545 done
7546 done
7547 IFS=$as_save_IFS
7548 if test -z "$ac_cv_path_lt_DD"; then
7549 :
7550 fi
7551 else
7552 ac_cv_path_lt_DD=$lt_DD
7553 fi
7554
7555 rm -f conftest.i conftest2.i conftest.out
7556 fi
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7558 $as_echo "$ac_cv_path_lt_DD" >&6; }
7559
7560
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7562 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7563 if ${lt_cv_truncate_bin+:} false; then :
7564 $as_echo_n "(cached) " >&6
7565 else
7566 printf 0123456789abcdef0123456789abcdef >conftest.i
7567 cat conftest.i conftest.i >conftest2.i
7568 lt_cv_truncate_bin=
7569 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7570 cmp -s conftest.i conftest.out \
7571 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7572 fi
7573 rm -f conftest.i conftest2.i conftest.out
7574 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7575 fi
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7577 $as_echo "$lt_cv_truncate_bin" >&6; }
7578
7579
7580
7581
7582
7583
7584
7585 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7586 func_cc_basename ()
7587 {
7588 for cc_temp in $*""; do
7589 case $cc_temp in
7590 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7591 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7592 \-*) ;;
7593 *) break;;
7594 esac
7595 done
7596 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7597 }
7598
7599 # Check whether --enable-libtool-lock was given.
7600 if test "${enable_libtool_lock+set}" = set; then :
7601 enableval=$enable_libtool_lock;
7602 fi
7603
7604 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7605
7606 # Some flags need to be propagated to the compiler or linker for good
7607 # libtool support.
7608 case $host in
7609 ia64-*-hpux*)
7610 # Find out what ABI is being produced by ac_compile, and set mode
7611 # options accordingly.
7612 echo 'int i;' > conftest.$ac_ext
7613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7614 (eval $ac_compile) 2>&5
7615 ac_status=$?
7616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7617 test $ac_status = 0; }; then
7618 case `/usr/bin/file conftest.$ac_objext` in
7619 *ELF-32*)
7620 HPUX_IA64_MODE=32
7621 ;;
7622 *ELF-64*)
7623 HPUX_IA64_MODE=64
7624 ;;
7625 esac
7626 fi
7627 rm -rf conftest*
7628 ;;
7629 *-*-irix6*)
7630 # Find out what ABI is being produced by ac_compile, and set linker
7631 # options accordingly.
7632 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7634 (eval $ac_compile) 2>&5
7635 ac_status=$?
7636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7637 test $ac_status = 0; }; then
7638 if test yes = "$lt_cv_prog_gnu_ld"; then
7639 case `/usr/bin/file conftest.$ac_objext` in
7640 *32-bit*)
7641 LD="${LD-ld} -melf32bsmip"
7642 ;;
7643 *N32*)
7644 LD="${LD-ld} -melf32bmipn32"
7645 ;;
7646 *64-bit*)
7647 LD="${LD-ld} -melf64bmip"
7648 ;;
7649 esac
7650 else
7651 case `/usr/bin/file conftest.$ac_objext` in
7652 *32-bit*)
7653 LD="${LD-ld} -32"
7654 ;;
7655 *N32*)
7656 LD="${LD-ld} -n32"
7657 ;;
7658 *64-bit*)
7659 LD="${LD-ld} -64"
7660 ;;
7661 esac
7662 fi
7663 fi
7664 rm -rf conftest*
7665 ;;
7666
7667 mips64*-*linux*)
7668 # Find out what ABI is being produced by ac_compile, and set linker
7669 # options accordingly.
7670 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7672 (eval $ac_compile) 2>&5
7673 ac_status=$?
7674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7675 test $ac_status = 0; }; then
7676 emul=elf
7677 case `/usr/bin/file conftest.$ac_objext` in
7678 *32-bit*)
7679 emul="${emul}32"
7680 ;;
7681 *64-bit*)
7682 emul="${emul}64"
7683 ;;
7684 esac
7685 case `/usr/bin/file conftest.$ac_objext` in
7686 *MSB*)
7687 emul="${emul}btsmip"
7688 ;;
7689 *LSB*)
7690 emul="${emul}ltsmip"
7691 ;;
7692 esac
7693 case `/usr/bin/file conftest.$ac_objext` in
7694 *N32*)
7695 emul="${emul}n32"
7696 ;;
7697 esac
7698 LD="${LD-ld} -m $emul"
7699 fi
7700 rm -rf conftest*
7701 ;;
7702
7703 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7704 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7705 # Find out what ABI is being produced by ac_compile, and set linker
7706 # options accordingly. Note that the listed cases only cover the
7707 # situations where additional linker options are needed (such as when
7708 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7709 # vice versa); the common cases where no linker options are needed do
7710 # not appear in the list.
7711 echo 'int i;' > conftest.$ac_ext
7712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7713 (eval $ac_compile) 2>&5
7714 ac_status=$?
7715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7716 test $ac_status = 0; }; then
7717 case `/usr/bin/file conftest.o` in
7718 *32-bit*)
7719 case $host in
7720 x86_64-*kfreebsd*-gnu)
7721 LD="${LD-ld} -m elf_i386_fbsd"
7722 ;;
7723 x86_64-*linux*)
7724 case `/usr/bin/file conftest.o` in
7725 *x86-64*)
7726 LD="${LD-ld} -m elf32_x86_64"
7727 ;;
7728 *)
7729 LD="${LD-ld} -m elf_i386"
7730 ;;
7731 esac
7732 ;;
7733 powerpc64le-*linux*)
7734 LD="${LD-ld} -m elf32lppclinux"
7735 ;;
7736 powerpc64-*linux*)
7737 LD="${LD-ld} -m elf32ppclinux"
7738 ;;
7739 s390x-*linux*)
7740 LD="${LD-ld} -m elf_s390"
7741 ;;
7742 sparc64-*linux*)
7743 LD="${LD-ld} -m elf32_sparc"
7744 ;;
7745 esac
7746 ;;
7747 *64-bit*)
7748 case $host in
7749 x86_64-*kfreebsd*-gnu)
7750 LD="${LD-ld} -m elf_x86_64_fbsd"
7751 ;;
7752 x86_64-*linux*)
7753 LD="${LD-ld} -m elf_x86_64"
7754 ;;
7755 powerpcle-*linux*)
7756 LD="${LD-ld} -m elf64lppc"
7757 ;;
7758 powerpc-*linux*)
7759 LD="${LD-ld} -m elf64ppc"
7760 ;;
7761 s390*-*linux*|s390*-*tpf*)
7762 LD="${LD-ld} -m elf64_s390"
7763 ;;
7764 sparc*-*linux*)
7765 LD="${LD-ld} -m elf64_sparc"
7766 ;;
7767 esac
7768 ;;
7769 esac
7770 fi
7771 rm -rf conftest*
7772 ;;
7773
7774 *-*-sco3.2v5*)
7775 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7776 SAVE_CFLAGS=$CFLAGS
7777 CFLAGS="$CFLAGS -belf"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7779 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7780 if ${lt_cv_cc_needs_belf+:} false; then :
7781 $as_echo_n "(cached) " >&6
7782 else
7783 ac_ext=c
7784 ac_cpp='$CPP $CPPFLAGS'
7785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7788
7789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7791
7792 int
7793 main ()
7794 {
7795
7796 ;
7797 return 0;
7798 }
7799 _ACEOF
7800 if ac_fn_c_try_link "$LINENO"; then :
7801 lt_cv_cc_needs_belf=yes
7802 else
7803 lt_cv_cc_needs_belf=no
7804 fi
7805 rm -f core conftest.err conftest.$ac_objext \
7806 conftest$ac_exeext conftest.$ac_ext
7807 ac_ext=c
7808 ac_cpp='$CPP $CPPFLAGS'
7809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7812
7813 fi
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7815 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7816 if test yes != "$lt_cv_cc_needs_belf"; then
7817 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7818 CFLAGS=$SAVE_CFLAGS
7819 fi
7820 ;;
7821 *-*solaris*)
7822 # Find out what ABI is being produced by ac_compile, and set linker
7823 # options accordingly.
7824 echo 'int i;' > conftest.$ac_ext
7825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7826 (eval $ac_compile) 2>&5
7827 ac_status=$?
7828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7829 test $ac_status = 0; }; then
7830 case `/usr/bin/file conftest.o` in
7831 *64-bit*)
7832 case $lt_cv_prog_gnu_ld in
7833 yes*)
7834 case $host in
7835 i?86-*-solaris*|x86_64-*-solaris*)
7836 LD="${LD-ld} -m elf_x86_64"
7837 ;;
7838 sparc*-*-solaris*)
7839 LD="${LD-ld} -m elf64_sparc"
7840 ;;
7841 esac
7842 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7843 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7844 LD=${LD-ld}_sol2
7845 fi
7846 ;;
7847 *)
7848 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7849 LD="${LD-ld} -64"
7850 fi
7851 ;;
7852 esac
7853 ;;
7854 esac
7855 fi
7856 rm -rf conftest*
7857 ;;
7858 esac
7859
7860 need_locks=$enable_libtool_lock
7861
7862 if test -n "$ac_tool_prefix"; then
7863 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7864 set dummy ${ac_tool_prefix}mt; ac_word=$2
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7866 $as_echo_n "checking for $ac_word... " >&6; }
7867 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7868 $as_echo_n "(cached) " >&6
7869 else
7870 if test -n "$MANIFEST_TOOL"; then
7871 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7872 else
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 for as_dir in $PATH
7875 do
7876 IFS=$as_save_IFS
7877 test -z "$as_dir" && as_dir=.
7878 for ac_exec_ext in '' $ac_executable_extensions; do
7879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7880 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7882 break 2
7883 fi
7884 done
7885 done
7886 IFS=$as_save_IFS
7887
7888 fi
7889 fi
7890 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7891 if test -n "$MANIFEST_TOOL"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7893 $as_echo "$MANIFEST_TOOL" >&6; }
7894 else
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896 $as_echo "no" >&6; }
7897 fi
7898
7899
7900 fi
7901 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7902 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7903 # Extract the first word of "mt", so it can be a program name with args.
7904 set dummy mt; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7906 $as_echo_n "checking for $ac_word... " >&6; }
7907 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7908 $as_echo_n "(cached) " >&6
7909 else
7910 if test -n "$ac_ct_MANIFEST_TOOL"; then
7911 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7912 else
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914 for as_dir in $PATH
7915 do
7916 IFS=$as_save_IFS
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7920 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 break 2
7923 fi
7924 done
7925 done
7926 IFS=$as_save_IFS
7927
7928 fi
7929 fi
7930 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7931 if test -n "$ac_ct_MANIFEST_TOOL"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7933 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7934 else
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7936 $as_echo "no" >&6; }
7937 fi
7938
7939 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7940 MANIFEST_TOOL=":"
7941 else
7942 case $cross_compiling:$ac_tool_warned in
7943 yes:)
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7946 ac_tool_warned=yes ;;
7947 esac
7948 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7949 fi
7950 else
7951 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7952 fi
7953
7954 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7956 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7957 if ${lt_cv_path_mainfest_tool+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 lt_cv_path_mainfest_tool=no
7961 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7962 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7963 cat conftest.err >&5
7964 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7965 lt_cv_path_mainfest_tool=yes
7966 fi
7967 rm -f conftest*
7968 fi
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7970 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7971 if test yes != "$lt_cv_path_mainfest_tool"; then
7972 MANIFEST_TOOL=:
7973 fi
7974
7975
7976
7977
7978
7979
7980 case $host_os in
7981 rhapsody* | darwin*)
7982 if test -n "$ac_tool_prefix"; then
7983 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7984 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7986 $as_echo_n "checking for $ac_word... " >&6; }
7987 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7988 $as_echo_n "(cached) " >&6
7989 else
7990 if test -n "$DSYMUTIL"; then
7991 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7992 else
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 for as_dir in $PATH
7995 do
7996 IFS=$as_save_IFS
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8000 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 break 2
8003 fi
8004 done
8005 done
8006 IFS=$as_save_IFS
8007
8008 fi
8009 fi
8010 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8011 if test -n "$DSYMUTIL"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8013 $as_echo "$DSYMUTIL" >&6; }
8014 else
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8016 $as_echo "no" >&6; }
8017 fi
8018
8019
8020 fi
8021 if test -z "$ac_cv_prog_DSYMUTIL"; then
8022 ac_ct_DSYMUTIL=$DSYMUTIL
8023 # Extract the first word of "dsymutil", so it can be a program name with args.
8024 set dummy dsymutil; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8028 $as_echo_n "(cached) " >&6
8029 else
8030 if test -n "$ac_ct_DSYMUTIL"; then
8031 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8032 else
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 for as_dir in $PATH
8035 do
8036 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8040 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2
8043 fi
8044 done
8045 done
8046 IFS=$as_save_IFS
8047
8048 fi
8049 fi
8050 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8051 if test -n "$ac_ct_DSYMUTIL"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8053 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8054 else
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8057 fi
8058
8059 if test "x$ac_ct_DSYMUTIL" = x; then
8060 DSYMUTIL=":"
8061 else
8062 case $cross_compiling:$ac_tool_warned in
8063 yes:)
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8066 ac_tool_warned=yes ;;
8067 esac
8068 DSYMUTIL=$ac_ct_DSYMUTIL
8069 fi
8070 else
8071 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8072 fi
8073
8074 if test -n "$ac_tool_prefix"; then
8075 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8076 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8078 $as_echo_n "checking for $ac_word... " >&6; }
8079 if ${ac_cv_prog_NMEDIT+:} false; then :
8080 $as_echo_n "(cached) " >&6
8081 else
8082 if test -n "$NMEDIT"; then
8083 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8084 else
8085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 for as_dir in $PATH
8087 do
8088 IFS=$as_save_IFS
8089 test -z "$as_dir" && as_dir=.
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8094 break 2
8095 fi
8096 done
8097 done
8098 IFS=$as_save_IFS
8099
8100 fi
8101 fi
8102 NMEDIT=$ac_cv_prog_NMEDIT
8103 if test -n "$NMEDIT"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8105 $as_echo "$NMEDIT" >&6; }
8106 else
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8109 fi
8110
8111
8112 fi
8113 if test -z "$ac_cv_prog_NMEDIT"; then
8114 ac_ct_NMEDIT=$NMEDIT
8115 # Extract the first word of "nmedit", so it can be a program name with args.
8116 set dummy nmedit; ac_word=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8118 $as_echo_n "checking for $ac_word... " >&6; }
8119 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8120 $as_echo_n "(cached) " >&6
8121 else
8122 if test -n "$ac_ct_NMEDIT"; then
8123 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8124 else
8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 for as_dir in $PATH
8127 do
8128 IFS=$as_save_IFS
8129 test -z "$as_dir" && as_dir=.
8130 for ac_exec_ext in '' $ac_executable_extensions; do
8131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8132 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 break 2
8135 fi
8136 done
8137 done
8138 IFS=$as_save_IFS
8139
8140 fi
8141 fi
8142 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8143 if test -n "$ac_ct_NMEDIT"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8145 $as_echo "$ac_ct_NMEDIT" >&6; }
8146 else
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8149 fi
8150
8151 if test "x$ac_ct_NMEDIT" = x; then
8152 NMEDIT=":"
8153 else
8154 case $cross_compiling:$ac_tool_warned in
8155 yes:)
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8158 ac_tool_warned=yes ;;
8159 esac
8160 NMEDIT=$ac_ct_NMEDIT
8161 fi
8162 else
8163 NMEDIT="$ac_cv_prog_NMEDIT"
8164 fi
8165
8166 if test -n "$ac_tool_prefix"; then
8167 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8168 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8170 $as_echo_n "checking for $ac_word... " >&6; }
8171 if ${ac_cv_prog_LIPO+:} false; then :
8172 $as_echo_n "(cached) " >&6
8173 else
8174 if test -n "$LIPO"; then
8175 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8176 else
8177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8178 for as_dir in $PATH
8179 do
8180 IFS=$as_save_IFS
8181 test -z "$as_dir" && as_dir=.
8182 for ac_exec_ext in '' $ac_executable_extensions; do
8183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8184 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8186 break 2
8187 fi
8188 done
8189 done
8190 IFS=$as_save_IFS
8191
8192 fi
8193 fi
8194 LIPO=$ac_cv_prog_LIPO
8195 if test -n "$LIPO"; then
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8197 $as_echo "$LIPO" >&6; }
8198 else
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8200 $as_echo "no" >&6; }
8201 fi
8202
8203
8204 fi
8205 if test -z "$ac_cv_prog_LIPO"; then
8206 ac_ct_LIPO=$LIPO
8207 # Extract the first word of "lipo", so it can be a program name with args.
8208 set dummy lipo; ac_word=$2
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8210 $as_echo_n "checking for $ac_word... " >&6; }
8211 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 if test -n "$ac_ct_LIPO"; then
8215 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8216 else
8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8218 for as_dir in $PATH
8219 do
8220 IFS=$as_save_IFS
8221 test -z "$as_dir" && as_dir=.
8222 for ac_exec_ext in '' $ac_executable_extensions; do
8223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8224 ac_cv_prog_ac_ct_LIPO="lipo"
8225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 break 2
8227 fi
8228 done
8229 done
8230 IFS=$as_save_IFS
8231
8232 fi
8233 fi
8234 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8235 if test -n "$ac_ct_LIPO"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8237 $as_echo "$ac_ct_LIPO" >&6; }
8238 else
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8241 fi
8242
8243 if test "x$ac_ct_LIPO" = x; then
8244 LIPO=":"
8245 else
8246 case $cross_compiling:$ac_tool_warned in
8247 yes:)
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8250 ac_tool_warned=yes ;;
8251 esac
8252 LIPO=$ac_ct_LIPO
8253 fi
8254 else
8255 LIPO="$ac_cv_prog_LIPO"
8256 fi
8257
8258 if test -n "$ac_tool_prefix"; then
8259 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8260 set dummy ${ac_tool_prefix}otool; ac_word=$2
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8262 $as_echo_n "checking for $ac_word... " >&6; }
8263 if ${ac_cv_prog_OTOOL+:} false; then :
8264 $as_echo_n "(cached) " >&6
8265 else
8266 if test -n "$OTOOL"; then
8267 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8268 else
8269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 for as_dir in $PATH
8271 do
8272 IFS=$as_save_IFS
8273 test -z "$as_dir" && as_dir=.
8274 for ac_exec_ext in '' $ac_executable_extensions; do
8275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8276 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8278 break 2
8279 fi
8280 done
8281 done
8282 IFS=$as_save_IFS
8283
8284 fi
8285 fi
8286 OTOOL=$ac_cv_prog_OTOOL
8287 if test -n "$OTOOL"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8289 $as_echo "$OTOOL" >&6; }
8290 else
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8293 fi
8294
8295
8296 fi
8297 if test -z "$ac_cv_prog_OTOOL"; then
8298 ac_ct_OTOOL=$OTOOL
8299 # Extract the first word of "otool", so it can be a program name with args.
8300 set dummy otool; ac_word=$2
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8302 $as_echo_n "checking for $ac_word... " >&6; }
8303 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 if test -n "$ac_ct_OTOOL"; then
8307 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8308 else
8309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8310 for as_dir in $PATH
8311 do
8312 IFS=$as_save_IFS
8313 test -z "$as_dir" && as_dir=.
8314 for ac_exec_ext in '' $ac_executable_extensions; do
8315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8316 ac_cv_prog_ac_ct_OTOOL="otool"
8317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 break 2
8319 fi
8320 done
8321 done
8322 IFS=$as_save_IFS
8323
8324 fi
8325 fi
8326 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8327 if test -n "$ac_ct_OTOOL"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8329 $as_echo "$ac_ct_OTOOL" >&6; }
8330 else
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8333 fi
8334
8335 if test "x$ac_ct_OTOOL" = x; then
8336 OTOOL=":"
8337 else
8338 case $cross_compiling:$ac_tool_warned in
8339 yes:)
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8342 ac_tool_warned=yes ;;
8343 esac
8344 OTOOL=$ac_ct_OTOOL
8345 fi
8346 else
8347 OTOOL="$ac_cv_prog_OTOOL"
8348 fi
8349
8350 if test -n "$ac_tool_prefix"; then
8351 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8352 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if ${ac_cv_prog_OTOOL64+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 if test -n "$OTOOL64"; then
8359 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8360 else
8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 for as_dir in $PATH
8363 do
8364 IFS=$as_save_IFS
8365 test -z "$as_dir" && as_dir=.
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8368 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8370 break 2
8371 fi
8372 done
8373 done
8374 IFS=$as_save_IFS
8375
8376 fi
8377 fi
8378 OTOOL64=$ac_cv_prog_OTOOL64
8379 if test -n "$OTOOL64"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8381 $as_echo "$OTOOL64" >&6; }
8382 else
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8385 fi
8386
8387
8388 fi
8389 if test -z "$ac_cv_prog_OTOOL64"; then
8390 ac_ct_OTOOL64=$OTOOL64
8391 # Extract the first word of "otool64", so it can be a program name with args.
8392 set dummy otool64; ac_word=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394 $as_echo_n "checking for $ac_word... " >&6; }
8395 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8396 $as_echo_n "(cached) " >&6
8397 else
8398 if test -n "$ac_ct_OTOOL64"; then
8399 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8400 else
8401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402 for as_dir in $PATH
8403 do
8404 IFS=$as_save_IFS
8405 test -z "$as_dir" && as_dir=.
8406 for ac_exec_ext in '' $ac_executable_extensions; do
8407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8408 ac_cv_prog_ac_ct_OTOOL64="otool64"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 break 2
8411 fi
8412 done
8413 done
8414 IFS=$as_save_IFS
8415
8416 fi
8417 fi
8418 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8419 if test -n "$ac_ct_OTOOL64"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8421 $as_echo "$ac_ct_OTOOL64" >&6; }
8422 else
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8424 $as_echo "no" >&6; }
8425 fi
8426
8427 if test "x$ac_ct_OTOOL64" = x; then
8428 OTOOL64=":"
8429 else
8430 case $cross_compiling:$ac_tool_warned in
8431 yes:)
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8434 ac_tool_warned=yes ;;
8435 esac
8436 OTOOL64=$ac_ct_OTOOL64
8437 fi
8438 else
8439 OTOOL64="$ac_cv_prog_OTOOL64"
8440 fi
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8469 $as_echo_n "checking for -single_module linker flag... " >&6; }
8470 if ${lt_cv_apple_cc_single_mod+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 lt_cv_apple_cc_single_mod=no
8474 if test -z "$LT_MULTI_MODULE"; then
8475 # By default we will add the -single_module flag. You can override
8476 # by either setting the environment variable LT_MULTI_MODULE
8477 # non-empty at configure time, or by adding -multi_module to the
8478 # link flags.
8479 rm -rf libconftest.dylib*
8480 echo "int foo(void){return 1;}" > conftest.c
8481 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8482 -dynamiclib -Wl,-single_module conftest.c" >&5
8483 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8484 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8485 _lt_result=$?
8486 # If there is a non-empty error log, and "single_module"
8487 # appears in it, assume the flag caused a linker warning
8488 if test -s conftest.err && $GREP single_module conftest.err; then
8489 cat conftest.err >&5
8490 # Otherwise, if the output was created with a 0 exit code from
8491 # the compiler, it worked.
8492 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8493 lt_cv_apple_cc_single_mod=yes
8494 else
8495 cat conftest.err >&5
8496 fi
8497 rm -rf libconftest.dylib*
8498 rm -f conftest.*
8499 fi
8500 fi
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8502 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8503
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8505 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8506 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 lt_cv_ld_exported_symbols_list=no
8510 save_LDFLAGS=$LDFLAGS
8511 echo "_main" > conftest.sym
8512 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515
8516 int
8517 main ()
8518 {
8519
8520 ;
8521 return 0;
8522 }
8523 _ACEOF
8524 if ac_fn_c_try_link "$LINENO"; then :
8525 lt_cv_ld_exported_symbols_list=yes
8526 else
8527 lt_cv_ld_exported_symbols_list=no
8528 fi
8529 rm -f core conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8531 LDFLAGS=$save_LDFLAGS
8532
8533 fi
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8535 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8536
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8538 $as_echo_n "checking for -force_load linker flag... " >&6; }
8539 if ${lt_cv_ld_force_load+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 lt_cv_ld_force_load=no
8543 cat > conftest.c << _LT_EOF
8544 int forced_loaded() { return 2;}
8545 _LT_EOF
8546 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8547 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8548 echo "$AR cru libconftest.a conftest.o" >&5
8549 $AR cru libconftest.a conftest.o 2>&5
8550 echo "$RANLIB libconftest.a" >&5
8551 $RANLIB libconftest.a 2>&5
8552 cat > conftest.c << _LT_EOF
8553 int main() { return 0;}
8554 _LT_EOF
8555 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8556 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8557 _lt_result=$?
8558 if test -s conftest.err && $GREP force_load conftest.err; then
8559 cat conftest.err >&5
8560 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8561 lt_cv_ld_force_load=yes
8562 else
8563 cat conftest.err >&5
8564 fi
8565 rm -f conftest.err libconftest.a conftest conftest.c
8566 rm -rf conftest.dSYM
8567
8568 fi
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8570 $as_echo "$lt_cv_ld_force_load" >&6; }
8571 case $host_os in
8572 rhapsody* | darwin1.[012])
8573 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8574 darwin1.*)
8575 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8576 darwin*) # darwin 5.x on
8577 # if running on 10.5 or later, the deployment target defaults
8578 # to the OS version, if on x86, and 10.4, the deployment
8579 # target defaults to 10.4. Don't you love it?
8580 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8581 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8582 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8583 10.[012][,.]*)
8584 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8585 10.*)
8586 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8587 esac
8588 ;;
8589 esac
8590 if test yes = "$lt_cv_apple_cc_single_mod"; then
8591 _lt_dar_single_mod='$single_module'
8592 fi
8593 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8594 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8595 else
8596 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8597 fi
8598 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8599 _lt_dsymutil='~$DSYMUTIL $lib || :'
8600 else
8601 _lt_dsymutil=
8602 fi
8603 ;;
8604 esac
8605
8606 # func_munge_path_list VARIABLE PATH
8607 # -----------------------------------
8608 # VARIABLE is name of variable containing _space_ separated list of
8609 # directories to be munged by the contents of PATH, which is string
8610 # having a format:
8611 # "DIR[:DIR]:"
8612 # string "DIR[ DIR]" will be prepended to VARIABLE
8613 # ":DIR[:DIR]"
8614 # string "DIR[ DIR]" will be appended to VARIABLE
8615 # "DIRP[:DIRP]::[DIRA:]DIRA"
8616 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8617 # "DIRA[ DIRA]" will be appended to VARIABLE
8618 # "DIR[:DIR]"
8619 # VARIABLE will be replaced by "DIR[ DIR]"
8620 func_munge_path_list ()
8621 {
8622 case x$2 in
8623 x)
8624 ;;
8625 *:)
8626 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8627 ;;
8628 x:*)
8629 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8630 ;;
8631 *::*)
8632 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8633 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8634 ;;
8635 *)
8636 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8637 ;;
8638 esac
8639 }
8640
8641 ac_ext=c
8642 ac_cpp='$CPP $CPPFLAGS'
8643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8647 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8648 # On Suns, sometimes $CPP names a directory.
8649 if test -n "$CPP" && test -d "$CPP"; then
8650 CPP=
8651 fi
8652 if test -z "$CPP"; then
8653 if ${ac_cv_prog_CPP+:} false; then :
8654 $as_echo_n "(cached) " >&6
8655 else
8656 # Double quotes because CPP needs to be expanded
8657 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8658 do
8659 ac_preproc_ok=false
8660 for ac_c_preproc_warn_flag in '' yes
8661 do
8662 # Use a header file that comes with gcc, so configuring glibc
8663 # with a fresh cross-compiler works.
8664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8665 # <limits.h> exists even on freestanding compilers.
8666 # On the NeXT, cc -E runs the code through the compiler's parser,
8667 # not just through cpp. "Syntax error" is here to catch this case.
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 #ifdef __STDC__
8671 # include <limits.h>
8672 #else
8673 # include <assert.h>
8674 #endif
8675 Syntax error
8676 _ACEOF
8677 if ac_fn_c_try_cpp "$LINENO"; then :
8678
8679 else
8680 # Broken: fails on valid input.
8681 continue
8682 fi
8683 rm -f conftest.err conftest.i conftest.$ac_ext
8684
8685 # OK, works on sane cases. Now check whether nonexistent headers
8686 # can be detected and how.
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8689 #include <ac_nonexistent.h>
8690 _ACEOF
8691 if ac_fn_c_try_cpp "$LINENO"; then :
8692 # Broken: success on invalid input.
8693 continue
8694 else
8695 # Passes both tests.
8696 ac_preproc_ok=:
8697 break
8698 fi
8699 rm -f conftest.err conftest.i conftest.$ac_ext
8700
8701 done
8702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8703 rm -f conftest.i conftest.err conftest.$ac_ext
8704 if $ac_preproc_ok; then :
8705 break
8706 fi
8707
8708 done
8709 ac_cv_prog_CPP=$CPP
8710
8711 fi
8712 CPP=$ac_cv_prog_CPP
8713 else
8714 ac_cv_prog_CPP=$CPP
8715 fi
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8717 $as_echo "$CPP" >&6; }
8718 ac_preproc_ok=false
8719 for ac_c_preproc_warn_flag in '' yes
8720 do
8721 # Use a header file that comes with gcc, so configuring glibc
8722 # with a fresh cross-compiler works.
8723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8724 # <limits.h> exists even on freestanding compilers.
8725 # On the NeXT, cc -E runs the code through the compiler's parser,
8726 # not just through cpp. "Syntax error" is here to catch this case.
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 #ifdef __STDC__
8730 # include <limits.h>
8731 #else
8732 # include <assert.h>
8733 #endif
8734 Syntax error
8735 _ACEOF
8736 if ac_fn_c_try_cpp "$LINENO"; then :
8737
8738 else
8739 # Broken: fails on valid input.
8740 continue
8741 fi
8742 rm -f conftest.err conftest.i conftest.$ac_ext
8743
8744 # OK, works on sane cases. Now check whether nonexistent headers
8745 # can be detected and how.
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 #include <ac_nonexistent.h>
8749 _ACEOF
8750 if ac_fn_c_try_cpp "$LINENO"; then :
8751 # Broken: success on invalid input.
8752 continue
8753 else
8754 # Passes both tests.
8755 ac_preproc_ok=:
8756 break
8757 fi
8758 rm -f conftest.err conftest.i conftest.$ac_ext
8759
8760 done
8761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8762 rm -f conftest.i conftest.err conftest.$ac_ext
8763 if $ac_preproc_ok; then :
8764
8765 else
8766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8768 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8769 See \`config.log' for more details" "$LINENO" 5; }
8770 fi
8771
8772 ac_ext=c
8773 ac_cpp='$CPP $CPPFLAGS'
8774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8777
8778
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8780 $as_echo_n "checking for ANSI C header files... " >&6; }
8781 if ${ac_cv_header_stdc+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8785 /* end confdefs.h. */
8786 #include <stdlib.h>
8787 #include <stdarg.h>
8788 #include <string.h>
8789 #include <float.h>
8790
8791 int
8792 main ()
8793 {
8794
8795 ;
8796 return 0;
8797 }
8798 _ACEOF
8799 if ac_fn_c_try_compile "$LINENO"; then :
8800 ac_cv_header_stdc=yes
8801 else
8802 ac_cv_header_stdc=no
8803 fi
8804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8805
8806 if test $ac_cv_header_stdc = yes; then
8807 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8809 /* end confdefs.h. */
8810 #include <string.h>
8811
8812 _ACEOF
8813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8814 $EGREP "memchr" >/dev/null 2>&1; then :
8815
8816 else
8817 ac_cv_header_stdc=no
8818 fi
8819 rm -f conftest*
8820
8821 fi
8822
8823 if test $ac_cv_header_stdc = yes; then
8824 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8827 #include <stdlib.h>
8828
8829 _ACEOF
8830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8831 $EGREP "free" >/dev/null 2>&1; then :
8832
8833 else
8834 ac_cv_header_stdc=no
8835 fi
8836 rm -f conftest*
8837
8838 fi
8839
8840 if test $ac_cv_header_stdc = yes; then
8841 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8842 if test "$cross_compiling" = yes; then :
8843 :
8844 else
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 #include <ctype.h>
8848 #include <stdlib.h>
8849 #if ((' ' & 0x0FF) == 0x020)
8850 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8851 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8852 #else
8853 # define ISLOWER(c) \
8854 (('a' <= (c) && (c) <= 'i') \
8855 || ('j' <= (c) && (c) <= 'r') \
8856 || ('s' <= (c) && (c) <= 'z'))
8857 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8858 #endif
8859
8860 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8861 int
8862 main ()
8863 {
8864 int i;
8865 for (i = 0; i < 256; i++)
8866 if (XOR (islower (i), ISLOWER (i))
8867 || toupper (i) != TOUPPER (i))
8868 return 2;
8869 return 0;
8870 }
8871 _ACEOF
8872 if ac_fn_c_try_run "$LINENO"; then :
8873
8874 else
8875 ac_cv_header_stdc=no
8876 fi
8877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8878 conftest.$ac_objext conftest.beam conftest.$ac_ext
8879 fi
8880
8881 fi
8882 fi
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8884 $as_echo "$ac_cv_header_stdc" >&6; }
8885 if test $ac_cv_header_stdc = yes; then
8886
8887 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8888
8889 fi
8890
8891 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8892 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8893 inttypes.h stdint.h unistd.h
8894 do :
8895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8896 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8897 "
8898 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8899 cat >>confdefs.h <<_ACEOF
8900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8901 _ACEOF
8902
8903 fi
8904
8905 done
8906
8907
8908 for ac_header in dlfcn.h
8909 do :
8910 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8911 "
8912 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8913 cat >>confdefs.h <<_ACEOF
8914 #define HAVE_DLFCN_H 1
8915 _ACEOF
8916
8917 fi
8918
8919 done
8920
8921
8922
8923 func_stripname_cnf ()
8924 {
8925 case $2 in
8926 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8927 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8928 esac
8929 } # func_stripname_cnf
8930
8931
8932
8933
8934
8935 # Set options
8936
8937
8938
8939 enable_dlopen=no
8940
8941
8942
8943 # Check whether --enable-shared was given.
8944 if test "${enable_shared+set}" = set; then :
8945 enableval=$enable_shared; p=${PACKAGE-default}
8946 case $enableval in
8947 yes) enable_shared=yes ;;
8948 no) enable_shared=no ;;
8949 *)
8950 enable_shared=no
8951 # Look at the argument we got. We use all the common list separators.
8952 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8953 for pkg in $enableval; do
8954 IFS=$lt_save_ifs
8955 if test "X$pkg" = "X$p"; then
8956 enable_shared=yes
8957 fi
8958 done
8959 IFS=$lt_save_ifs
8960 ;;
8961 esac
8962 else
8963 enable_shared=yes
8964 fi
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976 # Check whether --with-pic was given.
8977 if test "${with_pic+set}" = set; then :
8978 withval=$with_pic; lt_p=${PACKAGE-default}
8979 case $withval in
8980 yes|no) pic_mode=$withval ;;
8981 *)
8982 pic_mode=default
8983 # Look at the argument we got. We use all the common list separators.
8984 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8985 for lt_pkg in $withval; do
8986 IFS=$lt_save_ifs
8987 if test "X$lt_pkg" = "X$lt_p"; then
8988 pic_mode=yes
8989 fi
8990 done
8991 IFS=$lt_save_ifs
8992 ;;
8993 esac
8994 else
8995 pic_mode=default
8996 fi
8997
8998
8999
9000
9001
9002
9003
9004
9005 # Check whether --enable-fast-install was given.
9006 if test "${enable_fast_install+set}" = set; then :
9007 enableval=$enable_fast_install; p=${PACKAGE-default}
9008 case $enableval in
9009 yes) enable_fast_install=yes ;;
9010 no) enable_fast_install=no ;;
9011 *)
9012 enable_fast_install=no
9013 # Look at the argument we got. We use all the common list separators.
9014 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9015 for pkg in $enableval; do
9016 IFS=$lt_save_ifs
9017 if test "X$pkg" = "X$p"; then
9018 enable_fast_install=yes
9019 fi
9020 done
9021 IFS=$lt_save_ifs
9022 ;;
9023 esac
9024 else
9025 enable_fast_install=yes
9026 fi
9027
9028
9029
9030
9031
9032
9033
9034
9035 shared_archive_member_spec=
9036 case $host,$enable_shared in
9037 power*-*-aix[5-9]*,yes)
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9039 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9040
9041 # Check whether --with-aix-soname was given.
9042 if test "${with_aix_soname+set}" = set; then :
9043 withval=$with_aix_soname; case $withval in
9044 aix|svr4|both)
9045 ;;
9046 *)
9047 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9048 ;;
9049 esac
9050 lt_cv_with_aix_soname=$with_aix_soname
9051 else
9052 if ${lt_cv_with_aix_soname+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 lt_cv_with_aix_soname=aix
9056 fi
9057
9058 with_aix_soname=$lt_cv_with_aix_soname
9059 fi
9060
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9062 $as_echo "$with_aix_soname" >&6; }
9063 if test aix != "$with_aix_soname"; then
9064 # For the AIX way of multilib, we name the shared archive member
9065 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9066 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9067 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9068 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9069 if test 64 = "${OBJECT_MODE-32}"; then
9070 shared_archive_member_spec=shr_64
9071 else
9072 shared_archive_member_spec=shr
9073 fi
9074 fi
9075 ;;
9076 *)
9077 with_aix_soname=aix
9078 ;;
9079 esac
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090 # This can be used to rebuild libtool when needed
9091 LIBTOOL_DEPS=$ltmain
9092
9093 # Always use our own libtool.
9094 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125 test -z "$LN_S" && LN_S="ln -s"
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140 if test -n "${ZSH_VERSION+set}"; then
9141 setopt NO_GLOB_SUBST
9142 fi
9143
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9145 $as_echo_n "checking for objdir... " >&6; }
9146 if ${lt_cv_objdir+:} false; then :
9147 $as_echo_n "(cached) " >&6
9148 else
9149 rm -f .libs 2>/dev/null
9150 mkdir .libs 2>/dev/null
9151 if test -d .libs; then
9152 lt_cv_objdir=.libs
9153 else
9154 # MS-DOS does not allow filenames that begin with a dot.
9155 lt_cv_objdir=_libs
9156 fi
9157 rmdir .libs 2>/dev/null
9158 fi
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9160 $as_echo "$lt_cv_objdir" >&6; }
9161 objdir=$lt_cv_objdir
9162
9163
9164
9165
9166
9167 cat >>confdefs.h <<_ACEOF
9168 #define LT_OBJDIR "$lt_cv_objdir/"
9169 _ACEOF
9170
9171
9172
9173
9174 case $host_os in
9175 aix3*)
9176 # AIX sometimes has problems with the GCC collect2 program. For some
9177 # reason, if we set the COLLECT_NAMES environment variable, the problems
9178 # vanish in a puff of smoke.
9179 if test set != "${COLLECT_NAMES+set}"; then
9180 COLLECT_NAMES=
9181 export COLLECT_NAMES
9182 fi
9183 ;;
9184 esac
9185
9186 # Global variables:
9187 ofile=libtool
9188 can_build_shared=yes
9189
9190 # All known linkers require a '.a' archive for static linking (except MSVC,
9191 # which needs '.lib').
9192 libext=a
9193
9194 with_gnu_ld=$lt_cv_prog_gnu_ld
9195
9196 old_CC=$CC
9197 old_CFLAGS=$CFLAGS
9198
9199 # Set sane defaults for various variables
9200 test -z "$CC" && CC=cc
9201 test -z "$LTCC" && LTCC=$CC
9202 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9203 test -z "$LD" && LD=ld
9204 test -z "$ac_objext" && ac_objext=o
9205
9206 func_cc_basename $compiler
9207 cc_basename=$func_cc_basename_result
9208
9209
9210 # Only perform the check for file, if the check method requires it
9211 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9212 case $deplibs_check_method in
9213 file_magic*)
9214 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9216 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9217 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9218 $as_echo_n "(cached) " >&6
9219 else
9220 case $MAGIC_CMD in
9221 [\\/*] | ?:[\\/]*)
9222 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9223 ;;
9224 *)
9225 lt_save_MAGIC_CMD=$MAGIC_CMD
9226 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9227 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9228 for ac_dir in $ac_dummy; do
9229 IFS=$lt_save_ifs
9230 test -z "$ac_dir" && ac_dir=.
9231 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9232 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9233 if test -n "$file_magic_test_file"; then
9234 case $deplibs_check_method in
9235 "file_magic "*)
9236 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9237 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9238 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9239 $EGREP "$file_magic_regex" > /dev/null; then
9240 :
9241 else
9242 cat <<_LT_EOF 1>&2
9243
9244 *** Warning: the command libtool uses to detect shared libraries,
9245 *** $file_magic_cmd, produces output that libtool cannot recognize.
9246 *** The result is that libtool may fail to recognize shared libraries
9247 *** as such. This will affect the creation of libtool libraries that
9248 *** depend on shared libraries, but programs linked with such libtool
9249 *** libraries will work regardless of this problem. Nevertheless, you
9250 *** may want to report the problem to your system manager and/or to
9251 *** [email protected]
9252
9253 _LT_EOF
9254 fi ;;
9255 esac
9256 fi
9257 break
9258 fi
9259 done
9260 IFS=$lt_save_ifs
9261 MAGIC_CMD=$lt_save_MAGIC_CMD
9262 ;;
9263 esac
9264 fi
9265
9266 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9267 if test -n "$MAGIC_CMD"; then
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9269 $as_echo "$MAGIC_CMD" >&6; }
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9272 $as_echo "no" >&6; }
9273 fi
9274
9275
9276
9277
9278
9279 if test -z "$lt_cv_path_MAGIC_CMD"; then
9280 if test -n "$ac_tool_prefix"; then
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9282 $as_echo_n "checking for file... " >&6; }
9283 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9284 $as_echo_n "(cached) " >&6
9285 else
9286 case $MAGIC_CMD in
9287 [\\/*] | ?:[\\/]*)
9288 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9289 ;;
9290 *)
9291 lt_save_MAGIC_CMD=$MAGIC_CMD
9292 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9293 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9294 for ac_dir in $ac_dummy; do
9295 IFS=$lt_save_ifs
9296 test -z "$ac_dir" && ac_dir=.
9297 if test -f "$ac_dir/file"; then
9298 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9299 if test -n "$file_magic_test_file"; then
9300 case $deplibs_check_method in
9301 "file_magic "*)
9302 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9303 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9304 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9305 $EGREP "$file_magic_regex" > /dev/null; then
9306 :
9307 else
9308 cat <<_LT_EOF 1>&2
9309
9310 *** Warning: the command libtool uses to detect shared libraries,
9311 *** $file_magic_cmd, produces output that libtool cannot recognize.
9312 *** The result is that libtool may fail to recognize shared libraries
9313 *** as such. This will affect the creation of libtool libraries that
9314 *** depend on shared libraries, but programs linked with such libtool
9315 *** libraries will work regardless of this problem. Nevertheless, you
9316 *** may want to report the problem to your system manager and/or to
9317 *** [email protected]
9318
9319 _LT_EOF
9320 fi ;;
9321 esac
9322 fi
9323 break
9324 fi
9325 done
9326 IFS=$lt_save_ifs
9327 MAGIC_CMD=$lt_save_MAGIC_CMD
9328 ;;
9329 esac
9330 fi
9331
9332 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9333 if test -n "$MAGIC_CMD"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9335 $as_echo "$MAGIC_CMD" >&6; }
9336 else
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9339 fi
9340
9341
9342 else
9343 MAGIC_CMD=:
9344 fi
9345 fi
9346
9347 fi
9348 ;;
9349 esac
9350
9351 # Use C for the default configuration in the libtool script
9352
9353 lt_save_CC=$CC
9354 ac_ext=c
9355 ac_cpp='$CPP $CPPFLAGS'
9356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9359
9360
9361 # Source file extension for C test sources.
9362 ac_ext=c
9363
9364 # Object file extension for compiled C test sources.
9365 objext=o
9366 objext=$objext
9367
9368 # Code to be used in simple compile tests
9369 lt_simple_compile_test_code="int some_variable = 0;"
9370
9371 # Code to be used in simple link tests
9372 lt_simple_link_test_code='int main(){return(0);}'
9373
9374
9375
9376
9377
9378
9379
9380 # If no C compiler was specified, use CC.
9381 LTCC=${LTCC-"$CC"}
9382
9383 # If no C compiler flags were specified, use CFLAGS.
9384 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9385
9386 # Allow CC to be a program name with arguments.
9387 compiler=$CC
9388
9389 # Save the default compiler, since it gets overwritten when the other
9390 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9391 compiler_DEFAULT=$CC
9392
9393 # save warnings/boilerplate of simple test code
9394 ac_outfile=conftest.$ac_objext
9395 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9396 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9397 _lt_compiler_boilerplate=`cat conftest.err`
9398 $RM conftest*
9399
9400 ac_outfile=conftest.$ac_objext
9401 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9402 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9403 _lt_linker_boilerplate=`cat conftest.err`
9404 $RM -r conftest*
9405
9406
9407 ## CAVEAT EMPTOR:
9408 ## There is no encapsulation within the following macros, do not change
9409 ## the running order or otherwise move them around unless you know exactly
9410 ## what you are doing...
9411 if test -n "$compiler"; then
9412
9413 lt_prog_compiler_no_builtin_flag=
9414
9415 if test yes = "$GCC"; then
9416 case $cc_basename in
9417 nvcc*)
9418 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9419 *)
9420 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9421 esac
9422
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9424 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9425 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 lt_cv_prog_compiler_rtti_exceptions=no
9429 ac_outfile=conftest.$ac_objext
9430 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9431 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9432 # Insert the option either (1) after the last *FLAGS variable, or
9433 # (2) before a word containing "conftest.", or (3) at the end.
9434 # Note that $ac_compile itself does not contain backslashes and begins
9435 # with a dollar sign (not a hyphen), so the echo should work correctly.
9436 # The option is referenced via a variable to avoid confusing sed.
9437 lt_compile=`echo "$ac_compile" | $SED \
9438 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9439 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9440 -e 's:$: $lt_compiler_flag:'`
9441 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9442 (eval "$lt_compile" 2>conftest.err)
9443 ac_status=$?
9444 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 if (exit $ac_status) && test -s "$ac_outfile"; then
9447 # The compiler can only warn and ignore the option if not recognized
9448 # So say no if there are warnings other than the usual output.
9449 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9450 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9451 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9452 lt_cv_prog_compiler_rtti_exceptions=yes
9453 fi
9454 fi
9455 $RM conftest*
9456
9457 fi
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9459 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9460
9461 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9462 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9463 else
9464 :
9465 fi
9466
9467 fi
9468
9469
9470
9471
9472
9473
9474 lt_prog_compiler_wl=
9475 lt_prog_compiler_pic=
9476 lt_prog_compiler_static=
9477
9478
9479 if test yes = "$GCC"; then
9480 lt_prog_compiler_wl='-Wl,'
9481 lt_prog_compiler_static='-static'
9482
9483 case $host_os in
9484 aix*)
9485 # All AIX code is PIC.
9486 if test ia64 = "$host_cpu"; then
9487 # AIX 5 now supports IA64 processor
9488 lt_prog_compiler_static='-Bstatic'
9489 fi
9490 lt_prog_compiler_pic='-fPIC'
9491 ;;
9492
9493 amigaos*)
9494 case $host_cpu in
9495 powerpc)
9496 # see comment about AmigaOS4 .so support
9497 lt_prog_compiler_pic='-fPIC'
9498 ;;
9499 m68k)
9500 # FIXME: we need at least 68020 code to build shared libraries, but
9501 # adding the '-m68020' flag to GCC prevents building anything better,
9502 # like '-m68040'.
9503 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9504 ;;
9505 esac
9506 ;;
9507
9508 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9509 # PIC is the default for these OSes.
9510 ;;
9511
9512 mingw* | cygwin* | pw32* | os2* | cegcc*)
9513 # This hack is so that the source file can tell whether it is being
9514 # built for inclusion in a dll (and should export symbols for example).
9515 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9516 # (--disable-auto-import) libraries
9517 lt_prog_compiler_pic='-DDLL_EXPORT'
9518 case $host_os in
9519 os2*)
9520 lt_prog_compiler_static='$wl-static'
9521 ;;
9522 esac
9523 ;;
9524
9525 darwin* | rhapsody*)
9526 # PIC is the default on this platform
9527 # Common symbols not allowed in MH_DYLIB files
9528 lt_prog_compiler_pic='-fno-common'
9529 ;;
9530
9531 haiku*)
9532 # PIC is the default for Haiku.
9533 # The "-static" flag exists, but is broken.
9534 lt_prog_compiler_static=
9535 ;;
9536
9537 hpux*)
9538 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9539 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9540 # sets the default TLS model and affects inlining.
9541 case $host_cpu in
9542 hppa*64*)
9543 # +Z the default
9544 ;;
9545 *)
9546 lt_prog_compiler_pic='-fPIC'
9547 ;;
9548 esac
9549 ;;
9550
9551 interix[3-9]*)
9552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9553 # Instead, we relocate shared libraries at runtime.
9554 ;;
9555
9556 msdosdjgpp*)
9557 # Just because we use GCC doesn't mean we suddenly get shared libraries
9558 # on systems that don't support them.
9559 lt_prog_compiler_can_build_shared=no
9560 enable_shared=no
9561 ;;
9562
9563 *nto* | *qnx*)
9564 # QNX uses GNU C++, but need to define -shared option too, otherwise
9565 # it will coredump.
9566 lt_prog_compiler_pic='-fPIC -shared'
9567 ;;
9568
9569 sysv4*MP*)
9570 if test -d /usr/nec; then
9571 lt_prog_compiler_pic=-Kconform_pic
9572 fi
9573 ;;
9574
9575 *)
9576 lt_prog_compiler_pic='-fPIC'
9577 ;;
9578 esac
9579
9580 case $cc_basename in
9581 nvcc*) # Cuda Compiler Driver 2.2
9582 lt_prog_compiler_wl='-Xlinker '
9583 if test -n "$lt_prog_compiler_pic"; then
9584 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9585 fi
9586 ;;
9587 esac
9588 else
9589 # PORTME Check for flag to pass linker flags through the system compiler.
9590 case $host_os in
9591 aix*)
9592 lt_prog_compiler_wl='-Wl,'
9593 if test ia64 = "$host_cpu"; then
9594 # AIX 5 now supports IA64 processor
9595 lt_prog_compiler_static='-Bstatic'
9596 else
9597 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9598 fi
9599 ;;
9600
9601 darwin* | rhapsody*)
9602 # PIC is the default on this platform
9603 # Common symbols not allowed in MH_DYLIB files
9604 lt_prog_compiler_pic='-fno-common'
9605 case $cc_basename in
9606 nagfor*)
9607 # NAG Fortran compiler
9608 lt_prog_compiler_wl='-Wl,-Wl,,'
9609 lt_prog_compiler_pic='-PIC'
9610 lt_prog_compiler_static='-Bstatic'
9611 ;;
9612 esac
9613 ;;
9614
9615 mingw* | cygwin* | pw32* | os2* | cegcc*)
9616 # This hack is so that the source file can tell whether it is being
9617 # built for inclusion in a dll (and should export symbols for example).
9618 lt_prog_compiler_pic='-DDLL_EXPORT'
9619 case $host_os in
9620 os2*)
9621 lt_prog_compiler_static='$wl-static'
9622 ;;
9623 esac
9624 ;;
9625
9626 hpux9* | hpux10* | hpux11*)
9627 lt_prog_compiler_wl='-Wl,'
9628 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9629 # not for PA HP-UX.
9630 case $host_cpu in
9631 hppa*64*|ia64*)
9632 # +Z the default
9633 ;;
9634 *)
9635 lt_prog_compiler_pic='+Z'
9636 ;;
9637 esac
9638 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9639 lt_prog_compiler_static='$wl-a ${wl}archive'
9640 ;;
9641
9642 irix5* | irix6* | nonstopux*)
9643 lt_prog_compiler_wl='-Wl,'
9644 # PIC (with -KPIC) is the default.
9645 lt_prog_compiler_static='-non_shared'
9646 ;;
9647
9648 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9649 case $cc_basename in
9650 # old Intel for x86_64, which still supported -KPIC.
9651 ecc*)
9652 lt_prog_compiler_wl='-Wl,'
9653 lt_prog_compiler_pic='-KPIC'
9654 lt_prog_compiler_static='-static'
9655 ;;
9656 # icc used to be incompatible with GCC.
9657 # ICC 10 doesn't accept -KPIC any more.
9658 icc* | ifort*)
9659 lt_prog_compiler_wl='-Wl,'
9660 lt_prog_compiler_pic='-fPIC'
9661 lt_prog_compiler_static='-static'
9662 ;;
9663 # Lahey Fortran 8.1.
9664 lf95*)
9665 lt_prog_compiler_wl='-Wl,'
9666 lt_prog_compiler_pic='--shared'
9667 lt_prog_compiler_static='--static'
9668 ;;
9669 nagfor*)
9670 # NAG Fortran compiler
9671 lt_prog_compiler_wl='-Wl,-Wl,,'
9672 lt_prog_compiler_pic='-PIC'
9673 lt_prog_compiler_static='-Bstatic'
9674 ;;
9675 tcc*)
9676 # Fabrice Bellard et al's Tiny C Compiler
9677 lt_prog_compiler_wl='-Wl,'
9678 lt_prog_compiler_pic='-fPIC'
9679 lt_prog_compiler_static='-static'
9680 ;;
9681 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9682 # Portland Group compilers (*not* the Pentium gcc compiler,
9683 # which looks to be a dead project)
9684 lt_prog_compiler_wl='-Wl,'
9685 lt_prog_compiler_pic='-fpic'
9686 lt_prog_compiler_static='-Bstatic'
9687 ;;
9688 ccc*)
9689 lt_prog_compiler_wl='-Wl,'
9690 # All Alpha code is PIC.
9691 lt_prog_compiler_static='-non_shared'
9692 ;;
9693 xl* | bgxl* | bgf* | mpixl*)
9694 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9695 lt_prog_compiler_wl='-Wl,'
9696 lt_prog_compiler_pic='-qpic'
9697 lt_prog_compiler_static='-qstaticlink'
9698 ;;
9699 *)
9700 case `$CC -V 2>&1 | sed 5q` in
9701 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9702 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9703 lt_prog_compiler_pic='-KPIC'
9704 lt_prog_compiler_static='-Bstatic'
9705 lt_prog_compiler_wl=''
9706 ;;
9707 *Sun\ F* | *Sun*Fortran*)
9708 lt_prog_compiler_pic='-KPIC'
9709 lt_prog_compiler_static='-Bstatic'
9710 lt_prog_compiler_wl='-Qoption ld '
9711 ;;
9712 *Sun\ C*)
9713 # Sun C 5.9
9714 lt_prog_compiler_pic='-KPIC'
9715 lt_prog_compiler_static='-Bstatic'
9716 lt_prog_compiler_wl='-Wl,'
9717 ;;
9718 *Intel*\ [CF]*Compiler*)
9719 lt_prog_compiler_wl='-Wl,'
9720 lt_prog_compiler_pic='-fPIC'
9721 lt_prog_compiler_static='-static'
9722 ;;
9723 *Portland\ Group*)
9724 lt_prog_compiler_wl='-Wl,'
9725 lt_prog_compiler_pic='-fpic'
9726 lt_prog_compiler_static='-Bstatic'
9727 ;;
9728 esac
9729 ;;
9730 esac
9731 ;;
9732
9733 newsos6)
9734 lt_prog_compiler_pic='-KPIC'
9735 lt_prog_compiler_static='-Bstatic'
9736 ;;
9737
9738 *nto* | *qnx*)
9739 # QNX uses GNU C++, but need to define -shared option too, otherwise
9740 # it will coredump.
9741 lt_prog_compiler_pic='-fPIC -shared'
9742 ;;
9743
9744 osf3* | osf4* | osf5*)
9745 lt_prog_compiler_wl='-Wl,'
9746 # All OSF/1 code is PIC.
9747 lt_prog_compiler_static='-non_shared'
9748 ;;
9749
9750 rdos*)
9751 lt_prog_compiler_static='-non_shared'
9752 ;;
9753
9754 solaris*)
9755 lt_prog_compiler_pic='-KPIC'
9756 lt_prog_compiler_static='-Bstatic'
9757 case $cc_basename in
9758 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9759 lt_prog_compiler_wl='-Qoption ld ';;
9760 *)
9761 lt_prog_compiler_wl='-Wl,';;
9762 esac
9763 ;;
9764
9765 sunos4*)
9766 lt_prog_compiler_wl='-Qoption ld '
9767 lt_prog_compiler_pic='-PIC'
9768 lt_prog_compiler_static='-Bstatic'
9769 ;;
9770
9771 sysv4 | sysv4.2uw2* | sysv4.3*)
9772 lt_prog_compiler_wl='-Wl,'
9773 lt_prog_compiler_pic='-KPIC'
9774 lt_prog_compiler_static='-Bstatic'
9775 ;;
9776
9777 sysv4*MP*)
9778 if test -d /usr/nec; then
9779 lt_prog_compiler_pic='-Kconform_pic'
9780 lt_prog_compiler_static='-Bstatic'
9781 fi
9782 ;;
9783
9784 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9785 lt_prog_compiler_wl='-Wl,'
9786 lt_prog_compiler_pic='-KPIC'
9787 lt_prog_compiler_static='-Bstatic'
9788 ;;
9789
9790 unicos*)
9791 lt_prog_compiler_wl='-Wl,'
9792 lt_prog_compiler_can_build_shared=no
9793 ;;
9794
9795 uts4*)
9796 lt_prog_compiler_pic='-pic'
9797 lt_prog_compiler_static='-Bstatic'
9798 ;;
9799
9800 *)
9801 lt_prog_compiler_can_build_shared=no
9802 ;;
9803 esac
9804 fi
9805
9806 case $host_os in
9807 # For platforms that do not support PIC, -DPIC is meaningless:
9808 *djgpp*)
9809 lt_prog_compiler_pic=
9810 ;;
9811 *)
9812 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9813 ;;
9814 esac
9815
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9817 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9818 if ${lt_cv_prog_compiler_pic+:} false; then :
9819 $as_echo_n "(cached) " >&6
9820 else
9821 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9822 fi
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9824 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9825 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9826
9827 #
9828 # Check to make sure the PIC flag actually works.
9829 #
9830 if test -n "$lt_prog_compiler_pic"; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9832 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9833 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 lt_cv_prog_compiler_pic_works=no
9837 ac_outfile=conftest.$ac_objext
9838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9839 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9840 # Insert the option either (1) after the last *FLAGS variable, or
9841 # (2) before a word containing "conftest.", or (3) at the end.
9842 # Note that $ac_compile itself does not contain backslashes and begins
9843 # with a dollar sign (not a hyphen), so the echo should work correctly.
9844 # The option is referenced via a variable to avoid confusing sed.
9845 lt_compile=`echo "$ac_compile" | $SED \
9846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9848 -e 's:$: $lt_compiler_flag:'`
9849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9850 (eval "$lt_compile" 2>conftest.err)
9851 ac_status=$?
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 if (exit $ac_status) && test -s "$ac_outfile"; then
9855 # The compiler can only warn and ignore the option if not recognized
9856 # So say no if there are warnings other than the usual output.
9857 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9858 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9859 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9860 lt_cv_prog_compiler_pic_works=yes
9861 fi
9862 fi
9863 $RM conftest*
9864
9865 fi
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9867 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9868
9869 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9870 case $lt_prog_compiler_pic in
9871 "" | " "*) ;;
9872 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9873 esac
9874 else
9875 lt_prog_compiler_pic=
9876 lt_prog_compiler_can_build_shared=no
9877 fi
9878
9879 fi
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891 #
9892 # Check to make sure the static flag actually works.
9893 #
9894 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9896 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9897 if ${lt_cv_prog_compiler_static_works+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 lt_cv_prog_compiler_static_works=no
9901 save_LDFLAGS=$LDFLAGS
9902 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9903 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9904 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9905 # The linker can only warn and ignore the option if not recognized
9906 # So say no if there are warnings
9907 if test -s conftest.err; then
9908 # Append any errors to the config.log.
9909 cat conftest.err 1>&5
9910 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9911 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9912 if diff conftest.exp conftest.er2 >/dev/null; then
9913 lt_cv_prog_compiler_static_works=yes
9914 fi
9915 else
9916 lt_cv_prog_compiler_static_works=yes
9917 fi
9918 fi
9919 $RM -r conftest*
9920 LDFLAGS=$save_LDFLAGS
9921
9922 fi
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9924 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9925
9926 if test yes = "$lt_cv_prog_compiler_static_works"; then
9927 :
9928 else
9929 lt_prog_compiler_static=
9930 fi
9931
9932
9933
9934
9935
9936
9937
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9939 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9940 if ${lt_cv_prog_compiler_c_o+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 lt_cv_prog_compiler_c_o=no
9944 $RM -r conftest 2>/dev/null
9945 mkdir conftest
9946 cd conftest
9947 mkdir out
9948 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9949
9950 lt_compiler_flag="-o out/conftest2.$ac_objext"
9951 # Insert the option either (1) after the last *FLAGS variable, or
9952 # (2) before a word containing "conftest.", or (3) at the end.
9953 # Note that $ac_compile itself does not contain backslashes and begins
9954 # with a dollar sign (not a hyphen), so the echo should work correctly.
9955 lt_compile=`echo "$ac_compile" | $SED \
9956 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9958 -e 's:$: $lt_compiler_flag:'`
9959 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9960 (eval "$lt_compile" 2>out/conftest.err)
9961 ac_status=$?
9962 cat out/conftest.err >&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9965 then
9966 # The compiler can only warn and ignore the option if not recognized
9967 # So say no if there are warnings
9968 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9969 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9970 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9971 lt_cv_prog_compiler_c_o=yes
9972 fi
9973 fi
9974 chmod u+w . 2>&5
9975 $RM conftest*
9976 # SGI C++ compiler will create directory out/ii_files/ for
9977 # template instantiation
9978 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9979 $RM out/* && rmdir out
9980 cd ..
9981 $RM -r conftest
9982 $RM conftest*
9983
9984 fi
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9986 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9987
9988
9989
9990
9991
9992
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9994 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9995 if ${lt_cv_prog_compiler_c_o+:} false; then :
9996 $as_echo_n "(cached) " >&6
9997 else
9998 lt_cv_prog_compiler_c_o=no
9999 $RM -r conftest 2>/dev/null
10000 mkdir conftest
10001 cd conftest
10002 mkdir out
10003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10004
10005 lt_compiler_flag="-o out/conftest2.$ac_objext"
10006 # Insert the option either (1) after the last *FLAGS variable, or
10007 # (2) before a word containing "conftest.", or (3) at the end.
10008 # Note that $ac_compile itself does not contain backslashes and begins
10009 # with a dollar sign (not a hyphen), so the echo should work correctly.
10010 lt_compile=`echo "$ac_compile" | $SED \
10011 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10012 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10013 -e 's:$: $lt_compiler_flag:'`
10014 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10015 (eval "$lt_compile" 2>out/conftest.err)
10016 ac_status=$?
10017 cat out/conftest.err >&5
10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10020 then
10021 # The compiler can only warn and ignore the option if not recognized
10022 # So say no if there are warnings
10023 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10024 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10025 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10026 lt_cv_prog_compiler_c_o=yes
10027 fi
10028 fi
10029 chmod u+w . 2>&5
10030 $RM conftest*
10031 # SGI C++ compiler will create directory out/ii_files/ for
10032 # template instantiation
10033 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10034 $RM out/* && rmdir out
10035 cd ..
10036 $RM -r conftest
10037 $RM conftest*
10038
10039 fi
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10041 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10042
10043
10044
10045
10046 hard_links=nottested
10047 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10048 # do not overwrite the value of need_locks provided by the user
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10050 $as_echo_n "checking if we can lock with hard links... " >&6; }
10051 hard_links=yes
10052 $RM conftest*
10053 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10054 touch conftest.a
10055 ln conftest.a conftest.b 2>&5 || hard_links=no
10056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10058 $as_echo "$hard_links" >&6; }
10059 if test no = "$hard_links"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10061 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10062 need_locks=warn
10063 fi
10064 else
10065 need_locks=no
10066 fi
10067
10068
10069
10070
10071
10072
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10074 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10075
10076 runpath_var=
10077 allow_undefined_flag=
10078 always_export_symbols=no
10079 archive_cmds=
10080 archive_expsym_cmds=
10081 compiler_needs_object=no
10082 enable_shared_with_static_runtimes=no
10083 export_dynamic_flag_spec=
10084 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10085 hardcode_automatic=no
10086 hardcode_direct=no
10087 hardcode_direct_absolute=no
10088 hardcode_libdir_flag_spec=
10089 hardcode_libdir_separator=
10090 hardcode_minus_L=no
10091 hardcode_shlibpath_var=unsupported
10092 inherit_rpath=no
10093 link_all_deplibs=unknown
10094 module_cmds=
10095 module_expsym_cmds=
10096 old_archive_from_new_cmds=
10097 old_archive_from_expsyms_cmds=
10098 thread_safe_flag_spec=
10099 whole_archive_flag_spec=
10100 # include_expsyms should be a list of space-separated symbols to be *always*
10101 # included in the symbol list
10102 include_expsyms=
10103 # exclude_expsyms can be an extended regexp of symbols to exclude
10104 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10105 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10106 # as well as any symbol that contains 'd'.
10107 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10108 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10109 # platforms (ab)use it in PIC code, but their linkers get confused if
10110 # the symbol is explicitly referenced. Since portable code cannot
10111 # rely on this symbol name, it's probably fine to never include it in
10112 # preloaded symbol tables.
10113 # Exclude shared library initialization/finalization symbols.
10114 extract_expsyms_cmds=
10115
10116 case $host_os in
10117 cygwin* | mingw* | pw32* | cegcc*)
10118 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10119 # When not using gcc, we currently assume that we are using
10120 # Microsoft Visual C++.
10121 if test yes != "$GCC"; then
10122 with_gnu_ld=no
10123 fi
10124 ;;
10125 interix*)
10126 # we just hope/assume this is gcc and not c89 (= MSVC++)
10127 with_gnu_ld=yes
10128 ;;
10129 openbsd* | bitrig*)
10130 with_gnu_ld=no
10131 ;;
10132 esac
10133
10134 ld_shlibs=yes
10135
10136 # On some targets, GNU ld is compatible enough with the native linker
10137 # that we're better off using the native interface for both.
10138 lt_use_gnu_ld_interface=no
10139 if test yes = "$with_gnu_ld"; then
10140 case $host_os in
10141 aix*)
10142 # The AIX port of GNU ld has always aspired to compatibility
10143 # with the native linker. However, as the warning in the GNU ld
10144 # block says, versions before 2.19.5* couldn't really create working
10145 # shared libraries, regardless of the interface used.
10146 case `$LD -v 2>&1` in
10147 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10148 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10149 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10150 *)
10151 lt_use_gnu_ld_interface=yes
10152 ;;
10153 esac
10154 ;;
10155 *)
10156 lt_use_gnu_ld_interface=yes
10157 ;;
10158 esac
10159 fi
10160
10161 if test yes = "$lt_use_gnu_ld_interface"; then
10162 # If archive_cmds runs LD, not CC, wlarc should be empty
10163 wlarc='$wl'
10164
10165 # Set some defaults for GNU ld with shared library support. These
10166 # are reset later if shared libraries are not supported. Putting them
10167 # here allows them to be overridden if necessary.
10168 runpath_var=LD_RUN_PATH
10169 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10170 export_dynamic_flag_spec='$wl--export-dynamic'
10171 # ancient GNU ld didn't support --whole-archive et. al.
10172 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10173 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10174 else
10175 whole_archive_flag_spec=
10176 fi
10177 supports_anon_versioning=no
10178 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10179 *GNU\ gold*) supports_anon_versioning=yes ;;
10180 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10181 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10182 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10183 *\ 2.11.*) ;; # other 2.11 versions
10184 *) supports_anon_versioning=yes ;;
10185 esac
10186
10187 # See if GNU ld supports shared libraries.
10188 case $host_os in
10189 aix[3-9]*)
10190 # On AIX/PPC, the GNU linker is very broken
10191 if test ia64 != "$host_cpu"; then
10192 ld_shlibs=no
10193 cat <<_LT_EOF 1>&2
10194
10195 *** Warning: the GNU linker, at least up to release 2.19, is reported
10196 *** to be unable to reliably create shared libraries on AIX.
10197 *** Therefore, libtool is disabling shared libraries support. If you
10198 *** really care for shared libraries, you may want to install binutils
10199 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10200 *** You will then need to restart the configuration process.
10201
10202 _LT_EOF
10203 fi
10204 ;;
10205
10206 amigaos*)
10207 case $host_cpu in
10208 powerpc)
10209 # see comment about AmigaOS4 .so support
10210 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10211 archive_expsym_cmds=''
10212 ;;
10213 m68k)
10214 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)'
10215 hardcode_libdir_flag_spec='-L$libdir'
10216 hardcode_minus_L=yes
10217 ;;
10218 esac
10219 ;;
10220
10221 beos*)
10222 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10223 allow_undefined_flag=unsupported
10224 # Joseph Beckenbach <[email protected]> says some releases of gcc
10225 # support --undefined. This deserves some investigation. FIXME
10226 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10227 else
10228 ld_shlibs=no
10229 fi
10230 ;;
10231
10232 cygwin* | mingw* | pw32* | cegcc*)
10233 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10234 # as there is no search path for DLLs.
10235 hardcode_libdir_flag_spec='-L$libdir'
10236 export_dynamic_flag_spec='$wl--export-all-symbols'
10237 allow_undefined_flag=unsupported
10238 always_export_symbols=no
10239 enable_shared_with_static_runtimes=yes
10240 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'
10241 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10242
10243 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10244 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10245 # If the export-symbols file already is a .def file, use it as
10246 # is; otherwise, prepend EXPORTS...
10247 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10248 cp $export_symbols $output_objdir/$soname.def;
10249 else
10250 echo EXPORTS > $output_objdir/$soname.def;
10251 cat $export_symbols >> $output_objdir/$soname.def;
10252 fi~
10253 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10254 else
10255 ld_shlibs=no
10256 fi
10257 ;;
10258
10259 haiku*)
10260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10261 link_all_deplibs=yes
10262 ;;
10263
10264 os2*)
10265 hardcode_libdir_flag_spec='-L$libdir'
10266 hardcode_minus_L=yes
10267 allow_undefined_flag=unsupported
10268 shrext_cmds=.dll
10269 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10270 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10271 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10272 $ECHO EXPORTS >> $output_objdir/$libname.def~
10273 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10274 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10275 emximp -o $lib $output_objdir/$libname.def'
10276 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10277 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10278 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10279 $ECHO EXPORTS >> $output_objdir/$libname.def~
10280 prefix_cmds="$SED"~
10281 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10282 prefix_cmds="$prefix_cmds -e 1d";
10283 fi~
10284 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10285 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10286 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10287 emximp -o $lib $output_objdir/$libname.def'
10288 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10289 enable_shared_with_static_runtimes=yes
10290 ;;
10291
10292 interix[3-9]*)
10293 hardcode_direct=no
10294 hardcode_shlibpath_var=no
10295 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10296 export_dynamic_flag_spec='$wl-E'
10297 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10298 # Instead, shared libraries are loaded at an image base (0x10000000 by
10299 # default) and relocated if they conflict, which is a slow very memory
10300 # consuming and fragmenting process. To avoid this, we pick a random,
10301 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10302 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10303 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10304 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'
10305 ;;
10306
10307 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10308 tmp_diet=no
10309 if test linux-dietlibc = "$host_os"; then
10310 case $cc_basename in
10311 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10312 esac
10313 fi
10314 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10315 && test no = "$tmp_diet"
10316 then
10317 tmp_addflag=' $pic_flag'
10318 tmp_sharedflag='-shared'
10319 case $cc_basename,$host_cpu in
10320 pgcc*) # Portland Group C compiler
10321 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'
10322 tmp_addflag=' $pic_flag'
10323 ;;
10324 pgf77* | pgf90* | pgf95* | pgfortran*)
10325 # Portland Group f77 and f90 compilers
10326 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'
10327 tmp_addflag=' $pic_flag -Mnomain' ;;
10328 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10329 tmp_addflag=' -i_dynamic' ;;
10330 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10331 tmp_addflag=' -i_dynamic -nofor_main' ;;
10332 ifc* | ifort*) # Intel Fortran compiler
10333 tmp_addflag=' -nofor_main' ;;
10334 lf95*) # Lahey Fortran 8.1
10335 whole_archive_flag_spec=
10336 tmp_sharedflag='--shared' ;;
10337 nagfor*) # NAGFOR 5.3
10338 tmp_sharedflag='-Wl,-shared' ;;
10339 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10340 tmp_sharedflag='-qmkshrobj'
10341 tmp_addflag= ;;
10342 nvcc*) # Cuda Compiler Driver 2.2
10343 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'
10344 compiler_needs_object=yes
10345 ;;
10346 esac
10347 case `$CC -V 2>&1 | sed 5q` in
10348 *Sun\ C*) # Sun C 5.9
10349 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'
10350 compiler_needs_object=yes
10351 tmp_sharedflag='-G' ;;
10352 *Sun\ F*) # Sun Fortran 8.3
10353 tmp_sharedflag='-G' ;;
10354 esac
10355 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10356
10357 if test yes = "$supports_anon_versioning"; then
10358 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10360 echo "local: *; };" >> $output_objdir/$libname.ver~
10361 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10362 fi
10363
10364 case $cc_basename in
10365 tcc*)
10366 export_dynamic_flag_spec='-rdynamic'
10367 ;;
10368 xlf* | bgf* | bgxlf* | mpixlf*)
10369 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10370 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10371 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10372 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10373 if test yes = "$supports_anon_versioning"; then
10374 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10375 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10376 echo "local: *; };" >> $output_objdir/$libname.ver~
10377 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10378 fi
10379 ;;
10380 esac
10381 else
10382 ld_shlibs=no
10383 fi
10384 ;;
10385
10386 netbsd*)
10387 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10388 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10389 wlarc=
10390 else
10391 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10392 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10393 fi
10394 ;;
10395
10396 solaris*)
10397 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10398 ld_shlibs=no
10399 cat <<_LT_EOF 1>&2
10400
10401 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10402 *** create shared libraries on Solaris systems. Therefore, libtool
10403 *** is disabling shared libraries support. We urge you to upgrade GNU
10404 *** binutils to release 2.9.1 or newer. Another option is to modify
10405 *** your PATH or compiler configuration so that the native linker is
10406 *** used, and then restart.
10407
10408 _LT_EOF
10409 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10410 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10411 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10412 else
10413 ld_shlibs=no
10414 fi
10415 ;;
10416
10417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10418 case `$LD -v 2>&1` in
10419 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10420 ld_shlibs=no
10421 cat <<_LT_EOF 1>&2
10422
10423 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10424 *** reliably create shared libraries on SCO systems. Therefore, libtool
10425 *** is disabling shared libraries support. We urge you to upgrade GNU
10426 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10427 *** your PATH or compiler configuration so that the native linker is
10428 *** used, and then restart.
10429
10430 _LT_EOF
10431 ;;
10432 *)
10433 # For security reasons, it is highly recommended that you always
10434 # use absolute paths for naming shared libraries, and exclude the
10435 # DT_RUNPATH tag from executables and libraries. But doing so
10436 # requires that you compile everything twice, which is a pain.
10437 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10438 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10440 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10441 else
10442 ld_shlibs=no
10443 fi
10444 ;;
10445 esac
10446 ;;
10447
10448 sunos4*)
10449 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10450 wlarc=
10451 hardcode_direct=yes
10452 hardcode_shlibpath_var=no
10453 ;;
10454
10455 *)
10456 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10457 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10458 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10459 else
10460 ld_shlibs=no
10461 fi
10462 ;;
10463 esac
10464
10465 if test no = "$ld_shlibs"; then
10466 runpath_var=
10467 hardcode_libdir_flag_spec=
10468 export_dynamic_flag_spec=
10469 whole_archive_flag_spec=
10470 fi
10471 else
10472 # PORTME fill in a description of your system's linker (not GNU ld)
10473 case $host_os in
10474 aix3*)
10475 allow_undefined_flag=unsupported
10476 always_export_symbols=yes
10477 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'
10478 # Note: this linker hardcodes the directories in LIBPATH if there
10479 # are no directories specified by -L.
10480 hardcode_minus_L=yes
10481 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10482 # Neither direct hardcoding nor static linking is supported with a
10483 # broken collect2.
10484 hardcode_direct=unsupported
10485 fi
10486 ;;
10487
10488 aix[4-9]*)
10489 if test ia64 = "$host_cpu"; then
10490 # On IA64, the linker does run time linking by default, so we don't
10491 # have to do anything special.
10492 aix_use_runtimelinking=no
10493 exp_sym_flag='-Bexport'
10494 no_entry_flag=
10495 else
10496 # If we're using GNU nm, then we don't want the "-C" option.
10497 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10498 # Without the "-l" option, or with the "-B" option, AIX nm treats
10499 # weak defined symbols like other global defined symbols, whereas
10500 # GNU nm marks them as "W".
10501 # While the 'weak' keyword is ignored in the Export File, we need
10502 # it in the Import File for the 'aix-soname' feature, so we have
10503 # to replace the "-B" option with "-P" for AIX nm.
10504 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10505 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10506 else
10507 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10508 fi
10509 aix_use_runtimelinking=no
10510
10511 # Test if we are trying to use run time linking or normal
10512 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10513 # have runtime linking enabled, and use it for executables.
10514 # For shared libraries, we enable/disable runtime linking
10515 # depending on the kind of the shared library created -
10516 # when "with_aix_soname,aix_use_runtimelinking" is:
10517 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10518 # "aix,yes" lib.so shared, rtl:yes, for executables
10519 # lib.a static archive
10520 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10521 # lib.a(lib.so.V) shared, rtl:no, for executables
10522 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10523 # lib.a(lib.so.V) shared, rtl:no
10524 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10525 # lib.a static archive
10526 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10527 for ld_flag in $LDFLAGS; do
10528 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10529 aix_use_runtimelinking=yes
10530 break
10531 fi
10532 done
10533 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10534 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10535 # so we don't have lib.a shared libs to link our executables.
10536 # We have to force runtime linking in this case.
10537 aix_use_runtimelinking=yes
10538 LDFLAGS="$LDFLAGS -Wl,-brtl"
10539 fi
10540 ;;
10541 esac
10542
10543 exp_sym_flag='-bexport'
10544 no_entry_flag='-bnoentry'
10545 fi
10546
10547 # When large executables or shared objects are built, AIX ld can
10548 # have problems creating the table of contents. If linking a library
10549 # or program results in "error TOC overflow" add -mminimal-toc to
10550 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10551 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10552
10553 archive_cmds=''
10554 hardcode_direct=yes
10555 hardcode_direct_absolute=yes
10556 hardcode_libdir_separator=':'
10557 link_all_deplibs=yes
10558 file_list_spec='$wl-f,'
10559 case $with_aix_soname,$aix_use_runtimelinking in
10560 aix,*) ;; # traditional, no import file
10561 svr4,* | *,yes) # use import file
10562 # The Import File defines what to hardcode.
10563 hardcode_direct=no
10564 hardcode_direct_absolute=no
10565 ;;
10566 esac
10567
10568 if test yes = "$GCC"; then
10569 case $host_os in aix4.[012]|aix4.[012].*)
10570 # We only want to do this on AIX 4.2 and lower, the check
10571 # below for broken collect2 doesn't work under 4.3+
10572 collect2name=`$CC -print-prog-name=collect2`
10573 if test -f "$collect2name" &&
10574 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10575 then
10576 # We have reworked collect2
10577 :
10578 else
10579 # We have old collect2
10580 hardcode_direct=unsupported
10581 # It fails to find uninstalled libraries when the uninstalled
10582 # path is not listed in the libpath. Setting hardcode_minus_L
10583 # to unsupported forces relinking
10584 hardcode_minus_L=yes
10585 hardcode_libdir_flag_spec='-L$libdir'
10586 hardcode_libdir_separator=
10587 fi
10588 ;;
10589 esac
10590 shared_flag='-shared'
10591 if test yes = "$aix_use_runtimelinking"; then
10592 shared_flag="$shared_flag "'$wl-G'
10593 fi
10594 # Need to ensure runtime linking is disabled for the traditional
10595 # shared library, or the linker may eventually find shared libraries
10596 # /with/ Import File - we do not want to mix them.
10597 shared_flag_aix='-shared'
10598 shared_flag_svr4='-shared $wl-G'
10599 else
10600 # not using gcc
10601 if test ia64 = "$host_cpu"; then
10602 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10603 # chokes on -Wl,-G. The following line is correct:
10604 shared_flag='-G'
10605 else
10606 if test yes = "$aix_use_runtimelinking"; then
10607 shared_flag='$wl-G'
10608 else
10609 shared_flag='$wl-bM:SRE'
10610 fi
10611 shared_flag_aix='$wl-bM:SRE'
10612 shared_flag_svr4='$wl-G'
10613 fi
10614 fi
10615
10616 export_dynamic_flag_spec='$wl-bexpall'
10617 # It seems that -bexpall does not export symbols beginning with
10618 # underscore (_), so it is better to generate a list of symbols to export.
10619 always_export_symbols=yes
10620 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10621 # Warning - without using the other runtime loading flags (-brtl),
10622 # -berok will link without error, but may produce a broken library.
10623 allow_undefined_flag='-berok'
10624 # Determine the default libpath from the value encoded in an
10625 # empty executable.
10626 if test set = "${lt_cv_aix_libpath+set}"; then
10627 aix_libpath=$lt_cv_aix_libpath
10628 else
10629 if ${lt_cv_aix_libpath_+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10634
10635 int
10636 main ()
10637 {
10638
10639 ;
10640 return 0;
10641 }
10642 _ACEOF
10643 if ac_fn_c_try_link "$LINENO"; then :
10644
10645 lt_aix_libpath_sed='
10646 /Import File Strings/,/^$/ {
10647 /^0/ {
10648 s/^0 *\([^ ]*\) *$/\1/
10649 p
10650 }
10651 }'
10652 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10653 # Check for a 64-bit object if we didn't find anything.
10654 if test -z "$lt_cv_aix_libpath_"; then
10655 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10656 fi
10657 fi
10658 rm -f core conftest.err conftest.$ac_objext \
10659 conftest$ac_exeext conftest.$ac_ext
10660 if test -z "$lt_cv_aix_libpath_"; then
10661 lt_cv_aix_libpath_=/usr/lib:/lib
10662 fi
10663
10664 fi
10665
10666 aix_libpath=$lt_cv_aix_libpath_
10667 fi
10668
10669 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10670 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10671 else
10672 if test ia64 = "$host_cpu"; then
10673 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10674 allow_undefined_flag="-z nodefs"
10675 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"
10676 else
10677 # Determine the default libpath from the value encoded in an
10678 # empty executable.
10679 if test set = "${lt_cv_aix_libpath+set}"; then
10680 aix_libpath=$lt_cv_aix_libpath
10681 else
10682 if ${lt_cv_aix_libpath_+:} false; then :
10683 $as_echo_n "(cached) " >&6
10684 else
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10687
10688 int
10689 main ()
10690 {
10691
10692 ;
10693 return 0;
10694 }
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697
10698 lt_aix_libpath_sed='
10699 /Import File Strings/,/^$/ {
10700 /^0/ {
10701 s/^0 *\([^ ]*\) *$/\1/
10702 p
10703 }
10704 }'
10705 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10706 # Check for a 64-bit object if we didn't find anything.
10707 if test -z "$lt_cv_aix_libpath_"; then
10708 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10709 fi
10710 fi
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 if test -z "$lt_cv_aix_libpath_"; then
10714 lt_cv_aix_libpath_=/usr/lib:/lib
10715 fi
10716
10717 fi
10718
10719 aix_libpath=$lt_cv_aix_libpath_
10720 fi
10721
10722 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10723 # Warning - without using the other run time loading flags,
10724 # -berok will link without error, but may produce a broken library.
10725 no_undefined_flag=' $wl-bernotok'
10726 allow_undefined_flag=' $wl-berok'
10727 if test yes = "$with_gnu_ld"; then
10728 # We only use this code for GNU lds that support --whole-archive.
10729 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10730 else
10731 # Exported symbols can be pulled into shared objects from archives
10732 whole_archive_flag_spec='$convenience'
10733 fi
10734 archive_cmds_need_lc=yes
10735 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10736 # -brtl affects multiple linker settings, -berok does not and is overridden later
10737 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10738 if test svr4 != "$with_aix_soname"; then
10739 # This is similar to how AIX traditionally builds its shared libraries.
10740 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10741 fi
10742 if test aix != "$with_aix_soname"; then
10743 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10744 else
10745 # used by -dlpreopen to get the symbols
10746 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10747 fi
10748 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10749 fi
10750 fi
10751 ;;
10752
10753 amigaos*)
10754 case $host_cpu in
10755 powerpc)
10756 # see comment about AmigaOS4 .so support
10757 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10758 archive_expsym_cmds=''
10759 ;;
10760 m68k)
10761 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)'
10762 hardcode_libdir_flag_spec='-L$libdir'
10763 hardcode_minus_L=yes
10764 ;;
10765 esac
10766 ;;
10767
10768 bsdi[45]*)
10769 export_dynamic_flag_spec=-rdynamic
10770 ;;
10771
10772 cygwin* | mingw* | pw32* | cegcc*)
10773 # When not using gcc, we currently assume that we are using
10774 # Microsoft Visual C++.
10775 # hardcode_libdir_flag_spec is actually meaningless, as there is
10776 # no search path for DLLs.
10777 case $cc_basename in
10778 cl*)
10779 # Native MSVC
10780 hardcode_libdir_flag_spec=' '
10781 allow_undefined_flag=unsupported
10782 always_export_symbols=yes
10783 file_list_spec='@'
10784 # Tell ltmain to make .lib files, not .a files.
10785 libext=lib
10786 # Tell ltmain to make .dll files, not .so files.
10787 shrext_cmds=.dll
10788 # FIXME: Setting linknames here is a bad hack.
10789 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10790 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10791 cp "$export_symbols" "$output_objdir/$soname.def";
10792 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10793 else
10794 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10795 fi~
10796 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10797 linknames='
10798 # The linker will not automatically build a static lib if we build a DLL.
10799 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10800 enable_shared_with_static_runtimes=yes
10801 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10802 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10803 # Don't use ranlib
10804 old_postinstall_cmds='chmod 644 $oldlib'
10805 postlink_cmds='lt_outputfile="@OUTPUT@"~
10806 lt_tool_outputfile="@TOOL_OUTPUT@"~
10807 case $lt_outputfile in
10808 *.exe|*.EXE) ;;
10809 *)
10810 lt_outputfile=$lt_outputfile.exe
10811 lt_tool_outputfile=$lt_tool_outputfile.exe
10812 ;;
10813 esac~
10814 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10815 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10816 $RM "$lt_outputfile.manifest";
10817 fi'
10818 ;;
10819 *)
10820 # Assume MSVC wrapper
10821 hardcode_libdir_flag_spec=' '
10822 allow_undefined_flag=unsupported
10823 # Tell ltmain to make .lib files, not .a files.
10824 libext=lib
10825 # Tell ltmain to make .dll files, not .so files.
10826 shrext_cmds=.dll
10827 # FIXME: Setting linknames here is a bad hack.
10828 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10829 # The linker will automatically build a .lib file if we build a DLL.
10830 old_archive_from_new_cmds='true'
10831 # FIXME: Should let the user specify the lib program.
10832 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10833 enable_shared_with_static_runtimes=yes
10834 ;;
10835 esac
10836 ;;
10837
10838 darwin* | rhapsody*)
10839
10840
10841 archive_cmds_need_lc=no
10842 hardcode_direct=no
10843 hardcode_automatic=yes
10844 hardcode_shlibpath_var=unsupported
10845 if test yes = "$lt_cv_ld_force_load"; then
10846 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\"`'
10847
10848 else
10849 whole_archive_flag_spec=''
10850 fi
10851 link_all_deplibs=yes
10852 allow_undefined_flag=$_lt_dar_allow_undefined
10853 case $cc_basename in
10854 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10855 *) _lt_dar_can_shared=$GCC ;;
10856 esac
10857 if test yes = "$_lt_dar_can_shared"; then
10858 output_verbose_link_cmd=func_echo_all
10859 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10860 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10861 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"
10862 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"
10863
10864 else
10865 ld_shlibs=no
10866 fi
10867
10868 ;;
10869
10870 dgux*)
10871 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10872 hardcode_libdir_flag_spec='-L$libdir'
10873 hardcode_shlibpath_var=no
10874 ;;
10875
10876 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10877 # support. Future versions do this automatically, but an explicit c++rt0.o
10878 # does not break anything, and helps significantly (at the cost of a little
10879 # extra space).
10880 freebsd2.2*)
10881 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10882 hardcode_libdir_flag_spec='-R$libdir'
10883 hardcode_direct=yes
10884 hardcode_shlibpath_var=no
10885 ;;
10886
10887 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10888 freebsd2.*)
10889 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10890 hardcode_direct=yes
10891 hardcode_minus_L=yes
10892 hardcode_shlibpath_var=no
10893 ;;
10894
10895 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10896 freebsd* | dragonfly*)
10897 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10898 hardcode_libdir_flag_spec='-R$libdir'
10899 hardcode_direct=yes
10900 hardcode_shlibpath_var=no
10901 ;;
10902
10903 hpux9*)
10904 if test yes = "$GCC"; then
10905 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10906 else
10907 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10908 fi
10909 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10910 hardcode_libdir_separator=:
10911 hardcode_direct=yes
10912
10913 # hardcode_minus_L: Not really in the search PATH,
10914 # but as the default location of the library.
10915 hardcode_minus_L=yes
10916 export_dynamic_flag_spec='$wl-E'
10917 ;;
10918
10919 hpux10*)
10920 if test yes,no = "$GCC,$with_gnu_ld"; then
10921 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10922 else
10923 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10924 fi
10925 if test no = "$with_gnu_ld"; then
10926 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10927 hardcode_libdir_separator=:
10928 hardcode_direct=yes
10929 hardcode_direct_absolute=yes
10930 export_dynamic_flag_spec='$wl-E'
10931 # hardcode_minus_L: Not really in the search PATH,
10932 # but as the default location of the library.
10933 hardcode_minus_L=yes
10934 fi
10935 ;;
10936
10937 hpux11*)
10938 if test yes,no = "$GCC,$with_gnu_ld"; then
10939 case $host_cpu in
10940 hppa*64*)
10941 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10942 ;;
10943 ia64*)
10944 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10945 ;;
10946 *)
10947 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10948 ;;
10949 esac
10950 else
10951 case $host_cpu in
10952 hppa*64*)
10953 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10954 ;;
10955 ia64*)
10956 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10957 ;;
10958 *)
10959
10960 # Older versions of the 11.00 compiler do not understand -b yet
10961 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10963 $as_echo_n "checking if $CC understands -b... " >&6; }
10964 if ${lt_cv_prog_compiler__b+:} false; then :
10965 $as_echo_n "(cached) " >&6
10966 else
10967 lt_cv_prog_compiler__b=no
10968 save_LDFLAGS=$LDFLAGS
10969 LDFLAGS="$LDFLAGS -b"
10970 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10971 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10972 # The linker can only warn and ignore the option if not recognized
10973 # So say no if there are warnings
10974 if test -s conftest.err; then
10975 # Append any errors to the config.log.
10976 cat conftest.err 1>&5
10977 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10978 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10979 if diff conftest.exp conftest.er2 >/dev/null; then
10980 lt_cv_prog_compiler__b=yes
10981 fi
10982 else
10983 lt_cv_prog_compiler__b=yes
10984 fi
10985 fi
10986 $RM -r conftest*
10987 LDFLAGS=$save_LDFLAGS
10988
10989 fi
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10991 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10992
10993 if test yes = "$lt_cv_prog_compiler__b"; then
10994 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10995 else
10996 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10997 fi
10998
10999 ;;
11000 esac
11001 fi
11002 if test no = "$with_gnu_ld"; then
11003 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11004 hardcode_libdir_separator=:
11005
11006 case $host_cpu in
11007 hppa*64*|ia64*)
11008 hardcode_direct=no
11009 hardcode_shlibpath_var=no
11010 ;;
11011 *)
11012 hardcode_direct=yes
11013 hardcode_direct_absolute=yes
11014 export_dynamic_flag_spec='$wl-E'
11015
11016 # hardcode_minus_L: Not really in the search PATH,
11017 # but as the default location of the library.
11018 hardcode_minus_L=yes
11019 ;;
11020 esac
11021 fi
11022 ;;
11023
11024 irix5* | irix6* | nonstopux*)
11025 if test yes = "$GCC"; then
11026 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'
11027 # Try to use the -exported_symbol ld option, if it does not
11028 # work, assume that -exports_file does not work either and
11029 # implicitly export all symbols.
11030 # This should be the same for all languages, so no per-tag cache variable.
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11032 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11033 if ${lt_cv_irix_exported_symbol+:} false; then :
11034 $as_echo_n "(cached) " >&6
11035 else
11036 save_LDFLAGS=$LDFLAGS
11037 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11040 int foo (void) { return 0; }
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 lt_cv_irix_exported_symbol=yes
11044 else
11045 lt_cv_irix_exported_symbol=no
11046 fi
11047 rm -f core conftest.err conftest.$ac_objext \
11048 conftest$ac_exeext conftest.$ac_ext
11049 LDFLAGS=$save_LDFLAGS
11050 fi
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11052 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11053 if test yes = "$lt_cv_irix_exported_symbol"; then
11054 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'
11055 fi
11056 else
11057 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'
11058 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'
11059 fi
11060 archive_cmds_need_lc='no'
11061 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11062 hardcode_libdir_separator=:
11063 inherit_rpath=yes
11064 link_all_deplibs=yes
11065 ;;
11066
11067 linux*)
11068 case $cc_basename in
11069 tcc*)
11070 # Fabrice Bellard et al's Tiny C Compiler
11071 ld_shlibs=yes
11072 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11073 ;;
11074 esac
11075 ;;
11076
11077 netbsd*)
11078 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11079 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11080 else
11081 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11082 fi
11083 hardcode_libdir_flag_spec='-R$libdir'
11084 hardcode_direct=yes
11085 hardcode_shlibpath_var=no
11086 ;;
11087
11088 newsos6)
11089 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11090 hardcode_direct=yes
11091 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11092 hardcode_libdir_separator=:
11093 hardcode_shlibpath_var=no
11094 ;;
11095
11096 *nto* | *qnx*)
11097 ;;
11098
11099 openbsd* | bitrig*)
11100 if test -f /usr/libexec/ld.so; then
11101 hardcode_direct=yes
11102 hardcode_shlibpath_var=no
11103 hardcode_direct_absolute=yes
11104 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11105 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11106 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11107 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11108 export_dynamic_flag_spec='$wl-E'
11109 else
11110 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11111 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11112 fi
11113 else
11114 ld_shlibs=no
11115 fi
11116 ;;
11117
11118 os2*)
11119 hardcode_libdir_flag_spec='-L$libdir'
11120 hardcode_minus_L=yes
11121 allow_undefined_flag=unsupported
11122 shrext_cmds=.dll
11123 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11124 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11125 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11126 $ECHO EXPORTS >> $output_objdir/$libname.def~
11127 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11128 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11129 emximp -o $lib $output_objdir/$libname.def'
11130 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11131 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11132 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11133 $ECHO EXPORTS >> $output_objdir/$libname.def~
11134 prefix_cmds="$SED"~
11135 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11136 prefix_cmds="$prefix_cmds -e 1d";
11137 fi~
11138 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11139 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11140 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11141 emximp -o $lib $output_objdir/$libname.def'
11142 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11143 enable_shared_with_static_runtimes=yes
11144 ;;
11145
11146 osf3*)
11147 if test yes = "$GCC"; then
11148 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11149 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'
11150 else
11151 allow_undefined_flag=' -expect_unresolved \*'
11152 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'
11153 fi
11154 archive_cmds_need_lc='no'
11155 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11156 hardcode_libdir_separator=:
11157 ;;
11158
11159 osf4* | osf5*) # as osf3* with the addition of -msym flag
11160 if test yes = "$GCC"; then
11161 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11162 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'
11163 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11164 else
11165 allow_undefined_flag=' -expect_unresolved \*'
11166 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'
11167 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~
11168 $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'
11169
11170 # Both c and cxx compiler support -rpath directly
11171 hardcode_libdir_flag_spec='-rpath $libdir'
11172 fi
11173 archive_cmds_need_lc='no'
11174 hardcode_libdir_separator=:
11175 ;;
11176
11177 solaris*)
11178 no_undefined_flag=' -z defs'
11179 if test yes = "$GCC"; then
11180 wlarc='$wl'
11181 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11182 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11183 $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'
11184 else
11185 case `$CC -V 2>&1` in
11186 *"Compilers 5.0"*)
11187 wlarc=''
11188 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11189 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11190 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11191 ;;
11192 *)
11193 wlarc='$wl'
11194 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11195 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11196 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11197 ;;
11198 esac
11199 fi
11200 hardcode_libdir_flag_spec='-R$libdir'
11201 hardcode_shlibpath_var=no
11202 case $host_os in
11203 solaris2.[0-5] | solaris2.[0-5].*) ;;
11204 *)
11205 # The compiler driver will combine and reorder linker options,
11206 # but understands '-z linker_flag'. GCC discards it without '$wl',
11207 # but is careful enough not to reorder.
11208 # Supported since Solaris 2.6 (maybe 2.5.1?)
11209 if test yes = "$GCC"; then
11210 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11211 else
11212 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11213 fi
11214 ;;
11215 esac
11216 link_all_deplibs=yes
11217 ;;
11218
11219 sunos4*)
11220 if test sequent = "$host_vendor"; then
11221 # Use $CC to link under sequent, because it throws in some extra .o
11222 # files that make .init and .fini sections work.
11223 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11224 else
11225 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11226 fi
11227 hardcode_libdir_flag_spec='-L$libdir'
11228 hardcode_direct=yes
11229 hardcode_minus_L=yes
11230 hardcode_shlibpath_var=no
11231 ;;
11232
11233 sysv4)
11234 case $host_vendor in
11235 sni)
11236 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11237 hardcode_direct=yes # is this really true???
11238 ;;
11239 siemens)
11240 ## LD is ld it makes a PLAMLIB
11241 ## CC just makes a GrossModule.
11242 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11243 reload_cmds='$CC -r -o $output$reload_objs'
11244 hardcode_direct=no
11245 ;;
11246 motorola)
11247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11248 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11249 ;;
11250 esac
11251 runpath_var='LD_RUN_PATH'
11252 hardcode_shlibpath_var=no
11253 ;;
11254
11255 sysv4.3*)
11256 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11257 hardcode_shlibpath_var=no
11258 export_dynamic_flag_spec='-Bexport'
11259 ;;
11260
11261 sysv4*MP*)
11262 if test -d /usr/nec; then
11263 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11264 hardcode_shlibpath_var=no
11265 runpath_var=LD_RUN_PATH
11266 hardcode_runpath_var=yes
11267 ld_shlibs=yes
11268 fi
11269 ;;
11270
11271 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11272 no_undefined_flag='$wl-z,text'
11273 archive_cmds_need_lc=no
11274 hardcode_shlibpath_var=no
11275 runpath_var='LD_RUN_PATH'
11276
11277 if test yes = "$GCC"; then
11278 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11279 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11280 else
11281 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11282 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11283 fi
11284 ;;
11285
11286 sysv5* | sco3.2v5* | sco5v6*)
11287 # Note: We CANNOT use -z defs as we might desire, because we do not
11288 # link with -lc, and that would cause any symbols used from libc to
11289 # always be unresolved, which means just about no library would
11290 # ever link correctly. If we're not using GNU ld we use -z text
11291 # though, which does catch some bad symbols but isn't as heavy-handed
11292 # as -z defs.
11293 no_undefined_flag='$wl-z,text'
11294 allow_undefined_flag='$wl-z,nodefs'
11295 archive_cmds_need_lc=no
11296 hardcode_shlibpath_var=no
11297 hardcode_libdir_flag_spec='$wl-R,$libdir'
11298 hardcode_libdir_separator=':'
11299 link_all_deplibs=yes
11300 export_dynamic_flag_spec='$wl-Bexport'
11301 runpath_var='LD_RUN_PATH'
11302
11303 if test yes = "$GCC"; then
11304 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11305 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306 else
11307 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11308 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11309 fi
11310 ;;
11311
11312 uts4*)
11313 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11314 hardcode_libdir_flag_spec='-L$libdir'
11315 hardcode_shlibpath_var=no
11316 ;;
11317
11318 *)
11319 ld_shlibs=no
11320 ;;
11321 esac
11322
11323 if test sni = "$host_vendor"; then
11324 case $host in
11325 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11326 export_dynamic_flag_spec='$wl-Blargedynsym'
11327 ;;
11328 esac
11329 fi
11330 fi
11331
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11333 $as_echo "$ld_shlibs" >&6; }
11334 test no = "$ld_shlibs" && can_build_shared=no
11335
11336 with_gnu_ld=$with_gnu_ld
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352 #
11353 # Do we need to explicitly link libc?
11354 #
11355 case "x$archive_cmds_need_lc" in
11356 x|xyes)
11357 # Assume -lc should be added
11358 archive_cmds_need_lc=yes
11359
11360 if test yes,yes = "$GCC,$enable_shared"; then
11361 case $archive_cmds in
11362 *'~'*)
11363 # FIXME: we may have to deal with multi-command sequences.
11364 ;;
11365 '$CC '*)
11366 # Test whether the compiler implicitly links with -lc since on some
11367 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11368 # to ld, don't add -lc before -lgcc.
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11370 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11371 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 $RM conftest*
11375 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11376
11377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11378 (eval $ac_compile) 2>&5
11379 ac_status=$?
11380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11381 test $ac_status = 0; } 2>conftest.err; then
11382 soname=conftest
11383 lib=conftest
11384 libobjs=conftest.$ac_objext
11385 deplibs=
11386 wl=$lt_prog_compiler_wl
11387 pic_flag=$lt_prog_compiler_pic
11388 compiler_flags=-v
11389 linker_flags=-v
11390 verstring=
11391 output_objdir=.
11392 libname=conftest
11393 lt_save_allow_undefined_flag=$allow_undefined_flag
11394 allow_undefined_flag=
11395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11396 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11397 ac_status=$?
11398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11399 test $ac_status = 0; }
11400 then
11401 lt_cv_archive_cmds_need_lc=no
11402 else
11403 lt_cv_archive_cmds_need_lc=yes
11404 fi
11405 allow_undefined_flag=$lt_save_allow_undefined_flag
11406 else
11407 cat conftest.err 1>&5
11408 fi
11409 $RM conftest*
11410
11411 fi
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11413 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11414 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11415 ;;
11416 esac
11417 fi
11418 ;;
11419 esac
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11573 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11574
11575 if test yes = "$GCC"; then
11576 case $host_os in
11577 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11578 *) lt_awk_arg='/^libraries:/' ;;
11579 esac
11580 case $host_os in
11581 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11582 *) lt_sed_strip_eq='s|=/|/|g' ;;
11583 esac
11584 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11585 case $lt_search_path_spec in
11586 *\;*)
11587 # if the path contains ";" then we assume it to be the separator
11588 # otherwise default to the standard path separator (i.e. ":") - it is
11589 # assumed that no part of a normal pathname contains ";" but that should
11590 # okay in the real world where ";" in dirpaths is itself problematic.
11591 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11592 ;;
11593 *)
11594 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11595 ;;
11596 esac
11597 # Ok, now we have the path, separated by spaces, we can step through it
11598 # and add multilib dir if necessary...
11599 lt_tmp_lt_search_path_spec=
11600 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11601 # ...but if some path component already ends with the multilib dir we assume
11602 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11603 case "$lt_multi_os_dir; $lt_search_path_spec " in
11604 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11605 lt_multi_os_dir=
11606 ;;
11607 esac
11608 for lt_sys_path in $lt_search_path_spec; do
11609 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11610 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11611 elif test -n "$lt_multi_os_dir"; then
11612 test -d "$lt_sys_path" && \
11613 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11614 fi
11615 done
11616 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11617 BEGIN {RS = " "; FS = "/|\n";} {
11618 lt_foo = "";
11619 lt_count = 0;
11620 for (lt_i = NF; lt_i > 0; lt_i--) {
11621 if ($lt_i != "" && $lt_i != ".") {
11622 if ($lt_i == "..") {
11623 lt_count++;
11624 } else {
11625 if (lt_count == 0) {
11626 lt_foo = "/" $lt_i lt_foo;
11627 } else {
11628 lt_count--;
11629 }
11630 }
11631 }
11632 }
11633 if (lt_foo != "") { lt_freq[lt_foo]++; }
11634 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11635 }'`
11636 # AWK program above erroneously prepends '/' to C:/dos/paths
11637 # for these hosts.
11638 case $host_os in
11639 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11640 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11641 esac
11642 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11643 else
11644 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11645 fi
11646 library_names_spec=
11647 libname_spec='lib$name'
11648 soname_spec=
11649 shrext_cmds=.so
11650 postinstall_cmds=
11651 postuninstall_cmds=
11652 finish_cmds=
11653 finish_eval=
11654 shlibpath_var=
11655 shlibpath_overrides_runpath=unknown
11656 version_type=none
11657 dynamic_linker="$host_os ld.so"
11658 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11659 need_lib_prefix=unknown
11660 hardcode_into_libs=no
11661
11662 # when you set need_version to no, make sure it does not cause -set_version
11663 # flags to be left without arguments
11664 need_version=unknown
11665
11666
11667
11668 case $host_os in
11669 aix3*)
11670 version_type=linux # correct to gnu/linux during the next big refactor
11671 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11672 shlibpath_var=LIBPATH
11673
11674 # AIX 3 has no versioning support, so we append a major version to the name.
11675 soname_spec='$libname$release$shared_ext$major'
11676 ;;
11677
11678 aix[4-9]*)
11679 version_type=linux # correct to gnu/linux during the next big refactor
11680 need_lib_prefix=no
11681 need_version=no
11682 hardcode_into_libs=yes
11683 if test ia64 = "$host_cpu"; then
11684 # AIX 5 supports IA64
11685 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11686 shlibpath_var=LD_LIBRARY_PATH
11687 else
11688 # With GCC up to 2.95.x, collect2 would create an import file
11689 # for dependence libraries. The import file would start with
11690 # the line '#! .'. This would cause the generated library to
11691 # depend on '.', always an invalid library. This was fixed in
11692 # development snapshots of GCC prior to 3.0.
11693 case $host_os in
11694 aix4 | aix4.[01] | aix4.[01].*)
11695 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11696 echo ' yes '
11697 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11698 :
11699 else
11700 can_build_shared=no
11701 fi
11702 ;;
11703 esac
11704 # Using Import Files as archive members, it is possible to support
11705 # filename-based versioning of shared library archives on AIX. While
11706 # this would work for both with and without runtime linking, it will
11707 # prevent static linking of such archives. So we do filename-based
11708 # shared library versioning with .so extension only, which is used
11709 # when both runtime linking and shared linking is enabled.
11710 # Unfortunately, runtime linking may impact performance, so we do
11711 # not want this to be the default eventually. Also, we use the
11712 # versioned .so libs for executables only if there is the -brtl
11713 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11714 # To allow for filename-based versioning support, we need to create
11715 # libNAME.so.V as an archive file, containing:
11716 # *) an Import File, referring to the versioned filename of the
11717 # archive as well as the shared archive member, telling the
11718 # bitwidth (32 or 64) of that shared object, and providing the
11719 # list of exported symbols of that shared object, eventually
11720 # decorated with the 'weak' keyword
11721 # *) the shared object with the F_LOADONLY flag set, to really avoid
11722 # it being seen by the linker.
11723 # At run time we better use the real file rather than another symlink,
11724 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11725
11726 case $with_aix_soname,$aix_use_runtimelinking in
11727 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11728 # soname into executable. Probably we can add versioning support to
11729 # collect2, so additional links can be useful in future.
11730 aix,yes) # traditional libtool
11731 dynamic_linker='AIX unversionable lib.so'
11732 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11733 # instead of lib<name>.a to let people know that these are not
11734 # typical AIX shared libraries.
11735 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11736 ;;
11737 aix,no) # traditional AIX only
11738 dynamic_linker='AIX lib.a(lib.so.V)'
11739 # We preserve .a as extension for shared libraries through AIX4.2
11740 # and later when we are not doing run time linking.
11741 library_names_spec='$libname$release.a $libname.a'
11742 soname_spec='$libname$release$shared_ext$major'
11743 ;;
11744 svr4,*) # full svr4 only
11745 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11746 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11747 # We do not specify a path in Import Files, so LIBPATH fires.
11748 shlibpath_overrides_runpath=yes
11749 ;;
11750 *,yes) # both, prefer svr4
11751 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11752 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11753 # unpreferred sharedlib libNAME.a needs extra handling
11754 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11755 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11756 # We do not specify a path in Import Files, so LIBPATH fires.
11757 shlibpath_overrides_runpath=yes
11758 ;;
11759 *,no) # both, prefer aix
11760 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11761 library_names_spec='$libname$release.a $libname.a'
11762 soname_spec='$libname$release$shared_ext$major'
11763 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11764 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11765 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11766 ;;
11767 esac
11768 shlibpath_var=LIBPATH
11769 fi
11770 ;;
11771
11772 amigaos*)
11773 case $host_cpu in
11774 powerpc)
11775 # Since July 2007 AmigaOS4 officially supports .so libraries.
11776 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11777 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11778 ;;
11779 m68k)
11780 library_names_spec='$libname.ixlibrary $libname.a'
11781 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11782 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11783 ;;
11784 esac
11785 ;;
11786
11787 beos*)
11788 library_names_spec='$libname$shared_ext'
11789 dynamic_linker="$host_os ld.so"
11790 shlibpath_var=LIBRARY_PATH
11791 ;;
11792
11793 bsdi[45]*)
11794 version_type=linux # correct to gnu/linux during the next big refactor
11795 need_version=no
11796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11797 soname_spec='$libname$release$shared_ext$major'
11798 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11799 shlibpath_var=LD_LIBRARY_PATH
11800 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11801 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11802 # the default ld.so.conf also contains /usr/contrib/lib and
11803 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11804 # libtool to hard-code these into programs
11805 ;;
11806
11807 cygwin* | mingw* | pw32* | cegcc*)
11808 version_type=windows
11809 shrext_cmds=.dll
11810 need_version=no
11811 need_lib_prefix=no
11812
11813 case $GCC,$cc_basename in
11814 yes,*)
11815 # gcc
11816 library_names_spec='$libname.dll.a'
11817 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11818 postinstall_cmds='base_file=`basename \$file`~
11819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11820 dldir=$destdir/`dirname \$dlpath`~
11821 test -d \$dldir || mkdir -p \$dldir~
11822 $install_prog $dir/$dlname \$dldir/$dlname~
11823 chmod a+x \$dldir/$dlname~
11824 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11825 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11826 fi'
11827 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11828 dlpath=$dir/\$dldll~
11829 $RM \$dlpath'
11830 shlibpath_overrides_runpath=yes
11831
11832 case $host_os in
11833 cygwin*)
11834 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11835 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11836
11837 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11838 ;;
11839 mingw* | cegcc*)
11840 # MinGW DLLs use traditional 'lib' prefix
11841 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11842 ;;
11843 pw32*)
11844 # pw32 DLLs use 'pw' prefix rather than 'lib'
11845 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11846 ;;
11847 esac
11848 dynamic_linker='Win32 ld.exe'
11849 ;;
11850
11851 *,cl*)
11852 # Native MSVC
11853 libname_spec='$name'
11854 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11855 library_names_spec='$libname.dll.lib'
11856
11857 case $build_os in
11858 mingw*)
11859 sys_lib_search_path_spec=
11860 lt_save_ifs=$IFS
11861 IFS=';'
11862 for lt_path in $LIB
11863 do
11864 IFS=$lt_save_ifs
11865 # Let DOS variable expansion print the short 8.3 style file name.
11866 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11867 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11868 done
11869 IFS=$lt_save_ifs
11870 # Convert to MSYS style.
11871 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11872 ;;
11873 cygwin*)
11874 # Convert to unix form, then to dos form, then back to unix form
11875 # but this time dos style (no spaces!) so that the unix form looks
11876 # like /cygdrive/c/PROGRA~1:/cygdr...
11877 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11878 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11879 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11880 ;;
11881 *)
11882 sys_lib_search_path_spec=$LIB
11883 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11884 # It is most probably a Windows format PATH.
11885 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11886 else
11887 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11888 fi
11889 # FIXME: find the short name or the path components, as spaces are
11890 # common. (e.g. "Program Files" -> "PROGRA~1")
11891 ;;
11892 esac
11893
11894 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11895 postinstall_cmds='base_file=`basename \$file`~
11896 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11897 dldir=$destdir/`dirname \$dlpath`~
11898 test -d \$dldir || mkdir -p \$dldir~
11899 $install_prog $dir/$dlname \$dldir/$dlname'
11900 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11901 dlpath=$dir/\$dldll~
11902 $RM \$dlpath'
11903 shlibpath_overrides_runpath=yes
11904 dynamic_linker='Win32 link.exe'
11905 ;;
11906
11907 *)
11908 # Assume MSVC wrapper
11909 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11910 dynamic_linker='Win32 ld.exe'
11911 ;;
11912 esac
11913 # FIXME: first we should search . and the directory the executable is in
11914 shlibpath_var=PATH
11915 ;;
11916
11917 darwin* | rhapsody*)
11918 dynamic_linker="$host_os dyld"
11919 version_type=darwin
11920 need_lib_prefix=no
11921 need_version=no
11922 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11923 soname_spec='$libname$release$major$shared_ext'
11924 shlibpath_overrides_runpath=yes
11925 shlibpath_var=DYLD_LIBRARY_PATH
11926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11927
11928 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11929 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11930 ;;
11931
11932 dgux*)
11933 version_type=linux # correct to gnu/linux during the next big refactor
11934 need_lib_prefix=no
11935 need_version=no
11936 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11937 soname_spec='$libname$release$shared_ext$major'
11938 shlibpath_var=LD_LIBRARY_PATH
11939 ;;
11940
11941 freebsd* | dragonfly*)
11942 # DragonFly does not have aout. When/if they implement a new
11943 # versioning mechanism, adjust this.
11944 if test -x /usr/bin/objformat; then
11945 objformat=`/usr/bin/objformat`
11946 else
11947 case $host_os in
11948 freebsd[23].*) objformat=aout ;;
11949 *) objformat=elf ;;
11950 esac
11951 fi
11952 version_type=freebsd-$objformat
11953 case $version_type in
11954 freebsd-elf*)
11955 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11956 soname_spec='$libname$release$shared_ext$major'
11957 need_version=no
11958 need_lib_prefix=no
11959 ;;
11960 freebsd-*)
11961 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11962 need_version=yes
11963 ;;
11964 esac
11965 shlibpath_var=LD_LIBRARY_PATH
11966 case $host_os in
11967 freebsd2.*)
11968 shlibpath_overrides_runpath=yes
11969 ;;
11970 freebsd3.[01]* | freebsdelf3.[01]*)
11971 shlibpath_overrides_runpath=yes
11972 hardcode_into_libs=yes
11973 ;;
11974 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11975 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11976 shlibpath_overrides_runpath=no
11977 hardcode_into_libs=yes
11978 ;;
11979 *) # from 4.6 on, and DragonFly
11980 shlibpath_overrides_runpath=yes
11981 hardcode_into_libs=yes
11982 ;;
11983 esac
11984 ;;
11985
11986 haiku*)
11987 version_type=linux # correct to gnu/linux during the next big refactor
11988 need_lib_prefix=no
11989 need_version=no
11990 dynamic_linker="$host_os runtime_loader"
11991 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11992 soname_spec='$libname$release$shared_ext$major'
11993 shlibpath_var=LIBRARY_PATH
11994 shlibpath_overrides_runpath=no
11995 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11996 hardcode_into_libs=yes
11997 ;;
11998
11999 hpux9* | hpux10* | hpux11*)
12000 # Give a soname corresponding to the major version so that dld.sl refuses to
12001 # link against other versions.
12002 version_type=sunos
12003 need_lib_prefix=no
12004 need_version=no
12005 case $host_cpu in
12006 ia64*)
12007 shrext_cmds='.so'
12008 hardcode_into_libs=yes
12009 dynamic_linker="$host_os dld.so"
12010 shlibpath_var=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12012 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12013 soname_spec='$libname$release$shared_ext$major'
12014 if test 32 = "$HPUX_IA64_MODE"; then
12015 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12016 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12017 else
12018 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12019 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12020 fi
12021 ;;
12022 hppa*64*)
12023 shrext_cmds='.sl'
12024 hardcode_into_libs=yes
12025 dynamic_linker="$host_os dld.sl"
12026 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12027 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12028 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12029 soname_spec='$libname$release$shared_ext$major'
12030 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12031 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12032 ;;
12033 *)
12034 shrext_cmds='.sl'
12035 dynamic_linker="$host_os dld.sl"
12036 shlibpath_var=SHLIB_PATH
12037 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12039 soname_spec='$libname$release$shared_ext$major'
12040 ;;
12041 esac
12042 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12043 postinstall_cmds='chmod 555 $lib'
12044 # or fails outright, so override atomically:
12045 install_override_mode=555
12046 ;;
12047
12048 interix[3-9]*)
12049 version_type=linux # correct to gnu/linux during the next big refactor
12050 need_lib_prefix=no
12051 need_version=no
12052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12053 soname_spec='$libname$release$shared_ext$major'
12054 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12055 shlibpath_var=LD_LIBRARY_PATH
12056 shlibpath_overrides_runpath=no
12057 hardcode_into_libs=yes
12058 ;;
12059
12060 irix5* | irix6* | nonstopux*)
12061 case $host_os in
12062 nonstopux*) version_type=nonstopux ;;
12063 *)
12064 if test yes = "$lt_cv_prog_gnu_ld"; then
12065 version_type=linux # correct to gnu/linux during the next big refactor
12066 else
12067 version_type=irix
12068 fi ;;
12069 esac
12070 need_lib_prefix=no
12071 need_version=no
12072 soname_spec='$libname$release$shared_ext$major'
12073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12074 case $host_os in
12075 irix5* | nonstopux*)
12076 libsuff= shlibsuff=
12077 ;;
12078 *)
12079 case $LD in # libtool.m4 will add one of these switches to LD
12080 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12081 libsuff= shlibsuff= libmagic=32-bit;;
12082 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12083 libsuff=32 shlibsuff=N32 libmagic=N32;;
12084 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12085 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12086 *) libsuff= shlibsuff= libmagic=never-match;;
12087 esac
12088 ;;
12089 esac
12090 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12091 shlibpath_overrides_runpath=no
12092 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12093 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12094 hardcode_into_libs=yes
12095 ;;
12096
12097 # No shared lib support for Linux oldld, aout, or coff.
12098 linux*oldld* | linux*aout* | linux*coff*)
12099 dynamic_linker=no
12100 ;;
12101
12102 linux*android*)
12103 version_type=none # Android doesn't support versioned libraries.
12104 need_lib_prefix=no
12105 need_version=no
12106 library_names_spec='$libname$release$shared_ext'
12107 soname_spec='$libname$release$shared_ext'
12108 finish_cmds=
12109 shlibpath_var=LD_LIBRARY_PATH
12110 shlibpath_overrides_runpath=yes
12111
12112 # This implies no fast_install, which is unacceptable.
12113 # Some rework will be needed to allow for fast_install
12114 # before this can be enabled.
12115 hardcode_into_libs=yes
12116
12117 dynamic_linker='Android linker'
12118 # Don't embed -rpath directories since the linker doesn't support them.
12119 hardcode_libdir_flag_spec='-L$libdir'
12120 ;;
12121
12122 # This must be glibc/ELF.
12123 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12124 version_type=linux # correct to gnu/linux during the next big refactor
12125 need_lib_prefix=no
12126 need_version=no
12127 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12128 soname_spec='$libname$release$shared_ext$major'
12129 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12130 shlibpath_var=LD_LIBRARY_PATH
12131 shlibpath_overrides_runpath=no
12132
12133 # Some binutils ld are patched to set DT_RUNPATH
12134 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12135 $as_echo_n "(cached) " >&6
12136 else
12137 lt_cv_shlibpath_overrides_runpath=no
12138 save_LDFLAGS=$LDFLAGS
12139 save_libdir=$libdir
12140 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12141 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12144
12145 int
12146 main ()
12147 {
12148
12149 ;
12150 return 0;
12151 }
12152 _ACEOF
12153 if ac_fn_c_try_link "$LINENO"; then :
12154 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12155 lt_cv_shlibpath_overrides_runpath=yes
12156 fi
12157 fi
12158 rm -f core conftest.err conftest.$ac_objext \
12159 conftest$ac_exeext conftest.$ac_ext
12160 LDFLAGS=$save_LDFLAGS
12161 libdir=$save_libdir
12162
12163 fi
12164
12165 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12166
12167 # This implies no fast_install, which is unacceptable.
12168 # Some rework will be needed to allow for fast_install
12169 # before this can be enabled.
12170 hardcode_into_libs=yes
12171
12172 # Add ABI-specific directories to the system library path.
12173 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12174
12175 # Ideally, we could use ldconfig to report *all* directores which are
12176 # searched for libraries, however this is still not possible. Aside from not
12177 # being certain /sbin/ldconfig is available, command
12178 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12179 # even though it is searched at run-time. Try to do the best guess by
12180 # appending ld.so.conf contents (and includes) to the search path.
12181 if test -f /etc/ld.so.conf; then
12182 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' ' '`
12183 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12184 fi
12185
12186 # We used to test for /lib/ld.so.1 and disable shared libraries on
12187 # powerpc, because MkLinux only supported shared libraries with the
12188 # GNU dynamic linker. Since this was broken with cross compilers,
12189 # most powerpc-linux boxes support dynamic linking these days and
12190 # people can always --disable-shared, the test was removed, and we
12191 # assume the GNU/Linux dynamic linker is in use.
12192 dynamic_linker='GNU/Linux ld.so'
12193 ;;
12194
12195 netbsd*)
12196 version_type=sunos
12197 need_lib_prefix=no
12198 need_version=no
12199 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12200 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12201 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12202 dynamic_linker='NetBSD (a.out) ld.so'
12203 else
12204 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12205 soname_spec='$libname$release$shared_ext$major'
12206 dynamic_linker='NetBSD ld.elf_so'
12207 fi
12208 shlibpath_var=LD_LIBRARY_PATH
12209 shlibpath_overrides_runpath=yes
12210 hardcode_into_libs=yes
12211 ;;
12212
12213 newsos6)
12214 version_type=linux # correct to gnu/linux during the next big refactor
12215 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12216 shlibpath_var=LD_LIBRARY_PATH
12217 shlibpath_overrides_runpath=yes
12218 ;;
12219
12220 *nto* | *qnx*)
12221 version_type=qnx
12222 need_lib_prefix=no
12223 need_version=no
12224 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12225 soname_spec='$libname$release$shared_ext$major'
12226 shlibpath_var=LD_LIBRARY_PATH
12227 shlibpath_overrides_runpath=no
12228 hardcode_into_libs=yes
12229 dynamic_linker='ldqnx.so'
12230 ;;
12231
12232 openbsd* | bitrig*)
12233 version_type=sunos
12234 sys_lib_dlsearch_path_spec=/usr/lib
12235 need_lib_prefix=no
12236 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12237 need_version=no
12238 else
12239 need_version=yes
12240 fi
12241 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12242 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12243 shlibpath_var=LD_LIBRARY_PATH
12244 shlibpath_overrides_runpath=yes
12245 ;;
12246
12247 os2*)
12248 libname_spec='$name'
12249 version_type=windows
12250 shrext_cmds=.dll
12251 need_version=no
12252 need_lib_prefix=no
12253 # OS/2 can only load a DLL with a base name of 8 characters or less.
12254 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12255 v=$($ECHO $release$versuffix | tr -d .-);
12256 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12257 $ECHO $n$v`$shared_ext'
12258 library_names_spec='${libname}_dll.$libext'
12259 dynamic_linker='OS/2 ld.exe'
12260 shlibpath_var=BEGINLIBPATH
12261 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12262 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12263 postinstall_cmds='base_file=`basename \$file`~
12264 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12265 dldir=$destdir/`dirname \$dlpath`~
12266 test -d \$dldir || mkdir -p \$dldir~
12267 $install_prog $dir/$dlname \$dldir/$dlname~
12268 chmod a+x \$dldir/$dlname~
12269 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12270 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12271 fi'
12272 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12273 dlpath=$dir/\$dldll~
12274 $RM \$dlpath'
12275 ;;
12276
12277 osf3* | osf4* | osf5*)
12278 version_type=osf
12279 need_lib_prefix=no
12280 need_version=no
12281 soname_spec='$libname$release$shared_ext$major'
12282 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12283 shlibpath_var=LD_LIBRARY_PATH
12284 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12285 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12286 ;;
12287
12288 rdos*)
12289 dynamic_linker=no
12290 ;;
12291
12292 solaris*)
12293 version_type=linux # correct to gnu/linux during the next big refactor
12294 need_lib_prefix=no
12295 need_version=no
12296 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12297 soname_spec='$libname$release$shared_ext$major'
12298 shlibpath_var=LD_LIBRARY_PATH
12299 shlibpath_overrides_runpath=yes
12300 hardcode_into_libs=yes
12301 # ldd complains unless libraries are executable
12302 postinstall_cmds='chmod +x $lib'
12303 ;;
12304
12305 sunos4*)
12306 version_type=sunos
12307 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12308 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12309 shlibpath_var=LD_LIBRARY_PATH
12310 shlibpath_overrides_runpath=yes
12311 if test yes = "$with_gnu_ld"; then
12312 need_lib_prefix=no
12313 fi
12314 need_version=yes
12315 ;;
12316
12317 sysv4 | sysv4.3*)
12318 version_type=linux # correct to gnu/linux during the next big refactor
12319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12320 soname_spec='$libname$release$shared_ext$major'
12321 shlibpath_var=LD_LIBRARY_PATH
12322 case $host_vendor in
12323 sni)
12324 shlibpath_overrides_runpath=no
12325 need_lib_prefix=no
12326 runpath_var=LD_RUN_PATH
12327 ;;
12328 siemens)
12329 need_lib_prefix=no
12330 ;;
12331 motorola)
12332 need_lib_prefix=no
12333 need_version=no
12334 shlibpath_overrides_runpath=no
12335 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12336 ;;
12337 esac
12338 ;;
12339
12340 sysv4*MP*)
12341 if test -d /usr/nec; then
12342 version_type=linux # correct to gnu/linux during the next big refactor
12343 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12344 soname_spec='$libname$shared_ext.$major'
12345 shlibpath_var=LD_LIBRARY_PATH
12346 fi
12347 ;;
12348
12349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12350 version_type=sco
12351 need_lib_prefix=no
12352 need_version=no
12353 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12354 soname_spec='$libname$release$shared_ext$major'
12355 shlibpath_var=LD_LIBRARY_PATH
12356 shlibpath_overrides_runpath=yes
12357 hardcode_into_libs=yes
12358 if test yes = "$with_gnu_ld"; then
12359 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12360 else
12361 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12362 case $host_os in
12363 sco3.2v5*)
12364 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12365 ;;
12366 esac
12367 fi
12368 sys_lib_dlsearch_path_spec='/usr/lib'
12369 ;;
12370
12371 tpf*)
12372 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12373 version_type=linux # correct to gnu/linux during the next big refactor
12374 need_lib_prefix=no
12375 need_version=no
12376 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12377 shlibpath_var=LD_LIBRARY_PATH
12378 shlibpath_overrides_runpath=no
12379 hardcode_into_libs=yes
12380 ;;
12381
12382 uts4*)
12383 version_type=linux # correct to gnu/linux during the next big refactor
12384 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12385 soname_spec='$libname$release$shared_ext$major'
12386 shlibpath_var=LD_LIBRARY_PATH
12387 ;;
12388
12389 *)
12390 dynamic_linker=no
12391 ;;
12392 esac
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12394 $as_echo "$dynamic_linker" >&6; }
12395 test no = "$dynamic_linker" && can_build_shared=no
12396
12397 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12398 if test yes = "$GCC"; then
12399 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12400 fi
12401
12402 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12403 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12404 fi
12405
12406 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12407 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12408 fi
12409
12410 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12411 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12412
12413 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12414 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12415
12416 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12417 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12516 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12517 hardcode_action=
12518 if test -n "$hardcode_libdir_flag_spec" ||
12519 test -n "$runpath_var" ||
12520 test yes = "$hardcode_automatic"; then
12521
12522 # We can hardcode non-existent directories.
12523 if test no != "$hardcode_direct" &&
12524 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12525 # have to relink, otherwise we might link with an installed library
12526 # when we should be linking with a yet-to-be-installed one
12527 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12528 test no != "$hardcode_minus_L"; then
12529 # Linking always hardcodes the temporary library directory.
12530 hardcode_action=relink
12531 else
12532 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12533 hardcode_action=immediate
12534 fi
12535 else
12536 # We cannot hardcode anything, or else we can only hardcode existing
12537 # directories.
12538 hardcode_action=unsupported
12539 fi
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12541 $as_echo "$hardcode_action" >&6; }
12542
12543 if test relink = "$hardcode_action" ||
12544 test yes = "$inherit_rpath"; then
12545 # Fast installation is not supported
12546 enable_fast_install=no
12547 elif test yes = "$shlibpath_overrides_runpath" ||
12548 test no = "$enable_shared"; then
12549 # Fast installation is not necessary
12550 enable_fast_install=needless
12551 fi
12552
12553
12554
12555
12556
12557
12558 if test yes != "$enable_dlopen"; then
12559 enable_dlopen=unknown
12560 enable_dlopen_self=unknown
12561 enable_dlopen_self_static=unknown
12562 else
12563 lt_cv_dlopen=no
12564 lt_cv_dlopen_libs=
12565
12566 case $host_os in
12567 beos*)
12568 lt_cv_dlopen=load_add_on
12569 lt_cv_dlopen_libs=
12570 lt_cv_dlopen_self=yes
12571 ;;
12572
12573 mingw* | pw32* | cegcc*)
12574 lt_cv_dlopen=LoadLibrary
12575 lt_cv_dlopen_libs=
12576 ;;
12577
12578 cygwin*)
12579 lt_cv_dlopen=dlopen
12580 lt_cv_dlopen_libs=
12581 ;;
12582
12583 darwin*)
12584 # if libdl is installed we need to link against it
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12586 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12587 if ${ac_cv_lib_dl_dlopen+:} false; then :
12588 $as_echo_n "(cached) " >&6
12589 else
12590 ac_check_lib_save_LIBS=$LIBS
12591 LIBS="-ldl $LIBS"
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12594
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12598 #ifdef __cplusplus
12599 extern "C"
12600 #endif
12601 char dlopen ();
12602 int
12603 main ()
12604 {
12605 return dlopen ();
12606 ;
12607 return 0;
12608 }
12609 _ACEOF
12610 if ac_fn_c_try_link "$LINENO"; then :
12611 ac_cv_lib_dl_dlopen=yes
12612 else
12613 ac_cv_lib_dl_dlopen=no
12614 fi
12615 rm -f core conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_lib_save_LIBS
12618 fi
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12620 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12621 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12622 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12623 else
12624
12625 lt_cv_dlopen=dyld
12626 lt_cv_dlopen_libs=
12627 lt_cv_dlopen_self=yes
12628
12629 fi
12630
12631 ;;
12632
12633 tpf*)
12634 # Don't try to run any link tests for TPF. We know it's impossible
12635 # because TPF is a cross-compiler, and we know how we open DSOs.
12636 lt_cv_dlopen=dlopen
12637 lt_cv_dlopen_libs=
12638 lt_cv_dlopen_self=no
12639 ;;
12640
12641 *)
12642 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12643 if test "x$ac_cv_func_shl_load" = xyes; then :
12644 lt_cv_dlopen=shl_load
12645 else
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12647 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12648 if ${ac_cv_lib_dld_shl_load+:} false; then :
12649 $as_echo_n "(cached) " >&6
12650 else
12651 ac_check_lib_save_LIBS=$LIBS
12652 LIBS="-ldld $LIBS"
12653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 /* end confdefs.h. */
12655
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12659 #ifdef __cplusplus
12660 extern "C"
12661 #endif
12662 char shl_load ();
12663 int
12664 main ()
12665 {
12666 return shl_load ();
12667 ;
12668 return 0;
12669 }
12670 _ACEOF
12671 if ac_fn_c_try_link "$LINENO"; then :
12672 ac_cv_lib_dld_shl_load=yes
12673 else
12674 ac_cv_lib_dld_shl_load=no
12675 fi
12676 rm -f core conftest.err conftest.$ac_objext \
12677 conftest$ac_exeext conftest.$ac_ext
12678 LIBS=$ac_check_lib_save_LIBS
12679 fi
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12681 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12682 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12683 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12684 else
12685 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12686 if test "x$ac_cv_func_dlopen" = xyes; then :
12687 lt_cv_dlopen=dlopen
12688 else
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12690 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12691 if ${ac_cv_lib_dl_dlopen+:} false; then :
12692 $as_echo_n "(cached) " >&6
12693 else
12694 ac_check_lib_save_LIBS=$LIBS
12695 LIBS="-ldl $LIBS"
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12698
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12702 #ifdef __cplusplus
12703 extern "C"
12704 #endif
12705 char dlopen ();
12706 int
12707 main ()
12708 {
12709 return dlopen ();
12710 ;
12711 return 0;
12712 }
12713 _ACEOF
12714 if ac_fn_c_try_link "$LINENO"; then :
12715 ac_cv_lib_dl_dlopen=yes
12716 else
12717 ac_cv_lib_dl_dlopen=no
12718 fi
12719 rm -f core conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_lib_save_LIBS
12722 fi
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12724 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12725 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12726 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12727 else
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12729 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12730 if ${ac_cv_lib_svld_dlopen+:} false; then :
12731 $as_echo_n "(cached) " >&6
12732 else
12733 ac_check_lib_save_LIBS=$LIBS
12734 LIBS="-lsvld $LIBS"
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12737
12738 /* Override any GCC internal prototype to avoid an error.
12739 Use char because int might match the return type of a GCC
12740 builtin and then its argument prototype would still apply. */
12741 #ifdef __cplusplus
12742 extern "C"
12743 #endif
12744 char dlopen ();
12745 int
12746 main ()
12747 {
12748 return dlopen ();
12749 ;
12750 return 0;
12751 }
12752 _ACEOF
12753 if ac_fn_c_try_link "$LINENO"; then :
12754 ac_cv_lib_svld_dlopen=yes
12755 else
12756 ac_cv_lib_svld_dlopen=no
12757 fi
12758 rm -f core conftest.err conftest.$ac_objext \
12759 conftest$ac_exeext conftest.$ac_ext
12760 LIBS=$ac_check_lib_save_LIBS
12761 fi
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12763 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12764 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12765 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12766 else
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12768 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12769 if ${ac_cv_lib_dld_dld_link+:} false; then :
12770 $as_echo_n "(cached) " >&6
12771 else
12772 ac_check_lib_save_LIBS=$LIBS
12773 LIBS="-ldld $LIBS"
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12776
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12780 #ifdef __cplusplus
12781 extern "C"
12782 #endif
12783 char dld_link ();
12784 int
12785 main ()
12786 {
12787 return dld_link ();
12788 ;
12789 return 0;
12790 }
12791 _ACEOF
12792 if ac_fn_c_try_link "$LINENO"; then :
12793 ac_cv_lib_dld_dld_link=yes
12794 else
12795 ac_cv_lib_dld_dld_link=no
12796 fi
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_lib_save_LIBS
12800 fi
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12802 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12803 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12804 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12805 fi
12806
12807
12808 fi
12809
12810
12811 fi
12812
12813
12814 fi
12815
12816
12817 fi
12818
12819
12820 fi
12821
12822 ;;
12823 esac
12824
12825 if test no = "$lt_cv_dlopen"; then
12826 enable_dlopen=no
12827 else
12828 enable_dlopen=yes
12829 fi
12830
12831 case $lt_cv_dlopen in
12832 dlopen)
12833 save_CPPFLAGS=$CPPFLAGS
12834 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12835
12836 save_LDFLAGS=$LDFLAGS
12837 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12838
12839 save_LIBS=$LIBS
12840 LIBS="$lt_cv_dlopen_libs $LIBS"
12841
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12843 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12844 if ${lt_cv_dlopen_self+:} false; then :
12845 $as_echo_n "(cached) " >&6
12846 else
12847 if test yes = "$cross_compiling"; then :
12848 lt_cv_dlopen_self=cross
12849 else
12850 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12851 lt_status=$lt_dlunknown
12852 cat > conftest.$ac_ext <<_LT_EOF
12853 #line $LINENO "configure"
12854 #include "confdefs.h"
12855
12856 #if HAVE_DLFCN_H
12857 #include <dlfcn.h>
12858 #endif
12859
12860 #include <stdio.h>
12861
12862 #ifdef RTLD_GLOBAL
12863 # define LT_DLGLOBAL RTLD_GLOBAL
12864 #else
12865 # ifdef DL_GLOBAL
12866 # define LT_DLGLOBAL DL_GLOBAL
12867 # else
12868 # define LT_DLGLOBAL 0
12869 # endif
12870 #endif
12871
12872 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12873 find out it does not work in some platform. */
12874 #ifndef LT_DLLAZY_OR_NOW
12875 # ifdef RTLD_LAZY
12876 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12877 # else
12878 # ifdef DL_LAZY
12879 # define LT_DLLAZY_OR_NOW DL_LAZY
12880 # else
12881 # ifdef RTLD_NOW
12882 # define LT_DLLAZY_OR_NOW RTLD_NOW
12883 # else
12884 # ifdef DL_NOW
12885 # define LT_DLLAZY_OR_NOW DL_NOW
12886 # else
12887 # define LT_DLLAZY_OR_NOW 0
12888 # endif
12889 # endif
12890 # endif
12891 # endif
12892 #endif
12893
12894 /* When -fvisibility=hidden is used, assume the code has been annotated
12895 correspondingly for the symbols needed. */
12896 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12897 int fnord () __attribute__((visibility("default")));
12898 #endif
12899
12900 int fnord () { return 42; }
12901 int main ()
12902 {
12903 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12904 int status = $lt_dlunknown;
12905
12906 if (self)
12907 {
12908 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12909 else
12910 {
12911 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12912 else puts (dlerror ());
12913 }
12914 /* dlclose (self); */
12915 }
12916 else
12917 puts (dlerror ());
12918
12919 return status;
12920 }
12921 _LT_EOF
12922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12923 (eval $ac_link) 2>&5
12924 ac_status=$?
12925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12926 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12927 (./conftest; exit; ) >&5 2>/dev/null
12928 lt_status=$?
12929 case x$lt_status in
12930 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12931 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12932 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12933 esac
12934 else :
12935 # compilation failed
12936 lt_cv_dlopen_self=no
12937 fi
12938 fi
12939 rm -fr conftest*
12940
12941
12942 fi
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12944 $as_echo "$lt_cv_dlopen_self" >&6; }
12945
12946 if test yes = "$lt_cv_dlopen_self"; then
12947 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12949 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12950 if ${lt_cv_dlopen_self_static+:} false; then :
12951 $as_echo_n "(cached) " >&6
12952 else
12953 if test yes = "$cross_compiling"; then :
12954 lt_cv_dlopen_self_static=cross
12955 else
12956 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12957 lt_status=$lt_dlunknown
12958 cat > conftest.$ac_ext <<_LT_EOF
12959 #line $LINENO "configure"
12960 #include "confdefs.h"
12961
12962 #if HAVE_DLFCN_H
12963 #include <dlfcn.h>
12964 #endif
12965
12966 #include <stdio.h>
12967
12968 #ifdef RTLD_GLOBAL
12969 # define LT_DLGLOBAL RTLD_GLOBAL
12970 #else
12971 # ifdef DL_GLOBAL
12972 # define LT_DLGLOBAL DL_GLOBAL
12973 # else
12974 # define LT_DLGLOBAL 0
12975 # endif
12976 #endif
12977
12978 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12979 find out it does not work in some platform. */
12980 #ifndef LT_DLLAZY_OR_NOW
12981 # ifdef RTLD_LAZY
12982 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12983 # else
12984 # ifdef DL_LAZY
12985 # define LT_DLLAZY_OR_NOW DL_LAZY
12986 # else
12987 # ifdef RTLD_NOW
12988 # define LT_DLLAZY_OR_NOW RTLD_NOW
12989 # else
12990 # ifdef DL_NOW
12991 # define LT_DLLAZY_OR_NOW DL_NOW
12992 # else
12993 # define LT_DLLAZY_OR_NOW 0
12994 # endif
12995 # endif
12996 # endif
12997 # endif
12998 #endif
12999
13000 /* When -fvisibility=hidden is used, assume the code has been annotated
13001 correspondingly for the symbols needed. */
13002 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13003 int fnord () __attribute__((visibility("default")));
13004 #endif
13005
13006 int fnord () { return 42; }
13007 int main ()
13008 {
13009 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13010 int status = $lt_dlunknown;
13011
13012 if (self)
13013 {
13014 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13015 else
13016 {
13017 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13018 else puts (dlerror ());
13019 }
13020 /* dlclose (self); */
13021 }
13022 else
13023 puts (dlerror ());
13024
13025 return status;
13026 }
13027 _LT_EOF
13028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13029 (eval $ac_link) 2>&5
13030 ac_status=$?
13031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13032 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13033 (./conftest; exit; ) >&5 2>/dev/null
13034 lt_status=$?
13035 case x$lt_status in
13036 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13037 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13038 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13039 esac
13040 else :
13041 # compilation failed
13042 lt_cv_dlopen_self_static=no
13043 fi
13044 fi
13045 rm -fr conftest*
13046
13047
13048 fi
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13050 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13051 fi
13052
13053 CPPFLAGS=$save_CPPFLAGS
13054 LDFLAGS=$save_LDFLAGS
13055 LIBS=$save_LIBS
13056 ;;
13057 esac
13058
13059 case $lt_cv_dlopen_self in
13060 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13061 *) enable_dlopen_self=unknown ;;
13062 esac
13063
13064 case $lt_cv_dlopen_self_static in
13065 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13066 *) enable_dlopen_self_static=unknown ;;
13067 esac
13068 fi
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086 striplib=
13087 old_striplib=
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13089 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13090 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13091 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13092 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13094 $as_echo "yes" >&6; }
13095 else
13096 # FIXME - insert some real tests, host_os isn't really good enough
13097 case $host_os in
13098 darwin*)
13099 if test -n "$STRIP"; then
13100 striplib="$STRIP -x"
13101 old_striplib="$STRIP -S"
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13103 $as_echo "yes" >&6; }
13104 else
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13106 $as_echo "no" >&6; }
13107 fi
13108 ;;
13109 *)
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13111 $as_echo "no" >&6; }
13112 ;;
13113 esac
13114 fi
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127 # Report what library types will actually be built
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13129 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13131 $as_echo "$can_build_shared" >&6; }
13132
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13134 $as_echo_n "checking whether to build shared libraries... " >&6; }
13135 test no = "$can_build_shared" && enable_shared=no
13136
13137 # On AIX, shared libraries and static libraries use the same namespace, and
13138 # are all built from PIC.
13139 case $host_os in
13140 aix3*)
13141 test yes = "$enable_shared" && enable_static=no
13142 if test -n "$RANLIB"; then
13143 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13144 postinstall_cmds='$RANLIB $lib'
13145 fi
13146 ;;
13147
13148 aix[4-9]*)
13149 if test ia64 != "$host_cpu"; then
13150 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13151 yes,aix,yes) ;; # shared object as lib.so file only
13152 yes,svr4,*) ;; # shared object as lib.so archive member only
13153 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13154 esac
13155 fi
13156 ;;
13157 esac
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13159 $as_echo "$enable_shared" >&6; }
13160
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13162 $as_echo_n "checking whether to build static libraries... " >&6; }
13163 # Make sure either enable_shared or enable_static is yes.
13164 test yes = "$enable_shared" || enable_static=yes
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13166 $as_echo "$enable_static" >&6; }
13167
13168
13169
13170
13171 fi
13172 ac_ext=c
13173 ac_cpp='$CPP $CPPFLAGS'
13174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13177
13178 CC=$lt_save_CC
13179
13180 if test -n "$CXX" && ( test no != "$CXX" &&
13181 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13182 (test g++ != "$CXX"))); then
13183 ac_ext=cpp
13184 ac_cpp='$CXXCPP $CPPFLAGS'
13185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13189 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13190 if test -z "$CXXCPP"; then
13191 if ${ac_cv_prog_CXXCPP+:} false; then :
13192 $as_echo_n "(cached) " >&6
13193 else
13194 # Double quotes because CXXCPP needs to be expanded
13195 for CXXCPP in "$CXX -E" "/lib/cpp"
13196 do
13197 ac_preproc_ok=false
13198 for ac_cxx_preproc_warn_flag in '' yes
13199 do
13200 # Use a header file that comes with gcc, so configuring glibc
13201 # with a fresh cross-compiler works.
13202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13203 # <limits.h> exists even on freestanding compilers.
13204 # On the NeXT, cc -E runs the code through the compiler's parser,
13205 # not just through cpp. "Syntax error" is here to catch this case.
13206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13208 #ifdef __STDC__
13209 # include <limits.h>
13210 #else
13211 # include <assert.h>
13212 #endif
13213 Syntax error
13214 _ACEOF
13215 if ac_fn_cxx_try_cpp "$LINENO"; then :
13216
13217 else
13218 # Broken: fails on valid input.
13219 continue
13220 fi
13221 rm -f conftest.err conftest.i conftest.$ac_ext
13222
13223 # OK, works on sane cases. Now check whether nonexistent headers
13224 # can be detected and how.
13225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13227 #include <ac_nonexistent.h>
13228 _ACEOF
13229 if ac_fn_cxx_try_cpp "$LINENO"; then :
13230 # Broken: success on invalid input.
13231 continue
13232 else
13233 # Passes both tests.
13234 ac_preproc_ok=:
13235 break
13236 fi
13237 rm -f conftest.err conftest.i conftest.$ac_ext
13238
13239 done
13240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13241 rm -f conftest.i conftest.err conftest.$ac_ext
13242 if $ac_preproc_ok; then :
13243 break
13244 fi
13245
13246 done
13247 ac_cv_prog_CXXCPP=$CXXCPP
13248
13249 fi
13250 CXXCPP=$ac_cv_prog_CXXCPP
13251 else
13252 ac_cv_prog_CXXCPP=$CXXCPP
13253 fi
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13255 $as_echo "$CXXCPP" >&6; }
13256 ac_preproc_ok=false
13257 for ac_cxx_preproc_warn_flag in '' yes
13258 do
13259 # Use a header file that comes with gcc, so configuring glibc
13260 # with a fresh cross-compiler works.
13261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13262 # <limits.h> exists even on freestanding compilers.
13263 # On the NeXT, cc -E runs the code through the compiler's parser,
13264 # not just through cpp. "Syntax error" is here to catch this case.
13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13267 #ifdef __STDC__
13268 # include <limits.h>
13269 #else
13270 # include <assert.h>
13271 #endif
13272 Syntax error
13273 _ACEOF
13274 if ac_fn_cxx_try_cpp "$LINENO"; then :
13275
13276 else
13277 # Broken: fails on valid input.
13278 continue
13279 fi
13280 rm -f conftest.err conftest.i conftest.$ac_ext
13281
13282 # OK, works on sane cases. Now check whether nonexistent headers
13283 # can be detected and how.
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13286 #include <ac_nonexistent.h>
13287 _ACEOF
13288 if ac_fn_cxx_try_cpp "$LINENO"; then :
13289 # Broken: success on invalid input.
13290 continue
13291 else
13292 # Passes both tests.
13293 ac_preproc_ok=:
13294 break
13295 fi
13296 rm -f conftest.err conftest.i conftest.$ac_ext
13297
13298 done
13299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13300 rm -f conftest.i conftest.err conftest.$ac_ext
13301 if $ac_preproc_ok; then :
13302
13303 else
13304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13306 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13307 See \`config.log' for more details" "$LINENO" 5; }
13308 fi
13309
13310 ac_ext=c
13311 ac_cpp='$CPP $CPPFLAGS'
13312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13315
13316 else
13317 _lt_caught_CXX_error=yes
13318 fi
13319
13320 ac_ext=cpp
13321 ac_cpp='$CXXCPP $CPPFLAGS'
13322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13325
13326 archive_cmds_need_lc_CXX=no
13327 allow_undefined_flag_CXX=
13328 always_export_symbols_CXX=no
13329 archive_expsym_cmds_CXX=
13330 compiler_needs_object_CXX=no
13331 export_dynamic_flag_spec_CXX=
13332 hardcode_direct_CXX=no
13333 hardcode_direct_absolute_CXX=no
13334 hardcode_libdir_flag_spec_CXX=
13335 hardcode_libdir_separator_CXX=
13336 hardcode_minus_L_CXX=no
13337 hardcode_shlibpath_var_CXX=unsupported
13338 hardcode_automatic_CXX=no
13339 inherit_rpath_CXX=no
13340 module_cmds_CXX=
13341 module_expsym_cmds_CXX=
13342 link_all_deplibs_CXX=unknown
13343 old_archive_cmds_CXX=$old_archive_cmds
13344 reload_flag_CXX=$reload_flag
13345 reload_cmds_CXX=$reload_cmds
13346 no_undefined_flag_CXX=
13347 whole_archive_flag_spec_CXX=
13348 enable_shared_with_static_runtimes_CXX=no
13349
13350 # Source file extension for C++ test sources.
13351 ac_ext=cpp
13352
13353 # Object file extension for compiled C++ test sources.
13354 objext=o
13355 objext_CXX=$objext
13356
13357 # No sense in running all these tests if we already determined that
13358 # the CXX compiler isn't working. Some variables (like enable_shared)
13359 # are currently assumed to apply to all compilers on this platform,
13360 # and will be corrupted by setting them based on a non-working compiler.
13361 if test yes != "$_lt_caught_CXX_error"; then
13362 # Code to be used in simple compile tests
13363 lt_simple_compile_test_code="int some_variable = 0;"
13364
13365 # Code to be used in simple link tests
13366 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13367
13368 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13369
13370
13371
13372
13373
13374
13375 # If no C compiler was specified, use CC.
13376 LTCC=${LTCC-"$CC"}
13377
13378 # If no C compiler flags were specified, use CFLAGS.
13379 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13380
13381 # Allow CC to be a program name with arguments.
13382 compiler=$CC
13383
13384
13385 # save warnings/boilerplate of simple test code
13386 ac_outfile=conftest.$ac_objext
13387 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13388 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13389 _lt_compiler_boilerplate=`cat conftest.err`
13390 $RM conftest*
13391
13392 ac_outfile=conftest.$ac_objext
13393 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13394 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13395 _lt_linker_boilerplate=`cat conftest.err`
13396 $RM -r conftest*
13397
13398
13399 # Allow CC to be a program name with arguments.
13400 lt_save_CC=$CC
13401 lt_save_CFLAGS=$CFLAGS
13402 lt_save_LD=$LD
13403 lt_save_GCC=$GCC
13404 GCC=$GXX
13405 lt_save_with_gnu_ld=$with_gnu_ld
13406 lt_save_path_LD=$lt_cv_path_LD
13407 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13408 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13409 else
13410 $as_unset lt_cv_prog_gnu_ld
13411 fi
13412 if test -n "${lt_cv_path_LDCXX+set}"; then
13413 lt_cv_path_LD=$lt_cv_path_LDCXX
13414 else
13415 $as_unset lt_cv_path_LD
13416 fi
13417 test -z "${LDCXX+set}" || LD=$LDCXX
13418 CC=${CXX-"c++"}
13419 CFLAGS=$CXXFLAGS
13420 compiler=$CC
13421 compiler_CXX=$CC
13422 func_cc_basename $compiler
13423 cc_basename=$func_cc_basename_result
13424
13425
13426 if test -n "$compiler"; then
13427 # We don't want -fno-exception when compiling C++ code, so set the
13428 # no_builtin_flag separately
13429 if test yes = "$GXX"; then
13430 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13431 else
13432 lt_prog_compiler_no_builtin_flag_CXX=
13433 fi
13434
13435 if test yes = "$GXX"; then
13436 # Set up default GNU C++ configuration
13437
13438
13439
13440 # Check whether --with-gnu-ld was given.
13441 if test "${with_gnu_ld+set}" = set; then :
13442 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13443 else
13444 with_gnu_ld=no
13445 fi
13446
13447 ac_prog=ld
13448 if test yes = "$GCC"; then
13449 # Check if gcc -print-prog-name=ld gives a path.
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13451 $as_echo_n "checking for ld used by $CC... " >&6; }
13452 case $host in
13453 *-*-mingw*)
13454 # gcc leaves a trailing carriage return, which upsets mingw
13455 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13456 *)
13457 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13458 esac
13459 case $ac_prog in
13460 # Accept absolute paths.
13461 [\\/]* | ?:[\\/]*)
13462 re_direlt='/[^/][^/]*/\.\./'
13463 # Canonicalize the pathname of ld
13464 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13465 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13466 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13467 done
13468 test -z "$LD" && LD=$ac_prog
13469 ;;
13470 "")
13471 # If it fails, then pretend we aren't using GCC.
13472 ac_prog=ld
13473 ;;
13474 *)
13475 # If it is relative, then search for the first ld in PATH.
13476 with_gnu_ld=unknown
13477 ;;
13478 esac
13479 elif test yes = "$with_gnu_ld"; then
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13481 $as_echo_n "checking for GNU ld... " >&6; }
13482 else
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13484 $as_echo_n "checking for non-GNU ld... " >&6; }
13485 fi
13486 if ${lt_cv_path_LD+:} false; then :
13487 $as_echo_n "(cached) " >&6
13488 else
13489 if test -z "$LD"; then
13490 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13491 for ac_dir in $PATH; do
13492 IFS=$lt_save_ifs
13493 test -z "$ac_dir" && ac_dir=.
13494 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13495 lt_cv_path_LD=$ac_dir/$ac_prog
13496 # Check to see if the program is GNU ld. I'd rather use --version,
13497 # but apparently some variants of GNU ld only accept -v.
13498 # Break only if it was the GNU/non-GNU ld that we prefer.
13499 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13500 *GNU* | *'with BFD'*)
13501 test no != "$with_gnu_ld" && break
13502 ;;
13503 *)
13504 test yes != "$with_gnu_ld" && break
13505 ;;
13506 esac
13507 fi
13508 done
13509 IFS=$lt_save_ifs
13510 else
13511 lt_cv_path_LD=$LD # Let the user override the test with a path.
13512 fi
13513 fi
13514
13515 LD=$lt_cv_path_LD
13516 if test -n "$LD"; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13518 $as_echo "$LD" >&6; }
13519 else
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13521 $as_echo "no" >&6; }
13522 fi
13523 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13525 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13526 if ${lt_cv_prog_gnu_ld+:} false; then :
13527 $as_echo_n "(cached) " >&6
13528 else
13529 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13530 case `$LD -v 2>&1 </dev/null` in
13531 *GNU* | *'with BFD'*)
13532 lt_cv_prog_gnu_ld=yes
13533 ;;
13534 *)
13535 lt_cv_prog_gnu_ld=no
13536 ;;
13537 esac
13538 fi
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13540 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13541 with_gnu_ld=$lt_cv_prog_gnu_ld
13542
13543
13544
13545
13546
13547
13548
13549 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13550 # archiving commands below assume that GNU ld is being used.
13551 if test yes = "$with_gnu_ld"; then
13552 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13553 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'
13554
13555 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13556 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13557
13558 # If archive_cmds runs LD, not CC, wlarc should be empty
13559 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13560 # investigate it a little bit more. (MM)
13561 wlarc='$wl'
13562
13563 # ancient GNU ld didn't support --whole-archive et. al.
13564 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13565 $GREP 'no-whole-archive' > /dev/null; then
13566 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13567 else
13568 whole_archive_flag_spec_CXX=
13569 fi
13570 else
13571 with_gnu_ld=no
13572 wlarc=
13573
13574 # A generic and very simple default shared library creation
13575 # command for GNU C++ for the case where it uses the native
13576 # linker, instead of GNU ld. If possible, this setting should
13577 # overridden to take advantage of the native linker features on
13578 # the platform it is being used on.
13579 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13580 fi
13581
13582 # Commands to make compiler produce verbose output that lists
13583 # what "hidden" libraries, object files and flags are used when
13584 # linking a shared library.
13585 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13586
13587 else
13588 GXX=no
13589 with_gnu_ld=no
13590 wlarc=
13591 fi
13592
13593 # PORTME: fill in a description of your system's C++ link characteristics
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13595 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13596 ld_shlibs_CXX=yes
13597 case $host_os in
13598 aix3*)
13599 # FIXME: insert proper C++ library support
13600 ld_shlibs_CXX=no
13601 ;;
13602 aix[4-9]*)
13603 if test ia64 = "$host_cpu"; then
13604 # On IA64, the linker does run time linking by default, so we don't
13605 # have to do anything special.
13606 aix_use_runtimelinking=no
13607 exp_sym_flag='-Bexport'
13608 no_entry_flag=
13609 else
13610 aix_use_runtimelinking=no
13611
13612 # Test if we are trying to use run time linking or normal
13613 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13614 # have runtime linking enabled, and use it for executables.
13615 # For shared libraries, we enable/disable runtime linking
13616 # depending on the kind of the shared library created -
13617 # when "with_aix_soname,aix_use_runtimelinking" is:
13618 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13619 # "aix,yes" lib.so shared, rtl:yes, for executables
13620 # lib.a static archive
13621 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13622 # lib.a(lib.so.V) shared, rtl:no, for executables
13623 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13624 # lib.a(lib.so.V) shared, rtl:no
13625 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13626 # lib.a static archive
13627 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13628 for ld_flag in $LDFLAGS; do
13629 case $ld_flag in
13630 *-brtl*)
13631 aix_use_runtimelinking=yes
13632 break
13633 ;;
13634 esac
13635 done
13636 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13637 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13638 # so we don't have lib.a shared libs to link our executables.
13639 # We have to force runtime linking in this case.
13640 aix_use_runtimelinking=yes
13641 LDFLAGS="$LDFLAGS -Wl,-brtl"
13642 fi
13643 ;;
13644 esac
13645
13646 exp_sym_flag='-bexport'
13647 no_entry_flag='-bnoentry'
13648 fi
13649
13650 # When large executables or shared objects are built, AIX ld can
13651 # have problems creating the table of contents. If linking a library
13652 # or program results in "error TOC overflow" add -mminimal-toc to
13653 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13654 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13655
13656 archive_cmds_CXX=''
13657 hardcode_direct_CXX=yes
13658 hardcode_direct_absolute_CXX=yes
13659 hardcode_libdir_separator_CXX=':'
13660 link_all_deplibs_CXX=yes
13661 file_list_spec_CXX='$wl-f,'
13662 case $with_aix_soname,$aix_use_runtimelinking in
13663 aix,*) ;; # no import file
13664 svr4,* | *,yes) # use import file
13665 # The Import File defines what to hardcode.
13666 hardcode_direct_CXX=no
13667 hardcode_direct_absolute_CXX=no
13668 ;;
13669 esac
13670
13671 if test yes = "$GXX"; then
13672 case $host_os in aix4.[012]|aix4.[012].*)
13673 # We only want to do this on AIX 4.2 and lower, the check
13674 # below for broken collect2 doesn't work under 4.3+
13675 collect2name=`$CC -print-prog-name=collect2`
13676 if test -f "$collect2name" &&
13677 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13678 then
13679 # We have reworked collect2
13680 :
13681 else
13682 # We have old collect2
13683 hardcode_direct_CXX=unsupported
13684 # It fails to find uninstalled libraries when the uninstalled
13685 # path is not listed in the libpath. Setting hardcode_minus_L
13686 # to unsupported forces relinking
13687 hardcode_minus_L_CXX=yes
13688 hardcode_libdir_flag_spec_CXX='-L$libdir'
13689 hardcode_libdir_separator_CXX=
13690 fi
13691 esac
13692 shared_flag='-shared'
13693 if test yes = "$aix_use_runtimelinking"; then
13694 shared_flag=$shared_flag' $wl-G'
13695 fi
13696 # Need to ensure runtime linking is disabled for the traditional
13697 # shared library, or the linker may eventually find shared libraries
13698 # /with/ Import File - we do not want to mix them.
13699 shared_flag_aix='-shared'
13700 shared_flag_svr4='-shared $wl-G'
13701 else
13702 # not using gcc
13703 if test ia64 = "$host_cpu"; then
13704 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13705 # chokes on -Wl,-G. The following line is correct:
13706 shared_flag='-G'
13707 else
13708 if test yes = "$aix_use_runtimelinking"; then
13709 shared_flag='$wl-G'
13710 else
13711 shared_flag='$wl-bM:SRE'
13712 fi
13713 shared_flag_aix='$wl-bM:SRE'
13714 shared_flag_svr4='$wl-G'
13715 fi
13716 fi
13717
13718 export_dynamic_flag_spec_CXX='$wl-bexpall'
13719 # It seems that -bexpall does not export symbols beginning with
13720 # underscore (_), so it is better to generate a list of symbols to
13721 # export.
13722 always_export_symbols_CXX=yes
13723 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13724 # Warning - without using the other runtime loading flags (-brtl),
13725 # -berok will link without error, but may produce a broken library.
13726 # The "-G" linker flag allows undefined symbols.
13727 no_undefined_flag_CXX='-bernotok'
13728 # Determine the default libpath from the value encoded in an empty
13729 # executable.
13730 if test set = "${lt_cv_aix_libpath+set}"; then
13731 aix_libpath=$lt_cv_aix_libpath
13732 else
13733 if ${lt_cv_aix_libpath__CXX+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13738
13739 int
13740 main ()
13741 {
13742
13743 ;
13744 return 0;
13745 }
13746 _ACEOF
13747 if ac_fn_cxx_try_link "$LINENO"; then :
13748
13749 lt_aix_libpath_sed='
13750 /Import File Strings/,/^$/ {
13751 /^0/ {
13752 s/^0 *\([^ ]*\) *$/\1/
13753 p
13754 }
13755 }'
13756 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13757 # Check for a 64-bit object if we didn't find anything.
13758 if test -z "$lt_cv_aix_libpath__CXX"; then
13759 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13760 fi
13761 fi
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 if test -z "$lt_cv_aix_libpath__CXX"; then
13765 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13766 fi
13767
13768 fi
13769
13770 aix_libpath=$lt_cv_aix_libpath__CXX
13771 fi
13772
13773 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13774
13775 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13776 else
13777 if test ia64 = "$host_cpu"; then
13778 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13779 allow_undefined_flag_CXX="-z nodefs"
13780 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"
13781 else
13782 # Determine the default libpath from the value encoded in an
13783 # empty executable.
13784 if test set = "${lt_cv_aix_libpath+set}"; then
13785 aix_libpath=$lt_cv_aix_libpath
13786 else
13787 if ${lt_cv_aix_libpath__CXX+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13791 /* end confdefs.h. */
13792
13793 int
13794 main ()
13795 {
13796
13797 ;
13798 return 0;
13799 }
13800 _ACEOF
13801 if ac_fn_cxx_try_link "$LINENO"; then :
13802
13803 lt_aix_libpath_sed='
13804 /Import File Strings/,/^$/ {
13805 /^0/ {
13806 s/^0 *\([^ ]*\) *$/\1/
13807 p
13808 }
13809 }'
13810 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13811 # Check for a 64-bit object if we didn't find anything.
13812 if test -z "$lt_cv_aix_libpath__CXX"; then
13813 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13814 fi
13815 fi
13816 rm -f core conftest.err conftest.$ac_objext \
13817 conftest$ac_exeext conftest.$ac_ext
13818 if test -z "$lt_cv_aix_libpath__CXX"; then
13819 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13820 fi
13821
13822 fi
13823
13824 aix_libpath=$lt_cv_aix_libpath__CXX
13825 fi
13826
13827 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13828 # Warning - without using the other run time loading flags,
13829 # -berok will link without error, but may produce a broken library.
13830 no_undefined_flag_CXX=' $wl-bernotok'
13831 allow_undefined_flag_CXX=' $wl-berok'
13832 if test yes = "$with_gnu_ld"; then
13833 # We only use this code for GNU lds that support --whole-archive.
13834 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13835 else
13836 # Exported symbols can be pulled into shared objects from archives
13837 whole_archive_flag_spec_CXX='$convenience'
13838 fi
13839 archive_cmds_need_lc_CXX=yes
13840 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13841 # -brtl affects multiple linker settings, -berok does not and is overridden later
13842 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13843 if test svr4 != "$with_aix_soname"; then
13844 # This is similar to how AIX traditionally builds its shared
13845 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13846 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13847 fi
13848 if test aix != "$with_aix_soname"; then
13849 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13850 else
13851 # used by -dlpreopen to get the symbols
13852 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13853 fi
13854 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13855 fi
13856 fi
13857 ;;
13858
13859 beos*)
13860 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13861 allow_undefined_flag_CXX=unsupported
13862 # Joseph Beckenbach <[email protected]> says some releases of gcc
13863 # support --undefined. This deserves some investigation. FIXME
13864 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13865 else
13866 ld_shlibs_CXX=no
13867 fi
13868 ;;
13869
13870 chorus*)
13871 case $cc_basename in
13872 *)
13873 # FIXME: insert proper C++ library support
13874 ld_shlibs_CXX=no
13875 ;;
13876 esac
13877 ;;
13878
13879 cygwin* | mingw* | pw32* | cegcc*)
13880 case $GXX,$cc_basename in
13881 ,cl* | no,cl*)
13882 # Native MSVC
13883 # hardcode_libdir_flag_spec is actually meaningless, as there is
13884 # no search path for DLLs.
13885 hardcode_libdir_flag_spec_CXX=' '
13886 allow_undefined_flag_CXX=unsupported
13887 always_export_symbols_CXX=yes
13888 file_list_spec_CXX='@'
13889 # Tell ltmain to make .lib files, not .a files.
13890 libext=lib
13891 # Tell ltmain to make .dll files, not .so files.
13892 shrext_cmds=.dll
13893 # FIXME: Setting linknames here is a bad hack.
13894 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13895 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13896 cp "$export_symbols" "$output_objdir/$soname.def";
13897 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13898 else
13899 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13900 fi~
13901 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13902 linknames='
13903 # The linker will not automatically build a static lib if we build a DLL.
13904 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13905 enable_shared_with_static_runtimes_CXX=yes
13906 # Don't use ranlib
13907 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13908 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13909 lt_tool_outputfile="@TOOL_OUTPUT@"~
13910 case $lt_outputfile in
13911 *.exe|*.EXE) ;;
13912 *)
13913 lt_outputfile=$lt_outputfile.exe
13914 lt_tool_outputfile=$lt_tool_outputfile.exe
13915 ;;
13916 esac~
13917 func_to_tool_file "$lt_outputfile"~
13918 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13919 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13920 $RM "$lt_outputfile.manifest";
13921 fi'
13922 ;;
13923 *)
13924 # g++
13925 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13926 # as there is no search path for DLLs.
13927 hardcode_libdir_flag_spec_CXX='-L$libdir'
13928 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13929 allow_undefined_flag_CXX=unsupported
13930 always_export_symbols_CXX=no
13931 enable_shared_with_static_runtimes_CXX=yes
13932
13933 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13934 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'
13935 # If the export-symbols file already is a .def file, use it as
13936 # is; otherwise, prepend EXPORTS...
13937 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13938 cp $export_symbols $output_objdir/$soname.def;
13939 else
13940 echo EXPORTS > $output_objdir/$soname.def;
13941 cat $export_symbols >> $output_objdir/$soname.def;
13942 fi~
13943 $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'
13944 else
13945 ld_shlibs_CXX=no
13946 fi
13947 ;;
13948 esac
13949 ;;
13950 darwin* | rhapsody*)
13951
13952
13953 archive_cmds_need_lc_CXX=no
13954 hardcode_direct_CXX=no
13955 hardcode_automatic_CXX=yes
13956 hardcode_shlibpath_var_CXX=unsupported
13957 if test yes = "$lt_cv_ld_force_load"; then
13958 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\"`'
13959
13960 else
13961 whole_archive_flag_spec_CXX=''
13962 fi
13963 link_all_deplibs_CXX=yes
13964 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13965 case $cc_basename in
13966 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13967 *) _lt_dar_can_shared=$GCC ;;
13968 esac
13969 if test yes = "$_lt_dar_can_shared"; then
13970 output_verbose_link_cmd=func_echo_all
13971 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"
13972 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13973 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"
13974 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"
13975 if test yes != "$lt_cv_apple_cc_single_mod"; then
13976 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"
13977 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"
13978 fi
13979
13980 else
13981 ld_shlibs_CXX=no
13982 fi
13983
13984 ;;
13985
13986 os2*)
13987 hardcode_libdir_flag_spec_CXX='-L$libdir'
13988 hardcode_minus_L_CXX=yes
13989 allow_undefined_flag_CXX=unsupported
13990 shrext_cmds=.dll
13991 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13992 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13993 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13994 $ECHO EXPORTS >> $output_objdir/$libname.def~
13995 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13996 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13997 emximp -o $lib $output_objdir/$libname.def'
13998 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13999 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14000 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14001 $ECHO EXPORTS >> $output_objdir/$libname.def~
14002 prefix_cmds="$SED"~
14003 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14004 prefix_cmds="$prefix_cmds -e 1d";
14005 fi~
14006 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14007 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14008 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14009 emximp -o $lib $output_objdir/$libname.def'
14010 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14011 enable_shared_with_static_runtimes_CXX=yes
14012 ;;
14013
14014 dgux*)
14015 case $cc_basename in
14016 ec++*)
14017 # FIXME: insert proper C++ library support
14018 ld_shlibs_CXX=no
14019 ;;
14020 ghcx*)
14021 # Green Hills C++ Compiler
14022 # FIXME: insert proper C++ library support
14023 ld_shlibs_CXX=no
14024 ;;
14025 *)
14026 # FIXME: insert proper C++ library support
14027 ld_shlibs_CXX=no
14028 ;;
14029 esac
14030 ;;
14031
14032 freebsd2.*)
14033 # C++ shared libraries reported to be fairly broken before
14034 # switch to ELF
14035 ld_shlibs_CXX=no
14036 ;;
14037
14038 freebsd-elf*)
14039 archive_cmds_need_lc_CXX=no
14040 ;;
14041
14042 freebsd* | dragonfly*)
14043 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14044 # conventions
14045 ld_shlibs_CXX=yes
14046 ;;
14047
14048 haiku*)
14049 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14050 link_all_deplibs_CXX=yes
14051 ;;
14052
14053 hpux9*)
14054 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14055 hardcode_libdir_separator_CXX=:
14056 export_dynamic_flag_spec_CXX='$wl-E'
14057 hardcode_direct_CXX=yes
14058 hardcode_minus_L_CXX=yes # Not in the search PATH,
14059 # but as the default
14060 # location of the library.
14061
14062 case $cc_basename in
14063 CC*)
14064 # FIXME: insert proper C++ library support
14065 ld_shlibs_CXX=no
14066 ;;
14067 aCC*)
14068 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14069 # Commands to make compiler produce verbose output that lists
14070 # what "hidden" libraries, object files and flags are used when
14071 # linking a shared library.
14072 #
14073 # There doesn't appear to be a way to prevent this compiler from
14074 # explicitly linking system object files so we need to strip them
14075 # from the output so that they don't get included in the library
14076 # dependencies.
14077 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"'
14078 ;;
14079 *)
14080 if test yes = "$GXX"; then
14081 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14082 else
14083 # FIXME: insert proper C++ library support
14084 ld_shlibs_CXX=no
14085 fi
14086 ;;
14087 esac
14088 ;;
14089
14090 hpux10*|hpux11*)
14091 if test no = "$with_gnu_ld"; then
14092 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14093 hardcode_libdir_separator_CXX=:
14094
14095 case $host_cpu in
14096 hppa*64*|ia64*)
14097 ;;
14098 *)
14099 export_dynamic_flag_spec_CXX='$wl-E'
14100 ;;
14101 esac
14102 fi
14103 case $host_cpu in
14104 hppa*64*|ia64*)
14105 hardcode_direct_CXX=no
14106 hardcode_shlibpath_var_CXX=no
14107 ;;
14108 *)
14109 hardcode_direct_CXX=yes
14110 hardcode_direct_absolute_CXX=yes
14111 hardcode_minus_L_CXX=yes # Not in the search PATH,
14112 # but as the default
14113 # location of the library.
14114 ;;
14115 esac
14116
14117 case $cc_basename in
14118 CC*)
14119 # FIXME: insert proper C++ library support
14120 ld_shlibs_CXX=no
14121 ;;
14122 aCC*)
14123 case $host_cpu in
14124 hppa*64*)
14125 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14126 ;;
14127 ia64*)
14128 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14129 ;;
14130 *)
14131 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14132 ;;
14133 esac
14134 # Commands to make compiler produce verbose output that lists
14135 # what "hidden" libraries, object files and flags are used when
14136 # linking a shared library.
14137 #
14138 # There doesn't appear to be a way to prevent this compiler from
14139 # explicitly linking system object files so we need to strip them
14140 # from the output so that they don't get included in the library
14141 # dependencies.
14142 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"'
14143 ;;
14144 *)
14145 if test yes = "$GXX"; then
14146 if test no = "$with_gnu_ld"; then
14147 case $host_cpu in
14148 hppa*64*)
14149 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14150 ;;
14151 ia64*)
14152 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14153 ;;
14154 *)
14155 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'
14156 ;;
14157 esac
14158 fi
14159 else
14160 # FIXME: insert proper C++ library support
14161 ld_shlibs_CXX=no
14162 fi
14163 ;;
14164 esac
14165 ;;
14166
14167 interix[3-9]*)
14168 hardcode_direct_CXX=no
14169 hardcode_shlibpath_var_CXX=no
14170 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14171 export_dynamic_flag_spec_CXX='$wl-E'
14172 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14173 # Instead, shared libraries are loaded at an image base (0x10000000 by
14174 # default) and relocated if they conflict, which is a slow very memory
14175 # consuming and fragmenting process. To avoid this, we pick a random,
14176 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14177 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14178 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'
14179 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'
14180 ;;
14181 irix5* | irix6*)
14182 case $cc_basename in
14183 CC*)
14184 # SGI C++
14185 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'
14186
14187 # Archives containing C++ object files must be created using
14188 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14189 # necessary to make sure instantiated templates are included
14190 # in the archive.
14191 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14192 ;;
14193 *)
14194 if test yes = "$GXX"; then
14195 if test no = "$with_gnu_ld"; then
14196 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'
14197 else
14198 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'
14199 fi
14200 fi
14201 link_all_deplibs_CXX=yes
14202 ;;
14203 esac
14204 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14205 hardcode_libdir_separator_CXX=:
14206 inherit_rpath_CXX=yes
14207 ;;
14208
14209 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14210 case $cc_basename in
14211 KCC*)
14212 # Kuck and Associates, Inc. (KAI) C++ Compiler
14213
14214 # KCC will only create a shared library if the output file
14215 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14216 # to its proper name (with version) after linking.
14217 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'
14218 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'
14219 # Commands to make compiler produce verbose output that lists
14220 # what "hidden" libraries, object files and flags are used when
14221 # linking a shared library.
14222 #
14223 # There doesn't appear to be a way to prevent this compiler from
14224 # explicitly linking system object files so we need to strip them
14225 # from the output so that they don't get included in the library
14226 # dependencies.
14227 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"'
14228
14229 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14230 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14231
14232 # Archives containing C++ object files must be created using
14233 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14234 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14235 ;;
14236 icpc* | ecpc* )
14237 # Intel C++
14238 with_gnu_ld=yes
14239 # version 8.0 and above of icpc choke on multiply defined symbols
14240 # if we add $predep_objects and $postdep_objects, however 7.1 and
14241 # earlier do not add the objects themselves.
14242 case `$CC -V 2>&1` in
14243 *"Version 7."*)
14244 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14245 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'
14246 ;;
14247 *) # Version 8.0 or newer
14248 tmp_idyn=
14249 case $host_cpu in
14250 ia64*) tmp_idyn=' -i_dynamic';;
14251 esac
14252 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14253 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'
14254 ;;
14255 esac
14256 archive_cmds_need_lc_CXX=no
14257 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14258 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14259 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14260 ;;
14261 pgCC* | pgcpp*)
14262 # Portland Group C++ compiler
14263 case `$CC -V` in
14264 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14265 prelink_cmds_CXX='tpldir=Template.dir~
14266 rm -rf $tpldir~
14267 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14268 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14269 old_archive_cmds_CXX='tpldir=Template.dir~
14270 rm -rf $tpldir~
14271 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14272 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14273 $RANLIB $oldlib'
14274 archive_cmds_CXX='tpldir=Template.dir~
14275 rm -rf $tpldir~
14276 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14277 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14278 archive_expsym_cmds_CXX='tpldir=Template.dir~
14279 rm -rf $tpldir~
14280 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14281 $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'
14282 ;;
14283 *) # Version 6 and above use weak symbols
14284 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14285 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'
14286 ;;
14287 esac
14288
14289 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14290 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14291 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'
14292 ;;
14293 cxx*)
14294 # Compaq C++
14295 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14296 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'
14297
14298 runpath_var=LD_RUN_PATH
14299 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14300 hardcode_libdir_separator_CXX=:
14301
14302 # Commands to make compiler produce verbose output that lists
14303 # what "hidden" libraries, object files and flags are used when
14304 # linking a shared library.
14305 #
14306 # There doesn't appear to be a way to prevent this compiler from
14307 # explicitly linking system object files so we need to strip them
14308 # from the output so that they don't get included in the library
14309 # dependencies.
14310 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'
14311 ;;
14312 xl* | mpixl* | bgxl*)
14313 # IBM XL 8.0 on PPC, with GNU ld
14314 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14315 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14316 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14317 if test yes = "$supports_anon_versioning"; then
14318 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14320 echo "local: *; };" >> $output_objdir/$libname.ver~
14321 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14322 fi
14323 ;;
14324 *)
14325 case `$CC -V 2>&1 | sed 5q` in
14326 *Sun\ C*)
14327 # Sun C++ 5.9
14328 no_undefined_flag_CXX=' -zdefs'
14329 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14330 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'
14331 hardcode_libdir_flag_spec_CXX='-R$libdir'
14332 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'
14333 compiler_needs_object_CXX=yes
14334
14335 # Not sure whether something based on
14336 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14337 # would be better.
14338 output_verbose_link_cmd='func_echo_all'
14339
14340 # Archives containing C++ object files must be created using
14341 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14342 # necessary to make sure instantiated templates are included
14343 # in the archive.
14344 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14345 ;;
14346 esac
14347 ;;
14348 esac
14349 ;;
14350
14351 lynxos*)
14352 # FIXME: insert proper C++ library support
14353 ld_shlibs_CXX=no
14354 ;;
14355
14356 m88k*)
14357 # FIXME: insert proper C++ library support
14358 ld_shlibs_CXX=no
14359 ;;
14360
14361 mvs*)
14362 case $cc_basename in
14363 cxx*)
14364 # FIXME: insert proper C++ library support
14365 ld_shlibs_CXX=no
14366 ;;
14367 *)
14368 # FIXME: insert proper C++ library support
14369 ld_shlibs_CXX=no
14370 ;;
14371 esac
14372 ;;
14373
14374 netbsd*)
14375 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14376 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14377 wlarc=
14378 hardcode_libdir_flag_spec_CXX='-R$libdir'
14379 hardcode_direct_CXX=yes
14380 hardcode_shlibpath_var_CXX=no
14381 fi
14382 # Workaround some broken pre-1.5 toolchains
14383 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14384 ;;
14385
14386 *nto* | *qnx*)
14387 ld_shlibs_CXX=yes
14388 ;;
14389
14390 openbsd* | bitrig*)
14391 if test -f /usr/libexec/ld.so; then
14392 hardcode_direct_CXX=yes
14393 hardcode_shlibpath_var_CXX=no
14394 hardcode_direct_absolute_CXX=yes
14395 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14396 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14397 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14398 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14399 export_dynamic_flag_spec_CXX='$wl-E'
14400 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14401 fi
14402 output_verbose_link_cmd=func_echo_all
14403 else
14404 ld_shlibs_CXX=no
14405 fi
14406 ;;
14407
14408 osf3* | osf4* | osf5*)
14409 case $cc_basename in
14410 KCC*)
14411 # Kuck and Associates, Inc. (KAI) C++ Compiler
14412
14413 # KCC will only create a shared library if the output file
14414 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14415 # to its proper name (with version) after linking.
14416 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'
14417
14418 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14419 hardcode_libdir_separator_CXX=:
14420
14421 # Archives containing C++ object files must be created using
14422 # the KAI C++ compiler.
14423 case $host in
14424 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14425 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14426 esac
14427 ;;
14428 RCC*)
14429 # Rational C++ 2.4.1
14430 # FIXME: insert proper C++ library support
14431 ld_shlibs_CXX=no
14432 ;;
14433 cxx*)
14434 case $host in
14435 osf3*)
14436 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14437 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'
14438 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14439 ;;
14440 *)
14441 allow_undefined_flag_CXX=' -expect_unresolved \*'
14442 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'
14443 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14444 echo "-hidden">> $lib.exp~
14445 $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~
14446 $RM $lib.exp'
14447 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14448 ;;
14449 esac
14450
14451 hardcode_libdir_separator_CXX=:
14452
14453 # Commands to make compiler produce verbose output that lists
14454 # what "hidden" libraries, object files and flags are used when
14455 # linking a shared library.
14456 #
14457 # There doesn't appear to be a way to prevent this compiler from
14458 # explicitly linking system object files so we need to strip them
14459 # from the output so that they don't get included in the library
14460 # dependencies.
14461 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"'
14462 ;;
14463 *)
14464 if test yes,no = "$GXX,$with_gnu_ld"; then
14465 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14466 case $host in
14467 osf3*)
14468 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'
14469 ;;
14470 *)
14471 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'
14472 ;;
14473 esac
14474
14475 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14476 hardcode_libdir_separator_CXX=:
14477
14478 # Commands to make compiler produce verbose output that lists
14479 # what "hidden" libraries, object files and flags are used when
14480 # linking a shared library.
14481 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14482
14483 else
14484 # FIXME: insert proper C++ library support
14485 ld_shlibs_CXX=no
14486 fi
14487 ;;
14488 esac
14489 ;;
14490
14491 psos*)
14492 # FIXME: insert proper C++ library support
14493 ld_shlibs_CXX=no
14494 ;;
14495
14496 sunos4*)
14497 case $cc_basename in
14498 CC*)
14499 # Sun C++ 4.x
14500 # FIXME: insert proper C++ library support
14501 ld_shlibs_CXX=no
14502 ;;
14503 lcc*)
14504 # Lucid
14505 # FIXME: insert proper C++ library support
14506 ld_shlibs_CXX=no
14507 ;;
14508 *)
14509 # FIXME: insert proper C++ library support
14510 ld_shlibs_CXX=no
14511 ;;
14512 esac
14513 ;;
14514
14515 solaris*)
14516 case $cc_basename in
14517 CC* | sunCC*)
14518 # Sun C++ 4.2, 5.x and Centerline C++
14519 archive_cmds_need_lc_CXX=yes
14520 no_undefined_flag_CXX=' -zdefs'
14521 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14522 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14523 $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'
14524
14525 hardcode_libdir_flag_spec_CXX='-R$libdir'
14526 hardcode_shlibpath_var_CXX=no
14527 case $host_os in
14528 solaris2.[0-5] | solaris2.[0-5].*) ;;
14529 *)
14530 # The compiler driver will combine and reorder linker options,
14531 # but understands '-z linker_flag'.
14532 # Supported since Solaris 2.6 (maybe 2.5.1?)
14533 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14534 ;;
14535 esac
14536 link_all_deplibs_CXX=yes
14537
14538 output_verbose_link_cmd='func_echo_all'
14539
14540 # Archives containing C++ object files must be created using
14541 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14542 # necessary to make sure instantiated templates are included
14543 # in the archive.
14544 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14545 ;;
14546 gcx*)
14547 # Green Hills C++ Compiler
14548 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14549
14550 # The C++ compiler must be used to create the archive.
14551 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14552 ;;
14553 *)
14554 # GNU C++ compiler with Solaris linker
14555 if test yes,no = "$GXX,$with_gnu_ld"; then
14556 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14557 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14558 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14559 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14560 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14561
14562 # Commands to make compiler produce verbose output that lists
14563 # what "hidden" libraries, object files and flags are used when
14564 # linking a shared library.
14565 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14566 else
14567 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14568 # platform.
14569 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14570 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14571 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14572
14573 # Commands to make compiler produce verbose output that lists
14574 # what "hidden" libraries, object files and flags are used when
14575 # linking a shared library.
14576 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14577 fi
14578
14579 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14580 case $host_os in
14581 solaris2.[0-5] | solaris2.[0-5].*) ;;
14582 *)
14583 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14584 ;;
14585 esac
14586 fi
14587 ;;
14588 esac
14589 ;;
14590
14591 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14592 no_undefined_flag_CXX='$wl-z,text'
14593 archive_cmds_need_lc_CXX=no
14594 hardcode_shlibpath_var_CXX=no
14595 runpath_var='LD_RUN_PATH'
14596
14597 case $cc_basename in
14598 CC*)
14599 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14600 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14601 ;;
14602 *)
14603 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14604 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14605 ;;
14606 esac
14607 ;;
14608
14609 sysv5* | sco3.2v5* | sco5v6*)
14610 # Note: We CANNOT use -z defs as we might desire, because we do not
14611 # link with -lc, and that would cause any symbols used from libc to
14612 # always be unresolved, which means just about no library would
14613 # ever link correctly. If we're not using GNU ld we use -z text
14614 # though, which does catch some bad symbols but isn't as heavy-handed
14615 # as -z defs.
14616 no_undefined_flag_CXX='$wl-z,text'
14617 allow_undefined_flag_CXX='$wl-z,nodefs'
14618 archive_cmds_need_lc_CXX=no
14619 hardcode_shlibpath_var_CXX=no
14620 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14621 hardcode_libdir_separator_CXX=':'
14622 link_all_deplibs_CXX=yes
14623 export_dynamic_flag_spec_CXX='$wl-Bexport'
14624 runpath_var='LD_RUN_PATH'
14625
14626 case $cc_basename in
14627 CC*)
14628 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14629 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14630 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14631 '"$old_archive_cmds_CXX"
14632 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14633 '"$reload_cmds_CXX"
14634 ;;
14635 *)
14636 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14637 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14638 ;;
14639 esac
14640 ;;
14641
14642 tandem*)
14643 case $cc_basename in
14644 NCC*)
14645 # NonStop-UX NCC 3.20
14646 # FIXME: insert proper C++ library support
14647 ld_shlibs_CXX=no
14648 ;;
14649 *)
14650 # FIXME: insert proper C++ library support
14651 ld_shlibs_CXX=no
14652 ;;
14653 esac
14654 ;;
14655
14656 vxworks*)
14657 # FIXME: insert proper C++ library support
14658 ld_shlibs_CXX=no
14659 ;;
14660
14661 *)
14662 # FIXME: insert proper C++ library support
14663 ld_shlibs_CXX=no
14664 ;;
14665 esac
14666
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14668 $as_echo "$ld_shlibs_CXX" >&6; }
14669 test no = "$ld_shlibs_CXX" && can_build_shared=no
14670
14671 GCC_CXX=$GXX
14672 LD_CXX=$LD
14673
14674 ## CAVEAT EMPTOR:
14675 ## There is no encapsulation within the following macros, do not change
14676 ## the running order or otherwise move them around unless you know exactly
14677 ## what you are doing...
14678 # Dependencies to place before and after the object being linked:
14679 predep_objects_CXX=
14680 postdep_objects_CXX=
14681 predeps_CXX=
14682 postdeps_CXX=
14683 compiler_lib_search_path_CXX=
14684
14685 cat > conftest.$ac_ext <<_LT_EOF
14686 class Foo
14687 {
14688 public:
14689 Foo (void) { a = 0; }
14690 private:
14691 int a;
14692 };
14693 _LT_EOF
14694
14695
14696 _lt_libdeps_save_CFLAGS=$CFLAGS
14697 case "$CC $CFLAGS " in #(
14698 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14699 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14700 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14701 esac
14702
14703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14704 (eval $ac_compile) 2>&5
14705 ac_status=$?
14706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14707 test $ac_status = 0; }; then
14708 # Parse the compiler output and extract the necessary
14709 # objects, libraries and library flags.
14710
14711 # Sentinel used to keep track of whether or not we are before
14712 # the conftest object file.
14713 pre_test_object_deps_done=no
14714
14715 for p in `eval "$output_verbose_link_cmd"`; do
14716 case $prev$p in
14717
14718 -L* | -R* | -l*)
14719 # Some compilers place space between "-{L,R}" and the path.
14720 # Remove the space.
14721 if test x-L = "$p" ||
14722 test x-R = "$p"; then
14723 prev=$p
14724 continue
14725 fi
14726
14727 # Expand the sysroot to ease extracting the directories later.
14728 if test -z "$prev"; then
14729 case $p in
14730 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14731 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14732 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14733 esac
14734 fi
14735 case $p in
14736 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14737 esac
14738 if test no = "$pre_test_object_deps_done"; then
14739 case $prev in
14740 -L | -R)
14741 # Internal compiler library paths should come after those
14742 # provided the user. The postdeps already come after the
14743 # user supplied libs so there is no need to process them.
14744 if test -z "$compiler_lib_search_path_CXX"; then
14745 compiler_lib_search_path_CXX=$prev$p
14746 else
14747 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14748 fi
14749 ;;
14750 # The "-l" case would never come before the object being
14751 # linked, so don't bother handling this case.
14752 esac
14753 else
14754 if test -z "$postdeps_CXX"; then
14755 postdeps_CXX=$prev$p
14756 else
14757 postdeps_CXX="${postdeps_CXX} $prev$p"
14758 fi
14759 fi
14760 prev=
14761 ;;
14762
14763 *.lto.$objext) ;; # Ignore GCC LTO objects
14764 *.$objext)
14765 # This assumes that the test object file only shows up
14766 # once in the compiler output.
14767 if test "$p" = "conftest.$objext"; then
14768 pre_test_object_deps_done=yes
14769 continue
14770 fi
14771
14772 if test no = "$pre_test_object_deps_done"; then
14773 if test -z "$predep_objects_CXX"; then
14774 predep_objects_CXX=$p
14775 else
14776 predep_objects_CXX="$predep_objects_CXX $p"
14777 fi
14778 else
14779 if test -z "$postdep_objects_CXX"; then
14780 postdep_objects_CXX=$p
14781 else
14782 postdep_objects_CXX="$postdep_objects_CXX $p"
14783 fi
14784 fi
14785 ;;
14786
14787 *) ;; # Ignore the rest.
14788
14789 esac
14790 done
14791
14792 # Clean up.
14793 rm -f a.out a.exe
14794 else
14795 echo "libtool.m4: error: problem compiling CXX test program"
14796 fi
14797
14798 $RM -f confest.$objext
14799 CFLAGS=$_lt_libdeps_save_CFLAGS
14800
14801 # PORTME: override above test on systems where it is broken
14802 case $host_os in
14803 interix[3-9]*)
14804 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14805 # hack all around it, let's just trust "g++" to DTRT.
14806 predep_objects_CXX=
14807 postdep_objects_CXX=
14808 postdeps_CXX=
14809 ;;
14810 esac
14811
14812
14813 case " $postdeps_CXX " in
14814 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14815 esac
14816 compiler_lib_search_dirs_CXX=
14817 if test -n "${compiler_lib_search_path_CXX}"; then
14818 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14819 fi
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851 lt_prog_compiler_wl_CXX=
14852 lt_prog_compiler_pic_CXX=
14853 lt_prog_compiler_static_CXX=
14854
14855
14856 # C++ specific cases for pic, static, wl, etc.
14857 if test yes = "$GXX"; then
14858 lt_prog_compiler_wl_CXX='-Wl,'
14859 lt_prog_compiler_static_CXX='-static'
14860
14861 case $host_os in
14862 aix*)
14863 # All AIX code is PIC.
14864 if test ia64 = "$host_cpu"; then
14865 # AIX 5 now supports IA64 processor
14866 lt_prog_compiler_static_CXX='-Bstatic'
14867 fi
14868 lt_prog_compiler_pic_CXX='-fPIC'
14869 ;;
14870
14871 amigaos*)
14872 case $host_cpu in
14873 powerpc)
14874 # see comment about AmigaOS4 .so support
14875 lt_prog_compiler_pic_CXX='-fPIC'
14876 ;;
14877 m68k)
14878 # FIXME: we need at least 68020 code to build shared libraries, but
14879 # adding the '-m68020' flag to GCC prevents building anything better,
14880 # like '-m68040'.
14881 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14882 ;;
14883 esac
14884 ;;
14885
14886 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14887 # PIC is the default for these OSes.
14888 ;;
14889 mingw* | cygwin* | os2* | pw32* | cegcc*)
14890 # This hack is so that the source file can tell whether it is being
14891 # built for inclusion in a dll (and should export symbols for example).
14892 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14893 # (--disable-auto-import) libraries
14894 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14895 case $host_os in
14896 os2*)
14897 lt_prog_compiler_static_CXX='$wl-static'
14898 ;;
14899 esac
14900 ;;
14901 darwin* | rhapsody*)
14902 # PIC is the default on this platform
14903 # Common symbols not allowed in MH_DYLIB files
14904 lt_prog_compiler_pic_CXX='-fno-common'
14905 ;;
14906 *djgpp*)
14907 # DJGPP does not support shared libraries at all
14908 lt_prog_compiler_pic_CXX=
14909 ;;
14910 haiku*)
14911 # PIC is the default for Haiku.
14912 # The "-static" flag exists, but is broken.
14913 lt_prog_compiler_static_CXX=
14914 ;;
14915 interix[3-9]*)
14916 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14917 # Instead, we relocate shared libraries at runtime.
14918 ;;
14919 sysv4*MP*)
14920 if test -d /usr/nec; then
14921 lt_prog_compiler_pic_CXX=-Kconform_pic
14922 fi
14923 ;;
14924 hpux*)
14925 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14926 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14927 # sets the default TLS model and affects inlining.
14928 case $host_cpu in
14929 hppa*64*)
14930 ;;
14931 *)
14932 lt_prog_compiler_pic_CXX='-fPIC'
14933 ;;
14934 esac
14935 ;;
14936 *qnx* | *nto*)
14937 # QNX uses GNU C++, but need to define -shared option too, otherwise
14938 # it will coredump.
14939 lt_prog_compiler_pic_CXX='-fPIC -shared'
14940 ;;
14941 *)
14942 lt_prog_compiler_pic_CXX='-fPIC'
14943 ;;
14944 esac
14945 else
14946 case $host_os in
14947 aix[4-9]*)
14948 # All AIX code is PIC.
14949 if test ia64 = "$host_cpu"; then
14950 # AIX 5 now supports IA64 processor
14951 lt_prog_compiler_static_CXX='-Bstatic'
14952 else
14953 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14954 fi
14955 ;;
14956 chorus*)
14957 case $cc_basename in
14958 cxch68*)
14959 # Green Hills C++ Compiler
14960 # _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"
14961 ;;
14962 esac
14963 ;;
14964 mingw* | cygwin* | os2* | pw32* | cegcc*)
14965 # This hack is so that the source file can tell whether it is being
14966 # built for inclusion in a dll (and should export symbols for example).
14967 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14968 ;;
14969 dgux*)
14970 case $cc_basename in
14971 ec++*)
14972 lt_prog_compiler_pic_CXX='-KPIC'
14973 ;;
14974 ghcx*)
14975 # Green Hills C++ Compiler
14976 lt_prog_compiler_pic_CXX='-pic'
14977 ;;
14978 *)
14979 ;;
14980 esac
14981 ;;
14982 freebsd* | dragonfly*)
14983 # FreeBSD uses GNU C++
14984 ;;
14985 hpux9* | hpux10* | hpux11*)
14986 case $cc_basename in
14987 CC*)
14988 lt_prog_compiler_wl_CXX='-Wl,'
14989 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14990 if test ia64 != "$host_cpu"; then
14991 lt_prog_compiler_pic_CXX='+Z'
14992 fi
14993 ;;
14994 aCC*)
14995 lt_prog_compiler_wl_CXX='-Wl,'
14996 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14997 case $host_cpu in
14998 hppa*64*|ia64*)
14999 # +Z the default
15000 ;;
15001 *)
15002 lt_prog_compiler_pic_CXX='+Z'
15003 ;;
15004 esac
15005 ;;
15006 *)
15007 ;;
15008 esac
15009 ;;
15010 interix*)
15011 # This is c89, which is MS Visual C++ (no shared libs)
15012 # Anyone wants to do a port?
15013 ;;
15014 irix5* | irix6* | nonstopux*)
15015 case $cc_basename in
15016 CC*)
15017 lt_prog_compiler_wl_CXX='-Wl,'
15018 lt_prog_compiler_static_CXX='-non_shared'
15019 # CC pic flag -KPIC is the default.
15020 ;;
15021 *)
15022 ;;
15023 esac
15024 ;;
15025 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15026 case $cc_basename in
15027 KCC*)
15028 # KAI C++ Compiler
15029 lt_prog_compiler_wl_CXX='--backend -Wl,'
15030 lt_prog_compiler_pic_CXX='-fPIC'
15031 ;;
15032 ecpc* )
15033 # old Intel C++ for x86_64, which still supported -KPIC.
15034 lt_prog_compiler_wl_CXX='-Wl,'
15035 lt_prog_compiler_pic_CXX='-KPIC'
15036 lt_prog_compiler_static_CXX='-static'
15037 ;;
15038 icpc* )
15039 # Intel C++, used to be incompatible with GCC.
15040 # ICC 10 doesn't accept -KPIC any more.
15041 lt_prog_compiler_wl_CXX='-Wl,'
15042 lt_prog_compiler_pic_CXX='-fPIC'
15043 lt_prog_compiler_static_CXX='-static'
15044 ;;
15045 pgCC* | pgcpp*)
15046 # Portland Group C++ compiler
15047 lt_prog_compiler_wl_CXX='-Wl,'
15048 lt_prog_compiler_pic_CXX='-fpic'
15049 lt_prog_compiler_static_CXX='-Bstatic'
15050 ;;
15051 cxx*)
15052 # Compaq C++
15053 # Make sure the PIC flag is empty. It appears that all Alpha
15054 # Linux and Compaq Tru64 Unix objects are PIC.
15055 lt_prog_compiler_pic_CXX=
15056 lt_prog_compiler_static_CXX='-non_shared'
15057 ;;
15058 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15059 # IBM XL 8.0, 9.0 on PPC and BlueGene
15060 lt_prog_compiler_wl_CXX='-Wl,'
15061 lt_prog_compiler_pic_CXX='-qpic'
15062 lt_prog_compiler_static_CXX='-qstaticlink'
15063 ;;
15064 *)
15065 case `$CC -V 2>&1 | sed 5q` in
15066 *Sun\ C*)
15067 # Sun C++ 5.9
15068 lt_prog_compiler_pic_CXX='-KPIC'
15069 lt_prog_compiler_static_CXX='-Bstatic'
15070 lt_prog_compiler_wl_CXX='-Qoption ld '
15071 ;;
15072 esac
15073 ;;
15074 esac
15075 ;;
15076 lynxos*)
15077 ;;
15078 m88k*)
15079 ;;
15080 mvs*)
15081 case $cc_basename in
15082 cxx*)
15083 lt_prog_compiler_pic_CXX='-W c,exportall'
15084 ;;
15085 *)
15086 ;;
15087 esac
15088 ;;
15089 netbsd*)
15090 ;;
15091 *qnx* | *nto*)
15092 # QNX uses GNU C++, but need to define -shared option too, otherwise
15093 # it will coredump.
15094 lt_prog_compiler_pic_CXX='-fPIC -shared'
15095 ;;
15096 osf3* | osf4* | osf5*)
15097 case $cc_basename in
15098 KCC*)
15099 lt_prog_compiler_wl_CXX='--backend -Wl,'
15100 ;;
15101 RCC*)
15102 # Rational C++ 2.4.1
15103 lt_prog_compiler_pic_CXX='-pic'
15104 ;;
15105 cxx*)
15106 # Digital/Compaq C++
15107 lt_prog_compiler_wl_CXX='-Wl,'
15108 # Make sure the PIC flag is empty. It appears that all Alpha
15109 # Linux and Compaq Tru64 Unix objects are PIC.
15110 lt_prog_compiler_pic_CXX=
15111 lt_prog_compiler_static_CXX='-non_shared'
15112 ;;
15113 *)
15114 ;;
15115 esac
15116 ;;
15117 psos*)
15118 ;;
15119 solaris*)
15120 case $cc_basename in
15121 CC* | sunCC*)
15122 # Sun C++ 4.2, 5.x and Centerline C++
15123 lt_prog_compiler_pic_CXX='-KPIC'
15124 lt_prog_compiler_static_CXX='-Bstatic'
15125 lt_prog_compiler_wl_CXX='-Qoption ld '
15126 ;;
15127 gcx*)
15128 # Green Hills C++ Compiler
15129 lt_prog_compiler_pic_CXX='-PIC'
15130 ;;
15131 *)
15132 ;;
15133 esac
15134 ;;
15135 sunos4*)
15136 case $cc_basename in
15137 CC*)
15138 # Sun C++ 4.x
15139 lt_prog_compiler_pic_CXX='-pic'
15140 lt_prog_compiler_static_CXX='-Bstatic'
15141 ;;
15142 lcc*)
15143 # Lucid
15144 lt_prog_compiler_pic_CXX='-pic'
15145 ;;
15146 *)
15147 ;;
15148 esac
15149 ;;
15150 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15151 case $cc_basename in
15152 CC*)
15153 lt_prog_compiler_wl_CXX='-Wl,'
15154 lt_prog_compiler_pic_CXX='-KPIC'
15155 lt_prog_compiler_static_CXX='-Bstatic'
15156 ;;
15157 esac
15158 ;;
15159 tandem*)
15160 case $cc_basename in
15161 NCC*)
15162 # NonStop-UX NCC 3.20
15163 lt_prog_compiler_pic_CXX='-KPIC'
15164 ;;
15165 *)
15166 ;;
15167 esac
15168 ;;
15169 vxworks*)
15170 ;;
15171 *)
15172 lt_prog_compiler_can_build_shared_CXX=no
15173 ;;
15174 esac
15175 fi
15176
15177 case $host_os in
15178 # For platforms that do not support PIC, -DPIC is meaningless:
15179 *djgpp*)
15180 lt_prog_compiler_pic_CXX=
15181 ;;
15182 *)
15183 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15184 ;;
15185 esac
15186
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15188 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15189 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15190 $as_echo_n "(cached) " >&6
15191 else
15192 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15193 fi
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15195 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15196 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15197
15198 #
15199 # Check to make sure the PIC flag actually works.
15200 #
15201 if test -n "$lt_prog_compiler_pic_CXX"; then
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15203 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15204 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15205 $as_echo_n "(cached) " >&6
15206 else
15207 lt_cv_prog_compiler_pic_works_CXX=no
15208 ac_outfile=conftest.$ac_objext
15209 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15210 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15211 # Insert the option either (1) after the last *FLAGS variable, or
15212 # (2) before a word containing "conftest.", or (3) at the end.
15213 # Note that $ac_compile itself does not contain backslashes and begins
15214 # with a dollar sign (not a hyphen), so the echo should work correctly.
15215 # The option is referenced via a variable to avoid confusing sed.
15216 lt_compile=`echo "$ac_compile" | $SED \
15217 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15219 -e 's:$: $lt_compiler_flag:'`
15220 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15221 (eval "$lt_compile" 2>conftest.err)
15222 ac_status=$?
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 if (exit $ac_status) && test -s "$ac_outfile"; then
15226 # The compiler can only warn and ignore the option if not recognized
15227 # So say no if there are warnings other than the usual output.
15228 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15229 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15230 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15231 lt_cv_prog_compiler_pic_works_CXX=yes
15232 fi
15233 fi
15234 $RM conftest*
15235
15236 fi
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15238 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15239
15240 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15241 case $lt_prog_compiler_pic_CXX in
15242 "" | " "*) ;;
15243 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15244 esac
15245 else
15246 lt_prog_compiler_pic_CXX=
15247 lt_prog_compiler_can_build_shared_CXX=no
15248 fi
15249
15250 fi
15251
15252
15253
15254
15255
15256 #
15257 # Check to make sure the static flag actually works.
15258 #
15259 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15261 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15262 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15263 $as_echo_n "(cached) " >&6
15264 else
15265 lt_cv_prog_compiler_static_works_CXX=no
15266 save_LDFLAGS=$LDFLAGS
15267 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15268 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15269 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15270 # The linker can only warn and ignore the option if not recognized
15271 # So say no if there are warnings
15272 if test -s conftest.err; then
15273 # Append any errors to the config.log.
15274 cat conftest.err 1>&5
15275 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15276 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15277 if diff conftest.exp conftest.er2 >/dev/null; then
15278 lt_cv_prog_compiler_static_works_CXX=yes
15279 fi
15280 else
15281 lt_cv_prog_compiler_static_works_CXX=yes
15282 fi
15283 fi
15284 $RM -r conftest*
15285 LDFLAGS=$save_LDFLAGS
15286
15287 fi
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15289 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15290
15291 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15292 :
15293 else
15294 lt_prog_compiler_static_CXX=
15295 fi
15296
15297
15298
15299
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15301 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15302 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 lt_cv_prog_compiler_c_o_CXX=no
15306 $RM -r conftest 2>/dev/null
15307 mkdir conftest
15308 cd conftest
15309 mkdir out
15310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15311
15312 lt_compiler_flag="-o out/conftest2.$ac_objext"
15313 # Insert the option either (1) after the last *FLAGS variable, or
15314 # (2) before a word containing "conftest.", or (3) at the end.
15315 # Note that $ac_compile itself does not contain backslashes and begins
15316 # with a dollar sign (not a hyphen), so the echo should work correctly.
15317 lt_compile=`echo "$ac_compile" | $SED \
15318 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15320 -e 's:$: $lt_compiler_flag:'`
15321 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15322 (eval "$lt_compile" 2>out/conftest.err)
15323 ac_status=$?
15324 cat out/conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15327 then
15328 # The compiler can only warn and ignore the option if not recognized
15329 # So say no if there are warnings
15330 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15331 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15332 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15333 lt_cv_prog_compiler_c_o_CXX=yes
15334 fi
15335 fi
15336 chmod u+w . 2>&5
15337 $RM conftest*
15338 # SGI C++ compiler will create directory out/ii_files/ for
15339 # template instantiation
15340 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15341 $RM out/* && rmdir out
15342 cd ..
15343 $RM -r conftest
15344 $RM conftest*
15345
15346 fi
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15348 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15349
15350
15351
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15353 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15354 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 lt_cv_prog_compiler_c_o_CXX=no
15358 $RM -r conftest 2>/dev/null
15359 mkdir conftest
15360 cd conftest
15361 mkdir out
15362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15363
15364 lt_compiler_flag="-o out/conftest2.$ac_objext"
15365 # Insert the option either (1) after the last *FLAGS variable, or
15366 # (2) before a word containing "conftest.", or (3) at the end.
15367 # Note that $ac_compile itself does not contain backslashes and begins
15368 # with a dollar sign (not a hyphen), so the echo should work correctly.
15369 lt_compile=`echo "$ac_compile" | $SED \
15370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15372 -e 's:$: $lt_compiler_flag:'`
15373 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15374 (eval "$lt_compile" 2>out/conftest.err)
15375 ac_status=$?
15376 cat out/conftest.err >&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15379 then
15380 # The compiler can only warn and ignore the option if not recognized
15381 # So say no if there are warnings
15382 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15383 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15384 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15385 lt_cv_prog_compiler_c_o_CXX=yes
15386 fi
15387 fi
15388 chmod u+w . 2>&5
15389 $RM conftest*
15390 # SGI C++ compiler will create directory out/ii_files/ for
15391 # template instantiation
15392 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15393 $RM out/* && rmdir out
15394 cd ..
15395 $RM -r conftest
15396 $RM conftest*
15397
15398 fi
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15400 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15401
15402
15403
15404
15405 hard_links=nottested
15406 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15407 # do not overwrite the value of need_locks provided by the user
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15409 $as_echo_n "checking if we can lock with hard links... " >&6; }
15410 hard_links=yes
15411 $RM conftest*
15412 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15413 touch conftest.a
15414 ln conftest.a conftest.b 2>&5 || hard_links=no
15415 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15417 $as_echo "$hard_links" >&6; }
15418 if test no = "$hard_links"; then
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15420 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15421 need_locks=warn
15422 fi
15423 else
15424 need_locks=no
15425 fi
15426
15427
15428
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15430 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15431
15432 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15433 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15434 case $host_os in
15435 aix[4-9]*)
15436 # If we're using GNU nm, then we don't want the "-C" option.
15437 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15438 # Without the "-l" option, or with the "-B" option, AIX nm treats
15439 # weak defined symbols like other global defined symbols, whereas
15440 # GNU nm marks them as "W".
15441 # While the 'weak' keyword is ignored in the Export File, we need
15442 # it in the Import File for the 'aix-soname' feature, so we have
15443 # to replace the "-B" option with "-P" for AIX nm.
15444 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15445 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15446 else
15447 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15448 fi
15449 ;;
15450 pw32*)
15451 export_symbols_cmds_CXX=$ltdll_cmds
15452 ;;
15453 cygwin* | mingw* | cegcc*)
15454 case $cc_basename in
15455 cl*)
15456 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15457 ;;
15458 *)
15459 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'
15460 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15461 ;;
15462 esac
15463 ;;
15464 *)
15465 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15466 ;;
15467 esac
15468
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15470 $as_echo "$ld_shlibs_CXX" >&6; }
15471 test no = "$ld_shlibs_CXX" && can_build_shared=no
15472
15473 with_gnu_ld_CXX=$with_gnu_ld
15474
15475
15476
15477
15478
15479
15480 #
15481 # Do we need to explicitly link libc?
15482 #
15483 case "x$archive_cmds_need_lc_CXX" in
15484 x|xyes)
15485 # Assume -lc should be added
15486 archive_cmds_need_lc_CXX=yes
15487
15488 if test yes,yes = "$GCC,$enable_shared"; then
15489 case $archive_cmds_CXX in
15490 *'~'*)
15491 # FIXME: we may have to deal with multi-command sequences.
15492 ;;
15493 '$CC '*)
15494 # Test whether the compiler implicitly links with -lc since on some
15495 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15496 # to ld, don't add -lc before -lgcc.
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15498 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15499 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 $RM conftest*
15503 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15504
15505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15506 (eval $ac_compile) 2>&5
15507 ac_status=$?
15508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15509 test $ac_status = 0; } 2>conftest.err; then
15510 soname=conftest
15511 lib=conftest
15512 libobjs=conftest.$ac_objext
15513 deplibs=
15514 wl=$lt_prog_compiler_wl_CXX
15515 pic_flag=$lt_prog_compiler_pic_CXX
15516 compiler_flags=-v
15517 linker_flags=-v
15518 verstring=
15519 output_objdir=.
15520 libname=conftest
15521 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15522 allow_undefined_flag_CXX=
15523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15524 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15525 ac_status=$?
15526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15527 test $ac_status = 0; }
15528 then
15529 lt_cv_archive_cmds_need_lc_CXX=no
15530 else
15531 lt_cv_archive_cmds_need_lc_CXX=yes
15532 fi
15533 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15534 else
15535 cat conftest.err 1>&5
15536 fi
15537 $RM conftest*
15538
15539 fi
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15541 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15542 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15543 ;;
15544 esac
15545 fi
15546 ;;
15547 esac
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15611 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15612
15613 library_names_spec=
15614 libname_spec='lib$name'
15615 soname_spec=
15616 shrext_cmds=.so
15617 postinstall_cmds=
15618 postuninstall_cmds=
15619 finish_cmds=
15620 finish_eval=
15621 shlibpath_var=
15622 shlibpath_overrides_runpath=unknown
15623 version_type=none
15624 dynamic_linker="$host_os ld.so"
15625 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15626 need_lib_prefix=unknown
15627 hardcode_into_libs=no
15628
15629 # when you set need_version to no, make sure it does not cause -set_version
15630 # flags to be left without arguments
15631 need_version=unknown
15632
15633
15634
15635 case $host_os in
15636 aix3*)
15637 version_type=linux # correct to gnu/linux during the next big refactor
15638 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15639 shlibpath_var=LIBPATH
15640
15641 # AIX 3 has no versioning support, so we append a major version to the name.
15642 soname_spec='$libname$release$shared_ext$major'
15643 ;;
15644
15645 aix[4-9]*)
15646 version_type=linux # correct to gnu/linux during the next big refactor
15647 need_lib_prefix=no
15648 need_version=no
15649 hardcode_into_libs=yes
15650 if test ia64 = "$host_cpu"; then
15651 # AIX 5 supports IA64
15652 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15653 shlibpath_var=LD_LIBRARY_PATH
15654 else
15655 # With GCC up to 2.95.x, collect2 would create an import file
15656 # for dependence libraries. The import file would start with
15657 # the line '#! .'. This would cause the generated library to
15658 # depend on '.', always an invalid library. This was fixed in
15659 # development snapshots of GCC prior to 3.0.
15660 case $host_os in
15661 aix4 | aix4.[01] | aix4.[01].*)
15662 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15663 echo ' yes '
15664 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15665 :
15666 else
15667 can_build_shared=no
15668 fi
15669 ;;
15670 esac
15671 # Using Import Files as archive members, it is possible to support
15672 # filename-based versioning of shared library archives on AIX. While
15673 # this would work for both with and without runtime linking, it will
15674 # prevent static linking of such archives. So we do filename-based
15675 # shared library versioning with .so extension only, which is used
15676 # when both runtime linking and shared linking is enabled.
15677 # Unfortunately, runtime linking may impact performance, so we do
15678 # not want this to be the default eventually. Also, we use the
15679 # versioned .so libs for executables only if there is the -brtl
15680 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15681 # To allow for filename-based versioning support, we need to create
15682 # libNAME.so.V as an archive file, containing:
15683 # *) an Import File, referring to the versioned filename of the
15684 # archive as well as the shared archive member, telling the
15685 # bitwidth (32 or 64) of that shared object, and providing the
15686 # list of exported symbols of that shared object, eventually
15687 # decorated with the 'weak' keyword
15688 # *) the shared object with the F_LOADONLY flag set, to really avoid
15689 # it being seen by the linker.
15690 # At run time we better use the real file rather than another symlink,
15691 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15692
15693 case $with_aix_soname,$aix_use_runtimelinking in
15694 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15695 # soname into executable. Probably we can add versioning support to
15696 # collect2, so additional links can be useful in future.
15697 aix,yes) # traditional libtool
15698 dynamic_linker='AIX unversionable lib.so'
15699 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15700 # instead of lib<name>.a to let people know that these are not
15701 # typical AIX shared libraries.
15702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15703 ;;
15704 aix,no) # traditional AIX only
15705 dynamic_linker='AIX lib.a(lib.so.V)'
15706 # We preserve .a as extension for shared libraries through AIX4.2
15707 # and later when we are not doing run time linking.
15708 library_names_spec='$libname$release.a $libname.a'
15709 soname_spec='$libname$release$shared_ext$major'
15710 ;;
15711 svr4,*) # full svr4 only
15712 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15713 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15714 # We do not specify a path in Import Files, so LIBPATH fires.
15715 shlibpath_overrides_runpath=yes
15716 ;;
15717 *,yes) # both, prefer svr4
15718 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15719 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15720 # unpreferred sharedlib libNAME.a needs extra handling
15721 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15722 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15723 # We do not specify a path in Import Files, so LIBPATH fires.
15724 shlibpath_overrides_runpath=yes
15725 ;;
15726 *,no) # both, prefer aix
15727 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15728 library_names_spec='$libname$release.a $libname.a'
15729 soname_spec='$libname$release$shared_ext$major'
15730 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15731 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15732 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15733 ;;
15734 esac
15735 shlibpath_var=LIBPATH
15736 fi
15737 ;;
15738
15739 amigaos*)
15740 case $host_cpu in
15741 powerpc)
15742 # Since July 2007 AmigaOS4 officially supports .so libraries.
15743 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15745 ;;
15746 m68k)
15747 library_names_spec='$libname.ixlibrary $libname.a'
15748 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15749 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15750 ;;
15751 esac
15752 ;;
15753
15754 beos*)
15755 library_names_spec='$libname$shared_ext'
15756 dynamic_linker="$host_os ld.so"
15757 shlibpath_var=LIBRARY_PATH
15758 ;;
15759
15760 bsdi[45]*)
15761 version_type=linux # correct to gnu/linux during the next big refactor
15762 need_version=no
15763 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15764 soname_spec='$libname$release$shared_ext$major'
15765 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15766 shlibpath_var=LD_LIBRARY_PATH
15767 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15768 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15769 # the default ld.so.conf also contains /usr/contrib/lib and
15770 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15771 # libtool to hard-code these into programs
15772 ;;
15773
15774 cygwin* | mingw* | pw32* | cegcc*)
15775 version_type=windows
15776 shrext_cmds=.dll
15777 need_version=no
15778 need_lib_prefix=no
15779
15780 case $GCC,$cc_basename in
15781 yes,*)
15782 # gcc
15783 library_names_spec='$libname.dll.a'
15784 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15785 postinstall_cmds='base_file=`basename \$file`~
15786 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15787 dldir=$destdir/`dirname \$dlpath`~
15788 test -d \$dldir || mkdir -p \$dldir~
15789 $install_prog $dir/$dlname \$dldir/$dlname~
15790 chmod a+x \$dldir/$dlname~
15791 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15792 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15793 fi'
15794 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15795 dlpath=$dir/\$dldll~
15796 $RM \$dlpath'
15797 shlibpath_overrides_runpath=yes
15798
15799 case $host_os in
15800 cygwin*)
15801 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15802 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15803
15804 ;;
15805 mingw* | cegcc*)
15806 # MinGW DLLs use traditional 'lib' prefix
15807 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15808 ;;
15809 pw32*)
15810 # pw32 DLLs use 'pw' prefix rather than 'lib'
15811 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15812 ;;
15813 esac
15814 dynamic_linker='Win32 ld.exe'
15815 ;;
15816
15817 *,cl*)
15818 # Native MSVC
15819 libname_spec='$name'
15820 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15821 library_names_spec='$libname.dll.lib'
15822
15823 case $build_os in
15824 mingw*)
15825 sys_lib_search_path_spec=
15826 lt_save_ifs=$IFS
15827 IFS=';'
15828 for lt_path in $LIB
15829 do
15830 IFS=$lt_save_ifs
15831 # Let DOS variable expansion print the short 8.3 style file name.
15832 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15833 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15834 done
15835 IFS=$lt_save_ifs
15836 # Convert to MSYS style.
15837 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15838 ;;
15839 cygwin*)
15840 # Convert to unix form, then to dos form, then back to unix form
15841 # but this time dos style (no spaces!) so that the unix form looks
15842 # like /cygdrive/c/PROGRA~1:/cygdr...
15843 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15844 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15845 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15846 ;;
15847 *)
15848 sys_lib_search_path_spec=$LIB
15849 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15850 # It is most probably a Windows format PATH.
15851 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15852 else
15853 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15854 fi
15855 # FIXME: find the short name or the path components, as spaces are
15856 # common. (e.g. "Program Files" -> "PROGRA~1")
15857 ;;
15858 esac
15859
15860 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15861 postinstall_cmds='base_file=`basename \$file`~
15862 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15863 dldir=$destdir/`dirname \$dlpath`~
15864 test -d \$dldir || mkdir -p \$dldir~
15865 $install_prog $dir/$dlname \$dldir/$dlname'
15866 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15867 dlpath=$dir/\$dldll~
15868 $RM \$dlpath'
15869 shlibpath_overrides_runpath=yes
15870 dynamic_linker='Win32 link.exe'
15871 ;;
15872
15873 *)
15874 # Assume MSVC wrapper
15875 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15876 dynamic_linker='Win32 ld.exe'
15877 ;;
15878 esac
15879 # FIXME: first we should search . and the directory the executable is in
15880 shlibpath_var=PATH
15881 ;;
15882
15883 darwin* | rhapsody*)
15884 dynamic_linker="$host_os dyld"
15885 version_type=darwin
15886 need_lib_prefix=no
15887 need_version=no
15888 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15889 soname_spec='$libname$release$major$shared_ext'
15890 shlibpath_overrides_runpath=yes
15891 shlibpath_var=DYLD_LIBRARY_PATH
15892 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15893
15894 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15895 ;;
15896
15897 dgux*)
15898 version_type=linux # correct to gnu/linux during the next big refactor
15899 need_lib_prefix=no
15900 need_version=no
15901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15902 soname_spec='$libname$release$shared_ext$major'
15903 shlibpath_var=LD_LIBRARY_PATH
15904 ;;
15905
15906 freebsd* | dragonfly*)
15907 # DragonFly does not have aout. When/if they implement a new
15908 # versioning mechanism, adjust this.
15909 if test -x /usr/bin/objformat; then
15910 objformat=`/usr/bin/objformat`
15911 else
15912 case $host_os in
15913 freebsd[23].*) objformat=aout ;;
15914 *) objformat=elf ;;
15915 esac
15916 fi
15917 version_type=freebsd-$objformat
15918 case $version_type in
15919 freebsd-elf*)
15920 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15921 soname_spec='$libname$release$shared_ext$major'
15922 need_version=no
15923 need_lib_prefix=no
15924 ;;
15925 freebsd-*)
15926 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15927 need_version=yes
15928 ;;
15929 esac
15930 shlibpath_var=LD_LIBRARY_PATH
15931 case $host_os in
15932 freebsd2.*)
15933 shlibpath_overrides_runpath=yes
15934 ;;
15935 freebsd3.[01]* | freebsdelf3.[01]*)
15936 shlibpath_overrides_runpath=yes
15937 hardcode_into_libs=yes
15938 ;;
15939 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15940 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15941 shlibpath_overrides_runpath=no
15942 hardcode_into_libs=yes
15943 ;;
15944 *) # from 4.6 on, and DragonFly
15945 shlibpath_overrides_runpath=yes
15946 hardcode_into_libs=yes
15947 ;;
15948 esac
15949 ;;
15950
15951 haiku*)
15952 version_type=linux # correct to gnu/linux during the next big refactor
15953 need_lib_prefix=no
15954 need_version=no
15955 dynamic_linker="$host_os runtime_loader"
15956 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15957 soname_spec='$libname$release$shared_ext$major'
15958 shlibpath_var=LIBRARY_PATH
15959 shlibpath_overrides_runpath=no
15960 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15961 hardcode_into_libs=yes
15962 ;;
15963
15964 hpux9* | hpux10* | hpux11*)
15965 # Give a soname corresponding to the major version so that dld.sl refuses to
15966 # link against other versions.
15967 version_type=sunos
15968 need_lib_prefix=no
15969 need_version=no
15970 case $host_cpu in
15971 ia64*)
15972 shrext_cmds='.so'
15973 hardcode_into_libs=yes
15974 dynamic_linker="$host_os dld.so"
15975 shlibpath_var=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15977 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15978 soname_spec='$libname$release$shared_ext$major'
15979 if test 32 = "$HPUX_IA64_MODE"; then
15980 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15981 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15982 else
15983 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15984 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15985 fi
15986 ;;
15987 hppa*64*)
15988 shrext_cmds='.sl'
15989 hardcode_into_libs=yes
15990 dynamic_linker="$host_os dld.sl"
15991 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15992 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15993 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15994 soname_spec='$libname$release$shared_ext$major'
15995 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15996 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15997 ;;
15998 *)
15999 shrext_cmds='.sl'
16000 dynamic_linker="$host_os dld.sl"
16001 shlibpath_var=SHLIB_PATH
16002 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16003 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16004 soname_spec='$libname$release$shared_ext$major'
16005 ;;
16006 esac
16007 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16008 postinstall_cmds='chmod 555 $lib'
16009 # or fails outright, so override atomically:
16010 install_override_mode=555
16011 ;;
16012
16013 interix[3-9]*)
16014 version_type=linux # correct to gnu/linux during the next big refactor
16015 need_lib_prefix=no
16016 need_version=no
16017 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16018 soname_spec='$libname$release$shared_ext$major'
16019 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16020 shlibpath_var=LD_LIBRARY_PATH
16021 shlibpath_overrides_runpath=no
16022 hardcode_into_libs=yes
16023 ;;
16024
16025 irix5* | irix6* | nonstopux*)
16026 case $host_os in
16027 nonstopux*) version_type=nonstopux ;;
16028 *)
16029 if test yes = "$lt_cv_prog_gnu_ld"; then
16030 version_type=linux # correct to gnu/linux during the next big refactor
16031 else
16032 version_type=irix
16033 fi ;;
16034 esac
16035 need_lib_prefix=no
16036 need_version=no
16037 soname_spec='$libname$release$shared_ext$major'
16038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16039 case $host_os in
16040 irix5* | nonstopux*)
16041 libsuff= shlibsuff=
16042 ;;
16043 *)
16044 case $LD in # libtool.m4 will add one of these switches to LD
16045 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16046 libsuff= shlibsuff= libmagic=32-bit;;
16047 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16048 libsuff=32 shlibsuff=N32 libmagic=N32;;
16049 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16050 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16051 *) libsuff= shlibsuff= libmagic=never-match;;
16052 esac
16053 ;;
16054 esac
16055 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16056 shlibpath_overrides_runpath=no
16057 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16058 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16059 hardcode_into_libs=yes
16060 ;;
16061
16062 # No shared lib support for Linux oldld, aout, or coff.
16063 linux*oldld* | linux*aout* | linux*coff*)
16064 dynamic_linker=no
16065 ;;
16066
16067 linux*android*)
16068 version_type=none # Android doesn't support versioned libraries.
16069 need_lib_prefix=no
16070 need_version=no
16071 library_names_spec='$libname$release$shared_ext'
16072 soname_spec='$libname$release$shared_ext'
16073 finish_cmds=
16074 shlibpath_var=LD_LIBRARY_PATH
16075 shlibpath_overrides_runpath=yes
16076
16077 # This implies no fast_install, which is unacceptable.
16078 # Some rework will be needed to allow for fast_install
16079 # before this can be enabled.
16080 hardcode_into_libs=yes
16081
16082 dynamic_linker='Android linker'
16083 # Don't embed -rpath directories since the linker doesn't support them.
16084 hardcode_libdir_flag_spec_CXX='-L$libdir'
16085 ;;
16086
16087 # This must be glibc/ELF.
16088 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16089 version_type=linux # correct to gnu/linux during the next big refactor
16090 need_lib_prefix=no
16091 need_version=no
16092 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16093 soname_spec='$libname$release$shared_ext$major'
16094 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16095 shlibpath_var=LD_LIBRARY_PATH
16096 shlibpath_overrides_runpath=no
16097
16098 # Some binutils ld are patched to set DT_RUNPATH
16099 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16100 $as_echo_n "(cached) " >&6
16101 else
16102 lt_cv_shlibpath_overrides_runpath=no
16103 save_LDFLAGS=$LDFLAGS
16104 save_libdir=$libdir
16105 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16106 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16109
16110 int
16111 main ()
16112 {
16113
16114 ;
16115 return 0;
16116 }
16117 _ACEOF
16118 if ac_fn_cxx_try_link "$LINENO"; then :
16119 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16120 lt_cv_shlibpath_overrides_runpath=yes
16121 fi
16122 fi
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext conftest.$ac_ext
16125 LDFLAGS=$save_LDFLAGS
16126 libdir=$save_libdir
16127
16128 fi
16129
16130 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16131
16132 # This implies no fast_install, which is unacceptable.
16133 # Some rework will be needed to allow for fast_install
16134 # before this can be enabled.
16135 hardcode_into_libs=yes
16136
16137 # Add ABI-specific directories to the system library path.
16138 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16139
16140 # Ideally, we could use ldconfig to report *all* directores which are
16141 # searched for libraries, however this is still not possible. Aside from not
16142 # being certain /sbin/ldconfig is available, command
16143 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16144 # even though it is searched at run-time. Try to do the best guess by
16145 # appending ld.so.conf contents (and includes) to the search path.
16146 if test -f /etc/ld.so.conf; then
16147 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' ' '`
16148 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16149 fi
16150
16151 # We used to test for /lib/ld.so.1 and disable shared libraries on
16152 # powerpc, because MkLinux only supported shared libraries with the
16153 # GNU dynamic linker. Since this was broken with cross compilers,
16154 # most powerpc-linux boxes support dynamic linking these days and
16155 # people can always --disable-shared, the test was removed, and we
16156 # assume the GNU/Linux dynamic linker is in use.
16157 dynamic_linker='GNU/Linux ld.so'
16158 ;;
16159
16160 netbsd*)
16161 version_type=sunos
16162 need_lib_prefix=no
16163 need_version=no
16164 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16165 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16166 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16167 dynamic_linker='NetBSD (a.out) ld.so'
16168 else
16169 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16170 soname_spec='$libname$release$shared_ext$major'
16171 dynamic_linker='NetBSD ld.elf_so'
16172 fi
16173 shlibpath_var=LD_LIBRARY_PATH
16174 shlibpath_overrides_runpath=yes
16175 hardcode_into_libs=yes
16176 ;;
16177
16178 newsos6)
16179 version_type=linux # correct to gnu/linux during the next big refactor
16180 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16181 shlibpath_var=LD_LIBRARY_PATH
16182 shlibpath_overrides_runpath=yes
16183 ;;
16184
16185 *nto* | *qnx*)
16186 version_type=qnx
16187 need_lib_prefix=no
16188 need_version=no
16189 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16190 soname_spec='$libname$release$shared_ext$major'
16191 shlibpath_var=LD_LIBRARY_PATH
16192 shlibpath_overrides_runpath=no
16193 hardcode_into_libs=yes
16194 dynamic_linker='ldqnx.so'
16195 ;;
16196
16197 openbsd* | bitrig*)
16198 version_type=sunos
16199 sys_lib_dlsearch_path_spec=/usr/lib
16200 need_lib_prefix=no
16201 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16202 need_version=no
16203 else
16204 need_version=yes
16205 fi
16206 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16207 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16208 shlibpath_var=LD_LIBRARY_PATH
16209 shlibpath_overrides_runpath=yes
16210 ;;
16211
16212 os2*)
16213 libname_spec='$name'
16214 version_type=windows
16215 shrext_cmds=.dll
16216 need_version=no
16217 need_lib_prefix=no
16218 # OS/2 can only load a DLL with a base name of 8 characters or less.
16219 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16220 v=$($ECHO $release$versuffix | tr -d .-);
16221 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16222 $ECHO $n$v`$shared_ext'
16223 library_names_spec='${libname}_dll.$libext'
16224 dynamic_linker='OS/2 ld.exe'
16225 shlibpath_var=BEGINLIBPATH
16226 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16227 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16228 postinstall_cmds='base_file=`basename \$file`~
16229 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16230 dldir=$destdir/`dirname \$dlpath`~
16231 test -d \$dldir || mkdir -p \$dldir~
16232 $install_prog $dir/$dlname \$dldir/$dlname~
16233 chmod a+x \$dldir/$dlname~
16234 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16235 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16236 fi'
16237 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16238 dlpath=$dir/\$dldll~
16239 $RM \$dlpath'
16240 ;;
16241
16242 osf3* | osf4* | osf5*)
16243 version_type=osf
16244 need_lib_prefix=no
16245 need_version=no
16246 soname_spec='$libname$release$shared_ext$major'
16247 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16248 shlibpath_var=LD_LIBRARY_PATH
16249 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16250 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16251 ;;
16252
16253 rdos*)
16254 dynamic_linker=no
16255 ;;
16256
16257 solaris*)
16258 version_type=linux # correct to gnu/linux during the next big refactor
16259 need_lib_prefix=no
16260 need_version=no
16261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16262 soname_spec='$libname$release$shared_ext$major'
16263 shlibpath_var=LD_LIBRARY_PATH
16264 shlibpath_overrides_runpath=yes
16265 hardcode_into_libs=yes
16266 # ldd complains unless libraries are executable
16267 postinstall_cmds='chmod +x $lib'
16268 ;;
16269
16270 sunos4*)
16271 version_type=sunos
16272 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16273 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16274 shlibpath_var=LD_LIBRARY_PATH
16275 shlibpath_overrides_runpath=yes
16276 if test yes = "$with_gnu_ld"; then
16277 need_lib_prefix=no
16278 fi
16279 need_version=yes
16280 ;;
16281
16282 sysv4 | sysv4.3*)
16283 version_type=linux # correct to gnu/linux during the next big refactor
16284 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16285 soname_spec='$libname$release$shared_ext$major'
16286 shlibpath_var=LD_LIBRARY_PATH
16287 case $host_vendor in
16288 sni)
16289 shlibpath_overrides_runpath=no
16290 need_lib_prefix=no
16291 runpath_var=LD_RUN_PATH
16292 ;;
16293 siemens)
16294 need_lib_prefix=no
16295 ;;
16296 motorola)
16297 need_lib_prefix=no
16298 need_version=no
16299 shlibpath_overrides_runpath=no
16300 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16301 ;;
16302 esac
16303 ;;
16304
16305 sysv4*MP*)
16306 if test -d /usr/nec; then
16307 version_type=linux # correct to gnu/linux during the next big refactor
16308 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16309 soname_spec='$libname$shared_ext.$major'
16310 shlibpath_var=LD_LIBRARY_PATH
16311 fi
16312 ;;
16313
16314 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16315 version_type=sco
16316 need_lib_prefix=no
16317 need_version=no
16318 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16319 soname_spec='$libname$release$shared_ext$major'
16320 shlibpath_var=LD_LIBRARY_PATH
16321 shlibpath_overrides_runpath=yes
16322 hardcode_into_libs=yes
16323 if test yes = "$with_gnu_ld"; then
16324 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16325 else
16326 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16327 case $host_os in
16328 sco3.2v5*)
16329 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16330 ;;
16331 esac
16332 fi
16333 sys_lib_dlsearch_path_spec='/usr/lib'
16334 ;;
16335
16336 tpf*)
16337 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16338 version_type=linux # correct to gnu/linux during the next big refactor
16339 need_lib_prefix=no
16340 need_version=no
16341 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16342 shlibpath_var=LD_LIBRARY_PATH
16343 shlibpath_overrides_runpath=no
16344 hardcode_into_libs=yes
16345 ;;
16346
16347 uts4*)
16348 version_type=linux # correct to gnu/linux during the next big refactor
16349 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16350 soname_spec='$libname$release$shared_ext$major'
16351 shlibpath_var=LD_LIBRARY_PATH
16352 ;;
16353
16354 *)
16355 dynamic_linker=no
16356 ;;
16357 esac
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16359 $as_echo "$dynamic_linker" >&6; }
16360 test no = "$dynamic_linker" && can_build_shared=no
16361
16362 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16363 if test yes = "$GCC"; then
16364 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16365 fi
16366
16367 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16368 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16369 fi
16370
16371 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16372 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16373 fi
16374
16375 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16376 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16377
16378 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16379 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16380
16381 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16382 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16424 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16425 hardcode_action_CXX=
16426 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16427 test -n "$runpath_var_CXX" ||
16428 test yes = "$hardcode_automatic_CXX"; then
16429
16430 # We can hardcode non-existent directories.
16431 if test no != "$hardcode_direct_CXX" &&
16432 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16433 # have to relink, otherwise we might link with an installed library
16434 # when we should be linking with a yet-to-be-installed one
16435 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16436 test no != "$hardcode_minus_L_CXX"; then
16437 # Linking always hardcodes the temporary library directory.
16438 hardcode_action_CXX=relink
16439 else
16440 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16441 hardcode_action_CXX=immediate
16442 fi
16443 else
16444 # We cannot hardcode anything, or else we can only hardcode existing
16445 # directories.
16446 hardcode_action_CXX=unsupported
16447 fi
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16449 $as_echo "$hardcode_action_CXX" >&6; }
16450
16451 if test relink = "$hardcode_action_CXX" ||
16452 test yes = "$inherit_rpath_CXX"; then
16453 # Fast installation is not supported
16454 enable_fast_install=no
16455 elif test yes = "$shlibpath_overrides_runpath" ||
16456 test no = "$enable_shared"; then
16457 # Fast installation is not necessary
16458 enable_fast_install=needless
16459 fi
16460
16461
16462
16463
16464
16465
16466
16467 fi # test -n "$compiler"
16468
16469 CC=$lt_save_CC
16470 CFLAGS=$lt_save_CFLAGS
16471 LDCXX=$LD
16472 LD=$lt_save_LD
16473 GCC=$lt_save_GCC
16474 with_gnu_ld=$lt_save_with_gnu_ld
16475 lt_cv_path_LDCXX=$lt_cv_path_LD
16476 lt_cv_path_LD=$lt_save_path_LD
16477 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16478 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16479 fi # test yes != "$_lt_caught_CXX_error"
16480
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501 ac_config_commands="$ac_config_commands libtool"
16502
16503
16504
16505
16506 # Only expand once:
16507
16508
16509
16510 # Check for m4 and sed which are used for plug-in .hg and .ccg file generation.
16511 for ac_prog in gm4 m4
16512 do
16513 # Extract the first word of "$ac_prog", so it can be a program name with args.
16514 set dummy $ac_prog; ac_word=$2
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16516 $as_echo_n "checking for $ac_word... " >&6; }
16517 if ${ac_cv_prog_M4+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 if test -n "$M4"; then
16521 ac_cv_prog_M4="$M4" # Let the user override the test.
16522 else
16523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16524 for as_dir in $PATH
16525 do
16526 IFS=$as_save_IFS
16527 test -z "$as_dir" && as_dir=.
16528 for ac_exec_ext in '' $ac_executable_extensions; do
16529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16530 ac_cv_prog_M4="$ac_prog"
16531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16532 break 2
16533 fi
16534 done
16535 done
16536 IFS=$as_save_IFS
16537
16538 fi
16539 fi
16540 M4=$ac_cv_prog_M4
16541 if test -n "$M4"; then
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
16543 $as_echo "$M4" >&6; }
16544 else
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16546 $as_echo "no" >&6; }
16547 fi
16548
16549
16550 test -n "$M4" && break
16551 done
16552 test -n "$M4" || M4="m4"
16553
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
16555 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
16556 if ${ac_cv_path_SED+:} false; then :
16557 $as_echo_n "(cached) " >&6
16558 else
16559 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
16560 for ac_i in 1 2 3 4 5 6 7; do
16561 ac_script="$ac_script$as_nl$ac_script"
16562 done
16563 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
16564 { ac_script=; unset ac_script;}
16565 if test -z "$SED"; then
16566 ac_path_SED_found=false
16567 # Loop through the user's path and test for each of PROGNAME-LIST
16568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16569 for as_dir in $PATH
16570 do
16571 IFS=$as_save_IFS
16572 test -z "$as_dir" && as_dir=.
16573 for ac_prog in sed gsed; do
16574 for ac_exec_ext in '' $ac_executable_extensions; do
16575 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
16576 as_fn_executable_p "$ac_path_SED" || continue
16577 # Check for GNU ac_path_SED and select it if it is found.
16578 # Check for GNU $ac_path_SED
16579 case `"$ac_path_SED" --version 2>&1` in
16580 *GNU*)
16581 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
16582 *)
16583 ac_count=0
16584 $as_echo_n 0123456789 >"conftest.in"
16585 while :
16586 do
16587 cat "conftest.in" "conftest.in" >"conftest.tmp"
16588 mv "conftest.tmp" "conftest.in"
16589 cp "conftest.in" "conftest.nl"
16590 $as_echo '' >> "conftest.nl"
16591 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
16592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16593 as_fn_arith $ac_count + 1 && ac_count=$as_val
16594 if test $ac_count -gt ${ac_path_SED_max-0}; then
16595 # Best one so far, save it but keep looking for a better one
16596 ac_cv_path_SED="$ac_path_SED"
16597 ac_path_SED_max=$ac_count
16598 fi
16599 # 10*(2^10) chars as input seems more than enough
16600 test $ac_count -gt 10 && break
16601 done
16602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16603 esac
16604
16605 $ac_path_SED_found && break 3
16606 done
16607 done
16608 done
16609 IFS=$as_save_IFS
16610 if test -z "$ac_cv_path_SED"; then
16611 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
16612 fi
16613 else
16614 ac_cv_path_SED=$SED
16615 fi
16616
16617 fi
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
16619 $as_echo "$ac_cv_path_SED" >&6; }
16620 SED="$ac_cv_path_SED"
16621 rm -f conftest.sed
16622
16623
16624 # TODO: This makes no sense. --danielk
16625 if test "x$enable_static" = xyes; then :
16626
16627
16628 $as_echo "#define GSTREAMERMM_STATIC_LIB 1" >>confdefs.h
16629
16630
16631 fi
16632
16633 # The format below is used so that the requirements appear nicely in the .pc
16634 # file.
16635
16636 GSTREAMERMM_MODULES='giomm-2.4 >= 2.47.6 gstreamer-1.0 >= 1.10.0 gstreamer-base-1.0 >= 1.10.0 gstreamer-check-1.0 >= 1.10.0 gstreamer-controller-1.0 >= 1.10.0 gstreamer-net-1.0 >= 1.10.0 gstreamer-allocators-1.0 >= 1.10.0 gstreamer-app-1.0 >= 1.10.0 gstreamer-audio-1.0 >= 1.10.0 gstreamer-fft-1.0 >= 1.10.0 gstreamer-pbutils-1.0 >= 1.10.0 gstreamer-plugins-base-1.0 >= 1.10.0 gstreamer-riff-1.0 >= 1.10.0 gstreamer-rtp-1.0 >= 1.10.0 gstreamer-rtsp-1.0 >= 1.10.0 gstreamer-sdp-1.0 >= 1.10.0 gstreamer-tag-1.0 >= 1.10.0 gstreamer-video-1.0 >= 1.10.0'
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16647 if test -n "$ac_tool_prefix"; then
16648 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16649 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16651 $as_echo_n "checking for $ac_word... " >&6; }
16652 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16653 $as_echo_n "(cached) " >&6
16654 else
16655 case $PKG_CONFIG in
16656 [\\/]* | ?:[\\/]*)
16657 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16658 ;;
16659 *)
16660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16661 for as_dir in $PATH
16662 do
16663 IFS=$as_save_IFS
16664 test -z "$as_dir" && as_dir=.
16665 for ac_exec_ext in '' $ac_executable_extensions; do
16666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16667 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16669 break 2
16670 fi
16671 done
16672 done
16673 IFS=$as_save_IFS
16674
16675 ;;
16676 esac
16677 fi
16678 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16679 if test -n "$PKG_CONFIG"; then
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16681 $as_echo "$PKG_CONFIG" >&6; }
16682 else
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16684 $as_echo "no" >&6; }
16685 fi
16686
16687
16688 fi
16689 if test -z "$ac_cv_path_PKG_CONFIG"; then
16690 ac_pt_PKG_CONFIG=$PKG_CONFIG
16691 # Extract the first word of "pkg-config", so it can be a program name with args.
16692 set dummy pkg-config; ac_word=$2
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16694 $as_echo_n "checking for $ac_word... " >&6; }
16695 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 case $ac_pt_PKG_CONFIG in
16699 [\\/]* | ?:[\\/]*)
16700 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16701 ;;
16702 *)
16703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16704 for as_dir in $PATH
16705 do
16706 IFS=$as_save_IFS
16707 test -z "$as_dir" && as_dir=.
16708 for ac_exec_ext in '' $ac_executable_extensions; do
16709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16710 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16712 break 2
16713 fi
16714 done
16715 done
16716 IFS=$as_save_IFS
16717
16718 ;;
16719 esac
16720 fi
16721 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16722 if test -n "$ac_pt_PKG_CONFIG"; then
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16724 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16725 else
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16727 $as_echo "no" >&6; }
16728 fi
16729
16730 if test "x$ac_pt_PKG_CONFIG" = x; then
16731 PKG_CONFIG=""
16732 else
16733 case $cross_compiling:$ac_tool_warned in
16734 yes:)
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16737 ac_tool_warned=yes ;;
16738 esac
16739 PKG_CONFIG=$ac_pt_PKG_CONFIG
16740 fi
16741 else
16742 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16743 fi
16744
16745 fi
16746 if test -n "$PKG_CONFIG"; then
16747 _pkg_min_version=0.9.0
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16749 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16750 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16752 $as_echo "yes" >&6; }
16753 else
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16755 $as_echo "no" >&6; }
16756 PKG_CONFIG=""
16757 fi
16758 fi
16759
16760 pkg_failed=no
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMERMM" >&5
16762 $as_echo_n "checking for GSTREAMERMM... " >&6; }
16763
16764 if test -n "$GSTREAMERMM_CFLAGS"; then
16765 pkg_cv_GSTREAMERMM_CFLAGS="$GSTREAMERMM_CFLAGS"
16766 elif test -n "$PKG_CONFIG"; then
16767 if test -n "$PKG_CONFIG" && \
16768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES\""; } >&5
16769 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES") 2>&5
16770 ac_status=$?
16771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16772 test $ac_status = 0; }; then
16773 pkg_cv_GSTREAMERMM_CFLAGS=`$PKG_CONFIG --cflags "$GSTREAMERMM_MODULES" 2>/dev/null`
16774 test "x$?" != "x0" && pkg_failed=yes
16775 else
16776 pkg_failed=yes
16777 fi
16778 else
16779 pkg_failed=untried
16780 fi
16781 if test -n "$GSTREAMERMM_LIBS"; then
16782 pkg_cv_GSTREAMERMM_LIBS="$GSTREAMERMM_LIBS"
16783 elif test -n "$PKG_CONFIG"; then
16784 if test -n "$PKG_CONFIG" && \
16785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES\""; } >&5
16786 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES") 2>&5
16787 ac_status=$?
16788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16789 test $ac_status = 0; }; then
16790 pkg_cv_GSTREAMERMM_LIBS=`$PKG_CONFIG --libs "$GSTREAMERMM_MODULES" 2>/dev/null`
16791 test "x$?" != "x0" && pkg_failed=yes
16792 else
16793 pkg_failed=yes
16794 fi
16795 else
16796 pkg_failed=untried
16797 fi
16798
16799
16800
16801 if test $pkg_failed = yes; then
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16803 $as_echo "no" >&6; }
16804
16805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16806 _pkg_short_errors_supported=yes
16807 else
16808 _pkg_short_errors_supported=no
16809 fi
16810 if test $_pkg_short_errors_supported = yes; then
16811 GSTREAMERMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GSTREAMERMM_MODULES" 2>&1`
16812 else
16813 GSTREAMERMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GSTREAMERMM_MODULES" 2>&1`
16814 fi
16815 # Put the nasty error message in config.log where it belongs
16816 echo "$GSTREAMERMM_PKG_ERRORS" >&5
16817
16818 as_fn_error $? "Package requirements ($GSTREAMERMM_MODULES) were not met:
16819
16820 $GSTREAMERMM_PKG_ERRORS
16821
16822 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16823 installed software in a non-standard prefix.
16824
16825 Alternatively, you may set the environment variables GSTREAMERMM_CFLAGS
16826 and GSTREAMERMM_LIBS to avoid the need to call pkg-config.
16827 See the pkg-config man page for more details." "$LINENO" 5
16828 elif test $pkg_failed = untried; then
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16830 $as_echo "no" >&6; }
16831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16833 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16834 is in your PATH or set the PKG_CONFIG environment variable to the full
16835 path to pkg-config.
16836
16837 Alternatively, you may set the environment variables GSTREAMERMM_CFLAGS
16838 and GSTREAMERMM_LIBS to avoid the need to call pkg-config.
16839 See the pkg-config man page for more details.
16840
16841 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16842 See \`config.log' for more details" "$LINENO" 5; }
16843 else
16844 GSTREAMERMM_CFLAGS=$pkg_cv_GSTREAMERMM_CFLAGS
16845 GSTREAMERMM_LIBS=$pkg_cv_GSTREAMERMM_LIBS
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16847 $as_echo "yes" >&6; }
16848
16849 fi
16850
16851
16852 pkg_failed=no
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUI_EXAMPLES" >&5
16854 $as_echo_n "checking for GUI_EXAMPLES... " >&6; }
16855
16856 if test -n "$GUI_EXAMPLES_CFLAGS"; then
16857 pkg_cv_GUI_EXAMPLES_CFLAGS="$GUI_EXAMPLES_CFLAGS"
16858 elif test -n "$PKG_CONFIG"; then
16859 if test -n "$PKG_CONFIG" && \
16860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0\""; } >&5
16861 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0") 2>&5
16862 ac_status=$?
16863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16864 test $ac_status = 0; }; then
16865 pkg_cv_GUI_EXAMPLES_CFLAGS=`$PKG_CONFIG --cflags "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>/dev/null`
16866 test "x$?" != "x0" && pkg_failed=yes
16867 else
16868 pkg_failed=yes
16869 fi
16870 else
16871 pkg_failed=untried
16872 fi
16873 if test -n "$GUI_EXAMPLES_LIBS"; then
16874 pkg_cv_GUI_EXAMPLES_LIBS="$GUI_EXAMPLES_LIBS"
16875 elif test -n "$PKG_CONFIG"; then
16876 if test -n "$PKG_CONFIG" && \
16877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0\""; } >&5
16878 ($PKG_CONFIG --exists --print-errors "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0") 2>&5
16879 ac_status=$?
16880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16881 test $ac_status = 0; }; then
16882 pkg_cv_GUI_EXAMPLES_LIBS=`$PKG_CONFIG --libs "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>/dev/null`
16883 test "x$?" != "x0" && pkg_failed=yes
16884 else
16885 pkg_failed=yes
16886 fi
16887 else
16888 pkg_failed=untried
16889 fi
16890
16891
16892
16893 if test $pkg_failed = yes; then
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16895 $as_echo "no" >&6; }
16896
16897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16898 _pkg_short_errors_supported=yes
16899 else
16900 _pkg_short_errors_supported=no
16901 fi
16902 if test $_pkg_short_errors_supported = yes; then
16903 GUI_EXAMPLES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>&1`
16904 else
16905 GUI_EXAMPLES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GSTREAMERMM_MODULES gtkmm-3.0 >= 3.0" 2>&1`
16906 fi
16907 # Put the nasty error message in config.log where it belongs
16908 echo "$GUI_EXAMPLES_PKG_ERRORS" >&5
16909
16910 gstmm_enable_gui_examples=no
16911 elif test $pkg_failed = untried; then
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16913 $as_echo "no" >&6; }
16914 gstmm_enable_gui_examples=no
16915 else
16916 GUI_EXAMPLES_CFLAGS=$pkg_cv_GUI_EXAMPLES_CFLAGS
16917 GUI_EXAMPLES_LIBS=$pkg_cv_GUI_EXAMPLES_LIBS
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16919 $as_echo "yes" >&6; }
16920 gstmm_enable_gui_examples=yes
16921 fi
16922
16923 if test "x$gstmm_enable_gui_examples" != xyes; then :
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtkmm not available: GUI examples will not be built." >&5
16925 $as_echo "$as_me: WARNING: gtkmm not available: GUI examples will not be built." >&2;}
16926 fi
16927 if test "x$gstmm_enable_gui_examples" = xyes; then
16928 ENABLE_GUI_EXAMPLES_TRUE=
16929 ENABLE_GUI_EXAMPLES_FALSE='#'
16930 else
16931 ENABLE_GUI_EXAMPLES_TRUE='#'
16932 ENABLE_GUI_EXAMPLES_FALSE=
16933 fi
16934
16935
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_DIR" >&5
16937 $as_echo_n "checking for GMMPROC_DIR... " >&6; }
16938 if test -z "${GMMPROC_DIR+set}"; then :
16939 GMMPROC_DIR=`$PKG_CONFIG --variable=gmmprocdir glibmm-2.4 2>&5`
16940 if test "$?" -eq 0; then :
16941
16942 fi
16943 fi
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_DIR" >&5
16945 $as_echo "$GMMPROC_DIR" >&6; }
16946
16947
16948 # Extract the first word of "perl", so it can be a program name with args.
16949 set dummy perl; ac_word=$2
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16951 $as_echo_n "checking for $ac_word... " >&6; }
16952 if ${ac_cv_path_PERL+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 case $PERL in
16956 [\\/]* | ?:[\\/]*)
16957 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16958 ;;
16959 *)
16960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16961 for as_dir in $PATH
16962 do
16963 IFS=$as_save_IFS
16964 test -z "$as_dir" && as_dir=.
16965 for ac_exec_ext in '' $ac_executable_extensions; do
16966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16967 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16969 break 2
16970 fi
16971 done
16972 done
16973 IFS=$as_save_IFS
16974
16975 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
16976 ;;
16977 esac
16978 fi
16979 PERL=$ac_cv_path_PERL
16980 if test -n "$PERL"; then
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16982 $as_echo "$PERL" >&6; }
16983 else
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16985 $as_echo "no" >&6; }
16986 fi
16987
16988
16989
16990 # Extract the first word of "dot", so it can be a program name with args.
16991 set dummy dot; ac_word=$2
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16993 $as_echo_n "checking for $ac_word... " >&6; }
16994 if ${ac_cv_path_DOT+:} false; then :
16995 $as_echo_n "(cached) " >&6
16996 else
16997 case $DOT in
16998 [\\/]* | ?:[\\/]*)
16999 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
17000 ;;
17001 *)
17002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17003 for as_dir in $PATH
17004 do
17005 IFS=$as_save_IFS
17006 test -z "$as_dir" && as_dir=.
17007 for ac_exec_ext in '' $ac_executable_extensions; do
17008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17009 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
17010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17011 break 2
17012 fi
17013 done
17014 done
17015 IFS=$as_save_IFS
17016
17017 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
17018 ;;
17019 esac
17020 fi
17021 DOT=$ac_cv_path_DOT
17022 if test -n "$DOT"; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
17024 $as_echo "$DOT" >&6; }
17025 else
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17027 $as_echo "no" >&6; }
17028 fi
17029
17030
17031 # Extract the first word of "doxygen", so it can be a program name with args.
17032 set dummy doxygen; ac_word=$2
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17034 $as_echo_n "checking for $ac_word... " >&6; }
17035 if ${ac_cv_path_DOXYGEN+:} false; then :
17036 $as_echo_n "(cached) " >&6
17037 else
17038 case $DOXYGEN in
17039 [\\/]* | ?:[\\/]*)
17040 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
17041 ;;
17042 *)
17043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17044 for as_dir in $PATH
17045 do
17046 IFS=$as_save_IFS
17047 test -z "$as_dir" && as_dir=.
17048 for ac_exec_ext in '' $ac_executable_extensions; do
17049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17050 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
17051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17052 break 2
17053 fi
17054 done
17055 done
17056 IFS=$as_save_IFS
17057
17058 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
17059 ;;
17060 esac
17061 fi
17062 DOXYGEN=$ac_cv_path_DOXYGEN
17063 if test -n "$DOXYGEN"; then
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
17065 $as_echo "$DOXYGEN" >&6; }
17066 else
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17068 $as_echo "no" >&6; }
17069 fi
17070
17071
17072 # Extract the first word of "xsltproc", so it can be a program name with args.
17073 set dummy xsltproc; ac_word=$2
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17075 $as_echo_n "checking for $ac_word... " >&6; }
17076 if ${ac_cv_path_XSLTPROC+:} false; then :
17077 $as_echo_n "(cached) " >&6
17078 else
17079 case $XSLTPROC in
17080 [\\/]* | ?:[\\/]*)
17081 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
17082 ;;
17083 *)
17084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17085 for as_dir in $PATH
17086 do
17087 IFS=$as_save_IFS
17088 test -z "$as_dir" && as_dir=.
17089 for ac_exec_ext in '' $ac_executable_extensions; do
17090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17091 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
17092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17093 break 2
17094 fi
17095 done
17096 done
17097 IFS=$as_save_IFS
17098
17099 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
17100 ;;
17101 esac
17102 fi
17103 XSLTPROC=$ac_cv_path_XSLTPROC
17104 if test -n "$XSLTPROC"; then
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
17106 $as_echo "$XSLTPROC" >&6; }
17107 else
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17109 $as_echo "no" >&6; }
17110 fi
17111
17112
17113 # Check whether --enable-documentation was given.
17114 if test "${enable_documentation+set}" = set; then :
17115 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
17116 else
17117 ENABLE_DOCUMENTATION=auto
17118 fi
17119
17120 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17121
17122 mm_err=
17123 if test "x$MMDOCTOOLDIR" = x; then :
17124 mm_err='The mm-common-util module is available, but the installation of mm-common on this
17125 machine is missing the shared documentation utilities of the GNOME C++
17126 bindings. It may be necessary to upgrade to a more recent release of
17127 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
17128 elif test "x$PERL" = xperl; then :
17129 mm_err='Perl is required for installing the documentation.'
17130 elif test "x$USE_MAINTAINER_MODE" != xno; then :
17131
17132 test "x$DOT" != xdot || mm_err=' dot'
17133 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
17134 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
17135 test -z "$mm_err" || mm_err='The documentation cannot be generated because
17136 not all of the required tools are available:'$mm_err
17137
17138 fi
17139 if test -z "$mm_err"; then :
17140 ENABLE_DOCUMENTATION=yes
17141 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
17142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17144 as_fn_error $? "$mm_err
17145 See \`config.log' for more details" "$LINENO" 5; }
17146 else
17147 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
17148 $as_echo "$as_me: WARNING: $mm_err" >&2;}
17149 fi
17150
17151 fi
17152 if test "x$ENABLE_DOCUMENTATION" = xyes; then
17153 ENABLE_DOCUMENTATION_TRUE=
17154 ENABLE_DOCUMENTATION_FALSE='#'
17155 else
17156 ENABLE_DOCUMENTATION_TRUE='#'
17157 ENABLE_DOCUMENTATION_FALSE=
17158 fi
17159
17160 DOXYGEN_TAGFILES=
17161
17162 DOCINSTALL_FLAGS=
17163
17164
17165 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
17167 $as_echo_n "checking for libstdc documentation... " >&6; }
17168
17169 # Check whether --with-libstdc-doc was given.
17170 if test "${with_libstdc_doc+set}" = set; then :
17171 withval=$with_libstdc_doc;
17172 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17173 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17174 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17175 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
17176 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17177 else
17178
17179 mm_htmlrefdir=
17180 mm_tagname="libstdc++.tag"
17181 mm_tagpath=$mm_tagname
17182 fi
17183
17184 # Prepend working direcory if the tag file path starts with ./ or ../
17185 case $mm_tagpath in #(
17186 .[\\/]*|..[\\/]*) :
17187 mm_tagpath=`pwd`/$mm_tagpath ;; #(
17188 *) :
17189 ;;
17190 esac
17191
17192 # If no local directory was specified, get the default from the .pc file
17193 if test "x$mm_htmlrefdir" = x; then :
17194
17195 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
17196 fi
17197 # If the user specified a Web URL, allow it to override the public location
17198 case $mm_htmlrefdir in #(
17199 http://*|https://*) :
17200 mm_htmlrefpub=$mm_htmlrefdir ;; #(
17201 *) :
17202
17203 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
17204 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17205 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17206 ;;
17207 esac
17208 # The user-supplied tag-file name takes precedence if it includes the path
17209 case $mm_tagpath in #(
17210 *[\\/]*) :
17211 ;; #(
17212 *) :
17213
17214 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
17215 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17216 ;;
17217 esac
17218 # Remove trailing slashes and translate to URI
17219 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17220 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17221
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17223 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17224
17225 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
17227 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
17228 fi
17229 if test "x$mm_htmlrefdir" = x; then :
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
17231 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
17232 else
17233 if test "x$DOCINSTALL_FLAGS" = x; then :
17234 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17235 else
17236 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17237 fi
17238 fi
17239
17240 if test "x$mm_htmlrefpub" = x; then :
17241 mm_val=$mm_tagpath
17242 else
17243 mm_val="$mm_tagpath=$mm_htmlrefpub"
17244 fi
17245 if test "x$DOXYGEN_TAGFILES" = x; then :
17246 DOXYGEN_TAGFILES=\"$mm_val\"
17247 else
17248 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17249 fi
17250 fi
17251 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
17253 $as_echo_n "checking for libsigc documentation... " >&6; }
17254
17255 # Check whether --with-libsigc-doc was given.
17256 if test "${with_libsigc_doc+set}" = set; then :
17257 withval=$with_libsigc_doc;
17258 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17259 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17260 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17261 test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
17262 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17263 else
17264
17265 mm_htmlrefdir=
17266 mm_tagname="libsigc++-2.0.tag"
17267 mm_tagpath=$mm_tagname
17268 fi
17269
17270 # Prepend working direcory if the tag file path starts with ./ or ../
17271 case $mm_tagpath in #(
17272 .[\\/]*|..[\\/]*) :
17273 mm_tagpath=`pwd`/$mm_tagpath ;; #(
17274 *) :
17275 ;;
17276 esac
17277
17278 # If no local directory was specified, get the default from the .pc file
17279 if test "x$mm_htmlrefdir" = x; then :
17280
17281 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
17282 fi
17283 # If the user specified a Web URL, allow it to override the public location
17284 case $mm_htmlrefdir in #(
17285 http://*|https://*) :
17286 mm_htmlrefpub=$mm_htmlrefdir ;; #(
17287 *) :
17288
17289 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
17290 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17291 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17292 ;;
17293 esac
17294 # The user-supplied tag-file name takes precedence if it includes the path
17295 case $mm_tagpath in #(
17296 *[\\/]*) :
17297 ;; #(
17298 *) :
17299
17300 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
17301 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17302 ;;
17303 esac
17304 # Remove trailing slashes and translate to URI
17305 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17306 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17307
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17309 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17310
17311 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
17313 $as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
17314 fi
17315 if test "x$mm_htmlrefdir" = x; then :
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
17317 $as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
17318 else
17319 if test "x$DOCINSTALL_FLAGS" = x; then :
17320 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17321 else
17322 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17323 fi
17324 fi
17325
17326 if test "x$mm_htmlrefpub" = x; then :
17327 mm_val=$mm_tagpath
17328 else
17329 mm_val="$mm_tagpath=$mm_htmlrefpub"
17330 fi
17331 if test "x$DOXYGEN_TAGFILES" = x; then :
17332 DOXYGEN_TAGFILES=\"$mm_val\"
17333 else
17334 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17335 fi
17336 fi
17337 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
17339 $as_echo_n "checking for glibmm documentation... " >&6; }
17340
17341 # Check whether --with-glibmm-doc was given.
17342 if test "${with_glibmm_doc+set}" = set; then :
17343 withval=$with_glibmm_doc;
17344 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17345 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17346 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17347 test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
17348 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17349 else
17350
17351 mm_htmlrefdir=
17352 mm_tagname="glibmm-2.4.tag"
17353 mm_tagpath=$mm_tagname
17354 fi
17355
17356 # Prepend working direcory if the tag file path starts with ./ or ../
17357 case $mm_tagpath in #(
17358 .[\\/]*|..[\\/]*) :
17359 mm_tagpath=`pwd`/$mm_tagpath ;; #(
17360 *) :
17361 ;;
17362 esac
17363
17364 # If no local directory was specified, get the default from the .pc file
17365 if test "x$mm_htmlrefdir" = x; then :
17366
17367 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
17368 fi
17369 # If the user specified a Web URL, allow it to override the public location
17370 case $mm_htmlrefdir in #(
17371 http://*|https://*) :
17372 mm_htmlrefpub=$mm_htmlrefdir ;; #(
17373 *) :
17374
17375 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
17376 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17377 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17378 ;;
17379 esac
17380 # The user-supplied tag-file name takes precedence if it includes the path
17381 case $mm_tagpath in #(
17382 *[\\/]*) :
17383 ;; #(
17384 *) :
17385
17386 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
17387 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17388 ;;
17389 esac
17390 # Remove trailing slashes and translate to URI
17391 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17392 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17393
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17395 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17396
17397 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
17399 $as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
17400 fi
17401 if test "x$mm_htmlrefdir" = x; then :
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
17403 $as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
17404 else
17405 if test "x$DOCINSTALL_FLAGS" = x; then :
17406 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17407 else
17408 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17409 fi
17410 fi
17411
17412 if test "x$mm_htmlrefpub" = x; then :
17413 mm_val=$mm_tagpath
17414 else
17415 mm_val="$mm_tagpath=$mm_htmlrefpub"
17416 fi
17417 if test "x$DOXYGEN_TAGFILES" = x; then :
17418 DOXYGEN_TAGFILES=\"$mm_val\"
17419 else
17420 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17421 fi
17422 fi
17423 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairomm documentation" >&5
17425 $as_echo_n "checking for cairomm documentation... " >&6; }
17426
17427 # Check whether --with-cairomm-doc was given.
17428 if test "${with_cairomm_doc+set}" = set; then :
17429 withval=$with_cairomm_doc;
17430 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17431 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17432 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17433 test "x$mm_tagname" != x || mm_tagname="cairomm-1.0.tag"
17434 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17435 else
17436
17437 mm_htmlrefdir=
17438 mm_tagname="cairomm-1.0.tag"
17439 mm_tagpath=$mm_tagname
17440 fi
17441
17442 # Prepend working direcory if the tag file path starts with ./ or ../
17443 case $mm_tagpath in #(
17444 .[\\/]*|..[\\/]*) :
17445 mm_tagpath=`pwd`/$mm_tagpath ;; #(
17446 *) :
17447 ;;
17448 esac
17449
17450 # If no local directory was specified, get the default from the .pc file
17451 if test "x$mm_htmlrefdir" = x; then :
17452
17453 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "cairomm-1.0" 2>&5`
17454 fi
17455 # If the user specified a Web URL, allow it to override the public location
17456 case $mm_htmlrefdir in #(
17457 http://*|https://*) :
17458 mm_htmlrefpub=$mm_htmlrefdir ;; #(
17459 *) :
17460
17461 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "cairomm-1.0" 2>&5`
17462 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17463 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17464 ;;
17465 esac
17466 # The user-supplied tag-file name takes precedence if it includes the path
17467 case $mm_tagpath in #(
17468 *[\\/]*) :
17469 ;; #(
17470 *) :
17471
17472 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "cairomm-1.0" 2>&5`
17473 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17474 ;;
17475 esac
17476 # Remove trailing slashes and translate to URI
17477 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17478 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17479
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17481 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17482
17483 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&5
17485 $as_echo "$as_me: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&2;}
17486 fi
17487 if test "x$mm_htmlrefdir" = x; then :
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external cairomm documentation not set" >&5
17489 $as_echo "$as_me: WARNING: Location of external cairomm documentation not set" >&2;}
17490 else
17491 if test "x$DOCINSTALL_FLAGS" = x; then :
17492 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17493 else
17494 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17495 fi
17496 fi
17497
17498 if test "x$mm_htmlrefpub" = x; then :
17499 mm_val=$mm_tagpath
17500 else
17501 mm_val="$mm_tagpath=$mm_htmlrefpub"
17502 fi
17503 if test "x$DOXYGEN_TAGFILES" = x; then :
17504 DOXYGEN_TAGFILES=\"$mm_val\"
17505 else
17506 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17507 fi
17508 fi
17509 if test "x$ENABLE_DOCUMENTATION" != xno; then :
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangomm documentation" >&5
17511 $as_echo_n "checking for pangomm documentation... " >&6; }
17512
17513 # Check whether --with-pangomm-doc was given.
17514 if test "${with_pangomm_doc+set}" = set; then :
17515 withval=$with_pangomm_doc;
17516 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
17517 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
17518 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
17519 test "x$mm_tagname" != x || mm_tagname="pangomm-1.4.tag"
17520 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
17521 else
17522
17523 mm_htmlrefdir=
17524 mm_tagname="pangomm-1.4.tag"
17525 mm_tagpath=$mm_tagname
17526 fi
17527
17528 # Prepend working direcory if the tag file path starts with ./ or ../
17529 case $mm_tagpath in #(
17530 .[\\/]*|..[\\/]*) :
17531 mm_tagpath=`pwd`/$mm_tagpath ;; #(
17532 *) :
17533 ;;
17534 esac
17535
17536 # If no local directory was specified, get the default from the .pc file
17537 if test "x$mm_htmlrefdir" = x; then :
17538
17539 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "pangomm-1.4" 2>&5`
17540 fi
17541 # If the user specified a Web URL, allow it to override the public location
17542 case $mm_htmlrefdir in #(
17543 http://*|https://*) :
17544 mm_htmlrefpub=$mm_htmlrefdir ;; #(
17545 *) :
17546
17547 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "pangomm-1.4" 2>&5`
17548 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
17549 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
17550 ;;
17551 esac
17552 # The user-supplied tag-file name takes precedence if it includes the path
17553 case $mm_tagpath in #(
17554 *[\\/]*) :
17555 ;; #(
17556 *) :
17557
17558 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "pangomm-1.4" 2>&5`
17559 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
17560 ;;
17561 esac
17562 # Remove trailing slashes and translate to URI
17563 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17564 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
17565
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
17567 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
17568
17569 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&5
17571 $as_echo "$as_me: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&2;}
17572 fi
17573 if test "x$mm_htmlrefdir" = x; then :
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external pangomm documentation not set" >&5
17575 $as_echo "$as_me: WARNING: Location of external pangomm documentation not set" >&2;}
17576 else
17577 if test "x$DOCINSTALL_FLAGS" = x; then :
17578 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
17579 else
17580 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
17581 fi
17582 fi
17583
17584 if test "x$mm_htmlrefpub" = x; then :
17585 mm_val=$mm_tagpath
17586 else
17587 mm_val="$mm_tagpath=$mm_htmlrefpub"
17588 fi
17589 if test "x$DOXYGEN_TAGFILES" = x; then :
17590 DOXYGEN_TAGFILES=\"$mm_val\"
17591 else
17592 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
17593 fi
17594 fi
17595
17596 # Check whether --enable-unittests was given.
17597 if test "${enable_unittests+set}" = set; then :
17598 enableval=$enable_unittests; enable_unittests=$enableval
17599 else
17600 enable_unittests=auto
17601 fi
17602
17603
17604 if test "$enable_unittests" != no; then :
17605
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgtest_main" >&5
17607 $as_echo_n "checking for main in -lgtest_main... " >&6; }
17608 if ${ac_cv_lib_gtest_main_main+:} false; then :
17609 $as_echo_n "(cached) " >&6
17610 else
17611 ac_check_lib_save_LIBS=$LIBS
17612 LIBS="-lgtest_main $LIBS"
17613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h. */
17615
17616
17617 int
17618 main ()
17619 {
17620 return main ();
17621 ;
17622 return 0;
17623 }
17624 _ACEOF
17625 if ac_fn_c_try_link "$LINENO"; then :
17626 ac_cv_lib_gtest_main_main=yes
17627 else
17628 ac_cv_lib_gtest_main_main=no
17629 fi
17630 rm -f core conftest.err conftest.$ac_objext \
17631 conftest$ac_exeext conftest.$ac_ext
17632 LIBS=$ac_check_lib_save_LIBS
17633 fi
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtest_main_main" >&5
17635 $as_echo "$ac_cv_lib_gtest_main_main" >&6; }
17636 if test "x$ac_cv_lib_gtest_main_main" = xyes; then :
17637 have_gtest=yes
17638 else
17639 have_gtest=no
17640 fi
17641
17642 if test "$enable_unittests" = "yes" && test "$have_gtest" = "no"; then :
17643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17645 as_fn_error $? "Unit tests are enabled so gtest library is required for building unit tests.
17646 See \`config.log' for more details" "$LINENO" 5; }
17647 else
17648 enable_unittests=$have_gtest
17649 fi
17650
17651 fi
17652
17653 ENABLE_UNITTESTS="$enable_unittests"
17654
17655
17656
17657 #########################################################################
17658 # Plug-in processing
17659 #########################################################################
17660
17661 # To add a plugin, add the plugin definition, in the form of
17662 # "hgfilebasename|plugin|CppClassName" to the space-separated list of
17663 # definitions below. (Where "hgfilebasename" is the basename of the .hg file,
17664 # "plugin" is the plugin name as recognized by gst-inspect and "CppClassName"
17665 # is the desired name of the C++ class.)
17666 #
17667 # Also add the target .hg file name to the plugins_hg variable in the
17668 # gstreamer/src/fileslist.am. (That must be the same as "CppClassName" - all
17669 # in lowercase with a .hg extension).
17670 GSTREAMERMM_CORE_PLUGIN_DEFS="\
17671 capsfilter|capsfilter|CapsFilter \
17672 concat|concat|Concat \
17673 downloadbuffer|downloadbuffer|DownloadBuffer \
17674 fakesink|fakesink|FakeSink \
17675 fakesrc|fakesrc|FakeSrc \
17676 fdsink|fdsink|FdSink \
17677 fdsrc|fdsrc|FdSrc \
17678 filesink|filesink|FileSink \
17679 filesrc|filesrc|FileSrc \
17680 funnel|funnel|Funnel \
17681 identity|identity|Identity \
17682 inputselector|input-selector|InputSelector \
17683 multiqueue|multiqueue|MultiQueue \
17684 outputselector|output-selector|OutputSelector \
17685 streamiddemux|streamiddemux|StreamidDemux \
17686 queue|queue|Queue \
17687 queue2|queue2|Queue2 \
17688 tee|tee|Tee \
17689 typefindelement|typefind|TypeFindElement \
17690 valve|valve|Valve
17691 "
17692
17693 #audioresample|audioresample|AudioResample
17694 GSTREAMERMM_BASE_PLUGIN_DEFS="\
17695 adder|adder|Adder \
17696 alsasink|alsasink|AlsaSink \
17697 alsasrc|alsasrc|AlsaSrc \
17698 appsink|appsink|AppSink \
17699 appsrc|appsrc|AppSrc \
17700 audioconvert|audioconvert|AudioConvert \
17701 audiorate|audiorate|AudioRate \
17702 audiotestsrc|audiotestsrc|AudioTestSrc \
17703 cdparanoiasrc|cdparanoiasrc|CdParanoiaSrc \
17704 clockoverlay|clockoverlay|ClockOverlay \
17705 decodebin|decodebin|DecodeBin \
17706 encodebin|encodebin|EncodeBin \
17707 giosink|giosink|GioSink \
17708 giosrc|giosrc|GioSrc \
17709 giostreamsink|giostreamsink|GioStreamSink \
17710 giostreamsrc|giostreamsrc|GioStreamSrc \
17711 multifdsink|multifdsink|MultiFdSink \
17712 multisocketsink|multisocketsink|MultiSocketSink \
17713 oggdemux|oggdemux|OggDemux \
17714 oggmux|oggmux|OggMux \
17715 playbin|playbin|PlayBin \
17716 playsink|playsink|PlaySink \
17717 socketsrc|socketsrc|SocketSrc \
17718 streamsynchronizer|streamsynchronizer|StreamSynchronizer \
17719 subtitleoverlay|subtitleoverlay|SubtitleOverlay \
17720 tcpclientsink|tcpclientsink|TCPClientSink \
17721 tcpclientsrc|tcpclientsrc|TCPClientSrc \
17722 tcpserversink|tcpserversink|TCPServerSink \
17723 tcpserversrc|tcpserversrc|TCPServerSrc \
17724 textoverlay|textoverlay|TextOverlay \
17725 textrender|textrender|TextRender \
17726 theoradec|theoradec|TheoraDec \
17727 theoraenc|theoraenc|TheoraEnc \
17728 theoraparse|theoraparse|TheoraParse \
17729 timeoverlay|timeoverlay|TimeOverlay \
17730 uridecodebin|uridecodebin|UriDecodeBin \
17731 videoconvert|videoconvert|VideoConvert \
17732 videorate|videorate|VideoRate \
17733 videoscale|videoscale|VideoScale \
17734 videotestsrc|videotestsrc|VideoTestSrc \
17735 volume|volume|Volume \
17736 vorbisdec|vorbisdec|VorbisDec \
17737 vorbisenc|vorbisenc|VorbisEnc \
17738 vorbisparse|vorbisparse|VorbisParse \
17739 vorbistag|vorbistag|VorbisTag \
17740 ximagesink|ximagesink|XImageSink \
17741 xvimagesink|xvimagesink|XvImageSink
17742 "
17743
17744
17745
17746 # clear plugins file once per file
17747
17748 printf "plugins_hg = \n" > gstreamer/src/plugin_filelist.am
17749
17750
17751
17752 printf "plugins_hg += " >> gstreamer/src/plugin_filelist.am
17753
17754 if test "x$USE_MAINTAINER_MODE" != xno; then :
17755
17756 gstmm_toolsdir=`$PKG_CONFIG --variable=toolsdir gstreamer-1.0 2>&5`
17757 for ac_prog in gst-inspect-1.0
17758 do
17759 # Extract the first word of "$ac_prog", so it can be a program name with args.
17760 set dummy $ac_prog; ac_word=$2
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17762 $as_echo_n "checking for $ac_word... " >&6; }
17763 if ${ac_cv_path_GST_INSPECT+:} false; then :
17764 $as_echo_n "(cached) " >&6
17765 else
17766 case $GST_INSPECT in
17767 [\\/]* | ?:[\\/]*)
17768 ac_cv_path_GST_INSPECT="$GST_INSPECT" # Let the user override the test with a path.
17769 ;;
17770 *)
17771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17772 for as_dir in $gstmm_toolsdir$PATH_SEPARATOR$PATH
17773 do
17774 IFS=$as_save_IFS
17775 test -z "$as_dir" && as_dir=.
17776 for ac_exec_ext in '' $ac_executable_extensions; do
17777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17778 ac_cv_path_GST_INSPECT="$as_dir/$ac_word$ac_exec_ext"
17779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17780 break 2
17781 fi
17782 done
17783 done
17784 IFS=$as_save_IFS
17785
17786 ;;
17787 esac
17788 fi
17789 GST_INSPECT=$ac_cv_path_GST_INSPECT
17790 if test -n "$GST_INSPECT"; then
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_INSPECT" >&5
17792 $as_echo "$GST_INSPECT" >&6; }
17793 else
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17795 $as_echo "no" >&6; }
17796 fi
17797
17798
17799 test -n "$GST_INSPECT" && break
17800 done
17801
17802
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the existance of required plug-ins." >&5
17804 $as_echo_n "checking the existance of required plug-ins.... " >&6; }
17805
17806 fi
17807 for gstmm_plugin_def in $GSTREAMERMM_CORE_PLUGIN_DEFS
17808 do
17809 gstmm_hg_name=`expr "X$gstmm_plugin_def" : 'X\(.*\)|.*|.*$' 2>&5`
17810 printf "$gstmm_hg_name.hg " >> gstreamer/src/plugin_filelist.am
17811 if test "x$USE_MAINTAINER_MODE" != xno; then :
17812
17813 # Extract plugin name and run gst-inspect to check whether the plugin
17814 # is installed on the build system.
17815 gstmm_plugin_name=`expr "X$gstmm_plugin_def" : 'X.*|\(.*\)|.*$' 2>&5`
17816 if $GST_INSPECT "$gstmm_plugin_name" >/dev/null 2>&5; then :
17817
17818 else
17819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17821 as_fn_error $? "The gstreamer plug-in '$gstmm_plugin_name' does not exist.
17822 If you built gst-plugins-base from source code then you might need to
17823 install the appropriate -dev or -devel packages or enable experimental
17824 plugins before rebuilding gst-plugins-base.
17825 See \`config.log' for more details" "$LINENO" 5; }
17826 fi
17827
17828 fi
17829 done
17830 if test "x$USE_MAINTAINER_MODE" != xno; then :
17831
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: All required plug-ins found." >&5
17833 $as_echo "All required plug-ins found." >&6; }
17834
17835 fi
17836 printf "\n" >> gstreamer/src/plugin_filelist.am
17837
17838
17839 # clear plugins file once per file
17840
17841
17842 printf "plugins_hg += " >> gstreamer/src/plugin_filelist.am
17843
17844 if test "x$USE_MAINTAINER_MODE" != xno; then :
17845
17846 gstmm_toolsdir=`$PKG_CONFIG --variable=toolsdir gstreamer-1.0 2>&5`
17847 for ac_prog in gst-inspect-1.0
17848 do
17849 # Extract the first word of "$ac_prog", so it can be a program name with args.
17850 set dummy $ac_prog; ac_word=$2
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17852 $as_echo_n "checking for $ac_word... " >&6; }
17853 if ${ac_cv_path_GST_INSPECT+:} false; then :
17854 $as_echo_n "(cached) " >&6
17855 else
17856 case $GST_INSPECT in
17857 [\\/]* | ?:[\\/]*)
17858 ac_cv_path_GST_INSPECT="$GST_INSPECT" # Let the user override the test with a path.
17859 ;;
17860 *)
17861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17862 for as_dir in $gstmm_toolsdir$PATH_SEPARATOR$PATH
17863 do
17864 IFS=$as_save_IFS
17865 test -z "$as_dir" && as_dir=.
17866 for ac_exec_ext in '' $ac_executable_extensions; do
17867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17868 ac_cv_path_GST_INSPECT="$as_dir/$ac_word$ac_exec_ext"
17869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17870 break 2
17871 fi
17872 done
17873 done
17874 IFS=$as_save_IFS
17875
17876 ;;
17877 esac
17878 fi
17879 GST_INSPECT=$ac_cv_path_GST_INSPECT
17880 if test -n "$GST_INSPECT"; then
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GST_INSPECT" >&5
17882 $as_echo "$GST_INSPECT" >&6; }
17883 else
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17885 $as_echo "no" >&6; }
17886 fi
17887
17888
17889 test -n "$GST_INSPECT" && break
17890 done
17891
17892
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the existance of required plug-ins." >&5
17894 $as_echo_n "checking the existance of required plug-ins.... " >&6; }
17895
17896 fi
17897 for gstmm_plugin_def in $GSTREAMERMM_BASE_PLUGIN_DEFS
17898 do
17899 gstmm_hg_name=`expr "X$gstmm_plugin_def" : 'X\(.*\)|.*|.*$' 2>&5`
17900 printf "$gstmm_hg_name.hg " >> gstreamer/src/plugin_filelist.am
17901 if test "x$USE_MAINTAINER_MODE" != xno; then :
17902
17903 # Extract plugin name and run gst-inspect to check whether the plugin
17904 # is installed on the build system.
17905 gstmm_plugin_name=`expr "X$gstmm_plugin_def" : 'X.*|\(.*\)|.*$' 2>&5`
17906 if $GST_INSPECT "$gstmm_plugin_name" >/dev/null 2>&5; then :
17907
17908 else
17909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17911 as_fn_error $? "The gstreamer plug-in '$gstmm_plugin_name' does not exist.
17912 If you built gst-plugins-base from source code then you might need to
17913 install the appropriate -dev or -devel packages or enable experimental
17914 plugins before rebuilding gst-plugins-base.
17915 See \`config.log' for more details" "$LINENO" 5; }
17916 fi
17917
17918 fi
17919 done
17920 if test "x$USE_MAINTAINER_MODE" != xno; then :
17921
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: All required plug-ins found." >&5
17923 $as_echo "All required plug-ins found." >&6; }
17924
17925 fi
17926 printf "\n" >> gstreamer/src/plugin_filelist.am
17927
17928
17929 #########################################################################
17930
17931 ac_ext=cpp
17932 ac_cpp='$CXXCPP $CPPFLAGS'
17933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17936
17937 # Check whether --enable-warnings was given.
17938 if test "${enable_warnings+set}" = set; then :
17939 enableval=$enable_warnings; mm_enable_warnings=$enableval
17940 else
17941 mm_enable_warnings=min
17942 fi
17943
17944 case $ac_compile in #(
17945 *'$CXXFLAGS '*) :
17946 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
17947 *'$CFLAGS '*) :
17948 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
17949 *) :
17950 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
17951 esac
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
17953 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
17954 mm_deprecation_flags=
17955 mm_tested_flags=
17956 case $mm_enable_warnings in #(
17957 no) :
17958 mm_warning_flags= ;; #(
17959 max) :
17960 mm_warning_flags="-Wall -Wextra" ;; #(
17961 fatal) :
17962 mm_warning_flags="-Wall -Wextra -Werror"
17963 for mm_prefix in G GSTREAMER
17964 do
17965 mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
17966 done ;; #(
17967 *) :
17968 mm_warning_flags="-Wall" ;;
17969 esac
17970 if test "x$mm_warning_flags" != x; then :
17971
17972 # Keep in mind that the dummy source must be devoid of any
17973 # problems that might cause diagnostics.
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17976
17977 int main(int argc, char** argv) { return !argv ? 0 : argc; }
17978
17979 _ACEOF
17980 for mm_flag in $mm_warning_flags
17981 do
17982 # Test whether the compiler accepts the flag. Look at standard output,
17983 # since GCC only shows a warning message if an option is not supported.
17984 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
17985 rm -f "conftest.${OBJEXT-o}"
17986
17987 if test "x$mm_cc_out" = x; then :
17988 if test "x$mm_tested_flags" = x; then :
17989 mm_tested_flags=$mm_flag
17990 else
17991 mm_tested_flags="$mm_tested_flags $mm_flag"
17992 fi
17993 else
17994 cat <<_MMEOF >&5
17995 $mm_cc: $mm_cc_out
17996 _MMEOF
17997
17998 fi
17999 done
18000 rm -f "$mm_conftest"
18001
18002 fi
18003 mm_all_flags=$mm_deprecation_flags$mm_tested_flags
18004 GSTREAMERMM_WXXFLAGS=$mm_all_flags
18005
18006 test "x$mm_all_flags" != x || mm_all_flags=none
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
18008 $as_echo "$mm_all_flags" >&6; }
18009
18010 # Offer the ability to omit some API from the library,
18011 # to reduce the code size:
18012 # Check whether --enable-deprecated-api was given.
18013 if test "${enable_deprecated_api+set}" = set; then :
18014 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
18015 else
18016 mm_enable_deprecated_api=yes
18017 fi
18018 if test "x$mm_enable_deprecated_api" = xno; then :
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
18020 Do not use this option for distribution packages." >&5
18021 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
18022 Do not use this option for distribution packages." >&2;}
18023 else
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
18025 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
18026 fi
18027 if test "x$mm_enable_deprecated_api" = xno; then
18028 DISABLE_DEPRECATED_API_TRUE=
18029 DISABLE_DEPRECATED_API_FALSE='#'
18030 else
18031 DISABLE_DEPRECATED_API_TRUE='#'
18032 DISABLE_DEPRECATED_API_FALSE=
18033 fi
18034
18035 if test "x$mm_enable_deprecated_api" = xno; then :
18036
18037 $as_echo "#define GSTREAMERMM_DISABLE_DEPRECATED 1" >>confdefs.h
18038
18039
18040 fi
18041
18042 ac_config_files="$ac_config_files Makefile tools/Makefile gstreamer/${GSTREAMERMM_MODULE_NAME}.pc:gstreamer/gstreamermm.pc.in gstreamer/${GSTREAMERMM_MODULE_NAME}-uninstalled.pc:gstreamer/gstreamermm-uninstalled.pc.in gstreamer/src/Makefile gstreamer/gstreamermm/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile"
18043
18044 cat >confcache <<\_ACEOF
18045 # This file is a shell script that caches the results of configure
18046 # tests run on this system so they can be shared between configure
18047 # scripts and configure runs, see configure's option --config-cache.
18048 # It is not useful on other systems. If it contains results you don't
18049 # want to keep, you may remove or edit it.
18050 #
18051 # config.status only pays attention to the cache file if you give it
18052 # the --recheck option to rerun configure.
18053 #
18054 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18055 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18056 # following values.
18057
18058 _ACEOF
18059
18060 # The following way of writing the cache mishandles newlines in values,
18061 # but we know of no workaround that is simple, portable, and efficient.
18062 # So, we kill variables containing newlines.
18063 # Ultrix sh set writes to stderr and can't be redirected directly,
18064 # and sets the high bit in the cache file unless we assign to the vars.
18065 (
18066 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18067 eval ac_val=\$$ac_var
18068 case $ac_val in #(
18069 *${as_nl}*)
18070 case $ac_var in #(
18071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18073 esac
18074 case $ac_var in #(
18075 _ | IFS | as_nl) ;; #(
18076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18077 *) { eval $ac_var=; unset $ac_var;} ;;
18078 esac ;;
18079 esac
18080 done
18081
18082 (set) 2>&1 |
18083 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18084 *${as_nl}ac_space=\ *)
18085 # `set' does not quote correctly, so add quotes: double-quote
18086 # substitution turns \\\\ into \\, and sed turns \\ into \.
18087 sed -n \
18088 "s/'/'\\\\''/g;
18089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18090 ;; #(
18091 *)
18092 # `set' quotes correctly as required by POSIX, so do not add quotes.
18093 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18094 ;;
18095 esac |
18096 sort
18097 ) |
18098 sed '
18099 /^ac_cv_env_/b end
18100 t clear
18101 :clear
18102 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18103 t end
18104 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18105 :end' >>confcache
18106 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18107 if test -w "$cache_file"; then
18108 if test "x$cache_file" != "x/dev/null"; then
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18110 $as_echo "$as_me: updating cache $cache_file" >&6;}
18111 if test ! -f "$cache_file" || test -h "$cache_file"; then
18112 cat confcache >"$cache_file"
18113 else
18114 case $cache_file in #(
18115 */* | ?:*)
18116 mv -f confcache "$cache_file"$$ &&
18117 mv -f "$cache_file"$$ "$cache_file" ;; #(
18118 *)
18119 mv -f confcache "$cache_file" ;;
18120 esac
18121 fi
18122 fi
18123 else
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18125 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18126 fi
18127 fi
18128 rm -f confcache
18129
18130 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18131 # Let make expand exec_prefix.
18132 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18133
18134 DEFS=-DHAVE_CONFIG_H
18135
18136 ac_libobjs=
18137 ac_ltlibobjs=
18138 U=
18139 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18140 # 1. Remove the extension, and $U if already installed.
18141 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18142 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18143 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18144 # will be set to the directory where LIBOBJS objects are built.
18145 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18146 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18147 done
18148 LIBOBJS=$ac_libobjs
18149
18150 LTLIBOBJS=$ac_ltlibobjs
18151
18152
18153 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
18154 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
18155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18156 fi
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18158 $as_echo_n "checking that generated files are newer than configure... " >&6; }
18159 if test -n "$am_sleep_pid"; then
18160 # Hide warnings about reused PIDs.
18161 wait $am_sleep_pid 2>/dev/null
18162 fi
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18164 $as_echo "done" >&6; }
18165 if test -n "$EXEEXT"; then
18166 am__EXEEXT_TRUE=
18167 am__EXEEXT_FALSE='#'
18168 else
18169 am__EXEEXT_TRUE='#'
18170 am__EXEEXT_FALSE=
18171 fi
18172
18173 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18174 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18176 fi
18177 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18178 as_fn_error $? "conditional \"AMDEP\" was never defined.
18179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18180 fi
18181 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18182 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18184 fi
18185 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18186 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18188 fi
18189 if test -z "${ENABLE_GUI_EXAMPLES_TRUE}" && test -z "${ENABLE_GUI_EXAMPLES_FALSE}"; then
18190 as_fn_error $? "conditional \"ENABLE_GUI_EXAMPLES\" was never defined.
18191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18192 fi
18193 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
18194 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
18195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18196 fi
18197 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
18198 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
18199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18200 fi
18201
18202 : "${CONFIG_STATUS=./config.status}"
18203 ac_write_fail=0
18204 ac_clean_files_save=$ac_clean_files
18205 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18207 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18208 as_write_fail=0
18209 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18210 #! $SHELL
18211 # Generated by $as_me.
18212 # Run this file to recreate the current configuration.
18213 # Compiler output produced by configure, useful for debugging
18214 # configure, is in config.log if it exists.
18215
18216 debug=false
18217 ac_cs_recheck=false
18218 ac_cs_silent=false
18219
18220 SHELL=\${CONFIG_SHELL-$SHELL}
18221 export SHELL
18222 _ASEOF
18223 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18224 ## -------------------- ##
18225 ## M4sh Initialization. ##
18226 ## -------------------- ##
18227
18228 # Be more Bourne compatible
18229 DUALCASE=1; export DUALCASE # for MKS sh
18230 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18231 emulate sh
18232 NULLCMD=:
18233 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18234 # is contrary to our usage. Disable this feature.
18235 alias -g '${1+"$@"}'='"$@"'
18236 setopt NO_GLOB_SUBST
18237 else
18238 case `(set -o) 2>/dev/null` in #(
18239 *posix*) :
18240 set -o posix ;; #(
18241 *) :
18242 ;;
18243 esac
18244 fi
18245
18246
18247 as_nl='
18248 '
18249 export as_nl
18250 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18251 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18252 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18253 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18254 # Prefer a ksh shell builtin over an external printf program on Solaris,
18255 # but without wasting forks for bash or zsh.
18256 if test -z "$BASH_VERSION$ZSH_VERSION" \
18257 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18258 as_echo='print -r --'
18259 as_echo_n='print -rn --'
18260 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18261 as_echo='printf %s\n'
18262 as_echo_n='printf %s'
18263 else
18264 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18265 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18266 as_echo_n='/usr/ucb/echo -n'
18267 else
18268 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18269 as_echo_n_body='eval
18270 arg=$1;
18271 case $arg in #(
18272 *"$as_nl"*)
18273 expr "X$arg" : "X\\(.*\\)$as_nl";
18274 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18275 esac;
18276 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18277 '
18278 export as_echo_n_body
18279 as_echo_n='sh -c $as_echo_n_body as_echo'
18280 fi
18281 export as_echo_body
18282 as_echo='sh -c $as_echo_body as_echo'
18283 fi
18284
18285 # The user is always right.
18286 if test "${PATH_SEPARATOR+set}" != set; then
18287 PATH_SEPARATOR=:
18288 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18289 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18290 PATH_SEPARATOR=';'
18291 }
18292 fi
18293
18294
18295 # IFS
18296 # We need space, tab and new line, in precisely that order. Quoting is
18297 # there to prevent editors from complaining about space-tab.
18298 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18299 # splitting by setting IFS to empty value.)
18300 IFS=" "" $as_nl"
18301
18302 # Find who we are. Look in the path if we contain no directory separator.
18303 as_myself=
18304 case $0 in #((
18305 *[\\/]* ) as_myself=$0 ;;
18306 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18307 for as_dir in $PATH
18308 do
18309 IFS=$as_save_IFS
18310 test -z "$as_dir" && as_dir=.
18311 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18312 done
18313 IFS=$as_save_IFS
18314
18315 ;;
18316 esac
18317 # We did not find ourselves, most probably we were run as `sh COMMAND'
18318 # in which case we are not to be found in the path.
18319 if test "x$as_myself" = x; then
18320 as_myself=$0
18321 fi
18322 if test ! -f "$as_myself"; then
18323 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18324 exit 1
18325 fi
18326
18327 # Unset variables that we do not need and which cause bugs (e.g. in
18328 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18329 # suppresses any "Segmentation fault" message there. '((' could
18330 # trigger a bug in pdksh 5.2.14.
18331 for as_var in BASH_ENV ENV MAIL MAILPATH
18332 do eval test x\${$as_var+set} = xset \
18333 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18334 done
18335 PS1='$ '
18336 PS2='> '
18337 PS4='+ '
18338
18339 # NLS nuisances.
18340 LC_ALL=C
18341 export LC_ALL
18342 LANGUAGE=C
18343 export LANGUAGE
18344
18345 # CDPATH.
18346 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18347
18348
18349 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18350 # ----------------------------------------
18351 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18352 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18353 # script with STATUS, using 1 if that was 0.
18354 as_fn_error ()
18355 {
18356 as_status=$1; test $as_status -eq 0 && as_status=1
18357 if test "$4"; then
18358 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18359 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18360 fi
18361 $as_echo "$as_me: error: $2" >&2
18362 as_fn_exit $as_status
18363 } # as_fn_error
18364
18365
18366 # as_fn_set_status STATUS
18367 # -----------------------
18368 # Set $? to STATUS, without forking.
18369 as_fn_set_status ()
18370 {
18371 return $1
18372 } # as_fn_set_status
18373
18374 # as_fn_exit STATUS
18375 # -----------------
18376 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18377 as_fn_exit ()
18378 {
18379 set +e
18380 as_fn_set_status $1
18381 exit $1
18382 } # as_fn_exit
18383
18384 # as_fn_unset VAR
18385 # ---------------
18386 # Portably unset VAR.
18387 as_fn_unset ()
18388 {
18389 { eval $1=; unset $1;}
18390 }
18391 as_unset=as_fn_unset
18392 # as_fn_append VAR VALUE
18393 # ----------------------
18394 # Append the text in VALUE to the end of the definition contained in VAR. Take
18395 # advantage of any shell optimizations that allow amortized linear growth over
18396 # repeated appends, instead of the typical quadratic growth present in naive
18397 # implementations.
18398 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18399 eval 'as_fn_append ()
18400 {
18401 eval $1+=\$2
18402 }'
18403 else
18404 as_fn_append ()
18405 {
18406 eval $1=\$$1\$2
18407 }
18408 fi # as_fn_append
18409
18410 # as_fn_arith ARG...
18411 # ------------------
18412 # Perform arithmetic evaluation on the ARGs, and store the result in the
18413 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18414 # must be portable across $(()) and expr.
18415 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18416 eval 'as_fn_arith ()
18417 {
18418 as_val=$(( $* ))
18419 }'
18420 else
18421 as_fn_arith ()
18422 {
18423 as_val=`expr "$@" || test $? -eq 1`
18424 }
18425 fi # as_fn_arith
18426
18427
18428 if expr a : '\(a\)' >/dev/null 2>&1 &&
18429 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18430 as_expr=expr
18431 else
18432 as_expr=false
18433 fi
18434
18435 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18436 as_basename=basename
18437 else
18438 as_basename=false
18439 fi
18440
18441 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18442 as_dirname=dirname
18443 else
18444 as_dirname=false
18445 fi
18446
18447 as_me=`$as_basename -- "$0" ||
18448 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18449 X"$0" : 'X\(//\)$' \| \
18450 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18451 $as_echo X/"$0" |
18452 sed '/^.*\/\([^/][^/]*\)\/*$/{
18453 s//\1/
18454 q
18455 }
18456 /^X\/\(\/\/\)$/{
18457 s//\1/
18458 q
18459 }
18460 /^X\/\(\/\).*/{
18461 s//\1/
18462 q
18463 }
18464 s/.*/./; q'`
18465
18466 # Avoid depending upon Character Ranges.
18467 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18468 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18469 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18470 as_cr_digits='0123456789'
18471 as_cr_alnum=$as_cr_Letters$as_cr_digits
18472
18473 ECHO_C= ECHO_N= ECHO_T=
18474 case `echo -n x` in #(((((
18475 -n*)
18476 case `echo 'xy\c'` in
18477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18478 xy) ECHO_C='\c';;
18479 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18480 ECHO_T=' ';;
18481 esac;;
18482 *)
18483 ECHO_N='-n';;
18484 esac
18485
18486 rm -f conf$$ conf$$.exe conf$$.file
18487 if test -d conf$$.dir; then
18488 rm -f conf$$.dir/conf$$.file
18489 else
18490 rm -f conf$$.dir
18491 mkdir conf$$.dir 2>/dev/null
18492 fi
18493 if (echo >conf$$.file) 2>/dev/null; then
18494 if ln -s conf$$.file conf$$ 2>/dev/null; then
18495 as_ln_s='ln -s'
18496 # ... but there are two gotchas:
18497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18499 # In both cases, we have to default to `cp -pR'.
18500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18501 as_ln_s='cp -pR'
18502 elif ln conf$$.file conf$$ 2>/dev/null; then
18503 as_ln_s=ln
18504 else
18505 as_ln_s='cp -pR'
18506 fi
18507 else
18508 as_ln_s='cp -pR'
18509 fi
18510 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18511 rmdir conf$$.dir 2>/dev/null
18512
18513
18514 # as_fn_mkdir_p
18515 # -------------
18516 # Create "$as_dir" as a directory, including parents if necessary.
18517 as_fn_mkdir_p ()
18518 {
18519
18520 case $as_dir in #(
18521 -*) as_dir=./$as_dir;;
18522 esac
18523 test -d "$as_dir" || eval $as_mkdir_p || {
18524 as_dirs=
18525 while :; do
18526 case $as_dir in #(
18527 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18528 *) as_qdir=$as_dir;;
18529 esac
18530 as_dirs="'$as_qdir' $as_dirs"
18531 as_dir=`$as_dirname -- "$as_dir" ||
18532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18533 X"$as_dir" : 'X\(//\)[^/]' \| \
18534 X"$as_dir" : 'X\(//\)$' \| \
18535 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18536 $as_echo X"$as_dir" |
18537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18538 s//\1/
18539 q
18540 }
18541 /^X\(\/\/\)[^/].*/{
18542 s//\1/
18543 q
18544 }
18545 /^X\(\/\/\)$/{
18546 s//\1/
18547 q
18548 }
18549 /^X\(\/\).*/{
18550 s//\1/
18551 q
18552 }
18553 s/.*/./; q'`
18554 test -d "$as_dir" && break
18555 done
18556 test -z "$as_dirs" || eval "mkdir $as_dirs"
18557 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18558
18559
18560 } # as_fn_mkdir_p
18561 if mkdir -p . 2>/dev/null; then
18562 as_mkdir_p='mkdir -p "$as_dir"'
18563 else
18564 test -d ./-p && rmdir ./-p
18565 as_mkdir_p=false
18566 fi
18567
18568
18569 # as_fn_executable_p FILE
18570 # -----------------------
18571 # Test if FILE is an executable regular file.
18572 as_fn_executable_p ()
18573 {
18574 test -f "$1" && test -x "$1"
18575 } # as_fn_executable_p
18576 as_test_x='test -x'
18577 as_executable_p=as_fn_executable_p
18578
18579 # Sed expression to map a string onto a valid CPP name.
18580 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18581
18582 # Sed expression to map a string onto a valid variable name.
18583 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18584
18585
18586 exec 6>&1
18587 ## ----------------------------------- ##
18588 ## Main body of $CONFIG_STATUS script. ##
18589 ## ----------------------------------- ##
18590 _ASEOF
18591 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18592
18593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18594 # Save the log message, to keep $0 and so on meaningful, and to
18595 # report actual input values of CONFIG_FILES etc. instead of their
18596 # values after options handling.
18597 ac_log="
18598 This file was extended by gstreamermm $as_me 1.10.0, which was
18599 generated by GNU Autoconf 2.69. Invocation command line was
18600
18601 CONFIG_FILES = $CONFIG_FILES
18602 CONFIG_HEADERS = $CONFIG_HEADERS
18603 CONFIG_LINKS = $CONFIG_LINKS
18604 CONFIG_COMMANDS = $CONFIG_COMMANDS
18605 $ $0 $@
18606
18607 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18608 "
18609
18610 _ACEOF
18611
18612 case $ac_config_files in *"
18613 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18614 esac
18615
18616 case $ac_config_headers in *"
18617 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18618 esac
18619
18620
18621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18622 # Files that config.status was made for.
18623 config_files="$ac_config_files"
18624 config_headers="$ac_config_headers"
18625 config_commands="$ac_config_commands"
18626
18627 _ACEOF
18628
18629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18630 ac_cs_usage="\
18631 \`$as_me' instantiates files and other configuration actions
18632 from templates according to the current configuration. Unless the files
18633 and actions are specified as TAGs, all are instantiated by default.
18634
18635 Usage: $0 [OPTION]... [TAG]...
18636
18637 -h, --help print this help, then exit
18638 -V, --version print version number and configuration settings, then exit
18639 --config print configuration, then exit
18640 -q, --quiet, --silent
18641 do not print progress messages
18642 -d, --debug don't remove temporary files
18643 --recheck update $as_me by reconfiguring in the same conditions
18644 --file=FILE[:TEMPLATE]
18645 instantiate the configuration file FILE
18646 --header=FILE[:TEMPLATE]
18647 instantiate the configuration header FILE
18648
18649 Configuration files:
18650 $config_files
18651
18652 Configuration headers:
18653 $config_headers
18654
18655 Configuration commands:
18656 $config_commands
18657
18658 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gstreamermm>.
18659 gstreamermm home page: <http://www.gtkmm.org/>."
18660
18661 _ACEOF
18662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18663 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18664 ac_cs_version="\\
18665 gstreamermm config.status 1.10.0
18666 configured by $0, generated by GNU Autoconf 2.69,
18667 with options \\"\$ac_cs_config\\"
18668
18669 Copyright (C) 2012 Free Software Foundation, Inc.
18670 This config.status script is free software; the Free Software Foundation
18671 gives unlimited permission to copy, distribute and modify it."
18672
18673 ac_pwd='$ac_pwd'
18674 srcdir='$srcdir'
18675 INSTALL='$INSTALL'
18676 MKDIR_P='$MKDIR_P'
18677 AWK='$AWK'
18678 test -n "\$AWK" || AWK=awk
18679 _ACEOF
18680
18681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18682 # The default lists apply if the user does not specify any file.
18683 ac_need_defaults=:
18684 while test $# != 0
18685 do
18686 case $1 in
18687 --*=?*)
18688 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18689 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18690 ac_shift=:
18691 ;;
18692 --*=)
18693 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18694 ac_optarg=
18695 ac_shift=:
18696 ;;
18697 *)
18698 ac_option=$1
18699 ac_optarg=$2
18700 ac_shift=shift
18701 ;;
18702 esac
18703
18704 case $ac_option in
18705 # Handling of the options.
18706 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18707 ac_cs_recheck=: ;;
18708 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18709 $as_echo "$ac_cs_version"; exit ;;
18710 --config | --confi | --conf | --con | --co | --c )
18711 $as_echo "$ac_cs_config"; exit ;;
18712 --debug | --debu | --deb | --de | --d | -d )
18713 debug=: ;;
18714 --file | --fil | --fi | --f )
18715 $ac_shift
18716 case $ac_optarg in
18717 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18718 '') as_fn_error $? "missing file argument" ;;
18719 esac
18720 as_fn_append CONFIG_FILES " '$ac_optarg'"
18721 ac_need_defaults=false;;
18722 --header | --heade | --head | --hea )
18723 $ac_shift
18724 case $ac_optarg in
18725 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18726 esac
18727 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18728 ac_need_defaults=false;;
18729 --he | --h)
18730 # Conflict between --help and --header
18731 as_fn_error $? "ambiguous option: \`$1'
18732 Try \`$0 --help' for more information.";;
18733 --help | --hel | -h )
18734 $as_echo "$ac_cs_usage"; exit ;;
18735 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18736 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18737 ac_cs_silent=: ;;
18738
18739 # This is an error.
18740 -*) as_fn_error $? "unrecognized option: \`$1'
18741 Try \`$0 --help' for more information." ;;
18742
18743 *) as_fn_append ac_config_targets " $1"
18744 ac_need_defaults=false ;;
18745
18746 esac
18747 shift
18748 done
18749
18750 ac_configure_extra_args=
18751
18752 if $ac_cs_silent; then
18753 exec 6>/dev/null
18754 ac_configure_extra_args="$ac_configure_extra_args --silent"
18755 fi
18756
18757 _ACEOF
18758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18759 if \$ac_cs_recheck; then
18760 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18761 shift
18762 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18763 CONFIG_SHELL='$SHELL'
18764 export CONFIG_SHELL
18765 exec "\$@"
18766 fi
18767
18768 _ACEOF
18769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18770 exec 5>>config.log
18771 {
18772 echo
18773 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18774 ## Running $as_me. ##
18775 _ASBOX
18776 $as_echo "$ac_log"
18777 } >&5
18778
18779 _ACEOF
18780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781 #
18782 # INIT-COMMANDS
18783 #
18784 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18785
18786
18787 # The HP-UX ksh and POSIX shell print the target directory to stdout
18788 # if CDPATH is set.
18789 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18790
18791 sed_quote_subst='$sed_quote_subst'
18792 double_quote_subst='$double_quote_subst'
18793 delay_variable_subst='$delay_variable_subst'
18794 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18795 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18796 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18797 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18798 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18799 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18800 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18801 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18802 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18803 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18804 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18805 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18806 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18807 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18808 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18809 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18810 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18811 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18812 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18813 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18814 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18815 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18816 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18817 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18818 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18819 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18820 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18821 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18822 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18823 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18824 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18825 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18826 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18827 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18828 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18829 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18830 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18831 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18832 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18833 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18834 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18835 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18836 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18837 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18838 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18839 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18840 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18841 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18842 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18843 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18844 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18845 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18846 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18847 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18848 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18849 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18850 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18851 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18852 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18853 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"`'
18854 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18855 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18856 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18857 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18858 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18859 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18860 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18861 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18862 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18863 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18864 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18865 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18866 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18867 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18868 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18869 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18870 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18871 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18872 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18873 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18874 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18875 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18876 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18877 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18878 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18879 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18880 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18881 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18882 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18883 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18884 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18885 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18886 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18887 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18888 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18889 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18890 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18891 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18892 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18893 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18894 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18895 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18896 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18897 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18898 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18899 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18900 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18901 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18902 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18903 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18904 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18905 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18906 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18907 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18908 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18909 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18910 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18911 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18912 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18913 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18914 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18915 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18916 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18917 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18918 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18919 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18920 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18921 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18922 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18923 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18924 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18925 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18926 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18927 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18928 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18929 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18930 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18931 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18932 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18933 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18934 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18935 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18936 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18937 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18938 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18939 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18940 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18941 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18942 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18943 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18944 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18945 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18946 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18947 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18948 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18949 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18950 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18951 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18952 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18953 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18954 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18955 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18956 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18957 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18958 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18959 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18960 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18961 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18962 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18963 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18964 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18965 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18966 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18967 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18968 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18969 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18970 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18971 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18972 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18973 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18974 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18975 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18976 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18977 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18978 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18979 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18980 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18981 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18982 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18983 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18984
18985 LTCC='$LTCC'
18986 LTCFLAGS='$LTCFLAGS'
18987 compiler='$compiler_DEFAULT'
18988
18989 # A function that is used when there is no print builtin or printf.
18990 func_fallback_echo ()
18991 {
18992 eval 'cat <<_LTECHO_EOF
18993 \$1
18994 _LTECHO_EOF'
18995 }
18996
18997 # Quote evaled strings.
18998 for var in AS \
18999 DLLTOOL \
19000 OBJDUMP \
19001 SHELL \
19002 ECHO \
19003 PATH_SEPARATOR \
19004 SED \
19005 GREP \
19006 EGREP \
19007 FGREP \
19008 LD \
19009 NM \
19010 LN_S \
19011 lt_SP2NL \
19012 lt_NL2SP \
19013 reload_flag \
19014 deplibs_check_method \
19015 file_magic_cmd \
19016 file_magic_glob \
19017 want_nocaseglob \
19018 sharedlib_from_linklib_cmd \
19019 AR \
19020 AR_FLAGS \
19021 archiver_list_spec \
19022 STRIP \
19023 RANLIB \
19024 CC \
19025 CFLAGS \
19026 compiler \
19027 lt_cv_sys_global_symbol_pipe \
19028 lt_cv_sys_global_symbol_to_cdecl \
19029 lt_cv_sys_global_symbol_to_import \
19030 lt_cv_sys_global_symbol_to_c_name_address \
19031 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19032 lt_cv_nm_interface \
19033 nm_file_list_spec \
19034 lt_cv_truncate_bin \
19035 lt_prog_compiler_no_builtin_flag \
19036 lt_prog_compiler_pic \
19037 lt_prog_compiler_wl \
19038 lt_prog_compiler_static \
19039 lt_cv_prog_compiler_c_o \
19040 need_locks \
19041 MANIFEST_TOOL \
19042 DSYMUTIL \
19043 NMEDIT \
19044 LIPO \
19045 OTOOL \
19046 OTOOL64 \
19047 shrext_cmds \
19048 export_dynamic_flag_spec \
19049 whole_archive_flag_spec \
19050 compiler_needs_object \
19051 with_gnu_ld \
19052 allow_undefined_flag \
19053 no_undefined_flag \
19054 hardcode_libdir_flag_spec \
19055 hardcode_libdir_separator \
19056 exclude_expsyms \
19057 include_expsyms \
19058 file_list_spec \
19059 variables_saved_for_relink \
19060 libname_spec \
19061 library_names_spec \
19062 soname_spec \
19063 install_override_mode \
19064 finish_eval \
19065 old_striplib \
19066 striplib \
19067 compiler_lib_search_dirs \
19068 predep_objects \
19069 postdep_objects \
19070 predeps \
19071 postdeps \
19072 compiler_lib_search_path \
19073 LD_CXX \
19074 reload_flag_CXX \
19075 compiler_CXX \
19076 lt_prog_compiler_no_builtin_flag_CXX \
19077 lt_prog_compiler_pic_CXX \
19078 lt_prog_compiler_wl_CXX \
19079 lt_prog_compiler_static_CXX \
19080 lt_cv_prog_compiler_c_o_CXX \
19081 export_dynamic_flag_spec_CXX \
19082 whole_archive_flag_spec_CXX \
19083 compiler_needs_object_CXX \
19084 with_gnu_ld_CXX \
19085 allow_undefined_flag_CXX \
19086 no_undefined_flag_CXX \
19087 hardcode_libdir_flag_spec_CXX \
19088 hardcode_libdir_separator_CXX \
19089 exclude_expsyms_CXX \
19090 include_expsyms_CXX \
19091 file_list_spec_CXX \
19092 compiler_lib_search_dirs_CXX \
19093 predep_objects_CXX \
19094 postdep_objects_CXX \
19095 predeps_CXX \
19096 postdeps_CXX \
19097 compiler_lib_search_path_CXX; do
19098 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19099 *[\\\\\\\`\\"\\\$]*)
19100 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19101 ;;
19102 *)
19103 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19104 ;;
19105 esac
19106 done
19107
19108 # Double-quote double-evaled strings.
19109 for var in reload_cmds \
19110 old_postinstall_cmds \
19111 old_postuninstall_cmds \
19112 old_archive_cmds \
19113 extract_expsyms_cmds \
19114 old_archive_from_new_cmds \
19115 old_archive_from_expsyms_cmds \
19116 archive_cmds \
19117 archive_expsym_cmds \
19118 module_cmds \
19119 module_expsym_cmds \
19120 export_symbols_cmds \
19121 prelink_cmds \
19122 postlink_cmds \
19123 postinstall_cmds \
19124 postuninstall_cmds \
19125 finish_cmds \
19126 sys_lib_search_path_spec \
19127 configure_time_dlsearch_path \
19128 configure_time_lt_sys_library_path \
19129 reload_cmds_CXX \
19130 old_archive_cmds_CXX \
19131 old_archive_from_new_cmds_CXX \
19132 old_archive_from_expsyms_cmds_CXX \
19133 archive_cmds_CXX \
19134 archive_expsym_cmds_CXX \
19135 module_cmds_CXX \
19136 module_expsym_cmds_CXX \
19137 export_symbols_cmds_CXX \
19138 prelink_cmds_CXX \
19139 postlink_cmds_CXX; do
19140 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19141 *[\\\\\\\`\\"\\\$]*)
19142 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19143 ;;
19144 *)
19145 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19146 ;;
19147 esac
19148 done
19149
19150 ac_aux_dir='$ac_aux_dir'
19151
19152 # See if we are running on zsh, and set the options that allow our
19153 # commands through without removal of \ escapes INIT.
19154 if test -n "\${ZSH_VERSION+set}"; then
19155 setopt NO_GLOB_SUBST
19156 fi
19157
19158
19159 PACKAGE='$PACKAGE'
19160 VERSION='$VERSION'
19161 RM='$RM'
19162 ofile='$ofile'
19163
19164
19165
19166
19167
19168
19169 _ACEOF
19170
19171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19172
19173 # Handling of arguments.
19174 for ac_config_target in $ac_config_targets
19175 do
19176 case $ac_config_target in
19177 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19178 "gstreamer/gstreamermmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gstreamer/gstreamermmconfig.h" ;;
19179 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19180 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19181 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19182 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
19183 "gstreamer/${GSTREAMERMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES gstreamer/${GSTREAMERMM_MODULE_NAME}.pc:gstreamer/gstreamermm.pc.in" ;;
19184 "gstreamer/${GSTREAMERMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gstreamer/${GSTREAMERMM_MODULE_NAME}-uninstalled.pc:gstreamer/gstreamermm-uninstalled.pc.in" ;;
19185 "gstreamer/src/Makefile") CONFIG_FILES="$CONFIG_FILES gstreamer/src/Makefile" ;;
19186 "gstreamer/gstreamermm/Makefile") CONFIG_FILES="$CONFIG_FILES gstreamer/gstreamermm/Makefile" ;;
19187 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
19188 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19189 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
19190 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
19191
19192 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19193 esac
19194 done
19195
19196
19197 # If the user did not use the arguments to specify the items to instantiate,
19198 # then the envvar interface is used. Set only those that are not.
19199 # We use the long form for the default assignment because of an extremely
19200 # bizarre bug on SunOS 4.1.3.
19201 if $ac_need_defaults; then
19202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19204 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19205 fi
19206
19207 # Have a temporary directory for convenience. Make it in the build tree
19208 # simply because there is no reason against having it here, and in addition,
19209 # creating and moving files from /tmp can sometimes cause problems.
19210 # Hook for its removal unless debugging.
19211 # Note that there is a small window in which the directory will not be cleaned:
19212 # after its creation but before its name has been assigned to `$tmp'.
19213 $debug ||
19214 {
19215 tmp= ac_tmp=
19216 trap 'exit_status=$?
19217 : "${ac_tmp:=$tmp}"
19218 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19219 ' 0
19220 trap 'as_fn_exit 1' 1 2 13 15
19221 }
19222 # Create a (secure) tmp directory for tmp files.
19223
19224 {
19225 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19226 test -d "$tmp"
19227 } ||
19228 {
19229 tmp=./conf$$-$RANDOM
19230 (umask 077 && mkdir "$tmp")
19231 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19232 ac_tmp=$tmp
19233
19234 # Set up the scripts for CONFIG_FILES section.
19235 # No need to generate them if there are no CONFIG_FILES.
19236 # This happens for instance with `./config.status config.h'.
19237 if test -n "$CONFIG_FILES"; then
19238
19239
19240 ac_cr=`echo X | tr X '\015'`
19241 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19242 # But we know of no other shell where ac_cr would be empty at this
19243 # point, so we can use a bashism as a fallback.
19244 if test "x$ac_cr" = x; then
19245 eval ac_cr=\$\'\\r\'
19246 fi
19247 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19248 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19249 ac_cs_awk_cr='\\r'
19250 else
19251 ac_cs_awk_cr=$ac_cr
19252 fi
19253
19254 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19255 _ACEOF
19256
19257
19258 {
19259 echo "cat >conf$$subs.awk <<_ACEOF" &&
19260 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19261 echo "_ACEOF"
19262 } >conf$$subs.sh ||
19263 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19264 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19265 ac_delim='%!_!# '
19266 for ac_last_try in false false false false false :; do
19267 . ./conf$$subs.sh ||
19268 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19269
19270 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19271 if test $ac_delim_n = $ac_delim_num; then
19272 break
19273 elif $ac_last_try; then
19274 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19275 else
19276 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19277 fi
19278 done
19279 rm -f conf$$subs.sh
19280
19281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19282 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19283 _ACEOF
19284 sed -n '
19285 h
19286 s/^/S["/; s/!.*/"]=/
19287 p
19288 g
19289 s/^[^!]*!//
19290 :repl
19291 t repl
19292 s/'"$ac_delim"'$//
19293 t delim
19294 :nl
19295 h
19296 s/\(.\{148\}\)..*/\1/
19297 t more1
19298 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19299 p
19300 n
19301 b repl
19302 :more1
19303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19304 p
19305 g
19306 s/.\{148\}//
19307 t nl
19308 :delim
19309 h
19310 s/\(.\{148\}\)..*/\1/
19311 t more2
19312 s/["\\]/\\&/g; s/^/"/; s/$/"/
19313 p
19314 b
19315 :more2
19316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19317 p
19318 g
19319 s/.\{148\}//
19320 t delim
19321 ' <conf$$subs.awk | sed '
19322 /^[^""]/{
19323 N
19324 s/\n//
19325 }
19326 ' >>$CONFIG_STATUS || ac_write_fail=1
19327 rm -f conf$$subs.awk
19328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19329 _ACAWK
19330 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19331 for (key in S) S_is_set[key] = 1
19332 FS = ""
19333
19334 }
19335 {
19336 line = $ 0
19337 nfields = split(line, field, "@")
19338 substed = 0
19339 len = length(field[1])
19340 for (i = 2; i < nfields; i++) {
19341 key = field[i]
19342 keylen = length(key)
19343 if (S_is_set[key]) {
19344 value = S[key]
19345 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19346 len += length(value) + length(field[++i])
19347 substed = 1
19348 } else
19349 len += 1 + keylen
19350 }
19351
19352 print line
19353 }
19354
19355 _ACAWK
19356 _ACEOF
19357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19358 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19359 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19360 else
19361 cat
19362 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19363 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19364 _ACEOF
19365
19366 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19367 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19368 # trailing colons and then remove the whole line if VPATH becomes empty
19369 # (actually we leave an empty line to preserve line numbers).
19370 if test "x$srcdir" = x.; then
19371 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19372 h
19373 s///
19374 s/^/:/
19375 s/[ ]*$/:/
19376 s/:\$(srcdir):/:/g
19377 s/:\${srcdir}:/:/g
19378 s/:@srcdir@:/:/g
19379 s/^:*//
19380 s/:*$//
19381 x
19382 s/\(=[ ]*\).*/\1/
19383 G
19384 s/\n//
19385 s/^[^=]*=[ ]*$//
19386 }'
19387 fi
19388
19389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19390 fi # test -n "$CONFIG_FILES"
19391
19392 # Set up the scripts for CONFIG_HEADERS section.
19393 # No need to generate them if there are no CONFIG_HEADERS.
19394 # This happens for instance with `./config.status Makefile'.
19395 if test -n "$CONFIG_HEADERS"; then
19396 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19397 BEGIN {
19398 _ACEOF
19399
19400 # Transform confdefs.h into an awk script `defines.awk', embedded as
19401 # here-document in config.status, that substitutes the proper values into
19402 # config.h.in to produce config.h.
19403
19404 # Create a delimiter string that does not exist in confdefs.h, to ease
19405 # handling of long lines.
19406 ac_delim='%!_!# '
19407 for ac_last_try in false false :; do
19408 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19409 if test -z "$ac_tt"; then
19410 break
19411 elif $ac_last_try; then
19412 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19413 else
19414 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19415 fi
19416 done
19417
19418 # For the awk script, D is an array of macro values keyed by name,
19419 # likewise P contains macro parameters if any. Preserve backslash
19420 # newline sequences.
19421
19422 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19423 sed -n '
19424 s/.\{148\}/&'"$ac_delim"'/g
19425 t rset
19426 :rset
19427 s/^[ ]*#[ ]*define[ ][ ]*/ /
19428 t def
19429 d
19430 :def
19431 s/\\$//
19432 t bsnl
19433 s/["\\]/\\&/g
19434 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19435 D["\1"]=" \3"/p
19436 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19437 d
19438 :bsnl
19439 s/["\\]/\\&/g
19440 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19441 D["\1"]=" \3\\\\\\n"\\/p
19442 t cont
19443 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19444 t cont
19445 d
19446 :cont
19447 n
19448 s/.\{148\}/&'"$ac_delim"'/g
19449 t clear
19450 :clear
19451 s/\\$//
19452 t bsnlc
19453 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19454 d
19455 :bsnlc
19456 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19457 b cont
19458 ' <confdefs.h | sed '
19459 s/'"$ac_delim"'/"\\\
19460 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19461
19462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19463 for (key in D) D_is_set[key] = 1
19464 FS = ""
19465 }
19466 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19467 line = \$ 0
19468 split(line, arg, " ")
19469 if (arg[1] == "#") {
19470 defundef = arg[2]
19471 mac1 = arg[3]
19472 } else {
19473 defundef = substr(arg[1], 2)
19474 mac1 = arg[2]
19475 }
19476 split(mac1, mac2, "(") #)
19477 macro = mac2[1]
19478 prefix = substr(line, 1, index(line, defundef) - 1)
19479 if (D_is_set[macro]) {
19480 # Preserve the white space surrounding the "#".
19481 print prefix "define", macro P[macro] D[macro]
19482 next
19483 } else {
19484 # Replace #undef with comments. This is necessary, for example,
19485 # in the case of _POSIX_SOURCE, which is predefined and required
19486 # on some systems where configure will not decide to define it.
19487 if (defundef == "undef") {
19488 print "/*", prefix defundef, macro, "*/"
19489 next
19490 }
19491 }
19492 }
19493 { print }
19494 _ACAWK
19495 _ACEOF
19496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19497 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19498 fi # test -n "$CONFIG_HEADERS"
19499
19500
19501 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19502 shift
19503 for ac_tag
19504 do
19505 case $ac_tag in
19506 :[FHLC]) ac_mode=$ac_tag; continue;;
19507 esac
19508 case $ac_mode$ac_tag in
19509 :[FHL]*:*);;
19510 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19511 :[FH]-) ac_tag=-:-;;
19512 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19513 esac
19514 ac_save_IFS=$IFS
19515 IFS=:
19516 set x $ac_tag
19517 IFS=$ac_save_IFS
19518 shift
19519 ac_file=$1
19520 shift
19521
19522 case $ac_mode in
19523 :L) ac_source=$1;;
19524 :[FH])
19525 ac_file_inputs=
19526 for ac_f
19527 do
19528 case $ac_f in
19529 -) ac_f="$ac_tmp/stdin";;
19530 *) # Look for the file first in the build tree, then in the source tree
19531 # (if the path is not absolute). The absolute path cannot be DOS-style,
19532 # because $ac_f cannot contain `:'.
19533 test -f "$ac_f" ||
19534 case $ac_f in
19535 [\\/$]*) false;;
19536 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19537 esac ||
19538 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19539 esac
19540 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19541 as_fn_append ac_file_inputs " '$ac_f'"
19542 done
19543
19544 # Let's still pretend it is `configure' which instantiates (i.e., don't
19545 # use $as_me), people would be surprised to read:
19546 # /* config.h. Generated by config.status. */
19547 configure_input='Generated from '`
19548 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19549 `' by configure.'
19550 if test x"$ac_file" != x-; then
19551 configure_input="$ac_file. $configure_input"
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19553 $as_echo "$as_me: creating $ac_file" >&6;}
19554 fi
19555 # Neutralize special characters interpreted by sed in replacement strings.
19556 case $configure_input in #(
19557 *\&* | *\|* | *\\* )
19558 ac_sed_conf_input=`$as_echo "$configure_input" |
19559 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19560 *) ac_sed_conf_input=$configure_input;;
19561 esac
19562
19563 case $ac_tag in
19564 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19566 esac
19567 ;;
19568 esac
19569
19570 ac_dir=`$as_dirname -- "$ac_file" ||
19571 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19572 X"$ac_file" : 'X\(//\)[^/]' \| \
19573 X"$ac_file" : 'X\(//\)$' \| \
19574 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19575 $as_echo X"$ac_file" |
19576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19577 s//\1/
19578 q
19579 }
19580 /^X\(\/\/\)[^/].*/{
19581 s//\1/
19582 q
19583 }
19584 /^X\(\/\/\)$/{
19585 s//\1/
19586 q
19587 }
19588 /^X\(\/\).*/{
19589 s//\1/
19590 q
19591 }
19592 s/.*/./; q'`
19593 as_dir="$ac_dir"; as_fn_mkdir_p
19594 ac_builddir=.
19595
19596 case "$ac_dir" in
19597 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19598 *)
19599 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19600 # A ".." for each directory in $ac_dir_suffix.
19601 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19602 case $ac_top_builddir_sub in
19603 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19604 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19605 esac ;;
19606 esac
19607 ac_abs_top_builddir=$ac_pwd
19608 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19609 # for backward compatibility:
19610 ac_top_builddir=$ac_top_build_prefix
19611
19612 case $srcdir in
19613 .) # We are building in place.
19614 ac_srcdir=.
19615 ac_top_srcdir=$ac_top_builddir_sub
19616 ac_abs_top_srcdir=$ac_pwd ;;
19617 [\\/]* | ?:[\\/]* ) # Absolute name.
19618 ac_srcdir=$srcdir$ac_dir_suffix;
19619 ac_top_srcdir=$srcdir
19620 ac_abs_top_srcdir=$srcdir ;;
19621 *) # Relative name.
19622 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19623 ac_top_srcdir=$ac_top_build_prefix$srcdir
19624 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19625 esac
19626 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19627
19628
19629 case $ac_mode in
19630 :F)
19631 #
19632 # CONFIG_FILE
19633 #
19634
19635 case $INSTALL in
19636 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19637 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19638 esac
19639 ac_MKDIR_P=$MKDIR_P
19640 case $MKDIR_P in
19641 [\\/$]* | ?:[\\/]* ) ;;
19642 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19643 esac
19644 _ACEOF
19645
19646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19647 # If the template does not know about datarootdir, expand it.
19648 # FIXME: This hack should be removed a few years after 2.60.
19649 ac_datarootdir_hack=; ac_datarootdir_seen=
19650 ac_sed_dataroot='
19651 /datarootdir/ {
19652 p
19653 q
19654 }
19655 /@datadir@/p
19656 /@docdir@/p
19657 /@infodir@/p
19658 /@localedir@/p
19659 /@mandir@/p'
19660 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19661 *datarootdir*) ac_datarootdir_seen=yes;;
19662 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19664 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19665 _ACEOF
19666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19667 ac_datarootdir_hack='
19668 s&@datadir@&$datadir&g
19669 s&@docdir@&$docdir&g
19670 s&@infodir@&$infodir&g
19671 s&@localedir@&$localedir&g
19672 s&@mandir@&$mandir&g
19673 s&\\\${datarootdir}&$datarootdir&g' ;;
19674 esac
19675 _ACEOF
19676
19677 # Neutralize VPATH when `$srcdir' = `.'.
19678 # Shell code in configure.ac might set extrasub.
19679 # FIXME: do we really want to maintain this feature?
19680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19681 ac_sed_extra="$ac_vpsub
19682 $extrasub
19683 _ACEOF
19684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19685 :t
19686 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19687 s|@configure_input@|$ac_sed_conf_input|;t t
19688 s&@top_builddir@&$ac_top_builddir_sub&;t t
19689 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19690 s&@srcdir@&$ac_srcdir&;t t
19691 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19692 s&@top_srcdir@&$ac_top_srcdir&;t t
19693 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19694 s&@builddir@&$ac_builddir&;t t
19695 s&@abs_builddir@&$ac_abs_builddir&;t t
19696 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19697 s&@INSTALL@&$ac_INSTALL&;t t
19698 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19699 $ac_datarootdir_hack
19700 "
19701 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19702 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19703
19704 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19705 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19706 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19707 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19709 which seems to be undefined. Please make sure it is defined" >&5
19710 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19711 which seems to be undefined. Please make sure it is defined" >&2;}
19712
19713 rm -f "$ac_tmp/stdin"
19714 case $ac_file in
19715 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19716 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19717 esac \
19718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19719 ;;
19720 :H)
19721 #
19722 # CONFIG_HEADER
19723 #
19724 if test x"$ac_file" != x-; then
19725 {
19726 $as_echo "/* $configure_input */" \
19727 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19728 } >"$ac_tmp/config.h" \
19729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19730 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19732 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19733 else
19734 rm -f "$ac_file"
19735 mv "$ac_tmp/config.h" "$ac_file" \
19736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19737 fi
19738 else
19739 $as_echo "/* $configure_input */" \
19740 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19741 || as_fn_error $? "could not create -" "$LINENO" 5
19742 fi
19743 # Compute "$ac_file"'s index in $config_headers.
19744 _am_arg="$ac_file"
19745 _am_stamp_count=1
19746 for _am_header in $config_headers :; do
19747 case $_am_header in
19748 $_am_arg | $_am_arg:* )
19749 break ;;
19750 * )
19751 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19752 esac
19753 done
19754 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19755 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19756 X"$_am_arg" : 'X\(//\)[^/]' \| \
19757 X"$_am_arg" : 'X\(//\)$' \| \
19758 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19759 $as_echo X"$_am_arg" |
19760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19761 s//\1/
19762 q
19763 }
19764 /^X\(\/\/\)[^/].*/{
19765 s//\1/
19766 q
19767 }
19768 /^X\(\/\/\)$/{
19769 s//\1/
19770 q
19771 }
19772 /^X\(\/\).*/{
19773 s//\1/
19774 q
19775 }
19776 s/.*/./; q'`/stamp-h$_am_stamp_count
19777 ;;
19778
19779 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19780 $as_echo "$as_me: executing $ac_file commands" >&6;}
19781 ;;
19782 esac
19783
19784
19785 case $ac_file$ac_mode in
19786 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19787 # Older Autoconf quotes --file arguments for eval, but not when files
19788 # are listed without --file. Let's play safe and only enable the eval
19789 # if we detect the quoting.
19790 case $CONFIG_FILES in
19791 *\'*) eval set x "$CONFIG_FILES" ;;
19792 *) set x $CONFIG_FILES ;;
19793 esac
19794 shift
19795 for mf
19796 do
19797 # Strip MF so we end up with the name of the file.
19798 mf=`echo "$mf" | sed -e 's/:.*$//'`
19799 # Check whether this is an Automake generated Makefile or not.
19800 # We used to match only the files named 'Makefile.in', but
19801 # some people rename them; so instead we look at the file content.
19802 # Grep'ing the first line is not enough: some people post-process
19803 # each Makefile.in and add a new line on top of each file to say so.
19804 # Grep'ing the whole file is not good either: AIX grep has a line
19805 # limit of 2048, but all sed's we know have understand at least 4000.
19806 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19807 dirpart=`$as_dirname -- "$mf" ||
19808 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19809 X"$mf" : 'X\(//\)[^/]' \| \
19810 X"$mf" : 'X\(//\)$' \| \
19811 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19812 $as_echo X"$mf" |
19813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19814 s//\1/
19815 q
19816 }
19817 /^X\(\/\/\)[^/].*/{
19818 s//\1/
19819 q
19820 }
19821 /^X\(\/\/\)$/{
19822 s//\1/
19823 q
19824 }
19825 /^X\(\/\).*/{
19826 s//\1/
19827 q
19828 }
19829 s/.*/./; q'`
19830 else
19831 continue
19832 fi
19833 # Extract the definition of DEPDIR, am__include, and am__quote
19834 # from the Makefile without running 'make'.
19835 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19836 test -z "$DEPDIR" && continue
19837 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19838 test -z "$am__include" && continue
19839 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19840 # Find all dependency output files, they are included files with
19841 # $(DEPDIR) in their names. We invoke sed twice because it is the
19842 # simplest approach to changing $(DEPDIR) to its actual value in the
19843 # expansion.
19844 for file in `sed -n "
19845 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19846 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19847 # Make sure the directory exists.
19848 test -f "$dirpart/$file" && continue
19849 fdir=`$as_dirname -- "$file" ||
19850 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19851 X"$file" : 'X\(//\)[^/]' \| \
19852 X"$file" : 'X\(//\)$' \| \
19853 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19854 $as_echo X"$file" |
19855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19856 s//\1/
19857 q
19858 }
19859 /^X\(\/\/\)[^/].*/{
19860 s//\1/
19861 q
19862 }
19863 /^X\(\/\/\)$/{
19864 s//\1/
19865 q
19866 }
19867 /^X\(\/\).*/{
19868 s//\1/
19869 q
19870 }
19871 s/.*/./; q'`
19872 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19873 # echo "creating $dirpart/$file"
19874 echo '# dummy' > "$dirpart/$file"
19875 done
19876 done
19877 }
19878 ;;
19879 "libtool":C)
19880
19881 # See if we are running on zsh, and set the options that allow our
19882 # commands through without removal of \ escapes.
19883 if test -n "${ZSH_VERSION+set}"; then
19884 setopt NO_GLOB_SUBST
19885 fi
19886
19887 cfgfile=${ofile}T
19888 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19889 $RM "$cfgfile"
19890
19891 cat <<_LT_EOF >> "$cfgfile"
19892 #! $SHELL
19893 # Generated automatically by $as_me ($PACKAGE) $VERSION
19894 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19895 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19896
19897 # Provide generalized library-building support services.
19898 # Written by Gordon Matzigkeit, 1996
19899
19900 # Copyright (C) 2014 Free Software Foundation, Inc.
19901 # This is free software; see the source for copying conditions. There is NO
19902 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19903
19904 # GNU Libtool is free software; you can redistribute it and/or modify
19905 # it under the terms of the GNU General Public License as published by
19906 # the Free Software Foundation; either version 2 of of the License, or
19907 # (at your option) any later version.
19908 #
19909 # As a special exception to the GNU General Public License, if you
19910 # distribute this file as part of a program or library that is built
19911 # using GNU Libtool, you may include this file under the same
19912 # distribution terms that you use for the rest of that program.
19913 #
19914 # GNU Libtool is distributed in the hope that it will be useful, but
19915 # WITHOUT ANY WARRANTY; without even the implied warranty of
19916 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19917 # GNU General Public License for more details.
19918 #
19919 # You should have received a copy of the GNU General Public License
19920 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19921
19922
19923 # The names of the tagged configurations supported by this script.
19924 available_tags='CXX '
19925
19926 # Configured defaults for sys_lib_dlsearch_path munging.
19927 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19928
19929 # ### BEGIN LIBTOOL CONFIG
19930
19931 # Whether or not to build static libraries.
19932 build_old_libs=$enable_static
19933
19934 # Assembler program.
19935 AS=$lt_AS
19936
19937 # DLL creation program.
19938 DLLTOOL=$lt_DLLTOOL
19939
19940 # Object dumper program.
19941 OBJDUMP=$lt_OBJDUMP
19942
19943 # Which release of libtool.m4 was used?
19944 macro_version=$macro_version
19945 macro_revision=$macro_revision
19946
19947 # Whether or not to build shared libraries.
19948 build_libtool_libs=$enable_shared
19949
19950 # What type of objects to build.
19951 pic_mode=$pic_mode
19952
19953 # Whether or not to optimize for fast installation.
19954 fast_install=$enable_fast_install
19955
19956 # Shared archive member basename,for filename based shared library versioning on AIX.
19957 shared_archive_member_spec=$shared_archive_member_spec
19958
19959 # Shell to use when invoking shell scripts.
19960 SHELL=$lt_SHELL
19961
19962 # An echo program that protects backslashes.
19963 ECHO=$lt_ECHO
19964
19965 # The PATH separator for the build system.
19966 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19967
19968 # The host system.
19969 host_alias=$host_alias
19970 host=$host
19971 host_os=$host_os
19972
19973 # The build system.
19974 build_alias=$build_alias
19975 build=$build
19976 build_os=$build_os
19977
19978 # A sed program that does not truncate output.
19979 SED=$lt_SED
19980
19981 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19982 Xsed="\$SED -e 1s/^X//"
19983
19984 # A grep program that handles long lines.
19985 GREP=$lt_GREP
19986
19987 # An ERE matcher.
19988 EGREP=$lt_EGREP
19989
19990 # A literal string matcher.
19991 FGREP=$lt_FGREP
19992
19993 # A BSD- or MS-compatible name lister.
19994 NM=$lt_NM
19995
19996 # Whether we need soft or hard links.
19997 LN_S=$lt_LN_S
19998
19999 # What is the maximum length of a command?
20000 max_cmd_len=$max_cmd_len
20001
20002 # Object file suffix (normally "o").
20003 objext=$ac_objext
20004
20005 # Executable file suffix (normally "").
20006 exeext=$exeext
20007
20008 # whether the shell understands "unset".
20009 lt_unset=$lt_unset
20010
20011 # turn spaces into newlines.
20012 SP2NL=$lt_lt_SP2NL
20013
20014 # turn newlines into spaces.
20015 NL2SP=$lt_lt_NL2SP
20016
20017 # convert \$build file names to \$host format.
20018 to_host_file_cmd=$lt_cv_to_host_file_cmd
20019
20020 # convert \$build files to toolchain format.
20021 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20022
20023 # Method to check whether dependent libraries are shared objects.
20024 deplibs_check_method=$lt_deplibs_check_method
20025
20026 # Command to use when deplibs_check_method = "file_magic".
20027 file_magic_cmd=$lt_file_magic_cmd
20028
20029 # How to find potential files when deplibs_check_method = "file_magic".
20030 file_magic_glob=$lt_file_magic_glob
20031
20032 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20033 want_nocaseglob=$lt_want_nocaseglob
20034
20035 # Command to associate shared and link libraries.
20036 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20037
20038 # The archiver.
20039 AR=$lt_AR
20040
20041 # Flags to create an archive.
20042 AR_FLAGS=$lt_AR_FLAGS
20043
20044 # How to feed a file listing to the archiver.
20045 archiver_list_spec=$lt_archiver_list_spec
20046
20047 # A symbol stripping program.
20048 STRIP=$lt_STRIP
20049
20050 # Commands used to install an old-style archive.
20051 RANLIB=$lt_RANLIB
20052 old_postinstall_cmds=$lt_old_postinstall_cmds
20053 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20054
20055 # Whether to use a lock for old archive extraction.
20056 lock_old_archive_extraction=$lock_old_archive_extraction
20057
20058 # A C compiler.
20059 LTCC=$lt_CC
20060
20061 # LTCC compiler flags.
20062 LTCFLAGS=$lt_CFLAGS
20063
20064 # Take the output of nm and produce a listing of raw symbols and C names.
20065 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20066
20067 # Transform the output of nm in a proper C declaration.
20068 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20069
20070 # Transform the output of nm into a list of symbols to manually relocate.
20071 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20072
20073 # Transform the output of nm in a C name address pair.
20074 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20075
20076 # Transform the output of nm in a C name address pair when lib prefix is needed.
20077 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20078
20079 # The name lister interface.
20080 nm_interface=$lt_lt_cv_nm_interface
20081
20082 # Specify filename containing input files for \$NM.
20083 nm_file_list_spec=$lt_nm_file_list_spec
20084
20085 # The root where to search for dependent libraries,and where our libraries should be installed.
20086 lt_sysroot=$lt_sysroot
20087
20088 # Command to truncate a binary pipe.
20089 lt_truncate_bin=$lt_lt_cv_truncate_bin
20090
20091 # The name of the directory that contains temporary libtool files.
20092 objdir=$objdir
20093
20094 # Used to examine libraries when file_magic_cmd begins with "file".
20095 MAGIC_CMD=$MAGIC_CMD
20096
20097 # Must we lock files when doing compilation?
20098 need_locks=$lt_need_locks
20099
20100 # Manifest tool.
20101 MANIFEST_TOOL=$lt_MANIFEST_TOOL
20102
20103 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20104 DSYMUTIL=$lt_DSYMUTIL
20105
20106 # Tool to change global to local symbols on Mac OS X.
20107 NMEDIT=$lt_NMEDIT
20108
20109 # Tool to manipulate fat objects and archives on Mac OS X.
20110 LIPO=$lt_LIPO
20111
20112 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20113 OTOOL=$lt_OTOOL
20114
20115 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20116 OTOOL64=$lt_OTOOL64
20117
20118 # Old archive suffix (normally "a").
20119 libext=$libext
20120
20121 # Shared library suffix (normally ".so").
20122 shrext_cmds=$lt_shrext_cmds
20123
20124 # The commands to extract the exported symbol list from a shared archive.
20125 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20126
20127 # Variables whose values should be saved in libtool wrapper scripts and
20128 # restored at link time.
20129 variables_saved_for_relink=$lt_variables_saved_for_relink
20130
20131 # Do we need the "lib" prefix for modules?
20132 need_lib_prefix=$need_lib_prefix
20133
20134 # Do we need a version for libraries?
20135 need_version=$need_version
20136
20137 # Library versioning type.
20138 version_type=$version_type
20139
20140 # Shared library runtime path variable.
20141 runpath_var=$runpath_var
20142
20143 # Shared library path variable.
20144 shlibpath_var=$shlibpath_var
20145
20146 # Is shlibpath searched before the hard-coded library search path?
20147 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20148
20149 # Format of library name prefix.
20150 libname_spec=$lt_libname_spec
20151
20152 # List of archive names. First name is the real one, the rest are links.
20153 # The last name is the one that the linker finds with -lNAME
20154 library_names_spec=$lt_library_names_spec
20155
20156 # The coded name of the library, if different from the real name.
20157 soname_spec=$lt_soname_spec
20158
20159 # Permission mode override for installation of shared libraries.
20160 install_override_mode=$lt_install_override_mode
20161
20162 # Command to use after installation of a shared archive.
20163 postinstall_cmds=$lt_postinstall_cmds
20164
20165 # Command to use after uninstallation of a shared archive.
20166 postuninstall_cmds=$lt_postuninstall_cmds
20167
20168 # Commands used to finish a libtool library installation in a directory.
20169 finish_cmds=$lt_finish_cmds
20170
20171 # As "finish_cmds", except a single script fragment to be evaled but
20172 # not shown.
20173 finish_eval=$lt_finish_eval
20174
20175 # Whether we should hardcode library paths into libraries.
20176 hardcode_into_libs=$hardcode_into_libs
20177
20178 # Compile-time system search path for libraries.
20179 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20180
20181 # Detected run-time system search path for libraries.
20182 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20183
20184 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20185 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20186
20187 # Whether dlopen is supported.
20188 dlopen_support=$enable_dlopen
20189
20190 # Whether dlopen of programs is supported.
20191 dlopen_self=$enable_dlopen_self
20192
20193 # Whether dlopen of statically linked programs is supported.
20194 dlopen_self_static=$enable_dlopen_self_static
20195
20196 # Commands to strip libraries.
20197 old_striplib=$lt_old_striplib
20198 striplib=$lt_striplib
20199
20200
20201 # The linker used to build libraries.
20202 LD=$lt_LD
20203
20204 # How to create reloadable object files.
20205 reload_flag=$lt_reload_flag
20206 reload_cmds=$lt_reload_cmds
20207
20208 # Commands used to build an old-style archive.
20209 old_archive_cmds=$lt_old_archive_cmds
20210
20211 # A language specific compiler.
20212 CC=$lt_compiler
20213
20214 # Is the compiler the GNU compiler?
20215 with_gcc=$GCC
20216
20217 # Compiler flag to turn off builtin functions.
20218 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20219
20220 # Additional compiler flags for building library objects.
20221 pic_flag=$lt_lt_prog_compiler_pic
20222
20223 # How to pass a linker flag through the compiler.
20224 wl=$lt_lt_prog_compiler_wl
20225
20226 # Compiler flag to prevent dynamic linking.
20227 link_static_flag=$lt_lt_prog_compiler_static
20228
20229 # Does compiler simultaneously support -c and -o options?
20230 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20231
20232 # Whether or not to add -lc for building shared libraries.
20233 build_libtool_need_lc=$archive_cmds_need_lc
20234
20235 # Whether or not to disallow shared libs when runtime libs are static.
20236 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20237
20238 # Compiler flag to allow reflexive dlopens.
20239 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20240
20241 # Compiler flag to generate shared objects directly from archives.
20242 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20243
20244 # Whether the compiler copes with passing no objects directly.
20245 compiler_needs_object=$lt_compiler_needs_object
20246
20247 # Create an old-style archive from a shared archive.
20248 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20249
20250 # Create a temporary old-style archive to link instead of a shared archive.
20251 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20252
20253 # Commands used to build a shared archive.
20254 archive_cmds=$lt_archive_cmds
20255 archive_expsym_cmds=$lt_archive_expsym_cmds
20256
20257 # Commands used to build a loadable module if different from building
20258 # a shared archive.
20259 module_cmds=$lt_module_cmds
20260 module_expsym_cmds=$lt_module_expsym_cmds
20261
20262 # Whether we are building with GNU ld or not.
20263 with_gnu_ld=$lt_with_gnu_ld
20264
20265 # Flag that allows shared libraries with undefined symbols to be built.
20266 allow_undefined_flag=$lt_allow_undefined_flag
20267
20268 # Flag that enforces no undefined symbols.
20269 no_undefined_flag=$lt_no_undefined_flag
20270
20271 # Flag to hardcode \$libdir into a binary during linking.
20272 # This must work even if \$libdir does not exist
20273 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20274
20275 # Whether we need a single "-rpath" flag with a separated argument.
20276 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20277
20278 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20279 # DIR into the resulting binary.
20280 hardcode_direct=$hardcode_direct
20281
20282 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20283 # DIR into the resulting binary and the resulting library dependency is
20284 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20285 # library is relocated.
20286 hardcode_direct_absolute=$hardcode_direct_absolute
20287
20288 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20289 # into the resulting binary.
20290 hardcode_minus_L=$hardcode_minus_L
20291
20292 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20293 # into the resulting binary.
20294 hardcode_shlibpath_var=$hardcode_shlibpath_var
20295
20296 # Set to "yes" if building a shared library automatically hardcodes DIR
20297 # into the library and all subsequent libraries and executables linked
20298 # against it.
20299 hardcode_automatic=$hardcode_automatic
20300
20301 # Set to yes if linker adds runtime paths of dependent libraries
20302 # to runtime path list.
20303 inherit_rpath=$inherit_rpath
20304
20305 # Whether libtool must link a program against all its dependency libraries.
20306 link_all_deplibs=$link_all_deplibs
20307
20308 # Set to "yes" if exported symbols are required.
20309 always_export_symbols=$always_export_symbols
20310
20311 # The commands to list exported symbols.
20312 export_symbols_cmds=$lt_export_symbols_cmds
20313
20314 # Symbols that should not be listed in the preloaded symbols.
20315 exclude_expsyms=$lt_exclude_expsyms
20316
20317 # Symbols that must always be exported.
20318 include_expsyms=$lt_include_expsyms
20319
20320 # Commands necessary for linking programs (against libraries) with templates.
20321 prelink_cmds=$lt_prelink_cmds
20322
20323 # Commands necessary for finishing linking programs.
20324 postlink_cmds=$lt_postlink_cmds
20325
20326 # Specify filename containing input files.
20327 file_list_spec=$lt_file_list_spec
20328
20329 # How to hardcode a shared library path into an executable.
20330 hardcode_action=$hardcode_action
20331
20332 # The directories searched by this compiler when creating a shared library.
20333 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20334
20335 # Dependencies to place before and after the objects being linked to
20336 # create a shared library.
20337 predep_objects=$lt_predep_objects
20338 postdep_objects=$lt_postdep_objects
20339 predeps=$lt_predeps
20340 postdeps=$lt_postdeps
20341
20342 # The library search path used internally by the compiler when linking
20343 # a shared library.
20344 compiler_lib_search_path=$lt_compiler_lib_search_path
20345
20346 # ### END LIBTOOL CONFIG
20347
20348 _LT_EOF
20349
20350 cat <<'_LT_EOF' >> "$cfgfile"
20351
20352 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
20353
20354 # func_munge_path_list VARIABLE PATH
20355 # -----------------------------------
20356 # VARIABLE is name of variable containing _space_ separated list of
20357 # directories to be munged by the contents of PATH, which is string
20358 # having a format:
20359 # "DIR[:DIR]:"
20360 # string "DIR[ DIR]" will be prepended to VARIABLE
20361 # ":DIR[:DIR]"
20362 # string "DIR[ DIR]" will be appended to VARIABLE
20363 # "DIRP[:DIRP]::[DIRA:]DIRA"
20364 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
20365 # "DIRA[ DIRA]" will be appended to VARIABLE
20366 # "DIR[:DIR]"
20367 # VARIABLE will be replaced by "DIR[ DIR]"
20368 func_munge_path_list ()
20369 {
20370 case x$2 in
20371 x)
20372 ;;
20373 *:)
20374 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
20375 ;;
20376 x:*)
20377 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
20378 ;;
20379 *::*)
20380 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20381 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20382 ;;
20383 *)
20384 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
20385 ;;
20386 esac
20387 }
20388
20389
20390 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
20391 func_cc_basename ()
20392 {
20393 for cc_temp in $*""; do
20394 case $cc_temp in
20395 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20396 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20397 \-*) ;;
20398 *) break;;
20399 esac
20400 done
20401 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
20402 }
20403
20404
20405 # ### END FUNCTIONS SHARED WITH CONFIGURE
20406
20407 _LT_EOF
20408
20409 case $host_os in
20410 aix3*)
20411 cat <<\_LT_EOF >> "$cfgfile"
20412 # AIX sometimes has problems with the GCC collect2 program. For some
20413 # reason, if we set the COLLECT_NAMES environment variable, the problems
20414 # vanish in a puff of smoke.
20415 if test set != "${COLLECT_NAMES+set}"; then
20416 COLLECT_NAMES=
20417 export COLLECT_NAMES
20418 fi
20419 _LT_EOF
20420 ;;
20421 esac
20422
20423
20424 ltmain=$ac_aux_dir/ltmain.sh
20425
20426
20427 # We use sed instead of cat because bash on DJGPP gets confused if
20428 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20429 # text mode, it properly converts lines to CR/LF. This bash problem
20430 # is reportedly fixed, but why not run on old versions too?
20431 sed '$q' "$ltmain" >> "$cfgfile" \
20432 || (rm -f "$cfgfile"; exit 1)
20433
20434 mv -f "$cfgfile" "$ofile" ||
20435 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20436 chmod +x "$ofile"
20437
20438
20439 cat <<_LT_EOF >> "$ofile"
20440
20441 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20442
20443 # The linker used to build libraries.
20444 LD=$lt_LD_CXX
20445
20446 # How to create reloadable object files.
20447 reload_flag=$lt_reload_flag_CXX
20448 reload_cmds=$lt_reload_cmds_CXX
20449
20450 # Commands used to build an old-style archive.
20451 old_archive_cmds=$lt_old_archive_cmds_CXX
20452
20453 # A language specific compiler.
20454 CC=$lt_compiler_CXX
20455
20456 # Is the compiler the GNU compiler?
20457 with_gcc=$GCC_CXX
20458
20459 # Compiler flag to turn off builtin functions.
20460 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20461
20462 # Additional compiler flags for building library objects.
20463 pic_flag=$lt_lt_prog_compiler_pic_CXX
20464
20465 # How to pass a linker flag through the compiler.
20466 wl=$lt_lt_prog_compiler_wl_CXX
20467
20468 # Compiler flag to prevent dynamic linking.
20469 link_static_flag=$lt_lt_prog_compiler_static_CXX
20470
20471 # Does compiler simultaneously support -c and -o options?
20472 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20473
20474 # Whether or not to add -lc for building shared libraries.
20475 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20476
20477 # Whether or not to disallow shared libs when runtime libs are static.
20478 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20479
20480 # Compiler flag to allow reflexive dlopens.
20481 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20482
20483 # Compiler flag to generate shared objects directly from archives.
20484 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20485
20486 # Whether the compiler copes with passing no objects directly.
20487 compiler_needs_object=$lt_compiler_needs_object_CXX
20488
20489 # Create an old-style archive from a shared archive.
20490 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20491
20492 # Create a temporary old-style archive to link instead of a shared archive.
20493 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20494
20495 # Commands used to build a shared archive.
20496 archive_cmds=$lt_archive_cmds_CXX
20497 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20498
20499 # Commands used to build a loadable module if different from building
20500 # a shared archive.
20501 module_cmds=$lt_module_cmds_CXX
20502 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20503
20504 # Whether we are building with GNU ld or not.
20505 with_gnu_ld=$lt_with_gnu_ld_CXX
20506
20507 # Flag that allows shared libraries with undefined symbols to be built.
20508 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20509
20510 # Flag that enforces no undefined symbols.
20511 no_undefined_flag=$lt_no_undefined_flag_CXX
20512
20513 # Flag to hardcode \$libdir into a binary during linking.
20514 # This must work even if \$libdir does not exist
20515 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20516
20517 # Whether we need a single "-rpath" flag with a separated argument.
20518 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20519
20520 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20521 # DIR into the resulting binary.
20522 hardcode_direct=$hardcode_direct_CXX
20523
20524 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20525 # DIR into the resulting binary and the resulting library dependency is
20526 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20527 # library is relocated.
20528 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20529
20530 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20531 # into the resulting binary.
20532 hardcode_minus_L=$hardcode_minus_L_CXX
20533
20534 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20535 # into the resulting binary.
20536 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20537
20538 # Set to "yes" if building a shared library automatically hardcodes DIR
20539 # into the library and all subsequent libraries and executables linked
20540 # against it.
20541 hardcode_automatic=$hardcode_automatic_CXX
20542
20543 # Set to yes if linker adds runtime paths of dependent libraries
20544 # to runtime path list.
20545 inherit_rpath=$inherit_rpath_CXX
20546
20547 # Whether libtool must link a program against all its dependency libraries.
20548 link_all_deplibs=$link_all_deplibs_CXX
20549
20550 # Set to "yes" if exported symbols are required.
20551 always_export_symbols=$always_export_symbols_CXX
20552
20553 # The commands to list exported symbols.
20554 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20555
20556 # Symbols that should not be listed in the preloaded symbols.
20557 exclude_expsyms=$lt_exclude_expsyms_CXX
20558
20559 # Symbols that must always be exported.
20560 include_expsyms=$lt_include_expsyms_CXX
20561
20562 # Commands necessary for linking programs (against libraries) with templates.
20563 prelink_cmds=$lt_prelink_cmds_CXX
20564
20565 # Commands necessary for finishing linking programs.
20566 postlink_cmds=$lt_postlink_cmds_CXX
20567
20568 # Specify filename containing input files.
20569 file_list_spec=$lt_file_list_spec_CXX
20570
20571 # How to hardcode a shared library path into an executable.
20572 hardcode_action=$hardcode_action_CXX
20573
20574 # The directories searched by this compiler when creating a shared library.
20575 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20576
20577 # Dependencies to place before and after the objects being linked to
20578 # create a shared library.
20579 predep_objects=$lt_predep_objects_CXX
20580 postdep_objects=$lt_postdep_objects_CXX
20581 predeps=$lt_predeps_CXX
20582 postdeps=$lt_postdeps_CXX
20583
20584 # The library search path used internally by the compiler when linking
20585 # a shared library.
20586 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20587
20588 # ### END LIBTOOL TAG CONFIG: CXX
20589 _LT_EOF
20590
20591 ;;
20592
20593 esac
20594 done # for ac_tag
20595
20596
20597 as_fn_exit 0
20598 _ACEOF
20599 ac_clean_files=$ac_clean_files_save
20600
20601 test $ac_write_fail = 0 ||
20602 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20603
20604
20605 # configure is writing to config.log, and then calls config.status.
20606 # config.status does its own redirection, appending to config.log.
20607 # Unfortunately, on DOS this fails, as config.log is still kept open
20608 # by configure, so config.status won't be able to write to it; its
20609 # output is simply discarded. So we exec the FD to /dev/null,
20610 # effectively closing config.log, so it can be properly (re)opened and
20611 # appended to by config.status. When coming back to configure, we
20612 # need to make the FD available again.
20613 if test "$no_create" != yes; then
20614 ac_cs_success=:
20615 ac_config_status_args=
20616 test "$silent" = yes &&
20617 ac_config_status_args="$ac_config_status_args --quiet"
20618 exec 5>/dev/null
20619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20620 exec 5>>config.log
20621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20622 # would make configure fail if this is the last instruction.
20623 $ac_cs_success || as_fn_exit 1
20624 fi
20625 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20627 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20628 fi
20629
20630
20631 cat <<EOF
20632
20633 ${PACKAGE}-${VERSION}
20634
20635 Build Environment
20636 Install Prefix: ${prefix}
20637
20638 Libraries
20639 GStreamer Version: $(pkg-config --modversion gstreamer-1.0)
20640
20641 Extra features
20642 Use deprecated API: ${mm_enable_deprecated_api}
20643 GUI Examples: ${gstmm_enable_gui_examples}
20644 Unit Tests: ${enable_unittests}
20645
20646 EOF