1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for dbus 1.0.
4#
5# Report bugs to <clisp-list>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
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.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and clisp-list about
270$0: your system, including any error possibly output before
271$0: this message. Then install a modern shell, or manually
272$0: run the script under such a shell if you do have one."
273  fi
274  exit 1
275fi
276fi
277fi
278SHELL=${CONFIG_SHELL-/bin/sh}
279export SHELL
280# Unset more variables known to interfere with behavior of common tools.
281CLICOLOR_FORCE= GREP_OPTIONS=
282unset CLICOLOR_FORCE GREP_OPTIONS
283
284## --------------------- ##
285## M4sh Shell Functions. ##
286## --------------------- ##
287# as_fn_unset VAR
288# ---------------
289# Portably unset VAR.
290as_fn_unset ()
291{
292  { eval $1=; unset $1;}
293}
294as_unset=as_fn_unset
295
296# as_fn_set_status STATUS
297# -----------------------
298# Set $? to STATUS, without forking.
299as_fn_set_status ()
300{
301  return $1
302} # as_fn_set_status
303
304# as_fn_exit STATUS
305# -----------------
306# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307as_fn_exit ()
308{
309  set +e
310  as_fn_set_status $1
311  exit $1
312} # as_fn_exit
313
314# as_fn_mkdir_p
315# -------------
316# Create "$as_dir" as a directory, including parents if necessary.
317as_fn_mkdir_p ()
318{
319
320  case $as_dir in #(
321  -*) as_dir=./$as_dir;;
322  esac
323  test -d "$as_dir" || eval $as_mkdir_p || {
324    as_dirs=
325    while :; do
326      case $as_dir in #(
327      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328      *) as_qdir=$as_dir;;
329      esac
330      as_dirs="'$as_qdir' $as_dirs"
331      as_dir=`$as_dirname -- "$as_dir" ||
332$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333	 X"$as_dir" : 'X\(//\)[^/]' \| \
334	 X"$as_dir" : 'X\(//\)$' \| \
335	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336$as_echo X"$as_dir" |
337    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338	    s//\1/
339	    q
340	  }
341	  /^X\(\/\/\)[^/].*/{
342	    s//\1/
343	    q
344	  }
345	  /^X\(\/\/\)$/{
346	    s//\1/
347	    q
348	  }
349	  /^X\(\/\).*/{
350	    s//\1/
351	    q
352	  }
353	  s/.*/./; q'`
354      test -d "$as_dir" && break
355    done
356    test -z "$as_dirs" || eval "mkdir $as_dirs"
357  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360} # as_fn_mkdir_p
361
362# as_fn_executable_p FILE
363# -----------------------
364# Test if FILE is an executable regular file.
365as_fn_executable_p ()
366{
367  test -f "$1" && test -x "$1"
368} # as_fn_executable_p
369# as_fn_append VAR VALUE
370# ----------------------
371# Append the text in VALUE to the end of the definition contained in VAR. Take
372# advantage of any shell optimizations that allow amortized linear growth over
373# repeated appends, instead of the typical quadratic growth present in naive
374# implementations.
375if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376  eval 'as_fn_append ()
377  {
378    eval $1+=\$2
379  }'
380else
381  as_fn_append ()
382  {
383    eval $1=\$$1\$2
384  }
385fi # as_fn_append
386
387# as_fn_arith ARG...
388# ------------------
389# Perform arithmetic evaluation on the ARGs, and store the result in the
390# global $as_val. Take advantage of shells that can avoid forks. The arguments
391# must be portable across $(()) and expr.
392if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393  eval 'as_fn_arith ()
394  {
395    as_val=$(( $* ))
396  }'
397else
398  as_fn_arith ()
399  {
400    as_val=`expr "$@" || test $? -eq 1`
401  }
402fi # as_fn_arith
403
404
405# as_fn_error STATUS ERROR [LINENO LOG_FD]
406# ----------------------------------------
407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409# script with STATUS, using 1 if that was 0.
410as_fn_error ()
411{
412  as_status=$1; test $as_status -eq 0 && as_status=1
413  if test "$4"; then
414    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416  fi
417  $as_echo "$as_me: error: $2" >&2
418  as_fn_exit $as_status
419} # as_fn_error
420
421if expr a : '\(a\)' >/dev/null 2>&1 &&
422   test "X`expr 00001 : '.*\(...\)'`" = X001; then
423  as_expr=expr
424else
425  as_expr=false
426fi
427
428if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429  as_basename=basename
430else
431  as_basename=false
432fi
433
434if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435  as_dirname=dirname
436else
437  as_dirname=false
438fi
439
440as_me=`$as_basename -- "$0" ||
441$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442	 X"$0" : 'X\(//\)$' \| \
443	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444$as_echo X/"$0" |
445    sed '/^.*\/\([^/][^/]*\)\/*$/{
446	    s//\1/
447	    q
448	  }
449	  /^X\/\(\/\/\)$/{
450	    s//\1/
451	    q
452	  }
453	  /^X\/\(\/\).*/{
454	    s//\1/
455	    q
456	  }
457	  s/.*/./; q'`
458
459# Avoid depending upon Character Ranges.
460as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463as_cr_digits='0123456789'
464as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467  as_lineno_1=$LINENO as_lineno_1a=$LINENO
468  as_lineno_2=$LINENO as_lineno_2a=$LINENO
469  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
472  sed -n '
473    p
474    /[$]LINENO/=
475  ' <$as_myself |
476    sed '
477      s/[$]LINENO.*/&-/
478      t lineno
479      b
480      :lineno
481      N
482      :loop
483      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484      t loop
485      s/-\n.*//
486    ' >$as_me.lineno &&
487  chmod +x "$as_me.lineno" ||
488    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491  # already done that, so ensure we don't try to do so again and fall
492  # in an infinite loop.  This has already happened in practice.
493  _as_can_reexec=no; export _as_can_reexec
494  # Don't try to exec as it changes $[0], causing all sort of problems
495  # (the dirname of $[0] is not the place where we might find the
496  # original and so on.  Autoconf is especially sensitive to this).
497  . "./$as_me.lineno"
498  # Exit status is that of the last command.
499  exit
500}
501
502ECHO_C= ECHO_N= ECHO_T=
503case `echo -n x` in #(((((
504-n*)
505  case `echo 'xy\c'` in
506  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
507  xy)  ECHO_C='\c';;
508  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
509       ECHO_T='	';;
510  esac;;
511*)
512  ECHO_N='-n';;
513esac
514
515rm -f conf$$ conf$$.exe conf$$.file
516if test -d conf$$.dir; then
517  rm -f conf$$.dir/conf$$.file
518else
519  rm -f conf$$.dir
520  mkdir conf$$.dir 2>/dev/null
521fi
522if (echo >conf$$.file) 2>/dev/null; then
523  if ln -s conf$$.file conf$$ 2>/dev/null; then
524    as_ln_s='ln -s'
525    # ... but there are two gotchas:
526    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528    # In both cases, we have to default to `cp -pR'.
529    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530      as_ln_s='cp -pR'
531  elif ln conf$$.file conf$$ 2>/dev/null; then
532    as_ln_s=ln
533  else
534    as_ln_s='cp -pR'
535  fi
536else
537  as_ln_s='cp -pR'
538fi
539rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540rmdir conf$$.dir 2>/dev/null
541
542if mkdir -p . 2>/dev/null; then
543  as_mkdir_p='mkdir -p "$as_dir"'
544else
545  test -d ./-p && rmdir ./-p
546  as_mkdir_p=false
547fi
548
549as_test_x='test -x'
550as_executable_p=as_fn_executable_p
551
552# Sed expression to map a string onto a valid CPP name.
553as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555# Sed expression to map a string onto a valid variable name.
556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559test -n "$DJDIR" || exec 7<&0 </dev/null
560exec 6>&1
561
562# Name of the host.
563# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564# so uname gets run too.
565ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567#
568# Initializations.
569#
570ac_default_prefix=/usr/local
571ac_clean_files=
572ac_config_libobj_dir=.
573LIBOBJS=
574cross_compiling=no
575subdirs=
576MFLAGS=
577MAKEFLAGS=
578
579# Identity of this package.
580PACKAGE_NAME='dbus'
581PACKAGE_TARNAME='dbus'
582PACKAGE_VERSION='1.0'
583PACKAGE_STRING='dbus 1.0'
584PACKAGE_BUGREPORT='clisp-list'
585PACKAGE_URL=''
586
587ac_unique_file="dbus.lisp"
588# Factoring default headers for most tests.
589ac_includes_default="\
590#include <stdio.h>
591#ifdef HAVE_SYS_TYPES_H
592# include <sys/types.h>
593#endif
594#ifdef HAVE_SYS_STAT_H
595# include <sys/stat.h>
596#endif
597#ifdef STDC_HEADERS
598# include <stdlib.h>
599# include <stddef.h>
600#else
601# ifdef HAVE_STDLIB_H
602#  include <stdlib.h>
603# endif
604#endif
605#ifdef HAVE_STRING_H
606# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607#  include <memory.h>
608# endif
609# include <string.h>
610#endif
611#ifdef HAVE_STRINGS_H
612# include <strings.h>
613#endif
614#ifdef HAVE_INTTYPES_H
615# include <inttypes.h>
616#endif
617#ifdef HAVE_STDINT_H
618# include <stdint.h>
619#endif
620#ifdef HAVE_UNISTD_H
621# include <unistd.h>
622#endif"
623
624ac_subst_vars='LTLIBOBJS
625LIBOBJS
626DBUS_LIBS
627DBUS_CFLAGS
628PKG_CONFIG
629EGREP
630GREP
631LN_S
632LN
633CPP
634OBJEXT
635EXEEXT
636ac_ct_CC
637CPPFLAGS
638LDFLAGS
639CFLAGS
640CC
641CLISP_CPPFLAGS
642CLISP_CFLAGS
643CLISP_LIBS
644CLISP_FILES
645CLISP_LINKKIT
646CLISP_LIBDIR
647CLISP
648cl_cv_clisp
649CLISP_DECOLONIZE
650target_alias
651host_alias
652build_alias
653LIBS
654ECHO_T
655ECHO_N
656ECHO_C
657DEFS
658mandir
659localedir
660libdir
661psdir
662pdfdir
663dvidir
664htmldir
665infodir
666docdir
667oldincludedir
668includedir
669localstatedir
670sharedstatedir
671sysconfdir
672datadir
673datarootdir
674libexecdir
675sbindir
676bindir
677program_transform_name
678prefix
679exec_prefix
680PACKAGE_URL
681PACKAGE_BUGREPORT
682PACKAGE_STRING
683PACKAGE_VERSION
684PACKAGE_TARNAME
685PACKAGE_NAME
686PATH_SEPARATOR
687SHELL
688am__quote'
689ac_subst_files=''
690ac_user_opts='
691enable_option_checking
692with_clisp
693'
694      ac_precious_vars='build_alias
695host_alias
696target_alias
697CC
698CFLAGS
699LDFLAGS
700LIBS
701CPPFLAGS
702CPP
703PKG_CONFIG
704DBUS_CFLAGS
705DBUS_LIBS'
706
707
708# Initialize some variables set by options.
709ac_init_help=
710ac_init_version=false
711ac_unrecognized_opts=
712ac_unrecognized_sep=
713# The variables have the same names as the options, with
714# dashes changed to underlines.
715cache_file=/dev/null
716exec_prefix=NONE
717no_create=
718no_recursion=
719prefix=NONE
720program_prefix=NONE
721program_suffix=NONE
722program_transform_name=s,x,x,
723silent=
724site=
725srcdir=
726verbose=
727x_includes=NONE
728x_libraries=NONE
729
730# Installation directory options.
731# These are left unexpanded so users can "make install exec_prefix=/foo"
732# and all the variables that are supposed to be based on exec_prefix
733# by default will actually change.
734# Use braces instead of parens because sh, perl, etc. also accept them.
735# (The list follows the same order as the GNU Coding Standards.)
736bindir='${exec_prefix}/bin'
737sbindir='${exec_prefix}/sbin'
738libexecdir='${exec_prefix}/libexec'
739datarootdir='${prefix}/share'
740datadir='${datarootdir}'
741sysconfdir='${prefix}/etc'
742sharedstatedir='${prefix}/com'
743localstatedir='${prefix}/var'
744includedir='${prefix}/include'
745oldincludedir='/usr/include'
746docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
747infodir='${datarootdir}/info'
748htmldir='${docdir}'
749dvidir='${docdir}'
750pdfdir='${docdir}'
751psdir='${docdir}'
752libdir='${exec_prefix}/lib'
753localedir='${datarootdir}/locale'
754mandir='${datarootdir}/man'
755
756ac_prev=
757ac_dashdash=
758for ac_option
759do
760  # If the previous option needs an argument, assign it.
761  if test -n "$ac_prev"; then
762    eval $ac_prev=\$ac_option
763    ac_prev=
764    continue
765  fi
766
767  case $ac_option in
768  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
769  *=)   ac_optarg= ;;
770  *)    ac_optarg=yes ;;
771  esac
772
773  # Accept the important Cygnus configure options, so we can diagnose typos.
774
775  case $ac_dashdash$ac_option in
776  --)
777    ac_dashdash=yes ;;
778
779  -bindir | --bindir | --bindi | --bind | --bin | --bi)
780    ac_prev=bindir ;;
781  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
782    bindir=$ac_optarg ;;
783
784  -build | --build | --buil | --bui | --bu)
785    ac_prev=build_alias ;;
786  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
787    build_alias=$ac_optarg ;;
788
789  -cache-file | --cache-file | --cache-fil | --cache-fi \
790  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
791    ac_prev=cache_file ;;
792  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
793  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
794    cache_file=$ac_optarg ;;
795
796  --config-cache | -C)
797    cache_file=config.cache ;;
798
799  -datadir | --datadir | --datadi | --datad)
800    ac_prev=datadir ;;
801  -datadir=* | --datadir=* | --datadi=* | --datad=*)
802    datadir=$ac_optarg ;;
803
804  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
805  | --dataroo | --dataro | --datar)
806    ac_prev=datarootdir ;;
807  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
808  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
809    datarootdir=$ac_optarg ;;
810
811  -disable-* | --disable-*)
812    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813    # Reject names that are not valid shell variable names.
814    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815      as_fn_error $? "invalid feature name: $ac_useropt"
816    ac_useropt_orig=$ac_useropt
817    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818    case $ac_user_opts in
819      *"
820"enable_$ac_useropt"
821"*) ;;
822      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823	 ac_unrecognized_sep=', ';;
824    esac
825    eval enable_$ac_useropt=no ;;
826
827  -docdir | --docdir | --docdi | --doc | --do)
828    ac_prev=docdir ;;
829  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
830    docdir=$ac_optarg ;;
831
832  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
833    ac_prev=dvidir ;;
834  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
835    dvidir=$ac_optarg ;;
836
837  -enable-* | --enable-*)
838    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839    # Reject names that are not valid shell variable names.
840    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
841      as_fn_error $? "invalid feature name: $ac_useropt"
842    ac_useropt_orig=$ac_useropt
843    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844    case $ac_user_opts in
845      *"
846"enable_$ac_useropt"
847"*) ;;
848      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
849	 ac_unrecognized_sep=', ';;
850    esac
851    eval enable_$ac_useropt=\$ac_optarg ;;
852
853  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
854  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
855  | --exec | --exe | --ex)
856    ac_prev=exec_prefix ;;
857  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
858  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
859  | --exec=* | --exe=* | --ex=*)
860    exec_prefix=$ac_optarg ;;
861
862  -gas | --gas | --ga | --g)
863    # Obsolete; use --with-gas.
864    with_gas=yes ;;
865
866  -help | --help | --hel | --he | -h)
867    ac_init_help=long ;;
868  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
869    ac_init_help=recursive ;;
870  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
871    ac_init_help=short ;;
872
873  -host | --host | --hos | --ho)
874    ac_prev=host_alias ;;
875  -host=* | --host=* | --hos=* | --ho=*)
876    host_alias=$ac_optarg ;;
877
878  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
879    ac_prev=htmldir ;;
880  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
881  | --ht=*)
882    htmldir=$ac_optarg ;;
883
884  -includedir | --includedir | --includedi | --included | --include \
885  | --includ | --inclu | --incl | --inc)
886    ac_prev=includedir ;;
887  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
888  | --includ=* | --inclu=* | --incl=* | --inc=*)
889    includedir=$ac_optarg ;;
890
891  -infodir | --infodir | --infodi | --infod | --info | --inf)
892    ac_prev=infodir ;;
893  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
894    infodir=$ac_optarg ;;
895
896  -libdir | --libdir | --libdi | --libd)
897    ac_prev=libdir ;;
898  -libdir=* | --libdir=* | --libdi=* | --libd=*)
899    libdir=$ac_optarg ;;
900
901  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
902  | --libexe | --libex | --libe)
903    ac_prev=libexecdir ;;
904  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
905  | --libexe=* | --libex=* | --libe=*)
906    libexecdir=$ac_optarg ;;
907
908  -localedir | --localedir | --localedi | --localed | --locale)
909    ac_prev=localedir ;;
910  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
911    localedir=$ac_optarg ;;
912
913  -localstatedir | --localstatedir | --localstatedi | --localstated \
914  | --localstate | --localstat | --localsta | --localst | --locals)
915    ac_prev=localstatedir ;;
916  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
917  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
918    localstatedir=$ac_optarg ;;
919
920  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
921    ac_prev=mandir ;;
922  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
923    mandir=$ac_optarg ;;
924
925  -nfp | --nfp | --nf)
926    # Obsolete; use --without-fp.
927    with_fp=no ;;
928
929  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
930  | --no-cr | --no-c | -n)
931    no_create=yes ;;
932
933  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
934  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
935    no_recursion=yes ;;
936
937  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
938  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
939  | --oldin | --oldi | --old | --ol | --o)
940    ac_prev=oldincludedir ;;
941  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
942  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
943  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
944    oldincludedir=$ac_optarg ;;
945
946  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
947    ac_prev=prefix ;;
948  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
949    prefix=$ac_optarg ;;
950
951  -program-prefix | --program-prefix | --program-prefi | --program-pref \
952  | --program-pre | --program-pr | --program-p)
953    ac_prev=program_prefix ;;
954  -program-prefix=* | --program-prefix=* | --program-prefi=* \
955  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
956    program_prefix=$ac_optarg ;;
957
958  -program-suffix | --program-suffix | --program-suffi | --program-suff \
959  | --program-suf | --program-su | --program-s)
960    ac_prev=program_suffix ;;
961  -program-suffix=* | --program-suffix=* | --program-suffi=* \
962  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
963    program_suffix=$ac_optarg ;;
964
965  -program-transform-name | --program-transform-name \
966  | --program-transform-nam | --program-transform-na \
967  | --program-transform-n | --program-transform- \
968  | --program-transform | --program-transfor \
969  | --program-transfo | --program-transf \
970  | --program-trans | --program-tran \
971  | --progr-tra | --program-tr | --program-t)
972    ac_prev=program_transform_name ;;
973  -program-transform-name=* | --program-transform-name=* \
974  | --program-transform-nam=* | --program-transform-na=* \
975  | --program-transform-n=* | --program-transform-=* \
976  | --program-transform=* | --program-transfor=* \
977  | --program-transfo=* | --program-transf=* \
978  | --program-trans=* | --program-tran=* \
979  | --progr-tra=* | --program-tr=* | --program-t=*)
980    program_transform_name=$ac_optarg ;;
981
982  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
983    ac_prev=pdfdir ;;
984  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
985    pdfdir=$ac_optarg ;;
986
987  -psdir | --psdir | --psdi | --psd | --ps)
988    ac_prev=psdir ;;
989  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
990    psdir=$ac_optarg ;;
991
992  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993  | -silent | --silent | --silen | --sile | --sil)
994    silent=yes ;;
995
996  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
997    ac_prev=sbindir ;;
998  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
999  | --sbi=* | --sb=*)
1000    sbindir=$ac_optarg ;;
1001
1002  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1003  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1004  | --sharedst | --shareds | --shared | --share | --shar \
1005  | --sha | --sh)
1006    ac_prev=sharedstatedir ;;
1007  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1008  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1009  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1010  | --sha=* | --sh=*)
1011    sharedstatedir=$ac_optarg ;;
1012
1013  -site | --site | --sit)
1014    ac_prev=site ;;
1015  -site=* | --site=* | --sit=*)
1016    site=$ac_optarg ;;
1017
1018  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1019    ac_prev=srcdir ;;
1020  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1021    srcdir=$ac_optarg ;;
1022
1023  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1024  | --syscon | --sysco | --sysc | --sys | --sy)
1025    ac_prev=sysconfdir ;;
1026  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1027  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1028    sysconfdir=$ac_optarg ;;
1029
1030  -target | --target | --targe | --targ | --tar | --ta | --t)
1031    ac_prev=target_alias ;;
1032  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1033    target_alias=$ac_optarg ;;
1034
1035  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1036    verbose=yes ;;
1037
1038  -version | --version | --versio | --versi | --vers | -V)
1039    ac_init_version=: ;;
1040
1041  -with-* | --with-*)
1042    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043    # Reject names that are not valid shell variable names.
1044    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045      as_fn_error $? "invalid package name: $ac_useropt"
1046    ac_useropt_orig=$ac_useropt
1047    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048    case $ac_user_opts in
1049      *"
1050"with_$ac_useropt"
1051"*) ;;
1052      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1053	 ac_unrecognized_sep=', ';;
1054    esac
1055    eval with_$ac_useropt=\$ac_optarg ;;
1056
1057  -without-* | --without-*)
1058    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059    # Reject names that are not valid shell variable names.
1060    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061      as_fn_error $? "invalid package name: $ac_useropt"
1062    ac_useropt_orig=$ac_useropt
1063    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064    case $ac_user_opts in
1065      *"
1066"with_$ac_useropt"
1067"*) ;;
1068      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069	 ac_unrecognized_sep=', ';;
1070    esac
1071    eval with_$ac_useropt=no ;;
1072
1073  --x)
1074    # Obsolete; use --with-x.
1075    with_x=yes ;;
1076
1077  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078  | --x-incl | --x-inc | --x-in | --x-i)
1079    ac_prev=x_includes ;;
1080  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082    x_includes=$ac_optarg ;;
1083
1084  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1085  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086    ac_prev=x_libraries ;;
1087  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089    x_libraries=$ac_optarg ;;
1090
1091  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1092Try \`$0 --help' for more information"
1093    ;;
1094
1095  *=*)
1096    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1097    # Reject names that are not valid shell variable names.
1098    case $ac_envvar in #(
1099      '' | [0-9]* | *[!_$as_cr_alnum]* )
1100      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1101    esac
1102    eval $ac_envvar=\$ac_optarg
1103    export $ac_envvar ;;
1104
1105  *)
1106    # FIXME: should be removed in autoconf 3.0.
1107    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1111    ;;
1112
1113  esac
1114done
1115
1116if test -n "$ac_prev"; then
1117  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118  as_fn_error $? "missing argument to $ac_option"
1119fi
1120
1121if test -n "$ac_unrecognized_opts"; then
1122  case $enable_option_checking in
1123    no) ;;
1124    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1125    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1126  esac
1127fi
1128
1129# Check all directory arguments for consistency.
1130for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1131		datadir sysconfdir sharedstatedir localstatedir includedir \
1132		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1133		libdir localedir mandir
1134do
1135  eval ac_val=\$$ac_var
1136  # Remove trailing slashes.
1137  case $ac_val in
1138    */ )
1139      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1140      eval $ac_var=\$ac_val;;
1141  esac
1142  # Be sure to have absolute directory names.
1143  case $ac_val in
1144    [\\/$]* | ?:[\\/]* )  continue;;
1145    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1146  esac
1147  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1148done
1149
1150# There might be people who depend on the old broken behavior: `$host'
1151# used to hold the argument of --host etc.
1152# FIXME: To remove some day.
1153build=$build_alias
1154host=$host_alias
1155target=$target_alias
1156
1157# FIXME: To remove some day.
1158if test "x$host_alias" != x; then
1159  if test "x$build_alias" = x; then
1160    cross_compiling=maybe
1161  elif test "x$build_alias" != "x$host_alias"; then
1162    cross_compiling=yes
1163  fi
1164fi
1165
1166ac_tool_prefix=
1167test -n "$host_alias" && ac_tool_prefix=$host_alias-
1168
1169test "$silent" = yes && exec 6>/dev/null
1170
1171
1172ac_pwd=`pwd` && test -n "$ac_pwd" &&
1173ac_ls_di=`ls -di .` &&
1174ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1175  as_fn_error $? "working directory cannot be determined"
1176test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1177  as_fn_error $? "pwd does not report name of working directory"
1178
1179
1180# Find the source files, if location was not specified.
1181if test -z "$srcdir"; then
1182  ac_srcdir_defaulted=yes
1183  # Try the directory containing this script, then the parent directory.
1184  ac_confdir=`$as_dirname -- "$as_myself" ||
1185$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1186	 X"$as_myself" : 'X\(//\)[^/]' \| \
1187	 X"$as_myself" : 'X\(//\)$' \| \
1188	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1189$as_echo X"$as_myself" |
1190    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1191	    s//\1/
1192	    q
1193	  }
1194	  /^X\(\/\/\)[^/].*/{
1195	    s//\1/
1196	    q
1197	  }
1198	  /^X\(\/\/\)$/{
1199	    s//\1/
1200	    q
1201	  }
1202	  /^X\(\/\).*/{
1203	    s//\1/
1204	    q
1205	  }
1206	  s/.*/./; q'`
1207  srcdir=$ac_confdir
1208  if test ! -r "$srcdir/$ac_unique_file"; then
1209    srcdir=..
1210  fi
1211else
1212  ac_srcdir_defaulted=no
1213fi
1214if test ! -r "$srcdir/$ac_unique_file"; then
1215  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1216  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1217fi
1218ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1219ac_abs_confdir=`(
1220	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1221	pwd)`
1222# When building in place, set srcdir=.
1223if test "$ac_abs_confdir" = "$ac_pwd"; then
1224  srcdir=.
1225fi
1226# Remove unnecessary trailing slashes from srcdir.
1227# Double slashes in file names in object file debugging info
1228# mess up M-x gdb in Emacs.
1229case $srcdir in
1230*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231esac
1232for ac_var in $ac_precious_vars; do
1233  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1234  eval ac_env_${ac_var}_value=\$${ac_var}
1235  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1236  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1237done
1238
1239#
1240# Report the --help message.
1241#
1242if test "$ac_init_help" = "long"; then
1243  # Omit some internal or obsolete options to make the list less imposing.
1244  # This message is too long to be a string in the A/UX 3.1 sh.
1245  cat <<_ACEOF
1246\`configure' configures dbus 1.0 to adapt to many kinds of systems.
1247
1248Usage: $0 [OPTION]... [VAR=VALUE]...
1249
1250To assign environment variables (e.g., CC, CFLAGS...), specify them as
1251VAR=VALUE.  See below for descriptions of some of the useful variables.
1252
1253Defaults for the options are specified in brackets.
1254
1255Configuration:
1256  -h, --help              display this help and exit
1257      --help=short        display options specific to this package
1258      --help=recursive    display the short help of all the included packages
1259  -V, --version           display version information and exit
1260  -q, --quiet, --silent   do not print \`checking ...' messages
1261      --cache-file=FILE   cache test results in FILE [disabled]
1262  -C, --config-cache      alias for \`--cache-file=config.cache'
1263  -n, --no-create         do not create output files
1264      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1265
1266Installation directories:
1267  --prefix=PREFIX         install architecture-independent files in PREFIX
1268                          [$ac_default_prefix]
1269  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1270                          [PREFIX]
1271
1272By default, \`make install' will install all the files in
1273\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1274an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1275for instance \`--prefix=\$HOME'.
1276
1277For better control, use the options below.
1278
1279Fine tuning of the installation directories:
1280  --bindir=DIR            user executables [EPREFIX/bin]
1281  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1282  --libexecdir=DIR        program executables [EPREFIX/libexec]
1283  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1284  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1285  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1286  --libdir=DIR            object code libraries [EPREFIX/lib]
1287  --includedir=DIR        C header files [PREFIX/include]
1288  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1289  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1290  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1291  --infodir=DIR           info documentation [DATAROOTDIR/info]
1292  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1293  --mandir=DIR            man documentation [DATAROOTDIR/man]
1294  --docdir=DIR            documentation root [DATAROOTDIR/doc/dbus]
1295  --htmldir=DIR           html documentation [DOCDIR]
1296  --dvidir=DIR            dvi documentation [DOCDIR]
1297  --pdfdir=DIR            pdf documentation [DOCDIR]
1298  --psdir=DIR             ps documentation [DOCDIR]
1299_ACEOF
1300
1301  cat <<\_ACEOF
1302_ACEOF
1303fi
1304
1305if test -n "$ac_init_help"; then
1306  case $ac_init_help in
1307     short | recursive ) echo "Configuration of dbus 1.0:";;
1308   esac
1309  cat <<\_ACEOF
1310
1311Optional Packages:
1312  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1313  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1314  --with-clisp            use a specific CLISP installation
1315
1316Some influential environment variables:
1317  CC          C compiler command
1318  CFLAGS      C compiler flags
1319  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1320              nonstandard directory <lib dir>
1321  LIBS        libraries to pass to the linker, e.g. -l<library>
1322  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1323              you have headers in a nonstandard directory <include dir>
1324  CPP         C preprocessor
1325  PKG_CONFIG  path to pkg-config utility
1326  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1327  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1328
1329Use these variables to override the choices made by `configure' or to help
1330it to find libraries and programs with nonstandard names/locations.
1331
1332Report bugs to <clisp-list>.
1333_ACEOF
1334ac_status=$?
1335fi
1336
1337if test "$ac_init_help" = "recursive"; then
1338  # If there are subdirs, report their specific --help.
1339  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1340    test -d "$ac_dir" ||
1341      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1342      continue
1343    ac_builddir=.
1344
1345case "$ac_dir" in
1346.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347*)
1348  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1349  # A ".." for each directory in $ac_dir_suffix.
1350  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1351  case $ac_top_builddir_sub in
1352  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1353  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1354  esac ;;
1355esac
1356ac_abs_top_builddir=$ac_pwd
1357ac_abs_builddir=$ac_pwd$ac_dir_suffix
1358# for backward compatibility:
1359ac_top_builddir=$ac_top_build_prefix
1360
1361case $srcdir in
1362  .)  # We are building in place.
1363    ac_srcdir=.
1364    ac_top_srcdir=$ac_top_builddir_sub
1365    ac_abs_top_srcdir=$ac_pwd ;;
1366  [\\/]* | ?:[\\/]* )  # Absolute name.
1367    ac_srcdir=$srcdir$ac_dir_suffix;
1368    ac_top_srcdir=$srcdir
1369    ac_abs_top_srcdir=$srcdir ;;
1370  *) # Relative name.
1371    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1372    ac_top_srcdir=$ac_top_build_prefix$srcdir
1373    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1374esac
1375ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1376
1377    cd "$ac_dir" || { ac_status=$?; continue; }
1378    # Check for guested configure.
1379    if test -f "$ac_srcdir/configure.gnu"; then
1380      echo &&
1381      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1382    elif test -f "$ac_srcdir/configure"; then
1383      echo &&
1384      $SHELL "$ac_srcdir/configure" --help=recursive
1385    else
1386      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1387    fi || ac_status=$?
1388    cd "$ac_pwd" || { ac_status=$?; break; }
1389  done
1390fi
1391
1392test -n "$ac_init_help" && exit $ac_status
1393if $ac_init_version; then
1394  cat <<\_ACEOF
1395dbus configure 1.0
1396generated by GNU Autoconf 2.69
1397
1398Copyright (C) 2012 Free Software Foundation, Inc.
1399This configure script is free software; the Free Software Foundation
1400gives unlimited permission to copy, distribute and modify it.
1401_ACEOF
1402  exit
1403fi
1404
1405## ------------------------ ##
1406## Autoconf initialization. ##
1407## ------------------------ ##
1408
1409# ac_fn_c_try_compile LINENO
1410# --------------------------
1411# Try to compile conftest.$ac_ext, and return whether this succeeded.
1412ac_fn_c_try_compile ()
1413{
1414  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1415  rm -f conftest.$ac_objext
1416  if { { ac_try="$ac_compile"
1417case "(($ac_try" in
1418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1419  *) ac_try_echo=$ac_try;;
1420esac
1421eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1422$as_echo "$ac_try_echo"; } >&5
1423  (eval "$ac_compile") 2>conftest.err
1424  ac_status=$?
1425  if test -s conftest.err; then
1426    grep -v '^ *+' conftest.err >conftest.er1
1427    cat conftest.er1 >&5
1428    mv -f conftest.er1 conftest.err
1429  fi
1430  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1431  test $ac_status = 0; } && {
1432	 test -z "$ac_c_werror_flag" ||
1433	 test ! -s conftest.err
1434       } && test -s conftest.$ac_objext; then :
1435  ac_retval=0
1436else
1437  $as_echo "$as_me: failed program was:" >&5
1438sed 's/^/| /' conftest.$ac_ext >&5
1439
1440	ac_retval=1
1441fi
1442  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1443  as_fn_set_status $ac_retval
1444
1445} # ac_fn_c_try_compile
1446
1447# ac_fn_c_try_cpp LINENO
1448# ----------------------
1449# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1450ac_fn_c_try_cpp ()
1451{
1452  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1453  if { { ac_try="$ac_cpp conftest.$ac_ext"
1454case "(($ac_try" in
1455  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456  *) ac_try_echo=$ac_try;;
1457esac
1458eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459$as_echo "$ac_try_echo"; } >&5
1460  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1461  ac_status=$?
1462  if test -s conftest.err; then
1463    grep -v '^ *+' conftest.err >conftest.er1
1464    cat conftest.er1 >&5
1465    mv -f conftest.er1 conftest.err
1466  fi
1467  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468  test $ac_status = 0; } > conftest.i && {
1469	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1470	 test ! -s conftest.err
1471       }; then :
1472  ac_retval=0
1473else
1474  $as_echo "$as_me: failed program was:" >&5
1475sed 's/^/| /' conftest.$ac_ext >&5
1476
1477    ac_retval=1
1478fi
1479  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1480  as_fn_set_status $ac_retval
1481
1482} # ac_fn_c_try_cpp
1483
1484# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1485# -------------------------------------------------------
1486# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1487# the include files in INCLUDES and setting the cache variable VAR
1488# accordingly.
1489ac_fn_c_check_header_mongrel ()
1490{
1491  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492  if eval \${$3+:} false; then :
1493  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1494$as_echo_n "checking for $2... " >&6; }
1495if eval \${$3+:} false; then :
1496  $as_echo_n "(cached) " >&6
1497fi
1498eval ac_res=\$$3
1499	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1500$as_echo "$ac_res" >&6; }
1501else
1502  # Is the header compilable?
1503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1504$as_echo_n "checking $2 usability... " >&6; }
1505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1506/* end confdefs.h.  */
1507$4
1508#include <$2>
1509_ACEOF
1510if ac_fn_c_try_compile "$LINENO"; then :
1511  ac_header_compiler=yes
1512else
1513  ac_header_compiler=no
1514fi
1515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1517$as_echo "$ac_header_compiler" >&6; }
1518
1519# Is the header present?
1520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1521$as_echo_n "checking $2 presence... " >&6; }
1522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1523/* end confdefs.h.  */
1524#include <$2>
1525_ACEOF
1526if ac_fn_c_try_cpp "$LINENO"; then :
1527  ac_header_preproc=yes
1528else
1529  ac_header_preproc=no
1530fi
1531rm -f conftest.err conftest.i conftest.$ac_ext
1532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1533$as_echo "$ac_header_preproc" >&6; }
1534
1535# So?  What about this header?
1536case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1537  yes:no: )
1538    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1539$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1540    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1541$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1542    ;;
1543  no:yes:* )
1544    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1545$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1546    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1547$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1548    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1549$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1550    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1551$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1552    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1553$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1554( $as_echo "## ------------------------- ##
1555## Report this to clisp-list ##
1556## ------------------------- ##"
1557     ) | sed "s/^/$as_me: WARNING:     /" >&2
1558    ;;
1559esac
1560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1561$as_echo_n "checking for $2... " >&6; }
1562if eval \${$3+:} false; then :
1563  $as_echo_n "(cached) " >&6
1564else
1565  eval "$3=\$ac_header_compiler"
1566fi
1567eval ac_res=\$$3
1568	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1569$as_echo "$ac_res" >&6; }
1570fi
1571  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572
1573} # ac_fn_c_check_header_mongrel
1574
1575# ac_fn_c_try_run LINENO
1576# ----------------------
1577# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1578# that executables *can* be run.
1579ac_fn_c_try_run ()
1580{
1581  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582  if { { ac_try="$ac_link"
1583case "(($ac_try" in
1584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585  *) ac_try_echo=$ac_try;;
1586esac
1587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588$as_echo "$ac_try_echo"; } >&5
1589  (eval "$ac_link") 2>&5
1590  ac_status=$?
1591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1593  { { case "(($ac_try" in
1594  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595  *) ac_try_echo=$ac_try;;
1596esac
1597eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598$as_echo "$ac_try_echo"; } >&5
1599  (eval "$ac_try") 2>&5
1600  ac_status=$?
1601  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602  test $ac_status = 0; }; }; then :
1603  ac_retval=0
1604else
1605  $as_echo "$as_me: program exited with status $ac_status" >&5
1606       $as_echo "$as_me: failed program was:" >&5
1607sed 's/^/| /' conftest.$ac_ext >&5
1608
1609       ac_retval=$ac_status
1610fi
1611  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1612  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613  as_fn_set_status $ac_retval
1614
1615} # ac_fn_c_try_run
1616
1617# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1618# -------------------------------------------------------
1619# Tests whether HEADER exists and can be compiled using the include files in
1620# INCLUDES, setting the cache variable VAR accordingly.
1621ac_fn_c_check_header_compile ()
1622{
1623  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1625$as_echo_n "checking for $2... " >&6; }
1626if eval \${$3+:} false; then :
1627  $as_echo_n "(cached) " >&6
1628else
1629  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1630/* end confdefs.h.  */
1631$4
1632#include <$2>
1633_ACEOF
1634if ac_fn_c_try_compile "$LINENO"; then :
1635  eval "$3=yes"
1636else
1637  eval "$3=no"
1638fi
1639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1640fi
1641eval ac_res=\$$3
1642	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643$as_echo "$ac_res" >&6; }
1644  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645
1646} # ac_fn_c_check_header_compile
1647
1648# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1649# -------------------------------------------
1650# Tests whether TYPE exists after having included INCLUDES, setting cache
1651# variable VAR accordingly.
1652ac_fn_c_check_type ()
1653{
1654  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1656$as_echo_n "checking for $2... " >&6; }
1657if eval \${$3+:} false; then :
1658  $as_echo_n "(cached) " >&6
1659else
1660  eval "$3=no"
1661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662/* end confdefs.h.  */
1663$4
1664int
1665main ()
1666{
1667if (sizeof ($2))
1668	 return 0;
1669  ;
1670  return 0;
1671}
1672_ACEOF
1673if ac_fn_c_try_compile "$LINENO"; then :
1674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675/* end confdefs.h.  */
1676$4
1677int
1678main ()
1679{
1680if (sizeof (($2)))
1681	    return 0;
1682  ;
1683  return 0;
1684}
1685_ACEOF
1686if ac_fn_c_try_compile "$LINENO"; then :
1687
1688else
1689  eval "$3=yes"
1690fi
1691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1692fi
1693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694fi
1695eval ac_res=\$$3
1696	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697$as_echo "$ac_res" >&6; }
1698  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
1700} # ac_fn_c_check_type
1701
1702# ac_fn_c_try_link LINENO
1703# -----------------------
1704# Try to link conftest.$ac_ext, and return whether this succeeded.
1705ac_fn_c_try_link ()
1706{
1707  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708  rm -f conftest.$ac_objext conftest$ac_exeext
1709  if { { ac_try="$ac_link"
1710case "(($ac_try" in
1711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712  *) ac_try_echo=$ac_try;;
1713esac
1714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715$as_echo "$ac_try_echo"; } >&5
1716  (eval "$ac_link") 2>conftest.err
1717  ac_status=$?
1718  if test -s conftest.err; then
1719    grep -v '^ *+' conftest.err >conftest.er1
1720    cat conftest.er1 >&5
1721    mv -f conftest.er1 conftest.err
1722  fi
1723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724  test $ac_status = 0; } && {
1725	 test -z "$ac_c_werror_flag" ||
1726	 test ! -s conftest.err
1727       } && test -s conftest$ac_exeext && {
1728	 test "$cross_compiling" = yes ||
1729	 test -x conftest$ac_exeext
1730       }; then :
1731  ac_retval=0
1732else
1733  $as_echo "$as_me: failed program was:" >&5
1734sed 's/^/| /' conftest.$ac_ext >&5
1735
1736	ac_retval=1
1737fi
1738  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1739  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1740  # interfere with the next link command; also delete a directory that is
1741  # left behind by Apple's compiler.  We do this before executing the actions.
1742  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744  as_fn_set_status $ac_retval
1745
1746} # ac_fn_c_try_link
1747
1748# ac_fn_c_check_func LINENO FUNC VAR
1749# ----------------------------------
1750# Tests whether FUNC exists, setting the cache variable VAR accordingly
1751ac_fn_c_check_func ()
1752{
1753  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755$as_echo_n "checking for $2... " >&6; }
1756if eval \${$3+:} false; then :
1757  $as_echo_n "(cached) " >&6
1758else
1759  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760/* end confdefs.h.  */
1761/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1762   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1763#define $2 innocuous_$2
1764
1765/* System header to define __stub macros and hopefully few prototypes,
1766    which can conflict with char $2 (); below.
1767    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1768    <limits.h> exists even on freestanding compilers.  */
1769
1770#ifdef __STDC__
1771# include <limits.h>
1772#else
1773# include <assert.h>
1774#endif
1775
1776#undef $2
1777
1778/* Override any GCC internal prototype to avoid an error.
1779   Use char because int might match the return type of a GCC
1780   builtin and then its argument prototype would still apply.  */
1781#ifdef __cplusplus
1782extern "C"
1783#endif
1784char $2 ();
1785/* The GNU C library defines this for functions which it implements
1786    to always fail with ENOSYS.  Some functions are actually named
1787    something starting with __ and the normal name is an alias.  */
1788#if defined __stub_$2 || defined __stub___$2
1789choke me
1790#endif
1791
1792int
1793main ()
1794{
1795return $2 ();
1796  ;
1797  return 0;
1798}
1799_ACEOF
1800if ac_fn_c_try_link "$LINENO"; then :
1801  eval "$3=yes"
1802else
1803  eval "$3=no"
1804fi
1805rm -f core conftest.err conftest.$ac_objext \
1806    conftest$ac_exeext conftest.$ac_ext
1807fi
1808eval ac_res=\$$3
1809	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810$as_echo "$ac_res" >&6; }
1811  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812
1813} # ac_fn_c_check_func
1814cat >config.log <<_ACEOF
1815This file contains any messages produced by compilers while
1816running configure, to aid debugging if configure makes a mistake.
1817
1818It was created by dbus $as_me 1.0, which was
1819generated by GNU Autoconf 2.69.  Invocation command line was
1820
1821  $ $0 $@
1822
1823_ACEOF
1824exec 5>>config.log
1825{
1826cat <<_ASUNAME
1827## --------- ##
1828## Platform. ##
1829## --------- ##
1830
1831hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1832uname -m = `(uname -m) 2>/dev/null || echo unknown`
1833uname -r = `(uname -r) 2>/dev/null || echo unknown`
1834uname -s = `(uname -s) 2>/dev/null || echo unknown`
1835uname -v = `(uname -v) 2>/dev/null || echo unknown`
1836
1837/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1838/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1839
1840/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1841/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1842/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1843/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1844/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1845/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1846/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1847
1848_ASUNAME
1849
1850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851for as_dir in $PATH
1852do
1853  IFS=$as_save_IFS
1854  test -z "$as_dir" && as_dir=.
1855    $as_echo "PATH: $as_dir"
1856  done
1857IFS=$as_save_IFS
1858
1859} >&5
1860
1861cat >&5 <<_ACEOF
1862
1863
1864## ----------- ##
1865## Core tests. ##
1866## ----------- ##
1867
1868_ACEOF
1869
1870
1871# Keep a trace of the command line.
1872# Strip out --no-create and --no-recursion so they do not pile up.
1873# Strip out --silent because we don't want to record it for future runs.
1874# Also quote any args containing shell meta-characters.
1875# Make two passes to allow for proper duplicate-argument suppression.
1876ac_configure_args=
1877ac_configure_args0=
1878ac_configure_args1=
1879ac_must_keep_next=false
1880for ac_pass in 1 2
1881do
1882  for ac_arg
1883  do
1884    case $ac_arg in
1885    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1886    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1887    | -silent | --silent | --silen | --sile | --sil)
1888      continue ;;
1889    *\'*)
1890      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1891    esac
1892    case $ac_pass in
1893    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1894    2)
1895      as_fn_append ac_configure_args1 " '$ac_arg'"
1896      if test $ac_must_keep_next = true; then
1897	ac_must_keep_next=false # Got value, back to normal.
1898      else
1899	case $ac_arg in
1900	  *=* | --config-cache | -C | -disable-* | --disable-* \
1901	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1902	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1903	  | -with-* | --with-* | -without-* | --without-* | --x)
1904	    case "$ac_configure_args0 " in
1905	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1906	    esac
1907	    ;;
1908	  -* ) ac_must_keep_next=true ;;
1909	esac
1910      fi
1911      as_fn_append ac_configure_args " '$ac_arg'"
1912      ;;
1913    esac
1914  done
1915done
1916{ ac_configure_args0=; unset ac_configure_args0;}
1917{ ac_configure_args1=; unset ac_configure_args1;}
1918
1919# When interrupted or exit'd, cleanup temporary files, and complete
1920# config.log.  We remove comments because anyway the quotes in there
1921# would cause problems or look ugly.
1922# WARNING: Use '\'' to represent an apostrophe within the trap.
1923# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1924trap 'exit_status=$?
1925  # Save into config.log some information that might help in debugging.
1926  {
1927    echo
1928
1929    $as_echo "## ---------------- ##
1930## Cache variables. ##
1931## ---------------- ##"
1932    echo
1933    # The following way of writing the cache mishandles newlines in values,
1934(
1935  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1936    eval ac_val=\$$ac_var
1937    case $ac_val in #(
1938    *${as_nl}*)
1939      case $ac_var in #(
1940      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1941$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1942      esac
1943      case $ac_var in #(
1944      _ | IFS | as_nl) ;; #(
1945      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1946      *) { eval $ac_var=; unset $ac_var;} ;;
1947      esac ;;
1948    esac
1949  done
1950  (set) 2>&1 |
1951    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1952    *${as_nl}ac_space=\ *)
1953      sed -n \
1954	"s/'\''/'\''\\\\'\'''\''/g;
1955	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1956      ;; #(
1957    *)
1958      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1959      ;;
1960    esac |
1961    sort
1962)
1963    echo
1964
1965    $as_echo "## ----------------- ##
1966## Output variables. ##
1967## ----------------- ##"
1968    echo
1969    for ac_var in $ac_subst_vars
1970    do
1971      eval ac_val=\$$ac_var
1972      case $ac_val in
1973      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1974      esac
1975      $as_echo "$ac_var='\''$ac_val'\''"
1976    done | sort
1977    echo
1978
1979    if test -n "$ac_subst_files"; then
1980      $as_echo "## ------------------- ##
1981## File substitutions. ##
1982## ------------------- ##"
1983      echo
1984      for ac_var in $ac_subst_files
1985      do
1986	eval ac_val=\$$ac_var
1987	case $ac_val in
1988	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1989	esac
1990	$as_echo "$ac_var='\''$ac_val'\''"
1991      done | sort
1992      echo
1993    fi
1994
1995    if test -s confdefs.h; then
1996      $as_echo "## ----------- ##
1997## confdefs.h. ##
1998## ----------- ##"
1999      echo
2000      cat confdefs.h
2001      echo
2002    fi
2003    test "$ac_signal" != 0 &&
2004      $as_echo "$as_me: caught signal $ac_signal"
2005    $as_echo "$as_me: exit $exit_status"
2006  } >&5
2007  rm -f core *.core core.conftest.* &&
2008    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2009    exit $exit_status
2010' 0
2011for ac_signal in 1 2 13 15; do
2012  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2013done
2014ac_signal=0
2015
2016# confdefs.h avoids OS command line length limits that DEFS can exceed.
2017rm -f -r conftest* confdefs.h
2018
2019$as_echo "/* confdefs.h */" > confdefs.h
2020
2021# Predefined preprocessor variables.
2022
2023cat >>confdefs.h <<_ACEOF
2024#define PACKAGE_NAME "$PACKAGE_NAME"
2025_ACEOF
2026
2027cat >>confdefs.h <<_ACEOF
2028#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2029_ACEOF
2030
2031cat >>confdefs.h <<_ACEOF
2032#define PACKAGE_VERSION "$PACKAGE_VERSION"
2033_ACEOF
2034
2035cat >>confdefs.h <<_ACEOF
2036#define PACKAGE_STRING "$PACKAGE_STRING"
2037_ACEOF
2038
2039cat >>confdefs.h <<_ACEOF
2040#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2041_ACEOF
2042
2043cat >>confdefs.h <<_ACEOF
2044#define PACKAGE_URL "$PACKAGE_URL"
2045_ACEOF
2046
2047
2048# Let the site file select an alternate cache file if it wants to.
2049# Prefer an explicitly selected file to automatically selected ones.
2050ac_site_file1=NONE
2051ac_site_file2=NONE
2052if test -n "$CONFIG_SITE"; then
2053  # We do not want a PATH search for config.site.
2054  case $CONFIG_SITE in #((
2055    -*)  ac_site_file1=./$CONFIG_SITE;;
2056    */*) ac_site_file1=$CONFIG_SITE;;
2057    *)   ac_site_file1=./$CONFIG_SITE;;
2058  esac
2059elif test "x$prefix" != xNONE; then
2060  ac_site_file1=$prefix/share/config.site
2061  ac_site_file2=$prefix/etc/config.site
2062else
2063  ac_site_file1=$ac_default_prefix/share/config.site
2064  ac_site_file2=$ac_default_prefix/etc/config.site
2065fi
2066for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2067do
2068  test "x$ac_site_file" = xNONE && continue
2069  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2070    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2071$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2072    sed 's/^/| /' "$ac_site_file" >&5
2073    . "$ac_site_file" \
2074      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2076as_fn_error $? "failed to load site script $ac_site_file
2077See \`config.log' for more details" "$LINENO" 5; }
2078  fi
2079done
2080
2081if test -r "$cache_file"; then
2082  # Some versions of bash will fail to source /dev/null (special files
2083  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2084  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2085    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2086$as_echo "$as_me: loading cache $cache_file" >&6;}
2087    case $cache_file in
2088      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2089      *)                      . "./$cache_file";;
2090    esac
2091  fi
2092else
2093  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2094$as_echo "$as_me: creating cache $cache_file" >&6;}
2095  >$cache_file
2096fi
2097
2098# Check that the precious variables saved in the cache have kept the same
2099# value.
2100ac_cache_corrupted=false
2101for ac_var in $ac_precious_vars; do
2102  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2103  eval ac_new_set=\$ac_env_${ac_var}_set
2104  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2105  eval ac_new_val=\$ac_env_${ac_var}_value
2106  case $ac_old_set,$ac_new_set in
2107    set,)
2108      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2109$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2110      ac_cache_corrupted=: ;;
2111    ,set)
2112      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2113$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2114      ac_cache_corrupted=: ;;
2115    ,);;
2116    *)
2117      if test "x$ac_old_val" != "x$ac_new_val"; then
2118	# differences in whitespace do not lead to failure.
2119	ac_old_val_w=`echo x $ac_old_val`
2120	ac_new_val_w=`echo x $ac_new_val`
2121	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2122	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2123$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2124	  ac_cache_corrupted=:
2125	else
2126	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2127$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2128	  eval $ac_var=\$ac_old_val
2129	fi
2130	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2131$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2132	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2133$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2134      fi;;
2135  esac
2136  # Pass precious variables to config.status.
2137  if test "$ac_new_set" = set; then
2138    case $ac_new_val in
2139    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2140    *) ac_arg=$ac_var=$ac_new_val ;;
2141    esac
2142    case " $ac_configure_args " in
2143      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2144      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2145    esac
2146  fi
2147done
2148if $ac_cache_corrupted; then
2149  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2150$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2151  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2152$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2153  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2154fi
2155## -------------------- ##
2156## Main body of script. ##
2157## -------------------- ##
2158
2159ac_ext=c
2160ac_cpp='$CPP $CPPFLAGS'
2161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2163ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164
2165
2166
2167ac_config_headers="$ac_config_headers config.h"
2168
2169
2170
2171
2172  case $TERM in
2173    # for the most important terminal types we directly know the sequences
2174    xterm*|vt220*|vt100*)
2175      term_bold=`${AWK:-awk} 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null`
2176      term_norm=`${AWK:-awk} 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null`
2177      ;;
2178    # for all others, we try to use a possibly existing `tput' or `tcout' utility
2179    *)
2180      paths=`echo "$PATH" | sed -e 's/:/ /g'`
2181      for tool in tput tcout; do
2182        for dir in $paths; do
2183          if test -r "$dir/$tool"; then
2184            for seq in bold md smso; do # 'smso' is last
2185              bold="`$dir/$tool $seq 2>/dev/null`"
2186              if test -n "$bold"; then
2187                term_bold="$bold"
2188                break
2189              fi
2190            done
2191            if test -n "$term_bold"; then
2192              for seq in sgr0 me rmso reset; do # 'reset' is last
2193                norm="`$dir/$tool $seq 2>/dev/null`"
2194                if test -n "$norm"; then
2195                  term_norm="$norm"
2196                  break
2197                fi
2198              done
2199            fi
2200            break
2201          fi
2202        done
2203        if test -n "$term_bold" && test -n "$term_norm"; then
2204          break
2205        fi
2206      done
2207      ;;
2208  esac
2209
2210
2211  { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Common)${term_norm}" >&5
2212$as_echo "$as_me: ${term_bold}** Dbus (Common)${term_norm}" >&6;}
2213
2214
2215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to remove colons from paths" >&5
2216$as_echo_n "checking how to remove colons from paths... " >&6; }
2217if ${cl_cv_decolonize+:} false; then :
2218  $as_echo_n "(cached) " >&6
2219else
2220  case $ac_cv_build in
2221       *-cygwin) cl_cv_decolonize='cygpath --unix $x' ;;
2222       *-mingw*)
2223         if test "$cross_compiling" = yes; then
2224           cl_cv_decolonize='cygpath --unix $x'
2225         else
2226           cl_cv_decolonize="echo \$x | sed -e 's,\\\\,/,g' -e 's,^\\(.\\):,/\1,'"
2227         fi
2228         ;;
2229       *) cl_cv_decolonize='echo $x' ;;
2230     esac
2231
2232fi
2233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_decolonize" >&5
2234$as_echo "$cl_cv_decolonize" >&6; }
2235  CLISP_DECOLONIZE=$cl_cv_decolonize
2236
2237
2238
2239
2240
2241# Check whether --with-clisp was given.
2242if test "${with_clisp+set}" = set; then :
2243  withval=$with_clisp; cl_use_clisp="$withval"
2244else
2245  cl_use_clisp=default
2246fi
2247
2248  cl_have_clisp=no
2249  if test "$cl_use_clisp" != "no"; then
2250    if test "$cl_use_clisp" = default -o "$cl_use_clisp" = yes; then
2251      # Extract the first word of "clisp", so it can be a program name with args.
2252set dummy clisp; ac_word=$2
2253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2254$as_echo_n "checking for $ac_word... " >&6; }
2255if ${ac_cv_path_cl_cv_clisp+:} false; then :
2256  $as_echo_n "(cached) " >&6
2257else
2258  case $cl_cv_clisp in
2259  [\\/]* | ?:[\\/]*)
2260  ac_cv_path_cl_cv_clisp="$cl_cv_clisp" # Let the user override the test with a path.
2261  ;;
2262  *)
2263  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264for as_dir in $PATH
2265do
2266  IFS=$as_save_IFS
2267  test -z "$as_dir" && as_dir=.
2268    for ac_exec_ext in '' $ac_executable_extensions; do
2269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270    ac_cv_path_cl_cv_clisp="$as_dir/$ac_word$ac_exec_ext"
2271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2272    break 2
2273  fi
2274done
2275  done
2276IFS=$as_save_IFS
2277
2278  ;;
2279esac
2280fi
2281cl_cv_clisp=$ac_cv_path_cl_cv_clisp
2282if test -n "$cl_cv_clisp"; then
2283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp" >&5
2284$as_echo "$cl_cv_clisp" >&6; }
2285else
2286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2287$as_echo "no" >&6; }
2288fi
2289
2290
2291    else
2292      cl_cv_clisp="$cl_use_clisp"
2293    fi
2294    if test -n "$cl_cv_clisp"; then
2295      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP version" >&5
2296$as_echo_n "checking for CLISP version... " >&6; }
2297if ${cl_cv_clisp_version+:} false; then :
2298  $as_echo_n "(cached) " >&6
2299else
2300                             if $cl_cv_clisp --version 2>/dev/null | head -n 1 | grep "GNU CLISP" >/dev/null 2>&1; then
2301           cl_cv_clisp_version=`$cl_cv_clisp -q -norc -x '(lisp-implementation-version)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2302         else
2303           as_fn_error $? "'$cl_cv_clisp' is not a CLISP" "$LINENO" 5
2304         fi
2305
2306fi
2307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_version" >&5
2308$as_echo "$cl_cv_clisp_version" >&6; }
2309      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP libdir" >&5
2310$as_echo_n "checking for CLISP libdir... " >&6; }
2311if ${cl_cv_clisp_libdir+:} false; then :
2312  $as_echo_n "(cached) " >&6
2313else
2314  cl_cv_clisp_libdir=`$cl_cv_clisp -q -norc -x '(namestring *lib-directory*)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2315         x=$cl_cv_clisp_libdir
2316         cl_cv_clisp_libdir=`eval $cl_cv_decolonize`
2317         # cf src/clisp-link.in:linkkitdir
2318         missing=''
2319         for f in modules.c clisp.h; do
2320           test -r "${cl_cv_clisp_libdir}linkkit/$f" || missing=${missing}' '$f
2321         done
2322         test -n "${missing}" \
2323           && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_libdir}linkkit'" "$LINENO" 5
2324
2325fi
2326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_libdir" >&5
2327$as_echo "$cl_cv_clisp_libdir" >&6; }
2328      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP linking set" >&5
2329$as_echo_n "checking for CLISP linking set... " >&6; }
2330if ${cl_cv_clisp_linkset+:} false; then :
2331  $as_echo_n "(cached) " >&6
2332else
2333  cl_cv_clisp_linkset=`$cl_cv_clisp -q -norc -x '(sys::program-name)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2334         cl_cv_clisp_linkset=`dirname ${cl_cv_clisp_linkset}`
2335         missing=''
2336         # cf. src/clisp-link.in:check_linkset (we do not need to check for
2337         # lisp.run because cl_cv_clisp_linkset comes from SYS::PROGRAM-NAME)
2338         for f in lisp.a lispinit.mem modules.h modules.o makevars; do
2339           test -r "${cl_cv_clisp_linkset}/$f" || missing=${missing}' '$f
2340         done
2341         test -n "${missing}" \
2342           && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_linkset}'" "$LINENO" 5
2343
2344fi
2345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_linkset" >&5
2346$as_echo "$cl_cv_clisp_linkset" >&6; }
2347      CLISP=$cl_cv_clisp
2348
2349      CLISP_LIBDIR="${cl_cv_clisp_libdir}"
2350
2351      CLISP_LINKKIT="${cl_cv_clisp_libdir}linkkit"
2352
2353      sed 's/^/CLISP_/' ${cl_cv_clisp_linkset}/makevars > conftestvars
2354      . ./conftestvars
2355      rm -f conftestvars
2356
2357
2358
2359
2360      test -d "$cl_cv_clisp_libdir" -a -d "$cl_cv_clisp_linkset" && cl_have_clisp=yes
2361    fi
2362  fi
2363  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP" >&5
2364$as_echo_n "checking for CLISP... " >&6; }
2365if ${cl_cv_have_clisp+:} false; then :
2366  $as_echo_n "(cached) " >&6
2367else
2368  cl_cv_have_clisp=$cl_have_clisp
2369fi
2370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_have_clisp" >&5
2371$as_echo "$cl_cv_have_clisp" >&6; }
2372  required=true
2373  ${required} && test $cl_cv_have_clisp = no && as_fn_error $? "CLISP not found" "$LINENO" 5
2374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI in CLISP" >&5
2375$as_echo_n "checking for FFI in CLISP... " >&6; }
2376if ${cl_cv_clisp_FFI+:} false; then :
2377  $as_echo_n "(cached) " >&6
2378else
2379  cl_cv_clisp_FFI=`$cl_cv_clisp -q -norc -x '#+FFI "yes" #-FFI "no"' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2380fi
2381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_FFI" >&5
2382$as_echo "$cl_cv_clisp_FFI" >&6; }
2383     ${required} && test $cl_cv_clisp_FFI = no \
2384       && as_fn_error $? "no FFI in CLISP" "$LINENO" 5
2385
2386
2387ac_aux_dir=
2388for ac_dir in $cl_cv_clisp_libdir/build-aux "$srcdir"/$cl_cv_clisp_libdir/build-aux; do
2389  if test -f "$ac_dir/install-sh"; then
2390    ac_aux_dir=$ac_dir
2391    ac_install_sh="$ac_aux_dir/install-sh -c"
2392    break
2393  elif test -f "$ac_dir/install.sh"; then
2394    ac_aux_dir=$ac_dir
2395    ac_install_sh="$ac_aux_dir/install.sh -c"
2396    break
2397  elif test -f "$ac_dir/shtool"; then
2398    ac_aux_dir=$ac_dir
2399    ac_install_sh="$ac_aux_dir/shtool install -c"
2400    break
2401  fi
2402done
2403if test -z "$ac_aux_dir"; then
2404  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $cl_cv_clisp_libdir/build-aux \"$srcdir\"/$cl_cv_clisp_libdir/build-aux" "$LINENO" 5
2405fi
2406
2407# These three variables are undocumented and unsupported,
2408# and are intended to be withdrawn in a future Autoconf release.
2409# They can cause serious problems if a builder's source tree is in a directory
2410# whose full name contains unusual characters.
2411ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2412ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2413ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2414
2415
2416# Expand $ac_aux_dir to an absolute path.
2417am_aux_dir=`cd "$ac_aux_dir" && pwd`
2418
2419ac_ext=c
2420ac_cpp='$CPP $CPPFLAGS'
2421ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2422ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2423ac_compiler_gnu=$ac_cv_c_compiler_gnu
2424if test -n "$ac_tool_prefix"; then
2425  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2426set dummy ${ac_tool_prefix}gcc; ac_word=$2
2427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2428$as_echo_n "checking for $ac_word... " >&6; }
2429if ${ac_cv_prog_CC+:} false; then :
2430  $as_echo_n "(cached) " >&6
2431else
2432  if test -n "$CC"; then
2433  ac_cv_prog_CC="$CC" # Let the user override the test.
2434else
2435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436for as_dir in $PATH
2437do
2438  IFS=$as_save_IFS
2439  test -z "$as_dir" && as_dir=.
2440    for ac_exec_ext in '' $ac_executable_extensions; do
2441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2442    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2444    break 2
2445  fi
2446done
2447  done
2448IFS=$as_save_IFS
2449
2450fi
2451fi
2452CC=$ac_cv_prog_CC
2453if test -n "$CC"; then
2454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2455$as_echo "$CC" >&6; }
2456else
2457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458$as_echo "no" >&6; }
2459fi
2460
2461
2462fi
2463if test -z "$ac_cv_prog_CC"; then
2464  ac_ct_CC=$CC
2465  # Extract the first word of "gcc", so it can be a program name with args.
2466set dummy gcc; ac_word=$2
2467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2468$as_echo_n "checking for $ac_word... " >&6; }
2469if ${ac_cv_prog_ac_ct_CC+:} false; then :
2470  $as_echo_n "(cached) " >&6
2471else
2472  if test -n "$ac_ct_CC"; then
2473  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2474else
2475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476for as_dir in $PATH
2477do
2478  IFS=$as_save_IFS
2479  test -z "$as_dir" && as_dir=.
2480    for ac_exec_ext in '' $ac_executable_extensions; do
2481  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482    ac_cv_prog_ac_ct_CC="gcc"
2483    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2484    break 2
2485  fi
2486done
2487  done
2488IFS=$as_save_IFS
2489
2490fi
2491fi
2492ac_ct_CC=$ac_cv_prog_ac_ct_CC
2493if test -n "$ac_ct_CC"; then
2494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2495$as_echo "$ac_ct_CC" >&6; }
2496else
2497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2498$as_echo "no" >&6; }
2499fi
2500
2501  if test "x$ac_ct_CC" = x; then
2502    CC=""
2503  else
2504    case $cross_compiling:$ac_tool_warned in
2505yes:)
2506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2508ac_tool_warned=yes ;;
2509esac
2510    CC=$ac_ct_CC
2511  fi
2512else
2513  CC="$ac_cv_prog_CC"
2514fi
2515
2516if test -z "$CC"; then
2517          if test -n "$ac_tool_prefix"; then
2518    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2519set dummy ${ac_tool_prefix}cc; ac_word=$2
2520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2521$as_echo_n "checking for $ac_word... " >&6; }
2522if ${ac_cv_prog_CC+:} false; then :
2523  $as_echo_n "(cached) " >&6
2524else
2525  if test -n "$CC"; then
2526  ac_cv_prog_CC="$CC" # Let the user override the test.
2527else
2528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529for as_dir in $PATH
2530do
2531  IFS=$as_save_IFS
2532  test -z "$as_dir" && as_dir=.
2533    for ac_exec_ext in '' $ac_executable_extensions; do
2534  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2535    ac_cv_prog_CC="${ac_tool_prefix}cc"
2536    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2537    break 2
2538  fi
2539done
2540  done
2541IFS=$as_save_IFS
2542
2543fi
2544fi
2545CC=$ac_cv_prog_CC
2546if test -n "$CC"; then
2547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2548$as_echo "$CC" >&6; }
2549else
2550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2551$as_echo "no" >&6; }
2552fi
2553
2554
2555  fi
2556fi
2557if test -z "$CC"; then
2558  # Extract the first word of "cc", so it can be a program name with args.
2559set dummy cc; ac_word=$2
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561$as_echo_n "checking for $ac_word... " >&6; }
2562if ${ac_cv_prog_CC+:} false; then :
2563  $as_echo_n "(cached) " >&6
2564else
2565  if test -n "$CC"; then
2566  ac_cv_prog_CC="$CC" # Let the user override the test.
2567else
2568  ac_prog_rejected=no
2569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570for as_dir in $PATH
2571do
2572  IFS=$as_save_IFS
2573  test -z "$as_dir" && as_dir=.
2574    for ac_exec_ext in '' $ac_executable_extensions; do
2575  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2577       ac_prog_rejected=yes
2578       continue
2579     fi
2580    ac_cv_prog_CC="cc"
2581    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582    break 2
2583  fi
2584done
2585  done
2586IFS=$as_save_IFS
2587
2588if test $ac_prog_rejected = yes; then
2589  # We found a bogon in the path, so make sure we never use it.
2590  set dummy $ac_cv_prog_CC
2591  shift
2592  if test $# != 0; then
2593    # We chose a different compiler from the bogus one.
2594    # However, it has the same basename, so the bogon will be chosen
2595    # first if we set CC to just the basename; use the full file name.
2596    shift
2597    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2598  fi
2599fi
2600fi
2601fi
2602CC=$ac_cv_prog_CC
2603if test -n "$CC"; then
2604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2605$as_echo "$CC" >&6; }
2606else
2607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608$as_echo "no" >&6; }
2609fi
2610
2611
2612fi
2613if test -z "$CC"; then
2614  if test -n "$ac_tool_prefix"; then
2615  for ac_prog in cl.exe
2616  do
2617    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2618set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620$as_echo_n "checking for $ac_word... " >&6; }
2621if ${ac_cv_prog_CC+:} false; then :
2622  $as_echo_n "(cached) " >&6
2623else
2624  if test -n "$CC"; then
2625  ac_cv_prog_CC="$CC" # Let the user override the test.
2626else
2627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628for as_dir in $PATH
2629do
2630  IFS=$as_save_IFS
2631  test -z "$as_dir" && as_dir=.
2632    for ac_exec_ext in '' $ac_executable_extensions; do
2633  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2635    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2636    break 2
2637  fi
2638done
2639  done
2640IFS=$as_save_IFS
2641
2642fi
2643fi
2644CC=$ac_cv_prog_CC
2645if test -n "$CC"; then
2646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2647$as_echo "$CC" >&6; }
2648else
2649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650$as_echo "no" >&6; }
2651fi
2652
2653
2654    test -n "$CC" && break
2655  done
2656fi
2657if test -z "$CC"; then
2658  ac_ct_CC=$CC
2659  for ac_prog in cl.exe
2660do
2661  # Extract the first word of "$ac_prog", so it can be a program name with args.
2662set dummy $ac_prog; ac_word=$2
2663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664$as_echo_n "checking for $ac_word... " >&6; }
2665if ${ac_cv_prog_ac_ct_CC+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  if test -n "$ac_ct_CC"; then
2669  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2670else
2671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672for as_dir in $PATH
2673do
2674  IFS=$as_save_IFS
2675  test -z "$as_dir" && as_dir=.
2676    for ac_exec_ext in '' $ac_executable_extensions; do
2677  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2678    ac_cv_prog_ac_ct_CC="$ac_prog"
2679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680    break 2
2681  fi
2682done
2683  done
2684IFS=$as_save_IFS
2685
2686fi
2687fi
2688ac_ct_CC=$ac_cv_prog_ac_ct_CC
2689if test -n "$ac_ct_CC"; then
2690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2691$as_echo "$ac_ct_CC" >&6; }
2692else
2693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694$as_echo "no" >&6; }
2695fi
2696
2697
2698  test -n "$ac_ct_CC" && break
2699done
2700
2701  if test "x$ac_ct_CC" = x; then
2702    CC=""
2703  else
2704    case $cross_compiling:$ac_tool_warned in
2705yes:)
2706{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2707$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2708ac_tool_warned=yes ;;
2709esac
2710    CC=$ac_ct_CC
2711  fi
2712fi
2713
2714fi
2715
2716
2717test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2719as_fn_error $? "no acceptable C compiler found in \$PATH
2720See \`config.log' for more details" "$LINENO" 5; }
2721
2722# Provide some information about the compiler.
2723$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2724set X $ac_compile
2725ac_compiler=$2
2726for ac_option in --version -v -V -qversion; do
2727  { { ac_try="$ac_compiler $ac_option >&5"
2728case "(($ac_try" in
2729  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730  *) ac_try_echo=$ac_try;;
2731esac
2732eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733$as_echo "$ac_try_echo"; } >&5
2734  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2735  ac_status=$?
2736  if test -s conftest.err; then
2737    sed '10a\
2738... rest of stderr output deleted ...
2739         10q' conftest.err >conftest.er1
2740    cat conftest.er1 >&5
2741  fi
2742  rm -f conftest.er1 conftest.err
2743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744  test $ac_status = 0; }
2745done
2746
2747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748/* end confdefs.h.  */
2749
2750int
2751main ()
2752{
2753
2754  ;
2755  return 0;
2756}
2757_ACEOF
2758ac_clean_files_save=$ac_clean_files
2759ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2760# Try to create an executable without -o first, disregard a.out.
2761# It will help us diagnose broken compilers, and finding out an intuition
2762# of exeext.
2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2764$as_echo_n "checking whether the C compiler works... " >&6; }
2765ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2766
2767# The possible output files:
2768ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2769
2770ac_rmfiles=
2771for ac_file in $ac_files
2772do
2773  case $ac_file in
2774    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2775    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2776  esac
2777done
2778rm -f $ac_rmfiles
2779
2780if { { ac_try="$ac_link_default"
2781case "(($ac_try" in
2782  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783  *) ac_try_echo=$ac_try;;
2784esac
2785eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786$as_echo "$ac_try_echo"; } >&5
2787  (eval "$ac_link_default") 2>&5
2788  ac_status=$?
2789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2790  test $ac_status = 0; }; then :
2791  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2792# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2793# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2794# so that the user can short-circuit this test for compilers unknown to
2795# Autoconf.
2796for ac_file in $ac_files ''
2797do
2798  test -f "$ac_file" || continue
2799  case $ac_file in
2800    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2801	;;
2802    [ab].out )
2803	# We found the default executable, but exeext='' is most
2804	# certainly right.
2805	break;;
2806    *.* )
2807	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2808	then :; else
2809	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2810	fi
2811	# We set ac_cv_exeext here because the later test for it is not
2812	# safe: cross compilers may not add the suffix if given an `-o'
2813	# argument, so we may need to know it at that point already.
2814	# Even if this section looks crufty: it has the advantage of
2815	# actually working.
2816	break;;
2817    * )
2818	break;;
2819  esac
2820done
2821test "$ac_cv_exeext" = no && ac_cv_exeext=
2822
2823else
2824  ac_file=''
2825fi
2826if test -z "$ac_file"; then :
2827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828$as_echo "no" >&6; }
2829$as_echo "$as_me: failed program was:" >&5
2830sed 's/^/| /' conftest.$ac_ext >&5
2831
2832{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2833$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2834as_fn_error 77 "C compiler cannot create executables
2835See \`config.log' for more details" "$LINENO" 5; }
2836else
2837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2838$as_echo "yes" >&6; }
2839fi
2840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2841$as_echo_n "checking for C compiler default output file name... " >&6; }
2842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2843$as_echo "$ac_file" >&6; }
2844ac_exeext=$ac_cv_exeext
2845
2846rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2847ac_clean_files=$ac_clean_files_save
2848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2849$as_echo_n "checking for suffix of executables... " >&6; }
2850if { { ac_try="$ac_link"
2851case "(($ac_try" in
2852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853  *) ac_try_echo=$ac_try;;
2854esac
2855eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2856$as_echo "$ac_try_echo"; } >&5
2857  (eval "$ac_link") 2>&5
2858  ac_status=$?
2859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860  test $ac_status = 0; }; then :
2861  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2862# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2863# work properly (i.e., refer to `conftest.exe'), while it won't with
2864# `rm'.
2865for ac_file in conftest.exe conftest conftest.*; do
2866  test -f "$ac_file" || continue
2867  case $ac_file in
2868    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2869    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2870	  break;;
2871    * ) break;;
2872  esac
2873done
2874else
2875  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2876$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2877as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2878See \`config.log' for more details" "$LINENO" 5; }
2879fi
2880rm -f conftest conftest$ac_cv_exeext
2881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2882$as_echo "$ac_cv_exeext" >&6; }
2883
2884rm -f conftest.$ac_ext
2885EXEEXT=$ac_cv_exeext
2886ac_exeext=$EXEEXT
2887cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888/* end confdefs.h.  */
2889#include <stdio.h>
2890int
2891main ()
2892{
2893FILE *f = fopen ("conftest.out", "w");
2894 return ferror (f) || fclose (f) != 0;
2895
2896  ;
2897  return 0;
2898}
2899_ACEOF
2900ac_clean_files="$ac_clean_files conftest.out"
2901# Check that the compiler produces executables we can run.  If not, either
2902# the compiler is broken, or we cross compile.
2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2904$as_echo_n "checking whether we are cross compiling... " >&6; }
2905if test "$cross_compiling" != yes; then
2906  { { ac_try="$ac_link"
2907case "(($ac_try" in
2908  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909  *) ac_try_echo=$ac_try;;
2910esac
2911eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2912$as_echo "$ac_try_echo"; } >&5
2913  (eval "$ac_link") 2>&5
2914  ac_status=$?
2915  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916  test $ac_status = 0; }
2917  if { ac_try='./conftest$ac_cv_exeext'
2918  { { case "(($ac_try" in
2919  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920  *) ac_try_echo=$ac_try;;
2921esac
2922eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923$as_echo "$ac_try_echo"; } >&5
2924  (eval "$ac_try") 2>&5
2925  ac_status=$?
2926  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927  test $ac_status = 0; }; }; then
2928    cross_compiling=no
2929  else
2930    if test "$cross_compiling" = maybe; then
2931	cross_compiling=yes
2932    else
2933	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935as_fn_error $? "cannot run C compiled programs.
2936If you meant to cross compile, use \`--host'.
2937See \`config.log' for more details" "$LINENO" 5; }
2938    fi
2939  fi
2940fi
2941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2942$as_echo "$cross_compiling" >&6; }
2943
2944rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2945ac_clean_files=$ac_clean_files_save
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2947$as_echo_n "checking for suffix of object files... " >&6; }
2948if ${ac_cv_objext+:} false; then :
2949  $as_echo_n "(cached) " >&6
2950else
2951  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952/* end confdefs.h.  */
2953
2954int
2955main ()
2956{
2957
2958  ;
2959  return 0;
2960}
2961_ACEOF
2962rm -f conftest.o conftest.obj
2963if { { ac_try="$ac_compile"
2964case "(($ac_try" in
2965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966  *) ac_try_echo=$ac_try;;
2967esac
2968eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969$as_echo "$ac_try_echo"; } >&5
2970  (eval "$ac_compile") 2>&5
2971  ac_status=$?
2972  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973  test $ac_status = 0; }; then :
2974  for ac_file in conftest.o conftest.obj conftest.*; do
2975  test -f "$ac_file" || continue;
2976  case $ac_file in
2977    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2978    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2979       break;;
2980  esac
2981done
2982else
2983  $as_echo "$as_me: failed program was:" >&5
2984sed 's/^/| /' conftest.$ac_ext >&5
2985
2986{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2987$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2988as_fn_error $? "cannot compute suffix of object files: cannot compile
2989See \`config.log' for more details" "$LINENO" 5; }
2990fi
2991rm -f conftest.$ac_cv_objext conftest.$ac_ext
2992fi
2993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2994$as_echo "$ac_cv_objext" >&6; }
2995OBJEXT=$ac_cv_objext
2996ac_objext=$OBJEXT
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2998$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2999if ${ac_cv_c_compiler_gnu+:} false; then :
3000  $as_echo_n "(cached) " >&6
3001else
3002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003/* end confdefs.h.  */
3004
3005int
3006main ()
3007{
3008#ifndef __GNUC__
3009       choke me
3010#endif
3011
3012  ;
3013  return 0;
3014}
3015_ACEOF
3016if ac_fn_c_try_compile "$LINENO"; then :
3017  ac_compiler_gnu=yes
3018else
3019  ac_compiler_gnu=no
3020fi
3021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022ac_cv_c_compiler_gnu=$ac_compiler_gnu
3023
3024fi
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3026$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3027if test $ac_compiler_gnu = yes; then
3028  GCC=yes
3029else
3030  GCC=
3031fi
3032ac_test_CFLAGS=${CFLAGS+set}
3033ac_save_CFLAGS=$CFLAGS
3034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3035$as_echo_n "checking whether $CC accepts -g... " >&6; }
3036if ${ac_cv_prog_cc_g+:} false; then :
3037  $as_echo_n "(cached) " >&6
3038else
3039  ac_save_c_werror_flag=$ac_c_werror_flag
3040   ac_c_werror_flag=yes
3041   ac_cv_prog_cc_g=no
3042   CFLAGS="-g"
3043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044/* end confdefs.h.  */
3045
3046int
3047main ()
3048{
3049
3050  ;
3051  return 0;
3052}
3053_ACEOF
3054if ac_fn_c_try_compile "$LINENO"; then :
3055  ac_cv_prog_cc_g=yes
3056else
3057  CFLAGS=""
3058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059/* end confdefs.h.  */
3060
3061int
3062main ()
3063{
3064
3065  ;
3066  return 0;
3067}
3068_ACEOF
3069if ac_fn_c_try_compile "$LINENO"; then :
3070
3071else
3072  ac_c_werror_flag=$ac_save_c_werror_flag
3073	 CFLAGS="-g"
3074	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075/* end confdefs.h.  */
3076
3077int
3078main ()
3079{
3080
3081  ;
3082  return 0;
3083}
3084_ACEOF
3085if ac_fn_c_try_compile "$LINENO"; then :
3086  ac_cv_prog_cc_g=yes
3087fi
3088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089fi
3090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091fi
3092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093   ac_c_werror_flag=$ac_save_c_werror_flag
3094fi
3095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3096$as_echo "$ac_cv_prog_cc_g" >&6; }
3097if test "$ac_test_CFLAGS" = set; then
3098  CFLAGS=$ac_save_CFLAGS
3099elif test $ac_cv_prog_cc_g = yes; then
3100  if test "$GCC" = yes; then
3101    CFLAGS="-g -O2"
3102  else
3103    CFLAGS="-g"
3104  fi
3105else
3106  if test "$GCC" = yes; then
3107    CFLAGS="-O2"
3108  else
3109    CFLAGS=
3110  fi
3111fi
3112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3113$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3114if ${ac_cv_prog_cc_c89+:} false; then :
3115  $as_echo_n "(cached) " >&6
3116else
3117  ac_cv_prog_cc_c89=no
3118ac_save_CC=$CC
3119cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120/* end confdefs.h.  */
3121#include <stdarg.h>
3122#include <stdio.h>
3123struct stat;
3124/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3125struct buf { int x; };
3126FILE * (*rcsopen) (struct buf *, struct stat *, int);
3127static char *e (p, i)
3128     char **p;
3129     int i;
3130{
3131  return p[i];
3132}
3133static char *f (char * (*g) (char **, int), char **p, ...)
3134{
3135  char *s;
3136  va_list v;
3137  va_start (v,p);
3138  s = g (p, va_arg (v,int));
3139  va_end (v);
3140  return s;
3141}
3142
3143/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3144   function prototypes and stuff, but not '\xHH' hex character constants.
3145   These don't provoke an error unfortunately, instead are silently treated
3146   as 'x'.  The following induces an error, until -std is added to get
3147   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3148   array size at least.  It's necessary to write '\x00'==0 to get something
3149   that's true only with -std.  */
3150int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3151
3152/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3153   inside strings and character constants.  */
3154#define FOO(x) 'x'
3155int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3156
3157int test (int i, double x);
3158struct s1 {int (*f) (int a);};
3159struct s2 {int (*f) (double a);};
3160int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3161int argc;
3162char **argv;
3163int
3164main ()
3165{
3166return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3167  ;
3168  return 0;
3169}
3170_ACEOF
3171for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3172	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3173do
3174  CC="$ac_save_CC $ac_arg"
3175  if ac_fn_c_try_compile "$LINENO"; then :
3176  ac_cv_prog_cc_c89=$ac_arg
3177fi
3178rm -f core conftest.err conftest.$ac_objext
3179  test "x$ac_cv_prog_cc_c89" != "xno" && break
3180done
3181rm -f conftest.$ac_ext
3182CC=$ac_save_CC
3183
3184fi
3185# AC_CACHE_VAL
3186case "x$ac_cv_prog_cc_c89" in
3187  x)
3188    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3189$as_echo "none needed" >&6; } ;;
3190  xno)
3191    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3192$as_echo "unsupported" >&6; } ;;
3193  *)
3194    CC="$CC $ac_cv_prog_cc_c89"
3195    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3196$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3197esac
3198if test "x$ac_cv_prog_cc_c89" != xno; then :
3199
3200fi
3201
3202ac_ext=c
3203ac_cpp='$CPP $CPPFLAGS'
3204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206ac_compiler_gnu=$ac_cv_c_compiler_gnu
3207
3208ac_ext=c
3209ac_cpp='$CPP $CPPFLAGS'
3210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3212ac_compiler_gnu=$ac_cv_c_compiler_gnu
3213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3214$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3215if ${am_cv_prog_cc_c_o+:} false; then :
3216  $as_echo_n "(cached) " >&6
3217else
3218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219/* end confdefs.h.  */
3220
3221int
3222main ()
3223{
3224
3225  ;
3226  return 0;
3227}
3228_ACEOF
3229  # Make sure it works both with $CC and with simple cc.
3230  # Following AC_PROG_CC_C_O, we do the test twice because some
3231  # compilers refuse to overwrite an existing .o file with -o,
3232  # though they will create one.
3233  am_cv_prog_cc_c_o=yes
3234  for am_i in 1 2; do
3235    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3236   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3237   ac_status=$?
3238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239   (exit $ac_status); } \
3240         && test -f conftest2.$ac_objext; then
3241      : OK
3242    else
3243      am_cv_prog_cc_c_o=no
3244      break
3245    fi
3246  done
3247  rm -f core conftest*
3248  unset am_i
3249fi
3250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3251$as_echo "$am_cv_prog_cc_c_o" >&6; }
3252if test "$am_cv_prog_cc_c_o" != yes; then
3253   # Losing compiler, so override with the script.
3254   # FIXME: It is wrong to rewrite CC.
3255   # But if we don't then we get into trouble of one sort or another.
3256   # A longer-term fix would be to have automake use am__CC in this case,
3257   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3258   CC="$am_aux_dir/compile $CC"
3259fi
3260ac_ext=c
3261ac_cpp='$CPP $CPPFLAGS'
3262ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3263ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3264ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265
3266
3267ac_ext=c
3268ac_cpp='$CPP $CPPFLAGS'
3269ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3273$as_echo_n "checking how to run the C preprocessor... " >&6; }
3274# On Suns, sometimes $CPP names a directory.
3275if test -n "$CPP" && test -d "$CPP"; then
3276  CPP=
3277fi
3278if test -z "$CPP"; then
3279  if ${ac_cv_prog_CPP+:} false; then :
3280  $as_echo_n "(cached) " >&6
3281else
3282      # Double quotes because CPP needs to be expanded
3283    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3284    do
3285      ac_preproc_ok=false
3286for ac_c_preproc_warn_flag in '' yes
3287do
3288  # Use a header file that comes with gcc, so configuring glibc
3289  # with a fresh cross-compiler works.
3290  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3291  # <limits.h> exists even on freestanding compilers.
3292  # On the NeXT, cc -E runs the code through the compiler's parser,
3293  # not just through cpp. "Syntax error" is here to catch this case.
3294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295/* end confdefs.h.  */
3296#ifdef __STDC__
3297# include <limits.h>
3298#else
3299# include <assert.h>
3300#endif
3301		     Syntax error
3302_ACEOF
3303if ac_fn_c_try_cpp "$LINENO"; then :
3304
3305else
3306  # Broken: fails on valid input.
3307continue
3308fi
3309rm -f conftest.err conftest.i conftest.$ac_ext
3310
3311  # OK, works on sane cases.  Now check whether nonexistent headers
3312  # can be detected and how.
3313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314/* end confdefs.h.  */
3315#include <ac_nonexistent.h>
3316_ACEOF
3317if ac_fn_c_try_cpp "$LINENO"; then :
3318  # Broken: success on invalid input.
3319continue
3320else
3321  # Passes both tests.
3322ac_preproc_ok=:
3323break
3324fi
3325rm -f conftest.err conftest.i conftest.$ac_ext
3326
3327done
3328# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3329rm -f conftest.i conftest.err conftest.$ac_ext
3330if $ac_preproc_ok; then :
3331  break
3332fi
3333
3334    done
3335    ac_cv_prog_CPP=$CPP
3336
3337fi
3338  CPP=$ac_cv_prog_CPP
3339else
3340  ac_cv_prog_CPP=$CPP
3341fi
3342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3343$as_echo "$CPP" >&6; }
3344ac_preproc_ok=false
3345for ac_c_preproc_warn_flag in '' yes
3346do
3347  # Use a header file that comes with gcc, so configuring glibc
3348  # with a fresh cross-compiler works.
3349  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3350  # <limits.h> exists even on freestanding compilers.
3351  # On the NeXT, cc -E runs the code through the compiler's parser,
3352  # not just through cpp. "Syntax error" is here to catch this case.
3353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354/* end confdefs.h.  */
3355#ifdef __STDC__
3356# include <limits.h>
3357#else
3358# include <assert.h>
3359#endif
3360		     Syntax error
3361_ACEOF
3362if ac_fn_c_try_cpp "$LINENO"; then :
3363
3364else
3365  # Broken: fails on valid input.
3366continue
3367fi
3368rm -f conftest.err conftest.i conftest.$ac_ext
3369
3370  # OK, works on sane cases.  Now check whether nonexistent headers
3371  # can be detected and how.
3372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373/* end confdefs.h.  */
3374#include <ac_nonexistent.h>
3375_ACEOF
3376if ac_fn_c_try_cpp "$LINENO"; then :
3377  # Broken: success on invalid input.
3378continue
3379else
3380  # Passes both tests.
3381ac_preproc_ok=:
3382break
3383fi
3384rm -f conftest.err conftest.i conftest.$ac_ext
3385
3386done
3387# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3388rm -f conftest.i conftest.err conftest.$ac_ext
3389if $ac_preproc_ok; then :
3390
3391else
3392  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3395See \`config.log' for more details" "$LINENO" 5; }
3396fi
3397
3398ac_ext=c
3399ac_cpp='$CPP $CPPFLAGS'
3400ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3401ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3402ac_compiler_gnu=$ac_cv_c_compiler_gnu
3403
3404
3405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5
3406$as_echo_n "checking how to make hard links... " >&6; }
3407if ${cl_cv_prog_LN+:} false; then :
3408  $as_echo_n "(cached) " >&6
3409else
3410  rm -f conftestdata conftestfile
3411     echo data > conftestfile
3412     if ln conftestfile conftestdata 2>/dev/null; then
3413       cl_cv_prog_LN=ln
3414     else
3415       cl_cv_prog_LN="cp -p"
3416     fi
3417     rm -f conftestdata conftestfile
3418
3419fi
3420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5
3421$as_echo "$cl_cv_prog_LN" >&6; }
3422  LN="$cl_cv_prog_LN"
3423
3424
3425
3426
3427      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3428$as_echo_n "checking whether ln -s works... " >&6; }
3429if ${cl_cv_prog_LN_S_works+:} false; then :
3430  $as_echo_n "(cached) " >&6
3431else
3432  rm -f conftestdata
3433     if ln -s X conftestdata 2>/dev/null; then
3434       cl_cv_prog_LN_S_works=yes
3435     else
3436       cl_cv_prog_LN_S_works=no
3437     fi
3438     rm -f conftestdata
3439
3440fi
3441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN_S_works" >&5
3442$as_echo "$cl_cv_prog_LN_S_works" >&6; }
3443  if test $cl_cv_prog_LN_S_works = yes; then
3444    LN_S="ln -s"
3445  else
3446    LN_S="$cl_cv_prog_LN"
3447  fi
3448
3449
3450
3451
3452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3453$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3454if ${ac_cv_path_GREP+:} false; then :
3455  $as_echo_n "(cached) " >&6
3456else
3457  if test -z "$GREP"; then
3458  ac_path_GREP_found=false
3459  # Loop through the user's path and test for each of PROGNAME-LIST
3460  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3462do
3463  IFS=$as_save_IFS
3464  test -z "$as_dir" && as_dir=.
3465    for ac_prog in grep ggrep; do
3466    for ac_exec_ext in '' $ac_executable_extensions; do
3467      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3468      as_fn_executable_p "$ac_path_GREP" || continue
3469# Check for GNU ac_path_GREP and select it if it is found.
3470  # Check for GNU $ac_path_GREP
3471case `"$ac_path_GREP" --version 2>&1` in
3472*GNU*)
3473  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3474*)
3475  ac_count=0
3476  $as_echo_n 0123456789 >"conftest.in"
3477  while :
3478  do
3479    cat "conftest.in" "conftest.in" >"conftest.tmp"
3480    mv "conftest.tmp" "conftest.in"
3481    cp "conftest.in" "conftest.nl"
3482    $as_echo 'GREP' >> "conftest.nl"
3483    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3484    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3485    as_fn_arith $ac_count + 1 && ac_count=$as_val
3486    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3487      # Best one so far, save it but keep looking for a better one
3488      ac_cv_path_GREP="$ac_path_GREP"
3489      ac_path_GREP_max=$ac_count
3490    fi
3491    # 10*(2^10) chars as input seems more than enough
3492    test $ac_count -gt 10 && break
3493  done
3494  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3495esac
3496
3497      $ac_path_GREP_found && break 3
3498    done
3499  done
3500  done
3501IFS=$as_save_IFS
3502  if test -z "$ac_cv_path_GREP"; then
3503    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3504  fi
3505else
3506  ac_cv_path_GREP=$GREP
3507fi
3508
3509fi
3510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3511$as_echo "$ac_cv_path_GREP" >&6; }
3512 GREP="$ac_cv_path_GREP"
3513
3514
3515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3516$as_echo_n "checking for egrep... " >&6; }
3517if ${ac_cv_path_EGREP+:} false; then :
3518  $as_echo_n "(cached) " >&6
3519else
3520  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3521   then ac_cv_path_EGREP="$GREP -E"
3522   else
3523     if test -z "$EGREP"; then
3524  ac_path_EGREP_found=false
3525  # Loop through the user's path and test for each of PROGNAME-LIST
3526  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3528do
3529  IFS=$as_save_IFS
3530  test -z "$as_dir" && as_dir=.
3531    for ac_prog in egrep; do
3532    for ac_exec_ext in '' $ac_executable_extensions; do
3533      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3534      as_fn_executable_p "$ac_path_EGREP" || continue
3535# Check for GNU ac_path_EGREP and select it if it is found.
3536  # Check for GNU $ac_path_EGREP
3537case `"$ac_path_EGREP" --version 2>&1` in
3538*GNU*)
3539  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3540*)
3541  ac_count=0
3542  $as_echo_n 0123456789 >"conftest.in"
3543  while :
3544  do
3545    cat "conftest.in" "conftest.in" >"conftest.tmp"
3546    mv "conftest.tmp" "conftest.in"
3547    cp "conftest.in" "conftest.nl"
3548    $as_echo 'EGREP' >> "conftest.nl"
3549    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3550    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3551    as_fn_arith $ac_count + 1 && ac_count=$as_val
3552    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3553      # Best one so far, save it but keep looking for a better one
3554      ac_cv_path_EGREP="$ac_path_EGREP"
3555      ac_path_EGREP_max=$ac_count
3556    fi
3557    # 10*(2^10) chars as input seems more than enough
3558    test $ac_count -gt 10 && break
3559  done
3560  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3561esac
3562
3563      $ac_path_EGREP_found && break 3
3564    done
3565  done
3566  done
3567IFS=$as_save_IFS
3568  if test -z "$ac_cv_path_EGREP"; then
3569    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3570  fi
3571else
3572  ac_cv_path_EGREP=$EGREP
3573fi
3574
3575   fi
3576fi
3577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3578$as_echo "$ac_cv_path_EGREP" >&6; }
3579 EGREP="$ac_cv_path_EGREP"
3580
3581
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3583$as_echo_n "checking for ANSI C header files... " >&6; }
3584if ${ac_cv_header_stdc+:} false; then :
3585  $as_echo_n "(cached) " >&6
3586else
3587  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588/* end confdefs.h.  */
3589#include <stdlib.h>
3590#include <stdarg.h>
3591#include <string.h>
3592#include <float.h>
3593
3594int
3595main ()
3596{
3597
3598  ;
3599  return 0;
3600}
3601_ACEOF
3602if ac_fn_c_try_compile "$LINENO"; then :
3603  ac_cv_header_stdc=yes
3604else
3605  ac_cv_header_stdc=no
3606fi
3607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608
3609if test $ac_cv_header_stdc = yes; then
3610  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3611  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612/* end confdefs.h.  */
3613#include <string.h>
3614
3615_ACEOF
3616if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3617  $EGREP "memchr" >/dev/null 2>&1; then :
3618
3619else
3620  ac_cv_header_stdc=no
3621fi
3622rm -f conftest*
3623
3624fi
3625
3626if test $ac_cv_header_stdc = yes; then
3627  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3628  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629/* end confdefs.h.  */
3630#include <stdlib.h>
3631
3632_ACEOF
3633if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3634  $EGREP "free" >/dev/null 2>&1; then :
3635
3636else
3637  ac_cv_header_stdc=no
3638fi
3639rm -f conftest*
3640
3641fi
3642
3643if test $ac_cv_header_stdc = yes; then
3644  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3645  if test "$cross_compiling" = yes; then :
3646  :
3647else
3648  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649/* end confdefs.h.  */
3650#include <ctype.h>
3651#include <stdlib.h>
3652#if ((' ' & 0x0FF) == 0x020)
3653# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3654# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3655#else
3656# define ISLOWER(c) \
3657		   (('a' <= (c) && (c) <= 'i') \
3658		     || ('j' <= (c) && (c) <= 'r') \
3659		     || ('s' <= (c) && (c) <= 'z'))
3660# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3661#endif
3662
3663#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3664int
3665main ()
3666{
3667  int i;
3668  for (i = 0; i < 256; i++)
3669    if (XOR (islower (i), ISLOWER (i))
3670	|| toupper (i) != TOUPPER (i))
3671      return 2;
3672  return 0;
3673}
3674_ACEOF
3675if ac_fn_c_try_run "$LINENO"; then :
3676
3677else
3678  ac_cv_header_stdc=no
3679fi
3680rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3681  conftest.$ac_objext conftest.beam conftest.$ac_ext
3682fi
3683
3684fi
3685fi
3686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3687$as_echo "$ac_cv_header_stdc" >&6; }
3688if test $ac_cv_header_stdc = yes; then
3689
3690$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3691
3692fi
3693
3694# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3695for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3696		  inttypes.h stdint.h unistd.h
3697do :
3698  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3699ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3700"
3701if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3702  cat >>confdefs.h <<_ACEOF
3703#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3704_ACEOF
3705
3706fi
3707
3708done
3709
3710
3711
3712  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3713if test "x$ac_cv_header_minix_config_h" = xyes; then :
3714  MINIX=yes
3715else
3716  MINIX=
3717fi
3718
3719
3720  if test "$MINIX" = yes; then
3721
3722$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3723
3724
3725$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3726
3727
3728$as_echo "#define _MINIX 1" >>confdefs.h
3729
3730
3731$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
3732
3733  fi
3734
3735
3736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3737$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3738if ${ac_cv_safe_to_define___extensions__+:} false; then :
3739  $as_echo_n "(cached) " >&6
3740else
3741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3742/* end confdefs.h.  */
3743
3744#         define __EXTENSIONS__ 1
3745          $ac_includes_default
3746int
3747main ()
3748{
3749
3750  ;
3751  return 0;
3752}
3753_ACEOF
3754if ac_fn_c_try_compile "$LINENO"; then :
3755  ac_cv_safe_to_define___extensions__=yes
3756else
3757  ac_cv_safe_to_define___extensions__=no
3758fi
3759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760fi
3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3762$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3763  test $ac_cv_safe_to_define___extensions__ = yes &&
3764    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3765
3766  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3767
3768  $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
3769
3770  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3771
3772  $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
3773
3774  $as_echo "#define _OPENBSD_SOURCE 1" >>confdefs.h
3775
3776  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3777
3778  $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
3779
3780  $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
3781
3782  $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
3783
3784  $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
3785
3786  $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
3787
3788  $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
3789
3790  $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
3791
3792  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3793
3794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
3795$as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; }
3796if ${ac_cv_should_define__xopen_source+:} false; then :
3797  $as_echo_n "(cached) " >&6
3798else
3799  ac_cv_should_define__xopen_source=no
3800     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801/* end confdefs.h.  */
3802
3803          #include <wchar.h>
3804          mbstate_t x;
3805int
3806main ()
3807{
3808
3809  ;
3810  return 0;
3811}
3812_ACEOF
3813if ac_fn_c_try_compile "$LINENO"; then :
3814
3815else
3816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817/* end confdefs.h.  */
3818
3819             #define _XOPEN_SOURCE 500
3820             #include <wchar.h>
3821             mbstate_t x;
3822int
3823main ()
3824{
3825
3826  ;
3827  return 0;
3828}
3829_ACEOF
3830if ac_fn_c_try_compile "$LINENO"; then :
3831  ac_cv_should_define__xopen_source=yes
3832fi
3833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834fi
3835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836fi
3837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
3838$as_echo "$ac_cv_should_define__xopen_source" >&6; }
3839  test $ac_cv_should_define__xopen_source = yes &&
3840    $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
3841
3842  $as_echo "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857  { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Headers and Libraries)${term_norm}" >&5
3858$as_echo "$as_me: ${term_bold}** Dbus (Headers and Libraries)${term_norm}" >&6;}
3859
3860
3861
3862if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3863	if test -n "$ac_tool_prefix"; then
3864  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3865set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867$as_echo_n "checking for $ac_word... " >&6; }
3868if ${ac_cv_path_PKG_CONFIG+:} false; then :
3869  $as_echo_n "(cached) " >&6
3870else
3871  case $PKG_CONFIG in
3872  [\\/]* | ?:[\\/]*)
3873  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3874  ;;
3875  *)
3876  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877for as_dir in $PATH
3878do
3879  IFS=$as_save_IFS
3880  test -z "$as_dir" && as_dir=.
3881    for ac_exec_ext in '' $ac_executable_extensions; do
3882  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885    break 2
3886  fi
3887done
3888  done
3889IFS=$as_save_IFS
3890
3891  ;;
3892esac
3893fi
3894PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3895if test -n "$PKG_CONFIG"; then
3896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3897$as_echo "$PKG_CONFIG" >&6; }
3898else
3899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900$as_echo "no" >&6; }
3901fi
3902
3903
3904fi
3905if test -z "$ac_cv_path_PKG_CONFIG"; then
3906  ac_pt_PKG_CONFIG=$PKG_CONFIG
3907  # Extract the first word of "pkg-config", so it can be a program name with args.
3908set dummy pkg-config; ac_word=$2
3909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910$as_echo_n "checking for $ac_word... " >&6; }
3911if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3912  $as_echo_n "(cached) " >&6
3913else
3914  case $ac_pt_PKG_CONFIG in
3915  [\\/]* | ?:[\\/]*)
3916  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3917  ;;
3918  *)
3919  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920for as_dir in $PATH
3921do
3922  IFS=$as_save_IFS
3923  test -z "$as_dir" && as_dir=.
3924    for ac_exec_ext in '' $ac_executable_extensions; do
3925  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928    break 2
3929  fi
3930done
3931  done
3932IFS=$as_save_IFS
3933
3934  ;;
3935esac
3936fi
3937ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3938if test -n "$ac_pt_PKG_CONFIG"; then
3939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3940$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3941else
3942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943$as_echo "no" >&6; }
3944fi
3945
3946  if test "x$ac_pt_PKG_CONFIG" = x; then
3947    PKG_CONFIG=""
3948  else
3949    case $cross_compiling:$ac_tool_warned in
3950yes:)
3951{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3952$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3953ac_tool_warned=yes ;;
3954esac
3955    PKG_CONFIG=$ac_pt_PKG_CONFIG
3956  fi
3957else
3958  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3959fi
3960
3961fi
3962if test -n "$PKG_CONFIG"; then
3963	_pkg_min_version=0.9.0
3964	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3965$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3966	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3967		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3968$as_echo "yes" >&6; }
3969	else
3970		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971$as_echo "no" >&6; }
3972		PKG_CONFIG=""
3973	fi
3974
3975fi
3976
3977pkg_failed=no
3978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
3979$as_echo_n "checking for DBUS... " >&6; }
3980
3981if test -n "$DBUS_CFLAGS"; then
3982    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
3983 elif test -n "$PKG_CONFIG"; then
3984    if test -n "$PKG_CONFIG" && \
3985    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
3986  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
3987  ac_status=$?
3988  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989  test $ac_status = 0; }; then
3990  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
3991else
3992  pkg_failed=yes
3993fi
3994 else
3995    pkg_failed=untried
3996fi
3997if test -n "$DBUS_LIBS"; then
3998    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
3999 elif test -n "$PKG_CONFIG"; then
4000    if test -n "$PKG_CONFIG" && \
4001    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
4002  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
4003  ac_status=$?
4004  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005  test $ac_status = 0; }; then
4006  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
4007else
4008  pkg_failed=yes
4009fi
4010 else
4011    pkg_failed=untried
4012fi
4013
4014
4015
4016if test $pkg_failed = yes; then
4017
4018if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4019        _pkg_short_errors_supported=yes
4020else
4021        _pkg_short_errors_supported=no
4022fi
4023        if test $_pkg_short_errors_supported = yes; then
4024	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
4025        else
4026	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.0" 2>&1`
4027        fi
4028	# Put the nasty error message in config.log where it belongs
4029	echo "$DBUS_PKG_ERRORS" >&5
4030
4031	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032$as_echo "no" >&6; }
4033                as_fn_error $? "cannot find D-Bus" "$LINENO" 5
4034elif test $pkg_failed = untried; then
4035	as_fn_error $? "cannot find D-Bus" "$LINENO" 5
4036else
4037	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
4038	DBUS_LIBS=$pkg_cv_DBUS_LIBS
4039        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4040$as_echo "yes" >&6; }
4041	:
4042fi
4043
4044
4045dbus_save_CFLAGS=$CFLAGS
4046
4047  for element in $DBUS_CFLAGS; do
4048    haveit=
4049    for x in $CFLAGS; do
4050
4051  acl_save_prefix="$prefix"
4052  prefix="$acl_final_prefix"
4053  acl_save_exec_prefix="$exec_prefix"
4054  exec_prefix="$acl_final_exec_prefix"
4055  eval x=\"$x\"
4056  exec_prefix="$acl_save_exec_prefix"
4057  prefix="$acl_save_prefix"
4058
4059      if test "X$x" = "X$element"; then
4060        haveit=yes
4061        break
4062      fi
4063    done
4064    if test -z "$haveit"; then
4065      CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
4066    fi
4067  done
4068
4069ac_fn_c_check_type "$LINENO" "dbus_int64_t" "ac_cv_type_dbus_int64_t" "#include <dbus/dbus.h>
4070"
4071if test "x$ac_cv_type_dbus_int64_t" = xyes; then :
4072
4073cat >>confdefs.h <<_ACEOF
4074#define HAVE_DBUS_INT64_T 1
4075_ACEOF
4076
4077
4078fi
4079ac_fn_c_check_type "$LINENO" "dbus_int32_t" "ac_cv_type_dbus_int32_t" "#include <dbus/dbus.h>
4080"
4081if test "x$ac_cv_type_dbus_int32_t" = xyes; then :
4082
4083cat >>confdefs.h <<_ACEOF
4084#define HAVE_DBUS_INT32_T 1
4085_ACEOF
4086
4087
4088fi
4089ac_fn_c_check_type "$LINENO" "dbus_uint32_t" "ac_cv_type_dbus_uint32_t" "#include <dbus/dbus.h>
4090"
4091if test "x$ac_cv_type_dbus_uint32_t" = xyes; then :
4092
4093cat >>confdefs.h <<_ACEOF
4094#define HAVE_DBUS_UINT32_T 1
4095_ACEOF
4096
4097
4098fi
4099ac_fn_c_check_type "$LINENO" "dbus_int16_t" "ac_cv_type_dbus_int16_t" "#include <dbus/dbus.h>
4100"
4101if test "x$ac_cv_type_dbus_int16_t" = xyes; then :
4102
4103cat >>confdefs.h <<_ACEOF
4104#define HAVE_DBUS_INT16_T 1
4105_ACEOF
4106
4107
4108fi
4109ac_fn_c_check_type "$LINENO" "dbus_unichar_t" "ac_cv_type_dbus_unichar_t" "#include <dbus/dbus.h>
4110"
4111if test "x$ac_cv_type_dbus_unichar_t" = xyes; then :
4112
4113cat >>confdefs.h <<_ACEOF
4114#define HAVE_DBUS_UNICHAR_T 1
4115_ACEOF
4116
4117
4118fi
4119ac_fn_c_check_type "$LINENO" "dbus_bool_t" "ac_cv_type_dbus_bool_t" "#include <dbus/dbus.h>
4120"
4121if test "x$ac_cv_type_dbus_bool_t" = xyes; then :
4122
4123cat >>confdefs.h <<_ACEOF
4124#define HAVE_DBUS_BOOL_T 1
4125_ACEOF
4126
4127
4128fi
4129
4130CFLAGS=$dbus_save_CFLAGS
4131
4132
4133  { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Functions)${term_norm}" >&5
4134$as_echo "$as_me: ${term_bold}** Dbus (Functions)${term_norm}" >&6;}
4135
4136dbus_save_LIB=$LIBS
4137
4138  for element in $DBUS_LIBS; do
4139    haveit=
4140    for x in $LIBS; do
4141
4142  acl_save_prefix="$prefix"
4143  prefix="$acl_final_prefix"
4144  acl_save_exec_prefix="$exec_prefix"
4145  exec_prefix="$acl_final_exec_prefix"
4146  eval x=\"$x\"
4147  exec_prefix="$acl_save_exec_prefix"
4148  prefix="$acl_save_prefix"
4149
4150      if test "X$x" = "X$element"; then
4151        haveit=yes
4152        break
4153      fi
4154    done
4155    if test -z "$haveit"; then
4156      LIBS="${LIBS}${LIBS:+ }$element"
4157    fi
4158  done
4159
4160for ac_func in dbus_error_init dbus_error_free dbus_set_error dbus_set_error_const dbus_move_error dbus_error_has_name dbus_error_is_set dbus_parse_address dbus_address_entry_get_value dbus_address_entry_get_method dbus_address_entries_free dbus_address_escape_value dbus_address_unescape_value dbus_malloc dbus_malloc0 dbus_realloc dbus_free dbus_free_string_array dbus_shutdown dbus_message_new dbus_message_new_method_call dbus_message_new_method_return dbus_message_new_signal dbus_message_new_error dbus_message_copy dbus_message_ref dbus_message_unref dbus_message_get_type dbus_message_set_path dbus_message_get_path dbus_message_has_path dbus_message_set_interface dbus_message_get_interface dbus_message_has_interface dbus_message_set_member dbus_message_get_member dbus_message_has_member dbus_message_set_error_name dbus_message_get_error_name dbus_message_set_destination dbus_message_get_destination dbus_message_set_sender dbus_message_get_sender dbus_message_get_signature dbus_message_set_no_reply dbus_message_get_no_reply dbus_message_is_method_call dbus_message_is_signal dbus_message_is_error dbus_message_has_destination dbus_message_has_sender dbus_message_has_signature dbus_message_get_serial dbus_message_set_serial dbus_message_set_reply_serial dbus_message_get_reply_serial dbus_message_set_auto_start dbus_message_get_auto_start dbus_message_get_path_decomposed dbus_message_append_args dbus_message_append_args_valist dbus_message_get_args dbus_message_get_args_valist dbus_message_iter_init dbus_message_iter_has_next dbus_message_iter_next dbus_message_iter_get_signature dbus_message_iter_get_arg_type dbus_message_iter_get_element_type dbus_message_iter_recurse dbus_message_iter_get_basic dbus_message_iter_get_fixed_array dbus_message_iter_init_append dbus_message_iter_append_basic dbus_message_iter_append_fixed_array dbus_message_iter_open_container dbus_message_iter_close_container dbus_message_lock dbus_set_error_from_message dbus_message_allocate_data_slot dbus_message_free_data_slot dbus_message_set_data dbus_message_get_data dbus_message_type_from_string dbus_message_type_to_string dbus_message_marshal dbus_message_demarshal dbus_message_demarshal_bytes_needed dbus_connection_open dbus_connection_open_private dbus_connection_ref dbus_connection_unref dbus_connection_close dbus_connection_get_is_connected dbus_connection_get_is_authenticated dbus_connection_get_is_anonymous dbus_connection_get_server_id dbus_connection_set_exit_on_disconnect dbus_connection_flush dbus_connection_read_write_dispatch dbus_connection_read_write dbus_connection_borrow_message dbus_connection_return_message dbus_connection_steal_borrowed_message dbus_connection_pop_message dbus_connection_get_dispatch_status dbus_connection_dispatch dbus_connection_has_messages_to_send dbus_connection_send dbus_connection_send_with_reply dbus_connection_send_with_reply_and_block dbus_connection_set_watch_functions dbus_connection_set_timeout_functions dbus_connection_set_wakeup_main_function dbus_connection_set_dispatch_status_function dbus_connection_get_unix_user dbus_connection_get_unix_process_id dbus_connection_get_adt_audit_session_data dbus_connection_set_unix_user_function dbus_connection_get_windows_user dbus_connection_set_windows_user_function dbus_connection_set_allow_anonymous dbus_connection_set_route_peer_messages dbus_connection_add_filter dbus_connection_remove_filter dbus_connection_allocate_data_slot dbus_connection_free_data_slot dbus_connection_set_data dbus_connection_get_data dbus_connection_set_change_sigpipe dbus_connection_set_max_message_size dbus_connection_get_max_message_size dbus_connection_set_max_received_size dbus_connection_get_max_received_size dbus_connection_get_outgoing_size dbus_connection_preallocate_send dbus_connection_free_preallocated_send dbus_connection_send_preallocated dbus_connection_try_register_object_path dbus_connection_register_object_path dbus_connection_try_register_fallback dbus_connection_register_fallback dbus_connection_unregister_object_path dbus_connection_get_object_path_data dbus_connection_list_registered dbus_connection_get_unix_fd dbus_connection_get_socket dbus_get_local_machine_id dbus_watch_get_fd dbus_watch_get_unix_fd dbus_watch_get_socket dbus_watch_get_flags dbus_watch_get_data dbus_watch_set_data dbus_watch_handle dbus_watch_get_enabled dbus_timeout_get_interval dbus_timeout_get_data dbus_timeout_set_data dbus_timeout_handle dbus_timeout_get_enabled dbus_bus_get dbus_bus_get_private dbus_bus_register dbus_bus_set_unique_name dbus_bus_get_unique_name dbus_bus_get_unix_user dbus_bus_get_id dbus_bus_request_name dbus_bus_release_name dbus_bus_name_has_owner dbus_bus_start_service_by_name dbus_bus_add_match dbus_bus_remove_match dbus_pending_call_ref dbus_pending_call_unref dbus_pending_call_set_notify dbus_pending_call_cancel dbus_pending_call_get_completed dbus_pending_call_steal_reply dbus_pending_call_block dbus_pending_call_allocate_data_slot dbus_pending_call_free_data_slot dbus_pending_call_set_data dbus_pending_call_get_data dbus_server_listen dbus_server_ref dbus_server_unref dbus_server_disconnect dbus_server_get_is_connected dbus_server_get_address dbus_server_get_id dbus_server_set_new_connection_function dbus_server_set_watch_functions dbus_server_set_timeout_functions dbus_server_set_auth_mechanisms dbus_server_allocate_data_slot dbus_server_free_data_slot dbus_server_set_data dbus_server_get_data dbus_signature_iter_init dbus_signature_iter_get_current_type dbus_signature_iter_get_signature dbus_signature_iter_get_element_type dbus_signature_iter_next dbus_signature_iter_recurse dbus_signature_validate dbus_signature_validate_single dbus_type_is_basic dbus_type_is_container dbus_type_is_fixed dbus_threads_init dbus_threads_init_default
4161do :
4162  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4163ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4164if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4165  cat >>confdefs.h <<_ACEOF
4166#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4167_ACEOF
4168
4169fi
4170done
4171
4172LIBS=$dbus_save_LIB
4173
4174
4175  { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Output)${term_norm}" >&5
4176$as_echo "$as_me: ${term_bold}** Dbus (Output)${term_norm}" >&6;}
4177
4178ac_config_files="$ac_config_files Makefile link.sh"
4179
4180cat >confcache <<\_ACEOF
4181# This file is a shell script that caches the results of configure
4182# tests run on this system so they can be shared between configure
4183# scripts and configure runs, see configure's option --config-cache.
4184# It is not useful on other systems.  If it contains results you don't
4185# want to keep, you may remove or edit it.
4186#
4187# config.status only pays attention to the cache file if you give it
4188# the --recheck option to rerun configure.
4189#
4190# `ac_cv_env_foo' variables (set or unset) will be overridden when
4191# loading this file, other *unset* `ac_cv_foo' will be assigned the
4192# following values.
4193
4194_ACEOF
4195
4196# The following way of writing the cache mishandles newlines in values,
4197# but we know of no workaround that is simple, portable, and efficient.
4198# So, we kill variables containing newlines.
4199# Ultrix sh set writes to stderr and can't be redirected directly,
4200# and sets the high bit in the cache file unless we assign to the vars.
4201(
4202  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4203    eval ac_val=\$$ac_var
4204    case $ac_val in #(
4205    *${as_nl}*)
4206      case $ac_var in #(
4207      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4208$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4209      esac
4210      case $ac_var in #(
4211      _ | IFS | as_nl) ;; #(
4212      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4213      *) { eval $ac_var=; unset $ac_var;} ;;
4214      esac ;;
4215    esac
4216  done
4217
4218  (set) 2>&1 |
4219    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4220    *${as_nl}ac_space=\ *)
4221      # `set' does not quote correctly, so add quotes: double-quote
4222      # substitution turns \\\\ into \\, and sed turns \\ into \.
4223      sed -n \
4224	"s/'/'\\\\''/g;
4225	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4226      ;; #(
4227    *)
4228      # `set' quotes correctly as required by POSIX, so do not add quotes.
4229      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4230      ;;
4231    esac |
4232    sort
4233) |
4234  sed '
4235     /^ac_cv_env_/b end
4236     t clear
4237     :clear
4238     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4239     t end
4240     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4241     :end' >>confcache
4242if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4243  if test -w "$cache_file"; then
4244    if test "x$cache_file" != "x/dev/null"; then
4245      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4246$as_echo "$as_me: updating cache $cache_file" >&6;}
4247      if test ! -f "$cache_file" || test -h "$cache_file"; then
4248	cat confcache >"$cache_file"
4249      else
4250        case $cache_file in #(
4251        */* | ?:*)
4252	  mv -f confcache "$cache_file"$$ &&
4253	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4254        *)
4255	  mv -f confcache "$cache_file" ;;
4256	esac
4257      fi
4258    fi
4259  else
4260    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4261$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4262  fi
4263fi
4264rm -f confcache
4265
4266test "x$prefix" = xNONE && prefix=$ac_default_prefix
4267# Let make expand exec_prefix.
4268test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4269
4270DEFS=-DHAVE_CONFIG_H
4271
4272ac_libobjs=
4273ac_ltlibobjs=
4274U=
4275for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4276  # 1. Remove the extension, and $U if already installed.
4277  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4278  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4279  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4280  #    will be set to the directory where LIBOBJS objects are built.
4281  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4282  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4283done
4284LIBOBJS=$ac_libobjs
4285
4286LTLIBOBJS=$ac_ltlibobjs
4287
4288
4289
4290: "${CONFIG_STATUS=./config.status}"
4291ac_write_fail=0
4292ac_clean_files_save=$ac_clean_files
4293ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4294{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4295$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4296as_write_fail=0
4297cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4298#! $SHELL
4299# Generated by $as_me.
4300# Run this file to recreate the current configuration.
4301# Compiler output produced by configure, useful for debugging
4302# configure, is in config.log if it exists.
4303
4304debug=false
4305ac_cs_recheck=false
4306ac_cs_silent=false
4307
4308SHELL=\${CONFIG_SHELL-$SHELL}
4309export SHELL
4310_ASEOF
4311cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4312## -------------------- ##
4313## M4sh Initialization. ##
4314## -------------------- ##
4315
4316# Be more Bourne compatible
4317DUALCASE=1; export DUALCASE # for MKS sh
4318if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4319  emulate sh
4320  NULLCMD=:
4321  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4322  # is contrary to our usage.  Disable this feature.
4323  alias -g '${1+"$@"}'='"$@"'
4324  setopt NO_GLOB_SUBST
4325else
4326  case `(set -o) 2>/dev/null` in #(
4327  *posix*) :
4328    set -o posix ;; #(
4329  *) :
4330     ;;
4331esac
4332fi
4333
4334
4335as_nl='
4336'
4337export as_nl
4338# Printing a long string crashes Solaris 7 /usr/bin/printf.
4339as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4340as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4341as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4342# Prefer a ksh shell builtin over an external printf program on Solaris,
4343# but without wasting forks for bash or zsh.
4344if test -z "$BASH_VERSION$ZSH_VERSION" \
4345    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4346  as_echo='print -r --'
4347  as_echo_n='print -rn --'
4348elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4349  as_echo='printf %s\n'
4350  as_echo_n='printf %s'
4351else
4352  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4353    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4354    as_echo_n='/usr/ucb/echo -n'
4355  else
4356    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4357    as_echo_n_body='eval
4358      arg=$1;
4359      case $arg in #(
4360      *"$as_nl"*)
4361	expr "X$arg" : "X\\(.*\\)$as_nl";
4362	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4363      esac;
4364      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4365    '
4366    export as_echo_n_body
4367    as_echo_n='sh -c $as_echo_n_body as_echo'
4368  fi
4369  export as_echo_body
4370  as_echo='sh -c $as_echo_body as_echo'
4371fi
4372
4373# The user is always right.
4374if test "${PATH_SEPARATOR+set}" != set; then
4375  PATH_SEPARATOR=:
4376  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4377    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4378      PATH_SEPARATOR=';'
4379  }
4380fi
4381
4382
4383# IFS
4384# We need space, tab and new line, in precisely that order.  Quoting is
4385# there to prevent editors from complaining about space-tab.
4386# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4387# splitting by setting IFS to empty value.)
4388IFS=" ""	$as_nl"
4389
4390# Find who we are.  Look in the path if we contain no directory separator.
4391as_myself=
4392case $0 in #((
4393  *[\\/]* ) as_myself=$0 ;;
4394  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395for as_dir in $PATH
4396do
4397  IFS=$as_save_IFS
4398  test -z "$as_dir" && as_dir=.
4399    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4400  done
4401IFS=$as_save_IFS
4402
4403     ;;
4404esac
4405# We did not find ourselves, most probably we were run as `sh COMMAND'
4406# in which case we are not to be found in the path.
4407if test "x$as_myself" = x; then
4408  as_myself=$0
4409fi
4410if test ! -f "$as_myself"; then
4411  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4412  exit 1
4413fi
4414
4415# Unset variables that we do not need and which cause bugs (e.g. in
4416# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4417# suppresses any "Segmentation fault" message there.  '((' could
4418# trigger a bug in pdksh 5.2.14.
4419for as_var in BASH_ENV ENV MAIL MAILPATH
4420do eval test x\${$as_var+set} = xset \
4421  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4422done
4423PS1='$ '
4424PS2='> '
4425PS4='+ '
4426
4427# NLS nuisances.
4428LC_ALL=C
4429export LC_ALL
4430LANGUAGE=C
4431export LANGUAGE
4432
4433# CDPATH.
4434(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4435
4436
4437# as_fn_error STATUS ERROR [LINENO LOG_FD]
4438# ----------------------------------------
4439# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4440# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4441# script with STATUS, using 1 if that was 0.
4442as_fn_error ()
4443{
4444  as_status=$1; test $as_status -eq 0 && as_status=1
4445  if test "$4"; then
4446    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4447    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4448  fi
4449  $as_echo "$as_me: error: $2" >&2
4450  as_fn_exit $as_status
4451} # as_fn_error
4452
4453
4454# as_fn_set_status STATUS
4455# -----------------------
4456# Set $? to STATUS, without forking.
4457as_fn_set_status ()
4458{
4459  return $1
4460} # as_fn_set_status
4461
4462# as_fn_exit STATUS
4463# -----------------
4464# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4465as_fn_exit ()
4466{
4467  set +e
4468  as_fn_set_status $1
4469  exit $1
4470} # as_fn_exit
4471
4472# as_fn_unset VAR
4473# ---------------
4474# Portably unset VAR.
4475as_fn_unset ()
4476{
4477  { eval $1=; unset $1;}
4478}
4479as_unset=as_fn_unset
4480# as_fn_append VAR VALUE
4481# ----------------------
4482# Append the text in VALUE to the end of the definition contained in VAR. Take
4483# advantage of any shell optimizations that allow amortized linear growth over
4484# repeated appends, instead of the typical quadratic growth present in naive
4485# implementations.
4486if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4487  eval 'as_fn_append ()
4488  {
4489    eval $1+=\$2
4490  }'
4491else
4492  as_fn_append ()
4493  {
4494    eval $1=\$$1\$2
4495  }
4496fi # as_fn_append
4497
4498# as_fn_arith ARG...
4499# ------------------
4500# Perform arithmetic evaluation on the ARGs, and store the result in the
4501# global $as_val. Take advantage of shells that can avoid forks. The arguments
4502# must be portable across $(()) and expr.
4503if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4504  eval 'as_fn_arith ()
4505  {
4506    as_val=$(( $* ))
4507  }'
4508else
4509  as_fn_arith ()
4510  {
4511    as_val=`expr "$@" || test $? -eq 1`
4512  }
4513fi # as_fn_arith
4514
4515
4516if expr a : '\(a\)' >/dev/null 2>&1 &&
4517   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4518  as_expr=expr
4519else
4520  as_expr=false
4521fi
4522
4523if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4524  as_basename=basename
4525else
4526  as_basename=false
4527fi
4528
4529if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4530  as_dirname=dirname
4531else
4532  as_dirname=false
4533fi
4534
4535as_me=`$as_basename -- "$0" ||
4536$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4537	 X"$0" : 'X\(//\)$' \| \
4538	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4539$as_echo X/"$0" |
4540    sed '/^.*\/\([^/][^/]*\)\/*$/{
4541	    s//\1/
4542	    q
4543	  }
4544	  /^X\/\(\/\/\)$/{
4545	    s//\1/
4546	    q
4547	  }
4548	  /^X\/\(\/\).*/{
4549	    s//\1/
4550	    q
4551	  }
4552	  s/.*/./; q'`
4553
4554# Avoid depending upon Character Ranges.
4555as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4556as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4557as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4558as_cr_digits='0123456789'
4559as_cr_alnum=$as_cr_Letters$as_cr_digits
4560
4561ECHO_C= ECHO_N= ECHO_T=
4562case `echo -n x` in #(((((
4563-n*)
4564  case `echo 'xy\c'` in
4565  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4566  xy)  ECHO_C='\c';;
4567  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4568       ECHO_T='	';;
4569  esac;;
4570*)
4571  ECHO_N='-n';;
4572esac
4573
4574rm -f conf$$ conf$$.exe conf$$.file
4575if test -d conf$$.dir; then
4576  rm -f conf$$.dir/conf$$.file
4577else
4578  rm -f conf$$.dir
4579  mkdir conf$$.dir 2>/dev/null
4580fi
4581if (echo >conf$$.file) 2>/dev/null; then
4582  if ln -s conf$$.file conf$$ 2>/dev/null; then
4583    as_ln_s='ln -s'
4584    # ... but there are two gotchas:
4585    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4586    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4587    # In both cases, we have to default to `cp -pR'.
4588    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4589      as_ln_s='cp -pR'
4590  elif ln conf$$.file conf$$ 2>/dev/null; then
4591    as_ln_s=ln
4592  else
4593    as_ln_s='cp -pR'
4594  fi
4595else
4596  as_ln_s='cp -pR'
4597fi
4598rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4599rmdir conf$$.dir 2>/dev/null
4600
4601
4602# as_fn_mkdir_p
4603# -------------
4604# Create "$as_dir" as a directory, including parents if necessary.
4605as_fn_mkdir_p ()
4606{
4607
4608  case $as_dir in #(
4609  -*) as_dir=./$as_dir;;
4610  esac
4611  test -d "$as_dir" || eval $as_mkdir_p || {
4612    as_dirs=
4613    while :; do
4614      case $as_dir in #(
4615      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4616      *) as_qdir=$as_dir;;
4617      esac
4618      as_dirs="'$as_qdir' $as_dirs"
4619      as_dir=`$as_dirname -- "$as_dir" ||
4620$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4621	 X"$as_dir" : 'X\(//\)[^/]' \| \
4622	 X"$as_dir" : 'X\(//\)$' \| \
4623	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4624$as_echo X"$as_dir" |
4625    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4626	    s//\1/
4627	    q
4628	  }
4629	  /^X\(\/\/\)[^/].*/{
4630	    s//\1/
4631	    q
4632	  }
4633	  /^X\(\/\/\)$/{
4634	    s//\1/
4635	    q
4636	  }
4637	  /^X\(\/\).*/{
4638	    s//\1/
4639	    q
4640	  }
4641	  s/.*/./; q'`
4642      test -d "$as_dir" && break
4643    done
4644    test -z "$as_dirs" || eval "mkdir $as_dirs"
4645  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4646
4647
4648} # as_fn_mkdir_p
4649if mkdir -p . 2>/dev/null; then
4650  as_mkdir_p='mkdir -p "$as_dir"'
4651else
4652  test -d ./-p && rmdir ./-p
4653  as_mkdir_p=false
4654fi
4655
4656
4657# as_fn_executable_p FILE
4658# -----------------------
4659# Test if FILE is an executable regular file.
4660as_fn_executable_p ()
4661{
4662  test -f "$1" && test -x "$1"
4663} # as_fn_executable_p
4664as_test_x='test -x'
4665as_executable_p=as_fn_executable_p
4666
4667# Sed expression to map a string onto a valid CPP name.
4668as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4669
4670# Sed expression to map a string onto a valid variable name.
4671as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4672
4673
4674exec 6>&1
4675## ----------------------------------- ##
4676## Main body of $CONFIG_STATUS script. ##
4677## ----------------------------------- ##
4678_ASEOF
4679test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4680
4681cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4682# Save the log message, to keep $0 and so on meaningful, and to
4683# report actual input values of CONFIG_FILES etc. instead of their
4684# values after options handling.
4685ac_log="
4686This file was extended by dbus $as_me 1.0, which was
4687generated by GNU Autoconf 2.69.  Invocation command line was
4688
4689  CONFIG_FILES    = $CONFIG_FILES
4690  CONFIG_HEADERS  = $CONFIG_HEADERS
4691  CONFIG_LINKS    = $CONFIG_LINKS
4692  CONFIG_COMMANDS = $CONFIG_COMMANDS
4693  $ $0 $@
4694
4695on `(hostname || uname -n) 2>/dev/null | sed 1q`
4696"
4697
4698_ACEOF
4699
4700case $ac_config_files in *"
4701"*) set x $ac_config_files; shift; ac_config_files=$*;;
4702esac
4703
4704case $ac_config_headers in *"
4705"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4706esac
4707
4708
4709cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4710# Files that config.status was made for.
4711config_files="$ac_config_files"
4712config_headers="$ac_config_headers"
4713
4714_ACEOF
4715
4716cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4717ac_cs_usage="\
4718\`$as_me' instantiates files and other configuration actions
4719from templates according to the current configuration.  Unless the files
4720and actions are specified as TAGs, all are instantiated by default.
4721
4722Usage: $0 [OPTION]... [TAG]...
4723
4724  -h, --help       print this help, then exit
4725  -V, --version    print version number and configuration settings, then exit
4726      --config     print configuration, then exit
4727  -q, --quiet, --silent
4728                   do not print progress messages
4729  -d, --debug      don't remove temporary files
4730      --recheck    update $as_me by reconfiguring in the same conditions
4731      --file=FILE[:TEMPLATE]
4732                   instantiate the configuration file FILE
4733      --header=FILE[:TEMPLATE]
4734                   instantiate the configuration header FILE
4735
4736Configuration files:
4737$config_files
4738
4739Configuration headers:
4740$config_headers
4741
4742Report bugs to <clisp-list>."
4743
4744_ACEOF
4745cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4746ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4747ac_cs_version="\\
4748dbus config.status 1.0
4749configured by $0, generated by GNU Autoconf 2.69,
4750  with options \\"\$ac_cs_config\\"
4751
4752Copyright (C) 2012 Free Software Foundation, Inc.
4753This config.status script is free software; the Free Software Foundation
4754gives unlimited permission to copy, distribute and modify it."
4755
4756ac_pwd='$ac_pwd'
4757srcdir='$srcdir'
4758test -n "\$AWK" || AWK=awk
4759_ACEOF
4760
4761cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4762# The default lists apply if the user does not specify any file.
4763ac_need_defaults=:
4764while test $# != 0
4765do
4766  case $1 in
4767  --*=?*)
4768    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4769    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4770    ac_shift=:
4771    ;;
4772  --*=)
4773    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4774    ac_optarg=
4775    ac_shift=:
4776    ;;
4777  *)
4778    ac_option=$1
4779    ac_optarg=$2
4780    ac_shift=shift
4781    ;;
4782  esac
4783
4784  case $ac_option in
4785  # Handling of the options.
4786  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4787    ac_cs_recheck=: ;;
4788  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4789    $as_echo "$ac_cs_version"; exit ;;
4790  --config | --confi | --conf | --con | --co | --c )
4791    $as_echo "$ac_cs_config"; exit ;;
4792  --debug | --debu | --deb | --de | --d | -d )
4793    debug=: ;;
4794  --file | --fil | --fi | --f )
4795    $ac_shift
4796    case $ac_optarg in
4797    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4798    '') as_fn_error $? "missing file argument" ;;
4799    esac
4800    as_fn_append CONFIG_FILES " '$ac_optarg'"
4801    ac_need_defaults=false;;
4802  --header | --heade | --head | --hea )
4803    $ac_shift
4804    case $ac_optarg in
4805    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4806    esac
4807    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4808    ac_need_defaults=false;;
4809  --he | --h)
4810    # Conflict between --help and --header
4811    as_fn_error $? "ambiguous option: \`$1'
4812Try \`$0 --help' for more information.";;
4813  --help | --hel | -h )
4814    $as_echo "$ac_cs_usage"; exit ;;
4815  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4816  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4817    ac_cs_silent=: ;;
4818
4819  # This is an error.
4820  -*) as_fn_error $? "unrecognized option: \`$1'
4821Try \`$0 --help' for more information." ;;
4822
4823  *) as_fn_append ac_config_targets " $1"
4824     ac_need_defaults=false ;;
4825
4826  esac
4827  shift
4828done
4829
4830ac_configure_extra_args=
4831
4832if $ac_cs_silent; then
4833  exec 6>/dev/null
4834  ac_configure_extra_args="$ac_configure_extra_args --silent"
4835fi
4836
4837_ACEOF
4838cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4839if \$ac_cs_recheck; then
4840  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4841  shift
4842  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4843  CONFIG_SHELL='$SHELL'
4844  export CONFIG_SHELL
4845  exec "\$@"
4846fi
4847
4848_ACEOF
4849cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4850exec 5>>config.log
4851{
4852  echo
4853  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4854## Running $as_me. ##
4855_ASBOX
4856  $as_echo "$ac_log"
4857} >&5
4858
4859_ACEOF
4860cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4861_ACEOF
4862
4863cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4864
4865# Handling of arguments.
4866for ac_config_target in $ac_config_targets
4867do
4868  case $ac_config_target in
4869    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4870    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4871    "link.sh") CONFIG_FILES="$CONFIG_FILES link.sh" ;;
4872
4873  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4874  esac
4875done
4876
4877
4878# If the user did not use the arguments to specify the items to instantiate,
4879# then the envvar interface is used.  Set only those that are not.
4880# We use the long form for the default assignment because of an extremely
4881# bizarre bug on SunOS 4.1.3.
4882if $ac_need_defaults; then
4883  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4884  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4885fi
4886
4887# Have a temporary directory for convenience.  Make it in the build tree
4888# simply because there is no reason against having it here, and in addition,
4889# creating and moving files from /tmp can sometimes cause problems.
4890# Hook for its removal unless debugging.
4891# Note that there is a small window in which the directory will not be cleaned:
4892# after its creation but before its name has been assigned to `$tmp'.
4893$debug ||
4894{
4895  tmp= ac_tmp=
4896  trap 'exit_status=$?
4897  : "${ac_tmp:=$tmp}"
4898  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4899' 0
4900  trap 'as_fn_exit 1' 1 2 13 15
4901}
4902# Create a (secure) tmp directory for tmp files.
4903
4904{
4905  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4906  test -d "$tmp"
4907}  ||
4908{
4909  tmp=./conf$$-$RANDOM
4910  (umask 077 && mkdir "$tmp")
4911} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4912ac_tmp=$tmp
4913
4914# Set up the scripts for CONFIG_FILES section.
4915# No need to generate them if there are no CONFIG_FILES.
4916# This happens for instance with `./config.status config.h'.
4917if test -n "$CONFIG_FILES"; then
4918
4919
4920ac_cr=`echo X | tr X '\015'`
4921# On cygwin, bash can eat \r inside `` if the user requested igncr.
4922# But we know of no other shell where ac_cr would be empty at this
4923# point, so we can use a bashism as a fallback.
4924if test "x$ac_cr" = x; then
4925  eval ac_cr=\$\'\\r\'
4926fi
4927ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4928if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4929  ac_cs_awk_cr='\\r'
4930else
4931  ac_cs_awk_cr=$ac_cr
4932fi
4933
4934echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4935_ACEOF
4936
4937
4938{
4939  echo "cat >conf$$subs.awk <<_ACEOF" &&
4940  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4941  echo "_ACEOF"
4942} >conf$$subs.sh ||
4943  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4944ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4945ac_delim='%!_!# '
4946for ac_last_try in false false false false false :; do
4947  . ./conf$$subs.sh ||
4948    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4949
4950  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4951  if test $ac_delim_n = $ac_delim_num; then
4952    break
4953  elif $ac_last_try; then
4954    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4955  else
4956    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4957  fi
4958done
4959rm -f conf$$subs.sh
4960
4961cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4962cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4963_ACEOF
4964sed -n '
4965h
4966s/^/S["/; s/!.*/"]=/
4967p
4968g
4969s/^[^!]*!//
4970:repl
4971t repl
4972s/'"$ac_delim"'$//
4973t delim
4974:nl
4975h
4976s/\(.\{148\}\)..*/\1/
4977t more1
4978s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4979p
4980n
4981b repl
4982:more1
4983s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4984p
4985g
4986s/.\{148\}//
4987t nl
4988:delim
4989h
4990s/\(.\{148\}\)..*/\1/
4991t more2
4992s/["\\]/\\&/g; s/^/"/; s/$/"/
4993p
4994b
4995:more2
4996s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4997p
4998g
4999s/.\{148\}//
5000t delim
5001' <conf$$subs.awk | sed '
5002/^[^""]/{
5003  N
5004  s/\n//
5005}
5006' >>$CONFIG_STATUS || ac_write_fail=1
5007rm -f conf$$subs.awk
5008cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5009_ACAWK
5010cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5011  for (key in S) S_is_set[key] = 1
5012  FS = ""
5013
5014}
5015{
5016  line = $ 0
5017  nfields = split(line, field, "@")
5018  substed = 0
5019  len = length(field[1])
5020  for (i = 2; i < nfields; i++) {
5021    key = field[i]
5022    keylen = length(key)
5023    if (S_is_set[key]) {
5024      value = S[key]
5025      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5026      len += length(value) + length(field[++i])
5027      substed = 1
5028    } else
5029      len += 1 + keylen
5030  }
5031
5032  print line
5033}
5034
5035_ACAWK
5036_ACEOF
5037cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5038if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5039  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5040else
5041  cat
5042fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5043  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5044_ACEOF
5045
5046# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5047# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5048# trailing colons and then remove the whole line if VPATH becomes empty
5049# (actually we leave an empty line to preserve line numbers).
5050if test "x$srcdir" = x.; then
5051  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5052h
5053s///
5054s/^/:/
5055s/[	 ]*$/:/
5056s/:\$(srcdir):/:/g
5057s/:\${srcdir}:/:/g
5058s/:@srcdir@:/:/g
5059s/^:*//
5060s/:*$//
5061x
5062s/\(=[	 ]*\).*/\1/
5063G
5064s/\n//
5065s/^[^=]*=[	 ]*$//
5066}'
5067fi
5068
5069cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5070fi # test -n "$CONFIG_FILES"
5071
5072# Set up the scripts for CONFIG_HEADERS section.
5073# No need to generate them if there are no CONFIG_HEADERS.
5074# This happens for instance with `./config.status Makefile'.
5075if test -n "$CONFIG_HEADERS"; then
5076cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5077BEGIN {
5078_ACEOF
5079
5080# Transform confdefs.h into an awk script `defines.awk', embedded as
5081# here-document in config.status, that substitutes the proper values into
5082# config.h.in to produce config.h.
5083
5084# Create a delimiter string that does not exist in confdefs.h, to ease
5085# handling of long lines.
5086ac_delim='%!_!# '
5087for ac_last_try in false false :; do
5088  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5089  if test -z "$ac_tt"; then
5090    break
5091  elif $ac_last_try; then
5092    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5093  else
5094    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5095  fi
5096done
5097
5098# For the awk script, D is an array of macro values keyed by name,
5099# likewise P contains macro parameters if any.  Preserve backslash
5100# newline sequences.
5101
5102ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5103sed -n '
5104s/.\{148\}/&'"$ac_delim"'/g
5105t rset
5106:rset
5107s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5108t def
5109d
5110:def
5111s/\\$//
5112t bsnl
5113s/["\\]/\\&/g
5114s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5115D["\1"]=" \3"/p
5116s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5117d
5118:bsnl
5119s/["\\]/\\&/g
5120s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5121D["\1"]=" \3\\\\\\n"\\/p
5122t cont
5123s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5124t cont
5125d
5126:cont
5127n
5128s/.\{148\}/&'"$ac_delim"'/g
5129t clear
5130:clear
5131s/\\$//
5132t bsnlc
5133s/["\\]/\\&/g; s/^/"/; s/$/"/p
5134d
5135:bsnlc
5136s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5137b cont
5138' <confdefs.h | sed '
5139s/'"$ac_delim"'/"\\\
5140"/g' >>$CONFIG_STATUS || ac_write_fail=1
5141
5142cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5143  for (key in D) D_is_set[key] = 1
5144  FS = ""
5145}
5146/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5147  line = \$ 0
5148  split(line, arg, " ")
5149  if (arg[1] == "#") {
5150    defundef = arg[2]
5151    mac1 = arg[3]
5152  } else {
5153    defundef = substr(arg[1], 2)
5154    mac1 = arg[2]
5155  }
5156  split(mac1, mac2, "(") #)
5157  macro = mac2[1]
5158  prefix = substr(line, 1, index(line, defundef) - 1)
5159  if (D_is_set[macro]) {
5160    # Preserve the white space surrounding the "#".
5161    print prefix "define", macro P[macro] D[macro]
5162    next
5163  } else {
5164    # Replace #undef with comments.  This is necessary, for example,
5165    # in the case of _POSIX_SOURCE, which is predefined and required
5166    # on some systems where configure will not decide to define it.
5167    if (defundef == "undef") {
5168      print "/*", prefix defundef, macro, "*/"
5169      next
5170    }
5171  }
5172}
5173{ print }
5174_ACAWK
5175_ACEOF
5176cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5177  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5178fi # test -n "$CONFIG_HEADERS"
5179
5180
5181eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
5182shift
5183for ac_tag
5184do
5185  case $ac_tag in
5186  :[FHLC]) ac_mode=$ac_tag; continue;;
5187  esac
5188  case $ac_mode$ac_tag in
5189  :[FHL]*:*);;
5190  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5191  :[FH]-) ac_tag=-:-;;
5192  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5193  esac
5194  ac_save_IFS=$IFS
5195  IFS=:
5196  set x $ac_tag
5197  IFS=$ac_save_IFS
5198  shift
5199  ac_file=$1
5200  shift
5201
5202  case $ac_mode in
5203  :L) ac_source=$1;;
5204  :[FH])
5205    ac_file_inputs=
5206    for ac_f
5207    do
5208      case $ac_f in
5209      -) ac_f="$ac_tmp/stdin";;
5210      *) # Look for the file first in the build tree, then in the source tree
5211	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5212	 # because $ac_f cannot contain `:'.
5213	 test -f "$ac_f" ||
5214	   case $ac_f in
5215	   [\\/$]*) false;;
5216	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5217	   esac ||
5218	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5219      esac
5220      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5221      as_fn_append ac_file_inputs " '$ac_f'"
5222    done
5223
5224    # Let's still pretend it is `configure' which instantiates (i.e., don't
5225    # use $as_me), people would be surprised to read:
5226    #    /* config.h.  Generated by config.status.  */
5227    configure_input='Generated from '`
5228	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5229	`' by configure.'
5230    if test x"$ac_file" != x-; then
5231      configure_input="$ac_file.  $configure_input"
5232      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5233$as_echo "$as_me: creating $ac_file" >&6;}
5234    fi
5235    # Neutralize special characters interpreted by sed in replacement strings.
5236    case $configure_input in #(
5237    *\&* | *\|* | *\\* )
5238       ac_sed_conf_input=`$as_echo "$configure_input" |
5239       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5240    *) ac_sed_conf_input=$configure_input;;
5241    esac
5242
5243    case $ac_tag in
5244    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5245      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5246    esac
5247    ;;
5248  esac
5249
5250  ac_dir=`$as_dirname -- "$ac_file" ||
5251$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5252	 X"$ac_file" : 'X\(//\)[^/]' \| \
5253	 X"$ac_file" : 'X\(//\)$' \| \
5254	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5255$as_echo X"$ac_file" |
5256    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5257	    s//\1/
5258	    q
5259	  }
5260	  /^X\(\/\/\)[^/].*/{
5261	    s//\1/
5262	    q
5263	  }
5264	  /^X\(\/\/\)$/{
5265	    s//\1/
5266	    q
5267	  }
5268	  /^X\(\/\).*/{
5269	    s//\1/
5270	    q
5271	  }
5272	  s/.*/./; q'`
5273  as_dir="$ac_dir"; as_fn_mkdir_p
5274  ac_builddir=.
5275
5276case "$ac_dir" in
5277.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5278*)
5279  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5280  # A ".." for each directory in $ac_dir_suffix.
5281  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5282  case $ac_top_builddir_sub in
5283  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5284  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5285  esac ;;
5286esac
5287ac_abs_top_builddir=$ac_pwd
5288ac_abs_builddir=$ac_pwd$ac_dir_suffix
5289# for backward compatibility:
5290ac_top_builddir=$ac_top_build_prefix
5291
5292case $srcdir in
5293  .)  # We are building in place.
5294    ac_srcdir=.
5295    ac_top_srcdir=$ac_top_builddir_sub
5296    ac_abs_top_srcdir=$ac_pwd ;;
5297  [\\/]* | ?:[\\/]* )  # Absolute name.
5298    ac_srcdir=$srcdir$ac_dir_suffix;
5299    ac_top_srcdir=$srcdir
5300    ac_abs_top_srcdir=$srcdir ;;
5301  *) # Relative name.
5302    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5303    ac_top_srcdir=$ac_top_build_prefix$srcdir
5304    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5305esac
5306ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5307
5308
5309  case $ac_mode in
5310  :F)
5311  #
5312  # CONFIG_FILE
5313  #
5314
5315_ACEOF
5316
5317cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5318# If the template does not know about datarootdir, expand it.
5319# FIXME: This hack should be removed a few years after 2.60.
5320ac_datarootdir_hack=; ac_datarootdir_seen=
5321ac_sed_dataroot='
5322/datarootdir/ {
5323  p
5324  q
5325}
5326/@datadir@/p
5327/@docdir@/p
5328/@infodir@/p
5329/@localedir@/p
5330/@mandir@/p'
5331case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5332*datarootdir*) ac_datarootdir_seen=yes;;
5333*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5334  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5335$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5336_ACEOF
5337cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5338  ac_datarootdir_hack='
5339  s&@datadir@&$datadir&g
5340  s&@docdir@&$docdir&g
5341  s&@infodir@&$infodir&g
5342  s&@localedir@&$localedir&g
5343  s&@mandir@&$mandir&g
5344  s&\\\${datarootdir}&$datarootdir&g' ;;
5345esac
5346_ACEOF
5347
5348# Neutralize VPATH when `$srcdir' = `.'.
5349# Shell code in configure.ac might set extrasub.
5350# FIXME: do we really want to maintain this feature?
5351cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5352ac_sed_extra="$ac_vpsub
5353$extrasub
5354_ACEOF
5355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5356:t
5357/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5358s|@configure_input@|$ac_sed_conf_input|;t t
5359s&@top_builddir@&$ac_top_builddir_sub&;t t
5360s&@top_build_prefix@&$ac_top_build_prefix&;t t
5361s&@srcdir@&$ac_srcdir&;t t
5362s&@abs_srcdir@&$ac_abs_srcdir&;t t
5363s&@top_srcdir@&$ac_top_srcdir&;t t
5364s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5365s&@builddir@&$ac_builddir&;t t
5366s&@abs_builddir@&$ac_abs_builddir&;t t
5367s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5368$ac_datarootdir_hack
5369"
5370eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5371  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5372
5373test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5374  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5375  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5376      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5377  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5378which seems to be undefined.  Please make sure it is defined" >&5
5379$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5380which seems to be undefined.  Please make sure it is defined" >&2;}
5381
5382  rm -f "$ac_tmp/stdin"
5383  case $ac_file in
5384  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5385  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5386  esac \
5387  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5388 ;;
5389  :H)
5390  #
5391  # CONFIG_HEADER
5392  #
5393  if test x"$ac_file" != x-; then
5394    {
5395      $as_echo "/* $configure_input  */" \
5396      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5397    } >"$ac_tmp/config.h" \
5398      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5399    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5400      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5401$as_echo "$as_me: $ac_file is unchanged" >&6;}
5402    else
5403      rm -f "$ac_file"
5404      mv "$ac_tmp/config.h" "$ac_file" \
5405	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5406    fi
5407  else
5408    $as_echo "/* $configure_input  */" \
5409      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5410      || as_fn_error $? "could not create -" "$LINENO" 5
5411  fi
5412# Compute "$ac_file"'s index in $config_headers.
5413_am_arg="$ac_file"
5414_am_stamp_count=1
5415for _am_header in $config_headers :; do
5416  case $_am_header in
5417    $_am_arg | $_am_arg:* )
5418      break ;;
5419    * )
5420      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5421  esac
5422done
5423echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5424$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5425	 X"$_am_arg" : 'X\(//\)[^/]' \| \
5426	 X"$_am_arg" : 'X\(//\)$' \| \
5427	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5428$as_echo X"$_am_arg" |
5429    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5430	    s//\1/
5431	    q
5432	  }
5433	  /^X\(\/\/\)[^/].*/{
5434	    s//\1/
5435	    q
5436	  }
5437	  /^X\(\/\/\)$/{
5438	    s//\1/
5439	    q
5440	  }
5441	  /^X\(\/\).*/{
5442	    s//\1/
5443	    q
5444	  }
5445	  s/.*/./; q'`/stamp-h$_am_stamp_count
5446 ;;
5447
5448
5449  esac
5450
5451done # for ac_tag
5452
5453
5454as_fn_exit 0
5455_ACEOF
5456ac_clean_files=$ac_clean_files_save
5457
5458test $ac_write_fail = 0 ||
5459  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5460
5461
5462# configure is writing to config.log, and then calls config.status.
5463# config.status does its own redirection, appending to config.log.
5464# Unfortunately, on DOS this fails, as config.log is still kept open
5465# by configure, so config.status won't be able to write to it; its
5466# output is simply discarded.  So we exec the FD to /dev/null,
5467# effectively closing config.log, so it can be properly (re)opened and
5468# appended to by config.status.  When coming back to configure, we
5469# need to make the FD available again.
5470if test "$no_create" != yes; then
5471  ac_cs_success=:
5472  ac_config_status_args=
5473  test "$silent" = yes &&
5474    ac_config_status_args="$ac_config_status_args --quiet"
5475  exec 5>/dev/null
5476  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5477  exec 5>>config.log
5478  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5479  # would make configure fail if this is the last instruction.
5480  $ac_cs_success || as_fn_exit 1
5481fi
5482if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5483  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5484$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5485fi
5486
5487
5488
5489  { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dbus (Done)${term_norm}" >&5
5490$as_echo "$as_me: ${term_bold}** Dbus (Done)${term_norm}" >&6;}
5491
5492