Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for blueman 2.4.4.
4 #
5 # Report bugs to <https://github.com/blueman-project/blueman/issues>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186
187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191 PATH=/empty FPATH=/empty; export PATH FPATH
192 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194 test \$(( 1 + 1 )) = 2 || exit 1"
195 if (eval "$as_required") 2>/dev/null
196 then :
197 as_have_required=yes
198 else $as_nop
199 as_have_required=no
200 fi
201 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
202 then :
203
204 else $as_nop
205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206 as_found=false
207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
208 do
209 IFS=$as_save_IFS
210 case $as_dir in #(((
211 '') as_dir=./ ;;
212 */) ;;
213 *) as_dir=$as_dir/ ;;
214 esac
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
223 then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
226 then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 IFS=$as_save_IFS
235 if $as_found
236 then :
237
238 else $as_nop
239 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
241 then :
242 CONFIG_SHELL=$SHELL as_have_required=yes
243 fi
244 fi
245
246
247 if test "x$CONFIG_SHELL" != x
248 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno
271 then :
272 printf "%s\n" "$0: This script requires a shell more modern than all"
273 printf "%s\n" "$0: the shells that I found on your system."
274 if test ${ZSH_VERSION+y} ; then
275 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
277 else
278 printf "%s\n" "$0: Please tell [email protected] and
279 $0: https://github.com/blueman-project/blueman/issues about
280 $0: your system, including any error possibly output before
281 $0: this message. Then install a modern shell, or manually
282 $0: run the script under such a shell if you do 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
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
310 as_fn_set_status ()
311 {
312 return $1
313 } # as_fn_set_status
314
315 # as_fn_exit STATUS
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 as_fn_exit ()
319 {
320 set +e
321 as_fn_set_status $1
322 exit $1
323 } # as_fn_exit
324 # as_fn_nop
325 # ---------
326 # Do nothing but, unlike ":", preserve the value of $?.
327 as_fn_nop ()
328 {
329 return $?
330 }
331 as_nop=as_fn_nop
332
333 # as_fn_mkdir_p
334 # -------------
335 # Create "$as_dir" as a directory, including parents if necessary.
336 as_fn_mkdir_p ()
337 {
338
339 case $as_dir in #(
340 -*) as_dir=./$as_dir;;
341 esac
342 test -d "$as_dir" || eval $as_mkdir_p || {
343 as_dirs=
344 while :; do
345 case $as_dir in #(
346 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
347 *) as_qdir=$as_dir;;
348 esac
349 as_dirs="'$as_qdir' $as_dirs"
350 as_dir=`$as_dirname -- "$as_dir" ||
351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352 X"$as_dir" : 'X\(//\)[^/]' \| \
353 X"$as_dir" : 'X\(//\)$' \| \
354 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355 printf "%s\n" X"$as_dir" |
356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\/\)[^/].*/{
361 s//\1/
362 q
363 }
364 /^X\(\/\/\)$/{
365 s//\1/
366 q
367 }
368 /^X\(\/\).*/{
369 s//\1/
370 q
371 }
372 s/.*/./; q'`
373 test -d "$as_dir" && break
374 done
375 test -z "$as_dirs" || eval "mkdir $as_dirs"
376 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
377
378
379 } # as_fn_mkdir_p
380
381 # as_fn_executable_p FILE
382 # -----------------------
383 # Test if FILE is an executable regular file.
384 as_fn_executable_p ()
385 {
386 test -f "$1" && test -x "$1"
387 } # as_fn_executable_p
388 # as_fn_append VAR VALUE
389 # ----------------------
390 # Append the text in VALUE to the end of the definition contained in VAR. Take
391 # advantage of any shell optimizations that allow amortized linear growth over
392 # repeated appends, instead of the typical quadratic growth present in naive
393 # implementations.
394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
395 then :
396 eval 'as_fn_append ()
397 {
398 eval $1+=\$2
399 }'
400 else $as_nop
401 as_fn_append ()
402 {
403 eval $1=\$$1\$2
404 }
405 fi # as_fn_append
406
407 # as_fn_arith ARG...
408 # ------------------
409 # Perform arithmetic evaluation on the ARGs, and store the result in the
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
413 then :
414 eval 'as_fn_arith ()
415 {
416 as_val=$(( $* ))
417 }'
418 else $as_nop
419 as_fn_arith ()
420 {
421 as_val=`expr "$@" || test $? -eq 1`
422 }
423 fi # as_fn_arith
424
425 # as_fn_nop
426 # ---------
427 # Do nothing but, unlike ":", preserve the value of $?.
428 as_fn_nop ()
429 {
430 return $?
431 }
432 as_nop=as_fn_nop
433
434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
435 # ----------------------------------------
436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438 # script with STATUS, using 1 if that was 0.
439 as_fn_error ()
440 {
441 as_status=$1; test $as_status -eq 0 && as_status=1
442 if test "$4"; then
443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
445 fi
446 printf "%s\n" "$as_me: error: $2" >&2
447 as_fn_exit $as_status
448 } # as_fn_error
449
450 if expr a : '\(a\)' >/dev/null 2>&1 &&
451 test "X`expr 00001 : '.*\(...\)'`" = X001; then
452 as_expr=expr
453 else
454 as_expr=false
455 fi
456
457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
458 as_basename=basename
459 else
460 as_basename=false
461 fi
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464 as_dirname=dirname
465 else
466 as_dirname=false
467 fi
468
469 as_me=`$as_basename -- "$0" ||
470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471 X"$0" : 'X\(//\)$' \| \
472 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473 printf "%s\n" X/"$0" |
474 sed '/^.*\/\([^/][^/]*\)\/*$/{
475 s//\1/
476 q
477 }
478 /^X\/\(\/\/\)$/{
479 s//\1/
480 q
481 }
482 /^X\/\(\/\).*/{
483 s//\1/
484 q
485 }
486 s/.*/./; q'`
487
488 # Avoid depending upon Character Ranges.
489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
492 as_cr_digits='0123456789'
493 as_cr_alnum=$as_cr_Letters$as_cr_digits
494
495
496 as_lineno_1=$LINENO as_lineno_1a=$LINENO
497 as_lineno_2=$LINENO as_lineno_2a=$LINENO
498 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
501 sed -n '
502 p
503 /[$]LINENO/=
504 ' <$as_myself |
505 sed '
506 s/[$]LINENO.*/&-/
507 t lineno
508 b
509 :lineno
510 N
511 :loop
512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
513 t loop
514 s/-\n.*//
515 ' >$as_me.lineno &&
516 chmod +x "$as_me.lineno" ||
517 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
518
519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520 # already done that, so ensure we don't try to do so again and fall
521 # in an infinite loop. This has already happened in practice.
522 _as_can_reexec=no; export _as_can_reexec
523 # Don't try to exec as it changes $[0], causing all sort of problems
524 # (the dirname of $[0] is not the place where we might find the
525 # original and so on. Autoconf is especially sensitive to this).
526 . "./$as_me.lineno"
527 # Exit status is that of the last command.
528 exit
529 }
530
531
532 # Determine whether it's possible to make 'echo' print without a newline.
533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534 # for compatibility with existing Makefiles.
535 ECHO_C= ECHO_N= ECHO_T=
536 case `echo -n x` in #(((((
537 -n*)
538 case `echo 'xy\c'` in
539 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
540 xy) ECHO_C='\c';;
541 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
542 ECHO_T=' ';;
543 esac;;
544 *)
545 ECHO_N='-n';;
546 esac
547
548 # For backward compatibility with old third-party macros, we provide
549 # the shell variables $as_echo and $as_echo_n. New code should use
550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551 as_echo='printf %s\n'
552 as_echo_n='printf %s'
553
554
555 rm -f conf$$ conf$$.exe conf$$.file
556 if test -d conf$$.dir; then
557 rm -f conf$$.dir/conf$$.file
558 else
559 rm -f conf$$.dir
560 mkdir conf$$.dir 2>/dev/null
561 fi
562 if (echo >conf$$.file) 2>/dev/null; then
563 if ln -s conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s='ln -s'
565 # ... but there are two gotchas:
566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568 # In both cases, we have to default to `cp -pR'.
569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570 as_ln_s='cp -pR'
571 elif ln conf$$.file conf$$ 2>/dev/null; then
572 as_ln_s=ln
573 else
574 as_ln_s='cp -pR'
575 fi
576 else
577 as_ln_s='cp -pR'
578 fi
579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
580 rmdir conf$$.dir 2>/dev/null
581
582 if mkdir -p . 2>/dev/null; then
583 as_mkdir_p='mkdir -p "$as_dir"'
584 else
585 test -d ./-p && rmdir ./-p
586 as_mkdir_p=false
587 fi
588
589 as_test_x='test -x'
590 as_executable_p=as_fn_executable_p
591
592 # Sed expression to map a string onto a valid CPP name.
593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
594
595 # Sed expression to map a string onto a valid variable name.
596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597
598 SHELL=${CONFIG_SHELL-/bin/sh}
599
600
601 test -n "$DJDIR" || exec 7<&0 </dev/null
602 exec 6>&1
603
604 # Name of the host.
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
608
609 #
610 # Initializations.
611 #
612 ac_default_prefix=/usr/local
613 ac_clean_files=
614 ac_config_libobj_dir=.
615 LIBOBJS=
616 cross_compiling=no
617 subdirs=
618 MFLAGS=
619 MAKEFLAGS=
620
621 # Identity of this package.
622 PACKAGE_NAME='blueman'
623 PACKAGE_TARNAME='blueman'
624 PACKAGE_VERSION='2.4.4'
625 PACKAGE_STRING='blueman 2.4.4'
626 PACKAGE_BUGREPORT='https://github.com/blueman-project/blueman/issues'
627 PACKAGE_URL=''
628
629 # Factoring default headers for most tests.
630 ac_includes_default="\
631 #include <stddef.h>
632 #ifdef HAVE_STDIO_H
633 # include <stdio.h>
634 #endif
635 #ifdef HAVE_STDLIB_H
636 # include <stdlib.h>
637 #endif
638 #ifdef HAVE_STRING_H
639 # include <string.h>
640 #endif
641 #ifdef HAVE_INTTYPES_H
642 # include <inttypes.h>
643 #endif
644 #ifdef HAVE_STDINT_H
645 # include <stdint.h>
646 #endif
647 #ifdef HAVE_STRINGS_H
648 # include <strings.h>
649 #endif
650 #ifdef HAVE_SYS_TYPES_H
651 # include <sys/types.h>
652 #endif
653 #ifdef HAVE_SYS_STAT_H
654 # include <sys/stat.h>
655 #endif
656 #ifdef HAVE_UNISTD_H
657 # include <unistd.h>
658 #endif"
659
660 ac_header_c_list=
661 gt_needs=
662 ac_subst_vars='am__EXEEXT_FALSE
663 am__EXEEXT_TRUE
664 LTLIBOBJS
665 LIBOBJS
666 GSETTINGS_RULES
667 GLIB_COMPILE_SCHEMAS
668 gsettingsschemadir
669 GSETTINGS_DISABLE_SCHEMAS_COMPILE
670 SYSTEMD_USER_UNIT_DIR_FALSE
671 SYSTEMD_USER_UNIT_DIR_TRUE
672 systemd_user_unit_dir
673 SYSTEMD_SYSTEM_UNIT_DIR_FALSE
674 SYSTEMD_SYSTEM_UNIT_DIR_TRUE
675 systemd_system_unit_dir
676 HAVE_PULSEAUDIO_FALSE
677 HAVE_PULSEAUDIO_TRUE
678 BLUEZ_LIBS
679 BLUEZ_CFLAGS
680 HAVE_SETTINGS_FALSE
681 HAVE_SETTINGS_TRUE
682 HAVE_THUNAR_FALSE
683 HAVE_THUNAR_TRUE
684 HAVE_NAUTILUS_PYTHON_FALSE
685 HAVE_NAUTILUS_PYTHON_TRUE
686 HAVE_NEMO_PYTHON_FALSE
687 HAVE_NEMO_PYTHON_TRUE
688 HAVE_CAJA_PYTHON_FALSE
689 HAVE_CAJA_PYTHON_TRUE
690 POLKIT
691 HAVE_POLKIT_FALSE
692 HAVE_POLKIT_TRUE
693 POLKIT_LIBS
694 POLKIT_CFLAGS
695 dhconfig
696 DOCDIR
697 LOCALEDIR
698 icondir
699 pkgdatadir
700 LIBEXECDIR
701 PKGLIBDIR
702 PYTHONDIR
703 DATADIR
704 BINDIR
705 SYSCONFDIR
706 CYTHONEXEC
707 PYGOBJECT_LIBS
708 PYGOBJECT_CFLAGS
709 NETWORKTOOLS
710 PYTHON_LIBS
711 PYTHON_CFLAGS
712 pkgpyexecdir
713 pyexecdir
714 pkgpythondir
715 pythondir
716 PYTHON_EXEC_PREFIX
717 PYTHON_PREFIX
718 PYTHON_PLATFORM
719 PYTHON_VERSION
720 PYTHON
721 POSUB
722 LTLIBINTL
723 LIBINTL
724 INTLLIBS
725 LTLIBICONV
726 LIBICONV
727 INTL_MACOSX_LIBS
728 CPP
729 XGETTEXT_EXTRA_OPTIONS
730 MSGMERGE
731 XGETTEXT_015
732 XGETTEXT
733 GMSGFMT_015
734 MSGFMT_015
735 GMSGFMT
736 MSGFMT
737 GETTEXT_MACRO_VERSION
738 USE_NLS
739 GETTEXT_PACKAGE
740 PKG_CONFIG_LIBDIR
741 PKG_CONFIG_PATH
742 PKG_CONFIG
743 LT_SYS_LIBRARY_PATH
744 OTOOL64
745 OTOOL
746 LIPO
747 NMEDIT
748 DSYMUTIL
749 MANIFEST_TOOL
750 RANLIB
751 ac_ct_AR
752 AR
753 DLLTOOL
754 OBJDUMP
755 LN_S
756 NM
757 ac_ct_DUMPBIN
758 DUMPBIN
759 LD
760 FGREP
761 EGREP
762 GREP
763 SED
764 host_os
765 host_vendor
766 host_cpu
767 host
768 build_os
769 build_vendor
770 build_cpu
771 build
772 LIBTOOL
773 am__fastdepCC_FALSE
774 am__fastdepCC_TRUE
775 CCDEPMODE
776 am__nodep
777 AMDEPBACKSLASH
778 AMDEP_FALSE
779 AMDEP_TRUE
780 am__include
781 DEPDIR
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
788 CC
789 MAINT
790 MAINTAINER_MODE_FALSE
791 MAINTAINER_MODE_TRUE
792 AM_BACKSLASH
793 AM_DEFAULT_VERBOSITY
794 AM_DEFAULT_V
795 AM_V
796 CSCOPE
797 ETAGS
798 CTAGS
799 am__untar
800 am__tar
801 AMTAR
802 am__leading_dot
803 SET_MAKE
804 AWK
805 mkdir_p
806 MKDIR_P
807 INSTALL_STRIP_PROGRAM
808 STRIP
809 install_sh
810 MAKEINFO
811 AUTOHEADER
812 AUTOMAKE
813 AUTOCONF
814 ACLOCAL
815 VERSION
816 PACKAGE
817 CYGPATH_W
818 am__isrc
819 INSTALL_DATA
820 INSTALL_SCRIPT
821 INSTALL_PROGRAM
822 target_alias
823 host_alias
824 build_alias
825 LIBS
826 ECHO_T
827 ECHO_N
828 ECHO_C
829 DEFS
830 mandir
831 localedir
832 libdir
833 psdir
834 pdfdir
835 dvidir
836 htmldir
837 infodir
838 docdir
839 oldincludedir
840 includedir
841 runstatedir
842 localstatedir
843 sharedstatedir
844 sysconfdir
845 datadir
846 datarootdir
847 libexecdir
848 sbindir
849 bindir
850 program_transform_name
851 prefix
852 exec_prefix
853 PACKAGE_URL
854 PACKAGE_BUGREPORT
855 PACKAGE_STRING
856 PACKAGE_VERSION
857 PACKAGE_TARNAME
858 PACKAGE_NAME
859 PATH_SEPARATOR
860 SHELL
861 am__quote'
862 ac_subst_files=''
863 ac_user_opts='
864 enable_option_checking
865 enable_silent_rules
866 enable_maintainer_mode
867 enable_dependency_tracking
868 enable_shared
869 enable_static
870 with_pic
871 enable_fast_install
872 with_aix_soname
873 with_gnu_ld
874 with_sysroot
875 enable_libtool_lock
876 enable_nls
877 enable_rpath
878 with_libiconv_prefix
879 with_libintl_prefix
880 with_python_sys_prefix
881 with_python_prefix
882 with_python_exec_prefix
883 enable_runtime_deps_check
884 with_dhcp_config
885 enable_polkit
886 enable_caja_sendto
887 enable_nemo_sendto
888 enable_nautilus_sendto
889 enable_thunar_sendto
890 enable_settings_integration
891 enable_pulseaudio
892 with_systemdsystemunitdir
893 with_systemduserunitdir
894 enable_schemas_compile
895 '
896 ac_precious_vars='build_alias
897 host_alias
898 target_alias
899 CC
900 CFLAGS
901 LDFLAGS
902 LIBS
903 CPPFLAGS
904 LT_SYS_LIBRARY_PATH
905 PKG_CONFIG
906 PKG_CONFIG_PATH
907 PKG_CONFIG_LIBDIR
908 CPP
909 PYTHON
910 PYTHON_CFLAGS
911 PYTHON_LIBS
912 PYGOBJECT_CFLAGS
913 PYGOBJECT_LIBS
914 CYTHONEXEC
915 POLKIT_CFLAGS
916 POLKIT_LIBS
917 BLUEZ_CFLAGS
918 BLUEZ_LIBS
919 systemd_system_unit_dir
920 systemd_user_unit_dir
921 GLIB_COMPILE_SCHEMAS'
922
923
924 # Initialize some variables set by options.
925 ac_init_help=
926 ac_init_version=false
927 ac_unrecognized_opts=
928 ac_unrecognized_sep=
929 # The variables have the same names as the options, with
930 # dashes changed to underlines.
931 cache_file=/dev/null
932 exec_prefix=NONE
933 no_create=
934 no_recursion=
935 prefix=NONE
936 program_prefix=NONE
937 program_suffix=NONE
938 program_transform_name=s,x,x,
939 silent=
940 site=
941 srcdir=
942 verbose=
943 x_includes=NONE
944 x_libraries=NONE
945
946 # Installation directory options.
947 # These are left unexpanded so users can "make install exec_prefix=/foo"
948 # and all the variables that are supposed to be based on exec_prefix
949 # by default will actually change.
950 # Use braces instead of parens because sh, perl, etc. also accept them.
951 # (The list follows the same order as the GNU Coding Standards.)
952 bindir='${exec_prefix}/bin'
953 sbindir='${exec_prefix}/sbin'
954 libexecdir='${exec_prefix}/libexec'
955 datarootdir='${prefix}/share'
956 datadir='${datarootdir}'
957 sysconfdir='${prefix}/etc'
958 sharedstatedir='${prefix}/com'
959 localstatedir='${prefix}/var'
960 runstatedir='${localstatedir}/run'
961 includedir='${prefix}/include'
962 oldincludedir='/usr/include'
963 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
964 infodir='${datarootdir}/info'
965 htmldir='${docdir}'
966 dvidir='${docdir}'
967 pdfdir='${docdir}'
968 psdir='${docdir}'
969 libdir='${exec_prefix}/lib'
970 localedir='${datarootdir}/locale'
971 mandir='${datarootdir}/man'
972
973 ac_prev=
974 ac_dashdash=
975 for ac_option
976 do
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 eval $ac_prev=\$ac_option
980 ac_prev=
981 continue
982 fi
983
984 case $ac_option in
985 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 *=) ac_optarg= ;;
987 *) ac_optarg=yes ;;
988 esac
989
990 case $ac_dashdash$ac_option in
991 --)
992 ac_dashdash=yes ;;
993
994 -bindir | --bindir | --bindi | --bind | --bin | --bi)
995 ac_prev=bindir ;;
996 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
997 bindir=$ac_optarg ;;
998
999 -build | --build | --buil | --bui | --bu)
1000 ac_prev=build_alias ;;
1001 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1002 build_alias=$ac_optarg ;;
1003
1004 -cache-file | --cache-file | --cache-fil | --cache-fi \
1005 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1006 ac_prev=cache_file ;;
1007 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1008 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1009 cache_file=$ac_optarg ;;
1010
1011 --config-cache | -C)
1012 cache_file=config.cache ;;
1013
1014 -datadir | --datadir | --datadi | --datad)
1015 ac_prev=datadir ;;
1016 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1017 datadir=$ac_optarg ;;
1018
1019 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1020 | --dataroo | --dataro | --datar)
1021 ac_prev=datarootdir ;;
1022 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1023 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1024 datarootdir=$ac_optarg ;;
1025
1026 -disable-* | --disable-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1034 *"
1035 "enable_$ac_useropt"
1036 "*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval enable_$ac_useropt=no ;;
1041
1042 -docdir | --docdir | --docdi | --doc | --do)
1043 ac_prev=docdir ;;
1044 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1045 docdir=$ac_optarg ;;
1046
1047 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 ac_prev=dvidir ;;
1049 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1050 dvidir=$ac_optarg ;;
1051
1052 -enable-* | --enable-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1060 *"
1061 "enable_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval enable_$ac_useropt=\$ac_optarg ;;
1067
1068 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1069 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1070 | --exec | --exe | --ex)
1071 ac_prev=exec_prefix ;;
1072 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1073 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1074 | --exec=* | --exe=* | --ex=*)
1075 exec_prefix=$ac_optarg ;;
1076
1077 -gas | --gas | --ga | --g)
1078 # Obsolete; use --with-gas.
1079 with_gas=yes ;;
1080
1081 -help | --help | --hel | --he | -h)
1082 ac_init_help=long ;;
1083 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1084 ac_init_help=recursive ;;
1085 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1086 ac_init_help=short ;;
1087
1088 -host | --host | --hos | --ho)
1089 ac_prev=host_alias ;;
1090 -host=* | --host=* | --hos=* | --ho=*)
1091 host_alias=$ac_optarg ;;
1092
1093 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1094 ac_prev=htmldir ;;
1095 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1096 | --ht=*)
1097 htmldir=$ac_optarg ;;
1098
1099 -includedir | --includedir | --includedi | --included | --include \
1100 | --includ | --inclu | --incl | --inc)
1101 ac_prev=includedir ;;
1102 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1103 | --includ=* | --inclu=* | --incl=* | --inc=*)
1104 includedir=$ac_optarg ;;
1105
1106 -infodir | --infodir | --infodi | --infod | --info | --inf)
1107 ac_prev=infodir ;;
1108 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1109 infodir=$ac_optarg ;;
1110
1111 -libdir | --libdir | --libdi | --libd)
1112 ac_prev=libdir ;;
1113 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1114 libdir=$ac_optarg ;;
1115
1116 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1117 | --libexe | --libex | --libe)
1118 ac_prev=libexecdir ;;
1119 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1120 | --libexe=* | --libex=* | --libe=*)
1121 libexecdir=$ac_optarg ;;
1122
1123 -localedir | --localedir | --localedi | --localed | --locale)
1124 ac_prev=localedir ;;
1125 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1126 localedir=$ac_optarg ;;
1127
1128 -localstatedir | --localstatedir | --localstatedi | --localstated \
1129 | --localstate | --localstat | --localsta | --localst | --locals)
1130 ac_prev=localstatedir ;;
1131 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1132 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1133 localstatedir=$ac_optarg ;;
1134
1135 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1136 ac_prev=mandir ;;
1137 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1138 mandir=$ac_optarg ;;
1139
1140 -nfp | --nfp | --nf)
1141 # Obsolete; use --without-fp.
1142 with_fp=no ;;
1143
1144 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1145 | --no-cr | --no-c | -n)
1146 no_create=yes ;;
1147
1148 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1149 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1150 no_recursion=yes ;;
1151
1152 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1153 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1154 | --oldin | --oldi | --old | --ol | --o)
1155 ac_prev=oldincludedir ;;
1156 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1157 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1158 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1159 oldincludedir=$ac_optarg ;;
1160
1161 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1162 ac_prev=prefix ;;
1163 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1164 prefix=$ac_optarg ;;
1165
1166 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1167 | --program-pre | --program-pr | --program-p)
1168 ac_prev=program_prefix ;;
1169 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1170 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1171 program_prefix=$ac_optarg ;;
1172
1173 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1174 | --program-suf | --program-su | --program-s)
1175 ac_prev=program_suffix ;;
1176 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1177 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1178 program_suffix=$ac_optarg ;;
1179
1180 -program-transform-name | --program-transform-name \
1181 | --program-transform-nam | --program-transform-na \
1182 | --program-transform-n | --program-transform- \
1183 | --program-transform | --program-transfor \
1184 | --program-transfo | --program-transf \
1185 | --program-trans | --program-tran \
1186 | --progr-tra | --program-tr | --program-t)
1187 ac_prev=program_transform_name ;;
1188 -program-transform-name=* | --program-transform-name=* \
1189 | --program-transform-nam=* | --program-transform-na=* \
1190 | --program-transform-n=* | --program-transform-=* \
1191 | --program-transform=* | --program-transfor=* \
1192 | --program-transfo=* | --program-transf=* \
1193 | --program-trans=* | --program-tran=* \
1194 | --progr-tra=* | --program-tr=* | --program-t=*)
1195 program_transform_name=$ac_optarg ;;
1196
1197 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1198 ac_prev=pdfdir ;;
1199 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1200 pdfdir=$ac_optarg ;;
1201
1202 -psdir | --psdir | --psdi | --psd | --ps)
1203 ac_prev=psdir ;;
1204 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1205 psdir=$ac_optarg ;;
1206
1207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1208 | -silent | --silent | --silen | --sile | --sil)
1209 silent=yes ;;
1210
1211 -runstatedir | --runstatedir | --runstatedi | --runstated \
1212 | --runstate | --runstat | --runsta | --runst | --runs \
1213 | --run | --ru | --r)
1214 ac_prev=runstatedir ;;
1215 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1216 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1217 | --run=* | --ru=* | --r=*)
1218 runstatedir=$ac_optarg ;;
1219
1220 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1221 ac_prev=sbindir ;;
1222 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1223 | --sbi=* | --sb=*)
1224 sbindir=$ac_optarg ;;
1225
1226 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1227 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1228 | --sharedst | --shareds | --shared | --share | --shar \
1229 | --sha | --sh)
1230 ac_prev=sharedstatedir ;;
1231 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1232 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1233 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1234 | --sha=* | --sh=*)
1235 sharedstatedir=$ac_optarg ;;
1236
1237 -site | --site | --sit)
1238 ac_prev=site ;;
1239 -site=* | --site=* | --sit=*)
1240 site=$ac_optarg ;;
1241
1242 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1243 ac_prev=srcdir ;;
1244 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1245 srcdir=$ac_optarg ;;
1246
1247 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1248 | --syscon | --sysco | --sysc | --sys | --sy)
1249 ac_prev=sysconfdir ;;
1250 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1251 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1252 sysconfdir=$ac_optarg ;;
1253
1254 -target | --target | --targe | --targ | --tar | --ta | --t)
1255 ac_prev=target_alias ;;
1256 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1257 target_alias=$ac_optarg ;;
1258
1259 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1260 verbose=yes ;;
1261
1262 -version | --version | --versio | --versi | --vers | -V)
1263 ac_init_version=: ;;
1264
1265 -with-* | --with-*)
1266 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269 as_fn_error $? "invalid package name: \`$ac_useropt'"
1270 ac_useropt_orig=$ac_useropt
1271 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1273 *"
1274 "with_$ac_useropt"
1275 "*) ;;
1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1277 ac_unrecognized_sep=', ';;
1278 esac
1279 eval with_$ac_useropt=\$ac_optarg ;;
1280
1281 -without-* | --without-*)
1282 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1285 as_fn_error $? "invalid package name: \`$ac_useropt'"
1286 ac_useropt_orig=$ac_useropt
1287 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1288 case $ac_user_opts in
1289 *"
1290 "with_$ac_useropt"
1291 "*) ;;
1292 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1293 ac_unrecognized_sep=', ';;
1294 esac
1295 eval with_$ac_useropt=no ;;
1296
1297 --x)
1298 # Obsolete; use --with-x.
1299 with_x=yes ;;
1300
1301 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1302 | --x-incl | --x-inc | --x-in | --x-i)
1303 ac_prev=x_includes ;;
1304 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1305 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1306 x_includes=$ac_optarg ;;
1307
1308 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1309 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1310 ac_prev=x_libraries ;;
1311 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1312 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1313 x_libraries=$ac_optarg ;;
1314
1315 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1316 Try \`$0 --help' for more information"
1317 ;;
1318
1319 *=*)
1320 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1321 # Reject names that are not valid shell variable names.
1322 case $ac_envvar in #(
1323 '' | [0-9]* | *[!_$as_cr_alnum]* )
1324 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1325 esac
1326 eval $ac_envvar=\$ac_optarg
1327 export $ac_envvar ;;
1328
1329 *)
1330 # FIXME: should be removed in autoconf 3.0.
1331 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1332 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1333 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1334 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1335 ;;
1336
1337 esac
1338 done
1339
1340 if test -n "$ac_prev"; then
1341 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1342 as_fn_error $? "missing argument to $ac_option"
1343 fi
1344
1345 if test -n "$ac_unrecognized_opts"; then
1346 case $enable_option_checking in
1347 no) ;;
1348 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1349 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1350 esac
1351 fi
1352
1353 # Check all directory arguments for consistency.
1354 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1355 datadir sysconfdir sharedstatedir localstatedir includedir \
1356 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1357 libdir localedir mandir runstatedir
1358 do
1359 eval ac_val=\$$ac_var
1360 # Remove trailing slashes.
1361 case $ac_val in
1362 */ )
1363 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1364 eval $ac_var=\$ac_val;;
1365 esac
1366 # Be sure to have absolute directory names.
1367 case $ac_val in
1368 [\\/$]* | ?:[\\/]* ) continue;;
1369 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1370 esac
1371 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1372 done
1373
1374 # There might be people who depend on the old broken behavior: `$host'
1375 # used to hold the argument of --host etc.
1376 # FIXME: To remove some day.
1377 build=$build_alias
1378 host=$host_alias
1379 target=$target_alias
1380
1381 # FIXME: To remove some day.
1382 if test "x$host_alias" != x; then
1383 if test "x$build_alias" = x; then
1384 cross_compiling=maybe
1385 elif test "x$build_alias" != "x$host_alias"; then
1386 cross_compiling=yes
1387 fi
1388 fi
1389
1390 ac_tool_prefix=
1391 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1392
1393 test "$silent" = yes && exec 6>/dev/null
1394
1395
1396 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1397 ac_ls_di=`ls -di .` &&
1398 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1399 as_fn_error $? "working directory cannot be determined"
1400 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1401 as_fn_error $? "pwd does not report name of working directory"
1402
1403
1404 # Find the source files, if location was not specified.
1405 if test -z "$srcdir"; then
1406 ac_srcdir_defaulted=yes
1407 # Try the directory containing this script, then the parent directory.
1408 ac_confdir=`$as_dirname -- "$as_myself" ||
1409 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1410 X"$as_myself" : 'X\(//\)[^/]' \| \
1411 X"$as_myself" : 'X\(//\)$' \| \
1412 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1413 printf "%s\n" X"$as_myself" |
1414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1415 s//\1/
1416 q
1417 }
1418 /^X\(\/\/\)[^/].*/{
1419 s//\1/
1420 q
1421 }
1422 /^X\(\/\/\)$/{
1423 s//\1/
1424 q
1425 }
1426 /^X\(\/\).*/{
1427 s//\1/
1428 q
1429 }
1430 s/.*/./; q'`
1431 srcdir=$ac_confdir
1432 if test ! -r "$srcdir/$ac_unique_file"; then
1433 srcdir=..
1434 fi
1435 else
1436 ac_srcdir_defaulted=no
1437 fi
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1439 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1440 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1441 fi
1442 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1443 ac_abs_confdir=`(
1444 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1445 pwd)`
1446 # When building in place, set srcdir=.
1447 if test "$ac_abs_confdir" = "$ac_pwd"; then
1448 srcdir=.
1449 fi
1450 # Remove unnecessary trailing slashes from srcdir.
1451 # Double slashes in file names in object file debugging info
1452 # mess up M-x gdb in Emacs.
1453 case $srcdir in
1454 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1455 esac
1456 for ac_var in $ac_precious_vars; do
1457 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1458 eval ac_env_${ac_var}_value=\$${ac_var}
1459 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1460 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1461 done
1462
1463 #
1464 # Report the --help message.
1465 #
1466 if test "$ac_init_help" = "long"; then
1467 # Omit some internal or obsolete options to make the list less imposing.
1468 # This message is too long to be a string in the A/UX 3.1 sh.
1469 cat <<_ACEOF
1470 \`configure' configures blueman 2.4.4 to adapt to many kinds of systems.
1471
1472 Usage: $0 [OPTION]... [VAR=VALUE]...
1473
1474 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1475 VAR=VALUE. See below for descriptions of some of the useful variables.
1476
1477 Defaults for the options are specified in brackets.
1478
1479 Configuration:
1480 -h, --help display this help and exit
1481 --help=short display options specific to this package
1482 --help=recursive display the short help of all the included packages
1483 -V, --version display version information and exit
1484 -q, --quiet, --silent do not print \`checking ...' messages
1485 --cache-file=FILE cache test results in FILE [disabled]
1486 -C, --config-cache alias for \`--cache-file=config.cache'
1487 -n, --no-create do not create output files
1488 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1489
1490 Installation directories:
1491 --prefix=PREFIX install architecture-independent files in PREFIX
1492 [$ac_default_prefix]
1493 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494 [PREFIX]
1495
1496 By default, \`make install' will install all the files in
1497 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1498 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1499 for instance \`--prefix=\$HOME'.
1500
1501 For better control, use the options below.
1502
1503 Fine tuning of the installation directories:
1504 --bindir=DIR user executables [EPREFIX/bin]
1505 --sbindir=DIR system admin executables [EPREFIX/sbin]
1506 --libexecdir=DIR program executables [EPREFIX/libexec]
1507 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1508 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1509 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1510 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1511 --libdir=DIR object code libraries [EPREFIX/lib]
1512 --includedir=DIR C header files [PREFIX/include]
1513 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1514 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1515 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1516 --infodir=DIR info documentation [DATAROOTDIR/info]
1517 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1518 --mandir=DIR man documentation [DATAROOTDIR/man]
1519 --docdir=DIR documentation root [DATAROOTDIR/doc/blueman]
1520 --htmldir=DIR html documentation [DOCDIR]
1521 --dvidir=DIR dvi documentation [DOCDIR]
1522 --pdfdir=DIR pdf documentation [DOCDIR]
1523 --psdir=DIR ps documentation [DOCDIR]
1524 _ACEOF
1525
1526 cat <<\_ACEOF
1527
1528 Program names:
1529 --program-prefix=PREFIX prepend PREFIX to installed program names
1530 --program-suffix=SUFFIX append SUFFIX to installed program names
1531 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1532
1533 System types:
1534 --build=BUILD configure for building on BUILD [guessed]
1535 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1536 _ACEOF
1537 fi
1538
1539 if test -n "$ac_init_help"; then
1540 case $ac_init_help in
1541 short | recursive ) echo "Configuration of blueman 2.4.4:";;
1542 esac
1543 cat <<\_ACEOF
1544
1545 Optional Features:
1546 --disable-option-checking ignore unrecognized --enable/--with options
1547 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1548 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1549 --enable-silent-rules less verbose build output (undo: "make V=1")
1550 --disable-silent-rules verbose build output (undo: "make V=0")
1551 --disable-maintainer-mode
1552 disable make rules and dependencies not useful (and
1553 sometimes confusing) to the casual installer
1554 --enable-dependency-tracking
1555 do not reject slow dependency extractors
1556 --disable-dependency-tracking
1557 speeds up one-time build
1558 --enable-shared[=PKGS] build shared libraries [default=yes]
1559 --enable-static[=PKGS] build static libraries [default=yes]
1560 --enable-fast-install[=PKGS]
1561 optimize for fast installation [default=yes]
1562 --disable-libtool-lock avoid locking (might break parallel builds)
1563 --disable-nls do not use Native Language Support
1564 --disable-rpath do not hardcode runtime library paths
1565 --disable-runtime-deps-check
1566 Disable runtime dependency check (for package
1567 maintainers)
1568 --enable-polkit Enable policykit support
1569 --enable-caja-sendto Enable caja-sendto installation
1570 --enable-nemo-sendto Enable nemo-sendto installation
1571 --enable-nautilus-sendto
1572 Enable nautilus-sendto installation
1573 --enable-thunar-sendto Enable thunar-sendto installation
1574 --enable-settings-integration
1575 Enable settings manager integration with xfce and
1576 mate
1577 --disable-pulseaudio Disable PulseAudio support
1578 --disable-schemas-compile
1579 Disable regeneration of gschemas.compiled on install
1580
1581 Optional Packages:
1582 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1583 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1584 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-aix-soname=aix|svr4|both
1587 shared library versioning (aka "SONAME") variant to
1588 provide on AIX, [default=aix].
1589 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1590 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1591 compiler's sysroot if not specified).
1592 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1593 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1594 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1595 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1596 --without-libintl-prefix don't search for libintl in includedir and libdir
1597 --with-python-sys-prefix
1598 use Python's sys.prefix and sys.exec_prefix values
1599 --with-python_prefix override the default PYTHON_PREFIX
1600 --with-python_exec_prefix
1601 override the default PYTHON_EXEC_PREFIX
1602 --with-dhcp-config=PATH Set dhcp3 server configuration path
1603 --with-systemdsystemunitdir=PATH
1604 Directory for systemd system unit files
1605 [default=/usr/lib/systemd/system]
1606 --with-systemduserunitdir=PATH
1607 Directory for systemd user unit files
1608 [default=/usr/lib/systemd/user]
1609
1610 Some influential environment variables:
1611 CC C compiler command
1612 CFLAGS C compiler flags
1613 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1614 nonstandard directory <lib dir>
1615 LIBS libraries to pass to the linker, e.g. -l<library>
1616 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1617 you have headers in a nonstandard directory <include dir>
1618 LT_SYS_LIBRARY_PATH
1619 User-defined run-time library search path.
1620 PKG_CONFIG path to pkg-config utility
1621 PKG_CONFIG_PATH
1622 directories to add to pkg-config's search path
1623 PKG_CONFIG_LIBDIR
1624 path overriding pkg-config's built-in search path
1625 CPP C preprocessor
1626 PYTHON the Python interpreter
1627 PYTHON_CFLAGS
1628 C compiler flags for PYTHON, overriding pkg-config
1629 PYTHON_LIBS linker flags for PYTHON, overriding pkg-config
1630 PYGOBJECT_CFLAGS
1631 C compiler flags for PYGOBJECT, overriding pkg-config
1632 PYGOBJECT_LIBS
1633 linker flags for PYGOBJECT, overriding pkg-config
1634 CYTHONEXEC Cython compiler
1635 POLKIT_CFLAGS
1636 C compiler flags for POLKIT, overriding pkg-config
1637 POLKIT_LIBS linker flags for POLKIT, overriding pkg-config
1638 BLUEZ_CFLAGS
1639 C compiler flags for BLUEZ, overriding pkg-config
1640 BLUEZ_LIBS linker flags for BLUEZ, overriding pkg-config
1641 systemd_system_unit_dir
1642 value of systemdsystemunitdir for systemd, overriding pkg-config
1643 systemd_user_unit_dir
1644 value of systemduserunitdir for systemd, overriding pkg-config
1645 GLIB_COMPILE_SCHEMAS
1646 value of glib_compile_schemas for gio-2.0, overriding pkg-config
1647
1648 Use these variables to override the choices made by `configure' or to help
1649 it to find libraries and programs with nonstandard names/locations.
1650
1651 Report bugs to <https://github.com/blueman-project/blueman/issues>.
1652 _ACEOF
1653 ac_status=$?
1654 fi
1655
1656 if test "$ac_init_help" = "recursive"; then
1657 # If there are subdirs, report their specific --help.
1658 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1659 test -d "$ac_dir" ||
1660 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1661 continue
1662 ac_builddir=.
1663
1664 case "$ac_dir" in
1665 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1666 *)
1667 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1668 # A ".." for each directory in $ac_dir_suffix.
1669 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1670 case $ac_top_builddir_sub in
1671 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1672 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1673 esac ;;
1674 esac
1675 ac_abs_top_builddir=$ac_pwd
1676 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1677 # for backward compatibility:
1678 ac_top_builddir=$ac_top_build_prefix
1679
1680 case $srcdir in
1681 .) # We are building in place.
1682 ac_srcdir=.
1683 ac_top_srcdir=$ac_top_builddir_sub
1684 ac_abs_top_srcdir=$ac_pwd ;;
1685 [\\/]* | ?:[\\/]* ) # Absolute name.
1686 ac_srcdir=$srcdir$ac_dir_suffix;
1687 ac_top_srcdir=$srcdir
1688 ac_abs_top_srcdir=$srcdir ;;
1689 *) # Relative name.
1690 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1691 ac_top_srcdir=$ac_top_build_prefix$srcdir
1692 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1693 esac
1694 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1695
1696 cd "$ac_dir" || { ac_status=$?; continue; }
1697 # Check for configure.gnu first; this name is used for a wrapper for
1698 # Metaconfig's "Configure" on case-insensitive file systems.
1699 if test -f "$ac_srcdir/configure.gnu"; then
1700 echo &&
1701 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1702 elif test -f "$ac_srcdir/configure"; then
1703 echo &&
1704 $SHELL "$ac_srcdir/configure" --help=recursive
1705 else
1706 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1707 fi || ac_status=$?
1708 cd "$ac_pwd" || { ac_status=$?; break; }
1709 done
1710 fi
1711
1712 test -n "$ac_init_help" && exit $ac_status
1713 if $ac_init_version; then
1714 cat <<\_ACEOF
1715 blueman configure 2.4.4
1716 generated by GNU Autoconf 2.71
1717
1718 Copyright (C) 2021 Free Software Foundation, Inc.
1719 This configure script is free software; the Free Software Foundation
1720 gives unlimited permission to copy, distribute and modify it.
1721 _ACEOF
1722 exit
1723 fi
1724
1725 ## ------------------------ ##
1726 ## Autoconf initialization. ##
1727 ## ------------------------ ##
1728
1729 # ac_fn_c_try_compile LINENO
1730 # --------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_c_try_compile ()
1733 {
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext conftest.beam
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 printf "%s\n" "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1749 fi
1750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext
1755 then :
1756 ac_retval=0
1757 else $as_nop
1758 printf "%s\n" "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1760
1761 ac_retval=1
1762 fi
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status $ac_retval
1765
1766 } # ac_fn_c_try_compile
1767
1768 # ac_fn_c_try_link LINENO
1769 # -----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_c_try_link ()
1772 {
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1775 if { { ac_try="$ac_link"
1776 case "(($ac_try" in
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 printf "%s\n" "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>conftest.err
1783 ac_status=$?
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1788 fi
1789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest$ac_exeext && {
1794 test "$cross_compiling" = yes ||
1795 test -x conftest$ac_exeext
1796 }
1797 then :
1798 ac_retval=0
1799 else $as_nop
1800 printf "%s\n" "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.$ac_ext >&5
1802
1803 ac_retval=1
1804 fi
1805 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1806 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1807 # interfere with the next link command; also delete a directory that is
1808 # left behind by Apple's compiler. We do this before executing the actions.
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1812
1813 } # ac_fn_c_try_link
1814
1815 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1816 # -------------------------------------------------------
1817 # Tests whether HEADER exists and can be compiled using the include files in
1818 # INCLUDES, setting the cache variable VAR accordingly.
1819 ac_fn_c_check_header_compile ()
1820 {
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 printf %s "checking for $2... " >&6; }
1824 if eval test \${$3+y}
1825 then :
1826 printf %s "(cached) " >&6
1827 else $as_nop
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1830 $4
1831 #include <$2>
1832 _ACEOF
1833 if ac_fn_c_try_compile "$LINENO"
1834 then :
1835 eval "$3=yes"
1836 else $as_nop
1837 eval "$3=no"
1838 fi
1839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1840 fi
1841 eval ac_res=\$$3
1842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 printf "%s\n" "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845
1846 } # ac_fn_c_check_header_compile
1847
1848 # ac_fn_c_check_func LINENO FUNC VAR
1849 # ----------------------------------
1850 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1851 ac_fn_c_check_func ()
1852 {
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1855 printf %s "checking for $2... " >&6; }
1856 if eval test \${$3+y}
1857 then :
1858 printf %s "(cached) " >&6
1859 else $as_nop
1860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861 /* end confdefs.h. */
1862 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1864 #define $2 innocuous_$2
1865
1866 /* System header to define __stub macros and hopefully few prototypes,
1867 which can conflict with char $2 (); below. */
1868
1869 #include <limits.h>
1870 #undef $2
1871
1872 /* Override any GCC internal prototype to avoid an error.
1873 Use char because int might match the return type of a GCC
1874 builtin and then its argument prototype would still apply. */
1875 #ifdef __cplusplus
1876 extern "C"
1877 #endif
1878 char $2 ();
1879 /* The GNU C library defines this for functions which it implements
1880 to always fail with ENOSYS. Some functions are actually named
1881 something starting with __ and the normal name is an alias. */
1882 #if defined __stub_$2 || defined __stub___$2
1883 choke me
1884 #endif
1885
1886 int
1887 main (void)
1888 {
1889 return $2 ();
1890 ;
1891 return 0;
1892 }
1893 _ACEOF
1894 if ac_fn_c_try_link "$LINENO"
1895 then :
1896 eval "$3=yes"
1897 else $as_nop
1898 eval "$3=no"
1899 fi
1900 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1901 conftest$ac_exeext conftest.$ac_ext
1902 fi
1903 eval ac_res=\$$3
1904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 printf "%s\n" "$ac_res" >&6; }
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907
1908 } # ac_fn_c_check_func
1909
1910 # ac_fn_c_try_cpp LINENO
1911 # ----------------------
1912 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1913 ac_fn_c_try_cpp ()
1914 {
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 if { { ac_try="$ac_cpp conftest.$ac_ext"
1917 case "(($ac_try" in
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1920 esac
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 printf "%s\n" "$ac_try_echo"; } >&5
1923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1924 ac_status=$?
1925 if test -s conftest.err; then
1926 grep -v '^ *+' conftest.err >conftest.er1
1927 cat conftest.er1 >&5
1928 mv -f conftest.er1 conftest.err
1929 fi
1930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } > conftest.i && {
1932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1933 test ! -s conftest.err
1934 }
1935 then :
1936 ac_retval=0
1937 else $as_nop
1938 printf "%s\n" "$as_me: failed program was:" >&5
1939 sed 's/^/| /' conftest.$ac_ext >&5
1940
1941 ac_retval=1
1942 fi
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 as_fn_set_status $ac_retval
1945
1946 } # ac_fn_c_try_cpp
1947
1948 # ac_fn_c_try_run LINENO
1949 # ----------------------
1950 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1951 # executables *can* be run.
1952 ac_fn_c_try_run ()
1953 {
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 if { { ac_try="$ac_link"
1956 case "(($ac_try" in
1957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958 *) ac_try_echo=$ac_try;;
1959 esac
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 printf "%s\n" "$ac_try_echo"; } >&5
1962 (eval "$ac_link") 2>&5
1963 ac_status=$?
1964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1966 { { case "(($ac_try" in
1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1969 esac
1970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 printf "%s\n" "$ac_try_echo"; } >&5
1972 (eval "$ac_try") 2>&5
1973 ac_status=$?
1974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; }; }
1976 then :
1977 ac_retval=0
1978 else $as_nop
1979 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1980 printf "%s\n" "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.$ac_ext >&5
1982
1983 ac_retval=$ac_status
1984 fi
1985 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status $ac_retval
1988
1989 } # ac_fn_c_try_run
1990 ac_configure_args_raw=
1991 for ac_arg
1992 do
1993 case $ac_arg in
1994 *\'*)
1995 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1996 esac
1997 as_fn_append ac_configure_args_raw " '$ac_arg'"
1998 done
1999
2000 case $ac_configure_args_raw in
2001 *$as_nl*)
2002 ac_safe_unquote= ;;
2003 *)
2004 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2005 ac_unsafe_a="$ac_unsafe_z#~"
2006 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2007 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2008 esac
2009
2010 cat >config.log <<_ACEOF
2011 This file contains any messages produced by compilers while
2012 running configure, to aid debugging if configure makes a mistake.
2013
2014 It was created by blueman $as_me 2.4.4, which was
2015 generated by GNU Autoconf 2.71. Invocation command line was
2016
2017 $ $0$ac_configure_args_raw
2018
2019 _ACEOF
2020 exec 5>>config.log
2021 {
2022 cat <<_ASUNAME
2023 ## --------- ##
2024 ## Platform. ##
2025 ## --------- ##
2026
2027 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2028 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2029 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2030 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2031 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2032
2033 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2034 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2035
2036 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2037 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2038 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2039 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2040 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2041 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2042 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2043
2044 _ASUNAME
2045
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 for as_dir in $PATH
2048 do
2049 IFS=$as_save_IFS
2050 case $as_dir in #(((
2051 '') as_dir=./ ;;
2052 */) ;;
2053 *) as_dir=$as_dir/ ;;
2054 esac
2055 printf "%s\n" "PATH: $as_dir"
2056 done
2057 IFS=$as_save_IFS
2058
2059 } >&5
2060
2061 cat >&5 <<_ACEOF
2062
2063
2064 ## ----------- ##
2065 ## Core tests. ##
2066 ## ----------- ##
2067
2068 _ACEOF
2069
2070
2071 # Keep a trace of the command line.
2072 # Strip out --no-create and --no-recursion so they do not pile up.
2073 # Strip out --silent because we don't want to record it for future runs.
2074 # Also quote any args containing shell meta-characters.
2075 # Make two passes to allow for proper duplicate-argument suppression.
2076 ac_configure_args=
2077 ac_configure_args0=
2078 ac_configure_args1=
2079 ac_must_keep_next=false
2080 for ac_pass in 1 2
2081 do
2082 for ac_arg
2083 do
2084 case $ac_arg in
2085 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2087 | -silent | --silent | --silen | --sile | --sil)
2088 continue ;;
2089 *\'*)
2090 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2091 esac
2092 case $ac_pass in
2093 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2094 2)
2095 as_fn_append ac_configure_args1 " '$ac_arg'"
2096 if test $ac_must_keep_next = true; then
2097 ac_must_keep_next=false # Got value, back to normal.
2098 else
2099 case $ac_arg in
2100 *=* | --config-cache | -C | -disable-* | --disable-* \
2101 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2102 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2103 | -with-* | --with-* | -without-* | --without-* | --x)
2104 case "$ac_configure_args0 " in
2105 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2106 esac
2107 ;;
2108 -* ) ac_must_keep_next=true ;;
2109 esac
2110 fi
2111 as_fn_append ac_configure_args " '$ac_arg'"
2112 ;;
2113 esac
2114 done
2115 done
2116 { ac_configure_args0=; unset ac_configure_args0;}
2117 { ac_configure_args1=; unset ac_configure_args1;}
2118
2119 # When interrupted or exit'd, cleanup temporary files, and complete
2120 # config.log. We remove comments because anyway the quotes in there
2121 # would cause problems or look ugly.
2122 # WARNING: Use '\'' to represent an apostrophe within the trap.
2123 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2124 trap 'exit_status=$?
2125 # Sanitize IFS.
2126 IFS=" "" $as_nl"
2127 # Save into config.log some information that might help in debugging.
2128 {
2129 echo
2130
2131 printf "%s\n" "## ---------------- ##
2132 ## Cache variables. ##
2133 ## ---------------- ##"
2134 echo
2135 # The following way of writing the cache mishandles newlines in values,
2136 (
2137 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2138 eval ac_val=\$$ac_var
2139 case $ac_val in #(
2140 *${as_nl}*)
2141 case $ac_var in #(
2142 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2143 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2144 esac
2145 case $ac_var in #(
2146 _ | IFS | as_nl) ;; #(
2147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2148 *) { eval $ac_var=; unset $ac_var;} ;;
2149 esac ;;
2150 esac
2151 done
2152 (set) 2>&1 |
2153 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2154 *${as_nl}ac_space=\ *)
2155 sed -n \
2156 "s/'\''/'\''\\\\'\'''\''/g;
2157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2158 ;; #(
2159 *)
2160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2161 ;;
2162 esac |
2163 sort
2164 )
2165 echo
2166
2167 printf "%s\n" "## ----------------- ##
2168 ## Output variables. ##
2169 ## ----------------- ##"
2170 echo
2171 for ac_var in $ac_subst_vars
2172 do
2173 eval ac_val=\$$ac_var
2174 case $ac_val in
2175 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2176 esac
2177 printf "%s\n" "$ac_var='\''$ac_val'\''"
2178 done | sort
2179 echo
2180
2181 if test -n "$ac_subst_files"; then
2182 printf "%s\n" "## ------------------- ##
2183 ## File substitutions. ##
2184 ## ------------------- ##"
2185 echo
2186 for ac_var in $ac_subst_files
2187 do
2188 eval ac_val=\$$ac_var
2189 case $ac_val in
2190 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 esac
2192 printf "%s\n" "$ac_var='\''$ac_val'\''"
2193 done | sort
2194 echo
2195 fi
2196
2197 if test -s confdefs.h; then
2198 printf "%s\n" "## ----------- ##
2199 ## confdefs.h. ##
2200 ## ----------- ##"
2201 echo
2202 cat confdefs.h
2203 echo
2204 fi
2205 test "$ac_signal" != 0 &&
2206 printf "%s\n" "$as_me: caught signal $ac_signal"
2207 printf "%s\n" "$as_me: exit $exit_status"
2208 } >&5
2209 rm -f core *.core core.conftest.* &&
2210 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2211 exit $exit_status
2212 ' 0
2213 for ac_signal in 1 2 13 15; do
2214 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2215 done
2216 ac_signal=0
2217
2218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2219 rm -f -r conftest* confdefs.h
2220
2221 printf "%s\n" "/* confdefs.h */" > confdefs.h
2222
2223 # Predefined preprocessor variables.
2224
2225 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2226
2227 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2228
2229 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2230
2231 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2232
2233 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2234
2235 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2236
2237
2238 # Let the site file select an alternate cache file if it wants to.
2239 # Prefer an explicitly selected file to automatically selected ones.
2240 if test -n "$CONFIG_SITE"; then
2241 ac_site_files="$CONFIG_SITE"
2242 elif test "x$prefix" != xNONE; then
2243 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2244 else
2245 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2246 fi
2247
2248 for ac_site_file in $ac_site_files
2249 do
2250 case $ac_site_file in #(
2251 */*) :
2252 ;; #(
2253 *) :
2254 ac_site_file=./$ac_site_file ;;
2255 esac
2256 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2258 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2259 sed 's/^/| /' "$ac_site_file" >&5
2260 . "$ac_site_file" \
2261 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2262 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2263 as_fn_error $? "failed to load site script $ac_site_file
2264 See \`config.log' for more details" "$LINENO" 5; }
2265 fi
2266 done
2267
2268 if test -r "$cache_file"; then
2269 # Some versions of bash will fail to source /dev/null (special files
2270 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2271 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2273 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2274 case $cache_file in
2275 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2276 *) . "./$cache_file";;
2277 esac
2278 fi
2279 else
2280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2281 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2282 >$cache_file
2283 fi
2284
2285 # Test code for whether the C compiler supports C89 (global declarations)
2286 ac_c_conftest_c89_globals='
2287 /* Does the compiler advertise C89 conformance?
2288 Do not test the value of __STDC__, because some compilers set it to 0
2289 while being otherwise adequately conformant. */
2290 #if !defined __STDC__
2291 # error "Compiler does not advertise C89 conformance"
2292 #endif
2293
2294 #include <stddef.h>
2295 #include <stdarg.h>
2296 struct stat;
2297 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2298 struct buf { int x; };
2299 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2300 static char *e (p, i)
2301 char **p;
2302 int i;
2303 {
2304 return p[i];
2305 }
2306 static char *f (char * (*g) (char **, int), char **p, ...)
2307 {
2308 char *s;
2309 va_list v;
2310 va_start (v,p);
2311 s = g (p, va_arg (v,int));
2312 va_end (v);
2313 return s;
2314 }
2315
2316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2317 function prototypes and stuff, but not \xHH hex character constants.
2318 These do not provoke an error unfortunately, instead are silently treated
2319 as an "x". The following induces an error, until -std is added to get
2320 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2321 array size at least. It is necessary to write \x00 == 0 to get something
2322 that is true only with -std. */
2323 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2324
2325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2326 inside strings and character constants. */
2327 #define FOO(x) '\''x'\''
2328 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2329
2330 int test (int i, double x);
2331 struct s1 {int (*f) (int a);};
2332 struct s2 {int (*f) (double a);};
2333 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2334 int, int);'
2335
2336 # Test code for whether the C compiler supports C89 (body of main).
2337 ac_c_conftest_c89_main='
2338 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2339 '
2340
2341 # Test code for whether the C compiler supports C99 (global declarations)
2342 ac_c_conftest_c99_globals='
2343 // Does the compiler advertise C99 conformance?
2344 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2345 # error "Compiler does not advertise C99 conformance"
2346 #endif
2347
2348 #include <stdbool.h>
2349 extern int puts (const char *);
2350 extern int printf (const char *, ...);
2351 extern int dprintf (int, const char *, ...);
2352 extern void *malloc (size_t);
2353
2354 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2355 // dprintf is used instead of fprintf to avoid needing to declare
2356 // FILE and stderr.
2357 #define debug(...) dprintf (2, __VA_ARGS__)
2358 #define showlist(...) puts (#__VA_ARGS__)
2359 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2360 static void
2361 test_varargs_macros (void)
2362 {
2363 int x = 1234;
2364 int y = 5678;
2365 debug ("Flag");
2366 debug ("X = %d\n", x);
2367 showlist (The first, second, and third items.);
2368 report (x>y, "x is %d but y is %d", x, y);
2369 }
2370
2371 // Check long long types.
2372 #define BIG64 18446744073709551615ull
2373 #define BIG32 4294967295ul
2374 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2375 #if !BIG_OK
2376 #error "your preprocessor is broken"
2377 #endif
2378 #if BIG_OK
2379 #else
2380 #error "your preprocessor is broken"
2381 #endif
2382 static long long int bignum = -9223372036854775807LL;
2383 static unsigned long long int ubignum = BIG64;
2384
2385 struct incomplete_array
2386 {
2387 int datasize;
2388 double data[];
2389 };
2390
2391 struct named_init {
2392 int number;
2393 const wchar_t *name;
2394 double average;
2395 };
2396
2397 typedef const char *ccp;
2398
2399 static inline int
2400 test_restrict (ccp restrict text)
2401 {
2402 // See if C++-style comments work.
2403 // Iterate through items via the restricted pointer.
2404 // Also check for declarations in for loops.
2405 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2406 continue;
2407 return 0;
2408 }
2409
2410 // Check varargs and va_copy.
2411 static bool
2412 test_varargs (const char *format, ...)
2413 {
2414 va_list args;
2415 va_start (args, format);
2416 va_list args_copy;
2417 va_copy (args_copy, args);
2418
2419 const char *str = "";
2420 int number = 0;
2421 float fnumber = 0;
2422
2423 while (*format)
2424 {
2425 switch (*format++)
2426 {
2427 case '\''s'\'': // string
2428 str = va_arg (args_copy, const char *);
2429 break;
2430 case '\''d'\'': // int
2431 number = va_arg (args_copy, int);
2432 break;
2433 case '\''f'\'': // float
2434 fnumber = va_arg (args_copy, double);
2435 break;
2436 default:
2437 break;
2438 }
2439 }
2440 va_end (args_copy);
2441 va_end (args);
2442
2443 return *str && number && fnumber;
2444 }
2445 '
2446
2447 # Test code for whether the C compiler supports C99 (body of main).
2448 ac_c_conftest_c99_main='
2449 // Check bool.
2450 _Bool success = false;
2451 success |= (argc != 0);
2452
2453 // Check restrict.
2454 if (test_restrict ("String literal") == 0)
2455 success = true;
2456 char *restrict newvar = "Another string";
2457
2458 // Check varargs.
2459 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2460 test_varargs_macros ();
2461
2462 // Check flexible array members.
2463 struct incomplete_array *ia =
2464 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2465 ia->datasize = 10;
2466 for (int i = 0; i < ia->datasize; ++i)
2467 ia->data[i] = i * 1.234;
2468
2469 // Check named initializers.
2470 struct named_init ni = {
2471 .number = 34,
2472 .name = L"Test wide string",
2473 .average = 543.34343,
2474 };
2475
2476 ni.number = 58;
2477
2478 int dynamic_array[ni.number];
2479 dynamic_array[0] = argv[0][0];
2480 dynamic_array[ni.number - 1] = 543;
2481
2482 // work around unused variable warnings
2483 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2484 || dynamic_array[ni.number - 1] != 543);
2485 '
2486
2487 # Test code for whether the C compiler supports C11 (global declarations)
2488 ac_c_conftest_c11_globals='
2489 // Does the compiler advertise C11 conformance?
2490 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2491 # error "Compiler does not advertise C11 conformance"
2492 #endif
2493
2494 // Check _Alignas.
2495 char _Alignas (double) aligned_as_double;
2496 char _Alignas (0) no_special_alignment;
2497 extern char aligned_as_int;
2498 char _Alignas (0) _Alignas (int) aligned_as_int;
2499
2500 // Check _Alignof.
2501 enum
2502 {
2503 int_alignment = _Alignof (int),
2504 int_array_alignment = _Alignof (int[100]),
2505 char_alignment = _Alignof (char)
2506 };
2507 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2508
2509 // Check _Noreturn.
2510 int _Noreturn does_not_return (void) { for (;;) continue; }
2511
2512 // Check _Static_assert.
2513 struct test_static_assert
2514 {
2515 int x;
2516 _Static_assert (sizeof (int) <= sizeof (long int),
2517 "_Static_assert does not work in struct");
2518 long int y;
2519 };
2520
2521 // Check UTF-8 literals.
2522 #define u8 syntax error!
2523 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2524
2525 // Check duplicate typedefs.
2526 typedef long *long_ptr;
2527 typedef long int *long_ptr;
2528 typedef long_ptr long_ptr;
2529
2530 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2531 struct anonymous
2532 {
2533 union {
2534 struct { int i; int j; };
2535 struct { int k; long int l; } w;
2536 };
2537 int m;
2538 } v1;
2539 '
2540
2541 # Test code for whether the C compiler supports C11 (body of main).
2542 ac_c_conftest_c11_main='
2543 _Static_assert ((offsetof (struct anonymous, i)
2544 == offsetof (struct anonymous, w.k)),
2545 "Anonymous union alignment botch");
2546 v1.i = 2;
2547 v1.w.k = 5;
2548 ok |= v1.i != 5;
2549 '
2550
2551 # Test code for whether the C compiler supports C11 (complete).
2552 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2553 ${ac_c_conftest_c99_globals}
2554 ${ac_c_conftest_c11_globals}
2555
2556 int
2557 main (int argc, char **argv)
2558 {
2559 int ok = 0;
2560 ${ac_c_conftest_c89_main}
2561 ${ac_c_conftest_c99_main}
2562 ${ac_c_conftest_c11_main}
2563 return ok;
2564 }
2565 "
2566
2567 # Test code for whether the C compiler supports C99 (complete).
2568 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2569 ${ac_c_conftest_c99_globals}
2570
2571 int
2572 main (int argc, char **argv)
2573 {
2574 int ok = 0;
2575 ${ac_c_conftest_c89_main}
2576 ${ac_c_conftest_c99_main}
2577 return ok;
2578 }
2579 "
2580
2581 # Test code for whether the C compiler supports C89 (complete).
2582 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2583
2584 int
2585 main (int argc, char **argv)
2586 {
2587 int ok = 0;
2588 ${ac_c_conftest_c89_main}
2589 return ok;
2590 }
2591 "
2592
2593 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2594 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2595 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2596 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2597 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2598 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2599 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2600 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2601 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2602 gt_needs="$gt_needs "
2603
2604 # Auxiliary files required by this configure script.
2605 ac_aux_files="config.rpath config.guess config.sub ltmain.sh compile missing install-sh"
2606
2607 # Locations in which to look for auxiliary files.
2608 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2609
2610 # Search for a directory containing all of the required auxiliary files,
2611 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2612 # If we don't find one directory that contains all the files we need,
2613 # we report the set of missing files from the *first* directory in
2614 # $ac_aux_dir_candidates and give up.
2615 ac_missing_aux_files=""
2616 ac_first_candidate=:
2617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 as_found=false
2620 for as_dir in $ac_aux_dir_candidates
2621 do
2622 IFS=$as_save_IFS
2623 case $as_dir in #(((
2624 '') as_dir=./ ;;
2625 */) ;;
2626 *) as_dir=$as_dir/ ;;
2627 esac
2628 as_found=:
2629
2630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2631 ac_aux_dir_found=yes
2632 ac_install_sh=
2633 for ac_aux in $ac_aux_files
2634 do
2635 # As a special case, if "install-sh" is required, that requirement
2636 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2637 # and $ac_install_sh is set appropriately for whichever one is found.
2638 if test x"$ac_aux" = x"install-sh"
2639 then
2640 if test -f "${as_dir}install-sh"; then
2641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2642 ac_install_sh="${as_dir}install-sh -c"
2643 elif test -f "${as_dir}install.sh"; then
2644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2645 ac_install_sh="${as_dir}install.sh -c"
2646 elif test -f "${as_dir}shtool"; then
2647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2648 ac_install_sh="${as_dir}shtool install -c"
2649 else
2650 ac_aux_dir_found=no
2651 if $ac_first_candidate; then
2652 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2653 else
2654 break
2655 fi
2656 fi
2657 else
2658 if test -f "${as_dir}${ac_aux}"; then
2659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2660 else
2661 ac_aux_dir_found=no
2662 if $ac_first_candidate; then
2663 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2664 else
2665 break
2666 fi
2667 fi
2668 fi
2669 done
2670 if test "$ac_aux_dir_found" = yes; then
2671 ac_aux_dir="$as_dir"
2672 break
2673 fi
2674 ac_first_candidate=false
2675
2676 as_found=false
2677 done
2678 IFS=$as_save_IFS
2679 if $as_found
2680 then :
2681
2682 else $as_nop
2683 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2684 fi
2685
2686
2687 # These three variables are undocumented and unsupported,
2688 # and are intended to be withdrawn in a future Autoconf release.
2689 # They can cause serious problems if a builder's source tree is in a directory
2690 # whose full name contains unusual characters.
2691 if test -f "${ac_aux_dir}config.guess"; then
2692 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2693 fi
2694 if test -f "${ac_aux_dir}config.sub"; then
2695 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2696 fi
2697 if test -f "$ac_aux_dir/configure"; then
2698 ac_configure="$SHELL ${ac_aux_dir}configure"
2699 fi
2700
2701 # Check that the precious variables saved in the cache have kept the same
2702 # value.
2703 ac_cache_corrupted=false
2704 for ac_var in $ac_precious_vars; do
2705 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2706 eval ac_new_set=\$ac_env_${ac_var}_set
2707 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2708 eval ac_new_val=\$ac_env_${ac_var}_value
2709 case $ac_old_set,$ac_new_set in
2710 set,)
2711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2712 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2713 ac_cache_corrupted=: ;;
2714 ,set)
2715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2716 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2717 ac_cache_corrupted=: ;;
2718 ,);;
2719 *)
2720 if test "x$ac_old_val" != "x$ac_new_val"; then
2721 # differences in whitespace do not lead to failure.
2722 ac_old_val_w=`echo x $ac_old_val`
2723 ac_new_val_w=`echo x $ac_new_val`
2724 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2726 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2727 ac_cache_corrupted=:
2728 else
2729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2730 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2731 eval $ac_var=\$ac_old_val
2732 fi
2733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2734 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2736 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2737 fi;;
2738 esac
2739 # Pass precious variables to config.status.
2740 if test "$ac_new_set" = set; then
2741 case $ac_new_val in
2742 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2743 *) ac_arg=$ac_var=$ac_new_val ;;
2744 esac
2745 case " $ac_configure_args " in
2746 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2747 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2748 esac
2749 fi
2750 done
2751 if $ac_cache_corrupted; then
2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2755 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2756 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2757 and start over" "$LINENO" 5
2758 fi
2759 ## -------------------- ##
2760 ## Main body of script. ##
2761 ## -------------------- ##
2762
2763 ac_ext=c
2764 ac_cpp='$CPP $CPPFLAGS'
2765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2768
2769
2770 ac_config_headers="$ac_config_headers config.h"
2771
2772
2773 am__api_version='1.16'
2774
2775
2776
2777 # Find a good install program. We prefer a C program (faster),
2778 # so one script is as good as another. But avoid the broken or
2779 # incompatible versions:
2780 # SysV /etc/install, /usr/sbin/install
2781 # SunOS /usr/etc/install
2782 # IRIX /sbin/install
2783 # AIX /bin/install
2784 # AmigaOS /C/install, which installs bootblocks on floppy discs
2785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2788 # OS/2's system install, which has a completely different semantic
2789 # ./install, which can be erroneously created by make from ./install.sh.
2790 # Reject install programs that cannot install multiple files.
2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2792 printf %s "checking for a BSD-compatible install... " >&6; }
2793 if test -z "$INSTALL"; then
2794 if test ${ac_cv_path_install+y}
2795 then :
2796 printf %s "(cached) " >&6
2797 else $as_nop
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799 for as_dir in $PATH
2800 do
2801 IFS=$as_save_IFS
2802 case $as_dir in #(((
2803 '') as_dir=./ ;;
2804 */) ;;
2805 *) as_dir=$as_dir/ ;;
2806 esac
2807 # Account for fact that we put trailing slashes in our PATH walk.
2808 case $as_dir in #((
2809 ./ | /[cC]/* | \
2810 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2811 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2812 /usr/ucb/* ) ;;
2813 *)
2814 # OSF1 and SCO ODT 3.0 have their own names for install.
2815 # Don't use installbsd from OSF since it installs stuff as root
2816 # by default.
2817 for ac_prog in ginstall scoinst install; do
2818 for ac_exec_ext in '' $ac_executable_extensions; do
2819 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2820 if test $ac_prog = install &&
2821 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2822 # AIX install. It has an incompatible calling convention.
2823 :
2824 elif test $ac_prog = install &&
2825 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2826 # program-specific install script used by HP pwplus--don't use.
2827 :
2828 else
2829 rm -rf conftest.one conftest.two conftest.dir
2830 echo one > conftest.one
2831 echo two > conftest.two
2832 mkdir conftest.dir
2833 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2834 test -s conftest.one && test -s conftest.two &&
2835 test -s conftest.dir/conftest.one &&
2836 test -s conftest.dir/conftest.two
2837 then
2838 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2839 break 3
2840 fi
2841 fi
2842 fi
2843 done
2844 done
2845 ;;
2846 esac
2847
2848 done
2849 IFS=$as_save_IFS
2850
2851 rm -rf conftest.one conftest.two conftest.dir
2852
2853 fi
2854 if test ${ac_cv_path_install+y}; then
2855 INSTALL=$ac_cv_path_install
2856 else
2857 # As a last resort, use the slow shell script. Don't cache a
2858 # value for INSTALL within a source directory, because that will
2859 # break other packages using the cache if that directory is
2860 # removed, or if the value is a relative name.
2861 INSTALL=$ac_install_sh
2862 fi
2863 fi
2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2865 printf "%s\n" "$INSTALL" >&6; }
2866
2867 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2868 # It thinks the first close brace ends the variable substitution.
2869 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2870
2871 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2872
2873 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2874
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2876 printf %s "checking whether build environment is sane... " >&6; }
2877 # Reject unsafe characters in $srcdir or the absolute working directory
2878 # name. Accept space and tab only in the latter.
2879 am_lf='
2880 '
2881 case `pwd` in
2882 *[\\\"\#\$\&\'\`$am_lf]*)
2883 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2884 esac
2885 case $srcdir in
2886 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2887 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2888 esac
2889
2890 # Do 'set' in a subshell so we don't clobber the current shell's
2891 # arguments. Must try -L first in case configure is actually a
2892 # symlink; some systems play weird games with the mod time of symlinks
2893 # (eg FreeBSD returns the mod time of the symlink's containing
2894 # directory).
2895 if (
2896 am_has_slept=no
2897 for am_try in 1 2; do
2898 echo "timestamp, slept: $am_has_slept" > conftest.file
2899 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2900 if test "$*" = "X"; then
2901 # -L didn't work.
2902 set X `ls -t "$srcdir/configure" conftest.file`
2903 fi
2904 if test "$*" != "X $srcdir/configure conftest.file" \
2905 && test "$*" != "X conftest.file $srcdir/configure"; then
2906
2907 # If neither matched, then we have a broken ls. This can happen
2908 # if, for instance, CONFIG_SHELL is bash and it inherits a
2909 # broken ls alias from the environment. This has actually
2910 # happened. Such a system could not be considered "sane".
2911 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2912 alias in your environment" "$LINENO" 5
2913 fi
2914 if test "$2" = conftest.file || test $am_try -eq 2; then
2915 break
2916 fi
2917 # Just in case.
2918 sleep 1
2919 am_has_slept=yes
2920 done
2921 test "$2" = conftest.file
2922 )
2923 then
2924 # Ok.
2925 :
2926 else
2927 as_fn_error $? "newly created file is older than distributed files!
2928 Check your system clock" "$LINENO" 5
2929 fi
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2931 printf "%s\n" "yes" >&6; }
2932 # If we didn't sleep, we still need to ensure time stamps of config.status and
2933 # generated files are strictly newer.
2934 am_sleep_pid=
2935 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2936 ( sleep 1 ) &
2937 am_sleep_pid=$!
2938 fi
2939
2940 rm -f conftest.file
2941
2942 test "$program_prefix" != NONE &&
2943 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2944 # Use a double $ so make ignores it.
2945 test "$program_suffix" != NONE &&
2946 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2947 # Double any \ or $.
2948 # By default was `s,x,x', remove it if useless.
2949 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2950 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2951
2952
2953 # Expand $ac_aux_dir to an absolute path.
2954 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2955
2956
2957 if test x"${MISSING+set}" != xset; then
2958 MISSING="\${SHELL} '$am_aux_dir/missing'"
2959 fi
2960 # Use eval to expand $SHELL
2961 if eval "$MISSING --is-lightweight"; then
2962 am_missing_run="$MISSING "
2963 else
2964 am_missing_run=
2965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2966 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2967 fi
2968
2969 if test x"${install_sh+set}" != xset; then
2970 case $am_aux_dir in
2971 *\ * | *\ *)
2972 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2973 *)
2974 install_sh="\${SHELL} $am_aux_dir/install-sh"
2975 esac
2976 fi
2977
2978 # Installed binaries are usually stripped using 'strip' when the user
2979 # run "make install-strip". However 'strip' might not be the right
2980 # tool to use in cross-compilation environments, therefore Automake
2981 # will honor the 'STRIP' environment variable to overrule this program.
2982 if test "$cross_compiling" != no; then
2983 if test -n "$ac_tool_prefix"; then
2984 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2985 set dummy ${ac_tool_prefix}strip; ac_word=$2
2986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987 printf %s "checking for $ac_word... " >&6; }
2988 if test ${ac_cv_prog_STRIP+y}
2989 then :
2990 printf %s "(cached) " >&6
2991 else $as_nop
2992 if test -n "$STRIP"; then
2993 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2994 else
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 for as_dir in $PATH
2997 do
2998 IFS=$as_save_IFS
2999 case $as_dir in #(((
3000 '') as_dir=./ ;;
3001 */) ;;
3002 *) as_dir=$as_dir/ ;;
3003 esac
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3006 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3008 break 2
3009 fi
3010 done
3011 done
3012 IFS=$as_save_IFS
3013
3014 fi
3015 fi
3016 STRIP=$ac_cv_prog_STRIP
3017 if test -n "$STRIP"; then
3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3019 printf "%s\n" "$STRIP" >&6; }
3020 else
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 printf "%s\n" "no" >&6; }
3023 fi
3024
3025
3026 fi
3027 if test -z "$ac_cv_prog_STRIP"; then
3028 ac_ct_STRIP=$STRIP
3029 # Extract the first word of "strip", so it can be a program name with args.
3030 set dummy strip; ac_word=$2
3031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 printf %s "checking for $ac_word... " >&6; }
3033 if test ${ac_cv_prog_ac_ct_STRIP+y}
3034 then :
3035 printf %s "(cached) " >&6
3036 else $as_nop
3037 if test -n "$ac_ct_STRIP"; then
3038 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3039 else
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 for as_dir in $PATH
3042 do
3043 IFS=$as_save_IFS
3044 case $as_dir in #(((
3045 '') as_dir=./ ;;
3046 */) ;;
3047 *) as_dir=$as_dir/ ;;
3048 esac
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3051 ac_cv_prog_ac_ct_STRIP="strip"
3052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3053 break 2
3054 fi
3055 done
3056 done
3057 IFS=$as_save_IFS
3058
3059 fi
3060 fi
3061 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3062 if test -n "$ac_ct_STRIP"; then
3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3064 printf "%s\n" "$ac_ct_STRIP" >&6; }
3065 else
3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 printf "%s\n" "no" >&6; }
3068 fi
3069
3070 if test "x$ac_ct_STRIP" = x; then
3071 STRIP=":"
3072 else
3073 case $cross_compiling:$ac_tool_warned in
3074 yes:)
3075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077 ac_tool_warned=yes ;;
3078 esac
3079 STRIP=$ac_ct_STRIP
3080 fi
3081 else
3082 STRIP="$ac_cv_prog_STRIP"
3083 fi
3084
3085 fi
3086 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3087
3088
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3090 printf %s "checking for a race-free mkdir -p... " >&6; }
3091 if test -z "$MKDIR_P"; then
3092 if test ${ac_cv_path_mkdir+y}
3093 then :
3094 printf %s "(cached) " >&6
3095 else $as_nop
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3098 do
3099 IFS=$as_save_IFS
3100 case $as_dir in #(((
3101 '') as_dir=./ ;;
3102 */) ;;
3103 *) as_dir=$as_dir/ ;;
3104 esac
3105 for ac_prog in mkdir gmkdir; do
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3108 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3109 'mkdir ('*'coreutils) '* | \
3110 'BusyBox '* | \
3111 'mkdir (fileutils) '4.1*)
3112 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3113 break 3;;
3114 esac
3115 done
3116 done
3117 done
3118 IFS=$as_save_IFS
3119
3120 fi
3121
3122 test -d ./--version && rmdir ./--version
3123 if test ${ac_cv_path_mkdir+y}; then
3124 MKDIR_P="$ac_cv_path_mkdir -p"
3125 else
3126 # As a last resort, use the slow shell script. Don't cache a
3127 # value for MKDIR_P within a source directory, because that will
3128 # break other packages using the cache if that directory is
3129 # removed, or if the value is a relative name.
3130 MKDIR_P="$ac_install_sh -d"
3131 fi
3132 fi
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3134 printf "%s\n" "$MKDIR_P" >&6; }
3135
3136 for ac_prog in gawk mawk nawk awk
3137 do
3138 # Extract the first word of "$ac_prog", so it can be a program name with args.
3139 set dummy $ac_prog; ac_word=$2
3140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141 printf %s "checking for $ac_word... " >&6; }
3142 if test ${ac_cv_prog_AWK+y}
3143 then :
3144 printf %s "(cached) " >&6
3145 else $as_nop
3146 if test -n "$AWK"; then
3147 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3148 else
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 for as_dir in $PATH
3151 do
3152 IFS=$as_save_IFS
3153 case $as_dir in #(((
3154 '') as_dir=./ ;;
3155 */) ;;
3156 *) as_dir=$as_dir/ ;;
3157 esac
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3160 ac_cv_prog_AWK="$ac_prog"
3161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3162 break 2
3163 fi
3164 done
3165 done
3166 IFS=$as_save_IFS
3167
3168 fi
3169 fi
3170 AWK=$ac_cv_prog_AWK
3171 if test -n "$AWK"; then
3172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3173 printf "%s\n" "$AWK" >&6; }
3174 else
3175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 printf "%s\n" "no" >&6; }
3177 fi
3178
3179
3180 test -n "$AWK" && break
3181 done
3182
3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3184 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3185 set x ${MAKE-make}
3186 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3187 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3188 then :
3189 printf %s "(cached) " >&6
3190 else $as_nop
3191 cat >conftest.make <<\_ACEOF
3192 SHELL = /bin/sh
3193 all:
3194 @echo '@@@%%%=$(MAKE)=@@@%%%'
3195 _ACEOF
3196 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3197 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3198 *@@@%%%=?*=@@@%%%*)
3199 eval ac_cv_prog_make_${ac_make}_set=yes;;
3200 *)
3201 eval ac_cv_prog_make_${ac_make}_set=no;;
3202 esac
3203 rm -f conftest.make
3204 fi
3205 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3207 printf "%s\n" "yes" >&6; }
3208 SET_MAKE=
3209 else
3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 printf "%s\n" "no" >&6; }
3212 SET_MAKE="MAKE=${MAKE-make}"
3213 fi
3214
3215 rm -rf .tst 2>/dev/null
3216 mkdir .tst 2>/dev/null
3217 if test -d .tst; then
3218 am__leading_dot=.
3219 else
3220 am__leading_dot=_
3221 fi
3222 rmdir .tst 2>/dev/null
3223
3224 # Check whether --enable-silent-rules was given.
3225 if test ${enable_silent_rules+y}
3226 then :
3227 enableval=$enable_silent_rules;
3228 fi
3229
3230 case $enable_silent_rules in # (((
3231 yes) AM_DEFAULT_VERBOSITY=0;;
3232 no) AM_DEFAULT_VERBOSITY=1;;
3233 *) AM_DEFAULT_VERBOSITY=1;;
3234 esac
3235 am_make=${MAKE-make}
3236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3237 printf %s "checking whether $am_make supports nested variables... " >&6; }
3238 if test ${am_cv_make_support_nested_variables+y}
3239 then :
3240 printf %s "(cached) " >&6
3241 else $as_nop
3242 if printf "%s\n" 'TRUE=$(BAR$(V))
3243 BAR0=false
3244 BAR1=true
3245 V=1
3246 am__doit:
3247 @$(TRUE)
3248 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3249 am_cv_make_support_nested_variables=yes
3250 else
3251 am_cv_make_support_nested_variables=no
3252 fi
3253 fi
3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3255 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3256 if test $am_cv_make_support_nested_variables = yes; then
3257 AM_V='$(V)'
3258 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3259 else
3260 AM_V=$AM_DEFAULT_VERBOSITY
3261 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3262 fi
3263 AM_BACKSLASH='\'
3264
3265 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3266 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3267 # is not polluted with repeated "-I."
3268 am__isrc=' -I$(srcdir)'
3269 # test to see if srcdir already configured
3270 if test -f $srcdir/config.status; then
3271 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3272 fi
3273 fi
3274
3275 # test whether we have cygpath
3276 if test -z "$CYGPATH_W"; then
3277 if (cygpath --version) >/dev/null 2>/dev/null; then
3278 CYGPATH_W='cygpath -w'
3279 else
3280 CYGPATH_W=echo
3281 fi
3282 fi
3283
3284
3285 # Define the identity of the package.
3286 PACKAGE='blueman'
3287 VERSION='2.4.4'
3288
3289
3290 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3291
3292
3293 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3294
3295 # Some tools Automake needs.
3296
3297 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3298
3299
3300 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3301
3302
3303 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3304
3305
3306 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3307
3308
3309 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3310
3311 # For better backward compatibility. To be removed once Automake 1.9.x
3312 # dies out for good. For more background, see:
3313 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3314 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3315 mkdir_p='$(MKDIR_P)'
3316
3317 # We need awk for the "check" target (and possibly the TAP driver). The
3318 # system "awk" is bad on some platforms.
3319 # Always define AMTAR for backward compatibility. Yes, it's still used
3320 # in the wild :-( We should find a proper way to deprecate it ...
3321 AMTAR='$${TAR-tar}'
3322
3323
3324 # We'll loop over all known methods to create a tar archive until one works.
3325 _am_tools='gnutar pax cpio none'
3326
3327 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3328
3329
3330
3331
3332
3333 # Variables for tags utilities; see am/tags.am
3334 if test -z "$CTAGS"; then
3335 CTAGS=ctags
3336 fi
3337
3338 if test -z "$ETAGS"; then
3339 ETAGS=etags
3340 fi
3341
3342 if test -z "$CSCOPE"; then
3343 CSCOPE=cscope
3344 fi
3345
3346
3347
3348 # POSIX will say in a future version that running "rm -f" with no argument
3349 # is OK; and we want to be able to make that assumption in our Makefile
3350 # recipes. So use an aggressive probe to check that the usage we want is
3351 # actually supported "in the wild" to an acceptable degree.
3352 # See automake bug#10828.
3353 # To make any issue more visible, cause the running configure to be aborted
3354 # by default if the 'rm' program in use doesn't match our expectations; the
3355 # user can still override this though.
3356 if rm -f && rm -fr && rm -rf; then : OK; else
3357 cat >&2 <<'END'
3358 Oops!
3359
3360 Your 'rm' program seems unable to run without file operands specified
3361 on the command line, even when the '-f' option is present. This is contrary
3362 to the behaviour of most rm programs out there, and not conforming with
3363 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3364
3365 Please tell [email protected] about your system, including the value
3366 of your $PATH and any error possibly output before this message. This
3367 can help us improve future automake versions.
3368
3369 END
3370 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3371 echo 'Configuration will proceed anyway, since you have set the' >&2
3372 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3373 echo >&2
3374 else
3375 cat >&2 <<'END'
3376 Aborting the configuration process, to ensure you take notice of the issue.
3377
3378 You can download and install GNU coreutils to get an 'rm' implementation
3379 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3380
3381 If you want to complete the configuration process using your problematic
3382 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3383 to "yes", and re-run configure.
3384
3385 END
3386 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3387 fi
3388 fi
3389
3390
3391
3392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3393 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3394 # Check whether --enable-maintainer-mode was given.
3395 if test ${enable_maintainer_mode+y}
3396 then :
3397 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3398 else $as_nop
3399 USE_MAINTAINER_MODE=yes
3400 fi
3401
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3403 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3404 if test $USE_MAINTAINER_MODE = yes; then
3405 MAINTAINER_MODE_TRUE=
3406 MAINTAINER_MODE_FALSE='#'
3407 else
3408 MAINTAINER_MODE_TRUE='#'
3409 MAINTAINER_MODE_FALSE=
3410 fi
3411
3412 MAINT=$MAINTAINER_MODE_TRUE
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424 ac_ext=c
3425 ac_cpp='$CPP $CPPFLAGS'
3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 if test -n "$ac_tool_prefix"; then
3430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 printf %s "checking for $ac_word... " >&6; }
3434 if test ${ac_cv_prog_CC+y}
3435 then :
3436 printf %s "(cached) " >&6
3437 else $as_nop
3438 if test -n "$CC"; then
3439 ac_cv_prog_CC="$CC" # Let the user override the test.
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH
3443 do
3444 IFS=$as_save_IFS
3445 case $as_dir in #(((
3446 '') as_dir=./ ;;
3447 */) ;;
3448 *) as_dir=$as_dir/ ;;
3449 esac
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3454 break 2
3455 fi
3456 done
3457 done
3458 IFS=$as_save_IFS
3459
3460 fi
3461 fi
3462 CC=$ac_cv_prog_CC
3463 if test -n "$CC"; then
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 printf "%s\n" "$CC" >&6; }
3466 else
3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 printf "%s\n" "no" >&6; }
3469 fi
3470
3471
3472 fi
3473 if test -z "$ac_cv_prog_CC"; then
3474 ac_ct_CC=$CC
3475 # Extract the first word of "gcc", so it can be a program name with args.
3476 set dummy gcc; ac_word=$2
3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 printf %s "checking for $ac_word... " >&6; }
3479 if test ${ac_cv_prog_ac_ct_CC+y}
3480 then :
3481 printf %s "(cached) " >&6
3482 else $as_nop
3483 if test -n "$ac_ct_CC"; then
3484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3485 else
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3488 do
3489 IFS=$as_save_IFS
3490 case $as_dir in #(((
3491 '') as_dir=./ ;;
3492 */) ;;
3493 *) as_dir=$as_dir/ ;;
3494 esac
3495 for ac_exec_ext in '' $ac_executable_extensions; do
3496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3497 ac_cv_prog_ac_ct_CC="gcc"
3498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3499 break 2
3500 fi
3501 done
3502 done
3503 IFS=$as_save_IFS
3504
3505 fi
3506 fi
3507 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3508 if test -n "$ac_ct_CC"; then
3509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3510 printf "%s\n" "$ac_ct_CC" >&6; }
3511 else
3512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3513 printf "%s\n" "no" >&6; }
3514 fi
3515
3516 if test "x$ac_ct_CC" = x; then
3517 CC=""
3518 else
3519 case $cross_compiling:$ac_tool_warned in
3520 yes:)
3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3522 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3523 ac_tool_warned=yes ;;
3524 esac
3525 CC=$ac_ct_CC
3526 fi
3527 else
3528 CC="$ac_cv_prog_CC"
3529 fi
3530
3531 if test -z "$CC"; then
3532 if test -n "$ac_tool_prefix"; then
3533 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3534 set dummy ${ac_tool_prefix}cc; ac_word=$2
3535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 printf %s "checking for $ac_word... " >&6; }
3537 if test ${ac_cv_prog_CC+y}
3538 then :
3539 printf %s "(cached) " >&6
3540 else $as_nop
3541 if test -n "$CC"; then
3542 ac_cv_prog_CC="$CC" # Let the user override the test.
3543 else
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3546 do
3547 IFS=$as_save_IFS
3548 case $as_dir in #(((
3549 '') as_dir=./ ;;
3550 */) ;;
3551 *) as_dir=$as_dir/ ;;
3552 esac
3553 for ac_exec_ext in '' $ac_executable_extensions; do
3554 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3555 ac_cv_prog_CC="${ac_tool_prefix}cc"
3556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3557 break 2
3558 fi
3559 done
3560 done
3561 IFS=$as_save_IFS
3562
3563 fi
3564 fi
3565 CC=$ac_cv_prog_CC
3566 if test -n "$CC"; then
3567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3568 printf "%s\n" "$CC" >&6; }
3569 else
3570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571 printf "%s\n" "no" >&6; }
3572 fi
3573
3574
3575 fi
3576 fi
3577 if test -z "$CC"; then
3578 # Extract the first word of "cc", so it can be a program name with args.
3579 set dummy cc; ac_word=$2
3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3581 printf %s "checking for $ac_word... " >&6; }
3582 if test ${ac_cv_prog_CC+y}
3583 then :
3584 printf %s "(cached) " >&6
3585 else $as_nop
3586 if test -n "$CC"; then
3587 ac_cv_prog_CC="$CC" # Let the user override the test.
3588 else
3589 ac_prog_rejected=no
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3592 do
3593 IFS=$as_save_IFS
3594 case $as_dir in #(((
3595 '') as_dir=./ ;;
3596 */) ;;
3597 *) as_dir=$as_dir/ ;;
3598 esac
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3601 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3602 ac_prog_rejected=yes
3603 continue
3604 fi
3605 ac_cv_prog_CC="cc"
3606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3607 break 2
3608 fi
3609 done
3610 done
3611 IFS=$as_save_IFS
3612
3613 if test $ac_prog_rejected = yes; then
3614 # We found a bogon in the path, so make sure we never use it.
3615 set dummy $ac_cv_prog_CC
3616 shift
3617 if test $# != 0; then
3618 # We chose a different compiler from the bogus one.
3619 # However, it has the same basename, so the bogon will be chosen
3620 # first if we set CC to just the basename; use the full file name.
3621 shift
3622 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3623 fi
3624 fi
3625 fi
3626 fi
3627 CC=$ac_cv_prog_CC
3628 if test -n "$CC"; then
3629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3630 printf "%s\n" "$CC" >&6; }
3631 else
3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633 printf "%s\n" "no" >&6; }
3634 fi
3635
3636
3637 fi
3638 if test -z "$CC"; then
3639 if test -n "$ac_tool_prefix"; then
3640 for ac_prog in cl.exe
3641 do
3642 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3643 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 printf %s "checking for $ac_word... " >&6; }
3646 if test ${ac_cv_prog_CC+y}
3647 then :
3648 printf %s "(cached) " >&6
3649 else $as_nop
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656 IFS=$as_save_IFS
3657 case $as_dir in #(((
3658 '') as_dir=./ ;;
3659 */) ;;
3660 *) as_dir=$as_dir/ ;;
3661 esac
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3666 break 2
3667 fi
3668 done
3669 done
3670 IFS=$as_save_IFS
3671
3672 fi
3673 fi
3674 CC=$ac_cv_prog_CC
3675 if test -n "$CC"; then
3676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3677 printf "%s\n" "$CC" >&6; }
3678 else
3679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 printf "%s\n" "no" >&6; }
3681 fi
3682
3683
3684 test -n "$CC" && break
3685 done
3686 fi
3687 if test -z "$CC"; then
3688 ac_ct_CC=$CC
3689 for ac_prog in cl.exe
3690 do
3691 # Extract the first word of "$ac_prog", so it can be a program name with args.
3692 set dummy $ac_prog; ac_word=$2
3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 printf %s "checking for $ac_word... " >&6; }
3695 if test ${ac_cv_prog_ac_ct_CC+y}
3696 then :
3697 printf %s "(cached) " >&6
3698 else $as_nop
3699 if test -n "$ac_ct_CC"; then
3700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3701 else
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3704 do
3705 IFS=$as_save_IFS
3706 case $as_dir in #(((
3707 '') as_dir=./ ;;
3708 */) ;;
3709 *) as_dir=$as_dir/ ;;
3710 esac
3711 for ac_exec_ext in '' $ac_executable_extensions; do
3712 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_ac_ct_CC="$ac_prog"
3714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3715 break 2
3716 fi
3717 done
3718 done
3719 IFS=$as_save_IFS
3720
3721 fi
3722 fi
3723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3724 if test -n "$ac_ct_CC"; then
3725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3726 printf "%s\n" "$ac_ct_CC" >&6; }
3727 else
3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 printf "%s\n" "no" >&6; }
3730 fi
3731
3732
3733 test -n "$ac_ct_CC" && break
3734 done
3735
3736 if test "x$ac_ct_CC" = x; then
3737 CC=""
3738 else
3739 case $cross_compiling:$ac_tool_warned in
3740 yes:)
3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3742 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3743 ac_tool_warned=yes ;;
3744 esac
3745 CC=$ac_ct_CC
3746 fi
3747 fi
3748
3749 fi
3750 if test -z "$CC"; then
3751 if test -n "$ac_tool_prefix"; then
3752 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3753 set dummy ${ac_tool_prefix}clang; ac_word=$2
3754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 printf %s "checking for $ac_word... " >&6; }
3756 if test ${ac_cv_prog_CC+y}
3757 then :
3758 printf %s "(cached) " >&6
3759 else $as_nop
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC="$CC" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3765 do
3766 IFS=$as_save_IFS
3767 case $as_dir in #(((
3768 '') as_dir=./ ;;
3769 */) ;;
3770 *) as_dir=$as_dir/ ;;
3771 esac
3772 for ac_exec_ext in '' $ac_executable_extensions; do
3773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_CC="${ac_tool_prefix}clang"
3775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3776 break 2
3777 fi
3778 done
3779 done
3780 IFS=$as_save_IFS
3781
3782 fi
3783 fi
3784 CC=$ac_cv_prog_CC
3785 if test -n "$CC"; then
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787 printf "%s\n" "$CC" >&6; }
3788 else
3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 printf "%s\n" "no" >&6; }
3791 fi
3792
3793
3794 fi
3795 if test -z "$ac_cv_prog_CC"; then
3796 ac_ct_CC=$CC
3797 # Extract the first word of "clang", so it can be a program name with args.
3798 set dummy clang; ac_word=$2
3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 printf %s "checking for $ac_word... " >&6; }
3801 if test ${ac_cv_prog_ac_ct_CC+y}
3802 then :
3803 printf %s "(cached) " >&6
3804 else $as_nop
3805 if test -n "$ac_ct_CC"; then
3806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3807 else
3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 for as_dir in $PATH
3810 do
3811 IFS=$as_save_IFS
3812 case $as_dir in #(((
3813 '') as_dir=./ ;;
3814 */) ;;
3815 *) as_dir=$as_dir/ ;;
3816 esac
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3819 ac_cv_prog_ac_ct_CC="clang"
3820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3821 break 2
3822 fi
3823 done
3824 done
3825 IFS=$as_save_IFS
3826
3827 fi
3828 fi
3829 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3830 if test -n "$ac_ct_CC"; then
3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3832 printf "%s\n" "$ac_ct_CC" >&6; }
3833 else
3834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 printf "%s\n" "no" >&6; }
3836 fi
3837
3838 if test "x$ac_ct_CC" = x; then
3839 CC=""
3840 else
3841 case $cross_compiling:$ac_tool_warned in
3842 yes:)
3843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3844 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3845 ac_tool_warned=yes ;;
3846 esac
3847 CC=$ac_ct_CC
3848 fi
3849 else
3850 CC="$ac_cv_prog_CC"
3851 fi
3852
3853 fi
3854
3855
3856 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details" "$LINENO" 5; }
3860
3861 # Provide some information about the compiler.
3862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion -version; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 printf "%s\n" "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 fi
3881 rm -f conftest.er1 conftest.err
3882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3885
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3888
3889 int
3890 main (void)
3891 {
3892
3893 ;
3894 return 0;
3895 }
3896 _ACEOF
3897 ac_clean_files_save=$ac_clean_files
3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3899 # Try to create an executable without -o first, disregard a.out.
3900 # It will help us diagnose broken compilers, and finding out an intuition
3901 # of exeext.
3902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3903 printf %s "checking whether the C compiler works... " >&6; }
3904 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3905
3906 # The possible output files:
3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3908
3909 ac_rmfiles=
3910 for ac_file in $ac_files
3911 do
3912 case $ac_file in
3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3914 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3915 esac
3916 done
3917 rm -f $ac_rmfiles
3918
3919 if { { ac_try="$ac_link_default"
3920 case "(($ac_try" in
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3923 esac
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 printf "%s\n" "$ac_try_echo"; } >&5
3926 (eval "$ac_link_default") 2>&5
3927 ac_status=$?
3928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929 test $ac_status = 0; }
3930 then :
3931 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3932 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3933 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3934 # so that the user can short-circuit this test for compilers unknown to
3935 # Autoconf.
3936 for ac_file in $ac_files ''
3937 do
3938 test -f "$ac_file" || continue
3939 case $ac_file in
3940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3941 ;;
3942 [ab].out )
3943 # We found the default executable, but exeext='' is most
3944 # certainly right.
3945 break;;
3946 *.* )
3947 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3948 then :; else
3949 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950 fi
3951 # We set ac_cv_exeext here because the later test for it is not
3952 # safe: cross compilers may not add the suffix if given an `-o'
3953 # argument, so we may need to know it at that point already.
3954 # Even if this section looks crufty: it has the advantage of
3955 # actually working.
3956 break;;
3957 * )
3958 break;;
3959 esac
3960 done
3961 test "$ac_cv_exeext" = no && ac_cv_exeext=
3962
3963 else $as_nop
3964 ac_file=''
3965 fi
3966 if test -z "$ac_file"
3967 then :
3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 printf "%s\n" "no" >&6; }
3970 printf "%s\n" "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.$ac_ext >&5
3972
3973 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3974 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3975 as_fn_error 77 "C compiler cannot create executables
3976 See \`config.log' for more details" "$LINENO" 5; }
3977 else $as_nop
3978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3979 printf "%s\n" "yes" >&6; }
3980 fi
3981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3982 printf %s "checking for C compiler default output file name... " >&6; }
3983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3984 printf "%s\n" "$ac_file" >&6; }
3985 ac_exeext=$ac_cv_exeext
3986
3987 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3988 ac_clean_files=$ac_clean_files_save
3989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3990 printf %s "checking for suffix of executables... " >&6; }
3991 if { { ac_try="$ac_link"
3992 case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 printf "%s\n" "$ac_try_echo"; } >&5
3998 (eval "$ac_link") 2>&5
3999 ac_status=$?
4000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }
4002 then :
4003 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4004 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4005 # work properly (i.e., refer to `conftest.exe'), while it won't with
4006 # `rm'.
4007 for ac_file in conftest.exe conftest conftest.*; do
4008 test -f "$ac_file" || continue
4009 case $ac_file in
4010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4011 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4012 break;;
4013 * ) break;;
4014 esac
4015 done
4016 else $as_nop
4017 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4020 See \`config.log' for more details" "$LINENO" 5; }
4021 fi
4022 rm -f conftest conftest$ac_cv_exeext
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4024 printf "%s\n" "$ac_cv_exeext" >&6; }
4025
4026 rm -f conftest.$ac_ext
4027 EXEEXT=$ac_cv_exeext
4028 ac_exeext=$EXEEXT
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4031 #include <stdio.h>
4032 int
4033 main (void)
4034 {
4035 FILE *f = fopen ("conftest.out", "w");
4036 return ferror (f) || fclose (f) != 0;
4037
4038 ;
4039 return 0;
4040 }
4041 _ACEOF
4042 ac_clean_files="$ac_clean_files conftest.out"
4043 # Check that the compiler produces executables we can run. If not, either
4044 # the compiler is broken, or we cross compile.
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4046 printf %s "checking whether we are cross compiling... " >&6; }
4047 if test "$cross_compiling" != yes; then
4048 { { ac_try="$ac_link"
4049 case "(($ac_try" in
4050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 printf "%s\n" "$ac_try_echo"; } >&5
4055 (eval "$ac_link") 2>&5
4056 ac_status=$?
4057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }
4059 if { ac_try='./conftest$ac_cv_exeext'
4060 { { case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4063 esac
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 printf "%s\n" "$ac_try_echo"; } >&5
4066 (eval "$ac_try") 2>&5
4067 ac_status=$?
4068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }; }; then
4070 cross_compiling=no
4071 else
4072 if test "$cross_compiling" = maybe; then
4073 cross_compiling=yes
4074 else
4075 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4077 as_fn_error 77 "cannot run C compiled programs.
4078 If you meant to cross compile, use \`--host'.
4079 See \`config.log' for more details" "$LINENO" 5; }
4080 fi
4081 fi
4082 fi
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4084 printf "%s\n" "$cross_compiling" >&6; }
4085
4086 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4087 ac_clean_files=$ac_clean_files_save
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4089 printf %s "checking for suffix of object files... " >&6; }
4090 if test ${ac_cv_objext+y}
4091 then :
4092 printf %s "(cached) " >&6
4093 else $as_nop
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4096
4097 int
4098 main (void)
4099 {
4100
4101 ;
4102 return 0;
4103 }
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 printf "%s\n" "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }
4117 then :
4118 for ac_file in conftest.o conftest.obj conftest.*; do
4119 test -f "$ac_file" || continue;
4120 case $ac_file in
4121 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4122 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4123 break;;
4124 esac
4125 done
4126 else $as_nop
4127 printf "%s\n" "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.$ac_ext >&5
4129
4130 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4131 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4132 as_fn_error $? "cannot compute suffix of object files: cannot compile
4133 See \`config.log' for more details" "$LINENO" 5; }
4134 fi
4135 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4136 fi
4137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4138 printf "%s\n" "$ac_cv_objext" >&6; }
4139 OBJEXT=$ac_cv_objext
4140 ac_objext=$OBJEXT
4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4142 printf %s "checking whether the compiler supports GNU C... " >&6; }
4143 if test ${ac_cv_c_compiler_gnu+y}
4144 then :
4145 printf %s "(cached) " >&6
4146 else $as_nop
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4149
4150 int
4151 main (void)
4152 {
4153 #ifndef __GNUC__
4154 choke me
4155 #endif
4156
4157 ;
4158 return 0;
4159 }
4160 _ACEOF
4161 if ac_fn_c_try_compile "$LINENO"
4162 then :
4163 ac_compiler_gnu=yes
4164 else $as_nop
4165 ac_compiler_gnu=no
4166 fi
4167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4168 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4169
4170 fi
4171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4172 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4174
4175 if test $ac_compiler_gnu = yes; then
4176 GCC=yes
4177 else
4178 GCC=
4179 fi
4180 ac_test_CFLAGS=${CFLAGS+y}
4181 ac_save_CFLAGS=$CFLAGS
4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4183 printf %s "checking whether $CC accepts -g... " >&6; }
4184 if test ${ac_cv_prog_cc_g+y}
4185 then :
4186 printf %s "(cached) " >&6
4187 else $as_nop
4188 ac_save_c_werror_flag=$ac_c_werror_flag
4189 ac_c_werror_flag=yes
4190 ac_cv_prog_cc_g=no
4191 CFLAGS="-g"
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194
4195 int
4196 main (void)
4197 {
4198
4199 ;
4200 return 0;
4201 }
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"
4204 then :
4205 ac_cv_prog_cc_g=yes
4206 else $as_nop
4207 CFLAGS=""
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4210
4211 int
4212 main (void)
4213 {
4214
4215 ;
4216 return 0;
4217 }
4218 _ACEOF
4219 if ac_fn_c_try_compile "$LINENO"
4220 then :
4221
4222 else $as_nop
4223 ac_c_werror_flag=$ac_save_c_werror_flag
4224 CFLAGS="-g"
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4227
4228 int
4229 main (void)
4230 {
4231
4232 ;
4233 return 0;
4234 }
4235 _ACEOF
4236 if ac_fn_c_try_compile "$LINENO"
4237 then :
4238 ac_cv_prog_cc_g=yes
4239 fi
4240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4241 fi
4242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4243 fi
4244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4245 ac_c_werror_flag=$ac_save_c_werror_flag
4246 fi
4247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4248 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4249 if test $ac_test_CFLAGS; then
4250 CFLAGS=$ac_save_CFLAGS
4251 elif test $ac_cv_prog_cc_g = yes; then
4252 if test "$GCC" = yes; then
4253 CFLAGS="-g -O2"
4254 else
4255 CFLAGS="-g"
4256 fi
4257 else
4258 if test "$GCC" = yes; then
4259 CFLAGS="-O2"
4260 else
4261 CFLAGS=
4262 fi
4263 fi
4264 ac_prog_cc_stdc=no
4265 if test x$ac_prog_cc_stdc = xno
4266 then :
4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4268 printf %s "checking for $CC option to enable C11 features... " >&6; }
4269 if test ${ac_cv_prog_cc_c11+y}
4270 then :
4271 printf %s "(cached) " >&6
4272 else $as_nop
4273 ac_cv_prog_cc_c11=no
4274 ac_save_CC=$CC
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4277 $ac_c_conftest_c11_program
4278 _ACEOF
4279 for ac_arg in '' -std=gnu11
4280 do
4281 CC="$ac_save_CC $ac_arg"
4282 if ac_fn_c_try_compile "$LINENO"
4283 then :
4284 ac_cv_prog_cc_c11=$ac_arg
4285 fi
4286 rm -f core conftest.err conftest.$ac_objext conftest.beam
4287 test "x$ac_cv_prog_cc_c11" != "xno" && break
4288 done
4289 rm -f conftest.$ac_ext
4290 CC=$ac_save_CC
4291 fi
4292
4293 if test "x$ac_cv_prog_cc_c11" = xno
4294 then :
4295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4296 printf "%s\n" "unsupported" >&6; }
4297 else $as_nop
4298 if test "x$ac_cv_prog_cc_c11" = x
4299 then :
4300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4301 printf "%s\n" "none needed" >&6; }
4302 else $as_nop
4303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4304 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4305 CC="$CC $ac_cv_prog_cc_c11"
4306 fi
4307 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4308 ac_prog_cc_stdc=c11
4309 fi
4310 fi
4311 if test x$ac_prog_cc_stdc = xno
4312 then :
4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4314 printf %s "checking for $CC option to enable C99 features... " >&6; }
4315 if test ${ac_cv_prog_cc_c99+y}
4316 then :
4317 printf %s "(cached) " >&6
4318 else $as_nop
4319 ac_cv_prog_cc_c99=no
4320 ac_save_CC=$CC
4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4323 $ac_c_conftest_c99_program
4324 _ACEOF
4325 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4326 do
4327 CC="$ac_save_CC $ac_arg"
4328 if ac_fn_c_try_compile "$LINENO"
4329 then :
4330 ac_cv_prog_cc_c99=$ac_arg
4331 fi
4332 rm -f core conftest.err conftest.$ac_objext conftest.beam
4333 test "x$ac_cv_prog_cc_c99" != "xno" && break
4334 done
4335 rm -f conftest.$ac_ext
4336 CC=$ac_save_CC
4337 fi
4338
4339 if test "x$ac_cv_prog_cc_c99" = xno
4340 then :
4341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4342 printf "%s\n" "unsupported" >&6; }
4343 else $as_nop
4344 if test "x$ac_cv_prog_cc_c99" = x
4345 then :
4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4347 printf "%s\n" "none needed" >&6; }
4348 else $as_nop
4349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4350 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4351 CC="$CC $ac_cv_prog_cc_c99"
4352 fi
4353 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4354 ac_prog_cc_stdc=c99
4355 fi
4356 fi
4357 if test x$ac_prog_cc_stdc = xno
4358 then :
4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4360 printf %s "checking for $CC option to enable C89 features... " >&6; }
4361 if test ${ac_cv_prog_cc_c89+y}
4362 then :
4363 printf %s "(cached) " >&6
4364 else $as_nop
4365 ac_cv_prog_cc_c89=no
4366 ac_save_CC=$CC
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4369 $ac_c_conftest_c89_program
4370 _ACEOF
4371 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4372 do
4373 CC="$ac_save_CC $ac_arg"
4374 if ac_fn_c_try_compile "$LINENO"
4375 then :
4376 ac_cv_prog_cc_c89=$ac_arg
4377 fi
4378 rm -f core conftest.err conftest.$ac_objext conftest.beam
4379 test "x$ac_cv_prog_cc_c89" != "xno" && break
4380 done
4381 rm -f conftest.$ac_ext
4382 CC=$ac_save_CC
4383 fi
4384
4385 if test "x$ac_cv_prog_cc_c89" = xno
4386 then :
4387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4388 printf "%s\n" "unsupported" >&6; }
4389 else $as_nop
4390 if test "x$ac_cv_prog_cc_c89" = x
4391 then :
4392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4393 printf "%s\n" "none needed" >&6; }
4394 else $as_nop
4395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4396 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4397 CC="$CC $ac_cv_prog_cc_c89"
4398 fi
4399 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4400 ac_prog_cc_stdc=c89
4401 fi
4402 fi
4403
4404 ac_ext=c
4405 ac_cpp='$CPP $CPPFLAGS'
4406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4409
4410
4411 ac_ext=c
4412 ac_cpp='$CPP $CPPFLAGS'
4413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4417 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4418 if test ${am_cv_prog_cc_c_o+y}
4419 then :
4420 printf %s "(cached) " >&6
4421 else $as_nop
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4424
4425 int
4426 main (void)
4427 {
4428
4429 ;
4430 return 0;
4431 }
4432 _ACEOF
4433 # Make sure it works both with $CC and with simple cc.
4434 # Following AC_PROG_CC_C_O, we do the test twice because some
4435 # compilers refuse to overwrite an existing .o file with -o,
4436 # though they will create one.
4437 am_cv_prog_cc_c_o=yes
4438 for am_i in 1 2; do
4439 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4440 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4441 ac_status=$?
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } \
4444 && test -f conftest2.$ac_objext; then
4445 : OK
4446 else
4447 am_cv_prog_cc_c_o=no
4448 break
4449 fi
4450 done
4451 rm -f core conftest*
4452 unset am_i
4453 fi
4454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4455 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4456 if test "$am_cv_prog_cc_c_o" != yes; then
4457 # Losing compiler, so override with the script.
4458 # FIXME: It is wrong to rewrite CC.
4459 # But if we don't then we get into trouble of one sort or another.
4460 # A longer-term fix would be to have automake use am__CC in this case,
4461 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4462 CC="$am_aux_dir/compile $CC"
4463 fi
4464 ac_ext=c
4465 ac_cpp='$CPP $CPPFLAGS'
4466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4469
4470 DEPDIR="${am__leading_dot}deps"
4471
4472 ac_config_commands="$ac_config_commands depfiles"
4473
4474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4475 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4476 cat > confinc.mk << 'END'
4477 am__doit:
4478 @echo this is the am__doit target >confinc.out
4479 .PHONY: am__doit
4480 END
4481 am__include="#"
4482 am__quote=
4483 # BSD make does it like this.
4484 echo '.include "confinc.mk" # ignored' > confmf.BSD
4485 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4486 echo 'include confinc.mk # ignored' > confmf.GNU
4487 _am_result=no
4488 for s in GNU BSD; do
4489 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4490 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4491 ac_status=$?
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }
4494 case $?:`cat confinc.out 2>/dev/null` in #(
4495 '0:this is the am__doit target') :
4496 case $s in #(
4497 BSD) :
4498 am__include='.include' am__quote='"' ;; #(
4499 *) :
4500 am__include='include' am__quote='' ;;
4501 esac ;; #(
4502 *) :
4503 ;;
4504 esac
4505 if test "$am__include" != "#"; then
4506 _am_result="yes ($s style)"
4507 break
4508 fi
4509 done
4510 rm -f confinc.* confmf.*
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4512 printf "%s\n" "${_am_result}" >&6; }
4513
4514 # Check whether --enable-dependency-tracking was given.
4515 if test ${enable_dependency_tracking+y}
4516 then :
4517 enableval=$enable_dependency_tracking;
4518 fi
4519
4520 if test "x$enable_dependency_tracking" != xno; then
4521 am_depcomp="$ac_aux_dir/depcomp"
4522 AMDEPBACKSLASH='\'
4523 am__nodep='_no'
4524 fi
4525 if test "x$enable_dependency_tracking" != xno; then
4526 AMDEP_TRUE=
4527 AMDEP_FALSE='#'
4528 else
4529 AMDEP_TRUE='#'
4530 AMDEP_FALSE=
4531 fi
4532
4533
4534
4535 depcc="$CC" am_compiler_list=
4536
4537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4538 printf %s "checking dependency style of $depcc... " >&6; }
4539 if test ${am_cv_CC_dependencies_compiler_type+y}
4540 then :
4541 printf %s "(cached) " >&6
4542 else $as_nop
4543 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4544 # We make a subdir and do the tests there. Otherwise we can end up
4545 # making bogus files that we don't know about and never remove. For
4546 # instance it was reported that on HP-UX the gcc test will end up
4547 # making a dummy file named 'D' -- because '-MD' means "put the output
4548 # in D".
4549 rm -rf conftest.dir
4550 mkdir conftest.dir
4551 # Copy depcomp to subdir because otherwise we won't find it if we're
4552 # using a relative directory.
4553 cp "$am_depcomp" conftest.dir
4554 cd conftest.dir
4555 # We will build objects and dependencies in a subdirectory because
4556 # it helps to detect inapplicable dependency modes. For instance
4557 # both Tru64's cc and ICC support -MD to output dependencies as a
4558 # side effect of compilation, but ICC will put the dependencies in
4559 # the current directory while Tru64 will put them in the object
4560 # directory.
4561 mkdir sub
4562
4563 am_cv_CC_dependencies_compiler_type=none
4564 if test "$am_compiler_list" = ""; then
4565 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4566 fi
4567 am__universal=false
4568 case " $depcc " in #(
4569 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4570 esac
4571
4572 for depmode in $am_compiler_list; do
4573 # Setup a source with many dependencies, because some compilers
4574 # like to wrap large dependency lists on column 80 (with \), and
4575 # we should not choose a depcomp mode which is confused by this.
4576 #
4577 # We need to recreate these files for each test, as the compiler may
4578 # overwrite some of them when testing with obscure command lines.
4579 # This happens at least with the AIX C compiler.
4580 : > sub/conftest.c
4581 for i in 1 2 3 4 5 6; do
4582 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4583 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4584 # Solaris 10 /bin/sh.
4585 echo '/* dummy */' > sub/conftst$i.h
4586 done
4587 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4588
4589 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4590 # mode. It turns out that the SunPro C++ compiler does not properly
4591 # handle '-M -o', and we need to detect this. Also, some Intel
4592 # versions had trouble with output in subdirs.
4593 am__obj=sub/conftest.${OBJEXT-o}
4594 am__minus_obj="-o $am__obj"
4595 case $depmode in
4596 gcc)
4597 # This depmode causes a compiler race in universal mode.
4598 test "$am__universal" = false || continue
4599 ;;
4600 nosideeffect)
4601 # After this tag, mechanisms are not by side-effect, so they'll
4602 # only be used when explicitly requested.
4603 if test "x$enable_dependency_tracking" = xyes; then
4604 continue
4605 else
4606 break
4607 fi
4608 ;;
4609 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4610 # This compiler won't grok '-c -o', but also, the minuso test has
4611 # not run yet. These depmodes are late enough in the game, and
4612 # so weak that their functioning should not be impacted.
4613 am__obj=conftest.${OBJEXT-o}
4614 am__minus_obj=
4615 ;;
4616 none) break ;;
4617 esac
4618 if depmode=$depmode \
4619 source=sub/conftest.c object=$am__obj \
4620 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4621 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4622 >/dev/null 2>conftest.err &&
4623 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4624 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4625 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4626 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4627 # icc doesn't choke on unknown options, it will just issue warnings
4628 # or remarks (even with -Werror). So we grep stderr for any message
4629 # that says an option was ignored or not supported.
4630 # When given -MP, icc 7.0 and 7.1 complain thusly:
4631 # icc: Command line warning: ignoring option '-M'; no argument required
4632 # The diagnosis changed in icc 8.0:
4633 # icc: Command line remark: option '-MP' not supported
4634 if (grep 'ignoring option' conftest.err ||
4635 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4636 am_cv_CC_dependencies_compiler_type=$depmode
4637 break
4638 fi
4639 fi
4640 done
4641
4642 cd ..
4643 rm -rf conftest.dir
4644 else
4645 am_cv_CC_dependencies_compiler_type=none
4646 fi
4647
4648 fi
4649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4650 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4651 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4652
4653 if
4654 test "x$enable_dependency_tracking" != xno \
4655 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4656 am__fastdepCC_TRUE=
4657 am__fastdepCC_FALSE='#'
4658 else
4659 am__fastdepCC_TRUE='#'
4660 am__fastdepCC_FALSE=
4661 fi
4662
4663
4664 case `pwd` in
4665 *\ * | *\ *)
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4667 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4668 esac
4669
4670
4671
4672 macro_version='2.4.6'
4673 macro_revision='2.4.6'
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688 ltmain=$ac_aux_dir/ltmain.sh
4689
4690
4691
4692 # Make sure we can run config.sub.
4693 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4694 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4695
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4697 printf %s "checking build system type... " >&6; }
4698 if test ${ac_cv_build+y}
4699 then :
4700 printf %s "(cached) " >&6
4701 else $as_nop
4702 ac_build_alias=$build_alias
4703 test "x$ac_build_alias" = x &&
4704 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4705 test "x$ac_build_alias" = x &&
4706 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4707 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4708 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4709
4710 fi
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4712 printf "%s\n" "$ac_cv_build" >&6; }
4713 case $ac_cv_build in
4714 *-*-*) ;;
4715 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4716 esac
4717 build=$ac_cv_build
4718 ac_save_IFS=$IFS; IFS='-'
4719 set x $ac_cv_build
4720 shift
4721 build_cpu=$1
4722 build_vendor=$2
4723 shift; shift
4724 # Remember, the first character of IFS is used to create $*,
4725 # except with old shells:
4726 build_os=$*
4727 IFS=$ac_save_IFS
4728 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4729
4730
4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4732 printf %s "checking host system type... " >&6; }
4733 if test ${ac_cv_host+y}
4734 then :
4735 printf %s "(cached) " >&6
4736 else $as_nop
4737 if test "x$host_alias" = x; then
4738 ac_cv_host=$ac_cv_build
4739 else
4740 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4741 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4742 fi
4743
4744 fi
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4746 printf "%s\n" "$ac_cv_host" >&6; }
4747 case $ac_cv_host in
4748 *-*-*) ;;
4749 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4750 esac
4751 host=$ac_cv_host
4752 ac_save_IFS=$IFS; IFS='-'
4753 set x $ac_cv_host
4754 shift
4755 host_cpu=$1
4756 host_vendor=$2
4757 shift; shift
4758 # Remember, the first character of IFS is used to create $*,
4759 # except with old shells:
4760 host_os=$*
4761 IFS=$ac_save_IFS
4762 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4763
4764
4765 # Backslashify metacharacters that are still active within
4766 # double-quoted strings.
4767 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4768
4769 # Same as above, but do not quote variable references.
4770 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4771
4772 # Sed substitution to delay expansion of an escaped shell variable in a
4773 # double_quote_subst'ed string.
4774 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4775
4776 # Sed substitution to delay expansion of an escaped single quote.
4777 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4778
4779 # Sed substitution to avoid accidental globbing in evaled expressions
4780 no_glob_subst='s/\*/\\\*/g'
4781
4782 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4783 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4784 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4785
4786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4787 printf %s "checking how to print strings... " >&6; }
4788 # Test print first, because it will be a builtin if present.
4789 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4790 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4791 ECHO='print -r --'
4792 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4793 ECHO='printf %s\n'
4794 else
4795 # Use this function as a fallback that always works.
4796 func_fallback_echo ()
4797 {
4798 eval 'cat <<_LTECHO_EOF
4799 $1
4800 _LTECHO_EOF'
4801 }
4802 ECHO='func_fallback_echo'
4803 fi
4804
4805 # func_echo_all arg...
4806 # Invoke $ECHO with all args, space-separated.
4807 func_echo_all ()
4808 {
4809 $ECHO ""
4810 }
4811
4812 case $ECHO in
4813 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4814 printf "%s\n" "printf" >&6; } ;;
4815 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4816 printf "%s\n" "print -r" >&6; } ;;
4817 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4818 printf "%s\n" "cat" >&6; } ;;
4819 esac
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4835 printf %s "checking for a sed that does not truncate output... " >&6; }
4836 if test ${ac_cv_path_SED+y}
4837 then :
4838 printf %s "(cached) " >&6
4839 else $as_nop
4840 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4841 for ac_i in 1 2 3 4 5 6 7; do
4842 ac_script="$ac_script$as_nl$ac_script"
4843 done
4844 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4845 { ac_script=; unset ac_script;}
4846 if test -z "$SED"; then
4847 ac_path_SED_found=false
4848 # Loop through the user's path and test for each of PROGNAME-LIST
4849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 for as_dir in $PATH
4851 do
4852 IFS=$as_save_IFS
4853 case $as_dir in #(((
4854 '') as_dir=./ ;;
4855 */) ;;
4856 *) as_dir=$as_dir/ ;;
4857 esac
4858 for ac_prog in sed gsed
4859 do
4860 for ac_exec_ext in '' $ac_executable_extensions; do
4861 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
4862 as_fn_executable_p "$ac_path_SED" || continue
4863 # Check for GNU ac_path_SED and select it if it is found.
4864 # Check for GNU $ac_path_SED
4865 case `"$ac_path_SED" --version 2>&1` in
4866 *GNU*)
4867 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4868 *)
4869 ac_count=0
4870 printf %s 0123456789 >"conftest.in"
4871 while :
4872 do
4873 cat "conftest.in" "conftest.in" >"conftest.tmp"
4874 mv "conftest.tmp" "conftest.in"
4875 cp "conftest.in" "conftest.nl"
4876 printf "%s\n" '' >> "conftest.nl"
4877 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4878 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4879 as_fn_arith $ac_count + 1 && ac_count=$as_val
4880 if test $ac_count -gt ${ac_path_SED_max-0}; then
4881 # Best one so far, save it but keep looking for a better one
4882 ac_cv_path_SED="$ac_path_SED"
4883 ac_path_SED_max=$ac_count
4884 fi
4885 # 10*(2^10) chars as input seems more than enough
4886 test $ac_count -gt 10 && break
4887 done
4888 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4889 esac
4890
4891 $ac_path_SED_found && break 3
4892 done
4893 done
4894 done
4895 IFS=$as_save_IFS
4896 if test -z "$ac_cv_path_SED"; then
4897 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4898 fi
4899 else
4900 ac_cv_path_SED=$SED
4901 fi
4902
4903 fi
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4905 printf "%s\n" "$ac_cv_path_SED" >&6; }
4906 SED="$ac_cv_path_SED"
4907 rm -f conftest.sed
4908
4909 test -z "$SED" && SED=sed
4910 Xsed="$SED -e 1s/^X//"
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4923 printf %s "checking for grep that handles long lines and -e... " >&6; }
4924 if test ${ac_cv_path_GREP+y}
4925 then :
4926 printf %s "(cached) " >&6
4927 else $as_nop
4928 if test -z "$GREP"; then
4929 ac_path_GREP_found=false
4930 # Loop through the user's path and test for each of PROGNAME-LIST
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4933 do
4934 IFS=$as_save_IFS
4935 case $as_dir in #(((
4936 '') as_dir=./ ;;
4937 */) ;;
4938 *) as_dir=$as_dir/ ;;
4939 esac
4940 for ac_prog in grep ggrep
4941 do
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
4944 as_fn_executable_p "$ac_path_GREP" || continue
4945 # Check for GNU ac_path_GREP and select it if it is found.
4946 # Check for GNU $ac_path_GREP
4947 case `"$ac_path_GREP" --version 2>&1` in
4948 *GNU*)
4949 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4950 *)
4951 ac_count=0
4952 printf %s 0123456789 >"conftest.in"
4953 while :
4954 do
4955 cat "conftest.in" "conftest.in" >"conftest.tmp"
4956 mv "conftest.tmp" "conftest.in"
4957 cp "conftest.in" "conftest.nl"
4958 printf "%s\n" 'GREP' >> "conftest.nl"
4959 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4961 as_fn_arith $ac_count + 1 && ac_count=$as_val
4962 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4963 # Best one so far, save it but keep looking for a better one
4964 ac_cv_path_GREP="$ac_path_GREP"
4965 ac_path_GREP_max=$ac_count
4966 fi
4967 # 10*(2^10) chars as input seems more than enough
4968 test $ac_count -gt 10 && break
4969 done
4970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4971 esac
4972
4973 $ac_path_GREP_found && break 3
4974 done
4975 done
4976 done
4977 IFS=$as_save_IFS
4978 if test -z "$ac_cv_path_GREP"; then
4979 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4980 fi
4981 else
4982 ac_cv_path_GREP=$GREP
4983 fi
4984
4985 fi
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4987 printf "%s\n" "$ac_cv_path_GREP" >&6; }
4988 GREP="$ac_cv_path_GREP"
4989
4990
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4992 printf %s "checking for egrep... " >&6; }
4993 if test ${ac_cv_path_EGREP+y}
4994 then :
4995 printf %s "(cached) " >&6
4996 else $as_nop
4997 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4998 then ac_cv_path_EGREP="$GREP -E"
4999 else
5000 if test -z "$EGREP"; then
5001 ac_path_EGREP_found=false
5002 # Loop through the user's path and test for each of PROGNAME-LIST
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5005 do
5006 IFS=$as_save_IFS
5007 case $as_dir in #(((
5008 '') as_dir=./ ;;
5009 */) ;;
5010 *) as_dir=$as_dir/ ;;
5011 esac
5012 for ac_prog in egrep
5013 do
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5016 as_fn_executable_p "$ac_path_EGREP" || continue
5017 # Check for GNU ac_path_EGREP and select it if it is found.
5018 # Check for GNU $ac_path_EGREP
5019 case `"$ac_path_EGREP" --version 2>&1` in
5020 *GNU*)
5021 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5022 *)
5023 ac_count=0
5024 printf %s 0123456789 >"conftest.in"
5025 while :
5026 do
5027 cat "conftest.in" "conftest.in" >"conftest.tmp"
5028 mv "conftest.tmp" "conftest.in"
5029 cp "conftest.in" "conftest.nl"
5030 printf "%s\n" 'EGREP' >> "conftest.nl"
5031 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5032 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5033 as_fn_arith $ac_count + 1 && ac_count=$as_val
5034 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5035 # Best one so far, save it but keep looking for a better one
5036 ac_cv_path_EGREP="$ac_path_EGREP"
5037 ac_path_EGREP_max=$ac_count
5038 fi
5039 # 10*(2^10) chars as input seems more than enough
5040 test $ac_count -gt 10 && break
5041 done
5042 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5043 esac
5044
5045 $ac_path_EGREP_found && break 3
5046 done
5047 done
5048 done
5049 IFS=$as_save_IFS
5050 if test -z "$ac_cv_path_EGREP"; then
5051 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5052 fi
5053 else
5054 ac_cv_path_EGREP=$EGREP
5055 fi
5056
5057 fi
5058 fi
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5060 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5061 EGREP="$ac_cv_path_EGREP"
5062
5063
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5065 printf %s "checking for fgrep... " >&6; }
5066 if test ${ac_cv_path_FGREP+y}
5067 then :
5068 printf %s "(cached) " >&6
5069 else $as_nop
5070 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5071 then ac_cv_path_FGREP="$GREP -F"
5072 else
5073 if test -z "$FGREP"; then
5074 ac_path_FGREP_found=false
5075 # Loop through the user's path and test for each of PROGNAME-LIST
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5078 do
5079 IFS=$as_save_IFS
5080 case $as_dir in #(((
5081 '') as_dir=./ ;;
5082 */) ;;
5083 *) as_dir=$as_dir/ ;;
5084 esac
5085 for ac_prog in fgrep
5086 do
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
5089 as_fn_executable_p "$ac_path_FGREP" || continue
5090 # Check for GNU ac_path_FGREP and select it if it is found.
5091 # Check for GNU $ac_path_FGREP
5092 case `"$ac_path_FGREP" --version 2>&1` in
5093 *GNU*)
5094 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5095 *)
5096 ac_count=0
5097 printf %s 0123456789 >"conftest.in"
5098 while :
5099 do
5100 cat "conftest.in" "conftest.in" >"conftest.tmp"
5101 mv "conftest.tmp" "conftest.in"
5102 cp "conftest.in" "conftest.nl"
5103 printf "%s\n" 'FGREP' >> "conftest.nl"
5104 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5105 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5106 as_fn_arith $ac_count + 1 && ac_count=$as_val
5107 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5108 # Best one so far, save it but keep looking for a better one
5109 ac_cv_path_FGREP="$ac_path_FGREP"
5110 ac_path_FGREP_max=$ac_count
5111 fi
5112 # 10*(2^10) chars as input seems more than enough
5113 test $ac_count -gt 10 && break
5114 done
5115 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5116 esac
5117
5118 $ac_path_FGREP_found && break 3
5119 done
5120 done
5121 done
5122 IFS=$as_save_IFS
5123 if test -z "$ac_cv_path_FGREP"; then
5124 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5125 fi
5126 else
5127 ac_cv_path_FGREP=$FGREP
5128 fi
5129
5130 fi
5131 fi
5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5133 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
5134 FGREP="$ac_cv_path_FGREP"
5135
5136
5137 test -z "$GREP" && GREP=grep
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157 # Check whether --with-gnu-ld was given.
5158 if test ${with_gnu_ld+y}
5159 then :
5160 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5161 else $as_nop
5162 with_gnu_ld=no
5163 fi
5164
5165 ac_prog=ld
5166 if test yes = "$GCC"; then
5167 # Check if gcc -print-prog-name=ld gives a path.
5168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5169 printf %s "checking for ld used by $CC... " >&6; }
5170 case $host in
5171 *-*-mingw*)
5172 # gcc leaves a trailing carriage return, which upsets mingw
5173 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5174 *)
5175 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5176 esac
5177 case $ac_prog in
5178 # Accept absolute paths.
5179 [\\/]* | ?:[\\/]*)
5180 re_direlt='/[^/][^/]*/\.\./'
5181 # Canonicalize the pathname of ld
5182 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5183 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5184 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5185 done
5186 test -z "$LD" && LD=$ac_prog
5187 ;;
5188 "")
5189 # If it fails, then pretend we aren't using GCC.
5190 ac_prog=ld
5191 ;;
5192 *)
5193 # If it is relative, then search for the first ld in PATH.
5194 with_gnu_ld=unknown
5195 ;;
5196 esac
5197 elif test yes = "$with_gnu_ld"; then
5198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5199 printf %s "checking for GNU ld... " >&6; }
5200 else
5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5202 printf %s "checking for non-GNU ld... " >&6; }
5203 fi
5204 if test ${lt_cv_path_LD+y}
5205 then :
5206 printf %s "(cached) " >&6
5207 else $as_nop
5208 if test -z "$LD"; then
5209 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5210 for ac_dir in $PATH; do
5211 IFS=$lt_save_ifs
5212 test -z "$ac_dir" && ac_dir=.
5213 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5214 lt_cv_path_LD=$ac_dir/$ac_prog
5215 # Check to see if the program is GNU ld. I'd rather use --version,
5216 # but apparently some variants of GNU ld only accept -v.
5217 # Break only if it was the GNU/non-GNU ld that we prefer.
5218 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5219 *GNU* | *'with BFD'*)
5220 test no != "$with_gnu_ld" && break
5221 ;;
5222 *)
5223 test yes != "$with_gnu_ld" && break
5224 ;;
5225 esac
5226 fi
5227 done
5228 IFS=$lt_save_ifs
5229 else
5230 lt_cv_path_LD=$LD # Let the user override the test with a path.
5231 fi
5232 fi
5233
5234 LD=$lt_cv_path_LD
5235 if test -n "$LD"; then
5236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5237 printf "%s\n" "$LD" >&6; }
5238 else
5239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 printf "%s\n" "no" >&6; }
5241 fi
5242 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5244 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
5245 if test ${lt_cv_prog_gnu_ld+y}
5246 then :
5247 printf %s "(cached) " >&6
5248 else $as_nop
5249 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5250 case `$LD -v 2>&1 </dev/null` in
5251 *GNU* | *'with BFD'*)
5252 lt_cv_prog_gnu_ld=yes
5253 ;;
5254 *)
5255 lt_cv_prog_gnu_ld=no
5256 ;;
5257 esac
5258 fi
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5260 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
5261 with_gnu_ld=$lt_cv_prog_gnu_ld
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5272 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5273 if test ${lt_cv_path_NM+y}
5274 then :
5275 printf %s "(cached) " >&6
5276 else $as_nop
5277 if test -n "$NM"; then
5278 # Let the user override the test.
5279 lt_cv_path_NM=$NM
5280 else
5281 lt_nm_to_check=${ac_tool_prefix}nm
5282 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5283 lt_nm_to_check="$lt_nm_to_check nm"
5284 fi
5285 for lt_tmp_nm in $lt_nm_to_check; do
5286 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5287 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5288 IFS=$lt_save_ifs
5289 test -z "$ac_dir" && ac_dir=.
5290 tmp_nm=$ac_dir/$lt_tmp_nm
5291 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5292 # Check to see if the nm accepts a BSD-compat flag.
5293 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5294 # nm: unknown option "B" ignored
5295 # Tru64's nm complains that /dev/null is an invalid object file
5296 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5297 case $build_os in
5298 mingw*) lt_bad_file=conftest.nm/nofile ;;
5299 *) lt_bad_file=/dev/null ;;
5300 esac
5301 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5302 *$lt_bad_file* | *'Invalid file or object type'*)
5303 lt_cv_path_NM="$tmp_nm -B"
5304 break 2
5305 ;;
5306 *)
5307 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5308 */dev/null*)
5309 lt_cv_path_NM="$tmp_nm -p"
5310 break 2
5311 ;;
5312 *)
5313 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5314 continue # so that we can try to find one that supports BSD flags
5315 ;;
5316 esac
5317 ;;
5318 esac
5319 fi
5320 done
5321 IFS=$lt_save_ifs
5322 done
5323 : ${lt_cv_path_NM=no}
5324 fi
5325 fi
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5327 printf "%s\n" "$lt_cv_path_NM" >&6; }
5328 if test no != "$lt_cv_path_NM"; then
5329 NM=$lt_cv_path_NM
5330 else
5331 # Didn't find any BSD compatible name lister, look for dumpbin.
5332 if test -n "$DUMPBIN"; then :
5333 # Let the user override the test.
5334 else
5335 if test -n "$ac_tool_prefix"; then
5336 for ac_prog in dumpbin "link -dump"
5337 do
5338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 printf %s "checking for $ac_word... " >&6; }
5342 if test ${ac_cv_prog_DUMPBIN+y}
5343 then :
5344 printf %s "(cached) " >&6
5345 else $as_nop
5346 if test -n "$DUMPBIN"; then
5347 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5351 do
5352 IFS=$as_save_IFS
5353 case $as_dir in #(((
5354 '') as_dir=./ ;;
5355 */) ;;
5356 *) as_dir=$as_dir/ ;;
5357 esac
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5362 break 2
5363 fi
5364 done
5365 done
5366 IFS=$as_save_IFS
5367
5368 fi
5369 fi
5370 DUMPBIN=$ac_cv_prog_DUMPBIN
5371 if test -n "$DUMPBIN"; then
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5373 printf "%s\n" "$DUMPBIN" >&6; }
5374 else
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5376 printf "%s\n" "no" >&6; }
5377 fi
5378
5379
5380 test -n "$DUMPBIN" && break
5381 done
5382 fi
5383 if test -z "$DUMPBIN"; then
5384 ac_ct_DUMPBIN=$DUMPBIN
5385 for ac_prog in dumpbin "link -dump"
5386 do
5387 # Extract the first word of "$ac_prog", so it can be a program name with args.
5388 set dummy $ac_prog; ac_word=$2
5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390 printf %s "checking for $ac_word... " >&6; }
5391 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5392 then :
5393 printf %s "(cached) " >&6
5394 else $as_nop
5395 if test -n "$ac_ct_DUMPBIN"; then
5396 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5400 do
5401 IFS=$as_save_IFS
5402 case $as_dir in #(((
5403 '') as_dir=./ ;;
5404 */) ;;
5405 *) as_dir=$as_dir/ ;;
5406 esac
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5411 break 2
5412 fi
5413 done
5414 done
5415 IFS=$as_save_IFS
5416
5417 fi
5418 fi
5419 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5420 if test -n "$ac_ct_DUMPBIN"; then
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5422 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
5423 else
5424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 printf "%s\n" "no" >&6; }
5426 fi
5427
5428
5429 test -n "$ac_ct_DUMPBIN" && break
5430 done
5431
5432 if test "x$ac_ct_DUMPBIN" = x; then
5433 DUMPBIN=":"
5434 else
5435 case $cross_compiling:$ac_tool_warned in
5436 yes:)
5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5438 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5439 ac_tool_warned=yes ;;
5440 esac
5441 DUMPBIN=$ac_ct_DUMPBIN
5442 fi
5443 fi
5444
5445 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5446 *COFF*)
5447 DUMPBIN="$DUMPBIN -symbols -headers"
5448 ;;
5449 *)
5450 DUMPBIN=:
5451 ;;
5452 esac
5453 fi
5454
5455 if test : != "$DUMPBIN"; then
5456 NM=$DUMPBIN
5457 fi
5458 fi
5459 test -z "$NM" && NM=nm
5460
5461
5462
5463
5464
5465
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5467 printf %s "checking the name lister ($NM) interface... " >&6; }
5468 if test ${lt_cv_nm_interface+y}
5469 then :
5470 printf %s "(cached) " >&6
5471 else $as_nop
5472 lt_cv_nm_interface="BSD nm"
5473 echo "int some_variable = 0;" > conftest.$ac_ext
5474 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5475 (eval "$ac_compile" 2>conftest.err)
5476 cat conftest.err >&5
5477 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5478 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5479 cat conftest.err >&5
5480 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5481 cat conftest.out >&5
5482 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5483 lt_cv_nm_interface="MS dumpbin"
5484 fi
5485 rm -f conftest*
5486 fi
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5488 printf "%s\n" "$lt_cv_nm_interface" >&6; }
5489
5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5491 printf %s "checking whether ln -s works... " >&6; }
5492 LN_S=$as_ln_s
5493 if test "$LN_S" = "ln -s"; then
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5495 printf "%s\n" "yes" >&6; }
5496 else
5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5498 printf "%s\n" "no, using $LN_S" >&6; }
5499 fi
5500
5501 # find the maximum length of command line arguments
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5503 printf %s "checking the maximum length of command line arguments... " >&6; }
5504 if test ${lt_cv_sys_max_cmd_len+y}
5505 then :
5506 printf %s "(cached) " >&6
5507 else $as_nop
5508 i=0
5509 teststring=ABCD
5510
5511 case $build_os in
5512 msdosdjgpp*)
5513 # On DJGPP, this test can blow up pretty badly due to problems in libc
5514 # (any single argument exceeding 2000 bytes causes a buffer overrun
5515 # during glob expansion). Even if it were fixed, the result of this
5516 # check would be larger than it should be.
5517 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5518 ;;
5519
5520 gnu*)
5521 # Under GNU Hurd, this test is not required because there is
5522 # no limit to the length of command line arguments.
5523 # Libtool will interpret -1 as no limit whatsoever
5524 lt_cv_sys_max_cmd_len=-1;
5525 ;;
5526
5527 cygwin* | mingw* | cegcc*)
5528 # On Win9x/ME, this test blows up -- it succeeds, but takes
5529 # about 5 minutes as the teststring grows exponentially.
5530 # Worse, since 9x/ME are not pre-emptively multitasking,
5531 # you end up with a "frozen" computer, even though with patience
5532 # the test eventually succeeds (with a max line length of 256k).
5533 # Instead, let's just punt: use the minimum linelength reported by
5534 # all of the supported platforms: 8192 (on NT/2K/XP).
5535 lt_cv_sys_max_cmd_len=8192;
5536 ;;
5537
5538 mint*)
5539 # On MiNT this can take a long time and run out of memory.
5540 lt_cv_sys_max_cmd_len=8192;
5541 ;;
5542
5543 amigaos*)
5544 # On AmigaOS with pdksh, this test takes hours, literally.
5545 # So we just punt and use a minimum line length of 8192.
5546 lt_cv_sys_max_cmd_len=8192;
5547 ;;
5548
5549 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5550 # This has been around since 386BSD, at least. Likely further.
5551 if test -x /sbin/sysctl; then
5552 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5553 elif test -x /usr/sbin/sysctl; then
5554 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5555 else
5556 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5557 fi
5558 # And add a safety zone
5559 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5560 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5561 ;;
5562
5563 interix*)
5564 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5565 lt_cv_sys_max_cmd_len=196608
5566 ;;
5567
5568 os2*)
5569 # The test takes a long time on OS/2.
5570 lt_cv_sys_max_cmd_len=8192
5571 ;;
5572
5573 osf*)
5574 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5575 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5576 # nice to cause kernel panics so lets avoid the loop below.
5577 # First set a reasonable default.
5578 lt_cv_sys_max_cmd_len=16384
5579 #
5580 if test -x /sbin/sysconfig; then
5581 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5582 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5583 esac
5584 fi
5585 ;;
5586 sco3.2v5*)
5587 lt_cv_sys_max_cmd_len=102400
5588 ;;
5589 sysv5* | sco5v6* | sysv4.2uw2*)
5590 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5591 if test -n "$kargmax"; then
5592 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5593 else
5594 lt_cv_sys_max_cmd_len=32768
5595 fi
5596 ;;
5597 *)
5598 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5599 if test -n "$lt_cv_sys_max_cmd_len" && \
5600 test undefined != "$lt_cv_sys_max_cmd_len"; then
5601 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5602 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5603 else
5604 # Make teststring a little bigger before we do anything with it.
5605 # a 1K string should be a reasonable start.
5606 for i in 1 2 3 4 5 6 7 8; do
5607 teststring=$teststring$teststring
5608 done
5609 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5610 # If test is not a shell built-in, we'll probably end up computing a
5611 # maximum length that is only half of the actual maximum length, but
5612 # we can't tell.
5613 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5614 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5615 test 17 != "$i" # 1/2 MB should be enough
5616 do
5617 i=`expr $i + 1`
5618 teststring=$teststring$teststring
5619 done
5620 # Only check the string length outside the loop.
5621 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5622 teststring=
5623 # Add a significant safety factor because C++ compilers can tack on
5624 # massive amounts of additional arguments before passing them to the
5625 # linker. It appears as though 1/2 is a usable value.
5626 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5627 fi
5628 ;;
5629 esac
5630
5631 fi
5632
5633 if test -n "$lt_cv_sys_max_cmd_len"; then
5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5635 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
5636 else
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5638 printf "%s\n" "none" >&6; }
5639 fi
5640 max_cmd_len=$lt_cv_sys_max_cmd_len
5641
5642
5643
5644
5645
5646
5647 : ${CP="cp -f"}
5648 : ${MV="mv -f"}
5649 : ${RM="rm -f"}
5650
5651 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5652 lt_unset=unset
5653 else
5654 lt_unset=false
5655 fi
5656
5657
5658
5659
5660
5661 # test EBCDIC or ASCII
5662 case `echo X|tr X '\101'` in
5663 A) # ASCII based system
5664 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5665 lt_SP2NL='tr \040 \012'
5666 lt_NL2SP='tr \015\012 \040\040'
5667 ;;
5668 *) # EBCDIC based system
5669 lt_SP2NL='tr \100 \n'
5670 lt_NL2SP='tr \r\n \100\100'
5671 ;;
5672 esac
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5683 printf %s "checking how to convert $build file names to $host format... " >&6; }
5684 if test ${lt_cv_to_host_file_cmd+y}
5685 then :
5686 printf %s "(cached) " >&6
5687 else $as_nop
5688 case $host in
5689 *-*-mingw* )
5690 case $build in
5691 *-*-mingw* ) # actually msys
5692 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5693 ;;
5694 *-*-cygwin* )
5695 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5696 ;;
5697 * ) # otherwise, assume *nix
5698 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5699 ;;
5700 esac
5701 ;;
5702 *-*-cygwin* )
5703 case $build in
5704 *-*-mingw* ) # actually msys
5705 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5706 ;;
5707 *-*-cygwin* )
5708 lt_cv_to_host_file_cmd=func_convert_file_noop
5709 ;;
5710 * ) # otherwise, assume *nix
5711 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5712 ;;
5713 esac
5714 ;;
5715 * ) # unhandled hosts (and "normal" native builds)
5716 lt_cv_to_host_file_cmd=func_convert_file_noop
5717 ;;
5718 esac
5719
5720 fi
5721
5722 to_host_file_cmd=$lt_cv_to_host_file_cmd
5723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5724 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
5725
5726
5727
5728
5729
5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5731 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
5732 if test ${lt_cv_to_tool_file_cmd+y}
5733 then :
5734 printf %s "(cached) " >&6
5735 else $as_nop
5736 #assume ordinary cross tools, or native build.
5737 lt_cv_to_tool_file_cmd=func_convert_file_noop
5738 case $host in
5739 *-*-mingw* )
5740 case $build in
5741 *-*-mingw* ) # actually msys
5742 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5743 ;;
5744 esac
5745 ;;
5746 esac
5747
5748 fi
5749
5750 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5752 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
5753
5754
5755
5756
5757
5758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5759 printf %s "checking for $LD option to reload object files... " >&6; }
5760 if test ${lt_cv_ld_reload_flag+y}
5761 then :
5762 printf %s "(cached) " >&6
5763 else $as_nop
5764 lt_cv_ld_reload_flag='-r'
5765 fi
5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5767 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
5768 reload_flag=$lt_cv_ld_reload_flag
5769 case $reload_flag in
5770 "" | " "*) ;;
5771 *) reload_flag=" $reload_flag" ;;
5772 esac
5773 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5774 case $host_os in
5775 cygwin* | mingw* | pw32* | cegcc*)
5776 if test yes != "$GCC"; then
5777 reload_cmds=false
5778 fi
5779 ;;
5780 darwin*)
5781 if test yes = "$GCC"; then
5782 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5783 else
5784 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5785 fi
5786 ;;
5787 esac
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797 if test -n "$ac_tool_prefix"; then
5798 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5799 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 printf %s "checking for $ac_word... " >&6; }
5802 if test ${ac_cv_prog_OBJDUMP+y}
5803 then :
5804 printf %s "(cached) " >&6
5805 else $as_nop
5806 if test -n "$OBJDUMP"; then
5807 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5811 do
5812 IFS=$as_save_IFS
5813 case $as_dir in #(((
5814 '') as_dir=./ ;;
5815 */) ;;
5816 *) as_dir=$as_dir/ ;;
5817 esac
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5822 break 2
5823 fi
5824 done
5825 done
5826 IFS=$as_save_IFS
5827
5828 fi
5829 fi
5830 OBJDUMP=$ac_cv_prog_OBJDUMP
5831 if test -n "$OBJDUMP"; then
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5833 printf "%s\n" "$OBJDUMP" >&6; }
5834 else
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 printf "%s\n" "no" >&6; }
5837 fi
5838
5839
5840 fi
5841 if test -z "$ac_cv_prog_OBJDUMP"; then
5842 ac_ct_OBJDUMP=$OBJDUMP
5843 # Extract the first word of "objdump", so it can be a program name with args.
5844 set dummy objdump; ac_word=$2
5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 printf %s "checking for $ac_word... " >&6; }
5847 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
5848 then :
5849 printf %s "(cached) " >&6
5850 else $as_nop
5851 if test -n "$ac_ct_OBJDUMP"; then
5852 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5853 else
5854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 for as_dir in $PATH
5856 do
5857 IFS=$as_save_IFS
5858 case $as_dir in #(((
5859 '') as_dir=./ ;;
5860 */) ;;
5861 *) as_dir=$as_dir/ ;;
5862 esac
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5867 break 2
5868 fi
5869 done
5870 done
5871 IFS=$as_save_IFS
5872
5873 fi
5874 fi
5875 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5876 if test -n "$ac_ct_OBJDUMP"; then
5877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5878 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
5879 else
5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 printf "%s\n" "no" >&6; }
5882 fi
5883
5884 if test "x$ac_ct_OBJDUMP" = x; then
5885 OBJDUMP="false"
5886 else
5887 case $cross_compiling:$ac_tool_warned in
5888 yes:)
5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5890 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5891 ac_tool_warned=yes ;;
5892 esac
5893 OBJDUMP=$ac_ct_OBJDUMP
5894 fi
5895 else
5896 OBJDUMP="$ac_cv_prog_OBJDUMP"
5897 fi
5898
5899 test -z "$OBJDUMP" && OBJDUMP=objdump
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5910 printf %s "checking how to recognize dependent libraries... " >&6; }
5911 if test ${lt_cv_deplibs_check_method+y}
5912 then :
5913 printf %s "(cached) " >&6
5914 else $as_nop
5915 lt_cv_file_magic_cmd='$MAGIC_CMD'
5916 lt_cv_file_magic_test_file=
5917 lt_cv_deplibs_check_method='unknown'
5918 # Need to set the preceding variable on all platforms that support
5919 # interlibrary dependencies.
5920 # 'none' -- dependencies not supported.
5921 # 'unknown' -- same as none, but documents that we really don't know.
5922 # 'pass_all' -- all dependencies passed with no checks.
5923 # 'test_compile' -- check by making test program.
5924 # 'file_magic [[regex]]' -- check by looking for files in library path
5925 # that responds to the $file_magic_cmd with a given extended regex.
5926 # If you have 'file' or equivalent on your system and you're not sure
5927 # whether 'pass_all' will *always* work, you probably want this one.
5928
5929 case $host_os in
5930 aix[4-9]*)
5931 lt_cv_deplibs_check_method=pass_all
5932 ;;
5933
5934 beos*)
5935 lt_cv_deplibs_check_method=pass_all
5936 ;;
5937
5938 bsdi[45]*)
5939 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5940 lt_cv_file_magic_cmd='/usr/bin/file -L'
5941 lt_cv_file_magic_test_file=/shlib/libc.so
5942 ;;
5943
5944 cygwin*)
5945 # func_win32_libid is a shell function defined in ltmain.sh
5946 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5947 lt_cv_file_magic_cmd='func_win32_libid'
5948 ;;
5949
5950 mingw* | pw32*)
5951 # Base MSYS/MinGW do not provide the 'file' command needed by
5952 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5953 # unless we find 'file', for example because we are cross-compiling.
5954 if ( file / ) >/dev/null 2>&1; then
5955 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5956 lt_cv_file_magic_cmd='func_win32_libid'
5957 else
5958 # Keep this pattern in sync with the one in func_win32_libid.
5959 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5960 lt_cv_file_magic_cmd='$OBJDUMP -f'
5961 fi
5962 ;;
5963
5964 cegcc*)
5965 # use the weaker test based on 'objdump'. See mingw*.
5966 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5967 lt_cv_file_magic_cmd='$OBJDUMP -f'
5968 ;;
5969
5970 darwin* | rhapsody*)
5971 lt_cv_deplibs_check_method=pass_all
5972 ;;
5973
5974 freebsd* | dragonfly*)
5975 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5976 case $host_cpu in
5977 i*86 )
5978 # Not sure whether the presence of OpenBSD here was a mistake.
5979 # Let's accept both of them until this is cleared up.
5980 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5981 lt_cv_file_magic_cmd=/usr/bin/file
5982 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5983 ;;
5984 esac
5985 else
5986 lt_cv_deplibs_check_method=pass_all
5987 fi
5988 ;;
5989
5990 haiku*)
5991 lt_cv_deplibs_check_method=pass_all
5992 ;;
5993
5994 hpux10.20* | hpux11*)
5995 lt_cv_file_magic_cmd=/usr/bin/file
5996 case $host_cpu in
5997 ia64*)
5998 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5999 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6000 ;;
6001 hppa*64*)
6002 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]'
6003 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6004 ;;
6005 *)
6006 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6007 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6008 ;;
6009 esac
6010 ;;
6011
6012 interix[3-9]*)
6013 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6014 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6015 ;;
6016
6017 irix5* | irix6* | nonstopux*)
6018 case $LD in
6019 *-32|*"-32 ") libmagic=32-bit;;
6020 *-n32|*"-n32 ") libmagic=N32;;
6021 *-64|*"-64 ") libmagic=64-bit;;
6022 *) libmagic=never-match;;
6023 esac
6024 lt_cv_deplibs_check_method=pass_all
6025 ;;
6026
6027 # This must be glibc/ELF.
6028 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6029 lt_cv_deplibs_check_method=pass_all
6030 ;;
6031
6032 netbsd* | netbsdelf*-gnu)
6033 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6034 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6035 else
6036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6037 fi
6038 ;;
6039
6040 newos6*)
6041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6042 lt_cv_file_magic_cmd=/usr/bin/file
6043 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6044 ;;
6045
6046 *nto* | *qnx*)
6047 lt_cv_deplibs_check_method=pass_all
6048 ;;
6049
6050 openbsd* | bitrig*)
6051 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6052 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6053 else
6054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6055 fi
6056 ;;
6057
6058 osf3* | osf4* | osf5*)
6059 lt_cv_deplibs_check_method=pass_all
6060 ;;
6061
6062 rdos*)
6063 lt_cv_deplibs_check_method=pass_all
6064 ;;
6065
6066 solaris*)
6067 lt_cv_deplibs_check_method=pass_all
6068 ;;
6069
6070 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6071 lt_cv_deplibs_check_method=pass_all
6072 ;;
6073
6074 sysv4 | sysv4.3*)
6075 case $host_vendor in
6076 motorola)
6077 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]'
6078 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6079 ;;
6080 ncr)
6081 lt_cv_deplibs_check_method=pass_all
6082 ;;
6083 sequent)
6084 lt_cv_file_magic_cmd='/bin/file'
6085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6086 ;;
6087 sni)
6088 lt_cv_file_magic_cmd='/bin/file'
6089 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6090 lt_cv_file_magic_test_file=/lib/libc.so
6091 ;;
6092 siemens)
6093 lt_cv_deplibs_check_method=pass_all
6094 ;;
6095 pc)
6096 lt_cv_deplibs_check_method=pass_all
6097 ;;
6098 esac
6099 ;;
6100
6101 tpf*)
6102 lt_cv_deplibs_check_method=pass_all
6103 ;;
6104 os2*)
6105 lt_cv_deplibs_check_method=pass_all
6106 ;;
6107 esac
6108
6109 fi
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6111 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
6112
6113 file_magic_glob=
6114 want_nocaseglob=no
6115 if test "$build" = "$host"; then
6116 case $host_os in
6117 mingw* | pw32*)
6118 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6119 want_nocaseglob=yes
6120 else
6121 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6122 fi
6123 ;;
6124 esac
6125 fi
6126
6127 file_magic_cmd=$lt_cv_file_magic_cmd
6128 deplibs_check_method=$lt_cv_deplibs_check_method
6129 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152 if test -n "$ac_tool_prefix"; then
6153 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6154 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156 printf %s "checking for $ac_word... " >&6; }
6157 if test ${ac_cv_prog_DLLTOOL+y}
6158 then :
6159 printf %s "(cached) " >&6
6160 else $as_nop
6161 if test -n "$DLLTOOL"; then
6162 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6163 else
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in $PATH
6166 do
6167 IFS=$as_save_IFS
6168 case $as_dir in #(((
6169 '') as_dir=./ ;;
6170 */) ;;
6171 *) as_dir=$as_dir/ ;;
6172 esac
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6175 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6177 break 2
6178 fi
6179 done
6180 done
6181 IFS=$as_save_IFS
6182
6183 fi
6184 fi
6185 DLLTOOL=$ac_cv_prog_DLLTOOL
6186 if test -n "$DLLTOOL"; then
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6188 printf "%s\n" "$DLLTOOL" >&6; }
6189 else
6190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 printf "%s\n" "no" >&6; }
6192 fi
6193
6194
6195 fi
6196 if test -z "$ac_cv_prog_DLLTOOL"; then
6197 ac_ct_DLLTOOL=$DLLTOOL
6198 # Extract the first word of "dlltool", so it can be a program name with args.
6199 set dummy dlltool; ac_word=$2
6200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 printf %s "checking for $ac_word... " >&6; }
6202 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6203 then :
6204 printf %s "(cached) " >&6
6205 else $as_nop
6206 if test -n "$ac_ct_DLLTOOL"; then
6207 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6211 do
6212 IFS=$as_save_IFS
6213 case $as_dir in #(((
6214 '') as_dir=./ ;;
6215 */) ;;
6216 *) as_dir=$as_dir/ ;;
6217 esac
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6220 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6221 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6222 break 2
6223 fi
6224 done
6225 done
6226 IFS=$as_save_IFS
6227
6228 fi
6229 fi
6230 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6231 if test -n "$ac_ct_DLLTOOL"; then
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6233 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
6234 else
6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 printf "%s\n" "no" >&6; }
6237 fi
6238
6239 if test "x$ac_ct_DLLTOOL" = x; then
6240 DLLTOOL="false"
6241 else
6242 case $cross_compiling:$ac_tool_warned in
6243 yes:)
6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6245 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6246 ac_tool_warned=yes ;;
6247 esac
6248 DLLTOOL=$ac_ct_DLLTOOL
6249 fi
6250 else
6251 DLLTOOL="$ac_cv_prog_DLLTOOL"
6252 fi
6253
6254 test -z "$DLLTOOL" && DLLTOOL=dlltool
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6266 printf %s "checking how to associate runtime and link libraries... " >&6; }
6267 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6268 then :
6269 printf %s "(cached) " >&6
6270 else $as_nop
6271 lt_cv_sharedlib_from_linklib_cmd='unknown'
6272
6273 case $host_os in
6274 cygwin* | mingw* | pw32* | cegcc*)
6275 # two different shell functions defined in ltmain.sh;
6276 # decide which one to use based on capabilities of $DLLTOOL
6277 case `$DLLTOOL --help 2>&1` in
6278 *--identify-strict*)
6279 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6280 ;;
6281 *)
6282 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6283 ;;
6284 esac
6285 ;;
6286 *)
6287 # fallback: assume linklib IS sharedlib
6288 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6289 ;;
6290 esac
6291
6292 fi
6293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6294 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6295 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6296 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6297
6298
6299
6300
6301
6302
6303
6304
6305 if test -n "$ac_tool_prefix"; then
6306 for ac_prog in ar
6307 do
6308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 printf %s "checking for $ac_word... " >&6; }
6312 if test ${ac_cv_prog_AR+y}
6313 then :
6314 printf %s "(cached) " >&6
6315 else $as_nop
6316 if test -n "$AR"; then
6317 ac_cv_prog_AR="$AR" # Let the user override the test.
6318 else
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 for as_dir in $PATH
6321 do
6322 IFS=$as_save_IFS
6323 case $as_dir in #(((
6324 '') as_dir=./ ;;
6325 */) ;;
6326 *) as_dir=$as_dir/ ;;
6327 esac
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6330 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6332 break 2
6333 fi
6334 done
6335 done
6336 IFS=$as_save_IFS
6337
6338 fi
6339 fi
6340 AR=$ac_cv_prog_AR
6341 if test -n "$AR"; then
6342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6343 printf "%s\n" "$AR" >&6; }
6344 else
6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 printf "%s\n" "no" >&6; }
6347 fi
6348
6349
6350 test -n "$AR" && break
6351 done
6352 fi
6353 if test -z "$AR"; then
6354 ac_ct_AR=$AR
6355 for ac_prog in ar
6356 do
6357 # Extract the first word of "$ac_prog", so it can be a program name with args.
6358 set dummy $ac_prog; ac_word=$2
6359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360 printf %s "checking for $ac_word... " >&6; }
6361 if test ${ac_cv_prog_ac_ct_AR+y}
6362 then :
6363 printf %s "(cached) " >&6
6364 else $as_nop
6365 if test -n "$ac_ct_AR"; then
6366 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6367 else
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369 for as_dir in $PATH
6370 do
6371 IFS=$as_save_IFS
6372 case $as_dir in #(((
6373 '') as_dir=./ ;;
6374 */) ;;
6375 *) as_dir=$as_dir/ ;;
6376 esac
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6379 ac_cv_prog_ac_ct_AR="$ac_prog"
6380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6381 break 2
6382 fi
6383 done
6384 done
6385 IFS=$as_save_IFS
6386
6387 fi
6388 fi
6389 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6390 if test -n "$ac_ct_AR"; then
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6392 printf "%s\n" "$ac_ct_AR" >&6; }
6393 else
6394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 printf "%s\n" "no" >&6; }
6396 fi
6397
6398
6399 test -n "$ac_ct_AR" && break
6400 done
6401
6402 if test "x$ac_ct_AR" = x; then
6403 AR="false"
6404 else
6405 case $cross_compiling:$ac_tool_warned in
6406 yes:)
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6408 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6409 ac_tool_warned=yes ;;
6410 esac
6411 AR=$ac_ct_AR
6412 fi
6413 fi
6414
6415 : ${AR=ar}
6416 : ${AR_FLAGS=cr}
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6429 printf %s "checking for archiver @FILE support... " >&6; }
6430 if test ${lt_cv_ar_at_file+y}
6431 then :
6432 printf %s "(cached) " >&6
6433 else $as_nop
6434 lt_cv_ar_at_file=no
6435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6436 /* end confdefs.h. */
6437
6438 int
6439 main (void)
6440 {
6441
6442 ;
6443 return 0;
6444 }
6445 _ACEOF
6446 if ac_fn_c_try_compile "$LINENO"
6447 then :
6448 echo conftest.$ac_objext > conftest.lst
6449 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6450 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6451 (eval $lt_ar_try) 2>&5
6452 ac_status=$?
6453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6454 test $ac_status = 0; }
6455 if test 0 -eq "$ac_status"; then
6456 # Ensure the archiver fails upon bogus file names.
6457 rm -f conftest.$ac_objext libconftest.a
6458 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6459 (eval $lt_ar_try) 2>&5
6460 ac_status=$?
6461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6462 test $ac_status = 0; }
6463 if test 0 -ne "$ac_status"; then
6464 lt_cv_ar_at_file=@
6465 fi
6466 fi
6467 rm -f conftest.* libconftest.a
6468
6469 fi
6470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6471
6472 fi
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6474 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
6475
6476 if test no = "$lt_cv_ar_at_file"; then
6477 archiver_list_spec=
6478 else
6479 archiver_list_spec=$lt_cv_ar_at_file
6480 fi
6481
6482
6483
6484
6485
6486
6487
6488 if test -n "$ac_tool_prefix"; then
6489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6490 set dummy ${ac_tool_prefix}strip; ac_word=$2
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 printf %s "checking for $ac_word... " >&6; }
6493 if test ${ac_cv_prog_STRIP+y}
6494 then :
6495 printf %s "(cached) " >&6
6496 else $as_nop
6497 if test -n "$STRIP"; then
6498 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6502 do
6503 IFS=$as_save_IFS
6504 case $as_dir in #(((
6505 '') as_dir=./ ;;
6506 */) ;;
6507 *) as_dir=$as_dir/ ;;
6508 esac
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6513 break 2
6514 fi
6515 done
6516 done
6517 IFS=$as_save_IFS
6518
6519 fi
6520 fi
6521 STRIP=$ac_cv_prog_STRIP
6522 if test -n "$STRIP"; then
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6524 printf "%s\n" "$STRIP" >&6; }
6525 else
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 printf "%s\n" "no" >&6; }
6528 fi
6529
6530
6531 fi
6532 if test -z "$ac_cv_prog_STRIP"; then
6533 ac_ct_STRIP=$STRIP
6534 # Extract the first word of "strip", so it can be a program name with args.
6535 set dummy strip; ac_word=$2
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537 printf %s "checking for $ac_word... " >&6; }
6538 if test ${ac_cv_prog_ac_ct_STRIP+y}
6539 then :
6540 printf %s "(cached) " >&6
6541 else $as_nop
6542 if test -n "$ac_ct_STRIP"; then
6543 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6544 else
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH
6547 do
6548 IFS=$as_save_IFS
6549 case $as_dir in #(((
6550 '') as_dir=./ ;;
6551 */) ;;
6552 *) as_dir=$as_dir/ ;;
6553 esac
6554 for ac_exec_ext in '' $ac_executable_extensions; do
6555 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6556 ac_cv_prog_ac_ct_STRIP="strip"
6557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6558 break 2
6559 fi
6560 done
6561 done
6562 IFS=$as_save_IFS
6563
6564 fi
6565 fi
6566 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6567 if test -n "$ac_ct_STRIP"; then
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6569 printf "%s\n" "$ac_ct_STRIP" >&6; }
6570 else
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6572 printf "%s\n" "no" >&6; }
6573 fi
6574
6575 if test "x$ac_ct_STRIP" = x; then
6576 STRIP=":"
6577 else
6578 case $cross_compiling:$ac_tool_warned in
6579 yes:)
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6581 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6582 ac_tool_warned=yes ;;
6583 esac
6584 STRIP=$ac_ct_STRIP
6585 fi
6586 else
6587 STRIP="$ac_cv_prog_STRIP"
6588 fi
6589
6590 test -z "$STRIP" && STRIP=:
6591
6592
6593
6594
6595
6596
6597 if test -n "$ac_tool_prefix"; then
6598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6599 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 printf %s "checking for $ac_word... " >&6; }
6602 if test ${ac_cv_prog_RANLIB+y}
6603 then :
6604 printf %s "(cached) " >&6
6605 else $as_nop
6606 if test -n "$RANLIB"; then
6607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6611 do
6612 IFS=$as_save_IFS
6613 case $as_dir in #(((
6614 '') as_dir=./ ;;
6615 */) ;;
6616 *) as_dir=$as_dir/ ;;
6617 esac
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6622 break 2
6623 fi
6624 done
6625 done
6626 IFS=$as_save_IFS
6627
6628 fi
6629 fi
6630 RANLIB=$ac_cv_prog_RANLIB
6631 if test -n "$RANLIB"; then
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6633 printf "%s\n" "$RANLIB" >&6; }
6634 else
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 printf "%s\n" "no" >&6; }
6637 fi
6638
6639
6640 fi
6641 if test -z "$ac_cv_prog_RANLIB"; then
6642 ac_ct_RANLIB=$RANLIB
6643 # Extract the first word of "ranlib", so it can be a program name with args.
6644 set dummy ranlib; ac_word=$2
6645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 printf %s "checking for $ac_word... " >&6; }
6647 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6648 then :
6649 printf %s "(cached) " >&6
6650 else $as_nop
6651 if test -n "$ac_ct_RANLIB"; then
6652 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6656 do
6657 IFS=$as_save_IFS
6658 case $as_dir in #(((
6659 '') as_dir=./ ;;
6660 */) ;;
6661 *) as_dir=$as_dir/ ;;
6662 esac
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6665 ac_cv_prog_ac_ct_RANLIB="ranlib"
6666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6667 break 2
6668 fi
6669 done
6670 done
6671 IFS=$as_save_IFS
6672
6673 fi
6674 fi
6675 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6676 if test -n "$ac_ct_RANLIB"; then
6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6678 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6679 else
6680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 printf "%s\n" "no" >&6; }
6682 fi
6683
6684 if test "x$ac_ct_RANLIB" = x; then
6685 RANLIB=":"
6686 else
6687 case $cross_compiling:$ac_tool_warned in
6688 yes:)
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6690 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6691 ac_tool_warned=yes ;;
6692 esac
6693 RANLIB=$ac_ct_RANLIB
6694 fi
6695 else
6696 RANLIB="$ac_cv_prog_RANLIB"
6697 fi
6698
6699 test -z "$RANLIB" && RANLIB=:
6700
6701
6702
6703
6704
6705
6706 # Determine commands to create old-style static archives.
6707 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6708 old_postinstall_cmds='chmod 644 $oldlib'
6709 old_postuninstall_cmds=
6710
6711 if test -n "$RANLIB"; then
6712 case $host_os in
6713 bitrig* | openbsd*)
6714 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6715 ;;
6716 *)
6717 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6718 ;;
6719 esac
6720 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6721 fi
6722
6723 case $host_os in
6724 darwin*)
6725 lock_old_archive_extraction=yes ;;
6726 *)
6727 lock_old_archive_extraction=no ;;
6728 esac
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768 # If no C compiler was specified, use CC.
6769 LTCC=${LTCC-"$CC"}
6770
6771 # If no C compiler flags were specified, use CFLAGS.
6772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6773
6774 # Allow CC to be a program name with arguments.
6775 compiler=$CC
6776
6777
6778 # Check for command to grab the raw symbol name followed by C symbol from nm.
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6780 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
6781 if test ${lt_cv_sys_global_symbol_pipe+y}
6782 then :
6783 printf %s "(cached) " >&6
6784 else $as_nop
6785
6786 # These are sane defaults that work on at least a few old systems.
6787 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6788
6789 # Character class describing NM global symbol codes.
6790 symcode='[BCDEGRST]'
6791
6792 # Regexp to match symbols that can be accessed directly from C.
6793 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6794
6795 # Define system-specific variables.
6796 case $host_os in
6797 aix*)
6798 symcode='[BCDT]'
6799 ;;
6800 cygwin* | mingw* | pw32* | cegcc*)
6801 symcode='[ABCDGISTW]'
6802 ;;
6803 hpux*)
6804 if test ia64 = "$host_cpu"; then
6805 symcode='[ABCDEGRST]'
6806 fi
6807 ;;
6808 irix* | nonstopux*)
6809 symcode='[BCDEGRST]'
6810 ;;
6811 osf*)
6812 symcode='[BCDEGQRST]'
6813 ;;
6814 solaris*)
6815 symcode='[BDRT]'
6816 ;;
6817 sco3.2v5*)
6818 symcode='[DT]'
6819 ;;
6820 sysv4.2uw2*)
6821 symcode='[DT]'
6822 ;;
6823 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6824 symcode='[ABDT]'
6825 ;;
6826 sysv4)
6827 symcode='[DFNSTU]'
6828 ;;
6829 esac
6830
6831 # If we're using GNU nm, then use its standard symbol codes.
6832 case `$NM -V 2>&1` in
6833 *GNU* | *'with BFD'*)
6834 symcode='[ABCDGIRSTW]' ;;
6835 esac
6836
6837 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6838 # Gets list of data symbols to import.
6839 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6840 # Adjust the below global symbol transforms to fixup imported variables.
6841 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6842 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6843 lt_c_name_lib_hook="\
6844 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6845 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6846 else
6847 # Disable hooks by default.
6848 lt_cv_sys_global_symbol_to_import=
6849 lt_cdecl_hook=
6850 lt_c_name_hook=
6851 lt_c_name_lib_hook=
6852 fi
6853
6854 # Transform an extracted symbol line into a proper C declaration.
6855 # Some systems (esp. on ia64) link data and code symbols differently,
6856 # so use this general approach.
6857 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6858 $lt_cdecl_hook\
6859 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6860 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6864 $lt_c_name_hook\
6865 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6866 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6867
6868 # Transform an extracted symbol line into symbol name with lib prefix and
6869 # symbol address.
6870 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6871 $lt_c_name_lib_hook\
6872 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6873 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6874 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6875
6876 # Handle CRLF in mingw tool chain
6877 opt_cr=
6878 case $build_os in
6879 mingw*)
6880 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6881 ;;
6882 esac
6883
6884 # Try without a prefix underscore, then with it.
6885 for ac_symprfx in "" "_"; do
6886
6887 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6888 symxfrm="\\1 $ac_symprfx\\2 \\2"
6889
6890 # Write the raw and C identifiers.
6891 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6892 # Fake it for dumpbin and say T for any non-static function,
6893 # D for any global variable and I for any imported variable.
6894 # Also find C++ and __fastcall symbols from MSVC++,
6895 # which start with @ or ?.
6896 lt_cv_sys_global_symbol_pipe="$AWK '"\
6897 " {last_section=section; section=\$ 3};"\
6898 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6899 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6900 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6901 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6902 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6903 " \$ 0!~/External *\|/{next};"\
6904 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6905 " {if(hide[section]) next};"\
6906 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6907 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6908 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6909 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6910 " ' prfx=^$ac_symprfx"
6911 else
6912 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6913 fi
6914 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6915
6916 # Check to see that the pipe works correctly.
6917 pipe_works=no
6918
6919 rm -f conftest*
6920 cat > conftest.$ac_ext <<_LT_EOF
6921 #ifdef __cplusplus
6922 extern "C" {
6923 #endif
6924 char nm_test_var;
6925 void nm_test_func(void);
6926 void nm_test_func(void){}
6927 #ifdef __cplusplus
6928 }
6929 #endif
6930 int main(){nm_test_var='a';nm_test_func();return(0);}
6931 _LT_EOF
6932
6933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6934 (eval $ac_compile) 2>&5
6935 ac_status=$?
6936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6937 test $ac_status = 0; }; then
6938 # Now try to grab the symbols.
6939 nlist=conftest.nm
6940 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6941 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6942 # Try sorting and uniquifying the output.
6943 if sort "$nlist" | uniq > "$nlist"T; then
6944 mv -f "$nlist"T "$nlist"
6945 else
6946 rm -f "$nlist"T
6947 fi
6948
6949 # Make sure that we snagged all the symbols we need.
6950 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6951 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6952 cat <<_LT_EOF > conftest.$ac_ext
6953 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6954 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6955 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6956 relocations are performed -- see ld's documentation on pseudo-relocs. */
6957 # define LT_DLSYM_CONST
6958 #elif defined __osf__
6959 /* This system does not cope well with relocations in const data. */
6960 # define LT_DLSYM_CONST
6961 #else
6962 # define LT_DLSYM_CONST const
6963 #endif
6964
6965 #ifdef __cplusplus
6966 extern "C" {
6967 #endif
6968
6969 _LT_EOF
6970 # Now generate the symbol file.
6971 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6972
6973 cat <<_LT_EOF >> conftest.$ac_ext
6974
6975 /* The mapping between symbol names and symbols. */
6976 LT_DLSYM_CONST struct {
6977 const char *name;
6978 void *address;
6979 }
6980 lt__PROGRAM__LTX_preloaded_symbols[] =
6981 {
6982 { "@PROGRAM@", (void *) 0 },
6983 _LT_EOF
6984 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6985 cat <<\_LT_EOF >> conftest.$ac_ext
6986 {0, (void *) 0}
6987 };
6988
6989 /* This works around a problem in FreeBSD linker */
6990 #ifdef FREEBSD_WORKAROUND
6991 static const void *lt_preloaded_setup() {
6992 return lt__PROGRAM__LTX_preloaded_symbols;
6993 }
6994 #endif
6995
6996 #ifdef __cplusplus
6997 }
6998 #endif
6999 _LT_EOF
7000 # Now try linking the two files.
7001 mv conftest.$ac_objext conftstm.$ac_objext
7002 lt_globsym_save_LIBS=$LIBS
7003 lt_globsym_save_CFLAGS=$CFLAGS
7004 LIBS=conftstm.$ac_objext
7005 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7007 (eval $ac_link) 2>&5
7008 ac_status=$?
7009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7011 pipe_works=yes
7012 fi
7013 LIBS=$lt_globsym_save_LIBS
7014 CFLAGS=$lt_globsym_save_CFLAGS
7015 else
7016 echo "cannot find nm_test_func in $nlist" >&5
7017 fi
7018 else
7019 echo "cannot find nm_test_var in $nlist" >&5
7020 fi
7021 else
7022 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7023 fi
7024 else
7025 echo "$progname: failed program was:" >&5
7026 cat conftest.$ac_ext >&5
7027 fi
7028 rm -rf conftest* conftst*
7029
7030 # Do not use the global_symbol_pipe unless it works.
7031 if test yes = "$pipe_works"; then
7032 break
7033 else
7034 lt_cv_sys_global_symbol_pipe=
7035 fi
7036 done
7037
7038 fi
7039
7040 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7041 lt_cv_sys_global_symbol_to_cdecl=
7042 fi
7043 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7045 printf "%s\n" "failed" >&6; }
7046 else
7047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7048 printf "%s\n" "ok" >&6; }
7049 fi
7050
7051 # Response file support.
7052 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7053 nm_file_list_spec='@'
7054 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7055 nm_file_list_spec='@'
7056 fi
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7095 printf %s "checking for sysroot... " >&6; }
7096
7097 # Check whether --with-sysroot was given.
7098 if test ${with_sysroot+y}
7099 then :
7100 withval=$with_sysroot;
7101 else $as_nop
7102 with_sysroot=no
7103 fi
7104
7105
7106 lt_sysroot=
7107 case $with_sysroot in #(
7108 yes)
7109 if test yes = "$GCC"; then
7110 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7111 fi
7112 ;; #(
7113 /*)
7114 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7115 ;; #(
7116 no|'')
7117 ;; #(
7118 *)
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7120 printf "%s\n" "$with_sysroot" >&6; }
7121 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7122 ;;
7123 esac
7124
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7126 printf "%s\n" "${lt_sysroot:-no}" >&6; }
7127
7128
7129
7130
7131
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7133 printf %s "checking for a working dd... " >&6; }
7134 if test ${ac_cv_path_lt_DD+y}
7135 then :
7136 printf %s "(cached) " >&6
7137 else $as_nop
7138 printf 0123456789abcdef0123456789abcdef >conftest.i
7139 cat conftest.i conftest.i >conftest2.i
7140 : ${lt_DD:=$DD}
7141 if test -z "$lt_DD"; then
7142 ac_path_lt_DD_found=false
7143 # Loop through the user's path and test for each of PROGNAME-LIST
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 for as_dir in $PATH
7146 do
7147 IFS=$as_save_IFS
7148 case $as_dir in #(((
7149 '') as_dir=./ ;;
7150 */) ;;
7151 *) as_dir=$as_dir/ ;;
7152 esac
7153 for ac_prog in dd
7154 do
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7157 as_fn_executable_p "$ac_path_lt_DD" || continue
7158 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7159 cmp -s conftest.i conftest.out \
7160 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7161 fi
7162 $ac_path_lt_DD_found && break 3
7163 done
7164 done
7165 done
7166 IFS=$as_save_IFS
7167 if test -z "$ac_cv_path_lt_DD"; then
7168 :
7169 fi
7170 else
7171 ac_cv_path_lt_DD=$lt_DD
7172 fi
7173
7174 rm -f conftest.i conftest2.i conftest.out
7175 fi
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7177 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
7178
7179
7180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7181 printf %s "checking how to truncate binary pipes... " >&6; }
7182 if test ${lt_cv_truncate_bin+y}
7183 then :
7184 printf %s "(cached) " >&6
7185 else $as_nop
7186 printf 0123456789abcdef0123456789abcdef >conftest.i
7187 cat conftest.i conftest.i >conftest2.i
7188 lt_cv_truncate_bin=
7189 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7190 cmp -s conftest.i conftest.out \
7191 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7192 fi
7193 rm -f conftest.i conftest2.i conftest.out
7194 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7195 fi
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7197 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
7198
7199
7200
7201
7202
7203
7204
7205 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7206 func_cc_basename ()
7207 {
7208 for cc_temp in $*""; do
7209 case $cc_temp in
7210 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7211 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7212 \-*) ;;
7213 *) break;;
7214 esac
7215 done
7216 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7217 }
7218
7219 # Check whether --enable-libtool-lock was given.
7220 if test ${enable_libtool_lock+y}
7221 then :
7222 enableval=$enable_libtool_lock;
7223 fi
7224
7225 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7226
7227 # Some flags need to be propagated to the compiler or linker for good
7228 # libtool support.
7229 case $host in
7230 ia64-*-hpux*)
7231 # Find out what ABI is being produced by ac_compile, and set mode
7232 # options accordingly.
7233 echo 'int i;' > conftest.$ac_ext
7234 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7235 (eval $ac_compile) 2>&5
7236 ac_status=$?
7237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7238 test $ac_status = 0; }; then
7239 case `/usr/bin/file conftest.$ac_objext` in
7240 *ELF-32*)
7241 HPUX_IA64_MODE=32
7242 ;;
7243 *ELF-64*)
7244 HPUX_IA64_MODE=64
7245 ;;
7246 esac
7247 fi
7248 rm -rf conftest*
7249 ;;
7250 *-*-irix6*)
7251 # Find out what ABI is being produced by ac_compile, and set linker
7252 # options accordingly.
7253 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7255 (eval $ac_compile) 2>&5
7256 ac_status=$?
7257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7258 test $ac_status = 0; }; then
7259 if test yes = "$lt_cv_prog_gnu_ld"; then
7260 case `/usr/bin/file conftest.$ac_objext` in
7261 *32-bit*)
7262 LD="${LD-ld} -melf32bsmip"
7263 ;;
7264 *N32*)
7265 LD="${LD-ld} -melf32bmipn32"
7266 ;;
7267 *64-bit*)
7268 LD="${LD-ld} -melf64bmip"
7269 ;;
7270 esac
7271 else
7272 case `/usr/bin/file conftest.$ac_objext` in
7273 *32-bit*)
7274 LD="${LD-ld} -32"
7275 ;;
7276 *N32*)
7277 LD="${LD-ld} -n32"
7278 ;;
7279 *64-bit*)
7280 LD="${LD-ld} -64"
7281 ;;
7282 esac
7283 fi
7284 fi
7285 rm -rf conftest*
7286 ;;
7287
7288 mips64*-*linux*)
7289 # Find out what ABI is being produced by ac_compile, and set linker
7290 # options accordingly.
7291 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7293 (eval $ac_compile) 2>&5
7294 ac_status=$?
7295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7296 test $ac_status = 0; }; then
7297 emul=elf
7298 case `/usr/bin/file conftest.$ac_objext` in
7299 *32-bit*)
7300 emul="${emul}32"
7301 ;;
7302 *64-bit*)
7303 emul="${emul}64"
7304 ;;
7305 esac
7306 case `/usr/bin/file conftest.$ac_objext` in
7307 *MSB*)
7308 emul="${emul}btsmip"
7309 ;;
7310 *LSB*)
7311 emul="${emul}ltsmip"
7312 ;;
7313 esac
7314 case `/usr/bin/file conftest.$ac_objext` in
7315 *N32*)
7316 emul="${emul}n32"
7317 ;;
7318 esac
7319 LD="${LD-ld} -m $emul"
7320 fi
7321 rm -rf conftest*
7322 ;;
7323
7324 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7325 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7326 # Find out what ABI is being produced by ac_compile, and set linker
7327 # options accordingly. Note that the listed cases only cover the
7328 # situations where additional linker options are needed (such as when
7329 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7330 # vice versa); the common cases where no linker options are needed do
7331 # not appear in the list.
7332 echo 'int i;' > conftest.$ac_ext
7333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7334 (eval $ac_compile) 2>&5
7335 ac_status=$?
7336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7337 test $ac_status = 0; }; then
7338 case `/usr/bin/file conftest.o` in
7339 *32-bit*)
7340 case $host in
7341 x86_64-*kfreebsd*-gnu)
7342 LD="${LD-ld} -m elf_i386_fbsd"
7343 ;;
7344 x86_64-*linux*)
7345 case `/usr/bin/file conftest.o` in
7346 *x86-64*)
7347 LD="${LD-ld} -m elf32_x86_64"
7348 ;;
7349 *)
7350 LD="${LD-ld} -m elf_i386"
7351 ;;
7352 esac
7353 ;;
7354 powerpc64le-*linux*)
7355 LD="${LD-ld} -m elf32lppclinux"
7356 ;;
7357 powerpc64-*linux*)
7358 LD="${LD-ld} -m elf32ppclinux"
7359 ;;
7360 s390x-*linux*)
7361 LD="${LD-ld} -m elf_s390"
7362 ;;
7363 sparc64-*linux*)
7364 LD="${LD-ld} -m elf32_sparc"
7365 ;;
7366 esac
7367 ;;
7368 *64-bit*)
7369 case $host in
7370 x86_64-*kfreebsd*-gnu)
7371 LD="${LD-ld} -m elf_x86_64_fbsd"
7372 ;;
7373 x86_64-*linux*)
7374 LD="${LD-ld} -m elf_x86_64"
7375 ;;
7376 powerpcle-*linux*)
7377 LD="${LD-ld} -m elf64lppc"
7378 ;;
7379 powerpc-*linux*)
7380 LD="${LD-ld} -m elf64ppc"
7381 ;;
7382 s390*-*linux*|s390*-*tpf*)
7383 LD="${LD-ld} -m elf64_s390"
7384 ;;
7385 sparc*-*linux*)
7386 LD="${LD-ld} -m elf64_sparc"
7387 ;;
7388 esac
7389 ;;
7390 esac
7391 fi
7392 rm -rf conftest*
7393 ;;
7394
7395 *-*-sco3.2v5*)
7396 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7397 SAVE_CFLAGS=$CFLAGS
7398 CFLAGS="$CFLAGS -belf"
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7400 printf %s "checking whether the C compiler needs -belf... " >&6; }
7401 if test ${lt_cv_cc_needs_belf+y}
7402 then :
7403 printf %s "(cached) " >&6
7404 else $as_nop
7405 ac_ext=c
7406 ac_cpp='$CPP $CPPFLAGS'
7407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7410
7411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412 /* end confdefs.h. */
7413
7414 int
7415 main (void)
7416 {
7417
7418 ;
7419 return 0;
7420 }
7421 _ACEOF
7422 if ac_fn_c_try_link "$LINENO"
7423 then :
7424 lt_cv_cc_needs_belf=yes
7425 else $as_nop
7426 lt_cv_cc_needs_belf=no
7427 fi
7428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7429 conftest$ac_exeext conftest.$ac_ext
7430 ac_ext=c
7431 ac_cpp='$CPP $CPPFLAGS'
7432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7435
7436 fi
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7438 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
7439 if test yes != "$lt_cv_cc_needs_belf"; then
7440 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7441 CFLAGS=$SAVE_CFLAGS
7442 fi
7443 ;;
7444 *-*solaris*)
7445 # Find out what ABI is being produced by ac_compile, and set linker
7446 # options accordingly.
7447 echo 'int i;' > 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 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7452 test $ac_status = 0; }; then
7453 case `/usr/bin/file conftest.o` in
7454 *64-bit*)
7455 case $lt_cv_prog_gnu_ld in
7456 yes*)
7457 case $host in
7458 i?86-*-solaris*|x86_64-*-solaris*)
7459 LD="${LD-ld} -m elf_x86_64"
7460 ;;
7461 sparc*-*-solaris*)
7462 LD="${LD-ld} -m elf64_sparc"
7463 ;;
7464 esac
7465 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7466 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7467 LD=${LD-ld}_sol2
7468 fi
7469 ;;
7470 *)
7471 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7472 LD="${LD-ld} -64"
7473 fi
7474 ;;
7475 esac
7476 ;;
7477 esac
7478 fi
7479 rm -rf conftest*
7480 ;;
7481 esac
7482
7483 need_locks=$enable_libtool_lock
7484
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7487 set dummy ${ac_tool_prefix}mt; ac_word=$2
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 printf %s "checking for $ac_word... " >&6; }
7490 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7491 then :
7492 printf %s "(cached) " >&6
7493 else $as_nop
7494 if test -n "$MANIFEST_TOOL"; then
7495 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7496 else
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 for as_dir in $PATH
7499 do
7500 IFS=$as_save_IFS
7501 case $as_dir in #(((
7502 '') as_dir=./ ;;
7503 */) ;;
7504 *) as_dir=$as_dir/ ;;
7505 esac
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7510 break 2
7511 fi
7512 done
7513 done
7514 IFS=$as_save_IFS
7515
7516 fi
7517 fi
7518 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7519 if test -n "$MANIFEST_TOOL"; then
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7521 printf "%s\n" "$MANIFEST_TOOL" >&6; }
7522 else
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 printf "%s\n" "no" >&6; }
7525 fi
7526
7527
7528 fi
7529 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7530 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7531 # Extract the first word of "mt", so it can be a program name with args.
7532 set dummy mt; ac_word=$2
7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 printf %s "checking for $ac_word... " >&6; }
7535 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7536 then :
7537 printf %s "(cached) " >&6
7538 else $as_nop
7539 if test -n "$ac_ct_MANIFEST_TOOL"; then
7540 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7541 else
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 for as_dir in $PATH
7544 do
7545 IFS=$as_save_IFS
7546 case $as_dir in #(((
7547 '') as_dir=./ ;;
7548 */) ;;
7549 *) as_dir=$as_dir/ ;;
7550 esac
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7553 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7555 break 2
7556 fi
7557 done
7558 done
7559 IFS=$as_save_IFS
7560
7561 fi
7562 fi
7563 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7564 if test -n "$ac_ct_MANIFEST_TOOL"; then
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7566 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7567 else
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 printf "%s\n" "no" >&6; }
7570 fi
7571
7572 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7573 MANIFEST_TOOL=":"
7574 else
7575 case $cross_compiling:$ac_tool_warned in
7576 yes:)
7577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7578 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7579 ac_tool_warned=yes ;;
7580 esac
7581 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7582 fi
7583 else
7584 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7585 fi
7586
7587 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7589 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7590 if test ${lt_cv_path_mainfest_tool+y}
7591 then :
7592 printf %s "(cached) " >&6
7593 else $as_nop
7594 lt_cv_path_mainfest_tool=no
7595 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7596 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7597 cat conftest.err >&5
7598 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7599 lt_cv_path_mainfest_tool=yes
7600 fi
7601 rm -f conftest*
7602 fi
7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7604 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
7605 if test yes != "$lt_cv_path_mainfest_tool"; then
7606 MANIFEST_TOOL=:
7607 fi
7608
7609
7610
7611
7612
7613
7614 case $host_os in
7615 rhapsody* | darwin*)
7616 if test -n "$ac_tool_prefix"; then
7617 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7618 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 printf %s "checking for $ac_word... " >&6; }
7621 if test ${ac_cv_prog_DSYMUTIL+y}
7622 then :
7623 printf %s "(cached) " >&6
7624 else $as_nop
7625 if test -n "$DSYMUTIL"; then
7626 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7630 do
7631 IFS=$as_save_IFS
7632 case $as_dir in #(((
7633 '') as_dir=./ ;;
7634 */) ;;
7635 *) as_dir=$as_dir/ ;;
7636 esac
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7639 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7641 break 2
7642 fi
7643 done
7644 done
7645 IFS=$as_save_IFS
7646
7647 fi
7648 fi
7649 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7650 if test -n "$DSYMUTIL"; then
7651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7652 printf "%s\n" "$DSYMUTIL" >&6; }
7653 else
7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 printf "%s\n" "no" >&6; }
7656 fi
7657
7658
7659 fi
7660 if test -z "$ac_cv_prog_DSYMUTIL"; then
7661 ac_ct_DSYMUTIL=$DSYMUTIL
7662 # Extract the first word of "dsymutil", so it can be a program name with args.
7663 set dummy dsymutil; ac_word=$2
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 printf %s "checking for $ac_word... " >&6; }
7666 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
7667 then :
7668 printf %s "(cached) " >&6
7669 else $as_nop
7670 if test -n "$ac_ct_DSYMUTIL"; then
7671 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7675 do
7676 IFS=$as_save_IFS
7677 case $as_dir in #(((
7678 '') as_dir=./ ;;
7679 */) ;;
7680 *) as_dir=$as_dir/ ;;
7681 esac
7682 for ac_exec_ext in '' $ac_executable_extensions; do
7683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7684 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7686 break 2
7687 fi
7688 done
7689 done
7690 IFS=$as_save_IFS
7691
7692 fi
7693 fi
7694 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7695 if test -n "$ac_ct_DSYMUTIL"; then
7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7697 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
7698 else
7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7700 printf "%s\n" "no" >&6; }
7701 fi
7702
7703 if test "x$ac_ct_DSYMUTIL" = x; then
7704 DSYMUTIL=":"
7705 else
7706 case $cross_compiling:$ac_tool_warned in
7707 yes:)
7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7709 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7710 ac_tool_warned=yes ;;
7711 esac
7712 DSYMUTIL=$ac_ct_DSYMUTIL
7713 fi
7714 else
7715 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7716 fi
7717
7718 if test -n "$ac_tool_prefix"; then
7719 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7720 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7722 printf %s "checking for $ac_word... " >&6; }
7723 if test ${ac_cv_prog_NMEDIT+y}
7724 then :
7725 printf %s "(cached) " >&6
7726 else $as_nop
7727 if test -n "$NMEDIT"; then
7728 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7732 do
7733 IFS=$as_save_IFS
7734 case $as_dir in #(((
7735 '') as_dir=./ ;;
7736 */) ;;
7737 *) as_dir=$as_dir/ ;;
7738 esac
7739 for ac_exec_ext in '' $ac_executable_extensions; do
7740 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7741 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7743 break 2
7744 fi
7745 done
7746 done
7747 IFS=$as_save_IFS
7748
7749 fi
7750 fi
7751 NMEDIT=$ac_cv_prog_NMEDIT
7752 if test -n "$NMEDIT"; then
7753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7754 printf "%s\n" "$NMEDIT" >&6; }
7755 else
7756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7757 printf "%s\n" "no" >&6; }
7758 fi
7759
7760
7761 fi
7762 if test -z "$ac_cv_prog_NMEDIT"; then
7763 ac_ct_NMEDIT=$NMEDIT
7764 # Extract the first word of "nmedit", so it can be a program name with args.
7765 set dummy nmedit; ac_word=$2
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 printf %s "checking for $ac_word... " >&6; }
7768 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
7769 then :
7770 printf %s "(cached) " >&6
7771 else $as_nop
7772 if test -n "$ac_ct_NMEDIT"; then
7773 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7774 else
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 for as_dir in $PATH
7777 do
7778 IFS=$as_save_IFS
7779 case $as_dir in #(((
7780 '') as_dir=./ ;;
7781 */) ;;
7782 *) as_dir=$as_dir/ ;;
7783 esac
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7786 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7788 break 2
7789 fi
7790 done
7791 done
7792 IFS=$as_save_IFS
7793
7794 fi
7795 fi
7796 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7797 if test -n "$ac_ct_NMEDIT"; then
7798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7799 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
7800 else
7801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802 printf "%s\n" "no" >&6; }
7803 fi
7804
7805 if test "x$ac_ct_NMEDIT" = x; then
7806 NMEDIT=":"
7807 else
7808 case $cross_compiling:$ac_tool_warned in
7809 yes:)
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7811 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7812 ac_tool_warned=yes ;;
7813 esac
7814 NMEDIT=$ac_ct_NMEDIT
7815 fi
7816 else
7817 NMEDIT="$ac_cv_prog_NMEDIT"
7818 fi
7819
7820 if test -n "$ac_tool_prefix"; then
7821 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824 printf %s "checking for $ac_word... " >&6; }
7825 if test ${ac_cv_prog_LIPO+y}
7826 then :
7827 printf %s "(cached) " >&6
7828 else $as_nop
7829 if test -n "$LIPO"; then
7830 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7831 else
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 for as_dir in $PATH
7834 do
7835 IFS=$as_save_IFS
7836 case $as_dir in #(((
7837 '') as_dir=./ ;;
7838 */) ;;
7839 *) as_dir=$as_dir/ ;;
7840 esac
7841 for ac_exec_ext in '' $ac_executable_extensions; do
7842 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7843 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7845 break 2
7846 fi
7847 done
7848 done
7849 IFS=$as_save_IFS
7850
7851 fi
7852 fi
7853 LIPO=$ac_cv_prog_LIPO
7854 if test -n "$LIPO"; then
7855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7856 printf "%s\n" "$LIPO" >&6; }
7857 else
7858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859 printf "%s\n" "no" >&6; }
7860 fi
7861
7862
7863 fi
7864 if test -z "$ac_cv_prog_LIPO"; then
7865 ac_ct_LIPO=$LIPO
7866 # Extract the first word of "lipo", so it can be a program name with args.
7867 set dummy lipo; ac_word=$2
7868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7869 printf %s "checking for $ac_word... " >&6; }
7870 if test ${ac_cv_prog_ac_ct_LIPO+y}
7871 then :
7872 printf %s "(cached) " >&6
7873 else $as_nop
7874 if test -n "$ac_ct_LIPO"; then
7875 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7876 else
7877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7878 for as_dir in $PATH
7879 do
7880 IFS=$as_save_IFS
7881 case $as_dir in #(((
7882 '') as_dir=./ ;;
7883 */) ;;
7884 *) as_dir=$as_dir/ ;;
7885 esac
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7888 ac_cv_prog_ac_ct_LIPO="lipo"
7889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7890 break 2
7891 fi
7892 done
7893 done
7894 IFS=$as_save_IFS
7895
7896 fi
7897 fi
7898 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7899 if test -n "$ac_ct_LIPO"; then
7900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7901 printf "%s\n" "$ac_ct_LIPO" >&6; }
7902 else
7903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7904 printf "%s\n" "no" >&6; }
7905 fi
7906
7907 if test "x$ac_ct_LIPO" = x; then
7908 LIPO=":"
7909 else
7910 case $cross_compiling:$ac_tool_warned in
7911 yes:)
7912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7913 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7914 ac_tool_warned=yes ;;
7915 esac
7916 LIPO=$ac_ct_LIPO
7917 fi
7918 else
7919 LIPO="$ac_cv_prog_LIPO"
7920 fi
7921
7922 if test -n "$ac_tool_prefix"; then
7923 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7924 set dummy ${ac_tool_prefix}otool; ac_word=$2
7925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926 printf %s "checking for $ac_word... " >&6; }
7927 if test ${ac_cv_prog_OTOOL+y}
7928 then :
7929 printf %s "(cached) " >&6
7930 else $as_nop
7931 if test -n "$OTOOL"; then
7932 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7933 else
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 for as_dir in $PATH
7936 do
7937 IFS=$as_save_IFS
7938 case $as_dir in #(((
7939 '') as_dir=./ ;;
7940 */) ;;
7941 *) as_dir=$as_dir/ ;;
7942 esac
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7945 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7947 break 2
7948 fi
7949 done
7950 done
7951 IFS=$as_save_IFS
7952
7953 fi
7954 fi
7955 OTOOL=$ac_cv_prog_OTOOL
7956 if test -n "$OTOOL"; then
7957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7958 printf "%s\n" "$OTOOL" >&6; }
7959 else
7960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7961 printf "%s\n" "no" >&6; }
7962 fi
7963
7964
7965 fi
7966 if test -z "$ac_cv_prog_OTOOL"; then
7967 ac_ct_OTOOL=$OTOOL
7968 # Extract the first word of "otool", so it can be a program name with args.
7969 set dummy otool; ac_word=$2
7970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 printf %s "checking for $ac_word... " >&6; }
7972 if test ${ac_cv_prog_ac_ct_OTOOL+y}
7973 then :
7974 printf %s "(cached) " >&6
7975 else $as_nop
7976 if test -n "$ac_ct_OTOOL"; then
7977 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7978 else
7979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7980 for as_dir in $PATH
7981 do
7982 IFS=$as_save_IFS
7983 case $as_dir in #(((
7984 '') as_dir=./ ;;
7985 */) ;;
7986 *) as_dir=$as_dir/ ;;
7987 esac
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_ac_ct_OTOOL="otool"
7991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7992 break 2
7993 fi
7994 done
7995 done
7996 IFS=$as_save_IFS
7997
7998 fi
7999 fi
8000 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8001 if test -n "$ac_ct_OTOOL"; then
8002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8003 printf "%s\n" "$ac_ct_OTOOL" >&6; }
8004 else
8005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 printf "%s\n" "no" >&6; }
8007 fi
8008
8009 if test "x$ac_ct_OTOOL" = x; then
8010 OTOOL=":"
8011 else
8012 case $cross_compiling:$ac_tool_warned in
8013 yes:)
8014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8015 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8016 ac_tool_warned=yes ;;
8017 esac
8018 OTOOL=$ac_ct_OTOOL
8019 fi
8020 else
8021 OTOOL="$ac_cv_prog_OTOOL"
8022 fi
8023
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8026 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 printf %s "checking for $ac_word... " >&6; }
8029 if test ${ac_cv_prog_OTOOL64+y}
8030 then :
8031 printf %s "(cached) " >&6
8032 else $as_nop
8033 if test -n "$OTOOL64"; then
8034 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8038 do
8039 IFS=$as_save_IFS
8040 case $as_dir in #(((
8041 '') as_dir=./ ;;
8042 */) ;;
8043 *) as_dir=$as_dir/ ;;
8044 esac
8045 for ac_exec_ext in '' $ac_executable_extensions; do
8046 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8047 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8049 break 2
8050 fi
8051 done
8052 done
8053 IFS=$as_save_IFS
8054
8055 fi
8056 fi
8057 OTOOL64=$ac_cv_prog_OTOOL64
8058 if test -n "$OTOOL64"; then
8059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8060 printf "%s\n" "$OTOOL64" >&6; }
8061 else
8062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8063 printf "%s\n" "no" >&6; }
8064 fi
8065
8066
8067 fi
8068 if test -z "$ac_cv_prog_OTOOL64"; then
8069 ac_ct_OTOOL64=$OTOOL64
8070 # Extract the first word of "otool64", so it can be a program name with args.
8071 set dummy otool64; ac_word=$2
8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073 printf %s "checking for $ac_word... " >&6; }
8074 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8075 then :
8076 printf %s "(cached) " >&6
8077 else $as_nop
8078 if test -n "$ac_ct_OTOOL64"; then
8079 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8080 else
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082 for as_dir in $PATH
8083 do
8084 IFS=$as_save_IFS
8085 case $as_dir in #(((
8086 '') as_dir=./ ;;
8087 */) ;;
8088 *) as_dir=$as_dir/ ;;
8089 esac
8090 for ac_exec_ext in '' $ac_executable_extensions; do
8091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8092 ac_cv_prog_ac_ct_OTOOL64="otool64"
8093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8094 break 2
8095 fi
8096 done
8097 done
8098 IFS=$as_save_IFS
8099
8100 fi
8101 fi
8102 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8103 if test -n "$ac_ct_OTOOL64"; then
8104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8105 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
8106 else
8107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 printf "%s\n" "no" >&6; }
8109 fi
8110
8111 if test "x$ac_ct_OTOOL64" = x; then
8112 OTOOL64=":"
8113 else
8114 case $cross_compiling:$ac_tool_warned in
8115 yes:)
8116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8117 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8118 ac_tool_warned=yes ;;
8119 esac
8120 OTOOL64=$ac_ct_OTOOL64
8121 fi
8122 else
8123 OTOOL64="$ac_cv_prog_OTOOL64"
8124 fi
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8153 printf %s "checking for -single_module linker flag... " >&6; }
8154 if test ${lt_cv_apple_cc_single_mod+y}
8155 then :
8156 printf %s "(cached) " >&6
8157 else $as_nop
8158 lt_cv_apple_cc_single_mod=no
8159 if test -z "$LT_MULTI_MODULE"; then
8160 # By default we will add the -single_module flag. You can override
8161 # by either setting the environment variable LT_MULTI_MODULE
8162 # non-empty at configure time, or by adding -multi_module to the
8163 # link flags.
8164 rm -rf libconftest.dylib*
8165 echo "int foo(void){return 1;}" > conftest.c
8166 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8167 -dynamiclib -Wl,-single_module conftest.c" >&5
8168 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8169 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8170 _lt_result=$?
8171 # If there is a non-empty error log, and "single_module"
8172 # appears in it, assume the flag caused a linker warning
8173 if test -s conftest.err && $GREP single_module conftest.err; then
8174 cat conftest.err >&5
8175 # Otherwise, if the output was created with a 0 exit code from
8176 # the compiler, it worked.
8177 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8178 lt_cv_apple_cc_single_mod=yes
8179 else
8180 cat conftest.err >&5
8181 fi
8182 rm -rf libconftest.dylib*
8183 rm -f conftest.*
8184 fi
8185 fi
8186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8187 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
8188
8189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8190 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
8191 if test ${lt_cv_ld_exported_symbols_list+y}
8192 then :
8193 printf %s "(cached) " >&6
8194 else $as_nop
8195 lt_cv_ld_exported_symbols_list=no
8196 save_LDFLAGS=$LDFLAGS
8197 echo "_main" > conftest.sym
8198 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8201
8202 int
8203 main (void)
8204 {
8205
8206 ;
8207 return 0;
8208 }
8209 _ACEOF
8210 if ac_fn_c_try_link "$LINENO"
8211 then :
8212 lt_cv_ld_exported_symbols_list=yes
8213 else $as_nop
8214 lt_cv_ld_exported_symbols_list=no
8215 fi
8216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8217 conftest$ac_exeext conftest.$ac_ext
8218 LDFLAGS=$save_LDFLAGS
8219
8220 fi
8221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8222 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8223
8224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8225 printf %s "checking for -force_load linker flag... " >&6; }
8226 if test ${lt_cv_ld_force_load+y}
8227 then :
8228 printf %s "(cached) " >&6
8229 else $as_nop
8230 lt_cv_ld_force_load=no
8231 cat > conftest.c << _LT_EOF
8232 int forced_loaded() { return 2;}
8233 _LT_EOF
8234 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8235 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8236 echo "$AR cr libconftest.a conftest.o" >&5
8237 $AR cr libconftest.a conftest.o 2>&5
8238 echo "$RANLIB libconftest.a" >&5
8239 $RANLIB libconftest.a 2>&5
8240 cat > conftest.c << _LT_EOF
8241 int main() { return 0;}
8242 _LT_EOF
8243 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8244 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8245 _lt_result=$?
8246 if test -s conftest.err && $GREP force_load conftest.err; then
8247 cat conftest.err >&5
8248 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8249 lt_cv_ld_force_load=yes
8250 else
8251 cat conftest.err >&5
8252 fi
8253 rm -f conftest.err libconftest.a conftest conftest.c
8254 rm -rf conftest.dSYM
8255
8256 fi
8257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8258 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
8259 case $host_os in
8260 rhapsody* | darwin1.[012])
8261 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8262 darwin1.*)
8263 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8264 darwin*) # darwin 5.x on
8265 # if running on 10.5 or later, the deployment target defaults
8266 # to the OS version, if on x86, and 10.4, the deployment
8267 # target defaults to 10.4. Don't you love it?
8268 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8269 10.0,*86*-darwin8*|10.0,*-darwin[912]*)
8270 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8271 10.[012][,.]*)
8272 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8273 10.*|11.*)
8274 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8275 esac
8276 ;;
8277 esac
8278 if test yes = "$lt_cv_apple_cc_single_mod"; then
8279 _lt_dar_single_mod='$single_module'
8280 fi
8281 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8282 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8283 else
8284 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8285 fi
8286 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8287 _lt_dsymutil='~$DSYMUTIL $lib || :'
8288 else
8289 _lt_dsymutil=
8290 fi
8291 ;;
8292 esac
8293
8294 # func_munge_path_list VARIABLE PATH
8295 # -----------------------------------
8296 # VARIABLE is name of variable containing _space_ separated list of
8297 # directories to be munged by the contents of PATH, which is string
8298 # having a format:
8299 # "DIR[:DIR]:"
8300 # string "DIR[ DIR]" will be prepended to VARIABLE
8301 # ":DIR[:DIR]"
8302 # string "DIR[ DIR]" will be appended to VARIABLE
8303 # "DIRP[:DIRP]::[DIRA:]DIRA"
8304 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8305 # "DIRA[ DIRA]" will be appended to VARIABLE
8306 # "DIR[:DIR]"
8307 # VARIABLE will be replaced by "DIR[ DIR]"
8308 func_munge_path_list ()
8309 {
8310 case x$2 in
8311 x)
8312 ;;
8313 *:)
8314 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8315 ;;
8316 x:*)
8317 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8318 ;;
8319 *::*)
8320 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8321 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8322 ;;
8323 *)
8324 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8325 ;;
8326 esac
8327 }
8328
8329 ac_header= ac_cache=
8330 for ac_item in $ac_header_c_list
8331 do
8332 if test $ac_cache; then
8333 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8334 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8335 printf "%s\n" "#define $ac_item 1" >> confdefs.h
8336 fi
8337 ac_header= ac_cache=
8338 elif test $ac_header; then
8339 ac_cache=$ac_item
8340 else
8341 ac_header=$ac_item
8342 fi
8343 done
8344
8345
8346
8347
8348
8349
8350
8351
8352 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8353 then :
8354
8355 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8356
8357 fi
8358 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8359 "
8360 if test "x$ac_cv_header_dlfcn_h" = xyes
8361 then :
8362 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8363
8364 fi
8365
8366
8367
8368
8369
8370 # Set options
8371
8372
8373
8374 enable_dlopen=no
8375
8376
8377 enable_win32_dll=no
8378
8379
8380 # Check whether --enable-shared was given.
8381 if test ${enable_shared+y}
8382 then :
8383 enableval=$enable_shared; p=${PACKAGE-default}
8384 case $enableval in
8385 yes) enable_shared=yes ;;
8386 no) enable_shared=no ;;
8387 *)
8388 enable_shared=no
8389 # Look at the argument we got. We use all the common list separators.
8390 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8391 for pkg in $enableval; do
8392 IFS=$lt_save_ifs
8393 if test "X$pkg" = "X$p"; then
8394 enable_shared=yes
8395 fi
8396 done
8397 IFS=$lt_save_ifs
8398 ;;
8399 esac
8400 else $as_nop
8401 enable_shared=yes
8402 fi
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412 # Check whether --enable-static was given.
8413 if test ${enable_static+y}
8414 then :
8415 enableval=$enable_static; p=${PACKAGE-default}
8416 case $enableval in
8417 yes) enable_static=yes ;;
8418 no) enable_static=no ;;
8419 *)
8420 enable_static=no
8421 # Look at the argument we got. We use all the common list separators.
8422 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8423 for pkg in $enableval; do
8424 IFS=$lt_save_ifs
8425 if test "X$pkg" = "X$p"; then
8426 enable_static=yes
8427 fi
8428 done
8429 IFS=$lt_save_ifs
8430 ;;
8431 esac
8432 else $as_nop
8433 enable_static=yes
8434 fi
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445 # Check whether --with-pic was given.
8446 if test ${with_pic+y}
8447 then :
8448 withval=$with_pic; lt_p=${PACKAGE-default}
8449 case $withval in
8450 yes|no) pic_mode=$withval ;;
8451 *)
8452 pic_mode=default
8453 # Look at the argument we got. We use all the common list separators.
8454 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8455 for lt_pkg in $withval; do
8456 IFS=$lt_save_ifs
8457 if test "X$lt_pkg" = "X$lt_p"; then
8458 pic_mode=yes
8459 fi
8460 done
8461 IFS=$lt_save_ifs
8462 ;;
8463 esac
8464 else $as_nop
8465 pic_mode=default
8466 fi
8467
8468
8469
8470
8471
8472
8473
8474
8475 # Check whether --enable-fast-install was given.
8476 if test ${enable_fast_install+y}
8477 then :
8478 enableval=$enable_fast_install; p=${PACKAGE-default}
8479 case $enableval in
8480 yes) enable_fast_install=yes ;;
8481 no) enable_fast_install=no ;;
8482 *)
8483 enable_fast_install=no
8484 # Look at the argument we got. We use all the common list separators.
8485 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8486 for pkg in $enableval; do
8487 IFS=$lt_save_ifs
8488 if test "X$pkg" = "X$p"; then
8489 enable_fast_install=yes
8490 fi
8491 done
8492 IFS=$lt_save_ifs
8493 ;;
8494 esac
8495 else $as_nop
8496 enable_fast_install=yes
8497 fi
8498
8499
8500
8501
8502
8503
8504
8505
8506 shared_archive_member_spec=
8507 case $host,$enable_shared in
8508 power*-*-aix[5-9]*,yes)
8509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8510 printf %s "checking which variant of shared library versioning to provide... " >&6; }
8511
8512 # Check whether --with-aix-soname was given.
8513 if test ${with_aix_soname+y}
8514 then :
8515 withval=$with_aix_soname; case $withval in
8516 aix|svr4|both)
8517 ;;
8518 *)
8519 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8520 ;;
8521 esac
8522 lt_cv_with_aix_soname=$with_aix_soname
8523 else $as_nop
8524 if test ${lt_cv_with_aix_soname+y}
8525 then :
8526 printf %s "(cached) " >&6
8527 else $as_nop
8528 lt_cv_with_aix_soname=aix
8529 fi
8530
8531 with_aix_soname=$lt_cv_with_aix_soname
8532 fi
8533
8534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8535 printf "%s\n" "$with_aix_soname" >&6; }
8536 if test aix != "$with_aix_soname"; then
8537 # For the AIX way of multilib, we name the shared archive member
8538 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8539 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8540 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8541 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8542 if test 64 = "${OBJECT_MODE-32}"; then
8543 shared_archive_member_spec=shr_64
8544 else
8545 shared_archive_member_spec=shr
8546 fi
8547 fi
8548 ;;
8549 *)
8550 with_aix_soname=aix
8551 ;;
8552 esac
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563 # This can be used to rebuild libtool when needed
8564 LIBTOOL_DEPS=$ltmain
8565
8566 # Always use our own libtool.
8567 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598 test -z "$LN_S" && LN_S="ln -s"
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613 if test -n "${ZSH_VERSION+set}"; then
8614 setopt NO_GLOB_SUBST
8615 fi
8616
8617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8618 printf %s "checking for objdir... " >&6; }
8619 if test ${lt_cv_objdir+y}
8620 then :
8621 printf %s "(cached) " >&6
8622 else $as_nop
8623 rm -f .libs 2>/dev/null
8624 mkdir .libs 2>/dev/null
8625 if test -d .libs; then
8626 lt_cv_objdir=.libs
8627 else
8628 # MS-DOS does not allow filenames that begin with a dot.
8629 lt_cv_objdir=_libs
8630 fi
8631 rmdir .libs 2>/dev/null
8632 fi
8633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8634 printf "%s\n" "$lt_cv_objdir" >&6; }
8635 objdir=$lt_cv_objdir
8636
8637
8638
8639
8640
8641 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
8642
8643
8644
8645
8646 case $host_os in
8647 aix3*)
8648 # AIX sometimes has problems with the GCC collect2 program. For some
8649 # reason, if we set the COLLECT_NAMES environment variable, the problems
8650 # vanish in a puff of smoke.
8651 if test set != "${COLLECT_NAMES+set}"; then
8652 COLLECT_NAMES=
8653 export COLLECT_NAMES
8654 fi
8655 ;;
8656 esac
8657
8658 # Global variables:
8659 ofile=libtool
8660 can_build_shared=yes
8661
8662 # All known linkers require a '.a' archive for static linking (except MSVC,
8663 # which needs '.lib').
8664 libext=a
8665
8666 with_gnu_ld=$lt_cv_prog_gnu_ld
8667
8668 old_CC=$CC
8669 old_CFLAGS=$CFLAGS
8670
8671 # Set sane defaults for various variables
8672 test -z "$CC" && CC=cc
8673 test -z "$LTCC" && LTCC=$CC
8674 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8675 test -z "$LD" && LD=ld
8676 test -z "$ac_objext" && ac_objext=o
8677
8678 func_cc_basename $compiler
8679 cc_basename=$func_cc_basename_result
8680
8681
8682 # Only perform the check for file, if the check method requires it
8683 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8684 case $deplibs_check_method in
8685 file_magic*)
8686 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8688 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
8689 if test ${lt_cv_path_MAGIC_CMD+y}
8690 then :
8691 printf %s "(cached) " >&6
8692 else $as_nop
8693 case $MAGIC_CMD in
8694 [\\/*] | ?:[\\/]*)
8695 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8696 ;;
8697 *)
8698 lt_save_MAGIC_CMD=$MAGIC_CMD
8699 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8700 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8701 for ac_dir in $ac_dummy; do
8702 IFS=$lt_save_ifs
8703 test -z "$ac_dir" && ac_dir=.
8704 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8705 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8706 if test -n "$file_magic_test_file"; then
8707 case $deplibs_check_method in
8708 "file_magic "*)
8709 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8710 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8711 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8712 $EGREP "$file_magic_regex" > /dev/null; then
8713 :
8714 else
8715 cat <<_LT_EOF 1>&2
8716
8717 *** Warning: the command libtool uses to detect shared libraries,
8718 *** $file_magic_cmd, produces output that libtool cannot recognize.
8719 *** The result is that libtool may fail to recognize shared libraries
8720 *** as such. This will affect the creation of libtool libraries that
8721 *** depend on shared libraries, but programs linked with such libtool
8722 *** libraries will work regardless of this problem. Nevertheless, you
8723 *** may want to report the problem to your system manager and/or to
8724 *** [email protected]
8725
8726 _LT_EOF
8727 fi ;;
8728 esac
8729 fi
8730 break
8731 fi
8732 done
8733 IFS=$lt_save_ifs
8734 MAGIC_CMD=$lt_save_MAGIC_CMD
8735 ;;
8736 esac
8737 fi
8738
8739 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8740 if test -n "$MAGIC_CMD"; then
8741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8742 printf "%s\n" "$MAGIC_CMD" >&6; }
8743 else
8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8745 printf "%s\n" "no" >&6; }
8746 fi
8747
8748
8749
8750
8751
8752 if test -z "$lt_cv_path_MAGIC_CMD"; then
8753 if test -n "$ac_tool_prefix"; then
8754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8755 printf %s "checking for file... " >&6; }
8756 if test ${lt_cv_path_MAGIC_CMD+y}
8757 then :
8758 printf %s "(cached) " >&6
8759 else $as_nop
8760 case $MAGIC_CMD in
8761 [\\/*] | ?:[\\/]*)
8762 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8763 ;;
8764 *)
8765 lt_save_MAGIC_CMD=$MAGIC_CMD
8766 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8767 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8768 for ac_dir in $ac_dummy; do
8769 IFS=$lt_save_ifs
8770 test -z "$ac_dir" && ac_dir=.
8771 if test -f "$ac_dir/file"; then
8772 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8773 if test -n "$file_magic_test_file"; then
8774 case $deplibs_check_method in
8775 "file_magic "*)
8776 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8777 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8778 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8779 $EGREP "$file_magic_regex" > /dev/null; then
8780 :
8781 else
8782 cat <<_LT_EOF 1>&2
8783
8784 *** Warning: the command libtool uses to detect shared libraries,
8785 *** $file_magic_cmd, produces output that libtool cannot recognize.
8786 *** The result is that libtool may fail to recognize shared libraries
8787 *** as such. This will affect the creation of libtool libraries that
8788 *** depend on shared libraries, but programs linked with such libtool
8789 *** libraries will work regardless of this problem. Nevertheless, you
8790 *** may want to report the problem to your system manager and/or to
8791 *** [email protected]
8792
8793 _LT_EOF
8794 fi ;;
8795 esac
8796 fi
8797 break
8798 fi
8799 done
8800 IFS=$lt_save_ifs
8801 MAGIC_CMD=$lt_save_MAGIC_CMD
8802 ;;
8803 esac
8804 fi
8805
8806 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8807 if test -n "$MAGIC_CMD"; then
8808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8809 printf "%s\n" "$MAGIC_CMD" >&6; }
8810 else
8811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 printf "%s\n" "no" >&6; }
8813 fi
8814
8815
8816 else
8817 MAGIC_CMD=:
8818 fi
8819 fi
8820
8821 fi
8822 ;;
8823 esac
8824
8825 # Use C for the default configuration in the libtool script
8826
8827 lt_save_CC=$CC
8828 ac_ext=c
8829 ac_cpp='$CPP $CPPFLAGS'
8830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8833
8834
8835 # Source file extension for C test sources.
8836 ac_ext=c
8837
8838 # Object file extension for compiled C test sources.
8839 objext=o
8840 objext=$objext
8841
8842 # Code to be used in simple compile tests
8843 lt_simple_compile_test_code="int some_variable = 0;"
8844
8845 # Code to be used in simple link tests
8846 lt_simple_link_test_code='int main(){return(0);}'
8847
8848
8849
8850
8851
8852
8853
8854 # If no C compiler was specified, use CC.
8855 LTCC=${LTCC-"$CC"}
8856
8857 # If no C compiler flags were specified, use CFLAGS.
8858 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8859
8860 # Allow CC to be a program name with arguments.
8861 compiler=$CC
8862
8863 # Save the default compiler, since it gets overwritten when the other
8864 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8865 compiler_DEFAULT=$CC
8866
8867 # save warnings/boilerplate of simple test code
8868 ac_outfile=conftest.$ac_objext
8869 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8870 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8871 _lt_compiler_boilerplate=`cat conftest.err`
8872 $RM conftest*
8873
8874 ac_outfile=conftest.$ac_objext
8875 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8876 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8877 _lt_linker_boilerplate=`cat conftest.err`
8878 $RM -r conftest*
8879
8880
8881 ## CAVEAT EMPTOR:
8882 ## There is no encapsulation within the following macros, do not change
8883 ## the running order or otherwise move them around unless you know exactly
8884 ## what you are doing...
8885 if test -n "$compiler"; then
8886
8887 lt_prog_compiler_no_builtin_flag=
8888
8889 if test yes = "$GCC"; then
8890 case $cc_basename in
8891 nvcc*)
8892 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8893 *)
8894 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8895 esac
8896
8897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8898 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8899 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
8900 then :
8901 printf %s "(cached) " >&6
8902 else $as_nop
8903 lt_cv_prog_compiler_rtti_exceptions=no
8904 ac_outfile=conftest.$ac_objext
8905 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8906 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8907 # Insert the option either (1) after the last *FLAGS variable, or
8908 # (2) before a word containing "conftest.", or (3) at the end.
8909 # Note that $ac_compile itself does not contain backslashes and begins
8910 # with a dollar sign (not a hyphen), so the echo should work correctly.
8911 # The option is referenced via a variable to avoid confusing sed.
8912 lt_compile=`echo "$ac_compile" | $SED \
8913 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8914 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8915 -e 's:$: $lt_compiler_flag:'`
8916 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8917 (eval "$lt_compile" 2>conftest.err)
8918 ac_status=$?
8919 cat conftest.err >&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 if (exit $ac_status) && test -s "$ac_outfile"; then
8922 # The compiler can only warn and ignore the option if not recognized
8923 # So say no if there are warnings other than the usual output.
8924 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8925 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8926 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8927 lt_cv_prog_compiler_rtti_exceptions=yes
8928 fi
8929 fi
8930 $RM conftest*
8931
8932 fi
8933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8934 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8935
8936 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8937 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8938 else
8939 :
8940 fi
8941
8942 fi
8943
8944
8945
8946
8947
8948
8949 lt_prog_compiler_wl=
8950 lt_prog_compiler_pic=
8951 lt_prog_compiler_static=
8952
8953
8954 if test yes = "$GCC"; then
8955 lt_prog_compiler_wl='-Wl,'
8956 lt_prog_compiler_static='-static'
8957
8958 case $host_os in
8959 aix*)
8960 # All AIX code is PIC.
8961 if test ia64 = "$host_cpu"; then
8962 # AIX 5 now supports IA64 processor
8963 lt_prog_compiler_static='-Bstatic'
8964 fi
8965 lt_prog_compiler_pic='-fPIC'
8966 ;;
8967
8968 amigaos*)
8969 case $host_cpu in
8970 powerpc)
8971 # see comment about AmigaOS4 .so support
8972 lt_prog_compiler_pic='-fPIC'
8973 ;;
8974 m68k)
8975 # FIXME: we need at least 68020 code to build shared libraries, but
8976 # adding the '-m68020' flag to GCC prevents building anything better,
8977 # like '-m68040'.
8978 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8979 ;;
8980 esac
8981 ;;
8982
8983 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8984 # PIC is the default for these OSes.
8985 ;;
8986
8987 mingw* | cygwin* | pw32* | os2* | cegcc*)
8988 # This hack is so that the source file can tell whether it is being
8989 # built for inclusion in a dll (and should export symbols for example).
8990 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8991 # (--disable-auto-import) libraries
8992 lt_prog_compiler_pic='-DDLL_EXPORT'
8993 case $host_os in
8994 os2*)
8995 lt_prog_compiler_static='$wl-static'
8996 ;;
8997 esac
8998 ;;
8999
9000 darwin* | rhapsody*)
9001 # PIC is the default on this platform
9002 # Common symbols not allowed in MH_DYLIB files
9003 lt_prog_compiler_pic='-fno-common'
9004 ;;
9005
9006 haiku*)
9007 # PIC is the default for Haiku.
9008 # The "-static" flag exists, but is broken.
9009 lt_prog_compiler_static=
9010 ;;
9011
9012 hpux*)
9013 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9014 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9015 # sets the default TLS model and affects inlining.
9016 case $host_cpu in
9017 hppa*64*)
9018 # +Z the default
9019 ;;
9020 *)
9021 lt_prog_compiler_pic='-fPIC'
9022 ;;
9023 esac
9024 ;;
9025
9026 interix[3-9]*)
9027 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9028 # Instead, we relocate shared libraries at runtime.
9029 ;;
9030
9031 msdosdjgpp*)
9032 # Just because we use GCC doesn't mean we suddenly get shared libraries
9033 # on systems that don't support them.
9034 lt_prog_compiler_can_build_shared=no
9035 enable_shared=no
9036 ;;
9037
9038 *nto* | *qnx*)
9039 # QNX uses GNU C++, but need to define -shared option too, otherwise
9040 # it will coredump.
9041 lt_prog_compiler_pic='-fPIC -shared'
9042 ;;
9043
9044 sysv4*MP*)
9045 if test -d /usr/nec; then
9046 lt_prog_compiler_pic=-Kconform_pic
9047 fi
9048 ;;
9049
9050 *)
9051 lt_prog_compiler_pic='-fPIC'
9052 ;;
9053 esac
9054
9055 case $cc_basename in
9056 nvcc*) # Cuda Compiler Driver 2.2
9057 lt_prog_compiler_wl='-Xlinker '
9058 if test -n "$lt_prog_compiler_pic"; then
9059 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9060 fi
9061 ;;
9062 esac
9063 else
9064 # PORTME Check for flag to pass linker flags through the system compiler.
9065 case $host_os in
9066 aix*)
9067 lt_prog_compiler_wl='-Wl,'
9068 if test ia64 = "$host_cpu"; then
9069 # AIX 5 now supports IA64 processor
9070 lt_prog_compiler_static='-Bstatic'
9071 else
9072 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9073 fi
9074 ;;
9075
9076 darwin* | rhapsody*)
9077 # PIC is the default on this platform
9078 # Common symbols not allowed in MH_DYLIB files
9079 lt_prog_compiler_pic='-fno-common'
9080 case $cc_basename in
9081 nagfor*)
9082 # NAG Fortran compiler
9083 lt_prog_compiler_wl='-Wl,-Wl,,'
9084 lt_prog_compiler_pic='-PIC'
9085 lt_prog_compiler_static='-Bstatic'
9086 ;;
9087 esac
9088 ;;
9089
9090 mingw* | cygwin* | pw32* | os2* | cegcc*)
9091 # This hack is so that the source file can tell whether it is being
9092 # built for inclusion in a dll (and should export symbols for example).
9093 lt_prog_compiler_pic='-DDLL_EXPORT'
9094 case $host_os in
9095 os2*)
9096 lt_prog_compiler_static='$wl-static'
9097 ;;
9098 esac
9099 ;;
9100
9101 hpux9* | hpux10* | hpux11*)
9102 lt_prog_compiler_wl='-Wl,'
9103 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9104 # not for PA HP-UX.
9105 case $host_cpu in
9106 hppa*64*|ia64*)
9107 # +Z the default
9108 ;;
9109 *)
9110 lt_prog_compiler_pic='+Z'
9111 ;;
9112 esac
9113 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9114 lt_prog_compiler_static='$wl-a ${wl}archive'
9115 ;;
9116
9117 irix5* | irix6* | nonstopux*)
9118 lt_prog_compiler_wl='-Wl,'
9119 # PIC (with -KPIC) is the default.
9120 lt_prog_compiler_static='-non_shared'
9121 ;;
9122
9123 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9124 case $cc_basename in
9125 # old Intel for x86_64, which still supported -KPIC.
9126 ecc*)
9127 lt_prog_compiler_wl='-Wl,'
9128 lt_prog_compiler_pic='-KPIC'
9129 lt_prog_compiler_static='-static'
9130 ;;
9131 # flang / f18. f95 an alias for gfortran or flang on Debian
9132 flang* | f18* | f95*)
9133 lt_prog_compiler_wl='-Wl,'
9134 lt_prog_compiler_pic='-fPIC'
9135 lt_prog_compiler_static='-static'
9136 ;;
9137 # icc used to be incompatible with GCC.
9138 # ICC 10 doesn't accept -KPIC any more.
9139 icc* | ifort*)
9140 lt_prog_compiler_wl='-Wl,'
9141 lt_prog_compiler_pic='-fPIC'
9142 lt_prog_compiler_static='-static'
9143 ;;
9144 # Lahey Fortran 8.1.
9145 lf95*)
9146 lt_prog_compiler_wl='-Wl,'
9147 lt_prog_compiler_pic='--shared'
9148 lt_prog_compiler_static='--static'
9149 ;;
9150 nagfor*)
9151 # NAG Fortran compiler
9152 lt_prog_compiler_wl='-Wl,-Wl,,'
9153 lt_prog_compiler_pic='-PIC'
9154 lt_prog_compiler_static='-Bstatic'
9155 ;;
9156 tcc*)
9157 # Fabrice Bellard et al's Tiny C Compiler
9158 lt_prog_compiler_wl='-Wl,'
9159 lt_prog_compiler_pic='-fPIC'
9160 lt_prog_compiler_static='-static'
9161 ;;
9162 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9163 # Portland Group compilers (*not* the Pentium gcc compiler,
9164 # which looks to be a dead project)
9165 lt_prog_compiler_wl='-Wl,'
9166 lt_prog_compiler_pic='-fpic'
9167 lt_prog_compiler_static='-Bstatic'
9168 ;;
9169 ccc*)
9170 lt_prog_compiler_wl='-Wl,'
9171 # All Alpha code is PIC.
9172 lt_prog_compiler_static='-non_shared'
9173 ;;
9174 xl* | bgxl* | bgf* | mpixl*)
9175 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9176 lt_prog_compiler_wl='-Wl,'
9177 lt_prog_compiler_pic='-qpic'
9178 lt_prog_compiler_static='-qstaticlink'
9179 ;;
9180 *)
9181 case `$CC -V 2>&1 | sed 5q` in
9182 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9183 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9184 lt_prog_compiler_pic='-KPIC'
9185 lt_prog_compiler_static='-Bstatic'
9186 lt_prog_compiler_wl=''
9187 ;;
9188 *Sun\ F* | *Sun*Fortran*)
9189 lt_prog_compiler_pic='-KPIC'
9190 lt_prog_compiler_static='-Bstatic'
9191 lt_prog_compiler_wl='-Qoption ld '
9192 ;;
9193 *Sun\ C*)
9194 # Sun C 5.9
9195 lt_prog_compiler_pic='-KPIC'
9196 lt_prog_compiler_static='-Bstatic'
9197 lt_prog_compiler_wl='-Wl,'
9198 ;;
9199 *Intel*\ [CF]*Compiler*)
9200 lt_prog_compiler_wl='-Wl,'
9201 lt_prog_compiler_pic='-fPIC'
9202 lt_prog_compiler_static='-static'
9203 ;;
9204 *Portland\ Group*)
9205 lt_prog_compiler_wl='-Wl,'
9206 lt_prog_compiler_pic='-fpic'
9207 lt_prog_compiler_static='-Bstatic'
9208 ;;
9209 esac
9210 ;;
9211 esac
9212 ;;
9213
9214 newsos6)
9215 lt_prog_compiler_pic='-KPIC'
9216 lt_prog_compiler_static='-Bstatic'
9217 ;;
9218
9219 *nto* | *qnx*)
9220 # QNX uses GNU C++, but need to define -shared option too, otherwise
9221 # it will coredump.
9222 lt_prog_compiler_pic='-fPIC -shared'
9223 ;;
9224
9225 osf3* | osf4* | osf5*)
9226 lt_prog_compiler_wl='-Wl,'
9227 # All OSF/1 code is PIC.
9228 lt_prog_compiler_static='-non_shared'
9229 ;;
9230
9231 rdos*)
9232 lt_prog_compiler_static='-non_shared'
9233 ;;
9234
9235 solaris*)
9236 lt_prog_compiler_pic='-KPIC'
9237 lt_prog_compiler_static='-Bstatic'
9238 case $cc_basename in
9239 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9240 lt_prog_compiler_wl='-Qoption ld ';;
9241 *)
9242 lt_prog_compiler_wl='-Wl,';;
9243 esac
9244 ;;
9245
9246 sunos4*)
9247 lt_prog_compiler_wl='-Qoption ld '
9248 lt_prog_compiler_pic='-PIC'
9249 lt_prog_compiler_static='-Bstatic'
9250 ;;
9251
9252 sysv4 | sysv4.2uw2* | sysv4.3*)
9253 lt_prog_compiler_wl='-Wl,'
9254 lt_prog_compiler_pic='-KPIC'
9255 lt_prog_compiler_static='-Bstatic'
9256 ;;
9257
9258 sysv4*MP*)
9259 if test -d /usr/nec; then
9260 lt_prog_compiler_pic='-Kconform_pic'
9261 lt_prog_compiler_static='-Bstatic'
9262 fi
9263 ;;
9264
9265 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9266 lt_prog_compiler_wl='-Wl,'
9267 lt_prog_compiler_pic='-KPIC'
9268 lt_prog_compiler_static='-Bstatic'
9269 ;;
9270
9271 unicos*)
9272 lt_prog_compiler_wl='-Wl,'
9273 lt_prog_compiler_can_build_shared=no
9274 ;;
9275
9276 uts4*)
9277 lt_prog_compiler_pic='-pic'
9278 lt_prog_compiler_static='-Bstatic'
9279 ;;
9280
9281 *)
9282 lt_prog_compiler_can_build_shared=no
9283 ;;
9284 esac
9285 fi
9286
9287 case $host_os in
9288 # For platforms that do not support PIC, -DPIC is meaningless:
9289 *djgpp*)
9290 lt_prog_compiler_pic=
9291 ;;
9292 *)
9293 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9294 ;;
9295 esac
9296
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9298 printf %s "checking for $compiler option to produce PIC... " >&6; }
9299 if test ${lt_cv_prog_compiler_pic+y}
9300 then :
9301 printf %s "(cached) " >&6
9302 else $as_nop
9303 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9304 fi
9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9306 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
9307 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9308
9309 #
9310 # Check to make sure the PIC flag actually works.
9311 #
9312 if test -n "$lt_prog_compiler_pic"; then
9313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9314 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9315 if test ${lt_cv_prog_compiler_pic_works+y}
9316 then :
9317 printf %s "(cached) " >&6
9318 else $as_nop
9319 lt_cv_prog_compiler_pic_works=no
9320 ac_outfile=conftest.$ac_objext
9321 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9322 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9323 # Insert the option either (1) after the last *FLAGS variable, or
9324 # (2) before a word containing "conftest.", or (3) at the end.
9325 # Note that $ac_compile itself does not contain backslashes and begins
9326 # with a dollar sign (not a hyphen), so the echo should work correctly.
9327 # The option is referenced via a variable to avoid confusing sed.
9328 lt_compile=`echo "$ac_compile" | $SED \
9329 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9331 -e 's:$: $lt_compiler_flag:'`
9332 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9333 (eval "$lt_compile" 2>conftest.err)
9334 ac_status=$?
9335 cat conftest.err >&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 if (exit $ac_status) && test -s "$ac_outfile"; then
9338 # The compiler can only warn and ignore the option if not recognized
9339 # So say no if there are warnings other than the usual output.
9340 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9341 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9342 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9343 lt_cv_prog_compiler_pic_works=yes
9344 fi
9345 fi
9346 $RM conftest*
9347
9348 fi
9349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9350 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
9351
9352 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9353 case $lt_prog_compiler_pic in
9354 "" | " "*) ;;
9355 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9356 esac
9357 else
9358 lt_prog_compiler_pic=
9359 lt_prog_compiler_can_build_shared=no
9360 fi
9361
9362 fi
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374 #
9375 # Check to make sure the static flag actually works.
9376 #
9377 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9379 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9380 if test ${lt_cv_prog_compiler_static_works+y}
9381 then :
9382 printf %s "(cached) " >&6
9383 else $as_nop
9384 lt_cv_prog_compiler_static_works=no
9385 save_LDFLAGS=$LDFLAGS
9386 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9387 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9388 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9389 # The linker can only warn and ignore the option if not recognized
9390 # So say no if there are warnings
9391 if test -s conftest.err; then
9392 # Append any errors to the config.log.
9393 cat conftest.err 1>&5
9394 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9395 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9396 if diff conftest.exp conftest.er2 >/dev/null; then
9397 lt_cv_prog_compiler_static_works=yes
9398 fi
9399 else
9400 lt_cv_prog_compiler_static_works=yes
9401 fi
9402 fi
9403 $RM -r conftest*
9404 LDFLAGS=$save_LDFLAGS
9405
9406 fi
9407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9408 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
9409
9410 if test yes = "$lt_cv_prog_compiler_static_works"; then
9411 :
9412 else
9413 lt_prog_compiler_static=
9414 fi
9415
9416
9417
9418
9419
9420
9421
9422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9423 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9424 if test ${lt_cv_prog_compiler_c_o+y}
9425 then :
9426 printf %s "(cached) " >&6
9427 else $as_nop
9428 lt_cv_prog_compiler_c_o=no
9429 $RM -r conftest 2>/dev/null
9430 mkdir conftest
9431 cd conftest
9432 mkdir out
9433 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9434
9435 lt_compiler_flag="-o out/conftest2.$ac_objext"
9436 # Insert the option either (1) after the last *FLAGS variable, or
9437 # (2) before a word containing "conftest.", or (3) at the end.
9438 # Note that $ac_compile itself does not contain backslashes and begins
9439 # with a dollar sign (not a hyphen), so the echo should work correctly.
9440 lt_compile=`echo "$ac_compile" | $SED \
9441 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9443 -e 's:$: $lt_compiler_flag:'`
9444 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9445 (eval "$lt_compile" 2>out/conftest.err)
9446 ac_status=$?
9447 cat out/conftest.err >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9450 then
9451 # The compiler can only warn and ignore the option if not recognized
9452 # So say no if there are warnings
9453 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9454 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9455 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9456 lt_cv_prog_compiler_c_o=yes
9457 fi
9458 fi
9459 chmod u+w . 2>&5
9460 $RM conftest*
9461 # SGI C++ compiler will create directory out/ii_files/ for
9462 # template instantiation
9463 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9464 $RM out/* && rmdir out
9465 cd ..
9466 $RM -r conftest
9467 $RM conftest*
9468
9469 fi
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9471 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9472
9473
9474
9475
9476
9477
9478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9479 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9480 if test ${lt_cv_prog_compiler_c_o+y}
9481 then :
9482 printf %s "(cached) " >&6
9483 else $as_nop
9484 lt_cv_prog_compiler_c_o=no
9485 $RM -r conftest 2>/dev/null
9486 mkdir conftest
9487 cd conftest
9488 mkdir out
9489 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9490
9491 lt_compiler_flag="-o out/conftest2.$ac_objext"
9492 # Insert the option either (1) after the last *FLAGS variable, or
9493 # (2) before a word containing "conftest.", or (3) at the end.
9494 # Note that $ac_compile itself does not contain backslashes and begins
9495 # with a dollar sign (not a hyphen), so the echo should work correctly.
9496 lt_compile=`echo "$ac_compile" | $SED \
9497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9499 -e 's:$: $lt_compiler_flag:'`
9500 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9501 (eval "$lt_compile" 2>out/conftest.err)
9502 ac_status=$?
9503 cat out/conftest.err >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9506 then
9507 # The compiler can only warn and ignore the option if not recognized
9508 # So say no if there are warnings
9509 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9510 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9511 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9512 lt_cv_prog_compiler_c_o=yes
9513 fi
9514 fi
9515 chmod u+w . 2>&5
9516 $RM conftest*
9517 # SGI C++ compiler will create directory out/ii_files/ for
9518 # template instantiation
9519 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9520 $RM out/* && rmdir out
9521 cd ..
9522 $RM -r conftest
9523 $RM conftest*
9524
9525 fi
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9527 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9528
9529
9530
9531
9532 hard_links=nottested
9533 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9534 # do not overwrite the value of need_locks provided by the user
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9536 printf %s "checking if we can lock with hard links... " >&6; }
9537 hard_links=yes
9538 $RM conftest*
9539 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9540 touch conftest.a
9541 ln conftest.a conftest.b 2>&5 || hard_links=no
9542 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9544 printf "%s\n" "$hard_links" >&6; }
9545 if test no = "$hard_links"; then
9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9547 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9548 need_locks=warn
9549 fi
9550 else
9551 need_locks=no
9552 fi
9553
9554
9555
9556
9557
9558
9559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9560 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9561
9562 runpath_var=
9563 allow_undefined_flag=
9564 always_export_symbols=no
9565 archive_cmds=
9566 archive_expsym_cmds=
9567 compiler_needs_object=no
9568 enable_shared_with_static_runtimes=no
9569 export_dynamic_flag_spec=
9570 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9571 hardcode_automatic=no
9572 hardcode_direct=no
9573 hardcode_direct_absolute=no
9574 hardcode_libdir_flag_spec=
9575 hardcode_libdir_separator=
9576 hardcode_minus_L=no
9577 hardcode_shlibpath_var=unsupported
9578 inherit_rpath=no
9579 link_all_deplibs=unknown
9580 module_cmds=
9581 module_expsym_cmds=
9582 old_archive_from_new_cmds=
9583 old_archive_from_expsyms_cmds=
9584 thread_safe_flag_spec=
9585 whole_archive_flag_spec=
9586 # include_expsyms should be a list of space-separated symbols to be *always*
9587 # included in the symbol list
9588 include_expsyms=
9589 # exclude_expsyms can be an extended regexp of symbols to exclude
9590 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9591 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9592 # as well as any symbol that contains 'd'.
9593 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9594 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9595 # platforms (ab)use it in PIC code, but their linkers get confused if
9596 # the symbol is explicitly referenced. Since portable code cannot
9597 # rely on this symbol name, it's probably fine to never include it in
9598 # preloaded symbol tables.
9599 # Exclude shared library initialization/finalization symbols.
9600 extract_expsyms_cmds=
9601
9602 case $host_os in
9603 cygwin* | mingw* | pw32* | cegcc*)
9604 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9605 # When not using gcc, we currently assume that we are using
9606 # Microsoft Visual C++.
9607 if test yes != "$GCC"; then
9608 with_gnu_ld=no
9609 fi
9610 ;;
9611 interix*)
9612 # we just hope/assume this is gcc and not c89 (= MSVC++)
9613 with_gnu_ld=yes
9614 ;;
9615 openbsd* | bitrig*)
9616 with_gnu_ld=no
9617 ;;
9618 linux* | k*bsd*-gnu | gnu*)
9619 link_all_deplibs=no
9620 ;;
9621 esac
9622
9623 ld_shlibs=yes
9624
9625 # On some targets, GNU ld is compatible enough with the native linker
9626 # that we're better off using the native interface for both.
9627 lt_use_gnu_ld_interface=no
9628 if test yes = "$with_gnu_ld"; then
9629 case $host_os in
9630 aix*)
9631 # The AIX port of GNU ld has always aspired to compatibility
9632 # with the native linker. However, as the warning in the GNU ld
9633 # block says, versions before 2.19.5* couldn't really create working
9634 # shared libraries, regardless of the interface used.
9635 case `$LD -v 2>&1` in
9636 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9637 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9638 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9639 *)
9640 lt_use_gnu_ld_interface=yes
9641 ;;
9642 esac
9643 ;;
9644 *)
9645 lt_use_gnu_ld_interface=yes
9646 ;;
9647 esac
9648 fi
9649
9650 if test yes = "$lt_use_gnu_ld_interface"; then
9651 # If archive_cmds runs LD, not CC, wlarc should be empty
9652 wlarc='$wl'
9653
9654 # Set some defaults for GNU ld with shared library support. These
9655 # are reset later if shared libraries are not supported. Putting them
9656 # here allows them to be overridden if necessary.
9657 runpath_var=LD_RUN_PATH
9658 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9659 export_dynamic_flag_spec='$wl--export-dynamic'
9660 # ancient GNU ld didn't support --whole-archive et. al.
9661 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9662 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9663 else
9664 whole_archive_flag_spec=
9665 fi
9666 supports_anon_versioning=no
9667 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9668 *GNU\ gold*) supports_anon_versioning=yes ;;
9669 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9670 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9671 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9672 *\ 2.11.*) ;; # other 2.11 versions
9673 *) supports_anon_versioning=yes ;;
9674 esac
9675
9676 # See if GNU ld supports shared libraries.
9677 case $host_os in
9678 aix[3-9]*)
9679 # On AIX/PPC, the GNU linker is very broken
9680 if test ia64 != "$host_cpu"; then
9681 ld_shlibs=no
9682 cat <<_LT_EOF 1>&2
9683
9684 *** Warning: the GNU linker, at least up to release 2.19, is reported
9685 *** to be unable to reliably create shared libraries on AIX.
9686 *** Therefore, libtool is disabling shared libraries support. If you
9687 *** really care for shared libraries, you may want to install binutils
9688 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9689 *** You will then need to restart the configuration process.
9690
9691 _LT_EOF
9692 fi
9693 ;;
9694
9695 amigaos*)
9696 case $host_cpu in
9697 powerpc)
9698 # see comment about AmigaOS4 .so support
9699 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9700 archive_expsym_cmds=''
9701 ;;
9702 m68k)
9703 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)'
9704 hardcode_libdir_flag_spec='-L$libdir'
9705 hardcode_minus_L=yes
9706 ;;
9707 esac
9708 ;;
9709
9710 beos*)
9711 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9712 allow_undefined_flag=unsupported
9713 # Joseph Beckenbach <[email protected]> says some releases of gcc
9714 # support --undefined. This deserves some investigation. FIXME
9715 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9716 else
9717 ld_shlibs=no
9718 fi
9719 ;;
9720
9721 cygwin* | mingw* | pw32* | cegcc*)
9722 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9723 # as there is no search path for DLLs.
9724 hardcode_libdir_flag_spec='-L$libdir'
9725 export_dynamic_flag_spec='$wl--export-all-symbols'
9726 allow_undefined_flag=unsupported
9727 always_export_symbols=no
9728 enable_shared_with_static_runtimes=yes
9729 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'
9730 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9731
9732 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9734 # If the export-symbols file already is a .def file, use it as
9735 # is; otherwise, prepend EXPORTS...
9736 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9737 cp $export_symbols $output_objdir/$soname.def;
9738 else
9739 echo EXPORTS > $output_objdir/$soname.def;
9740 cat $export_symbols >> $output_objdir/$soname.def;
9741 fi~
9742 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9743 else
9744 ld_shlibs=no
9745 fi
9746 ;;
9747
9748 haiku*)
9749 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9750 link_all_deplibs=yes
9751 ;;
9752
9753 os2*)
9754 hardcode_libdir_flag_spec='-L$libdir'
9755 hardcode_minus_L=yes
9756 allow_undefined_flag=unsupported
9757 shrext_cmds=.dll
9758 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9759 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9760 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9761 $ECHO EXPORTS >> $output_objdir/$libname.def~
9762 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9763 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9764 emximp -o $lib $output_objdir/$libname.def'
9765 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9766 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9767 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9768 $ECHO EXPORTS >> $output_objdir/$libname.def~
9769 prefix_cmds="$SED"~
9770 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9771 prefix_cmds="$prefix_cmds -e 1d";
9772 fi~
9773 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9774 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9775 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9776 emximp -o $lib $output_objdir/$libname.def'
9777 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9778 enable_shared_with_static_runtimes=yes
9779 ;;
9780
9781 interix[3-9]*)
9782 hardcode_direct=no
9783 hardcode_shlibpath_var=no
9784 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9785 export_dynamic_flag_spec='$wl-E'
9786 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9787 # Instead, shared libraries are loaded at an image base (0x10000000 by
9788 # default) and relocated if they conflict, which is a slow very memory
9789 # consuming and fragmenting process. To avoid this, we pick a random,
9790 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9791 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9792 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9793 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'
9794 ;;
9795
9796 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9797 tmp_diet=no
9798 if test linux-dietlibc = "$host_os"; then
9799 case $cc_basename in
9800 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9801 esac
9802 fi
9803 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9804 && test no = "$tmp_diet"
9805 then
9806 tmp_addflag=' $pic_flag'
9807 tmp_sharedflag='-shared'
9808 case $cc_basename,$host_cpu in
9809 pgcc*) # Portland Group C compiler
9810 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'
9811 tmp_addflag=' $pic_flag'
9812 ;;
9813 pgf77* | pgf90* | pgf95* | pgfortran*)
9814 # Portland Group f77 and f90 compilers
9815 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'
9816 tmp_addflag=' $pic_flag -Mnomain' ;;
9817 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9818 tmp_addflag=' -i_dynamic' ;;
9819 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9820 tmp_addflag=' -i_dynamic -nofor_main' ;;
9821 ifc* | ifort*) # Intel Fortran compiler
9822 tmp_addflag=' -nofor_main' ;;
9823 lf95*) # Lahey Fortran 8.1
9824 whole_archive_flag_spec=
9825 tmp_sharedflag='--shared' ;;
9826 nagfor*) # NAGFOR 5.3
9827 tmp_sharedflag='-Wl,-shared' ;;
9828 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9829 tmp_sharedflag='-qmkshrobj'
9830 tmp_addflag= ;;
9831 nvcc*) # Cuda Compiler Driver 2.2
9832 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'
9833 compiler_needs_object=yes
9834 ;;
9835 esac
9836 case `$CC -V 2>&1 | sed 5q` in
9837 *Sun\ C*) # Sun C 5.9
9838 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'
9839 compiler_needs_object=yes
9840 tmp_sharedflag='-G' ;;
9841 *Sun\ F*) # Sun Fortran 8.3
9842 tmp_sharedflag='-G' ;;
9843 esac
9844 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9845
9846 if test yes = "$supports_anon_versioning"; then
9847 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9848 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9849 echo "local: *; };" >> $output_objdir/$libname.ver~
9850 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9851 fi
9852
9853 case $cc_basename in
9854 tcc*)
9855 export_dynamic_flag_spec='-rdynamic'
9856 ;;
9857 xlf* | bgf* | bgxlf* | mpixlf*)
9858 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9859 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9860 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9861 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9862 if test yes = "$supports_anon_versioning"; then
9863 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9864 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9865 echo "local: *; };" >> $output_objdir/$libname.ver~
9866 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9867 fi
9868 ;;
9869 esac
9870 else
9871 ld_shlibs=no
9872 fi
9873 ;;
9874
9875 netbsd* | netbsdelf*-gnu)
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9878 wlarc=
9879 else
9880 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9881 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9882 fi
9883 ;;
9884
9885 solaris*)
9886 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9887 ld_shlibs=no
9888 cat <<_LT_EOF 1>&2
9889
9890 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9891 *** create shared libraries on Solaris systems. Therefore, libtool
9892 *** is disabling shared libraries support. We urge you to upgrade GNU
9893 *** binutils to release 2.9.1 or newer. Another option is to modify
9894 *** your PATH or compiler configuration so that the native linker is
9895 *** used, and then restart.
9896
9897 _LT_EOF
9898 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9899 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9900 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9901 else
9902 ld_shlibs=no
9903 fi
9904 ;;
9905
9906 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9907 case `$LD -v 2>&1` in
9908 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9909 ld_shlibs=no
9910 cat <<_LT_EOF 1>&2
9911
9912 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9913 *** reliably create shared libraries on SCO systems. Therefore, libtool
9914 *** is disabling shared libraries support. We urge you to upgrade GNU
9915 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9916 *** your PATH or compiler configuration so that the native linker is
9917 *** used, and then restart.
9918
9919 _LT_EOF
9920 ;;
9921 *)
9922 # For security reasons, it is highly recommended that you always
9923 # use absolute paths for naming shared libraries, and exclude the
9924 # DT_RUNPATH tag from executables and libraries. But doing so
9925 # requires that you compile everything twice, which is a pain.
9926 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9927 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9928 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9929 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9930 else
9931 ld_shlibs=no
9932 fi
9933 ;;
9934 esac
9935 ;;
9936
9937 sunos4*)
9938 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9939 wlarc=
9940 hardcode_direct=yes
9941 hardcode_shlibpath_var=no
9942 ;;
9943
9944 *)
9945 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9946 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9947 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9948 else
9949 ld_shlibs=no
9950 fi
9951 ;;
9952 esac
9953
9954 if test no = "$ld_shlibs"; then
9955 runpath_var=
9956 hardcode_libdir_flag_spec=
9957 export_dynamic_flag_spec=
9958 whole_archive_flag_spec=
9959 fi
9960 else
9961 # PORTME fill in a description of your system's linker (not GNU ld)
9962 case $host_os in
9963 aix3*)
9964 allow_undefined_flag=unsupported
9965 always_export_symbols=yes
9966 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'
9967 # Note: this linker hardcodes the directories in LIBPATH if there
9968 # are no directories specified by -L.
9969 hardcode_minus_L=yes
9970 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9971 # Neither direct hardcoding nor static linking is supported with a
9972 # broken collect2.
9973 hardcode_direct=unsupported
9974 fi
9975 ;;
9976
9977 aix[4-9]*)
9978 if test ia64 = "$host_cpu"; then
9979 # On IA64, the linker does run time linking by default, so we don't
9980 # have to do anything special.
9981 aix_use_runtimelinking=no
9982 exp_sym_flag='-Bexport'
9983 no_entry_flag=
9984 else
9985 # If we're using GNU nm, then we don't want the "-C" option.
9986 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9987 # Without the "-l" option, or with the "-B" option, AIX nm treats
9988 # weak defined symbols like other global defined symbols, whereas
9989 # GNU nm marks them as "W".
9990 # While the 'weak' keyword is ignored in the Export File, we need
9991 # it in the Import File for the 'aix-soname' feature, so we have
9992 # to replace the "-B" option with "-P" for AIX nm.
9993 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9994 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'
9995 else
9996 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'
9997 fi
9998 aix_use_runtimelinking=no
9999
10000 # Test if we are trying to use run time linking or normal
10001 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10002 # have runtime linking enabled, and use it for executables.
10003 # For shared libraries, we enable/disable runtime linking
10004 # depending on the kind of the shared library created -
10005 # when "with_aix_soname,aix_use_runtimelinking" is:
10006 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10007 # "aix,yes" lib.so shared, rtl:yes, for executables
10008 # lib.a static archive
10009 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10010 # lib.a(lib.so.V) shared, rtl:no, for executables
10011 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10012 # lib.a(lib.so.V) shared, rtl:no
10013 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10014 # lib.a static archive
10015 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10016 for ld_flag in $LDFLAGS; do
10017 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10018 aix_use_runtimelinking=yes
10019 break
10020 fi
10021 done
10022 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10023 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10024 # so we don't have lib.a shared libs to link our executables.
10025 # We have to force runtime linking in this case.
10026 aix_use_runtimelinking=yes
10027 LDFLAGS="$LDFLAGS -Wl,-brtl"
10028 fi
10029 ;;
10030 esac
10031
10032 exp_sym_flag='-bexport'
10033 no_entry_flag='-bnoentry'
10034 fi
10035
10036 # When large executables or shared objects are built, AIX ld can
10037 # have problems creating the table of contents. If linking a library
10038 # or program results in "error TOC overflow" add -mminimal-toc to
10039 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10040 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10041
10042 archive_cmds=''
10043 hardcode_direct=yes
10044 hardcode_direct_absolute=yes
10045 hardcode_libdir_separator=':'
10046 link_all_deplibs=yes
10047 file_list_spec='$wl-f,'
10048 case $with_aix_soname,$aix_use_runtimelinking in
10049 aix,*) ;; # traditional, no import file
10050 svr4,* | *,yes) # use import file
10051 # The Import File defines what to hardcode.
10052 hardcode_direct=no
10053 hardcode_direct_absolute=no
10054 ;;
10055 esac
10056
10057 if test yes = "$GCC"; then
10058 case $host_os in aix4.[012]|aix4.[012].*)
10059 # We only want to do this on AIX 4.2 and lower, the check
10060 # below for broken collect2 doesn't work under 4.3+
10061 collect2name=`$CC -print-prog-name=collect2`
10062 if test -f "$collect2name" &&
10063 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10064 then
10065 # We have reworked collect2
10066 :
10067 else
10068 # We have old collect2
10069 hardcode_direct=unsupported
10070 # It fails to find uninstalled libraries when the uninstalled
10071 # path is not listed in the libpath. Setting hardcode_minus_L
10072 # to unsupported forces relinking
10073 hardcode_minus_L=yes
10074 hardcode_libdir_flag_spec='-L$libdir'
10075 hardcode_libdir_separator=
10076 fi
10077 ;;
10078 esac
10079 shared_flag='-shared'
10080 if test yes = "$aix_use_runtimelinking"; then
10081 shared_flag="$shared_flag "'$wl-G'
10082 fi
10083 # Need to ensure runtime linking is disabled for the traditional
10084 # shared library, or the linker may eventually find shared libraries
10085 # /with/ Import File - we do not want to mix them.
10086 shared_flag_aix='-shared'
10087 shared_flag_svr4='-shared $wl-G'
10088 else
10089 # not using gcc
10090 if test ia64 = "$host_cpu"; then
10091 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10092 # chokes on -Wl,-G. The following line is correct:
10093 shared_flag='-G'
10094 else
10095 if test yes = "$aix_use_runtimelinking"; then
10096 shared_flag='$wl-G'
10097 else
10098 shared_flag='$wl-bM:SRE'
10099 fi
10100 shared_flag_aix='$wl-bM:SRE'
10101 shared_flag_svr4='$wl-G'
10102 fi
10103 fi
10104
10105 export_dynamic_flag_spec='$wl-bexpall'
10106 # It seems that -bexpall does not export symbols beginning with
10107 # underscore (_), so it is better to generate a list of symbols to export.
10108 always_export_symbols=yes
10109 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10110 # Warning - without using the other runtime loading flags (-brtl),
10111 # -berok will link without error, but may produce a broken library.
10112 allow_undefined_flag='-berok'
10113 # Determine the default libpath from the value encoded in an
10114 # empty executable.
10115 if test set = "${lt_cv_aix_libpath+set}"; then
10116 aix_libpath=$lt_cv_aix_libpath
10117 else
10118 if test ${lt_cv_aix_libpath_+y}
10119 then :
10120 printf %s "(cached) " >&6
10121 else $as_nop
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124
10125 int
10126 main (void)
10127 {
10128
10129 ;
10130 return 0;
10131 }
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"
10134 then :
10135
10136 lt_aix_libpath_sed='
10137 /Import File Strings/,/^$/ {
10138 /^0/ {
10139 s/^0 *\([^ ]*\) *$/\1/
10140 p
10141 }
10142 }'
10143 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10144 # Check for a 64-bit object if we didn't find anything.
10145 if test -z "$lt_cv_aix_libpath_"; then
10146 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10147 fi
10148 fi
10149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10150 conftest$ac_exeext conftest.$ac_ext
10151 if test -z "$lt_cv_aix_libpath_"; then
10152 lt_cv_aix_libpath_=/usr/lib:/lib
10153 fi
10154
10155 fi
10156
10157 aix_libpath=$lt_cv_aix_libpath_
10158 fi
10159
10160 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10161 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
10162 else
10163 if test ia64 = "$host_cpu"; then
10164 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10165 allow_undefined_flag="-z nodefs"
10166 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"
10167 else
10168 # Determine the default libpath from the value encoded in an
10169 # empty executable.
10170 if test set = "${lt_cv_aix_libpath+set}"; then
10171 aix_libpath=$lt_cv_aix_libpath
10172 else
10173 if test ${lt_cv_aix_libpath_+y}
10174 then :
10175 printf %s "(cached) " >&6
10176 else $as_nop
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10179
10180 int
10181 main (void)
10182 {
10183
10184 ;
10185 return 0;
10186 }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"
10189 then :
10190
10191 lt_aix_libpath_sed='
10192 /Import File Strings/,/^$/ {
10193 /^0/ {
10194 s/^0 *\([^ ]*\) *$/\1/
10195 p
10196 }
10197 }'
10198 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10199 # Check for a 64-bit object if we didn't find anything.
10200 if test -z "$lt_cv_aix_libpath_"; then
10201 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10202 fi
10203 fi
10204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10205 conftest$ac_exeext conftest.$ac_ext
10206 if test -z "$lt_cv_aix_libpath_"; then
10207 lt_cv_aix_libpath_=/usr/lib:/lib
10208 fi
10209
10210 fi
10211
10212 aix_libpath=$lt_cv_aix_libpath_
10213 fi
10214
10215 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10216 # Warning - without using the other run time loading flags,
10217 # -berok will link without error, but may produce a broken library.
10218 no_undefined_flag=' $wl-bernotok'
10219 allow_undefined_flag=' $wl-berok'
10220 if test yes = "$with_gnu_ld"; then
10221 # We only use this code for GNU lds that support --whole-archive.
10222 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10223 else
10224 # Exported symbols can be pulled into shared objects from archives
10225 whole_archive_flag_spec='$convenience'
10226 fi
10227 archive_cmds_need_lc=yes
10228 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10229 # -brtl affects multiple linker settings, -berok does not and is overridden later
10230 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10231 if test svr4 != "$with_aix_soname"; then
10232 # This is similar to how AIX traditionally builds its shared libraries.
10233 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'
10234 fi
10235 if test aix != "$with_aix_soname"; then
10236 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'
10237 else
10238 # used by -dlpreopen to get the symbols
10239 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10240 fi
10241 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10242 fi
10243 fi
10244 ;;
10245
10246 amigaos*)
10247 case $host_cpu in
10248 powerpc)
10249 # see comment about AmigaOS4 .so support
10250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10251 archive_expsym_cmds=''
10252 ;;
10253 m68k)
10254 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)'
10255 hardcode_libdir_flag_spec='-L$libdir'
10256 hardcode_minus_L=yes
10257 ;;
10258 esac
10259 ;;
10260
10261 bsdi[45]*)
10262 export_dynamic_flag_spec=-rdynamic
10263 ;;
10264
10265 cygwin* | mingw* | pw32* | cegcc*)
10266 # When not using gcc, we currently assume that we are using
10267 # Microsoft Visual C++.
10268 # hardcode_libdir_flag_spec is actually meaningless, as there is
10269 # no search path for DLLs.
10270 case $cc_basename in
10271 cl*)
10272 # Native MSVC
10273 hardcode_libdir_flag_spec=' '
10274 allow_undefined_flag=unsupported
10275 always_export_symbols=yes
10276 file_list_spec='@'
10277 # Tell ltmain to make .lib files, not .a files.
10278 libext=lib
10279 # Tell ltmain to make .dll files, not .so files.
10280 shrext_cmds=.dll
10281 # FIXME: Setting linknames here is a bad hack.
10282 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10283 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10284 cp "$export_symbols" "$output_objdir/$soname.def";
10285 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10286 else
10287 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10288 fi~
10289 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10290 linknames='
10291 # The linker will not automatically build a static lib if we build a DLL.
10292 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10293 enable_shared_with_static_runtimes=yes
10294 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10295 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10296 # Don't use ranlib
10297 old_postinstall_cmds='chmod 644 $oldlib'
10298 postlink_cmds='lt_outputfile="@OUTPUT@"~
10299 lt_tool_outputfile="@TOOL_OUTPUT@"~
10300 case $lt_outputfile in
10301 *.exe|*.EXE) ;;
10302 *)
10303 lt_outputfile=$lt_outputfile.exe
10304 lt_tool_outputfile=$lt_tool_outputfile.exe
10305 ;;
10306 esac~
10307 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10308 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10309 $RM "$lt_outputfile.manifest";
10310 fi'
10311 ;;
10312 *)
10313 # Assume MSVC wrapper
10314 hardcode_libdir_flag_spec=' '
10315 allow_undefined_flag=unsupported
10316 # Tell ltmain to make .lib files, not .a files.
10317 libext=lib
10318 # Tell ltmain to make .dll files, not .so files.
10319 shrext_cmds=.dll
10320 # FIXME: Setting linknames here is a bad hack.
10321 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10322 # The linker will automatically build a .lib file if we build a DLL.
10323 old_archive_from_new_cmds='true'
10324 # FIXME: Should let the user specify the lib program.
10325 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10326 enable_shared_with_static_runtimes=yes
10327 ;;
10328 esac
10329 ;;
10330
10331 darwin* | rhapsody*)
10332
10333
10334 archive_cmds_need_lc=no
10335 hardcode_direct=no
10336 hardcode_automatic=yes
10337 hardcode_shlibpath_var=unsupported
10338 if test yes = "$lt_cv_ld_force_load"; then
10339 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\"`'
10340
10341 else
10342 whole_archive_flag_spec=''
10343 fi
10344 link_all_deplibs=yes
10345 allow_undefined_flag=$_lt_dar_allow_undefined
10346 case $cc_basename in
10347 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10348 *) _lt_dar_can_shared=$GCC ;;
10349 esac
10350 if test yes = "$_lt_dar_can_shared"; then
10351 output_verbose_link_cmd=func_echo_all
10352 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10353 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10354 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"
10355 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"
10356
10357 else
10358 ld_shlibs=no
10359 fi
10360
10361 ;;
10362
10363 dgux*)
10364 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10365 hardcode_libdir_flag_spec='-L$libdir'
10366 hardcode_shlibpath_var=no
10367 ;;
10368
10369 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10370 # support. Future versions do this automatically, but an explicit c++rt0.o
10371 # does not break anything, and helps significantly (at the cost of a little
10372 # extra space).
10373 freebsd2.2*)
10374 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10375 hardcode_libdir_flag_spec='-R$libdir'
10376 hardcode_direct=yes
10377 hardcode_shlibpath_var=no
10378 ;;
10379
10380 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10381 freebsd2.*)
10382 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10383 hardcode_direct=yes
10384 hardcode_minus_L=yes
10385 hardcode_shlibpath_var=no
10386 ;;
10387
10388 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10389 freebsd* | dragonfly*)
10390 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10391 hardcode_libdir_flag_spec='-R$libdir'
10392 hardcode_direct=yes
10393 hardcode_shlibpath_var=no
10394 ;;
10395
10396 hpux9*)
10397 if test yes = "$GCC"; then
10398 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'
10399 else
10400 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'
10401 fi
10402 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10403 hardcode_libdir_separator=:
10404 hardcode_direct=yes
10405
10406 # hardcode_minus_L: Not really in the search PATH,
10407 # but as the default location of the library.
10408 hardcode_minus_L=yes
10409 export_dynamic_flag_spec='$wl-E'
10410 ;;
10411
10412 hpux10*)
10413 if test yes,no = "$GCC,$with_gnu_ld"; then
10414 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10415 else
10416 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10417 fi
10418 if test no = "$with_gnu_ld"; then
10419 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10420 hardcode_libdir_separator=:
10421 hardcode_direct=yes
10422 hardcode_direct_absolute=yes
10423 export_dynamic_flag_spec='$wl-E'
10424 # hardcode_minus_L: Not really in the search PATH,
10425 # but as the default location of the library.
10426 hardcode_minus_L=yes
10427 fi
10428 ;;
10429
10430 hpux11*)
10431 if test yes,no = "$GCC,$with_gnu_ld"; then
10432 case $host_cpu in
10433 hppa*64*)
10434 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10435 ;;
10436 ia64*)
10437 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10438 ;;
10439 *)
10440 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10441 ;;
10442 esac
10443 else
10444 case $host_cpu in
10445 hppa*64*)
10446 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 ;;
10448 ia64*)
10449 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10450 ;;
10451 *)
10452
10453 # Older versions of the 11.00 compiler do not understand -b yet
10454 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10456 printf %s "checking if $CC understands -b... " >&6; }
10457 if test ${lt_cv_prog_compiler__b+y}
10458 then :
10459 printf %s "(cached) " >&6
10460 else $as_nop
10461 lt_cv_prog_compiler__b=no
10462 save_LDFLAGS=$LDFLAGS
10463 LDFLAGS="$LDFLAGS -b"
10464 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10465 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10466 # The linker can only warn and ignore the option if not recognized
10467 # So say no if there are warnings
10468 if test -s conftest.err; then
10469 # Append any errors to the config.log.
10470 cat conftest.err 1>&5
10471 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10472 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10473 if diff conftest.exp conftest.er2 >/dev/null; then
10474 lt_cv_prog_compiler__b=yes
10475 fi
10476 else
10477 lt_cv_prog_compiler__b=yes
10478 fi
10479 fi
10480 $RM -r conftest*
10481 LDFLAGS=$save_LDFLAGS
10482
10483 fi
10484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10485 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
10486
10487 if test yes = "$lt_cv_prog_compiler__b"; then
10488 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10489 else
10490 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10491 fi
10492
10493 ;;
10494 esac
10495 fi
10496 if test no = "$with_gnu_ld"; then
10497 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10498 hardcode_libdir_separator=:
10499
10500 case $host_cpu in
10501 hppa*64*|ia64*)
10502 hardcode_direct=no
10503 hardcode_shlibpath_var=no
10504 ;;
10505 *)
10506 hardcode_direct=yes
10507 hardcode_direct_absolute=yes
10508 export_dynamic_flag_spec='$wl-E'
10509
10510 # hardcode_minus_L: Not really in the search PATH,
10511 # but as the default location of the library.
10512 hardcode_minus_L=yes
10513 ;;
10514 esac
10515 fi
10516 ;;
10517
10518 irix5* | irix6* | nonstopux*)
10519 if test yes = "$GCC"; then
10520 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'
10521 # Try to use the -exported_symbol ld option, if it does not
10522 # work, assume that -exports_file does not work either and
10523 # implicitly export all symbols.
10524 # This should be the same for all languages, so no per-tag cache variable.
10525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10526 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10527 if test ${lt_cv_irix_exported_symbol+y}
10528 then :
10529 printf %s "(cached) " >&6
10530 else $as_nop
10531 save_LDFLAGS=$LDFLAGS
10532 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10534 /* end confdefs.h. */
10535 int foo (void) { return 0; }
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"
10538 then :
10539 lt_cv_irix_exported_symbol=yes
10540 else $as_nop
10541 lt_cv_irix_exported_symbol=no
10542 fi
10543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LDFLAGS=$save_LDFLAGS
10546 fi
10547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10548 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
10549 if test yes = "$lt_cv_irix_exported_symbol"; then
10550 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'
10551 fi
10552 link_all_deplibs=no
10553 else
10554 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'
10555 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'
10556 fi
10557 archive_cmds_need_lc='no'
10558 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10559 hardcode_libdir_separator=:
10560 inherit_rpath=yes
10561 link_all_deplibs=yes
10562 ;;
10563
10564 linux*)
10565 case $cc_basename in
10566 tcc*)
10567 # Fabrice Bellard et al's Tiny C Compiler
10568 ld_shlibs=yes
10569 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10570 ;;
10571 esac
10572 ;;
10573
10574 netbsd* | netbsdelf*-gnu)
10575 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10576 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10577 else
10578 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10579 fi
10580 hardcode_libdir_flag_spec='-R$libdir'
10581 hardcode_direct=yes
10582 hardcode_shlibpath_var=no
10583 ;;
10584
10585 newsos6)
10586 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10587 hardcode_direct=yes
10588 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10589 hardcode_libdir_separator=:
10590 hardcode_shlibpath_var=no
10591 ;;
10592
10593 *nto* | *qnx*)
10594 ;;
10595
10596 openbsd* | bitrig*)
10597 if test -f /usr/libexec/ld.so; then
10598 hardcode_direct=yes
10599 hardcode_shlibpath_var=no
10600 hardcode_direct_absolute=yes
10601 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10602 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10603 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10604 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10605 export_dynamic_flag_spec='$wl-E'
10606 else
10607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10608 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10609 fi
10610 else
10611 ld_shlibs=no
10612 fi
10613 ;;
10614
10615 os2*)
10616 hardcode_libdir_flag_spec='-L$libdir'
10617 hardcode_minus_L=yes
10618 allow_undefined_flag=unsupported
10619 shrext_cmds=.dll
10620 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10621 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10622 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10623 $ECHO EXPORTS >> $output_objdir/$libname.def~
10624 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10625 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10626 emximp -o $lib $output_objdir/$libname.def'
10627 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10628 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10629 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10630 $ECHO EXPORTS >> $output_objdir/$libname.def~
10631 prefix_cmds="$SED"~
10632 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10633 prefix_cmds="$prefix_cmds -e 1d";
10634 fi~
10635 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10636 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10637 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10638 emximp -o $lib $output_objdir/$libname.def'
10639 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10640 enable_shared_with_static_runtimes=yes
10641 ;;
10642
10643 osf3*)
10644 if test yes = "$GCC"; then
10645 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10646 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'
10647 else
10648 allow_undefined_flag=' -expect_unresolved \*'
10649 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'
10650 fi
10651 archive_cmds_need_lc='no'
10652 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10653 hardcode_libdir_separator=:
10654 ;;
10655
10656 osf4* | osf5*) # as osf3* with the addition of -msym flag
10657 if test yes = "$GCC"; then
10658 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10659 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'
10660 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10661 else
10662 allow_undefined_flag=' -expect_unresolved \*'
10663 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'
10664 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~
10665 $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'
10666
10667 # Both c and cxx compiler support -rpath directly
10668 hardcode_libdir_flag_spec='-rpath $libdir'
10669 fi
10670 archive_cmds_need_lc='no'
10671 hardcode_libdir_separator=:
10672 ;;
10673
10674 solaris*)
10675 no_undefined_flag=' -z defs'
10676 if test yes = "$GCC"; then
10677 wlarc='$wl'
10678 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10679 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10680 $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'
10681 else
10682 case `$CC -V 2>&1` in
10683 *"Compilers 5.0"*)
10684 wlarc=''
10685 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10687 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10688 ;;
10689 *)
10690 wlarc='$wl'
10691 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10692 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10693 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10694 ;;
10695 esac
10696 fi
10697 hardcode_libdir_flag_spec='-R$libdir'
10698 hardcode_shlibpath_var=no
10699 case $host_os in
10700 solaris2.[0-5] | solaris2.[0-5].*) ;;
10701 *)
10702 # The compiler driver will combine and reorder linker options,
10703 # but understands '-z linker_flag'. GCC discards it without '$wl',
10704 # but is careful enough not to reorder.
10705 # Supported since Solaris 2.6 (maybe 2.5.1?)
10706 if test yes = "$GCC"; then
10707 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10708 else
10709 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10710 fi
10711 ;;
10712 esac
10713 link_all_deplibs=yes
10714 ;;
10715
10716 sunos4*)
10717 if test sequent = "$host_vendor"; then
10718 # Use $CC to link under sequent, because it throws in some extra .o
10719 # files that make .init and .fini sections work.
10720 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10721 else
10722 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10723 fi
10724 hardcode_libdir_flag_spec='-L$libdir'
10725 hardcode_direct=yes
10726 hardcode_minus_L=yes
10727 hardcode_shlibpath_var=no
10728 ;;
10729
10730 sysv4)
10731 case $host_vendor in
10732 sni)
10733 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10734 hardcode_direct=yes # is this really true???
10735 ;;
10736 siemens)
10737 ## LD is ld it makes a PLAMLIB
10738 ## CC just makes a GrossModule.
10739 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10740 reload_cmds='$CC -r -o $output$reload_objs'
10741 hardcode_direct=no
10742 ;;
10743 motorola)
10744 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10745 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10746 ;;
10747 esac
10748 runpath_var='LD_RUN_PATH'
10749 hardcode_shlibpath_var=no
10750 ;;
10751
10752 sysv4.3*)
10753 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10754 hardcode_shlibpath_var=no
10755 export_dynamic_flag_spec='-Bexport'
10756 ;;
10757
10758 sysv4*MP*)
10759 if test -d /usr/nec; then
10760 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10761 hardcode_shlibpath_var=no
10762 runpath_var=LD_RUN_PATH
10763 hardcode_runpath_var=yes
10764 ld_shlibs=yes
10765 fi
10766 ;;
10767
10768 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10769 no_undefined_flag='$wl-z,text'
10770 archive_cmds_need_lc=no
10771 hardcode_shlibpath_var=no
10772 runpath_var='LD_RUN_PATH'
10773
10774 if test yes = "$GCC"; then
10775 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 else
10778 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 fi
10781 ;;
10782
10783 sysv5* | sco3.2v5* | sco5v6*)
10784 # Note: We CANNOT use -z defs as we might desire, because we do not
10785 # link with -lc, and that would cause any symbols used from libc to
10786 # always be unresolved, which means just about no library would
10787 # ever link correctly. If we're not using GNU ld we use -z text
10788 # though, which does catch some bad symbols but isn't as heavy-handed
10789 # as -z defs.
10790 no_undefined_flag='$wl-z,text'
10791 allow_undefined_flag='$wl-z,nodefs'
10792 archive_cmds_need_lc=no
10793 hardcode_shlibpath_var=no
10794 hardcode_libdir_flag_spec='$wl-R,$libdir'
10795 hardcode_libdir_separator=':'
10796 link_all_deplibs=yes
10797 export_dynamic_flag_spec='$wl-Bexport'
10798 runpath_var='LD_RUN_PATH'
10799
10800 if test yes = "$GCC"; then
10801 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10802 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10803 else
10804 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10805 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 fi
10807 ;;
10808
10809 uts4*)
10810 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10811 hardcode_libdir_flag_spec='-L$libdir'
10812 hardcode_shlibpath_var=no
10813 ;;
10814
10815 *)
10816 ld_shlibs=no
10817 ;;
10818 esac
10819
10820 if test sni = "$host_vendor"; then
10821 case $host in
10822 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10823 export_dynamic_flag_spec='$wl-Blargedynsym'
10824 ;;
10825 esac
10826 fi
10827 fi
10828
10829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10830 printf "%s\n" "$ld_shlibs" >&6; }
10831 test no = "$ld_shlibs" && can_build_shared=no
10832
10833 with_gnu_ld=$with_gnu_ld
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849 #
10850 # Do we need to explicitly link libc?
10851 #
10852 case "x$archive_cmds_need_lc" in
10853 x|xyes)
10854 # Assume -lc should be added
10855 archive_cmds_need_lc=yes
10856
10857 if test yes,yes = "$GCC,$enable_shared"; then
10858 case $archive_cmds in
10859 *'~'*)
10860 # FIXME: we may have to deal with multi-command sequences.
10861 ;;
10862 '$CC '*)
10863 # Test whether the compiler implicitly links with -lc since on some
10864 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10865 # to ld, don't add -lc before -lgcc.
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10867 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
10868 if test ${lt_cv_archive_cmds_need_lc+y}
10869 then :
10870 printf %s "(cached) " >&6
10871 else $as_nop
10872 $RM conftest*
10873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10874
10875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10876 (eval $ac_compile) 2>&5
10877 ac_status=$?
10878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10879 test $ac_status = 0; } 2>conftest.err; then
10880 soname=conftest
10881 lib=conftest
10882 libobjs=conftest.$ac_objext
10883 deplibs=
10884 wl=$lt_prog_compiler_wl
10885 pic_flag=$lt_prog_compiler_pic
10886 compiler_flags=-v
10887 linker_flags=-v
10888 verstring=
10889 output_objdir=.
10890 libname=conftest
10891 lt_save_allow_undefined_flag=$allow_undefined_flag
10892 allow_undefined_flag=
10893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10894 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10895 ac_status=$?
10896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10897 test $ac_status = 0; }
10898 then
10899 lt_cv_archive_cmds_need_lc=no
10900 else
10901 lt_cv_archive_cmds_need_lc=yes
10902 fi
10903 allow_undefined_flag=$lt_save_allow_undefined_flag
10904 else
10905 cat conftest.err 1>&5
10906 fi
10907 $RM conftest*
10908
10909 fi
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10911 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
10912 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10913 ;;
10914 esac
10915 fi
10916 ;;
10917 esac
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11071 printf %s "checking dynamic linker characteristics... " >&6; }
11072
11073 if test yes = "$GCC"; then
11074 case $host_os in
11075 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11076 *) lt_awk_arg='/^libraries:/' ;;
11077 esac
11078 case $host_os in
11079 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11080 *) lt_sed_strip_eq='s|=/|/|g' ;;
11081 esac
11082 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11083 case $lt_search_path_spec in
11084 *\;*)
11085 # if the path contains ";" then we assume it to be the separator
11086 # otherwise default to the standard path separator (i.e. ":") - it is
11087 # assumed that no part of a normal pathname contains ";" but that should
11088 # okay in the real world where ";" in dirpaths is itself problematic.
11089 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11090 ;;
11091 *)
11092 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11093 ;;
11094 esac
11095 # Ok, now we have the path, separated by spaces, we can step through it
11096 # and add multilib dir if necessary...
11097 lt_tmp_lt_search_path_spec=
11098 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11099 # ...but if some path component already ends with the multilib dir we assume
11100 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11101 case "$lt_multi_os_dir; $lt_search_path_spec " in
11102 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11103 lt_multi_os_dir=
11104 ;;
11105 esac
11106 for lt_sys_path in $lt_search_path_spec; do
11107 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11108 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11109 elif test -n "$lt_multi_os_dir"; then
11110 test -d "$lt_sys_path" && \
11111 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11112 fi
11113 done
11114 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11115 BEGIN {RS = " "; FS = "/|\n";} {
11116 lt_foo = "";
11117 lt_count = 0;
11118 for (lt_i = NF; lt_i > 0; lt_i--) {
11119 if ($lt_i != "" && $lt_i != ".") {
11120 if ($lt_i == "..") {
11121 lt_count++;
11122 } else {
11123 if (lt_count == 0) {
11124 lt_foo = "/" $lt_i lt_foo;
11125 } else {
11126 lt_count--;
11127 }
11128 }
11129 }
11130 }
11131 if (lt_foo != "") { lt_freq[lt_foo]++; }
11132 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11133 }'`
11134 # AWK program above erroneously prepends '/' to C:/dos/paths
11135 # for these hosts.
11136 case $host_os in
11137 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11138 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11139 esac
11140 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11141 else
11142 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11143 fi
11144 library_names_spec=
11145 libname_spec='lib$name'
11146 soname_spec=
11147 shrext_cmds=.so
11148 postinstall_cmds=
11149 postuninstall_cmds=
11150 finish_cmds=
11151 finish_eval=
11152 shlibpath_var=
11153 shlibpath_overrides_runpath=unknown
11154 version_type=none
11155 dynamic_linker="$host_os ld.so"
11156 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11157 need_lib_prefix=unknown
11158 hardcode_into_libs=no
11159
11160 # when you set need_version to no, make sure it does not cause -set_version
11161 # flags to be left without arguments
11162 need_version=unknown
11163
11164
11165
11166 case $host_os in
11167 aix3*)
11168 version_type=linux # correct to gnu/linux during the next big refactor
11169 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11170 shlibpath_var=LIBPATH
11171
11172 # AIX 3 has no versioning support, so we append a major version to the name.
11173 soname_spec='$libname$release$shared_ext$major'
11174 ;;
11175
11176 aix[4-9]*)
11177 version_type=linux # correct to gnu/linux during the next big refactor
11178 need_lib_prefix=no
11179 need_version=no
11180 hardcode_into_libs=yes
11181 if test ia64 = "$host_cpu"; then
11182 # AIX 5 supports IA64
11183 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11184 shlibpath_var=LD_LIBRARY_PATH
11185 else
11186 # With GCC up to 2.95.x, collect2 would create an import file
11187 # for dependence libraries. The import file would start with
11188 # the line '#! .'. This would cause the generated library to
11189 # depend on '.', always an invalid library. This was fixed in
11190 # development snapshots of GCC prior to 3.0.
11191 case $host_os in
11192 aix4 | aix4.[01] | aix4.[01].*)
11193 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11194 echo ' yes '
11195 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11196 :
11197 else
11198 can_build_shared=no
11199 fi
11200 ;;
11201 esac
11202 # Using Import Files as archive members, it is possible to support
11203 # filename-based versioning of shared library archives on AIX. While
11204 # this would work for both with and without runtime linking, it will
11205 # prevent static linking of such archives. So we do filename-based
11206 # shared library versioning with .so extension only, which is used
11207 # when both runtime linking and shared linking is enabled.
11208 # Unfortunately, runtime linking may impact performance, so we do
11209 # not want this to be the default eventually. Also, we use the
11210 # versioned .so libs for executables only if there is the -brtl
11211 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11212 # To allow for filename-based versioning support, we need to create
11213 # libNAME.so.V as an archive file, containing:
11214 # *) an Import File, referring to the versioned filename of the
11215 # archive as well as the shared archive member, telling the
11216 # bitwidth (32 or 64) of that shared object, and providing the
11217 # list of exported symbols of that shared object, eventually
11218 # decorated with the 'weak' keyword
11219 # *) the shared object with the F_LOADONLY flag set, to really avoid
11220 # it being seen by the linker.
11221 # At run time we better use the real file rather than another symlink,
11222 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11223
11224 case $with_aix_soname,$aix_use_runtimelinking in
11225 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11226 # soname into executable. Probably we can add versioning support to
11227 # collect2, so additional links can be useful in future.
11228 aix,yes) # traditional libtool
11229 dynamic_linker='AIX unversionable lib.so'
11230 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11231 # instead of lib<name>.a to let people know that these are not
11232 # typical AIX shared libraries.
11233 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11234 ;;
11235 aix,no) # traditional AIX only
11236 dynamic_linker='AIX lib.a(lib.so.V)'
11237 # We preserve .a as extension for shared libraries through AIX4.2
11238 # and later when we are not doing run time linking.
11239 library_names_spec='$libname$release.a $libname.a'
11240 soname_spec='$libname$release$shared_ext$major'
11241 ;;
11242 svr4,*) # full svr4 only
11243 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11244 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11245 # We do not specify a path in Import Files, so LIBPATH fires.
11246 shlibpath_overrides_runpath=yes
11247 ;;
11248 *,yes) # both, prefer svr4
11249 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11250 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11251 # unpreferred sharedlib libNAME.a needs extra handling
11252 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"'
11253 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"'
11254 # We do not specify a path in Import Files, so LIBPATH fires.
11255 shlibpath_overrides_runpath=yes
11256 ;;
11257 *,no) # both, prefer aix
11258 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11259 library_names_spec='$libname$release.a $libname.a'
11260 soname_spec='$libname$release$shared_ext$major'
11261 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11262 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)'
11263 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"'
11264 ;;
11265 esac
11266 shlibpath_var=LIBPATH
11267 fi
11268 ;;
11269
11270 amigaos*)
11271 case $host_cpu in
11272 powerpc)
11273 # Since July 2007 AmigaOS4 officially supports .so libraries.
11274 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11275 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11276 ;;
11277 m68k)
11278 library_names_spec='$libname.ixlibrary $libname.a'
11279 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11280 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'
11281 ;;
11282 esac
11283 ;;
11284
11285 beos*)
11286 library_names_spec='$libname$shared_ext'
11287 dynamic_linker="$host_os ld.so"
11288 shlibpath_var=LIBRARY_PATH
11289 ;;
11290
11291 bsdi[45]*)
11292 version_type=linux # correct to gnu/linux during the next big refactor
11293 need_version=no
11294 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11295 soname_spec='$libname$release$shared_ext$major'
11296 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11297 shlibpath_var=LD_LIBRARY_PATH
11298 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11299 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11300 # the default ld.so.conf also contains /usr/contrib/lib and
11301 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11302 # libtool to hard-code these into programs
11303 ;;
11304
11305 cygwin* | mingw* | pw32* | cegcc*)
11306 version_type=windows
11307 shrext_cmds=.dll
11308 need_version=no
11309 need_lib_prefix=no
11310
11311 case $GCC,$cc_basename in
11312 yes,*)
11313 # gcc
11314 library_names_spec='$libname.dll.a'
11315 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11316 postinstall_cmds='base_file=`basename \$file`~
11317 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11318 dldir=$destdir/`dirname \$dlpath`~
11319 test -d \$dldir || mkdir -p \$dldir~
11320 $install_prog $dir/$dlname \$dldir/$dlname~
11321 chmod a+x \$dldir/$dlname~
11322 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11323 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11324 fi'
11325 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11326 dlpath=$dir/\$dldll~
11327 $RM \$dlpath'
11328 shlibpath_overrides_runpath=yes
11329
11330 case $host_os in
11331 cygwin*)
11332 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11333 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11334
11335 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11336 ;;
11337 mingw* | cegcc*)
11338 # MinGW DLLs use traditional 'lib' prefix
11339 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11340 ;;
11341 pw32*)
11342 # pw32 DLLs use 'pw' prefix rather than 'lib'
11343 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11344 ;;
11345 esac
11346 dynamic_linker='Win32 ld.exe'
11347 ;;
11348
11349 *,cl*)
11350 # Native MSVC
11351 libname_spec='$name'
11352 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11353 library_names_spec='$libname.dll.lib'
11354
11355 case $build_os in
11356 mingw*)
11357 sys_lib_search_path_spec=
11358 lt_save_ifs=$IFS
11359 IFS=';'
11360 for lt_path in $LIB
11361 do
11362 IFS=$lt_save_ifs
11363 # Let DOS variable expansion print the short 8.3 style file name.
11364 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11365 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11366 done
11367 IFS=$lt_save_ifs
11368 # Convert to MSYS style.
11369 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11370 ;;
11371 cygwin*)
11372 # Convert to unix form, then to dos form, then back to unix form
11373 # but this time dos style (no spaces!) so that the unix form looks
11374 # like /cygdrive/c/PROGRA~1:/cygdr...
11375 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11376 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11377 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11378 ;;
11379 *)
11380 sys_lib_search_path_spec=$LIB
11381 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11382 # It is most probably a Windows format PATH.
11383 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11384 else
11385 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11386 fi
11387 # FIXME: find the short name or the path components, as spaces are
11388 # common. (e.g. "Program Files" -> "PROGRA~1")
11389 ;;
11390 esac
11391
11392 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11393 postinstall_cmds='base_file=`basename \$file`~
11394 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11395 dldir=$destdir/`dirname \$dlpath`~
11396 test -d \$dldir || mkdir -p \$dldir~
11397 $install_prog $dir/$dlname \$dldir/$dlname'
11398 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11399 dlpath=$dir/\$dldll~
11400 $RM \$dlpath'
11401 shlibpath_overrides_runpath=yes
11402 dynamic_linker='Win32 link.exe'
11403 ;;
11404
11405 *)
11406 # Assume MSVC wrapper
11407 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11408 dynamic_linker='Win32 ld.exe'
11409 ;;
11410 esac
11411 # FIXME: first we should search . and the directory the executable is in
11412 shlibpath_var=PATH
11413 ;;
11414
11415 darwin* | rhapsody*)
11416 dynamic_linker="$host_os dyld"
11417 version_type=darwin
11418 need_lib_prefix=no
11419 need_version=no
11420 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11421 soname_spec='$libname$release$major$shared_ext'
11422 shlibpath_overrides_runpath=yes
11423 shlibpath_var=DYLD_LIBRARY_PATH
11424 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11425
11426 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11427 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11428 ;;
11429
11430 dgux*)
11431 version_type=linux # correct to gnu/linux during the next big refactor
11432 need_lib_prefix=no
11433 need_version=no
11434 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11435 soname_spec='$libname$release$shared_ext$major'
11436 shlibpath_var=LD_LIBRARY_PATH
11437 ;;
11438
11439 freebsd* | dragonfly*)
11440 # DragonFly does not have aout. When/if they implement a new
11441 # versioning mechanism, adjust this.
11442 if test -x /usr/bin/objformat; then
11443 objformat=`/usr/bin/objformat`
11444 else
11445 case $host_os in
11446 freebsd[23].*) objformat=aout ;;
11447 *) objformat=elf ;;
11448 esac
11449 fi
11450 version_type=freebsd-$objformat
11451 case $version_type in
11452 freebsd-elf*)
11453 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11454 soname_spec='$libname$release$shared_ext$major'
11455 need_version=no
11456 need_lib_prefix=no
11457 ;;
11458 freebsd-*)
11459 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11460 need_version=yes
11461 ;;
11462 esac
11463 shlibpath_var=LD_LIBRARY_PATH
11464 case $host_os in
11465 freebsd2.*)
11466 shlibpath_overrides_runpath=yes
11467 ;;
11468 freebsd3.[01]* | freebsdelf3.[01]*)
11469 shlibpath_overrides_runpath=yes
11470 hardcode_into_libs=yes
11471 ;;
11472 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11473 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11474 shlibpath_overrides_runpath=no
11475 hardcode_into_libs=yes
11476 ;;
11477 *) # from 4.6 on, and DragonFly
11478 shlibpath_overrides_runpath=yes
11479 hardcode_into_libs=yes
11480 ;;
11481 esac
11482 ;;
11483
11484 haiku*)
11485 version_type=linux # correct to gnu/linux during the next big refactor
11486 need_lib_prefix=no
11487 need_version=no
11488 dynamic_linker="$host_os runtime_loader"
11489 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11490 soname_spec='$libname$release$shared_ext$major'
11491 shlibpath_var=LIBRARY_PATH
11492 shlibpath_overrides_runpath=no
11493 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11494 hardcode_into_libs=yes
11495 ;;
11496
11497 hpux9* | hpux10* | hpux11*)
11498 # Give a soname corresponding to the major version so that dld.sl refuses to
11499 # link against other versions.
11500 version_type=sunos
11501 need_lib_prefix=no
11502 need_version=no
11503 case $host_cpu in
11504 ia64*)
11505 shrext_cmds='.so'
11506 hardcode_into_libs=yes
11507 dynamic_linker="$host_os dld.so"
11508 shlibpath_var=LD_LIBRARY_PATH
11509 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11510 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11511 soname_spec='$libname$release$shared_ext$major'
11512 if test 32 = "$HPUX_IA64_MODE"; then
11513 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11514 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11515 else
11516 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11517 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11518 fi
11519 ;;
11520 hppa*64*)
11521 shrext_cmds='.sl'
11522 hardcode_into_libs=yes
11523 dynamic_linker="$host_os dld.sl"
11524 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11525 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11526 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11527 soname_spec='$libname$release$shared_ext$major'
11528 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11529 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11530 ;;
11531 *)
11532 shrext_cmds='.sl'
11533 dynamic_linker="$host_os dld.sl"
11534 shlibpath_var=SHLIB_PATH
11535 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11536 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11537 soname_spec='$libname$release$shared_ext$major'
11538 ;;
11539 esac
11540 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11541 postinstall_cmds='chmod 555 $lib'
11542 # or fails outright, so override atomically:
11543 install_override_mode=555
11544 ;;
11545
11546 interix[3-9]*)
11547 version_type=linux # correct to gnu/linux during the next big refactor
11548 need_lib_prefix=no
11549 need_version=no
11550 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11551 soname_spec='$libname$release$shared_ext$major'
11552 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11553 shlibpath_var=LD_LIBRARY_PATH
11554 shlibpath_overrides_runpath=no
11555 hardcode_into_libs=yes
11556 ;;
11557
11558 irix5* | irix6* | nonstopux*)
11559 case $host_os in
11560 nonstopux*) version_type=nonstopux ;;
11561 *)
11562 if test yes = "$lt_cv_prog_gnu_ld"; then
11563 version_type=linux # correct to gnu/linux during the next big refactor
11564 else
11565 version_type=irix
11566 fi ;;
11567 esac
11568 need_lib_prefix=no
11569 need_version=no
11570 soname_spec='$libname$release$shared_ext$major'
11571 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11572 case $host_os in
11573 irix5* | nonstopux*)
11574 libsuff= shlibsuff=
11575 ;;
11576 *)
11577 case $LD in # libtool.m4 will add one of these switches to LD
11578 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11579 libsuff= shlibsuff= libmagic=32-bit;;
11580 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11581 libsuff=32 shlibsuff=N32 libmagic=N32;;
11582 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11583 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11584 *) libsuff= shlibsuff= libmagic=never-match;;
11585 esac
11586 ;;
11587 esac
11588 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11589 shlibpath_overrides_runpath=no
11590 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11591 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11592 hardcode_into_libs=yes
11593 ;;
11594
11595 # No shared lib support for Linux oldld, aout, or coff.
11596 linux*oldld* | linux*aout* | linux*coff*)
11597 dynamic_linker=no
11598 ;;
11599
11600 linux*android*)
11601 version_type=none # Android doesn't support versioned libraries.
11602 need_lib_prefix=no
11603 need_version=no
11604 library_names_spec='$libname$release$shared_ext'
11605 soname_spec='$libname$release$shared_ext'
11606 finish_cmds=
11607 shlibpath_var=LD_LIBRARY_PATH
11608 shlibpath_overrides_runpath=yes
11609
11610 # This implies no fast_install, which is unacceptable.
11611 # Some rework will be needed to allow for fast_install
11612 # before this can be enabled.
11613 hardcode_into_libs=yes
11614
11615 dynamic_linker='Android linker'
11616 # Don't embed -rpath directories since the linker doesn't support them.
11617 hardcode_libdir_flag_spec='-L$libdir'
11618 ;;
11619
11620 # This must be glibc/ELF.
11621 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11622 version_type=linux # correct to gnu/linux during the next big refactor
11623 need_lib_prefix=no
11624 need_version=no
11625 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11626 soname_spec='$libname$release$shared_ext$major'
11627 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11628 shlibpath_var=LD_LIBRARY_PATH
11629 shlibpath_overrides_runpath=no
11630
11631 # Some binutils ld are patched to set DT_RUNPATH
11632 if test ${lt_cv_shlibpath_overrides_runpath+y}
11633 then :
11634 printf %s "(cached) " >&6
11635 else $as_nop
11636 lt_cv_shlibpath_overrides_runpath=no
11637 save_LDFLAGS=$LDFLAGS
11638 save_libdir=$libdir
11639 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11640 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11643
11644 int
11645 main (void)
11646 {
11647
11648 ;
11649 return 0;
11650 }
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"
11653 then :
11654 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
11655 then :
11656 lt_cv_shlibpath_overrides_runpath=yes
11657 fi
11658 fi
11659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11660 conftest$ac_exeext conftest.$ac_ext
11661 LDFLAGS=$save_LDFLAGS
11662 libdir=$save_libdir
11663
11664 fi
11665
11666 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11667
11668 # This implies no fast_install, which is unacceptable.
11669 # Some rework will be needed to allow for fast_install
11670 # before this can be enabled.
11671 hardcode_into_libs=yes
11672
11673 # Ideally, we could use ldconfig to report *all* directores which are
11674 # searched for libraries, however this is still not possible. Aside from not
11675 # being certain /sbin/ldconfig is available, command
11676 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11677 # even though it is searched at run-time. Try to do the best guess by
11678 # appending ld.so.conf contents (and includes) to the search path.
11679 if test -f /etc/ld.so.conf; then
11680 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' ' '`
11681 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11682 fi
11683
11684 # We used to test for /lib/ld.so.1 and disable shared libraries on
11685 # powerpc, because MkLinux only supported shared libraries with the
11686 # GNU dynamic linker. Since this was broken with cross compilers,
11687 # most powerpc-linux boxes support dynamic linking these days and
11688 # people can always --disable-shared, the test was removed, and we
11689 # assume the GNU/Linux dynamic linker is in use.
11690 dynamic_linker='GNU/Linux ld.so'
11691 ;;
11692
11693 netbsdelf*-gnu)
11694 version_type=linux
11695 need_lib_prefix=no
11696 need_version=no
11697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11698 soname_spec='${libname}${release}${shared_ext}$major'
11699 shlibpath_var=LD_LIBRARY_PATH
11700 shlibpath_overrides_runpath=no
11701 hardcode_into_libs=yes
11702 dynamic_linker='NetBSD ld.elf_so'
11703 ;;
11704
11705 netbsd*)
11706 version_type=sunos
11707 need_lib_prefix=no
11708 need_version=no
11709 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11710 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11711 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11712 dynamic_linker='NetBSD (a.out) ld.so'
11713 else
11714 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11715 soname_spec='$libname$release$shared_ext$major'
11716 dynamic_linker='NetBSD ld.elf_so'
11717 fi
11718 shlibpath_var=LD_LIBRARY_PATH
11719 shlibpath_overrides_runpath=yes
11720 hardcode_into_libs=yes
11721 ;;
11722
11723 newsos6)
11724 version_type=linux # correct to gnu/linux during the next big refactor
11725 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=yes
11728 ;;
11729
11730 *nto* | *qnx*)
11731 version_type=qnx
11732 need_lib_prefix=no
11733 need_version=no
11734 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11735 soname_spec='$libname$release$shared_ext$major'
11736 shlibpath_var=LD_LIBRARY_PATH
11737 shlibpath_overrides_runpath=no
11738 hardcode_into_libs=yes
11739 dynamic_linker='ldqnx.so'
11740 ;;
11741
11742 openbsd* | bitrig*)
11743 version_type=sunos
11744 sys_lib_dlsearch_path_spec=/usr/lib
11745 need_lib_prefix=no
11746 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11747 need_version=no
11748 else
11749 need_version=yes
11750 fi
11751 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11752 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11753 shlibpath_var=LD_LIBRARY_PATH
11754 shlibpath_overrides_runpath=yes
11755 ;;
11756
11757 os2*)
11758 libname_spec='$name'
11759 version_type=windows
11760 shrext_cmds=.dll
11761 need_version=no
11762 need_lib_prefix=no
11763 # OS/2 can only load a DLL with a base name of 8 characters or less.
11764 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11765 v=$($ECHO $release$versuffix | tr -d .-);
11766 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11767 $ECHO $n$v`$shared_ext'
11768 library_names_spec='${libname}_dll.$libext'
11769 dynamic_linker='OS/2 ld.exe'
11770 shlibpath_var=BEGINLIBPATH
11771 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11772 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11773 postinstall_cmds='base_file=`basename \$file`~
11774 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11775 dldir=$destdir/`dirname \$dlpath`~
11776 test -d \$dldir || mkdir -p \$dldir~
11777 $install_prog $dir/$dlname \$dldir/$dlname~
11778 chmod a+x \$dldir/$dlname~
11779 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11780 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11781 fi'
11782 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11783 dlpath=$dir/\$dldll~
11784 $RM \$dlpath'
11785 ;;
11786
11787 osf3* | osf4* | osf5*)
11788 version_type=osf
11789 need_lib_prefix=no
11790 need_version=no
11791 soname_spec='$libname$release$shared_ext$major'
11792 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11793 shlibpath_var=LD_LIBRARY_PATH
11794 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11795 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11796 ;;
11797
11798 rdos*)
11799 dynamic_linker=no
11800 ;;
11801
11802 solaris*)
11803 version_type=linux # correct to gnu/linux during the next big refactor
11804 need_lib_prefix=no
11805 need_version=no
11806 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11807 soname_spec='$libname$release$shared_ext$major'
11808 shlibpath_var=LD_LIBRARY_PATH
11809 shlibpath_overrides_runpath=yes
11810 hardcode_into_libs=yes
11811 # ldd complains unless libraries are executable
11812 postinstall_cmds='chmod +x $lib'
11813 ;;
11814
11815 sunos4*)
11816 version_type=sunos
11817 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11818 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11819 shlibpath_var=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath=yes
11821 if test yes = "$with_gnu_ld"; then
11822 need_lib_prefix=no
11823 fi
11824 need_version=yes
11825 ;;
11826
11827 sysv4 | sysv4.3*)
11828 version_type=linux # correct to gnu/linux during the next big refactor
11829 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11830 soname_spec='$libname$release$shared_ext$major'
11831 shlibpath_var=LD_LIBRARY_PATH
11832 case $host_vendor in
11833 sni)
11834 shlibpath_overrides_runpath=no
11835 need_lib_prefix=no
11836 runpath_var=LD_RUN_PATH
11837 ;;
11838 siemens)
11839 need_lib_prefix=no
11840 ;;
11841 motorola)
11842 need_lib_prefix=no
11843 need_version=no
11844 shlibpath_overrides_runpath=no
11845 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11846 ;;
11847 esac
11848 ;;
11849
11850 sysv4*MP*)
11851 if test -d /usr/nec; then
11852 version_type=linux # correct to gnu/linux during the next big refactor
11853 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11854 soname_spec='$libname$shared_ext.$major'
11855 shlibpath_var=LD_LIBRARY_PATH
11856 fi
11857 ;;
11858
11859 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11860 version_type=sco
11861 need_lib_prefix=no
11862 need_version=no
11863 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11864 soname_spec='$libname$release$shared_ext$major'
11865 shlibpath_var=LD_LIBRARY_PATH
11866 shlibpath_overrides_runpath=yes
11867 hardcode_into_libs=yes
11868 if test yes = "$with_gnu_ld"; then
11869 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11870 else
11871 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11872 case $host_os in
11873 sco3.2v5*)
11874 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11875 ;;
11876 esac
11877 fi
11878 sys_lib_dlsearch_path_spec='/usr/lib'
11879 ;;
11880
11881 tpf*)
11882 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11883 version_type=linux # correct to gnu/linux during the next big refactor
11884 need_lib_prefix=no
11885 need_version=no
11886 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11887 shlibpath_var=LD_LIBRARY_PATH
11888 shlibpath_overrides_runpath=no
11889 hardcode_into_libs=yes
11890 ;;
11891
11892 uts4*)
11893 version_type=linux # correct to gnu/linux during the next big refactor
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 shlibpath_var=LD_LIBRARY_PATH
11897 ;;
11898
11899 *)
11900 dynamic_linker=no
11901 ;;
11902 esac
11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11904 printf "%s\n" "$dynamic_linker" >&6; }
11905 test no = "$dynamic_linker" && can_build_shared=no
11906
11907 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11908 if test yes = "$GCC"; then
11909 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11910 fi
11911
11912 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11913 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11914 fi
11915
11916 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11917 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11918 fi
11919
11920 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11921 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11922
11923 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11924 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11925
11926 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11927 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12026 printf %s "checking how to hardcode library paths into programs... " >&6; }
12027 hardcode_action=
12028 if test -n "$hardcode_libdir_flag_spec" ||
12029 test -n "$runpath_var" ||
12030 test yes = "$hardcode_automatic"; then
12031
12032 # We can hardcode non-existent directories.
12033 if test no != "$hardcode_direct" &&
12034 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12035 # have to relink, otherwise we might link with an installed library
12036 # when we should be linking with a yet-to-be-installed one
12037 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12038 test no != "$hardcode_minus_L"; then
12039 # Linking always hardcodes the temporary library directory.
12040 hardcode_action=relink
12041 else
12042 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12043 hardcode_action=immediate
12044 fi
12045 else
12046 # We cannot hardcode anything, or else we can only hardcode existing
12047 # directories.
12048 hardcode_action=unsupported
12049 fi
12050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12051 printf "%s\n" "$hardcode_action" >&6; }
12052
12053 if test relink = "$hardcode_action" ||
12054 test yes = "$inherit_rpath"; then
12055 # Fast installation is not supported
12056 enable_fast_install=no
12057 elif test yes = "$shlibpath_overrides_runpath" ||
12058 test no = "$enable_shared"; then
12059 # Fast installation is not necessary
12060 enable_fast_install=needless
12061 fi
12062
12063
12064
12065
12066
12067
12068 if test yes != "$enable_dlopen"; then
12069 enable_dlopen=unknown
12070 enable_dlopen_self=unknown
12071 enable_dlopen_self_static=unknown
12072 else
12073 lt_cv_dlopen=no
12074 lt_cv_dlopen_libs=
12075
12076 case $host_os in
12077 beos*)
12078 lt_cv_dlopen=load_add_on
12079 lt_cv_dlopen_libs=
12080 lt_cv_dlopen_self=yes
12081 ;;
12082
12083 mingw* | pw32* | cegcc*)
12084 lt_cv_dlopen=LoadLibrary
12085 lt_cv_dlopen_libs=
12086 ;;
12087
12088 cygwin*)
12089 lt_cv_dlopen=dlopen
12090 lt_cv_dlopen_libs=
12091 ;;
12092
12093 darwin*)
12094 # if libdl is installed we need to link against it
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12096 printf %s "checking for dlopen in -ldl... " >&6; }
12097 if test ${ac_cv_lib_dl_dlopen+y}
12098 then :
12099 printf %s "(cached) " >&6
12100 else $as_nop
12101 ac_check_lib_save_LIBS=$LIBS
12102 LIBS="-ldl $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12105
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 char dlopen ();
12110 int
12111 main (void)
12112 {
12113 return dlopen ();
12114 ;
12115 return 0;
12116 }
12117 _ACEOF
12118 if ac_fn_c_try_link "$LINENO"
12119 then :
12120 ac_cv_lib_dl_dlopen=yes
12121 else $as_nop
12122 ac_cv_lib_dl_dlopen=no
12123 fi
12124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12125 conftest$ac_exeext conftest.$ac_ext
12126 LIBS=$ac_check_lib_save_LIBS
12127 fi
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12129 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12130 if test "x$ac_cv_lib_dl_dlopen" = xyes
12131 then :
12132 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12133 else $as_nop
12134
12135 lt_cv_dlopen=dyld
12136 lt_cv_dlopen_libs=
12137 lt_cv_dlopen_self=yes
12138
12139 fi
12140
12141 ;;
12142
12143 tpf*)
12144 # Don't try to run any link tests for TPF. We know it's impossible
12145 # because TPF is a cross-compiler, and we know how we open DSOs.
12146 lt_cv_dlopen=dlopen
12147 lt_cv_dlopen_libs=
12148 lt_cv_dlopen_self=no
12149 ;;
12150
12151 *)
12152 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12153 if test "x$ac_cv_func_shl_load" = xyes
12154 then :
12155 lt_cv_dlopen=shl_load
12156 else $as_nop
12157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12158 printf %s "checking for shl_load in -ldld... " >&6; }
12159 if test ${ac_cv_lib_dld_shl_load+y}
12160 then :
12161 printf %s "(cached) " >&6
12162 else $as_nop
12163 ac_check_lib_save_LIBS=$LIBS
12164 LIBS="-ldld $LIBS"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12167
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12171 char shl_load ();
12172 int
12173 main (void)
12174 {
12175 return shl_load ();
12176 ;
12177 return 0;
12178 }
12179 _ACEOF
12180 if ac_fn_c_try_link "$LINENO"
12181 then :
12182 ac_cv_lib_dld_shl_load=yes
12183 else $as_nop
12184 ac_cv_lib_dld_shl_load=no
12185 fi
12186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12187 conftest$ac_exeext conftest.$ac_ext
12188 LIBS=$ac_check_lib_save_LIBS
12189 fi
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12191 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12192 if test "x$ac_cv_lib_dld_shl_load" = xyes
12193 then :
12194 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12195 else $as_nop
12196 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12197 if test "x$ac_cv_func_dlopen" = xyes
12198 then :
12199 lt_cv_dlopen=dlopen
12200 else $as_nop
12201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12202 printf %s "checking for dlopen in -ldl... " >&6; }
12203 if test ${ac_cv_lib_dl_dlopen+y}
12204 then :
12205 printf %s "(cached) " >&6
12206 else $as_nop
12207 ac_check_lib_save_LIBS=$LIBS
12208 LIBS="-ldl $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12211
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12215 char dlopen ();
12216 int
12217 main (void)
12218 {
12219 return dlopen ();
12220 ;
12221 return 0;
12222 }
12223 _ACEOF
12224 if ac_fn_c_try_link "$LINENO"
12225 then :
12226 ac_cv_lib_dl_dlopen=yes
12227 else $as_nop
12228 ac_cv_lib_dl_dlopen=no
12229 fi
12230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12231 conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_lib_save_LIBS
12233 fi
12234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12235 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12236 if test "x$ac_cv_lib_dl_dlopen" = xyes
12237 then :
12238 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12239 else $as_nop
12240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12241 printf %s "checking for dlopen in -lsvld... " >&6; }
12242 if test ${ac_cv_lib_svld_dlopen+y}
12243 then :
12244 printf %s "(cached) " >&6
12245 else $as_nop
12246 ac_check_lib_save_LIBS=$LIBS
12247 LIBS="-lsvld $LIBS"
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12250
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12254 char dlopen ();
12255 int
12256 main (void)
12257 {
12258 return dlopen ();
12259 ;
12260 return 0;
12261 }
12262 _ACEOF
12263 if ac_fn_c_try_link "$LINENO"
12264 then :
12265 ac_cv_lib_svld_dlopen=yes
12266 else $as_nop
12267 ac_cv_lib_svld_dlopen=no
12268 fi
12269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12272 fi
12273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12274 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12275 if test "x$ac_cv_lib_svld_dlopen" = xyes
12276 then :
12277 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12278 else $as_nop
12279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12280 printf %s "checking for dld_link in -ldld... " >&6; }
12281 if test ${ac_cv_lib_dld_dld_link+y}
12282 then :
12283 printf %s "(cached) " >&6
12284 else $as_nop
12285 ac_check_lib_save_LIBS=$LIBS
12286 LIBS="-ldld $LIBS"
12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288 /* end confdefs.h. */
12289
12290 /* Override any GCC internal prototype to avoid an error.
12291 Use char because int might match the return type of a GCC
12292 builtin and then its argument prototype would still apply. */
12293 char dld_link ();
12294 int
12295 main (void)
12296 {
12297 return dld_link ();
12298 ;
12299 return 0;
12300 }
12301 _ACEOF
12302 if ac_fn_c_try_link "$LINENO"
12303 then :
12304 ac_cv_lib_dld_dld_link=yes
12305 else $as_nop
12306 ac_cv_lib_dld_dld_link=no
12307 fi
12308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12309 conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12311 fi
12312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12313 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12314 if test "x$ac_cv_lib_dld_dld_link" = xyes
12315 then :
12316 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12317 fi
12318
12319
12320 fi
12321
12322
12323 fi
12324
12325
12326 fi
12327
12328
12329 fi
12330
12331
12332 fi
12333
12334 ;;
12335 esac
12336
12337 if test no = "$lt_cv_dlopen"; then
12338 enable_dlopen=no
12339 else
12340 enable_dlopen=yes
12341 fi
12342
12343 case $lt_cv_dlopen in
12344 dlopen)
12345 save_CPPFLAGS=$CPPFLAGS
12346 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12347
12348 save_LDFLAGS=$LDFLAGS
12349 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12350
12351 save_LIBS=$LIBS
12352 LIBS="$lt_cv_dlopen_libs $LIBS"
12353
12354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12355 printf %s "checking whether a program can dlopen itself... " >&6; }
12356 if test ${lt_cv_dlopen_self+y}
12357 then :
12358 printf %s "(cached) " >&6
12359 else $as_nop
12360 if test yes = "$cross_compiling"; then :
12361 lt_cv_dlopen_self=cross
12362 else
12363 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12364 lt_status=$lt_dlunknown
12365 cat > conftest.$ac_ext <<_LT_EOF
12366 #line $LINENO "configure"
12367 #include "confdefs.h"
12368
12369 #if HAVE_DLFCN_H
12370 #include <dlfcn.h>
12371 #endif
12372
12373 #include <stdio.h>
12374
12375 #ifdef RTLD_GLOBAL
12376 # define LT_DLGLOBAL RTLD_GLOBAL
12377 #else
12378 # ifdef DL_GLOBAL
12379 # define LT_DLGLOBAL DL_GLOBAL
12380 # else
12381 # define LT_DLGLOBAL 0
12382 # endif
12383 #endif
12384
12385 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12386 find out it does not work in some platform. */
12387 #ifndef LT_DLLAZY_OR_NOW
12388 # ifdef RTLD_LAZY
12389 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12390 # else
12391 # ifdef DL_LAZY
12392 # define LT_DLLAZY_OR_NOW DL_LAZY
12393 # else
12394 # ifdef RTLD_NOW
12395 # define LT_DLLAZY_OR_NOW RTLD_NOW
12396 # else
12397 # ifdef DL_NOW
12398 # define LT_DLLAZY_OR_NOW DL_NOW
12399 # else
12400 # define LT_DLLAZY_OR_NOW 0
12401 # endif
12402 # endif
12403 # endif
12404 # endif
12405 #endif
12406
12407 /* When -fvisibility=hidden is used, assume the code has been annotated
12408 correspondingly for the symbols needed. */
12409 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12410 int fnord () __attribute__((visibility("default")));
12411 #endif
12412
12413 int fnord () { return 42; }
12414 int main ()
12415 {
12416 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12417 int status = $lt_dlunknown;
12418
12419 if (self)
12420 {
12421 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12422 else
12423 {
12424 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12425 else puts (dlerror ());
12426 }
12427 /* dlclose (self); */
12428 }
12429 else
12430 puts (dlerror ());
12431
12432 return status;
12433 }
12434 _LT_EOF
12435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12436 (eval $ac_link) 2>&5
12437 ac_status=$?
12438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12439 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12440 (./conftest; exit; ) >&5 2>/dev/null
12441 lt_status=$?
12442 case x$lt_status in
12443 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12444 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12445 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12446 esac
12447 else :
12448 # compilation failed
12449 lt_cv_dlopen_self=no
12450 fi
12451 fi
12452 rm -fr conftest*
12453
12454
12455 fi
12456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12457 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
12458
12459 if test yes = "$lt_cv_dlopen_self"; then
12460 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12462 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
12463 if test ${lt_cv_dlopen_self_static+y}
12464 then :
12465 printf %s "(cached) " >&6
12466 else $as_nop
12467 if test yes = "$cross_compiling"; then :
12468 lt_cv_dlopen_self_static=cross
12469 else
12470 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12471 lt_status=$lt_dlunknown
12472 cat > conftest.$ac_ext <<_LT_EOF
12473 #line $LINENO "configure"
12474 #include "confdefs.h"
12475
12476 #if HAVE_DLFCN_H
12477 #include <dlfcn.h>
12478 #endif
12479
12480 #include <stdio.h>
12481
12482 #ifdef RTLD_GLOBAL
12483 # define LT_DLGLOBAL RTLD_GLOBAL
12484 #else
12485 # ifdef DL_GLOBAL
12486 # define LT_DLGLOBAL DL_GLOBAL
12487 # else
12488 # define LT_DLGLOBAL 0
12489 # endif
12490 #endif
12491
12492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12493 find out it does not work in some platform. */
12494 #ifndef LT_DLLAZY_OR_NOW
12495 # ifdef RTLD_LAZY
12496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12497 # else
12498 # ifdef DL_LAZY
12499 # define LT_DLLAZY_OR_NOW DL_LAZY
12500 # else
12501 # ifdef RTLD_NOW
12502 # define LT_DLLAZY_OR_NOW RTLD_NOW
12503 # else
12504 # ifdef DL_NOW
12505 # define LT_DLLAZY_OR_NOW DL_NOW
12506 # else
12507 # define LT_DLLAZY_OR_NOW 0
12508 # endif
12509 # endif
12510 # endif
12511 # endif
12512 #endif
12513
12514 /* When -fvisibility=hidden is used, assume the code has been annotated
12515 correspondingly for the symbols needed. */
12516 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12517 int fnord () __attribute__((visibility("default")));
12518 #endif
12519
12520 int fnord () { return 42; }
12521 int main ()
12522 {
12523 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12524 int status = $lt_dlunknown;
12525
12526 if (self)
12527 {
12528 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12529 else
12530 {
12531 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12532 else puts (dlerror ());
12533 }
12534 /* dlclose (self); */
12535 }
12536 else
12537 puts (dlerror ());
12538
12539 return status;
12540 }
12541 _LT_EOF
12542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12543 (eval $ac_link) 2>&5
12544 ac_status=$?
12545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12547 (./conftest; exit; ) >&5 2>/dev/null
12548 lt_status=$?
12549 case x$lt_status in
12550 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12551 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12552 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12553 esac
12554 else :
12555 # compilation failed
12556 lt_cv_dlopen_self_static=no
12557 fi
12558 fi
12559 rm -fr conftest*
12560
12561
12562 fi
12563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12564 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
12565 fi
12566
12567 CPPFLAGS=$save_CPPFLAGS
12568 LDFLAGS=$save_LDFLAGS
12569 LIBS=$save_LIBS
12570 ;;
12571 esac
12572
12573 case $lt_cv_dlopen_self in
12574 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12575 *) enable_dlopen_self=unknown ;;
12576 esac
12577
12578 case $lt_cv_dlopen_self_static in
12579 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12580 *) enable_dlopen_self_static=unknown ;;
12581 esac
12582 fi
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600 striplib=
12601 old_striplib=
12602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12603 printf %s "checking whether stripping libraries is possible... " >&6; }
12604 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12605 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12606 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12608 printf "%s\n" "yes" >&6; }
12609 else
12610 # FIXME - insert some real tests, host_os isn't really good enough
12611 case $host_os in
12612 darwin*)
12613 if test -n "$STRIP"; then
12614 striplib="$STRIP -x"
12615 old_striplib="$STRIP -S"
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12617 printf "%s\n" "yes" >&6; }
12618 else
12619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12620 printf "%s\n" "no" >&6; }
12621 fi
12622 ;;
12623 *)
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 printf "%s\n" "no" >&6; }
12626 ;;
12627 esac
12628 fi
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641 # Report what library types will actually be built
12642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12643 printf %s "checking if libtool supports shared libraries... " >&6; }
12644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12645 printf "%s\n" "$can_build_shared" >&6; }
12646
12647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12648 printf %s "checking whether to build shared libraries... " >&6; }
12649 test no = "$can_build_shared" && enable_shared=no
12650
12651 # On AIX, shared libraries and static libraries use the same namespace, and
12652 # are all built from PIC.
12653 case $host_os in
12654 aix3*)
12655 test yes = "$enable_shared" && enable_static=no
12656 if test -n "$RANLIB"; then
12657 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12658 postinstall_cmds='$RANLIB $lib'
12659 fi
12660 ;;
12661
12662 aix[4-9]*)
12663 if test ia64 != "$host_cpu"; then
12664 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12665 yes,aix,yes) ;; # shared object as lib.so file only
12666 yes,svr4,*) ;; # shared object as lib.so archive member only
12667 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12668 esac
12669 fi
12670 ;;
12671 esac
12672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12673 printf "%s\n" "$enable_shared" >&6; }
12674
12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12676 printf %s "checking whether to build static libraries... " >&6; }
12677 # Make sure either enable_shared or enable_static is yes.
12678 test yes = "$enable_shared" || enable_static=yes
12679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12680 printf "%s\n" "$enable_static" >&6; }
12681
12682
12683
12684
12685 fi
12686 ac_ext=c
12687 ac_cpp='$CPP $CPPFLAGS'
12688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12691
12692 CC=$lt_save_CC
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708 ac_config_commands="$ac_config_commands libtool"
12709
12710
12711
12712
12713 # Only expand once:
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12724 if test -n "$ac_tool_prefix"; then
12725 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12726 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12728 printf %s "checking for $ac_word... " >&6; }
12729 if test ${ac_cv_path_PKG_CONFIG+y}
12730 then :
12731 printf %s "(cached) " >&6
12732 else $as_nop
12733 case $PKG_CONFIG in
12734 [\\/]* | ?:[\\/]*)
12735 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12736 ;;
12737 *)
12738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12739 for as_dir in $PATH
12740 do
12741 IFS=$as_save_IFS
12742 case $as_dir in #(((
12743 '') as_dir=./ ;;
12744 */) ;;
12745 *) as_dir=$as_dir/ ;;
12746 esac
12747 for ac_exec_ext in '' $ac_executable_extensions; do
12748 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12749 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
12750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12751 break 2
12752 fi
12753 done
12754 done
12755 IFS=$as_save_IFS
12756
12757 ;;
12758 esac
12759 fi
12760 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12761 if test -n "$PKG_CONFIG"; then
12762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12763 printf "%s\n" "$PKG_CONFIG" >&6; }
12764 else
12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12766 printf "%s\n" "no" >&6; }
12767 fi
12768
12769
12770 fi
12771 if test -z "$ac_cv_path_PKG_CONFIG"; then
12772 ac_pt_PKG_CONFIG=$PKG_CONFIG
12773 # Extract the first word of "pkg-config", so it can be a program name with args.
12774 set dummy pkg-config; ac_word=$2
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12776 printf %s "checking for $ac_word... " >&6; }
12777 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
12778 then :
12779 printf %s "(cached) " >&6
12780 else $as_nop
12781 case $ac_pt_PKG_CONFIG in
12782 [\\/]* | ?:[\\/]*)
12783 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12784 ;;
12785 *)
12786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12787 for as_dir in $PATH
12788 do
12789 IFS=$as_save_IFS
12790 case $as_dir in #(((
12791 '') as_dir=./ ;;
12792 */) ;;
12793 *) as_dir=$as_dir/ ;;
12794 esac
12795 for ac_exec_ext in '' $ac_executable_extensions; do
12796 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12797 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
12798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12799 break 2
12800 fi
12801 done
12802 done
12803 IFS=$as_save_IFS
12804
12805 ;;
12806 esac
12807 fi
12808 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12809 if test -n "$ac_pt_PKG_CONFIG"; then
12810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12811 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
12812 else
12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12814 printf "%s\n" "no" >&6; }
12815 fi
12816
12817 if test "x$ac_pt_PKG_CONFIG" = x; then
12818 PKG_CONFIG=""
12819 else
12820 case $cross_compiling:$ac_tool_warned in
12821 yes:)
12822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12823 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12824 ac_tool_warned=yes ;;
12825 esac
12826 PKG_CONFIG=$ac_pt_PKG_CONFIG
12827 fi
12828 else
12829 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12830 fi
12831
12832 fi
12833 if test -n "$PKG_CONFIG"; then
12834 _pkg_min_version=0.9.0
12835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12836 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12837 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12839 printf "%s\n" "yes" >&6; }
12840 else
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12842 printf "%s\n" "no" >&6; }
12843 PKG_CONFIG=""
12844 fi
12845 fi
12846
12847
12848
12849 GETTEXT_PACKAGE="blueman"
12850
12851
12852 printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h
12853
12854
12855
12856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12857 printf %s "checking whether NLS is requested... " >&6; }
12858 # Check whether --enable-nls was given.
12859 if test ${enable_nls+y}
12860 then :
12861 enableval=$enable_nls; USE_NLS=$enableval
12862 else $as_nop
12863 USE_NLS=yes
12864 fi
12865
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12867 printf "%s\n" "$USE_NLS" >&6; }
12868
12869
12870
12871
12872 GETTEXT_MACRO_VERSION=0.19
12873
12874
12875
12876
12877 # Prepare PATH_SEPARATOR.
12878 # The user is always right.
12879 if test "${PATH_SEPARATOR+set}" != set; then
12880 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
12881 # contains only /bin. Note that ksh looks also at the FPATH variable,
12882 # so we have to set that as well for the test.
12883 PATH_SEPARATOR=:
12884 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
12885 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
12886 || PATH_SEPARATOR=';'
12887 }
12888 fi
12889
12890 # Find out how to test for executable files. Don't use a zero-byte file,
12891 # as systems may use methods other than mode bits to determine executability.
12892 cat >conf$$.file <<_ASEOF
12893 #! /bin/sh
12894 exit 0
12895 _ASEOF
12896 chmod +x conf$$.file
12897 if test -x conf$$.file >/dev/null 2>&1; then
12898 ac_executable_p="test -x"
12899 else
12900 ac_executable_p="test -f"
12901 fi
12902 rm -f conf$$.file
12903
12904 # Extract the first word of "msgfmt", so it can be a program name with args.
12905 set dummy msgfmt; ac_word=$2
12906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12907 printf %s "checking for $ac_word... " >&6; }
12908 if test ${ac_cv_path_MSGFMT+y}
12909 then :
12910 printf %s "(cached) " >&6
12911 else $as_nop
12912 case "$MSGFMT" in
12913 [\\/]* | ?:[\\/]*)
12914 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12915 ;;
12916 *)
12917 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12918 for ac_dir in $PATH; do
12919 IFS="$ac_save_IFS"
12920 test -z "$ac_dir" && ac_dir=.
12921 for ac_exec_ext in '' $ac_executable_extensions; do
12922 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12923 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12924 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12925 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12926 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12927 break 2
12928 fi
12929 fi
12930 done
12931 done
12932 IFS="$ac_save_IFS"
12933 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12934 ;;
12935 esac
12936 fi
12937 MSGFMT="$ac_cv_path_MSGFMT"
12938 if test "$MSGFMT" != ":"; then
12939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12940 printf "%s\n" "$MSGFMT" >&6; }
12941 else
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943 printf "%s\n" "no" >&6; }
12944 fi
12945
12946 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12947 set dummy gmsgfmt; ac_word=$2
12948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12949 printf %s "checking for $ac_word... " >&6; }
12950 if test ${ac_cv_path_GMSGFMT+y}
12951 then :
12952 printf %s "(cached) " >&6
12953 else $as_nop
12954 case $GMSGFMT in
12955 [\\/]* | ?:[\\/]*)
12956 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12957 ;;
12958 *)
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12961 do
12962 IFS=$as_save_IFS
12963 case $as_dir in #(((
12964 '') as_dir=./ ;;
12965 */) ;;
12966 *) as_dir=$as_dir/ ;;
12967 esac
12968 for ac_exec_ext in '' $ac_executable_extensions; do
12969 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12970 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
12971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12972 break 2
12973 fi
12974 done
12975 done
12976 IFS=$as_save_IFS
12977
12978 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12979 ;;
12980 esac
12981 fi
12982 GMSGFMT=$ac_cv_path_GMSGFMT
12983 if test -n "$GMSGFMT"; then
12984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12985 printf "%s\n" "$GMSGFMT" >&6; }
12986 else
12987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12988 printf "%s\n" "no" >&6; }
12989 fi
12990
12991
12992
12993 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12994 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12995 *) MSGFMT_015=$MSGFMT ;;
12996 esac
12997
12998 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12999 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13000 *) GMSGFMT_015=$GMSGFMT ;;
13001 esac
13002
13003
13004
13005 # Prepare PATH_SEPARATOR.
13006 # The user is always right.
13007 if test "${PATH_SEPARATOR+set}" != set; then
13008 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13009 # contains only /bin. Note that ksh looks also at the FPATH variable,
13010 # so we have to set that as well for the test.
13011 PATH_SEPARATOR=:
13012 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13013 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13014 || PATH_SEPARATOR=';'
13015 }
13016 fi
13017
13018 # Find out how to test for executable files. Don't use a zero-byte file,
13019 # as systems may use methods other than mode bits to determine executability.
13020 cat >conf$$.file <<_ASEOF
13021 #! /bin/sh
13022 exit 0
13023 _ASEOF
13024 chmod +x conf$$.file
13025 if test -x conf$$.file >/dev/null 2>&1; then
13026 ac_executable_p="test -x"
13027 else
13028 ac_executable_p="test -f"
13029 fi
13030 rm -f conf$$.file
13031
13032 # Extract the first word of "xgettext", so it can be a program name with args.
13033 set dummy xgettext; ac_word=$2
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13035 printf %s "checking for $ac_word... " >&6; }
13036 if test ${ac_cv_path_XGETTEXT+y}
13037 then :
13038 printf %s "(cached) " >&6
13039 else $as_nop
13040 case "$XGETTEXT" in
13041 [\\/]* | ?:[\\/]*)
13042 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13043 ;;
13044 *)
13045 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13046 for ac_dir in $PATH; do
13047 IFS="$ac_save_IFS"
13048 test -z "$ac_dir" && ac_dir=.
13049 for ac_exec_ext in '' $ac_executable_extensions; do
13050 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13051 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13052 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13053 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13054 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13055 break 2
13056 fi
13057 fi
13058 done
13059 done
13060 IFS="$ac_save_IFS"
13061 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13062 ;;
13063 esac
13064 fi
13065 XGETTEXT="$ac_cv_path_XGETTEXT"
13066 if test "$XGETTEXT" != ":"; then
13067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13068 printf "%s\n" "$XGETTEXT" >&6; }
13069 else
13070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13071 printf "%s\n" "no" >&6; }
13072 fi
13073
13074 rm -f messages.po
13075
13076 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13077 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13078 *) XGETTEXT_015=$XGETTEXT ;;
13079 esac
13080
13081
13082
13083 # Prepare PATH_SEPARATOR.
13084 # The user is always right.
13085 if test "${PATH_SEPARATOR+set}" != set; then
13086 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13087 # contains only /bin. Note that ksh looks also at the FPATH variable,
13088 # so we have to set that as well for the test.
13089 PATH_SEPARATOR=:
13090 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13091 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13092 || PATH_SEPARATOR=';'
13093 }
13094 fi
13095
13096 # Find out how to test for executable files. Don't use a zero-byte file,
13097 # as systems may use methods other than mode bits to determine executability.
13098 cat >conf$$.file <<_ASEOF
13099 #! /bin/sh
13100 exit 0
13101 _ASEOF
13102 chmod +x conf$$.file
13103 if test -x conf$$.file >/dev/null 2>&1; then
13104 ac_executable_p="test -x"
13105 else
13106 ac_executable_p="test -f"
13107 fi
13108 rm -f conf$$.file
13109
13110 # Extract the first word of "msgmerge", so it can be a program name with args.
13111 set dummy msgmerge; ac_word=$2
13112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113 printf %s "checking for $ac_word... " >&6; }
13114 if test ${ac_cv_path_MSGMERGE+y}
13115 then :
13116 printf %s "(cached) " >&6
13117 else $as_nop
13118 case "$MSGMERGE" in
13119 [\\/]* | ?:[\\/]*)
13120 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13121 ;;
13122 *)
13123 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13124 for ac_dir in $PATH; do
13125 IFS="$ac_save_IFS"
13126 test -z "$ac_dir" && ac_dir=.
13127 for ac_exec_ext in '' $ac_executable_extensions; do
13128 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13129 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13130 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13131 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13132 break 2
13133 fi
13134 fi
13135 done
13136 done
13137 IFS="$ac_save_IFS"
13138 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13139 ;;
13140 esac
13141 fi
13142 MSGMERGE="$ac_cv_path_MSGMERGE"
13143 if test "$MSGMERGE" != ":"; then
13144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13145 printf "%s\n" "$MSGMERGE" >&6; }
13146 else
13147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13148 printf "%s\n" "no" >&6; }
13149 fi
13150
13151
13152 test -n "$localedir" || localedir='${datadir}/locale'
13153
13154
13155 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13156
13157
13158 ac_config_commands="$ac_config_commands po-directories"
13159
13160
13161
13162 if test "X$prefix" = "XNONE"; then
13163 acl_final_prefix="$ac_default_prefix"
13164 else
13165 acl_final_prefix="$prefix"
13166 fi
13167 if test "X$exec_prefix" = "XNONE"; then
13168 acl_final_exec_prefix='${prefix}'
13169 else
13170 acl_final_exec_prefix="$exec_prefix"
13171 fi
13172 acl_save_prefix="$prefix"
13173 prefix="$acl_final_prefix"
13174 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13175 prefix="$acl_save_prefix"
13176
13177
13178
13179 # Check whether --with-gnu-ld was given.
13180 if test ${with_gnu_ld+y}
13181 then :
13182 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13183 else $as_nop
13184 with_gnu_ld=no
13185 fi
13186
13187 # Prepare PATH_SEPARATOR.
13188 # The user is always right.
13189 if test "${PATH_SEPARATOR+set}" != set; then
13190 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13191 # contains only /bin. Note that ksh looks also at the FPATH variable,
13192 # so we have to set that as well for the test.
13193 PATH_SEPARATOR=:
13194 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13195 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13196 || PATH_SEPARATOR=';'
13197 }
13198 fi
13199
13200 ac_prog=ld
13201 if test "$GCC" = yes; then
13202 # Check if gcc -print-prog-name=ld gives a path.
13203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13204 printf %s "checking for ld used by $CC... " >&6; }
13205 case $host in
13206 *-*-mingw*)
13207 # gcc leaves a trailing carriage return which upsets mingw
13208 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13209 *)
13210 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13211 esac
13212 case $ac_prog in
13213 # Accept absolute paths.
13214 [\\/]* | ?:[\\/]*)
13215 re_direlt='/[^/][^/]*/\.\./'
13216 # Canonicalize the pathname of ld
13217 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
13218 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
13219 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13220 done
13221 test -z "$LD" && LD="$ac_prog"
13222 ;;
13223 "")
13224 # If it fails, then pretend we aren't using GCC.
13225 ac_prog=ld
13226 ;;
13227 *)
13228 # If it is relative, then search for the first ld in PATH.
13229 with_gnu_ld=unknown
13230 ;;
13231 esac
13232 elif test "$with_gnu_ld" = yes; then
13233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13234 printf %s "checking for GNU ld... " >&6; }
13235 else
13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13237 printf %s "checking for non-GNU ld... " >&6; }
13238 fi
13239 if test ${acl_cv_path_LD+y}
13240 then :
13241 printf %s "(cached) " >&6
13242 else $as_nop
13243 if test -z "$LD"; then
13244 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13245 for ac_dir in $PATH; do
13246 IFS="$acl_save_ifs"
13247 test -z "$ac_dir" && ac_dir=.
13248 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13249 acl_cv_path_LD="$ac_dir/$ac_prog"
13250 # Check to see if the program is GNU ld. I'd rather use --version,
13251 # but apparently some variants of GNU ld only accept -v.
13252 # Break only if it was the GNU/non-GNU ld that we prefer.
13253 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
13254 *GNU* | *'with BFD'*)
13255 test "$with_gnu_ld" != no && break
13256 ;;
13257 *)
13258 test "$with_gnu_ld" != yes && break
13259 ;;
13260 esac
13261 fi
13262 done
13263 IFS="$acl_save_ifs"
13264 else
13265 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13266 fi
13267 fi
13268
13269 LD="$acl_cv_path_LD"
13270 if test -n "$LD"; then
13271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13272 printf "%s\n" "$LD" >&6; }
13273 else
13274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13275 printf "%s\n" "no" >&6; }
13276 fi
13277 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13279 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
13280 if test ${acl_cv_prog_gnu_ld+y}
13281 then :
13282 printf %s "(cached) " >&6
13283 else $as_nop
13284 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13285 case `$LD -v 2>&1 </dev/null` in
13286 *GNU* | *'with BFD'*)
13287 acl_cv_prog_gnu_ld=yes
13288 ;;
13289 *)
13290 acl_cv_prog_gnu_ld=no
13291 ;;
13292 esac
13293 fi
13294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13295 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
13296 with_gnu_ld=$acl_cv_prog_gnu_ld
13297
13298
13299
13300
13301
13302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13303 printf %s "checking for shared library run path origin... " >&6; }
13304 if test ${acl_cv_rpath+y}
13305 then :
13306 printf %s "(cached) " >&6
13307 else $as_nop
13308
13309 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13310 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13311 . ./conftest.sh
13312 rm -f ./conftest.sh
13313 acl_cv_rpath=done
13314
13315 fi
13316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13317 printf "%s\n" "$acl_cv_rpath" >&6; }
13318 wl="$acl_cv_wl"
13319 acl_libext="$acl_cv_libext"
13320 acl_shlibext="$acl_cv_shlibext"
13321 acl_libname_spec="$acl_cv_libname_spec"
13322 acl_library_names_spec="$acl_cv_library_names_spec"
13323 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13324 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13325 acl_hardcode_direct="$acl_cv_hardcode_direct"
13326 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13327 # Check whether --enable-rpath was given.
13328 if test ${enable_rpath+y}
13329 then :
13330 enableval=$enable_rpath; :
13331 else $as_nop
13332 enable_rpath=yes
13333 fi
13334
13335
13336 ac_ext=c
13337 ac_cpp='$CPP $CPPFLAGS'
13338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13342 printf %s "checking how to run the C preprocessor... " >&6; }
13343 # On Suns, sometimes $CPP names a directory.
13344 if test -n "$CPP" && test -d "$CPP"; then
13345 CPP=
13346 fi
13347 if test -z "$CPP"; then
13348 if test ${ac_cv_prog_CPP+y}
13349 then :
13350 printf %s "(cached) " >&6
13351 else $as_nop
13352 # Double quotes because $CC needs to be expanded
13353 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13354 do
13355 ac_preproc_ok=false
13356 for ac_c_preproc_warn_flag in '' yes
13357 do
13358 # Use a header file that comes with gcc, so configuring glibc
13359 # with a fresh cross-compiler works.
13360 # On the NeXT, cc -E runs the code through the compiler's parser,
13361 # not just through cpp. "Syntax error" is here to catch this case.
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13364 #include <limits.h>
13365 Syntax error
13366 _ACEOF
13367 if ac_fn_c_try_cpp "$LINENO"
13368 then :
13369
13370 else $as_nop
13371 # Broken: fails on valid input.
13372 continue
13373 fi
13374 rm -f conftest.err conftest.i conftest.$ac_ext
13375
13376 # OK, works on sane cases. Now check whether nonexistent headers
13377 # can be detected and how.
13378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13380 #include <ac_nonexistent.h>
13381 _ACEOF
13382 if ac_fn_c_try_cpp "$LINENO"
13383 then :
13384 # Broken: success on invalid input.
13385 continue
13386 else $as_nop
13387 # Passes both tests.
13388 ac_preproc_ok=:
13389 break
13390 fi
13391 rm -f conftest.err conftest.i conftest.$ac_ext
13392
13393 done
13394 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13395 rm -f conftest.i conftest.err conftest.$ac_ext
13396 if $ac_preproc_ok
13397 then :
13398 break
13399 fi
13400
13401 done
13402 ac_cv_prog_CPP=$CPP
13403
13404 fi
13405 CPP=$ac_cv_prog_CPP
13406 else
13407 ac_cv_prog_CPP=$CPP
13408 fi
13409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13410 printf "%s\n" "$CPP" >&6; }
13411 ac_preproc_ok=false
13412 for ac_c_preproc_warn_flag in '' yes
13413 do
13414 # Use a header file that comes with gcc, so configuring glibc
13415 # with a fresh cross-compiler works.
13416 # On the NeXT, cc -E runs the code through the compiler's parser,
13417 # not just through cpp. "Syntax error" is here to catch this case.
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13420 #include <limits.h>
13421 Syntax error
13422 _ACEOF
13423 if ac_fn_c_try_cpp "$LINENO"
13424 then :
13425
13426 else $as_nop
13427 # Broken: fails on valid input.
13428 continue
13429 fi
13430 rm -f conftest.err conftest.i conftest.$ac_ext
13431
13432 # OK, works on sane cases. Now check whether nonexistent headers
13433 # can be detected and how.
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13436 #include <ac_nonexistent.h>
13437 _ACEOF
13438 if ac_fn_c_try_cpp "$LINENO"
13439 then :
13440 # Broken: success on invalid input.
13441 continue
13442 else $as_nop
13443 # Passes both tests.
13444 ac_preproc_ok=:
13445 break
13446 fi
13447 rm -f conftest.err conftest.i conftest.$ac_ext
13448
13449 done
13450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13451 rm -f conftest.i conftest.err conftest.$ac_ext
13452 if $ac_preproc_ok
13453 then :
13454
13455 else $as_nop
13456 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13457 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13458 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13459 See \`config.log' for more details" "$LINENO" 5; }
13460 fi
13461
13462 ac_ext=c
13463 ac_cpp='$CPP $CPPFLAGS'
13464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13467
13468
13469
13470
13471 acl_libdirstem=lib
13472 acl_libdirstem2=
13473 case "$host_os" in
13474 solaris*)
13475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13476 printf %s "checking for 64-bit host... " >&6; }
13477 if test ${gl_cv_solaris_64bit+y}
13478 then :
13479 printf %s "(cached) " >&6
13480 else $as_nop
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13483
13484 #ifdef _LP64
13485 sixtyfour bits
13486 #endif
13487
13488 _ACEOF
13489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13490 $EGREP "sixtyfour bits" >/dev/null 2>&1
13491 then :
13492 gl_cv_solaris_64bit=yes
13493 else $as_nop
13494 gl_cv_solaris_64bit=no
13495 fi
13496 rm -rf conftest*
13497
13498
13499 fi
13500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13501 printf "%s\n" "$gl_cv_solaris_64bit" >&6; }
13502 if test $gl_cv_solaris_64bit = yes; then
13503 acl_libdirstem=lib/64
13504 case "$host_cpu" in
13505 sparc*) acl_libdirstem2=lib/sparcv9 ;;
13506 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13507 esac
13508 fi
13509 ;;
13510 *)
13511 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13512 if test -n "$searchpath"; then
13513 acl_save_IFS="${IFS= }"; IFS=":"
13514 for searchdir in $searchpath; do
13515 if test -d "$searchdir"; then
13516 case "$searchdir" in
13517 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13518 */../ | */.. )
13519 # Better ignore directories of this form. They are misleading.
13520 ;;
13521 *) searchdir=`cd "$searchdir" && pwd`
13522 case "$searchdir" in
13523 */lib64 ) acl_libdirstem=lib64 ;;
13524 esac ;;
13525 esac
13526 fi
13527 done
13528 IFS="$acl_save_IFS"
13529 fi
13530 ;;
13531 esac
13532 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545 use_additional=yes
13546
13547 acl_save_prefix="$prefix"
13548 prefix="$acl_final_prefix"
13549 acl_save_exec_prefix="$exec_prefix"
13550 exec_prefix="$acl_final_exec_prefix"
13551
13552 eval additional_includedir=\"$includedir\"
13553 eval additional_libdir=\"$libdir\"
13554
13555 exec_prefix="$acl_save_exec_prefix"
13556 prefix="$acl_save_prefix"
13557
13558
13559 # Check whether --with-libiconv-prefix was given.
13560 if test ${with_libiconv_prefix+y}
13561 then :
13562 withval=$with_libiconv_prefix;
13563 if test "X$withval" = "Xno"; then
13564 use_additional=no
13565 else
13566 if test "X$withval" = "X"; then
13567
13568 acl_save_prefix="$prefix"
13569 prefix="$acl_final_prefix"
13570 acl_save_exec_prefix="$exec_prefix"
13571 exec_prefix="$acl_final_exec_prefix"
13572
13573 eval additional_includedir=\"$includedir\"
13574 eval additional_libdir=\"$libdir\"
13575
13576 exec_prefix="$acl_save_exec_prefix"
13577 prefix="$acl_save_prefix"
13578
13579 else
13580 additional_includedir="$withval/include"
13581 additional_libdir="$withval/$acl_libdirstem"
13582 if test "$acl_libdirstem2" != "$acl_libdirstem" \
13583 && ! test -d "$withval/$acl_libdirstem"; then
13584 additional_libdir="$withval/$acl_libdirstem2"
13585 fi
13586 fi
13587 fi
13588
13589 fi
13590
13591 LIBICONV=
13592 LTLIBICONV=
13593 INCICONV=
13594 LIBICONV_PREFIX=
13595 HAVE_LIBICONV=
13596 rpathdirs=
13597 ltrpathdirs=
13598 names_already_handled=
13599 names_next_round='iconv '
13600 while test -n "$names_next_round"; do
13601 names_this_round="$names_next_round"
13602 names_next_round=
13603 for name in $names_this_round; do
13604 already_handled=
13605 for n in $names_already_handled; do
13606 if test "$n" = "$name"; then
13607 already_handled=yes
13608 break
13609 fi
13610 done
13611 if test -z "$already_handled"; then
13612 names_already_handled="$names_already_handled $name"
13613 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
13614 eval value=\"\$HAVE_LIB$uppername\"
13615 if test -n "$value"; then
13616 if test "$value" = yes; then
13617 eval value=\"\$LIB$uppername\"
13618 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13619 eval value=\"\$LTLIB$uppername\"
13620 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13621 else
13622 :
13623 fi
13624 else
13625 found_dir=
13626 found_la=
13627 found_so=
13628 found_a=
13629 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13630 if test -n "$acl_shlibext"; then
13631 shrext=".$acl_shlibext" # typically: shrext=.so
13632 else
13633 shrext=
13634 fi
13635 if test $use_additional = yes; then
13636 dir="$additional_libdir"
13637 if test -n "$acl_shlibext"; then
13638 if test -f "$dir/$libname$shrext"; then
13639 found_dir="$dir"
13640 found_so="$dir/$libname$shrext"
13641 else
13642 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13643 ver=`(cd "$dir" && \
13644 for f in "$libname$shrext".*; do echo "$f"; done \
13645 | sed -e "s,^$libname$shrext\\\\.,," \
13646 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13647 | sed 1q ) 2>/dev/null`
13648 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13649 found_dir="$dir"
13650 found_so="$dir/$libname$shrext.$ver"
13651 fi
13652 else
13653 eval library_names=\"$acl_library_names_spec\"
13654 for f in $library_names; do
13655 if test -f "$dir/$f"; then
13656 found_dir="$dir"
13657 found_so="$dir/$f"
13658 break
13659 fi
13660 done
13661 fi
13662 fi
13663 fi
13664 if test "X$found_dir" = "X"; then
13665 if test -f "$dir/$libname.$acl_libext"; then
13666 found_dir="$dir"
13667 found_a="$dir/$libname.$acl_libext"
13668 fi
13669 fi
13670 if test "X$found_dir" != "X"; then
13671 if test -f "$dir/$libname.la"; then
13672 found_la="$dir/$libname.la"
13673 fi
13674 fi
13675 fi
13676 if test "X$found_dir" = "X"; then
13677 for x in $LDFLAGS $LTLIBICONV; do
13678
13679 acl_save_prefix="$prefix"
13680 prefix="$acl_final_prefix"
13681 acl_save_exec_prefix="$exec_prefix"
13682 exec_prefix="$acl_final_exec_prefix"
13683 eval x=\"$x\"
13684 exec_prefix="$acl_save_exec_prefix"
13685 prefix="$acl_save_prefix"
13686
13687 case "$x" in
13688 -L*)
13689 dir=`echo "X$x" | sed -e 's/^X-L//'`
13690 if test -n "$acl_shlibext"; then
13691 if test -f "$dir/$libname$shrext"; then
13692 found_dir="$dir"
13693 found_so="$dir/$libname$shrext"
13694 else
13695 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13696 ver=`(cd "$dir" && \
13697 for f in "$libname$shrext".*; do echo "$f"; done \
13698 | sed -e "s,^$libname$shrext\\\\.,," \
13699 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13700 | sed 1q ) 2>/dev/null`
13701 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13702 found_dir="$dir"
13703 found_so="$dir/$libname$shrext.$ver"
13704 fi
13705 else
13706 eval library_names=\"$acl_library_names_spec\"
13707 for f in $library_names; do
13708 if test -f "$dir/$f"; then
13709 found_dir="$dir"
13710 found_so="$dir/$f"
13711 break
13712 fi
13713 done
13714 fi
13715 fi
13716 fi
13717 if test "X$found_dir" = "X"; then
13718 if test -f "$dir/$libname.$acl_libext"; then
13719 found_dir="$dir"
13720 found_a="$dir/$libname.$acl_libext"
13721 fi
13722 fi
13723 if test "X$found_dir" != "X"; then
13724 if test -f "$dir/$libname.la"; then
13725 found_la="$dir/$libname.la"
13726 fi
13727 fi
13728 ;;
13729 esac
13730 if test "X$found_dir" != "X"; then
13731 break
13732 fi
13733 done
13734 fi
13735 if test "X$found_dir" != "X"; then
13736 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13737 if test "X$found_so" != "X"; then
13738 if test "$enable_rpath" = no \
13739 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
13740 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
13741 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13742 else
13743 haveit=
13744 for x in $ltrpathdirs; do
13745 if test "X$x" = "X$found_dir"; then
13746 haveit=yes
13747 break
13748 fi
13749 done
13750 if test -z "$haveit"; then
13751 ltrpathdirs="$ltrpathdirs $found_dir"
13752 fi
13753 if test "$acl_hardcode_direct" = yes; then
13754 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13755 else
13756 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13757 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13758 haveit=
13759 for x in $rpathdirs; do
13760 if test "X$x" = "X$found_dir"; then
13761 haveit=yes
13762 break
13763 fi
13764 done
13765 if test -z "$haveit"; then
13766 rpathdirs="$rpathdirs $found_dir"
13767 fi
13768 else
13769 haveit=
13770 for x in $LDFLAGS $LIBICONV; do
13771
13772 acl_save_prefix="$prefix"
13773 prefix="$acl_final_prefix"
13774 acl_save_exec_prefix="$exec_prefix"
13775 exec_prefix="$acl_final_exec_prefix"
13776 eval x=\"$x\"
13777 exec_prefix="$acl_save_exec_prefix"
13778 prefix="$acl_save_prefix"
13779
13780 if test "X$x" = "X-L$found_dir"; then
13781 haveit=yes
13782 break
13783 fi
13784 done
13785 if test -z "$haveit"; then
13786 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13787 fi
13788 if test "$acl_hardcode_minus_L" != no; then
13789 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13790 else
13791 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13792 fi
13793 fi
13794 fi
13795 fi
13796 else
13797 if test "X$found_a" != "X"; then
13798 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13799 else
13800 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13801 fi
13802 fi
13803 additional_includedir=
13804 case "$found_dir" in
13805 */$acl_libdirstem | */$acl_libdirstem/)
13806 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13807 if test "$name" = 'iconv'; then
13808 LIBICONV_PREFIX="$basedir"
13809 fi
13810 additional_includedir="$basedir/include"
13811 ;;
13812 */$acl_libdirstem2 | */$acl_libdirstem2/)
13813 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
13814 if test "$name" = 'iconv'; then
13815 LIBICONV_PREFIX="$basedir"
13816 fi
13817 additional_includedir="$basedir/include"
13818 ;;
13819 esac
13820 if test "X$additional_includedir" != "X"; then
13821 if test "X$additional_includedir" != "X/usr/include"; then
13822 haveit=
13823 if test "X$additional_includedir" = "X/usr/local/include"; then
13824 if test -n "$GCC"; then
13825 case $host_os in
13826 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13827 esac
13828 fi
13829 fi
13830 if test -z "$haveit"; then
13831 for x in $CPPFLAGS $INCICONV; do
13832
13833 acl_save_prefix="$prefix"
13834 prefix="$acl_final_prefix"
13835 acl_save_exec_prefix="$exec_prefix"
13836 exec_prefix="$acl_final_exec_prefix"
13837 eval x=\"$x\"
13838 exec_prefix="$acl_save_exec_prefix"
13839 prefix="$acl_save_prefix"
13840
13841 if test "X$x" = "X-I$additional_includedir"; then
13842 haveit=yes
13843 break
13844 fi
13845 done
13846 if test -z "$haveit"; then
13847 if test -d "$additional_includedir"; then
13848 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13849 fi
13850 fi
13851 fi
13852 fi
13853 fi
13854 if test -n "$found_la"; then
13855 save_libdir="$libdir"
13856 case "$found_la" in
13857 */* | *\\*) . "$found_la" ;;
13858 *) . "./$found_la" ;;
13859 esac
13860 libdir="$save_libdir"
13861 for dep in $dependency_libs; do
13862 case "$dep" in
13863 -L*)
13864 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13865 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
13866 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
13867 haveit=
13868 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
13869 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
13870 if test -n "$GCC"; then
13871 case $host_os in
13872 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13873 esac
13874 fi
13875 fi
13876 if test -z "$haveit"; then
13877 haveit=
13878 for x in $LDFLAGS $LIBICONV; do
13879
13880 acl_save_prefix="$prefix"
13881 prefix="$acl_final_prefix"
13882 acl_save_exec_prefix="$exec_prefix"
13883 exec_prefix="$acl_final_exec_prefix"
13884 eval x=\"$x\"
13885 exec_prefix="$acl_save_exec_prefix"
13886 prefix="$acl_save_prefix"
13887
13888 if test "X$x" = "X-L$additional_libdir"; then
13889 haveit=yes
13890 break
13891 fi
13892 done
13893 if test -z "$haveit"; then
13894 if test -d "$additional_libdir"; then
13895 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13896 fi
13897 fi
13898 haveit=
13899 for x in $LDFLAGS $LTLIBICONV; do
13900
13901 acl_save_prefix="$prefix"
13902 prefix="$acl_final_prefix"
13903 acl_save_exec_prefix="$exec_prefix"
13904 exec_prefix="$acl_final_exec_prefix"
13905 eval x=\"$x\"
13906 exec_prefix="$acl_save_exec_prefix"
13907 prefix="$acl_save_prefix"
13908
13909 if test "X$x" = "X-L$additional_libdir"; then
13910 haveit=yes
13911 break
13912 fi
13913 done
13914 if test -z "$haveit"; then
13915 if test -d "$additional_libdir"; then
13916 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13917 fi
13918 fi
13919 fi
13920 fi
13921 ;;
13922 -R*)
13923 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13924 if test "$enable_rpath" != no; then
13925 haveit=
13926 for x in $rpathdirs; do
13927 if test "X$x" = "X$dir"; then
13928 haveit=yes
13929 break
13930 fi
13931 done
13932 if test -z "$haveit"; then
13933 rpathdirs="$rpathdirs $dir"
13934 fi
13935 haveit=
13936 for x in $ltrpathdirs; do
13937 if test "X$x" = "X$dir"; then
13938 haveit=yes
13939 break
13940 fi
13941 done
13942 if test -z "$haveit"; then
13943 ltrpathdirs="$ltrpathdirs $dir"
13944 fi
13945 fi
13946 ;;
13947 -l*)
13948 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13949 ;;
13950 *.la)
13951 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13952 ;;
13953 *)
13954 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13955 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13956 ;;
13957 esac
13958 done
13959 fi
13960 else
13961 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13962 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13963 fi
13964 fi
13965 fi
13966 done
13967 done
13968 if test "X$rpathdirs" != "X"; then
13969 if test -n "$acl_hardcode_libdir_separator"; then
13970 alldirs=
13971 for found_dir in $rpathdirs; do
13972 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13973 done
13974 acl_save_libdir="$libdir"
13975 libdir="$alldirs"
13976 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13977 libdir="$acl_save_libdir"
13978 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13979 else
13980 for found_dir in $rpathdirs; do
13981 acl_save_libdir="$libdir"
13982 libdir="$found_dir"
13983 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13984 libdir="$acl_save_libdir"
13985 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13986 done
13987 fi
13988 fi
13989 if test "X$ltrpathdirs" != "X"; then
13990 for found_dir in $ltrpathdirs; do
13991 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13992 done
13993 fi
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14026 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
14027 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
14028 then :
14029 printf %s "(cached) " >&6
14030 else $as_nop
14031 gt_save_LIBS="$LIBS"
14032 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035 #include <CoreFoundation/CFPreferences.h>
14036 int
14037 main (void)
14038 {
14039 CFPreferencesCopyAppValue(NULL, NULL)
14040 ;
14041 return 0;
14042 }
14043 _ACEOF
14044 if ac_fn_c_try_link "$LINENO"
14045 then :
14046 gt_cv_func_CFPreferencesCopyAppValue=yes
14047 else $as_nop
14048 gt_cv_func_CFPreferencesCopyAppValue=no
14049 fi
14050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14051 conftest$ac_exeext conftest.$ac_ext
14052 LIBS="$gt_save_LIBS"
14053 fi
14054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14055 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14056 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14057
14058 printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14059
14060 fi
14061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14062 printf %s "checking for CFLocaleCopyCurrent... " >&6; }
14063 if test ${gt_cv_func_CFLocaleCopyCurrent+y}
14064 then :
14065 printf %s "(cached) " >&6
14066 else $as_nop
14067 gt_save_LIBS="$LIBS"
14068 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 #include <CoreFoundation/CFLocale.h>
14072 int
14073 main (void)
14074 {
14075 CFLocaleCopyCurrent();
14076 ;
14077 return 0;
14078 }
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"
14081 then :
14082 gt_cv_func_CFLocaleCopyCurrent=yes
14083 else $as_nop
14084 gt_cv_func_CFLocaleCopyCurrent=no
14085 fi
14086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14087 conftest$ac_exeext conftest.$ac_ext
14088 LIBS="$gt_save_LIBS"
14089 fi
14090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14091 printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14092 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14093
14094 printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14095
14096 fi
14097 INTL_MACOSX_LIBS=
14098 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14099 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14100 fi
14101
14102
14103
14104
14105
14106
14107 LIBINTL=
14108 LTLIBINTL=
14109 POSUB=
14110
14111 case " $gt_needs " in
14112 *" need-formatstring-macros "*) gt_api_version=3 ;;
14113 *" need-ngettext "*) gt_api_version=2 ;;
14114 *) gt_api_version=1 ;;
14115 esac
14116 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14117 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14118
14119 if test "$USE_NLS" = "yes"; then
14120 gt_use_preinstalled_gnugettext=no
14121
14122
14123 if test $gt_api_version -ge 3; then
14124 gt_revision_test_code='
14125 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14126 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14127 #endif
14128 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14129 '
14130 else
14131 gt_revision_test_code=
14132 fi
14133 if test $gt_api_version -ge 2; then
14134 gt_expression_test_code=' + * ngettext ("", "", 0)'
14135 else
14136 gt_expression_test_code=
14137 fi
14138
14139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14140 printf %s "checking for GNU gettext in libc... " >&6; }
14141 if eval test \${$gt_func_gnugettext_libc+y}
14142 then :
14143 printf %s "(cached) " >&6
14144 else $as_nop
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14147
14148 #include <libintl.h>
14149 $gt_revision_test_code
14150 extern int _nl_msg_cat_cntr;
14151 extern int *_nl_domain_bindings;
14152
14153 int
14154 main (void)
14155 {
14156
14157 bindtextdomain ("", "");
14158 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14159
14160 ;
14161 return 0;
14162 }
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"
14165 then :
14166 eval "$gt_func_gnugettext_libc=yes"
14167 else $as_nop
14168 eval "$gt_func_gnugettext_libc=no"
14169 fi
14170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14171 conftest$ac_exeext conftest.$ac_ext
14172 fi
14173 eval ac_res=\$$gt_func_gnugettext_libc
14174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14175 printf "%s\n" "$ac_res" >&6; }
14176
14177 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14178
14179
14180
14181
14182
14183 am_save_CPPFLAGS="$CPPFLAGS"
14184
14185 for element in $INCICONV; do
14186 haveit=
14187 for x in $CPPFLAGS; do
14188
14189 acl_save_prefix="$prefix"
14190 prefix="$acl_final_prefix"
14191 acl_save_exec_prefix="$exec_prefix"
14192 exec_prefix="$acl_final_exec_prefix"
14193 eval x=\"$x\"
14194 exec_prefix="$acl_save_exec_prefix"
14195 prefix="$acl_save_prefix"
14196
14197 if test "X$x" = "X$element"; then
14198 haveit=yes
14199 break
14200 fi
14201 done
14202 if test -z "$haveit"; then
14203 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14204 fi
14205 done
14206
14207
14208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14209 printf %s "checking for iconv... " >&6; }
14210 if test ${am_cv_func_iconv+y}
14211 then :
14212 printf %s "(cached) " >&6
14213 else $as_nop
14214
14215 am_cv_func_iconv="no, consider installing GNU libiconv"
14216 am_cv_lib_iconv=no
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219
14220 #include <stdlib.h>
14221 #include <iconv.h>
14222
14223 int
14224 main (void)
14225 {
14226 iconv_t cd = iconv_open("","");
14227 iconv(cd,NULL,NULL,NULL,NULL);
14228 iconv_close(cd);
14229 ;
14230 return 0;
14231 }
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"
14234 then :
14235 am_cv_func_iconv=yes
14236 fi
14237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14238 conftest$ac_exeext conftest.$ac_ext
14239 if test "$am_cv_func_iconv" != yes; then
14240 am_save_LIBS="$LIBS"
14241 LIBS="$LIBS $LIBICONV"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244
14245 #include <stdlib.h>
14246 #include <iconv.h>
14247
14248 int
14249 main (void)
14250 {
14251 iconv_t cd = iconv_open("","");
14252 iconv(cd,NULL,NULL,NULL,NULL);
14253 iconv_close(cd);
14254 ;
14255 return 0;
14256 }
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"
14259 then :
14260 am_cv_lib_iconv=yes
14261 am_cv_func_iconv=yes
14262 fi
14263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14264 conftest$ac_exeext conftest.$ac_ext
14265 LIBS="$am_save_LIBS"
14266 fi
14267
14268 fi
14269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14270 printf "%s\n" "$am_cv_func_iconv" >&6; }
14271 if test "$am_cv_func_iconv" = yes; then
14272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14273 printf %s "checking for working iconv... " >&6; }
14274 if test ${am_cv_func_iconv_works+y}
14275 then :
14276 printf %s "(cached) " >&6
14277 else $as_nop
14278
14279 am_save_LIBS="$LIBS"
14280 if test $am_cv_lib_iconv = yes; then
14281 LIBS="$LIBS $LIBICONV"
14282 fi
14283 am_cv_func_iconv_works=no
14284 for ac_iconv_const in '' 'const'; do
14285 if test "$cross_compiling" = yes
14286 then :
14287 case "$host_os" in
14288 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14289 *) am_cv_func_iconv_works="guessing yes" ;;
14290 esac
14291 else $as_nop
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294
14295 #include <iconv.h>
14296 #include <string.h>
14297
14298 #ifndef ICONV_CONST
14299 # define ICONV_CONST $ac_iconv_const
14300 #endif
14301
14302 int
14303 main (void)
14304 {
14305 int result = 0;
14306 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14307 returns. */
14308 {
14309 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14310 if (cd_utf8_to_88591 != (iconv_t)(-1))
14311 {
14312 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
14313 char buf[10];
14314 ICONV_CONST char *inptr = input;
14315 size_t inbytesleft = strlen (input);
14316 char *outptr = buf;
14317 size_t outbytesleft = sizeof (buf);
14318 size_t res = iconv (cd_utf8_to_88591,
14319 &inptr, &inbytesleft,
14320 &outptr, &outbytesleft);
14321 if (res == 0)
14322 result |= 1;
14323 iconv_close (cd_utf8_to_88591);
14324 }
14325 }
14326 /* Test against Solaris 10 bug: Failures are not distinguishable from
14327 successful returns. */
14328 {
14329 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14330 if (cd_ascii_to_88591 != (iconv_t)(-1))
14331 {
14332 static ICONV_CONST char input[] = "\263";
14333 char buf[10];
14334 ICONV_CONST char *inptr = input;
14335 size_t inbytesleft = strlen (input);
14336 char *outptr = buf;
14337 size_t outbytesleft = sizeof (buf);
14338 size_t res = iconv (cd_ascii_to_88591,
14339 &inptr, &inbytesleft,
14340 &outptr, &outbytesleft);
14341 if (res == 0)
14342 result |= 2;
14343 iconv_close (cd_ascii_to_88591);
14344 }
14345 }
14346 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
14347 {
14348 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
14349 if (cd_88591_to_utf8 != (iconv_t)(-1))
14350 {
14351 static ICONV_CONST char input[] = "\304";
14352 static char buf[2] = { (char)0xDE, (char)0xAD };
14353 ICONV_CONST char *inptr = input;
14354 size_t inbytesleft = 1;
14355 char *outptr = buf;
14356 size_t outbytesleft = 1;
14357 size_t res = iconv (cd_88591_to_utf8,
14358 &inptr, &inbytesleft,
14359 &outptr, &outbytesleft);
14360 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
14361 result |= 4;
14362 iconv_close (cd_88591_to_utf8);
14363 }
14364 }
14365 #if 0 /* This bug could be worked around by the caller. */
14366 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14367 {
14368 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14369 if (cd_88591_to_utf8 != (iconv_t)(-1))
14370 {
14371 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14372 char buf[50];
14373 ICONV_CONST char *inptr = input;
14374 size_t inbytesleft = strlen (input);
14375 char *outptr = buf;
14376 size_t outbytesleft = sizeof (buf);
14377 size_t res = iconv (cd_88591_to_utf8,
14378 &inptr, &inbytesleft,
14379 &outptr, &outbytesleft);
14380 if ((int)res > 0)
14381 result |= 8;
14382 iconv_close (cd_88591_to_utf8);
14383 }
14384 }
14385 #endif
14386 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14387 provided. */
14388 if (/* Try standardized names. */
14389 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14390 /* Try IRIX, OSF/1 names. */
14391 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14392 /* Try AIX names. */
14393 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14394 /* Try HP-UX names. */
14395 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14396 result |= 16;
14397 return result;
14398
14399 ;
14400 return 0;
14401 }
14402 _ACEOF
14403 if ac_fn_c_try_run "$LINENO"
14404 then :
14405 am_cv_func_iconv_works=yes
14406 fi
14407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14408 conftest.$ac_objext conftest.beam conftest.$ac_ext
14409 fi
14410
14411 test "$am_cv_func_iconv_works" = no || break
14412 done
14413 LIBS="$am_save_LIBS"
14414
14415 fi
14416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14417 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
14418 case "$am_cv_func_iconv_works" in
14419 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14420 *) am_func_iconv=yes ;;
14421 esac
14422 else
14423 am_func_iconv=no am_cv_lib_iconv=no
14424 fi
14425 if test "$am_func_iconv" = yes; then
14426
14427 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
14428
14429 fi
14430 if test "$am_cv_lib_iconv" = yes; then
14431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14432 printf %s "checking how to link with libiconv... " >&6; }
14433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14434 printf "%s\n" "$LIBICONV" >&6; }
14435 else
14436 CPPFLAGS="$am_save_CPPFLAGS"
14437 LIBICONV=
14438 LTLIBICONV=
14439 fi
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451 use_additional=yes
14452
14453 acl_save_prefix="$prefix"
14454 prefix="$acl_final_prefix"
14455 acl_save_exec_prefix="$exec_prefix"
14456 exec_prefix="$acl_final_exec_prefix"
14457
14458 eval additional_includedir=\"$includedir\"
14459 eval additional_libdir=\"$libdir\"
14460
14461 exec_prefix="$acl_save_exec_prefix"
14462 prefix="$acl_save_prefix"
14463
14464
14465 # Check whether --with-libintl-prefix was given.
14466 if test ${with_libintl_prefix+y}
14467 then :
14468 withval=$with_libintl_prefix;
14469 if test "X$withval" = "Xno"; then
14470 use_additional=no
14471 else
14472 if test "X$withval" = "X"; then
14473
14474 acl_save_prefix="$prefix"
14475 prefix="$acl_final_prefix"
14476 acl_save_exec_prefix="$exec_prefix"
14477 exec_prefix="$acl_final_exec_prefix"
14478
14479 eval additional_includedir=\"$includedir\"
14480 eval additional_libdir=\"$libdir\"
14481
14482 exec_prefix="$acl_save_exec_prefix"
14483 prefix="$acl_save_prefix"
14484
14485 else
14486 additional_includedir="$withval/include"
14487 additional_libdir="$withval/$acl_libdirstem"
14488 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14489 && ! test -d "$withval/$acl_libdirstem"; then
14490 additional_libdir="$withval/$acl_libdirstem2"
14491 fi
14492 fi
14493 fi
14494
14495 fi
14496
14497 LIBINTL=
14498 LTLIBINTL=
14499 INCINTL=
14500 LIBINTL_PREFIX=
14501 HAVE_LIBINTL=
14502 rpathdirs=
14503 ltrpathdirs=
14504 names_already_handled=
14505 names_next_round='intl '
14506 while test -n "$names_next_round"; do
14507 names_this_round="$names_next_round"
14508 names_next_round=
14509 for name in $names_this_round; do
14510 already_handled=
14511 for n in $names_already_handled; do
14512 if test "$n" = "$name"; then
14513 already_handled=yes
14514 break
14515 fi
14516 done
14517 if test -z "$already_handled"; then
14518 names_already_handled="$names_already_handled $name"
14519 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
14520 eval value=\"\$HAVE_LIB$uppername\"
14521 if test -n "$value"; then
14522 if test "$value" = yes; then
14523 eval value=\"\$LIB$uppername\"
14524 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14525 eval value=\"\$LTLIB$uppername\"
14526 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14527 else
14528 :
14529 fi
14530 else
14531 found_dir=
14532 found_la=
14533 found_so=
14534 found_a=
14535 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14536 if test -n "$acl_shlibext"; then
14537 shrext=".$acl_shlibext" # typically: shrext=.so
14538 else
14539 shrext=
14540 fi
14541 if test $use_additional = yes; then
14542 dir="$additional_libdir"
14543 if test -n "$acl_shlibext"; then
14544 if test -f "$dir/$libname$shrext"; then
14545 found_dir="$dir"
14546 found_so="$dir/$libname$shrext"
14547 else
14548 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14549 ver=`(cd "$dir" && \
14550 for f in "$libname$shrext".*; do echo "$f"; done \
14551 | sed -e "s,^$libname$shrext\\\\.,," \
14552 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14553 | sed 1q ) 2>/dev/null`
14554 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14555 found_dir="$dir"
14556 found_so="$dir/$libname$shrext.$ver"
14557 fi
14558 else
14559 eval library_names=\"$acl_library_names_spec\"
14560 for f in $library_names; do
14561 if test -f "$dir/$f"; then
14562 found_dir="$dir"
14563 found_so="$dir/$f"
14564 break
14565 fi
14566 done
14567 fi
14568 fi
14569 fi
14570 if test "X$found_dir" = "X"; then
14571 if test -f "$dir/$libname.$acl_libext"; then
14572 found_dir="$dir"
14573 found_a="$dir/$libname.$acl_libext"
14574 fi
14575 fi
14576 if test "X$found_dir" != "X"; then
14577 if test -f "$dir/$libname.la"; then
14578 found_la="$dir/$libname.la"
14579 fi
14580 fi
14581 fi
14582 if test "X$found_dir" = "X"; then
14583 for x in $LDFLAGS $LTLIBINTL; do
14584
14585 acl_save_prefix="$prefix"
14586 prefix="$acl_final_prefix"
14587 acl_save_exec_prefix="$exec_prefix"
14588 exec_prefix="$acl_final_exec_prefix"
14589 eval x=\"$x\"
14590 exec_prefix="$acl_save_exec_prefix"
14591 prefix="$acl_save_prefix"
14592
14593 case "$x" in
14594 -L*)
14595 dir=`echo "X$x" | sed -e 's/^X-L//'`
14596 if test -n "$acl_shlibext"; then
14597 if test -f "$dir/$libname$shrext"; then
14598 found_dir="$dir"
14599 found_so="$dir/$libname$shrext"
14600 else
14601 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14602 ver=`(cd "$dir" && \
14603 for f in "$libname$shrext".*; do echo "$f"; done \
14604 | sed -e "s,^$libname$shrext\\\\.,," \
14605 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14606 | sed 1q ) 2>/dev/null`
14607 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14608 found_dir="$dir"
14609 found_so="$dir/$libname$shrext.$ver"
14610 fi
14611 else
14612 eval library_names=\"$acl_library_names_spec\"
14613 for f in $library_names; do
14614 if test -f "$dir/$f"; then
14615 found_dir="$dir"
14616 found_so="$dir/$f"
14617 break
14618 fi
14619 done
14620 fi
14621 fi
14622 fi
14623 if test "X$found_dir" = "X"; then
14624 if test -f "$dir/$libname.$acl_libext"; then
14625 found_dir="$dir"
14626 found_a="$dir/$libname.$acl_libext"
14627 fi
14628 fi
14629 if test "X$found_dir" != "X"; then
14630 if test -f "$dir/$libname.la"; then
14631 found_la="$dir/$libname.la"
14632 fi
14633 fi
14634 ;;
14635 esac
14636 if test "X$found_dir" != "X"; then
14637 break
14638 fi
14639 done
14640 fi
14641 if test "X$found_dir" != "X"; then
14642 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14643 if test "X$found_so" != "X"; then
14644 if test "$enable_rpath" = no \
14645 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14646 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14647 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14648 else
14649 haveit=
14650 for x in $ltrpathdirs; do
14651 if test "X$x" = "X$found_dir"; then
14652 haveit=yes
14653 break
14654 fi
14655 done
14656 if test -z "$haveit"; then
14657 ltrpathdirs="$ltrpathdirs $found_dir"
14658 fi
14659 if test "$acl_hardcode_direct" = yes; then
14660 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14661 else
14662 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14663 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14664 haveit=
14665 for x in $rpathdirs; do
14666 if test "X$x" = "X$found_dir"; then
14667 haveit=yes
14668 break
14669 fi
14670 done
14671 if test -z "$haveit"; then
14672 rpathdirs="$rpathdirs $found_dir"
14673 fi
14674 else
14675 haveit=
14676 for x in $LDFLAGS $LIBINTL; do
14677
14678 acl_save_prefix="$prefix"
14679 prefix="$acl_final_prefix"
14680 acl_save_exec_prefix="$exec_prefix"
14681 exec_prefix="$acl_final_exec_prefix"
14682 eval x=\"$x\"
14683 exec_prefix="$acl_save_exec_prefix"
14684 prefix="$acl_save_prefix"
14685
14686 if test "X$x" = "X-L$found_dir"; then
14687 haveit=yes
14688 break
14689 fi
14690 done
14691 if test -z "$haveit"; then
14692 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14693 fi
14694 if test "$acl_hardcode_minus_L" != no; then
14695 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14696 else
14697 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14698 fi
14699 fi
14700 fi
14701 fi
14702 else
14703 if test "X$found_a" != "X"; then
14704 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14705 else
14706 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14707 fi
14708 fi
14709 additional_includedir=
14710 case "$found_dir" in
14711 */$acl_libdirstem | */$acl_libdirstem/)
14712 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14713 if test "$name" = 'intl'; then
14714 LIBINTL_PREFIX="$basedir"
14715 fi
14716 additional_includedir="$basedir/include"
14717 ;;
14718 */$acl_libdirstem2 | */$acl_libdirstem2/)
14719 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14720 if test "$name" = 'intl'; then
14721 LIBINTL_PREFIX="$basedir"
14722 fi
14723 additional_includedir="$basedir/include"
14724 ;;
14725 esac
14726 if test "X$additional_includedir" != "X"; then
14727 if test "X$additional_includedir" != "X/usr/include"; then
14728 haveit=
14729 if test "X$additional_includedir" = "X/usr/local/include"; then
14730 if test -n "$GCC"; then
14731 case $host_os in
14732 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14733 esac
14734 fi
14735 fi
14736 if test -z "$haveit"; then
14737 for x in $CPPFLAGS $INCINTL; do
14738
14739 acl_save_prefix="$prefix"
14740 prefix="$acl_final_prefix"
14741 acl_save_exec_prefix="$exec_prefix"
14742 exec_prefix="$acl_final_exec_prefix"
14743 eval x=\"$x\"
14744 exec_prefix="$acl_save_exec_prefix"
14745 prefix="$acl_save_prefix"
14746
14747 if test "X$x" = "X-I$additional_includedir"; then
14748 haveit=yes
14749 break
14750 fi
14751 done
14752 if test -z "$haveit"; then
14753 if test -d "$additional_includedir"; then
14754 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14755 fi
14756 fi
14757 fi
14758 fi
14759 fi
14760 if test -n "$found_la"; then
14761 save_libdir="$libdir"
14762 case "$found_la" in
14763 */* | *\\*) . "$found_la" ;;
14764 *) . "./$found_la" ;;
14765 esac
14766 libdir="$save_libdir"
14767 for dep in $dependency_libs; do
14768 case "$dep" in
14769 -L*)
14770 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14771 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14772 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14773 haveit=
14774 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14775 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14776 if test -n "$GCC"; then
14777 case $host_os in
14778 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14779 esac
14780 fi
14781 fi
14782 if test -z "$haveit"; then
14783 haveit=
14784 for x in $LDFLAGS $LIBINTL; do
14785
14786 acl_save_prefix="$prefix"
14787 prefix="$acl_final_prefix"
14788 acl_save_exec_prefix="$exec_prefix"
14789 exec_prefix="$acl_final_exec_prefix"
14790 eval x=\"$x\"
14791 exec_prefix="$acl_save_exec_prefix"
14792 prefix="$acl_save_prefix"
14793
14794 if test "X$x" = "X-L$additional_libdir"; then
14795 haveit=yes
14796 break
14797 fi
14798 done
14799 if test -z "$haveit"; then
14800 if test -d "$additional_libdir"; then
14801 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14802 fi
14803 fi
14804 haveit=
14805 for x in $LDFLAGS $LTLIBINTL; do
14806
14807 acl_save_prefix="$prefix"
14808 prefix="$acl_final_prefix"
14809 acl_save_exec_prefix="$exec_prefix"
14810 exec_prefix="$acl_final_exec_prefix"
14811 eval x=\"$x\"
14812 exec_prefix="$acl_save_exec_prefix"
14813 prefix="$acl_save_prefix"
14814
14815 if test "X$x" = "X-L$additional_libdir"; then
14816 haveit=yes
14817 break
14818 fi
14819 done
14820 if test -z "$haveit"; then
14821 if test -d "$additional_libdir"; then
14822 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14823 fi
14824 fi
14825 fi
14826 fi
14827 ;;
14828 -R*)
14829 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14830 if test "$enable_rpath" != no; then
14831 haveit=
14832 for x in $rpathdirs; do
14833 if test "X$x" = "X$dir"; then
14834 haveit=yes
14835 break
14836 fi
14837 done
14838 if test -z "$haveit"; then
14839 rpathdirs="$rpathdirs $dir"
14840 fi
14841 haveit=
14842 for x in $ltrpathdirs; do
14843 if test "X$x" = "X$dir"; then
14844 haveit=yes
14845 break
14846 fi
14847 done
14848 if test -z "$haveit"; then
14849 ltrpathdirs="$ltrpathdirs $dir"
14850 fi
14851 fi
14852 ;;
14853 -l*)
14854 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14855 ;;
14856 *.la)
14857 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14858 ;;
14859 *)
14860 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14861 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14862 ;;
14863 esac
14864 done
14865 fi
14866 else
14867 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14868 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14869 fi
14870 fi
14871 fi
14872 done
14873 done
14874 if test "X$rpathdirs" != "X"; then
14875 if test -n "$acl_hardcode_libdir_separator"; then
14876 alldirs=
14877 for found_dir in $rpathdirs; do
14878 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14879 done
14880 acl_save_libdir="$libdir"
14881 libdir="$alldirs"
14882 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14883 libdir="$acl_save_libdir"
14884 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14885 else
14886 for found_dir in $rpathdirs; do
14887 acl_save_libdir="$libdir"
14888 libdir="$found_dir"
14889 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14890 libdir="$acl_save_libdir"
14891 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14892 done
14893 fi
14894 fi
14895 if test "X$ltrpathdirs" != "X"; then
14896 for found_dir in $ltrpathdirs; do
14897 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14898 done
14899 fi
14900
14901
14902
14903
14904
14905
14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14907 printf %s "checking for GNU gettext in libintl... " >&6; }
14908 if eval test \${$gt_func_gnugettext_libintl+y}
14909 then :
14910 printf %s "(cached) " >&6
14911 else $as_nop
14912 gt_save_CPPFLAGS="$CPPFLAGS"
14913 CPPFLAGS="$CPPFLAGS $INCINTL"
14914 gt_save_LIBS="$LIBS"
14915 LIBS="$LIBS $LIBINTL"
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918
14919 #include <libintl.h>
14920 $gt_revision_test_code
14921 extern int _nl_msg_cat_cntr;
14922 extern
14923 #ifdef __cplusplus
14924 "C"
14925 #endif
14926 const char *_nl_expand_alias (const char *);
14927
14928 int
14929 main (void)
14930 {
14931
14932 bindtextdomain ("", "");
14933 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14934
14935 ;
14936 return 0;
14937 }
14938 _ACEOF
14939 if ac_fn_c_try_link "$LINENO"
14940 then :
14941 eval "$gt_func_gnugettext_libintl=yes"
14942 else $as_nop
14943 eval "$gt_func_gnugettext_libintl=no"
14944 fi
14945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14946 conftest$ac_exeext conftest.$ac_ext
14947 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14948 LIBS="$LIBS $LIBICONV"
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14951
14952 #include <libintl.h>
14953 $gt_revision_test_code
14954 extern int _nl_msg_cat_cntr;
14955 extern
14956 #ifdef __cplusplus
14957 "C"
14958 #endif
14959 const char *_nl_expand_alias (const char *);
14960
14961 int
14962 main (void)
14963 {
14964
14965 bindtextdomain ("", "");
14966 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 if ac_fn_c_try_link "$LINENO"
14973 then :
14974 LIBINTL="$LIBINTL $LIBICONV"
14975 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14976 eval "$gt_func_gnugettext_libintl=yes"
14977
14978 fi
14979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14980 conftest$ac_exeext conftest.$ac_ext
14981 fi
14982 CPPFLAGS="$gt_save_CPPFLAGS"
14983 LIBS="$gt_save_LIBS"
14984 fi
14985 eval ac_res=\$$gt_func_gnugettext_libintl
14986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14987 printf "%s\n" "$ac_res" >&6; }
14988 fi
14989
14990 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14991 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14992 && test "$PACKAGE" != gettext-runtime \
14993 && test "$PACKAGE" != gettext-tools; }; then
14994 gt_use_preinstalled_gnugettext=yes
14995 else
14996 LIBINTL=
14997 LTLIBINTL=
14998 INCINTL=
14999 fi
15000
15001
15002
15003 if test -n "$INTL_MACOSX_LIBS"; then
15004 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15005 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15006 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15007 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15008 fi
15009 fi
15010
15011 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15012 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15013
15014 printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
15015
15016 else
15017 USE_NLS=no
15018 fi
15019 fi
15020
15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15022 printf %s "checking whether to use NLS... " >&6; }
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15024 printf "%s\n" "$USE_NLS" >&6; }
15025 if test "$USE_NLS" = "yes"; then
15026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15027 printf %s "checking where the gettext function comes from... " >&6; }
15028 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15029 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15030 gt_source="external libintl"
15031 else
15032 gt_source="libc"
15033 fi
15034 else
15035 gt_source="included intl directory"
15036 fi
15037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15038 printf "%s\n" "$gt_source" >&6; }
15039 fi
15040
15041 if test "$USE_NLS" = "yes"; then
15042
15043 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15044 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15046 printf %s "checking how to link with libintl... " >&6; }
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15048 printf "%s\n" "$LIBINTL" >&6; }
15049
15050 for element in $INCINTL; do
15051 haveit=
15052 for x in $CPPFLAGS; do
15053
15054 acl_save_prefix="$prefix"
15055 prefix="$acl_final_prefix"
15056 acl_save_exec_prefix="$exec_prefix"
15057 exec_prefix="$acl_final_exec_prefix"
15058 eval x=\"$x\"
15059 exec_prefix="$acl_save_exec_prefix"
15060 prefix="$acl_save_prefix"
15061
15062 if test "X$x" = "X$element"; then
15063 haveit=yes
15064 break
15065 fi
15066 done
15067 if test -z "$haveit"; then
15068 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15069 fi
15070 done
15071
15072 fi
15073
15074
15075 printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
15076
15077
15078 printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
15079
15080 fi
15081
15082 POSUB=po
15083 fi
15084
15085
15086
15087 INTLLIBS="$LIBINTL"
15088
15089
15090
15091
15092
15093
15094
15095 # Check whether --enable-shared was given.
15096 if test ${enable_shared+y}
15097 then :
15098 enableval=$enable_shared; p=${PACKAGE-default}
15099 case $enableval in
15100 yes) enable_shared=yes ;;
15101 no) enable_shared=no ;;
15102 *)
15103 enable_shared=no
15104 # Look at the argument we got. We use all the common list separators.
15105 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
15106 for pkg in $enableval; do
15107 IFS=$lt_save_ifs
15108 if test "X$pkg" = "X$p"; then
15109 enable_shared=yes
15110 fi
15111 done
15112 IFS=$lt_save_ifs
15113 ;;
15114 esac
15115 else $as_nop
15116 enable_shared=yes
15117 fi
15118
15119
15120
15121
15122
15123
15124 # Check whether --enable-static was given.
15125 if test ${enable_static+y}
15126 then :
15127 enableval=$enable_static; p=${PACKAGE-default}
15128 case $enableval in
15129 yes) enable_static=yes ;;
15130 no) enable_static=no ;;
15131 *)
15132 enable_static=no
15133 # Look at the argument we got. We use all the common list separators.
15134 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
15135 for pkg in $enableval; do
15136 IFS=$lt_save_ifs
15137 if test "X$pkg" = "X$p"; then
15138 enable_static=yes
15139 fi
15140 done
15141 IFS=$lt_save_ifs
15142 ;;
15143 esac
15144 else $as_nop
15145 enable_static=no
15146 fi
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160 if test -n "$PYTHON"; then
15161 # If the user set $PYTHON, use it and don't search something else.
15162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.8" >&5
15163 printf %s "checking whether $PYTHON version is >= 3.8... " >&6; }
15164 prog="import sys
15165 # split strings by '.' and convert to numeric. Append some zeros
15166 # because we need at least 4 digits for the hex conversion.
15167 # map returns an iterator in Python 3.0 and a list in 2.x
15168 minver = list(map(int, '3.8'.split('.'))) + [0, 0, 0]
15169 minverhex = 0
15170 # xrange is not present in Python 3.0 and range returns an iterator
15171 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
15172 sys.exit(sys.hexversion < minverhex)"
15173 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
15174 ($PYTHON -c "$prog") >&5 2>&5
15175 ac_status=$?
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }
15178 then :
15179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15180 printf "%s\n" "yes" >&6; }
15181 else $as_nop
15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15183 printf "%s\n" "no" >&6; }
15184 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
15185 fi
15186 am_display_PYTHON=$PYTHON
15187 else
15188 # Otherwise, try each interpreter until we find one that satisfies
15189 # VERSION.
15190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.8" >&5
15191 printf %s "checking for a Python interpreter with version >= 3.8... " >&6; }
15192 if test ${am_cv_pathless_PYTHON+y}
15193 then :
15194 printf %s "(cached) " >&6
15195 else $as_nop
15196
15197 for am_cv_pathless_PYTHON in python python2 python3 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
15198 test "$am_cv_pathless_PYTHON" = none && break
15199 prog="import sys
15200 # split strings by '.' and convert to numeric. Append some zeros
15201 # because we need at least 4 digits for the hex conversion.
15202 # map returns an iterator in Python 3.0 and a list in 2.x
15203 minver = list(map(int, '3.8'.split('.'))) + [0, 0, 0]
15204 minverhex = 0
15205 # xrange is not present in Python 3.0 and range returns an iterator
15206 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
15207 sys.exit(sys.hexversion < minverhex)"
15208 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
15209 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
15210 ac_status=$?
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }
15213 then :
15214 break
15215 fi
15216 done
15217 fi
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
15219 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
15220 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
15221 if test "$am_cv_pathless_PYTHON" = none; then
15222 PYTHON=:
15223 else
15224 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
15225 set dummy $am_cv_pathless_PYTHON; ac_word=$2
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15227 printf %s "checking for $ac_word... " >&6; }
15228 if test ${ac_cv_path_PYTHON+y}
15229 then :
15230 printf %s "(cached) " >&6
15231 else $as_nop
15232 case $PYTHON in
15233 [\\/]* | ?:[\\/]*)
15234 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
15235 ;;
15236 *)
15237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15238 for as_dir in $PATH
15239 do
15240 IFS=$as_save_IFS
15241 case $as_dir in #(((
15242 '') as_dir=./ ;;
15243 */) ;;
15244 *) as_dir=$as_dir/ ;;
15245 esac
15246 for ac_exec_ext in '' $ac_executable_extensions; do
15247 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15248 ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
15249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15250 break 2
15251 fi
15252 done
15253 done
15254 IFS=$as_save_IFS
15255
15256 ;;
15257 esac
15258 fi
15259 PYTHON=$ac_cv_path_PYTHON
15260 if test -n "$PYTHON"; then
15261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15262 printf "%s\n" "$PYTHON" >&6; }
15263 else
15264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15265 printf "%s\n" "no" >&6; }
15266 fi
15267
15268
15269 fi
15270 am_display_PYTHON=$am_cv_pathless_PYTHON
15271 fi
15272
15273
15274 if test "$PYTHON" = :; then
15275 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
15276 else
15277
15278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
15279 printf %s "checking for $am_display_PYTHON version... " >&6; }
15280 if test ${am_cv_python_version+y}
15281 then :
15282 printf %s "(cached) " >&6
15283 else $as_nop
15284 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
15285 fi
15286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
15287 printf "%s\n" "$am_cv_python_version" >&6; }
15288 PYTHON_VERSION=$am_cv_python_version
15289
15290
15291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15292 printf %s "checking for $am_display_PYTHON platform... " >&6; }
15293 if test ${am_cv_python_platform+y}
15294 then :
15295 printf %s "(cached) " >&6
15296 else $as_nop
15297 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
15298 fi
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
15300 printf "%s\n" "$am_cv_python_platform" >&6; }
15301 PYTHON_PLATFORM=$am_cv_python_platform
15302
15303
15304 if test "x$prefix" = xNONE; then
15305 am__usable_prefix=$ac_default_prefix
15306 else
15307 am__usable_prefix=$prefix
15308 fi
15309
15310 # Allow user to request using sys.* values from Python,
15311 # instead of the GNU $prefix values.
15312
15313 # Check whether --with-python-sys-prefix was given.
15314 if test ${with_python_sys_prefix+y}
15315 then :
15316 withval=$with_python_sys_prefix; am_use_python_sys=:
15317 else $as_nop
15318 am_use_python_sys=false
15319 fi
15320
15321
15322 # Allow user to override whatever the default Python prefix is.
15323
15324 # Check whether --with-python_prefix was given.
15325 if test ${with_python_prefix+y}
15326 then :
15327 withval=$with_python_prefix; am_python_prefix_subst=$withval
15328 am_cv_python_prefix=$withval
15329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
15330 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
15332 printf "%s\n" "$am_cv_python_prefix" >&6; }
15333 else $as_nop
15334
15335 if $am_use_python_sys; then
15336 # using python sys.prefix value, not GNU
15337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
15338 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
15339 if test ${am_cv_python_prefix+y}
15340 then :
15341 printf %s "(cached) " >&6
15342 else $as_nop
15343 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
15344 fi
15345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
15346 printf "%s\n" "$am_cv_python_prefix" >&6; }
15347
15348 case $am_cv_python_prefix in
15349 $am__usable_prefix*)
15350 am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
15351 am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
15352 ;;
15353 *)
15354 am_python_prefix_subst=$am_cv_python_prefix
15355 ;;
15356 esac
15357 else # using GNU prefix value, not python sys.prefix
15358 am_python_prefix_subst='${prefix}'
15359 am_python_prefix=$am_python_prefix_subst
15360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
15361 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
15363 printf "%s\n" "$am_python_prefix" >&6; }
15364 fi
15365 fi
15366
15367 # Substituting python_prefix_subst value.
15368 PYTHON_PREFIX=$am_python_prefix_subst
15369
15370
15371 # emacs-page Now do it all over again for Python exec_prefix, but with yet
15372 # another conditional: fall back to regular prefix if that was specified.
15373
15374 # Check whether --with-python_exec_prefix was given.
15375 if test ${with_python_exec_prefix+y}
15376 then :
15377 withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
15378 am_cv_python_exec_prefix=$withval
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
15380 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
15382 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
15383 else $as_nop
15384
15385 # no explicit --with-python_exec_prefix, but if
15386 # --with-python_prefix was given, use its value for python_exec_prefix too.
15387 if test -n "$with_python_prefix"
15388 then :
15389 am_python_exec_prefix_subst=$with_python_prefix
15390 am_cv_python_exec_prefix=$with_python_prefix
15391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
15392 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
15393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
15394 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
15395 else $as_nop
15396
15397 # Set am__usable_exec_prefix whether using GNU or Python values,
15398 # since we use that variable for pyexecdir.
15399 if test "x$exec_prefix" = xNONE; then
15400 am__usable_exec_prefix=$am__usable_prefix
15401 else
15402 am__usable_exec_prefix=$exec_prefix
15403 fi
15404 #
15405 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
15406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
15407 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
15408 if test ${am_cv_python_exec_prefix+y}
15409 then :
15410 printf %s "(cached) " >&6
15411 else $as_nop
15412 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
15413 fi
15414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
15415 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
15416 case $am_cv_python_exec_prefix in
15417 $am__usable_exec_prefix*)
15418 am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
15419 am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
15420 ;;
15421 *)
15422 am_python_exec_prefix_subst=$am_cv_python_exec_prefix
15423 ;;
15424 esac
15425 else # using GNU $exec_prefix, not python sys.exec_prefix
15426 am_python_exec_prefix_subst='${exec_prefix}'
15427 am_python_exec_prefix=$am_python_exec_prefix_subst
15428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
15429 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
15430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
15431 printf "%s\n" "$am_python_exec_prefix" >&6; }
15432 fi
15433 fi
15434 fi
15435
15436 # Substituting python_exec_prefix_subst.
15437 PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
15438
15439
15440 # Factor out some code duplication into this shell variable.
15441 am_python_setup_sysconfig="\
15442 import sys
15443 # Prefer sysconfig over distutils.sysconfig, for better compatibility
15444 # with python 3.x. See automake bug#10227.
15445 try:
15446 import sysconfig
15447 except ImportError:
15448 can_use_sysconfig = 0
15449 else:
15450 can_use_sysconfig = 1
15451 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
15452 # <https://github.com/pypa/virtualenv/issues/118>
15453 try:
15454 from platform import python_implementation
15455 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
15456 can_use_sysconfig = 0
15457 except ImportError:
15458 pass"
15459
15460
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
15462 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
15463 if test ${am_cv_python_pythondir+y}
15464 then :
15465 printf %s "(cached) " >&6
15466 else $as_nop
15467 if test "x$am_cv_python_prefix" = x; then
15468 am_py_prefix=$am__usable_prefix
15469 else
15470 am_py_prefix=$am_cv_python_prefix
15471 fi
15472 am_cv_python_pythondir=`$PYTHON -c "
15473 $am_python_setup_sysconfig
15474 if can_use_sysconfig:
15475 if hasattr(sysconfig, 'get_default_scheme'):
15476 scheme = sysconfig.get_default_scheme()
15477 else:
15478 scheme = sysconfig._get_default_scheme()
15479 if scheme == 'posix_local':
15480 # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
15481 scheme = 'posix_prefix'
15482 sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
15483 else:
15484 from distutils import sysconfig
15485 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
15486 sys.stdout.write(sitedir)"`
15487 #
15488 case $am_cv_python_pythondir in
15489 $am_py_prefix*)
15490 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
15491 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
15492 ;;
15493 *)
15494 case $am_py_prefix in
15495 /usr|/System*) ;;
15496 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
15497 ;;
15498 esac
15499 ;;
15500 esac
15501
15502 fi
15503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
15504 printf "%s\n" "$am_cv_python_pythondir" >&6; }
15505 pythondir=$am_cv_python_pythondir
15506
15507
15508 pkgpythondir=\${pythondir}/$PACKAGE
15509
15510
15511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
15512 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
15513 if test ${am_cv_python_pyexecdir+y}
15514 then :
15515 printf %s "(cached) " >&6
15516 else $as_nop
15517 if test "x$am_cv_python_exec_prefix" = x; then
15518 am_py_exec_prefix=$am__usable_exec_prefix
15519 else
15520 am_py_exec_prefix=$am_cv_python_exec_prefix
15521 fi
15522 am_cv_python_pyexecdir=`$PYTHON -c "
15523 $am_python_setup_sysconfig
15524 if can_use_sysconfig:
15525 if hasattr(sysconfig, 'get_default_scheme'):
15526 scheme = sysconfig.get_default_scheme()
15527 else:
15528 scheme = sysconfig._get_default_scheme()
15529 if scheme == 'posix_local':
15530 # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
15531 scheme = 'posix_prefix'
15532 sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
15533 else:
15534 from distutils import sysconfig
15535 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
15536 sys.stdout.write(sitedir)"`
15537 #
15538 case $am_cv_python_pyexecdir in
15539 $am_py_exec_prefix*)
15540 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
15541 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
15542 ;;
15543 *)
15544 case $am_py_exec_prefix in
15545 /usr|/System*) ;;
15546 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
15547 ;;
15548 esac
15549 ;;
15550 esac
15551
15552 fi
15553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15554 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
15555 pyexecdir=$am_cv_python_pyexecdir
15556
15557
15558 pkgpyexecdir=\${pyexecdir}/$PACKAGE
15559
15560
15561
15562 fi
15563
15564
15565
15566 pkg_failed=no
15567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
15568 printf %s "checking for PYTHON... " >&6; }
15569
15570 if test -n "$PYTHON_CFLAGS"; then
15571 pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
15572 elif test -n "$PKG_CONFIG"; then
15573 if test -n "$PKG_CONFIG" && \
15574 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\${PYTHON_VERSION}\""; } >&5
15575 ($PKG_CONFIG --exists --print-errors "python-${PYTHON_VERSION}") 2>&5
15576 ac_status=$?
15577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15578 test $ac_status = 0; }; then
15579 pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "python-${PYTHON_VERSION}" 2>/dev/null`
15580 test "x$?" != "x0" && pkg_failed=yes
15581 else
15582 pkg_failed=yes
15583 fi
15584 else
15585 pkg_failed=untried
15586 fi
15587 if test -n "$PYTHON_LIBS"; then
15588 pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
15589 elif test -n "$PKG_CONFIG"; then
15590 if test -n "$PKG_CONFIG" && \
15591 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\${PYTHON_VERSION}\""; } >&5
15592 ($PKG_CONFIG --exists --print-errors "python-${PYTHON_VERSION}") 2>&5
15593 ac_status=$?
15594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15595 test $ac_status = 0; }; then
15596 pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "python-${PYTHON_VERSION}" 2>/dev/null`
15597 test "x$?" != "x0" && pkg_failed=yes
15598 else
15599 pkg_failed=yes
15600 fi
15601 else
15602 pkg_failed=untried
15603 fi
15604
15605
15606
15607 if test $pkg_failed = yes; then
15608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609 printf "%s\n" "no" >&6; }
15610
15611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15612 _pkg_short_errors_supported=yes
15613 else
15614 _pkg_short_errors_supported=no
15615 fi
15616 if test $_pkg_short_errors_supported = yes; then
15617 PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-${PYTHON_VERSION}" 2>&1`
15618 else
15619 PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-${PYTHON_VERSION}" 2>&1`
15620 fi
15621 # Put the nasty error message in config.log where it belongs
15622 echo "$PYTHON_PKG_ERRORS" >&5
15623
15624 as_fn_error $? "Package requirements (python-${PYTHON_VERSION}) were not met:
15625
15626 $PYTHON_PKG_ERRORS
15627
15628 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15629 installed software in a non-standard prefix.
15630
15631 Alternatively, you may set the environment variables PYTHON_CFLAGS
15632 and PYTHON_LIBS to avoid the need to call pkg-config.
15633 See the pkg-config man page for more details." "$LINENO" 5
15634 elif test $pkg_failed = untried; then
15635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15636 printf "%s\n" "no" >&6; }
15637 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15638 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15639 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15640 is in your PATH or set the PKG_CONFIG environment variable to the full
15641 path to pkg-config.
15642
15643 Alternatively, you may set the environment variables PYTHON_CFLAGS
15644 and PYTHON_LIBS to avoid the need to call pkg-config.
15645 See the pkg-config man page for more details.
15646
15647 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15648 See \`config.log' for more details" "$LINENO" 5; }
15649 else
15650 PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS
15651 PYTHON_LIBS=$pkg_cv_PYTHON_LIBS
15652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15653 printf "%s\n" "yes" >&6; }
15654
15655 fi
15656
15657
15658
15659
15660 # Check whether --enable-runtime_deps_check was given.
15661 if test ${enable_runtime_deps_check+y}
15662 then :
15663 enableval=$enable_runtime_deps_check; enable_runtime_deps_check=$enableval
15664 else $as_nop
15665 enable_runtime_deps_check=yes
15666 fi
15667
15668
15669 if test "x$enable_runtime_deps_check" = "xyes"; then
15670 for ac_prog in ifconfig ip
15671 do
15672 # Extract the first word of "$ac_prog", so it can be a program name with args.
15673 set dummy $ac_prog; ac_word=$2
15674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15675 printf %s "checking for $ac_word... " >&6; }
15676 if test ${ac_cv_prog_NETWORKTOOLS+y}
15677 then :
15678 printf %s "(cached) " >&6
15679 else $as_nop
15680 if test -n "$NETWORKTOOLS"; then
15681 ac_cv_prog_NETWORKTOOLS="$NETWORKTOOLS" # Let the user override the test.
15682 else
15683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15684 for as_dir in $PATH
15685 do
15686 IFS=$as_save_IFS
15687 case $as_dir in #(((
15688 '') as_dir=./ ;;
15689 */) ;;
15690 *) as_dir=$as_dir/ ;;
15691 esac
15692 for ac_exec_ext in '' $ac_executable_extensions; do
15693 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15694 ac_cv_prog_NETWORKTOOLS="$ac_prog"
15695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15696 break 2
15697 fi
15698 done
15699 done
15700 IFS=$as_save_IFS
15701
15702 fi
15703 fi
15704 NETWORKTOOLS=$ac_cv_prog_NETWORKTOOLS
15705 if test -n "$NETWORKTOOLS"; then
15706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NETWORKTOOLS" >&5
15707 printf "%s\n" "$NETWORKTOOLS" >&6; }
15708 else
15709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15710 printf "%s\n" "no" >&6; }
15711 fi
15712
15713
15714 test -n "$NETWORKTOOLS" && break
15715 done
15716 test -n "$NETWORKTOOLS" || NETWORKTOOLS="no"
15717
15718 if test "x$NETWORKTOOLS" = "xno"; then
15719 as_fn_error $? "ifconfig or ip not found, install net-tools or iproute2" "$LINENO" 5
15720 fi
15721 fi
15722
15723
15724 pkg_failed=no
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5
15726 printf %s "checking for PYGOBJECT... " >&6; }
15727
15728 if test -n "$PYGOBJECT_CFLAGS"; then
15729 pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS"
15730 elif test -n "$PKG_CONFIG"; then
15731 if test -n "$PKG_CONFIG" && \
15732 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= 3.27.2\""; } >&5
15733 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= 3.27.2") 2>&5
15734 ac_status=$?
15735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15736 test $ac_status = 0; }; then
15737 pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= 3.27.2" 2>/dev/null`
15738 test "x$?" != "x0" && pkg_failed=yes
15739 else
15740 pkg_failed=yes
15741 fi
15742 else
15743 pkg_failed=untried
15744 fi
15745 if test -n "$PYGOBJECT_LIBS"; then
15746 pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS"
15747 elif test -n "$PKG_CONFIG"; then
15748 if test -n "$PKG_CONFIG" && \
15749 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= 3.27.2\""; } >&5
15750 ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= 3.27.2") 2>&5
15751 ac_status=$?
15752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15753 test $ac_status = 0; }; then
15754 pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= 3.27.2" 2>/dev/null`
15755 test "x$?" != "x0" && pkg_failed=yes
15756 else
15757 pkg_failed=yes
15758 fi
15759 else
15760 pkg_failed=untried
15761 fi
15762
15763
15764
15765 if test $pkg_failed = yes; then
15766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15767 printf "%s\n" "no" >&6; }
15768
15769 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15770 _pkg_short_errors_supported=yes
15771 else
15772 _pkg_short_errors_supported=no
15773 fi
15774 if test $_pkg_short_errors_supported = yes; then
15775 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= 3.27.2" 2>&1`
15776 else
15777 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= 3.27.2" 2>&1`
15778 fi
15779 # Put the nasty error message in config.log where it belongs
15780 echo "$PYGOBJECT_PKG_ERRORS" >&5
15781
15782 as_fn_error $? "Package requirements (pygobject-3.0 >= 3.27.2) were not met:
15783
15784 $PYGOBJECT_PKG_ERRORS
15785
15786 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15787 installed software in a non-standard prefix.
15788
15789 Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
15790 and PYGOBJECT_LIBS to avoid the need to call pkg-config.
15791 See the pkg-config man page for more details." "$LINENO" 5
15792 elif test $pkg_failed = untried; then
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15794 printf "%s\n" "no" >&6; }
15795 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15796 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15797 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15798 is in your PATH or set the PKG_CONFIG environment variable to the full
15799 path to pkg-config.
15800
15801 Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
15802 and PYGOBJECT_LIBS to avoid the need to call pkg-config.
15803 See the pkg-config man page for more details.
15804
15805 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15806 See \`config.log' for more details" "$LINENO" 5; }
15807 else
15808 PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS
15809 PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS
15810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15811 printf "%s\n" "yes" >&6; }
15812
15813 fi
15814
15815
15816
15817
15818 if test "x$CYTHONEXEC" = "x"; then
15819 for ac_prog in cython3 cython
15820 do
15821 # Extract the first word of "$ac_prog", so it can be a program name with args.
15822 set dummy $ac_prog; ac_word=$2
15823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15824 printf %s "checking for $ac_word... " >&6; }
15825 if test ${ac_cv_path_CYTHONEXEC+y}
15826 then :
15827 printf %s "(cached) " >&6
15828 else $as_nop
15829 case $CYTHONEXEC in
15830 [\\/]* | ?:[\\/]*)
15831 ac_cv_path_CYTHONEXEC="$CYTHONEXEC" # Let the user override the test with a path.
15832 ;;
15833 *)
15834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15835 for as_dir in $PATH
15836 do
15837 IFS=$as_save_IFS
15838 case $as_dir in #(((
15839 '') as_dir=./ ;;
15840 */) ;;
15841 *) as_dir=$as_dir/ ;;
15842 esac
15843 for ac_exec_ext in '' $ac_executable_extensions; do
15844 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15845 ac_cv_path_CYTHONEXEC="$as_dir$ac_word$ac_exec_ext"
15846 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15847 break 2
15848 fi
15849 done
15850 done
15851 IFS=$as_save_IFS
15852
15853 ;;
15854 esac
15855 fi
15856 CYTHONEXEC=$ac_cv_path_CYTHONEXEC
15857 if test -n "$CYTHONEXEC"; then
15858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CYTHONEXEC" >&5
15859 printf "%s\n" "$CYTHONEXEC" >&6; }
15860 else
15861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15862 printf "%s\n" "no" >&6; }
15863 fi
15864
15865
15866 test -n "$CYTHONEXEC" && break
15867 done
15868
15869 fi
15870
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cython executable" >&5
15872 printf %s "checking for cython executable... " >&6; }
15873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${CYTHONEXEC}" >&5
15874 printf "%s\n" "${CYTHONEXEC}" >&6; }
15875 if test "x$CYTHONEXEC" = "x"; then
15876 as_fn_error $? "\"Fatal: cython not found.
15877
15878 Get Cython from
15879 * your system's packages (recommended)
15880 * upstream at http://www.cython.org/
15881 \"" "$LINENO" 5
15882 fi
15883
15884
15885 if test "$sysconfdir" = "\${prefix}/etc" \
15886 && { test "$prefix" = "NONE" || test "$prefix" = "/usr" \
15887 || test "$prefix" = "/usr/" ; } ; then
15888 if test "$( (uname -s) )" = "Linux" ; then
15889 sysconfdir=/etc
15890 fi
15891 (
15892 prefix=$ac_default_prefix
15893 sysconfdir=`eval echo "$sysconfdir"`
15894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: configuration directory is \"$sysconfdir\"." >&5
15895 printf "%s\n" "$as_me: configuration directory is \"$sysconfdir\"." >&6;}
15896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: use --sysconfdir to override." >&5
15897 printf "%s\n" "$as_me: use --sysconfdir to override." >&6;}
15898 )
15899 fi
15900
15901
15902
15903
15904
15905 EXP_VAR=SYSCONFDIR
15906 FROM_VAR=$sysconfdir
15907
15908 prefix_save=$prefix
15909 exec_prefix_save=$exec_prefix
15910
15911 if test "x$prefix" = "xNONE"; then
15912 prefix=$ac_default_prefix
15913 fi
15914 if test "x$exec_prefix" = "xNONE"; then
15915 exec_prefix=$prefix
15916 fi
15917
15918 full_var="$FROM_VAR"
15919 while true; do
15920 new_full_var="`eval echo $full_var`"
15921 if test "x$new_full_var"="x$full_var"; then break; fi
15922 full_var=$new_full_var
15923 done
15924
15925 full_var=$new_full_var
15926 SYSCONFDIR="$full_var"
15927
15928
15929 prefix=$prefix_save
15930 exec_prefix=$exec_prefix_save
15931
15932
15933
15934 EXP_VAR=BINDIR
15935 FROM_VAR=$bindir
15936
15937 prefix_save=$prefix
15938 exec_prefix_save=$exec_prefix
15939
15940 if test "x$prefix" = "xNONE"; then
15941 prefix=$ac_default_prefix
15942 fi
15943 if test "x$exec_prefix" = "xNONE"; then
15944 exec_prefix=$prefix
15945 fi
15946
15947 full_var="$FROM_VAR"
15948 while true; do
15949 new_full_var="`eval echo $full_var`"
15950 if test "x$new_full_var"="x$full_var"; then break; fi
15951 full_var=$new_full_var
15952 done
15953
15954 full_var=$new_full_var
15955 BINDIR="$full_var"
15956
15957
15958 prefix=$prefix_save
15959 exec_prefix=$exec_prefix_save
15960
15961
15962
15963 EXP_VAR=DATADIR
15964 FROM_VAR=$datarootdir
15965
15966 prefix_save=$prefix
15967 exec_prefix_save=$exec_prefix
15968
15969 if test "x$prefix" = "xNONE"; then
15970 prefix=$ac_default_prefix
15971 fi
15972 if test "x$exec_prefix" = "xNONE"; then
15973 exec_prefix=$prefix
15974 fi
15975
15976 full_var="$FROM_VAR"
15977 while true; do
15978 new_full_var="`eval echo $full_var`"
15979 if test "x$new_full_var"="x$full_var"; then break; fi
15980 full_var=$new_full_var
15981 done
15982
15983 full_var=$new_full_var
15984 DATADIR="$full_var"
15985
15986
15987 prefix=$prefix_save
15988 exec_prefix=$exec_prefix_save
15989
15990
15991
15992 EXP_VAR=PYTHONDIR
15993 FROM_VAR=$pythondir
15994
15995 prefix_save=$prefix
15996 exec_prefix_save=$exec_prefix
15997
15998 if test "x$prefix" = "xNONE"; then
15999 prefix=$ac_default_prefix
16000 fi
16001 if test "x$exec_prefix" = "xNONE"; then
16002 exec_prefix=$prefix
16003 fi
16004
16005 full_var="$FROM_VAR"
16006 while true; do
16007 new_full_var="`eval echo $full_var`"
16008 if test "x$new_full_var"="x$full_var"; then break; fi
16009 full_var=$new_full_var
16010 done
16011
16012 full_var=$new_full_var
16013 PYTHONDIR="$full_var"
16014
16015
16016 prefix=$prefix_save
16017 exec_prefix=$exec_prefix_save
16018
16019
16020
16021
16022 EXP_VAR=PKGLIBDIR
16023 FROM_VAR=$libdir/blueman
16024
16025 prefix_save=$prefix
16026 exec_prefix_save=$exec_prefix
16027
16028 if test "x$prefix" = "xNONE"; then
16029 prefix=$ac_default_prefix
16030 fi
16031 if test "x$exec_prefix" = "xNONE"; then
16032 exec_prefix=$prefix
16033 fi
16034
16035 full_var="$FROM_VAR"
16036 while true; do
16037 new_full_var="`eval echo $full_var`"
16038 if test "x$new_full_var"="x$full_var"; then break; fi
16039 full_var=$new_full_var
16040 done
16041
16042 full_var=$new_full_var
16043 PKGLIBDIR="$full_var"
16044
16045
16046 prefix=$prefix_save
16047 exec_prefix=$exec_prefix_save
16048
16049
16050
16051
16052 EXP_VAR=LIBEXECDIR
16053 FROM_VAR=$libexecdir
16054
16055 prefix_save=$prefix
16056 exec_prefix_save=$exec_prefix
16057
16058 if test "x$prefix" = "xNONE"; then
16059 prefix=$ac_default_prefix
16060 fi
16061 if test "x$exec_prefix" = "xNONE"; then
16062 exec_prefix=$prefix
16063 fi
16064
16065 full_var="$FROM_VAR"
16066 while true; do
16067 new_full_var="`eval echo $full_var`"
16068 if test "x$new_full_var"="x$full_var"; then break; fi
16069 full_var=$new_full_var
16070 done
16071
16072 full_var=$new_full_var
16073 LIBEXECDIR="$full_var"
16074
16075
16076 prefix=$prefix_save
16077 exec_prefix=$exec_prefix_save
16078
16079
16080
16081
16082
16083 pkgdatadir="${DATADIR}/${PACKAGE}"
16084
16085
16086 icondir="${DATADIR}/icons"
16087
16088
16089
16090 EXP_VAR=LOCALEDIR
16091 FROM_VAR=$datarootdir/locale
16092
16093 prefix_save=$prefix
16094 exec_prefix_save=$exec_prefix
16095
16096 if test "x$prefix" = "xNONE"; then
16097 prefix=$ac_default_prefix
16098 fi
16099 if test "x$exec_prefix" = "xNONE"; then
16100 exec_prefix=$prefix
16101 fi
16102
16103 full_var="$FROM_VAR"
16104 while true; do
16105 new_full_var="`eval echo $full_var`"
16106 if test "x$new_full_var"="x$full_var"; then break; fi
16107 full_var=$new_full_var
16108 done
16109
16110 full_var=$new_full_var
16111 LOCALEDIR="$full_var"
16112
16113
16114 prefix=$prefix_save
16115 exec_prefix=$exec_prefix_save
16116
16117
16118
16119
16120 EXP_VAR=DOCDIR
16121 FROM_VAR=$docdir
16122
16123 prefix_save=$prefix
16124 exec_prefix_save=$exec_prefix
16125
16126 if test "x$prefix" = "xNONE"; then
16127 prefix=$ac_default_prefix
16128 fi
16129 if test "x$exec_prefix" = "xNONE"; then
16130 exec_prefix=$prefix
16131 fi
16132
16133 full_var="$FROM_VAR"
16134 while true; do
16135 new_full_var="`eval echo $full_var`"
16136 if test "x$new_full_var"="x$full_var"; then break; fi
16137 full_var=$new_full_var
16138 done
16139
16140 full_var=$new_full_var
16141 DOCDIR="$full_var"
16142
16143
16144 prefix=$prefix_save
16145 exec_prefix=$exec_prefix_save
16146
16147
16148
16149
16150
16151 # Check whether --with-dhcp_config was given.
16152 if test ${with_dhcp_config+y}
16153 then :
16154 withval=$with_dhcp_config; dhconfig="$withval"
16155 else $as_nop
16156 dhconfig='/etc/dhcp3/dhcpd.conf'
16157 fi
16158
16159
16160
16161
16162
16163 # Check whether --enable-polkit was given.
16164 if test ${enable_polkit+y}
16165 then :
16166 enableval=$enable_polkit; enable_polkit=$enableval
16167 else $as_nop
16168 enable_polkit=yes
16169 fi
16170
16171
16172 if test "x$enable_polkit" = "xyes"
16173 then :
16174
16175 pkg_failed=no
16176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5
16177 printf %s "checking for POLKIT... " >&6; }
16178
16179 if test -n "$POLKIT_CFLAGS"; then
16180 pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS"
16181 elif test -n "$PKG_CONFIG"; then
16182 if test -n "$PKG_CONFIG" && \
16183 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-agent-1\""; } >&5
16184 ($PKG_CONFIG --exists --print-errors "polkit-agent-1") 2>&5
16185 ac_status=$?
16186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16187 test $ac_status = 0; }; then
16188 pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-agent-1" 2>/dev/null`
16189 test "x$?" != "x0" && pkg_failed=yes
16190 else
16191 pkg_failed=yes
16192 fi
16193 else
16194 pkg_failed=untried
16195 fi
16196 if test -n "$POLKIT_LIBS"; then
16197 pkg_cv_POLKIT_LIBS="$POLKIT_LIBS"
16198 elif test -n "$PKG_CONFIG"; then
16199 if test -n "$PKG_CONFIG" && \
16200 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-agent-1\""; } >&5
16201 ($PKG_CONFIG --exists --print-errors "polkit-agent-1") 2>&5
16202 ac_status=$?
16203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16204 test $ac_status = 0; }; then
16205 pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-agent-1" 2>/dev/null`
16206 test "x$?" != "x0" && pkg_failed=yes
16207 else
16208 pkg_failed=yes
16209 fi
16210 else
16211 pkg_failed=untried
16212 fi
16213
16214
16215
16216 if test $pkg_failed = yes; then
16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16218 printf "%s\n" "no" >&6; }
16219
16220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16221 _pkg_short_errors_supported=yes
16222 else
16223 _pkg_short_errors_supported=no
16224 fi
16225 if test $_pkg_short_errors_supported = yes; then
16226 POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "polkit-agent-1" 2>&1`
16227 else
16228 POLKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "polkit-agent-1" 2>&1`
16229 fi
16230 # Put the nasty error message in config.log where it belongs
16231 echo "$POLKIT_PKG_ERRORS" >&5
16232
16233 have_polkit=no
16234 elif test $pkg_failed = untried; then
16235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16236 printf "%s\n" "no" >&6; }
16237 have_polkit=no
16238 else
16239 POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS
16240 POLKIT_LIBS=$pkg_cv_POLKIT_LIBS
16241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16242 printf "%s\n" "yes" >&6; }
16243 have_polkit=yes
16244 fi
16245 else $as_nop
16246 have_polkit=no
16247 fi
16248
16249 if test "x$have_polkit" = "xyes"; then
16250 HAVE_POLKIT_TRUE=
16251 HAVE_POLKIT_FALSE='#'
16252 else
16253 HAVE_POLKIT_TRUE='#'
16254 HAVE_POLKIT_FALSE=
16255 fi
16256
16257
16258 if test "x$have_polkit" = "xyes"
16259 then :
16260 POLKIT=True
16261 else $as_nop
16262 POLKIT=False
16263 fi
16264
16265
16266
16267 # Check whether --enable-caja-sendto was given.
16268 if test ${enable_caja_sendto+y}
16269 then :
16270 enableval=$enable_caja_sendto; enable_caja=$enableval
16271 else $as_nop
16272 enable_caja=yes
16273 fi
16274
16275
16276 if test "x$enable_caja" = "xyes"
16277 then :
16278 if test -n "$PKG_CONFIG" && \
16279 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"caja-python\""; } >&5
16280 ($PKG_CONFIG --exists --print-errors "caja-python") 2>&5
16281 ac_status=$?
16282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16283 test $ac_status = 0; }; then
16284 have_caja_python=yes
16285 else
16286 have_caja_python=no
16287 fi
16288 else $as_nop
16289 have_caja_python=no
16290 fi
16291
16292 if test "x$have_caja_python" = "xyes"; then
16293 HAVE_CAJA_PYTHON_TRUE=
16294 HAVE_CAJA_PYTHON_FALSE='#'
16295 else
16296 HAVE_CAJA_PYTHON_TRUE='#'
16297 HAVE_CAJA_PYTHON_FALSE=
16298 fi
16299
16300
16301 # Check whether --enable-nemo-sendto was given.
16302 if test ${enable_nemo_sendto+y}
16303 then :
16304 enableval=$enable_nemo_sendto; enable_nemo=$enableval
16305 else $as_nop
16306 enable_nemo=yes
16307 fi
16308
16309
16310 if test "x$enable_nemo" = "xyes"
16311 then :
16312 if test -n "$PKG_CONFIG" && \
16313 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nemo-python\""; } >&5
16314 ($PKG_CONFIG --exists --print-errors "nemo-python") 2>&5
16315 ac_status=$?
16316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16317 test $ac_status = 0; }; then
16318 have_nemo_python=yes
16319 else
16320 have_nemo_python=no
16321 fi
16322 else $as_nop
16323 have_nemo_python=no
16324 fi
16325
16326 if test "x$have_nemo_python" = "xyes"; then
16327 HAVE_NEMO_PYTHON_TRUE=
16328 HAVE_NEMO_PYTHON_FALSE='#'
16329 else
16330 HAVE_NEMO_PYTHON_TRUE='#'
16331 HAVE_NEMO_PYTHON_FALSE=
16332 fi
16333
16334
16335 # Check whether --enable-nautilus-sendto was given.
16336 if test ${enable_nautilus_sendto+y}
16337 then :
16338 enableval=$enable_nautilus_sendto; enable_nautilus=$enableval
16339 else $as_nop
16340 enable_nautilus=yes
16341 fi
16342
16343
16344 if test "x$enable_nautilus" = "xyes"
16345 then :
16346 if test -n "$PKG_CONFIG" && \
16347 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nautilus-python\""; } >&5
16348 ($PKG_CONFIG --exists --print-errors "nautilus-python") 2>&5
16349 ac_status=$?
16350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16351 test $ac_status = 0; }; then
16352 have_nautilus_python=yes
16353 else
16354 have_nautilus_python=no
16355 fi
16356 else $as_nop
16357 have_nautilus_python=no
16358 fi
16359
16360 if test "x$have_nautilus_python" = "xyes"; then
16361 HAVE_NAUTILUS_PYTHON_TRUE=
16362 HAVE_NAUTILUS_PYTHON_FALSE='#'
16363 else
16364 HAVE_NAUTILUS_PYTHON_TRUE='#'
16365 HAVE_NAUTILUS_PYTHON_FALSE=
16366 fi
16367
16368
16369 # Check whether --enable-thunar-sendto was given.
16370 if test ${enable_thunar_sendto+y}
16371 then :
16372 enableval=$enable_thunar_sendto; have_thunar=$enableval
16373 else $as_nop
16374 have_thunar=yes
16375 fi
16376
16377
16378 if test "x$have_thunar" = "xyes"; then
16379 HAVE_THUNAR_TRUE=
16380 HAVE_THUNAR_FALSE='#'
16381 else
16382 HAVE_THUNAR_TRUE='#'
16383 HAVE_THUNAR_FALSE=
16384 fi
16385
16386
16387 # Check whether --enable-settings-integration was given.
16388 if test ${enable_settings_integration+y}
16389 then :
16390 enableval=$enable_settings_integration; have_settings=$enableval
16391 else $as_nop
16392 have_settings=yes
16393 fi
16394
16395
16396 if test "x$have_settings" = "xyes"; then
16397 HAVE_SETTINGS_TRUE=
16398 HAVE_SETTINGS_FALSE='#'
16399 else
16400 HAVE_SETTINGS_TRUE='#'
16401 HAVE_SETTINGS_FALSE=
16402 fi
16403
16404
16405
16406
16407 pkg_failed=no
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BLUEZ" >&5
16409 printf %s "checking for BLUEZ... " >&6; }
16410
16411 if test -n "$BLUEZ_CFLAGS"; then
16412 pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
16413 elif test -n "$PKG_CONFIG"; then
16414 if test -n "$PKG_CONFIG" && \
16415 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez >= 5.0 gthread-2.0 >= 2.32\""; } >&5
16416 ($PKG_CONFIG --exists --print-errors "bluez >= 5.0 gthread-2.0 >= 2.32") 2>&5
16417 ac_status=$?
16418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16419 test $ac_status = 0; }; then
16420 pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags "bluez >= 5.0 gthread-2.0 >= 2.32" 2>/dev/null`
16421 test "x$?" != "x0" && pkg_failed=yes
16422 else
16423 pkg_failed=yes
16424 fi
16425 else
16426 pkg_failed=untried
16427 fi
16428 if test -n "$BLUEZ_LIBS"; then
16429 pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
16430 elif test -n "$PKG_CONFIG"; then
16431 if test -n "$PKG_CONFIG" && \
16432 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bluez >= 5.0 gthread-2.0 >= 2.32\""; } >&5
16433 ($PKG_CONFIG --exists --print-errors "bluez >= 5.0 gthread-2.0 >= 2.32") 2>&5
16434 ac_status=$?
16435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16436 test $ac_status = 0; }; then
16437 pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs "bluez >= 5.0 gthread-2.0 >= 2.32" 2>/dev/null`
16438 test "x$?" != "x0" && pkg_failed=yes
16439 else
16440 pkg_failed=yes
16441 fi
16442 else
16443 pkg_failed=untried
16444 fi
16445
16446
16447
16448 if test $pkg_failed = yes; then
16449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16450 printf "%s\n" "no" >&6; }
16451
16452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16453 _pkg_short_errors_supported=yes
16454 else
16455 _pkg_short_errors_supported=no
16456 fi
16457 if test $_pkg_short_errors_supported = yes; then
16458 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bluez >= 5.0 gthread-2.0 >= 2.32" 2>&1`
16459 else
16460 BLUEZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bluez >= 5.0 gthread-2.0 >= 2.32" 2>&1`
16461 fi
16462 # Put the nasty error message in config.log where it belongs
16463 echo "$BLUEZ_PKG_ERRORS" >&5
16464
16465 as_fn_error $? "Package requirements (bluez >= 5.0 gthread-2.0 >= 2.32) were not met:
16466
16467 $BLUEZ_PKG_ERRORS
16468
16469 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16470 installed software in a non-standard prefix.
16471
16472 Alternatively, you may set the environment variables BLUEZ_CFLAGS
16473 and BLUEZ_LIBS to avoid the need to call pkg-config.
16474 See the pkg-config man page for more details." "$LINENO" 5
16475 elif test $pkg_failed = untried; then
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16477 printf "%s\n" "no" >&6; }
16478 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16479 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
16480 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16481 is in your PATH or set the PKG_CONFIG environment variable to the full
16482 path to pkg-config.
16483
16484 Alternatively, you may set the environment variables BLUEZ_CFLAGS
16485 and BLUEZ_LIBS to avoid the need to call pkg-config.
16486 See the pkg-config man page for more details.
16487
16488 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16489 See \`config.log' for more details" "$LINENO" 5; }
16490 else
16491 BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
16492 BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
16493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16494 printf "%s\n" "yes" >&6; }
16495
16496 fi
16497
16498
16499
16500
16501
16502 # Check whether --enable-pulseaudio was given.
16503 if test ${enable_pulseaudio+y}
16504 then :
16505 enableval=$enable_pulseaudio; use_pulseaudio=$enableval
16506 else $as_nop
16507 use_pulseaudio=yes
16508 fi
16509
16510
16511 if test "x$use_pulseaudio" = "xyes"; then
16512 HAVE_PULSEAUDIO_TRUE=
16513 HAVE_PULSEAUDIO_FALSE='#'
16514 else
16515 HAVE_PULSEAUDIO_TRUE='#'
16516 HAVE_PULSEAUDIO_FALSE=
16517 fi
16518
16519
16520
16521
16522 # Check whether --with-systemdsystemunitdir was given.
16523 if test ${with_systemdsystemunitdir+y}
16524 then :
16525 withval=$with_systemdsystemunitdir; systemd_system_unit_dir="$withval"
16526 else $as_nop
16527
16528 if test -n "$systemd_system_unit_dir"; then
16529 pkg_cv_systemd_system_unit_dir="$systemd_system_unit_dir"
16530 elif test -n "$PKG_CONFIG"; then
16531 if test -n "$PKG_CONFIG" && \
16532 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
16533 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
16534 ac_status=$?
16535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16536 test $ac_status = 0; }; then
16537 pkg_cv_systemd_system_unit_dir=`$PKG_CONFIG --variable="systemdsystemunitdir" "systemd" 2>/dev/null`
16538 test "x$?" != "x0" && pkg_failed=yes
16539 else
16540 pkg_failed=yes
16541 fi
16542 else
16543 pkg_failed=untried
16544 fi
16545 systemd_system_unit_dir=$pkg_cv_systemd_system_unit_dir
16546
16547 if test "x$systemd_system_unit_dir" = x""
16548 then :
16549 systemd_system_unit_dir='/usr/lib/systemd/system'
16550 fi
16551 fi
16552
16553
16554 if test "x$systemd_system_unit_dir" != "xno"; then
16555 SYSTEMD_SYSTEM_UNIT_DIR_TRUE=
16556 SYSTEMD_SYSTEM_UNIT_DIR_FALSE='#'
16557 else
16558 SYSTEMD_SYSTEM_UNIT_DIR_TRUE='#'
16559 SYSTEMD_SYSTEM_UNIT_DIR_FALSE=
16560 fi
16561
16562
16563
16564 # Check whether --with-systemduserunitdir was given.
16565 if test ${with_systemduserunitdir+y}
16566 then :
16567 withval=$with_systemduserunitdir; systemd_user_unit_dir="$withval"
16568 else $as_nop
16569
16570 if test -n "$systemd_user_unit_dir"; then
16571 pkg_cv_systemd_user_unit_dir="$systemd_user_unit_dir"
16572 elif test -n "$PKG_CONFIG"; then
16573 if test -n "$PKG_CONFIG" && \
16574 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
16575 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
16576 ac_status=$?
16577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16578 test $ac_status = 0; }; then
16579 pkg_cv_systemd_user_unit_dir=`$PKG_CONFIG --variable="systemduserunitdir" "systemd" 2>/dev/null`
16580 test "x$?" != "x0" && pkg_failed=yes
16581 else
16582 pkg_failed=yes
16583 fi
16584 else
16585 pkg_failed=untried
16586 fi
16587 systemd_user_unit_dir=$pkg_cv_systemd_user_unit_dir
16588
16589 if test "x$systemd_user_unit_dir" = x""
16590 then :
16591 systemd_user_unit_dir='/usr/lib/systemd/user'
16592 fi
16593 fi
16594
16595
16596 if test "x$systemd_user_unit_dir" != "xno"; then
16597 SYSTEMD_USER_UNIT_DIR_TRUE=
16598 SYSTEMD_USER_UNIT_DIR_FALSE='#'
16599 else
16600 SYSTEMD_USER_UNIT_DIR_TRUE='#'
16601 SYSTEMD_USER_UNIT_DIR_FALSE=
16602 fi
16603
16604
16605 # GSettings related settings
16606
16607
16608
16609
16610 # Check whether --enable-schemas-compile was given.
16611 if test ${enable_schemas_compile+y}
16612 then :
16613 enableval=$enable_schemas_compile; case ${enableval} in
16614 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
16615 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
16616 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
16617 esac
16618 fi
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16629 if test -n "$ac_tool_prefix"; then
16630 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16631 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16633 printf %s "checking for $ac_word... " >&6; }
16634 if test ${ac_cv_path_PKG_CONFIG+y}
16635 then :
16636 printf %s "(cached) " >&6
16637 else $as_nop
16638 case $PKG_CONFIG in
16639 [\\/]* | ?:[\\/]*)
16640 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16641 ;;
16642 *)
16643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16644 for as_dir in $PATH
16645 do
16646 IFS=$as_save_IFS
16647 case $as_dir in #(((
16648 '') as_dir=./ ;;
16649 */) ;;
16650 *) as_dir=$as_dir/ ;;
16651 esac
16652 for ac_exec_ext in '' $ac_executable_extensions; do
16653 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16654 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
16655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16656 break 2
16657 fi
16658 done
16659 done
16660 IFS=$as_save_IFS
16661
16662 ;;
16663 esac
16664 fi
16665 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16666 if test -n "$PKG_CONFIG"; then
16667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16668 printf "%s\n" "$PKG_CONFIG" >&6; }
16669 else
16670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16671 printf "%s\n" "no" >&6; }
16672 fi
16673
16674
16675 fi
16676 if test -z "$ac_cv_path_PKG_CONFIG"; then
16677 ac_pt_PKG_CONFIG=$PKG_CONFIG
16678 # Extract the first word of "pkg-config", so it can be a program name with args.
16679 set dummy pkg-config; ac_word=$2
16680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16681 printf %s "checking for $ac_word... " >&6; }
16682 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
16683 then :
16684 printf %s "(cached) " >&6
16685 else $as_nop
16686 case $ac_pt_PKG_CONFIG in
16687 [\\/]* | ?:[\\/]*)
16688 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16689 ;;
16690 *)
16691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16692 for as_dir in $PATH
16693 do
16694 IFS=$as_save_IFS
16695 case $as_dir in #(((
16696 '') as_dir=./ ;;
16697 */) ;;
16698 *) as_dir=$as_dir/ ;;
16699 esac
16700 for ac_exec_ext in '' $ac_executable_extensions; do
16701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16702 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
16703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16704 break 2
16705 fi
16706 done
16707 done
16708 IFS=$as_save_IFS
16709
16710 ;;
16711 esac
16712 fi
16713 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16714 if test -n "$ac_pt_PKG_CONFIG"; then
16715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16716 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
16717 else
16718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16719 printf "%s\n" "no" >&6; }
16720 fi
16721
16722 if test "x$ac_pt_PKG_CONFIG" = x; then
16723 PKG_CONFIG=""
16724 else
16725 case $cross_compiling:$ac_tool_warned in
16726 yes:)
16727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16728 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16729 ac_tool_warned=yes ;;
16730 esac
16731 PKG_CONFIG=$ac_pt_PKG_CONFIG
16732 fi
16733 else
16734 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16735 fi
16736
16737 fi
16738 if test -n "$PKG_CONFIG"; then
16739 _pkg_min_version=0.16
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16741 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16742 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16744 printf "%s\n" "yes" >&6; }
16745 else
16746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16747 printf "%s\n" "no" >&6; }
16748 PKG_CONFIG=""
16749 fi
16750 fi
16751 gsettingsschemadir=${datadir}/glib-2.0/schemas
16752
16753 if test x$cross_compiling != xyes
16754 then :
16755
16756 if test -n "$GLIB_COMPILE_SCHEMAS"; then
16757 pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS"
16758 elif test -n "$PKG_CONFIG"; then
16759 if test -n "$PKG_CONFIG" && \
16760 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
16761 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
16762 ac_status=$?
16763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16764 test $ac_status = 0; }; then
16765 pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null`
16766 test "x$?" != "x0" && pkg_failed=yes
16767 else
16768 pkg_failed=yes
16769 fi
16770 else
16771 pkg_failed=untried
16772 fi
16773 GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS
16774
16775 if test "x$GLIB_COMPILE_SCHEMAS" = x""
16776 then :
16777
16778 fi
16779 else $as_nop
16780 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
16781 set dummy glib-compile-schemas; ac_word=$2
16782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16783 printf %s "checking for $ac_word... " >&6; }
16784 if test ${ac_cv_path_GLIB_COMPILE_SCHEMAS+y}
16785 then :
16786 printf %s "(cached) " >&6
16787 else $as_nop
16788 case $GLIB_COMPILE_SCHEMAS in
16789 [\\/]* | ?:[\\/]*)
16790 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
16791 ;;
16792 *)
16793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16794 for as_dir in $PATH
16795 do
16796 IFS=$as_save_IFS
16797 case $as_dir in #(((
16798 '') as_dir=./ ;;
16799 */) ;;
16800 *) as_dir=$as_dir/ ;;
16801 esac
16802 for ac_exec_ext in '' $ac_executable_extensions; do
16803 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16804 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir$ac_word$ac_exec_ext"
16805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16806 break 2
16807 fi
16808 done
16809 done
16810 IFS=$as_save_IFS
16811
16812 ;;
16813 esac
16814 fi
16815 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
16816 if test -n "$GLIB_COMPILE_SCHEMAS"; then
16817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
16818 printf "%s\n" "$GLIB_COMPILE_SCHEMAS" >&6; }
16819 else
16820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16821 printf "%s\n" "no" >&6; }
16822 fi
16823
16824
16825 fi
16826
16827 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
16828 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
16829 else
16830 :
16831 fi
16832
16833 GSETTINGS_RULES='
16834 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
16835
16836 mostlyclean-am: clean-gsettings-schemas
16837
16838 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
16839
16840 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
16841 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
16842
16843 all-am: $(gsettings_SCHEMAS:.xml=.valid)
16844 uninstall-am: uninstall-gsettings-schemas
16845 install-data-am: install-gsettings-schemas
16846
16847 .SECONDARY: $(gsettings_SCHEMAS)
16848
16849 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
16850 @$(NORMAL_INSTALL)
16851 if test -n "$^"; then \
16852 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
16853 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
16854 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
16855 fi
16856
16857 uninstall-gsettings-schemas:
16858 @$(NORMAL_UNINSTALL)
16859 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
16860 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
16861 test -n "$$files" || exit 0; \
16862 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
16863 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
16864 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
16865
16866 clean-gsettings-schemas:
16867 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
16868
16869 ifdef gsettings_ENUM_NAMESPACE
16870 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
16871 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > [email protected] && mv [email protected] $@
16872 endif
16873 '
16874
16875
16876
16877
16878
16879
16880
16881 ac_config_files="$ac_config_files Makefile apps/Makefile apps/blueman-adapters apps/blueman-applet apps/blueman-manager apps/blueman-mechanism apps/blueman-rfcomm-watcher apps/blueman-sendto apps/blueman-services apps/blueman-tray blueman/Makefile blueman/Constants.py blueman/bluez/Makefile blueman/bluez/obex/Makefile blueman/config/Makefile blueman/gui/Makefile blueman/gui/applet/Makefile blueman/gui/manager/Makefile blueman/plugins/Makefile blueman/plugins/services/Makefile blueman/plugins/applet/Makefile blueman/plugins/mechanism/Makefile blueman/plugins/manager/Makefile blueman/main/Makefile blueman/main/applet/Makefile blueman/main/indicators/Makefile blueman/services/Makefile blueman/services/meta/Makefile data/Makefile data/configs/Makefile data/icons/Makefile data/icons/hicolor/Makefile data/icons/hicolor/16x16/Makefile data/icons/hicolor/16x16/devices/Makefile data/icons/hicolor/16x16/status/Makefile data/icons/hicolor/16x16/apps/Makefile data/icons/hicolor/22x22/Makefile data/icons/hicolor/22x22/status/Makefile data/icons/hicolor/22x22/apps/Makefile data/icons/hicolor/24x24/Makefile data/icons/hicolor/24x24/status/Makefile data/icons/hicolor/24x24/apps/Makefile data/icons/hicolor/32x32/Makefile data/icons/hicolor/32x32/status/Makefile data/icons/hicolor/32x32/apps/Makefile data/icons/hicolor/48x48/Makefile data/icons/hicolor/48x48/status/Makefile data/icons/hicolor/48x48/apps/Makefile data/icons/hicolor/64x64/Makefile data/icons/hicolor/64x64/status/Makefile data/icons/hicolor/64x64/apps/Makefile data/icons/hicolor/72x72/Makefile data/icons/hicolor/72x72/status/Makefile data/icons/hicolor/72x72/apps/Makefile data/icons/hicolor/96x96/Makefile data/icons/hicolor/96x96/status/Makefile data/icons/hicolor/96x96/apps/Makefile data/icons/hicolor/128x128/Makefile data/icons/hicolor/128x128/status/Makefile data/icons/hicolor/128x128/apps/Makefile data/icons/hicolor/192x192/Makefile data/icons/hicolor/192x192/status/Makefile data/icons/hicolor/192x192/apps/Makefile data/icons/hicolor/256x256/Makefile data/icons/hicolor/256x256/status/Makefile data/icons/hicolor/256x256/apps/Makefile data/icons/hicolor/scalable/Makefile data/icons/hicolor/scalable/devices/Makefile data/icons/hicolor/scalable/emblems/Makefile data/icons/hicolor/scalable/actions/Makefile data/icons/hicolor/scalable/status/Makefile data/icons/hicolor/scalable/apps/Makefile data/icons/pixmaps/Makefile data/ui/Makefile data/man/Makefile data/configs/blueman-applet.service data/configs/blueman-manager.service data/configs/blueman-mechanism.service data/configs/org.blueman.Applet.service data/configs/org.blueman.Manager.service data/configs/org.blueman.Mechanism.service module/Makefile po/Makefile.in sendto/Makefile test/Makefile test/apps/Makefile test/bluez/Makefile test/bluez/obex/Makefile test/gui/Makefile test/gui/applet/Makefile test/gui/manager/Makefile test/main/Makefile test/main/applet/Makefile test/main/indicators/Makefile test/module/Makefile test/plugins/Makefile test/plugins/applet/Makefile test/plugins/manager/Makefile test/plugins/mechanism/Makefile test/plugins/services/Makefile test/services/Makefile test/services/meta/Makefile test/testhelpers/Makefile"
16882
16883 cat >confcache <<\_ACEOF
16884 # This file is a shell script that caches the results of configure
16885 # tests run on this system so they can be shared between configure
16886 # scripts and configure runs, see configure's option --config-cache.
16887 # It is not useful on other systems. If it contains results you don't
16888 # want to keep, you may remove or edit it.
16889 #
16890 # config.status only pays attention to the cache file if you give it
16891 # the --recheck option to rerun configure.
16892 #
16893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16895 # following values.
16896
16897 _ACEOF
16898
16899 # The following way of writing the cache mishandles newlines in values,
16900 # but we know of no workaround that is simple, portable, and efficient.
16901 # So, we kill variables containing newlines.
16902 # Ultrix sh set writes to stderr and can't be redirected directly,
16903 # and sets the high bit in the cache file unless we assign to the vars.
16904 (
16905 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16906 eval ac_val=\$$ac_var
16907 case $ac_val in #(
16908 *${as_nl}*)
16909 case $ac_var in #(
16910 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16911 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16912 esac
16913 case $ac_var in #(
16914 _ | IFS | as_nl) ;; #(
16915 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16916 *) { eval $ac_var=; unset $ac_var;} ;;
16917 esac ;;
16918 esac
16919 done
16920
16921 (set) 2>&1 |
16922 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16923 *${as_nl}ac_space=\ *)
16924 # `set' does not quote correctly, so add quotes: double-quote
16925 # substitution turns \\\\ into \\, and sed turns \\ into \.
16926 sed -n \
16927 "s/'/'\\\\''/g;
16928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16929 ;; #(
16930 *)
16931 # `set' quotes correctly as required by POSIX, so do not add quotes.
16932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16933 ;;
16934 esac |
16935 sort
16936 ) |
16937 sed '
16938 /^ac_cv_env_/b end
16939 t clear
16940 :clear
16941 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
16942 t end
16943 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16944 :end' >>confcache
16945 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16946 if test -w "$cache_file"; then
16947 if test "x$cache_file" != "x/dev/null"; then
16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16949 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
16950 if test ! -f "$cache_file" || test -h "$cache_file"; then
16951 cat confcache >"$cache_file"
16952 else
16953 case $cache_file in #(
16954 */* | ?:*)
16955 mv -f confcache "$cache_file"$$ &&
16956 mv -f "$cache_file"$$ "$cache_file" ;; #(
16957 *)
16958 mv -f confcache "$cache_file" ;;
16959 esac
16960 fi
16961 fi
16962 else
16963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16964 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
16965 fi
16966 fi
16967 rm -f confcache
16968
16969 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16970 # Let make expand exec_prefix.
16971 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16972
16973 DEFS=-DHAVE_CONFIG_H
16974
16975 ac_libobjs=
16976 ac_ltlibobjs=
16977 U=
16978 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16979 # 1. Remove the extension, and $U if already installed.
16980 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16981 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
16982 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16983 # will be set to the directory where LIBOBJS objects are built.
16984 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16985 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16986 done
16987 LIBOBJS=$ac_libobjs
16988
16989 LTLIBOBJS=$ac_ltlibobjs
16990
16991
16992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16993 printf %s "checking that generated files are newer than configure... " >&6; }
16994 if test -n "$am_sleep_pid"; then
16995 # Hide warnings about reused PIDs.
16996 wait $am_sleep_pid 2>/dev/null
16997 fi
16998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
16999 printf "%s\n" "done" >&6; }
17000 if test -n "$EXEEXT"; then
17001 am__EXEEXT_TRUE=
17002 am__EXEEXT_FALSE='#'
17003 else
17004 am__EXEEXT_TRUE='#'
17005 am__EXEEXT_FALSE=
17006 fi
17007
17008 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17009 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17011 fi
17012 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17013 as_fn_error $? "conditional \"AMDEP\" was never defined.
17014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17015 fi
17016 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17017 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17019 fi
17020 if test -z "${HAVE_POLKIT_TRUE}" && test -z "${HAVE_POLKIT_FALSE}"; then
17021 as_fn_error $? "conditional \"HAVE_POLKIT\" was never defined.
17022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17023 fi
17024 if test -z "${HAVE_CAJA_PYTHON_TRUE}" && test -z "${HAVE_CAJA_PYTHON_FALSE}"; then
17025 as_fn_error $? "conditional \"HAVE_CAJA_PYTHON\" was never defined.
17026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17027 fi
17028 if test -z "${HAVE_NEMO_PYTHON_TRUE}" && test -z "${HAVE_NEMO_PYTHON_FALSE}"; then
17029 as_fn_error $? "conditional \"HAVE_NEMO_PYTHON\" was never defined.
17030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17031 fi
17032 if test -z "${HAVE_NAUTILUS_PYTHON_TRUE}" && test -z "${HAVE_NAUTILUS_PYTHON_FALSE}"; then
17033 as_fn_error $? "conditional \"HAVE_NAUTILUS_PYTHON\" was never defined.
17034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17035 fi
17036 if test -z "${HAVE_THUNAR_TRUE}" && test -z "${HAVE_THUNAR_FALSE}"; then
17037 as_fn_error $? "conditional \"HAVE_THUNAR\" was never defined.
17038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17039 fi
17040 if test -z "${HAVE_SETTINGS_TRUE}" && test -z "${HAVE_SETTINGS_FALSE}"; then
17041 as_fn_error $? "conditional \"HAVE_SETTINGS\" was never defined.
17042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17043 fi
17044 if test -z "${HAVE_PULSEAUDIO_TRUE}" && test -z "${HAVE_PULSEAUDIO_FALSE}"; then
17045 as_fn_error $? "conditional \"HAVE_PULSEAUDIO\" was never defined.
17046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17047 fi
17048 if test -z "${SYSTEMD_SYSTEM_UNIT_DIR_TRUE}" && test -z "${SYSTEMD_SYSTEM_UNIT_DIR_FALSE}"; then
17049 as_fn_error $? "conditional \"SYSTEMD_SYSTEM_UNIT_DIR\" was never defined.
17050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17051 fi
17052 if test -z "${SYSTEMD_USER_UNIT_DIR_TRUE}" && test -z "${SYSTEMD_USER_UNIT_DIR_FALSE}"; then
17053 as_fn_error $? "conditional \"SYSTEMD_USER_UNIT_DIR\" was never defined.
17054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17055 fi
17056
17057 : "${CONFIG_STATUS=./config.status}"
17058 ac_write_fail=0
17059 ac_clean_files_save=$ac_clean_files
17060 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17062 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17063 as_write_fail=0
17064 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17065 #! $SHELL
17066 # Generated by $as_me.
17067 # Run this file to recreate the current configuration.
17068 # Compiler output produced by configure, useful for debugging
17069 # configure, is in config.log if it exists.
17070
17071 debug=false
17072 ac_cs_recheck=false
17073 ac_cs_silent=false
17074
17075 SHELL=\${CONFIG_SHELL-$SHELL}
17076 export SHELL
17077 _ASEOF
17078 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17079 ## -------------------- ##
17080 ## M4sh Initialization. ##
17081 ## -------------------- ##
17082
17083 # Be more Bourne compatible
17084 DUALCASE=1; export DUALCASE # for MKS sh
17085 as_nop=:
17086 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17087 then :
17088 emulate sh
17089 NULLCMD=:
17090 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17091 # is contrary to our usage. Disable this feature.
17092 alias -g '${1+"$@"}'='"$@"'
17093 setopt NO_GLOB_SUBST
17094 else $as_nop
17095 case `(set -o) 2>/dev/null` in #(
17096 *posix*) :
17097 set -o posix ;; #(
17098 *) :
17099 ;;
17100 esac
17101 fi
17102
17103
17104
17105 # Reset variables that may have inherited troublesome values from
17106 # the environment.
17107
17108 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17109 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17110 # side effect of setting IFS to empty, thus disabling word splitting.)
17111 # Quoting is to prevent editors from complaining about space-tab.
17112 as_nl='
17113 '
17114 export as_nl
17115 IFS=" "" $as_nl"
17116
17117 PS1='$ '
17118 PS2='> '
17119 PS4='+ '
17120
17121 # Ensure predictable behavior from utilities with locale-dependent output.
17122 LC_ALL=C
17123 export LC_ALL
17124 LANGUAGE=C
17125 export LANGUAGE
17126
17127 # We cannot yet rely on "unset" to work, but we need these variables
17128 # to be unset--not just set to an empty or harmless value--now, to
17129 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17130 # also avoids known problems related to "unset" and subshell syntax
17131 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17132 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17133 do eval test \${$as_var+y} \
17134 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17135 done
17136
17137 # Ensure that fds 0, 1, and 2 are open.
17138 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17139 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17140 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17141
17142 # The user is always right.
17143 if ${PATH_SEPARATOR+false} :; then
17144 PATH_SEPARATOR=:
17145 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17146 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17147 PATH_SEPARATOR=';'
17148 }
17149 fi
17150
17151
17152 # Find who we are. Look in the path if we contain no directory separator.
17153 as_myself=
17154 case $0 in #((
17155 *[\\/]* ) as_myself=$0 ;;
17156 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17157 for as_dir in $PATH
17158 do
17159 IFS=$as_save_IFS
17160 case $as_dir in #(((
17161 '') as_dir=./ ;;
17162 */) ;;
17163 *) as_dir=$as_dir/ ;;
17164 esac
17165 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17166 done
17167 IFS=$as_save_IFS
17168
17169 ;;
17170 esac
17171 # We did not find ourselves, most probably we were run as `sh COMMAND'
17172 # in which case we are not to be found in the path.
17173 if test "x$as_myself" = x; then
17174 as_myself=$0
17175 fi
17176 if test ! -f "$as_myself"; then
17177 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17178 exit 1
17179 fi
17180
17181
17182
17183 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17184 # ----------------------------------------
17185 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17186 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17187 # script with STATUS, using 1 if that was 0.
17188 as_fn_error ()
17189 {
17190 as_status=$1; test $as_status -eq 0 && as_status=1
17191 if test "$4"; then
17192 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17194 fi
17195 printf "%s\n" "$as_me: error: $2" >&2
17196 as_fn_exit $as_status
17197 } # as_fn_error
17198
17199
17200
17201 # as_fn_set_status STATUS
17202 # -----------------------
17203 # Set $? to STATUS, without forking.
17204 as_fn_set_status ()
17205 {
17206 return $1
17207 } # as_fn_set_status
17208
17209 # as_fn_exit STATUS
17210 # -----------------
17211 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17212 as_fn_exit ()
17213 {
17214 set +e
17215 as_fn_set_status $1
17216 exit $1
17217 } # as_fn_exit
17218
17219 # as_fn_unset VAR
17220 # ---------------
17221 # Portably unset VAR.
17222 as_fn_unset ()
17223 {
17224 { eval $1=; unset $1;}
17225 }
17226 as_unset=as_fn_unset
17227
17228 # as_fn_append VAR VALUE
17229 # ----------------------
17230 # Append the text in VALUE to the end of the definition contained in VAR. Take
17231 # advantage of any shell optimizations that allow amortized linear growth over
17232 # repeated appends, instead of the typical quadratic growth present in naive
17233 # implementations.
17234 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17235 then :
17236 eval 'as_fn_append ()
17237 {
17238 eval $1+=\$2
17239 }'
17240 else $as_nop
17241 as_fn_append ()
17242 {
17243 eval $1=\$$1\$2
17244 }
17245 fi # as_fn_append
17246
17247 # as_fn_arith ARG...
17248 # ------------------
17249 # Perform arithmetic evaluation on the ARGs, and store the result in the
17250 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17251 # must be portable across $(()) and expr.
17252 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17253 then :
17254 eval 'as_fn_arith ()
17255 {
17256 as_val=$(( $* ))
17257 }'
17258 else $as_nop
17259 as_fn_arith ()
17260 {
17261 as_val=`expr "$@" || test $? -eq 1`
17262 }
17263 fi # as_fn_arith
17264
17265
17266 if expr a : '\(a\)' >/dev/null 2>&1 &&
17267 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17268 as_expr=expr
17269 else
17270 as_expr=false
17271 fi
17272
17273 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17274 as_basename=basename
17275 else
17276 as_basename=false
17277 fi
17278
17279 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17280 as_dirname=dirname
17281 else
17282 as_dirname=false
17283 fi
17284
17285 as_me=`$as_basename -- "$0" ||
17286 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17287 X"$0" : 'X\(//\)$' \| \
17288 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17289 printf "%s\n" X/"$0" |
17290 sed '/^.*\/\([^/][^/]*\)\/*$/{
17291 s//\1/
17292 q
17293 }
17294 /^X\/\(\/\/\)$/{
17295 s//\1/
17296 q
17297 }
17298 /^X\/\(\/\).*/{
17299 s//\1/
17300 q
17301 }
17302 s/.*/./; q'`
17303
17304 # Avoid depending upon Character Ranges.
17305 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17306 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17307 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17308 as_cr_digits='0123456789'
17309 as_cr_alnum=$as_cr_Letters$as_cr_digits
17310
17311
17312 # Determine whether it's possible to make 'echo' print without a newline.
17313 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17314 # for compatibility with existing Makefiles.
17315 ECHO_C= ECHO_N= ECHO_T=
17316 case `echo -n x` in #(((((
17317 -n*)
17318 case `echo 'xy\c'` in
17319 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17320 xy) ECHO_C='\c';;
17321 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17322 ECHO_T=' ';;
17323 esac;;
17324 *)
17325 ECHO_N='-n';;
17326 esac
17327
17328 # For backward compatibility with old third-party macros, we provide
17329 # the shell variables $as_echo and $as_echo_n. New code should use
17330 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17331 as_echo='printf %s\n'
17332 as_echo_n='printf %s'
17333
17334 rm -f conf$$ conf$$.exe conf$$.file
17335 if test -d conf$$.dir; then
17336 rm -f conf$$.dir/conf$$.file
17337 else
17338 rm -f conf$$.dir
17339 mkdir conf$$.dir 2>/dev/null
17340 fi
17341 if (echo >conf$$.file) 2>/dev/null; then
17342 if ln -s conf$$.file conf$$ 2>/dev/null; then
17343 as_ln_s='ln -s'
17344 # ... but there are two gotchas:
17345 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17346 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17347 # In both cases, we have to default to `cp -pR'.
17348 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17349 as_ln_s='cp -pR'
17350 elif ln conf$$.file conf$$ 2>/dev/null; then
17351 as_ln_s=ln
17352 else
17353 as_ln_s='cp -pR'
17354 fi
17355 else
17356 as_ln_s='cp -pR'
17357 fi
17358 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17359 rmdir conf$$.dir 2>/dev/null
17360
17361
17362 # as_fn_mkdir_p
17363 # -------------
17364 # Create "$as_dir" as a directory, including parents if necessary.
17365 as_fn_mkdir_p ()
17366 {
17367
17368 case $as_dir in #(
17369 -*) as_dir=./$as_dir;;
17370 esac
17371 test -d "$as_dir" || eval $as_mkdir_p || {
17372 as_dirs=
17373 while :; do
17374 case $as_dir in #(
17375 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17376 *) as_qdir=$as_dir;;
17377 esac
17378 as_dirs="'$as_qdir' $as_dirs"
17379 as_dir=`$as_dirname -- "$as_dir" ||
17380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17381 X"$as_dir" : 'X\(//\)[^/]' \| \
17382 X"$as_dir" : 'X\(//\)$' \| \
17383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17384 printf "%s\n" X"$as_dir" |
17385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17386 s//\1/
17387 q
17388 }
17389 /^X\(\/\/\)[^/].*/{
17390 s//\1/
17391 q
17392 }
17393 /^X\(\/\/\)$/{
17394 s//\1/
17395 q
17396 }
17397 /^X\(\/\).*/{
17398 s//\1/
17399 q
17400 }
17401 s/.*/./; q'`
17402 test -d "$as_dir" && break
17403 done
17404 test -z "$as_dirs" || eval "mkdir $as_dirs"
17405 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17406
17407
17408 } # as_fn_mkdir_p
17409 if mkdir -p . 2>/dev/null; then
17410 as_mkdir_p='mkdir -p "$as_dir"'
17411 else
17412 test -d ./-p && rmdir ./-p
17413 as_mkdir_p=false
17414 fi
17415
17416
17417 # as_fn_executable_p FILE
17418 # -----------------------
17419 # Test if FILE is an executable regular file.
17420 as_fn_executable_p ()
17421 {
17422 test -f "$1" && test -x "$1"
17423 } # as_fn_executable_p
17424 as_test_x='test -x'
17425 as_executable_p=as_fn_executable_p
17426
17427 # Sed expression to map a string onto a valid CPP name.
17428 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17429
17430 # Sed expression to map a string onto a valid variable name.
17431 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17432
17433
17434 exec 6>&1
17435 ## ----------------------------------- ##
17436 ## Main body of $CONFIG_STATUS script. ##
17437 ## ----------------------------------- ##
17438 _ASEOF
17439 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17440
17441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17442 # Save the log message, to keep $0 and so on meaningful, and to
17443 # report actual input values of CONFIG_FILES etc. instead of their
17444 # values after options handling.
17445 ac_log="
17446 This file was extended by blueman $as_me 2.4.4, which was
17447 generated by GNU Autoconf 2.71. Invocation command line was
17448
17449 CONFIG_FILES = $CONFIG_FILES
17450 CONFIG_HEADERS = $CONFIG_HEADERS
17451 CONFIG_LINKS = $CONFIG_LINKS
17452 CONFIG_COMMANDS = $CONFIG_COMMANDS
17453 $ $0 $@
17454
17455 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17456 "
17457
17458 _ACEOF
17459
17460 case $ac_config_files in *"
17461 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17462 esac
17463
17464 case $ac_config_headers in *"
17465 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17466 esac
17467
17468
17469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17470 # Files that config.status was made for.
17471 config_files="$ac_config_files"
17472 config_headers="$ac_config_headers"
17473 config_commands="$ac_config_commands"
17474
17475 _ACEOF
17476
17477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17478 ac_cs_usage="\
17479 \`$as_me' instantiates files and other configuration actions
17480 from templates according to the current configuration. Unless the files
17481 and actions are specified as TAGs, all are instantiated by default.
17482
17483 Usage: $0 [OPTION]... [TAG]...
17484
17485 -h, --help print this help, then exit
17486 -V, --version print version number and configuration settings, then exit
17487 --config print configuration, then exit
17488 -q, --quiet, --silent
17489 do not print progress messages
17490 -d, --debug don't remove temporary files
17491 --recheck update $as_me by reconfiguring in the same conditions
17492 --file=FILE[:TEMPLATE]
17493 instantiate the configuration file FILE
17494 --header=FILE[:TEMPLATE]
17495 instantiate the configuration header FILE
17496
17497 Configuration files:
17498 $config_files
17499
17500 Configuration headers:
17501 $config_headers
17502
17503 Configuration commands:
17504 $config_commands
17505
17506 Report bugs to <https://github.com/blueman-project/blueman/issues>."
17507
17508 _ACEOF
17509 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
17510 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
17511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17512 ac_cs_config='$ac_cs_config_escaped'
17513 ac_cs_version="\\
17514 blueman config.status 2.4.4
17515 configured by $0, generated by GNU Autoconf 2.71,
17516 with options \\"\$ac_cs_config\\"
17517
17518 Copyright (C) 2021 Free Software Foundation, Inc.
17519 This config.status script is free software; the Free Software Foundation
17520 gives unlimited permission to copy, distribute and modify it."
17521
17522 ac_pwd='$ac_pwd'
17523 srcdir='$srcdir'
17524 INSTALL='$INSTALL'
17525 MKDIR_P='$MKDIR_P'
17526 AWK='$AWK'
17527 test -n "\$AWK" || AWK=awk
17528 _ACEOF
17529
17530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17531 # The default lists apply if the user does not specify any file.
17532 ac_need_defaults=:
17533 while test $# != 0
17534 do
17535 case $1 in
17536 --*=?*)
17537 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17538 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17539 ac_shift=:
17540 ;;
17541 --*=)
17542 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17543 ac_optarg=
17544 ac_shift=:
17545 ;;
17546 *)
17547 ac_option=$1
17548 ac_optarg=$2
17549 ac_shift=shift
17550 ;;
17551 esac
17552
17553 case $ac_option in
17554 # Handling of the options.
17555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17556 ac_cs_recheck=: ;;
17557 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17558 printf "%s\n" "$ac_cs_version"; exit ;;
17559 --config | --confi | --conf | --con | --co | --c )
17560 printf "%s\n" "$ac_cs_config"; exit ;;
17561 --debug | --debu | --deb | --de | --d | -d )
17562 debug=: ;;
17563 --file | --fil | --fi | --f )
17564 $ac_shift
17565 case $ac_optarg in
17566 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17567 '') as_fn_error $? "missing file argument" ;;
17568 esac
17569 as_fn_append CONFIG_FILES " '$ac_optarg'"
17570 ac_need_defaults=false;;
17571 --header | --heade | --head | --hea )
17572 $ac_shift
17573 case $ac_optarg in
17574 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17575 esac
17576 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17577 ac_need_defaults=false;;
17578 --he | --h)
17579 # Conflict between --help and --header
17580 as_fn_error $? "ambiguous option: \`$1'
17581 Try \`$0 --help' for more information.";;
17582 --help | --hel | -h )
17583 printf "%s\n" "$ac_cs_usage"; exit ;;
17584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17585 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17586 ac_cs_silent=: ;;
17587
17588 # This is an error.
17589 -*) as_fn_error $? "unrecognized option: \`$1'
17590 Try \`$0 --help' for more information." ;;
17591
17592 *) as_fn_append ac_config_targets " $1"
17593 ac_need_defaults=false ;;
17594
17595 esac
17596 shift
17597 done
17598
17599 ac_configure_extra_args=
17600
17601 if $ac_cs_silent; then
17602 exec 6>/dev/null
17603 ac_configure_extra_args="$ac_configure_extra_args --silent"
17604 fi
17605
17606 _ACEOF
17607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17608 if \$ac_cs_recheck; then
17609 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17610 shift
17611 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
17612 CONFIG_SHELL='$SHELL'
17613 export CONFIG_SHELL
17614 exec "\$@"
17615 fi
17616
17617 _ACEOF
17618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17619 exec 5>>config.log
17620 {
17621 echo
17622 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17623 ## Running $as_me. ##
17624 _ASBOX
17625 printf "%s\n" "$ac_log"
17626 } >&5
17627
17628 _ACEOF
17629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17630 #
17631 # INIT-COMMANDS
17632 #
17633 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17634
17635
17636 # The HP-UX ksh and POSIX shell print the target directory to stdout
17637 # if CDPATH is set.
17638 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17639
17640 sed_quote_subst='$sed_quote_subst'
17641 double_quote_subst='$double_quote_subst'
17642 delay_variable_subst='$delay_variable_subst'
17643 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17644 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17645 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17646 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17647 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17648 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17649 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17650 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17651 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17652 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17653 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17654 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17655 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17656 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17657 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17658 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17659 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17660 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17661 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17662 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17663 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17664 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17665 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17666 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17667 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17668 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17669 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17670 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17671 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17672 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17673 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17674 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17675 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17676 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17677 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17678 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17679 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17680 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17681 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17682 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17683 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17684 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17685 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17686 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17687 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17688 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17689 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17690 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17691 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17692 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17693 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17694 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17695 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17696 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17697 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17698 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17699 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17700 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17701 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"`'
17702 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17703 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17704 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17705 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17706 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17707 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17708 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17709 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17710 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17711 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17712 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17713 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17714 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17715 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17716 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17717 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17718 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17719 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17720 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17721 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17722 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17723 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17724 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17725 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17726 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17727 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17728 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17729 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17730 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17731 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17732 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17733 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17734 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17735 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17736 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17737 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17738 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17739 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17740 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17741 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17742 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17743 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17744 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17745 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17746 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17747 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17748 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17749 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17750 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17751 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17752 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17753 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17754 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17755 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17756 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17757 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17758 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17759 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17760 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17761 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17762 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17763 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17764 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17765 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17766 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17767 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17768 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17769 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17770 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17771 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17772 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17773 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17774 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17775 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17776 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17777 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17778
17779 LTCC='$LTCC'
17780 LTCFLAGS='$LTCFLAGS'
17781 compiler='$compiler_DEFAULT'
17782
17783 # A function that is used when there is no print builtin or printf.
17784 func_fallback_echo ()
17785 {
17786 eval 'cat <<_LTECHO_EOF
17787 \$1
17788 _LTECHO_EOF'
17789 }
17790
17791 # Quote evaled strings.
17792 for var in SHELL \
17793 ECHO \
17794 PATH_SEPARATOR \
17795 SED \
17796 GREP \
17797 EGREP \
17798 FGREP \
17799 LD \
17800 NM \
17801 LN_S \
17802 lt_SP2NL \
17803 lt_NL2SP \
17804 reload_flag \
17805 OBJDUMP \
17806 deplibs_check_method \
17807 file_magic_cmd \
17808 file_magic_glob \
17809 want_nocaseglob \
17810 DLLTOOL \
17811 sharedlib_from_linklib_cmd \
17812 AR \
17813 AR_FLAGS \
17814 archiver_list_spec \
17815 STRIP \
17816 RANLIB \
17817 CC \
17818 CFLAGS \
17819 compiler \
17820 lt_cv_sys_global_symbol_pipe \
17821 lt_cv_sys_global_symbol_to_cdecl \
17822 lt_cv_sys_global_symbol_to_import \
17823 lt_cv_sys_global_symbol_to_c_name_address \
17824 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17825 lt_cv_nm_interface \
17826 nm_file_list_spec \
17827 lt_cv_truncate_bin \
17828 lt_prog_compiler_no_builtin_flag \
17829 lt_prog_compiler_pic \
17830 lt_prog_compiler_wl \
17831 lt_prog_compiler_static \
17832 lt_cv_prog_compiler_c_o \
17833 need_locks \
17834 MANIFEST_TOOL \
17835 DSYMUTIL \
17836 NMEDIT \
17837 LIPO \
17838 OTOOL \
17839 OTOOL64 \
17840 shrext_cmds \
17841 export_dynamic_flag_spec \
17842 whole_archive_flag_spec \
17843 compiler_needs_object \
17844 with_gnu_ld \
17845 allow_undefined_flag \
17846 no_undefined_flag \
17847 hardcode_libdir_flag_spec \
17848 hardcode_libdir_separator \
17849 exclude_expsyms \
17850 include_expsyms \
17851 file_list_spec \
17852 variables_saved_for_relink \
17853 libname_spec \
17854 library_names_spec \
17855 soname_spec \
17856 install_override_mode \
17857 finish_eval \
17858 old_striplib \
17859 striplib; do
17860 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17861 *[\\\\\\\`\\"\\\$]*)
17862 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17863 ;;
17864 *)
17865 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17866 ;;
17867 esac
17868 done
17869
17870 # Double-quote double-evaled strings.
17871 for var in reload_cmds \
17872 old_postinstall_cmds \
17873 old_postuninstall_cmds \
17874 old_archive_cmds \
17875 extract_expsyms_cmds \
17876 old_archive_from_new_cmds \
17877 old_archive_from_expsyms_cmds \
17878 archive_cmds \
17879 archive_expsym_cmds \
17880 module_cmds \
17881 module_expsym_cmds \
17882 export_symbols_cmds \
17883 prelink_cmds \
17884 postlink_cmds \
17885 postinstall_cmds \
17886 postuninstall_cmds \
17887 finish_cmds \
17888 sys_lib_search_path_spec \
17889 configure_time_dlsearch_path \
17890 configure_time_lt_sys_library_path; do
17891 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17892 *[\\\\\\\`\\"\\\$]*)
17893 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17894 ;;
17895 *)
17896 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17897 ;;
17898 esac
17899 done
17900
17901 ac_aux_dir='$ac_aux_dir'
17902
17903 # See if we are running on zsh, and set the options that allow our
17904 # commands through without removal of \ escapes INIT.
17905 if test -n "\${ZSH_VERSION+set}"; then
17906 setopt NO_GLOB_SUBST
17907 fi
17908
17909
17910 PACKAGE='$PACKAGE'
17911 VERSION='$VERSION'
17912 RM='$RM'
17913 ofile='$ofile'
17914
17915
17916
17917 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17918 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17919 # from automake < 1.5.
17920 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17921 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17922 LINGUAS="${LINGUAS-%UNSET%}"
17923
17924
17925 _ACEOF
17926
17927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17928
17929 # Handling of arguments.
17930 for ac_config_target in $ac_config_targets
17931 do
17932 case $ac_config_target in
17933 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17934 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17935 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17936 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17937 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17938 "apps/Makefile") CONFIG_FILES="$CONFIG_FILES apps/Makefile" ;;
17939 "apps/blueman-adapters") CONFIG_FILES="$CONFIG_FILES apps/blueman-adapters" ;;
17940 "apps/blueman-applet") CONFIG_FILES="$CONFIG_FILES apps/blueman-applet" ;;
17941 "apps/blueman-manager") CONFIG_FILES="$CONFIG_FILES apps/blueman-manager" ;;
17942 "apps/blueman-mechanism") CONFIG_FILES="$CONFIG_FILES apps/blueman-mechanism" ;;
17943 "apps/blueman-rfcomm-watcher") CONFIG_FILES="$CONFIG_FILES apps/blueman-rfcomm-watcher" ;;
17944 "apps/blueman-sendto") CONFIG_FILES="$CONFIG_FILES apps/blueman-sendto" ;;
17945 "apps/blueman-services") CONFIG_FILES="$CONFIG_FILES apps/blueman-services" ;;
17946 "apps/blueman-tray") CONFIG_FILES="$CONFIG_FILES apps/blueman-tray" ;;
17947 "blueman/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/Makefile" ;;
17948 "blueman/Constants.py") CONFIG_FILES="$CONFIG_FILES blueman/Constants.py" ;;
17949 "blueman/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/bluez/Makefile" ;;
17950 "blueman/bluez/obex/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/bluez/obex/Makefile" ;;
17951 "blueman/config/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/config/Makefile" ;;
17952 "blueman/gui/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/gui/Makefile" ;;
17953 "blueman/gui/applet/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/gui/applet/Makefile" ;;
17954 "blueman/gui/manager/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/gui/manager/Makefile" ;;
17955 "blueman/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/plugins/Makefile" ;;
17956 "blueman/plugins/services/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/plugins/services/Makefile" ;;
17957 "blueman/plugins/applet/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/plugins/applet/Makefile" ;;
17958 "blueman/plugins/mechanism/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/plugins/mechanism/Makefile" ;;
17959 "blueman/plugins/manager/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/plugins/manager/Makefile" ;;
17960 "blueman/main/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/main/Makefile" ;;
17961 "blueman/main/applet/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/main/applet/Makefile" ;;
17962 "blueman/main/indicators/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/main/indicators/Makefile" ;;
17963 "blueman/services/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/services/Makefile" ;;
17964 "blueman/services/meta/Makefile") CONFIG_FILES="$CONFIG_FILES blueman/services/meta/Makefile" ;;
17965 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17966 "data/configs/Makefile") CONFIG_FILES="$CONFIG_FILES data/configs/Makefile" ;;
17967 "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
17968 "data/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/Makefile" ;;
17969 "data/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/Makefile" ;;
17970 "data/icons/hicolor/16x16/devices/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/devices/Makefile" ;;
17971 "data/icons/hicolor/16x16/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/status/Makefile" ;;
17972 "data/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/apps/Makefile" ;;
17973 "data/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/Makefile" ;;
17974 "data/icons/hicolor/22x22/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/status/Makefile" ;;
17975 "data/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/apps/Makefile" ;;
17976 "data/icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/Makefile" ;;
17977 "data/icons/hicolor/24x24/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/status/Makefile" ;;
17978 "data/icons/hicolor/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/apps/Makefile" ;;
17979 "data/icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/Makefile" ;;
17980 "data/icons/hicolor/32x32/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/status/Makefile" ;;
17981 "data/icons/hicolor/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/apps/Makefile" ;;
17982 "data/icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/Makefile" ;;
17983 "data/icons/hicolor/48x48/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/status/Makefile" ;;
17984 "data/icons/hicolor/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/apps/Makefile" ;;
17985 "data/icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/64x64/Makefile" ;;
17986 "data/icons/hicolor/64x64/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/64x64/status/Makefile" ;;
17987 "data/icons/hicolor/64x64/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/64x64/apps/Makefile" ;;
17988 "data/icons/hicolor/72x72/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/72x72/Makefile" ;;
17989 "data/icons/hicolor/72x72/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/72x72/status/Makefile" ;;
17990 "data/icons/hicolor/72x72/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/72x72/apps/Makefile" ;;
17991 "data/icons/hicolor/96x96/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/96x96/Makefile" ;;
17992 "data/icons/hicolor/96x96/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/96x96/status/Makefile" ;;
17993 "data/icons/hicolor/96x96/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/96x96/apps/Makefile" ;;
17994 "data/icons/hicolor/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/Makefile" ;;
17995 "data/icons/hicolor/128x128/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/status/Makefile" ;;
17996 "data/icons/hicolor/128x128/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/apps/Makefile" ;;
17997 "data/icons/hicolor/192x192/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/192x192/Makefile" ;;
17998 "data/icons/hicolor/192x192/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/192x192/status/Makefile" ;;
17999 "data/icons/hicolor/192x192/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/192x192/apps/Makefile" ;;
18000 "data/icons/hicolor/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/256x256/Makefile" ;;
18001 "data/icons/hicolor/256x256/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/256x256/status/Makefile" ;;
18002 "data/icons/hicolor/256x256/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/256x256/apps/Makefile" ;;
18003 "data/icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/Makefile" ;;
18004 "data/icons/hicolor/scalable/devices/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/devices/Makefile" ;;
18005 "data/icons/hicolor/scalable/emblems/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/emblems/Makefile" ;;
18006 "data/icons/hicolor/scalable/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/actions/Makefile" ;;
18007 "data/icons/hicolor/scalable/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/status/Makefile" ;;
18008 "data/icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/apps/Makefile" ;;
18009 "data/icons/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/pixmaps/Makefile" ;;
18010 "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
18011 "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
18012 "data/configs/blueman-applet.service") CONFIG_FILES="$CONFIG_FILES data/configs/blueman-applet.service" ;;
18013 "data/configs/blueman-manager.service") CONFIG_FILES="$CONFIG_FILES data/configs/blueman-manager.service" ;;
18014 "data/configs/blueman-mechanism.service") CONFIG_FILES="$CONFIG_FILES data/configs/blueman-mechanism.service" ;;
18015 "data/configs/org.blueman.Applet.service") CONFIG_FILES="$CONFIG_FILES data/configs/org.blueman.Applet.service" ;;
18016 "data/configs/org.blueman.Manager.service") CONFIG_FILES="$CONFIG_FILES data/configs/org.blueman.Manager.service" ;;
18017 "data/configs/org.blueman.Mechanism.service") CONFIG_FILES="$CONFIG_FILES data/configs/org.blueman.Mechanism.service" ;;
18018 "module/Makefile") CONFIG_FILES="$CONFIG_FILES module/Makefile" ;;
18019 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18020 "sendto/Makefile") CONFIG_FILES="$CONFIG_FILES sendto/Makefile" ;;
18021 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
18022 "test/apps/Makefile") CONFIG_FILES="$CONFIG_FILES test/apps/Makefile" ;;
18023 "test/bluez/Makefile") CONFIG_FILES="$CONFIG_FILES test/bluez/Makefile" ;;
18024 "test/bluez/obex/Makefile") CONFIG_FILES="$CONFIG_FILES test/bluez/obex/Makefile" ;;
18025 "test/gui/Makefile") CONFIG_FILES="$CONFIG_FILES test/gui/Makefile" ;;
18026 "test/gui/applet/Makefile") CONFIG_FILES="$CONFIG_FILES test/gui/applet/Makefile" ;;
18027 "test/gui/manager/Makefile") CONFIG_FILES="$CONFIG_FILES test/gui/manager/Makefile" ;;
18028 "test/main/Makefile") CONFIG_FILES="$CONFIG_FILES test/main/Makefile" ;;
18029 "test/main/applet/Makefile") CONFIG_FILES="$CONFIG_FILES test/main/applet/Makefile" ;;
18030 "test/main/indicators/Makefile") CONFIG_FILES="$CONFIG_FILES test/main/indicators/Makefile" ;;
18031 "test/module/Makefile") CONFIG_FILES="$CONFIG_FILES test/module/Makefile" ;;
18032 "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
18033 "test/plugins/applet/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/applet/Makefile" ;;
18034 "test/plugins/manager/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/manager/Makefile" ;;
18035 "test/plugins/mechanism/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/mechanism/Makefile" ;;
18036 "test/plugins/services/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/services/Makefile" ;;
18037 "test/services/Makefile") CONFIG_FILES="$CONFIG_FILES test/services/Makefile" ;;
18038 "test/services/meta/Makefile") CONFIG_FILES="$CONFIG_FILES test/services/meta/Makefile" ;;
18039 "test/testhelpers/Makefile") CONFIG_FILES="$CONFIG_FILES test/testhelpers/Makefile" ;;
18040
18041 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18042 esac
18043 done
18044
18045
18046 # If the user did not use the arguments to specify the items to instantiate,
18047 # then the envvar interface is used. Set only those that are not.
18048 # We use the long form for the default assignment because of an extremely
18049 # bizarre bug on SunOS 4.1.3.
18050 if $ac_need_defaults; then
18051 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
18052 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
18053 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
18054 fi
18055
18056 # Have a temporary directory for convenience. Make it in the build tree
18057 # simply because there is no reason against having it here, and in addition,
18058 # creating and moving files from /tmp can sometimes cause problems.
18059 # Hook for its removal unless debugging.
18060 # Note that there is a small window in which the directory will not be cleaned:
18061 # after its creation but before its name has been assigned to `$tmp'.
18062 $debug ||
18063 {
18064 tmp= ac_tmp=
18065 trap 'exit_status=$?
18066 : "${ac_tmp:=$tmp}"
18067 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18068 ' 0
18069 trap 'as_fn_exit 1' 1 2 13 15
18070 }
18071 # Create a (secure) tmp directory for tmp files.
18072
18073 {
18074 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18075 test -d "$tmp"
18076 } ||
18077 {
18078 tmp=./conf$$-$RANDOM
18079 (umask 077 && mkdir "$tmp")
18080 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18081 ac_tmp=$tmp
18082
18083 # Set up the scripts for CONFIG_FILES section.
18084 # No need to generate them if there are no CONFIG_FILES.
18085 # This happens for instance with `./config.status config.h'.
18086 if test -n "$CONFIG_FILES"; then
18087
18088
18089 ac_cr=`echo X | tr X '\015'`
18090 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18091 # But we know of no other shell where ac_cr would be empty at this
18092 # point, so we can use a bashism as a fallback.
18093 if test "x$ac_cr" = x; then
18094 eval ac_cr=\$\'\\r\'
18095 fi
18096 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18097 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18098 ac_cs_awk_cr='\\r'
18099 else
18100 ac_cs_awk_cr=$ac_cr
18101 fi
18102
18103 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18104 _ACEOF
18105
18106
18107 {
18108 echo "cat >conf$$subs.awk <<_ACEOF" &&
18109 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18110 echo "_ACEOF"
18111 } >conf$$subs.sh ||
18112 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18113 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18114 ac_delim='%!_!# '
18115 for ac_last_try in false false false false false :; do
18116 . ./conf$$subs.sh ||
18117 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18118
18119 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18120 if test $ac_delim_n = $ac_delim_num; then
18121 break
18122 elif $ac_last_try; then
18123 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18124 else
18125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18126 fi
18127 done
18128 rm -f conf$$subs.sh
18129
18130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18131 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18132 _ACEOF
18133 sed -n '
18134 h
18135 s/^/S["/; s/!.*/"]=/
18136 p
18137 g
18138 s/^[^!]*!//
18139 :repl
18140 t repl
18141 s/'"$ac_delim"'$//
18142 t delim
18143 :nl
18144 h
18145 s/\(.\{148\}\)..*/\1/
18146 t more1
18147 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18148 p
18149 n
18150 b repl
18151 :more1
18152 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18153 p
18154 g
18155 s/.\{148\}//
18156 t nl
18157 :delim
18158 h
18159 s/\(.\{148\}\)..*/\1/
18160 t more2
18161 s/["\\]/\\&/g; s/^/"/; s/$/"/
18162 p
18163 b
18164 :more2
18165 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18166 p
18167 g
18168 s/.\{148\}//
18169 t delim
18170 ' <conf$$subs.awk | sed '
18171 /^[^""]/{
18172 N
18173 s/\n//
18174 }
18175 ' >>$CONFIG_STATUS || ac_write_fail=1
18176 rm -f conf$$subs.awk
18177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18178 _ACAWK
18179 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18180 for (key in S) S_is_set[key] = 1
18181 FS = ""
18182
18183 }
18184 {
18185 line = $ 0
18186 nfields = split(line, field, "@")
18187 substed = 0
18188 len = length(field[1])
18189 for (i = 2; i < nfields; i++) {
18190 key = field[i]
18191 keylen = length(key)
18192 if (S_is_set[key]) {
18193 value = S[key]
18194 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18195 len += length(value) + length(field[++i])
18196 substed = 1
18197 } else
18198 len += 1 + keylen
18199 }
18200
18201 print line
18202 }
18203
18204 _ACAWK
18205 _ACEOF
18206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18207 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18208 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18209 else
18210 cat
18211 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18212 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18213 _ACEOF
18214
18215 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18216 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18217 # trailing colons and then remove the whole line if VPATH becomes empty
18218 # (actually we leave an empty line to preserve line numbers).
18219 if test "x$srcdir" = x.; then
18220 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18221 h
18222 s///
18223 s/^/:/
18224 s/[ ]*$/:/
18225 s/:\$(srcdir):/:/g
18226 s/:\${srcdir}:/:/g
18227 s/:@srcdir@:/:/g
18228 s/^:*//
18229 s/:*$//
18230 x
18231 s/\(=[ ]*\).*/\1/
18232 G
18233 s/\n//
18234 s/^[^=]*=[ ]*$//
18235 }'
18236 fi
18237
18238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18239 fi # test -n "$CONFIG_FILES"
18240
18241 # Set up the scripts for CONFIG_HEADERS section.
18242 # No need to generate them if there are no CONFIG_HEADERS.
18243 # This happens for instance with `./config.status Makefile'.
18244 if test -n "$CONFIG_HEADERS"; then
18245 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18246 BEGIN {
18247 _ACEOF
18248
18249 # Transform confdefs.h into an awk script `defines.awk', embedded as
18250 # here-document in config.status, that substitutes the proper values into
18251 # config.h.in to produce config.h.
18252
18253 # Create a delimiter string that does not exist in confdefs.h, to ease
18254 # handling of long lines.
18255 ac_delim='%!_!# '
18256 for ac_last_try in false false :; do
18257 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18258 if test -z "$ac_tt"; then
18259 break
18260 elif $ac_last_try; then
18261 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18262 else
18263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18264 fi
18265 done
18266
18267 # For the awk script, D is an array of macro values keyed by name,
18268 # likewise P contains macro parameters if any. Preserve backslash
18269 # newline sequences.
18270
18271 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18272 sed -n '
18273 s/.\{148\}/&'"$ac_delim"'/g
18274 t rset
18275 :rset
18276 s/^[ ]*#[ ]*define[ ][ ]*/ /
18277 t def
18278 d
18279 :def
18280 s/\\$//
18281 t bsnl
18282 s/["\\]/\\&/g
18283 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18284 D["\1"]=" \3"/p
18285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18286 d
18287 :bsnl
18288 s/["\\]/\\&/g
18289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18290 D["\1"]=" \3\\\\\\n"\\/p
18291 t cont
18292 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18293 t cont
18294 d
18295 :cont
18296 n
18297 s/.\{148\}/&'"$ac_delim"'/g
18298 t clear
18299 :clear
18300 s/\\$//
18301 t bsnlc
18302 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18303 d
18304 :bsnlc
18305 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18306 b cont
18307 ' <confdefs.h | sed '
18308 s/'"$ac_delim"'/"\\\
18309 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18310
18311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18312 for (key in D) D_is_set[key] = 1
18313 FS = ""
18314 }
18315 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18316 line = \$ 0
18317 split(line, arg, " ")
18318 if (arg[1] == "#") {
18319 defundef = arg[2]
18320 mac1 = arg[3]
18321 } else {
18322 defundef = substr(arg[1], 2)
18323 mac1 = arg[2]
18324 }
18325 split(mac1, mac2, "(") #)
18326 macro = mac2[1]
18327 prefix = substr(line, 1, index(line, defundef) - 1)
18328 if (D_is_set[macro]) {
18329 # Preserve the white space surrounding the "#".
18330 print prefix "define", macro P[macro] D[macro]
18331 next
18332 } else {
18333 # Replace #undef with comments. This is necessary, for example,
18334 # in the case of _POSIX_SOURCE, which is predefined and required
18335 # on some systems where configure will not decide to define it.
18336 if (defundef == "undef") {
18337 print "/*", prefix defundef, macro, "*/"
18338 next
18339 }
18340 }
18341 }
18342 { print }
18343 _ACAWK
18344 _ACEOF
18345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18346 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18347 fi # test -n "$CONFIG_HEADERS"
18348
18349
18350 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18351 shift
18352 for ac_tag
18353 do
18354 case $ac_tag in
18355 :[FHLC]) ac_mode=$ac_tag; continue;;
18356 esac
18357 case $ac_mode$ac_tag in
18358 :[FHL]*:*);;
18359 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18360 :[FH]-) ac_tag=-:-;;
18361 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18362 esac
18363 ac_save_IFS=$IFS
18364 IFS=:
18365 set x $ac_tag
18366 IFS=$ac_save_IFS
18367 shift
18368 ac_file=$1
18369 shift
18370
18371 case $ac_mode in
18372 :L) ac_source=$1;;
18373 :[FH])
18374 ac_file_inputs=
18375 for ac_f
18376 do
18377 case $ac_f in
18378 -) ac_f="$ac_tmp/stdin";;
18379 *) # Look for the file first in the build tree, then in the source tree
18380 # (if the path is not absolute). The absolute path cannot be DOS-style,
18381 # because $ac_f cannot contain `:'.
18382 test -f "$ac_f" ||
18383 case $ac_f in
18384 [\\/$]*) false;;
18385 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18386 esac ||
18387 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18388 esac
18389 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18390 as_fn_append ac_file_inputs " '$ac_f'"
18391 done
18392
18393 # Let's still pretend it is `configure' which instantiates (i.e., don't
18394 # use $as_me), people would be surprised to read:
18395 # /* config.h. Generated by config.status. */
18396 configure_input='Generated from '`
18397 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18398 `' by configure.'
18399 if test x"$ac_file" != x-; then
18400 configure_input="$ac_file. $configure_input"
18401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18402 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18403 fi
18404 # Neutralize special characters interpreted by sed in replacement strings.
18405 case $configure_input in #(
18406 *\&* | *\|* | *\\* )
18407 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18408 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18409 *) ac_sed_conf_input=$configure_input;;
18410 esac
18411
18412 case $ac_tag in
18413 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18414 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18415 esac
18416 ;;
18417 esac
18418
18419 ac_dir=`$as_dirname -- "$ac_file" ||
18420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18421 X"$ac_file" : 'X\(//\)[^/]' \| \
18422 X"$ac_file" : 'X\(//\)$' \| \
18423 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18424 printf "%s\n" X"$ac_file" |
18425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18426 s//\1/
18427 q
18428 }
18429 /^X\(\/\/\)[^/].*/{
18430 s//\1/
18431 q
18432 }
18433 /^X\(\/\/\)$/{
18434 s//\1/
18435 q
18436 }
18437 /^X\(\/\).*/{
18438 s//\1/
18439 q
18440 }
18441 s/.*/./; q'`
18442 as_dir="$ac_dir"; as_fn_mkdir_p
18443 ac_builddir=.
18444
18445 case "$ac_dir" in
18446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18447 *)
18448 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
18449 # A ".." for each directory in $ac_dir_suffix.
18450 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18451 case $ac_top_builddir_sub in
18452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18454 esac ;;
18455 esac
18456 ac_abs_top_builddir=$ac_pwd
18457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18458 # for backward compatibility:
18459 ac_top_builddir=$ac_top_build_prefix
18460
18461 case $srcdir in
18462 .) # We are building in place.
18463 ac_srcdir=.
18464 ac_top_srcdir=$ac_top_builddir_sub
18465 ac_abs_top_srcdir=$ac_pwd ;;
18466 [\\/]* | ?:[\\/]* ) # Absolute name.
18467 ac_srcdir=$srcdir$ac_dir_suffix;
18468 ac_top_srcdir=$srcdir
18469 ac_abs_top_srcdir=$srcdir ;;
18470 *) # Relative name.
18471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18472 ac_top_srcdir=$ac_top_build_prefix$srcdir
18473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18474 esac
18475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18476
18477
18478 case $ac_mode in
18479 :F)
18480 #
18481 # CONFIG_FILE
18482 #
18483
18484 case $INSTALL in
18485 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18486 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18487 esac
18488 ac_MKDIR_P=$MKDIR_P
18489 case $MKDIR_P in
18490 [\\/$]* | ?:[\\/]* ) ;;
18491 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18492 esac
18493 _ACEOF
18494
18495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18496 # If the template does not know about datarootdir, expand it.
18497 # FIXME: This hack should be removed a few years after 2.60.
18498 ac_datarootdir_hack=; ac_datarootdir_seen=
18499 ac_sed_dataroot='
18500 /datarootdir/ {
18501 p
18502 q
18503 }
18504 /@datadir@/p
18505 /@docdir@/p
18506 /@infodir@/p
18507 /@localedir@/p
18508 /@mandir@/p'
18509 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18510 *datarootdir*) ac_datarootdir_seen=yes;;
18511 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18513 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18514 _ACEOF
18515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18516 ac_datarootdir_hack='
18517 s&@datadir@&$datadir&g
18518 s&@docdir@&$docdir&g
18519 s&@infodir@&$infodir&g
18520 s&@localedir@&$localedir&g
18521 s&@mandir@&$mandir&g
18522 s&\\\${datarootdir}&$datarootdir&g' ;;
18523 esac
18524 _ACEOF
18525
18526 # Neutralize VPATH when `$srcdir' = `.'.
18527 # Shell code in configure.ac might set extrasub.
18528 # FIXME: do we really want to maintain this feature?
18529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18530 ac_sed_extra="$ac_vpsub
18531 $extrasub
18532 _ACEOF
18533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18534 :t
18535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18536 s|@configure_input@|$ac_sed_conf_input|;t t
18537 s&@top_builddir@&$ac_top_builddir_sub&;t t
18538 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18539 s&@srcdir@&$ac_srcdir&;t t
18540 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18541 s&@top_srcdir@&$ac_top_srcdir&;t t
18542 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18543 s&@builddir@&$ac_builddir&;t t
18544 s&@abs_builddir@&$ac_abs_builddir&;t t
18545 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18546 s&@INSTALL@&$ac_INSTALL&;t t
18547 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18548 $ac_datarootdir_hack
18549 "
18550 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18551 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18552
18553 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18554 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18555 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18556 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18558 which seems to be undefined. Please make sure it is defined" >&5
18559 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18560 which seems to be undefined. Please make sure it is defined" >&2;}
18561
18562 rm -f "$ac_tmp/stdin"
18563 case $ac_file in
18564 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18565 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18566 esac \
18567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18568 ;;
18569 :H)
18570 #
18571 # CONFIG_HEADER
18572 #
18573 if test x"$ac_file" != x-; then
18574 {
18575 printf "%s\n" "/* $configure_input */" >&1 \
18576 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18577 } >"$ac_tmp/config.h" \
18578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18579 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18581 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
18582 else
18583 rm -f "$ac_file"
18584 mv "$ac_tmp/config.h" "$ac_file" \
18585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18586 fi
18587 else
18588 printf "%s\n" "/* $configure_input */" >&1 \
18589 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18590 || as_fn_error $? "could not create -" "$LINENO" 5
18591 fi
18592 # Compute "$ac_file"'s index in $config_headers.
18593 _am_arg="$ac_file"
18594 _am_stamp_count=1
18595 for _am_header in $config_headers :; do
18596 case $_am_header in
18597 $_am_arg | $_am_arg:* )
18598 break ;;
18599 * )
18600 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18601 esac
18602 done
18603 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18604 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18605 X"$_am_arg" : 'X\(//\)[^/]' \| \
18606 X"$_am_arg" : 'X\(//\)$' \| \
18607 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18608 printf "%s\n" X"$_am_arg" |
18609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18610 s//\1/
18611 q
18612 }
18613 /^X\(\/\/\)[^/].*/{
18614 s//\1/
18615 q
18616 }
18617 /^X\(\/\/\)$/{
18618 s//\1/
18619 q
18620 }
18621 /^X\(\/\).*/{
18622 s//\1/
18623 q
18624 }
18625 s/.*/./; q'`/stamp-h$_am_stamp_count
18626 ;;
18627
18628 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18629 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
18630 ;;
18631 esac
18632
18633
18634 case $ac_file$ac_mode in
18635 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18636 # Older Autoconf quotes --file arguments for eval, but not when files
18637 # are listed without --file. Let's play safe and only enable the eval
18638 # if we detect the quoting.
18639 # TODO: see whether this extra hack can be removed once we start
18640 # requiring Autoconf 2.70 or later.
18641 case $CONFIG_FILES in #(
18642 *\'*) :
18643 eval set x "$CONFIG_FILES" ;; #(
18644 *) :
18645 set x $CONFIG_FILES ;; #(
18646 *) :
18647 ;;
18648 esac
18649 shift
18650 # Used to flag and report bootstrapping failures.
18651 am_rc=0
18652 for am_mf
18653 do
18654 # Strip MF so we end up with the name of the file.
18655 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
18656 # Check whether this is an Automake generated Makefile which includes
18657 # dependency-tracking related rules and includes.
18658 # Grep'ing the whole file directly is not great: AIX grep has a line
18659 # limit of 2048, but all sed's we know have understand at least 4000.
18660 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18661 || continue
18662 am_dirpart=`$as_dirname -- "$am_mf" ||
18663 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18664 X"$am_mf" : 'X\(//\)[^/]' \| \
18665 X"$am_mf" : 'X\(//\)$' \| \
18666 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18667 printf "%s\n" X"$am_mf" |
18668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18669 s//\1/
18670 q
18671 }
18672 /^X\(\/\/\)[^/].*/{
18673 s//\1/
18674 q
18675 }
18676 /^X\(\/\/\)$/{
18677 s//\1/
18678 q
18679 }
18680 /^X\(\/\).*/{
18681 s//\1/
18682 q
18683 }
18684 s/.*/./; q'`
18685 am_filepart=`$as_basename -- "$am_mf" ||
18686 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18687 X"$am_mf" : 'X\(//\)$' \| \
18688 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18689 printf "%s\n" X/"$am_mf" |
18690 sed '/^.*\/\([^/][^/]*\)\/*$/{
18691 s//\1/
18692 q
18693 }
18694 /^X\/\(\/\/\)$/{
18695 s//\1/
18696 q
18697 }
18698 /^X\/\(\/\).*/{
18699 s//\1/
18700 q
18701 }
18702 s/.*/./; q'`
18703 { echo "$as_me:$LINENO: cd "$am_dirpart" \
18704 && sed -e '/# am--include-marker/d' "$am_filepart" \
18705 | $MAKE -f - am--depfiles" >&5
18706 (cd "$am_dirpart" \
18707 && sed -e '/# am--include-marker/d' "$am_filepart" \
18708 | $MAKE -f - am--depfiles) >&5 2>&5
18709 ac_status=$?
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); } || am_rc=$?
18712 done
18713 if test $am_rc -ne 0; then
18714 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18715 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
18716 as_fn_error $? "Something went wrong bootstrapping makefile fragments
18717 for automatic dependency tracking. If GNU make was not used, consider
18718 re-running the configure script with MAKE=\"gmake\" (or whatever is
18719 necessary). You can also try re-running configure with the
18720 '--disable-dependency-tracking' option to at least be able to build
18721 the package (albeit without support for automatic dependency tracking).
18722 See \`config.log' for more details" "$LINENO" 5; }
18723 fi
18724 { am_dirpart=; unset am_dirpart;}
18725 { am_filepart=; unset am_filepart;}
18726 { am_mf=; unset am_mf;}
18727 { am_rc=; unset am_rc;}
18728 rm -f conftest-deps.mk
18729 }
18730 ;;
18731 "libtool":C)
18732
18733 # See if we are running on zsh, and set the options that allow our
18734 # commands through without removal of \ escapes.
18735 if test -n "${ZSH_VERSION+set}"; then
18736 setopt NO_GLOB_SUBST
18737 fi
18738
18739 cfgfile=${ofile}T
18740 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18741 $RM "$cfgfile"
18742
18743 cat <<_LT_EOF >> "$cfgfile"
18744 #! $SHELL
18745 # Generated automatically by $as_me ($PACKAGE) $VERSION
18746 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18747
18748 # Provide generalized library-building support services.
18749 # Written by Gordon Matzigkeit, 1996
18750
18751 # Copyright (C) 2014 Free Software Foundation, Inc.
18752 # This is free software; see the source for copying conditions. There is NO
18753 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18754
18755 # GNU Libtool is free software; you can redistribute it and/or modify
18756 # it under the terms of the GNU General Public License as published by
18757 # the Free Software Foundation; either version 2 of of the License, or
18758 # (at your option) any later version.
18759 #
18760 # As a special exception to the GNU General Public License, if you
18761 # distribute this file as part of a program or library that is built
18762 # using GNU Libtool, you may include this file under the same
18763 # distribution terms that you use for the rest of that program.
18764 #
18765 # GNU Libtool is distributed in the hope that it will be useful, but
18766 # WITHOUT ANY WARRANTY; without even the implied warranty of
18767 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18768 # GNU General Public License for more details.
18769 #
18770 # You should have received a copy of the GNU General Public License
18771 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18772
18773
18774 # The names of the tagged configurations supported by this script.
18775 available_tags=''
18776
18777 # Configured defaults for sys_lib_dlsearch_path munging.
18778 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18779
18780 # ### BEGIN LIBTOOL CONFIG
18781
18782 # Which release of libtool.m4 was used?
18783 macro_version=$macro_version
18784 macro_revision=$macro_revision
18785
18786 # Whether or not to build shared libraries.
18787 build_libtool_libs=$enable_shared
18788
18789 # Whether or not to build static libraries.
18790 build_old_libs=$enable_static
18791
18792 # What type of objects to build.
18793 pic_mode=$pic_mode
18794
18795 # Whether or not to optimize for fast installation.
18796 fast_install=$enable_fast_install
18797
18798 # Shared archive member basename,for filename based shared library versioning on AIX.
18799 shared_archive_member_spec=$shared_archive_member_spec
18800
18801 # Shell to use when invoking shell scripts.
18802 SHELL=$lt_SHELL
18803
18804 # An echo program that protects backslashes.
18805 ECHO=$lt_ECHO
18806
18807 # The PATH separator for the build system.
18808 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18809
18810 # The host system.
18811 host_alias=$host_alias
18812 host=$host
18813 host_os=$host_os
18814
18815 # The build system.
18816 build_alias=$build_alias
18817 build=$build
18818 build_os=$build_os
18819
18820 # A sed program that does not truncate output.
18821 SED=$lt_SED
18822
18823 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18824 Xsed="\$SED -e 1s/^X//"
18825
18826 # A grep program that handles long lines.
18827 GREP=$lt_GREP
18828
18829 # An ERE matcher.
18830 EGREP=$lt_EGREP
18831
18832 # A literal string matcher.
18833 FGREP=$lt_FGREP
18834
18835 # A BSD- or MS-compatible name lister.
18836 NM=$lt_NM
18837
18838 # Whether we need soft or hard links.
18839 LN_S=$lt_LN_S
18840
18841 # What is the maximum length of a command?
18842 max_cmd_len=$max_cmd_len
18843
18844 # Object file suffix (normally "o").
18845 objext=$ac_objext
18846
18847 # Executable file suffix (normally "").
18848 exeext=$exeext
18849
18850 # whether the shell understands "unset".
18851 lt_unset=$lt_unset
18852
18853 # turn spaces into newlines.
18854 SP2NL=$lt_lt_SP2NL
18855
18856 # turn newlines into spaces.
18857 NL2SP=$lt_lt_NL2SP
18858
18859 # convert \$build file names to \$host format.
18860 to_host_file_cmd=$lt_cv_to_host_file_cmd
18861
18862 # convert \$build files to toolchain format.
18863 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18864
18865 # An object symbol dumper.
18866 OBJDUMP=$lt_OBJDUMP
18867
18868 # Method to check whether dependent libraries are shared objects.
18869 deplibs_check_method=$lt_deplibs_check_method
18870
18871 # Command to use when deplibs_check_method = "file_magic".
18872 file_magic_cmd=$lt_file_magic_cmd
18873
18874 # How to find potential files when deplibs_check_method = "file_magic".
18875 file_magic_glob=$lt_file_magic_glob
18876
18877 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18878 want_nocaseglob=$lt_want_nocaseglob
18879
18880 # DLL creation program.
18881 DLLTOOL=$lt_DLLTOOL
18882
18883 # Command to associate shared and link libraries.
18884 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18885
18886 # The archiver.
18887 AR=$lt_AR
18888
18889 # Flags to create an archive.
18890 AR_FLAGS=$lt_AR_FLAGS
18891
18892 # How to feed a file listing to the archiver.
18893 archiver_list_spec=$lt_archiver_list_spec
18894
18895 # A symbol stripping program.
18896 STRIP=$lt_STRIP
18897
18898 # Commands used to install an old-style archive.
18899 RANLIB=$lt_RANLIB
18900 old_postinstall_cmds=$lt_old_postinstall_cmds
18901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18902
18903 # Whether to use a lock for old archive extraction.
18904 lock_old_archive_extraction=$lock_old_archive_extraction
18905
18906 # A C compiler.
18907 LTCC=$lt_CC
18908
18909 # LTCC compiler flags.
18910 LTCFLAGS=$lt_CFLAGS
18911
18912 # Take the output of nm and produce a listing of raw symbols and C names.
18913 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18914
18915 # Transform the output of nm in a proper C declaration.
18916 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18917
18918 # Transform the output of nm into a list of symbols to manually relocate.
18919 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18920
18921 # Transform the output of nm in a C name address pair.
18922 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18923
18924 # Transform the output of nm in a C name address pair when lib prefix is needed.
18925 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18926
18927 # The name lister interface.
18928 nm_interface=$lt_lt_cv_nm_interface
18929
18930 # Specify filename containing input files for \$NM.
18931 nm_file_list_spec=$lt_nm_file_list_spec
18932
18933 # The root where to search for dependent libraries,and where our libraries should be installed.
18934 lt_sysroot=$lt_sysroot
18935
18936 # Command to truncate a binary pipe.
18937 lt_truncate_bin=$lt_lt_cv_truncate_bin
18938
18939 # The name of the directory that contains temporary libtool files.
18940 objdir=$objdir
18941
18942 # Used to examine libraries when file_magic_cmd begins with "file".
18943 MAGIC_CMD=$MAGIC_CMD
18944
18945 # Must we lock files when doing compilation?
18946 need_locks=$lt_need_locks
18947
18948 # Manifest tool.
18949 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18950
18951 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18952 DSYMUTIL=$lt_DSYMUTIL
18953
18954 # Tool to change global to local symbols on Mac OS X.
18955 NMEDIT=$lt_NMEDIT
18956
18957 # Tool to manipulate fat objects and archives on Mac OS X.
18958 LIPO=$lt_LIPO
18959
18960 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18961 OTOOL=$lt_OTOOL
18962
18963 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18964 OTOOL64=$lt_OTOOL64
18965
18966 # Old archive suffix (normally "a").
18967 libext=$libext
18968
18969 # Shared library suffix (normally ".so").
18970 shrext_cmds=$lt_shrext_cmds
18971
18972 # The commands to extract the exported symbol list from a shared archive.
18973 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18974
18975 # Variables whose values should be saved in libtool wrapper scripts and
18976 # restored at link time.
18977 variables_saved_for_relink=$lt_variables_saved_for_relink
18978
18979 # Do we need the "lib" prefix for modules?
18980 need_lib_prefix=$need_lib_prefix
18981
18982 # Do we need a version for libraries?
18983 need_version=$need_version
18984
18985 # Library versioning type.
18986 version_type=$version_type
18987
18988 # Shared library runtime path variable.
18989 runpath_var=$runpath_var
18990
18991 # Shared library path variable.
18992 shlibpath_var=$shlibpath_var
18993
18994 # Is shlibpath searched before the hard-coded library search path?
18995 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18996
18997 # Format of library name prefix.
18998 libname_spec=$lt_libname_spec
18999
19000 # List of archive names. First name is the real one, the rest are links.
19001 # The last name is the one that the linker finds with -lNAME
19002 library_names_spec=$lt_library_names_spec
19003
19004 # The coded name of the library, if different from the real name.
19005 soname_spec=$lt_soname_spec
19006
19007 # Permission mode override for installation of shared libraries.
19008 install_override_mode=$lt_install_override_mode
19009
19010 # Command to use after installation of a shared archive.
19011 postinstall_cmds=$lt_postinstall_cmds
19012
19013 # Command to use after uninstallation of a shared archive.
19014 postuninstall_cmds=$lt_postuninstall_cmds
19015
19016 # Commands used to finish a libtool library installation in a directory.
19017 finish_cmds=$lt_finish_cmds
19018
19019 # As "finish_cmds", except a single script fragment to be evaled but
19020 # not shown.
19021 finish_eval=$lt_finish_eval
19022
19023 # Whether we should hardcode library paths into libraries.
19024 hardcode_into_libs=$hardcode_into_libs
19025
19026 # Compile-time system search path for libraries.
19027 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19028
19029 # Detected run-time system search path for libraries.
19030 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19031
19032 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19033 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19034
19035 # Whether dlopen is supported.
19036 dlopen_support=$enable_dlopen
19037
19038 # Whether dlopen of programs is supported.
19039 dlopen_self=$enable_dlopen_self
19040
19041 # Whether dlopen of statically linked programs is supported.
19042 dlopen_self_static=$enable_dlopen_self_static
19043
19044 # Commands to strip libraries.
19045 old_striplib=$lt_old_striplib
19046 striplib=$lt_striplib
19047
19048
19049 # The linker used to build libraries.
19050 LD=$lt_LD
19051
19052 # How to create reloadable object files.
19053 reload_flag=$lt_reload_flag
19054 reload_cmds=$lt_reload_cmds
19055
19056 # Commands used to build an old-style archive.
19057 old_archive_cmds=$lt_old_archive_cmds
19058
19059 # A language specific compiler.
19060 CC=$lt_compiler
19061
19062 # Is the compiler the GNU compiler?
19063 with_gcc=$GCC
19064
19065 # Compiler flag to turn off builtin functions.
19066 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19067
19068 # Additional compiler flags for building library objects.
19069 pic_flag=$lt_lt_prog_compiler_pic
19070
19071 # How to pass a linker flag through the compiler.
19072 wl=$lt_lt_prog_compiler_wl
19073
19074 # Compiler flag to prevent dynamic linking.
19075 link_static_flag=$lt_lt_prog_compiler_static
19076
19077 # Does compiler simultaneously support -c and -o options?
19078 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19079
19080 # Whether or not to add -lc for building shared libraries.
19081 build_libtool_need_lc=$archive_cmds_need_lc
19082
19083 # Whether or not to disallow shared libs when runtime libs are static.
19084 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19085
19086 # Compiler flag to allow reflexive dlopens.
19087 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19088
19089 # Compiler flag to generate shared objects directly from archives.
19090 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19091
19092 # Whether the compiler copes with passing no objects directly.
19093 compiler_needs_object=$lt_compiler_needs_object
19094
19095 # Create an old-style archive from a shared archive.
19096 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19097
19098 # Create a temporary old-style archive to link instead of a shared archive.
19099 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19100
19101 # Commands used to build a shared archive.
19102 archive_cmds=$lt_archive_cmds
19103 archive_expsym_cmds=$lt_archive_expsym_cmds
19104
19105 # Commands used to build a loadable module if different from building
19106 # a shared archive.
19107 module_cmds=$lt_module_cmds
19108 module_expsym_cmds=$lt_module_expsym_cmds
19109
19110 # Whether we are building with GNU ld or not.
19111 with_gnu_ld=$lt_with_gnu_ld
19112
19113 # Flag that allows shared libraries with undefined symbols to be built.
19114 allow_undefined_flag=$lt_allow_undefined_flag
19115
19116 # Flag that enforces no undefined symbols.
19117 no_undefined_flag=$lt_no_undefined_flag
19118
19119 # Flag to hardcode \$libdir into a binary during linking.
19120 # This must work even if \$libdir does not exist
19121 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19122
19123 # Whether we need a single "-rpath" flag with a separated argument.
19124 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19125
19126 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19127 # DIR into the resulting binary.
19128 hardcode_direct=$hardcode_direct
19129
19130 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19131 # DIR into the resulting binary and the resulting library dependency is
19132 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19133 # library is relocated.
19134 hardcode_direct_absolute=$hardcode_direct_absolute
19135
19136 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19137 # into the resulting binary.
19138 hardcode_minus_L=$hardcode_minus_L
19139
19140 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19141 # into the resulting binary.
19142 hardcode_shlibpath_var=$hardcode_shlibpath_var
19143
19144 # Set to "yes" if building a shared library automatically hardcodes DIR
19145 # into the library and all subsequent libraries and executables linked
19146 # against it.
19147 hardcode_automatic=$hardcode_automatic
19148
19149 # Set to yes if linker adds runtime paths of dependent libraries
19150 # to runtime path list.
19151 inherit_rpath=$inherit_rpath
19152
19153 # Whether libtool must link a program against all its dependency libraries.
19154 link_all_deplibs=$link_all_deplibs
19155
19156 # Set to "yes" if exported symbols are required.
19157 always_export_symbols=$always_export_symbols
19158
19159 # The commands to list exported symbols.
19160 export_symbols_cmds=$lt_export_symbols_cmds
19161
19162 # Symbols that should not be listed in the preloaded symbols.
19163 exclude_expsyms=$lt_exclude_expsyms
19164
19165 # Symbols that must always be exported.
19166 include_expsyms=$lt_include_expsyms
19167
19168 # Commands necessary for linking programs (against libraries) with templates.
19169 prelink_cmds=$lt_prelink_cmds
19170
19171 # Commands necessary for finishing linking programs.
19172 postlink_cmds=$lt_postlink_cmds
19173
19174 # Specify filename containing input files.
19175 file_list_spec=$lt_file_list_spec
19176
19177 # How to hardcode a shared library path into an executable.
19178 hardcode_action=$hardcode_action
19179
19180 # ### END LIBTOOL CONFIG
19181
19182 _LT_EOF
19183
19184 cat <<'_LT_EOF' >> "$cfgfile"
19185
19186 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19187
19188 # func_munge_path_list VARIABLE PATH
19189 # -----------------------------------
19190 # VARIABLE is name of variable containing _space_ separated list of
19191 # directories to be munged by the contents of PATH, which is string
19192 # having a format:
19193 # "DIR[:DIR]:"
19194 # string "DIR[ DIR]" will be prepended to VARIABLE
19195 # ":DIR[:DIR]"
19196 # string "DIR[ DIR]" will be appended to VARIABLE
19197 # "DIRP[:DIRP]::[DIRA:]DIRA"
19198 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19199 # "DIRA[ DIRA]" will be appended to VARIABLE
19200 # "DIR[:DIR]"
19201 # VARIABLE will be replaced by "DIR[ DIR]"
19202 func_munge_path_list ()
19203 {
19204 case x$2 in
19205 x)
19206 ;;
19207 *:)
19208 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19209 ;;
19210 x:*)
19211 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19212 ;;
19213 *::*)
19214 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19215 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19216 ;;
19217 *)
19218 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19219 ;;
19220 esac
19221 }
19222
19223
19224 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19225 func_cc_basename ()
19226 {
19227 for cc_temp in $*""; do
19228 case $cc_temp in
19229 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19230 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19231 \-*) ;;
19232 *) break;;
19233 esac
19234 done
19235 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19236 }
19237
19238
19239 # ### END FUNCTIONS SHARED WITH CONFIGURE
19240
19241 _LT_EOF
19242
19243 case $host_os in
19244 aix3*)
19245 cat <<\_LT_EOF >> "$cfgfile"
19246 # AIX sometimes has problems with the GCC collect2 program. For some
19247 # reason, if we set the COLLECT_NAMES environment variable, the problems
19248 # vanish in a puff of smoke.
19249 if test set != "${COLLECT_NAMES+set}"; then
19250 COLLECT_NAMES=
19251 export COLLECT_NAMES
19252 fi
19253 _LT_EOF
19254 ;;
19255 esac
19256
19257
19258
19259 ltmain=$ac_aux_dir/ltmain.sh
19260
19261
19262 # We use sed instead of cat because bash on DJGPP gets confused if
19263 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19264 # text mode, it properly converts lines to CR/LF. This bash problem
19265 # is reportedly fixed, but why not run on old versions too?
19266 sed '$q' "$ltmain" >> "$cfgfile" \
19267 || (rm -f "$cfgfile"; exit 1)
19268
19269 mv -f "$cfgfile" "$ofile" ||
19270 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19271 chmod +x "$ofile"
19272
19273 ;;
19274 "po-directories":C)
19275 for ac_file in $CONFIG_FILES; do
19276 # Support "outfile[:infile[:infile...]]"
19277 case "$ac_file" in
19278 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19279 esac
19280 # PO directories have a Makefile.in generated from Makefile.in.in.
19281 case "$ac_file" in */Makefile.in)
19282 # Adjust a relative srcdir.
19283 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19284 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
19285 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19286 # In autoconf-2.13 it is called $ac_given_srcdir.
19287 # In autoconf-2.50 it is called $srcdir.
19288 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19289 case "$ac_given_srcdir" in
19290 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19291 /*) top_srcdir="$ac_given_srcdir" ;;
19292 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
19293 esac
19294 # Treat a directory as a PO directory if and only if it has a
19295 # POTFILES.in file. This allows packages to have multiple PO
19296 # directories under different names or in different locations.
19297 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19298 rm -f "$ac_dir/POTFILES"
19299 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19300 gt_tab=`printf '\t'`
19301 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19302 POMAKEFILEDEPS="POTFILES.in"
19303 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19304 # on $ac_dir but don't depend on user-specified configuration
19305 # parameters.
19306 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19307 # The LINGUAS file contains the set of available languages.
19308 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19309 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19310 fi
19311 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19312 # Hide the ALL_LINGUAS assignment from automake < 1.5.
19313 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19314 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19315 else
19316 # The set of available languages was given in configure.in.
19317 # Hide the ALL_LINGUAS assignment from automake < 1.5.
19318 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19319 fi
19320 # Compute POFILES
19321 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19322 # Compute UPDATEPOFILES
19323 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19324 # Compute DUMMYPOFILES
19325 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19326 # Compute GMOFILES
19327 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19328 case "$ac_given_srcdir" in
19329 .) srcdirpre= ;;
19330 *) srcdirpre='$(srcdir)/' ;;
19331 esac
19332 POFILES=
19333 UPDATEPOFILES=
19334 DUMMYPOFILES=
19335 GMOFILES=
19336 for lang in $ALL_LINGUAS; do
19337 POFILES="$POFILES $srcdirpre$lang.po"
19338 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19339 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19340 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19341 done
19342 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19343 # environment variable.
19344 INST_LINGUAS=
19345 if test -n "$ALL_LINGUAS"; then
19346 for presentlang in $ALL_LINGUAS; do
19347 useit=no
19348 if test "%UNSET%" != "$LINGUAS"; then
19349 desiredlanguages="$LINGUAS"
19350 else
19351 desiredlanguages="$ALL_LINGUAS"
19352 fi
19353 for desiredlang in $desiredlanguages; do
19354 # Use the presentlang catalog if desiredlang is
19355 # a. equal to presentlang, or
19356 # b. a variant of presentlang (because in this case,
19357 # presentlang can be used as a fallback for messages
19358 # which are not translated in the desiredlang catalog).
19359 case "$desiredlang" in
19360 "$presentlang"*) useit=yes;;
19361 esac
19362 done
19363 if test $useit = yes; then
19364 INST_LINGUAS="$INST_LINGUAS $presentlang"
19365 fi
19366 done
19367 fi
19368 CATALOGS=
19369 if test -n "$INST_LINGUAS"; then
19370 for lang in $INST_LINGUAS; do
19371 CATALOGS="$CATALOGS $lang.gmo"
19372 done
19373 fi
19374 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19375 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19376 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19377 if test -f "$f"; then
19378 case "$f" in
19379 *.orig | *.bak | *~) ;;
19380 *) cat "$f" >> "$ac_dir/Makefile" ;;
19381 esac
19382 fi
19383 done
19384 fi
19385 ;;
19386 esac
19387 done ;;
19388
19389 esac
19390 done # for ac_tag
19391
19392
19393 as_fn_exit 0
19394 _ACEOF
19395 ac_clean_files=$ac_clean_files_save
19396
19397 test $ac_write_fail = 0 ||
19398 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19399
19400
19401 # configure is writing to config.log, and then calls config.status.
19402 # config.status does its own redirection, appending to config.log.
19403 # Unfortunately, on DOS this fails, as config.log is still kept open
19404 # by configure, so config.status won't be able to write to it; its
19405 # output is simply discarded. So we exec the FD to /dev/null,
19406 # effectively closing config.log, so it can be properly (re)opened and
19407 # appended to by config.status. When coming back to configure, we
19408 # need to make the FD available again.
19409 if test "$no_create" != yes; then
19410 ac_cs_success=:
19411 ac_config_status_args=
19412 test "$silent" = yes &&
19413 ac_config_status_args="$ac_config_status_args --quiet"
19414 exec 5>/dev/null
19415 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19416 exec 5>>config.log
19417 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19418 # would make configure fail if this is the last instruction.
19419 $ac_cs_success || as_fn_exit 1
19420 fi
19421 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19423 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19424 fi
19425
19426
19427
19428 echo
19429 echo $PACKAGE $VERSION
19430 echo
19431
19432 echo Prefix: $prefix
19433 echo System configuration directory: $sysconfdir
19434 echo Python version: $PYTHON_VERSION
19435 echo Policykit-1 Enabled: $have_polkit
19436 echo Thunar sendto installation enabled: $have_thunar
19437 echo Caja sendto: $have_caja_python
19438 echo Nemo sendto: $have_nemo_python
19439 echo Nautilus sendto: $have_nautilus_python
19440 echo Settings menu integration enabled: $have_settings
19441 echo Dhcpd 3 configuration file: $dhconfig
19442 echo PulseAudio support: $use_pulseaudio
19443 echo Systemd system unit dir: ${systemd_system_unit_dir}
19444 echo Systemd user unit dir: ${systemd_user_unit_dir}
19445 echo Icon theme: gnome-icon-theme, mate-icon-theme, adwaita-icon-theme, elementary-xfce, or Papirus
19446 echo
19447