Debian Codegraph @

modules/dbus/configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for dbus 1.0.
4 #
5 # Report bugs to <clisp-list>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else case e in #(
191 e) as_have_required=no ;;
192 esac
193 fi
194 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
195 then :
196
197 else case e in #(
198 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199 as_found=false
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 do
202 IFS=$as_save_IFS
203 case $as_dir in #(((
204 '') as_dir=./ ;;
205 */) ;;
206 *) as_dir=$as_dir/ ;;
207 esac
208 as_found=:
209 case $as_dir in #(
210 /*)
211 for as_base in sh bash ksh sh5; do
212 # Try only shells that exist, to save several forks.
213 as_shell=$as_dir$as_base
214 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
215 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
216 then :
217 CONFIG_SHELL=$as_shell as_have_required=yes
218 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
219 then :
220 break 2
221 fi
222 fi
223 done;;
224 esac
225 as_found=false
226 done
227 IFS=$as_save_IFS
228 if $as_found
229 then :
230
231 else case e in #(
232 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
234 then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi ;;
237 esac
238 fi
239
240
241 if test "x$CONFIG_SHELL" != x
242 then :
243 export CONFIG_SHELL
244 # We cannot yet assume a decent shell, so we have to provide a
245 # neutralization value for shells without unset; and this also
246 # works around shells that cannot unset nonexistent variables.
247 # Preserve -v and -x to the replacement shell.
248 BASH_ENV=/dev/null
249 ENV=/dev/null
250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251 case $- in # ((((
252 *v*x* | *x*v* ) as_opts=-vx ;;
253 *v* ) as_opts=-v ;;
254 *x* ) as_opts=-x ;;
255 * ) as_opts= ;;
256 esac
257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258 # Admittedly, this is quite paranoid, since all the known shells bail
259 # out after a failed 'exec'.
260 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 exit 255
262 fi
263
264 if test x$as_have_required = xno
265 then :
266 printf "%s\n" "$0: This script requires a shell more modern than all"
267 printf "%s\n" "$0: the shells that I found on your system."
268 if test ${ZSH_VERSION+y} ; then
269 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
270 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
271 else
272 printf "%s\n" "$0: Please tell [email protected] and clisp-list about
273 $0: your system, including any error possibly output before
274 $0: this message. Then install a modern shell, or manually
275 $0: run the script under such a shell if you do have one."
276 fi
277 exit 1
278 fi ;;
279 esac
280 fi
281 fi
282 SHELL=${CONFIG_SHELL-/bin/sh}
283 export SHELL
284 # Unset more variables known to interfere with behavior of common tools.
285 CLICOLOR_FORCE= GREP_OPTIONS=
286 unset CLICOLOR_FORCE GREP_OPTIONS
287
288 ## --------------------- ##
289 ## M4sh Shell Functions. ##
290 ## --------------------- ##
291 # as_fn_unset VAR
292 # ---------------
293 # Portably unset VAR.
294 as_fn_unset ()
295 {
296 { eval $1=; unset $1;}
297 }
298 as_unset=as_fn_unset
299
300
301 # as_fn_set_status STATUS
302 # -----------------------
303 # Set $? to STATUS, without forking.
304 as_fn_set_status ()
305 {
306 return $1
307 } # as_fn_set_status
308
309 # as_fn_exit STATUS
310 # -----------------
311 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
312 as_fn_exit ()
313 {
314 set +e
315 as_fn_set_status $1
316 exit $1
317 } # as_fn_exit
318
319 # as_fn_mkdir_p
320 # -------------
321 # Create "$as_dir" as a directory, including parents if necessary.
322 as_fn_mkdir_p ()
323 {
324
325 case $as_dir in #(
326 -*) as_dir=./$as_dir;;
327 esac
328 test -d "$as_dir" || eval $as_mkdir_p || {
329 as_dirs=
330 while :; do
331 case $as_dir in #(
332 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
333 *) as_qdir=$as_dir;;
334 esac
335 as_dirs="'$as_qdir' $as_dirs"
336 as_dir=`$as_dirname -- "$as_dir" ||
337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
338 X"$as_dir" : 'X\(//\)[^/]' \| \
339 X"$as_dir" : 'X\(//\)$' \| \
340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
341 printf "%s\n" X"$as_dir" |
342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)[^/].*/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)$/{
351 s//\1/
352 q
353 }
354 /^X\(\/\).*/{
355 s//\1/
356 q
357 }
358 s/.*/./; q'`
359 test -d "$as_dir" && break
360 done
361 test -z "$as_dirs" || eval "mkdir $as_dirs"
362 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363
364
365 } # as_fn_mkdir_p
366
367 # as_fn_executable_p FILE
368 # -----------------------
369 # Test if FILE is an executable regular file.
370 as_fn_executable_p ()
371 {
372 test -f "$1" && test -x "$1"
373 } # as_fn_executable_p
374 # as_fn_append VAR VALUE
375 # ----------------------
376 # Append the text in VALUE to the end of the definition contained in VAR. Take
377 # advantage of any shell optimizations that allow amortized linear growth over
378 # repeated appends, instead of the typical quadratic growth present in naive
379 # implementations.
380 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
381 then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else case e in #(
387 e) as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 } ;;
391 esac
392 fi # as_fn_append
393
394 # as_fn_arith ARG...
395 # ------------------
396 # Perform arithmetic evaluation on the ARGs, and store the result in the
397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
398 # must be portable across $(()) and expr.
399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
400 then :
401 eval 'as_fn_arith ()
402 {
403 as_val=$(( $* ))
404 }'
405 else case e in #(
406 e) as_fn_arith ()
407 {
408 as_val=`expr "$@" || test $? -eq 1`
409 } ;;
410 esac
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 printf "%s\n" "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 printf "%s\n" X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 t clear
487 :clear
488 s/[$]LINENO.*/&-/
489 t lineno
490 b
491 :lineno
492 N
493 :loop
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 t loop
496 s/-\n.*//
497 ' >$as_me.lineno &&
498 chmod +x "$as_me.lineno" ||
499 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec=no; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
508 . "./$as_me.lineno"
509 # Exit status is that of the last command.
510 exit
511 }
512
513
514 # Determine whether it's possible to make 'echo' print without a newline.
515 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
516 # for compatibility with existing Makefiles.
517 ECHO_C= ECHO_N= ECHO_T=
518 case `echo -n x` in #(((((
519 -n*)
520 case `echo 'xy\c'` in
521 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
522 xy) ECHO_C='\c';;
523 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 ECHO_T=' ';;
525 esac;;
526 *)
527 ECHO_N='-n';;
528 esac
529
530 # For backward compatibility with old third-party macros, we provide
531 # the shell variables $as_echo and $as_echo_n. New code should use
532 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
533 as_echo='printf %s\n'
534 as_echo_n='printf %s'
535
536 rm -f conf$$ conf$$.exe conf$$.file
537 if test -d conf$$.dir; then
538 rm -f conf$$.dir/conf$$.file
539 else
540 rm -f conf$$.dir
541 mkdir conf$$.dir 2>/dev/null
542 fi
543 if (echo >conf$$.file) 2>/dev/null; then
544 if ln -s conf$$.file conf$$ 2>/dev/null; then
545 as_ln_s='ln -s'
546 # ... but there are two gotchas:
547 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
548 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
549 # In both cases, we have to default to 'cp -pR'.
550 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
551 as_ln_s='cp -pR'
552 elif ln conf$$.file conf$$ 2>/dev/null; then
553 as_ln_s=ln
554 else
555 as_ln_s='cp -pR'
556 fi
557 else
558 as_ln_s='cp -pR'
559 fi
560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
561 rmdir conf$$.dir 2>/dev/null
562
563 if mkdir -p . 2>/dev/null; then
564 as_mkdir_p='mkdir -p "$as_dir"'
565 else
566 test -d ./-p && rmdir ./-p
567 as_mkdir_p=false
568 fi
569
570 as_test_x='test -x'
571 as_executable_p=as_fn_executable_p
572
573 # Sed expression to map a string onto a valid CPP name.
574 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
575 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
576
577 # Sed expression to map a string onto a valid variable name.
578 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
579 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
580
581
582 test -n "$DJDIR" || exec 7<&0 </dev/null
583 exec 6>&1
584
585 # Name of the host.
586 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
587 # so uname gets run too.
588 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
589
590 #
591 # Initializations.
592 #
593 ac_default_prefix=/usr/local
594 ac_clean_files=
595 ac_config_libobj_dir=.
596 LIBOBJS=
597 cross_compiling=no
598 subdirs=
599 MFLAGS=
600 MAKEFLAGS=
601
602 # Identity of this package.
603 PACKAGE_NAME='dbus'
604 PACKAGE_TARNAME='dbus'
605 PACKAGE_VERSION='1.0'
606 PACKAGE_STRING='dbus 1.0'
607 PACKAGE_BUGREPORT='clisp-list'
608 PACKAGE_URL=''
609
610 ac_unique_file="dbus.lisp"
611 # Factoring default headers for most tests.
612 ac_includes_default="\
613 #include <stddef.h>
614 #ifdef HAVE_STDIO_H
615 # include <stdio.h>
616 #endif
617 #ifdef HAVE_STDLIB_H
618 # include <stdlib.h>
619 #endif
620 #ifdef HAVE_STRING_H
621 # include <string.h>
622 #endif
623 #ifdef HAVE_INTTYPES_H
624 # include <inttypes.h>
625 #endif
626 #ifdef HAVE_STDINT_H
627 # include <stdint.h>
628 #endif
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
631 #endif
632 #ifdef HAVE_SYS_TYPES_H
633 # include <sys/types.h>
634 #endif
635 #ifdef HAVE_SYS_STAT_H
636 # include <sys/stat.h>
637 #endif
638 #ifdef HAVE_UNISTD_H
639 # include <unistd.h>
640 #endif"
641
642 ac_header_c_list=
643 ac_subst_vars='LTLIBOBJS
644 LIBOBJS
645 DBUS_LIBS
646 DBUS_CFLAGS
647 PKG_CONFIG
648 LN_S
649 LN
650 CPP
651 OBJEXT
652 EXEEXT
653 ac_ct_CC
654 CPPFLAGS
655 LDFLAGS
656 CFLAGS
657 CC
658 CLISP_CPPFLAGS
659 CLISP_CFLAGS
660 CLISP_LIBS
661 CLISP_FILES
662 CLISP_LINKKIT
663 CLISP_LIBDIR
664 CLISP
665 cl_cv_clisp
666 CLISP_DECOLONIZE
667 target_alias
668 host_alias
669 build_alias
670 LIBS
671 ECHO_T
672 ECHO_N
673 ECHO_C
674 DEFS
675 mandir
676 localedir
677 libdir
678 psdir
679 pdfdir
680 dvidir
681 htmldir
682 infodir
683 docdir
684 oldincludedir
685 includedir
686 runstatedir
687 localstatedir
688 sharedstatedir
689 sysconfdir
690 datadir
691 datarootdir
692 libexecdir
693 sbindir
694 bindir
695 program_transform_name
696 prefix
697 exec_prefix
698 PACKAGE_URL
699 PACKAGE_BUGREPORT
700 PACKAGE_STRING
701 PACKAGE_VERSION
702 PACKAGE_TARNAME
703 PACKAGE_NAME
704 PATH_SEPARATOR
705 SHELL
706 am__quote'
707 ac_subst_files=''
708 ac_user_opts='
709 enable_option_checking
710 with_clisp
711 '
712 ac_precious_vars='build_alias
713 host_alias
714 target_alias
715 CC
716 CFLAGS
717 LDFLAGS
718 LIBS
719 CPPFLAGS
720 CPP
721 PKG_CONFIG
722 DBUS_CFLAGS
723 DBUS_LIBS'
724
725
726 # Initialize some variables set by options.
727 ac_init_help=
728 ac_init_version=false
729 ac_unrecognized_opts=
730 ac_unrecognized_sep=
731 # The variables have the same names as the options, with
732 # dashes changed to underlines.
733 cache_file=/dev/null
734 exec_prefix=NONE
735 no_create=
736 no_recursion=
737 prefix=NONE
738 program_prefix=NONE
739 program_suffix=NONE
740 program_transform_name=s,x,x,
741 silent=
742 site=
743 srcdir=
744 verbose=
745 x_includes=NONE
746 x_libraries=NONE
747
748 # Installation directory options.
749 # These are left unexpanded so users can "make install exec_prefix=/foo"
750 # and all the variables that are supposed to be based on exec_prefix
751 # by default will actually change.
752 # Use braces instead of parens because sh, perl, etc. also accept them.
753 # (The list follows the same order as the GNU Coding Standards.)
754 bindir='${exec_prefix}/bin'
755 sbindir='${exec_prefix}/sbin'
756 libexecdir='${exec_prefix}/libexec'
757 datarootdir='${prefix}/share'
758 datadir='${datarootdir}'
759 sysconfdir='${prefix}/etc'
760 sharedstatedir='${prefix}/com'
761 localstatedir='${prefix}/var'
762 runstatedir='${localstatedir}/run'
763 includedir='${prefix}/include'
764 oldincludedir='/usr/include'
765 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
766 infodir='${datarootdir}/info'
767 htmldir='${docdir}'
768 dvidir='${docdir}'
769 pdfdir='${docdir}'
770 psdir='${docdir}'
771 libdir='${exec_prefix}/lib'
772 localedir='${datarootdir}/locale'
773 mandir='${datarootdir}/man'
774
775 ac_prev=
776 ac_dashdash=
777 for ac_option
778 do
779 # If the previous option needs an argument, assign it.
780 if test -n "$ac_prev"; then
781 eval $ac_prev=\$ac_option
782 ac_prev=
783 continue
784 fi
785
786 case $ac_option in
787 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788 *=) ac_optarg= ;;
789 *) ac_optarg=yes ;;
790 esac
791
792 case $ac_dashdash$ac_option in
793 --)
794 ac_dashdash=yes ;;
795
796 -bindir | --bindir | --bindi | --bind | --bin | --bi)
797 ac_prev=bindir ;;
798 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799 bindir=$ac_optarg ;;
800
801 -build | --build | --buil | --bui | --bu)
802 ac_prev=build_alias ;;
803 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804 build_alias=$ac_optarg ;;
805
806 -cache-file | --cache-file | --cache-fil | --cache-fi \
807 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808 ac_prev=cache_file ;;
809 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811 cache_file=$ac_optarg ;;
812
813 --config-cache | -C)
814 cache_file=config.cache ;;
815
816 -datadir | --datadir | --datadi | --datad)
817 ac_prev=datadir ;;
818 -datadir=* | --datadir=* | --datadi=* | --datad=*)
819 datadir=$ac_optarg ;;
820
821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822 | --dataroo | --dataro | --datar)
823 ac_prev=datarootdir ;;
824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826 datarootdir=$ac_optarg ;;
827
828 -disable-* | --disable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: '$ac_useropt'"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
836 *"
837 "enable_$ac_useropt"
838 "*) ;;
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
841 esac
842 eval enable_$ac_useropt=no ;;
843
844 -docdir | --docdir | --docdi | --doc | --do)
845 ac_prev=docdir ;;
846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847 docdir=$ac_optarg ;;
848
849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850 ac_prev=dvidir ;;
851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852 dvidir=$ac_optarg ;;
853
854 -enable-* | --enable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: '$ac_useropt'"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
862 *"
863 "enable_$ac_useropt"
864 "*) ;;
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
867 esac
868 eval enable_$ac_useropt=\$ac_optarg ;;
869
870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872 | --exec | --exe | --ex)
873 ac_prev=exec_prefix ;;
874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876 | --exec=* | --exe=* | --ex=*)
877 exec_prefix=$ac_optarg ;;
878
879 -gas | --gas | --ga | --g)
880 # Obsolete; use --with-gas.
881 with_gas=yes ;;
882
883 -help | --help | --hel | --he | -h)
884 ac_init_help=long ;;
885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886 ac_init_help=recursive ;;
887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888 ac_init_help=short ;;
889
890 -host | --host | --hos | --ho)
891 ac_prev=host_alias ;;
892 -host=* | --host=* | --hos=* | --ho=*)
893 host_alias=$ac_optarg ;;
894
895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896 ac_prev=htmldir ;;
897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898 | --ht=*)
899 htmldir=$ac_optarg ;;
900
901 -includedir | --includedir | --includedi | --included | --include \
902 | --includ | --inclu | --incl | --inc)
903 ac_prev=includedir ;;
904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905 | --includ=* | --inclu=* | --incl=* | --inc=*)
906 includedir=$ac_optarg ;;
907
908 -infodir | --infodir | --infodi | --infod | --info | --inf)
909 ac_prev=infodir ;;
910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911 infodir=$ac_optarg ;;
912
913 -libdir | --libdir | --libdi | --libd)
914 ac_prev=libdir ;;
915 -libdir=* | --libdir=* | --libdi=* | --libd=*)
916 libdir=$ac_optarg ;;
917
918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919 | --libexe | --libex | --libe)
920 ac_prev=libexecdir ;;
921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922 | --libexe=* | --libex=* | --libe=*)
923 libexecdir=$ac_optarg ;;
924
925 -localedir | --localedir | --localedi | --localed | --locale)
926 ac_prev=localedir ;;
927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928 localedir=$ac_optarg ;;
929
930 -localstatedir | --localstatedir | --localstatedi | --localstated \
931 | --localstate | --localstat | --localsta | --localst | --locals)
932 ac_prev=localstatedir ;;
933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935 localstatedir=$ac_optarg ;;
936
937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938 ac_prev=mandir ;;
939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940 mandir=$ac_optarg ;;
941
942 -nfp | --nfp | --nf)
943 # Obsolete; use --without-fp.
944 with_fp=no ;;
945
946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947 | --no-cr | --no-c | -n)
948 no_create=yes ;;
949
950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952 no_recursion=yes ;;
953
954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956 | --oldin | --oldi | --old | --ol | --o)
957 ac_prev=oldincludedir ;;
958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961 oldincludedir=$ac_optarg ;;
962
963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964 ac_prev=prefix ;;
965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966 prefix=$ac_optarg ;;
967
968 -program-prefix | --program-prefix | --program-prefi | --program-pref \
969 | --program-pre | --program-pr | --program-p)
970 ac_prev=program_prefix ;;
971 -program-prefix=* | --program-prefix=* | --program-prefi=* \
972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973 program_prefix=$ac_optarg ;;
974
975 -program-suffix | --program-suffix | --program-suffi | --program-suff \
976 | --program-suf | --program-su | --program-s)
977 ac_prev=program_suffix ;;
978 -program-suffix=* | --program-suffix=* | --program-suffi=* \
979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980 program_suffix=$ac_optarg ;;
981
982 -program-transform-name | --program-transform-name \
983 | --program-transform-nam | --program-transform-na \
984 | --program-transform-n | --program-transform- \
985 | --program-transform | --program-transfor \
986 | --program-transfo | --program-transf \
987 | --program-trans | --program-tran \
988 | --progr-tra | --program-tr | --program-t)
989 ac_prev=program_transform_name ;;
990 -program-transform-name=* | --program-transform-name=* \
991 | --program-transform-nam=* | --program-transform-na=* \
992 | --program-transform-n=* | --program-transform-=* \
993 | --program-transform=* | --program-transfor=* \
994 | --program-transfo=* | --program-transf=* \
995 | --program-trans=* | --program-tran=* \
996 | --progr-tra=* | --program-tr=* | --program-t=*)
997 program_transform_name=$ac_optarg ;;
998
999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000 ac_prev=pdfdir ;;
1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002 pdfdir=$ac_optarg ;;
1003
1004 -psdir | --psdir | --psdi | --psd | --ps)
1005 ac_prev=psdir ;;
1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007 psdir=$ac_optarg ;;
1008
1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010 | -silent | --silent | --silen | --sile | --sil)
1011 silent=yes ;;
1012
1013 -runstatedir | --runstatedir | --runstatedi | --runstated \
1014 | --runstate | --runstat | --runsta | --runst | --runs \
1015 | --run | --ru | --r)
1016 ac_prev=runstatedir ;;
1017 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1018 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1019 | --run=* | --ru=* | --r=*)
1020 runstatedir=$ac_optarg ;;
1021
1022 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1023 ac_prev=sbindir ;;
1024 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1025 | --sbi=* | --sb=*)
1026 sbindir=$ac_optarg ;;
1027
1028 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1029 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1030 | --sharedst | --shareds | --shared | --share | --shar \
1031 | --sha | --sh)
1032 ac_prev=sharedstatedir ;;
1033 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1034 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1035 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1036 | --sha=* | --sh=*)
1037 sharedstatedir=$ac_optarg ;;
1038
1039 -site | --site | --sit)
1040 ac_prev=site ;;
1041 -site=* | --site=* | --sit=*)
1042 site=$ac_optarg ;;
1043
1044 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1045 ac_prev=srcdir ;;
1046 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1047 srcdir=$ac_optarg ;;
1048
1049 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1050 | --syscon | --sysco | --sysc | --sys | --sy)
1051 ac_prev=sysconfdir ;;
1052 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1053 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1054 sysconfdir=$ac_optarg ;;
1055
1056 -target | --target | --targe | --targ | --tar | --ta | --t)
1057 ac_prev=target_alias ;;
1058 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1059 target_alias=$ac_optarg ;;
1060
1061 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1062 verbose=yes ;;
1063
1064 -version | --version | --versio | --versi | --vers | -V)
1065 ac_init_version=: ;;
1066
1067 -with-* | --with-*)
1068 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 as_fn_error $? "invalid package name: '$ac_useropt'"
1072 ac_useropt_orig=$ac_useropt
1073 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1075 *"
1076 "with_$ac_useropt"
1077 "*) ;;
1078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1079 ac_unrecognized_sep=', ';;
1080 esac
1081 eval with_$ac_useropt=\$ac_optarg ;;
1082
1083 -without-* | --without-*)
1084 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087 as_fn_error $? "invalid package name: '$ac_useropt'"
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1091 *"
1092 "with_$ac_useropt"
1093 "*) ;;
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1096 esac
1097 eval with_$ac_useropt=no ;;
1098
1099 --x)
1100 # Obsolete; use --with-x.
1101 with_x=yes ;;
1102
1103 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1104 | --x-incl | --x-inc | --x-in | --x-i)
1105 ac_prev=x_includes ;;
1106 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1107 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1108 x_includes=$ac_optarg ;;
1109
1110 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1111 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1112 ac_prev=x_libraries ;;
1113 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1114 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1115 x_libraries=$ac_optarg ;;
1116
1117 -*) as_fn_error $? "unrecognized option: '$ac_option'
1118 Try '$0 --help' for more information"
1119 ;;
1120
1121 *=*)
1122 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1123 # Reject names that are not valid shell variable names.
1124 case $ac_envvar in #(
1125 '' | [0-9]* | *[!_$as_cr_alnum]* )
1126 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1127 esac
1128 eval $ac_envvar=\$ac_optarg
1129 export $ac_envvar ;;
1130
1131 *)
1132 # FIXME: should be removed in autoconf 3.0.
1133 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1134 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1135 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1136 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1137 ;;
1138
1139 esac
1140 done
1141
1142 if test -n "$ac_prev"; then
1143 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1144 as_fn_error $? "missing argument to $ac_option"
1145 fi
1146
1147 if test -n "$ac_unrecognized_opts"; then
1148 case $enable_option_checking in
1149 no) ;;
1150 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1151 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152 esac
1153 fi
1154
1155 # Check all directory arguments for consistency.
1156 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1157 datadir sysconfdir sharedstatedir localstatedir includedir \
1158 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1159 libdir localedir mandir runstatedir
1160 do
1161 eval ac_val=\$$ac_var
1162 # Remove trailing slashes.
1163 case $ac_val in
1164 */ )
1165 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1166 eval $ac_var=\$ac_val;;
1167 esac
1168 # Be sure to have absolute directory names.
1169 case $ac_val in
1170 [\\/$]* | ?:[\\/]* ) continue;;
1171 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1172 esac
1173 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1174 done
1175
1176 # There might be people who depend on the old broken behavior: '$host'
1177 # used to hold the argument of --host etc.
1178 # FIXME: To remove some day.
1179 build=$build_alias
1180 host=$host_alias
1181 target=$target_alias
1182
1183 # FIXME: To remove some day.
1184 if test "x$host_alias" != x; then
1185 if test "x$build_alias" = x; then
1186 cross_compiling=maybe
1187 elif test "x$build_alias" != "x$host_alias"; then
1188 cross_compiling=yes
1189 fi
1190 fi
1191
1192 ac_tool_prefix=
1193 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1194
1195 test "$silent" = yes && exec 6>/dev/null
1196
1197
1198 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1199 ac_ls_di=`ls -di .` &&
1200 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1201 as_fn_error $? "working directory cannot be determined"
1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1203 as_fn_error $? "pwd does not report name of working directory"
1204
1205
1206 # Find the source files, if location was not specified.
1207 if test -z "$srcdir"; then
1208 ac_srcdir_defaulted=yes
1209 # Try the directory containing this script, then the parent directory.
1210 ac_confdir=`$as_dirname -- "$as_myself" ||
1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1212 X"$as_myself" : 'X\(//\)[^/]' \| \
1213 X"$as_myself" : 'X\(//\)$' \| \
1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1215 printf "%s\n" X"$as_myself" |
1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1217 s//\1/
1218 q
1219 }
1220 /^X\(\/\/\)[^/].*/{
1221 s//\1/
1222 q
1223 }
1224 /^X\(\/\/\)$/{
1225 s//\1/
1226 q
1227 }
1228 /^X\(\/\).*/{
1229 s//\1/
1230 q
1231 }
1232 s/.*/./; q'`
1233 srcdir=$ac_confdir
1234 if test ! -r "$srcdir/$ac_unique_file"; then
1235 srcdir=..
1236 fi
1237 else
1238 ac_srcdir_defaulted=no
1239 fi
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1242 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1243 fi
1244 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1245 ac_abs_confdir=`(
1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1247 pwd)`
1248 # When building in place, set srcdir=.
1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
1250 srcdir=.
1251 fi
1252 # Remove unnecessary trailing slashes from srcdir.
1253 # Double slashes in file names in object file debugging info
1254 # mess up M-x gdb in Emacs.
1255 case $srcdir in
1256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1257 esac
1258 for ac_var in $ac_precious_vars; do
1259 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_env_${ac_var}_value=\$${ac_var}
1261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1262 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1263 done
1264
1265 #
1266 # Report the --help message.
1267 #
1268 if test "$ac_init_help" = "long"; then
1269 # Omit some internal or obsolete options to make the list less imposing.
1270 # This message is too long to be a string in the A/UX 3.1 sh.
1271 cat <<_ACEOF
1272 'configure' configures dbus 1.0 to adapt to many kinds of systems.
1273
1274 Usage: $0 [OPTION]... [VAR=VALUE]...
1275
1276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1277 VAR=VALUE. See below for descriptions of some of the useful variables.
1278
1279 Defaults for the options are specified in brackets.
1280
1281 Configuration:
1282 -h, --help display this help and exit
1283 --help=short display options specific to this package
1284 --help=recursive display the short help of all the included packages
1285 -V, --version display version information and exit
1286 -q, --quiet, --silent do not print 'checking ...' messages
1287 --cache-file=FILE cache test results in FILE [disabled]
1288 -C, --config-cache alias for '--cache-file=config.cache'
1289 -n, --no-create do not create output files
1290 --srcdir=DIR find the sources in DIR [configure dir or '..']
1291
1292 Installation directories:
1293 --prefix=PREFIX install architecture-independent files in PREFIX
1294 [$ac_default_prefix]
1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1296 [PREFIX]
1297
1298 By default, 'make install' will install all the files in
1299 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1300 an installation prefix other than '$ac_default_prefix' using '--prefix',
1301 for instance '--prefix=\$HOME'.
1302
1303 For better control, use the options below.
1304
1305 Fine tuning of the installation directories:
1306 --bindir=DIR user executables [EPREFIX/bin]
1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
1308 --libexecdir=DIR program executables [EPREFIX/libexec]
1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1312 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1313 --libdir=DIR object code libraries [EPREFIX/lib]
1314 --includedir=DIR C header files [PREFIX/include]
1315 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1316 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1317 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1318 --infodir=DIR info documentation [DATAROOTDIR/info]
1319 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1320 --mandir=DIR man documentation [DATAROOTDIR/man]
1321 --docdir=DIR documentation root [DATAROOTDIR/doc/dbus]
1322 --htmldir=DIR html documentation [DOCDIR]
1323 --dvidir=DIR dvi documentation [DOCDIR]
1324 --pdfdir=DIR pdf documentation [DOCDIR]
1325 --psdir=DIR ps documentation [DOCDIR]
1326 _ACEOF
1327
1328 cat <<\_ACEOF
1329 _ACEOF
1330 fi
1331
1332 if test -n "$ac_init_help"; then
1333 case $ac_init_help in
1334 short | recursive ) echo "Configuration of dbus 1.0:";;
1335 esac
1336 cat <<\_ACEOF
1337
1338 Optional Packages:
1339 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1340 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1341 --with-clisp use a specific CLISP installation
1342
1343 Some influential environment variables:
1344 CC C compiler command
1345 CFLAGS C compiler flags
1346 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1347 nonstandard directory <lib dir>
1348 LIBS libraries to pass to the linker, e.g. -l<library>
1349 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1350 you have headers in a nonstandard directory <include dir>
1351 CPP C preprocessor
1352 PKG_CONFIG path to pkg-config utility
1353 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1354 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1355
1356 Use these variables to override the choices made by 'configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1358
1359 Report bugs to <clisp-list>.
1360 _ACEOF
1361 ac_status=$?
1362 fi
1363
1364 if test "$ac_init_help" = "recursive"; then
1365 # If there are subdirs, report their specific --help.
1366 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1367 test -d "$ac_dir" ||
1368 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1369 continue
1370 ac_builddir=.
1371
1372 case "$ac_dir" in
1373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 *)
1375 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1376 # A ".." for each directory in $ac_dir_suffix.
1377 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1378 case $ac_top_builddir_sub in
1379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1381 esac ;;
1382 esac
1383 ac_abs_top_builddir=$ac_pwd
1384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1385 # for backward compatibility:
1386 ac_top_builddir=$ac_top_build_prefix
1387
1388 case $srcdir in
1389 .) # We are building in place.
1390 ac_srcdir=.
1391 ac_top_srcdir=$ac_top_builddir_sub
1392 ac_abs_top_srcdir=$ac_pwd ;;
1393 [\\/]* | ?:[\\/]* ) # Absolute name.
1394 ac_srcdir=$srcdir$ac_dir_suffix;
1395 ac_top_srcdir=$srcdir
1396 ac_abs_top_srcdir=$srcdir ;;
1397 *) # Relative name.
1398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1399 ac_top_srcdir=$ac_top_build_prefix$srcdir
1400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 esac
1402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1403
1404 cd "$ac_dir" || { ac_status=$?; continue; }
1405 # Check for configure.gnu first; this name is used for a wrapper for
1406 # Metaconfig's "Configure" on case-insensitive file systems.
1407 if test -f "$ac_srcdir/configure.gnu"; then
1408 echo &&
1409 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1410 elif test -f "$ac_srcdir/configure"; then
1411 echo &&
1412 $SHELL "$ac_srcdir/configure" --help=recursive
1413 else
1414 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415 fi || ac_status=$?
1416 cd "$ac_pwd" || { ac_status=$?; break; }
1417 done
1418 fi
1419
1420 test -n "$ac_init_help" && exit $ac_status
1421 if $ac_init_version; then
1422 cat <<\_ACEOF
1423 dbus configure 1.0
1424 generated by GNU Autoconf 2.72
1425
1426 Copyright (C) 2023 Free Software Foundation, Inc.
1427 This configure script is free software; the Free Software Foundation
1428 gives unlimited permission to copy, distribute and modify it.
1429 _ACEOF
1430 exit
1431 fi
1432
1433 ## ------------------------ ##
1434 ## Autoconf initialization. ##
1435 ## ------------------------ ##
1436
1437 # ac_fn_c_try_compile LINENO
1438 # --------------------------
1439 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1440 ac_fn_c_try_compile ()
1441 {
1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443 rm -f conftest.$ac_objext conftest.beam
1444 if { { ac_try="$ac_compile"
1445 case "(($ac_try" in
1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1447 *) ac_try_echo=$ac_try;;
1448 esac
1449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450 printf "%s\n" "$ac_try_echo"; } >&5
1451 (eval "$ac_compile") 2>conftest.err
1452 ac_status=$?
1453 if test -s conftest.err; then
1454 grep -v '^ *+' conftest.err >conftest.er1
1455 cat conftest.er1 >&5
1456 mv -f conftest.er1 conftest.err
1457 fi
1458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } && {
1460 test -z "$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1462 } && test -s conftest.$ac_objext
1463 then :
1464 ac_retval=0
1465 else case e in #(
1466 e) printf "%s\n" "$as_me: failed program was:" >&5
1467 sed 's/^/| /' conftest.$ac_ext >&5
1468
1469 ac_retval=1 ;;
1470 esac
1471 fi
1472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1473 as_fn_set_status $ac_retval
1474
1475 } # ac_fn_c_try_compile
1476
1477 # ac_fn_c_try_cpp LINENO
1478 # ----------------------
1479 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1480 ac_fn_c_try_cpp ()
1481 {
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 if { { ac_try="$ac_cpp conftest.$ac_ext"
1484 case "(($ac_try" in
1485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1486 *) ac_try_echo=$ac_try;;
1487 esac
1488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 printf "%s\n" "$ac_try_echo"; } >&5
1490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1491 ac_status=$?
1492 if test -s conftest.err; then
1493 grep -v '^ *+' conftest.err >conftest.er1
1494 cat conftest.er1 >&5
1495 mv -f conftest.er1 conftest.err
1496 fi
1497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498 test $ac_status = 0; } > conftest.i && {
1499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1500 test ! -s conftest.err
1501 }
1502 then :
1503 ac_retval=0
1504 else case e in #(
1505 e) printf "%s\n" "$as_me: failed program was:" >&5
1506 sed 's/^/| /' conftest.$ac_ext >&5
1507
1508 ac_retval=1 ;;
1509 esac
1510 fi
1511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512 as_fn_set_status $ac_retval
1513
1514 } # ac_fn_c_try_cpp
1515
1516 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1517 # -------------------------------------------------------
1518 # Tests whether HEADER exists and can be compiled using the include files in
1519 # INCLUDES, setting the cache variable VAR accordingly.
1520 ac_fn_c_check_header_compile ()
1521 {
1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1524 printf %s "checking for $2... " >&6; }
1525 if eval test \${$3+y}
1526 then :
1527 printf %s "(cached) " >&6
1528 else case e in #(
1529 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1530 /* end confdefs.h. */
1531 $4
1532 #include <$2>
1533 _ACEOF
1534 if ac_fn_c_try_compile "$LINENO"
1535 then :
1536 eval "$3=yes"
1537 else case e in #(
1538 e) eval "$3=no" ;;
1539 esac
1540 fi
1541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1542 esac
1543 fi
1544 eval ac_res=\$$3
1545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1546 printf "%s\n" "$ac_res" >&6; }
1547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1548
1549 } # ac_fn_c_check_header_compile
1550
1551 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1552 # -------------------------------------------
1553 # Tests whether TYPE exists after having included INCLUDES, setting cache
1554 # variable VAR accordingly.
1555 ac_fn_c_check_type ()
1556 {
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1559 printf %s "checking for $2... " >&6; }
1560 if eval test \${$3+y}
1561 then :
1562 printf %s "(cached) " >&6
1563 else case e in #(
1564 e) eval "$3=no"
1565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1566 /* end confdefs.h. */
1567 $4
1568 int
1569 main (void)
1570 {
1571 if (sizeof ($2))
1572 return 0;
1573 ;
1574 return 0;
1575 }
1576 _ACEOF
1577 if ac_fn_c_try_compile "$LINENO"
1578 then :
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1581 $4
1582 int
1583 main (void)
1584 {
1585 if (sizeof (($2)))
1586 return 0;
1587 ;
1588 return 0;
1589 }
1590 _ACEOF
1591 if ac_fn_c_try_compile "$LINENO"
1592 then :
1593
1594 else case e in #(
1595 e) eval "$3=yes" ;;
1596 esac
1597 fi
1598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1599 fi
1600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1601 esac
1602 fi
1603 eval ac_res=\$$3
1604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1605 printf "%s\n" "$ac_res" >&6; }
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607
1608 } # ac_fn_c_check_type
1609
1610 # ac_fn_c_try_link LINENO
1611 # -----------------------
1612 # Try to link conftest.$ac_ext, and return whether this succeeded.
1613 ac_fn_c_try_link ()
1614 {
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1617 if { { ac_try="$ac_link"
1618 case "(($ac_try" in
1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1621 esac
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 printf "%s\n" "$ac_try_echo"; } >&5
1624 (eval "$ac_link") 2>conftest.err
1625 ac_status=$?
1626 if test -s conftest.err; then
1627 grep -v '^ *+' conftest.err >conftest.er1
1628 cat conftest.er1 >&5
1629 mv -f conftest.er1 conftest.err
1630 fi
1631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; } && {
1633 test -z "$ac_c_werror_flag" ||
1634 test ! -s conftest.err
1635 } && test -s conftest$ac_exeext && {
1636 test "$cross_compiling" = yes ||
1637 test -x conftest$ac_exeext
1638 }
1639 then :
1640 ac_retval=0
1641 else case e in #(
1642 e) printf "%s\n" "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1644
1645 ac_retval=1 ;;
1646 esac
1647 fi
1648 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1649 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1650 # interfere with the next link command; also delete a directory that is
1651 # left behind by Apple's compiler. We do this before executing the actions.
1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1655
1656 } # ac_fn_c_try_link
1657
1658 # ac_fn_c_check_func LINENO FUNC VAR
1659 # ----------------------------------
1660 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1661 ac_fn_c_check_func ()
1662 {
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 printf %s "checking for $2... " >&6; }
1666 if eval test \${$3+y}
1667 then :
1668 printf %s "(cached) " >&6
1669 else case e in #(
1670 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1672 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1674 #define $2 innocuous_$2
1675
1676 /* System header to define __stub macros and hopefully few prototypes,
1677 which can conflict with char $2 (void); below. */
1678
1679 #include <limits.h>
1680 #undef $2
1681
1682 /* Override any GCC internal prototype to avoid an error.
1683 Use char because int might match the return type of a GCC
1684 builtin and then its argument prototype would still apply. */
1685 #ifdef __cplusplus
1686 extern "C"
1687 #endif
1688 char $2 (void);
1689 /* The GNU C library defines this for functions which it implements
1690 to always fail with ENOSYS. Some functions are actually named
1691 something starting with __ and the normal name is an alias. */
1692 #if defined __stub_$2 || defined __stub___$2
1693 choke me
1694 #endif
1695
1696 int
1697 main (void)
1698 {
1699 return $2 ();
1700 ;
1701 return 0;
1702 }
1703 _ACEOF
1704 if ac_fn_c_try_link "$LINENO"
1705 then :
1706 eval "$3=yes"
1707 else case e in #(
1708 e) eval "$3=no" ;;
1709 esac
1710 fi
1711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1712 conftest$ac_exeext conftest.$ac_ext ;;
1713 esac
1714 fi
1715 eval ac_res=\$$3
1716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 printf "%s\n" "$ac_res" >&6; }
1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719
1720 } # ac_fn_c_check_func
1721 ac_configure_args_raw=
1722 for ac_arg
1723 do
1724 case $ac_arg in
1725 *\'*)
1726 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1727 esac
1728 as_fn_append ac_configure_args_raw " '$ac_arg'"
1729 done
1730
1731 case $ac_configure_args_raw in
1732 *$as_nl*)
1733 ac_safe_unquote= ;;
1734 *)
1735 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1736 ac_unsafe_a="$ac_unsafe_z#~"
1737 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1738 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1739 esac
1740
1741 cat >config.log <<_ACEOF
1742 This file contains any messages produced by compilers while
1743 running configure, to aid debugging if configure makes a mistake.
1744
1745 It was created by dbus $as_me 1.0, which was
1746 generated by GNU Autoconf 2.72. Invocation command line was
1747
1748 $ $0$ac_configure_args_raw
1749
1750 _ACEOF
1751 exec 5>>config.log
1752 {
1753 cat <<_ASUNAME
1754 ## --------- ##
1755 ## Platform. ##
1756 ## --------- ##
1757
1758 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1759 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1760 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1761 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1762 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1763
1764 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1765 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1766
1767 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1768 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1769 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1770 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1771 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1772 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1773 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1774
1775 _ASUNAME
1776
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1779 do
1780 IFS=$as_save_IFS
1781 case $as_dir in #(((
1782 '') as_dir=./ ;;
1783 */) ;;
1784 *) as_dir=$as_dir/ ;;
1785 esac
1786 printf "%s\n" "PATH: $as_dir"
1787 done
1788 IFS=$as_save_IFS
1789
1790 } >&5
1791
1792 cat >&5 <<_ACEOF
1793
1794
1795 ## ----------- ##
1796 ## Core tests. ##
1797 ## ----------- ##
1798
1799 _ACEOF
1800
1801
1802 # Keep a trace of the command line.
1803 # Strip out --no-create and --no-recursion so they do not pile up.
1804 # Strip out --silent because we don't want to record it for future runs.
1805 # Also quote any args containing shell meta-characters.
1806 # Make two passes to allow for proper duplicate-argument suppression.
1807 ac_configure_args=
1808 ac_configure_args0=
1809 ac_configure_args1=
1810 ac_must_keep_next=false
1811 for ac_pass in 1 2
1812 do
1813 for ac_arg
1814 do
1815 case $ac_arg in
1816 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1817 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1818 | -silent | --silent | --silen | --sile | --sil)
1819 continue ;;
1820 *\'*)
1821 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 esac
1823 case $ac_pass in
1824 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1825 2)
1826 as_fn_append ac_configure_args1 " '$ac_arg'"
1827 if test $ac_must_keep_next = true; then
1828 ac_must_keep_next=false # Got value, back to normal.
1829 else
1830 case $ac_arg in
1831 *=* | --config-cache | -C | -disable-* | --disable-* \
1832 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1833 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1834 | -with-* | --with-* | -without-* | --without-* | --x)
1835 case "$ac_configure_args0 " in
1836 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1837 esac
1838 ;;
1839 -* ) ac_must_keep_next=true ;;
1840 esac
1841 fi
1842 as_fn_append ac_configure_args " '$ac_arg'"
1843 ;;
1844 esac
1845 done
1846 done
1847 { ac_configure_args0=; unset ac_configure_args0;}
1848 { ac_configure_args1=; unset ac_configure_args1;}
1849
1850 # When interrupted or exit'd, cleanup temporary files, and complete
1851 # config.log. We remove comments because anyway the quotes in there
1852 # would cause problems or look ugly.
1853 # WARNING: Use '\'' to represent an apostrophe within the trap.
1854 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1855 trap 'exit_status=$?
1856 # Sanitize IFS.
1857 IFS=" "" $as_nl"
1858 # Save into config.log some information that might help in debugging.
1859 {
1860 echo
1861
1862 printf "%s\n" "## ---------------- ##
1863 ## Cache variables. ##
1864 ## ---------------- ##"
1865 echo
1866 # The following way of writing the cache mishandles newlines in values,
1867 (
1868 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1869 eval ac_val=\$$ac_var
1870 case $ac_val in #(
1871 *${as_nl}*)
1872 case $ac_var in #(
1873 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1874 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1875 esac
1876 case $ac_var in #(
1877 _ | IFS | as_nl) ;; #(
1878 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1879 *) { eval $ac_var=; unset $ac_var;} ;;
1880 esac ;;
1881 esac
1882 done
1883 (set) 2>&1 |
1884 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1885 *${as_nl}ac_space=\ *)
1886 sed -n \
1887 "s/'\''/'\''\\\\'\'''\''/g;
1888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1889 ;; #(
1890 *)
1891 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1892 ;;
1893 esac |
1894 sort
1895 )
1896 echo
1897
1898 printf "%s\n" "## ----------------- ##
1899 ## Output variables. ##
1900 ## ----------------- ##"
1901 echo
1902 for ac_var in $ac_subst_vars
1903 do
1904 eval ac_val=\$$ac_var
1905 case $ac_val in
1906 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1907 esac
1908 printf "%s\n" "$ac_var='\''$ac_val'\''"
1909 done | sort
1910 echo
1911
1912 if test -n "$ac_subst_files"; then
1913 printf "%s\n" "## ------------------- ##
1914 ## File substitutions. ##
1915 ## ------------------- ##"
1916 echo
1917 for ac_var in $ac_subst_files
1918 do
1919 eval ac_val=\$$ac_var
1920 case $ac_val in
1921 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1922 esac
1923 printf "%s\n" "$ac_var='\''$ac_val'\''"
1924 done | sort
1925 echo
1926 fi
1927
1928 if test -s confdefs.h; then
1929 printf "%s\n" "## ----------- ##
1930 ## confdefs.h. ##
1931 ## ----------- ##"
1932 echo
1933 cat confdefs.h
1934 echo
1935 fi
1936 test "$ac_signal" != 0 &&
1937 printf "%s\n" "$as_me: caught signal $ac_signal"
1938 printf "%s\n" "$as_me: exit $exit_status"
1939 } >&5
1940 rm -f core *.core core.conftest.* &&
1941 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1942 exit $exit_status
1943 ' 0
1944 for ac_signal in 1 2 13 15; do
1945 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1946 done
1947 ac_signal=0
1948
1949 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1950 rm -f -r conftest* confdefs.h
1951
1952 printf "%s\n" "/* confdefs.h */" > confdefs.h
1953
1954 # Predefined preprocessor variables.
1955
1956 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1957
1958 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1959
1960 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1961
1962 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1963
1964 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1965
1966 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1967
1968
1969 # Let the site file select an alternate cache file if it wants to.
1970 # Prefer an explicitly selected file to automatically selected ones.
1971 if test -n "$CONFIG_SITE"; then
1972 ac_site_files="$CONFIG_SITE"
1973 elif test "x$prefix" != xNONE; then
1974 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1975 else
1976 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1977 fi
1978
1979 for ac_site_file in $ac_site_files
1980 do
1981 case $ac_site_file in #(
1982 */*) :
1983 ;; #(
1984 *) :
1985 ac_site_file=./$ac_site_file ;;
1986 esac
1987 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1989 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1990 sed 's/^/| /' "$ac_site_file" >&5
1991 . "$ac_site_file" \
1992 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1993 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1994 as_fn_error $? "failed to load site script $ac_site_file
1995 See 'config.log' for more details" "$LINENO" 5; }
1996 fi
1997 done
1998
1999 if test -r "$cache_file"; then
2000 # Some versions of bash will fail to source /dev/null (special files
2001 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2002 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2004 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2005 case $cache_file in
2006 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2007 *) . "./$cache_file";;
2008 esac
2009 fi
2010 else
2011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2012 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2013 >$cache_file
2014 fi
2015
2016
2017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to remove colons from paths" >&5
2018 printf %s "checking how to remove colons from paths... " >&6; }
2019 if test ${cl_cv_decolonize+y}
2020 then :
2021 printf %s "(cached) " >&6
2022 else case e in #(
2023 e) case `uname -s` in
2024 CYGWIN*)
2025 cl_cv_decolonize='cygpath --unix $x'
2026 ;;
2027 Windows* | MINGW* | MSYS*)
2028 if (type cygpath) > /dev/null 2>&1; then
2029 cl_cv_decolonize='cygpath --unix $x'
2030 else
2031 cl_cv_decolonize="echo \$x | sed -e 's,\\\\,/,g' -e 's,^\\(.\\):,/\1,'"
2032 fi
2033 ;;
2034 *)
2035 cl_cv_decolonize='echo $x'
2036 ;;
2037 esac
2038 ;;
2039 esac
2040 fi
2041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_decolonize" >&5
2042 printf "%s\n" "$cl_cv_decolonize" >&6; }
2043 CLISP_DECOLONIZE=$cl_cv_decolonize
2044
2045
2046
2047
2048 # Check whether --with-clisp was given.
2049 if test ${with_clisp+y}
2050 then :
2051 withval=$with_clisp; cl_use_clisp="$withval"
2052 else case e in #(
2053 e) cl_use_clisp=default ;;
2054 esac
2055 fi
2056
2057 cl_have_clisp=no
2058 if test "$cl_use_clisp" != "no"; then
2059 if test "$cl_use_clisp" = default -o "$cl_use_clisp" = yes; then
2060 # Extract the first word of "clisp", so it can be a program name with args.
2061 set dummy clisp; ac_word=$2
2062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2063 printf %s "checking for $ac_word... " >&6; }
2064 if test ${ac_cv_path_cl_cv_clisp+y}
2065 then :
2066 printf %s "(cached) " >&6
2067 else case e in #(
2068 e) case $cl_cv_clisp in
2069 [\\/]* | ?:[\\/]*)
2070 ac_cv_path_cl_cv_clisp="$cl_cv_clisp" # Let the user override the test with a path.
2071 ;;
2072 *)
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2075 do
2076 IFS=$as_save_IFS
2077 case $as_dir in #(((
2078 '') as_dir=./ ;;
2079 */) ;;
2080 *) as_dir=$as_dir/ ;;
2081 esac
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2084 ac_cv_path_cl_cv_clisp="$as_dir$ac_word$ac_exec_ext"
2085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2086 break 2
2087 fi
2088 done
2089 done
2090 IFS=$as_save_IFS
2091
2092 ;;
2093 esac ;;
2094 esac
2095 fi
2096 cl_cv_clisp=$ac_cv_path_cl_cv_clisp
2097 if test -n "$cl_cv_clisp"; then
2098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp" >&5
2099 printf "%s\n" "$cl_cv_clisp" >&6; }
2100 else
2101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 printf "%s\n" "no" >&6; }
2103 fi
2104
2105
2106 else
2107 cl_cv_clisp="$cl_use_clisp"
2108 fi
2109 if test -n "$cl_cv_clisp"; then
2110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP version" >&5
2111 printf %s "checking for CLISP version... " >&6; }
2112 if test ${cl_cv_clisp_version+y}
2113 then :
2114 printf %s "(cached) " >&6
2115 else case e in #(
2116 e) if $cl_cv_clisp --version 2>/dev/null | head -n 1 | grep "GNU CLISP" >/dev/null 2>&1; then
2117 cl_cv_clisp_version=`$cl_cv_clisp -q -norc -x '(lisp-implementation-version)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2118 else
2119 as_fn_error $? "'$cl_cv_clisp' is not a CLISP" "$LINENO" 5
2120 fi
2121 ;;
2122 esac
2123 fi
2124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_version" >&5
2125 printf "%s\n" "$cl_cv_clisp_version" >&6; }
2126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP libdir" >&5
2127 printf %s "checking for CLISP libdir... " >&6; }
2128 if test ${cl_cv_clisp_libdir+y}
2129 then :
2130 printf %s "(cached) " >&6
2131 else case e in #(
2132 e) cl_cv_clisp_libdir=`$cl_cv_clisp -q -norc -x '(namestring *lib-directory*)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2133 x=$cl_cv_clisp_libdir
2134 cl_cv_clisp_libdir=`eval $cl_cv_decolonize`
2135 # cf src/clisp-link.in:linkkitdir
2136 missing=''
2137 for f in modules.c clisp.h; do
2138 test -r "${cl_cv_clisp_libdir}linkkit/$f" || missing=${missing}' '$f
2139 done
2140 test -n "${missing}" \
2141 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_libdir}linkkit'" "$LINENO" 5
2142 ;;
2143 esac
2144 fi
2145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_libdir" >&5
2146 printf "%s\n" "$cl_cv_clisp_libdir" >&6; }
2147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP linking set" >&5
2148 printf %s "checking for CLISP linking set... " >&6; }
2149 if test ${cl_cv_clisp_linkset+y}
2150 then :
2151 printf %s "(cached) " >&6
2152 else case e in #(
2153 e) cl_cv_clisp_linkset=`$cl_cv_clisp -q -norc -x '(sys::program-name)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2154 cl_cv_clisp_linkset=`dirname ${cl_cv_clisp_linkset}`
2155 missing=''
2156 # cf. src/clisp-link.in:check_linkset (we do not need to check for
2157 # lisp.run because cl_cv_clisp_linkset comes from SYS::PROGRAM-NAME)
2158 for f in lisp.a lispinit.mem modules.h modules.o makevars; do
2159 test -r "${cl_cv_clisp_linkset}/$f" || missing=${missing}' '$f
2160 done
2161 test -n "${missing}" \
2162 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_linkset}'" "$LINENO" 5
2163 ;;
2164 esac
2165 fi
2166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_linkset" >&5
2167 printf "%s\n" "$cl_cv_clisp_linkset" >&6; }
2168 CLISP=$cl_cv_clisp
2169
2170 CLISP_LIBDIR="${cl_cv_clisp_libdir}"
2171
2172 CLISP_LINKKIT="${cl_cv_clisp_libdir}linkkit"
2173
2174 sed 's/^/CLISP_/' ${cl_cv_clisp_linkset}/makevars > conftestvars
2175 . ./conftestvars
2176 rm -f conftestvars
2177
2178
2179
2180
2181 test -d "$cl_cv_clisp_libdir" -a -d "$cl_cv_clisp_linkset" && cl_have_clisp=yes
2182 fi
2183 fi
2184
2185 # Test code for whether the C compiler supports C89 (global declarations)
2186 ac_c_conftest_c89_globals='
2187 /* Does the compiler advertise C89 conformance?
2188 Do not test the value of __STDC__, because some compilers set it to 0
2189 while being otherwise adequately conformant. */
2190 #if !defined __STDC__
2191 # error "Compiler does not advertise C89 conformance"
2192 #endif
2193
2194 #include <stddef.h>
2195 #include <stdarg.h>
2196 struct stat;
2197 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2198 struct buf { int x; };
2199 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2200 static char *e (char **p, int i)
2201 {
2202 return p[i];
2203 }
2204 static char *f (char * (*g) (char **, int), char **p, ...)
2205 {
2206 char *s;
2207 va_list v;
2208 va_start (v,p);
2209 s = g (p, va_arg (v,int));
2210 va_end (v);
2211 return s;
2212 }
2213
2214 /* C89 style stringification. */
2215 #define noexpand_stringify(a) #a
2216 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2217
2218 /* C89 style token pasting. Exercises some of the corner cases that
2219 e.g. old MSVC gets wrong, but not very hard. */
2220 #define noexpand_concat(a,b) a##b
2221 #define expand_concat(a,b) noexpand_concat(a,b)
2222 extern int vA;
2223 extern int vbee;
2224 #define aye A
2225 #define bee B
2226 int *pvA = &expand_concat(v,aye);
2227 int *pvbee = &noexpand_concat(v,bee);
2228
2229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2230 function prototypes and stuff, but not \xHH hex character constants.
2231 These do not provoke an error unfortunately, instead are silently treated
2232 as an "x". The following induces an error, until -std is added to get
2233 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2234 array size at least. It is necessary to write \x00 == 0 to get something
2235 that is true only with -std. */
2236 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2237
2238 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2239 inside strings and character constants. */
2240 #define FOO(x) '\''x'\''
2241 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2242
2243 int test (int i, double x);
2244 struct s1 {int (*f) (int a);};
2245 struct s2 {int (*f) (double a);};
2246 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2247 int, int);'
2248
2249 # Test code for whether the C compiler supports C89 (body of main).
2250 ac_c_conftest_c89_main='
2251 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2252 '
2253
2254 # Test code for whether the C compiler supports C99 (global declarations)
2255 ac_c_conftest_c99_globals='
2256 /* Does the compiler advertise C99 conformance? */
2257 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2258 # error "Compiler does not advertise C99 conformance"
2259 #endif
2260
2261 // See if C++-style comments work.
2262
2263 #include <stdbool.h>
2264 extern int puts (const char *);
2265 extern int printf (const char *, ...);
2266 extern int dprintf (int, const char *, ...);
2267 extern void *malloc (size_t);
2268 extern void free (void *);
2269
2270 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2271 // dprintf is used instead of fprintf to avoid needing to declare
2272 // FILE and stderr.
2273 #define debug(...) dprintf (2, __VA_ARGS__)
2274 #define showlist(...) puts (#__VA_ARGS__)
2275 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2276 static void
2277 test_varargs_macros (void)
2278 {
2279 int x = 1234;
2280 int y = 5678;
2281 debug ("Flag");
2282 debug ("X = %d\n", x);
2283 showlist (The first, second, and third items.);
2284 report (x>y, "x is %d but y is %d", x, y);
2285 }
2286
2287 // Check long long types.
2288 #define BIG64 18446744073709551615ull
2289 #define BIG32 4294967295ul
2290 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2291 #if !BIG_OK
2292 #error "your preprocessor is broken"
2293 #endif
2294 #if BIG_OK
2295 #else
2296 #error "your preprocessor is broken"
2297 #endif
2298 static long long int bignum = -9223372036854775807LL;
2299 static unsigned long long int ubignum = BIG64;
2300
2301 struct incomplete_array
2302 {
2303 int datasize;
2304 double data[];
2305 };
2306
2307 struct named_init {
2308 int number;
2309 const wchar_t *name;
2310 double average;
2311 };
2312
2313 typedef const char *ccp;
2314
2315 static inline int
2316 test_restrict (ccp restrict text)
2317 {
2318 // Iterate through items via the restricted pointer.
2319 // Also check for declarations in for loops.
2320 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2321 continue;
2322 return 0;
2323 }
2324
2325 // Check varargs and va_copy.
2326 static bool
2327 test_varargs (const char *format, ...)
2328 {
2329 va_list args;
2330 va_start (args, format);
2331 va_list args_copy;
2332 va_copy (args_copy, args);
2333
2334 const char *str = "";
2335 int number = 0;
2336 float fnumber = 0;
2337
2338 while (*format)
2339 {
2340 switch (*format++)
2341 {
2342 case '\''s'\'': // string
2343 str = va_arg (args_copy, const char *);
2344 break;
2345 case '\''d'\'': // int
2346 number = va_arg (args_copy, int);
2347 break;
2348 case '\''f'\'': // float
2349 fnumber = va_arg (args_copy, double);
2350 break;
2351 default:
2352 break;
2353 }
2354 }
2355 va_end (args_copy);
2356 va_end (args);
2357
2358 return *str && number && fnumber;
2359 }
2360 '
2361
2362 # Test code for whether the C compiler supports C99 (body of main).
2363 ac_c_conftest_c99_main='
2364 // Check bool.
2365 _Bool success = false;
2366 success |= (argc != 0);
2367
2368 // Check restrict.
2369 if (test_restrict ("String literal") == 0)
2370 success = true;
2371 char *restrict newvar = "Another string";
2372
2373 // Check varargs.
2374 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2375 test_varargs_macros ();
2376
2377 // Check flexible array members.
2378 struct incomplete_array *ia =
2379 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2380 ia->datasize = 10;
2381 for (int i = 0; i < ia->datasize; ++i)
2382 ia->data[i] = i * 1.234;
2383 // Work around memory leak warnings.
2384 free (ia);
2385
2386 // Check named initializers.
2387 struct named_init ni = {
2388 .number = 34,
2389 .name = L"Test wide string",
2390 .average = 543.34343,
2391 };
2392
2393 ni.number = 58;
2394
2395 int dynamic_array[ni.number];
2396 dynamic_array[0] = argv[0][0];
2397 dynamic_array[ni.number - 1] = 543;
2398
2399 // work around unused variable warnings
2400 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2401 || dynamic_array[ni.number - 1] != 543);
2402 '
2403
2404 # Test code for whether the C compiler supports C11 (global declarations)
2405 ac_c_conftest_c11_globals='
2406 /* Does the compiler advertise C11 conformance? */
2407 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2408 # error "Compiler does not advertise C11 conformance"
2409 #endif
2410
2411 // Check _Alignas.
2412 char _Alignas (double) aligned_as_double;
2413 char _Alignas (0) no_special_alignment;
2414 extern char aligned_as_int;
2415 char _Alignas (0) _Alignas (int) aligned_as_int;
2416
2417 // Check _Alignof.
2418 enum
2419 {
2420 int_alignment = _Alignof (int),
2421 int_array_alignment = _Alignof (int[100]),
2422 char_alignment = _Alignof (char)
2423 };
2424 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2425
2426 // Check _Noreturn.
2427 int _Noreturn does_not_return (void) { for (;;) continue; }
2428
2429 // Check _Static_assert.
2430 struct test_static_assert
2431 {
2432 int x;
2433 _Static_assert (sizeof (int) <= sizeof (long int),
2434 "_Static_assert does not work in struct");
2435 long int y;
2436 };
2437
2438 // Check UTF-8 literals.
2439 #define u8 syntax error!
2440 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2441
2442 // Check duplicate typedefs.
2443 typedef long *long_ptr;
2444 typedef long int *long_ptr;
2445 typedef long_ptr long_ptr;
2446
2447 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2448 struct anonymous
2449 {
2450 union {
2451 struct { int i; int j; };
2452 struct { int k; long int l; } w;
2453 };
2454 int m;
2455 } v1;
2456 '
2457
2458 # Test code for whether the C compiler supports C11 (body of main).
2459 ac_c_conftest_c11_main='
2460 _Static_assert ((offsetof (struct anonymous, i)
2461 == offsetof (struct anonymous, w.k)),
2462 "Anonymous union alignment botch");
2463 v1.i = 2;
2464 v1.w.k = 5;
2465 ok |= v1.i != 5;
2466 '
2467
2468 # Test code for whether the C compiler supports C11 (complete).
2469 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2470 ${ac_c_conftest_c99_globals}
2471 ${ac_c_conftest_c11_globals}
2472
2473 int
2474 main (int argc, char **argv)
2475 {
2476 int ok = 0;
2477 ${ac_c_conftest_c89_main}
2478 ${ac_c_conftest_c99_main}
2479 ${ac_c_conftest_c11_main}
2480 return ok;
2481 }
2482 "
2483
2484 # Test code for whether the C compiler supports C99 (complete).
2485 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2486 ${ac_c_conftest_c99_globals}
2487
2488 int
2489 main (int argc, char **argv)
2490 {
2491 int ok = 0;
2492 ${ac_c_conftest_c89_main}
2493 ${ac_c_conftest_c99_main}
2494 return ok;
2495 }
2496 "
2497
2498 # Test code for whether the C compiler supports C89 (complete).
2499 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2500
2501 int
2502 main (int argc, char **argv)
2503 {
2504 int ok = 0;
2505 ${ac_c_conftest_c89_main}
2506 return ok;
2507 }
2508 "
2509
2510 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2511 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2512 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2513 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2514 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2515 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2516 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2517 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2518 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2519 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2520 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2521
2522 # Auxiliary files required by this configure script.
2523 ac_aux_files="compile"
2524
2525 # Locations in which to look for auxiliary files.
2526 ac_aux_dir_candidates="$cl_cv_clisp_libdir/build-aux"
2527
2528 # Search for a directory containing all of the required auxiliary files,
2529 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2530 # If we don't find one directory that contains all the files we need,
2531 # we report the set of missing files from the *first* directory in
2532 # $ac_aux_dir_candidates and give up.
2533 ac_missing_aux_files=""
2534 ac_first_candidate=:
2535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 as_found=false
2538 for as_dir in $ac_aux_dir_candidates
2539 do
2540 IFS=$as_save_IFS
2541 case $as_dir in #(((
2542 '') as_dir=./ ;;
2543 */) ;;
2544 *) as_dir=$as_dir/ ;;
2545 esac
2546 as_found=:
2547
2548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2549 ac_aux_dir_found=yes
2550 ac_install_sh=
2551 for ac_aux in $ac_aux_files
2552 do
2553 # As a special case, if "install-sh" is required, that requirement
2554 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2555 # and $ac_install_sh is set appropriately for whichever one is found.
2556 if test x"$ac_aux" = x"install-sh"
2557 then
2558 if test -f "${as_dir}install-sh"; then
2559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2560 ac_install_sh="${as_dir}install-sh -c"
2561 elif test -f "${as_dir}install.sh"; then
2562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2563 ac_install_sh="${as_dir}install.sh -c"
2564 elif test -f "${as_dir}shtool"; then
2565 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2566 ac_install_sh="${as_dir}shtool install -c"
2567 else
2568 ac_aux_dir_found=no
2569 if $ac_first_candidate; then
2570 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2571 else
2572 break
2573 fi
2574 fi
2575 else
2576 if test -f "${as_dir}${ac_aux}"; then
2577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2578 else
2579 ac_aux_dir_found=no
2580 if $ac_first_candidate; then
2581 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2582 else
2583 break
2584 fi
2585 fi
2586 fi
2587 done
2588 if test "$ac_aux_dir_found" = yes; then
2589 ac_aux_dir="$as_dir"
2590 break
2591 fi
2592 ac_first_candidate=false
2593
2594 as_found=false
2595 done
2596 IFS=$as_save_IFS
2597 if $as_found
2598 then :
2599
2600 else case e in #(
2601 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2602 esac
2603 fi
2604
2605
2606 # These three variables are undocumented and unsupported,
2607 # and are intended to be withdrawn in a future Autoconf release.
2608 # They can cause serious problems if a builder's source tree is in a directory
2609 # whose full name contains unusual characters.
2610 if test -f "${ac_aux_dir}config.guess"; then
2611 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2612 fi
2613 if test -f "${ac_aux_dir}config.sub"; then
2614 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2615 fi
2616 if test -f "$ac_aux_dir/configure"; then
2617 ac_configure="$SHELL ${ac_aux_dir}configure"
2618 fi
2619
2620 # Check that the precious variables saved in the cache have kept the same
2621 # value.
2622 ac_cache_corrupted=false
2623 for ac_var in $ac_precious_vars; do
2624 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2625 eval ac_new_set=\$ac_env_${ac_var}_set
2626 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2627 eval ac_new_val=\$ac_env_${ac_var}_value
2628 case $ac_old_set,$ac_new_set in
2629 set,)
2630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2631 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2632 ac_cache_corrupted=: ;;
2633 ,set)
2634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2635 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2636 ac_cache_corrupted=: ;;
2637 ,);;
2638 *)
2639 if test "x$ac_old_val" != "x$ac_new_val"; then
2640 # differences in whitespace do not lead to failure.
2641 ac_old_val_w=`echo x $ac_old_val`
2642 ac_new_val_w=`echo x $ac_new_val`
2643 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2645 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2646 ac_cache_corrupted=:
2647 else
2648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2649 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2650 eval $ac_var=\$ac_old_val
2651 fi
2652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2653 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2655 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2656 fi;;
2657 esac
2658 # Pass precious variables to config.status.
2659 if test "$ac_new_set" = set; then
2660 case $ac_new_val in
2661 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2662 *) ac_arg=$ac_var=$ac_new_val ;;
2663 esac
2664 case " $ac_configure_args " in
2665 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2666 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2667 esac
2668 fi
2669 done
2670 if $ac_cache_corrupted; then
2671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2672 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2674 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2675 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2676 and start over" "$LINENO" 5
2677 fi
2678 ## -------------------- ##
2679 ## Main body of script. ##
2680 ## -------------------- ##
2681
2682 ac_ext=c
2683 ac_cpp='$CPP $CPPFLAGS'
2684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2687
2688
2689
2690 ac_config_headers="$ac_config_headers config.h"
2691
2692
2693
2694
2695 case $TERM in
2696 # for the most important terminal types we directly know the sequences
2697 xterm*|vt220*|vt100*)
2698 term_bold=`${AWK:-awk} 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null`
2699 term_norm=`${AWK:-awk} 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null`
2700 ;;
2701 # for all others, we try to use a possibly existing `tput' or `tcout' utility
2702 *)
2703 paths=`echo "$PATH" | sed -e 's/:/ /g'`
2704 for tool in tput tcout; do
2705 for dir in $paths; do
2706 if test -r "$dir/$tool"; then
2707 for seq in bold md smso; do # 'smso' is last
2708 bold="`$dir/$tool $seq 2>/dev/null`"
2709 if test -n "$bold"; then
2710 term_bold="$bold"
2711 break
2712 fi
2713 done
2714 if test -n "$term_bold"; then
2715 for seq in sgr0 me rmso reset; do # 'reset' is last
2716 norm="`$dir/$tool $seq 2>/dev/null`"
2717 if test -n "$norm"; then
2718 term_norm="$norm"
2719 break
2720 fi
2721 done
2722 fi
2723 break
2724 fi
2725 done
2726 if test -n "$term_bold" && test -n "$term_norm"; then
2727 break
2728 fi
2729 done
2730 ;;
2731 esac
2732
2733
2734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Common)${term_norm}" >&5
2735 printf "%s\n" "$as_me: ${term_bold}** Dbus (Common)${term_norm}" >&6;}
2736
2737
2738
2739
2740
2741
2742
2743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP" >&5
2744 printf %s "checking for CLISP... " >&6; }
2745 if test ${cl_cv_have_clisp+y}
2746 then :
2747 printf %s "(cached) " >&6
2748 else case e in #(
2749 e) cl_cv_have_clisp=$cl_have_clisp ;;
2750 esac
2751 fi
2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_have_clisp" >&5
2753 printf "%s\n" "$cl_cv_have_clisp" >&6; }
2754 required=true
2755 ${required} && test $cl_cv_have_clisp = no && as_fn_error $? "CLISP not found" "$LINENO" 5
2756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FFI in CLISP" >&5
2757 printf %s "checking for FFI in CLISP... " >&6; }
2758 if test ${cl_cv_clisp_FFI+y}
2759 then :
2760 printf %s "(cached) " >&6
2761 else case e in #(
2762 e) cl_cv_clisp_FFI=`$cl_cv_clisp -q -norc -x '#+FFI "yes" #-FFI "no"' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'` ;;
2763 esac
2764 fi
2765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_FFI" >&5
2766 printf "%s\n" "$cl_cv_clisp_FFI" >&6; }
2767 ${required} && test $cl_cv_clisp_FFI = no \
2768 && as_fn_error $? "no FFI in CLISP" "$LINENO" 5
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783 # Expand $ac_aux_dir to an absolute path.
2784 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2785
2786 ac_ext=c
2787 ac_cpp='$CPP $CPPFLAGS'
2788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2791 if test -n "$ac_tool_prefix"; then
2792 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2793 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 printf %s "checking for $ac_word... " >&6; }
2796 if test ${ac_cv_prog_CC+y}
2797 then :
2798 printf %s "(cached) " >&6
2799 else case e in #(
2800 e) if test -n "$CC"; then
2801 ac_cv_prog_CC="$CC" # Let the user override the test.
2802 else
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 for as_dir in $PATH
2805 do
2806 IFS=$as_save_IFS
2807 case $as_dir in #(((
2808 '') as_dir=./ ;;
2809 */) ;;
2810 *) as_dir=$as_dir/ ;;
2811 esac
2812 for ac_exec_ext in '' $ac_executable_extensions; do
2813 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2814 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2816 break 2
2817 fi
2818 done
2819 done
2820 IFS=$as_save_IFS
2821
2822 fi ;;
2823 esac
2824 fi
2825 CC=$ac_cv_prog_CC
2826 if test -n "$CC"; then
2827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2828 printf "%s\n" "$CC" >&6; }
2829 else
2830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 printf "%s\n" "no" >&6; }
2832 fi
2833
2834
2835 fi
2836 if test -z "$ac_cv_prog_CC"; then
2837 ac_ct_CC=$CC
2838 # Extract the first word of "gcc", so it can be a program name with args.
2839 set dummy gcc; ac_word=$2
2840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 printf %s "checking for $ac_word... " >&6; }
2842 if test ${ac_cv_prog_ac_ct_CC+y}
2843 then :
2844 printf %s "(cached) " >&6
2845 else case e in #(
2846 e) if test -n "$ac_ct_CC"; then
2847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2848 else
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH
2851 do
2852 IFS=$as_save_IFS
2853 case $as_dir in #(((
2854 '') as_dir=./ ;;
2855 */) ;;
2856 *) as_dir=$as_dir/ ;;
2857 esac
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_ac_ct_CC="gcc"
2861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2862 break 2
2863 fi
2864 done
2865 done
2866 IFS=$as_save_IFS
2867
2868 fi ;;
2869 esac
2870 fi
2871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2872 if test -n "$ac_ct_CC"; then
2873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2874 printf "%s\n" "$ac_ct_CC" >&6; }
2875 else
2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 printf "%s\n" "no" >&6; }
2878 fi
2879
2880 if test "x$ac_ct_CC" = x; then
2881 CC=""
2882 else
2883 case $cross_compiling:$ac_tool_warned in
2884 yes:)
2885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2886 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2887 ac_tool_warned=yes ;;
2888 esac
2889 CC=$ac_ct_CC
2890 fi
2891 else
2892 CC="$ac_cv_prog_CC"
2893 fi
2894
2895 if test -z "$CC"; then
2896 if test -n "$ac_tool_prefix"; then
2897 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2898 set dummy ${ac_tool_prefix}cc; ac_word=$2
2899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 printf %s "checking for $ac_word... " >&6; }
2901 if test ${ac_cv_prog_CC+y}
2902 then :
2903 printf %s "(cached) " >&6
2904 else case e in #(
2905 e) if test -n "$CC"; then
2906 ac_cv_prog_CC="$CC" # Let the user override the test.
2907 else
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 for as_dir in $PATH
2910 do
2911 IFS=$as_save_IFS
2912 case $as_dir in #(((
2913 '') as_dir=./ ;;
2914 */) ;;
2915 *) as_dir=$as_dir/ ;;
2916 esac
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_CC="${ac_tool_prefix}cc"
2920 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2921 break 2
2922 fi
2923 done
2924 done
2925 IFS=$as_save_IFS
2926
2927 fi ;;
2928 esac
2929 fi
2930 CC=$ac_cv_prog_CC
2931 if test -n "$CC"; then
2932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2933 printf "%s\n" "$CC" >&6; }
2934 else
2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 printf "%s\n" "no" >&6; }
2937 fi
2938
2939
2940 fi
2941 fi
2942 if test -z "$CC"; then
2943 # Extract the first word of "cc", so it can be a program name with args.
2944 set dummy cc; ac_word=$2
2945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 printf %s "checking for $ac_word... " >&6; }
2947 if test ${ac_cv_prog_CC+y}
2948 then :
2949 printf %s "(cached) " >&6
2950 else case e in #(
2951 e) if test -n "$CC"; then
2952 ac_cv_prog_CC="$CC" # Let the user override the test.
2953 else
2954 ac_prog_rejected=no
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2957 do
2958 IFS=$as_save_IFS
2959 case $as_dir in #(((
2960 '') as_dir=./ ;;
2961 */) ;;
2962 *) as_dir=$as_dir/ ;;
2963 esac
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2966 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2967 ac_prog_rejected=yes
2968 continue
2969 fi
2970 ac_cv_prog_CC="cc"
2971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2972 break 2
2973 fi
2974 done
2975 done
2976 IFS=$as_save_IFS
2977
2978 if test $ac_prog_rejected = yes; then
2979 # We found a bogon in the path, so make sure we never use it.
2980 set dummy $ac_cv_prog_CC
2981 shift
2982 if test $# != 0; then
2983 # We chose a different compiler from the bogus one.
2984 # However, it has the same basename, so the bogon will be chosen
2985 # first if we set CC to just the basename; use the full file name.
2986 shift
2987 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2988 fi
2989 fi
2990 fi ;;
2991 esac
2992 fi
2993 CC=$ac_cv_prog_CC
2994 if test -n "$CC"; then
2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2996 printf "%s\n" "$CC" >&6; }
2997 else
2998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 printf "%s\n" "no" >&6; }
3000 fi
3001
3002
3003 fi
3004 if test -z "$CC"; then
3005 if test -n "$ac_tool_prefix"; then
3006 for ac_prog in cl.exe
3007 do
3008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 printf %s "checking for $ac_word... " >&6; }
3012 if test ${ac_cv_prog_CC+y}
3013 then :
3014 printf %s "(cached) " >&6
3015 else case e in #(
3016 e) if test -n "$CC"; then
3017 ac_cv_prog_CC="$CC" # Let the user override the test.
3018 else
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 for as_dir in $PATH
3021 do
3022 IFS=$as_save_IFS
3023 case $as_dir in #(((
3024 '') as_dir=./ ;;
3025 */) ;;
3026 *) as_dir=$as_dir/ ;;
3027 esac
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3030 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3032 break 2
3033 fi
3034 done
3035 done
3036 IFS=$as_save_IFS
3037
3038 fi ;;
3039 esac
3040 fi
3041 CC=$ac_cv_prog_CC
3042 if test -n "$CC"; then
3043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3044 printf "%s\n" "$CC" >&6; }
3045 else
3046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 printf "%s\n" "no" >&6; }
3048 fi
3049
3050
3051 test -n "$CC" && break
3052 done
3053 fi
3054 if test -z "$CC"; then
3055 ac_ct_CC=$CC
3056 for ac_prog in cl.exe
3057 do
3058 # Extract the first word of "$ac_prog", so it can be a program name with args.
3059 set dummy $ac_prog; ac_word=$2
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 printf %s "checking for $ac_word... " >&6; }
3062 if test ${ac_cv_prog_ac_ct_CC+y}
3063 then :
3064 printf %s "(cached) " >&6
3065 else case e in #(
3066 e) if test -n "$ac_ct_CC"; then
3067 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3071 do
3072 IFS=$as_save_IFS
3073 case $as_dir in #(((
3074 '') as_dir=./ ;;
3075 */) ;;
3076 *) as_dir=$as_dir/ ;;
3077 esac
3078 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_ac_ct_CC="$ac_prog"
3081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3082 break 2
3083 fi
3084 done
3085 done
3086 IFS=$as_save_IFS
3087
3088 fi ;;
3089 esac
3090 fi
3091 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3092 if test -n "$ac_ct_CC"; then
3093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3094 printf "%s\n" "$ac_ct_CC" >&6; }
3095 else
3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 printf "%s\n" "no" >&6; }
3098 fi
3099
3100
3101 test -n "$ac_ct_CC" && break
3102 done
3103
3104 if test "x$ac_ct_CC" = x; then
3105 CC=""
3106 else
3107 case $cross_compiling:$ac_tool_warned in
3108 yes:)
3109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned=yes ;;
3112 esac
3113 CC=$ac_ct_CC
3114 fi
3115 fi
3116
3117 fi
3118 if test -z "$CC"; then
3119 if test -n "$ac_tool_prefix"; then
3120 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3121 set dummy ${ac_tool_prefix}clang; ac_word=$2
3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 printf %s "checking for $ac_word... " >&6; }
3124 if test ${ac_cv_prog_CC+y}
3125 then :
3126 printf %s "(cached) " >&6
3127 else case e in #(
3128 e) if test -n "$CC"; then
3129 ac_cv_prog_CC="$CC" # Let the user override the test.
3130 else
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3133 do
3134 IFS=$as_save_IFS
3135 case $as_dir in #(((
3136 '') as_dir=./ ;;
3137 */) ;;
3138 *) as_dir=$as_dir/ ;;
3139 esac
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3142 ac_cv_prog_CC="${ac_tool_prefix}clang"
3143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3144 break 2
3145 fi
3146 done
3147 done
3148 IFS=$as_save_IFS
3149
3150 fi ;;
3151 esac
3152 fi
3153 CC=$ac_cv_prog_CC
3154 if test -n "$CC"; then
3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3156 printf "%s\n" "$CC" >&6; }
3157 else
3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 printf "%s\n" "no" >&6; }
3160 fi
3161
3162
3163 fi
3164 if test -z "$ac_cv_prog_CC"; then
3165 ac_ct_CC=$CC
3166 # Extract the first word of "clang", so it can be a program name with args.
3167 set dummy clang; ac_word=$2
3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 printf %s "checking for $ac_word... " >&6; }
3170 if test ${ac_cv_prog_ac_ct_CC+y}
3171 then :
3172 printf %s "(cached) " >&6
3173 else case e in #(
3174 e) if test -n "$ac_ct_CC"; then
3175 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3176 else
3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 for as_dir in $PATH
3179 do
3180 IFS=$as_save_IFS
3181 case $as_dir in #(((
3182 '') as_dir=./ ;;
3183 */) ;;
3184 *) as_dir=$as_dir/ ;;
3185 esac
3186 for ac_exec_ext in '' $ac_executable_extensions; do
3187 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_ac_ct_CC="clang"
3189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3190 break 2
3191 fi
3192 done
3193 done
3194 IFS=$as_save_IFS
3195
3196 fi ;;
3197 esac
3198 fi
3199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3200 if test -n "$ac_ct_CC"; then
3201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3202 printf "%s\n" "$ac_ct_CC" >&6; }
3203 else
3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 printf "%s\n" "no" >&6; }
3206 fi
3207
3208 if test "x$ac_ct_CC" = x; then
3209 CC=""
3210 else
3211 case $cross_compiling:$ac_tool_warned in
3212 yes:)
3213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3214 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3215 ac_tool_warned=yes ;;
3216 esac
3217 CC=$ac_ct_CC
3218 fi
3219 else
3220 CC="$ac_cv_prog_CC"
3221 fi
3222
3223 fi
3224
3225
3226 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3227 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3228 as_fn_error $? "no acceptable C compiler found in \$PATH
3229 See 'config.log' for more details" "$LINENO" 5; }
3230
3231 # Provide some information about the compiler.
3232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3233 set X $ac_compile
3234 ac_compiler=$2
3235 for ac_option in --version -v -V -qversion -version; do
3236 { { ac_try="$ac_compiler $ac_option >&5"
3237 case "(($ac_try" in
3238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3240 esac
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 printf "%s\n" "$ac_try_echo"; } >&5
3243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3244 ac_status=$?
3245 if test -s conftest.err; then
3246 sed '10a\
3247 ... rest of stderr output deleted ...
3248 10q' conftest.err >conftest.er1
3249 cat conftest.er1 >&5
3250 fi
3251 rm -f conftest.er1 conftest.err
3252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }
3254 done
3255
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3258
3259 int
3260 main (void)
3261 {
3262
3263 ;
3264 return 0;
3265 }
3266 _ACEOF
3267 ac_clean_files_save=$ac_clean_files
3268 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3269 # Try to create an executable without -o first, disregard a.out.
3270 # It will help us diagnose broken compilers, and finding out an intuition
3271 # of exeext.
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3273 printf %s "checking whether the C compiler works... " >&6; }
3274 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3275
3276 # The possible output files:
3277 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3278
3279 ac_rmfiles=
3280 for ac_file in $ac_files
3281 do
3282 case $ac_file in
3283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3284 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3285 esac
3286 done
3287 rm -f $ac_rmfiles
3288
3289 if { { ac_try="$ac_link_default"
3290 case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3293 esac
3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295 printf "%s\n" "$ac_try_echo"; } >&5
3296 (eval "$ac_link_default") 2>&5
3297 ac_status=$?
3298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299 test $ac_status = 0; }
3300 then :
3301 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3302 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3303 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3304 # so that the user can short-circuit this test for compilers unknown to
3305 # Autoconf.
3306 for ac_file in $ac_files ''
3307 do
3308 test -f "$ac_file" || continue
3309 case $ac_file in
3310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3311 ;;
3312 [ab].out )
3313 # We found the default executable, but exeext='' is most
3314 # certainly right.
3315 break;;
3316 *.* )
3317 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3318 then :; else
3319 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3320 fi
3321 # We set ac_cv_exeext here because the later test for it is not
3322 # safe: cross compilers may not add the suffix if given an '-o'
3323 # argument, so we may need to know it at that point already.
3324 # Even if this section looks crufty: it has the advantage of
3325 # actually working.
3326 break;;
3327 * )
3328 break;;
3329 esac
3330 done
3331 test "$ac_cv_exeext" = no && ac_cv_exeext=
3332
3333 else case e in #(
3334 e) ac_file='' ;;
3335 esac
3336 fi
3337 if test -z "$ac_file"
3338 then :
3339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 printf "%s\n" "no" >&6; }
3341 printf "%s\n" "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3343
3344 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3345 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3346 as_fn_error 77 "C compiler cannot create executables
3347 See 'config.log' for more details" "$LINENO" 5; }
3348 else case e in #(
3349 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3350 printf "%s\n" "yes" >&6; } ;;
3351 esac
3352 fi
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3354 printf %s "checking for C compiler default output file name... " >&6; }
3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3356 printf "%s\n" "$ac_file" >&6; }
3357 ac_exeext=$ac_cv_exeext
3358
3359 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3360 ac_clean_files=$ac_clean_files_save
3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3362 printf %s "checking for suffix of executables... " >&6; }
3363 if { { ac_try="$ac_link"
3364 case "(($ac_try" in
3365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3367 esac
3368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3369 printf "%s\n" "$ac_try_echo"; } >&5
3370 (eval "$ac_link") 2>&5
3371 ac_status=$?
3372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3373 test $ac_status = 0; }
3374 then :
3375 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
3376 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
3377 # work properly (i.e., refer to 'conftest.exe'), while it won't with
3378 # 'rm'.
3379 for ac_file in conftest.exe conftest conftest.*; do
3380 test -f "$ac_file" || continue
3381 case $ac_file in
3382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3384 break;;
3385 * ) break;;
3386 esac
3387 done
3388 else case e in #(
3389 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3390 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3391 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3392 See 'config.log' for more details" "$LINENO" 5; } ;;
3393 esac
3394 fi
3395 rm -f conftest conftest$ac_cv_exeext
3396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3397 printf "%s\n" "$ac_cv_exeext" >&6; }
3398
3399 rm -f conftest.$ac_ext
3400 EXEEXT=$ac_cv_exeext
3401 ac_exeext=$EXEEXT
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3404 #include <stdio.h>
3405 int
3406 main (void)
3407 {
3408 FILE *f = fopen ("conftest.out", "w");
3409 if (!f)
3410 return 1;
3411 return ferror (f) || fclose (f) != 0;
3412
3413 ;
3414 return 0;
3415 }
3416 _ACEOF
3417 ac_clean_files="$ac_clean_files conftest.out"
3418 # Check that the compiler produces executables we can run. If not, either
3419 # the compiler is broken, or we cross compile.
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3421 printf %s "checking whether we are cross compiling... " >&6; }
3422 if test "$cross_compiling" != yes; then
3423 { { ac_try="$ac_link"
3424 case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3427 esac
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 printf "%s\n" "$ac_try_echo"; } >&5
3430 (eval "$ac_link") 2>&5
3431 ac_status=$?
3432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }
3434 if { ac_try='./conftest$ac_cv_exeext'
3435 { { case "(($ac_try" in
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3438 esac
3439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 printf "%s\n" "$ac_try_echo"; } >&5
3441 (eval "$ac_try") 2>&5
3442 ac_status=$?
3443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444 test $ac_status = 0; }; }; then
3445 cross_compiling=no
3446 else
3447 if test "$cross_compiling" = maybe; then
3448 cross_compiling=yes
3449 else
3450 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3451 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3452 as_fn_error 77 "cannot run C compiled programs.
3453 If you meant to cross compile, use '--host'.
3454 See 'config.log' for more details" "$LINENO" 5; }
3455 fi
3456 fi
3457 fi
3458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3459 printf "%s\n" "$cross_compiling" >&6; }
3460
3461 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
3462 conftest.o conftest.obj conftest.out
3463 ac_clean_files=$ac_clean_files_save
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3465 printf %s "checking for suffix of object files... " >&6; }
3466 if test ${ac_cv_objext+y}
3467 then :
3468 printf %s "(cached) " >&6
3469 else case e in #(
3470 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3472
3473 int
3474 main (void)
3475 {
3476
3477 ;
3478 return 0;
3479 }
3480 _ACEOF
3481 rm -f conftest.o conftest.obj
3482 if { { ac_try="$ac_compile"
3483 case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3486 esac
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 printf "%s\n" "$ac_try_echo"; } >&5
3489 (eval "$ac_compile") 2>&5
3490 ac_status=$?
3491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }
3493 then :
3494 for ac_file in conftest.o conftest.obj conftest.*; do
3495 test -f "$ac_file" || continue;
3496 case $ac_file in
3497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3499 break;;
3500 esac
3501 done
3502 else case e in #(
3503 e) printf "%s\n" "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.$ac_ext >&5
3505
3506 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3507 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3508 as_fn_error $? "cannot compute suffix of object files: cannot compile
3509 See 'config.log' for more details" "$LINENO" 5; } ;;
3510 esac
3511 fi
3512 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
3513 esac
3514 fi
3515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3516 printf "%s\n" "$ac_cv_objext" >&6; }
3517 OBJEXT=$ac_cv_objext
3518 ac_objext=$OBJEXT
3519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3520 printf %s "checking whether the compiler supports GNU C... " >&6; }
3521 if test ${ac_cv_c_compiler_gnu+y}
3522 then :
3523 printf %s "(cached) " >&6
3524 else case e in #(
3525 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3527
3528 int
3529 main (void)
3530 {
3531 #ifndef __GNUC__
3532 choke me
3533 #endif
3534
3535 ;
3536 return 0;
3537 }
3538 _ACEOF
3539 if ac_fn_c_try_compile "$LINENO"
3540 then :
3541 ac_compiler_gnu=yes
3542 else case e in #(
3543 e) ac_compiler_gnu=no ;;
3544 esac
3545 fi
3546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3548 ;;
3549 esac
3550 fi
3551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3552 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554
3555 if test $ac_compiler_gnu = yes; then
3556 GCC=yes
3557 else
3558 GCC=
3559 fi
3560 ac_test_CFLAGS=${CFLAGS+y}
3561 ac_save_CFLAGS=$CFLAGS
3562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3563 printf %s "checking whether $CC accepts -g... " >&6; }
3564 if test ${ac_cv_prog_cc_g+y}
3565 then :
3566 printf %s "(cached) " >&6
3567 else case e in #(
3568 e) ac_save_c_werror_flag=$ac_c_werror_flag
3569 ac_c_werror_flag=yes
3570 ac_cv_prog_cc_g=no
3571 CFLAGS="-g"
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574
3575 int
3576 main (void)
3577 {
3578
3579 ;
3580 return 0;
3581 }
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"
3584 then :
3585 ac_cv_prog_cc_g=yes
3586 else case e in #(
3587 e) CFLAGS=""
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3590
3591 int
3592 main (void)
3593 {
3594
3595 ;
3596 return 0;
3597 }
3598 _ACEOF
3599 if ac_fn_c_try_compile "$LINENO"
3600 then :
3601
3602 else case e in #(
3603 e) ac_c_werror_flag=$ac_save_c_werror_flag
3604 CFLAGS="-g"
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3607
3608 int
3609 main (void)
3610 {
3611
3612 ;
3613 return 0;
3614 }
3615 _ACEOF
3616 if ac_fn_c_try_compile "$LINENO"
3617 then :
3618 ac_cv_prog_cc_g=yes
3619 fi
3620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3621 esac
3622 fi
3623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3624 esac
3625 fi
3626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3627 ac_c_werror_flag=$ac_save_c_werror_flag ;;
3628 esac
3629 fi
3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3631 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3632 if test $ac_test_CFLAGS; then
3633 CFLAGS=$ac_save_CFLAGS
3634 elif test $ac_cv_prog_cc_g = yes; then
3635 if test "$GCC" = yes; then
3636 CFLAGS="-g -O2"
3637 else
3638 CFLAGS="-g"
3639 fi
3640 else
3641 if test "$GCC" = yes; then
3642 CFLAGS="-O2"
3643 else
3644 CFLAGS=
3645 fi
3646 fi
3647 ac_prog_cc_stdc=no
3648 if test x$ac_prog_cc_stdc = xno
3649 then :
3650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3651 printf %s "checking for $CC option to enable C11 features... " >&6; }
3652 if test ${ac_cv_prog_cc_c11+y}
3653 then :
3654 printf %s "(cached) " >&6
3655 else case e in #(
3656 e) ac_cv_prog_cc_c11=no
3657 ac_save_CC=$CC
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3660 $ac_c_conftest_c11_program
3661 _ACEOF
3662 for ac_arg in '' -std=gnu11
3663 do
3664 CC="$ac_save_CC $ac_arg"
3665 if ac_fn_c_try_compile "$LINENO"
3666 then :
3667 ac_cv_prog_cc_c11=$ac_arg
3668 fi
3669 rm -f core conftest.err conftest.$ac_objext conftest.beam
3670 test "x$ac_cv_prog_cc_c11" != "xno" && break
3671 done
3672 rm -f conftest.$ac_ext
3673 CC=$ac_save_CC ;;
3674 esac
3675 fi
3676
3677 if test "x$ac_cv_prog_cc_c11" = xno
3678 then :
3679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3680 printf "%s\n" "unsupported" >&6; }
3681 else case e in #(
3682 e) if test "x$ac_cv_prog_cc_c11" = x
3683 then :
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3685 printf "%s\n" "none needed" >&6; }
3686 else case e in #(
3687 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3688 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3689 CC="$CC $ac_cv_prog_cc_c11" ;;
3690 esac
3691 fi
3692 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3693 ac_prog_cc_stdc=c11 ;;
3694 esac
3695 fi
3696 fi
3697 if test x$ac_prog_cc_stdc = xno
3698 then :
3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3700 printf %s "checking for $CC option to enable C99 features... " >&6; }
3701 if test ${ac_cv_prog_cc_c99+y}
3702 then :
3703 printf %s "(cached) " >&6
3704 else case e in #(
3705 e) ac_cv_prog_cc_c99=no
3706 ac_save_CC=$CC
3707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708 /* end confdefs.h. */
3709 $ac_c_conftest_c99_program
3710 _ACEOF
3711 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3712 do
3713 CC="$ac_save_CC $ac_arg"
3714 if ac_fn_c_try_compile "$LINENO"
3715 then :
3716 ac_cv_prog_cc_c99=$ac_arg
3717 fi
3718 rm -f core conftest.err conftest.$ac_objext conftest.beam
3719 test "x$ac_cv_prog_cc_c99" != "xno" && break
3720 done
3721 rm -f conftest.$ac_ext
3722 CC=$ac_save_CC ;;
3723 esac
3724 fi
3725
3726 if test "x$ac_cv_prog_cc_c99" = xno
3727 then :
3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3729 printf "%s\n" "unsupported" >&6; }
3730 else case e in #(
3731 e) if test "x$ac_cv_prog_cc_c99" = x
3732 then :
3733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3734 printf "%s\n" "none needed" >&6; }
3735 else case e in #(
3736 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3737 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3738 CC="$CC $ac_cv_prog_cc_c99" ;;
3739 esac
3740 fi
3741 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3742 ac_prog_cc_stdc=c99 ;;
3743 esac
3744 fi
3745 fi
3746 if test x$ac_prog_cc_stdc = xno
3747 then :
3748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3749 printf %s "checking for $CC option to enable C89 features... " >&6; }
3750 if test ${ac_cv_prog_cc_c89+y}
3751 then :
3752 printf %s "(cached) " >&6
3753 else case e in #(
3754 e) ac_cv_prog_cc_c89=no
3755 ac_save_CC=$CC
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3758 $ac_c_conftest_c89_program
3759 _ACEOF
3760 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3761 do
3762 CC="$ac_save_CC $ac_arg"
3763 if ac_fn_c_try_compile "$LINENO"
3764 then :
3765 ac_cv_prog_cc_c89=$ac_arg
3766 fi
3767 rm -f core conftest.err conftest.$ac_objext conftest.beam
3768 test "x$ac_cv_prog_cc_c89" != "xno" && break
3769 done
3770 rm -f conftest.$ac_ext
3771 CC=$ac_save_CC ;;
3772 esac
3773 fi
3774
3775 if test "x$ac_cv_prog_cc_c89" = xno
3776 then :
3777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3778 printf "%s\n" "unsupported" >&6; }
3779 else case e in #(
3780 e) if test "x$ac_cv_prog_cc_c89" = x
3781 then :
3782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3783 printf "%s\n" "none needed" >&6; }
3784 else case e in #(
3785 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3786 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3787 CC="$CC $ac_cv_prog_cc_c89" ;;
3788 esac
3789 fi
3790 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3791 ac_prog_cc_stdc=c89 ;;
3792 esac
3793 fi
3794 fi
3795
3796 ac_ext=c
3797 ac_cpp='$CPP $CPPFLAGS'
3798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801
3802
3803 ac_ext=c
3804 ac_cpp='$CPP $CPPFLAGS'
3805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3809 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3810 if test ${am_cv_prog_cc_c_o+y}
3811 then :
3812 printf %s "(cached) " >&6
3813 else case e in #(
3814 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3816
3817 int
3818 main (void)
3819 {
3820
3821 ;
3822 return 0;
3823 }
3824 _ACEOF
3825 # Make sure it works both with $CC and with simple cc.
3826 # Following AC_PROG_CC_C_O, we do the test twice because some
3827 # compilers refuse to overwrite an existing .o file with -o,
3828 # though they will create one.
3829 am_cv_prog_cc_c_o=yes
3830 for am_i in 1 2; do
3831 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3832 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3833 ac_status=$?
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } \
3836 && test -f conftest2.$ac_objext; then
3837 : OK
3838 else
3839 am_cv_prog_cc_c_o=no
3840 break
3841 fi
3842 done
3843 rm -f core conftest*
3844 unset am_i ;;
3845 esac
3846 fi
3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3848 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3849 if test "$am_cv_prog_cc_c_o" != yes; then
3850 # Losing compiler, so override with the script.
3851 # FIXME: It is wrong to rewrite CC.
3852 # But if we don't then we get into trouble of one sort or another.
3853 # A longer-term fix would be to have automake use am__CC in this case,
3854 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3855 CC="$am_aux_dir/compile $CC"
3856 fi
3857 ac_ext=c
3858 ac_cpp='$CPP $CPPFLAGS'
3859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3862
3863
3864
3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler is clang" >&5
3866 printf %s "checking whether the compiler is clang... " >&6; }
3867 if test ${gl_cv_compiler_clang+y}
3868 then :
3869 printf %s "(cached) " >&6
3870 else case e in #(
3871 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3873
3874 #ifdef __clang__
3875 barfbarf
3876 #endif
3877
3878 int
3879 main (void)
3880 {
3881
3882 ;
3883 return 0;
3884 }
3885
3886 _ACEOF
3887 if ac_fn_c_try_compile "$LINENO"
3888 then :
3889 gl_cv_compiler_clang=no
3890 else case e in #(
3891 e) gl_cv_compiler_clang=yes ;;
3892 esac
3893 fi
3894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3895 ;;
3896 esac
3897 fi
3898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_clang" >&5
3899 printf "%s\n" "$gl_cv_compiler_clang" >&6; }
3900
3901
3902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler option needed when checking for declarations" >&5
3903 printf %s "checking for compiler option needed when checking for declarations... " >&6; }
3904 if test ${gl_cv_compiler_check_decl_option+y}
3905 then :
3906 printf %s "(cached) " >&6
3907 else case e in #(
3908 e) if test $gl_cv_compiler_clang = yes; then
3909 saved_ac_compile="$ac_compile"
3910 ac_compile="$ac_compile -Werror=implicit-function-declaration"
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3913
3914 int
3915 main (void)
3916 {
3917
3918 ;
3919 return 0;
3920 }
3921 _ACEOF
3922 if ac_fn_c_try_compile "$LINENO"
3923 then :
3924 gl_cv_compiler_check_decl_option='-Werror=implicit-function-declaration'
3925 else case e in #(
3926 e) gl_cv_compiler_check_decl_option=none ;;
3927 esac
3928 fi
3929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3930 ac_compile="$saved_ac_compile"
3931 else
3932 gl_cv_compiler_check_decl_option=none
3933 fi
3934 ;;
3935 esac
3936 fi
3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_check_decl_option" >&5
3938 printf "%s\n" "$gl_cv_compiler_check_decl_option" >&6; }
3939 if test "x$gl_cv_compiler_check_decl_option" != xnone; then
3940 ac_compile_for_check_decl="$ac_compile $gl_cv_compiler_check_decl_option"
3941 else
3942 ac_compile_for_check_decl="$ac_compile"
3943 fi
3944
3945
3946 ac_ext=c
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3952 printf %s "checking how to run the C preprocessor... " >&6; }
3953 # On Suns, sometimes $CPP names a directory.
3954 if test -n "$CPP" && test -d "$CPP"; then
3955 CPP=
3956 fi
3957 if test -z "$CPP"; then
3958 if test ${ac_cv_prog_CPP+y}
3959 then :
3960 printf %s "(cached) " >&6
3961 else case e in #(
3962 e) # Double quotes because $CC needs to be expanded
3963 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
3964 do
3965 ac_preproc_ok=false
3966 for ac_c_preproc_warn_flag in '' yes
3967 do
3968 # Use a header file that comes with gcc, so configuring glibc
3969 # with a fresh cross-compiler works.
3970 # On the NeXT, cc -E runs the code through the compiler's parser,
3971 # not just through cpp. "Syntax error" is here to catch this case.
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3974 #include <limits.h>
3975 Syntax error
3976 _ACEOF
3977 if ac_fn_c_try_cpp "$LINENO"
3978 then :
3979
3980 else case e in #(
3981 e) # Broken: fails on valid input.
3982 continue ;;
3983 esac
3984 fi
3985 rm -f conftest.err conftest.i conftest.$ac_ext
3986
3987 # OK, works on sane cases. Now check whether nonexistent headers
3988 # can be detected and how.
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3991 #include <ac_nonexistent.h>
3992 _ACEOF
3993 if ac_fn_c_try_cpp "$LINENO"
3994 then :
3995 # Broken: success on invalid input.
3996 continue
3997 else case e in #(
3998 e) # Passes both tests.
3999 ac_preproc_ok=:
4000 break ;;
4001 esac
4002 fi
4003 rm -f conftest.err conftest.i conftest.$ac_ext
4004
4005 done
4006 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4007 rm -f conftest.i conftest.err conftest.$ac_ext
4008 if $ac_preproc_ok
4009 then :
4010 break
4011 fi
4012
4013 done
4014 ac_cv_prog_CPP=$CPP
4015 ;;
4016 esac
4017 fi
4018 CPP=$ac_cv_prog_CPP
4019 else
4020 ac_cv_prog_CPP=$CPP
4021 fi
4022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4023 printf "%s\n" "$CPP" >&6; }
4024 ac_preproc_ok=false
4025 for ac_c_preproc_warn_flag in '' yes
4026 do
4027 # Use a header file that comes with gcc, so configuring glibc
4028 # with a fresh cross-compiler works.
4029 # On the NeXT, cc -E runs the code through the compiler's parser,
4030 # not just through cpp. "Syntax error" is here to catch this case.
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4033 #include <limits.h>
4034 Syntax error
4035 _ACEOF
4036 if ac_fn_c_try_cpp "$LINENO"
4037 then :
4038
4039 else case e in #(
4040 e) # Broken: fails on valid input.
4041 continue ;;
4042 esac
4043 fi
4044 rm -f conftest.err conftest.i conftest.$ac_ext
4045
4046 # OK, works on sane cases. Now check whether nonexistent headers
4047 # can be detected and how.
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4050 #include <ac_nonexistent.h>
4051 _ACEOF
4052 if ac_fn_c_try_cpp "$LINENO"
4053 then :
4054 # Broken: success on invalid input.
4055 continue
4056 else case e in #(
4057 e) # Passes both tests.
4058 ac_preproc_ok=:
4059 break ;;
4060 esac
4061 fi
4062 rm -f conftest.err conftest.i conftest.$ac_ext
4063
4064 done
4065 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4066 rm -f conftest.i conftest.err conftest.$ac_ext
4067 if $ac_preproc_ok
4068 then :
4069
4070 else case e in #(
4071 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4072 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4073 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4074 See 'config.log' for more details" "$LINENO" 5; } ;;
4075 esac
4076 fi
4077
4078 ac_ext=c
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4083
4084
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5
4086 printf %s "checking how to make hard links... " >&6; }
4087 if test ${cl_cv_prog_LN+y}
4088 then :
4089 printf %s "(cached) " >&6
4090 else case e in #(
4091 e) rm -f conftestdata conftestfile
4092 echo data > conftestfile
4093 if ln conftestfile conftestdata 2>/dev/null; then
4094 cl_cv_prog_LN=ln
4095 else
4096 cl_cv_prog_LN="cp -p"
4097 fi
4098 rm -f conftestdata conftestfile
4099 ;;
4100 esac
4101 fi
4102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5
4103 printf "%s\n" "$cl_cv_prog_LN" >&6; }
4104 LN="$cl_cv_prog_LN"
4105
4106
4107
4108
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4110 printf %s "checking whether ln -s works... " >&6; }
4111 if test ${cl_cv_prog_LN_S_works+y}
4112 then :
4113 printf %s "(cached) " >&6
4114 else case e in #(
4115 e) rm -f conftestdata
4116 if ln -s X conftestdata 2>/dev/null; then
4117 cl_cv_prog_LN_S_works=yes
4118 else
4119 cl_cv_prog_LN_S_works=no
4120 fi
4121 rm -f conftestdata
4122 ;;
4123 esac
4124 fi
4125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN_S_works" >&5
4126 printf "%s\n" "$cl_cv_prog_LN_S_works" >&6; }
4127 if test $cl_cv_prog_LN_S_works = yes; then
4128 LN_S="ln -s"
4129 else
4130 LN_S="$cl_cv_prog_LN"
4131 fi
4132
4133
4134
4135 ac_header= ac_cache=
4136 for ac_item in $ac_header_c_list
4137 do
4138 if test $ac_cache; then
4139 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4140 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4141 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4142 fi
4143 ac_header= ac_cache=
4144 elif test $ac_header; then
4145 ac_cache=$ac_item
4146 else
4147 ac_header=$ac_item
4148 fi
4149 done
4150
4151
4152
4153
4154
4155
4156
4157
4158 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4159 then :
4160
4161 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4162
4163 fi
4164
4165
4166
4167
4168
4169
4170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4171 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4172 if test ${ac_cv_safe_to_define___extensions__+y}
4173 then :
4174 printf %s "(cached) " >&6
4175 else case e in #(
4176 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4178
4179 # define __EXTENSIONS__ 1
4180 $ac_includes_default
4181 int
4182 main (void)
4183 {
4184
4185 ;
4186 return 0;
4187 }
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"
4190 then :
4191 ac_cv_safe_to_define___extensions__=yes
4192 else case e in #(
4193 e) ac_cv_safe_to_define___extensions__=no ;;
4194 esac
4195 fi
4196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4197 esac
4198 fi
4199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4200 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4201
4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4203 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4204 if test ${ac_cv_should_define__xopen_source+y}
4205 then :
4206 printf %s "(cached) " >&6
4207 else case e in #(
4208 e) ac_cv_should_define__xopen_source=no
4209 if test $ac_cv_header_wchar_h = yes
4210 then :
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213
4214 #include <wchar.h>
4215 mbstate_t x;
4216 int
4217 main (void)
4218 {
4219
4220 ;
4221 return 0;
4222 }
4223 _ACEOF
4224 if ac_fn_c_try_compile "$LINENO"
4225 then :
4226
4227 else case e in #(
4228 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4230
4231 #define _XOPEN_SOURCE 500
4232 #include <wchar.h>
4233 mbstate_t x;
4234 int
4235 main (void)
4236 {
4237
4238 ;
4239 return 0;
4240 }
4241 _ACEOF
4242 if ac_fn_c_try_compile "$LINENO"
4243 then :
4244 ac_cv_should_define__xopen_source=yes
4245 fi
4246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4247 esac
4248 fi
4249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4250 fi ;;
4251 esac
4252 fi
4253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4254 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4255
4256 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4257
4258 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4259
4260 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4261
4262 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4263
4264 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4265
4266 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4267
4268 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4269
4270 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4271
4272 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4273
4274 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4275
4276 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4277
4278 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4279
4280 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4281
4282 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4283
4284 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4285
4286 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4287
4288 if test $ac_cv_header_minix_config_h = yes
4289 then :
4290 MINIX=yes
4291 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4292
4293 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4294
4295 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4296
4297 else case e in #(
4298 e) MINIX= ;;
4299 esac
4300 fi
4301 if test $ac_cv_safe_to_define___extensions__ = yes
4302 then :
4303 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4304
4305 fi
4306 if test $ac_cv_should_define__xopen_source = yes
4307 then :
4308 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4309
4310 fi
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Headers and Libraries)${term_norm}" >&5
4323 printf "%s\n" "$as_me: ${term_bold}** Dbus (Headers and Libraries)${term_norm}" >&6;}
4324
4325
4326
4327 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4328 if test -n "$ac_tool_prefix"; then
4329 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4332 printf %s "checking for $ac_word... " >&6; }
4333 if test ${ac_cv_path_PKG_CONFIG+y}
4334 then :
4335 printf %s "(cached) " >&6
4336 else case e in #(
4337 e) case $PKG_CONFIG in
4338 [\\/]* | ?:[\\/]*)
4339 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4340 ;;
4341 *)
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4344 do
4345 IFS=$as_save_IFS
4346 case $as_dir in #(((
4347 '') as_dir=./ ;;
4348 */) ;;
4349 *) as_dir=$as_dir/ ;;
4350 esac
4351 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4353 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4355 break 2
4356 fi
4357 done
4358 done
4359 IFS=$as_save_IFS
4360
4361 ;;
4362 esac ;;
4363 esac
4364 fi
4365 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4366 if test -n "$PKG_CONFIG"; then
4367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4368 printf "%s\n" "$PKG_CONFIG" >&6; }
4369 else
4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 printf "%s\n" "no" >&6; }
4372 fi
4373
4374
4375 fi
4376 if test -z "$ac_cv_path_PKG_CONFIG"; then
4377 ac_pt_PKG_CONFIG=$PKG_CONFIG
4378 # Extract the first word of "pkg-config", so it can be a program name with args.
4379 set dummy pkg-config; ac_word=$2
4380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 printf %s "checking for $ac_word... " >&6; }
4382 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4383 then :
4384 printf %s "(cached) " >&6
4385 else case e in #(
4386 e) case $ac_pt_PKG_CONFIG in
4387 [\\/]* | ?:[\\/]*)
4388 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4389 ;;
4390 *)
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $PATH
4393 do
4394 IFS=$as_save_IFS
4395 case $as_dir in #(((
4396 '') as_dir=./ ;;
4397 */) ;;
4398 *) as_dir=$as_dir/ ;;
4399 esac
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4402 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4404 break 2
4405 fi
4406 done
4407 done
4408 IFS=$as_save_IFS
4409
4410 ;;
4411 esac ;;
4412 esac
4413 fi
4414 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4415 if test -n "$ac_pt_PKG_CONFIG"; then
4416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4417 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4418 else
4419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 printf "%s\n" "no" >&6; }
4421 fi
4422
4423 if test "x$ac_pt_PKG_CONFIG" = x; then
4424 PKG_CONFIG=""
4425 else
4426 case $cross_compiling:$ac_tool_warned in
4427 yes:)
4428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4429 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4430 ac_tool_warned=yes ;;
4431 esac
4432 PKG_CONFIG=$ac_pt_PKG_CONFIG
4433 fi
4434 else
4435 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4436 fi
4437
4438 fi
4439 if test -n "$PKG_CONFIG"; then
4440 _pkg_min_version=0.9.0
4441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4442 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4443 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4445 printf "%s\n" "yes" >&6; }
4446 else
4447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 printf "%s\n" "no" >&6; }
4449 PKG_CONFIG=""
4450 fi
4451
4452 fi
4453
4454 pkg_failed=no
4455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
4456 printf %s "checking for DBUS... " >&6; }
4457
4458 if test -n "$DBUS_CFLAGS"; then
4459 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
4460 elif test -n "$PKG_CONFIG"; then
4461 if test -n "$PKG_CONFIG" && \
4462 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
4463 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
4464 ac_status=$?
4465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }; then
4467 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
4468 else
4469 pkg_failed=yes
4470 fi
4471 else
4472 pkg_failed=untried
4473 fi
4474 if test -n "$DBUS_LIBS"; then
4475 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
4476 elif test -n "$PKG_CONFIG"; then
4477 if test -n "$PKG_CONFIG" && \
4478 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
4479 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
4480 ac_status=$?
4481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4482 test $ac_status = 0; }; then
4483 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
4484 else
4485 pkg_failed=yes
4486 fi
4487 else
4488 pkg_failed=untried
4489 fi
4490
4491
4492
4493 if test $pkg_failed = yes; then
4494
4495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4496 _pkg_short_errors_supported=yes
4497 else
4498 _pkg_short_errors_supported=no
4499 fi
4500 if test $_pkg_short_errors_supported = yes; then
4501 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
4502 else
4503 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1`
4504 fi
4505 # Put the nasty error message in config.log where it belongs
4506 echo "$DBUS_PKG_ERRORS" >&5
4507
4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 printf "%s\n" "no" >&6; }
4510 as_fn_error $? "cannot find D-Bus" "$LINENO" 5
4511 elif test $pkg_failed = untried; then
4512 as_fn_error $? "cannot find D-Bus" "$LINENO" 5
4513 else
4514 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4515 DBUS_LIBS=$pkg_cv_DBUS_LIBS
4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4517 printf "%s\n" "yes" >&6; }
4518 :
4519 fi
4520
4521
4522 dbus_save_CFLAGS=$CFLAGS
4523
4524 for element in $DBUS_CFLAGS; do
4525 haveit=
4526 for x in $CFLAGS; do
4527
4528 acl_saved_prefix="$prefix"
4529 prefix="$acl_final_prefix"
4530 acl_saved_exec_prefix="$exec_prefix"
4531 exec_prefix="$acl_final_exec_prefix"
4532 eval x=\"$x\"
4533 exec_prefix="$acl_saved_exec_prefix"
4534 prefix="$acl_saved_prefix"
4535
4536 if test "X$x" = "X$element"; then
4537 haveit=yes
4538 break
4539 fi
4540 done
4541 if test -z "$haveit"; then
4542 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
4543 fi
4544 done
4545
4546 ac_fn_c_check_type "$LINENO" "dbus_int64_t" "ac_cv_type_dbus_int64_t" "#include <dbus/dbus.h>
4547 "
4548 if test "x$ac_cv_type_dbus_int64_t" = xyes
4549 then :
4550
4551 printf "%s\n" "#define HAVE_DBUS_INT64_T 1" >>confdefs.h
4552
4553
4554 fi
4555 ac_fn_c_check_type "$LINENO" "dbus_int32_t" "ac_cv_type_dbus_int32_t" "#include <dbus/dbus.h>
4556 "
4557 if test "x$ac_cv_type_dbus_int32_t" = xyes
4558 then :
4559
4560 printf "%s\n" "#define HAVE_DBUS_INT32_T 1" >>confdefs.h
4561
4562
4563 fi
4564 ac_fn_c_check_type "$LINENO" "dbus_uint32_t" "ac_cv_type_dbus_uint32_t" "#include <dbus/dbus.h>
4565 "
4566 if test "x$ac_cv_type_dbus_uint32_t" = xyes
4567 then :
4568
4569 printf "%s\n" "#define HAVE_DBUS_UINT32_T 1" >>confdefs.h
4570
4571
4572 fi
4573 ac_fn_c_check_type "$LINENO" "dbus_int16_t" "ac_cv_type_dbus_int16_t" "#include <dbus/dbus.h>
4574 "
4575 if test "x$ac_cv_type_dbus_int16_t" = xyes
4576 then :
4577
4578 printf "%s\n" "#define HAVE_DBUS_INT16_T 1" >>confdefs.h
4579
4580
4581 fi
4582 ac_fn_c_check_type "$LINENO" "dbus_unichar_t" "ac_cv_type_dbus_unichar_t" "#include <dbus/dbus.h>
4583 "
4584 if test "x$ac_cv_type_dbus_unichar_t" = xyes
4585 then :
4586
4587 printf "%s\n" "#define HAVE_DBUS_UNICHAR_T 1" >>confdefs.h
4588
4589
4590 fi
4591 ac_fn_c_check_type "$LINENO" "dbus_bool_t" "ac_cv_type_dbus_bool_t" "#include <dbus/dbus.h>
4592 "
4593 if test "x$ac_cv_type_dbus_bool_t" = xyes
4594 then :
4595
4596 printf "%s\n" "#define HAVE_DBUS_BOOL_T 1" >>confdefs.h
4597
4598
4599 fi
4600
4601 CFLAGS=$dbus_save_CFLAGS
4602
4603
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Functions)${term_norm}" >&5
4605 printf "%s\n" "$as_me: ${term_bold}** Dbus (Functions)${term_norm}" >&6;}
4606
4607 dbus_save_LIB=$LIBS
4608
4609 for element in $DBUS_LIBS; do
4610 haveit=
4611 for x in $LIBS; do
4612
4613 acl_saved_prefix="$prefix"
4614 prefix="$acl_final_prefix"
4615 acl_saved_exec_prefix="$exec_prefix"
4616 exec_prefix="$acl_final_exec_prefix"
4617 eval x=\"$x\"
4618 exec_prefix="$acl_saved_exec_prefix"
4619 prefix="$acl_saved_prefix"
4620
4621 if test "X$x" = "X$element"; then
4622 haveit=yes
4623 break
4624 fi
4625 done
4626 if test -z "$haveit"; then
4627 LIBS="${LIBS}${LIBS:+ }$element"
4628 fi
4629 done
4630
4631 ac_fn_c_check_func "$LINENO" "dbus_error_init" "ac_cv_func_dbus_error_init"
4632 if test "x$ac_cv_func_dbus_error_init" = xyes
4633 then :
4634 printf "%s\n" "#define HAVE_DBUS_ERROR_INIT 1" >>confdefs.h
4635
4636 fi
4637 ac_fn_c_check_func "$LINENO" "dbus_error_free" "ac_cv_func_dbus_error_free"
4638 if test "x$ac_cv_func_dbus_error_free" = xyes
4639 then :
4640 printf "%s\n" "#define HAVE_DBUS_ERROR_FREE 1" >>confdefs.h
4641
4642 fi
4643 ac_fn_c_check_func "$LINENO" "dbus_set_error" "ac_cv_func_dbus_set_error"
4644 if test "x$ac_cv_func_dbus_set_error" = xyes
4645 then :
4646 printf "%s\n" "#define HAVE_DBUS_SET_ERROR 1" >>confdefs.h
4647
4648 fi
4649 ac_fn_c_check_func "$LINENO" "dbus_set_error_const" "ac_cv_func_dbus_set_error_const"
4650 if test "x$ac_cv_func_dbus_set_error_const" = xyes
4651 then :
4652 printf "%s\n" "#define HAVE_DBUS_SET_ERROR_CONST 1" >>confdefs.h
4653
4654 fi
4655 ac_fn_c_check_func "$LINENO" "dbus_move_error" "ac_cv_func_dbus_move_error"
4656 if test "x$ac_cv_func_dbus_move_error" = xyes
4657 then :
4658 printf "%s\n" "#define HAVE_DBUS_MOVE_ERROR 1" >>confdefs.h
4659
4660 fi
4661 ac_fn_c_check_func "$LINENO" "dbus_error_has_name" "ac_cv_func_dbus_error_has_name"
4662 if test "x$ac_cv_func_dbus_error_has_name" = xyes
4663 then :
4664 printf "%s\n" "#define HAVE_DBUS_ERROR_HAS_NAME 1" >>confdefs.h
4665
4666 fi
4667 ac_fn_c_check_func "$LINENO" "dbus_error_is_set" "ac_cv_func_dbus_error_is_set"
4668 if test "x$ac_cv_func_dbus_error_is_set" = xyes
4669 then :
4670 printf "%s\n" "#define HAVE_DBUS_ERROR_IS_SET 1" >>confdefs.h
4671
4672 fi
4673 ac_fn_c_check_func "$LINENO" "dbus_parse_address" "ac_cv_func_dbus_parse_address"
4674 if test "x$ac_cv_func_dbus_parse_address" = xyes
4675 then :
4676 printf "%s\n" "#define HAVE_DBUS_PARSE_ADDRESS 1" >>confdefs.h
4677
4678 fi
4679 ac_fn_c_check_func "$LINENO" "dbus_address_entry_get_value" "ac_cv_func_dbus_address_entry_get_value"
4680 if test "x$ac_cv_func_dbus_address_entry_get_value" = xyes
4681 then :
4682 printf "%s\n" "#define HAVE_DBUS_ADDRESS_ENTRY_GET_VALUE 1" >>confdefs.h
4683
4684 fi
4685 ac_fn_c_check_func "$LINENO" "dbus_address_entry_get_method" "ac_cv_func_dbus_address_entry_get_method"
4686 if test "x$ac_cv_func_dbus_address_entry_get_method" = xyes
4687 then :
4688 printf "%s\n" "#define HAVE_DBUS_ADDRESS_ENTRY_GET_METHOD 1" >>confdefs.h
4689
4690 fi
4691 ac_fn_c_check_func "$LINENO" "dbus_address_entries_free" "ac_cv_func_dbus_address_entries_free"
4692 if test "x$ac_cv_func_dbus_address_entries_free" = xyes
4693 then :
4694 printf "%s\n" "#define HAVE_DBUS_ADDRESS_ENTRIES_FREE 1" >>confdefs.h
4695
4696 fi
4697 ac_fn_c_check_func "$LINENO" "dbus_address_escape_value" "ac_cv_func_dbus_address_escape_value"
4698 if test "x$ac_cv_func_dbus_address_escape_value" = xyes
4699 then :
4700 printf "%s\n" "#define HAVE_DBUS_ADDRESS_ESCAPE_VALUE 1" >>confdefs.h
4701
4702 fi
4703 ac_fn_c_check_func "$LINENO" "dbus_address_unescape_value" "ac_cv_func_dbus_address_unescape_value"
4704 if test "x$ac_cv_func_dbus_address_unescape_value" = xyes
4705 then :
4706 printf "%s\n" "#define HAVE_DBUS_ADDRESS_UNESCAPE_VALUE 1" >>confdefs.h
4707
4708 fi
4709 ac_fn_c_check_func "$LINENO" "dbus_malloc" "ac_cv_func_dbus_malloc"
4710 if test "x$ac_cv_func_dbus_malloc" = xyes
4711 then :
4712 printf "%s\n" "#define HAVE_DBUS_MALLOC 1" >>confdefs.h
4713
4714 fi
4715 ac_fn_c_check_func "$LINENO" "dbus_malloc0" "ac_cv_func_dbus_malloc0"
4716 if test "x$ac_cv_func_dbus_malloc0" = xyes
4717 then :
4718 printf "%s\n" "#define HAVE_DBUS_MALLOC0 1" >>confdefs.h
4719
4720 fi
4721 ac_fn_c_check_func "$LINENO" "dbus_realloc" "ac_cv_func_dbus_realloc"
4722 if test "x$ac_cv_func_dbus_realloc" = xyes
4723 then :
4724 printf "%s\n" "#define HAVE_DBUS_REALLOC 1" >>confdefs.h
4725
4726 fi
4727 ac_fn_c_check_func "$LINENO" "dbus_free" "ac_cv_func_dbus_free"
4728 if test "x$ac_cv_func_dbus_free" = xyes
4729 then :
4730 printf "%s\n" "#define HAVE_DBUS_FREE 1" >>confdefs.h
4731
4732 fi
4733 ac_fn_c_check_func "$LINENO" "dbus_free_string_array" "ac_cv_func_dbus_free_string_array"
4734 if test "x$ac_cv_func_dbus_free_string_array" = xyes
4735 then :
4736 printf "%s\n" "#define HAVE_DBUS_FREE_STRING_ARRAY 1" >>confdefs.h
4737
4738 fi
4739 ac_fn_c_check_func "$LINENO" "dbus_shutdown" "ac_cv_func_dbus_shutdown"
4740 if test "x$ac_cv_func_dbus_shutdown" = xyes
4741 then :
4742 printf "%s\n" "#define HAVE_DBUS_SHUTDOWN 1" >>confdefs.h
4743
4744 fi
4745 ac_fn_c_check_func "$LINENO" "dbus_message_new" "ac_cv_func_dbus_message_new"
4746 if test "x$ac_cv_func_dbus_message_new" = xyes
4747 then :
4748 printf "%s\n" "#define HAVE_DBUS_MESSAGE_NEW 1" >>confdefs.h
4749
4750 fi
4751 ac_fn_c_check_func "$LINENO" "dbus_message_new_method_call" "ac_cv_func_dbus_message_new_method_call"
4752 if test "x$ac_cv_func_dbus_message_new_method_call" = xyes
4753 then :
4754 printf "%s\n" "#define HAVE_DBUS_MESSAGE_NEW_METHOD_CALL 1" >>confdefs.h
4755
4756 fi
4757 ac_fn_c_check_func "$LINENO" "dbus_message_new_method_return" "ac_cv_func_dbus_message_new_method_return"
4758 if test "x$ac_cv_func_dbus_message_new_method_return" = xyes
4759 then :
4760 printf "%s\n" "#define HAVE_DBUS_MESSAGE_NEW_METHOD_RETURN 1" >>confdefs.h
4761
4762 fi
4763 ac_fn_c_check_func "$LINENO" "dbus_message_new_signal" "ac_cv_func_dbus_message_new_signal"
4764 if test "x$ac_cv_func_dbus_message_new_signal" = xyes
4765 then :
4766 printf "%s\n" "#define HAVE_DBUS_MESSAGE_NEW_SIGNAL 1" >>confdefs.h
4767
4768 fi
4769 ac_fn_c_check_func "$LINENO" "dbus_message_new_error" "ac_cv_func_dbus_message_new_error"
4770 if test "x$ac_cv_func_dbus_message_new_error" = xyes
4771 then :
4772 printf "%s\n" "#define HAVE_DBUS_MESSAGE_NEW_ERROR 1" >>confdefs.h
4773
4774 fi
4775 ac_fn_c_check_func "$LINENO" "dbus_message_copy" "ac_cv_func_dbus_message_copy"
4776 if test "x$ac_cv_func_dbus_message_copy" = xyes
4777 then :
4778 printf "%s\n" "#define HAVE_DBUS_MESSAGE_COPY 1" >>confdefs.h
4779
4780 fi
4781 ac_fn_c_check_func "$LINENO" "dbus_message_ref" "ac_cv_func_dbus_message_ref"
4782 if test "x$ac_cv_func_dbus_message_ref" = xyes
4783 then :
4784 printf "%s\n" "#define HAVE_DBUS_MESSAGE_REF 1" >>confdefs.h
4785
4786 fi
4787 ac_fn_c_check_func "$LINENO" "dbus_message_unref" "ac_cv_func_dbus_message_unref"
4788 if test "x$ac_cv_func_dbus_message_unref" = xyes
4789 then :
4790 printf "%s\n" "#define HAVE_DBUS_MESSAGE_UNREF 1" >>confdefs.h
4791
4792 fi
4793 ac_fn_c_check_func "$LINENO" "dbus_message_get_type" "ac_cv_func_dbus_message_get_type"
4794 if test "x$ac_cv_func_dbus_message_get_type" = xyes
4795 then :
4796 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_TYPE 1" >>confdefs.h
4797
4798 fi
4799 ac_fn_c_check_func "$LINENO" "dbus_message_set_path" "ac_cv_func_dbus_message_set_path"
4800 if test "x$ac_cv_func_dbus_message_set_path" = xyes
4801 then :
4802 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_PATH 1" >>confdefs.h
4803
4804 fi
4805 ac_fn_c_check_func "$LINENO" "dbus_message_get_path" "ac_cv_func_dbus_message_get_path"
4806 if test "x$ac_cv_func_dbus_message_get_path" = xyes
4807 then :
4808 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_PATH 1" >>confdefs.h
4809
4810 fi
4811 ac_fn_c_check_func "$LINENO" "dbus_message_has_path" "ac_cv_func_dbus_message_has_path"
4812 if test "x$ac_cv_func_dbus_message_has_path" = xyes
4813 then :
4814 printf "%s\n" "#define HAVE_DBUS_MESSAGE_HAS_PATH 1" >>confdefs.h
4815
4816 fi
4817 ac_fn_c_check_func "$LINENO" "dbus_message_set_interface" "ac_cv_func_dbus_message_set_interface"
4818 if test "x$ac_cv_func_dbus_message_set_interface" = xyes
4819 then :
4820 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_INTERFACE 1" >>confdefs.h
4821
4822 fi
4823 ac_fn_c_check_func "$LINENO" "dbus_message_get_interface" "ac_cv_func_dbus_message_get_interface"
4824 if test "x$ac_cv_func_dbus_message_get_interface" = xyes
4825 then :
4826 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_INTERFACE 1" >>confdefs.h
4827
4828 fi
4829 ac_fn_c_check_func "$LINENO" "dbus_message_has_interface" "ac_cv_func_dbus_message_has_interface"
4830 if test "x$ac_cv_func_dbus_message_has_interface" = xyes
4831 then :
4832 printf "%s\n" "#define HAVE_DBUS_MESSAGE_HAS_INTERFACE 1" >>confdefs.h
4833
4834 fi
4835 ac_fn_c_check_func "$LINENO" "dbus_message_set_member" "ac_cv_func_dbus_message_set_member"
4836 if test "x$ac_cv_func_dbus_message_set_member" = xyes
4837 then :
4838 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_MEMBER 1" >>confdefs.h
4839
4840 fi
4841 ac_fn_c_check_func "$LINENO" "dbus_message_get_member" "ac_cv_func_dbus_message_get_member"
4842 if test "x$ac_cv_func_dbus_message_get_member" = xyes
4843 then :
4844 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_MEMBER 1" >>confdefs.h
4845
4846 fi
4847 ac_fn_c_check_func "$LINENO" "dbus_message_has_member" "ac_cv_func_dbus_message_has_member"
4848 if test "x$ac_cv_func_dbus_message_has_member" = xyes
4849 then :
4850 printf "%s\n" "#define HAVE_DBUS_MESSAGE_HAS_MEMBER 1" >>confdefs.h
4851
4852 fi
4853 ac_fn_c_check_func "$LINENO" "dbus_message_set_error_name" "ac_cv_func_dbus_message_set_error_name"
4854 if test "x$ac_cv_func_dbus_message_set_error_name" = xyes
4855 then :
4856 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_ERROR_NAME 1" >>confdefs.h
4857
4858 fi
4859 ac_fn_c_check_func "$LINENO" "dbus_message_get_error_name" "ac_cv_func_dbus_message_get_error_name"
4860 if test "x$ac_cv_func_dbus_message_get_error_name" = xyes
4861 then :
4862 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_ERROR_NAME 1" >>confdefs.h
4863
4864 fi
4865 ac_fn_c_check_func "$LINENO" "dbus_message_set_destination" "ac_cv_func_dbus_message_set_destination"
4866 if test "x$ac_cv_func_dbus_message_set_destination" = xyes
4867 then :
4868 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_DESTINATION 1" >>confdefs.h
4869
4870 fi
4871 ac_fn_c_check_func "$LINENO" "dbus_message_get_destination" "ac_cv_func_dbus_message_get_destination"
4872 if test "x$ac_cv_func_dbus_message_get_destination" = xyes
4873 then :
4874 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_DESTINATION 1" >>confdefs.h
4875
4876 fi
4877 ac_fn_c_check_func "$LINENO" "dbus_message_set_sender" "ac_cv_func_dbus_message_set_sender"
4878 if test "x$ac_cv_func_dbus_message_set_sender" = xyes
4879 then :
4880 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_SENDER 1" >>confdefs.h
4881
4882 fi
4883 ac_fn_c_check_func "$LINENO" "dbus_message_get_sender" "ac_cv_func_dbus_message_get_sender"
4884 if test "x$ac_cv_func_dbus_message_get_sender" = xyes
4885 then :
4886 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_SENDER 1" >>confdefs.h
4887
4888 fi
4889 ac_fn_c_check_func "$LINENO" "dbus_message_get_signature" "ac_cv_func_dbus_message_get_signature"
4890 if test "x$ac_cv_func_dbus_message_get_signature" = xyes
4891 then :
4892 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_SIGNATURE 1" >>confdefs.h
4893
4894 fi
4895 ac_fn_c_check_func "$LINENO" "dbus_message_set_no_reply" "ac_cv_func_dbus_message_set_no_reply"
4896 if test "x$ac_cv_func_dbus_message_set_no_reply" = xyes
4897 then :
4898 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_NO_REPLY 1" >>confdefs.h
4899
4900 fi
4901 ac_fn_c_check_func "$LINENO" "dbus_message_get_no_reply" "ac_cv_func_dbus_message_get_no_reply"
4902 if test "x$ac_cv_func_dbus_message_get_no_reply" = xyes
4903 then :
4904 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_NO_REPLY 1" >>confdefs.h
4905
4906 fi
4907 ac_fn_c_check_func "$LINENO" "dbus_message_is_method_call" "ac_cv_func_dbus_message_is_method_call"
4908 if test "x$ac_cv_func_dbus_message_is_method_call" = xyes
4909 then :
4910 printf "%s\n" "#define HAVE_DBUS_MESSAGE_IS_METHOD_CALL 1" >>confdefs.h
4911
4912 fi
4913 ac_fn_c_check_func "$LINENO" "dbus_message_is_signal" "ac_cv_func_dbus_message_is_signal"
4914 if test "x$ac_cv_func_dbus_message_is_signal" = xyes
4915 then :
4916 printf "%s\n" "#define HAVE_DBUS_MESSAGE_IS_SIGNAL 1" >>confdefs.h
4917
4918 fi
4919 ac_fn_c_check_func "$LINENO" "dbus_message_is_error" "ac_cv_func_dbus_message_is_error"
4920 if test "x$ac_cv_func_dbus_message_is_error" = xyes
4921 then :
4922 printf "%s\n" "#define HAVE_DBUS_MESSAGE_IS_ERROR 1" >>confdefs.h
4923
4924 fi
4925 ac_fn_c_check_func "$LINENO" "dbus_message_has_destination" "ac_cv_func_dbus_message_has_destination"
4926 if test "x$ac_cv_func_dbus_message_has_destination" = xyes
4927 then :
4928 printf "%s\n" "#define HAVE_DBUS_MESSAGE_HAS_DESTINATION 1" >>confdefs.h
4929
4930 fi
4931 ac_fn_c_check_func "$LINENO" "dbus_message_has_sender" "ac_cv_func_dbus_message_has_sender"
4932 if test "x$ac_cv_func_dbus_message_has_sender" = xyes
4933 then :
4934 printf "%s\n" "#define HAVE_DBUS_MESSAGE_HAS_SENDER 1" >>confdefs.h
4935
4936 fi
4937 ac_fn_c_check_func "$LINENO" "dbus_message_has_signature" "ac_cv_func_dbus_message_has_signature"
4938 if test "x$ac_cv_func_dbus_message_has_signature" = xyes
4939 then :
4940 printf "%s\n" "#define HAVE_DBUS_MESSAGE_HAS_SIGNATURE 1" >>confdefs.h
4941
4942 fi
4943 ac_fn_c_check_func "$LINENO" "dbus_message_get_serial" "ac_cv_func_dbus_message_get_serial"
4944 if test "x$ac_cv_func_dbus_message_get_serial" = xyes
4945 then :
4946 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_SERIAL 1" >>confdefs.h
4947
4948 fi
4949 ac_fn_c_check_func "$LINENO" "dbus_message_set_serial" "ac_cv_func_dbus_message_set_serial"
4950 if test "x$ac_cv_func_dbus_message_set_serial" = xyes
4951 then :
4952 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_SERIAL 1" >>confdefs.h
4953
4954 fi
4955 ac_fn_c_check_func "$LINENO" "dbus_message_set_reply_serial" "ac_cv_func_dbus_message_set_reply_serial"
4956 if test "x$ac_cv_func_dbus_message_set_reply_serial" = xyes
4957 then :
4958 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_REPLY_SERIAL 1" >>confdefs.h
4959
4960 fi
4961 ac_fn_c_check_func "$LINENO" "dbus_message_get_reply_serial" "ac_cv_func_dbus_message_get_reply_serial"
4962 if test "x$ac_cv_func_dbus_message_get_reply_serial" = xyes
4963 then :
4964 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_REPLY_SERIAL 1" >>confdefs.h
4965
4966 fi
4967 ac_fn_c_check_func "$LINENO" "dbus_message_set_auto_start" "ac_cv_func_dbus_message_set_auto_start"
4968 if test "x$ac_cv_func_dbus_message_set_auto_start" = xyes
4969 then :
4970 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_AUTO_START 1" >>confdefs.h
4971
4972 fi
4973 ac_fn_c_check_func "$LINENO" "dbus_message_get_auto_start" "ac_cv_func_dbus_message_get_auto_start"
4974 if test "x$ac_cv_func_dbus_message_get_auto_start" = xyes
4975 then :
4976 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_AUTO_START 1" >>confdefs.h
4977
4978 fi
4979 ac_fn_c_check_func "$LINENO" "dbus_message_get_path_decomposed" "ac_cv_func_dbus_message_get_path_decomposed"
4980 if test "x$ac_cv_func_dbus_message_get_path_decomposed" = xyes
4981 then :
4982 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_PATH_DECOMPOSED 1" >>confdefs.h
4983
4984 fi
4985 ac_fn_c_check_func "$LINENO" "dbus_message_append_args" "ac_cv_func_dbus_message_append_args"
4986 if test "x$ac_cv_func_dbus_message_append_args" = xyes
4987 then :
4988 printf "%s\n" "#define HAVE_DBUS_MESSAGE_APPEND_ARGS 1" >>confdefs.h
4989
4990 fi
4991 ac_fn_c_check_func "$LINENO" "dbus_message_append_args_valist" "ac_cv_func_dbus_message_append_args_valist"
4992 if test "x$ac_cv_func_dbus_message_append_args_valist" = xyes
4993 then :
4994 printf "%s\n" "#define HAVE_DBUS_MESSAGE_APPEND_ARGS_VALIST 1" >>confdefs.h
4995
4996 fi
4997 ac_fn_c_check_func "$LINENO" "dbus_message_get_args" "ac_cv_func_dbus_message_get_args"
4998 if test "x$ac_cv_func_dbus_message_get_args" = xyes
4999 then :
5000 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_ARGS 1" >>confdefs.h
5001
5002 fi
5003 ac_fn_c_check_func "$LINENO" "dbus_message_get_args_valist" "ac_cv_func_dbus_message_get_args_valist"
5004 if test "x$ac_cv_func_dbus_message_get_args_valist" = xyes
5005 then :
5006 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_ARGS_VALIST 1" >>confdefs.h
5007
5008 fi
5009 ac_fn_c_check_func "$LINENO" "dbus_message_iter_init" "ac_cv_func_dbus_message_iter_init"
5010 if test "x$ac_cv_func_dbus_message_iter_init" = xyes
5011 then :
5012 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_INIT 1" >>confdefs.h
5013
5014 fi
5015 ac_fn_c_check_func "$LINENO" "dbus_message_iter_has_next" "ac_cv_func_dbus_message_iter_has_next"
5016 if test "x$ac_cv_func_dbus_message_iter_has_next" = xyes
5017 then :
5018 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_HAS_NEXT 1" >>confdefs.h
5019
5020 fi
5021 ac_fn_c_check_func "$LINENO" "dbus_message_iter_next" "ac_cv_func_dbus_message_iter_next"
5022 if test "x$ac_cv_func_dbus_message_iter_next" = xyes
5023 then :
5024 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_NEXT 1" >>confdefs.h
5025
5026 fi
5027 ac_fn_c_check_func "$LINENO" "dbus_message_iter_get_signature" "ac_cv_func_dbus_message_iter_get_signature"
5028 if test "x$ac_cv_func_dbus_message_iter_get_signature" = xyes
5029 then :
5030 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_GET_SIGNATURE 1" >>confdefs.h
5031
5032 fi
5033 ac_fn_c_check_func "$LINENO" "dbus_message_iter_get_arg_type" "ac_cv_func_dbus_message_iter_get_arg_type"
5034 if test "x$ac_cv_func_dbus_message_iter_get_arg_type" = xyes
5035 then :
5036 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_GET_ARG_TYPE 1" >>confdefs.h
5037
5038 fi
5039 ac_fn_c_check_func "$LINENO" "dbus_message_iter_get_element_type" "ac_cv_func_dbus_message_iter_get_element_type"
5040 if test "x$ac_cv_func_dbus_message_iter_get_element_type" = xyes
5041 then :
5042 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_GET_ELEMENT_TYPE 1" >>confdefs.h
5043
5044 fi
5045 ac_fn_c_check_func "$LINENO" "dbus_message_iter_recurse" "ac_cv_func_dbus_message_iter_recurse"
5046 if test "x$ac_cv_func_dbus_message_iter_recurse" = xyes
5047 then :
5048 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_RECURSE 1" >>confdefs.h
5049
5050 fi
5051 ac_fn_c_check_func "$LINENO" "dbus_message_iter_get_basic" "ac_cv_func_dbus_message_iter_get_basic"
5052 if test "x$ac_cv_func_dbus_message_iter_get_basic" = xyes
5053 then :
5054 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_GET_BASIC 1" >>confdefs.h
5055
5056 fi
5057 ac_fn_c_check_func "$LINENO" "dbus_message_iter_get_fixed_array" "ac_cv_func_dbus_message_iter_get_fixed_array"
5058 if test "x$ac_cv_func_dbus_message_iter_get_fixed_array" = xyes
5059 then :
5060 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_GET_FIXED_ARRAY 1" >>confdefs.h
5061
5062 fi
5063 ac_fn_c_check_func "$LINENO" "dbus_message_iter_init_append" "ac_cv_func_dbus_message_iter_init_append"
5064 if test "x$ac_cv_func_dbus_message_iter_init_append" = xyes
5065 then :
5066 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_INIT_APPEND 1" >>confdefs.h
5067
5068 fi
5069 ac_fn_c_check_func "$LINENO" "dbus_message_iter_append_basic" "ac_cv_func_dbus_message_iter_append_basic"
5070 if test "x$ac_cv_func_dbus_message_iter_append_basic" = xyes
5071 then :
5072 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_APPEND_BASIC 1" >>confdefs.h
5073
5074 fi
5075 ac_fn_c_check_func "$LINENO" "dbus_message_iter_append_fixed_array" "ac_cv_func_dbus_message_iter_append_fixed_array"
5076 if test "x$ac_cv_func_dbus_message_iter_append_fixed_array" = xyes
5077 then :
5078 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_APPEND_FIXED_ARRAY 1" >>confdefs.h
5079
5080 fi
5081 ac_fn_c_check_func "$LINENO" "dbus_message_iter_open_container" "ac_cv_func_dbus_message_iter_open_container"
5082 if test "x$ac_cv_func_dbus_message_iter_open_container" = xyes
5083 then :
5084 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_OPEN_CONTAINER 1" >>confdefs.h
5085
5086 fi
5087 ac_fn_c_check_func "$LINENO" "dbus_message_iter_close_container" "ac_cv_func_dbus_message_iter_close_container"
5088 if test "x$ac_cv_func_dbus_message_iter_close_container" = xyes
5089 then :
5090 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ITER_CLOSE_CONTAINER 1" >>confdefs.h
5091
5092 fi
5093 ac_fn_c_check_func "$LINENO" "dbus_message_lock" "ac_cv_func_dbus_message_lock"
5094 if test "x$ac_cv_func_dbus_message_lock" = xyes
5095 then :
5096 printf "%s\n" "#define HAVE_DBUS_MESSAGE_LOCK 1" >>confdefs.h
5097
5098 fi
5099 ac_fn_c_check_func "$LINENO" "dbus_set_error_from_message" "ac_cv_func_dbus_set_error_from_message"
5100 if test "x$ac_cv_func_dbus_set_error_from_message" = xyes
5101 then :
5102 printf "%s\n" "#define HAVE_DBUS_SET_ERROR_FROM_MESSAGE 1" >>confdefs.h
5103
5104 fi
5105 ac_fn_c_check_func "$LINENO" "dbus_message_allocate_data_slot" "ac_cv_func_dbus_message_allocate_data_slot"
5106 if test "x$ac_cv_func_dbus_message_allocate_data_slot" = xyes
5107 then :
5108 printf "%s\n" "#define HAVE_DBUS_MESSAGE_ALLOCATE_DATA_SLOT 1" >>confdefs.h
5109
5110 fi
5111 ac_fn_c_check_func "$LINENO" "dbus_message_free_data_slot" "ac_cv_func_dbus_message_free_data_slot"
5112 if test "x$ac_cv_func_dbus_message_free_data_slot" = xyes
5113 then :
5114 printf "%s\n" "#define HAVE_DBUS_MESSAGE_FREE_DATA_SLOT 1" >>confdefs.h
5115
5116 fi
5117 ac_fn_c_check_func "$LINENO" "dbus_message_set_data" "ac_cv_func_dbus_message_set_data"
5118 if test "x$ac_cv_func_dbus_message_set_data" = xyes
5119 then :
5120 printf "%s\n" "#define HAVE_DBUS_MESSAGE_SET_DATA 1" >>confdefs.h
5121
5122 fi
5123 ac_fn_c_check_func "$LINENO" "dbus_message_get_data" "ac_cv_func_dbus_message_get_data"
5124 if test "x$ac_cv_func_dbus_message_get_data" = xyes
5125 then :
5126 printf "%s\n" "#define HAVE_DBUS_MESSAGE_GET_DATA 1" >>confdefs.h
5127
5128 fi
5129 ac_fn_c_check_func "$LINENO" "dbus_message_type_from_string" "ac_cv_func_dbus_message_type_from_string"
5130 if test "x$ac_cv_func_dbus_message_type_from_string" = xyes
5131 then :
5132 printf "%s\n" "#define HAVE_DBUS_MESSAGE_TYPE_FROM_STRING 1" >>confdefs.h
5133
5134 fi
5135 ac_fn_c_check_func "$LINENO" "dbus_message_type_to_string" "ac_cv_func_dbus_message_type_to_string"
5136 if test "x$ac_cv_func_dbus_message_type_to_string" = xyes
5137 then :
5138 printf "%s\n" "#define HAVE_DBUS_MESSAGE_TYPE_TO_STRING 1" >>confdefs.h
5139
5140 fi
5141 ac_fn_c_check_func "$LINENO" "dbus_message_marshal" "ac_cv_func_dbus_message_marshal"
5142 if test "x$ac_cv_func_dbus_message_marshal" = xyes
5143 then :
5144 printf "%s\n" "#define HAVE_DBUS_MESSAGE_MARSHAL 1" >>confdefs.h
5145
5146 fi
5147 ac_fn_c_check_func "$LINENO" "dbus_message_demarshal" "ac_cv_func_dbus_message_demarshal"
5148 if test "x$ac_cv_func_dbus_message_demarshal" = xyes
5149 then :
5150 printf "%s\n" "#define HAVE_DBUS_MESSAGE_DEMARSHAL 1" >>confdefs.h
5151
5152 fi
5153 ac_fn_c_check_func "$LINENO" "dbus_message_demarshal_bytes_needed" "ac_cv_func_dbus_message_demarshal_bytes_needed"
5154 if test "x$ac_cv_func_dbus_message_demarshal_bytes_needed" = xyes
5155 then :
5156 printf "%s\n" "#define HAVE_DBUS_MESSAGE_DEMARSHAL_BYTES_NEEDED 1" >>confdefs.h
5157
5158 fi
5159 ac_fn_c_check_func "$LINENO" "dbus_connection_open" "ac_cv_func_dbus_connection_open"
5160 if test "x$ac_cv_func_dbus_connection_open" = xyes
5161 then :
5162 printf "%s\n" "#define HAVE_DBUS_CONNECTION_OPEN 1" >>confdefs.h
5163
5164 fi
5165 ac_fn_c_check_func "$LINENO" "dbus_connection_open_private" "ac_cv_func_dbus_connection_open_private"
5166 if test "x$ac_cv_func_dbus_connection_open_private" = xyes
5167 then :
5168 printf "%s\n" "#define HAVE_DBUS_CONNECTION_OPEN_PRIVATE 1" >>confdefs.h
5169
5170 fi
5171 ac_fn_c_check_func "$LINENO" "dbus_connection_ref" "ac_cv_func_dbus_connection_ref"
5172 if test "x$ac_cv_func_dbus_connection_ref" = xyes
5173 then :
5174 printf "%s\n" "#define HAVE_DBUS_CONNECTION_REF 1" >>confdefs.h
5175
5176 fi
5177 ac_fn_c_check_func "$LINENO" "dbus_connection_unref" "ac_cv_func_dbus_connection_unref"
5178 if test "x$ac_cv_func_dbus_connection_unref" = xyes
5179 then :
5180 printf "%s\n" "#define HAVE_DBUS_CONNECTION_UNREF 1" >>confdefs.h
5181
5182 fi
5183 ac_fn_c_check_func "$LINENO" "dbus_connection_close" "ac_cv_func_dbus_connection_close"
5184 if test "x$ac_cv_func_dbus_connection_close" = xyes
5185 then :
5186 printf "%s\n" "#define HAVE_DBUS_CONNECTION_CLOSE 1" >>confdefs.h
5187
5188 fi
5189 ac_fn_c_check_func "$LINENO" "dbus_connection_get_is_connected" "ac_cv_func_dbus_connection_get_is_connected"
5190 if test "x$ac_cv_func_dbus_connection_get_is_connected" = xyes
5191 then :
5192 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_IS_CONNECTED 1" >>confdefs.h
5193
5194 fi
5195 ac_fn_c_check_func "$LINENO" "dbus_connection_get_is_authenticated" "ac_cv_func_dbus_connection_get_is_authenticated"
5196 if test "x$ac_cv_func_dbus_connection_get_is_authenticated" = xyes
5197 then :
5198 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_IS_AUTHENTICATED 1" >>confdefs.h
5199
5200 fi
5201 ac_fn_c_check_func "$LINENO" "dbus_connection_get_is_anonymous" "ac_cv_func_dbus_connection_get_is_anonymous"
5202 if test "x$ac_cv_func_dbus_connection_get_is_anonymous" = xyes
5203 then :
5204 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_IS_ANONYMOUS 1" >>confdefs.h
5205
5206 fi
5207 ac_fn_c_check_func "$LINENO" "dbus_connection_get_server_id" "ac_cv_func_dbus_connection_get_server_id"
5208 if test "x$ac_cv_func_dbus_connection_get_server_id" = xyes
5209 then :
5210 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_SERVER_ID 1" >>confdefs.h
5211
5212 fi
5213 ac_fn_c_check_func "$LINENO" "dbus_connection_set_exit_on_disconnect" "ac_cv_func_dbus_connection_set_exit_on_disconnect"
5214 if test "x$ac_cv_func_dbus_connection_set_exit_on_disconnect" = xyes
5215 then :
5216 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_EXIT_ON_DISCONNECT 1" >>confdefs.h
5217
5218 fi
5219 ac_fn_c_check_func "$LINENO" "dbus_connection_flush" "ac_cv_func_dbus_connection_flush"
5220 if test "x$ac_cv_func_dbus_connection_flush" = xyes
5221 then :
5222 printf "%s\n" "#define HAVE_DBUS_CONNECTION_FLUSH 1" >>confdefs.h
5223
5224 fi
5225 ac_fn_c_check_func "$LINENO" "dbus_connection_read_write_dispatch" "ac_cv_func_dbus_connection_read_write_dispatch"
5226 if test "x$ac_cv_func_dbus_connection_read_write_dispatch" = xyes
5227 then :
5228 printf "%s\n" "#define HAVE_DBUS_CONNECTION_READ_WRITE_DISPATCH 1" >>confdefs.h
5229
5230 fi
5231 ac_fn_c_check_func "$LINENO" "dbus_connection_read_write" "ac_cv_func_dbus_connection_read_write"
5232 if test "x$ac_cv_func_dbus_connection_read_write" = xyes
5233 then :
5234 printf "%s\n" "#define HAVE_DBUS_CONNECTION_READ_WRITE 1" >>confdefs.h
5235
5236 fi
5237 ac_fn_c_check_func "$LINENO" "dbus_connection_borrow_message" "ac_cv_func_dbus_connection_borrow_message"
5238 if test "x$ac_cv_func_dbus_connection_borrow_message" = xyes
5239 then :
5240 printf "%s\n" "#define HAVE_DBUS_CONNECTION_BORROW_MESSAGE 1" >>confdefs.h
5241
5242 fi
5243 ac_fn_c_check_func "$LINENO" "dbus_connection_return_message" "ac_cv_func_dbus_connection_return_message"
5244 if test "x$ac_cv_func_dbus_connection_return_message" = xyes
5245 then :
5246 printf "%s\n" "#define HAVE_DBUS_CONNECTION_RETURN_MESSAGE 1" >>confdefs.h
5247
5248 fi
5249 ac_fn_c_check_func "$LINENO" "dbus_connection_steal_borrowed_message" "ac_cv_func_dbus_connection_steal_borrowed_message"
5250 if test "x$ac_cv_func_dbus_connection_steal_borrowed_message" = xyes
5251 then :
5252 printf "%s\n" "#define HAVE_DBUS_CONNECTION_STEAL_BORROWED_MESSAGE 1" >>confdefs.h
5253
5254 fi
5255 ac_fn_c_check_func "$LINENO" "dbus_connection_pop_message" "ac_cv_func_dbus_connection_pop_message"
5256 if test "x$ac_cv_func_dbus_connection_pop_message" = xyes
5257 then :
5258 printf "%s\n" "#define HAVE_DBUS_CONNECTION_POP_MESSAGE 1" >>confdefs.h
5259
5260 fi
5261 ac_fn_c_check_func "$LINENO" "dbus_connection_get_dispatch_status" "ac_cv_func_dbus_connection_get_dispatch_status"
5262 if test "x$ac_cv_func_dbus_connection_get_dispatch_status" = xyes
5263 then :
5264 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_DISPATCH_STATUS 1" >>confdefs.h
5265
5266 fi
5267 ac_fn_c_check_func "$LINENO" "dbus_connection_dispatch" "ac_cv_func_dbus_connection_dispatch"
5268 if test "x$ac_cv_func_dbus_connection_dispatch" = xyes
5269 then :
5270 printf "%s\n" "#define HAVE_DBUS_CONNECTION_DISPATCH 1" >>confdefs.h
5271
5272 fi
5273 ac_fn_c_check_func "$LINENO" "dbus_connection_has_messages_to_send" "ac_cv_func_dbus_connection_has_messages_to_send"
5274 if test "x$ac_cv_func_dbus_connection_has_messages_to_send" = xyes
5275 then :
5276 printf "%s\n" "#define HAVE_DBUS_CONNECTION_HAS_MESSAGES_TO_SEND 1" >>confdefs.h
5277
5278 fi
5279 ac_fn_c_check_func "$LINENO" "dbus_connection_send" "ac_cv_func_dbus_connection_send"
5280 if test "x$ac_cv_func_dbus_connection_send" = xyes
5281 then :
5282 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SEND 1" >>confdefs.h
5283
5284 fi
5285 ac_fn_c_check_func "$LINENO" "dbus_connection_send_with_reply" "ac_cv_func_dbus_connection_send_with_reply"
5286 if test "x$ac_cv_func_dbus_connection_send_with_reply" = xyes
5287 then :
5288 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SEND_WITH_REPLY 1" >>confdefs.h
5289
5290 fi
5291 ac_fn_c_check_func "$LINENO" "dbus_connection_send_with_reply_and_block" "ac_cv_func_dbus_connection_send_with_reply_and_block"
5292 if test "x$ac_cv_func_dbus_connection_send_with_reply_and_block" = xyes
5293 then :
5294 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SEND_WITH_REPLY_AND_BLOCK 1" >>confdefs.h
5295
5296 fi
5297 ac_fn_c_check_func "$LINENO" "dbus_connection_set_watch_functions" "ac_cv_func_dbus_connection_set_watch_functions"
5298 if test "x$ac_cv_func_dbus_connection_set_watch_functions" = xyes
5299 then :
5300 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_WATCH_FUNCTIONS 1" >>confdefs.h
5301
5302 fi
5303 ac_fn_c_check_func "$LINENO" "dbus_connection_set_timeout_functions" "ac_cv_func_dbus_connection_set_timeout_functions"
5304 if test "x$ac_cv_func_dbus_connection_set_timeout_functions" = xyes
5305 then :
5306 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_TIMEOUT_FUNCTIONS 1" >>confdefs.h
5307
5308 fi
5309 ac_fn_c_check_func "$LINENO" "dbus_connection_set_wakeup_main_function" "ac_cv_func_dbus_connection_set_wakeup_main_function"
5310 if test "x$ac_cv_func_dbus_connection_set_wakeup_main_function" = xyes
5311 then :
5312 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_WAKEUP_MAIN_FUNCTION 1" >>confdefs.h
5313
5314 fi
5315 ac_fn_c_check_func "$LINENO" "dbus_connection_set_dispatch_status_function" "ac_cv_func_dbus_connection_set_dispatch_status_function"
5316 if test "x$ac_cv_func_dbus_connection_set_dispatch_status_function" = xyes
5317 then :
5318 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_DISPATCH_STATUS_FUNCTION 1" >>confdefs.h
5319
5320 fi
5321 ac_fn_c_check_func "$LINENO" "dbus_connection_get_unix_user" "ac_cv_func_dbus_connection_get_unix_user"
5322 if test "x$ac_cv_func_dbus_connection_get_unix_user" = xyes
5323 then :
5324 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_UNIX_USER 1" >>confdefs.h
5325
5326 fi
5327 ac_fn_c_check_func "$LINENO" "dbus_connection_get_unix_process_id" "ac_cv_func_dbus_connection_get_unix_process_id"
5328 if test "x$ac_cv_func_dbus_connection_get_unix_process_id" = xyes
5329 then :
5330 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_UNIX_PROCESS_ID 1" >>confdefs.h
5331
5332 fi
5333 ac_fn_c_check_func "$LINENO" "dbus_connection_get_adt_audit_session_data" "ac_cv_func_dbus_connection_get_adt_audit_session_data"
5334 if test "x$ac_cv_func_dbus_connection_get_adt_audit_session_data" = xyes
5335 then :
5336 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_ADT_AUDIT_SESSION_DATA 1" >>confdefs.h
5337
5338 fi
5339 ac_fn_c_check_func "$LINENO" "dbus_connection_set_unix_user_function" "ac_cv_func_dbus_connection_set_unix_user_function"
5340 if test "x$ac_cv_func_dbus_connection_set_unix_user_function" = xyes
5341 then :
5342 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_UNIX_USER_FUNCTION 1" >>confdefs.h
5343
5344 fi
5345 ac_fn_c_check_func "$LINENO" "dbus_connection_get_windows_user" "ac_cv_func_dbus_connection_get_windows_user"
5346 if test "x$ac_cv_func_dbus_connection_get_windows_user" = xyes
5347 then :
5348 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_WINDOWS_USER 1" >>confdefs.h
5349
5350 fi
5351 ac_fn_c_check_func "$LINENO" "dbus_connection_set_windows_user_function" "ac_cv_func_dbus_connection_set_windows_user_function"
5352 if test "x$ac_cv_func_dbus_connection_set_windows_user_function" = xyes
5353 then :
5354 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_WINDOWS_USER_FUNCTION 1" >>confdefs.h
5355
5356 fi
5357 ac_fn_c_check_func "$LINENO" "dbus_connection_set_allow_anonymous" "ac_cv_func_dbus_connection_set_allow_anonymous"
5358 if test "x$ac_cv_func_dbus_connection_set_allow_anonymous" = xyes
5359 then :
5360 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_ALLOW_ANONYMOUS 1" >>confdefs.h
5361
5362 fi
5363 ac_fn_c_check_func "$LINENO" "dbus_connection_set_route_peer_messages" "ac_cv_func_dbus_connection_set_route_peer_messages"
5364 if test "x$ac_cv_func_dbus_connection_set_route_peer_messages" = xyes
5365 then :
5366 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_ROUTE_PEER_MESSAGES 1" >>confdefs.h
5367
5368 fi
5369 ac_fn_c_check_func "$LINENO" "dbus_connection_add_filter" "ac_cv_func_dbus_connection_add_filter"
5370 if test "x$ac_cv_func_dbus_connection_add_filter" = xyes
5371 then :
5372 printf "%s\n" "#define HAVE_DBUS_CONNECTION_ADD_FILTER 1" >>confdefs.h
5373
5374 fi
5375 ac_fn_c_check_func "$LINENO" "dbus_connection_remove_filter" "ac_cv_func_dbus_connection_remove_filter"
5376 if test "x$ac_cv_func_dbus_connection_remove_filter" = xyes
5377 then :
5378 printf "%s\n" "#define HAVE_DBUS_CONNECTION_REMOVE_FILTER 1" >>confdefs.h
5379
5380 fi
5381 ac_fn_c_check_func "$LINENO" "dbus_connection_allocate_data_slot" "ac_cv_func_dbus_connection_allocate_data_slot"
5382 if test "x$ac_cv_func_dbus_connection_allocate_data_slot" = xyes
5383 then :
5384 printf "%s\n" "#define HAVE_DBUS_CONNECTION_ALLOCATE_DATA_SLOT 1" >>confdefs.h
5385
5386 fi
5387 ac_fn_c_check_func "$LINENO" "dbus_connection_free_data_slot" "ac_cv_func_dbus_connection_free_data_slot"
5388 if test "x$ac_cv_func_dbus_connection_free_data_slot" = xyes
5389 then :
5390 printf "%s\n" "#define HAVE_DBUS_CONNECTION_FREE_DATA_SLOT 1" >>confdefs.h
5391
5392 fi
5393 ac_fn_c_check_func "$LINENO" "dbus_connection_set_data" "ac_cv_func_dbus_connection_set_data"
5394 if test "x$ac_cv_func_dbus_connection_set_data" = xyes
5395 then :
5396 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_DATA 1" >>confdefs.h
5397
5398 fi
5399 ac_fn_c_check_func "$LINENO" "dbus_connection_get_data" "ac_cv_func_dbus_connection_get_data"
5400 if test "x$ac_cv_func_dbus_connection_get_data" = xyes
5401 then :
5402 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_DATA 1" >>confdefs.h
5403
5404 fi
5405 ac_fn_c_check_func "$LINENO" "dbus_connection_set_change_sigpipe" "ac_cv_func_dbus_connection_set_change_sigpipe"
5406 if test "x$ac_cv_func_dbus_connection_set_change_sigpipe" = xyes
5407 then :
5408 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_CHANGE_SIGPIPE 1" >>confdefs.h
5409
5410 fi
5411 ac_fn_c_check_func "$LINENO" "dbus_connection_set_max_message_size" "ac_cv_func_dbus_connection_set_max_message_size"
5412 if test "x$ac_cv_func_dbus_connection_set_max_message_size" = xyes
5413 then :
5414 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_MAX_MESSAGE_SIZE 1" >>confdefs.h
5415
5416 fi
5417 ac_fn_c_check_func "$LINENO" "dbus_connection_get_max_message_size" "ac_cv_func_dbus_connection_get_max_message_size"
5418 if test "x$ac_cv_func_dbus_connection_get_max_message_size" = xyes
5419 then :
5420 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_MAX_MESSAGE_SIZE 1" >>confdefs.h
5421
5422 fi
5423 ac_fn_c_check_func "$LINENO" "dbus_connection_set_max_received_size" "ac_cv_func_dbus_connection_set_max_received_size"
5424 if test "x$ac_cv_func_dbus_connection_set_max_received_size" = xyes
5425 then :
5426 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SET_MAX_RECEIVED_SIZE 1" >>confdefs.h
5427
5428 fi
5429 ac_fn_c_check_func "$LINENO" "dbus_connection_get_max_received_size" "ac_cv_func_dbus_connection_get_max_received_size"
5430 if test "x$ac_cv_func_dbus_connection_get_max_received_size" = xyes
5431 then :
5432 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_MAX_RECEIVED_SIZE 1" >>confdefs.h
5433
5434 fi
5435 ac_fn_c_check_func "$LINENO" "dbus_connection_get_outgoing_size" "ac_cv_func_dbus_connection_get_outgoing_size"
5436 if test "x$ac_cv_func_dbus_connection_get_outgoing_size" = xyes
5437 then :
5438 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_OUTGOING_SIZE 1" >>confdefs.h
5439
5440 fi
5441 ac_fn_c_check_func "$LINENO" "dbus_connection_preallocate_send" "ac_cv_func_dbus_connection_preallocate_send"
5442 if test "x$ac_cv_func_dbus_connection_preallocate_send" = xyes
5443 then :
5444 printf "%s\n" "#define HAVE_DBUS_CONNECTION_PREALLOCATE_SEND 1" >>confdefs.h
5445
5446 fi
5447 ac_fn_c_check_func "$LINENO" "dbus_connection_free_preallocated_send" "ac_cv_func_dbus_connection_free_preallocated_send"
5448 if test "x$ac_cv_func_dbus_connection_free_preallocated_send" = xyes
5449 then :
5450 printf "%s\n" "#define HAVE_DBUS_CONNECTION_FREE_PREALLOCATED_SEND 1" >>confdefs.h
5451
5452 fi
5453 ac_fn_c_check_func "$LINENO" "dbus_connection_send_preallocated" "ac_cv_func_dbus_connection_send_preallocated"
5454 if test "x$ac_cv_func_dbus_connection_send_preallocated" = xyes
5455 then :
5456 printf "%s\n" "#define HAVE_DBUS_CONNECTION_SEND_PREALLOCATED 1" >>confdefs.h
5457
5458 fi
5459 ac_fn_c_check_func "$LINENO" "dbus_connection_try_register_object_path" "ac_cv_func_dbus_connection_try_register_object_path"
5460 if test "x$ac_cv_func_dbus_connection_try_register_object_path" = xyes
5461 then :
5462 printf "%s\n" "#define HAVE_DBUS_CONNECTION_TRY_REGISTER_OBJECT_PATH 1" >>confdefs.h
5463
5464 fi
5465 ac_fn_c_check_func "$LINENO" "dbus_connection_register_object_path" "ac_cv_func_dbus_connection_register_object_path"
5466 if test "x$ac_cv_func_dbus_connection_register_object_path" = xyes
5467 then :
5468 printf "%s\n" "#define HAVE_DBUS_CONNECTION_REGISTER_OBJECT_PATH 1" >>confdefs.h
5469
5470 fi
5471 ac_fn_c_check_func "$LINENO" "dbus_connection_try_register_fallback" "ac_cv_func_dbus_connection_try_register_fallback"
5472 if test "x$ac_cv_func_dbus_connection_try_register_fallback" = xyes
5473 then :
5474 printf "%s\n" "#define HAVE_DBUS_CONNECTION_TRY_REGISTER_FALLBACK 1" >>confdefs.h
5475
5476 fi
5477 ac_fn_c_check_func "$LINENO" "dbus_connection_register_fallback" "ac_cv_func_dbus_connection_register_fallback"
5478 if test "x$ac_cv_func_dbus_connection_register_fallback" = xyes
5479 then :
5480 printf "%s\n" "#define HAVE_DBUS_CONNECTION_REGISTER_FALLBACK 1" >>confdefs.h
5481
5482 fi
5483 ac_fn_c_check_func "$LINENO" "dbus_connection_unregister_object_path" "ac_cv_func_dbus_connection_unregister_object_path"
5484 if test "x$ac_cv_func_dbus_connection_unregister_object_path" = xyes
5485 then :
5486 printf "%s\n" "#define HAVE_DBUS_CONNECTION_UNREGISTER_OBJECT_PATH 1" >>confdefs.h
5487
5488 fi
5489 ac_fn_c_check_func "$LINENO" "dbus_connection_get_object_path_data" "ac_cv_func_dbus_connection_get_object_path_data"
5490 if test "x$ac_cv_func_dbus_connection_get_object_path_data" = xyes
5491 then :
5492 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_OBJECT_PATH_DATA 1" >>confdefs.h
5493
5494 fi
5495 ac_fn_c_check_func "$LINENO" "dbus_connection_list_registered" "ac_cv_func_dbus_connection_list_registered"
5496 if test "x$ac_cv_func_dbus_connection_list_registered" = xyes
5497 then :
5498 printf "%s\n" "#define HAVE_DBUS_CONNECTION_LIST_REGISTERED 1" >>confdefs.h
5499
5500 fi
5501 ac_fn_c_check_func "$LINENO" "dbus_connection_get_unix_fd" "ac_cv_func_dbus_connection_get_unix_fd"
5502 if test "x$ac_cv_func_dbus_connection_get_unix_fd" = xyes
5503 then :
5504 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_UNIX_FD 1" >>confdefs.h
5505
5506 fi
5507 ac_fn_c_check_func "$LINENO" "dbus_connection_get_socket" "ac_cv_func_dbus_connection_get_socket"
5508 if test "x$ac_cv_func_dbus_connection_get_socket" = xyes
5509 then :
5510 printf "%s\n" "#define HAVE_DBUS_CONNECTION_GET_SOCKET 1" >>confdefs.h
5511
5512 fi
5513 ac_fn_c_check_func "$LINENO" "dbus_get_local_machine_id" "ac_cv_func_dbus_get_local_machine_id"
5514 if test "x$ac_cv_func_dbus_get_local_machine_id" = xyes
5515 then :
5516 printf "%s\n" "#define HAVE_DBUS_GET_LOCAL_MACHINE_ID 1" >>confdefs.h
5517
5518 fi
5519 ac_fn_c_check_func "$LINENO" "dbus_watch_get_fd" "ac_cv_func_dbus_watch_get_fd"
5520 if test "x$ac_cv_func_dbus_watch_get_fd" = xyes
5521 then :
5522 printf "%s\n" "#define HAVE_DBUS_WATCH_GET_FD 1" >>confdefs.h
5523
5524 fi
5525 ac_fn_c_check_func "$LINENO" "dbus_watch_get_unix_fd" "ac_cv_func_dbus_watch_get_unix_fd"
5526 if test "x$ac_cv_func_dbus_watch_get_unix_fd" = xyes
5527 then :
5528 printf "%s\n" "#define HAVE_DBUS_WATCH_GET_UNIX_FD 1" >>confdefs.h
5529
5530 fi
5531 ac_fn_c_check_func "$LINENO" "dbus_watch_get_socket" "ac_cv_func_dbus_watch_get_socket"
5532 if test "x$ac_cv_func_dbus_watch_get_socket" = xyes
5533 then :
5534 printf "%s\n" "#define HAVE_DBUS_WATCH_GET_SOCKET 1" >>confdefs.h
5535
5536 fi
5537 ac_fn_c_check_func "$LINENO" "dbus_watch_get_flags" "ac_cv_func_dbus_watch_get_flags"
5538 if test "x$ac_cv_func_dbus_watch_get_flags" = xyes
5539 then :
5540 printf "%s\n" "#define HAVE_DBUS_WATCH_GET_FLAGS 1" >>confdefs.h
5541
5542 fi
5543 ac_fn_c_check_func "$LINENO" "dbus_watch_get_data" "ac_cv_func_dbus_watch_get_data"
5544 if test "x$ac_cv_func_dbus_watch_get_data" = xyes
5545 then :
5546 printf "%s\n" "#define HAVE_DBUS_WATCH_GET_DATA 1" >>confdefs.h
5547
5548 fi
5549 ac_fn_c_check_func "$LINENO" "dbus_watch_set_data" "ac_cv_func_dbus_watch_set_data"
5550 if test "x$ac_cv_func_dbus_watch_set_data" = xyes
5551 then :
5552 printf "%s\n" "#define HAVE_DBUS_WATCH_SET_DATA 1" >>confdefs.h
5553
5554 fi
5555 ac_fn_c_check_func "$LINENO" "dbus_watch_handle" "ac_cv_func_dbus_watch_handle"
5556 if test "x$ac_cv_func_dbus_watch_handle" = xyes
5557 then :
5558 printf "%s\n" "#define HAVE_DBUS_WATCH_HANDLE 1" >>confdefs.h
5559
5560 fi
5561 ac_fn_c_check_func "$LINENO" "dbus_watch_get_enabled" "ac_cv_func_dbus_watch_get_enabled"
5562 if test "x$ac_cv_func_dbus_watch_get_enabled" = xyes
5563 then :
5564 printf "%s\n" "#define HAVE_DBUS_WATCH_GET_ENABLED 1" >>confdefs.h
5565
5566 fi
5567 ac_fn_c_check_func "$LINENO" "dbus_timeout_get_interval" "ac_cv_func_dbus_timeout_get_interval"
5568 if test "x$ac_cv_func_dbus_timeout_get_interval" = xyes
5569 then :
5570 printf "%s\n" "#define HAVE_DBUS_TIMEOUT_GET_INTERVAL 1" >>confdefs.h
5571
5572 fi
5573 ac_fn_c_check_func "$LINENO" "dbus_timeout_get_data" "ac_cv_func_dbus_timeout_get_data"
5574 if test "x$ac_cv_func_dbus_timeout_get_data" = xyes
5575 then :
5576 printf "%s\n" "#define HAVE_DBUS_TIMEOUT_GET_DATA 1" >>confdefs.h
5577
5578 fi
5579 ac_fn_c_check_func "$LINENO" "dbus_timeout_set_data" "ac_cv_func_dbus_timeout_set_data"
5580 if test "x$ac_cv_func_dbus_timeout_set_data" = xyes
5581 then :
5582 printf "%s\n" "#define HAVE_DBUS_TIMEOUT_SET_DATA 1" >>confdefs.h
5583
5584 fi
5585 ac_fn_c_check_func "$LINENO" "dbus_timeout_handle" "ac_cv_func_dbus_timeout_handle"
5586 if test "x$ac_cv_func_dbus_timeout_handle" = xyes
5587 then :
5588 printf "%s\n" "#define HAVE_DBUS_TIMEOUT_HANDLE 1" >>confdefs.h
5589
5590 fi
5591 ac_fn_c_check_func "$LINENO" "dbus_timeout_get_enabled" "ac_cv_func_dbus_timeout_get_enabled"
5592 if test "x$ac_cv_func_dbus_timeout_get_enabled" = xyes
5593 then :
5594 printf "%s\n" "#define HAVE_DBUS_TIMEOUT_GET_ENABLED 1" >>confdefs.h
5595
5596 fi
5597 ac_fn_c_check_func "$LINENO" "dbus_bus_get" "ac_cv_func_dbus_bus_get"
5598 if test "x$ac_cv_func_dbus_bus_get" = xyes
5599 then :
5600 printf "%s\n" "#define HAVE_DBUS_BUS_GET 1" >>confdefs.h
5601
5602 fi
5603 ac_fn_c_check_func "$LINENO" "dbus_bus_get_private" "ac_cv_func_dbus_bus_get_private"
5604 if test "x$ac_cv_func_dbus_bus_get_private" = xyes
5605 then :
5606 printf "%s\n" "#define HAVE_DBUS_BUS_GET_PRIVATE 1" >>confdefs.h
5607
5608 fi
5609 ac_fn_c_check_func "$LINENO" "dbus_bus_register" "ac_cv_func_dbus_bus_register"
5610 if test "x$ac_cv_func_dbus_bus_register" = xyes
5611 then :
5612 printf "%s\n" "#define HAVE_DBUS_BUS_REGISTER 1" >>confdefs.h
5613
5614 fi
5615 ac_fn_c_check_func "$LINENO" "dbus_bus_set_unique_name" "ac_cv_func_dbus_bus_set_unique_name"
5616 if test "x$ac_cv_func_dbus_bus_set_unique_name" = xyes
5617 then :
5618 printf "%s\n" "#define HAVE_DBUS_BUS_SET_UNIQUE_NAME 1" >>confdefs.h
5619
5620 fi
5621 ac_fn_c_check_func "$LINENO" "dbus_bus_get_unique_name" "ac_cv_func_dbus_bus_get_unique_name"
5622 if test "x$ac_cv_func_dbus_bus_get_unique_name" = xyes
5623 then :
5624 printf "%s\n" "#define HAVE_DBUS_BUS_GET_UNIQUE_NAME 1" >>confdefs.h
5625
5626 fi
5627 ac_fn_c_check_func "$LINENO" "dbus_bus_get_unix_user" "ac_cv_func_dbus_bus_get_unix_user"
5628 if test "x$ac_cv_func_dbus_bus_get_unix_user" = xyes
5629 then :
5630 printf "%s\n" "#define HAVE_DBUS_BUS_GET_UNIX_USER 1" >>confdefs.h
5631
5632 fi
5633 ac_fn_c_check_func "$LINENO" "dbus_bus_get_id" "ac_cv_func_dbus_bus_get_id"
5634 if test "x$ac_cv_func_dbus_bus_get_id" = xyes
5635 then :
5636 printf "%s\n" "#define HAVE_DBUS_BUS_GET_ID 1" >>confdefs.h
5637
5638 fi
5639 ac_fn_c_check_func "$LINENO" "dbus_bus_request_name" "ac_cv_func_dbus_bus_request_name"
5640 if test "x$ac_cv_func_dbus_bus_request_name" = xyes
5641 then :
5642 printf "%s\n" "#define HAVE_DBUS_BUS_REQUEST_NAME 1" >>confdefs.h
5643
5644 fi
5645 ac_fn_c_check_func "$LINENO" "dbus_bus_release_name" "ac_cv_func_dbus_bus_release_name"
5646 if test "x$ac_cv_func_dbus_bus_release_name" = xyes
5647 then :
5648 printf "%s\n" "#define HAVE_DBUS_BUS_RELEASE_NAME 1" >>confdefs.h
5649
5650 fi
5651 ac_fn_c_check_func "$LINENO" "dbus_bus_name_has_owner" "ac_cv_func_dbus_bus_name_has_owner"
5652 if test "x$ac_cv_func_dbus_bus_name_has_owner" = xyes
5653 then :
5654 printf "%s\n" "#define HAVE_DBUS_BUS_NAME_HAS_OWNER 1" >>confdefs.h
5655
5656 fi
5657 ac_fn_c_check_func "$LINENO" "dbus_bus_start_service_by_name" "ac_cv_func_dbus_bus_start_service_by_name"
5658 if test "x$ac_cv_func_dbus_bus_start_service_by_name" = xyes
5659 then :
5660 printf "%s\n" "#define HAVE_DBUS_BUS_START_SERVICE_BY_NAME 1" >>confdefs.h
5661
5662 fi
5663 ac_fn_c_check_func "$LINENO" "dbus_bus_add_match" "ac_cv_func_dbus_bus_add_match"
5664 if test "x$ac_cv_func_dbus_bus_add_match" = xyes
5665 then :
5666 printf "%s\n" "#define HAVE_DBUS_BUS_ADD_MATCH 1" >>confdefs.h
5667
5668 fi
5669 ac_fn_c_check_func "$LINENO" "dbus_bus_remove_match" "ac_cv_func_dbus_bus_remove_match"
5670 if test "x$ac_cv_func_dbus_bus_remove_match" = xyes
5671 then :
5672 printf "%s\n" "#define HAVE_DBUS_BUS_REMOVE_MATCH 1" >>confdefs.h
5673
5674 fi
5675 ac_fn_c_check_func "$LINENO" "dbus_pending_call_ref" "ac_cv_func_dbus_pending_call_ref"
5676 if test "x$ac_cv_func_dbus_pending_call_ref" = xyes
5677 then :
5678 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_REF 1" >>confdefs.h
5679
5680 fi
5681 ac_fn_c_check_func "$LINENO" "dbus_pending_call_unref" "ac_cv_func_dbus_pending_call_unref"
5682 if test "x$ac_cv_func_dbus_pending_call_unref" = xyes
5683 then :
5684 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_UNREF 1" >>confdefs.h
5685
5686 fi
5687 ac_fn_c_check_func "$LINENO" "dbus_pending_call_set_notify" "ac_cv_func_dbus_pending_call_set_notify"
5688 if test "x$ac_cv_func_dbus_pending_call_set_notify" = xyes
5689 then :
5690 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_SET_NOTIFY 1" >>confdefs.h
5691
5692 fi
5693 ac_fn_c_check_func "$LINENO" "dbus_pending_call_cancel" "ac_cv_func_dbus_pending_call_cancel"
5694 if test "x$ac_cv_func_dbus_pending_call_cancel" = xyes
5695 then :
5696 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_CANCEL 1" >>confdefs.h
5697
5698 fi
5699 ac_fn_c_check_func "$LINENO" "dbus_pending_call_get_completed" "ac_cv_func_dbus_pending_call_get_completed"
5700 if test "x$ac_cv_func_dbus_pending_call_get_completed" = xyes
5701 then :
5702 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_GET_COMPLETED 1" >>confdefs.h
5703
5704 fi
5705 ac_fn_c_check_func "$LINENO" "dbus_pending_call_steal_reply" "ac_cv_func_dbus_pending_call_steal_reply"
5706 if test "x$ac_cv_func_dbus_pending_call_steal_reply" = xyes
5707 then :
5708 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_STEAL_REPLY 1" >>confdefs.h
5709
5710 fi
5711 ac_fn_c_check_func "$LINENO" "dbus_pending_call_block" "ac_cv_func_dbus_pending_call_block"
5712 if test "x$ac_cv_func_dbus_pending_call_block" = xyes
5713 then :
5714 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_BLOCK 1" >>confdefs.h
5715
5716 fi
5717 ac_fn_c_check_func "$LINENO" "dbus_pending_call_allocate_data_slot" "ac_cv_func_dbus_pending_call_allocate_data_slot"
5718 if test "x$ac_cv_func_dbus_pending_call_allocate_data_slot" = xyes
5719 then :
5720 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_ALLOCATE_DATA_SLOT 1" >>confdefs.h
5721
5722 fi
5723 ac_fn_c_check_func "$LINENO" "dbus_pending_call_free_data_slot" "ac_cv_func_dbus_pending_call_free_data_slot"
5724 if test "x$ac_cv_func_dbus_pending_call_free_data_slot" = xyes
5725 then :
5726 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_FREE_DATA_SLOT 1" >>confdefs.h
5727
5728 fi
5729 ac_fn_c_check_func "$LINENO" "dbus_pending_call_set_data" "ac_cv_func_dbus_pending_call_set_data"
5730 if test "x$ac_cv_func_dbus_pending_call_set_data" = xyes
5731 then :
5732 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_SET_DATA 1" >>confdefs.h
5733
5734 fi
5735 ac_fn_c_check_func "$LINENO" "dbus_pending_call_get_data" "ac_cv_func_dbus_pending_call_get_data"
5736 if test "x$ac_cv_func_dbus_pending_call_get_data" = xyes
5737 then :
5738 printf "%s\n" "#define HAVE_DBUS_PENDING_CALL_GET_DATA 1" >>confdefs.h
5739
5740 fi
5741 ac_fn_c_check_func "$LINENO" "dbus_server_listen" "ac_cv_func_dbus_server_listen"
5742 if test "x$ac_cv_func_dbus_server_listen" = xyes
5743 then :
5744 printf "%s\n" "#define HAVE_DBUS_SERVER_LISTEN 1" >>confdefs.h
5745
5746 fi
5747 ac_fn_c_check_func "$LINENO" "dbus_server_ref" "ac_cv_func_dbus_server_ref"
5748 if test "x$ac_cv_func_dbus_server_ref" = xyes
5749 then :
5750 printf "%s\n" "#define HAVE_DBUS_SERVER_REF 1" >>confdefs.h
5751
5752 fi
5753 ac_fn_c_check_func "$LINENO" "dbus_server_unref" "ac_cv_func_dbus_server_unref"
5754 if test "x$ac_cv_func_dbus_server_unref" = xyes
5755 then :
5756 printf "%s\n" "#define HAVE_DBUS_SERVER_UNREF 1" >>confdefs.h
5757
5758 fi
5759 ac_fn_c_check_func "$LINENO" "dbus_server_disconnect" "ac_cv_func_dbus_server_disconnect"
5760 if test "x$ac_cv_func_dbus_server_disconnect" = xyes
5761 then :
5762 printf "%s\n" "#define HAVE_DBUS_SERVER_DISCONNECT 1" >>confdefs.h
5763
5764 fi
5765 ac_fn_c_check_func "$LINENO" "dbus_server_get_is_connected" "ac_cv_func_dbus_server_get_is_connected"
5766 if test "x$ac_cv_func_dbus_server_get_is_connected" = xyes
5767 then :
5768 printf "%s\n" "#define HAVE_DBUS_SERVER_GET_IS_CONNECTED 1" >>confdefs.h
5769
5770 fi
5771 ac_fn_c_check_func "$LINENO" "dbus_server_get_address" "ac_cv_func_dbus_server_get_address"
5772 if test "x$ac_cv_func_dbus_server_get_address" = xyes
5773 then :
5774 printf "%s\n" "#define HAVE_DBUS_SERVER_GET_ADDRESS 1" >>confdefs.h
5775
5776 fi
5777 ac_fn_c_check_func "$LINENO" "dbus_server_get_id" "ac_cv_func_dbus_server_get_id"
5778 if test "x$ac_cv_func_dbus_server_get_id" = xyes
5779 then :
5780 printf "%s\n" "#define HAVE_DBUS_SERVER_GET_ID 1" >>confdefs.h
5781
5782 fi
5783 ac_fn_c_check_func "$LINENO" "dbus_server_set_new_connection_function" "ac_cv_func_dbus_server_set_new_connection_function"
5784 if test "x$ac_cv_func_dbus_server_set_new_connection_function" = xyes
5785 then :
5786 printf "%s\n" "#define HAVE_DBUS_SERVER_SET_NEW_CONNECTION_FUNCTION 1" >>confdefs.h
5787
5788 fi
5789 ac_fn_c_check_func "$LINENO" "dbus_server_set_watch_functions" "ac_cv_func_dbus_server_set_watch_functions"
5790 if test "x$ac_cv_func_dbus_server_set_watch_functions" = xyes
5791 then :
5792 printf "%s\n" "#define HAVE_DBUS_SERVER_SET_WATCH_FUNCTIONS 1" >>confdefs.h
5793
5794 fi
5795 ac_fn_c_check_func "$LINENO" "dbus_server_set_timeout_functions" "ac_cv_func_dbus_server_set_timeout_functions"
5796 if test "x$ac_cv_func_dbus_server_set_timeout_functions" = xyes
5797 then :
5798 printf "%s\n" "#define HAVE_DBUS_SERVER_SET_TIMEOUT_FUNCTIONS 1" >>confdefs.h
5799
5800 fi
5801 ac_fn_c_check_func "$LINENO" "dbus_server_set_auth_mechanisms" "ac_cv_func_dbus_server_set_auth_mechanisms"
5802 if test "x$ac_cv_func_dbus_server_set_auth_mechanisms" = xyes
5803 then :
5804 printf "%s\n" "#define HAVE_DBUS_SERVER_SET_AUTH_MECHANISMS 1" >>confdefs.h
5805
5806 fi
5807 ac_fn_c_check_func "$LINENO" "dbus_server_allocate_data_slot" "ac_cv_func_dbus_server_allocate_data_slot"
5808 if test "x$ac_cv_func_dbus_server_allocate_data_slot" = xyes
5809 then :
5810 printf "%s\n" "#define HAVE_DBUS_SERVER_ALLOCATE_DATA_SLOT 1" >>confdefs.h
5811
5812 fi
5813 ac_fn_c_check_func "$LINENO" "dbus_server_free_data_slot" "ac_cv_func_dbus_server_free_data_slot"
5814 if test "x$ac_cv_func_dbus_server_free_data_slot" = xyes
5815 then :
5816 printf "%s\n" "#define HAVE_DBUS_SERVER_FREE_DATA_SLOT 1" >>confdefs.h
5817
5818 fi
5819 ac_fn_c_check_func "$LINENO" "dbus_server_set_data" "ac_cv_func_dbus_server_set_data"
5820 if test "x$ac_cv_func_dbus_server_set_data" = xyes
5821 then :
5822 printf "%s\n" "#define HAVE_DBUS_SERVER_SET_DATA 1" >>confdefs.h
5823
5824 fi
5825 ac_fn_c_check_func "$LINENO" "dbus_server_get_data" "ac_cv_func_dbus_server_get_data"
5826 if test "x$ac_cv_func_dbus_server_get_data" = xyes
5827 then :
5828 printf "%s\n" "#define HAVE_DBUS_SERVER_GET_DATA 1" >>confdefs.h
5829
5830 fi
5831 ac_fn_c_check_func "$LINENO" "dbus_signature_iter_init" "ac_cv_func_dbus_signature_iter_init"
5832 if test "x$ac_cv_func_dbus_signature_iter_init" = xyes
5833 then :
5834 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_ITER_INIT 1" >>confdefs.h
5835
5836 fi
5837 ac_fn_c_check_func "$LINENO" "dbus_signature_iter_get_current_type" "ac_cv_func_dbus_signature_iter_get_current_type"
5838 if test "x$ac_cv_func_dbus_signature_iter_get_current_type" = xyes
5839 then :
5840 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_ITER_GET_CURRENT_TYPE 1" >>confdefs.h
5841
5842 fi
5843 ac_fn_c_check_func "$LINENO" "dbus_signature_iter_get_signature" "ac_cv_func_dbus_signature_iter_get_signature"
5844 if test "x$ac_cv_func_dbus_signature_iter_get_signature" = xyes
5845 then :
5846 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_ITER_GET_SIGNATURE 1" >>confdefs.h
5847
5848 fi
5849 ac_fn_c_check_func "$LINENO" "dbus_signature_iter_get_element_type" "ac_cv_func_dbus_signature_iter_get_element_type"
5850 if test "x$ac_cv_func_dbus_signature_iter_get_element_type" = xyes
5851 then :
5852 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_ITER_GET_ELEMENT_TYPE 1" >>confdefs.h
5853
5854 fi
5855 ac_fn_c_check_func "$LINENO" "dbus_signature_iter_next" "ac_cv_func_dbus_signature_iter_next"
5856 if test "x$ac_cv_func_dbus_signature_iter_next" = xyes
5857 then :
5858 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_ITER_NEXT 1" >>confdefs.h
5859
5860 fi
5861 ac_fn_c_check_func "$LINENO" "dbus_signature_iter_recurse" "ac_cv_func_dbus_signature_iter_recurse"
5862 if test "x$ac_cv_func_dbus_signature_iter_recurse" = xyes
5863 then :
5864 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_ITER_RECURSE 1" >>confdefs.h
5865
5866 fi
5867 ac_fn_c_check_func "$LINENO" "dbus_signature_validate" "ac_cv_func_dbus_signature_validate"
5868 if test "x$ac_cv_func_dbus_signature_validate" = xyes
5869 then :
5870 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_VALIDATE 1" >>confdefs.h
5871
5872 fi
5873 ac_fn_c_check_func "$LINENO" "dbus_signature_validate_single" "ac_cv_func_dbus_signature_validate_single"
5874 if test "x$ac_cv_func_dbus_signature_validate_single" = xyes
5875 then :
5876 printf "%s\n" "#define HAVE_DBUS_SIGNATURE_VALIDATE_SINGLE 1" >>confdefs.h
5877
5878 fi
5879 ac_fn_c_check_func "$LINENO" "dbus_type_is_basic" "ac_cv_func_dbus_type_is_basic"
5880 if test "x$ac_cv_func_dbus_type_is_basic" = xyes
5881 then :
5882 printf "%s\n" "#define HAVE_DBUS_TYPE_IS_BASIC 1" >>confdefs.h
5883
5884 fi
5885 ac_fn_c_check_func "$LINENO" "dbus_type_is_container" "ac_cv_func_dbus_type_is_container"
5886 if test "x$ac_cv_func_dbus_type_is_container" = xyes
5887 then :
5888 printf "%s\n" "#define HAVE_DBUS_TYPE_IS_CONTAINER 1" >>confdefs.h
5889
5890 fi
5891 ac_fn_c_check_func "$LINENO" "dbus_type_is_fixed" "ac_cv_func_dbus_type_is_fixed"
5892 if test "x$ac_cv_func_dbus_type_is_fixed" = xyes
5893 then :
5894 printf "%s\n" "#define HAVE_DBUS_TYPE_IS_FIXED 1" >>confdefs.h
5895
5896 fi
5897 ac_fn_c_check_func "$LINENO" "dbus_threads_init" "ac_cv_func_dbus_threads_init"
5898 if test "x$ac_cv_func_dbus_threads_init" = xyes
5899 then :
5900 printf "%s\n" "#define HAVE_DBUS_THREADS_INIT 1" >>confdefs.h
5901
5902 fi
5903 ac_fn_c_check_func "$LINENO" "dbus_threads_init_default" "ac_cv_func_dbus_threads_init_default"
5904 if test "x$ac_cv_func_dbus_threads_init_default" = xyes
5905 then :
5906 printf "%s\n" "#define HAVE_DBUS_THREADS_INIT_DEFAULT 1" >>confdefs.h
5907
5908 fi
5909
5910 LIBS=$dbus_save_LIB
5911
5912
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Output)${term_norm}" >&5
5914 printf "%s\n" "$as_me: ${term_bold}** Dbus (Output)${term_norm}" >&6;}
5915
5916 ac_config_files="$ac_config_files Makefile link.sh"
5917
5918 cat >confcache <<\_ACEOF
5919 # This file is a shell script that caches the results of configure
5920 # tests run on this system so they can be shared between configure
5921 # scripts and configure runs, see configure's option --config-cache.
5922 # It is not useful on other systems. If it contains results you don't
5923 # want to keep, you may remove or edit it.
5924 #
5925 # config.status only pays attention to the cache file if you give it
5926 # the --recheck option to rerun configure.
5927 #
5928 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
5929 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
5930 # following values.
5931
5932 _ACEOF
5933
5934 # The following way of writing the cache mishandles newlines in values,
5935 # but we know of no workaround that is simple, portable, and efficient.
5936 # So, we kill variables containing newlines.
5937 # Ultrix sh set writes to stderr and can't be redirected directly,
5938 # and sets the high bit in the cache file unless we assign to the vars.
5939 (
5940 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5941 eval ac_val=\$$ac_var
5942 case $ac_val in #(
5943 *${as_nl}*)
5944 case $ac_var in #(
5945 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5946 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5947 esac
5948 case $ac_var in #(
5949 _ | IFS | as_nl) ;; #(
5950 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5951 *) { eval $ac_var=; unset $ac_var;} ;;
5952 esac ;;
5953 esac
5954 done
5955
5956 (set) 2>&1 |
5957 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5958 *${as_nl}ac_space=\ *)
5959 # 'set' does not quote correctly, so add quotes: double-quote
5960 # substitution turns \\\\ into \\, and sed turns \\ into \.
5961 sed -n \
5962 "s/'/'\\\\''/g;
5963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5964 ;; #(
5965 *)
5966 # 'set' quotes correctly as required by POSIX, so do not add quotes.
5967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5968 ;;
5969 esac |
5970 sort
5971 ) |
5972 sed '
5973 /^ac_cv_env_/b end
5974 t clear
5975 :clear
5976 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5977 t end
5978 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5979 :end' >>confcache
5980 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5981 if test -w "$cache_file"; then
5982 if test "x$cache_file" != "x/dev/null"; then
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5984 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5985 if test ! -f "$cache_file" || test -h "$cache_file"; then
5986 cat confcache >"$cache_file"
5987 else
5988 case $cache_file in #(
5989 */* | ?:*)
5990 mv -f confcache "$cache_file"$$ &&
5991 mv -f "$cache_file"$$ "$cache_file" ;; #(
5992 *)
5993 mv -f confcache "$cache_file" ;;
5994 esac
5995 fi
5996 fi
5997 else
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5999 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
6000 fi
6001 fi
6002 rm -f confcache
6003
6004 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6005 # Let make expand exec_prefix.
6006 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6007
6008 DEFS=-DHAVE_CONFIG_H
6009
6010 ac_libobjs=
6011 ac_ltlibobjs=
6012 U=
6013 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6014 # 1. Remove the extension, and $U if already installed.
6015 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6016 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
6017 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6018 # will be set to the directory where LIBOBJS objects are built.
6019 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6020 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6021 done
6022 LIBOBJS=$ac_libobjs
6023
6024 LTLIBOBJS=$ac_ltlibobjs
6025
6026
6027
6028 : "${CONFIG_STATUS=./config.status}"
6029 ac_write_fail=0
6030 ac_clean_files_save=$ac_clean_files
6031 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6033 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
6034 as_write_fail=0
6035 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6036 #! $SHELL
6037 # Generated by $as_me.
6038 # Run this file to recreate the current configuration.
6039 # Compiler output produced by configure, useful for debugging
6040 # configure, is in config.log if it exists.
6041
6042 debug=false
6043 ac_cs_recheck=false
6044 ac_cs_silent=false
6045
6046 SHELL=\${CONFIG_SHELL-$SHELL}
6047 export SHELL
6048 _ASEOF
6049 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6050 ## -------------------- ##
6051 ## M4sh Initialization. ##
6052 ## -------------------- ##
6053
6054 # Be more Bourne compatible
6055 DUALCASE=1; export DUALCASE # for MKS sh
6056 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
6057 then :
6058 emulate sh
6059 NULLCMD=:
6060 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6061 # is contrary to our usage. Disable this feature.
6062 alias -g '${1+"$@"}'='"$@"'
6063 setopt NO_GLOB_SUBST
6064 else case e in #(
6065 e) case `(set -o) 2>/dev/null` in #(
6066 *posix*) :
6067 set -o posix ;; #(
6068 *) :
6069 ;;
6070 esac ;;
6071 esac
6072 fi
6073
6074
6075
6076 # Reset variables that may have inherited troublesome values from
6077 # the environment.
6078
6079 # IFS needs to be set, to space, tab, and newline, in precisely that order.
6080 # (If _AS_PATH_WALK were called with IFS unset, it would have the
6081 # side effect of setting IFS to empty, thus disabling word splitting.)
6082 # Quoting is to prevent editors from complaining about space-tab.
6083 as_nl='
6084 '
6085 export as_nl
6086 IFS=" "" $as_nl"
6087
6088 PS1='$ '
6089 PS2='> '
6090 PS4='+ '
6091
6092 # Ensure predictable behavior from utilities with locale-dependent output.
6093 LC_ALL=C
6094 export LC_ALL
6095 LANGUAGE=C
6096 export LANGUAGE
6097
6098 # We cannot yet rely on "unset" to work, but we need these variables
6099 # to be unset--not just set to an empty or harmless value--now, to
6100 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
6101 # also avoids known problems related to "unset" and subshell syntax
6102 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
6103 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
6104 do eval test \${$as_var+y} \
6105 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6106 done
6107
6108 # Ensure that fds 0, 1, and 2 are open.
6109 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
6110 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
6111 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
6112
6113 # The user is always right.
6114 if ${PATH_SEPARATOR+false} :; then
6115 PATH_SEPARATOR=:
6116 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6117 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6118 PATH_SEPARATOR=';'
6119 }
6120 fi
6121
6122
6123 # Find who we are. Look in the path if we contain no directory separator.
6124 as_myself=
6125 case $0 in #((
6126 *[\\/]* ) as_myself=$0 ;;
6127 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6129 do
6130 IFS=$as_save_IFS
6131 case $as_dir in #(((
6132 '') as_dir=./ ;;
6133 */) ;;
6134 *) as_dir=$as_dir/ ;;
6135 esac
6136 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
6137 done
6138 IFS=$as_save_IFS
6139
6140 ;;
6141 esac
6142 # We did not find ourselves, most probably we were run as 'sh COMMAND'
6143 # in which case we are not to be found in the path.
6144 if test "x$as_myself" = x; then
6145 as_myself=$0
6146 fi
6147 if test ! -f "$as_myself"; then
6148 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6149 exit 1
6150 fi
6151
6152
6153
6154 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6155 # ----------------------------------------
6156 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6157 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6158 # script with STATUS, using 1 if that was 0.
6159 as_fn_error ()
6160 {
6161 as_status=$1; test $as_status -eq 0 && as_status=1
6162 if test "$4"; then
6163 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6165 fi
6166 printf "%s\n" "$as_me: error: $2" >&2
6167 as_fn_exit $as_status
6168 } # as_fn_error
6169
6170
6171 # as_fn_set_status STATUS
6172 # -----------------------
6173 # Set $? to STATUS, without forking.
6174 as_fn_set_status ()
6175 {
6176 return $1
6177 } # as_fn_set_status
6178
6179 # as_fn_exit STATUS
6180 # -----------------
6181 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6182 as_fn_exit ()
6183 {
6184 set +e
6185 as_fn_set_status $1
6186 exit $1
6187 } # as_fn_exit
6188
6189 # as_fn_unset VAR
6190 # ---------------
6191 # Portably unset VAR.
6192 as_fn_unset ()
6193 {
6194 { eval $1=; unset $1;}
6195 }
6196 as_unset=as_fn_unset
6197
6198 # as_fn_append VAR VALUE
6199 # ----------------------
6200 # Append the text in VALUE to the end of the definition contained in VAR. Take
6201 # advantage of any shell optimizations that allow amortized linear growth over
6202 # repeated appends, instead of the typical quadratic growth present in naive
6203 # implementations.
6204 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
6205 then :
6206 eval 'as_fn_append ()
6207 {
6208 eval $1+=\$2
6209 }'
6210 else case e in #(
6211 e) as_fn_append ()
6212 {
6213 eval $1=\$$1\$2
6214 } ;;
6215 esac
6216 fi # as_fn_append
6217
6218 # as_fn_arith ARG...
6219 # ------------------
6220 # Perform arithmetic evaluation on the ARGs, and store the result in the
6221 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6222 # must be portable across $(()) and expr.
6223 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
6224 then :
6225 eval 'as_fn_arith ()
6226 {
6227 as_val=$(( $* ))
6228 }'
6229 else case e in #(
6230 e) as_fn_arith ()
6231 {
6232 as_val=`expr "$@" || test $? -eq 1`
6233 } ;;
6234 esac
6235 fi # as_fn_arith
6236
6237
6238 if expr a : '\(a\)' >/dev/null 2>&1 &&
6239 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6240 as_expr=expr
6241 else
6242 as_expr=false
6243 fi
6244
6245 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6246 as_basename=basename
6247 else
6248 as_basename=false
6249 fi
6250
6251 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6252 as_dirname=dirname
6253 else
6254 as_dirname=false
6255 fi
6256
6257 as_me=`$as_basename -- "$0" ||
6258 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6259 X"$0" : 'X\(//\)$' \| \
6260 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6261 printf "%s\n" X/"$0" |
6262 sed '/^.*\/\([^/][^/]*\)\/*$/{
6263 s//\1/
6264 q
6265 }
6266 /^X\/\(\/\/\)$/{
6267 s//\1/
6268 q
6269 }
6270 /^X\/\(\/\).*/{
6271 s//\1/
6272 q
6273 }
6274 s/.*/./; q'`
6275
6276 # Avoid depending upon Character Ranges.
6277 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6278 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6279 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6280 as_cr_digits='0123456789'
6281 as_cr_alnum=$as_cr_Letters$as_cr_digits
6282
6283
6284 # Determine whether it's possible to make 'echo' print without a newline.
6285 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
6286 # for compatibility with existing Makefiles.
6287 ECHO_C= ECHO_N= ECHO_T=
6288 case `echo -n x` in #(((((
6289 -n*)
6290 case `echo 'xy\c'` in
6291 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6292 xy) ECHO_C='\c';;
6293 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6294 ECHO_T=' ';;
6295 esac;;
6296 *)
6297 ECHO_N='-n';;
6298 esac
6299
6300 # For backward compatibility with old third-party macros, we provide
6301 # the shell variables $as_echo and $as_echo_n. New code should use
6302 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
6303 as_echo='printf %s\n'
6304 as_echo_n='printf %s'
6305
6306 rm -f conf$$ conf$$.exe conf$$.file
6307 if test -d conf$$.dir; then
6308 rm -f conf$$.dir/conf$$.file
6309 else
6310 rm -f conf$$.dir
6311 mkdir conf$$.dir 2>/dev/null
6312 fi
6313 if (echo >conf$$.file) 2>/dev/null; then
6314 if ln -s conf$$.file conf$$ 2>/dev/null; then
6315 as_ln_s='ln -s'
6316 # ... but there are two gotchas:
6317 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
6318 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
6319 # In both cases, we have to default to 'cp -pR'.
6320 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6321 as_ln_s='cp -pR'
6322 elif ln conf$$.file conf$$ 2>/dev/null; then
6323 as_ln_s=ln
6324 else
6325 as_ln_s='cp -pR'
6326 fi
6327 else
6328 as_ln_s='cp -pR'
6329 fi
6330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6331 rmdir conf$$.dir 2>/dev/null
6332
6333
6334 # as_fn_mkdir_p
6335 # -------------
6336 # Create "$as_dir" as a directory, including parents if necessary.
6337 as_fn_mkdir_p ()
6338 {
6339
6340 case $as_dir in #(
6341 -*) as_dir=./$as_dir;;
6342 esac
6343 test -d "$as_dir" || eval $as_mkdir_p || {
6344 as_dirs=
6345 while :; do
6346 case $as_dir in #(
6347 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6348 *) as_qdir=$as_dir;;
6349 esac
6350 as_dirs="'$as_qdir' $as_dirs"
6351 as_dir=`$as_dirname -- "$as_dir" ||
6352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6353 X"$as_dir" : 'X\(//\)[^/]' \| \
6354 X"$as_dir" : 'X\(//\)$' \| \
6355 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6356 printf "%s\n" X"$as_dir" |
6357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6358 s//\1/
6359 q
6360 }
6361 /^X\(\/\/\)[^/].*/{
6362 s//\1/
6363 q
6364 }
6365 /^X\(\/\/\)$/{
6366 s//\1/
6367 q
6368 }
6369 /^X\(\/\).*/{
6370 s//\1/
6371 q
6372 }
6373 s/.*/./; q'`
6374 test -d "$as_dir" && break
6375 done
6376 test -z "$as_dirs" || eval "mkdir $as_dirs"
6377 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6378
6379
6380 } # as_fn_mkdir_p
6381 if mkdir -p . 2>/dev/null; then
6382 as_mkdir_p='mkdir -p "$as_dir"'
6383 else
6384 test -d ./-p && rmdir ./-p
6385 as_mkdir_p=false
6386 fi
6387
6388
6389 # as_fn_executable_p FILE
6390 # -----------------------
6391 # Test if FILE is an executable regular file.
6392 as_fn_executable_p ()
6393 {
6394 test -f "$1" && test -x "$1"
6395 } # as_fn_executable_p
6396 as_test_x='test -x'
6397 as_executable_p=as_fn_executable_p
6398
6399 # Sed expression to map a string onto a valid CPP name.
6400 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6401 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
6402
6403 # Sed expression to map a string onto a valid variable name.
6404 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6405 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
6406
6407
6408 exec 6>&1
6409 ## ----------------------------------- ##
6410 ## Main body of $CONFIG_STATUS script. ##
6411 ## ----------------------------------- ##
6412 _ASEOF
6413 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6414
6415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6416 # Save the log message, to keep $0 and so on meaningful, and to
6417 # report actual input values of CONFIG_FILES etc. instead of their
6418 # values after options handling.
6419 ac_log="
6420 This file was extended by dbus $as_me 1.0, which was
6421 generated by GNU Autoconf 2.72. Invocation command line was
6422
6423 CONFIG_FILES = $CONFIG_FILES
6424 CONFIG_HEADERS = $CONFIG_HEADERS
6425 CONFIG_LINKS = $CONFIG_LINKS
6426 CONFIG_COMMANDS = $CONFIG_COMMANDS
6427 $ $0 $@
6428
6429 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6430 "
6431
6432 _ACEOF
6433
6434 case $ac_config_files in *"
6435 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6436 esac
6437
6438 case $ac_config_headers in *"
6439 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6440 esac
6441
6442
6443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6444 # Files that config.status was made for.
6445 config_files="$ac_config_files"
6446 config_headers="$ac_config_headers"
6447
6448 _ACEOF
6449
6450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6451 ac_cs_usage="\
6452 '$as_me' instantiates files and other configuration actions
6453 from templates according to the current configuration. Unless the files
6454 and actions are specified as TAGs, all are instantiated by default.
6455
6456 Usage: $0 [OPTION]... [TAG]...
6457
6458 -h, --help print this help, then exit
6459 -V, --version print version number and configuration settings, then exit
6460 --config print configuration, then exit
6461 -q, --quiet, --silent
6462 do not print progress messages
6463 -d, --debug don't remove temporary files
6464 --recheck update $as_me by reconfiguring in the same conditions
6465 --file=FILE[:TEMPLATE]
6466 instantiate the configuration file FILE
6467 --header=FILE[:TEMPLATE]
6468 instantiate the configuration header FILE
6469
6470 Configuration files:
6471 $config_files
6472
6473 Configuration headers:
6474 $config_headers
6475
6476 Report bugs to <clisp-list>."
6477
6478 _ACEOF
6479 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
6480 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
6481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6482 ac_cs_config='$ac_cs_config_escaped'
6483 ac_cs_version="\\
6484 dbus config.status 1.0
6485 configured by $0, generated by GNU Autoconf 2.72,
6486 with options \\"\$ac_cs_config\\"
6487
6488 Copyright (C) 2023 Free Software Foundation, Inc.
6489 This config.status script is free software; the Free Software Foundation
6490 gives unlimited permission to copy, distribute and modify it."
6491
6492 ac_pwd='$ac_pwd'
6493 srcdir='$srcdir'
6494 test -n "\$AWK" || AWK=awk
6495 _ACEOF
6496
6497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6498 # The default lists apply if the user does not specify any file.
6499 ac_need_defaults=:
6500 while test $# != 0
6501 do
6502 case $1 in
6503 --*=?*)
6504 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6505 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6506 ac_shift=:
6507 ;;
6508 --*=)
6509 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6510 ac_optarg=
6511 ac_shift=:
6512 ;;
6513 *)
6514 ac_option=$1
6515 ac_optarg=$2
6516 ac_shift=shift
6517 ;;
6518 esac
6519
6520 case $ac_option in
6521 # Handling of the options.
6522 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6523 ac_cs_recheck=: ;;
6524 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6525 printf "%s\n" "$ac_cs_version"; exit ;;
6526 --config | --confi | --conf | --con | --co | --c )
6527 printf "%s\n" "$ac_cs_config"; exit ;;
6528 --debug | --debu | --deb | --de | --d | -d )
6529 debug=: ;;
6530 --file | --fil | --fi | --f )
6531 $ac_shift
6532 case $ac_optarg in
6533 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6534 '') as_fn_error $? "missing file argument" ;;
6535 esac
6536 as_fn_append CONFIG_FILES " '$ac_optarg'"
6537 ac_need_defaults=false;;
6538 --header | --heade | --head | --hea )
6539 $ac_shift
6540 case $ac_optarg in
6541 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6542 esac
6543 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6544 ac_need_defaults=false;;
6545 --he | --h)
6546 # Conflict between --help and --header
6547 as_fn_error $? "ambiguous option: '$1'
6548 Try '$0 --help' for more information.";;
6549 --help | --hel | -h )
6550 printf "%s\n" "$ac_cs_usage"; exit ;;
6551 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6552 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6553 ac_cs_silent=: ;;
6554
6555 # This is an error.
6556 -*) as_fn_error $? "unrecognized option: '$1'
6557 Try '$0 --help' for more information." ;;
6558
6559 *) as_fn_append ac_config_targets " $1"
6560 ac_need_defaults=false ;;
6561
6562 esac
6563 shift
6564 done
6565
6566 ac_configure_extra_args=
6567
6568 if $ac_cs_silent; then
6569 exec 6>/dev/null
6570 ac_configure_extra_args="$ac_configure_extra_args --silent"
6571 fi
6572
6573 _ACEOF
6574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6575 if \$ac_cs_recheck; then
6576 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6577 shift
6578 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
6579 CONFIG_SHELL='$SHELL'
6580 export CONFIG_SHELL
6581 exec "\$@"
6582 fi
6583
6584 _ACEOF
6585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6586 exec 5>>config.log
6587 {
6588 echo
6589 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6590 ## Running $as_me. ##
6591 _ASBOX
6592 printf "%s\n" "$ac_log"
6593 } >&5
6594
6595 _ACEOF
6596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6597 _ACEOF
6598
6599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6600
6601 # Handling of arguments.
6602 for ac_config_target in $ac_config_targets
6603 do
6604 case $ac_config_target in
6605 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6606 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6607 "link.sh") CONFIG_FILES="$CONFIG_FILES link.sh" ;;
6608
6609 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
6610 esac
6611 done
6612
6613
6614 # If the user did not use the arguments to specify the items to instantiate,
6615 # then the envvar interface is used. Set only those that are not.
6616 # We use the long form for the default assignment because of an extremely
6617 # bizarre bug on SunOS 4.1.3.
6618 if $ac_need_defaults; then
6619 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
6620 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
6621 fi
6622
6623 # Have a temporary directory for convenience. Make it in the build tree
6624 # simply because there is no reason against having it here, and in addition,
6625 # creating and moving files from /tmp can sometimes cause problems.
6626 # Hook for its removal unless debugging.
6627 # Note that there is a small window in which the directory will not be cleaned:
6628 # after its creation but before its name has been assigned to '$tmp'.
6629 $debug ||
6630 {
6631 tmp= ac_tmp=
6632 trap 'exit_status=$?
6633 : "${ac_tmp:=$tmp}"
6634 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6635 ' 0
6636 trap 'as_fn_exit 1' 1 2 13 15
6637 }
6638 # Create a (secure) tmp directory for tmp files.
6639
6640 {
6641 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6642 test -d "$tmp"
6643 } ||
6644 {
6645 tmp=./conf$$-$RANDOM
6646 (umask 077 && mkdir "$tmp")
6647 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6648 ac_tmp=$tmp
6649
6650 # Set up the scripts for CONFIG_FILES section.
6651 # No need to generate them if there are no CONFIG_FILES.
6652 # This happens for instance with './config.status config.h'.
6653 if test -n "$CONFIG_FILES"; then
6654
6655
6656 ac_cr=`echo X | tr X '\015'`
6657 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6658 # But we know of no other shell where ac_cr would be empty at this
6659 # point, so we can use a bashism as a fallback.
6660 if test "x$ac_cr" = x; then
6661 eval ac_cr=\$\'\\r\'
6662 fi
6663 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6664 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6665 ac_cs_awk_cr='\\r'
6666 else
6667 ac_cs_awk_cr=$ac_cr
6668 fi
6669
6670 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6671 _ACEOF
6672
6673
6674 {
6675 echo "cat >conf$$subs.awk <<_ACEOF" &&
6676 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6677 echo "_ACEOF"
6678 } >conf$$subs.sh ||
6679 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6680 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6681 ac_delim='%!_!# '
6682 for ac_last_try in false false false false false :; do
6683 . ./conf$$subs.sh ||
6684 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6685
6686 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6687 if test $ac_delim_n = $ac_delim_num; then
6688 break
6689 elif $ac_last_try; then
6690 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6691 else
6692 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6693 fi
6694 done
6695 rm -f conf$$subs.sh
6696
6697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6698 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6699 _ACEOF
6700 sed -n '
6701 h
6702 s/^/S["/; s/!.*/"]=/
6703 p
6704 g
6705 s/^[^!]*!//
6706 :repl
6707 t repl
6708 s/'"$ac_delim"'$//
6709 t delim
6710 :nl
6711 h
6712 s/\(.\{148\}\)..*/\1/
6713 t more1
6714 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6715 p
6716 n
6717 b repl
6718 :more1
6719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6720 p
6721 g
6722 s/.\{148\}//
6723 t nl
6724 :delim
6725 h
6726 s/\(.\{148\}\)..*/\1/
6727 t more2
6728 s/["\\]/\\&/g; s/^/"/; s/$/"/
6729 p
6730 b
6731 :more2
6732 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6733 p
6734 g
6735 s/.\{148\}//
6736 t delim
6737 ' <conf$$subs.awk | sed '
6738 /^[^""]/{
6739 N
6740 s/\n//
6741 }
6742 ' >>$CONFIG_STATUS || ac_write_fail=1
6743 rm -f conf$$subs.awk
6744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6745 _ACAWK
6746 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6747 for (key in S) S_is_set[key] = 1
6748 FS = ""
6749
6750 }
6751 {
6752 line = $ 0
6753 nfields = split(line, field, "@")
6754 substed = 0
6755 len = length(field[1])
6756 for (i = 2; i < nfields; i++) {
6757 key = field[i]
6758 keylen = length(key)
6759 if (S_is_set[key]) {
6760 value = S[key]
6761 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6762 len += length(value) + length(field[++i])
6763 substed = 1
6764 } else
6765 len += 1 + keylen
6766 }
6767
6768 print line
6769 }
6770
6771 _ACAWK
6772 _ACEOF
6773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6774 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6775 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6776 else
6777 cat
6778 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6779 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6780 _ACEOF
6781
6782 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6783 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6784 # trailing colons and then remove the whole line if VPATH becomes empty
6785 # (actually we leave an empty line to preserve line numbers).
6786 if test "x$srcdir" = x.; then
6787 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6788 h
6789 s///
6790 s/^/:/
6791 s/[ ]*$/:/
6792 s/:\$(srcdir):/:/g
6793 s/:\${srcdir}:/:/g
6794 s/:@srcdir@:/:/g
6795 s/^:*//
6796 s/:*$//
6797 x
6798 s/\(=[ ]*\).*/\1/
6799 G
6800 s/\n//
6801 s/^[^=]*=[ ]*$//
6802 }'
6803 fi
6804
6805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6806 fi # test -n "$CONFIG_FILES"
6807
6808 # Set up the scripts for CONFIG_HEADERS section.
6809 # No need to generate them if there are no CONFIG_HEADERS.
6810 # This happens for instance with './config.status Makefile'.
6811 if test -n "$CONFIG_HEADERS"; then
6812 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6813 BEGIN {
6814 _ACEOF
6815
6816 # Transform confdefs.h into an awk script 'defines.awk', embedded as
6817 # here-document in config.status, that substitutes the proper values into
6818 # config.h.in to produce config.h.
6819
6820 # Create a delimiter string that does not exist in confdefs.h, to ease
6821 # handling of long lines.
6822 ac_delim='%!_!# '
6823 for ac_last_try in false false :; do
6824 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6825 if test -z "$ac_tt"; then
6826 break
6827 elif $ac_last_try; then
6828 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6829 else
6830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6831 fi
6832 done
6833
6834 # For the awk script, D is an array of macro values keyed by name,
6835 # likewise P contains macro parameters if any. Preserve backslash
6836 # newline sequences.
6837
6838 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6839 sed -n '
6840 s/.\{148\}/&'"$ac_delim"'/g
6841 t rset
6842 :rset
6843 s/^[ ]*#[ ]*define[ ][ ]*/ /
6844 t def
6845 d
6846 :def
6847 s/\\$//
6848 t bsnl
6849 s/["\\]/\\&/g
6850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6851 D["\1"]=" \3"/p
6852 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6853 d
6854 :bsnl
6855 s/["\\]/\\&/g
6856 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6857 D["\1"]=" \3\\\\\\n"\\/p
6858 t cont
6859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6860 t cont
6861 d
6862 :cont
6863 n
6864 s/.\{148\}/&'"$ac_delim"'/g
6865 t clear
6866 :clear
6867 s/\\$//
6868 t bsnlc
6869 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6870 d
6871 :bsnlc
6872 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6873 b cont
6874 ' <confdefs.h | sed '
6875 s/'"$ac_delim"'/"\\\
6876 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6877
6878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6879 for (key in D) D_is_set[key] = 1
6880 FS = ""
6881 }
6882 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6883 line = \$ 0
6884 split(line, arg, " ")
6885 if (arg[1] == "#") {
6886 defundef = arg[2]
6887 mac1 = arg[3]
6888 } else {
6889 defundef = substr(arg[1], 2)
6890 mac1 = arg[2]
6891 }
6892 split(mac1, mac2, "(") #)
6893 macro = mac2[1]
6894 prefix = substr(line, 1, index(line, defundef) - 1)
6895 if (D_is_set[macro]) {
6896 # Preserve the white space surrounding the "#".
6897 print prefix "define", macro P[macro] D[macro]
6898 next
6899 } else {
6900 # Replace #undef with comments. This is necessary, for example,
6901 # in the case of _POSIX_SOURCE, which is predefined and required
6902 # on some systems where configure will not decide to define it.
6903 if (defundef == "undef") {
6904 print "/*", prefix defundef, macro, "*/"
6905 next
6906 }
6907 }
6908 }
6909 { print }
6910 _ACAWK
6911 _ACEOF
6912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6913 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6914 fi # test -n "$CONFIG_HEADERS"
6915
6916
6917 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6918 shift
6919 for ac_tag
6920 do
6921 case $ac_tag in
6922 :[FHLC]) ac_mode=$ac_tag; continue;;
6923 esac
6924 case $ac_mode$ac_tag in
6925 :[FHL]*:*);;
6926 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
6927 :[FH]-) ac_tag=-:-;;
6928 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6929 esac
6930 ac_save_IFS=$IFS
6931 IFS=:
6932 set x $ac_tag
6933 IFS=$ac_save_IFS
6934 shift
6935 ac_file=$1
6936 shift
6937
6938 case $ac_mode in
6939 :L) ac_source=$1;;
6940 :[FH])
6941 ac_file_inputs=
6942 for ac_f
6943 do
6944 case $ac_f in
6945 -) ac_f="$ac_tmp/stdin";;
6946 *) # Look for the file first in the build tree, then in the source tree
6947 # (if the path is not absolute). The absolute path cannot be DOS-style,
6948 # because $ac_f cannot contain ':'.
6949 test -f "$ac_f" ||
6950 case $ac_f in
6951 [\\/$]*) false;;
6952 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6953 esac ||
6954 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
6955 esac
6956 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6957 as_fn_append ac_file_inputs " '$ac_f'"
6958 done
6959
6960 # Let's still pretend it is 'configure' which instantiates (i.e., don't
6961 # use $as_me), people would be surprised to read:
6962 # /* config.h. Generated by config.status. */
6963 configure_input='Generated from '`
6964 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6965 `' by configure.'
6966 if test x"$ac_file" != x-; then
6967 configure_input="$ac_file. $configure_input"
6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6969 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6970 fi
6971 # Neutralize special characters interpreted by sed in replacement strings.
6972 case $configure_input in #(
6973 *\&* | *\|* | *\\* )
6974 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6975 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6976 *) ac_sed_conf_input=$configure_input;;
6977 esac
6978
6979 case $ac_tag in
6980 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6982 esac
6983 ;;
6984 esac
6985
6986 ac_dir=`$as_dirname -- "$ac_file" ||
6987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6988 X"$ac_file" : 'X\(//\)[^/]' \| \
6989 X"$ac_file" : 'X\(//\)$' \| \
6990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6991 printf "%s\n" X"$ac_file" |
6992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6993 s//\1/
6994 q
6995 }
6996 /^X\(\/\/\)[^/].*/{
6997 s//\1/
6998 q
6999 }
7000 /^X\(\/\/\)$/{
7001 s//\1/
7002 q
7003 }
7004 /^X\(\/\).*/{
7005 s//\1/
7006 q
7007 }
7008 s/.*/./; q'`
7009 as_dir="$ac_dir"; as_fn_mkdir_p
7010 ac_builddir=.
7011
7012 case "$ac_dir" in
7013 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7014 *)
7015 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
7016 # A ".." for each directory in $ac_dir_suffix.
7017 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7018 case $ac_top_builddir_sub in
7019 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7020 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7021 esac ;;
7022 esac
7023 ac_abs_top_builddir=$ac_pwd
7024 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7025 # for backward compatibility:
7026 ac_top_builddir=$ac_top_build_prefix
7027
7028 case $srcdir in
7029 .) # We are building in place.
7030 ac_srcdir=.
7031 ac_top_srcdir=$ac_top_builddir_sub
7032 ac_abs_top_srcdir=$ac_pwd ;;
7033 [\\/]* | ?:[\\/]* ) # Absolute name.
7034 ac_srcdir=$srcdir$ac_dir_suffix;
7035 ac_top_srcdir=$srcdir
7036 ac_abs_top_srcdir=$srcdir ;;
7037 *) # Relative name.
7038 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7039 ac_top_srcdir=$ac_top_build_prefix$srcdir
7040 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7041 esac
7042 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7043
7044
7045 case $ac_mode in
7046 :F)
7047 #
7048 # CONFIG_FILE
7049 #
7050
7051 _ACEOF
7052
7053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7054 # If the template does not know about datarootdir, expand it.
7055 # FIXME: This hack should be removed a few years after 2.60.
7056 ac_datarootdir_hack=; ac_datarootdir_seen=
7057 ac_sed_dataroot='
7058 /datarootdir/ {
7059 p
7060 q
7061 }
7062 /@datadir@/p
7063 /@docdir@/p
7064 /@infodir@/p
7065 /@localedir@/p
7066 /@mandir@/p'
7067 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7068 *datarootdir*) ac_datarootdir_seen=yes;;
7069 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7071 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7072 _ACEOF
7073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7074 ac_datarootdir_hack='
7075 s&@datadir@&$datadir&g
7076 s&@docdir@&$docdir&g
7077 s&@infodir@&$infodir&g
7078 s&@localedir@&$localedir&g
7079 s&@mandir@&$mandir&g
7080 s&\\\${datarootdir}&$datarootdir&g' ;;
7081 esac
7082 _ACEOF
7083
7084 # Neutralize VPATH when '$srcdir' = '.'.
7085 # Shell code in configure.ac might set extrasub.
7086 # FIXME: do we really want to maintain this feature?
7087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7088 ac_sed_extra="$ac_vpsub
7089 $extrasub
7090 _ACEOF
7091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7092 :t
7093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7094 s|@configure_input@|$ac_sed_conf_input|;t t
7095 s&@top_builddir@&$ac_top_builddir_sub&;t t
7096 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7097 s&@srcdir@&$ac_srcdir&;t t
7098 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7099 s&@top_srcdir@&$ac_top_srcdir&;t t
7100 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7101 s&@builddir@&$ac_builddir&;t t
7102 s&@abs_builddir@&$ac_abs_builddir&;t t
7103 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7104 $ac_datarootdir_hack
7105 "
7106 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7107 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7108
7109 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7110 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7111 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7112 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
7114 which seems to be undefined. Please make sure it is defined" >&5
7115 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
7116 which seems to be undefined. Please make sure it is defined" >&2;}
7117
7118 rm -f "$ac_tmp/stdin"
7119 case $ac_file in
7120 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7121 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7122 esac \
7123 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7124 ;;
7125 :H)
7126 #
7127 # CONFIG_HEADER
7128 #
7129 if test x"$ac_file" != x-; then
7130 {
7131 printf "%s\n" "/* $configure_input */" >&1 \
7132 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7133 } >"$ac_tmp/config.h" \
7134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7135 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7137 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
7138 else
7139 rm -f "$ac_file"
7140 mv "$ac_tmp/config.h" "$ac_file" \
7141 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7142 fi
7143 else
7144 printf "%s\n" "/* $configure_input */" >&1 \
7145 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7146 || as_fn_error $? "could not create -" "$LINENO" 5
7147 fi
7148 # Compute "$ac_file"'s index in $config_headers.
7149 _am_arg="$ac_file"
7150 _am_stamp_count=1
7151 for _am_header in $config_headers :; do
7152 case $_am_header in
7153 $_am_arg | $_am_arg:* )
7154 break ;;
7155 * )
7156 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7157 esac
7158 done
7159 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7160 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7161 X"$_am_arg" : 'X\(//\)[^/]' \| \
7162 X"$_am_arg" : 'X\(//\)$' \| \
7163 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7164 printf "%s\n" X"$_am_arg" |
7165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7166 s//\1/
7167 q
7168 }
7169 /^X\(\/\/\)[^/].*/{
7170 s//\1/
7171 q
7172 }
7173 /^X\(\/\/\)$/{
7174 s//\1/
7175 q
7176 }
7177 /^X\(\/\).*/{
7178 s//\1/
7179 q
7180 }
7181 s/.*/./; q'`/stamp-h$_am_stamp_count
7182 ;;
7183
7184
7185 esac
7186
7187 done # for ac_tag
7188
7189
7190 as_fn_exit 0
7191 _ACEOF
7192 ac_clean_files=$ac_clean_files_save
7193
7194 test $ac_write_fail = 0 ||
7195 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7196
7197
7198 # configure is writing to config.log, and then calls config.status.
7199 # config.status does its own redirection, appending to config.log.
7200 # Unfortunately, on DOS this fails, as config.log is still kept open
7201 # by configure, so config.status won't be able to write to it; its
7202 # output is simply discarded. So we exec the FD to /dev/null,
7203 # effectively closing config.log, so it can be properly (re)opened and
7204 # appended to by config.status. When coming back to configure, we
7205 # need to make the FD available again.
7206 if test "$no_create" != yes; then
7207 ac_cs_success=:
7208 ac_config_status_args=
7209 test "$silent" = yes &&
7210 ac_config_status_args="$ac_config_status_args --quiet"
7211 exec 5>/dev/null
7212 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7213 exec 5>>config.log
7214 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7215 # would make configure fail if this is the last instruction.
7216 $ac_cs_success || as_fn_exit 1
7217 fi
7218 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7220 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7221 fi
7222
7223
7224
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Done)${term_norm}" >&5
7226 printf "%s\n" "$as_me: ${term_bold}** Dbus (Done)${term_norm}" >&6;}
7227
7228