]> git.proxmox.com Git - systemd.git/blob - configure
Merge branch 'master' into experimental
[systemd.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for systemd 208.
4 #
5 # Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=systemd>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311 return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319 set +e
320 as_fn_set_status $1
321 exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
387 {
388 eval $1+=\$2
389 }'
390 else
391 as_fn_append ()
392 {
393 eval $1=\$$1\$2
394 }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else
408 as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 xy) ECHO_C='\c';;
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 ECHO_T=' ';;
520 esac;;
521 *)
522 ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
528 else
529 rm -f conf$$.dir
530 mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s='ln -s'
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 as_ln_s='cp -pR'
541 elif ln conf$$.file conf$$ 2>/dev/null; then
542 as_ln_s=ln
543 else
544 as_ln_s='cp -pR'
545 fi
546 else
547 as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
554 else
555 test -d ./-p && rmdir ./-p
556 as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='systemd'
593 PACKAGE_TARNAME='systemd'
594 PACKAGE_VERSION='208'
595 PACKAGE_STRING='systemd 208'
596 PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=systemd'
597 PACKAGE_URL='http://www.freedesktop.org/wiki/Software/systemd'
598
599 ac_unique_file="src/core/main.c"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 # include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 # include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_default_prefix=/usr
637 ac_header_list=
638 ac_subst_vars='am__EXEEXT_FALSE
639 am__EXEEXT_TRUE
640 LTLIBOBJS
641 rootlibdir
642 rootprefix
643 pamconfdir
644 pamlibdir
645 zshcompletiondir
646 bashcompletiondir
647 dbusinterfacedir
648 dbussystemservicedir
649 dbussessionservicedir
650 dbuspolicydir
651 ENABLE_TESTS_FALSE
652 ENABLE_TESTS_TRUE
653 ENABLE_GTK_DOC_TESTS_FALSE
654 ENABLE_GTK_DOC_TESTS_TRUE
655 HAVE_SYSV_COMPAT_FALSE
656 HAVE_SYSV_COMPAT_TRUE
657 M4_DEFINES
658 SYSTEM_SYSVRCND_PATH
659 SYSTEM_SYSVINIT_PATH
660 ENABLE_MANPAGES_FALSE
661 ENABLE_MANPAGES_TRUE
662 ENABLE_GUDEV_FALSE
663 ENABLE_GUDEV_TRUE
664 GLIB_LIBS
665 GLIB_CFLAGS
666 ENABLE_FIRMWARE_FALSE
667 ENABLE_FIRMWARE_TRUE
668 FIRMWARE_PATH
669 HAVE_MYHOSTNAME_FALSE
670 HAVE_MYHOSTNAME_TRUE
671 LIBOBJS
672 TELINIT
673 KBD_SETFONT
674 KBD_LOADKEYS
675 RC_LOCAL_SCRIPT_PATH_STOP
676 RC_LOCAL_SCRIPT_PATH_START
677 ENABLE_EFI_FALSE
678 ENABLE_EFI_TRUE
679 ENABLE_POLKIT_FALSE
680 ENABLE_POLKIT_TRUE
681 ENABLE_COREDUMP_FALSE
682 ENABLE_COREDUMP_TRUE
683 ENABLE_LOCALED_FALSE
684 ENABLE_LOCALED_TRUE
685 ENABLE_TIMEDATED_FALSE
686 ENABLE_TIMEDATED_TRUE
687 ENABLE_HOSTNAMED_FALSE
688 ENABLE_HOSTNAMED_TRUE
689 ENABLE_MACHINED_FALSE
690 ENABLE_MACHINED_TRUE
691 ENABLE_LOGIND_FALSE
692 ENABLE_LOGIND_TRUE
693 ENABLE_BACKLIGHT_FALSE
694 ENABLE_BACKLIGHT_TRUE
695 ENABLE_RANDOMSEED_FALSE
696 ENABLE_RANDOMSEED_TRUE
697 ENABLE_TMPFILES_FALSE
698 ENABLE_TMPFILES_TRUE
699 ENABLE_QUOTACHECK_FALSE
700 ENABLE_QUOTACHECK_TRUE
701 ENABLE_BOOTCHART_FALSE
702 ENABLE_BOOTCHART_TRUE
703 ENABLE_READAHEAD_FALSE
704 ENABLE_READAHEAD_TRUE
705 ENABLE_VCONSOLE_FALSE
706 ENABLE_VCONSOLE_TRUE
707 ENABLE_BINFMT_FALSE
708 ENABLE_BINFMT_TRUE
709 HAVE_MICROHTTPD_FALSE
710 HAVE_MICROHTTPD_TRUE
711 MICROHTTPD_LIBS
712 MICROHTTPD_CFLAGS
713 HAVE_QRENCODE_FALSE
714 HAVE_QRENCODE_TRUE
715 QRENCODE_LIBS
716 QRENCODE_CFLAGS
717 HAVE_LIBCRYPTSETUP_FALSE
718 HAVE_LIBCRYPTSETUP_TRUE
719 LIBCRYPTSETUP_LIBS
720 LIBCRYPTSETUP_CFLAGS
721 AUDIT_LIBS
722 HAVE_GCRYPT_FALSE
723 HAVE_GCRYPT_TRUE
724 GCRYPT_CFLAGS
725 GCRYPT_LIBS
726 LIBGCRYPT_LIBS
727 LIBGCRYPT_CFLAGS
728 LIBGCRYPT_CONFIG
729 HAVE_XATTR_FALSE
730 HAVE_XATTR_TRUE
731 XATTR_LIBS
732 HAVE_ACL_FALSE
733 HAVE_ACL_TRUE
734 ACL_LIBS
735 HAVE_PAM_FALSE
736 HAVE_PAM_TRUE
737 PAM_LIBS
738 LIBWRAP_LIBS
739 HAVE_XZ_FALSE
740 HAVE_XZ_TRUE
741 XZ_LIBS
742 XZ_CFLAGS
743 DEBUGTTY
744 SUSHELL
745 HAVE_SELINUX_FALSE
746 HAVE_SELINUX_TRUE
747 SELINUX_LIBS
748 SELINUX_CFLAGS
749 CHKCONFIG
750 HAVE_BLKID_FALSE
751 HAVE_BLKID_TRUE
752 BLKID_LIBS
753 BLKID_CFLAGS
754 HAVE_KMOD_FALSE
755 HAVE_KMOD_TRUE
756 KMOD_LIBS
757 KMOD_CFLAGS
758 ENABLE_COVERAGE_FALSE
759 ENABLE_COVERAGE_TRUE
760 lcov_found
761 DBUS_LIBS
762 DBUS_CFLAGS
763 RT_LIBS
764 CAP_LIBS
765 HAVE_PYTHON_DEVEL_FALSE
766 HAVE_PYTHON_DEVEL_TRUE
767 SPHINX_BUILD
768 PYTHON_DEVEL_LIBS
769 PYTHON_DEVEL_CFLAGS
770 PYTHON_BINARY
771 HAVE_PYTHON_FALSE
772 HAVE_PYTHON_TRUE
773 pkgpyexecdir
774 pyexecdir
775 pkgpythondir
776 pythondir
777 PYTHON_PLATFORM
778 PYTHON_EXEC_PREFIX
779 PYTHON_PREFIX
780 PYTHON_VERSION
781 PYTHON
782 OUR_LDFLAGS
783 OUR_CPPFLAGS
784 OUR_CFLAGS
785 GPERF
786 STRINGS
787 OBJCOPY
788 HAVE_INTROSPECTION_FALSE
789 HAVE_INTROSPECTION_TRUE
790 INTROSPECTION_MAKEFILE
791 INTROSPECTION_LIBS
792 INTROSPECTION_CFLAGS
793 INTROSPECTION_TYPELIBDIR
794 INTROSPECTION_GIRDIR
795 INTROSPECTION_GENERATE
796 INTROSPECTION_COMPILER
797 INTROSPECTION_SCANNER
798 GTK_DOC_USE_REBASE_FALSE
799 GTK_DOC_USE_REBASE_TRUE
800 GTK_DOC_USE_LIBTOOL_FALSE
801 GTK_DOC_USE_LIBTOOL_TRUE
802 GTK_DOC_BUILD_PDF_FALSE
803 GTK_DOC_BUILD_PDF_TRUE
804 GTK_DOC_BUILD_HTML_FALSE
805 GTK_DOC_BUILD_HTML_TRUE
806 ENABLE_GTK_DOC_FALSE
807 ENABLE_GTK_DOC_TRUE
808 GTKDOC_DEPS_LIBS
809 GTKDOC_DEPS_CFLAGS
810 HTML_DIR
811 GTKDOC_MKPDF
812 GTKDOC_REBASE
813 GTKDOC_CHECK
814 PKG_CONFIG_LIBDIR
815 PKG_CONFIG_PATH
816 PKG_CONFIG
817 KEXEC
818 KMOD
819 KILL
820 SETCAP
821 QUOTACHECK
822 QUOTAON
823 XSLTPROC
824 M4
825 GETTEXT_PACKAGE
826 DATADIRNAME
827 ALL_LINGUAS
828 INTLTOOL_PERL
829 GMSGFMT
830 MSGFMT
831 MSGMERGE
832 XGETTEXT
833 INTLTOOL_POLICY_RULE
834 INTLTOOL_SERVICE_RULE
835 INTLTOOL_THEME_RULE
836 INTLTOOL_SCHEMAS_RULE
837 INTLTOOL_CAVES_RULE
838 INTLTOOL_XML_NOMERGE_RULE
839 INTLTOOL_XML_RULE
840 INTLTOOL_KBD_RULE
841 INTLTOOL_XAM_RULE
842 INTLTOOL_UI_RULE
843 INTLTOOL_SOUNDLIST_RULE
844 INTLTOOL_SHEET_RULE
845 INTLTOOL_SERVER_RULE
846 INTLTOOL_PONG_RULE
847 INTLTOOL_OAF_RULE
848 INTLTOOL_PROP_RULE
849 INTLTOOL_KEYS_RULE
850 INTLTOOL_DIRECTORY_RULE
851 INTLTOOL_DESKTOP_RULE
852 intltool__v_merge_options_0
853 intltool__v_merge_options_
854 INTLTOOL_V_MERGE_OPTIONS
855 INTLTOOL__v_MERGE_0
856 INTLTOOL__v_MERGE_
857 INTLTOOL_V_MERGE
858 INTLTOOL_EXTRACT
859 INTLTOOL_MERGE
860 INTLTOOL_UPDATE
861 USE_NLS
862 OTOOL64
863 OTOOL
864 LIPO
865 NMEDIT
866 DSYMUTIL
867 MANIFEST_TOOL
868 RANLIB
869 ac_ct_AR
870 AR
871 DLLTOOL
872 OBJDUMP
873 LN_S
874 NM
875 ac_ct_DUMPBIN
876 DUMPBIN
877 LD
878 FGREP
879 SED
880 LIBTOOL
881 host_os
882 host_vendor
883 host_cpu
884 host
885 build_os
886 build_vendor
887 build_cpu
888 build
889 AM_BACKSLASH
890 AM_DEFAULT_VERBOSITY
891 AM_DEFAULT_V
892 AM_V
893 am__fastdepCC_FALSE
894 am__fastdepCC_TRUE
895 CCDEPMODE
896 am__nodep
897 AMDEPBACKSLASH
898 AMDEP_FALSE
899 AMDEP_TRUE
900 am__quote
901 am__include
902 DEPDIR
903 am__untar
904 am__tar
905 AMTAR
906 am__leading_dot
907 SET_MAKE
908 AWK
909 mkdir_p
910 MKDIR_P
911 INSTALL_STRIP_PROGRAM
912 STRIP
913 install_sh
914 MAKEINFO
915 AUTOHEADER
916 AUTOMAKE
917 AUTOCONF
918 ACLOCAL
919 VERSION
920 PACKAGE
921 CYGPATH_W
922 am__isrc
923 INSTALL_DATA
924 INSTALL_SCRIPT
925 INSTALL_PROGRAM
926 EGREP
927 GREP
928 CPP
929 OBJEXT
930 EXEEXT
931 ac_ct_CC
932 CPPFLAGS
933 LDFLAGS
934 CFLAGS
935 CC
936 target_alias
937 host_alias
938 build_alias
939 LIBS
940 ECHO_T
941 ECHO_N
942 ECHO_C
943 DEFS
944 mandir
945 localedir
946 libdir
947 psdir
948 pdfdir
949 dvidir
950 htmldir
951 infodir
952 docdir
953 oldincludedir
954 includedir
955 localstatedir
956 sharedstatedir
957 sysconfdir
958 datadir
959 datarootdir
960 libexecdir
961 sbindir
962 bindir
963 program_transform_name
964 prefix
965 exec_prefix
966 PACKAGE_URL
967 PACKAGE_BUGREPORT
968 PACKAGE_STRING
969 PACKAGE_VERSION
970 PACKAGE_TARNAME
971 PACKAGE_NAME
972 PATH_SEPARATOR
973 SHELL'
974 ac_subst_files=''
975 ac_user_opts='
976 enable_option_checking
977 enable_largefile
978 enable_dependency_tracking
979 enable_silent_rules
980 enable_static
981 enable_shared
982 with_pic
983 enable_fast_install
984 with_gnu_ld
985 with_sysroot
986 enable_libtool_lock
987 enable_nls
988 with_html_dir
989 enable_gtk_doc
990 enable_gtk_doc_html
991 enable_gtk_doc_pdf
992 enable_introspection
993 enable_address_sanitizer
994 with_python
995 enable_python_devel
996 enable_coverage
997 enable_kmod
998 enable_blkid
999 enable_ima
1000 enable_chkconfig
1001 enable_selinux
1002 with_debug_shell
1003 with_debug_tty
1004 enable_xz
1005 enable_tcpwrap
1006 enable_pam
1007 enable_acl
1008 enable_xattr
1009 enable_smack
1010 enable_gcrypt
1011 with_libgcrypt_prefix
1012 enable_audit
1013 enable_libcryptsetup
1014 enable_qrencode
1015 enable_microhttpd
1016 enable_binfmt
1017 enable_vconsole
1018 enable_readahead
1019 enable_bootchart
1020 enable_quotacheck
1021 enable_tmpfiles
1022 enable_randomseed
1023 enable_backlight
1024 enable_logind
1025 enable_machined
1026 enable_hostnamed
1027 enable_timedated
1028 enable_localed
1029 enable_coredump
1030 enable_polkit
1031 enable_efi
1032 with_rc_local_script_path_start
1033 with_rc_local_script_path_stop
1034 with_kbd_loadkeys
1035 with_kbd_setfont
1036 with_telinit
1037 enable_myhostname
1038 with_firmware_path
1039 enable_gudev
1040 enable_manpages
1041 with_sysvinit_path
1042 with_sysvrcnd_path
1043 with_tty_gid
1044 with_dbuspolicydir
1045 with_dbussessionservicedir
1046 with_dbussystemservicedir
1047 with_dbusinterfacedir
1048 with_bashcompletiondir
1049 with_zshcompletiondir
1050 with_rootprefix
1051 with_rootlibdir
1052 with_pamlibdir
1053 with_pamconfdir
1054 enable_split_usr
1055 enable_tests
1056 '
1057 ac_precious_vars='build_alias
1058 host_alias
1059 target_alias
1060 CC
1061 CFLAGS
1062 LDFLAGS
1063 LIBS
1064 CPPFLAGS
1065 CPP
1066 PKG_CONFIG
1067 PKG_CONFIG_PATH
1068 PKG_CONFIG_LIBDIR
1069 GTKDOC_DEPS_CFLAGS
1070 GTKDOC_DEPS_LIBS
1071 PYTHON
1072 PYTHON_BINARY
1073 PYTHON_DEVEL_CFLAGS
1074 PYTHON_DEVEL_LIBS
1075 DBUS_CFLAGS
1076 DBUS_LIBS
1077 KMOD_CFLAGS
1078 KMOD_LIBS
1079 BLKID_CFLAGS
1080 BLKID_LIBS
1081 SELINUX_CFLAGS
1082 SELINUX_LIBS
1083 XZ_CFLAGS
1084 XZ_LIBS
1085 LIBCRYPTSETUP_CFLAGS
1086 LIBCRYPTSETUP_LIBS
1087 QRENCODE_CFLAGS
1088 QRENCODE_LIBS
1089 MICROHTTPD_CFLAGS
1090 MICROHTTPD_LIBS
1091 GLIB_CFLAGS
1092 GLIB_LIBS'
1093
1094
1095 # Initialize some variables set by options.
1096 ac_init_help=
1097 ac_init_version=false
1098 ac_unrecognized_opts=
1099 ac_unrecognized_sep=
1100 # The variables have the same names as the options, with
1101 # dashes changed to underlines.
1102 cache_file=/dev/null
1103 exec_prefix=NONE
1104 no_create=
1105 no_recursion=
1106 prefix=NONE
1107 program_prefix=NONE
1108 program_suffix=NONE
1109 program_transform_name=s,x,x,
1110 silent=
1111 site=
1112 srcdir=
1113 verbose=
1114 x_includes=NONE
1115 x_libraries=NONE
1116
1117 # Installation directory options.
1118 # These are left unexpanded so users can "make install exec_prefix=/foo"
1119 # and all the variables that are supposed to be based on exec_prefix
1120 # by default will actually change.
1121 # Use braces instead of parens because sh, perl, etc. also accept them.
1122 # (The list follows the same order as the GNU Coding Standards.)
1123 bindir='${exec_prefix}/bin'
1124 sbindir='${exec_prefix}/sbin'
1125 libexecdir='${exec_prefix}/libexec'
1126 datarootdir='${prefix}/share'
1127 datadir='${datarootdir}'
1128 sysconfdir='${prefix}/etc'
1129 sharedstatedir='${prefix}/com'
1130 localstatedir='${prefix}/var'
1131 includedir='${prefix}/include'
1132 oldincludedir='/usr/include'
1133 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1134 infodir='${datarootdir}/info'
1135 htmldir='${docdir}'
1136 dvidir='${docdir}'
1137 pdfdir='${docdir}'
1138 psdir='${docdir}'
1139 libdir='${exec_prefix}/lib'
1140 localedir='${datarootdir}/locale'
1141 mandir='${datarootdir}/man'
1142
1143 ac_prev=
1144 ac_dashdash=
1145 for ac_option
1146 do
1147 # If the previous option needs an argument, assign it.
1148 if test -n "$ac_prev"; then
1149 eval $ac_prev=\$ac_option
1150 ac_prev=
1151 continue
1152 fi
1153
1154 case $ac_option in
1155 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1156 *=) ac_optarg= ;;
1157 *) ac_optarg=yes ;;
1158 esac
1159
1160 # Accept the important Cygnus configure options, so we can diagnose typos.
1161
1162 case $ac_dashdash$ac_option in
1163 --)
1164 ac_dashdash=yes ;;
1165
1166 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1167 ac_prev=bindir ;;
1168 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1169 bindir=$ac_optarg ;;
1170
1171 -build | --build | --buil | --bui | --bu)
1172 ac_prev=build_alias ;;
1173 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1174 build_alias=$ac_optarg ;;
1175
1176 -cache-file | --cache-file | --cache-fil | --cache-fi \
1177 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1178 ac_prev=cache_file ;;
1179 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1180 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1181 cache_file=$ac_optarg ;;
1182
1183 --config-cache | -C)
1184 cache_file=config.cache ;;
1185
1186 -datadir | --datadir | --datadi | --datad)
1187 ac_prev=datadir ;;
1188 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1189 datadir=$ac_optarg ;;
1190
1191 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1192 | --dataroo | --dataro | --datar)
1193 ac_prev=datarootdir ;;
1194 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1195 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1196 datarootdir=$ac_optarg ;;
1197
1198 -disable-* | --disable-*)
1199 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1202 as_fn_error $? "invalid feature name: $ac_useropt"
1203 ac_useropt_orig=$ac_useropt
1204 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1206 *"
1207 "enable_$ac_useropt"
1208 "*) ;;
1209 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1210 ac_unrecognized_sep=', ';;
1211 esac
1212 eval enable_$ac_useropt=no ;;
1213
1214 -docdir | --docdir | --docdi | --doc | --do)
1215 ac_prev=docdir ;;
1216 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1217 docdir=$ac_optarg ;;
1218
1219 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1220 ac_prev=dvidir ;;
1221 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1222 dvidir=$ac_optarg ;;
1223
1224 -enable-* | --enable-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228 as_fn_error $? "invalid feature name: $ac_useropt"
1229 ac_useropt_orig=$ac_useropt
1230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1232 *"
1233 "enable_$ac_useropt"
1234 "*) ;;
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1236 ac_unrecognized_sep=', ';;
1237 esac
1238 eval enable_$ac_useropt=\$ac_optarg ;;
1239
1240 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1241 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1242 | --exec | --exe | --ex)
1243 ac_prev=exec_prefix ;;
1244 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1245 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1246 | --exec=* | --exe=* | --ex=*)
1247 exec_prefix=$ac_optarg ;;
1248
1249 -gas | --gas | --ga | --g)
1250 # Obsolete; use --with-gas.
1251 with_gas=yes ;;
1252
1253 -help | --help | --hel | --he | -h)
1254 ac_init_help=long ;;
1255 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1256 ac_init_help=recursive ;;
1257 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1258 ac_init_help=short ;;
1259
1260 -host | --host | --hos | --ho)
1261 ac_prev=host_alias ;;
1262 -host=* | --host=* | --hos=* | --ho=*)
1263 host_alias=$ac_optarg ;;
1264
1265 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1266 ac_prev=htmldir ;;
1267 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1268 | --ht=*)
1269 htmldir=$ac_optarg ;;
1270
1271 -includedir | --includedir | --includedi | --included | --include \
1272 | --includ | --inclu | --incl | --inc)
1273 ac_prev=includedir ;;
1274 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1275 | --includ=* | --inclu=* | --incl=* | --inc=*)
1276 includedir=$ac_optarg ;;
1277
1278 -infodir | --infodir | --infodi | --infod | --info | --inf)
1279 ac_prev=infodir ;;
1280 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1281 infodir=$ac_optarg ;;
1282
1283 -libdir | --libdir | --libdi | --libd)
1284 ac_prev=libdir ;;
1285 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1286 libdir=$ac_optarg ;;
1287
1288 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1289 | --libexe | --libex | --libe)
1290 ac_prev=libexecdir ;;
1291 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1292 | --libexe=* | --libex=* | --libe=*)
1293 libexecdir=$ac_optarg ;;
1294
1295 -localedir | --localedir | --localedi | --localed | --locale)
1296 ac_prev=localedir ;;
1297 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1298 localedir=$ac_optarg ;;
1299
1300 -localstatedir | --localstatedir | --localstatedi | --localstated \
1301 | --localstate | --localstat | --localsta | --localst | --locals)
1302 ac_prev=localstatedir ;;
1303 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1304 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1305 localstatedir=$ac_optarg ;;
1306
1307 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1308 ac_prev=mandir ;;
1309 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1310 mandir=$ac_optarg ;;
1311
1312 -nfp | --nfp | --nf)
1313 # Obsolete; use --without-fp.
1314 with_fp=no ;;
1315
1316 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1317 | --no-cr | --no-c | -n)
1318 no_create=yes ;;
1319
1320 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1321 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1322 no_recursion=yes ;;
1323
1324 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1325 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1326 | --oldin | --oldi | --old | --ol | --o)
1327 ac_prev=oldincludedir ;;
1328 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1329 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1330 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1331 oldincludedir=$ac_optarg ;;
1332
1333 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1334 ac_prev=prefix ;;
1335 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1336 prefix=$ac_optarg ;;
1337
1338 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1339 | --program-pre | --program-pr | --program-p)
1340 ac_prev=program_prefix ;;
1341 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1342 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1343 program_prefix=$ac_optarg ;;
1344
1345 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1346 | --program-suf | --program-su | --program-s)
1347 ac_prev=program_suffix ;;
1348 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1349 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1350 program_suffix=$ac_optarg ;;
1351
1352 -program-transform-name | --program-transform-name \
1353 | --program-transform-nam | --program-transform-na \
1354 | --program-transform-n | --program-transform- \
1355 | --program-transform | --program-transfor \
1356 | --program-transfo | --program-transf \
1357 | --program-trans | --program-tran \
1358 | --progr-tra | --program-tr | --program-t)
1359 ac_prev=program_transform_name ;;
1360 -program-transform-name=* | --program-transform-name=* \
1361 | --program-transform-nam=* | --program-transform-na=* \
1362 | --program-transform-n=* | --program-transform-=* \
1363 | --program-transform=* | --program-transfor=* \
1364 | --program-transfo=* | --program-transf=* \
1365 | --program-trans=* | --program-tran=* \
1366 | --progr-tra=* | --program-tr=* | --program-t=*)
1367 program_transform_name=$ac_optarg ;;
1368
1369 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1370 ac_prev=pdfdir ;;
1371 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1372 pdfdir=$ac_optarg ;;
1373
1374 -psdir | --psdir | --psdi | --psd | --ps)
1375 ac_prev=psdir ;;
1376 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1377 psdir=$ac_optarg ;;
1378
1379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1380 | -silent | --silent | --silen | --sile | --sil)
1381 silent=yes ;;
1382
1383 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1384 ac_prev=sbindir ;;
1385 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1386 | --sbi=* | --sb=*)
1387 sbindir=$ac_optarg ;;
1388
1389 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1390 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1391 | --sharedst | --shareds | --shared | --share | --shar \
1392 | --sha | --sh)
1393 ac_prev=sharedstatedir ;;
1394 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1395 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1396 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1397 | --sha=* | --sh=*)
1398 sharedstatedir=$ac_optarg ;;
1399
1400 -site | --site | --sit)
1401 ac_prev=site ;;
1402 -site=* | --site=* | --sit=*)
1403 site=$ac_optarg ;;
1404
1405 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1406 ac_prev=srcdir ;;
1407 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1408 srcdir=$ac_optarg ;;
1409
1410 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1411 | --syscon | --sysco | --sysc | --sys | --sy)
1412 ac_prev=sysconfdir ;;
1413 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1414 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1415 sysconfdir=$ac_optarg ;;
1416
1417 -target | --target | --targe | --targ | --tar | --ta | --t)
1418 ac_prev=target_alias ;;
1419 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1420 target_alias=$ac_optarg ;;
1421
1422 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1423 verbose=yes ;;
1424
1425 -version | --version | --versio | --versi | --vers | -V)
1426 ac_init_version=: ;;
1427
1428 -with-* | --with-*)
1429 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1430 # Reject names that are not valid shell variable names.
1431 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1432 as_fn_error $? "invalid package name: $ac_useropt"
1433 ac_useropt_orig=$ac_useropt
1434 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1435 case $ac_user_opts in
1436 *"
1437 "with_$ac_useropt"
1438 "*) ;;
1439 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1440 ac_unrecognized_sep=', ';;
1441 esac
1442 eval with_$ac_useropt=\$ac_optarg ;;
1443
1444 -without-* | --without-*)
1445 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1446 # Reject names that are not valid shell variable names.
1447 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1448 as_fn_error $? "invalid package name: $ac_useropt"
1449 ac_useropt_orig=$ac_useropt
1450 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1451 case $ac_user_opts in
1452 *"
1453 "with_$ac_useropt"
1454 "*) ;;
1455 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1456 ac_unrecognized_sep=', ';;
1457 esac
1458 eval with_$ac_useropt=no ;;
1459
1460 --x)
1461 # Obsolete; use --with-x.
1462 with_x=yes ;;
1463
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev=x_includes ;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes=$ac_optarg ;;
1470
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev=x_libraries ;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries=$ac_optarg ;;
1477
1478 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1479 Try \`$0 --help' for more information"
1480 ;;
1481
1482 *=*)
1483 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1484 # Reject names that are not valid shell variable names.
1485 case $ac_envvar in #(
1486 '' | [0-9]* | *[!_$as_cr_alnum]* )
1487 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1488 esac
1489 eval $ac_envvar=\$ac_optarg
1490 export $ac_envvar ;;
1491
1492 *)
1493 # FIXME: should be removed in autoconf 3.0.
1494 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1496 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1498 ;;
1499
1500 esac
1501 done
1502
1503 if test -n "$ac_prev"; then
1504 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1505 as_fn_error $? "missing argument to $ac_option"
1506 fi
1507
1508 if test -n "$ac_unrecognized_opts"; then
1509 case $enable_option_checking in
1510 no) ;;
1511 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1512 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1513 esac
1514 fi
1515
1516 # Check all directory arguments for consistency.
1517 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1518 datadir sysconfdir sharedstatedir localstatedir includedir \
1519 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1520 libdir localedir mandir
1521 do
1522 eval ac_val=\$$ac_var
1523 # Remove trailing slashes.
1524 case $ac_val in
1525 */ )
1526 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1527 eval $ac_var=\$ac_val;;
1528 esac
1529 # Be sure to have absolute directory names.
1530 case $ac_val in
1531 [\\/$]* | ?:[\\/]* ) continue;;
1532 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1533 esac
1534 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1535 done
1536
1537 # There might be people who depend on the old broken behavior: `$host'
1538 # used to hold the argument of --host etc.
1539 # FIXME: To remove some day.
1540 build=$build_alias
1541 host=$host_alias
1542 target=$target_alias
1543
1544 # FIXME: To remove some day.
1545 if test "x$host_alias" != x; then
1546 if test "x$build_alias" = x; then
1547 cross_compiling=maybe
1548 elif test "x$build_alias" != "x$host_alias"; then
1549 cross_compiling=yes
1550 fi
1551 fi
1552
1553 ac_tool_prefix=
1554 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1555
1556 test "$silent" = yes && exec 6>/dev/null
1557
1558
1559 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1560 ac_ls_di=`ls -di .` &&
1561 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1562 as_fn_error $? "working directory cannot be determined"
1563 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1564 as_fn_error $? "pwd does not report name of working directory"
1565
1566
1567 # Find the source files, if location was not specified.
1568 if test -z "$srcdir"; then
1569 ac_srcdir_defaulted=yes
1570 # Try the directory containing this script, then the parent directory.
1571 ac_confdir=`$as_dirname -- "$as_myself" ||
1572 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1573 X"$as_myself" : 'X\(//\)[^/]' \| \
1574 X"$as_myself" : 'X\(//\)$' \| \
1575 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1576 $as_echo X"$as_myself" |
1577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1578 s//\1/
1579 q
1580 }
1581 /^X\(\/\/\)[^/].*/{
1582 s//\1/
1583 q
1584 }
1585 /^X\(\/\/\)$/{
1586 s//\1/
1587 q
1588 }
1589 /^X\(\/\).*/{
1590 s//\1/
1591 q
1592 }
1593 s/.*/./; q'`
1594 srcdir=$ac_confdir
1595 if test ! -r "$srcdir/$ac_unique_file"; then
1596 srcdir=..
1597 fi
1598 else
1599 ac_srcdir_defaulted=no
1600 fi
1601 if test ! -r "$srcdir/$ac_unique_file"; then
1602 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1603 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1604 fi
1605 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1606 ac_abs_confdir=`(
1607 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1608 pwd)`
1609 # When building in place, set srcdir=.
1610 if test "$ac_abs_confdir" = "$ac_pwd"; then
1611 srcdir=.
1612 fi
1613 # Remove unnecessary trailing slashes from srcdir.
1614 # Double slashes in file names in object file debugging info
1615 # mess up M-x gdb in Emacs.
1616 case $srcdir in
1617 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1618 esac
1619 for ac_var in $ac_precious_vars; do
1620 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1621 eval ac_env_${ac_var}_value=\$${ac_var}
1622 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1623 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1624 done
1625
1626 #
1627 # Report the --help message.
1628 #
1629 if test "$ac_init_help" = "long"; then
1630 # Omit some internal or obsolete options to make the list less imposing.
1631 # This message is too long to be a string in the A/UX 3.1 sh.
1632 cat <<_ACEOF
1633 \`configure' configures systemd 208 to adapt to many kinds of systems.
1634
1635 Usage: $0 [OPTION]... [VAR=VALUE]...
1636
1637 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1638 VAR=VALUE. See below for descriptions of some of the useful variables.
1639
1640 Defaults for the options are specified in brackets.
1641
1642 Configuration:
1643 -h, --help display this help and exit
1644 --help=short display options specific to this package
1645 --help=recursive display the short help of all the included packages
1646 -V, --version display version information and exit
1647 -q, --quiet, --silent do not print \`checking ...' messages
1648 --cache-file=FILE cache test results in FILE [disabled]
1649 -C, --config-cache alias for \`--cache-file=config.cache'
1650 -n, --no-create do not create output files
1651 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1652
1653 Installation directories:
1654 --prefix=PREFIX install architecture-independent files in PREFIX
1655 [$ac_default_prefix]
1656 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1657 [PREFIX]
1658
1659 By default, \`make install' will install all the files in
1660 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1661 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1662 for instance \`--prefix=\$HOME'.
1663
1664 For better control, use the options below.
1665
1666 Fine tuning of the installation directories:
1667 --bindir=DIR user executables [EPREFIX/bin]
1668 --sbindir=DIR system admin executables [EPREFIX/sbin]
1669 --libexecdir=DIR program executables [EPREFIX/libexec]
1670 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1671 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1672 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1673 --libdir=DIR object code libraries [EPREFIX/lib]
1674 --includedir=DIR C header files [PREFIX/include]
1675 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1676 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1677 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1678 --infodir=DIR info documentation [DATAROOTDIR/info]
1679 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1680 --mandir=DIR man documentation [DATAROOTDIR/man]
1681 --docdir=DIR documentation root [DATAROOTDIR/doc/systemd]
1682 --htmldir=DIR html documentation [DOCDIR]
1683 --dvidir=DIR dvi documentation [DOCDIR]
1684 --pdfdir=DIR pdf documentation [DOCDIR]
1685 --psdir=DIR ps documentation [DOCDIR]
1686 _ACEOF
1687
1688 cat <<\_ACEOF
1689
1690 Program names:
1691 --program-prefix=PREFIX prepend PREFIX to installed program names
1692 --program-suffix=SUFFIX append SUFFIX to installed program names
1693 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1694
1695 System types:
1696 --build=BUILD configure for building on BUILD [guessed]
1697 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1698 _ACEOF
1699 fi
1700
1701 if test -n "$ac_init_help"; then
1702 case $ac_init_help in
1703 short | recursive ) echo "Configuration of systemd 208:";;
1704 esac
1705 cat <<\_ACEOF
1706
1707 Optional Features:
1708 --disable-option-checking ignore unrecognized --enable/--with options
1709 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1710 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1711 --disable-largefile omit support for large files
1712 --enable-dependency-tracking
1713 do not reject slow dependency extractors
1714 --disable-dependency-tracking
1715 speeds up one-time build
1716 --enable-silent-rules less verbose build output (undo: "make V=1")
1717 --disable-silent-rules verbose build output (undo: "make V=0")
1718 --enable-static[=PKGS] build static libraries [default=no]
1719 --enable-shared[=PKGS] build shared libraries [default=yes]
1720 --enable-fast-install[=PKGS]
1721 optimize for fast installation [default=yes]
1722 --disable-libtool-lock avoid locking (might break parallel builds)
1723 --disable-nls do not use Native Language Support
1724 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1725 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1726 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1727 --enable-introspection=[no/auto/yes]
1728 Enable introspection for this build
1729 --enable-address-sanitizer
1730 enable -fsanitize=address
1731 --disable-python-devel Do not build python modules
1732 --enable-coverage enable test coverage
1733 --disable-kmod disable loadable modules support
1734 --disable-blkid disable blkid support
1735 --disable-ima Disable optional IMA support
1736 --disable-chkconfig Disable optional chkconfig support
1737 --disable-selinux Disable optional SELINUX support
1738 --disable-xz Disable optional XZ support
1739 --disable-tcpwrap Disable optional TCP wrappers support
1740 --disable-pam Disable optional PAM support
1741 --disable-acl Disable optional ACL support
1742 --disable-xattr Disable optional XATTR support
1743 --disable-smack Disable optional SMACK support
1744 --disable-gcrypt Disable optional GCRYPT support
1745 --disable-audit Disable optional AUDIT support
1746 --disable-libcryptsetup disable libcryptsetup tools
1747 --disable-qrencode disable qrencode support
1748 --disable-microhttpd disable microhttpd support
1749 --disable-binfmt disable binfmt tool
1750 --disable-vconsole disable vconsole tool
1751 --disable-readahead disable readahead tools
1752 --disable-bootchart disable bootchart tool
1753 --disable-quotacheck disable quotacheck tools
1754 --disable-tmpfiles disable tmpfiles support
1755 --disable-randomseed disable randomseed tools
1756 --disable-backlight disable backlight tools
1757 --disable-logind disable login daemon
1758 --disable-machined disable machine daemon
1759 --disable-hostnamed disable hostname daemon
1760 --disable-timedated disable timedate daemon
1761 --disable-localed disable locale daemon
1762 --disable-coredump disable coredump hook
1763 --disable-polkit disable PolicyKit support
1764 --disable-efi disable EFI support
1765 --disable-myhostname disable nss-myhostname support
1766 --disable-gudev disable Gobject libudev support [default=enabled]
1767 --disable-manpages disable manpages
1768 --enable-split-usr Assume that /bin, /sbin aren\'t symlinks into /usr
1769 --disable-tests disable tests
1770
1771 Optional Packages:
1772 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1773 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1774 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1775 both]
1776 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1777 --with-sysroot=DIR Search for dependent libraries within DIR
1778 (or the compiler's sysroot if not specified).
1779 --with-html-dir=PATH path to installed docs
1780 --without-python Disable building the man page index and
1781 systemd-python (default: test)
1782 --with-debug-shell=PATH Path to debug shell binary
1783 --with-debug-tty=PATH Specify the tty device for debug shell
1784 --with-libgcrypt-prefix=PFX
1785 prefix where LIBGCRYPT is installed (optional)
1786 --with-rc-local-script-path-start=PATH
1787 Path to /etc/rc.local
1788 --with-rc-local-script-path-stop=PATH
1789 Path to /usr/sbin/halt.local
1790 --with-kbd-loadkeys=PATH
1791 Path to loadkeys
1792 --with-kbd-setfont=PATH Path to setfont
1793 --with-telinit=PATH Path to telinit
1794 --with-firmware-path=DIR[:DIR[...]]
1795 Firmware search path (default="")
1796 --with-sysvinit-path=PATH
1797 Specify the path to where the SysV init scripts are
1798 located
1799 --with-sysvrcnd-path=PATH
1800 Specify the path to the base directory for the SysV
1801 rcN.d directories
1802 --with-tty-gid=GID Specify the numeric GID of the 'tty' group
1803 --with-dbuspolicydir=DIR
1804 D-Bus policy directory
1805 --with-dbussessionservicedir=DIR
1806 D-Bus session service directory
1807 --with-dbussystemservicedir=DIR
1808 D-Bus system service directory
1809 --with-dbusinterfacedir=DIR
1810 D-Bus interface directory
1811 --with-bashcompletiondir=DIR
1812 Bash completions directory
1813 --with-zshcompletiondir=DIR
1814 Zsh completions directory
1815 --with-rootprefix=DIR rootfs directory prefix for config files and kernel
1816 modules
1817 --with-rootlibdir=DIR Root directory for libraries necessary for boot
1818 --with-pamlibdir=DIR Directory for PAM modules
1819 --with-pamconfdir=DIR Directory for PAM configuration
1820
1821 Some influential environment variables:
1822 CC C compiler command
1823 CFLAGS C compiler flags
1824 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1825 nonstandard directory <lib dir>
1826 LIBS libraries to pass to the linker, e.g. -l<library>
1827 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1828 you have headers in a nonstandard directory <include dir>
1829 CPP C preprocessor
1830 PKG_CONFIG path to pkg-config utility
1831 PKG_CONFIG_PATH
1832 directories to add to pkg-config's search path
1833 PKG_CONFIG_LIBDIR
1834 path overriding pkg-config's built-in search path
1835 GTKDOC_DEPS_CFLAGS
1836 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1837 GTKDOC_DEPS_LIBS
1838 linker flags for GTKDOC_DEPS, overriding pkg-config
1839 PYTHON the Python interpreter
1840 PYTHON_BINARY
1841 Python binary used to launch installed scripts
1842 PYTHON_DEVEL_CFLAGS
1843 C compiler flags for PYTHON_DEVEL, overriding pkg-config
1844 PYTHON_DEVEL_LIBS
1845 linker flags for PYTHON_DEVEL, overriding pkg-config
1846 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1847 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1848 KMOD_CFLAGS C compiler flags for KMOD, overriding pkg-config
1849 KMOD_LIBS linker flags for KMOD, overriding pkg-config
1850 BLKID_CFLAGS
1851 C compiler flags for BLKID, overriding pkg-config
1852 BLKID_LIBS linker flags for BLKID, overriding pkg-config
1853 SELINUX_CFLAGS
1854 C compiler flags for SELINUX, overriding pkg-config
1855 SELINUX_LIBS
1856 linker flags for SELINUX, overriding pkg-config
1857 XZ_CFLAGS C compiler flags for XZ, overriding pkg-config
1858 XZ_LIBS linker flags for XZ, overriding pkg-config
1859 LIBCRYPTSETUP_CFLAGS
1860 C compiler flags for LIBCRYPTSETUP, overriding pkg-config
1861 LIBCRYPTSETUP_LIBS
1862 linker flags for LIBCRYPTSETUP, overriding pkg-config
1863 QRENCODE_CFLAGS
1864 C compiler flags for QRENCODE, overriding pkg-config
1865 QRENCODE_LIBS
1866 linker flags for QRENCODE, overriding pkg-config
1867 MICROHTTPD_CFLAGS
1868 C compiler flags for MICROHTTPD, overriding pkg-config
1869 MICROHTTPD_LIBS
1870 linker flags for MICROHTTPD, overriding pkg-config
1871 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1872 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1873
1874 Use these variables to override the choices made by `configure' or to help
1875 it to find libraries and programs with nonstandard names/locations.
1876
1877 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=systemd>.
1878 systemd home page: <http://www.freedesktop.org/wiki/Software/systemd>.
1879 _ACEOF
1880 ac_status=$?
1881 fi
1882
1883 if test "$ac_init_help" = "recursive"; then
1884 # If there are subdirs, report their specific --help.
1885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1886 test -d "$ac_dir" ||
1887 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1888 continue
1889 ac_builddir=.
1890
1891 case "$ac_dir" in
1892 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1893 *)
1894 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1895 # A ".." for each directory in $ac_dir_suffix.
1896 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1897 case $ac_top_builddir_sub in
1898 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1899 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1900 esac ;;
1901 esac
1902 ac_abs_top_builddir=$ac_pwd
1903 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1904 # for backward compatibility:
1905 ac_top_builddir=$ac_top_build_prefix
1906
1907 case $srcdir in
1908 .) # We are building in place.
1909 ac_srcdir=.
1910 ac_top_srcdir=$ac_top_builddir_sub
1911 ac_abs_top_srcdir=$ac_pwd ;;
1912 [\\/]* | ?:[\\/]* ) # Absolute name.
1913 ac_srcdir=$srcdir$ac_dir_suffix;
1914 ac_top_srcdir=$srcdir
1915 ac_abs_top_srcdir=$srcdir ;;
1916 *) # Relative name.
1917 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1918 ac_top_srcdir=$ac_top_build_prefix$srcdir
1919 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1920 esac
1921 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1922
1923 cd "$ac_dir" || { ac_status=$?; continue; }
1924 # Check for guested configure.
1925 if test -f "$ac_srcdir/configure.gnu"; then
1926 echo &&
1927 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1928 elif test -f "$ac_srcdir/configure"; then
1929 echo &&
1930 $SHELL "$ac_srcdir/configure" --help=recursive
1931 else
1932 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1933 fi || ac_status=$?
1934 cd "$ac_pwd" || { ac_status=$?; break; }
1935 done
1936 fi
1937
1938 test -n "$ac_init_help" && exit $ac_status
1939 if $ac_init_version; then
1940 cat <<\_ACEOF
1941 systemd configure 208
1942 generated by GNU Autoconf 2.69
1943
1944 Copyright (C) 2012 Free Software Foundation, Inc.
1945 This configure script is free software; the Free Software Foundation
1946 gives unlimited permission to copy, distribute and modify it.
1947 _ACEOF
1948 exit
1949 fi
1950
1951 ## ------------------------ ##
1952 ## Autoconf initialization. ##
1953 ## ------------------------ ##
1954
1955 # ac_fn_c_try_compile LINENO
1956 # --------------------------
1957 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_c_try_compile ()
1959 {
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 rm -f conftest.$ac_objext
1962 if { { ac_try="$ac_compile"
1963 case "(($ac_try" in
1964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1965 *) ac_try_echo=$ac_try;;
1966 esac
1967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 $as_echo "$ac_try_echo"; } >&5
1969 (eval "$ac_compile") 2>conftest.err
1970 ac_status=$?
1971 if test -s conftest.err; then
1972 grep -v '^ *+' conftest.err >conftest.er1
1973 cat conftest.er1 >&5
1974 mv -f conftest.er1 conftest.err
1975 fi
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } && {
1978 test -z "$ac_c_werror_flag" ||
1979 test ! -s conftest.err
1980 } && test -s conftest.$ac_objext; then :
1981 ac_retval=0
1982 else
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.$ac_ext >&5
1985
1986 ac_retval=1
1987 fi
1988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 as_fn_set_status $ac_retval
1990
1991 } # ac_fn_c_try_compile
1992
1993 # ac_fn_c_try_cpp LINENO
1994 # ----------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_c_try_cpp ()
1997 {
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2012 fi
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } > conftest.i && {
2015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023 ac_retval=1
2024 fi
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 as_fn_set_status $ac_retval
2027
2028 } # ac_fn_c_try_cpp
2029
2030 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2031 # -------------------------------------------------------
2032 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2033 # the include files in INCLUDES and setting the cache variable VAR
2034 # accordingly.
2035 ac_fn_c_check_header_mongrel ()
2036 {
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 if eval \${$3+:} false; then :
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \${$3+:} false; then :
2042 $as_echo_n "(cached) " >&6
2043 fi
2044 eval ac_res=\$$3
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2047 else
2048 # Is the header compilable?
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2050 $as_echo_n "checking $2 usability... " >&6; }
2051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2053 $4
2054 #include <$2>
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057 ac_header_compiler=yes
2058 else
2059 ac_header_compiler=no
2060 fi
2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2063 $as_echo "$ac_header_compiler" >&6; }
2064
2065 # Is the header present?
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2067 $as_echo_n "checking $2 presence... " >&6; }
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2070 #include <$2>
2071 _ACEOF
2072 if ac_fn_c_try_cpp "$LINENO"; then :
2073 ac_header_preproc=yes
2074 else
2075 ac_header_preproc=no
2076 fi
2077 rm -f conftest.err conftest.i conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2079 $as_echo "$ac_header_preproc" >&6; }
2080
2081 # So? What about this header?
2082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2083 yes:no: )
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2085 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088 ;;
2089 no:yes:* )
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2091 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2093 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2095 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2097 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2100 ( $as_echo "## ------------------------------------------------------------------------ ##
2101 ## Report this to http://bugs.freedesktop.org/enter_bug.cgi?product=systemd ##
2102 ## ------------------------------------------------------------------------ ##"
2103 ) | sed "s/^/$as_me: WARNING: /" >&2
2104 ;;
2105 esac
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if eval \${$3+:} false; then :
2109 $as_echo_n "(cached) " >&6
2110 else
2111 eval "$3=\$ac_header_compiler"
2112 fi
2113 eval ac_res=\$$3
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 fi
2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2118
2119 } # ac_fn_c_check_header_mongrel
2120
2121 # ac_fn_c_try_run LINENO
2122 # ----------------------
2123 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2124 # that executables *can* be run.
2125 ac_fn_c_try_run ()
2126 {
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 if { { ac_try="$ac_link"
2129 case "(($ac_try" in
2130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2131 *) ac_try_echo=$ac_try;;
2132 esac
2133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2134 $as_echo "$ac_try_echo"; } >&5
2135 (eval "$ac_link") 2>&5
2136 ac_status=$?
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2139 { { case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_try") 2>&5
2146 ac_status=$?
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; }; }; then :
2149 ac_retval=0
2150 else
2151 $as_echo "$as_me: program exited with status $ac_status" >&5
2152 $as_echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.$ac_ext >&5
2154
2155 ac_retval=$ac_status
2156 fi
2157 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2159 as_fn_set_status $ac_retval
2160
2161 } # ac_fn_c_try_run
2162
2163 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2164 # -------------------------------------------------------
2165 # Tests whether HEADER exists and can be compiled using the include files in
2166 # INCLUDES, setting the cache variable VAR accordingly.
2167 ac_fn_c_check_header_compile ()
2168 {
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171 $as_echo_n "checking for $2... " >&6; }
2172 if eval \${$3+:} false; then :
2173 $as_echo_n "(cached) " >&6
2174 else
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2177 $4
2178 #include <$2>
2179 _ACEOF
2180 if ac_fn_c_try_compile "$LINENO"; then :
2181 eval "$3=yes"
2182 else
2183 eval "$3=no"
2184 fi
2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2186 fi
2187 eval ac_res=\$$3
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189 $as_echo "$ac_res" >&6; }
2190 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191
2192 } # ac_fn_c_check_header_compile
2193
2194 # ac_fn_c_try_link LINENO
2195 # -----------------------
2196 # Try to link conftest.$ac_ext, and return whether this succeeded.
2197 ac_fn_c_try_link ()
2198 {
2199 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200 rm -f conftest.$ac_objext conftest$ac_exeext
2201 if { { ac_try="$ac_link"
2202 case "(($ac_try" in
2203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2204 *) ac_try_echo=$ac_try;;
2205 esac
2206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2207 $as_echo "$ac_try_echo"; } >&5
2208 (eval "$ac_link") 2>conftest.err
2209 ac_status=$?
2210 if test -s conftest.err; then
2211 grep -v '^ *+' conftest.err >conftest.er1
2212 cat conftest.er1 >&5
2213 mv -f conftest.er1 conftest.err
2214 fi
2215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2216 test $ac_status = 0; } && {
2217 test -z "$ac_c_werror_flag" ||
2218 test ! -s conftest.err
2219 } && test -s conftest$ac_exeext && {
2220 test "$cross_compiling" = yes ||
2221 test -x conftest$ac_exeext
2222 }; then :
2223 ac_retval=0
2224 else
2225 $as_echo "$as_me: failed program was:" >&5
2226 sed 's/^/| /' conftest.$ac_ext >&5
2227
2228 ac_retval=1
2229 fi
2230 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2231 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2232 # interfere with the next link command; also delete a directory that is
2233 # left behind by Apple's compiler. We do this before executing the actions.
2234 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2235 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2236 as_fn_set_status $ac_retval
2237
2238 } # ac_fn_c_try_link
2239
2240 # ac_fn_c_check_func LINENO FUNC VAR
2241 # ----------------------------------
2242 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2243 ac_fn_c_check_func ()
2244 {
2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2247 $as_echo_n "checking for $2... " >&6; }
2248 if eval \${$3+:} false; then :
2249 $as_echo_n "(cached) " >&6
2250 else
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2253 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2255 #define $2 innocuous_$2
2256
2257 /* System header to define __stub macros and hopefully few prototypes,
2258 which can conflict with char $2 (); below.
2259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2260 <limits.h> exists even on freestanding compilers. */
2261
2262 #ifdef __STDC__
2263 # include <limits.h>
2264 #else
2265 # include <assert.h>
2266 #endif
2267
2268 #undef $2
2269
2270 /* Override any GCC internal prototype to avoid an error.
2271 Use char because int might match the return type of a GCC
2272 builtin and then its argument prototype would still apply. */
2273 #ifdef __cplusplus
2274 extern "C"
2275 #endif
2276 char $2 ();
2277 /* The GNU C library defines this for functions which it implements
2278 to always fail with ENOSYS. Some functions are actually named
2279 something starting with __ and the normal name is an alias. */
2280 #if defined __stub_$2 || defined __stub___$2
2281 choke me
2282 #endif
2283
2284 int
2285 main ()
2286 {
2287 return $2 ();
2288 ;
2289 return 0;
2290 }
2291 _ACEOF
2292 if ac_fn_c_try_link "$LINENO"; then :
2293 eval "$3=yes"
2294 else
2295 eval "$3=no"
2296 fi
2297 rm -f core conftest.err conftest.$ac_objext \
2298 conftest$ac_exeext conftest.$ac_ext
2299 fi
2300 eval ac_res=\$$3
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2302 $as_echo "$ac_res" >&6; }
2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2304
2305 } # ac_fn_c_check_func
2306
2307 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2308 # ---------------------------------------------
2309 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2310 # accordingly.
2311 ac_fn_c_check_decl ()
2312 {
2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 as_decl_name=`echo $2|sed 's/ *(.*//'`
2315 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2317 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2318 if eval \${$3+:} false; then :
2319 $as_echo_n "(cached) " >&6
2320 else
2321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2322 /* end confdefs.h. */
2323 $4
2324 int
2325 main ()
2326 {
2327 #ifndef $as_decl_name
2328 #ifdef __cplusplus
2329 (void) $as_decl_use;
2330 #else
2331 (void) $as_decl_name;
2332 #endif
2333 #endif
2334
2335 ;
2336 return 0;
2337 }
2338 _ACEOF
2339 if ac_fn_c_try_compile "$LINENO"; then :
2340 eval "$3=yes"
2341 else
2342 eval "$3=no"
2343 fi
2344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2345 fi
2346 eval ac_res=\$$3
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2348 $as_echo "$ac_res" >&6; }
2349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2350
2351 } # ac_fn_c_check_decl
2352
2353 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2354 # -------------------------------------------
2355 # Tests whether TYPE exists after having included INCLUDES, setting cache
2356 # variable VAR accordingly.
2357 ac_fn_c_check_type ()
2358 {
2359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2361 $as_echo_n "checking for $2... " >&6; }
2362 if eval \${$3+:} false; then :
2363 $as_echo_n "(cached) " >&6
2364 else
2365 eval "$3=no"
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2368 $4
2369 int
2370 main ()
2371 {
2372 if (sizeof ($2))
2373 return 0;
2374 ;
2375 return 0;
2376 }
2377 _ACEOF
2378 if ac_fn_c_try_compile "$LINENO"; then :
2379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2380 /* end confdefs.h. */
2381 $4
2382 int
2383 main ()
2384 {
2385 if (sizeof (($2)))
2386 return 0;
2387 ;
2388 return 0;
2389 }
2390 _ACEOF
2391 if ac_fn_c_try_compile "$LINENO"; then :
2392
2393 else
2394 eval "$3=yes"
2395 fi
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 fi
2398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2399 fi
2400 eval ac_res=\$$3
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2402 $as_echo "$ac_res" >&6; }
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404
2405 } # ac_fn_c_check_type
2406 cat >config.log <<_ACEOF
2407 This file contains any messages produced by compilers while
2408 running configure, to aid debugging if configure makes a mistake.
2409
2410 It was created by systemd $as_me 208, which was
2411 generated by GNU Autoconf 2.69. Invocation command line was
2412
2413 $ $0 $@
2414
2415 _ACEOF
2416 exec 5>>config.log
2417 {
2418 cat <<_ASUNAME
2419 ## --------- ##
2420 ## Platform. ##
2421 ## --------- ##
2422
2423 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2424 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2425 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2426 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2427 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2428
2429 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2430 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2431
2432 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2433 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2434 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2435 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2436 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2437 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2438 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2439
2440 _ASUNAME
2441
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2444 do
2445 IFS=$as_save_IFS
2446 test -z "$as_dir" && as_dir=.
2447 $as_echo "PATH: $as_dir"
2448 done
2449 IFS=$as_save_IFS
2450
2451 } >&5
2452
2453 cat >&5 <<_ACEOF
2454
2455
2456 ## ----------- ##
2457 ## Core tests. ##
2458 ## ----------- ##
2459
2460 _ACEOF
2461
2462
2463 # Keep a trace of the command line.
2464 # Strip out --no-create and --no-recursion so they do not pile up.
2465 # Strip out --silent because we don't want to record it for future runs.
2466 # Also quote any args containing shell meta-characters.
2467 # Make two passes to allow for proper duplicate-argument suppression.
2468 ac_configure_args=
2469 ac_configure_args0=
2470 ac_configure_args1=
2471 ac_must_keep_next=false
2472 for ac_pass in 1 2
2473 do
2474 for ac_arg
2475 do
2476 case $ac_arg in
2477 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2479 | -silent | --silent | --silen | --sile | --sil)
2480 continue ;;
2481 *\'*)
2482 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2483 esac
2484 case $ac_pass in
2485 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2486 2)
2487 as_fn_append ac_configure_args1 " '$ac_arg'"
2488 if test $ac_must_keep_next = true; then
2489 ac_must_keep_next=false # Got value, back to normal.
2490 else
2491 case $ac_arg in
2492 *=* | --config-cache | -C | -disable-* | --disable-* \
2493 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2494 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2495 | -with-* | --with-* | -without-* | --without-* | --x)
2496 case "$ac_configure_args0 " in
2497 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2498 esac
2499 ;;
2500 -* ) ac_must_keep_next=true ;;
2501 esac
2502 fi
2503 as_fn_append ac_configure_args " '$ac_arg'"
2504 ;;
2505 esac
2506 done
2507 done
2508 { ac_configure_args0=; unset ac_configure_args0;}
2509 { ac_configure_args1=; unset ac_configure_args1;}
2510
2511 # When interrupted or exit'd, cleanup temporary files, and complete
2512 # config.log. We remove comments because anyway the quotes in there
2513 # would cause problems or look ugly.
2514 # WARNING: Use '\'' to represent an apostrophe within the trap.
2515 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2516 trap 'exit_status=$?
2517 # Save into config.log some information that might help in debugging.
2518 {
2519 echo
2520
2521 $as_echo "## ---------------- ##
2522 ## Cache variables. ##
2523 ## ---------------- ##"
2524 echo
2525 # The following way of writing the cache mishandles newlines in values,
2526 (
2527 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2528 eval ac_val=\$$ac_var
2529 case $ac_val in #(
2530 *${as_nl}*)
2531 case $ac_var in #(
2532 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2533 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2534 esac
2535 case $ac_var in #(
2536 _ | IFS | as_nl) ;; #(
2537 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2538 *) { eval $ac_var=; unset $ac_var;} ;;
2539 esac ;;
2540 esac
2541 done
2542 (set) 2>&1 |
2543 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2544 *${as_nl}ac_space=\ *)
2545 sed -n \
2546 "s/'\''/'\''\\\\'\'''\''/g;
2547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2548 ;; #(
2549 *)
2550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2551 ;;
2552 esac |
2553 sort
2554 )
2555 echo
2556
2557 $as_echo "## ----------------- ##
2558 ## Output variables. ##
2559 ## ----------------- ##"
2560 echo
2561 for ac_var in $ac_subst_vars
2562 do
2563 eval ac_val=\$$ac_var
2564 case $ac_val in
2565 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2566 esac
2567 $as_echo "$ac_var='\''$ac_val'\''"
2568 done | sort
2569 echo
2570
2571 if test -n "$ac_subst_files"; then
2572 $as_echo "## ------------------- ##
2573 ## File substitutions. ##
2574 ## ------------------- ##"
2575 echo
2576 for ac_var in $ac_subst_files
2577 do
2578 eval ac_val=\$$ac_var
2579 case $ac_val in
2580 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2581 esac
2582 $as_echo "$ac_var='\''$ac_val'\''"
2583 done | sort
2584 echo
2585 fi
2586
2587 if test -s confdefs.h; then
2588 $as_echo "## ----------- ##
2589 ## confdefs.h. ##
2590 ## ----------- ##"
2591 echo
2592 cat confdefs.h
2593 echo
2594 fi
2595 test "$ac_signal" != 0 &&
2596 $as_echo "$as_me: caught signal $ac_signal"
2597 $as_echo "$as_me: exit $exit_status"
2598 } >&5
2599 rm -f core *.core core.conftest.* &&
2600 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2601 exit $exit_status
2602 ' 0
2603 for ac_signal in 1 2 13 15; do
2604 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2605 done
2606 ac_signal=0
2607
2608 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2609 rm -f -r conftest* confdefs.h
2610
2611 $as_echo "/* confdefs.h */" > confdefs.h
2612
2613 # Predefined preprocessor variables.
2614
2615 cat >>confdefs.h <<_ACEOF
2616 #define PACKAGE_NAME "$PACKAGE_NAME"
2617 _ACEOF
2618
2619 cat >>confdefs.h <<_ACEOF
2620 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2621 _ACEOF
2622
2623 cat >>confdefs.h <<_ACEOF
2624 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2625 _ACEOF
2626
2627 cat >>confdefs.h <<_ACEOF
2628 #define PACKAGE_STRING "$PACKAGE_STRING"
2629 _ACEOF
2630
2631 cat >>confdefs.h <<_ACEOF
2632 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2633 _ACEOF
2634
2635 cat >>confdefs.h <<_ACEOF
2636 #define PACKAGE_URL "$PACKAGE_URL"
2637 _ACEOF
2638
2639
2640 # Let the site file select an alternate cache file if it wants to.
2641 # Prefer an explicitly selected file to automatically selected ones.
2642 ac_site_file1=NONE
2643 ac_site_file2=NONE
2644 if test -n "$CONFIG_SITE"; then
2645 # We do not want a PATH search for config.site.
2646 case $CONFIG_SITE in #((
2647 -*) ac_site_file1=./$CONFIG_SITE;;
2648 */*) ac_site_file1=$CONFIG_SITE;;
2649 *) ac_site_file1=./$CONFIG_SITE;;
2650 esac
2651 elif test "x$prefix" != xNONE; then
2652 ac_site_file1=$prefix/share/config.site
2653 ac_site_file2=$prefix/etc/config.site
2654 else
2655 ac_site_file1=$ac_default_prefix/share/config.site
2656 ac_site_file2=$ac_default_prefix/etc/config.site
2657 fi
2658 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2659 do
2660 test "x$ac_site_file" = xNONE && continue
2661 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2663 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2664 sed 's/^/| /' "$ac_site_file" >&5
2665 . "$ac_site_file" \
2666 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2668 as_fn_error $? "failed to load site script $ac_site_file
2669 See \`config.log' for more details" "$LINENO" 5; }
2670 fi
2671 done
2672
2673 if test -r "$cache_file"; then
2674 # Some versions of bash will fail to source /dev/null (special files
2675 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2676 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2678 $as_echo "$as_me: loading cache $cache_file" >&6;}
2679 case $cache_file in
2680 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2681 *) . "./$cache_file";;
2682 esac
2683 fi
2684 else
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2686 $as_echo "$as_me: creating cache $cache_file" >&6;}
2687 >$cache_file
2688 fi
2689
2690 as_fn_append ac_header_list " valgrind/memcheck.h"
2691 # Check that the precious variables saved in the cache have kept the same
2692 # value.
2693 ac_cache_corrupted=false
2694 for ac_var in $ac_precious_vars; do
2695 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2696 eval ac_new_set=\$ac_env_${ac_var}_set
2697 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2698 eval ac_new_val=\$ac_env_${ac_var}_value
2699 case $ac_old_set,$ac_new_set in
2700 set,)
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2702 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2703 ac_cache_corrupted=: ;;
2704 ,set)
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2706 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2707 ac_cache_corrupted=: ;;
2708 ,);;
2709 *)
2710 if test "x$ac_old_val" != "x$ac_new_val"; then
2711 # differences in whitespace do not lead to failure.
2712 ac_old_val_w=`echo x $ac_old_val`
2713 ac_new_val_w=`echo x $ac_new_val`
2714 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2716 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2717 ac_cache_corrupted=:
2718 else
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2720 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2721 eval $ac_var=\$ac_old_val
2722 fi
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2724 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2726 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2727 fi;;
2728 esac
2729 # Pass precious variables to config.status.
2730 if test "$ac_new_set" = set; then
2731 case $ac_new_val in
2732 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2733 *) ac_arg=$ac_var=$ac_new_val ;;
2734 esac
2735 case " $ac_configure_args " in
2736 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2737 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2738 esac
2739 fi
2740 done
2741 if $ac_cache_corrupted; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2745 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2746 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2747 fi
2748 ## -------------------- ##
2749 ## Main body of script. ##
2750 ## -------------------- ##
2751
2752 ac_ext=c
2753 ac_cpp='$CPP $CPPFLAGS'
2754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2757
2758
2759
2760
2761
2762 ac_config_headers="$ac_config_headers config.h"
2763
2764 ac_aux_dir=
2765 for ac_dir in build-aux "$srcdir"/build-aux; do
2766 if test -f "$ac_dir/install-sh"; then
2767 ac_aux_dir=$ac_dir
2768 ac_install_sh="$ac_aux_dir/install-sh -c"
2769 break
2770 elif test -f "$ac_dir/install.sh"; then
2771 ac_aux_dir=$ac_dir
2772 ac_install_sh="$ac_aux_dir/install.sh -c"
2773 break
2774 elif test -f "$ac_dir/shtool"; then
2775 ac_aux_dir=$ac_dir
2776 ac_install_sh="$ac_aux_dir/shtool install -c"
2777 break
2778 fi
2779 done
2780 if test -z "$ac_aux_dir"; then
2781 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2782 fi
2783
2784 # These three variables are undocumented and unsupported,
2785 # and are intended to be withdrawn in a future Autoconf release.
2786 # They can cause serious problems if a builder's source tree is in a directory
2787 # whose full name contains unusual characters.
2788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2791
2792
2793
2794 ac_ext=c
2795 ac_cpp='$CPP $CPPFLAGS'
2796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_CC+:} false; then :
2805 $as_echo_n "(cached) " >&6
2806 else
2807 if test -n "$CC"; then
2808 ac_cv_prog_CC="$CC" # Let the user override the test.
2809 else
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 for as_dir in $PATH
2812 do
2813 IFS=$as_save_IFS
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 break 2
2820 fi
2821 done
2822 done
2823 IFS=$as_save_IFS
2824
2825 fi
2826 fi
2827 CC=$ac_cv_prog_CC
2828 if test -n "$CC"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2830 $as_echo "$CC" >&6; }
2831 else
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2834 fi
2835
2836
2837 fi
2838 if test -z "$ac_cv_prog_CC"; then
2839 ac_ct_CC=$CC
2840 # Extract the first word of "gcc", so it can be a program name with args.
2841 set dummy gcc; ac_word=$2
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843 $as_echo_n "checking for $ac_word... " >&6; }
2844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2845 $as_echo_n "(cached) " >&6
2846 else
2847 if test -n "$ac_ct_CC"; then
2848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2849 else
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 for as_dir in $PATH
2852 do
2853 IFS=$as_save_IFS
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 ac_cv_prog_ac_ct_CC="gcc"
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 break 2
2860 fi
2861 done
2862 done
2863 IFS=$as_save_IFS
2864
2865 fi
2866 fi
2867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2868 if test -n "$ac_ct_CC"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2870 $as_echo "$ac_ct_CC" >&6; }
2871 else
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2874 fi
2875
2876 if test "x$ac_ct_CC" = x; then
2877 CC=""
2878 else
2879 case $cross_compiling:$ac_tool_warned in
2880 yes:)
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2883 ac_tool_warned=yes ;;
2884 esac
2885 CC=$ac_ct_CC
2886 fi
2887 else
2888 CC="$ac_cv_prog_CC"
2889 fi
2890
2891 if test -z "$CC"; then
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2894 set dummy ${ac_tool_prefix}cc; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false; then :
2898 $as_echo_n "(cached) " >&6
2899 else
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 else
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 for as_dir in $PATH
2905 do
2906 IFS=$as_save_IFS
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_CC="${ac_tool_prefix}cc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 break 2
2913 fi
2914 done
2915 done
2916 IFS=$as_save_IFS
2917
2918 fi
2919 fi
2920 CC=$ac_cv_prog_CC
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2924 else
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 fi
2928
2929
2930 fi
2931 fi
2932 if test -z "$CC"; then
2933 # Extract the first word of "cc", so it can be a program name with args.
2934 set dummy cc; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_CC+:} false; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 if test -n "$CC"; then
2941 ac_cv_prog_CC="$CC" # Let the user override the test.
2942 else
2943 ac_prog_rejected=no
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 for as_dir in $PATH
2946 do
2947 IFS=$as_save_IFS
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2952 ac_prog_rejected=yes
2953 continue
2954 fi
2955 ac_cv_prog_CC="cc"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 break 2
2958 fi
2959 done
2960 done
2961 IFS=$as_save_IFS
2962
2963 if test $ac_prog_rejected = yes; then
2964 # We found a bogon in the path, so make sure we never use it.
2965 set dummy $ac_cv_prog_CC
2966 shift
2967 if test $# != 0; then
2968 # We chose a different compiler from the bogus one.
2969 # However, it has the same basename, so the bogon will be chosen
2970 # first if we set CC to just the basename; use the full file name.
2971 shift
2972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2973 fi
2974 fi
2975 fi
2976 fi
2977 CC=$ac_cv_prog_CC
2978 if test -n "$CC"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980 $as_echo "$CC" >&6; }
2981 else
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2984 fi
2985
2986
2987 fi
2988 if test -z "$CC"; then
2989 if test -n "$ac_tool_prefix"; then
2990 for ac_prog in cl.exe
2991 do
2992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if ${ac_cv_prog_CC+:} false; then :
2997 $as_echo_n "(cached) " >&6
2998 else
2999 if test -n "$CC"; then
3000 ac_cv_prog_CC="$CC" # Let the user override the test.
3001 else
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 for as_dir in $PATH
3004 do
3005 IFS=$as_save_IFS
3006 test -z "$as_dir" && as_dir=.
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3009 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 break 2
3012 fi
3013 done
3014 done
3015 IFS=$as_save_IFS
3016
3017 fi
3018 fi
3019 CC=$ac_cv_prog_CC
3020 if test -n "$CC"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022 $as_echo "$CC" >&6; }
3023 else
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3026 fi
3027
3028
3029 test -n "$CC" && break
3030 done
3031 fi
3032 if test -z "$CC"; then
3033 ac_ct_CC=$CC
3034 for ac_prog in cl.exe
3035 do
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy $ac_prog; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3041 $as_echo_n "(cached) " >&6
3042 else
3043 if test -n "$ac_ct_CC"; then
3044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_ac_ct_CC="$ac_prog"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 break 2
3056 fi
3057 done
3058 done
3059 IFS=$as_save_IFS
3060
3061 fi
3062 fi
3063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3064 if test -n "$ac_ct_CC"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3066 $as_echo "$ac_ct_CC" >&6; }
3067 else
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3070 fi
3071
3072
3073 test -n "$ac_ct_CC" && break
3074 done
3075
3076 if test "x$ac_ct_CC" = x; then
3077 CC=""
3078 else
3079 case $cross_compiling:$ac_tool_warned in
3080 yes:)
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3083 ac_tool_warned=yes ;;
3084 esac
3085 CC=$ac_ct_CC
3086 fi
3087 fi
3088
3089 fi
3090
3091
3092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error $? "no acceptable C compiler found in \$PATH
3095 See \`config.log' for more details" "$LINENO" 5; }
3096
3097 # Provide some information about the compiler.
3098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3099 set X $ac_compile
3100 ac_compiler=$2
3101 for ac_option in --version -v -V -qversion; do
3102 { { ac_try="$ac_compiler $ac_option >&5"
3103 case "(($ac_try" in
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3106 esac
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3110 ac_status=$?
3111 if test -s conftest.err; then
3112 sed '10a\
3113 ... rest of stderr output deleted ...
3114 10q' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 fi
3117 rm -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }
3120 done
3121
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3124
3125 int
3126 main ()
3127 {
3128
3129 ;
3130 return 0;
3131 }
3132 _ACEOF
3133 ac_clean_files_save=$ac_clean_files
3134 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3135 # Try to create an executable without -o first, disregard a.out.
3136 # It will help us diagnose broken compilers, and finding out an intuition
3137 # of exeext.
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3139 $as_echo_n "checking whether the C compiler works... " >&6; }
3140 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3141
3142 # The possible output files:
3143 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3144
3145 ac_rmfiles=
3146 for ac_file in $ac_files
3147 do
3148 case $ac_file in
3149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3150 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3151 esac
3152 done
3153 rm -f $ac_rmfiles
3154
3155 if { { ac_try="$ac_link_default"
3156 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3159 esac
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_link_default") 2>&5
3163 ac_status=$?
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }; then :
3166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3167 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3168 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3169 # so that the user can short-circuit this test for compilers unknown to
3170 # Autoconf.
3171 for ac_file in $ac_files ''
3172 do
3173 test -f "$ac_file" || continue
3174 case $ac_file in
3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3176 ;;
3177 [ab].out )
3178 # We found the default executable, but exeext='' is most
3179 # certainly right.
3180 break;;
3181 *.* )
3182 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3183 then :; else
3184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3185 fi
3186 # We set ac_cv_exeext here because the later test for it is not
3187 # safe: cross compilers may not add the suffix if given an `-o'
3188 # argument, so we may need to know it at that point already.
3189 # Even if this section looks crufty: it has the advantage of
3190 # actually working.
3191 break;;
3192 * )
3193 break;;
3194 esac
3195 done
3196 test "$ac_cv_exeext" = no && ac_cv_exeext=
3197
3198 else
3199 ac_file=''
3200 fi
3201 if test -z "$ac_file"; then :
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3204 $as_echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3206
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error 77 "C compiler cannot create executables
3210 See \`config.log' for more details" "$LINENO" 5; }
3211 else
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 fi
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3216 $as_echo_n "checking for C compiler default output file name... " >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3218 $as_echo "$ac_file" >&6; }
3219 ac_exeext=$ac_cv_exeext
3220
3221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3222 ac_clean_files=$ac_clean_files_save
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3224 $as_echo_n "checking for suffix of executables... " >&6; }
3225 if { { ac_try="$ac_link"
3226 case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_link") 2>&5
3233 ac_status=$?
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; then :
3236 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3237 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3238 # work properly (i.e., refer to `conftest.exe'), while it won't with
3239 # `rm'.
3240 for ac_file in conftest.exe conftest conftest.*; do
3241 test -f "$ac_file" || continue
3242 case $ac_file in
3243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3244 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3245 break;;
3246 * ) break;;
3247 esac
3248 done
3249 else
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3253 See \`config.log' for more details" "$LINENO" 5; }
3254 fi
3255 rm -f conftest conftest$ac_cv_exeext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3257 $as_echo "$ac_cv_exeext" >&6; }
3258
3259 rm -f conftest.$ac_ext
3260 EXEEXT=$ac_cv_exeext
3261 ac_exeext=$EXEEXT
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3264 #include <stdio.h>
3265 int
3266 main ()
3267 {
3268 FILE *f = fopen ("conftest.out", "w");
3269 return ferror (f) || fclose (f) != 0;
3270
3271 ;
3272 return 0;
3273 }
3274 _ACEOF
3275 ac_clean_files="$ac_clean_files conftest.out"
3276 # Check that the compiler produces executables we can run. If not, either
3277 # the compiler is broken, or we cross compile.
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3279 $as_echo_n "checking whether we are cross compiling... " >&6; }
3280 if test "$cross_compiling" != yes; then
3281 { { ac_try="$ac_link"
3282 case "(($ac_try" in
3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3285 esac
3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287 $as_echo "$ac_try_echo"; } >&5
3288 (eval "$ac_link") 2>&5
3289 ac_status=$?
3290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291 test $ac_status = 0; }
3292 if { ac_try='./conftest$ac_cv_exeext'
3293 { { case "(($ac_try" in
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3296 esac
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_try") 2>&5
3300 ac_status=$?
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }; }; then
3303 cross_compiling=no
3304 else
3305 if test "$cross_compiling" = maybe; then
3306 cross_compiling=yes
3307 else
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error $? "cannot run C compiled programs.
3311 If you meant to cross compile, use \`--host'.
3312 See \`config.log' for more details" "$LINENO" 5; }
3313 fi
3314 fi
3315 fi
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3317 $as_echo "$cross_compiling" >&6; }
3318
3319 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3320 ac_clean_files=$ac_clean_files_save
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3322 $as_echo_n "checking for suffix of object files... " >&6; }
3323 if ${ac_cv_objext+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3328
3329 int
3330 main ()
3331 {
3332
3333 ;
3334 return 0;
3335 }
3336 _ACEOF
3337 rm -f conftest.o conftest.obj
3338 if { { ac_try="$ac_compile"
3339 case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3342 esac
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_compile") 2>&5
3346 ac_status=$?
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; then :
3349 for ac_file in conftest.o conftest.obj conftest.*; do
3350 test -f "$ac_file" || continue;
3351 case $ac_file in
3352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3353 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3354 break;;
3355 esac
3356 done
3357 else
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3360
3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error $? "cannot compute suffix of object files: cannot compile
3364 See \`config.log' for more details" "$LINENO" 5; }
3365 fi
3366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3367 fi
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3369 $as_echo "$ac_cv_objext" >&6; }
3370 OBJEXT=$ac_cv_objext
3371 ac_objext=$OBJEXT
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3373 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3374 if ${ac_cv_c_compiler_gnu+:} false; then :
3375 $as_echo_n "(cached) " >&6
3376 else
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3379
3380 int
3381 main ()
3382 {
3383 #ifndef __GNUC__
3384 choke me
3385 #endif
3386
3387 ;
3388 return 0;
3389 }
3390 _ACEOF
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 ac_compiler_gnu=yes
3393 else
3394 ac_compiler_gnu=no
3395 fi
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3398
3399 fi
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3401 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3402 if test $ac_compiler_gnu = yes; then
3403 GCC=yes
3404 else
3405 GCC=
3406 fi
3407 ac_test_CFLAGS=${CFLAGS+set}
3408 ac_save_CFLAGS=$CFLAGS
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3410 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3411 if ${ac_cv_prog_cc_g+:} false; then :
3412 $as_echo_n "(cached) " >&6
3413 else
3414 ac_save_c_werror_flag=$ac_c_werror_flag
3415 ac_c_werror_flag=yes
3416 ac_cv_prog_cc_g=no
3417 CFLAGS="-g"
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3420
3421 int
3422 main ()
3423 {
3424
3425 ;
3426 return 0;
3427 }
3428 _ACEOF
3429 if ac_fn_c_try_compile "$LINENO"; then :
3430 ac_cv_prog_cc_g=yes
3431 else
3432 CFLAGS=""
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3435
3436 int
3437 main ()
3438 {
3439
3440 ;
3441 return 0;
3442 }
3443 _ACEOF
3444 if ac_fn_c_try_compile "$LINENO"; then :
3445
3446 else
3447 ac_c_werror_flag=$ac_save_c_werror_flag
3448 CFLAGS="-g"
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3451
3452 int
3453 main ()
3454 {
3455
3456 ;
3457 return 0;
3458 }
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 ac_cv_prog_cc_g=yes
3462 fi
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 fi
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 fi
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 ac_c_werror_flag=$ac_save_c_werror_flag
3469 fi
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3471 $as_echo "$ac_cv_prog_cc_g" >&6; }
3472 if test "$ac_test_CFLAGS" = set; then
3473 CFLAGS=$ac_save_CFLAGS
3474 elif test $ac_cv_prog_cc_g = yes; then
3475 if test "$GCC" = yes; then
3476 CFLAGS="-g -O2"
3477 else
3478 CFLAGS="-g"
3479 fi
3480 else
3481 if test "$GCC" = yes; then
3482 CFLAGS="-O2"
3483 else
3484 CFLAGS=
3485 fi
3486 fi
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3488 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3489 if ${ac_cv_prog_cc_c89+:} false; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 ac_cv_prog_cc_c89=no
3493 ac_save_CC=$CC
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3496 #include <stdarg.h>
3497 #include <stdio.h>
3498 struct stat;
3499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3500 struct buf { int x; };
3501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3502 static char *e (p, i)
3503 char **p;
3504 int i;
3505 {
3506 return p[i];
3507 }
3508 static char *f (char * (*g) (char **, int), char **p, ...)
3509 {
3510 char *s;
3511 va_list v;
3512 va_start (v,p);
3513 s = g (p, va_arg (v,int));
3514 va_end (v);
3515 return s;
3516 }
3517
3518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3519 function prototypes and stuff, but not '\xHH' hex character constants.
3520 These don't provoke an error unfortunately, instead are silently treated
3521 as 'x'. The following induces an error, until -std is added to get
3522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3523 array size at least. It's necessary to write '\x00'==0 to get something
3524 that's true only with -std. */
3525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3526
3527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3528 inside strings and character constants. */
3529 #define FOO(x) 'x'
3530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3531
3532 int test (int i, double x);
3533 struct s1 {int (*f) (int a);};
3534 struct s2 {int (*f) (double a);};
3535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3536 int argc;
3537 char **argv;
3538 int
3539 main ()
3540 {
3541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3542 ;
3543 return 0;
3544 }
3545 _ACEOF
3546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3548 do
3549 CC="$ac_save_CC $ac_arg"
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 ac_cv_prog_cc_c89=$ac_arg
3552 fi
3553 rm -f core conftest.err conftest.$ac_objext
3554 test "x$ac_cv_prog_cc_c89" != "xno" && break
3555 done
3556 rm -f conftest.$ac_ext
3557 CC=$ac_save_CC
3558
3559 fi
3560 # AC_CACHE_VAL
3561 case "x$ac_cv_prog_cc_c89" in
3562 x)
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3564 $as_echo "none needed" >&6; } ;;
3565 xno)
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3567 $as_echo "unsupported" >&6; } ;;
3568 *)
3569 CC="$CC $ac_cv_prog_cc_c89"
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3572 esac
3573 if test "x$ac_cv_prog_cc_c89" != xno; then :
3574
3575 fi
3576
3577 ac_ext=c
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582
3583
3584 ac_ext=c
3585 ac_cpp='$CPP $CPPFLAGS'
3586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3590 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3591 # On Suns, sometimes $CPP names a directory.
3592 if test -n "$CPP" && test -d "$CPP"; then
3593 CPP=
3594 fi
3595 if test -z "$CPP"; then
3596 if ${ac_cv_prog_CPP+:} false; then :
3597 $as_echo_n "(cached) " >&6
3598 else
3599 # Double quotes because CPP needs to be expanded
3600 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3601 do
3602 ac_preproc_ok=false
3603 for ac_c_preproc_warn_flag in '' yes
3604 do
3605 # Use a header file that comes with gcc, so configuring glibc
3606 # with a fresh cross-compiler works.
3607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3608 # <limits.h> exists even on freestanding compilers.
3609 # On the NeXT, cc -E runs the code through the compiler's parser,
3610 # not just through cpp. "Syntax error" is here to catch this case.
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3613 #ifdef __STDC__
3614 # include <limits.h>
3615 #else
3616 # include <assert.h>
3617 #endif
3618 Syntax error
3619 _ACEOF
3620 if ac_fn_c_try_cpp "$LINENO"; then :
3621
3622 else
3623 # Broken: fails on valid input.
3624 continue
3625 fi
3626 rm -f conftest.err conftest.i conftest.$ac_ext
3627
3628 # OK, works on sane cases. Now check whether nonexistent headers
3629 # can be detected and how.
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3633 _ACEOF
3634 if ac_fn_c_try_cpp "$LINENO"; then :
3635 # Broken: success on invalid input.
3636 continue
3637 else
3638 # Passes both tests.
3639 ac_preproc_ok=:
3640 break
3641 fi
3642 rm -f conftest.err conftest.i conftest.$ac_ext
3643
3644 done
3645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3646 rm -f conftest.i conftest.err conftest.$ac_ext
3647 if $ac_preproc_ok; then :
3648 break
3649 fi
3650
3651 done
3652 ac_cv_prog_CPP=$CPP
3653
3654 fi
3655 CPP=$ac_cv_prog_CPP
3656 else
3657 ac_cv_prog_CPP=$CPP
3658 fi
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3660 $as_echo "$CPP" >&6; }
3661 ac_preproc_ok=false
3662 for ac_c_preproc_warn_flag in '' yes
3663 do
3664 # Use a header file that comes with gcc, so configuring glibc
3665 # with a fresh cross-compiler works.
3666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3667 # <limits.h> exists even on freestanding compilers.
3668 # On the NeXT, cc -E runs the code through the compiler's parser,
3669 # not just through cpp. "Syntax error" is here to catch this case.
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3672 #ifdef __STDC__
3673 # include <limits.h>
3674 #else
3675 # include <assert.h>
3676 #endif
3677 Syntax error
3678 _ACEOF
3679 if ac_fn_c_try_cpp "$LINENO"; then :
3680
3681 else
3682 # Broken: fails on valid input.
3683 continue
3684 fi
3685 rm -f conftest.err conftest.i conftest.$ac_ext
3686
3687 # OK, works on sane cases. Now check whether nonexistent headers
3688 # can be detected and how.
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3691 #include <ac_nonexistent.h>
3692 _ACEOF
3693 if ac_fn_c_try_cpp "$LINENO"; then :
3694 # Broken: success on invalid input.
3695 continue
3696 else
3697 # Passes both tests.
3698 ac_preproc_ok=:
3699 break
3700 fi
3701 rm -f conftest.err conftest.i conftest.$ac_ext
3702
3703 done
3704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3705 rm -f conftest.i conftest.err conftest.$ac_ext
3706 if $ac_preproc_ok; then :
3707
3708 else
3709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3712 See \`config.log' for more details" "$LINENO" 5; }
3713 fi
3714
3715 ac_ext=c
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720
3721
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3723 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3724 if ${ac_cv_path_GREP+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 if test -z "$GREP"; then
3728 ac_path_GREP_found=false
3729 # Loop through the user's path and test for each of PROGNAME-LIST
3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3732 do
3733 IFS=$as_save_IFS
3734 test -z "$as_dir" && as_dir=.
3735 for ac_prog in grep ggrep; do
3736 for ac_exec_ext in '' $ac_executable_extensions; do
3737 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3738 as_fn_executable_p "$ac_path_GREP" || continue
3739 # Check for GNU ac_path_GREP and select it if it is found.
3740 # Check for GNU $ac_path_GREP
3741 case `"$ac_path_GREP" --version 2>&1` in
3742 *GNU*)
3743 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3744 *)
3745 ac_count=0
3746 $as_echo_n 0123456789 >"conftest.in"
3747 while :
3748 do
3749 cat "conftest.in" "conftest.in" >"conftest.tmp"
3750 mv "conftest.tmp" "conftest.in"
3751 cp "conftest.in" "conftest.nl"
3752 $as_echo 'GREP' >> "conftest.nl"
3753 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3754 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3755 as_fn_arith $ac_count + 1 && ac_count=$as_val
3756 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3757 # Best one so far, save it but keep looking for a better one
3758 ac_cv_path_GREP="$ac_path_GREP"
3759 ac_path_GREP_max=$ac_count
3760 fi
3761 # 10*(2^10) chars as input seems more than enough
3762 test $ac_count -gt 10 && break
3763 done
3764 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3765 esac
3766
3767 $ac_path_GREP_found && break 3
3768 done
3769 done
3770 done
3771 IFS=$as_save_IFS
3772 if test -z "$ac_cv_path_GREP"; then
3773 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3774 fi
3775 else
3776 ac_cv_path_GREP=$GREP
3777 fi
3778
3779 fi
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3781 $as_echo "$ac_cv_path_GREP" >&6; }
3782 GREP="$ac_cv_path_GREP"
3783
3784
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3786 $as_echo_n "checking for egrep... " >&6; }
3787 if ${ac_cv_path_EGREP+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3791 then ac_cv_path_EGREP="$GREP -E"
3792 else
3793 if test -z "$EGREP"; then
3794 ac_path_EGREP_found=false
3795 # Loop through the user's path and test for each of PROGNAME-LIST
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3798 do
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_prog in egrep; do
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3804 as_fn_executable_p "$ac_path_EGREP" || continue
3805 # Check for GNU ac_path_EGREP and select it if it is found.
3806 # Check for GNU $ac_path_EGREP
3807 case `"$ac_path_EGREP" --version 2>&1` in
3808 *GNU*)
3809 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3810 *)
3811 ac_count=0
3812 $as_echo_n 0123456789 >"conftest.in"
3813 while :
3814 do
3815 cat "conftest.in" "conftest.in" >"conftest.tmp"
3816 mv "conftest.tmp" "conftest.in"
3817 cp "conftest.in" "conftest.nl"
3818 $as_echo 'EGREP' >> "conftest.nl"
3819 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3820 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3821 as_fn_arith $ac_count + 1 && ac_count=$as_val
3822 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3823 # Best one so far, save it but keep looking for a better one
3824 ac_cv_path_EGREP="$ac_path_EGREP"
3825 ac_path_EGREP_max=$ac_count
3826 fi
3827 # 10*(2^10) chars as input seems more than enough
3828 test $ac_count -gt 10 && break
3829 done
3830 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3831 esac
3832
3833 $ac_path_EGREP_found && break 3
3834 done
3835 done
3836 done
3837 IFS=$as_save_IFS
3838 if test -z "$ac_cv_path_EGREP"; then
3839 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3840 fi
3841 else
3842 ac_cv_path_EGREP=$EGREP
3843 fi
3844
3845 fi
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3848 $as_echo "$ac_cv_path_EGREP" >&6; }
3849 EGREP="$ac_cv_path_EGREP"
3850
3851
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3853 $as_echo_n "checking for ANSI C header files... " >&6; }
3854 if ${ac_cv_header_stdc+:} false; then :
3855 $as_echo_n "(cached) " >&6
3856 else
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3859 #include <stdlib.h>
3860 #include <stdarg.h>
3861 #include <string.h>
3862 #include <float.h>
3863
3864 int
3865 main ()
3866 {
3867
3868 ;
3869 return 0;
3870 }
3871 _ACEOF
3872 if ac_fn_c_try_compile "$LINENO"; then :
3873 ac_cv_header_stdc=yes
3874 else
3875 ac_cv_header_stdc=no
3876 fi
3877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3878
3879 if test $ac_cv_header_stdc = yes; then
3880 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3883 #include <string.h>
3884
3885 _ACEOF
3886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3887 $EGREP "memchr" >/dev/null 2>&1; then :
3888
3889 else
3890 ac_cv_header_stdc=no
3891 fi
3892 rm -f conftest*
3893
3894 fi
3895
3896 if test $ac_cv_header_stdc = yes; then
3897 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3900 #include <stdlib.h>
3901
3902 _ACEOF
3903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3904 $EGREP "free" >/dev/null 2>&1; then :
3905
3906 else
3907 ac_cv_header_stdc=no
3908 fi
3909 rm -f conftest*
3910
3911 fi
3912
3913 if test $ac_cv_header_stdc = yes; then
3914 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3915 if test "$cross_compiling" = yes; then :
3916 :
3917 else
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3920 #include <ctype.h>
3921 #include <stdlib.h>
3922 #if ((' ' & 0x0FF) == 0x020)
3923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3925 #else
3926 # define ISLOWER(c) \
3927 (('a' <= (c) && (c) <= 'i') \
3928 || ('j' <= (c) && (c) <= 'r') \
3929 || ('s' <= (c) && (c) <= 'z'))
3930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3931 #endif
3932
3933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3934 int
3935 main ()
3936 {
3937 int i;
3938 for (i = 0; i < 256; i++)
3939 if (XOR (islower (i), ISLOWER (i))
3940 || toupper (i) != TOUPPER (i))
3941 return 2;
3942 return 0;
3943 }
3944 _ACEOF
3945 if ac_fn_c_try_run "$LINENO"; then :
3946
3947 else
3948 ac_cv_header_stdc=no
3949 fi
3950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3951 conftest.$ac_objext conftest.beam conftest.$ac_ext
3952 fi
3953
3954 fi
3955 fi
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3957 $as_echo "$ac_cv_header_stdc" >&6; }
3958 if test $ac_cv_header_stdc = yes; then
3959
3960 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3961
3962 fi
3963
3964 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3965 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3966 inttypes.h stdint.h unistd.h
3967 do :
3968 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3969 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3970 "
3971 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3972 cat >>confdefs.h <<_ACEOF
3973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3974 _ACEOF
3975
3976 fi
3977
3978 done
3979
3980
3981
3982 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3983 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3984 MINIX=yes
3985 else
3986 MINIX=
3987 fi
3988
3989
3990 if test "$MINIX" = yes; then
3991
3992 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3993
3994
3995 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3996
3997
3998 $as_echo "#define _MINIX 1" >>confdefs.h
3999
4000 fi
4001
4002
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4004 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4005 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4009 /* end confdefs.h. */
4010
4011 # define __EXTENSIONS__ 1
4012 $ac_includes_default
4013 int
4014 main ()
4015 {
4016
4017 ;
4018 return 0;
4019 }
4020 _ACEOF
4021 if ac_fn_c_try_compile "$LINENO"; then :
4022 ac_cv_safe_to_define___extensions__=yes
4023 else
4024 ac_cv_safe_to_define___extensions__=no
4025 fi
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 fi
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4029 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4030 test $ac_cv_safe_to_define___extensions__ = yes &&
4031 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4032
4033 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4034
4035 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4036
4037 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4038
4039 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4040
4041
4042 # Check whether --enable-largefile was given.
4043 if test "${enable_largefile+set}" = set; then :
4044 enableval=$enable_largefile;
4045 fi
4046
4047 if test "$enable_largefile" != no; then
4048
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4050 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4051 if ${ac_cv_sys_largefile_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 ac_cv_sys_largefile_CC=no
4055 if test "$GCC" != yes; then
4056 ac_save_CC=$CC
4057 while :; do
4058 # IRIX 6.2 and later do not support large files by default,
4059 # so use the C compiler's -n32 option if that helps.
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4062 #include <sys/types.h>
4063 /* Check that off_t can represent 2**63 - 1 correctly.
4064 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4065 since some C++ compilers masquerading as C compilers
4066 incorrectly reject 9223372036854775807. */
4067 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4068 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4069 && LARGE_OFF_T % 2147483647 == 1)
4070 ? 1 : -1];
4071 int
4072 main ()
4073 {
4074
4075 ;
4076 return 0;
4077 }
4078 _ACEOF
4079 if ac_fn_c_try_compile "$LINENO"; then :
4080 break
4081 fi
4082 rm -f core conftest.err conftest.$ac_objext
4083 CC="$CC -n32"
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085 ac_cv_sys_largefile_CC=' -n32'; break
4086 fi
4087 rm -f core conftest.err conftest.$ac_objext
4088 break
4089 done
4090 CC=$ac_save_CC
4091 rm -f conftest.$ac_ext
4092 fi
4093 fi
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4095 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4096 if test "$ac_cv_sys_largefile_CC" != no; then
4097 CC=$CC$ac_cv_sys_largefile_CC
4098 fi
4099
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4101 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4102 if ${ac_cv_sys_file_offset_bits+:} false; then :
4103 $as_echo_n "(cached) " >&6
4104 else
4105 while :; do
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4108 #include <sys/types.h>
4109 /* Check that off_t can represent 2**63 - 1 correctly.
4110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4111 since some C++ compilers masquerading as C compilers
4112 incorrectly reject 9223372036854775807. */
4113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4115 && LARGE_OFF_T % 2147483647 == 1)
4116 ? 1 : -1];
4117 int
4118 main ()
4119 {
4120
4121 ;
4122 return 0;
4123 }
4124 _ACEOF
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 ac_cv_sys_file_offset_bits=no; break
4127 fi
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4131 #define _FILE_OFFSET_BITS 64
4132 #include <sys/types.h>
4133 /* Check that off_t can represent 2**63 - 1 correctly.
4134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4135 since some C++ compilers masquerading as C compilers
4136 incorrectly reject 9223372036854775807. */
4137 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4139 && LARGE_OFF_T % 2147483647 == 1)
4140 ? 1 : -1];
4141 int
4142 main ()
4143 {
4144
4145 ;
4146 return 0;
4147 }
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150 ac_cv_sys_file_offset_bits=64; break
4151 fi
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_cv_sys_file_offset_bits=unknown
4154 break
4155 done
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4158 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4159 case $ac_cv_sys_file_offset_bits in #(
4160 no | unknown) ;;
4161 *)
4162 cat >>confdefs.h <<_ACEOF
4163 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4164 _ACEOF
4165 ;;
4166 esac
4167 rm -rf conftest*
4168 if test $ac_cv_sys_file_offset_bits = unknown; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4170 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4171 if ${ac_cv_sys_large_files+:} false; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 while :; do
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4177 #include <sys/types.h>
4178 /* Check that off_t can represent 2**63 - 1 correctly.
4179 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4180 since some C++ compilers masquerading as C compilers
4181 incorrectly reject 9223372036854775807. */
4182 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4183 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4184 && LARGE_OFF_T % 2147483647 == 1)
4185 ? 1 : -1];
4186 int
4187 main ()
4188 {
4189
4190 ;
4191 return 0;
4192 }
4193 _ACEOF
4194 if ac_fn_c_try_compile "$LINENO"; then :
4195 ac_cv_sys_large_files=no; break
4196 fi
4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #define _LARGE_FILES 1
4201 #include <sys/types.h>
4202 /* Check that off_t can represent 2**63 - 1 correctly.
4203 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4204 since some C++ compilers masquerading as C compilers
4205 incorrectly reject 9223372036854775807. */
4206 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4207 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4208 && LARGE_OFF_T % 2147483647 == 1)
4209 ? 1 : -1];
4210 int
4211 main ()
4212 {
4213
4214 ;
4215 return 0;
4216 }
4217 _ACEOF
4218 if ac_fn_c_try_compile "$LINENO"; then :
4219 ac_cv_sys_large_files=1; break
4220 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_cv_sys_large_files=unknown
4223 break
4224 done
4225 fi
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4227 $as_echo "$ac_cv_sys_large_files" >&6; }
4228 case $ac_cv_sys_large_files in #(
4229 no | unknown) ;;
4230 *)
4231 cat >>confdefs.h <<_ACEOF
4232 #define _LARGE_FILES $ac_cv_sys_large_files
4233 _ACEOF
4234 ;;
4235 esac
4236 rm -rf conftest*
4237 fi
4238
4239
4240 fi
4241
4242
4243 am__api_version='1.13'
4244
4245 # Find a good install program. We prefer a C program (faster),
4246 # so one script is as good as another. But avoid the broken or
4247 # incompatible versions:
4248 # SysV /etc/install, /usr/sbin/install
4249 # SunOS /usr/etc/install
4250 # IRIX /sbin/install
4251 # AIX /bin/install
4252 # AmigaOS /C/install, which installs bootblocks on floppy discs
4253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4256 # OS/2's system install, which has a completely different semantic
4257 # ./install, which can be erroneously created by make from ./install.sh.
4258 # Reject install programs that cannot install multiple files.
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4261 if test -z "$INSTALL"; then
4262 if ${ac_cv_path_install+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 for as_dir in $PATH
4267 do
4268 IFS=$as_save_IFS
4269 test -z "$as_dir" && as_dir=.
4270 # Account for people who put trailing slashes in PATH elements.
4271 case $as_dir/ in #((
4272 ./ | .// | /[cC]/* | \
4273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4274 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4275 /usr/ucb/* ) ;;
4276 *)
4277 # OSF1 and SCO ODT 3.0 have their own names for install.
4278 # Don't use installbsd from OSF since it installs stuff as root
4279 # by default.
4280 for ac_prog in ginstall scoinst install; do
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4283 if test $ac_prog = install &&
4284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4285 # AIX install. It has an incompatible calling convention.
4286 :
4287 elif test $ac_prog = install &&
4288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4289 # program-specific install script used by HP pwplus--don't use.
4290 :
4291 else
4292 rm -rf conftest.one conftest.two conftest.dir
4293 echo one > conftest.one
4294 echo two > conftest.two
4295 mkdir conftest.dir
4296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4297 test -s conftest.one && test -s conftest.two &&
4298 test -s conftest.dir/conftest.one &&
4299 test -s conftest.dir/conftest.two
4300 then
4301 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4302 break 3
4303 fi
4304 fi
4305 fi
4306 done
4307 done
4308 ;;
4309 esac
4310
4311 done
4312 IFS=$as_save_IFS
4313
4314 rm -rf conftest.one conftest.two conftest.dir
4315
4316 fi
4317 if test "${ac_cv_path_install+set}" = set; then
4318 INSTALL=$ac_cv_path_install
4319 else
4320 # As a last resort, use the slow shell script. Don't cache a
4321 # value for INSTALL within a source directory, because that will
4322 # break other packages using the cache if that directory is
4323 # removed, or if the value is a relative name.
4324 INSTALL=$ac_install_sh
4325 fi
4326 fi
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4328 $as_echo "$INSTALL" >&6; }
4329
4330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4331 # It thinks the first close brace ends the variable substitution.
4332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4333
4334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4335
4336 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4337
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4339 $as_echo_n "checking whether build environment is sane... " >&6; }
4340 # Reject unsafe characters in $srcdir or the absolute working directory
4341 # name. Accept space and tab only in the latter.
4342 am_lf='
4343 '
4344 case `pwd` in
4345 *[\\\"\#\$\&\'\`$am_lf]*)
4346 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4347 esac
4348 case $srcdir in
4349 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4350 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4351 esac
4352
4353 # Do 'set' in a subshell so we don't clobber the current shell's
4354 # arguments. Must try -L first in case configure is actually a
4355 # symlink; some systems play weird games with the mod time of symlinks
4356 # (eg FreeBSD returns the mod time of the symlink's containing
4357 # directory).
4358 if (
4359 am_has_slept=no
4360 for am_try in 1 2; do
4361 echo "timestamp, slept: $am_has_slept" > conftest.file
4362 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4363 if test "$*" = "X"; then
4364 # -L didn't work.
4365 set X `ls -t "$srcdir/configure" conftest.file`
4366 fi
4367 if test "$*" != "X $srcdir/configure conftest.file" \
4368 && test "$*" != "X conftest.file $srcdir/configure"; then
4369
4370 # If neither matched, then we have a broken ls. This can happen
4371 # if, for instance, CONFIG_SHELL is bash and it inherits a
4372 # broken ls alias from the environment. This has actually
4373 # happened. Such a system could not be considered "sane".
4374 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4375 alias in your environment" "$LINENO" 5
4376 fi
4377 if test "$2" = conftest.file || test $am_try -eq 2; then
4378 break
4379 fi
4380 # Just in case.
4381 sleep 1
4382 am_has_slept=yes
4383 done
4384 test "$2" = conftest.file
4385 )
4386 then
4387 # Ok.
4388 :
4389 else
4390 as_fn_error $? "newly created file is older than distributed files!
4391 Check your system clock" "$LINENO" 5
4392 fi
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4394 $as_echo "yes" >&6; }
4395 # If we didn't sleep, we still need to ensure time stamps of config.status and
4396 # generated files are strictly newer.
4397 am_sleep_pid=
4398 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
4399 ( sleep 1 ) &
4400 am_sleep_pid=$!
4401 fi
4402
4403 rm -f conftest.file
4404
4405 test "$program_prefix" != NONE &&
4406 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4407 # Use a double $ so make ignores it.
4408 test "$program_suffix" != NONE &&
4409 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4410 # Double any \ or $.
4411 # By default was `s,x,x', remove it if useless.
4412 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4413 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4414
4415 # expand $ac_aux_dir to an absolute path
4416 am_aux_dir=`cd $ac_aux_dir && pwd`
4417
4418 if test x"${MISSING+set}" != xset; then
4419 case $am_aux_dir in
4420 *\ * | *\ *)
4421 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4422 *)
4423 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4424 esac
4425 fi
4426 # Use eval to expand $SHELL
4427 if eval "$MISSING --is-lightweight"; then
4428 am_missing_run="$MISSING "
4429 else
4430 am_missing_run=
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4432 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4433 fi
4434
4435 if test x"${install_sh}" != xset; then
4436 case $am_aux_dir in
4437 *\ * | *\ *)
4438 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4439 *)
4440 install_sh="\${SHELL} $am_aux_dir/install-sh"
4441 esac
4442 fi
4443
4444 # Installed binaries are usually stripped using 'strip' when the user
4445 # run "make install-strip". However 'strip' might not be the right
4446 # tool to use in cross-compilation environments, therefore Automake
4447 # will honor the 'STRIP' environment variable to overrule this program.
4448 if test "$cross_compiling" != no; then
4449 if test -n "$ac_tool_prefix"; then
4450 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4451 set dummy ${ac_tool_prefix}strip; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_STRIP+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -n "$STRIP"; then
4458 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4459 else
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH
4462 do
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4470 fi
4471 done
4472 done
4473 IFS=$as_save_IFS
4474
4475 fi
4476 fi
4477 STRIP=$ac_cv_prog_STRIP
4478 if test -n "$STRIP"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4480 $as_echo "$STRIP" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4484 fi
4485
4486
4487 fi
4488 if test -z "$ac_cv_prog_STRIP"; then
4489 ac_ct_STRIP=$STRIP
4490 # Extract the first word of "strip", so it can be a program name with args.
4491 set dummy strip; ac_word=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4495 $as_echo_n "(cached) " >&6
4496 else
4497 if test -n "$ac_ct_STRIP"; then
4498 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4499 else
4500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501 for as_dir in $PATH
4502 do
4503 IFS=$as_save_IFS
4504 test -z "$as_dir" && as_dir=.
4505 for ac_exec_ext in '' $ac_executable_extensions; do
4506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4507 ac_cv_prog_ac_ct_STRIP="strip"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 break 2
4510 fi
4511 done
4512 done
4513 IFS=$as_save_IFS
4514
4515 fi
4516 fi
4517 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4518 if test -n "$ac_ct_STRIP"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4520 $as_echo "$ac_ct_STRIP" >&6; }
4521 else
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4524 fi
4525
4526 if test "x$ac_ct_STRIP" = x; then
4527 STRIP=":"
4528 else
4529 case $cross_compiling:$ac_tool_warned in
4530 yes:)
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4533 ac_tool_warned=yes ;;
4534 esac
4535 STRIP=$ac_ct_STRIP
4536 fi
4537 else
4538 STRIP="$ac_cv_prog_STRIP"
4539 fi
4540
4541 fi
4542 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4543
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4545 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4546 if test -z "$MKDIR_P"; then
4547 if ${ac_cv_path_mkdir+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4552 do
4553 IFS=$as_save_IFS
4554 test -z "$as_dir" && as_dir=.
4555 for ac_prog in mkdir gmkdir; do
4556 for ac_exec_ext in '' $ac_executable_extensions; do
4557 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4558 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4559 'mkdir (GNU coreutils) '* | \
4560 'mkdir (coreutils) '* | \
4561 'mkdir (fileutils) '4.1*)
4562 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4563 break 3;;
4564 esac
4565 done
4566 done
4567 done
4568 IFS=$as_save_IFS
4569
4570 fi
4571
4572 test -d ./--version && rmdir ./--version
4573 if test "${ac_cv_path_mkdir+set}" = set; then
4574 MKDIR_P="$ac_cv_path_mkdir -p"
4575 else
4576 # As a last resort, use the slow shell script. Don't cache a
4577 # value for MKDIR_P within a source directory, because that will
4578 # break other packages using the cache if that directory is
4579 # removed, or if the value is a relative name.
4580 MKDIR_P="$ac_install_sh -d"
4581 fi
4582 fi
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4584 $as_echo "$MKDIR_P" >&6; }
4585
4586 for ac_prog in gawk mawk nawk awk
4587 do
4588 # Extract the first word of "$ac_prog", so it can be a program name with args.
4589 set dummy $ac_prog; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_AWK+:} false; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4595 if test -n "$AWK"; then
4596 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4600 do
4601 IFS=$as_save_IFS
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605 ac_cv_prog_AWK="$ac_prog"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 break 2
4608 fi
4609 done
4610 done
4611 IFS=$as_save_IFS
4612
4613 fi
4614 fi
4615 AWK=$ac_cv_prog_AWK
4616 if test -n "$AWK"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4618 $as_echo "$AWK" >&6; }
4619 else
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4622 fi
4623
4624
4625 test -n "$AWK" && break
4626 done
4627
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4629 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4630 set x ${MAKE-make}
4631 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4632 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4633 $as_echo_n "(cached) " >&6
4634 else
4635 cat >conftest.make <<\_ACEOF
4636 SHELL = /bin/sh
4637 all:
4638 @echo '@@@%%%=$(MAKE)=@@@%%%'
4639 _ACEOF
4640 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4641 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4642 *@@@%%%=?*=@@@%%%*)
4643 eval ac_cv_prog_make_${ac_make}_set=yes;;
4644 *)
4645 eval ac_cv_prog_make_${ac_make}_set=no;;
4646 esac
4647 rm -f conftest.make
4648 fi
4649 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4651 $as_echo "yes" >&6; }
4652 SET_MAKE=
4653 else
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 $as_echo "no" >&6; }
4656 SET_MAKE="MAKE=${MAKE-make}"
4657 fi
4658
4659 rm -rf .tst 2>/dev/null
4660 mkdir .tst 2>/dev/null
4661 if test -d .tst; then
4662 am__leading_dot=.
4663 else
4664 am__leading_dot=_
4665 fi
4666 rmdir .tst 2>/dev/null
4667
4668 DEPDIR="${am__leading_dot}deps"
4669
4670 ac_config_commands="$ac_config_commands depfiles"
4671
4672
4673 am_make=${MAKE-make}
4674 cat > confinc << 'END'
4675 am__doit:
4676 @echo this is the am__doit target
4677 .PHONY: am__doit
4678 END
4679 # If we don't find an include directive, just comment out the code.
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4681 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4682 am__include="#"
4683 am__quote=
4684 _am_result=none
4685 # First try GNU make style include.
4686 echo "include confinc" > confmf
4687 # Ignore all kinds of additional output from 'make'.
4688 case `$am_make -s -f confmf 2> /dev/null` in #(
4689 *the\ am__doit\ target*)
4690 am__include=include
4691 am__quote=
4692 _am_result=GNU
4693 ;;
4694 esac
4695 # Now try BSD make style include.
4696 if test "$am__include" = "#"; then
4697 echo '.include "confinc"' > confmf
4698 case `$am_make -s -f confmf 2> /dev/null` in #(
4699 *the\ am__doit\ target*)
4700 am__include=.include
4701 am__quote="\""
4702 _am_result=BSD
4703 ;;
4704 esac
4705 fi
4706
4707
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4709 $as_echo "$_am_result" >&6; }
4710 rm -f confinc confmf
4711
4712 # Check whether --enable-dependency-tracking was given.
4713 if test "${enable_dependency_tracking+set}" = set; then :
4714 enableval=$enable_dependency_tracking;
4715 fi
4716
4717 if test "x$enable_dependency_tracking" != xno; then
4718 am_depcomp="$ac_aux_dir/depcomp"
4719 AMDEPBACKSLASH='\'
4720 am__nodep='_no'
4721 fi
4722 if test "x$enable_dependency_tracking" != xno; then
4723 AMDEP_TRUE=
4724 AMDEP_FALSE='#'
4725 else
4726 AMDEP_TRUE='#'
4727 AMDEP_FALSE=
4728 fi
4729
4730
4731 # Check whether --enable-silent-rules was given.
4732 if test "${enable_silent_rules+set}" = set; then :
4733 enableval=$enable_silent_rules;
4734 fi
4735
4736 case $enable_silent_rules in # (((
4737 yes) AM_DEFAULT_VERBOSITY=0;;
4738 no) AM_DEFAULT_VERBOSITY=1;;
4739 *) AM_DEFAULT_VERBOSITY=1;;
4740 esac
4741 am_make=${MAKE-make}
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4743 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4744 if ${am_cv_make_support_nested_variables+:} false; then :
4745 $as_echo_n "(cached) " >&6
4746 else
4747 if $as_echo 'TRUE=$(BAR$(V))
4748 BAR0=false
4749 BAR1=true
4750 V=1
4751 am__doit:
4752 @$(TRUE)
4753 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4754 am_cv_make_support_nested_variables=yes
4755 else
4756 am_cv_make_support_nested_variables=no
4757 fi
4758 fi
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4760 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4761 if test $am_cv_make_support_nested_variables = yes; then
4762 AM_V='$(V)'
4763 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4764 else
4765 AM_V=$AM_DEFAULT_VERBOSITY
4766 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4767 fi
4768 AM_BACKSLASH='\'
4769
4770 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4771 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4772 # is not polluted with repeated "-I."
4773 am__isrc=' -I$(srcdir)'
4774 # test to see if srcdir already configured
4775 if test -f $srcdir/config.status; then
4776 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4777 fi
4778 fi
4779
4780 # test whether we have cygpath
4781 if test -z "$CYGPATH_W"; then
4782 if (cygpath --version) >/dev/null 2>/dev/null; then
4783 CYGPATH_W='cygpath -w'
4784 else
4785 CYGPATH_W=echo
4786 fi
4787 fi
4788
4789
4790 # Define the identity of the package.
4791 PACKAGE='systemd'
4792 VERSION='208'
4793
4794
4795 cat >>confdefs.h <<_ACEOF
4796 #define PACKAGE "$PACKAGE"
4797 _ACEOF
4798
4799
4800 cat >>confdefs.h <<_ACEOF
4801 #define VERSION "$VERSION"
4802 _ACEOF
4803
4804 # Some tools Automake needs.
4805
4806 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4807
4808
4809 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4810
4811
4812 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4813
4814
4815 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4816
4817
4818 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4819
4820 # For better backward compatibility. To be removed once Automake 1.9.x
4821 # dies out for good. For more background, see:
4822 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4823 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4824 mkdir_p='$(MKDIR_P)'
4825
4826 # We need awk for the "check" target. The system "awk" is bad on
4827 # some platforms.
4828 # Always define AMTAR for backward compatibility. Yes, it's still used
4829 # in the wild :-( We should find a proper way to deprecate it ...
4830 AMTAR='$${TAR-tar}'
4831
4832
4833 # We'll loop over all known methods to create a tar archive until one works.
4834 _am_tools='gnutar pax cpio none'
4835
4836
4837
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
4839 $as_echo_n "checking how to create a pax tar archive... " >&6; }
4840
4841 # Go ahead even if we have the value already cached. We do so because we
4842 # need to set the values for the 'am__tar' and 'am__untar' variables.
4843 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
4844
4845 for _am_tool in $_am_tools; do
4846 case $_am_tool in
4847 gnutar)
4848 for _am_tar in tar gnutar gtar; do
4849 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4850 ($_am_tar --version) >&5 2>&5
4851 ac_status=$?
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } && break
4854 done
4855 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
4856 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
4857 am__untar="$_am_tar -xf -"
4858 ;;
4859 plaintar)
4860 # Must skip GNU tar: if it does not support --format= it doesn't create
4861 # ustar tarball either.
4862 (tar --version) >/dev/null 2>&1 && continue
4863 am__tar='tar chf - "$$tardir"'
4864 am__tar_='tar chf - "$tardir"'
4865 am__untar='tar xf -'
4866 ;;
4867 pax)
4868 am__tar='pax -L -x pax -w "$$tardir"'
4869 am__tar_='pax -L -x pax -w "$tardir"'
4870 am__untar='pax -r'
4871 ;;
4872 cpio)
4873 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
4874 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
4875 am__untar='cpio -i -H pax -d'
4876 ;;
4877 none)
4878 am__tar=false
4879 am__tar_=false
4880 am__untar=false
4881 ;;
4882 esac
4883
4884 # If the value was cached, stop now. We just wanted to have am__tar
4885 # and am__untar set.
4886 test -n "${am_cv_prog_tar_pax}" && break
4887
4888 # tar/untar a dummy directory, and stop if the command works.
4889 rm -rf conftest.dir
4890 mkdir conftest.dir
4891 echo GrepMe > conftest.dir/file
4892 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4893 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4894 ac_status=$?
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }
4897 rm -rf conftest.dir
4898 if test -s conftest.tar; then
4899 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4900 ($am__untar <conftest.tar) >&5 2>&5
4901 ac_status=$?
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }
4904 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4905 (cat conftest.dir/file) >&5 2>&5
4906 ac_status=$?
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }
4909 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4910 fi
4911 done
4912 rm -rf conftest.dir
4913
4914 if ${am_cv_prog_tar_pax+:} false; then :
4915 $as_echo_n "(cached) " >&6
4916 else
4917 am_cv_prog_tar_pax=$_am_tool
4918 fi
4919
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
4921 $as_echo "$am_cv_prog_tar_pax" >&6; }
4922
4923
4924
4925
4926
4927 depcc="$CC" am_compiler_list=
4928
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4930 $as_echo_n "checking dependency style of $depcc... " >&6; }
4931 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4932 $as_echo_n "(cached) " >&6
4933 else
4934 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4935 # We make a subdir and do the tests there. Otherwise we can end up
4936 # making bogus files that we don't know about and never remove. For
4937 # instance it was reported that on HP-UX the gcc test will end up
4938 # making a dummy file named 'D' -- because '-MD' means "put the output
4939 # in D".
4940 rm -rf conftest.dir
4941 mkdir conftest.dir
4942 # Copy depcomp to subdir because otherwise we won't find it if we're
4943 # using a relative directory.
4944 cp "$am_depcomp" conftest.dir
4945 cd conftest.dir
4946 # We will build objects and dependencies in a subdirectory because
4947 # it helps to detect inapplicable dependency modes. For instance
4948 # both Tru64's cc and ICC support -MD to output dependencies as a
4949 # side effect of compilation, but ICC will put the dependencies in
4950 # the current directory while Tru64 will put them in the object
4951 # directory.
4952 mkdir sub
4953
4954 am_cv_CC_dependencies_compiler_type=none
4955 if test "$am_compiler_list" = ""; then
4956 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4957 fi
4958 am__universal=false
4959 case " $depcc " in #(
4960 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4961 esac
4962
4963 for depmode in $am_compiler_list; do
4964 # Setup a source with many dependencies, because some compilers
4965 # like to wrap large dependency lists on column 80 (with \), and
4966 # we should not choose a depcomp mode which is confused by this.
4967 #
4968 # We need to recreate these files for each test, as the compiler may
4969 # overwrite some of them when testing with obscure command lines.
4970 # This happens at least with the AIX C compiler.
4971 : > sub/conftest.c
4972 for i in 1 2 3 4 5 6; do
4973 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4974 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4975 # Solaris 10 /bin/sh.
4976 echo '/* dummy */' > sub/conftst$i.h
4977 done
4978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4979
4980 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4981 # mode. It turns out that the SunPro C++ compiler does not properly
4982 # handle '-M -o', and we need to detect this. Also, some Intel
4983 # versions had trouble with output in subdirs.
4984 am__obj=sub/conftest.${OBJEXT-o}
4985 am__minus_obj="-o $am__obj"
4986 case $depmode in
4987 gcc)
4988 # This depmode causes a compiler race in universal mode.
4989 test "$am__universal" = false || continue
4990 ;;
4991 nosideeffect)
4992 # After this tag, mechanisms are not by side-effect, so they'll
4993 # only be used when explicitly requested.
4994 if test "x$enable_dependency_tracking" = xyes; then
4995 continue
4996 else
4997 break
4998 fi
4999 ;;
5000 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5001 # This compiler won't grok '-c -o', but also, the minuso test has
5002 # not run yet. These depmodes are late enough in the game, and
5003 # so weak that their functioning should not be impacted.
5004 am__obj=conftest.${OBJEXT-o}
5005 am__minus_obj=
5006 ;;
5007 none) break ;;
5008 esac
5009 if depmode=$depmode \
5010 source=sub/conftest.c object=$am__obj \
5011 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5012 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5013 >/dev/null 2>conftest.err &&
5014 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5015 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5016 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5017 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5018 # icc doesn't choke on unknown options, it will just issue warnings
5019 # or remarks (even with -Werror). So we grep stderr for any message
5020 # that says an option was ignored or not supported.
5021 # When given -MP, icc 7.0 and 7.1 complain thusly:
5022 # icc: Command line warning: ignoring option '-M'; no argument required
5023 # The diagnosis changed in icc 8.0:
5024 # icc: Command line remark: option '-MP' not supported
5025 if (grep 'ignoring option' conftest.err ||
5026 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5027 am_cv_CC_dependencies_compiler_type=$depmode
5028 break
5029 fi
5030 fi
5031 done
5032
5033 cd ..
5034 rm -rf conftest.dir
5035 else
5036 am_cv_CC_dependencies_compiler_type=none
5037 fi
5038
5039 fi
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5042 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5043
5044 if
5045 test "x$enable_dependency_tracking" != xno \
5046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5047 am__fastdepCC_TRUE=
5048 am__fastdepCC_FALSE='#'
5049 else
5050 am__fastdepCC_TRUE='#'
5051 am__fastdepCC_FALSE=
5052 fi
5053
5054
5055
5056 # Check whether --enable-silent-rules was given.
5057 if test "${enable_silent_rules+set}" = set; then :
5058 enableval=$enable_silent_rules;
5059 fi
5060
5061 case $enable_silent_rules in # (((
5062 yes) AM_DEFAULT_VERBOSITY=0;;
5063 no) AM_DEFAULT_VERBOSITY=1;;
5064 *) AM_DEFAULT_VERBOSITY=0;;
5065 esac
5066 am_make=${MAKE-make}
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5068 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5069 if ${am_cv_make_support_nested_variables+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if $as_echo 'TRUE=$(BAR$(V))
5073 BAR0=false
5074 BAR1=true
5075 V=1
5076 am__doit:
5077 @$(TRUE)
5078 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5079 am_cv_make_support_nested_variables=yes
5080 else
5081 am_cv_make_support_nested_variables=no
5082 fi
5083 fi
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5085 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5086 if test $am_cv_make_support_nested_variables = yes; then
5087 AM_V='$(V)'
5088 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5089 else
5090 AM_V=$AM_DEFAULT_VERBOSITY
5091 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5092 fi
5093 AM_BACKSLASH='\'
5094
5095 # Make sure we can run config.sub.
5096 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5097 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5098
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5100 $as_echo_n "checking build system type... " >&6; }
5101 if ${ac_cv_build+:} false; then :
5102 $as_echo_n "(cached) " >&6
5103 else
5104 ac_build_alias=$build_alias
5105 test "x$ac_build_alias" = x &&
5106 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5107 test "x$ac_build_alias" = x &&
5108 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5109 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5110 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5111
5112 fi
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5114 $as_echo "$ac_cv_build" >&6; }
5115 case $ac_cv_build in
5116 *-*-*) ;;
5117 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5118 esac
5119 build=$ac_cv_build
5120 ac_save_IFS=$IFS; IFS='-'
5121 set x $ac_cv_build
5122 shift
5123 build_cpu=$1
5124 build_vendor=$2
5125 shift; shift
5126 # Remember, the first character of IFS is used to create $*,
5127 # except with old shells:
5128 build_os=$*
5129 IFS=$ac_save_IFS
5130 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5131
5132
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5134 $as_echo_n "checking host system type... " >&6; }
5135 if ${ac_cv_host+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 if test "x$host_alias" = x; then
5139 ac_cv_host=$ac_cv_build
5140 else
5141 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5142 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5143 fi
5144
5145 fi
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5147 $as_echo "$ac_cv_host" >&6; }
5148 case $ac_cv_host in
5149 *-*-*) ;;
5150 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5151 esac
5152 host=$ac_cv_host
5153 ac_save_IFS=$IFS; IFS='-'
5154 set x $ac_cv_host
5155 shift
5156 host_cpu=$1
5157 host_vendor=$2
5158 shift; shift
5159 # Remember, the first character of IFS is used to create $*,
5160 # except with old shells:
5161 host_os=$*
5162 IFS=$ac_save_IFS
5163 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5164
5165
5166
5167 cat >>confdefs.h <<_ACEOF
5168 #define CANONICAL_HOST "$host"
5169 _ACEOF
5170
5171 if test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
5172 test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"; then :
5173
5174 $as_echo "#define ARCH_MIPS /**/" >>confdefs.h
5175
5176 fi
5177
5178
5179 case `pwd` in
5180 *\ * | *\ *)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5182 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5183 esac
5184
5185
5186
5187 macro_version='2.4.2'
5188 macro_revision='1.3337'
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202 ltmain="$ac_aux_dir/ltmain.sh"
5203
5204 # Backslashify metacharacters that are still active within
5205 # double-quoted strings.
5206 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5207
5208 # Same as above, but do not quote variable references.
5209 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5210
5211 # Sed substitution to delay expansion of an escaped shell variable in a
5212 # double_quote_subst'ed string.
5213 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5214
5215 # Sed substitution to delay expansion of an escaped single quote.
5216 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5217
5218 # Sed substitution to avoid accidental globbing in evaled expressions
5219 no_glob_subst='s/\*/\\\*/g'
5220
5221 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5222 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5223 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5224
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5226 $as_echo_n "checking how to print strings... " >&6; }
5227 # Test print first, because it will be a builtin if present.
5228 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5229 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5230 ECHO='print -r --'
5231 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5232 ECHO='printf %s\n'
5233 else
5234 # Use this function as a fallback that always works.
5235 func_fallback_echo ()
5236 {
5237 eval 'cat <<_LTECHO_EOF
5238 $1
5239 _LTECHO_EOF'
5240 }
5241 ECHO='func_fallback_echo'
5242 fi
5243
5244 # func_echo_all arg...
5245 # Invoke $ECHO with all args, space-separated.
5246 func_echo_all ()
5247 {
5248 $ECHO ""
5249 }
5250
5251 case "$ECHO" in
5252 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5253 $as_echo "printf" >&6; } ;;
5254 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5255 $as_echo "print -r" >&6; } ;;
5256 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5257 $as_echo "cat" >&6; } ;;
5258 esac
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5274 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5275 if ${ac_cv_path_SED+:} false; then :
5276 $as_echo_n "(cached) " >&6
5277 else
5278 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5279 for ac_i in 1 2 3 4 5 6 7; do
5280 ac_script="$ac_script$as_nl$ac_script"
5281 done
5282 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5283 { ac_script=; unset ac_script;}
5284 if test -z "$SED"; then
5285 ac_path_SED_found=false
5286 # Loop through the user's path and test for each of PROGNAME-LIST
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in $PATH
5289 do
5290 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5292 for ac_prog in sed gsed; do
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5295 as_fn_executable_p "$ac_path_SED" || continue
5296 # Check for GNU ac_path_SED and select it if it is found.
5297 # Check for GNU $ac_path_SED
5298 case `"$ac_path_SED" --version 2>&1` in
5299 *GNU*)
5300 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5301 *)
5302 ac_count=0
5303 $as_echo_n 0123456789 >"conftest.in"
5304 while :
5305 do
5306 cat "conftest.in" "conftest.in" >"conftest.tmp"
5307 mv "conftest.tmp" "conftest.in"
5308 cp "conftest.in" "conftest.nl"
5309 $as_echo '' >> "conftest.nl"
5310 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5312 as_fn_arith $ac_count + 1 && ac_count=$as_val
5313 if test $ac_count -gt ${ac_path_SED_max-0}; then
5314 # Best one so far, save it but keep looking for a better one
5315 ac_cv_path_SED="$ac_path_SED"
5316 ac_path_SED_max=$ac_count
5317 fi
5318 # 10*(2^10) chars as input seems more than enough
5319 test $ac_count -gt 10 && break
5320 done
5321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5322 esac
5323
5324 $ac_path_SED_found && break 3
5325 done
5326 done
5327 done
5328 IFS=$as_save_IFS
5329 if test -z "$ac_cv_path_SED"; then
5330 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5331 fi
5332 else
5333 ac_cv_path_SED=$SED
5334 fi
5335
5336 fi
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5338 $as_echo "$ac_cv_path_SED" >&6; }
5339 SED="$ac_cv_path_SED"
5340 rm -f conftest.sed
5341
5342 test -z "$SED" && SED=sed
5343 Xsed="$SED -e 1s/^X//"
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5356 $as_echo_n "checking for fgrep... " >&6; }
5357 if ${ac_cv_path_FGREP+:} false; then :
5358 $as_echo_n "(cached) " >&6
5359 else
5360 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5361 then ac_cv_path_FGREP="$GREP -F"
5362 else
5363 if test -z "$FGREP"; then
5364 ac_path_FGREP_found=false
5365 # Loop through the user's path and test for each of PROGNAME-LIST
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5368 do
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_prog in fgrep; do
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5374 as_fn_executable_p "$ac_path_FGREP" || continue
5375 # Check for GNU ac_path_FGREP and select it if it is found.
5376 # Check for GNU $ac_path_FGREP
5377 case `"$ac_path_FGREP" --version 2>&1` in
5378 *GNU*)
5379 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5380 *)
5381 ac_count=0
5382 $as_echo_n 0123456789 >"conftest.in"
5383 while :
5384 do
5385 cat "conftest.in" "conftest.in" >"conftest.tmp"
5386 mv "conftest.tmp" "conftest.in"
5387 cp "conftest.in" "conftest.nl"
5388 $as_echo 'FGREP' >> "conftest.nl"
5389 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5391 as_fn_arith $ac_count + 1 && ac_count=$as_val
5392 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5393 # Best one so far, save it but keep looking for a better one
5394 ac_cv_path_FGREP="$ac_path_FGREP"
5395 ac_path_FGREP_max=$ac_count
5396 fi
5397 # 10*(2^10) chars as input seems more than enough
5398 test $ac_count -gt 10 && break
5399 done
5400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5401 esac
5402
5403 $ac_path_FGREP_found && break 3
5404 done
5405 done
5406 done
5407 IFS=$as_save_IFS
5408 if test -z "$ac_cv_path_FGREP"; then
5409 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5410 fi
5411 else
5412 ac_cv_path_FGREP=$FGREP
5413 fi
5414
5415 fi
5416 fi
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5418 $as_echo "$ac_cv_path_FGREP" >&6; }
5419 FGREP="$ac_cv_path_FGREP"
5420
5421
5422 test -z "$GREP" && GREP=grep
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442 # Check whether --with-gnu-ld was given.
5443 if test "${with_gnu_ld+set}" = set; then :
5444 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5445 else
5446 with_gnu_ld=no
5447 fi
5448
5449 ac_prog=ld
5450 if test "$GCC" = yes; then
5451 # Check if gcc -print-prog-name=ld gives a path.
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5453 $as_echo_n "checking for ld used by $CC... " >&6; }
5454 case $host in
5455 *-*-mingw*)
5456 # gcc leaves a trailing carriage return which upsets mingw
5457 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5458 *)
5459 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5460 esac
5461 case $ac_prog in
5462 # Accept absolute paths.
5463 [\\/]* | ?:[\\/]*)
5464 re_direlt='/[^/][^/]*/\.\./'
5465 # Canonicalize the pathname of ld
5466 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5467 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5468 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5469 done
5470 test -z "$LD" && LD="$ac_prog"
5471 ;;
5472 "")
5473 # If it fails, then pretend we aren't using GCC.
5474 ac_prog=ld
5475 ;;
5476 *)
5477 # If it is relative, then search for the first ld in PATH.
5478 with_gnu_ld=unknown
5479 ;;
5480 esac
5481 elif test "$with_gnu_ld" = yes; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5483 $as_echo_n "checking for GNU ld... " >&6; }
5484 else
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5486 $as_echo_n "checking for non-GNU ld... " >&6; }
5487 fi
5488 if ${lt_cv_path_LD+:} false; then :
5489 $as_echo_n "(cached) " >&6
5490 else
5491 if test -z "$LD"; then
5492 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5493 for ac_dir in $PATH; do
5494 IFS="$lt_save_ifs"
5495 test -z "$ac_dir" && ac_dir=.
5496 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5497 lt_cv_path_LD="$ac_dir/$ac_prog"
5498 # Check to see if the program is GNU ld. I'd rather use --version,
5499 # but apparently some variants of GNU ld only accept -v.
5500 # Break only if it was the GNU/non-GNU ld that we prefer.
5501 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5502 *GNU* | *'with BFD'*)
5503 test "$with_gnu_ld" != no && break
5504 ;;
5505 *)
5506 test "$with_gnu_ld" != yes && break
5507 ;;
5508 esac
5509 fi
5510 done
5511 IFS="$lt_save_ifs"
5512 else
5513 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5514 fi
5515 fi
5516
5517 LD="$lt_cv_path_LD"
5518 if test -n "$LD"; then
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5520 $as_echo "$LD" >&6; }
5521 else
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5524 fi
5525 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5528 if ${lt_cv_prog_gnu_ld+:} false; then :
5529 $as_echo_n "(cached) " >&6
5530 else
5531 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5532 case `$LD -v 2>&1 </dev/null` in
5533 *GNU* | *'with BFD'*)
5534 lt_cv_prog_gnu_ld=yes
5535 ;;
5536 *)
5537 lt_cv_prog_gnu_ld=no
5538 ;;
5539 esac
5540 fi
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5542 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5543 with_gnu_ld=$lt_cv_prog_gnu_ld
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5554 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5555 if ${lt_cv_path_NM+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -n "$NM"; then
5559 # Let the user override the test.
5560 lt_cv_path_NM="$NM"
5561 else
5562 lt_nm_to_check="${ac_tool_prefix}nm"
5563 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5564 lt_nm_to_check="$lt_nm_to_check nm"
5565 fi
5566 for lt_tmp_nm in $lt_nm_to_check; do
5567 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5568 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5569 IFS="$lt_save_ifs"
5570 test -z "$ac_dir" && ac_dir=.
5571 tmp_nm="$ac_dir/$lt_tmp_nm"
5572 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5573 # Check to see if the nm accepts a BSD-compat flag.
5574 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5575 # nm: unknown option "B" ignored
5576 # Tru64's nm complains that /dev/null is an invalid object file
5577 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5578 */dev/null* | *'Invalid file or object type'*)
5579 lt_cv_path_NM="$tmp_nm -B"
5580 break
5581 ;;
5582 *)
5583 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5584 */dev/null*)
5585 lt_cv_path_NM="$tmp_nm -p"
5586 break
5587 ;;
5588 *)
5589 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5590 continue # so that we can try to find one that supports BSD flags
5591 ;;
5592 esac
5593 ;;
5594 esac
5595 fi
5596 done
5597 IFS="$lt_save_ifs"
5598 done
5599 : ${lt_cv_path_NM=no}
5600 fi
5601 fi
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5603 $as_echo "$lt_cv_path_NM" >&6; }
5604 if test "$lt_cv_path_NM" != "no"; then
5605 NM="$lt_cv_path_NM"
5606 else
5607 # Didn't find any BSD compatible name lister, look for dumpbin.
5608 if test -n "$DUMPBIN"; then :
5609 # Let the user override the test.
5610 else
5611 if test -n "$ac_tool_prefix"; then
5612 for ac_prog in dumpbin "link -dump"
5613 do
5614 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_DUMPBIN+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -n "$DUMPBIN"; then
5622 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5626 do
5627 IFS=$as_save_IFS
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 break 2
5634 fi
5635 done
5636 done
5637 IFS=$as_save_IFS
5638
5639 fi
5640 fi
5641 DUMPBIN=$ac_cv_prog_DUMPBIN
5642 if test -n "$DUMPBIN"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5644 $as_echo "$DUMPBIN" >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5648 fi
5649
5650
5651 test -n "$DUMPBIN" && break
5652 done
5653 fi
5654 if test -z "$DUMPBIN"; then
5655 ac_ct_DUMPBIN=$DUMPBIN
5656 for ac_prog in dumpbin "link -dump"
5657 do
5658 # Extract the first word of "$ac_prog", so it can be a program name with args.
5659 set dummy $ac_prog; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5663 $as_echo_n "(cached) " >&6
5664 else
5665 if test -n "$ac_ct_DUMPBIN"; then
5666 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5670 do
5671 IFS=$as_save_IFS
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 break 2
5678 fi
5679 done
5680 done
5681 IFS=$as_save_IFS
5682
5683 fi
5684 fi
5685 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5686 if test -n "$ac_ct_DUMPBIN"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5688 $as_echo "$ac_ct_DUMPBIN" >&6; }
5689 else
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5692 fi
5693
5694
5695 test -n "$ac_ct_DUMPBIN" && break
5696 done
5697
5698 if test "x$ac_ct_DUMPBIN" = x; then
5699 DUMPBIN=":"
5700 else
5701 case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707 DUMPBIN=$ac_ct_DUMPBIN
5708 fi
5709 fi
5710
5711 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5712 *COFF*)
5713 DUMPBIN="$DUMPBIN -symbols"
5714 ;;
5715 *)
5716 DUMPBIN=:
5717 ;;
5718 esac
5719 fi
5720
5721 if test "$DUMPBIN" != ":"; then
5722 NM="$DUMPBIN"
5723 fi
5724 fi
5725 test -z "$NM" && NM=nm
5726
5727
5728
5729
5730
5731
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5733 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5734 if ${lt_cv_nm_interface+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 lt_cv_nm_interface="BSD nm"
5738 echo "int some_variable = 0;" > conftest.$ac_ext
5739 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5740 (eval "$ac_compile" 2>conftest.err)
5741 cat conftest.err >&5
5742 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5743 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5744 cat conftest.err >&5
5745 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5746 cat conftest.out >&5
5747 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5748 lt_cv_nm_interface="MS dumpbin"
5749 fi
5750 rm -f conftest*
5751 fi
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5753 $as_echo "$lt_cv_nm_interface" >&6; }
5754
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5756 $as_echo_n "checking whether ln -s works... " >&6; }
5757 LN_S=$as_ln_s
5758 if test "$LN_S" = "ln -s"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5760 $as_echo "yes" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5763 $as_echo "no, using $LN_S" >&6; }
5764 fi
5765
5766 # find the maximum length of command line arguments
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5768 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5769 if ${lt_cv_sys_max_cmd_len+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 i=0
5773 teststring="ABCD"
5774
5775 case $build_os in
5776 msdosdjgpp*)
5777 # On DJGPP, this test can blow up pretty badly due to problems in libc
5778 # (any single argument exceeding 2000 bytes causes a buffer overrun
5779 # during glob expansion). Even if it were fixed, the result of this
5780 # check would be larger than it should be.
5781 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5782 ;;
5783
5784 gnu*)
5785 # Under GNU Hurd, this test is not required because there is
5786 # no limit to the length of command line arguments.
5787 # Libtool will interpret -1 as no limit whatsoever
5788 lt_cv_sys_max_cmd_len=-1;
5789 ;;
5790
5791 cygwin* | mingw* | cegcc*)
5792 # On Win9x/ME, this test blows up -- it succeeds, but takes
5793 # about 5 minutes as the teststring grows exponentially.
5794 # Worse, since 9x/ME are not pre-emptively multitasking,
5795 # you end up with a "frozen" computer, even though with patience
5796 # the test eventually succeeds (with a max line length of 256k).
5797 # Instead, let's just punt: use the minimum linelength reported by
5798 # all of the supported platforms: 8192 (on NT/2K/XP).
5799 lt_cv_sys_max_cmd_len=8192;
5800 ;;
5801
5802 mint*)
5803 # On MiNT this can take a long time and run out of memory.
5804 lt_cv_sys_max_cmd_len=8192;
5805 ;;
5806
5807 amigaos*)
5808 # On AmigaOS with pdksh, this test takes hours, literally.
5809 # So we just punt and use a minimum line length of 8192.
5810 lt_cv_sys_max_cmd_len=8192;
5811 ;;
5812
5813 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5814 # This has been around since 386BSD, at least. Likely further.
5815 if test -x /sbin/sysctl; then
5816 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5817 elif test -x /usr/sbin/sysctl; then
5818 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5819 else
5820 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5821 fi
5822 # And add a safety zone
5823 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5824 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5825 ;;
5826
5827 interix*)
5828 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5829 lt_cv_sys_max_cmd_len=196608
5830 ;;
5831
5832 os2*)
5833 # The test takes a long time on OS/2.
5834 lt_cv_sys_max_cmd_len=8192
5835 ;;
5836
5837 osf*)
5838 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5839 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5840 # nice to cause kernel panics so lets avoid the loop below.
5841 # First set a reasonable default.
5842 lt_cv_sys_max_cmd_len=16384
5843 #
5844 if test -x /sbin/sysconfig; then
5845 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5846 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5847 esac
5848 fi
5849 ;;
5850 sco3.2v5*)
5851 lt_cv_sys_max_cmd_len=102400
5852 ;;
5853 sysv5* | sco5v6* | sysv4.2uw2*)
5854 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5855 if test -n "$kargmax"; then
5856 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5857 else
5858 lt_cv_sys_max_cmd_len=32768
5859 fi
5860 ;;
5861 *)
5862 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5863 if test -n "$lt_cv_sys_max_cmd_len"; then
5864 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5865 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5866 else
5867 # Make teststring a little bigger before we do anything with it.
5868 # a 1K string should be a reasonable start.
5869 for i in 1 2 3 4 5 6 7 8 ; do
5870 teststring=$teststring$teststring
5871 done
5872 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5873 # If test is not a shell built-in, we'll probably end up computing a
5874 # maximum length that is only half of the actual maximum length, but
5875 # we can't tell.
5876 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5877 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5878 test $i != 17 # 1/2 MB should be enough
5879 do
5880 i=`expr $i + 1`
5881 teststring=$teststring$teststring
5882 done
5883 # Only check the string length outside the loop.
5884 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5885 teststring=
5886 # Add a significant safety factor because C++ compilers can tack on
5887 # massive amounts of additional arguments before passing them to the
5888 # linker. It appears as though 1/2 is a usable value.
5889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5890 fi
5891 ;;
5892 esac
5893
5894 fi
5895
5896 if test -n $lt_cv_sys_max_cmd_len ; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5898 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5901 $as_echo "none" >&6; }
5902 fi
5903 max_cmd_len=$lt_cv_sys_max_cmd_len
5904
5905
5906
5907
5908
5909
5910 : ${CP="cp -f"}
5911 : ${MV="mv -f"}
5912 : ${RM="rm -f"}
5913
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5915 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5916 # Try some XSI features
5917 xsi_shell=no
5918 ( _lt_dummy="a/b/c"
5919 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5920 = c,a/b,b/c, \
5921 && eval 'test $(( 1 + 1 )) -eq 2 \
5922 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5923 && xsi_shell=yes
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5925 $as_echo "$xsi_shell" >&6; }
5926
5927
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5929 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5930 lt_shell_append=no
5931 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5932 >/dev/null 2>&1 \
5933 && lt_shell_append=yes
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5935 $as_echo "$lt_shell_append" >&6; }
5936
5937
5938 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5939 lt_unset=unset
5940 else
5941 lt_unset=false
5942 fi
5943
5944
5945
5946
5947
5948 # test EBCDIC or ASCII
5949 case `echo X|tr X '\101'` in
5950 A) # ASCII based system
5951 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5952 lt_SP2NL='tr \040 \012'
5953 lt_NL2SP='tr \015\012 \040\040'
5954 ;;
5955 *) # EBCDIC based system
5956 lt_SP2NL='tr \100 \n'
5957 lt_NL2SP='tr \r\n \100\100'
5958 ;;
5959 esac
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5970 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5971 if ${lt_cv_to_host_file_cmd+:} false; then :
5972 $as_echo_n "(cached) " >&6
5973 else
5974 case $host in
5975 *-*-mingw* )
5976 case $build in
5977 *-*-mingw* ) # actually msys
5978 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5979 ;;
5980 *-*-cygwin* )
5981 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5982 ;;
5983 * ) # otherwise, assume *nix
5984 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5985 ;;
5986 esac
5987 ;;
5988 *-*-cygwin* )
5989 case $build in
5990 *-*-mingw* ) # actually msys
5991 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5992 ;;
5993 *-*-cygwin* )
5994 lt_cv_to_host_file_cmd=func_convert_file_noop
5995 ;;
5996 * ) # otherwise, assume *nix
5997 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5998 ;;
5999 esac
6000 ;;
6001 * ) # unhandled hosts (and "normal" native builds)
6002 lt_cv_to_host_file_cmd=func_convert_file_noop
6003 ;;
6004 esac
6005
6006 fi
6007
6008 to_host_file_cmd=$lt_cv_to_host_file_cmd
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6010 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6011
6012
6013
6014
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6017 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6018 if ${lt_cv_to_tool_file_cmd+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 #assume ordinary cross tools, or native build.
6022 lt_cv_to_tool_file_cmd=func_convert_file_noop
6023 case $host in
6024 *-*-mingw* )
6025 case $build in
6026 *-*-mingw* ) # actually msys
6027 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6028 ;;
6029 esac
6030 ;;
6031 esac
6032
6033 fi
6034
6035 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6037 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6038
6039
6040
6041
6042
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6044 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6045 if ${lt_cv_ld_reload_flag+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 lt_cv_ld_reload_flag='-r'
6049 fi
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6051 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6052 reload_flag=$lt_cv_ld_reload_flag
6053 case $reload_flag in
6054 "" | " "*) ;;
6055 *) reload_flag=" $reload_flag" ;;
6056 esac
6057 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6058 case $host_os in
6059 cygwin* | mingw* | pw32* | cegcc*)
6060 if test "$GCC" != yes; then
6061 reload_cmds=false
6062 fi
6063 ;;
6064 darwin*)
6065 if test "$GCC" = yes; then
6066 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6067 else
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 fi
6070 ;;
6071 esac
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if ${ac_cv_prog_OBJDUMP+:} false; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if test -n "$OBJDUMP"; then
6090 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6094 do
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6102 fi
6103 done
6104 done
6105 IFS=$as_save_IFS
6106
6107 fi
6108 fi
6109 OBJDUMP=$ac_cv_prog_OBJDUMP
6110 if test -n "$OBJDUMP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6112 $as_echo "$OBJDUMP" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6116 fi
6117
6118
6119 fi
6120 if test -z "$ac_cv_prog_OBJDUMP"; then
6121 ac_ct_OBJDUMP=$OBJDUMP
6122 # Extract the first word of "objdump", so it can be a program name with args.
6123 set dummy objdump; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$ac_ct_OBJDUMP"; then
6130 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6134 do
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6142 fi
6143 done
6144 done
6145 IFS=$as_save_IFS
6146
6147 fi
6148 fi
6149 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6150 if test -n "$ac_ct_OBJDUMP"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6152 $as_echo "$ac_ct_OBJDUMP" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6156 fi
6157
6158 if test "x$ac_ct_OBJDUMP" = x; then
6159 OBJDUMP="false"
6160 else
6161 case $cross_compiling:$ac_tool_warned in
6162 yes:)
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6166 esac
6167 OBJDUMP=$ac_ct_OBJDUMP
6168 fi
6169 else
6170 OBJDUMP="$ac_cv_prog_OBJDUMP"
6171 fi
6172
6173 test -z "$OBJDUMP" && OBJDUMP=objdump
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6184 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6185 if ${lt_cv_deplibs_check_method+:} false; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 lt_cv_file_magic_cmd='$MAGIC_CMD'
6189 lt_cv_file_magic_test_file=
6190 lt_cv_deplibs_check_method='unknown'
6191 # Need to set the preceding variable on all platforms that support
6192 # interlibrary dependencies.
6193 # 'none' -- dependencies not supported.
6194 # `unknown' -- same as none, but documents that we really don't know.
6195 # 'pass_all' -- all dependencies passed with no checks.
6196 # 'test_compile' -- check by making test program.
6197 # 'file_magic [[regex]]' -- check by looking for files in library path
6198 # which responds to the $file_magic_cmd with a given extended regex.
6199 # If you have `file' or equivalent on your system and you're not sure
6200 # whether `pass_all' will *always* work, you probably want this one.
6201
6202 case $host_os in
6203 aix[4-9]*)
6204 lt_cv_deplibs_check_method=pass_all
6205 ;;
6206
6207 beos*)
6208 lt_cv_deplibs_check_method=pass_all
6209 ;;
6210
6211 bsdi[45]*)
6212 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6213 lt_cv_file_magic_cmd='/usr/bin/file -L'
6214 lt_cv_file_magic_test_file=/shlib/libc.so
6215 ;;
6216
6217 cygwin*)
6218 # func_win32_libid is a shell function defined in ltmain.sh
6219 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6220 lt_cv_file_magic_cmd='func_win32_libid'
6221 ;;
6222
6223 mingw* | pw32*)
6224 # Base MSYS/MinGW do not provide the 'file' command needed by
6225 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6226 # unless we find 'file', for example because we are cross-compiling.
6227 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6228 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6229 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6230 lt_cv_file_magic_cmd='func_win32_libid'
6231 else
6232 # Keep this pattern in sync with the one in func_win32_libid.
6233 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6234 lt_cv_file_magic_cmd='$OBJDUMP -f'
6235 fi
6236 ;;
6237
6238 cegcc*)
6239 # use the weaker test based on 'objdump'. See mingw*.
6240 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6241 lt_cv_file_magic_cmd='$OBJDUMP -f'
6242 ;;
6243
6244 darwin* | rhapsody*)
6245 lt_cv_deplibs_check_method=pass_all
6246 ;;
6247
6248 freebsd* | dragonfly*)
6249 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6250 case $host_cpu in
6251 i*86 )
6252 # Not sure whether the presence of OpenBSD here was a mistake.
6253 # Let's accept both of them until this is cleared up.
6254 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6255 lt_cv_file_magic_cmd=/usr/bin/file
6256 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6257 ;;
6258 esac
6259 else
6260 lt_cv_deplibs_check_method=pass_all
6261 fi
6262 ;;
6263
6264 gnu*)
6265 lt_cv_deplibs_check_method=pass_all
6266 ;;
6267
6268 haiku*)
6269 lt_cv_deplibs_check_method=pass_all
6270 ;;
6271
6272 hpux10.20* | hpux11*)
6273 lt_cv_file_magic_cmd=/usr/bin/file
6274 case $host_cpu in
6275 ia64*)
6276 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6277 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6278 ;;
6279 hppa*64*)
6280 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]'
6281 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6282 ;;
6283 *)
6284 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6285 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6286 ;;
6287 esac
6288 ;;
6289
6290 interix[3-9]*)
6291 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6293 ;;
6294
6295 irix5* | irix6* | nonstopux*)
6296 case $LD in
6297 *-32|*"-32 ") libmagic=32-bit;;
6298 *-n32|*"-n32 ") libmagic=N32;;
6299 *-64|*"-64 ") libmagic=64-bit;;
6300 *) libmagic=never-match;;
6301 esac
6302 lt_cv_deplibs_check_method=pass_all
6303 ;;
6304
6305 # This must be glibc/ELF.
6306 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6307 lt_cv_deplibs_check_method=pass_all
6308 ;;
6309
6310 netbsd*)
6311 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6313 else
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6315 fi
6316 ;;
6317
6318 newos6*)
6319 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6320 lt_cv_file_magic_cmd=/usr/bin/file
6321 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6322 ;;
6323
6324 *nto* | *qnx*)
6325 lt_cv_deplibs_check_method=pass_all
6326 ;;
6327
6328 openbsd*)
6329 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6331 else
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6333 fi
6334 ;;
6335
6336 osf3* | osf4* | osf5*)
6337 lt_cv_deplibs_check_method=pass_all
6338 ;;
6339
6340 rdos*)
6341 lt_cv_deplibs_check_method=pass_all
6342 ;;
6343
6344 solaris*)
6345 lt_cv_deplibs_check_method=pass_all
6346 ;;
6347
6348 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6349 lt_cv_deplibs_check_method=pass_all
6350 ;;
6351
6352 sysv4 | sysv4.3*)
6353 case $host_vendor in
6354 motorola)
6355 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]'
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6357 ;;
6358 ncr)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361 sequent)
6362 lt_cv_file_magic_cmd='/bin/file'
6363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6364 ;;
6365 sni)
6366 lt_cv_file_magic_cmd='/bin/file'
6367 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6368 lt_cv_file_magic_test_file=/lib/libc.so
6369 ;;
6370 siemens)
6371 lt_cv_deplibs_check_method=pass_all
6372 ;;
6373 pc)
6374 lt_cv_deplibs_check_method=pass_all
6375 ;;
6376 esac
6377 ;;
6378
6379 tpf*)
6380 lt_cv_deplibs_check_method=pass_all
6381 ;;
6382 esac
6383
6384 fi
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6386 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6387
6388 file_magic_glob=
6389 want_nocaseglob=no
6390 if test "$build" = "$host"; then
6391 case $host_os in
6392 mingw* | pw32*)
6393 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6394 want_nocaseglob=yes
6395 else
6396 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6397 fi
6398 ;;
6399 esac
6400 fi
6401
6402 file_magic_cmd=$lt_cv_file_magic_cmd
6403 deplibs_check_method=$lt_cv_deplibs_check_method
6404 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427 if test -n "$ac_tool_prefix"; then
6428 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6429 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6431 $as_echo_n "checking for $ac_word... " >&6; }
6432 if ${ac_cv_prog_DLLTOOL+:} false; then :
6433 $as_echo_n "(cached) " >&6
6434 else
6435 if test -n "$DLLTOOL"; then
6436 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6437 else
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6439 for as_dir in $PATH
6440 do
6441 IFS=$as_save_IFS
6442 test -z "$as_dir" && as_dir=.
6443 for ac_exec_ext in '' $ac_executable_extensions; do
6444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6445 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6447 break 2
6448 fi
6449 done
6450 done
6451 IFS=$as_save_IFS
6452
6453 fi
6454 fi
6455 DLLTOOL=$ac_cv_prog_DLLTOOL
6456 if test -n "$DLLTOOL"; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6458 $as_echo "$DLLTOOL" >&6; }
6459 else
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 $as_echo "no" >&6; }
6462 fi
6463
6464
6465 fi
6466 if test -z "$ac_cv_prog_DLLTOOL"; then
6467 ac_ct_DLLTOOL=$DLLTOOL
6468 # Extract the first word of "dlltool", so it can be a program name with args.
6469 set dummy dlltool; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6473 $as_echo_n "(cached) " >&6
6474 else
6475 if test -n "$ac_ct_DLLTOOL"; then
6476 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6480 do
6481 IFS=$as_save_IFS
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 break 2
6488 fi
6489 done
6490 done
6491 IFS=$as_save_IFS
6492
6493 fi
6494 fi
6495 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6496 if test -n "$ac_ct_DLLTOOL"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6498 $as_echo "$ac_ct_DLLTOOL" >&6; }
6499 else
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6502 fi
6503
6504 if test "x$ac_ct_DLLTOOL" = x; then
6505 DLLTOOL="false"
6506 else
6507 case $cross_compiling:$ac_tool_warned in
6508 yes:)
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6511 ac_tool_warned=yes ;;
6512 esac
6513 DLLTOOL=$ac_ct_DLLTOOL
6514 fi
6515 else
6516 DLLTOOL="$ac_cv_prog_DLLTOOL"
6517 fi
6518
6519 test -z "$DLLTOOL" && DLLTOOL=dlltool
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6531 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6532 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6533 $as_echo_n "(cached) " >&6
6534 else
6535 lt_cv_sharedlib_from_linklib_cmd='unknown'
6536
6537 case $host_os in
6538 cygwin* | mingw* | pw32* | cegcc*)
6539 # two different shell functions defined in ltmain.sh
6540 # decide which to use based on capabilities of $DLLTOOL
6541 case `$DLLTOOL --help 2>&1` in
6542 *--identify-strict*)
6543 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6544 ;;
6545 *)
6546 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6547 ;;
6548 esac
6549 ;;
6550 *)
6551 # fallback: assume linklib IS sharedlib
6552 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6553 ;;
6554 esac
6555
6556 fi
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6558 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6559 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6560 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6561
6562
6563
6564
6565
6566
6567
6568 if test -n "$ac_tool_prefix"; then
6569 for ac_prog in ar
6570 do
6571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_AR+:} false; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$AR"; then
6579 ac_cv_prog_AR="$AR" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6583 do
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6591 fi
6592 done
6593 done
6594 IFS=$as_save_IFS
6595
6596 fi
6597 fi
6598 AR=$ac_cv_prog_AR
6599 if test -n "$AR"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6601 $as_echo "$AR" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6605 fi
6606
6607
6608 test -n "$AR" && break
6609 done
6610 fi
6611 if test -z "$AR"; then
6612 ac_ct_AR=$AR
6613 for ac_prog in ar
6614 do
6615 # Extract the first word of "$ac_prog", so it can be a program name with args.
6616 set dummy $ac_prog; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618 $as_echo_n "checking for $ac_word... " >&6; }
6619 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6620 $as_echo_n "(cached) " >&6
6621 else
6622 if test -n "$ac_ct_AR"; then
6623 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6624 else
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 for as_dir in $PATH
6627 do
6628 IFS=$as_save_IFS
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_ac_ct_AR="$ac_prog"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6634 break 2
6635 fi
6636 done
6637 done
6638 IFS=$as_save_IFS
6639
6640 fi
6641 fi
6642 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6643 if test -n "$ac_ct_AR"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6645 $as_echo "$ac_ct_AR" >&6; }
6646 else
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 $as_echo "no" >&6; }
6649 fi
6650
6651
6652 test -n "$ac_ct_AR" && break
6653 done
6654
6655 if test "x$ac_ct_AR" = x; then
6656 AR="false"
6657 else
6658 case $cross_compiling:$ac_tool_warned in
6659 yes:)
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6662 ac_tool_warned=yes ;;
6663 esac
6664 AR=$ac_ct_AR
6665 fi
6666 fi
6667
6668 : ${AR=ar}
6669 : ${AR_FLAGS=cru}
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6682 $as_echo_n "checking for archiver @FILE support... " >&6; }
6683 if ${lt_cv_ar_at_file+:} false; then :
6684 $as_echo_n "(cached) " >&6
6685 else
6686 lt_cv_ar_at_file=no
6687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6689
6690 int
6691 main ()
6692 {
6693
6694 ;
6695 return 0;
6696 }
6697 _ACEOF
6698 if ac_fn_c_try_compile "$LINENO"; then :
6699 echo conftest.$ac_objext > conftest.lst
6700 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6701 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6702 (eval $lt_ar_try) 2>&5
6703 ac_status=$?
6704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6705 test $ac_status = 0; }
6706 if test "$ac_status" -eq 0; then
6707 # Ensure the archiver fails upon bogus file names.
6708 rm -f conftest.$ac_objext libconftest.a
6709 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6710 (eval $lt_ar_try) 2>&5
6711 ac_status=$?
6712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713 test $ac_status = 0; }
6714 if test "$ac_status" -ne 0; then
6715 lt_cv_ar_at_file=@
6716 fi
6717 fi
6718 rm -f conftest.* libconftest.a
6719
6720 fi
6721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6722
6723 fi
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6725 $as_echo "$lt_cv_ar_at_file" >&6; }
6726
6727 if test "x$lt_cv_ar_at_file" = xno; then
6728 archiver_list_spec=
6729 else
6730 archiver_list_spec=$lt_cv_ar_at_file
6731 fi
6732
6733
6734
6735
6736
6737
6738
6739 if test -n "$ac_tool_prefix"; then
6740 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6741 set dummy ${ac_tool_prefix}strip; ac_word=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 $as_echo_n "checking for $ac_word... " >&6; }
6744 if ${ac_cv_prog_STRIP+:} false; then :
6745 $as_echo_n "(cached) " >&6
6746 else
6747 if test -n "$STRIP"; then
6748 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6749 else
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 for as_dir in $PATH
6752 do
6753 IFS=$as_save_IFS
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6757 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 break 2
6760 fi
6761 done
6762 done
6763 IFS=$as_save_IFS
6764
6765 fi
6766 fi
6767 STRIP=$ac_cv_prog_STRIP
6768 if test -n "$STRIP"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6770 $as_echo "$STRIP" >&6; }
6771 else
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773 $as_echo "no" >&6; }
6774 fi
6775
6776
6777 fi
6778 if test -z "$ac_cv_prog_STRIP"; then
6779 ac_ct_STRIP=$STRIP
6780 # Extract the first word of "strip", so it can be a program name with args.
6781 set dummy strip; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 $as_echo_n "checking for $ac_word... " >&6; }
6784 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6785 $as_echo_n "(cached) " >&6
6786 else
6787 if test -n "$ac_ct_STRIP"; then
6788 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6789 else
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 for as_dir in $PATH
6792 do
6793 IFS=$as_save_IFS
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_ac_ct_STRIP="strip"
6798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799 break 2
6800 fi
6801 done
6802 done
6803 IFS=$as_save_IFS
6804
6805 fi
6806 fi
6807 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6808 if test -n "$ac_ct_STRIP"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6810 $as_echo "$ac_ct_STRIP" >&6; }
6811 else
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6814 fi
6815
6816 if test "x$ac_ct_STRIP" = x; then
6817 STRIP=":"
6818 else
6819 case $cross_compiling:$ac_tool_warned in
6820 yes:)
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6823 ac_tool_warned=yes ;;
6824 esac
6825 STRIP=$ac_ct_STRIP
6826 fi
6827 else
6828 STRIP="$ac_cv_prog_STRIP"
6829 fi
6830
6831 test -z "$STRIP" && STRIP=:
6832
6833
6834
6835
6836
6837
6838 if test -n "$ac_tool_prefix"; then
6839 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6840 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842 $as_echo_n "checking for $ac_word... " >&6; }
6843 if ${ac_cv_prog_RANLIB+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 if test -n "$RANLIB"; then
6847 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6848 else
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 for as_dir in $PATH
6851 do
6852 IFS=$as_save_IFS
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 break 2
6859 fi
6860 done
6861 done
6862 IFS=$as_save_IFS
6863
6864 fi
6865 fi
6866 RANLIB=$ac_cv_prog_RANLIB
6867 if test -n "$RANLIB"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6869 $as_echo "$RANLIB" >&6; }
6870 else
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 $as_echo "no" >&6; }
6873 fi
6874
6875
6876 fi
6877 if test -z "$ac_cv_prog_RANLIB"; then
6878 ac_ct_RANLIB=$RANLIB
6879 # Extract the first word of "ranlib", so it can be a program name with args.
6880 set dummy ranlib; ac_word=$2
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882 $as_echo_n "checking for $ac_word... " >&6; }
6883 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6884 $as_echo_n "(cached) " >&6
6885 else
6886 if test -n "$ac_ct_RANLIB"; then
6887 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6888 else
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890 for as_dir in $PATH
6891 do
6892 IFS=$as_save_IFS
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_prog_ac_ct_RANLIB="ranlib"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 break 2
6899 fi
6900 done
6901 done
6902 IFS=$as_save_IFS
6903
6904 fi
6905 fi
6906 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6907 if test -n "$ac_ct_RANLIB"; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6909 $as_echo "$ac_ct_RANLIB" >&6; }
6910 else
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6912 $as_echo "no" >&6; }
6913 fi
6914
6915 if test "x$ac_ct_RANLIB" = x; then
6916 RANLIB=":"
6917 else
6918 case $cross_compiling:$ac_tool_warned in
6919 yes:)
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6922 ac_tool_warned=yes ;;
6923 esac
6924 RANLIB=$ac_ct_RANLIB
6925 fi
6926 else
6927 RANLIB="$ac_cv_prog_RANLIB"
6928 fi
6929
6930 test -z "$RANLIB" && RANLIB=:
6931
6932
6933
6934
6935
6936
6937 # Determine commands to create old-style static archives.
6938 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6939 old_postinstall_cmds='chmod 644 $oldlib'
6940 old_postuninstall_cmds=
6941
6942 if test -n "$RANLIB"; then
6943 case $host_os in
6944 openbsd*)
6945 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6946 ;;
6947 *)
6948 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6949 ;;
6950 esac
6951 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6952 fi
6953
6954 case $host_os in
6955 darwin*)
6956 lock_old_archive_extraction=yes ;;
6957 *)
6958 lock_old_archive_extraction=no ;;
6959 esac
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999 # If no C compiler was specified, use CC.
7000 LTCC=${LTCC-"$CC"}
7001
7002 # If no C compiler flags were specified, use CFLAGS.
7003 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7004
7005 # Allow CC to be a program name with arguments.
7006 compiler=$CC
7007
7008
7009 # Check for command to grab the raw symbol name followed by C symbol from nm.
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7011 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7012 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7013 $as_echo_n "(cached) " >&6
7014 else
7015
7016 # These are sane defaults that work on at least a few old systems.
7017 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7018
7019 # Character class describing NM global symbol codes.
7020 symcode='[BCDEGRST]'
7021
7022 # Regexp to match symbols that can be accessed directly from C.
7023 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7024
7025 # Define system-specific variables.
7026 case $host_os in
7027 aix*)
7028 symcode='[BCDT]'
7029 ;;
7030 cygwin* | mingw* | pw32* | cegcc*)
7031 symcode='[ABCDGISTW]'
7032 ;;
7033 hpux*)
7034 if test "$host_cpu" = ia64; then
7035 symcode='[ABCDEGRST]'
7036 fi
7037 ;;
7038 irix* | nonstopux*)
7039 symcode='[BCDEGRST]'
7040 ;;
7041 osf*)
7042 symcode='[BCDEGQRST]'
7043 ;;
7044 solaris*)
7045 symcode='[BDRT]'
7046 ;;
7047 sco3.2v5*)
7048 symcode='[DT]'
7049 ;;
7050 sysv4.2uw2*)
7051 symcode='[DT]'
7052 ;;
7053 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7054 symcode='[ABDT]'
7055 ;;
7056 sysv4)
7057 symcode='[DFNSTU]'
7058 ;;
7059 esac
7060
7061 # If we're using GNU nm, then use its standard symbol codes.
7062 case `$NM -V 2>&1` in
7063 *GNU* | *'with BFD'*)
7064 symcode='[ABCDGIRSTW]' ;;
7065 esac
7066
7067 # Transform an extracted symbol line into a proper C declaration.
7068 # Some systems (esp. on ia64) link data and code symbols differently,
7069 # so use this general approach.
7070 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7071
7072 # Transform an extracted symbol line into symbol name and symbol address
7073 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7074 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7075
7076 # Handle CRLF in mingw tool chain
7077 opt_cr=
7078 case $build_os in
7079 mingw*)
7080 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7081 ;;
7082 esac
7083
7084 # Try without a prefix underscore, then with it.
7085 for ac_symprfx in "" "_"; do
7086
7087 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7088 symxfrm="\\1 $ac_symprfx\\2 \\2"
7089
7090 # Write the raw and C identifiers.
7091 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7092 # Fake it for dumpbin and say T for any non-static function
7093 # and D for any global variable.
7094 # Also find C++ and __fastcall symbols from MSVC++,
7095 # which start with @ or ?.
7096 lt_cv_sys_global_symbol_pipe="$AWK '"\
7097 " {last_section=section; section=\$ 3};"\
7098 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7099 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7100 " \$ 0!~/External *\|/{next};"\
7101 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7102 " {if(hide[section]) next};"\
7103 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7104 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7105 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7106 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7107 " ' prfx=^$ac_symprfx"
7108 else
7109 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7110 fi
7111 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7112
7113 # Check to see that the pipe works correctly.
7114 pipe_works=no
7115
7116 rm -f conftest*
7117 cat > conftest.$ac_ext <<_LT_EOF
7118 #ifdef __cplusplus
7119 extern "C" {
7120 #endif
7121 char nm_test_var;
7122 void nm_test_func(void);
7123 void nm_test_func(void){}
7124 #ifdef __cplusplus
7125 }
7126 #endif
7127 int main(){nm_test_var='a';nm_test_func();return(0);}
7128 _LT_EOF
7129
7130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7132 ac_status=$?
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 # Now try to grab the symbols.
7136 nlist=conftest.nm
7137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7138 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7139 ac_status=$?
7140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7141 test $ac_status = 0; } && test -s "$nlist"; then
7142 # Try sorting and uniquifying the output.
7143 if sort "$nlist" | uniq > "$nlist"T; then
7144 mv -f "$nlist"T "$nlist"
7145 else
7146 rm -f "$nlist"T
7147 fi
7148
7149 # Make sure that we snagged all the symbols we need.
7150 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7151 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7152 cat <<_LT_EOF > conftest.$ac_ext
7153 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7154 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7155 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7156 relocations are performed -- see ld's documentation on pseudo-relocs. */
7157 # define LT_DLSYM_CONST
7158 #elif defined(__osf__)
7159 /* This system does not cope well with relocations in const data. */
7160 # define LT_DLSYM_CONST
7161 #else
7162 # define LT_DLSYM_CONST const
7163 #endif
7164
7165 #ifdef __cplusplus
7166 extern "C" {
7167 #endif
7168
7169 _LT_EOF
7170 # Now generate the symbol file.
7171 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7172
7173 cat <<_LT_EOF >> conftest.$ac_ext
7174
7175 /* The mapping between symbol names and symbols. */
7176 LT_DLSYM_CONST struct {
7177 const char *name;
7178 void *address;
7179 }
7180 lt__PROGRAM__LTX_preloaded_symbols[] =
7181 {
7182 { "@PROGRAM@", (void *) 0 },
7183 _LT_EOF
7184 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7185 cat <<\_LT_EOF >> conftest.$ac_ext
7186 {0, (void *) 0}
7187 };
7188
7189 /* This works around a problem in FreeBSD linker */
7190 #ifdef FREEBSD_WORKAROUND
7191 static const void *lt_preloaded_setup() {
7192 return lt__PROGRAM__LTX_preloaded_symbols;
7193 }
7194 #endif
7195
7196 #ifdef __cplusplus
7197 }
7198 #endif
7199 _LT_EOF
7200 # Now try linking the two files.
7201 mv conftest.$ac_objext conftstm.$ac_objext
7202 lt_globsym_save_LIBS=$LIBS
7203 lt_globsym_save_CFLAGS=$CFLAGS
7204 LIBS="conftstm.$ac_objext"
7205 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7207 (eval $ac_link) 2>&5
7208 ac_status=$?
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7211 pipe_works=yes
7212 fi
7213 LIBS=$lt_globsym_save_LIBS
7214 CFLAGS=$lt_globsym_save_CFLAGS
7215 else
7216 echo "cannot find nm_test_func in $nlist" >&5
7217 fi
7218 else
7219 echo "cannot find nm_test_var in $nlist" >&5
7220 fi
7221 else
7222 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7223 fi
7224 else
7225 echo "$progname: failed program was:" >&5
7226 cat conftest.$ac_ext >&5
7227 fi
7228 rm -rf conftest* conftst*
7229
7230 # Do not use the global_symbol_pipe unless it works.
7231 if test "$pipe_works" = yes; then
7232 break
7233 else
7234 lt_cv_sys_global_symbol_pipe=
7235 fi
7236 done
7237
7238 fi
7239
7240 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7241 lt_cv_sys_global_symbol_to_cdecl=
7242 fi
7243 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7245 $as_echo "failed" >&6; }
7246 else
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7248 $as_echo "ok" >&6; }
7249 fi
7250
7251 # Response file support.
7252 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7253 nm_file_list_spec='@'
7254 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7255 nm_file_list_spec='@'
7256 fi
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7285 $as_echo_n "checking for sysroot... " >&6; }
7286
7287 # Check whether --with-sysroot was given.
7288 if test "${with_sysroot+set}" = set; then :
7289 withval=$with_sysroot;
7290 else
7291 with_sysroot=no
7292 fi
7293
7294
7295 lt_sysroot=
7296 case ${with_sysroot} in #(
7297 yes)
7298 if test "$GCC" = yes; then
7299 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7300 fi
7301 ;; #(
7302 /*)
7303 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7304 ;; #(
7305 no|'')
7306 ;; #(
7307 *)
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7309 $as_echo "${with_sysroot}" >&6; }
7310 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7311 ;;
7312 esac
7313
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7315 $as_echo "${lt_sysroot:-no}" >&6; }
7316
7317
7318
7319
7320
7321 # Check whether --enable-libtool-lock was given.
7322 if test "${enable_libtool_lock+set}" = set; then :
7323 enableval=$enable_libtool_lock;
7324 fi
7325
7326 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7327
7328 # Some flags need to be propagated to the compiler or linker for good
7329 # libtool support.
7330 case $host in
7331 ia64-*-hpux*)
7332 # Find out which ABI we are using.
7333 echo 'int i;' > conftest.$ac_ext
7334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7335 (eval $ac_compile) 2>&5
7336 ac_status=$?
7337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7338 test $ac_status = 0; }; then
7339 case `/usr/bin/file conftest.$ac_objext` in
7340 *ELF-32*)
7341 HPUX_IA64_MODE="32"
7342 ;;
7343 *ELF-64*)
7344 HPUX_IA64_MODE="64"
7345 ;;
7346 esac
7347 fi
7348 rm -rf conftest*
7349 ;;
7350 *-*-irix6*)
7351 # Find out which ABI we are using.
7352 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7354 (eval $ac_compile) 2>&5
7355 ac_status=$?
7356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7357 test $ac_status = 0; }; then
7358 if test "$lt_cv_prog_gnu_ld" = yes; then
7359 case `/usr/bin/file conftest.$ac_objext` in
7360 *32-bit*)
7361 LD="${LD-ld} -melf32bsmip"
7362 ;;
7363 *N32*)
7364 LD="${LD-ld} -melf32bmipn32"
7365 ;;
7366 *64-bit*)
7367 LD="${LD-ld} -melf64bmip"
7368 ;;
7369 esac
7370 else
7371 case `/usr/bin/file conftest.$ac_objext` in
7372 *32-bit*)
7373 LD="${LD-ld} -32"
7374 ;;
7375 *N32*)
7376 LD="${LD-ld} -n32"
7377 ;;
7378 *64-bit*)
7379 LD="${LD-ld} -64"
7380 ;;
7381 esac
7382 fi
7383 fi
7384 rm -rf conftest*
7385 ;;
7386
7387 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7388 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7389 # Find out which ABI we are using.
7390 echo 'int i;' > conftest.$ac_ext
7391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7392 (eval $ac_compile) 2>&5
7393 ac_status=$?
7394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7395 test $ac_status = 0; }; then
7396 case `/usr/bin/file conftest.o` in
7397 *32-bit*)
7398 case $host in
7399 x86_64-*kfreebsd*-gnu)
7400 LD="${LD-ld} -m elf_i386_fbsd"
7401 ;;
7402 x86_64-*linux*)
7403 LD="${LD-ld} -m elf_i386"
7404 ;;
7405 ppc64-*linux*|powerpc64-*linux*)
7406 LD="${LD-ld} -m elf32ppclinux"
7407 ;;
7408 s390x-*linux*)
7409 LD="${LD-ld} -m elf_s390"
7410 ;;
7411 sparc64-*linux*)
7412 LD="${LD-ld} -m elf32_sparc"
7413 ;;
7414 esac
7415 ;;
7416 *64-bit*)
7417 case $host in
7418 x86_64-*kfreebsd*-gnu)
7419 LD="${LD-ld} -m elf_x86_64_fbsd"
7420 ;;
7421 x86_64-*linux*)
7422 LD="${LD-ld} -m elf_x86_64"
7423 ;;
7424 ppc*-*linux*|powerpc*-*linux*)
7425 LD="${LD-ld} -m elf64ppc"
7426 ;;
7427 s390*-*linux*|s390*-*tpf*)
7428 LD="${LD-ld} -m elf64_s390"
7429 ;;
7430 sparc*-*linux*)
7431 LD="${LD-ld} -m elf64_sparc"
7432 ;;
7433 esac
7434 ;;
7435 esac
7436 fi
7437 rm -rf conftest*
7438 ;;
7439
7440 *-*-sco3.2v5*)
7441 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7442 SAVE_CFLAGS="$CFLAGS"
7443 CFLAGS="$CFLAGS -belf"
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7445 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7446 if ${lt_cv_cc_needs_belf+:} false; then :
7447 $as_echo_n "(cached) " >&6
7448 else
7449 ac_ext=c
7450 ac_cpp='$CPP $CPPFLAGS'
7451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7454
7455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7456 /* end confdefs.h. */
7457
7458 int
7459 main ()
7460 {
7461
7462 ;
7463 return 0;
7464 }
7465 _ACEOF
7466 if ac_fn_c_try_link "$LINENO"; then :
7467 lt_cv_cc_needs_belf=yes
7468 else
7469 lt_cv_cc_needs_belf=no
7470 fi
7471 rm -f core conftest.err conftest.$ac_objext \
7472 conftest$ac_exeext conftest.$ac_ext
7473 ac_ext=c
7474 ac_cpp='$CPP $CPPFLAGS'
7475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7478
7479 fi
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7481 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7482 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7483 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7484 CFLAGS="$SAVE_CFLAGS"
7485 fi
7486 ;;
7487 *-*solaris*)
7488 # Find out which ABI we are using.
7489 echo 'int i;' > conftest.$ac_ext
7490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7491 (eval $ac_compile) 2>&5
7492 ac_status=$?
7493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7494 test $ac_status = 0; }; then
7495 case `/usr/bin/file conftest.o` in
7496 *64-bit*)
7497 case $lt_cv_prog_gnu_ld in
7498 yes*)
7499 case $host in
7500 i?86-*-solaris*)
7501 LD="${LD-ld} -m elf_x86_64"
7502 ;;
7503 sparc*-*-solaris*)
7504 LD="${LD-ld} -m elf64_sparc"
7505 ;;
7506 esac
7507 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7508 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7509 LD="${LD-ld}_sol2"
7510 fi
7511 ;;
7512 *)
7513 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7514 LD="${LD-ld} -64"
7515 fi
7516 ;;
7517 esac
7518 ;;
7519 esac
7520 fi
7521 rm -rf conftest*
7522 ;;
7523 esac
7524
7525 need_locks="$enable_libtool_lock"
7526
7527 if test -n "$ac_tool_prefix"; then
7528 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7529 set dummy ${ac_tool_prefix}mt; ac_word=$2
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7531 $as_echo_n "checking for $ac_word... " >&6; }
7532 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7533 $as_echo_n "(cached) " >&6
7534 else
7535 if test -n "$MANIFEST_TOOL"; then
7536 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7537 else
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 for as_dir in $PATH
7540 do
7541 IFS=$as_save_IFS
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7545 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7547 break 2
7548 fi
7549 done
7550 done
7551 IFS=$as_save_IFS
7552
7553 fi
7554 fi
7555 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7556 if test -n "$MANIFEST_TOOL"; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7558 $as_echo "$MANIFEST_TOOL" >&6; }
7559 else
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561 $as_echo "no" >&6; }
7562 fi
7563
7564
7565 fi
7566 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7567 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7568 # Extract the first word of "mt", so it can be a program name with args.
7569 set dummy mt; ac_word=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7573 $as_echo_n "(cached) " >&6
7574 else
7575 if test -n "$ac_ct_MANIFEST_TOOL"; then
7576 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7577 else
7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 for as_dir in $PATH
7580 do
7581 IFS=$as_save_IFS
7582 test -z "$as_dir" && as_dir=.
7583 for ac_exec_ext in '' $ac_executable_extensions; do
7584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7585 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7587 break 2
7588 fi
7589 done
7590 done
7591 IFS=$as_save_IFS
7592
7593 fi
7594 fi
7595 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7596 if test -n "$ac_ct_MANIFEST_TOOL"; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7598 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7599 else
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601 $as_echo "no" >&6; }
7602 fi
7603
7604 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7605 MANIFEST_TOOL=":"
7606 else
7607 case $cross_compiling:$ac_tool_warned in
7608 yes:)
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7611 ac_tool_warned=yes ;;
7612 esac
7613 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7614 fi
7615 else
7616 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7617 fi
7618
7619 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7621 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7622 if ${lt_cv_path_mainfest_tool+:} false; then :
7623 $as_echo_n "(cached) " >&6
7624 else
7625 lt_cv_path_mainfest_tool=no
7626 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7627 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7628 cat conftest.err >&5
7629 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7630 lt_cv_path_mainfest_tool=yes
7631 fi
7632 rm -f conftest*
7633 fi
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7635 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7636 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7637 MANIFEST_TOOL=:
7638 fi
7639
7640
7641
7642
7643
7644
7645 case $host_os in
7646 rhapsody* | darwin*)
7647 if test -n "$ac_tool_prefix"; then
7648 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7649 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7653 $as_echo_n "(cached) " >&6
7654 else
7655 if test -n "$DSYMUTIL"; then
7656 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7657 else
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 for as_dir in $PATH
7660 do
7661 IFS=$as_save_IFS
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7665 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 break 2
7668 fi
7669 done
7670 done
7671 IFS=$as_save_IFS
7672
7673 fi
7674 fi
7675 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7676 if test -n "$DSYMUTIL"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7678 $as_echo "$DSYMUTIL" >&6; }
7679 else
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7682 fi
7683
7684
7685 fi
7686 if test -z "$ac_cv_prog_DSYMUTIL"; then
7687 ac_ct_DSYMUTIL=$DSYMUTIL
7688 # Extract the first word of "dsymutil", so it can be a program name with args.
7689 set dummy dsymutil; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7693 $as_echo_n "(cached) " >&6
7694 else
7695 if test -n "$ac_ct_DSYMUTIL"; then
7696 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7697 else
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 for as_dir in $PATH
7700 do
7701 IFS=$as_save_IFS
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707 break 2
7708 fi
7709 done
7710 done
7711 IFS=$as_save_IFS
7712
7713 fi
7714 fi
7715 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7716 if test -n "$ac_ct_DSYMUTIL"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7718 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7719 else
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7722 fi
7723
7724 if test "x$ac_ct_DSYMUTIL" = x; then
7725 DSYMUTIL=":"
7726 else
7727 case $cross_compiling:$ac_tool_warned in
7728 yes:)
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7731 ac_tool_warned=yes ;;
7732 esac
7733 DSYMUTIL=$ac_ct_DSYMUTIL
7734 fi
7735 else
7736 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7737 fi
7738
7739 if test -n "$ac_tool_prefix"; then
7740 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7741 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7743 $as_echo_n "checking for $ac_word... " >&6; }
7744 if ${ac_cv_prog_NMEDIT+:} false; then :
7745 $as_echo_n "(cached) " >&6
7746 else
7747 if test -n "$NMEDIT"; then
7748 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7749 else
7750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 for as_dir in $PATH
7752 do
7753 IFS=$as_save_IFS
7754 test -z "$as_dir" && as_dir=.
7755 for ac_exec_ext in '' $ac_executable_extensions; do
7756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7757 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7759 break 2
7760 fi
7761 done
7762 done
7763 IFS=$as_save_IFS
7764
7765 fi
7766 fi
7767 NMEDIT=$ac_cv_prog_NMEDIT
7768 if test -n "$NMEDIT"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7770 $as_echo "$NMEDIT" >&6; }
7771 else
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7773 $as_echo "no" >&6; }
7774 fi
7775
7776
7777 fi
7778 if test -z "$ac_cv_prog_NMEDIT"; then
7779 ac_ct_NMEDIT=$NMEDIT
7780 # Extract the first word of "nmedit", so it can be a program name with args.
7781 set dummy nmedit; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 if test -n "$ac_ct_NMEDIT"; then
7788 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7789 else
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 for as_dir in $PATH
7792 do
7793 IFS=$as_save_IFS
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7799 break 2
7800 fi
7801 done
7802 done
7803 IFS=$as_save_IFS
7804
7805 fi
7806 fi
7807 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7808 if test -n "$ac_ct_NMEDIT"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7810 $as_echo "$ac_ct_NMEDIT" >&6; }
7811 else
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7814 fi
7815
7816 if test "x$ac_ct_NMEDIT" = x; then
7817 NMEDIT=":"
7818 else
7819 case $cross_compiling:$ac_tool_warned in
7820 yes:)
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7823 ac_tool_warned=yes ;;
7824 esac
7825 NMEDIT=$ac_ct_NMEDIT
7826 fi
7827 else
7828 NMEDIT="$ac_cv_prog_NMEDIT"
7829 fi
7830
7831 if test -n "$ac_tool_prefix"; then
7832 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7833 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7835 $as_echo_n "checking for $ac_word... " >&6; }
7836 if ${ac_cv_prog_LIPO+:} false; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 if test -n "$LIPO"; then
7840 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7841 else
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 for as_dir in $PATH
7844 do
7845 IFS=$as_save_IFS
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7849 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 break 2
7852 fi
7853 done
7854 done
7855 IFS=$as_save_IFS
7856
7857 fi
7858 fi
7859 LIPO=$ac_cv_prog_LIPO
7860 if test -n "$LIPO"; then
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7862 $as_echo "$LIPO" >&6; }
7863 else
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7865 $as_echo "no" >&6; }
7866 fi
7867
7868
7869 fi
7870 if test -z "$ac_cv_prog_LIPO"; then
7871 ac_ct_LIPO=$LIPO
7872 # Extract the first word of "lipo", so it can be a program name with args.
7873 set dummy lipo; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7877 $as_echo_n "(cached) " >&6
7878 else
7879 if test -n "$ac_ct_LIPO"; then
7880 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7881 else
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 for as_dir in $PATH
7884 do
7885 IFS=$as_save_IFS
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_ac_ct_LIPO="lipo"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 break 2
7892 fi
7893 done
7894 done
7895 IFS=$as_save_IFS
7896
7897 fi
7898 fi
7899 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7900 if test -n "$ac_ct_LIPO"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7902 $as_echo "$ac_ct_LIPO" >&6; }
7903 else
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7906 fi
7907
7908 if test "x$ac_ct_LIPO" = x; then
7909 LIPO=":"
7910 else
7911 case $cross_compiling:$ac_tool_warned in
7912 yes:)
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7915 ac_tool_warned=yes ;;
7916 esac
7917 LIPO=$ac_ct_LIPO
7918 fi
7919 else
7920 LIPO="$ac_cv_prog_LIPO"
7921 fi
7922
7923 if test -n "$ac_tool_prefix"; then
7924 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7925 set dummy ${ac_tool_prefix}otool; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7927 $as_echo_n "checking for $ac_word... " >&6; }
7928 if ${ac_cv_prog_OTOOL+:} false; then :
7929 $as_echo_n "(cached) " >&6
7930 else
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 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7941 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 break 2
7944 fi
7945 done
7946 done
7947 IFS=$as_save_IFS
7948
7949 fi
7950 fi
7951 OTOOL=$ac_cv_prog_OTOOL
7952 if test -n "$OTOOL"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7954 $as_echo "$OTOOL" >&6; }
7955 else
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 $as_echo "no" >&6; }
7958 fi
7959
7960
7961 fi
7962 if test -z "$ac_cv_prog_OTOOL"; then
7963 ac_ct_OTOOL=$OTOOL
7964 # Extract the first word of "otool", so it can be a program name with args.
7965 set dummy otool; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7969 $as_echo_n "(cached) " >&6
7970 else
7971 if test -n "$ac_ct_OTOOL"; then
7972 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7973 else
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 for as_dir in $PATH
7976 do
7977 IFS=$as_save_IFS
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_ac_ct_OTOOL="otool"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 break 2
7984 fi
7985 done
7986 done
7987 IFS=$as_save_IFS
7988
7989 fi
7990 fi
7991 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7992 if test -n "$ac_ct_OTOOL"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7994 $as_echo "$ac_ct_OTOOL" >&6; }
7995 else
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7997 $as_echo "no" >&6; }
7998 fi
7999
8000 if test "x$ac_ct_OTOOL" = x; then
8001 OTOOL=":"
8002 else
8003 case $cross_compiling:$ac_tool_warned in
8004 yes:)
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8007 ac_tool_warned=yes ;;
8008 esac
8009 OTOOL=$ac_ct_OTOOL
8010 fi
8011 else
8012 OTOOL="$ac_cv_prog_OTOOL"
8013 fi
8014
8015 if test -n "$ac_tool_prefix"; then
8016 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8017 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_prog_OTOOL64+:} false; then :
8021 $as_echo_n "(cached) " >&6
8022 else
8023 if test -n "$OTOOL64"; then
8024 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8025 else
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8028 do
8029 IFS=$as_save_IFS
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 break 2
8036 fi
8037 done
8038 done
8039 IFS=$as_save_IFS
8040
8041 fi
8042 fi
8043 OTOOL64=$ac_cv_prog_OTOOL64
8044 if test -n "$OTOOL64"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8046 $as_echo "$OTOOL64" >&6; }
8047 else
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8050 fi
8051
8052
8053 fi
8054 if test -z "$ac_cv_prog_OTOOL64"; then
8055 ac_ct_OTOOL64=$OTOOL64
8056 # Extract the first word of "otool64", so it can be a program name with args.
8057 set dummy otool64; ac_word=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8059 $as_echo_n "checking for $ac_word... " >&6; }
8060 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8061 $as_echo_n "(cached) " >&6
8062 else
8063 if test -n "$ac_ct_OTOOL64"; then
8064 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8065 else
8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8067 for as_dir in $PATH
8068 do
8069 IFS=$as_save_IFS
8070 test -z "$as_dir" && as_dir=.
8071 for ac_exec_ext in '' $ac_executable_extensions; do
8072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8073 ac_cv_prog_ac_ct_OTOOL64="otool64"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8075 break 2
8076 fi
8077 done
8078 done
8079 IFS=$as_save_IFS
8080
8081 fi
8082 fi
8083 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8084 if test -n "$ac_ct_OTOOL64"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8086 $as_echo "$ac_ct_OTOOL64" >&6; }
8087 else
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8089 $as_echo "no" >&6; }
8090 fi
8091
8092 if test "x$ac_ct_OTOOL64" = x; then
8093 OTOOL64=":"
8094 else
8095 case $cross_compiling:$ac_tool_warned in
8096 yes:)
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8099 ac_tool_warned=yes ;;
8100 esac
8101 OTOOL64=$ac_ct_OTOOL64
8102 fi
8103 else
8104 OTOOL64="$ac_cv_prog_OTOOL64"
8105 fi
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8134 $as_echo_n "checking for -single_module linker flag... " >&6; }
8135 if ${lt_cv_apple_cc_single_mod+:} false; then :
8136 $as_echo_n "(cached) " >&6
8137 else
8138 lt_cv_apple_cc_single_mod=no
8139 if test -z "${LT_MULTI_MODULE}"; then
8140 # By default we will add the -single_module flag. You can override
8141 # by either setting the environment variable LT_MULTI_MODULE
8142 # non-empty at configure time, or by adding -multi_module to the
8143 # link flags.
8144 rm -rf libconftest.dylib*
8145 echo "int foo(void){return 1;}" > conftest.c
8146 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8147 -dynamiclib -Wl,-single_module conftest.c" >&5
8148 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8149 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8150 _lt_result=$?
8151 # If there is a non-empty error log, and "single_module"
8152 # appears in it, assume the flag caused a linker warning
8153 if test -s conftest.err && $GREP single_module conftest.err; then
8154 cat conftest.err >&5
8155 # Otherwise, if the output was created with a 0 exit code from
8156 # the compiler, it worked.
8157 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8158 lt_cv_apple_cc_single_mod=yes
8159 else
8160 cat conftest.err >&5
8161 fi
8162 rm -rf libconftest.dylib*
8163 rm -f conftest.*
8164 fi
8165 fi
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8167 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8168
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8170 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8171 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8172 $as_echo_n "(cached) " >&6
8173 else
8174 lt_cv_ld_exported_symbols_list=no
8175 save_LDFLAGS=$LDFLAGS
8176 echo "_main" > conftest.sym
8177 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180
8181 int
8182 main ()
8183 {
8184
8185 ;
8186 return 0;
8187 }
8188 _ACEOF
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 lt_cv_ld_exported_symbols_list=yes
8191 else
8192 lt_cv_ld_exported_symbols_list=no
8193 fi
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 LDFLAGS="$save_LDFLAGS"
8197
8198 fi
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8200 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8201
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8203 $as_echo_n "checking for -force_load linker flag... " >&6; }
8204 if ${lt_cv_ld_force_load+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 lt_cv_ld_force_load=no
8208 cat > conftest.c << _LT_EOF
8209 int forced_loaded() { return 2;}
8210 _LT_EOF
8211 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8212 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8213 echo "$AR cru libconftest.a conftest.o" >&5
8214 $AR cru libconftest.a conftest.o 2>&5
8215 echo "$RANLIB libconftest.a" >&5
8216 $RANLIB libconftest.a 2>&5
8217 cat > conftest.c << _LT_EOF
8218 int main() { return 0;}
8219 _LT_EOF
8220 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8221 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8222 _lt_result=$?
8223 if test -s conftest.err && $GREP force_load conftest.err; then
8224 cat conftest.err >&5
8225 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8226 lt_cv_ld_force_load=yes
8227 else
8228 cat conftest.err >&5
8229 fi
8230 rm -f conftest.err libconftest.a conftest conftest.c
8231 rm -rf conftest.dSYM
8232
8233 fi
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8235 $as_echo "$lt_cv_ld_force_load" >&6; }
8236 case $host_os in
8237 rhapsody* | darwin1.[012])
8238 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8239 darwin1.*)
8240 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8241 darwin*) # darwin 5.x on
8242 # if running on 10.5 or later, the deployment target defaults
8243 # to the OS version, if on x86, and 10.4, the deployment
8244 # target defaults to 10.4. Don't you love it?
8245 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8246 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8247 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8248 10.[012]*)
8249 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8250 10.*)
8251 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8252 esac
8253 ;;
8254 esac
8255 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8256 _lt_dar_single_mod='$single_module'
8257 fi
8258 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8259 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8260 else
8261 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8262 fi
8263 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8264 _lt_dsymutil='~$DSYMUTIL $lib || :'
8265 else
8266 _lt_dsymutil=
8267 fi
8268 ;;
8269 esac
8270
8271 for ac_header in dlfcn.h
8272 do :
8273 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8274 "
8275 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8276 cat >>confdefs.h <<_ACEOF
8277 #define HAVE_DLFCN_H 1
8278 _ACEOF
8279
8280 fi
8281
8282 done
8283
8284
8285
8286
8287
8288 # Set options
8289 # Check whether --enable-static was given.
8290 if test "${enable_static+set}" = set; then :
8291 enableval=$enable_static; p=${PACKAGE-default}
8292 case $enableval in
8293 yes) enable_static=yes ;;
8294 no) enable_static=no ;;
8295 *)
8296 enable_static=no
8297 # Look at the argument we got. We use all the common list separators.
8298 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8299 for pkg in $enableval; do
8300 IFS="$lt_save_ifs"
8301 if test "X$pkg" = "X$p"; then
8302 enable_static=yes
8303 fi
8304 done
8305 IFS="$lt_save_ifs"
8306 ;;
8307 esac
8308 else
8309 enable_static=no
8310 fi
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321 enable_dlopen=no
8322
8323
8324 enable_win32_dll=no
8325
8326
8327 # Check whether --enable-shared was given.
8328 if test "${enable_shared+set}" = set; then :
8329 enableval=$enable_shared; p=${PACKAGE-default}
8330 case $enableval in
8331 yes) enable_shared=yes ;;
8332 no) enable_shared=no ;;
8333 *)
8334 enable_shared=no
8335 # Look at the argument we got. We use all the common list separators.
8336 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8337 for pkg in $enableval; do
8338 IFS="$lt_save_ifs"
8339 if test "X$pkg" = "X$p"; then
8340 enable_shared=yes
8341 fi
8342 done
8343 IFS="$lt_save_ifs"
8344 ;;
8345 esac
8346 else
8347 enable_shared=yes
8348 fi
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360 # Check whether --with-pic was given.
8361 if test "${with_pic+set}" = set; then :
8362 withval=$with_pic; lt_p=${PACKAGE-default}
8363 case $withval in
8364 yes|no) pic_mode=$withval ;;
8365 *)
8366 pic_mode=default
8367 # Look at the argument we got. We use all the common list separators.
8368 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8369 for lt_pkg in $withval; do
8370 IFS="$lt_save_ifs"
8371 if test "X$lt_pkg" = "X$lt_p"; then
8372 pic_mode=yes
8373 fi
8374 done
8375 IFS="$lt_save_ifs"
8376 ;;
8377 esac
8378 else
8379 pic_mode=default
8380 fi
8381
8382
8383 test -z "$pic_mode" && pic_mode=default
8384
8385
8386
8387
8388
8389
8390
8391 # Check whether --enable-fast-install was given.
8392 if test "${enable_fast_install+set}" = set; then :
8393 enableval=$enable_fast_install; p=${PACKAGE-default}
8394 case $enableval in
8395 yes) enable_fast_install=yes ;;
8396 no) enable_fast_install=no ;;
8397 *)
8398 enable_fast_install=no
8399 # Look at the argument we got. We use all the common list separators.
8400 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8401 for pkg in $enableval; do
8402 IFS="$lt_save_ifs"
8403 if test "X$pkg" = "X$p"; then
8404 enable_fast_install=yes
8405 fi
8406 done
8407 IFS="$lt_save_ifs"
8408 ;;
8409 esac
8410 else
8411 enable_fast_install=yes
8412 fi
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424 # This can be used to rebuild libtool when needed
8425 LIBTOOL_DEPS="$ltmain"
8426
8427 # Always use our own libtool.
8428 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459 test -z "$LN_S" && LN_S="ln -s"
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474 if test -n "${ZSH_VERSION+set}" ; then
8475 setopt NO_GLOB_SUBST
8476 fi
8477
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8479 $as_echo_n "checking for objdir... " >&6; }
8480 if ${lt_cv_objdir+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 rm -f .libs 2>/dev/null
8484 mkdir .libs 2>/dev/null
8485 if test -d .libs; then
8486 lt_cv_objdir=.libs
8487 else
8488 # MS-DOS does not allow filenames that begin with a dot.
8489 lt_cv_objdir=_libs
8490 fi
8491 rmdir .libs 2>/dev/null
8492 fi
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8494 $as_echo "$lt_cv_objdir" >&6; }
8495 objdir=$lt_cv_objdir
8496
8497
8498
8499
8500
8501 cat >>confdefs.h <<_ACEOF
8502 #define LT_OBJDIR "$lt_cv_objdir/"
8503 _ACEOF
8504
8505
8506
8507
8508 case $host_os in
8509 aix3*)
8510 # AIX sometimes has problems with the GCC collect2 program. For some
8511 # reason, if we set the COLLECT_NAMES environment variable, the problems
8512 # vanish in a puff of smoke.
8513 if test "X${COLLECT_NAMES+set}" != Xset; then
8514 COLLECT_NAMES=
8515 export COLLECT_NAMES
8516 fi
8517 ;;
8518 esac
8519
8520 # Global variables:
8521 ofile=libtool
8522 can_build_shared=yes
8523
8524 # All known linkers require a `.a' archive for static linking (except MSVC,
8525 # which needs '.lib').
8526 libext=a
8527
8528 with_gnu_ld="$lt_cv_prog_gnu_ld"
8529
8530 old_CC="$CC"
8531 old_CFLAGS="$CFLAGS"
8532
8533 # Set sane defaults for various variables
8534 test -z "$CC" && CC=cc
8535 test -z "$LTCC" && LTCC=$CC
8536 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8537 test -z "$LD" && LD=ld
8538 test -z "$ac_objext" && ac_objext=o
8539
8540 for cc_temp in $compiler""; do
8541 case $cc_temp in
8542 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8543 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8544 \-*) ;;
8545 *) break;;
8546 esac
8547 done
8548 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8549
8550
8551 # Only perform the check for file, if the check method requires it
8552 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8553 case $deplibs_check_method in
8554 file_magic*)
8555 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8557 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8558 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 case $MAGIC_CMD in
8562 [\\/*] | ?:[\\/]*)
8563 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8564 ;;
8565 *)
8566 lt_save_MAGIC_CMD="$MAGIC_CMD"
8567 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8568 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8569 for ac_dir in $ac_dummy; do
8570 IFS="$lt_save_ifs"
8571 test -z "$ac_dir" && ac_dir=.
8572 if test -f $ac_dir/${ac_tool_prefix}file; then
8573 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8574 if test -n "$file_magic_test_file"; then
8575 case $deplibs_check_method in
8576 "file_magic "*)
8577 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8578 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8579 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8580 $EGREP "$file_magic_regex" > /dev/null; then
8581 :
8582 else
8583 cat <<_LT_EOF 1>&2
8584
8585 *** Warning: the command libtool uses to detect shared libraries,
8586 *** $file_magic_cmd, produces output that libtool cannot recognize.
8587 *** The result is that libtool may fail to recognize shared libraries
8588 *** as such. This will affect the creation of libtool libraries that
8589 *** depend on shared libraries, but programs linked with such libtool
8590 *** libraries will work regardless of this problem. Nevertheless, you
8591 *** may want to report the problem to your system manager and/or to
8592 *** bug-libtool@gnu.org
8593
8594 _LT_EOF
8595 fi ;;
8596 esac
8597 fi
8598 break
8599 fi
8600 done
8601 IFS="$lt_save_ifs"
8602 MAGIC_CMD="$lt_save_MAGIC_CMD"
8603 ;;
8604 esac
8605 fi
8606
8607 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8608 if test -n "$MAGIC_CMD"; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8610 $as_echo "$MAGIC_CMD" >&6; }
8611 else
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8613 $as_echo "no" >&6; }
8614 fi
8615
8616
8617
8618
8619
8620 if test -z "$lt_cv_path_MAGIC_CMD"; then
8621 if test -n "$ac_tool_prefix"; then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8623 $as_echo_n "checking for file... " >&6; }
8624 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8625 $as_echo_n "(cached) " >&6
8626 else
8627 case $MAGIC_CMD in
8628 [\\/*] | ?:[\\/]*)
8629 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8630 ;;
8631 *)
8632 lt_save_MAGIC_CMD="$MAGIC_CMD"
8633 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8634 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8635 for ac_dir in $ac_dummy; do
8636 IFS="$lt_save_ifs"
8637 test -z "$ac_dir" && ac_dir=.
8638 if test -f $ac_dir/file; then
8639 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8640 if test -n "$file_magic_test_file"; then
8641 case $deplibs_check_method in
8642 "file_magic "*)
8643 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8644 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8645 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8646 $EGREP "$file_magic_regex" > /dev/null; then
8647 :
8648 else
8649 cat <<_LT_EOF 1>&2
8650
8651 *** Warning: the command libtool uses to detect shared libraries,
8652 *** $file_magic_cmd, produces output that libtool cannot recognize.
8653 *** The result is that libtool may fail to recognize shared libraries
8654 *** as such. This will affect the creation of libtool libraries that
8655 *** depend on shared libraries, but programs linked with such libtool
8656 *** libraries will work regardless of this problem. Nevertheless, you
8657 *** may want to report the problem to your system manager and/or to
8658 *** bug-libtool@gnu.org
8659
8660 _LT_EOF
8661 fi ;;
8662 esac
8663 fi
8664 break
8665 fi
8666 done
8667 IFS="$lt_save_ifs"
8668 MAGIC_CMD="$lt_save_MAGIC_CMD"
8669 ;;
8670 esac
8671 fi
8672
8673 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8674 if test -n "$MAGIC_CMD"; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8676 $as_echo "$MAGIC_CMD" >&6; }
8677 else
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8679 $as_echo "no" >&6; }
8680 fi
8681
8682
8683 else
8684 MAGIC_CMD=:
8685 fi
8686 fi
8687
8688 fi
8689 ;;
8690 esac
8691
8692 # Use C for the default configuration in the libtool script
8693
8694 lt_save_CC="$CC"
8695 ac_ext=c
8696 ac_cpp='$CPP $CPPFLAGS'
8697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8700
8701
8702 # Source file extension for C test sources.
8703 ac_ext=c
8704
8705 # Object file extension for compiled C test sources.
8706 objext=o
8707 objext=$objext
8708
8709 # Code to be used in simple compile tests
8710 lt_simple_compile_test_code="int some_variable = 0;"
8711
8712 # Code to be used in simple link tests
8713 lt_simple_link_test_code='int main(){return(0);}'
8714
8715
8716
8717
8718
8719
8720
8721 # If no C compiler was specified, use CC.
8722 LTCC=${LTCC-"$CC"}
8723
8724 # If no C compiler flags were specified, use CFLAGS.
8725 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8726
8727 # Allow CC to be a program name with arguments.
8728 compiler=$CC
8729
8730 # Save the default compiler, since it gets overwritten when the other
8731 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8732 compiler_DEFAULT=$CC
8733
8734 # save warnings/boilerplate of simple test code
8735 ac_outfile=conftest.$ac_objext
8736 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8737 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8738 _lt_compiler_boilerplate=`cat conftest.err`
8739 $RM conftest*
8740
8741 ac_outfile=conftest.$ac_objext
8742 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8743 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8744 _lt_linker_boilerplate=`cat conftest.err`
8745 $RM -r conftest*
8746
8747
8748 ## CAVEAT EMPTOR:
8749 ## There is no encapsulation within the following macros, do not change
8750 ## the running order or otherwise move them around unless you know exactly
8751 ## what you are doing...
8752 if test -n "$compiler"; then
8753
8754 lt_prog_compiler_no_builtin_flag=
8755
8756 if test "$GCC" = yes; then
8757 case $cc_basename in
8758 nvcc*)
8759 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8760 *)
8761 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8762 esac
8763
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8765 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8766 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 lt_cv_prog_compiler_rtti_exceptions=no
8770 ac_outfile=conftest.$ac_objext
8771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8772 lt_compiler_flag="-fno-rtti -fno-exceptions"
8773 # Insert the option either (1) after the last *FLAGS variable, or
8774 # (2) before a word containing "conftest.", or (3) at the end.
8775 # Note that $ac_compile itself does not contain backslashes and begins
8776 # with a dollar sign (not a hyphen), so the echo should work correctly.
8777 # The option is referenced via a variable to avoid confusing sed.
8778 lt_compile=`echo "$ac_compile" | $SED \
8779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8781 -e 's:$: $lt_compiler_flag:'`
8782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8783 (eval "$lt_compile" 2>conftest.err)
8784 ac_status=$?
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 if (exit $ac_status) && test -s "$ac_outfile"; then
8788 # The compiler can only warn and ignore the option if not recognized
8789 # So say no if there are warnings other than the usual output.
8790 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8793 lt_cv_prog_compiler_rtti_exceptions=yes
8794 fi
8795 fi
8796 $RM conftest*
8797
8798 fi
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8800 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8801
8802 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8803 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8804 else
8805 :
8806 fi
8807
8808 fi
8809
8810
8811
8812
8813
8814
8815 lt_prog_compiler_wl=
8816 lt_prog_compiler_pic=
8817 lt_prog_compiler_static=
8818
8819
8820 if test "$GCC" = yes; then
8821 lt_prog_compiler_wl='-Wl,'
8822 lt_prog_compiler_static='-static'
8823
8824 case $host_os in
8825 aix*)
8826 # All AIX code is PIC.
8827 if test "$host_cpu" = ia64; then
8828 # AIX 5 now supports IA64 processor
8829 lt_prog_compiler_static='-Bstatic'
8830 fi
8831 ;;
8832
8833 amigaos*)
8834 case $host_cpu in
8835 powerpc)
8836 # see comment about AmigaOS4 .so support
8837 lt_prog_compiler_pic='-fPIC'
8838 ;;
8839 m68k)
8840 # FIXME: we need at least 68020 code to build shared libraries, but
8841 # adding the `-m68020' flag to GCC prevents building anything better,
8842 # like `-m68040'.
8843 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8844 ;;
8845 esac
8846 ;;
8847
8848 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8849 # PIC is the default for these OSes.
8850 ;;
8851
8852 mingw* | cygwin* | pw32* | os2* | cegcc*)
8853 # This hack is so that the source file can tell whether it is being
8854 # built for inclusion in a dll (and should export symbols for example).
8855 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8856 # (--disable-auto-import) libraries
8857 lt_prog_compiler_pic='-DDLL_EXPORT'
8858 ;;
8859
8860 darwin* | rhapsody*)
8861 # PIC is the default on this platform
8862 # Common symbols not allowed in MH_DYLIB files
8863 lt_prog_compiler_pic='-fno-common'
8864 ;;
8865
8866 haiku*)
8867 # PIC is the default for Haiku.
8868 # The "-static" flag exists, but is broken.
8869 lt_prog_compiler_static=
8870 ;;
8871
8872 hpux*)
8873 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8874 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8875 # sets the default TLS model and affects inlining.
8876 case $host_cpu in
8877 hppa*64*)
8878 # +Z the default
8879 ;;
8880 *)
8881 lt_prog_compiler_pic='-fPIC'
8882 ;;
8883 esac
8884 ;;
8885
8886 interix[3-9]*)
8887 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8888 # Instead, we relocate shared libraries at runtime.
8889 ;;
8890
8891 msdosdjgpp*)
8892 # Just because we use GCC doesn't mean we suddenly get shared libraries
8893 # on systems that don't support them.
8894 lt_prog_compiler_can_build_shared=no
8895 enable_shared=no
8896 ;;
8897
8898 *nto* | *qnx*)
8899 # QNX uses GNU C++, but need to define -shared option too, otherwise
8900 # it will coredump.
8901 lt_prog_compiler_pic='-fPIC -shared'
8902 ;;
8903
8904 sysv4*MP*)
8905 if test -d /usr/nec; then
8906 lt_prog_compiler_pic=-Kconform_pic
8907 fi
8908 ;;
8909
8910 *)
8911 lt_prog_compiler_pic='-fPIC'
8912 ;;
8913 esac
8914
8915 case $cc_basename in
8916 nvcc*) # Cuda Compiler Driver 2.2
8917 lt_prog_compiler_wl='-Xlinker '
8918 if test -n "$lt_prog_compiler_pic"; then
8919 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8920 fi
8921 ;;
8922 esac
8923 else
8924 # PORTME Check for flag to pass linker flags through the system compiler.
8925 case $host_os in
8926 aix*)
8927 lt_prog_compiler_wl='-Wl,'
8928 if test "$host_cpu" = ia64; then
8929 # AIX 5 now supports IA64 processor
8930 lt_prog_compiler_static='-Bstatic'
8931 else
8932 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8933 fi
8934 ;;
8935
8936 mingw* | cygwin* | pw32* | os2* | cegcc*)
8937 # This hack is so that the source file can tell whether it is being
8938 # built for inclusion in a dll (and should export symbols for example).
8939 lt_prog_compiler_pic='-DDLL_EXPORT'
8940 ;;
8941
8942 hpux9* | hpux10* | hpux11*)
8943 lt_prog_compiler_wl='-Wl,'
8944 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8945 # not for PA HP-UX.
8946 case $host_cpu in
8947 hppa*64*|ia64*)
8948 # +Z the default
8949 ;;
8950 *)
8951 lt_prog_compiler_pic='+Z'
8952 ;;
8953 esac
8954 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8955 lt_prog_compiler_static='${wl}-a ${wl}archive'
8956 ;;
8957
8958 irix5* | irix6* | nonstopux*)
8959 lt_prog_compiler_wl='-Wl,'
8960 # PIC (with -KPIC) is the default.
8961 lt_prog_compiler_static='-non_shared'
8962 ;;
8963
8964 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8965 case $cc_basename in
8966 # old Intel for x86_64 which still supported -KPIC.
8967 ecc*)
8968 lt_prog_compiler_wl='-Wl,'
8969 lt_prog_compiler_pic='-KPIC'
8970 lt_prog_compiler_static='-static'
8971 ;;
8972 # icc used to be incompatible with GCC.
8973 # ICC 10 doesn't accept -KPIC any more.
8974 icc* | ifort*)
8975 lt_prog_compiler_wl='-Wl,'
8976 lt_prog_compiler_pic='-fPIC'
8977 lt_prog_compiler_static='-static'
8978 ;;
8979 # Lahey Fortran 8.1.
8980 lf95*)
8981 lt_prog_compiler_wl='-Wl,'
8982 lt_prog_compiler_pic='--shared'
8983 lt_prog_compiler_static='--static'
8984 ;;
8985 nagfor*)
8986 # NAG Fortran compiler
8987 lt_prog_compiler_wl='-Wl,-Wl,,'
8988 lt_prog_compiler_pic='-PIC'
8989 lt_prog_compiler_static='-Bstatic'
8990 ;;
8991 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8992 # Portland Group compilers (*not* the Pentium gcc compiler,
8993 # which looks to be a dead project)
8994 lt_prog_compiler_wl='-Wl,'
8995 lt_prog_compiler_pic='-fpic'
8996 lt_prog_compiler_static='-Bstatic'
8997 ;;
8998 ccc*)
8999 lt_prog_compiler_wl='-Wl,'
9000 # All Alpha code is PIC.
9001 lt_prog_compiler_static='-non_shared'
9002 ;;
9003 xl* | bgxl* | bgf* | mpixl*)
9004 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9005 lt_prog_compiler_wl='-Wl,'
9006 lt_prog_compiler_pic='-qpic'
9007 lt_prog_compiler_static='-qstaticlink'
9008 ;;
9009 *)
9010 case `$CC -V 2>&1 | sed 5q` in
9011 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9012 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9013 lt_prog_compiler_pic='-KPIC'
9014 lt_prog_compiler_static='-Bstatic'
9015 lt_prog_compiler_wl=''
9016 ;;
9017 *Sun\ F* | *Sun*Fortran*)
9018 lt_prog_compiler_pic='-KPIC'
9019 lt_prog_compiler_static='-Bstatic'
9020 lt_prog_compiler_wl='-Qoption ld '
9021 ;;
9022 *Sun\ C*)
9023 # Sun C 5.9
9024 lt_prog_compiler_pic='-KPIC'
9025 lt_prog_compiler_static='-Bstatic'
9026 lt_prog_compiler_wl='-Wl,'
9027 ;;
9028 *Intel*\ [CF]*Compiler*)
9029 lt_prog_compiler_wl='-Wl,'
9030 lt_prog_compiler_pic='-fPIC'
9031 lt_prog_compiler_static='-static'
9032 ;;
9033 *Portland\ Group*)
9034 lt_prog_compiler_wl='-Wl,'
9035 lt_prog_compiler_pic='-fpic'
9036 lt_prog_compiler_static='-Bstatic'
9037 ;;
9038 esac
9039 ;;
9040 esac
9041 ;;
9042
9043 newsos6)
9044 lt_prog_compiler_pic='-KPIC'
9045 lt_prog_compiler_static='-Bstatic'
9046 ;;
9047
9048 *nto* | *qnx*)
9049 # QNX uses GNU C++, but need to define -shared option too, otherwise
9050 # it will coredump.
9051 lt_prog_compiler_pic='-fPIC -shared'
9052 ;;
9053
9054 osf3* | osf4* | osf5*)
9055 lt_prog_compiler_wl='-Wl,'
9056 # All OSF/1 code is PIC.
9057 lt_prog_compiler_static='-non_shared'
9058 ;;
9059
9060 rdos*)
9061 lt_prog_compiler_static='-non_shared'
9062 ;;
9063
9064 solaris*)
9065 lt_prog_compiler_pic='-KPIC'
9066 lt_prog_compiler_static='-Bstatic'
9067 case $cc_basename in
9068 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9069 lt_prog_compiler_wl='-Qoption ld ';;
9070 *)
9071 lt_prog_compiler_wl='-Wl,';;
9072 esac
9073 ;;
9074
9075 sunos4*)
9076 lt_prog_compiler_wl='-Qoption ld '
9077 lt_prog_compiler_pic='-PIC'
9078 lt_prog_compiler_static='-Bstatic'
9079 ;;
9080
9081 sysv4 | sysv4.2uw2* | sysv4.3*)
9082 lt_prog_compiler_wl='-Wl,'
9083 lt_prog_compiler_pic='-KPIC'
9084 lt_prog_compiler_static='-Bstatic'
9085 ;;
9086
9087 sysv4*MP*)
9088 if test -d /usr/nec ;then
9089 lt_prog_compiler_pic='-Kconform_pic'
9090 lt_prog_compiler_static='-Bstatic'
9091 fi
9092 ;;
9093
9094 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9095 lt_prog_compiler_wl='-Wl,'
9096 lt_prog_compiler_pic='-KPIC'
9097 lt_prog_compiler_static='-Bstatic'
9098 ;;
9099
9100 unicos*)
9101 lt_prog_compiler_wl='-Wl,'
9102 lt_prog_compiler_can_build_shared=no
9103 ;;
9104
9105 uts4*)
9106 lt_prog_compiler_pic='-pic'
9107 lt_prog_compiler_static='-Bstatic'
9108 ;;
9109
9110 *)
9111 lt_prog_compiler_can_build_shared=no
9112 ;;
9113 esac
9114 fi
9115
9116 case $host_os in
9117 # For platforms which do not support PIC, -DPIC is meaningless:
9118 *djgpp*)
9119 lt_prog_compiler_pic=
9120 ;;
9121 *)
9122 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9123 ;;
9124 esac
9125
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9127 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9128 if ${lt_cv_prog_compiler_pic+:} false; then :
9129 $as_echo_n "(cached) " >&6
9130 else
9131 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9132 fi
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9134 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9135 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9136
9137 #
9138 # Check to make sure the PIC flag actually works.
9139 #
9140 if test -n "$lt_prog_compiler_pic"; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9142 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9143 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9144 $as_echo_n "(cached) " >&6
9145 else
9146 lt_cv_prog_compiler_pic_works=no
9147 ac_outfile=conftest.$ac_objext
9148 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9149 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9150 # Insert the option either (1) after the last *FLAGS variable, or
9151 # (2) before a word containing "conftest.", or (3) at the end.
9152 # Note that $ac_compile itself does not contain backslashes and begins
9153 # with a dollar sign (not a hyphen), so the echo should work correctly.
9154 # The option is referenced via a variable to avoid confusing sed.
9155 lt_compile=`echo "$ac_compile" | $SED \
9156 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158 -e 's:$: $lt_compiler_flag:'`
9159 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9160 (eval "$lt_compile" 2>conftest.err)
9161 ac_status=$?
9162 cat conftest.err >&5
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 if (exit $ac_status) && test -s "$ac_outfile"; then
9165 # The compiler can only warn and ignore the option if not recognized
9166 # So say no if there are warnings other than the usual output.
9167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9168 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9169 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9170 lt_cv_prog_compiler_pic_works=yes
9171 fi
9172 fi
9173 $RM conftest*
9174
9175 fi
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9177 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9178
9179 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9180 case $lt_prog_compiler_pic in
9181 "" | " "*) ;;
9182 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9183 esac
9184 else
9185 lt_prog_compiler_pic=
9186 lt_prog_compiler_can_build_shared=no
9187 fi
9188
9189 fi
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201 #
9202 # Check to make sure the static flag actually works.
9203 #
9204 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9206 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9207 if ${lt_cv_prog_compiler_static_works+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 lt_cv_prog_compiler_static_works=no
9211 save_LDFLAGS="$LDFLAGS"
9212 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9213 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9214 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9215 # The linker can only warn and ignore the option if not recognized
9216 # So say no if there are warnings
9217 if test -s conftest.err; then
9218 # Append any errors to the config.log.
9219 cat conftest.err 1>&5
9220 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9221 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9222 if diff conftest.exp conftest.er2 >/dev/null; then
9223 lt_cv_prog_compiler_static_works=yes
9224 fi
9225 else
9226 lt_cv_prog_compiler_static_works=yes
9227 fi
9228 fi
9229 $RM -r conftest*
9230 LDFLAGS="$save_LDFLAGS"
9231
9232 fi
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9234 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9235
9236 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9237 :
9238 else
9239 lt_prog_compiler_static=
9240 fi
9241
9242
9243
9244
9245
9246
9247
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9249 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9250 if ${lt_cv_prog_compiler_c_o+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252 else
9253 lt_cv_prog_compiler_c_o=no
9254 $RM -r conftest 2>/dev/null
9255 mkdir conftest
9256 cd conftest
9257 mkdir out
9258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9259
9260 lt_compiler_flag="-o out/conftest2.$ac_objext"
9261 # Insert the option either (1) after the last *FLAGS variable, or
9262 # (2) before a word containing "conftest.", or (3) at the end.
9263 # Note that $ac_compile itself does not contain backslashes and begins
9264 # with a dollar sign (not a hyphen), so the echo should work correctly.
9265 lt_compile=`echo "$ac_compile" | $SED \
9266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9268 -e 's:$: $lt_compiler_flag:'`
9269 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9270 (eval "$lt_compile" 2>out/conftest.err)
9271 ac_status=$?
9272 cat out/conftest.err >&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9275 then
9276 # The compiler can only warn and ignore the option if not recognized
9277 # So say no if there are warnings
9278 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9279 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9280 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9281 lt_cv_prog_compiler_c_o=yes
9282 fi
9283 fi
9284 chmod u+w . 2>&5
9285 $RM conftest*
9286 # SGI C++ compiler will create directory out/ii_files/ for
9287 # template instantiation
9288 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9289 $RM out/* && rmdir out
9290 cd ..
9291 $RM -r conftest
9292 $RM conftest*
9293
9294 fi
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9296 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9297
9298
9299
9300
9301
9302
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9304 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9305 if ${lt_cv_prog_compiler_c_o+:} false; then :
9306 $as_echo_n "(cached) " >&6
9307 else
9308 lt_cv_prog_compiler_c_o=no
9309 $RM -r conftest 2>/dev/null
9310 mkdir conftest
9311 cd conftest
9312 mkdir out
9313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9314
9315 lt_compiler_flag="-o out/conftest2.$ac_objext"
9316 # Insert the option either (1) after the last *FLAGS variable, or
9317 # (2) before a word containing "conftest.", or (3) at the end.
9318 # Note that $ac_compile itself does not contain backslashes and begins
9319 # with a dollar sign (not a hyphen), so the echo should work correctly.
9320 lt_compile=`echo "$ac_compile" | $SED \
9321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9323 -e 's:$: $lt_compiler_flag:'`
9324 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9325 (eval "$lt_compile" 2>out/conftest.err)
9326 ac_status=$?
9327 cat out/conftest.err >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9330 then
9331 # The compiler can only warn and ignore the option if not recognized
9332 # So say no if there are warnings
9333 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9334 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9335 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9336 lt_cv_prog_compiler_c_o=yes
9337 fi
9338 fi
9339 chmod u+w . 2>&5
9340 $RM conftest*
9341 # SGI C++ compiler will create directory out/ii_files/ for
9342 # template instantiation
9343 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9344 $RM out/* && rmdir out
9345 cd ..
9346 $RM -r conftest
9347 $RM conftest*
9348
9349 fi
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9351 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9352
9353
9354
9355
9356 hard_links="nottested"
9357 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9358 # do not overwrite the value of need_locks provided by the user
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9360 $as_echo_n "checking if we can lock with hard links... " >&6; }
9361 hard_links=yes
9362 $RM conftest*
9363 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9364 touch conftest.a
9365 ln conftest.a conftest.b 2>&5 || hard_links=no
9366 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9368 $as_echo "$hard_links" >&6; }
9369 if test "$hard_links" = no; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9371 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9372 need_locks=warn
9373 fi
9374 else
9375 need_locks=no
9376 fi
9377
9378
9379
9380
9381
9382
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9384 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9385
9386 runpath_var=
9387 allow_undefined_flag=
9388 always_export_symbols=no
9389 archive_cmds=
9390 archive_expsym_cmds=
9391 compiler_needs_object=no
9392 enable_shared_with_static_runtimes=no
9393 export_dynamic_flag_spec=
9394 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9395 hardcode_automatic=no
9396 hardcode_direct=no
9397 hardcode_direct_absolute=no
9398 hardcode_libdir_flag_spec=
9399 hardcode_libdir_separator=
9400 hardcode_minus_L=no
9401 hardcode_shlibpath_var=unsupported
9402 inherit_rpath=no
9403 link_all_deplibs=unknown
9404 module_cmds=
9405 module_expsym_cmds=
9406 old_archive_from_new_cmds=
9407 old_archive_from_expsyms_cmds=
9408 thread_safe_flag_spec=
9409 whole_archive_flag_spec=
9410 # include_expsyms should be a list of space-separated symbols to be *always*
9411 # included in the symbol list
9412 include_expsyms=
9413 # exclude_expsyms can be an extended regexp of symbols to exclude
9414 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9415 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9416 # as well as any symbol that contains `d'.
9417 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9418 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9419 # platforms (ab)use it in PIC code, but their linkers get confused if
9420 # the symbol is explicitly referenced. Since portable code cannot
9421 # rely on this symbol name, it's probably fine to never include it in
9422 # preloaded symbol tables.
9423 # Exclude shared library initialization/finalization symbols.
9424 extract_expsyms_cmds=
9425
9426 case $host_os in
9427 cygwin* | mingw* | pw32* | cegcc*)
9428 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9429 # When not using gcc, we currently assume that we are using
9430 # Microsoft Visual C++.
9431 if test "$GCC" != yes; then
9432 with_gnu_ld=no
9433 fi
9434 ;;
9435 interix*)
9436 # we just hope/assume this is gcc and not c89 (= MSVC++)
9437 with_gnu_ld=yes
9438 ;;
9439 openbsd*)
9440 with_gnu_ld=no
9441 ;;
9442 esac
9443
9444 ld_shlibs=yes
9445
9446 # On some targets, GNU ld is compatible enough with the native linker
9447 # that we're better off using the native interface for both.
9448 lt_use_gnu_ld_interface=no
9449 if test "$with_gnu_ld" = yes; then
9450 case $host_os in
9451 aix*)
9452 # The AIX port of GNU ld has always aspired to compatibility
9453 # with the native linker. However, as the warning in the GNU ld
9454 # block says, versions before 2.19.5* couldn't really create working
9455 # shared libraries, regardless of the interface used.
9456 case `$LD -v 2>&1` in
9457 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9458 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9459 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9460 *)
9461 lt_use_gnu_ld_interface=yes
9462 ;;
9463 esac
9464 ;;
9465 *)
9466 lt_use_gnu_ld_interface=yes
9467 ;;
9468 esac
9469 fi
9470
9471 if test "$lt_use_gnu_ld_interface" = yes; then
9472 # If archive_cmds runs LD, not CC, wlarc should be empty
9473 wlarc='${wl}'
9474
9475 # Set some defaults for GNU ld with shared library support. These
9476 # are reset later if shared libraries are not supported. Putting them
9477 # here allows them to be overridden if necessary.
9478 runpath_var=LD_RUN_PATH
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 export_dynamic_flag_spec='${wl}--export-dynamic'
9481 # ancient GNU ld didn't support --whole-archive et. al.
9482 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9483 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9484 else
9485 whole_archive_flag_spec=
9486 fi
9487 supports_anon_versioning=no
9488 case `$LD -v 2>&1` in
9489 *GNU\ gold*) supports_anon_versioning=yes ;;
9490 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9491 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9492 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9493 *\ 2.11.*) ;; # other 2.11 versions
9494 *) supports_anon_versioning=yes ;;
9495 esac
9496
9497 # See if GNU ld supports shared libraries.
9498 case $host_os in
9499 aix[3-9]*)
9500 # On AIX/PPC, the GNU linker is very broken
9501 if test "$host_cpu" != ia64; then
9502 ld_shlibs=no
9503 cat <<_LT_EOF 1>&2
9504
9505 *** Warning: the GNU linker, at least up to release 2.19, is reported
9506 *** to be unable to reliably create shared libraries on AIX.
9507 *** Therefore, libtool is disabling shared libraries support. If you
9508 *** really care for shared libraries, you may want to install binutils
9509 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9510 *** You will then need to restart the configuration process.
9511
9512 _LT_EOF
9513 fi
9514 ;;
9515
9516 amigaos*)
9517 case $host_cpu in
9518 powerpc)
9519 # see comment about AmigaOS4 .so support
9520 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9521 archive_expsym_cmds=''
9522 ;;
9523 m68k)
9524 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)'
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_minus_L=yes
9527 ;;
9528 esac
9529 ;;
9530
9531 beos*)
9532 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9533 allow_undefined_flag=unsupported
9534 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9535 # support --undefined. This deserves some investigation. FIXME
9536 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9537 else
9538 ld_shlibs=no
9539 fi
9540 ;;
9541
9542 cygwin* | mingw* | pw32* | cegcc*)
9543 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9544 # as there is no search path for DLLs.
9545 hardcode_libdir_flag_spec='-L$libdir'
9546 export_dynamic_flag_spec='${wl}--export-all-symbols'
9547 allow_undefined_flag=unsupported
9548 always_export_symbols=no
9549 enable_shared_with_static_runtimes=yes
9550 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'
9551 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9552
9553 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9554 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9555 # If the export-symbols file already is a .def file (1st line
9556 # is EXPORTS), use it as is; otherwise, prepend...
9557 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9558 cp $export_symbols $output_objdir/$soname.def;
9559 else
9560 echo EXPORTS > $output_objdir/$soname.def;
9561 cat $export_symbols >> $output_objdir/$soname.def;
9562 fi~
9563 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9564 else
9565 ld_shlibs=no
9566 fi
9567 ;;
9568
9569 haiku*)
9570 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9571 link_all_deplibs=yes
9572 ;;
9573
9574 interix[3-9]*)
9575 hardcode_direct=no
9576 hardcode_shlibpath_var=no
9577 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9578 export_dynamic_flag_spec='${wl}-E'
9579 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9580 # Instead, shared libraries are loaded at an image base (0x10000000 by
9581 # default) and relocated if they conflict, which is a slow very memory
9582 # consuming and fragmenting process. To avoid this, we pick a random,
9583 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9584 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9585 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9586 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'
9587 ;;
9588
9589 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9590 tmp_diet=no
9591 if test "$host_os" = linux-dietlibc; then
9592 case $cc_basename in
9593 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9594 esac
9595 fi
9596 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9597 && test "$tmp_diet" = no
9598 then
9599 tmp_addflag=' $pic_flag'
9600 tmp_sharedflag='-shared'
9601 case $cc_basename,$host_cpu in
9602 pgcc*) # Portland Group C compiler
9603 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'
9604 tmp_addflag=' $pic_flag'
9605 ;;
9606 pgf77* | pgf90* | pgf95* | pgfortran*)
9607 # Portland Group f77 and f90 compilers
9608 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'
9609 tmp_addflag=' $pic_flag -Mnomain' ;;
9610 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9611 tmp_addflag=' -i_dynamic' ;;
9612 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9613 tmp_addflag=' -i_dynamic -nofor_main' ;;
9614 ifc* | ifort*) # Intel Fortran compiler
9615 tmp_addflag=' -nofor_main' ;;
9616 lf95*) # Lahey Fortran 8.1
9617 whole_archive_flag_spec=
9618 tmp_sharedflag='--shared' ;;
9619 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9620 tmp_sharedflag='-qmkshrobj'
9621 tmp_addflag= ;;
9622 nvcc*) # Cuda Compiler Driver 2.2
9623 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'
9624 compiler_needs_object=yes
9625 ;;
9626 esac
9627 case `$CC -V 2>&1 | sed 5q` in
9628 *Sun\ C*) # Sun C 5.9
9629 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'
9630 compiler_needs_object=yes
9631 tmp_sharedflag='-G' ;;
9632 *Sun\ F*) # Sun Fortran 8.3
9633 tmp_sharedflag='-G' ;;
9634 esac
9635 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9636
9637 if test "x$supports_anon_versioning" = xyes; then
9638 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9640 echo "local: *; };" >> $output_objdir/$libname.ver~
9641 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9642 fi
9643
9644 case $cc_basename in
9645 xlf* | bgf* | bgxlf* | mpixlf*)
9646 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9647 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9648 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9649 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9650 if test "x$supports_anon_versioning" = xyes; then
9651 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9652 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9653 echo "local: *; };" >> $output_objdir/$libname.ver~
9654 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9655 fi
9656 ;;
9657 esac
9658 else
9659 ld_shlibs=no
9660 fi
9661 ;;
9662
9663 netbsd*)
9664 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9665 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9666 wlarc=
9667 else
9668 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9669 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9670 fi
9671 ;;
9672
9673 solaris*)
9674 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9675 ld_shlibs=no
9676 cat <<_LT_EOF 1>&2
9677
9678 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9679 *** create shared libraries on Solaris systems. Therefore, libtool
9680 *** is disabling shared libraries support. We urge you to upgrade GNU
9681 *** binutils to release 2.9.1 or newer. Another option is to modify
9682 *** your PATH or compiler configuration so that the native linker is
9683 *** used, and then restart.
9684
9685 _LT_EOF
9686 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9687 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9688 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9689 else
9690 ld_shlibs=no
9691 fi
9692 ;;
9693
9694 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9695 case `$LD -v 2>&1` in
9696 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9697 ld_shlibs=no
9698 cat <<_LT_EOF 1>&2
9699
9700 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9701 *** reliably create shared libraries on SCO systems. Therefore, libtool
9702 *** is disabling shared libraries support. We urge you to upgrade GNU
9703 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9704 *** your PATH or compiler configuration so that the native linker is
9705 *** used, and then restart.
9706
9707 _LT_EOF
9708 ;;
9709 *)
9710 # For security reasons, it is highly recommended that you always
9711 # use absolute paths for naming shared libraries, and exclude the
9712 # DT_RUNPATH tag from executables and libraries. But doing so
9713 # requires that you compile everything twice, which is a pain.
9714 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9715 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9716 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9717 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9718 else
9719 ld_shlibs=no
9720 fi
9721 ;;
9722 esac
9723 ;;
9724
9725 sunos4*)
9726 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9727 wlarc=
9728 hardcode_direct=yes
9729 hardcode_shlibpath_var=no
9730 ;;
9731
9732 *)
9733 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9734 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9735 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9736 else
9737 ld_shlibs=no
9738 fi
9739 ;;
9740 esac
9741
9742 if test "$ld_shlibs" = no; then
9743 runpath_var=
9744 hardcode_libdir_flag_spec=
9745 export_dynamic_flag_spec=
9746 whole_archive_flag_spec=
9747 fi
9748 else
9749 # PORTME fill in a description of your system's linker (not GNU ld)
9750 case $host_os in
9751 aix3*)
9752 allow_undefined_flag=unsupported
9753 always_export_symbols=yes
9754 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'
9755 # Note: this linker hardcodes the directories in LIBPATH if there
9756 # are no directories specified by -L.
9757 hardcode_minus_L=yes
9758 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9759 # Neither direct hardcoding nor static linking is supported with a
9760 # broken collect2.
9761 hardcode_direct=unsupported
9762 fi
9763 ;;
9764
9765 aix[4-9]*)
9766 if test "$host_cpu" = ia64; then
9767 # On IA64, the linker does run time linking by default, so we don't
9768 # have to do anything special.
9769 aix_use_runtimelinking=no
9770 exp_sym_flag='-Bexport'
9771 no_entry_flag=""
9772 else
9773 # If we're using GNU nm, then we don't want the "-C" option.
9774 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9775 # Also, AIX nm treats weak defined symbols like other global
9776 # defined symbols, whereas GNU nm marks them as "W".
9777 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9778 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9779 else
9780 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9781 fi
9782 aix_use_runtimelinking=no
9783
9784 # Test if we are trying to use run time linking or normal
9785 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9786 # need to do runtime linking.
9787 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9788 for ld_flag in $LDFLAGS; do
9789 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9790 aix_use_runtimelinking=yes
9791 break
9792 fi
9793 done
9794 ;;
9795 esac
9796
9797 exp_sym_flag='-bexport'
9798 no_entry_flag='-bnoentry'
9799 fi
9800
9801 # When large executables or shared objects are built, AIX ld can
9802 # have problems creating the table of contents. If linking a library
9803 # or program results in "error TOC overflow" add -mminimal-toc to
9804 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9805 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9806
9807 archive_cmds=''
9808 hardcode_direct=yes
9809 hardcode_direct_absolute=yes
9810 hardcode_libdir_separator=':'
9811 link_all_deplibs=yes
9812 file_list_spec='${wl}-f,'
9813
9814 if test "$GCC" = yes; then
9815 case $host_os in aix4.[012]|aix4.[012].*)
9816 # We only want to do this on AIX 4.2 and lower, the check
9817 # below for broken collect2 doesn't work under 4.3+
9818 collect2name=`${CC} -print-prog-name=collect2`
9819 if test -f "$collect2name" &&
9820 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9821 then
9822 # We have reworked collect2
9823 :
9824 else
9825 # We have old collect2
9826 hardcode_direct=unsupported
9827 # It fails to find uninstalled libraries when the uninstalled
9828 # path is not listed in the libpath. Setting hardcode_minus_L
9829 # to unsupported forces relinking
9830 hardcode_minus_L=yes
9831 hardcode_libdir_flag_spec='-L$libdir'
9832 hardcode_libdir_separator=
9833 fi
9834 ;;
9835 esac
9836 shared_flag='-shared'
9837 if test "$aix_use_runtimelinking" = yes; then
9838 shared_flag="$shared_flag "'${wl}-G'
9839 fi
9840 else
9841 # not using gcc
9842 if test "$host_cpu" = ia64; then
9843 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9844 # chokes on -Wl,-G. The following line is correct:
9845 shared_flag='-G'
9846 else
9847 if test "$aix_use_runtimelinking" = yes; then
9848 shared_flag='${wl}-G'
9849 else
9850 shared_flag='${wl}-bM:SRE'
9851 fi
9852 fi
9853 fi
9854
9855 export_dynamic_flag_spec='${wl}-bexpall'
9856 # It seems that -bexpall does not export symbols beginning with
9857 # underscore (_), so it is better to generate a list of symbols to export.
9858 always_export_symbols=yes
9859 if test "$aix_use_runtimelinking" = yes; then
9860 # Warning - without using the other runtime loading flags (-brtl),
9861 # -berok will link without error, but may produce a broken library.
9862 allow_undefined_flag='-berok'
9863 # Determine the default libpath from the value encoded in an
9864 # empty executable.
9865 if test "${lt_cv_aix_libpath+set}" = set; then
9866 aix_libpath=$lt_cv_aix_libpath
9867 else
9868 if ${lt_cv_aix_libpath_+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9873
9874 int
9875 main ()
9876 {
9877
9878 ;
9879 return 0;
9880 }
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883
9884 lt_aix_libpath_sed='
9885 /Import File Strings/,/^$/ {
9886 /^0/ {
9887 s/^0 *\([^ ]*\) *$/\1/
9888 p
9889 }
9890 }'
9891 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9892 # Check for a 64-bit object if we didn't find anything.
9893 if test -z "$lt_cv_aix_libpath_"; then
9894 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9895 fi
9896 fi
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 if test -z "$lt_cv_aix_libpath_"; then
9900 lt_cv_aix_libpath_="/usr/lib:/lib"
9901 fi
9902
9903 fi
9904
9905 aix_libpath=$lt_cv_aix_libpath_
9906 fi
9907
9908 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9909 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9910 else
9911 if test "$host_cpu" = ia64; then
9912 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9913 allow_undefined_flag="-z nodefs"
9914 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"
9915 else
9916 # Determine the default libpath from the value encoded in an
9917 # empty executable.
9918 if test "${lt_cv_aix_libpath+set}" = set; then
9919 aix_libpath=$lt_cv_aix_libpath
9920 else
9921 if ${lt_cv_aix_libpath_+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926
9927 int
9928 main ()
9929 {
9930
9931 ;
9932 return 0;
9933 }
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9936
9937 lt_aix_libpath_sed='
9938 /Import File Strings/,/^$/ {
9939 /^0/ {
9940 s/^0 *\([^ ]*\) *$/\1/
9941 p
9942 }
9943 }'
9944 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 # Check for a 64-bit object if we didn't find anything.
9946 if test -z "$lt_cv_aix_libpath_"; then
9947 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9948 fi
9949 fi
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 if test -z "$lt_cv_aix_libpath_"; then
9953 lt_cv_aix_libpath_="/usr/lib:/lib"
9954 fi
9955
9956 fi
9957
9958 aix_libpath=$lt_cv_aix_libpath_
9959 fi
9960
9961 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9962 # Warning - without using the other run time loading flags,
9963 # -berok will link without error, but may produce a broken library.
9964 no_undefined_flag=' ${wl}-bernotok'
9965 allow_undefined_flag=' ${wl}-berok'
9966 if test "$with_gnu_ld" = yes; then
9967 # We only use this code for GNU lds that support --whole-archive.
9968 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9969 else
9970 # Exported symbols can be pulled into shared objects from archives
9971 whole_archive_flag_spec='$convenience'
9972 fi
9973 archive_cmds_need_lc=yes
9974 # This is similar to how AIX traditionally builds its shared libraries.
9975 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9976 fi
9977 fi
9978 ;;
9979
9980 amigaos*)
9981 case $host_cpu in
9982 powerpc)
9983 # see comment about AmigaOS4 .so support
9984 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9985 archive_expsym_cmds=''
9986 ;;
9987 m68k)
9988 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)'
9989 hardcode_libdir_flag_spec='-L$libdir'
9990 hardcode_minus_L=yes
9991 ;;
9992 esac
9993 ;;
9994
9995 bsdi[45]*)
9996 export_dynamic_flag_spec=-rdynamic
9997 ;;
9998
9999 cygwin* | mingw* | pw32* | cegcc*)
10000 # When not using gcc, we currently assume that we are using
10001 # Microsoft Visual C++.
10002 # hardcode_libdir_flag_spec is actually meaningless, as there is
10003 # no search path for DLLs.
10004 case $cc_basename in
10005 cl*)
10006 # Native MSVC
10007 hardcode_libdir_flag_spec=' '
10008 allow_undefined_flag=unsupported
10009 always_export_symbols=yes
10010 file_list_spec='@'
10011 # Tell ltmain to make .lib files, not .a files.
10012 libext=lib
10013 # Tell ltmain to make .dll files, not .so files.
10014 shrext_cmds=".dll"
10015 # FIXME: Setting linknames here is a bad hack.
10016 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10017 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10018 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10019 else
10020 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10021 fi~
10022 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10023 linknames='
10024 # The linker will not automatically build a static lib if we build a DLL.
10025 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10026 enable_shared_with_static_runtimes=yes
10027 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10028 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10029 # Don't use ranlib
10030 old_postinstall_cmds='chmod 644 $oldlib'
10031 postlink_cmds='lt_outputfile="@OUTPUT@"~
10032 lt_tool_outputfile="@TOOL_OUTPUT@"~
10033 case $lt_outputfile in
10034 *.exe|*.EXE) ;;
10035 *)
10036 lt_outputfile="$lt_outputfile.exe"
10037 lt_tool_outputfile="$lt_tool_outputfile.exe"
10038 ;;
10039 esac~
10040 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10041 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10042 $RM "$lt_outputfile.manifest";
10043 fi'
10044 ;;
10045 *)
10046 # Assume MSVC wrapper
10047 hardcode_libdir_flag_spec=' '
10048 allow_undefined_flag=unsupported
10049 # Tell ltmain to make .lib files, not .a files.
10050 libext=lib
10051 # Tell ltmain to make .dll files, not .so files.
10052 shrext_cmds=".dll"
10053 # FIXME: Setting linknames here is a bad hack.
10054 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10055 # The linker will automatically build a .lib file if we build a DLL.
10056 old_archive_from_new_cmds='true'
10057 # FIXME: Should let the user specify the lib program.
10058 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10059 enable_shared_with_static_runtimes=yes
10060 ;;
10061 esac
10062 ;;
10063
10064 darwin* | rhapsody*)
10065
10066
10067 archive_cmds_need_lc=no
10068 hardcode_direct=no
10069 hardcode_automatic=yes
10070 hardcode_shlibpath_var=unsupported
10071 if test "$lt_cv_ld_force_load" = "yes"; then
10072 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\"`'
10073
10074 else
10075 whole_archive_flag_spec=''
10076 fi
10077 link_all_deplibs=yes
10078 allow_undefined_flag="$_lt_dar_allow_undefined"
10079 case $cc_basename in
10080 ifort*) _lt_dar_can_shared=yes ;;
10081 *) _lt_dar_can_shared=$GCC ;;
10082 esac
10083 if test "$_lt_dar_can_shared" = "yes"; then
10084 output_verbose_link_cmd=func_echo_all
10085 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10086 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10087 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}"
10088 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}"
10089
10090 else
10091 ld_shlibs=no
10092 fi
10093
10094 ;;
10095
10096 dgux*)
10097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_libdir_flag_spec='-L$libdir'
10099 hardcode_shlibpath_var=no
10100 ;;
10101
10102 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10103 # support. Future versions do this automatically, but an explicit c++rt0.o
10104 # does not break anything, and helps significantly (at the cost of a little
10105 # extra space).
10106 freebsd2.2*)
10107 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10108 hardcode_libdir_flag_spec='-R$libdir'
10109 hardcode_direct=yes
10110 hardcode_shlibpath_var=no
10111 ;;
10112
10113 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10114 freebsd2.*)
10115 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10116 hardcode_direct=yes
10117 hardcode_minus_L=yes
10118 hardcode_shlibpath_var=no
10119 ;;
10120
10121 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10122 freebsd* | dragonfly*)
10123 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10124 hardcode_libdir_flag_spec='-R$libdir'
10125 hardcode_direct=yes
10126 hardcode_shlibpath_var=no
10127 ;;
10128
10129 hpux9*)
10130 if test "$GCC" = yes; then
10131 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10132 else
10133 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10134 fi
10135 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10136 hardcode_libdir_separator=:
10137 hardcode_direct=yes
10138
10139 # hardcode_minus_L: Not really in the search PATH,
10140 # but as the default location of the library.
10141 hardcode_minus_L=yes
10142 export_dynamic_flag_spec='${wl}-E'
10143 ;;
10144
10145 hpux10*)
10146 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10147 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10148 else
10149 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10150 fi
10151 if test "$with_gnu_ld" = no; then
10152 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10153 hardcode_libdir_separator=:
10154 hardcode_direct=yes
10155 hardcode_direct_absolute=yes
10156 export_dynamic_flag_spec='${wl}-E'
10157 # hardcode_minus_L: Not really in the search PATH,
10158 # but as the default location of the library.
10159 hardcode_minus_L=yes
10160 fi
10161 ;;
10162
10163 hpux11*)
10164 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10165 case $host_cpu in
10166 hppa*64*)
10167 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10168 ;;
10169 ia64*)
10170 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10171 ;;
10172 *)
10173 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10174 ;;
10175 esac
10176 else
10177 case $host_cpu in
10178 hppa*64*)
10179 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 ;;
10181 ia64*)
10182 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10183 ;;
10184 *)
10185
10186 # Older versions of the 11.00 compiler do not understand -b yet
10187 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10189 $as_echo_n "checking if $CC understands -b... " >&6; }
10190 if ${lt_cv_prog_compiler__b+:} false; then :
10191 $as_echo_n "(cached) " >&6
10192 else
10193 lt_cv_prog_compiler__b=no
10194 save_LDFLAGS="$LDFLAGS"
10195 LDFLAGS="$LDFLAGS -b"
10196 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10197 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10198 # The linker can only warn and ignore the option if not recognized
10199 # So say no if there are warnings
10200 if test -s conftest.err; then
10201 # Append any errors to the config.log.
10202 cat conftest.err 1>&5
10203 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10205 if diff conftest.exp conftest.er2 >/dev/null; then
10206 lt_cv_prog_compiler__b=yes
10207 fi
10208 else
10209 lt_cv_prog_compiler__b=yes
10210 fi
10211 fi
10212 $RM -r conftest*
10213 LDFLAGS="$save_LDFLAGS"
10214
10215 fi
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10217 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10218
10219 if test x"$lt_cv_prog_compiler__b" = xyes; then
10220 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10221 else
10222 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10223 fi
10224
10225 ;;
10226 esac
10227 fi
10228 if test "$with_gnu_ld" = no; then
10229 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10230 hardcode_libdir_separator=:
10231
10232 case $host_cpu in
10233 hppa*64*|ia64*)
10234 hardcode_direct=no
10235 hardcode_shlibpath_var=no
10236 ;;
10237 *)
10238 hardcode_direct=yes
10239 hardcode_direct_absolute=yes
10240 export_dynamic_flag_spec='${wl}-E'
10241
10242 # hardcode_minus_L: Not really in the search PATH,
10243 # but as the default location of the library.
10244 hardcode_minus_L=yes
10245 ;;
10246 esac
10247 fi
10248 ;;
10249
10250 irix5* | irix6* | nonstopux*)
10251 if test "$GCC" = yes; then
10252 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'
10253 # Try to use the -exported_symbol ld option, if it does not
10254 # work, assume that -exports_file does not work either and
10255 # implicitly export all symbols.
10256 # This should be the same for all languages, so no per-tag cache variable.
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10258 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10259 if ${lt_cv_irix_exported_symbol+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 save_LDFLAGS="$LDFLAGS"
10263 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10266 int foo (void) { return 0; }
10267 _ACEOF
10268 if ac_fn_c_try_link "$LINENO"; then :
10269 lt_cv_irix_exported_symbol=yes
10270 else
10271 lt_cv_irix_exported_symbol=no
10272 fi
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LDFLAGS="$save_LDFLAGS"
10276 fi
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10278 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10279 if test "$lt_cv_irix_exported_symbol" = yes; then
10280 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'
10281 fi
10282 else
10283 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'
10284 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'
10285 fi
10286 archive_cmds_need_lc='no'
10287 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10288 hardcode_libdir_separator=:
10289 inherit_rpath=yes
10290 link_all_deplibs=yes
10291 ;;
10292
10293 netbsd*)
10294 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10295 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10296 else
10297 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10298 fi
10299 hardcode_libdir_flag_spec='-R$libdir'
10300 hardcode_direct=yes
10301 hardcode_shlibpath_var=no
10302 ;;
10303
10304 newsos6)
10305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_direct=yes
10307 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10308 hardcode_libdir_separator=:
10309 hardcode_shlibpath_var=no
10310 ;;
10311
10312 *nto* | *qnx*)
10313 ;;
10314
10315 openbsd*)
10316 if test -f /usr/libexec/ld.so; then
10317 hardcode_direct=yes
10318 hardcode_shlibpath_var=no
10319 hardcode_direct_absolute=yes
10320 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10321 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10322 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10323 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10324 export_dynamic_flag_spec='${wl}-E'
10325 else
10326 case $host_os in
10327 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10328 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10329 hardcode_libdir_flag_spec='-R$libdir'
10330 ;;
10331 *)
10332 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10333 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10334 ;;
10335 esac
10336 fi
10337 else
10338 ld_shlibs=no
10339 fi
10340 ;;
10341
10342 os2*)
10343 hardcode_libdir_flag_spec='-L$libdir'
10344 hardcode_minus_L=yes
10345 allow_undefined_flag=unsupported
10346 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10347 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10348 ;;
10349
10350 osf3*)
10351 if test "$GCC" = yes; then
10352 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10353 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'
10354 else
10355 allow_undefined_flag=' -expect_unresolved \*'
10356 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'
10357 fi
10358 archive_cmds_need_lc='no'
10359 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10360 hardcode_libdir_separator=:
10361 ;;
10362
10363 osf4* | osf5*) # as osf3* with the addition of -msym flag
10364 if test "$GCC" = yes; then
10365 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10366 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'
10367 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10368 else
10369 allow_undefined_flag=' -expect_unresolved \*'
10370 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'
10371 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~
10372 $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'
10373
10374 # Both c and cxx compiler support -rpath directly
10375 hardcode_libdir_flag_spec='-rpath $libdir'
10376 fi
10377 archive_cmds_need_lc='no'
10378 hardcode_libdir_separator=:
10379 ;;
10380
10381 solaris*)
10382 no_undefined_flag=' -z defs'
10383 if test "$GCC" = yes; then
10384 wlarc='${wl}'
10385 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10386 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10387 $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'
10388 else
10389 case `$CC -V 2>&1` in
10390 *"Compilers 5.0"*)
10391 wlarc=''
10392 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10394 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10395 ;;
10396 *)
10397 wlarc='${wl}'
10398 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10399 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10400 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10401 ;;
10402 esac
10403 fi
10404 hardcode_libdir_flag_spec='-R$libdir'
10405 hardcode_shlibpath_var=no
10406 case $host_os in
10407 solaris2.[0-5] | solaris2.[0-5].*) ;;
10408 *)
10409 # The compiler driver will combine and reorder linker options,
10410 # but understands `-z linker_flag'. GCC discards it without `$wl',
10411 # but is careful enough not to reorder.
10412 # Supported since Solaris 2.6 (maybe 2.5.1?)
10413 if test "$GCC" = yes; then
10414 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10415 else
10416 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10417 fi
10418 ;;
10419 esac
10420 link_all_deplibs=yes
10421 ;;
10422
10423 sunos4*)
10424 if test "x$host_vendor" = xsequent; then
10425 # Use $CC to link under sequent, because it throws in some extra .o
10426 # files that make .init and .fini sections work.
10427 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10428 else
10429 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10430 fi
10431 hardcode_libdir_flag_spec='-L$libdir'
10432 hardcode_direct=yes
10433 hardcode_minus_L=yes
10434 hardcode_shlibpath_var=no
10435 ;;
10436
10437 sysv4)
10438 case $host_vendor in
10439 sni)
10440 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10441 hardcode_direct=yes # is this really true???
10442 ;;
10443 siemens)
10444 ## LD is ld it makes a PLAMLIB
10445 ## CC just makes a GrossModule.
10446 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10447 reload_cmds='$CC -r -o $output$reload_objs'
10448 hardcode_direct=no
10449 ;;
10450 motorola)
10451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10453 ;;
10454 esac
10455 runpath_var='LD_RUN_PATH'
10456 hardcode_shlibpath_var=no
10457 ;;
10458
10459 sysv4.3*)
10460 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10461 hardcode_shlibpath_var=no
10462 export_dynamic_flag_spec='-Bexport'
10463 ;;
10464
10465 sysv4*MP*)
10466 if test -d /usr/nec; then
10467 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10468 hardcode_shlibpath_var=no
10469 runpath_var=LD_RUN_PATH
10470 hardcode_runpath_var=yes
10471 ld_shlibs=yes
10472 fi
10473 ;;
10474
10475 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10476 no_undefined_flag='${wl}-z,text'
10477 archive_cmds_need_lc=no
10478 hardcode_shlibpath_var=no
10479 runpath_var='LD_RUN_PATH'
10480
10481 if test "$GCC" = yes; then
10482 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10483 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 else
10485 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10486 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10487 fi
10488 ;;
10489
10490 sysv5* | sco3.2v5* | sco5v6*)
10491 # Note: We can NOT use -z defs as we might desire, because we do not
10492 # link with -lc, and that would cause any symbols used from libc to
10493 # always be unresolved, which means just about no library would
10494 # ever link correctly. If we're not using GNU ld we use -z text
10495 # though, which does catch some bad symbols but isn't as heavy-handed
10496 # as -z defs.
10497 no_undefined_flag='${wl}-z,text'
10498 allow_undefined_flag='${wl}-z,nodefs'
10499 archive_cmds_need_lc=no
10500 hardcode_shlibpath_var=no
10501 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10502 hardcode_libdir_separator=':'
10503 link_all_deplibs=yes
10504 export_dynamic_flag_spec='${wl}-Bexport'
10505 runpath_var='LD_RUN_PATH'
10506
10507 if test "$GCC" = yes; then
10508 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10509 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10510 else
10511 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10512 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10513 fi
10514 ;;
10515
10516 uts4*)
10517 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10518 hardcode_libdir_flag_spec='-L$libdir'
10519 hardcode_shlibpath_var=no
10520 ;;
10521
10522 *)
10523 ld_shlibs=no
10524 ;;
10525 esac
10526
10527 if test x$host_vendor = xsni; then
10528 case $host in
10529 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10530 export_dynamic_flag_spec='${wl}-Blargedynsym'
10531 ;;
10532 esac
10533 fi
10534 fi
10535
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10537 $as_echo "$ld_shlibs" >&6; }
10538 test "$ld_shlibs" = no && can_build_shared=no
10539
10540 with_gnu_ld=$with_gnu_ld
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556 #
10557 # Do we need to explicitly link libc?
10558 #
10559 case "x$archive_cmds_need_lc" in
10560 x|xyes)
10561 # Assume -lc should be added
10562 archive_cmds_need_lc=yes
10563
10564 if test "$enable_shared" = yes && test "$GCC" = yes; then
10565 case $archive_cmds in
10566 *'~'*)
10567 # FIXME: we may have to deal with multi-command sequences.
10568 ;;
10569 '$CC '*)
10570 # Test whether the compiler implicitly links with -lc since on some
10571 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10572 # to ld, don't add -lc before -lgcc.
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10574 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10575 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10576 $as_echo_n "(cached) " >&6
10577 else
10578 $RM conftest*
10579 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10580
10581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10582 (eval $ac_compile) 2>&5
10583 ac_status=$?
10584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10585 test $ac_status = 0; } 2>conftest.err; then
10586 soname=conftest
10587 lib=conftest
10588 libobjs=conftest.$ac_objext
10589 deplibs=
10590 wl=$lt_prog_compiler_wl
10591 pic_flag=$lt_prog_compiler_pic
10592 compiler_flags=-v
10593 linker_flags=-v
10594 verstring=
10595 output_objdir=.
10596 libname=conftest
10597 lt_save_allow_undefined_flag=$allow_undefined_flag
10598 allow_undefined_flag=
10599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10600 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10601 ac_status=$?
10602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10603 test $ac_status = 0; }
10604 then
10605 lt_cv_archive_cmds_need_lc=no
10606 else
10607 lt_cv_archive_cmds_need_lc=yes
10608 fi
10609 allow_undefined_flag=$lt_save_allow_undefined_flag
10610 else
10611 cat conftest.err 1>&5
10612 fi
10613 $RM conftest*
10614
10615 fi
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10617 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10618 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10619 ;;
10620 esac
10621 fi
10622 ;;
10623 esac
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10777 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10778
10779 if test "$GCC" = yes; then
10780 case $host_os in
10781 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10782 *) lt_awk_arg="/^libraries:/" ;;
10783 esac
10784 case $host_os in
10785 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10786 *) lt_sed_strip_eq="s,=/,/,g" ;;
10787 esac
10788 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10789 case $lt_search_path_spec in
10790 *\;*)
10791 # if the path contains ";" then we assume it to be the separator
10792 # otherwise default to the standard path separator (i.e. ":") - it is
10793 # assumed that no part of a normal pathname contains ";" but that should
10794 # okay in the real world where ";" in dirpaths is itself problematic.
10795 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10796 ;;
10797 *)
10798 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10799 ;;
10800 esac
10801 # Ok, now we have the path, separated by spaces, we can step through it
10802 # and add multilib dir if necessary.
10803 lt_tmp_lt_search_path_spec=
10804 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10805 for lt_sys_path in $lt_search_path_spec; do
10806 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10807 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10808 else
10809 test -d "$lt_sys_path" && \
10810 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10811 fi
10812 done
10813 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10814 BEGIN {RS=" "; FS="/|\n";} {
10815 lt_foo="";
10816 lt_count=0;
10817 for (lt_i = NF; lt_i > 0; lt_i--) {
10818 if ($lt_i != "" && $lt_i != ".") {
10819 if ($lt_i == "..") {
10820 lt_count++;
10821 } else {
10822 if (lt_count == 0) {
10823 lt_foo="/" $lt_i lt_foo;
10824 } else {
10825 lt_count--;
10826 }
10827 }
10828 }
10829 }
10830 if (lt_foo != "") { lt_freq[lt_foo]++; }
10831 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10832 }'`
10833 # AWK program above erroneously prepends '/' to C:/dos/paths
10834 # for these hosts.
10835 case $host_os in
10836 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10837 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10838 esac
10839 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10840 else
10841 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10842 fi
10843 library_names_spec=
10844 libname_spec='lib$name'
10845 soname_spec=
10846 shrext_cmds=".so"
10847 postinstall_cmds=
10848 postuninstall_cmds=
10849 finish_cmds=
10850 finish_eval=
10851 shlibpath_var=
10852 shlibpath_overrides_runpath=unknown
10853 version_type=none
10854 dynamic_linker="$host_os ld.so"
10855 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10856 need_lib_prefix=unknown
10857 hardcode_into_libs=no
10858
10859 # when you set need_version to no, make sure it does not cause -set_version
10860 # flags to be left without arguments
10861 need_version=unknown
10862
10863 case $host_os in
10864 aix3*)
10865 version_type=linux # correct to gnu/linux during the next big refactor
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10867 shlibpath_var=LIBPATH
10868
10869 # AIX 3 has no versioning support, so we append a major version to the name.
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 ;;
10872
10873 aix[4-9]*)
10874 version_type=linux # correct to gnu/linux during the next big refactor
10875 need_lib_prefix=no
10876 need_version=no
10877 hardcode_into_libs=yes
10878 if test "$host_cpu" = ia64; then
10879 # AIX 5 supports IA64
10880 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 else
10883 # With GCC up to 2.95.x, collect2 would create an import file
10884 # for dependence libraries. The import file would start with
10885 # the line `#! .'. This would cause the generated library to
10886 # depend on `.', always an invalid library. This was fixed in
10887 # development snapshots of GCC prior to 3.0.
10888 case $host_os in
10889 aix4 | aix4.[01] | aix4.[01].*)
10890 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10891 echo ' yes '
10892 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10893 :
10894 else
10895 can_build_shared=no
10896 fi
10897 ;;
10898 esac
10899 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10900 # soname into executable. Probably we can add versioning support to
10901 # collect2, so additional links can be useful in future.
10902 if test "$aix_use_runtimelinking" = yes; then
10903 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10904 # instead of lib<name>.a to let people know that these are not
10905 # typical AIX shared libraries.
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907 else
10908 # We preserve .a as extension for shared libraries through AIX4.2
10909 # and later when we are not doing run time linking.
10910 library_names_spec='${libname}${release}.a $libname.a'
10911 soname_spec='${libname}${release}${shared_ext}$major'
10912 fi
10913 shlibpath_var=LIBPATH
10914 fi
10915 ;;
10916
10917 amigaos*)
10918 case $host_cpu in
10919 powerpc)
10920 # Since July 2007 AmigaOS4 officially supports .so libraries.
10921 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 ;;
10924 m68k)
10925 library_names_spec='$libname.ixlibrary $libname.a'
10926 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10927 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10928 ;;
10929 esac
10930 ;;
10931
10932 beos*)
10933 library_names_spec='${libname}${shared_ext}'
10934 dynamic_linker="$host_os ld.so"
10935 shlibpath_var=LIBRARY_PATH
10936 ;;
10937
10938 bsdi[45]*)
10939 version_type=linux # correct to gnu/linux during the next big refactor
10940 need_version=no
10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10946 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10947 # the default ld.so.conf also contains /usr/contrib/lib and
10948 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10949 # libtool to hard-code these into programs
10950 ;;
10951
10952 cygwin* | mingw* | pw32* | cegcc*)
10953 version_type=windows
10954 shrext_cmds=".dll"
10955 need_version=no
10956 need_lib_prefix=no
10957
10958 case $GCC,$cc_basename in
10959 yes,*)
10960 # gcc
10961 library_names_spec='$libname.dll.a'
10962 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10963 postinstall_cmds='base_file=`basename \${file}`~
10964 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10965 dldir=$destdir/`dirname \$dlpath`~
10966 test -d \$dldir || mkdir -p \$dldir~
10967 $install_prog $dir/$dlname \$dldir/$dlname~
10968 chmod a+x \$dldir/$dlname~
10969 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10970 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10971 fi'
10972 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10973 dlpath=$dir/\$dldll~
10974 $RM \$dlpath'
10975 shlibpath_overrides_runpath=yes
10976
10977 case $host_os in
10978 cygwin*)
10979 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10980 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10981
10982 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10983 ;;
10984 mingw* | cegcc*)
10985 # MinGW DLLs use traditional 'lib' prefix
10986 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10987 ;;
10988 pw32*)
10989 # pw32 DLLs use 'pw' prefix rather than 'lib'
10990 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10991 ;;
10992 esac
10993 dynamic_linker='Win32 ld.exe'
10994 ;;
10995
10996 *,cl*)
10997 # Native MSVC
10998 libname_spec='$name'
10999 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11000 library_names_spec='${libname}.dll.lib'
11001
11002 case $build_os in
11003 mingw*)
11004 sys_lib_search_path_spec=
11005 lt_save_ifs=$IFS
11006 IFS=';'
11007 for lt_path in $LIB
11008 do
11009 IFS=$lt_save_ifs
11010 # Let DOS variable expansion print the short 8.3 style file name.
11011 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11012 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11013 done
11014 IFS=$lt_save_ifs
11015 # Convert to MSYS style.
11016 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11017 ;;
11018 cygwin*)
11019 # Convert to unix form, then to dos form, then back to unix form
11020 # but this time dos style (no spaces!) so that the unix form looks
11021 # like /cygdrive/c/PROGRA~1:/cygdr...
11022 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11023 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11024 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11025 ;;
11026 *)
11027 sys_lib_search_path_spec="$LIB"
11028 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11029 # It is most probably a Windows format PATH.
11030 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11031 else
11032 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11033 fi
11034 # FIXME: find the short name or the path components, as spaces are
11035 # common. (e.g. "Program Files" -> "PROGRA~1")
11036 ;;
11037 esac
11038
11039 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11040 postinstall_cmds='base_file=`basename \${file}`~
11041 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11042 dldir=$destdir/`dirname \$dlpath`~
11043 test -d \$dldir || mkdir -p \$dldir~
11044 $install_prog $dir/$dlname \$dldir/$dlname'
11045 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11046 dlpath=$dir/\$dldll~
11047 $RM \$dlpath'
11048 shlibpath_overrides_runpath=yes
11049 dynamic_linker='Win32 link.exe'
11050 ;;
11051
11052 *)
11053 # Assume MSVC wrapper
11054 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11055 dynamic_linker='Win32 ld.exe'
11056 ;;
11057 esac
11058 # FIXME: first we should search . and the directory the executable is in
11059 shlibpath_var=PATH
11060 ;;
11061
11062 darwin* | rhapsody*)
11063 dynamic_linker="$host_os dyld"
11064 version_type=darwin
11065 need_lib_prefix=no
11066 need_version=no
11067 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11068 soname_spec='${libname}${release}${major}$shared_ext'
11069 shlibpath_overrides_runpath=yes
11070 shlibpath_var=DYLD_LIBRARY_PATH
11071 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11072
11073 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11074 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11075 ;;
11076
11077 dgux*)
11078 version_type=linux # correct to gnu/linux during the next big refactor
11079 need_lib_prefix=no
11080 need_version=no
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 ;;
11085
11086 freebsd* | dragonfly*)
11087 # DragonFly does not have aout. When/if they implement a new
11088 # versioning mechanism, adjust this.
11089 if test -x /usr/bin/objformat; then
11090 objformat=`/usr/bin/objformat`
11091 else
11092 case $host_os in
11093 freebsd[23].*) objformat=aout ;;
11094 *) objformat=elf ;;
11095 esac
11096 fi
11097 version_type=freebsd-$objformat
11098 case $version_type in
11099 freebsd-elf*)
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11101 need_version=no
11102 need_lib_prefix=no
11103 ;;
11104 freebsd-*)
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11106 need_version=yes
11107 ;;
11108 esac
11109 shlibpath_var=LD_LIBRARY_PATH
11110 case $host_os in
11111 freebsd2.*)
11112 shlibpath_overrides_runpath=yes
11113 ;;
11114 freebsd3.[01]* | freebsdelf3.[01]*)
11115 shlibpath_overrides_runpath=yes
11116 hardcode_into_libs=yes
11117 ;;
11118 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11119 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11120 shlibpath_overrides_runpath=no
11121 hardcode_into_libs=yes
11122 ;;
11123 *) # from 4.6 on, and DragonFly
11124 shlibpath_overrides_runpath=yes
11125 hardcode_into_libs=yes
11126 ;;
11127 esac
11128 ;;
11129
11130 gnu*)
11131 version_type=linux # correct to gnu/linux during the next big refactor
11132 need_lib_prefix=no
11133 need_version=no
11134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11135 soname_spec='${libname}${release}${shared_ext}$major'
11136 shlibpath_var=LD_LIBRARY_PATH
11137 shlibpath_overrides_runpath=no
11138 hardcode_into_libs=yes
11139 ;;
11140
11141 haiku*)
11142 version_type=linux # correct to gnu/linux during the next big refactor
11143 need_lib_prefix=no
11144 need_version=no
11145 dynamic_linker="$host_os runtime_loader"
11146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11147 soname_spec='${libname}${release}${shared_ext}$major'
11148 shlibpath_var=LIBRARY_PATH
11149 shlibpath_overrides_runpath=yes
11150 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11151 hardcode_into_libs=yes
11152 ;;
11153
11154 hpux9* | hpux10* | hpux11*)
11155 # Give a soname corresponding to the major version so that dld.sl refuses to
11156 # link against other versions.
11157 version_type=sunos
11158 need_lib_prefix=no
11159 need_version=no
11160 case $host_cpu in
11161 ia64*)
11162 shrext_cmds='.so'
11163 hardcode_into_libs=yes
11164 dynamic_linker="$host_os dld.so"
11165 shlibpath_var=LD_LIBRARY_PATH
11166 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11168 soname_spec='${libname}${release}${shared_ext}$major'
11169 if test "X$HPUX_IA64_MODE" = X32; then
11170 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11171 else
11172 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11173 fi
11174 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11175 ;;
11176 hppa*64*)
11177 shrext_cmds='.sl'
11178 hardcode_into_libs=yes
11179 dynamic_linker="$host_os dld.sl"
11180 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11181 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11183 soname_spec='${libname}${release}${shared_ext}$major'
11184 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11185 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11186 ;;
11187 *)
11188 shrext_cmds='.sl'
11189 dynamic_linker="$host_os dld.sl"
11190 shlibpath_var=SHLIB_PATH
11191 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11193 soname_spec='${libname}${release}${shared_ext}$major'
11194 ;;
11195 esac
11196 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11197 postinstall_cmds='chmod 555 $lib'
11198 # or fails outright, so override atomically:
11199 install_override_mode=555
11200 ;;
11201
11202 interix[3-9]*)
11203 version_type=linux # correct to gnu/linux during the next big refactor
11204 need_lib_prefix=no
11205 need_version=no
11206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11207 soname_spec='${libname}${release}${shared_ext}$major'
11208 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11209 shlibpath_var=LD_LIBRARY_PATH
11210 shlibpath_overrides_runpath=no
11211 hardcode_into_libs=yes
11212 ;;
11213
11214 irix5* | irix6* | nonstopux*)
11215 case $host_os in
11216 nonstopux*) version_type=nonstopux ;;
11217 *)
11218 if test "$lt_cv_prog_gnu_ld" = yes; then
11219 version_type=linux # correct to gnu/linux during the next big refactor
11220 else
11221 version_type=irix
11222 fi ;;
11223 esac
11224 need_lib_prefix=no
11225 need_version=no
11226 soname_spec='${libname}${release}${shared_ext}$major'
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11228 case $host_os in
11229 irix5* | nonstopux*)
11230 libsuff= shlibsuff=
11231 ;;
11232 *)
11233 case $LD in # libtool.m4 will add one of these switches to LD
11234 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11235 libsuff= shlibsuff= libmagic=32-bit;;
11236 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11237 libsuff=32 shlibsuff=N32 libmagic=N32;;
11238 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11239 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11240 *) libsuff= shlibsuff= libmagic=never-match;;
11241 esac
11242 ;;
11243 esac
11244 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11245 shlibpath_overrides_runpath=no
11246 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11247 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11248 hardcode_into_libs=yes
11249 ;;
11250
11251 # No shared lib support for Linux oldld, aout, or coff.
11252 linux*oldld* | linux*aout* | linux*coff*)
11253 dynamic_linker=no
11254 ;;
11255
11256 # This must be glibc/ELF.
11257 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11258 version_type=linux # correct to gnu/linux during the next big refactor
11259 need_lib_prefix=no
11260 need_version=no
11261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11262 soname_spec='${libname}${release}${shared_ext}$major'
11263 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11264 shlibpath_var=LD_LIBRARY_PATH
11265 shlibpath_overrides_runpath=no
11266
11267 # Some binutils ld are patched to set DT_RUNPATH
11268 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 lt_cv_shlibpath_overrides_runpath=no
11272 save_LDFLAGS=$LDFLAGS
11273 save_libdir=$libdir
11274 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11275 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278
11279 int
11280 main ()
11281 {
11282
11283 ;
11284 return 0;
11285 }
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11289 lt_cv_shlibpath_overrides_runpath=yes
11290 fi
11291 fi
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LDFLAGS=$save_LDFLAGS
11295 libdir=$save_libdir
11296
11297 fi
11298
11299 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11300
11301 # This implies no fast_install, which is unacceptable.
11302 # Some rework will be needed to allow for fast_install
11303 # before this can be enabled.
11304 hardcode_into_libs=yes
11305
11306 # Add ABI-specific directories to the system library path.
11307 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11308
11309 # Append ld.so.conf contents to the search path
11310 if test -f /etc/ld.so.conf; then
11311 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' ' '`
11312 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11313
11314 fi
11315
11316 # We used to test for /lib/ld.so.1 and disable shared libraries on
11317 # powerpc, because MkLinux only supported shared libraries with the
11318 # GNU dynamic linker. Since this was broken with cross compilers,
11319 # most powerpc-linux boxes support dynamic linking these days and
11320 # people can always --disable-shared, the test was removed, and we
11321 # assume the GNU/Linux dynamic linker is in use.
11322 dynamic_linker='GNU/Linux ld.so'
11323 ;;
11324
11325 netbsd*)
11326 version_type=sunos
11327 need_lib_prefix=no
11328 need_version=no
11329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11331 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11332 dynamic_linker='NetBSD (a.out) ld.so'
11333 else
11334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11335 soname_spec='${libname}${release}${shared_ext}$major'
11336 dynamic_linker='NetBSD ld.elf_so'
11337 fi
11338 shlibpath_var=LD_LIBRARY_PATH
11339 shlibpath_overrides_runpath=yes
11340 hardcode_into_libs=yes
11341 ;;
11342
11343 newsos6)
11344 version_type=linux # correct to gnu/linux during the next big refactor
11345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 shlibpath_var=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath=yes
11348 ;;
11349
11350 *nto* | *qnx*)
11351 version_type=qnx
11352 need_lib_prefix=no
11353 need_version=no
11354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11355 soname_spec='${libname}${release}${shared_ext}$major'
11356 shlibpath_var=LD_LIBRARY_PATH
11357 shlibpath_overrides_runpath=no
11358 hardcode_into_libs=yes
11359 dynamic_linker='ldqnx.so'
11360 ;;
11361
11362 openbsd*)
11363 version_type=sunos
11364 sys_lib_dlsearch_path_spec="/usr/lib"
11365 need_lib_prefix=no
11366 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11367 case $host_os in
11368 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11369 *) need_version=no ;;
11370 esac
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11372 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11375 case $host_os in
11376 openbsd2.[89] | openbsd2.[89].*)
11377 shlibpath_overrides_runpath=no
11378 ;;
11379 *)
11380 shlibpath_overrides_runpath=yes
11381 ;;
11382 esac
11383 else
11384 shlibpath_overrides_runpath=yes
11385 fi
11386 ;;
11387
11388 os2*)
11389 libname_spec='$name'
11390 shrext_cmds=".dll"
11391 need_lib_prefix=no
11392 library_names_spec='$libname${shared_ext} $libname.a'
11393 dynamic_linker='OS/2 ld.exe'
11394 shlibpath_var=LIBPATH
11395 ;;
11396
11397 osf3* | osf4* | osf5*)
11398 version_type=osf
11399 need_lib_prefix=no
11400 need_version=no
11401 soname_spec='${libname}${release}${shared_ext}$major'
11402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403 shlibpath_var=LD_LIBRARY_PATH
11404 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11405 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11406 ;;
11407
11408 rdos*)
11409 dynamic_linker=no
11410 ;;
11411
11412 solaris*)
11413 version_type=linux # correct to gnu/linux during the next big refactor
11414 need_lib_prefix=no
11415 need_version=no
11416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417 soname_spec='${libname}${release}${shared_ext}$major'
11418 shlibpath_var=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath=yes
11420 hardcode_into_libs=yes
11421 # ldd complains unless libraries are executable
11422 postinstall_cmds='chmod +x $lib'
11423 ;;
11424
11425 sunos4*)
11426 version_type=sunos
11427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11428 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11429 shlibpath_var=LD_LIBRARY_PATH
11430 shlibpath_overrides_runpath=yes
11431 if test "$with_gnu_ld" = yes; then
11432 need_lib_prefix=no
11433 fi
11434 need_version=yes
11435 ;;
11436
11437 sysv4 | sysv4.3*)
11438 version_type=linux # correct to gnu/linux during the next big refactor
11439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 soname_spec='${libname}${release}${shared_ext}$major'
11441 shlibpath_var=LD_LIBRARY_PATH
11442 case $host_vendor in
11443 sni)
11444 shlibpath_overrides_runpath=no
11445 need_lib_prefix=no
11446 runpath_var=LD_RUN_PATH
11447 ;;
11448 siemens)
11449 need_lib_prefix=no
11450 ;;
11451 motorola)
11452 need_lib_prefix=no
11453 need_version=no
11454 shlibpath_overrides_runpath=no
11455 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11456 ;;
11457 esac
11458 ;;
11459
11460 sysv4*MP*)
11461 if test -d /usr/nec ;then
11462 version_type=linux # correct to gnu/linux during the next big refactor
11463 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11464 soname_spec='$libname${shared_ext}.$major'
11465 shlibpath_var=LD_LIBRARY_PATH
11466 fi
11467 ;;
11468
11469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11470 version_type=freebsd-elf
11471 need_lib_prefix=no
11472 need_version=no
11473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11474 soname_spec='${libname}${release}${shared_ext}$major'
11475 shlibpath_var=LD_LIBRARY_PATH
11476 shlibpath_overrides_runpath=yes
11477 hardcode_into_libs=yes
11478 if test "$with_gnu_ld" = yes; then
11479 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11480 else
11481 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11482 case $host_os in
11483 sco3.2v5*)
11484 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11485 ;;
11486 esac
11487 fi
11488 sys_lib_dlsearch_path_spec='/usr/lib'
11489 ;;
11490
11491 tpf*)
11492 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11493 version_type=linux # correct to gnu/linux during the next big refactor
11494 need_lib_prefix=no
11495 need_version=no
11496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11497 shlibpath_var=LD_LIBRARY_PATH
11498 shlibpath_overrides_runpath=no
11499 hardcode_into_libs=yes
11500 ;;
11501
11502 uts4*)
11503 version_type=linux # correct to gnu/linux during the next big refactor
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 soname_spec='${libname}${release}${shared_ext}$major'
11506 shlibpath_var=LD_LIBRARY_PATH
11507 ;;
11508
11509 *)
11510 dynamic_linker=no
11511 ;;
11512 esac
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11514 $as_echo "$dynamic_linker" >&6; }
11515 test "$dynamic_linker" = no && can_build_shared=no
11516
11517 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11518 if test "$GCC" = yes; then
11519 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11520 fi
11521
11522 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11523 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11524 fi
11525 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11526 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11527 fi
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11621 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11622 hardcode_action=
11623 if test -n "$hardcode_libdir_flag_spec" ||
11624 test -n "$runpath_var" ||
11625 test "X$hardcode_automatic" = "Xyes" ; then
11626
11627 # We can hardcode non-existent directories.
11628 if test "$hardcode_direct" != no &&
11629 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11630 # have to relink, otherwise we might link with an installed library
11631 # when we should be linking with a yet-to-be-installed one
11632 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11633 test "$hardcode_minus_L" != no; then
11634 # Linking always hardcodes the temporary library directory.
11635 hardcode_action=relink
11636 else
11637 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11638 hardcode_action=immediate
11639 fi
11640 else
11641 # We cannot hardcode anything, or else we can only hardcode existing
11642 # directories.
11643 hardcode_action=unsupported
11644 fi
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11646 $as_echo "$hardcode_action" >&6; }
11647
11648 if test "$hardcode_action" = relink ||
11649 test "$inherit_rpath" = yes; then
11650 # Fast installation is not supported
11651 enable_fast_install=no
11652 elif test "$shlibpath_overrides_runpath" = yes ||
11653 test "$enable_shared" = no; then
11654 # Fast installation is not necessary
11655 enable_fast_install=needless
11656 fi
11657
11658
11659
11660
11661
11662
11663 if test "x$enable_dlopen" != xyes; then
11664 enable_dlopen=unknown
11665 enable_dlopen_self=unknown
11666 enable_dlopen_self_static=unknown
11667 else
11668 lt_cv_dlopen=no
11669 lt_cv_dlopen_libs=
11670
11671 case $host_os in
11672 beos*)
11673 lt_cv_dlopen="load_add_on"
11674 lt_cv_dlopen_libs=
11675 lt_cv_dlopen_self=yes
11676 ;;
11677
11678 mingw* | pw32* | cegcc*)
11679 lt_cv_dlopen="LoadLibrary"
11680 lt_cv_dlopen_libs=
11681 ;;
11682
11683 cygwin*)
11684 lt_cv_dlopen="dlopen"
11685 lt_cv_dlopen_libs=
11686 ;;
11687
11688 darwin*)
11689 # if libdl is installed we need to link against it
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11691 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11692 if ${ac_cv_lib_dl_dlopen+:} false; then :
11693 $as_echo_n "(cached) " >&6
11694 else
11695 ac_check_lib_save_LIBS=$LIBS
11696 LIBS="-ldl $LIBS"
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11699
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11703 #ifdef __cplusplus
11704 extern "C"
11705 #endif
11706 char dlopen ();
11707 int
11708 main ()
11709 {
11710 return dlopen ();
11711 ;
11712 return 0;
11713 }
11714 _ACEOF
11715 if ac_fn_c_try_link "$LINENO"; then :
11716 ac_cv_lib_dl_dlopen=yes
11717 else
11718 ac_cv_lib_dl_dlopen=no
11719 fi
11720 rm -f core conftest.err conftest.$ac_objext \
11721 conftest$ac_exeext conftest.$ac_ext
11722 LIBS=$ac_check_lib_save_LIBS
11723 fi
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11725 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11726 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11727 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11728 else
11729
11730 lt_cv_dlopen="dyld"
11731 lt_cv_dlopen_libs=
11732 lt_cv_dlopen_self=yes
11733
11734 fi
11735
11736 ;;
11737
11738 *)
11739 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11740 if test "x$ac_cv_func_shl_load" = xyes; then :
11741 lt_cv_dlopen="shl_load"
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11744 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11745 if ${ac_cv_lib_dld_shl_load+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_lib_save_LIBS=$LIBS
11749 LIBS="-ldld $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11752
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char shl_load ();
11760 int
11761 main ()
11762 {
11763 return shl_load ();
11764 ;
11765 return 0;
11766 }
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 ac_cv_lib_dld_shl_load=yes
11770 else
11771 ac_cv_lib_dld_shl_load=no
11772 fi
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 LIBS=$ac_check_lib_save_LIBS
11776 fi
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11778 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11779 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11780 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11781 else
11782 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11783 if test "x$ac_cv_func_dlopen" = xyes; then :
11784 lt_cv_dlopen="dlopen"
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11788 if ${ac_cv_lib_dl_dlopen+:} false; then :
11789 $as_echo_n "(cached) " >&6
11790 else
11791 ac_check_lib_save_LIBS=$LIBS
11792 LIBS="-ldl $LIBS"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11795
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 char dlopen ();
11803 int
11804 main ()
11805 {
11806 return dlopen ();
11807 ;
11808 return 0;
11809 }
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"; then :
11812 ac_cv_lib_dl_dlopen=yes
11813 else
11814 ac_cv_lib_dl_dlopen=no
11815 fi
11816 rm -f core conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_lib_save_LIBS
11819 fi
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11822 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11823 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11824 else
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11826 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11827 if ${ac_cv_lib_svld_dlopen+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lsvld $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11834
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char dlopen ();
11842 int
11843 main ()
11844 {
11845 return dlopen ();
11846 ;
11847 return 0;
11848 }
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 ac_cv_lib_svld_dlopen=yes
11852 else
11853 ac_cv_lib_svld_dlopen=no
11854 fi
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11858 fi
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11860 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11861 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11862 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11863 else
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11865 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11866 if ${ac_cv_lib_dld_dld_link+:} false; then :
11867 $as_echo_n "(cached) " >&6
11868 else
11869 ac_check_lib_save_LIBS=$LIBS
11870 LIBS="-ldld $LIBS"
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11873
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11877 #ifdef __cplusplus
11878 extern "C"
11879 #endif
11880 char dld_link ();
11881 int
11882 main ()
11883 {
11884 return dld_link ();
11885 ;
11886 return 0;
11887 }
11888 _ACEOF
11889 if ac_fn_c_try_link "$LINENO"; then :
11890 ac_cv_lib_dld_dld_link=yes
11891 else
11892 ac_cv_lib_dld_dld_link=no
11893 fi
11894 rm -f core conftest.err conftest.$ac_objext \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11897 fi
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11899 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11900 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11901 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11902 fi
11903
11904
11905 fi
11906
11907
11908 fi
11909
11910
11911 fi
11912
11913
11914 fi
11915
11916
11917 fi
11918
11919 ;;
11920 esac
11921
11922 if test "x$lt_cv_dlopen" != xno; then
11923 enable_dlopen=yes
11924 else
11925 enable_dlopen=no
11926 fi
11927
11928 case $lt_cv_dlopen in
11929 dlopen)
11930 save_CPPFLAGS="$CPPFLAGS"
11931 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11932
11933 save_LDFLAGS="$LDFLAGS"
11934 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11935
11936 save_LIBS="$LIBS"
11937 LIBS="$lt_cv_dlopen_libs $LIBS"
11938
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11940 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11941 if ${lt_cv_dlopen_self+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 if test "$cross_compiling" = yes; then :
11945 lt_cv_dlopen_self=cross
11946 else
11947 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11948 lt_status=$lt_dlunknown
11949 cat > conftest.$ac_ext <<_LT_EOF
11950 #line $LINENO "configure"
11951 #include "confdefs.h"
11952
11953 #if HAVE_DLFCN_H
11954 #include <dlfcn.h>
11955 #endif
11956
11957 #include <stdio.h>
11958
11959 #ifdef RTLD_GLOBAL
11960 # define LT_DLGLOBAL RTLD_GLOBAL
11961 #else
11962 # ifdef DL_GLOBAL
11963 # define LT_DLGLOBAL DL_GLOBAL
11964 # else
11965 # define LT_DLGLOBAL 0
11966 # endif
11967 #endif
11968
11969 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11970 find out it does not work in some platform. */
11971 #ifndef LT_DLLAZY_OR_NOW
11972 # ifdef RTLD_LAZY
11973 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11974 # else
11975 # ifdef DL_LAZY
11976 # define LT_DLLAZY_OR_NOW DL_LAZY
11977 # else
11978 # ifdef RTLD_NOW
11979 # define LT_DLLAZY_OR_NOW RTLD_NOW
11980 # else
11981 # ifdef DL_NOW
11982 # define LT_DLLAZY_OR_NOW DL_NOW
11983 # else
11984 # define LT_DLLAZY_OR_NOW 0
11985 # endif
11986 # endif
11987 # endif
11988 # endif
11989 #endif
11990
11991 /* When -fvisbility=hidden is used, assume the code has been annotated
11992 correspondingly for the symbols needed. */
11993 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11994 int fnord () __attribute__((visibility("default")));
11995 #endif
11996
11997 int fnord () { return 42; }
11998 int main ()
11999 {
12000 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12001 int status = $lt_dlunknown;
12002
12003 if (self)
12004 {
12005 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12006 else
12007 {
12008 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12009 else puts (dlerror ());
12010 }
12011 /* dlclose (self); */
12012 }
12013 else
12014 puts (dlerror ());
12015
12016 return status;
12017 }
12018 _LT_EOF
12019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12020 (eval $ac_link) 2>&5
12021 ac_status=$?
12022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12023 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12024 (./conftest; exit; ) >&5 2>/dev/null
12025 lt_status=$?
12026 case x$lt_status in
12027 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12028 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12029 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12030 esac
12031 else :
12032 # compilation failed
12033 lt_cv_dlopen_self=no
12034 fi
12035 fi
12036 rm -fr conftest*
12037
12038
12039 fi
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12041 $as_echo "$lt_cv_dlopen_self" >&6; }
12042
12043 if test "x$lt_cv_dlopen_self" = xyes; then
12044 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12046 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12047 if ${lt_cv_dlopen_self_static+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 if test "$cross_compiling" = yes; then :
12051 lt_cv_dlopen_self_static=cross
12052 else
12053 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12054 lt_status=$lt_dlunknown
12055 cat > conftest.$ac_ext <<_LT_EOF
12056 #line $LINENO "configure"
12057 #include "confdefs.h"
12058
12059 #if HAVE_DLFCN_H
12060 #include <dlfcn.h>
12061 #endif
12062
12063 #include <stdio.h>
12064
12065 #ifdef RTLD_GLOBAL
12066 # define LT_DLGLOBAL RTLD_GLOBAL
12067 #else
12068 # ifdef DL_GLOBAL
12069 # define LT_DLGLOBAL DL_GLOBAL
12070 # else
12071 # define LT_DLGLOBAL 0
12072 # endif
12073 #endif
12074
12075 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12076 find out it does not work in some platform. */
12077 #ifndef LT_DLLAZY_OR_NOW
12078 # ifdef RTLD_LAZY
12079 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12080 # else
12081 # ifdef DL_LAZY
12082 # define LT_DLLAZY_OR_NOW DL_LAZY
12083 # else
12084 # ifdef RTLD_NOW
12085 # define LT_DLLAZY_OR_NOW RTLD_NOW
12086 # else
12087 # ifdef DL_NOW
12088 # define LT_DLLAZY_OR_NOW DL_NOW
12089 # else
12090 # define LT_DLLAZY_OR_NOW 0
12091 # endif
12092 # endif
12093 # endif
12094 # endif
12095 #endif
12096
12097 /* When -fvisbility=hidden is used, assume the code has been annotated
12098 correspondingly for the symbols needed. */
12099 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12100 int fnord () __attribute__((visibility("default")));
12101 #endif
12102
12103 int fnord () { return 42; }
12104 int main ()
12105 {
12106 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12107 int status = $lt_dlunknown;
12108
12109 if (self)
12110 {
12111 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12112 else
12113 {
12114 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12115 else puts (dlerror ());
12116 }
12117 /* dlclose (self); */
12118 }
12119 else
12120 puts (dlerror ());
12121
12122 return status;
12123 }
12124 _LT_EOF
12125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12126 (eval $ac_link) 2>&5
12127 ac_status=$?
12128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12129 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12130 (./conftest; exit; ) >&5 2>/dev/null
12131 lt_status=$?
12132 case x$lt_status in
12133 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12134 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12135 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12136 esac
12137 else :
12138 # compilation failed
12139 lt_cv_dlopen_self_static=no
12140 fi
12141 fi
12142 rm -fr conftest*
12143
12144
12145 fi
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12147 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12148 fi
12149
12150 CPPFLAGS="$save_CPPFLAGS"
12151 LDFLAGS="$save_LDFLAGS"
12152 LIBS="$save_LIBS"
12153 ;;
12154 esac
12155
12156 case $lt_cv_dlopen_self in
12157 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12158 *) enable_dlopen_self=unknown ;;
12159 esac
12160
12161 case $lt_cv_dlopen_self_static in
12162 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12163 *) enable_dlopen_self_static=unknown ;;
12164 esac
12165 fi
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183 striplib=
12184 old_striplib=
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12186 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12187 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12188 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12189 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12191 $as_echo "yes" >&6; }
12192 else
12193 # FIXME - insert some real tests, host_os isn't really good enough
12194 case $host_os in
12195 darwin*)
12196 if test -n "$STRIP" ; then
12197 striplib="$STRIP -x"
12198 old_striplib="$STRIP -S"
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12200 $as_echo "yes" >&6; }
12201 else
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12203 $as_echo "no" >&6; }
12204 fi
12205 ;;
12206 *)
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12208 $as_echo "no" >&6; }
12209 ;;
12210 esac
12211 fi
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224 # Report which library types will actually be built
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12226 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12228 $as_echo "$can_build_shared" >&6; }
12229
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12231 $as_echo_n "checking whether to build shared libraries... " >&6; }
12232 test "$can_build_shared" = "no" && enable_shared=no
12233
12234 # On AIX, shared libraries and static libraries use the same namespace, and
12235 # are all built from PIC.
12236 case $host_os in
12237 aix3*)
12238 test "$enable_shared" = yes && enable_static=no
12239 if test -n "$RANLIB"; then
12240 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12241 postinstall_cmds='$RANLIB $lib'
12242 fi
12243 ;;
12244
12245 aix[4-9]*)
12246 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12247 test "$enable_shared" = yes && enable_static=no
12248 fi
12249 ;;
12250 esac
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12252 $as_echo "$enable_shared" >&6; }
12253
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12255 $as_echo_n "checking whether to build static libraries... " >&6; }
12256 # Make sure either enable_shared or enable_static is yes.
12257 test "$enable_shared" = yes || enable_static=yes
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12259 $as_echo "$enable_static" >&6; }
12260
12261
12262
12263
12264 fi
12265 ac_ext=c
12266 ac_cpp='$CPP $CPPFLAGS'
12267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12270
12271 CC="$lt_save_CC"
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287 ac_config_commands="$ac_config_commands libtool"
12288
12289
12290
12291
12292 # Only expand once:
12293
12294
12295
12296 if test "x$enable_static" = "xyes"; then :
12297 as_fn_error $? "--enable-static is not supported by systemd" "$LINENO" 5
12298 fi
12299 if test "x$enable_largefile" = "xno"; then :
12300 as_fn_error $? "--disable-largefile is not supported by systemd" "$LINENO" 5
12301 fi
12302
12303 # i18n stuff for the PolicyKit policy files
12304
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12306 $as_echo_n "checking whether NLS is requested... " >&6; }
12307 # Check whether --enable-nls was given.
12308 if test "${enable_nls+set}" = set; then :
12309 enableval=$enable_nls; USE_NLS=$enableval
12310 else
12311 USE_NLS=yes
12312 fi
12313
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12315 $as_echo "$USE_NLS" >&6; }
12316
12317
12318
12319
12320 case "$am__api_version" in
12321 1.01234)
12322 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12323 ;;
12324 *)
12325 ;;
12326 esac
12327
12328 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12329 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12330 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12331 if test -n "0.40.0"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12333 $as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12335 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12336 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12337 as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12338 fi
12339
12340 # Extract the first word of "intltool-update", so it can be a program name with args.
12341 set dummy intltool-update; ac_word=$2
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12343 $as_echo_n "checking for $ac_word... " >&6; }
12344 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12345 $as_echo_n "(cached) " >&6
12346 else
12347 case $INTLTOOL_UPDATE in
12348 [\\/]* | ?:[\\/]*)
12349 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12350 ;;
12351 *)
12352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12353 for as_dir in $PATH
12354 do
12355 IFS=$as_save_IFS
12356 test -z "$as_dir" && as_dir=.
12357 for ac_exec_ext in '' $ac_executable_extensions; do
12358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12359 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12361 break 2
12362 fi
12363 done
12364 done
12365 IFS=$as_save_IFS
12366
12367 ;;
12368 esac
12369 fi
12370 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12371 if test -n "$INTLTOOL_UPDATE"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12373 $as_echo "$INTLTOOL_UPDATE" >&6; }
12374 else
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376 $as_echo "no" >&6; }
12377 fi
12378
12379
12380 # Extract the first word of "intltool-merge", so it can be a program name with args.
12381 set dummy intltool-merge; ac_word=$2
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12383 $as_echo_n "checking for $ac_word... " >&6; }
12384 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12385 $as_echo_n "(cached) " >&6
12386 else
12387 case $INTLTOOL_MERGE in
12388 [\\/]* | ?:[\\/]*)
12389 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12390 ;;
12391 *)
12392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12393 for as_dir in $PATH
12394 do
12395 IFS=$as_save_IFS
12396 test -z "$as_dir" && as_dir=.
12397 for ac_exec_ext in '' $ac_executable_extensions; do
12398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12399 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12401 break 2
12402 fi
12403 done
12404 done
12405 IFS=$as_save_IFS
12406
12407 ;;
12408 esac
12409 fi
12410 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12411 if test -n "$INTLTOOL_MERGE"; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12413 $as_echo "$INTLTOOL_MERGE" >&6; }
12414 else
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12416 $as_echo "no" >&6; }
12417 fi
12418
12419
12420 # Extract the first word of "intltool-extract", so it can be a program name with args.
12421 set dummy intltool-extract; ac_word=$2
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12423 $as_echo_n "checking for $ac_word... " >&6; }
12424 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12425 $as_echo_n "(cached) " >&6
12426 else
12427 case $INTLTOOL_EXTRACT in
12428 [\\/]* | ?:[\\/]*)
12429 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12430 ;;
12431 *)
12432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12433 for as_dir in $PATH
12434 do
12435 IFS=$as_save_IFS
12436 test -z "$as_dir" && as_dir=.
12437 for ac_exec_ext in '' $ac_executable_extensions; do
12438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12439 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12441 break 2
12442 fi
12443 done
12444 done
12445 IFS=$as_save_IFS
12446
12447 ;;
12448 esac
12449 fi
12450 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12451 if test -n "$INTLTOOL_EXTRACT"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12453 $as_echo "$INTLTOOL_EXTRACT" >&6; }
12454 else
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12456 $as_echo "no" >&6; }
12457 fi
12458
12459
12460 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12461 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12462 fi
12463
12464 if test -z "$AM_DEFAULT_VERBOSITY"; then
12465 AM_DEFAULT_VERBOSITY=1
12466 fi
12467
12468
12469 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12470 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12471 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12472
12473
12474
12475
12476 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12477 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12478 intltool__v_merge_options_0='-q'
12479
12480
12481
12482
12483 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12484 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12485 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12486 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12487 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12488 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12489 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12490 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12491 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12492 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12493 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12494 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12495 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12496 else
12497 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
12498 fi
12499 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12500 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12501 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12502 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12503 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12504 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12505 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603 # Check the gettext tools to make sure they are GNU
12604 # Extract the first word of "xgettext", so it can be a program name with args.
12605 set dummy xgettext; ac_word=$2
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12607 $as_echo_n "checking for $ac_word... " >&6; }
12608 if ${ac_cv_path_XGETTEXT+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 case $XGETTEXT in
12612 [\\/]* | ?:[\\/]*)
12613 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12614 ;;
12615 *)
12616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12617 for as_dir in $PATH
12618 do
12619 IFS=$as_save_IFS
12620 test -z "$as_dir" && as_dir=.
12621 for ac_exec_ext in '' $ac_executable_extensions; do
12622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12623 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12625 break 2
12626 fi
12627 done
12628 done
12629 IFS=$as_save_IFS
12630
12631 ;;
12632 esac
12633 fi
12634 XGETTEXT=$ac_cv_path_XGETTEXT
12635 if test -n "$XGETTEXT"; then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12637 $as_echo "$XGETTEXT" >&6; }
12638 else
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12640 $as_echo "no" >&6; }
12641 fi
12642
12643
12644 # Extract the first word of "msgmerge", so it can be a program name with args.
12645 set dummy msgmerge; ac_word=$2
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12647 $as_echo_n "checking for $ac_word... " >&6; }
12648 if ${ac_cv_path_MSGMERGE+:} false; then :
12649 $as_echo_n "(cached) " >&6
12650 else
12651 case $MSGMERGE in
12652 [\\/]* | ?:[\\/]*)
12653 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12654 ;;
12655 *)
12656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12657 for as_dir in $PATH
12658 do
12659 IFS=$as_save_IFS
12660 test -z "$as_dir" && as_dir=.
12661 for ac_exec_ext in '' $ac_executable_extensions; do
12662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12663 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12665 break 2
12666 fi
12667 done
12668 done
12669 IFS=$as_save_IFS
12670
12671 ;;
12672 esac
12673 fi
12674 MSGMERGE=$ac_cv_path_MSGMERGE
12675 if test -n "$MSGMERGE"; then
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12677 $as_echo "$MSGMERGE" >&6; }
12678 else
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12680 $as_echo "no" >&6; }
12681 fi
12682
12683
12684 # Extract the first word of "msgfmt", so it can be a program name with args.
12685 set dummy msgfmt; ac_word=$2
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12687 $as_echo_n "checking for $ac_word... " >&6; }
12688 if ${ac_cv_path_MSGFMT+:} false; then :
12689 $as_echo_n "(cached) " >&6
12690 else
12691 case $MSGFMT in
12692 [\\/]* | ?:[\\/]*)
12693 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12694 ;;
12695 *)
12696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12697 for as_dir in $PATH
12698 do
12699 IFS=$as_save_IFS
12700 test -z "$as_dir" && as_dir=.
12701 for ac_exec_ext in '' $ac_executable_extensions; do
12702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12703 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12705 break 2
12706 fi
12707 done
12708 done
12709 IFS=$as_save_IFS
12710
12711 ;;
12712 esac
12713 fi
12714 MSGFMT=$ac_cv_path_MSGFMT
12715 if test -n "$MSGFMT"; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12717 $as_echo "$MSGFMT" >&6; }
12718 else
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12720 $as_echo "no" >&6; }
12721 fi
12722
12723
12724 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12725 set dummy gmsgfmt; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if ${ac_cv_path_GMSGFMT+:} false; then :
12729 $as_echo_n "(cached) " >&6
12730 else
12731 case $GMSGFMT in
12732 [\\/]* | ?:[\\/]*)
12733 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12734 ;;
12735 *)
12736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12738 do
12739 IFS=$as_save_IFS
12740 test -z "$as_dir" && as_dir=.
12741 for ac_exec_ext in '' $ac_executable_extensions; do
12742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12745 break 2
12746 fi
12747 done
12748 done
12749 IFS=$as_save_IFS
12750
12751 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12752 ;;
12753 esac
12754 fi
12755 GMSGFMT=$ac_cv_path_GMSGFMT
12756 if test -n "$GMSGFMT"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12758 $as_echo "$GMSGFMT" >&6; }
12759 else
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12762 fi
12763
12764
12765 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12766 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12767 fi
12768 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12769 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12770 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12771 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12772 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12773 fi
12774
12775 # Extract the first word of "perl", so it can be a program name with args.
12776 set dummy perl; ac_word=$2
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12778 $as_echo_n "checking for $ac_word... " >&6; }
12779 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12780 $as_echo_n "(cached) " >&6
12781 else
12782 case $INTLTOOL_PERL in
12783 [\\/]* | ?:[\\/]*)
12784 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12785 ;;
12786 *)
12787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12788 for as_dir in $PATH
12789 do
12790 IFS=$as_save_IFS
12791 test -z "$as_dir" && as_dir=.
12792 for ac_exec_ext in '' $ac_executable_extensions; do
12793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12794 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12796 break 2
12797 fi
12798 done
12799 done
12800 IFS=$as_save_IFS
12801
12802 ;;
12803 esac
12804 fi
12805 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12806 if test -n "$INTLTOOL_PERL"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12808 $as_echo "$INTLTOOL_PERL" >&6; }
12809 else
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 $as_echo "no" >&6; }
12812 fi
12813
12814
12815 if test -z "$INTLTOOL_PERL"; then
12816 as_fn_error $? "perl not found" "$LINENO" 5
12817 fi
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12819 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
12820 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12821 if test $? -ne 0; then
12822 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12823 else
12824 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12826 $as_echo "$IT_PERL_VERSION" >&6; }
12827 fi
12828 if test "x" != "xno-xml"; then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12830 $as_echo_n "checking for XML::Parser... " >&6; }
12831 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12833 $as_echo "ok" >&6; }
12834 else
12835 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12836 fi
12837 fi
12838
12839 # Substitute ALL_LINGUAS so we can use it in po/Makefile
12840
12841
12842 # Set DATADIRNAME correctly if it is not set yet
12843 # (copied from glib-gettext.m4)
12844 if test -z "$DATADIRNAME"; then
12845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12846 /* end confdefs.h. */
12847
12848 int
12849 main ()
12850 {
12851 extern int _nl_msg_cat_cntr;
12852 return _nl_msg_cat_cntr
12853 ;
12854 return 0;
12855 }
12856 _ACEOF
12857 if ac_fn_c_try_link "$LINENO"; then :
12858 DATADIRNAME=share
12859 else
12860 case $host in
12861 *-*-solaris*)
12862 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12863 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12864 DATADIRNAME=share
12865 else
12866 DATADIRNAME=lib
12867 fi
12868
12869 ;;
12870 *)
12871 DATADIRNAME=lib
12872 ;;
12873 esac
12874 fi
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12877 fi
12878
12879
12880
12881
12882
12883
12884 GETTEXT_PACKAGE=systemd
12885
12886
12887
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12889 $as_echo_n "checking whether ln -s works... " >&6; }
12890 LN_S=$as_ln_s
12891 if test "$LN_S" = "ln -s"; then
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12893 $as_echo "yes" >&6; }
12894 else
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12896 $as_echo "no, using $LN_S" >&6; }
12897 fi
12898
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
12900 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
12901 if ${ac_cv_path_SED+:} false; then :
12902 $as_echo_n "(cached) " >&6
12903 else
12904 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
12905 for ac_i in 1 2 3 4 5 6 7; do
12906 ac_script="$ac_script$as_nl$ac_script"
12907 done
12908 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
12909 { ac_script=; unset ac_script;}
12910 if test -z "$SED"; then
12911 ac_path_SED_found=false
12912 # Loop through the user's path and test for each of PROGNAME-LIST
12913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12914 for as_dir in $PATH
12915 do
12916 IFS=$as_save_IFS
12917 test -z "$as_dir" && as_dir=.
12918 for ac_prog in sed gsed; do
12919 for ac_exec_ext in '' $ac_executable_extensions; do
12920 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
12921 as_fn_executable_p "$ac_path_SED" || continue
12922 # Check for GNU ac_path_SED and select it if it is found.
12923 # Check for GNU $ac_path_SED
12924 case `"$ac_path_SED" --version 2>&1` in
12925 *GNU*)
12926 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
12927 *)
12928 ac_count=0
12929 $as_echo_n 0123456789 >"conftest.in"
12930 while :
12931 do
12932 cat "conftest.in" "conftest.in" >"conftest.tmp"
12933 mv "conftest.tmp" "conftest.in"
12934 cp "conftest.in" "conftest.nl"
12935 $as_echo '' >> "conftest.nl"
12936 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
12937 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
12938 as_fn_arith $ac_count + 1 && ac_count=$as_val
12939 if test $ac_count -gt ${ac_path_SED_max-0}; then
12940 # Best one so far, save it but keep looking for a better one
12941 ac_cv_path_SED="$ac_path_SED"
12942 ac_path_SED_max=$ac_count
12943 fi
12944 # 10*(2^10) chars as input seems more than enough
12945 test $ac_count -gt 10 && break
12946 done
12947 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
12948 esac
12949
12950 $ac_path_SED_found && break 3
12951 done
12952 done
12953 done
12954 IFS=$as_save_IFS
12955 if test -z "$ac_cv_path_SED"; then
12956 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
12957 fi
12958 else
12959 ac_cv_path_SED=$SED
12960 fi
12961
12962 fi
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
12964 $as_echo "$ac_cv_path_SED" >&6; }
12965 SED="$ac_cv_path_SED"
12966 rm -f conftest.sed
12967
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
12969 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
12970 if ${ac_cv_path_GREP+:} false; then :
12971 $as_echo_n "(cached) " >&6
12972 else
12973 if test -z "$GREP"; then
12974 ac_path_GREP_found=false
12975 # Loop through the user's path and test for each of PROGNAME-LIST
12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12977 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
12978 do
12979 IFS=$as_save_IFS
12980 test -z "$as_dir" && as_dir=.
12981 for ac_prog in grep ggrep; do
12982 for ac_exec_ext in '' $ac_executable_extensions; do
12983 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
12984 as_fn_executable_p "$ac_path_GREP" || continue
12985 # Check for GNU ac_path_GREP and select it if it is found.
12986 # Check for GNU $ac_path_GREP
12987 case `"$ac_path_GREP" --version 2>&1` in
12988 *GNU*)
12989 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
12990 *)
12991 ac_count=0
12992 $as_echo_n 0123456789 >"conftest.in"
12993 while :
12994 do
12995 cat "conftest.in" "conftest.in" >"conftest.tmp"
12996 mv "conftest.tmp" "conftest.in"
12997 cp "conftest.in" "conftest.nl"
12998 $as_echo 'GREP' >> "conftest.nl"
12999 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
13000 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
13001 as_fn_arith $ac_count + 1 && ac_count=$as_val
13002 if test $ac_count -gt ${ac_path_GREP_max-0}; then
13003 # Best one so far, save it but keep looking for a better one
13004 ac_cv_path_GREP="$ac_path_GREP"
13005 ac_path_GREP_max=$ac_count
13006 fi
13007 # 10*(2^10) chars as input seems more than enough
13008 test $ac_count -gt 10 && break
13009 done
13010 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
13011 esac
13012
13013 $ac_path_GREP_found && break 3
13014 done
13015 done
13016 done
13017 IFS=$as_save_IFS
13018 if test -z "$ac_cv_path_GREP"; then
13019 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
13020 fi
13021 else
13022 ac_cv_path_GREP=$GREP
13023 fi
13024
13025 fi
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
13027 $as_echo "$ac_cv_path_GREP" >&6; }
13028 GREP="$ac_cv_path_GREP"
13029
13030
13031 for ac_prog in gawk mawk nawk awk
13032 do
13033 # Extract the first word of "$ac_prog", so it can be a program name with args.
13034 set dummy $ac_prog; ac_word=$2
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13036 $as_echo_n "checking for $ac_word... " >&6; }
13037 if ${ac_cv_prog_AWK+:} false; then :
13038 $as_echo_n "(cached) " >&6
13039 else
13040 if test -n "$AWK"; then
13041 ac_cv_prog_AWK="$AWK" # Let the user override the test.
13042 else
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13045 do
13046 IFS=$as_save_IFS
13047 test -z "$as_dir" && as_dir=.
13048 for ac_exec_ext in '' $ac_executable_extensions; do
13049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13050 ac_cv_prog_AWK="$ac_prog"
13051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13052 break 2
13053 fi
13054 done
13055 done
13056 IFS=$as_save_IFS
13057
13058 fi
13059 fi
13060 AWK=$ac_cv_prog_AWK
13061 if test -n "$AWK"; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13063 $as_echo "$AWK" >&6; }
13064 else
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13066 $as_echo "no" >&6; }
13067 fi
13068
13069
13070 test -n "$AWK" && break
13071 done
13072
13073
13074 ac_ext=c
13075 ac_cpp='$CPP $CPPFLAGS'
13076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13079 if test -n "$ac_tool_prefix"; then
13080 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13081 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13083 $as_echo_n "checking for $ac_word... " >&6; }
13084 if ${ac_cv_prog_CC+:} false; then :
13085 $as_echo_n "(cached) " >&6
13086 else
13087 if test -n "$CC"; then
13088 ac_cv_prog_CC="$CC" # Let the user override the test.
13089 else
13090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13091 for as_dir in $PATH
13092 do
13093 IFS=$as_save_IFS
13094 test -z "$as_dir" && as_dir=.
13095 for ac_exec_ext in '' $ac_executable_extensions; do
13096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13097 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13099 break 2
13100 fi
13101 done
13102 done
13103 IFS=$as_save_IFS
13104
13105 fi
13106 fi
13107 CC=$ac_cv_prog_CC
13108 if test -n "$CC"; then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13110 $as_echo "$CC" >&6; }
13111 else
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13114 fi
13115
13116
13117 fi
13118 if test -z "$ac_cv_prog_CC"; then
13119 ac_ct_CC=$CC
13120 # Extract the first word of "gcc", so it can be a program name with args.
13121 set dummy gcc; ac_word=$2
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13123 $as_echo_n "checking for $ac_word... " >&6; }
13124 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13125 $as_echo_n "(cached) " >&6
13126 else
13127 if test -n "$ac_ct_CC"; then
13128 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13129 else
13130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13131 for as_dir in $PATH
13132 do
13133 IFS=$as_save_IFS
13134 test -z "$as_dir" && as_dir=.
13135 for ac_exec_ext in '' $ac_executable_extensions; do
13136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13137 ac_cv_prog_ac_ct_CC="gcc"
13138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13139 break 2
13140 fi
13141 done
13142 done
13143 IFS=$as_save_IFS
13144
13145 fi
13146 fi
13147 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13148 if test -n "$ac_ct_CC"; then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13150 $as_echo "$ac_ct_CC" >&6; }
13151 else
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13153 $as_echo "no" >&6; }
13154 fi
13155
13156 if test "x$ac_ct_CC" = x; then
13157 CC=""
13158 else
13159 case $cross_compiling:$ac_tool_warned in
13160 yes:)
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13163 ac_tool_warned=yes ;;
13164 esac
13165 CC=$ac_ct_CC
13166 fi
13167 else
13168 CC="$ac_cv_prog_CC"
13169 fi
13170
13171 if test -z "$CC"; then
13172 if test -n "$ac_tool_prefix"; then
13173 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13174 set dummy ${ac_tool_prefix}cc; ac_word=$2
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176 $as_echo_n "checking for $ac_word... " >&6; }
13177 if ${ac_cv_prog_CC+:} false; then :
13178 $as_echo_n "(cached) " >&6
13179 else
13180 if test -n "$CC"; then
13181 ac_cv_prog_CC="$CC" # Let the user override the test.
13182 else
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $PATH
13185 do
13186 IFS=$as_save_IFS
13187 test -z "$as_dir" && as_dir=.
13188 for ac_exec_ext in '' $ac_executable_extensions; do
13189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13190 ac_cv_prog_CC="${ac_tool_prefix}cc"
13191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13192 break 2
13193 fi
13194 done
13195 done
13196 IFS=$as_save_IFS
13197
13198 fi
13199 fi
13200 CC=$ac_cv_prog_CC
13201 if test -n "$CC"; then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13203 $as_echo "$CC" >&6; }
13204 else
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206 $as_echo "no" >&6; }
13207 fi
13208
13209
13210 fi
13211 fi
13212 if test -z "$CC"; then
13213 # Extract the first word of "cc", so it can be a program name with args.
13214 set dummy cc; ac_word=$2
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13216 $as_echo_n "checking for $ac_word... " >&6; }
13217 if ${ac_cv_prog_CC+:} false; then :
13218 $as_echo_n "(cached) " >&6
13219 else
13220 if test -n "$CC"; then
13221 ac_cv_prog_CC="$CC" # Let the user override the test.
13222 else
13223 ac_prog_rejected=no
13224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13225 for as_dir in $PATH
13226 do
13227 IFS=$as_save_IFS
13228 test -z "$as_dir" && as_dir=.
13229 for ac_exec_ext in '' $ac_executable_extensions; do
13230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13231 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13232 ac_prog_rejected=yes
13233 continue
13234 fi
13235 ac_cv_prog_CC="cc"
13236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13237 break 2
13238 fi
13239 done
13240 done
13241 IFS=$as_save_IFS
13242
13243 if test $ac_prog_rejected = yes; then
13244 # We found a bogon in the path, so make sure we never use it.
13245 set dummy $ac_cv_prog_CC
13246 shift
13247 if test $# != 0; then
13248 # We chose a different compiler from the bogus one.
13249 # However, it has the same basename, so the bogon will be chosen
13250 # first if we set CC to just the basename; use the full file name.
13251 shift
13252 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13253 fi
13254 fi
13255 fi
13256 fi
13257 CC=$ac_cv_prog_CC
13258 if test -n "$CC"; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13260 $as_echo "$CC" >&6; }
13261 else
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263 $as_echo "no" >&6; }
13264 fi
13265
13266
13267 fi
13268 if test -z "$CC"; then
13269 if test -n "$ac_tool_prefix"; then
13270 for ac_prog in cl.exe
13271 do
13272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13275 $as_echo_n "checking for $ac_word... " >&6; }
13276 if ${ac_cv_prog_CC+:} false; then :
13277 $as_echo_n "(cached) " >&6
13278 else
13279 if test -n "$CC"; then
13280 ac_cv_prog_CC="$CC" # Let the user override the test.
13281 else
13282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13283 for as_dir in $PATH
13284 do
13285 IFS=$as_save_IFS
13286 test -z "$as_dir" && as_dir=.
13287 for ac_exec_ext in '' $ac_executable_extensions; do
13288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13289 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13291 break 2
13292 fi
13293 done
13294 done
13295 IFS=$as_save_IFS
13296
13297 fi
13298 fi
13299 CC=$ac_cv_prog_CC
13300 if test -n "$CC"; then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13302 $as_echo "$CC" >&6; }
13303 else
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13305 $as_echo "no" >&6; }
13306 fi
13307
13308
13309 test -n "$CC" && break
13310 done
13311 fi
13312 if test -z "$CC"; then
13313 ac_ct_CC=$CC
13314 for ac_prog in cl.exe
13315 do
13316 # Extract the first word of "$ac_prog", so it can be a program name with args.
13317 set dummy $ac_prog; ac_word=$2
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13319 $as_echo_n "checking for $ac_word... " >&6; }
13320 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13321 $as_echo_n "(cached) " >&6
13322 else
13323 if test -n "$ac_ct_CC"; then
13324 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13325 else
13326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13328 do
13329 IFS=$as_save_IFS
13330 test -z "$as_dir" && as_dir=.
13331 for ac_exec_ext in '' $ac_executable_extensions; do
13332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13333 ac_cv_prog_ac_ct_CC="$ac_prog"
13334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13335 break 2
13336 fi
13337 done
13338 done
13339 IFS=$as_save_IFS
13340
13341 fi
13342 fi
13343 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13344 if test -n "$ac_ct_CC"; then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13346 $as_echo "$ac_ct_CC" >&6; }
13347 else
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 $as_echo "no" >&6; }
13350 fi
13351
13352
13353 test -n "$ac_ct_CC" && break
13354 done
13355
13356 if test "x$ac_ct_CC" = x; then
13357 CC=""
13358 else
13359 case $cross_compiling:$ac_tool_warned in
13360 yes:)
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13363 ac_tool_warned=yes ;;
13364 esac
13365 CC=$ac_ct_CC
13366 fi
13367 fi
13368
13369 fi
13370
13371
13372 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13374 as_fn_error $? "no acceptable C compiler found in \$PATH
13375 See \`config.log' for more details" "$LINENO" 5; }
13376
13377 # Provide some information about the compiler.
13378 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13379 set X $ac_compile
13380 ac_compiler=$2
13381 for ac_option in --version -v -V -qversion; do
13382 { { ac_try="$ac_compiler $ac_option >&5"
13383 case "(($ac_try" in
13384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13385 *) ac_try_echo=$ac_try;;
13386 esac
13387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13388 $as_echo "$ac_try_echo"; } >&5
13389 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13390 ac_status=$?
13391 if test -s conftest.err; then
13392 sed '10a\
13393 ... rest of stderr output deleted ...
13394 10q' conftest.err >conftest.er1
13395 cat conftest.er1 >&5
13396 fi
13397 rm -f conftest.er1 conftest.err
13398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13399 test $ac_status = 0; }
13400 done
13401
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13403 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13404 if ${ac_cv_c_compiler_gnu+:} false; then :
13405 $as_echo_n "(cached) " >&6
13406 else
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13409
13410 int
13411 main ()
13412 {
13413 #ifndef __GNUC__
13414 choke me
13415 #endif
13416
13417 ;
13418 return 0;
13419 }
13420 _ACEOF
13421 if ac_fn_c_try_compile "$LINENO"; then :
13422 ac_compiler_gnu=yes
13423 else
13424 ac_compiler_gnu=no
13425 fi
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13428
13429 fi
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13432 if test $ac_compiler_gnu = yes; then
13433 GCC=yes
13434 else
13435 GCC=
13436 fi
13437 ac_test_CFLAGS=${CFLAGS+set}
13438 ac_save_CFLAGS=$CFLAGS
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13441 if ${ac_cv_prog_cc_g+:} false; then :
13442 $as_echo_n "(cached) " >&6
13443 else
13444 ac_save_c_werror_flag=$ac_c_werror_flag
13445 ac_c_werror_flag=yes
13446 ac_cv_prog_cc_g=no
13447 CFLAGS="-g"
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13450
13451 int
13452 main ()
13453 {
13454
13455 ;
13456 return 0;
13457 }
13458 _ACEOF
13459 if ac_fn_c_try_compile "$LINENO"; then :
13460 ac_cv_prog_cc_g=yes
13461 else
13462 CFLAGS=""
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13465
13466 int
13467 main ()
13468 {
13469
13470 ;
13471 return 0;
13472 }
13473 _ACEOF
13474 if ac_fn_c_try_compile "$LINENO"; then :
13475
13476 else
13477 ac_c_werror_flag=$ac_save_c_werror_flag
13478 CFLAGS="-g"
13479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480 /* end confdefs.h. */
13481
13482 int
13483 main ()
13484 {
13485
13486 ;
13487 return 0;
13488 }
13489 _ACEOF
13490 if ac_fn_c_try_compile "$LINENO"; then :
13491 ac_cv_prog_cc_g=yes
13492 fi
13493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13494 fi
13495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13496 fi
13497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13498 ac_c_werror_flag=$ac_save_c_werror_flag
13499 fi
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13501 $as_echo "$ac_cv_prog_cc_g" >&6; }
13502 if test "$ac_test_CFLAGS" = set; then
13503 CFLAGS=$ac_save_CFLAGS
13504 elif test $ac_cv_prog_cc_g = yes; then
13505 if test "$GCC" = yes; then
13506 CFLAGS="-g -O2"
13507 else
13508 CFLAGS="-g"
13509 fi
13510 else
13511 if test "$GCC" = yes; then
13512 CFLAGS="-O2"
13513 else
13514 CFLAGS=
13515 fi
13516 fi
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13518 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13519 if ${ac_cv_prog_cc_c89+:} false; then :
13520 $as_echo_n "(cached) " >&6
13521 else
13522 ac_cv_prog_cc_c89=no
13523 ac_save_CC=$CC
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13526 #include <stdarg.h>
13527 #include <stdio.h>
13528 struct stat;
13529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13530 struct buf { int x; };
13531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13532 static char *e (p, i)
13533 char **p;
13534 int i;
13535 {
13536 return p[i];
13537 }
13538 static char *f (char * (*g) (char **, int), char **p, ...)
13539 {
13540 char *s;
13541 va_list v;
13542 va_start (v,p);
13543 s = g (p, va_arg (v,int));
13544 va_end (v);
13545 return s;
13546 }
13547
13548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13549 function prototypes and stuff, but not '\xHH' hex character constants.
13550 These don't provoke an error unfortunately, instead are silently treated
13551 as 'x'. The following induces an error, until -std is added to get
13552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13553 array size at least. It's necessary to write '\x00'==0 to get something
13554 that's true only with -std. */
13555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13556
13557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13558 inside strings and character constants. */
13559 #define FOO(x) 'x'
13560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13561
13562 int test (int i, double x);
13563 struct s1 {int (*f) (int a);};
13564 struct s2 {int (*f) (double a);};
13565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13566 int argc;
13567 char **argv;
13568 int
13569 main ()
13570 {
13571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13572 ;
13573 return 0;
13574 }
13575 _ACEOF
13576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13578 do
13579 CC="$ac_save_CC $ac_arg"
13580 if ac_fn_c_try_compile "$LINENO"; then :
13581 ac_cv_prog_cc_c89=$ac_arg
13582 fi
13583 rm -f core conftest.err conftest.$ac_objext
13584 test "x$ac_cv_prog_cc_c89" != "xno" && break
13585 done
13586 rm -f conftest.$ac_ext
13587 CC=$ac_save_CC
13588
13589 fi
13590 # AC_CACHE_VAL
13591 case "x$ac_cv_prog_cc_c89" in
13592 x)
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13594 $as_echo "none needed" >&6; } ;;
13595 xno)
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13597 $as_echo "unsupported" >&6; } ;;
13598 *)
13599 CC="$CC $ac_cv_prog_cc_c89"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13602 esac
13603 if test "x$ac_cv_prog_cc_c89" != xno; then :
13604
13605 fi
13606
13607 ac_ext=c
13608 ac_cpp='$CPP $CPPFLAGS'
13609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13612
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13614 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13615 if ${ac_cv_prog_cc_c99+:} false; then :
13616 $as_echo_n "(cached) " >&6
13617 else
13618 ac_cv_prog_cc_c99=no
13619 ac_save_CC=$CC
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 #include <stdarg.h>
13623 #include <stdbool.h>
13624 #include <stdlib.h>
13625 #include <wchar.h>
13626 #include <stdio.h>
13627
13628 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13629 #define debug(...) fprintf (stderr, __VA_ARGS__)
13630 #define showlist(...) puts (#__VA_ARGS__)
13631 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13632 static void
13633 test_varargs_macros (void)
13634 {
13635 int x = 1234;
13636 int y = 5678;
13637 debug ("Flag");
13638 debug ("X = %d\n", x);
13639 showlist (The first, second, and third items.);
13640 report (x>y, "x is %d but y is %d", x, y);
13641 }
13642
13643 // Check long long types.
13644 #define BIG64 18446744073709551615ull
13645 #define BIG32 4294967295ul
13646 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13647 #if !BIG_OK
13648 your preprocessor is broken;
13649 #endif
13650 #if BIG_OK
13651 #else
13652 your preprocessor is broken;
13653 #endif
13654 static long long int bignum = -9223372036854775807LL;
13655 static unsigned long long int ubignum = BIG64;
13656
13657 struct incomplete_array
13658 {
13659 int datasize;
13660 double data[];
13661 };
13662
13663 struct named_init {
13664 int number;
13665 const wchar_t *name;
13666 double average;
13667 };
13668
13669 typedef const char *ccp;
13670
13671 static inline int
13672 test_restrict (ccp restrict text)
13673 {
13674 // See if C++-style comments work.
13675 // Iterate through items via the restricted pointer.
13676 // Also check for declarations in for loops.
13677 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13678 continue;
13679 return 0;
13680 }
13681
13682 // Check varargs and va_copy.
13683 static void
13684 test_varargs (const char *format, ...)
13685 {
13686 va_list args;
13687 va_start (args, format);
13688 va_list args_copy;
13689 va_copy (args_copy, args);
13690
13691 const char *str;
13692 int number;
13693 float fnumber;
13694
13695 while (*format)
13696 {
13697 switch (*format++)
13698 {
13699 case 's': // string
13700 str = va_arg (args_copy, const char *);
13701 break;
13702 case 'd': // int
13703 number = va_arg (args_copy, int);
13704 break;
13705 case 'f': // float
13706 fnumber = va_arg (args_copy, double);
13707 break;
13708 default:
13709 break;
13710 }
13711 }
13712 va_end (args_copy);
13713 va_end (args);
13714 }
13715
13716 int
13717 main ()
13718 {
13719
13720 // Check bool.
13721 _Bool success = false;
13722
13723 // Check restrict.
13724 if (test_restrict ("String literal") == 0)
13725 success = true;
13726 char *restrict newvar = "Another string";
13727
13728 // Check varargs.
13729 test_varargs ("s, d' f .", "string", 65, 34.234);
13730 test_varargs_macros ();
13731
13732 // Check flexible array members.
13733 struct incomplete_array *ia =
13734 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13735 ia->datasize = 10;
13736 for (int i = 0; i < ia->datasize; ++i)
13737 ia->data[i] = i * 1.234;
13738
13739 // Check named initializers.
13740 struct named_init ni = {
13741 .number = 34,
13742 .name = L"Test wide string",
13743 .average = 543.34343,
13744 };
13745
13746 ni.number = 58;
13747
13748 int dynamic_array[ni.number];
13749 dynamic_array[ni.number - 1] = 543;
13750
13751 // work around unused variable warnings
13752 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13753 || dynamic_array[ni.number - 1] != 543);
13754
13755 ;
13756 return 0;
13757 }
13758 _ACEOF
13759 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
13760 do
13761 CC="$ac_save_CC $ac_arg"
13762 if ac_fn_c_try_compile "$LINENO"; then :
13763 ac_cv_prog_cc_c99=$ac_arg
13764 fi
13765 rm -f core conftest.err conftest.$ac_objext
13766 test "x$ac_cv_prog_cc_c99" != "xno" && break
13767 done
13768 rm -f conftest.$ac_ext
13769 CC=$ac_save_CC
13770
13771 fi
13772 # AC_CACHE_VAL
13773 case "x$ac_cv_prog_cc_c99" in
13774 x)
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13776 $as_echo "none needed" >&6; } ;;
13777 xno)
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13779 $as_echo "unsupported" >&6; } ;;
13780 *)
13781 CC="$CC $ac_cv_prog_cc_c99"
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13783 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13784 esac
13785 if test "x$ac_cv_prog_cc_c99" != xno; then :
13786
13787 fi
13788
13789
13790 if test "x$CC" != xcc; then
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13792 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13793 else
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13795 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13796 fi
13797 set dummy $CC; ac_cc=`$as_echo "$2" |
13798 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13799 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13804
13805 int
13806 main ()
13807 {
13808
13809 ;
13810 return 0;
13811 }
13812 _ACEOF
13813 # Make sure it works both with $CC and with simple cc.
13814 # We do the test twice because some compilers refuse to overwrite an
13815 # existing .o file with -o, though they will create one.
13816 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13817 rm -f conftest2.*
13818 if { { case "(($ac_try" in
13819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13820 *) ac_try_echo=$ac_try;;
13821 esac
13822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13823 $as_echo "$ac_try_echo"; } >&5
13824 (eval "$ac_try") 2>&5
13825 ac_status=$?
13826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13827 test $ac_status = 0; } &&
13828 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13830 *) ac_try_echo=$ac_try;;
13831 esac
13832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13833 $as_echo "$ac_try_echo"; } >&5
13834 (eval "$ac_try") 2>&5
13835 ac_status=$?
13836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13837 test $ac_status = 0; };
13838 then
13839 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13840 if test "x$CC" != xcc; then
13841 # Test first that cc exists at all.
13842 if { ac_try='cc -c conftest.$ac_ext >&5'
13843 { { case "(($ac_try" in
13844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13845 *) ac_try_echo=$ac_try;;
13846 esac
13847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13848 $as_echo "$ac_try_echo"; } >&5
13849 (eval "$ac_try") 2>&5
13850 ac_status=$?
13851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13852 test $ac_status = 0; }; }; then
13853 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13854 rm -f conftest2.*
13855 if { { case "(($ac_try" in
13856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13857 *) ac_try_echo=$ac_try;;
13858 esac
13859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13860 $as_echo "$ac_try_echo"; } >&5
13861 (eval "$ac_try") 2>&5
13862 ac_status=$?
13863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13864 test $ac_status = 0; } &&
13865 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13867 *) ac_try_echo=$ac_try;;
13868 esac
13869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13870 $as_echo "$ac_try_echo"; } >&5
13871 (eval "$ac_try") 2>&5
13872 ac_status=$?
13873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13874 test $ac_status = 0; };
13875 then
13876 # cc works too.
13877 :
13878 else
13879 # cc exists but doesn't like -o.
13880 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13881 fi
13882 fi
13883 fi
13884 else
13885 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13886 fi
13887 rm -f core conftest*
13888
13889 fi
13890 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13892 $as_echo "yes" >&6; }
13893 else
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13895 $as_echo "no" >&6; }
13896
13897 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13898
13899 fi
13900
13901 # FIXME: we rely on the cache variable name because
13902 # there is no other way.
13903 set dummy $CC
13904 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13905 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13906 if test "$am_t" != yes; then
13907 # Losing compiler, so override with the script.
13908 # FIXME: It is wrong to rewrite CC.
13909 # But if we don't then we get into trouble of one sort or another.
13910 # A longer-term fix would be to have automake use am__CC in this case,
13911 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13912 CC="$am_aux_dir/compile $CC"
13913 fi
13914
13915
13916 if test $ac_cv_c_compiler_gnu = yes; then
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
13918 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
13919 if ${ac_cv_prog_gcc_traditional+:} false; then :
13920 $as_echo_n "(cached) " >&6
13921 else
13922 ac_pattern="Autoconf.*'x'"
13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 #include <sgtty.h>
13926 Autoconf TIOCGETP
13927 _ACEOF
13928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13929 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
13930 ac_cv_prog_gcc_traditional=yes
13931 else
13932 ac_cv_prog_gcc_traditional=no
13933 fi
13934 rm -f conftest*
13935
13936
13937 if test $ac_cv_prog_gcc_traditional = no; then
13938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 #include <termio.h>
13941 Autoconf TCGETA
13942 _ACEOF
13943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13944 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
13945 ac_cv_prog_gcc_traditional=yes
13946 fi
13947 rm -f conftest*
13948
13949 fi
13950 fi
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
13952 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
13953 if test $ac_cv_prog_gcc_traditional = yes; then
13954 CC="$CC -traditional"
13955 fi
13956 fi
13957
13958
13959 # Extract the first word of "m4", so it can be a program name with args.
13960 set dummy m4; ac_word=$2
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13962 $as_echo_n "checking for $ac_word... " >&6; }
13963 if ${ac_cv_path_M4+:} false; then :
13964 $as_echo_n "(cached) " >&6
13965 else
13966 case $M4 in
13967 [\\/]* | ?:[\\/]*)
13968 ac_cv_path_M4="$M4" # Let the user override the test with a path.
13969 ;;
13970 *)
13971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13972 for as_dir in $PATH
13973 do
13974 IFS=$as_save_IFS
13975 test -z "$as_dir" && as_dir=.
13976 for ac_exec_ext in '' $ac_executable_extensions; do
13977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13978 ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
13979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13980 break 2
13981 fi
13982 done
13983 done
13984 IFS=$as_save_IFS
13985
13986 ;;
13987 esac
13988 fi
13989 M4=$ac_cv_path_M4
13990 if test -n "$M4"; then
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
13992 $as_echo "$M4" >&6; }
13993 else
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 $as_echo "no" >&6; }
13996 fi
13997
13998
13999 # Extract the first word of "xsltproc", so it can be a program name with args.
14000 set dummy xsltproc; ac_word=$2
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14002 $as_echo_n "checking for $ac_word... " >&6; }
14003 if ${ac_cv_path_XSLTPROC+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 case $XSLTPROC in
14007 [\\/]* | ?:[\\/]*)
14008 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
14009 ;;
14010 *)
14011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14012 for as_dir in $PATH
14013 do
14014 IFS=$as_save_IFS
14015 test -z "$as_dir" && as_dir=.
14016 for ac_exec_ext in '' $ac_executable_extensions; do
14017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14018 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
14019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14020 break 2
14021 fi
14022 done
14023 done
14024 IFS=$as_save_IFS
14025
14026 ;;
14027 esac
14028 fi
14029 XSLTPROC=$ac_cv_path_XSLTPROC
14030 if test -n "$XSLTPROC"; then
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
14032 $as_echo "$XSLTPROC" >&6; }
14033 else
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035 $as_echo "no" >&6; }
14036 fi
14037
14038
14039
14040 # Extract the first word of "quotaon", so it can be a program name with args.
14041 set dummy quotaon; ac_word=$2
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14043 $as_echo_n "checking for $ac_word... " >&6; }
14044 if ${ac_cv_path_QUOTAON+:} false; then :
14045 $as_echo_n "(cached) " >&6
14046 else
14047 case $QUOTAON in
14048 [\\/]* | ?:[\\/]*)
14049 ac_cv_path_QUOTAON="$QUOTAON" # Let the user override the test with a path.
14050 ;;
14051 *)
14052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14053 for as_dir in $PATH
14054 do
14055 IFS=$as_save_IFS
14056 test -z "$as_dir" && as_dir=.
14057 for ac_exec_ext in '' $ac_executable_extensions; do
14058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14059 ac_cv_path_QUOTAON="$as_dir/$ac_word$ac_exec_ext"
14060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 break 2
14062 fi
14063 done
14064 done
14065 IFS=$as_save_IFS
14066
14067 test -z "$ac_cv_path_QUOTAON" && ac_cv_path_QUOTAON="/usr/sbin/quotaon"
14068 ;;
14069 esac
14070 fi
14071 QUOTAON=$ac_cv_path_QUOTAON
14072 if test -n "$QUOTAON"; then
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QUOTAON" >&5
14074 $as_echo "$QUOTAON" >&6; }
14075 else
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14077 $as_echo "no" >&6; }
14078 fi
14079
14080
14081 # Extract the first word of "quotacheck", so it can be a program name with args.
14082 set dummy quotacheck; ac_word=$2
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14084 $as_echo_n "checking for $ac_word... " >&6; }
14085 if ${ac_cv_path_QUOTACHECK+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 case $QUOTACHECK in
14089 [\\/]* | ?:[\\/]*)
14090 ac_cv_path_QUOTACHECK="$QUOTACHECK" # Let the user override the test with a path.
14091 ;;
14092 *)
14093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14094 for as_dir in $PATH
14095 do
14096 IFS=$as_save_IFS
14097 test -z "$as_dir" && as_dir=.
14098 for ac_exec_ext in '' $ac_executable_extensions; do
14099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14100 ac_cv_path_QUOTACHECK="$as_dir/$ac_word$ac_exec_ext"
14101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14102 break 2
14103 fi
14104 done
14105 done
14106 IFS=$as_save_IFS
14107
14108 test -z "$ac_cv_path_QUOTACHECK" && ac_cv_path_QUOTACHECK="/usr/sbin/quotacheck"
14109 ;;
14110 esac
14111 fi
14112 QUOTACHECK=$ac_cv_path_QUOTACHECK
14113 if test -n "$QUOTACHECK"; then
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QUOTACHECK" >&5
14115 $as_echo "$QUOTACHECK" >&6; }
14116 else
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14118 $as_echo "no" >&6; }
14119 fi
14120
14121
14122
14123 # Extract the first word of "setcap", so it can be a program name with args.
14124 set dummy setcap; ac_word=$2
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14126 $as_echo_n "checking for $ac_word... " >&6; }
14127 if ${ac_cv_path_SETCAP+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 case $SETCAP in
14131 [\\/]* | ?:[\\/]*)
14132 ac_cv_path_SETCAP="$SETCAP" # Let the user override the test with a path.
14133 ;;
14134 *)
14135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14136 for as_dir in $PATH
14137 do
14138 IFS=$as_save_IFS
14139 test -z "$as_dir" && as_dir=.
14140 for ac_exec_ext in '' $ac_executable_extensions; do
14141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14142 ac_cv_path_SETCAP="$as_dir/$ac_word$ac_exec_ext"
14143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14144 break 2
14145 fi
14146 done
14147 done
14148 IFS=$as_save_IFS
14149
14150 test -z "$ac_cv_path_SETCAP" && ac_cv_path_SETCAP="/usr/sbin/setcap"
14151 ;;
14152 esac
14153 fi
14154 SETCAP=$ac_cv_path_SETCAP
14155 if test -n "$SETCAP"; then
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETCAP" >&5
14157 $as_echo "$SETCAP" >&6; }
14158 else
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14160 $as_echo "no" >&6; }
14161 fi
14162
14163
14164
14165 # Extract the first word of "kill", so it can be a program name with args.
14166 set dummy kill; ac_word=$2
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14168 $as_echo_n "checking for $ac_word... " >&6; }
14169 if ${ac_cv_path_KILL+:} false; then :
14170 $as_echo_n "(cached) " >&6
14171 else
14172 case $KILL in
14173 [\\/]* | ?:[\\/]*)
14174 ac_cv_path_KILL="$KILL" # Let the user override the test with a path.
14175 ;;
14176 *)
14177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14178 for as_dir in $PATH
14179 do
14180 IFS=$as_save_IFS
14181 test -z "$as_dir" && as_dir=.
14182 for ac_exec_ext in '' $ac_executable_extensions; do
14183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14184 ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext"
14185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14186 break 2
14187 fi
14188 done
14189 done
14190 IFS=$as_save_IFS
14191
14192 test -z "$ac_cv_path_KILL" && ac_cv_path_KILL="/usr/bin/kill"
14193 ;;
14194 esac
14195 fi
14196 KILL=$ac_cv_path_KILL
14197 if test -n "$KILL"; then
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KILL" >&5
14199 $as_echo "$KILL" >&6; }
14200 else
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14202 $as_echo "no" >&6; }
14203 fi
14204
14205
14206
14207 # Extract the first word of "kmod", so it can be a program name with args.
14208 set dummy kmod; ac_word=$2
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14210 $as_echo_n "checking for $ac_word... " >&6; }
14211 if ${ac_cv_path_KMOD+:} false; then :
14212 $as_echo_n "(cached) " >&6
14213 else
14214 case $KMOD in
14215 [\\/]* | ?:[\\/]*)
14216 ac_cv_path_KMOD="$KMOD" # Let the user override the test with a path.
14217 ;;
14218 *)
14219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14220 for as_dir in $PATH
14221 do
14222 IFS=$as_save_IFS
14223 test -z "$as_dir" && as_dir=.
14224 for ac_exec_ext in '' $ac_executable_extensions; do
14225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14226 ac_cv_path_KMOD="$as_dir/$ac_word$ac_exec_ext"
14227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14228 break 2
14229 fi
14230 done
14231 done
14232 IFS=$as_save_IFS
14233
14234 test -z "$ac_cv_path_KMOD" && ac_cv_path_KMOD="/usr/bin/kmod"
14235 ;;
14236 esac
14237 fi
14238 KMOD=$ac_cv_path_KMOD
14239 if test -n "$KMOD"; then
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KMOD" >&5
14241 $as_echo "$KMOD" >&6; }
14242 else
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14244 $as_echo "no" >&6; }
14245 fi
14246
14247
14248
14249 # Extract the first word of "kexec", so it can be a program name with args.
14250 set dummy kexec; ac_word=$2
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14252 $as_echo_n "checking for $ac_word... " >&6; }
14253 if ${ac_cv_path_KEXEC+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 case $KEXEC in
14257 [\\/]* | ?:[\\/]*)
14258 ac_cv_path_KEXEC="$KEXEC" # Let the user override the test with a path.
14259 ;;
14260 *)
14261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14262 for as_dir in $PATH
14263 do
14264 IFS=$as_save_IFS
14265 test -z "$as_dir" && as_dir=.
14266 for ac_exec_ext in '' $ac_executable_extensions; do
14267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14268 ac_cv_path_KEXEC="$as_dir/$ac_word$ac_exec_ext"
14269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14270 break 2
14271 fi
14272 done
14273 done
14274 IFS=$as_save_IFS
14275
14276 test -z "$ac_cv_path_KEXEC" && ac_cv_path_KEXEC="/usr/sbin/kexec"
14277 ;;
14278 esac
14279 fi
14280 KEXEC=$ac_cv_path_KEXEC
14281 if test -n "$KEXEC"; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEXEC" >&5
14283 $as_echo "$KEXEC" >&6; }
14284 else
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14286 $as_echo "no" >&6; }
14287 fi
14288
14289
14290
14291 # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line
14292
14293
14294
14295
14296
14297
14298
14299
14300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14301 if test -n "$ac_tool_prefix"; then
14302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14303 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14305 $as_echo_n "checking for $ac_word... " >&6; }
14306 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 case $PKG_CONFIG in
14310 [\\/]* | ?:[\\/]*)
14311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14312 ;;
14313 *)
14314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14315 for as_dir in $PATH
14316 do
14317 IFS=$as_save_IFS
14318 test -z "$as_dir" && as_dir=.
14319 for ac_exec_ext in '' $ac_executable_extensions; do
14320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14323 break 2
14324 fi
14325 done
14326 done
14327 IFS=$as_save_IFS
14328
14329 ;;
14330 esac
14331 fi
14332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14333 if test -n "$PKG_CONFIG"; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14335 $as_echo "$PKG_CONFIG" >&6; }
14336 else
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14339 fi
14340
14341
14342 fi
14343 if test -z "$ac_cv_path_PKG_CONFIG"; then
14344 ac_pt_PKG_CONFIG=$PKG_CONFIG
14345 # Extract the first word of "pkg-config", so it can be a program name with args.
14346 set dummy pkg-config; ac_word=$2
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14348 $as_echo_n "checking for $ac_word... " >&6; }
14349 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14350 $as_echo_n "(cached) " >&6
14351 else
14352 case $ac_pt_PKG_CONFIG in
14353 [\\/]* | ?:[\\/]*)
14354 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14355 ;;
14356 *)
14357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14358 for as_dir in $PATH
14359 do
14360 IFS=$as_save_IFS
14361 test -z "$as_dir" && as_dir=.
14362 for ac_exec_ext in '' $ac_executable_extensions; do
14363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14364 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14366 break 2
14367 fi
14368 done
14369 done
14370 IFS=$as_save_IFS
14371
14372 ;;
14373 esac
14374 fi
14375 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14376 if test -n "$ac_pt_PKG_CONFIG"; then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14378 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14379 else
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14381 $as_echo "no" >&6; }
14382 fi
14383
14384 if test "x$ac_pt_PKG_CONFIG" = x; then
14385 PKG_CONFIG=""
14386 else
14387 case $cross_compiling:$ac_tool_warned in
14388 yes:)
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14391 ac_tool_warned=yes ;;
14392 esac
14393 PKG_CONFIG=$ac_pt_PKG_CONFIG
14394 fi
14395 else
14396 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14397 fi
14398
14399 fi
14400 if test -n "$PKG_CONFIG"; then
14401 _pkg_min_version=0.9.0
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14403 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14404 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14406 $as_echo "yes" >&6; }
14407 else
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14409 $as_echo "no" >&6; }
14410 PKG_CONFIG=""
14411 fi
14412 fi
14413
14414
14415
14416 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
14417 set dummy gtkdoc-check; ac_word=$2
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14419 $as_echo_n "checking for $ac_word... " >&6; }
14420 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 case $GTKDOC_CHECK in
14424 [\\/]* | ?:[\\/]*)
14425 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14426 ;;
14427 *)
14428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14429 for as_dir in $PATH
14430 do
14431 IFS=$as_save_IFS
14432 test -z "$as_dir" && as_dir=.
14433 for ac_exec_ext in '' $ac_executable_extensions; do
14434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14435 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14437 break 2
14438 fi
14439 done
14440 done
14441 IFS=$as_save_IFS
14442
14443 ;;
14444 esac
14445 fi
14446 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14447 if test -n "$GTKDOC_CHECK"; then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14449 $as_echo "$GTKDOC_CHECK" >&6; }
14450 else
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14452 $as_echo "no" >&6; }
14453 fi
14454
14455
14456 for ac_prog in gtkdoc-rebase
14457 do
14458 # Extract the first word of "$ac_prog", so it can be a program name with args.
14459 set dummy $ac_prog; ac_word=$2
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14461 $as_echo_n "checking for $ac_word... " >&6; }
14462 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14463 $as_echo_n "(cached) " >&6
14464 else
14465 case $GTKDOC_REBASE in
14466 [\\/]* | ?:[\\/]*)
14467 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14468 ;;
14469 *)
14470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14471 for as_dir in $PATH
14472 do
14473 IFS=$as_save_IFS
14474 test -z "$as_dir" && as_dir=.
14475 for ac_exec_ext in '' $ac_executable_extensions; do
14476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14477 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14479 break 2
14480 fi
14481 done
14482 done
14483 IFS=$as_save_IFS
14484
14485 ;;
14486 esac
14487 fi
14488 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14489 if test -n "$GTKDOC_REBASE"; then
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14491 $as_echo "$GTKDOC_REBASE" >&6; }
14492 else
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14494 $as_echo "no" >&6; }
14495 fi
14496
14497
14498 test -n "$GTKDOC_REBASE" && break
14499 done
14500 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14501
14502 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14503 set dummy gtkdoc-mkpdf; ac_word=$2
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14505 $as_echo_n "checking for $ac_word... " >&6; }
14506 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14507 $as_echo_n "(cached) " >&6
14508 else
14509 case $GTKDOC_MKPDF in
14510 [\\/]* | ?:[\\/]*)
14511 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14512 ;;
14513 *)
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14516 do
14517 IFS=$as_save_IFS
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14521 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14523 break 2
14524 fi
14525 done
14526 done
14527 IFS=$as_save_IFS
14528
14529 ;;
14530 esac
14531 fi
14532 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14533 if test -n "$GTKDOC_MKPDF"; then
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14535 $as_echo "$GTKDOC_MKPDF" >&6; }
14536 else
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14538 $as_echo "no" >&6; }
14539 fi
14540
14541
14542
14543
14544 # Check whether --with-html-dir was given.
14545 if test "${with_html_dir+set}" = set; then :
14546 withval=$with_html_dir;
14547 else
14548 with_html_dir='${datadir}/gtk-doc/html'
14549 fi
14550
14551 HTML_DIR="$with_html_dir"
14552
14553
14554 # Check whether --enable-gtk-doc was given.
14555 if test "${enable_gtk_doc+set}" = set; then :
14556 enableval=$enable_gtk_doc;
14557 else
14558 enable_gtk_doc=no
14559 fi
14560
14561
14562 if test x$enable_gtk_doc = xyes; then
14563 if test -n "$PKG_CONFIG" && \
14564 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
14565 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
14566 ac_status=$?
14567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14568 test $ac_status = 0; }; then
14569 :
14570 else
14571 as_fn_error $? "You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
14572 fi
14573 if test "x$PACKAGE_NAME" != "xglib"; then
14574
14575 pkg_failed=no
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14577 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14578
14579 if test -n "$GTKDOC_DEPS_CFLAGS"; then
14580 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14581 elif test -n "$PKG_CONFIG"; then
14582 if test -n "$PKG_CONFIG" && \
14583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14584 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14585 ac_status=$?
14586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14587 test $ac_status = 0; }; then
14588 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14589 test "x$?" != "x0" && pkg_failed=yes
14590 else
14591 pkg_failed=yes
14592 fi
14593 else
14594 pkg_failed=untried
14595 fi
14596 if test -n "$GTKDOC_DEPS_LIBS"; then
14597 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14598 elif test -n "$PKG_CONFIG"; then
14599 if test -n "$PKG_CONFIG" && \
14600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
14601 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14602 ac_status=$?
14603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14604 test $ac_status = 0; }; then
14605 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14606 test "x$?" != "x0" && pkg_failed=yes
14607 else
14608 pkg_failed=yes
14609 fi
14610 else
14611 pkg_failed=untried
14612 fi
14613
14614
14615
14616 if test $pkg_failed = yes; then
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14618 $as_echo "no" >&6; }
14619
14620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14621 _pkg_short_errors_supported=yes
14622 else
14623 _pkg_short_errors_supported=no
14624 fi
14625 if test $_pkg_short_errors_supported = yes; then
14626 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14627 else
14628 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14629 fi
14630 # Put the nasty error message in config.log where it belongs
14631 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14632
14633 :
14634 elif test $pkg_failed = untried; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14636 $as_echo "no" >&6; }
14637 :
14638 else
14639 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14640 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14642 $as_echo "yes" >&6; }
14643
14644 fi
14645 fi
14646 fi
14647
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14649 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14651 $as_echo "$enable_gtk_doc" >&6; }
14652
14653 # Check whether --enable-gtk-doc-html was given.
14654 if test "${enable_gtk_doc_html+set}" = set; then :
14655 enableval=$enable_gtk_doc_html;
14656 else
14657 enable_gtk_doc_html=yes
14658 fi
14659
14660 # Check whether --enable-gtk-doc-pdf was given.
14661 if test "${enable_gtk_doc_pdf+set}" = set; then :
14662 enableval=$enable_gtk_doc_pdf;
14663 else
14664 enable_gtk_doc_pdf=no
14665 fi
14666
14667
14668 if test -z "$GTKDOC_MKPDF"; then
14669 enable_gtk_doc_pdf=no
14670 fi
14671
14672 if test -z "$AM_DEFAULT_VERBOSITY"; then
14673 AM_DEFAULT_VERBOSITY=1
14674 fi
14675
14676
14677 if test x$enable_gtk_doc = xyes; then
14678 ENABLE_GTK_DOC_TRUE=
14679 ENABLE_GTK_DOC_FALSE='#'
14680 else
14681 ENABLE_GTK_DOC_TRUE='#'
14682 ENABLE_GTK_DOC_FALSE=
14683 fi
14684
14685 if test x$enable_gtk_doc_html = xyes; then
14686 GTK_DOC_BUILD_HTML_TRUE=
14687 GTK_DOC_BUILD_HTML_FALSE='#'
14688 else
14689 GTK_DOC_BUILD_HTML_TRUE='#'
14690 GTK_DOC_BUILD_HTML_FALSE=
14691 fi
14692
14693 if test x$enable_gtk_doc_pdf = xyes; then
14694 GTK_DOC_BUILD_PDF_TRUE=
14695 GTK_DOC_BUILD_PDF_FALSE='#'
14696 else
14697 GTK_DOC_BUILD_PDF_TRUE='#'
14698 GTK_DOC_BUILD_PDF_FALSE=
14699 fi
14700
14701 if test -n "$LIBTOOL"; then
14702 GTK_DOC_USE_LIBTOOL_TRUE=
14703 GTK_DOC_USE_LIBTOOL_FALSE='#'
14704 else
14705 GTK_DOC_USE_LIBTOOL_TRUE='#'
14706 GTK_DOC_USE_LIBTOOL_FALSE=
14707 fi
14708
14709 if test -n "$GTKDOC_REBASE"; then
14710 GTK_DOC_USE_REBASE_TRUE=
14711 GTK_DOC_USE_REBASE_FALSE='#'
14712 else
14713 GTK_DOC_USE_REBASE_TRUE='#'
14714 GTK_DOC_USE_REBASE_FALSE=
14715 fi
14716
14717
14718
14719 if test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x; then :
14720
14721 as_fn_error $? "*** GTK doc requested but xsltproc not found" "$LINENO" 5
14722
14723 fi
14724
14725
14726
14727
14728
14729 # Check whether --enable-introspection was given.
14730 if test "${enable_introspection+set}" = set; then :
14731 enableval=$enable_introspection;
14732 else
14733 enable_introspection=auto
14734 fi
14735
14736
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14738 $as_echo_n "checking for gobject-introspection... " >&6; }
14739
14740 case $enable_introspection in #(
14741 no) :
14742 found_introspection="no (disabled, use --enable-introspection to enable)"
14743 ;; #(
14744 yes) :
14745 if test -n "$PKG_CONFIG" && \
14746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14747 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14748 ac_status=$?
14749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14750 test $ac_status = 0; }; then
14751 :
14752 else
14753 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14754 fi
14755 if test -n "$PKG_CONFIG" && \
14756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14757 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14758 ac_status=$?
14759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14760 test $ac_status = 0; }; then
14761 found_introspection=yes
14762 else
14763 as_fn_error $? "You need to have gobject-introspection >= 1.31.1 installed to build systemd" "$LINENO" 5
14764 fi
14765 ;; #(
14766 auto) :
14767 if test -n "$PKG_CONFIG" && \
14768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 1.31.1\""; } >&5
14769 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 1.31.1") 2>&5
14770 ac_status=$?
14771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14772 test $ac_status = 0; }; then
14773 found_introspection=yes
14774 else
14775 found_introspection=no
14776 fi
14777 enable_introspection=$found_introspection
14778 ;; #(
14779 *) :
14780 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14781 ;;
14782 esac
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14784 $as_echo "$found_introspection" >&6; }
14785
14786 INTROSPECTION_SCANNER=
14787 INTROSPECTION_COMPILER=
14788 INTROSPECTION_GENERATE=
14789 INTROSPECTION_GIRDIR=
14790 INTROSPECTION_TYPELIBDIR=
14791 if test "x$found_introspection" = "xyes"; then
14792 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14793 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14794 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14795 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14796 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14797 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14798 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14799 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14800 fi
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810 if test "x$found_introspection" = "xyes"; then
14811 HAVE_INTROSPECTION_TRUE=
14812 HAVE_INTROSPECTION_FALSE='#'
14813 else
14814 HAVE_INTROSPECTION_TRUE='#'
14815 HAVE_INTROSPECTION_FALSE=
14816 fi
14817
14818
14819
14820
14821
14822 if test -n "$ac_tool_prefix"; then
14823 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
14824 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14826 $as_echo_n "checking for $ac_word... " >&6; }
14827 if ${ac_cv_prog_OBJCOPY+:} false; then :
14828 $as_echo_n "(cached) " >&6
14829 else
14830 if test -n "$OBJCOPY"; then
14831 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
14832 else
14833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14834 for as_dir in $PATH
14835 do
14836 IFS=$as_save_IFS
14837 test -z "$as_dir" && as_dir=.
14838 for ac_exec_ext in '' $ac_executable_extensions; do
14839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14840 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
14841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14842 break 2
14843 fi
14844 done
14845 done
14846 IFS=$as_save_IFS
14847
14848 fi
14849 fi
14850 OBJCOPY=$ac_cv_prog_OBJCOPY
14851 if test -n "$OBJCOPY"; then
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
14853 $as_echo "$OBJCOPY" >&6; }
14854 else
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14856 $as_echo "no" >&6; }
14857 fi
14858
14859
14860 fi
14861 if test -z "$ac_cv_prog_OBJCOPY"; then
14862 ac_ct_OBJCOPY=$OBJCOPY
14863 # Extract the first word of "objcopy", so it can be a program name with args.
14864 set dummy objcopy; ac_word=$2
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14866 $as_echo_n "checking for $ac_word... " >&6; }
14867 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
14868 $as_echo_n "(cached) " >&6
14869 else
14870 if test -n "$ac_ct_OBJCOPY"; then
14871 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
14872 else
14873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14874 for as_dir in $PATH
14875 do
14876 IFS=$as_save_IFS
14877 test -z "$as_dir" && as_dir=.
14878 for ac_exec_ext in '' $ac_executable_extensions; do
14879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14880 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
14881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14882 break 2
14883 fi
14884 done
14885 done
14886 IFS=$as_save_IFS
14887
14888 fi
14889 fi
14890 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
14891 if test -n "$ac_ct_OBJCOPY"; then
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
14893 $as_echo "$ac_ct_OBJCOPY" >&6; }
14894 else
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14896 $as_echo "no" >&6; }
14897 fi
14898
14899 if test "x$ac_ct_OBJCOPY" = x; then
14900 OBJCOPY=""
14901 else
14902 case $cross_compiling:$ac_tool_warned in
14903 yes:)
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14906 ac_tool_warned=yes ;;
14907 esac
14908 OBJCOPY=$ac_ct_OBJCOPY
14909 fi
14910 else
14911 OBJCOPY="$ac_cv_prog_OBJCOPY"
14912 fi
14913
14914 if test -n "$ac_tool_prefix"; then
14915 # Extract the first word of "${ac_tool_prefix}strings", so it can be a program name with args.
14916 set dummy ${ac_tool_prefix}strings; ac_word=$2
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14918 $as_echo_n "checking for $ac_word... " >&6; }
14919 if ${ac_cv_prog_STRINGS+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 if test -n "$STRINGS"; then
14923 ac_cv_prog_STRINGS="$STRINGS" # Let the user override the test.
14924 else
14925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14926 for as_dir in $PATH
14927 do
14928 IFS=$as_save_IFS
14929 test -z "$as_dir" && as_dir=.
14930 for ac_exec_ext in '' $ac_executable_extensions; do
14931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14932 ac_cv_prog_STRINGS="${ac_tool_prefix}strings"
14933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14934 break 2
14935 fi
14936 done
14937 done
14938 IFS=$as_save_IFS
14939
14940 fi
14941 fi
14942 STRINGS=$ac_cv_prog_STRINGS
14943 if test -n "$STRINGS"; then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRINGS" >&5
14945 $as_echo "$STRINGS" >&6; }
14946 else
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14948 $as_echo "no" >&6; }
14949 fi
14950
14951
14952 fi
14953 if test -z "$ac_cv_prog_STRINGS"; then
14954 ac_ct_STRINGS=$STRINGS
14955 # Extract the first word of "strings", so it can be a program name with args.
14956 set dummy strings; ac_word=$2
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14958 $as_echo_n "checking for $ac_word... " >&6; }
14959 if ${ac_cv_prog_ac_ct_STRINGS+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 if test -n "$ac_ct_STRINGS"; then
14963 ac_cv_prog_ac_ct_STRINGS="$ac_ct_STRINGS" # Let the user override the test.
14964 else
14965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14966 for as_dir in $PATH
14967 do
14968 IFS=$as_save_IFS
14969 test -z "$as_dir" && as_dir=.
14970 for ac_exec_ext in '' $ac_executable_extensions; do
14971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14972 ac_cv_prog_ac_ct_STRINGS="strings"
14973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14974 break 2
14975 fi
14976 done
14977 done
14978 IFS=$as_save_IFS
14979
14980 fi
14981 fi
14982 ac_ct_STRINGS=$ac_cv_prog_ac_ct_STRINGS
14983 if test -n "$ac_ct_STRINGS"; then
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRINGS" >&5
14985 $as_echo "$ac_ct_STRINGS" >&6; }
14986 else
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14988 $as_echo "no" >&6; }
14989 fi
14990
14991 if test "x$ac_ct_STRINGS" = x; then
14992 STRINGS=""
14993 else
14994 case $cross_compiling:$ac_tool_warned in
14995 yes:)
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14998 ac_tool_warned=yes ;;
14999 esac
15000 STRINGS=$ac_ct_STRINGS
15001 fi
15002 else
15003 STRINGS="$ac_cv_prog_STRINGS"
15004 fi
15005
15006 if test -n "$ac_tool_prefix"; then
15007 # Extract the first word of "${ac_tool_prefix}gperf", so it can be a program name with args.
15008 set dummy ${ac_tool_prefix}gperf; ac_word=$2
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15010 $as_echo_n "checking for $ac_word... " >&6; }
15011 if ${ac_cv_prog_GPERF+:} false; then :
15012 $as_echo_n "(cached) " >&6
15013 else
15014 if test -n "$GPERF"; then
15015 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
15016 else
15017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15018 for as_dir in $PATH
15019 do
15020 IFS=$as_save_IFS
15021 test -z "$as_dir" && as_dir=.
15022 for ac_exec_ext in '' $ac_executable_extensions; do
15023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15024 ac_cv_prog_GPERF="${ac_tool_prefix}gperf"
15025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15026 break 2
15027 fi
15028 done
15029 done
15030 IFS=$as_save_IFS
15031
15032 fi
15033 fi
15034 GPERF=$ac_cv_prog_GPERF
15035 if test -n "$GPERF"; then
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
15037 $as_echo "$GPERF" >&6; }
15038 else
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15040 $as_echo "no" >&6; }
15041 fi
15042
15043
15044 fi
15045 if test -z "$ac_cv_prog_GPERF"; then
15046 ac_ct_GPERF=$GPERF
15047 # Extract the first word of "gperf", so it can be a program name with args.
15048 set dummy gperf; ac_word=$2
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15050 $as_echo_n "checking for $ac_word... " >&6; }
15051 if ${ac_cv_prog_ac_ct_GPERF+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053 else
15054 if test -n "$ac_ct_GPERF"; then
15055 ac_cv_prog_ac_ct_GPERF="$ac_ct_GPERF" # Let the user override the test.
15056 else
15057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15058 for as_dir in $PATH
15059 do
15060 IFS=$as_save_IFS
15061 test -z "$as_dir" && as_dir=.
15062 for ac_exec_ext in '' $ac_executable_extensions; do
15063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15064 ac_cv_prog_ac_ct_GPERF="gperf"
15065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15066 break 2
15067 fi
15068 done
15069 done
15070 IFS=$as_save_IFS
15071
15072 fi
15073 fi
15074 ac_ct_GPERF=$ac_cv_prog_ac_ct_GPERF
15075 if test -n "$ac_ct_GPERF"; then
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GPERF" >&5
15077 $as_echo "$ac_ct_GPERF" >&6; }
15078 else
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15080 $as_echo "no" >&6; }
15081 fi
15082
15083 if test "x$ac_ct_GPERF" = x; then
15084 GPERF=""
15085 else
15086 case $cross_compiling:$ac_tool_warned in
15087 yes:)
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15090 ac_tool_warned=yes ;;
15091 esac
15092 GPERF=$ac_ct_GPERF
15093 fi
15094 else
15095 GPERF="$ac_cv_prog_GPERF"
15096 fi
15097
15098 if test -z "$GPERF" ; then
15099 as_fn_error $? "*** gperf not found" "$LINENO" 5
15100 fi
15101
15102 # ------------------------------------------------------------------------------
15103 address_sanitizer_cflags=
15104 address_sanitizer_cppflags=
15105 address_sanitizer_ldflags=
15106 # Check whether --enable-address-sanitizer was given.
15107 if test "${enable_address_sanitizer+set}" = set; then :
15108 enableval=$enable_address_sanitizer;
15109 fi
15110
15111 if test "x$enable_address_sanitizer" = "xyes"; then :
15112
15113
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag -fsanitize=address in envvar CFLAGS" >&5
15115 $as_echo_n "checking if $CC supports flag -fsanitize=address in envvar CFLAGS... " >&6; }
15116 if ${cc_cv_CFLAGS__fsanitize_address+:} false; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 eval "cc_save_CFLAGS='${CFLAGS}'"
15120 eval "CFLAGS='-Werror -fsanitize=address'"
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 int a = 0; int main(void) { return a; }
15124 _ACEOF
15125 if ac_fn_c_try_link "$LINENO"; then :
15126 eval "cc_cv_CFLAGS__fsanitize_address='yes'"
15127 else
15128 eval "cc_cv_CFLAGS__fsanitize_address='no'"
15129 fi
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext conftest.$ac_ext
15132 eval "CFLAGS='$cc_save_CFLAGS'"
15133 fi
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_cv_CFLAGS__fsanitize_address" >&5
15135 $as_echo "$cc_cv_CFLAGS__fsanitize_address" >&6; }
15136
15137 if eval test x$cc_cv_CFLAGS__fsanitize_address = xyes; then :
15138 eval "with_as_cflags='${with_as_cflags} -fsanitize=address'"
15139 fi
15140
15141 if test -z "$with_as_cflags"; then :
15142 as_fn_error $? "*** -fsanitize=address is not supported" "$LINENO" 5
15143 fi
15144 address_sanitizer_cflags="$with_as_cflags -fno-omit-frame-pointer -DVALGRIND=1"
15145 address_sanitizer_cppflags="-DVALGRIND=1"
15146 address_sanitizer_ldflags="-Wc,-fsanitize=address"
15147
15148 fi
15149
15150
15151 for flag in \
15152 -pipe \
15153 -Wall \
15154 -Wextra \
15155 -Wno-inline \
15156 -Wundef \
15157 "-Wformat=2 -Wformat-security -Wformat-nonliteral" \
15158 -Wlogical-op \
15159 -Wsign-compare \
15160 -Wmissing-include-dirs \
15161 -Wold-style-definition \
15162 -Wpointer-arith \
15163 -Winit-self \
15164 -Wdeclaration-after-statement \
15165 -Wfloat-equal \
15166 -Wmissing-prototypes \
15167 -Wstrict-prototypes \
15168 -Wredundant-decls \
15169 -Wmissing-declarations \
15170 -Wmissing-noreturn \
15171 -Wshadow \
15172 -Wendif-labels \
15173 -Wcast-align \
15174 -Wstrict-aliasing=2 \
15175 -Wwrite-strings \
15176 -Wno-long-long \
15177 -Wno-overlength-strings \
15178 -Wno-unused-parameter \
15179 -Wno-missing-field-initializers \
15180 -Wno-unused-result \
15181 -Werror=overflow \
15182 -ffast-math \
15183 -fno-common \
15184 -fdiagnostics-show-option \
15185 -fdiagnostics-color \
15186 -fno-strict-aliasing \
15187 -fvisibility=hidden \
15188 -ffunction-sections \
15189 -fdata-sections \
15190 -fstack-protector \
15191 --param=ssp-buffer-size=4; do
15192
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
15194 $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
15195 if { as_var=`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 eval "cc_save_CFLAGS='${CFLAGS}'"
15199 eval "CFLAGS='-Werror $flag'"
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 int a = 0; int main(void) { return a; }
15203 _ACEOF
15204 if ac_fn_c_try_link "$LINENO"; then :
15205 eval "`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`='yes'"
15206 else
15207 eval "`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`='no'"
15208 fi
15209 rm -f core conftest.err conftest.$ac_objext \
15210 conftest$ac_exeext conftest.$ac_ext
15211 eval "CFLAGS='$cc_save_CFLAGS'"
15212 fi
15213 eval ac_res=\$`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15215 $as_echo "$ac_res" >&6; }
15216
15217 if eval test x$`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh` = xyes; then :
15218 eval "with_cflags='${with_cflags} $flag'"
15219 fi
15220
15221 done
15222
15223 OUR_CFLAGS="$with_cflags $address_sanitizer_cflags"
15224
15225
15226 case $CFLAGS in #(
15227 *-O[12345g\ ]*) :
15228
15229 for flag in \
15230 -Wp,-D_FORTIFY_SOURCE=2; do
15231
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CPPFLAGS" >&5
15233 $as_echo_n "checking if $CC supports flag $flag in envvar CPPFLAGS... " >&6; }
15234 if { as_var=`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
15235 $as_echo_n "(cached) " >&6
15236 else
15237 eval "cc_save_CPPFLAGS='${CPPFLAGS}'"
15238 eval "CPPFLAGS='-Werror $flag'"
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15241 int a = 0; int main(void) { return a; }
15242 _ACEOF
15243 if ac_fn_c_try_link "$LINENO"; then :
15244 eval "`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`='yes'"
15245 else
15246 eval "`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`='no'"
15247 fi
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15250 eval "CPPFLAGS='$cc_save_CPPFLAGS'"
15251 fi
15252 eval ac_res=\$`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh`
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15254 $as_echo "$ac_res" >&6; }
15255
15256 if eval test x$`$as_echo "cc_cv_CPPFLAGS_$flag" | $as_tr_sh` = xyes; then :
15257 eval "with_cppflags='${with_cppflags} $flag'"
15258 fi
15259
15260 done
15261 ;; #(
15262 *) :
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipping -D_FORTIFY_SOURCE, optimization not enabled" >&5
15264 $as_echo "skipping -D_FORTIFY_SOURCE, optimization not enabled" >&6; } ;;
15265 esac
15266 OUR_CPPFLAGS="$with_cppflags $address_sanitizer_cppflags"
15267
15268
15269
15270 for flag in \
15271 -Wl,--as-needed \
15272 -Wl,--no-undefined \
15273 -Wl,--gc-sections \
15274 -Wl,-z,relro \
15275 -Wl,-z,now; do
15276
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar LDFLAGS" >&5
15278 $as_echo_n "checking if $CC supports flag $flag in envvar LDFLAGS... " >&6; }
15279 if { as_var=`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15282 eval "cc_save_LDFLAGS='${LDFLAGS}'"
15283 eval "LDFLAGS='-Werror $flag'"
15284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15286 int a = 0; int main(void) { return a; }
15287 _ACEOF
15288 if ac_fn_c_try_link "$LINENO"; then :
15289 eval "`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`='yes'"
15290 else
15291 eval "`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`='no'"
15292 fi
15293 rm -f core conftest.err conftest.$ac_objext \
15294 conftest$ac_exeext conftest.$ac_ext
15295 eval "LDFLAGS='$cc_save_LDFLAGS'"
15296 fi
15297 eval ac_res=\$`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh`
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15299 $as_echo "$ac_res" >&6; }
15300
15301 if eval test x$`$as_echo "cc_cv_LDFLAGS_$flag" | $as_tr_sh` = xyes; then :
15302 eval "with_ldflags='${with_ldflags} $flag'"
15303 fi
15304
15305 done
15306
15307 OUR_LDFLAGS="$with_ldflags $address_sanitizer_ldflags"
15308
15309
15310 # ------------------------------------------------------------------------------
15311 # we use python to build the man page index, and for systemd-python
15312 have_python=no
15313
15314 # Check whether --with-python was given.
15315 if test "${with_python+set}" = set; then :
15316 withval=$with_python;
15317 fi
15318
15319
15320 if test "x$with_python" != "xno"; then :
15321
15322
15323
15324
15325
15326
15327
15328 # Find any Python interpreter.
15329 if test -z "$PYTHON"; then
15330 for ac_prog in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
15331 do
15332 # Extract the first word of "$ac_prog", so it can be a program name with args.
15333 set dummy $ac_prog; ac_word=$2
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15335 $as_echo_n "checking for $ac_word... " >&6; }
15336 if ${ac_cv_path_PYTHON+:} false; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339 case $PYTHON in
15340 [\\/]* | ?:[\\/]*)
15341 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
15342 ;;
15343 *)
15344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15345 for as_dir in $PATH
15346 do
15347 IFS=$as_save_IFS
15348 test -z "$as_dir" && as_dir=.
15349 for ac_exec_ext in '' $ac_executable_extensions; do
15350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15351 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
15352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15353 break 2
15354 fi
15355 done
15356 done
15357 IFS=$as_save_IFS
15358
15359 ;;
15360 esac
15361 fi
15362 PYTHON=$ac_cv_path_PYTHON
15363 if test -n "$PYTHON"; then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15365 $as_echo "$PYTHON" >&6; }
15366 else
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15368 $as_echo "no" >&6; }
15369 fi
15370
15371
15372 test -n "$PYTHON" && break
15373 done
15374 test -n "$PYTHON" || PYTHON=":"
15375
15376 fi
15377 am_display_PYTHON=python
15378
15379
15380 if test "$PYTHON" = :; then
15381 :
15382 else
15383
15384
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
15386 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
15387 if ${am_cv_python_version+:} false; then :
15388 $as_echo_n "(cached) " >&6
15389 else
15390 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
15391 fi
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
15393 $as_echo "$am_cv_python_version" >&6; }
15394 PYTHON_VERSION=$am_cv_python_version
15395
15396
15397
15398 PYTHON_PREFIX='${prefix}'
15399
15400 PYTHON_EXEC_PREFIX='${exec_prefix}'
15401
15402
15403
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15405 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
15406 if ${am_cv_python_platform+:} false; then :
15407 $as_echo_n "(cached) " >&6
15408 else
15409 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
15410 fi
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
15412 $as_echo "$am_cv_python_platform" >&6; }
15413 PYTHON_PLATFORM=$am_cv_python_platform
15414
15415
15416 # Just factor out some code duplication.
15417 am_python_setup_sysconfig="\
15418 import sys
15419 # Prefer sysconfig over distutils.sysconfig, for better compatibility
15420 # with python 3.x. See automake bug#10227.
15421 try:
15422 import sysconfig
15423 except ImportError:
15424 can_use_sysconfig = 0
15425 else:
15426 can_use_sysconfig = 1
15427 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
15428 # <https://github.com/pypa/virtualenv/issues/118>
15429 try:
15430 from platform import python_implementation
15431 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
15432 can_use_sysconfig = 0
15433 except ImportError:
15434 pass"
15435
15436
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15438 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15439 if ${am_cv_python_pythondir+:} false; then :
15440 $as_echo_n "(cached) " >&6
15441 else
15442 if test "x$prefix" = xNONE
15443 then
15444 am_py_prefix=$ac_default_prefix
15445 else
15446 am_py_prefix=$prefix
15447 fi
15448 am_cv_python_pythondir=`$PYTHON -c "
15449 $am_python_setup_sysconfig
15450 if can_use_sysconfig:
15451 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
15452 else:
15453 from distutils import sysconfig
15454 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
15455 sys.stdout.write(sitedir)"`
15456 case $am_cv_python_pythondir in
15457 $am_py_prefix*)
15458 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
15459 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
15460 ;;
15461 *)
15462 case $am_py_prefix in
15463 /usr|/System*) ;;
15464 *)
15465 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
15466 ;;
15467 esac
15468 ;;
15469 esac
15470
15471 fi
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
15473 $as_echo "$am_cv_python_pythondir" >&6; }
15474 pythondir=$am_cv_python_pythondir
15475
15476
15477
15478 pkgpythondir=\${pythondir}/$PACKAGE
15479
15480
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15482 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15483 if ${am_cv_python_pyexecdir+:} false; then :
15484 $as_echo_n "(cached) " >&6
15485 else
15486 if test "x$exec_prefix" = xNONE
15487 then
15488 am_py_exec_prefix=$am_py_prefix
15489 else
15490 am_py_exec_prefix=$exec_prefix
15491 fi
15492 am_cv_python_pyexecdir=`$PYTHON -c "
15493 $am_python_setup_sysconfig
15494 if can_use_sysconfig:
15495 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
15496 else:
15497 from distutils import sysconfig
15498 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
15499 sys.stdout.write(sitedir)"`
15500 case $am_cv_python_pyexecdir in
15501 $am_py_exec_prefix*)
15502 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
15503 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
15504 ;;
15505 *)
15506 case $am_py_exec_prefix in
15507 /usr|/System*) ;;
15508 *)
15509 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
15510 ;;
15511 esac
15512 ;;
15513 esac
15514
15515 fi
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15517 $as_echo "$am_cv_python_pyexecdir" >&6; }
15518 pyexecdir=$am_cv_python_pyexecdir
15519
15520
15521
15522 pkgpyexecdir=\${pyexecdir}/$PACKAGE
15523
15524
15525
15526 fi
15527
15528
15529 if test "$PYTHON" != :; then :
15530 have_python=yes
15531 fi
15532
15533 fi
15534 if test "x$have_python" = "xyes"; then
15535 HAVE_PYTHON_TRUE=
15536 HAVE_PYTHON_FALSE='#'
15537 else
15538 HAVE_PYTHON_TRUE='#'
15539 HAVE_PYTHON_FALSE=
15540 fi
15541
15542 if test "x$PYTHON_BINARY" = "x"; then :
15543 if test "x$have_python" = "xyes"; then :
15544 PYTHON_BINARY="$(which "$PYTHON")"
15545 else
15546 PYTHON_BINARY=/usr/bin/python
15547 fi
15548 fi
15549
15550
15551 if test "x$have_python" != "xyes" -a "x$enable_python_devel" = "xyes"; then :
15552 as_fn_error $? "*** python-devel support requires --with-python" "$LINENO" 5
15553 fi
15554
15555 have_python_devel=no
15556 # Check whether --enable-python_devel was given.
15557 if test "${enable_python_devel+set}" = set; then :
15558 enableval=$enable_python_devel;
15559 fi
15560
15561 if test "x$have_python" = "xyes" -a "x$enable_python_devel" != "xno"; then :
15562
15563
15564 pkg_failed=no
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON_DEVEL" >&5
15566 $as_echo_n "checking for PYTHON_DEVEL... " >&6; }
15567
15568 if test -n "$PYTHON_DEVEL_CFLAGS"; then
15569 pkg_cv_PYTHON_DEVEL_CFLAGS="$PYTHON_DEVEL_CFLAGS"
15570 elif test -n "$PKG_CONFIG"; then
15571 if test -n "$PKG_CONFIG" && \
15572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\${PYTHON_VERSION}\""; } >&5
15573 ($PKG_CONFIG --exists --print-errors "python-${PYTHON_VERSION}") 2>&5
15574 ac_status=$?
15575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15576 test $ac_status = 0; }; then
15577 pkg_cv_PYTHON_DEVEL_CFLAGS=`$PKG_CONFIG --cflags "python-${PYTHON_VERSION}" 2>/dev/null`
15578 test "x$?" != "x0" && pkg_failed=yes
15579 else
15580 pkg_failed=yes
15581 fi
15582 else
15583 pkg_failed=untried
15584 fi
15585 if test -n "$PYTHON_DEVEL_LIBS"; then
15586 pkg_cv_PYTHON_DEVEL_LIBS="$PYTHON_DEVEL_LIBS"
15587 elif test -n "$PKG_CONFIG"; then
15588 if test -n "$PKG_CONFIG" && \
15589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python-\${PYTHON_VERSION}\""; } >&5
15590 ($PKG_CONFIG --exists --print-errors "python-${PYTHON_VERSION}") 2>&5
15591 ac_status=$?
15592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15593 test $ac_status = 0; }; then
15594 pkg_cv_PYTHON_DEVEL_LIBS=`$PKG_CONFIG --libs "python-${PYTHON_VERSION}" 2>/dev/null`
15595 test "x$?" != "x0" && pkg_failed=yes
15596 else
15597 pkg_failed=yes
15598 fi
15599 else
15600 pkg_failed=untried
15601 fi
15602
15603
15604
15605 if test $pkg_failed = yes; then
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15607 $as_echo "no" >&6; }
15608
15609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15610 _pkg_short_errors_supported=yes
15611 else
15612 _pkg_short_errors_supported=no
15613 fi
15614 if test $_pkg_short_errors_supported = yes; then
15615 PYTHON_DEVEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python-${PYTHON_VERSION}" 2>&1`
15616 else
15617 PYTHON_DEVEL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python-${PYTHON_VERSION}" 2>&1`
15618 fi
15619 # Put the nasty error message in config.log where it belongs
15620 echo "$PYTHON_DEVEL_PKG_ERRORS" >&5
15621
15622
15623 pkg_failed=no
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON_DEVEL" >&5
15625 $as_echo_n "checking for PYTHON_DEVEL... " >&6; }
15626
15627 if test -n "$PYTHON_DEVEL_CFLAGS"; then
15628 pkg_cv_PYTHON_DEVEL_CFLAGS="$PYTHON_DEVEL_CFLAGS"
15629 elif test -n "$PKG_CONFIG"; then
15630 if test -n "$PKG_CONFIG" && \
15631 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15632 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15633 ac_status=$?
15634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15635 test $ac_status = 0; }; then
15636 pkg_cv_PYTHON_DEVEL_CFLAGS=`$PKG_CONFIG --cflags "python" 2>/dev/null`
15637 test "x$?" != "x0" && pkg_failed=yes
15638 else
15639 pkg_failed=yes
15640 fi
15641 else
15642 pkg_failed=untried
15643 fi
15644 if test -n "$PYTHON_DEVEL_LIBS"; then
15645 pkg_cv_PYTHON_DEVEL_LIBS="$PYTHON_DEVEL_LIBS"
15646 elif test -n "$PKG_CONFIG"; then
15647 if test -n "$PKG_CONFIG" && \
15648 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15649 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15653 pkg_cv_PYTHON_DEVEL_LIBS=`$PKG_CONFIG --libs "python" 2>/dev/null`
15654 test "x$?" != "x0" && pkg_failed=yes
15655 else
15656 pkg_failed=yes
15657 fi
15658 else
15659 pkg_failed=untried
15660 fi
15661
15662
15663
15664 if test $pkg_failed = yes; then
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15666 $as_echo "no" >&6; }
15667
15668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15669 _pkg_short_errors_supported=yes
15670 else
15671 _pkg_short_errors_supported=no
15672 fi
15673 if test $_pkg_short_errors_supported = yes; then
15674 PYTHON_DEVEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python" 2>&1`
15675 else
15676 PYTHON_DEVEL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python" 2>&1`
15677 fi
15678 # Put the nasty error message in config.log where it belongs
15679 echo "$PYTHON_DEVEL_PKG_ERRORS" >&5
15680
15681 have_python_devel=no
15682 elif test $pkg_failed = untried; then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15685 have_python_devel=no
15686 else
15687 PYTHON_DEVEL_CFLAGS=$pkg_cv_PYTHON_DEVEL_CFLAGS
15688 PYTHON_DEVEL_LIBS=$pkg_cv_PYTHON_DEVEL_LIBS
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15690 $as_echo "yes" >&6; }
15691 have_python_devel=yes
15692 fi
15693 elif test $pkg_failed = untried; then
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15695 $as_echo "no" >&6; }
15696
15697 pkg_failed=no
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON_DEVEL" >&5
15699 $as_echo_n "checking for PYTHON_DEVEL... " >&6; }
15700
15701 if test -n "$PYTHON_DEVEL_CFLAGS"; then
15702 pkg_cv_PYTHON_DEVEL_CFLAGS="$PYTHON_DEVEL_CFLAGS"
15703 elif test -n "$PKG_CONFIG"; then
15704 if test -n "$PKG_CONFIG" && \
15705 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15706 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15707 ac_status=$?
15708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15709 test $ac_status = 0; }; then
15710 pkg_cv_PYTHON_DEVEL_CFLAGS=`$PKG_CONFIG --cflags "python" 2>/dev/null`
15711 test "x$?" != "x0" && pkg_failed=yes
15712 else
15713 pkg_failed=yes
15714 fi
15715 else
15716 pkg_failed=untried
15717 fi
15718 if test -n "$PYTHON_DEVEL_LIBS"; then
15719 pkg_cv_PYTHON_DEVEL_LIBS="$PYTHON_DEVEL_LIBS"
15720 elif test -n "$PKG_CONFIG"; then
15721 if test -n "$PKG_CONFIG" && \
15722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
15723 ($PKG_CONFIG --exists --print-errors "python") 2>&5
15724 ac_status=$?
15725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15726 test $ac_status = 0; }; then
15727 pkg_cv_PYTHON_DEVEL_LIBS=`$PKG_CONFIG --libs "python" 2>/dev/null`
15728 test "x$?" != "x0" && pkg_failed=yes
15729 else
15730 pkg_failed=yes
15731 fi
15732 else
15733 pkg_failed=untried
15734 fi
15735
15736
15737
15738 if test $pkg_failed = yes; then
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15740 $as_echo "no" >&6; }
15741
15742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15743 _pkg_short_errors_supported=yes
15744 else
15745 _pkg_short_errors_supported=no
15746 fi
15747 if test $_pkg_short_errors_supported = yes; then
15748 PYTHON_DEVEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python" 2>&1`
15749 else
15750 PYTHON_DEVEL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python" 2>&1`
15751 fi
15752 # Put the nasty error message in config.log where it belongs
15753 echo "$PYTHON_DEVEL_PKG_ERRORS" >&5
15754
15755 have_python_devel=no
15756 elif test $pkg_failed = untried; then
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15758 $as_echo "no" >&6; }
15759 have_python_devel=no
15760 else
15761 PYTHON_DEVEL_CFLAGS=$pkg_cv_PYTHON_DEVEL_CFLAGS
15762 PYTHON_DEVEL_LIBS=$pkg_cv_PYTHON_DEVEL_LIBS
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15764 $as_echo "yes" >&6; }
15765 have_python_devel=yes
15766 fi
15767 else
15768 PYTHON_DEVEL_CFLAGS=$pkg_cv_PYTHON_DEVEL_CFLAGS
15769 PYTHON_DEVEL_LIBS=$pkg_cv_PYTHON_DEVEL_LIBS
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15771 $as_echo "yes" >&6; }
15772 have_python_devel=yes
15773 fi
15774 if test "x$have_python_devel" = xno -a "x$enable_python_devel" = xyes; then :
15775 as_fn_error $? "*** python-devel support requested but libraries not found" "$LINENO" 5
15776 fi
15777 for ac_prog in sphinx-build-${PYTHON_VERSION} sphinx-build
15778 do
15779 # Extract the first word of "$ac_prog", so it can be a program name with args.
15780 set dummy $ac_prog; ac_word=$2
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15782 $as_echo_n "checking for $ac_word... " >&6; }
15783 if ${ac_cv_path_SPHINX_BUILD+:} false; then :
15784 $as_echo_n "(cached) " >&6
15785 else
15786 case $SPHINX_BUILD in
15787 [\\/]* | ?:[\\/]*)
15788 ac_cv_path_SPHINX_BUILD="$SPHINX_BUILD" # Let the user override the test with a path.
15789 ;;
15790 *)
15791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15792 for as_dir in $PATH
15793 do
15794 IFS=$as_save_IFS
15795 test -z "$as_dir" && as_dir=.
15796 for ac_exec_ext in '' $ac_executable_extensions; do
15797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15798 ac_cv_path_SPHINX_BUILD="$as_dir/$ac_word$ac_exec_ext"
15799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15800 break 2
15801 fi
15802 done
15803 done
15804 IFS=$as_save_IFS
15805
15806 ;;
15807 esac
15808 fi
15809 SPHINX_BUILD=$ac_cv_path_SPHINX_BUILD
15810 if test -n "$SPHINX_BUILD"; then
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPHINX_BUILD" >&5
15812 $as_echo "$SPHINX_BUILD" >&6; }
15813 else
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15815 $as_echo "no" >&6; }
15816 fi
15817
15818
15819 test -n "$SPHINX_BUILD" && break
15820 done
15821
15822
15823 fi
15824 if test "$have_python_devel" = "yes"; then
15825 HAVE_PYTHON_DEVEL_TRUE=
15826 HAVE_PYTHON_DEVEL_FALSE='#'
15827 else
15828 HAVE_PYTHON_DEVEL_TRUE='#'
15829 HAVE_PYTHON_DEVEL_FALSE=
15830 fi
15831
15832
15833 # ------------------------------------------------------------------------------
15834
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
15836 $as_echo_n "checking for library containing dlsym... " >&6; }
15837 if ${ac_cv_search_dlsym+:} false; then :
15838 $as_echo_n "(cached) " >&6
15839 else
15840 ac_func_search_save_LIBS=$LIBS
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15843
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15847 #ifdef __cplusplus
15848 extern "C"
15849 #endif
15850 char dlsym ();
15851 int
15852 main ()
15853 {
15854 return dlsym ();
15855 ;
15856 return 0;
15857 }
15858 _ACEOF
15859 for ac_lib in '' dl; do
15860 if test -z "$ac_lib"; then
15861 ac_res="none required"
15862 else
15863 ac_res=-l$ac_lib
15864 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15865 fi
15866 if ac_fn_c_try_link "$LINENO"; then :
15867 ac_cv_search_dlsym=$ac_res
15868 fi
15869 rm -f core conftest.err conftest.$ac_objext \
15870 conftest$ac_exeext
15871 if ${ac_cv_search_dlsym+:} false; then :
15872 break
15873 fi
15874 done
15875 if ${ac_cv_search_dlsym+:} false; then :
15876
15877 else
15878 ac_cv_search_dlsym=no
15879 fi
15880 rm conftest.$ac_ext
15881 LIBS=$ac_func_search_save_LIBS
15882 fi
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
15884 $as_echo "$ac_cv_search_dlsym" >&6; }
15885 ac_res=$ac_cv_search_dlsym
15886 if test "$ac_res" != no; then :
15887 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15888
15889 else
15890 as_fn_error $? "*** Dynamic linking loader library not found" "$LINENO" 5
15891 fi
15892
15893 for ac_header in sys/capability.h
15894 do :
15895 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
15896 if test "x$ac_cv_header_sys_capability_h" = xyes; then :
15897 cat >>confdefs.h <<_ACEOF
15898 #define HAVE_SYS_CAPABILITY_H 1
15899 _ACEOF
15900
15901 else
15902 as_fn_error $? "*** POSIX caps headers not found" "$LINENO" 5
15903 fi
15904
15905 done
15906
15907 for ac_header in linux/btrfs.h
15908 do :
15909 ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default"
15910 if test "x$ac_cv_header_linux_btrfs_h" = xyes; then :
15911 cat >>confdefs.h <<_ACEOF
15912 #define HAVE_LINUX_BTRFS_H 1
15913 _ACEOF
15914
15915 fi
15916
15917 done
15918
15919
15920 # unconditionally pull-in librt with old glibc versions
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15922 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15923 if ${ac_cv_search_clock_gettime+:} false; then :
15924 $as_echo_n "(cached) " >&6
15925 else
15926 ac_func_search_save_LIBS=$LIBS
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929
15930 /* Override any GCC internal prototype to avoid an error.
15931 Use char because int might match the return type of a GCC
15932 builtin and then its argument prototype would still apply. */
15933 #ifdef __cplusplus
15934 extern "C"
15935 #endif
15936 char clock_gettime ();
15937 int
15938 main ()
15939 {
15940 return clock_gettime ();
15941 ;
15942 return 0;
15943 }
15944 _ACEOF
15945 for ac_lib in '' rt; do
15946 if test -z "$ac_lib"; then
15947 ac_res="none required"
15948 else
15949 ac_res=-l$ac_lib
15950 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15951 fi
15952 if ac_fn_c_try_link "$LINENO"; then :
15953 ac_cv_search_clock_gettime=$ac_res
15954 fi
15955 rm -f core conftest.err conftest.$ac_objext \
15956 conftest$ac_exeext
15957 if ${ac_cv_search_clock_gettime+:} false; then :
15958 break
15959 fi
15960 done
15961 if ${ac_cv_search_clock_gettime+:} false; then :
15962
15963 else
15964 ac_cv_search_clock_gettime=no
15965 fi
15966 rm conftest.$ac_ext
15967 LIBS=$ac_func_search_save_LIBS
15968 fi
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15970 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15971 ac_res=$ac_cv_search_clock_gettime
15972 if test "$ac_res" != no; then :
15973 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15974
15975 fi
15976
15977
15978 save_LIBS="$LIBS"
15979 LIBS=
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cap_init" >&5
15981 $as_echo_n "checking for library containing cap_init... " >&6; }
15982 if ${ac_cv_search_cap_init+:} false; then :
15983 $as_echo_n "(cached) " >&6
15984 else
15985 ac_func_search_save_LIBS=$LIBS
15986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15987 /* end confdefs.h. */
15988
15989 /* Override any GCC internal prototype to avoid an error.
15990 Use char because int might match the return type of a GCC
15991 builtin and then its argument prototype would still apply. */
15992 #ifdef __cplusplus
15993 extern "C"
15994 #endif
15995 char cap_init ();
15996 int
15997 main ()
15998 {
15999 return cap_init ();
16000 ;
16001 return 0;
16002 }
16003 _ACEOF
16004 for ac_lib in '' cap; do
16005 if test -z "$ac_lib"; then
16006 ac_res="none required"
16007 else
16008 ac_res=-l$ac_lib
16009 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16010 fi
16011 if ac_fn_c_try_link "$LINENO"; then :
16012 ac_cv_search_cap_init=$ac_res
16013 fi
16014 rm -f core conftest.err conftest.$ac_objext \
16015 conftest$ac_exeext
16016 if ${ac_cv_search_cap_init+:} false; then :
16017 break
16018 fi
16019 done
16020 if ${ac_cv_search_cap_init+:} false; then :
16021
16022 else
16023 ac_cv_search_cap_init=no
16024 fi
16025 rm conftest.$ac_ext
16026 LIBS=$ac_func_search_save_LIBS
16027 fi
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cap_init" >&5
16029 $as_echo "$ac_cv_search_cap_init" >&6; }
16030 ac_res=$ac_cv_search_cap_init
16031 if test "$ac_res" != no; then :
16032 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16033
16034 else
16035 as_fn_error $? "*** POSIX caps library not found" "$LINENO" 5
16036 fi
16037
16038 CAP_LIBS="$LIBS"
16039
16040
16041 LIBS=
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mq_open" >&5
16043 $as_echo_n "checking for library containing mq_open... " >&6; }
16044 if ${ac_cv_search_mq_open+:} false; then :
16045 $as_echo_n "(cached) " >&6
16046 else
16047 ac_func_search_save_LIBS=$LIBS
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16050
16051 /* Override any GCC internal prototype to avoid an error.
16052 Use char because int might match the return type of a GCC
16053 builtin and then its argument prototype would still apply. */
16054 #ifdef __cplusplus
16055 extern "C"
16056 #endif
16057 char mq_open ();
16058 int
16059 main ()
16060 {
16061 return mq_open ();
16062 ;
16063 return 0;
16064 }
16065 _ACEOF
16066 for ac_lib in '' rt; do
16067 if test -z "$ac_lib"; then
16068 ac_res="none required"
16069 else
16070 ac_res=-l$ac_lib
16071 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16072 fi
16073 if ac_fn_c_try_link "$LINENO"; then :
16074 ac_cv_search_mq_open=$ac_res
16075 fi
16076 rm -f core conftest.err conftest.$ac_objext \
16077 conftest$ac_exeext
16078 if ${ac_cv_search_mq_open+:} false; then :
16079 break
16080 fi
16081 done
16082 if ${ac_cv_search_mq_open+:} false; then :
16083
16084 else
16085 ac_cv_search_mq_open=no
16086 fi
16087 rm conftest.$ac_ext
16088 LIBS=$ac_func_search_save_LIBS
16089 fi
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mq_open" >&5
16091 $as_echo "$ac_cv_search_mq_open" >&6; }
16092 ac_res=$ac_cv_search_mq_open
16093 if test "$ac_res" != no; then :
16094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16095
16096 else
16097 as_fn_error $? "*** POSIX RT library not found" "$LINENO" 5
16098 fi
16099
16100 RT_LIBS="$LIBS"
16101
16102 LIBS="$save_LIBS"
16103
16104 for ac_func in fanotify_init fanotify_mark
16105 do :
16106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16111 _ACEOF
16112
16113 fi
16114 done
16115
16116 for ac_func in __secure_getenv secure_getenv
16117 do :
16118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16120 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16123 _ACEOF
16124
16125 fi
16126 done
16127
16128 ac_fn_c_check_decl "$LINENO" "gettid" "ac_cv_have_decl_gettid" "#include <sys/types.h>
16129 #include <unistd.h>
16130 #include <sys/mount.h>
16131 #include <fcntl.h>
16132 "
16133 if test "x$ac_cv_have_decl_gettid" = xyes; then :
16134 ac_have_decl=1
16135 else
16136 ac_have_decl=0
16137 fi
16138
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_DECL_GETTID $ac_have_decl
16141 _ACEOF
16142 ac_fn_c_check_decl "$LINENO" "pivot_root" "ac_cv_have_decl_pivot_root" "#include <sys/types.h>
16143 #include <unistd.h>
16144 #include <sys/mount.h>
16145 #include <fcntl.h>
16146 "
16147 if test "x$ac_cv_have_decl_pivot_root" = xyes; then :
16148 ac_have_decl=1
16149 else
16150 ac_have_decl=0
16151 fi
16152
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_DECL_PIVOT_ROOT $ac_have_decl
16155 _ACEOF
16156 ac_fn_c_check_decl "$LINENO" "name_to_handle_at" "ac_cv_have_decl_name_to_handle_at" "#include <sys/types.h>
16157 #include <unistd.h>
16158 #include <sys/mount.h>
16159 #include <fcntl.h>
16160 "
16161 if test "x$ac_cv_have_decl_name_to_handle_at" = xyes; then :
16162 ac_have_decl=1
16163 else
16164 ac_have_decl=0
16165 fi
16166
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_DECL_NAME_TO_HANDLE_AT $ac_have_decl
16169 _ACEOF
16170
16171
16172 # This makes sure pkg.m4 is available.
16173
16174
16175
16176 pkg_failed=no
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
16178 $as_echo_n "checking for DBUS... " >&6; }
16179
16180 if test -n "$DBUS_CFLAGS"; then
16181 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
16182 elif test -n "$PKG_CONFIG"; then
16183 if test -n "$PKG_CONFIG" && \
16184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.3.2\""; } >&5
16185 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.3.2") 2>&5
16186 ac_status=$?
16187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16188 test $ac_status = 0; }; then
16189 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.3.2" 2>/dev/null`
16190 test "x$?" != "x0" && pkg_failed=yes
16191 else
16192 pkg_failed=yes
16193 fi
16194 else
16195 pkg_failed=untried
16196 fi
16197 if test -n "$DBUS_LIBS"; then
16198 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
16199 elif test -n "$PKG_CONFIG"; then
16200 if test -n "$PKG_CONFIG" && \
16201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.3.2\""; } >&5
16202 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.3.2") 2>&5
16203 ac_status=$?
16204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16205 test $ac_status = 0; }; then
16206 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.3.2" 2>/dev/null`
16207 test "x$?" != "x0" && pkg_failed=yes
16208 else
16209 pkg_failed=yes
16210 fi
16211 else
16212 pkg_failed=untried
16213 fi
16214
16215
16216
16217 if test $pkg_failed = yes; then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16219 $as_echo "no" >&6; }
16220
16221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16222 _pkg_short_errors_supported=yes
16223 else
16224 _pkg_short_errors_supported=no
16225 fi
16226 if test $_pkg_short_errors_supported = yes; then
16227 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.3.2" 2>&1`
16228 else
16229 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.3.2" 2>&1`
16230 fi
16231 # Put the nasty error message in config.log where it belongs
16232 echo "$DBUS_PKG_ERRORS" >&5
16233
16234 as_fn_error $? "Package requirements (dbus-1 >= 1.3.2) were not met:
16235
16236 $DBUS_PKG_ERRORS
16237
16238 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16239 installed software in a non-standard prefix.
16240
16241 Alternatively, you may set the environment variables DBUS_CFLAGS
16242 and DBUS_LIBS to avoid the need to call pkg-config.
16243 See the pkg-config man page for more details." "$LINENO" 5
16244 elif test $pkg_failed = untried; then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16246 $as_echo "no" >&6; }
16247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16249 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16250 is in your PATH or set the PKG_CONFIG environment variable to the full
16251 path to pkg-config.
16252
16253 Alternatively, you may set the environment variables DBUS_CFLAGS
16254 and DBUS_LIBS to avoid the need to call pkg-config.
16255 See the pkg-config man page for more details.
16256
16257 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16258 See \`config.log' for more details" "$LINENO" 5; }
16259 else
16260 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
16261 DBUS_LIBS=$pkg_cv_DBUS_LIBS
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16263 $as_echo "yes" >&6; }
16264
16265 fi
16266
16267
16268 # ------------------------------------------------------------------------------
16269 have_coverage=no
16270 # Check whether --enable-coverage was given.
16271 if test "${enable_coverage+set}" = set; then :
16272 enableval=$enable_coverage;
16273 fi
16274
16275 if test "x$enable_coverage" = "xyes" ; then
16276 # Extract the first word of "lcov", so it can be a program name with args.
16277 set dummy lcov; ac_word=$2
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16279 $as_echo_n "checking for $ac_word... " >&6; }
16280 if ${ac_cv_prog_lcov_found+:} false; then :
16281 $as_echo_n "(cached) " >&6
16282 else
16283 if test -n "$lcov_found"; then
16284 ac_cv_prog_lcov_found="$lcov_found" # Let the user override the test.
16285 else
16286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16287 for as_dir in $PATH
16288 do
16289 IFS=$as_save_IFS
16290 test -z "$as_dir" && as_dir=.
16291 for ac_exec_ext in '' $ac_executable_extensions; do
16292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16293 ac_cv_prog_lcov_found="yes"
16294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16295 break 2
16296 fi
16297 done
16298 done
16299 IFS=$as_save_IFS
16300
16301 test -z "$ac_cv_prog_lcov_found" && ac_cv_prog_lcov_found="no"
16302 fi
16303 fi
16304 lcov_found=$ac_cv_prog_lcov_found
16305 if test -n "$lcov_found"; then
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lcov_found" >&5
16307 $as_echo "$lcov_found" >&6; }
16308 else
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16310 $as_echo "no" >&6; }
16311 fi
16312
16313
16314 if test "x$lcov_found" = xno ; then
16315 as_fn_error $? "*** lcov support requested but the program was not found" "$LINENO" 5
16316 else
16317 lcov_version_major="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`"
16318 lcov_version_minor="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`"
16319 if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then
16320 as_fn_error $? "*** lcov version is too old. 1.10 required" "$LINENO" 5
16321 else
16322 have_coverage=yes
16323
16324 for flag in \
16325 -fprofile-arcs \
16326 -ftest-coverage; do
16327
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports flag $flag in envvar CFLAGS" >&5
16329 $as_echo_n "checking if $CC supports flag $flag in envvar CFLAGS... " >&6; }
16330 if { as_var=`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
16331 $as_echo_n "(cached) " >&6
16332 else
16333 eval "cc_save_CFLAGS='${CFLAGS}'"
16334 eval "CFLAGS='-Werror $flag'"
16335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16337 int a = 0; int main(void) { return a; }
16338 _ACEOF
16339 if ac_fn_c_try_link "$LINENO"; then :
16340 eval "`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`='yes'"
16341 else
16342 eval "`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`='no'"
16343 fi
16344 rm -f core conftest.err conftest.$ac_objext \
16345 conftest$ac_exeext conftest.$ac_ext
16346 eval "CFLAGS='$cc_save_CFLAGS'"
16347 fi
16348 eval ac_res=\$`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh`
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16350 $as_echo "$ac_res" >&6; }
16351
16352 if eval test x$`$as_echo "cc_cv_CFLAGS_$flag" | $as_tr_sh` = xyes; then :
16353 eval "with_coverage_cflags='${with_coverage_cflags} $flag'"
16354 fi
16355
16356 done
16357
16358 OUR_CFLAGS="$with_cflags $with_coverage_cflags"
16359
16360 fi
16361 fi
16362 fi
16363 if test "$have_coverage" = "yes"; then
16364 ENABLE_COVERAGE_TRUE=
16365 ENABLE_COVERAGE_FALSE='#'
16366 else
16367 ENABLE_COVERAGE_TRUE='#'
16368 ENABLE_COVERAGE_FALSE=
16369 fi
16370
16371
16372 # ------------------------------------------------------------------------------
16373 have_kmod=no
16374 # Check whether --enable-kmod was given.
16375 if test "${enable_kmod+set}" = set; then :
16376 enableval=$enable_kmod;
16377 fi
16378
16379 if test "x$enable_kmod" != "xno"; then
16380 if test -n "$PKG_CONFIG" && \
16381 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod \""; } >&5
16382 ($PKG_CONFIG --exists --print-errors " libkmod ") 2>&5
16383 ac_status=$?
16384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16385 test $ac_status = 0; }; then
16386 have_kmod=yes
16387 else
16388 have_kmod=no
16389 fi
16390 if test "x$have_kmod" = "xyes"; then
16391
16392 pkg_failed=no
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KMOD" >&5
16394 $as_echo_n "checking for KMOD... " >&6; }
16395
16396 if test -n "$KMOD_CFLAGS"; then
16397 pkg_cv_KMOD_CFLAGS="$KMOD_CFLAGS"
16398 elif test -n "$PKG_CONFIG"; then
16399 if test -n "$PKG_CONFIG" && \
16400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 14 \""; } >&5
16401 ($PKG_CONFIG --exists --print-errors " libkmod >= 14 ") 2>&5
16402 ac_status=$?
16403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16404 test $ac_status = 0; }; then
16405 pkg_cv_KMOD_CFLAGS=`$PKG_CONFIG --cflags " libkmod >= 14 " 2>/dev/null`
16406 test "x$?" != "x0" && pkg_failed=yes
16407 else
16408 pkg_failed=yes
16409 fi
16410 else
16411 pkg_failed=untried
16412 fi
16413 if test -n "$KMOD_LIBS"; then
16414 pkg_cv_KMOD_LIBS="$KMOD_LIBS"
16415 elif test -n "$PKG_CONFIG"; then
16416 if test -n "$PKG_CONFIG" && \
16417 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libkmod >= 14 \""; } >&5
16418 ($PKG_CONFIG --exists --print-errors " libkmod >= 14 ") 2>&5
16419 ac_status=$?
16420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16421 test $ac_status = 0; }; then
16422 pkg_cv_KMOD_LIBS=`$PKG_CONFIG --libs " libkmod >= 14 " 2>/dev/null`
16423 test "x$?" != "x0" && pkg_failed=yes
16424 else
16425 pkg_failed=yes
16426 fi
16427 else
16428 pkg_failed=untried
16429 fi
16430
16431
16432
16433 if test $pkg_failed = yes; then
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16435 $as_echo "no" >&6; }
16436
16437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16438 _pkg_short_errors_supported=yes
16439 else
16440 _pkg_short_errors_supported=no
16441 fi
16442 if test $_pkg_short_errors_supported = yes; then
16443 KMOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libkmod >= 14 " 2>&1`
16444 else
16445 KMOD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libkmod >= 14 " 2>&1`
16446 fi
16447 # Put the nasty error message in config.log where it belongs
16448 echo "$KMOD_PKG_ERRORS" >&5
16449
16450 as_fn_error $? "*** kmod version >= 14 not found" "$LINENO" 5
16451 elif test $pkg_failed = untried; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16453 $as_echo "no" >&6; }
16454 as_fn_error $? "*** kmod version >= 14 not found" "$LINENO" 5
16455 else
16456 KMOD_CFLAGS=$pkg_cv_KMOD_CFLAGS
16457 KMOD_LIBS=$pkg_cv_KMOD_LIBS
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16459 $as_echo "yes" >&6; }
16460
16461 $as_echo "#define HAVE_KMOD 1" >>confdefs.h
16462
16463 fi
16464 fi
16465 if test "x$have_kmod" = xno -a "x$enable_kmod" = xyes; then
16466 as_fn_error $? "*** kmod support requested, but libraries not found" "$LINENO" 5
16467 fi
16468 fi
16469 if test "$have_kmod" = "yes"; then
16470 HAVE_KMOD_TRUE=
16471 HAVE_KMOD_FALSE='#'
16472 else
16473 HAVE_KMOD_TRUE='#'
16474 HAVE_KMOD_FALSE=
16475 fi
16476
16477
16478 # ------------------------------------------------------------------------------
16479 have_blkid=no
16480 # Check whether --enable-blkid was given.
16481 if test "${enable_blkid+set}" = set; then :
16482 enableval=$enable_blkid;
16483 fi
16484
16485 if test "x$enable_blkid" != "xno"; then
16486
16487 pkg_failed=no
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKID" >&5
16489 $as_echo_n "checking for BLKID... " >&6; }
16490
16491 if test -n "$BLKID_CFLAGS"; then
16492 pkg_cv_BLKID_CFLAGS="$BLKID_CFLAGS"
16493 elif test -n "$PKG_CONFIG"; then
16494 if test -n "$PKG_CONFIG" && \
16495 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" blkid >= 2.20 \""; } >&5
16496 ($PKG_CONFIG --exists --print-errors " blkid >= 2.20 ") 2>&5
16497 ac_status=$?
16498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16499 test $ac_status = 0; }; then
16500 pkg_cv_BLKID_CFLAGS=`$PKG_CONFIG --cflags " blkid >= 2.20 " 2>/dev/null`
16501 test "x$?" != "x0" && pkg_failed=yes
16502 else
16503 pkg_failed=yes
16504 fi
16505 else
16506 pkg_failed=untried
16507 fi
16508 if test -n "$BLKID_LIBS"; then
16509 pkg_cv_BLKID_LIBS="$BLKID_LIBS"
16510 elif test -n "$PKG_CONFIG"; then
16511 if test -n "$PKG_CONFIG" && \
16512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" blkid >= 2.20 \""; } >&5
16513 ($PKG_CONFIG --exists --print-errors " blkid >= 2.20 ") 2>&5
16514 ac_status=$?
16515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16516 test $ac_status = 0; }; then
16517 pkg_cv_BLKID_LIBS=`$PKG_CONFIG --libs " blkid >= 2.20 " 2>/dev/null`
16518 test "x$?" != "x0" && pkg_failed=yes
16519 else
16520 pkg_failed=yes
16521 fi
16522 else
16523 pkg_failed=untried
16524 fi
16525
16526
16527
16528 if test $pkg_failed = yes; then
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16530 $as_echo "no" >&6; }
16531
16532 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16533 _pkg_short_errors_supported=yes
16534 else
16535 _pkg_short_errors_supported=no
16536 fi
16537 if test $_pkg_short_errors_supported = yes; then
16538 BLKID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " blkid >= 2.20 " 2>&1`
16539 else
16540 BLKID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " blkid >= 2.20 " 2>&1`
16541 fi
16542 # Put the nasty error message in config.log where it belongs
16543 echo "$BLKID_PKG_ERRORS" >&5
16544
16545 have_blkid=no
16546 elif test $pkg_failed = untried; then
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16548 $as_echo "no" >&6; }
16549 have_blkid=no
16550 else
16551 BLKID_CFLAGS=$pkg_cv_BLKID_CFLAGS
16552 BLKID_LIBS=$pkg_cv_BLKID_LIBS
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16554 $as_echo "yes" >&6; }
16555
16556 $as_echo "#define HAVE_BLKID 1" >>confdefs.h
16557 have_blkid=yes
16558 fi
16559 if test "x$have_blkid" = xno -a "x$enable_blkid" = xyes; then
16560 as_fn_error $? "*** blkid support requested but libraries not found" "$LINENO" 5
16561 fi
16562 fi
16563 if test "$have_blkid" = "yes"; then
16564 HAVE_BLKID_TRUE=
16565 HAVE_BLKID_FALSE='#'
16566 else
16567 HAVE_BLKID_TRUE='#'
16568 HAVE_BLKID_FALSE=
16569 fi
16570
16571
16572 # ------------------------------------------------------------------------------
16573 have_ima=yes
16574 # Check whether --enable-ima was given.
16575 if test "${enable_ima+set}" = set; then :
16576 enableval=$enable_ima; case "${enableval}" in
16577 yes) have_ima=yes ;;
16578 no) have_ima=no ;;
16579 *) as_fn_error $? "bad value ${enableval} for --disable-ima" "$LINENO" 5 ;;
16580 esac
16581 else
16582 have_ima=yes
16583 fi
16584
16585
16586 if test "x${have_ima}" != xno ; then
16587
16588 $as_echo "#define HAVE_IMA 1" >>confdefs.h
16589
16590 fi
16591
16592 # ------------------------------------------------------------------------------
16593 have_chkconfig=yes
16594 # Check whether --enable-chkconfig was given.
16595 if test "${enable_chkconfig+set}" = set; then :
16596 enableval=$enable_chkconfig; case "${enableval}" in
16597 yes) have_chkconfig=yes ;;
16598 no) have_chkconfig=no ;;
16599 *) as_fn_error $? "bad value ${enableval} for --disable-chkconfig" "$LINENO" 5 ;;
16600 esac
16601 else
16602 # Extract the first word of "chkconfig", so it can be a program name with args.
16603 set dummy chkconfig; ac_word=$2
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16605 $as_echo_n "checking for $ac_word... " >&6; }
16606 if ${ac_cv_path_CHKCONFIG+:} false; then :
16607 $as_echo_n "(cached) " >&6
16608 else
16609 case $CHKCONFIG in
16610 [\\/]* | ?:[\\/]*)
16611 ac_cv_path_CHKCONFIG="$CHKCONFIG" # Let the user override the test with a path.
16612 ;;
16613 *)
16614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16615 for as_dir in $PATH
16616 do
16617 IFS=$as_save_IFS
16618 test -z "$as_dir" && as_dir=.
16619 for ac_exec_ext in '' $ac_executable_extensions; do
16620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16621 ac_cv_path_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
16622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16623 break 2
16624 fi
16625 done
16626 done
16627 IFS=$as_save_IFS
16628
16629 ;;
16630 esac
16631 fi
16632 CHKCONFIG=$ac_cv_path_CHKCONFIG
16633 if test -n "$CHKCONFIG"; then
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHKCONFIG" >&5
16635 $as_echo "$CHKCONFIG" >&6; }
16636 else
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16638 $as_echo "no" >&6; }
16639 fi
16640
16641
16642 if test -z "$CHKCONFIG"; then
16643 have_chkconfig=no
16644 else
16645 have_chkconfig=yes
16646 fi
16647 fi
16648
16649
16650 if test "x${have_chkconfig}" != xno ; then
16651
16652 $as_echo "#define HAVE_CHKCONFIG 1" >>confdefs.h
16653
16654 fi
16655
16656 # ------------------------------------------------------------------------------
16657 have_selinux=no
16658 # Check whether --enable-selinux was given.
16659 if test "${enable_selinux+set}" = set; then :
16660 enableval=$enable_selinux;
16661 fi
16662
16663 if test "x$enable_selinux" != "xno"; then
16664
16665 pkg_failed=no
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
16667 $as_echo_n "checking for SELINUX... " >&6; }
16668
16669 if test -n "$SELINUX_CFLAGS"; then
16670 pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS"
16671 elif test -n "$PKG_CONFIG"; then
16672 if test -n "$PKG_CONFIG" && \
16673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.1.9\""; } >&5
16674 ($PKG_CONFIG --exists --print-errors "libselinux >= 2.1.9") 2>&5
16675 ac_status=$?
16676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16677 test $ac_status = 0; }; then
16678 pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags "libselinux >= 2.1.9" 2>/dev/null`
16679 test "x$?" != "x0" && pkg_failed=yes
16680 else
16681 pkg_failed=yes
16682 fi
16683 else
16684 pkg_failed=untried
16685 fi
16686 if test -n "$SELINUX_LIBS"; then
16687 pkg_cv_SELINUX_LIBS="$SELINUX_LIBS"
16688 elif test -n "$PKG_CONFIG"; then
16689 if test -n "$PKG_CONFIG" && \
16690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libselinux >= 2.1.9\""; } >&5
16691 ($PKG_CONFIG --exists --print-errors "libselinux >= 2.1.9") 2>&5
16692 ac_status=$?
16693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16694 test $ac_status = 0; }; then
16695 pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs "libselinux >= 2.1.9" 2>/dev/null`
16696 test "x$?" != "x0" && pkg_failed=yes
16697 else
16698 pkg_failed=yes
16699 fi
16700 else
16701 pkg_failed=untried
16702 fi
16703
16704
16705
16706 if test $pkg_failed = yes; then
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16708 $as_echo "no" >&6; }
16709
16710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16711 _pkg_short_errors_supported=yes
16712 else
16713 _pkg_short_errors_supported=no
16714 fi
16715 if test $_pkg_short_errors_supported = yes; then
16716 SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libselinux >= 2.1.9" 2>&1`
16717 else
16718 SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libselinux >= 2.1.9" 2>&1`
16719 fi
16720 # Put the nasty error message in config.log where it belongs
16721 echo "$SELINUX_PKG_ERRORS" >&5
16722
16723 have_selinux=no
16724 elif test $pkg_failed = untried; then
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16726 $as_echo "no" >&6; }
16727 have_selinux=no
16728 else
16729 SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS
16730 SELINUX_LIBS=$pkg_cv_SELINUX_LIBS
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16732 $as_echo "yes" >&6; }
16733
16734 $as_echo "#define HAVE_SELINUX 1" >>confdefs.h
16735 have_selinux=yes
16736 fi
16737 if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then
16738 as_fn_error $? "*** SELinux support requested but libraries not found" "$LINENO" 5
16739 fi
16740 fi
16741 if test "$have_selinux" = "yes"; then
16742 HAVE_SELINUX_TRUE=
16743 HAVE_SELINUX_FALSE='#'
16744 else
16745 HAVE_SELINUX_TRUE='#'
16746 HAVE_SELINUX_FALSE=
16747 fi
16748
16749
16750
16751 # Check whether --with-debug-shell was given.
16752 if test "${with_debug_shell+set}" = set; then :
16753 withval=$with_debug_shell; SUSHELL="$withval"
16754 else
16755
16756 if test "x${have_selinux}" != "xno"; then :
16757 SUSHELL="/sbin/sushell"
16758 else
16759 SUSHELL="/bin/sh"
16760 fi
16761 fi
16762
16763
16764
16765
16766
16767 # Check whether --with-debug-tty was given.
16768 if test "${with_debug_tty+set}" = set; then :
16769 withval=$with_debug_tty; DEBUGTTY="$withval"
16770 else
16771 DEBUGTTY=/dev/tty9
16772 fi
16773
16774
16775
16776
16777 # ------------------------------------------------------------------------------
16778 have_xz=no
16779 # Check whether --enable-xz was given.
16780 if test "${enable_xz+set}" = set; then :
16781 enableval=$enable_xz;
16782 fi
16783
16784 if test "x$enable_xz" != "xno"; then
16785
16786 pkg_failed=no
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XZ" >&5
16788 $as_echo_n "checking for XZ... " >&6; }
16789
16790 if test -n "$XZ_CFLAGS"; then
16791 pkg_cv_XZ_CFLAGS="$XZ_CFLAGS"
16792 elif test -n "$PKG_CONFIG"; then
16793 if test -n "$PKG_CONFIG" && \
16794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
16795 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
16796 ac_status=$?
16797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16798 test $ac_status = 0; }; then
16799 pkg_cv_XZ_CFLAGS=`$PKG_CONFIG --cflags " liblzma " 2>/dev/null`
16800 test "x$?" != "x0" && pkg_failed=yes
16801 else
16802 pkg_failed=yes
16803 fi
16804 else
16805 pkg_failed=untried
16806 fi
16807 if test -n "$XZ_LIBS"; then
16808 pkg_cv_XZ_LIBS="$XZ_LIBS"
16809 elif test -n "$PKG_CONFIG"; then
16810 if test -n "$PKG_CONFIG" && \
16811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" liblzma \""; } >&5
16812 ($PKG_CONFIG --exists --print-errors " liblzma ") 2>&5
16813 ac_status=$?
16814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16815 test $ac_status = 0; }; then
16816 pkg_cv_XZ_LIBS=`$PKG_CONFIG --libs " liblzma " 2>/dev/null`
16817 test "x$?" != "x0" && pkg_failed=yes
16818 else
16819 pkg_failed=yes
16820 fi
16821 else
16822 pkg_failed=untried
16823 fi
16824
16825
16826
16827 if test $pkg_failed = yes; then
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16829 $as_echo "no" >&6; }
16830
16831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16832 _pkg_short_errors_supported=yes
16833 else
16834 _pkg_short_errors_supported=no
16835 fi
16836 if test $_pkg_short_errors_supported = yes; then
16837 XZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " liblzma " 2>&1`
16838 else
16839 XZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " liblzma " 2>&1`
16840 fi
16841 # Put the nasty error message in config.log where it belongs
16842 echo "$XZ_PKG_ERRORS" >&5
16843
16844 have_xz=no
16845 elif test $pkg_failed = untried; then
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16847 $as_echo "no" >&6; }
16848 have_xz=no
16849 else
16850 XZ_CFLAGS=$pkg_cv_XZ_CFLAGS
16851 XZ_LIBS=$pkg_cv_XZ_LIBS
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16853 $as_echo "yes" >&6; }
16854
16855 $as_echo "#define HAVE_XZ 1" >>confdefs.h
16856 have_xz=yes
16857 fi
16858 if test "x$have_xz" = xno -a "x$enable_xz" = xyes; then
16859 as_fn_error $? "*** Xz support requested but libraries not found" "$LINENO" 5
16860 fi
16861 fi
16862 if test "$have_xz" = "yes"; then
16863 HAVE_XZ_TRUE=
16864 HAVE_XZ_FALSE='#'
16865 else
16866 HAVE_XZ_TRUE='#'
16867 HAVE_XZ_FALSE=
16868 fi
16869
16870
16871 # ------------------------------------------------------------------------------
16872 # Check whether --enable-tcpwrap was given.
16873 if test "${enable_tcpwrap+set}" = set; then :
16874 enableval=$enable_tcpwrap; case "${enableval}" in
16875 yes) have_tcpwrap=yes ;;
16876 no) have_tcpwrap=no ;;
16877 *) as_fn_error $? "bad value ${enableval} for --disable-tcpwrap" "$LINENO" 5 ;;
16878 esac
16879 else
16880 have_tcpwrap=auto
16881 fi
16882
16883
16884 if test "x${have_tcpwrap}" != xno ; then
16885
16886 LIBWRAP_LIBS=
16887 saved_LIBS="$LIBS"
16888 LIBS="$LIBS -lwrap"
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tcpwrap library and headers" >&5
16890 $as_echo_n "checking for tcpwrap library and headers... " >&6; }
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893 #include <tcpd.h>
16894 #include <syslog.h>
16895 int allow_severity = LOG_INFO;
16896 int deny_severity = LOG_WARNING;
16897 int
16898 main ()
16899 {
16900 struct request_info *req;
16901 return hosts_access (req);
16902 ;
16903 return 0;
16904 }
16905 _ACEOF
16906 if ac_fn_c_try_link "$LINENO"; then :
16907
16908 $as_echo "#define HAVE_LIBWRAP /**/" >>confdefs.h
16909
16910 LIBWRAP_LIBS="-lwrap"
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16912 $as_echo "yes" >&6; }
16913 else
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16915 $as_echo "no" >&6; }
16916 fi
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16919 LIBS="$saved_LIBS"
16920
16921 if test "x${LIBWRAP_LIBS}" = x ; then
16922 if test "x$have_tcpwrap" = xyes ; then
16923 as_fn_error $? "*** TCP wrappers support not found." "$LINENO" 5
16924 fi
16925 have_tcpwrap=no
16926 else
16927 have_tcpwrap=yes
16928 fi
16929 else
16930 LIBWRAP_LIBS=
16931 fi
16932
16933
16934 # ------------------------------------------------------------------------------
16935 # Check whether --enable-pam was given.
16936 if test "${enable_pam+set}" = set; then :
16937 enableval=$enable_pam; case "${enableval}" in
16938 yes) have_pam=yes ;;
16939 no) have_pam=no ;;
16940 *) as_fn_error $? "bad value ${enableval} for --disable-pam" "$LINENO" 5 ;;
16941 esac
16942 else
16943 have_pam=auto
16944 fi
16945
16946
16947 if test "x${have_pam}" != xno ; then
16948 for ac_header in security/pam_modules.h security/pam_modutil.h security/pam_ext.h
16949 do :
16950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16951 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16952 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16953 cat >>confdefs.h <<_ACEOF
16954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16955 _ACEOF
16956 have_pam=yes
16957 else
16958 if test "x$have_pam" = xyes ; then
16959 as_fn_error $? "*** PAM headers not found." "$LINENO" 5
16960 fi
16961 fi
16962
16963 done
16964
16965
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_syslog in -lpam" >&5
16967 $as_echo_n "checking for pam_syslog in -lpam... " >&6; }
16968 if ${ac_cv_lib_pam_pam_syslog+:} false; then :
16969 $as_echo_n "(cached) " >&6
16970 else
16971 ac_check_lib_save_LIBS=$LIBS
16972 LIBS="-lpam $LIBS"
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975
16976 /* Override any GCC internal prototype to avoid an error.
16977 Use char because int might match the return type of a GCC
16978 builtin and then its argument prototype would still apply. */
16979 #ifdef __cplusplus
16980 extern "C"
16981 #endif
16982 char pam_syslog ();
16983 int
16984 main ()
16985 {
16986 return pam_syslog ();
16987 ;
16988 return 0;
16989 }
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"; then :
16992 ac_cv_lib_pam_pam_syslog=yes
16993 else
16994 ac_cv_lib_pam_pam_syslog=no
16995 fi
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_lib_save_LIBS
16999 fi
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_syslog" >&5
17001 $as_echo "$ac_cv_lib_pam_pam_syslog" >&6; }
17002 if test "x$ac_cv_lib_pam_pam_syslog" = xyes; then :
17003 have_pam=yes
17004 else
17005 if test "x$have_pam" = xyes ; then
17006 as_fn_error $? "*** libpam not found." "$LINENO" 5
17007 fi
17008 fi
17009
17010
17011 if test "x$have_pam" = xyes ; then
17012 PAM_LIBS="-lpam -lpam_misc"
17013
17014 $as_echo "#define HAVE_PAM 1" >>confdefs.h
17015
17016 else
17017 have_pam=no
17018 fi
17019 else
17020 PAM_LIBS=
17021 fi
17022
17023 if test "x$have_pam" != xno; then
17024 HAVE_PAM_TRUE=
17025 HAVE_PAM_FALSE='#'
17026 else
17027 HAVE_PAM_TRUE='#'
17028 HAVE_PAM_FALSE=
17029 fi
17030
17031
17032 # ------------------------------------------------------------------------------
17033 # Check whether --enable-acl was given.
17034 if test "${enable_acl+set}" = set; then :
17035 enableval=$enable_acl; case "${enableval}" in
17036 yes) have_acl=yes ;;
17037 no) have_acl=no ;;
17038 *) as_fn_error $? "bad value ${enableval} for --disable-acl" "$LINENO" 5 ;;
17039 esac
17040 else
17041 have_acl=auto
17042 fi
17043
17044
17045 if test "x${have_acl}" != xno ; then
17046 for ac_header in sys/acl.h acl/libacl.h
17047 do :
17048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17049 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17050 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17051 cat >>confdefs.h <<_ACEOF
17052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17053 _ACEOF
17054 have_acl=yes
17055 else
17056 if test "x$have_acl" = xyes ; then
17057 as_fn_error $? "*** ACL headers not found." "$LINENO" 5
17058 fi
17059 fi
17060
17061 done
17062
17063
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5
17065 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
17066 if ${ac_cv_lib_acl_acl_get_file+:} false; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069 ac_check_lib_save_LIBS=$LIBS
17070 LIBS="-lacl $LIBS"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073
17074 /* Override any GCC internal prototype to avoid an error.
17075 Use char because int might match the return type of a GCC
17076 builtin and then its argument prototype would still apply. */
17077 #ifdef __cplusplus
17078 extern "C"
17079 #endif
17080 char acl_get_file ();
17081 int
17082 main ()
17083 {
17084 return acl_get_file ();
17085 ;
17086 return 0;
17087 }
17088 _ACEOF
17089 if ac_fn_c_try_link "$LINENO"; then :
17090 ac_cv_lib_acl_acl_get_file=yes
17091 else
17092 ac_cv_lib_acl_acl_get_file=no
17093 fi
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17096 LIBS=$ac_check_lib_save_LIBS
17097 fi
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5
17099 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
17100 if test "x$ac_cv_lib_acl_acl_get_file" = xyes; then :
17101 have_acl=yes
17102 else
17103 if test "x$have_acl" = xyes ; then
17104 as_fn_error $? "*** libacl not found." "$LINENO" 5
17105 fi
17106 fi
17107
17108
17109 if test "x$have_acl" = xyes ; then
17110 ACL_LIBS="-lacl"
17111
17112 $as_echo "#define HAVE_ACL 1" >>confdefs.h
17113
17114 else
17115 have_acl=no
17116 fi
17117 else
17118 ACL_LIBS=
17119 fi
17120
17121 if test "x$have_acl" != xno; then
17122 HAVE_ACL_TRUE=
17123 HAVE_ACL_FALSE='#'
17124 else
17125 HAVE_ACL_TRUE='#'
17126 HAVE_ACL_FALSE=
17127 fi
17128
17129
17130 # ------------------------------------------------------------------------------
17131 # Check whether --enable-xattr was given.
17132 if test "${enable_xattr+set}" = set; then :
17133 enableval=$enable_xattr; case "${enableval}" in
17134 yes) have_xattr=yes ;;
17135 no) have_xattr=no ;;
17136 *) as_fn_error $? "bad value ${enableval} for --disable-xattr" "$LINENO" 5 ;;
17137 esac
17138 else
17139 have_xattr=auto
17140 fi
17141
17142
17143 if test "x${have_xattr}" != xno ; then
17144 for ac_header in attr/xattr.h
17145 do :
17146 ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
17147 if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_ATTR_XATTR_H 1
17150 _ACEOF
17151 have_xattr=yes
17152 else
17153 if test "x$have_xattr" = xyes ; then
17154 as_fn_error $? "*** XATTR headers not found." "$LINENO" 5
17155 fi
17156 fi
17157
17158 done
17159
17160
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsetxattr in -lattr" >&5
17162 $as_echo_n "checking for fsetxattr in -lattr... " >&6; }
17163 if ${ac_cv_lib_attr_fsetxattr+:} false; then :
17164 $as_echo_n "(cached) " >&6
17165 else
17166 ac_check_lib_save_LIBS=$LIBS
17167 LIBS="-lattr $LIBS"
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17170
17171 /* Override any GCC internal prototype to avoid an error.
17172 Use char because int might match the return type of a GCC
17173 builtin and then its argument prototype would still apply. */
17174 #ifdef __cplusplus
17175 extern "C"
17176 #endif
17177 char fsetxattr ();
17178 int
17179 main ()
17180 {
17181 return fsetxattr ();
17182 ;
17183 return 0;
17184 }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_lib_attr_fsetxattr=yes
17188 else
17189 ac_cv_lib_attr_fsetxattr=no
17190 fi
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 LIBS=$ac_check_lib_save_LIBS
17194 fi
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_fsetxattr" >&5
17196 $as_echo "$ac_cv_lib_attr_fsetxattr" >&6; }
17197 if test "x$ac_cv_lib_attr_fsetxattr" = xyes; then :
17198 have_xattr=yes
17199 else
17200 if test "x$have_xattr" = xyes ; then
17201 as_fn_error $? "*** libattr not found." "$LINENO" 5
17202 fi
17203 fi
17204
17205
17206 if test "x$have_xattr" = xyes ; then
17207 XATTR_LIBS="-lattr"
17208
17209 $as_echo "#define HAVE_XATTR 1" >>confdefs.h
17210
17211 else
17212 have_xattr=no
17213 fi
17214 else
17215 XATTR_LIBS=
17216 fi
17217
17218 if test "x$have_xattr" != xno; then
17219 HAVE_XATTR_TRUE=
17220 HAVE_XATTR_FALSE='#'
17221 else
17222 HAVE_XATTR_TRUE='#'
17223 HAVE_XATTR_FALSE=
17224 fi
17225
17226
17227 # ------------------------------------------------------------------------------
17228 # Check whether --enable-smack was given.
17229 if test "${enable_smack+set}" = set; then :
17230 enableval=$enable_smack; case "${enableval}" in
17231 yes) have_smack=yes ;;
17232 no) have_smack=no ;;
17233 *) as_fn_error $? "bad value ${enableval} for --disable-smack" "$LINENO" 5 ;;
17234 esac
17235 else
17236 have_smack=auto
17237 fi
17238
17239
17240 if test "x${have_xattr}" = xno; then
17241 if test "x${have_smack}" = xyes; then
17242 as_fn_error $? "SMACK requires xattr support" "$LINENO" 5
17243 else
17244 have_smack=no
17245 fi
17246 else
17247 if test "x${have_smack}" = xauto; then
17248 have_smack=yes
17249 fi
17250 fi
17251
17252 if test "x${have_smack}" = xyes ; then
17253
17254 $as_echo "#define HAVE_SMACK 1" >>confdefs.h
17255
17256 fi
17257
17258 # ------------------------------------------------------------------------------
17259 # Check whether --enable-gcrypt was given.
17260 if test "${enable_gcrypt+set}" = set; then :
17261 enableval=$enable_gcrypt; case "${enableval}" in
17262 yes) have_gcrypt=yes ;;
17263 no) have_gcrypt=no ;;
17264 *) as_fn_error $? "bad value ${enableval} for --disable-gcrypt" "$LINENO" 5 ;;
17265 esac
17266 else
17267 have_gcrypt=auto
17268 fi
17269
17270
17271 if test "x${have_gcrypt}" != xno ; then
17272
17273 # Check whether --with-libgcrypt-prefix was given.
17274 if test "${with_libgcrypt_prefix+set}" = set; then :
17275 withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
17276 else
17277 libgcrypt_config_prefix=""
17278 fi
17279
17280 if test x$libgcrypt_config_prefix != x ; then
17281 if test x${LIBGCRYPT_CONFIG+set} != xset ; then
17282 LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
17283 fi
17284 fi
17285
17286 if test -n "$ac_tool_prefix"; then
17287 # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be a program name with args.
17288 set dummy ${ac_tool_prefix}libgcrypt-config; ac_word=$2
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17290 $as_echo_n "checking for $ac_word... " >&6; }
17291 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 case $LIBGCRYPT_CONFIG in
17295 [\\/]* | ?:[\\/]*)
17296 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
17297 ;;
17298 *)
17299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17300 for as_dir in $PATH
17301 do
17302 IFS=$as_save_IFS
17303 test -z "$as_dir" && as_dir=.
17304 for ac_exec_ext in '' $ac_executable_extensions; do
17305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17306 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17308 break 2
17309 fi
17310 done
17311 done
17312 IFS=$as_save_IFS
17313
17314 ;;
17315 esac
17316 fi
17317 LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
17318 if test -n "$LIBGCRYPT_CONFIG"; then
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
17320 $as_echo "$LIBGCRYPT_CONFIG" >&6; }
17321 else
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17323 $as_echo "no" >&6; }
17324 fi
17325
17326
17327 fi
17328 if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then
17329 ac_pt_LIBGCRYPT_CONFIG=$LIBGCRYPT_CONFIG
17330 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
17331 set dummy libgcrypt-config; ac_word=$2
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17333 $as_echo_n "checking for $ac_word... " >&6; }
17334 if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 case $ac_pt_LIBGCRYPT_CONFIG in
17338 [\\/]* | ?:[\\/]*)
17339 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$ac_pt_LIBGCRYPT_CONFIG" # Let the user override the test with a path.
17340 ;;
17341 *)
17342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17343 for as_dir in $PATH
17344 do
17345 IFS=$as_save_IFS
17346 test -z "$as_dir" && as_dir=.
17347 for ac_exec_ext in '' $ac_executable_extensions; do
17348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17349 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17351 break 2
17352 fi
17353 done
17354 done
17355 IFS=$as_save_IFS
17356
17357 ;;
17358 esac
17359 fi
17360 ac_pt_LIBGCRYPT_CONFIG=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
17361 if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5
17363 $as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; }
17364 else
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17366 $as_echo "no" >&6; }
17367 fi
17368
17369 if test "x$ac_pt_LIBGCRYPT_CONFIG" = x; then
17370 LIBGCRYPT_CONFIG="no"
17371 else
17372 case $cross_compiling:$ac_tool_warned in
17373 yes:)
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17376 ac_tool_warned=yes ;;
17377 esac
17378 LIBGCRYPT_CONFIG=$ac_pt_LIBGCRYPT_CONFIG
17379 fi
17380 else
17381 LIBGCRYPT_CONFIG="$ac_cv_path_LIBGCRYPT_CONFIG"
17382 fi
17383
17384 tmp=1.4.5
17385 if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
17386 req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
17387 min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
17388 else
17389 req_libgcrypt_api=0
17390 min_libgcrypt_version="$tmp"
17391 fi
17392
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
17394 $as_echo_n "checking for LIBGCRYPT - version >= $min_libgcrypt_version... " >&6; }
17395 ok=no
17396 if test "$LIBGCRYPT_CONFIG" != "no" ; then
17397 req_major=`echo $min_libgcrypt_version | \
17398 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
17399 req_minor=`echo $min_libgcrypt_version | \
17400 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
17401 req_micro=`echo $min_libgcrypt_version | \
17402 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
17403 libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version`
17404 major=`echo $libgcrypt_config_version | \
17405 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
17406 minor=`echo $libgcrypt_config_version | \
17407 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
17408 micro=`echo $libgcrypt_config_version | \
17409 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
17410 if test "$major" -gt "$req_major"; then
17411 ok=yes
17412 else
17413 if test "$major" -eq "$req_major"; then
17414 if test "$minor" -gt "$req_minor"; then
17415 ok=yes
17416 else
17417 if test "$minor" -eq "$req_minor"; then
17418 if test "$micro" -ge "$req_micro"; then
17419 ok=yes
17420 fi
17421 fi
17422 fi
17423 fi
17424 fi
17425 fi
17426 if test $ok = yes; then
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libgcrypt_config_version)" >&5
17428 $as_echo "yes ($libgcrypt_config_version)" >&6; }
17429 else
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17431 $as_echo "no" >&6; }
17432 fi
17433 if test $ok = yes; then
17434 # If we have a recent libgcrypt, we should also check that the
17435 # API is compatible
17436 if test "$req_libgcrypt_api" -gt 0 ; then
17437 tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
17438 if test "$tmp" -gt 0 ; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGCRYPT API version" >&5
17440 $as_echo_n "checking LIBGCRYPT API version... " >&6; }
17441 if test "$req_libgcrypt_api" -eq "$tmp" ; then
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
17443 $as_echo "okay" >&6; }
17444 else
17445 ok=no
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
17447 $as_echo "does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
17448 fi
17449 fi
17450 fi
17451 fi
17452 if test $ok = yes; then
17453 LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
17454 LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
17455 have_gcrypt=yes
17456 if test x"$host" != x ; then
17457 libgcrypt_config_host=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none`
17458 if test x"$libgcrypt_config_host" != xnone ; then
17459 if test x"$libgcrypt_config_host" != x"$host" ; then
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
17461 ***
17462 *** The config script $LIBGCRYPT_CONFIG was
17463 *** built for $libgcrypt_config_host and thus may not match the
17464 *** used host $host.
17465 *** You may want to use the configure option --with-libgcrypt-prefix
17466 *** to specify a matching config script.
17467 ***" >&5
17468 $as_echo "$as_me: WARNING:
17469 ***
17470 *** The config script $LIBGCRYPT_CONFIG was
17471 *** built for $libgcrypt_config_host and thus may not match the
17472 *** used host $host.
17473 *** You may want to use the configure option --with-libgcrypt-prefix
17474 *** to specify a matching config script.
17475 ***" >&2;}
17476 fi
17477 fi
17478 fi
17479 else
17480 LIBGCRYPT_CFLAGS=""
17481 LIBGCRYPT_LIBS=""
17482 if test "x$have_gcrypt" = xyes ; then
17483 as_fn_error $? "*** GCRYPT headers not found." "$LINENO" 5
17484 fi
17485 fi
17486
17487
17488
17489
17490 if test "x$have_gcrypt" = xyes ; then
17491 GCRYPT_LIBS="$LIBGCRYPT_LIBS"
17492 GCRYPT_CFLAGS="$LIBGCRYPT_CFLAGS"
17493
17494 $as_echo "#define HAVE_GCRYPT 1" >>confdefs.h
17495
17496 else
17497 have_gcrypt=no
17498 fi
17499 else
17500 GCRYPT_LIBS=
17501 GCRYPT_CFLAGS=
17502 fi
17503
17504
17505 if test "x$have_gcrypt" != xno; then
17506 HAVE_GCRYPT_TRUE=
17507 HAVE_GCRYPT_FALSE='#'
17508 else
17509 HAVE_GCRYPT_TRUE='#'
17510 HAVE_GCRYPT_FALSE=
17511 fi
17512
17513
17514 # ------------------------------------------------------------------------------
17515 # Check whether --enable-audit was given.
17516 if test "${enable_audit+set}" = set; then :
17517 enableval=$enable_audit; case "${enableval}" in
17518 yes) have_audit=yes ;;
17519 no) have_audit=no ;;
17520 *) as_fn_error $? "bad value ${enableval} for --disable-audit" "$LINENO" 5 ;;
17521 esac
17522 else
17523 have_audit=auto
17524 fi
17525
17526
17527 if test "x${have_audit}" != xno ; then
17528 for ac_header in libaudit.h
17529 do :
17530 ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
17531 if test "x$ac_cv_header_libaudit_h" = xyes; then :
17532 cat >>confdefs.h <<_ACEOF
17533 #define HAVE_LIBAUDIT_H 1
17534 _ACEOF
17535 have_audit=yes
17536 else
17537 if test "x$have_audit" = xyes ; then
17538 as_fn_error $? "*** AUDIT headers not found." "$LINENO" 5
17539 fi
17540 fi
17541
17542 done
17543
17544
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_open in -laudit" >&5
17546 $as_echo_n "checking for audit_open in -laudit... " >&6; }
17547 if ${ac_cv_lib_audit_audit_open+:} false; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 ac_check_lib_save_LIBS=$LIBS
17551 LIBS="-laudit $LIBS"
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17554
17555 /* Override any GCC internal prototype to avoid an error.
17556 Use char because int might match the return type of a GCC
17557 builtin and then its argument prototype would still apply. */
17558 #ifdef __cplusplus
17559 extern "C"
17560 #endif
17561 char audit_open ();
17562 int
17563 main ()
17564 {
17565 return audit_open ();
17566 ;
17567 return 0;
17568 }
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 ac_cv_lib_audit_audit_open=yes
17572 else
17573 ac_cv_lib_audit_audit_open=no
17574 fi
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17577 LIBS=$ac_check_lib_save_LIBS
17578 fi
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_open" >&5
17580 $as_echo "$ac_cv_lib_audit_audit_open" >&6; }
17581 if test "x$ac_cv_lib_audit_audit_open" = xyes; then :
17582 have_audit=yes
17583 else
17584 if test "x$have_audit" = xyes ; then
17585 as_fn_error $? "*** libaudit not found." "$LINENO" 5
17586 fi
17587 fi
17588
17589
17590 if test "x$have_audit" = xyes ; then
17591 AUDIT_LIBS="-laudit"
17592
17593 $as_echo "#define HAVE_AUDIT 1" >>confdefs.h
17594
17595 else
17596 have_audit=no
17597 fi
17598 else
17599 AUDIT_LIBS=
17600 fi
17601
17602
17603 # ------------------------------------------------------------------------------
17604 have_libcryptsetup=no
17605 # Check whether --enable-libcryptsetup was given.
17606 if test "${enable_libcryptsetup+set}" = set; then :
17607 enableval=$enable_libcryptsetup;
17608 fi
17609
17610 if test "x$enable_libcryptsetup" != "xno"; then
17611
17612 pkg_failed=no
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTSETUP" >&5
17614 $as_echo_n "checking for LIBCRYPTSETUP... " >&6; }
17615
17616 if test -n "$LIBCRYPTSETUP_CFLAGS"; then
17617 pkg_cv_LIBCRYPTSETUP_CFLAGS="$LIBCRYPTSETUP_CFLAGS"
17618 elif test -n "$PKG_CONFIG"; then
17619 if test -n "$PKG_CONFIG" && \
17620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup >= 1.6.0 \""; } >&5
17621 ($PKG_CONFIG --exists --print-errors " libcryptsetup >= 1.6.0 ") 2>&5
17622 ac_status=$?
17623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17624 test $ac_status = 0; }; then
17625 pkg_cv_LIBCRYPTSETUP_CFLAGS=`$PKG_CONFIG --cflags " libcryptsetup >= 1.6.0 " 2>/dev/null`
17626 test "x$?" != "x0" && pkg_failed=yes
17627 else
17628 pkg_failed=yes
17629 fi
17630 else
17631 pkg_failed=untried
17632 fi
17633 if test -n "$LIBCRYPTSETUP_LIBS"; then
17634 pkg_cv_LIBCRYPTSETUP_LIBS="$LIBCRYPTSETUP_LIBS"
17635 elif test -n "$PKG_CONFIG"; then
17636 if test -n "$PKG_CONFIG" && \
17637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libcryptsetup >= 1.6.0 \""; } >&5
17638 ($PKG_CONFIG --exists --print-errors " libcryptsetup >= 1.6.0 ") 2>&5
17639 ac_status=$?
17640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17641 test $ac_status = 0; }; then
17642 pkg_cv_LIBCRYPTSETUP_LIBS=`$PKG_CONFIG --libs " libcryptsetup >= 1.6.0 " 2>/dev/null`
17643 test "x$?" != "x0" && pkg_failed=yes
17644 else
17645 pkg_failed=yes
17646 fi
17647 else
17648 pkg_failed=untried
17649 fi
17650
17651
17652
17653 if test $pkg_failed = yes; then
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17655 $as_echo "no" >&6; }
17656
17657 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17658 _pkg_short_errors_supported=yes
17659 else
17660 _pkg_short_errors_supported=no
17661 fi
17662 if test $_pkg_short_errors_supported = yes; then
17663 LIBCRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libcryptsetup >= 1.6.0 " 2>&1`
17664 else
17665 LIBCRYPTSETUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libcryptsetup >= 1.6.0 " 2>&1`
17666 fi
17667 # Put the nasty error message in config.log where it belongs
17668 echo "$LIBCRYPTSETUP_PKG_ERRORS" >&5
17669
17670 have_libcryptsetup=no
17671 elif test $pkg_failed = untried; then
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17673 $as_echo "no" >&6; }
17674 have_libcryptsetup=no
17675 else
17676 LIBCRYPTSETUP_CFLAGS=$pkg_cv_LIBCRYPTSETUP_CFLAGS
17677 LIBCRYPTSETUP_LIBS=$pkg_cv_LIBCRYPTSETUP_LIBS
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17679 $as_echo "yes" >&6; }
17680
17681 $as_echo "#define HAVE_LIBCRYPTSETUP 1" >>confdefs.h
17682 have_libcryptsetup=yes
17683 fi
17684 if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then
17685 as_fn_error $? "*** libcryptsetup support requested but libraries not found" "$LINENO" 5
17686 fi
17687 fi
17688 if test "$have_libcryptsetup" = "yes"; then
17689 HAVE_LIBCRYPTSETUP_TRUE=
17690 HAVE_LIBCRYPTSETUP_FALSE='#'
17691 else
17692 HAVE_LIBCRYPTSETUP_TRUE='#'
17693 HAVE_LIBCRYPTSETUP_FALSE=
17694 fi
17695
17696
17697 # ------------------------------------------------------------------------------
17698 have_qrencode=no
17699 # Check whether --enable-qrencode was given.
17700 if test "${enable_qrencode+set}" = set; then :
17701 enableval=$enable_qrencode;
17702 fi
17703
17704 if test "x$enable_qrencode" != "xno"; then
17705
17706 pkg_failed=no
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QRENCODE" >&5
17708 $as_echo_n "checking for QRENCODE... " >&6; }
17709
17710 if test -n "$QRENCODE_CFLAGS"; then
17711 pkg_cv_QRENCODE_CFLAGS="$QRENCODE_CFLAGS"
17712 elif test -n "$PKG_CONFIG"; then
17713 if test -n "$PKG_CONFIG" && \
17714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libqrencode \""; } >&5
17715 ($PKG_CONFIG --exists --print-errors " libqrencode ") 2>&5
17716 ac_status=$?
17717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17718 test $ac_status = 0; }; then
17719 pkg_cv_QRENCODE_CFLAGS=`$PKG_CONFIG --cflags " libqrencode " 2>/dev/null`
17720 test "x$?" != "x0" && pkg_failed=yes
17721 else
17722 pkg_failed=yes
17723 fi
17724 else
17725 pkg_failed=untried
17726 fi
17727 if test -n "$QRENCODE_LIBS"; then
17728 pkg_cv_QRENCODE_LIBS="$QRENCODE_LIBS"
17729 elif test -n "$PKG_CONFIG"; then
17730 if test -n "$PKG_CONFIG" && \
17731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libqrencode \""; } >&5
17732 ($PKG_CONFIG --exists --print-errors " libqrencode ") 2>&5
17733 ac_status=$?
17734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17735 test $ac_status = 0; }; then
17736 pkg_cv_QRENCODE_LIBS=`$PKG_CONFIG --libs " libqrencode " 2>/dev/null`
17737 test "x$?" != "x0" && pkg_failed=yes
17738 else
17739 pkg_failed=yes
17740 fi
17741 else
17742 pkg_failed=untried
17743 fi
17744
17745
17746
17747 if test $pkg_failed = yes; then
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17749 $as_echo "no" >&6; }
17750
17751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17752 _pkg_short_errors_supported=yes
17753 else
17754 _pkg_short_errors_supported=no
17755 fi
17756 if test $_pkg_short_errors_supported = yes; then
17757 QRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libqrencode " 2>&1`
17758 else
17759 QRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libqrencode " 2>&1`
17760 fi
17761 # Put the nasty error message in config.log where it belongs
17762 echo "$QRENCODE_PKG_ERRORS" >&5
17763
17764 have_qrencode=no
17765 elif test $pkg_failed = untried; then
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17767 $as_echo "no" >&6; }
17768 have_qrencode=no
17769 else
17770 QRENCODE_CFLAGS=$pkg_cv_QRENCODE_CFLAGS
17771 QRENCODE_LIBS=$pkg_cv_QRENCODE_LIBS
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17773 $as_echo "yes" >&6; }
17774
17775 $as_echo "#define HAVE_QRENCODE 1" >>confdefs.h
17776 have_qrencode=yes
17777 fi
17778 if test "x$have_qrencode" = xno -a "x$enable_qrencode" = xyes; then
17779 as_fn_error $? "*** qrencode support requested but libraries not found" "$LINENO" 5
17780 fi
17781 fi
17782 if test "$have_qrencode" = "yes"; then
17783 HAVE_QRENCODE_TRUE=
17784 HAVE_QRENCODE_FALSE='#'
17785 else
17786 HAVE_QRENCODE_TRUE='#'
17787 HAVE_QRENCODE_FALSE=
17788 fi
17789
17790
17791 # ------------------------------------------------------------------------------
17792 have_microhttpd=no
17793 # Check whether --enable-microhttpd was given.
17794 if test "${enable_microhttpd+set}" = set; then :
17795 enableval=$enable_microhttpd;
17796 fi
17797
17798 if test "x$enable_microhttpd" != "xno"; then
17799
17800 pkg_failed=no
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MICROHTTPD" >&5
17802 $as_echo_n "checking for MICROHTTPD... " >&6; }
17803
17804 if test -n "$MICROHTTPD_CFLAGS"; then
17805 pkg_cv_MICROHTTPD_CFLAGS="$MICROHTTPD_CFLAGS"
17806 elif test -n "$PKG_CONFIG"; then
17807 if test -n "$PKG_CONFIG" && \
17808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd >= 0.9.5\""; } >&5
17809 ($PKG_CONFIG --exists --print-errors "libmicrohttpd >= 0.9.5") 2>&5
17810 ac_status=$?
17811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17812 test $ac_status = 0; }; then
17813 pkg_cv_MICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd >= 0.9.5" 2>/dev/null`
17814 test "x$?" != "x0" && pkg_failed=yes
17815 else
17816 pkg_failed=yes
17817 fi
17818 else
17819 pkg_failed=untried
17820 fi
17821 if test -n "$MICROHTTPD_LIBS"; then
17822 pkg_cv_MICROHTTPD_LIBS="$MICROHTTPD_LIBS"
17823 elif test -n "$PKG_CONFIG"; then
17824 if test -n "$PKG_CONFIG" && \
17825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmicrohttpd >= 0.9.5\""; } >&5
17826 ($PKG_CONFIG --exists --print-errors "libmicrohttpd >= 0.9.5") 2>&5
17827 ac_status=$?
17828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17829 test $ac_status = 0; }; then
17830 pkg_cv_MICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd >= 0.9.5" 2>/dev/null`
17831 test "x$?" != "x0" && pkg_failed=yes
17832 else
17833 pkg_failed=yes
17834 fi
17835 else
17836 pkg_failed=untried
17837 fi
17838
17839
17840
17841 if test $pkg_failed = yes; then
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17843 $as_echo "no" >&6; }
17844
17845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17846 _pkg_short_errors_supported=yes
17847 else
17848 _pkg_short_errors_supported=no
17849 fi
17850 if test $_pkg_short_errors_supported = yes; then
17851 MICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd >= 0.9.5" 2>&1`
17852 else
17853 MICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd >= 0.9.5" 2>&1`
17854 fi
17855 # Put the nasty error message in config.log where it belongs
17856 echo "$MICROHTTPD_PKG_ERRORS" >&5
17857
17858 have_microhttpd=no
17859 elif test $pkg_failed = untried; then
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17861 $as_echo "no" >&6; }
17862 have_microhttpd=no
17863 else
17864 MICROHTTPD_CFLAGS=$pkg_cv_MICROHTTPD_CFLAGS
17865 MICROHTTPD_LIBS=$pkg_cv_MICROHTTPD_LIBS
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17867 $as_echo "yes" >&6; }
17868
17869 $as_echo "#define HAVE_MICROHTTPD 1" >>confdefs.h
17870 have_microhttpd=yes
17871 fi
17872 if test "x$have_microhttpd" = xno -a "x$enable_microhttpd" = xyes; then
17873 as_fn_error $? "*** microhttpd support requested but libraries not found" "$LINENO" 5
17874 fi
17875 fi
17876 if test "$have_microhttpd" = "yes"; then
17877 HAVE_MICROHTTPD_TRUE=
17878 HAVE_MICROHTTPD_FALSE='#'
17879 else
17880 HAVE_MICROHTTPD_TRUE='#'
17881 HAVE_MICROHTTPD_FALSE=
17882 fi
17883
17884
17885 # ------------------------------------------------------------------------------
17886 have_binfmt=no
17887 # Check whether --enable-binfmt was given.
17888 if test "${enable_binfmt+set}" = set; then :
17889 enableval=$enable_binfmt;
17890 fi
17891
17892 if test "x$enable_binfmt" != "xno"; then
17893 have_binfmt=yes
17894 fi
17895 if test "$have_binfmt" = "yes"; then
17896 ENABLE_BINFMT_TRUE=
17897 ENABLE_BINFMT_FALSE='#'
17898 else
17899 ENABLE_BINFMT_TRUE='#'
17900 ENABLE_BINFMT_FALSE=
17901 fi
17902
17903
17904 # ------------------------------------------------------------------------------
17905 have_vconsole=no
17906 # Check whether --enable-vconsole was given.
17907 if test "${enable_vconsole+set}" = set; then :
17908 enableval=$enable_vconsole;
17909 fi
17910
17911 if test "x$enable_vconsole" != "xno"; then
17912 have_vconsole=yes
17913 fi
17914 if test "$have_vconsole" = "yes"; then
17915 ENABLE_VCONSOLE_TRUE=
17916 ENABLE_VCONSOLE_FALSE='#'
17917 else
17918 ENABLE_VCONSOLE_TRUE='#'
17919 ENABLE_VCONSOLE_FALSE=
17920 fi
17921
17922
17923 # ------------------------------------------------------------------------------
17924 have_readahead=no
17925 # Check whether --enable-readahead was given.
17926 if test "${enable_readahead+set}" = set; then :
17927 enableval=$enable_readahead;
17928 fi
17929
17930 if test "x$enable_readahead" != "xno"; then
17931 have_readahead=yes
17932 fi
17933 if test "$have_readahead" = "yes"; then
17934 ENABLE_READAHEAD_TRUE=
17935 ENABLE_READAHEAD_FALSE='#'
17936 else
17937 ENABLE_READAHEAD_TRUE='#'
17938 ENABLE_READAHEAD_FALSE=
17939 fi
17940
17941
17942 # ------------------------------------------------------------------------------
17943 have_bootchart=no
17944 # Check whether --enable-bootchart was given.
17945 if test "${enable_bootchart+set}" = set; then :
17946 enableval=$enable_bootchart;
17947 fi
17948
17949 if test "x$enable_bootchart" != "xno"; then
17950 have_bootchart=yes
17951 fi
17952 if test "$have_bootchart" = "yes"; then
17953 ENABLE_BOOTCHART_TRUE=
17954 ENABLE_BOOTCHART_FALSE='#'
17955 else
17956 ENABLE_BOOTCHART_TRUE='#'
17957 ENABLE_BOOTCHART_FALSE=
17958 fi
17959
17960
17961 # ------------------------------------------------------------------------------
17962 have_quotacheck=no
17963 # Check whether --enable-quotacheck was given.
17964 if test "${enable_quotacheck+set}" = set; then :
17965 enableval=$enable_quotacheck;
17966 fi
17967
17968 if test "x$enable_quotacheck" != "xno"; then
17969 have_quotacheck=yes
17970 fi
17971 if test "$have_quotacheck" = "yes"; then
17972 ENABLE_QUOTACHECK_TRUE=
17973 ENABLE_QUOTACHECK_FALSE='#'
17974 else
17975 ENABLE_QUOTACHECK_TRUE='#'
17976 ENABLE_QUOTACHECK_FALSE=
17977 fi
17978
17979
17980 # ------------------------------------------------------------------------------
17981 have_tmpfiles=no
17982 # Check whether --enable-tmpfiles was given.
17983 if test "${enable_tmpfiles+set}" = set; then :
17984 enableval=$enable_tmpfiles;
17985 fi
17986
17987 if test "x$enable_tmpfiles" != "xno"; then
17988 have_tmpfiles=yes
17989 fi
17990 if test "$have_tmpfiles" = "yes"; then
17991 ENABLE_TMPFILES_TRUE=
17992 ENABLE_TMPFILES_FALSE='#'
17993 else
17994 ENABLE_TMPFILES_TRUE='#'
17995 ENABLE_TMPFILES_FALSE=
17996 fi
17997
17998
17999 # ------------------------------------------------------------------------------
18000 have_randomseed=no
18001 # Check whether --enable-randomseed was given.
18002 if test "${enable_randomseed+set}" = set; then :
18003 enableval=$enable_randomseed;
18004 fi
18005
18006 if test "x$enable_randomseed" != "xno"; then
18007 have_randomseed=yes
18008 fi
18009 if test "$have_randomseed" = "yes"; then
18010 ENABLE_RANDOMSEED_TRUE=
18011 ENABLE_RANDOMSEED_FALSE='#'
18012 else
18013 ENABLE_RANDOMSEED_TRUE='#'
18014 ENABLE_RANDOMSEED_FALSE=
18015 fi
18016
18017
18018 # ------------------------------------------------------------------------------
18019 have_backlight=no
18020 # Check whether --enable-backlight was given.
18021 if test "${enable_backlight+set}" = set; then :
18022 enableval=$enable_backlight;
18023 fi
18024
18025 if test "x$enable_backlight" != "xno"; then
18026 have_backlight=yes
18027 fi
18028 if test "$have_backlight" = "yes"; then
18029 ENABLE_BACKLIGHT_TRUE=
18030 ENABLE_BACKLIGHT_FALSE='#'
18031 else
18032 ENABLE_BACKLIGHT_TRUE='#'
18033 ENABLE_BACKLIGHT_FALSE=
18034 fi
18035
18036
18037 # ------------------------------------------------------------------------------
18038 have_logind=no
18039 # Check whether --enable-logind was given.
18040 if test "${enable_logind+set}" = set; then :
18041 enableval=$enable_logind;
18042 fi
18043
18044 if test "x$enable_logind" != "xno"; then
18045 have_logind=yes
18046 fi
18047 if test "$have_logind" = "yes"; then
18048 ENABLE_LOGIND_TRUE=
18049 ENABLE_LOGIND_FALSE='#'
18050 else
18051 ENABLE_LOGIND_TRUE='#'
18052 ENABLE_LOGIND_FALSE=
18053 fi
18054
18055 if test "$have_logind" = "yes"; then :
18056
18057 $as_echo "#define HAVE_LOGIND 1" >>confdefs.h
18058
18059 fi
18060
18061 # ------------------------------------------------------------------------------
18062 have_machined=no
18063 # Check whether --enable-machined was given.
18064 if test "${enable_machined+set}" = set; then :
18065 enableval=$enable_machined;
18066 fi
18067
18068 if test "x$enable_machined" != "xno"; then
18069 have_machined=yes
18070 fi
18071 if test "$have_machined" = "yes"; then
18072 ENABLE_MACHINED_TRUE=
18073 ENABLE_MACHINED_FALSE='#'
18074 else
18075 ENABLE_MACHINED_TRUE='#'
18076 ENABLE_MACHINED_FALSE=
18077 fi
18078
18079 if test "$have_machined" = "yes"; then :
18080
18081 $as_echo "#define HAVE_MACHINED 1" >>confdefs.h
18082
18083 fi
18084
18085 # ------------------------------------------------------------------------------
18086 have_hostnamed=no
18087 # Check whether --enable-hostnamed was given.
18088 if test "${enable_hostnamed+set}" = set; then :
18089 enableval=$enable_hostnamed;
18090 fi
18091
18092 if test "x$enable_hostnamed" != "xno"; then
18093 have_hostnamed=yes
18094 fi
18095 if test "$have_hostnamed" = "yes"; then
18096 ENABLE_HOSTNAMED_TRUE=
18097 ENABLE_HOSTNAMED_FALSE='#'
18098 else
18099 ENABLE_HOSTNAMED_TRUE='#'
18100 ENABLE_HOSTNAMED_FALSE=
18101 fi
18102
18103
18104 # ------------------------------------------------------------------------------
18105 have_timedated=no
18106 # Check whether --enable-timedated was given.
18107 if test "${enable_timedated+set}" = set; then :
18108 enableval=$enable_timedated;
18109 fi
18110
18111 if test "x$enable_timedated" != "xno"; then
18112 have_timedated=yes
18113 fi
18114 if test "$have_timedated" = "yes"; then
18115 ENABLE_TIMEDATED_TRUE=
18116 ENABLE_TIMEDATED_FALSE='#'
18117 else
18118 ENABLE_TIMEDATED_TRUE='#'
18119 ENABLE_TIMEDATED_FALSE=
18120 fi
18121
18122
18123 # ------------------------------------------------------------------------------
18124 have_localed=no
18125 # Check whether --enable-localed was given.
18126 if test "${enable_localed+set}" = set; then :
18127 enableval=$enable_localed;
18128 fi
18129
18130 if test "x$enable_localed" != "xno"; then
18131 have_localed=yes
18132 fi
18133 if test "$have_localed" = "yes"; then
18134 ENABLE_LOCALED_TRUE=
18135 ENABLE_LOCALED_FALSE='#'
18136 else
18137 ENABLE_LOCALED_TRUE='#'
18138 ENABLE_LOCALED_FALSE=
18139 fi
18140
18141
18142 # ------------------------------------------------------------------------------
18143 have_coredump=no
18144 # Check whether --enable-coredump was given.
18145 if test "${enable_coredump+set}" = set; then :
18146 enableval=$enable_coredump;
18147 fi
18148
18149 if test "x$enable_coredump" != "xno"; then
18150 have_coredump=yes
18151 fi
18152 if test "$have_coredump" = "yes"; then
18153 ENABLE_COREDUMP_TRUE=
18154 ENABLE_COREDUMP_FALSE='#'
18155 else
18156 ENABLE_COREDUMP_TRUE='#'
18157 ENABLE_COREDUMP_FALSE=
18158 fi
18159
18160
18161 # ------------------------------------------------------------------------------
18162 have_polkit=no
18163 # Check whether --enable-polkit was given.
18164 if test "${enable_polkit+set}" = set; then :
18165 enableval=$enable_polkit;
18166 fi
18167
18168 if test "x$enable_polkit" != "xno"; then
18169
18170 $as_echo "#define ENABLE_POLKIT 1" >>confdefs.h
18171
18172 have_polkit=yes
18173 fi
18174 if test "x$have_polkit" = "xyes"; then
18175 ENABLE_POLKIT_TRUE=
18176 ENABLE_POLKIT_FALSE='#'
18177 else
18178 ENABLE_POLKIT_TRUE='#'
18179 ENABLE_POLKIT_FALSE=
18180 fi
18181
18182
18183 # ------------------------------------------------------------------------------
18184 have_efi=no
18185 # Check whether --enable-efi was given.
18186 if test "${enable_efi+set}" = set; then :
18187 enableval=$enable_efi;
18188 fi
18189
18190 if test "x$enable_efi" != "xno"; then
18191
18192 $as_echo "#define ENABLE_EFI 1" >>confdefs.h
18193
18194 have_efi=yes
18195 fi
18196 if test "x$have_efi" = "xyes"; then
18197 ENABLE_EFI_TRUE=
18198 ENABLE_EFI_FALSE='#'
18199 else
18200 ENABLE_EFI_TRUE='#'
18201 ENABLE_EFI_FALSE=
18202 fi
18203
18204
18205 # ------------------------------------------------------------------------------
18206
18207 # Check whether --with-rc-local-script-path-start was given.
18208 if test "${with_rc_local_script_path_start+set}" = set; then :
18209 withval=$with_rc_local_script_path_start; RC_LOCAL_SCRIPT_PATH_START="$withval"
18210 else
18211 RC_LOCAL_SCRIPT_PATH_START="/etc/rc.local"
18212 fi
18213
18214
18215
18216 # Check whether --with-rc-local-script-path-stop was given.
18217 if test "${with_rc_local_script_path_stop+set}" = set; then :
18218 withval=$with_rc_local_script_path_stop; RC_LOCAL_SCRIPT_PATH_STOP="$withval"
18219 else
18220 RC_LOCAL_SCRIPT_PATH_STOP="/usr/sbin/halt.local"
18221 fi
18222
18223
18224
18225 cat >>confdefs.h <<_ACEOF
18226 #define RC_LOCAL_SCRIPT_PATH_START "$RC_LOCAL_SCRIPT_PATH_START"
18227 _ACEOF
18228
18229
18230 cat >>confdefs.h <<_ACEOF
18231 #define RC_LOCAL_SCRIPT_PATH_STOP "$RC_LOCAL_SCRIPT_PATH_STOP"
18232 _ACEOF
18233
18234
18235
18236
18237
18238 # ------------------------------------------------------------------------------
18239
18240 # Check whether --with-kbd-loadkeys was given.
18241 if test "${with_kbd_loadkeys+set}" = set; then :
18242 withval=$with_kbd_loadkeys; KBD_LOADKEYS="$withval"
18243 else
18244 KBD_LOADKEYS="/usr/bin/loadkeys"
18245 fi
18246
18247
18248
18249 # Check whether --with-kbd-setfont was given.
18250 if test "${with_kbd_setfont+set}" = set; then :
18251 withval=$with_kbd_setfont; KBD_SETFONT="$withval"
18252 else
18253 KBD_SETFONT="/usr/bin/setfont"
18254 fi
18255
18256
18257
18258 cat >>confdefs.h <<_ACEOF
18259 #define KBD_LOADKEYS "$KBD_LOADKEYS"
18260 _ACEOF
18261
18262
18263 cat >>confdefs.h <<_ACEOF
18264 #define KBD_SETFONT "$KBD_SETFONT"
18265 _ACEOF
18266
18267
18268
18269
18270
18271
18272 # Check whether --with-telinit was given.
18273 if test "${with_telinit+set}" = set; then :
18274 withval=$with_telinit; TELINIT="$withval"
18275 else
18276 TELINIT="/lib/sysvinit/telinit"
18277 fi
18278
18279
18280
18281 cat >>confdefs.h <<_ACEOF
18282 #define TELINIT "$TELINIT"
18283 _ACEOF
18284
18285
18286
18287
18288
18289
18290
18291 for ac_header in $ac_header_list
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
18295 "
18296 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18300
18301 fi
18302
18303 done
18304
18305
18306
18307
18308
18309 # ------------------------------------------------------------------------------
18310 have_myhostname=no
18311 # Check whether --enable-myhostname was given.
18312 if test "${enable_myhostname+set}" = set; then :
18313 enableval=$enable_myhostname;
18314 fi
18315
18316 if test "x$enable_myhostname" != "xno"; then
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18318 $as_echo_n "checking for ANSI C header files... " >&6; }
18319 if ${ac_cv_header_stdc+:} false; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324 #include <stdlib.h>
18325 #include <stdarg.h>
18326 #include <string.h>
18327 #include <float.h>
18328
18329 int
18330 main ()
18331 {
18332
18333 ;
18334 return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_c_try_compile "$LINENO"; then :
18338 ac_cv_header_stdc=yes
18339 else
18340 ac_cv_header_stdc=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343
18344 if test $ac_cv_header_stdc = yes; then
18345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18347 /* end confdefs.h. */
18348 #include <string.h>
18349
18350 _ACEOF
18351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18352 $EGREP "memchr" >/dev/null 2>&1; then :
18353
18354 else
18355 ac_cv_header_stdc=no
18356 fi
18357 rm -f conftest*
18358
18359 fi
18360
18361 if test $ac_cv_header_stdc = yes; then
18362 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18364 /* end confdefs.h. */
18365 #include <stdlib.h>
18366
18367 _ACEOF
18368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18369 $EGREP "free" >/dev/null 2>&1; then :
18370
18371 else
18372 ac_cv_header_stdc=no
18373 fi
18374 rm -f conftest*
18375
18376 fi
18377
18378 if test $ac_cv_header_stdc = yes; then
18379 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18380 if test "$cross_compiling" = yes; then :
18381 :
18382 else
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18385 #include <ctype.h>
18386 #include <stdlib.h>
18387 #if ((' ' & 0x0FF) == 0x020)
18388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18390 #else
18391 # define ISLOWER(c) \
18392 (('a' <= (c) && (c) <= 'i') \
18393 || ('j' <= (c) && (c) <= 'r') \
18394 || ('s' <= (c) && (c) <= 'z'))
18395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18396 #endif
18397
18398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18399 int
18400 main ()
18401 {
18402 int i;
18403 for (i = 0; i < 256; i++)
18404 if (XOR (islower (i), ISLOWER (i))
18405 || toupper (i) != TOUPPER (i))
18406 return 2;
18407 return 0;
18408 }
18409 _ACEOF
18410 if ac_fn_c_try_run "$LINENO"; then :
18411
18412 else
18413 ac_cv_header_stdc=no
18414 fi
18415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18416 conftest.$ac_objext conftest.beam conftest.$ac_ext
18417 fi
18418
18419 fi
18420 fi
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18422 $as_echo "$ac_cv_header_stdc" >&6; }
18423 if test $ac_cv_header_stdc = yes; then
18424
18425 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18426
18427 fi
18428
18429 for ac_header in arpa/inet.h fcntl.h inttypes.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h nss.h sys/ioctl.h sys/auxv.h
18430 do :
18431 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18432 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18433 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18434 cat >>confdefs.h <<_ACEOF
18435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18436 _ACEOF
18437
18438 fi
18439
18440 done
18441
18442
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18444 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18445 if ${ac_cv_c_const+:} false; then :
18446 $as_echo_n "(cached) " >&6
18447 else
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h. */
18450
18451 int
18452 main ()
18453 {
18454
18455 #ifndef __cplusplus
18456 /* Ultrix mips cc rejects this sort of thing. */
18457 typedef int charset[2];
18458 const charset cs = { 0, 0 };
18459 /* SunOS 4.1.1 cc rejects this. */
18460 char const *const *pcpcc;
18461 char **ppc;
18462 /* NEC SVR4.0.2 mips cc rejects this. */
18463 struct point {int x, y;};
18464 static struct point const zero = {0,0};
18465 /* AIX XL C 1.02.0.0 rejects this.
18466 It does not let you subtract one const X* pointer from another in
18467 an arm of an if-expression whose if-part is not a constant
18468 expression */
18469 const char *g = "string";
18470 pcpcc = &g + (g ? g-g : 0);
18471 /* HPUX 7.0 cc rejects these. */
18472 ++pcpcc;
18473 ppc = (char**) pcpcc;
18474 pcpcc = (char const *const *) ppc;
18475 { /* SCO 3.2v4 cc rejects this sort of thing. */
18476 char tx;
18477 char *t = &tx;
18478 char const *s = 0 ? (char *) 0 : (char const *) 0;
18479
18480 *t++ = 0;
18481 if (s) return 0;
18482 }
18483 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18484 int x[] = {25, 17};
18485 const int *foo = &x[0];
18486 ++foo;
18487 }
18488 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18489 typedef const int *iptr;
18490 iptr p = 0;
18491 ++p;
18492 }
18493 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
18494 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18495 struct s { int j; const int *ap[3]; } bx;
18496 struct s *b = &bx; b->j = 5;
18497 }
18498 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18499 const int foo = 10;
18500 if (!foo) return 0;
18501 }
18502 return !cs[0] && !zero.x;
18503 #endif
18504
18505 ;
18506 return 0;
18507 }
18508 _ACEOF
18509 if ac_fn_c_try_compile "$LINENO"; then :
18510 ac_cv_c_const=yes
18511 else
18512 ac_cv_c_const=no
18513 fi
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18515 fi
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18517 $as_echo "$ac_cv_c_const" >&6; }
18518 if test $ac_cv_c_const = no; then
18519
18520 $as_echo "#define const /**/" >>confdefs.h
18521
18522 fi
18523
18524 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18525 if test "x$ac_cv_type_size_t" = xyes; then :
18526
18527 else
18528
18529 cat >>confdefs.h <<_ACEOF
18530 #define size_t unsigned int
18531 _ACEOF
18532
18533 fi
18534
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
18536 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
18537 if ${ac_cv_header_time+:} false; then :
18538 $as_echo_n "(cached) " >&6
18539 else
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 #include <sys/types.h>
18543 #include <sys/time.h>
18544 #include <time.h>
18545
18546 int
18547 main ()
18548 {
18549 if ((struct tm *) 0)
18550 return 0;
18551 ;
18552 return 0;
18553 }
18554 _ACEOF
18555 if ac_fn_c_try_compile "$LINENO"; then :
18556 ac_cv_header_time=yes
18557 else
18558 ac_cv_header_time=no
18559 fi
18560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18561 fi
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18563 $as_echo "$ac_cv_header_time" >&6; }
18564 if test $ac_cv_header_time = yes; then
18565
18566 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
18567
18568 fi
18569
18570
18571 for ac_header in stdlib.h
18572 do :
18573 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
18574 if test "x$ac_cv_header_stdlib_h" = xyes; then :
18575 cat >>confdefs.h <<_ACEOF
18576 #define HAVE_STDLIB_H 1
18577 _ACEOF
18578
18579 fi
18580
18581 done
18582
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18584 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
18585 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 if test "$cross_compiling" = yes; then :
18589 ac_cv_func_malloc_0_nonnull=no
18590 else
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
18594 # include <stdlib.h>
18595 #else
18596 char *malloc ();
18597 #endif
18598
18599 int
18600 main ()
18601 {
18602 return ! malloc (0);
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 if ac_fn_c_try_run "$LINENO"; then :
18608 ac_cv_func_malloc_0_nonnull=yes
18609 else
18610 ac_cv_func_malloc_0_nonnull=no
18611 fi
18612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18613 conftest.$ac_objext conftest.beam conftest.$ac_ext
18614 fi
18615
18616 fi
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
18618 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
18619 if test $ac_cv_func_malloc_0_nonnull = yes; then :
18620
18621 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
18622
18623 else
18624 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
18625
18626 case " $LIBOBJS " in
18627 *" malloc.$ac_objext "* ) ;;
18628 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
18629 ;;
18630 esac
18631
18632
18633 $as_echo "#define malloc rpl_malloc" >>confdefs.h
18634
18635 fi
18636
18637
18638 for ac_header in sys/select.h sys/socket.h
18639 do :
18640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18641 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18642 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18643 cat >>confdefs.h <<_ACEOF
18644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18645 _ACEOF
18646
18647 fi
18648
18649 done
18650
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18652 $as_echo_n "checking types of arguments for select... " >&6; }
18653 if ${ac_cv_func_select_args+:} false; then :
18654 $as_echo_n "(cached) " >&6
18655 else
18656 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
18657 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18658 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 $ac_includes_default
18662 #ifdef HAVE_SYS_SELECT_H
18663 # include <sys/select.h>
18664 #endif
18665 #ifdef HAVE_SYS_SOCKET_H
18666 # include <sys/socket.h>
18667 #endif
18668
18669 int
18670 main ()
18671 {
18672 extern int select ($ac_arg1,
18673 $ac_arg234, $ac_arg234, $ac_arg234,
18674 $ac_arg5);
18675 ;
18676 return 0;
18677 }
18678 _ACEOF
18679 if ac_fn_c_try_compile "$LINENO"; then :
18680 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18681 fi
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 done
18684 done
18685 done
18686 # Provide a safe default value.
18687 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18688
18689 fi
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18691 $as_echo "$ac_cv_func_select_args" >&6; }
18692 ac_save_IFS=$IFS; IFS=','
18693 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18694 IFS=$ac_save_IFS
18695 shift
18696
18697 cat >>confdefs.h <<_ACEOF
18698 #define SELECT_TYPE_ARG1 $1
18699 _ACEOF
18700
18701
18702 cat >>confdefs.h <<_ACEOF
18703 #define SELECT_TYPE_ARG234 ($2)
18704 _ACEOF
18705
18706
18707 cat >>confdefs.h <<_ACEOF
18708 #define SELECT_TYPE_ARG5 ($3)
18709 _ACEOF
18710
18711 rm -f conftest*
18712
18713 for ac_func in gethostbyaddr gethostbyname gettimeofday inet_ntoa memset select socket strcspn strdup strerror strncasecmp strcasecmp strspn
18714 do :
18715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18717 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18718 cat >>confdefs.h <<_ACEOF
18719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18720 _ACEOF
18721
18722 fi
18723 done
18724
18725
18726 have_myhostname=yes
18727 fi
18728 if test "$have_myhostname" = "yes"; then
18729 HAVE_MYHOSTNAME_TRUE=
18730 HAVE_MYHOSTNAME_FALSE='#'
18731 else
18732 HAVE_MYHOSTNAME_TRUE='#'
18733 HAVE_MYHOSTNAME_FALSE=
18734 fi
18735
18736
18737 # ------------------------------------------------------------------------------
18738
18739 # Check whether --with-firmware-path was given.
18740 if test "${with_firmware_path+set}" = set; then :
18741 withval=$with_firmware_path;
18742 else
18743 with_firmware_path=""
18744 fi
18745
18746 OLD_IFS=$IFS
18747 IFS=:
18748 for i in $with_firmware_path; do
18749 if test "x${FIRMWARE_PATH}" = "x"; then
18750 FIRMWARE_PATH="\\\"${i}/\\\""
18751 else
18752 FIRMWARE_PATH="${FIRMWARE_PATH}, \\\"${i}/\\\""
18753 fi
18754 done
18755 IFS=$OLD_IFS
18756
18757 if test "x${FIRMWARE_PATH}" != "x"; then :
18758
18759 $as_echo "#define HAVE_FIRMWARE 1" >>confdefs.h
18760
18761 fi
18762 if test "x${FIRMWARE_PATH}" != "x"; then
18763 ENABLE_FIRMWARE_TRUE=
18764 ENABLE_FIRMWARE_FALSE='#'
18765 else
18766 ENABLE_FIRMWARE_TRUE='#'
18767 ENABLE_FIRMWARE_FALSE=
18768 fi
18769
18770
18771 # ------------------------------------------------------------------------------
18772 # Check whether --enable-gudev was given.
18773 if test "${enable_gudev+set}" = set; then :
18774 enableval=$enable_gudev;
18775 else
18776 enable_gudev=yes
18777 fi
18778
18779 if test "x$enable_gudev" = "xyes"; then :
18780
18781 pkg_failed=no
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
18783 $as_echo_n "checking for GLIB... " >&6; }
18784
18785 if test -n "$GLIB_CFLAGS"; then
18786 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
18787 elif test -n "$PKG_CONFIG"; then
18788 if test -n "$PKG_CONFIG" && \
18789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0\""; } >&5
18790 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0") 2>&5
18791 ac_status=$?
18792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18793 test $ac_status = 0; }; then
18794 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>/dev/null`
18795 test "x$?" != "x0" && pkg_failed=yes
18796 else
18797 pkg_failed=yes
18798 fi
18799 else
18800 pkg_failed=untried
18801 fi
18802 if test -n "$GLIB_LIBS"; then
18803 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
18804 elif test -n "$PKG_CONFIG"; then
18805 if test -n "$PKG_CONFIG" && \
18806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0\""; } >&5
18807 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0") 2>&5
18808 ac_status=$?
18809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18810 test $ac_status = 0; }; then
18811 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>/dev/null`
18812 test "x$?" != "x0" && pkg_failed=yes
18813 else
18814 pkg_failed=yes
18815 fi
18816 else
18817 pkg_failed=untried
18818 fi
18819
18820
18821
18822 if test $pkg_failed = yes; then
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18824 $as_echo "no" >&6; }
18825
18826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18827 _pkg_short_errors_supported=yes
18828 else
18829 _pkg_short_errors_supported=no
18830 fi
18831 if test $_pkg_short_errors_supported = yes; then
18832 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>&1`
18833 else
18834 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0" 2>&1`
18835 fi
18836 # Put the nasty error message in config.log where it belongs
18837 echo "$GLIB_PKG_ERRORS" >&5
18838
18839 as_fn_error $? "Package requirements (glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0) were not met:
18840
18841 $GLIB_PKG_ERRORS
18842
18843 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18844 installed software in a non-standard prefix.
18845
18846 Alternatively, you may set the environment variables GLIB_CFLAGS
18847 and GLIB_LIBS to avoid the need to call pkg-config.
18848 See the pkg-config man page for more details." "$LINENO" 5
18849 elif test $pkg_failed = untried; then
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18851 $as_echo "no" >&6; }
18852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18854 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18855 is in your PATH or set the PKG_CONFIG environment variable to the full
18856 path to pkg-config.
18857
18858 Alternatively, you may set the environment variables GLIB_CFLAGS
18859 and GLIB_LIBS to avoid the need to call pkg-config.
18860 See the pkg-config man page for more details.
18861
18862 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18863 See \`config.log' for more details" "$LINENO" 5; }
18864 else
18865 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
18866 GLIB_LIBS=$pkg_cv_GLIB_LIBS
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18868 $as_echo "yes" >&6; }
18869
18870 fi
18871 fi
18872 if test "x$enable_gudev" = "xyes"; then
18873 ENABLE_GUDEV_TRUE=
18874 ENABLE_GUDEV_FALSE='#'
18875 else
18876 ENABLE_GUDEV_TRUE='#'
18877 ENABLE_GUDEV_FALSE=
18878 fi
18879
18880 if test "x$enable_gudev" = "xyes"; then :
18881
18882 $as_echo "#define HAVE_GLIB 1" >>confdefs.h
18883
18884 fi
18885
18886 # ------------------------------------------------------------------------------
18887 have_manpages=no
18888 # Check whether --enable-manpages was given.
18889 if test "${enable_manpages+set}" = set; then :
18890 enableval=$enable_manpages;
18891 fi
18892
18893 if test "x$enable_manpages" != xno; then :
18894
18895 if test "x$enable_manpages" = xyes -a "x$XSLTPROC" = x; then :
18896
18897 as_fn_error $? "*** Manpages requested but xsltproc not found" "$LINENO" 5
18898
18899 fi
18900 if test "x$XSLTPROC" != x; then :
18901 have_manpages=yes
18902 fi
18903
18904 fi
18905 if test "x$have_manpages" = "xyes"; then
18906 ENABLE_MANPAGES_TRUE=
18907 ENABLE_MANPAGES_FALSE='#'
18908 else
18909 ENABLE_MANPAGES_TRUE='#'
18910 ENABLE_MANPAGES_FALSE=
18911 fi
18912
18913
18914 # ------------------------------------------------------------------------------
18915
18916 # Location of the init scripts as mandated by LSB
18917 SYSTEM_SYSVINIT_PATH=/etc/init.d
18918 SYSTEM_SYSVRCND_PATH=/etc/rc.d
18919 M4_DEFINES=
18920
18921
18922 # Check whether --with-sysvinit-path was given.
18923 if test "${with_sysvinit_path+set}" = set; then :
18924 withval=$with_sysvinit_path; SYSTEM_SYSVINIT_PATH="$withval"
18925 fi
18926
18927
18928
18929 # Check whether --with-sysvrcnd-path was given.
18930 if test "${with_sysvrcnd_path+set}" = set; then :
18931 withval=$with_sysvrcnd_path; SYSTEM_SYSVRCND_PATH="$withval"
18932 fi
18933
18934
18935 if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
18936
18937 $as_echo "#define HAVE_SYSV_COMPAT /**/" >>confdefs.h
18938
18939 SYSTEM_SYSV_COMPAT="yes"
18940 M4_DEFINES="$M4_DEFINES -DHAVE_SYSV_COMPAT"
18941 elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
18942 as_fn_error $? "*** You need both --with-sysvinit-path=PATH and --with-sysvrcnd-path=PATH to enable SysV compatibility support, or both empty to disable it." "$LINENO" 5
18943 else
18944 SYSTEM_SYSV_COMPAT="no"
18945 fi
18946
18947
18948
18949
18950
18951 if test "$SYSTEM_SYSV_COMPAT" = "yes"; then
18952 HAVE_SYSV_COMPAT_TRUE=
18953 HAVE_SYSV_COMPAT_FALSE='#'
18954 else
18955 HAVE_SYSV_COMPAT_TRUE='#'
18956 HAVE_SYSV_COMPAT_FALSE=
18957 fi
18958
18959
18960
18961 # Check whether --with-tty-gid was given.
18962 if test "${with_tty_gid+set}" = set; then :
18963 withval=$with_tty_gid;
18964 cat >>confdefs.h <<_ACEOF
18965 #define TTY_GID $withval
18966 _ACEOF
18967
18968 fi
18969
18970
18971
18972 # Check whether --with-dbuspolicydir was given.
18973 if test "${with_dbuspolicydir+set}" = set; then :
18974 withval=$with_dbuspolicydir;
18975 else
18976 with_dbuspolicydir=$($PKG_CONFIG --variable=sysconfdir dbus-1)/dbus-1/system.d
18977 fi
18978
18979
18980
18981 # Check whether --with-dbussessionservicedir was given.
18982 if test "${with_dbussessionservicedir+set}" = set; then :
18983 withval=$with_dbussessionservicedir;
18984 else
18985 with_dbussessionservicedir=$($PKG_CONFIG --variable=session_bus_services_dir dbus-1)
18986 fi
18987
18988
18989
18990 # Check whether --with-dbussystemservicedir was given.
18991 if test "${with_dbussystemservicedir+set}" = set; then :
18992 withval=$with_dbussystemservicedir;
18993 else
18994 with_dbussystemservicedir=$(readlink -m $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../system-services)
18995 fi
18996
18997
18998
18999 # Check whether --with-dbusinterfacedir was given.
19000 if test "${with_dbusinterfacedir+set}" = set; then :
19001 withval=$with_dbusinterfacedir;
19002 else
19003 with_dbusinterfacedir=$(readlink -m $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../interfaces)
19004 fi
19005
19006
19007
19008 # Check whether --with-bashcompletiondir was given.
19009 if test "${with_bashcompletiondir+set}" = set; then :
19010 withval=$with_bashcompletiondir;
19011 else
19012 if $($PKG_CONFIG --exists bash-completion); then :
19013
19014 with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion)
19015
19016 else
19017
19018 with_bashcompletiondir=${datadir}/bash-completion/completions
19019
19020 fi
19021 fi
19022
19023
19024
19025 # Check whether --with-zshcompletiondir was given.
19026 if test "${with_zshcompletiondir+set}" = set; then :
19027 withval=$with_zshcompletiondir;
19028 else
19029 with_zshcompletiondir=${datadir}/zsh/site-functions
19030 fi
19031
19032
19033
19034 # Check whether --with-rootprefix was given.
19035 if test "${with_rootprefix+set}" = set; then :
19036 withval=$with_rootprefix;
19037 else
19038 with_rootprefix=${ac_default_prefix}
19039 fi
19040
19041
19042
19043 # Check whether --with-rootlibdir was given.
19044 if test "${with_rootlibdir+set}" = set; then :
19045 withval=$with_rootlibdir;
19046 else
19047 with_rootlibdir=${libdir}
19048 fi
19049
19050
19051
19052 # Check whether --with-pamlibdir was given.
19053 if test "${with_pamlibdir+set}" = set; then :
19054 withval=$with_pamlibdir;
19055 else
19056 with_pamlibdir=${with_rootlibdir}/security
19057 fi
19058
19059
19060
19061 # Check whether --with-pamconfdir was given.
19062 if test "${with_pamconfdir+set}" = set; then :
19063 withval=$with_pamconfdir;
19064 else
19065 with_pamconfdir=${sysconfdir}/pam.d
19066 fi
19067
19068
19069 # Check whether --enable-split-usr was given.
19070 if test "${enable_split_usr+set}" = set; then :
19071 enableval=$enable_split_usr;
19072 else
19073 if test "x${ac_default_prefix}" != "x${with_rootprefix}"; then :
19074
19075 enable_split_usr=yes
19076
19077 else
19078
19079 enable_split_usr=no
19080
19081 fi
19082 fi
19083
19084
19085 if test "x${enable_split_usr}" = "xyes"; then :
19086
19087
19088 $as_echo "#define HAVE_SPLIT_USR 1" >>confdefs.h
19089
19090
19091 fi
19092
19093 # Work around intltoolize and gtk-doc problems in VPATH builds
19094 if test "x$0" = "x./configure"; then
19095 ENABLE_GTK_DOC_TESTS_TRUE=
19096 ENABLE_GTK_DOC_TESTS_FALSE='#'
19097 else
19098 ENABLE_GTK_DOC_TESTS_TRUE='#'
19099 ENABLE_GTK_DOC_TESTS_FALSE=
19100 fi
19101
19102 if test "x$0" != "x./configure"; then :
19103
19104 INTLTOOL_UPDATE=/bin/true
19105
19106
19107 fi
19108
19109 # Check whether --enable-tests was given.
19110 if test "${enable_tests+set}" = set; then :
19111 enableval=$enable_tests; enable_tests=$enableval
19112 else
19113 enable_tests=yes
19114 fi
19115
19116 if test x$enable_tests = xyes; then
19117 ENABLE_TESTS_TRUE=
19118 ENABLE_TESTS_FALSE='#'
19119 else
19120 ENABLE_TESTS_TRUE='#'
19121 ENABLE_TESTS_FALSE=
19122 fi
19123
19124
19125 dbuspolicydir=$with_dbuspolicydir
19126
19127 dbussessionservicedir=$with_dbussessionservicedir
19128
19129 dbussystemservicedir=$with_dbussystemservicedir
19130
19131 dbusinterfacedir=$with_dbusinterfacedir
19132
19133 bashcompletiondir=$with_bashcompletiondir
19134
19135 zshcompletiondir=$with_zshcompletiondir
19136
19137 pamlibdir=$with_pamlibdir
19138
19139 pamconfdir=$with_pamconfdir
19140
19141 rootprefix=$with_rootprefix
19142
19143 rootlibdir=$with_rootlibdir
19144
19145
19146 ac_config_files="$ac_config_files Makefile po/Makefile.in docs/libudev/Makefile docs/libudev/version.xml docs/gudev/Makefile docs/gudev/version.xml"
19147
19148
19149 cat >confcache <<\_ACEOF
19150 # This file is a shell script that caches the results of configure
19151 # tests run on this system so they can be shared between configure
19152 # scripts and configure runs, see configure's option --config-cache.
19153 # It is not useful on other systems. If it contains results you don't
19154 # want to keep, you may remove or edit it.
19155 #
19156 # config.status only pays attention to the cache file if you give it
19157 # the --recheck option to rerun configure.
19158 #
19159 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19160 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19161 # following values.
19162
19163 _ACEOF
19164
19165 # The following way of writing the cache mishandles newlines in values,
19166 # but we know of no workaround that is simple, portable, and efficient.
19167 # So, we kill variables containing newlines.
19168 # Ultrix sh set writes to stderr and can't be redirected directly,
19169 # and sets the high bit in the cache file unless we assign to the vars.
19170 (
19171 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19172 eval ac_val=\$$ac_var
19173 case $ac_val in #(
19174 *${as_nl}*)
19175 case $ac_var in #(
19176 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19177 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19178 esac
19179 case $ac_var in #(
19180 _ | IFS | as_nl) ;; #(
19181 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19182 *) { eval $ac_var=; unset $ac_var;} ;;
19183 esac ;;
19184 esac
19185 done
19186
19187 (set) 2>&1 |
19188 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19189 *${as_nl}ac_space=\ *)
19190 # `set' does not quote correctly, so add quotes: double-quote
19191 # substitution turns \\\\ into \\, and sed turns \\ into \.
19192 sed -n \
19193 "s/'/'\\\\''/g;
19194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19195 ;; #(
19196 *)
19197 # `set' quotes correctly as required by POSIX, so do not add quotes.
19198 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19199 ;;
19200 esac |
19201 sort
19202 ) |
19203 sed '
19204 /^ac_cv_env_/b end
19205 t clear
19206 :clear
19207 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19208 t end
19209 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19210 :end' >>confcache
19211 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19212 if test -w "$cache_file"; then
19213 if test "x$cache_file" != "x/dev/null"; then
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19215 $as_echo "$as_me: updating cache $cache_file" >&6;}
19216 if test ! -f "$cache_file" || test -h "$cache_file"; then
19217 cat confcache >"$cache_file"
19218 else
19219 case $cache_file in #(
19220 */* | ?:*)
19221 mv -f confcache "$cache_file"$$ &&
19222 mv -f "$cache_file"$$ "$cache_file" ;; #(
19223 *)
19224 mv -f confcache "$cache_file" ;;
19225 esac
19226 fi
19227 fi
19228 else
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19230 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19231 fi
19232 fi
19233 rm -f confcache
19234
19235 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19236 # Let make expand exec_prefix.
19237 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19238
19239 DEFS=-DHAVE_CONFIG_H
19240
19241 ac_libobjs=
19242 ac_ltlibobjs=
19243 U=
19244 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19245 # 1. Remove the extension, and $U if already installed.
19246 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19247 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19248 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19249 # will be set to the directory where LIBOBJS objects are built.
19250 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19251 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19252 done
19253 LIBOBJS=$ac_libobjs
19254
19255 LTLIBOBJS=$ac_ltlibobjs
19256
19257
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19259 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19260 if test -n "$am_sleep_pid"; then
19261 # Hide warnings about reused PIDs.
19262 wait $am_sleep_pid 2>/dev/null
19263 fi
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19265 $as_echo "done" >&6; }
19266 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19267 as_fn_error $? "conditional \"AMDEP\" was never defined.
19268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19269 fi
19270 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19271 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19273 fi
19274 if test -n "$EXEEXT"; then
19275 am__EXEEXT_TRUE=
19276 am__EXEEXT_FALSE='#'
19277 else
19278 am__EXEEXT_TRUE='#'
19279 am__EXEEXT_FALSE=
19280 fi
19281
19282
19283 ac_config_commands="$ac_config_commands po/stamp-it"
19284
19285
19286 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
19287 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
19288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19289 fi
19290 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
19291 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
19292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19293 fi
19294 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
19295 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
19296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19297 fi
19298 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
19299 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
19300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19301 fi
19302 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
19303 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
19304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19305 fi
19306 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
19307 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
19308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19309 fi
19310 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
19311 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
19312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19313 fi
19314 if test -z "${HAVE_PYTHON_DEVEL_TRUE}" && test -z "${HAVE_PYTHON_DEVEL_FALSE}"; then
19315 as_fn_error $? "conditional \"HAVE_PYTHON_DEVEL\" was never defined.
19316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19317 fi
19318 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
19319 as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
19320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19321 fi
19322 if test -z "${HAVE_KMOD_TRUE}" && test -z "${HAVE_KMOD_FALSE}"; then
19323 as_fn_error $? "conditional \"HAVE_KMOD\" was never defined.
19324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19325 fi
19326 if test -z "${HAVE_BLKID_TRUE}" && test -z "${HAVE_BLKID_FALSE}"; then
19327 as_fn_error $? "conditional \"HAVE_BLKID\" was never defined.
19328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19329 fi
19330 if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
19331 as_fn_error $? "conditional \"HAVE_SELINUX\" was never defined.
19332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19333 fi
19334 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
19335 as_fn_error $? "conditional \"HAVE_XZ\" was never defined.
19336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19337 fi
19338 if test -z "${HAVE_PAM_TRUE}" && test -z "${HAVE_PAM_FALSE}"; then
19339 as_fn_error $? "conditional \"HAVE_PAM\" was never defined.
19340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19341 fi
19342 if test -z "${HAVE_ACL_TRUE}" && test -z "${HAVE_ACL_FALSE}"; then
19343 as_fn_error $? "conditional \"HAVE_ACL\" was never defined.
19344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19345 fi
19346 if test -z "${HAVE_XATTR_TRUE}" && test -z "${HAVE_XATTR_FALSE}"; then
19347 as_fn_error $? "conditional \"HAVE_XATTR\" was never defined.
19348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19349 fi
19350 if test -z "${HAVE_GCRYPT_TRUE}" && test -z "${HAVE_GCRYPT_FALSE}"; then
19351 as_fn_error $? "conditional \"HAVE_GCRYPT\" was never defined.
19352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19353 fi
19354 if test -z "${HAVE_LIBCRYPTSETUP_TRUE}" && test -z "${HAVE_LIBCRYPTSETUP_FALSE}"; then
19355 as_fn_error $? "conditional \"HAVE_LIBCRYPTSETUP\" was never defined.
19356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19357 fi
19358 if test -z "${HAVE_QRENCODE_TRUE}" && test -z "${HAVE_QRENCODE_FALSE}"; then
19359 as_fn_error $? "conditional \"HAVE_QRENCODE\" was never defined.
19360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19361 fi
19362 if test -z "${HAVE_MICROHTTPD_TRUE}" && test -z "${HAVE_MICROHTTPD_FALSE}"; then
19363 as_fn_error $? "conditional \"HAVE_MICROHTTPD\" was never defined.
19364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19365 fi
19366 if test -z "${ENABLE_BINFMT_TRUE}" && test -z "${ENABLE_BINFMT_FALSE}"; then
19367 as_fn_error $? "conditional \"ENABLE_BINFMT\" was never defined.
19368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19369 fi
19370 if test -z "${ENABLE_VCONSOLE_TRUE}" && test -z "${ENABLE_VCONSOLE_FALSE}"; then
19371 as_fn_error $? "conditional \"ENABLE_VCONSOLE\" was never defined.
19372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19373 fi
19374 if test -z "${ENABLE_READAHEAD_TRUE}" && test -z "${ENABLE_READAHEAD_FALSE}"; then
19375 as_fn_error $? "conditional \"ENABLE_READAHEAD\" was never defined.
19376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19377 fi
19378 if test -z "${ENABLE_BOOTCHART_TRUE}" && test -z "${ENABLE_BOOTCHART_FALSE}"; then
19379 as_fn_error $? "conditional \"ENABLE_BOOTCHART\" was never defined.
19380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19381 fi
19382 if test -z "${ENABLE_QUOTACHECK_TRUE}" && test -z "${ENABLE_QUOTACHECK_FALSE}"; then
19383 as_fn_error $? "conditional \"ENABLE_QUOTACHECK\" was never defined.
19384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19385 fi
19386 if test -z "${ENABLE_TMPFILES_TRUE}" && test -z "${ENABLE_TMPFILES_FALSE}"; then
19387 as_fn_error $? "conditional \"ENABLE_TMPFILES\" was never defined.
19388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19389 fi
19390 if test -z "${ENABLE_RANDOMSEED_TRUE}" && test -z "${ENABLE_RANDOMSEED_FALSE}"; then
19391 as_fn_error $? "conditional \"ENABLE_RANDOMSEED\" was never defined.
19392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19393 fi
19394 if test -z "${ENABLE_BACKLIGHT_TRUE}" && test -z "${ENABLE_BACKLIGHT_FALSE}"; then
19395 as_fn_error $? "conditional \"ENABLE_BACKLIGHT\" was never defined.
19396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19397 fi
19398 if test -z "${ENABLE_LOGIND_TRUE}" && test -z "${ENABLE_LOGIND_FALSE}"; then
19399 as_fn_error $? "conditional \"ENABLE_LOGIND\" was never defined.
19400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19401 fi
19402 if test -z "${ENABLE_MACHINED_TRUE}" && test -z "${ENABLE_MACHINED_FALSE}"; then
19403 as_fn_error $? "conditional \"ENABLE_MACHINED\" was never defined.
19404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19405 fi
19406 if test -z "${ENABLE_HOSTNAMED_TRUE}" && test -z "${ENABLE_HOSTNAMED_FALSE}"; then
19407 as_fn_error $? "conditional \"ENABLE_HOSTNAMED\" was never defined.
19408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19409 fi
19410 if test -z "${ENABLE_TIMEDATED_TRUE}" && test -z "${ENABLE_TIMEDATED_FALSE}"; then
19411 as_fn_error $? "conditional \"ENABLE_TIMEDATED\" was never defined.
19412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19413 fi
19414 if test -z "${ENABLE_LOCALED_TRUE}" && test -z "${ENABLE_LOCALED_FALSE}"; then
19415 as_fn_error $? "conditional \"ENABLE_LOCALED\" was never defined.
19416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19417 fi
19418 if test -z "${ENABLE_COREDUMP_TRUE}" && test -z "${ENABLE_COREDUMP_FALSE}"; then
19419 as_fn_error $? "conditional \"ENABLE_COREDUMP\" was never defined.
19420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19421 fi
19422 if test -z "${ENABLE_POLKIT_TRUE}" && test -z "${ENABLE_POLKIT_FALSE}"; then
19423 as_fn_error $? "conditional \"ENABLE_POLKIT\" was never defined.
19424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19425 fi
19426 if test -z "${ENABLE_EFI_TRUE}" && test -z "${ENABLE_EFI_FALSE}"; then
19427 as_fn_error $? "conditional \"ENABLE_EFI\" was never defined.
19428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19429 fi
19430 if test -z "${HAVE_MYHOSTNAME_TRUE}" && test -z "${HAVE_MYHOSTNAME_FALSE}"; then
19431 as_fn_error $? "conditional \"HAVE_MYHOSTNAME\" was never defined.
19432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19433 fi
19434 if test -z "${ENABLE_FIRMWARE_TRUE}" && test -z "${ENABLE_FIRMWARE_FALSE}"; then
19435 as_fn_error $? "conditional \"ENABLE_FIRMWARE\" was never defined.
19436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19437 fi
19438 if test -z "${ENABLE_GUDEV_TRUE}" && test -z "${ENABLE_GUDEV_FALSE}"; then
19439 as_fn_error $? "conditional \"ENABLE_GUDEV\" was never defined.
19440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19441 fi
19442 if test -z "${ENABLE_MANPAGES_TRUE}" && test -z "${ENABLE_MANPAGES_FALSE}"; then
19443 as_fn_error $? "conditional \"ENABLE_MANPAGES\" was never defined.
19444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19445 fi
19446 if test -z "${HAVE_SYSV_COMPAT_TRUE}" && test -z "${HAVE_SYSV_COMPAT_FALSE}"; then
19447 as_fn_error $? "conditional \"HAVE_SYSV_COMPAT\" was never defined.
19448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19449 fi
19450 if test -z "${ENABLE_GTK_DOC_TESTS_TRUE}" && test -z "${ENABLE_GTK_DOC_TESTS_FALSE}"; then
19451 as_fn_error $? "conditional \"ENABLE_GTK_DOC_TESTS\" was never defined.
19452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19453 fi
19454 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
19455 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
19456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19457 fi
19458
19459 : "${CONFIG_STATUS=./config.status}"
19460 ac_write_fail=0
19461 ac_clean_files_save=$ac_clean_files
19462 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19464 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19465 as_write_fail=0
19466 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19467 #! $SHELL
19468 # Generated by $as_me.
19469 # Run this file to recreate the current configuration.
19470 # Compiler output produced by configure, useful for debugging
19471 # configure, is in config.log if it exists.
19472
19473 debug=false
19474 ac_cs_recheck=false
19475 ac_cs_silent=false
19476
19477 SHELL=\${CONFIG_SHELL-$SHELL}
19478 export SHELL
19479 _ASEOF
19480 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19481 ## -------------------- ##
19482 ## M4sh Initialization. ##
19483 ## -------------------- ##
19484
19485 # Be more Bourne compatible
19486 DUALCASE=1; export DUALCASE # for MKS sh
19487 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19488 emulate sh
19489 NULLCMD=:
19490 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19491 # is contrary to our usage. Disable this feature.
19492 alias -g '${1+"$@"}'='"$@"'
19493 setopt NO_GLOB_SUBST
19494 else
19495 case `(set -o) 2>/dev/null` in #(
19496 *posix*) :
19497 set -o posix ;; #(
19498 *) :
19499 ;;
19500 esac
19501 fi
19502
19503
19504 as_nl='
19505 '
19506 export as_nl
19507 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19508 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19510 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19511 # Prefer a ksh shell builtin over an external printf program on Solaris,
19512 # but without wasting forks for bash or zsh.
19513 if test -z "$BASH_VERSION$ZSH_VERSION" \
19514 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19515 as_echo='print -r --'
19516 as_echo_n='print -rn --'
19517 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19518 as_echo='printf %s\n'
19519 as_echo_n='printf %s'
19520 else
19521 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19522 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19523 as_echo_n='/usr/ucb/echo -n'
19524 else
19525 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19526 as_echo_n_body='eval
19527 arg=$1;
19528 case $arg in #(
19529 *"$as_nl"*)
19530 expr "X$arg" : "X\\(.*\\)$as_nl";
19531 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19532 esac;
19533 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19534 '
19535 export as_echo_n_body
19536 as_echo_n='sh -c $as_echo_n_body as_echo'
19537 fi
19538 export as_echo_body
19539 as_echo='sh -c $as_echo_body as_echo'
19540 fi
19541
19542 # The user is always right.
19543 if test "${PATH_SEPARATOR+set}" != set; then
19544 PATH_SEPARATOR=:
19545 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19546 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19547 PATH_SEPARATOR=';'
19548 }
19549 fi
19550
19551
19552 # IFS
19553 # We need space, tab and new line, in precisely that order. Quoting is
19554 # there to prevent editors from complaining about space-tab.
19555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19556 # splitting by setting IFS to empty value.)
19557 IFS=" "" $as_nl"
19558
19559 # Find who we are. Look in the path if we contain no directory separator.
19560 as_myself=
19561 case $0 in #((
19562 *[\\/]* ) as_myself=$0 ;;
19563 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19564 for as_dir in $PATH
19565 do
19566 IFS=$as_save_IFS
19567 test -z "$as_dir" && as_dir=.
19568 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19569 done
19570 IFS=$as_save_IFS
19571
19572 ;;
19573 esac
19574 # We did not find ourselves, most probably we were run as `sh COMMAND'
19575 # in which case we are not to be found in the path.
19576 if test "x$as_myself" = x; then
19577 as_myself=$0
19578 fi
19579 if test ! -f "$as_myself"; then
19580 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19581 exit 1
19582 fi
19583
19584 # Unset variables that we do not need and which cause bugs (e.g. in
19585 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19586 # suppresses any "Segmentation fault" message there. '((' could
19587 # trigger a bug in pdksh 5.2.14.
19588 for as_var in BASH_ENV ENV MAIL MAILPATH
19589 do eval test x\${$as_var+set} = xset \
19590 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19591 done
19592 PS1='$ '
19593 PS2='> '
19594 PS4='+ '
19595
19596 # NLS nuisances.
19597 LC_ALL=C
19598 export LC_ALL
19599 LANGUAGE=C
19600 export LANGUAGE
19601
19602 # CDPATH.
19603 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19604
19605
19606 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19607 # ----------------------------------------
19608 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19609 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19610 # script with STATUS, using 1 if that was 0.
19611 as_fn_error ()
19612 {
19613 as_status=$1; test $as_status -eq 0 && as_status=1
19614 if test "$4"; then
19615 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19616 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19617 fi
19618 $as_echo "$as_me: error: $2" >&2
19619 as_fn_exit $as_status
19620 } # as_fn_error
19621
19622
19623 # as_fn_set_status STATUS
19624 # -----------------------
19625 # Set $? to STATUS, without forking.
19626 as_fn_set_status ()
19627 {
19628 return $1
19629 } # as_fn_set_status
19630
19631 # as_fn_exit STATUS
19632 # -----------------
19633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19634 as_fn_exit ()
19635 {
19636 set +e
19637 as_fn_set_status $1
19638 exit $1
19639 } # as_fn_exit
19640
19641 # as_fn_unset VAR
19642 # ---------------
19643 # Portably unset VAR.
19644 as_fn_unset ()
19645 {
19646 { eval $1=; unset $1;}
19647 }
19648 as_unset=as_fn_unset
19649 # as_fn_append VAR VALUE
19650 # ----------------------
19651 # Append the text in VALUE to the end of the definition contained in VAR. Take
19652 # advantage of any shell optimizations that allow amortized linear growth over
19653 # repeated appends, instead of the typical quadratic growth present in naive
19654 # implementations.
19655 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19656 eval 'as_fn_append ()
19657 {
19658 eval $1+=\$2
19659 }'
19660 else
19661 as_fn_append ()
19662 {
19663 eval $1=\$$1\$2
19664 }
19665 fi # as_fn_append
19666
19667 # as_fn_arith ARG...
19668 # ------------------
19669 # Perform arithmetic evaluation on the ARGs, and store the result in the
19670 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19671 # must be portable across $(()) and expr.
19672 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19673 eval 'as_fn_arith ()
19674 {
19675 as_val=$(( $* ))
19676 }'
19677 else
19678 as_fn_arith ()
19679 {
19680 as_val=`expr "$@" || test $? -eq 1`
19681 }
19682 fi # as_fn_arith
19683
19684
19685 if expr a : '\(a\)' >/dev/null 2>&1 &&
19686 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19687 as_expr=expr
19688 else
19689 as_expr=false
19690 fi
19691
19692 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19693 as_basename=basename
19694 else
19695 as_basename=false
19696 fi
19697
19698 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19699 as_dirname=dirname
19700 else
19701 as_dirname=false
19702 fi
19703
19704 as_me=`$as_basename -- "$0" ||
19705 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19706 X"$0" : 'X\(//\)$' \| \
19707 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19708 $as_echo X/"$0" |
19709 sed '/^.*\/\([^/][^/]*\)\/*$/{
19710 s//\1/
19711 q
19712 }
19713 /^X\/\(\/\/\)$/{
19714 s//\1/
19715 q
19716 }
19717 /^X\/\(\/\).*/{
19718 s//\1/
19719 q
19720 }
19721 s/.*/./; q'`
19722
19723 # Avoid depending upon Character Ranges.
19724 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19725 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19726 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19727 as_cr_digits='0123456789'
19728 as_cr_alnum=$as_cr_Letters$as_cr_digits
19729
19730 ECHO_C= ECHO_N= ECHO_T=
19731 case `echo -n x` in #(((((
19732 -n*)
19733 case `echo 'xy\c'` in
19734 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19735 xy) ECHO_C='\c';;
19736 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19737 ECHO_T=' ';;
19738 esac;;
19739 *)
19740 ECHO_N='-n';;
19741 esac
19742
19743 rm -f conf$$ conf$$.exe conf$$.file
19744 if test -d conf$$.dir; then
19745 rm -f conf$$.dir/conf$$.file
19746 else
19747 rm -f conf$$.dir
19748 mkdir conf$$.dir 2>/dev/null
19749 fi
19750 if (echo >conf$$.file) 2>/dev/null; then
19751 if ln -s conf$$.file conf$$ 2>/dev/null; then
19752 as_ln_s='ln -s'
19753 # ... but there are two gotchas:
19754 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19755 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19756 # In both cases, we have to default to `cp -pR'.
19757 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19758 as_ln_s='cp -pR'
19759 elif ln conf$$.file conf$$ 2>/dev/null; then
19760 as_ln_s=ln
19761 else
19762 as_ln_s='cp -pR'
19763 fi
19764 else
19765 as_ln_s='cp -pR'
19766 fi
19767 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19768 rmdir conf$$.dir 2>/dev/null
19769
19770
19771 # as_fn_mkdir_p
19772 # -------------
19773 # Create "$as_dir" as a directory, including parents if necessary.
19774 as_fn_mkdir_p ()
19775 {
19776
19777 case $as_dir in #(
19778 -*) as_dir=./$as_dir;;
19779 esac
19780 test -d "$as_dir" || eval $as_mkdir_p || {
19781 as_dirs=
19782 while :; do
19783 case $as_dir in #(
19784 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19785 *) as_qdir=$as_dir;;
19786 esac
19787 as_dirs="'$as_qdir' $as_dirs"
19788 as_dir=`$as_dirname -- "$as_dir" ||
19789 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19790 X"$as_dir" : 'X\(//\)[^/]' \| \
19791 X"$as_dir" : 'X\(//\)$' \| \
19792 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19793 $as_echo X"$as_dir" |
19794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19795 s//\1/
19796 q
19797 }
19798 /^X\(\/\/\)[^/].*/{
19799 s//\1/
19800 q
19801 }
19802 /^X\(\/\/\)$/{
19803 s//\1/
19804 q
19805 }
19806 /^X\(\/\).*/{
19807 s//\1/
19808 q
19809 }
19810 s/.*/./; q'`
19811 test -d "$as_dir" && break
19812 done
19813 test -z "$as_dirs" || eval "mkdir $as_dirs"
19814 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19815
19816
19817 } # as_fn_mkdir_p
19818 if mkdir -p . 2>/dev/null; then
19819 as_mkdir_p='mkdir -p "$as_dir"'
19820 else
19821 test -d ./-p && rmdir ./-p
19822 as_mkdir_p=false
19823 fi
19824
19825
19826 # as_fn_executable_p FILE
19827 # -----------------------
19828 # Test if FILE is an executable regular file.
19829 as_fn_executable_p ()
19830 {
19831 test -f "$1" && test -x "$1"
19832 } # as_fn_executable_p
19833 as_test_x='test -x'
19834 as_executable_p=as_fn_executable_p
19835
19836 # Sed expression to map a string onto a valid CPP name.
19837 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19838
19839 # Sed expression to map a string onto a valid variable name.
19840 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19841
19842
19843 exec 6>&1
19844 ## ----------------------------------- ##
19845 ## Main body of $CONFIG_STATUS script. ##
19846 ## ----------------------------------- ##
19847 _ASEOF
19848 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19849
19850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19851 # Save the log message, to keep $0 and so on meaningful, and to
19852 # report actual input values of CONFIG_FILES etc. instead of their
19853 # values after options handling.
19854 ac_log="
19855 This file was extended by systemd $as_me 208, which was
19856 generated by GNU Autoconf 2.69. Invocation command line was
19857
19858 CONFIG_FILES = $CONFIG_FILES
19859 CONFIG_HEADERS = $CONFIG_HEADERS
19860 CONFIG_LINKS = $CONFIG_LINKS
19861 CONFIG_COMMANDS = $CONFIG_COMMANDS
19862 $ $0 $@
19863
19864 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19865 "
19866
19867 _ACEOF
19868
19869 case $ac_config_files in *"
19870 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19871 esac
19872
19873 case $ac_config_headers in *"
19874 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19875 esac
19876
19877
19878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19879 # Files that config.status was made for.
19880 config_files="$ac_config_files"
19881 config_headers="$ac_config_headers"
19882 config_commands="$ac_config_commands"
19883
19884 _ACEOF
19885
19886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19887 ac_cs_usage="\
19888 \`$as_me' instantiates files and other configuration actions
19889 from templates according to the current configuration. Unless the files
19890 and actions are specified as TAGs, all are instantiated by default.
19891
19892 Usage: $0 [OPTION]... [TAG]...
19893
19894 -h, --help print this help, then exit
19895 -V, --version print version number and configuration settings, then exit
19896 --config print configuration, then exit
19897 -q, --quiet, --silent
19898 do not print progress messages
19899 -d, --debug don't remove temporary files
19900 --recheck update $as_me by reconfiguring in the same conditions
19901 --file=FILE[:TEMPLATE]
19902 instantiate the configuration file FILE
19903 --header=FILE[:TEMPLATE]
19904 instantiate the configuration header FILE
19905
19906 Configuration files:
19907 $config_files
19908
19909 Configuration headers:
19910 $config_headers
19911
19912 Configuration commands:
19913 $config_commands
19914
19915 Report bugs to <http://bugs.freedesktop.org/enter_bug.cgi?product=systemd>.
19916 systemd home page: <http://www.freedesktop.org/wiki/Software/systemd>."
19917
19918 _ACEOF
19919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19920 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19921 ac_cs_version="\\
19922 systemd config.status 208
19923 configured by $0, generated by GNU Autoconf 2.69,
19924 with options \\"\$ac_cs_config\\"
19925
19926 Copyright (C) 2012 Free Software Foundation, Inc.
19927 This config.status script is free software; the Free Software Foundation
19928 gives unlimited permission to copy, distribute and modify it."
19929
19930 ac_pwd='$ac_pwd'
19931 srcdir='$srcdir'
19932 INSTALL='$INSTALL'
19933 MKDIR_P='$MKDIR_P'
19934 AWK='$AWK'
19935 test -n "\$AWK" || AWK=awk
19936 _ACEOF
19937
19938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19939 # The default lists apply if the user does not specify any file.
19940 ac_need_defaults=:
19941 while test $# != 0
19942 do
19943 case $1 in
19944 --*=?*)
19945 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19946 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19947 ac_shift=:
19948 ;;
19949 --*=)
19950 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19951 ac_optarg=
19952 ac_shift=:
19953 ;;
19954 *)
19955 ac_option=$1
19956 ac_optarg=$2
19957 ac_shift=shift
19958 ;;
19959 esac
19960
19961 case $ac_option in
19962 # Handling of the options.
19963 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19964 ac_cs_recheck=: ;;
19965 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19966 $as_echo "$ac_cs_version"; exit ;;
19967 --config | --confi | --conf | --con | --co | --c )
19968 $as_echo "$ac_cs_config"; exit ;;
19969 --debug | --debu | --deb | --de | --d | -d )
19970 debug=: ;;
19971 --file | --fil | --fi | --f )
19972 $ac_shift
19973 case $ac_optarg in
19974 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19975 '') as_fn_error $? "missing file argument" ;;
19976 esac
19977 as_fn_append CONFIG_FILES " '$ac_optarg'"
19978 ac_need_defaults=false;;
19979 --header | --heade | --head | --hea )
19980 $ac_shift
19981 case $ac_optarg in
19982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19983 esac
19984 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19985 ac_need_defaults=false;;
19986 --he | --h)
19987 # Conflict between --help and --header
19988 as_fn_error $? "ambiguous option: \`$1'
19989 Try \`$0 --help' for more information.";;
19990 --help | --hel | -h )
19991 $as_echo "$ac_cs_usage"; exit ;;
19992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19993 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19994 ac_cs_silent=: ;;
19995
19996 # This is an error.
19997 -*) as_fn_error $? "unrecognized option: \`$1'
19998 Try \`$0 --help' for more information." ;;
19999
20000 *) as_fn_append ac_config_targets " $1"
20001 ac_need_defaults=false ;;
20002
20003 esac
20004 shift
20005 done
20006
20007 ac_configure_extra_args=
20008
20009 if $ac_cs_silent; then
20010 exec 6>/dev/null
20011 ac_configure_extra_args="$ac_configure_extra_args --silent"
20012 fi
20013
20014 _ACEOF
20015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20016 if \$ac_cs_recheck; then
20017 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20018 shift
20019 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20020 CONFIG_SHELL='$SHELL'
20021 export CONFIG_SHELL
20022 exec "\$@"
20023 fi
20024
20025 _ACEOF
20026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20027 exec 5>>config.log
20028 {
20029 echo
20030 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20031 ## Running $as_me. ##
20032 _ASBOX
20033 $as_echo "$ac_log"
20034 } >&5
20035
20036 _ACEOF
20037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20038 #
20039 # INIT-COMMANDS
20040 #
20041 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20042
20043
20044 # The HP-UX ksh and POSIX shell print the target directory to stdout
20045 # if CDPATH is set.
20046 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20047
20048 sed_quote_subst='$sed_quote_subst'
20049 double_quote_subst='$double_quote_subst'
20050 delay_variable_subst='$delay_variable_subst'
20051 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20052 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20053 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20054 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20055 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20056 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20057 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20058 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20059 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20060 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20061 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20062 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20063 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20064 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20065 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20066 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20067 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20068 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20069 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20070 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20071 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20072 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20073 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20074 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20075 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20076 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20077 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20078 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20079 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20080 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20081 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20082 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20083 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20084 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20085 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20086 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20087 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20088 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20089 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20090 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20091 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20092 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20093 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20094 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20095 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20096 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20097 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20098 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20099 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20100 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20101 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20102 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20103 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20104 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20105 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20106 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20107 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"`'
20108 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20109 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20110 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20111 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20112 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20113 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20114 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20115 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20116 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20117 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20118 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20119 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20120 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20121 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20122 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20123 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20124 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20125 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20126 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20127 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20128 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20129 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20130 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20131 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20132 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20133 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20134 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20135 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20136 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20137 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20138 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20139 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20140 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20141 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20142 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20143 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20144 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20145 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20146 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20147 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20148 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20149 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20150 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20151 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20152 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20153 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20154 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20155 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20156 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20157 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20158 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20159 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20160 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20161 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20162 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20163 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20164 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20165 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20166 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20167 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20168 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20169 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20170 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20171 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20172 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20173 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20174 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20175 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20176 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20177 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20178 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20179 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20180 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20181
20182 LTCC='$LTCC'
20183 LTCFLAGS='$LTCFLAGS'
20184 compiler='$compiler_DEFAULT'
20185
20186 # A function that is used when there is no print builtin or printf.
20187 func_fallback_echo ()
20188 {
20189 eval 'cat <<_LTECHO_EOF
20190 \$1
20191 _LTECHO_EOF'
20192 }
20193
20194 # Quote evaled strings.
20195 for var in SHELL \
20196 ECHO \
20197 PATH_SEPARATOR \
20198 SED \
20199 GREP \
20200 EGREP \
20201 FGREP \
20202 LD \
20203 NM \
20204 LN_S \
20205 lt_SP2NL \
20206 lt_NL2SP \
20207 reload_flag \
20208 OBJDUMP \
20209 deplibs_check_method \
20210 file_magic_cmd \
20211 file_magic_glob \
20212 want_nocaseglob \
20213 DLLTOOL \
20214 sharedlib_from_linklib_cmd \
20215 AR \
20216 AR_FLAGS \
20217 archiver_list_spec \
20218 STRIP \
20219 RANLIB \
20220 CC \
20221 CFLAGS \
20222 compiler \
20223 lt_cv_sys_global_symbol_pipe \
20224 lt_cv_sys_global_symbol_to_cdecl \
20225 lt_cv_sys_global_symbol_to_c_name_address \
20226 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20227 nm_file_list_spec \
20228 lt_prog_compiler_no_builtin_flag \
20229 lt_prog_compiler_pic \
20230 lt_prog_compiler_wl \
20231 lt_prog_compiler_static \
20232 lt_cv_prog_compiler_c_o \
20233 need_locks \
20234 MANIFEST_TOOL \
20235 DSYMUTIL \
20236 NMEDIT \
20237 LIPO \
20238 OTOOL \
20239 OTOOL64 \
20240 shrext_cmds \
20241 export_dynamic_flag_spec \
20242 whole_archive_flag_spec \
20243 compiler_needs_object \
20244 with_gnu_ld \
20245 allow_undefined_flag \
20246 no_undefined_flag \
20247 hardcode_libdir_flag_spec \
20248 hardcode_libdir_separator \
20249 exclude_expsyms \
20250 include_expsyms \
20251 file_list_spec \
20252 variables_saved_for_relink \
20253 libname_spec \
20254 library_names_spec \
20255 soname_spec \
20256 install_override_mode \
20257 finish_eval \
20258 old_striplib \
20259 striplib; do
20260 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20261 *[\\\\\\\`\\"\\\$]*)
20262 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20263 ;;
20264 *)
20265 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20266 ;;
20267 esac
20268 done
20269
20270 # Double-quote double-evaled strings.
20271 for var in reload_cmds \
20272 old_postinstall_cmds \
20273 old_postuninstall_cmds \
20274 old_archive_cmds \
20275 extract_expsyms_cmds \
20276 old_archive_from_new_cmds \
20277 old_archive_from_expsyms_cmds \
20278 archive_cmds \
20279 archive_expsym_cmds \
20280 module_cmds \
20281 module_expsym_cmds \
20282 export_symbols_cmds \
20283 prelink_cmds \
20284 postlink_cmds \
20285 postinstall_cmds \
20286 postuninstall_cmds \
20287 finish_cmds \
20288 sys_lib_search_path_spec \
20289 sys_lib_dlsearch_path_spec; do
20290 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20291 *[\\\\\\\`\\"\\\$]*)
20292 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20293 ;;
20294 *)
20295 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20296 ;;
20297 esac
20298 done
20299
20300 ac_aux_dir='$ac_aux_dir'
20301 xsi_shell='$xsi_shell'
20302 lt_shell_append='$lt_shell_append'
20303
20304 # See if we are running on zsh, and set the options which allow our
20305 # commands through without removal of \ escapes INIT.
20306 if test -n "\${ZSH_VERSION+set}" ; then
20307 setopt NO_GLOB_SUBST
20308 fi
20309
20310
20311 PACKAGE='$PACKAGE'
20312 VERSION='$VERSION'
20313 TIMESTAMP='$TIMESTAMP'
20314 RM='$RM'
20315 ofile='$ofile'
20316
20317
20318
20319
20320 _ACEOF
20321
20322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20323
20324 # Handling of arguments.
20325 for ac_config_target in $ac_config_targets
20326 do
20327 case $ac_config_target in
20328 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20329 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20330 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20331 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20332 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20333 "docs/libudev/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libudev/Makefile" ;;
20334 "docs/libudev/version.xml") CONFIG_FILES="$CONFIG_FILES docs/libudev/version.xml" ;;
20335 "docs/gudev/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gudev/Makefile" ;;
20336 "docs/gudev/version.xml") CONFIG_FILES="$CONFIG_FILES docs/gudev/version.xml" ;;
20337 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
20338
20339 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20340 esac
20341 done
20342
20343
20344 # If the user did not use the arguments to specify the items to instantiate,
20345 # then the envvar interface is used. Set only those that are not.
20346 # We use the long form for the default assignment because of an extremely
20347 # bizarre bug on SunOS 4.1.3.
20348 if $ac_need_defaults; then
20349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20352 fi
20353
20354 # Have a temporary directory for convenience. Make it in the build tree
20355 # simply because there is no reason against having it here, and in addition,
20356 # creating and moving files from /tmp can sometimes cause problems.
20357 # Hook for its removal unless debugging.
20358 # Note that there is a small window in which the directory will not be cleaned:
20359 # after its creation but before its name has been assigned to `$tmp'.
20360 $debug ||
20361 {
20362 tmp= ac_tmp=
20363 trap 'exit_status=$?
20364 : "${ac_tmp:=$tmp}"
20365 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20366 ' 0
20367 trap 'as_fn_exit 1' 1 2 13 15
20368 }
20369 # Create a (secure) tmp directory for tmp files.
20370
20371 {
20372 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20373 test -d "$tmp"
20374 } ||
20375 {
20376 tmp=./conf$$-$RANDOM
20377 (umask 077 && mkdir "$tmp")
20378 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20379 ac_tmp=$tmp
20380
20381 # Set up the scripts for CONFIG_FILES section.
20382 # No need to generate them if there are no CONFIG_FILES.
20383 # This happens for instance with `./config.status config.h'.
20384 if test -n "$CONFIG_FILES"; then
20385
20386
20387 ac_cr=`echo X | tr X '\015'`
20388 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20389 # But we know of no other shell where ac_cr would be empty at this
20390 # point, so we can use a bashism as a fallback.
20391 if test "x$ac_cr" = x; then
20392 eval ac_cr=\$\'\\r\'
20393 fi
20394 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20395 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20396 ac_cs_awk_cr='\\r'
20397 else
20398 ac_cs_awk_cr=$ac_cr
20399 fi
20400
20401 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20402 _ACEOF
20403
20404
20405 {
20406 echo "cat >conf$$subs.awk <<_ACEOF" &&
20407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20408 echo "_ACEOF"
20409 } >conf$$subs.sh ||
20410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20412 ac_delim='%!_!# '
20413 for ac_last_try in false false false false false :; do
20414 . ./conf$$subs.sh ||
20415 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20416
20417 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20418 if test $ac_delim_n = $ac_delim_num; then
20419 break
20420 elif $ac_last_try; then
20421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20422 else
20423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20424 fi
20425 done
20426 rm -f conf$$subs.sh
20427
20428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20429 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20430 _ACEOF
20431 sed -n '
20432 h
20433 s/^/S["/; s/!.*/"]=/
20434 p
20435 g
20436 s/^[^!]*!//
20437 :repl
20438 t repl
20439 s/'"$ac_delim"'$//
20440 t delim
20441 :nl
20442 h
20443 s/\(.\{148\}\)..*/\1/
20444 t more1
20445 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20446 p
20447 n
20448 b repl
20449 :more1
20450 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20451 p
20452 g
20453 s/.\{148\}//
20454 t nl
20455 :delim
20456 h
20457 s/\(.\{148\}\)..*/\1/
20458 t more2
20459 s/["\\]/\\&/g; s/^/"/; s/$/"/
20460 p
20461 b
20462 :more2
20463 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20464 p
20465 g
20466 s/.\{148\}//
20467 t delim
20468 ' <conf$$subs.awk | sed '
20469 /^[^""]/{
20470 N
20471 s/\n//
20472 }
20473 ' >>$CONFIG_STATUS || ac_write_fail=1
20474 rm -f conf$$subs.awk
20475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20476 _ACAWK
20477 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20478 for (key in S) S_is_set[key] = 1
20479 FS = "\a"
20480
20481 }
20482 {
20483 line = $ 0
20484 nfields = split(line, field, "@")
20485 substed = 0
20486 len = length(field[1])
20487 for (i = 2; i < nfields; i++) {
20488 key = field[i]
20489 keylen = length(key)
20490 if (S_is_set[key]) {
20491 value = S[key]
20492 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20493 len += length(value) + length(field[++i])
20494 substed = 1
20495 } else
20496 len += 1 + keylen
20497 }
20498
20499 print line
20500 }
20501
20502 _ACAWK
20503 _ACEOF
20504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20505 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20506 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20507 else
20508 cat
20509 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20510 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20511 _ACEOF
20512
20513 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20514 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20515 # trailing colons and then remove the whole line if VPATH becomes empty
20516 # (actually we leave an empty line to preserve line numbers).
20517 if test "x$srcdir" = x.; then
20518 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20519 h
20520 s///
20521 s/^/:/
20522 s/[ ]*$/:/
20523 s/:\$(srcdir):/:/g
20524 s/:\${srcdir}:/:/g
20525 s/:@srcdir@:/:/g
20526 s/^:*//
20527 s/:*$//
20528 x
20529 s/\(=[ ]*\).*/\1/
20530 G
20531 s/\n//
20532 s/^[^=]*=[ ]*$//
20533 }'
20534 fi
20535
20536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20537 fi # test -n "$CONFIG_FILES"
20538
20539 # Set up the scripts for CONFIG_HEADERS section.
20540 # No need to generate them if there are no CONFIG_HEADERS.
20541 # This happens for instance with `./config.status Makefile'.
20542 if test -n "$CONFIG_HEADERS"; then
20543 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20544 BEGIN {
20545 _ACEOF
20546
20547 # Transform confdefs.h into an awk script `defines.awk', embedded as
20548 # here-document in config.status, that substitutes the proper values into
20549 # config.h.in to produce config.h.
20550
20551 # Create a delimiter string that does not exist in confdefs.h, to ease
20552 # handling of long lines.
20553 ac_delim='%!_!# '
20554 for ac_last_try in false false :; do
20555 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20556 if test -z "$ac_tt"; then
20557 break
20558 elif $ac_last_try; then
20559 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20560 else
20561 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20562 fi
20563 done
20564
20565 # For the awk script, D is an array of macro values keyed by name,
20566 # likewise P contains macro parameters if any. Preserve backslash
20567 # newline sequences.
20568
20569 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20570 sed -n '
20571 s/.\{148\}/&'"$ac_delim"'/g
20572 t rset
20573 :rset
20574 s/^[ ]*#[ ]*define[ ][ ]*/ /
20575 t def
20576 d
20577 :def
20578 s/\\$//
20579 t bsnl
20580 s/["\\]/\\&/g
20581 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20582 D["\1"]=" \3"/p
20583 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20584 d
20585 :bsnl
20586 s/["\\]/\\&/g
20587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20588 D["\1"]=" \3\\\\\\n"\\/p
20589 t cont
20590 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20591 t cont
20592 d
20593 :cont
20594 n
20595 s/.\{148\}/&'"$ac_delim"'/g
20596 t clear
20597 :clear
20598 s/\\$//
20599 t bsnlc
20600 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20601 d
20602 :bsnlc
20603 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20604 b cont
20605 ' <confdefs.h | sed '
20606 s/'"$ac_delim"'/"\\\
20607 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20608
20609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20610 for (key in D) D_is_set[key] = 1
20611 FS = "\a"
20612 }
20613 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20614 line = \$ 0
20615 split(line, arg, " ")
20616 if (arg[1] == "#") {
20617 defundef = arg[2]
20618 mac1 = arg[3]
20619 } else {
20620 defundef = substr(arg[1], 2)
20621 mac1 = arg[2]
20622 }
20623 split(mac1, mac2, "(") #)
20624 macro = mac2[1]
20625 prefix = substr(line, 1, index(line, defundef) - 1)
20626 if (D_is_set[macro]) {
20627 # Preserve the white space surrounding the "#".
20628 print prefix "define", macro P[macro] D[macro]
20629 next
20630 } else {
20631 # Replace #undef with comments. This is necessary, for example,
20632 # in the case of _POSIX_SOURCE, which is predefined and required
20633 # on some systems where configure will not decide to define it.
20634 if (defundef == "undef") {
20635 print "/*", prefix defundef, macro, "*/"
20636 next
20637 }
20638 }
20639 }
20640 { print }
20641 _ACAWK
20642 _ACEOF
20643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20644 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20645 fi # test -n "$CONFIG_HEADERS"
20646
20647
20648 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20649 shift
20650 for ac_tag
20651 do
20652 case $ac_tag in
20653 :[FHLC]) ac_mode=$ac_tag; continue;;
20654 esac
20655 case $ac_mode$ac_tag in
20656 :[FHL]*:*);;
20657 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20658 :[FH]-) ac_tag=-:-;;
20659 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20660 esac
20661 ac_save_IFS=$IFS
20662 IFS=:
20663 set x $ac_tag
20664 IFS=$ac_save_IFS
20665 shift
20666 ac_file=$1
20667 shift
20668
20669 case $ac_mode in
20670 :L) ac_source=$1;;
20671 :[FH])
20672 ac_file_inputs=
20673 for ac_f
20674 do
20675 case $ac_f in
20676 -) ac_f="$ac_tmp/stdin";;
20677 *) # Look for the file first in the build tree, then in the source tree
20678 # (if the path is not absolute). The absolute path cannot be DOS-style,
20679 # because $ac_f cannot contain `:'.
20680 test -f "$ac_f" ||
20681 case $ac_f in
20682 [\\/$]*) false;;
20683 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20684 esac ||
20685 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20686 esac
20687 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20688 as_fn_append ac_file_inputs " '$ac_f'"
20689 done
20690
20691 # Let's still pretend it is `configure' which instantiates (i.e., don't
20692 # use $as_me), people would be surprised to read:
20693 # /* config.h. Generated by config.status. */
20694 configure_input='Generated from '`
20695 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20696 `' by configure.'
20697 if test x"$ac_file" != x-; then
20698 configure_input="$ac_file. $configure_input"
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20700 $as_echo "$as_me: creating $ac_file" >&6;}
20701 fi
20702 # Neutralize special characters interpreted by sed in replacement strings.
20703 case $configure_input in #(
20704 *\&* | *\|* | *\\* )
20705 ac_sed_conf_input=`$as_echo "$configure_input" |
20706 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20707 *) ac_sed_conf_input=$configure_input;;
20708 esac
20709
20710 case $ac_tag in
20711 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20712 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20713 esac
20714 ;;
20715 esac
20716
20717 ac_dir=`$as_dirname -- "$ac_file" ||
20718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20719 X"$ac_file" : 'X\(//\)[^/]' \| \
20720 X"$ac_file" : 'X\(//\)$' \| \
20721 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20722 $as_echo X"$ac_file" |
20723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20724 s//\1/
20725 q
20726 }
20727 /^X\(\/\/\)[^/].*/{
20728 s//\1/
20729 q
20730 }
20731 /^X\(\/\/\)$/{
20732 s//\1/
20733 q
20734 }
20735 /^X\(\/\).*/{
20736 s//\1/
20737 q
20738 }
20739 s/.*/./; q'`
20740 as_dir="$ac_dir"; as_fn_mkdir_p
20741 ac_builddir=.
20742
20743 case "$ac_dir" in
20744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20745 *)
20746 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20747 # A ".." for each directory in $ac_dir_suffix.
20748 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20749 case $ac_top_builddir_sub in
20750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20752 esac ;;
20753 esac
20754 ac_abs_top_builddir=$ac_pwd
20755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20756 # for backward compatibility:
20757 ac_top_builddir=$ac_top_build_prefix
20758
20759 case $srcdir in
20760 .) # We are building in place.
20761 ac_srcdir=.
20762 ac_top_srcdir=$ac_top_builddir_sub
20763 ac_abs_top_srcdir=$ac_pwd ;;
20764 [\\/]* | ?:[\\/]* ) # Absolute name.
20765 ac_srcdir=$srcdir$ac_dir_suffix;
20766 ac_top_srcdir=$srcdir
20767 ac_abs_top_srcdir=$srcdir ;;
20768 *) # Relative name.
20769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20770 ac_top_srcdir=$ac_top_build_prefix$srcdir
20771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20772 esac
20773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20774
20775
20776 case $ac_mode in
20777 :F)
20778 #
20779 # CONFIG_FILE
20780 #
20781
20782 case $INSTALL in
20783 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20784 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20785 esac
20786 ac_MKDIR_P=$MKDIR_P
20787 case $MKDIR_P in
20788 [\\/$]* | ?:[\\/]* ) ;;
20789 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20790 esac
20791 _ACEOF
20792
20793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20794 # If the template does not know about datarootdir, expand it.
20795 # FIXME: This hack should be removed a few years after 2.60.
20796 ac_datarootdir_hack=; ac_datarootdir_seen=
20797 ac_sed_dataroot='
20798 /datarootdir/ {
20799 p
20800 q
20801 }
20802 /@datadir@/p
20803 /@docdir@/p
20804 /@infodir@/p
20805 /@localedir@/p
20806 /@mandir@/p'
20807 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20808 *datarootdir*) ac_datarootdir_seen=yes;;
20809 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20811 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20812 _ACEOF
20813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20814 ac_datarootdir_hack='
20815 s&@datadir@&$datadir&g
20816 s&@docdir@&$docdir&g
20817 s&@infodir@&$infodir&g
20818 s&@localedir@&$localedir&g
20819 s&@mandir@&$mandir&g
20820 s&\\\${datarootdir}&$datarootdir&g' ;;
20821 esac
20822 _ACEOF
20823
20824 # Neutralize VPATH when `$srcdir' = `.'.
20825 # Shell code in configure.ac might set extrasub.
20826 # FIXME: do we really want to maintain this feature?
20827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20828 ac_sed_extra="$ac_vpsub
20829 $extrasub
20830 _ACEOF
20831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20832 :t
20833 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20834 s|@configure_input@|$ac_sed_conf_input|;t t
20835 s&@top_builddir@&$ac_top_builddir_sub&;t t
20836 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20837 s&@srcdir@&$ac_srcdir&;t t
20838 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20839 s&@top_srcdir@&$ac_top_srcdir&;t t
20840 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20841 s&@builddir@&$ac_builddir&;t t
20842 s&@abs_builddir@&$ac_abs_builddir&;t t
20843 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20844 s&@INSTALL@&$ac_INSTALL&;t t
20845 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20846 $ac_datarootdir_hack
20847 "
20848 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20849 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20850
20851 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20852 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20853 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20854 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20856 which seems to be undefined. Please make sure it is defined" >&5
20857 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20858 which seems to be undefined. Please make sure it is defined" >&2;}
20859
20860 rm -f "$ac_tmp/stdin"
20861 case $ac_file in
20862 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20863 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20864 esac \
20865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20866 ;;
20867 :H)
20868 #
20869 # CONFIG_HEADER
20870 #
20871 if test x"$ac_file" != x-; then
20872 {
20873 $as_echo "/* $configure_input */" \
20874 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20875 } >"$ac_tmp/config.h" \
20876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20877 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20879 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20880 else
20881 rm -f "$ac_file"
20882 mv "$ac_tmp/config.h" "$ac_file" \
20883 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20884 fi
20885 else
20886 $as_echo "/* $configure_input */" \
20887 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20888 || as_fn_error $? "could not create -" "$LINENO" 5
20889 fi
20890 # Compute "$ac_file"'s index in $config_headers.
20891 _am_arg="$ac_file"
20892 _am_stamp_count=1
20893 for _am_header in $config_headers :; do
20894 case $_am_header in
20895 $_am_arg | $_am_arg:* )
20896 break ;;
20897 * )
20898 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20899 esac
20900 done
20901 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20902 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20903 X"$_am_arg" : 'X\(//\)[^/]' \| \
20904 X"$_am_arg" : 'X\(//\)$' \| \
20905 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20906 $as_echo X"$_am_arg" |
20907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20908 s//\1/
20909 q
20910 }
20911 /^X\(\/\/\)[^/].*/{
20912 s//\1/
20913 q
20914 }
20915 /^X\(\/\/\)$/{
20916 s//\1/
20917 q
20918 }
20919 /^X\(\/\).*/{
20920 s//\1/
20921 q
20922 }
20923 s/.*/./; q'`/stamp-h$_am_stamp_count
20924 ;;
20925
20926 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20927 $as_echo "$as_me: executing $ac_file commands" >&6;}
20928 ;;
20929 esac
20930
20931
20932 case $ac_file$ac_mode in
20933 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20934 # Older Autoconf quotes --file arguments for eval, but not when files
20935 # are listed without --file. Let's play safe and only enable the eval
20936 # if we detect the quoting.
20937 case $CONFIG_FILES in
20938 *\'*) eval set x "$CONFIG_FILES" ;;
20939 *) set x $CONFIG_FILES ;;
20940 esac
20941 shift
20942 for mf
20943 do
20944 # Strip MF so we end up with the name of the file.
20945 mf=`echo "$mf" | sed -e 's/:.*$//'`
20946 # Check whether this is an Automake generated Makefile or not.
20947 # We used to match only the files named 'Makefile.in', but
20948 # some people rename them; so instead we look at the file content.
20949 # Grep'ing the first line is not enough: some people post-process
20950 # each Makefile.in and add a new line on top of each file to say so.
20951 # Grep'ing the whole file is not good either: AIX grep has a line
20952 # limit of 2048, but all sed's we know have understand at least 4000.
20953 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20954 dirpart=`$as_dirname -- "$mf" ||
20955 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20956 X"$mf" : 'X\(//\)[^/]' \| \
20957 X"$mf" : 'X\(//\)$' \| \
20958 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20959 $as_echo X"$mf" |
20960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20961 s//\1/
20962 q
20963 }
20964 /^X\(\/\/\)[^/].*/{
20965 s//\1/
20966 q
20967 }
20968 /^X\(\/\/\)$/{
20969 s//\1/
20970 q
20971 }
20972 /^X\(\/\).*/{
20973 s//\1/
20974 q
20975 }
20976 s/.*/./; q'`
20977 else
20978 continue
20979 fi
20980 # Extract the definition of DEPDIR, am__include, and am__quote
20981 # from the Makefile without running 'make'.
20982 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20983 test -z "$DEPDIR" && continue
20984 am__include=`sed -n 's/^am__include = //p' < "$mf"`
20985 test -z "$am__include" && continue
20986 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20987 # Find all dependency output files, they are included files with
20988 # $(DEPDIR) in their names. We invoke sed twice because it is the
20989 # simplest approach to changing $(DEPDIR) to its actual value in the
20990 # expansion.
20991 for file in `sed -n "
20992 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20993 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
20994 # Make sure the directory exists.
20995 test -f "$dirpart/$file" && continue
20996 fdir=`$as_dirname -- "$file" ||
20997 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20998 X"$file" : 'X\(//\)[^/]' \| \
20999 X"$file" : 'X\(//\)$' \| \
21000 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21001 $as_echo X"$file" |
21002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21003 s//\1/
21004 q
21005 }
21006 /^X\(\/\/\)[^/].*/{
21007 s//\1/
21008 q
21009 }
21010 /^X\(\/\/\)$/{
21011 s//\1/
21012 q
21013 }
21014 /^X\(\/\).*/{
21015 s//\1/
21016 q
21017 }
21018 s/.*/./; q'`
21019 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21020 # echo "creating $dirpart/$file"
21021 echo '# dummy' > "$dirpart/$file"
21022 done
21023 done
21024 }
21025 ;;
21026 "libtool":C)
21027
21028 # See if we are running on zsh, and set the options which allow our
21029 # commands through without removal of \ escapes.
21030 if test -n "${ZSH_VERSION+set}" ; then
21031 setopt NO_GLOB_SUBST
21032 fi
21033
21034 cfgfile="${ofile}T"
21035 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21036 $RM "$cfgfile"
21037
21038 cat <<_LT_EOF >> "$cfgfile"
21039 #! $SHELL
21040
21041 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21042 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21043 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21044 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21045 #
21046 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21047 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21048 # Foundation, Inc.
21049 # Written by Gordon Matzigkeit, 1996
21050 #
21051 # This file is part of GNU Libtool.
21052 #
21053 # GNU Libtool is free software; you can redistribute it and/or
21054 # modify it under the terms of the GNU General Public License as
21055 # published by the Free Software Foundation; either version 2 of
21056 # the License, or (at your option) any later version.
21057 #
21058 # As a special exception to the GNU General Public License,
21059 # if you distribute this file as part of a program or library that
21060 # is built using GNU Libtool, you may include this file under the
21061 # same distribution terms that you use for the rest of that program.
21062 #
21063 # GNU Libtool is distributed in the hope that it will be useful,
21064 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21065 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21066 # GNU General Public License for more details.
21067 #
21068 # You should have received a copy of the GNU General Public License
21069 # along with GNU Libtool; see the file COPYING. If not, a copy
21070 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21071 # obtained by writing to the Free Software Foundation, Inc.,
21072 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21073
21074
21075 # The names of the tagged configurations supported by this script.
21076 available_tags=""
21077
21078 # ### BEGIN LIBTOOL CONFIG
21079
21080 # Which release of libtool.m4 was used?
21081 macro_version=$macro_version
21082 macro_revision=$macro_revision
21083
21084 # Whether or not to build static libraries.
21085 build_old_libs=$enable_static
21086
21087 # Whether or not to build shared libraries.
21088 build_libtool_libs=$enable_shared
21089
21090 # What type of objects to build.
21091 pic_mode=$pic_mode
21092
21093 # Whether or not to optimize for fast installation.
21094 fast_install=$enable_fast_install
21095
21096 # Shell to use when invoking shell scripts.
21097 SHELL=$lt_SHELL
21098
21099 # An echo program that protects backslashes.
21100 ECHO=$lt_ECHO
21101
21102 # The PATH separator for the build system.
21103 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21104
21105 # The host system.
21106 host_alias=$host_alias
21107 host=$host
21108 host_os=$host_os
21109
21110 # The build system.
21111 build_alias=$build_alias
21112 build=$build
21113 build_os=$build_os
21114
21115 # A sed program that does not truncate output.
21116 SED=$lt_SED
21117
21118 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21119 Xsed="\$SED -e 1s/^X//"
21120
21121 # A grep program that handles long lines.
21122 GREP=$lt_GREP
21123
21124 # An ERE matcher.
21125 EGREP=$lt_EGREP
21126
21127 # A literal string matcher.
21128 FGREP=$lt_FGREP
21129
21130 # A BSD- or MS-compatible name lister.
21131 NM=$lt_NM
21132
21133 # Whether we need soft or hard links.
21134 LN_S=$lt_LN_S
21135
21136 # What is the maximum length of a command?
21137 max_cmd_len=$max_cmd_len
21138
21139 # Object file suffix (normally "o").
21140 objext=$ac_objext
21141
21142 # Executable file suffix (normally "").
21143 exeext=$exeext
21144
21145 # whether the shell understands "unset".
21146 lt_unset=$lt_unset
21147
21148 # turn spaces into newlines.
21149 SP2NL=$lt_lt_SP2NL
21150
21151 # turn newlines into spaces.
21152 NL2SP=$lt_lt_NL2SP
21153
21154 # convert \$build file names to \$host format.
21155 to_host_file_cmd=$lt_cv_to_host_file_cmd
21156
21157 # convert \$build files to toolchain format.
21158 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21159
21160 # An object symbol dumper.
21161 OBJDUMP=$lt_OBJDUMP
21162
21163 # Method to check whether dependent libraries are shared objects.
21164 deplibs_check_method=$lt_deplibs_check_method
21165
21166 # Command to use when deplibs_check_method = "file_magic".
21167 file_magic_cmd=$lt_file_magic_cmd
21168
21169 # How to find potential files when deplibs_check_method = "file_magic".
21170 file_magic_glob=$lt_file_magic_glob
21171
21172 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21173 want_nocaseglob=$lt_want_nocaseglob
21174
21175 # DLL creation program.
21176 DLLTOOL=$lt_DLLTOOL
21177
21178 # Command to associate shared and link libraries.
21179 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21180
21181 # The archiver.
21182 AR=$lt_AR
21183
21184 # Flags to create an archive.
21185 AR_FLAGS=$lt_AR_FLAGS
21186
21187 # How to feed a file listing to the archiver.
21188 archiver_list_spec=$lt_archiver_list_spec
21189
21190 # A symbol stripping program.
21191 STRIP=$lt_STRIP
21192
21193 # Commands used to install an old-style archive.
21194 RANLIB=$lt_RANLIB
21195 old_postinstall_cmds=$lt_old_postinstall_cmds
21196 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21197
21198 # Whether to use a lock for old archive extraction.
21199 lock_old_archive_extraction=$lock_old_archive_extraction
21200
21201 # A C compiler.
21202 LTCC=$lt_CC
21203
21204 # LTCC compiler flags.
21205 LTCFLAGS=$lt_CFLAGS
21206
21207 # Take the output of nm and produce a listing of raw symbols and C names.
21208 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21209
21210 # Transform the output of nm in a proper C declaration.
21211 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21212
21213 # Transform the output of nm in a C name address pair.
21214 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21215
21216 # Transform the output of nm in a C name address pair when lib prefix is needed.
21217 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21218
21219 # Specify filename containing input files for \$NM.
21220 nm_file_list_spec=$lt_nm_file_list_spec
21221
21222 # The root where to search for dependent libraries,and in which our libraries should be installed.
21223 lt_sysroot=$lt_sysroot
21224
21225 # The name of the directory that contains temporary libtool files.
21226 objdir=$objdir
21227
21228 # Used to examine libraries when file_magic_cmd begins with "file".
21229 MAGIC_CMD=$MAGIC_CMD
21230
21231 # Must we lock files when doing compilation?
21232 need_locks=$lt_need_locks
21233
21234 # Manifest tool.
21235 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21236
21237 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21238 DSYMUTIL=$lt_DSYMUTIL
21239
21240 # Tool to change global to local symbols on Mac OS X.
21241 NMEDIT=$lt_NMEDIT
21242
21243 # Tool to manipulate fat objects and archives on Mac OS X.
21244 LIPO=$lt_LIPO
21245
21246 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21247 OTOOL=$lt_OTOOL
21248
21249 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21250 OTOOL64=$lt_OTOOL64
21251
21252 # Old archive suffix (normally "a").
21253 libext=$libext
21254
21255 # Shared library suffix (normally ".so").
21256 shrext_cmds=$lt_shrext_cmds
21257
21258 # The commands to extract the exported symbol list from a shared archive.
21259 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21260
21261 # Variables whose values should be saved in libtool wrapper scripts and
21262 # restored at link time.
21263 variables_saved_for_relink=$lt_variables_saved_for_relink
21264
21265 # Do we need the "lib" prefix for modules?
21266 need_lib_prefix=$need_lib_prefix
21267
21268 # Do we need a version for libraries?
21269 need_version=$need_version
21270
21271 # Library versioning type.
21272 version_type=$version_type
21273
21274 # Shared library runtime path variable.
21275 runpath_var=$runpath_var
21276
21277 # Shared library path variable.
21278 shlibpath_var=$shlibpath_var
21279
21280 # Is shlibpath searched before the hard-coded library search path?
21281 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21282
21283 # Format of library name prefix.
21284 libname_spec=$lt_libname_spec
21285
21286 # List of archive names. First name is the real one, the rest are links.
21287 # The last name is the one that the linker finds with -lNAME
21288 library_names_spec=$lt_library_names_spec
21289
21290 # The coded name of the library, if different from the real name.
21291 soname_spec=$lt_soname_spec
21292
21293 # Permission mode override for installation of shared libraries.
21294 install_override_mode=$lt_install_override_mode
21295
21296 # Command to use after installation of a shared archive.
21297 postinstall_cmds=$lt_postinstall_cmds
21298
21299 # Command to use after uninstallation of a shared archive.
21300 postuninstall_cmds=$lt_postuninstall_cmds
21301
21302 # Commands used to finish a libtool library installation in a directory.
21303 finish_cmds=$lt_finish_cmds
21304
21305 # As "finish_cmds", except a single script fragment to be evaled but
21306 # not shown.
21307 finish_eval=$lt_finish_eval
21308
21309 # Whether we should hardcode library paths into libraries.
21310 hardcode_into_libs=$hardcode_into_libs
21311
21312 # Compile-time system search path for libraries.
21313 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21314
21315 # Run-time system search path for libraries.
21316 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21317
21318 # Whether dlopen is supported.
21319 dlopen_support=$enable_dlopen
21320
21321 # Whether dlopen of programs is supported.
21322 dlopen_self=$enable_dlopen_self
21323
21324 # Whether dlopen of statically linked programs is supported.
21325 dlopen_self_static=$enable_dlopen_self_static
21326
21327 # Commands to strip libraries.
21328 old_striplib=$lt_old_striplib
21329 striplib=$lt_striplib
21330
21331
21332 # The linker used to build libraries.
21333 LD=$lt_LD
21334
21335 # How to create reloadable object files.
21336 reload_flag=$lt_reload_flag
21337 reload_cmds=$lt_reload_cmds
21338
21339 # Commands used to build an old-style archive.
21340 old_archive_cmds=$lt_old_archive_cmds
21341
21342 # A language specific compiler.
21343 CC=$lt_compiler
21344
21345 # Is the compiler the GNU compiler?
21346 with_gcc=$GCC
21347
21348 # Compiler flag to turn off builtin functions.
21349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21350
21351 # Additional compiler flags for building library objects.
21352 pic_flag=$lt_lt_prog_compiler_pic
21353
21354 # How to pass a linker flag through the compiler.
21355 wl=$lt_lt_prog_compiler_wl
21356
21357 # Compiler flag to prevent dynamic linking.
21358 link_static_flag=$lt_lt_prog_compiler_static
21359
21360 # Does compiler simultaneously support -c and -o options?
21361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21362
21363 # Whether or not to add -lc for building shared libraries.
21364 build_libtool_need_lc=$archive_cmds_need_lc
21365
21366 # Whether or not to disallow shared libs when runtime libs are static.
21367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21368
21369 # Compiler flag to allow reflexive dlopens.
21370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21371
21372 # Compiler flag to generate shared objects directly from archives.
21373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21374
21375 # Whether the compiler copes with passing no objects directly.
21376 compiler_needs_object=$lt_compiler_needs_object
21377
21378 # Create an old-style archive from a shared archive.
21379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21380
21381 # Create a temporary old-style archive to link instead of a shared archive.
21382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21383
21384 # Commands used to build a shared archive.
21385 archive_cmds=$lt_archive_cmds
21386 archive_expsym_cmds=$lt_archive_expsym_cmds
21387
21388 # Commands used to build a loadable module if different from building
21389 # a shared archive.
21390 module_cmds=$lt_module_cmds
21391 module_expsym_cmds=$lt_module_expsym_cmds
21392
21393 # Whether we are building with GNU ld or not.
21394 with_gnu_ld=$lt_with_gnu_ld
21395
21396 # Flag that allows shared libraries with undefined symbols to be built.
21397 allow_undefined_flag=$lt_allow_undefined_flag
21398
21399 # Flag that enforces no undefined symbols.
21400 no_undefined_flag=$lt_no_undefined_flag
21401
21402 # Flag to hardcode \$libdir into a binary during linking.
21403 # This must work even if \$libdir does not exist
21404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21405
21406 # Whether we need a single "-rpath" flag with a separated argument.
21407 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21408
21409 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21410 # DIR into the resulting binary.
21411 hardcode_direct=$hardcode_direct
21412
21413 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21414 # DIR into the resulting binary and the resulting library dependency is
21415 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21416 # library is relocated.
21417 hardcode_direct_absolute=$hardcode_direct_absolute
21418
21419 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21420 # into the resulting binary.
21421 hardcode_minus_L=$hardcode_minus_L
21422
21423 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21424 # into the resulting binary.
21425 hardcode_shlibpath_var=$hardcode_shlibpath_var
21426
21427 # Set to "yes" if building a shared library automatically hardcodes DIR
21428 # into the library and all subsequent libraries and executables linked
21429 # against it.
21430 hardcode_automatic=$hardcode_automatic
21431
21432 # Set to yes if linker adds runtime paths of dependent libraries
21433 # to runtime path list.
21434 inherit_rpath=$inherit_rpath
21435
21436 # Whether libtool must link a program against all its dependency libraries.
21437 link_all_deplibs=$link_all_deplibs
21438
21439 # Set to "yes" if exported symbols are required.
21440 always_export_symbols=$always_export_symbols
21441
21442 # The commands to list exported symbols.
21443 export_symbols_cmds=$lt_export_symbols_cmds
21444
21445 # Symbols that should not be listed in the preloaded symbols.
21446 exclude_expsyms=$lt_exclude_expsyms
21447
21448 # Symbols that must always be exported.
21449 include_expsyms=$lt_include_expsyms
21450
21451 # Commands necessary for linking programs (against libraries) with templates.
21452 prelink_cmds=$lt_prelink_cmds
21453
21454 # Commands necessary for finishing linking programs.
21455 postlink_cmds=$lt_postlink_cmds
21456
21457 # Specify filename containing input files.
21458 file_list_spec=$lt_file_list_spec
21459
21460 # How to hardcode a shared library path into an executable.
21461 hardcode_action=$hardcode_action
21462
21463 # ### END LIBTOOL CONFIG
21464
21465 _LT_EOF
21466
21467 case $host_os in
21468 aix3*)
21469 cat <<\_LT_EOF >> "$cfgfile"
21470 # AIX sometimes has problems with the GCC collect2 program. For some
21471 # reason, if we set the COLLECT_NAMES environment variable, the problems
21472 # vanish in a puff of smoke.
21473 if test "X${COLLECT_NAMES+set}" != Xset; then
21474 COLLECT_NAMES=
21475 export COLLECT_NAMES
21476 fi
21477 _LT_EOF
21478 ;;
21479 esac
21480
21481
21482 ltmain="$ac_aux_dir/ltmain.sh"
21483
21484
21485 # We use sed instead of cat because bash on DJGPP gets confused if
21486 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21487 # text mode, it properly converts lines to CR/LF. This bash problem
21488 # is reportedly fixed, but why not run on old versions too?
21489 sed '$q' "$ltmain" >> "$cfgfile" \
21490 || (rm -f "$cfgfile"; exit 1)
21491
21492 if test x"$xsi_shell" = xyes; then
21493 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21494 func_dirname ()\
21495 {\
21496 \ case ${1} in\
21497 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21498 \ * ) func_dirname_result="${3}" ;;\
21499 \ esac\
21500 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21501 && mv -f "$cfgfile.tmp" "$cfgfile" \
21502 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21503 test 0 -eq $? || _lt_function_replace_fail=:
21504
21505
21506 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21507 func_basename ()\
21508 {\
21509 \ func_basename_result="${1##*/}"\
21510 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21511 && mv -f "$cfgfile.tmp" "$cfgfile" \
21512 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21513 test 0 -eq $? || _lt_function_replace_fail=:
21514
21515
21516 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21517 func_dirname_and_basename ()\
21518 {\
21519 \ case ${1} in\
21520 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21521 \ * ) func_dirname_result="${3}" ;;\
21522 \ esac\
21523 \ func_basename_result="${1##*/}"\
21524 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21525 && mv -f "$cfgfile.tmp" "$cfgfile" \
21526 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21527 test 0 -eq $? || _lt_function_replace_fail=:
21528
21529
21530 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21531 func_stripname ()\
21532 {\
21533 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21534 \ # positional parameters, so assign one to ordinary parameter first.\
21535 \ func_stripname_result=${3}\
21536 \ func_stripname_result=${func_stripname_result#"${1}"}\
21537 \ func_stripname_result=${func_stripname_result%"${2}"}\
21538 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21539 && mv -f "$cfgfile.tmp" "$cfgfile" \
21540 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21541 test 0 -eq $? || _lt_function_replace_fail=:
21542
21543
21544 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21545 func_split_long_opt ()\
21546 {\
21547 \ func_split_long_opt_name=${1%%=*}\
21548 \ func_split_long_opt_arg=${1#*=}\
21549 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21550 && mv -f "$cfgfile.tmp" "$cfgfile" \
21551 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21552 test 0 -eq $? || _lt_function_replace_fail=:
21553
21554
21555 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21556 func_split_short_opt ()\
21557 {\
21558 \ func_split_short_opt_arg=${1#??}\
21559 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21560 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21561 && mv -f "$cfgfile.tmp" "$cfgfile" \
21562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21563 test 0 -eq $? || _lt_function_replace_fail=:
21564
21565
21566 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21567 func_lo2o ()\
21568 {\
21569 \ case ${1} in\
21570 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21571 \ *) func_lo2o_result=${1} ;;\
21572 \ esac\
21573 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21574 && mv -f "$cfgfile.tmp" "$cfgfile" \
21575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21576 test 0 -eq $? || _lt_function_replace_fail=:
21577
21578
21579 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21580 func_xform ()\
21581 {\
21582 func_xform_result=${1%.*}.lo\
21583 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21584 && mv -f "$cfgfile.tmp" "$cfgfile" \
21585 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21586 test 0 -eq $? || _lt_function_replace_fail=:
21587
21588
21589 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21590 func_arith ()\
21591 {\
21592 func_arith_result=$(( $* ))\
21593 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21594 && mv -f "$cfgfile.tmp" "$cfgfile" \
21595 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21596 test 0 -eq $? || _lt_function_replace_fail=:
21597
21598
21599 sed -e '/^func_len ()$/,/^} # func_len /c\
21600 func_len ()\
21601 {\
21602 func_len_result=${#1}\
21603 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21604 && mv -f "$cfgfile.tmp" "$cfgfile" \
21605 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21606 test 0 -eq $? || _lt_function_replace_fail=:
21607
21608 fi
21609
21610 if test x"$lt_shell_append" = xyes; then
21611 sed -e '/^func_append ()$/,/^} # func_append /c\
21612 func_append ()\
21613 {\
21614 eval "${1}+=\\${2}"\
21615 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21616 && mv -f "$cfgfile.tmp" "$cfgfile" \
21617 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21618 test 0 -eq $? || _lt_function_replace_fail=:
21619
21620
21621 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21622 func_append_quoted ()\
21623 {\
21624 \ func_quote_for_eval "${2}"\
21625 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21626 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21627 && mv -f "$cfgfile.tmp" "$cfgfile" \
21628 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21629 test 0 -eq $? || _lt_function_replace_fail=:
21630
21631
21632 # Save a `func_append' function call where possible by direct use of '+='
21633 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21634 && mv -f "$cfgfile.tmp" "$cfgfile" \
21635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21636 test 0 -eq $? || _lt_function_replace_fail=:
21637 else
21638 # Save a `func_append' function call even when '+=' is not available
21639 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21640 && mv -f "$cfgfile.tmp" "$cfgfile" \
21641 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21642 test 0 -eq $? || _lt_function_replace_fail=:
21643 fi
21644
21645 if test x"$_lt_function_replace_fail" = x":"; then
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21647 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21648 fi
21649
21650
21651 mv -f "$cfgfile" "$ofile" ||
21652 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21653 chmod +x "$ofile"
21654
21655 ;;
21656 "po/stamp-it":C)
21657 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
21658 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21659 fi
21660 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21661 >"po/stamp-it.tmp"
21662 sed '/^#/d
21663 s/^[[].*] *//
21664 /^[ ]*$/d
21665 '"s|^| $ac_top_srcdir/|" \
21666 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
21667
21668 sed '/^POTFILES =/,/[^\\]$/ {
21669 /^POTFILES =/!d
21670 r po/POTFILES
21671 }
21672 ' "po/Makefile.in" >"po/Makefile"
21673 rm -f "po/Makefile.tmp"
21674 mv "po/stamp-it.tmp" "po/stamp-it"
21675 ;;
21676
21677 esac
21678 done # for ac_tag
21679
21680
21681 as_fn_exit 0
21682 _ACEOF
21683 ac_clean_files=$ac_clean_files_save
21684
21685 test $ac_write_fail = 0 ||
21686 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21687
21688
21689 # configure is writing to config.log, and then calls config.status.
21690 # config.status does its own redirection, appending to config.log.
21691 # Unfortunately, on DOS this fails, as config.log is still kept open
21692 # by configure, so config.status won't be able to write to it; its
21693 # output is simply discarded. So we exec the FD to /dev/null,
21694 # effectively closing config.log, so it can be properly (re)opened and
21695 # appended to by config.status. When coming back to configure, we
21696 # need to make the FD available again.
21697 if test "$no_create" != yes; then
21698 ac_cs_success=:
21699 ac_config_status_args=
21700 test "$silent" = yes &&
21701 ac_config_status_args="$ac_config_status_args --quiet"
21702 exec 5>/dev/null
21703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21704 exec 5>>config.log
21705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21706 # would make configure fail if this is the last instruction.
21707 $ac_cs_success || as_fn_exit 1
21708 fi
21709 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21711 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21712 fi
21713
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21715 $PACKAGE_NAME $VERSION
21716
21717 libcryptsetup: ${have_libcryptsetup}
21718 tcpwrap: ${have_tcpwrap}
21719 PAM: ${have_pam}
21720 AUDIT: ${have_audit}
21721 IMA: ${have_ima}
21722 SELinux: ${have_selinux}
21723 SMACK: ${have_smack}
21724 XZ: ${have_xz}
21725 ACL: ${have_acl}
21726 XATTR: ${have_xattr}
21727 GCRYPT: ${have_gcrypt}
21728 QRENCODE: ${have_qrencode}
21729 MICROHTTPD: ${have_microhttpd}
21730 CHKCONFIG: ${have_chkconfig}
21731 binfmt: ${have_binfmt}
21732 vconsole: ${have_vconsole}
21733 readahead: ${have_readahead}
21734 bootchart: ${have_bootchart}
21735 quotacheck: ${have_quotacheck}
21736 tmpfiles: ${have_tmpfiles}
21737 randomseed: ${have_randomseed}
21738 backlight: ${have_backlight}
21739 logind: ${have_logind}
21740 machined: ${have_machined}
21741 hostnamed: ${have_hostnamed}
21742 timedated: ${have_timedated}
21743 localed: ${have_localed}
21744 coredump: ${have_coredump}
21745 polkit: ${have_polkit}
21746 efi: ${have_efi}
21747 kmod: ${have_kmod}
21748 blkid: ${have_blkid}
21749 nss-myhostname: ${have_myhostname}
21750 gudev: ${enable_gudev}
21751 gintrospection: ${enable_introspection}
21752 Python: ${have_python}
21753 Python Headers: ${have_python_devel}
21754 man pages: ${have_manpages}
21755 gtk-doc: ${enable_gtk_doc}
21756 test coverage: ${have_coverage}
21757 Split /usr: ${enable_split_usr}
21758 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
21759
21760 prefix: ${prefix}
21761 rootprefix: ${with_rootprefix}
21762 sysconf dir: ${sysconfdir}
21763 datarootdir: ${datarootdir}
21764 includedir: ${includedir}
21765 include_prefix: ${INCLUDE_PREFIX}
21766 lib dir: ${libdir}
21767 rootlib dir: ${with_rootlibdir}
21768 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
21769 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
21770 Build Python: ${PYTHON}
21771 Installation Python: ${PYTHON_BINARY}
21772 sphinx binary: ${SPHINX_BUILD}
21773 firmware path: ${FIRMWARE_PATH}
21774 PAM modules dir: ${with_pamlibdir}
21775 PAM configuration dir: ${with_pamconfdir}
21776 D-Bus policy dir: ${with_dbuspolicydir}
21777 D-Bus session dir: ${with_dbussessionservicedir}
21778 D-Bus system dir: ${with_dbussystemservicedir}
21779 D-Bus interfaces dir: ${with_dbusinterfacedir}
21780 Bash completions dir: ${with_bashcompletiondir}
21781 Zsh completions dir: ${with_zshcompletiondir}
21782 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
21783 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
21784 Debug shell: ${SUSHELL} @ ${DEBUGTTY}
21785
21786 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
21787 CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
21788 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
21789 PYTHON_CFLAGS: ${PYTHON_DEVEL_CFLAGS}
21790 PYTHON_LIBS: ${PYTHON_DEVEL_LIBS}
21791 " >&5
21792 $as_echo "
21793 $PACKAGE_NAME $VERSION
21794
21795 libcryptsetup: ${have_libcryptsetup}
21796 tcpwrap: ${have_tcpwrap}
21797 PAM: ${have_pam}
21798 AUDIT: ${have_audit}
21799 IMA: ${have_ima}
21800 SELinux: ${have_selinux}
21801 SMACK: ${have_smack}
21802 XZ: ${have_xz}
21803 ACL: ${have_acl}
21804 XATTR: ${have_xattr}
21805 GCRYPT: ${have_gcrypt}
21806 QRENCODE: ${have_qrencode}
21807 MICROHTTPD: ${have_microhttpd}
21808 CHKCONFIG: ${have_chkconfig}
21809 binfmt: ${have_binfmt}
21810 vconsole: ${have_vconsole}
21811 readahead: ${have_readahead}
21812 bootchart: ${have_bootchart}
21813 quotacheck: ${have_quotacheck}
21814 tmpfiles: ${have_tmpfiles}
21815 randomseed: ${have_randomseed}
21816 backlight: ${have_backlight}
21817 logind: ${have_logind}
21818 machined: ${have_machined}
21819 hostnamed: ${have_hostnamed}
21820 timedated: ${have_timedated}
21821 localed: ${have_localed}
21822 coredump: ${have_coredump}
21823 polkit: ${have_polkit}
21824 efi: ${have_efi}
21825 kmod: ${have_kmod}
21826 blkid: ${have_blkid}
21827 nss-myhostname: ${have_myhostname}
21828 gudev: ${enable_gudev}
21829 gintrospection: ${enable_introspection}
21830 Python: ${have_python}
21831 Python Headers: ${have_python_devel}
21832 man pages: ${have_manpages}
21833 gtk-doc: ${enable_gtk_doc}
21834 test coverage: ${have_coverage}
21835 Split /usr: ${enable_split_usr}
21836 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
21837
21838 prefix: ${prefix}
21839 rootprefix: ${with_rootprefix}
21840 sysconf dir: ${sysconfdir}
21841 datarootdir: ${datarootdir}
21842 includedir: ${includedir}
21843 include_prefix: ${INCLUDE_PREFIX}
21844 lib dir: ${libdir}
21845 rootlib dir: ${with_rootlibdir}
21846 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
21847 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
21848 Build Python: ${PYTHON}
21849 Installation Python: ${PYTHON_BINARY}
21850 sphinx binary: ${SPHINX_BUILD}
21851 firmware path: ${FIRMWARE_PATH}
21852 PAM modules dir: ${with_pamlibdir}
21853 PAM configuration dir: ${with_pamconfdir}
21854 D-Bus policy dir: ${with_dbuspolicydir}
21855 D-Bus session dir: ${with_dbussessionservicedir}
21856 D-Bus system dir: ${with_dbussystemservicedir}
21857 D-Bus interfaces dir: ${with_dbusinterfacedir}
21858 Bash completions dir: ${with_bashcompletiondir}
21859 Zsh completions dir: ${with_zshcompletiondir}
21860 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
21861 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
21862 Debug shell: ${SUSHELL} @ ${DEBUGTTY}
21863
21864 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
21865 CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
21866 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
21867 PYTHON_CFLAGS: ${PYTHON_DEVEL_CFLAGS}
21868 PYTHON_LIBS: ${PYTHON_DEVEL_LIBS}
21869 " >&6; }