Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for compiz-plugins-main 0.8.18.
4 #
5 # Report bugs to <[email protected]>.
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: [email protected] about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
282 fi
283 exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301 { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310 return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318 set +e
319 as_fn_set_status $1
320 exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329 case $as_dir in #(
330 -*) as_dir=./$as_dir;;
331 esac
332 test -d "$as_dir" || eval $as_mkdir_p || {
333 as_dirs=
334 while :; do
335 case $as_dir in #(
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337 *) as_qdir=$as_dir;;
338 esac
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)[^/].*/{
351 s//\1/
352 q
353 }
354 /^X\(\/\/\)$/{
355 s//\1/
356 q
357 }
358 /^X\(\/\).*/{
359 s//\1/
360 q
361 }
362 s/.*/./; q'`
363 test -d "$as_dir" && break
364 done
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else
390 as_fn_append ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 s/[$]LINENO.*/&-/
487 t lineno
488 b
489 :lineno
490 N
491 :loop
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 t loop
494 s/-\n.*//
495 ' >$as_me.lineno &&
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
506 . "./$as_me.lineno"
507 # Exit status is that of the last command.
508 exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 xy) ECHO_C='\c';;
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
518 ECHO_T=' ';;
519 esac;;
520 *)
521 ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
527 else
528 rm -f conf$$.dir
529 mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s='ln -s'
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 as_ln_s='cp -pR'
540 elif ln conf$$.file conf$$ 2>/dev/null; then
541 as_ln_s=ln
542 else
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
553 else
554 test -d ./-p && rmdir ./-p
555 as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='compiz-plugins-main'
592 PACKAGE_TARNAME='compiz-plugins-main'
593 PACKAGE_VERSION='0.8.18'
594 PACKAGE_STRING='compiz-plugins-main 0.8.18'
595 PACKAGE_BUGREPORT='[email protected]'
596 PACKAGE_URL=''
597
598 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 # include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 # include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 gt_needs=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 UPDATE_ICON_CACHE
640 JPEG_PLUGIN_FALSE
641 JPEG_PLUGIN_TRUE
642 SCALEADDON_PLUGIN_FALSE
643 SCALEADDON_PLUGIN_TRUE
644 RESIZEINFO_PLUGIN_FALSE
645 RESIZEINFO_PLUGIN_TRUE
646 TEXT_PLUGIN_FALSE
647 TEXT_PLUGIN_TRUE
648 FOCUSPOLL_PLUGIN_FALSE
649 FOCUSPOLL_PLUGIN_TRUE
650 LIBNOTIFY_LIBS
651 LIBNOTIFY_CFLAGS
652 PANGO_LIBS
653 PANGO_CFLAGS
654 SCALE_LIBS
655 SCALE_CFLAGS
656 ATSPI2_LIBS
657 ATSPI2_CFLAGS
658 GL_LIBS
659 GL_CFLAGS
660 BCOP_BIN
661 BCOP_LIBS
662 BCOP_CFLAGS
663 COMPIZ_LIBS
664 COMPIZ_CFLAGS
665 PKG_CONFIG_LIBDIR
666 PKG_CONFIG
667 PKG_CONFIG_PATH
668 pluginiconsdir
669 compdatadir
670 metadatadir
671 imagedir
672 plugindir
673 GETTEXT_PACKAGE
674 POSUB
675 LTLIBINTL
676 LIBINTL
677 INTLLIBS
678 LTLIBICONV
679 LIBICONV
680 INTL_MACOSX_LIBS
681 XGETTEXT_EXTRA_OPTIONS
682 XGETTEXT_015
683 GMSGFMT_015
684 MSGFMT_015
685 GETTEXT_MACRO_VERSION
686 ALL_LINGUAS
687 INTLTOOL_PERL
688 GMSGFMT
689 MSGFMT
690 MSGMERGE
691 XGETTEXT
692 INTLTOOL_POLICY_RULE
693 INTLTOOL_SERVICE_RULE
694 INTLTOOL_THEME_RULE
695 INTLTOOL_SCHEMAS_RULE
696 INTLTOOL_CAVES_RULE
697 INTLTOOL_XML_NOMERGE_RULE
698 INTLTOOL_XML_RULE
699 INTLTOOL_KBD_RULE
700 INTLTOOL_XAM_RULE
701 INTLTOOL_UI_RULE
702 INTLTOOL_SOUNDLIST_RULE
703 INTLTOOL_SHEET_RULE
704 INTLTOOL_SERVER_RULE
705 INTLTOOL_PONG_RULE
706 INTLTOOL_OAF_RULE
707 INTLTOOL_PROP_RULE
708 INTLTOOL_KEYS_RULE
709 INTLTOOL_DIRECTORY_RULE
710 INTLTOOL_DESKTOP_RULE
711 intltool__v_merge_options_0
712 intltool__v_merge_options_
713 INTLTOOL_V_MERGE_OPTIONS
714 INTLTOOL__v_MERGE_0
715 INTLTOOL__v_MERGE_
716 INTLTOOL_V_MERGE
717 INTLTOOL_EXTRACT
718 INTLTOOL_MERGE
719 INTLTOOL_UPDATE
720 USE_NLS
721 CXXCPP
722 LT_SYS_LIBRARY_PATH
723 OTOOL64
724 OTOOL
725 LIPO
726 NMEDIT
727 DSYMUTIL
728 MANIFEST_TOOL
729 RANLIB
730 ac_ct_AR
731 AR
732 DLLTOOL
733 OBJDUMP
734 LN_S
735 NM
736 ac_ct_DUMPBIN
737 DUMPBIN
738 LD
739 FGREP
740 EGREP
741 GREP
742 SED
743 host_os
744 host_vendor
745 host_cpu
746 host
747 build_os
748 build_vendor
749 build_cpu
750 build
751 LIBTOOL
752 am__fastdepCXX_FALSE
753 am__fastdepCXX_TRUE
754 CXXDEPMODE
755 ac_ct_CXX
756 CXXFLAGS
757 CXX
758 CPP
759 am__fastdepCC_FALSE
760 am__fastdepCC_TRUE
761 CCDEPMODE
762 am__nodep
763 AMDEPBACKSLASH
764 AMDEP_FALSE
765 AMDEP_TRUE
766 am__quote
767 am__include
768 DEPDIR
769 OBJEXT
770 EXEEXT
771 ac_ct_CC
772 CPPFLAGS
773 LDFLAGS
774 CFLAGS
775 CC
776 MAINT
777 MAINTAINER_MODE_FALSE
778 MAINTAINER_MODE_TRUE
779 AM_BACKSLASH
780 AM_DEFAULT_VERBOSITY
781 AM_DEFAULT_V
782 AM_V
783 am__untar
784 am__tar
785 AMTAR
786 am__leading_dot
787 SET_MAKE
788 AWK
789 mkdir_p
790 MKDIR_P
791 INSTALL_STRIP_PROGRAM
792 STRIP
793 install_sh
794 MAKEINFO
795 AUTOHEADER
796 AUTOMAKE
797 AUTOCONF
798 ACLOCAL
799 VERSION
800 PACKAGE
801 CYGPATH_W
802 am__isrc
803 INSTALL_DATA
804 INSTALL_SCRIPT
805 INSTALL_PROGRAM
806 target_alias
807 host_alias
808 build_alias
809 LIBS
810 ECHO_T
811 ECHO_N
812 ECHO_C
813 DEFS
814 mandir
815 localedir
816 libdir
817 psdir
818 pdfdir
819 dvidir
820 htmldir
821 infodir
822 docdir
823 oldincludedir
824 includedir
825 runstatedir
826 localstatedir
827 sharedstatedir
828 sysconfdir
829 datadir
830 datarootdir
831 libexecdir
832 sbindir
833 bindir
834 program_transform_name
835 prefix
836 exec_prefix
837 PACKAGE_URL
838 PACKAGE_BUGREPORT
839 PACKAGE_STRING
840 PACKAGE_VERSION
841 PACKAGE_TARNAME
842 PACKAGE_NAME
843 PATH_SEPARATOR
844 SHELL'
845 ac_subst_files=''
846 ac_user_opts='
847 enable_option_checking
848 enable_silent_rules
849 enable_maintainer_mode
850 enable_dependency_tracking
851 enable_shared
852 enable_static
853 with_pic
854 enable_fast_install
855 with_aix_soname
856 with_gnu_ld
857 with_sysroot
858 enable_libtool_lock
859 enable_nls
860 enable_rpath
861 with_libiconv_prefix
862 with_libintl_prefix
863 with_gl_cflags
864 with_gl_libs
865 enable_jpeg
866 '
867 ac_precious_vars='build_alias
868 host_alias
869 target_alias
870 CC
871 CFLAGS
872 LDFLAGS
873 LIBS
874 CPPFLAGS
875 CPP
876 CXX
877 CXXFLAGS
878 CCC
879 LT_SYS_LIBRARY_PATH
880 CXXCPP
881 PKG_CONFIG
882 PKG_CONFIG_PATH
883 PKG_CONFIG_LIBDIR
884 COMPIZ_CFLAGS
885 COMPIZ_LIBS
886 BCOP_CFLAGS
887 BCOP_LIBS
888 ATSPI2_CFLAGS
889 ATSPI2_LIBS
890 SCALE_CFLAGS
891 SCALE_LIBS
892 PANGO_CFLAGS
893 PANGO_LIBS
894 LIBNOTIFY_CFLAGS
895 LIBNOTIFY_LIBS'
896
897
898 # Initialize some variables set by options.
899 ac_init_help=
900 ac_init_version=false
901 ac_unrecognized_opts=
902 ac_unrecognized_sep=
903 # The variables have the same names as the options, with
904 # dashes changed to underlines.
905 cache_file=/dev/null
906 exec_prefix=NONE
907 no_create=
908 no_recursion=
909 prefix=NONE
910 program_prefix=NONE
911 program_suffix=NONE
912 program_transform_name=s,x,x,
913 silent=
914 site=
915 srcdir=
916 verbose=
917 x_includes=NONE
918 x_libraries=NONE
919
920 # Installation directory options.
921 # These are left unexpanded so users can "make install exec_prefix=/foo"
922 # and all the variables that are supposed to be based on exec_prefix
923 # by default will actually change.
924 # Use braces instead of parens because sh, perl, etc. also accept them.
925 # (The list follows the same order as the GNU Coding Standards.)
926 bindir='${exec_prefix}/bin'
927 sbindir='${exec_prefix}/sbin'
928 libexecdir='${exec_prefix}/libexec'
929 datarootdir='${prefix}/share'
930 datadir='${datarootdir}'
931 sysconfdir='${prefix}/etc'
932 sharedstatedir='${prefix}/com'
933 localstatedir='${prefix}/var'
934 runstatedir='${localstatedir}/run'
935 includedir='${prefix}/include'
936 oldincludedir='/usr/include'
937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir='${datarootdir}/info'
939 htmldir='${docdir}'
940 dvidir='${docdir}'
941 pdfdir='${docdir}'
942 psdir='${docdir}'
943 libdir='${exec_prefix}/lib'
944 localedir='${datarootdir}/locale'
945 mandir='${datarootdir}/man'
946
947 ac_prev=
948 ac_dashdash=
949 for ac_option
950 do
951 # If the previous option needs an argument, assign it.
952 if test -n "$ac_prev"; then
953 eval $ac_prev=\$ac_option
954 ac_prev=
955 continue
956 fi
957
958 case $ac_option in
959 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960 *=) ac_optarg= ;;
961 *) ac_optarg=yes ;;
962 esac
963
964 # Accept the important Cygnus configure options, so we can diagnose typos.
965
966 case $ac_dashdash$ac_option in
967 --)
968 ac_dashdash=yes ;;
969
970 -bindir | --bindir | --bindi | --bind | --bin | --bi)
971 ac_prev=bindir ;;
972 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
973 bindir=$ac_optarg ;;
974
975 -build | --build | --buil | --bui | --bu)
976 ac_prev=build_alias ;;
977 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
978 build_alias=$ac_optarg ;;
979
980 -cache-file | --cache-file | --cache-fil | --cache-fi \
981 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
982 ac_prev=cache_file ;;
983 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
984 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
985 cache_file=$ac_optarg ;;
986
987 --config-cache | -C)
988 cache_file=config.cache ;;
989
990 -datadir | --datadir | --datadi | --datad)
991 ac_prev=datadir ;;
992 -datadir=* | --datadir=* | --datadi=* | --datad=*)
993 datadir=$ac_optarg ;;
994
995 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
996 | --dataroo | --dataro | --datar)
997 ac_prev=datarootdir ;;
998 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
999 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1000 datarootdir=$ac_optarg ;;
1001
1002 -disable-* | --disable-*)
1003 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 as_fn_error $? "invalid feature name: $ac_useropt"
1007 ac_useropt_orig=$ac_useropt
1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1010 *"
1011 "enable_$ac_useropt"
1012 "*) ;;
1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014 ac_unrecognized_sep=', ';;
1015 esac
1016 eval enable_$ac_useropt=no ;;
1017
1018 -docdir | --docdir | --docdi | --doc | --do)
1019 ac_prev=docdir ;;
1020 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1021 docdir=$ac_optarg ;;
1022
1023 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1024 ac_prev=dvidir ;;
1025 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1026 dvidir=$ac_optarg ;;
1027
1028 -enable-* | --enable-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid feature name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1036 *"
1037 "enable_$ac_useropt"
1038 "*) ;;
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1041 esac
1042 eval enable_$ac_useropt=\$ac_optarg ;;
1043
1044 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1045 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1046 | --exec | --exe | --ex)
1047 ac_prev=exec_prefix ;;
1048 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1049 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1050 | --exec=* | --exe=* | --ex=*)
1051 exec_prefix=$ac_optarg ;;
1052
1053 -gas | --gas | --ga | --g)
1054 # Obsolete; use --with-gas.
1055 with_gas=yes ;;
1056
1057 -help | --help | --hel | --he | -h)
1058 ac_init_help=long ;;
1059 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1060 ac_init_help=recursive ;;
1061 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1062 ac_init_help=short ;;
1063
1064 -host | --host | --hos | --ho)
1065 ac_prev=host_alias ;;
1066 -host=* | --host=* | --hos=* | --ho=*)
1067 host_alias=$ac_optarg ;;
1068
1069 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1070 ac_prev=htmldir ;;
1071 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1072 | --ht=*)
1073 htmldir=$ac_optarg ;;
1074
1075 -includedir | --includedir | --includedi | --included | --include \
1076 | --includ | --inclu | --incl | --inc)
1077 ac_prev=includedir ;;
1078 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1079 | --includ=* | --inclu=* | --incl=* | --inc=*)
1080 includedir=$ac_optarg ;;
1081
1082 -infodir | --infodir | --infodi | --infod | --info | --inf)
1083 ac_prev=infodir ;;
1084 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1085 infodir=$ac_optarg ;;
1086
1087 -libdir | --libdir | --libdi | --libd)
1088 ac_prev=libdir ;;
1089 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1090 libdir=$ac_optarg ;;
1091
1092 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1093 | --libexe | --libex | --libe)
1094 ac_prev=libexecdir ;;
1095 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1096 | --libexe=* | --libex=* | --libe=*)
1097 libexecdir=$ac_optarg ;;
1098
1099 -localedir | --localedir | --localedi | --localed | --locale)
1100 ac_prev=localedir ;;
1101 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1102 localedir=$ac_optarg ;;
1103
1104 -localstatedir | --localstatedir | --localstatedi | --localstated \
1105 | --localstate | --localstat | --localsta | --localst | --locals)
1106 ac_prev=localstatedir ;;
1107 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1108 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1109 localstatedir=$ac_optarg ;;
1110
1111 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1112 ac_prev=mandir ;;
1113 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1114 mandir=$ac_optarg ;;
1115
1116 -nfp | --nfp | --nf)
1117 # Obsolete; use --without-fp.
1118 with_fp=no ;;
1119
1120 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1121 | --no-cr | --no-c | -n)
1122 no_create=yes ;;
1123
1124 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1125 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1126 no_recursion=yes ;;
1127
1128 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1129 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1130 | --oldin | --oldi | --old | --ol | --o)
1131 ac_prev=oldincludedir ;;
1132 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1133 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1134 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1135 oldincludedir=$ac_optarg ;;
1136
1137 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1138 ac_prev=prefix ;;
1139 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1140 prefix=$ac_optarg ;;
1141
1142 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1143 | --program-pre | --program-pr | --program-p)
1144 ac_prev=program_prefix ;;
1145 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1146 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1147 program_prefix=$ac_optarg ;;
1148
1149 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1150 | --program-suf | --program-su | --program-s)
1151 ac_prev=program_suffix ;;
1152 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1153 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1154 program_suffix=$ac_optarg ;;
1155
1156 -program-transform-name | --program-transform-name \
1157 | --program-transform-nam | --program-transform-na \
1158 | --program-transform-n | --program-transform- \
1159 | --program-transform | --program-transfor \
1160 | --program-transfo | --program-transf \
1161 | --program-trans | --program-tran \
1162 | --progr-tra | --program-tr | --program-t)
1163 ac_prev=program_transform_name ;;
1164 -program-transform-name=* | --program-transform-name=* \
1165 | --program-transform-nam=* | --program-transform-na=* \
1166 | --program-transform-n=* | --program-transform-=* \
1167 | --program-transform=* | --program-transfor=* \
1168 | --program-transfo=* | --program-transf=* \
1169 | --program-trans=* | --program-tran=* \
1170 | --progr-tra=* | --program-tr=* | --program-t=*)
1171 program_transform_name=$ac_optarg ;;
1172
1173 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1174 ac_prev=pdfdir ;;
1175 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1176 pdfdir=$ac_optarg ;;
1177
1178 -psdir | --psdir | --psdi | --psd | --ps)
1179 ac_prev=psdir ;;
1180 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1181 psdir=$ac_optarg ;;
1182
1183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1184 | -silent | --silent | --silen | --sile | --sil)
1185 silent=yes ;;
1186
1187 -runstatedir | --runstatedir | --runstatedi | --runstated \
1188 | --runstate | --runstat | --runsta | --runst | --runs \
1189 | --run | --ru | --r)
1190 ac_prev=runstatedir ;;
1191 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1192 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1193 | --run=* | --ru=* | --r=*)
1194 runstatedir=$ac_optarg ;;
1195
1196 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1197 ac_prev=sbindir ;;
1198 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1199 | --sbi=* | --sb=*)
1200 sbindir=$ac_optarg ;;
1201
1202 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1203 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1204 | --sharedst | --shareds | --shared | --share | --shar \
1205 | --sha | --sh)
1206 ac_prev=sharedstatedir ;;
1207 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1208 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1209 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1210 | --sha=* | --sh=*)
1211 sharedstatedir=$ac_optarg ;;
1212
1213 -site | --site | --sit)
1214 ac_prev=site ;;
1215 -site=* | --site=* | --sit=*)
1216 site=$ac_optarg ;;
1217
1218 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1219 ac_prev=srcdir ;;
1220 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1221 srcdir=$ac_optarg ;;
1222
1223 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1224 | --syscon | --sysco | --sysc | --sys | --sy)
1225 ac_prev=sysconfdir ;;
1226 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1227 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1228 sysconfdir=$ac_optarg ;;
1229
1230 -target | --target | --targe | --targ | --tar | --ta | --t)
1231 ac_prev=target_alias ;;
1232 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1233 target_alias=$ac_optarg ;;
1234
1235 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1236 verbose=yes ;;
1237
1238 -version | --version | --versio | --versi | --vers | -V)
1239 ac_init_version=: ;;
1240
1241 -with-* | --with-*)
1242 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245 as_fn_error $? "invalid package name: $ac_useropt"
1246 ac_useropt_orig=$ac_useropt
1247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1249 *"
1250 "with_$ac_useropt"
1251 "*) ;;
1252 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1253 ac_unrecognized_sep=', ';;
1254 esac
1255 eval with_$ac_useropt=\$ac_optarg ;;
1256
1257 -without-* | --without-*)
1258 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1259 # Reject names that are not valid shell variable names.
1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1261 as_fn_error $? "invalid package name: $ac_useropt"
1262 ac_useropt_orig=$ac_useropt
1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1264 case $ac_user_opts in
1265 *"
1266 "with_$ac_useropt"
1267 "*) ;;
1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1269 ac_unrecognized_sep=', ';;
1270 esac
1271 eval with_$ac_useropt=no ;;
1272
1273 --x)
1274 # Obsolete; use --with-x.
1275 with_x=yes ;;
1276
1277 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1278 | --x-incl | --x-inc | --x-in | --x-i)
1279 ac_prev=x_includes ;;
1280 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1281 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1282 x_includes=$ac_optarg ;;
1283
1284 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1285 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1286 ac_prev=x_libraries ;;
1287 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1288 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1289 x_libraries=$ac_optarg ;;
1290
1291 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1292 Try \`$0 --help' for more information"
1293 ;;
1294
1295 *=*)
1296 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1297 # Reject names that are not valid shell variable names.
1298 case $ac_envvar in #(
1299 '' | [0-9]* | *[!_$as_cr_alnum]* )
1300 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1301 esac
1302 eval $ac_envvar=\$ac_optarg
1303 export $ac_envvar ;;
1304
1305 *)
1306 # FIXME: should be removed in autoconf 3.0.
1307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1308 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1310 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1311 ;;
1312
1313 esac
1314 done
1315
1316 if test -n "$ac_prev"; then
1317 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1318 as_fn_error $? "missing argument to $ac_option"
1319 fi
1320
1321 if test -n "$ac_unrecognized_opts"; then
1322 case $enable_option_checking in
1323 no) ;;
1324 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1326 esac
1327 fi
1328
1329 # Check all directory arguments for consistency.
1330 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1331 datadir sysconfdir sharedstatedir localstatedir includedir \
1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1333 libdir localedir mandir runstatedir
1334 do
1335 eval ac_val=\$$ac_var
1336 # Remove trailing slashes.
1337 case $ac_val in
1338 */ )
1339 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1340 eval $ac_var=\$ac_val;;
1341 esac
1342 # Be sure to have absolute directory names.
1343 case $ac_val in
1344 [\\/$]* | ?:[\\/]* ) continue;;
1345 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1346 esac
1347 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1348 done
1349
1350 # There might be people who depend on the old broken behavior: `$host'
1351 # used to hold the argument of --host etc.
1352 # FIXME: To remove some day.
1353 build=$build_alias
1354 host=$host_alias
1355 target=$target_alias
1356
1357 # FIXME: To remove some day.
1358 if test "x$host_alias" != x; then
1359 if test "x$build_alias" = x; then
1360 cross_compiling=maybe
1361 elif test "x$build_alias" != "x$host_alias"; then
1362 cross_compiling=yes
1363 fi
1364 fi
1365
1366 ac_tool_prefix=
1367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1368
1369 test "$silent" = yes && exec 6>/dev/null
1370
1371
1372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373 ac_ls_di=`ls -di .` &&
1374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375 as_fn_error $? "working directory cannot be determined"
1376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1377 as_fn_error $? "pwd does not report name of working directory"
1378
1379
1380 # Find the source files, if location was not specified.
1381 if test -z "$srcdir"; then
1382 ac_srcdir_defaulted=yes
1383 # Try the directory containing this script, then the parent directory.
1384 ac_confdir=`$as_dirname -- "$as_myself" ||
1385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1386 X"$as_myself" : 'X\(//\)[^/]' \| \
1387 X"$as_myself" : 'X\(//\)$' \| \
1388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1389 $as_echo X"$as_myself" |
1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 s//\1/
1392 q
1393 }
1394 /^X\(\/\/\)[^/].*/{
1395 s//\1/
1396 q
1397 }
1398 /^X\(\/\/\)$/{
1399 s//\1/
1400 q
1401 }
1402 /^X\(\/\).*/{
1403 s//\1/
1404 q
1405 }
1406 s/.*/./; q'`
1407 srcdir=$ac_confdir
1408 if test ! -r "$srcdir/$ac_unique_file"; then
1409 srcdir=..
1410 fi
1411 else
1412 ac_srcdir_defaulted=no
1413 fi
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1415 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1416 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1417 fi
1418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1419 ac_abs_confdir=`(
1420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1421 pwd)`
1422 # When building in place, set srcdir=.
1423 if test "$ac_abs_confdir" = "$ac_pwd"; then
1424 srcdir=.
1425 fi
1426 # Remove unnecessary trailing slashes from srcdir.
1427 # Double slashes in file names in object file debugging info
1428 # mess up M-x gdb in Emacs.
1429 case $srcdir in
1430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1431 esac
1432 for ac_var in $ac_precious_vars; do
1433 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_${ac_var}_value=\$${ac_var}
1435 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1437 done
1438
1439 #
1440 # Report the --help message.
1441 #
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1445 cat <<_ACEOF
1446 \`configure' configures compiz-plugins-main 0.8.18 to adapt to many kinds of systems.
1447
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1449
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1452
1453 Defaults for the options are specified in brackets.
1454
1455 Configuration:
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking ...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1465
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1470 [PREFIX]
1471
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1476
1477 For better control, use the options below.
1478
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1487 --libdir=DIR object code libraries [EPREFIX/lib]
1488 --includedir=DIR C header files [PREFIX/include]
1489 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1492 --infodir=DIR info documentation [DATAROOTDIR/info]
1493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1494 --mandir=DIR man documentation [DATAROOTDIR/man]
1495 --docdir=DIR documentation root
1496 [DATAROOTDIR/doc/compiz-plugins-main]
1497 --htmldir=DIR html documentation [DOCDIR]
1498 --dvidir=DIR dvi documentation [DOCDIR]
1499 --pdfdir=DIR pdf documentation [DOCDIR]
1500 --psdir=DIR ps documentation [DOCDIR]
1501 _ACEOF
1502
1503 cat <<\_ACEOF
1504
1505 Program names:
1506 --program-prefix=PREFIX prepend PREFIX to installed program names
1507 --program-suffix=SUFFIX append SUFFIX to installed program names
1508 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1509
1510 System types:
1511 --build=BUILD configure for building on BUILD [guessed]
1512 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1513 _ACEOF
1514 fi
1515
1516 if test -n "$ac_init_help"; then
1517 case $ac_init_help in
1518 short | recursive ) echo "Configuration of compiz-plugins-main 0.8.18:";;
1519 esac
1520 cat <<\_ACEOF
1521
1522 Optional Features:
1523 --disable-option-checking ignore unrecognized --enable/--with options
1524 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1525 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1526 --enable-silent-rules less verbose build output (undo: "make V=1")
1527 --disable-silent-rules verbose build output (undo: "make V=0")
1528 --enable-maintainer-mode
1529 enable make rules and dependencies not useful (and
1530 sometimes confusing) to the casual installer
1531 --enable-dependency-tracking
1532 do not reject slow dependency extractors
1533 --disable-dependency-tracking
1534 speeds up one-time build
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-nls do not use Native Language Support
1541 --disable-rpath do not hardcode runtime library paths
1542 --disable-jpeg Disable jpeg plugin
1543
1544 Optional Packages:
1545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1547 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1548 both]
1549 --with-aix-soname=aix|svr4|both
1550 shared library versioning (aka "SONAME") variant to
1551 provide on AIX, [default=aix].
1552 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1553 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1554 compiler's sysroot if not specified).
1555 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1556 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1557 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1558 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1559 --without-libintl-prefix don't search for libintl in includedir and libdir
1560 --with-gl-cflags=CFLAGS
1561 --with-gl-libs=LIBS
1562
1563 Some influential environment variables:
1564 CC C compiler command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1567 nonstandard directory <lib dir>
1568 LIBS libraries to pass to the linker, e.g. -l<library>
1569 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1570 you have headers in a nonstandard directory <include dir>
1571 CPP C preprocessor
1572 CXX C++ compiler command
1573 CXXFLAGS C++ compiler flags
1574 LT_SYS_LIBRARY_PATH
1575 User-defined run-time library search path.
1576 CXXCPP C++ preprocessor
1577 PKG_CONFIG path to pkg-config utility
1578 PKG_CONFIG_PATH
1579 directories to add to pkg-config's search path
1580 PKG_CONFIG_LIBDIR
1581 path overriding pkg-config's built-in search path
1582 COMPIZ_CFLAGS
1583 C compiler flags for COMPIZ, overriding pkg-config
1584 COMPIZ_LIBS linker flags for COMPIZ, overriding pkg-config
1585 BCOP_CFLAGS C compiler flags for BCOP, overriding pkg-config
1586 BCOP_LIBS linker flags for BCOP, overriding pkg-config
1587 ATSPI2_CFLAGS
1588 C compiler flags for ATSPI2, overriding pkg-config
1589 ATSPI2_LIBS linker flags for ATSPI2, overriding pkg-config
1590 SCALE_CFLAGS
1591 C compiler flags for SCALE, overriding pkg-config
1592 SCALE_LIBS linker flags for SCALE, overriding pkg-config
1593 PANGO_CFLAGS
1594 C compiler flags for PANGO, overriding pkg-config
1595 PANGO_LIBS linker flags for PANGO, overriding pkg-config
1596 LIBNOTIFY_CFLAGS
1597 C compiler flags for LIBNOTIFY, overriding pkg-config
1598 LIBNOTIFY_LIBS
1599 linker flags for LIBNOTIFY, overriding pkg-config
1600
1601 Use these variables to override the choices made by `configure' or to help
1602 it to find libraries and programs with nonstandard names/locations.
1603
1604 Report bugs to <[email protected]>.
1605 _ACEOF
1606 ac_status=$?
1607 fi
1608
1609 if test "$ac_init_help" = "recursive"; then
1610 # If there are subdirs, report their specific --help.
1611 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1612 test -d "$ac_dir" ||
1613 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 continue
1615 ac_builddir=.
1616
1617 case "$ac_dir" in
1618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *)
1620 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1621 # A ".." for each directory in $ac_dir_suffix.
1622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1623 case $ac_top_builddir_sub in
1624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1626 esac ;;
1627 esac
1628 ac_abs_top_builddir=$ac_pwd
1629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1630 # for backward compatibility:
1631 ac_top_builddir=$ac_top_build_prefix
1632
1633 case $srcdir in
1634 .) # We are building in place.
1635 ac_srcdir=.
1636 ac_top_srcdir=$ac_top_builddir_sub
1637 ac_abs_top_srcdir=$ac_pwd ;;
1638 [\\/]* | ?:[\\/]* ) # Absolute name.
1639 ac_srcdir=$srcdir$ac_dir_suffix;
1640 ac_top_srcdir=$srcdir
1641 ac_abs_top_srcdir=$srcdir ;;
1642 *) # Relative name.
1643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1644 ac_top_srcdir=$ac_top_build_prefix$srcdir
1645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1646 esac
1647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1648
1649 cd "$ac_dir" || { ac_status=$?; continue; }
1650 # Check for guested configure.
1651 if test -f "$ac_srcdir/configure.gnu"; then
1652 echo &&
1653 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1654 elif test -f "$ac_srcdir/configure"; then
1655 echo &&
1656 $SHELL "$ac_srcdir/configure" --help=recursive
1657 else
1658 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1659 fi || ac_status=$?
1660 cd "$ac_pwd" || { ac_status=$?; break; }
1661 done
1662 fi
1663
1664 test -n "$ac_init_help" && exit $ac_status
1665 if $ac_init_version; then
1666 cat <<\_ACEOF
1667 compiz-plugins-main configure 0.8.18
1668 generated by GNU Autoconf 2.69
1669
1670 Copyright (C) 2012 Free Software Foundation, Inc.
1671 This configure script is free software; the Free Software Foundation
1672 gives unlimited permission to copy, distribute and modify it.
1673 _ACEOF
1674 exit
1675 fi
1676
1677 ## ------------------------ ##
1678 ## Autoconf initialization. ##
1679 ## ------------------------ ##
1680
1681 # ac_fn_c_try_compile LINENO
1682 # --------------------------
1683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1684 ac_fn_c_try_compile ()
1685 {
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 rm -f conftest.$ac_objext
1688 if { { ac_try="$ac_compile"
1689 case "(($ac_try" in
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_compile") 2>conftest.err
1696 ac_status=$?
1697 if test -s conftest.err; then
1698 grep -v '^ *+' conftest.err >conftest.er1
1699 cat conftest.er1 >&5
1700 mv -f conftest.er1 conftest.err
1701 fi
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && {
1704 test -z "$ac_c_werror_flag" ||
1705 test ! -s conftest.err
1706 } && test -s conftest.$ac_objext; then :
1707 ac_retval=0
1708 else
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1711
1712 ac_retval=1
1713 fi
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1716
1717 } # ac_fn_c_try_compile
1718
1719 # ac_fn_c_try_link LINENO
1720 # -----------------------
1721 # Try to link conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_link ()
1723 {
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 rm -f conftest.$ac_objext conftest$ac_exeext
1726 if { { ac_try="$ac_link"
1727 case "(($ac_try" in
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1730 esac
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_link") 2>conftest.err
1734 ac_status=$?
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1739 fi
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest$ac_exeext && {
1745 test "$cross_compiling" = yes ||
1746 test -x conftest$ac_exeext
1747 }; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753 ac_retval=1
1754 fi
1755 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1756 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1757 # interfere with the next link command; also delete a directory that is
1758 # left behind by Apple's compiler. We do this before executing the actions.
1759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761 as_fn_set_status $ac_retval
1762
1763 } # ac_fn_c_try_link
1764
1765 # ac_fn_c_try_cpp LINENO
1766 # ----------------------
1767 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1768 ac_fn_c_try_cpp ()
1769 {
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if { { ac_try="$ac_cpp conftest.$ac_ext"
1772 case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1779 ac_status=$?
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1784 fi
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } > conftest.i && {
1787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 }; then :
1790 ac_retval=0
1791 else
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1794
1795 ac_retval=1
1796 fi
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 as_fn_set_status $ac_retval
1799
1800 } # ac_fn_c_try_cpp
1801
1802 # ac_fn_cxx_try_compile LINENO
1803 # ----------------------------
1804 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1805 ac_fn_cxx_try_compile ()
1806 {
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 rm -f conftest.$ac_objext
1809 if { { ac_try="$ac_compile"
1810 case "(($ac_try" in
1811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1813 esac
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_compile") 2>conftest.err
1817 ac_status=$?
1818 if test -s conftest.err; then
1819 grep -v '^ *+' conftest.err >conftest.er1
1820 cat conftest.er1 >&5
1821 mv -f conftest.er1 conftest.err
1822 fi
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } && {
1825 test -z "$ac_cxx_werror_flag" ||
1826 test ! -s conftest.err
1827 } && test -s conftest.$ac_objext; then :
1828 ac_retval=0
1829 else
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1832
1833 ac_retval=1
1834 fi
1835 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 as_fn_set_status $ac_retval
1837
1838 } # ac_fn_cxx_try_compile
1839
1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1841 # -------------------------------------------------------
1842 # Tests whether HEADER exists and can be compiled using the include files in
1843 # INCLUDES, setting the cache variable VAR accordingly.
1844 ac_fn_c_check_header_compile ()
1845 {
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if eval \${$3+:} false; then :
1850 $as_echo_n "(cached) " >&6
1851 else
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1854 $4
1855 #include <$2>
1856 _ACEOF
1857 if ac_fn_c_try_compile "$LINENO"; then :
1858 eval "$3=yes"
1859 else
1860 eval "$3=no"
1861 fi
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863 fi
1864 eval ac_res=\$$3
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
1869 } # ac_fn_c_check_header_compile
1870
1871 # ac_fn_c_try_run LINENO
1872 # ----------------------
1873 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1874 # that executables *can* be run.
1875 ac_fn_c_try_run ()
1876 {
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 if { { ac_try="$ac_link"
1879 case "(($ac_try" in
1880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1882 esac
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_link") 2>&5
1886 ac_status=$?
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1889 { { case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_try") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; }; }; then :
1899 ac_retval=0
1900 else
1901 $as_echo "$as_me: program exited with status $ac_status" >&5
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1904
1905 ac_retval=$ac_status
1906 fi
1907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 as_fn_set_status $ac_retval
1910
1911 } # ac_fn_c_try_run
1912
1913 # ac_fn_c_check_func LINENO FUNC VAR
1914 # ----------------------------------
1915 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1916 ac_fn_c_check_func ()
1917 {
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1920 $as_echo_n "checking for $2... " >&6; }
1921 if eval \${$3+:} false; then :
1922 $as_echo_n "(cached) " >&6
1923 else
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1926 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1928 #define $2 innocuous_$2
1929
1930 /* System header to define __stub macros and hopefully few prototypes,
1931 which can conflict with char $2 (); below.
1932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1933 <limits.h> exists even on freestanding compilers. */
1934
1935 #ifdef __STDC__
1936 # include <limits.h>
1937 #else
1938 # include <assert.h>
1939 #endif
1940
1941 #undef $2
1942
1943 /* Override any GCC internal prototype to avoid an error.
1944 Use char because int might match the return type of a GCC
1945 builtin and then its argument prototype would still apply. */
1946 #ifdef __cplusplus
1947 extern "C"
1948 #endif
1949 char $2 ();
1950 /* The GNU C library defines this for functions which it implements
1951 to always fail with ENOSYS. Some functions are actually named
1952 something starting with __ and the normal name is an alias. */
1953 #if defined __stub_$2 || defined __stub___$2
1954 choke me
1955 #endif
1956
1957 int
1958 main ()
1959 {
1960 return $2 ();
1961 ;
1962 return 0;
1963 }
1964 _ACEOF
1965 if ac_fn_c_try_link "$LINENO"; then :
1966 eval "$3=yes"
1967 else
1968 eval "$3=no"
1969 fi
1970 rm -f core conftest.err conftest.$ac_objext \
1971 conftest$ac_exeext conftest.$ac_ext
1972 fi
1973 eval ac_res=\$$3
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977
1978 } # ac_fn_c_check_func
1979
1980 # ac_fn_cxx_try_cpp LINENO
1981 # ------------------------
1982 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1983 ac_fn_cxx_try_cpp ()
1984 {
1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 if { { ac_try="$ac_cpp conftest.$ac_ext"
1987 case "(($ac_try" in
1988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1989 *) ac_try_echo=$ac_try;;
1990 esac
1991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1994 ac_status=$?
1995 if test -s conftest.err; then
1996 grep -v '^ *+' conftest.err >conftest.er1
1997 cat conftest.er1 >&5
1998 mv -f conftest.er1 conftest.err
1999 fi
2000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001 test $ac_status = 0; } > conftest.i && {
2002 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2003 test ! -s conftest.err
2004 }; then :
2005 ac_retval=0
2006 else
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2009
2010 ac_retval=1
2011 fi
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 as_fn_set_status $ac_retval
2014
2015 } # ac_fn_cxx_try_cpp
2016
2017 # ac_fn_cxx_try_link LINENO
2018 # -------------------------
2019 # Try to link conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_link ()
2021 {
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 rm -f conftest.$ac_objext conftest$ac_exeext
2024 if { { ac_try="$ac_link"
2025 case "(($ac_try" in
2026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2027 *) ac_try_echo=$ac_try;;
2028 esac
2029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2030 $as_echo "$ac_try_echo"; } >&5
2031 (eval "$ac_link") 2>conftest.err
2032 ac_status=$?
2033 if test -s conftest.err; then
2034 grep -v '^ *+' conftest.err >conftest.er1
2035 cat conftest.er1 >&5
2036 mv -f conftest.er1 conftest.err
2037 fi
2038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2039 test $ac_status = 0; } && {
2040 test -z "$ac_cxx_werror_flag" ||
2041 test ! -s conftest.err
2042 } && test -s conftest$ac_exeext && {
2043 test "$cross_compiling" = yes ||
2044 test -x conftest$ac_exeext
2045 }; then :
2046 ac_retval=0
2047 else
2048 $as_echo "$as_me: failed program was:" >&5
2049 sed 's/^/| /' conftest.$ac_ext >&5
2050
2051 ac_retval=1
2052 fi
2053 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2054 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2055 # interfere with the next link command; also delete a directory that is
2056 # left behind by Apple's compiler. We do this before executing the actions.
2057 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059 as_fn_set_status $ac_retval
2060
2061 } # ac_fn_cxx_try_link
2062
2063 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2064 # -------------------------------------------------------
2065 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2066 # the include files in INCLUDES and setting the cache variable VAR
2067 # accordingly.
2068 ac_fn_c_check_header_mongrel ()
2069 {
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if eval \${$3+:} false; then :
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2073 $as_echo_n "checking for $2... " >&6; }
2074 if eval \${$3+:} false; then :
2075 $as_echo_n "(cached) " >&6
2076 fi
2077 eval ac_res=\$$3
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 else
2081 # Is the header compilable?
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2083 $as_echo_n "checking $2 usability... " >&6; }
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2086 $4
2087 #include <$2>
2088 _ACEOF
2089 if ac_fn_c_try_compile "$LINENO"; then :
2090 ac_header_compiler=yes
2091 else
2092 ac_header_compiler=no
2093 fi
2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2096 $as_echo "$ac_header_compiler" >&6; }
2097
2098 # Is the header present?
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2100 $as_echo_n "checking $2 presence... " >&6; }
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2103 #include <$2>
2104 _ACEOF
2105 if ac_fn_c_try_cpp "$LINENO"; then :
2106 ac_header_preproc=yes
2107 else
2108 ac_header_preproc=no
2109 fi
2110 rm -f conftest.err conftest.i conftest.$ac_ext
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2112 $as_echo "$ac_header_preproc" >&6; }
2113
2114 # So? What about this header?
2115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2116 yes:no: )
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2118 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2120 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2121 ;;
2122 no:yes:* )
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2124 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2126 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2128 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2130 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2132 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2133 ( $as_echo "## ----------------------------------- ##
2134 ## Report this to [email protected] ##
2135 ## ----------------------------------- ##"
2136 ) | sed "s/^/$as_me: WARNING: /" >&2
2137 ;;
2138 esac
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2140 $as_echo_n "checking for $2... " >&6; }
2141 if eval \${$3+:} false; then :
2142 $as_echo_n "(cached) " >&6
2143 else
2144 eval "$3=\$ac_header_compiler"
2145 fi
2146 eval ac_res=\$$3
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2148 $as_echo "$ac_res" >&6; }
2149 fi
2150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2151
2152 } # ac_fn_c_check_header_mongrel
2153
2154 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2155 # ----------------------------------------------------
2156 # Tries to find if the field MEMBER exists in type AGGR, after including
2157 # INCLUDES, setting cache variable VAR accordingly.
2158 ac_fn_c_check_member ()
2159 {
2160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2162 $as_echo_n "checking for $2.$3... " >&6; }
2163 if eval \${$4+:} false; then :
2164 $as_echo_n "(cached) " >&6
2165 else
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2168 $5
2169 int
2170 main ()
2171 {
2172 static $2 ac_aggr;
2173 if (ac_aggr.$3)
2174 return 0;
2175 ;
2176 return 0;
2177 }
2178 _ACEOF
2179 if ac_fn_c_try_compile "$LINENO"; then :
2180 eval "$4=yes"
2181 else
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2184 $5
2185 int
2186 main ()
2187 {
2188 static $2 ac_aggr;
2189 if (sizeof ac_aggr.$3)
2190 return 0;
2191 ;
2192 return 0;
2193 }
2194 _ACEOF
2195 if ac_fn_c_try_compile "$LINENO"; then :
2196 eval "$4=yes"
2197 else
2198 eval "$4=no"
2199 fi
2200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2201 fi
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203 fi
2204 eval ac_res=\$$4
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2206 $as_echo "$ac_res" >&6; }
2207 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2208
2209 } # ac_fn_c_check_member
2210 cat >config.log <<_ACEOF
2211 This file contains any messages produced by compilers while
2212 running configure, to aid debugging if configure makes a mistake.
2213
2214 It was created by compiz-plugins-main $as_me 0.8.18, which was
2215 generated by GNU Autoconf 2.69. Invocation command line was
2216
2217 $ $0 $@
2218
2219 _ACEOF
2220 exec 5>>config.log
2221 {
2222 cat <<_ASUNAME
2223 ## --------- ##
2224 ## Platform. ##
2225 ## --------- ##
2226
2227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2232
2233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2235
2236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2239 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2243
2244 _ASUNAME
2245
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 for as_dir in $PATH
2248 do
2249 IFS=$as_save_IFS
2250 test -z "$as_dir" && as_dir=.
2251 $as_echo "PATH: $as_dir"
2252 done
2253 IFS=$as_save_IFS
2254
2255 } >&5
2256
2257 cat >&5 <<_ACEOF
2258
2259
2260 ## ----------- ##
2261 ## Core tests. ##
2262 ## ----------- ##
2263
2264 _ACEOF
2265
2266
2267 # Keep a trace of the command line.
2268 # Strip out --no-create and --no-recursion so they do not pile up.
2269 # Strip out --silent because we don't want to record it for future runs.
2270 # Also quote any args containing shell meta-characters.
2271 # Make two passes to allow for proper duplicate-argument suppression.
2272 ac_configure_args=
2273 ac_configure_args0=
2274 ac_configure_args1=
2275 ac_must_keep_next=false
2276 for ac_pass in 1 2
2277 do
2278 for ac_arg
2279 do
2280 case $ac_arg in
2281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2283 | -silent | --silent | --silen | --sile | --sil)
2284 continue ;;
2285 *\'*)
2286 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2287 esac
2288 case $ac_pass in
2289 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2290 2)
2291 as_fn_append ac_configure_args1 " '$ac_arg'"
2292 if test $ac_must_keep_next = true; then
2293 ac_must_keep_next=false # Got value, back to normal.
2294 else
2295 case $ac_arg in
2296 *=* | --config-cache | -C | -disable-* | --disable-* \
2297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2299 | -with-* | --with-* | -without-* | --without-* | --x)
2300 case "$ac_configure_args0 " in
2301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2302 esac
2303 ;;
2304 -* ) ac_must_keep_next=true ;;
2305 esac
2306 fi
2307 as_fn_append ac_configure_args " '$ac_arg'"
2308 ;;
2309 esac
2310 done
2311 done
2312 { ac_configure_args0=; unset ac_configure_args0;}
2313 { ac_configure_args1=; unset ac_configure_args1;}
2314
2315 # When interrupted or exit'd, cleanup temporary files, and complete
2316 # config.log. We remove comments because anyway the quotes in there
2317 # would cause problems or look ugly.
2318 # WARNING: Use '\'' to represent an apostrophe within the trap.
2319 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2320 trap 'exit_status=$?
2321 # Save into config.log some information that might help in debugging.
2322 {
2323 echo
2324
2325 $as_echo "## ---------------- ##
2326 ## Cache variables. ##
2327 ## ---------------- ##"
2328 echo
2329 # The following way of writing the cache mishandles newlines in values,
2330 (
2331 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2332 eval ac_val=\$$ac_var
2333 case $ac_val in #(
2334 *${as_nl}*)
2335 case $ac_var in #(
2336 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2337 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2338 esac
2339 case $ac_var in #(
2340 _ | IFS | as_nl) ;; #(
2341 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2342 *) { eval $ac_var=; unset $ac_var;} ;;
2343 esac ;;
2344 esac
2345 done
2346 (set) 2>&1 |
2347 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2348 *${as_nl}ac_space=\ *)
2349 sed -n \
2350 "s/'\''/'\''\\\\'\'''\''/g;
2351 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2352 ;; #(
2353 *)
2354 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2355 ;;
2356 esac |
2357 sort
2358 )
2359 echo
2360
2361 $as_echo "## ----------------- ##
2362 ## Output variables. ##
2363 ## ----------------- ##"
2364 echo
2365 for ac_var in $ac_subst_vars
2366 do
2367 eval ac_val=\$$ac_var
2368 case $ac_val in
2369 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2370 esac
2371 $as_echo "$ac_var='\''$ac_val'\''"
2372 done | sort
2373 echo
2374
2375 if test -n "$ac_subst_files"; then
2376 $as_echo "## ------------------- ##
2377 ## File substitutions. ##
2378 ## ------------------- ##"
2379 echo
2380 for ac_var in $ac_subst_files
2381 do
2382 eval ac_val=\$$ac_var
2383 case $ac_val in
2384 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2385 esac
2386 $as_echo "$ac_var='\''$ac_val'\''"
2387 done | sort
2388 echo
2389 fi
2390
2391 if test -s confdefs.h; then
2392 $as_echo "## ----------- ##
2393 ## confdefs.h. ##
2394 ## ----------- ##"
2395 echo
2396 cat confdefs.h
2397 echo
2398 fi
2399 test "$ac_signal" != 0 &&
2400 $as_echo "$as_me: caught signal $ac_signal"
2401 $as_echo "$as_me: exit $exit_status"
2402 } >&5
2403 rm -f core *.core core.conftest.* &&
2404 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2405 exit $exit_status
2406 ' 0
2407 for ac_signal in 1 2 13 15; do
2408 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2409 done
2410 ac_signal=0
2411
2412 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2413 rm -f -r conftest* confdefs.h
2414
2415 $as_echo "/* confdefs.h */" > confdefs.h
2416
2417 # Predefined preprocessor variables.
2418
2419 cat >>confdefs.h <<_ACEOF
2420 #define PACKAGE_NAME "$PACKAGE_NAME"
2421 _ACEOF
2422
2423 cat >>confdefs.h <<_ACEOF
2424 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2425 _ACEOF
2426
2427 cat >>confdefs.h <<_ACEOF
2428 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2429 _ACEOF
2430
2431 cat >>confdefs.h <<_ACEOF
2432 #define PACKAGE_STRING "$PACKAGE_STRING"
2433 _ACEOF
2434
2435 cat >>confdefs.h <<_ACEOF
2436 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2437 _ACEOF
2438
2439 cat >>confdefs.h <<_ACEOF
2440 #define PACKAGE_URL "$PACKAGE_URL"
2441 _ACEOF
2442
2443
2444 # Let the site file select an alternate cache file if it wants to.
2445 # Prefer an explicitly selected file to automatically selected ones.
2446 ac_site_file1=NONE
2447 ac_site_file2=NONE
2448 if test -n "$CONFIG_SITE"; then
2449 # We do not want a PATH search for config.site.
2450 case $CONFIG_SITE in #((
2451 -*) ac_site_file1=./$CONFIG_SITE;;
2452 */*) ac_site_file1=$CONFIG_SITE;;
2453 *) ac_site_file1=./$CONFIG_SITE;;
2454 esac
2455 elif test "x$prefix" != xNONE; then
2456 ac_site_file1=$prefix/share/config.site
2457 ac_site_file2=$prefix/etc/config.site
2458 else
2459 ac_site_file1=$ac_default_prefix/share/config.site
2460 ac_site_file2=$ac_default_prefix/etc/config.site
2461 fi
2462 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2463 do
2464 test "x$ac_site_file" = xNONE && continue
2465 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2467 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2468 sed 's/^/| /' "$ac_site_file" >&5
2469 . "$ac_site_file" \
2470 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 as_fn_error $? "failed to load site script $ac_site_file
2473 See \`config.log' for more details" "$LINENO" 5; }
2474 fi
2475 done
2476
2477 if test -r "$cache_file"; then
2478 # Some versions of bash will fail to source /dev/null (special files
2479 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2480 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2482 $as_echo "$as_me: loading cache $cache_file" >&6;}
2483 case $cache_file in
2484 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2485 *) . "./$cache_file";;
2486 esac
2487 fi
2488 else
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2490 $as_echo "$as_me: creating cache $cache_file" >&6;}
2491 >$cache_file
2492 fi
2493
2494 gt_needs="$gt_needs "
2495 # Check that the precious variables saved in the cache have kept the same
2496 # value.
2497 ac_cache_corrupted=false
2498 for ac_var in $ac_precious_vars; do
2499 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2500 eval ac_new_set=\$ac_env_${ac_var}_set
2501 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2502 eval ac_new_val=\$ac_env_${ac_var}_value
2503 case $ac_old_set,$ac_new_set in
2504 set,)
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2506 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2507 ac_cache_corrupted=: ;;
2508 ,set)
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2510 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2511 ac_cache_corrupted=: ;;
2512 ,);;
2513 *)
2514 if test "x$ac_old_val" != "x$ac_new_val"; then
2515 # differences in whitespace do not lead to failure.
2516 ac_old_val_w=`echo x $ac_old_val`
2517 ac_new_val_w=`echo x $ac_new_val`
2518 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2520 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2521 ac_cache_corrupted=:
2522 else
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2524 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2525 eval $ac_var=\$ac_old_val
2526 fi
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2528 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2530 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2531 fi;;
2532 esac
2533 # Pass precious variables to config.status.
2534 if test "$ac_new_set" = set; then
2535 case $ac_new_val in
2536 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2537 *) ac_arg=$ac_var=$ac_new_val ;;
2538 esac
2539 case " $ac_configure_args " in
2540 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2541 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2542 esac
2543 fi
2544 done
2545 if $ac_cache_corrupted; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2549 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2550 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2551 fi
2552 ## -------------------- ##
2553 ## Main body of script. ##
2554 ## -------------------- ##
2555
2556 ac_ext=c
2557 ac_cpp='$CPP $CPPFLAGS'
2558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2561
2562
2563 am__api_version='1.15'
2564
2565 ac_aux_dir=
2566 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2567 if test -f "$ac_dir/install-sh"; then
2568 ac_aux_dir=$ac_dir
2569 ac_install_sh="$ac_aux_dir/install-sh -c"
2570 break
2571 elif test -f "$ac_dir/install.sh"; then
2572 ac_aux_dir=$ac_dir
2573 ac_install_sh="$ac_aux_dir/install.sh -c"
2574 break
2575 elif test -f "$ac_dir/shtool"; then
2576 ac_aux_dir=$ac_dir
2577 ac_install_sh="$ac_aux_dir/shtool install -c"
2578 break
2579 fi
2580 done
2581 if test -z "$ac_aux_dir"; then
2582 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2583 fi
2584
2585 # These three variables are undocumented and unsupported,
2586 # and are intended to be withdrawn in a future Autoconf release.
2587 # They can cause serious problems if a builder's source tree is in a directory
2588 # whose full name contains unusual characters.
2589 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2590 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2591 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2592
2593
2594 # Find a good install program. We prefer a C program (faster),
2595 # so one script is as good as another. But avoid the broken or
2596 # incompatible versions:
2597 # SysV /etc/install, /usr/sbin/install
2598 # SunOS /usr/etc/install
2599 # IRIX /sbin/install
2600 # AIX /bin/install
2601 # AmigaOS /C/install, which installs bootblocks on floppy discs
2602 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2603 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2604 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2605 # OS/2's system install, which has a completely different semantic
2606 # ./install, which can be erroneously created by make from ./install.sh.
2607 # Reject install programs that cannot install multiple files.
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2609 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2610 if test -z "$INSTALL"; then
2611 if ${ac_cv_path_install+:} false; then :
2612 $as_echo_n "(cached) " >&6
2613 else
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 for as_dir in $PATH
2616 do
2617 IFS=$as_save_IFS
2618 test -z "$as_dir" && as_dir=.
2619 # Account for people who put trailing slashes in PATH elements.
2620 case $as_dir/ in #((
2621 ./ | .// | /[cC]/* | \
2622 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2623 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2624 /usr/ucb/* ) ;;
2625 *)
2626 # OSF1 and SCO ODT 3.0 have their own names for install.
2627 # Don't use installbsd from OSF since it installs stuff as root
2628 # by default.
2629 for ac_prog in ginstall scoinst install; do
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2632 if test $ac_prog = install &&
2633 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2634 # AIX install. It has an incompatible calling convention.
2635 :
2636 elif test $ac_prog = install &&
2637 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2638 # program-specific install script used by HP pwplus--don't use.
2639 :
2640 else
2641 rm -rf conftest.one conftest.two conftest.dir
2642 echo one > conftest.one
2643 echo two > conftest.two
2644 mkdir conftest.dir
2645 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2646 test -s conftest.one && test -s conftest.two &&
2647 test -s conftest.dir/conftest.one &&
2648 test -s conftest.dir/conftest.two
2649 then
2650 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2651 break 3
2652 fi
2653 fi
2654 fi
2655 done
2656 done
2657 ;;
2658 esac
2659
2660 done
2661 IFS=$as_save_IFS
2662
2663 rm -rf conftest.one conftest.two conftest.dir
2664
2665 fi
2666 if test "${ac_cv_path_install+set}" = set; then
2667 INSTALL=$ac_cv_path_install
2668 else
2669 # As a last resort, use the slow shell script. Don't cache a
2670 # value for INSTALL within a source directory, because that will
2671 # break other packages using the cache if that directory is
2672 # removed, or if the value is a relative name.
2673 INSTALL=$ac_install_sh
2674 fi
2675 fi
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2677 $as_echo "$INSTALL" >&6; }
2678
2679 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2680 # It thinks the first close brace ends the variable substitution.
2681 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2682
2683 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2684
2685 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2686
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2688 $as_echo_n "checking whether build environment is sane... " >&6; }
2689 # Reject unsafe characters in $srcdir or the absolute working directory
2690 # name. Accept space and tab only in the latter.
2691 am_lf='
2692 '
2693 case `pwd` in
2694 *[\\\"\#\$\&\'\`$am_lf]*)
2695 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2696 esac
2697 case $srcdir in
2698 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2699 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2700 esac
2701
2702 # Do 'set' in a subshell so we don't clobber the current shell's
2703 # arguments. Must try -L first in case configure is actually a
2704 # symlink; some systems play weird games with the mod time of symlinks
2705 # (eg FreeBSD returns the mod time of the symlink's containing
2706 # directory).
2707 if (
2708 am_has_slept=no
2709 for am_try in 1 2; do
2710 echo "timestamp, slept: $am_has_slept" > conftest.file
2711 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2712 if test "$*" = "X"; then
2713 # -L didn't work.
2714 set X `ls -t "$srcdir/configure" conftest.file`
2715 fi
2716 if test "$*" != "X $srcdir/configure conftest.file" \
2717 && test "$*" != "X conftest.file $srcdir/configure"; then
2718
2719 # If neither matched, then we have a broken ls. This can happen
2720 # if, for instance, CONFIG_SHELL is bash and it inherits a
2721 # broken ls alias from the environment. This has actually
2722 # happened. Such a system could not be considered "sane".
2723 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2724 alias in your environment" "$LINENO" 5
2725 fi
2726 if test "$2" = conftest.file || test $am_try -eq 2; then
2727 break
2728 fi
2729 # Just in case.
2730 sleep 1
2731 am_has_slept=yes
2732 done
2733 test "$2" = conftest.file
2734 )
2735 then
2736 # Ok.
2737 :
2738 else
2739 as_fn_error $? "newly created file is older than distributed files!
2740 Check your system clock" "$LINENO" 5
2741 fi
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2743 $as_echo "yes" >&6; }
2744 # If we didn't sleep, we still need to ensure time stamps of config.status and
2745 # generated files are strictly newer.
2746 am_sleep_pid=
2747 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2748 ( sleep 1 ) &
2749 am_sleep_pid=$!
2750 fi
2751
2752 rm -f conftest.file
2753
2754 test "$program_prefix" != NONE &&
2755 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2756 # Use a double $ so make ignores it.
2757 test "$program_suffix" != NONE &&
2758 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2759 # Double any \ or $.
2760 # By default was `s,x,x', remove it if useless.
2761 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2762 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2763
2764 # Expand $ac_aux_dir to an absolute path.
2765 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2766
2767 if test x"${MISSING+set}" != xset; then
2768 case $am_aux_dir in
2769 *\ * | *\ *)
2770 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2771 *)
2772 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2773 esac
2774 fi
2775 # Use eval to expand $SHELL
2776 if eval "$MISSING --is-lightweight"; then
2777 am_missing_run="$MISSING "
2778 else
2779 am_missing_run=
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2781 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2782 fi
2783
2784 if test x"${install_sh+set}" != xset; then
2785 case $am_aux_dir in
2786 *\ * | *\ *)
2787 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2788 *)
2789 install_sh="\${SHELL} $am_aux_dir/install-sh"
2790 esac
2791 fi
2792
2793 # Installed binaries are usually stripped using 'strip' when the user
2794 # run "make install-strip". However 'strip' might not be the right
2795 # tool to use in cross-compilation environments, therefore Automake
2796 # will honor the 'STRIP' environment variable to overrule this program.
2797 if test "$cross_compiling" != no; then
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}strip; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_STRIP+:} false; then :
2804 $as_echo_n "(cached) " >&6
2805 else
2806 if test -n "$STRIP"; then
2807 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2808 else
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 for as_dir in $PATH
2811 do
2812 IFS=$as_save_IFS
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 break 2
2819 fi
2820 done
2821 done
2822 IFS=$as_save_IFS
2823
2824 fi
2825 fi
2826 STRIP=$ac_cv_prog_STRIP
2827 if test -n "$STRIP"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2829 $as_echo "$STRIP" >&6; }
2830 else
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2833 fi
2834
2835
2836 fi
2837 if test -z "$ac_cv_prog_STRIP"; then
2838 ac_ct_STRIP=$STRIP
2839 # Extract the first word of "strip", so it can be a program name with args.
2840 set dummy strip; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 if test -n "$ac_ct_STRIP"; then
2847 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2848 else
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH
2851 do
2852 IFS=$as_save_IFS
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_ac_ct_STRIP="strip"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 break 2
2859 fi
2860 done
2861 done
2862 IFS=$as_save_IFS
2863
2864 fi
2865 fi
2866 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2867 if test -n "$ac_ct_STRIP"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2869 $as_echo "$ac_ct_STRIP" >&6; }
2870 else
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2873 fi
2874
2875 if test "x$ac_ct_STRIP" = x; then
2876 STRIP=":"
2877 else
2878 case $cross_compiling:$ac_tool_warned in
2879 yes:)
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned=yes ;;
2883 esac
2884 STRIP=$ac_ct_STRIP
2885 fi
2886 else
2887 STRIP="$ac_cv_prog_STRIP"
2888 fi
2889
2890 fi
2891 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2892
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2894 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2895 if test -z "$MKDIR_P"; then
2896 if ${ac_cv_path_mkdir+:} false; then :
2897 $as_echo_n "(cached) " >&6
2898 else
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2901 do
2902 IFS=$as_save_IFS
2903 test -z "$as_dir" && as_dir=.
2904 for ac_prog in mkdir gmkdir; do
2905 for ac_exec_ext in '' $ac_executable_extensions; do
2906 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2907 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2908 'mkdir (GNU coreutils) '* | \
2909 'mkdir (coreutils) '* | \
2910 'mkdir (fileutils) '4.1*)
2911 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2912 break 3;;
2913 esac
2914 done
2915 done
2916 done
2917 IFS=$as_save_IFS
2918
2919 fi
2920
2921 test -d ./--version && rmdir ./--version
2922 if test "${ac_cv_path_mkdir+set}" = set; then
2923 MKDIR_P="$ac_cv_path_mkdir -p"
2924 else
2925 # As a last resort, use the slow shell script. Don't cache a
2926 # value for MKDIR_P within a source directory, because that will
2927 # break other packages using the cache if that directory is
2928 # removed, or if the value is a relative name.
2929 MKDIR_P="$ac_install_sh -d"
2930 fi
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2933 $as_echo "$MKDIR_P" >&6; }
2934
2935 for ac_prog in gawk mawk nawk awk
2936 do
2937 # Extract the first word of "$ac_prog", so it can be a program name with args.
2938 set dummy $ac_prog; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_AWK+:} false; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 if test -n "$AWK"; then
2945 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2946 else
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH
2949 do
2950 IFS=$as_save_IFS
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_AWK="$ac_prog"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 break 2
2957 fi
2958 done
2959 done
2960 IFS=$as_save_IFS
2961
2962 fi
2963 fi
2964 AWK=$ac_cv_prog_AWK
2965 if test -n "$AWK"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2967 $as_echo "$AWK" >&6; }
2968 else
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2971 fi
2972
2973
2974 test -n "$AWK" && break
2975 done
2976
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2978 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2979 set x ${MAKE-make}
2980 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2981 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 cat >conftest.make <<\_ACEOF
2985 SHELL = /bin/sh
2986 all:
2987 @echo '@@@%%%=$(MAKE)=@@@%%%'
2988 _ACEOF
2989 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2990 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2991 *@@@%%%=?*=@@@%%%*)
2992 eval ac_cv_prog_make_${ac_make}_set=yes;;
2993 *)
2994 eval ac_cv_prog_make_${ac_make}_set=no;;
2995 esac
2996 rm -f conftest.make
2997 fi
2998 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3000 $as_echo "yes" >&6; }
3001 SET_MAKE=
3002 else
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3005 SET_MAKE="MAKE=${MAKE-make}"
3006 fi
3007
3008 rm -rf .tst 2>/dev/null
3009 mkdir .tst 2>/dev/null
3010 if test -d .tst; then
3011 am__leading_dot=.
3012 else
3013 am__leading_dot=_
3014 fi
3015 rmdir .tst 2>/dev/null
3016
3017 # Check whether --enable-silent-rules was given.
3018 if test "${enable_silent_rules+set}" = set; then :
3019 enableval=$enable_silent_rules;
3020 fi
3021
3022 case $enable_silent_rules in # (((
3023 yes) AM_DEFAULT_VERBOSITY=0;;
3024 no) AM_DEFAULT_VERBOSITY=1;;
3025 *) AM_DEFAULT_VERBOSITY=1;;
3026 esac
3027 am_make=${MAKE-make}
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3029 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3030 if ${am_cv_make_support_nested_variables+:} false; then :
3031 $as_echo_n "(cached) " >&6
3032 else
3033 if $as_echo 'TRUE=$(BAR$(V))
3034 BAR0=false
3035 BAR1=true
3036 V=1
3037 am__doit:
3038 @$(TRUE)
3039 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3040 am_cv_make_support_nested_variables=yes
3041 else
3042 am_cv_make_support_nested_variables=no
3043 fi
3044 fi
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3046 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3047 if test $am_cv_make_support_nested_variables = yes; then
3048 AM_V='$(V)'
3049 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3050 else
3051 AM_V=$AM_DEFAULT_VERBOSITY
3052 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3053 fi
3054 AM_BACKSLASH='\'
3055
3056 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3057 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3058 # is not polluted with repeated "-I."
3059 am__isrc=' -I$(srcdir)'
3060 # test to see if srcdir already configured
3061 if test -f $srcdir/config.status; then
3062 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3063 fi
3064 fi
3065
3066 # test whether we have cygpath
3067 if test -z "$CYGPATH_W"; then
3068 if (cygpath --version) >/dev/null 2>/dev/null; then
3069 CYGPATH_W='cygpath -w'
3070 else
3071 CYGPATH_W=echo
3072 fi
3073 fi
3074
3075
3076 # Define the identity of the package.
3077 PACKAGE='compiz-plugins-main'
3078 VERSION='0.8.18'
3079
3080
3081 cat >>confdefs.h <<_ACEOF
3082 #define PACKAGE "$PACKAGE"
3083 _ACEOF
3084
3085
3086 cat >>confdefs.h <<_ACEOF
3087 #define VERSION "$VERSION"
3088 _ACEOF
3089
3090 # Some tools Automake needs.
3091
3092 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3093
3094
3095 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3096
3097
3098 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3099
3100
3101 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3102
3103
3104 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3105
3106 # For better backward compatibility. To be removed once Automake 1.9.x
3107 # dies out for good. For more background, see:
3108 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3109 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3110 mkdir_p='$(MKDIR_P)'
3111
3112 # We need awk for the "check" target (and possibly the TAP driver). The
3113 # system "awk" is bad on some platforms.
3114 # Always define AMTAR for backward compatibility. Yes, it's still used
3115 # in the wild :-( We should find a proper way to deprecate it ...
3116 AMTAR='$${TAR-tar}'
3117
3118
3119 # We'll loop over all known methods to create a tar archive until one works.
3120 _am_tools='gnutar pax cpio none'
3121
3122 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3123
3124
3125
3126
3127
3128
3129 # POSIX will say in a future version that running "rm -f" with no argument
3130 # is OK; and we want to be able to make that assumption in our Makefile
3131 # recipes. So use an aggressive probe to check that the usage we want is
3132 # actually supported "in the wild" to an acceptable degree.
3133 # See automake bug#10828.
3134 # To make any issue more visible, cause the running configure to be aborted
3135 # by default if the 'rm' program in use doesn't match our expectations; the
3136 # user can still override this though.
3137 if rm -f && rm -fr && rm -rf; then : OK; else
3138 cat >&2 <<'END'
3139 Oops!
3140
3141 Your 'rm' program seems unable to run without file operands specified
3142 on the command line, even when the '-f' option is present. This is contrary
3143 to the behaviour of most rm programs out there, and not conforming with
3144 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3145
3146 Please tell [email protected] about your system, including the value
3147 of your $PATH and any error possibly output before this message. This
3148 can help us improve future automake versions.
3149
3150 END
3151 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3152 echo 'Configuration will proceed anyway, since you have set the' >&2
3153 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3154 echo >&2
3155 else
3156 cat >&2 <<'END'
3157 Aborting the configuration process, to ensure you take notice of the issue.
3158
3159 You can download and install GNU coreutils to get an 'rm' implementation
3160 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3161
3162 If you want to complete the configuration process using your problematic
3163 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3164 to "yes", and re-run configure.
3165
3166 END
3167 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3168 fi
3169 fi
3170
3171 ac_config_headers="$ac_config_headers config.h"
3172
3173
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3175 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3176 # Check whether --enable-maintainer-mode was given.
3177 if test "${enable_maintainer_mode+set}" = set; then :
3178 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3179 else
3180 USE_MAINTAINER_MODE=no
3181 fi
3182
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3184 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3185 if test $USE_MAINTAINER_MODE = yes; then
3186 MAINTAINER_MODE_TRUE=
3187 MAINTAINER_MODE_FALSE='#'
3188 else
3189 MAINTAINER_MODE_TRUE='#'
3190 MAINTAINER_MODE_FALSE=
3191 fi
3192
3193 MAINT=$MAINTAINER_MODE_TRUE
3194
3195
3196
3197 DEPDIR="${am__leading_dot}deps"
3198
3199 ac_config_commands="$ac_config_commands depfiles"
3200
3201
3202 am_make=${MAKE-make}
3203 cat > confinc << 'END'
3204 am__doit:
3205 @echo this is the am__doit target
3206 .PHONY: am__doit
3207 END
3208 # If we don't find an include directive, just comment out the code.
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3210 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3211 am__include="#"
3212 am__quote=
3213 _am_result=none
3214 # First try GNU make style include.
3215 echo "include confinc" > confmf
3216 # Ignore all kinds of additional output from 'make'.
3217 case `$am_make -s -f confmf 2> /dev/null` in #(
3218 *the\ am__doit\ target*)
3219 am__include=include
3220 am__quote=
3221 _am_result=GNU
3222 ;;
3223 esac
3224 # Now try BSD make style include.
3225 if test "$am__include" = "#"; then
3226 echo '.include "confinc"' > confmf
3227 case `$am_make -s -f confmf 2> /dev/null` in #(
3228 *the\ am__doit\ target*)
3229 am__include=.include
3230 am__quote="\""
3231 _am_result=BSD
3232 ;;
3233 esac
3234 fi
3235
3236
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3238 $as_echo "$_am_result" >&6; }
3239 rm -f confinc confmf
3240
3241 # Check whether --enable-dependency-tracking was given.
3242 if test "${enable_dependency_tracking+set}" = set; then :
3243 enableval=$enable_dependency_tracking;
3244 fi
3245
3246 if test "x$enable_dependency_tracking" != xno; then
3247 am_depcomp="$ac_aux_dir/depcomp"
3248 AMDEPBACKSLASH='\'
3249 am__nodep='_no'
3250 fi
3251 if test "x$enable_dependency_tracking" != xno; then
3252 AMDEP_TRUE=
3253 AMDEP_FALSE='#'
3254 else
3255 AMDEP_TRUE='#'
3256 AMDEP_FALSE=
3257 fi
3258
3259
3260 ac_ext=c
3261 ac_cpp='$CPP $CPPFLAGS'
3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if ${ac_cv_prog_CC+:} false; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$CC"; then
3274 ac_cv_prog_CC="$CC" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3283 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287 done
3288 done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 CC=$ac_cv_prog_CC
3294 if test -n "$CC"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3296 $as_echo "$CC" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_CC"; then
3305 ac_ct_CC=$CC
3306 # Extract the first word of "gcc", so it can be a program name with args.
3307 set dummy gcc; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_CC"; then
3314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3323 ac_cv_prog_ac_ct_CC="gcc"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3334 if test -n "$ac_ct_CC"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3336 $as_echo "$ac_ct_CC" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342 if test "x$ac_ct_CC" = x; then
3343 CC=""
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 CC=$ac_ct_CC
3352 fi
3353 else
3354 CC="$ac_cv_prog_CC"
3355 fi
3356
3357 if test -z "$CC"; then
3358 if test -n "$ac_tool_prefix"; then
3359 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3360 set dummy ${ac_tool_prefix}cc; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if ${ac_cv_prog_CC+:} false; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 if test -n "$CC"; then
3367 ac_cv_prog_CC="$CC" # Let the user override the test.
3368 else
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 for as_dir in $PATH
3371 do
3372 IFS=$as_save_IFS
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_CC="${ac_tool_prefix}cc"
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 break 2
3379 fi
3380 done
3381 done
3382 IFS=$as_save_IFS
3383
3384 fi
3385 fi
3386 CC=$ac_cv_prog_CC
3387 if test -n "$CC"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3389 $as_echo "$CC" >&6; }
3390 else
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3393 fi
3394
3395
3396 fi
3397 fi
3398 if test -z "$CC"; then
3399 # Extract the first word of "cc", so it can be a program name with args.
3400 set dummy cc; ac_word=$2
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402 $as_echo_n "checking for $ac_word... " >&6; }
3403 if ${ac_cv_prog_CC+:} false; then :
3404 $as_echo_n "(cached) " >&6
3405 else
3406 if test -n "$CC"; then
3407 ac_cv_prog_CC="$CC" # Let the user override the test.
3408 else
3409 ac_prog_rejected=no
3410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411 for as_dir in $PATH
3412 do
3413 IFS=$as_save_IFS
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3417 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3418 ac_prog_rejected=yes
3419 continue
3420 fi
3421 ac_cv_prog_CC="cc"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 break 2
3424 fi
3425 done
3426 done
3427 IFS=$as_save_IFS
3428
3429 if test $ac_prog_rejected = yes; then
3430 # We found a bogon in the path, so make sure we never use it.
3431 set dummy $ac_cv_prog_CC
3432 shift
3433 if test $# != 0; then
3434 # We chose a different compiler from the bogus one.
3435 # However, it has the same basename, so the bogon will be chosen
3436 # first if we set CC to just the basename; use the full file name.
3437 shift
3438 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3439 fi
3440 fi
3441 fi
3442 fi
3443 CC=$ac_cv_prog_CC
3444 if test -n "$CC"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3446 $as_echo "$CC" >&6; }
3447 else
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3450 fi
3451
3452
3453 fi
3454 if test -z "$CC"; then
3455 if test -n "$ac_tool_prefix"; then
3456 for ac_prog in cl.exe
3457 do
3458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3462 if ${ac_cv_prog_CC+:} false; then :
3463 $as_echo_n "(cached) " >&6
3464 else
3465 if test -n "$CC"; then
3466 ac_cv_prog_CC="$CC" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3470 do
3471 IFS=$as_save_IFS
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 break 2
3478 fi
3479 done
3480 done
3481 IFS=$as_save_IFS
3482
3483 fi
3484 fi
3485 CC=$ac_cv_prog_CC
3486 if test -n "$CC"; then
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3488 $as_echo "$CC" >&6; }
3489 else
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3492 fi
3493
3494
3495 test -n "$CC" && break
3496 done
3497 fi
3498 if test -z "$CC"; then
3499 ac_ct_CC=$CC
3500 for ac_prog in cl.exe
3501 do
3502 # Extract the first word of "$ac_prog", so it can be a program name with args.
3503 set dummy $ac_prog; ac_word=$2
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505 $as_echo_n "checking for $ac_word... " >&6; }
3506 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3507 $as_echo_n "(cached) " >&6
3508 else
3509 if test -n "$ac_ct_CC"; then
3510 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3511 else
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 for as_dir in $PATH
3514 do
3515 IFS=$as_save_IFS
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3519 ac_cv_prog_ac_ct_CC="$ac_prog"
3520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 break 2
3522 fi
3523 done
3524 done
3525 IFS=$as_save_IFS
3526
3527 fi
3528 fi
3529 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3530 if test -n "$ac_ct_CC"; then
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3532 $as_echo "$ac_ct_CC" >&6; }
3533 else
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3535 $as_echo "no" >&6; }
3536 fi
3537
3538
3539 test -n "$ac_ct_CC" && break
3540 done
3541
3542 if test "x$ac_ct_CC" = x; then
3543 CC=""
3544 else
3545 case $cross_compiling:$ac_tool_warned in
3546 yes:)
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3549 ac_tool_warned=yes ;;
3550 esac
3551 CC=$ac_ct_CC
3552 fi
3553 fi
3554
3555 fi
3556
3557
3558 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 as_fn_error $? "no acceptable C compiler found in \$PATH
3561 See \`config.log' for more details" "$LINENO" 5; }
3562
3563 # Provide some information about the compiler.
3564 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3565 set X $ac_compile
3566 ac_compiler=$2
3567 for ac_option in --version -v -V -qversion; do
3568 { { ac_try="$ac_compiler $ac_option >&5"
3569 case "(($ac_try" in
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3572 esac
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3576 ac_status=$?
3577 if test -s conftest.err; then
3578 sed '10a\
3579 ... rest of stderr output deleted ...
3580 10q' conftest.err >conftest.er1
3581 cat conftest.er1 >&5
3582 fi
3583 rm -f conftest.er1 conftest.err
3584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585 test $ac_status = 0; }
3586 done
3587
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3590
3591 int
3592 main ()
3593 {
3594
3595 ;
3596 return 0;
3597 }
3598 _ACEOF
3599 ac_clean_files_save=$ac_clean_files
3600 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3601 # Try to create an executable without -o first, disregard a.out.
3602 # It will help us diagnose broken compilers, and finding out an intuition
3603 # of exeext.
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3605 $as_echo_n "checking whether the C compiler works... " >&6; }
3606 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3607
3608 # The possible output files:
3609 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3610
3611 ac_rmfiles=
3612 for ac_file in $ac_files
3613 do
3614 case $ac_file in
3615 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3616 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3617 esac
3618 done
3619 rm -f $ac_rmfiles
3620
3621 if { { ac_try="$ac_link_default"
3622 case "(($ac_try" in
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3625 esac
3626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627 $as_echo "$ac_try_echo"; } >&5
3628 (eval "$ac_link_default") 2>&5
3629 ac_status=$?
3630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3631 test $ac_status = 0; }; then :
3632 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3633 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3634 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3635 # so that the user can short-circuit this test for compilers unknown to
3636 # Autoconf.
3637 for ac_file in $ac_files ''
3638 do
3639 test -f "$ac_file" || continue
3640 case $ac_file in
3641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3642 ;;
3643 [ab].out )
3644 # We found the default executable, but exeext='' is most
3645 # certainly right.
3646 break;;
3647 *.* )
3648 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3649 then :; else
3650 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3651 fi
3652 # We set ac_cv_exeext here because the later test for it is not
3653 # safe: cross compilers may not add the suffix if given an `-o'
3654 # argument, so we may need to know it at that point already.
3655 # Even if this section looks crufty: it has the advantage of
3656 # actually working.
3657 break;;
3658 * )
3659 break;;
3660 esac
3661 done
3662 test "$ac_cv_exeext" = no && ac_cv_exeext=
3663
3664 else
3665 ac_file=''
3666 fi
3667 if test -z "$ac_file"; then :
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 $as_echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3672
3673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error 77 "C compiler cannot create executables
3676 See \`config.log' for more details" "$LINENO" 5; }
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3679 $as_echo "yes" >&6; }
3680 fi
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3682 $as_echo_n "checking for C compiler default output file name... " >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3684 $as_echo "$ac_file" >&6; }
3685 ac_exeext=$ac_cv_exeext
3686
3687 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3688 ac_clean_files=$ac_clean_files_save
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3690 $as_echo_n "checking for suffix of executables... " >&6; }
3691 if { { ac_try="$ac_link"
3692 case "(($ac_try" in
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3695 esac
3696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697 $as_echo "$ac_try_echo"; } >&5
3698 (eval "$ac_link") 2>&5
3699 ac_status=$?
3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701 test $ac_status = 0; }; then :
3702 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3703 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3704 # work properly (i.e., refer to `conftest.exe'), while it won't with
3705 # `rm'.
3706 for ac_file in conftest.exe conftest conftest.*; do
3707 test -f "$ac_file" || continue
3708 case $ac_file in
3709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3710 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3711 break;;
3712 * ) break;;
3713 esac
3714 done
3715 else
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3719 See \`config.log' for more details" "$LINENO" 5; }
3720 fi
3721 rm -f conftest conftest$ac_cv_exeext
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3723 $as_echo "$ac_cv_exeext" >&6; }
3724
3725 rm -f conftest.$ac_ext
3726 EXEEXT=$ac_cv_exeext
3727 ac_exeext=$EXEEXT
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3730 #include <stdio.h>
3731 int
3732 main ()
3733 {
3734 FILE *f = fopen ("conftest.out", "w");
3735 return ferror (f) || fclose (f) != 0;
3736
3737 ;
3738 return 0;
3739 }
3740 _ACEOF
3741 ac_clean_files="$ac_clean_files conftest.out"
3742 # Check that the compiler produces executables we can run. If not, either
3743 # the compiler is broken, or we cross compile.
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3745 $as_echo_n "checking whether we are cross compiling... " >&6; }
3746 if test "$cross_compiling" != yes; then
3747 { { ac_try="$ac_link"
3748 case "(($ac_try" in
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3751 esac
3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753 $as_echo "$ac_try_echo"; } >&5
3754 (eval "$ac_link") 2>&5
3755 ac_status=$?
3756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3757 test $ac_status = 0; }
3758 if { ac_try='./conftest$ac_cv_exeext'
3759 { { case "(($ac_try" in
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3762 esac
3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3764 $as_echo "$ac_try_echo"; } >&5
3765 (eval "$ac_try") 2>&5
3766 ac_status=$?
3767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3768 test $ac_status = 0; }; }; then
3769 cross_compiling=no
3770 else
3771 if test "$cross_compiling" = maybe; then
3772 cross_compiling=yes
3773 else
3774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3776 as_fn_error $? "cannot run C compiled programs.
3777 If you meant to cross compile, use \`--host'.
3778 See \`config.log' for more details" "$LINENO" 5; }
3779 fi
3780 fi
3781 fi
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3783 $as_echo "$cross_compiling" >&6; }
3784
3785 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3786 ac_clean_files=$ac_clean_files_save
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3788 $as_echo_n "checking for suffix of object files... " >&6; }
3789 if ${ac_cv_objext+:} false; then :
3790 $as_echo_n "(cached) " >&6
3791 else
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3794
3795 int
3796 main ()
3797 {
3798
3799 ;
3800 return 0;
3801 }
3802 _ACEOF
3803 rm -f conftest.o conftest.obj
3804 if { { ac_try="$ac_compile"
3805 case "(($ac_try" in
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3808 esac
3809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_compile") 2>&5
3812 ac_status=$?
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; }; then :
3815 for ac_file in conftest.o conftest.obj conftest.*; do
3816 test -f "$ac_file" || continue;
3817 case $ac_file in
3818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3819 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3820 break;;
3821 esac
3822 done
3823 else
3824 $as_echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3826
3827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829 as_fn_error $? "cannot compute suffix of object files: cannot compile
3830 See \`config.log' for more details" "$LINENO" 5; }
3831 fi
3832 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3833 fi
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3835 $as_echo "$ac_cv_objext" >&6; }
3836 OBJEXT=$ac_cv_objext
3837 ac_objext=$OBJEXT
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3839 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3840 if ${ac_cv_c_compiler_gnu+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3845
3846 int
3847 main ()
3848 {
3849 #ifndef __GNUC__
3850 choke me
3851 #endif
3852
3853 ;
3854 return 0;
3855 }
3856 _ACEOF
3857 if ac_fn_c_try_compile "$LINENO"; then :
3858 ac_compiler_gnu=yes
3859 else
3860 ac_compiler_gnu=no
3861 fi
3862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3863 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3864
3865 fi
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3867 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3868 if test $ac_compiler_gnu = yes; then
3869 GCC=yes
3870 else
3871 GCC=
3872 fi
3873 ac_test_CFLAGS=${CFLAGS+set}
3874 ac_save_CFLAGS=$CFLAGS
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3876 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3877 if ${ac_cv_prog_cc_g+:} false; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 ac_save_c_werror_flag=$ac_c_werror_flag
3881 ac_c_werror_flag=yes
3882 ac_cv_prog_cc_g=no
3883 CFLAGS="-g"
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3886
3887 int
3888 main ()
3889 {
3890
3891 ;
3892 return 0;
3893 }
3894 _ACEOF
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 ac_cv_prog_cc_g=yes
3897 else
3898 CFLAGS=""
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3901
3902 int
3903 main ()
3904 {
3905
3906 ;
3907 return 0;
3908 }
3909 _ACEOF
3910 if ac_fn_c_try_compile "$LINENO"; then :
3911
3912 else
3913 ac_c_werror_flag=$ac_save_c_werror_flag
3914 CFLAGS="-g"
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3917
3918 int
3919 main ()
3920 {
3921
3922 ;
3923 return 0;
3924 }
3925 _ACEOF
3926 if ac_fn_c_try_compile "$LINENO"; then :
3927 ac_cv_prog_cc_g=yes
3928 fi
3929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 fi
3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932 fi
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 ac_c_werror_flag=$ac_save_c_werror_flag
3935 fi
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3937 $as_echo "$ac_cv_prog_cc_g" >&6; }
3938 if test "$ac_test_CFLAGS" = set; then
3939 CFLAGS=$ac_save_CFLAGS
3940 elif test $ac_cv_prog_cc_g = yes; then
3941 if test "$GCC" = yes; then
3942 CFLAGS="-g -O2"
3943 else
3944 CFLAGS="-g"
3945 fi
3946 else
3947 if test "$GCC" = yes; then
3948 CFLAGS="-O2"
3949 else
3950 CFLAGS=
3951 fi
3952 fi
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3955 if ${ac_cv_prog_cc_c89+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 ac_cv_prog_cc_c89=no
3959 ac_save_CC=$CC
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3962 #include <stdarg.h>
3963 #include <stdio.h>
3964 struct stat;
3965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3966 struct buf { int x; };
3967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3968 static char *e (p, i)
3969 char **p;
3970 int i;
3971 {
3972 return p[i];
3973 }
3974 static char *f (char * (*g) (char **, int), char **p, ...)
3975 {
3976 char *s;
3977 va_list v;
3978 va_start (v,p);
3979 s = g (p, va_arg (v,int));
3980 va_end (v);
3981 return s;
3982 }
3983
3984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3985 function prototypes and stuff, but not '\xHH' hex character constants.
3986 These don't provoke an error unfortunately, instead are silently treated
3987 as 'x'. The following induces an error, until -std is added to get
3988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3989 array size at least. It's necessary to write '\x00'==0 to get something
3990 that's true only with -std. */
3991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3992
3993 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3994 inside strings and character constants. */
3995 #define FOO(x) 'x'
3996 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3997
3998 int test (int i, double x);
3999 struct s1 {int (*f) (int a);};
4000 struct s2 {int (*f) (double a);};
4001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4002 int argc;
4003 char **argv;
4004 int
4005 main ()
4006 {
4007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4008 ;
4009 return 0;
4010 }
4011 _ACEOF
4012 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4013 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4014 do
4015 CC="$ac_save_CC $ac_arg"
4016 if ac_fn_c_try_compile "$LINENO"; then :
4017 ac_cv_prog_cc_c89=$ac_arg
4018 fi
4019 rm -f core conftest.err conftest.$ac_objext
4020 test "x$ac_cv_prog_cc_c89" != "xno" && break
4021 done
4022 rm -f conftest.$ac_ext
4023 CC=$ac_save_CC
4024
4025 fi
4026 # AC_CACHE_VAL
4027 case "x$ac_cv_prog_cc_c89" in
4028 x)
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4030 $as_echo "none needed" >&6; } ;;
4031 xno)
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4033 $as_echo "unsupported" >&6; } ;;
4034 *)
4035 CC="$CC $ac_cv_prog_cc_c89"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4037 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4038 esac
4039 if test "x$ac_cv_prog_cc_c89" != xno; then :
4040
4041 fi
4042
4043 ac_ext=c
4044 ac_cpp='$CPP $CPPFLAGS'
4045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048
4049 ac_ext=c
4050 ac_cpp='$CPP $CPPFLAGS'
4051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4055 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4056 if ${am_cv_prog_cc_c_o+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4061
4062 int
4063 main ()
4064 {
4065
4066 ;
4067 return 0;
4068 }
4069 _ACEOF
4070 # Make sure it works both with $CC and with simple cc.
4071 # Following AC_PROG_CC_C_O, we do the test twice because some
4072 # compilers refuse to overwrite an existing .o file with -o,
4073 # though they will create one.
4074 am_cv_prog_cc_c_o=yes
4075 for am_i in 1 2; do
4076 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4077 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4078 ac_status=$?
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); } \
4081 && test -f conftest2.$ac_objext; then
4082 : OK
4083 else
4084 am_cv_prog_cc_c_o=no
4085 break
4086 fi
4087 done
4088 rm -f core conftest*
4089 unset am_i
4090 fi
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4092 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4093 if test "$am_cv_prog_cc_c_o" != yes; then
4094 # Losing compiler, so override with the script.
4095 # FIXME: It is wrong to rewrite CC.
4096 # But if we don't then we get into trouble of one sort or another.
4097 # A longer-term fix would be to have automake use am__CC in this case,
4098 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4099 CC="$am_aux_dir/compile $CC"
4100 fi
4101 ac_ext=c
4102 ac_cpp='$CPP $CPPFLAGS'
4103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4106
4107
4108 depcc="$CC" am_compiler_list=
4109
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4111 $as_echo_n "checking dependency style of $depcc... " >&6; }
4112 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4113 $as_echo_n "(cached) " >&6
4114 else
4115 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4116 # We make a subdir and do the tests there. Otherwise we can end up
4117 # making bogus files that we don't know about and never remove. For
4118 # instance it was reported that on HP-UX the gcc test will end up
4119 # making a dummy file named 'D' -- because '-MD' means "put the output
4120 # in D".
4121 rm -rf conftest.dir
4122 mkdir conftest.dir
4123 # Copy depcomp to subdir because otherwise we won't find it if we're
4124 # using a relative directory.
4125 cp "$am_depcomp" conftest.dir
4126 cd conftest.dir
4127 # We will build objects and dependencies in a subdirectory because
4128 # it helps to detect inapplicable dependency modes. For instance
4129 # both Tru64's cc and ICC support -MD to output dependencies as a
4130 # side effect of compilation, but ICC will put the dependencies in
4131 # the current directory while Tru64 will put them in the object
4132 # directory.
4133 mkdir sub
4134
4135 am_cv_CC_dependencies_compiler_type=none
4136 if test "$am_compiler_list" = ""; then
4137 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4138 fi
4139 am__universal=false
4140 case " $depcc " in #(
4141 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4142 esac
4143
4144 for depmode in $am_compiler_list; do
4145 # Setup a source with many dependencies, because some compilers
4146 # like to wrap large dependency lists on column 80 (with \), and
4147 # we should not choose a depcomp mode which is confused by this.
4148 #
4149 # We need to recreate these files for each test, as the compiler may
4150 # overwrite some of them when testing with obscure command lines.
4151 # This happens at least with the AIX C compiler.
4152 : > sub/conftest.c
4153 for i in 1 2 3 4 5 6; do
4154 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4155 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4156 # Solaris 10 /bin/sh.
4157 echo '/* dummy */' > sub/conftst$i.h
4158 done
4159 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4160
4161 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4162 # mode. It turns out that the SunPro C++ compiler does not properly
4163 # handle '-M -o', and we need to detect this. Also, some Intel
4164 # versions had trouble with output in subdirs.
4165 am__obj=sub/conftest.${OBJEXT-o}
4166 am__minus_obj="-o $am__obj"
4167 case $depmode in
4168 gcc)
4169 # This depmode causes a compiler race in universal mode.
4170 test "$am__universal" = false || continue
4171 ;;
4172 nosideeffect)
4173 # After this tag, mechanisms are not by side-effect, so they'll
4174 # only be used when explicitly requested.
4175 if test "x$enable_dependency_tracking" = xyes; then
4176 continue
4177 else
4178 break
4179 fi
4180 ;;
4181 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4182 # This compiler won't grok '-c -o', but also, the minuso test has
4183 # not run yet. These depmodes are late enough in the game, and
4184 # so weak that their functioning should not be impacted.
4185 am__obj=conftest.${OBJEXT-o}
4186 am__minus_obj=
4187 ;;
4188 none) break ;;
4189 esac
4190 if depmode=$depmode \
4191 source=sub/conftest.c object=$am__obj \
4192 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4193 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4194 >/dev/null 2>conftest.err &&
4195 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4196 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4197 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4198 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4199 # icc doesn't choke on unknown options, it will just issue warnings
4200 # or remarks (even with -Werror). So we grep stderr for any message
4201 # that says an option was ignored or not supported.
4202 # When given -MP, icc 7.0 and 7.1 complain thusly:
4203 # icc: Command line warning: ignoring option '-M'; no argument required
4204 # The diagnosis changed in icc 8.0:
4205 # icc: Command line remark: option '-MP' not supported
4206 if (grep 'ignoring option' conftest.err ||
4207 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4208 am_cv_CC_dependencies_compiler_type=$depmode
4209 break
4210 fi
4211 fi
4212 done
4213
4214 cd ..
4215 rm -rf conftest.dir
4216 else
4217 am_cv_CC_dependencies_compiler_type=none
4218 fi
4219
4220 fi
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4222 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4223 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4224
4225 if
4226 test "x$enable_dependency_tracking" != xno \
4227 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4228 am__fastdepCC_TRUE=
4229 am__fastdepCC_FALSE='#'
4230 else
4231 am__fastdepCC_TRUE='#'
4232 am__fastdepCC_FALSE=
4233 fi
4234
4235
4236
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4238 $as_echo_n "checking for library containing strerror... " >&6; }
4239 if ${ac_cv_search_strerror+:} false; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 ac_func_search_save_LIBS=$LIBS
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4245
4246 /* Override any GCC internal prototype to avoid an error.
4247 Use char because int might match the return type of a GCC
4248 builtin and then its argument prototype would still apply. */
4249 #ifdef __cplusplus
4250 extern "C"
4251 #endif
4252 char strerror ();
4253 int
4254 main ()
4255 {
4256 return strerror ();
4257 ;
4258 return 0;
4259 }
4260 _ACEOF
4261 for ac_lib in '' cposix; do
4262 if test -z "$ac_lib"; then
4263 ac_res="none required"
4264 else
4265 ac_res=-l$ac_lib
4266 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4267 fi
4268 if ac_fn_c_try_link "$LINENO"; then :
4269 ac_cv_search_strerror=$ac_res
4270 fi
4271 rm -f core conftest.err conftest.$ac_objext \
4272 conftest$ac_exeext
4273 if ${ac_cv_search_strerror+:} false; then :
4274 break
4275 fi
4276 done
4277 if ${ac_cv_search_strerror+:} false; then :
4278
4279 else
4280 ac_cv_search_strerror=no
4281 fi
4282 rm conftest.$ac_ext
4283 LIBS=$ac_func_search_save_LIBS
4284 fi
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4286 $as_echo "$ac_cv_search_strerror" >&6; }
4287 ac_res=$ac_cv_search_strerror
4288 if test "$ac_res" != no; then :
4289 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4290
4291 fi
4292
4293 ac_ext=c
4294 ac_cpp='$CPP $CPPFLAGS'
4295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4298 if test -n "$ac_tool_prefix"; then
4299 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4300 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_prog_CC+:} false; then :
4304 $as_echo_n "(cached) " >&6
4305 else
4306 if test -n "$CC"; then
4307 ac_cv_prog_CC="$CC" # Let the user override the test.
4308 else
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 for as_dir in $PATH
4311 do
4312 IFS=$as_save_IFS
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4318 break 2
4319 fi
4320 done
4321 done
4322 IFS=$as_save_IFS
4323
4324 fi
4325 fi
4326 CC=$ac_cv_prog_CC
4327 if test -n "$CC"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4329 $as_echo "$CC" >&6; }
4330 else
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4333 fi
4334
4335
4336 fi
4337 if test -z "$ac_cv_prog_CC"; then
4338 ac_ct_CC=$CC
4339 # Extract the first word of "gcc", so it can be a program name with args.
4340 set dummy gcc; ac_word=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4344 $as_echo_n "(cached) " >&6
4345 else
4346 if test -n "$ac_ct_CC"; then
4347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4348 else
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350 for as_dir in $PATH
4351 do
4352 IFS=$as_save_IFS
4353 test -z "$as_dir" && as_dir=.
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4356 ac_cv_prog_ac_ct_CC="gcc"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 break 2
4359 fi
4360 done
4361 done
4362 IFS=$as_save_IFS
4363
4364 fi
4365 fi
4366 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4367 if test -n "$ac_ct_CC"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4369 $as_echo "$ac_ct_CC" >&6; }
4370 else
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4373 fi
4374
4375 if test "x$ac_ct_CC" = x; then
4376 CC=""
4377 else
4378 case $cross_compiling:$ac_tool_warned in
4379 yes:)
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4382 ac_tool_warned=yes ;;
4383 esac
4384 CC=$ac_ct_CC
4385 fi
4386 else
4387 CC="$ac_cv_prog_CC"
4388 fi
4389
4390 if test -z "$CC"; then
4391 if test -n "$ac_tool_prefix"; then
4392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4393 set dummy ${ac_tool_prefix}cc; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_CC+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 if test -n "$CC"; then
4400 ac_cv_prog_CC="$CC" # Let the user override the test.
4401 else
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4404 do
4405 IFS=$as_save_IFS
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_CC="${ac_tool_prefix}cc"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 break 2
4412 fi
4413 done
4414 done
4415 IFS=$as_save_IFS
4416
4417 fi
4418 fi
4419 CC=$ac_cv_prog_CC
4420 if test -n "$CC"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4422 $as_echo "$CC" >&6; }
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4426 fi
4427
4428
4429 fi
4430 fi
4431 if test -z "$CC"; then
4432 # Extract the first word of "cc", so it can be a program name with args.
4433 set dummy cc; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_CC+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CC"; then
4440 ac_cv_prog_CC="$CC" # Let the user override the test.
4441 else
4442 ac_prog_rejected=no
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4445 do
4446 IFS=$as_save_IFS
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4451 ac_prog_rejected=yes
4452 continue
4453 fi
4454 ac_cv_prog_CC="cc"
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 break 2
4457 fi
4458 done
4459 done
4460 IFS=$as_save_IFS
4461
4462 if test $ac_prog_rejected = yes; then
4463 # We found a bogon in the path, so make sure we never use it.
4464 set dummy $ac_cv_prog_CC
4465 shift
4466 if test $# != 0; then
4467 # We chose a different compiler from the bogus one.
4468 # However, it has the same basename, so the bogon will be chosen
4469 # first if we set CC to just the basename; use the full file name.
4470 shift
4471 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4472 fi
4473 fi
4474 fi
4475 fi
4476 CC=$ac_cv_prog_CC
4477 if test -n "$CC"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4479 $as_echo "$CC" >&6; }
4480 else
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4483 fi
4484
4485
4486 fi
4487 if test -z "$CC"; then
4488 if test -n "$ac_tool_prefix"; then
4489 for ac_prog in cl.exe
4490 do
4491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494 $as_echo_n "checking for $ac_word... " >&6; }
4495 if ${ac_cv_prog_CC+:} false; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 if test -n "$CC"; then
4499 ac_cv_prog_CC="$CC" # Let the user override the test.
4500 else
4501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 for as_dir in $PATH
4503 do
4504 IFS=$as_save_IFS
4505 test -z "$as_dir" && as_dir=.
4506 for ac_exec_ext in '' $ac_executable_extensions; do
4507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4508 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4510 break 2
4511 fi
4512 done
4513 done
4514 IFS=$as_save_IFS
4515
4516 fi
4517 fi
4518 CC=$ac_cv_prog_CC
4519 if test -n "$CC"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4521 $as_echo "$CC" >&6; }
4522 else
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4524 $as_echo "no" >&6; }
4525 fi
4526
4527
4528 test -n "$CC" && break
4529 done
4530 fi
4531 if test -z "$CC"; then
4532 ac_ct_CC=$CC
4533 for ac_prog in cl.exe
4534 do
4535 # Extract the first word of "$ac_prog", so it can be a program name with args.
4536 set dummy $ac_prog; ac_word=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4540 $as_echo_n "(cached) " >&6
4541 else
4542 if test -n "$ac_ct_CC"; then
4543 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4544 else
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH
4547 do
4548 IFS=$as_save_IFS
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552 ac_cv_prog_ac_ct_CC="$ac_prog"
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 break 2
4555 fi
4556 done
4557 done
4558 IFS=$as_save_IFS
4559
4560 fi
4561 fi
4562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4563 if test -n "$ac_ct_CC"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4565 $as_echo "$ac_ct_CC" >&6; }
4566 else
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4569 fi
4570
4571
4572 test -n "$ac_ct_CC" && break
4573 done
4574
4575 if test "x$ac_ct_CC" = x; then
4576 CC=""
4577 else
4578 case $cross_compiling:$ac_tool_warned in
4579 yes:)
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4582 ac_tool_warned=yes ;;
4583 esac
4584 CC=$ac_ct_CC
4585 fi
4586 fi
4587
4588 fi
4589
4590
4591 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4593 as_fn_error $? "no acceptable C compiler found in \$PATH
4594 See \`config.log' for more details" "$LINENO" 5; }
4595
4596 # Provide some information about the compiler.
4597 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4598 set X $ac_compile
4599 ac_compiler=$2
4600 for ac_option in --version -v -V -qversion; do
4601 { { ac_try="$ac_compiler $ac_option >&5"
4602 case "(($ac_try" in
4603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4604 *) ac_try_echo=$ac_try;;
4605 esac
4606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4607 $as_echo "$ac_try_echo"; } >&5
4608 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4609 ac_status=$?
4610 if test -s conftest.err; then
4611 sed '10a\
4612 ... rest of stderr output deleted ...
4613 10q' conftest.err >conftest.er1
4614 cat conftest.er1 >&5
4615 fi
4616 rm -f conftest.er1 conftest.err
4617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4618 test $ac_status = 0; }
4619 done
4620
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4622 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4623 if ${ac_cv_c_compiler_gnu+:} false; then :
4624 $as_echo_n "(cached) " >&6
4625 else
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4628
4629 int
4630 main ()
4631 {
4632 #ifndef __GNUC__
4633 choke me
4634 #endif
4635
4636 ;
4637 return 0;
4638 }
4639 _ACEOF
4640 if ac_fn_c_try_compile "$LINENO"; then :
4641 ac_compiler_gnu=yes
4642 else
4643 ac_compiler_gnu=no
4644 fi
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4647
4648 fi
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4650 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4651 if test $ac_compiler_gnu = yes; then
4652 GCC=yes
4653 else
4654 GCC=
4655 fi
4656 ac_test_CFLAGS=${CFLAGS+set}
4657 ac_save_CFLAGS=$CFLAGS
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4659 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4660 if ${ac_cv_prog_cc_g+:} false; then :
4661 $as_echo_n "(cached) " >&6
4662 else
4663 ac_save_c_werror_flag=$ac_c_werror_flag
4664 ac_c_werror_flag=yes
4665 ac_cv_prog_cc_g=no
4666 CFLAGS="-g"
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4669
4670 int
4671 main ()
4672 {
4673
4674 ;
4675 return 0;
4676 }
4677 _ACEOF
4678 if ac_fn_c_try_compile "$LINENO"; then :
4679 ac_cv_prog_cc_g=yes
4680 else
4681 CFLAGS=""
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4684
4685 int
4686 main ()
4687 {
4688
4689 ;
4690 return 0;
4691 }
4692 _ACEOF
4693 if ac_fn_c_try_compile "$LINENO"; then :
4694
4695 else
4696 ac_c_werror_flag=$ac_save_c_werror_flag
4697 CFLAGS="-g"
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700
4701 int
4702 main ()
4703 {
4704
4705 ;
4706 return 0;
4707 }
4708 _ACEOF
4709 if ac_fn_c_try_compile "$LINENO"; then :
4710 ac_cv_prog_cc_g=yes
4711 fi
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 fi
4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715 fi
4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717 ac_c_werror_flag=$ac_save_c_werror_flag
4718 fi
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4720 $as_echo "$ac_cv_prog_cc_g" >&6; }
4721 if test "$ac_test_CFLAGS" = set; then
4722 CFLAGS=$ac_save_CFLAGS
4723 elif test $ac_cv_prog_cc_g = yes; then
4724 if test "$GCC" = yes; then
4725 CFLAGS="-g -O2"
4726 else
4727 CFLAGS="-g"
4728 fi
4729 else
4730 if test "$GCC" = yes; then
4731 CFLAGS="-O2"
4732 else
4733 CFLAGS=
4734 fi
4735 fi
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4737 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4738 if ${ac_cv_prog_cc_c89+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 ac_cv_prog_cc_c89=no
4742 ac_save_CC=$CC
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4745 #include <stdarg.h>
4746 #include <stdio.h>
4747 struct stat;
4748 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4749 struct buf { int x; };
4750 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4751 static char *e (p, i)
4752 char **p;
4753 int i;
4754 {
4755 return p[i];
4756 }
4757 static char *f (char * (*g) (char **, int), char **p, ...)
4758 {
4759 char *s;
4760 va_list v;
4761 va_start (v,p);
4762 s = g (p, va_arg (v,int));
4763 va_end (v);
4764 return s;
4765 }
4766
4767 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4768 function prototypes and stuff, but not '\xHH' hex character constants.
4769 These don't provoke an error unfortunately, instead are silently treated
4770 as 'x'. The following induces an error, until -std is added to get
4771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4772 array size at least. It's necessary to write '\x00'==0 to get something
4773 that's true only with -std. */
4774 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4775
4776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4777 inside strings and character constants. */
4778 #define FOO(x) 'x'
4779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4780
4781 int test (int i, double x);
4782 struct s1 {int (*f) (int a);};
4783 struct s2 {int (*f) (double a);};
4784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4785 int argc;
4786 char **argv;
4787 int
4788 main ()
4789 {
4790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4791 ;
4792 return 0;
4793 }
4794 _ACEOF
4795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4797 do
4798 CC="$ac_save_CC $ac_arg"
4799 if ac_fn_c_try_compile "$LINENO"; then :
4800 ac_cv_prog_cc_c89=$ac_arg
4801 fi
4802 rm -f core conftest.err conftest.$ac_objext
4803 test "x$ac_cv_prog_cc_c89" != "xno" && break
4804 done
4805 rm -f conftest.$ac_ext
4806 CC=$ac_save_CC
4807
4808 fi
4809 # AC_CACHE_VAL
4810 case "x$ac_cv_prog_cc_c89" in
4811 x)
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4813 $as_echo "none needed" >&6; } ;;
4814 xno)
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4816 $as_echo "unsupported" >&6; } ;;
4817 *)
4818 CC="$CC $ac_cv_prog_cc_c89"
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4820 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4821 esac
4822 if test "x$ac_cv_prog_cc_c89" != xno; then :
4823
4824 fi
4825
4826 ac_ext=c
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4831
4832 ac_ext=c
4833 ac_cpp='$CPP $CPPFLAGS'
4834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4838 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4839 if ${am_cv_prog_cc_c_o+:} false; then :
4840 $as_echo_n "(cached) " >&6
4841 else
4842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4843 /* end confdefs.h. */
4844
4845 int
4846 main ()
4847 {
4848
4849 ;
4850 return 0;
4851 }
4852 _ACEOF
4853 # Make sure it works both with $CC and with simple cc.
4854 # Following AC_PROG_CC_C_O, we do the test twice because some
4855 # compilers refuse to overwrite an existing .o file with -o,
4856 # though they will create one.
4857 am_cv_prog_cc_c_o=yes
4858 for am_i in 1 2; do
4859 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4860 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4861 ac_status=$?
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } \
4864 && test -f conftest2.$ac_objext; then
4865 : OK
4866 else
4867 am_cv_prog_cc_c_o=no
4868 break
4869 fi
4870 done
4871 rm -f core conftest*
4872 unset am_i
4873 fi
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4875 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4876 if test "$am_cv_prog_cc_c_o" != yes; then
4877 # Losing compiler, so override with the script.
4878 # FIXME: It is wrong to rewrite CC.
4879 # But if we don't then we get into trouble of one sort or another.
4880 # A longer-term fix would be to have automake use am__CC in this case,
4881 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4882 CC="$am_aux_dir/compile $CC"
4883 fi
4884 ac_ext=c
4885 ac_cpp='$CPP $CPPFLAGS'
4886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4889
4890
4891 depcc="$CC" am_compiler_list=
4892
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4894 $as_echo_n "checking dependency style of $depcc... " >&6; }
4895 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4899 # We make a subdir and do the tests there. Otherwise we can end up
4900 # making bogus files that we don't know about and never remove. For
4901 # instance it was reported that on HP-UX the gcc test will end up
4902 # making a dummy file named 'D' -- because '-MD' means "put the output
4903 # in D".
4904 rm -rf conftest.dir
4905 mkdir conftest.dir
4906 # Copy depcomp to subdir because otherwise we won't find it if we're
4907 # using a relative directory.
4908 cp "$am_depcomp" conftest.dir
4909 cd conftest.dir
4910 # We will build objects and dependencies in a subdirectory because
4911 # it helps to detect inapplicable dependency modes. For instance
4912 # both Tru64's cc and ICC support -MD to output dependencies as a
4913 # side effect of compilation, but ICC will put the dependencies in
4914 # the current directory while Tru64 will put them in the object
4915 # directory.
4916 mkdir sub
4917
4918 am_cv_CC_dependencies_compiler_type=none
4919 if test "$am_compiler_list" = ""; then
4920 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4921 fi
4922 am__universal=false
4923 case " $depcc " in #(
4924 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4925 esac
4926
4927 for depmode in $am_compiler_list; do
4928 # Setup a source with many dependencies, because some compilers
4929 # like to wrap large dependency lists on column 80 (with \), and
4930 # we should not choose a depcomp mode which is confused by this.
4931 #
4932 # We need to recreate these files for each test, as the compiler may
4933 # overwrite some of them when testing with obscure command lines.
4934 # This happens at least with the AIX C compiler.
4935 : > sub/conftest.c
4936 for i in 1 2 3 4 5 6; do
4937 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4938 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4939 # Solaris 10 /bin/sh.
4940 echo '/* dummy */' > sub/conftst$i.h
4941 done
4942 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4943
4944 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4945 # mode. It turns out that the SunPro C++ compiler does not properly
4946 # handle '-M -o', and we need to detect this. Also, some Intel
4947 # versions had trouble with output in subdirs.
4948 am__obj=sub/conftest.${OBJEXT-o}
4949 am__minus_obj="-o $am__obj"
4950 case $depmode in
4951 gcc)
4952 # This depmode causes a compiler race in universal mode.
4953 test "$am__universal" = false || continue
4954 ;;
4955 nosideeffect)
4956 # After this tag, mechanisms are not by side-effect, so they'll
4957 # only be used when explicitly requested.
4958 if test "x$enable_dependency_tracking" = xyes; then
4959 continue
4960 else
4961 break
4962 fi
4963 ;;
4964 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4965 # This compiler won't grok '-c -o', but also, the minuso test has
4966 # not run yet. These depmodes are late enough in the game, and
4967 # so weak that their functioning should not be impacted.
4968 am__obj=conftest.${OBJEXT-o}
4969 am__minus_obj=
4970 ;;
4971 none) break ;;
4972 esac
4973 if depmode=$depmode \
4974 source=sub/conftest.c object=$am__obj \
4975 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4976 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4977 >/dev/null 2>conftest.err &&
4978 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4979 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4980 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4981 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4982 # icc doesn't choke on unknown options, it will just issue warnings
4983 # or remarks (even with -Werror). So we grep stderr for any message
4984 # that says an option was ignored or not supported.
4985 # When given -MP, icc 7.0 and 7.1 complain thusly:
4986 # icc: Command line warning: ignoring option '-M'; no argument required
4987 # The diagnosis changed in icc 8.0:
4988 # icc: Command line remark: option '-MP' not supported
4989 if (grep 'ignoring option' conftest.err ||
4990 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4991 am_cv_CC_dependencies_compiler_type=$depmode
4992 break
4993 fi
4994 fi
4995 done
4996
4997 cd ..
4998 rm -rf conftest.dir
4999 else
5000 am_cv_CC_dependencies_compiler_type=none
5001 fi
5002
5003 fi
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5005 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5006 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5007
5008 if
5009 test "x$enable_dependency_tracking" != xno \
5010 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5011 am__fastdepCC_TRUE=
5012 am__fastdepCC_FALSE='#'
5013 else
5014 am__fastdepCC_TRUE='#'
5015 am__fastdepCC_FALSE=
5016 fi
5017
5018
5019 ac_ext=c
5020 ac_cpp='$CPP $CPPFLAGS'
5021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5025 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5026 # On Suns, sometimes $CPP names a directory.
5027 if test -n "$CPP" && test -d "$CPP"; then
5028 CPP=
5029 fi
5030 if test -z "$CPP"; then
5031 if ${ac_cv_prog_CPP+:} false; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 # Double quotes because CPP needs to be expanded
5035 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5036 do
5037 ac_preproc_ok=false
5038 for ac_c_preproc_warn_flag in '' yes
5039 do
5040 # Use a header file that comes with gcc, so configuring glibc
5041 # with a fresh cross-compiler works.
5042 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5043 # <limits.h> exists even on freestanding compilers.
5044 # On the NeXT, cc -E runs the code through the compiler's parser,
5045 # not just through cpp. "Syntax error" is here to catch this case.
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5048 #ifdef __STDC__
5049 # include <limits.h>
5050 #else
5051 # include <assert.h>
5052 #endif
5053 Syntax error
5054 _ACEOF
5055 if ac_fn_c_try_cpp "$LINENO"; then :
5056
5057 else
5058 # Broken: fails on valid input.
5059 continue
5060 fi
5061 rm -f conftest.err conftest.i conftest.$ac_ext
5062
5063 # OK, works on sane cases. Now check whether nonexistent headers
5064 # can be detected and how.
5065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5067 #include <ac_nonexistent.h>
5068 _ACEOF
5069 if ac_fn_c_try_cpp "$LINENO"; then :
5070 # Broken: success on invalid input.
5071 continue
5072 else
5073 # Passes both tests.
5074 ac_preproc_ok=:
5075 break
5076 fi
5077 rm -f conftest.err conftest.i conftest.$ac_ext
5078
5079 done
5080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5081 rm -f conftest.i conftest.err conftest.$ac_ext
5082 if $ac_preproc_ok; then :
5083 break
5084 fi
5085
5086 done
5087 ac_cv_prog_CPP=$CPP
5088
5089 fi
5090 CPP=$ac_cv_prog_CPP
5091 else
5092 ac_cv_prog_CPP=$CPP
5093 fi
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5095 $as_echo "$CPP" >&6; }
5096 ac_preproc_ok=false
5097 for ac_c_preproc_warn_flag in '' yes
5098 do
5099 # Use a header file that comes with gcc, so configuring glibc
5100 # with a fresh cross-compiler works.
5101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5102 # <limits.h> exists even on freestanding compilers.
5103 # On the NeXT, cc -E runs the code through the compiler's parser,
5104 # not just through cpp. "Syntax error" is here to catch this case.
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5107 #ifdef __STDC__
5108 # include <limits.h>
5109 #else
5110 # include <assert.h>
5111 #endif
5112 Syntax error
5113 _ACEOF
5114 if ac_fn_c_try_cpp "$LINENO"; then :
5115
5116 else
5117 # Broken: fails on valid input.
5118 continue
5119 fi
5120 rm -f conftest.err conftest.i conftest.$ac_ext
5121
5122 # OK, works on sane cases. Now check whether nonexistent headers
5123 # can be detected and how.
5124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5126 #include <ac_nonexistent.h>
5127 _ACEOF
5128 if ac_fn_c_try_cpp "$LINENO"; then :
5129 # Broken: success on invalid input.
5130 continue
5131 else
5132 # Passes both tests.
5133 ac_preproc_ok=:
5134 break
5135 fi
5136 rm -f conftest.err conftest.i conftest.$ac_ext
5137
5138 done
5139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5140 rm -f conftest.i conftest.err conftest.$ac_ext
5141 if $ac_preproc_ok; then :
5142
5143 else
5144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5146 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5147 See \`config.log' for more details" "$LINENO" 5; }
5148 fi
5149
5150 ac_ext=c
5151 ac_cpp='$CPP $CPPFLAGS'
5152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5155
5156 ac_ext=cpp
5157 ac_cpp='$CXXCPP $CPPFLAGS'
5158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5161 if test -z "$CXX"; then
5162 if test -n "$CCC"; then
5163 CXX=$CCC
5164 else
5165 if test -n "$ac_tool_prefix"; then
5166 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5167 do
5168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if ${ac_cv_prog_CXX+:} false; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 if test -n "$CXX"; then
5176 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5180 do
5181 IFS=$as_save_IFS
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 break 2
5188 fi
5189 done
5190 done
5191 IFS=$as_save_IFS
5192
5193 fi
5194 fi
5195 CXX=$ac_cv_prog_CXX
5196 if test -n "$CXX"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5198 $as_echo "$CXX" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5202 fi
5203
5204
5205 test -n "$CXX" && break
5206 done
5207 fi
5208 if test -z "$CXX"; then
5209 ac_ct_CXX=$CXX
5210 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5211 do
5212 # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy $ac_prog; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$ac_ct_CXX"; then
5220 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5224 do
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_ac_ct_CXX="$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5232 fi
5233 done
5234 done
5235 IFS=$as_save_IFS
5236
5237 fi
5238 fi
5239 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5240 if test -n "$ac_ct_CXX"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5242 $as_echo "$ac_ct_CXX" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5246 fi
5247
5248
5249 test -n "$ac_ct_CXX" && break
5250 done
5251
5252 if test "x$ac_ct_CXX" = x; then
5253 CXX="g++"
5254 else
5255 case $cross_compiling:$ac_tool_warned in
5256 yes:)
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5259 ac_tool_warned=yes ;;
5260 esac
5261 CXX=$ac_ct_CXX
5262 fi
5263 fi
5264
5265 fi
5266 fi
5267 # Provide some information about the compiler.
5268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5269 set X $ac_compile
5270 ac_compiler=$2
5271 for ac_option in --version -v -V -qversion; do
5272 { { ac_try="$ac_compiler $ac_option >&5"
5273 case "(($ac_try" in
5274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275 *) ac_try_echo=$ac_try;;
5276 esac
5277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5278 $as_echo "$ac_try_echo"; } >&5
5279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5280 ac_status=$?
5281 if test -s conftest.err; then
5282 sed '10a\
5283 ... rest of stderr output deleted ...
5284 10q' conftest.err >conftest.er1
5285 cat conftest.er1 >&5
5286 fi
5287 rm -f conftest.er1 conftest.err
5288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }
5290 done
5291
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5293 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5294 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5295 $as_echo_n "(cached) " >&6
5296 else
5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5298 /* end confdefs.h. */
5299
5300 int
5301 main ()
5302 {
5303 #ifndef __GNUC__
5304 choke me
5305 #endif
5306
5307 ;
5308 return 0;
5309 }
5310 _ACEOF
5311 if ac_fn_cxx_try_compile "$LINENO"; then :
5312 ac_compiler_gnu=yes
5313 else
5314 ac_compiler_gnu=no
5315 fi
5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5317 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5318
5319 fi
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5321 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5322 if test $ac_compiler_gnu = yes; then
5323 GXX=yes
5324 else
5325 GXX=
5326 fi
5327 ac_test_CXXFLAGS=${CXXFLAGS+set}
5328 ac_save_CXXFLAGS=$CXXFLAGS
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5330 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5331 if ${ac_cv_prog_cxx_g+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5335 ac_cxx_werror_flag=yes
5336 ac_cv_prog_cxx_g=no
5337 CXXFLAGS="-g"
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5340
5341 int
5342 main ()
5343 {
5344
5345 ;
5346 return 0;
5347 }
5348 _ACEOF
5349 if ac_fn_cxx_try_compile "$LINENO"; then :
5350 ac_cv_prog_cxx_g=yes
5351 else
5352 CXXFLAGS=""
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5355
5356 int
5357 main ()
5358 {
5359
5360 ;
5361 return 0;
5362 }
5363 _ACEOF
5364 if ac_fn_cxx_try_compile "$LINENO"; then :
5365
5366 else
5367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5368 CXXFLAGS="-g"
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5371
5372 int
5373 main ()
5374 {
5375
5376 ;
5377 return 0;
5378 }
5379 _ACEOF
5380 if ac_fn_cxx_try_compile "$LINENO"; then :
5381 ac_cv_prog_cxx_g=yes
5382 fi
5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 fi
5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5386 fi
5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5389 fi
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5391 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5392 if test "$ac_test_CXXFLAGS" = set; then
5393 CXXFLAGS=$ac_save_CXXFLAGS
5394 elif test $ac_cv_prog_cxx_g = yes; then
5395 if test "$GXX" = yes; then
5396 CXXFLAGS="-g -O2"
5397 else
5398 CXXFLAGS="-g"
5399 fi
5400 else
5401 if test "$GXX" = yes; then
5402 CXXFLAGS="-O2"
5403 else
5404 CXXFLAGS=
5405 fi
5406 fi
5407 ac_ext=c
5408 ac_cpp='$CPP $CPPFLAGS'
5409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5412
5413 depcc="$CXX" am_compiler_list=
5414
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5416 $as_echo_n "checking dependency style of $depcc... " >&6; }
5417 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5418 $as_echo_n "(cached) " >&6
5419 else
5420 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5421 # We make a subdir and do the tests there. Otherwise we can end up
5422 # making bogus files that we don't know about and never remove. For
5423 # instance it was reported that on HP-UX the gcc test will end up
5424 # making a dummy file named 'D' -- because '-MD' means "put the output
5425 # in D".
5426 rm -rf conftest.dir
5427 mkdir conftest.dir
5428 # Copy depcomp to subdir because otherwise we won't find it if we're
5429 # using a relative directory.
5430 cp "$am_depcomp" conftest.dir
5431 cd conftest.dir
5432 # We will build objects and dependencies in a subdirectory because
5433 # it helps to detect inapplicable dependency modes. For instance
5434 # both Tru64's cc and ICC support -MD to output dependencies as a
5435 # side effect of compilation, but ICC will put the dependencies in
5436 # the current directory while Tru64 will put them in the object
5437 # directory.
5438 mkdir sub
5439
5440 am_cv_CXX_dependencies_compiler_type=none
5441 if test "$am_compiler_list" = ""; then
5442 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5443 fi
5444 am__universal=false
5445 case " $depcc " in #(
5446 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5447 esac
5448
5449 for depmode in $am_compiler_list; do
5450 # Setup a source with many dependencies, because some compilers
5451 # like to wrap large dependency lists on column 80 (with \), and
5452 # we should not choose a depcomp mode which is confused by this.
5453 #
5454 # We need to recreate these files for each test, as the compiler may
5455 # overwrite some of them when testing with obscure command lines.
5456 # This happens at least with the AIX C compiler.
5457 : > sub/conftest.c
5458 for i in 1 2 3 4 5 6; do
5459 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5460 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5461 # Solaris 10 /bin/sh.
5462 echo '/* dummy */' > sub/conftst$i.h
5463 done
5464 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5465
5466 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5467 # mode. It turns out that the SunPro C++ compiler does not properly
5468 # handle '-M -o', and we need to detect this. Also, some Intel
5469 # versions had trouble with output in subdirs.
5470 am__obj=sub/conftest.${OBJEXT-o}
5471 am__minus_obj="-o $am__obj"
5472 case $depmode in
5473 gcc)
5474 # This depmode causes a compiler race in universal mode.
5475 test "$am__universal" = false || continue
5476 ;;
5477 nosideeffect)
5478 # After this tag, mechanisms are not by side-effect, so they'll
5479 # only be used when explicitly requested.
5480 if test "x$enable_dependency_tracking" = xyes; then
5481 continue
5482 else
5483 break
5484 fi
5485 ;;
5486 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5487 # This compiler won't grok '-c -o', but also, the minuso test has
5488 # not run yet. These depmodes are late enough in the game, and
5489 # so weak that their functioning should not be impacted.
5490 am__obj=conftest.${OBJEXT-o}
5491 am__minus_obj=
5492 ;;
5493 none) break ;;
5494 esac
5495 if depmode=$depmode \
5496 source=sub/conftest.c object=$am__obj \
5497 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5498 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5499 >/dev/null 2>conftest.err &&
5500 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5501 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5502 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5503 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5504 # icc doesn't choke on unknown options, it will just issue warnings
5505 # or remarks (even with -Werror). So we grep stderr for any message
5506 # that says an option was ignored or not supported.
5507 # When given -MP, icc 7.0 and 7.1 complain thusly:
5508 # icc: Command line warning: ignoring option '-M'; no argument required
5509 # The diagnosis changed in icc 8.0:
5510 # icc: Command line remark: option '-MP' not supported
5511 if (grep 'ignoring option' conftest.err ||
5512 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5513 am_cv_CXX_dependencies_compiler_type=$depmode
5514 break
5515 fi
5516 fi
5517 done
5518
5519 cd ..
5520 rm -rf conftest.dir
5521 else
5522 am_cv_CXX_dependencies_compiler_type=none
5523 fi
5524
5525 fi
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5527 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5528 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5529
5530 if
5531 test "x$enable_dependency_tracking" != xno \
5532 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5533 am__fastdepCXX_TRUE=
5534 am__fastdepCXX_FALSE='#'
5535 else
5536 am__fastdepCXX_TRUE='#'
5537 am__fastdepCXX_FALSE=
5538 fi
5539
5540
5541 case `pwd` in
5542 *\ * | *\ *)
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5544 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5545 esac
5546
5547
5548
5549 macro_version='2.4.6'
5550 macro_revision='2.4.6'
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564 ltmain=$ac_aux_dir/ltmain.sh
5565
5566 # Make sure we can run config.sub.
5567 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5568 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5569
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5571 $as_echo_n "checking build system type... " >&6; }
5572 if ${ac_cv_build+:} false; then :
5573 $as_echo_n "(cached) " >&6
5574 else
5575 ac_build_alias=$build_alias
5576 test "x$ac_build_alias" = x &&
5577 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5578 test "x$ac_build_alias" = x &&
5579 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5580 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5581 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5582
5583 fi
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5585 $as_echo "$ac_cv_build" >&6; }
5586 case $ac_cv_build in
5587 *-*-*) ;;
5588 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5589 esac
5590 build=$ac_cv_build
5591 ac_save_IFS=$IFS; IFS='-'
5592 set x $ac_cv_build
5593 shift
5594 build_cpu=$1
5595 build_vendor=$2
5596 shift; shift
5597 # Remember, the first character of IFS is used to create $*,
5598 # except with old shells:
5599 build_os=$*
5600 IFS=$ac_save_IFS
5601 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5602
5603
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5605 $as_echo_n "checking host system type... " >&6; }
5606 if ${ac_cv_host+:} false; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test "x$host_alias" = x; then
5610 ac_cv_host=$ac_cv_build
5611 else
5612 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5613 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5614 fi
5615
5616 fi
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5618 $as_echo "$ac_cv_host" >&6; }
5619 case $ac_cv_host in
5620 *-*-*) ;;
5621 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5622 esac
5623 host=$ac_cv_host
5624 ac_save_IFS=$IFS; IFS='-'
5625 set x $ac_cv_host
5626 shift
5627 host_cpu=$1
5628 host_vendor=$2
5629 shift; shift
5630 # Remember, the first character of IFS is used to create $*,
5631 # except with old shells:
5632 host_os=$*
5633 IFS=$ac_save_IFS
5634 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5635
5636
5637 # Backslashify metacharacters that are still active within
5638 # double-quoted strings.
5639 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5640
5641 # Same as above, but do not quote variable references.
5642 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5643
5644 # Sed substitution to delay expansion of an escaped shell variable in a
5645 # double_quote_subst'ed string.
5646 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5647
5648 # Sed substitution to delay expansion of an escaped single quote.
5649 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5650
5651 # Sed substitution to avoid accidental globbing in evaled expressions
5652 no_glob_subst='s/\*/\\\*/g'
5653
5654 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5655 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5656 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5657
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5659 $as_echo_n "checking how to print strings... " >&6; }
5660 # Test print first, because it will be a builtin if present.
5661 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5662 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5663 ECHO='print -r --'
5664 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5665 ECHO='printf %s\n'
5666 else
5667 # Use this function as a fallback that always works.
5668 func_fallback_echo ()
5669 {
5670 eval 'cat <<_LTECHO_EOF
5671 $1
5672 _LTECHO_EOF'
5673 }
5674 ECHO='func_fallback_echo'
5675 fi
5676
5677 # func_echo_all arg...
5678 # Invoke $ECHO with all args, space-separated.
5679 func_echo_all ()
5680 {
5681 $ECHO ""
5682 }
5683
5684 case $ECHO in
5685 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5686 $as_echo "printf" >&6; } ;;
5687 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5688 $as_echo "print -r" >&6; } ;;
5689 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5690 $as_echo "cat" >&6; } ;;
5691 esac
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5707 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5708 if ${ac_cv_path_SED+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
5711 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5712 for ac_i in 1 2 3 4 5 6 7; do
5713 ac_script="$ac_script$as_nl$ac_script"
5714 done
5715 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5716 { ac_script=; unset ac_script;}
5717 if test -z "$SED"; then
5718 ac_path_SED_found=false
5719 # Loop through the user's path and test for each of PROGNAME-LIST
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5722 do
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_prog in sed gsed; do
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5728 as_fn_executable_p "$ac_path_SED" || continue
5729 # Check for GNU ac_path_SED and select it if it is found.
5730 # Check for GNU $ac_path_SED
5731 case `"$ac_path_SED" --version 2>&1` in
5732 *GNU*)
5733 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5734 *)
5735 ac_count=0
5736 $as_echo_n 0123456789 >"conftest.in"
5737 while :
5738 do
5739 cat "conftest.in" "conftest.in" >"conftest.tmp"
5740 mv "conftest.tmp" "conftest.in"
5741 cp "conftest.in" "conftest.nl"
5742 $as_echo '' >> "conftest.nl"
5743 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5744 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5745 as_fn_arith $ac_count + 1 && ac_count=$as_val
5746 if test $ac_count -gt ${ac_path_SED_max-0}; then
5747 # Best one so far, save it but keep looking for a better one
5748 ac_cv_path_SED="$ac_path_SED"
5749 ac_path_SED_max=$ac_count
5750 fi
5751 # 10*(2^10) chars as input seems more than enough
5752 test $ac_count -gt 10 && break
5753 done
5754 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5755 esac
5756
5757 $ac_path_SED_found && break 3
5758 done
5759 done
5760 done
5761 IFS=$as_save_IFS
5762 if test -z "$ac_cv_path_SED"; then
5763 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5764 fi
5765 else
5766 ac_cv_path_SED=$SED
5767 fi
5768
5769 fi
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5771 $as_echo "$ac_cv_path_SED" >&6; }
5772 SED="$ac_cv_path_SED"
5773 rm -f conftest.sed
5774
5775 test -z "$SED" && SED=sed
5776 Xsed="$SED -e 1s/^X//"
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5789 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5790 if ${ac_cv_path_GREP+:} false; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 if test -z "$GREP"; then
5794 ac_path_GREP_found=false
5795 # Loop through the user's path and test for each of PROGNAME-LIST
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5798 do
5799 IFS=$as_save_IFS
5800 test -z "$as_dir" && as_dir=.
5801 for ac_prog in grep ggrep; do
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5804 as_fn_executable_p "$ac_path_GREP" || continue
5805 # Check for GNU ac_path_GREP and select it if it is found.
5806 # Check for GNU $ac_path_GREP
5807 case `"$ac_path_GREP" --version 2>&1` in
5808 *GNU*)
5809 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5810 *)
5811 ac_count=0
5812 $as_echo_n 0123456789 >"conftest.in"
5813 while :
5814 do
5815 cat "conftest.in" "conftest.in" >"conftest.tmp"
5816 mv "conftest.tmp" "conftest.in"
5817 cp "conftest.in" "conftest.nl"
5818 $as_echo 'GREP' >> "conftest.nl"
5819 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5820 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5821 as_fn_arith $ac_count + 1 && ac_count=$as_val
5822 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5823 # Best one so far, save it but keep looking for a better one
5824 ac_cv_path_GREP="$ac_path_GREP"
5825 ac_path_GREP_max=$ac_count
5826 fi
5827 # 10*(2^10) chars as input seems more than enough
5828 test $ac_count -gt 10 && break
5829 done
5830 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5831 esac
5832
5833 $ac_path_GREP_found && break 3
5834 done
5835 done
5836 done
5837 IFS=$as_save_IFS
5838 if test -z "$ac_cv_path_GREP"; then
5839 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5840 fi
5841 else
5842 ac_cv_path_GREP=$GREP
5843 fi
5844
5845 fi
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5847 $as_echo "$ac_cv_path_GREP" >&6; }
5848 GREP="$ac_cv_path_GREP"
5849
5850
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5852 $as_echo_n "checking for egrep... " >&6; }
5853 if ${ac_cv_path_EGREP+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5857 then ac_cv_path_EGREP="$GREP -E"
5858 else
5859 if test -z "$EGREP"; then
5860 ac_path_EGREP_found=false
5861 # Loop through the user's path and test for each of PROGNAME-LIST
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5864 do
5865 IFS=$as_save_IFS
5866 test -z "$as_dir" && as_dir=.
5867 for ac_prog in egrep; do
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5870 as_fn_executable_p "$ac_path_EGREP" || continue
5871 # Check for GNU ac_path_EGREP and select it if it is found.
5872 # Check for GNU $ac_path_EGREP
5873 case `"$ac_path_EGREP" --version 2>&1` in
5874 *GNU*)
5875 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5876 *)
5877 ac_count=0
5878 $as_echo_n 0123456789 >"conftest.in"
5879 while :
5880 do
5881 cat "conftest.in" "conftest.in" >"conftest.tmp"
5882 mv "conftest.tmp" "conftest.in"
5883 cp "conftest.in" "conftest.nl"
5884 $as_echo 'EGREP' >> "conftest.nl"
5885 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5886 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5887 as_fn_arith $ac_count + 1 && ac_count=$as_val
5888 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5889 # Best one so far, save it but keep looking for a better one
5890 ac_cv_path_EGREP="$ac_path_EGREP"
5891 ac_path_EGREP_max=$ac_count
5892 fi
5893 # 10*(2^10) chars as input seems more than enough
5894 test $ac_count -gt 10 && break
5895 done
5896 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5897 esac
5898
5899 $ac_path_EGREP_found && break 3
5900 done
5901 done
5902 done
5903 IFS=$as_save_IFS
5904 if test -z "$ac_cv_path_EGREP"; then
5905 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5906 fi
5907 else
5908 ac_cv_path_EGREP=$EGREP
5909 fi
5910
5911 fi
5912 fi
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5914 $as_echo "$ac_cv_path_EGREP" >&6; }
5915 EGREP="$ac_cv_path_EGREP"
5916
5917
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5919 $as_echo_n "checking for fgrep... " >&6; }
5920 if ${ac_cv_path_FGREP+:} false; then :
5921 $as_echo_n "(cached) " >&6
5922 else
5923 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5924 then ac_cv_path_FGREP="$GREP -F"
5925 else
5926 if test -z "$FGREP"; then
5927 ac_path_FGREP_found=false
5928 # Loop through the user's path and test for each of PROGNAME-LIST
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5931 do
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_prog in fgrep; do
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5937 as_fn_executable_p "$ac_path_FGREP" || continue
5938 # Check for GNU ac_path_FGREP and select it if it is found.
5939 # Check for GNU $ac_path_FGREP
5940 case `"$ac_path_FGREP" --version 2>&1` in
5941 *GNU*)
5942 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5943 *)
5944 ac_count=0
5945 $as_echo_n 0123456789 >"conftest.in"
5946 while :
5947 do
5948 cat "conftest.in" "conftest.in" >"conftest.tmp"
5949 mv "conftest.tmp" "conftest.in"
5950 cp "conftest.in" "conftest.nl"
5951 $as_echo 'FGREP' >> "conftest.nl"
5952 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5954 as_fn_arith $ac_count + 1 && ac_count=$as_val
5955 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5956 # Best one so far, save it but keep looking for a better one
5957 ac_cv_path_FGREP="$ac_path_FGREP"
5958 ac_path_FGREP_max=$ac_count
5959 fi
5960 # 10*(2^10) chars as input seems more than enough
5961 test $ac_count -gt 10 && break
5962 done
5963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5964 esac
5965
5966 $ac_path_FGREP_found && break 3
5967 done
5968 done
5969 done
5970 IFS=$as_save_IFS
5971 if test -z "$ac_cv_path_FGREP"; then
5972 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5973 fi
5974 else
5975 ac_cv_path_FGREP=$FGREP
5976 fi
5977
5978 fi
5979 fi
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5981 $as_echo "$ac_cv_path_FGREP" >&6; }
5982 FGREP="$ac_cv_path_FGREP"
5983
5984
5985 test -z "$GREP" && GREP=grep
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005 # Check whether --with-gnu-ld was given.
6006 if test "${with_gnu_ld+set}" = set; then :
6007 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6008 else
6009 with_gnu_ld=no
6010 fi
6011
6012 ac_prog=ld
6013 if test yes = "$GCC"; then
6014 # Check if gcc -print-prog-name=ld gives a path.
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6016 $as_echo_n "checking for ld used by $CC... " >&6; }
6017 case $host in
6018 *-*-mingw*)
6019 # gcc leaves a trailing carriage return, which upsets mingw
6020 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6021 *)
6022 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6023 esac
6024 case $ac_prog in
6025 # Accept absolute paths.
6026 [\\/]* | ?:[\\/]*)
6027 re_direlt='/[^/][^/]*/\.\./'
6028 # Canonicalize the pathname of ld
6029 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6030 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6031 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6032 done
6033 test -z "$LD" && LD=$ac_prog
6034 ;;
6035 "")
6036 # If it fails, then pretend we aren't using GCC.
6037 ac_prog=ld
6038 ;;
6039 *)
6040 # If it is relative, then search for the first ld in PATH.
6041 with_gnu_ld=unknown
6042 ;;
6043 esac
6044 elif test yes = "$with_gnu_ld"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6046 $as_echo_n "checking for GNU ld... " >&6; }
6047 else
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6049 $as_echo_n "checking for non-GNU ld... " >&6; }
6050 fi
6051 if ${lt_cv_path_LD+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -z "$LD"; then
6055 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6056 for ac_dir in $PATH; do
6057 IFS=$lt_save_ifs
6058 test -z "$ac_dir" && ac_dir=.
6059 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6060 lt_cv_path_LD=$ac_dir/$ac_prog
6061 # Check to see if the program is GNU ld. I'd rather use --version,
6062 # but apparently some variants of GNU ld only accept -v.
6063 # Break only if it was the GNU/non-GNU ld that we prefer.
6064 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6065 *GNU* | *'with BFD'*)
6066 test no != "$with_gnu_ld" && break
6067 ;;
6068 *)
6069 test yes != "$with_gnu_ld" && break
6070 ;;
6071 esac
6072 fi
6073 done
6074 IFS=$lt_save_ifs
6075 else
6076 lt_cv_path_LD=$LD # Let the user override the test with a path.
6077 fi
6078 fi
6079
6080 LD=$lt_cv_path_LD
6081 if test -n "$LD"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6083 $as_echo "$LD" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6087 fi
6088 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6090 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6091 if ${lt_cv_prog_gnu_ld+:} false; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6095 case `$LD -v 2>&1 </dev/null` in
6096 *GNU* | *'with BFD'*)
6097 lt_cv_prog_gnu_ld=yes
6098 ;;
6099 *)
6100 lt_cv_prog_gnu_ld=no
6101 ;;
6102 esac
6103 fi
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6105 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6106 with_gnu_ld=$lt_cv_prog_gnu_ld
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6117 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6118 if ${lt_cv_path_NM+:} false; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 if test -n "$NM"; then
6122 # Let the user override the test.
6123 lt_cv_path_NM=$NM
6124 else
6125 lt_nm_to_check=${ac_tool_prefix}nm
6126 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6127 lt_nm_to_check="$lt_nm_to_check nm"
6128 fi
6129 for lt_tmp_nm in $lt_nm_to_check; do
6130 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6131 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6132 IFS=$lt_save_ifs
6133 test -z "$ac_dir" && ac_dir=.
6134 tmp_nm=$ac_dir/$lt_tmp_nm
6135 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6136 # Check to see if the nm accepts a BSD-compat flag.
6137 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6138 # nm: unknown option "B" ignored
6139 # Tru64's nm complains that /dev/null is an invalid object file
6140 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6141 case $build_os in
6142 mingw*) lt_bad_file=conftest.nm/nofile ;;
6143 *) lt_bad_file=/dev/null ;;
6144 esac
6145 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6146 *$lt_bad_file* | *'Invalid file or object type'*)
6147 lt_cv_path_NM="$tmp_nm -B"
6148 break 2
6149 ;;
6150 *)
6151 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6152 */dev/null*)
6153 lt_cv_path_NM="$tmp_nm -p"
6154 break 2
6155 ;;
6156 *)
6157 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6158 continue # so that we can try to find one that supports BSD flags
6159 ;;
6160 esac
6161 ;;
6162 esac
6163 fi
6164 done
6165 IFS=$lt_save_ifs
6166 done
6167 : ${lt_cv_path_NM=no}
6168 fi
6169 fi
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6171 $as_echo "$lt_cv_path_NM" >&6; }
6172 if test no != "$lt_cv_path_NM"; then
6173 NM=$lt_cv_path_NM
6174 else
6175 # Didn't find any BSD compatible name lister, look for dumpbin.
6176 if test -n "$DUMPBIN"; then :
6177 # Let the user override the test.
6178 else
6179 if test -n "$ac_tool_prefix"; then
6180 for ac_prog in dumpbin "link -dump"
6181 do
6182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if ${ac_cv_prog_DUMPBIN+:} false; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$DUMPBIN"; then
6190 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6194 do
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6199 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6202 fi
6203 done
6204 done
6205 IFS=$as_save_IFS
6206
6207 fi
6208 fi
6209 DUMPBIN=$ac_cv_prog_DUMPBIN
6210 if test -n "$DUMPBIN"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6212 $as_echo "$DUMPBIN" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6216 fi
6217
6218
6219 test -n "$DUMPBIN" && break
6220 done
6221 fi
6222 if test -z "$DUMPBIN"; then
6223 ac_ct_DUMPBIN=$DUMPBIN
6224 for ac_prog in dumpbin "link -dump"
6225 do
6226 # Extract the first word of "$ac_prog", so it can be a program name with args.
6227 set dummy $ac_prog; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6231 $as_echo_n "(cached) " >&6
6232 else
6233 if test -n "$ac_ct_DUMPBIN"; then
6234 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6238 do
6239 IFS=$as_save_IFS
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 break 2
6246 fi
6247 done
6248 done
6249 IFS=$as_save_IFS
6250
6251 fi
6252 fi
6253 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6254 if test -n "$ac_ct_DUMPBIN"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6256 $as_echo "$ac_ct_DUMPBIN" >&6; }
6257 else
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6260 fi
6261
6262
6263 test -n "$ac_ct_DUMPBIN" && break
6264 done
6265
6266 if test "x$ac_ct_DUMPBIN" = x; then
6267 DUMPBIN=":"
6268 else
6269 case $cross_compiling:$ac_tool_warned in
6270 yes:)
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6273 ac_tool_warned=yes ;;
6274 esac
6275 DUMPBIN=$ac_ct_DUMPBIN
6276 fi
6277 fi
6278
6279 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6280 *COFF*)
6281 DUMPBIN="$DUMPBIN -symbols -headers"
6282 ;;
6283 *)
6284 DUMPBIN=:
6285 ;;
6286 esac
6287 fi
6288
6289 if test : != "$DUMPBIN"; then
6290 NM=$DUMPBIN
6291 fi
6292 fi
6293 test -z "$NM" && NM=nm
6294
6295
6296
6297
6298
6299
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6301 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6302 if ${lt_cv_nm_interface+:} false; then :
6303 $as_echo_n "(cached) " >&6
6304 else
6305 lt_cv_nm_interface="BSD nm"
6306 echo "int some_variable = 0;" > conftest.$ac_ext
6307 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6308 (eval "$ac_compile" 2>conftest.err)
6309 cat conftest.err >&5
6310 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6311 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6312 cat conftest.err >&5
6313 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6314 cat conftest.out >&5
6315 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6316 lt_cv_nm_interface="MS dumpbin"
6317 fi
6318 rm -f conftest*
6319 fi
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6321 $as_echo "$lt_cv_nm_interface" >&6; }
6322
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6324 $as_echo_n "checking whether ln -s works... " >&6; }
6325 LN_S=$as_ln_s
6326 if test "$LN_S" = "ln -s"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6328 $as_echo "yes" >&6; }
6329 else
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6331 $as_echo "no, using $LN_S" >&6; }
6332 fi
6333
6334 # find the maximum length of command line arguments
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6336 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6337 if ${lt_cv_sys_max_cmd_len+:} false; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 i=0
6341 teststring=ABCD
6342
6343 case $build_os in
6344 msdosdjgpp*)
6345 # On DJGPP, this test can blow up pretty badly due to problems in libc
6346 # (any single argument exceeding 2000 bytes causes a buffer overrun
6347 # during glob expansion). Even if it were fixed, the result of this
6348 # check would be larger than it should be.
6349 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6350 ;;
6351
6352 gnu*)
6353 # Under GNU Hurd, this test is not required because there is
6354 # no limit to the length of command line arguments.
6355 # Libtool will interpret -1 as no limit whatsoever
6356 lt_cv_sys_max_cmd_len=-1;
6357 ;;
6358
6359 cygwin* | mingw* | cegcc*)
6360 # On Win9x/ME, this test blows up -- it succeeds, but takes
6361 # about 5 minutes as the teststring grows exponentially.
6362 # Worse, since 9x/ME are not pre-emptively multitasking,
6363 # you end up with a "frozen" computer, even though with patience
6364 # the test eventually succeeds (with a max line length of 256k).
6365 # Instead, let's just punt: use the minimum linelength reported by
6366 # all of the supported platforms: 8192 (on NT/2K/XP).
6367 lt_cv_sys_max_cmd_len=8192;
6368 ;;
6369
6370 mint*)
6371 # On MiNT this can take a long time and run out of memory.
6372 lt_cv_sys_max_cmd_len=8192;
6373 ;;
6374
6375 amigaos*)
6376 # On AmigaOS with pdksh, this test takes hours, literally.
6377 # So we just punt and use a minimum line length of 8192.
6378 lt_cv_sys_max_cmd_len=8192;
6379 ;;
6380
6381 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6382 # This has been around since 386BSD, at least. Likely further.
6383 if test -x /sbin/sysctl; then
6384 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6385 elif test -x /usr/sbin/sysctl; then
6386 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6387 else
6388 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6389 fi
6390 # And add a safety zone
6391 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6392 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6393 ;;
6394
6395 interix*)
6396 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6397 lt_cv_sys_max_cmd_len=196608
6398 ;;
6399
6400 os2*)
6401 # The test takes a long time on OS/2.
6402 lt_cv_sys_max_cmd_len=8192
6403 ;;
6404
6405 osf*)
6406 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6407 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6408 # nice to cause kernel panics so lets avoid the loop below.
6409 # First set a reasonable default.
6410 lt_cv_sys_max_cmd_len=16384
6411 #
6412 if test -x /sbin/sysconfig; then
6413 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6414 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6415 esac
6416 fi
6417 ;;
6418 sco3.2v5*)
6419 lt_cv_sys_max_cmd_len=102400
6420 ;;
6421 sysv5* | sco5v6* | sysv4.2uw2*)
6422 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6423 if test -n "$kargmax"; then
6424 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6425 else
6426 lt_cv_sys_max_cmd_len=32768
6427 fi
6428 ;;
6429 *)
6430 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6431 if test -n "$lt_cv_sys_max_cmd_len" && \
6432 test undefined != "$lt_cv_sys_max_cmd_len"; then
6433 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6434 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6435 else
6436 # Make teststring a little bigger before we do anything with it.
6437 # a 1K string should be a reasonable start.
6438 for i in 1 2 3 4 5 6 7 8; do
6439 teststring=$teststring$teststring
6440 done
6441 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6442 # If test is not a shell built-in, we'll probably end up computing a
6443 # maximum length that is only half of the actual maximum length, but
6444 # we can't tell.
6445 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6446 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6447 test 17 != "$i" # 1/2 MB should be enough
6448 do
6449 i=`expr $i + 1`
6450 teststring=$teststring$teststring
6451 done
6452 # Only check the string length outside the loop.
6453 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6454 teststring=
6455 # Add a significant safety factor because C++ compilers can tack on
6456 # massive amounts of additional arguments before passing them to the
6457 # linker. It appears as though 1/2 is a usable value.
6458 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6459 fi
6460 ;;
6461 esac
6462
6463 fi
6464
6465 if test -n "$lt_cv_sys_max_cmd_len"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6467 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6470 $as_echo "none" >&6; }
6471 fi
6472 max_cmd_len=$lt_cv_sys_max_cmd_len
6473
6474
6475
6476
6477
6478
6479 : ${CP="cp -f"}
6480 : ${MV="mv -f"}
6481 : ${RM="rm -f"}
6482
6483 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6484 lt_unset=unset
6485 else
6486 lt_unset=false
6487 fi
6488
6489
6490
6491
6492
6493 # test EBCDIC or ASCII
6494 case `echo X|tr X '\101'` in
6495 A) # ASCII based system
6496 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6497 lt_SP2NL='tr \040 \012'
6498 lt_NL2SP='tr \015\012 \040\040'
6499 ;;
6500 *) # EBCDIC based system
6501 lt_SP2NL='tr \100 \n'
6502 lt_NL2SP='tr \r\n \100\100'
6503 ;;
6504 esac
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6515 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6516 if ${lt_cv_to_host_file_cmd+:} false; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 case $host in
6520 *-*-mingw* )
6521 case $build in
6522 *-*-mingw* ) # actually msys
6523 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6524 ;;
6525 *-*-cygwin* )
6526 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6527 ;;
6528 * ) # otherwise, assume *nix
6529 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6530 ;;
6531 esac
6532 ;;
6533 *-*-cygwin* )
6534 case $build in
6535 *-*-mingw* ) # actually msys
6536 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6537 ;;
6538 *-*-cygwin* )
6539 lt_cv_to_host_file_cmd=func_convert_file_noop
6540 ;;
6541 * ) # otherwise, assume *nix
6542 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6543 ;;
6544 esac
6545 ;;
6546 * ) # unhandled hosts (and "normal" native builds)
6547 lt_cv_to_host_file_cmd=func_convert_file_noop
6548 ;;
6549 esac
6550
6551 fi
6552
6553 to_host_file_cmd=$lt_cv_to_host_file_cmd
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6555 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6556
6557
6558
6559
6560
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6562 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6563 if ${lt_cv_to_tool_file_cmd+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 #assume ordinary cross tools, or native build.
6567 lt_cv_to_tool_file_cmd=func_convert_file_noop
6568 case $host in
6569 *-*-mingw* )
6570 case $build in
6571 *-*-mingw* ) # actually msys
6572 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6573 ;;
6574 esac
6575 ;;
6576 esac
6577
6578 fi
6579
6580 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6582 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6583
6584
6585
6586
6587
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6589 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6590 if ${lt_cv_ld_reload_flag+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 lt_cv_ld_reload_flag='-r'
6594 fi
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6596 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6597 reload_flag=$lt_cv_ld_reload_flag
6598 case $reload_flag in
6599 "" | " "*) ;;
6600 *) reload_flag=" $reload_flag" ;;
6601 esac
6602 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6603 case $host_os in
6604 cygwin* | mingw* | pw32* | cegcc*)
6605 if test yes != "$GCC"; then
6606 reload_cmds=false
6607 fi
6608 ;;
6609 darwin*)
6610 if test yes = "$GCC"; then
6611 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6612 else
6613 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6614 fi
6615 ;;
6616 esac
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626 if test -n "$ac_tool_prefix"; then
6627 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_OBJDUMP+:} false; then :
6632 $as_echo_n "(cached) " >&6
6633 else
6634 if test -n "$OBJDUMP"; then
6635 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6639 do
6640 IFS=$as_save_IFS
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 break 2
6647 fi
6648 done
6649 done
6650 IFS=$as_save_IFS
6651
6652 fi
6653 fi
6654 OBJDUMP=$ac_cv_prog_OBJDUMP
6655 if test -n "$OBJDUMP"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6657 $as_echo "$OBJDUMP" >&6; }
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6661 fi
6662
6663
6664 fi
6665 if test -z "$ac_cv_prog_OBJDUMP"; then
6666 ac_ct_OBJDUMP=$OBJDUMP
6667 # Extract the first word of "objdump", so it can be a program name with args.
6668 set dummy objdump; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6672 $as_echo_n "(cached) " >&6
6673 else
6674 if test -n "$ac_ct_OBJDUMP"; then
6675 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6679 do
6680 IFS=$as_save_IFS
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 break 2
6687 fi
6688 done
6689 done
6690 IFS=$as_save_IFS
6691
6692 fi
6693 fi
6694 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6695 if test -n "$ac_ct_OBJDUMP"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6697 $as_echo "$ac_ct_OBJDUMP" >&6; }
6698 else
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6701 fi
6702
6703 if test "x$ac_ct_OBJDUMP" = x; then
6704 OBJDUMP="false"
6705 else
6706 case $cross_compiling:$ac_tool_warned in
6707 yes:)
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6710 ac_tool_warned=yes ;;
6711 esac
6712 OBJDUMP=$ac_ct_OBJDUMP
6713 fi
6714 else
6715 OBJDUMP="$ac_cv_prog_OBJDUMP"
6716 fi
6717
6718 test -z "$OBJDUMP" && OBJDUMP=objdump
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6729 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6730 if ${lt_cv_deplibs_check_method+:} false; then :
6731 $as_echo_n "(cached) " >&6
6732 else
6733 lt_cv_file_magic_cmd='$MAGIC_CMD'
6734 lt_cv_file_magic_test_file=
6735 lt_cv_deplibs_check_method='unknown'
6736 # Need to set the preceding variable on all platforms that support
6737 # interlibrary dependencies.
6738 # 'none' -- dependencies not supported.
6739 # 'unknown' -- same as none, but documents that we really don't know.
6740 # 'pass_all' -- all dependencies passed with no checks.
6741 # 'test_compile' -- check by making test program.
6742 # 'file_magic [[regex]]' -- check by looking for files in library path
6743 # that responds to the $file_magic_cmd with a given extended regex.
6744 # If you have 'file' or equivalent on your system and you're not sure
6745 # whether 'pass_all' will *always* work, you probably want this one.
6746
6747 case $host_os in
6748 aix[4-9]*)
6749 lt_cv_deplibs_check_method=pass_all
6750 ;;
6751
6752 beos*)
6753 lt_cv_deplibs_check_method=pass_all
6754 ;;
6755
6756 bsdi[45]*)
6757 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6758 lt_cv_file_magic_cmd='/usr/bin/file -L'
6759 lt_cv_file_magic_test_file=/shlib/libc.so
6760 ;;
6761
6762 cygwin*)
6763 # func_win32_libid is a shell function defined in ltmain.sh
6764 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6765 lt_cv_file_magic_cmd='func_win32_libid'
6766 ;;
6767
6768 mingw* | pw32*)
6769 # Base MSYS/MinGW do not provide the 'file' command needed by
6770 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6771 # unless we find 'file', for example because we are cross-compiling.
6772 if ( file / ) >/dev/null 2>&1; then
6773 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6774 lt_cv_file_magic_cmd='func_win32_libid'
6775 else
6776 # Keep this pattern in sync with the one in func_win32_libid.
6777 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6778 lt_cv_file_magic_cmd='$OBJDUMP -f'
6779 fi
6780 ;;
6781
6782 cegcc*)
6783 # use the weaker test based on 'objdump'. See mingw*.
6784 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6785 lt_cv_file_magic_cmd='$OBJDUMP -f'
6786 ;;
6787
6788 darwin* | rhapsody*)
6789 lt_cv_deplibs_check_method=pass_all
6790 ;;
6791
6792 freebsd* | dragonfly*)
6793 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6794 case $host_cpu in
6795 i*86 )
6796 # Not sure whether the presence of OpenBSD here was a mistake.
6797 # Let's accept both of them until this is cleared up.
6798 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6799 lt_cv_file_magic_cmd=/usr/bin/file
6800 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6801 ;;
6802 esac
6803 else
6804 lt_cv_deplibs_check_method=pass_all
6805 fi
6806 ;;
6807
6808 haiku*)
6809 lt_cv_deplibs_check_method=pass_all
6810 ;;
6811
6812 hpux10.20* | hpux11*)
6813 lt_cv_file_magic_cmd=/usr/bin/file
6814 case $host_cpu in
6815 ia64*)
6816 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6817 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6818 ;;
6819 hppa*64*)
6820 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]'
6821 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6822 ;;
6823 *)
6824 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6825 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6826 ;;
6827 esac
6828 ;;
6829
6830 interix[3-9]*)
6831 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6832 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6833 ;;
6834
6835 irix5* | irix6* | nonstopux*)
6836 case $LD in
6837 *-32|*"-32 ") libmagic=32-bit;;
6838 *-n32|*"-n32 ") libmagic=N32;;
6839 *-64|*"-64 ") libmagic=64-bit;;
6840 *) libmagic=never-match;;
6841 esac
6842 lt_cv_deplibs_check_method=pass_all
6843 ;;
6844
6845 # This must be glibc/ELF.
6846 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6847 lt_cv_deplibs_check_method=pass_all
6848 ;;
6849
6850 netbsd* | netbsdelf*-gnu)
6851 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6852 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6853 else
6854 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6855 fi
6856 ;;
6857
6858 newos6*)
6859 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6860 lt_cv_file_magic_cmd=/usr/bin/file
6861 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6862 ;;
6863
6864 *nto* | *qnx*)
6865 lt_cv_deplibs_check_method=pass_all
6866 ;;
6867
6868 openbsd* | bitrig*)
6869 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6870 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6871 else
6872 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6873 fi
6874 ;;
6875
6876 osf3* | osf4* | osf5*)
6877 lt_cv_deplibs_check_method=pass_all
6878 ;;
6879
6880 rdos*)
6881 lt_cv_deplibs_check_method=pass_all
6882 ;;
6883
6884 solaris*)
6885 lt_cv_deplibs_check_method=pass_all
6886 ;;
6887
6888 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6889 lt_cv_deplibs_check_method=pass_all
6890 ;;
6891
6892 sysv4 | sysv4.3*)
6893 case $host_vendor in
6894 motorola)
6895 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]'
6896 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6897 ;;
6898 ncr)
6899 lt_cv_deplibs_check_method=pass_all
6900 ;;
6901 sequent)
6902 lt_cv_file_magic_cmd='/bin/file'
6903 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6904 ;;
6905 sni)
6906 lt_cv_file_magic_cmd='/bin/file'
6907 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6908 lt_cv_file_magic_test_file=/lib/libc.so
6909 ;;
6910 siemens)
6911 lt_cv_deplibs_check_method=pass_all
6912 ;;
6913 pc)
6914 lt_cv_deplibs_check_method=pass_all
6915 ;;
6916 esac
6917 ;;
6918
6919 tpf*)
6920 lt_cv_deplibs_check_method=pass_all
6921 ;;
6922 os2*)
6923 lt_cv_deplibs_check_method=pass_all
6924 ;;
6925 esac
6926
6927 fi
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6929 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6930
6931 file_magic_glob=
6932 want_nocaseglob=no
6933 if test "$build" = "$host"; then
6934 case $host_os in
6935 mingw* | pw32*)
6936 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6937 want_nocaseglob=yes
6938 else
6939 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6940 fi
6941 ;;
6942 esac
6943 fi
6944
6945 file_magic_cmd=$lt_cv_file_magic_cmd
6946 deplibs_check_method=$lt_cv_deplibs_check_method
6947 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970 if test -n "$ac_tool_prefix"; then
6971 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6972 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if ${ac_cv_prog_DLLTOOL+:} false; then :
6976 $as_echo_n "(cached) " >&6
6977 else
6978 if test -n "$DLLTOOL"; then
6979 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6980 else
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 for as_dir in $PATH
6983 do
6984 IFS=$as_save_IFS
6985 test -z "$as_dir" && as_dir=.
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6988 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 break 2
6991 fi
6992 done
6993 done
6994 IFS=$as_save_IFS
6995
6996 fi
6997 fi
6998 DLLTOOL=$ac_cv_prog_DLLTOOL
6999 if test -n "$DLLTOOL"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7001 $as_echo "$DLLTOOL" >&6; }
7002 else
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 $as_echo "no" >&6; }
7005 fi
7006
7007
7008 fi
7009 if test -z "$ac_cv_prog_DLLTOOL"; then
7010 ac_ct_DLLTOOL=$DLLTOOL
7011 # Extract the first word of "dlltool", so it can be a program name with args.
7012 set dummy dlltool; ac_word=$2
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 $as_echo_n "checking for $ac_word... " >&6; }
7015 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7016 $as_echo_n "(cached) " >&6
7017 else
7018 if test -n "$ac_ct_DLLTOOL"; then
7019 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7020 else
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 for as_dir in $PATH
7023 do
7024 IFS=$as_save_IFS
7025 test -z "$as_dir" && as_dir=.
7026 for ac_exec_ext in '' $ac_executable_extensions; do
7027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7028 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 break 2
7031 fi
7032 done
7033 done
7034 IFS=$as_save_IFS
7035
7036 fi
7037 fi
7038 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7039 if test -n "$ac_ct_DLLTOOL"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7041 $as_echo "$ac_ct_DLLTOOL" >&6; }
7042 else
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7045 fi
7046
7047 if test "x$ac_ct_DLLTOOL" = x; then
7048 DLLTOOL="false"
7049 else
7050 case $cross_compiling:$ac_tool_warned in
7051 yes:)
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7054 ac_tool_warned=yes ;;
7055 esac
7056 DLLTOOL=$ac_ct_DLLTOOL
7057 fi
7058 else
7059 DLLTOOL="$ac_cv_prog_DLLTOOL"
7060 fi
7061
7062 test -z "$DLLTOOL" && DLLTOOL=dlltool
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7074 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7075 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7076 $as_echo_n "(cached) " >&6
7077 else
7078 lt_cv_sharedlib_from_linklib_cmd='unknown'
7079
7080 case $host_os in
7081 cygwin* | mingw* | pw32* | cegcc*)
7082 # two different shell functions defined in ltmain.sh;
7083 # decide which one to use based on capabilities of $DLLTOOL
7084 case `$DLLTOOL --help 2>&1` in
7085 *--identify-strict*)
7086 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7087 ;;
7088 *)
7089 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7090 ;;
7091 esac
7092 ;;
7093 *)
7094 # fallback: assume linklib IS sharedlib
7095 lt_cv_sharedlib_from_linklib_cmd=$ECHO
7096 ;;
7097 esac
7098
7099 fi
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7101 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7102 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7103 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7104
7105
7106
7107
7108
7109
7110
7111 if test -n "$ac_tool_prefix"; then
7112 for ac_prog in ar
7113 do
7114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 $as_echo_n "checking for $ac_word... " >&6; }
7118 if ${ac_cv_prog_AR+:} false; then :
7119 $as_echo_n "(cached) " >&6
7120 else
7121 if test -n "$AR"; then
7122 ac_cv_prog_AR="$AR" # Let the user override the test.
7123 else
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7126 do
7127 IFS=$as_save_IFS
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7131 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 break 2
7134 fi
7135 done
7136 done
7137 IFS=$as_save_IFS
7138
7139 fi
7140 fi
7141 AR=$ac_cv_prog_AR
7142 if test -n "$AR"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7144 $as_echo "$AR" >&6; }
7145 else
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 $as_echo "no" >&6; }
7148 fi
7149
7150
7151 test -n "$AR" && break
7152 done
7153 fi
7154 if test -z "$AR"; then
7155 ac_ct_AR=$AR
7156 for ac_prog in ar
7157 do
7158 # Extract the first word of "$ac_prog", so it can be a program name with args.
7159 set dummy $ac_prog; ac_word=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 $as_echo_n "checking for $ac_word... " >&6; }
7162 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7163 $as_echo_n "(cached) " >&6
7164 else
7165 if test -n "$ac_ct_AR"; then
7166 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7167 else
7168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 for as_dir in $PATH
7170 do
7171 IFS=$as_save_IFS
7172 test -z "$as_dir" && as_dir=.
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175 ac_cv_prog_ac_ct_AR="$ac_prog"
7176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 break 2
7178 fi
7179 done
7180 done
7181 IFS=$as_save_IFS
7182
7183 fi
7184 fi
7185 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7186 if test -n "$ac_ct_AR"; then
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7188 $as_echo "$ac_ct_AR" >&6; }
7189 else
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 $as_echo "no" >&6; }
7192 fi
7193
7194
7195 test -n "$ac_ct_AR" && break
7196 done
7197
7198 if test "x$ac_ct_AR" = x; then
7199 AR="false"
7200 else
7201 case $cross_compiling:$ac_tool_warned in
7202 yes:)
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7205 ac_tool_warned=yes ;;
7206 esac
7207 AR=$ac_ct_AR
7208 fi
7209 fi
7210
7211 : ${AR=ar}
7212 : ${AR_FLAGS=cru}
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7225 $as_echo_n "checking for archiver @FILE support... " >&6; }
7226 if ${lt_cv_ar_at_file+:} false; then :
7227 $as_echo_n "(cached) " >&6
7228 else
7229 lt_cv_ar_at_file=no
7230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7232
7233 int
7234 main ()
7235 {
7236
7237 ;
7238 return 0;
7239 }
7240 _ACEOF
7241 if ac_fn_c_try_compile "$LINENO"; then :
7242 echo conftest.$ac_objext > conftest.lst
7243 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7244 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7245 (eval $lt_ar_try) 2>&5
7246 ac_status=$?
7247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7248 test $ac_status = 0; }
7249 if test 0 -eq "$ac_status"; then
7250 # Ensure the archiver fails upon bogus file names.
7251 rm -f conftest.$ac_objext libconftest.a
7252 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7253 (eval $lt_ar_try) 2>&5
7254 ac_status=$?
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; }
7257 if test 0 -ne "$ac_status"; then
7258 lt_cv_ar_at_file=@
7259 fi
7260 fi
7261 rm -f conftest.* libconftest.a
7262
7263 fi
7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265
7266 fi
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7268 $as_echo "$lt_cv_ar_at_file" >&6; }
7269
7270 if test no = "$lt_cv_ar_at_file"; then
7271 archiver_list_spec=
7272 else
7273 archiver_list_spec=$lt_cv_ar_at_file
7274 fi
7275
7276
7277
7278
7279
7280
7281
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}strip; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_STRIP+:} false; then :
7288 $as_echo_n "(cached) " >&6
7289 else
7290 if test -n "$STRIP"; then
7291 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7295 do
7296 IFS=$as_save_IFS
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 break 2
7303 fi
7304 done
7305 done
7306 IFS=$as_save_IFS
7307
7308 fi
7309 fi
7310 STRIP=$ac_cv_prog_STRIP
7311 if test -n "$STRIP"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7313 $as_echo "$STRIP" >&6; }
7314 else
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7317 fi
7318
7319
7320 fi
7321 if test -z "$ac_cv_prog_STRIP"; then
7322 ac_ct_STRIP=$STRIP
7323 # Extract the first word of "strip", so it can be a program name with args.
7324 set dummy strip; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$ac_ct_STRIP"; then
7331 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7335 do
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_ac_ct_STRIP="strip"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7343 fi
7344 done
7345 done
7346 IFS=$as_save_IFS
7347
7348 fi
7349 fi
7350 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7351 if test -n "$ac_ct_STRIP"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7353 $as_echo "$ac_ct_STRIP" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7357 fi
7358
7359 if test "x$ac_ct_STRIP" = x; then
7360 STRIP=":"
7361 else
7362 case $cross_compiling:$ac_tool_warned in
7363 yes:)
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7366 ac_tool_warned=yes ;;
7367 esac
7368 STRIP=$ac_ct_STRIP
7369 fi
7370 else
7371 STRIP="$ac_cv_prog_STRIP"
7372 fi
7373
7374 test -z "$STRIP" && STRIP=:
7375
7376
7377
7378
7379
7380
7381 if test -n "$ac_tool_prefix"; then
7382 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7383 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 $as_echo_n "checking for $ac_word... " >&6; }
7386 if ${ac_cv_prog_RANLIB+:} false; then :
7387 $as_echo_n "(cached) " >&6
7388 else
7389 if test -n "$RANLIB"; then
7390 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7391 else
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7394 do
7395 IFS=$as_save_IFS
7396 test -z "$as_dir" && as_dir=.
7397 for ac_exec_ext in '' $ac_executable_extensions; do
7398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7399 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 break 2
7402 fi
7403 done
7404 done
7405 IFS=$as_save_IFS
7406
7407 fi
7408 fi
7409 RANLIB=$ac_cv_prog_RANLIB
7410 if test -n "$RANLIB"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7412 $as_echo "$RANLIB" >&6; }
7413 else
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415 $as_echo "no" >&6; }
7416 fi
7417
7418
7419 fi
7420 if test -z "$ac_cv_prog_RANLIB"; then
7421 ac_ct_RANLIB=$RANLIB
7422 # Extract the first word of "ranlib", so it can be a program name with args.
7423 set dummy ranlib; ac_word=$2
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425 $as_echo_n "checking for $ac_word... " >&6; }
7426 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7427 $as_echo_n "(cached) " >&6
7428 else
7429 if test -n "$ac_ct_RANLIB"; then
7430 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7431 else
7432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7433 for as_dir in $PATH
7434 do
7435 IFS=$as_save_IFS
7436 test -z "$as_dir" && as_dir=.
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7439 ac_cv_prog_ac_ct_RANLIB="ranlib"
7440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 break 2
7442 fi
7443 done
7444 done
7445 IFS=$as_save_IFS
7446
7447 fi
7448 fi
7449 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7450 if test -n "$ac_ct_RANLIB"; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7452 $as_echo "$ac_ct_RANLIB" >&6; }
7453 else
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455 $as_echo "no" >&6; }
7456 fi
7457
7458 if test "x$ac_ct_RANLIB" = x; then
7459 RANLIB=":"
7460 else
7461 case $cross_compiling:$ac_tool_warned in
7462 yes:)
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7465 ac_tool_warned=yes ;;
7466 esac
7467 RANLIB=$ac_ct_RANLIB
7468 fi
7469 else
7470 RANLIB="$ac_cv_prog_RANLIB"
7471 fi
7472
7473 test -z "$RANLIB" && RANLIB=:
7474
7475
7476
7477
7478
7479
7480 # Determine commands to create old-style static archives.
7481 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7482 old_postinstall_cmds='chmod 644 $oldlib'
7483 old_postuninstall_cmds=
7484
7485 if test -n "$RANLIB"; then
7486 case $host_os in
7487 bitrig* | openbsd*)
7488 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7489 ;;
7490 *)
7491 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7492 ;;
7493 esac
7494 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7495 fi
7496
7497 case $host_os in
7498 darwin*)
7499 lock_old_archive_extraction=yes ;;
7500 *)
7501 lock_old_archive_extraction=no ;;
7502 esac
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542 # If no C compiler was specified, use CC.
7543 LTCC=${LTCC-"$CC"}
7544
7545 # If no C compiler flags were specified, use CFLAGS.
7546 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7547
7548 # Allow CC to be a program name with arguments.
7549 compiler=$CC
7550
7551
7552 # Check for command to grab the raw symbol name followed by C symbol from nm.
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7554 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7555 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7556 $as_echo_n "(cached) " >&6
7557 else
7558
7559 # These are sane defaults that work on at least a few old systems.
7560 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7561
7562 # Character class describing NM global symbol codes.
7563 symcode='[BCDEGRST]'
7564
7565 # Regexp to match symbols that can be accessed directly from C.
7566 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7567
7568 # Define system-specific variables.
7569 case $host_os in
7570 aix*)
7571 symcode='[BCDT]'
7572 ;;
7573 cygwin* | mingw* | pw32* | cegcc*)
7574 symcode='[ABCDGISTW]'
7575 ;;
7576 hpux*)
7577 if test ia64 = "$host_cpu"; then
7578 symcode='[ABCDEGRST]'
7579 fi
7580 ;;
7581 irix* | nonstopux*)
7582 symcode='[BCDEGRST]'
7583 ;;
7584 osf*)
7585 symcode='[BCDEGQRST]'
7586 ;;
7587 solaris*)
7588 symcode='[BDRT]'
7589 ;;
7590 sco3.2v5*)
7591 symcode='[DT]'
7592 ;;
7593 sysv4.2uw2*)
7594 symcode='[DT]'
7595 ;;
7596 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7597 symcode='[ABDT]'
7598 ;;
7599 sysv4)
7600 symcode='[DFNSTU]'
7601 ;;
7602 esac
7603
7604 # If we're using GNU nm, then use its standard symbol codes.
7605 case `$NM -V 2>&1` in
7606 *GNU* | *'with BFD'*)
7607 symcode='[ABCDGIRSTW]' ;;
7608 esac
7609
7610 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7611 # Gets list of data symbols to import.
7612 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7613 # Adjust the below global symbol transforms to fixup imported variables.
7614 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7615 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7616 lt_c_name_lib_hook="\
7617 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7618 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7619 else
7620 # Disable hooks by default.
7621 lt_cv_sys_global_symbol_to_import=
7622 lt_cdecl_hook=
7623 lt_c_name_hook=
7624 lt_c_name_lib_hook=
7625 fi
7626
7627 # Transform an extracted symbol line into a proper C declaration.
7628 # Some systems (esp. on ia64) link data and code symbols differently,
7629 # so use this general approach.
7630 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7631 $lt_cdecl_hook\
7632 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7633 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7634
7635 # Transform an extracted symbol line into symbol name and symbol address
7636 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7637 $lt_c_name_hook\
7638 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7639 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7640
7641 # Transform an extracted symbol line into symbol name with lib prefix and
7642 # symbol address.
7643 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7644 $lt_c_name_lib_hook\
7645 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7646 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7647 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7648
7649 # Handle CRLF in mingw tool chain
7650 opt_cr=
7651 case $build_os in
7652 mingw*)
7653 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7654 ;;
7655 esac
7656
7657 # Try without a prefix underscore, then with it.
7658 for ac_symprfx in "" "_"; do
7659
7660 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7661 symxfrm="\\1 $ac_symprfx\\2 \\2"
7662
7663 # Write the raw and C identifiers.
7664 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7665 # Fake it for dumpbin and say T for any non-static function,
7666 # D for any global variable and I for any imported variable.
7667 # Also find C++ and __fastcall symbols from MSVC++,
7668 # which start with @ or ?.
7669 lt_cv_sys_global_symbol_pipe="$AWK '"\
7670 " {last_section=section; section=\$ 3};"\
7671 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7672 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7673 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7674 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7675 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7676 " \$ 0!~/External *\|/{next};"\
7677 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7678 " {if(hide[section]) next};"\
7679 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7680 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7681 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7682 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7683 " ' prfx=^$ac_symprfx"
7684 else
7685 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7686 fi
7687 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7688
7689 # Check to see that the pipe works correctly.
7690 pipe_works=no
7691
7692 rm -f conftest*
7693 cat > conftest.$ac_ext <<_LT_EOF
7694 #ifdef __cplusplus
7695 extern "C" {
7696 #endif
7697 char nm_test_var;
7698 void nm_test_func(void);
7699 void nm_test_func(void){}
7700 #ifdef __cplusplus
7701 }
7702 #endif
7703 int main(){nm_test_var='a';nm_test_func();return(0);}
7704 _LT_EOF
7705
7706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7707 (eval $ac_compile) 2>&5
7708 ac_status=$?
7709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7710 test $ac_status = 0; }; then
7711 # Now try to grab the symbols.
7712 nlist=conftest.nm
7713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7714 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7715 ac_status=$?
7716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7717 test $ac_status = 0; } && test -s "$nlist"; then
7718 # Try sorting and uniquifying the output.
7719 if sort "$nlist" | uniq > "$nlist"T; then
7720 mv -f "$nlist"T "$nlist"
7721 else
7722 rm -f "$nlist"T
7723 fi
7724
7725 # Make sure that we snagged all the symbols we need.
7726 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7727 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7728 cat <<_LT_EOF > conftest.$ac_ext
7729 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7730 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7731 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7732 relocations are performed -- see ld's documentation on pseudo-relocs. */
7733 # define LT_DLSYM_CONST
7734 #elif defined __osf__
7735 /* This system does not cope well with relocations in const data. */
7736 # define LT_DLSYM_CONST
7737 #else
7738 # define LT_DLSYM_CONST const
7739 #endif
7740
7741 #ifdef __cplusplus
7742 extern "C" {
7743 #endif
7744
7745 _LT_EOF
7746 # Now generate the symbol file.
7747 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7748
7749 cat <<_LT_EOF >> conftest.$ac_ext
7750
7751 /* The mapping between symbol names and symbols. */
7752 LT_DLSYM_CONST struct {
7753 const char *name;
7754 void *address;
7755 }
7756 lt__PROGRAM__LTX_preloaded_symbols[] =
7757 {
7758 { "@PROGRAM@", (void *) 0 },
7759 _LT_EOF
7760 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7761 cat <<\_LT_EOF >> conftest.$ac_ext
7762 {0, (void *) 0}
7763 };
7764
7765 /* This works around a problem in FreeBSD linker */
7766 #ifdef FREEBSD_WORKAROUND
7767 static const void *lt_preloaded_setup() {
7768 return lt__PROGRAM__LTX_preloaded_symbols;
7769 }
7770 #endif
7771
7772 #ifdef __cplusplus
7773 }
7774 #endif
7775 _LT_EOF
7776 # Now try linking the two files.
7777 mv conftest.$ac_objext conftstm.$ac_objext
7778 lt_globsym_save_LIBS=$LIBS
7779 lt_globsym_save_CFLAGS=$CFLAGS
7780 LIBS=conftstm.$ac_objext
7781 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7783 (eval $ac_link) 2>&5
7784 ac_status=$?
7785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7786 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7787 pipe_works=yes
7788 fi
7789 LIBS=$lt_globsym_save_LIBS
7790 CFLAGS=$lt_globsym_save_CFLAGS
7791 else
7792 echo "cannot find nm_test_func in $nlist" >&5
7793 fi
7794 else
7795 echo "cannot find nm_test_var in $nlist" >&5
7796 fi
7797 else
7798 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7799 fi
7800 else
7801 echo "$progname: failed program was:" >&5
7802 cat conftest.$ac_ext >&5
7803 fi
7804 rm -rf conftest* conftst*
7805
7806 # Do not use the global_symbol_pipe unless it works.
7807 if test yes = "$pipe_works"; then
7808 break
7809 else
7810 lt_cv_sys_global_symbol_pipe=
7811 fi
7812 done
7813
7814 fi
7815
7816 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7817 lt_cv_sys_global_symbol_to_cdecl=
7818 fi
7819 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7821 $as_echo "failed" >&6; }
7822 else
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7824 $as_echo "ok" >&6; }
7825 fi
7826
7827 # Response file support.
7828 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7829 nm_file_list_spec='@'
7830 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7831 nm_file_list_spec='@'
7832 fi
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7871 $as_echo_n "checking for sysroot... " >&6; }
7872
7873 # Check whether --with-sysroot was given.
7874 if test "${with_sysroot+set}" = set; then :
7875 withval=$with_sysroot;
7876 else
7877 with_sysroot=no
7878 fi
7879
7880
7881 lt_sysroot=
7882 case $with_sysroot in #(
7883 yes)
7884 if test yes = "$GCC"; then
7885 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7886 fi
7887 ;; #(
7888 /*)
7889 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7890 ;; #(
7891 no|'')
7892 ;; #(
7893 *)
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7895 $as_echo "$with_sysroot" >&6; }
7896 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7897 ;;
7898 esac
7899
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7901 $as_echo "${lt_sysroot:-no}" >&6; }
7902
7903
7904
7905
7906
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7908 $as_echo_n "checking for a working dd... " >&6; }
7909 if ${ac_cv_path_lt_DD+:} false; then :
7910 $as_echo_n "(cached) " >&6
7911 else
7912 printf 0123456789abcdef0123456789abcdef >conftest.i
7913 cat conftest.i conftest.i >conftest2.i
7914 : ${lt_DD:=$DD}
7915 if test -z "$lt_DD"; then
7916 ac_path_lt_DD_found=false
7917 # Loop through the user's path and test for each of PROGNAME-LIST
7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919 for as_dir in $PATH
7920 do
7921 IFS=$as_save_IFS
7922 test -z "$as_dir" && as_dir=.
7923 for ac_prog in dd; do
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7926 as_fn_executable_p "$ac_path_lt_DD" || continue
7927 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7928 cmp -s conftest.i conftest.out \
7929 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7930 fi
7931 $ac_path_lt_DD_found && break 3
7932 done
7933 done
7934 done
7935 IFS=$as_save_IFS
7936 if test -z "$ac_cv_path_lt_DD"; then
7937 :
7938 fi
7939 else
7940 ac_cv_path_lt_DD=$lt_DD
7941 fi
7942
7943 rm -f conftest.i conftest2.i conftest.out
7944 fi
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7946 $as_echo "$ac_cv_path_lt_DD" >&6; }
7947
7948
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7950 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7951 if ${lt_cv_truncate_bin+:} false; then :
7952 $as_echo_n "(cached) " >&6
7953 else
7954 printf 0123456789abcdef0123456789abcdef >conftest.i
7955 cat conftest.i conftest.i >conftest2.i
7956 lt_cv_truncate_bin=
7957 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7958 cmp -s conftest.i conftest.out \
7959 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7960 fi
7961 rm -f conftest.i conftest2.i conftest.out
7962 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7963 fi
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7965 $as_echo "$lt_cv_truncate_bin" >&6; }
7966
7967
7968
7969
7970
7971
7972
7973 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7974 func_cc_basename ()
7975 {
7976 for cc_temp in $*""; do
7977 case $cc_temp in
7978 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7979 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7980 \-*) ;;
7981 *) break;;
7982 esac
7983 done
7984 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7985 }
7986
7987 # Check whether --enable-libtool-lock was given.
7988 if test "${enable_libtool_lock+set}" = set; then :
7989 enableval=$enable_libtool_lock;
7990 fi
7991
7992 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7993
7994 # Some flags need to be propagated to the compiler or linker for good
7995 # libtool support.
7996 case $host in
7997 ia64-*-hpux*)
7998 # Find out what ABI is being produced by ac_compile, and set mode
7999 # options accordingly.
8000 echo 'int i;' > conftest.$ac_ext
8001 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8002 (eval $ac_compile) 2>&5
8003 ac_status=$?
8004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8005 test $ac_status = 0; }; then
8006 case `/usr/bin/file conftest.$ac_objext` in
8007 *ELF-32*)
8008 HPUX_IA64_MODE=32
8009 ;;
8010 *ELF-64*)
8011 HPUX_IA64_MODE=64
8012 ;;
8013 esac
8014 fi
8015 rm -rf conftest*
8016 ;;
8017 *-*-irix6*)
8018 # Find out what ABI is being produced by ac_compile, and set linker
8019 # options accordingly.
8020 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8022 (eval $ac_compile) 2>&5
8023 ac_status=$?
8024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8025 test $ac_status = 0; }; then
8026 if test yes = "$lt_cv_prog_gnu_ld"; then
8027 case `/usr/bin/file conftest.$ac_objext` in
8028 *32-bit*)
8029 LD="${LD-ld} -melf32bsmip"
8030 ;;
8031 *N32*)
8032 LD="${LD-ld} -melf32bmipn32"
8033 ;;
8034 *64-bit*)
8035 LD="${LD-ld} -melf64bmip"
8036 ;;
8037 esac
8038 else
8039 case `/usr/bin/file conftest.$ac_objext` in
8040 *32-bit*)
8041 LD="${LD-ld} -32"
8042 ;;
8043 *N32*)
8044 LD="${LD-ld} -n32"
8045 ;;
8046 *64-bit*)
8047 LD="${LD-ld} -64"
8048 ;;
8049 esac
8050 fi
8051 fi
8052 rm -rf conftest*
8053 ;;
8054
8055 mips64*-*linux*)
8056 # Find out what ABI is being produced by ac_compile, and set linker
8057 # options accordingly.
8058 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8060 (eval $ac_compile) 2>&5
8061 ac_status=$?
8062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8063 test $ac_status = 0; }; then
8064 emul=elf
8065 case `/usr/bin/file conftest.$ac_objext` in
8066 *32-bit*)
8067 emul="${emul}32"
8068 ;;
8069 *64-bit*)
8070 emul="${emul}64"
8071 ;;
8072 esac
8073 case `/usr/bin/file conftest.$ac_objext` in
8074 *MSB*)
8075 emul="${emul}btsmip"
8076 ;;
8077 *LSB*)
8078 emul="${emul}ltsmip"
8079 ;;
8080 esac
8081 case `/usr/bin/file conftest.$ac_objext` in
8082 *N32*)
8083 emul="${emul}n32"
8084 ;;
8085 esac
8086 LD="${LD-ld} -m $emul"
8087 fi
8088 rm -rf conftest*
8089 ;;
8090
8091 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8092 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8093 # Find out what ABI is being produced by ac_compile, and set linker
8094 # options accordingly. Note that the listed cases only cover the
8095 # situations where additional linker options are needed (such as when
8096 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8097 # vice versa); the common cases where no linker options are needed do
8098 # not appear in the list.
8099 echo 'int i;' > conftest.$ac_ext
8100 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8101 (eval $ac_compile) 2>&5
8102 ac_status=$?
8103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8104 test $ac_status = 0; }; then
8105 case `/usr/bin/file conftest.o` in
8106 *32-bit*)
8107 case $host in
8108 x86_64-*kfreebsd*-gnu)
8109 LD="${LD-ld} -m elf_i386_fbsd"
8110 ;;
8111 x86_64-*linux*)
8112 case `/usr/bin/file conftest.o` in
8113 *x86-64*)
8114 LD="${LD-ld} -m elf32_x86_64"
8115 ;;
8116 *)
8117 LD="${LD-ld} -m elf_i386"
8118 ;;
8119 esac
8120 ;;
8121 powerpc64le-*linux*)
8122 LD="${LD-ld} -m elf32lppclinux"
8123 ;;
8124 powerpc64-*linux*)
8125 LD="${LD-ld} -m elf32ppclinux"
8126 ;;
8127 s390x-*linux*)
8128 LD="${LD-ld} -m elf_s390"
8129 ;;
8130 sparc64-*linux*)
8131 LD="${LD-ld} -m elf32_sparc"
8132 ;;
8133 esac
8134 ;;
8135 *64-bit*)
8136 case $host in
8137 x86_64-*kfreebsd*-gnu)
8138 LD="${LD-ld} -m elf_x86_64_fbsd"
8139 ;;
8140 x86_64-*linux*)
8141 LD="${LD-ld} -m elf_x86_64"
8142 ;;
8143 powerpcle-*linux*)
8144 LD="${LD-ld} -m elf64lppc"
8145 ;;
8146 powerpc-*linux*)
8147 LD="${LD-ld} -m elf64ppc"
8148 ;;
8149 s390*-*linux*|s390*-*tpf*)
8150 LD="${LD-ld} -m elf64_s390"
8151 ;;
8152 sparc*-*linux*)
8153 LD="${LD-ld} -m elf64_sparc"
8154 ;;
8155 esac
8156 ;;
8157 esac
8158 fi
8159 rm -rf conftest*
8160 ;;
8161
8162 *-*-sco3.2v5*)
8163 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8164 SAVE_CFLAGS=$CFLAGS
8165 CFLAGS="$CFLAGS -belf"
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8167 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8168 if ${lt_cv_cc_needs_belf+:} false; then :
8169 $as_echo_n "(cached) " >&6
8170 else
8171 ac_ext=c
8172 ac_cpp='$CPP $CPPFLAGS'
8173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8176
8177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179
8180 int
8181 main ()
8182 {
8183
8184 ;
8185 return 0;
8186 }
8187 _ACEOF
8188 if ac_fn_c_try_link "$LINENO"; then :
8189 lt_cv_cc_needs_belf=yes
8190 else
8191 lt_cv_cc_needs_belf=no
8192 fi
8193 rm -f core conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 ac_ext=c
8196 ac_cpp='$CPP $CPPFLAGS'
8197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8200
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8203 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8204 if test yes != "$lt_cv_cc_needs_belf"; then
8205 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8206 CFLAGS=$SAVE_CFLAGS
8207 fi
8208 ;;
8209 *-*solaris*)
8210 # Find out what ABI is being produced by ac_compile, and set linker
8211 # options accordingly.
8212 echo 'int i;' > conftest.$ac_ext
8213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8214 (eval $ac_compile) 2>&5
8215 ac_status=$?
8216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8217 test $ac_status = 0; }; then
8218 case `/usr/bin/file conftest.o` in
8219 *64-bit*)
8220 case $lt_cv_prog_gnu_ld in
8221 yes*)
8222 case $host in
8223 i?86-*-solaris*|x86_64-*-solaris*)
8224 LD="${LD-ld} -m elf_x86_64"
8225 ;;
8226 sparc*-*-solaris*)
8227 LD="${LD-ld} -m elf64_sparc"
8228 ;;
8229 esac
8230 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8231 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8232 LD=${LD-ld}_sol2
8233 fi
8234 ;;
8235 *)
8236 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8237 LD="${LD-ld} -64"
8238 fi
8239 ;;
8240 esac
8241 ;;
8242 esac
8243 fi
8244 rm -rf conftest*
8245 ;;
8246 esac
8247
8248 need_locks=$enable_libtool_lock
8249
8250 if test -n "$ac_tool_prefix"; then
8251 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8252 set dummy ${ac_tool_prefix}mt; ac_word=$2
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8254 $as_echo_n "checking for $ac_word... " >&6; }
8255 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 if test -n "$MANIFEST_TOOL"; then
8259 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8260 else
8261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262 for as_dir in $PATH
8263 do
8264 IFS=$as_save_IFS
8265 test -z "$as_dir" && as_dir=.
8266 for ac_exec_ext in '' $ac_executable_extensions; do
8267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8268 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 break 2
8271 fi
8272 done
8273 done
8274 IFS=$as_save_IFS
8275
8276 fi
8277 fi
8278 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8279 if test -n "$MANIFEST_TOOL"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8281 $as_echo "$MANIFEST_TOOL" >&6; }
8282 else
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284 $as_echo "no" >&6; }
8285 fi
8286
8287
8288 fi
8289 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8290 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8291 # Extract the first word of "mt", so it can be a program name with args.
8292 set dummy mt; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8296 $as_echo_n "(cached) " >&6
8297 else
8298 if test -n "$ac_ct_MANIFEST_TOOL"; then
8299 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8303 do
8304 IFS=$as_save_IFS
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 break 2
8311 fi
8312 done
8313 done
8314 IFS=$as_save_IFS
8315
8316 fi
8317 fi
8318 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8319 if test -n "$ac_ct_MANIFEST_TOOL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8321 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8322 else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8325 fi
8326
8327 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8328 MANIFEST_TOOL=":"
8329 else
8330 case $cross_compiling:$ac_tool_warned in
8331 yes:)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8334 ac_tool_warned=yes ;;
8335 esac
8336 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8337 fi
8338 else
8339 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8340 fi
8341
8342 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8344 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8345 if ${lt_cv_path_mainfest_tool+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 lt_cv_path_mainfest_tool=no
8349 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8350 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8351 cat conftest.err >&5
8352 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8353 lt_cv_path_mainfest_tool=yes
8354 fi
8355 rm -f conftest*
8356 fi
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8358 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8359 if test yes != "$lt_cv_path_mainfest_tool"; then
8360 MANIFEST_TOOL=:
8361 fi
8362
8363
8364
8365
8366
8367
8368 case $host_os in
8369 rhapsody* | darwin*)
8370 if test -n "$ac_tool_prefix"; then
8371 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8372 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8374 $as_echo_n "checking for $ac_word... " >&6; }
8375 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 if test -n "$DSYMUTIL"; then
8379 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8380 else
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 for as_dir in $PATH
8383 do
8384 IFS=$as_save_IFS
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8388 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 break 2
8391 fi
8392 done
8393 done
8394 IFS=$as_save_IFS
8395
8396 fi
8397 fi
8398 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8399 if test -n "$DSYMUTIL"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8401 $as_echo "$DSYMUTIL" >&6; }
8402 else
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8405 fi
8406
8407
8408 fi
8409 if test -z "$ac_cv_prog_DSYMUTIL"; then
8410 ac_ct_DSYMUTIL=$DSYMUTIL
8411 # Extract the first word of "dsymutil", so it can be a program name with args.
8412 set dummy dsymutil; ac_word=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8414 $as_echo_n "checking for $ac_word... " >&6; }
8415 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 if test -n "$ac_ct_DSYMUTIL"; then
8419 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8420 else
8421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 for as_dir in $PATH
8423 do
8424 IFS=$as_save_IFS
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8428 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 break 2
8431 fi
8432 done
8433 done
8434 IFS=$as_save_IFS
8435
8436 fi
8437 fi
8438 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8439 if test -n "$ac_ct_DSYMUTIL"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8441 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8442 else
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8445 fi
8446
8447 if test "x$ac_ct_DSYMUTIL" = x; then
8448 DSYMUTIL=":"
8449 else
8450 case $cross_compiling:$ac_tool_warned in
8451 yes:)
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8454 ac_tool_warned=yes ;;
8455 esac
8456 DSYMUTIL=$ac_ct_DSYMUTIL
8457 fi
8458 else
8459 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8460 fi
8461
8462 if test -n "$ac_tool_prefix"; then
8463 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8464 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466 $as_echo_n "checking for $ac_word... " >&6; }
8467 if ${ac_cv_prog_NMEDIT+:} false; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 if test -n "$NMEDIT"; then
8471 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8472 else
8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 for as_dir in $PATH
8475 do
8476 IFS=$as_save_IFS
8477 test -z "$as_dir" && as_dir=.
8478 for ac_exec_ext in '' $ac_executable_extensions; do
8479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8480 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8482 break 2
8483 fi
8484 done
8485 done
8486 IFS=$as_save_IFS
8487
8488 fi
8489 fi
8490 NMEDIT=$ac_cv_prog_NMEDIT
8491 if test -n "$NMEDIT"; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8493 $as_echo "$NMEDIT" >&6; }
8494 else
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8497 fi
8498
8499
8500 fi
8501 if test -z "$ac_cv_prog_NMEDIT"; then
8502 ac_ct_NMEDIT=$NMEDIT
8503 # Extract the first word of "nmedit", so it can be a program name with args.
8504 set dummy nmedit; ac_word=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8506 $as_echo_n "checking for $ac_word... " >&6; }
8507 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 if test -n "$ac_ct_NMEDIT"; then
8511 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8512 else
8513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 for as_dir in $PATH
8515 do
8516 IFS=$as_save_IFS
8517 test -z "$as_dir" && as_dir=.
8518 for ac_exec_ext in '' $ac_executable_extensions; do
8519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8520 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 break 2
8523 fi
8524 done
8525 done
8526 IFS=$as_save_IFS
8527
8528 fi
8529 fi
8530 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8531 if test -n "$ac_ct_NMEDIT"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8533 $as_echo "$ac_ct_NMEDIT" >&6; }
8534 else
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8537 fi
8538
8539 if test "x$ac_ct_NMEDIT" = x; then
8540 NMEDIT=":"
8541 else
8542 case $cross_compiling:$ac_tool_warned in
8543 yes:)
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8546 ac_tool_warned=yes ;;
8547 esac
8548 NMEDIT=$ac_ct_NMEDIT
8549 fi
8550 else
8551 NMEDIT="$ac_cv_prog_NMEDIT"
8552 fi
8553
8554 if test -n "$ac_tool_prefix"; then
8555 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8556 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8558 $as_echo_n "checking for $ac_word... " >&6; }
8559 if ${ac_cv_prog_LIPO+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 if test -n "$LIPO"; then
8563 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8564 else
8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 for as_dir in $PATH
8567 do
8568 IFS=$as_save_IFS
8569 test -z "$as_dir" && as_dir=.
8570 for ac_exec_ext in '' $ac_executable_extensions; do
8571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8572 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8574 break 2
8575 fi
8576 done
8577 done
8578 IFS=$as_save_IFS
8579
8580 fi
8581 fi
8582 LIPO=$ac_cv_prog_LIPO
8583 if test -n "$LIPO"; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8585 $as_echo "$LIPO" >&6; }
8586 else
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8588 $as_echo "no" >&6; }
8589 fi
8590
8591
8592 fi
8593 if test -z "$ac_cv_prog_LIPO"; then
8594 ac_ct_LIPO=$LIPO
8595 # Extract the first word of "lipo", so it can be a program name with args.
8596 set dummy lipo; ac_word=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8598 $as_echo_n "checking for $ac_word... " >&6; }
8599 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 if test -n "$ac_ct_LIPO"; then
8603 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8604 else
8605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 for as_dir in $PATH
8607 do
8608 IFS=$as_save_IFS
8609 test -z "$as_dir" && as_dir=.
8610 for ac_exec_ext in '' $ac_executable_extensions; do
8611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8612 ac_cv_prog_ac_ct_LIPO="lipo"
8613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8614 break 2
8615 fi
8616 done
8617 done
8618 IFS=$as_save_IFS
8619
8620 fi
8621 fi
8622 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8623 if test -n "$ac_ct_LIPO"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8625 $as_echo "$ac_ct_LIPO" >&6; }
8626 else
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8628 $as_echo "no" >&6; }
8629 fi
8630
8631 if test "x$ac_ct_LIPO" = x; then
8632 LIPO=":"
8633 else
8634 case $cross_compiling:$ac_tool_warned in
8635 yes:)
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8638 ac_tool_warned=yes ;;
8639 esac
8640 LIPO=$ac_ct_LIPO
8641 fi
8642 else
8643 LIPO="$ac_cv_prog_LIPO"
8644 fi
8645
8646 if test -n "$ac_tool_prefix"; then
8647 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8648 set dummy ${ac_tool_prefix}otool; ac_word=$2
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650 $as_echo_n "checking for $ac_word... " >&6; }
8651 if ${ac_cv_prog_OTOOL+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 if test -n "$OTOOL"; then
8655 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8656 else
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 for as_dir in $PATH
8659 do
8660 IFS=$as_save_IFS
8661 test -z "$as_dir" && as_dir=.
8662 for ac_exec_ext in '' $ac_executable_extensions; do
8663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8664 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8666 break 2
8667 fi
8668 done
8669 done
8670 IFS=$as_save_IFS
8671
8672 fi
8673 fi
8674 OTOOL=$ac_cv_prog_OTOOL
8675 if test -n "$OTOOL"; then
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8677 $as_echo "$OTOOL" >&6; }
8678 else
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680 $as_echo "no" >&6; }
8681 fi
8682
8683
8684 fi
8685 if test -z "$ac_cv_prog_OTOOL"; then
8686 ac_ct_OTOOL=$OTOOL
8687 # Extract the first word of "otool", so it can be a program name with args.
8688 set dummy otool; ac_word=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8690 $as_echo_n "checking for $ac_word... " >&6; }
8691 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8692 $as_echo_n "(cached) " >&6
8693 else
8694 if test -n "$ac_ct_OTOOL"; then
8695 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8696 else
8697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 for as_dir in $PATH
8699 do
8700 IFS=$as_save_IFS
8701 test -z "$as_dir" && as_dir=.
8702 for ac_exec_ext in '' $ac_executable_extensions; do
8703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8704 ac_cv_prog_ac_ct_OTOOL="otool"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8706 break 2
8707 fi
8708 done
8709 done
8710 IFS=$as_save_IFS
8711
8712 fi
8713 fi
8714 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8715 if test -n "$ac_ct_OTOOL"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8717 $as_echo "$ac_ct_OTOOL" >&6; }
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8721 fi
8722
8723 if test "x$ac_ct_OTOOL" = x; then
8724 OTOOL=":"
8725 else
8726 case $cross_compiling:$ac_tool_warned in
8727 yes:)
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8730 ac_tool_warned=yes ;;
8731 esac
8732 OTOOL=$ac_ct_OTOOL
8733 fi
8734 else
8735 OTOOL="$ac_cv_prog_OTOOL"
8736 fi
8737
8738 if test -n "$ac_tool_prefix"; then
8739 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8740 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8742 $as_echo_n "checking for $ac_word... " >&6; }
8743 if ${ac_cv_prog_OTOOL64+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 if test -n "$OTOOL64"; then
8747 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8748 else
8749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 for as_dir in $PATH
8751 do
8752 IFS=$as_save_IFS
8753 test -z "$as_dir" && as_dir=.
8754 for ac_exec_ext in '' $ac_executable_extensions; do
8755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8756 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8758 break 2
8759 fi
8760 done
8761 done
8762 IFS=$as_save_IFS
8763
8764 fi
8765 fi
8766 OTOOL64=$ac_cv_prog_OTOOL64
8767 if test -n "$OTOOL64"; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8769 $as_echo "$OTOOL64" >&6; }
8770 else
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772 $as_echo "no" >&6; }
8773 fi
8774
8775
8776 fi
8777 if test -z "$ac_cv_prog_OTOOL64"; then
8778 ac_ct_OTOOL64=$OTOOL64
8779 # Extract the first word of "otool64", so it can be a program name with args.
8780 set dummy otool64; ac_word=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8783 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 if test -n "$ac_ct_OTOOL64"; then
8787 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8788 else
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 for as_dir in $PATH
8791 do
8792 IFS=$as_save_IFS
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8796 ac_cv_prog_ac_ct_OTOOL64="otool64"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8798 break 2
8799 fi
8800 done
8801 done
8802 IFS=$as_save_IFS
8803
8804 fi
8805 fi
8806 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8807 if test -n "$ac_ct_OTOOL64"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8809 $as_echo "$ac_ct_OTOOL64" >&6; }
8810 else
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8813 fi
8814
8815 if test "x$ac_ct_OTOOL64" = x; then
8816 OTOOL64=":"
8817 else
8818 case $cross_compiling:$ac_tool_warned in
8819 yes:)
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8822 ac_tool_warned=yes ;;
8823 esac
8824 OTOOL64=$ac_ct_OTOOL64
8825 fi
8826 else
8827 OTOOL64="$ac_cv_prog_OTOOL64"
8828 fi
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8857 $as_echo_n "checking for -single_module linker flag... " >&6; }
8858 if ${lt_cv_apple_cc_single_mod+:} false; then :
8859 $as_echo_n "(cached) " >&6
8860 else
8861 lt_cv_apple_cc_single_mod=no
8862 if test -z "$LT_MULTI_MODULE"; then
8863 # By default we will add the -single_module flag. You can override
8864 # by either setting the environment variable LT_MULTI_MODULE
8865 # non-empty at configure time, or by adding -multi_module to the
8866 # link flags.
8867 rm -rf libconftest.dylib*
8868 echo "int foo(void){return 1;}" > conftest.c
8869 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8870 -dynamiclib -Wl,-single_module conftest.c" >&5
8871 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8872 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8873 _lt_result=$?
8874 # If there is a non-empty error log, and "single_module"
8875 # appears in it, assume the flag caused a linker warning
8876 if test -s conftest.err && $GREP single_module conftest.err; then
8877 cat conftest.err >&5
8878 # Otherwise, if the output was created with a 0 exit code from
8879 # the compiler, it worked.
8880 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8881 lt_cv_apple_cc_single_mod=yes
8882 else
8883 cat conftest.err >&5
8884 fi
8885 rm -rf libconftest.dylib*
8886 rm -f conftest.*
8887 fi
8888 fi
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8890 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8891
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8893 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8894 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8895 $as_echo_n "(cached) " >&6
8896 else
8897 lt_cv_ld_exported_symbols_list=no
8898 save_LDFLAGS=$LDFLAGS
8899 echo "_main" > conftest.sym
8900 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903
8904 int
8905 main ()
8906 {
8907
8908 ;
8909 return 0;
8910 }
8911 _ACEOF
8912 if ac_fn_c_try_link "$LINENO"; then :
8913 lt_cv_ld_exported_symbols_list=yes
8914 else
8915 lt_cv_ld_exported_symbols_list=no
8916 fi
8917 rm -f core conftest.err conftest.$ac_objext \
8918 conftest$ac_exeext conftest.$ac_ext
8919 LDFLAGS=$save_LDFLAGS
8920
8921 fi
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8923 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8924
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8926 $as_echo_n "checking for -force_load linker flag... " >&6; }
8927 if ${lt_cv_ld_force_load+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 lt_cv_ld_force_load=no
8931 cat > conftest.c << _LT_EOF
8932 int forced_loaded() { return 2;}
8933 _LT_EOF
8934 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8935 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8936 echo "$AR cru libconftest.a conftest.o" >&5
8937 $AR cru libconftest.a conftest.o 2>&5
8938 echo "$RANLIB libconftest.a" >&5
8939 $RANLIB libconftest.a 2>&5
8940 cat > conftest.c << _LT_EOF
8941 int main() { return 0;}
8942 _LT_EOF
8943 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8944 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8945 _lt_result=$?
8946 if test -s conftest.err && $GREP force_load conftest.err; then
8947 cat conftest.err >&5
8948 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8949 lt_cv_ld_force_load=yes
8950 else
8951 cat conftest.err >&5
8952 fi
8953 rm -f conftest.err libconftest.a conftest conftest.c
8954 rm -rf conftest.dSYM
8955
8956 fi
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8958 $as_echo "$lt_cv_ld_force_load" >&6; }
8959 case $host_os in
8960 rhapsody* | darwin1.[012])
8961 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8962 darwin1.*)
8963 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8964 darwin*) # darwin 5.x on
8965 # if running on 10.5 or later, the deployment target defaults
8966 # to the OS version, if on x86, and 10.4, the deployment
8967 # target defaults to 10.4. Don't you love it?
8968 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8969 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8970 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8971 10.[012][,.]*)
8972 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8973 10.*)
8974 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8975 esac
8976 ;;
8977 esac
8978 if test yes = "$lt_cv_apple_cc_single_mod"; then
8979 _lt_dar_single_mod='$single_module'
8980 fi
8981 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8982 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8983 else
8984 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8985 fi
8986 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8987 _lt_dsymutil='~$DSYMUTIL $lib || :'
8988 else
8989 _lt_dsymutil=
8990 fi
8991 ;;
8992 esac
8993
8994 # func_munge_path_list VARIABLE PATH
8995 # -----------------------------------
8996 # VARIABLE is name of variable containing _space_ separated list of
8997 # directories to be munged by the contents of PATH, which is string
8998 # having a format:
8999 # "DIR[:DIR]:"
9000 # string "DIR[ DIR]" will be prepended to VARIABLE
9001 # ":DIR[:DIR]"
9002 # string "DIR[ DIR]" will be appended to VARIABLE
9003 # "DIRP[:DIRP]::[DIRA:]DIRA"
9004 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9005 # "DIRA[ DIRA]" will be appended to VARIABLE
9006 # "DIR[:DIR]"
9007 # VARIABLE will be replaced by "DIR[ DIR]"
9008 func_munge_path_list ()
9009 {
9010 case x$2 in
9011 x)
9012 ;;
9013 *:)
9014 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9015 ;;
9016 x:*)
9017 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9018 ;;
9019 *::*)
9020 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9021 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9022 ;;
9023 *)
9024 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9025 ;;
9026 esac
9027 }
9028
9029
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9031 $as_echo_n "checking for ANSI C header files... " >&6; }
9032 if ${ac_cv_header_stdc+:} false; then :
9033 $as_echo_n "(cached) " >&6
9034 else
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9037 #include <stdlib.h>
9038 #include <stdarg.h>
9039 #include <string.h>
9040 #include <float.h>
9041
9042 int
9043 main ()
9044 {
9045
9046 ;
9047 return 0;
9048 }
9049 _ACEOF
9050 if ac_fn_c_try_compile "$LINENO"; then :
9051 ac_cv_header_stdc=yes
9052 else
9053 ac_cv_header_stdc=no
9054 fi
9055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9056
9057 if test $ac_cv_header_stdc = yes; then
9058 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9060 /* end confdefs.h. */
9061 #include <string.h>
9062
9063 _ACEOF
9064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9065 $EGREP "memchr" >/dev/null 2>&1; then :
9066
9067 else
9068 ac_cv_header_stdc=no
9069 fi
9070 rm -f conftest*
9071
9072 fi
9073
9074 if test $ac_cv_header_stdc = yes; then
9075 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9078 #include <stdlib.h>
9079
9080 _ACEOF
9081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9082 $EGREP "free" >/dev/null 2>&1; then :
9083
9084 else
9085 ac_cv_header_stdc=no
9086 fi
9087 rm -f conftest*
9088
9089 fi
9090
9091 if test $ac_cv_header_stdc = yes; then
9092 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9093 if test "$cross_compiling" = yes; then :
9094 :
9095 else
9096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9097 /* end confdefs.h. */
9098 #include <ctype.h>
9099 #include <stdlib.h>
9100 #if ((' ' & 0x0FF) == 0x020)
9101 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9102 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9103 #else
9104 # define ISLOWER(c) \
9105 (('a' <= (c) && (c) <= 'i') \
9106 || ('j' <= (c) && (c) <= 'r') \
9107 || ('s' <= (c) && (c) <= 'z'))
9108 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9109 #endif
9110
9111 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9112 int
9113 main ()
9114 {
9115 int i;
9116 for (i = 0; i < 256; i++)
9117 if (XOR (islower (i), ISLOWER (i))
9118 || toupper (i) != TOUPPER (i))
9119 return 2;
9120 return 0;
9121 }
9122 _ACEOF
9123 if ac_fn_c_try_run "$LINENO"; then :
9124
9125 else
9126 ac_cv_header_stdc=no
9127 fi
9128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9129 conftest.$ac_objext conftest.beam conftest.$ac_ext
9130 fi
9131
9132 fi
9133 fi
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9135 $as_echo "$ac_cv_header_stdc" >&6; }
9136 if test $ac_cv_header_stdc = yes; then
9137
9138 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9139
9140 fi
9141
9142 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9143 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9144 inttypes.h stdint.h unistd.h
9145 do :
9146 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9147 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9148 "
9149 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9150 cat >>confdefs.h <<_ACEOF
9151 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9152 _ACEOF
9153
9154 fi
9155
9156 done
9157
9158
9159 for ac_header in dlfcn.h
9160 do :
9161 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9162 "
9163 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9164 cat >>confdefs.h <<_ACEOF
9165 #define HAVE_DLFCN_H 1
9166 _ACEOF
9167
9168 fi
9169
9170 done
9171
9172
9173
9174
9175 func_stripname_cnf ()
9176 {
9177 case $2 in
9178 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9179 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9180 esac
9181 } # func_stripname_cnf
9182
9183
9184
9185
9186
9187 # Set options
9188
9189
9190
9191 enable_dlopen=no
9192
9193
9194 enable_win32_dll=no
9195
9196
9197 # Check whether --enable-shared was given.
9198 if test "${enable_shared+set}" = set; then :
9199 enableval=$enable_shared; p=${PACKAGE-default}
9200 case $enableval in
9201 yes) enable_shared=yes ;;
9202 no) enable_shared=no ;;
9203 *)
9204 enable_shared=no
9205 # Look at the argument we got. We use all the common list separators.
9206 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9207 for pkg in $enableval; do
9208 IFS=$lt_save_ifs
9209 if test "X$pkg" = "X$p"; then
9210 enable_shared=yes
9211 fi
9212 done
9213 IFS=$lt_save_ifs
9214 ;;
9215 esac
9216 else
9217 enable_shared=yes
9218 fi
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228 # Check whether --enable-static was given.
9229 if test "${enable_static+set}" = set; then :
9230 enableval=$enable_static; p=${PACKAGE-default}
9231 case $enableval in
9232 yes) enable_static=yes ;;
9233 no) enable_static=no ;;
9234 *)
9235 enable_static=no
9236 # Look at the argument we got. We use all the common list separators.
9237 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9238 for pkg in $enableval; do
9239 IFS=$lt_save_ifs
9240 if test "X$pkg" = "X$p"; then
9241 enable_static=yes
9242 fi
9243 done
9244 IFS=$lt_save_ifs
9245 ;;
9246 esac
9247 else
9248 enable_static=yes
9249 fi
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260 # Check whether --with-pic was given.
9261 if test "${with_pic+set}" = set; then :
9262 withval=$with_pic; lt_p=${PACKAGE-default}
9263 case $withval in
9264 yes|no) pic_mode=$withval ;;
9265 *)
9266 pic_mode=default
9267 # Look at the argument we got. We use all the common list separators.
9268 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9269 for lt_pkg in $withval; do
9270 IFS=$lt_save_ifs
9271 if test "X$lt_pkg" = "X$lt_p"; then
9272 pic_mode=yes
9273 fi
9274 done
9275 IFS=$lt_save_ifs
9276 ;;
9277 esac
9278 else
9279 pic_mode=default
9280 fi
9281
9282
9283
9284
9285
9286
9287
9288
9289 # Check whether --enable-fast-install was given.
9290 if test "${enable_fast_install+set}" = set; then :
9291 enableval=$enable_fast_install; p=${PACKAGE-default}
9292 case $enableval in
9293 yes) enable_fast_install=yes ;;
9294 no) enable_fast_install=no ;;
9295 *)
9296 enable_fast_install=no
9297 # Look at the argument we got. We use all the common list separators.
9298 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9299 for pkg in $enableval; do
9300 IFS=$lt_save_ifs
9301 if test "X$pkg" = "X$p"; then
9302 enable_fast_install=yes
9303 fi
9304 done
9305 IFS=$lt_save_ifs
9306 ;;
9307 esac
9308 else
9309 enable_fast_install=yes
9310 fi
9311
9312
9313
9314
9315
9316
9317
9318
9319 shared_archive_member_spec=
9320 case $host,$enable_shared in
9321 power*-*-aix[5-9]*,yes)
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9323 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9324
9325 # Check whether --with-aix-soname was given.
9326 if test "${with_aix_soname+set}" = set; then :
9327 withval=$with_aix_soname; case $withval in
9328 aix|svr4|both)
9329 ;;
9330 *)
9331 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9332 ;;
9333 esac
9334 lt_cv_with_aix_soname=$with_aix_soname
9335 else
9336 if ${lt_cv_with_aix_soname+:} false; then :
9337 $as_echo_n "(cached) " >&6
9338 else
9339 lt_cv_with_aix_soname=aix
9340 fi
9341
9342 with_aix_soname=$lt_cv_with_aix_soname
9343 fi
9344
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9346 $as_echo "$with_aix_soname" >&6; }
9347 if test aix != "$with_aix_soname"; then
9348 # For the AIX way of multilib, we name the shared archive member
9349 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9350 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9351 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9352 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9353 if test 64 = "${OBJECT_MODE-32}"; then
9354 shared_archive_member_spec=shr_64
9355 else
9356 shared_archive_member_spec=shr
9357 fi
9358 fi
9359 ;;
9360 *)
9361 with_aix_soname=aix
9362 ;;
9363 esac
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374 # This can be used to rebuild libtool when needed
9375 LIBTOOL_DEPS=$ltmain
9376
9377 # Always use our own libtool.
9378 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409 test -z "$LN_S" && LN_S="ln -s"
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424 if test -n "${ZSH_VERSION+set}"; then
9425 setopt NO_GLOB_SUBST
9426 fi
9427
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9429 $as_echo_n "checking for objdir... " >&6; }
9430 if ${lt_cv_objdir+:} false; then :
9431 $as_echo_n "(cached) " >&6
9432 else
9433 rm -f .libs 2>/dev/null
9434 mkdir .libs 2>/dev/null
9435 if test -d .libs; then
9436 lt_cv_objdir=.libs
9437 else
9438 # MS-DOS does not allow filenames that begin with a dot.
9439 lt_cv_objdir=_libs
9440 fi
9441 rmdir .libs 2>/dev/null
9442 fi
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9444 $as_echo "$lt_cv_objdir" >&6; }
9445 objdir=$lt_cv_objdir
9446
9447
9448
9449
9450
9451 cat >>confdefs.h <<_ACEOF
9452 #define LT_OBJDIR "$lt_cv_objdir/"
9453 _ACEOF
9454
9455
9456
9457
9458 case $host_os in
9459 aix3*)
9460 # AIX sometimes has problems with the GCC collect2 program. For some
9461 # reason, if we set the COLLECT_NAMES environment variable, the problems
9462 # vanish in a puff of smoke.
9463 if test set != "${COLLECT_NAMES+set}"; then
9464 COLLECT_NAMES=
9465 export COLLECT_NAMES
9466 fi
9467 ;;
9468 esac
9469
9470 # Global variables:
9471 ofile=libtool
9472 can_build_shared=yes
9473
9474 # All known linkers require a '.a' archive for static linking (except MSVC,
9475 # which needs '.lib').
9476 libext=a
9477
9478 with_gnu_ld=$lt_cv_prog_gnu_ld
9479
9480 old_CC=$CC
9481 old_CFLAGS=$CFLAGS
9482
9483 # Set sane defaults for various variables
9484 test -z "$CC" && CC=cc
9485 test -z "$LTCC" && LTCC=$CC
9486 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9487 test -z "$LD" && LD=ld
9488 test -z "$ac_objext" && ac_objext=o
9489
9490 func_cc_basename $compiler
9491 cc_basename=$func_cc_basename_result
9492
9493
9494 # Only perform the check for file, if the check method requires it
9495 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9496 case $deplibs_check_method in
9497 file_magic*)
9498 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9500 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9501 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9502 $as_echo_n "(cached) " >&6
9503 else
9504 case $MAGIC_CMD in
9505 [\\/*] | ?:[\\/]*)
9506 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9507 ;;
9508 *)
9509 lt_save_MAGIC_CMD=$MAGIC_CMD
9510 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9511 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9512 for ac_dir in $ac_dummy; do
9513 IFS=$lt_save_ifs
9514 test -z "$ac_dir" && ac_dir=.
9515 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9516 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9517 if test -n "$file_magic_test_file"; then
9518 case $deplibs_check_method in
9519 "file_magic "*)
9520 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9521 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9522 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9523 $EGREP "$file_magic_regex" > /dev/null; then
9524 :
9525 else
9526 cat <<_LT_EOF 1>&2
9527
9528 *** Warning: the command libtool uses to detect shared libraries,
9529 *** $file_magic_cmd, produces output that libtool cannot recognize.
9530 *** The result is that libtool may fail to recognize shared libraries
9531 *** as such. This will affect the creation of libtool libraries that
9532 *** depend on shared libraries, but programs linked with such libtool
9533 *** libraries will work regardless of this problem. Nevertheless, you
9534 *** may want to report the problem to your system manager and/or to
9535 *** [email protected]
9536
9537 _LT_EOF
9538 fi ;;
9539 esac
9540 fi
9541 break
9542 fi
9543 done
9544 IFS=$lt_save_ifs
9545 MAGIC_CMD=$lt_save_MAGIC_CMD
9546 ;;
9547 esac
9548 fi
9549
9550 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9551 if test -n "$MAGIC_CMD"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9553 $as_echo "$MAGIC_CMD" >&6; }
9554 else
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9557 fi
9558
9559
9560
9561
9562
9563 if test -z "$lt_cv_path_MAGIC_CMD"; then
9564 if test -n "$ac_tool_prefix"; then
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9566 $as_echo_n "checking for file... " >&6; }
9567 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 case $MAGIC_CMD in
9571 [\\/*] | ?:[\\/]*)
9572 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9573 ;;
9574 *)
9575 lt_save_MAGIC_CMD=$MAGIC_CMD
9576 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9577 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9578 for ac_dir in $ac_dummy; do
9579 IFS=$lt_save_ifs
9580 test -z "$ac_dir" && ac_dir=.
9581 if test -f "$ac_dir/file"; then
9582 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9583 if test -n "$file_magic_test_file"; then
9584 case $deplibs_check_method in
9585 "file_magic "*)
9586 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9587 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9588 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9589 $EGREP "$file_magic_regex" > /dev/null; then
9590 :
9591 else
9592 cat <<_LT_EOF 1>&2
9593
9594 *** Warning: the command libtool uses to detect shared libraries,
9595 *** $file_magic_cmd, produces output that libtool cannot recognize.
9596 *** The result is that libtool may fail to recognize shared libraries
9597 *** as such. This will affect the creation of libtool libraries that
9598 *** depend on shared libraries, but programs linked with such libtool
9599 *** libraries will work regardless of this problem. Nevertheless, you
9600 *** may want to report the problem to your system manager and/or to
9601 *** [email protected]
9602
9603 _LT_EOF
9604 fi ;;
9605 esac
9606 fi
9607 break
9608 fi
9609 done
9610 IFS=$lt_save_ifs
9611 MAGIC_CMD=$lt_save_MAGIC_CMD
9612 ;;
9613 esac
9614 fi
9615
9616 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9617 if test -n "$MAGIC_CMD"; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9619 $as_echo "$MAGIC_CMD" >&6; }
9620 else
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9622 $as_echo "no" >&6; }
9623 fi
9624
9625
9626 else
9627 MAGIC_CMD=:
9628 fi
9629 fi
9630
9631 fi
9632 ;;
9633 esac
9634
9635 # Use C for the default configuration in the libtool script
9636
9637 lt_save_CC=$CC
9638 ac_ext=c
9639 ac_cpp='$CPP $CPPFLAGS'
9640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9643
9644
9645 # Source file extension for C test sources.
9646 ac_ext=c
9647
9648 # Object file extension for compiled C test sources.
9649 objext=o
9650 objext=$objext
9651
9652 # Code to be used in simple compile tests
9653 lt_simple_compile_test_code="int some_variable = 0;"
9654
9655 # Code to be used in simple link tests
9656 lt_simple_link_test_code='int main(){return(0);}'
9657
9658
9659
9660
9661
9662
9663
9664 # If no C compiler was specified, use CC.
9665 LTCC=${LTCC-"$CC"}
9666
9667 # If no C compiler flags were specified, use CFLAGS.
9668 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9669
9670 # Allow CC to be a program name with arguments.
9671 compiler=$CC
9672
9673 # Save the default compiler, since it gets overwritten when the other
9674 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9675 compiler_DEFAULT=$CC
9676
9677 # save warnings/boilerplate of simple test code
9678 ac_outfile=conftest.$ac_objext
9679 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9680 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9681 _lt_compiler_boilerplate=`cat conftest.err`
9682 $RM conftest*
9683
9684 ac_outfile=conftest.$ac_objext
9685 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9686 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9687 _lt_linker_boilerplate=`cat conftest.err`
9688 $RM -r conftest*
9689
9690
9691 ## CAVEAT EMPTOR:
9692 ## There is no encapsulation within the following macros, do not change
9693 ## the running order or otherwise move them around unless you know exactly
9694 ## what you are doing...
9695 if test -n "$compiler"; then
9696
9697 lt_prog_compiler_no_builtin_flag=
9698
9699 if test yes = "$GCC"; then
9700 case $cc_basename in
9701 nvcc*)
9702 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9703 *)
9704 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9705 esac
9706
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9708 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9709 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 lt_cv_prog_compiler_rtti_exceptions=no
9713 ac_outfile=conftest.$ac_objext
9714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9715 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9716 # Insert the option either (1) after the last *FLAGS variable, or
9717 # (2) before a word containing "conftest.", or (3) at the end.
9718 # Note that $ac_compile itself does not contain backslashes and begins
9719 # with a dollar sign (not a hyphen), so the echo should work correctly.
9720 # The option is referenced via a variable to avoid confusing sed.
9721 lt_compile=`echo "$ac_compile" | $SED \
9722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9724 -e 's:$: $lt_compiler_flag:'`
9725 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9726 (eval "$lt_compile" 2>conftest.err)
9727 ac_status=$?
9728 cat conftest.err >&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 if (exit $ac_status) && test -s "$ac_outfile"; then
9731 # The compiler can only warn and ignore the option if not recognized
9732 # So say no if there are warnings other than the usual output.
9733 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9734 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9735 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9736 lt_cv_prog_compiler_rtti_exceptions=yes
9737 fi
9738 fi
9739 $RM conftest*
9740
9741 fi
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9743 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9744
9745 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9746 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9747 else
9748 :
9749 fi
9750
9751 fi
9752
9753
9754
9755
9756
9757
9758 lt_prog_compiler_wl=
9759 lt_prog_compiler_pic=
9760 lt_prog_compiler_static=
9761
9762
9763 if test yes = "$GCC"; then
9764 lt_prog_compiler_wl='-Wl,'
9765 lt_prog_compiler_static='-static'
9766
9767 case $host_os in
9768 aix*)
9769 # All AIX code is PIC.
9770 if test ia64 = "$host_cpu"; then
9771 # AIX 5 now supports IA64 processor
9772 lt_prog_compiler_static='-Bstatic'
9773 fi
9774 lt_prog_compiler_pic='-fPIC'
9775 ;;
9776
9777 amigaos*)
9778 case $host_cpu in
9779 powerpc)
9780 # see comment about AmigaOS4 .so support
9781 lt_prog_compiler_pic='-fPIC'
9782 ;;
9783 m68k)
9784 # FIXME: we need at least 68020 code to build shared libraries, but
9785 # adding the '-m68020' flag to GCC prevents building anything better,
9786 # like '-m68040'.
9787 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9788 ;;
9789 esac
9790 ;;
9791
9792 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9793 # PIC is the default for these OSes.
9794 ;;
9795
9796 mingw* | cygwin* | pw32* | os2* | cegcc*)
9797 # This hack is so that the source file can tell whether it is being
9798 # built for inclusion in a dll (and should export symbols for example).
9799 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9800 # (--disable-auto-import) libraries
9801 lt_prog_compiler_pic='-DDLL_EXPORT'
9802 case $host_os in
9803 os2*)
9804 lt_prog_compiler_static='$wl-static'
9805 ;;
9806 esac
9807 ;;
9808
9809 darwin* | rhapsody*)
9810 # PIC is the default on this platform
9811 # Common symbols not allowed in MH_DYLIB files
9812 lt_prog_compiler_pic='-fno-common'
9813 ;;
9814
9815 haiku*)
9816 # PIC is the default for Haiku.
9817 # The "-static" flag exists, but is broken.
9818 lt_prog_compiler_static=
9819 ;;
9820
9821 hpux*)
9822 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9823 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9824 # sets the default TLS model and affects inlining.
9825 case $host_cpu in
9826 hppa*64*)
9827 # +Z the default
9828 ;;
9829 *)
9830 lt_prog_compiler_pic='-fPIC'
9831 ;;
9832 esac
9833 ;;
9834
9835 interix[3-9]*)
9836 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9837 # Instead, we relocate shared libraries at runtime.
9838 ;;
9839
9840 msdosdjgpp*)
9841 # Just because we use GCC doesn't mean we suddenly get shared libraries
9842 # on systems that don't support them.
9843 lt_prog_compiler_can_build_shared=no
9844 enable_shared=no
9845 ;;
9846
9847 *nto* | *qnx*)
9848 # QNX uses GNU C++, but need to define -shared option too, otherwise
9849 # it will coredump.
9850 lt_prog_compiler_pic='-fPIC -shared'
9851 ;;
9852
9853 sysv4*MP*)
9854 if test -d /usr/nec; then
9855 lt_prog_compiler_pic=-Kconform_pic
9856 fi
9857 ;;
9858
9859 *)
9860 lt_prog_compiler_pic='-fPIC'
9861 ;;
9862 esac
9863
9864 case $cc_basename in
9865 nvcc*) # Cuda Compiler Driver 2.2
9866 lt_prog_compiler_wl='-Xlinker '
9867 if test -n "$lt_prog_compiler_pic"; then
9868 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9869 fi
9870 ;;
9871 esac
9872 else
9873 # PORTME Check for flag to pass linker flags through the system compiler.
9874 case $host_os in
9875 aix*)
9876 lt_prog_compiler_wl='-Wl,'
9877 if test ia64 = "$host_cpu"; then
9878 # AIX 5 now supports IA64 processor
9879 lt_prog_compiler_static='-Bstatic'
9880 else
9881 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9882 fi
9883 ;;
9884
9885 darwin* | rhapsody*)
9886 # PIC is the default on this platform
9887 # Common symbols not allowed in MH_DYLIB files
9888 lt_prog_compiler_pic='-fno-common'
9889 case $cc_basename in
9890 nagfor*)
9891 # NAG Fortran compiler
9892 lt_prog_compiler_wl='-Wl,-Wl,,'
9893 lt_prog_compiler_pic='-PIC'
9894 lt_prog_compiler_static='-Bstatic'
9895 ;;
9896 esac
9897 ;;
9898
9899 mingw* | cygwin* | pw32* | os2* | cegcc*)
9900 # This hack is so that the source file can tell whether it is being
9901 # built for inclusion in a dll (and should export symbols for example).
9902 lt_prog_compiler_pic='-DDLL_EXPORT'
9903 case $host_os in
9904 os2*)
9905 lt_prog_compiler_static='$wl-static'
9906 ;;
9907 esac
9908 ;;
9909
9910 hpux9* | hpux10* | hpux11*)
9911 lt_prog_compiler_wl='-Wl,'
9912 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9913 # not for PA HP-UX.
9914 case $host_cpu in
9915 hppa*64*|ia64*)
9916 # +Z the default
9917 ;;
9918 *)
9919 lt_prog_compiler_pic='+Z'
9920 ;;
9921 esac
9922 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9923 lt_prog_compiler_static='$wl-a ${wl}archive'
9924 ;;
9925
9926 irix5* | irix6* | nonstopux*)
9927 lt_prog_compiler_wl='-Wl,'
9928 # PIC (with -KPIC) is the default.
9929 lt_prog_compiler_static='-non_shared'
9930 ;;
9931
9932 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9933 case $cc_basename in
9934 # old Intel for x86_64, which still supported -KPIC.
9935 ecc*)
9936 lt_prog_compiler_wl='-Wl,'
9937 lt_prog_compiler_pic='-KPIC'
9938 lt_prog_compiler_static='-static'
9939 ;;
9940 # icc used to be incompatible with GCC.
9941 # ICC 10 doesn't accept -KPIC any more.
9942 icc* | ifort*)
9943 lt_prog_compiler_wl='-Wl,'
9944 lt_prog_compiler_pic='-fPIC'
9945 lt_prog_compiler_static='-static'
9946 ;;
9947 # Lahey Fortran 8.1.
9948 lf95*)
9949 lt_prog_compiler_wl='-Wl,'
9950 lt_prog_compiler_pic='--shared'
9951 lt_prog_compiler_static='--static'
9952 ;;
9953 nagfor*)
9954 # NAG Fortran compiler
9955 lt_prog_compiler_wl='-Wl,-Wl,,'
9956 lt_prog_compiler_pic='-PIC'
9957 lt_prog_compiler_static='-Bstatic'
9958 ;;
9959 tcc*)
9960 # Fabrice Bellard et al's Tiny C Compiler
9961 lt_prog_compiler_wl='-Wl,'
9962 lt_prog_compiler_pic='-fPIC'
9963 lt_prog_compiler_static='-static'
9964 ;;
9965 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9966 # Portland Group compilers (*not* the Pentium gcc compiler,
9967 # which looks to be a dead project)
9968 lt_prog_compiler_wl='-Wl,'
9969 lt_prog_compiler_pic='-fpic'
9970 lt_prog_compiler_static='-Bstatic'
9971 ;;
9972 ccc*)
9973 lt_prog_compiler_wl='-Wl,'
9974 # All Alpha code is PIC.
9975 lt_prog_compiler_static='-non_shared'
9976 ;;
9977 xl* | bgxl* | bgf* | mpixl*)
9978 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9979 lt_prog_compiler_wl='-Wl,'
9980 lt_prog_compiler_pic='-qpic'
9981 lt_prog_compiler_static='-qstaticlink'
9982 ;;
9983 *)
9984 case `$CC -V 2>&1 | sed 5q` in
9985 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9986 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9987 lt_prog_compiler_pic='-KPIC'
9988 lt_prog_compiler_static='-Bstatic'
9989 lt_prog_compiler_wl=''
9990 ;;
9991 *Sun\ F* | *Sun*Fortran*)
9992 lt_prog_compiler_pic='-KPIC'
9993 lt_prog_compiler_static='-Bstatic'
9994 lt_prog_compiler_wl='-Qoption ld '
9995 ;;
9996 *Sun\ C*)
9997 # Sun C 5.9
9998 lt_prog_compiler_pic='-KPIC'
9999 lt_prog_compiler_static='-Bstatic'
10000 lt_prog_compiler_wl='-Wl,'
10001 ;;
10002 *Intel*\ [CF]*Compiler*)
10003 lt_prog_compiler_wl='-Wl,'
10004 lt_prog_compiler_pic='-fPIC'
10005 lt_prog_compiler_static='-static'
10006 ;;
10007 *Portland\ Group*)
10008 lt_prog_compiler_wl='-Wl,'
10009 lt_prog_compiler_pic='-fpic'
10010 lt_prog_compiler_static='-Bstatic'
10011 ;;
10012 esac
10013 ;;
10014 esac
10015 ;;
10016
10017 newsos6)
10018 lt_prog_compiler_pic='-KPIC'
10019 lt_prog_compiler_static='-Bstatic'
10020 ;;
10021
10022 *nto* | *qnx*)
10023 # QNX uses GNU C++, but need to define -shared option too, otherwise
10024 # it will coredump.
10025 lt_prog_compiler_pic='-fPIC -shared'
10026 ;;
10027
10028 osf3* | osf4* | osf5*)
10029 lt_prog_compiler_wl='-Wl,'
10030 # All OSF/1 code is PIC.
10031 lt_prog_compiler_static='-non_shared'
10032 ;;
10033
10034 rdos*)
10035 lt_prog_compiler_static='-non_shared'
10036 ;;
10037
10038 solaris*)
10039 lt_prog_compiler_pic='-KPIC'
10040 lt_prog_compiler_static='-Bstatic'
10041 case $cc_basename in
10042 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10043 lt_prog_compiler_wl='-Qoption ld ';;
10044 *)
10045 lt_prog_compiler_wl='-Wl,';;
10046 esac
10047 ;;
10048
10049 sunos4*)
10050 lt_prog_compiler_wl='-Qoption ld '
10051 lt_prog_compiler_pic='-PIC'
10052 lt_prog_compiler_static='-Bstatic'
10053 ;;
10054
10055 sysv4 | sysv4.2uw2* | sysv4.3*)
10056 lt_prog_compiler_wl='-Wl,'
10057 lt_prog_compiler_pic='-KPIC'
10058 lt_prog_compiler_static='-Bstatic'
10059 ;;
10060
10061 sysv4*MP*)
10062 if test -d /usr/nec; then
10063 lt_prog_compiler_pic='-Kconform_pic'
10064 lt_prog_compiler_static='-Bstatic'
10065 fi
10066 ;;
10067
10068 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10069 lt_prog_compiler_wl='-Wl,'
10070 lt_prog_compiler_pic='-KPIC'
10071 lt_prog_compiler_static='-Bstatic'
10072 ;;
10073
10074 unicos*)
10075 lt_prog_compiler_wl='-Wl,'
10076 lt_prog_compiler_can_build_shared=no
10077 ;;
10078
10079 uts4*)
10080 lt_prog_compiler_pic='-pic'
10081 lt_prog_compiler_static='-Bstatic'
10082 ;;
10083
10084 *)
10085 lt_prog_compiler_can_build_shared=no
10086 ;;
10087 esac
10088 fi
10089
10090 case $host_os in
10091 # For platforms that do not support PIC, -DPIC is meaningless:
10092 *djgpp*)
10093 lt_prog_compiler_pic=
10094 ;;
10095 *)
10096 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10097 ;;
10098 esac
10099
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10101 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10102 if ${lt_cv_prog_compiler_pic+:} false; then :
10103 $as_echo_n "(cached) " >&6
10104 else
10105 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10106 fi
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10108 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10109 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10110
10111 #
10112 # Check to make sure the PIC flag actually works.
10113 #
10114 if test -n "$lt_prog_compiler_pic"; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10116 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10117 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10118 $as_echo_n "(cached) " >&6
10119 else
10120 lt_cv_prog_compiler_pic_works=no
10121 ac_outfile=conftest.$ac_objext
10122 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10123 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10124 # Insert the option either (1) after the last *FLAGS variable, or
10125 # (2) before a word containing "conftest.", or (3) at the end.
10126 # Note that $ac_compile itself does not contain backslashes and begins
10127 # with a dollar sign (not a hyphen), so the echo should work correctly.
10128 # The option is referenced via a variable to avoid confusing sed.
10129 lt_compile=`echo "$ac_compile" | $SED \
10130 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10131 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10132 -e 's:$: $lt_compiler_flag:'`
10133 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10134 (eval "$lt_compile" 2>conftest.err)
10135 ac_status=$?
10136 cat conftest.err >&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 if (exit $ac_status) && test -s "$ac_outfile"; then
10139 # The compiler can only warn and ignore the option if not recognized
10140 # So say no if there are warnings other than the usual output.
10141 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10142 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10143 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10144 lt_cv_prog_compiler_pic_works=yes
10145 fi
10146 fi
10147 $RM conftest*
10148
10149 fi
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10151 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10152
10153 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10154 case $lt_prog_compiler_pic in
10155 "" | " "*) ;;
10156 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10157 esac
10158 else
10159 lt_prog_compiler_pic=
10160 lt_prog_compiler_can_build_shared=no
10161 fi
10162
10163 fi
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175 #
10176 # Check to make sure the static flag actually works.
10177 #
10178 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10180 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10181 if ${lt_cv_prog_compiler_static_works+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 lt_cv_prog_compiler_static_works=no
10185 save_LDFLAGS=$LDFLAGS
10186 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10187 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10188 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10189 # The linker can only warn and ignore the option if not recognized
10190 # So say no if there are warnings
10191 if test -s conftest.err; then
10192 # Append any errors to the config.log.
10193 cat conftest.err 1>&5
10194 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10195 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10196 if diff conftest.exp conftest.er2 >/dev/null; then
10197 lt_cv_prog_compiler_static_works=yes
10198 fi
10199 else
10200 lt_cv_prog_compiler_static_works=yes
10201 fi
10202 fi
10203 $RM -r conftest*
10204 LDFLAGS=$save_LDFLAGS
10205
10206 fi
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10208 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10209
10210 if test yes = "$lt_cv_prog_compiler_static_works"; then
10211 :
10212 else
10213 lt_prog_compiler_static=
10214 fi
10215
10216
10217
10218
10219
10220
10221
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10223 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10224 if ${lt_cv_prog_compiler_c_o+:} false; then :
10225 $as_echo_n "(cached) " >&6
10226 else
10227 lt_cv_prog_compiler_c_o=no
10228 $RM -r conftest 2>/dev/null
10229 mkdir conftest
10230 cd conftest
10231 mkdir out
10232 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10233
10234 lt_compiler_flag="-o out/conftest2.$ac_objext"
10235 # Insert the option either (1) after the last *FLAGS variable, or
10236 # (2) before a word containing "conftest.", or (3) at the end.
10237 # Note that $ac_compile itself does not contain backslashes and begins
10238 # with a dollar sign (not a hyphen), so the echo should work correctly.
10239 lt_compile=`echo "$ac_compile" | $SED \
10240 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10242 -e 's:$: $lt_compiler_flag:'`
10243 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10244 (eval "$lt_compile" 2>out/conftest.err)
10245 ac_status=$?
10246 cat out/conftest.err >&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10249 then
10250 # The compiler can only warn and ignore the option if not recognized
10251 # So say no if there are warnings
10252 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10253 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10254 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10255 lt_cv_prog_compiler_c_o=yes
10256 fi
10257 fi
10258 chmod u+w . 2>&5
10259 $RM conftest*
10260 # SGI C++ compiler will create directory out/ii_files/ for
10261 # template instantiation
10262 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10263 $RM out/* && rmdir out
10264 cd ..
10265 $RM -r conftest
10266 $RM conftest*
10267
10268 fi
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10270 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10271
10272
10273
10274
10275
10276
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10278 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10279 if ${lt_cv_prog_compiler_c_o+:} false; then :
10280 $as_echo_n "(cached) " >&6
10281 else
10282 lt_cv_prog_compiler_c_o=no
10283 $RM -r conftest 2>/dev/null
10284 mkdir conftest
10285 cd conftest
10286 mkdir out
10287 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10288
10289 lt_compiler_flag="-o out/conftest2.$ac_objext"
10290 # Insert the option either (1) after the last *FLAGS variable, or
10291 # (2) before a word containing "conftest.", or (3) at the end.
10292 # Note that $ac_compile itself does not contain backslashes and begins
10293 # with a dollar sign (not a hyphen), so the echo should work correctly.
10294 lt_compile=`echo "$ac_compile" | $SED \
10295 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10296 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10297 -e 's:$: $lt_compiler_flag:'`
10298 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10299 (eval "$lt_compile" 2>out/conftest.err)
10300 ac_status=$?
10301 cat out/conftest.err >&5
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10304 then
10305 # The compiler can only warn and ignore the option if not recognized
10306 # So say no if there are warnings
10307 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10308 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10309 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10310 lt_cv_prog_compiler_c_o=yes
10311 fi
10312 fi
10313 chmod u+w . 2>&5
10314 $RM conftest*
10315 # SGI C++ compiler will create directory out/ii_files/ for
10316 # template instantiation
10317 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10318 $RM out/* && rmdir out
10319 cd ..
10320 $RM -r conftest
10321 $RM conftest*
10322
10323 fi
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10325 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10326
10327
10328
10329
10330 hard_links=nottested
10331 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10332 # do not overwrite the value of need_locks provided by the user
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10334 $as_echo_n "checking if we can lock with hard links... " >&6; }
10335 hard_links=yes
10336 $RM conftest*
10337 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10338 touch conftest.a
10339 ln conftest.a conftest.b 2>&5 || hard_links=no
10340 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10342 $as_echo "$hard_links" >&6; }
10343 if test no = "$hard_links"; then
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10345 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10346 need_locks=warn
10347 fi
10348 else
10349 need_locks=no
10350 fi
10351
10352
10353
10354
10355
10356
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10358 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10359
10360 runpath_var=
10361 allow_undefined_flag=
10362 always_export_symbols=no
10363 archive_cmds=
10364 archive_expsym_cmds=
10365 compiler_needs_object=no
10366 enable_shared_with_static_runtimes=no
10367 export_dynamic_flag_spec=
10368 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10369 hardcode_automatic=no
10370 hardcode_direct=no
10371 hardcode_direct_absolute=no
10372 hardcode_libdir_flag_spec=
10373 hardcode_libdir_separator=
10374 hardcode_minus_L=no
10375 hardcode_shlibpath_var=unsupported
10376 inherit_rpath=no
10377 link_all_deplibs=unknown
10378 module_cmds=
10379 module_expsym_cmds=
10380 old_archive_from_new_cmds=
10381 old_archive_from_expsyms_cmds=
10382 thread_safe_flag_spec=
10383 whole_archive_flag_spec=
10384 # include_expsyms should be a list of space-separated symbols to be *always*
10385 # included in the symbol list
10386 include_expsyms=
10387 # exclude_expsyms can be an extended regexp of symbols to exclude
10388 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10389 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10390 # as well as any symbol that contains 'd'.
10391 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10392 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10393 # platforms (ab)use it in PIC code, but their linkers get confused if
10394 # the symbol is explicitly referenced. Since portable code cannot
10395 # rely on this symbol name, it's probably fine to never include it in
10396 # preloaded symbol tables.
10397 # Exclude shared library initialization/finalization symbols.
10398 extract_expsyms_cmds=
10399
10400 case $host_os in
10401 cygwin* | mingw* | pw32* | cegcc*)
10402 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10403 # When not using gcc, we currently assume that we are using
10404 # Microsoft Visual C++.
10405 if test yes != "$GCC"; then
10406 with_gnu_ld=no
10407 fi
10408 ;;
10409 interix*)
10410 # we just hope/assume this is gcc and not c89 (= MSVC++)
10411 with_gnu_ld=yes
10412 ;;
10413 openbsd* | bitrig*)
10414 with_gnu_ld=no
10415 ;;
10416 linux* | k*bsd*-gnu | gnu*)
10417 link_all_deplibs=no
10418 ;;
10419 esac
10420
10421 ld_shlibs=yes
10422
10423 # On some targets, GNU ld is compatible enough with the native linker
10424 # that we're better off using the native interface for both.
10425 lt_use_gnu_ld_interface=no
10426 if test yes = "$with_gnu_ld"; then
10427 case $host_os in
10428 aix*)
10429 # The AIX port of GNU ld has always aspired to compatibility
10430 # with the native linker. However, as the warning in the GNU ld
10431 # block says, versions before 2.19.5* couldn't really create working
10432 # shared libraries, regardless of the interface used.
10433 case `$LD -v 2>&1` in
10434 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10435 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10436 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10437 *)
10438 lt_use_gnu_ld_interface=yes
10439 ;;
10440 esac
10441 ;;
10442 *)
10443 lt_use_gnu_ld_interface=yes
10444 ;;
10445 esac
10446 fi
10447
10448 if test yes = "$lt_use_gnu_ld_interface"; then
10449 # If archive_cmds runs LD, not CC, wlarc should be empty
10450 wlarc='$wl'
10451
10452 # Set some defaults for GNU ld with shared library support. These
10453 # are reset later if shared libraries are not supported. Putting them
10454 # here allows them to be overridden if necessary.
10455 runpath_var=LD_RUN_PATH
10456 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10457 export_dynamic_flag_spec='$wl--export-dynamic'
10458 # ancient GNU ld didn't support --whole-archive et. al.
10459 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10460 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10461 else
10462 whole_archive_flag_spec=
10463 fi
10464 supports_anon_versioning=no
10465 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10466 *GNU\ gold*) supports_anon_versioning=yes ;;
10467 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10468 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10469 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10470 *\ 2.11.*) ;; # other 2.11 versions
10471 *) supports_anon_versioning=yes ;;
10472 esac
10473
10474 # See if GNU ld supports shared libraries.
10475 case $host_os in
10476 aix[3-9]*)
10477 # On AIX/PPC, the GNU linker is very broken
10478 if test ia64 != "$host_cpu"; then
10479 ld_shlibs=no
10480 cat <<_LT_EOF 1>&2
10481
10482 *** Warning: the GNU linker, at least up to release 2.19, is reported
10483 *** to be unable to reliably create shared libraries on AIX.
10484 *** Therefore, libtool is disabling shared libraries support. If you
10485 *** really care for shared libraries, you may want to install binutils
10486 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10487 *** You will then need to restart the configuration process.
10488
10489 _LT_EOF
10490 fi
10491 ;;
10492
10493 amigaos*)
10494 case $host_cpu in
10495 powerpc)
10496 # see comment about AmigaOS4 .so support
10497 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10498 archive_expsym_cmds=''
10499 ;;
10500 m68k)
10501 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)'
10502 hardcode_libdir_flag_spec='-L$libdir'
10503 hardcode_minus_L=yes
10504 ;;
10505 esac
10506 ;;
10507
10508 beos*)
10509 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10510 allow_undefined_flag=unsupported
10511 # Joseph Beckenbach <[email protected]> says some releases of gcc
10512 # support --undefined. This deserves some investigation. FIXME
10513 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10514 else
10515 ld_shlibs=no
10516 fi
10517 ;;
10518
10519 cygwin* | mingw* | pw32* | cegcc*)
10520 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10521 # as there is no search path for DLLs.
10522 hardcode_libdir_flag_spec='-L$libdir'
10523 export_dynamic_flag_spec='$wl--export-all-symbols'
10524 allow_undefined_flag=unsupported
10525 always_export_symbols=no
10526 enable_shared_with_static_runtimes=yes
10527 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'
10528 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10529
10530 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10531 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10532 # If the export-symbols file already is a .def file, use it as
10533 # is; otherwise, prepend EXPORTS...
10534 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10535 cp $export_symbols $output_objdir/$soname.def;
10536 else
10537 echo EXPORTS > $output_objdir/$soname.def;
10538 cat $export_symbols >> $output_objdir/$soname.def;
10539 fi~
10540 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10541 else
10542 ld_shlibs=no
10543 fi
10544 ;;
10545
10546 haiku*)
10547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10548 link_all_deplibs=yes
10549 ;;
10550
10551 os2*)
10552 hardcode_libdir_flag_spec='-L$libdir'
10553 hardcode_minus_L=yes
10554 allow_undefined_flag=unsupported
10555 shrext_cmds=.dll
10556 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10557 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10558 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10559 $ECHO EXPORTS >> $output_objdir/$libname.def~
10560 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10561 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10562 emximp -o $lib $output_objdir/$libname.def'
10563 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10564 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10565 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10566 $ECHO EXPORTS >> $output_objdir/$libname.def~
10567 prefix_cmds="$SED"~
10568 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10569 prefix_cmds="$prefix_cmds -e 1d";
10570 fi~
10571 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10572 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10573 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10574 emximp -o $lib $output_objdir/$libname.def'
10575 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10576 enable_shared_with_static_runtimes=yes
10577 ;;
10578
10579 interix[3-9]*)
10580 hardcode_direct=no
10581 hardcode_shlibpath_var=no
10582 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10583 export_dynamic_flag_spec='$wl-E'
10584 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10585 # Instead, shared libraries are loaded at an image base (0x10000000 by
10586 # default) and relocated if they conflict, which is a slow very memory
10587 # consuming and fragmenting process. To avoid this, we pick a random,
10588 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10589 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10590 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10591 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'
10592 ;;
10593
10594 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10595 tmp_diet=no
10596 if test linux-dietlibc = "$host_os"; then
10597 case $cc_basename in
10598 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10599 esac
10600 fi
10601 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10602 && test no = "$tmp_diet"
10603 then
10604 tmp_addflag=' $pic_flag'
10605 tmp_sharedflag='-shared'
10606 case $cc_basename,$host_cpu in
10607 pgcc*) # Portland Group C compiler
10608 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'
10609 tmp_addflag=' $pic_flag'
10610 ;;
10611 pgf77* | pgf90* | pgf95* | pgfortran*)
10612 # Portland Group f77 and f90 compilers
10613 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'
10614 tmp_addflag=' $pic_flag -Mnomain' ;;
10615 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10616 tmp_addflag=' -i_dynamic' ;;
10617 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10618 tmp_addflag=' -i_dynamic -nofor_main' ;;
10619 ifc* | ifort*) # Intel Fortran compiler
10620 tmp_addflag=' -nofor_main' ;;
10621 lf95*) # Lahey Fortran 8.1
10622 whole_archive_flag_spec=
10623 tmp_sharedflag='--shared' ;;
10624 nagfor*) # NAGFOR 5.3
10625 tmp_sharedflag='-Wl,-shared' ;;
10626 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10627 tmp_sharedflag='-qmkshrobj'
10628 tmp_addflag= ;;
10629 nvcc*) # Cuda Compiler Driver 2.2
10630 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'
10631 compiler_needs_object=yes
10632 ;;
10633 esac
10634 case `$CC -V 2>&1 | sed 5q` in
10635 *Sun\ C*) # Sun C 5.9
10636 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'
10637 compiler_needs_object=yes
10638 tmp_sharedflag='-G' ;;
10639 *Sun\ F*) # Sun Fortran 8.3
10640 tmp_sharedflag='-G' ;;
10641 esac
10642 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10643
10644 if test yes = "$supports_anon_versioning"; then
10645 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10646 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10647 echo "local: *; };" >> $output_objdir/$libname.ver~
10648 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10649 fi
10650
10651 case $cc_basename in
10652 tcc*)
10653 export_dynamic_flag_spec='-rdynamic'
10654 ;;
10655 xlf* | bgf* | bgxlf* | mpixlf*)
10656 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10657 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10658 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10659 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10660 if test yes = "$supports_anon_versioning"; then
10661 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10662 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10663 echo "local: *; };" >> $output_objdir/$libname.ver~
10664 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10665 fi
10666 ;;
10667 esac
10668 else
10669 ld_shlibs=no
10670 fi
10671 ;;
10672
10673 netbsd* | netbsdelf*-gnu)
10674 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10675 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10676 wlarc=
10677 else
10678 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10679 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10680 fi
10681 ;;
10682
10683 solaris*)
10684 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10685 ld_shlibs=no
10686 cat <<_LT_EOF 1>&2
10687
10688 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10689 *** create shared libraries on Solaris systems. Therefore, libtool
10690 *** is disabling shared libraries support. We urge you to upgrade GNU
10691 *** binutils to release 2.9.1 or newer. Another option is to modify
10692 *** your PATH or compiler configuration so that the native linker is
10693 *** used, and then restart.
10694
10695 _LT_EOF
10696 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10697 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10698 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10699 else
10700 ld_shlibs=no
10701 fi
10702 ;;
10703
10704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10705 case `$LD -v 2>&1` in
10706 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10707 ld_shlibs=no
10708 cat <<_LT_EOF 1>&2
10709
10710 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10711 *** reliably create shared libraries on SCO systems. Therefore, libtool
10712 *** is disabling shared libraries support. We urge you to upgrade GNU
10713 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10714 *** your PATH or compiler configuration so that the native linker is
10715 *** used, and then restart.
10716
10717 _LT_EOF
10718 ;;
10719 *)
10720 # For security reasons, it is highly recommended that you always
10721 # use absolute paths for naming shared libraries, and exclude the
10722 # DT_RUNPATH tag from executables and libraries. But doing so
10723 # requires that you compile everything twice, which is a pain.
10724 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10725 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10727 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10728 else
10729 ld_shlibs=no
10730 fi
10731 ;;
10732 esac
10733 ;;
10734
10735 sunos4*)
10736 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10737 wlarc=
10738 hardcode_direct=yes
10739 hardcode_shlibpath_var=no
10740 ;;
10741
10742 *)
10743 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10744 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10745 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10746 else
10747 ld_shlibs=no
10748 fi
10749 ;;
10750 esac
10751
10752 if test no = "$ld_shlibs"; then
10753 runpath_var=
10754 hardcode_libdir_flag_spec=
10755 export_dynamic_flag_spec=
10756 whole_archive_flag_spec=
10757 fi
10758 else
10759 # PORTME fill in a description of your system's linker (not GNU ld)
10760 case $host_os in
10761 aix3*)
10762 allow_undefined_flag=unsupported
10763 always_export_symbols=yes
10764 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'
10765 # Note: this linker hardcodes the directories in LIBPATH if there
10766 # are no directories specified by -L.
10767 hardcode_minus_L=yes
10768 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10769 # Neither direct hardcoding nor static linking is supported with a
10770 # broken collect2.
10771 hardcode_direct=unsupported
10772 fi
10773 ;;
10774
10775 aix[4-9]*)
10776 if test ia64 = "$host_cpu"; then
10777 # On IA64, the linker does run time linking by default, so we don't
10778 # have to do anything special.
10779 aix_use_runtimelinking=no
10780 exp_sym_flag='-Bexport'
10781 no_entry_flag=
10782 else
10783 # If we're using GNU nm, then we don't want the "-C" option.
10784 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10785 # Without the "-l" option, or with the "-B" option, AIX nm treats
10786 # weak defined symbols like other global defined symbols, whereas
10787 # GNU nm marks them as "W".
10788 # While the 'weak' keyword is ignored in the Export File, we need
10789 # it in the Import File for the 'aix-soname' feature, so we have
10790 # to replace the "-B" option with "-P" for AIX nm.
10791 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10792 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'
10793 else
10794 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'
10795 fi
10796 aix_use_runtimelinking=no
10797
10798 # Test if we are trying to use run time linking or normal
10799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10800 # have runtime linking enabled, and use it for executables.
10801 # For shared libraries, we enable/disable runtime linking
10802 # depending on the kind of the shared library created -
10803 # when "with_aix_soname,aix_use_runtimelinking" is:
10804 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10805 # "aix,yes" lib.so shared, rtl:yes, for executables
10806 # lib.a static archive
10807 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10808 # lib.a(lib.so.V) shared, rtl:no, for executables
10809 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10810 # lib.a(lib.so.V) shared, rtl:no
10811 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10812 # lib.a static archive
10813 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10814 for ld_flag in $LDFLAGS; do
10815 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10816 aix_use_runtimelinking=yes
10817 break
10818 fi
10819 done
10820 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10821 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10822 # so we don't have lib.a shared libs to link our executables.
10823 # We have to force runtime linking in this case.
10824 aix_use_runtimelinking=yes
10825 LDFLAGS="$LDFLAGS -Wl,-brtl"
10826 fi
10827 ;;
10828 esac
10829
10830 exp_sym_flag='-bexport'
10831 no_entry_flag='-bnoentry'
10832 fi
10833
10834 # When large executables or shared objects are built, AIX ld can
10835 # have problems creating the table of contents. If linking a library
10836 # or program results in "error TOC overflow" add -mminimal-toc to
10837 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10838 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10839
10840 archive_cmds=''
10841 hardcode_direct=yes
10842 hardcode_direct_absolute=yes
10843 hardcode_libdir_separator=':'
10844 link_all_deplibs=yes
10845 file_list_spec='$wl-f,'
10846 case $with_aix_soname,$aix_use_runtimelinking in
10847 aix,*) ;; # traditional, no import file
10848 svr4,* | *,yes) # use import file
10849 # The Import File defines what to hardcode.
10850 hardcode_direct=no
10851 hardcode_direct_absolute=no
10852 ;;
10853 esac
10854
10855 if test yes = "$GCC"; then
10856 case $host_os in aix4.[012]|aix4.[012].*)
10857 # We only want to do this on AIX 4.2 and lower, the check
10858 # below for broken collect2 doesn't work under 4.3+
10859 collect2name=`$CC -print-prog-name=collect2`
10860 if test -f "$collect2name" &&
10861 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10862 then
10863 # We have reworked collect2
10864 :
10865 else
10866 # We have old collect2
10867 hardcode_direct=unsupported
10868 # It fails to find uninstalled libraries when the uninstalled
10869 # path is not listed in the libpath. Setting hardcode_minus_L
10870 # to unsupported forces relinking
10871 hardcode_minus_L=yes
10872 hardcode_libdir_flag_spec='-L$libdir'
10873 hardcode_libdir_separator=
10874 fi
10875 ;;
10876 esac
10877 shared_flag='-shared'
10878 if test yes = "$aix_use_runtimelinking"; then
10879 shared_flag="$shared_flag "'$wl-G'
10880 fi
10881 # Need to ensure runtime linking is disabled for the traditional
10882 # shared library, or the linker may eventually find shared libraries
10883 # /with/ Import File - we do not want to mix them.
10884 shared_flag_aix='-shared'
10885 shared_flag_svr4='-shared $wl-G'
10886 else
10887 # not using gcc
10888 if test ia64 = "$host_cpu"; then
10889 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10890 # chokes on -Wl,-G. The following line is correct:
10891 shared_flag='-G'
10892 else
10893 if test yes = "$aix_use_runtimelinking"; then
10894 shared_flag='$wl-G'
10895 else
10896 shared_flag='$wl-bM:SRE'
10897 fi
10898 shared_flag_aix='$wl-bM:SRE'
10899 shared_flag_svr4='$wl-G'
10900 fi
10901 fi
10902
10903 export_dynamic_flag_spec='$wl-bexpall'
10904 # It seems that -bexpall does not export symbols beginning with
10905 # underscore (_), so it is better to generate a list of symbols to export.
10906 always_export_symbols=yes
10907 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10908 # Warning - without using the other runtime loading flags (-brtl),
10909 # -berok will link without error, but may produce a broken library.
10910 allow_undefined_flag='-berok'
10911 # Determine the default libpath from the value encoded in an
10912 # empty executable.
10913 if test set = "${lt_cv_aix_libpath+set}"; then
10914 aix_libpath=$lt_cv_aix_libpath
10915 else
10916 if ${lt_cv_aix_libpath_+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10921
10922 int
10923 main ()
10924 {
10925
10926 ;
10927 return 0;
10928 }
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931
10932 lt_aix_libpath_sed='
10933 /Import File Strings/,/^$/ {
10934 /^0/ {
10935 s/^0 *\([^ ]*\) *$/\1/
10936 p
10937 }
10938 }'
10939 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10940 # Check for a 64-bit object if we didn't find anything.
10941 if test -z "$lt_cv_aix_libpath_"; then
10942 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10943 fi
10944 fi
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10947 if test -z "$lt_cv_aix_libpath_"; then
10948 lt_cv_aix_libpath_=/usr/lib:/lib
10949 fi
10950
10951 fi
10952
10953 aix_libpath=$lt_cv_aix_libpath_
10954 fi
10955
10956 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10957 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
10958 else
10959 if test ia64 = "$host_cpu"; then
10960 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10961 allow_undefined_flag="-z nodefs"
10962 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"
10963 else
10964 # Determine the default libpath from the value encoded in an
10965 # empty executable.
10966 if test set = "${lt_cv_aix_libpath+set}"; then
10967 aix_libpath=$lt_cv_aix_libpath
10968 else
10969 if ${lt_cv_aix_libpath_+:} false; then :
10970 $as_echo_n "(cached) " >&6
10971 else
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10974
10975 int
10976 main ()
10977 {
10978
10979 ;
10980 return 0;
10981 }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984
10985 lt_aix_libpath_sed='
10986 /Import File Strings/,/^$/ {
10987 /^0/ {
10988 s/^0 *\([^ ]*\) *$/\1/
10989 p
10990 }
10991 }'
10992 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10993 # Check for a 64-bit object if we didn't find anything.
10994 if test -z "$lt_cv_aix_libpath_"; then
10995 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10996 fi
10997 fi
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 if test -z "$lt_cv_aix_libpath_"; then
11001 lt_cv_aix_libpath_=/usr/lib:/lib
11002 fi
11003
11004 fi
11005
11006 aix_libpath=$lt_cv_aix_libpath_
11007 fi
11008
11009 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11010 # Warning - without using the other run time loading flags,
11011 # -berok will link without error, but may produce a broken library.
11012 no_undefined_flag=' $wl-bernotok'
11013 allow_undefined_flag=' $wl-berok'
11014 if test yes = "$with_gnu_ld"; then
11015 # We only use this code for GNU lds that support --whole-archive.
11016 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11017 else
11018 # Exported symbols can be pulled into shared objects from archives
11019 whole_archive_flag_spec='$convenience'
11020 fi
11021 archive_cmds_need_lc=yes
11022 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11023 # -brtl affects multiple linker settings, -berok does not and is overridden later
11024 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11025 if test svr4 != "$with_aix_soname"; then
11026 # This is similar to how AIX traditionally builds its shared libraries.
11027 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'
11028 fi
11029 if test aix != "$with_aix_soname"; then
11030 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'
11031 else
11032 # used by -dlpreopen to get the symbols
11033 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11034 fi
11035 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11036 fi
11037 fi
11038 ;;
11039
11040 amigaos*)
11041 case $host_cpu in
11042 powerpc)
11043 # see comment about AmigaOS4 .so support
11044 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11045 archive_expsym_cmds=''
11046 ;;
11047 m68k)
11048 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)'
11049 hardcode_libdir_flag_spec='-L$libdir'
11050 hardcode_minus_L=yes
11051 ;;
11052 esac
11053 ;;
11054
11055 bsdi[45]*)
11056 export_dynamic_flag_spec=-rdynamic
11057 ;;
11058
11059 cygwin* | mingw* | pw32* | cegcc*)
11060 # When not using gcc, we currently assume that we are using
11061 # Microsoft Visual C++.
11062 # hardcode_libdir_flag_spec is actually meaningless, as there is
11063 # no search path for DLLs.
11064 case $cc_basename in
11065 cl*)
11066 # Native MSVC
11067 hardcode_libdir_flag_spec=' '
11068 allow_undefined_flag=unsupported
11069 always_export_symbols=yes
11070 file_list_spec='@'
11071 # Tell ltmain to make .lib files, not .a files.
11072 libext=lib
11073 # Tell ltmain to make .dll files, not .so files.
11074 shrext_cmds=.dll
11075 # FIXME: Setting linknames here is a bad hack.
11076 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11077 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11078 cp "$export_symbols" "$output_objdir/$soname.def";
11079 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11080 else
11081 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11082 fi~
11083 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11084 linknames='
11085 # The linker will not automatically build a static lib if we build a DLL.
11086 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11087 enable_shared_with_static_runtimes=yes
11088 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11089 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11090 # Don't use ranlib
11091 old_postinstall_cmds='chmod 644 $oldlib'
11092 postlink_cmds='lt_outputfile="@OUTPUT@"~
11093 lt_tool_outputfile="@TOOL_OUTPUT@"~
11094 case $lt_outputfile in
11095 *.exe|*.EXE) ;;
11096 *)
11097 lt_outputfile=$lt_outputfile.exe
11098 lt_tool_outputfile=$lt_tool_outputfile.exe
11099 ;;
11100 esac~
11101 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11102 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11103 $RM "$lt_outputfile.manifest";
11104 fi'
11105 ;;
11106 *)
11107 # Assume MSVC wrapper
11108 hardcode_libdir_flag_spec=' '
11109 allow_undefined_flag=unsupported
11110 # Tell ltmain to make .lib files, not .a files.
11111 libext=lib
11112 # Tell ltmain to make .dll files, not .so files.
11113 shrext_cmds=.dll
11114 # FIXME: Setting linknames here is a bad hack.
11115 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11116 # The linker will automatically build a .lib file if we build a DLL.
11117 old_archive_from_new_cmds='true'
11118 # FIXME: Should let the user specify the lib program.
11119 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11120 enable_shared_with_static_runtimes=yes
11121 ;;
11122 esac
11123 ;;
11124
11125 darwin* | rhapsody*)
11126
11127
11128 archive_cmds_need_lc=no
11129 hardcode_direct=no
11130 hardcode_automatic=yes
11131 hardcode_shlibpath_var=unsupported
11132 if test yes = "$lt_cv_ld_force_load"; then
11133 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\"`'
11134
11135 else
11136 whole_archive_flag_spec=''
11137 fi
11138 link_all_deplibs=yes
11139 allow_undefined_flag=$_lt_dar_allow_undefined
11140 case $cc_basename in
11141 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11142 *) _lt_dar_can_shared=$GCC ;;
11143 esac
11144 if test yes = "$_lt_dar_can_shared"; then
11145 output_verbose_link_cmd=func_echo_all
11146 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11147 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11148 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"
11149 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"
11150
11151 else
11152 ld_shlibs=no
11153 fi
11154
11155 ;;
11156
11157 dgux*)
11158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11159 hardcode_libdir_flag_spec='-L$libdir'
11160 hardcode_shlibpath_var=no
11161 ;;
11162
11163 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11164 # support. Future versions do this automatically, but an explicit c++rt0.o
11165 # does not break anything, and helps significantly (at the cost of a little
11166 # extra space).
11167 freebsd2.2*)
11168 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11169 hardcode_libdir_flag_spec='-R$libdir'
11170 hardcode_direct=yes
11171 hardcode_shlibpath_var=no
11172 ;;
11173
11174 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11175 freebsd2.*)
11176 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11177 hardcode_direct=yes
11178 hardcode_minus_L=yes
11179 hardcode_shlibpath_var=no
11180 ;;
11181
11182 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11183 freebsd* | dragonfly*)
11184 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11185 hardcode_libdir_flag_spec='-R$libdir'
11186 hardcode_direct=yes
11187 hardcode_shlibpath_var=no
11188 ;;
11189
11190 hpux9*)
11191 if test yes = "$GCC"; then
11192 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'
11193 else
11194 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'
11195 fi
11196 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11197 hardcode_libdir_separator=:
11198 hardcode_direct=yes
11199
11200 # hardcode_minus_L: Not really in the search PATH,
11201 # but as the default location of the library.
11202 hardcode_minus_L=yes
11203 export_dynamic_flag_spec='$wl-E'
11204 ;;
11205
11206 hpux10*)
11207 if test yes,no = "$GCC,$with_gnu_ld"; then
11208 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11209 else
11210 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11211 fi
11212 if test no = "$with_gnu_ld"; then
11213 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11214 hardcode_libdir_separator=:
11215 hardcode_direct=yes
11216 hardcode_direct_absolute=yes
11217 export_dynamic_flag_spec='$wl-E'
11218 # hardcode_minus_L: Not really in the search PATH,
11219 # but as the default location of the library.
11220 hardcode_minus_L=yes
11221 fi
11222 ;;
11223
11224 hpux11*)
11225 if test yes,no = "$GCC,$with_gnu_ld"; then
11226 case $host_cpu in
11227 hppa*64*)
11228 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11229 ;;
11230 ia64*)
11231 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11232 ;;
11233 *)
11234 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11235 ;;
11236 esac
11237 else
11238 case $host_cpu in
11239 hppa*64*)
11240 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11241 ;;
11242 ia64*)
11243 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11244 ;;
11245 *)
11246
11247 # Older versions of the 11.00 compiler do not understand -b yet
11248 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11250 $as_echo_n "checking if $CC understands -b... " >&6; }
11251 if ${lt_cv_prog_compiler__b+:} false; then :
11252 $as_echo_n "(cached) " >&6
11253 else
11254 lt_cv_prog_compiler__b=no
11255 save_LDFLAGS=$LDFLAGS
11256 LDFLAGS="$LDFLAGS -b"
11257 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11258 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11259 # The linker can only warn and ignore the option if not recognized
11260 # So say no if there are warnings
11261 if test -s conftest.err; then
11262 # Append any errors to the config.log.
11263 cat conftest.err 1>&5
11264 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11265 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11266 if diff conftest.exp conftest.er2 >/dev/null; then
11267 lt_cv_prog_compiler__b=yes
11268 fi
11269 else
11270 lt_cv_prog_compiler__b=yes
11271 fi
11272 fi
11273 $RM -r conftest*
11274 LDFLAGS=$save_LDFLAGS
11275
11276 fi
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11278 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11279
11280 if test yes = "$lt_cv_prog_compiler__b"; then
11281 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11282 else
11283 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11284 fi
11285
11286 ;;
11287 esac
11288 fi
11289 if test no = "$with_gnu_ld"; then
11290 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11291 hardcode_libdir_separator=:
11292
11293 case $host_cpu in
11294 hppa*64*|ia64*)
11295 hardcode_direct=no
11296 hardcode_shlibpath_var=no
11297 ;;
11298 *)
11299 hardcode_direct=yes
11300 hardcode_direct_absolute=yes
11301 export_dynamic_flag_spec='$wl-E'
11302
11303 # hardcode_minus_L: Not really in the search PATH,
11304 # but as the default location of the library.
11305 hardcode_minus_L=yes
11306 ;;
11307 esac
11308 fi
11309 ;;
11310
11311 irix5* | irix6* | nonstopux*)
11312 if test yes = "$GCC"; then
11313 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'
11314 # Try to use the -exported_symbol ld option, if it does not
11315 # work, assume that -exports_file does not work either and
11316 # implicitly export all symbols.
11317 # This should be the same for all languages, so no per-tag cache variable.
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11319 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11320 if ${lt_cv_irix_exported_symbol+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 save_LDFLAGS=$LDFLAGS
11324 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327 int foo (void) { return 0; }
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"; then :
11330 lt_cv_irix_exported_symbol=yes
11331 else
11332 lt_cv_irix_exported_symbol=no
11333 fi
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LDFLAGS=$save_LDFLAGS
11337 fi
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11339 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11340 if test yes = "$lt_cv_irix_exported_symbol"; then
11341 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'
11342 fi
11343 link_all_deplibs=no
11344 else
11345 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'
11346 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'
11347 fi
11348 archive_cmds_need_lc='no'
11349 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11350 hardcode_libdir_separator=:
11351 inherit_rpath=yes
11352 link_all_deplibs=yes
11353 ;;
11354
11355 linux*)
11356 case $cc_basename in
11357 tcc*)
11358 # Fabrice Bellard et al's Tiny C Compiler
11359 ld_shlibs=yes
11360 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11361 ;;
11362 esac
11363 ;;
11364
11365 netbsd* | netbsdelf*-gnu)
11366 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11367 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11368 else
11369 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11370 fi
11371 hardcode_libdir_flag_spec='-R$libdir'
11372 hardcode_direct=yes
11373 hardcode_shlibpath_var=no
11374 ;;
11375
11376 newsos6)
11377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11378 hardcode_direct=yes
11379 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11380 hardcode_libdir_separator=:
11381 hardcode_shlibpath_var=no
11382 ;;
11383
11384 *nto* | *qnx*)
11385 ;;
11386
11387 openbsd* | bitrig*)
11388 if test -f /usr/libexec/ld.so; then
11389 hardcode_direct=yes
11390 hardcode_shlibpath_var=no
11391 hardcode_direct_absolute=yes
11392 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11393 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11394 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11395 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11396 export_dynamic_flag_spec='$wl-E'
11397 else
11398 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11399 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11400 fi
11401 else
11402 ld_shlibs=no
11403 fi
11404 ;;
11405
11406 os2*)
11407 hardcode_libdir_flag_spec='-L$libdir'
11408 hardcode_minus_L=yes
11409 allow_undefined_flag=unsupported
11410 shrext_cmds=.dll
11411 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11412 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11413 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11414 $ECHO EXPORTS >> $output_objdir/$libname.def~
11415 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11416 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11417 emximp -o $lib $output_objdir/$libname.def'
11418 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11419 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11420 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11421 $ECHO EXPORTS >> $output_objdir/$libname.def~
11422 prefix_cmds="$SED"~
11423 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11424 prefix_cmds="$prefix_cmds -e 1d";
11425 fi~
11426 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11427 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11428 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11429 emximp -o $lib $output_objdir/$libname.def'
11430 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11431 enable_shared_with_static_runtimes=yes
11432 ;;
11433
11434 osf3*)
11435 if test yes = "$GCC"; then
11436 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11437 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'
11438 else
11439 allow_undefined_flag=' -expect_unresolved \*'
11440 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'
11441 fi
11442 archive_cmds_need_lc='no'
11443 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11444 hardcode_libdir_separator=:
11445 ;;
11446
11447 osf4* | osf5*) # as osf3* with the addition of -msym flag
11448 if test yes = "$GCC"; then
11449 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11450 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'
11451 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11452 else
11453 allow_undefined_flag=' -expect_unresolved \*'
11454 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'
11455 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~
11456 $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'
11457
11458 # Both c and cxx compiler support -rpath directly
11459 hardcode_libdir_flag_spec='-rpath $libdir'
11460 fi
11461 archive_cmds_need_lc='no'
11462 hardcode_libdir_separator=:
11463 ;;
11464
11465 solaris*)
11466 no_undefined_flag=' -z defs'
11467 if test yes = "$GCC"; then
11468 wlarc='$wl'
11469 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11470 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11471 $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'
11472 else
11473 case `$CC -V 2>&1` in
11474 *"Compilers 5.0"*)
11475 wlarc=''
11476 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11477 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11478 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11479 ;;
11480 *)
11481 wlarc='$wl'
11482 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11483 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11484 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11485 ;;
11486 esac
11487 fi
11488 hardcode_libdir_flag_spec='-R$libdir'
11489 hardcode_shlibpath_var=no
11490 case $host_os in
11491 solaris2.[0-5] | solaris2.[0-5].*) ;;
11492 *)
11493 # The compiler driver will combine and reorder linker options,
11494 # but understands '-z linker_flag'. GCC discards it without '$wl',
11495 # but is careful enough not to reorder.
11496 # Supported since Solaris 2.6 (maybe 2.5.1?)
11497 if test yes = "$GCC"; then
11498 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11499 else
11500 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11501 fi
11502 ;;
11503 esac
11504 link_all_deplibs=yes
11505 ;;
11506
11507 sunos4*)
11508 if test sequent = "$host_vendor"; then
11509 # Use $CC to link under sequent, because it throws in some extra .o
11510 # files that make .init and .fini sections work.
11511 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11512 else
11513 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11514 fi
11515 hardcode_libdir_flag_spec='-L$libdir'
11516 hardcode_direct=yes
11517 hardcode_minus_L=yes
11518 hardcode_shlibpath_var=no
11519 ;;
11520
11521 sysv4)
11522 case $host_vendor in
11523 sni)
11524 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11525 hardcode_direct=yes # is this really true???
11526 ;;
11527 siemens)
11528 ## LD is ld it makes a PLAMLIB
11529 ## CC just makes a GrossModule.
11530 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11531 reload_cmds='$CC -r -o $output$reload_objs'
11532 hardcode_direct=no
11533 ;;
11534 motorola)
11535 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11536 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11537 ;;
11538 esac
11539 runpath_var='LD_RUN_PATH'
11540 hardcode_shlibpath_var=no
11541 ;;
11542
11543 sysv4.3*)
11544 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11545 hardcode_shlibpath_var=no
11546 export_dynamic_flag_spec='-Bexport'
11547 ;;
11548
11549 sysv4*MP*)
11550 if test -d /usr/nec; then
11551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11552 hardcode_shlibpath_var=no
11553 runpath_var=LD_RUN_PATH
11554 hardcode_runpath_var=yes
11555 ld_shlibs=yes
11556 fi
11557 ;;
11558
11559 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11560 no_undefined_flag='$wl-z,text'
11561 archive_cmds_need_lc=no
11562 hardcode_shlibpath_var=no
11563 runpath_var='LD_RUN_PATH'
11564
11565 if test yes = "$GCC"; then
11566 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11567 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11568 else
11569 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11570 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11571 fi
11572 ;;
11573
11574 sysv5* | sco3.2v5* | sco5v6*)
11575 # Note: We CANNOT use -z defs as we might desire, because we do not
11576 # link with -lc, and that would cause any symbols used from libc to
11577 # always be unresolved, which means just about no library would
11578 # ever link correctly. If we're not using GNU ld we use -z text
11579 # though, which does catch some bad symbols but isn't as heavy-handed
11580 # as -z defs.
11581 no_undefined_flag='$wl-z,text'
11582 allow_undefined_flag='$wl-z,nodefs'
11583 archive_cmds_need_lc=no
11584 hardcode_shlibpath_var=no
11585 hardcode_libdir_flag_spec='$wl-R,$libdir'
11586 hardcode_libdir_separator=':'
11587 link_all_deplibs=yes
11588 export_dynamic_flag_spec='$wl-Bexport'
11589 runpath_var='LD_RUN_PATH'
11590
11591 if test yes = "$GCC"; then
11592 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11593 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11594 else
11595 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11596 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11597 fi
11598 ;;
11599
11600 uts4*)
11601 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11602 hardcode_libdir_flag_spec='-L$libdir'
11603 hardcode_shlibpath_var=no
11604 ;;
11605
11606 *)
11607 ld_shlibs=no
11608 ;;
11609 esac
11610
11611 if test sni = "$host_vendor"; then
11612 case $host in
11613 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11614 export_dynamic_flag_spec='$wl-Blargedynsym'
11615 ;;
11616 esac
11617 fi
11618 fi
11619
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11621 $as_echo "$ld_shlibs" >&6; }
11622 test no = "$ld_shlibs" && can_build_shared=no
11623
11624 with_gnu_ld=$with_gnu_ld
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640 #
11641 # Do we need to explicitly link libc?
11642 #
11643 case "x$archive_cmds_need_lc" in
11644 x|xyes)
11645 # Assume -lc should be added
11646 archive_cmds_need_lc=yes
11647
11648 if test yes,yes = "$GCC,$enable_shared"; then
11649 case $archive_cmds in
11650 *'~'*)
11651 # FIXME: we may have to deal with multi-command sequences.
11652 ;;
11653 '$CC '*)
11654 # Test whether the compiler implicitly links with -lc since on some
11655 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11656 # to ld, don't add -lc before -lgcc.
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11658 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11659 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11660 $as_echo_n "(cached) " >&6
11661 else
11662 $RM conftest*
11663 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11664
11665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11666 (eval $ac_compile) 2>&5
11667 ac_status=$?
11668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11669 test $ac_status = 0; } 2>conftest.err; then
11670 soname=conftest
11671 lib=conftest
11672 libobjs=conftest.$ac_objext
11673 deplibs=
11674 wl=$lt_prog_compiler_wl
11675 pic_flag=$lt_prog_compiler_pic
11676 compiler_flags=-v
11677 linker_flags=-v
11678 verstring=
11679 output_objdir=.
11680 libname=conftest
11681 lt_save_allow_undefined_flag=$allow_undefined_flag
11682 allow_undefined_flag=
11683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11684 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11685 ac_status=$?
11686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11687 test $ac_status = 0; }
11688 then
11689 lt_cv_archive_cmds_need_lc=no
11690 else
11691 lt_cv_archive_cmds_need_lc=yes
11692 fi
11693 allow_undefined_flag=$lt_save_allow_undefined_flag
11694 else
11695 cat conftest.err 1>&5
11696 fi
11697 $RM conftest*
11698
11699 fi
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11701 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11702 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11703 ;;
11704 esac
11705 fi
11706 ;;
11707 esac
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11861 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11862
11863 if test yes = "$GCC"; then
11864 case $host_os in
11865 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11866 *) lt_awk_arg='/^libraries:/' ;;
11867 esac
11868 case $host_os in
11869 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11870 *) lt_sed_strip_eq='s|=/|/|g' ;;
11871 esac
11872 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11873 case $lt_search_path_spec in
11874 *\;*)
11875 # if the path contains ";" then we assume it to be the separator
11876 # otherwise default to the standard path separator (i.e. ":") - it is
11877 # assumed that no part of a normal pathname contains ";" but that should
11878 # okay in the real world where ";" in dirpaths is itself problematic.
11879 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11880 ;;
11881 *)
11882 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11883 ;;
11884 esac
11885 # Ok, now we have the path, separated by spaces, we can step through it
11886 # and add multilib dir if necessary...
11887 lt_tmp_lt_search_path_spec=
11888 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11889 # ...but if some path component already ends with the multilib dir we assume
11890 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11891 case "$lt_multi_os_dir; $lt_search_path_spec " in
11892 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11893 lt_multi_os_dir=
11894 ;;
11895 esac
11896 for lt_sys_path in $lt_search_path_spec; do
11897 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11898 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11899 elif test -n "$lt_multi_os_dir"; then
11900 test -d "$lt_sys_path" && \
11901 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11902 fi
11903 done
11904 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11905 BEGIN {RS = " "; FS = "/|\n";} {
11906 lt_foo = "";
11907 lt_count = 0;
11908 for (lt_i = NF; lt_i > 0; lt_i--) {
11909 if ($lt_i != "" && $lt_i != ".") {
11910 if ($lt_i == "..") {
11911 lt_count++;
11912 } else {
11913 if (lt_count == 0) {
11914 lt_foo = "/" $lt_i lt_foo;
11915 } else {
11916 lt_count--;
11917 }
11918 }
11919 }
11920 }
11921 if (lt_foo != "") { lt_freq[lt_foo]++; }
11922 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11923 }'`
11924 # AWK program above erroneously prepends '/' to C:/dos/paths
11925 # for these hosts.
11926 case $host_os in
11927 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11928 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11929 esac
11930 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11931 else
11932 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11933 fi
11934 library_names_spec=
11935 libname_spec='lib$name'
11936 soname_spec=
11937 shrext_cmds=.so
11938 postinstall_cmds=
11939 postuninstall_cmds=
11940 finish_cmds=
11941 finish_eval=
11942 shlibpath_var=
11943 shlibpath_overrides_runpath=unknown
11944 version_type=none
11945 dynamic_linker="$host_os ld.so"
11946 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11947 need_lib_prefix=unknown
11948 hardcode_into_libs=no
11949
11950 # when you set need_version to no, make sure it does not cause -set_version
11951 # flags to be left without arguments
11952 need_version=unknown
11953
11954
11955
11956 case $host_os in
11957 aix3*)
11958 version_type=linux # correct to gnu/linux during the next big refactor
11959 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11960 shlibpath_var=LIBPATH
11961
11962 # AIX 3 has no versioning support, so we append a major version to the name.
11963 soname_spec='$libname$release$shared_ext$major'
11964 ;;
11965
11966 aix[4-9]*)
11967 version_type=linux # correct to gnu/linux during the next big refactor
11968 need_lib_prefix=no
11969 need_version=no
11970 hardcode_into_libs=yes
11971 if test ia64 = "$host_cpu"; then
11972 # AIX 5 supports IA64
11973 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11974 shlibpath_var=LD_LIBRARY_PATH
11975 else
11976 # With GCC up to 2.95.x, collect2 would create an import file
11977 # for dependence libraries. The import file would start with
11978 # the line '#! .'. This would cause the generated library to
11979 # depend on '.', always an invalid library. This was fixed in
11980 # development snapshots of GCC prior to 3.0.
11981 case $host_os in
11982 aix4 | aix4.[01] | aix4.[01].*)
11983 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11984 echo ' yes '
11985 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11986 :
11987 else
11988 can_build_shared=no
11989 fi
11990 ;;
11991 esac
11992 # Using Import Files as archive members, it is possible to support
11993 # filename-based versioning of shared library archives on AIX. While
11994 # this would work for both with and without runtime linking, it will
11995 # prevent static linking of such archives. So we do filename-based
11996 # shared library versioning with .so extension only, which is used
11997 # when both runtime linking and shared linking is enabled.
11998 # Unfortunately, runtime linking may impact performance, so we do
11999 # not want this to be the default eventually. Also, we use the
12000 # versioned .so libs for executables only if there is the -brtl
12001 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12002 # To allow for filename-based versioning support, we need to create
12003 # libNAME.so.V as an archive file, containing:
12004 # *) an Import File, referring to the versioned filename of the
12005 # archive as well as the shared archive member, telling the
12006 # bitwidth (32 or 64) of that shared object, and providing the
12007 # list of exported symbols of that shared object, eventually
12008 # decorated with the 'weak' keyword
12009 # *) the shared object with the F_LOADONLY flag set, to really avoid
12010 # it being seen by the linker.
12011 # At run time we better use the real file rather than another symlink,
12012 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12013
12014 case $with_aix_soname,$aix_use_runtimelinking in
12015 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12016 # soname into executable. Probably we can add versioning support to
12017 # collect2, so additional links can be useful in future.
12018 aix,yes) # traditional libtool
12019 dynamic_linker='AIX unversionable lib.so'
12020 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12021 # instead of lib<name>.a to let people know that these are not
12022 # typical AIX shared libraries.
12023 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12024 ;;
12025 aix,no) # traditional AIX only
12026 dynamic_linker='AIX lib.a(lib.so.V)'
12027 # We preserve .a as extension for shared libraries through AIX4.2
12028 # and later when we are not doing run time linking.
12029 library_names_spec='$libname$release.a $libname.a'
12030 soname_spec='$libname$release$shared_ext$major'
12031 ;;
12032 svr4,*) # full svr4 only
12033 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12034 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12035 # We do not specify a path in Import Files, so LIBPATH fires.
12036 shlibpath_overrides_runpath=yes
12037 ;;
12038 *,yes) # both, prefer svr4
12039 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12040 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12041 # unpreferred sharedlib libNAME.a needs extra handling
12042 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"'
12043 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"'
12044 # We do not specify a path in Import Files, so LIBPATH fires.
12045 shlibpath_overrides_runpath=yes
12046 ;;
12047 *,no) # both, prefer aix
12048 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12049 library_names_spec='$libname$release.a $libname.a'
12050 soname_spec='$libname$release$shared_ext$major'
12051 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12052 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)'
12053 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"'
12054 ;;
12055 esac
12056 shlibpath_var=LIBPATH
12057 fi
12058 ;;
12059
12060 amigaos*)
12061 case $host_cpu in
12062 powerpc)
12063 # Since July 2007 AmigaOS4 officially supports .so libraries.
12064 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12065 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12066 ;;
12067 m68k)
12068 library_names_spec='$libname.ixlibrary $libname.a'
12069 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12070 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'
12071 ;;
12072 esac
12073 ;;
12074
12075 beos*)
12076 library_names_spec='$libname$shared_ext'
12077 dynamic_linker="$host_os ld.so"
12078 shlibpath_var=LIBRARY_PATH
12079 ;;
12080
12081 bsdi[45]*)
12082 version_type=linux # correct to gnu/linux during the next big refactor
12083 need_version=no
12084 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12085 soname_spec='$libname$release$shared_ext$major'
12086 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12087 shlibpath_var=LD_LIBRARY_PATH
12088 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12089 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12090 # the default ld.so.conf also contains /usr/contrib/lib and
12091 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12092 # libtool to hard-code these into programs
12093 ;;
12094
12095 cygwin* | mingw* | pw32* | cegcc*)
12096 version_type=windows
12097 shrext_cmds=.dll
12098 need_version=no
12099 need_lib_prefix=no
12100
12101 case $GCC,$cc_basename in
12102 yes,*)
12103 # gcc
12104 library_names_spec='$libname.dll.a'
12105 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12106 postinstall_cmds='base_file=`basename \$file`~
12107 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12108 dldir=$destdir/`dirname \$dlpath`~
12109 test -d \$dldir || mkdir -p \$dldir~
12110 $install_prog $dir/$dlname \$dldir/$dlname~
12111 chmod a+x \$dldir/$dlname~
12112 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12113 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12114 fi'
12115 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12116 dlpath=$dir/\$dldll~
12117 $RM \$dlpath'
12118 shlibpath_overrides_runpath=yes
12119
12120 case $host_os in
12121 cygwin*)
12122 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12123 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12124
12125 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12126 ;;
12127 mingw* | cegcc*)
12128 # MinGW DLLs use traditional 'lib' prefix
12129 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12130 ;;
12131 pw32*)
12132 # pw32 DLLs use 'pw' prefix rather than 'lib'
12133 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12134 ;;
12135 esac
12136 dynamic_linker='Win32 ld.exe'
12137 ;;
12138
12139 *,cl*)
12140 # Native MSVC
12141 libname_spec='$name'
12142 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12143 library_names_spec='$libname.dll.lib'
12144
12145 case $build_os in
12146 mingw*)
12147 sys_lib_search_path_spec=
12148 lt_save_ifs=$IFS
12149 IFS=';'
12150 for lt_path in $LIB
12151 do
12152 IFS=$lt_save_ifs
12153 # Let DOS variable expansion print the short 8.3 style file name.
12154 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12155 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12156 done
12157 IFS=$lt_save_ifs
12158 # Convert to MSYS style.
12159 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12160 ;;
12161 cygwin*)
12162 # Convert to unix form, then to dos form, then back to unix form
12163 # but this time dos style (no spaces!) so that the unix form looks
12164 # like /cygdrive/c/PROGRA~1:/cygdr...
12165 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12166 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12167 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12168 ;;
12169 *)
12170 sys_lib_search_path_spec=$LIB
12171 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12172 # It is most probably a Windows format PATH.
12173 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12174 else
12175 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12176 fi
12177 # FIXME: find the short name or the path components, as spaces are
12178 # common. (e.g. "Program Files" -> "PROGRA~1")
12179 ;;
12180 esac
12181
12182 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12183 postinstall_cmds='base_file=`basename \$file`~
12184 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12185 dldir=$destdir/`dirname \$dlpath`~
12186 test -d \$dldir || mkdir -p \$dldir~
12187 $install_prog $dir/$dlname \$dldir/$dlname'
12188 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12189 dlpath=$dir/\$dldll~
12190 $RM \$dlpath'
12191 shlibpath_overrides_runpath=yes
12192 dynamic_linker='Win32 link.exe'
12193 ;;
12194
12195 *)
12196 # Assume MSVC wrapper
12197 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12198 dynamic_linker='Win32 ld.exe'
12199 ;;
12200 esac
12201 # FIXME: first we should search . and the directory the executable is in
12202 shlibpath_var=PATH
12203 ;;
12204
12205 darwin* | rhapsody*)
12206 dynamic_linker="$host_os dyld"
12207 version_type=darwin
12208 need_lib_prefix=no
12209 need_version=no
12210 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12211 soname_spec='$libname$release$major$shared_ext'
12212 shlibpath_overrides_runpath=yes
12213 shlibpath_var=DYLD_LIBRARY_PATH
12214 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12215
12216 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12217 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12218 ;;
12219
12220 dgux*)
12221 version_type=linux # correct to gnu/linux during the next big refactor
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 ;;
12228
12229 freebsd* | dragonfly*)
12230 # DragonFly does not have aout. When/if they implement a new
12231 # versioning mechanism, adjust this.
12232 if test -x /usr/bin/objformat; then
12233 objformat=`/usr/bin/objformat`
12234 else
12235 case $host_os in
12236 freebsd[23].*) objformat=aout ;;
12237 *) objformat=elf ;;
12238 esac
12239 fi
12240 version_type=freebsd-$objformat
12241 case $version_type in
12242 freebsd-elf*)
12243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12244 soname_spec='$libname$release$shared_ext$major'
12245 need_version=no
12246 need_lib_prefix=no
12247 ;;
12248 freebsd-*)
12249 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12250 need_version=yes
12251 ;;
12252 esac
12253 shlibpath_var=LD_LIBRARY_PATH
12254 case $host_os in
12255 freebsd2.*)
12256 shlibpath_overrides_runpath=yes
12257 ;;
12258 freebsd3.[01]* | freebsdelf3.[01]*)
12259 shlibpath_overrides_runpath=yes
12260 hardcode_into_libs=yes
12261 ;;
12262 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12263 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12264 shlibpath_overrides_runpath=no
12265 hardcode_into_libs=yes
12266 ;;
12267 *) # from 4.6 on, and DragonFly
12268 shlibpath_overrides_runpath=yes
12269 hardcode_into_libs=yes
12270 ;;
12271 esac
12272 ;;
12273
12274 haiku*)
12275 version_type=linux # correct to gnu/linux during the next big refactor
12276 need_lib_prefix=no
12277 need_version=no
12278 dynamic_linker="$host_os runtime_loader"
12279 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12280 soname_spec='$libname$release$shared_ext$major'
12281 shlibpath_var=LIBRARY_PATH
12282 shlibpath_overrides_runpath=no
12283 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12284 hardcode_into_libs=yes
12285 ;;
12286
12287 hpux9* | hpux10* | hpux11*)
12288 # Give a soname corresponding to the major version so that dld.sl refuses to
12289 # link against other versions.
12290 version_type=sunos
12291 need_lib_prefix=no
12292 need_version=no
12293 case $host_cpu in
12294 ia64*)
12295 shrext_cmds='.so'
12296 hardcode_into_libs=yes
12297 dynamic_linker="$host_os dld.so"
12298 shlibpath_var=LD_LIBRARY_PATH
12299 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12301 soname_spec='$libname$release$shared_ext$major'
12302 if test 32 = "$HPUX_IA64_MODE"; then
12303 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12304 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12305 else
12306 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12307 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12308 fi
12309 ;;
12310 hppa*64*)
12311 shrext_cmds='.sl'
12312 hardcode_into_libs=yes
12313 dynamic_linker="$host_os dld.sl"
12314 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12315 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12316 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12317 soname_spec='$libname$release$shared_ext$major'
12318 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12319 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12320 ;;
12321 *)
12322 shrext_cmds='.sl'
12323 dynamic_linker="$host_os dld.sl"
12324 shlibpath_var=SHLIB_PATH
12325 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12326 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12327 soname_spec='$libname$release$shared_ext$major'
12328 ;;
12329 esac
12330 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12331 postinstall_cmds='chmod 555 $lib'
12332 # or fails outright, so override atomically:
12333 install_override_mode=555
12334 ;;
12335
12336 interix[3-9]*)
12337 version_type=linux # correct to gnu/linux during the next big refactor
12338 need_lib_prefix=no
12339 need_version=no
12340 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12341 soname_spec='$libname$release$shared_ext$major'
12342 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12343 shlibpath_var=LD_LIBRARY_PATH
12344 shlibpath_overrides_runpath=no
12345 hardcode_into_libs=yes
12346 ;;
12347
12348 irix5* | irix6* | nonstopux*)
12349 case $host_os in
12350 nonstopux*) version_type=nonstopux ;;
12351 *)
12352 if test yes = "$lt_cv_prog_gnu_ld"; then
12353 version_type=linux # correct to gnu/linux during the next big refactor
12354 else
12355 version_type=irix
12356 fi ;;
12357 esac
12358 need_lib_prefix=no
12359 need_version=no
12360 soname_spec='$libname$release$shared_ext$major'
12361 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12362 case $host_os in
12363 irix5* | nonstopux*)
12364 libsuff= shlibsuff=
12365 ;;
12366 *)
12367 case $LD in # libtool.m4 will add one of these switches to LD
12368 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12369 libsuff= shlibsuff= libmagic=32-bit;;
12370 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12371 libsuff=32 shlibsuff=N32 libmagic=N32;;
12372 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12373 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12374 *) libsuff= shlibsuff= libmagic=never-match;;
12375 esac
12376 ;;
12377 esac
12378 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12379 shlibpath_overrides_runpath=no
12380 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12381 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12382 hardcode_into_libs=yes
12383 ;;
12384
12385 # No shared lib support for Linux oldld, aout, or coff.
12386 linux*oldld* | linux*aout* | linux*coff*)
12387 dynamic_linker=no
12388 ;;
12389
12390 linux*android*)
12391 version_type=none # Android doesn't support versioned libraries.
12392 need_lib_prefix=no
12393 need_version=no
12394 library_names_spec='$libname$release$shared_ext'
12395 soname_spec='$libname$release$shared_ext'
12396 finish_cmds=
12397 shlibpath_var=LD_LIBRARY_PATH
12398 shlibpath_overrides_runpath=yes
12399
12400 # This implies no fast_install, which is unacceptable.
12401 # Some rework will be needed to allow for fast_install
12402 # before this can be enabled.
12403 hardcode_into_libs=yes
12404
12405 dynamic_linker='Android linker'
12406 # Don't embed -rpath directories since the linker doesn't support them.
12407 hardcode_libdir_flag_spec='-L$libdir'
12408 ;;
12409
12410 # This must be glibc/ELF.
12411 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12412 version_type=linux # correct to gnu/linux during the next big refactor
12413 need_lib_prefix=no
12414 need_version=no
12415 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12416 soname_spec='$libname$release$shared_ext$major'
12417 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12418 shlibpath_var=LD_LIBRARY_PATH
12419 shlibpath_overrides_runpath=no
12420
12421 # Some binutils ld are patched to set DT_RUNPATH
12422 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12423 $as_echo_n "(cached) " >&6
12424 else
12425 lt_cv_shlibpath_overrides_runpath=no
12426 save_LDFLAGS=$LDFLAGS
12427 save_libdir=$libdir
12428 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12429 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12432
12433 int
12434 main ()
12435 {
12436
12437 ;
12438 return 0;
12439 }
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12443 lt_cv_shlibpath_overrides_runpath=yes
12444 fi
12445 fi
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LDFLAGS=$save_LDFLAGS
12449 libdir=$save_libdir
12450
12451 fi
12452
12453 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12454
12455 # This implies no fast_install, which is unacceptable.
12456 # Some rework will be needed to allow for fast_install
12457 # before this can be enabled.
12458 hardcode_into_libs=yes
12459
12460 # Ideally, we could use ldconfig to report *all* directores which are
12461 # searched for libraries, however this is still not possible. Aside from not
12462 # being certain /sbin/ldconfig is available, command
12463 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12464 # even though it is searched at run-time. Try to do the best guess by
12465 # appending ld.so.conf contents (and includes) to the search path.
12466 if test -f /etc/ld.so.conf; then
12467 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' ' '`
12468 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12469 fi
12470
12471 # We used to test for /lib/ld.so.1 and disable shared libraries on
12472 # powerpc, because MkLinux only supported shared libraries with the
12473 # GNU dynamic linker. Since this was broken with cross compilers,
12474 # most powerpc-linux boxes support dynamic linking these days and
12475 # people can always --disable-shared, the test was removed, and we
12476 # assume the GNU/Linux dynamic linker is in use.
12477 dynamic_linker='GNU/Linux ld.so'
12478 ;;
12479
12480 netbsdelf*-gnu)
12481 version_type=linux
12482 need_lib_prefix=no
12483 need_version=no
12484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12485 soname_spec='${libname}${release}${shared_ext}$major'
12486 shlibpath_var=LD_LIBRARY_PATH
12487 shlibpath_overrides_runpath=no
12488 hardcode_into_libs=yes
12489 dynamic_linker='NetBSD ld.elf_so'
12490 ;;
12491
12492 netbsd*)
12493 version_type=sunos
12494 need_lib_prefix=no
12495 need_version=no
12496 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12497 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12498 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12499 dynamic_linker='NetBSD (a.out) ld.so'
12500 else
12501 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12502 soname_spec='$libname$release$shared_ext$major'
12503 dynamic_linker='NetBSD ld.elf_so'
12504 fi
12505 shlibpath_var=LD_LIBRARY_PATH
12506 shlibpath_overrides_runpath=yes
12507 hardcode_into_libs=yes
12508 ;;
12509
12510 newsos6)
12511 version_type=linux # correct to gnu/linux during the next big refactor
12512 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12513 shlibpath_var=LD_LIBRARY_PATH
12514 shlibpath_overrides_runpath=yes
12515 ;;
12516
12517 *nto* | *qnx*)
12518 version_type=qnx
12519 need_lib_prefix=no
12520 need_version=no
12521 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12522 soname_spec='$libname$release$shared_ext$major'
12523 shlibpath_var=LD_LIBRARY_PATH
12524 shlibpath_overrides_runpath=no
12525 hardcode_into_libs=yes
12526 dynamic_linker='ldqnx.so'
12527 ;;
12528
12529 openbsd* | bitrig*)
12530 version_type=sunos
12531 sys_lib_dlsearch_path_spec=/usr/lib
12532 need_lib_prefix=no
12533 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12534 need_version=no
12535 else
12536 need_version=yes
12537 fi
12538 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12539 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12540 shlibpath_var=LD_LIBRARY_PATH
12541 shlibpath_overrides_runpath=yes
12542 ;;
12543
12544 os2*)
12545 libname_spec='$name'
12546 version_type=windows
12547 shrext_cmds=.dll
12548 need_version=no
12549 need_lib_prefix=no
12550 # OS/2 can only load a DLL with a base name of 8 characters or less.
12551 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12552 v=$($ECHO $release$versuffix | tr -d .-);
12553 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12554 $ECHO $n$v`$shared_ext'
12555 library_names_spec='${libname}_dll.$libext'
12556 dynamic_linker='OS/2 ld.exe'
12557 shlibpath_var=BEGINLIBPATH
12558 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12559 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12560 postinstall_cmds='base_file=`basename \$file`~
12561 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12562 dldir=$destdir/`dirname \$dlpath`~
12563 test -d \$dldir || mkdir -p \$dldir~
12564 $install_prog $dir/$dlname \$dldir/$dlname~
12565 chmod a+x \$dldir/$dlname~
12566 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12567 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12568 fi'
12569 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12570 dlpath=$dir/\$dldll~
12571 $RM \$dlpath'
12572 ;;
12573
12574 osf3* | osf4* | osf5*)
12575 version_type=osf
12576 need_lib_prefix=no
12577 need_version=no
12578 soname_spec='$libname$release$shared_ext$major'
12579 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12580 shlibpath_var=LD_LIBRARY_PATH
12581 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12582 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12583 ;;
12584
12585 rdos*)
12586 dynamic_linker=no
12587 ;;
12588
12589 solaris*)
12590 version_type=linux # correct to gnu/linux during the next big refactor
12591 need_lib_prefix=no
12592 need_version=no
12593 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12594 soname_spec='$libname$release$shared_ext$major'
12595 shlibpath_var=LD_LIBRARY_PATH
12596 shlibpath_overrides_runpath=yes
12597 hardcode_into_libs=yes
12598 # ldd complains unless libraries are executable
12599 postinstall_cmds='chmod +x $lib'
12600 ;;
12601
12602 sunos4*)
12603 version_type=sunos
12604 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12605 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12606 shlibpath_var=LD_LIBRARY_PATH
12607 shlibpath_overrides_runpath=yes
12608 if test yes = "$with_gnu_ld"; then
12609 need_lib_prefix=no
12610 fi
12611 need_version=yes
12612 ;;
12613
12614 sysv4 | sysv4.3*)
12615 version_type=linux # correct to gnu/linux during the next big refactor
12616 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12617 soname_spec='$libname$release$shared_ext$major'
12618 shlibpath_var=LD_LIBRARY_PATH
12619 case $host_vendor in
12620 sni)
12621 shlibpath_overrides_runpath=no
12622 need_lib_prefix=no
12623 runpath_var=LD_RUN_PATH
12624 ;;
12625 siemens)
12626 need_lib_prefix=no
12627 ;;
12628 motorola)
12629 need_lib_prefix=no
12630 need_version=no
12631 shlibpath_overrides_runpath=no
12632 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12633 ;;
12634 esac
12635 ;;
12636
12637 sysv4*MP*)
12638 if test -d /usr/nec; then
12639 version_type=linux # correct to gnu/linux during the next big refactor
12640 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12641 soname_spec='$libname$shared_ext.$major'
12642 shlibpath_var=LD_LIBRARY_PATH
12643 fi
12644 ;;
12645
12646 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12647 version_type=sco
12648 need_lib_prefix=no
12649 need_version=no
12650 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12651 soname_spec='$libname$release$shared_ext$major'
12652 shlibpath_var=LD_LIBRARY_PATH
12653 shlibpath_overrides_runpath=yes
12654 hardcode_into_libs=yes
12655 if test yes = "$with_gnu_ld"; then
12656 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12657 else
12658 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12659 case $host_os in
12660 sco3.2v5*)
12661 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12662 ;;
12663 esac
12664 fi
12665 sys_lib_dlsearch_path_spec='/usr/lib'
12666 ;;
12667
12668 tpf*)
12669 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12670 version_type=linux # correct to gnu/linux during the next big refactor
12671 need_lib_prefix=no
12672 need_version=no
12673 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12674 shlibpath_var=LD_LIBRARY_PATH
12675 shlibpath_overrides_runpath=no
12676 hardcode_into_libs=yes
12677 ;;
12678
12679 uts4*)
12680 version_type=linux # correct to gnu/linux during the next big refactor
12681 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12682 soname_spec='$libname$release$shared_ext$major'
12683 shlibpath_var=LD_LIBRARY_PATH
12684 ;;
12685
12686 *)
12687 dynamic_linker=no
12688 ;;
12689 esac
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12691 $as_echo "$dynamic_linker" >&6; }
12692 test no = "$dynamic_linker" && can_build_shared=no
12693
12694 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12695 if test yes = "$GCC"; then
12696 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12697 fi
12698
12699 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12700 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12701 fi
12702
12703 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12704 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12705 fi
12706
12707 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12708 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12709
12710 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12711 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12712
12713 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12714 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12813 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12814 hardcode_action=
12815 if test -n "$hardcode_libdir_flag_spec" ||
12816 test -n "$runpath_var" ||
12817 test yes = "$hardcode_automatic"; then
12818
12819 # We can hardcode non-existent directories.
12820 if test no != "$hardcode_direct" &&
12821 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12822 # have to relink, otherwise we might link with an installed library
12823 # when we should be linking with a yet-to-be-installed one
12824 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12825 test no != "$hardcode_minus_L"; then
12826 # Linking always hardcodes the temporary library directory.
12827 hardcode_action=relink
12828 else
12829 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12830 hardcode_action=immediate
12831 fi
12832 else
12833 # We cannot hardcode anything, or else we can only hardcode existing
12834 # directories.
12835 hardcode_action=unsupported
12836 fi
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12838 $as_echo "$hardcode_action" >&6; }
12839
12840 if test relink = "$hardcode_action" ||
12841 test yes = "$inherit_rpath"; then
12842 # Fast installation is not supported
12843 enable_fast_install=no
12844 elif test yes = "$shlibpath_overrides_runpath" ||
12845 test no = "$enable_shared"; then
12846 # Fast installation is not necessary
12847 enable_fast_install=needless
12848 fi
12849
12850
12851
12852
12853
12854
12855 if test yes != "$enable_dlopen"; then
12856 enable_dlopen=unknown
12857 enable_dlopen_self=unknown
12858 enable_dlopen_self_static=unknown
12859 else
12860 lt_cv_dlopen=no
12861 lt_cv_dlopen_libs=
12862
12863 case $host_os in
12864 beos*)
12865 lt_cv_dlopen=load_add_on
12866 lt_cv_dlopen_libs=
12867 lt_cv_dlopen_self=yes
12868 ;;
12869
12870 mingw* | pw32* | cegcc*)
12871 lt_cv_dlopen=LoadLibrary
12872 lt_cv_dlopen_libs=
12873 ;;
12874
12875 cygwin*)
12876 lt_cv_dlopen=dlopen
12877 lt_cv_dlopen_libs=
12878 ;;
12879
12880 darwin*)
12881 # if libdl is installed we need to link against it
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12883 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12884 if ${ac_cv_lib_dl_dlopen+:} false; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-ldl $LIBS"
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12891
12892 /* Override any GCC internal prototype to avoid an error.
12893 Use char because int might match the return type of a GCC
12894 builtin and then its argument prototype would still apply. */
12895 #ifdef __cplusplus
12896 extern "C"
12897 #endif
12898 char dlopen ();
12899 int
12900 main ()
12901 {
12902 return dlopen ();
12903 ;
12904 return 0;
12905 }
12906 _ACEOF
12907 if ac_fn_c_try_link "$LINENO"; then :
12908 ac_cv_lib_dl_dlopen=yes
12909 else
12910 ac_cv_lib_dl_dlopen=no
12911 fi
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_lib_save_LIBS
12915 fi
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12917 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12918 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12919 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12920 else
12921
12922 lt_cv_dlopen=dyld
12923 lt_cv_dlopen_libs=
12924 lt_cv_dlopen_self=yes
12925
12926 fi
12927
12928 ;;
12929
12930 tpf*)
12931 # Don't try to run any link tests for TPF. We know it's impossible
12932 # because TPF is a cross-compiler, and we know how we open DSOs.
12933 lt_cv_dlopen=dlopen
12934 lt_cv_dlopen_libs=
12935 lt_cv_dlopen_self=no
12936 ;;
12937
12938 *)
12939 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12940 if test "x$ac_cv_func_shl_load" = xyes; then :
12941 lt_cv_dlopen=shl_load
12942 else
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12944 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12945 if ${ac_cv_lib_dld_shl_load+:} false; then :
12946 $as_echo_n "(cached) " >&6
12947 else
12948 ac_check_lib_save_LIBS=$LIBS
12949 LIBS="-ldld $LIBS"
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12952
12953 /* Override any GCC internal prototype to avoid an error.
12954 Use char because int might match the return type of a GCC
12955 builtin and then its argument prototype would still apply. */
12956 #ifdef __cplusplus
12957 extern "C"
12958 #endif
12959 char shl_load ();
12960 int
12961 main ()
12962 {
12963 return shl_load ();
12964 ;
12965 return 0;
12966 }
12967 _ACEOF
12968 if ac_fn_c_try_link "$LINENO"; then :
12969 ac_cv_lib_dld_shl_load=yes
12970 else
12971 ac_cv_lib_dld_shl_load=no
12972 fi
12973 rm -f core conftest.err conftest.$ac_objext \
12974 conftest$ac_exeext conftest.$ac_ext
12975 LIBS=$ac_check_lib_save_LIBS
12976 fi
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12978 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12979 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12980 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12981 else
12982 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12983 if test "x$ac_cv_func_dlopen" = xyes; then :
12984 lt_cv_dlopen=dlopen
12985 else
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12987 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12988 if ${ac_cv_lib_dl_dlopen+:} false; then :
12989 $as_echo_n "(cached) " >&6
12990 else
12991 ac_check_lib_save_LIBS=$LIBS
12992 LIBS="-ldl $LIBS"
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12995
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
12999 #ifdef __cplusplus
13000 extern "C"
13001 #endif
13002 char dlopen ();
13003 int
13004 main ()
13005 {
13006 return dlopen ();
13007 ;
13008 return 0;
13009 }
13010 _ACEOF
13011 if ac_fn_c_try_link "$LINENO"; then :
13012 ac_cv_lib_dl_dlopen=yes
13013 else
13014 ac_cv_lib_dl_dlopen=no
13015 fi
13016 rm -f core conftest.err conftest.$ac_objext \
13017 conftest$ac_exeext conftest.$ac_ext
13018 LIBS=$ac_check_lib_save_LIBS
13019 fi
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13021 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13022 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13023 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13024 else
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13026 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13027 if ${ac_cv_lib_svld_dlopen+:} false; then :
13028 $as_echo_n "(cached) " >&6
13029 else
13030 ac_check_lib_save_LIBS=$LIBS
13031 LIBS="-lsvld $LIBS"
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13034
13035 /* Override any GCC internal prototype to avoid an error.
13036 Use char because int might match the return type of a GCC
13037 builtin and then its argument prototype would still apply. */
13038 #ifdef __cplusplus
13039 extern "C"
13040 #endif
13041 char dlopen ();
13042 int
13043 main ()
13044 {
13045 return dlopen ();
13046 ;
13047 return 0;
13048 }
13049 _ACEOF
13050 if ac_fn_c_try_link "$LINENO"; then :
13051 ac_cv_lib_svld_dlopen=yes
13052 else
13053 ac_cv_lib_svld_dlopen=no
13054 fi
13055 rm -f core conftest.err conftest.$ac_objext \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_lib_save_LIBS
13058 fi
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13060 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13061 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13062 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13063 else
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13065 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13066 if ${ac_cv_lib_dld_dld_link+:} false; then :
13067 $as_echo_n "(cached) " >&6
13068 else
13069 ac_check_lib_save_LIBS=$LIBS
13070 LIBS="-ldld $LIBS"
13071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h. */
13073
13074 /* Override any GCC internal prototype to avoid an error.
13075 Use char because int might match the return type of a GCC
13076 builtin and then its argument prototype would still apply. */
13077 #ifdef __cplusplus
13078 extern "C"
13079 #endif
13080 char dld_link ();
13081 int
13082 main ()
13083 {
13084 return dld_link ();
13085 ;
13086 return 0;
13087 }
13088 _ACEOF
13089 if ac_fn_c_try_link "$LINENO"; then :
13090 ac_cv_lib_dld_dld_link=yes
13091 else
13092 ac_cv_lib_dld_dld_link=no
13093 fi
13094 rm -f core conftest.err conftest.$ac_objext \
13095 conftest$ac_exeext conftest.$ac_ext
13096 LIBS=$ac_check_lib_save_LIBS
13097 fi
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13099 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13100 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13101 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13102 fi
13103
13104
13105 fi
13106
13107
13108 fi
13109
13110
13111 fi
13112
13113
13114 fi
13115
13116
13117 fi
13118
13119 ;;
13120 esac
13121
13122 if test no = "$lt_cv_dlopen"; then
13123 enable_dlopen=no
13124 else
13125 enable_dlopen=yes
13126 fi
13127
13128 case $lt_cv_dlopen in
13129 dlopen)
13130 save_CPPFLAGS=$CPPFLAGS
13131 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13132
13133 save_LDFLAGS=$LDFLAGS
13134 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13135
13136 save_LIBS=$LIBS
13137 LIBS="$lt_cv_dlopen_libs $LIBS"
13138
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13140 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13141 if ${lt_cv_dlopen_self+:} false; then :
13142 $as_echo_n "(cached) " >&6
13143 else
13144 if test yes = "$cross_compiling"; then :
13145 lt_cv_dlopen_self=cross
13146 else
13147 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13148 lt_status=$lt_dlunknown
13149 cat > conftest.$ac_ext <<_LT_EOF
13150 #line $LINENO "configure"
13151 #include "confdefs.h"
13152
13153 #if HAVE_DLFCN_H
13154 #include <dlfcn.h>
13155 #endif
13156
13157 #include <stdio.h>
13158
13159 #ifdef RTLD_GLOBAL
13160 # define LT_DLGLOBAL RTLD_GLOBAL
13161 #else
13162 # ifdef DL_GLOBAL
13163 # define LT_DLGLOBAL DL_GLOBAL
13164 # else
13165 # define LT_DLGLOBAL 0
13166 # endif
13167 #endif
13168
13169 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13170 find out it does not work in some platform. */
13171 #ifndef LT_DLLAZY_OR_NOW
13172 # ifdef RTLD_LAZY
13173 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13174 # else
13175 # ifdef DL_LAZY
13176 # define LT_DLLAZY_OR_NOW DL_LAZY
13177 # else
13178 # ifdef RTLD_NOW
13179 # define LT_DLLAZY_OR_NOW RTLD_NOW
13180 # else
13181 # ifdef DL_NOW
13182 # define LT_DLLAZY_OR_NOW DL_NOW
13183 # else
13184 # define LT_DLLAZY_OR_NOW 0
13185 # endif
13186 # endif
13187 # endif
13188 # endif
13189 #endif
13190
13191 /* When -fvisibility=hidden is used, assume the code has been annotated
13192 correspondingly for the symbols needed. */
13193 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13194 int fnord () __attribute__((visibility("default")));
13195 #endif
13196
13197 int fnord () { return 42; }
13198 int main ()
13199 {
13200 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13201 int status = $lt_dlunknown;
13202
13203 if (self)
13204 {
13205 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13206 else
13207 {
13208 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13209 else puts (dlerror ());
13210 }
13211 /* dlclose (self); */
13212 }
13213 else
13214 puts (dlerror ());
13215
13216 return status;
13217 }
13218 _LT_EOF
13219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13220 (eval $ac_link) 2>&5
13221 ac_status=$?
13222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13223 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13224 (./conftest; exit; ) >&5 2>/dev/null
13225 lt_status=$?
13226 case x$lt_status in
13227 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13228 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13229 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13230 esac
13231 else :
13232 # compilation failed
13233 lt_cv_dlopen_self=no
13234 fi
13235 fi
13236 rm -fr conftest*
13237
13238
13239 fi
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13241 $as_echo "$lt_cv_dlopen_self" >&6; }
13242
13243 if test yes = "$lt_cv_dlopen_self"; then
13244 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13246 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13247 if ${lt_cv_dlopen_self_static+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 if test yes = "$cross_compiling"; then :
13251 lt_cv_dlopen_self_static=cross
13252 else
13253 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13254 lt_status=$lt_dlunknown
13255 cat > conftest.$ac_ext <<_LT_EOF
13256 #line $LINENO "configure"
13257 #include "confdefs.h"
13258
13259 #if HAVE_DLFCN_H
13260 #include <dlfcn.h>
13261 #endif
13262
13263 #include <stdio.h>
13264
13265 #ifdef RTLD_GLOBAL
13266 # define LT_DLGLOBAL RTLD_GLOBAL
13267 #else
13268 # ifdef DL_GLOBAL
13269 # define LT_DLGLOBAL DL_GLOBAL
13270 # else
13271 # define LT_DLGLOBAL 0
13272 # endif
13273 #endif
13274
13275 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13276 find out it does not work in some platform. */
13277 #ifndef LT_DLLAZY_OR_NOW
13278 # ifdef RTLD_LAZY
13279 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13280 # else
13281 # ifdef DL_LAZY
13282 # define LT_DLLAZY_OR_NOW DL_LAZY
13283 # else
13284 # ifdef RTLD_NOW
13285 # define LT_DLLAZY_OR_NOW RTLD_NOW
13286 # else
13287 # ifdef DL_NOW
13288 # define LT_DLLAZY_OR_NOW DL_NOW
13289 # else
13290 # define LT_DLLAZY_OR_NOW 0
13291 # endif
13292 # endif
13293 # endif
13294 # endif
13295 #endif
13296
13297 /* When -fvisibility=hidden is used, assume the code has been annotated
13298 correspondingly for the symbols needed. */
13299 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13300 int fnord () __attribute__((visibility("default")));
13301 #endif
13302
13303 int fnord () { return 42; }
13304 int main ()
13305 {
13306 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13307 int status = $lt_dlunknown;
13308
13309 if (self)
13310 {
13311 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13312 else
13313 {
13314 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13315 else puts (dlerror ());
13316 }
13317 /* dlclose (self); */
13318 }
13319 else
13320 puts (dlerror ());
13321
13322 return status;
13323 }
13324 _LT_EOF
13325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13326 (eval $ac_link) 2>&5
13327 ac_status=$?
13328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13329 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13330 (./conftest; exit; ) >&5 2>/dev/null
13331 lt_status=$?
13332 case x$lt_status in
13333 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13334 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13335 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13336 esac
13337 else :
13338 # compilation failed
13339 lt_cv_dlopen_self_static=no
13340 fi
13341 fi
13342 rm -fr conftest*
13343
13344
13345 fi
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13347 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13348 fi
13349
13350 CPPFLAGS=$save_CPPFLAGS
13351 LDFLAGS=$save_LDFLAGS
13352 LIBS=$save_LIBS
13353 ;;
13354 esac
13355
13356 case $lt_cv_dlopen_self in
13357 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13358 *) enable_dlopen_self=unknown ;;
13359 esac
13360
13361 case $lt_cv_dlopen_self_static in
13362 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13363 *) enable_dlopen_self_static=unknown ;;
13364 esac
13365 fi
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383 striplib=
13384 old_striplib=
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13386 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13387 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13388 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13389 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13391 $as_echo "yes" >&6; }
13392 else
13393 # FIXME - insert some real tests, host_os isn't really good enough
13394 case $host_os in
13395 darwin*)
13396 if test -n "$STRIP"; then
13397 striplib="$STRIP -x"
13398 old_striplib="$STRIP -S"
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13400 $as_echo "yes" >&6; }
13401 else
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13403 $as_echo "no" >&6; }
13404 fi
13405 ;;
13406 *)
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13408 $as_echo "no" >&6; }
13409 ;;
13410 esac
13411 fi
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424 # Report what library types will actually be built
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13426 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13428 $as_echo "$can_build_shared" >&6; }
13429
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13431 $as_echo_n "checking whether to build shared libraries... " >&6; }
13432 test no = "$can_build_shared" && enable_shared=no
13433
13434 # On AIX, shared libraries and static libraries use the same namespace, and
13435 # are all built from PIC.
13436 case $host_os in
13437 aix3*)
13438 test yes = "$enable_shared" && enable_static=no
13439 if test -n "$RANLIB"; then
13440 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13441 postinstall_cmds='$RANLIB $lib'
13442 fi
13443 ;;
13444
13445 aix[4-9]*)
13446 if test ia64 != "$host_cpu"; then
13447 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13448 yes,aix,yes) ;; # shared object as lib.so file only
13449 yes,svr4,*) ;; # shared object as lib.so archive member only
13450 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13451 esac
13452 fi
13453 ;;
13454 esac
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13456 $as_echo "$enable_shared" >&6; }
13457
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13459 $as_echo_n "checking whether to build static libraries... " >&6; }
13460 # Make sure either enable_shared or enable_static is yes.
13461 test yes = "$enable_shared" || enable_static=yes
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13463 $as_echo "$enable_static" >&6; }
13464
13465
13466
13467
13468 fi
13469 ac_ext=c
13470 ac_cpp='$CPP $CPPFLAGS'
13471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13474
13475 CC=$lt_save_CC
13476
13477 if test -n "$CXX" && ( test no != "$CXX" &&
13478 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13479 (test g++ != "$CXX"))); then
13480 ac_ext=cpp
13481 ac_cpp='$CXXCPP $CPPFLAGS'
13482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13486 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13487 if test -z "$CXXCPP"; then
13488 if ${ac_cv_prog_CXXCPP+:} false; then :
13489 $as_echo_n "(cached) " >&6
13490 else
13491 # Double quotes because CXXCPP needs to be expanded
13492 for CXXCPP in "$CXX -E" "/lib/cpp"
13493 do
13494 ac_preproc_ok=false
13495 for ac_cxx_preproc_warn_flag in '' yes
13496 do
13497 # Use a header file that comes with gcc, so configuring glibc
13498 # with a fresh cross-compiler works.
13499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13500 # <limits.h> exists even on freestanding compilers.
13501 # On the NeXT, cc -E runs the code through the compiler's parser,
13502 # not just through cpp. "Syntax error" is here to catch this case.
13503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13504 /* end confdefs.h. */
13505 #ifdef __STDC__
13506 # include <limits.h>
13507 #else
13508 # include <assert.h>
13509 #endif
13510 Syntax error
13511 _ACEOF
13512 if ac_fn_cxx_try_cpp "$LINENO"; then :
13513
13514 else
13515 # Broken: fails on valid input.
13516 continue
13517 fi
13518 rm -f conftest.err conftest.i conftest.$ac_ext
13519
13520 # OK, works on sane cases. Now check whether nonexistent headers
13521 # can be detected and how.
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13524 #include <ac_nonexistent.h>
13525 _ACEOF
13526 if ac_fn_cxx_try_cpp "$LINENO"; then :
13527 # Broken: success on invalid input.
13528 continue
13529 else
13530 # Passes both tests.
13531 ac_preproc_ok=:
13532 break
13533 fi
13534 rm -f conftest.err conftest.i conftest.$ac_ext
13535
13536 done
13537 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13538 rm -f conftest.i conftest.err conftest.$ac_ext
13539 if $ac_preproc_ok; then :
13540 break
13541 fi
13542
13543 done
13544 ac_cv_prog_CXXCPP=$CXXCPP
13545
13546 fi
13547 CXXCPP=$ac_cv_prog_CXXCPP
13548 else
13549 ac_cv_prog_CXXCPP=$CXXCPP
13550 fi
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13552 $as_echo "$CXXCPP" >&6; }
13553 ac_preproc_ok=false
13554 for ac_cxx_preproc_warn_flag in '' yes
13555 do
13556 # Use a header file that comes with gcc, so configuring glibc
13557 # with a fresh cross-compiler works.
13558 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13559 # <limits.h> exists even on freestanding compilers.
13560 # On the NeXT, cc -E runs the code through the compiler's parser,
13561 # not just through cpp. "Syntax error" is here to catch this case.
13562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13564 #ifdef __STDC__
13565 # include <limits.h>
13566 #else
13567 # include <assert.h>
13568 #endif
13569 Syntax error
13570 _ACEOF
13571 if ac_fn_cxx_try_cpp "$LINENO"; then :
13572
13573 else
13574 # Broken: fails on valid input.
13575 continue
13576 fi
13577 rm -f conftest.err conftest.i conftest.$ac_ext
13578
13579 # OK, works on sane cases. Now check whether nonexistent headers
13580 # can be detected and how.
13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13582 /* end confdefs.h. */
13583 #include <ac_nonexistent.h>
13584 _ACEOF
13585 if ac_fn_cxx_try_cpp "$LINENO"; then :
13586 # Broken: success on invalid input.
13587 continue
13588 else
13589 # Passes both tests.
13590 ac_preproc_ok=:
13591 break
13592 fi
13593 rm -f conftest.err conftest.i conftest.$ac_ext
13594
13595 done
13596 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13597 rm -f conftest.i conftest.err conftest.$ac_ext
13598 if $ac_preproc_ok; then :
13599
13600 else
13601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13603 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13604 See \`config.log' for more details" "$LINENO" 5; }
13605 fi
13606
13607 ac_ext=c
13608 ac_cpp='$CPP $CPPFLAGS'
13609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13612
13613 else
13614 _lt_caught_CXX_error=yes
13615 fi
13616
13617 ac_ext=cpp
13618 ac_cpp='$CXXCPP $CPPFLAGS'
13619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13622
13623 archive_cmds_need_lc_CXX=no
13624 allow_undefined_flag_CXX=
13625 always_export_symbols_CXX=no
13626 archive_expsym_cmds_CXX=
13627 compiler_needs_object_CXX=no
13628 export_dynamic_flag_spec_CXX=
13629 hardcode_direct_CXX=no
13630 hardcode_direct_absolute_CXX=no
13631 hardcode_libdir_flag_spec_CXX=
13632 hardcode_libdir_separator_CXX=
13633 hardcode_minus_L_CXX=no
13634 hardcode_shlibpath_var_CXX=unsupported
13635 hardcode_automatic_CXX=no
13636 inherit_rpath_CXX=no
13637 module_cmds_CXX=
13638 module_expsym_cmds_CXX=
13639 link_all_deplibs_CXX=unknown
13640 old_archive_cmds_CXX=$old_archive_cmds
13641 reload_flag_CXX=$reload_flag
13642 reload_cmds_CXX=$reload_cmds
13643 no_undefined_flag_CXX=
13644 whole_archive_flag_spec_CXX=
13645 enable_shared_with_static_runtimes_CXX=no
13646
13647 # Source file extension for C++ test sources.
13648 ac_ext=cpp
13649
13650 # Object file extension for compiled C++ test sources.
13651 objext=o
13652 objext_CXX=$objext
13653
13654 # No sense in running all these tests if we already determined that
13655 # the CXX compiler isn't working. Some variables (like enable_shared)
13656 # are currently assumed to apply to all compilers on this platform,
13657 # and will be corrupted by setting them based on a non-working compiler.
13658 if test yes != "$_lt_caught_CXX_error"; then
13659 # Code to be used in simple compile tests
13660 lt_simple_compile_test_code="int some_variable = 0;"
13661
13662 # Code to be used in simple link tests
13663 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13664
13665 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13666
13667
13668
13669
13670
13671
13672 # If no C compiler was specified, use CC.
13673 LTCC=${LTCC-"$CC"}
13674
13675 # If no C compiler flags were specified, use CFLAGS.
13676 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13677
13678 # Allow CC to be a program name with arguments.
13679 compiler=$CC
13680
13681
13682 # save warnings/boilerplate of simple test code
13683 ac_outfile=conftest.$ac_objext
13684 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13685 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13686 _lt_compiler_boilerplate=`cat conftest.err`
13687 $RM conftest*
13688
13689 ac_outfile=conftest.$ac_objext
13690 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13691 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13692 _lt_linker_boilerplate=`cat conftest.err`
13693 $RM -r conftest*
13694
13695
13696 # Allow CC to be a program name with arguments.
13697 lt_save_CC=$CC
13698 lt_save_CFLAGS=$CFLAGS
13699 lt_save_LD=$LD
13700 lt_save_GCC=$GCC
13701 GCC=$GXX
13702 lt_save_with_gnu_ld=$with_gnu_ld
13703 lt_save_path_LD=$lt_cv_path_LD
13704 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13705 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13706 else
13707 $as_unset lt_cv_prog_gnu_ld
13708 fi
13709 if test -n "${lt_cv_path_LDCXX+set}"; then
13710 lt_cv_path_LD=$lt_cv_path_LDCXX
13711 else
13712 $as_unset lt_cv_path_LD
13713 fi
13714 test -z "${LDCXX+set}" || LD=$LDCXX
13715 CC=${CXX-"c++"}
13716 CFLAGS=$CXXFLAGS
13717 compiler=$CC
13718 compiler_CXX=$CC
13719 func_cc_basename $compiler
13720 cc_basename=$func_cc_basename_result
13721
13722
13723 if test -n "$compiler"; then
13724 # We don't want -fno-exception when compiling C++ code, so set the
13725 # no_builtin_flag separately
13726 if test yes = "$GXX"; then
13727 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13728 else
13729 lt_prog_compiler_no_builtin_flag_CXX=
13730 fi
13731
13732 if test yes = "$GXX"; then
13733 # Set up default GNU C++ configuration
13734
13735
13736
13737 # Check whether --with-gnu-ld was given.
13738 if test "${with_gnu_ld+set}" = set; then :
13739 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13740 else
13741 with_gnu_ld=no
13742 fi
13743
13744 ac_prog=ld
13745 if test yes = "$GCC"; then
13746 # Check if gcc -print-prog-name=ld gives a path.
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13748 $as_echo_n "checking for ld used by $CC... " >&6; }
13749 case $host in
13750 *-*-mingw*)
13751 # gcc leaves a trailing carriage return, which upsets mingw
13752 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13753 *)
13754 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13755 esac
13756 case $ac_prog in
13757 # Accept absolute paths.
13758 [\\/]* | ?:[\\/]*)
13759 re_direlt='/[^/][^/]*/\.\./'
13760 # Canonicalize the pathname of ld
13761 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13762 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13763 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13764 done
13765 test -z "$LD" && LD=$ac_prog
13766 ;;
13767 "")
13768 # If it fails, then pretend we aren't using GCC.
13769 ac_prog=ld
13770 ;;
13771 *)
13772 # If it is relative, then search for the first ld in PATH.
13773 with_gnu_ld=unknown
13774 ;;
13775 esac
13776 elif test yes = "$with_gnu_ld"; then
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13778 $as_echo_n "checking for GNU ld... " >&6; }
13779 else
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13781 $as_echo_n "checking for non-GNU ld... " >&6; }
13782 fi
13783 if ${lt_cv_path_LD+:} false; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 if test -z "$LD"; then
13787 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13788 for ac_dir in $PATH; do
13789 IFS=$lt_save_ifs
13790 test -z "$ac_dir" && ac_dir=.
13791 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13792 lt_cv_path_LD=$ac_dir/$ac_prog
13793 # Check to see if the program is GNU ld. I'd rather use --version,
13794 # but apparently some variants of GNU ld only accept -v.
13795 # Break only if it was the GNU/non-GNU ld that we prefer.
13796 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13797 *GNU* | *'with BFD'*)
13798 test no != "$with_gnu_ld" && break
13799 ;;
13800 *)
13801 test yes != "$with_gnu_ld" && break
13802 ;;
13803 esac
13804 fi
13805 done
13806 IFS=$lt_save_ifs
13807 else
13808 lt_cv_path_LD=$LD # Let the user override the test with a path.
13809 fi
13810 fi
13811
13812 LD=$lt_cv_path_LD
13813 if test -n "$LD"; then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13815 $as_echo "$LD" >&6; }
13816 else
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13819 fi
13820 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13822 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13823 if ${lt_cv_prog_gnu_ld+:} false; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13827 case `$LD -v 2>&1 </dev/null` in
13828 *GNU* | *'with BFD'*)
13829 lt_cv_prog_gnu_ld=yes
13830 ;;
13831 *)
13832 lt_cv_prog_gnu_ld=no
13833 ;;
13834 esac
13835 fi
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13837 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13838 with_gnu_ld=$lt_cv_prog_gnu_ld
13839
13840
13841
13842
13843
13844
13845
13846 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13847 # archiving commands below assume that GNU ld is being used.
13848 if test yes = "$with_gnu_ld"; then
13849 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13850 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'
13851
13852 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13853 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13854
13855 # If archive_cmds runs LD, not CC, wlarc should be empty
13856 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13857 # investigate it a little bit more. (MM)
13858 wlarc='$wl'
13859
13860 # ancient GNU ld didn't support --whole-archive et. al.
13861 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13862 $GREP 'no-whole-archive' > /dev/null; then
13863 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13864 else
13865 whole_archive_flag_spec_CXX=
13866 fi
13867 else
13868 with_gnu_ld=no
13869 wlarc=
13870
13871 # A generic and very simple default shared library creation
13872 # command for GNU C++ for the case where it uses the native
13873 # linker, instead of GNU ld. If possible, this setting should
13874 # overridden to take advantage of the native linker features on
13875 # the platform it is being used on.
13876 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13877 fi
13878
13879 # Commands to make compiler produce verbose output that lists
13880 # what "hidden" libraries, object files and flags are used when
13881 # linking a shared library.
13882 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13883
13884 else
13885 GXX=no
13886 with_gnu_ld=no
13887 wlarc=
13888 fi
13889
13890 # PORTME: fill in a description of your system's C++ link characteristics
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13892 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13893 ld_shlibs_CXX=yes
13894 case $host_os in
13895 aix3*)
13896 # FIXME: insert proper C++ library support
13897 ld_shlibs_CXX=no
13898 ;;
13899 aix[4-9]*)
13900 if test ia64 = "$host_cpu"; then
13901 # On IA64, the linker does run time linking by default, so we don't
13902 # have to do anything special.
13903 aix_use_runtimelinking=no
13904 exp_sym_flag='-Bexport'
13905 no_entry_flag=
13906 else
13907 aix_use_runtimelinking=no
13908
13909 # Test if we are trying to use run time linking or normal
13910 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13911 # have runtime linking enabled, and use it for executables.
13912 # For shared libraries, we enable/disable runtime linking
13913 # depending on the kind of the shared library created -
13914 # when "with_aix_soname,aix_use_runtimelinking" is:
13915 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13916 # "aix,yes" lib.so shared, rtl:yes, for executables
13917 # lib.a static archive
13918 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13919 # lib.a(lib.so.V) shared, rtl:no, for executables
13920 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13921 # lib.a(lib.so.V) shared, rtl:no
13922 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13923 # lib.a static archive
13924 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13925 for ld_flag in $LDFLAGS; do
13926 case $ld_flag in
13927 *-brtl*)
13928 aix_use_runtimelinking=yes
13929 break
13930 ;;
13931 esac
13932 done
13933 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13934 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13935 # so we don't have lib.a shared libs to link our executables.
13936 # We have to force runtime linking in this case.
13937 aix_use_runtimelinking=yes
13938 LDFLAGS="$LDFLAGS -Wl,-brtl"
13939 fi
13940 ;;
13941 esac
13942
13943 exp_sym_flag='-bexport'
13944 no_entry_flag='-bnoentry'
13945 fi
13946
13947 # When large executables or shared objects are built, AIX ld can
13948 # have problems creating the table of contents. If linking a library
13949 # or program results in "error TOC overflow" add -mminimal-toc to
13950 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13951 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13952
13953 archive_cmds_CXX=''
13954 hardcode_direct_CXX=yes
13955 hardcode_direct_absolute_CXX=yes
13956 hardcode_libdir_separator_CXX=':'
13957 link_all_deplibs_CXX=yes
13958 file_list_spec_CXX='$wl-f,'
13959 case $with_aix_soname,$aix_use_runtimelinking in
13960 aix,*) ;; # no import file
13961 svr4,* | *,yes) # use import file
13962 # The Import File defines what to hardcode.
13963 hardcode_direct_CXX=no
13964 hardcode_direct_absolute_CXX=no
13965 ;;
13966 esac
13967
13968 if test yes = "$GXX"; then
13969 case $host_os in aix4.[012]|aix4.[012].*)
13970 # We only want to do this on AIX 4.2 and lower, the check
13971 # below for broken collect2 doesn't work under 4.3+
13972 collect2name=`$CC -print-prog-name=collect2`
13973 if test -f "$collect2name" &&
13974 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13975 then
13976 # We have reworked collect2
13977 :
13978 else
13979 # We have old collect2
13980 hardcode_direct_CXX=unsupported
13981 # It fails to find uninstalled libraries when the uninstalled
13982 # path is not listed in the libpath. Setting hardcode_minus_L
13983 # to unsupported forces relinking
13984 hardcode_minus_L_CXX=yes
13985 hardcode_libdir_flag_spec_CXX='-L$libdir'
13986 hardcode_libdir_separator_CXX=
13987 fi
13988 esac
13989 shared_flag='-shared'
13990 if test yes = "$aix_use_runtimelinking"; then
13991 shared_flag=$shared_flag' $wl-G'
13992 fi
13993 # Need to ensure runtime linking is disabled for the traditional
13994 # shared library, or the linker may eventually find shared libraries
13995 # /with/ Import File - we do not want to mix them.
13996 shared_flag_aix='-shared'
13997 shared_flag_svr4='-shared $wl-G'
13998 else
13999 # not using gcc
14000 if test ia64 = "$host_cpu"; then
14001 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14002 # chokes on -Wl,-G. The following line is correct:
14003 shared_flag='-G'
14004 else
14005 if test yes = "$aix_use_runtimelinking"; then
14006 shared_flag='$wl-G'
14007 else
14008 shared_flag='$wl-bM:SRE'
14009 fi
14010 shared_flag_aix='$wl-bM:SRE'
14011 shared_flag_svr4='$wl-G'
14012 fi
14013 fi
14014
14015 export_dynamic_flag_spec_CXX='$wl-bexpall'
14016 # It seems that -bexpall does not export symbols beginning with
14017 # underscore (_), so it is better to generate a list of symbols to
14018 # export.
14019 always_export_symbols_CXX=yes
14020 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14021 # Warning - without using the other runtime loading flags (-brtl),
14022 # -berok will link without error, but may produce a broken library.
14023 # The "-G" linker flag allows undefined symbols.
14024 no_undefined_flag_CXX='-bernotok'
14025 # Determine the default libpath from the value encoded in an empty
14026 # executable.
14027 if test set = "${lt_cv_aix_libpath+set}"; then
14028 aix_libpath=$lt_cv_aix_libpath
14029 else
14030 if ${lt_cv_aix_libpath__CXX+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035
14036 int
14037 main ()
14038 {
14039
14040 ;
14041 return 0;
14042 }
14043 _ACEOF
14044 if ac_fn_cxx_try_link "$LINENO"; then :
14045
14046 lt_aix_libpath_sed='
14047 /Import File Strings/,/^$/ {
14048 /^0/ {
14049 s/^0 *\([^ ]*\) *$/\1/
14050 p
14051 }
14052 }'
14053 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14054 # Check for a 64-bit object if we didn't find anything.
14055 if test -z "$lt_cv_aix_libpath__CXX"; then
14056 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14057 fi
14058 fi
14059 rm -f core conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14061 if test -z "$lt_cv_aix_libpath__CXX"; then
14062 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14063 fi
14064
14065 fi
14066
14067 aix_libpath=$lt_cv_aix_libpath__CXX
14068 fi
14069
14070 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14071
14072 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
14073 else
14074 if test ia64 = "$host_cpu"; then
14075 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14076 allow_undefined_flag_CXX="-z nodefs"
14077 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"
14078 else
14079 # Determine the default libpath from the value encoded in an
14080 # empty executable.
14081 if test set = "${lt_cv_aix_libpath+set}"; then
14082 aix_libpath=$lt_cv_aix_libpath
14083 else
14084 if ${lt_cv_aix_libpath__CXX+:} false; then :
14085 $as_echo_n "(cached) " >&6
14086 else
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14089
14090 int
14091 main ()
14092 {
14093
14094 ;
14095 return 0;
14096 }
14097 _ACEOF
14098 if ac_fn_cxx_try_link "$LINENO"; then :
14099
14100 lt_aix_libpath_sed='
14101 /Import File Strings/,/^$/ {
14102 /^0/ {
14103 s/^0 *\([^ ]*\) *$/\1/
14104 p
14105 }
14106 }'
14107 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14108 # Check for a 64-bit object if we didn't find anything.
14109 if test -z "$lt_cv_aix_libpath__CXX"; then
14110 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14111 fi
14112 fi
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 if test -z "$lt_cv_aix_libpath__CXX"; then
14116 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14117 fi
14118
14119 fi
14120
14121 aix_libpath=$lt_cv_aix_libpath__CXX
14122 fi
14123
14124 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14125 # Warning - without using the other run time loading flags,
14126 # -berok will link without error, but may produce a broken library.
14127 no_undefined_flag_CXX=' $wl-bernotok'
14128 allow_undefined_flag_CXX=' $wl-berok'
14129 if test yes = "$with_gnu_ld"; then
14130 # We only use this code for GNU lds that support --whole-archive.
14131 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14132 else
14133 # Exported symbols can be pulled into shared objects from archives
14134 whole_archive_flag_spec_CXX='$convenience'
14135 fi
14136 archive_cmds_need_lc_CXX=yes
14137 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14138 # -brtl affects multiple linker settings, -berok does not and is overridden later
14139 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14140 if test svr4 != "$with_aix_soname"; then
14141 # This is similar to how AIX traditionally builds its shared
14142 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14143 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'
14144 fi
14145 if test aix != "$with_aix_soname"; then
14146 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'
14147 else
14148 # used by -dlpreopen to get the symbols
14149 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14150 fi
14151 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14152 fi
14153 fi
14154 ;;
14155
14156 beos*)
14157 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14158 allow_undefined_flag_CXX=unsupported
14159 # Joseph Beckenbach <[email protected]> says some releases of gcc
14160 # support --undefined. This deserves some investigation. FIXME
14161 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14162 else
14163 ld_shlibs_CXX=no
14164 fi
14165 ;;
14166
14167 chorus*)
14168 case $cc_basename in
14169 *)
14170 # FIXME: insert proper C++ library support
14171 ld_shlibs_CXX=no
14172 ;;
14173 esac
14174 ;;
14175
14176 cygwin* | mingw* | pw32* | cegcc*)
14177 case $GXX,$cc_basename in
14178 ,cl* | no,cl*)
14179 # Native MSVC
14180 # hardcode_libdir_flag_spec is actually meaningless, as there is
14181 # no search path for DLLs.
14182 hardcode_libdir_flag_spec_CXX=' '
14183 allow_undefined_flag_CXX=unsupported
14184 always_export_symbols_CXX=yes
14185 file_list_spec_CXX='@'
14186 # Tell ltmain to make .lib files, not .a files.
14187 libext=lib
14188 # Tell ltmain to make .dll files, not .so files.
14189 shrext_cmds=.dll
14190 # FIXME: Setting linknames here is a bad hack.
14191 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14192 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14193 cp "$export_symbols" "$output_objdir/$soname.def";
14194 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14195 else
14196 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14197 fi~
14198 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14199 linknames='
14200 # The linker will not automatically build a static lib if we build a DLL.
14201 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14202 enable_shared_with_static_runtimes_CXX=yes
14203 # Don't use ranlib
14204 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14205 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14206 lt_tool_outputfile="@TOOL_OUTPUT@"~
14207 case $lt_outputfile in
14208 *.exe|*.EXE) ;;
14209 *)
14210 lt_outputfile=$lt_outputfile.exe
14211 lt_tool_outputfile=$lt_tool_outputfile.exe
14212 ;;
14213 esac~
14214 func_to_tool_file "$lt_outputfile"~
14215 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14216 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14217 $RM "$lt_outputfile.manifest";
14218 fi'
14219 ;;
14220 *)
14221 # g++
14222 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14223 # as there is no search path for DLLs.
14224 hardcode_libdir_flag_spec_CXX='-L$libdir'
14225 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14226 allow_undefined_flag_CXX=unsupported
14227 always_export_symbols_CXX=no
14228 enable_shared_with_static_runtimes_CXX=yes
14229
14230 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14231 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'
14232 # If the export-symbols file already is a .def file, use it as
14233 # is; otherwise, prepend EXPORTS...
14234 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14235 cp $export_symbols $output_objdir/$soname.def;
14236 else
14237 echo EXPORTS > $output_objdir/$soname.def;
14238 cat $export_symbols >> $output_objdir/$soname.def;
14239 fi~
14240 $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'
14241 else
14242 ld_shlibs_CXX=no
14243 fi
14244 ;;
14245 esac
14246 ;;
14247 darwin* | rhapsody*)
14248
14249
14250 archive_cmds_need_lc_CXX=no
14251 hardcode_direct_CXX=no
14252 hardcode_automatic_CXX=yes
14253 hardcode_shlibpath_var_CXX=unsupported
14254 if test yes = "$lt_cv_ld_force_load"; then
14255 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\"`'
14256
14257 else
14258 whole_archive_flag_spec_CXX=''
14259 fi
14260 link_all_deplibs_CXX=yes
14261 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14262 case $cc_basename in
14263 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14264 *) _lt_dar_can_shared=$GCC ;;
14265 esac
14266 if test yes = "$_lt_dar_can_shared"; then
14267 output_verbose_link_cmd=func_echo_all
14268 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"
14269 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14270 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"
14271 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"
14272 if test yes != "$lt_cv_apple_cc_single_mod"; then
14273 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"
14274 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"
14275 fi
14276
14277 else
14278 ld_shlibs_CXX=no
14279 fi
14280
14281 ;;
14282
14283 os2*)
14284 hardcode_libdir_flag_spec_CXX='-L$libdir'
14285 hardcode_minus_L_CXX=yes
14286 allow_undefined_flag_CXX=unsupported
14287 shrext_cmds=.dll
14288 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14289 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14290 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14291 $ECHO EXPORTS >> $output_objdir/$libname.def~
14292 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14293 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14294 emximp -o $lib $output_objdir/$libname.def'
14295 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14296 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14297 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14298 $ECHO EXPORTS >> $output_objdir/$libname.def~
14299 prefix_cmds="$SED"~
14300 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14301 prefix_cmds="$prefix_cmds -e 1d";
14302 fi~
14303 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14304 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14305 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14306 emximp -o $lib $output_objdir/$libname.def'
14307 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14308 enable_shared_with_static_runtimes_CXX=yes
14309 ;;
14310
14311 dgux*)
14312 case $cc_basename in
14313 ec++*)
14314 # FIXME: insert proper C++ library support
14315 ld_shlibs_CXX=no
14316 ;;
14317 ghcx*)
14318 # Green Hills C++ Compiler
14319 # FIXME: insert proper C++ library support
14320 ld_shlibs_CXX=no
14321 ;;
14322 *)
14323 # FIXME: insert proper C++ library support
14324 ld_shlibs_CXX=no
14325 ;;
14326 esac
14327 ;;
14328
14329 freebsd2.*)
14330 # C++ shared libraries reported to be fairly broken before
14331 # switch to ELF
14332 ld_shlibs_CXX=no
14333 ;;
14334
14335 freebsd-elf*)
14336 archive_cmds_need_lc_CXX=no
14337 ;;
14338
14339 freebsd* | dragonfly*)
14340 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14341 # conventions
14342 ld_shlibs_CXX=yes
14343 ;;
14344
14345 haiku*)
14346 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14347 link_all_deplibs_CXX=yes
14348 ;;
14349
14350 hpux9*)
14351 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14352 hardcode_libdir_separator_CXX=:
14353 export_dynamic_flag_spec_CXX='$wl-E'
14354 hardcode_direct_CXX=yes
14355 hardcode_minus_L_CXX=yes # Not in the search PATH,
14356 # but as the default
14357 # location of the library.
14358
14359 case $cc_basename in
14360 CC*)
14361 # FIXME: insert proper C++ library support
14362 ld_shlibs_CXX=no
14363 ;;
14364 aCC*)
14365 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'
14366 # Commands to make compiler produce verbose output that lists
14367 # what "hidden" libraries, object files and flags are used when
14368 # linking a shared library.
14369 #
14370 # There doesn't appear to be a way to prevent this compiler from
14371 # explicitly linking system object files so we need to strip them
14372 # from the output so that they don't get included in the library
14373 # dependencies.
14374 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"'
14375 ;;
14376 *)
14377 if test yes = "$GXX"; then
14378 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'
14379 else
14380 # FIXME: insert proper C++ library support
14381 ld_shlibs_CXX=no
14382 fi
14383 ;;
14384 esac
14385 ;;
14386
14387 hpux10*|hpux11*)
14388 if test no = "$with_gnu_ld"; then
14389 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14390 hardcode_libdir_separator_CXX=:
14391
14392 case $host_cpu in
14393 hppa*64*|ia64*)
14394 ;;
14395 *)
14396 export_dynamic_flag_spec_CXX='$wl-E'
14397 ;;
14398 esac
14399 fi
14400 case $host_cpu in
14401 hppa*64*|ia64*)
14402 hardcode_direct_CXX=no
14403 hardcode_shlibpath_var_CXX=no
14404 ;;
14405 *)
14406 hardcode_direct_CXX=yes
14407 hardcode_direct_absolute_CXX=yes
14408 hardcode_minus_L_CXX=yes # Not in the search PATH,
14409 # but as the default
14410 # location of the library.
14411 ;;
14412 esac
14413
14414 case $cc_basename in
14415 CC*)
14416 # FIXME: insert proper C++ library support
14417 ld_shlibs_CXX=no
14418 ;;
14419 aCC*)
14420 case $host_cpu in
14421 hppa*64*)
14422 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14423 ;;
14424 ia64*)
14425 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14426 ;;
14427 *)
14428 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14429 ;;
14430 esac
14431 # Commands to make compiler produce verbose output that lists
14432 # what "hidden" libraries, object files and flags are used when
14433 # linking a shared library.
14434 #
14435 # There doesn't appear to be a way to prevent this compiler from
14436 # explicitly linking system object files so we need to strip them
14437 # from the output so that they don't get included in the library
14438 # dependencies.
14439 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"'
14440 ;;
14441 *)
14442 if test yes = "$GXX"; then
14443 if test no = "$with_gnu_ld"; then
14444 case $host_cpu in
14445 hppa*64*)
14446 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14447 ;;
14448 ia64*)
14449 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14450 ;;
14451 *)
14452 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'
14453 ;;
14454 esac
14455 fi
14456 else
14457 # FIXME: insert proper C++ library support
14458 ld_shlibs_CXX=no
14459 fi
14460 ;;
14461 esac
14462 ;;
14463
14464 interix[3-9]*)
14465 hardcode_direct_CXX=no
14466 hardcode_shlibpath_var_CXX=no
14467 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14468 export_dynamic_flag_spec_CXX='$wl-E'
14469 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14470 # Instead, shared libraries are loaded at an image base (0x10000000 by
14471 # default) and relocated if they conflict, which is a slow very memory
14472 # consuming and fragmenting process. To avoid this, we pick a random,
14473 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14474 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14475 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'
14476 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'
14477 ;;
14478 irix5* | irix6*)
14479 case $cc_basename in
14480 CC*)
14481 # SGI C++
14482 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'
14483
14484 # Archives containing C++ object files must be created using
14485 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14486 # necessary to make sure instantiated templates are included
14487 # in the archive.
14488 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14489 ;;
14490 *)
14491 if test yes = "$GXX"; then
14492 if test no = "$with_gnu_ld"; then
14493 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'
14494 else
14495 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'
14496 fi
14497 fi
14498 link_all_deplibs_CXX=yes
14499 ;;
14500 esac
14501 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14502 hardcode_libdir_separator_CXX=:
14503 inherit_rpath_CXX=yes
14504 ;;
14505
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14507 case $cc_basename in
14508 KCC*)
14509 # Kuck and Associates, Inc. (KAI) C++ Compiler
14510
14511 # KCC will only create a shared library if the output file
14512 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14513 # to its proper name (with version) after linking.
14514 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'
14515 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'
14516 # Commands to make compiler produce verbose output that lists
14517 # what "hidden" libraries, object files and flags are used when
14518 # linking a shared library.
14519 #
14520 # There doesn't appear to be a way to prevent this compiler from
14521 # explicitly linking system object files so we need to strip them
14522 # from the output so that they don't get included in the library
14523 # dependencies.
14524 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"'
14525
14526 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14527 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14528
14529 # Archives containing C++ object files must be created using
14530 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14531 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14532 ;;
14533 icpc* | ecpc* )
14534 # Intel C++
14535 with_gnu_ld=yes
14536 # version 8.0 and above of icpc choke on multiply defined symbols
14537 # if we add $predep_objects and $postdep_objects, however 7.1 and
14538 # earlier do not add the objects themselves.
14539 case `$CC -V 2>&1` in
14540 *"Version 7."*)
14541 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14542 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'
14543 ;;
14544 *) # Version 8.0 or newer
14545 tmp_idyn=
14546 case $host_cpu in
14547 ia64*) tmp_idyn=' -i_dynamic';;
14548 esac
14549 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14550 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'
14551 ;;
14552 esac
14553 archive_cmds_need_lc_CXX=no
14554 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14555 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14556 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14557 ;;
14558 pgCC* | pgcpp*)
14559 # Portland Group C++ compiler
14560 case `$CC -V` in
14561 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14562 prelink_cmds_CXX='tpldir=Template.dir~
14563 rm -rf $tpldir~
14564 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14565 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14566 old_archive_cmds_CXX='tpldir=Template.dir~
14567 rm -rf $tpldir~
14568 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14569 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14570 $RANLIB $oldlib'
14571 archive_cmds_CXX='tpldir=Template.dir~
14572 rm -rf $tpldir~
14573 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14574 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14575 archive_expsym_cmds_CXX='tpldir=Template.dir~
14576 rm -rf $tpldir~
14577 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14578 $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'
14579 ;;
14580 *) # Version 6 and above use weak symbols
14581 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14582 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'
14583 ;;
14584 esac
14585
14586 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14587 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14588 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'
14589 ;;
14590 cxx*)
14591 # Compaq C++
14592 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14593 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'
14594
14595 runpath_var=LD_RUN_PATH
14596 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14597 hardcode_libdir_separator_CXX=:
14598
14599 # Commands to make compiler produce verbose output that lists
14600 # what "hidden" libraries, object files and flags are used when
14601 # linking a shared library.
14602 #
14603 # There doesn't appear to be a way to prevent this compiler from
14604 # explicitly linking system object files so we need to strip them
14605 # from the output so that they don't get included in the library
14606 # dependencies.
14607 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'
14608 ;;
14609 xl* | mpixl* | bgxl*)
14610 # IBM XL 8.0 on PPC, with GNU ld
14611 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14612 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14613 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14614 if test yes = "$supports_anon_versioning"; then
14615 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14616 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14617 echo "local: *; };" >> $output_objdir/$libname.ver~
14618 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14619 fi
14620 ;;
14621 *)
14622 case `$CC -V 2>&1 | sed 5q` in
14623 *Sun\ C*)
14624 # Sun C++ 5.9
14625 no_undefined_flag_CXX=' -zdefs'
14626 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14627 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'
14628 hardcode_libdir_flag_spec_CXX='-R$libdir'
14629 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'
14630 compiler_needs_object_CXX=yes
14631
14632 # Not sure whether something based on
14633 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14634 # would be better.
14635 output_verbose_link_cmd='func_echo_all'
14636
14637 # Archives containing C++ object files must be created using
14638 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14639 # necessary to make sure instantiated templates are included
14640 # in the archive.
14641 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14642 ;;
14643 esac
14644 ;;
14645 esac
14646 ;;
14647
14648 lynxos*)
14649 # FIXME: insert proper C++ library support
14650 ld_shlibs_CXX=no
14651 ;;
14652
14653 m88k*)
14654 # FIXME: insert proper C++ library support
14655 ld_shlibs_CXX=no
14656 ;;
14657
14658 mvs*)
14659 case $cc_basename in
14660 cxx*)
14661 # FIXME: insert proper C++ library support
14662 ld_shlibs_CXX=no
14663 ;;
14664 *)
14665 # FIXME: insert proper C++ library support
14666 ld_shlibs_CXX=no
14667 ;;
14668 esac
14669 ;;
14670
14671 netbsd*)
14672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14673 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14674 wlarc=
14675 hardcode_libdir_flag_spec_CXX='-R$libdir'
14676 hardcode_direct_CXX=yes
14677 hardcode_shlibpath_var_CXX=no
14678 fi
14679 # Workaround some broken pre-1.5 toolchains
14680 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14681 ;;
14682
14683 *nto* | *qnx*)
14684 ld_shlibs_CXX=yes
14685 ;;
14686
14687 openbsd* | bitrig*)
14688 if test -f /usr/libexec/ld.so; then
14689 hardcode_direct_CXX=yes
14690 hardcode_shlibpath_var_CXX=no
14691 hardcode_direct_absolute_CXX=yes
14692 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14693 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14694 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14695 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14696 export_dynamic_flag_spec_CXX='$wl-E'
14697 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14698 fi
14699 output_verbose_link_cmd=func_echo_all
14700 else
14701 ld_shlibs_CXX=no
14702 fi
14703 ;;
14704
14705 osf3* | osf4* | osf5*)
14706 case $cc_basename in
14707 KCC*)
14708 # Kuck and Associates, Inc. (KAI) C++ Compiler
14709
14710 # KCC will only create a shared library if the output file
14711 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14712 # to its proper name (with version) after linking.
14713 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'
14714
14715 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14716 hardcode_libdir_separator_CXX=:
14717
14718 # Archives containing C++ object files must be created using
14719 # the KAI C++ compiler.
14720 case $host in
14721 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14722 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14723 esac
14724 ;;
14725 RCC*)
14726 # Rational C++ 2.4.1
14727 # FIXME: insert proper C++ library support
14728 ld_shlibs_CXX=no
14729 ;;
14730 cxx*)
14731 case $host in
14732 osf3*)
14733 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14734 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'
14735 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14736 ;;
14737 *)
14738 allow_undefined_flag_CXX=' -expect_unresolved \*'
14739 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'
14740 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14741 echo "-hidden">> $lib.exp~
14742 $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~
14743 $RM $lib.exp'
14744 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14745 ;;
14746 esac
14747
14748 hardcode_libdir_separator_CXX=:
14749
14750 # Commands to make compiler produce verbose output that lists
14751 # what "hidden" libraries, object files and flags are used when
14752 # linking a shared library.
14753 #
14754 # There doesn't appear to be a way to prevent this compiler from
14755 # explicitly linking system object files so we need to strip them
14756 # from the output so that they don't get included in the library
14757 # dependencies.
14758 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"'
14759 ;;
14760 *)
14761 if test yes,no = "$GXX,$with_gnu_ld"; then
14762 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14763 case $host in
14764 osf3*)
14765 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'
14766 ;;
14767 *)
14768 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'
14769 ;;
14770 esac
14771
14772 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14773 hardcode_libdir_separator_CXX=:
14774
14775 # Commands to make compiler produce verbose output that lists
14776 # what "hidden" libraries, object files and flags are used when
14777 # linking a shared library.
14778 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14779
14780 else
14781 # FIXME: insert proper C++ library support
14782 ld_shlibs_CXX=no
14783 fi
14784 ;;
14785 esac
14786 ;;
14787
14788 psos*)
14789 # FIXME: insert proper C++ library support
14790 ld_shlibs_CXX=no
14791 ;;
14792
14793 sunos4*)
14794 case $cc_basename in
14795 CC*)
14796 # Sun C++ 4.x
14797 # FIXME: insert proper C++ library support
14798 ld_shlibs_CXX=no
14799 ;;
14800 lcc*)
14801 # Lucid
14802 # FIXME: insert proper C++ library support
14803 ld_shlibs_CXX=no
14804 ;;
14805 *)
14806 # FIXME: insert proper C++ library support
14807 ld_shlibs_CXX=no
14808 ;;
14809 esac
14810 ;;
14811
14812 solaris*)
14813 case $cc_basename in
14814 CC* | sunCC*)
14815 # Sun C++ 4.2, 5.x and Centerline C++
14816 archive_cmds_need_lc_CXX=yes
14817 no_undefined_flag_CXX=' -zdefs'
14818 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14819 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14820 $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'
14821
14822 hardcode_libdir_flag_spec_CXX='-R$libdir'
14823 hardcode_shlibpath_var_CXX=no
14824 case $host_os in
14825 solaris2.[0-5] | solaris2.[0-5].*) ;;
14826 *)
14827 # The compiler driver will combine and reorder linker options,
14828 # but understands '-z linker_flag'.
14829 # Supported since Solaris 2.6 (maybe 2.5.1?)
14830 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14831 ;;
14832 esac
14833 link_all_deplibs_CXX=yes
14834
14835 output_verbose_link_cmd='func_echo_all'
14836
14837 # Archives containing C++ object files must be created using
14838 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14839 # necessary to make sure instantiated templates are included
14840 # in the archive.
14841 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14842 ;;
14843 gcx*)
14844 # Green Hills C++ Compiler
14845 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14846
14847 # The C++ compiler must be used to create the archive.
14848 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14849 ;;
14850 *)
14851 # GNU C++ compiler with Solaris linker
14852 if test yes,no = "$GXX,$with_gnu_ld"; then
14853 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14854 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14855 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14856 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14857 $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'
14858
14859 # Commands to make compiler produce verbose output that lists
14860 # what "hidden" libraries, object files and flags are used when
14861 # linking a shared library.
14862 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14863 else
14864 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14865 # platform.
14866 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14867 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14868 $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'
14869
14870 # Commands to make compiler produce verbose output that lists
14871 # what "hidden" libraries, object files and flags are used when
14872 # linking a shared library.
14873 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14874 fi
14875
14876 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14877 case $host_os in
14878 solaris2.[0-5] | solaris2.[0-5].*) ;;
14879 *)
14880 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14881 ;;
14882 esac
14883 fi
14884 ;;
14885 esac
14886 ;;
14887
14888 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14889 no_undefined_flag_CXX='$wl-z,text'
14890 archive_cmds_need_lc_CXX=no
14891 hardcode_shlibpath_var_CXX=no
14892 runpath_var='LD_RUN_PATH'
14893
14894 case $cc_basename in
14895 CC*)
14896 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14897 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14898 ;;
14899 *)
14900 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14901 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14902 ;;
14903 esac
14904 ;;
14905
14906 sysv5* | sco3.2v5* | sco5v6*)
14907 # Note: We CANNOT use -z defs as we might desire, because we do not
14908 # link with -lc, and that would cause any symbols used from libc to
14909 # always be unresolved, which means just about no library would
14910 # ever link correctly. If we're not using GNU ld we use -z text
14911 # though, which does catch some bad symbols but isn't as heavy-handed
14912 # as -z defs.
14913 no_undefined_flag_CXX='$wl-z,text'
14914 allow_undefined_flag_CXX='$wl-z,nodefs'
14915 archive_cmds_need_lc_CXX=no
14916 hardcode_shlibpath_var_CXX=no
14917 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14918 hardcode_libdir_separator_CXX=':'
14919 link_all_deplibs_CXX=yes
14920 export_dynamic_flag_spec_CXX='$wl-Bexport'
14921 runpath_var='LD_RUN_PATH'
14922
14923 case $cc_basename in
14924 CC*)
14925 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14926 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14927 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14928 '"$old_archive_cmds_CXX"
14929 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14930 '"$reload_cmds_CXX"
14931 ;;
14932 *)
14933 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14934 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14935 ;;
14936 esac
14937 ;;
14938
14939 tandem*)
14940 case $cc_basename in
14941 NCC*)
14942 # NonStop-UX NCC 3.20
14943 # FIXME: insert proper C++ library support
14944 ld_shlibs_CXX=no
14945 ;;
14946 *)
14947 # FIXME: insert proper C++ library support
14948 ld_shlibs_CXX=no
14949 ;;
14950 esac
14951 ;;
14952
14953 vxworks*)
14954 # FIXME: insert proper C++ library support
14955 ld_shlibs_CXX=no
14956 ;;
14957
14958 *)
14959 # FIXME: insert proper C++ library support
14960 ld_shlibs_CXX=no
14961 ;;
14962 esac
14963
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14965 $as_echo "$ld_shlibs_CXX" >&6; }
14966 test no = "$ld_shlibs_CXX" && can_build_shared=no
14967
14968 GCC_CXX=$GXX
14969 LD_CXX=$LD
14970
14971 ## CAVEAT EMPTOR:
14972 ## There is no encapsulation within the following macros, do not change
14973 ## the running order or otherwise move them around unless you know exactly
14974 ## what you are doing...
14975 # Dependencies to place before and after the object being linked:
14976 predep_objects_CXX=
14977 postdep_objects_CXX=
14978 predeps_CXX=
14979 postdeps_CXX=
14980 compiler_lib_search_path_CXX=
14981
14982 cat > conftest.$ac_ext <<_LT_EOF
14983 class Foo
14984 {
14985 public:
14986 Foo (void) { a = 0; }
14987 private:
14988 int a;
14989 };
14990 _LT_EOF
14991
14992
14993 _lt_libdeps_save_CFLAGS=$CFLAGS
14994 case "$CC $CFLAGS " in #(
14995 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14996 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14997 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14998 esac
14999
15000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15001 (eval $ac_compile) 2>&5
15002 ac_status=$?
15003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15004 test $ac_status = 0; }; then
15005 # Parse the compiler output and extract the necessary
15006 # objects, libraries and library flags.
15007
15008 # Sentinel used to keep track of whether or not we are before
15009 # the conftest object file.
15010 pre_test_object_deps_done=no
15011
15012 for p in `eval "$output_verbose_link_cmd"`; do
15013 case $prev$p in
15014
15015 -L* | -R* | -l*)
15016 # Some compilers place space between "-{L,R}" and the path.
15017 # Remove the space.
15018 if test x-L = "$p" ||
15019 test x-R = "$p"; then
15020 prev=$p
15021 continue
15022 fi
15023
15024 # Expand the sysroot to ease extracting the directories later.
15025 if test -z "$prev"; then
15026 case $p in
15027 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15028 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15029 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15030 esac
15031 fi
15032 case $p in
15033 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15034 esac
15035 if test no = "$pre_test_object_deps_done"; then
15036 case $prev in
15037 -L | -R)
15038 # Internal compiler library paths should come after those
15039 # provided the user. The postdeps already come after the
15040 # user supplied libs so there is no need to process them.
15041 if test -z "$compiler_lib_search_path_CXX"; then
15042 compiler_lib_search_path_CXX=$prev$p
15043 else
15044 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15045 fi
15046 ;;
15047 # The "-l" case would never come before the object being
15048 # linked, so don't bother handling this case.
15049 esac
15050 else
15051 if test -z "$postdeps_CXX"; then
15052 postdeps_CXX=$prev$p
15053 else
15054 postdeps_CXX="${postdeps_CXX} $prev$p"
15055 fi
15056 fi
15057 prev=
15058 ;;
15059
15060 *.lto.$objext) ;; # Ignore GCC LTO objects
15061 *.$objext)
15062 # This assumes that the test object file only shows up
15063 # once in the compiler output.
15064 if test "$p" = "conftest.$objext"; then
15065 pre_test_object_deps_done=yes
15066 continue
15067 fi
15068
15069 if test no = "$pre_test_object_deps_done"; then
15070 if test -z "$predep_objects_CXX"; then
15071 predep_objects_CXX=$p
15072 else
15073 predep_objects_CXX="$predep_objects_CXX $p"
15074 fi
15075 else
15076 if test -z "$postdep_objects_CXX"; then
15077 postdep_objects_CXX=$p
15078 else
15079 postdep_objects_CXX="$postdep_objects_CXX $p"
15080 fi
15081 fi
15082 ;;
15083
15084 *) ;; # Ignore the rest.
15085
15086 esac
15087 done
15088
15089 # Clean up.
15090 rm -f a.out a.exe
15091 else
15092 echo "libtool.m4: error: problem compiling CXX test program"
15093 fi
15094
15095 $RM -f confest.$objext
15096 CFLAGS=$_lt_libdeps_save_CFLAGS
15097
15098 # PORTME: override above test on systems where it is broken
15099 case $host_os in
15100 interix[3-9]*)
15101 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15102 # hack all around it, let's just trust "g++" to DTRT.
15103 predep_objects_CXX=
15104 postdep_objects_CXX=
15105 postdeps_CXX=
15106 ;;
15107 esac
15108
15109
15110 case " $postdeps_CXX " in
15111 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15112 esac
15113 compiler_lib_search_dirs_CXX=
15114 if test -n "${compiler_lib_search_path_CXX}"; then
15115 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15116 fi
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148 lt_prog_compiler_wl_CXX=
15149 lt_prog_compiler_pic_CXX=
15150 lt_prog_compiler_static_CXX=
15151
15152
15153 # C++ specific cases for pic, static, wl, etc.
15154 if test yes = "$GXX"; then
15155 lt_prog_compiler_wl_CXX='-Wl,'
15156 lt_prog_compiler_static_CXX='-static'
15157
15158 case $host_os in
15159 aix*)
15160 # All AIX code is PIC.
15161 if test ia64 = "$host_cpu"; then
15162 # AIX 5 now supports IA64 processor
15163 lt_prog_compiler_static_CXX='-Bstatic'
15164 fi
15165 lt_prog_compiler_pic_CXX='-fPIC'
15166 ;;
15167
15168 amigaos*)
15169 case $host_cpu in
15170 powerpc)
15171 # see comment about AmigaOS4 .so support
15172 lt_prog_compiler_pic_CXX='-fPIC'
15173 ;;
15174 m68k)
15175 # FIXME: we need at least 68020 code to build shared libraries, but
15176 # adding the '-m68020' flag to GCC prevents building anything better,
15177 # like '-m68040'.
15178 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15179 ;;
15180 esac
15181 ;;
15182
15183 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15184 # PIC is the default for these OSes.
15185 ;;
15186 mingw* | cygwin* | os2* | pw32* | cegcc*)
15187 # This hack is so that the source file can tell whether it is being
15188 # built for inclusion in a dll (and should export symbols for example).
15189 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15190 # (--disable-auto-import) libraries
15191 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15192 case $host_os in
15193 os2*)
15194 lt_prog_compiler_static_CXX='$wl-static'
15195 ;;
15196 esac
15197 ;;
15198 darwin* | rhapsody*)
15199 # PIC is the default on this platform
15200 # Common symbols not allowed in MH_DYLIB files
15201 lt_prog_compiler_pic_CXX='-fno-common'
15202 ;;
15203 *djgpp*)
15204 # DJGPP does not support shared libraries at all
15205 lt_prog_compiler_pic_CXX=
15206 ;;
15207 haiku*)
15208 # PIC is the default for Haiku.
15209 # The "-static" flag exists, but is broken.
15210 lt_prog_compiler_static_CXX=
15211 ;;
15212 interix[3-9]*)
15213 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15214 # Instead, we relocate shared libraries at runtime.
15215 ;;
15216 sysv4*MP*)
15217 if test -d /usr/nec; then
15218 lt_prog_compiler_pic_CXX=-Kconform_pic
15219 fi
15220 ;;
15221 hpux*)
15222 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15223 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15224 # sets the default TLS model and affects inlining.
15225 case $host_cpu in
15226 hppa*64*)
15227 ;;
15228 *)
15229 lt_prog_compiler_pic_CXX='-fPIC'
15230 ;;
15231 esac
15232 ;;
15233 *qnx* | *nto*)
15234 # QNX uses GNU C++, but need to define -shared option too, otherwise
15235 # it will coredump.
15236 lt_prog_compiler_pic_CXX='-fPIC -shared'
15237 ;;
15238 *)
15239 lt_prog_compiler_pic_CXX='-fPIC'
15240 ;;
15241 esac
15242 else
15243 case $host_os in
15244 aix[4-9]*)
15245 # All AIX code is PIC.
15246 if test ia64 = "$host_cpu"; then
15247 # AIX 5 now supports IA64 processor
15248 lt_prog_compiler_static_CXX='-Bstatic'
15249 else
15250 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15251 fi
15252 ;;
15253 chorus*)
15254 case $cc_basename in
15255 cxch68*)
15256 # Green Hills C++ Compiler
15257 # _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"
15258 ;;
15259 esac
15260 ;;
15261 mingw* | cygwin* | os2* | pw32* | cegcc*)
15262 # This hack is so that the source file can tell whether it is being
15263 # built for inclusion in a dll (and should export symbols for example).
15264 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15265 ;;
15266 dgux*)
15267 case $cc_basename in
15268 ec++*)
15269 lt_prog_compiler_pic_CXX='-KPIC'
15270 ;;
15271 ghcx*)
15272 # Green Hills C++ Compiler
15273 lt_prog_compiler_pic_CXX='-pic'
15274 ;;
15275 *)
15276 ;;
15277 esac
15278 ;;
15279 freebsd* | dragonfly*)
15280 # FreeBSD uses GNU C++
15281 ;;
15282 hpux9* | hpux10* | hpux11*)
15283 case $cc_basename in
15284 CC*)
15285 lt_prog_compiler_wl_CXX='-Wl,'
15286 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15287 if test ia64 != "$host_cpu"; then
15288 lt_prog_compiler_pic_CXX='+Z'
15289 fi
15290 ;;
15291 aCC*)
15292 lt_prog_compiler_wl_CXX='-Wl,'
15293 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15294 case $host_cpu in
15295 hppa*64*|ia64*)
15296 # +Z the default
15297 ;;
15298 *)
15299 lt_prog_compiler_pic_CXX='+Z'
15300 ;;
15301 esac
15302 ;;
15303 *)
15304 ;;
15305 esac
15306 ;;
15307 interix*)
15308 # This is c89, which is MS Visual C++ (no shared libs)
15309 # Anyone wants to do a port?
15310 ;;
15311 irix5* | irix6* | nonstopux*)
15312 case $cc_basename in
15313 CC*)
15314 lt_prog_compiler_wl_CXX='-Wl,'
15315 lt_prog_compiler_static_CXX='-non_shared'
15316 # CC pic flag -KPIC is the default.
15317 ;;
15318 *)
15319 ;;
15320 esac
15321 ;;
15322 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15323 case $cc_basename in
15324 KCC*)
15325 # KAI C++ Compiler
15326 lt_prog_compiler_wl_CXX='--backend -Wl,'
15327 lt_prog_compiler_pic_CXX='-fPIC'
15328 ;;
15329 ecpc* )
15330 # old Intel C++ for x86_64, which still supported -KPIC.
15331 lt_prog_compiler_wl_CXX='-Wl,'
15332 lt_prog_compiler_pic_CXX='-KPIC'
15333 lt_prog_compiler_static_CXX='-static'
15334 ;;
15335 icpc* )
15336 # Intel C++, used to be incompatible with GCC.
15337 # ICC 10 doesn't accept -KPIC any more.
15338 lt_prog_compiler_wl_CXX='-Wl,'
15339 lt_prog_compiler_pic_CXX='-fPIC'
15340 lt_prog_compiler_static_CXX='-static'
15341 ;;
15342 pgCC* | pgcpp*)
15343 # Portland Group C++ compiler
15344 lt_prog_compiler_wl_CXX='-Wl,'
15345 lt_prog_compiler_pic_CXX='-fpic'
15346 lt_prog_compiler_static_CXX='-Bstatic'
15347 ;;
15348 cxx*)
15349 # Compaq C++
15350 # Make sure the PIC flag is empty. It appears that all Alpha
15351 # Linux and Compaq Tru64 Unix objects are PIC.
15352 lt_prog_compiler_pic_CXX=
15353 lt_prog_compiler_static_CXX='-non_shared'
15354 ;;
15355 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15356 # IBM XL 8.0, 9.0 on PPC and BlueGene
15357 lt_prog_compiler_wl_CXX='-Wl,'
15358 lt_prog_compiler_pic_CXX='-qpic'
15359 lt_prog_compiler_static_CXX='-qstaticlink'
15360 ;;
15361 *)
15362 case `$CC -V 2>&1 | sed 5q` in
15363 *Sun\ C*)
15364 # Sun C++ 5.9
15365 lt_prog_compiler_pic_CXX='-KPIC'
15366 lt_prog_compiler_static_CXX='-Bstatic'
15367 lt_prog_compiler_wl_CXX='-Qoption ld '
15368 ;;
15369 esac
15370 ;;
15371 esac
15372 ;;
15373 lynxos*)
15374 ;;
15375 m88k*)
15376 ;;
15377 mvs*)
15378 case $cc_basename in
15379 cxx*)
15380 lt_prog_compiler_pic_CXX='-W c,exportall'
15381 ;;
15382 *)
15383 ;;
15384 esac
15385 ;;
15386 netbsd* | netbsdelf*-gnu)
15387 ;;
15388 *qnx* | *nto*)
15389 # QNX uses GNU C++, but need to define -shared option too, otherwise
15390 # it will coredump.
15391 lt_prog_compiler_pic_CXX='-fPIC -shared'
15392 ;;
15393 osf3* | osf4* | osf5*)
15394 case $cc_basename in
15395 KCC*)
15396 lt_prog_compiler_wl_CXX='--backend -Wl,'
15397 ;;
15398 RCC*)
15399 # Rational C++ 2.4.1
15400 lt_prog_compiler_pic_CXX='-pic'
15401 ;;
15402 cxx*)
15403 # Digital/Compaq C++
15404 lt_prog_compiler_wl_CXX='-Wl,'
15405 # Make sure the PIC flag is empty. It appears that all Alpha
15406 # Linux and Compaq Tru64 Unix objects are PIC.
15407 lt_prog_compiler_pic_CXX=
15408 lt_prog_compiler_static_CXX='-non_shared'
15409 ;;
15410 *)
15411 ;;
15412 esac
15413 ;;
15414 psos*)
15415 ;;
15416 solaris*)
15417 case $cc_basename in
15418 CC* | sunCC*)
15419 # Sun C++ 4.2, 5.x and Centerline C++
15420 lt_prog_compiler_pic_CXX='-KPIC'
15421 lt_prog_compiler_static_CXX='-Bstatic'
15422 lt_prog_compiler_wl_CXX='-Qoption ld '
15423 ;;
15424 gcx*)
15425 # Green Hills C++ Compiler
15426 lt_prog_compiler_pic_CXX='-PIC'
15427 ;;
15428 *)
15429 ;;
15430 esac
15431 ;;
15432 sunos4*)
15433 case $cc_basename in
15434 CC*)
15435 # Sun C++ 4.x
15436 lt_prog_compiler_pic_CXX='-pic'
15437 lt_prog_compiler_static_CXX='-Bstatic'
15438 ;;
15439 lcc*)
15440 # Lucid
15441 lt_prog_compiler_pic_CXX='-pic'
15442 ;;
15443 *)
15444 ;;
15445 esac
15446 ;;
15447 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15448 case $cc_basename in
15449 CC*)
15450 lt_prog_compiler_wl_CXX='-Wl,'
15451 lt_prog_compiler_pic_CXX='-KPIC'
15452 lt_prog_compiler_static_CXX='-Bstatic'
15453 ;;
15454 esac
15455 ;;
15456 tandem*)
15457 case $cc_basename in
15458 NCC*)
15459 # NonStop-UX NCC 3.20
15460 lt_prog_compiler_pic_CXX='-KPIC'
15461 ;;
15462 *)
15463 ;;
15464 esac
15465 ;;
15466 vxworks*)
15467 ;;
15468 *)
15469 lt_prog_compiler_can_build_shared_CXX=no
15470 ;;
15471 esac
15472 fi
15473
15474 case $host_os in
15475 # For platforms that do not support PIC, -DPIC is meaningless:
15476 *djgpp*)
15477 lt_prog_compiler_pic_CXX=
15478 ;;
15479 *)
15480 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15481 ;;
15482 esac
15483
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15485 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15486 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15487 $as_echo_n "(cached) " >&6
15488 else
15489 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15490 fi
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15492 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15493 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15494
15495 #
15496 # Check to make sure the PIC flag actually works.
15497 #
15498 if test -n "$lt_prog_compiler_pic_CXX"; then
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15500 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15501 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 lt_cv_prog_compiler_pic_works_CXX=no
15505 ac_outfile=conftest.$ac_objext
15506 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15507 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15508 # Insert the option either (1) after the last *FLAGS variable, or
15509 # (2) before a word containing "conftest.", or (3) at the end.
15510 # Note that $ac_compile itself does not contain backslashes and begins
15511 # with a dollar sign (not a hyphen), so the echo should work correctly.
15512 # The option is referenced via a variable to avoid confusing sed.
15513 lt_compile=`echo "$ac_compile" | $SED \
15514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15516 -e 's:$: $lt_compiler_flag:'`
15517 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15518 (eval "$lt_compile" 2>conftest.err)
15519 ac_status=$?
15520 cat conftest.err >&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 if (exit $ac_status) && test -s "$ac_outfile"; then
15523 # The compiler can only warn and ignore the option if not recognized
15524 # So say no if there are warnings other than the usual output.
15525 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15528 lt_cv_prog_compiler_pic_works_CXX=yes
15529 fi
15530 fi
15531 $RM conftest*
15532
15533 fi
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15535 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15536
15537 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15538 case $lt_prog_compiler_pic_CXX in
15539 "" | " "*) ;;
15540 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15541 esac
15542 else
15543 lt_prog_compiler_pic_CXX=
15544 lt_prog_compiler_can_build_shared_CXX=no
15545 fi
15546
15547 fi
15548
15549
15550
15551
15552
15553 #
15554 # Check to make sure the static flag actually works.
15555 #
15556 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15558 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15559 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15560 $as_echo_n "(cached) " >&6
15561 else
15562 lt_cv_prog_compiler_static_works_CXX=no
15563 save_LDFLAGS=$LDFLAGS
15564 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15565 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15566 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15567 # The linker can only warn and ignore the option if not recognized
15568 # So say no if there are warnings
15569 if test -s conftest.err; then
15570 # Append any errors to the config.log.
15571 cat conftest.err 1>&5
15572 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15573 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15574 if diff conftest.exp conftest.er2 >/dev/null; then
15575 lt_cv_prog_compiler_static_works_CXX=yes
15576 fi
15577 else
15578 lt_cv_prog_compiler_static_works_CXX=yes
15579 fi
15580 fi
15581 $RM -r conftest*
15582 LDFLAGS=$save_LDFLAGS
15583
15584 fi
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15586 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15587
15588 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15589 :
15590 else
15591 lt_prog_compiler_static_CXX=
15592 fi
15593
15594
15595
15596
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15598 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15599 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15600 $as_echo_n "(cached) " >&6
15601 else
15602 lt_cv_prog_compiler_c_o_CXX=no
15603 $RM -r conftest 2>/dev/null
15604 mkdir conftest
15605 cd conftest
15606 mkdir out
15607 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15608
15609 lt_compiler_flag="-o out/conftest2.$ac_objext"
15610 # Insert the option either (1) after the last *FLAGS variable, or
15611 # (2) before a word containing "conftest.", or (3) at the end.
15612 # Note that $ac_compile itself does not contain backslashes and begins
15613 # with a dollar sign (not a hyphen), so the echo should work correctly.
15614 lt_compile=`echo "$ac_compile" | $SED \
15615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15617 -e 's:$: $lt_compiler_flag:'`
15618 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15619 (eval "$lt_compile" 2>out/conftest.err)
15620 ac_status=$?
15621 cat out/conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15624 then
15625 # The compiler can only warn and ignore the option if not recognized
15626 # So say no if there are warnings
15627 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15628 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15629 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15630 lt_cv_prog_compiler_c_o_CXX=yes
15631 fi
15632 fi
15633 chmod u+w . 2>&5
15634 $RM conftest*
15635 # SGI C++ compiler will create directory out/ii_files/ for
15636 # template instantiation
15637 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15638 $RM out/* && rmdir out
15639 cd ..
15640 $RM -r conftest
15641 $RM conftest*
15642
15643 fi
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15645 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15646
15647
15648
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15650 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15651 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15652 $as_echo_n "(cached) " >&6
15653 else
15654 lt_cv_prog_compiler_c_o_CXX=no
15655 $RM -r conftest 2>/dev/null
15656 mkdir conftest
15657 cd conftest
15658 mkdir out
15659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15660
15661 lt_compiler_flag="-o out/conftest2.$ac_objext"
15662 # Insert the option either (1) after the last *FLAGS variable, or
15663 # (2) before a word containing "conftest.", or (3) at the end.
15664 # Note that $ac_compile itself does not contain backslashes and begins
15665 # with a dollar sign (not a hyphen), so the echo should work correctly.
15666 lt_compile=`echo "$ac_compile" | $SED \
15667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15669 -e 's:$: $lt_compiler_flag:'`
15670 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15671 (eval "$lt_compile" 2>out/conftest.err)
15672 ac_status=$?
15673 cat out/conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15676 then
15677 # The compiler can only warn and ignore the option if not recognized
15678 # So say no if there are warnings
15679 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15680 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15681 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15682 lt_cv_prog_compiler_c_o_CXX=yes
15683 fi
15684 fi
15685 chmod u+w . 2>&5
15686 $RM conftest*
15687 # SGI C++ compiler will create directory out/ii_files/ for
15688 # template instantiation
15689 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15690 $RM out/* && rmdir out
15691 cd ..
15692 $RM -r conftest
15693 $RM conftest*
15694
15695 fi
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15697 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15698
15699
15700
15701
15702 hard_links=nottested
15703 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15704 # do not overwrite the value of need_locks provided by the user
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15706 $as_echo_n "checking if we can lock with hard links... " >&6; }
15707 hard_links=yes
15708 $RM conftest*
15709 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15710 touch conftest.a
15711 ln conftest.a conftest.b 2>&5 || hard_links=no
15712 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15714 $as_echo "$hard_links" >&6; }
15715 if test no = "$hard_links"; then
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15717 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15718 need_locks=warn
15719 fi
15720 else
15721 need_locks=no
15722 fi
15723
15724
15725
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15727 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15728
15729 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15730 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15731 case $host_os in
15732 aix[4-9]*)
15733 # If we're using GNU nm, then we don't want the "-C" option.
15734 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15735 # Without the "-l" option, or with the "-B" option, AIX nm treats
15736 # weak defined symbols like other global defined symbols, whereas
15737 # GNU nm marks them as "W".
15738 # While the 'weak' keyword is ignored in the Export File, we need
15739 # it in the Import File for the 'aix-soname' feature, so we have
15740 # to replace the "-B" option with "-P" for AIX nm.
15741 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15742 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'
15743 else
15744 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'
15745 fi
15746 ;;
15747 pw32*)
15748 export_symbols_cmds_CXX=$ltdll_cmds
15749 ;;
15750 cygwin* | mingw* | cegcc*)
15751 case $cc_basename in
15752 cl*)
15753 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15754 ;;
15755 *)
15756 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'
15757 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15758 ;;
15759 esac
15760 ;;
15761 linux* | k*bsd*-gnu | gnu*)
15762 link_all_deplibs_CXX=no
15763 ;;
15764 *)
15765 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15766 ;;
15767 esac
15768
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15770 $as_echo "$ld_shlibs_CXX" >&6; }
15771 test no = "$ld_shlibs_CXX" && can_build_shared=no
15772
15773 with_gnu_ld_CXX=$with_gnu_ld
15774
15775
15776
15777
15778
15779
15780 #
15781 # Do we need to explicitly link libc?
15782 #
15783 case "x$archive_cmds_need_lc_CXX" in
15784 x|xyes)
15785 # Assume -lc should be added
15786 archive_cmds_need_lc_CXX=yes
15787
15788 if test yes,yes = "$GCC,$enable_shared"; then
15789 case $archive_cmds_CXX in
15790 *'~'*)
15791 # FIXME: we may have to deal with multi-command sequences.
15792 ;;
15793 '$CC '*)
15794 # Test whether the compiler implicitly links with -lc since on some
15795 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15796 # to ld, don't add -lc before -lgcc.
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15798 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15799 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 $RM conftest*
15803 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15804
15805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15806 (eval $ac_compile) 2>&5
15807 ac_status=$?
15808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15809 test $ac_status = 0; } 2>conftest.err; then
15810 soname=conftest
15811 lib=conftest
15812 libobjs=conftest.$ac_objext
15813 deplibs=
15814 wl=$lt_prog_compiler_wl_CXX
15815 pic_flag=$lt_prog_compiler_pic_CXX
15816 compiler_flags=-v
15817 linker_flags=-v
15818 verstring=
15819 output_objdir=.
15820 libname=conftest
15821 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15822 allow_undefined_flag_CXX=
15823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15824 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15825 ac_status=$?
15826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15827 test $ac_status = 0; }
15828 then
15829 lt_cv_archive_cmds_need_lc_CXX=no
15830 else
15831 lt_cv_archive_cmds_need_lc_CXX=yes
15832 fi
15833 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15834 else
15835 cat conftest.err 1>&5
15836 fi
15837 $RM conftest*
15838
15839 fi
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15841 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15842 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15843 ;;
15844 esac
15845 fi
15846 ;;
15847 esac
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15911 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15912
15913 library_names_spec=
15914 libname_spec='lib$name'
15915 soname_spec=
15916 shrext_cmds=.so
15917 postinstall_cmds=
15918 postuninstall_cmds=
15919 finish_cmds=
15920 finish_eval=
15921 shlibpath_var=
15922 shlibpath_overrides_runpath=unknown
15923 version_type=none
15924 dynamic_linker="$host_os ld.so"
15925 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15926 need_lib_prefix=unknown
15927 hardcode_into_libs=no
15928
15929 # when you set need_version to no, make sure it does not cause -set_version
15930 # flags to be left without arguments
15931 need_version=unknown
15932
15933
15934
15935 case $host_os in
15936 aix3*)
15937 version_type=linux # correct to gnu/linux during the next big refactor
15938 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15939 shlibpath_var=LIBPATH
15940
15941 # AIX 3 has no versioning support, so we append a major version to the name.
15942 soname_spec='$libname$release$shared_ext$major'
15943 ;;
15944
15945 aix[4-9]*)
15946 version_type=linux # correct to gnu/linux during the next big refactor
15947 need_lib_prefix=no
15948 need_version=no
15949 hardcode_into_libs=yes
15950 if test ia64 = "$host_cpu"; then
15951 # AIX 5 supports IA64
15952 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15953 shlibpath_var=LD_LIBRARY_PATH
15954 else
15955 # With GCC up to 2.95.x, collect2 would create an import file
15956 # for dependence libraries. The import file would start with
15957 # the line '#! .'. This would cause the generated library to
15958 # depend on '.', always an invalid library. This was fixed in
15959 # development snapshots of GCC prior to 3.0.
15960 case $host_os in
15961 aix4 | aix4.[01] | aix4.[01].*)
15962 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15963 echo ' yes '
15964 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15965 :
15966 else
15967 can_build_shared=no
15968 fi
15969 ;;
15970 esac
15971 # Using Import Files as archive members, it is possible to support
15972 # filename-based versioning of shared library archives on AIX. While
15973 # this would work for both with and without runtime linking, it will
15974 # prevent static linking of such archives. So we do filename-based
15975 # shared library versioning with .so extension only, which is used
15976 # when both runtime linking and shared linking is enabled.
15977 # Unfortunately, runtime linking may impact performance, so we do
15978 # not want this to be the default eventually. Also, we use the
15979 # versioned .so libs for executables only if there is the -brtl
15980 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15981 # To allow for filename-based versioning support, we need to create
15982 # libNAME.so.V as an archive file, containing:
15983 # *) an Import File, referring to the versioned filename of the
15984 # archive as well as the shared archive member, telling the
15985 # bitwidth (32 or 64) of that shared object, and providing the
15986 # list of exported symbols of that shared object, eventually
15987 # decorated with the 'weak' keyword
15988 # *) the shared object with the F_LOADONLY flag set, to really avoid
15989 # it being seen by the linker.
15990 # At run time we better use the real file rather than another symlink,
15991 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15992
15993 case $with_aix_soname,$aix_use_runtimelinking in
15994 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15995 # soname into executable. Probably we can add versioning support to
15996 # collect2, so additional links can be useful in future.
15997 aix,yes) # traditional libtool
15998 dynamic_linker='AIX unversionable lib.so'
15999 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16000 # instead of lib<name>.a to let people know that these are not
16001 # typical AIX shared libraries.
16002 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16003 ;;
16004 aix,no) # traditional AIX only
16005 dynamic_linker='AIX lib.a(lib.so.V)'
16006 # We preserve .a as extension for shared libraries through AIX4.2
16007 # and later when we are not doing run time linking.
16008 library_names_spec='$libname$release.a $libname.a'
16009 soname_spec='$libname$release$shared_ext$major'
16010 ;;
16011 svr4,*) # full svr4 only
16012 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16013 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16014 # We do not specify a path in Import Files, so LIBPATH fires.
16015 shlibpath_overrides_runpath=yes
16016 ;;
16017 *,yes) # both, prefer svr4
16018 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16019 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16020 # unpreferred sharedlib libNAME.a needs extra handling
16021 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"'
16022 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"'
16023 # We do not specify a path in Import Files, so LIBPATH fires.
16024 shlibpath_overrides_runpath=yes
16025 ;;
16026 *,no) # both, prefer aix
16027 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16028 library_names_spec='$libname$release.a $libname.a'
16029 soname_spec='$libname$release$shared_ext$major'
16030 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16031 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)'
16032 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"'
16033 ;;
16034 esac
16035 shlibpath_var=LIBPATH
16036 fi
16037 ;;
16038
16039 amigaos*)
16040 case $host_cpu in
16041 powerpc)
16042 # Since July 2007 AmigaOS4 officially supports .so libraries.
16043 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16044 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16045 ;;
16046 m68k)
16047 library_names_spec='$libname.ixlibrary $libname.a'
16048 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16049 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'
16050 ;;
16051 esac
16052 ;;
16053
16054 beos*)
16055 library_names_spec='$libname$shared_ext'
16056 dynamic_linker="$host_os ld.so"
16057 shlibpath_var=LIBRARY_PATH
16058 ;;
16059
16060 bsdi[45]*)
16061 version_type=linux # correct to gnu/linux during the next big refactor
16062 need_version=no
16063 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16064 soname_spec='$libname$release$shared_ext$major'
16065 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16066 shlibpath_var=LD_LIBRARY_PATH
16067 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16068 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16069 # the default ld.so.conf also contains /usr/contrib/lib and
16070 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16071 # libtool to hard-code these into programs
16072 ;;
16073
16074 cygwin* | mingw* | pw32* | cegcc*)
16075 version_type=windows
16076 shrext_cmds=.dll
16077 need_version=no
16078 need_lib_prefix=no
16079
16080 case $GCC,$cc_basename in
16081 yes,*)
16082 # gcc
16083 library_names_spec='$libname.dll.a'
16084 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16085 postinstall_cmds='base_file=`basename \$file`~
16086 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16087 dldir=$destdir/`dirname \$dlpath`~
16088 test -d \$dldir || mkdir -p \$dldir~
16089 $install_prog $dir/$dlname \$dldir/$dlname~
16090 chmod a+x \$dldir/$dlname~
16091 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16092 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16093 fi'
16094 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16095 dlpath=$dir/\$dldll~
16096 $RM \$dlpath'
16097 shlibpath_overrides_runpath=yes
16098
16099 case $host_os in
16100 cygwin*)
16101 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16102 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16103
16104 ;;
16105 mingw* | cegcc*)
16106 # MinGW DLLs use traditional 'lib' prefix
16107 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16108 ;;
16109 pw32*)
16110 # pw32 DLLs use 'pw' prefix rather than 'lib'
16111 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16112 ;;
16113 esac
16114 dynamic_linker='Win32 ld.exe'
16115 ;;
16116
16117 *,cl*)
16118 # Native MSVC
16119 libname_spec='$name'
16120 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16121 library_names_spec='$libname.dll.lib'
16122
16123 case $build_os in
16124 mingw*)
16125 sys_lib_search_path_spec=
16126 lt_save_ifs=$IFS
16127 IFS=';'
16128 for lt_path in $LIB
16129 do
16130 IFS=$lt_save_ifs
16131 # Let DOS variable expansion print the short 8.3 style file name.
16132 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16133 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16134 done
16135 IFS=$lt_save_ifs
16136 # Convert to MSYS style.
16137 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16138 ;;
16139 cygwin*)
16140 # Convert to unix form, then to dos form, then back to unix form
16141 # but this time dos style (no spaces!) so that the unix form looks
16142 # like /cygdrive/c/PROGRA~1:/cygdr...
16143 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16144 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16145 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16146 ;;
16147 *)
16148 sys_lib_search_path_spec=$LIB
16149 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16150 # It is most probably a Windows format PATH.
16151 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16152 else
16153 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16154 fi
16155 # FIXME: find the short name or the path components, as spaces are
16156 # common. (e.g. "Program Files" -> "PROGRA~1")
16157 ;;
16158 esac
16159
16160 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16161 postinstall_cmds='base_file=`basename \$file`~
16162 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16163 dldir=$destdir/`dirname \$dlpath`~
16164 test -d \$dldir || mkdir -p \$dldir~
16165 $install_prog $dir/$dlname \$dldir/$dlname'
16166 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16167 dlpath=$dir/\$dldll~
16168 $RM \$dlpath'
16169 shlibpath_overrides_runpath=yes
16170 dynamic_linker='Win32 link.exe'
16171 ;;
16172
16173 *)
16174 # Assume MSVC wrapper
16175 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16176 dynamic_linker='Win32 ld.exe'
16177 ;;
16178 esac
16179 # FIXME: first we should search . and the directory the executable is in
16180 shlibpath_var=PATH
16181 ;;
16182
16183 darwin* | rhapsody*)
16184 dynamic_linker="$host_os dyld"
16185 version_type=darwin
16186 need_lib_prefix=no
16187 need_version=no
16188 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16189 soname_spec='$libname$release$major$shared_ext'
16190 shlibpath_overrides_runpath=yes
16191 shlibpath_var=DYLD_LIBRARY_PATH
16192 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16193
16194 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16195 ;;
16196
16197 dgux*)
16198 version_type=linux # correct to gnu/linux during the next big refactor
16199 need_lib_prefix=no
16200 need_version=no
16201 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16202 soname_spec='$libname$release$shared_ext$major'
16203 shlibpath_var=LD_LIBRARY_PATH
16204 ;;
16205
16206 freebsd* | dragonfly*)
16207 # DragonFly does not have aout. When/if they implement a new
16208 # versioning mechanism, adjust this.
16209 if test -x /usr/bin/objformat; then
16210 objformat=`/usr/bin/objformat`
16211 else
16212 case $host_os in
16213 freebsd[23].*) objformat=aout ;;
16214 *) objformat=elf ;;
16215 esac
16216 fi
16217 version_type=freebsd-$objformat
16218 case $version_type in
16219 freebsd-elf*)
16220 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16221 soname_spec='$libname$release$shared_ext$major'
16222 need_version=no
16223 need_lib_prefix=no
16224 ;;
16225 freebsd-*)
16226 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16227 need_version=yes
16228 ;;
16229 esac
16230 shlibpath_var=LD_LIBRARY_PATH
16231 case $host_os in
16232 freebsd2.*)
16233 shlibpath_overrides_runpath=yes
16234 ;;
16235 freebsd3.[01]* | freebsdelf3.[01]*)
16236 shlibpath_overrides_runpath=yes
16237 hardcode_into_libs=yes
16238 ;;
16239 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16240 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16241 shlibpath_overrides_runpath=no
16242 hardcode_into_libs=yes
16243 ;;
16244 *) # from 4.6 on, and DragonFly
16245 shlibpath_overrides_runpath=yes
16246 hardcode_into_libs=yes
16247 ;;
16248 esac
16249 ;;
16250
16251 haiku*)
16252 version_type=linux # correct to gnu/linux during the next big refactor
16253 need_lib_prefix=no
16254 need_version=no
16255 dynamic_linker="$host_os runtime_loader"
16256 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16257 soname_spec='$libname$release$shared_ext$major'
16258 shlibpath_var=LIBRARY_PATH
16259 shlibpath_overrides_runpath=no
16260 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16261 hardcode_into_libs=yes
16262 ;;
16263
16264 hpux9* | hpux10* | hpux11*)
16265 # Give a soname corresponding to the major version so that dld.sl refuses to
16266 # link against other versions.
16267 version_type=sunos
16268 need_lib_prefix=no
16269 need_version=no
16270 case $host_cpu in
16271 ia64*)
16272 shrext_cmds='.so'
16273 hardcode_into_libs=yes
16274 dynamic_linker="$host_os dld.so"
16275 shlibpath_var=LD_LIBRARY_PATH
16276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16277 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16278 soname_spec='$libname$release$shared_ext$major'
16279 if test 32 = "$HPUX_IA64_MODE"; then
16280 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16281 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16282 else
16283 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16284 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16285 fi
16286 ;;
16287 hppa*64*)
16288 shrext_cmds='.sl'
16289 hardcode_into_libs=yes
16290 dynamic_linker="$host_os dld.sl"
16291 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16292 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16293 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16294 soname_spec='$libname$release$shared_ext$major'
16295 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16296 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16297 ;;
16298 *)
16299 shrext_cmds='.sl'
16300 dynamic_linker="$host_os dld.sl"
16301 shlibpath_var=SHLIB_PATH
16302 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16304 soname_spec='$libname$release$shared_ext$major'
16305 ;;
16306 esac
16307 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16308 postinstall_cmds='chmod 555 $lib'
16309 # or fails outright, so override atomically:
16310 install_override_mode=555
16311 ;;
16312
16313 interix[3-9]*)
16314 version_type=linux # correct to gnu/linux during the next big refactor
16315 need_lib_prefix=no
16316 need_version=no
16317 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16318 soname_spec='$libname$release$shared_ext$major'
16319 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16320 shlibpath_var=LD_LIBRARY_PATH
16321 shlibpath_overrides_runpath=no
16322 hardcode_into_libs=yes
16323 ;;
16324
16325 irix5* | irix6* | nonstopux*)
16326 case $host_os in
16327 nonstopux*) version_type=nonstopux ;;
16328 *)
16329 if test yes = "$lt_cv_prog_gnu_ld"; then
16330 version_type=linux # correct to gnu/linux during the next big refactor
16331 else
16332 version_type=irix
16333 fi ;;
16334 esac
16335 need_lib_prefix=no
16336 need_version=no
16337 soname_spec='$libname$release$shared_ext$major'
16338 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16339 case $host_os in
16340 irix5* | nonstopux*)
16341 libsuff= shlibsuff=
16342 ;;
16343 *)
16344 case $LD in # libtool.m4 will add one of these switches to LD
16345 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16346 libsuff= shlibsuff= libmagic=32-bit;;
16347 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16348 libsuff=32 shlibsuff=N32 libmagic=N32;;
16349 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16350 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16351 *) libsuff= shlibsuff= libmagic=never-match;;
16352 esac
16353 ;;
16354 esac
16355 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16356 shlibpath_overrides_runpath=no
16357 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16358 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16359 hardcode_into_libs=yes
16360 ;;
16361
16362 # No shared lib support for Linux oldld, aout, or coff.
16363 linux*oldld* | linux*aout* | linux*coff*)
16364 dynamic_linker=no
16365 ;;
16366
16367 linux*android*)
16368 version_type=none # Android doesn't support versioned libraries.
16369 need_lib_prefix=no
16370 need_version=no
16371 library_names_spec='$libname$release$shared_ext'
16372 soname_spec='$libname$release$shared_ext'
16373 finish_cmds=
16374 shlibpath_var=LD_LIBRARY_PATH
16375 shlibpath_overrides_runpath=yes
16376
16377 # This implies no fast_install, which is unacceptable.
16378 # Some rework will be needed to allow for fast_install
16379 # before this can be enabled.
16380 hardcode_into_libs=yes
16381
16382 dynamic_linker='Android linker'
16383 # Don't embed -rpath directories since the linker doesn't support them.
16384 hardcode_libdir_flag_spec_CXX='-L$libdir'
16385 ;;
16386
16387 # This must be glibc/ELF.
16388 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16389 version_type=linux # correct to gnu/linux during the next big refactor
16390 need_lib_prefix=no
16391 need_version=no
16392 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16393 soname_spec='$libname$release$shared_ext$major'
16394 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16395 shlibpath_var=LD_LIBRARY_PATH
16396 shlibpath_overrides_runpath=no
16397
16398 # Some binutils ld are patched to set DT_RUNPATH
16399 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16400 $as_echo_n "(cached) " >&6
16401 else
16402 lt_cv_shlibpath_overrides_runpath=no
16403 save_LDFLAGS=$LDFLAGS
16404 save_libdir=$libdir
16405 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16406 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409
16410 int
16411 main ()
16412 {
16413
16414 ;
16415 return 0;
16416 }
16417 _ACEOF
16418 if ac_fn_cxx_try_link "$LINENO"; then :
16419 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16420 lt_cv_shlibpath_overrides_runpath=yes
16421 fi
16422 fi
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16425 LDFLAGS=$save_LDFLAGS
16426 libdir=$save_libdir
16427
16428 fi
16429
16430 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16431
16432 # This implies no fast_install, which is unacceptable.
16433 # Some rework will be needed to allow for fast_install
16434 # before this can be enabled.
16435 hardcode_into_libs=yes
16436
16437 # Ideally, we could use ldconfig to report *all* directores which are
16438 # searched for libraries, however this is still not possible. Aside from not
16439 # being certain /sbin/ldconfig is available, command
16440 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16441 # even though it is searched at run-time. Try to do the best guess by
16442 # appending ld.so.conf contents (and includes) to the search path.
16443 if test -f /etc/ld.so.conf; then
16444 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' ' '`
16445 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16446 fi
16447
16448 # We used to test for /lib/ld.so.1 and disable shared libraries on
16449 # powerpc, because MkLinux only supported shared libraries with the
16450 # GNU dynamic linker. Since this was broken with cross compilers,
16451 # most powerpc-linux boxes support dynamic linking these days and
16452 # people can always --disable-shared, the test was removed, and we
16453 # assume the GNU/Linux dynamic linker is in use.
16454 dynamic_linker='GNU/Linux ld.so'
16455 ;;
16456
16457 netbsdelf*-gnu)
16458 version_type=linux
16459 need_lib_prefix=no
16460 need_version=no
16461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16462 soname_spec='${libname}${release}${shared_ext}$major'
16463 shlibpath_var=LD_LIBRARY_PATH
16464 shlibpath_overrides_runpath=no
16465 hardcode_into_libs=yes
16466 dynamic_linker='NetBSD ld.elf_so'
16467 ;;
16468
16469 netbsd*)
16470 version_type=sunos
16471 need_lib_prefix=no
16472 need_version=no
16473 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16474 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16475 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16476 dynamic_linker='NetBSD (a.out) ld.so'
16477 else
16478 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16479 soname_spec='$libname$release$shared_ext$major'
16480 dynamic_linker='NetBSD ld.elf_so'
16481 fi
16482 shlibpath_var=LD_LIBRARY_PATH
16483 shlibpath_overrides_runpath=yes
16484 hardcode_into_libs=yes
16485 ;;
16486
16487 newsos6)
16488 version_type=linux # correct to gnu/linux during the next big refactor
16489 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16490 shlibpath_var=LD_LIBRARY_PATH
16491 shlibpath_overrides_runpath=yes
16492 ;;
16493
16494 *nto* | *qnx*)
16495 version_type=qnx
16496 need_lib_prefix=no
16497 need_version=no
16498 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16499 soname_spec='$libname$release$shared_ext$major'
16500 shlibpath_var=LD_LIBRARY_PATH
16501 shlibpath_overrides_runpath=no
16502 hardcode_into_libs=yes
16503 dynamic_linker='ldqnx.so'
16504 ;;
16505
16506 openbsd* | bitrig*)
16507 version_type=sunos
16508 sys_lib_dlsearch_path_spec=/usr/lib
16509 need_lib_prefix=no
16510 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16511 need_version=no
16512 else
16513 need_version=yes
16514 fi
16515 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16517 shlibpath_var=LD_LIBRARY_PATH
16518 shlibpath_overrides_runpath=yes
16519 ;;
16520
16521 os2*)
16522 libname_spec='$name'
16523 version_type=windows
16524 shrext_cmds=.dll
16525 need_version=no
16526 need_lib_prefix=no
16527 # OS/2 can only load a DLL with a base name of 8 characters or less.
16528 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16529 v=$($ECHO $release$versuffix | tr -d .-);
16530 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16531 $ECHO $n$v`$shared_ext'
16532 library_names_spec='${libname}_dll.$libext'
16533 dynamic_linker='OS/2 ld.exe'
16534 shlibpath_var=BEGINLIBPATH
16535 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16536 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16537 postinstall_cmds='base_file=`basename \$file`~
16538 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16539 dldir=$destdir/`dirname \$dlpath`~
16540 test -d \$dldir || mkdir -p \$dldir~
16541 $install_prog $dir/$dlname \$dldir/$dlname~
16542 chmod a+x \$dldir/$dlname~
16543 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16544 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16545 fi'
16546 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16547 dlpath=$dir/\$dldll~
16548 $RM \$dlpath'
16549 ;;
16550
16551 osf3* | osf4* | osf5*)
16552 version_type=osf
16553 need_lib_prefix=no
16554 need_version=no
16555 soname_spec='$libname$release$shared_ext$major'
16556 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16557 shlibpath_var=LD_LIBRARY_PATH
16558 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16559 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16560 ;;
16561
16562 rdos*)
16563 dynamic_linker=no
16564 ;;
16565
16566 solaris*)
16567 version_type=linux # correct to gnu/linux during the next big refactor
16568 need_lib_prefix=no
16569 need_version=no
16570 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16571 soname_spec='$libname$release$shared_ext$major'
16572 shlibpath_var=LD_LIBRARY_PATH
16573 shlibpath_overrides_runpath=yes
16574 hardcode_into_libs=yes
16575 # ldd complains unless libraries are executable
16576 postinstall_cmds='chmod +x $lib'
16577 ;;
16578
16579 sunos4*)
16580 version_type=sunos
16581 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16582 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16583 shlibpath_var=LD_LIBRARY_PATH
16584 shlibpath_overrides_runpath=yes
16585 if test yes = "$with_gnu_ld"; then
16586 need_lib_prefix=no
16587 fi
16588 need_version=yes
16589 ;;
16590
16591 sysv4 | sysv4.3*)
16592 version_type=linux # correct to gnu/linux during the next big refactor
16593 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16594 soname_spec='$libname$release$shared_ext$major'
16595 shlibpath_var=LD_LIBRARY_PATH
16596 case $host_vendor in
16597 sni)
16598 shlibpath_overrides_runpath=no
16599 need_lib_prefix=no
16600 runpath_var=LD_RUN_PATH
16601 ;;
16602 siemens)
16603 need_lib_prefix=no
16604 ;;
16605 motorola)
16606 need_lib_prefix=no
16607 need_version=no
16608 shlibpath_overrides_runpath=no
16609 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16610 ;;
16611 esac
16612 ;;
16613
16614 sysv4*MP*)
16615 if test -d /usr/nec; then
16616 version_type=linux # correct to gnu/linux during the next big refactor
16617 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16618 soname_spec='$libname$shared_ext.$major'
16619 shlibpath_var=LD_LIBRARY_PATH
16620 fi
16621 ;;
16622
16623 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16624 version_type=sco
16625 need_lib_prefix=no
16626 need_version=no
16627 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16628 soname_spec='$libname$release$shared_ext$major'
16629 shlibpath_var=LD_LIBRARY_PATH
16630 shlibpath_overrides_runpath=yes
16631 hardcode_into_libs=yes
16632 if test yes = "$with_gnu_ld"; then
16633 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16634 else
16635 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16636 case $host_os in
16637 sco3.2v5*)
16638 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16639 ;;
16640 esac
16641 fi
16642 sys_lib_dlsearch_path_spec='/usr/lib'
16643 ;;
16644
16645 tpf*)
16646 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16647 version_type=linux # correct to gnu/linux during the next big refactor
16648 need_lib_prefix=no
16649 need_version=no
16650 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16651 shlibpath_var=LD_LIBRARY_PATH
16652 shlibpath_overrides_runpath=no
16653 hardcode_into_libs=yes
16654 ;;
16655
16656 uts4*)
16657 version_type=linux # correct to gnu/linux during the next big refactor
16658 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16659 soname_spec='$libname$release$shared_ext$major'
16660 shlibpath_var=LD_LIBRARY_PATH
16661 ;;
16662
16663 *)
16664 dynamic_linker=no
16665 ;;
16666 esac
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16668 $as_echo "$dynamic_linker" >&6; }
16669 test no = "$dynamic_linker" && can_build_shared=no
16670
16671 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16672 if test yes = "$GCC"; then
16673 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16674 fi
16675
16676 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16677 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16678 fi
16679
16680 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16681 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16682 fi
16683
16684 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16685 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16686
16687 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16688 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16689
16690 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16691 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16733 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16734 hardcode_action_CXX=
16735 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16736 test -n "$runpath_var_CXX" ||
16737 test yes = "$hardcode_automatic_CXX"; then
16738
16739 # We can hardcode non-existent directories.
16740 if test no != "$hardcode_direct_CXX" &&
16741 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16742 # have to relink, otherwise we might link with an installed library
16743 # when we should be linking with a yet-to-be-installed one
16744 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16745 test no != "$hardcode_minus_L_CXX"; then
16746 # Linking always hardcodes the temporary library directory.
16747 hardcode_action_CXX=relink
16748 else
16749 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16750 hardcode_action_CXX=immediate
16751 fi
16752 else
16753 # We cannot hardcode anything, or else we can only hardcode existing
16754 # directories.
16755 hardcode_action_CXX=unsupported
16756 fi
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16758 $as_echo "$hardcode_action_CXX" >&6; }
16759
16760 if test relink = "$hardcode_action_CXX" ||
16761 test yes = "$inherit_rpath_CXX"; then
16762 # Fast installation is not supported
16763 enable_fast_install=no
16764 elif test yes = "$shlibpath_overrides_runpath" ||
16765 test no = "$enable_shared"; then
16766 # Fast installation is not necessary
16767 enable_fast_install=needless
16768 fi
16769
16770
16771
16772
16773
16774
16775
16776 fi # test -n "$compiler"
16777
16778 CC=$lt_save_CC
16779 CFLAGS=$lt_save_CFLAGS
16780 LDCXX=$LD
16781 LD=$lt_save_LD
16782 GCC=$lt_save_GCC
16783 with_gnu_ld=$lt_save_with_gnu_ld
16784 lt_cv_path_LDCXX=$lt_cv_path_LD
16785 lt_cv_path_LD=$lt_save_path_LD
16786 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16787 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16788 fi # test yes != "$_lt_caught_CXX_error"
16789
16790 ac_ext=c
16791 ac_cpp='$CPP $CPPFLAGS'
16792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810 ac_config_commands="$ac_config_commands libtool"
16811
16812
16813
16814
16815 # Only expand once:
16816
16817
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16819 $as_echo_n "checking for ANSI C header files... " >&6; }
16820 if ${ac_cv_header_stdc+:} false; then :
16821 $as_echo_n "(cached) " >&6
16822 else
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16825 #include <stdlib.h>
16826 #include <stdarg.h>
16827 #include <string.h>
16828 #include <float.h>
16829
16830 int
16831 main ()
16832 {
16833
16834 ;
16835 return 0;
16836 }
16837 _ACEOF
16838 if ac_fn_c_try_compile "$LINENO"; then :
16839 ac_cv_header_stdc=yes
16840 else
16841 ac_cv_header_stdc=no
16842 fi
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16844
16845 if test $ac_cv_header_stdc = yes; then
16846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16849 #include <string.h>
16850
16851 _ACEOF
16852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16853 $EGREP "memchr" >/dev/null 2>&1; then :
16854
16855 else
16856 ac_cv_header_stdc=no
16857 fi
16858 rm -f conftest*
16859
16860 fi
16861
16862 if test $ac_cv_header_stdc = yes; then
16863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16866 #include <stdlib.h>
16867
16868 _ACEOF
16869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16870 $EGREP "free" >/dev/null 2>&1; then :
16871
16872 else
16873 ac_cv_header_stdc=no
16874 fi
16875 rm -f conftest*
16876
16877 fi
16878
16879 if test $ac_cv_header_stdc = yes; then
16880 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16881 if test "$cross_compiling" = yes; then :
16882 :
16883 else
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 #include <ctype.h>
16887 #include <stdlib.h>
16888 #if ((' ' & 0x0FF) == 0x020)
16889 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16890 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16891 #else
16892 # define ISLOWER(c) \
16893 (('a' <= (c) && (c) <= 'i') \
16894 || ('j' <= (c) && (c) <= 'r') \
16895 || ('s' <= (c) && (c) <= 'z'))
16896 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16897 #endif
16898
16899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16900 int
16901 main ()
16902 {
16903 int i;
16904 for (i = 0; i < 256; i++)
16905 if (XOR (islower (i), ISLOWER (i))
16906 || toupper (i) != TOUPPER (i))
16907 return 2;
16908 return 0;
16909 }
16910 _ACEOF
16911 if ac_fn_c_try_run "$LINENO"; then :
16912
16913 else
16914 ac_cv_header_stdc=no
16915 fi
16916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16917 conftest.$ac_objext conftest.beam conftest.$ac_ext
16918 fi
16919
16920 fi
16921 fi
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16923 $as_echo "$ac_cv_header_stdc" >&6; }
16924 if test $ac_cv_header_stdc = yes; then
16925
16926 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
16927
16928 fi
16929
16930 for ac_header in stdlib.h sys/time.h unistd.h
16931 do :
16932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16933 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16934 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16935 cat >>confdefs.h <<_ACEOF
16936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16937 _ACEOF
16938
16939 fi
16940
16941 done
16942
16943
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16945 $as_echo_n "checking whether NLS is requested... " >&6; }
16946 # Check whether --enable-nls was given.
16947 if test "${enable_nls+set}" = set; then :
16948 enableval=$enable_nls; USE_NLS=$enableval
16949 else
16950 USE_NLS=yes
16951 fi
16952
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16954 $as_echo "$USE_NLS" >&6; }
16955
16956
16957
16958
16959 case "$am__api_version" in
16960 1.01234)
16961 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
16962 ;;
16963 *)
16964 ;;
16965 esac
16966
16967 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
16968 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
16969 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
16970 if test -n "0.35.0"; then
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
16972 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
16974 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
16975 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
16976 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
16977 fi
16978
16979 # Extract the first word of "intltool-update", so it can be a program name with args.
16980 set dummy intltool-update; ac_word=$2
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16982 $as_echo_n "checking for $ac_word... " >&6; }
16983 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 case $INTLTOOL_UPDATE in
16987 [\\/]* | ?:[\\/]*)
16988 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
16989 ;;
16990 *)
16991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16992 for as_dir in $PATH
16993 do
16994 IFS=$as_save_IFS
16995 test -z "$as_dir" && as_dir=.
16996 for ac_exec_ext in '' $ac_executable_extensions; do
16997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16998 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
16999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17000 break 2
17001 fi
17002 done
17003 done
17004 IFS=$as_save_IFS
17005
17006 ;;
17007 esac
17008 fi
17009 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
17010 if test -n "$INTLTOOL_UPDATE"; then
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
17012 $as_echo "$INTLTOOL_UPDATE" >&6; }
17013 else
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17015 $as_echo "no" >&6; }
17016 fi
17017
17018
17019 # Extract the first word of "intltool-merge", so it can be a program name with args.
17020 set dummy intltool-merge; ac_word=$2
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17022 $as_echo_n "checking for $ac_word... " >&6; }
17023 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 case $INTLTOOL_MERGE in
17027 [\\/]* | ?:[\\/]*)
17028 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
17029 ;;
17030 *)
17031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17032 for as_dir in $PATH
17033 do
17034 IFS=$as_save_IFS
17035 test -z "$as_dir" && as_dir=.
17036 for ac_exec_ext in '' $ac_executable_extensions; do
17037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17038 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
17039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17040 break 2
17041 fi
17042 done
17043 done
17044 IFS=$as_save_IFS
17045
17046 ;;
17047 esac
17048 fi
17049 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
17050 if test -n "$INTLTOOL_MERGE"; then
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
17052 $as_echo "$INTLTOOL_MERGE" >&6; }
17053 else
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17055 $as_echo "no" >&6; }
17056 fi
17057
17058
17059 # Extract the first word of "intltool-extract", so it can be a program name with args.
17060 set dummy intltool-extract; ac_word=$2
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17062 $as_echo_n "checking for $ac_word... " >&6; }
17063 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
17064 $as_echo_n "(cached) " >&6
17065 else
17066 case $INTLTOOL_EXTRACT in
17067 [\\/]* | ?:[\\/]*)
17068 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
17069 ;;
17070 *)
17071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17072 for as_dir in $PATH
17073 do
17074 IFS=$as_save_IFS
17075 test -z "$as_dir" && as_dir=.
17076 for ac_exec_ext in '' $ac_executable_extensions; do
17077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17078 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
17079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17080 break 2
17081 fi
17082 done
17083 done
17084 IFS=$as_save_IFS
17085
17086 ;;
17087 esac
17088 fi
17089 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
17090 if test -n "$INTLTOOL_EXTRACT"; then
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
17092 $as_echo "$INTLTOOL_EXTRACT" >&6; }
17093 else
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17095 $as_echo "no" >&6; }
17096 fi
17097
17098
17099 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
17100 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
17101 fi
17102
17103 if test -z "$AM_DEFAULT_VERBOSITY"; then
17104 AM_DEFAULT_VERBOSITY=1
17105 fi
17106
17107
17108 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
17109 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
17110 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
17111
17112
17113
17114
17115 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
17116 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
17117 intltool__v_merge_options_0='-q'
17118
17119
17120
17121
17122 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17123 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17124 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17125 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17126 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
17127 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17128 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17129 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17130 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17131 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17132 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17133 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
17134 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
17135 else
17136 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
17137 fi
17138 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17139 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17140 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17141 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17142 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17143 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17144 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242 # Check the gettext tools to make sure they are GNU
17243 # Extract the first word of "xgettext", so it can be a program name with args.
17244 set dummy xgettext; ac_word=$2
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17246 $as_echo_n "checking for $ac_word... " >&6; }
17247 if ${ac_cv_path_XGETTEXT+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 case $XGETTEXT in
17251 [\\/]* | ?:[\\/]*)
17252 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17253 ;;
17254 *)
17255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17256 for as_dir in $PATH
17257 do
17258 IFS=$as_save_IFS
17259 test -z "$as_dir" && as_dir=.
17260 for ac_exec_ext in '' $ac_executable_extensions; do
17261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17262 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
17263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17264 break 2
17265 fi
17266 done
17267 done
17268 IFS=$as_save_IFS
17269
17270 ;;
17271 esac
17272 fi
17273 XGETTEXT=$ac_cv_path_XGETTEXT
17274 if test -n "$XGETTEXT"; then
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17276 $as_echo "$XGETTEXT" >&6; }
17277 else
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17279 $as_echo "no" >&6; }
17280 fi
17281
17282
17283 # Extract the first word of "msgmerge", so it can be a program name with args.
17284 set dummy msgmerge; ac_word=$2
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17286 $as_echo_n "checking for $ac_word... " >&6; }
17287 if ${ac_cv_path_MSGMERGE+:} false; then :
17288 $as_echo_n "(cached) " >&6
17289 else
17290 case $MSGMERGE in
17291 [\\/]* | ?:[\\/]*)
17292 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17293 ;;
17294 *)
17295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17296 for as_dir in $PATH
17297 do
17298 IFS=$as_save_IFS
17299 test -z "$as_dir" && as_dir=.
17300 for ac_exec_ext in '' $ac_executable_extensions; do
17301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17302 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
17303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17304 break 2
17305 fi
17306 done
17307 done
17308 IFS=$as_save_IFS
17309
17310 ;;
17311 esac
17312 fi
17313 MSGMERGE=$ac_cv_path_MSGMERGE
17314 if test -n "$MSGMERGE"; then
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17316 $as_echo "$MSGMERGE" >&6; }
17317 else
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17319 $as_echo "no" >&6; }
17320 fi
17321
17322
17323 # Extract the first word of "msgfmt", so it can be a program name with args.
17324 set dummy msgfmt; ac_word=$2
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17326 $as_echo_n "checking for $ac_word... " >&6; }
17327 if ${ac_cv_path_MSGFMT+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 case $MSGFMT in
17331 [\\/]* | ?:[\\/]*)
17332 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17333 ;;
17334 *)
17335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17336 for as_dir in $PATH
17337 do
17338 IFS=$as_save_IFS
17339 test -z "$as_dir" && as_dir=.
17340 for ac_exec_ext in '' $ac_executable_extensions; do
17341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17342 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
17343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17344 break 2
17345 fi
17346 done
17347 done
17348 IFS=$as_save_IFS
17349
17350 ;;
17351 esac
17352 fi
17353 MSGFMT=$ac_cv_path_MSGFMT
17354 if test -n "$MSGFMT"; then
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17356 $as_echo "$MSGFMT" >&6; }
17357 else
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17359 $as_echo "no" >&6; }
17360 fi
17361
17362
17363 # Extract the first word of "gmsgfmt", so it can be a program name with args.
17364 set dummy gmsgfmt; ac_word=$2
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17366 $as_echo_n "checking for $ac_word... " >&6; }
17367 if ${ac_cv_path_GMSGFMT+:} false; then :
17368 $as_echo_n "(cached) " >&6
17369 else
17370 case $GMSGFMT in
17371 [\\/]* | ?:[\\/]*)
17372 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17373 ;;
17374 *)
17375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17376 for as_dir in $PATH
17377 do
17378 IFS=$as_save_IFS
17379 test -z "$as_dir" && as_dir=.
17380 for ac_exec_ext in '' $ac_executable_extensions; do
17381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17382 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17384 break 2
17385 fi
17386 done
17387 done
17388 IFS=$as_save_IFS
17389
17390 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17391 ;;
17392 esac
17393 fi
17394 GMSGFMT=$ac_cv_path_GMSGFMT
17395 if test -n "$GMSGFMT"; then
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17397 $as_echo "$GMSGFMT" >&6; }
17398 else
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17400 $as_echo "no" >&6; }
17401 fi
17402
17403
17404 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
17405 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
17406 fi
17407 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
17408 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
17409 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
17410 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
17411 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
17412 fi
17413
17414 # Extract the first word of "perl", so it can be a program name with args.
17415 set dummy perl; ac_word=$2
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17417 $as_echo_n "checking for $ac_word... " >&6; }
17418 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17421 case $INTLTOOL_PERL in
17422 [\\/]* | ?:[\\/]*)
17423 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
17424 ;;
17425 *)
17426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17427 for as_dir in $PATH
17428 do
17429 IFS=$as_save_IFS
17430 test -z "$as_dir" && as_dir=.
17431 for ac_exec_ext in '' $ac_executable_extensions; do
17432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17433 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
17434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17435 break 2
17436 fi
17437 done
17438 done
17439 IFS=$as_save_IFS
17440
17441 ;;
17442 esac
17443 fi
17444 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
17445 if test -n "$INTLTOOL_PERL"; then
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
17447 $as_echo "$INTLTOOL_PERL" >&6; }
17448 else
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17450 $as_echo "no" >&6; }
17451 fi
17452
17453
17454 if test -z "$INTLTOOL_PERL"; then
17455 as_fn_error $? "perl not found" "$LINENO" 5
17456 fi
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
17458 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
17459 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
17460 if test $? -ne 0; then
17461 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
17462 else
17463 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
17465 $as_echo "$IT_PERL_VERSION" >&6; }
17466 fi
17467 if test "x" != "xno-xml"; then
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
17469 $as_echo_n "checking for XML::Parser... " >&6; }
17470 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17472 $as_echo "ok" >&6; }
17473 else
17474 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
17475 fi
17476 fi
17477
17478 # Substitute ALL_LINGUAS so we can use it in po/Makefile
17479
17480
17481
17482
17483
17484
17485
17486
17487 GETTEXT_MACRO_VERSION=0.19
17488
17489
17490
17491
17492 # Prepare PATH_SEPARATOR.
17493 # The user is always right.
17494 if test "${PATH_SEPARATOR+set}" != set; then
17495 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
17496 # contains only /bin. Note that ksh looks also at the FPATH variable,
17497 # so we have to set that as well for the test.
17498 PATH_SEPARATOR=:
17499 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17500 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17501 || PATH_SEPARATOR=';'
17502 }
17503 fi
17504
17505 # Find out how to test for executable files. Don't use a zero-byte file,
17506 # as systems may use methods other than mode bits to determine executability.
17507 cat >conf$$.file <<_ASEOF
17508 #! /bin/sh
17509 exit 0
17510 _ASEOF
17511 chmod +x conf$$.file
17512 if test -x conf$$.file >/dev/null 2>&1; then
17513 ac_executable_p="test -x"
17514 else
17515 ac_executable_p="test -f"
17516 fi
17517 rm -f conf$$.file
17518
17519 # Extract the first word of "msgfmt", so it can be a program name with args.
17520 set dummy msgfmt; ac_word=$2
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17522 $as_echo_n "checking for $ac_word... " >&6; }
17523 if ${ac_cv_path_MSGFMT+:} false; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17526 case "$MSGFMT" in
17527 [\\/]* | ?:[\\/]*)
17528 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17529 ;;
17530 *)
17531 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17532 for ac_dir in $PATH; do
17533 IFS="$ac_save_IFS"
17534 test -z "$ac_dir" && ac_dir=.
17535 for ac_exec_ext in '' $ac_executable_extensions; do
17536 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17537 echo "$as_me: trying $ac_dir/$ac_word..." >&5
17538 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
17539 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17540 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
17541 break 2
17542 fi
17543 fi
17544 done
17545 done
17546 IFS="$ac_save_IFS"
17547 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
17548 ;;
17549 esac
17550 fi
17551 MSGFMT="$ac_cv_path_MSGFMT"
17552 if test "$MSGFMT" != ":"; then
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17554 $as_echo "$MSGFMT" >&6; }
17555 else
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17557 $as_echo "no" >&6; }
17558 fi
17559
17560 # Extract the first word of "gmsgfmt", so it can be a program name with args.
17561 set dummy gmsgfmt; ac_word=$2
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17563 $as_echo_n "checking for $ac_word... " >&6; }
17564 if ${ac_cv_path_GMSGFMT+:} false; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567 case $GMSGFMT in
17568 [\\/]* | ?:[\\/]*)
17569 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17570 ;;
17571 *)
17572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17573 for as_dir in $PATH
17574 do
17575 IFS=$as_save_IFS
17576 test -z "$as_dir" && as_dir=.
17577 for ac_exec_ext in '' $ac_executable_extensions; do
17578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17579 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17581 break 2
17582 fi
17583 done
17584 done
17585 IFS=$as_save_IFS
17586
17587 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17588 ;;
17589 esac
17590 fi
17591 GMSGFMT=$ac_cv_path_GMSGFMT
17592 if test -n "$GMSGFMT"; then
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17594 $as_echo "$GMSGFMT" >&6; }
17595 else
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17597 $as_echo "no" >&6; }
17598 fi
17599
17600
17601
17602 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17603 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
17604 *) MSGFMT_015=$MSGFMT ;;
17605 esac
17606
17607 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17608 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
17609 *) GMSGFMT_015=$GMSGFMT ;;
17610 esac
17611
17612
17613
17614 # Prepare PATH_SEPARATOR.
17615 # The user is always right.
17616 if test "${PATH_SEPARATOR+set}" != set; then
17617 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
17618 # contains only /bin. Note that ksh looks also at the FPATH variable,
17619 # so we have to set that as well for the test.
17620 PATH_SEPARATOR=:
17621 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17622 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17623 || PATH_SEPARATOR=';'
17624 }
17625 fi
17626
17627 # Find out how to test for executable files. Don't use a zero-byte file,
17628 # as systems may use methods other than mode bits to determine executability.
17629 cat >conf$$.file <<_ASEOF
17630 #! /bin/sh
17631 exit 0
17632 _ASEOF
17633 chmod +x conf$$.file
17634 if test -x conf$$.file >/dev/null 2>&1; then
17635 ac_executable_p="test -x"
17636 else
17637 ac_executable_p="test -f"
17638 fi
17639 rm -f conf$$.file
17640
17641 # Extract the first word of "xgettext", so it can be a program name with args.
17642 set dummy xgettext; ac_word=$2
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17644 $as_echo_n "checking for $ac_word... " >&6; }
17645 if ${ac_cv_path_XGETTEXT+:} false; then :
17646 $as_echo_n "(cached) " >&6
17647 else
17648 case "$XGETTEXT" in
17649 [\\/]* | ?:[\\/]*)
17650 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17651 ;;
17652 *)
17653 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17654 for ac_dir in $PATH; do
17655 IFS="$ac_save_IFS"
17656 test -z "$ac_dir" && ac_dir=.
17657 for ac_exec_ext in '' $ac_executable_extensions; do
17658 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17659 echo "$as_me: trying $ac_dir/$ac_word..." >&5
17660 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
17661 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17662 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
17663 break 2
17664 fi
17665 fi
17666 done
17667 done
17668 IFS="$ac_save_IFS"
17669 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17670 ;;
17671 esac
17672 fi
17673 XGETTEXT="$ac_cv_path_XGETTEXT"
17674 if test "$XGETTEXT" != ":"; then
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17676 $as_echo "$XGETTEXT" >&6; }
17677 else
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17679 $as_echo "no" >&6; }
17680 fi
17681
17682 rm -f messages.po
17683
17684 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17685 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
17686 *) XGETTEXT_015=$XGETTEXT ;;
17687 esac
17688
17689
17690
17691 # Prepare PATH_SEPARATOR.
17692 # The user is always right.
17693 if test "${PATH_SEPARATOR+set}" != set; then
17694 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
17695 # contains only /bin. Note that ksh looks also at the FPATH variable,
17696 # so we have to set that as well for the test.
17697 PATH_SEPARATOR=:
17698 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17699 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17700 || PATH_SEPARATOR=';'
17701 }
17702 fi
17703
17704 # Find out how to test for executable files. Don't use a zero-byte file,
17705 # as systems may use methods other than mode bits to determine executability.
17706 cat >conf$$.file <<_ASEOF
17707 #! /bin/sh
17708 exit 0
17709 _ASEOF
17710 chmod +x conf$$.file
17711 if test -x conf$$.file >/dev/null 2>&1; then
17712 ac_executable_p="test -x"
17713 else
17714 ac_executable_p="test -f"
17715 fi
17716 rm -f conf$$.file
17717
17718 # Extract the first word of "msgmerge", so it can be a program name with args.
17719 set dummy msgmerge; ac_word=$2
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17721 $as_echo_n "checking for $ac_word... " >&6; }
17722 if ${ac_cv_path_MSGMERGE+:} false; then :
17723 $as_echo_n "(cached) " >&6
17724 else
17725 case "$MSGMERGE" in
17726 [\\/]* | ?:[\\/]*)
17727 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17728 ;;
17729 *)
17730 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17731 for ac_dir in $PATH; do
17732 IFS="$ac_save_IFS"
17733 test -z "$ac_dir" && ac_dir=.
17734 for ac_exec_ext in '' $ac_executable_extensions; do
17735 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17736 echo "$as_me: trying $ac_dir/$ac_word..." >&5
17737 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
17738 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
17739 break 2
17740 fi
17741 fi
17742 done
17743 done
17744 IFS="$ac_save_IFS"
17745 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
17746 ;;
17747 esac
17748 fi
17749 MSGMERGE="$ac_cv_path_MSGMERGE"
17750 if test "$MSGMERGE" != ":"; then
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17752 $as_echo "$MSGMERGE" >&6; }
17753 else
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17755 $as_echo "no" >&6; }
17756 fi
17757
17758
17759 test -n "$localedir" || localedir='${datadir}/locale'
17760
17761
17762 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
17763
17764
17765 ac_config_commands="$ac_config_commands po-directories"
17766
17767
17768
17769 if test "X$prefix" = "XNONE"; then
17770 acl_final_prefix="$ac_default_prefix"
17771 else
17772 acl_final_prefix="$prefix"
17773 fi
17774 if test "X$exec_prefix" = "XNONE"; then
17775 acl_final_exec_prefix='${prefix}'
17776 else
17777 acl_final_exec_prefix="$exec_prefix"
17778 fi
17779 acl_save_prefix="$prefix"
17780 prefix="$acl_final_prefix"
17781 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17782 prefix="$acl_save_prefix"
17783
17784
17785
17786 # Check whether --with-gnu-ld was given.
17787 if test "${with_gnu_ld+set}" = set; then :
17788 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17789 else
17790 with_gnu_ld=no
17791 fi
17792
17793 # Prepare PATH_SEPARATOR.
17794 # The user is always right.
17795 if test "${PATH_SEPARATOR+set}" != set; then
17796 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
17797 # contains only /bin. Note that ksh looks also at the FPATH variable,
17798 # so we have to set that as well for the test.
17799 PATH_SEPARATOR=:
17800 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17801 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
17802 || PATH_SEPARATOR=';'
17803 }
17804 fi
17805
17806 ac_prog=ld
17807 if test "$GCC" = yes; then
17808 # Check if gcc -print-prog-name=ld gives a path.
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17810 $as_echo_n "checking for ld used by $CC... " >&6; }
17811 case $host in
17812 *-*-mingw*)
17813 # gcc leaves a trailing carriage return which upsets mingw
17814 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17815 *)
17816 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17817 esac
17818 case $ac_prog in
17819 # Accept absolute paths.
17820 [\\/]* | ?:[\\/]*)
17821 re_direlt='/[^/][^/]*/\.\./'
17822 # Canonicalize the pathname of ld
17823 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
17824 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
17825 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17826 done
17827 test -z "$LD" && LD="$ac_prog"
17828 ;;
17829 "")
17830 # If it fails, then pretend we aren't using GCC.
17831 ac_prog=ld
17832 ;;
17833 *)
17834 # If it is relative, then search for the first ld in PATH.
17835 with_gnu_ld=unknown
17836 ;;
17837 esac
17838 elif test "$with_gnu_ld" = yes; then
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17840 $as_echo_n "checking for GNU ld... " >&6; }
17841 else
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17843 $as_echo_n "checking for non-GNU ld... " >&6; }
17844 fi
17845 if ${acl_cv_path_LD+:} false; then :
17846 $as_echo_n "(cached) " >&6
17847 else
17848 if test -z "$LD"; then
17849 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17850 for ac_dir in $PATH; do
17851 IFS="$acl_save_ifs"
17852 test -z "$ac_dir" && ac_dir=.
17853 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17854 acl_cv_path_LD="$ac_dir/$ac_prog"
17855 # Check to see if the program is GNU ld. I'd rather use --version,
17856 # but apparently some variants of GNU ld only accept -v.
17857 # Break only if it was the GNU/non-GNU ld that we prefer.
17858 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
17859 *GNU* | *'with BFD'*)
17860 test "$with_gnu_ld" != no && break
17861 ;;
17862 *)
17863 test "$with_gnu_ld" != yes && break
17864 ;;
17865 esac
17866 fi
17867 done
17868 IFS="$acl_save_ifs"
17869 else
17870 acl_cv_path_LD="$LD" # Let the user override the test with a path.
17871 fi
17872 fi
17873
17874 LD="$acl_cv_path_LD"
17875 if test -n "$LD"; then
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17877 $as_echo "$LD" >&6; }
17878 else
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17880 $as_echo "no" >&6; }
17881 fi
17882 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17884 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17885 if ${acl_cv_prog_gnu_ld+:} false; then :
17886 $as_echo_n "(cached) " >&6
17887 else
17888 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17889 case `$LD -v 2>&1 </dev/null` in
17890 *GNU* | *'with BFD'*)
17891 acl_cv_prog_gnu_ld=yes
17892 ;;
17893 *)
17894 acl_cv_prog_gnu_ld=no
17895 ;;
17896 esac
17897 fi
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17899 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17900 with_gnu_ld=$acl_cv_prog_gnu_ld
17901
17902
17903
17904
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17906 $as_echo_n "checking for shared library run path origin... " >&6; }
17907 if ${acl_cv_rpath+:} false; then :
17908 $as_echo_n "(cached) " >&6
17909 else
17910
17911 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17912 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17913 . ./conftest.sh
17914 rm -f ./conftest.sh
17915 acl_cv_rpath=done
17916
17917 fi
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17919 $as_echo "$acl_cv_rpath" >&6; }
17920 wl="$acl_cv_wl"
17921 acl_libext="$acl_cv_libext"
17922 acl_shlibext="$acl_cv_shlibext"
17923 acl_libname_spec="$acl_cv_libname_spec"
17924 acl_library_names_spec="$acl_cv_library_names_spec"
17925 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17926 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17927 acl_hardcode_direct="$acl_cv_hardcode_direct"
17928 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17929 # Check whether --enable-rpath was given.
17930 if test "${enable_rpath+set}" = set; then :
17931 enableval=$enable_rpath; :
17932 else
17933 enable_rpath=yes
17934 fi
17935
17936
17937
17938
17939 acl_libdirstem=lib
17940 acl_libdirstem2=
17941 case "$host_os" in
17942 solaris*)
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
17944 $as_echo_n "checking for 64-bit host... " >&6; }
17945 if ${gl_cv_solaris_64bit+:} false; then :
17946 $as_echo_n "(cached) " >&6
17947 else
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17950
17951 #ifdef _LP64
17952 sixtyfour bits
17953 #endif
17954
17955 _ACEOF
17956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17957 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
17958 gl_cv_solaris_64bit=yes
17959 else
17960 gl_cv_solaris_64bit=no
17961 fi
17962 rm -f conftest*
17963
17964
17965 fi
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
17967 $as_echo "$gl_cv_solaris_64bit" >&6; }
17968 if test $gl_cv_solaris_64bit = yes; then
17969 acl_libdirstem=lib/64
17970 case "$host_cpu" in
17971 sparc*) acl_libdirstem2=lib/sparcv9 ;;
17972 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17973 esac
17974 fi
17975 ;;
17976 *)
17977 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17978 if test -n "$searchpath"; then
17979 acl_save_IFS="${IFS= }"; IFS=":"
17980 for searchdir in $searchpath; do
17981 if test -d "$searchdir"; then
17982 case "$searchdir" in
17983 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17984 */../ | */.. )
17985 # Better ignore directories of this form. They are misleading.
17986 ;;
17987 *) searchdir=`cd "$searchdir" && pwd`
17988 case "$searchdir" in
17989 */lib64 ) acl_libdirstem=lib64 ;;
17990 esac ;;
17991 esac
17992 fi
17993 done
17994 IFS="$acl_save_IFS"
17995 fi
17996 ;;
17997 esac
17998 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011 use_additional=yes
18012
18013 acl_save_prefix="$prefix"
18014 prefix="$acl_final_prefix"
18015 acl_save_exec_prefix="$exec_prefix"
18016 exec_prefix="$acl_final_exec_prefix"
18017
18018 eval additional_includedir=\"$includedir\"
18019 eval additional_libdir=\"$libdir\"
18020
18021 exec_prefix="$acl_save_exec_prefix"
18022 prefix="$acl_save_prefix"
18023
18024
18025 # Check whether --with-libiconv-prefix was given.
18026 if test "${with_libiconv_prefix+set}" = set; then :
18027 withval=$with_libiconv_prefix;
18028 if test "X$withval" = "Xno"; then
18029 use_additional=no
18030 else
18031 if test "X$withval" = "X"; then
18032
18033 acl_save_prefix="$prefix"
18034 prefix="$acl_final_prefix"
18035 acl_save_exec_prefix="$exec_prefix"
18036 exec_prefix="$acl_final_exec_prefix"
18037
18038 eval additional_includedir=\"$includedir\"
18039 eval additional_libdir=\"$libdir\"
18040
18041 exec_prefix="$acl_save_exec_prefix"
18042 prefix="$acl_save_prefix"
18043
18044 else
18045 additional_includedir="$withval/include"
18046 additional_libdir="$withval/$acl_libdirstem"
18047 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18048 && ! test -d "$withval/$acl_libdirstem"; then
18049 additional_libdir="$withval/$acl_libdirstem2"
18050 fi
18051 fi
18052 fi
18053
18054 fi
18055
18056 LIBICONV=
18057 LTLIBICONV=
18058 INCICONV=
18059 LIBICONV_PREFIX=
18060 HAVE_LIBICONV=
18061 rpathdirs=
18062 ltrpathdirs=
18063 names_already_handled=
18064 names_next_round='iconv '
18065 while test -n "$names_next_round"; do
18066 names_this_round="$names_next_round"
18067 names_next_round=
18068 for name in $names_this_round; do
18069 already_handled=
18070 for n in $names_already_handled; do
18071 if test "$n" = "$name"; then
18072 already_handled=yes
18073 break
18074 fi
18075 done
18076 if test -z "$already_handled"; then
18077 names_already_handled="$names_already_handled $name"
18078 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
18079 eval value=\"\$HAVE_LIB$uppername\"
18080 if test -n "$value"; then
18081 if test "$value" = yes; then
18082 eval value=\"\$LIB$uppername\"
18083 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18084 eval value=\"\$LTLIB$uppername\"
18085 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18086 else
18087 :
18088 fi
18089 else
18090 found_dir=
18091 found_la=
18092 found_so=
18093 found_a=
18094 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18095 if test -n "$acl_shlibext"; then
18096 shrext=".$acl_shlibext" # typically: shrext=.so
18097 else
18098 shrext=
18099 fi
18100 if test $use_additional = yes; then
18101 dir="$additional_libdir"
18102 if test -n "$acl_shlibext"; then
18103 if test -f "$dir/$libname$shrext"; then
18104 found_dir="$dir"
18105 found_so="$dir/$libname$shrext"
18106 else
18107 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18108 ver=`(cd "$dir" && \
18109 for f in "$libname$shrext".*; do echo "$f"; done \
18110 | sed -e "s,^$libname$shrext\\\\.,," \
18111 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18112 | sed 1q ) 2>/dev/null`
18113 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18114 found_dir="$dir"
18115 found_so="$dir/$libname$shrext.$ver"
18116 fi
18117 else
18118 eval library_names=\"$acl_library_names_spec\"
18119 for f in $library_names; do
18120 if test -f "$dir/$f"; then
18121 found_dir="$dir"
18122 found_so="$dir/$f"
18123 break
18124 fi
18125 done
18126 fi
18127 fi
18128 fi
18129 if test "X$found_dir" = "X"; then
18130 if test -f "$dir/$libname.$acl_libext"; then
18131 found_dir="$dir"
18132 found_a="$dir/$libname.$acl_libext"
18133 fi
18134 fi
18135 if test "X$found_dir" != "X"; then
18136 if test -f "$dir/$libname.la"; then
18137 found_la="$dir/$libname.la"
18138 fi
18139 fi
18140 fi
18141 if test "X$found_dir" = "X"; then
18142 for x in $LDFLAGS $LTLIBICONV; do
18143
18144 acl_save_prefix="$prefix"
18145 prefix="$acl_final_prefix"
18146 acl_save_exec_prefix="$exec_prefix"
18147 exec_prefix="$acl_final_exec_prefix"
18148 eval x=\"$x\"
18149 exec_prefix="$acl_save_exec_prefix"
18150 prefix="$acl_save_prefix"
18151
18152 case "$x" in
18153 -L*)
18154 dir=`echo "X$x" | sed -e 's/^X-L//'`
18155 if test -n "$acl_shlibext"; then
18156 if test -f "$dir/$libname$shrext"; then
18157 found_dir="$dir"
18158 found_so="$dir/$libname$shrext"
18159 else
18160 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18161 ver=`(cd "$dir" && \
18162 for f in "$libname$shrext".*; do echo "$f"; done \
18163 | sed -e "s,^$libname$shrext\\\\.,," \
18164 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18165 | sed 1q ) 2>/dev/null`
18166 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18167 found_dir="$dir"
18168 found_so="$dir/$libname$shrext.$ver"
18169 fi
18170 else
18171 eval library_names=\"$acl_library_names_spec\"
18172 for f in $library_names; do
18173 if test -f "$dir/$f"; then
18174 found_dir="$dir"
18175 found_so="$dir/$f"
18176 break
18177 fi
18178 done
18179 fi
18180 fi
18181 fi
18182 if test "X$found_dir" = "X"; then
18183 if test -f "$dir/$libname.$acl_libext"; then
18184 found_dir="$dir"
18185 found_a="$dir/$libname.$acl_libext"
18186 fi
18187 fi
18188 if test "X$found_dir" != "X"; then
18189 if test -f "$dir/$libname.la"; then
18190 found_la="$dir/$libname.la"
18191 fi
18192 fi
18193 ;;
18194 esac
18195 if test "X$found_dir" != "X"; then
18196 break
18197 fi
18198 done
18199 fi
18200 if test "X$found_dir" != "X"; then
18201 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18202 if test "X$found_so" != "X"; then
18203 if test "$enable_rpath" = no \
18204 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18205 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18206 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18207 else
18208 haveit=
18209 for x in $ltrpathdirs; do
18210 if test "X$x" = "X$found_dir"; then
18211 haveit=yes
18212 break
18213 fi
18214 done
18215 if test -z "$haveit"; then
18216 ltrpathdirs="$ltrpathdirs $found_dir"
18217 fi
18218 if test "$acl_hardcode_direct" = yes; then
18219 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18220 else
18221 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18222 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18223 haveit=
18224 for x in $rpathdirs; do
18225 if test "X$x" = "X$found_dir"; then
18226 haveit=yes
18227 break
18228 fi
18229 done
18230 if test -z "$haveit"; then
18231 rpathdirs="$rpathdirs $found_dir"
18232 fi
18233 else
18234 haveit=
18235 for x in $LDFLAGS $LIBICONV; do
18236
18237 acl_save_prefix="$prefix"
18238 prefix="$acl_final_prefix"
18239 acl_save_exec_prefix="$exec_prefix"
18240 exec_prefix="$acl_final_exec_prefix"
18241 eval x=\"$x\"
18242 exec_prefix="$acl_save_exec_prefix"
18243 prefix="$acl_save_prefix"
18244
18245 if test "X$x" = "X-L$found_dir"; then
18246 haveit=yes
18247 break
18248 fi
18249 done
18250 if test -z "$haveit"; then
18251 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18252 fi
18253 if test "$acl_hardcode_minus_L" != no; then
18254 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18255 else
18256 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18257 fi
18258 fi
18259 fi
18260 fi
18261 else
18262 if test "X$found_a" != "X"; then
18263 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18264 else
18265 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18266 fi
18267 fi
18268 additional_includedir=
18269 case "$found_dir" in
18270 */$acl_libdirstem | */$acl_libdirstem/)
18271 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18272 if test "$name" = 'iconv'; then
18273 LIBICONV_PREFIX="$basedir"
18274 fi
18275 additional_includedir="$basedir/include"
18276 ;;
18277 */$acl_libdirstem2 | */$acl_libdirstem2/)
18278 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18279 if test "$name" = 'iconv'; then
18280 LIBICONV_PREFIX="$basedir"
18281 fi
18282 additional_includedir="$basedir/include"
18283 ;;
18284 esac
18285 if test "X$additional_includedir" != "X"; then
18286 if test "X$additional_includedir" != "X/usr/include"; then
18287 haveit=
18288 if test "X$additional_includedir" = "X/usr/local/include"; then
18289 if test -n "$GCC"; then
18290 case $host_os in
18291 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18292 esac
18293 fi
18294 fi
18295 if test -z "$haveit"; then
18296 for x in $CPPFLAGS $INCICONV; do
18297
18298 acl_save_prefix="$prefix"
18299 prefix="$acl_final_prefix"
18300 acl_save_exec_prefix="$exec_prefix"
18301 exec_prefix="$acl_final_exec_prefix"
18302 eval x=\"$x\"
18303 exec_prefix="$acl_save_exec_prefix"
18304 prefix="$acl_save_prefix"
18305
18306 if test "X$x" = "X-I$additional_includedir"; then
18307 haveit=yes
18308 break
18309 fi
18310 done
18311 if test -z "$haveit"; then
18312 if test -d "$additional_includedir"; then
18313 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18314 fi
18315 fi
18316 fi
18317 fi
18318 fi
18319 if test -n "$found_la"; then
18320 save_libdir="$libdir"
18321 case "$found_la" in
18322 */* | *\\*) . "$found_la" ;;
18323 *) . "./$found_la" ;;
18324 esac
18325 libdir="$save_libdir"
18326 for dep in $dependency_libs; do
18327 case "$dep" in
18328 -L*)
18329 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18330 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18331 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18332 haveit=
18333 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18334 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18335 if test -n "$GCC"; then
18336 case $host_os in
18337 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18338 esac
18339 fi
18340 fi
18341 if test -z "$haveit"; then
18342 haveit=
18343 for x in $LDFLAGS $LIBICONV; do
18344
18345 acl_save_prefix="$prefix"
18346 prefix="$acl_final_prefix"
18347 acl_save_exec_prefix="$exec_prefix"
18348 exec_prefix="$acl_final_exec_prefix"
18349 eval x=\"$x\"
18350 exec_prefix="$acl_save_exec_prefix"
18351 prefix="$acl_save_prefix"
18352
18353 if test "X$x" = "X-L$additional_libdir"; then
18354 haveit=yes
18355 break
18356 fi
18357 done
18358 if test -z "$haveit"; then
18359 if test -d "$additional_libdir"; then
18360 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18361 fi
18362 fi
18363 haveit=
18364 for x in $LDFLAGS $LTLIBICONV; do
18365
18366 acl_save_prefix="$prefix"
18367 prefix="$acl_final_prefix"
18368 acl_save_exec_prefix="$exec_prefix"
18369 exec_prefix="$acl_final_exec_prefix"
18370 eval x=\"$x\"
18371 exec_prefix="$acl_save_exec_prefix"
18372 prefix="$acl_save_prefix"
18373
18374 if test "X$x" = "X-L$additional_libdir"; then
18375 haveit=yes
18376 break
18377 fi
18378 done
18379 if test -z "$haveit"; then
18380 if test -d "$additional_libdir"; then
18381 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18382 fi
18383 fi
18384 fi
18385 fi
18386 ;;
18387 -R*)
18388 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18389 if test "$enable_rpath" != no; then
18390 haveit=
18391 for x in $rpathdirs; do
18392 if test "X$x" = "X$dir"; then
18393 haveit=yes
18394 break
18395 fi
18396 done
18397 if test -z "$haveit"; then
18398 rpathdirs="$rpathdirs $dir"
18399 fi
18400 haveit=
18401 for x in $ltrpathdirs; do
18402 if test "X$x" = "X$dir"; then
18403 haveit=yes
18404 break
18405 fi
18406 done
18407 if test -z "$haveit"; then
18408 ltrpathdirs="$ltrpathdirs $dir"
18409 fi
18410 fi
18411 ;;
18412 -l*)
18413 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18414 ;;
18415 *.la)
18416 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18417 ;;
18418 *)
18419 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18420 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18421 ;;
18422 esac
18423 done
18424 fi
18425 else
18426 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18427 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18428 fi
18429 fi
18430 fi
18431 done
18432 done
18433 if test "X$rpathdirs" != "X"; then
18434 if test -n "$acl_hardcode_libdir_separator"; then
18435 alldirs=
18436 for found_dir in $rpathdirs; do
18437 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18438 done
18439 acl_save_libdir="$libdir"
18440 libdir="$alldirs"
18441 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18442 libdir="$acl_save_libdir"
18443 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18444 else
18445 for found_dir in $rpathdirs; do
18446 acl_save_libdir="$libdir"
18447 libdir="$found_dir"
18448 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18449 libdir="$acl_save_libdir"
18450 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18451 done
18452 fi
18453 fi
18454 if test "X$ltrpathdirs" != "X"; then
18455 for found_dir in $ltrpathdirs; do
18456 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18457 done
18458 fi
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
18491 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
18492 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
18493 $as_echo_n "(cached) " >&6
18494 else
18495 gt_save_LIBS="$LIBS"
18496 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18499 #include <CoreFoundation/CFPreferences.h>
18500 int
18501 main ()
18502 {
18503 CFPreferencesCopyAppValue(NULL, NULL)
18504 ;
18505 return 0;
18506 }
18507 _ACEOF
18508 if ac_fn_c_try_link "$LINENO"; then :
18509 gt_cv_func_CFPreferencesCopyAppValue=yes
18510 else
18511 gt_cv_func_CFPreferencesCopyAppValue=no
18512 fi
18513 rm -f core conftest.err conftest.$ac_objext \
18514 conftest$ac_exeext conftest.$ac_ext
18515 LIBS="$gt_save_LIBS"
18516 fi
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
18518 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
18519 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
18520
18521 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
18522
18523 fi
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
18525 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
18526 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
18527 $as_echo_n "(cached) " >&6
18528 else
18529 gt_save_LIBS="$LIBS"
18530 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18532 /* end confdefs.h. */
18533 #include <CoreFoundation/CFLocale.h>
18534 int
18535 main ()
18536 {
18537 CFLocaleCopyCurrent();
18538 ;
18539 return 0;
18540 }
18541 _ACEOF
18542 if ac_fn_c_try_link "$LINENO"; then :
18543 gt_cv_func_CFLocaleCopyCurrent=yes
18544 else
18545 gt_cv_func_CFLocaleCopyCurrent=no
18546 fi
18547 rm -f core conftest.err conftest.$ac_objext \
18548 conftest$ac_exeext conftest.$ac_ext
18549 LIBS="$gt_save_LIBS"
18550 fi
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
18552 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
18553 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18554
18555 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
18556
18557 fi
18558 INTL_MACOSX_LIBS=
18559 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18560 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
18561 fi
18562
18563
18564
18565
18566
18567
18568 LIBINTL=
18569 LTLIBINTL=
18570 POSUB=
18571
18572 case " $gt_needs " in
18573 *" need-formatstring-macros "*) gt_api_version=3 ;;
18574 *" need-ngettext "*) gt_api_version=2 ;;
18575 *) gt_api_version=1 ;;
18576 esac
18577 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
18578 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
18579
18580 if test "$USE_NLS" = "yes"; then
18581 gt_use_preinstalled_gnugettext=no
18582
18583
18584 if test $gt_api_version -ge 3; then
18585 gt_revision_test_code='
18586 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
18587 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
18588 #endif
18589 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
18590 '
18591 else
18592 gt_revision_test_code=
18593 fi
18594 if test $gt_api_version -ge 2; then
18595 gt_expression_test_code=' + * ngettext ("", "", 0)'
18596 else
18597 gt_expression_test_code=
18598 fi
18599
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
18601 $as_echo_n "checking for GNU gettext in libc... " >&6; }
18602 if eval \${$gt_func_gnugettext_libc+:} false; then :
18603 $as_echo_n "(cached) " >&6
18604 else
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607
18608 #include <libintl.h>
18609 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
18610 extern int _nl_msg_cat_cntr;
18611 extern int *_nl_domain_bindings;
18612 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
18613 #else
18614 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
18615 #endif
18616 $gt_revision_test_code
18617
18618 int
18619 main ()
18620 {
18621
18622 bindtextdomain ("", "");
18623 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
18624
18625 ;
18626 return 0;
18627 }
18628 _ACEOF
18629 if ac_fn_c_try_link "$LINENO"; then :
18630 eval "$gt_func_gnugettext_libc=yes"
18631 else
18632 eval "$gt_func_gnugettext_libc=no"
18633 fi
18634 rm -f core conftest.err conftest.$ac_objext \
18635 conftest$ac_exeext conftest.$ac_ext
18636 fi
18637 eval ac_res=\$$gt_func_gnugettext_libc
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18639 $as_echo "$ac_res" >&6; }
18640
18641 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
18642
18643
18644
18645
18646
18647 am_save_CPPFLAGS="$CPPFLAGS"
18648
18649 for element in $INCICONV; do
18650 haveit=
18651 for x in $CPPFLAGS; do
18652
18653 acl_save_prefix="$prefix"
18654 prefix="$acl_final_prefix"
18655 acl_save_exec_prefix="$exec_prefix"
18656 exec_prefix="$acl_final_exec_prefix"
18657 eval x=\"$x\"
18658 exec_prefix="$acl_save_exec_prefix"
18659 prefix="$acl_save_prefix"
18660
18661 if test "X$x" = "X$element"; then
18662 haveit=yes
18663 break
18664 fi
18665 done
18666 if test -z "$haveit"; then
18667 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18668 fi
18669 done
18670
18671
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18673 $as_echo_n "checking for iconv... " >&6; }
18674 if ${am_cv_func_iconv+:} false; then :
18675 $as_echo_n "(cached) " >&6
18676 else
18677
18678 am_cv_func_iconv="no, consider installing GNU libiconv"
18679 am_cv_lib_iconv=no
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18682
18683 #include <stdlib.h>
18684 #include <iconv.h>
18685
18686 int
18687 main ()
18688 {
18689 iconv_t cd = iconv_open("","");
18690 iconv(cd,NULL,NULL,NULL,NULL);
18691 iconv_close(cd);
18692 ;
18693 return 0;
18694 }
18695 _ACEOF
18696 if ac_fn_c_try_link "$LINENO"; then :
18697 am_cv_func_iconv=yes
18698 fi
18699 rm -f core conftest.err conftest.$ac_objext \
18700 conftest$ac_exeext conftest.$ac_ext
18701 if test "$am_cv_func_iconv" != yes; then
18702 am_save_LIBS="$LIBS"
18703 LIBS="$LIBS $LIBICONV"
18704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18705 /* end confdefs.h. */
18706
18707 #include <stdlib.h>
18708 #include <iconv.h>
18709
18710 int
18711 main ()
18712 {
18713 iconv_t cd = iconv_open("","");
18714 iconv(cd,NULL,NULL,NULL,NULL);
18715 iconv_close(cd);
18716 ;
18717 return 0;
18718 }
18719 _ACEOF
18720 if ac_fn_c_try_link "$LINENO"; then :
18721 am_cv_lib_iconv=yes
18722 am_cv_func_iconv=yes
18723 fi
18724 rm -f core conftest.err conftest.$ac_objext \
18725 conftest$ac_exeext conftest.$ac_ext
18726 LIBS="$am_save_LIBS"
18727 fi
18728
18729 fi
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18731 $as_echo "$am_cv_func_iconv" >&6; }
18732 if test "$am_cv_func_iconv" = yes; then
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18734 $as_echo_n "checking for working iconv... " >&6; }
18735 if ${am_cv_func_iconv_works+:} false; then :
18736 $as_echo_n "(cached) " >&6
18737 else
18738
18739 am_save_LIBS="$LIBS"
18740 if test $am_cv_lib_iconv = yes; then
18741 LIBS="$LIBS $LIBICONV"
18742 fi
18743 am_cv_func_iconv_works=no
18744 for ac_iconv_const in '' 'const'; do
18745 if test "$cross_compiling" = yes; then :
18746 case "$host_os" in
18747 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18748 *) am_cv_func_iconv_works="guessing yes" ;;
18749 esac
18750 else
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18753
18754 #include <iconv.h>
18755 #include <string.h>
18756
18757 #ifndef ICONV_CONST
18758 # define ICONV_CONST $ac_iconv_const
18759 #endif
18760
18761 int
18762 main ()
18763 {
18764 int result = 0;
18765 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18766 returns. */
18767 {
18768 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18769 if (cd_utf8_to_88591 != (iconv_t)(-1))
18770 {
18771 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
18772 char buf[10];
18773 ICONV_CONST char *inptr = input;
18774 size_t inbytesleft = strlen (input);
18775 char *outptr = buf;
18776 size_t outbytesleft = sizeof (buf);
18777 size_t res = iconv (cd_utf8_to_88591,
18778 &inptr, &inbytesleft,
18779 &outptr, &outbytesleft);
18780 if (res == 0)
18781 result |= 1;
18782 iconv_close (cd_utf8_to_88591);
18783 }
18784 }
18785 /* Test against Solaris 10 bug: Failures are not distinguishable from
18786 successful returns. */
18787 {
18788 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
18789 if (cd_ascii_to_88591 != (iconv_t)(-1))
18790 {
18791 static ICONV_CONST char input[] = "\263";
18792 char buf[10];
18793 ICONV_CONST char *inptr = input;
18794 size_t inbytesleft = strlen (input);
18795 char *outptr = buf;
18796 size_t outbytesleft = sizeof (buf);
18797 size_t res = iconv (cd_ascii_to_88591,
18798 &inptr, &inbytesleft,
18799 &outptr, &outbytesleft);
18800 if (res == 0)
18801 result |= 2;
18802 iconv_close (cd_ascii_to_88591);
18803 }
18804 }
18805 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
18806 {
18807 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
18808 if (cd_88591_to_utf8 != (iconv_t)(-1))
18809 {
18810 static ICONV_CONST char input[] = "\304";
18811 static char buf[2] = { (char)0xDE, (char)0xAD };
18812 ICONV_CONST char *inptr = input;
18813 size_t inbytesleft = 1;
18814 char *outptr = buf;
18815 size_t outbytesleft = 1;
18816 size_t res = iconv (cd_88591_to_utf8,
18817 &inptr, &inbytesleft,
18818 &outptr, &outbytesleft);
18819 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
18820 result |= 4;
18821 iconv_close (cd_88591_to_utf8);
18822 }
18823 }
18824 #if 0 /* This bug could be worked around by the caller. */
18825 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
18826 {
18827 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18828 if (cd_88591_to_utf8 != (iconv_t)(-1))
18829 {
18830 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18831 char buf[50];
18832 ICONV_CONST char *inptr = input;
18833 size_t inbytesleft = strlen (input);
18834 char *outptr = buf;
18835 size_t outbytesleft = sizeof (buf);
18836 size_t res = iconv (cd_88591_to_utf8,
18837 &inptr, &inbytesleft,
18838 &outptr, &outbytesleft);
18839 if ((int)res > 0)
18840 result |= 8;
18841 iconv_close (cd_88591_to_utf8);
18842 }
18843 }
18844 #endif
18845 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18846 provided. */
18847 if (/* Try standardized names. */
18848 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18849 /* Try IRIX, OSF/1 names. */
18850 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18851 /* Try AIX names. */
18852 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18853 /* Try HP-UX names. */
18854 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18855 result |= 16;
18856 return result;
18857
18858 ;
18859 return 0;
18860 }
18861 _ACEOF
18862 if ac_fn_c_try_run "$LINENO"; then :
18863 am_cv_func_iconv_works=yes
18864 fi
18865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18866 conftest.$ac_objext conftest.beam conftest.$ac_ext
18867 fi
18868
18869 test "$am_cv_func_iconv_works" = no || break
18870 done
18871 LIBS="$am_save_LIBS"
18872
18873 fi
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18875 $as_echo "$am_cv_func_iconv_works" >&6; }
18876 case "$am_cv_func_iconv_works" in
18877 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18878 *) am_func_iconv=yes ;;
18879 esac
18880 else
18881 am_func_iconv=no am_cv_lib_iconv=no
18882 fi
18883 if test "$am_func_iconv" = yes; then
18884
18885 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18886
18887 fi
18888 if test "$am_cv_lib_iconv" = yes; then
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18890 $as_echo_n "checking how to link with libiconv... " >&6; }
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18892 $as_echo "$LIBICONV" >&6; }
18893 else
18894 CPPFLAGS="$am_save_CPPFLAGS"
18895 LIBICONV=
18896 LTLIBICONV=
18897 fi
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909 use_additional=yes
18910
18911 acl_save_prefix="$prefix"
18912 prefix="$acl_final_prefix"
18913 acl_save_exec_prefix="$exec_prefix"
18914 exec_prefix="$acl_final_exec_prefix"
18915
18916 eval additional_includedir=\"$includedir\"
18917 eval additional_libdir=\"$libdir\"
18918
18919 exec_prefix="$acl_save_exec_prefix"
18920 prefix="$acl_save_prefix"
18921
18922
18923 # Check whether --with-libintl-prefix was given.
18924 if test "${with_libintl_prefix+set}" = set; then :
18925 withval=$with_libintl_prefix;
18926 if test "X$withval" = "Xno"; then
18927 use_additional=no
18928 else
18929 if test "X$withval" = "X"; then
18930
18931 acl_save_prefix="$prefix"
18932 prefix="$acl_final_prefix"
18933 acl_save_exec_prefix="$exec_prefix"
18934 exec_prefix="$acl_final_exec_prefix"
18935
18936 eval additional_includedir=\"$includedir\"
18937 eval additional_libdir=\"$libdir\"
18938
18939 exec_prefix="$acl_save_exec_prefix"
18940 prefix="$acl_save_prefix"
18941
18942 else
18943 additional_includedir="$withval/include"
18944 additional_libdir="$withval/$acl_libdirstem"
18945 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18946 && ! test -d "$withval/$acl_libdirstem"; then
18947 additional_libdir="$withval/$acl_libdirstem2"
18948 fi
18949 fi
18950 fi
18951
18952 fi
18953
18954 LIBINTL=
18955 LTLIBINTL=
18956 INCINTL=
18957 LIBINTL_PREFIX=
18958 HAVE_LIBINTL=
18959 rpathdirs=
18960 ltrpathdirs=
18961 names_already_handled=
18962 names_next_round='intl '
18963 while test -n "$names_next_round"; do
18964 names_this_round="$names_next_round"
18965 names_next_round=
18966 for name in $names_this_round; do
18967 already_handled=
18968 for n in $names_already_handled; do
18969 if test "$n" = "$name"; then
18970 already_handled=yes
18971 break
18972 fi
18973 done
18974 if test -z "$already_handled"; then
18975 names_already_handled="$names_already_handled $name"
18976 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
18977 eval value=\"\$HAVE_LIB$uppername\"
18978 if test -n "$value"; then
18979 if test "$value" = yes; then
18980 eval value=\"\$LIB$uppername\"
18981 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
18982 eval value=\"\$LTLIB$uppername\"
18983 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
18984 else
18985 :
18986 fi
18987 else
18988 found_dir=
18989 found_la=
18990 found_so=
18991 found_a=
18992 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18993 if test -n "$acl_shlibext"; then
18994 shrext=".$acl_shlibext" # typically: shrext=.so
18995 else
18996 shrext=
18997 fi
18998 if test $use_additional = yes; then
18999 dir="$additional_libdir"
19000 if test -n "$acl_shlibext"; then
19001 if test -f "$dir/$libname$shrext"; then
19002 found_dir="$dir"
19003 found_so="$dir/$libname$shrext"
19004 else
19005 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19006 ver=`(cd "$dir" && \
19007 for f in "$libname$shrext".*; do echo "$f"; done \
19008 | sed -e "s,^$libname$shrext\\\\.,," \
19009 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19010 | sed 1q ) 2>/dev/null`
19011 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19012 found_dir="$dir"
19013 found_so="$dir/$libname$shrext.$ver"
19014 fi
19015 else
19016 eval library_names=\"$acl_library_names_spec\"
19017 for f in $library_names; do
19018 if test -f "$dir/$f"; then
19019 found_dir="$dir"
19020 found_so="$dir/$f"
19021 break
19022 fi
19023 done
19024 fi
19025 fi
19026 fi
19027 if test "X$found_dir" = "X"; then
19028 if test -f "$dir/$libname.$acl_libext"; then
19029 found_dir="$dir"
19030 found_a="$dir/$libname.$acl_libext"
19031 fi
19032 fi
19033 if test "X$found_dir" != "X"; then
19034 if test -f "$dir/$libname.la"; then
19035 found_la="$dir/$libname.la"
19036 fi
19037 fi
19038 fi
19039 if test "X$found_dir" = "X"; then
19040 for x in $LDFLAGS $LTLIBINTL; do
19041
19042 acl_save_prefix="$prefix"
19043 prefix="$acl_final_prefix"
19044 acl_save_exec_prefix="$exec_prefix"
19045 exec_prefix="$acl_final_exec_prefix"
19046 eval x=\"$x\"
19047 exec_prefix="$acl_save_exec_prefix"
19048 prefix="$acl_save_prefix"
19049
19050 case "$x" in
19051 -L*)
19052 dir=`echo "X$x" | sed -e 's/^X-L//'`
19053 if test -n "$acl_shlibext"; then
19054 if test -f "$dir/$libname$shrext"; then
19055 found_dir="$dir"
19056 found_so="$dir/$libname$shrext"
19057 else
19058 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19059 ver=`(cd "$dir" && \
19060 for f in "$libname$shrext".*; do echo "$f"; done \
19061 | sed -e "s,^$libname$shrext\\\\.,," \
19062 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19063 | sed 1q ) 2>/dev/null`
19064 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19065 found_dir="$dir"
19066 found_so="$dir/$libname$shrext.$ver"
19067 fi
19068 else
19069 eval library_names=\"$acl_library_names_spec\"
19070 for f in $library_names; do
19071 if test -f "$dir/$f"; then
19072 found_dir="$dir"
19073 found_so="$dir/$f"
19074 break
19075 fi
19076 done
19077 fi
19078 fi
19079 fi
19080 if test "X$found_dir" = "X"; then
19081 if test -f "$dir/$libname.$acl_libext"; then
19082 found_dir="$dir"
19083 found_a="$dir/$libname.$acl_libext"
19084 fi
19085 fi
19086 if test "X$found_dir" != "X"; then
19087 if test -f "$dir/$libname.la"; then
19088 found_la="$dir/$libname.la"
19089 fi
19090 fi
19091 ;;
19092 esac
19093 if test "X$found_dir" != "X"; then
19094 break
19095 fi
19096 done
19097 fi
19098 if test "X$found_dir" != "X"; then
19099 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
19100 if test "X$found_so" != "X"; then
19101 if test "$enable_rpath" = no \
19102 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
19103 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
19104 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19105 else
19106 haveit=
19107 for x in $ltrpathdirs; do
19108 if test "X$x" = "X$found_dir"; then
19109 haveit=yes
19110 break
19111 fi
19112 done
19113 if test -z "$haveit"; then
19114 ltrpathdirs="$ltrpathdirs $found_dir"
19115 fi
19116 if test "$acl_hardcode_direct" = yes; then
19117 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19118 else
19119 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
19120 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19121 haveit=
19122 for x in $rpathdirs; do
19123 if test "X$x" = "X$found_dir"; then
19124 haveit=yes
19125 break
19126 fi
19127 done
19128 if test -z "$haveit"; then
19129 rpathdirs="$rpathdirs $found_dir"
19130 fi
19131 else
19132 haveit=
19133 for x in $LDFLAGS $LIBINTL; do
19134
19135 acl_save_prefix="$prefix"
19136 prefix="$acl_final_prefix"
19137 acl_save_exec_prefix="$exec_prefix"
19138 exec_prefix="$acl_final_exec_prefix"
19139 eval x=\"$x\"
19140 exec_prefix="$acl_save_exec_prefix"
19141 prefix="$acl_save_prefix"
19142
19143 if test "X$x" = "X-L$found_dir"; then
19144 haveit=yes
19145 break
19146 fi
19147 done
19148 if test -z "$haveit"; then
19149 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
19150 fi
19151 if test "$acl_hardcode_minus_L" != no; then
19152 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19153 else
19154 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
19155 fi
19156 fi
19157 fi
19158 fi
19159 else
19160 if test "X$found_a" != "X"; then
19161 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
19162 else
19163 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
19164 fi
19165 fi
19166 additional_includedir=
19167 case "$found_dir" in
19168 */$acl_libdirstem | */$acl_libdirstem/)
19169 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
19170 if test "$name" = 'intl'; then
19171 LIBINTL_PREFIX="$basedir"
19172 fi
19173 additional_includedir="$basedir/include"
19174 ;;
19175 */$acl_libdirstem2 | */$acl_libdirstem2/)
19176 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
19177 if test "$name" = 'intl'; then
19178 LIBINTL_PREFIX="$basedir"
19179 fi
19180 additional_includedir="$basedir/include"
19181 ;;
19182 esac
19183 if test "X$additional_includedir" != "X"; then
19184 if test "X$additional_includedir" != "X/usr/include"; then
19185 haveit=
19186 if test "X$additional_includedir" = "X/usr/local/include"; then
19187 if test -n "$GCC"; then
19188 case $host_os in
19189 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19190 esac
19191 fi
19192 fi
19193 if test -z "$haveit"; then
19194 for x in $CPPFLAGS $INCINTL; do
19195
19196 acl_save_prefix="$prefix"
19197 prefix="$acl_final_prefix"
19198 acl_save_exec_prefix="$exec_prefix"
19199 exec_prefix="$acl_final_exec_prefix"
19200 eval x=\"$x\"
19201 exec_prefix="$acl_save_exec_prefix"
19202 prefix="$acl_save_prefix"
19203
19204 if test "X$x" = "X-I$additional_includedir"; then
19205 haveit=yes
19206 break
19207 fi
19208 done
19209 if test -z "$haveit"; then
19210 if test -d "$additional_includedir"; then
19211 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
19212 fi
19213 fi
19214 fi
19215 fi
19216 fi
19217 if test -n "$found_la"; then
19218 save_libdir="$libdir"
19219 case "$found_la" in
19220 */* | *\\*) . "$found_la" ;;
19221 *) . "./$found_la" ;;
19222 esac
19223 libdir="$save_libdir"
19224 for dep in $dependency_libs; do
19225 case "$dep" in
19226 -L*)
19227 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19228 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19229 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19230 haveit=
19231 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19232 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19233 if test -n "$GCC"; then
19234 case $host_os in
19235 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19236 esac
19237 fi
19238 fi
19239 if test -z "$haveit"; then
19240 haveit=
19241 for x in $LDFLAGS $LIBINTL; do
19242
19243 acl_save_prefix="$prefix"
19244 prefix="$acl_final_prefix"
19245 acl_save_exec_prefix="$exec_prefix"
19246 exec_prefix="$acl_final_exec_prefix"
19247 eval x=\"$x\"
19248 exec_prefix="$acl_save_exec_prefix"
19249 prefix="$acl_save_prefix"
19250
19251 if test "X$x" = "X-L$additional_libdir"; then
19252 haveit=yes
19253 break
19254 fi
19255 done
19256 if test -z "$haveit"; then
19257 if test -d "$additional_libdir"; then
19258 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
19259 fi
19260 fi
19261 haveit=
19262 for x in $LDFLAGS $LTLIBINTL; do
19263
19264 acl_save_prefix="$prefix"
19265 prefix="$acl_final_prefix"
19266 acl_save_exec_prefix="$exec_prefix"
19267 exec_prefix="$acl_final_exec_prefix"
19268 eval x=\"$x\"
19269 exec_prefix="$acl_save_exec_prefix"
19270 prefix="$acl_save_prefix"
19271
19272 if test "X$x" = "X-L$additional_libdir"; then
19273 haveit=yes
19274 break
19275 fi
19276 done
19277 if test -z "$haveit"; then
19278 if test -d "$additional_libdir"; then
19279 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
19280 fi
19281 fi
19282 fi
19283 fi
19284 ;;
19285 -R*)
19286 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19287 if test "$enable_rpath" != no; then
19288 haveit=
19289 for x in $rpathdirs; do
19290 if test "X$x" = "X$dir"; then
19291 haveit=yes
19292 break
19293 fi
19294 done
19295 if test -z "$haveit"; then
19296 rpathdirs="$rpathdirs $dir"
19297 fi
19298 haveit=
19299 for x in $ltrpathdirs; do
19300 if test "X$x" = "X$dir"; then
19301 haveit=yes
19302 break
19303 fi
19304 done
19305 if test -z "$haveit"; then
19306 ltrpathdirs="$ltrpathdirs $dir"
19307 fi
19308 fi
19309 ;;
19310 -l*)
19311 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19312 ;;
19313 *.la)
19314 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19315 ;;
19316 *)
19317 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
19318 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
19319 ;;
19320 esac
19321 done
19322 fi
19323 else
19324 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
19325 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
19326 fi
19327 fi
19328 fi
19329 done
19330 done
19331 if test "X$rpathdirs" != "X"; then
19332 if test -n "$acl_hardcode_libdir_separator"; then
19333 alldirs=
19334 for found_dir in $rpathdirs; do
19335 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19336 done
19337 acl_save_libdir="$libdir"
19338 libdir="$alldirs"
19339 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19340 libdir="$acl_save_libdir"
19341 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
19342 else
19343 for found_dir in $rpathdirs; do
19344 acl_save_libdir="$libdir"
19345 libdir="$found_dir"
19346 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19347 libdir="$acl_save_libdir"
19348 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
19349 done
19350 fi
19351 fi
19352 if test "X$ltrpathdirs" != "X"; then
19353 for found_dir in $ltrpathdirs; do
19354 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
19355 done
19356 fi
19357
19358
19359
19360
19361
19362
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
19364 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
19365 if eval \${$gt_func_gnugettext_libintl+:} false; then :
19366 $as_echo_n "(cached) " >&6
19367 else
19368 gt_save_CPPFLAGS="$CPPFLAGS"
19369 CPPFLAGS="$CPPFLAGS $INCINTL"
19370 gt_save_LIBS="$LIBS"
19371 LIBS="$LIBS $LIBINTL"
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374
19375 #include <libintl.h>
19376 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
19377 extern int _nl_msg_cat_cntr;
19378 extern
19379 #ifdef __cplusplus
19380 "C"
19381 #endif
19382 const char *_nl_expand_alias (const char *);
19383 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
19384 #else
19385 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
19386 #endif
19387 $gt_revision_test_code
19388
19389 int
19390 main ()
19391 {
19392
19393 bindtextdomain ("", "");
19394 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
19395
19396 ;
19397 return 0;
19398 }
19399 _ACEOF
19400 if ac_fn_c_try_link "$LINENO"; then :
19401 eval "$gt_func_gnugettext_libintl=yes"
19402 else
19403 eval "$gt_func_gnugettext_libintl=no"
19404 fi
19405 rm -f core conftest.err conftest.$ac_objext \
19406 conftest$ac_exeext conftest.$ac_ext
19407 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
19408 LIBS="$LIBS $LIBICONV"
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19410 /* end confdefs.h. */
19411
19412 #include <libintl.h>
19413 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
19414 extern int _nl_msg_cat_cntr;
19415 extern
19416 #ifdef __cplusplus
19417 "C"
19418 #endif
19419 const char *_nl_expand_alias (const char *);
19420 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
19421 #else
19422 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
19423 #endif
19424 $gt_revision_test_code
19425
19426 int
19427 main ()
19428 {
19429
19430 bindtextdomain ("", "");
19431 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
19432
19433 ;
19434 return 0;
19435 }
19436 _ACEOF
19437 if ac_fn_c_try_link "$LINENO"; then :
19438 LIBINTL="$LIBINTL $LIBICONV"
19439 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
19440 eval "$gt_func_gnugettext_libintl=yes"
19441
19442 fi
19443 rm -f core conftest.err conftest.$ac_objext \
19444 conftest$ac_exeext conftest.$ac_ext
19445 fi
19446 CPPFLAGS="$gt_save_CPPFLAGS"
19447 LIBS="$gt_save_LIBS"
19448 fi
19449 eval ac_res=\$$gt_func_gnugettext_libintl
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19451 $as_echo "$ac_res" >&6; }
19452 fi
19453
19454 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
19455 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
19456 && test "$PACKAGE" != gettext-runtime \
19457 && test "$PACKAGE" != gettext-tools; }; then
19458 gt_use_preinstalled_gnugettext=yes
19459 else
19460 LIBINTL=
19461 LTLIBINTL=
19462 INCINTL=
19463 fi
19464
19465
19466
19467 if test -n "$INTL_MACOSX_LIBS"; then
19468 if test "$gt_use_preinstalled_gnugettext" = "yes" \
19469 || test "$nls_cv_use_gnu_gettext" = "yes"; then
19470 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
19471 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
19472 fi
19473 fi
19474
19475 if test "$gt_use_preinstalled_gnugettext" = "yes" \
19476 || test "$nls_cv_use_gnu_gettext" = "yes"; then
19477
19478 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
19479
19480 else
19481 USE_NLS=no
19482 fi
19483 fi
19484
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
19486 $as_echo_n "checking whether to use NLS... " >&6; }
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
19488 $as_echo "$USE_NLS" >&6; }
19489 if test "$USE_NLS" = "yes"; then
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
19491 $as_echo_n "checking where the gettext function comes from... " >&6; }
19492 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19493 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19494 gt_source="external libintl"
19495 else
19496 gt_source="libc"
19497 fi
19498 else
19499 gt_source="included intl directory"
19500 fi
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
19502 $as_echo "$gt_source" >&6; }
19503 fi
19504
19505 if test "$USE_NLS" = "yes"; then
19506
19507 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19508 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
19510 $as_echo_n "checking how to link with libintl... " >&6; }
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
19512 $as_echo "$LIBINTL" >&6; }
19513
19514 for element in $INCINTL; do
19515 haveit=
19516 for x in $CPPFLAGS; do
19517
19518 acl_save_prefix="$prefix"
19519 prefix="$acl_final_prefix"
19520 acl_save_exec_prefix="$exec_prefix"
19521 exec_prefix="$acl_final_exec_prefix"
19522 eval x=\"$x\"
19523 exec_prefix="$acl_save_exec_prefix"
19524 prefix="$acl_save_prefix"
19525
19526 if test "X$x" = "X$element"; then
19527 haveit=yes
19528 break
19529 fi
19530 done
19531 if test -z "$haveit"; then
19532 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19533 fi
19534 done
19535
19536 fi
19537
19538
19539 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19540
19541
19542 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
19543
19544 fi
19545
19546 POSUB=po
19547 fi
19548
19549
19550
19551 INTLLIBS="$LIBINTL"
19552
19553
19554
19555
19556
19557
19558
19559 GETTEXT_PACKAGE=compiz-plugins-main
19560
19561 cat >>confdefs.h <<_ACEOF
19562 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19563 _ACEOF
19564
19565
19566
19567 if test "x$GCC" = "xyes"; then
19568 case " $CFLAGS " in
19569 *[\ \ ]-Wall[\ \ ]*) ;;
19570 *) CFLAGS="$CFLAGS -Wall" ;;
19571 esac
19572
19573 case " $CFLAGS " in
19574 *[\ \ ]-Wpointer-arith[\ \ ]*) ;;
19575 *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
19576 esac
19577
19578 case " $CFLAGS " in
19579 *[\ \ ]-Wstrict-prototypes[\ \ ]*) ;;
19580 *) CFLAGS="$CFLAGS -Wstrict-prototypes" ;;
19581 esac
19582
19583 case " $CFLAGS " in
19584 *[\ \ ]-Wmissing-prototypes[\ \ ]*) ;;
19585 *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
19586 esac
19587
19588 case " $CFLAGS " in
19589 *[\ \ ]-Wmissing-declarations[\ \ ]*) ;;
19590 *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
19591 esac
19592
19593 case " $CFLAGS " in
19594 *[\ \ ]-Wnested-externs[\ \ ]*) ;;
19595 *) CFLAGS="$CFLAGS -Wnested-externs" ;;
19596 esac
19597
19598 case " $CFLAGS " in
19599 *[\ \ ]-fno-strict-aliasing[\ \ ]*) ;;
19600 *) CFLAGS="$CFLAGS -fno-strict-aliasing" ;;
19601 esac
19602
19603 if test "x$enable_ansi" = "xyes"; then
19604 case " $CFLAGS " in
19605 *[\ \ ]-ansi[\ \ ]*) ;;
19606 *) CFLAGS="$CFLAGS -ansi" ;;
19607 esac
19608
19609 case " $CFLAGS " in
19610 *[\ \ ]-pedantic[\ \ ]*) ;;
19611 *) CFLAGS="$CFLAGS -pedantic" ;;
19612 esac
19613 fi
19614 fi
19615
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
19617 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
19618 if ${ac_cv_c_bigendian+:} false; then :
19619 $as_echo_n "(cached) " >&6
19620 else
19621 ac_cv_c_bigendian=unknown
19622 # See if we're dealing with a universal compiler.
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 #ifndef __APPLE_CC__
19626 not a universal capable compiler
19627 #endif
19628 typedef int dummy;
19629
19630 _ACEOF
19631 if ac_fn_c_try_compile "$LINENO"; then :
19632
19633 # Check for potential -arch flags. It is not universal unless
19634 # there are at least two -arch flags with different values.
19635 ac_arch=
19636 ac_prev=
19637 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
19638 if test -n "$ac_prev"; then
19639 case $ac_word in
19640 i?86 | x86_64 | ppc | ppc64)
19641 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
19642 ac_arch=$ac_word
19643 else
19644 ac_cv_c_bigendian=universal
19645 break
19646 fi
19647 ;;
19648 esac
19649 ac_prev=
19650 elif test "x$ac_word" = "x-arch"; then
19651 ac_prev=arch
19652 fi
19653 done
19654 fi
19655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 if test $ac_cv_c_bigendian = unknown; then
19657 # See if sys/param.h defines the BYTE_ORDER macro.
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660 #include <sys/types.h>
19661 #include <sys/param.h>
19662
19663 int
19664 main ()
19665 {
19666 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
19667 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
19668 && LITTLE_ENDIAN)
19669 bogus endian macros
19670 #endif
19671
19672 ;
19673 return 0;
19674 }
19675 _ACEOF
19676 if ac_fn_c_try_compile "$LINENO"; then :
19677 # It does; now see whether it defined to BIG_ENDIAN or not.
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19680 #include <sys/types.h>
19681 #include <sys/param.h>
19682
19683 int
19684 main ()
19685 {
19686 #if BYTE_ORDER != BIG_ENDIAN
19687 not big endian
19688 #endif
19689
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 if ac_fn_c_try_compile "$LINENO"; then :
19695 ac_cv_c_bigendian=yes
19696 else
19697 ac_cv_c_bigendian=no
19698 fi
19699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 fi
19701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19702 fi
19703 if test $ac_cv_c_bigendian = unknown; then
19704 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19707 #include <limits.h>
19708
19709 int
19710 main ()
19711 {
19712 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
19713 bogus endian macros
19714 #endif
19715
19716 ;
19717 return 0;
19718 }
19719 _ACEOF
19720 if ac_fn_c_try_compile "$LINENO"; then :
19721 # It does; now see whether it defined to _BIG_ENDIAN or not.
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724 #include <limits.h>
19725
19726 int
19727 main ()
19728 {
19729 #ifndef _BIG_ENDIAN
19730 not big endian
19731 #endif
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 if ac_fn_c_try_compile "$LINENO"; then :
19738 ac_cv_c_bigendian=yes
19739 else
19740 ac_cv_c_bigendian=no
19741 fi
19742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19743 fi
19744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19745 fi
19746 if test $ac_cv_c_bigendian = unknown; then
19747 # Compile a test program.
19748 if test "$cross_compiling" = yes; then :
19749 # Try to guess by grepping values from an object file.
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752 short int ascii_mm[] =
19753 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19754 short int ascii_ii[] =
19755 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19756 int use_ascii (int i) {
19757 return ascii_mm[i] + ascii_ii[i];
19758 }
19759 short int ebcdic_ii[] =
19760 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19761 short int ebcdic_mm[] =
19762 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19763 int use_ebcdic (int i) {
19764 return ebcdic_mm[i] + ebcdic_ii[i];
19765 }
19766 extern int foo;
19767
19768 int
19769 main ()
19770 {
19771 return use_ascii (foo) == use_ebcdic (foo);
19772 ;
19773 return 0;
19774 }
19775 _ACEOF
19776 if ac_fn_c_try_compile "$LINENO"; then :
19777 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
19778 ac_cv_c_bigendian=yes
19779 fi
19780 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19781 if test "$ac_cv_c_bigendian" = unknown; then
19782 ac_cv_c_bigendian=no
19783 else
19784 # finding both strings is unlikely to happen, but who knows?
19785 ac_cv_c_bigendian=unknown
19786 fi
19787 fi
19788 fi
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19790 else
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 int
19795 main ()
19796 {
19797
19798 /* Are we little or big endian? From Harbison&Steele. */
19799 union
19800 {
19801 long int l;
19802 char c[sizeof (long int)];
19803 } u;
19804 u.l = 1;
19805 return u.c[sizeof (long int) - 1] == 1;
19806
19807 ;
19808 return 0;
19809 }
19810 _ACEOF
19811 if ac_fn_c_try_run "$LINENO"; then :
19812 ac_cv_c_bigendian=no
19813 else
19814 ac_cv_c_bigendian=yes
19815 fi
19816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19817 conftest.$ac_objext conftest.beam conftest.$ac_ext
19818 fi
19819
19820 fi
19821 fi
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19823 $as_echo "$ac_cv_c_bigendian" >&6; }
19824 case $ac_cv_c_bigendian in #(
19825 yes)
19826 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19827 ;; #(
19828 no)
19829 ;; #(
19830 universal)
19831
19832 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19833
19834 ;; #(
19835 *)
19836 as_fn_error $? "unknown endianness
19837 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19838 esac
19839
19840
19841 plugindir=$libdir/compiz
19842
19843
19844 imagedir=$datadir/compiz
19845
19846
19847 metadatadir=$datadir/compiz
19848
19849
19850 compdatadir=$datadir/compiz
19851
19852
19853 pluginiconsdir=$datadir/compiz/icons/hicolor
19854
19855
19856 if test x"$PKG_CONFIG_PATH" = x; then
19857 PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig
19858 else
19859 PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${PKG_CONFIG_PATH}
19860 fi
19861 export PKG_CONFIG_PATH
19862
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: Using PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >&5
19864 $as_echo "$as_me: Using PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >&6;}
19865
19866
19867
19868
19869
19870
19871
19872
19873 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19874 if test -n "$ac_tool_prefix"; then
19875 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19876 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19878 $as_echo_n "checking for $ac_word... " >&6; }
19879 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19880 $as_echo_n "(cached) " >&6
19881 else
19882 case $PKG_CONFIG in
19883 [\\/]* | ?:[\\/]*)
19884 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19885 ;;
19886 *)
19887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19888 for as_dir in $PATH
19889 do
19890 IFS=$as_save_IFS
19891 test -z "$as_dir" && as_dir=.
19892 for ac_exec_ext in '' $ac_executable_extensions; do
19893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19894 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19896 break 2
19897 fi
19898 done
19899 done
19900 IFS=$as_save_IFS
19901
19902 ;;
19903 esac
19904 fi
19905 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19906 if test -n "$PKG_CONFIG"; then
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19908 $as_echo "$PKG_CONFIG" >&6; }
19909 else
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19911 $as_echo "no" >&6; }
19912 fi
19913
19914
19915 fi
19916 if test -z "$ac_cv_path_PKG_CONFIG"; then
19917 ac_pt_PKG_CONFIG=$PKG_CONFIG
19918 # Extract the first word of "pkg-config", so it can be a program name with args.
19919 set dummy pkg-config; ac_word=$2
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19921 $as_echo_n "checking for $ac_word... " >&6; }
19922 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19923 $as_echo_n "(cached) " >&6
19924 else
19925 case $ac_pt_PKG_CONFIG in
19926 [\\/]* | ?:[\\/]*)
19927 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19928 ;;
19929 *)
19930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19931 for as_dir in $PATH
19932 do
19933 IFS=$as_save_IFS
19934 test -z "$as_dir" && as_dir=.
19935 for ac_exec_ext in '' $ac_executable_extensions; do
19936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19937 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19939 break 2
19940 fi
19941 done
19942 done
19943 IFS=$as_save_IFS
19944
19945 ;;
19946 esac
19947 fi
19948 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19949 if test -n "$ac_pt_PKG_CONFIG"; then
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19951 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19952 else
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19954 $as_echo "no" >&6; }
19955 fi
19956
19957 if test "x$ac_pt_PKG_CONFIG" = x; then
19958 PKG_CONFIG=""
19959 else
19960 case $cross_compiling:$ac_tool_warned in
19961 yes:)
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19964 ac_tool_warned=yes ;;
19965 esac
19966 PKG_CONFIG=$ac_pt_PKG_CONFIG
19967 fi
19968 else
19969 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19970 fi
19971
19972 fi
19973 if test -n "$PKG_CONFIG"; then
19974 _pkg_min_version=0.9.0
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19976 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19977 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19979 $as_echo "yes" >&6; }
19980 else
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19982 $as_echo "no" >&6; }
19983 PKG_CONFIG=""
19984 fi
19985 fi
19986
19987 pkg_failed=no
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMPIZ" >&5
19989 $as_echo_n "checking for COMPIZ... " >&6; }
19990
19991 if test -n "$COMPIZ_CFLAGS"; then
19992 pkg_cv_COMPIZ_CFLAGS="$COMPIZ_CFLAGS"
19993 elif test -n "$PKG_CONFIG"; then
19994 if test -n "$PKG_CONFIG" && \
19995 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz\""; } >&5
19996 ($PKG_CONFIG --exists --print-errors "compiz") 2>&5
19997 ac_status=$?
19998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19999 test $ac_status = 0; }; then
20000 pkg_cv_COMPIZ_CFLAGS=`$PKG_CONFIG --cflags "compiz" 2>/dev/null`
20001 test "x$?" != "x0" && pkg_failed=yes
20002 else
20003 pkg_failed=yes
20004 fi
20005 else
20006 pkg_failed=untried
20007 fi
20008 if test -n "$COMPIZ_LIBS"; then
20009 pkg_cv_COMPIZ_LIBS="$COMPIZ_LIBS"
20010 elif test -n "$PKG_CONFIG"; then
20011 if test -n "$PKG_CONFIG" && \
20012 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz\""; } >&5
20013 ($PKG_CONFIG --exists --print-errors "compiz") 2>&5
20014 ac_status=$?
20015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20016 test $ac_status = 0; }; then
20017 pkg_cv_COMPIZ_LIBS=`$PKG_CONFIG --libs "compiz" 2>/dev/null`
20018 test "x$?" != "x0" && pkg_failed=yes
20019 else
20020 pkg_failed=yes
20021 fi
20022 else
20023 pkg_failed=untried
20024 fi
20025
20026
20027
20028 if test $pkg_failed = yes; then
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20030 $as_echo "no" >&6; }
20031
20032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20033 _pkg_short_errors_supported=yes
20034 else
20035 _pkg_short_errors_supported=no
20036 fi
20037 if test $_pkg_short_errors_supported = yes; then
20038 COMPIZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz" 2>&1`
20039 else
20040 COMPIZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz" 2>&1`
20041 fi
20042 # Put the nasty error message in config.log where it belongs
20043 echo "$COMPIZ_PKG_ERRORS" >&5
20044
20045 as_fn_error $? "Package requirements (compiz) were not met:
20046
20047 $COMPIZ_PKG_ERRORS
20048
20049 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20050 installed software in a non-standard prefix.
20051
20052 Alternatively, you may set the environment variables COMPIZ_CFLAGS
20053 and COMPIZ_LIBS to avoid the need to call pkg-config.
20054 See the pkg-config man page for more details." "$LINENO" 5
20055 elif test $pkg_failed = untried; then
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20057 $as_echo "no" >&6; }
20058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20060 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20061 is in your PATH or set the PKG_CONFIG environment variable to the full
20062 path to pkg-config.
20063
20064 Alternatively, you may set the environment variables COMPIZ_CFLAGS
20065 and COMPIZ_LIBS to avoid the need to call pkg-config.
20066 See the pkg-config man page for more details.
20067
20068 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20069 See \`config.log' for more details" "$LINENO" 5; }
20070 else
20071 COMPIZ_CFLAGS=$pkg_cv_COMPIZ_CFLAGS
20072 COMPIZ_LIBS=$pkg_cv_COMPIZ_LIBS
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20074 $as_echo "yes" >&6; }
20075
20076 fi
20077
20078 pkg_failed=no
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BCOP" >&5
20080 $as_echo_n "checking for BCOP... " >&6; }
20081
20082 if test -n "$BCOP_CFLAGS"; then
20083 pkg_cv_BCOP_CFLAGS="$BCOP_CFLAGS"
20084 elif test -n "$PKG_CONFIG"; then
20085 if test -n "$PKG_CONFIG" && \
20086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bcop >= 0.7.3\""; } >&5
20087 ($PKG_CONFIG --exists --print-errors "bcop >= 0.7.3") 2>&5
20088 ac_status=$?
20089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20090 test $ac_status = 0; }; then
20091 pkg_cv_BCOP_CFLAGS=`$PKG_CONFIG --cflags "bcop >= 0.7.3" 2>/dev/null`
20092 test "x$?" != "x0" && pkg_failed=yes
20093 else
20094 pkg_failed=yes
20095 fi
20096 else
20097 pkg_failed=untried
20098 fi
20099 if test -n "$BCOP_LIBS"; then
20100 pkg_cv_BCOP_LIBS="$BCOP_LIBS"
20101 elif test -n "$PKG_CONFIG"; then
20102 if test -n "$PKG_CONFIG" && \
20103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bcop >= 0.7.3\""; } >&5
20104 ($PKG_CONFIG --exists --print-errors "bcop >= 0.7.3") 2>&5
20105 ac_status=$?
20106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20107 test $ac_status = 0; }; then
20108 pkg_cv_BCOP_LIBS=`$PKG_CONFIG --libs "bcop >= 0.7.3" 2>/dev/null`
20109 test "x$?" != "x0" && pkg_failed=yes
20110 else
20111 pkg_failed=yes
20112 fi
20113 else
20114 pkg_failed=untried
20115 fi
20116
20117
20118
20119 if test $pkg_failed = yes; then
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20121 $as_echo "no" >&6; }
20122
20123 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20124 _pkg_short_errors_supported=yes
20125 else
20126 _pkg_short_errors_supported=no
20127 fi
20128 if test $_pkg_short_errors_supported = yes; then
20129 BCOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bcop >= 0.7.3" 2>&1`
20130 else
20131 BCOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bcop >= 0.7.3" 2>&1`
20132 fi
20133 # Put the nasty error message in config.log where it belongs
20134 echo "$BCOP_PKG_ERRORS" >&5
20135
20136 as_fn_error $? "Package requirements (bcop >= 0.7.3) were not met:
20137
20138 $BCOP_PKG_ERRORS
20139
20140 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20141 installed software in a non-standard prefix.
20142
20143 Alternatively, you may set the environment variables BCOP_CFLAGS
20144 and BCOP_LIBS to avoid the need to call pkg-config.
20145 See the pkg-config man page for more details." "$LINENO" 5
20146 elif test $pkg_failed = untried; then
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20148 $as_echo "no" >&6; }
20149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20151 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20152 is in your PATH or set the PKG_CONFIG environment variable to the full
20153 path to pkg-config.
20154
20155 Alternatively, you may set the environment variables BCOP_CFLAGS
20156 and BCOP_LIBS to avoid the need to call pkg-config.
20157 See the pkg-config man page for more details.
20158
20159 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20160 See \`config.log' for more details" "$LINENO" 5; }
20161 else
20162 BCOP_CFLAGS=$pkg_cv_BCOP_CFLAGS
20163 BCOP_LIBS=$pkg_cv_BCOP_LIBS
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20165 $as_echo "yes" >&6; }
20166 bcop_found=yes
20167 fi
20168 if test "$bcop_found" = yes; then
20169 if test -z "$PKG_CONFIG"; then
20170 # Extract the first word of "pkg-config", so it can be a program name with args.
20171 set dummy pkg-config; ac_word=$2
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20173 $as_echo_n "checking for $ac_word... " >&6; }
20174 if ${ac_cv_path_PKG_CONFIG+:} false; then :
20175 $as_echo_n "(cached) " >&6
20176 else
20177 case $PKG_CONFIG in
20178 [\\/]* | ?:[\\/]*)
20179 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20180 ;;
20181 *)
20182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20183 for as_dir in $PATH
20184 do
20185 IFS=$as_save_IFS
20186 test -z "$as_dir" && as_dir=.
20187 for ac_exec_ext in '' $ac_executable_extensions; do
20188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20189 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20191 break 2
20192 fi
20193 done
20194 done
20195 IFS=$as_save_IFS
20196
20197 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20198 ;;
20199 esac
20200 fi
20201 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20202 if test -n "$PKG_CONFIG"; then
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20204 $as_echo "$PKG_CONFIG" >&6; }
20205 else
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20207 $as_echo "no" >&6; }
20208 fi
20209
20210
20211 fi
20212 if test "$PKG_CONFIG" != "no" ; then
20213 BCOP_BIN=`$PKG_CONFIG --variable=bin bcop`
20214
20215 fi
20216 fi
20217
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_CFLAGS" >&5
20219 $as_echo_n "checking for GL_CFLAGS... " >&6; }
20220
20221 # Check whether --with-gl-cflags was given.
20222 if test "${with_gl_cflags+set}" = set; then :
20223 withval=$with_gl_cflags; GL_CFLAGS="$withval"
20224 else
20225 GL_CFLAGS=""
20226 fi
20227
20228
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GL_CFLAGS" >&5
20230 $as_echo "$GL_CFLAGS" >&6; }
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_LIBS" >&5
20232 $as_echo_n "checking for GL_LIBS... " >&6; }
20233
20234 # Check whether --with-gl-libs was given.
20235 if test "${with_gl_libs+set}" = set; then :
20236 withval=$with_gl_libs; GL_LIBS="$withval"
20237 else
20238 GL_LIBS="-lGL"
20239 fi
20240
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GL_LIBS" >&5
20242 $as_echo "$GL_LIBS" >&6; }
20243
20244
20245
20246
20247
20248 pkg_failed=no
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATSPI2" >&5
20250 $as_echo_n "checking for ATSPI2... " >&6; }
20251
20252 if test -n "$ATSPI2_CFLAGS"; then
20253 pkg_cv_ATSPI2_CFLAGS="$ATSPI2_CFLAGS"
20254 elif test -n "$PKG_CONFIG"; then
20255 if test -n "$PKG_CONFIG" && \
20256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2\""; } >&5
20257 ($PKG_CONFIG --exists --print-errors "atspi-2") 2>&5
20258 ac_status=$?
20259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20260 test $ac_status = 0; }; then
20261 pkg_cv_ATSPI2_CFLAGS=`$PKG_CONFIG --cflags "atspi-2" 2>/dev/null`
20262 test "x$?" != "x0" && pkg_failed=yes
20263 else
20264 pkg_failed=yes
20265 fi
20266 else
20267 pkg_failed=untried
20268 fi
20269 if test -n "$ATSPI2_LIBS"; then
20270 pkg_cv_ATSPI2_LIBS="$ATSPI2_LIBS"
20271 elif test -n "$PKG_CONFIG"; then
20272 if test -n "$PKG_CONFIG" && \
20273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atspi-2\""; } >&5
20274 ($PKG_CONFIG --exists --print-errors "atspi-2") 2>&5
20275 ac_status=$?
20276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20277 test $ac_status = 0; }; then
20278 pkg_cv_ATSPI2_LIBS=`$PKG_CONFIG --libs "atspi-2" 2>/dev/null`
20279 test "x$?" != "x0" && pkg_failed=yes
20280 else
20281 pkg_failed=yes
20282 fi
20283 else
20284 pkg_failed=untried
20285 fi
20286
20287
20288
20289 if test $pkg_failed = yes; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20291 $as_echo "no" >&6; }
20292
20293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20294 _pkg_short_errors_supported=yes
20295 else
20296 _pkg_short_errors_supported=no
20297 fi
20298 if test $_pkg_short_errors_supported = yes; then
20299 ATSPI2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atspi-2" 2>&1`
20300 else
20301 ATSPI2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atspi-2" 2>&1`
20302 fi
20303 # Put the nasty error message in config.log where it belongs
20304 echo "$ATSPI2_PKG_ERRORS" >&5
20305
20306 have_atspi2=no
20307 elif test $pkg_failed = untried; then
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20309 $as_echo "no" >&6; }
20310 have_atspi2=no
20311 else
20312 ATSPI2_CFLAGS=$pkg_cv_ATSPI2_CFLAGS
20313 ATSPI2_LIBS=$pkg_cv_ATSPI2_LIBS
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20315 $as_echo "yes" >&6; }
20316 have_atspi2=yes
20317 fi
20318
20319 pkg_failed=no
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCALE" >&5
20321 $as_echo_n "checking for SCALE... " >&6; }
20322
20323 if test -n "$SCALE_CFLAGS"; then
20324 pkg_cv_SCALE_CFLAGS="$SCALE_CFLAGS"
20325 elif test -n "$PKG_CONFIG"; then
20326 if test -n "$PKG_CONFIG" && \
20327 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-scale\""; } >&5
20328 ($PKG_CONFIG --exists --print-errors "compiz-scale") 2>&5
20329 ac_status=$?
20330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20331 test $ac_status = 0; }; then
20332 pkg_cv_SCALE_CFLAGS=`$PKG_CONFIG --cflags "compiz-scale" 2>/dev/null`
20333 test "x$?" != "x0" && pkg_failed=yes
20334 else
20335 pkg_failed=yes
20336 fi
20337 else
20338 pkg_failed=untried
20339 fi
20340 if test -n "$SCALE_LIBS"; then
20341 pkg_cv_SCALE_LIBS="$SCALE_LIBS"
20342 elif test -n "$PKG_CONFIG"; then
20343 if test -n "$PKG_CONFIG" && \
20344 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-scale\""; } >&5
20345 ($PKG_CONFIG --exists --print-errors "compiz-scale") 2>&5
20346 ac_status=$?
20347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20348 test $ac_status = 0; }; then
20349 pkg_cv_SCALE_LIBS=`$PKG_CONFIG --libs "compiz-scale" 2>/dev/null`
20350 test "x$?" != "x0" && pkg_failed=yes
20351 else
20352 pkg_failed=yes
20353 fi
20354 else
20355 pkg_failed=untried
20356 fi
20357
20358
20359
20360 if test $pkg_failed = yes; then
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20362 $as_echo "no" >&6; }
20363
20364 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20365 _pkg_short_errors_supported=yes
20366 else
20367 _pkg_short_errors_supported=no
20368 fi
20369 if test $_pkg_short_errors_supported = yes; then
20370 SCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-scale" 2>&1`
20371 else
20372 SCALE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-scale" 2>&1`
20373 fi
20374 # Put the nasty error message in config.log where it belongs
20375 echo "$SCALE_PKG_ERRORS" >&5
20376
20377 have_compiz_scale=no
20378 elif test $pkg_failed = untried; then
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20380 $as_echo "no" >&6; }
20381 have_compiz_scale=no
20382 else
20383 SCALE_CFLAGS=$pkg_cv_SCALE_CFLAGS
20384 SCALE_LIBS=$pkg_cv_SCALE_LIBS
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20386 $as_echo "yes" >&6; }
20387 have_compiz_scale=yes
20388 fi
20389
20390 pkg_failed=no
20391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
20392 $as_echo_n "checking for PANGO... " >&6; }
20393
20394 if test -n "$PANGO_CFLAGS"; then
20395 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
20396 elif test -n "$PKG_CONFIG"; then
20397 if test -n "$PKG_CONFIG" && \
20398 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-xlib-xrender pangocairo cairo >= 1.0\""; } >&5
20399 ($PKG_CONFIG --exists --print-errors "cairo-xlib-xrender pangocairo cairo >= 1.0") 2>&5
20400 ac_status=$?
20401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20402 test $ac_status = 0; }; then
20403 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "cairo-xlib-xrender pangocairo cairo >= 1.0" 2>/dev/null`
20404 test "x$?" != "x0" && pkg_failed=yes
20405 else
20406 pkg_failed=yes
20407 fi
20408 else
20409 pkg_failed=untried
20410 fi
20411 if test -n "$PANGO_LIBS"; then
20412 pkg_cv_PANGO_LIBS="$PANGO_LIBS"
20413 elif test -n "$PKG_CONFIG"; then
20414 if test -n "$PKG_CONFIG" && \
20415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-xlib-xrender pangocairo cairo >= 1.0\""; } >&5
20416 ($PKG_CONFIG --exists --print-errors "cairo-xlib-xrender pangocairo cairo >= 1.0") 2>&5
20417 ac_status=$?
20418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20419 test $ac_status = 0; }; then
20420 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "cairo-xlib-xrender pangocairo cairo >= 1.0" 2>/dev/null`
20421 test "x$?" != "x0" && pkg_failed=yes
20422 else
20423 pkg_failed=yes
20424 fi
20425 else
20426 pkg_failed=untried
20427 fi
20428
20429
20430
20431 if test $pkg_failed = yes; then
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20433 $as_echo "no" >&6; }
20434
20435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20436 _pkg_short_errors_supported=yes
20437 else
20438 _pkg_short_errors_supported=no
20439 fi
20440 if test $_pkg_short_errors_supported = yes; then
20441 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-xlib-xrender pangocairo cairo >= 1.0" 2>&1`
20442 else
20443 PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-xlib-xrender pangocairo cairo >= 1.0" 2>&1`
20444 fi
20445 # Put the nasty error message in config.log where it belongs
20446 echo "$PANGO_PKG_ERRORS" >&5
20447
20448 have_pango=no
20449 elif test $pkg_failed = untried; then
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20451 $as_echo "no" >&6; }
20452 have_pango=no
20453 else
20454 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
20455 PANGO_LIBS=$pkg_cv_PANGO_LIBS
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20457 $as_echo "yes" >&6; }
20458 have_pango=yes
20459 fi
20460
20461 pkg_failed=no
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
20463 $as_echo_n "checking for LIBNOTIFY... " >&6; }
20464
20465 if test -n "$LIBNOTIFY_CFLAGS"; then
20466 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
20467 elif test -n "$PKG_CONFIG"; then
20468 if test -n "$PKG_CONFIG" && \
20469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.6.1\""; } >&5
20470 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.6.1") 2>&5
20471 ac_status=$?
20472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20473 test $ac_status = 0; }; then
20474 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.6.1" 2>/dev/null`
20475 test "x$?" != "x0" && pkg_failed=yes
20476 else
20477 pkg_failed=yes
20478 fi
20479 else
20480 pkg_failed=untried
20481 fi
20482 if test -n "$LIBNOTIFY_LIBS"; then
20483 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
20484 elif test -n "$PKG_CONFIG"; then
20485 if test -n "$PKG_CONFIG" && \
20486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.6.1\""; } >&5
20487 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.6.1") 2>&5
20488 ac_status=$?
20489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20490 test $ac_status = 0; }; then
20491 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.6.1" 2>/dev/null`
20492 test "x$?" != "x0" && pkg_failed=yes
20493 else
20494 pkg_failed=yes
20495 fi
20496 else
20497 pkg_failed=untried
20498 fi
20499
20500
20501
20502 if test $pkg_failed = yes; then
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20504 $as_echo "no" >&6; }
20505
20506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20507 _pkg_short_errors_supported=yes
20508 else
20509 _pkg_short_errors_supported=no
20510 fi
20511 if test $_pkg_short_errors_supported = yes; then
20512 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify >= 0.6.1" 2>&1`
20513 else
20514 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify >= 0.6.1" 2>&1`
20515 fi
20516 # Put the nasty error message in config.log where it belongs
20517 echo "$LIBNOTIFY_PKG_ERRORS" >&5
20518
20519 have_libnotify=no
20520 elif test $pkg_failed = untried; then
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20522 $as_echo "no" >&6; }
20523 have_libnotify=no
20524 else
20525 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
20526 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20528 $as_echo "yes" >&6; }
20529 have_libnotify=yes
20530
20531 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
20532
20533 fi
20534
20535 if test "x$have_atspi2" = "xyes"; then
20536 FOCUSPOLL_PLUGIN_TRUE=
20537 FOCUSPOLL_PLUGIN_FALSE='#'
20538 else
20539 FOCUSPOLL_PLUGIN_TRUE='#'
20540 FOCUSPOLL_PLUGIN_FALSE=
20541 fi
20542
20543 if test "x$have_atspi2" = "xyes"; then
20544
20545 $as_echo "#define USE_FOCUSPOLL 1" >>confdefs.h
20546
20547 _save_cflags="$CFLAGS"
20548 CFLAGS="$CFLAGS $ATSPI2_CFLAGS"
20549 ac_fn_c_check_member "$LINENO" "AtspiEvent" "sender" "ac_cv_member_AtspiEvent_sender" "#include <atspi/atspi-types.h>
20550 "
20551 if test "x$ac_cv_member_AtspiEvent_sender" = xyes; then :
20552
20553 cat >>confdefs.h <<_ACEOF
20554 #define HAVE_ATSPIEVENT_SENDER 1
20555 _ACEOF
20556
20557
20558 fi
20559
20560 CFLAGS="$_save_cflags"
20561 fi
20562
20563 if test "x$have_pango" = "xyes"; then
20564 TEXT_PLUGIN_TRUE=
20565 TEXT_PLUGIN_FALSE='#'
20566 else
20567 TEXT_PLUGIN_TRUE='#'
20568 TEXT_PLUGIN_FALSE=
20569 fi
20570
20571 if test "x$have_pango" = "xyes"; then
20572
20573 $as_echo "#define USE_TEXT 1" >>confdefs.h
20574
20575 fi
20576
20577 if test "x$have_pango" = "xyes"; then
20578 RESIZEINFO_PLUGIN_TRUE=
20579 RESIZEINFO_PLUGIN_FALSE='#'
20580 else
20581 RESIZEINFO_PLUGIN_TRUE='#'
20582 RESIZEINFO_PLUGIN_FALSE=
20583 fi
20584
20585 if test "x$have_pango" = "xyes"; then
20586
20587 $as_echo "#define USE_RESIZEINFO 1" >>confdefs.h
20588
20589 fi
20590
20591 if test "x$have_compiz_scale" = "xyes"; then
20592 SCALEADDON_PLUGIN_TRUE=
20593 SCALEADDON_PLUGIN_FALSE='#'
20594 else
20595 SCALEADDON_PLUGIN_TRUE='#'
20596 SCALEADDON_PLUGIN_FALSE=
20597 fi
20598
20599 if test "x$have_compiz_scale" = "xyes"; then
20600
20601 $as_echo "#define USE_SCALEADDON 1" >>confdefs.h
20602
20603 fi
20604
20605 # Check whether --enable-jpeg was given.
20606 if test "${enable_jpeg+set}" = set; then :
20607 enableval=$enable_jpeg; use_jpeg=$enableval
20608 else
20609 use_jpeg=yes
20610 fi
20611
20612
20613 if test "x$use_jpeg" = "xyes"; then
20614 JPEG_PLUGIN_TRUE=
20615 JPEG_PLUGIN_FALSE='#'
20616 else
20617 JPEG_PLUGIN_TRUE='#'
20618 JPEG_PLUGIN_FALSE=
20619 fi
20620
20621 if test "$use_jpeg" = yes; then
20622
20623 $as_echo "#define USE_JPEG 1" >>confdefs.h
20624
20625 fi
20626
20627 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
20628 set dummy gtk-update-icon-cache; ac_word=$2
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20630 $as_echo_n "checking for $ac_word... " >&6; }
20631 if ${ac_cv_path_UPDATE_ICON_CACHE+:} false; then :
20632 $as_echo_n "(cached) " >&6
20633 else
20634 case $UPDATE_ICON_CACHE in
20635 [\\/]* | ?:[\\/]*)
20636 ac_cv_path_UPDATE_ICON_CACHE="$UPDATE_ICON_CACHE" # Let the user override the test with a path.
20637 ;;
20638 *)
20639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20640 for as_dir in $PATH
20641 do
20642 IFS=$as_save_IFS
20643 test -z "$as_dir" && as_dir=.
20644 for ac_exec_ext in '' $ac_executable_extensions; do
20645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20646 ac_cv_path_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
20647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20648 break 2
20649 fi
20650 done
20651 done
20652 IFS=$as_save_IFS
20653
20654 ;;
20655 esac
20656 fi
20657 UPDATE_ICON_CACHE=$ac_cv_path_UPDATE_ICON_CACHE
20658 if test -n "$UPDATE_ICON_CACHE"; then
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_ICON_CACHE" >&5
20660 $as_echo "$UPDATE_ICON_CACHE" >&6; }
20661 else
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20663 $as_echo "no" >&6; }
20664 fi
20665
20666
20667
20668 ac_config_files="$ac_config_files compiz-text.pc compiz-mousepoll.pc compiz-focuspoll.pc compiz-animation.pc data/Makefile data/filters/Makefile images/Makefile images/Default/Makefile Makefile icons/Makefile metadata/Makefile include/Makefile src/Makefile src/animation/Makefile src/colorfilter/Makefile src/expo/Makefile src/ezoom/Makefile src/jpeg/Makefile src/mag/Makefile src/mousepoll/Makefile src/focuspoll/Makefile src/neg/Makefile src/opacify/Makefile src/put/Makefile src/resizeinfo/Makefile src/ring/Makefile src/scaleaddon/Makefile src/session/Makefile src/shift/Makefile src/snap/Makefile src/staticswitcher/Makefile src/text/Makefile src/thumbnail/Makefile src/titleinfo/Makefile src/vpswitch/Makefile src/winrules/Makefile src/workarounds/Makefile po/Makefile.in"
20669
20670 cat >confcache <<\_ACEOF
20671 # This file is a shell script that caches the results of configure
20672 # tests run on this system so they can be shared between configure
20673 # scripts and configure runs, see configure's option --config-cache.
20674 # It is not useful on other systems. If it contains results you don't
20675 # want to keep, you may remove or edit it.
20676 #
20677 # config.status only pays attention to the cache file if you give it
20678 # the --recheck option to rerun configure.
20679 #
20680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20682 # following values.
20683
20684 _ACEOF
20685
20686 # The following way of writing the cache mishandles newlines in values,
20687 # but we know of no workaround that is simple, portable, and efficient.
20688 # So, we kill variables containing newlines.
20689 # Ultrix sh set writes to stderr and can't be redirected directly,
20690 # and sets the high bit in the cache file unless we assign to the vars.
20691 (
20692 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20693 eval ac_val=\$$ac_var
20694 case $ac_val in #(
20695 *${as_nl}*)
20696 case $ac_var in #(
20697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20699 esac
20700 case $ac_var in #(
20701 _ | IFS | as_nl) ;; #(
20702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20703 *) { eval $ac_var=; unset $ac_var;} ;;
20704 esac ;;
20705 esac
20706 done
20707
20708 (set) 2>&1 |
20709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20710 *${as_nl}ac_space=\ *)
20711 # `set' does not quote correctly, so add quotes: double-quote
20712 # substitution turns \\\\ into \\, and sed turns \\ into \.
20713 sed -n \
20714 "s/'/'\\\\''/g;
20715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20716 ;; #(
20717 *)
20718 # `set' quotes correctly as required by POSIX, so do not add quotes.
20719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20720 ;;
20721 esac |
20722 sort
20723 ) |
20724 sed '
20725 /^ac_cv_env_/b end
20726 t clear
20727 :clear
20728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20729 t end
20730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20731 :end' >>confcache
20732 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20733 if test -w "$cache_file"; then
20734 if test "x$cache_file" != "x/dev/null"; then
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20736 $as_echo "$as_me: updating cache $cache_file" >&6;}
20737 if test ! -f "$cache_file" || test -h "$cache_file"; then
20738 cat confcache >"$cache_file"
20739 else
20740 case $cache_file in #(
20741 */* | ?:*)
20742 mv -f confcache "$cache_file"$$ &&
20743 mv -f "$cache_file"$$ "$cache_file" ;; #(
20744 *)
20745 mv -f confcache "$cache_file" ;;
20746 esac
20747 fi
20748 fi
20749 else
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20751 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20752 fi
20753 fi
20754 rm -f confcache
20755
20756 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20757 # Let make expand exec_prefix.
20758 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20759
20760 DEFS=-DHAVE_CONFIG_H
20761
20762 ac_libobjs=
20763 ac_ltlibobjs=
20764 U=
20765 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20766 # 1. Remove the extension, and $U if already installed.
20767 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20768 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20769 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20770 # will be set to the directory where LIBOBJS objects are built.
20771 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20772 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20773 done
20774 LIBOBJS=$ac_libobjs
20775
20776 LTLIBOBJS=$ac_ltlibobjs
20777
20778
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20780 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20781 if test -n "$am_sleep_pid"; then
20782 # Hide warnings about reused PIDs.
20783 wait $am_sleep_pid 2>/dev/null
20784 fi
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20786 $as_echo "done" >&6; }
20787 if test -n "$EXEEXT"; then
20788 am__EXEEXT_TRUE=
20789 am__EXEEXT_FALSE='#'
20790 else
20791 am__EXEEXT_TRUE='#'
20792 am__EXEEXT_FALSE=
20793 fi
20794
20795 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20796 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
20797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20798 fi
20799 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20800 as_fn_error $? "conditional \"AMDEP\" was never defined.
20801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20802 fi
20803 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20804 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20806 fi
20807 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20808 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20810 fi
20811 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20812 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20814 fi
20815
20816 ac_config_commands="$ac_config_commands po/stamp-it"
20817
20818
20819
20820 if test -z "${FOCUSPOLL_PLUGIN_TRUE}" && test -z "${FOCUSPOLL_PLUGIN_FALSE}"; then
20821 as_fn_error $? "conditional \"FOCUSPOLL_PLUGIN\" was never defined.
20822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20823 fi
20824 if test -z "${TEXT_PLUGIN_TRUE}" && test -z "${TEXT_PLUGIN_FALSE}"; then
20825 as_fn_error $? "conditional \"TEXT_PLUGIN\" was never defined.
20826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20827 fi
20828 if test -z "${RESIZEINFO_PLUGIN_TRUE}" && test -z "${RESIZEINFO_PLUGIN_FALSE}"; then
20829 as_fn_error $? "conditional \"RESIZEINFO_PLUGIN\" was never defined.
20830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20831 fi
20832 if test -z "${SCALEADDON_PLUGIN_TRUE}" && test -z "${SCALEADDON_PLUGIN_FALSE}"; then
20833 as_fn_error $? "conditional \"SCALEADDON_PLUGIN\" was never defined.
20834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20835 fi
20836 if test -z "${JPEG_PLUGIN_TRUE}" && test -z "${JPEG_PLUGIN_FALSE}"; then
20837 as_fn_error $? "conditional \"JPEG_PLUGIN\" was never defined.
20838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20839 fi
20840
20841 : "${CONFIG_STATUS=./config.status}"
20842 ac_write_fail=0
20843 ac_clean_files_save=$ac_clean_files
20844 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20846 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20847 as_write_fail=0
20848 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20849 #! $SHELL
20850 # Generated by $as_me.
20851 # Run this file to recreate the current configuration.
20852 # Compiler output produced by configure, useful for debugging
20853 # configure, is in config.log if it exists.
20854
20855 debug=false
20856 ac_cs_recheck=false
20857 ac_cs_silent=false
20858
20859 SHELL=\${CONFIG_SHELL-$SHELL}
20860 export SHELL
20861 _ASEOF
20862 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20863 ## -------------------- ##
20864 ## M4sh Initialization. ##
20865 ## -------------------- ##
20866
20867 # Be more Bourne compatible
20868 DUALCASE=1; export DUALCASE # for MKS sh
20869 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20870 emulate sh
20871 NULLCMD=:
20872 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20873 # is contrary to our usage. Disable this feature.
20874 alias -g '${1+"$@"}'='"$@"'
20875 setopt NO_GLOB_SUBST
20876 else
20877 case `(set -o) 2>/dev/null` in #(
20878 *posix*) :
20879 set -o posix ;; #(
20880 *) :
20881 ;;
20882 esac
20883 fi
20884
20885
20886 as_nl='
20887 '
20888 export as_nl
20889 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20890 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20891 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20893 # Prefer a ksh shell builtin over an external printf program on Solaris,
20894 # but without wasting forks for bash or zsh.
20895 if test -z "$BASH_VERSION$ZSH_VERSION" \
20896 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20897 as_echo='print -r --'
20898 as_echo_n='print -rn --'
20899 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20900 as_echo='printf %s\n'
20901 as_echo_n='printf %s'
20902 else
20903 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20904 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20905 as_echo_n='/usr/ucb/echo -n'
20906 else
20907 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20908 as_echo_n_body='eval
20909 arg=$1;
20910 case $arg in #(
20911 *"$as_nl"*)
20912 expr "X$arg" : "X\\(.*\\)$as_nl";
20913 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20914 esac;
20915 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20916 '
20917 export as_echo_n_body
20918 as_echo_n='sh -c $as_echo_n_body as_echo'
20919 fi
20920 export as_echo_body
20921 as_echo='sh -c $as_echo_body as_echo'
20922 fi
20923
20924 # The user is always right.
20925 if test "${PATH_SEPARATOR+set}" != set; then
20926 PATH_SEPARATOR=:
20927 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20928 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20929 PATH_SEPARATOR=';'
20930 }
20931 fi
20932
20933
20934 # IFS
20935 # We need space, tab and new line, in precisely that order. Quoting is
20936 # there to prevent editors from complaining about space-tab.
20937 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20938 # splitting by setting IFS to empty value.)
20939 IFS=" "" $as_nl"
20940
20941 # Find who we are. Look in the path if we contain no directory separator.
20942 as_myself=
20943 case $0 in #((
20944 *[\\/]* ) as_myself=$0 ;;
20945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20946 for as_dir in $PATH
20947 do
20948 IFS=$as_save_IFS
20949 test -z "$as_dir" && as_dir=.
20950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20951 done
20952 IFS=$as_save_IFS
20953
20954 ;;
20955 esac
20956 # We did not find ourselves, most probably we were run as `sh COMMAND'
20957 # in which case we are not to be found in the path.
20958 if test "x$as_myself" = x; then
20959 as_myself=$0
20960 fi
20961 if test ! -f "$as_myself"; then
20962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20963 exit 1
20964 fi
20965
20966 # Unset variables that we do not need and which cause bugs (e.g. in
20967 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20968 # suppresses any "Segmentation fault" message there. '((' could
20969 # trigger a bug in pdksh 5.2.14.
20970 for as_var in BASH_ENV ENV MAIL MAILPATH
20971 do eval test x\${$as_var+set} = xset \
20972 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20973 done
20974 PS1='$ '
20975 PS2='> '
20976 PS4='+ '
20977
20978 # NLS nuisances.
20979 LC_ALL=C
20980 export LC_ALL
20981 LANGUAGE=C
20982 export LANGUAGE
20983
20984 # CDPATH.
20985 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20986
20987
20988 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20989 # ----------------------------------------
20990 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20991 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20992 # script with STATUS, using 1 if that was 0.
20993 as_fn_error ()
20994 {
20995 as_status=$1; test $as_status -eq 0 && as_status=1
20996 if test "$4"; then
20997 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20998 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20999 fi
21000 $as_echo "$as_me: error: $2" >&2
21001 as_fn_exit $as_status
21002 } # as_fn_error
21003
21004
21005 # as_fn_set_status STATUS
21006 # -----------------------
21007 # Set $? to STATUS, without forking.
21008 as_fn_set_status ()
21009 {
21010 return $1
21011 } # as_fn_set_status
21012
21013 # as_fn_exit STATUS
21014 # -----------------
21015 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21016 as_fn_exit ()
21017 {
21018 set +e
21019 as_fn_set_status $1
21020 exit $1
21021 } # as_fn_exit
21022
21023 # as_fn_unset VAR
21024 # ---------------
21025 # Portably unset VAR.
21026 as_fn_unset ()
21027 {
21028 { eval $1=; unset $1;}
21029 }
21030 as_unset=as_fn_unset
21031 # as_fn_append VAR VALUE
21032 # ----------------------
21033 # Append the text in VALUE to the end of the definition contained in VAR. Take
21034 # advantage of any shell optimizations that allow amortized linear growth over
21035 # repeated appends, instead of the typical quadratic growth present in naive
21036 # implementations.
21037 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21038 eval 'as_fn_append ()
21039 {
21040 eval $1+=\$2
21041 }'
21042 else
21043 as_fn_append ()
21044 {
21045 eval $1=\$$1\$2
21046 }
21047 fi # as_fn_append
21048
21049 # as_fn_arith ARG...
21050 # ------------------
21051 # Perform arithmetic evaluation on the ARGs, and store the result in the
21052 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21053 # must be portable across $(()) and expr.
21054 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21055 eval 'as_fn_arith ()
21056 {
21057 as_val=$(( $* ))
21058 }'
21059 else
21060 as_fn_arith ()
21061 {
21062 as_val=`expr "$@" || test $? -eq 1`
21063 }
21064 fi # as_fn_arith
21065
21066
21067 if expr a : '\(a\)' >/dev/null 2>&1 &&
21068 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21069 as_expr=expr
21070 else
21071 as_expr=false
21072 fi
21073
21074 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21075 as_basename=basename
21076 else
21077 as_basename=false
21078 fi
21079
21080 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21081 as_dirname=dirname
21082 else
21083 as_dirname=false
21084 fi
21085
21086 as_me=`$as_basename -- "$0" ||
21087 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21088 X"$0" : 'X\(//\)$' \| \
21089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21090 $as_echo X/"$0" |
21091 sed '/^.*\/\([^/][^/]*\)\/*$/{
21092 s//\1/
21093 q
21094 }
21095 /^X\/\(\/\/\)$/{
21096 s//\1/
21097 q
21098 }
21099 /^X\/\(\/\).*/{
21100 s//\1/
21101 q
21102 }
21103 s/.*/./; q'`
21104
21105 # Avoid depending upon Character Ranges.
21106 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21107 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21108 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21109 as_cr_digits='0123456789'
21110 as_cr_alnum=$as_cr_Letters$as_cr_digits
21111
21112 ECHO_C= ECHO_N= ECHO_T=
21113 case `echo -n x` in #(((((
21114 -n*)
21115 case `echo 'xy\c'` in
21116 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21117 xy) ECHO_C='\c';;
21118 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21119 ECHO_T=' ';;
21120 esac;;
21121 *)
21122 ECHO_N='-n';;
21123 esac
21124
21125 rm -f conf$$ conf$$.exe conf$$.file
21126 if test -d conf$$.dir; then
21127 rm -f conf$$.dir/conf$$.file
21128 else
21129 rm -f conf$$.dir
21130 mkdir conf$$.dir 2>/dev/null
21131 fi
21132 if (echo >conf$$.file) 2>/dev/null; then
21133 if ln -s conf$$.file conf$$ 2>/dev/null; then
21134 as_ln_s='ln -s'
21135 # ... but there are two gotchas:
21136 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21137 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21138 # In both cases, we have to default to `cp -pR'.
21139 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21140 as_ln_s='cp -pR'
21141 elif ln conf$$.file conf$$ 2>/dev/null; then
21142 as_ln_s=ln
21143 else
21144 as_ln_s='cp -pR'
21145 fi
21146 else
21147 as_ln_s='cp -pR'
21148 fi
21149 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21150 rmdir conf$$.dir 2>/dev/null
21151
21152
21153 # as_fn_mkdir_p
21154 # -------------
21155 # Create "$as_dir" as a directory, including parents if necessary.
21156 as_fn_mkdir_p ()
21157 {
21158
21159 case $as_dir in #(
21160 -*) as_dir=./$as_dir;;
21161 esac
21162 test -d "$as_dir" || eval $as_mkdir_p || {
21163 as_dirs=
21164 while :; do
21165 case $as_dir in #(
21166 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21167 *) as_qdir=$as_dir;;
21168 esac
21169 as_dirs="'$as_qdir' $as_dirs"
21170 as_dir=`$as_dirname -- "$as_dir" ||
21171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21172 X"$as_dir" : 'X\(//\)[^/]' \| \
21173 X"$as_dir" : 'X\(//\)$' \| \
21174 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21175 $as_echo X"$as_dir" |
21176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21177 s//\1/
21178 q
21179 }
21180 /^X\(\/\/\)[^/].*/{
21181 s//\1/
21182 q
21183 }
21184 /^X\(\/\/\)$/{
21185 s//\1/
21186 q
21187 }
21188 /^X\(\/\).*/{
21189 s//\1/
21190 q
21191 }
21192 s/.*/./; q'`
21193 test -d "$as_dir" && break
21194 done
21195 test -z "$as_dirs" || eval "mkdir $as_dirs"
21196 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21197
21198
21199 } # as_fn_mkdir_p
21200 if mkdir -p . 2>/dev/null; then
21201 as_mkdir_p='mkdir -p "$as_dir"'
21202 else
21203 test -d ./-p && rmdir ./-p
21204 as_mkdir_p=false
21205 fi
21206
21207
21208 # as_fn_executable_p FILE
21209 # -----------------------
21210 # Test if FILE is an executable regular file.
21211 as_fn_executable_p ()
21212 {
21213 test -f "$1" && test -x "$1"
21214 } # as_fn_executable_p
21215 as_test_x='test -x'
21216 as_executable_p=as_fn_executable_p
21217
21218 # Sed expression to map a string onto a valid CPP name.
21219 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21220
21221 # Sed expression to map a string onto a valid variable name.
21222 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21223
21224
21225 exec 6>&1
21226 ## ----------------------------------- ##
21227 ## Main body of $CONFIG_STATUS script. ##
21228 ## ----------------------------------- ##
21229 _ASEOF
21230 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21231
21232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21233 # Save the log message, to keep $0 and so on meaningful, and to
21234 # report actual input values of CONFIG_FILES etc. instead of their
21235 # values after options handling.
21236 ac_log="
21237 This file was extended by compiz-plugins-main $as_me 0.8.18, which was
21238 generated by GNU Autoconf 2.69. Invocation command line was
21239
21240 CONFIG_FILES = $CONFIG_FILES
21241 CONFIG_HEADERS = $CONFIG_HEADERS
21242 CONFIG_LINKS = $CONFIG_LINKS
21243 CONFIG_COMMANDS = $CONFIG_COMMANDS
21244 $ $0 $@
21245
21246 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21247 "
21248
21249 _ACEOF
21250
21251 case $ac_config_files in *"
21252 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21253 esac
21254
21255 case $ac_config_headers in *"
21256 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21257 esac
21258
21259
21260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21261 # Files that config.status was made for.
21262 config_files="$ac_config_files"
21263 config_headers="$ac_config_headers"
21264 config_commands="$ac_config_commands"
21265
21266 _ACEOF
21267
21268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21269 ac_cs_usage="\
21270 \`$as_me' instantiates files and other configuration actions
21271 from templates according to the current configuration. Unless the files
21272 and actions are specified as TAGs, all are instantiated by default.
21273
21274 Usage: $0 [OPTION]... [TAG]...
21275
21276 -h, --help print this help, then exit
21277 -V, --version print version number and configuration settings, then exit
21278 --config print configuration, then exit
21279 -q, --quiet, --silent
21280 do not print progress messages
21281 -d, --debug don't remove temporary files
21282 --recheck update $as_me by reconfiguring in the same conditions
21283 --file=FILE[:TEMPLATE]
21284 instantiate the configuration file FILE
21285 --header=FILE[:TEMPLATE]
21286 instantiate the configuration header FILE
21287
21288 Configuration files:
21289 $config_files
21290
21291 Configuration headers:
21292 $config_headers
21293
21294 Configuration commands:
21295 $config_commands
21296
21297 Report bugs to <[email protected]>."
21298
21299 _ACEOF
21300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21301 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21302 ac_cs_version="\\
21303 compiz-plugins-main config.status 0.8.18
21304 configured by $0, generated by GNU Autoconf 2.69,
21305 with options \\"\$ac_cs_config\\"
21306
21307 Copyright (C) 2012 Free Software Foundation, Inc.
21308 This config.status script is free software; the Free Software Foundation
21309 gives unlimited permission to copy, distribute and modify it."
21310
21311 ac_pwd='$ac_pwd'
21312 srcdir='$srcdir'
21313 INSTALL='$INSTALL'
21314 MKDIR_P='$MKDIR_P'
21315 AWK='$AWK'
21316 test -n "\$AWK" || AWK=awk
21317 _ACEOF
21318
21319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21320 # The default lists apply if the user does not specify any file.
21321 ac_need_defaults=:
21322 while test $# != 0
21323 do
21324 case $1 in
21325 --*=?*)
21326 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21327 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21328 ac_shift=:
21329 ;;
21330 --*=)
21331 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21332 ac_optarg=
21333 ac_shift=:
21334 ;;
21335 *)
21336 ac_option=$1
21337 ac_optarg=$2
21338 ac_shift=shift
21339 ;;
21340 esac
21341
21342 case $ac_option in
21343 # Handling of the options.
21344 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21345 ac_cs_recheck=: ;;
21346 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21347 $as_echo "$ac_cs_version"; exit ;;
21348 --config | --confi | --conf | --con | --co | --c )
21349 $as_echo "$ac_cs_config"; exit ;;
21350 --debug | --debu | --deb | --de | --d | -d )
21351 debug=: ;;
21352 --file | --fil | --fi | --f )
21353 $ac_shift
21354 case $ac_optarg in
21355 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21356 '') as_fn_error $? "missing file argument" ;;
21357 esac
21358 as_fn_append CONFIG_FILES " '$ac_optarg'"
21359 ac_need_defaults=false;;
21360 --header | --heade | --head | --hea )
21361 $ac_shift
21362 case $ac_optarg in
21363 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21364 esac
21365 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21366 ac_need_defaults=false;;
21367 --he | --h)
21368 # Conflict between --help and --header
21369 as_fn_error $? "ambiguous option: \`$1'
21370 Try \`$0 --help' for more information.";;
21371 --help | --hel | -h )
21372 $as_echo "$ac_cs_usage"; exit ;;
21373 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21374 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21375 ac_cs_silent=: ;;
21376
21377 # This is an error.
21378 -*) as_fn_error $? "unrecognized option: \`$1'
21379 Try \`$0 --help' for more information." ;;
21380
21381 *) as_fn_append ac_config_targets " $1"
21382 ac_need_defaults=false ;;
21383
21384 esac
21385 shift
21386 done
21387
21388 ac_configure_extra_args=
21389
21390 if $ac_cs_silent; then
21391 exec 6>/dev/null
21392 ac_configure_extra_args="$ac_configure_extra_args --silent"
21393 fi
21394
21395 _ACEOF
21396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21397 if \$ac_cs_recheck; then
21398 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21399 shift
21400 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21401 CONFIG_SHELL='$SHELL'
21402 export CONFIG_SHELL
21403 exec "\$@"
21404 fi
21405
21406 _ACEOF
21407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21408 exec 5>>config.log
21409 {
21410 echo
21411 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21412 ## Running $as_me. ##
21413 _ASBOX
21414 $as_echo "$ac_log"
21415 } >&5
21416
21417 _ACEOF
21418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21419 #
21420 # INIT-COMMANDS
21421 #
21422 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21423
21424
21425 # The HP-UX ksh and POSIX shell print the target directory to stdout
21426 # if CDPATH is set.
21427 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21428
21429 sed_quote_subst='$sed_quote_subst'
21430 double_quote_subst='$double_quote_subst'
21431 delay_variable_subst='$delay_variable_subst'
21432 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21433 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21434 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21435 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21436 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21437 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21438 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
21439 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21440 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21441 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21442 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21443 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21444 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21445 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21446 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21447 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21448 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21449 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21450 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21451 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21452 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21453 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21454 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21455 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21456 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21457 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21458 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21459 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21460 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21461 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21462 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21463 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21464 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21465 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21466 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21467 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21468 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21469 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21470 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21471 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21472 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21473 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21474 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21475 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21476 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21477 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21478 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21479 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21480 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21481 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21482 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21483 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21484 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21485 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21486 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21487 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21488 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21489 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21490 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"`'
21491 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
21492 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21493 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21494 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
21495 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21496 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21497 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21498 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21499 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21500 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21501 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21502 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21503 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21504 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21505 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21506 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21507 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21508 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21509 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21510 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21511 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21512 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21513 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21514 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21515 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21516 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21517 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21518 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21519 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21520 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21521 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21522 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21523 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21524 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21525 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21526 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21527 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21528 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21529 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21530 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21531 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21532 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21533 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21534 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21535 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21536 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21537 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21538 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21539 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21540 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21541 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21542 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21543 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21544 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21545 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21546 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21547 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21548 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21549 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21550 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21551 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21552 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21553 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21554 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21555 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21556 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21557 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21558 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21559 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
21560 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
21561 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21562 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21563 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21564 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21565 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21566 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21567 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21568 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21569 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21570 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21571 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21572 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21573 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21574 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21575 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21576 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21577 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21578 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21579 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21580 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21581 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21582 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21583 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21584 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21585 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21586 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21587 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21588 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21589 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21590 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21591 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21592 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21593 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21594 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21595 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21596 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21597 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21598 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21599 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21600 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21601 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21602 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21603 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21604 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21605 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21606 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21607 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21608 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21609 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21610 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21611 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21612 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21613 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21614 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21615 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21616 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21617 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21618 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21619 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21620 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21621
21622 LTCC='$LTCC'
21623 LTCFLAGS='$LTCFLAGS'
21624 compiler='$compiler_DEFAULT'
21625
21626 # A function that is used when there is no print builtin or printf.
21627 func_fallback_echo ()
21628 {
21629 eval 'cat <<_LTECHO_EOF
21630 \$1
21631 _LTECHO_EOF'
21632 }
21633
21634 # Quote evaled strings.
21635 for var in SHELL \
21636 ECHO \
21637 PATH_SEPARATOR \
21638 SED \
21639 GREP \
21640 EGREP \
21641 FGREP \
21642 LD \
21643 NM \
21644 LN_S \
21645 lt_SP2NL \
21646 lt_NL2SP \
21647 reload_flag \
21648 OBJDUMP \
21649 deplibs_check_method \
21650 file_magic_cmd \
21651 file_magic_glob \
21652 want_nocaseglob \
21653 DLLTOOL \
21654 sharedlib_from_linklib_cmd \
21655 AR \
21656 AR_FLAGS \
21657 archiver_list_spec \
21658 STRIP \
21659 RANLIB \
21660 CC \
21661 CFLAGS \
21662 compiler \
21663 lt_cv_sys_global_symbol_pipe \
21664 lt_cv_sys_global_symbol_to_cdecl \
21665 lt_cv_sys_global_symbol_to_import \
21666 lt_cv_sys_global_symbol_to_c_name_address \
21667 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21668 lt_cv_nm_interface \
21669 nm_file_list_spec \
21670 lt_cv_truncate_bin \
21671 lt_prog_compiler_no_builtin_flag \
21672 lt_prog_compiler_pic \
21673 lt_prog_compiler_wl \
21674 lt_prog_compiler_static \
21675 lt_cv_prog_compiler_c_o \
21676 need_locks \
21677 MANIFEST_TOOL \
21678 DSYMUTIL \
21679 NMEDIT \
21680 LIPO \
21681 OTOOL \
21682 OTOOL64 \
21683 shrext_cmds \
21684 export_dynamic_flag_spec \
21685 whole_archive_flag_spec \
21686 compiler_needs_object \
21687 with_gnu_ld \
21688 allow_undefined_flag \
21689 no_undefined_flag \
21690 hardcode_libdir_flag_spec \
21691 hardcode_libdir_separator \
21692 exclude_expsyms \
21693 include_expsyms \
21694 file_list_spec \
21695 variables_saved_for_relink \
21696 libname_spec \
21697 library_names_spec \
21698 soname_spec \
21699 install_override_mode \
21700 finish_eval \
21701 old_striplib \
21702 striplib \
21703 compiler_lib_search_dirs \
21704 predep_objects \
21705 postdep_objects \
21706 predeps \
21707 postdeps \
21708 compiler_lib_search_path \
21709 LD_CXX \
21710 reload_flag_CXX \
21711 compiler_CXX \
21712 lt_prog_compiler_no_builtin_flag_CXX \
21713 lt_prog_compiler_pic_CXX \
21714 lt_prog_compiler_wl_CXX \
21715 lt_prog_compiler_static_CXX \
21716 lt_cv_prog_compiler_c_o_CXX \
21717 export_dynamic_flag_spec_CXX \
21718 whole_archive_flag_spec_CXX \
21719 compiler_needs_object_CXX \
21720 with_gnu_ld_CXX \
21721 allow_undefined_flag_CXX \
21722 no_undefined_flag_CXX \
21723 hardcode_libdir_flag_spec_CXX \
21724 hardcode_libdir_separator_CXX \
21725 exclude_expsyms_CXX \
21726 include_expsyms_CXX \
21727 file_list_spec_CXX \
21728 compiler_lib_search_dirs_CXX \
21729 predep_objects_CXX \
21730 postdep_objects_CXX \
21731 predeps_CXX \
21732 postdeps_CXX \
21733 compiler_lib_search_path_CXX; do
21734 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21735 *[\\\\\\\`\\"\\\$]*)
21736 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21737 ;;
21738 *)
21739 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21740 ;;
21741 esac
21742 done
21743
21744 # Double-quote double-evaled strings.
21745 for var in reload_cmds \
21746 old_postinstall_cmds \
21747 old_postuninstall_cmds \
21748 old_archive_cmds \
21749 extract_expsyms_cmds \
21750 old_archive_from_new_cmds \
21751 old_archive_from_expsyms_cmds \
21752 archive_cmds \
21753 archive_expsym_cmds \
21754 module_cmds \
21755 module_expsym_cmds \
21756 export_symbols_cmds \
21757 prelink_cmds \
21758 postlink_cmds \
21759 postinstall_cmds \
21760 postuninstall_cmds \
21761 finish_cmds \
21762 sys_lib_search_path_spec \
21763 configure_time_dlsearch_path \
21764 configure_time_lt_sys_library_path \
21765 reload_cmds_CXX \
21766 old_archive_cmds_CXX \
21767 old_archive_from_new_cmds_CXX \
21768 old_archive_from_expsyms_cmds_CXX \
21769 archive_cmds_CXX \
21770 archive_expsym_cmds_CXX \
21771 module_cmds_CXX \
21772 module_expsym_cmds_CXX \
21773 export_symbols_cmds_CXX \
21774 prelink_cmds_CXX \
21775 postlink_cmds_CXX; do
21776 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21777 *[\\\\\\\`\\"\\\$]*)
21778 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21779 ;;
21780 *)
21781 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21782 ;;
21783 esac
21784 done
21785
21786 ac_aux_dir='$ac_aux_dir'
21787
21788 # See if we are running on zsh, and set the options that allow our
21789 # commands through without removal of \ escapes INIT.
21790 if test -n "\${ZSH_VERSION+set}"; then
21791 setopt NO_GLOB_SUBST
21792 fi
21793
21794
21795 PACKAGE='$PACKAGE'
21796 VERSION='$VERSION'
21797 RM='$RM'
21798 ofile='$ofile'
21799
21800
21801
21802
21803
21804 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
21805 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
21806 # from automake < 1.5.
21807 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
21808 # Capture the value of LINGUAS because we need it to compute CATALOGS.
21809 LINGUAS="${LINGUAS-%UNSET%}"
21810
21811
21812 _ACEOF
21813
21814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21815
21816 # Handling of arguments.
21817 for ac_config_target in $ac_config_targets
21818 do
21819 case $ac_config_target in
21820 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21821 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21822 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21823 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
21824 "compiz-text.pc") CONFIG_FILES="$CONFIG_FILES compiz-text.pc" ;;
21825 "compiz-mousepoll.pc") CONFIG_FILES="$CONFIG_FILES compiz-mousepoll.pc" ;;
21826 "compiz-focuspoll.pc") CONFIG_FILES="$CONFIG_FILES compiz-focuspoll.pc" ;;
21827 "compiz-animation.pc") CONFIG_FILES="$CONFIG_FILES compiz-animation.pc" ;;
21828 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
21829 "data/filters/Makefile") CONFIG_FILES="$CONFIG_FILES data/filters/Makefile" ;;
21830 "images/Makefile") CONFIG_FILES="$CONFIG_FILES images/Makefile" ;;
21831 "images/Default/Makefile") CONFIG_FILES="$CONFIG_FILES images/Default/Makefile" ;;
21832 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21833 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
21834 "metadata/Makefile") CONFIG_FILES="$CONFIG_FILES metadata/Makefile" ;;
21835 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21836 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21837 "src/animation/Makefile") CONFIG_FILES="$CONFIG_FILES src/animation/Makefile" ;;
21838 "src/colorfilter/Makefile") CONFIG_FILES="$CONFIG_FILES src/colorfilter/Makefile" ;;
21839 "src/expo/Makefile") CONFIG_FILES="$CONFIG_FILES src/expo/Makefile" ;;
21840 "src/ezoom/Makefile") CONFIG_FILES="$CONFIG_FILES src/ezoom/Makefile" ;;
21841 "src/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/jpeg/Makefile" ;;
21842 "src/mag/Makefile") CONFIG_FILES="$CONFIG_FILES src/mag/Makefile" ;;
21843 "src/mousepoll/Makefile") CONFIG_FILES="$CONFIG_FILES src/mousepoll/Makefile" ;;
21844 "src/focuspoll/Makefile") CONFIG_FILES="$CONFIG_FILES src/focuspoll/Makefile" ;;
21845 "src/neg/Makefile") CONFIG_FILES="$CONFIG_FILES src/neg/Makefile" ;;
21846 "src/opacify/Makefile") CONFIG_FILES="$CONFIG_FILES src/opacify/Makefile" ;;
21847 "src/put/Makefile") CONFIG_FILES="$CONFIG_FILES src/put/Makefile" ;;
21848 "src/resizeinfo/Makefile") CONFIG_FILES="$CONFIG_FILES src/resizeinfo/Makefile" ;;
21849 "src/ring/Makefile") CONFIG_FILES="$CONFIG_FILES src/ring/Makefile" ;;
21850 "src/scaleaddon/Makefile") CONFIG_FILES="$CONFIG_FILES src/scaleaddon/Makefile" ;;
21851 "src/session/Makefile") CONFIG_FILES="$CONFIG_FILES src/session/Makefile" ;;
21852 "src/shift/Makefile") CONFIG_FILES="$CONFIG_FILES src/shift/Makefile" ;;
21853 "src/snap/Makefile") CONFIG_FILES="$CONFIG_FILES src/snap/Makefile" ;;
21854 "src/staticswitcher/Makefile") CONFIG_FILES="$CONFIG_FILES src/staticswitcher/Makefile" ;;
21855 "src/text/Makefile") CONFIG_FILES="$CONFIG_FILES src/text/Makefile" ;;
21856 "src/thumbnail/Makefile") CONFIG_FILES="$CONFIG_FILES src/thumbnail/Makefile" ;;
21857 "src/titleinfo/Makefile") CONFIG_FILES="$CONFIG_FILES src/titleinfo/Makefile" ;;
21858 "src/vpswitch/Makefile") CONFIG_FILES="$CONFIG_FILES src/vpswitch/Makefile" ;;
21859 "src/winrules/Makefile") CONFIG_FILES="$CONFIG_FILES src/winrules/Makefile" ;;
21860 "src/workarounds/Makefile") CONFIG_FILES="$CONFIG_FILES src/workarounds/Makefile" ;;
21861 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
21862 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
21863
21864 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21865 esac
21866 done
21867
21868
21869 # If the user did not use the arguments to specify the items to instantiate,
21870 # then the envvar interface is used. Set only those that are not.
21871 # We use the long form for the default assignment because of an extremely
21872 # bizarre bug on SunOS 4.1.3.
21873 if $ac_need_defaults; then
21874 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21875 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21876 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21877 fi
21878
21879 # Have a temporary directory for convenience. Make it in the build tree
21880 # simply because there is no reason against having it here, and in addition,
21881 # creating and moving files from /tmp can sometimes cause problems.
21882 # Hook for its removal unless debugging.
21883 # Note that there is a small window in which the directory will not be cleaned:
21884 # after its creation but before its name has been assigned to `$tmp'.
21885 $debug ||
21886 {
21887 tmp= ac_tmp=
21888 trap 'exit_status=$?
21889 : "${ac_tmp:=$tmp}"
21890 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21891 ' 0
21892 trap 'as_fn_exit 1' 1 2 13 15
21893 }
21894 # Create a (secure) tmp directory for tmp files.
21895
21896 {
21897 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21898 test -d "$tmp"
21899 } ||
21900 {
21901 tmp=./conf$$-$RANDOM
21902 (umask 077 && mkdir "$tmp")
21903 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21904 ac_tmp=$tmp
21905
21906 # Set up the scripts for CONFIG_FILES section.
21907 # No need to generate them if there are no CONFIG_FILES.
21908 # This happens for instance with `./config.status config.h'.
21909 if test -n "$CONFIG_FILES"; then
21910
21911
21912 ac_cr=`echo X | tr X '\015'`
21913 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21914 # But we know of no other shell where ac_cr would be empty at this
21915 # point, so we can use a bashism as a fallback.
21916 if test "x$ac_cr" = x; then
21917 eval ac_cr=\$\'\\r\'
21918 fi
21919 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21920 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21921 ac_cs_awk_cr='\\r'
21922 else
21923 ac_cs_awk_cr=$ac_cr
21924 fi
21925
21926 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21927 _ACEOF
21928
21929
21930 {
21931 echo "cat >conf$$subs.awk <<_ACEOF" &&
21932 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21933 echo "_ACEOF"
21934 } >conf$$subs.sh ||
21935 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21936 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21937 ac_delim='%!_!# '
21938 for ac_last_try in false false false false false :; do
21939 . ./conf$$subs.sh ||
21940 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21941
21942 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21943 if test $ac_delim_n = $ac_delim_num; then
21944 break
21945 elif $ac_last_try; then
21946 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21947 else
21948 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21949 fi
21950 done
21951 rm -f conf$$subs.sh
21952
21953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21954 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21955 _ACEOF
21956 sed -n '
21957 h
21958 s/^/S["/; s/!.*/"]=/
21959 p
21960 g
21961 s/^[^!]*!//
21962 :repl
21963 t repl
21964 s/'"$ac_delim"'$//
21965 t delim
21966 :nl
21967 h
21968 s/\(.\{148\}\)..*/\1/
21969 t more1
21970 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21971 p
21972 n
21973 b repl
21974 :more1
21975 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21976 p
21977 g
21978 s/.\{148\}//
21979 t nl
21980 :delim
21981 h
21982 s/\(.\{148\}\)..*/\1/
21983 t more2
21984 s/["\\]/\\&/g; s/^/"/; s/$/"/
21985 p
21986 b
21987 :more2
21988 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21989 p
21990 g
21991 s/.\{148\}//
21992 t delim
21993 ' <conf$$subs.awk | sed '
21994 /^[^""]/{
21995 N
21996 s/\n//
21997 }
21998 ' >>$CONFIG_STATUS || ac_write_fail=1
21999 rm -f conf$$subs.awk
22000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22001 _ACAWK
22002 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22003 for (key in S) S_is_set[key] = 1
22004 FS = ""
22005
22006 }
22007 {
22008 line = $ 0
22009 nfields = split(line, field, "@")
22010 substed = 0
22011 len = length(field[1])
22012 for (i = 2; i < nfields; i++) {
22013 key = field[i]
22014 keylen = length(key)
22015 if (S_is_set[key]) {
22016 value = S[key]
22017 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22018 len += length(value) + length(field[++i])
22019 substed = 1
22020 } else
22021 len += 1 + keylen
22022 }
22023
22024 print line
22025 }
22026
22027 _ACAWK
22028 _ACEOF
22029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22030 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22031 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22032 else
22033 cat
22034 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22035 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22036 _ACEOF
22037
22038 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22039 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22040 # trailing colons and then remove the whole line if VPATH becomes empty
22041 # (actually we leave an empty line to preserve line numbers).
22042 if test "x$srcdir" = x.; then
22043 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22044 h
22045 s///
22046 s/^/:/
22047 s/[ ]*$/:/
22048 s/:\$(srcdir):/:/g
22049 s/:\${srcdir}:/:/g
22050 s/:@srcdir@:/:/g
22051 s/^:*//
22052 s/:*$//
22053 x
22054 s/\(=[ ]*\).*/\1/
22055 G
22056 s/\n//
22057 s/^[^=]*=[ ]*$//
22058 }'
22059 fi
22060
22061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22062 fi # test -n "$CONFIG_FILES"
22063
22064 # Set up the scripts for CONFIG_HEADERS section.
22065 # No need to generate them if there are no CONFIG_HEADERS.
22066 # This happens for instance with `./config.status Makefile'.
22067 if test -n "$CONFIG_HEADERS"; then
22068 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22069 BEGIN {
22070 _ACEOF
22071
22072 # Transform confdefs.h into an awk script `defines.awk', embedded as
22073 # here-document in config.status, that substitutes the proper values into
22074 # config.h.in to produce config.h.
22075
22076 # Create a delimiter string that does not exist in confdefs.h, to ease
22077 # handling of long lines.
22078 ac_delim='%!_!# '
22079 for ac_last_try in false false :; do
22080 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22081 if test -z "$ac_tt"; then
22082 break
22083 elif $ac_last_try; then
22084 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22085 else
22086 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22087 fi
22088 done
22089
22090 # For the awk script, D is an array of macro values keyed by name,
22091 # likewise P contains macro parameters if any. Preserve backslash
22092 # newline sequences.
22093
22094 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22095 sed -n '
22096 s/.\{148\}/&'"$ac_delim"'/g
22097 t rset
22098 :rset
22099 s/^[ ]*#[ ]*define[ ][ ]*/ /
22100 t def
22101 d
22102 :def
22103 s/\\$//
22104 t bsnl
22105 s/["\\]/\\&/g
22106 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22107 D["\1"]=" \3"/p
22108 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22109 d
22110 :bsnl
22111 s/["\\]/\\&/g
22112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22113 D["\1"]=" \3\\\\\\n"\\/p
22114 t cont
22115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22116 t cont
22117 d
22118 :cont
22119 n
22120 s/.\{148\}/&'"$ac_delim"'/g
22121 t clear
22122 :clear
22123 s/\\$//
22124 t bsnlc
22125 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22126 d
22127 :bsnlc
22128 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22129 b cont
22130 ' <confdefs.h | sed '
22131 s/'"$ac_delim"'/"\\\
22132 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22133
22134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22135 for (key in D) D_is_set[key] = 1
22136 FS = ""
22137 }
22138 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22139 line = \$ 0
22140 split(line, arg, " ")
22141 if (arg[1] == "#") {
22142 defundef = arg[2]
22143 mac1 = arg[3]
22144 } else {
22145 defundef = substr(arg[1], 2)
22146 mac1 = arg[2]
22147 }
22148 split(mac1, mac2, "(") #)
22149 macro = mac2[1]
22150 prefix = substr(line, 1, index(line, defundef) - 1)
22151 if (D_is_set[macro]) {
22152 # Preserve the white space surrounding the "#".
22153 print prefix "define", macro P[macro] D[macro]
22154 next
22155 } else {
22156 # Replace #undef with comments. This is necessary, for example,
22157 # in the case of _POSIX_SOURCE, which is predefined and required
22158 # on some systems where configure will not decide to define it.
22159 if (defundef == "undef") {
22160 print "/*", prefix defundef, macro, "*/"
22161 next
22162 }
22163 }
22164 }
22165 { print }
22166 _ACAWK
22167 _ACEOF
22168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22169 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22170 fi # test -n "$CONFIG_HEADERS"
22171
22172
22173 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22174 shift
22175 for ac_tag
22176 do
22177 case $ac_tag in
22178 :[FHLC]) ac_mode=$ac_tag; continue;;
22179 esac
22180 case $ac_mode$ac_tag in
22181 :[FHL]*:*);;
22182 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22183 :[FH]-) ac_tag=-:-;;
22184 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22185 esac
22186 ac_save_IFS=$IFS
22187 IFS=:
22188 set x $ac_tag
22189 IFS=$ac_save_IFS
22190 shift
22191 ac_file=$1
22192 shift
22193
22194 case $ac_mode in
22195 :L) ac_source=$1;;
22196 :[FH])
22197 ac_file_inputs=
22198 for ac_f
22199 do
22200 case $ac_f in
22201 -) ac_f="$ac_tmp/stdin";;
22202 *) # Look for the file first in the build tree, then in the source tree
22203 # (if the path is not absolute). The absolute path cannot be DOS-style,
22204 # because $ac_f cannot contain `:'.
22205 test -f "$ac_f" ||
22206 case $ac_f in
22207 [\\/$]*) false;;
22208 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22209 esac ||
22210 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22211 esac
22212 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22213 as_fn_append ac_file_inputs " '$ac_f'"
22214 done
22215
22216 # Let's still pretend it is `configure' which instantiates (i.e., don't
22217 # use $as_me), people would be surprised to read:
22218 # /* config.h. Generated by config.status. */
22219 configure_input='Generated from '`
22220 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22221 `' by configure.'
22222 if test x"$ac_file" != x-; then
22223 configure_input="$ac_file. $configure_input"
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22225 $as_echo "$as_me: creating $ac_file" >&6;}
22226 fi
22227 # Neutralize special characters interpreted by sed in replacement strings.
22228 case $configure_input in #(
22229 *\&* | *\|* | *\\* )
22230 ac_sed_conf_input=`$as_echo "$configure_input" |
22231 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22232 *) ac_sed_conf_input=$configure_input;;
22233 esac
22234
22235 case $ac_tag in
22236 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22237 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22238 esac
22239 ;;
22240 esac
22241
22242 ac_dir=`$as_dirname -- "$ac_file" ||
22243 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22244 X"$ac_file" : 'X\(//\)[^/]' \| \
22245 X"$ac_file" : 'X\(//\)$' \| \
22246 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22247 $as_echo X"$ac_file" |
22248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22249 s//\1/
22250 q
22251 }
22252 /^X\(\/\/\)[^/].*/{
22253 s//\1/
22254 q
22255 }
22256 /^X\(\/\/\)$/{
22257 s//\1/
22258 q
22259 }
22260 /^X\(\/\).*/{
22261 s//\1/
22262 q
22263 }
22264 s/.*/./; q'`
22265 as_dir="$ac_dir"; as_fn_mkdir_p
22266 ac_builddir=.
22267
22268 case "$ac_dir" in
22269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22270 *)
22271 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22272 # A ".." for each directory in $ac_dir_suffix.
22273 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22274 case $ac_top_builddir_sub in
22275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22277 esac ;;
22278 esac
22279 ac_abs_top_builddir=$ac_pwd
22280 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22281 # for backward compatibility:
22282 ac_top_builddir=$ac_top_build_prefix
22283
22284 case $srcdir in
22285 .) # We are building in place.
22286 ac_srcdir=.
22287 ac_top_srcdir=$ac_top_builddir_sub
22288 ac_abs_top_srcdir=$ac_pwd ;;
22289 [\\/]* | ?:[\\/]* ) # Absolute name.
22290 ac_srcdir=$srcdir$ac_dir_suffix;
22291 ac_top_srcdir=$srcdir
22292 ac_abs_top_srcdir=$srcdir ;;
22293 *) # Relative name.
22294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22295 ac_top_srcdir=$ac_top_build_prefix$srcdir
22296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22297 esac
22298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22299
22300
22301 case $ac_mode in
22302 :F)
22303 #
22304 # CONFIG_FILE
22305 #
22306
22307 case $INSTALL in
22308 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22309 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22310 esac
22311 ac_MKDIR_P=$MKDIR_P
22312 case $MKDIR_P in
22313 [\\/$]* | ?:[\\/]* ) ;;
22314 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22315 esac
22316 _ACEOF
22317
22318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22319 # If the template does not know about datarootdir, expand it.
22320 # FIXME: This hack should be removed a few years after 2.60.
22321 ac_datarootdir_hack=; ac_datarootdir_seen=
22322 ac_sed_dataroot='
22323 /datarootdir/ {
22324 p
22325 q
22326 }
22327 /@datadir@/p
22328 /@docdir@/p
22329 /@infodir@/p
22330 /@localedir@/p
22331 /@mandir@/p'
22332 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22333 *datarootdir*) ac_datarootdir_seen=yes;;
22334 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22336 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22337 _ACEOF
22338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22339 ac_datarootdir_hack='
22340 s&@datadir@&$datadir&g
22341 s&@docdir@&$docdir&g
22342 s&@infodir@&$infodir&g
22343 s&@localedir@&$localedir&g
22344 s&@mandir@&$mandir&g
22345 s&\\\${datarootdir}&$datarootdir&g' ;;
22346 esac
22347 _ACEOF
22348
22349 # Neutralize VPATH when `$srcdir' = `.'.
22350 # Shell code in configure.ac might set extrasub.
22351 # FIXME: do we really want to maintain this feature?
22352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22353 ac_sed_extra="$ac_vpsub
22354 $extrasub
22355 _ACEOF
22356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22357 :t
22358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22359 s|@configure_input@|$ac_sed_conf_input|;t t
22360 s&@top_builddir@&$ac_top_builddir_sub&;t t
22361 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22362 s&@srcdir@&$ac_srcdir&;t t
22363 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22364 s&@top_srcdir@&$ac_top_srcdir&;t t
22365 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22366 s&@builddir@&$ac_builddir&;t t
22367 s&@abs_builddir@&$ac_abs_builddir&;t t
22368 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22369 s&@INSTALL@&$ac_INSTALL&;t t
22370 s&@MKDIR_P@&$ac_MKDIR_P&;t t
22371 $ac_datarootdir_hack
22372 "
22373 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22374 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22375
22376 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22377 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22378 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22379 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22381 which seems to be undefined. Please make sure it is defined" >&5
22382 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22383 which seems to be undefined. Please make sure it is defined" >&2;}
22384
22385 rm -f "$ac_tmp/stdin"
22386 case $ac_file in
22387 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22388 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22389 esac \
22390 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22391 ;;
22392 :H)
22393 #
22394 # CONFIG_HEADER
22395 #
22396 if test x"$ac_file" != x-; then
22397 {
22398 $as_echo "/* $configure_input */" \
22399 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22400 } >"$ac_tmp/config.h" \
22401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22402 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22404 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22405 else
22406 rm -f "$ac_file"
22407 mv "$ac_tmp/config.h" "$ac_file" \
22408 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22409 fi
22410 else
22411 $as_echo "/* $configure_input */" \
22412 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22413 || as_fn_error $? "could not create -" "$LINENO" 5
22414 fi
22415 # Compute "$ac_file"'s index in $config_headers.
22416 _am_arg="$ac_file"
22417 _am_stamp_count=1
22418 for _am_header in $config_headers :; do
22419 case $_am_header in
22420 $_am_arg | $_am_arg:* )
22421 break ;;
22422 * )
22423 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22424 esac
22425 done
22426 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22427 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22428 X"$_am_arg" : 'X\(//\)[^/]' \| \
22429 X"$_am_arg" : 'X\(//\)$' \| \
22430 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22431 $as_echo X"$_am_arg" |
22432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22433 s//\1/
22434 q
22435 }
22436 /^X\(\/\/\)[^/].*/{
22437 s//\1/
22438 q
22439 }
22440 /^X\(\/\/\)$/{
22441 s//\1/
22442 q
22443 }
22444 /^X\(\/\).*/{
22445 s//\1/
22446 q
22447 }
22448 s/.*/./; q'`/stamp-h$_am_stamp_count
22449 ;;
22450
22451 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22452 $as_echo "$as_me: executing $ac_file commands" >&6;}
22453 ;;
22454 esac
22455
22456
22457 case $ac_file$ac_mode in
22458 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22459 # Older Autoconf quotes --file arguments for eval, but not when files
22460 # are listed without --file. Let's play safe and only enable the eval
22461 # if we detect the quoting.
22462 case $CONFIG_FILES in
22463 *\'*) eval set x "$CONFIG_FILES" ;;
22464 *) set x $CONFIG_FILES ;;
22465 esac
22466 shift
22467 for mf
22468 do
22469 # Strip MF so we end up with the name of the file.
22470 mf=`echo "$mf" | sed -e 's/:.*$//'`
22471 # Check whether this is an Automake generated Makefile or not.
22472 # We used to match only the files named 'Makefile.in', but
22473 # some people rename them; so instead we look at the file content.
22474 # Grep'ing the first line is not enough: some people post-process
22475 # each Makefile.in and add a new line on top of each file to say so.
22476 # Grep'ing the whole file is not good either: AIX grep has a line
22477 # limit of 2048, but all sed's we know have understand at least 4000.
22478 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22479 dirpart=`$as_dirname -- "$mf" ||
22480 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22481 X"$mf" : 'X\(//\)[^/]' \| \
22482 X"$mf" : 'X\(//\)$' \| \
22483 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22484 $as_echo X"$mf" |
22485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22486 s//\1/
22487 q
22488 }
22489 /^X\(\/\/\)[^/].*/{
22490 s//\1/
22491 q
22492 }
22493 /^X\(\/\/\)$/{
22494 s//\1/
22495 q
22496 }
22497 /^X\(\/\).*/{
22498 s//\1/
22499 q
22500 }
22501 s/.*/./; q'`
22502 else
22503 continue
22504 fi
22505 # Extract the definition of DEPDIR, am__include, and am__quote
22506 # from the Makefile without running 'make'.
22507 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22508 test -z "$DEPDIR" && continue
22509 am__include=`sed -n 's/^am__include = //p' < "$mf"`
22510 test -z "$am__include" && continue
22511 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22512 # Find all dependency output files, they are included files with
22513 # $(DEPDIR) in their names. We invoke sed twice because it is the
22514 # simplest approach to changing $(DEPDIR) to its actual value in the
22515 # expansion.
22516 for file in `sed -n "
22517 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22518 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22519 # Make sure the directory exists.
22520 test -f "$dirpart/$file" && continue
22521 fdir=`$as_dirname -- "$file" ||
22522 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22523 X"$file" : 'X\(//\)[^/]' \| \
22524 X"$file" : 'X\(//\)$' \| \
22525 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22526 $as_echo X"$file" |
22527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22528 s//\1/
22529 q
22530 }
22531 /^X\(\/\/\)[^/].*/{
22532 s//\1/
22533 q
22534 }
22535 /^X\(\/\/\)$/{
22536 s//\1/
22537 q
22538 }
22539 /^X\(\/\).*/{
22540 s//\1/
22541 q
22542 }
22543 s/.*/./; q'`
22544 as_dir=$dirpart/$fdir; as_fn_mkdir_p
22545 # echo "creating $dirpart/$file"
22546 echo '# dummy' > "$dirpart/$file"
22547 done
22548 done
22549 }
22550 ;;
22551 "libtool":C)
22552
22553 # See if we are running on zsh, and set the options that allow our
22554 # commands through without removal of \ escapes.
22555 if test -n "${ZSH_VERSION+set}"; then
22556 setopt NO_GLOB_SUBST
22557 fi
22558
22559 cfgfile=${ofile}T
22560 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22561 $RM "$cfgfile"
22562
22563 cat <<_LT_EOF >> "$cfgfile"
22564 #! $SHELL
22565 # Generated automatically by $as_me ($PACKAGE) $VERSION
22566 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22567
22568 # Provide generalized library-building support services.
22569 # Written by Gordon Matzigkeit, 1996
22570
22571 # Copyright (C) 2014 Free Software Foundation, Inc.
22572 # This is free software; see the source for copying conditions. There is NO
22573 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22574
22575 # GNU Libtool is free software; you can redistribute it and/or modify
22576 # it under the terms of the GNU General Public License as published by
22577 # the Free Software Foundation; either version 2 of of the License, or
22578 # (at your option) any later version.
22579 #
22580 # As a special exception to the GNU General Public License, if you
22581 # distribute this file as part of a program or library that is built
22582 # using GNU Libtool, you may include this file under the same
22583 # distribution terms that you use for the rest of that program.
22584 #
22585 # GNU Libtool is distributed in the hope that it will be useful, but
22586 # WITHOUT ANY WARRANTY; without even the implied warranty of
22587 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22588 # GNU General Public License for more details.
22589 #
22590 # You should have received a copy of the GNU General Public License
22591 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22592
22593
22594 # The names of the tagged configurations supported by this script.
22595 available_tags='CXX '
22596
22597 # Configured defaults for sys_lib_dlsearch_path munging.
22598 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22599
22600 # ### BEGIN LIBTOOL CONFIG
22601
22602 # Which release of libtool.m4 was used?
22603 macro_version=$macro_version
22604 macro_revision=$macro_revision
22605
22606 # Whether or not to build shared libraries.
22607 build_libtool_libs=$enable_shared
22608
22609 # Whether or not to build static libraries.
22610 build_old_libs=$enable_static
22611
22612 # What type of objects to build.
22613 pic_mode=$pic_mode
22614
22615 # Whether or not to optimize for fast installation.
22616 fast_install=$enable_fast_install
22617
22618 # Shared archive member basename,for filename based shared library versioning on AIX.
22619 shared_archive_member_spec=$shared_archive_member_spec
22620
22621 # Shell to use when invoking shell scripts.
22622 SHELL=$lt_SHELL
22623
22624 # An echo program that protects backslashes.
22625 ECHO=$lt_ECHO
22626
22627 # The PATH separator for the build system.
22628 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22629
22630 # The host system.
22631 host_alias=$host_alias
22632 host=$host
22633 host_os=$host_os
22634
22635 # The build system.
22636 build_alias=$build_alias
22637 build=$build
22638 build_os=$build_os
22639
22640 # A sed program that does not truncate output.
22641 SED=$lt_SED
22642
22643 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22644 Xsed="\$SED -e 1s/^X//"
22645
22646 # A grep program that handles long lines.
22647 GREP=$lt_GREP
22648
22649 # An ERE matcher.
22650 EGREP=$lt_EGREP
22651
22652 # A literal string matcher.
22653 FGREP=$lt_FGREP
22654
22655 # A BSD- or MS-compatible name lister.
22656 NM=$lt_NM
22657
22658 # Whether we need soft or hard links.
22659 LN_S=$lt_LN_S
22660
22661 # What is the maximum length of a command?
22662 max_cmd_len=$max_cmd_len
22663
22664 # Object file suffix (normally "o").
22665 objext=$ac_objext
22666
22667 # Executable file suffix (normally "").
22668 exeext=$exeext
22669
22670 # whether the shell understands "unset".
22671 lt_unset=$lt_unset
22672
22673 # turn spaces into newlines.
22674 SP2NL=$lt_lt_SP2NL
22675
22676 # turn newlines into spaces.
22677 NL2SP=$lt_lt_NL2SP
22678
22679 # convert \$build file names to \$host format.
22680 to_host_file_cmd=$lt_cv_to_host_file_cmd
22681
22682 # convert \$build files to toolchain format.
22683 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22684
22685 # An object symbol dumper.
22686 OBJDUMP=$lt_OBJDUMP
22687
22688 # Method to check whether dependent libraries are shared objects.
22689 deplibs_check_method=$lt_deplibs_check_method
22690
22691 # Command to use when deplibs_check_method = "file_magic".
22692 file_magic_cmd=$lt_file_magic_cmd
22693
22694 # How to find potential files when deplibs_check_method = "file_magic".
22695 file_magic_glob=$lt_file_magic_glob
22696
22697 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22698 want_nocaseglob=$lt_want_nocaseglob
22699
22700 # DLL creation program.
22701 DLLTOOL=$lt_DLLTOOL
22702
22703 # Command to associate shared and link libraries.
22704 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22705
22706 # The archiver.
22707 AR=$lt_AR
22708
22709 # Flags to create an archive.
22710 AR_FLAGS=$lt_AR_FLAGS
22711
22712 # How to feed a file listing to the archiver.
22713 archiver_list_spec=$lt_archiver_list_spec
22714
22715 # A symbol stripping program.
22716 STRIP=$lt_STRIP
22717
22718 # Commands used to install an old-style archive.
22719 RANLIB=$lt_RANLIB
22720 old_postinstall_cmds=$lt_old_postinstall_cmds
22721 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22722
22723 # Whether to use a lock for old archive extraction.
22724 lock_old_archive_extraction=$lock_old_archive_extraction
22725
22726 # A C compiler.
22727 LTCC=$lt_CC
22728
22729 # LTCC compiler flags.
22730 LTCFLAGS=$lt_CFLAGS
22731
22732 # Take the output of nm and produce a listing of raw symbols and C names.
22733 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22734
22735 # Transform the output of nm in a proper C declaration.
22736 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22737
22738 # Transform the output of nm into a list of symbols to manually relocate.
22739 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22740
22741 # Transform the output of nm in a C name address pair.
22742 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22743
22744 # Transform the output of nm in a C name address pair when lib prefix is needed.
22745 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22746
22747 # The name lister interface.
22748 nm_interface=$lt_lt_cv_nm_interface
22749
22750 # Specify filename containing input files for \$NM.
22751 nm_file_list_spec=$lt_nm_file_list_spec
22752
22753 # The root where to search for dependent libraries,and where our libraries should be installed.
22754 lt_sysroot=$lt_sysroot
22755
22756 # Command to truncate a binary pipe.
22757 lt_truncate_bin=$lt_lt_cv_truncate_bin
22758
22759 # The name of the directory that contains temporary libtool files.
22760 objdir=$objdir
22761
22762 # Used to examine libraries when file_magic_cmd begins with "file".
22763 MAGIC_CMD=$MAGIC_CMD
22764
22765 # Must we lock files when doing compilation?
22766 need_locks=$lt_need_locks
22767
22768 # Manifest tool.
22769 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22770
22771 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22772 DSYMUTIL=$lt_DSYMUTIL
22773
22774 # Tool to change global to local symbols on Mac OS X.
22775 NMEDIT=$lt_NMEDIT
22776
22777 # Tool to manipulate fat objects and archives on Mac OS X.
22778 LIPO=$lt_LIPO
22779
22780 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22781 OTOOL=$lt_OTOOL
22782
22783 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22784 OTOOL64=$lt_OTOOL64
22785
22786 # Old archive suffix (normally "a").
22787 libext=$libext
22788
22789 # Shared library suffix (normally ".so").
22790 shrext_cmds=$lt_shrext_cmds
22791
22792 # The commands to extract the exported symbol list from a shared archive.
22793 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22794
22795 # Variables whose values should be saved in libtool wrapper scripts and
22796 # restored at link time.
22797 variables_saved_for_relink=$lt_variables_saved_for_relink
22798
22799 # Do we need the "lib" prefix for modules?
22800 need_lib_prefix=$need_lib_prefix
22801
22802 # Do we need a version for libraries?
22803 need_version=$need_version
22804
22805 # Library versioning type.
22806 version_type=$version_type
22807
22808 # Shared library runtime path variable.
22809 runpath_var=$runpath_var
22810
22811 # Shared library path variable.
22812 shlibpath_var=$shlibpath_var
22813
22814 # Is shlibpath searched before the hard-coded library search path?
22815 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22816
22817 # Format of library name prefix.
22818 libname_spec=$lt_libname_spec
22819
22820 # List of archive names. First name is the real one, the rest are links.
22821 # The last name is the one that the linker finds with -lNAME
22822 library_names_spec=$lt_library_names_spec
22823
22824 # The coded name of the library, if different from the real name.
22825 soname_spec=$lt_soname_spec
22826
22827 # Permission mode override for installation of shared libraries.
22828 install_override_mode=$lt_install_override_mode
22829
22830 # Command to use after installation of a shared archive.
22831 postinstall_cmds=$lt_postinstall_cmds
22832
22833 # Command to use after uninstallation of a shared archive.
22834 postuninstall_cmds=$lt_postuninstall_cmds
22835
22836 # Commands used to finish a libtool library installation in a directory.
22837 finish_cmds=$lt_finish_cmds
22838
22839 # As "finish_cmds", except a single script fragment to be evaled but
22840 # not shown.
22841 finish_eval=$lt_finish_eval
22842
22843 # Whether we should hardcode library paths into libraries.
22844 hardcode_into_libs=$hardcode_into_libs
22845
22846 # Compile-time system search path for libraries.
22847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22848
22849 # Detected run-time system search path for libraries.
22850 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22851
22852 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22853 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22854
22855 # Whether dlopen is supported.
22856 dlopen_support=$enable_dlopen
22857
22858 # Whether dlopen of programs is supported.
22859 dlopen_self=$enable_dlopen_self
22860
22861 # Whether dlopen of statically linked programs is supported.
22862 dlopen_self_static=$enable_dlopen_self_static
22863
22864 # Commands to strip libraries.
22865 old_striplib=$lt_old_striplib
22866 striplib=$lt_striplib
22867
22868
22869 # The linker used to build libraries.
22870 LD=$lt_LD
22871
22872 # How to create reloadable object files.
22873 reload_flag=$lt_reload_flag
22874 reload_cmds=$lt_reload_cmds
22875
22876 # Commands used to build an old-style archive.
22877 old_archive_cmds=$lt_old_archive_cmds
22878
22879 # A language specific compiler.
22880 CC=$lt_compiler
22881
22882 # Is the compiler the GNU compiler?
22883 with_gcc=$GCC
22884
22885 # Compiler flag to turn off builtin functions.
22886 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22887
22888 # Additional compiler flags for building library objects.
22889 pic_flag=$lt_lt_prog_compiler_pic
22890
22891 # How to pass a linker flag through the compiler.
22892 wl=$lt_lt_prog_compiler_wl
22893
22894 # Compiler flag to prevent dynamic linking.
22895 link_static_flag=$lt_lt_prog_compiler_static
22896
22897 # Does compiler simultaneously support -c and -o options?
22898 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22899
22900 # Whether or not to add -lc for building shared libraries.
22901 build_libtool_need_lc=$archive_cmds_need_lc
22902
22903 # Whether or not to disallow shared libs when runtime libs are static.
22904 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22905
22906 # Compiler flag to allow reflexive dlopens.
22907 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22908
22909 # Compiler flag to generate shared objects directly from archives.
22910 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22911
22912 # Whether the compiler copes with passing no objects directly.
22913 compiler_needs_object=$lt_compiler_needs_object
22914
22915 # Create an old-style archive from a shared archive.
22916 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22917
22918 # Create a temporary old-style archive to link instead of a shared archive.
22919 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22920
22921 # Commands used to build a shared archive.
22922 archive_cmds=$lt_archive_cmds
22923 archive_expsym_cmds=$lt_archive_expsym_cmds
22924
22925 # Commands used to build a loadable module if different from building
22926 # a shared archive.
22927 module_cmds=$lt_module_cmds
22928 module_expsym_cmds=$lt_module_expsym_cmds
22929
22930 # Whether we are building with GNU ld or not.
22931 with_gnu_ld=$lt_with_gnu_ld
22932
22933 # Flag that allows shared libraries with undefined symbols to be built.
22934 allow_undefined_flag=$lt_allow_undefined_flag
22935
22936 # Flag that enforces no undefined symbols.
22937 no_undefined_flag=$lt_no_undefined_flag
22938
22939 # Flag to hardcode \$libdir into a binary during linking.
22940 # This must work even if \$libdir does not exist
22941 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22942
22943 # Whether we need a single "-rpath" flag with a separated argument.
22944 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22945
22946 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22947 # DIR into the resulting binary.
22948 hardcode_direct=$hardcode_direct
22949
22950 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22951 # DIR into the resulting binary and the resulting library dependency is
22952 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22953 # library is relocated.
22954 hardcode_direct_absolute=$hardcode_direct_absolute
22955
22956 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22957 # into the resulting binary.
22958 hardcode_minus_L=$hardcode_minus_L
22959
22960 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22961 # into the resulting binary.
22962 hardcode_shlibpath_var=$hardcode_shlibpath_var
22963
22964 # Set to "yes" if building a shared library automatically hardcodes DIR
22965 # into the library and all subsequent libraries and executables linked
22966 # against it.
22967 hardcode_automatic=$hardcode_automatic
22968
22969 # Set to yes if linker adds runtime paths of dependent libraries
22970 # to runtime path list.
22971 inherit_rpath=$inherit_rpath
22972
22973 # Whether libtool must link a program against all its dependency libraries.
22974 link_all_deplibs=$link_all_deplibs
22975
22976 # Set to "yes" if exported symbols are required.
22977 always_export_symbols=$always_export_symbols
22978
22979 # The commands to list exported symbols.
22980 export_symbols_cmds=$lt_export_symbols_cmds
22981
22982 # Symbols that should not be listed in the preloaded symbols.
22983 exclude_expsyms=$lt_exclude_expsyms
22984
22985 # Symbols that must always be exported.
22986 include_expsyms=$lt_include_expsyms
22987
22988 # Commands necessary for linking programs (against libraries) with templates.
22989 prelink_cmds=$lt_prelink_cmds
22990
22991 # Commands necessary for finishing linking programs.
22992 postlink_cmds=$lt_postlink_cmds
22993
22994 # Specify filename containing input files.
22995 file_list_spec=$lt_file_list_spec
22996
22997 # How to hardcode a shared library path into an executable.
22998 hardcode_action=$hardcode_action
22999
23000 # The directories searched by this compiler when creating a shared library.
23001 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23002
23003 # Dependencies to place before and after the objects being linked to
23004 # create a shared library.
23005 predep_objects=$lt_predep_objects
23006 postdep_objects=$lt_postdep_objects
23007 predeps=$lt_predeps
23008 postdeps=$lt_postdeps
23009
23010 # The library search path used internally by the compiler when linking
23011 # a shared library.
23012 compiler_lib_search_path=$lt_compiler_lib_search_path
23013
23014 # ### END LIBTOOL CONFIG
23015
23016 _LT_EOF
23017
23018 cat <<'_LT_EOF' >> "$cfgfile"
23019
23020 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23021
23022 # func_munge_path_list VARIABLE PATH
23023 # -----------------------------------
23024 # VARIABLE is name of variable containing _space_ separated list of
23025 # directories to be munged by the contents of PATH, which is string
23026 # having a format:
23027 # "DIR[:DIR]:"
23028 # string "DIR[ DIR]" will be prepended to VARIABLE
23029 # ":DIR[:DIR]"
23030 # string "DIR[ DIR]" will be appended to VARIABLE
23031 # "DIRP[:DIRP]::[DIRA:]DIRA"
23032 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23033 # "DIRA[ DIRA]" will be appended to VARIABLE
23034 # "DIR[:DIR]"
23035 # VARIABLE will be replaced by "DIR[ DIR]"
23036 func_munge_path_list ()
23037 {
23038 case x$2 in
23039 x)
23040 ;;
23041 *:)
23042 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23043 ;;
23044 x:*)
23045 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23046 ;;
23047 *::*)
23048 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23049 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23050 ;;
23051 *)
23052 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23053 ;;
23054 esac
23055 }
23056
23057
23058 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23059 func_cc_basename ()
23060 {
23061 for cc_temp in $*""; do
23062 case $cc_temp in
23063 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23064 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23065 \-*) ;;
23066 *) break;;
23067 esac
23068 done
23069 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23070 }
23071
23072
23073 # ### END FUNCTIONS SHARED WITH CONFIGURE
23074
23075 _LT_EOF
23076
23077 case $host_os in
23078 aix3*)
23079 cat <<\_LT_EOF >> "$cfgfile"
23080 # AIX sometimes has problems with the GCC collect2 program. For some
23081 # reason, if we set the COLLECT_NAMES environment variable, the problems
23082 # vanish in a puff of smoke.
23083 if test set != "${COLLECT_NAMES+set}"; then
23084 COLLECT_NAMES=
23085 export COLLECT_NAMES
23086 fi
23087 _LT_EOF
23088 ;;
23089 esac
23090
23091
23092 ltmain=$ac_aux_dir/ltmain.sh
23093
23094
23095 # We use sed instead of cat because bash on DJGPP gets confused if
23096 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23097 # text mode, it properly converts lines to CR/LF. This bash problem
23098 # is reportedly fixed, but why not run on old versions too?
23099 sed '$q' "$ltmain" >> "$cfgfile" \
23100 || (rm -f "$cfgfile"; exit 1)
23101
23102 mv -f "$cfgfile" "$ofile" ||
23103 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23104 chmod +x "$ofile"
23105
23106
23107 cat <<_LT_EOF >> "$ofile"
23108
23109 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23110
23111 # The linker used to build libraries.
23112 LD=$lt_LD_CXX
23113
23114 # How to create reloadable object files.
23115 reload_flag=$lt_reload_flag_CXX
23116 reload_cmds=$lt_reload_cmds_CXX
23117
23118 # Commands used to build an old-style archive.
23119 old_archive_cmds=$lt_old_archive_cmds_CXX
23120
23121 # A language specific compiler.
23122 CC=$lt_compiler_CXX
23123
23124 # Is the compiler the GNU compiler?
23125 with_gcc=$GCC_CXX
23126
23127 # Compiler flag to turn off builtin functions.
23128 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23129
23130 # Additional compiler flags for building library objects.
23131 pic_flag=$lt_lt_prog_compiler_pic_CXX
23132
23133 # How to pass a linker flag through the compiler.
23134 wl=$lt_lt_prog_compiler_wl_CXX
23135
23136 # Compiler flag to prevent dynamic linking.
23137 link_static_flag=$lt_lt_prog_compiler_static_CXX
23138
23139 # Does compiler simultaneously support -c and -o options?
23140 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23141
23142 # Whether or not to add -lc for building shared libraries.
23143 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23144
23145 # Whether or not to disallow shared libs when runtime libs are static.
23146 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23147
23148 # Compiler flag to allow reflexive dlopens.
23149 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23150
23151 # Compiler flag to generate shared objects directly from archives.
23152 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23153
23154 # Whether the compiler copes with passing no objects directly.
23155 compiler_needs_object=$lt_compiler_needs_object_CXX
23156
23157 # Create an old-style archive from a shared archive.
23158 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23159
23160 # Create a temporary old-style archive to link instead of a shared archive.
23161 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23162
23163 # Commands used to build a shared archive.
23164 archive_cmds=$lt_archive_cmds_CXX
23165 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23166
23167 # Commands used to build a loadable module if different from building
23168 # a shared archive.
23169 module_cmds=$lt_module_cmds_CXX
23170 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23171
23172 # Whether we are building with GNU ld or not.
23173 with_gnu_ld=$lt_with_gnu_ld_CXX
23174
23175 # Flag that allows shared libraries with undefined symbols to be built.
23176 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23177
23178 # Flag that enforces no undefined symbols.
23179 no_undefined_flag=$lt_no_undefined_flag_CXX
23180
23181 # Flag to hardcode \$libdir into a binary during linking.
23182 # This must work even if \$libdir does not exist
23183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23184
23185 # Whether we need a single "-rpath" flag with a separated argument.
23186 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23187
23188 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23189 # DIR into the resulting binary.
23190 hardcode_direct=$hardcode_direct_CXX
23191
23192 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23193 # DIR into the resulting binary and the resulting library dependency is
23194 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23195 # library is relocated.
23196 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23197
23198 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23199 # into the resulting binary.
23200 hardcode_minus_L=$hardcode_minus_L_CXX
23201
23202 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23203 # into the resulting binary.
23204 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23205
23206 # Set to "yes" if building a shared library automatically hardcodes DIR
23207 # into the library and all subsequent libraries and executables linked
23208 # against it.
23209 hardcode_automatic=$hardcode_automatic_CXX
23210
23211 # Set to yes if linker adds runtime paths of dependent libraries
23212 # to runtime path list.
23213 inherit_rpath=$inherit_rpath_CXX
23214
23215 # Whether libtool must link a program against all its dependency libraries.
23216 link_all_deplibs=$link_all_deplibs_CXX
23217
23218 # Set to "yes" if exported symbols are required.
23219 always_export_symbols=$always_export_symbols_CXX
23220
23221 # The commands to list exported symbols.
23222 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23223
23224 # Symbols that should not be listed in the preloaded symbols.
23225 exclude_expsyms=$lt_exclude_expsyms_CXX
23226
23227 # Symbols that must always be exported.
23228 include_expsyms=$lt_include_expsyms_CXX
23229
23230 # Commands necessary for linking programs (against libraries) with templates.
23231 prelink_cmds=$lt_prelink_cmds_CXX
23232
23233 # Commands necessary for finishing linking programs.
23234 postlink_cmds=$lt_postlink_cmds_CXX
23235
23236 # Specify filename containing input files.
23237 file_list_spec=$lt_file_list_spec_CXX
23238
23239 # How to hardcode a shared library path into an executable.
23240 hardcode_action=$hardcode_action_CXX
23241
23242 # The directories searched by this compiler when creating a shared library.
23243 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23244
23245 # Dependencies to place before and after the objects being linked to
23246 # create a shared library.
23247 predep_objects=$lt_predep_objects_CXX
23248 postdep_objects=$lt_postdep_objects_CXX
23249 predeps=$lt_predeps_CXX
23250 postdeps=$lt_postdeps_CXX
23251
23252 # The library search path used internally by the compiler when linking
23253 # a shared library.
23254 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23255
23256 # ### END LIBTOOL TAG CONFIG: CXX
23257 _LT_EOF
23258
23259 ;;
23260 "po-directories":C)
23261 for ac_file in $CONFIG_FILES; do
23262 # Support "outfile[:infile[:infile...]]"
23263 case "$ac_file" in
23264 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
23265 esac
23266 # PO directories have a Makefile.in generated from Makefile.in.in.
23267 case "$ac_file" in */Makefile.in)
23268 # Adjust a relative srcdir.
23269 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
23270 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
23271 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
23272 # In autoconf-2.13 it is called $ac_given_srcdir.
23273 # In autoconf-2.50 it is called $srcdir.
23274 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
23275 case "$ac_given_srcdir" in
23276 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
23277 /*) top_srcdir="$ac_given_srcdir" ;;
23278 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
23279 esac
23280 # Treat a directory as a PO directory if and only if it has a
23281 # POTFILES.in file. This allows packages to have multiple PO
23282 # directories under different names or in different locations.
23283 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
23284 rm -f "$ac_dir/POTFILES"
23285 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
23286 gt_tab=`printf '\t'`
23287 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
23288 POMAKEFILEDEPS="POTFILES.in"
23289 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
23290 # on $ac_dir but don't depend on user-specified configuration
23291 # parameters.
23292 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
23293 # The LINGUAS file contains the set of available languages.
23294 if test -n "$OBSOLETE_ALL_LINGUAS"; then
23295 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
23296 fi
23297 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
23298 # Hide the ALL_LINGUAS assignment from automake < 1.5.
23299 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
23300 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
23301 else
23302 # The set of available languages was given in configure.in.
23303 # Hide the ALL_LINGUAS assignment from automake < 1.5.
23304 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
23305 fi
23306 # Compute POFILES
23307 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
23308 # Compute UPDATEPOFILES
23309 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
23310 # Compute DUMMYPOFILES
23311 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
23312 # Compute GMOFILES
23313 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
23314 case "$ac_given_srcdir" in
23315 .) srcdirpre= ;;
23316 *) srcdirpre='$(srcdir)/' ;;
23317 esac
23318 POFILES=
23319 UPDATEPOFILES=
23320 DUMMYPOFILES=
23321 GMOFILES=
23322 for lang in $ALL_LINGUAS; do
23323 POFILES="$POFILES $srcdirpre$lang.po"
23324 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
23325 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
23326 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
23327 done
23328 # CATALOGS depends on both $ac_dir and the user's LINGUAS
23329 # environment variable.
23330 INST_LINGUAS=
23331 if test -n "$ALL_LINGUAS"; then
23332 for presentlang in $ALL_LINGUAS; do
23333 useit=no
23334 if test "%UNSET%" != "$LINGUAS"; then
23335 desiredlanguages="$LINGUAS"
23336 else
23337 desiredlanguages="$ALL_LINGUAS"
23338 fi
23339 for desiredlang in $desiredlanguages; do
23340 # Use the presentlang catalog if desiredlang is
23341 # a. equal to presentlang, or
23342 # b. a variant of presentlang (because in this case,
23343 # presentlang can be used as a fallback for messages
23344 # which are not translated in the desiredlang catalog).
23345 case "$desiredlang" in
23346 "$presentlang"*) useit=yes;;
23347 esac
23348 done
23349 if test $useit = yes; then
23350 INST_LINGUAS="$INST_LINGUAS $presentlang"
23351 fi
23352 done
23353 fi
23354 CATALOGS=
23355 if test -n "$INST_LINGUAS"; then
23356 for lang in $INST_LINGUAS; do
23357 CATALOGS="$CATALOGS $lang.gmo"
23358 done
23359 fi
23360 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
23361 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
23362 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
23363 if test -f "$f"; then
23364 case "$f" in
23365 *.orig | *.bak | *~) ;;
23366 *) cat "$f" >> "$ac_dir/Makefile" ;;
23367 esac
23368 fi
23369 done
23370 fi
23371 ;;
23372 esac
23373 done ;;
23374 "po/stamp-it":C)
23375 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
23376 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
23377 fi
23378 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
23379 >"po/stamp-it.tmp"
23380 sed '/^#/d
23381 s/^[[].*] *//
23382 /^[ ]*$/d
23383 '"s|^| $ac_top_srcdir/|" \
23384 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
23385
23386 sed '/^POTFILES =/,/[^\\]$/ {
23387 /^POTFILES =/!d
23388 r po/POTFILES
23389 }
23390 ' "po/Makefile.in" >"po/Makefile"
23391 rm -f "po/Makefile.tmp"
23392 mv "po/stamp-it.tmp" "po/stamp-it"
23393 ;;
23394
23395 esac
23396 done # for ac_tag
23397
23398
23399 as_fn_exit 0
23400 _ACEOF
23401 ac_clean_files=$ac_clean_files_save
23402
23403 test $ac_write_fail = 0 ||
23404 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23405
23406
23407 # configure is writing to config.log, and then calls config.status.
23408 # config.status does its own redirection, appending to config.log.
23409 # Unfortunately, on DOS this fails, as config.log is still kept open
23410 # by configure, so config.status won't be able to write to it; its
23411 # output is simply discarded. So we exec the FD to /dev/null,
23412 # effectively closing config.log, so it can be properly (re)opened and
23413 # appended to by config.status. When coming back to configure, we
23414 # need to make the FD available again.
23415 if test "$no_create" != yes; then
23416 ac_cs_success=:
23417 ac_config_status_args=
23418 test "$silent" = yes &&
23419 ac_config_status_args="$ac_config_status_args --quiet"
23420 exec 5>/dev/null
23421 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23422 exec 5>>config.log
23423 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23424 # would make configure fail if this is the last instruction.
23425 $ac_cs_success || as_fn_exit 1
23426 fi
23427 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23429 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23430 fi
23431
23432
23433 echo ""
23434 echo "the following optional plugins will be compiled:"
23435 echo " jpeg: $use_jpeg"
23436 echo ""