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 gnome-themes-extra 3.28.
4 #
5 # Report bugs to <https://gitlab.gnome.org/GNOME/gnome-themes-extra/issues>.
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 test \$(( 1 + 1 )) = 2 || exit 1
202
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell [email protected] and
278 $0: https://gitlab.gnome.org/GNOME/gnome-themes-extra/issues
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311 return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319 set +e
320 as_fn_set_status $1
321 exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
387 {
388 eval $1+=\$2
389 }'
390 else
391 as_fn_append ()
392 {
393 eval $1=\$$1\$2
394 }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else
408 as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 xy) ECHO_C='\c';;
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 ECHO_T=' ';;
520 esac;;
521 *)
522 ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
528 else
529 rm -f conf$$.dir
530 mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s='ln -s'
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 as_ln_s='cp -pR'
541 elif ln conf$$.file conf$$ 2>/dev/null; then
542 as_ln_s=ln
543 else
544 as_ln_s='cp -pR'
545 fi
546 else
547 as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
554 else
555 test -d ./-p && rmdir ./-p
556 as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='gnome-themes-extra'
593 PACKAGE_TARNAME='gnome-themes-extra'
594 PACKAGE_VERSION='3.28'
595 PACKAGE_STRING='gnome-themes-extra 3.28'
596 PACKAGE_BUGREPORT='https://gitlab.gnome.org/GNOME/gnome-themes-extra/issues'
597 PACKAGE_URL=''
598
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 # include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 # include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 ACLOCAL_AMFLAGS
640 GTK_UPDATE_ICON_CACHE
641 GTK2_VERSION
642 GTK2_ENGINE_LIBS
643 GTK2_ENGINE_CFLAGS
644 GTK2_ENGINE_FALSE
645 GTK2_ENGINE_TRUE
646 GTK3_VERSION
647 HIGHCONTRAST_LIBS
648 HIGHCONTRAST_CFLAGS
649 GTK3_ENGINE_LIBS
650 GTK3_ENGINE_CFLAGS
651 GTK3_ENGINE_FALSE
652 GTK3_ENGINE_TRUE
653 GETTEXT_PACKAGE
654 ALL_LINGUAS
655 INTLTOOL_PERL
656 GMSGFMT
657 MSGFMT
658 MSGMERGE
659 XGETTEXT
660 INTLTOOL_POLICY_RULE
661 INTLTOOL_SERVICE_RULE
662 INTLTOOL_THEME_RULE
663 INTLTOOL_SCHEMAS_RULE
664 INTLTOOL_CAVES_RULE
665 INTLTOOL_XML_NOMERGE_RULE
666 INTLTOOL_XML_RULE
667 INTLTOOL_KBD_RULE
668 INTLTOOL_XAM_RULE
669 INTLTOOL_UI_RULE
670 INTLTOOL_SOUNDLIST_RULE
671 INTLTOOL_SHEET_RULE
672 INTLTOOL_SERVER_RULE
673 INTLTOOL_PONG_RULE
674 INTLTOOL_OAF_RULE
675 INTLTOOL_PROP_RULE
676 INTLTOOL_KEYS_RULE
677 INTLTOOL_DIRECTORY_RULE
678 INTLTOOL_DESKTOP_RULE
679 intltool__v_merge_options_0
680 intltool__v_merge_options_
681 INTLTOOL_V_MERGE_OPTIONS
682 INTLTOOL__v_MERGE_0
683 INTLTOOL__v_MERGE_
684 INTLTOOL_V_MERGE
685 INTLTOOL_EXTRACT
686 INTLTOOL_MERGE
687 INTLTOOL_UPDATE
688 USE_NLS
689 CPP
690 LT_SYS_LIBRARY_PATH
691 OTOOL64
692 OTOOL
693 LIPO
694 NMEDIT
695 DSYMUTIL
696 MANIFEST_TOOL
697 RANLIB
698 ac_ct_AR
699 AR
700 LN_S
701 NM
702 ac_ct_DUMPBIN
703 DUMPBIN
704 LD
705 FGREP
706 EGREP
707 GREP
708 LIBTOOL
709 OBJDUMP
710 DLLTOOL
711 AS
712 host_os
713 host_vendor
714 host_cpu
715 host
716 build_os
717 build_vendor
718 build_cpu
719 build
720 GLIB_COMPILE_RESOURCES
721 GLIB_MKENUMS
722 GOBJECT_QUERY
723 GLIB_GENMARSHAL
724 GLIB_LIBS
725 GLIB_CFLAGS
726 am__fastdepCC_FALSE
727 am__fastdepCC_TRUE
728 CCDEPMODE
729 am__nodep
730 AMDEPBACKSLASH
731 AMDEP_FALSE
732 AMDEP_TRUE
733 am__quote
734 am__include
735 DEPDIR
736 OBJEXT
737 EXEEXT
738 ac_ct_CC
739 CPPFLAGS
740 LDFLAGS
741 CFLAGS
742 CC
743 SED
744 PKG_CONFIG_LIBDIR
745 PKG_CONFIG_PATH
746 PKG_CONFIG
747 AM_BACKSLASH
748 AM_DEFAULT_VERBOSITY
749 AM_DEFAULT_V
750 AM_V
751 am__untar
752 am__tar
753 AMTAR
754 am__leading_dot
755 SET_MAKE
756 AWK
757 mkdir_p
758 MKDIR_P
759 INSTALL_STRIP_PROGRAM
760 STRIP
761 install_sh
762 MAKEINFO
763 AUTOHEADER
764 AUTOMAKE
765 AUTOCONF
766 ACLOCAL
767 VERSION
768 PACKAGE
769 CYGPATH_W
770 am__isrc
771 INSTALL_DATA
772 INSTALL_SCRIPT
773 INSTALL_PROGRAM
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_silent_rules
816 enable_dependency_tracking
817 enable_glibtest
818 enable_static
819 enable_shared
820 with_pic
821 enable_fast_install
822 with_aix_soname
823 with_gnu_ld
824 with_sysroot
825 enable_libtool_lock
826 enable_nls
827 enable_gtk3_engine
828 enable_gtk2_engine
829 '
830 ac_precious_vars='build_alias
831 host_alias
832 target_alias
833 PKG_CONFIG
834 PKG_CONFIG_PATH
835 PKG_CONFIG_LIBDIR
836 CC
837 CFLAGS
838 LDFLAGS
839 LIBS
840 CPPFLAGS
841 LT_SYS_LIBRARY_PATH
842 CPP
843 GTK3_ENGINE_CFLAGS
844 GTK3_ENGINE_LIBS
845 HIGHCONTRAST_CFLAGS
846 HIGHCONTRAST_LIBS
847 GTK2_ENGINE_CFLAGS
848 GTK2_ENGINE_LIBS'
849
850
851 # Initialize some variables set by options.
852 ac_init_help=
853 ac_init_version=false
854 ac_unrecognized_opts=
855 ac_unrecognized_sep=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
858 cache_file=/dev/null
859 exec_prefix=NONE
860 no_create=
861 no_recursion=
862 prefix=NONE
863 program_prefix=NONE
864 program_suffix=NONE
865 program_transform_name=s,x,x,
866 silent=
867 site=
868 srcdir=
869 verbose=
870 x_includes=NONE
871 x_libraries=NONE
872
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir='${exec_prefix}/bin'
880 sbindir='${exec_prefix}/sbin'
881 libexecdir='${exec_prefix}/libexec'
882 datarootdir='${prefix}/share'
883 datadir='${datarootdir}'
884 sysconfdir='${prefix}/etc'
885 sharedstatedir='${prefix}/com'
886 localstatedir='${prefix}/var'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir='${datarootdir}/info'
891 htmldir='${docdir}'
892 dvidir='${docdir}'
893 pdfdir='${docdir}'
894 psdir='${docdir}'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
898
899 ac_prev=
900 ac_dashdash=
901 for ac_option
902 do
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
906 ac_prev=
907 continue
908 fi
909
910 case $ac_option in
911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 *=) ac_optarg= ;;
913 *) ac_optarg=yes ;;
914 esac
915
916 # Accept the important Cygnus configure options, so we can diagnose typos.
917
918 case $ac_dashdash$ac_option in
919 --)
920 ac_dashdash=yes ;;
921
922 -bindir | --bindir | --bindi | --bind | --bin | --bi)
923 ac_prev=bindir ;;
924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
925 bindir=$ac_optarg ;;
926
927 -build | --build | --buil | --bui | --bu)
928 ac_prev=build_alias ;;
929 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 build_alias=$ac_optarg ;;
931
932 -cache-file | --cache-file | --cache-fil | --cache-fi \
933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934 ac_prev=cache_file ;;
935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 cache_file=$ac_optarg ;;
938
939 --config-cache | -C)
940 cache_file=config.cache ;;
941
942 -datadir | --datadir | --datadi | --datad)
943 ac_prev=datadir ;;
944 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 datadir=$ac_optarg ;;
946
947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948 | --dataroo | --dataro | --datar)
949 ac_prev=datarootdir ;;
950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 datarootdir=$ac_optarg ;;
953
954 -disable-* | --disable-*)
955 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 as_fn_error $? "invalid feature name: $ac_useropt"
959 ac_useropt_orig=$ac_useropt
960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
962 *"
963 "enable_$ac_useropt"
964 "*) ;;
965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep=', ';;
967 esac
968 eval enable_$ac_useropt=no ;;
969
970 -docdir | --docdir | --docdi | --doc | --do)
971 ac_prev=docdir ;;
972 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
973 docdir=$ac_optarg ;;
974
975 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976 ac_prev=dvidir ;;
977 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
978 dvidir=$ac_optarg ;;
979
980 -enable-* | --enable-*)
981 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 as_fn_error $? "invalid feature name: $ac_useropt"
985 ac_useropt_orig=$ac_useropt
986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
988 *"
989 "enable_$ac_useropt"
990 "*) ;;
991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep=', ';;
993 esac
994 eval enable_$ac_useropt=\$ac_optarg ;;
995
996 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998 | --exec | --exe | --ex)
999 ac_prev=exec_prefix ;;
1000 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002 | --exec=* | --exe=* | --ex=*)
1003 exec_prefix=$ac_optarg ;;
1004
1005 -gas | --gas | --ga | --g)
1006 # Obsolete; use --with-gas.
1007 with_gas=yes ;;
1008
1009 -help | --help | --hel | --he | -h)
1010 ac_init_help=long ;;
1011 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1012 ac_init_help=recursive ;;
1013 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014 ac_init_help=short ;;
1015
1016 -host | --host | --hos | --ho)
1017 ac_prev=host_alias ;;
1018 -host=* | --host=* | --hos=* | --ho=*)
1019 host_alias=$ac_optarg ;;
1020
1021 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1022 ac_prev=htmldir ;;
1023 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1024 | --ht=*)
1025 htmldir=$ac_optarg ;;
1026
1027 -includedir | --includedir | --includedi | --included | --include \
1028 | --includ | --inclu | --incl | --inc)
1029 ac_prev=includedir ;;
1030 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031 | --includ=* | --inclu=* | --incl=* | --inc=*)
1032 includedir=$ac_optarg ;;
1033
1034 -infodir | --infodir | --infodi | --infod | --info | --inf)
1035 ac_prev=infodir ;;
1036 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037 infodir=$ac_optarg ;;
1038
1039 -libdir | --libdir | --libdi | --libd)
1040 ac_prev=libdir ;;
1041 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042 libdir=$ac_optarg ;;
1043
1044 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045 | --libexe | --libex | --libe)
1046 ac_prev=libexecdir ;;
1047 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048 | --libexe=* | --libex=* | --libe=*)
1049 libexecdir=$ac_optarg ;;
1050
1051 -localedir | --localedir | --localedi | --localed | --locale)
1052 ac_prev=localedir ;;
1053 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054 localedir=$ac_optarg ;;
1055
1056 -localstatedir | --localstatedir | --localstatedi | --localstated \
1057 | --localstate | --localstat | --localsta | --localst | --locals)
1058 ac_prev=localstatedir ;;
1059 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061 localstatedir=$ac_optarg ;;
1062
1063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1064 ac_prev=mandir ;;
1065 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066 mandir=$ac_optarg ;;
1067
1068 -nfp | --nfp | --nf)
1069 # Obsolete; use --without-fp.
1070 with_fp=no ;;
1071
1072 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073 | --no-cr | --no-c | -n)
1074 no_create=yes ;;
1075
1076 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1078 no_recursion=yes ;;
1079
1080 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082 | --oldin | --oldi | --old | --ol | --o)
1083 ac_prev=oldincludedir ;;
1084 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087 oldincludedir=$ac_optarg ;;
1088
1089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1090 ac_prev=prefix ;;
1091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092 prefix=$ac_optarg ;;
1093
1094 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095 | --program-pre | --program-pr | --program-p)
1096 ac_prev=program_prefix ;;
1097 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099 program_prefix=$ac_optarg ;;
1100
1101 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102 | --program-suf | --program-su | --program-s)
1103 ac_prev=program_suffix ;;
1104 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106 program_suffix=$ac_optarg ;;
1107
1108 -program-transform-name | --program-transform-name \
1109 | --program-transform-nam | --program-transform-na \
1110 | --program-transform-n | --program-transform- \
1111 | --program-transform | --program-transfor \
1112 | --program-transfo | --program-transf \
1113 | --program-trans | --program-tran \
1114 | --progr-tra | --program-tr | --program-t)
1115 ac_prev=program_transform_name ;;
1116 -program-transform-name=* | --program-transform-name=* \
1117 | --program-transform-nam=* | --program-transform-na=* \
1118 | --program-transform-n=* | --program-transform-=* \
1119 | --program-transform=* | --program-transfor=* \
1120 | --program-transfo=* | --program-transf=* \
1121 | --program-trans=* | --program-tran=* \
1122 | --progr-tra=* | --program-tr=* | --program-t=*)
1123 program_transform_name=$ac_optarg ;;
1124
1125 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1126 ac_prev=pdfdir ;;
1127 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128 pdfdir=$ac_optarg ;;
1129
1130 -psdir | --psdir | --psdi | --psd | --ps)
1131 ac_prev=psdir ;;
1132 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1133 psdir=$ac_optarg ;;
1134
1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136 | -silent | --silent | --silen | --sile | --sil)
1137 silent=yes ;;
1138
1139 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1140 ac_prev=sbindir ;;
1141 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1142 | --sbi=* | --sb=*)
1143 sbindir=$ac_optarg ;;
1144
1145 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1146 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1147 | --sharedst | --shareds | --shared | --share | --shar \
1148 | --sha | --sh)
1149 ac_prev=sharedstatedir ;;
1150 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1151 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1152 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1153 | --sha=* | --sh=*)
1154 sharedstatedir=$ac_optarg ;;
1155
1156 -site | --site | --sit)
1157 ac_prev=site ;;
1158 -site=* | --site=* | --sit=*)
1159 site=$ac_optarg ;;
1160
1161 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1162 ac_prev=srcdir ;;
1163 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1164 srcdir=$ac_optarg ;;
1165
1166 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1167 | --syscon | --sysco | --sysc | --sys | --sy)
1168 ac_prev=sysconfdir ;;
1169 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1170 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1171 sysconfdir=$ac_optarg ;;
1172
1173 -target | --target | --targe | --targ | --tar | --ta | --t)
1174 ac_prev=target_alias ;;
1175 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1176 target_alias=$ac_optarg ;;
1177
1178 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1179 verbose=yes ;;
1180
1181 -version | --version | --versio | --versi | --vers | -V)
1182 ac_init_version=: ;;
1183
1184 -with-* | --with-*)
1185 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 as_fn_error $? "invalid package name: $ac_useropt"
1189 ac_useropt_orig=$ac_useropt
1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1192 *"
1193 "with_$ac_useropt"
1194 "*) ;;
1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep=', ';;
1197 esac
1198 eval with_$ac_useropt=\$ac_optarg ;;
1199
1200 -without-* | --without-*)
1201 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error $? "invalid package name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1208 *"
1209 "with_$ac_useropt"
1210 "*) ;;
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1213 esac
1214 eval with_$ac_useropt=no ;;
1215
1216 --x)
1217 # Obsolete; use --with-x.
1218 with_x=yes ;;
1219
1220 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1221 | --x-incl | --x-inc | --x-in | --x-i)
1222 ac_prev=x_includes ;;
1223 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1224 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1225 x_includes=$ac_optarg ;;
1226
1227 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1228 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1229 ac_prev=x_libraries ;;
1230 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1231 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1232 x_libraries=$ac_optarg ;;
1233
1234 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information"
1236 ;;
1237
1238 *=*)
1239 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 case $ac_envvar in #(
1242 '' | [0-9]* | *[!_$as_cr_alnum]* )
1243 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1244 esac
1245 eval $ac_envvar=\$ac_optarg
1246 export $ac_envvar ;;
1247
1248 *)
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1254 ;;
1255
1256 esac
1257 done
1258
1259 if test -n "$ac_prev"; then
1260 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1261 as_fn_error $? "missing argument to $ac_option"
1262 fi
1263
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1266 no) ;;
1267 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269 esac
1270 fi
1271
1272 # Check all directory arguments for consistency.
1273 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1277 do
1278 eval ac_val=\$$ac_var
1279 # Remove trailing slashes.
1280 case $ac_val in
1281 */ )
1282 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\$ac_val;;
1284 esac
1285 # Be sure to have absolute directory names.
1286 case $ac_val in
1287 [\\/$]* | ?:[\\/]* ) continue;;
1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1289 esac
1290 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1291 done
1292
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1296 build=$build_alias
1297 host=$host_alias
1298 target=$target_alias
1299
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x; then
1302 if test "x$build_alias" = x; then
1303 cross_compiling=maybe
1304 elif test "x$build_alias" != "x$host_alias"; then
1305 cross_compiling=yes
1306 fi
1307 fi
1308
1309 ac_tool_prefix=
1310 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1311
1312 test "$silent" = yes && exec 6>/dev/null
1313
1314
1315 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1316 ac_ls_di=`ls -di .` &&
1317 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1318 as_fn_error $? "working directory cannot be determined"
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320 as_fn_error $? "pwd does not report name of working directory"
1321
1322
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 s//\1/
1335 q
1336 }
1337 /^X\(\/\/\)[^/].*/{
1338 s//\1/
1339 q
1340 }
1341 /^X\(\/\/\)$/{
1342 s//\1/
1343 q
1344 }
1345 /^X\(\/\).*/{
1346 s//\1/
1347 q
1348 }
1349 s/.*/./; q'`
1350 srcdir=$ac_confdir
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 srcdir=..
1353 fi
1354 else
1355 ac_srcdir_defaulted=no
1356 fi
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1359 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1360 fi
1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1362 ac_abs_confdir=`(
1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1364 pwd)`
1365 # When building in place, set srcdir=.
1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
1367 srcdir=.
1368 fi
1369 # Remove unnecessary trailing slashes from srcdir.
1370 # Double slashes in file names in object file debugging info
1371 # mess up M-x gdb in Emacs.
1372 case $srcdir in
1373 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 esac
1375 for ac_var in $ac_precious_vars; do
1376 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1377 eval ac_env_${ac_var}_value=\$${ac_var}
1378 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1380 done
1381
1382 #
1383 # Report the --help message.
1384 #
1385 if test "$ac_init_help" = "long"; then
1386 # Omit some internal or obsolete options to make the list less imposing.
1387 # This message is too long to be a string in the A/UX 3.1 sh.
1388 cat <<_ACEOF
1389 \`configure' configures gnome-themes-extra 3.28 to adapt to many kinds of systems.
1390
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1392
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE. See below for descriptions of some of the useful variables.
1395
1396 Defaults for the options are specified in brackets.
1397
1398 Configuration:
1399 -h, --help display this help and exit
1400 --help=short display options specific to this package
1401 --help=recursive display the short help of all the included packages
1402 -V, --version display version information and exit
1403 -q, --quiet, --silent do not print \`checking ...' messages
1404 --cache-file=FILE cache test results in FILE [disabled]
1405 -C, --config-cache alias for \`--cache-file=config.cache'
1406 -n, --no-create do not create output files
1407 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1408
1409 Installation directories:
1410 --prefix=PREFIX install architecture-independent files in PREFIX
1411 [$ac_default_prefix]
1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1413 [PREFIX]
1414
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1419
1420 For better control, use the options below.
1421
1422 Fine tuning of the installation directories:
1423 --bindir=DIR user executables [EPREFIX/bin]
1424 --sbindir=DIR system admin executables [EPREFIX/sbin]
1425 --libexecdir=DIR program executables [EPREFIX/libexec]
1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1429 --libdir=DIR object code libraries [EPREFIX/lib]
1430 --includedir=DIR C header files [PREFIX/include]
1431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1434 --infodir=DIR info documentation [DATAROOTDIR/info]
1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1436 --mandir=DIR man documentation [DATAROOTDIR/man]
1437 --docdir=DIR documentation root
1438 [DATAROOTDIR/doc/gnome-themes-extra]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1443 _ACEOF
1444
1445 cat <<\_ACEOF
1446
1447 Program names:
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1451
1452 System types:
1453 --build=BUILD configure for building on BUILD [guessed]
1454 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1455 _ACEOF
1456 fi
1457
1458 if test -n "$ac_init_help"; then
1459 case $ac_init_help in
1460 short | recursive ) echo "Configuration of gnome-themes-extra 3.28:";;
1461 esac
1462 cat <<\_ACEOF
1463
1464 Optional Features:
1465 --disable-option-checking ignore unrecognized --enable/--with options
1466 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1467 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1468 --enable-silent-rules less verbose build output (undo: "make V=1")
1469 --disable-silent-rules verbose build output (undo: "make V=0")
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one-time build
1474 --disable-glibtest do not try to compile and run a test GLIB program
1475 --enable-static[=PKGS] build static libraries [default=no]
1476 --enable-shared[=PKGS] build shared libraries [default=yes]
1477 --enable-fast-install[=PKGS]
1478 optimize for fast installation [default=yes]
1479 --disable-libtool-lock avoid locking (might break parallel builds)
1480 --disable-nls do not use Native Language Support
1481 --disable-gtk3-engine Disable Gtk+ 3.x engine [default=no]
1482 --disable-gtk2-engine Disable Gtk+-2 engine [default=no]
1483
1484 Optional Packages:
1485 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1486 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1487 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1488 both]
1489 --with-aix-soname=aix|svr4|both
1490 shared library versioning (aka "SONAME") variant to
1491 provide on AIX, [default=aix].
1492 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1493 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1494 compiler's sysroot if not specified).
1495
1496 Some influential environment variables:
1497 PKG_CONFIG path to pkg-config utility
1498 PKG_CONFIG_PATH
1499 directories to add to pkg-config's search path
1500 PKG_CONFIG_LIBDIR
1501 path overriding pkg-config's built-in search path
1502 CC C compiler command
1503 CFLAGS C compiler flags
1504 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1505 nonstandard directory <lib dir>
1506 LIBS libraries to pass to the linker, e.g. -l<library>
1507 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1508 you have headers in a nonstandard directory <include dir>
1509 LT_SYS_LIBRARY_PATH
1510 User-defined run-time library search path.
1511 CPP C preprocessor
1512 GTK3_ENGINE_CFLAGS
1513 C compiler flags for GTK3_ENGINE, overriding pkg-config
1514 GTK3_ENGINE_LIBS
1515 linker flags for GTK3_ENGINE, overriding pkg-config
1516 HIGHCONTRAST_CFLAGS
1517 C compiler flags for HIGHCONTRAST, overriding pkg-config
1518 HIGHCONTRAST_LIBS
1519 linker flags for HIGHCONTRAST, overriding pkg-config
1520 GTK2_ENGINE_CFLAGS
1521 C compiler flags for GTK2_ENGINE, overriding pkg-config
1522 GTK2_ENGINE_LIBS
1523 linker flags for GTK2_ENGINE, overriding pkg-config
1524
1525 Use these variables to override the choices made by `configure' or to help
1526 it to find libraries and programs with nonstandard names/locations.
1527
1528 Report bugs to <https://gitlab.gnome.org/GNOME/gnome-themes-extra/issues>.
1529 _ACEOF
1530 ac_status=$?
1531 fi
1532
1533 if test "$ac_init_help" = "recursive"; then
1534 # If there are subdirs, report their specific --help.
1535 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1536 test -d "$ac_dir" ||
1537 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1538 continue
1539 ac_builddir=.
1540
1541 case "$ac_dir" in
1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 *)
1544 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1545 # A ".." for each directory in $ac_dir_suffix.
1546 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1547 case $ac_top_builddir_sub in
1548 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1550 esac ;;
1551 esac
1552 ac_abs_top_builddir=$ac_pwd
1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1554 # for backward compatibility:
1555 ac_top_builddir=$ac_top_build_prefix
1556
1557 case $srcdir in
1558 .) # We are building in place.
1559 ac_srcdir=.
1560 ac_top_srcdir=$ac_top_builddir_sub
1561 ac_abs_top_srcdir=$ac_pwd ;;
1562 [\\/]* | ?:[\\/]* ) # Absolute name.
1563 ac_srcdir=$srcdir$ac_dir_suffix;
1564 ac_top_srcdir=$srcdir
1565 ac_abs_top_srcdir=$srcdir ;;
1566 *) # Relative name.
1567 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1568 ac_top_srcdir=$ac_top_build_prefix$srcdir
1569 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1570 esac
1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1572
1573 cd "$ac_dir" || { ac_status=$?; continue; }
1574 # Check for guested configure.
1575 if test -f "$ac_srcdir/configure.gnu"; then
1576 echo &&
1577 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1578 elif test -f "$ac_srcdir/configure"; then
1579 echo &&
1580 $SHELL "$ac_srcdir/configure" --help=recursive
1581 else
1582 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 fi || ac_status=$?
1584 cd "$ac_pwd" || { ac_status=$?; break; }
1585 done
1586 fi
1587
1588 test -n "$ac_init_help" && exit $ac_status
1589 if $ac_init_version; then
1590 cat <<\_ACEOF
1591 gnome-themes-extra configure 3.28
1592 generated by GNU Autoconf 2.69
1593
1594 Copyright (C) 2012 Free Software Foundation, Inc.
1595 This configure script is free software; the Free Software Foundation
1596 gives unlimited permission to copy, distribute and modify it.
1597 _ACEOF
1598 exit
1599 fi
1600
1601 ## ------------------------ ##
1602 ## Autoconf initialization. ##
1603 ## ------------------------ ##
1604
1605 # ac_fn_c_try_compile LINENO
1606 # --------------------------
1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1608 ac_fn_c_try_compile ()
1609 {
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 rm -f conftest.$ac_objext
1612 if { { ac_try="$ac_compile"
1613 case "(($ac_try" in
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1616 esac
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_compile") 2>conftest.err
1620 ac_status=$?
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1625 fi
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && {
1628 test -z "$ac_c_werror_flag" ||
1629 test ! -s conftest.err
1630 } && test -s conftest.$ac_objext; then :
1631 ac_retval=0
1632 else
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1635
1636 ac_retval=1
1637 fi
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1640
1641 } # ac_fn_c_try_compile
1642
1643 # ac_fn_c_try_run LINENO
1644 # ----------------------
1645 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1646 # that executables *can* be run.
1647 ac_fn_c_try_run ()
1648 {
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { { ac_try="$ac_link"
1651 case "(($ac_try" in
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1654 esac
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_link") 2>&5
1658 ac_status=$?
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1661 { { case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_try") 2>&5
1668 ac_status=$?
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; }; }; then :
1671 ac_retval=0
1672 else
1673 $as_echo "$as_me: program exited with status $ac_status" >&5
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1676
1677 ac_retval=$ac_status
1678 fi
1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval
1682
1683 } # ac_fn_c_try_run
1684
1685 # ac_fn_c_try_link LINENO
1686 # -----------------------
1687 # Try to link conftest.$ac_ext, and return whether this succeeded.
1688 ac_fn_c_try_link ()
1689 {
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext conftest$ac_exeext
1692 if { { ac_try="$ac_link"
1693 case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1696 esac
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_link") 2>conftest.err
1700 ac_status=$?
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1705 fi
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest$ac_exeext && {
1711 test "$cross_compiling" = yes ||
1712 test -x conftest$ac_exeext
1713 }; then :
1714 ac_retval=0
1715 else
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1718
1719 ac_retval=1
1720 fi
1721 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1722 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1723 # interfere with the next link command; also delete a directory that is
1724 # left behind by Apple's compiler. We do this before executing the actions.
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1728
1729 } # ac_fn_c_try_link
1730
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1736 {
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1742 else
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 $4
1746 #include <$2>
1747 _ACEOF
1748 if ac_fn_c_try_compile "$LINENO"; then :
1749 eval "$3=yes"
1750 else
1751 eval "$3=no"
1752 fi
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754 fi
1755 eval ac_res=\$$3
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759
1760 } # ac_fn_c_check_header_compile
1761
1762 # ac_fn_c_try_cpp LINENO
1763 # ----------------------
1764 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_cpp ()
1766 {
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 if { { ac_try="$ac_cpp conftest.$ac_ext"
1769 case "(($ac_try" in
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1772 esac
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1776 ac_status=$?
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1781 fi
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } > conftest.i && {
1784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1785 test ! -s conftest.err
1786 }; then :
1787 ac_retval=0
1788 else
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1791
1792 ac_retval=1
1793 fi
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status $ac_retval
1796
1797 } # ac_fn_c_try_cpp
1798
1799 # ac_fn_c_check_func LINENO FUNC VAR
1800 # ----------------------------------
1801 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1802 ac_fn_c_check_func ()
1803 {
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806 $as_echo_n "checking for $2... " >&6; }
1807 if eval \${$3+:} false; then :
1808 $as_echo_n "(cached) " >&6
1809 else
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h. */
1812 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1814 #define $2 innocuous_$2
1815
1816 /* System header to define __stub macros and hopefully few prototypes,
1817 which can conflict with char $2 (); below.
1818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1819 <limits.h> exists even on freestanding compilers. */
1820
1821 #ifdef __STDC__
1822 # include <limits.h>
1823 #else
1824 # include <assert.h>
1825 #endif
1826
1827 #undef $2
1828
1829 /* Override any GCC internal prototype to avoid an error.
1830 Use char because int might match the return type of a GCC
1831 builtin and then its argument prototype would still apply. */
1832 #ifdef __cplusplus
1833 extern "C"
1834 #endif
1835 char $2 ();
1836 /* The GNU C library defines this for functions which it implements
1837 to always fail with ENOSYS. Some functions are actually named
1838 something starting with __ and the normal name is an alias. */
1839 #if defined __stub_$2 || defined __stub___$2
1840 choke me
1841 #endif
1842
1843 int
1844 main ()
1845 {
1846 return $2 ();
1847 ;
1848 return 0;
1849 }
1850 _ACEOF
1851 if ac_fn_c_try_link "$LINENO"; then :
1852 eval "$3=yes"
1853 else
1854 eval "$3=no"
1855 fi
1856 rm -f core conftest.err conftest.$ac_objext \
1857 conftest$ac_exeext conftest.$ac_ext
1858 fi
1859 eval ac_res=\$$3
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863
1864 } # ac_fn_c_check_func
1865 cat >config.log <<_ACEOF
1866 This file contains any messages produced by compilers while
1867 running configure, to aid debugging if configure makes a mistake.
1868
1869 It was created by gnome-themes-extra $as_me 3.28, which was
1870 generated by GNU Autoconf 2.69. Invocation command line was
1871
1872 $ $0 $@
1873
1874 _ACEOF
1875 exec 5>>config.log
1876 {
1877 cat <<_ASUNAME
1878 ## --------- ##
1879 ## Platform. ##
1880 ## --------- ##
1881
1882 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1883 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1884 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1885 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1886 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1887
1888 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1889 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1890
1891 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1892 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1893 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1894 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1895 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1896 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1897 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1898
1899 _ASUNAME
1900
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 for as_dir in $PATH
1903 do
1904 IFS=$as_save_IFS
1905 test -z "$as_dir" && as_dir=.
1906 $as_echo "PATH: $as_dir"
1907 done
1908 IFS=$as_save_IFS
1909
1910 } >&5
1911
1912 cat >&5 <<_ACEOF
1913
1914
1915 ## ----------- ##
1916 ## Core tests. ##
1917 ## ----------- ##
1918
1919 _ACEOF
1920
1921
1922 # Keep a trace of the command line.
1923 # Strip out --no-create and --no-recursion so they do not pile up.
1924 # Strip out --silent because we don't want to record it for future runs.
1925 # Also quote any args containing shell meta-characters.
1926 # Make two passes to allow for proper duplicate-argument suppression.
1927 ac_configure_args=
1928 ac_configure_args0=
1929 ac_configure_args1=
1930 ac_must_keep_next=false
1931 for ac_pass in 1 2
1932 do
1933 for ac_arg
1934 do
1935 case $ac_arg in
1936 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1938 | -silent | --silent | --silen | --sile | --sil)
1939 continue ;;
1940 *\'*)
1941 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1942 esac
1943 case $ac_pass in
1944 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1945 2)
1946 as_fn_append ac_configure_args1 " '$ac_arg'"
1947 if test $ac_must_keep_next = true; then
1948 ac_must_keep_next=false # Got value, back to normal.
1949 else
1950 case $ac_arg in
1951 *=* | --config-cache | -C | -disable-* | --disable-* \
1952 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1953 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1954 | -with-* | --with-* | -without-* | --without-* | --x)
1955 case "$ac_configure_args0 " in
1956 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1957 esac
1958 ;;
1959 -* ) ac_must_keep_next=true ;;
1960 esac
1961 fi
1962 as_fn_append ac_configure_args " '$ac_arg'"
1963 ;;
1964 esac
1965 done
1966 done
1967 { ac_configure_args0=; unset ac_configure_args0;}
1968 { ac_configure_args1=; unset ac_configure_args1;}
1969
1970 # When interrupted or exit'd, cleanup temporary files, and complete
1971 # config.log. We remove comments because anyway the quotes in there
1972 # would cause problems or look ugly.
1973 # WARNING: Use '\'' to represent an apostrophe within the trap.
1974 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1975 trap 'exit_status=$?
1976 # Save into config.log some information that might help in debugging.
1977 {
1978 echo
1979
1980 $as_echo "## ---------------- ##
1981 ## Cache variables. ##
1982 ## ---------------- ##"
1983 echo
1984 # The following way of writing the cache mishandles newlines in values,
1985 (
1986 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1987 eval ac_val=\$$ac_var
1988 case $ac_val in #(
1989 *${as_nl}*)
1990 case $ac_var in #(
1991 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1993 esac
1994 case $ac_var in #(
1995 _ | IFS | as_nl) ;; #(
1996 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1997 *) { eval $ac_var=; unset $ac_var;} ;;
1998 esac ;;
1999 esac
2000 done
2001 (set) 2>&1 |
2002 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2003 *${as_nl}ac_space=\ *)
2004 sed -n \
2005 "s/'\''/'\''\\\\'\'''\''/g;
2006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2007 ;; #(
2008 *)
2009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2010 ;;
2011 esac |
2012 sort
2013 )
2014 echo
2015
2016 $as_echo "## ----------------- ##
2017 ## Output variables. ##
2018 ## ----------------- ##"
2019 echo
2020 for ac_var in $ac_subst_vars
2021 do
2022 eval ac_val=\$$ac_var
2023 case $ac_val in
2024 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025 esac
2026 $as_echo "$ac_var='\''$ac_val'\''"
2027 done | sort
2028 echo
2029
2030 if test -n "$ac_subst_files"; then
2031 $as_echo "## ------------------- ##
2032 ## File substitutions. ##
2033 ## ------------------- ##"
2034 echo
2035 for ac_var in $ac_subst_files
2036 do
2037 eval ac_val=\$$ac_var
2038 case $ac_val in
2039 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2040 esac
2041 $as_echo "$ac_var='\''$ac_val'\''"
2042 done | sort
2043 echo
2044 fi
2045
2046 if test -s confdefs.h; then
2047 $as_echo "## ----------- ##
2048 ## confdefs.h. ##
2049 ## ----------- ##"
2050 echo
2051 cat confdefs.h
2052 echo
2053 fi
2054 test "$ac_signal" != 0 &&
2055 $as_echo "$as_me: caught signal $ac_signal"
2056 $as_echo "$as_me: exit $exit_status"
2057 } >&5
2058 rm -f core *.core core.conftest.* &&
2059 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2060 exit $exit_status
2061 ' 0
2062 for ac_signal in 1 2 13 15; do
2063 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2064 done
2065 ac_signal=0
2066
2067 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2068 rm -f -r conftest* confdefs.h
2069
2070 $as_echo "/* confdefs.h */" > confdefs.h
2071
2072 # Predefined preprocessor variables.
2073
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_NAME "$PACKAGE_NAME"
2076 _ACEOF
2077
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2080 _ACEOF
2081
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2084 _ACEOF
2085
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_STRING "$PACKAGE_STRING"
2088 _ACEOF
2089
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2092 _ACEOF
2093
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_URL "$PACKAGE_URL"
2096 _ACEOF
2097
2098
2099 # Let the site file select an alternate cache file if it wants to.
2100 # Prefer an explicitly selected file to automatically selected ones.
2101 ac_site_file1=NONE
2102 ac_site_file2=NONE
2103 if test -n "$CONFIG_SITE"; then
2104 # We do not want a PATH search for config.site.
2105 case $CONFIG_SITE in #((
2106 -*) ac_site_file1=./$CONFIG_SITE;;
2107 */*) ac_site_file1=$CONFIG_SITE;;
2108 *) ac_site_file1=./$CONFIG_SITE;;
2109 esac
2110 elif test "x$prefix" != xNONE; then
2111 ac_site_file1=$prefix/share/config.site
2112 ac_site_file2=$prefix/etc/config.site
2113 else
2114 ac_site_file1=$ac_default_prefix/share/config.site
2115 ac_site_file2=$ac_default_prefix/etc/config.site
2116 fi
2117 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2118 do
2119 test "x$ac_site_file" = xNONE && continue
2120 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2122 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2123 sed 's/^/| /' "$ac_site_file" >&5
2124 . "$ac_site_file" \
2125 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2127 as_fn_error $? "failed to load site script $ac_site_file
2128 See \`config.log' for more details" "$LINENO" 5; }
2129 fi
2130 done
2131
2132 if test -r "$cache_file"; then
2133 # Some versions of bash will fail to source /dev/null (special files
2134 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2135 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2137 $as_echo "$as_me: loading cache $cache_file" >&6;}
2138 case $cache_file in
2139 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2140 *) . "./$cache_file";;
2141 esac
2142 fi
2143 else
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2145 $as_echo "$as_me: creating cache $cache_file" >&6;}
2146 >$cache_file
2147 fi
2148
2149 # Check that the precious variables saved in the cache have kept the same
2150 # value.
2151 ac_cache_corrupted=false
2152 for ac_var in $ac_precious_vars; do
2153 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2154 eval ac_new_set=\$ac_env_${ac_var}_set
2155 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2156 eval ac_new_val=\$ac_env_${ac_var}_value
2157 case $ac_old_set,$ac_new_set in
2158 set,)
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2161 ac_cache_corrupted=: ;;
2162 ,set)
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2164 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2165 ac_cache_corrupted=: ;;
2166 ,);;
2167 *)
2168 if test "x$ac_old_val" != "x$ac_new_val"; then
2169 # differences in whitespace do not lead to failure.
2170 ac_old_val_w=`echo x $ac_old_val`
2171 ac_new_val_w=`echo x $ac_new_val`
2172 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2174 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2175 ac_cache_corrupted=:
2176 else
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2178 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2179 eval $ac_var=\$ac_old_val
2180 fi
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2182 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2184 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2185 fi;;
2186 esac
2187 # Pass precious variables to config.status.
2188 if test "$ac_new_set" = set; then
2189 case $ac_new_val in
2190 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2191 *) ac_arg=$ac_var=$ac_new_val ;;
2192 esac
2193 case " $ac_configure_args " in
2194 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2195 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2196 esac
2197 fi
2198 done
2199 if $ac_cache_corrupted; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2203 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2204 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2205 fi
2206 ## -------------------- ##
2207 ## Main body of script. ##
2208 ## -------------------- ##
2209
2210 ac_ext=c
2211 ac_cpp='$CPP $CPPFLAGS'
2212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2215
2216
2217
2218
2219
2220 am__api_version='1.15'
2221
2222 ac_aux_dir=
2223 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2224 if test -f "$ac_dir/install-sh"; then
2225 ac_aux_dir=$ac_dir
2226 ac_install_sh="$ac_aux_dir/install-sh -c"
2227 break
2228 elif test -f "$ac_dir/install.sh"; then
2229 ac_aux_dir=$ac_dir
2230 ac_install_sh="$ac_aux_dir/install.sh -c"
2231 break
2232 elif test -f "$ac_dir/shtool"; then
2233 ac_aux_dir=$ac_dir
2234 ac_install_sh="$ac_aux_dir/shtool install -c"
2235 break
2236 fi
2237 done
2238 if test -z "$ac_aux_dir"; then
2239 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2240 fi
2241
2242 # These three variables are undocumented and unsupported,
2243 # and are intended to be withdrawn in a future Autoconf release.
2244 # They can cause serious problems if a builder's source tree is in a directory
2245 # whose full name contains unusual characters.
2246 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2247 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2248 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2249
2250
2251 # Find a good install program. We prefer a C program (faster),
2252 # so one script is as good as another. But avoid the broken or
2253 # incompatible versions:
2254 # SysV /etc/install, /usr/sbin/install
2255 # SunOS /usr/etc/install
2256 # IRIX /sbin/install
2257 # AIX /bin/install
2258 # AmigaOS /C/install, which installs bootblocks on floppy discs
2259 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2260 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2261 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2262 # OS/2's system install, which has a completely different semantic
2263 # ./install, which can be erroneously created by make from ./install.sh.
2264 # Reject install programs that cannot install multiple files.
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2266 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2267 if test -z "$INSTALL"; then
2268 if ${ac_cv_path_install+:} false; then :
2269 $as_echo_n "(cached) " >&6
2270 else
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2273 do
2274 IFS=$as_save_IFS
2275 test -z "$as_dir" && as_dir=.
2276 # Account for people who put trailing slashes in PATH elements.
2277 case $as_dir/ in #((
2278 ./ | .// | /[cC]/* | \
2279 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2280 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2281 /usr/ucb/* ) ;;
2282 *)
2283 # OSF1 and SCO ODT 3.0 have their own names for install.
2284 # Don't use installbsd from OSF since it installs stuff as root
2285 # by default.
2286 for ac_prog in ginstall scoinst install; do
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2289 if test $ac_prog = install &&
2290 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2291 # AIX install. It has an incompatible calling convention.
2292 :
2293 elif test $ac_prog = install &&
2294 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2295 # program-specific install script used by HP pwplus--don't use.
2296 :
2297 else
2298 rm -rf conftest.one conftest.two conftest.dir
2299 echo one > conftest.one
2300 echo two > conftest.two
2301 mkdir conftest.dir
2302 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2303 test -s conftest.one && test -s conftest.two &&
2304 test -s conftest.dir/conftest.one &&
2305 test -s conftest.dir/conftest.two
2306 then
2307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2308 break 3
2309 fi
2310 fi
2311 fi
2312 done
2313 done
2314 ;;
2315 esac
2316
2317 done
2318 IFS=$as_save_IFS
2319
2320 rm -rf conftest.one conftest.two conftest.dir
2321
2322 fi
2323 if test "${ac_cv_path_install+set}" = set; then
2324 INSTALL=$ac_cv_path_install
2325 else
2326 # As a last resort, use the slow shell script. Don't cache a
2327 # value for INSTALL within a source directory, because that will
2328 # break other packages using the cache if that directory is
2329 # removed, or if the value is a relative name.
2330 INSTALL=$ac_install_sh
2331 fi
2332 fi
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2334 $as_echo "$INSTALL" >&6; }
2335
2336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2337 # It thinks the first close brace ends the variable substitution.
2338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2339
2340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2341
2342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2343
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2345 $as_echo_n "checking whether build environment is sane... " >&6; }
2346 # Reject unsafe characters in $srcdir or the absolute working directory
2347 # name. Accept space and tab only in the latter.
2348 am_lf='
2349 '
2350 case `pwd` in
2351 *[\\\"\#\$\&\'\`$am_lf]*)
2352 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2353 esac
2354 case $srcdir in
2355 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2356 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2357 esac
2358
2359 # Do 'set' in a subshell so we don't clobber the current shell's
2360 # arguments. Must try -L first in case configure is actually a
2361 # symlink; some systems play weird games with the mod time of symlinks
2362 # (eg FreeBSD returns the mod time of the symlink's containing
2363 # directory).
2364 if (
2365 am_has_slept=no
2366 for am_try in 1 2; do
2367 echo "timestamp, slept: $am_has_slept" > conftest.file
2368 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2369 if test "$*" = "X"; then
2370 # -L didn't work.
2371 set X `ls -t "$srcdir/configure" conftest.file`
2372 fi
2373 if test "$*" != "X $srcdir/configure conftest.file" \
2374 && test "$*" != "X conftest.file $srcdir/configure"; then
2375
2376 # If neither matched, then we have a broken ls. This can happen
2377 # if, for instance, CONFIG_SHELL is bash and it inherits a
2378 # broken ls alias from the environment. This has actually
2379 # happened. Such a system could not be considered "sane".
2380 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2381 alias in your environment" "$LINENO" 5
2382 fi
2383 if test "$2" = conftest.file || test $am_try -eq 2; then
2384 break
2385 fi
2386 # Just in case.
2387 sleep 1
2388 am_has_slept=yes
2389 done
2390 test "$2" = conftest.file
2391 )
2392 then
2393 # Ok.
2394 :
2395 else
2396 as_fn_error $? "newly created file is older than distributed files!
2397 Check your system clock" "$LINENO" 5
2398 fi
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2400 $as_echo "yes" >&6; }
2401 # If we didn't sleep, we still need to ensure time stamps of config.status and
2402 # generated files are strictly newer.
2403 am_sleep_pid=
2404 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2405 ( sleep 1 ) &
2406 am_sleep_pid=$!
2407 fi
2408
2409 rm -f conftest.file
2410
2411 test "$program_prefix" != NONE &&
2412 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2413 # Use a double $ so make ignores it.
2414 test "$program_suffix" != NONE &&
2415 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2416 # Double any \ or $.
2417 # By default was `s,x,x', remove it if useless.
2418 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2419 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2420
2421 # Expand $ac_aux_dir to an absolute path.
2422 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2423
2424 if test x"${MISSING+set}" != xset; then
2425 case $am_aux_dir in
2426 *\ * | *\ *)
2427 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2428 *)
2429 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2430 esac
2431 fi
2432 # Use eval to expand $SHELL
2433 if eval "$MISSING --is-lightweight"; then
2434 am_missing_run="$MISSING "
2435 else
2436 am_missing_run=
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2438 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2439 fi
2440
2441 if test x"${install_sh+set}" != xset; then
2442 case $am_aux_dir in
2443 *\ * | *\ *)
2444 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2445 *)
2446 install_sh="\${SHELL} $am_aux_dir/install-sh"
2447 esac
2448 fi
2449
2450 # Installed binaries are usually stripped using 'strip' when the user
2451 # run "make install-strip". However 'strip' might not be the right
2452 # tool to use in cross-compilation environments, therefore Automake
2453 # will honor the 'STRIP' environment variable to overrule this program.
2454 if test "$cross_compiling" != no; then
2455 if test -n "$ac_tool_prefix"; then
2456 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2457 set dummy ${ac_tool_prefix}strip; ac_word=$2
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2459 $as_echo_n "checking for $ac_word... " >&6; }
2460 if ${ac_cv_prog_STRIP+:} false; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 if test -n "$STRIP"; then
2464 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2465 else
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 for as_dir in $PATH
2468 do
2469 IFS=$as_save_IFS
2470 test -z "$as_dir" && as_dir=.
2471 for ac_exec_ext in '' $ac_executable_extensions; do
2472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 break 2
2476 fi
2477 done
2478 done
2479 IFS=$as_save_IFS
2480
2481 fi
2482 fi
2483 STRIP=$ac_cv_prog_STRIP
2484 if test -n "$STRIP"; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2486 $as_echo "$STRIP" >&6; }
2487 else
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2489 $as_echo "no" >&6; }
2490 fi
2491
2492
2493 fi
2494 if test -z "$ac_cv_prog_STRIP"; then
2495 ac_ct_STRIP=$STRIP
2496 # Extract the first word of "strip", so it can be a program name with args.
2497 set dummy strip; ac_word=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2501 $as_echo_n "(cached) " >&6
2502 else
2503 if test -n "$ac_ct_STRIP"; then
2504 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2505 else
2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 for as_dir in $PATH
2508 do
2509 IFS=$as_save_IFS
2510 test -z "$as_dir" && as_dir=.
2511 for ac_exec_ext in '' $ac_executable_extensions; do
2512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513 ac_cv_prog_ac_ct_STRIP="strip"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 break 2
2516 fi
2517 done
2518 done
2519 IFS=$as_save_IFS
2520
2521 fi
2522 fi
2523 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2524 if test -n "$ac_ct_STRIP"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2526 $as_echo "$ac_ct_STRIP" >&6; }
2527 else
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2530 fi
2531
2532 if test "x$ac_ct_STRIP" = x; then
2533 STRIP=":"
2534 else
2535 case $cross_compiling:$ac_tool_warned in
2536 yes:)
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539 ac_tool_warned=yes ;;
2540 esac
2541 STRIP=$ac_ct_STRIP
2542 fi
2543 else
2544 STRIP="$ac_cv_prog_STRIP"
2545 fi
2546
2547 fi
2548 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2549
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2551 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2552 if test -z "$MKDIR_P"; then
2553 if ${ac_cv_path_mkdir+:} false; then :
2554 $as_echo_n "(cached) " >&6
2555 else
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2558 do
2559 IFS=$as_save_IFS
2560 test -z "$as_dir" && as_dir=.
2561 for ac_prog in mkdir gmkdir; do
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2564 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2565 'mkdir (GNU coreutils) '* | \
2566 'mkdir (coreutils) '* | \
2567 'mkdir (fileutils) '4.1*)
2568 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2569 break 3;;
2570 esac
2571 done
2572 done
2573 done
2574 IFS=$as_save_IFS
2575
2576 fi
2577
2578 test -d ./--version && rmdir ./--version
2579 if test "${ac_cv_path_mkdir+set}" = set; then
2580 MKDIR_P="$ac_cv_path_mkdir -p"
2581 else
2582 # As a last resort, use the slow shell script. Don't cache a
2583 # value for MKDIR_P within a source directory, because that will
2584 # break other packages using the cache if that directory is
2585 # removed, or if the value is a relative name.
2586 MKDIR_P="$ac_install_sh -d"
2587 fi
2588 fi
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2590 $as_echo "$MKDIR_P" >&6; }
2591
2592 for ac_prog in gawk mawk nawk awk
2593 do
2594 # Extract the first word of "$ac_prog", so it can be a program name with args.
2595 set dummy $ac_prog; ac_word=$2
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if ${ac_cv_prog_AWK+:} false; then :
2599 $as_echo_n "(cached) " >&6
2600 else
2601 if test -n "$AWK"; then
2602 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2603 else
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 for as_dir in $PATH
2606 do
2607 IFS=$as_save_IFS
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611 ac_cv_prog_AWK="$ac_prog"
2612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 break 2
2614 fi
2615 done
2616 done
2617 IFS=$as_save_IFS
2618
2619 fi
2620 fi
2621 AWK=$ac_cv_prog_AWK
2622 if test -n "$AWK"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2624 $as_echo "$AWK" >&6; }
2625 else
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2628 fi
2629
2630
2631 test -n "$AWK" && break
2632 done
2633
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2635 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2636 set x ${MAKE-make}
2637 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2638 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2639 $as_echo_n "(cached) " >&6
2640 else
2641 cat >conftest.make <<\_ACEOF
2642 SHELL = /bin/sh
2643 all:
2644 @echo '@@@%%%=$(MAKE)=@@@%%%'
2645 _ACEOF
2646 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2647 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2648 *@@@%%%=?*=@@@%%%*)
2649 eval ac_cv_prog_make_${ac_make}_set=yes;;
2650 *)
2651 eval ac_cv_prog_make_${ac_make}_set=no;;
2652 esac
2653 rm -f conftest.make
2654 fi
2655 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2657 $as_echo "yes" >&6; }
2658 SET_MAKE=
2659 else
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2662 SET_MAKE="MAKE=${MAKE-make}"
2663 fi
2664
2665 rm -rf .tst 2>/dev/null
2666 mkdir .tst 2>/dev/null
2667 if test -d .tst; then
2668 am__leading_dot=.
2669 else
2670 am__leading_dot=_
2671 fi
2672 rmdir .tst 2>/dev/null
2673
2674 # Check whether --enable-silent-rules was given.
2675 if test "${enable_silent_rules+set}" = set; then :
2676 enableval=$enable_silent_rules;
2677 fi
2678
2679 case $enable_silent_rules in # (((
2680 yes) AM_DEFAULT_VERBOSITY=0;;
2681 no) AM_DEFAULT_VERBOSITY=1;;
2682 *) AM_DEFAULT_VERBOSITY=1;;
2683 esac
2684 am_make=${MAKE-make}
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2686 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2687 if ${am_cv_make_support_nested_variables+:} false; then :
2688 $as_echo_n "(cached) " >&6
2689 else
2690 if $as_echo 'TRUE=$(BAR$(V))
2691 BAR0=false
2692 BAR1=true
2693 V=1
2694 am__doit:
2695 @$(TRUE)
2696 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2697 am_cv_make_support_nested_variables=yes
2698 else
2699 am_cv_make_support_nested_variables=no
2700 fi
2701 fi
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2703 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2704 if test $am_cv_make_support_nested_variables = yes; then
2705 AM_V='$(V)'
2706 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2707 else
2708 AM_V=$AM_DEFAULT_VERBOSITY
2709 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2710 fi
2711 AM_BACKSLASH='\'
2712
2713 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2714 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2715 # is not polluted with repeated "-I."
2716 am__isrc=' -I$(srcdir)'
2717 # test to see if srcdir already configured
2718 if test -f $srcdir/config.status; then
2719 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2720 fi
2721 fi
2722
2723 # test whether we have cygpath
2724 if test -z "$CYGPATH_W"; then
2725 if (cygpath --version) >/dev/null 2>/dev/null; then
2726 CYGPATH_W='cygpath -w'
2727 else
2728 CYGPATH_W=echo
2729 fi
2730 fi
2731
2732
2733 # Define the identity of the package.
2734 PACKAGE='gnome-themes-extra'
2735 VERSION='3.28'
2736
2737
2738 cat >>confdefs.h <<_ACEOF
2739 #define PACKAGE "$PACKAGE"
2740 _ACEOF
2741
2742
2743 cat >>confdefs.h <<_ACEOF
2744 #define VERSION "$VERSION"
2745 _ACEOF
2746
2747 # Some tools Automake needs.
2748
2749 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2750
2751
2752 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2753
2754
2755 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2756
2757
2758 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2759
2760
2761 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2762
2763 # For better backward compatibility. To be removed once Automake 1.9.x
2764 # dies out for good. For more background, see:
2765 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2766 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2767 mkdir_p='$(MKDIR_P)'
2768
2769 # We need awk for the "check" target (and possibly the TAP driver). The
2770 # system "awk" is bad on some platforms.
2771 # Always define AMTAR for backward compatibility. Yes, it's still used
2772 # in the wild :-( We should find a proper way to deprecate it ...
2773 AMTAR='$${TAR-tar}'
2774
2775
2776 # We'll loop over all known methods to create a tar archive until one works.
2777 _am_tools='gnutar plaintar pax cpio none'
2778
2779 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2780 # There is notably a 21 bits limit for the UID and the GID. In fact,
2781 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2782 # and bug#13588).
2783 am_max_uid=2097151 # 2^21 - 1
2784 am_max_gid=$am_max_uid
2785 # The $UID and $GID variables are not portable, so we need to resort
2786 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2787 # below are definitely unexpected, so allow the users to see them
2788 # (that is, avoid stderr redirection).
2789 am_uid=`id -u || echo unknown`
2790 am_gid=`id -g || echo unknown`
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2792 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2793 if test $am_uid -le $am_max_uid; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2795 $as_echo "yes" >&6; }
2796 else
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2799 _am_tools=none
2800 fi
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2802 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2803 if test $am_gid -le $am_max_gid; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2805 $as_echo "yes" >&6; }
2806 else
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2809 _am_tools=none
2810 fi
2811
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2813 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2814
2815 # Go ahead even if we have the value already cached. We do so because we
2816 # need to set the values for the 'am__tar' and 'am__untar' variables.
2817 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2818
2819 for _am_tool in $_am_tools; do
2820 case $_am_tool in
2821 gnutar)
2822 for _am_tar in tar gnutar gtar; do
2823 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2824 ($_am_tar --version) >&5 2>&5
2825 ac_status=$?
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); } && break
2828 done
2829 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2830 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2831 am__untar="$_am_tar -xf -"
2832 ;;
2833 plaintar)
2834 # Must skip GNU tar: if it does not support --format= it doesn't create
2835 # ustar tarball either.
2836 (tar --version) >/dev/null 2>&1 && continue
2837 am__tar='tar chf - "$$tardir"'
2838 am__tar_='tar chf - "$tardir"'
2839 am__untar='tar xf -'
2840 ;;
2841 pax)
2842 am__tar='pax -L -x ustar -w "$$tardir"'
2843 am__tar_='pax -L -x ustar -w "$tardir"'
2844 am__untar='pax -r'
2845 ;;
2846 cpio)
2847 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2848 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2849 am__untar='cpio -i -H ustar -d'
2850 ;;
2851 none)
2852 am__tar=false
2853 am__tar_=false
2854 am__untar=false
2855 ;;
2856 esac
2857
2858 # If the value was cached, stop now. We just wanted to have am__tar
2859 # and am__untar set.
2860 test -n "${am_cv_prog_tar_ustar}" && break
2861
2862 # tar/untar a dummy directory, and stop if the command works.
2863 rm -rf conftest.dir
2864 mkdir conftest.dir
2865 echo GrepMe > conftest.dir/file
2866 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2867 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2868 ac_status=$?
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }
2871 rm -rf conftest.dir
2872 if test -s conftest.tar; then
2873 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2874 ($am__untar <conftest.tar) >&5 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }
2878 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2879 (cat conftest.dir/file) >&5 2>&5
2880 ac_status=$?
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }
2883 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2884 fi
2885 done
2886 rm -rf conftest.dir
2887
2888 if ${am_cv_prog_tar_ustar+:} false; then :
2889 $as_echo_n "(cached) " >&6
2890 else
2891 am_cv_prog_tar_ustar=$_am_tool
2892 fi
2893
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2895 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2896
2897
2898
2899
2900
2901
2902 # POSIX will say in a future version that running "rm -f" with no argument
2903 # is OK; and we want to be able to make that assumption in our Makefile
2904 # recipes. So use an aggressive probe to check that the usage we want is
2905 # actually supported "in the wild" to an acceptable degree.
2906 # See automake bug#10828.
2907 # To make any issue more visible, cause the running configure to be aborted
2908 # by default if the 'rm' program in use doesn't match our expectations; the
2909 # user can still override this though.
2910 if rm -f && rm -fr && rm -rf; then : OK; else
2911 cat >&2 <<'END'
2912 Oops!
2913
2914 Your 'rm' program seems unable to run without file operands specified
2915 on the command line, even when the '-f' option is present. This is contrary
2916 to the behaviour of most rm programs out there, and not conforming with
2917 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2918
2919 Please tell [email protected] about your system, including the value
2920 of your $PATH and any error possibly output before this message. This
2921 can help us improve future automake versions.
2922
2923 END
2924 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2925 echo 'Configuration will proceed anyway, since you have set the' >&2
2926 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2927 echo >&2
2928 else
2929 cat >&2 <<'END'
2930 Aborting the configuration process, to ensure you take notice of the issue.
2931
2932 You can download and install GNU coreutils to get an 'rm' implementation
2933 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2934
2935 If you want to complete the configuration process using your problematic
2936 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2937 to "yes", and re-run configure.
2938
2939 END
2940 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2941 fi
2942 fi
2943
2944 # Check whether --enable-silent-rules was given.
2945 if test "${enable_silent_rules+set}" = set; then :
2946 enableval=$enable_silent_rules;
2947 fi
2948
2949 case $enable_silent_rules in # (((
2950 yes) AM_DEFAULT_VERBOSITY=0;;
2951 no) AM_DEFAULT_VERBOSITY=1;;
2952 *) AM_DEFAULT_VERBOSITY=0;;
2953 esac
2954 am_make=${MAKE-make}
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2956 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2957 if ${am_cv_make_support_nested_variables+:} false; then :
2958 $as_echo_n "(cached) " >&6
2959 else
2960 if $as_echo 'TRUE=$(BAR$(V))
2961 BAR0=false
2962 BAR1=true
2963 V=1
2964 am__doit:
2965 @$(TRUE)
2966 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2967 am_cv_make_support_nested_variables=yes
2968 else
2969 am_cv_make_support_nested_variables=no
2970 fi
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2973 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2974 if test $am_cv_make_support_nested_variables = yes; then
2975 AM_V='$(V)'
2976 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2977 else
2978 AM_V=$AM_DEFAULT_VERBOSITY
2979 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2980 fi
2981 AM_BACKSLASH='\'
2982
2983
2984 echo \#buildapi-variable-no-builddir >/dev/null
2985
2986
2987
2988
2989
2990
2991
2992
2993 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2996 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3000 $as_echo_n "(cached) " >&6
3001 else
3002 case $PKG_CONFIG in
3003 [\\/]* | ?:[\\/]*)
3004 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3005 ;;
3006 *)
3007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 for as_dir in $PATH
3009 do
3010 IFS=$as_save_IFS
3011 test -z "$as_dir" && as_dir=.
3012 for ac_exec_ext in '' $ac_executable_extensions; do
3013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3014 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 break 2
3017 fi
3018 done
3019 done
3020 IFS=$as_save_IFS
3021
3022 ;;
3023 esac
3024 fi
3025 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3026 if test -n "$PKG_CONFIG"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3028 $as_echo "$PKG_CONFIG" >&6; }
3029 else
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3032 fi
3033
3034
3035 fi
3036 if test -z "$ac_cv_path_PKG_CONFIG"; then
3037 ac_pt_PKG_CONFIG=$PKG_CONFIG
3038 # Extract the first word of "pkg-config", so it can be a program name with args.
3039 set dummy pkg-config; ac_word=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3043 $as_echo_n "(cached) " >&6
3044 else
3045 case $ac_pt_PKG_CONFIG in
3046 [\\/]* | ?:[\\/]*)
3047 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3048 ;;
3049 *)
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051 for as_dir in $PATH
3052 do
3053 IFS=$as_save_IFS
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3057 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 break 2
3060 fi
3061 done
3062 done
3063 IFS=$as_save_IFS
3064
3065 ;;
3066 esac
3067 fi
3068 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3069 if test -n "$ac_pt_PKG_CONFIG"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3071 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3072 else
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3075 fi
3076
3077 if test "x$ac_pt_PKG_CONFIG" = x; then
3078 PKG_CONFIG=""
3079 else
3080 case $cross_compiling:$ac_tool_warned in
3081 yes:)
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3084 ac_tool_warned=yes ;;
3085 esac
3086 PKG_CONFIG=$ac_pt_PKG_CONFIG
3087 fi
3088 else
3089 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3090 fi
3091
3092 fi
3093 if test -n "$PKG_CONFIG"; then
3094 _pkg_min_version=0.19
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3096 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3097 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3099 $as_echo "yes" >&6; }
3100 else
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3103 PKG_CONFIG=""
3104 fi
3105 fi
3106
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3108 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3109 if ${ac_cv_path_SED+:} false; then :
3110 $as_echo_n "(cached) " >&6
3111 else
3112 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3113 for ac_i in 1 2 3 4 5 6 7; do
3114 ac_script="$ac_script$as_nl$ac_script"
3115 done
3116 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3117 { ac_script=; unset ac_script;}
3118 if test -z "$SED"; then
3119 ac_path_SED_found=false
3120 # Loop through the user's path and test for each of PROGNAME-LIST
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124 IFS=$as_save_IFS
3125 test -z "$as_dir" && as_dir=.
3126 for ac_prog in sed gsed; do
3127 for ac_exec_ext in '' $ac_executable_extensions; do
3128 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3129 as_fn_executable_p "$ac_path_SED" || continue
3130 # Check for GNU ac_path_SED and select it if it is found.
3131 # Check for GNU $ac_path_SED
3132 case `"$ac_path_SED" --version 2>&1` in
3133 *GNU*)
3134 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3135 *)
3136 ac_count=0
3137 $as_echo_n 0123456789 >"conftest.in"
3138 while :
3139 do
3140 cat "conftest.in" "conftest.in" >"conftest.tmp"
3141 mv "conftest.tmp" "conftest.in"
3142 cp "conftest.in" "conftest.nl"
3143 $as_echo '' >> "conftest.nl"
3144 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3145 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3146 as_fn_arith $ac_count + 1 && ac_count=$as_val
3147 if test $ac_count -gt ${ac_path_SED_max-0}; then
3148 # Best one so far, save it but keep looking for a better one
3149 ac_cv_path_SED="$ac_path_SED"
3150 ac_path_SED_max=$ac_count
3151 fi
3152 # 10*(2^10) chars as input seems more than enough
3153 test $ac_count -gt 10 && break
3154 done
3155 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3156 esac
3157
3158 $ac_path_SED_found && break 3
3159 done
3160 done
3161 done
3162 IFS=$as_save_IFS
3163 if test -z "$ac_cv_path_SED"; then
3164 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3165 fi
3166 else
3167 ac_cv_path_SED=$SED
3168 fi
3169
3170 fi
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3172 $as_echo "$ac_cv_path_SED" >&6; }
3173 SED="$ac_cv_path_SED"
3174 rm -f conftest.sed
3175
3176 ac_ext=c
3177 ac_cpp='$CPP $CPPFLAGS'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3181 if test -n "$ac_tool_prefix"; then
3182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3183 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_CC+:} false; then :
3187 $as_echo_n "(cached) " >&6
3188 else
3189 if test -n "$CC"; then
3190 ac_cv_prog_CC="$CC" # Let the user override the test.
3191 else
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193 for as_dir in $PATH
3194 do
3195 IFS=$as_save_IFS
3196 test -z "$as_dir" && as_dir=.
3197 for ac_exec_ext in '' $ac_executable_extensions; do
3198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3199 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 break 2
3202 fi
3203 done
3204 done
3205 IFS=$as_save_IFS
3206
3207 fi
3208 fi
3209 CC=$ac_cv_prog_CC
3210 if test -n "$CC"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3212 $as_echo "$CC" >&6; }
3213 else
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3216 fi
3217
3218
3219 fi
3220 if test -z "$ac_cv_prog_CC"; then
3221 ac_ct_CC=$CC
3222 # Extract the first word of "gcc", so it can be a program name with args.
3223 set dummy gcc; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3227 $as_echo_n "(cached) " >&6
3228 else
3229 if test -n "$ac_ct_CC"; then
3230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235 IFS=$as_save_IFS
3236 test -z "$as_dir" && as_dir=.
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_ac_ct_CC="gcc"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 break 2
3242 fi
3243 done
3244 done
3245 IFS=$as_save_IFS
3246
3247 fi
3248 fi
3249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3250 if test -n "$ac_ct_CC"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3252 $as_echo "$ac_ct_CC" >&6; }
3253 else
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 fi
3257
3258 if test "x$ac_ct_CC" = x; then
3259 CC=""
3260 else
3261 case $cross_compiling:$ac_tool_warned in
3262 yes:)
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3266 esac
3267 CC=$ac_ct_CC
3268 fi
3269 else
3270 CC="$ac_cv_prog_CC"
3271 fi
3272
3273 if test -z "$CC"; then
3274 if test -n "$ac_tool_prefix"; then
3275 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3276 set dummy ${ac_tool_prefix}cc; ac_word=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if ${ac_cv_prog_CC+:} false; then :
3280 $as_echo_n "(cached) " >&6
3281 else
3282 if test -n "$CC"; then
3283 ac_cv_prog_CC="$CC" # Let the user override the test.
3284 else
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286 for as_dir in $PATH
3287 do
3288 IFS=$as_save_IFS
3289 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3292 ac_cv_prog_CC="${ac_tool_prefix}cc"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 break 2
3295 fi
3296 done
3297 done
3298 IFS=$as_save_IFS
3299
3300 fi
3301 fi
3302 CC=$ac_cv_prog_CC
3303 if test -n "$CC"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3305 $as_echo "$CC" >&6; }
3306 else
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3309 fi
3310
3311
3312 fi
3313 fi
3314 if test -z "$CC"; then
3315 # Extract the first word of "cc", so it can be a program name with args.
3316 set dummy cc; ac_word=$2
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if ${ac_cv_prog_CC+:} false; then :
3320 $as_echo_n "(cached) " >&6
3321 else
3322 if test -n "$CC"; then
3323 ac_cv_prog_CC="$CC" # Let the user override the test.
3324 else
3325 ac_prog_rejected=no
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH
3328 do
3329 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=.
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3334 ac_prog_rejected=yes
3335 continue
3336 fi
3337 ac_cv_prog_CC="cc"
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 break 2
3340 fi
3341 done
3342 done
3343 IFS=$as_save_IFS
3344
3345 if test $ac_prog_rejected = yes; then
3346 # We found a bogon in the path, so make sure we never use it.
3347 set dummy $ac_cv_prog_CC
3348 shift
3349 if test $# != 0; then
3350 # We chose a different compiler from the bogus one.
3351 # However, it has the same basename, so the bogon will be chosen
3352 # first if we set CC to just the basename; use the full file name.
3353 shift
3354 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3355 fi
3356 fi
3357 fi
3358 fi
3359 CC=$ac_cv_prog_CC
3360 if test -n "$CC"; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362 $as_echo "$CC" >&6; }
3363 else
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3366 fi
3367
3368
3369 fi
3370 if test -z "$CC"; then
3371 if test -n "$ac_tool_prefix"; then
3372 for ac_prog in cl.exe
3373 do
3374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if ${ac_cv_prog_CC+:} false; then :
3379 $as_echo_n "(cached) " >&6
3380 else
3381 if test -n "$CC"; then
3382 ac_cv_prog_CC="$CC" # Let the user override the test.
3383 else
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385 for as_dir in $PATH
3386 do
3387 IFS=$as_save_IFS
3388 test -z "$as_dir" && as_dir=.
3389 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3391 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 break 2
3394 fi
3395 done
3396 done
3397 IFS=$as_save_IFS
3398
3399 fi
3400 fi
3401 CC=$ac_cv_prog_CC
3402 if test -n "$CC"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3404 $as_echo "$CC" >&6; }
3405 else
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3408 fi
3409
3410
3411 test -n "$CC" && break
3412 done
3413 fi
3414 if test -z "$CC"; then
3415 ac_ct_CC=$CC
3416 for ac_prog in cl.exe
3417 do
3418 # Extract the first word of "$ac_prog", so it can be a program name with args.
3419 set dummy $ac_prog; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3423 $as_echo_n "(cached) " >&6
3424 else
3425 if test -n "$ac_ct_CC"; then
3426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3427 else
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429 for as_dir in $PATH
3430 do
3431 IFS=$as_save_IFS
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3435 ac_cv_prog_ac_ct_CC="$ac_prog"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 break 2
3438 fi
3439 done
3440 done
3441 IFS=$as_save_IFS
3442
3443 fi
3444 fi
3445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3446 if test -n "$ac_ct_CC"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3448 $as_echo "$ac_ct_CC" >&6; }
3449 else
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3452 fi
3453
3454
3455 test -n "$ac_ct_CC" && break
3456 done
3457
3458 if test "x$ac_ct_CC" = x; then
3459 CC=""
3460 else
3461 case $cross_compiling:$ac_tool_warned in
3462 yes:)
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3465 ac_tool_warned=yes ;;
3466 esac
3467 CC=$ac_ct_CC
3468 fi
3469 fi
3470
3471 fi
3472
3473
3474 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "no acceptable C compiler found in \$PATH
3477 See \`config.log' for more details" "$LINENO" 5; }
3478
3479 # Provide some information about the compiler.
3480 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3481 set X $ac_compile
3482 ac_compiler=$2
3483 for ac_option in --version -v -V -qversion; do
3484 { { ac_try="$ac_compiler $ac_option >&5"
3485 case "(($ac_try" in
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3488 esac
3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3492 ac_status=$?
3493 if test -s conftest.err; then
3494 sed '10a\
3495 ... rest of stderr output deleted ...
3496 10q' conftest.err >conftest.er1
3497 cat conftest.er1 >&5
3498 fi
3499 rm -f conftest.er1 conftest.err
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }
3502 done
3503
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3506
3507 int
3508 main ()
3509 {
3510
3511 ;
3512 return 0;
3513 }
3514 _ACEOF
3515 ac_clean_files_save=$ac_clean_files
3516 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3517 # Try to create an executable without -o first, disregard a.out.
3518 # It will help us diagnose broken compilers, and finding out an intuition
3519 # of exeext.
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3521 $as_echo_n "checking whether the C compiler works... " >&6; }
3522 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3523
3524 # The possible output files:
3525 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3526
3527 ac_rmfiles=
3528 for ac_file in $ac_files
3529 do
3530 case $ac_file in
3531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3532 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3533 esac
3534 done
3535 rm -f $ac_rmfiles
3536
3537 if { { ac_try="$ac_link_default"
3538 case "(($ac_try" in
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3541 esac
3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543 $as_echo "$ac_try_echo"; } >&5
3544 (eval "$ac_link_default") 2>&5
3545 ac_status=$?
3546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 test $ac_status = 0; }; then :
3548 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3549 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3550 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3551 # so that the user can short-circuit this test for compilers unknown to
3552 # Autoconf.
3553 for ac_file in $ac_files ''
3554 do
3555 test -f "$ac_file" || continue
3556 case $ac_file in
3557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3558 ;;
3559 [ab].out )
3560 # We found the default executable, but exeext='' is most
3561 # certainly right.
3562 break;;
3563 *.* )
3564 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3565 then :; else
3566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3567 fi
3568 # We set ac_cv_exeext here because the later test for it is not
3569 # safe: cross compilers may not add the suffix if given an `-o'
3570 # argument, so we may need to know it at that point already.
3571 # Even if this section looks crufty: it has the advantage of
3572 # actually working.
3573 break;;
3574 * )
3575 break;;
3576 esac
3577 done
3578 test "$ac_cv_exeext" = no && ac_cv_exeext=
3579
3580 else
3581 ac_file=''
3582 fi
3583 if test -z "$ac_file"; then :
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3588
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error 77 "C compiler cannot create executables
3592 See \`config.log' for more details" "$LINENO" 5; }
3593 else
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3595 $as_echo "yes" >&6; }
3596 fi
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3598 $as_echo_n "checking for C compiler default output file name... " >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3600 $as_echo "$ac_file" >&6; }
3601 ac_exeext=$ac_cv_exeext
3602
3603 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3604 ac_clean_files=$ac_clean_files_save
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3606 $as_echo_n "checking for suffix of executables... " >&6; }
3607 if { { ac_try="$ac_link"
3608 case "(($ac_try" in
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3611 esac
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_link") 2>&5
3615 ac_status=$?
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; then :
3618 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3619 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3620 # work properly (i.e., refer to `conftest.exe'), while it won't with
3621 # `rm'.
3622 for ac_file in conftest.exe conftest conftest.*; do
3623 test -f "$ac_file" || continue
3624 case $ac_file in
3625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3626 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3627 break;;
3628 * ) break;;
3629 esac
3630 done
3631 else
3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3635 See \`config.log' for more details" "$LINENO" 5; }
3636 fi
3637 rm -f conftest conftest$ac_cv_exeext
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3639 $as_echo "$ac_cv_exeext" >&6; }
3640
3641 rm -f conftest.$ac_ext
3642 EXEEXT=$ac_cv_exeext
3643 ac_exeext=$EXEEXT
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3646 #include <stdio.h>
3647 int
3648 main ()
3649 {
3650 FILE *f = fopen ("conftest.out", "w");
3651 return ferror (f) || fclose (f) != 0;
3652
3653 ;
3654 return 0;
3655 }
3656 _ACEOF
3657 ac_clean_files="$ac_clean_files conftest.out"
3658 # Check that the compiler produces executables we can run. If not, either
3659 # the compiler is broken, or we cross compile.
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3661 $as_echo_n "checking whether we are cross compiling... " >&6; }
3662 if test "$cross_compiling" != yes; then
3663 { { ac_try="$ac_link"
3664 case "(($ac_try" in
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3667 esac
3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_link") 2>&5
3671 ac_status=$?
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }
3674 if { ac_try='./conftest$ac_cv_exeext'
3675 { { case "(($ac_try" in
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3678 esac
3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680 $as_echo "$ac_try_echo"; } >&5
3681 (eval "$ac_try") 2>&5
3682 ac_status=$?
3683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684 test $ac_status = 0; }; }; then
3685 cross_compiling=no
3686 else
3687 if test "$cross_compiling" = maybe; then
3688 cross_compiling=yes
3689 else
3690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 as_fn_error $? "cannot run C compiled programs.
3693 If you meant to cross compile, use \`--host'.
3694 See \`config.log' for more details" "$LINENO" 5; }
3695 fi
3696 fi
3697 fi
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3699 $as_echo "$cross_compiling" >&6; }
3700
3701 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3702 ac_clean_files=$ac_clean_files_save
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3704 $as_echo_n "checking for suffix of object files... " >&6; }
3705 if ${ac_cv_objext+:} false; then :
3706 $as_echo_n "(cached) " >&6
3707 else
3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3710
3711 int
3712 main ()
3713 {
3714
3715 ;
3716 return 0;
3717 }
3718 _ACEOF
3719 rm -f conftest.o conftest.obj
3720 if { { ac_try="$ac_compile"
3721 case "(($ac_try" in
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3724 esac
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_compile") 2>&5
3728 ac_status=$?
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; }; then :
3731 for ac_file in conftest.o conftest.obj conftest.*; do
3732 test -f "$ac_file" || continue;
3733 case $ac_file in
3734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3736 break;;
3737 esac
3738 done
3739 else
3740 $as_echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3742
3743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3745 as_fn_error $? "cannot compute suffix of object files: cannot compile
3746 See \`config.log' for more details" "$LINENO" 5; }
3747 fi
3748 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3749 fi
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3751 $as_echo "$ac_cv_objext" >&6; }
3752 OBJEXT=$ac_cv_objext
3753 ac_objext=$OBJEXT
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3755 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3756 if ${ac_cv_c_compiler_gnu+:} false; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3761
3762 int
3763 main ()
3764 {
3765 #ifndef __GNUC__
3766 choke me
3767 #endif
3768
3769 ;
3770 return 0;
3771 }
3772 _ACEOF
3773 if ac_fn_c_try_compile "$LINENO"; then :
3774 ac_compiler_gnu=yes
3775 else
3776 ac_compiler_gnu=no
3777 fi
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3780
3781 fi
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3783 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3784 if test $ac_compiler_gnu = yes; then
3785 GCC=yes
3786 else
3787 GCC=
3788 fi
3789 ac_test_CFLAGS=${CFLAGS+set}
3790 ac_save_CFLAGS=$CFLAGS
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3792 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3793 if ${ac_cv_prog_cc_g+:} false; then :
3794 $as_echo_n "(cached) " >&6
3795 else
3796 ac_save_c_werror_flag=$ac_c_werror_flag
3797 ac_c_werror_flag=yes
3798 ac_cv_prog_cc_g=no
3799 CFLAGS="-g"
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3802
3803 int
3804 main ()
3805 {
3806
3807 ;
3808 return 0;
3809 }
3810 _ACEOF
3811 if ac_fn_c_try_compile "$LINENO"; then :
3812 ac_cv_prog_cc_g=yes
3813 else
3814 CFLAGS=""
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3817
3818 int
3819 main ()
3820 {
3821
3822 ;
3823 return 0;
3824 }
3825 _ACEOF
3826 if ac_fn_c_try_compile "$LINENO"; then :
3827
3828 else
3829 ac_c_werror_flag=$ac_save_c_werror_flag
3830 CFLAGS="-g"
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3833
3834 int
3835 main ()
3836 {
3837
3838 ;
3839 return 0;
3840 }
3841 _ACEOF
3842 if ac_fn_c_try_compile "$LINENO"; then :
3843 ac_cv_prog_cc_g=yes
3844 fi
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 fi
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848 fi
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 ac_c_werror_flag=$ac_save_c_werror_flag
3851 fi
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3853 $as_echo "$ac_cv_prog_cc_g" >&6; }
3854 if test "$ac_test_CFLAGS" = set; then
3855 CFLAGS=$ac_save_CFLAGS
3856 elif test $ac_cv_prog_cc_g = yes; then
3857 if test "$GCC" = yes; then
3858 CFLAGS="-g -O2"
3859 else
3860 CFLAGS="-g"
3861 fi
3862 else
3863 if test "$GCC" = yes; then
3864 CFLAGS="-O2"
3865 else
3866 CFLAGS=
3867 fi
3868 fi
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3870 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3871 if ${ac_cv_prog_cc_c89+:} false; then :
3872 $as_echo_n "(cached) " >&6
3873 else
3874 ac_cv_prog_cc_c89=no
3875 ac_save_CC=$CC
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3878 #include <stdarg.h>
3879 #include <stdio.h>
3880 struct stat;
3881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3882 struct buf { int x; };
3883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3884 static char *e (p, i)
3885 char **p;
3886 int i;
3887 {
3888 return p[i];
3889 }
3890 static char *f (char * (*g) (char **, int), char **p, ...)
3891 {
3892 char *s;
3893 va_list v;
3894 va_start (v,p);
3895 s = g (p, va_arg (v,int));
3896 va_end (v);
3897 return s;
3898 }
3899
3900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3901 function prototypes and stuff, but not '\xHH' hex character constants.
3902 These don't provoke an error unfortunately, instead are silently treated
3903 as 'x'. The following induces an error, until -std is added to get
3904 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3905 array size at least. It's necessary to write '\x00'==0 to get something
3906 that's true only with -std. */
3907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3908
3909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3910 inside strings and character constants. */
3911 #define FOO(x) 'x'
3912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3913
3914 int test (int i, double x);
3915 struct s1 {int (*f) (int a);};
3916 struct s2 {int (*f) (double a);};
3917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3918 int argc;
3919 char **argv;
3920 int
3921 main ()
3922 {
3923 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3924 ;
3925 return 0;
3926 }
3927 _ACEOF
3928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3929 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3930 do
3931 CC="$ac_save_CC $ac_arg"
3932 if ac_fn_c_try_compile "$LINENO"; then :
3933 ac_cv_prog_cc_c89=$ac_arg
3934 fi
3935 rm -f core conftest.err conftest.$ac_objext
3936 test "x$ac_cv_prog_cc_c89" != "xno" && break
3937 done
3938 rm -f conftest.$ac_ext
3939 CC=$ac_save_CC
3940
3941 fi
3942 # AC_CACHE_VAL
3943 case "x$ac_cv_prog_cc_c89" in
3944 x)
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3946 $as_echo "none needed" >&6; } ;;
3947 xno)
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3949 $as_echo "unsupported" >&6; } ;;
3950 *)
3951 CC="$CC $ac_cv_prog_cc_c89"
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3954 esac
3955 if test "x$ac_cv_prog_cc_c89" != xno; then :
3956
3957 fi
3958
3959 ac_ext=c
3960 ac_cpp='$CPP $CPPFLAGS'
3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964
3965 ac_ext=c
3966 ac_cpp='$CPP $CPPFLAGS'
3967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3971 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3972 if ${am_cv_prog_cc_c_o+:} false; then :
3973 $as_echo_n "(cached) " >&6
3974 else
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3977
3978 int
3979 main ()
3980 {
3981
3982 ;
3983 return 0;
3984 }
3985 _ACEOF
3986 # Make sure it works both with $CC and with simple cc.
3987 # Following AC_PROG_CC_C_O, we do the test twice because some
3988 # compilers refuse to overwrite an existing .o file with -o,
3989 # though they will create one.
3990 am_cv_prog_cc_c_o=yes
3991 for am_i in 1 2; do
3992 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3993 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3994 ac_status=$?
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } \
3997 && test -f conftest2.$ac_objext; then
3998 : OK
3999 else
4000 am_cv_prog_cc_c_o=no
4001 break
4002 fi
4003 done
4004 rm -f core conftest*
4005 unset am_i
4006 fi
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4008 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4009 if test "$am_cv_prog_cc_c_o" != yes; then
4010 # Losing compiler, so override with the script.
4011 # FIXME: It is wrong to rewrite CC.
4012 # But if we don't then we get into trouble of one sort or another.
4013 # A longer-term fix would be to have automake use am__CC in this case,
4014 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4015 CC="$am_aux_dir/compile $CC"
4016 fi
4017 ac_ext=c
4018 ac_cpp='$CPP $CPPFLAGS'
4019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4022
4023 DEPDIR="${am__leading_dot}deps"
4024
4025 ac_config_commands="$ac_config_commands depfiles"
4026
4027
4028 am_make=${MAKE-make}
4029 cat > confinc << 'END'
4030 am__doit:
4031 @echo this is the am__doit target
4032 .PHONY: am__doit
4033 END
4034 # If we don't find an include directive, just comment out the code.
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4036 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4037 am__include="#"
4038 am__quote=
4039 _am_result=none
4040 # First try GNU make style include.
4041 echo "include confinc" > confmf
4042 # Ignore all kinds of additional output from 'make'.
4043 case `$am_make -s -f confmf 2> /dev/null` in #(
4044 *the\ am__doit\ target*)
4045 am__include=include
4046 am__quote=
4047 _am_result=GNU
4048 ;;
4049 esac
4050 # Now try BSD make style include.
4051 if test "$am__include" = "#"; then
4052 echo '.include "confinc"' > confmf
4053 case `$am_make -s -f confmf 2> /dev/null` in #(
4054 *the\ am__doit\ target*)
4055 am__include=.include
4056 am__quote="\""
4057 _am_result=BSD
4058 ;;
4059 esac
4060 fi
4061
4062
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4064 $as_echo "$_am_result" >&6; }
4065 rm -f confinc confmf
4066
4067 # Check whether --enable-dependency-tracking was given.
4068 if test "${enable_dependency_tracking+set}" = set; then :
4069 enableval=$enable_dependency_tracking;
4070 fi
4071
4072 if test "x$enable_dependency_tracking" != xno; then
4073 am_depcomp="$ac_aux_dir/depcomp"
4074 AMDEPBACKSLASH='\'
4075 am__nodep='_no'
4076 fi
4077 if test "x$enable_dependency_tracking" != xno; then
4078 AMDEP_TRUE=
4079 AMDEP_FALSE='#'
4080 else
4081 AMDEP_TRUE='#'
4082 AMDEP_FALSE=
4083 fi
4084
4085
4086
4087 depcc="$CC" am_compiler_list=
4088
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4090 $as_echo_n "checking dependency style of $depcc... " >&6; }
4091 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4095 # We make a subdir and do the tests there. Otherwise we can end up
4096 # making bogus files that we don't know about and never remove. For
4097 # instance it was reported that on HP-UX the gcc test will end up
4098 # making a dummy file named 'D' -- because '-MD' means "put the output
4099 # in D".
4100 rm -rf conftest.dir
4101 mkdir conftest.dir
4102 # Copy depcomp to subdir because otherwise we won't find it if we're
4103 # using a relative directory.
4104 cp "$am_depcomp" conftest.dir
4105 cd conftest.dir
4106 # We will build objects and dependencies in a subdirectory because
4107 # it helps to detect inapplicable dependency modes. For instance
4108 # both Tru64's cc and ICC support -MD to output dependencies as a
4109 # side effect of compilation, but ICC will put the dependencies in
4110 # the current directory while Tru64 will put them in the object
4111 # directory.
4112 mkdir sub
4113
4114 am_cv_CC_dependencies_compiler_type=none
4115 if test "$am_compiler_list" = ""; then
4116 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4117 fi
4118 am__universal=false
4119 case " $depcc " in #(
4120 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4121 esac
4122
4123 for depmode in $am_compiler_list; do
4124 # Setup a source with many dependencies, because some compilers
4125 # like to wrap large dependency lists on column 80 (with \), and
4126 # we should not choose a depcomp mode which is confused by this.
4127 #
4128 # We need to recreate these files for each test, as the compiler may
4129 # overwrite some of them when testing with obscure command lines.
4130 # This happens at least with the AIX C compiler.
4131 : > sub/conftest.c
4132 for i in 1 2 3 4 5 6; do
4133 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4134 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4135 # Solaris 10 /bin/sh.
4136 echo '/* dummy */' > sub/conftst$i.h
4137 done
4138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4139
4140 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4141 # mode. It turns out that the SunPro C++ compiler does not properly
4142 # handle '-M -o', and we need to detect this. Also, some Intel
4143 # versions had trouble with output in subdirs.
4144 am__obj=sub/conftest.${OBJEXT-o}
4145 am__minus_obj="-o $am__obj"
4146 case $depmode in
4147 gcc)
4148 # This depmode causes a compiler race in universal mode.
4149 test "$am__universal" = false || continue
4150 ;;
4151 nosideeffect)
4152 # After this tag, mechanisms are not by side-effect, so they'll
4153 # only be used when explicitly requested.
4154 if test "x$enable_dependency_tracking" = xyes; then
4155 continue
4156 else
4157 break
4158 fi
4159 ;;
4160 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4161 # This compiler won't grok '-c -o', but also, the minuso test has
4162 # not run yet. These depmodes are late enough in the game, and
4163 # so weak that their functioning should not be impacted.
4164 am__obj=conftest.${OBJEXT-o}
4165 am__minus_obj=
4166 ;;
4167 none) break ;;
4168 esac
4169 if depmode=$depmode \
4170 source=sub/conftest.c object=$am__obj \
4171 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4172 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4173 >/dev/null 2>conftest.err &&
4174 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4175 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4176 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4177 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4178 # icc doesn't choke on unknown options, it will just issue warnings
4179 # or remarks (even with -Werror). So we grep stderr for any message
4180 # that says an option was ignored or not supported.
4181 # When given -MP, icc 7.0 and 7.1 complain thusly:
4182 # icc: Command line warning: ignoring option '-M'; no argument required
4183 # The diagnosis changed in icc 8.0:
4184 # icc: Command line remark: option '-MP' not supported
4185 if (grep 'ignoring option' conftest.err ||
4186 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4187 am_cv_CC_dependencies_compiler_type=$depmode
4188 break
4189 fi
4190 fi
4191 done
4192
4193 cd ..
4194 rm -rf conftest.dir
4195 else
4196 am_cv_CC_dependencies_compiler_type=none
4197 fi
4198
4199 fi
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4201 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4202 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4203
4204 if
4205 test "x$enable_dependency_tracking" != xno \
4206 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4207 am__fastdepCC_TRUE=
4208 am__fastdepCC_FALSE='#'
4209 else
4210 am__fastdepCC_TRUE='#'
4211 am__fastdepCC_FALSE=
4212 fi
4213
4214
4215
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4217 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4218 set x ${MAKE-make}
4219 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4220 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4221 $as_echo_n "(cached) " >&6
4222 else
4223 cat >conftest.make <<\_ACEOF
4224 SHELL = /bin/sh
4225 all:
4226 @echo '@@@%%%=$(MAKE)=@@@%%%'
4227 _ACEOF
4228 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4230 *@@@%%%=?*=@@@%%%*)
4231 eval ac_cv_prog_make_${ac_make}_set=yes;;
4232 *)
4233 eval ac_cv_prog_make_${ac_make}_set=no;;
4234 esac
4235 rm -f conftest.make
4236 fi
4237 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4239 $as_echo "yes" >&6; }
4240 SET_MAKE=
4241 else
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4244 SET_MAKE="MAKE=${MAKE-make}"
4245 fi
4246
4247
4248 # Check whether --enable-glibtest was given.
4249 if test "${enable_glibtest+set}" = set; then :
4250 enableval=$enable_glibtest;
4251 else
4252 enable_glibtest=yes
4253 fi
4254
4255
4256 pkg_config_args=glib-2.0
4257 for module in .
4258 do
4259 case "$module" in
4260 gmodule)
4261 pkg_config_args="$pkg_config_args gmodule-2.0"
4262 ;;
4263 gmodule-no-export)
4264 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
4265 ;;
4266 gobject)
4267 pkg_config_args="$pkg_config_args gobject-2.0"
4268 ;;
4269 gthread)
4270 pkg_config_args="$pkg_config_args gthread-2.0"
4271 ;;
4272 gio*)
4273 pkg_config_args="$pkg_config_args $module-2.0"
4274 ;;
4275 esac
4276 done
4277
4278
4279
4280
4281
4282
4283
4284
4285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4290 $as_echo_n "checking for $ac_word... " >&6; }
4291 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4292 $as_echo_n "(cached) " >&6
4293 else
4294 case $PKG_CONFIG in
4295 [\\/]* | ?:[\\/]*)
4296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4297 ;;
4298 *)
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 for as_dir in $PATH
4301 do
4302 IFS=$as_save_IFS
4303 test -z "$as_dir" && as_dir=.
4304 for ac_exec_ext in '' $ac_executable_extensions; do
4305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 break 2
4309 fi
4310 done
4311 done
4312 IFS=$as_save_IFS
4313
4314 ;;
4315 esac
4316 fi
4317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4318 if test -n "$PKG_CONFIG"; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4320 $as_echo "$PKG_CONFIG" >&6; }
4321 else
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4324 fi
4325
4326
4327 fi
4328 if test -z "$ac_cv_path_PKG_CONFIG"; then
4329 ac_pt_PKG_CONFIG=$PKG_CONFIG
4330 # Extract the first word of "pkg-config", so it can be a program name with args.
4331 set dummy pkg-config; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 case $ac_pt_PKG_CONFIG in
4338 [\\/]* | ?:[\\/]*)
4339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4340 ;;
4341 *)
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4344 do
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 break 2
4352 fi
4353 done
4354 done
4355 IFS=$as_save_IFS
4356
4357 ;;
4358 esac
4359 fi
4360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4361 if test -n "$ac_pt_PKG_CONFIG"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4363 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4364 else
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4367 fi
4368
4369 if test "x$ac_pt_PKG_CONFIG" = x; then
4370 PKG_CONFIG=""
4371 else
4372 case $cross_compiling:$ac_tool_warned in
4373 yes:)
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4376 ac_tool_warned=yes ;;
4377 esac
4378 PKG_CONFIG=$ac_pt_PKG_CONFIG
4379 fi
4380 else
4381 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4382 fi
4383
4384 fi
4385 if test -n "$PKG_CONFIG"; then
4386 _pkg_min_version=0.16
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4388 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4389 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4391 $as_echo "yes" >&6; }
4392 else
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4395 PKG_CONFIG=""
4396 fi
4397 fi
4398
4399 no_glib=""
4400
4401 if test "x$PKG_CONFIG" = x ; then
4402 no_glib=yes
4403 PKG_CONFIG=no
4404 fi
4405
4406 min_glib_version=2.0.0
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
4408 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
4409
4410 if test x$PKG_CONFIG != xno ; then
4411 ## don't try to run the test against uninstalled libtool libs
4412 if $PKG_CONFIG --uninstalled $pkg_config_args; then
4413 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
4414 enable_glibtest=no
4415 fi
4416
4417 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
4418 :
4419 else
4420 no_glib=yes
4421 fi
4422 fi
4423
4424 if test x"$no_glib" = x ; then
4425 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
4426 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
4427 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
4428 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
4429
4430 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
4431 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
4432 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
4433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4434 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
4435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4436 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
4437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4438 if test "x$enable_glibtest" = "xyes" ; then
4439 ac_save_CFLAGS="$CFLAGS"
4440 ac_save_LIBS="$LIBS"
4441 CFLAGS="$CFLAGS $GLIB_CFLAGS"
4442 LIBS="$GLIB_LIBS $LIBS"
4443 rm -f conf.glibtest
4444 if test "$cross_compiling" = yes; then :
4445 echo $ac_n "cross compiling; assumed OK... $ac_c"
4446 else
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4449
4450 #include <glib.h>
4451 #include <stdio.h>
4452 #include <stdlib.h>
4453
4454 int
4455 main ()
4456 {
4457 unsigned int major, minor, micro;
4458
4459 fclose (fopen ("conf.glibtest", "w"));
4460
4461 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
4462 printf("%s, bad version string\n", "$min_glib_version");
4463 exit(1);
4464 }
4465
4466 if ((glib_major_version != $glib_config_major_version) ||
4467 (glib_minor_version != $glib_config_minor_version) ||
4468 (glib_micro_version != $glib_config_micro_version))
4469 {
4470 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
4471 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
4472 glib_major_version, glib_minor_version, glib_micro_version);
4473 printf ("*** was found! If pkg-config was correct, then it is best\n");
4474 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
4475 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4476 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4477 printf("*** required on your system.\n");
4478 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
4479 printf("*** to point to the correct configuration files\n");
4480 }
4481 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
4482 (glib_minor_version != GLIB_MINOR_VERSION) ||
4483 (glib_micro_version != GLIB_MICRO_VERSION))
4484 {
4485 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
4486 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
4487 printf("*** library (version %d.%d.%d)\n",
4488 glib_major_version, glib_minor_version, glib_micro_version);
4489 }
4490 else
4491 {
4492 if ((glib_major_version > major) ||
4493 ((glib_major_version == major) && (glib_minor_version > minor)) ||
4494 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
4495 {
4496 return 0;
4497 }
4498 else
4499 {
4500 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
4501 glib_major_version, glib_minor_version, glib_micro_version);
4502 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
4503 major, minor, micro);
4504 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
4505 printf("***\n");
4506 printf("*** If you have already installed a sufficiently new version, this error\n");
4507 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
4508 printf("*** being found. The easiest way to fix this is to remove the old version\n");
4509 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
4510 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
4511 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4512 printf("*** so that the correct libraries are found at run-time))\n");
4513 }
4514 }
4515 return 1;
4516 }
4517
4518 _ACEOF
4519 if ac_fn_c_try_run "$LINENO"; then :
4520
4521 else
4522 no_glib=yes
4523 fi
4524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4525 conftest.$ac_objext conftest.beam conftest.$ac_ext
4526 fi
4527
4528 CFLAGS="$ac_save_CFLAGS"
4529 LIBS="$ac_save_LIBS"
4530 fi
4531 fi
4532 if test "x$no_glib" = x ; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
4534 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
4535 :
4536 else
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4539 if test "$PKG_CONFIG" = "no" ; then
4540 echo "*** A new enough version of pkg-config was not found."
4541 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
4542 else
4543 if test -f conf.glibtest ; then
4544 :
4545 else
4546 echo "*** Could not run GLIB test program, checking why..."
4547 ac_save_CFLAGS="$CFLAGS"
4548 ac_save_LIBS="$LIBS"
4549 CFLAGS="$CFLAGS $GLIB_CFLAGS"
4550 LIBS="$LIBS $GLIB_LIBS"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553
4554 #include <glib.h>
4555 #include <stdio.h>
4556
4557 int
4558 main ()
4559 {
4560 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
4561 ;
4562 return 0;
4563 }
4564 _ACEOF
4565 if ac_fn_c_try_link "$LINENO"; then :
4566 echo "*** The test program compiled, but did not run. This usually means"
4567 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
4568 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
4569 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4570 echo "*** to the installed location Also, make sure you have run ldconfig if that"
4571 echo "*** is required on your system"
4572 echo "***"
4573 echo "*** If you have an old version installed, it is best to remove it, although"
4574 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4575 else
4576 echo "*** The test program failed to compile or link. See the file config.log for the"
4577 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
4578 fi
4579 rm -f core conftest.err conftest.$ac_objext \
4580 conftest$ac_exeext conftest.$ac_ext
4581 CFLAGS="$ac_save_CFLAGS"
4582 LIBS="$ac_save_LIBS"
4583 fi
4584 fi
4585 GLIB_CFLAGS=""
4586 GLIB_LIBS=""
4587 GLIB_GENMARSHAL=""
4588 GOBJECT_QUERY=""
4589 GLIB_MKENUMS=""
4590 GLIB_COMPILE_RESOURCES=""
4591 :
4592 fi
4593
4594
4595
4596
4597
4598
4599 rm -f conf.glibtest
4600
4601
4602 # Check whether --enable-static was given.
4603 if test "${enable_static+set}" = set; then :
4604 enableval=$enable_static; p=${PACKAGE-default}
4605 case $enableval in
4606 yes) enable_static=yes ;;
4607 no) enable_static=no ;;
4608 *)
4609 enable_static=no
4610 # Look at the argument we got. We use all the common list separators.
4611 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4612 for pkg in $enableval; do
4613 IFS=$lt_save_ifs
4614 if test "X$pkg" = "X$p"; then
4615 enable_static=yes
4616 fi
4617 done
4618 IFS=$lt_save_ifs
4619 ;;
4620 esac
4621 else
4622 enable_static=no
4623 fi
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633 # Make sure we can run config.sub.
4634 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4635 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4636
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4638 $as_echo_n "checking build system type... " >&6; }
4639 if ${ac_cv_build+:} false; then :
4640 $as_echo_n "(cached) " >&6
4641 else
4642 ac_build_alias=$build_alias
4643 test "x$ac_build_alias" = x &&
4644 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4645 test "x$ac_build_alias" = x &&
4646 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4647 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4648 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4649
4650 fi
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4652 $as_echo "$ac_cv_build" >&6; }
4653 case $ac_cv_build in
4654 *-*-*) ;;
4655 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4656 esac
4657 build=$ac_cv_build
4658 ac_save_IFS=$IFS; IFS='-'
4659 set x $ac_cv_build
4660 shift
4661 build_cpu=$1
4662 build_vendor=$2
4663 shift; shift
4664 # Remember, the first character of IFS is used to create $*,
4665 # except with old shells:
4666 build_os=$*
4667 IFS=$ac_save_IFS
4668 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4669
4670
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4672 $as_echo_n "checking host system type... " >&6; }
4673 if ${ac_cv_host+:} false; then :
4674 $as_echo_n "(cached) " >&6
4675 else
4676 if test "x$host_alias" = x; then
4677 ac_cv_host=$ac_cv_build
4678 else
4679 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4680 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4681 fi
4682
4683 fi
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4685 $as_echo "$ac_cv_host" >&6; }
4686 case $ac_cv_host in
4687 *-*-*) ;;
4688 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4689 esac
4690 host=$ac_cv_host
4691 ac_save_IFS=$IFS; IFS='-'
4692 set x $ac_cv_host
4693 shift
4694 host_cpu=$1
4695 host_vendor=$2
4696 shift; shift
4697 # Remember, the first character of IFS is used to create $*,
4698 # except with old shells:
4699 host_os=$*
4700 IFS=$ac_save_IFS
4701 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4702
4703
4704 enable_win32_dll=yes
4705
4706 case $host in
4707 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4710 set dummy ${ac_tool_prefix}as; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_AS+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if test -n "$AS"; then
4717 ac_cv_prog_AS="$AS" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4721 do
4722 IFS=$as_save_IFS
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_AS="${ac_tool_prefix}as"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 break 2
4729 fi
4730 done
4731 done
4732 IFS=$as_save_IFS
4733
4734 fi
4735 fi
4736 AS=$ac_cv_prog_AS
4737 if test -n "$AS"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4739 $as_echo "$AS" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4743 fi
4744
4745
4746 fi
4747 if test -z "$ac_cv_prog_AS"; then
4748 ac_ct_AS=$AS
4749 # Extract the first word of "as", so it can be a program name with args.
4750 set dummy as; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4754 $as_echo_n "(cached) " >&6
4755 else
4756 if test -n "$ac_ct_AS"; then
4757 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4758 else
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4761 do
4762 IFS=$as_save_IFS
4763 test -z "$as_dir" && as_dir=.
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_ac_ct_AS="as"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768 break 2
4769 fi
4770 done
4771 done
4772 IFS=$as_save_IFS
4773
4774 fi
4775 fi
4776 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4777 if test -n "$ac_ct_AS"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4779 $as_echo "$ac_ct_AS" >&6; }
4780 else
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783 fi
4784
4785 if test "x$ac_ct_AS" = x; then
4786 AS="false"
4787 else
4788 case $cross_compiling:$ac_tool_warned in
4789 yes:)
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4792 ac_tool_warned=yes ;;
4793 esac
4794 AS=$ac_ct_AS
4795 fi
4796 else
4797 AS="$ac_cv_prog_AS"
4798 fi
4799
4800 if test -n "$ac_tool_prefix"; then
4801 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4802 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_DLLTOOL+:} false; then :
4806 $as_echo_n "(cached) " >&6
4807 else
4808 if test -n "$DLLTOOL"; then
4809 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4810 else
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 for as_dir in $PATH
4813 do
4814 IFS=$as_save_IFS
4815 test -z "$as_dir" && as_dir=.
4816 for ac_exec_ext in '' $ac_executable_extensions; do
4817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 break 2
4821 fi
4822 done
4823 done
4824 IFS=$as_save_IFS
4825
4826 fi
4827 fi
4828 DLLTOOL=$ac_cv_prog_DLLTOOL
4829 if test -n "$DLLTOOL"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4831 $as_echo "$DLLTOOL" >&6; }
4832 else
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4835 fi
4836
4837
4838 fi
4839 if test -z "$ac_cv_prog_DLLTOOL"; then
4840 ac_ct_DLLTOOL=$DLLTOOL
4841 # Extract the first word of "dlltool", so it can be a program name with args.
4842 set dummy dlltool; ac_word=$2
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844 $as_echo_n "checking for $ac_word... " >&6; }
4845 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4846 $as_echo_n "(cached) " >&6
4847 else
4848 if test -n "$ac_ct_DLLTOOL"; then
4849 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4850 else
4851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 for as_dir in $PATH
4853 do
4854 IFS=$as_save_IFS
4855 test -z "$as_dir" && as_dir=.
4856 for ac_exec_ext in '' $ac_executable_extensions; do
4857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4858 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 break 2
4861 fi
4862 done
4863 done
4864 IFS=$as_save_IFS
4865
4866 fi
4867 fi
4868 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4869 if test -n "$ac_ct_DLLTOOL"; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4871 $as_echo "$ac_ct_DLLTOOL" >&6; }
4872 else
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4874 $as_echo "no" >&6; }
4875 fi
4876
4877 if test "x$ac_ct_DLLTOOL" = x; then
4878 DLLTOOL="false"
4879 else
4880 case $cross_compiling:$ac_tool_warned in
4881 yes:)
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4884 ac_tool_warned=yes ;;
4885 esac
4886 DLLTOOL=$ac_ct_DLLTOOL
4887 fi
4888 else
4889 DLLTOOL="$ac_cv_prog_DLLTOOL"
4890 fi
4891
4892 if test -n "$ac_tool_prefix"; then
4893 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4894 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_OBJDUMP+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 if test -n "$OBJDUMP"; then
4901 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4905 do
4906 IFS=$as_save_IFS
4907 test -z "$as_dir" && as_dir=.
4908 for ac_exec_ext in '' $ac_executable_extensions; do
4909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 break 2
4913 fi
4914 done
4915 done
4916 IFS=$as_save_IFS
4917
4918 fi
4919 fi
4920 OBJDUMP=$ac_cv_prog_OBJDUMP
4921 if test -n "$OBJDUMP"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4923 $as_echo "$OBJDUMP" >&6; }
4924 else
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4927 fi
4928
4929
4930 fi
4931 if test -z "$ac_cv_prog_OBJDUMP"; then
4932 ac_ct_OBJDUMP=$OBJDUMP
4933 # Extract the first word of "objdump", so it can be a program name with args.
4934 set dummy objdump; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 if test -n "$ac_ct_OBJDUMP"; then
4941 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4942 else
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944 for as_dir in $PATH
4945 do
4946 IFS=$as_save_IFS
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 break 2
4953 fi
4954 done
4955 done
4956 IFS=$as_save_IFS
4957
4958 fi
4959 fi
4960 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4961 if test -n "$ac_ct_OBJDUMP"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4963 $as_echo "$ac_ct_OBJDUMP" >&6; }
4964 else
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4967 fi
4968
4969 if test "x$ac_ct_OBJDUMP" = x; then
4970 OBJDUMP="false"
4971 else
4972 case $cross_compiling:$ac_tool_warned in
4973 yes:)
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4976 ac_tool_warned=yes ;;
4977 esac
4978 OBJDUMP=$ac_ct_OBJDUMP
4979 fi
4980 else
4981 OBJDUMP="$ac_cv_prog_OBJDUMP"
4982 fi
4983
4984 ;;
4985 esac
4986
4987 test -z "$AS" && AS=as
4988
4989
4990
4991
4992
4993 test -z "$DLLTOOL" && DLLTOOL=dlltool
4994
4995
4996
4997
4998
4999 test -z "$OBJDUMP" && OBJDUMP=objdump
5000
5001
5002
5003
5004
5005
5006
5007 case `pwd` in
5008 *\ * | *\ *)
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5010 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5011 esac
5012
5013
5014
5015 macro_version='2.4.6'
5016 macro_revision='2.4.6'
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030 ltmain=$ac_aux_dir/ltmain.sh
5031
5032 # Backslashify metacharacters that are still active within
5033 # double-quoted strings.
5034 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5035
5036 # Same as above, but do not quote variable references.
5037 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5038
5039 # Sed substitution to delay expansion of an escaped shell variable in a
5040 # double_quote_subst'ed string.
5041 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5042
5043 # Sed substitution to delay expansion of an escaped single quote.
5044 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5045
5046 # Sed substitution to avoid accidental globbing in evaled expressions
5047 no_glob_subst='s/\*/\\\*/g'
5048
5049 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5050 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5051 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5052
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5054 $as_echo_n "checking how to print strings... " >&6; }
5055 # Test print first, because it will be a builtin if present.
5056 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5057 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5058 ECHO='print -r --'
5059 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5060 ECHO='printf %s\n'
5061 else
5062 # Use this function as a fallback that always works.
5063 func_fallback_echo ()
5064 {
5065 eval 'cat <<_LTECHO_EOF
5066 $1
5067 _LTECHO_EOF'
5068 }
5069 ECHO='func_fallback_echo'
5070 fi
5071
5072 # func_echo_all arg...
5073 # Invoke $ECHO with all args, space-separated.
5074 func_echo_all ()
5075 {
5076 $ECHO ""
5077 }
5078
5079 case $ECHO in
5080 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5081 $as_echo "printf" >&6; } ;;
5082 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5083 $as_echo "print -r" >&6; } ;;
5084 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5085 $as_echo "cat" >&6; } ;;
5086 esac
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5102 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5103 if ${ac_cv_path_SED+:} false; then :
5104 $as_echo_n "(cached) " >&6
5105 else
5106 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5107 for ac_i in 1 2 3 4 5 6 7; do
5108 ac_script="$ac_script$as_nl$ac_script"
5109 done
5110 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5111 { ac_script=; unset ac_script;}
5112 if test -z "$SED"; then
5113 ac_path_SED_found=false
5114 # Loop through the user's path and test for each of PROGNAME-LIST
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5117 do
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_prog in sed gsed; do
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5123 as_fn_executable_p "$ac_path_SED" || continue
5124 # Check for GNU ac_path_SED and select it if it is found.
5125 # Check for GNU $ac_path_SED
5126 case `"$ac_path_SED" --version 2>&1` in
5127 *GNU*)
5128 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5129 *)
5130 ac_count=0
5131 $as_echo_n 0123456789 >"conftest.in"
5132 while :
5133 do
5134 cat "conftest.in" "conftest.in" >"conftest.tmp"
5135 mv "conftest.tmp" "conftest.in"
5136 cp "conftest.in" "conftest.nl"
5137 $as_echo '' >> "conftest.nl"
5138 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5139 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5140 as_fn_arith $ac_count + 1 && ac_count=$as_val
5141 if test $ac_count -gt ${ac_path_SED_max-0}; then
5142 # Best one so far, save it but keep looking for a better one
5143 ac_cv_path_SED="$ac_path_SED"
5144 ac_path_SED_max=$ac_count
5145 fi
5146 # 10*(2^10) chars as input seems more than enough
5147 test $ac_count -gt 10 && break
5148 done
5149 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5150 esac
5151
5152 $ac_path_SED_found && break 3
5153 done
5154 done
5155 done
5156 IFS=$as_save_IFS
5157 if test -z "$ac_cv_path_SED"; then
5158 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5159 fi
5160 else
5161 ac_cv_path_SED=$SED
5162 fi
5163
5164 fi
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5166 $as_echo "$ac_cv_path_SED" >&6; }
5167 SED="$ac_cv_path_SED"
5168 rm -f conftest.sed
5169
5170 test -z "$SED" && SED=sed
5171 Xsed="$SED -e 1s/^X//"
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5184 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5185 if ${ac_cv_path_GREP+:} false; then :
5186 $as_echo_n "(cached) " >&6
5187 else
5188 if test -z "$GREP"; then
5189 ac_path_GREP_found=false
5190 # Loop through the user's path and test for each of PROGNAME-LIST
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5193 do
5194 IFS=$as_save_IFS
5195 test -z "$as_dir" && as_dir=.
5196 for ac_prog in grep ggrep; do
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5199 as_fn_executable_p "$ac_path_GREP" || continue
5200 # Check for GNU ac_path_GREP and select it if it is found.
5201 # Check for GNU $ac_path_GREP
5202 case `"$ac_path_GREP" --version 2>&1` in
5203 *GNU*)
5204 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5205 *)
5206 ac_count=0
5207 $as_echo_n 0123456789 >"conftest.in"
5208 while :
5209 do
5210 cat "conftest.in" "conftest.in" >"conftest.tmp"
5211 mv "conftest.tmp" "conftest.in"
5212 cp "conftest.in" "conftest.nl"
5213 $as_echo 'GREP' >> "conftest.nl"
5214 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5216 as_fn_arith $ac_count + 1 && ac_count=$as_val
5217 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5218 # Best one so far, save it but keep looking for a better one
5219 ac_cv_path_GREP="$ac_path_GREP"
5220 ac_path_GREP_max=$ac_count
5221 fi
5222 # 10*(2^10) chars as input seems more than enough
5223 test $ac_count -gt 10 && break
5224 done
5225 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5226 esac
5227
5228 $ac_path_GREP_found && break 3
5229 done
5230 done
5231 done
5232 IFS=$as_save_IFS
5233 if test -z "$ac_cv_path_GREP"; then
5234 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5235 fi
5236 else
5237 ac_cv_path_GREP=$GREP
5238 fi
5239
5240 fi
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5242 $as_echo "$ac_cv_path_GREP" >&6; }
5243 GREP="$ac_cv_path_GREP"
5244
5245
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5247 $as_echo_n "checking for egrep... " >&6; }
5248 if ${ac_cv_path_EGREP+:} false; then :
5249 $as_echo_n "(cached) " >&6
5250 else
5251 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5252 then ac_cv_path_EGREP="$GREP -E"
5253 else
5254 if test -z "$EGREP"; then
5255 ac_path_EGREP_found=false
5256 # Loop through the user's path and test for each of PROGNAME-LIST
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5259 do
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_prog in egrep; do
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5265 as_fn_executable_p "$ac_path_EGREP" || continue
5266 # Check for GNU ac_path_EGREP and select it if it is found.
5267 # Check for GNU $ac_path_EGREP
5268 case `"$ac_path_EGREP" --version 2>&1` in
5269 *GNU*)
5270 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5271 *)
5272 ac_count=0
5273 $as_echo_n 0123456789 >"conftest.in"
5274 while :
5275 do
5276 cat "conftest.in" "conftest.in" >"conftest.tmp"
5277 mv "conftest.tmp" "conftest.in"
5278 cp "conftest.in" "conftest.nl"
5279 $as_echo 'EGREP' >> "conftest.nl"
5280 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5281 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5282 as_fn_arith $ac_count + 1 && ac_count=$as_val
5283 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5284 # Best one so far, save it but keep looking for a better one
5285 ac_cv_path_EGREP="$ac_path_EGREP"
5286 ac_path_EGREP_max=$ac_count
5287 fi
5288 # 10*(2^10) chars as input seems more than enough
5289 test $ac_count -gt 10 && break
5290 done
5291 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5292 esac
5293
5294 $ac_path_EGREP_found && break 3
5295 done
5296 done
5297 done
5298 IFS=$as_save_IFS
5299 if test -z "$ac_cv_path_EGREP"; then
5300 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5301 fi
5302 else
5303 ac_cv_path_EGREP=$EGREP
5304 fi
5305
5306 fi
5307 fi
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5309 $as_echo "$ac_cv_path_EGREP" >&6; }
5310 EGREP="$ac_cv_path_EGREP"
5311
5312
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5314 $as_echo_n "checking for fgrep... " >&6; }
5315 if ${ac_cv_path_FGREP+:} false; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5319 then ac_cv_path_FGREP="$GREP -F"
5320 else
5321 if test -z "$FGREP"; then
5322 ac_path_FGREP_found=false
5323 # Loop through the user's path and test for each of PROGNAME-LIST
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5326 do
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_prog in fgrep; do
5330 for ac_exec_ext in '' $ac_executable_extensions; do
5331 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5332 as_fn_executable_p "$ac_path_FGREP" || continue
5333 # Check for GNU ac_path_FGREP and select it if it is found.
5334 # Check for GNU $ac_path_FGREP
5335 case `"$ac_path_FGREP" --version 2>&1` in
5336 *GNU*)
5337 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5338 *)
5339 ac_count=0
5340 $as_echo_n 0123456789 >"conftest.in"
5341 while :
5342 do
5343 cat "conftest.in" "conftest.in" >"conftest.tmp"
5344 mv "conftest.tmp" "conftest.in"
5345 cp "conftest.in" "conftest.nl"
5346 $as_echo 'FGREP' >> "conftest.nl"
5347 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5349 as_fn_arith $ac_count + 1 && ac_count=$as_val
5350 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5351 # Best one so far, save it but keep looking for a better one
5352 ac_cv_path_FGREP="$ac_path_FGREP"
5353 ac_path_FGREP_max=$ac_count
5354 fi
5355 # 10*(2^10) chars as input seems more than enough
5356 test $ac_count -gt 10 && break
5357 done
5358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5359 esac
5360
5361 $ac_path_FGREP_found && break 3
5362 done
5363 done
5364 done
5365 IFS=$as_save_IFS
5366 if test -z "$ac_cv_path_FGREP"; then
5367 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5368 fi
5369 else
5370 ac_cv_path_FGREP=$FGREP
5371 fi
5372
5373 fi
5374 fi
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5376 $as_echo "$ac_cv_path_FGREP" >&6; }
5377 FGREP="$ac_cv_path_FGREP"
5378
5379
5380 test -z "$GREP" && GREP=grep
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400 # Check whether --with-gnu-ld was given.
5401 if test "${with_gnu_ld+set}" = set; then :
5402 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5403 else
5404 with_gnu_ld=no
5405 fi
5406
5407 ac_prog=ld
5408 if test yes = "$GCC"; then
5409 # Check if gcc -print-prog-name=ld gives a path.
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5411 $as_echo_n "checking for ld used by $CC... " >&6; }
5412 case $host in
5413 *-*-mingw*)
5414 # gcc leaves a trailing carriage return, which upsets mingw
5415 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5416 *)
5417 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5418 esac
5419 case $ac_prog in
5420 # Accept absolute paths.
5421 [\\/]* | ?:[\\/]*)
5422 re_direlt='/[^/][^/]*/\.\./'
5423 # Canonicalize the pathname of ld
5424 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5425 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5426 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5427 done
5428 test -z "$LD" && LD=$ac_prog
5429 ;;
5430 "")
5431 # If it fails, then pretend we aren't using GCC.
5432 ac_prog=ld
5433 ;;
5434 *)
5435 # If it is relative, then search for the first ld in PATH.
5436 with_gnu_ld=unknown
5437 ;;
5438 esac
5439 elif test yes = "$with_gnu_ld"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5441 $as_echo_n "checking for GNU ld... " >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5444 $as_echo_n "checking for non-GNU ld... " >&6; }
5445 fi
5446 if ${lt_cv_path_LD+:} false; then :
5447 $as_echo_n "(cached) " >&6
5448 else
5449 if test -z "$LD"; then
5450 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5451 for ac_dir in $PATH; do
5452 IFS=$lt_save_ifs
5453 test -z "$ac_dir" && ac_dir=.
5454 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5455 lt_cv_path_LD=$ac_dir/$ac_prog
5456 # Check to see if the program is GNU ld. I'd rather use --version,
5457 # but apparently some variants of GNU ld only accept -v.
5458 # Break only if it was the GNU/non-GNU ld that we prefer.
5459 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5460 *GNU* | *'with BFD'*)
5461 test no != "$with_gnu_ld" && break
5462 ;;
5463 *)
5464 test yes != "$with_gnu_ld" && break
5465 ;;
5466 esac
5467 fi
5468 done
5469 IFS=$lt_save_ifs
5470 else
5471 lt_cv_path_LD=$LD # Let the user override the test with a path.
5472 fi
5473 fi
5474
5475 LD=$lt_cv_path_LD
5476 if test -n "$LD"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5478 $as_echo "$LD" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5482 fi
5483 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5485 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5486 if ${lt_cv_prog_gnu_ld+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5490 case `$LD -v 2>&1 </dev/null` in
5491 *GNU* | *'with BFD'*)
5492 lt_cv_prog_gnu_ld=yes
5493 ;;
5494 *)
5495 lt_cv_prog_gnu_ld=no
5496 ;;
5497 esac
5498 fi
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5500 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5501 with_gnu_ld=$lt_cv_prog_gnu_ld
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5512 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5513 if ${lt_cv_path_NM+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$NM"; then
5517 # Let the user override the test.
5518 lt_cv_path_NM=$NM
5519 else
5520 lt_nm_to_check=${ac_tool_prefix}nm
5521 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5522 lt_nm_to_check="$lt_nm_to_check nm"
5523 fi
5524 for lt_tmp_nm in $lt_nm_to_check; do
5525 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5526 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5527 IFS=$lt_save_ifs
5528 test -z "$ac_dir" && ac_dir=.
5529 tmp_nm=$ac_dir/$lt_tmp_nm
5530 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5531 # Check to see if the nm accepts a BSD-compat flag.
5532 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5533 # nm: unknown option "B" ignored
5534 # Tru64's nm complains that /dev/null is an invalid object file
5535 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5536 case $build_os in
5537 mingw*) lt_bad_file=conftest.nm/nofile ;;
5538 *) lt_bad_file=/dev/null ;;
5539 esac
5540 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5541 *$lt_bad_file* | *'Invalid file or object type'*)
5542 lt_cv_path_NM="$tmp_nm -B"
5543 break 2
5544 ;;
5545 *)
5546 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5547 */dev/null*)
5548 lt_cv_path_NM="$tmp_nm -p"
5549 break 2
5550 ;;
5551 *)
5552 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5553 continue # so that we can try to find one that supports BSD flags
5554 ;;
5555 esac
5556 ;;
5557 esac
5558 fi
5559 done
5560 IFS=$lt_save_ifs
5561 done
5562 : ${lt_cv_path_NM=no}
5563 fi
5564 fi
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5566 $as_echo "$lt_cv_path_NM" >&6; }
5567 if test no != "$lt_cv_path_NM"; then
5568 NM=$lt_cv_path_NM
5569 else
5570 # Didn't find any BSD compatible name lister, look for dumpbin.
5571 if test -n "$DUMPBIN"; then :
5572 # Let the user override the test.
5573 else
5574 if test -n "$ac_tool_prefix"; then
5575 for ac_prog in dumpbin "link -dump"
5576 do
5577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if ${ac_cv_prog_DUMPBIN+:} false; then :
5582 $as_echo_n "(cached) " >&6
5583 else
5584 if test -n "$DUMPBIN"; then
5585 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5586 else
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH
5589 do
5590 IFS=$as_save_IFS
5591 test -z "$as_dir" && as_dir=.
5592 for ac_exec_ext in '' $ac_executable_extensions; do
5593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 break 2
5597 fi
5598 done
5599 done
5600 IFS=$as_save_IFS
5601
5602 fi
5603 fi
5604 DUMPBIN=$ac_cv_prog_DUMPBIN
5605 if test -n "$DUMPBIN"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5607 $as_echo "$DUMPBIN" >&6; }
5608 else
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5611 fi
5612
5613
5614 test -n "$DUMPBIN" && break
5615 done
5616 fi
5617 if test -z "$DUMPBIN"; then
5618 ac_ct_DUMPBIN=$DUMPBIN
5619 for ac_prog in dumpbin "link -dump"
5620 do
5621 # Extract the first word of "$ac_prog", so it can be a program name with args.
5622 set dummy $ac_prog; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 if test -n "$ac_ct_DUMPBIN"; then
5629 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5633 do
5634 IFS=$as_save_IFS
5635 test -z "$as_dir" && as_dir=.
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 break 2
5641 fi
5642 done
5643 done
5644 IFS=$as_save_IFS
5645
5646 fi
5647 fi
5648 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5649 if test -n "$ac_ct_DUMPBIN"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5651 $as_echo "$ac_ct_DUMPBIN" >&6; }
5652 else
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5655 fi
5656
5657
5658 test -n "$ac_ct_DUMPBIN" && break
5659 done
5660
5661 if test "x$ac_ct_DUMPBIN" = x; then
5662 DUMPBIN=":"
5663 else
5664 case $cross_compiling:$ac_tool_warned in
5665 yes:)
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5668 ac_tool_warned=yes ;;
5669 esac
5670 DUMPBIN=$ac_ct_DUMPBIN
5671 fi
5672 fi
5673
5674 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5675 *COFF*)
5676 DUMPBIN="$DUMPBIN -symbols -headers"
5677 ;;
5678 *)
5679 DUMPBIN=:
5680 ;;
5681 esac
5682 fi
5683
5684 if test : != "$DUMPBIN"; then
5685 NM=$DUMPBIN
5686 fi
5687 fi
5688 test -z "$NM" && NM=nm
5689
5690
5691
5692
5693
5694
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5696 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5697 if ${lt_cv_nm_interface+:} false; then :
5698 $as_echo_n "(cached) " >&6
5699 else
5700 lt_cv_nm_interface="BSD nm"
5701 echo "int some_variable = 0;" > conftest.$ac_ext
5702 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5703 (eval "$ac_compile" 2>conftest.err)
5704 cat conftest.err >&5
5705 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5706 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5707 cat conftest.err >&5
5708 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5709 cat conftest.out >&5
5710 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5711 lt_cv_nm_interface="MS dumpbin"
5712 fi
5713 rm -f conftest*
5714 fi
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5716 $as_echo "$lt_cv_nm_interface" >&6; }
5717
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5719 $as_echo_n "checking whether ln -s works... " >&6; }
5720 LN_S=$as_ln_s
5721 if test "$LN_S" = "ln -s"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5723 $as_echo "yes" >&6; }
5724 else
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5726 $as_echo "no, using $LN_S" >&6; }
5727 fi
5728
5729 # find the maximum length of command line arguments
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5731 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5732 if ${lt_cv_sys_max_cmd_len+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 i=0
5736 teststring=ABCD
5737
5738 case $build_os in
5739 msdosdjgpp*)
5740 # On DJGPP, this test can blow up pretty badly due to problems in libc
5741 # (any single argument exceeding 2000 bytes causes a buffer overrun
5742 # during glob expansion). Even if it were fixed, the result of this
5743 # check would be larger than it should be.
5744 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5745 ;;
5746
5747 gnu*)
5748 # Under GNU Hurd, this test is not required because there is
5749 # no limit to the length of command line arguments.
5750 # Libtool will interpret -1 as no limit whatsoever
5751 lt_cv_sys_max_cmd_len=-1;
5752 ;;
5753
5754 cygwin* | mingw* | cegcc*)
5755 # On Win9x/ME, this test blows up -- it succeeds, but takes
5756 # about 5 minutes as the teststring grows exponentially.
5757 # Worse, since 9x/ME are not pre-emptively multitasking,
5758 # you end up with a "frozen" computer, even though with patience
5759 # the test eventually succeeds (with a max line length of 256k).
5760 # Instead, let's just punt: use the minimum linelength reported by
5761 # all of the supported platforms: 8192 (on NT/2K/XP).
5762 lt_cv_sys_max_cmd_len=8192;
5763 ;;
5764
5765 mint*)
5766 # On MiNT this can take a long time and run out of memory.
5767 lt_cv_sys_max_cmd_len=8192;
5768 ;;
5769
5770 amigaos*)
5771 # On AmigaOS with pdksh, this test takes hours, literally.
5772 # So we just punt and use a minimum line length of 8192.
5773 lt_cv_sys_max_cmd_len=8192;
5774 ;;
5775
5776 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5777 # This has been around since 386BSD, at least. Likely further.
5778 if test -x /sbin/sysctl; then
5779 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5780 elif test -x /usr/sbin/sysctl; then
5781 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5782 else
5783 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5784 fi
5785 # And add a safety zone
5786 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5787 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5788 ;;
5789
5790 interix*)
5791 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5792 lt_cv_sys_max_cmd_len=196608
5793 ;;
5794
5795 os2*)
5796 # The test takes a long time on OS/2.
5797 lt_cv_sys_max_cmd_len=8192
5798 ;;
5799
5800 osf*)
5801 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5802 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5803 # nice to cause kernel panics so lets avoid the loop below.
5804 # First set a reasonable default.
5805 lt_cv_sys_max_cmd_len=16384
5806 #
5807 if test -x /sbin/sysconfig; then
5808 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5809 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5810 esac
5811 fi
5812 ;;
5813 sco3.2v5*)
5814 lt_cv_sys_max_cmd_len=102400
5815 ;;
5816 sysv5* | sco5v6* | sysv4.2uw2*)
5817 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5818 if test -n "$kargmax"; then
5819 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5820 else
5821 lt_cv_sys_max_cmd_len=32768
5822 fi
5823 ;;
5824 *)
5825 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5826 if test -n "$lt_cv_sys_max_cmd_len" && \
5827 test undefined != "$lt_cv_sys_max_cmd_len"; then
5828 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5829 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5830 else
5831 # Make teststring a little bigger before we do anything with it.
5832 # a 1K string should be a reasonable start.
5833 for i in 1 2 3 4 5 6 7 8; do
5834 teststring=$teststring$teststring
5835 done
5836 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5837 # If test is not a shell built-in, we'll probably end up computing a
5838 # maximum length that is only half of the actual maximum length, but
5839 # we can't tell.
5840 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5841 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5842 test 17 != "$i" # 1/2 MB should be enough
5843 do
5844 i=`expr $i + 1`
5845 teststring=$teststring$teststring
5846 done
5847 # Only check the string length outside the loop.
5848 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5849 teststring=
5850 # Add a significant safety factor because C++ compilers can tack on
5851 # massive amounts of additional arguments before passing them to the
5852 # linker. It appears as though 1/2 is a usable value.
5853 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5854 fi
5855 ;;
5856 esac
5857
5858 fi
5859
5860 if test -n "$lt_cv_sys_max_cmd_len"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5862 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5863 else
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5865 $as_echo "none" >&6; }
5866 fi
5867 max_cmd_len=$lt_cv_sys_max_cmd_len
5868
5869
5870
5871
5872
5873
5874 : ${CP="cp -f"}
5875 : ${MV="mv -f"}
5876 : ${RM="rm -f"}
5877
5878 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5879 lt_unset=unset
5880 else
5881 lt_unset=false
5882 fi
5883
5884
5885
5886
5887
5888 # test EBCDIC or ASCII
5889 case `echo X|tr X '\101'` in
5890 A) # ASCII based system
5891 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5892 lt_SP2NL='tr \040 \012'
5893 lt_NL2SP='tr \015\012 \040\040'
5894 ;;
5895 *) # EBCDIC based system
5896 lt_SP2NL='tr \100 \n'
5897 lt_NL2SP='tr \r\n \100\100'
5898 ;;
5899 esac
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5910 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5911 if ${lt_cv_to_host_file_cmd+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 case $host in
5915 *-*-mingw* )
5916 case $build in
5917 *-*-mingw* ) # actually msys
5918 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5919 ;;
5920 *-*-cygwin* )
5921 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5922 ;;
5923 * ) # otherwise, assume *nix
5924 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5925 ;;
5926 esac
5927 ;;
5928 *-*-cygwin* )
5929 case $build in
5930 *-*-mingw* ) # actually msys
5931 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5932 ;;
5933 *-*-cygwin* )
5934 lt_cv_to_host_file_cmd=func_convert_file_noop
5935 ;;
5936 * ) # otherwise, assume *nix
5937 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5938 ;;
5939 esac
5940 ;;
5941 * ) # unhandled hosts (and "normal" native builds)
5942 lt_cv_to_host_file_cmd=func_convert_file_noop
5943 ;;
5944 esac
5945
5946 fi
5947
5948 to_host_file_cmd=$lt_cv_to_host_file_cmd
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5950 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5951
5952
5953
5954
5955
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5957 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5958 if ${lt_cv_to_tool_file_cmd+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 #assume ordinary cross tools, or native build.
5962 lt_cv_to_tool_file_cmd=func_convert_file_noop
5963 case $host in
5964 *-*-mingw* )
5965 case $build in
5966 *-*-mingw* ) # actually msys
5967 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5968 ;;
5969 esac
5970 ;;
5971 esac
5972
5973 fi
5974
5975 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5977 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5978
5979
5980
5981
5982
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5984 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5985 if ${lt_cv_ld_reload_flag+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 lt_cv_ld_reload_flag='-r'
5989 fi
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5991 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5992 reload_flag=$lt_cv_ld_reload_flag
5993 case $reload_flag in
5994 "" | " "*) ;;
5995 *) reload_flag=" $reload_flag" ;;
5996 esac
5997 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5998 case $host_os in
5999 cygwin* | mingw* | pw32* | cegcc*)
6000 if test yes != "$GCC"; then
6001 reload_cmds=false
6002 fi
6003 ;;
6004 darwin*)
6005 if test yes = "$GCC"; then
6006 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6007 else
6008 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6009 fi
6010 ;;
6011 esac
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021 if test -n "$ac_tool_prefix"; then
6022 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6023 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if ${ac_cv_prog_OBJDUMP+:} false; then :
6027 $as_echo_n "(cached) " >&6
6028 else
6029 if test -n "$OBJDUMP"; then
6030 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6031 else
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 for as_dir in $PATH
6034 do
6035 IFS=$as_save_IFS
6036 test -z "$as_dir" && as_dir=.
6037 for ac_exec_ext in '' $ac_executable_extensions; do
6038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6039 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 break 2
6042 fi
6043 done
6044 done
6045 IFS=$as_save_IFS
6046
6047 fi
6048 fi
6049 OBJDUMP=$ac_cv_prog_OBJDUMP
6050 if test -n "$OBJDUMP"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6052 $as_echo "$OBJDUMP" >&6; }
6053 else
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6056 fi
6057
6058
6059 fi
6060 if test -z "$ac_cv_prog_OBJDUMP"; then
6061 ac_ct_OBJDUMP=$OBJDUMP
6062 # Extract the first word of "objdump", so it can be a program name with args.
6063 set dummy objdump; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$ac_ct_OBJDUMP"; then
6070 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6074 do
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6082 fi
6083 done
6084 done
6085 IFS=$as_save_IFS
6086
6087 fi
6088 fi
6089 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6090 if test -n "$ac_ct_OBJDUMP"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6092 $as_echo "$ac_ct_OBJDUMP" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6096 fi
6097
6098 if test "x$ac_ct_OBJDUMP" = x; then
6099 OBJDUMP="false"
6100 else
6101 case $cross_compiling:$ac_tool_warned in
6102 yes:)
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105 ac_tool_warned=yes ;;
6106 esac
6107 OBJDUMP=$ac_ct_OBJDUMP
6108 fi
6109 else
6110 OBJDUMP="$ac_cv_prog_OBJDUMP"
6111 fi
6112
6113 test -z "$OBJDUMP" && OBJDUMP=objdump
6114
6115
6116
6117
6118
6119
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6121 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6122 if ${lt_cv_deplibs_check_method+:} false; then :
6123 $as_echo_n "(cached) " >&6
6124 else
6125 lt_cv_file_magic_cmd='$MAGIC_CMD'
6126 lt_cv_file_magic_test_file=
6127 lt_cv_deplibs_check_method='unknown'
6128 # Need to set the preceding variable on all platforms that support
6129 # interlibrary dependencies.
6130 # 'none' -- dependencies not supported.
6131 # 'unknown' -- same as none, but documents that we really don't know.
6132 # 'pass_all' -- all dependencies passed with no checks.
6133 # 'test_compile' -- check by making test program.
6134 # 'file_magic [[regex]]' -- check by looking for files in library path
6135 # that responds to the $file_magic_cmd with a given extended regex.
6136 # If you have 'file' or equivalent on your system and you're not sure
6137 # whether 'pass_all' will *always* work, you probably want this one.
6138
6139 case $host_os in
6140 aix[4-9]*)
6141 lt_cv_deplibs_check_method=pass_all
6142 ;;
6143
6144 beos*)
6145 lt_cv_deplibs_check_method=pass_all
6146 ;;
6147
6148 bsdi[45]*)
6149 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6150 lt_cv_file_magic_cmd='/usr/bin/file -L'
6151 lt_cv_file_magic_test_file=/shlib/libc.so
6152 ;;
6153
6154 cygwin*)
6155 # func_win32_libid is a shell function defined in ltmain.sh
6156 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6157 lt_cv_file_magic_cmd='func_win32_libid'
6158 ;;
6159
6160 mingw* | pw32*)
6161 # Base MSYS/MinGW do not provide the 'file' command needed by
6162 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6163 # unless we find 'file', for example because we are cross-compiling.
6164 if ( file / ) >/dev/null 2>&1; then
6165 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6166 lt_cv_file_magic_cmd='func_win32_libid'
6167 else
6168 # Keep this pattern in sync with the one in func_win32_libid.
6169 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6170 lt_cv_file_magic_cmd='$OBJDUMP -f'
6171 fi
6172 ;;
6173
6174 cegcc*)
6175 # use the weaker test based on 'objdump'. See mingw*.
6176 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6177 lt_cv_file_magic_cmd='$OBJDUMP -f'
6178 ;;
6179
6180 darwin* | rhapsody*)
6181 lt_cv_deplibs_check_method=pass_all
6182 ;;
6183
6184 freebsd* | dragonfly*)
6185 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6186 case $host_cpu in
6187 i*86 )
6188 # Not sure whether the presence of OpenBSD here was a mistake.
6189 # Let's accept both of them until this is cleared up.
6190 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6191 lt_cv_file_magic_cmd=/usr/bin/file
6192 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6193 ;;
6194 esac
6195 else
6196 lt_cv_deplibs_check_method=pass_all
6197 fi
6198 ;;
6199
6200 haiku*)
6201 lt_cv_deplibs_check_method=pass_all
6202 ;;
6203
6204 hpux10.20* | hpux11*)
6205 lt_cv_file_magic_cmd=/usr/bin/file
6206 case $host_cpu in
6207 ia64*)
6208 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6209 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6210 ;;
6211 hppa*64*)
6212 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]'
6213 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6214 ;;
6215 *)
6216 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6217 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6218 ;;
6219 esac
6220 ;;
6221
6222 interix[3-9]*)
6223 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6224 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6225 ;;
6226
6227 irix5* | irix6* | nonstopux*)
6228 case $LD in
6229 *-32|*"-32 ") libmagic=32-bit;;
6230 *-n32|*"-n32 ") libmagic=N32;;
6231 *-64|*"-64 ") libmagic=64-bit;;
6232 *) libmagic=never-match;;
6233 esac
6234 lt_cv_deplibs_check_method=pass_all
6235 ;;
6236
6237 # This must be glibc/ELF.
6238 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6239 lt_cv_deplibs_check_method=pass_all
6240 ;;
6241
6242 netbsd*)
6243 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6244 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6245 else
6246 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6247 fi
6248 ;;
6249
6250 newos6*)
6251 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6252 lt_cv_file_magic_cmd=/usr/bin/file
6253 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6254 ;;
6255
6256 *nto* | *qnx*)
6257 lt_cv_deplibs_check_method=pass_all
6258 ;;
6259
6260 openbsd* | bitrig*)
6261 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6262 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6263 else
6264 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6265 fi
6266 ;;
6267
6268 osf3* | osf4* | osf5*)
6269 lt_cv_deplibs_check_method=pass_all
6270 ;;
6271
6272 rdos*)
6273 lt_cv_deplibs_check_method=pass_all
6274 ;;
6275
6276 solaris*)
6277 lt_cv_deplibs_check_method=pass_all
6278 ;;
6279
6280 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6281 lt_cv_deplibs_check_method=pass_all
6282 ;;
6283
6284 sysv4 | sysv4.3*)
6285 case $host_vendor in
6286 motorola)
6287 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]'
6288 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6289 ;;
6290 ncr)
6291 lt_cv_deplibs_check_method=pass_all
6292 ;;
6293 sequent)
6294 lt_cv_file_magic_cmd='/bin/file'
6295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6296 ;;
6297 sni)
6298 lt_cv_file_magic_cmd='/bin/file'
6299 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6300 lt_cv_file_magic_test_file=/lib/libc.so
6301 ;;
6302 siemens)
6303 lt_cv_deplibs_check_method=pass_all
6304 ;;
6305 pc)
6306 lt_cv_deplibs_check_method=pass_all
6307 ;;
6308 esac
6309 ;;
6310
6311 tpf*)
6312 lt_cv_deplibs_check_method=pass_all
6313 ;;
6314 os2*)
6315 lt_cv_deplibs_check_method=pass_all
6316 ;;
6317 esac
6318
6319 fi
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6321 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6322
6323 file_magic_glob=
6324 want_nocaseglob=no
6325 if test "$build" = "$host"; then
6326 case $host_os in
6327 mingw* | pw32*)
6328 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6329 want_nocaseglob=yes
6330 else
6331 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6332 fi
6333 ;;
6334 esac
6335 fi
6336
6337 file_magic_cmd=$lt_cv_file_magic_cmd
6338 deplibs_check_method=$lt_cv_deplibs_check_method
6339 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362 if test -n "$ac_tool_prefix"; then
6363 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6364 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366 $as_echo_n "checking for $ac_word... " >&6; }
6367 if ${ac_cv_prog_DLLTOOL+:} false; then :
6368 $as_echo_n "(cached) " >&6
6369 else
6370 if test -n "$DLLTOOL"; then
6371 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6372 else
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH
6375 do
6376 IFS=$as_save_IFS
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6380 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 break 2
6383 fi
6384 done
6385 done
6386 IFS=$as_save_IFS
6387
6388 fi
6389 fi
6390 DLLTOOL=$ac_cv_prog_DLLTOOL
6391 if test -n "$DLLTOOL"; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6393 $as_echo "$DLLTOOL" >&6; }
6394 else
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6396 $as_echo "no" >&6; }
6397 fi
6398
6399
6400 fi
6401 if test -z "$ac_cv_prog_DLLTOOL"; then
6402 ac_ct_DLLTOOL=$DLLTOOL
6403 # Extract the first word of "dlltool", so it can be a program name with args.
6404 set dummy dlltool; ac_word=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406 $as_echo_n "checking for $ac_word... " >&6; }
6407 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6408 $as_echo_n "(cached) " >&6
6409 else
6410 if test -n "$ac_ct_DLLTOOL"; then
6411 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6412 else
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 for as_dir in $PATH
6415 do
6416 IFS=$as_save_IFS
6417 test -z "$as_dir" && as_dir=.
6418 for ac_exec_ext in '' $ac_executable_extensions; do
6419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6420 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 break 2
6423 fi
6424 done
6425 done
6426 IFS=$as_save_IFS
6427
6428 fi
6429 fi
6430 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6431 if test -n "$ac_ct_DLLTOOL"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6433 $as_echo "$ac_ct_DLLTOOL" >&6; }
6434 else
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436 $as_echo "no" >&6; }
6437 fi
6438
6439 if test "x$ac_ct_DLLTOOL" = x; then
6440 DLLTOOL="false"
6441 else
6442 case $cross_compiling:$ac_tool_warned in
6443 yes:)
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6446 ac_tool_warned=yes ;;
6447 esac
6448 DLLTOOL=$ac_ct_DLLTOOL
6449 fi
6450 else
6451 DLLTOOL="$ac_cv_prog_DLLTOOL"
6452 fi
6453
6454 test -z "$DLLTOOL" && DLLTOOL=dlltool
6455
6456
6457
6458
6459
6460
6461
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6463 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6464 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 lt_cv_sharedlib_from_linklib_cmd='unknown'
6468
6469 case $host_os in
6470 cygwin* | mingw* | pw32* | cegcc*)
6471 # two different shell functions defined in ltmain.sh;
6472 # decide which one to use based on capabilities of $DLLTOOL
6473 case `$DLLTOOL --help 2>&1` in
6474 *--identify-strict*)
6475 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6476 ;;
6477 *)
6478 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6479 ;;
6480 esac
6481 ;;
6482 *)
6483 # fallback: assume linklib IS sharedlib
6484 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6485 ;;
6486 esac
6487
6488 fi
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6490 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6491 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6492 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6493
6494
6495
6496
6497
6498
6499
6500 if test -n "$ac_tool_prefix"; then
6501 for ac_prog in ar
6502 do
6503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if ${ac_cv_prog_AR+:} false; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$AR"; then
6511 ac_cv_prog_AR="$AR" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6515 do
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6523 fi
6524 done
6525 done
6526 IFS=$as_save_IFS
6527
6528 fi
6529 fi
6530 AR=$ac_cv_prog_AR
6531 if test -n "$AR"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6533 $as_echo "$AR" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6537 fi
6538
6539
6540 test -n "$AR" && break
6541 done
6542 fi
6543 if test -z "$AR"; then
6544 ac_ct_AR=$AR
6545 for ac_prog in ar
6546 do
6547 # Extract the first word of "$ac_prog", so it can be a program name with args.
6548 set dummy $ac_prog; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$ac_ct_AR"; then
6555 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6559 do
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6564 ac_cv_prog_ac_ct_AR="$ac_prog"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6567 fi
6568 done
6569 done
6570 IFS=$as_save_IFS
6571
6572 fi
6573 fi
6574 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6575 if test -n "$ac_ct_AR"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6577 $as_echo "$ac_ct_AR" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6581 fi
6582
6583
6584 test -n "$ac_ct_AR" && break
6585 done
6586
6587 if test "x$ac_ct_AR" = x; then
6588 AR="false"
6589 else
6590 case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6595 esac
6596 AR=$ac_ct_AR
6597 fi
6598 fi
6599
6600 : ${AR=ar}
6601 : ${AR_FLAGS=cru}
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6614 $as_echo_n "checking for archiver @FILE support... " >&6; }
6615 if ${lt_cv_ar_at_file+:} false; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 lt_cv_ar_at_file=no
6619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6620 /* end confdefs.h. */
6621
6622 int
6623 main ()
6624 {
6625
6626 ;
6627 return 0;
6628 }
6629 _ACEOF
6630 if ac_fn_c_try_compile "$LINENO"; then :
6631 echo conftest.$ac_objext > conftest.lst
6632 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6633 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6634 (eval $lt_ar_try) 2>&5
6635 ac_status=$?
6636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6637 test $ac_status = 0; }
6638 if test 0 -eq "$ac_status"; then
6639 # Ensure the archiver fails upon bogus file names.
6640 rm -f conftest.$ac_objext libconftest.a
6641 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6642 (eval $lt_ar_try) 2>&5
6643 ac_status=$?
6644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6645 test $ac_status = 0; }
6646 if test 0 -ne "$ac_status"; then
6647 lt_cv_ar_at_file=@
6648 fi
6649 fi
6650 rm -f conftest.* libconftest.a
6651
6652 fi
6653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6654
6655 fi
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6657 $as_echo "$lt_cv_ar_at_file" >&6; }
6658
6659 if test no = "$lt_cv_ar_at_file"; then
6660 archiver_list_spec=
6661 else
6662 archiver_list_spec=$lt_cv_ar_at_file
6663 fi
6664
6665
6666
6667
6668
6669
6670
6671 if test -n "$ac_tool_prefix"; then
6672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6673 set dummy ${ac_tool_prefix}strip; ac_word=$2
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6675 $as_echo_n "checking for $ac_word... " >&6; }
6676 if ${ac_cv_prog_STRIP+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
6679 if test -n "$STRIP"; then
6680 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6681 else
6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 for as_dir in $PATH
6684 do
6685 IFS=$as_save_IFS
6686 test -z "$as_dir" && as_dir=.
6687 for ac_exec_ext in '' $ac_executable_extensions; do
6688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6689 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 break 2
6692 fi
6693 done
6694 done
6695 IFS=$as_save_IFS
6696
6697 fi
6698 fi
6699 STRIP=$ac_cv_prog_STRIP
6700 if test -n "$STRIP"; then
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6702 $as_echo "$STRIP" >&6; }
6703 else
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6705 $as_echo "no" >&6; }
6706 fi
6707
6708
6709 fi
6710 if test -z "$ac_cv_prog_STRIP"; then
6711 ac_ct_STRIP=$STRIP
6712 # Extract the first word of "strip", so it can be a program name with args.
6713 set dummy strip; ac_word=$2
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 $as_echo_n "checking for $ac_word... " >&6; }
6716 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6717 $as_echo_n "(cached) " >&6
6718 else
6719 if test -n "$ac_ct_STRIP"; then
6720 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6721 else
6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 for as_dir in $PATH
6724 do
6725 IFS=$as_save_IFS
6726 test -z "$as_dir" && as_dir=.
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_ac_ct_STRIP="strip"
6730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6731 break 2
6732 fi
6733 done
6734 done
6735 IFS=$as_save_IFS
6736
6737 fi
6738 fi
6739 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6740 if test -n "$ac_ct_STRIP"; then
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6742 $as_echo "$ac_ct_STRIP" >&6; }
6743 else
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 $as_echo "no" >&6; }
6746 fi
6747
6748 if test "x$ac_ct_STRIP" = x; then
6749 STRIP=":"
6750 else
6751 case $cross_compiling:$ac_tool_warned in
6752 yes:)
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6755 ac_tool_warned=yes ;;
6756 esac
6757 STRIP=$ac_ct_STRIP
6758 fi
6759 else
6760 STRIP="$ac_cv_prog_STRIP"
6761 fi
6762
6763 test -z "$STRIP" && STRIP=:
6764
6765
6766
6767
6768
6769
6770 if test -n "$ac_tool_prefix"; then
6771 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6772 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_RANLIB+:} false; then :
6776 $as_echo_n "(cached) " >&6
6777 else
6778 if test -n "$RANLIB"; then
6779 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6780 else
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 for as_dir in $PATH
6783 do
6784 IFS=$as_save_IFS
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 break 2
6791 fi
6792 done
6793 done
6794 IFS=$as_save_IFS
6795
6796 fi
6797 fi
6798 RANLIB=$ac_cv_prog_RANLIB
6799 if test -n "$RANLIB"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6801 $as_echo "$RANLIB" >&6; }
6802 else
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6805 fi
6806
6807
6808 fi
6809 if test -z "$ac_cv_prog_RANLIB"; then
6810 ac_ct_RANLIB=$RANLIB
6811 # Extract the first word of "ranlib", so it can be a program name with args.
6812 set dummy ranlib; ac_word=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 $as_echo_n "checking for $ac_word... " >&6; }
6815 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6816 $as_echo_n "(cached) " >&6
6817 else
6818 if test -n "$ac_ct_RANLIB"; then
6819 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6820 else
6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 for as_dir in $PATH
6823 do
6824 IFS=$as_save_IFS
6825 test -z "$as_dir" && as_dir=.
6826 for ac_exec_ext in '' $ac_executable_extensions; do
6827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6828 ac_cv_prog_ac_ct_RANLIB="ranlib"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6830 break 2
6831 fi
6832 done
6833 done
6834 IFS=$as_save_IFS
6835
6836 fi
6837 fi
6838 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6839 if test -n "$ac_ct_RANLIB"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6841 $as_echo "$ac_ct_RANLIB" >&6; }
6842 else
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6845 fi
6846
6847 if test "x$ac_ct_RANLIB" = x; then
6848 RANLIB=":"
6849 else
6850 case $cross_compiling:$ac_tool_warned in
6851 yes:)
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6854 ac_tool_warned=yes ;;
6855 esac
6856 RANLIB=$ac_ct_RANLIB
6857 fi
6858 else
6859 RANLIB="$ac_cv_prog_RANLIB"
6860 fi
6861
6862 test -z "$RANLIB" && RANLIB=:
6863
6864
6865
6866
6867
6868
6869 # Determine commands to create old-style static archives.
6870 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6871 old_postinstall_cmds='chmod 644 $oldlib'
6872 old_postuninstall_cmds=
6873
6874 if test -n "$RANLIB"; then
6875 case $host_os in
6876 bitrig* | openbsd*)
6877 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6878 ;;
6879 *)
6880 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6881 ;;
6882 esac
6883 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6884 fi
6885
6886 case $host_os in
6887 darwin*)
6888 lock_old_archive_extraction=yes ;;
6889 *)
6890 lock_old_archive_extraction=no ;;
6891 esac
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931 # If no C compiler was specified, use CC.
6932 LTCC=${LTCC-"$CC"}
6933
6934 # If no C compiler flags were specified, use CFLAGS.
6935 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6936
6937 # Allow CC to be a program name with arguments.
6938 compiler=$CC
6939
6940
6941 # Check for command to grab the raw symbol name followed by C symbol from nm.
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6943 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6944 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947
6948 # These are sane defaults that work on at least a few old systems.
6949 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6950
6951 # Character class describing NM global symbol codes.
6952 symcode='[BCDEGRST]'
6953
6954 # Regexp to match symbols that can be accessed directly from C.
6955 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6956
6957 # Define system-specific variables.
6958 case $host_os in
6959 aix*)
6960 symcode='[BCDT]'
6961 ;;
6962 cygwin* | mingw* | pw32* | cegcc*)
6963 symcode='[ABCDGISTW]'
6964 ;;
6965 hpux*)
6966 if test ia64 = "$host_cpu"; then
6967 symcode='[ABCDEGRST]'
6968 fi
6969 ;;
6970 irix* | nonstopux*)
6971 symcode='[BCDEGRST]'
6972 ;;
6973 osf*)
6974 symcode='[BCDEGQRST]'
6975 ;;
6976 solaris*)
6977 symcode='[BDRT]'
6978 ;;
6979 sco3.2v5*)
6980 symcode='[DT]'
6981 ;;
6982 sysv4.2uw2*)
6983 symcode='[DT]'
6984 ;;
6985 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6986 symcode='[ABDT]'
6987 ;;
6988 sysv4)
6989 symcode='[DFNSTU]'
6990 ;;
6991 esac
6992
6993 # If we're using GNU nm, then use its standard symbol codes.
6994 case `$NM -V 2>&1` in
6995 *GNU* | *'with BFD'*)
6996 symcode='[ABCDGIRSTW]' ;;
6997 esac
6998
6999 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7000 # Gets list of data symbols to import.
7001 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7002 # Adjust the below global symbol transforms to fixup imported variables.
7003 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7004 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7005 lt_c_name_lib_hook="\
7006 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7007 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7008 else
7009 # Disable hooks by default.
7010 lt_cv_sys_global_symbol_to_import=
7011 lt_cdecl_hook=
7012 lt_c_name_hook=
7013 lt_c_name_lib_hook=
7014 fi
7015
7016 # Transform an extracted symbol line into a proper C declaration.
7017 # Some systems (esp. on ia64) link data and code symbols differently,
7018 # so use this general approach.
7019 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7020 $lt_cdecl_hook\
7021 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7022 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7023
7024 # Transform an extracted symbol line into symbol name and symbol address
7025 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7026 $lt_c_name_hook\
7027 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7028 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7029
7030 # Transform an extracted symbol line into symbol name with lib prefix and
7031 # symbol address.
7032 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7033 $lt_c_name_lib_hook\
7034 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7035 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7036 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7037
7038 # Handle CRLF in mingw tool chain
7039 opt_cr=
7040 case $build_os in
7041 mingw*)
7042 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7043 ;;
7044 esac
7045
7046 # Try without a prefix underscore, then with it.
7047 for ac_symprfx in "" "_"; do
7048
7049 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7050 symxfrm="\\1 $ac_symprfx\\2 \\2"
7051
7052 # Write the raw and C identifiers.
7053 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7054 # Fake it for dumpbin and say T for any non-static function,
7055 # D for any global variable and I for any imported variable.
7056 # Also find C++ and __fastcall symbols from MSVC++,
7057 # which start with @ or ?.
7058 lt_cv_sys_global_symbol_pipe="$AWK '"\
7059 " {last_section=section; section=\$ 3};"\
7060 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7061 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7062 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7063 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7064 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7065 " \$ 0!~/External *\|/{next};"\
7066 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7067 " {if(hide[section]) next};"\
7068 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7069 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7070 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7071 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7072 " ' prfx=^$ac_symprfx"
7073 else
7074 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7075 fi
7076 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7077
7078 # Check to see that the pipe works correctly.
7079 pipe_works=no
7080
7081 rm -f conftest*
7082 cat > conftest.$ac_ext <<_LT_EOF
7083 #ifdef __cplusplus
7084 extern "C" {
7085 #endif
7086 char nm_test_var;
7087 void nm_test_func(void);
7088 void nm_test_func(void){}
7089 #ifdef __cplusplus
7090 }
7091 #endif
7092 int main(){nm_test_var='a';nm_test_func();return(0);}
7093 _LT_EOF
7094
7095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7096 (eval $ac_compile) 2>&5
7097 ac_status=$?
7098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7099 test $ac_status = 0; }; then
7100 # Now try to grab the symbols.
7101 nlist=conftest.nm
7102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7103 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7104 ac_status=$?
7105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7106 test $ac_status = 0; } && test -s "$nlist"; then
7107 # Try sorting and uniquifying the output.
7108 if sort "$nlist" | uniq > "$nlist"T; then
7109 mv -f "$nlist"T "$nlist"
7110 else
7111 rm -f "$nlist"T
7112 fi
7113
7114 # Make sure that we snagged all the symbols we need.
7115 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7116 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7117 cat <<_LT_EOF > conftest.$ac_ext
7118 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7119 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7120 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7121 relocations are performed -- see ld's documentation on pseudo-relocs. */
7122 # define LT_DLSYM_CONST
7123 #elif defined __osf__
7124 /* This system does not cope well with relocations in const data. */
7125 # define LT_DLSYM_CONST
7126 #else
7127 # define LT_DLSYM_CONST const
7128 #endif
7129
7130 #ifdef __cplusplus
7131 extern "C" {
7132 #endif
7133
7134 _LT_EOF
7135 # Now generate the symbol file.
7136 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7137
7138 cat <<_LT_EOF >> conftest.$ac_ext
7139
7140 /* The mapping between symbol names and symbols. */
7141 LT_DLSYM_CONST struct {
7142 const char *name;
7143 void *address;
7144 }
7145 lt__PROGRAM__LTX_preloaded_symbols[] =
7146 {
7147 { "@PROGRAM@", (void *) 0 },
7148 _LT_EOF
7149 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7150 cat <<\_LT_EOF >> conftest.$ac_ext
7151 {0, (void *) 0}
7152 };
7153
7154 /* This works around a problem in FreeBSD linker */
7155 #ifdef FREEBSD_WORKAROUND
7156 static const void *lt_preloaded_setup() {
7157 return lt__PROGRAM__LTX_preloaded_symbols;
7158 }
7159 #endif
7160
7161 #ifdef __cplusplus
7162 }
7163 #endif
7164 _LT_EOF
7165 # Now try linking the two files.
7166 mv conftest.$ac_objext conftstm.$ac_objext
7167 lt_globsym_save_LIBS=$LIBS
7168 lt_globsym_save_CFLAGS=$CFLAGS
7169 LIBS=conftstm.$ac_objext
7170 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7172 (eval $ac_link) 2>&5
7173 ac_status=$?
7174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7175 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7176 pipe_works=yes
7177 fi
7178 LIBS=$lt_globsym_save_LIBS
7179 CFLAGS=$lt_globsym_save_CFLAGS
7180 else
7181 echo "cannot find nm_test_func in $nlist" >&5
7182 fi
7183 else
7184 echo "cannot find nm_test_var in $nlist" >&5
7185 fi
7186 else
7187 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7188 fi
7189 else
7190 echo "$progname: failed program was:" >&5
7191 cat conftest.$ac_ext >&5
7192 fi
7193 rm -rf conftest* conftst*
7194
7195 # Do not use the global_symbol_pipe unless it works.
7196 if test yes = "$pipe_works"; then
7197 break
7198 else
7199 lt_cv_sys_global_symbol_pipe=
7200 fi
7201 done
7202
7203 fi
7204
7205 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7206 lt_cv_sys_global_symbol_to_cdecl=
7207 fi
7208 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7210 $as_echo "failed" >&6; }
7211 else
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7213 $as_echo "ok" >&6; }
7214 fi
7215
7216 # Response file support.
7217 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7218 nm_file_list_spec='@'
7219 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7220 nm_file_list_spec='@'
7221 fi
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7260 $as_echo_n "checking for sysroot... " >&6; }
7261
7262 # Check whether --with-sysroot was given.
7263 if test "${with_sysroot+set}" = set; then :
7264 withval=$with_sysroot;
7265 else
7266 with_sysroot=no
7267 fi
7268
7269
7270 lt_sysroot=
7271 case $with_sysroot in #(
7272 yes)
7273 if test yes = "$GCC"; then
7274 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7275 fi
7276 ;; #(
7277 /*)
7278 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7279 ;; #(
7280 no|'')
7281 ;; #(
7282 *)
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7284 $as_echo "$with_sysroot" >&6; }
7285 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7286 ;;
7287 esac
7288
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7290 $as_echo "${lt_sysroot:-no}" >&6; }
7291
7292
7293
7294
7295
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7297 $as_echo_n "checking for a working dd... " >&6; }
7298 if ${ac_cv_path_lt_DD+:} false; then :
7299 $as_echo_n "(cached) " >&6
7300 else
7301 printf 0123456789abcdef0123456789abcdef >conftest.i
7302 cat conftest.i conftest.i >conftest2.i
7303 : ${lt_DD:=$DD}
7304 if test -z "$lt_DD"; then
7305 ac_path_lt_DD_found=false
7306 # Loop through the user's path and test for each of PROGNAME-LIST
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308 for as_dir in $PATH
7309 do
7310 IFS=$as_save_IFS
7311 test -z "$as_dir" && as_dir=.
7312 for ac_prog in dd; do
7313 for ac_exec_ext in '' $ac_executable_extensions; do
7314 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7315 as_fn_executable_p "$ac_path_lt_DD" || continue
7316 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7317 cmp -s conftest.i conftest.out \
7318 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7319 fi
7320 $ac_path_lt_DD_found && break 3
7321 done
7322 done
7323 done
7324 IFS=$as_save_IFS
7325 if test -z "$ac_cv_path_lt_DD"; then
7326 :
7327 fi
7328 else
7329 ac_cv_path_lt_DD=$lt_DD
7330 fi
7331
7332 rm -f conftest.i conftest2.i conftest.out
7333 fi
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7335 $as_echo "$ac_cv_path_lt_DD" >&6; }
7336
7337
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7339 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7340 if ${lt_cv_truncate_bin+:} false; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 printf 0123456789abcdef0123456789abcdef >conftest.i
7344 cat conftest.i conftest.i >conftest2.i
7345 lt_cv_truncate_bin=
7346 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7347 cmp -s conftest.i conftest.out \
7348 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7349 fi
7350 rm -f conftest.i conftest2.i conftest.out
7351 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7352 fi
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7354 $as_echo "$lt_cv_truncate_bin" >&6; }
7355
7356
7357
7358
7359
7360
7361
7362 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7363 func_cc_basename ()
7364 {
7365 for cc_temp in $*""; do
7366 case $cc_temp in
7367 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7368 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7369 \-*) ;;
7370 *) break;;
7371 esac
7372 done
7373 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7374 }
7375
7376 # Check whether --enable-libtool-lock was given.
7377 if test "${enable_libtool_lock+set}" = set; then :
7378 enableval=$enable_libtool_lock;
7379 fi
7380
7381 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7382
7383 # Some flags need to be propagated to the compiler or linker for good
7384 # libtool support.
7385 case $host in
7386 ia64-*-hpux*)
7387 # Find out what ABI is being produced by ac_compile, and set mode
7388 # options accordingly.
7389 echo 'int i;' > conftest.$ac_ext
7390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7391 (eval $ac_compile) 2>&5
7392 ac_status=$?
7393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7394 test $ac_status = 0; }; then
7395 case `/usr/bin/file conftest.$ac_objext` in
7396 *ELF-32*)
7397 HPUX_IA64_MODE=32
7398 ;;
7399 *ELF-64*)
7400 HPUX_IA64_MODE=64
7401 ;;
7402 esac
7403 fi
7404 rm -rf conftest*
7405 ;;
7406 *-*-irix6*)
7407 # Find out what ABI is being produced by ac_compile, and set linker
7408 # options accordingly.
7409 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7411 (eval $ac_compile) 2>&5
7412 ac_status=$?
7413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7414 test $ac_status = 0; }; then
7415 if test yes = "$lt_cv_prog_gnu_ld"; then
7416 case `/usr/bin/file conftest.$ac_objext` in
7417 *32-bit*)
7418 LD="${LD-ld} -melf32bsmip"
7419 ;;
7420 *N32*)
7421 LD="${LD-ld} -melf32bmipn32"
7422 ;;
7423 *64-bit*)
7424 LD="${LD-ld} -melf64bmip"
7425 ;;
7426 esac
7427 else
7428 case `/usr/bin/file conftest.$ac_objext` in
7429 *32-bit*)
7430 LD="${LD-ld} -32"
7431 ;;
7432 *N32*)
7433 LD="${LD-ld} -n32"
7434 ;;
7435 *64-bit*)
7436 LD="${LD-ld} -64"
7437 ;;
7438 esac
7439 fi
7440 fi
7441 rm -rf conftest*
7442 ;;
7443
7444 mips64*-*linux*)
7445 # Find out what ABI is being produced by ac_compile, and set linker
7446 # options accordingly.
7447 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7449 (eval $ac_compile) 2>&5
7450 ac_status=$?
7451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7452 test $ac_status = 0; }; then
7453 emul=elf
7454 case `/usr/bin/file conftest.$ac_objext` in
7455 *32-bit*)
7456 emul="${emul}32"
7457 ;;
7458 *64-bit*)
7459 emul="${emul}64"
7460 ;;
7461 esac
7462 case `/usr/bin/file conftest.$ac_objext` in
7463 *MSB*)
7464 emul="${emul}btsmip"
7465 ;;
7466 *LSB*)
7467 emul="${emul}ltsmip"
7468 ;;
7469 esac
7470 case `/usr/bin/file conftest.$ac_objext` in
7471 *N32*)
7472 emul="${emul}n32"
7473 ;;
7474 esac
7475 LD="${LD-ld} -m $emul"
7476 fi
7477 rm -rf conftest*
7478 ;;
7479
7480 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7481 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7482 # Find out what ABI is being produced by ac_compile, and set linker
7483 # options accordingly. Note that the listed cases only cover the
7484 # situations where additional linker options are needed (such as when
7485 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7486 # vice versa); the common cases where no linker options are needed do
7487 # not appear in the list.
7488 echo 'int i;' > conftest.$ac_ext
7489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7490 (eval $ac_compile) 2>&5
7491 ac_status=$?
7492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7493 test $ac_status = 0; }; then
7494 case `/usr/bin/file conftest.o` in
7495 *32-bit*)
7496 case $host in
7497 x86_64-*kfreebsd*-gnu)
7498 LD="${LD-ld} -m elf_i386_fbsd"
7499 ;;
7500 x86_64-*linux*)
7501 case `/usr/bin/file conftest.o` in
7502 *x86-64*)
7503 LD="${LD-ld} -m elf32_x86_64"
7504 ;;
7505 *)
7506 LD="${LD-ld} -m elf_i386"
7507 ;;
7508 esac
7509 ;;
7510 powerpc64le-*linux*)
7511 LD="${LD-ld} -m elf32lppclinux"
7512 ;;
7513 powerpc64-*linux*)
7514 LD="${LD-ld} -m elf32ppclinux"
7515 ;;
7516 s390x-*linux*)
7517 LD="${LD-ld} -m elf_s390"
7518 ;;
7519 sparc64-*linux*)
7520 LD="${LD-ld} -m elf32_sparc"
7521 ;;
7522 esac
7523 ;;
7524 *64-bit*)
7525 case $host in
7526 x86_64-*kfreebsd*-gnu)
7527 LD="${LD-ld} -m elf_x86_64_fbsd"
7528 ;;
7529 x86_64-*linux*)
7530 LD="${LD-ld} -m elf_x86_64"
7531 ;;
7532 powerpcle-*linux*)
7533 LD="${LD-ld} -m elf64lppc"
7534 ;;
7535 powerpc-*linux*)
7536 LD="${LD-ld} -m elf64ppc"
7537 ;;
7538 s390*-*linux*|s390*-*tpf*)
7539 LD="${LD-ld} -m elf64_s390"
7540 ;;
7541 sparc*-*linux*)
7542 LD="${LD-ld} -m elf64_sparc"
7543 ;;
7544 esac
7545 ;;
7546 esac
7547 fi
7548 rm -rf conftest*
7549 ;;
7550
7551 *-*-sco3.2v5*)
7552 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7553 SAVE_CFLAGS=$CFLAGS
7554 CFLAGS="$CFLAGS -belf"
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7556 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7557 if ${lt_cv_cc_needs_belf+:} false; then :
7558 $as_echo_n "(cached) " >&6
7559 else
7560 ac_ext=c
7561 ac_cpp='$CPP $CPPFLAGS'
7562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7565
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7568
7569 int
7570 main ()
7571 {
7572
7573 ;
7574 return 0;
7575 }
7576 _ACEOF
7577 if ac_fn_c_try_link "$LINENO"; then :
7578 lt_cv_cc_needs_belf=yes
7579 else
7580 lt_cv_cc_needs_belf=no
7581 fi
7582 rm -f core conftest.err conftest.$ac_objext \
7583 conftest$ac_exeext conftest.$ac_ext
7584 ac_ext=c
7585 ac_cpp='$CPP $CPPFLAGS'
7586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7589
7590 fi
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7592 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7593 if test yes != "$lt_cv_cc_needs_belf"; then
7594 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7595 CFLAGS=$SAVE_CFLAGS
7596 fi
7597 ;;
7598 *-*solaris*)
7599 # Find out what ABI is being produced by ac_compile, and set linker
7600 # options accordingly.
7601 echo 'int i;' > conftest.$ac_ext
7602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7603 (eval $ac_compile) 2>&5
7604 ac_status=$?
7605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7606 test $ac_status = 0; }; then
7607 case `/usr/bin/file conftest.o` in
7608 *64-bit*)
7609 case $lt_cv_prog_gnu_ld in
7610 yes*)
7611 case $host in
7612 i?86-*-solaris*|x86_64-*-solaris*)
7613 LD="${LD-ld} -m elf_x86_64"
7614 ;;
7615 sparc*-*-solaris*)
7616 LD="${LD-ld} -m elf64_sparc"
7617 ;;
7618 esac
7619 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7620 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7621 LD=${LD-ld}_sol2
7622 fi
7623 ;;
7624 *)
7625 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7626 LD="${LD-ld} -64"
7627 fi
7628 ;;
7629 esac
7630 ;;
7631 esac
7632 fi
7633 rm -rf conftest*
7634 ;;
7635 esac
7636
7637 need_locks=$enable_libtool_lock
7638
7639 if test -n "$ac_tool_prefix"; then
7640 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7641 set dummy ${ac_tool_prefix}mt; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7645 $as_echo_n "(cached) " >&6
7646 else
7647 if test -n "$MANIFEST_TOOL"; then
7648 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7652 do
7653 IFS=$as_save_IFS
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 break 2
7660 fi
7661 done
7662 done
7663 IFS=$as_save_IFS
7664
7665 fi
7666 fi
7667 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7668 if test -n "$MANIFEST_TOOL"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7670 $as_echo "$MANIFEST_TOOL" >&6; }
7671 else
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7674 fi
7675
7676
7677 fi
7678 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7679 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7680 # Extract the first word of "mt", so it can be a program name with args.
7681 set dummy mt; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7685 $as_echo_n "(cached) " >&6
7686 else
7687 if test -n "$ac_ct_MANIFEST_TOOL"; then
7688 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7689 else
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 for as_dir in $PATH
7692 do
7693 IFS=$as_save_IFS
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699 break 2
7700 fi
7701 done
7702 done
7703 IFS=$as_save_IFS
7704
7705 fi
7706 fi
7707 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7708 if test -n "$ac_ct_MANIFEST_TOOL"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7710 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7711 else
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7714 fi
7715
7716 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7717 MANIFEST_TOOL=":"
7718 else
7719 case $cross_compiling:$ac_tool_warned in
7720 yes:)
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7723 ac_tool_warned=yes ;;
7724 esac
7725 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7726 fi
7727 else
7728 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7729 fi
7730
7731 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7733 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7734 if ${lt_cv_path_mainfest_tool+:} false; then :
7735 $as_echo_n "(cached) " >&6
7736 else
7737 lt_cv_path_mainfest_tool=no
7738 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7739 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7740 cat conftest.err >&5
7741 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7742 lt_cv_path_mainfest_tool=yes
7743 fi
7744 rm -f conftest*
7745 fi
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7747 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7748 if test yes != "$lt_cv_path_mainfest_tool"; then
7749 MANIFEST_TOOL=:
7750 fi
7751
7752
7753
7754
7755
7756
7757 case $host_os in
7758 rhapsody* | darwin*)
7759 if test -n "$ac_tool_prefix"; then
7760 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7761 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7763 $as_echo_n "checking for $ac_word... " >&6; }
7764 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7765 $as_echo_n "(cached) " >&6
7766 else
7767 if test -n "$DSYMUTIL"; then
7768 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7769 else
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 for as_dir in $PATH
7772 do
7773 IFS=$as_save_IFS
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7777 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 break 2
7780 fi
7781 done
7782 done
7783 IFS=$as_save_IFS
7784
7785 fi
7786 fi
7787 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7788 if test -n "$DSYMUTIL"; then
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7790 $as_echo "$DSYMUTIL" >&6; }
7791 else
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7793 $as_echo "no" >&6; }
7794 fi
7795
7796
7797 fi
7798 if test -z "$ac_cv_prog_DSYMUTIL"; then
7799 ac_ct_DSYMUTIL=$DSYMUTIL
7800 # Extract the first word of "dsymutil", so it can be a program name with args.
7801 set dummy dsymutil; ac_word=$2
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7803 $as_echo_n "checking for $ac_word... " >&6; }
7804 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7805 $as_echo_n "(cached) " >&6
7806 else
7807 if test -n "$ac_ct_DSYMUTIL"; then
7808 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7809 else
7810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 for as_dir in $PATH
7812 do
7813 IFS=$as_save_IFS
7814 test -z "$as_dir" && as_dir=.
7815 for ac_exec_ext in '' $ac_executable_extensions; do
7816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7817 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 break 2
7820 fi
7821 done
7822 done
7823 IFS=$as_save_IFS
7824
7825 fi
7826 fi
7827 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7828 if test -n "$ac_ct_DSYMUTIL"; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7830 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7831 else
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 $as_echo "no" >&6; }
7834 fi
7835
7836 if test "x$ac_ct_DSYMUTIL" = x; then
7837 DSYMUTIL=":"
7838 else
7839 case $cross_compiling:$ac_tool_warned in
7840 yes:)
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7843 ac_tool_warned=yes ;;
7844 esac
7845 DSYMUTIL=$ac_ct_DSYMUTIL
7846 fi
7847 else
7848 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7849 fi
7850
7851 if test -n "$ac_tool_prefix"; then
7852 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7853 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7855 $as_echo_n "checking for $ac_word... " >&6; }
7856 if ${ac_cv_prog_NMEDIT+:} false; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 if test -n "$NMEDIT"; then
7860 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7861 else
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 for as_dir in $PATH
7864 do
7865 IFS=$as_save_IFS
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7869 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 break 2
7872 fi
7873 done
7874 done
7875 IFS=$as_save_IFS
7876
7877 fi
7878 fi
7879 NMEDIT=$ac_cv_prog_NMEDIT
7880 if test -n "$NMEDIT"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7882 $as_echo "$NMEDIT" >&6; }
7883 else
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7885 $as_echo "no" >&6; }
7886 fi
7887
7888
7889 fi
7890 if test -z "$ac_cv_prog_NMEDIT"; then
7891 ac_ct_NMEDIT=$NMEDIT
7892 # Extract the first word of "nmedit", so it can be a program name with args.
7893 set dummy nmedit; ac_word=$2
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7895 $as_echo_n "checking for $ac_word... " >&6; }
7896 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7897 $as_echo_n "(cached) " >&6
7898 else
7899 if test -n "$ac_ct_NMEDIT"; then
7900 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7901 else
7902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903 for as_dir in $PATH
7904 do
7905 IFS=$as_save_IFS
7906 test -z "$as_dir" && as_dir=.
7907 for ac_exec_ext in '' $ac_executable_extensions; do
7908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7909 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911 break 2
7912 fi
7913 done
7914 done
7915 IFS=$as_save_IFS
7916
7917 fi
7918 fi
7919 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7920 if test -n "$ac_ct_NMEDIT"; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7922 $as_echo "$ac_ct_NMEDIT" >&6; }
7923 else
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7925 $as_echo "no" >&6; }
7926 fi
7927
7928 if test "x$ac_ct_NMEDIT" = x; then
7929 NMEDIT=":"
7930 else
7931 case $cross_compiling:$ac_tool_warned in
7932 yes:)
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7935 ac_tool_warned=yes ;;
7936 esac
7937 NMEDIT=$ac_ct_NMEDIT
7938 fi
7939 else
7940 NMEDIT="$ac_cv_prog_NMEDIT"
7941 fi
7942
7943 if test -n "$ac_tool_prefix"; then
7944 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7945 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7947 $as_echo_n "checking for $ac_word... " >&6; }
7948 if ${ac_cv_prog_LIPO+:} false; then :
7949 $as_echo_n "(cached) " >&6
7950 else
7951 if test -n "$LIPO"; then
7952 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7953 else
7954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 for as_dir in $PATH
7956 do
7957 IFS=$as_save_IFS
7958 test -z "$as_dir" && as_dir=.
7959 for ac_exec_ext in '' $ac_executable_extensions; do
7960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7961 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7963 break 2
7964 fi
7965 done
7966 done
7967 IFS=$as_save_IFS
7968
7969 fi
7970 fi
7971 LIPO=$ac_cv_prog_LIPO
7972 if test -n "$LIPO"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7974 $as_echo "$LIPO" >&6; }
7975 else
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7978 fi
7979
7980
7981 fi
7982 if test -z "$ac_cv_prog_LIPO"; then
7983 ac_ct_LIPO=$LIPO
7984 # Extract the first word of "lipo", so it can be a program name with args.
7985 set dummy lipo; ac_word=$2
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7987 $as_echo_n "checking for $ac_word... " >&6; }
7988 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7989 $as_echo_n "(cached) " >&6
7990 else
7991 if test -n "$ac_ct_LIPO"; then
7992 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7993 else
7994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 for as_dir in $PATH
7996 do
7997 IFS=$as_save_IFS
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8001 ac_cv_prog_ac_ct_LIPO="lipo"
8002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 break 2
8004 fi
8005 done
8006 done
8007 IFS=$as_save_IFS
8008
8009 fi
8010 fi
8011 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8012 if test -n "$ac_ct_LIPO"; then
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8014 $as_echo "$ac_ct_LIPO" >&6; }
8015 else
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8017 $as_echo "no" >&6; }
8018 fi
8019
8020 if test "x$ac_ct_LIPO" = x; then
8021 LIPO=":"
8022 else
8023 case $cross_compiling:$ac_tool_warned in
8024 yes:)
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8027 ac_tool_warned=yes ;;
8028 esac
8029 LIPO=$ac_ct_LIPO
8030 fi
8031 else
8032 LIPO="$ac_cv_prog_LIPO"
8033 fi
8034
8035 if test -n "$ac_tool_prefix"; then
8036 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8037 set dummy ${ac_tool_prefix}otool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_OTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$OTOOL"; then
8044 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8048 do
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8056 fi
8057 done
8058 done
8059 IFS=$as_save_IFS
8060
8061 fi
8062 fi
8063 OTOOL=$ac_cv_prog_OTOOL
8064 if test -n "$OTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8066 $as_echo "$OTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8070 fi
8071
8072
8073 fi
8074 if test -z "$ac_cv_prog_OTOOL"; then
8075 ac_ct_OTOOL=$OTOOL
8076 # Extract the first word of "otool", so it can be a program name with args.
8077 set dummy otool; ac_word=$2
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8079 $as_echo_n "checking for $ac_word... " >&6; }
8080 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8081 $as_echo_n "(cached) " >&6
8082 else
8083 if test -n "$ac_ct_OTOOL"; then
8084 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8085 else
8086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 for as_dir in $PATH
8088 do
8089 IFS=$as_save_IFS
8090 test -z "$as_dir" && as_dir=.
8091 for ac_exec_ext in '' $ac_executable_extensions; do
8092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8093 ac_cv_prog_ac_ct_OTOOL="otool"
8094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8095 break 2
8096 fi
8097 done
8098 done
8099 IFS=$as_save_IFS
8100
8101 fi
8102 fi
8103 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8104 if test -n "$ac_ct_OTOOL"; then
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8106 $as_echo "$ac_ct_OTOOL" >&6; }
8107 else
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8110 fi
8111
8112 if test "x$ac_ct_OTOOL" = x; then
8113 OTOOL=":"
8114 else
8115 case $cross_compiling:$ac_tool_warned in
8116 yes:)
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8119 ac_tool_warned=yes ;;
8120 esac
8121 OTOOL=$ac_ct_OTOOL
8122 fi
8123 else
8124 OTOOL="$ac_cv_prog_OTOOL"
8125 fi
8126
8127 if test -n "$ac_tool_prefix"; then
8128 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8129 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if ${ac_cv_prog_OTOOL64+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 if test -n "$OTOOL64"; then
8136 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8137 else
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 for as_dir in $PATH
8140 do
8141 IFS=$as_save_IFS
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 break 2
8148 fi
8149 done
8150 done
8151 IFS=$as_save_IFS
8152
8153 fi
8154 fi
8155 OTOOL64=$ac_cv_prog_OTOOL64
8156 if test -n "$OTOOL64"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8158 $as_echo "$OTOOL64" >&6; }
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8162 fi
8163
8164
8165 fi
8166 if test -z "$ac_cv_prog_OTOOL64"; then
8167 ac_ct_OTOOL64=$OTOOL64
8168 # Extract the first word of "otool64", so it can be a program name with args.
8169 set dummy otool64; ac_word=$2
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8171 $as_echo_n "checking for $ac_word... " >&6; }
8172 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8173 $as_echo_n "(cached) " >&6
8174 else
8175 if test -n "$ac_ct_OTOOL64"; then
8176 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8177 else
8178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179 for as_dir in $PATH
8180 do
8181 IFS=$as_save_IFS
8182 test -z "$as_dir" && as_dir=.
8183 for ac_exec_ext in '' $ac_executable_extensions; do
8184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8185 ac_cv_prog_ac_ct_OTOOL64="otool64"
8186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8187 break 2
8188 fi
8189 done
8190 done
8191 IFS=$as_save_IFS
8192
8193 fi
8194 fi
8195 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8196 if test -n "$ac_ct_OTOOL64"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8198 $as_echo "$ac_ct_OTOOL64" >&6; }
8199 else
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201 $as_echo "no" >&6; }
8202 fi
8203
8204 if test "x$ac_ct_OTOOL64" = x; then
8205 OTOOL64=":"
8206 else
8207 case $cross_compiling:$ac_tool_warned in
8208 yes:)
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8211 ac_tool_warned=yes ;;
8212 esac
8213 OTOOL64=$ac_ct_OTOOL64
8214 fi
8215 else
8216 OTOOL64="$ac_cv_prog_OTOOL64"
8217 fi
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8246 $as_echo_n "checking for -single_module linker flag... " >&6; }
8247 if ${lt_cv_apple_cc_single_mod+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 lt_cv_apple_cc_single_mod=no
8251 if test -z "$LT_MULTI_MODULE"; then
8252 # By default we will add the -single_module flag. You can override
8253 # by either setting the environment variable LT_MULTI_MODULE
8254 # non-empty at configure time, or by adding -multi_module to the
8255 # link flags.
8256 rm -rf libconftest.dylib*
8257 echo "int foo(void){return 1;}" > conftest.c
8258 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8259 -dynamiclib -Wl,-single_module conftest.c" >&5
8260 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8261 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8262 _lt_result=$?
8263 # If there is a non-empty error log, and "single_module"
8264 # appears in it, assume the flag caused a linker warning
8265 if test -s conftest.err && $GREP single_module conftest.err; then
8266 cat conftest.err >&5
8267 # Otherwise, if the output was created with a 0 exit code from
8268 # the compiler, it worked.
8269 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8270 lt_cv_apple_cc_single_mod=yes
8271 else
8272 cat conftest.err >&5
8273 fi
8274 rm -rf libconftest.dylib*
8275 rm -f conftest.*
8276 fi
8277 fi
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8279 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8280
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8282 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8283 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 lt_cv_ld_exported_symbols_list=no
8287 save_LDFLAGS=$LDFLAGS
8288 echo "_main" > conftest.sym
8289 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292
8293 int
8294 main ()
8295 {
8296
8297 ;
8298 return 0;
8299 }
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 lt_cv_ld_exported_symbols_list=yes
8303 else
8304 lt_cv_ld_exported_symbols_list=no
8305 fi
8306 rm -f core conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 LDFLAGS=$save_LDFLAGS
8309
8310 fi
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8312 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8313
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8315 $as_echo_n "checking for -force_load linker flag... " >&6; }
8316 if ${lt_cv_ld_force_load+:} false; then :
8317 $as_echo_n "(cached) " >&6
8318 else
8319 lt_cv_ld_force_load=no
8320 cat > conftest.c << _LT_EOF
8321 int forced_loaded() { return 2;}
8322 _LT_EOF
8323 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8324 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8325 echo "$AR cru libconftest.a conftest.o" >&5
8326 $AR cru libconftest.a conftest.o 2>&5
8327 echo "$RANLIB libconftest.a" >&5
8328 $RANLIB libconftest.a 2>&5
8329 cat > conftest.c << _LT_EOF
8330 int main() { return 0;}
8331 _LT_EOF
8332 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8333 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8334 _lt_result=$?
8335 if test -s conftest.err && $GREP force_load conftest.err; then
8336 cat conftest.err >&5
8337 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8338 lt_cv_ld_force_load=yes
8339 else
8340 cat conftest.err >&5
8341 fi
8342 rm -f conftest.err libconftest.a conftest conftest.c
8343 rm -rf conftest.dSYM
8344
8345 fi
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8347 $as_echo "$lt_cv_ld_force_load" >&6; }
8348 case $host_os in
8349 rhapsody* | darwin1.[012])
8350 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8351 darwin1.*)
8352 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8353 darwin*) # darwin 5.x on
8354 # if running on 10.5 or later, the deployment target defaults
8355 # to the OS version, if on x86, and 10.4, the deployment
8356 # target defaults to 10.4. Don't you love it?
8357 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8358 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8359 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8360 10.[012][,.]*)
8361 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8362 10.*)
8363 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8364 esac
8365 ;;
8366 esac
8367 if test yes = "$lt_cv_apple_cc_single_mod"; then
8368 _lt_dar_single_mod='$single_module'
8369 fi
8370 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8371 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8372 else
8373 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8374 fi
8375 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8376 _lt_dsymutil='~$DSYMUTIL $lib || :'
8377 else
8378 _lt_dsymutil=
8379 fi
8380 ;;
8381 esac
8382
8383 # func_munge_path_list VARIABLE PATH
8384 # -----------------------------------
8385 # VARIABLE is name of variable containing _space_ separated list of
8386 # directories to be munged by the contents of PATH, which is string
8387 # having a format:
8388 # "DIR[:DIR]:"
8389 # string "DIR[ DIR]" will be prepended to VARIABLE
8390 # ":DIR[:DIR]"
8391 # string "DIR[ DIR]" will be appended to VARIABLE
8392 # "DIRP[:DIRP]::[DIRA:]DIRA"
8393 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8394 # "DIRA[ DIRA]" will be appended to VARIABLE
8395 # "DIR[:DIR]"
8396 # VARIABLE will be replaced by "DIR[ DIR]"
8397 func_munge_path_list ()
8398 {
8399 case x$2 in
8400 x)
8401 ;;
8402 *:)
8403 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8404 ;;
8405 x:*)
8406 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8407 ;;
8408 *::*)
8409 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8410 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8411 ;;
8412 *)
8413 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8414 ;;
8415 esac
8416 }
8417
8418 ac_ext=c
8419 ac_cpp='$CPP $CPPFLAGS'
8420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8424 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8425 # On Suns, sometimes $CPP names a directory.
8426 if test -n "$CPP" && test -d "$CPP"; then
8427 CPP=
8428 fi
8429 if test -z "$CPP"; then
8430 if ${ac_cv_prog_CPP+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 # Double quotes because CPP needs to be expanded
8434 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8435 do
8436 ac_preproc_ok=false
8437 for ac_c_preproc_warn_flag in '' yes
8438 do
8439 # Use a header file that comes with gcc, so configuring glibc
8440 # with a fresh cross-compiler works.
8441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8442 # <limits.h> exists even on freestanding compilers.
8443 # On the NeXT, cc -E runs the code through the compiler's parser,
8444 # not just through cpp. "Syntax error" is here to catch this case.
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 #ifdef __STDC__
8448 # include <limits.h>
8449 #else
8450 # include <assert.h>
8451 #endif
8452 Syntax error
8453 _ACEOF
8454 if ac_fn_c_try_cpp "$LINENO"; then :
8455
8456 else
8457 # Broken: fails on valid input.
8458 continue
8459 fi
8460 rm -f conftest.err conftest.i conftest.$ac_ext
8461
8462 # OK, works on sane cases. Now check whether nonexistent headers
8463 # can be detected and how.
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 #include <ac_nonexistent.h>
8467 _ACEOF
8468 if ac_fn_c_try_cpp "$LINENO"; then :
8469 # Broken: success on invalid input.
8470 continue
8471 else
8472 # Passes both tests.
8473 ac_preproc_ok=:
8474 break
8475 fi
8476 rm -f conftest.err conftest.i conftest.$ac_ext
8477
8478 done
8479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8480 rm -f conftest.i conftest.err conftest.$ac_ext
8481 if $ac_preproc_ok; then :
8482 break
8483 fi
8484
8485 done
8486 ac_cv_prog_CPP=$CPP
8487
8488 fi
8489 CPP=$ac_cv_prog_CPP
8490 else
8491 ac_cv_prog_CPP=$CPP
8492 fi
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8494 $as_echo "$CPP" >&6; }
8495 ac_preproc_ok=false
8496 for ac_c_preproc_warn_flag in '' yes
8497 do
8498 # Use a header file that comes with gcc, so configuring glibc
8499 # with a fresh cross-compiler works.
8500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8501 # <limits.h> exists even on freestanding compilers.
8502 # On the NeXT, cc -E runs the code through the compiler's parser,
8503 # not just through cpp. "Syntax error" is here to catch this case.
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 #ifdef __STDC__
8507 # include <limits.h>
8508 #else
8509 # include <assert.h>
8510 #endif
8511 Syntax error
8512 _ACEOF
8513 if ac_fn_c_try_cpp "$LINENO"; then :
8514
8515 else
8516 # Broken: fails on valid input.
8517 continue
8518 fi
8519 rm -f conftest.err conftest.i conftest.$ac_ext
8520
8521 # OK, works on sane cases. Now check whether nonexistent headers
8522 # can be detected and how.
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8525 #include <ac_nonexistent.h>
8526 _ACEOF
8527 if ac_fn_c_try_cpp "$LINENO"; then :
8528 # Broken: success on invalid input.
8529 continue
8530 else
8531 # Passes both tests.
8532 ac_preproc_ok=:
8533 break
8534 fi
8535 rm -f conftest.err conftest.i conftest.$ac_ext
8536
8537 done
8538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8539 rm -f conftest.i conftest.err conftest.$ac_ext
8540 if $ac_preproc_ok; then :
8541
8542 else
8543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8545 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8546 See \`config.log' for more details" "$LINENO" 5; }
8547 fi
8548
8549 ac_ext=c
8550 ac_cpp='$CPP $CPPFLAGS'
8551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8554
8555
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8557 $as_echo_n "checking for ANSI C header files... " >&6; }
8558 if ${ac_cv_header_stdc+:} false; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 #include <stdlib.h>
8564 #include <stdarg.h>
8565 #include <string.h>
8566 #include <float.h>
8567
8568 int
8569 main ()
8570 {
8571
8572 ;
8573 return 0;
8574 }
8575 _ACEOF
8576 if ac_fn_c_try_compile "$LINENO"; then :
8577 ac_cv_header_stdc=yes
8578 else
8579 ac_cv_header_stdc=no
8580 fi
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582
8583 if test $ac_cv_header_stdc = yes; then
8584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8587 #include <string.h>
8588
8589 _ACEOF
8590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8591 $EGREP "memchr" >/dev/null 2>&1; then :
8592
8593 else
8594 ac_cv_header_stdc=no
8595 fi
8596 rm -f conftest*
8597
8598 fi
8599
8600 if test $ac_cv_header_stdc = yes; then
8601 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8604 #include <stdlib.h>
8605
8606 _ACEOF
8607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8608 $EGREP "free" >/dev/null 2>&1; then :
8609
8610 else
8611 ac_cv_header_stdc=no
8612 fi
8613 rm -f conftest*
8614
8615 fi
8616
8617 if test $ac_cv_header_stdc = yes; then
8618 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8619 if test "$cross_compiling" = yes; then :
8620 :
8621 else
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 #include <ctype.h>
8625 #include <stdlib.h>
8626 #if ((' ' & 0x0FF) == 0x020)
8627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8628 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8629 #else
8630 # define ISLOWER(c) \
8631 (('a' <= (c) && (c) <= 'i') \
8632 || ('j' <= (c) && (c) <= 'r') \
8633 || ('s' <= (c) && (c) <= 'z'))
8634 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8635 #endif
8636
8637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8638 int
8639 main ()
8640 {
8641 int i;
8642 for (i = 0; i < 256; i++)
8643 if (XOR (islower (i), ISLOWER (i))
8644 || toupper (i) != TOUPPER (i))
8645 return 2;
8646 return 0;
8647 }
8648 _ACEOF
8649 if ac_fn_c_try_run "$LINENO"; then :
8650
8651 else
8652 ac_cv_header_stdc=no
8653 fi
8654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8655 conftest.$ac_objext conftest.beam conftest.$ac_ext
8656 fi
8657
8658 fi
8659 fi
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8661 $as_echo "$ac_cv_header_stdc" >&6; }
8662 if test $ac_cv_header_stdc = yes; then
8663
8664 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8665
8666 fi
8667
8668 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8669 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8670 inttypes.h stdint.h unistd.h
8671 do :
8672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8674 "
8675 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8676 cat >>confdefs.h <<_ACEOF
8677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8678 _ACEOF
8679
8680 fi
8681
8682 done
8683
8684
8685 for ac_header in dlfcn.h
8686 do :
8687 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8688 "
8689 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8690 cat >>confdefs.h <<_ACEOF
8691 #define HAVE_DLFCN_H 1
8692 _ACEOF
8693
8694 fi
8695
8696 done
8697
8698
8699
8700
8701
8702 # Set options
8703
8704
8705
8706 enable_dlopen=no
8707
8708
8709
8710 # Check whether --enable-shared was given.
8711 if test "${enable_shared+set}" = set; then :
8712 enableval=$enable_shared; p=${PACKAGE-default}
8713 case $enableval in
8714 yes) enable_shared=yes ;;
8715 no) enable_shared=no ;;
8716 *)
8717 enable_shared=no
8718 # Look at the argument we got. We use all the common list separators.
8719 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8720 for pkg in $enableval; do
8721 IFS=$lt_save_ifs
8722 if test "X$pkg" = "X$p"; then
8723 enable_shared=yes
8724 fi
8725 done
8726 IFS=$lt_save_ifs
8727 ;;
8728 esac
8729 else
8730 enable_shared=yes
8731 fi
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743 # Check whether --with-pic was given.
8744 if test "${with_pic+set}" = set; then :
8745 withval=$with_pic; lt_p=${PACKAGE-default}
8746 case $withval in
8747 yes|no) pic_mode=$withval ;;
8748 *)
8749 pic_mode=default
8750 # Look at the argument we got. We use all the common list separators.
8751 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8752 for lt_pkg in $withval; do
8753 IFS=$lt_save_ifs
8754 if test "X$lt_pkg" = "X$lt_p"; then
8755 pic_mode=yes
8756 fi
8757 done
8758 IFS=$lt_save_ifs
8759 ;;
8760 esac
8761 else
8762 pic_mode=default
8763 fi
8764
8765
8766
8767
8768
8769
8770
8771
8772 # Check whether --enable-fast-install was given.
8773 if test "${enable_fast_install+set}" = set; then :
8774 enableval=$enable_fast_install; p=${PACKAGE-default}
8775 case $enableval in
8776 yes) enable_fast_install=yes ;;
8777 no) enable_fast_install=no ;;
8778 *)
8779 enable_fast_install=no
8780 # Look at the argument we got. We use all the common list separators.
8781 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8782 for pkg in $enableval; do
8783 IFS=$lt_save_ifs
8784 if test "X$pkg" = "X$p"; then
8785 enable_fast_install=yes
8786 fi
8787 done
8788 IFS=$lt_save_ifs
8789 ;;
8790 esac
8791 else
8792 enable_fast_install=yes
8793 fi
8794
8795
8796
8797
8798
8799
8800
8801
8802 shared_archive_member_spec=
8803 case $host,$enable_shared in
8804 power*-*-aix[5-9]*,yes)
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8806 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8807
8808 # Check whether --with-aix-soname was given.
8809 if test "${with_aix_soname+set}" = set; then :
8810 withval=$with_aix_soname; case $withval in
8811 aix|svr4|both)
8812 ;;
8813 *)
8814 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8815 ;;
8816 esac
8817 lt_cv_with_aix_soname=$with_aix_soname
8818 else
8819 if ${lt_cv_with_aix_soname+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 lt_cv_with_aix_soname=aix
8823 fi
8824
8825 with_aix_soname=$lt_cv_with_aix_soname
8826 fi
8827
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8829 $as_echo "$with_aix_soname" >&6; }
8830 if test aix != "$with_aix_soname"; then
8831 # For the AIX way of multilib, we name the shared archive member
8832 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8833 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8834 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8835 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8836 if test 64 = "${OBJECT_MODE-32}"; then
8837 shared_archive_member_spec=shr_64
8838 else
8839 shared_archive_member_spec=shr
8840 fi
8841 fi
8842 ;;
8843 *)
8844 with_aix_soname=aix
8845 ;;
8846 esac
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857 # This can be used to rebuild libtool when needed
8858 LIBTOOL_DEPS=$ltmain
8859
8860 # Always use our own libtool.
8861 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892 test -z "$LN_S" && LN_S="ln -s"
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907 if test -n "${ZSH_VERSION+set}"; then
8908 setopt NO_GLOB_SUBST
8909 fi
8910
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8912 $as_echo_n "checking for objdir... " >&6; }
8913 if ${lt_cv_objdir+:} false; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 rm -f .libs 2>/dev/null
8917 mkdir .libs 2>/dev/null
8918 if test -d .libs; then
8919 lt_cv_objdir=.libs
8920 else
8921 # MS-DOS does not allow filenames that begin with a dot.
8922 lt_cv_objdir=_libs
8923 fi
8924 rmdir .libs 2>/dev/null
8925 fi
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8927 $as_echo "$lt_cv_objdir" >&6; }
8928 objdir=$lt_cv_objdir
8929
8930
8931
8932
8933
8934 cat >>confdefs.h <<_ACEOF
8935 #define LT_OBJDIR "$lt_cv_objdir/"
8936 _ACEOF
8937
8938
8939
8940
8941 case $host_os in
8942 aix3*)
8943 # AIX sometimes has problems with the GCC collect2 program. For some
8944 # reason, if we set the COLLECT_NAMES environment variable, the problems
8945 # vanish in a puff of smoke.
8946 if test set != "${COLLECT_NAMES+set}"; then
8947 COLLECT_NAMES=
8948 export COLLECT_NAMES
8949 fi
8950 ;;
8951 esac
8952
8953 # Global variables:
8954 ofile=libtool
8955 can_build_shared=yes
8956
8957 # All known linkers require a '.a' archive for static linking (except MSVC,
8958 # which needs '.lib').
8959 libext=a
8960
8961 with_gnu_ld=$lt_cv_prog_gnu_ld
8962
8963 old_CC=$CC
8964 old_CFLAGS=$CFLAGS
8965
8966 # Set sane defaults for various variables
8967 test -z "$CC" && CC=cc
8968 test -z "$LTCC" && LTCC=$CC
8969 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8970 test -z "$LD" && LD=ld
8971 test -z "$ac_objext" && ac_objext=o
8972
8973 func_cc_basename $compiler
8974 cc_basename=$func_cc_basename_result
8975
8976
8977 # Only perform the check for file, if the check method requires it
8978 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8979 case $deplibs_check_method in
8980 file_magic*)
8981 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8983 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8984 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 case $MAGIC_CMD in
8988 [\\/*] | ?:[\\/]*)
8989 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8990 ;;
8991 *)
8992 lt_save_MAGIC_CMD=$MAGIC_CMD
8993 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8994 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8995 for ac_dir in $ac_dummy; do
8996 IFS=$lt_save_ifs
8997 test -z "$ac_dir" && ac_dir=.
8998 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8999 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9000 if test -n "$file_magic_test_file"; then
9001 case $deplibs_check_method in
9002 "file_magic "*)
9003 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9004 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9005 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9006 $EGREP "$file_magic_regex" > /dev/null; then
9007 :
9008 else
9009 cat <<_LT_EOF 1>&2
9010
9011 *** Warning: the command libtool uses to detect shared libraries,
9012 *** $file_magic_cmd, produces output that libtool cannot recognize.
9013 *** The result is that libtool may fail to recognize shared libraries
9014 *** as such. This will affect the creation of libtool libraries that
9015 *** depend on shared libraries, but programs linked with such libtool
9016 *** libraries will work regardless of this problem. Nevertheless, you
9017 *** may want to report the problem to your system manager and/or to
9018 *** [email protected]
9019
9020 _LT_EOF
9021 fi ;;
9022 esac
9023 fi
9024 break
9025 fi
9026 done
9027 IFS=$lt_save_ifs
9028 MAGIC_CMD=$lt_save_MAGIC_CMD
9029 ;;
9030 esac
9031 fi
9032
9033 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9034 if test -n "$MAGIC_CMD"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9036 $as_echo "$MAGIC_CMD" >&6; }
9037 else
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9040 fi
9041
9042
9043
9044
9045
9046 if test -z "$lt_cv_path_MAGIC_CMD"; then
9047 if test -n "$ac_tool_prefix"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9049 $as_echo_n "checking for file... " >&6; }
9050 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9051 $as_echo_n "(cached) " >&6
9052 else
9053 case $MAGIC_CMD in
9054 [\\/*] | ?:[\\/]*)
9055 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9056 ;;
9057 *)
9058 lt_save_MAGIC_CMD=$MAGIC_CMD
9059 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9060 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9061 for ac_dir in $ac_dummy; do
9062 IFS=$lt_save_ifs
9063 test -z "$ac_dir" && ac_dir=.
9064 if test -f "$ac_dir/file"; then
9065 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9066 if test -n "$file_magic_test_file"; then
9067 case $deplibs_check_method in
9068 "file_magic "*)
9069 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9070 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9071 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9072 $EGREP "$file_magic_regex" > /dev/null; then
9073 :
9074 else
9075 cat <<_LT_EOF 1>&2
9076
9077 *** Warning: the command libtool uses to detect shared libraries,
9078 *** $file_magic_cmd, produces output that libtool cannot recognize.
9079 *** The result is that libtool may fail to recognize shared libraries
9080 *** as such. This will affect the creation of libtool libraries that
9081 *** depend on shared libraries, but programs linked with such libtool
9082 *** libraries will work regardless of this problem. Nevertheless, you
9083 *** may want to report the problem to your system manager and/or to
9084 *** [email protected]
9085
9086 _LT_EOF
9087 fi ;;
9088 esac
9089 fi
9090 break
9091 fi
9092 done
9093 IFS=$lt_save_ifs
9094 MAGIC_CMD=$lt_save_MAGIC_CMD
9095 ;;
9096 esac
9097 fi
9098
9099 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9100 if test -n "$MAGIC_CMD"; then
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9102 $as_echo "$MAGIC_CMD" >&6; }
9103 else
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9105 $as_echo "no" >&6; }
9106 fi
9107
9108
9109 else
9110 MAGIC_CMD=:
9111 fi
9112 fi
9113
9114 fi
9115 ;;
9116 esac
9117
9118 # Use C for the default configuration in the libtool script
9119
9120 lt_save_CC=$CC
9121 ac_ext=c
9122 ac_cpp='$CPP $CPPFLAGS'
9123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9126
9127
9128 # Source file extension for C test sources.
9129 ac_ext=c
9130
9131 # Object file extension for compiled C test sources.
9132 objext=o
9133 objext=$objext
9134
9135 # Code to be used in simple compile tests
9136 lt_simple_compile_test_code="int some_variable = 0;"
9137
9138 # Code to be used in simple link tests
9139 lt_simple_link_test_code='int main(){return(0);}'
9140
9141
9142
9143
9144
9145
9146
9147 # If no C compiler was specified, use CC.
9148 LTCC=${LTCC-"$CC"}
9149
9150 # If no C compiler flags were specified, use CFLAGS.
9151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9152
9153 # Allow CC to be a program name with arguments.
9154 compiler=$CC
9155
9156 # Save the default compiler, since it gets overwritten when the other
9157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9158 compiler_DEFAULT=$CC
9159
9160 # save warnings/boilerplate of simple test code
9161 ac_outfile=conftest.$ac_objext
9162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9164 _lt_compiler_boilerplate=`cat conftest.err`
9165 $RM conftest*
9166
9167 ac_outfile=conftest.$ac_objext
9168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9170 _lt_linker_boilerplate=`cat conftest.err`
9171 $RM -r conftest*
9172
9173
9174 ## CAVEAT EMPTOR:
9175 ## There is no encapsulation within the following macros, do not change
9176 ## the running order or otherwise move them around unless you know exactly
9177 ## what you are doing...
9178 if test -n "$compiler"; then
9179
9180 lt_prog_compiler_no_builtin_flag=
9181
9182 if test yes = "$GCC"; then
9183 case $cc_basename in
9184 nvcc*)
9185 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9186 *)
9187 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9188 esac
9189
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9191 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9192 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9193 $as_echo_n "(cached) " >&6
9194 else
9195 lt_cv_prog_compiler_rtti_exceptions=no
9196 ac_outfile=conftest.$ac_objext
9197 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9198 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9199 # Insert the option either (1) after the last *FLAGS variable, or
9200 # (2) before a word containing "conftest.", or (3) at the end.
9201 # Note that $ac_compile itself does not contain backslashes and begins
9202 # with a dollar sign (not a hyphen), so the echo should work correctly.
9203 # The option is referenced via a variable to avoid confusing sed.
9204 lt_compile=`echo "$ac_compile" | $SED \
9205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9207 -e 's:$: $lt_compiler_flag:'`
9208 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9209 (eval "$lt_compile" 2>conftest.err)
9210 ac_status=$?
9211 cat conftest.err >&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 if (exit $ac_status) && test -s "$ac_outfile"; then
9214 # The compiler can only warn and ignore the option if not recognized
9215 # So say no if there are warnings other than the usual output.
9216 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9217 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9218 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9219 lt_cv_prog_compiler_rtti_exceptions=yes
9220 fi
9221 fi
9222 $RM conftest*
9223
9224 fi
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9226 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9227
9228 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9229 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9230 else
9231 :
9232 fi
9233
9234 fi
9235
9236
9237
9238
9239
9240
9241 lt_prog_compiler_wl=
9242 lt_prog_compiler_pic=
9243 lt_prog_compiler_static=
9244
9245
9246 if test yes = "$GCC"; then
9247 lt_prog_compiler_wl='-Wl,'
9248 lt_prog_compiler_static='-static'
9249
9250 case $host_os in
9251 aix*)
9252 # All AIX code is PIC.
9253 if test ia64 = "$host_cpu"; then
9254 # AIX 5 now supports IA64 processor
9255 lt_prog_compiler_static='-Bstatic'
9256 fi
9257 lt_prog_compiler_pic='-fPIC'
9258 ;;
9259
9260 amigaos*)
9261 case $host_cpu in
9262 powerpc)
9263 # see comment about AmigaOS4 .so support
9264 lt_prog_compiler_pic='-fPIC'
9265 ;;
9266 m68k)
9267 # FIXME: we need at least 68020 code to build shared libraries, but
9268 # adding the '-m68020' flag to GCC prevents building anything better,
9269 # like '-m68040'.
9270 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9271 ;;
9272 esac
9273 ;;
9274
9275 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9276 # PIC is the default for these OSes.
9277 ;;
9278
9279 mingw* | cygwin* | pw32* | os2* | cegcc*)
9280 # This hack is so that the source file can tell whether it is being
9281 # built for inclusion in a dll (and should export symbols for example).
9282 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9283 # (--disable-auto-import) libraries
9284 lt_prog_compiler_pic='-DDLL_EXPORT'
9285 case $host_os in
9286 os2*)
9287 lt_prog_compiler_static='$wl-static'
9288 ;;
9289 esac
9290 ;;
9291
9292 darwin* | rhapsody*)
9293 # PIC is the default on this platform
9294 # Common symbols not allowed in MH_DYLIB files
9295 lt_prog_compiler_pic='-fno-common'
9296 ;;
9297
9298 haiku*)
9299 # PIC is the default for Haiku.
9300 # The "-static" flag exists, but is broken.
9301 lt_prog_compiler_static=
9302 ;;
9303
9304 hpux*)
9305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9307 # sets the default TLS model and affects inlining.
9308 case $host_cpu in
9309 hppa*64*)
9310 # +Z the default
9311 ;;
9312 *)
9313 lt_prog_compiler_pic='-fPIC'
9314 ;;
9315 esac
9316 ;;
9317
9318 interix[3-9]*)
9319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9320 # Instead, we relocate shared libraries at runtime.
9321 ;;
9322
9323 msdosdjgpp*)
9324 # Just because we use GCC doesn't mean we suddenly get shared libraries
9325 # on systems that don't support them.
9326 lt_prog_compiler_can_build_shared=no
9327 enable_shared=no
9328 ;;
9329
9330 *nto* | *qnx*)
9331 # QNX uses GNU C++, but need to define -shared option too, otherwise
9332 # it will coredump.
9333 lt_prog_compiler_pic='-fPIC -shared'
9334 ;;
9335
9336 sysv4*MP*)
9337 if test -d /usr/nec; then
9338 lt_prog_compiler_pic=-Kconform_pic
9339 fi
9340 ;;
9341
9342 *)
9343 lt_prog_compiler_pic='-fPIC'
9344 ;;
9345 esac
9346
9347 case $cc_basename in
9348 nvcc*) # Cuda Compiler Driver 2.2
9349 lt_prog_compiler_wl='-Xlinker '
9350 if test -n "$lt_prog_compiler_pic"; then
9351 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9352 fi
9353 ;;
9354 esac
9355 else
9356 # PORTME Check for flag to pass linker flags through the system compiler.
9357 case $host_os in
9358 aix*)
9359 lt_prog_compiler_wl='-Wl,'
9360 if test ia64 = "$host_cpu"; then
9361 # AIX 5 now supports IA64 processor
9362 lt_prog_compiler_static='-Bstatic'
9363 else
9364 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9365 fi
9366 ;;
9367
9368 darwin* | rhapsody*)
9369 # PIC is the default on this platform
9370 # Common symbols not allowed in MH_DYLIB files
9371 lt_prog_compiler_pic='-fno-common'
9372 case $cc_basename in
9373 nagfor*)
9374 # NAG Fortran compiler
9375 lt_prog_compiler_wl='-Wl,-Wl,,'
9376 lt_prog_compiler_pic='-PIC'
9377 lt_prog_compiler_static='-Bstatic'
9378 ;;
9379 esac
9380 ;;
9381
9382 mingw* | cygwin* | pw32* | os2* | cegcc*)
9383 # This hack is so that the source file can tell whether it is being
9384 # built for inclusion in a dll (and should export symbols for example).
9385 lt_prog_compiler_pic='-DDLL_EXPORT'
9386 case $host_os in
9387 os2*)
9388 lt_prog_compiler_static='$wl-static'
9389 ;;
9390 esac
9391 ;;
9392
9393 hpux9* | hpux10* | hpux11*)
9394 lt_prog_compiler_wl='-Wl,'
9395 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9396 # not for PA HP-UX.
9397 case $host_cpu in
9398 hppa*64*|ia64*)
9399 # +Z the default
9400 ;;
9401 *)
9402 lt_prog_compiler_pic='+Z'
9403 ;;
9404 esac
9405 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9406 lt_prog_compiler_static='$wl-a ${wl}archive'
9407 ;;
9408
9409 irix5* | irix6* | nonstopux*)
9410 lt_prog_compiler_wl='-Wl,'
9411 # PIC (with -KPIC) is the default.
9412 lt_prog_compiler_static='-non_shared'
9413 ;;
9414
9415 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9416 case $cc_basename in
9417 # old Intel for x86_64, which still supported -KPIC.
9418 ecc*)
9419 lt_prog_compiler_wl='-Wl,'
9420 lt_prog_compiler_pic='-KPIC'
9421 lt_prog_compiler_static='-static'
9422 ;;
9423 # icc used to be incompatible with GCC.
9424 # ICC 10 doesn't accept -KPIC any more.
9425 icc* | ifort*)
9426 lt_prog_compiler_wl='-Wl,'
9427 lt_prog_compiler_pic='-fPIC'
9428 lt_prog_compiler_static='-static'
9429 ;;
9430 # Lahey Fortran 8.1.
9431 lf95*)
9432 lt_prog_compiler_wl='-Wl,'
9433 lt_prog_compiler_pic='--shared'
9434 lt_prog_compiler_static='--static'
9435 ;;
9436 nagfor*)
9437 # NAG Fortran compiler
9438 lt_prog_compiler_wl='-Wl,-Wl,,'
9439 lt_prog_compiler_pic='-PIC'
9440 lt_prog_compiler_static='-Bstatic'
9441 ;;
9442 tcc*)
9443 # Fabrice Bellard et al's Tiny C Compiler
9444 lt_prog_compiler_wl='-Wl,'
9445 lt_prog_compiler_pic='-fPIC'
9446 lt_prog_compiler_static='-static'
9447 ;;
9448 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9449 # Portland Group compilers (*not* the Pentium gcc compiler,
9450 # which looks to be a dead project)
9451 lt_prog_compiler_wl='-Wl,'
9452 lt_prog_compiler_pic='-fpic'
9453 lt_prog_compiler_static='-Bstatic'
9454 ;;
9455 ccc*)
9456 lt_prog_compiler_wl='-Wl,'
9457 # All Alpha code is PIC.
9458 lt_prog_compiler_static='-non_shared'
9459 ;;
9460 xl* | bgxl* | bgf* | mpixl*)
9461 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9462 lt_prog_compiler_wl='-Wl,'
9463 lt_prog_compiler_pic='-qpic'
9464 lt_prog_compiler_static='-qstaticlink'
9465 ;;
9466 *)
9467 case `$CC -V 2>&1 | sed 5q` in
9468 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9469 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9470 lt_prog_compiler_pic='-KPIC'
9471 lt_prog_compiler_static='-Bstatic'
9472 lt_prog_compiler_wl=''
9473 ;;
9474 *Sun\ F* | *Sun*Fortran*)
9475 lt_prog_compiler_pic='-KPIC'
9476 lt_prog_compiler_static='-Bstatic'
9477 lt_prog_compiler_wl='-Qoption ld '
9478 ;;
9479 *Sun\ C*)
9480 # Sun C 5.9
9481 lt_prog_compiler_pic='-KPIC'
9482 lt_prog_compiler_static='-Bstatic'
9483 lt_prog_compiler_wl='-Wl,'
9484 ;;
9485 *Intel*\ [CF]*Compiler*)
9486 lt_prog_compiler_wl='-Wl,'
9487 lt_prog_compiler_pic='-fPIC'
9488 lt_prog_compiler_static='-static'
9489 ;;
9490 *Portland\ Group*)
9491 lt_prog_compiler_wl='-Wl,'
9492 lt_prog_compiler_pic='-fpic'
9493 lt_prog_compiler_static='-Bstatic'
9494 ;;
9495 esac
9496 ;;
9497 esac
9498 ;;
9499
9500 newsos6)
9501 lt_prog_compiler_pic='-KPIC'
9502 lt_prog_compiler_static='-Bstatic'
9503 ;;
9504
9505 *nto* | *qnx*)
9506 # QNX uses GNU C++, but need to define -shared option too, otherwise
9507 # it will coredump.
9508 lt_prog_compiler_pic='-fPIC -shared'
9509 ;;
9510
9511 osf3* | osf4* | osf5*)
9512 lt_prog_compiler_wl='-Wl,'
9513 # All OSF/1 code is PIC.
9514 lt_prog_compiler_static='-non_shared'
9515 ;;
9516
9517 rdos*)
9518 lt_prog_compiler_static='-non_shared'
9519 ;;
9520
9521 solaris*)
9522 lt_prog_compiler_pic='-KPIC'
9523 lt_prog_compiler_static='-Bstatic'
9524 case $cc_basename in
9525 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9526 lt_prog_compiler_wl='-Qoption ld ';;
9527 *)
9528 lt_prog_compiler_wl='-Wl,';;
9529 esac
9530 ;;
9531
9532 sunos4*)
9533 lt_prog_compiler_wl='-Qoption ld '
9534 lt_prog_compiler_pic='-PIC'
9535 lt_prog_compiler_static='-Bstatic'
9536 ;;
9537
9538 sysv4 | sysv4.2uw2* | sysv4.3*)
9539 lt_prog_compiler_wl='-Wl,'
9540 lt_prog_compiler_pic='-KPIC'
9541 lt_prog_compiler_static='-Bstatic'
9542 ;;
9543
9544 sysv4*MP*)
9545 if test -d /usr/nec; then
9546 lt_prog_compiler_pic='-Kconform_pic'
9547 lt_prog_compiler_static='-Bstatic'
9548 fi
9549 ;;
9550
9551 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9552 lt_prog_compiler_wl='-Wl,'
9553 lt_prog_compiler_pic='-KPIC'
9554 lt_prog_compiler_static='-Bstatic'
9555 ;;
9556
9557 unicos*)
9558 lt_prog_compiler_wl='-Wl,'
9559 lt_prog_compiler_can_build_shared=no
9560 ;;
9561
9562 uts4*)
9563 lt_prog_compiler_pic='-pic'
9564 lt_prog_compiler_static='-Bstatic'
9565 ;;
9566
9567 *)
9568 lt_prog_compiler_can_build_shared=no
9569 ;;
9570 esac
9571 fi
9572
9573 case $host_os in
9574 # For platforms that do not support PIC, -DPIC is meaningless:
9575 *djgpp*)
9576 lt_prog_compiler_pic=
9577 ;;
9578 *)
9579 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9580 ;;
9581 esac
9582
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9584 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9585 if ${lt_cv_prog_compiler_pic+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9589 fi
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9591 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9592 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9593
9594 #
9595 # Check to make sure the PIC flag actually works.
9596 #
9597 if test -n "$lt_prog_compiler_pic"; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9599 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9600 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9601 $as_echo_n "(cached) " >&6
9602 else
9603 lt_cv_prog_compiler_pic_works=no
9604 ac_outfile=conftest.$ac_objext
9605 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9606 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9607 # Insert the option either (1) after the last *FLAGS variable, or
9608 # (2) before a word containing "conftest.", or (3) at the end.
9609 # Note that $ac_compile itself does not contain backslashes and begins
9610 # with a dollar sign (not a hyphen), so the echo should work correctly.
9611 # The option is referenced via a variable to avoid confusing sed.
9612 lt_compile=`echo "$ac_compile" | $SED \
9613 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9614 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9615 -e 's:$: $lt_compiler_flag:'`
9616 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9617 (eval "$lt_compile" 2>conftest.err)
9618 ac_status=$?
9619 cat conftest.err >&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 if (exit $ac_status) && test -s "$ac_outfile"; then
9622 # The compiler can only warn and ignore the option if not recognized
9623 # So say no if there are warnings other than the usual output.
9624 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9625 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9626 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9627 lt_cv_prog_compiler_pic_works=yes
9628 fi
9629 fi
9630 $RM conftest*
9631
9632 fi
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9634 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9635
9636 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9637 case $lt_prog_compiler_pic in
9638 "" | " "*) ;;
9639 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9640 esac
9641 else
9642 lt_prog_compiler_pic=
9643 lt_prog_compiler_can_build_shared=no
9644 fi
9645
9646 fi
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658 #
9659 # Check to make sure the static flag actually works.
9660 #
9661 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9663 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9664 if ${lt_cv_prog_compiler_static_works+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 lt_cv_prog_compiler_static_works=no
9668 save_LDFLAGS=$LDFLAGS
9669 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9670 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9671 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9672 # The linker can only warn and ignore the option if not recognized
9673 # So say no if there are warnings
9674 if test -s conftest.err; then
9675 # Append any errors to the config.log.
9676 cat conftest.err 1>&5
9677 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9678 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9679 if diff conftest.exp conftest.er2 >/dev/null; then
9680 lt_cv_prog_compiler_static_works=yes
9681 fi
9682 else
9683 lt_cv_prog_compiler_static_works=yes
9684 fi
9685 fi
9686 $RM -r conftest*
9687 LDFLAGS=$save_LDFLAGS
9688
9689 fi
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9691 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9692
9693 if test yes = "$lt_cv_prog_compiler_static_works"; then
9694 :
9695 else
9696 lt_prog_compiler_static=
9697 fi
9698
9699
9700
9701
9702
9703
9704
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9706 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9707 if ${lt_cv_prog_compiler_c_o+:} false; then :
9708 $as_echo_n "(cached) " >&6
9709 else
9710 lt_cv_prog_compiler_c_o=no
9711 $RM -r conftest 2>/dev/null
9712 mkdir conftest
9713 cd conftest
9714 mkdir out
9715 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9716
9717 lt_compiler_flag="-o out/conftest2.$ac_objext"
9718 # Insert the option either (1) after the last *FLAGS variable, or
9719 # (2) before a word containing "conftest.", or (3) at the end.
9720 # Note that $ac_compile itself does not contain backslashes and begins
9721 # with a dollar sign (not a hyphen), so the echo should work correctly.
9722 lt_compile=`echo "$ac_compile" | $SED \
9723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9725 -e 's:$: $lt_compiler_flag:'`
9726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9727 (eval "$lt_compile" 2>out/conftest.err)
9728 ac_status=$?
9729 cat out/conftest.err >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9732 then
9733 # The compiler can only warn and ignore the option if not recognized
9734 # So say no if there are warnings
9735 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9736 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9737 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9738 lt_cv_prog_compiler_c_o=yes
9739 fi
9740 fi
9741 chmod u+w . 2>&5
9742 $RM conftest*
9743 # SGI C++ compiler will create directory out/ii_files/ for
9744 # template instantiation
9745 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9746 $RM out/* && rmdir out
9747 cd ..
9748 $RM -r conftest
9749 $RM conftest*
9750
9751 fi
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9753 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9754
9755
9756
9757
9758
9759
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9761 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9762 if ${lt_cv_prog_compiler_c_o+:} false; then :
9763 $as_echo_n "(cached) " >&6
9764 else
9765 lt_cv_prog_compiler_c_o=no
9766 $RM -r conftest 2>/dev/null
9767 mkdir conftest
9768 cd conftest
9769 mkdir out
9770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9771
9772 lt_compiler_flag="-o out/conftest2.$ac_objext"
9773 # Insert the option either (1) after the last *FLAGS variable, or
9774 # (2) before a word containing "conftest.", or (3) at the end.
9775 # Note that $ac_compile itself does not contain backslashes and begins
9776 # with a dollar sign (not a hyphen), so the echo should work correctly.
9777 lt_compile=`echo "$ac_compile" | $SED \
9778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9780 -e 's:$: $lt_compiler_flag:'`
9781 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9782 (eval "$lt_compile" 2>out/conftest.err)
9783 ac_status=$?
9784 cat out/conftest.err >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9787 then
9788 # The compiler can only warn and ignore the option if not recognized
9789 # So say no if there are warnings
9790 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9793 lt_cv_prog_compiler_c_o=yes
9794 fi
9795 fi
9796 chmod u+w . 2>&5
9797 $RM conftest*
9798 # SGI C++ compiler will create directory out/ii_files/ for
9799 # template instantiation
9800 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9801 $RM out/* && rmdir out
9802 cd ..
9803 $RM -r conftest
9804 $RM conftest*
9805
9806 fi
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9808 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9809
9810
9811
9812
9813 hard_links=nottested
9814 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9815 # do not overwrite the value of need_locks provided by the user
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9817 $as_echo_n "checking if we can lock with hard links... " >&6; }
9818 hard_links=yes
9819 $RM conftest*
9820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9821 touch conftest.a
9822 ln conftest.a conftest.b 2>&5 || hard_links=no
9823 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9825 $as_echo "$hard_links" >&6; }
9826 if test no = "$hard_links"; then
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9828 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9829 need_locks=warn
9830 fi
9831 else
9832 need_locks=no
9833 fi
9834
9835
9836
9837
9838
9839
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9841 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9842
9843 runpath_var=
9844 allow_undefined_flag=
9845 always_export_symbols=no
9846 archive_cmds=
9847 archive_expsym_cmds=
9848 compiler_needs_object=no
9849 enable_shared_with_static_runtimes=no
9850 export_dynamic_flag_spec=
9851 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9852 hardcode_automatic=no
9853 hardcode_direct=no
9854 hardcode_direct_absolute=no
9855 hardcode_libdir_flag_spec=
9856 hardcode_libdir_separator=
9857 hardcode_minus_L=no
9858 hardcode_shlibpath_var=unsupported
9859 inherit_rpath=no
9860 link_all_deplibs=unknown
9861 module_cmds=
9862 module_expsym_cmds=
9863 old_archive_from_new_cmds=
9864 old_archive_from_expsyms_cmds=
9865 thread_safe_flag_spec=
9866 whole_archive_flag_spec=
9867 # include_expsyms should be a list of space-separated symbols to be *always*
9868 # included in the symbol list
9869 include_expsyms=
9870 # exclude_expsyms can be an extended regexp of symbols to exclude
9871 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9872 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9873 # as well as any symbol that contains 'd'.
9874 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9875 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9876 # platforms (ab)use it in PIC code, but their linkers get confused if
9877 # the symbol is explicitly referenced. Since portable code cannot
9878 # rely on this symbol name, it's probably fine to never include it in
9879 # preloaded symbol tables.
9880 # Exclude shared library initialization/finalization symbols.
9881 extract_expsyms_cmds=
9882
9883 case $host_os in
9884 cygwin* | mingw* | pw32* | cegcc*)
9885 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9886 # When not using gcc, we currently assume that we are using
9887 # Microsoft Visual C++.
9888 if test yes != "$GCC"; then
9889 with_gnu_ld=no
9890 fi
9891 ;;
9892 interix*)
9893 # we just hope/assume this is gcc and not c89 (= MSVC++)
9894 with_gnu_ld=yes
9895 ;;
9896 openbsd* | bitrig*)
9897 with_gnu_ld=no
9898 ;;
9899 esac
9900
9901 ld_shlibs=yes
9902
9903 # On some targets, GNU ld is compatible enough with the native linker
9904 # that we're better off using the native interface for both.
9905 lt_use_gnu_ld_interface=no
9906 if test yes = "$with_gnu_ld"; then
9907 case $host_os in
9908 aix*)
9909 # The AIX port of GNU ld has always aspired to compatibility
9910 # with the native linker. However, as the warning in the GNU ld
9911 # block says, versions before 2.19.5* couldn't really create working
9912 # shared libraries, regardless of the interface used.
9913 case `$LD -v 2>&1` in
9914 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9915 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9916 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9917 *)
9918 lt_use_gnu_ld_interface=yes
9919 ;;
9920 esac
9921 ;;
9922 *)
9923 lt_use_gnu_ld_interface=yes
9924 ;;
9925 esac
9926 fi
9927
9928 if test yes = "$lt_use_gnu_ld_interface"; then
9929 # If archive_cmds runs LD, not CC, wlarc should be empty
9930 wlarc='$wl'
9931
9932 # Set some defaults for GNU ld with shared library support. These
9933 # are reset later if shared libraries are not supported. Putting them
9934 # here allows them to be overridden if necessary.
9935 runpath_var=LD_RUN_PATH
9936 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9937 export_dynamic_flag_spec='$wl--export-dynamic'
9938 # ancient GNU ld didn't support --whole-archive et. al.
9939 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9940 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9941 else
9942 whole_archive_flag_spec=
9943 fi
9944 supports_anon_versioning=no
9945 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9946 *GNU\ gold*) supports_anon_versioning=yes ;;
9947 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9948 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9949 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9950 *\ 2.11.*) ;; # other 2.11 versions
9951 *) supports_anon_versioning=yes ;;
9952 esac
9953
9954 # See if GNU ld supports shared libraries.
9955 case $host_os in
9956 aix[3-9]*)
9957 # On AIX/PPC, the GNU linker is very broken
9958 if test ia64 != "$host_cpu"; then
9959 ld_shlibs=no
9960 cat <<_LT_EOF 1>&2
9961
9962 *** Warning: the GNU linker, at least up to release 2.19, is reported
9963 *** to be unable to reliably create shared libraries on AIX.
9964 *** Therefore, libtool is disabling shared libraries support. If you
9965 *** really care for shared libraries, you may want to install binutils
9966 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9967 *** You will then need to restart the configuration process.
9968
9969 _LT_EOF
9970 fi
9971 ;;
9972
9973 amigaos*)
9974 case $host_cpu in
9975 powerpc)
9976 # see comment about AmigaOS4 .so support
9977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9978 archive_expsym_cmds=''
9979 ;;
9980 m68k)
9981 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)'
9982 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_minus_L=yes
9984 ;;
9985 esac
9986 ;;
9987
9988 beos*)
9989 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9990 allow_undefined_flag=unsupported
9991 # Joseph Beckenbach <[email protected]> says some releases of gcc
9992 # support --undefined. This deserves some investigation. FIXME
9993 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9994 else
9995 ld_shlibs=no
9996 fi
9997 ;;
9998
9999 cygwin* | mingw* | pw32* | cegcc*)
10000 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10001 # as there is no search path for DLLs.
10002 hardcode_libdir_flag_spec='-L$libdir'
10003 export_dynamic_flag_spec='$wl--export-all-symbols'
10004 allow_undefined_flag=unsupported
10005 always_export_symbols=no
10006 enable_shared_with_static_runtimes=yes
10007 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'
10008 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10009
10010 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10011 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10012 # If the export-symbols file already is a .def file, use it as
10013 # is; otherwise, prepend EXPORTS...
10014 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10015 cp $export_symbols $output_objdir/$soname.def;
10016 else
10017 echo EXPORTS > $output_objdir/$soname.def;
10018 cat $export_symbols >> $output_objdir/$soname.def;
10019 fi~
10020 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10021 else
10022 ld_shlibs=no
10023 fi
10024 ;;
10025
10026 haiku*)
10027 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10028 link_all_deplibs=yes
10029 ;;
10030
10031 os2*)
10032 hardcode_libdir_flag_spec='-L$libdir'
10033 hardcode_minus_L=yes
10034 allow_undefined_flag=unsupported
10035 shrext_cmds=.dll
10036 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10037 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10038 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10039 $ECHO EXPORTS >> $output_objdir/$libname.def~
10040 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10041 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10042 emximp -o $lib $output_objdir/$libname.def'
10043 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10044 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10045 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10046 $ECHO EXPORTS >> $output_objdir/$libname.def~
10047 prefix_cmds="$SED"~
10048 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10049 prefix_cmds="$prefix_cmds -e 1d";
10050 fi~
10051 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10052 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10053 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10054 emximp -o $lib $output_objdir/$libname.def'
10055 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10056 enable_shared_with_static_runtimes=yes
10057 ;;
10058
10059 interix[3-9]*)
10060 hardcode_direct=no
10061 hardcode_shlibpath_var=no
10062 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10063 export_dynamic_flag_spec='$wl-E'
10064 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10065 # Instead, shared libraries are loaded at an image base (0x10000000 by
10066 # default) and relocated if they conflict, which is a slow very memory
10067 # consuming and fragmenting process. To avoid this, we pick a random,
10068 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10069 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10070 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10071 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'
10072 ;;
10073
10074 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10075 tmp_diet=no
10076 if test linux-dietlibc = "$host_os"; then
10077 case $cc_basename in
10078 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10079 esac
10080 fi
10081 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10082 && test no = "$tmp_diet"
10083 then
10084 tmp_addflag=' $pic_flag'
10085 tmp_sharedflag='-shared'
10086 case $cc_basename,$host_cpu in
10087 pgcc*) # Portland Group C compiler
10088 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'
10089 tmp_addflag=' $pic_flag'
10090 ;;
10091 pgf77* | pgf90* | pgf95* | pgfortran*)
10092 # Portland Group f77 and f90 compilers
10093 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'
10094 tmp_addflag=' $pic_flag -Mnomain' ;;
10095 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10096 tmp_addflag=' -i_dynamic' ;;
10097 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10098 tmp_addflag=' -i_dynamic -nofor_main' ;;
10099 ifc* | ifort*) # Intel Fortran compiler
10100 tmp_addflag=' -nofor_main' ;;
10101 lf95*) # Lahey Fortran 8.1
10102 whole_archive_flag_spec=
10103 tmp_sharedflag='--shared' ;;
10104 nagfor*) # NAGFOR 5.3
10105 tmp_sharedflag='-Wl,-shared' ;;
10106 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10107 tmp_sharedflag='-qmkshrobj'
10108 tmp_addflag= ;;
10109 nvcc*) # Cuda Compiler Driver 2.2
10110 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'
10111 compiler_needs_object=yes
10112 ;;
10113 esac
10114 case `$CC -V 2>&1 | sed 5q` in
10115 *Sun\ C*) # Sun C 5.9
10116 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'
10117 compiler_needs_object=yes
10118 tmp_sharedflag='-G' ;;
10119 *Sun\ F*) # Sun Fortran 8.3
10120 tmp_sharedflag='-G' ;;
10121 esac
10122 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10123
10124 if test yes = "$supports_anon_versioning"; then
10125 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10126 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10127 echo "local: *; };" >> $output_objdir/$libname.ver~
10128 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10129 fi
10130
10131 case $cc_basename in
10132 tcc*)
10133 export_dynamic_flag_spec='-rdynamic'
10134 ;;
10135 xlf* | bgf* | bgxlf* | mpixlf*)
10136 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10137 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10138 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10139 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10140 if test yes = "$supports_anon_versioning"; then
10141 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10142 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10143 echo "local: *; };" >> $output_objdir/$libname.ver~
10144 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10145 fi
10146 ;;
10147 esac
10148 else
10149 ld_shlibs=no
10150 fi
10151 ;;
10152
10153 netbsd*)
10154 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10155 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10156 wlarc=
10157 else
10158 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10159 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10160 fi
10161 ;;
10162
10163 solaris*)
10164 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10165 ld_shlibs=no
10166 cat <<_LT_EOF 1>&2
10167
10168 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10169 *** create shared libraries on Solaris systems. Therefore, libtool
10170 *** is disabling shared libraries support. We urge you to upgrade GNU
10171 *** binutils to release 2.9.1 or newer. Another option is to modify
10172 *** your PATH or compiler configuration so that the native linker is
10173 *** used, and then restart.
10174
10175 _LT_EOF
10176 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10177 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10178 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10179 else
10180 ld_shlibs=no
10181 fi
10182 ;;
10183
10184 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10185 case `$LD -v 2>&1` in
10186 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10187 ld_shlibs=no
10188 cat <<_LT_EOF 1>&2
10189
10190 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10191 *** reliably create shared libraries on SCO systems. Therefore, libtool
10192 *** is disabling shared libraries support. We urge you to upgrade GNU
10193 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10194 *** your PATH or compiler configuration so that the native linker is
10195 *** used, and then restart.
10196
10197 _LT_EOF
10198 ;;
10199 *)
10200 # For security reasons, it is highly recommended that you always
10201 # use absolute paths for naming shared libraries, and exclude the
10202 # DT_RUNPATH tag from executables and libraries. But doing so
10203 # requires that you compile everything twice, which is a pain.
10204 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10205 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10207 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10208 else
10209 ld_shlibs=no
10210 fi
10211 ;;
10212 esac
10213 ;;
10214
10215 sunos4*)
10216 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10217 wlarc=
10218 hardcode_direct=yes
10219 hardcode_shlibpath_var=no
10220 ;;
10221
10222 *)
10223 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10224 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10225 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10226 else
10227 ld_shlibs=no
10228 fi
10229 ;;
10230 esac
10231
10232 if test no = "$ld_shlibs"; then
10233 runpath_var=
10234 hardcode_libdir_flag_spec=
10235 export_dynamic_flag_spec=
10236 whole_archive_flag_spec=
10237 fi
10238 else
10239 # PORTME fill in a description of your system's linker (not GNU ld)
10240 case $host_os in
10241 aix3*)
10242 allow_undefined_flag=unsupported
10243 always_export_symbols=yes
10244 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'
10245 # Note: this linker hardcodes the directories in LIBPATH if there
10246 # are no directories specified by -L.
10247 hardcode_minus_L=yes
10248 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10249 # Neither direct hardcoding nor static linking is supported with a
10250 # broken collect2.
10251 hardcode_direct=unsupported
10252 fi
10253 ;;
10254
10255 aix[4-9]*)
10256 if test ia64 = "$host_cpu"; then
10257 # On IA64, the linker does run time linking by default, so we don't
10258 # have to do anything special.
10259 aix_use_runtimelinking=no
10260 exp_sym_flag='-Bexport'
10261 no_entry_flag=
10262 else
10263 # If we're using GNU nm, then we don't want the "-C" option.
10264 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10265 # Without the "-l" option, or with the "-B" option, AIX nm treats
10266 # weak defined symbols like other global defined symbols, whereas
10267 # GNU nm marks them as "W".
10268 # While the 'weak' keyword is ignored in the Export File, we need
10269 # it in the Import File for the 'aix-soname' feature, so we have
10270 # to replace the "-B" option with "-P" for AIX nm.
10271 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10272 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'
10273 else
10274 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'
10275 fi
10276 aix_use_runtimelinking=no
10277
10278 # Test if we are trying to use run time linking or normal
10279 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10280 # have runtime linking enabled, and use it for executables.
10281 # For shared libraries, we enable/disable runtime linking
10282 # depending on the kind of the shared library created -
10283 # when "with_aix_soname,aix_use_runtimelinking" is:
10284 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10285 # "aix,yes" lib.so shared, rtl:yes, for executables
10286 # lib.a static archive
10287 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10288 # lib.a(lib.so.V) shared, rtl:no, for executables
10289 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10290 # lib.a(lib.so.V) shared, rtl:no
10291 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10292 # lib.a static archive
10293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10294 for ld_flag in $LDFLAGS; do
10295 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10296 aix_use_runtimelinking=yes
10297 break
10298 fi
10299 done
10300 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10301 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10302 # so we don't have lib.a shared libs to link our executables.
10303 # We have to force runtime linking in this case.
10304 aix_use_runtimelinking=yes
10305 LDFLAGS="$LDFLAGS -Wl,-brtl"
10306 fi
10307 ;;
10308 esac
10309
10310 exp_sym_flag='-bexport'
10311 no_entry_flag='-bnoentry'
10312 fi
10313
10314 # When large executables or shared objects are built, AIX ld can
10315 # have problems creating the table of contents. If linking a library
10316 # or program results in "error TOC overflow" add -mminimal-toc to
10317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10319
10320 archive_cmds=''
10321 hardcode_direct=yes
10322 hardcode_direct_absolute=yes
10323 hardcode_libdir_separator=':'
10324 link_all_deplibs=yes
10325 file_list_spec='$wl-f,'
10326 case $with_aix_soname,$aix_use_runtimelinking in
10327 aix,*) ;; # traditional, no import file
10328 svr4,* | *,yes) # use import file
10329 # The Import File defines what to hardcode.
10330 hardcode_direct=no
10331 hardcode_direct_absolute=no
10332 ;;
10333 esac
10334
10335 if test yes = "$GCC"; then
10336 case $host_os in aix4.[012]|aix4.[012].*)
10337 # We only want to do this on AIX 4.2 and lower, the check
10338 # below for broken collect2 doesn't work under 4.3+
10339 collect2name=`$CC -print-prog-name=collect2`
10340 if test -f "$collect2name" &&
10341 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10342 then
10343 # We have reworked collect2
10344 :
10345 else
10346 # We have old collect2
10347 hardcode_direct=unsupported
10348 # It fails to find uninstalled libraries when the uninstalled
10349 # path is not listed in the libpath. Setting hardcode_minus_L
10350 # to unsupported forces relinking
10351 hardcode_minus_L=yes
10352 hardcode_libdir_flag_spec='-L$libdir'
10353 hardcode_libdir_separator=
10354 fi
10355 ;;
10356 esac
10357 shared_flag='-shared'
10358 if test yes = "$aix_use_runtimelinking"; then
10359 shared_flag="$shared_flag "'$wl-G'
10360 fi
10361 # Need to ensure runtime linking is disabled for the traditional
10362 # shared library, or the linker may eventually find shared libraries
10363 # /with/ Import File - we do not want to mix them.
10364 shared_flag_aix='-shared'
10365 shared_flag_svr4='-shared $wl-G'
10366 else
10367 # not using gcc
10368 if test ia64 = "$host_cpu"; then
10369 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10370 # chokes on -Wl,-G. The following line is correct:
10371 shared_flag='-G'
10372 else
10373 if test yes = "$aix_use_runtimelinking"; then
10374 shared_flag='$wl-G'
10375 else
10376 shared_flag='$wl-bM:SRE'
10377 fi
10378 shared_flag_aix='$wl-bM:SRE'
10379 shared_flag_svr4='$wl-G'
10380 fi
10381 fi
10382
10383 export_dynamic_flag_spec='$wl-bexpall'
10384 # It seems that -bexpall does not export symbols beginning with
10385 # underscore (_), so it is better to generate a list of symbols to export.
10386 always_export_symbols=yes
10387 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10388 # Warning - without using the other runtime loading flags (-brtl),
10389 # -berok will link without error, but may produce a broken library.
10390 allow_undefined_flag='-berok'
10391 # Determine the default libpath from the value encoded in an
10392 # empty executable.
10393 if test set = "${lt_cv_aix_libpath+set}"; then
10394 aix_libpath=$lt_cv_aix_libpath
10395 else
10396 if ${lt_cv_aix_libpath_+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398 else
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10401
10402 int
10403 main ()
10404 {
10405
10406 ;
10407 return 0;
10408 }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411
10412 lt_aix_libpath_sed='
10413 /Import File Strings/,/^$/ {
10414 /^0/ {
10415 s/^0 *\([^ ]*\) *$/\1/
10416 p
10417 }
10418 }'
10419 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10420 # Check for a 64-bit object if we didn't find anything.
10421 if test -z "$lt_cv_aix_libpath_"; then
10422 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10423 fi
10424 fi
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 if test -z "$lt_cv_aix_libpath_"; then
10428 lt_cv_aix_libpath_=/usr/lib:/lib
10429 fi
10430
10431 fi
10432
10433 aix_libpath=$lt_cv_aix_libpath_
10434 fi
10435
10436 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10437 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
10438 else
10439 if test ia64 = "$host_cpu"; then
10440 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10441 allow_undefined_flag="-z nodefs"
10442 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"
10443 else
10444 # Determine the default libpath from the value encoded in an
10445 # empty executable.
10446 if test set = "${lt_cv_aix_libpath+set}"; then
10447 aix_libpath=$lt_cv_aix_libpath
10448 else
10449 if ${lt_cv_aix_libpath_+:} false; then :
10450 $as_echo_n "(cached) " >&6
10451 else
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10454
10455 int
10456 main ()
10457 {
10458
10459 ;
10460 return 0;
10461 }
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464
10465 lt_aix_libpath_sed='
10466 /Import File Strings/,/^$/ {
10467 /^0/ {
10468 s/^0 *\([^ ]*\) *$/\1/
10469 p
10470 }
10471 }'
10472 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10473 # Check for a 64-bit object if we didn't find anything.
10474 if test -z "$lt_cv_aix_libpath_"; then
10475 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10476 fi
10477 fi
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 if test -z "$lt_cv_aix_libpath_"; then
10481 lt_cv_aix_libpath_=/usr/lib:/lib
10482 fi
10483
10484 fi
10485
10486 aix_libpath=$lt_cv_aix_libpath_
10487 fi
10488
10489 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10490 # Warning - without using the other run time loading flags,
10491 # -berok will link without error, but may produce a broken library.
10492 no_undefined_flag=' $wl-bernotok'
10493 allow_undefined_flag=' $wl-berok'
10494 if test yes = "$with_gnu_ld"; then
10495 # We only use this code for GNU lds that support --whole-archive.
10496 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10497 else
10498 # Exported symbols can be pulled into shared objects from archives
10499 whole_archive_flag_spec='$convenience'
10500 fi
10501 archive_cmds_need_lc=yes
10502 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10503 # -brtl affects multiple linker settings, -berok does not and is overridden later
10504 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10505 if test svr4 != "$with_aix_soname"; then
10506 # This is similar to how AIX traditionally builds its shared libraries.
10507 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'
10508 fi
10509 if test aix != "$with_aix_soname"; then
10510 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'
10511 else
10512 # used by -dlpreopen to get the symbols
10513 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10514 fi
10515 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10516 fi
10517 fi
10518 ;;
10519
10520 amigaos*)
10521 case $host_cpu in
10522 powerpc)
10523 # see comment about AmigaOS4 .so support
10524 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10525 archive_expsym_cmds=''
10526 ;;
10527 m68k)
10528 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)'
10529 hardcode_libdir_flag_spec='-L$libdir'
10530 hardcode_minus_L=yes
10531 ;;
10532 esac
10533 ;;
10534
10535 bsdi[45]*)
10536 export_dynamic_flag_spec=-rdynamic
10537 ;;
10538
10539 cygwin* | mingw* | pw32* | cegcc*)
10540 # When not using gcc, we currently assume that we are using
10541 # Microsoft Visual C++.
10542 # hardcode_libdir_flag_spec is actually meaningless, as there is
10543 # no search path for DLLs.
10544 case $cc_basename in
10545 cl*)
10546 # Native MSVC
10547 hardcode_libdir_flag_spec=' '
10548 allow_undefined_flag=unsupported
10549 always_export_symbols=yes
10550 file_list_spec='@'
10551 # Tell ltmain to make .lib files, not .a files.
10552 libext=lib
10553 # Tell ltmain to make .dll files, not .so files.
10554 shrext_cmds=.dll
10555 # FIXME: Setting linknames here is a bad hack.
10556 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10557 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10558 cp "$export_symbols" "$output_objdir/$soname.def";
10559 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10560 else
10561 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10562 fi~
10563 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10564 linknames='
10565 # The linker will not automatically build a static lib if we build a DLL.
10566 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10567 enable_shared_with_static_runtimes=yes
10568 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10569 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10570 # Don't use ranlib
10571 old_postinstall_cmds='chmod 644 $oldlib'
10572 postlink_cmds='lt_outputfile="@OUTPUT@"~
10573 lt_tool_outputfile="@TOOL_OUTPUT@"~
10574 case $lt_outputfile in
10575 *.exe|*.EXE) ;;
10576 *)
10577 lt_outputfile=$lt_outputfile.exe
10578 lt_tool_outputfile=$lt_tool_outputfile.exe
10579 ;;
10580 esac~
10581 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10582 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10583 $RM "$lt_outputfile.manifest";
10584 fi'
10585 ;;
10586 *)
10587 # Assume MSVC wrapper
10588 hardcode_libdir_flag_spec=' '
10589 allow_undefined_flag=unsupported
10590 # Tell ltmain to make .lib files, not .a files.
10591 libext=lib
10592 # Tell ltmain to make .dll files, not .so files.
10593 shrext_cmds=.dll
10594 # FIXME: Setting linknames here is a bad hack.
10595 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10596 # The linker will automatically build a .lib file if we build a DLL.
10597 old_archive_from_new_cmds='true'
10598 # FIXME: Should let the user specify the lib program.
10599 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10600 enable_shared_with_static_runtimes=yes
10601 ;;
10602 esac
10603 ;;
10604
10605 darwin* | rhapsody*)
10606
10607
10608 archive_cmds_need_lc=no
10609 hardcode_direct=no
10610 hardcode_automatic=yes
10611 hardcode_shlibpath_var=unsupported
10612 if test yes = "$lt_cv_ld_force_load"; then
10613 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\"`'
10614
10615 else
10616 whole_archive_flag_spec=''
10617 fi
10618 link_all_deplibs=yes
10619 allow_undefined_flag=$_lt_dar_allow_undefined
10620 case $cc_basename in
10621 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10622 *) _lt_dar_can_shared=$GCC ;;
10623 esac
10624 if test yes = "$_lt_dar_can_shared"; then
10625 output_verbose_link_cmd=func_echo_all
10626 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10627 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10628 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"
10629 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"
10630
10631 else
10632 ld_shlibs=no
10633 fi
10634
10635 ;;
10636
10637 dgux*)
10638 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10639 hardcode_libdir_flag_spec='-L$libdir'
10640 hardcode_shlibpath_var=no
10641 ;;
10642
10643 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10644 # support. Future versions do this automatically, but an explicit c++rt0.o
10645 # does not break anything, and helps significantly (at the cost of a little
10646 # extra space).
10647 freebsd2.2*)
10648 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10649 hardcode_libdir_flag_spec='-R$libdir'
10650 hardcode_direct=yes
10651 hardcode_shlibpath_var=no
10652 ;;
10653
10654 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10655 freebsd2.*)
10656 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10657 hardcode_direct=yes
10658 hardcode_minus_L=yes
10659 hardcode_shlibpath_var=no
10660 ;;
10661
10662 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10663 freebsd* | dragonfly*)
10664 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10665 hardcode_libdir_flag_spec='-R$libdir'
10666 hardcode_direct=yes
10667 hardcode_shlibpath_var=no
10668 ;;
10669
10670 hpux9*)
10671 if test yes = "$GCC"; then
10672 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'
10673 else
10674 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'
10675 fi
10676 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10677 hardcode_libdir_separator=:
10678 hardcode_direct=yes
10679
10680 # hardcode_minus_L: Not really in the search PATH,
10681 # but as the default location of the library.
10682 hardcode_minus_L=yes
10683 export_dynamic_flag_spec='$wl-E'
10684 ;;
10685
10686 hpux10*)
10687 if test yes,no = "$GCC,$with_gnu_ld"; then
10688 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10689 else
10690 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10691 fi
10692 if test no = "$with_gnu_ld"; then
10693 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10694 hardcode_libdir_separator=:
10695 hardcode_direct=yes
10696 hardcode_direct_absolute=yes
10697 export_dynamic_flag_spec='$wl-E'
10698 # hardcode_minus_L: Not really in the search PATH,
10699 # but as the default location of the library.
10700 hardcode_minus_L=yes
10701 fi
10702 ;;
10703
10704 hpux11*)
10705 if test yes,no = "$GCC,$with_gnu_ld"; then
10706 case $host_cpu in
10707 hppa*64*)
10708 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 ;;
10710 ia64*)
10711 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10712 ;;
10713 *)
10714 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10715 ;;
10716 esac
10717 else
10718 case $host_cpu in
10719 hppa*64*)
10720 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10721 ;;
10722 ia64*)
10723 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10724 ;;
10725 *)
10726
10727 # Older versions of the 11.00 compiler do not understand -b yet
10728 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10730 $as_echo_n "checking if $CC understands -b... " >&6; }
10731 if ${lt_cv_prog_compiler__b+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 lt_cv_prog_compiler__b=no
10735 save_LDFLAGS=$LDFLAGS
10736 LDFLAGS="$LDFLAGS -b"
10737 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10738 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10739 # The linker can only warn and ignore the option if not recognized
10740 # So say no if there are warnings
10741 if test -s conftest.err; then
10742 # Append any errors to the config.log.
10743 cat conftest.err 1>&5
10744 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10745 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10746 if diff conftest.exp conftest.er2 >/dev/null; then
10747 lt_cv_prog_compiler__b=yes
10748 fi
10749 else
10750 lt_cv_prog_compiler__b=yes
10751 fi
10752 fi
10753 $RM -r conftest*
10754 LDFLAGS=$save_LDFLAGS
10755
10756 fi
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10758 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10759
10760 if test yes = "$lt_cv_prog_compiler__b"; then
10761 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10762 else
10763 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10764 fi
10765
10766 ;;
10767 esac
10768 fi
10769 if test no = "$with_gnu_ld"; then
10770 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10771 hardcode_libdir_separator=:
10772
10773 case $host_cpu in
10774 hppa*64*|ia64*)
10775 hardcode_direct=no
10776 hardcode_shlibpath_var=no
10777 ;;
10778 *)
10779 hardcode_direct=yes
10780 hardcode_direct_absolute=yes
10781 export_dynamic_flag_spec='$wl-E'
10782
10783 # hardcode_minus_L: Not really in the search PATH,
10784 # but as the default location of the library.
10785 hardcode_minus_L=yes
10786 ;;
10787 esac
10788 fi
10789 ;;
10790
10791 irix5* | irix6* | nonstopux*)
10792 if test yes = "$GCC"; then
10793 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'
10794 # Try to use the -exported_symbol ld option, if it does not
10795 # work, assume that -exports_file does not work either and
10796 # implicitly export all symbols.
10797 # This should be the same for all languages, so no per-tag cache variable.
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10799 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10800 if ${lt_cv_irix_exported_symbol+:} false; then :
10801 $as_echo_n "(cached) " >&6
10802 else
10803 save_LDFLAGS=$LDFLAGS
10804 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10807 int foo (void) { return 0; }
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 lt_cv_irix_exported_symbol=yes
10811 else
10812 lt_cv_irix_exported_symbol=no
10813 fi
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LDFLAGS=$save_LDFLAGS
10817 fi
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10819 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10820 if test yes = "$lt_cv_irix_exported_symbol"; then
10821 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'
10822 fi
10823 else
10824 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'
10825 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'
10826 fi
10827 archive_cmds_need_lc='no'
10828 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10829 hardcode_libdir_separator=:
10830 inherit_rpath=yes
10831 link_all_deplibs=yes
10832 ;;
10833
10834 linux*)
10835 case $cc_basename in
10836 tcc*)
10837 # Fabrice Bellard et al's Tiny C Compiler
10838 ld_shlibs=yes
10839 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10840 ;;
10841 esac
10842 ;;
10843
10844 netbsd*)
10845 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10846 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10847 else
10848 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10849 fi
10850 hardcode_libdir_flag_spec='-R$libdir'
10851 hardcode_direct=yes
10852 hardcode_shlibpath_var=no
10853 ;;
10854
10855 newsos6)
10856 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10857 hardcode_direct=yes
10858 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10859 hardcode_libdir_separator=:
10860 hardcode_shlibpath_var=no
10861 ;;
10862
10863 *nto* | *qnx*)
10864 ;;
10865
10866 openbsd* | bitrig*)
10867 if test -f /usr/libexec/ld.so; then
10868 hardcode_direct=yes
10869 hardcode_shlibpath_var=no
10870 hardcode_direct_absolute=yes
10871 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10872 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10873 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10874 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10875 export_dynamic_flag_spec='$wl-E'
10876 else
10877 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10878 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10879 fi
10880 else
10881 ld_shlibs=no
10882 fi
10883 ;;
10884
10885 os2*)
10886 hardcode_libdir_flag_spec='-L$libdir'
10887 hardcode_minus_L=yes
10888 allow_undefined_flag=unsupported
10889 shrext_cmds=.dll
10890 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10891 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10892 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10893 $ECHO EXPORTS >> $output_objdir/$libname.def~
10894 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10895 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10896 emximp -o $lib $output_objdir/$libname.def'
10897 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10898 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10899 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10900 $ECHO EXPORTS >> $output_objdir/$libname.def~
10901 prefix_cmds="$SED"~
10902 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10903 prefix_cmds="$prefix_cmds -e 1d";
10904 fi~
10905 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10906 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10907 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10908 emximp -o $lib $output_objdir/$libname.def'
10909 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10910 enable_shared_with_static_runtimes=yes
10911 ;;
10912
10913 osf3*)
10914 if test yes = "$GCC"; then
10915 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10916 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'
10917 else
10918 allow_undefined_flag=' -expect_unresolved \*'
10919 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'
10920 fi
10921 archive_cmds_need_lc='no'
10922 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10923 hardcode_libdir_separator=:
10924 ;;
10925
10926 osf4* | osf5*) # as osf3* with the addition of -msym flag
10927 if test yes = "$GCC"; then
10928 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10929 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'
10930 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10931 else
10932 allow_undefined_flag=' -expect_unresolved \*'
10933 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'
10934 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~
10935 $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'
10936
10937 # Both c and cxx compiler support -rpath directly
10938 hardcode_libdir_flag_spec='-rpath $libdir'
10939 fi
10940 archive_cmds_need_lc='no'
10941 hardcode_libdir_separator=:
10942 ;;
10943
10944 solaris*)
10945 no_undefined_flag=' -z defs'
10946 if test yes = "$GCC"; then
10947 wlarc='$wl'
10948 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10950 $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'
10951 else
10952 case `$CC -V 2>&1` in
10953 *"Compilers 5.0"*)
10954 wlarc=''
10955 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10956 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10957 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10958 ;;
10959 *)
10960 wlarc='$wl'
10961 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10962 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10963 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10964 ;;
10965 esac
10966 fi
10967 hardcode_libdir_flag_spec='-R$libdir'
10968 hardcode_shlibpath_var=no
10969 case $host_os in
10970 solaris2.[0-5] | solaris2.[0-5].*) ;;
10971 *)
10972 # The compiler driver will combine and reorder linker options,
10973 # but understands '-z linker_flag'. GCC discards it without '$wl',
10974 # but is careful enough not to reorder.
10975 # Supported since Solaris 2.6 (maybe 2.5.1?)
10976 if test yes = "$GCC"; then
10977 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10978 else
10979 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10980 fi
10981 ;;
10982 esac
10983 link_all_deplibs=yes
10984 ;;
10985
10986 sunos4*)
10987 if test sequent = "$host_vendor"; then
10988 # Use $CC to link under sequent, because it throws in some extra .o
10989 # files that make .init and .fini sections work.
10990 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10991 else
10992 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10993 fi
10994 hardcode_libdir_flag_spec='-L$libdir'
10995 hardcode_direct=yes
10996 hardcode_minus_L=yes
10997 hardcode_shlibpath_var=no
10998 ;;
10999
11000 sysv4)
11001 case $host_vendor in
11002 sni)
11003 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11004 hardcode_direct=yes # is this really true???
11005 ;;
11006 siemens)
11007 ## LD is ld it makes a PLAMLIB
11008 ## CC just makes a GrossModule.
11009 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11010 reload_cmds='$CC -r -o $output$reload_objs'
11011 hardcode_direct=no
11012 ;;
11013 motorola)
11014 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11015 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11016 ;;
11017 esac
11018 runpath_var='LD_RUN_PATH'
11019 hardcode_shlibpath_var=no
11020 ;;
11021
11022 sysv4.3*)
11023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11024 hardcode_shlibpath_var=no
11025 export_dynamic_flag_spec='-Bexport'
11026 ;;
11027
11028 sysv4*MP*)
11029 if test -d /usr/nec; then
11030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11031 hardcode_shlibpath_var=no
11032 runpath_var=LD_RUN_PATH
11033 hardcode_runpath_var=yes
11034 ld_shlibs=yes
11035 fi
11036 ;;
11037
11038 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11039 no_undefined_flag='$wl-z,text'
11040 archive_cmds_need_lc=no
11041 hardcode_shlibpath_var=no
11042 runpath_var='LD_RUN_PATH'
11043
11044 if test yes = "$GCC"; then
11045 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11046 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11047 else
11048 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11049 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11050 fi
11051 ;;
11052
11053 sysv5* | sco3.2v5* | sco5v6*)
11054 # Note: We CANNOT use -z defs as we might desire, because we do not
11055 # link with -lc, and that would cause any symbols used from libc to
11056 # always be unresolved, which means just about no library would
11057 # ever link correctly. If we're not using GNU ld we use -z text
11058 # though, which does catch some bad symbols but isn't as heavy-handed
11059 # as -z defs.
11060 no_undefined_flag='$wl-z,text'
11061 allow_undefined_flag='$wl-z,nodefs'
11062 archive_cmds_need_lc=no
11063 hardcode_shlibpath_var=no
11064 hardcode_libdir_flag_spec='$wl-R,$libdir'
11065 hardcode_libdir_separator=':'
11066 link_all_deplibs=yes
11067 export_dynamic_flag_spec='$wl-Bexport'
11068 runpath_var='LD_RUN_PATH'
11069
11070 if test yes = "$GCC"; then
11071 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11072 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11073 else
11074 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11075 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11076 fi
11077 ;;
11078
11079 uts4*)
11080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11081 hardcode_libdir_flag_spec='-L$libdir'
11082 hardcode_shlibpath_var=no
11083 ;;
11084
11085 *)
11086 ld_shlibs=no
11087 ;;
11088 esac
11089
11090 if test sni = "$host_vendor"; then
11091 case $host in
11092 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11093 export_dynamic_flag_spec='$wl-Blargedynsym'
11094 ;;
11095 esac
11096 fi
11097 fi
11098
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11100 $as_echo "$ld_shlibs" >&6; }
11101 test no = "$ld_shlibs" && can_build_shared=no
11102
11103 with_gnu_ld=$with_gnu_ld
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119 #
11120 # Do we need to explicitly link libc?
11121 #
11122 case "x$archive_cmds_need_lc" in
11123 x|xyes)
11124 # Assume -lc should be added
11125 archive_cmds_need_lc=yes
11126
11127 if test yes,yes = "$GCC,$enable_shared"; then
11128 case $archive_cmds in
11129 *'~'*)
11130 # FIXME: we may have to deal with multi-command sequences.
11131 ;;
11132 '$CC '*)
11133 # Test whether the compiler implicitly links with -lc since on some
11134 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11135 # to ld, don't add -lc before -lgcc.
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11137 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11138 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 $RM conftest*
11142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11143
11144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11145 (eval $ac_compile) 2>&5
11146 ac_status=$?
11147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11148 test $ac_status = 0; } 2>conftest.err; then
11149 soname=conftest
11150 lib=conftest
11151 libobjs=conftest.$ac_objext
11152 deplibs=
11153 wl=$lt_prog_compiler_wl
11154 pic_flag=$lt_prog_compiler_pic
11155 compiler_flags=-v
11156 linker_flags=-v
11157 verstring=
11158 output_objdir=.
11159 libname=conftest
11160 lt_save_allow_undefined_flag=$allow_undefined_flag
11161 allow_undefined_flag=
11162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11163 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11164 ac_status=$?
11165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11166 test $ac_status = 0; }
11167 then
11168 lt_cv_archive_cmds_need_lc=no
11169 else
11170 lt_cv_archive_cmds_need_lc=yes
11171 fi
11172 allow_undefined_flag=$lt_save_allow_undefined_flag
11173 else
11174 cat conftest.err 1>&5
11175 fi
11176 $RM conftest*
11177
11178 fi
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11180 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11181 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11182 ;;
11183 esac
11184 fi
11185 ;;
11186 esac
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11340 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11341
11342 if test yes = "$GCC"; then
11343 case $host_os in
11344 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11345 *) lt_awk_arg='/^libraries:/' ;;
11346 esac
11347 case $host_os in
11348 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11349 *) lt_sed_strip_eq='s|=/|/|g' ;;
11350 esac
11351 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11352 case $lt_search_path_spec in
11353 *\;*)
11354 # if the path contains ";" then we assume it to be the separator
11355 # otherwise default to the standard path separator (i.e. ":") - it is
11356 # assumed that no part of a normal pathname contains ";" but that should
11357 # okay in the real world where ";" in dirpaths is itself problematic.
11358 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11359 ;;
11360 *)
11361 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11362 ;;
11363 esac
11364 # Ok, now we have the path, separated by spaces, we can step through it
11365 # and add multilib dir if necessary...
11366 lt_tmp_lt_search_path_spec=
11367 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11368 # ...but if some path component already ends with the multilib dir we assume
11369 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11370 case "$lt_multi_os_dir; $lt_search_path_spec " in
11371 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11372 lt_multi_os_dir=
11373 ;;
11374 esac
11375 for lt_sys_path in $lt_search_path_spec; do
11376 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11377 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11378 elif test -n "$lt_multi_os_dir"; then
11379 test -d "$lt_sys_path" && \
11380 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11381 fi
11382 done
11383 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11384 BEGIN {RS = " "; FS = "/|\n";} {
11385 lt_foo = "";
11386 lt_count = 0;
11387 for (lt_i = NF; lt_i > 0; lt_i--) {
11388 if ($lt_i != "" && $lt_i != ".") {
11389 if ($lt_i == "..") {
11390 lt_count++;
11391 } else {
11392 if (lt_count == 0) {
11393 lt_foo = "/" $lt_i lt_foo;
11394 } else {
11395 lt_count--;
11396 }
11397 }
11398 }
11399 }
11400 if (lt_foo != "") { lt_freq[lt_foo]++; }
11401 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11402 }'`
11403 # AWK program above erroneously prepends '/' to C:/dos/paths
11404 # for these hosts.
11405 case $host_os in
11406 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11407 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11408 esac
11409 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11410 else
11411 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11412 fi
11413 library_names_spec=
11414 libname_spec='lib$name'
11415 soname_spec=
11416 shrext_cmds=.so
11417 postinstall_cmds=
11418 postuninstall_cmds=
11419 finish_cmds=
11420 finish_eval=
11421 shlibpath_var=
11422 shlibpath_overrides_runpath=unknown
11423 version_type=none
11424 dynamic_linker="$host_os ld.so"
11425 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11426 need_lib_prefix=unknown
11427 hardcode_into_libs=no
11428
11429 # when you set need_version to no, make sure it does not cause -set_version
11430 # flags to be left without arguments
11431 need_version=unknown
11432
11433
11434
11435 case $host_os in
11436 aix3*)
11437 version_type=linux # correct to gnu/linux during the next big refactor
11438 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11439 shlibpath_var=LIBPATH
11440
11441 # AIX 3 has no versioning support, so we append a major version to the name.
11442 soname_spec='$libname$release$shared_ext$major'
11443 ;;
11444
11445 aix[4-9]*)
11446 version_type=linux # correct to gnu/linux during the next big refactor
11447 need_lib_prefix=no
11448 need_version=no
11449 hardcode_into_libs=yes
11450 if test ia64 = "$host_cpu"; then
11451 # AIX 5 supports IA64
11452 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11453 shlibpath_var=LD_LIBRARY_PATH
11454 else
11455 # With GCC up to 2.95.x, collect2 would create an import file
11456 # for dependence libraries. The import file would start with
11457 # the line '#! .'. This would cause the generated library to
11458 # depend on '.', always an invalid library. This was fixed in
11459 # development snapshots of GCC prior to 3.0.
11460 case $host_os in
11461 aix4 | aix4.[01] | aix4.[01].*)
11462 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11463 echo ' yes '
11464 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11465 :
11466 else
11467 can_build_shared=no
11468 fi
11469 ;;
11470 esac
11471 # Using Import Files as archive members, it is possible to support
11472 # filename-based versioning of shared library archives on AIX. While
11473 # this would work for both with and without runtime linking, it will
11474 # prevent static linking of such archives. So we do filename-based
11475 # shared library versioning with .so extension only, which is used
11476 # when both runtime linking and shared linking is enabled.
11477 # Unfortunately, runtime linking may impact performance, so we do
11478 # not want this to be the default eventually. Also, we use the
11479 # versioned .so libs for executables only if there is the -brtl
11480 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11481 # To allow for filename-based versioning support, we need to create
11482 # libNAME.so.V as an archive file, containing:
11483 # *) an Import File, referring to the versioned filename of the
11484 # archive as well as the shared archive member, telling the
11485 # bitwidth (32 or 64) of that shared object, and providing the
11486 # list of exported symbols of that shared object, eventually
11487 # decorated with the 'weak' keyword
11488 # *) the shared object with the F_LOADONLY flag set, to really avoid
11489 # it being seen by the linker.
11490 # At run time we better use the real file rather than another symlink,
11491 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11492
11493 case $with_aix_soname,$aix_use_runtimelinking in
11494 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11495 # soname into executable. Probably we can add versioning support to
11496 # collect2, so additional links can be useful in future.
11497 aix,yes) # traditional libtool
11498 dynamic_linker='AIX unversionable lib.so'
11499 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11500 # instead of lib<name>.a to let people know that these are not
11501 # typical AIX shared libraries.
11502 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11503 ;;
11504 aix,no) # traditional AIX only
11505 dynamic_linker='AIX lib.a(lib.so.V)'
11506 # We preserve .a as extension for shared libraries through AIX4.2
11507 # and later when we are not doing run time linking.
11508 library_names_spec='$libname$release.a $libname.a'
11509 soname_spec='$libname$release$shared_ext$major'
11510 ;;
11511 svr4,*) # full svr4 only
11512 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11513 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11514 # We do not specify a path in Import Files, so LIBPATH fires.
11515 shlibpath_overrides_runpath=yes
11516 ;;
11517 *,yes) # both, prefer svr4
11518 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11519 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11520 # unpreferred sharedlib libNAME.a needs extra handling
11521 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"'
11522 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"'
11523 # We do not specify a path in Import Files, so LIBPATH fires.
11524 shlibpath_overrides_runpath=yes
11525 ;;
11526 *,no) # both, prefer aix
11527 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11528 library_names_spec='$libname$release.a $libname.a'
11529 soname_spec='$libname$release$shared_ext$major'
11530 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11531 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)'
11532 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"'
11533 ;;
11534 esac
11535 shlibpath_var=LIBPATH
11536 fi
11537 ;;
11538
11539 amigaos*)
11540 case $host_cpu in
11541 powerpc)
11542 # Since July 2007 AmigaOS4 officially supports .so libraries.
11543 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11544 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11545 ;;
11546 m68k)
11547 library_names_spec='$libname.ixlibrary $libname.a'
11548 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11549 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'
11550 ;;
11551 esac
11552 ;;
11553
11554 beos*)
11555 library_names_spec='$libname$shared_ext'
11556 dynamic_linker="$host_os ld.so"
11557 shlibpath_var=LIBRARY_PATH
11558 ;;
11559
11560 bsdi[45]*)
11561 version_type=linux # correct to gnu/linux during the next big refactor
11562 need_version=no
11563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11564 soname_spec='$libname$release$shared_ext$major'
11565 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11566 shlibpath_var=LD_LIBRARY_PATH
11567 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11568 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11569 # the default ld.so.conf also contains /usr/contrib/lib and
11570 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11571 # libtool to hard-code these into programs
11572 ;;
11573
11574 cygwin* | mingw* | pw32* | cegcc*)
11575 version_type=windows
11576 shrext_cmds=.dll
11577 need_version=no
11578 need_lib_prefix=no
11579
11580 case $GCC,$cc_basename in
11581 yes,*)
11582 # gcc
11583 library_names_spec='$libname.dll.a'
11584 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11585 postinstall_cmds='base_file=`basename \$file`~
11586 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11587 dldir=$destdir/`dirname \$dlpath`~
11588 test -d \$dldir || mkdir -p \$dldir~
11589 $install_prog $dir/$dlname \$dldir/$dlname~
11590 chmod a+x \$dldir/$dlname~
11591 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11592 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11593 fi'
11594 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11595 dlpath=$dir/\$dldll~
11596 $RM \$dlpath'
11597 shlibpath_overrides_runpath=yes
11598
11599 case $host_os in
11600 cygwin*)
11601 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11602 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11603
11604 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11605 ;;
11606 mingw* | cegcc*)
11607 # MinGW DLLs use traditional 'lib' prefix
11608 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11609 ;;
11610 pw32*)
11611 # pw32 DLLs use 'pw' prefix rather than 'lib'
11612 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11613 ;;
11614 esac
11615 dynamic_linker='Win32 ld.exe'
11616 ;;
11617
11618 *,cl*)
11619 # Native MSVC
11620 libname_spec='$name'
11621 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11622 library_names_spec='$libname.dll.lib'
11623
11624 case $build_os in
11625 mingw*)
11626 sys_lib_search_path_spec=
11627 lt_save_ifs=$IFS
11628 IFS=';'
11629 for lt_path in $LIB
11630 do
11631 IFS=$lt_save_ifs
11632 # Let DOS variable expansion print the short 8.3 style file name.
11633 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11634 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11635 done
11636 IFS=$lt_save_ifs
11637 # Convert to MSYS style.
11638 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11639 ;;
11640 cygwin*)
11641 # Convert to unix form, then to dos form, then back to unix form
11642 # but this time dos style (no spaces!) so that the unix form looks
11643 # like /cygdrive/c/PROGRA~1:/cygdr...
11644 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11645 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11646 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11647 ;;
11648 *)
11649 sys_lib_search_path_spec=$LIB
11650 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11651 # It is most probably a Windows format PATH.
11652 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11653 else
11654 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11655 fi
11656 # FIXME: find the short name or the path components, as spaces are
11657 # common. (e.g. "Program Files" -> "PROGRA~1")
11658 ;;
11659 esac
11660
11661 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11662 postinstall_cmds='base_file=`basename \$file`~
11663 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11664 dldir=$destdir/`dirname \$dlpath`~
11665 test -d \$dldir || mkdir -p \$dldir~
11666 $install_prog $dir/$dlname \$dldir/$dlname'
11667 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11668 dlpath=$dir/\$dldll~
11669 $RM \$dlpath'
11670 shlibpath_overrides_runpath=yes
11671 dynamic_linker='Win32 link.exe'
11672 ;;
11673
11674 *)
11675 # Assume MSVC wrapper
11676 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11677 dynamic_linker='Win32 ld.exe'
11678 ;;
11679 esac
11680 # FIXME: first we should search . and the directory the executable is in
11681 shlibpath_var=PATH
11682 ;;
11683
11684 darwin* | rhapsody*)
11685 dynamic_linker="$host_os dyld"
11686 version_type=darwin
11687 need_lib_prefix=no
11688 need_version=no
11689 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11690 soname_spec='$libname$release$major$shared_ext'
11691 shlibpath_overrides_runpath=yes
11692 shlibpath_var=DYLD_LIBRARY_PATH
11693 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11694
11695 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11696 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11697 ;;
11698
11699 dgux*)
11700 version_type=linux # correct to gnu/linux during the next big refactor
11701 need_lib_prefix=no
11702 need_version=no
11703 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11704 soname_spec='$libname$release$shared_ext$major'
11705 shlibpath_var=LD_LIBRARY_PATH
11706 ;;
11707
11708 freebsd* | dragonfly*)
11709 # DragonFly does not have aout. When/if they implement a new
11710 # versioning mechanism, adjust this.
11711 if test -x /usr/bin/objformat; then
11712 objformat=`/usr/bin/objformat`
11713 else
11714 case $host_os in
11715 freebsd[23].*) objformat=aout ;;
11716 *) objformat=elf ;;
11717 esac
11718 fi
11719 version_type=freebsd-$objformat
11720 case $version_type in
11721 freebsd-elf*)
11722 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11723 soname_spec='$libname$release$shared_ext$major'
11724 need_version=no
11725 need_lib_prefix=no
11726 ;;
11727 freebsd-*)
11728 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11729 need_version=yes
11730 ;;
11731 esac
11732 shlibpath_var=LD_LIBRARY_PATH
11733 case $host_os in
11734 freebsd2.*)
11735 shlibpath_overrides_runpath=yes
11736 ;;
11737 freebsd3.[01]* | freebsdelf3.[01]*)
11738 shlibpath_overrides_runpath=yes
11739 hardcode_into_libs=yes
11740 ;;
11741 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11742 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11743 shlibpath_overrides_runpath=no
11744 hardcode_into_libs=yes
11745 ;;
11746 *) # from 4.6 on, and DragonFly
11747 shlibpath_overrides_runpath=yes
11748 hardcode_into_libs=yes
11749 ;;
11750 esac
11751 ;;
11752
11753 haiku*)
11754 version_type=linux # correct to gnu/linux during the next big refactor
11755 need_lib_prefix=no
11756 need_version=no
11757 dynamic_linker="$host_os runtime_loader"
11758 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11759 soname_spec='$libname$release$shared_ext$major'
11760 shlibpath_var=LIBRARY_PATH
11761 shlibpath_overrides_runpath=no
11762 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11763 hardcode_into_libs=yes
11764 ;;
11765
11766 hpux9* | hpux10* | hpux11*)
11767 # Give a soname corresponding to the major version so that dld.sl refuses to
11768 # link against other versions.
11769 version_type=sunos
11770 need_lib_prefix=no
11771 need_version=no
11772 case $host_cpu in
11773 ia64*)
11774 shrext_cmds='.so'
11775 hardcode_into_libs=yes
11776 dynamic_linker="$host_os dld.so"
11777 shlibpath_var=LD_LIBRARY_PATH
11778 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11779 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11780 soname_spec='$libname$release$shared_ext$major'
11781 if test 32 = "$HPUX_IA64_MODE"; then
11782 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11783 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11784 else
11785 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11786 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11787 fi
11788 ;;
11789 hppa*64*)
11790 shrext_cmds='.sl'
11791 hardcode_into_libs=yes
11792 dynamic_linker="$host_os dld.sl"
11793 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11794 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11795 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11796 soname_spec='$libname$release$shared_ext$major'
11797 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11798 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11799 ;;
11800 *)
11801 shrext_cmds='.sl'
11802 dynamic_linker="$host_os dld.sl"
11803 shlibpath_var=SHLIB_PATH
11804 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11805 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11806 soname_spec='$libname$release$shared_ext$major'
11807 ;;
11808 esac
11809 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11810 postinstall_cmds='chmod 555 $lib'
11811 # or fails outright, so override atomically:
11812 install_override_mode=555
11813 ;;
11814
11815 interix[3-9]*)
11816 version_type=linux # correct to gnu/linux during the next big refactor
11817 need_lib_prefix=no
11818 need_version=no
11819 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11820 soname_spec='$libname$release$shared_ext$major'
11821 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11822 shlibpath_var=LD_LIBRARY_PATH
11823 shlibpath_overrides_runpath=no
11824 hardcode_into_libs=yes
11825 ;;
11826
11827 irix5* | irix6* | nonstopux*)
11828 case $host_os in
11829 nonstopux*) version_type=nonstopux ;;
11830 *)
11831 if test yes = "$lt_cv_prog_gnu_ld"; then
11832 version_type=linux # correct to gnu/linux during the next big refactor
11833 else
11834 version_type=irix
11835 fi ;;
11836 esac
11837 need_lib_prefix=no
11838 need_version=no
11839 soname_spec='$libname$release$shared_ext$major'
11840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11841 case $host_os in
11842 irix5* | nonstopux*)
11843 libsuff= shlibsuff=
11844 ;;
11845 *)
11846 case $LD in # libtool.m4 will add one of these switches to LD
11847 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11848 libsuff= shlibsuff= libmagic=32-bit;;
11849 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11850 libsuff=32 shlibsuff=N32 libmagic=N32;;
11851 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11852 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11853 *) libsuff= shlibsuff= libmagic=never-match;;
11854 esac
11855 ;;
11856 esac
11857 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11858 shlibpath_overrides_runpath=no
11859 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11860 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11861 hardcode_into_libs=yes
11862 ;;
11863
11864 # No shared lib support for Linux oldld, aout, or coff.
11865 linux*oldld* | linux*aout* | linux*coff*)
11866 dynamic_linker=no
11867 ;;
11868
11869 linux*android*)
11870 version_type=none # Android doesn't support versioned libraries.
11871 need_lib_prefix=no
11872 need_version=no
11873 library_names_spec='$libname$release$shared_ext'
11874 soname_spec='$libname$release$shared_ext'
11875 finish_cmds=
11876 shlibpath_var=LD_LIBRARY_PATH
11877 shlibpath_overrides_runpath=yes
11878
11879 # This implies no fast_install, which is unacceptable.
11880 # Some rework will be needed to allow for fast_install
11881 # before this can be enabled.
11882 hardcode_into_libs=yes
11883
11884 dynamic_linker='Android linker'
11885 # Don't embed -rpath directories since the linker doesn't support them.
11886 hardcode_libdir_flag_spec='-L$libdir'
11887 ;;
11888
11889 # This must be glibc/ELF.
11890 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11891 version_type=linux # correct to gnu/linux during the next big refactor
11892 need_lib_prefix=no
11893 need_version=no
11894 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11895 soname_spec='$libname$release$shared_ext$major'
11896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11897 shlibpath_var=LD_LIBRARY_PATH
11898 shlibpath_overrides_runpath=no
11899
11900 # Some binutils ld are patched to set DT_RUNPATH
11901 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11902 $as_echo_n "(cached) " >&6
11903 else
11904 lt_cv_shlibpath_overrides_runpath=no
11905 save_LDFLAGS=$LDFLAGS
11906 save_libdir=$libdir
11907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911
11912 int
11913 main ()
11914 {
11915
11916 ;
11917 return 0;
11918 }
11919 _ACEOF
11920 if ac_fn_c_try_link "$LINENO"; then :
11921 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11922 lt_cv_shlibpath_overrides_runpath=yes
11923 fi
11924 fi
11925 rm -f core conftest.err conftest.$ac_objext \
11926 conftest$ac_exeext conftest.$ac_ext
11927 LDFLAGS=$save_LDFLAGS
11928 libdir=$save_libdir
11929
11930 fi
11931
11932 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11933
11934 # This implies no fast_install, which is unacceptable.
11935 # Some rework will be needed to allow for fast_install
11936 # before this can be enabled.
11937 hardcode_into_libs=yes
11938
11939 # Add ABI-specific directories to the system library path.
11940 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11941
11942 # Ideally, we could use ldconfig to report *all* directores which are
11943 # searched for libraries, however this is still not possible. Aside from not
11944 # being certain /sbin/ldconfig is available, command
11945 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11946 # even though it is searched at run-time. Try to do the best guess by
11947 # appending ld.so.conf contents (and includes) to the search path.
11948 if test -f /etc/ld.so.conf; then
11949 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' ' '`
11950 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11951 fi
11952
11953 # We used to test for /lib/ld.so.1 and disable shared libraries on
11954 # powerpc, because MkLinux only supported shared libraries with the
11955 # GNU dynamic linker. Since this was broken with cross compilers,
11956 # most powerpc-linux boxes support dynamic linking these days and
11957 # people can always --disable-shared, the test was removed, and we
11958 # assume the GNU/Linux dynamic linker is in use.
11959 dynamic_linker='GNU/Linux ld.so'
11960 ;;
11961
11962 netbsd*)
11963 version_type=sunos
11964 need_lib_prefix=no
11965 need_version=no
11966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11967 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11968 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11969 dynamic_linker='NetBSD (a.out) ld.so'
11970 else
11971 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11972 soname_spec='$libname$release$shared_ext$major'
11973 dynamic_linker='NetBSD ld.elf_so'
11974 fi
11975 shlibpath_var=LD_LIBRARY_PATH
11976 shlibpath_overrides_runpath=yes
11977 hardcode_into_libs=yes
11978 ;;
11979
11980 newsos6)
11981 version_type=linux # correct to gnu/linux during the next big refactor
11982 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11983 shlibpath_var=LD_LIBRARY_PATH
11984 shlibpath_overrides_runpath=yes
11985 ;;
11986
11987 *nto* | *qnx*)
11988 version_type=qnx
11989 need_lib_prefix=no
11990 need_version=no
11991 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11992 soname_spec='$libname$release$shared_ext$major'
11993 shlibpath_var=LD_LIBRARY_PATH
11994 shlibpath_overrides_runpath=no
11995 hardcode_into_libs=yes
11996 dynamic_linker='ldqnx.so'
11997 ;;
11998
11999 openbsd* | bitrig*)
12000 version_type=sunos
12001 sys_lib_dlsearch_path_spec=/usr/lib
12002 need_lib_prefix=no
12003 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12004 need_version=no
12005 else
12006 need_version=yes
12007 fi
12008 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12010 shlibpath_var=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath=yes
12012 ;;
12013
12014 os2*)
12015 libname_spec='$name'
12016 version_type=windows
12017 shrext_cmds=.dll
12018 need_version=no
12019 need_lib_prefix=no
12020 # OS/2 can only load a DLL with a base name of 8 characters or less.
12021 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12022 v=$($ECHO $release$versuffix | tr -d .-);
12023 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12024 $ECHO $n$v`$shared_ext'
12025 library_names_spec='${libname}_dll.$libext'
12026 dynamic_linker='OS/2 ld.exe'
12027 shlibpath_var=BEGINLIBPATH
12028 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12029 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12030 postinstall_cmds='base_file=`basename \$file`~
12031 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12032 dldir=$destdir/`dirname \$dlpath`~
12033 test -d \$dldir || mkdir -p \$dldir~
12034 $install_prog $dir/$dlname \$dldir/$dlname~
12035 chmod a+x \$dldir/$dlname~
12036 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12037 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12038 fi'
12039 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12040 dlpath=$dir/\$dldll~
12041 $RM \$dlpath'
12042 ;;
12043
12044 osf3* | osf4* | osf5*)
12045 version_type=osf
12046 need_lib_prefix=no
12047 need_version=no
12048 soname_spec='$libname$release$shared_ext$major'
12049 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12050 shlibpath_var=LD_LIBRARY_PATH
12051 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12052 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12053 ;;
12054
12055 rdos*)
12056 dynamic_linker=no
12057 ;;
12058
12059 solaris*)
12060 version_type=linux # correct to gnu/linux during the next big refactor
12061 need_lib_prefix=no
12062 need_version=no
12063 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12064 soname_spec='$libname$release$shared_ext$major'
12065 shlibpath_var=LD_LIBRARY_PATH
12066 shlibpath_overrides_runpath=yes
12067 hardcode_into_libs=yes
12068 # ldd complains unless libraries are executable
12069 postinstall_cmds='chmod +x $lib'
12070 ;;
12071
12072 sunos4*)
12073 version_type=sunos
12074 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12075 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12076 shlibpath_var=LD_LIBRARY_PATH
12077 shlibpath_overrides_runpath=yes
12078 if test yes = "$with_gnu_ld"; then
12079 need_lib_prefix=no
12080 fi
12081 need_version=yes
12082 ;;
12083
12084 sysv4 | sysv4.3*)
12085 version_type=linux # correct to gnu/linux during the next big refactor
12086 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12087 soname_spec='$libname$release$shared_ext$major'
12088 shlibpath_var=LD_LIBRARY_PATH
12089 case $host_vendor in
12090 sni)
12091 shlibpath_overrides_runpath=no
12092 need_lib_prefix=no
12093 runpath_var=LD_RUN_PATH
12094 ;;
12095 siemens)
12096 need_lib_prefix=no
12097 ;;
12098 motorola)
12099 need_lib_prefix=no
12100 need_version=no
12101 shlibpath_overrides_runpath=no
12102 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12103 ;;
12104 esac
12105 ;;
12106
12107 sysv4*MP*)
12108 if test -d /usr/nec; then
12109 version_type=linux # correct to gnu/linux during the next big refactor
12110 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12111 soname_spec='$libname$shared_ext.$major'
12112 shlibpath_var=LD_LIBRARY_PATH
12113 fi
12114 ;;
12115
12116 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12117 version_type=sco
12118 need_lib_prefix=no
12119 need_version=no
12120 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12121 soname_spec='$libname$release$shared_ext$major'
12122 shlibpath_var=LD_LIBRARY_PATH
12123 shlibpath_overrides_runpath=yes
12124 hardcode_into_libs=yes
12125 if test yes = "$with_gnu_ld"; then
12126 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12127 else
12128 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12129 case $host_os in
12130 sco3.2v5*)
12131 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12132 ;;
12133 esac
12134 fi
12135 sys_lib_dlsearch_path_spec='/usr/lib'
12136 ;;
12137
12138 tpf*)
12139 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12140 version_type=linux # correct to gnu/linux during the next big refactor
12141 need_lib_prefix=no
12142 need_version=no
12143 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12144 shlibpath_var=LD_LIBRARY_PATH
12145 shlibpath_overrides_runpath=no
12146 hardcode_into_libs=yes
12147 ;;
12148
12149 uts4*)
12150 version_type=linux # correct to gnu/linux during the next big refactor
12151 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12152 soname_spec='$libname$release$shared_ext$major'
12153 shlibpath_var=LD_LIBRARY_PATH
12154 ;;
12155
12156 *)
12157 dynamic_linker=no
12158 ;;
12159 esac
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12161 $as_echo "$dynamic_linker" >&6; }
12162 test no = "$dynamic_linker" && can_build_shared=no
12163
12164 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12165 if test yes = "$GCC"; then
12166 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12167 fi
12168
12169 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12170 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12171 fi
12172
12173 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12174 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12175 fi
12176
12177 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12178 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12179
12180 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12181 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12182
12183 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12184 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12283 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12284 hardcode_action=
12285 if test -n "$hardcode_libdir_flag_spec" ||
12286 test -n "$runpath_var" ||
12287 test yes = "$hardcode_automatic"; then
12288
12289 # We can hardcode non-existent directories.
12290 if test no != "$hardcode_direct" &&
12291 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12292 # have to relink, otherwise we might link with an installed library
12293 # when we should be linking with a yet-to-be-installed one
12294 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12295 test no != "$hardcode_minus_L"; then
12296 # Linking always hardcodes the temporary library directory.
12297 hardcode_action=relink
12298 else
12299 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12300 hardcode_action=immediate
12301 fi
12302 else
12303 # We cannot hardcode anything, or else we can only hardcode existing
12304 # directories.
12305 hardcode_action=unsupported
12306 fi
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12308 $as_echo "$hardcode_action" >&6; }
12309
12310 if test relink = "$hardcode_action" ||
12311 test yes = "$inherit_rpath"; then
12312 # Fast installation is not supported
12313 enable_fast_install=no
12314 elif test yes = "$shlibpath_overrides_runpath" ||
12315 test no = "$enable_shared"; then
12316 # Fast installation is not necessary
12317 enable_fast_install=needless
12318 fi
12319
12320
12321
12322
12323
12324
12325 if test yes != "$enable_dlopen"; then
12326 enable_dlopen=unknown
12327 enable_dlopen_self=unknown
12328 enable_dlopen_self_static=unknown
12329 else
12330 lt_cv_dlopen=no
12331 lt_cv_dlopen_libs=
12332
12333 case $host_os in
12334 beos*)
12335 lt_cv_dlopen=load_add_on
12336 lt_cv_dlopen_libs=
12337 lt_cv_dlopen_self=yes
12338 ;;
12339
12340 mingw* | pw32* | cegcc*)
12341 lt_cv_dlopen=LoadLibrary
12342 lt_cv_dlopen_libs=
12343 ;;
12344
12345 cygwin*)
12346 lt_cv_dlopen=dlopen
12347 lt_cv_dlopen_libs=
12348 ;;
12349
12350 darwin*)
12351 # if libdl is installed we need to link against it
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12353 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12354 if ${ac_cv_lib_dl_dlopen+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_lib_save_LIBS=$LIBS
12358 LIBS="-ldl $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12361
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char dlopen ();
12369 int
12370 main ()
12371 {
12372 return dlopen ();
12373 ;
12374 return 0;
12375 }
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 ac_cv_lib_dl_dlopen=yes
12379 else
12380 ac_cv_lib_dl_dlopen=no
12381 fi
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_lib_save_LIBS
12385 fi
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12387 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12388 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12389 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12390 else
12391
12392 lt_cv_dlopen=dyld
12393 lt_cv_dlopen_libs=
12394 lt_cv_dlopen_self=yes
12395
12396 fi
12397
12398 ;;
12399
12400 tpf*)
12401 # Don't try to run any link tests for TPF. We know it's impossible
12402 # because TPF is a cross-compiler, and we know how we open DSOs.
12403 lt_cv_dlopen=dlopen
12404 lt_cv_dlopen_libs=
12405 lt_cv_dlopen_self=no
12406 ;;
12407
12408 *)
12409 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12410 if test "x$ac_cv_func_shl_load" = xyes; then :
12411 lt_cv_dlopen=shl_load
12412 else
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12414 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12415 if ${ac_cv_lib_dld_shl_load+:} false; then :
12416 $as_echo_n "(cached) " >&6
12417 else
12418 ac_check_lib_save_LIBS=$LIBS
12419 LIBS="-ldld $LIBS"
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12422
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char shl_load ();
12430 int
12431 main ()
12432 {
12433 return shl_load ();
12434 ;
12435 return 0;
12436 }
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 ac_cv_lib_dld_shl_load=yes
12440 else
12441 ac_cv_lib_dld_shl_load=no
12442 fi
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 LIBS=$ac_check_lib_save_LIBS
12446 fi
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12448 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12449 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12450 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12451 else
12452 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12453 if test "x$ac_cv_func_dlopen" = xyes; then :
12454 lt_cv_dlopen=dlopen
12455 else
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12457 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12458 if ${ac_cv_lib_dl_dlopen+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_lib_save_LIBS=$LIBS
12462 LIBS="-ldl $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12465
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char dlopen ();
12473 int
12474 main ()
12475 {
12476 return dlopen ();
12477 ;
12478 return 0;
12479 }
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 ac_cv_lib_dl_dlopen=yes
12483 else
12484 ac_cv_lib_dl_dlopen=no
12485 fi
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_lib_save_LIBS
12489 fi
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12491 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12492 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12493 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12494 else
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12496 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12497 if ${ac_cv_lib_svld_dlopen+:} false; then :
12498 $as_echo_n "(cached) " >&6
12499 else
12500 ac_check_lib_save_LIBS=$LIBS
12501 LIBS="-lsvld $LIBS"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12504
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12508 #ifdef __cplusplus
12509 extern "C"
12510 #endif
12511 char dlopen ();
12512 int
12513 main ()
12514 {
12515 return dlopen ();
12516 ;
12517 return 0;
12518 }
12519 _ACEOF
12520 if ac_fn_c_try_link "$LINENO"; then :
12521 ac_cv_lib_svld_dlopen=yes
12522 else
12523 ac_cv_lib_svld_dlopen=no
12524 fi
12525 rm -f core conftest.err conftest.$ac_objext \
12526 conftest$ac_exeext conftest.$ac_ext
12527 LIBS=$ac_check_lib_save_LIBS
12528 fi
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12530 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12531 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12532 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12533 else
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12535 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12536 if ${ac_cv_lib_dld_dld_link+:} false; then :
12537 $as_echo_n "(cached) " >&6
12538 else
12539 ac_check_lib_save_LIBS=$LIBS
12540 LIBS="-ldld $LIBS"
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12547 #ifdef __cplusplus
12548 extern "C"
12549 #endif
12550 char dld_link ();
12551 int
12552 main ()
12553 {
12554 return dld_link ();
12555 ;
12556 return 0;
12557 }
12558 _ACEOF
12559 if ac_fn_c_try_link "$LINENO"; then :
12560 ac_cv_lib_dld_dld_link=yes
12561 else
12562 ac_cv_lib_dld_dld_link=no
12563 fi
12564 rm -f core conftest.err conftest.$ac_objext \
12565 conftest$ac_exeext conftest.$ac_ext
12566 LIBS=$ac_check_lib_save_LIBS
12567 fi
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12569 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12570 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12571 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12572 fi
12573
12574
12575 fi
12576
12577
12578 fi
12579
12580
12581 fi
12582
12583
12584 fi
12585
12586
12587 fi
12588
12589 ;;
12590 esac
12591
12592 if test no = "$lt_cv_dlopen"; then
12593 enable_dlopen=no
12594 else
12595 enable_dlopen=yes
12596 fi
12597
12598 case $lt_cv_dlopen in
12599 dlopen)
12600 save_CPPFLAGS=$CPPFLAGS
12601 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12602
12603 save_LDFLAGS=$LDFLAGS
12604 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12605
12606 save_LIBS=$LIBS
12607 LIBS="$lt_cv_dlopen_libs $LIBS"
12608
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12610 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12611 if ${lt_cv_dlopen_self+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 if test yes = "$cross_compiling"; then :
12615 lt_cv_dlopen_self=cross
12616 else
12617 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12618 lt_status=$lt_dlunknown
12619 cat > conftest.$ac_ext <<_LT_EOF
12620 #line $LINENO "configure"
12621 #include "confdefs.h"
12622
12623 #if HAVE_DLFCN_H
12624 #include <dlfcn.h>
12625 #endif
12626
12627 #include <stdio.h>
12628
12629 #ifdef RTLD_GLOBAL
12630 # define LT_DLGLOBAL RTLD_GLOBAL
12631 #else
12632 # ifdef DL_GLOBAL
12633 # define LT_DLGLOBAL DL_GLOBAL
12634 # else
12635 # define LT_DLGLOBAL 0
12636 # endif
12637 #endif
12638
12639 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12640 find out it does not work in some platform. */
12641 #ifndef LT_DLLAZY_OR_NOW
12642 # ifdef RTLD_LAZY
12643 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12644 # else
12645 # ifdef DL_LAZY
12646 # define LT_DLLAZY_OR_NOW DL_LAZY
12647 # else
12648 # ifdef RTLD_NOW
12649 # define LT_DLLAZY_OR_NOW RTLD_NOW
12650 # else
12651 # ifdef DL_NOW
12652 # define LT_DLLAZY_OR_NOW DL_NOW
12653 # else
12654 # define LT_DLLAZY_OR_NOW 0
12655 # endif
12656 # endif
12657 # endif
12658 # endif
12659 #endif
12660
12661 /* When -fvisibility=hidden is used, assume the code has been annotated
12662 correspondingly for the symbols needed. */
12663 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12664 int fnord () __attribute__((visibility("default")));
12665 #endif
12666
12667 int fnord () { return 42; }
12668 int main ()
12669 {
12670 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12671 int status = $lt_dlunknown;
12672
12673 if (self)
12674 {
12675 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12676 else
12677 {
12678 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12679 else puts (dlerror ());
12680 }
12681 /* dlclose (self); */
12682 }
12683 else
12684 puts (dlerror ());
12685
12686 return status;
12687 }
12688 _LT_EOF
12689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12690 (eval $ac_link) 2>&5
12691 ac_status=$?
12692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12693 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12694 (./conftest; exit; ) >&5 2>/dev/null
12695 lt_status=$?
12696 case x$lt_status in
12697 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12698 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12699 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12700 esac
12701 else :
12702 # compilation failed
12703 lt_cv_dlopen_self=no
12704 fi
12705 fi
12706 rm -fr conftest*
12707
12708
12709 fi
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12711 $as_echo "$lt_cv_dlopen_self" >&6; }
12712
12713 if test yes = "$lt_cv_dlopen_self"; then
12714 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12716 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12717 if ${lt_cv_dlopen_self_static+:} false; then :
12718 $as_echo_n "(cached) " >&6
12719 else
12720 if test yes = "$cross_compiling"; then :
12721 lt_cv_dlopen_self_static=cross
12722 else
12723 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12724 lt_status=$lt_dlunknown
12725 cat > conftest.$ac_ext <<_LT_EOF
12726 #line $LINENO "configure"
12727 #include "confdefs.h"
12728
12729 #if HAVE_DLFCN_H
12730 #include <dlfcn.h>
12731 #endif
12732
12733 #include <stdio.h>
12734
12735 #ifdef RTLD_GLOBAL
12736 # define LT_DLGLOBAL RTLD_GLOBAL
12737 #else
12738 # ifdef DL_GLOBAL
12739 # define LT_DLGLOBAL DL_GLOBAL
12740 # else
12741 # define LT_DLGLOBAL 0
12742 # endif
12743 #endif
12744
12745 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12746 find out it does not work in some platform. */
12747 #ifndef LT_DLLAZY_OR_NOW
12748 # ifdef RTLD_LAZY
12749 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12750 # else
12751 # ifdef DL_LAZY
12752 # define LT_DLLAZY_OR_NOW DL_LAZY
12753 # else
12754 # ifdef RTLD_NOW
12755 # define LT_DLLAZY_OR_NOW RTLD_NOW
12756 # else
12757 # ifdef DL_NOW
12758 # define LT_DLLAZY_OR_NOW DL_NOW
12759 # else
12760 # define LT_DLLAZY_OR_NOW 0
12761 # endif
12762 # endif
12763 # endif
12764 # endif
12765 #endif
12766
12767 /* When -fvisibility=hidden is used, assume the code has been annotated
12768 correspondingly for the symbols needed. */
12769 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12770 int fnord () __attribute__((visibility("default")));
12771 #endif
12772
12773 int fnord () { return 42; }
12774 int main ()
12775 {
12776 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12777 int status = $lt_dlunknown;
12778
12779 if (self)
12780 {
12781 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12782 else
12783 {
12784 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12785 else puts (dlerror ());
12786 }
12787 /* dlclose (self); */
12788 }
12789 else
12790 puts (dlerror ());
12791
12792 return status;
12793 }
12794 _LT_EOF
12795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12796 (eval $ac_link) 2>&5
12797 ac_status=$?
12798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12799 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12800 (./conftest; exit; ) >&5 2>/dev/null
12801 lt_status=$?
12802 case x$lt_status in
12803 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12804 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12805 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12806 esac
12807 else :
12808 # compilation failed
12809 lt_cv_dlopen_self_static=no
12810 fi
12811 fi
12812 rm -fr conftest*
12813
12814
12815 fi
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12817 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12818 fi
12819
12820 CPPFLAGS=$save_CPPFLAGS
12821 LDFLAGS=$save_LDFLAGS
12822 LIBS=$save_LIBS
12823 ;;
12824 esac
12825
12826 case $lt_cv_dlopen_self in
12827 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12828 *) enable_dlopen_self=unknown ;;
12829 esac
12830
12831 case $lt_cv_dlopen_self_static in
12832 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12833 *) enable_dlopen_self_static=unknown ;;
12834 esac
12835 fi
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853 striplib=
12854 old_striplib=
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12856 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12857 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12858 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12859 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12861 $as_echo "yes" >&6; }
12862 else
12863 # FIXME - insert some real tests, host_os isn't really good enough
12864 case $host_os in
12865 darwin*)
12866 if test -n "$STRIP"; then
12867 striplib="$STRIP -x"
12868 old_striplib="$STRIP -S"
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12870 $as_echo "yes" >&6; }
12871 else
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12873 $as_echo "no" >&6; }
12874 fi
12875 ;;
12876 *)
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12878 $as_echo "no" >&6; }
12879 ;;
12880 esac
12881 fi
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894 # Report what library types will actually be built
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12896 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12898 $as_echo "$can_build_shared" >&6; }
12899
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12901 $as_echo_n "checking whether to build shared libraries... " >&6; }
12902 test no = "$can_build_shared" && enable_shared=no
12903
12904 # On AIX, shared libraries and static libraries use the same namespace, and
12905 # are all built from PIC.
12906 case $host_os in
12907 aix3*)
12908 test yes = "$enable_shared" && enable_static=no
12909 if test -n "$RANLIB"; then
12910 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12911 postinstall_cmds='$RANLIB $lib'
12912 fi
12913 ;;
12914
12915 aix[4-9]*)
12916 if test ia64 != "$host_cpu"; then
12917 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12918 yes,aix,yes) ;; # shared object as lib.so file only
12919 yes,svr4,*) ;; # shared object as lib.so archive member only
12920 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12921 esac
12922 fi
12923 ;;
12924 esac
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12926 $as_echo "$enable_shared" >&6; }
12927
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12929 $as_echo_n "checking whether to build static libraries... " >&6; }
12930 # Make sure either enable_shared or enable_static is yes.
12931 test yes = "$enable_shared" || enable_static=yes
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12933 $as_echo "$enable_static" >&6; }
12934
12935
12936
12937
12938 fi
12939 ac_ext=c
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944
12945 CC=$lt_save_CC
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961 ac_config_commands="$ac_config_commands libtool"
12962
12963
12964
12965
12966 # Only expand once:
12967
12968
12969
12970
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12972 $as_echo_n "checking whether NLS is requested... " >&6; }
12973 # Check whether --enable-nls was given.
12974 if test "${enable_nls+set}" = set; then :
12975 enableval=$enable_nls; USE_NLS=$enableval
12976 else
12977 USE_NLS=yes
12978 fi
12979
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12981 $as_echo "$USE_NLS" >&6; }
12982
12983
12984
12985
12986 case "$am__api_version" in
12987 1.01234)
12988 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12989 ;;
12990 *)
12991 ;;
12992 esac
12993
12994 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12995 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12996 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12997 if test -n "0.40.0"; then
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12999 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13001 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13002 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13003 as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
13004 fi
13005
13006 # Extract the first word of "intltool-update", so it can be a program name with args.
13007 set dummy intltool-update; ac_word=$2
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13009 $as_echo_n "checking for $ac_word... " >&6; }
13010 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13011 $as_echo_n "(cached) " >&6
13012 else
13013 case $INTLTOOL_UPDATE in
13014 [\\/]* | ?:[\\/]*)
13015 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13016 ;;
13017 *)
13018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13019 for as_dir in $PATH
13020 do
13021 IFS=$as_save_IFS
13022 test -z "$as_dir" && as_dir=.
13023 for ac_exec_ext in '' $ac_executable_extensions; do
13024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13025 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13027 break 2
13028 fi
13029 done
13030 done
13031 IFS=$as_save_IFS
13032
13033 ;;
13034 esac
13035 fi
13036 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13037 if test -n "$INTLTOOL_UPDATE"; then
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13039 $as_echo "$INTLTOOL_UPDATE" >&6; }
13040 else
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13042 $as_echo "no" >&6; }
13043 fi
13044
13045
13046 # Extract the first word of "intltool-merge", so it can be a program name with args.
13047 set dummy intltool-merge; ac_word=$2
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13049 $as_echo_n "checking for $ac_word... " >&6; }
13050 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13051 $as_echo_n "(cached) " >&6
13052 else
13053 case $INTLTOOL_MERGE in
13054 [\\/]* | ?:[\\/]*)
13055 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13056 ;;
13057 *)
13058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13059 for as_dir in $PATH
13060 do
13061 IFS=$as_save_IFS
13062 test -z "$as_dir" && as_dir=.
13063 for ac_exec_ext in '' $ac_executable_extensions; do
13064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13065 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13067 break 2
13068 fi
13069 done
13070 done
13071 IFS=$as_save_IFS
13072
13073 ;;
13074 esac
13075 fi
13076 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13077 if test -n "$INTLTOOL_MERGE"; then
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13079 $as_echo "$INTLTOOL_MERGE" >&6; }
13080 else
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13082 $as_echo "no" >&6; }
13083 fi
13084
13085
13086 # Extract the first word of "intltool-extract", so it can be a program name with args.
13087 set dummy intltool-extract; ac_word=$2
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13089 $as_echo_n "checking for $ac_word... " >&6; }
13090 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13091 $as_echo_n "(cached) " >&6
13092 else
13093 case $INTLTOOL_EXTRACT in
13094 [\\/]* | ?:[\\/]*)
13095 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13096 ;;
13097 *)
13098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13099 for as_dir in $PATH
13100 do
13101 IFS=$as_save_IFS
13102 test -z "$as_dir" && as_dir=.
13103 for ac_exec_ext in '' $ac_executable_extensions; do
13104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13105 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13107 break 2
13108 fi
13109 done
13110 done
13111 IFS=$as_save_IFS
13112
13113 ;;
13114 esac
13115 fi
13116 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13117 if test -n "$INTLTOOL_EXTRACT"; then
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13119 $as_echo "$INTLTOOL_EXTRACT" >&6; }
13120 else
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13122 $as_echo "no" >&6; }
13123 fi
13124
13125
13126 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13127 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13128 fi
13129
13130 if test -z "$AM_DEFAULT_VERBOSITY"; then
13131 AM_DEFAULT_VERBOSITY=1
13132 fi
13133
13134
13135 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13136 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13137 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
13138
13139
13140
13141
13142 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13143 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13144 intltool__v_merge_options_0='-q'
13145
13146
13147
13148
13149 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 $< $@'
13150 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 $< $@'
13151 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 $< $@'
13152 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 $< $@'
13153 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 $< $@'
13154 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 $< $@'
13155 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 $< $@'
13156 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 $< $@'
13157 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 $< $@'
13158 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 $< $@'
13159 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 $< $@'
13160 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13161 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 $< $@'
13162 else
13163 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'
13164 fi
13165 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 $< $@'
13166 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 $< $@'
13167 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 $< $@'
13168 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 $< $@'
13169 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 $< $@'
13170 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 $< $@'
13171 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 $< $@'
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269 # Check the gettext tools to make sure they are GNU
13270 # Extract the first word of "xgettext", so it can be a program name with args.
13271 set dummy xgettext; ac_word=$2
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13273 $as_echo_n "checking for $ac_word... " >&6; }
13274 if ${ac_cv_path_XGETTEXT+:} false; then :
13275 $as_echo_n "(cached) " >&6
13276 else
13277 case $XGETTEXT in
13278 [\\/]* | ?:[\\/]*)
13279 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13280 ;;
13281 *)
13282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13283 for as_dir in $PATH
13284 do
13285 IFS=$as_save_IFS
13286 test -z "$as_dir" && as_dir=.
13287 for ac_exec_ext in '' $ac_executable_extensions; do
13288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13289 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13291 break 2
13292 fi
13293 done
13294 done
13295 IFS=$as_save_IFS
13296
13297 ;;
13298 esac
13299 fi
13300 XGETTEXT=$ac_cv_path_XGETTEXT
13301 if test -n "$XGETTEXT"; then
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13303 $as_echo "$XGETTEXT" >&6; }
13304 else
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13306 $as_echo "no" >&6; }
13307 fi
13308
13309
13310 # Extract the first word of "msgmerge", so it can be a program name with args.
13311 set dummy msgmerge; ac_word=$2
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13313 $as_echo_n "checking for $ac_word... " >&6; }
13314 if ${ac_cv_path_MSGMERGE+:} false; then :
13315 $as_echo_n "(cached) " >&6
13316 else
13317 case $MSGMERGE in
13318 [\\/]* | ?:[\\/]*)
13319 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13320 ;;
13321 *)
13322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13323 for as_dir in $PATH
13324 do
13325 IFS=$as_save_IFS
13326 test -z "$as_dir" && as_dir=.
13327 for ac_exec_ext in '' $ac_executable_extensions; do
13328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13329 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13331 break 2
13332 fi
13333 done
13334 done
13335 IFS=$as_save_IFS
13336
13337 ;;
13338 esac
13339 fi
13340 MSGMERGE=$ac_cv_path_MSGMERGE
13341 if test -n "$MSGMERGE"; then
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13343 $as_echo "$MSGMERGE" >&6; }
13344 else
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13346 $as_echo "no" >&6; }
13347 fi
13348
13349
13350 # Extract the first word of "msgfmt", so it can be a program name with args.
13351 set dummy msgfmt; ac_word=$2
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13353 $as_echo_n "checking for $ac_word... " >&6; }
13354 if ${ac_cv_path_MSGFMT+:} false; then :
13355 $as_echo_n "(cached) " >&6
13356 else
13357 case $MSGFMT in
13358 [\\/]* | ?:[\\/]*)
13359 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13360 ;;
13361 *)
13362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13363 for as_dir in $PATH
13364 do
13365 IFS=$as_save_IFS
13366 test -z "$as_dir" && as_dir=.
13367 for ac_exec_ext in '' $ac_executable_extensions; do
13368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13369 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13371 break 2
13372 fi
13373 done
13374 done
13375 IFS=$as_save_IFS
13376
13377 ;;
13378 esac
13379 fi
13380 MSGFMT=$ac_cv_path_MSGFMT
13381 if test -n "$MSGFMT"; then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13383 $as_echo "$MSGFMT" >&6; }
13384 else
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13386 $as_echo "no" >&6; }
13387 fi
13388
13389
13390 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13391 set dummy gmsgfmt; ac_word=$2
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13393 $as_echo_n "checking for $ac_word... " >&6; }
13394 if ${ac_cv_path_GMSGFMT+:} false; then :
13395 $as_echo_n "(cached) " >&6
13396 else
13397 case $GMSGFMT in
13398 [\\/]* | ?:[\\/]*)
13399 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13400 ;;
13401 *)
13402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13403 for as_dir in $PATH
13404 do
13405 IFS=$as_save_IFS
13406 test -z "$as_dir" && as_dir=.
13407 for ac_exec_ext in '' $ac_executable_extensions; do
13408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13409 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13411 break 2
13412 fi
13413 done
13414 done
13415 IFS=$as_save_IFS
13416
13417 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13418 ;;
13419 esac
13420 fi
13421 GMSGFMT=$ac_cv_path_GMSGFMT
13422 if test -n "$GMSGFMT"; then
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13424 $as_echo "$GMSGFMT" >&6; }
13425 else
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13427 $as_echo "no" >&6; }
13428 fi
13429
13430
13431 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13432 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13433 fi
13434 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13435 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13436 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13437 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13438 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13439 fi
13440
13441 # Extract the first word of "perl", so it can be a program name with args.
13442 set dummy perl; ac_word=$2
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13444 $as_echo_n "checking for $ac_word... " >&6; }
13445 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13446 $as_echo_n "(cached) " >&6
13447 else
13448 case $INTLTOOL_PERL in
13449 [\\/]* | ?:[\\/]*)
13450 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13451 ;;
13452 *)
13453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13454 for as_dir in $PATH
13455 do
13456 IFS=$as_save_IFS
13457 test -z "$as_dir" && as_dir=.
13458 for ac_exec_ext in '' $ac_executable_extensions; do
13459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13460 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13462 break 2
13463 fi
13464 done
13465 done
13466 IFS=$as_save_IFS
13467
13468 ;;
13469 esac
13470 fi
13471 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13472 if test -n "$INTLTOOL_PERL"; then
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13474 $as_echo "$INTLTOOL_PERL" >&6; }
13475 else
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13477 $as_echo "no" >&6; }
13478 fi
13479
13480
13481 if test -z "$INTLTOOL_PERL"; then
13482 as_fn_error $? "perl not found" "$LINENO" 5
13483 fi
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13485 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
13486 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13487 if test $? -ne 0; then
13488 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13489 else
13490 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13492 $as_echo "$IT_PERL_VERSION" >&6; }
13493 fi
13494 if test "x" != "xno-xml"; then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13496 $as_echo_n "checking for XML::Parser... " >&6; }
13497 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13499 $as_echo "ok" >&6; }
13500 else
13501 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13502 fi
13503 fi
13504
13505 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13506
13507
13508
13509
13510
13511
13512 GETTEXT_PACKAGE="${PACKAGE}"
13513
13514
13515 # Check whether --enable-gtk3-engine was given.
13516 if test "${enable_gtk3_engine+set}" = set; then :
13517 enableval=$enable_gtk3_engine; enable_gtk3_engine=$enableval
13518 else
13519 enable_gtk3_engine=yes
13520 fi
13521
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building gtk3 engine" >&5
13523 $as_echo_n "checking building gtk3 engine... " >&6; }
13524 if test "x$enable_gtk3_engine" = "xyes"; then
13525 GTK3_ENGINE_TRUE=
13526 GTK3_ENGINE_FALSE='#'
13527 else
13528 GTK3_ENGINE_TRUE='#'
13529 GTK3_ENGINE_FALSE=
13530 fi
13531
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk3_engine" >&5
13533 $as_echo "$enable_gtk3_engine" >&6; }
13534
13535 GTK_VERSION_REQUIRED=3.9.12
13536 if test "x$enable_gtk3_engine" = "xyes"; then
13537
13538 pkg_failed=no
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3_ENGINE" >&5
13540 $as_echo_n "checking for GTK3_ENGINE... " >&6; }
13541
13542 if test -n "$GTK3_ENGINE_CFLAGS"; then
13543 pkg_cv_GTK3_ENGINE_CFLAGS="$GTK3_ENGINE_CFLAGS"
13544 elif test -n "$PKG_CONFIG"; then
13545 if test -n "$PKG_CONFIG" && \
13546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_VERSION_REQUIRED librsvg-2.0\""; } >&5
13547 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_VERSION_REQUIRED librsvg-2.0") 2>&5
13548 ac_status=$?
13549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13550 test $ac_status = 0; }; then
13551 pkg_cv_GTK3_ENGINE_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_VERSION_REQUIRED librsvg-2.0" 2>/dev/null`
13552 test "x$?" != "x0" && pkg_failed=yes
13553 else
13554 pkg_failed=yes
13555 fi
13556 else
13557 pkg_failed=untried
13558 fi
13559 if test -n "$GTK3_ENGINE_LIBS"; then
13560 pkg_cv_GTK3_ENGINE_LIBS="$GTK3_ENGINE_LIBS"
13561 elif test -n "$PKG_CONFIG"; then
13562 if test -n "$PKG_CONFIG" && \
13563 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_VERSION_REQUIRED librsvg-2.0\""; } >&5
13564 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_VERSION_REQUIRED librsvg-2.0") 2>&5
13565 ac_status=$?
13566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13567 test $ac_status = 0; }; then
13568 pkg_cv_GTK3_ENGINE_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_VERSION_REQUIRED librsvg-2.0" 2>/dev/null`
13569 test "x$?" != "x0" && pkg_failed=yes
13570 else
13571 pkg_failed=yes
13572 fi
13573 else
13574 pkg_failed=untried
13575 fi
13576
13577
13578
13579 if test $pkg_failed = yes; then
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13581 $as_echo "no" >&6; }
13582
13583 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13584 _pkg_short_errors_supported=yes
13585 else
13586 _pkg_short_errors_supported=no
13587 fi
13588 if test $_pkg_short_errors_supported = yes; then
13589 GTK3_ENGINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_VERSION_REQUIRED librsvg-2.0" 2>&1`
13590 else
13591 GTK3_ENGINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_VERSION_REQUIRED librsvg-2.0" 2>&1`
13592 fi
13593 # Put the nasty error message in config.log where it belongs
13594 echo "$GTK3_ENGINE_PKG_ERRORS" >&5
13595
13596 as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_VERSION_REQUIRED librsvg-2.0) were not met:
13597
13598 $GTK3_ENGINE_PKG_ERRORS
13599
13600 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13601 installed software in a non-standard prefix.
13602
13603 Alternatively, you may set the environment variables GTK3_ENGINE_CFLAGS
13604 and GTK3_ENGINE_LIBS to avoid the need to call pkg-config.
13605 See the pkg-config man page for more details." "$LINENO" 5
13606 elif test $pkg_failed = untried; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13608 $as_echo "no" >&6; }
13609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13611 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13612 is in your PATH or set the PKG_CONFIG environment variable to the full
13613 path to pkg-config.
13614
13615 Alternatively, you may set the environment variables GTK3_ENGINE_CFLAGS
13616 and GTK3_ENGINE_LIBS to avoid the need to call pkg-config.
13617 See the pkg-config man page for more details.
13618
13619 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13620 See \`config.log' for more details" "$LINENO" 5; }
13621 else
13622 GTK3_ENGINE_CFLAGS=$pkg_cv_GTK3_ENGINE_CFLAGS
13623 GTK3_ENGINE_LIBS=$pkg_cv_GTK3_ENGINE_LIBS
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13625 $as_echo "yes" >&6; }
13626
13627 fi
13628
13629 pkg_failed=no
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HIGHCONTRAST" >&5
13631 $as_echo_n "checking for HIGHCONTRAST... " >&6; }
13632
13633 if test -n "$HIGHCONTRAST_CFLAGS"; then
13634 pkg_cv_HIGHCONTRAST_CFLAGS="$HIGHCONTRAST_CFLAGS"
13635 elif test -n "$PKG_CONFIG"; then
13636 if test -n "$PKG_CONFIG" && \
13637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0\""; } >&5
13638 ($PKG_CONFIG --exists --print-errors "cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0") 2>&5
13639 ac_status=$?
13640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13641 test $ac_status = 0; }; then
13642 pkg_cv_HIGHCONTRAST_CFLAGS=`$PKG_CONFIG --cflags "cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0" 2>/dev/null`
13643 test "x$?" != "x0" && pkg_failed=yes
13644 else
13645 pkg_failed=yes
13646 fi
13647 else
13648 pkg_failed=untried
13649 fi
13650 if test -n "$HIGHCONTRAST_LIBS"; then
13651 pkg_cv_HIGHCONTRAST_LIBS="$HIGHCONTRAST_LIBS"
13652 elif test -n "$PKG_CONFIG"; then
13653 if test -n "$PKG_CONFIG" && \
13654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0\""; } >&5
13655 ($PKG_CONFIG --exists --print-errors "cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0") 2>&5
13656 ac_status=$?
13657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13658 test $ac_status = 0; }; then
13659 pkg_cv_HIGHCONTRAST_LIBS=`$PKG_CONFIG --libs "cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0" 2>/dev/null`
13660 test "x$?" != "x0" && pkg_failed=yes
13661 else
13662 pkg_failed=yes
13663 fi
13664 else
13665 pkg_failed=untried
13666 fi
13667
13668
13669
13670 if test $pkg_failed = yes; then
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13672 $as_echo "no" >&6; }
13673
13674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13675 _pkg_short_errors_supported=yes
13676 else
13677 _pkg_short_errors_supported=no
13678 fi
13679 if test $_pkg_short_errors_supported = yes; then
13680 HIGHCONTRAST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0" 2>&1`
13681 else
13682 HIGHCONTRAST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0" 2>&1`
13683 fi
13684 # Put the nasty error message in config.log where it belongs
13685 echo "$HIGHCONTRAST_PKG_ERRORS" >&5
13686
13687 as_fn_error $? "Package requirements (cairo gio-2.0 gdk-pixbuf-2.0 gdk-3.0) were not met:
13688
13689 $HIGHCONTRAST_PKG_ERRORS
13690
13691 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13692 installed software in a non-standard prefix.
13693
13694 Alternatively, you may set the environment variables HIGHCONTRAST_CFLAGS
13695 and HIGHCONTRAST_LIBS to avoid the need to call pkg-config.
13696 See the pkg-config man page for more details." "$LINENO" 5
13697 elif test $pkg_failed = untried; then
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13699 $as_echo "no" >&6; }
13700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13702 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13703 is in your PATH or set the PKG_CONFIG environment variable to the full
13704 path to pkg-config.
13705
13706 Alternatively, you may set the environment variables HIGHCONTRAST_CFLAGS
13707 and HIGHCONTRAST_LIBS to avoid the need to call pkg-config.
13708 See the pkg-config man page for more details.
13709
13710 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13711 See \`config.log' for more details" "$LINENO" 5; }
13712 else
13713 HIGHCONTRAST_CFLAGS=$pkg_cv_HIGHCONTRAST_CFLAGS
13714 HIGHCONTRAST_LIBS=$pkg_cv_HIGHCONTRAST_LIBS
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13716 $as_echo "yes" >&6; }
13717
13718 fi
13719 fi
13720
13721 GTK3_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`
13722
13723
13724 # Check whether --enable-gtk2-engine was given.
13725 if test "${enable_gtk2_engine+set}" = set; then :
13726 enableval=$enable_gtk2_engine; enable_gtk2_engine=$enableval
13727 else
13728 enable_gtk2_engine=yes
13729 fi
13730
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building gtk2 engine" >&5
13732 $as_echo_n "checking building gtk2 engine... " >&6; }
13733 if test "x$enable_gtk2_engine" = "xyes"; then
13734 GTK2_ENGINE_TRUE=
13735 GTK2_ENGINE_FALSE='#'
13736 else
13737 GTK2_ENGINE_TRUE='#'
13738 GTK2_ENGINE_FALSE=
13739 fi
13740
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk2_engine" >&5
13742 $as_echo "$enable_gtk2_engine" >&6; }
13743
13744 GTK2_VERSION_REQUIRED=2.24.15
13745 if test "x$enable_gtk2_engine" = "xyes"; then
13746
13747 pkg_failed=no
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2_ENGINE" >&5
13749 $as_echo_n "checking for GTK2_ENGINE... " >&6; }
13750
13751 if test -n "$GTK2_ENGINE_CFLAGS"; then
13752 pkg_cv_GTK2_ENGINE_CFLAGS="$GTK2_ENGINE_CFLAGS"
13753 elif test -n "$PKG_CONFIG"; then
13754 if test -n "$PKG_CONFIG" && \
13755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_VERSION_REQUIRED gdk-2.0 >= \$GTK2_VERSION_REQUIRED\""; } >&5
13756 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_VERSION_REQUIRED gdk-2.0 >= $GTK2_VERSION_REQUIRED") 2>&5
13757 ac_status=$?
13758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13759 test $ac_status = 0; }; then
13760 pkg_cv_GTK2_ENGINE_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK2_VERSION_REQUIRED gdk-2.0 >= $GTK2_VERSION_REQUIRED" 2>/dev/null`
13761 test "x$?" != "x0" && pkg_failed=yes
13762 else
13763 pkg_failed=yes
13764 fi
13765 else
13766 pkg_failed=untried
13767 fi
13768 if test -n "$GTK2_ENGINE_LIBS"; then
13769 pkg_cv_GTK2_ENGINE_LIBS="$GTK2_ENGINE_LIBS"
13770 elif test -n "$PKG_CONFIG"; then
13771 if test -n "$PKG_CONFIG" && \
13772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK2_VERSION_REQUIRED gdk-2.0 >= \$GTK2_VERSION_REQUIRED\""; } >&5
13773 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_VERSION_REQUIRED gdk-2.0 >= $GTK2_VERSION_REQUIRED") 2>&5
13774 ac_status=$?
13775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13776 test $ac_status = 0; }; then
13777 pkg_cv_GTK2_ENGINE_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK2_VERSION_REQUIRED gdk-2.0 >= $GTK2_VERSION_REQUIRED" 2>/dev/null`
13778 test "x$?" != "x0" && pkg_failed=yes
13779 else
13780 pkg_failed=yes
13781 fi
13782 else
13783 pkg_failed=untried
13784 fi
13785
13786
13787
13788 if test $pkg_failed = yes; then
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13790 $as_echo "no" >&6; }
13791
13792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13793 _pkg_short_errors_supported=yes
13794 else
13795 _pkg_short_errors_supported=no
13796 fi
13797 if test $_pkg_short_errors_supported = yes; then
13798 GTK2_ENGINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK2_VERSION_REQUIRED gdk-2.0 >= $GTK2_VERSION_REQUIRED" 2>&1`
13799 else
13800 GTK2_ENGINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK2_VERSION_REQUIRED gdk-2.0 >= $GTK2_VERSION_REQUIRED" 2>&1`
13801 fi
13802 # Put the nasty error message in config.log where it belongs
13803 echo "$GTK2_ENGINE_PKG_ERRORS" >&5
13804
13805 as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK2_VERSION_REQUIRED gdk-2.0 >= $GTK2_VERSION_REQUIRED) were not met:
13806
13807 $GTK2_ENGINE_PKG_ERRORS
13808
13809 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13810 installed software in a non-standard prefix.
13811
13812 Alternatively, you may set the environment variables GTK2_ENGINE_CFLAGS
13813 and GTK2_ENGINE_LIBS to avoid the need to call pkg-config.
13814 See the pkg-config man page for more details." "$LINENO" 5
13815 elif test $pkg_failed = untried; then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13817 $as_echo "no" >&6; }
13818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13820 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13821 is in your PATH or set the PKG_CONFIG environment variable to the full
13822 path to pkg-config.
13823
13824 Alternatively, you may set the environment variables GTK2_ENGINE_CFLAGS
13825 and GTK2_ENGINE_LIBS to avoid the need to call pkg-config.
13826 See the pkg-config man page for more details.
13827
13828 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13829 See \`config.log' for more details" "$LINENO" 5; }
13830 else
13831 GTK2_ENGINE_CFLAGS=$pkg_cv_GTK2_ENGINE_CFLAGS
13832 GTK2_ENGINE_LIBS=$pkg_cv_GTK2_ENGINE_LIBS
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13834 $as_echo "yes" >&6; }
13835
13836 fi
13837 fi
13838
13839 GTK2_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
13840
13841
13842 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
13843
13844
13845 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
13846 set dummy gtk-update-icon-cache; ac_word=$2
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13848 $as_echo_n "checking for $ac_word... " >&6; }
13849 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
13850 $as_echo_n "(cached) " >&6
13851 else
13852 case $GTK_UPDATE_ICON_CACHE in
13853 [\\/]* | ?:[\\/]*)
13854 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
13855 ;;
13856 *)
13857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13858 for as_dir in $PATH
13859 do
13860 IFS=$as_save_IFS
13861 test -z "$as_dir" && as_dir=.
13862 for ac_exec_ext in '' $ac_executable_extensions; do
13863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13864 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
13865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13866 break 2
13867 fi
13868 done
13869 done
13870 IFS=$as_save_IFS
13871
13872 ;;
13873 esac
13874 fi
13875 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
13876 if test -n "$GTK_UPDATE_ICON_CACHE"; then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
13878 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
13879 else
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13881 $as_echo "no" >&6; }
13882 fi
13883
13884
13885 if test -z "$GTK_UPDATE_ICON_CACHE"; then
13886 as_fn_error $? "Could not find gtk-update-icon-cache" "$LINENO" 5
13887 fi
13888
13889 # Workaround to make aclocal get the right flags
13890 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
13891
13892
13893 ac_config_files="$ac_config_files Makefile themes/Makefile themes/Adwaita/Makefile themes/Adwaita/gtk-2.0/Makefile themes/Adwaita/gtk-3.0/Makefile themes/Adwaita-dark/Makefile themes/Adwaita-dark/gtk-2.0/Makefile themes/Adwaita-dark/gtk-3.0/Makefile themes/HighContrast/Makefile themes/HighContrast/gtk-2.0/Makefile themes/HighContrast/gtk-3.0/Makefile themes/HighContrast/icons/Makefile po/Makefile.in"
13894
13895
13896 cat >confcache <<\_ACEOF
13897 # This file is a shell script that caches the results of configure
13898 # tests run on this system so they can be shared between configure
13899 # scripts and configure runs, see configure's option --config-cache.
13900 # It is not useful on other systems. If it contains results you don't
13901 # want to keep, you may remove or edit it.
13902 #
13903 # config.status only pays attention to the cache file if you give it
13904 # the --recheck option to rerun configure.
13905 #
13906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13908 # following values.
13909
13910 _ACEOF
13911
13912 # The following way of writing the cache mishandles newlines in values,
13913 # but we know of no workaround that is simple, portable, and efficient.
13914 # So, we kill variables containing newlines.
13915 # Ultrix sh set writes to stderr and can't be redirected directly,
13916 # and sets the high bit in the cache file unless we assign to the vars.
13917 (
13918 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13919 eval ac_val=\$$ac_var
13920 case $ac_val in #(
13921 *${as_nl}*)
13922 case $ac_var in #(
13923 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13924 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13925 esac
13926 case $ac_var in #(
13927 _ | IFS | as_nl) ;; #(
13928 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13929 *) { eval $ac_var=; unset $ac_var;} ;;
13930 esac ;;
13931 esac
13932 done
13933
13934 (set) 2>&1 |
13935 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13936 *${as_nl}ac_space=\ *)
13937 # `set' does not quote correctly, so add quotes: double-quote
13938 # substitution turns \\\\ into \\, and sed turns \\ into \.
13939 sed -n \
13940 "s/'/'\\\\''/g;
13941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13942 ;; #(
13943 *)
13944 # `set' quotes correctly as required by POSIX, so do not add quotes.
13945 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13946 ;;
13947 esac |
13948 sort
13949 ) |
13950 sed '
13951 /^ac_cv_env_/b end
13952 t clear
13953 :clear
13954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13955 t end
13956 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13957 :end' >>confcache
13958 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13959 if test -w "$cache_file"; then
13960 if test "x$cache_file" != "x/dev/null"; then
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13962 $as_echo "$as_me: updating cache $cache_file" >&6;}
13963 if test ! -f "$cache_file" || test -h "$cache_file"; then
13964 cat confcache >"$cache_file"
13965 else
13966 case $cache_file in #(
13967 */* | ?:*)
13968 mv -f confcache "$cache_file"$$ &&
13969 mv -f "$cache_file"$$ "$cache_file" ;; #(
13970 *)
13971 mv -f confcache "$cache_file" ;;
13972 esac
13973 fi
13974 fi
13975 else
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13977 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13978 fi
13979 fi
13980 rm -f confcache
13981
13982 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13983 # Let make expand exec_prefix.
13984 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13985
13986 # Transform confdefs.h into DEFS.
13987 # Protect against shell expansion while executing Makefile rules.
13988 # Protect against Makefile macro expansion.
13989 #
13990 # If the first sed substitution is executed (which looks for macros that
13991 # take arguments), then branch to the quote section. Otherwise,
13992 # look for a macro that doesn't take arguments.
13993 ac_script='
13994 :mline
13995 /\\$/{
13996 N
13997 s,\\\n,,
13998 b mline
13999 }
14000 t clear
14001 :clear
14002 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14003 t quote
14004 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14005 t quote
14006 b any
14007 :quote
14008 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14009 s/\[/\\&/g
14010 s/\]/\\&/g
14011 s/\$/$$/g
14012 H
14013 :any
14014 ${
14015 g
14016 s/^\n//
14017 s/\n/ /g
14018 p
14019 }
14020 '
14021 DEFS=`sed -n "$ac_script" confdefs.h`
14022
14023
14024 ac_libobjs=
14025 ac_ltlibobjs=
14026 U=
14027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14028 # 1. Remove the extension, and $U if already installed.
14029 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14030 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14031 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14032 # will be set to the directory where LIBOBJS objects are built.
14033 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14034 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14035 done
14036 LIBOBJS=$ac_libobjs
14037
14038 LTLIBOBJS=$ac_ltlibobjs
14039
14040
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14042 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14043 if test -n "$am_sleep_pid"; then
14044 # Hide warnings about reused PIDs.
14045 wait $am_sleep_pid 2>/dev/null
14046 fi
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14048 $as_echo "done" >&6; }
14049 if test -n "$EXEEXT"; then
14050 am__EXEEXT_TRUE=
14051 am__EXEEXT_FALSE='#'
14052 else
14053 am__EXEEXT_TRUE='#'
14054 am__EXEEXT_FALSE=
14055 fi
14056
14057 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14058 as_fn_error $? "conditional \"AMDEP\" was never defined.
14059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14060 fi
14061 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14062 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14064 fi
14065
14066 ac_config_commands="$ac_config_commands po/stamp-it"
14067
14068
14069 if test -z "${GTK3_ENGINE_TRUE}" && test -z "${GTK3_ENGINE_FALSE}"; then
14070 as_fn_error $? "conditional \"GTK3_ENGINE\" was never defined.
14071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14072 fi
14073 if test -z "${GTK2_ENGINE_TRUE}" && test -z "${GTK2_ENGINE_FALSE}"; then
14074 as_fn_error $? "conditional \"GTK2_ENGINE\" was never defined.
14075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14076 fi
14077
14078 : "${CONFIG_STATUS=./config.status}"
14079 ac_write_fail=0
14080 ac_clean_files_save=$ac_clean_files
14081 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14083 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14084 as_write_fail=0
14085 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14086 #! $SHELL
14087 # Generated by $as_me.
14088 # Run this file to recreate the current configuration.
14089 # Compiler output produced by configure, useful for debugging
14090 # configure, is in config.log if it exists.
14091
14092 debug=false
14093 ac_cs_recheck=false
14094 ac_cs_silent=false
14095
14096 SHELL=\${CONFIG_SHELL-$SHELL}
14097 export SHELL
14098 _ASEOF
14099 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14100 ## -------------------- ##
14101 ## M4sh Initialization. ##
14102 ## -------------------- ##
14103
14104 # Be more Bourne compatible
14105 DUALCASE=1; export DUALCASE # for MKS sh
14106 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14107 emulate sh
14108 NULLCMD=:
14109 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14110 # is contrary to our usage. Disable this feature.
14111 alias -g '${1+"$@"}'='"$@"'
14112 setopt NO_GLOB_SUBST
14113 else
14114 case `(set -o) 2>/dev/null` in #(
14115 *posix*) :
14116 set -o posix ;; #(
14117 *) :
14118 ;;
14119 esac
14120 fi
14121
14122
14123 as_nl='
14124 '
14125 export as_nl
14126 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14127 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14128 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14129 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14130 # Prefer a ksh shell builtin over an external printf program on Solaris,
14131 # but without wasting forks for bash or zsh.
14132 if test -z "$BASH_VERSION$ZSH_VERSION" \
14133 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14134 as_echo='print -r --'
14135 as_echo_n='print -rn --'
14136 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14137 as_echo='printf %s\n'
14138 as_echo_n='printf %s'
14139 else
14140 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14141 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14142 as_echo_n='/usr/ucb/echo -n'
14143 else
14144 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14145 as_echo_n_body='eval
14146 arg=$1;
14147 case $arg in #(
14148 *"$as_nl"*)
14149 expr "X$arg" : "X\\(.*\\)$as_nl";
14150 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14151 esac;
14152 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14153 '
14154 export as_echo_n_body
14155 as_echo_n='sh -c $as_echo_n_body as_echo'
14156 fi
14157 export as_echo_body
14158 as_echo='sh -c $as_echo_body as_echo'
14159 fi
14160
14161 # The user is always right.
14162 if test "${PATH_SEPARATOR+set}" != set; then
14163 PATH_SEPARATOR=:
14164 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14165 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14166 PATH_SEPARATOR=';'
14167 }
14168 fi
14169
14170
14171 # IFS
14172 # We need space, tab and new line, in precisely that order. Quoting is
14173 # there to prevent editors from complaining about space-tab.
14174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14175 # splitting by setting IFS to empty value.)
14176 IFS=" "" $as_nl"
14177
14178 # Find who we are. Look in the path if we contain no directory separator.
14179 as_myself=
14180 case $0 in #((
14181 *[\\/]* ) as_myself=$0 ;;
14182 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14183 for as_dir in $PATH
14184 do
14185 IFS=$as_save_IFS
14186 test -z "$as_dir" && as_dir=.
14187 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14188 done
14189 IFS=$as_save_IFS
14190
14191 ;;
14192 esac
14193 # We did not find ourselves, most probably we were run as `sh COMMAND'
14194 # in which case we are not to be found in the path.
14195 if test "x$as_myself" = x; then
14196 as_myself=$0
14197 fi
14198 if test ! -f "$as_myself"; then
14199 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14200 exit 1
14201 fi
14202
14203 # Unset variables that we do not need and which cause bugs (e.g. in
14204 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14205 # suppresses any "Segmentation fault" message there. '((' could
14206 # trigger a bug in pdksh 5.2.14.
14207 for as_var in BASH_ENV ENV MAIL MAILPATH
14208 do eval test x\${$as_var+set} = xset \
14209 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14210 done
14211 PS1='$ '
14212 PS2='> '
14213 PS4='+ '
14214
14215 # NLS nuisances.
14216 LC_ALL=C
14217 export LC_ALL
14218 LANGUAGE=C
14219 export LANGUAGE
14220
14221 # CDPATH.
14222 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14223
14224
14225 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14226 # ----------------------------------------
14227 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14228 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14229 # script with STATUS, using 1 if that was 0.
14230 as_fn_error ()
14231 {
14232 as_status=$1; test $as_status -eq 0 && as_status=1
14233 if test "$4"; then
14234 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14235 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14236 fi
14237 $as_echo "$as_me: error: $2" >&2
14238 as_fn_exit $as_status
14239 } # as_fn_error
14240
14241
14242 # as_fn_set_status STATUS
14243 # -----------------------
14244 # Set $? to STATUS, without forking.
14245 as_fn_set_status ()
14246 {
14247 return $1
14248 } # as_fn_set_status
14249
14250 # as_fn_exit STATUS
14251 # -----------------
14252 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14253 as_fn_exit ()
14254 {
14255 set +e
14256 as_fn_set_status $1
14257 exit $1
14258 } # as_fn_exit
14259
14260 # as_fn_unset VAR
14261 # ---------------
14262 # Portably unset VAR.
14263 as_fn_unset ()
14264 {
14265 { eval $1=; unset $1;}
14266 }
14267 as_unset=as_fn_unset
14268 # as_fn_append VAR VALUE
14269 # ----------------------
14270 # Append the text in VALUE to the end of the definition contained in VAR. Take
14271 # advantage of any shell optimizations that allow amortized linear growth over
14272 # repeated appends, instead of the typical quadratic growth present in naive
14273 # implementations.
14274 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14275 eval 'as_fn_append ()
14276 {
14277 eval $1+=\$2
14278 }'
14279 else
14280 as_fn_append ()
14281 {
14282 eval $1=\$$1\$2
14283 }
14284 fi # as_fn_append
14285
14286 # as_fn_arith ARG...
14287 # ------------------
14288 # Perform arithmetic evaluation on the ARGs, and store the result in the
14289 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14290 # must be portable across $(()) and expr.
14291 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14292 eval 'as_fn_arith ()
14293 {
14294 as_val=$(( $* ))
14295 }'
14296 else
14297 as_fn_arith ()
14298 {
14299 as_val=`expr "$@" || test $? -eq 1`
14300 }
14301 fi # as_fn_arith
14302
14303
14304 if expr a : '\(a\)' >/dev/null 2>&1 &&
14305 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14306 as_expr=expr
14307 else
14308 as_expr=false
14309 fi
14310
14311 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14312 as_basename=basename
14313 else
14314 as_basename=false
14315 fi
14316
14317 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14318 as_dirname=dirname
14319 else
14320 as_dirname=false
14321 fi
14322
14323 as_me=`$as_basename -- "$0" ||
14324 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14325 X"$0" : 'X\(//\)$' \| \
14326 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14327 $as_echo X/"$0" |
14328 sed '/^.*\/\([^/][^/]*\)\/*$/{
14329 s//\1/
14330 q
14331 }
14332 /^X\/\(\/\/\)$/{
14333 s//\1/
14334 q
14335 }
14336 /^X\/\(\/\).*/{
14337 s//\1/
14338 q
14339 }
14340 s/.*/./; q'`
14341
14342 # Avoid depending upon Character Ranges.
14343 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14344 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14345 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14346 as_cr_digits='0123456789'
14347 as_cr_alnum=$as_cr_Letters$as_cr_digits
14348
14349 ECHO_C= ECHO_N= ECHO_T=
14350 case `echo -n x` in #(((((
14351 -n*)
14352 case `echo 'xy\c'` in
14353 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14354 xy) ECHO_C='\c';;
14355 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14356 ECHO_T=' ';;
14357 esac;;
14358 *)
14359 ECHO_N='-n';;
14360 esac
14361
14362 rm -f conf$$ conf$$.exe conf$$.file
14363 if test -d conf$$.dir; then
14364 rm -f conf$$.dir/conf$$.file
14365 else
14366 rm -f conf$$.dir
14367 mkdir conf$$.dir 2>/dev/null
14368 fi
14369 if (echo >conf$$.file) 2>/dev/null; then
14370 if ln -s conf$$.file conf$$ 2>/dev/null; then
14371 as_ln_s='ln -s'
14372 # ... but there are two gotchas:
14373 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14374 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14375 # In both cases, we have to default to `cp -pR'.
14376 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14377 as_ln_s='cp -pR'
14378 elif ln conf$$.file conf$$ 2>/dev/null; then
14379 as_ln_s=ln
14380 else
14381 as_ln_s='cp -pR'
14382 fi
14383 else
14384 as_ln_s='cp -pR'
14385 fi
14386 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14387 rmdir conf$$.dir 2>/dev/null
14388
14389
14390 # as_fn_mkdir_p
14391 # -------------
14392 # Create "$as_dir" as a directory, including parents if necessary.
14393 as_fn_mkdir_p ()
14394 {
14395
14396 case $as_dir in #(
14397 -*) as_dir=./$as_dir;;
14398 esac
14399 test -d "$as_dir" || eval $as_mkdir_p || {
14400 as_dirs=
14401 while :; do
14402 case $as_dir in #(
14403 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14404 *) as_qdir=$as_dir;;
14405 esac
14406 as_dirs="'$as_qdir' $as_dirs"
14407 as_dir=`$as_dirname -- "$as_dir" ||
14408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14409 X"$as_dir" : 'X\(//\)[^/]' \| \
14410 X"$as_dir" : 'X\(//\)$' \| \
14411 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14412 $as_echo X"$as_dir" |
14413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14414 s//\1/
14415 q
14416 }
14417 /^X\(\/\/\)[^/].*/{
14418 s//\1/
14419 q
14420 }
14421 /^X\(\/\/\)$/{
14422 s//\1/
14423 q
14424 }
14425 /^X\(\/\).*/{
14426 s//\1/
14427 q
14428 }
14429 s/.*/./; q'`
14430 test -d "$as_dir" && break
14431 done
14432 test -z "$as_dirs" || eval "mkdir $as_dirs"
14433 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14434
14435
14436 } # as_fn_mkdir_p
14437 if mkdir -p . 2>/dev/null; then
14438 as_mkdir_p='mkdir -p "$as_dir"'
14439 else
14440 test -d ./-p && rmdir ./-p
14441 as_mkdir_p=false
14442 fi
14443
14444
14445 # as_fn_executable_p FILE
14446 # -----------------------
14447 # Test if FILE is an executable regular file.
14448 as_fn_executable_p ()
14449 {
14450 test -f "$1" && test -x "$1"
14451 } # as_fn_executable_p
14452 as_test_x='test -x'
14453 as_executable_p=as_fn_executable_p
14454
14455 # Sed expression to map a string onto a valid CPP name.
14456 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14457
14458 # Sed expression to map a string onto a valid variable name.
14459 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14460
14461
14462 exec 6>&1
14463 ## ----------------------------------- ##
14464 ## Main body of $CONFIG_STATUS script. ##
14465 ## ----------------------------------- ##
14466 _ASEOF
14467 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14468
14469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14470 # Save the log message, to keep $0 and so on meaningful, and to
14471 # report actual input values of CONFIG_FILES etc. instead of their
14472 # values after options handling.
14473 ac_log="
14474 This file was extended by gnome-themes-extra $as_me 3.28, which was
14475 generated by GNU Autoconf 2.69. Invocation command line was
14476
14477 CONFIG_FILES = $CONFIG_FILES
14478 CONFIG_HEADERS = $CONFIG_HEADERS
14479 CONFIG_LINKS = $CONFIG_LINKS
14480 CONFIG_COMMANDS = $CONFIG_COMMANDS
14481 $ $0 $@
14482
14483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14484 "
14485
14486 _ACEOF
14487
14488 case $ac_config_files in *"
14489 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14490 esac
14491
14492
14493
14494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14495 # Files that config.status was made for.
14496 config_files="$ac_config_files"
14497 config_commands="$ac_config_commands"
14498
14499 _ACEOF
14500
14501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14502 ac_cs_usage="\
14503 \`$as_me' instantiates files and other configuration actions
14504 from templates according to the current configuration. Unless the files
14505 and actions are specified as TAGs, all are instantiated by default.
14506
14507 Usage: $0 [OPTION]... [TAG]...
14508
14509 -h, --help print this help, then exit
14510 -V, --version print version number and configuration settings, then exit
14511 --config print configuration, then exit
14512 -q, --quiet, --silent
14513 do not print progress messages
14514 -d, --debug don't remove temporary files
14515 --recheck update $as_me by reconfiguring in the same conditions
14516 --file=FILE[:TEMPLATE]
14517 instantiate the configuration file FILE
14518
14519 Configuration files:
14520 $config_files
14521
14522 Configuration commands:
14523 $config_commands
14524
14525 Report bugs to <https://gitlab.gnome.org/GNOME/gnome-themes-extra/issues>."
14526
14527 _ACEOF
14528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14529 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14530 ac_cs_version="\\
14531 gnome-themes-extra config.status 3.28
14532 configured by $0, generated by GNU Autoconf 2.69,
14533 with options \\"\$ac_cs_config\\"
14534
14535 Copyright (C) 2012 Free Software Foundation, Inc.
14536 This config.status script is free software; the Free Software Foundation
14537 gives unlimited permission to copy, distribute and modify it."
14538
14539 ac_pwd='$ac_pwd'
14540 srcdir='$srcdir'
14541 INSTALL='$INSTALL'
14542 MKDIR_P='$MKDIR_P'
14543 AWK='$AWK'
14544 test -n "\$AWK" || AWK=awk
14545 _ACEOF
14546
14547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14548 # The default lists apply if the user does not specify any file.
14549 ac_need_defaults=:
14550 while test $# != 0
14551 do
14552 case $1 in
14553 --*=?*)
14554 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14555 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14556 ac_shift=:
14557 ;;
14558 --*=)
14559 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14560 ac_optarg=
14561 ac_shift=:
14562 ;;
14563 *)
14564 ac_option=$1
14565 ac_optarg=$2
14566 ac_shift=shift
14567 ;;
14568 esac
14569
14570 case $ac_option in
14571 # Handling of the options.
14572 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14573 ac_cs_recheck=: ;;
14574 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14575 $as_echo "$ac_cs_version"; exit ;;
14576 --config | --confi | --conf | --con | --co | --c )
14577 $as_echo "$ac_cs_config"; exit ;;
14578 --debug | --debu | --deb | --de | --d | -d )
14579 debug=: ;;
14580 --file | --fil | --fi | --f )
14581 $ac_shift
14582 case $ac_optarg in
14583 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14584 '') as_fn_error $? "missing file argument" ;;
14585 esac
14586 as_fn_append CONFIG_FILES " '$ac_optarg'"
14587 ac_need_defaults=false;;
14588 --he | --h | --help | --hel | -h )
14589 $as_echo "$ac_cs_usage"; exit ;;
14590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14591 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14592 ac_cs_silent=: ;;
14593
14594 # This is an error.
14595 -*) as_fn_error $? "unrecognized option: \`$1'
14596 Try \`$0 --help' for more information." ;;
14597
14598 *) as_fn_append ac_config_targets " $1"
14599 ac_need_defaults=false ;;
14600
14601 esac
14602 shift
14603 done
14604
14605 ac_configure_extra_args=
14606
14607 if $ac_cs_silent; then
14608 exec 6>/dev/null
14609 ac_configure_extra_args="$ac_configure_extra_args --silent"
14610 fi
14611
14612 _ACEOF
14613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14614 if \$ac_cs_recheck; then
14615 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14616 shift
14617 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14618 CONFIG_SHELL='$SHELL'
14619 export CONFIG_SHELL
14620 exec "\$@"
14621 fi
14622
14623 _ACEOF
14624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14625 exec 5>>config.log
14626 {
14627 echo
14628 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14629 ## Running $as_me. ##
14630 _ASBOX
14631 $as_echo "$ac_log"
14632 } >&5
14633
14634 _ACEOF
14635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14636 #
14637 # INIT-COMMANDS
14638 #
14639 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14640
14641
14642 # The HP-UX ksh and POSIX shell print the target directory to stdout
14643 # if CDPATH is set.
14644 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14645
14646 sed_quote_subst='$sed_quote_subst'
14647 double_quote_subst='$double_quote_subst'
14648 delay_variable_subst='$delay_variable_subst'
14649 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14650 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14651 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14652 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14653 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14654 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14655 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14656 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14657 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14658 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14659 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14660 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14661 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14662 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14663 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14664 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14665 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14666 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14667 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14668 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14669 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14670 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14671 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14672 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14673 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14674 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14675 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14676 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14677 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14678 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14679 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14680 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14681 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14682 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14683 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14684 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14685 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14686 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14687 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14688 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14689 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14690 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14691 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14692 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14693 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14694 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14695 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14696 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14697 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14698 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14699 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14700 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14701 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14702 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14703 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14704 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14705 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14706 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14707 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14708 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"`'
14709 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14710 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14711 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14712 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14713 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14714 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14715 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14716 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14717 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14718 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14719 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14720 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14721 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14722 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14723 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14724 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14725 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14726 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14727 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14728 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14729 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14730 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14731 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14732 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14733 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14734 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14735 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14736 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14737 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14738 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14739 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14740 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14741 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14742 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14743 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14744 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14745 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14746 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14747 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14748 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14749 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14750 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14751 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14752 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14753 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14754 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14755 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14756 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14757 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14758 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14759 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14760 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14761 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14762 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14763 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14764 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14765 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14766 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14767 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14768 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14769 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14770 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14771 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14772 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14773 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14774 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14775 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14776 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14777 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14778 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14779 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14780 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14781 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14782 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14783 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14784 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14785
14786 LTCC='$LTCC'
14787 LTCFLAGS='$LTCFLAGS'
14788 compiler='$compiler_DEFAULT'
14789
14790 # A function that is used when there is no print builtin or printf.
14791 func_fallback_echo ()
14792 {
14793 eval 'cat <<_LTECHO_EOF
14794 \$1
14795 _LTECHO_EOF'
14796 }
14797
14798 # Quote evaled strings.
14799 for var in AS \
14800 DLLTOOL \
14801 OBJDUMP \
14802 SHELL \
14803 ECHO \
14804 PATH_SEPARATOR \
14805 SED \
14806 GREP \
14807 EGREP \
14808 FGREP \
14809 LD \
14810 NM \
14811 LN_S \
14812 lt_SP2NL \
14813 lt_NL2SP \
14814 reload_flag \
14815 deplibs_check_method \
14816 file_magic_cmd \
14817 file_magic_glob \
14818 want_nocaseglob \
14819 sharedlib_from_linklib_cmd \
14820 AR \
14821 AR_FLAGS \
14822 archiver_list_spec \
14823 STRIP \
14824 RANLIB \
14825 CC \
14826 CFLAGS \
14827 compiler \
14828 lt_cv_sys_global_symbol_pipe \
14829 lt_cv_sys_global_symbol_to_cdecl \
14830 lt_cv_sys_global_symbol_to_import \
14831 lt_cv_sys_global_symbol_to_c_name_address \
14832 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14833 lt_cv_nm_interface \
14834 nm_file_list_spec \
14835 lt_cv_truncate_bin \
14836 lt_prog_compiler_no_builtin_flag \
14837 lt_prog_compiler_pic \
14838 lt_prog_compiler_wl \
14839 lt_prog_compiler_static \
14840 lt_cv_prog_compiler_c_o \
14841 need_locks \
14842 MANIFEST_TOOL \
14843 DSYMUTIL \
14844 NMEDIT \
14845 LIPO \
14846 OTOOL \
14847 OTOOL64 \
14848 shrext_cmds \
14849 export_dynamic_flag_spec \
14850 whole_archive_flag_spec \
14851 compiler_needs_object \
14852 with_gnu_ld \
14853 allow_undefined_flag \
14854 no_undefined_flag \
14855 hardcode_libdir_flag_spec \
14856 hardcode_libdir_separator \
14857 exclude_expsyms \
14858 include_expsyms \
14859 file_list_spec \
14860 variables_saved_for_relink \
14861 libname_spec \
14862 library_names_spec \
14863 soname_spec \
14864 install_override_mode \
14865 finish_eval \
14866 old_striplib \
14867 striplib; do
14868 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14869 *[\\\\\\\`\\"\\\$]*)
14870 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14871 ;;
14872 *)
14873 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14874 ;;
14875 esac
14876 done
14877
14878 # Double-quote double-evaled strings.
14879 for var in reload_cmds \
14880 old_postinstall_cmds \
14881 old_postuninstall_cmds \
14882 old_archive_cmds \
14883 extract_expsyms_cmds \
14884 old_archive_from_new_cmds \
14885 old_archive_from_expsyms_cmds \
14886 archive_cmds \
14887 archive_expsym_cmds \
14888 module_cmds \
14889 module_expsym_cmds \
14890 export_symbols_cmds \
14891 prelink_cmds \
14892 postlink_cmds \
14893 postinstall_cmds \
14894 postuninstall_cmds \
14895 finish_cmds \
14896 sys_lib_search_path_spec \
14897 configure_time_dlsearch_path \
14898 configure_time_lt_sys_library_path; do
14899 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14900 *[\\\\\\\`\\"\\\$]*)
14901 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14902 ;;
14903 *)
14904 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14905 ;;
14906 esac
14907 done
14908
14909 ac_aux_dir='$ac_aux_dir'
14910
14911 # See if we are running on zsh, and set the options that allow our
14912 # commands through without removal of \ escapes INIT.
14913 if test -n "\${ZSH_VERSION+set}"; then
14914 setopt NO_GLOB_SUBST
14915 fi
14916
14917
14918 PACKAGE='$PACKAGE'
14919 VERSION='$VERSION'
14920 RM='$RM'
14921 ofile='$ofile'
14922
14923
14924
14925
14926 _ACEOF
14927
14928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14929
14930 # Handling of arguments.
14931 for ac_config_target in $ac_config_targets
14932 do
14933 case $ac_config_target in
14934 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14935 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14936 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14937 "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
14938 "themes/Adwaita/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Adwaita/Makefile" ;;
14939 "themes/Adwaita/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Adwaita/gtk-2.0/Makefile" ;;
14940 "themes/Adwaita/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Adwaita/gtk-3.0/Makefile" ;;
14941 "themes/Adwaita-dark/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Adwaita-dark/Makefile" ;;
14942 "themes/Adwaita-dark/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Adwaita-dark/gtk-2.0/Makefile" ;;
14943 "themes/Adwaita-dark/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Adwaita-dark/gtk-3.0/Makefile" ;;
14944 "themes/HighContrast/Makefile") CONFIG_FILES="$CONFIG_FILES themes/HighContrast/Makefile" ;;
14945 "themes/HighContrast/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/HighContrast/gtk-2.0/Makefile" ;;
14946 "themes/HighContrast/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES themes/HighContrast/gtk-3.0/Makefile" ;;
14947 "themes/HighContrast/icons/Makefile") CONFIG_FILES="$CONFIG_FILES themes/HighContrast/icons/Makefile" ;;
14948 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14949 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14950
14951 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14952 esac
14953 done
14954
14955
14956 # If the user did not use the arguments to specify the items to instantiate,
14957 # then the envvar interface is used. Set only those that are not.
14958 # We use the long form for the default assignment because of an extremely
14959 # bizarre bug on SunOS 4.1.3.
14960 if $ac_need_defaults; then
14961 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14962 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14963 fi
14964
14965 # Have a temporary directory for convenience. Make it in the build tree
14966 # simply because there is no reason against having it here, and in addition,
14967 # creating and moving files from /tmp can sometimes cause problems.
14968 # Hook for its removal unless debugging.
14969 # Note that there is a small window in which the directory will not be cleaned:
14970 # after its creation but before its name has been assigned to `$tmp'.
14971 $debug ||
14972 {
14973 tmp= ac_tmp=
14974 trap 'exit_status=$?
14975 : "${ac_tmp:=$tmp}"
14976 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14977 ' 0
14978 trap 'as_fn_exit 1' 1 2 13 15
14979 }
14980 # Create a (secure) tmp directory for tmp files.
14981
14982 {
14983 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14984 test -d "$tmp"
14985 } ||
14986 {
14987 tmp=./conf$$-$RANDOM
14988 (umask 077 && mkdir "$tmp")
14989 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14990 ac_tmp=$tmp
14991
14992 # Set up the scripts for CONFIG_FILES section.
14993 # No need to generate them if there are no CONFIG_FILES.
14994 # This happens for instance with `./config.status config.h'.
14995 if test -n "$CONFIG_FILES"; then
14996
14997
14998 ac_cr=`echo X | tr X '\015'`
14999 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15000 # But we know of no other shell where ac_cr would be empty at this
15001 # point, so we can use a bashism as a fallback.
15002 if test "x$ac_cr" = x; then
15003 eval ac_cr=\$\'\\r\'
15004 fi
15005 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15006 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15007 ac_cs_awk_cr='\\r'
15008 else
15009 ac_cs_awk_cr=$ac_cr
15010 fi
15011
15012 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15013 _ACEOF
15014
15015
15016 {
15017 echo "cat >conf$$subs.awk <<_ACEOF" &&
15018 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15019 echo "_ACEOF"
15020 } >conf$$subs.sh ||
15021 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15022 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15023 ac_delim='%!_!# '
15024 for ac_last_try in false false false false false :; do
15025 . ./conf$$subs.sh ||
15026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15027
15028 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15029 if test $ac_delim_n = $ac_delim_num; then
15030 break
15031 elif $ac_last_try; then
15032 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15033 else
15034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15035 fi
15036 done
15037 rm -f conf$$subs.sh
15038
15039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15040 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15041 _ACEOF
15042 sed -n '
15043 h
15044 s/^/S["/; s/!.*/"]=/
15045 p
15046 g
15047 s/^[^!]*!//
15048 :repl
15049 t repl
15050 s/'"$ac_delim"'$//
15051 t delim
15052 :nl
15053 h
15054 s/\(.\{148\}\)..*/\1/
15055 t more1
15056 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15057 p
15058 n
15059 b repl
15060 :more1
15061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15062 p
15063 g
15064 s/.\{148\}//
15065 t nl
15066 :delim
15067 h
15068 s/\(.\{148\}\)..*/\1/
15069 t more2
15070 s/["\\]/\\&/g; s/^/"/; s/$/"/
15071 p
15072 b
15073 :more2
15074 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15075 p
15076 g
15077 s/.\{148\}//
15078 t delim
15079 ' <conf$$subs.awk | sed '
15080 /^[^""]/{
15081 N
15082 s/\n//
15083 }
15084 ' >>$CONFIG_STATUS || ac_write_fail=1
15085 rm -f conf$$subs.awk
15086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15087 _ACAWK
15088 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15089 for (key in S) S_is_set[key] = 1
15090 FS = ""
15091
15092 }
15093 {
15094 line = $ 0
15095 nfields = split(line, field, "@")
15096 substed = 0
15097 len = length(field[1])
15098 for (i = 2; i < nfields; i++) {
15099 key = field[i]
15100 keylen = length(key)
15101 if (S_is_set[key]) {
15102 value = S[key]
15103 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15104 len += length(value) + length(field[++i])
15105 substed = 1
15106 } else
15107 len += 1 + keylen
15108 }
15109
15110 print line
15111 }
15112
15113 _ACAWK
15114 _ACEOF
15115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15116 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15117 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15118 else
15119 cat
15120 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15121 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15122 _ACEOF
15123
15124 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15125 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15126 # trailing colons and then remove the whole line if VPATH becomes empty
15127 # (actually we leave an empty line to preserve line numbers).
15128 if test "x$srcdir" = x.; then
15129 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15130 h
15131 s///
15132 s/^/:/
15133 s/[ ]*$/:/
15134 s/:\$(srcdir):/:/g
15135 s/:\${srcdir}:/:/g
15136 s/:@srcdir@:/:/g
15137 s/^:*//
15138 s/:*$//
15139 x
15140 s/\(=[ ]*\).*/\1/
15141 G
15142 s/\n//
15143 s/^[^=]*=[ ]*$//
15144 }'
15145 fi
15146
15147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15148 fi # test -n "$CONFIG_FILES"
15149
15150
15151 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
15152 shift
15153 for ac_tag
15154 do
15155 case $ac_tag in
15156 :[FHLC]) ac_mode=$ac_tag; continue;;
15157 esac
15158 case $ac_mode$ac_tag in
15159 :[FHL]*:*);;
15160 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15161 :[FH]-) ac_tag=-:-;;
15162 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15163 esac
15164 ac_save_IFS=$IFS
15165 IFS=:
15166 set x $ac_tag
15167 IFS=$ac_save_IFS
15168 shift
15169 ac_file=$1
15170 shift
15171
15172 case $ac_mode in
15173 :L) ac_source=$1;;
15174 :[FH])
15175 ac_file_inputs=
15176 for ac_f
15177 do
15178 case $ac_f in
15179 -) ac_f="$ac_tmp/stdin";;
15180 *) # Look for the file first in the build tree, then in the source tree
15181 # (if the path is not absolute). The absolute path cannot be DOS-style,
15182 # because $ac_f cannot contain `:'.
15183 test -f "$ac_f" ||
15184 case $ac_f in
15185 [\\/$]*) false;;
15186 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15187 esac ||
15188 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15189 esac
15190 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15191 as_fn_append ac_file_inputs " '$ac_f'"
15192 done
15193
15194 # Let's still pretend it is `configure' which instantiates (i.e., don't
15195 # use $as_me), people would be surprised to read:
15196 # /* config.h. Generated by config.status. */
15197 configure_input='Generated from '`
15198 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15199 `' by configure.'
15200 if test x"$ac_file" != x-; then
15201 configure_input="$ac_file. $configure_input"
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15203 $as_echo "$as_me: creating $ac_file" >&6;}
15204 fi
15205 # Neutralize special characters interpreted by sed in replacement strings.
15206 case $configure_input in #(
15207 *\&* | *\|* | *\\* )
15208 ac_sed_conf_input=`$as_echo "$configure_input" |
15209 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15210 *) ac_sed_conf_input=$configure_input;;
15211 esac
15212
15213 case $ac_tag in
15214 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15215 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15216 esac
15217 ;;
15218 esac
15219
15220 ac_dir=`$as_dirname -- "$ac_file" ||
15221 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15222 X"$ac_file" : 'X\(//\)[^/]' \| \
15223 X"$ac_file" : 'X\(//\)$' \| \
15224 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15225 $as_echo X"$ac_file" |
15226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15227 s//\1/
15228 q
15229 }
15230 /^X\(\/\/\)[^/].*/{
15231 s//\1/
15232 q
15233 }
15234 /^X\(\/\/\)$/{
15235 s//\1/
15236 q
15237 }
15238 /^X\(\/\).*/{
15239 s//\1/
15240 q
15241 }
15242 s/.*/./; q'`
15243 as_dir="$ac_dir"; as_fn_mkdir_p
15244 ac_builddir=.
15245
15246 case "$ac_dir" in
15247 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15248 *)
15249 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15250 # A ".." for each directory in $ac_dir_suffix.
15251 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15252 case $ac_top_builddir_sub in
15253 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15254 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15255 esac ;;
15256 esac
15257 ac_abs_top_builddir=$ac_pwd
15258 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15259 # for backward compatibility:
15260 ac_top_builddir=$ac_top_build_prefix
15261
15262 case $srcdir in
15263 .) # We are building in place.
15264 ac_srcdir=.
15265 ac_top_srcdir=$ac_top_builddir_sub
15266 ac_abs_top_srcdir=$ac_pwd ;;
15267 [\\/]* | ?:[\\/]* ) # Absolute name.
15268 ac_srcdir=$srcdir$ac_dir_suffix;
15269 ac_top_srcdir=$srcdir
15270 ac_abs_top_srcdir=$srcdir ;;
15271 *) # Relative name.
15272 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15273 ac_top_srcdir=$ac_top_build_prefix$srcdir
15274 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15275 esac
15276 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15277
15278
15279 case $ac_mode in
15280 :F)
15281 #
15282 # CONFIG_FILE
15283 #
15284
15285 case $INSTALL in
15286 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15287 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15288 esac
15289 ac_MKDIR_P=$MKDIR_P
15290 case $MKDIR_P in
15291 [\\/$]* | ?:[\\/]* ) ;;
15292 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15293 esac
15294 _ACEOF
15295
15296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15297 # If the template does not know about datarootdir, expand it.
15298 # FIXME: This hack should be removed a few years after 2.60.
15299 ac_datarootdir_hack=; ac_datarootdir_seen=
15300 ac_sed_dataroot='
15301 /datarootdir/ {
15302 p
15303 q
15304 }
15305 /@datadir@/p
15306 /@docdir@/p
15307 /@infodir@/p
15308 /@localedir@/p
15309 /@mandir@/p'
15310 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15311 *datarootdir*) ac_datarootdir_seen=yes;;
15312 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15314 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15315 _ACEOF
15316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15317 ac_datarootdir_hack='
15318 s&@datadir@&$datadir&g
15319 s&@docdir@&$docdir&g
15320 s&@infodir@&$infodir&g
15321 s&@localedir@&$localedir&g
15322 s&@mandir@&$mandir&g
15323 s&\\\${datarootdir}&$datarootdir&g' ;;
15324 esac
15325 _ACEOF
15326
15327 # Neutralize VPATH when `$srcdir' = `.'.
15328 # Shell code in configure.ac might set extrasub.
15329 # FIXME: do we really want to maintain this feature?
15330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15331 ac_sed_extra="$ac_vpsub
15332 $extrasub
15333 _ACEOF
15334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15335 :t
15336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15337 s|@configure_input@|$ac_sed_conf_input|;t t
15338 s&@top_builddir@&$ac_top_builddir_sub&;t t
15339 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15340 s&@srcdir@&$ac_srcdir&;t t
15341 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15342 s&@top_srcdir@&$ac_top_srcdir&;t t
15343 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15344 s&@builddir@&$ac_builddir&;t t
15345 s&@abs_builddir@&$ac_abs_builddir&;t t
15346 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15347 s&@INSTALL@&$ac_INSTALL&;t t
15348 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15349 $ac_datarootdir_hack
15350 "
15351 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15352 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15353
15354 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15355 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15356 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15357 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15359 which seems to be undefined. Please make sure it is defined" >&5
15360 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15361 which seems to be undefined. Please make sure it is defined" >&2;}
15362
15363 rm -f "$ac_tmp/stdin"
15364 case $ac_file in
15365 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15366 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15367 esac \
15368 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15369 ;;
15370
15371
15372 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15373 $as_echo "$as_me: executing $ac_file commands" >&6;}
15374 ;;
15375 esac
15376
15377
15378 case $ac_file$ac_mode in
15379 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15380 # Older Autoconf quotes --file arguments for eval, but not when files
15381 # are listed without --file. Let's play safe and only enable the eval
15382 # if we detect the quoting.
15383 case $CONFIG_FILES in
15384 *\'*) eval set x "$CONFIG_FILES" ;;
15385 *) set x $CONFIG_FILES ;;
15386 esac
15387 shift
15388 for mf
15389 do
15390 # Strip MF so we end up with the name of the file.
15391 mf=`echo "$mf" | sed -e 's/:.*$//'`
15392 # Check whether this is an Automake generated Makefile or not.
15393 # We used to match only the files named 'Makefile.in', but
15394 # some people rename them; so instead we look at the file content.
15395 # Grep'ing the first line is not enough: some people post-process
15396 # each Makefile.in and add a new line on top of each file to say so.
15397 # Grep'ing the whole file is not good either: AIX grep has a line
15398 # limit of 2048, but all sed's we know have understand at least 4000.
15399 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15400 dirpart=`$as_dirname -- "$mf" ||
15401 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15402 X"$mf" : 'X\(//\)[^/]' \| \
15403 X"$mf" : 'X\(//\)$' \| \
15404 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15405 $as_echo X"$mf" |
15406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15407 s//\1/
15408 q
15409 }
15410 /^X\(\/\/\)[^/].*/{
15411 s//\1/
15412 q
15413 }
15414 /^X\(\/\/\)$/{
15415 s//\1/
15416 q
15417 }
15418 /^X\(\/\).*/{
15419 s//\1/
15420 q
15421 }
15422 s/.*/./; q'`
15423 else
15424 continue
15425 fi
15426 # Extract the definition of DEPDIR, am__include, and am__quote
15427 # from the Makefile without running 'make'.
15428 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15429 test -z "$DEPDIR" && continue
15430 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15431 test -z "$am__include" && continue
15432 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15433 # Find all dependency output files, they are included files with
15434 # $(DEPDIR) in their names. We invoke sed twice because it is the
15435 # simplest approach to changing $(DEPDIR) to its actual value in the
15436 # expansion.
15437 for file in `sed -n "
15438 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15439 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15440 # Make sure the directory exists.
15441 test -f "$dirpart/$file" && continue
15442 fdir=`$as_dirname -- "$file" ||
15443 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15444 X"$file" : 'X\(//\)[^/]' \| \
15445 X"$file" : 'X\(//\)$' \| \
15446 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15447 $as_echo X"$file" |
15448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15449 s//\1/
15450 q
15451 }
15452 /^X\(\/\/\)[^/].*/{
15453 s//\1/
15454 q
15455 }
15456 /^X\(\/\/\)$/{
15457 s//\1/
15458 q
15459 }
15460 /^X\(\/\).*/{
15461 s//\1/
15462 q
15463 }
15464 s/.*/./; q'`
15465 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15466 # echo "creating $dirpart/$file"
15467 echo '# dummy' > "$dirpart/$file"
15468 done
15469 done
15470 }
15471 ;;
15472 "libtool":C)
15473
15474 # See if we are running on zsh, and set the options that allow our
15475 # commands through without removal of \ escapes.
15476 if test -n "${ZSH_VERSION+set}"; then
15477 setopt NO_GLOB_SUBST
15478 fi
15479
15480 cfgfile=${ofile}T
15481 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15482 $RM "$cfgfile"
15483
15484 cat <<_LT_EOF >> "$cfgfile"
15485 #! $SHELL
15486 # Generated automatically by $as_me ($PACKAGE) $VERSION
15487 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15488 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15489
15490 # Provide generalized library-building support services.
15491 # Written by Gordon Matzigkeit, 1996
15492
15493 # Copyright (C) 2014 Free Software Foundation, Inc.
15494 # This is free software; see the source for copying conditions. There is NO
15495 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15496
15497 # GNU Libtool is free software; you can redistribute it and/or modify
15498 # it under the terms of the GNU General Public License as published by
15499 # the Free Software Foundation; either version 2 of of the License, or
15500 # (at your option) any later version.
15501 #
15502 # As a special exception to the GNU General Public License, if you
15503 # distribute this file as part of a program or library that is built
15504 # using GNU Libtool, you may include this file under the same
15505 # distribution terms that you use for the rest of that program.
15506 #
15507 # GNU Libtool is distributed in the hope that it will be useful, but
15508 # WITHOUT ANY WARRANTY; without even the implied warranty of
15509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15510 # GNU General Public License for more details.
15511 #
15512 # You should have received a copy of the GNU General Public License
15513 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15514
15515
15516 # The names of the tagged configurations supported by this script.
15517 available_tags=''
15518
15519 # Configured defaults for sys_lib_dlsearch_path munging.
15520 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15521
15522 # ### BEGIN LIBTOOL CONFIG
15523
15524 # Whether or not to build static libraries.
15525 build_old_libs=$enable_static
15526
15527 # Assembler program.
15528 AS=$lt_AS
15529
15530 # DLL creation program.
15531 DLLTOOL=$lt_DLLTOOL
15532
15533 # Object dumper program.
15534 OBJDUMP=$lt_OBJDUMP
15535
15536 # Which release of libtool.m4 was used?
15537 macro_version=$macro_version
15538 macro_revision=$macro_revision
15539
15540 # Whether or not to build shared libraries.
15541 build_libtool_libs=$enable_shared
15542
15543 # What type of objects to build.
15544 pic_mode=$pic_mode
15545
15546 # Whether or not to optimize for fast installation.
15547 fast_install=$enable_fast_install
15548
15549 # Shared archive member basename,for filename based shared library versioning on AIX.
15550 shared_archive_member_spec=$shared_archive_member_spec
15551
15552 # Shell to use when invoking shell scripts.
15553 SHELL=$lt_SHELL
15554
15555 # An echo program that protects backslashes.
15556 ECHO=$lt_ECHO
15557
15558 # The PATH separator for the build system.
15559 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15560
15561 # The host system.
15562 host_alias=$host_alias
15563 host=$host
15564 host_os=$host_os
15565
15566 # The build system.
15567 build_alias=$build_alias
15568 build=$build
15569 build_os=$build_os
15570
15571 # A sed program that does not truncate output.
15572 SED=$lt_SED
15573
15574 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15575 Xsed="\$SED -e 1s/^X//"
15576
15577 # A grep program that handles long lines.
15578 GREP=$lt_GREP
15579
15580 # An ERE matcher.
15581 EGREP=$lt_EGREP
15582
15583 # A literal string matcher.
15584 FGREP=$lt_FGREP
15585
15586 # A BSD- or MS-compatible name lister.
15587 NM=$lt_NM
15588
15589 # Whether we need soft or hard links.
15590 LN_S=$lt_LN_S
15591
15592 # What is the maximum length of a command?
15593 max_cmd_len=$max_cmd_len
15594
15595 # Object file suffix (normally "o").
15596 objext=$ac_objext
15597
15598 # Executable file suffix (normally "").
15599 exeext=$exeext
15600
15601 # whether the shell understands "unset".
15602 lt_unset=$lt_unset
15603
15604 # turn spaces into newlines.
15605 SP2NL=$lt_lt_SP2NL
15606
15607 # turn newlines into spaces.
15608 NL2SP=$lt_lt_NL2SP
15609
15610 # convert \$build file names to \$host format.
15611 to_host_file_cmd=$lt_cv_to_host_file_cmd
15612
15613 # convert \$build files to toolchain format.
15614 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15615
15616 # Method to check whether dependent libraries are shared objects.
15617 deplibs_check_method=$lt_deplibs_check_method
15618
15619 # Command to use when deplibs_check_method = "file_magic".
15620 file_magic_cmd=$lt_file_magic_cmd
15621
15622 # How to find potential files when deplibs_check_method = "file_magic".
15623 file_magic_glob=$lt_file_magic_glob
15624
15625 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15626 want_nocaseglob=$lt_want_nocaseglob
15627
15628 # Command to associate shared and link libraries.
15629 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15630
15631 # The archiver.
15632 AR=$lt_AR
15633
15634 # Flags to create an archive.
15635 AR_FLAGS=$lt_AR_FLAGS
15636
15637 # How to feed a file listing to the archiver.
15638 archiver_list_spec=$lt_archiver_list_spec
15639
15640 # A symbol stripping program.
15641 STRIP=$lt_STRIP
15642
15643 # Commands used to install an old-style archive.
15644 RANLIB=$lt_RANLIB
15645 old_postinstall_cmds=$lt_old_postinstall_cmds
15646 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15647
15648 # Whether to use a lock for old archive extraction.
15649 lock_old_archive_extraction=$lock_old_archive_extraction
15650
15651 # A C compiler.
15652 LTCC=$lt_CC
15653
15654 # LTCC compiler flags.
15655 LTCFLAGS=$lt_CFLAGS
15656
15657 # Take the output of nm and produce a listing of raw symbols and C names.
15658 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15659
15660 # Transform the output of nm in a proper C declaration.
15661 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15662
15663 # Transform the output of nm into a list of symbols to manually relocate.
15664 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15665
15666 # Transform the output of nm in a C name address pair.
15667 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15668
15669 # Transform the output of nm in a C name address pair when lib prefix is needed.
15670 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15671
15672 # The name lister interface.
15673 nm_interface=$lt_lt_cv_nm_interface
15674
15675 # Specify filename containing input files for \$NM.
15676 nm_file_list_spec=$lt_nm_file_list_spec
15677
15678 # The root where to search for dependent libraries,and where our libraries should be installed.
15679 lt_sysroot=$lt_sysroot
15680
15681 # Command to truncate a binary pipe.
15682 lt_truncate_bin=$lt_lt_cv_truncate_bin
15683
15684 # The name of the directory that contains temporary libtool files.
15685 objdir=$objdir
15686
15687 # Used to examine libraries when file_magic_cmd begins with "file".
15688 MAGIC_CMD=$MAGIC_CMD
15689
15690 # Must we lock files when doing compilation?
15691 need_locks=$lt_need_locks
15692
15693 # Manifest tool.
15694 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15695
15696 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15697 DSYMUTIL=$lt_DSYMUTIL
15698
15699 # Tool to change global to local symbols on Mac OS X.
15700 NMEDIT=$lt_NMEDIT
15701
15702 # Tool to manipulate fat objects and archives on Mac OS X.
15703 LIPO=$lt_LIPO
15704
15705 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15706 OTOOL=$lt_OTOOL
15707
15708 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15709 OTOOL64=$lt_OTOOL64
15710
15711 # Old archive suffix (normally "a").
15712 libext=$libext
15713
15714 # Shared library suffix (normally ".so").
15715 shrext_cmds=$lt_shrext_cmds
15716
15717 # The commands to extract the exported symbol list from a shared archive.
15718 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15719
15720 # Variables whose values should be saved in libtool wrapper scripts and
15721 # restored at link time.
15722 variables_saved_for_relink=$lt_variables_saved_for_relink
15723
15724 # Do we need the "lib" prefix for modules?
15725 need_lib_prefix=$need_lib_prefix
15726
15727 # Do we need a version for libraries?
15728 need_version=$need_version
15729
15730 # Library versioning type.
15731 version_type=$version_type
15732
15733 # Shared library runtime path variable.
15734 runpath_var=$runpath_var
15735
15736 # Shared library path variable.
15737 shlibpath_var=$shlibpath_var
15738
15739 # Is shlibpath searched before the hard-coded library search path?
15740 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15741
15742 # Format of library name prefix.
15743 libname_spec=$lt_libname_spec
15744
15745 # List of archive names. First name is the real one, the rest are links.
15746 # The last name is the one that the linker finds with -lNAME
15747 library_names_spec=$lt_library_names_spec
15748
15749 # The coded name of the library, if different from the real name.
15750 soname_spec=$lt_soname_spec
15751
15752 # Permission mode override for installation of shared libraries.
15753 install_override_mode=$lt_install_override_mode
15754
15755 # Command to use after installation of a shared archive.
15756 postinstall_cmds=$lt_postinstall_cmds
15757
15758 # Command to use after uninstallation of a shared archive.
15759 postuninstall_cmds=$lt_postuninstall_cmds
15760
15761 # Commands used to finish a libtool library installation in a directory.
15762 finish_cmds=$lt_finish_cmds
15763
15764 # As "finish_cmds", except a single script fragment to be evaled but
15765 # not shown.
15766 finish_eval=$lt_finish_eval
15767
15768 # Whether we should hardcode library paths into libraries.
15769 hardcode_into_libs=$hardcode_into_libs
15770
15771 # Compile-time system search path for libraries.
15772 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15773
15774 # Detected run-time system search path for libraries.
15775 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15776
15777 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15778 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15779
15780 # Whether dlopen is supported.
15781 dlopen_support=$enable_dlopen
15782
15783 # Whether dlopen of programs is supported.
15784 dlopen_self=$enable_dlopen_self
15785
15786 # Whether dlopen of statically linked programs is supported.
15787 dlopen_self_static=$enable_dlopen_self_static
15788
15789 # Commands to strip libraries.
15790 old_striplib=$lt_old_striplib
15791 striplib=$lt_striplib
15792
15793
15794 # The linker used to build libraries.
15795 LD=$lt_LD
15796
15797 # How to create reloadable object files.
15798 reload_flag=$lt_reload_flag
15799 reload_cmds=$lt_reload_cmds
15800
15801 # Commands used to build an old-style archive.
15802 old_archive_cmds=$lt_old_archive_cmds
15803
15804 # A language specific compiler.
15805 CC=$lt_compiler
15806
15807 # Is the compiler the GNU compiler?
15808 with_gcc=$GCC
15809
15810 # Compiler flag to turn off builtin functions.
15811 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15812
15813 # Additional compiler flags for building library objects.
15814 pic_flag=$lt_lt_prog_compiler_pic
15815
15816 # How to pass a linker flag through the compiler.
15817 wl=$lt_lt_prog_compiler_wl
15818
15819 # Compiler flag to prevent dynamic linking.
15820 link_static_flag=$lt_lt_prog_compiler_static
15821
15822 # Does compiler simultaneously support -c and -o options?
15823 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15824
15825 # Whether or not to add -lc for building shared libraries.
15826 build_libtool_need_lc=$archive_cmds_need_lc
15827
15828 # Whether or not to disallow shared libs when runtime libs are static.
15829 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15830
15831 # Compiler flag to allow reflexive dlopens.
15832 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15833
15834 # Compiler flag to generate shared objects directly from archives.
15835 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15836
15837 # Whether the compiler copes with passing no objects directly.
15838 compiler_needs_object=$lt_compiler_needs_object
15839
15840 # Create an old-style archive from a shared archive.
15841 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15842
15843 # Create a temporary old-style archive to link instead of a shared archive.
15844 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15845
15846 # Commands used to build a shared archive.
15847 archive_cmds=$lt_archive_cmds
15848 archive_expsym_cmds=$lt_archive_expsym_cmds
15849
15850 # Commands used to build a loadable module if different from building
15851 # a shared archive.
15852 module_cmds=$lt_module_cmds
15853 module_expsym_cmds=$lt_module_expsym_cmds
15854
15855 # Whether we are building with GNU ld or not.
15856 with_gnu_ld=$lt_with_gnu_ld
15857
15858 # Flag that allows shared libraries with undefined symbols to be built.
15859 allow_undefined_flag=$lt_allow_undefined_flag
15860
15861 # Flag that enforces no undefined symbols.
15862 no_undefined_flag=$lt_no_undefined_flag
15863
15864 # Flag to hardcode \$libdir into a binary during linking.
15865 # This must work even if \$libdir does not exist
15866 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15867
15868 # Whether we need a single "-rpath" flag with a separated argument.
15869 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15870
15871 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15872 # DIR into the resulting binary.
15873 hardcode_direct=$hardcode_direct
15874
15875 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15876 # DIR into the resulting binary and the resulting library dependency is
15877 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15878 # library is relocated.
15879 hardcode_direct_absolute=$hardcode_direct_absolute
15880
15881 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15882 # into the resulting binary.
15883 hardcode_minus_L=$hardcode_minus_L
15884
15885 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15886 # into the resulting binary.
15887 hardcode_shlibpath_var=$hardcode_shlibpath_var
15888
15889 # Set to "yes" if building a shared library automatically hardcodes DIR
15890 # into the library and all subsequent libraries and executables linked
15891 # against it.
15892 hardcode_automatic=$hardcode_automatic
15893
15894 # Set to yes if linker adds runtime paths of dependent libraries
15895 # to runtime path list.
15896 inherit_rpath=$inherit_rpath
15897
15898 # Whether libtool must link a program against all its dependency libraries.
15899 link_all_deplibs=$link_all_deplibs
15900
15901 # Set to "yes" if exported symbols are required.
15902 always_export_symbols=$always_export_symbols
15903
15904 # The commands to list exported symbols.
15905 export_symbols_cmds=$lt_export_symbols_cmds
15906
15907 # Symbols that should not be listed in the preloaded symbols.
15908 exclude_expsyms=$lt_exclude_expsyms
15909
15910 # Symbols that must always be exported.
15911 include_expsyms=$lt_include_expsyms
15912
15913 # Commands necessary for linking programs (against libraries) with templates.
15914 prelink_cmds=$lt_prelink_cmds
15915
15916 # Commands necessary for finishing linking programs.
15917 postlink_cmds=$lt_postlink_cmds
15918
15919 # Specify filename containing input files.
15920 file_list_spec=$lt_file_list_spec
15921
15922 # How to hardcode a shared library path into an executable.
15923 hardcode_action=$hardcode_action
15924
15925 # ### END LIBTOOL CONFIG
15926
15927 _LT_EOF
15928
15929 cat <<'_LT_EOF' >> "$cfgfile"
15930
15931 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15932
15933 # func_munge_path_list VARIABLE PATH
15934 # -----------------------------------
15935 # VARIABLE is name of variable containing _space_ separated list of
15936 # directories to be munged by the contents of PATH, which is string
15937 # having a format:
15938 # "DIR[:DIR]:"
15939 # string "DIR[ DIR]" will be prepended to VARIABLE
15940 # ":DIR[:DIR]"
15941 # string "DIR[ DIR]" will be appended to VARIABLE
15942 # "DIRP[:DIRP]::[DIRA:]DIRA"
15943 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15944 # "DIRA[ DIRA]" will be appended to VARIABLE
15945 # "DIR[:DIR]"
15946 # VARIABLE will be replaced by "DIR[ DIR]"
15947 func_munge_path_list ()
15948 {
15949 case x$2 in
15950 x)
15951 ;;
15952 *:)
15953 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15954 ;;
15955 x:*)
15956 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15957 ;;
15958 *::*)
15959 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15960 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15961 ;;
15962 *)
15963 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15964 ;;
15965 esac
15966 }
15967
15968
15969 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15970 func_cc_basename ()
15971 {
15972 for cc_temp in $*""; do
15973 case $cc_temp in
15974 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15975 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15976 \-*) ;;
15977 *) break;;
15978 esac
15979 done
15980 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15981 }
15982
15983
15984 # ### END FUNCTIONS SHARED WITH CONFIGURE
15985
15986 _LT_EOF
15987
15988 case $host_os in
15989 aix3*)
15990 cat <<\_LT_EOF >> "$cfgfile"
15991 # AIX sometimes has problems with the GCC collect2 program. For some
15992 # reason, if we set the COLLECT_NAMES environment variable, the problems
15993 # vanish in a puff of smoke.
15994 if test set != "${COLLECT_NAMES+set}"; then
15995 COLLECT_NAMES=
15996 export COLLECT_NAMES
15997 fi
15998 _LT_EOF
15999 ;;
16000 esac
16001
16002
16003 ltmain=$ac_aux_dir/ltmain.sh
16004
16005
16006 # We use sed instead of cat because bash on DJGPP gets confused if
16007 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16008 # text mode, it properly converts lines to CR/LF. This bash problem
16009 # is reportedly fixed, but why not run on old versions too?
16010 sed '$q' "$ltmain" >> "$cfgfile" \
16011 || (rm -f "$cfgfile"; exit 1)
16012
16013 mv -f "$cfgfile" "$ofile" ||
16014 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16015 chmod +x "$ofile"
16016
16017 ;;
16018 "po/stamp-it":C)
16019 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16020 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16021 fi
16022 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16023 >"po/stamp-it.tmp"
16024 sed '/^#/d
16025 s/^[[].*] *//
16026 /^[ ]*$/d
16027 '"s|^| $ac_top_srcdir/|" \
16028 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16029
16030 sed '/^POTFILES =/,/[^\\]$/ {
16031 /^POTFILES =/!d
16032 r po/POTFILES
16033 }
16034 ' "po/Makefile.in" >"po/Makefile"
16035 rm -f "po/Makefile.tmp"
16036 mv "po/stamp-it.tmp" "po/stamp-it"
16037 ;;
16038
16039 esac
16040 done # for ac_tag
16041
16042
16043 as_fn_exit 0
16044 _ACEOF
16045 ac_clean_files=$ac_clean_files_save
16046
16047 test $ac_write_fail = 0 ||
16048 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16049
16050
16051 # configure is writing to config.log, and then calls config.status.
16052 # config.status does its own redirection, appending to config.log.
16053 # Unfortunately, on DOS this fails, as config.log is still kept open
16054 # by configure, so config.status won't be able to write to it; its
16055 # output is simply discarded. So we exec the FD to /dev/null,
16056 # effectively closing config.log, so it can be properly (re)opened and
16057 # appended to by config.status. When coming back to configure, we
16058 # need to make the FD available again.
16059 if test "$no_create" != yes; then
16060 ac_cs_success=:
16061 ac_config_status_args=
16062 test "$silent" = yes &&
16063 ac_config_status_args="$ac_config_status_args --quiet"
16064 exec 5>/dev/null
16065 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16066 exec 5>>config.log
16067 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16068 # would make configure fail if this is the last instruction.
16069 $ac_cs_success || as_fn_exit 1
16070 fi
16071 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16073 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16074 fi
16075