1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.65 for dbus 1.6.8.
4@%:@
5@%:@ Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=dbus>.
6@%:@ 
7@%:@ 
8@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10@%:@ Inc.
11@%:@ 
12@%:@ 
13@%:@ This configure script is free software; the Free Software Foundation
14@%:@ gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in @%:@(
30  *posix*) :
31    set -o posix ;; @%:@(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in @%:@(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94case $0 in @%:@((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in @%:@(
148  *posix*) :
149    set -o posix ;; @%:@(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167  
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1
177
178  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    PATH=/empty FPATH=/empty; export PATH FPATH
183    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
185  if (eval "$as_required") 2>/dev/null; then :
186  as_have_required=yes
187else
188  as_have_required=no
189fi
190  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
191  
192else
193  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194as_found=false
195for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
196do
197  IFS=$as_save_IFS
198  test -z "$as_dir" && as_dir=.
199  as_found=:
200  case $as_dir in @%:@(
201	 /*)
202	   for as_base in sh bash ksh sh5; do
203	     # Try only shells that exist, to save several forks.
204	     as_shell=$as_dir/$as_base
205	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
207  CONFIG_SHELL=$as_shell as_have_required=yes
208		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209  break 2
210fi
211fi
212	   done;;
213       esac
214  as_found=false
215done
216$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
218  CONFIG_SHELL=$SHELL as_have_required=yes
219fi; }
220IFS=$as_save_IFS
221
222
223      if test "x$CONFIG_SHELL" != x; then :
224  # We cannot yet assume a decent shell, so we have to provide a
225	# neutralization value for shells without unset; and this also
226	# works around shells that cannot unset nonexistent variables.
227	BASH_ENV=/dev/null
228	ENV=/dev/null
229	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230	export CONFIG_SHELL
231	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
232fi
233
234    if test x$as_have_required = xno; then :
235  $as_echo "$0: This script requires a shell more modern than all"
236  $as_echo "$0: the shells that I found on your system."
237  if test x${ZSH_VERSION+set} = xset ; then
238    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240  else
241    $as_echo "$0: Please tell bug-autoconf@gnu.org and
242$0: https://bugs.freedesktop.org/enter_bug.cgi?product=dbus
243$0: about your system, including any error possibly output
244$0: before this message. Then install a modern shell, or
245$0: manually run the script under such a shell if you do
246$0: have one."
247  fi
248  exit 1
249fi
250fi
251fi
252SHELL=${CONFIG_SHELL-/bin/sh}
253export SHELL
254# Unset more variables known to interfere with behavior of common tools.
255CLICOLOR_FORCE= GREP_OPTIONS=
256unset CLICOLOR_FORCE GREP_OPTIONS
257
258## --------------------- ##
259## M4sh Shell Functions. ##
260## --------------------- ##
261@%:@ as_fn_unset VAR
262@%:@ ---------------
263@%:@ Portably unset VAR.
264as_fn_unset ()
265{
266  { eval $1=; unset $1;}
267}
268as_unset=as_fn_unset
269
270@%:@ as_fn_set_status STATUS
271@%:@ -----------------------
272@%:@ Set @S|@? to STATUS, without forking.
273as_fn_set_status ()
274{
275  return $1
276} @%:@ as_fn_set_status
277
278@%:@ as_fn_exit STATUS
279@%:@ -----------------
280@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281as_fn_exit ()
282{
283  set +e
284  as_fn_set_status $1
285  exit $1
286} @%:@ as_fn_exit
287
288@%:@ as_fn_mkdir_p
289@%:@ -------------
290@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
291as_fn_mkdir_p ()
292{
293
294  case $as_dir in #(
295  -*) as_dir=./$as_dir;;
296  esac
297  test -d "$as_dir" || eval $as_mkdir_p || {
298    as_dirs=
299    while :; do
300      case $as_dir in #(
301      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302      *) as_qdir=$as_dir;;
303      esac
304      as_dirs="'$as_qdir' $as_dirs"
305      as_dir=`$as_dirname -- "$as_dir" ||
306$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307	 X"$as_dir" : 'X\(//\)[^/]' \| \
308	 X"$as_dir" : 'X\(//\)$' \| \
309	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310$as_echo X"$as_dir" |
311    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312	    s//\1/
313	    q
314	  }
315	  /^X\(\/\/\)[^/].*/{
316	    s//\1/
317	    q
318	  }
319	  /^X\(\/\/\)$/{
320	    s//\1/
321	    q
322	  }
323	  /^X\(\/\).*/{
324	    s//\1/
325	    q
326	  }
327	  s/.*/./; q'`
328      test -d "$as_dir" && break
329    done
330    test -z "$as_dirs" || eval "mkdir $as_dirs"
331  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
332
333
334} @%:@ as_fn_mkdir_p
335@%:@ as_fn_append VAR VALUE
336@%:@ ----------------------
337@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
338@%:@ advantage of any shell optimizations that allow amortized linear growth over
339@%:@ repeated appends, instead of the typical quadratic growth present in naive
340@%:@ implementations.
341if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342  eval 'as_fn_append ()
343  {
344    eval $1+=\$2
345  }'
346else
347  as_fn_append ()
348  {
349    eval $1=\$$1\$2
350  }
351fi # as_fn_append
352
353@%:@ as_fn_arith ARG...
354@%:@ ------------------
355@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
356@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
357@%:@ must be portable across @S|@(()) and expr.
358if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359  eval 'as_fn_arith ()
360  {
361    as_val=$(( $* ))
362  }'
363else
364  as_fn_arith ()
365  {
366    as_val=`expr "$@" || test $? -eq 1`
367  }
368fi # as_fn_arith
369
370
371@%:@ as_fn_error ERROR [LINENO LOG_FD]
372@%:@ ---------------------------------
373@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375@%:@ script with status @S|@?, using 1 if that was 0.
376as_fn_error ()
377{
378  as_status=$?; test $as_status -eq 0 && as_status=1
379  if test "$3"; then
380    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
382  fi
383  $as_echo "$as_me: error: $1" >&2
384  as_fn_exit $as_status
385} @%:@ as_fn_error
386
387if expr a : '\(a\)' >/dev/null 2>&1 &&
388   test "X`expr 00001 : '.*\(...\)'`" = X001; then
389  as_expr=expr
390else
391  as_expr=false
392fi
393
394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395  as_basename=basename
396else
397  as_basename=false
398fi
399
400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401  as_dirname=dirname
402else
403  as_dirname=false
404fi
405
406as_me=`$as_basename -- "$0" ||
407$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408	 X"$0" : 'X\(//\)$' \| \
409	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410$as_echo X/"$0" |
411    sed '/^.*\/\([^/][^/]*\)\/*$/{
412	    s//\1/
413	    q
414	  }
415	  /^X\/\(\/\/\)$/{
416	    s//\1/
417	    q
418	  }
419	  /^X\/\(\/\).*/{
420	    s//\1/
421	    q
422	  }
423	  s/.*/./; q'`
424
425# Avoid depending upon Character Ranges.
426as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429as_cr_digits='0123456789'
430as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433  as_lineno_1=$LINENO as_lineno_1a=$LINENO
434  as_lineno_2=$LINENO as_lineno_2a=$LINENO
435  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456  # Don't try to exec as it changes $[0], causing all sort of problems
457  # (the dirname of $[0] is not the place where we might find the
458  # original and so on.  Autoconf is especially sensitive to this).
459  . "./$as_me.lineno"
460  # Exit status is that of the last command.
461  exit
462}
463
464ECHO_C= ECHO_N= ECHO_T=
465case `echo -n x` in @%:@(((((
466-n*)
467  case `echo 'xy\c'` in
468  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
469  xy)  ECHO_C='\c';;
470  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471       ECHO_T='	';;
472  esac;;
473*)
474  ECHO_N='-n';;
475esac
476
477rm -f conf$$ conf$$.exe conf$$.file
478if test -d conf$$.dir; then
479  rm -f conf$$.dir/conf$$.file
480else
481  rm -f conf$$.dir
482  mkdir conf$$.dir 2>/dev/null
483fi
484if (echo >conf$$.file) 2>/dev/null; then
485  if ln -s conf$$.file conf$$ 2>/dev/null; then
486    as_ln_s='ln -s'
487    # ... but there are two gotchas:
488    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490    # In both cases, we have to default to `cp -p'.
491    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492      as_ln_s='cp -p'
493  elif ln conf$$.file conf$$ 2>/dev/null; then
494    as_ln_s=ln
495  else
496    as_ln_s='cp -p'
497  fi
498else
499  as_ln_s='cp -p'
500fi
501rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502rmdir conf$$.dir 2>/dev/null
503
504if mkdir -p . 2>/dev/null; then
505  as_mkdir_p='mkdir -p "$as_dir"'
506else
507  test -d ./-p && rmdir ./-p
508  as_mkdir_p=false
509fi
510
511if test -x / >/dev/null 2>&1; then
512  as_test_x='test -x'
513else
514  if ls -dL / >/dev/null 2>&1; then
515    as_ls_L_option=L
516  else
517    as_ls_L_option=
518  fi
519  as_test_x='
520    eval sh -c '\''
521      if test -d "$1"; then
522	test -d "$1/.";
523      else
524	case $1 in @%:@(
525	-*)set "./$1";;
526	esac;
527	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
528	???[sx]*):;;*)false;;esac;fi
529    '\'' sh
530  '
531fi
532as_executable_p=$as_test_x
533
534# Sed expression to map a string onto a valid CPP name.
535as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537# Sed expression to map a string onto a valid variable name.
538as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540SHELL=${CONFIG_SHELL-/bin/sh}
541
542
543test -n "$DJDIR" || exec 7<&0 </dev/null
544exec 6>&1
545
546# Name of the host.
547# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
548# so uname gets run too.
549ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
550
551#
552# Initializations.
553#
554ac_default_prefix=/usr/local
555ac_clean_files=
556ac_config_libobj_dir=.
557LIB@&t@OBJS=
558cross_compiling=no
559subdirs=
560MFLAGS=
561MAKEFLAGS=
562
563# Identity of this package.
564PACKAGE_NAME='dbus'
565PACKAGE_TARNAME='dbus'
566PACKAGE_VERSION='1.6.8'
567PACKAGE_STRING='dbus 1.6.8'
568PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=dbus'
569PACKAGE_URL=''
570
571# Factoring default headers for most tests.
572ac_includes_default="\
573#include <stdio.h>
574#ifdef HAVE_SYS_TYPES_H
575# include <sys/types.h>
576#endif
577#ifdef HAVE_SYS_STAT_H
578# include <sys/stat.h>
579#endif
580#ifdef STDC_HEADERS
581# include <stdlib.h>
582# include <stddef.h>
583#else
584# ifdef HAVE_STDLIB_H
585#  include <stdlib.h>
586# endif
587#endif
588#ifdef HAVE_STRING_H
589# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590#  include <memory.h>
591# endif
592# include <string.h>
593#endif
594#ifdef HAVE_STRINGS_H
595# include <strings.h>
596#endif
597#ifdef HAVE_INTTYPES_H
598# include <inttypes.h>
599#endif
600#ifdef HAVE_STDINT_H
601# include <stdint.h>
602#endif
603#ifdef HAVE_UNISTD_H
604# include <unistd.h>
605#endif"
606
607ac_subst_vars='am__EXEEXT_FALSE
608am__EXEEXT_TRUE
609LTLIBOBJS
610LIB@&t@OBJS
611DBUS_SESSION_BUS_DEFAULT_ADDRESS
612DBUS_SESSION_SOCKET_DIR
613TEST_LISTEN
614TEST_SOCKET_DIR
615TEST_LAUNCH_HELPER_BINARY
616TEST_BUS_BINARY
617DBUS_TEST_EXEC
618DBUS_TEST_DATA
619DBUS_LIBEXECDIR
620DBUS_BINDIR
621DBUS_DAEMONDIR
622DBUS_DATADIR
623DBUS_PREFIX
624DBUS_USER
625DBUS_CONSOLE_OWNER_FILE
626DBUS_CONSOLE_AUTH_DIR
627DBUS_SYSTEM_PID_FILE
628DBUS_SYSTEM_BUS_DEFAULT_ADDRESS
629DBUS_SYSTEM_SOCKET
630HAVE_SYSTEMD_FALSE
631HAVE_SYSTEMD_TRUE
632systemdsystemunitdir
633DBUS_INIT_SCRIPTS_CYGWIN_FALSE
634DBUS_INIT_SCRIPTS_CYGWIN_TRUE
635DBUS_INIT_SCRIPTS_SLACKWARE_FALSE
636DBUS_INIT_SCRIPTS_SLACKWARE_TRUE
637DBUS_INIT_SCRIPTS_RED_HAT_FALSE
638DBUS_INIT_SCRIPTS_RED_HAT_TRUE
639EXPANDED_DATADIR
640EXPANDED_LIBEXECDIR
641EXPANDED_LIBDIR
642EXPANDED_BINDIR
643EXPANDED_SYSCONFDIR
644EXPANDED_LOCALSTATEDIR
645EXPANDED_PREFIX
646DBUS_CAN_UPLOAD_DOCS_FALSE
647DBUS_CAN_UPLOAD_DOCS_TRUE
648DBUS_HAVE_MAN2HTML_FALSE
649DBUS_HAVE_MAN2HTML_TRUE
650MAN2HTML
651DBUS_XML_DOCS_ENABLED_FALSE
652DBUS_XML_DOCS_ENABLED_TRUE
653XMLTO
654DBUS_HAVE_XSLTPROC_FALSE
655DBUS_HAVE_XSLTPROC_TRUE
656XSLTPROC
657DBUS_DOXYGEN_DOCS_ENABLED_FALSE
658DBUS_DOXYGEN_DOCS_ENABLED_TRUE
659DOXYGEN
660DBUS_X_LIBS
661DBUS_X_CFLAGS
662X_EXTRA_LIBS
663X_LIBS
664X_PRE_LIBS
665X_CFLAGS
666XMKMF
667LIBDBUS_LIBS
668VALGRIND_LIBS
669VALGRIND_CFLAGS
670NETWORK_libs
671ADT_LIBS
672SELINUX_LIBS
673HAVE_LIBAUDIT_FALSE
674HAVE_LIBAUDIT_TRUE
675SYSTEMD_LIBS
676SYSTEMD_CFLAGS
677HAVE_CONSOLE_OWNER_FILE_FALSE
678HAVE_CONSOLE_OWNER_FILE_TRUE
679LAUNCHD_AGENT_DIR
680DBUS_ENABLE_LAUNCHD_FALSE
681DBUS_ENABLE_LAUNCHD_TRUE
682LAUNCHCTL
683DBUS_BUS_ENABLE_KQUEUE_FALSE
684DBUS_BUS_ENABLE_KQUEUE_TRUE
685HAVE_LINUX_EPOLL_FALSE
686HAVE_LINUX_EPOLL_TRUE
687DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_FALSE
688DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_TRUE
689DBUS_BUS_ENABLE_INOTIFY_FALSE
690DBUS_BUS_ENABLE_INOTIFY_TRUE
691HAVE_SELINUX_FALSE
692HAVE_SELINUX_TRUE
693THREAD_LIBS
694XML_LIBS
695XML_CFLAGS
696DBUS_USE_LIBXML_FALSE
697DBUS_USE_LIBXML_TRUE
698DBUS_USE_EXPAT_FALSE
699DBUS_USE_EXPAT_TRUE
700LIBXML_LIBS
701LIBXML_CFLAGS
702DBUS_PATH_OR_ABSTRACT
703DBUS_INT16_TYPE
704DBUS_INT32_TYPE
705DBUS_HAVE_INT64
706DBUS_UINT64_CONSTANT
707DBUS_INT64_CONSTANT
708DBUS_INT64_TYPE
709R_DYNAMIC_LDFLAG
710pkgpyexecdir
711pyexecdir
712pkgpythondir
713pythondir
714PYTHON_PLATFORM
715PYTHON_EXEC_PREFIX
716PYTHON_PREFIX
717PYTHON_VERSION
718PYTHON
719DBUS_ENABLE_INSTALLED_TESTS_FALSE
720DBUS_ENABLE_INSTALLED_TESTS_TRUE
721DBUS_WITH_GLIB_FALSE
722DBUS_WITH_GLIB_TRUE
723DBUS_ENABLE_MODULAR_TESTS_FALSE
724DBUS_ENABLE_MODULAR_TESTS_TRUE
725DBUS_GLIB_LIBS
726DBUS_GLIB_CFLAGS
727GLIB_LIBS
728GLIB_CFLAGS
729DBUS_ENABLE_EMBEDDED_TESTS_FALSE
730DBUS_ENABLE_EMBEDDED_TESTS_TRUE
731DBUS_BUILD_TESTS_FALSE
732DBUS_BUILD_TESTS_TRUE
733DBUS_STATIC_BUILD_CPPFLAGS
734DBUS_CYGWIN_FALSE
735DBUS_CYGWIN_TRUE
736DBUS_UNIX_FALSE
737DBUS_UNIX_TRUE
738DBUS_WINCE_FALSE
739DBUS_WINCE_TRUE
740DBUS_WIN_FALSE
741DBUS_WIN_TRUE
742WINDRES
743BUILD_FILEVERSION
744BUILD_TIMESTAMP
745RC
746PKG_CONFIG
747CXXCPP
748OTOOL64
749OTOOL
750LIPO
751NMEDIT
752DSYMUTIL
753MANIFEST_TOOL
754RANLIB
755ac_ct_AR
756AR
757DLLTOOL
758OBJDUMP
759LN_S
760NM
761ac_ct_DUMPBIN
762DUMPBIN
763LD
764FGREP
765SED
766LIBTOOL
767EGREP
768GREP
769CPP
770am__fastdepCXX_FALSE
771am__fastdepCXX_TRUE
772CXXDEPMODE
773ac_ct_CXX
774CXXFLAGS
775CXX
776am__fastdepCC_FALSE
777am__fastdepCC_TRUE
778CCDEPMODE
779AMDEPBACKSLASH
780AMDEP_FALSE
781AMDEP_TRUE
782am__quote
783am__include
784DEPDIR
785OBJEXT
786EXEEXT
787ac_ct_CC
788CPPFLAGS
789LDFLAGS
790CFLAGS
791CC
792DBUS_VERSION
793DBUS_MICRO_VERSION
794DBUS_MINOR_VERSION
795DBUS_MAJOR_VERSION
796LT_AGE
797LT_REVISION
798LT_CURRENT
799AM_BACKSLASH
800AM_DEFAULT_VERBOSITY
801MAINT
802MAINTAINER_MODE_FALSE
803MAINTAINER_MODE_TRUE
804GETTEXT_PACKAGE
805am__untar
806am__tar
807AMTAR
808am__leading_dot
809SET_MAKE
810AWK
811mkdir_p
812MKDIR_P
813INSTALL_STRIP_PROGRAM
814STRIP
815install_sh
816MAKEINFO
817AUTOHEADER
818AUTOMAKE
819AUTOCONF
820ACLOCAL
821VERSION
822PACKAGE
823CYGPATH_W
824am__isrc
825INSTALL_DATA
826INSTALL_SCRIPT
827INSTALL_PROGRAM
828host_os
829host_vendor
830host_cpu
831host
832build_os
833build_vendor
834build_cpu
835build
836target_alias
837host_alias
838build_alias
839LIBS
840ECHO_T
841ECHO_N
842ECHO_C
843DEFS
844mandir
845localedir
846libdir
847psdir
848pdfdir
849dvidir
850htmldir
851infodir
852docdir
853oldincludedir
854includedir
855localstatedir
856sharedstatedir
857sysconfdir
858datadir
859datarootdir
860libexecdir
861sbindir
862bindir
863program_transform_name
864prefix
865exec_prefix
866PACKAGE_URL
867PACKAGE_BUGREPORT
868PACKAGE_STRING
869PACKAGE_VERSION
870PACKAGE_TARNAME
871PACKAGE_NAME
872PATH_SEPARATOR
873SHELL'
874ac_subst_files=''
875ac_user_opts='
876enable_option_checking
877enable_maintainer_mode
878enable_silent_rules
879enable_dependency_tracking
880enable_shared
881enable_static
882with_pic
883enable_fast_install
884with_gnu_ld
885with_sysroot
886enable_libtool_lock
887enable_compiler_coverage
888enable_compiler_optimisations
889enable_developer
890enable_ansi
891enable_verbose_mode
892enable_asserts
893enable_checks
894enable_xml_docs
895enable_doxygen_docs
896enable_abstract_sockets
897enable_selinux
898enable_libaudit
899enable_dnotify
900enable_inotify
901enable_kqueue
902enable_console_owner_file
903enable_userdb_cache
904enable_launchd
905enable_systemd
906with_xml
907with_init_scripts
908with_session_socket_dir
909with_test_socket_dir
910with_system_pid_file
911with_system_socket
912with_console_auth_dir
913with_console_owner_file
914with_launchd_agent_dir
915with_dbus_user
916with_dbus_daemondir
917with_dbus_session_bus_default_address
918enable_embedded_tests
919enable_modular_tests
920enable_tests
921enable_installed_tests
922with_64_bit
923enable_epoll
924with_valgrind
925enable_x11_autolaunch
926with_x
927enable_Werror
928with_systemdsystemunitdir
929with_dbus_test_dir
930enable_stats
931'
932      ac_precious_vars='build_alias
933host_alias
934target_alias
935CC
936CFLAGS
937LDFLAGS
938LIBS
939CPPFLAGS
940CXX
941CXXFLAGS
942CCC
943CPP
944CXXCPP
945PKG_CONFIG
946GLIB_CFLAGS
947GLIB_LIBS
948DBUS_GLIB_CFLAGS
949DBUS_GLIB_LIBS
950LIBXML_CFLAGS
951LIBXML_LIBS
952SYSTEMD_CFLAGS
953SYSTEMD_LIBS
954VALGRIND_CFLAGS
955VALGRIND_LIBS
956XMKMF
957MAN2HTML'
958
959
960# Initialize some variables set by options.
961ac_init_help=
962ac_init_version=false
963ac_unrecognized_opts=
964ac_unrecognized_sep=
965# The variables have the same names as the options, with
966# dashes changed to underlines.
967cache_file=/dev/null
968exec_prefix=NONE
969no_create=
970no_recursion=
971prefix=NONE
972program_prefix=NONE
973program_suffix=NONE
974program_transform_name=s,x,x,
975silent=
976site=
977srcdir=
978verbose=
979x_includes=NONE
980x_libraries=NONE
981
982# Installation directory options.
983# These are left unexpanded so users can "make install exec_prefix=/foo"
984# and all the variables that are supposed to be based on exec_prefix
985# by default will actually change.
986# Use braces instead of parens because sh, perl, etc. also accept them.
987# (The list follows the same order as the GNU Coding Standards.)
988bindir='${exec_prefix}/bin'
989sbindir='${exec_prefix}/sbin'
990libexecdir='${exec_prefix}/libexec'
991datarootdir='${prefix}/share'
992datadir='${datarootdir}'
993sysconfdir='${prefix}/etc'
994sharedstatedir='${prefix}/com'
995localstatedir='${prefix}/var'
996includedir='${prefix}/include'
997oldincludedir='/usr/include'
998docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
999infodir='${datarootdir}/info'
1000htmldir='${docdir}'
1001dvidir='${docdir}'
1002pdfdir='${docdir}'
1003psdir='${docdir}'
1004libdir='${exec_prefix}/lib'
1005localedir='${datarootdir}/locale'
1006mandir='${datarootdir}/man'
1007
1008ac_prev=
1009ac_dashdash=
1010for ac_option
1011do
1012  # If the previous option needs an argument, assign it.
1013  if test -n "$ac_prev"; then
1014    eval $ac_prev=\$ac_option
1015    ac_prev=
1016    continue
1017  fi
1018
1019  case $ac_option in
1020  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021  *)	ac_optarg=yes ;;
1022  esac
1023
1024  # Accept the important Cygnus configure options, so we can diagnose typos.
1025
1026  case $ac_dashdash$ac_option in
1027  --)
1028    ac_dashdash=yes ;;
1029
1030  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1031    ac_prev=bindir ;;
1032  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1033    bindir=$ac_optarg ;;
1034
1035  -build | --build | --buil | --bui | --bu)
1036    ac_prev=build_alias ;;
1037  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1038    build_alias=$ac_optarg ;;
1039
1040  -cache-file | --cache-file | --cache-fil | --cache-fi \
1041  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1042    ac_prev=cache_file ;;
1043  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1044  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1045    cache_file=$ac_optarg ;;
1046
1047  --config-cache | -C)
1048    cache_file=config.cache ;;
1049
1050  -datadir | --datadir | --datadi | --datad)
1051    ac_prev=datadir ;;
1052  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1053    datadir=$ac_optarg ;;
1054
1055  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1056  | --dataroo | --dataro | --datar)
1057    ac_prev=datarootdir ;;
1058  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1059  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1060    datarootdir=$ac_optarg ;;
1061
1062  -disable-* | --disable-*)
1063    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064    # Reject names that are not valid shell variable names.
1065    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066      as_fn_error "invalid feature name: $ac_useropt"
1067    ac_useropt_orig=$ac_useropt
1068    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069    case $ac_user_opts in
1070      *"
1071"enable_$ac_useropt"
1072"*) ;;
1073      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1074	 ac_unrecognized_sep=', ';;
1075    esac
1076    eval enable_$ac_useropt=no ;;
1077
1078  -docdir | --docdir | --docdi | --doc | --do)
1079    ac_prev=docdir ;;
1080  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1081    docdir=$ac_optarg ;;
1082
1083  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1084    ac_prev=dvidir ;;
1085  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1086    dvidir=$ac_optarg ;;
1087
1088  -enable-* | --enable-*)
1089    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1090    # Reject names that are not valid shell variable names.
1091    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092      as_fn_error "invalid feature name: $ac_useropt"
1093    ac_useropt_orig=$ac_useropt
1094    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095    case $ac_user_opts in
1096      *"
1097"enable_$ac_useropt"
1098"*) ;;
1099      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100	 ac_unrecognized_sep=', ';;
1101    esac
1102    eval enable_$ac_useropt=\$ac_optarg ;;
1103
1104  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106  | --exec | --exe | --ex)
1107    ac_prev=exec_prefix ;;
1108  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110  | --exec=* | --exe=* | --ex=*)
1111    exec_prefix=$ac_optarg ;;
1112
1113  -gas | --gas | --ga | --g)
1114    # Obsolete; use --with-gas.
1115    with_gas=yes ;;
1116
1117  -help | --help | --hel | --he | -h)
1118    ac_init_help=long ;;
1119  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120    ac_init_help=recursive ;;
1121  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122    ac_init_help=short ;;
1123
1124  -host | --host | --hos | --ho)
1125    ac_prev=host_alias ;;
1126  -host=* | --host=* | --hos=* | --ho=*)
1127    host_alias=$ac_optarg ;;
1128
1129  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1130    ac_prev=htmldir ;;
1131  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1132  | --ht=*)
1133    htmldir=$ac_optarg ;;
1134
1135  -includedir | --includedir | --includedi | --included | --include \
1136  | --includ | --inclu | --incl | --inc)
1137    ac_prev=includedir ;;
1138  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139  | --includ=* | --inclu=* | --incl=* | --inc=*)
1140    includedir=$ac_optarg ;;
1141
1142  -infodir | --infodir | --infodi | --infod | --info | --inf)
1143    ac_prev=infodir ;;
1144  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145    infodir=$ac_optarg ;;
1146
1147  -libdir | --libdir | --libdi | --libd)
1148    ac_prev=libdir ;;
1149  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150    libdir=$ac_optarg ;;
1151
1152  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153  | --libexe | --libex | --libe)
1154    ac_prev=libexecdir ;;
1155  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156  | --libexe=* | --libex=* | --libe=*)
1157    libexecdir=$ac_optarg ;;
1158
1159  -localedir | --localedir | --localedi | --localed | --locale)
1160    ac_prev=localedir ;;
1161  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162    localedir=$ac_optarg ;;
1163
1164  -localstatedir | --localstatedir | --localstatedi | --localstated \
1165  | --localstate | --localstat | --localsta | --localst | --locals)
1166    ac_prev=localstatedir ;;
1167  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169    localstatedir=$ac_optarg ;;
1170
1171  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1172    ac_prev=mandir ;;
1173  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174    mandir=$ac_optarg ;;
1175
1176  -nfp | --nfp | --nf)
1177    # Obsolete; use --without-fp.
1178    with_fp=no ;;
1179
1180  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181  | --no-cr | --no-c | -n)
1182    no_create=yes ;;
1183
1184  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1186    no_recursion=yes ;;
1187
1188  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190  | --oldin | --oldi | --old | --ol | --o)
1191    ac_prev=oldincludedir ;;
1192  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195    oldincludedir=$ac_optarg ;;
1196
1197  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1198    ac_prev=prefix ;;
1199  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200    prefix=$ac_optarg ;;
1201
1202  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203  | --program-pre | --program-pr | --program-p)
1204    ac_prev=program_prefix ;;
1205  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207    program_prefix=$ac_optarg ;;
1208
1209  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210  | --program-suf | --program-su | --program-s)
1211    ac_prev=program_suffix ;;
1212  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214    program_suffix=$ac_optarg ;;
1215
1216  -program-transform-name | --program-transform-name \
1217  | --program-transform-nam | --program-transform-na \
1218  | --program-transform-n | --program-transform- \
1219  | --program-transform | --program-transfor \
1220  | --program-transfo | --program-transf \
1221  | --program-trans | --program-tran \
1222  | --progr-tra | --program-tr | --program-t)
1223    ac_prev=program_transform_name ;;
1224  -program-transform-name=* | --program-transform-name=* \
1225  | --program-transform-nam=* | --program-transform-na=* \
1226  | --program-transform-n=* | --program-transform-=* \
1227  | --program-transform=* | --program-transfor=* \
1228  | --program-transfo=* | --program-transf=* \
1229  | --program-trans=* | --program-tran=* \
1230  | --progr-tra=* | --program-tr=* | --program-t=*)
1231    program_transform_name=$ac_optarg ;;
1232
1233  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1234    ac_prev=pdfdir ;;
1235  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236    pdfdir=$ac_optarg ;;
1237
1238  -psdir | --psdir | --psdi | --psd | --ps)
1239    ac_prev=psdir ;;
1240  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1241    psdir=$ac_optarg ;;
1242
1243  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244  | -silent | --silent | --silen | --sile | --sil)
1245    silent=yes ;;
1246
1247  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1248    ac_prev=sbindir ;;
1249  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1250  | --sbi=* | --sb=*)
1251    sbindir=$ac_optarg ;;
1252
1253  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255  | --sharedst | --shareds | --shared | --share | --shar \
1256  | --sha | --sh)
1257    ac_prev=sharedstatedir ;;
1258  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1261  | --sha=* | --sh=*)
1262    sharedstatedir=$ac_optarg ;;
1263
1264  -site | --site | --sit)
1265    ac_prev=site ;;
1266  -site=* | --site=* | --sit=*)
1267    site=$ac_optarg ;;
1268
1269  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1270    ac_prev=srcdir ;;
1271  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272    srcdir=$ac_optarg ;;
1273
1274  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275  | --syscon | --sysco | --sysc | --sys | --sy)
1276    ac_prev=sysconfdir ;;
1277  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279    sysconfdir=$ac_optarg ;;
1280
1281  -target | --target | --targe | --targ | --tar | --ta | --t)
1282    ac_prev=target_alias ;;
1283  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284    target_alias=$ac_optarg ;;
1285
1286  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1287    verbose=yes ;;
1288
1289  -version | --version | --versio | --versi | --vers | -V)
1290    ac_init_version=: ;;
1291
1292  -with-* | --with-*)
1293    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294    # Reject names that are not valid shell variable names.
1295    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296      as_fn_error "invalid package name: $ac_useropt"
1297    ac_useropt_orig=$ac_useropt
1298    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299    case $ac_user_opts in
1300      *"
1301"with_$ac_useropt"
1302"*) ;;
1303      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1304	 ac_unrecognized_sep=', ';;
1305    esac
1306    eval with_$ac_useropt=\$ac_optarg ;;
1307
1308  -without-* | --without-*)
1309    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1310    # Reject names that are not valid shell variable names.
1311    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1312      as_fn_error "invalid package name: $ac_useropt"
1313    ac_useropt_orig=$ac_useropt
1314    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315    case $ac_user_opts in
1316      *"
1317"with_$ac_useropt"
1318"*) ;;
1319      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1320	 ac_unrecognized_sep=', ';;
1321    esac
1322    eval with_$ac_useropt=no ;;
1323
1324  --x)
1325    # Obsolete; use --with-x.
1326    with_x=yes ;;
1327
1328  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1329  | --x-incl | --x-inc | --x-in | --x-i)
1330    ac_prev=x_includes ;;
1331  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1332  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1333    x_includes=$ac_optarg ;;
1334
1335  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1336  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1337    ac_prev=x_libraries ;;
1338  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1339  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1340    x_libraries=$ac_optarg ;;
1341
1342  -*) as_fn_error "unrecognized option: \`$ac_option'
1343Try \`$0 --help' for more information."
1344    ;;
1345
1346  *=*)
1347    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1348    # Reject names that are not valid shell variable names.
1349    case $ac_envvar in #(
1350      '' | [0-9]* | *[!_$as_cr_alnum]* )
1351      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1352    esac
1353    eval $ac_envvar=\$ac_optarg
1354    export $ac_envvar ;;
1355
1356  *)
1357    # FIXME: should be removed in autoconf 3.0.
1358    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1359    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1360      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1361    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1362    ;;
1363
1364  esac
1365done
1366
1367if test -n "$ac_prev"; then
1368  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1369  as_fn_error "missing argument to $ac_option"
1370fi
1371
1372if test -n "$ac_unrecognized_opts"; then
1373  case $enable_option_checking in
1374    no) ;;
1375    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1376    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1377  esac
1378fi
1379
1380# Check all directory arguments for consistency.
1381for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1382		datadir sysconfdir sharedstatedir localstatedir includedir \
1383		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1384		libdir localedir mandir
1385do
1386  eval ac_val=\$$ac_var
1387  # Remove trailing slashes.
1388  case $ac_val in
1389    */ )
1390      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1391      eval $ac_var=\$ac_val;;
1392  esac
1393  # Be sure to have absolute directory names.
1394  case $ac_val in
1395    [\\/$]* | ?:[\\/]* )  continue;;
1396    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1397  esac
1398  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1399done
1400
1401# There might be people who depend on the old broken behavior: `$host'
1402# used to hold the argument of --host etc.
1403# FIXME: To remove some day.
1404build=$build_alias
1405host=$host_alias
1406target=$target_alias
1407
1408# FIXME: To remove some day.
1409if test "x$host_alias" != x; then
1410  if test "x$build_alias" = x; then
1411    cross_compiling=maybe
1412    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1413    If a cross compiler is detected then cross compile mode will be used." >&2
1414  elif test "x$build_alias" != "x$host_alias"; then
1415    cross_compiling=yes
1416  fi
1417fi
1418
1419ac_tool_prefix=
1420test -n "$host_alias" && ac_tool_prefix=$host_alias-
1421
1422test "$silent" = yes && exec 6>/dev/null
1423
1424
1425ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426ac_ls_di=`ls -di .` &&
1427ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428  as_fn_error "working directory cannot be determined"
1429test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430  as_fn_error "pwd does not report name of working directory"
1431
1432
1433# Find the source files, if location was not specified.
1434if test -z "$srcdir"; then
1435  ac_srcdir_defaulted=yes
1436  # Try the directory containing this script, then the parent directory.
1437  ac_confdir=`$as_dirname -- "$as_myself" ||
1438$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1439	 X"$as_myself" : 'X\(//\)[^/]' \| \
1440	 X"$as_myself" : 'X\(//\)$' \| \
1441	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1442$as_echo X"$as_myself" |
1443    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1444	    s//\1/
1445	    q
1446	  }
1447	  /^X\(\/\/\)[^/].*/{
1448	    s//\1/
1449	    q
1450	  }
1451	  /^X\(\/\/\)$/{
1452	    s//\1/
1453	    q
1454	  }
1455	  /^X\(\/\).*/{
1456	    s//\1/
1457	    q
1458	  }
1459	  s/.*/./; q'`
1460  srcdir=$ac_confdir
1461  if test ! -r "$srcdir/$ac_unique_file"; then
1462    srcdir=..
1463  fi
1464else
1465  ac_srcdir_defaulted=no
1466fi
1467if test ! -r "$srcdir/$ac_unique_file"; then
1468  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1469  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1470fi
1471ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1472ac_abs_confdir=`(
1473	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1474	pwd)`
1475# When building in place, set srcdir=.
1476if test "$ac_abs_confdir" = "$ac_pwd"; then
1477  srcdir=.
1478fi
1479# Remove unnecessary trailing slashes from srcdir.
1480# Double slashes in file names in object file debugging info
1481# mess up M-x gdb in Emacs.
1482case $srcdir in
1483*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1484esac
1485for ac_var in $ac_precious_vars; do
1486  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1487  eval ac_env_${ac_var}_value=\$${ac_var}
1488  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1489  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1490done
1491
1492#
1493# Report the --help message.
1494#
1495if test "$ac_init_help" = "long"; then
1496  # Omit some internal or obsolete options to make the list less imposing.
1497  # This message is too long to be a string in the A/UX 3.1 sh.
1498  cat <<_ACEOF
1499\`configure' configures dbus 1.6.8 to adapt to many kinds of systems.
1500
1501Usage: $0 [OPTION]... [VAR=VALUE]...
1502
1503To assign environment variables (e.g., CC, CFLAGS...), specify them as
1504VAR=VALUE.  See below for descriptions of some of the useful variables.
1505
1506Defaults for the options are specified in brackets.
1507
1508Configuration:
1509  -h, --help              display this help and exit
1510      --help=short        display options specific to this package
1511      --help=recursive    display the short help of all the included packages
1512  -V, --version           display version information and exit
1513  -q, --quiet, --silent   do not print \`checking...' messages
1514      --cache-file=FILE   cache test results in FILE [disabled]
1515  -C, --config-cache      alias for \`--cache-file=config.cache'
1516  -n, --no-create         do not create output files
1517      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1518
1519Installation directories:
1520  --prefix=PREFIX         install architecture-independent files in PREFIX
1521                          @<:@@S|@ac_default_prefix@:>@
1522  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1523                          @<:@PREFIX@:>@
1524
1525By default, \`make install' will install all the files in
1526\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1527an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1528for instance \`--prefix=\$HOME'.
1529
1530For better control, use the options below.
1531
1532Fine tuning of the installation directories:
1533  --bindir=DIR            user executables [EPREFIX/bin]
1534  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1535  --libexecdir=DIR        program executables [EPREFIX/libexec]
1536  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1537  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1538  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1539  --libdir=DIR            object code libraries [EPREFIX/lib]
1540  --includedir=DIR        C header files [PREFIX/include]
1541  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1542  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1543  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1544  --infodir=DIR           info documentation [DATAROOTDIR/info]
1545  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1546  --mandir=DIR            man documentation [DATAROOTDIR/man]
1547  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/dbus@:>@
1548  --htmldir=DIR           html documentation [DOCDIR]
1549  --dvidir=DIR            dvi documentation [DOCDIR]
1550  --pdfdir=DIR            pdf documentation [DOCDIR]
1551  --psdir=DIR             ps documentation [DOCDIR]
1552_ACEOF
1553
1554  cat <<\_ACEOF
1555
1556Program names:
1557  --program-prefix=PREFIX            prepend PREFIX to installed program names
1558  --program-suffix=SUFFIX            append SUFFIX to installed program names
1559  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1560
1561X features:
1562  --x-includes=DIR    X include files are in DIR
1563  --x-libraries=DIR   X library files are in DIR
1564
1565System types:
1566  --build=BUILD     configure for building on BUILD [guessed]
1567  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1568_ACEOF
1569fi
1570
1571if test -n "$ac_init_help"; then
1572  case $ac_init_help in
1573     short | recursive ) echo "Configuration of dbus 1.6.8:";;
1574   esac
1575  cat <<\_ACEOF
1576
1577Optional Features:
1578  --disable-option-checking  ignore unrecognized --enable/--with options
1579  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1580  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1581  --disable-maintainer-mode  disable make rules and dependencies not useful
1582			  (and sometimes confusing) to the casual installer
1583  --enable-silent-rules          less verbose build output (undo: `make V=1')
1584  --disable-silent-rules         verbose build output (undo: `make V=0')
1585  --disable-dependency-tracking  speeds up one-time build
1586  --enable-dependency-tracking   do not reject slow dependency extractors
1587  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1588  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1589  --enable-fast-install@<:@=PKGS@:>@ 
1590                          optimize for fast installation @<:@default=yes@:>@
1591  --disable-libtool-lock  avoid locking (might break parallel builds)
1592  --enable-compiler-coverage 
1593                          Enable generation of coverage data
1594  --disable-compiler-optimisations 
1595                          Disable compiler optimisations
1596  --enable-developer      set defaults to be appropriate for a D-Bus developer
1597                          instead of a distribution/end-user
1598  --enable-ansi           enable -ansi -pedantic gcc flags
1599  --enable-verbose-mode   support verbose debug mode
1600  --enable-asserts        include assertion checks
1601  --enable-checks         include sanity checks on public API
1602  --enable-xml-docs       build XML documentation (requires xmlto)
1603  --enable-doxygen-docs   build DOXYGEN documentation (requires Doxygen)
1604  --enable-abstract-sockets 
1605                          use abstract socket namespace (linux only)
1606  --enable-selinux        build with SELinux support
1607  --enable-libaudit       build audit daemon support for SELinux
1608  --enable-dnotify        build with dnotify support (linux only)
1609  --enable-inotify        build with inotify support (linux only)
1610  --enable-kqueue         build with kqueue support
1611  --enable-console-owner-file 
1612                          enable console owner file
1613  --enable-userdb-cache   build with userdb-cache support
1614  --enable-launchd        build with launchd auto-launch support
1615  --enable-systemd        build with systemd at_console support
1616  --enable-embedded-tests enable unit test code in the library and binaries
1617  --enable-modular-tests  enable modular regression tests (requires GLib)
1618  --enable-tests          enable/disable all tests, overriding
1619                          embedded-tests/modular-tests
1620  --enable-installed-tests 
1621                          enable unit test code in the library and binaries
1622  --enable-epoll          use epoll(4) on Linux
1623  --enable-x11-autolaunch build with X11 auto-launch support
1624  --disable-Werror        compile without -Werror (normally enabled in
1625                          development builds)
1626  --enable-stats          enable bus daemon usage statistics
1627
1628Optional Packages:
1629  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1630  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1631  --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1632                          both@:>@
1633  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1634  --with-sysroot=DIR Search for dependent libraries within DIR
1635                        (or the compiler's sysroot if not specified).
1636  --with-xml=libxml/expat XML library to use (libxml may be named libxml2 on
1637                          some systems)
1638  --with-init-scripts=redhat 
1639                          Style of init scripts to install
1640  --with-session-socket-dir=dirname 
1641                          Where to put sockets for the per-login-session
1642                          message bus
1643  --with-test-socket-dir=dirname 
1644                          Where to put sockets for make check
1645  --with-system-pid-file=pidfile 
1646                          PID file for systemwide daemon
1647  --with-system-socket=filename 
1648                          UNIX domain socket for systemwide daemon
1649  --with-console-auth-dir=dirname 
1650                          directory to check for console ownerhip
1651  --with-console-owner-file=filename 
1652                          file whose owner determines current console owner
1653  --with-launchd-agent-dir=dirname 
1654                          directory to put the launchd agent (default:
1655                          /Library/LaunchAgents)
1656  --with-dbus-user=<user> User for running the DBUS daemon (messagebus)
1657  --with-dbus-daemondir=dirname 
1658                          Directory for installing the DBUS daemon
1659  --with-dbus-session-bus-default-address=nonce-tcp:/autolaunch:/tcp:host:port 
1660                          Transport Type to be used (default: nonce-tcp:)
1661  --without-64-bit        If you have to use this option, please report it as
1662                          a bug
1663  --with-valgrind         Add instrumentation to help valgrind to understand
1664                          our allocator
1665  --with-x                use the X Window System
1666  --with-systemdsystemunitdir=DIR 
1667                          Directory for systemd service files
1668  --with-dbus-test-dir=dirname 
1669                          path where the tests tools are available
1670
1671Some influential environment variables:
1672  CC          C compiler command
1673  CFLAGS      C compiler flags
1674  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1675              nonstandard directory <lib dir>
1676  LIBS        libraries to pass to the linker, e.g. -l<library>
1677  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1678              you have headers in a nonstandard directory <include dir>
1679  CXX         C++ compiler command
1680  CXXFLAGS    C++ compiler flags
1681  CPP         C preprocessor
1682  CXXCPP      C++ preprocessor
1683  PKG_CONFIG  path to pkg-config utility
1684  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1685  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1686  DBUS_GLIB_CFLAGS 
1687              C compiler flags for DBUS_GLIB, overriding pkg-config
1688  DBUS_GLIB_LIBS 
1689              linker flags for DBUS_GLIB, overriding pkg-config
1690  LIBXML_CFLAGS 
1691              C compiler flags for LIBXML, overriding pkg-config
1692  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1693  SYSTEMD_CFLAGS 
1694              C compiler flags for SYSTEMD, overriding pkg-config
1695  SYSTEMD_LIBS 
1696              linker flags for SYSTEMD, overriding pkg-config
1697  VALGRIND_CFLAGS 
1698              C compiler flags for VALGRIND, overriding pkg-config
1699  VALGRIND_LIBS 
1700              linker flags for VALGRIND, overriding pkg-config
1701  XMKMF       Path to xmkmf, Makefile generator for X Window System
1702  MAN2HTML    Path to man2html (optional)
1703
1704Use these variables to override the choices made by `configure' or to help
1705it to find libraries and programs with nonstandard names/locations.
1706
1707Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=dbus>.
1708_ACEOF
1709ac_status=$?
1710fi
1711
1712if test "$ac_init_help" = "recursive"; then
1713  # If there are subdirs, report their specific --help.
1714  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1715    test -d "$ac_dir" ||
1716      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1717      continue
1718    ac_builddir=.
1719
1720case "$ac_dir" in
1721.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1722*)
1723  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1724  # A ".." for each directory in $ac_dir_suffix.
1725  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1726  case $ac_top_builddir_sub in
1727  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1728  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1729  esac ;;
1730esac
1731ac_abs_top_builddir=$ac_pwd
1732ac_abs_builddir=$ac_pwd$ac_dir_suffix
1733# for backward compatibility:
1734ac_top_builddir=$ac_top_build_prefix
1735
1736case $srcdir in
1737  .)  # We are building in place.
1738    ac_srcdir=.
1739    ac_top_srcdir=$ac_top_builddir_sub
1740    ac_abs_top_srcdir=$ac_pwd ;;
1741  [\\/]* | ?:[\\/]* )  # Absolute name.
1742    ac_srcdir=$srcdir$ac_dir_suffix;
1743    ac_top_srcdir=$srcdir
1744    ac_abs_top_srcdir=$srcdir ;;
1745  *) # Relative name.
1746    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1747    ac_top_srcdir=$ac_top_build_prefix$srcdir
1748    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1749esac
1750ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1751
1752    cd "$ac_dir" || { ac_status=$?; continue; }
1753    # Check for guested configure.
1754    if test -f "$ac_srcdir/configure.gnu"; then
1755      echo &&
1756      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1757    elif test -f "$ac_srcdir/configure"; then
1758      echo &&
1759      $SHELL "$ac_srcdir/configure" --help=recursive
1760    else
1761      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1762    fi || ac_status=$?
1763    cd "$ac_pwd" || { ac_status=$?; break; }
1764  done
1765fi
1766
1767test -n "$ac_init_help" && exit $ac_status
1768if $ac_init_version; then
1769  cat <<\_ACEOF
1770dbus configure 1.6.8
1771generated by GNU Autoconf 2.65
1772
1773Copyright (C) 2009 Free Software Foundation, Inc.
1774This configure script is free software; the Free Software Foundation
1775gives unlimited permission to copy, distribute and modify it.
1776_ACEOF
1777  exit
1778fi
1779
1780## ------------------------ ##
1781## Autoconf initialization. ##
1782## ------------------------ ##
1783
1784@%:@ ac_fn_c_try_compile LINENO
1785@%:@ --------------------------
1786@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1787ac_fn_c_try_compile ()
1788{
1789  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790  rm -f conftest.$ac_objext
1791  if { { ac_try="$ac_compile"
1792case "(($ac_try" in
1793  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794  *) ac_try_echo=$ac_try;;
1795esac
1796eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797$as_echo "$ac_try_echo"; } >&5
1798  (eval "$ac_compile") 2>conftest.err
1799  ac_status=$?
1800  if test -s conftest.err; then
1801    grep -v '^ *+' conftest.err >conftest.er1
1802    cat conftest.er1 >&5
1803    mv -f conftest.er1 conftest.err
1804  fi
1805  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806  test $ac_status = 0; } && {
1807	 test -z "$ac_c_werror_flag" ||
1808	 test ! -s conftest.err
1809       } && test -s conftest.$ac_objext; then :
1810  ac_retval=0
1811else
1812  $as_echo "$as_me: failed program was:" >&5
1813sed 's/^/| /' conftest.$ac_ext >&5
1814
1815	ac_retval=1
1816fi
1817  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818  as_fn_set_status $ac_retval
1819
1820} @%:@ ac_fn_c_try_compile
1821
1822@%:@ ac_fn_cxx_try_compile LINENO
1823@%:@ ----------------------------
1824@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1825ac_fn_cxx_try_compile ()
1826{
1827  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828  rm -f conftest.$ac_objext
1829  if { { ac_try="$ac_compile"
1830case "(($ac_try" in
1831  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832  *) ac_try_echo=$ac_try;;
1833esac
1834eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835$as_echo "$ac_try_echo"; } >&5
1836  (eval "$ac_compile") 2>conftest.err
1837  ac_status=$?
1838  if test -s conftest.err; then
1839    grep -v '^ *+' conftest.err >conftest.er1
1840    cat conftest.er1 >&5
1841    mv -f conftest.er1 conftest.err
1842  fi
1843  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844  test $ac_status = 0; } && {
1845	 test -z "$ac_cxx_werror_flag" ||
1846	 test ! -s conftest.err
1847       } && test -s conftest.$ac_objext; then :
1848  ac_retval=0
1849else
1850  $as_echo "$as_me: failed program was:" >&5
1851sed 's/^/| /' conftest.$ac_ext >&5
1852
1853	ac_retval=1
1854fi
1855  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856  as_fn_set_status $ac_retval
1857
1858} @%:@ ac_fn_cxx_try_compile
1859
1860@%:@ ac_fn_c_try_cpp LINENO
1861@%:@ ----------------------
1862@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1863ac_fn_c_try_cpp ()
1864{
1865  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866  if { { ac_try="$ac_cpp conftest.$ac_ext"
1867case "(($ac_try" in
1868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869  *) ac_try_echo=$ac_try;;
1870esac
1871eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872$as_echo "$ac_try_echo"; } >&5
1873  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1874  ac_status=$?
1875  if test -s conftest.err; then
1876    grep -v '^ *+' conftest.err >conftest.er1
1877    cat conftest.er1 >&5
1878    mv -f conftest.er1 conftest.err
1879  fi
1880  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881  test $ac_status = 0; } >/dev/null && {
1882	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1883	 test ! -s conftest.err
1884       }; then :
1885  ac_retval=0
1886else
1887  $as_echo "$as_me: failed program was:" >&5
1888sed 's/^/| /' conftest.$ac_ext >&5
1889
1890    ac_retval=1
1891fi
1892  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893  as_fn_set_status $ac_retval
1894
1895} @%:@ ac_fn_c_try_cpp
1896
1897@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1898@%:@ -------------------------------------------------------
1899@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1900@%:@ the include files in INCLUDES and setting the cache variable VAR
1901@%:@ accordingly.
1902ac_fn_c_check_header_mongrel ()
1903{
1904  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1906  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1907$as_echo_n "checking for $2... " >&6; }
1908if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1909  $as_echo_n "(cached) " >&6
1910fi
1911eval ac_res=\$$3
1912	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913$as_echo "$ac_res" >&6; }
1914else
1915  # Is the header compilable?
1916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1917$as_echo_n "checking $2 usability... " >&6; }
1918cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919/* end confdefs.h.  */
1920$4
1921@%:@include <$2>
1922_ACEOF
1923if ac_fn_c_try_compile "$LINENO"; then :
1924  ac_header_compiler=yes
1925else
1926  ac_header_compiler=no
1927fi
1928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1930$as_echo "$ac_header_compiler" >&6; }
1931
1932# Is the header present?
1933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1934$as_echo_n "checking $2 presence... " >&6; }
1935cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936/* end confdefs.h.  */
1937@%:@include <$2>
1938_ACEOF
1939if ac_fn_c_try_cpp "$LINENO"; then :
1940  ac_header_preproc=yes
1941else
1942  ac_header_preproc=no
1943fi
1944rm -f conftest.err conftest.$ac_ext
1945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1946$as_echo "$ac_header_preproc" >&6; }
1947
1948# So?  What about this header?
1949case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1950  yes:no: )
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1952$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1954$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1955    ;;
1956  no:yes:* )
1957    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1958$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1959    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1960$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1961    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1962$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1963    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1964$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1965    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1966$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1967( cat <<\_ASBOX
1968## ---------------------------------------------------------------------- ##
1969## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus ##
1970## ---------------------------------------------------------------------- ##
1971_ASBOX
1972     ) | sed "s/^/$as_me: WARNING:     /" >&2
1973    ;;
1974esac
1975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976$as_echo_n "checking for $2... " >&6; }
1977if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1978  $as_echo_n "(cached) " >&6
1979else
1980  eval "$3=\$ac_header_compiler"
1981fi
1982eval ac_res=\$$3
1983	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984$as_echo "$ac_res" >&6; }
1985fi
1986  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987
1988} @%:@ ac_fn_c_check_header_mongrel
1989
1990@%:@ ac_fn_c_try_run LINENO
1991@%:@ ----------------------
1992@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1993@%:@ that executables *can* be run.
1994ac_fn_c_try_run ()
1995{
1996  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997  if { { ac_try="$ac_link"
1998case "(($ac_try" in
1999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2000  *) ac_try_echo=$ac_try;;
2001esac
2002eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003$as_echo "$ac_try_echo"; } >&5
2004  (eval "$ac_link") 2>&5
2005  ac_status=$?
2006  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2008  { { case "(($ac_try" in
2009  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2010  *) ac_try_echo=$ac_try;;
2011esac
2012eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013$as_echo "$ac_try_echo"; } >&5
2014  (eval "$ac_try") 2>&5
2015  ac_status=$?
2016  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2017  test $ac_status = 0; }; }; then :
2018  ac_retval=0
2019else
2020  $as_echo "$as_me: program exited with status $ac_status" >&5
2021       $as_echo "$as_me: failed program was:" >&5
2022sed 's/^/| /' conftest.$ac_ext >&5
2023
2024       ac_retval=$ac_status
2025fi
2026  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2028  as_fn_set_status $ac_retval
2029
2030} @%:@ ac_fn_c_try_run
2031
2032@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2033@%:@ -------------------------------------------------------
2034@%:@ Tests whether HEADER exists and can be compiled using the include files in
2035@%:@ INCLUDES, setting the cache variable VAR accordingly.
2036ac_fn_c_check_header_compile ()
2037{
2038  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040$as_echo_n "checking for $2... " >&6; }
2041if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2042  $as_echo_n "(cached) " >&6
2043else
2044  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045/* end confdefs.h.  */
2046$4
2047@%:@include <$2>
2048_ACEOF
2049if ac_fn_c_try_compile "$LINENO"; then :
2050  eval "$3=yes"
2051else
2052  eval "$3=no"
2053fi
2054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055fi
2056eval ac_res=\$$3
2057	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058$as_echo "$ac_res" >&6; }
2059  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060
2061} @%:@ ac_fn_c_check_header_compile
2062
2063@%:@ ac_fn_c_try_link LINENO
2064@%:@ -----------------------
2065@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2066ac_fn_c_try_link ()
2067{
2068  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2069  rm -f conftest.$ac_objext conftest$ac_exeext
2070  if { { ac_try="$ac_link"
2071case "(($ac_try" in
2072  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2073  *) ac_try_echo=$ac_try;;
2074esac
2075eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2076$as_echo "$ac_try_echo"; } >&5
2077  (eval "$ac_link") 2>conftest.err
2078  ac_status=$?
2079  if test -s conftest.err; then
2080    grep -v '^ *+' conftest.err >conftest.er1
2081    cat conftest.er1 >&5
2082    mv -f conftest.er1 conftest.err
2083  fi
2084  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2085  test $ac_status = 0; } && {
2086	 test -z "$ac_c_werror_flag" ||
2087	 test ! -s conftest.err
2088       } && test -s conftest$ac_exeext && {
2089	 test "$cross_compiling" = yes ||
2090	 $as_test_x conftest$ac_exeext
2091       }; then :
2092  ac_retval=0
2093else
2094  $as_echo "$as_me: failed program was:" >&5
2095sed 's/^/| /' conftest.$ac_ext >&5
2096
2097	ac_retval=1
2098fi
2099  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2100  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2101  # interfere with the next link command; also delete a directory that is
2102  # left behind by Apple's compiler.  We do this before executing the actions.
2103  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2104  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2105  as_fn_set_status $ac_retval
2106
2107} @%:@ ac_fn_c_try_link
2108
2109@%:@ ac_fn_c_check_func LINENO FUNC VAR
2110@%:@ ----------------------------------
2111@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2112ac_fn_c_check_func ()
2113{
2114  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116$as_echo_n "checking for $2... " >&6; }
2117if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118  $as_echo_n "(cached) " >&6
2119else
2120  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121/* end confdefs.h.  */
2122/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2123   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2124#define $2 innocuous_$2
2125
2126/* System header to define __stub macros and hopefully few prototypes,
2127    which can conflict with char $2 (); below.
2128    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2129    <limits.h> exists even on freestanding compilers.  */
2130
2131#ifdef __STDC__
2132# include <limits.h>
2133#else
2134# include <assert.h>
2135#endif
2136
2137#undef $2
2138
2139/* Override any GCC internal prototype to avoid an error.
2140   Use char because int might match the return type of a GCC
2141   builtin and then its argument prototype would still apply.  */
2142#ifdef __cplusplus
2143extern "C"
2144#endif
2145char $2 ();
2146/* The GNU C library defines this for functions which it implements
2147    to always fail with ENOSYS.  Some functions are actually named
2148    something starting with __ and the normal name is an alias.  */
2149#if defined __stub_$2 || defined __stub___$2
2150choke me
2151#endif
2152
2153int
2154main ()
2155{
2156return $2 ();
2157  ;
2158  return 0;
2159}
2160_ACEOF
2161if ac_fn_c_try_link "$LINENO"; then :
2162  eval "$3=yes"
2163else
2164  eval "$3=no"
2165fi
2166rm -f core conftest.err conftest.$ac_objext \
2167    conftest$ac_exeext conftest.$ac_ext
2168fi
2169eval ac_res=\$$3
2170	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2171$as_echo "$ac_res" >&6; }
2172  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2173
2174} @%:@ ac_fn_c_check_func
2175
2176@%:@ ac_fn_cxx_try_cpp LINENO
2177@%:@ ------------------------
2178@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2179ac_fn_cxx_try_cpp ()
2180{
2181  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2182  if { { ac_try="$ac_cpp conftest.$ac_ext"
2183case "(($ac_try" in
2184  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2185  *) ac_try_echo=$ac_try;;
2186esac
2187eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2188$as_echo "$ac_try_echo"; } >&5
2189  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2190  ac_status=$?
2191  if test -s conftest.err; then
2192    grep -v '^ *+' conftest.err >conftest.er1
2193    cat conftest.er1 >&5
2194    mv -f conftest.er1 conftest.err
2195  fi
2196  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2197  test $ac_status = 0; } >/dev/null && {
2198	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2199	 test ! -s conftest.err
2200       }; then :
2201  ac_retval=0
2202else
2203  $as_echo "$as_me: failed program was:" >&5
2204sed 's/^/| /' conftest.$ac_ext >&5
2205
2206    ac_retval=1
2207fi
2208  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2209  as_fn_set_status $ac_retval
2210
2211} @%:@ ac_fn_cxx_try_cpp
2212
2213@%:@ ac_fn_cxx_try_link LINENO
2214@%:@ -------------------------
2215@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2216ac_fn_cxx_try_link ()
2217{
2218  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219  rm -f conftest.$ac_objext conftest$ac_exeext
2220  if { { ac_try="$ac_link"
2221case "(($ac_try" in
2222  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2223  *) ac_try_echo=$ac_try;;
2224esac
2225eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2226$as_echo "$ac_try_echo"; } >&5
2227  (eval "$ac_link") 2>conftest.err
2228  ac_status=$?
2229  if test -s conftest.err; then
2230    grep -v '^ *+' conftest.err >conftest.er1
2231    cat conftest.er1 >&5
2232    mv -f conftest.er1 conftest.err
2233  fi
2234  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2235  test $ac_status = 0; } && {
2236	 test -z "$ac_cxx_werror_flag" ||
2237	 test ! -s conftest.err
2238       } && test -s conftest$ac_exeext && {
2239	 test "$cross_compiling" = yes ||
2240	 $as_test_x conftest$ac_exeext
2241       }; then :
2242  ac_retval=0
2243else
2244  $as_echo "$as_me: failed program was:" >&5
2245sed 's/^/| /' conftest.$ac_ext >&5
2246
2247	ac_retval=1
2248fi
2249  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2250  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2251  # interfere with the next link command; also delete a directory that is
2252  # left behind by Apple's compiler.  We do this before executing the actions.
2253  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2254  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255  as_fn_set_status $ac_retval
2256
2257} @%:@ ac_fn_cxx_try_link
2258
2259@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2260@%:@ --------------------------------------------
2261@%:@ Tries to find the compile-time value of EXPR in a program that includes
2262@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
2263@%:@ computed
2264ac_fn_c_compute_int ()
2265{
2266  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2267  if test "$cross_compiling" = yes; then
2268    # Depending upon the size, compute the lo and hi bounds.
2269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270/* end confdefs.h.  */
2271$4
2272int
2273main ()
2274{
2275static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
2276test_array @<:@0@:>@ = 0
2277
2278  ;
2279  return 0;
2280}
2281_ACEOF
2282if ac_fn_c_try_compile "$LINENO"; then :
2283  ac_lo=0 ac_mid=0
2284  while :; do
2285    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286/* end confdefs.h.  */
2287$4
2288int
2289main ()
2290{
2291static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2292test_array @<:@0@:>@ = 0
2293
2294  ;
2295  return 0;
2296}
2297_ACEOF
2298if ac_fn_c_try_compile "$LINENO"; then :
2299  ac_hi=$ac_mid; break
2300else
2301  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2302			if test $ac_lo -le $ac_mid; then
2303			  ac_lo= ac_hi=
2304			  break
2305			fi
2306			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2307fi
2308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2309  done
2310else
2311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312/* end confdefs.h.  */
2313$4
2314int
2315main ()
2316{
2317static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
2318test_array @<:@0@:>@ = 0
2319
2320  ;
2321  return 0;
2322}
2323_ACEOF
2324if ac_fn_c_try_compile "$LINENO"; then :
2325  ac_hi=-1 ac_mid=-1
2326  while :; do
2327    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2328/* end confdefs.h.  */
2329$4
2330int
2331main ()
2332{
2333static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
2334test_array @<:@0@:>@ = 0
2335
2336  ;
2337  return 0;
2338}
2339_ACEOF
2340if ac_fn_c_try_compile "$LINENO"; then :
2341  ac_lo=$ac_mid; break
2342else
2343  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2344			if test $ac_mid -le $ac_hi; then
2345			  ac_lo= ac_hi=
2346			  break
2347			fi
2348			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2349fi
2350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2351  done
2352else
2353  ac_lo= ac_hi=
2354fi
2355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356fi
2357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2358# Binary search between lo and hi bounds.
2359while test "x$ac_lo" != "x$ac_hi"; do
2360  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362/* end confdefs.h.  */
2363$4
2364int
2365main ()
2366{
2367static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2368test_array @<:@0@:>@ = 0
2369
2370  ;
2371  return 0;
2372}
2373_ACEOF
2374if ac_fn_c_try_compile "$LINENO"; then :
2375  ac_hi=$ac_mid
2376else
2377  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2378fi
2379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380done
2381case $ac_lo in @%:@((
2382?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2383'') ac_retval=1 ;;
2384esac
2385  else
2386    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387/* end confdefs.h.  */
2388$4
2389static long int longval () { return $2; }
2390static unsigned long int ulongval () { return $2; }
2391@%:@include <stdio.h>
2392@%:@include <stdlib.h>
2393int
2394main ()
2395{
2396
2397  FILE *f = fopen ("conftest.val", "w");
2398  if (! f)
2399    return 1;
2400  if (($2) < 0)
2401    {
2402      long int i = longval ();
2403      if (i != ($2))
2404	return 1;
2405      fprintf (f, "%ld", i);
2406    }
2407  else
2408    {
2409      unsigned long int i = ulongval ();
2410      if (i != ($2))
2411	return 1;
2412      fprintf (f, "%lu", i);
2413    }
2414  /* Do not output a trailing newline, as this causes \r\n confusion
2415     on some platforms.  */
2416  return ferror (f) || fclose (f) != 0;
2417
2418  ;
2419  return 0;
2420}
2421_ACEOF
2422if ac_fn_c_try_run "$LINENO"; then :
2423  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2424else
2425  ac_retval=1
2426fi
2427rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2428  conftest.$ac_objext conftest.beam conftest.$ac_ext
2429rm -f conftest.val
2430
2431  fi
2432  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2433  as_fn_set_status $ac_retval
2434
2435} @%:@ ac_fn_c_compute_int
2436
2437@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR
2438@%:@ ------------------------------------
2439@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2440ac_fn_c_check_decl ()
2441{
2442  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2444$as_echo_n "checking whether $2 is declared... " >&6; }
2445if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2446  $as_echo_n "(cached) " >&6
2447else
2448  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449/* end confdefs.h.  */
2450$4
2451int
2452main ()
2453{
2454@%:@ifndef $2
2455  (void) $2;
2456@%:@endif
2457
2458  ;
2459  return 0;
2460}
2461_ACEOF
2462if ac_fn_c_try_compile "$LINENO"; then :
2463  eval "$3=yes"
2464else
2465  eval "$3=no"
2466fi
2467rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468fi
2469eval ac_res=\$$3
2470	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2471$as_echo "$ac_res" >&6; }
2472  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2473
2474} @%:@ ac_fn_c_check_decl
2475cat >config.log <<_ACEOF
2476This file contains any messages produced by compilers while
2477running configure, to aid debugging if configure makes a mistake.
2478
2479It was created by dbus $as_me 1.6.8, which was
2480generated by GNU Autoconf 2.65.  Invocation command line was
2481
2482  $ $0 $@
2483
2484_ACEOF
2485exec 5>>config.log
2486{
2487cat <<_ASUNAME
2488## --------- ##
2489## Platform. ##
2490## --------- ##
2491
2492hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2493uname -m = `(uname -m) 2>/dev/null || echo unknown`
2494uname -r = `(uname -r) 2>/dev/null || echo unknown`
2495uname -s = `(uname -s) 2>/dev/null || echo unknown`
2496uname -v = `(uname -v) 2>/dev/null || echo unknown`
2497
2498/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2499/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2500
2501/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2502/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2503/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2504/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2505/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2506/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2507/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2508
2509_ASUNAME
2510
2511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512for as_dir in $PATH
2513do
2514  IFS=$as_save_IFS
2515  test -z "$as_dir" && as_dir=.
2516    $as_echo "PATH: $as_dir"
2517  done
2518IFS=$as_save_IFS
2519
2520} >&5
2521
2522cat >&5 <<_ACEOF
2523
2524
2525## ----------- ##
2526## Core tests. ##
2527## ----------- ##
2528
2529_ACEOF
2530
2531
2532# Keep a trace of the command line.
2533# Strip out --no-create and --no-recursion so they do not pile up.
2534# Strip out --silent because we don't want to record it for future runs.
2535# Also quote any args containing shell meta-characters.
2536# Make two passes to allow for proper duplicate-argument suppression.
2537ac_configure_args=
2538ac_configure_args0=
2539ac_configure_args1=
2540ac_must_keep_next=false
2541for ac_pass in 1 2
2542do
2543  for ac_arg
2544  do
2545    case $ac_arg in
2546    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2547    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2548    | -silent | --silent | --silen | --sile | --sil)
2549      continue ;;
2550    *\'*)
2551      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2552    esac
2553    case $ac_pass in
2554    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2555    2)
2556      as_fn_append ac_configure_args1 " '$ac_arg'"
2557      if test $ac_must_keep_next = true; then
2558	ac_must_keep_next=false # Got value, back to normal.
2559      else
2560	case $ac_arg in
2561	  *=* | --config-cache | -C | -disable-* | --disable-* \
2562	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2563	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2564	  | -with-* | --with-* | -without-* | --without-* | --x)
2565	    case "$ac_configure_args0 " in
2566	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2567	    esac
2568	    ;;
2569	  -* ) ac_must_keep_next=true ;;
2570	esac
2571      fi
2572      as_fn_append ac_configure_args " '$ac_arg'"
2573      ;;
2574    esac
2575  done
2576done
2577{ ac_configure_args0=; unset ac_configure_args0;}
2578{ ac_configure_args1=; unset ac_configure_args1;}
2579
2580# When interrupted or exit'd, cleanup temporary files, and complete
2581# config.log.  We remove comments because anyway the quotes in there
2582# would cause problems or look ugly.
2583# WARNING: Use '\'' to represent an apostrophe within the trap.
2584# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2585trap 'exit_status=$?
2586  # Save into config.log some information that might help in debugging.
2587  {
2588    echo
2589
2590    cat <<\_ASBOX
2591## ---------------- ##
2592## Cache variables. ##
2593## ---------------- ##
2594_ASBOX
2595    echo
2596    # The following way of writing the cache mishandles newlines in values,
2597(
2598  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2599    eval ac_val=\$$ac_var
2600    case $ac_val in #(
2601    *${as_nl}*)
2602      case $ac_var in #(
2603      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2604$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2605      esac
2606      case $ac_var in #(
2607      _ | IFS | as_nl) ;; #(
2608      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2609      *) { eval $ac_var=; unset $ac_var;} ;;
2610      esac ;;
2611    esac
2612  done
2613  (set) 2>&1 |
2614    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2615    *${as_nl}ac_space=\ *)
2616      sed -n \
2617	"s/'\''/'\''\\\\'\'''\''/g;
2618	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2619      ;; #(
2620    *)
2621      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2622      ;;
2623    esac |
2624    sort
2625)
2626    echo
2627
2628    cat <<\_ASBOX
2629## ----------------- ##
2630## Output variables. ##
2631## ----------------- ##
2632_ASBOX
2633    echo
2634    for ac_var in $ac_subst_vars
2635    do
2636      eval ac_val=\$$ac_var
2637      case $ac_val in
2638      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2639      esac
2640      $as_echo "$ac_var='\''$ac_val'\''"
2641    done | sort
2642    echo
2643
2644    if test -n "$ac_subst_files"; then
2645      cat <<\_ASBOX
2646## ------------------- ##
2647## File substitutions. ##
2648## ------------------- ##
2649_ASBOX
2650      echo
2651      for ac_var in $ac_subst_files
2652      do
2653	eval ac_val=\$$ac_var
2654	case $ac_val in
2655	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2656	esac
2657	$as_echo "$ac_var='\''$ac_val'\''"
2658      done | sort
2659      echo
2660    fi
2661
2662    if test -s confdefs.h; then
2663      cat <<\_ASBOX
2664## ----------- ##
2665## confdefs.h. ##
2666## ----------- ##
2667_ASBOX
2668      echo
2669      cat confdefs.h
2670      echo
2671    fi
2672    test "$ac_signal" != 0 &&
2673      $as_echo "$as_me: caught signal $ac_signal"
2674    $as_echo "$as_me: exit $exit_status"
2675  } >&5
2676  rm -f core *.core core.conftest.* &&
2677    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2678    exit $exit_status
2679' 0
2680for ac_signal in 1 2 13 15; do
2681  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2682done
2683ac_signal=0
2684
2685# confdefs.h avoids OS command line length limits that DEFS can exceed.
2686rm -f -r conftest* confdefs.h
2687
2688$as_echo "/* confdefs.h */" > confdefs.h
2689
2690# Predefined preprocessor variables.
2691
2692cat >>confdefs.h <<_ACEOF
2693@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2694_ACEOF
2695
2696cat >>confdefs.h <<_ACEOF
2697@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2698_ACEOF
2699
2700cat >>confdefs.h <<_ACEOF
2701@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2702_ACEOF
2703
2704cat >>confdefs.h <<_ACEOF
2705@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2706_ACEOF
2707
2708cat >>confdefs.h <<_ACEOF
2709@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2710_ACEOF
2711
2712cat >>confdefs.h <<_ACEOF
2713@%:@define PACKAGE_URL "$PACKAGE_URL"
2714_ACEOF
2715
2716
2717# Let the site file select an alternate cache file if it wants to.
2718# Prefer an explicitly selected file to automatically selected ones.
2719ac_site_file1=NONE
2720ac_site_file2=NONE
2721if test -n "$CONFIG_SITE"; then
2722  ac_site_file1=$CONFIG_SITE
2723elif test "x$prefix" != xNONE; then
2724  ac_site_file1=$prefix/share/config.site
2725  ac_site_file2=$prefix/etc/config.site
2726else
2727  ac_site_file1=$ac_default_prefix/share/config.site
2728  ac_site_file2=$ac_default_prefix/etc/config.site
2729fi
2730for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2731do
2732  test "x$ac_site_file" = xNONE && continue
2733  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2734    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2735$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2736    sed 's/^/| /' "$ac_site_file" >&5
2737    . "$ac_site_file"
2738  fi
2739done
2740
2741if test -r "$cache_file"; then
2742  # Some versions of bash will fail to source /dev/null (special files
2743  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2744  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2745    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2746$as_echo "$as_me: loading cache $cache_file" >&6;}
2747    case $cache_file in
2748      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2749      *)                      . "./$cache_file";;
2750    esac
2751  fi
2752else
2753  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2754$as_echo "$as_me: creating cache $cache_file" >&6;}
2755  >$cache_file
2756fi
2757
2758# Check that the precious variables saved in the cache have kept the same
2759# value.
2760ac_cache_corrupted=false
2761for ac_var in $ac_precious_vars; do
2762  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2763  eval ac_new_set=\$ac_env_${ac_var}_set
2764  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2765  eval ac_new_val=\$ac_env_${ac_var}_value
2766  case $ac_old_set,$ac_new_set in
2767    set,)
2768      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2769$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2770      ac_cache_corrupted=: ;;
2771    ,set)
2772      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2773$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2774      ac_cache_corrupted=: ;;
2775    ,);;
2776    *)
2777      if test "x$ac_old_val" != "x$ac_new_val"; then
2778	# differences in whitespace do not lead to failure.
2779	ac_old_val_w=`echo x $ac_old_val`
2780	ac_new_val_w=`echo x $ac_new_val`
2781	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2782	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2783$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2784	  ac_cache_corrupted=:
2785	else
2786	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2787$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2788	  eval $ac_var=\$ac_old_val
2789	fi
2790	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2791$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2792	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2793$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2794      fi;;
2795  esac
2796  # Pass precious variables to config.status.
2797  if test "$ac_new_set" = set; then
2798    case $ac_new_val in
2799    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2800    *) ac_arg=$ac_var=$ac_new_val ;;
2801    esac
2802    case " $ac_configure_args " in
2803      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2804      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2805    esac
2806  fi
2807done
2808if $ac_cache_corrupted; then
2809  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2811  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2812$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2813  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2814fi
2815## -------------------- ##
2816## Main body of script. ##
2817## -------------------- ##
2818
2819ac_ext=c
2820ac_cpp='$CPP $CPPFLAGS'
2821ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2822ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2823ac_compiler_gnu=$ac_cv_c_compiler_gnu
2824
2825
2826
2827ac_aux_dir=
2828for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2829  for ac_t in install-sh install.sh shtool; do
2830    if test -f "$ac_dir/$ac_t"; then
2831      ac_aux_dir=$ac_dir
2832      ac_install_sh="$ac_aux_dir/$ac_t -c"
2833      break 2
2834    fi
2835  done
2836done
2837if test -z "$ac_aux_dir"; then
2838  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2839fi
2840
2841# These three variables are undocumented and unsupported,
2842# and are intended to be withdrawn in a future Autoconf release.
2843# They can cause serious problems if a builder's source tree is in a directory
2844# whose full name contains unusual characters.
2845ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2846ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2847ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2848
2849
2850# Make sure we can run config.sub.
2851$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2852  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2853
2854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2855$as_echo_n "checking build system type... " >&6; }
2856if test "${ac_cv_build+set}" = set; then :
2857  $as_echo_n "(cached) " >&6
2858else
2859  ac_build_alias=$build_alias
2860test "x$ac_build_alias" = x &&
2861  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2862test "x$ac_build_alias" = x &&
2863  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2864ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2865  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2866
2867fi
2868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2869$as_echo "$ac_cv_build" >&6; }
2870case $ac_cv_build in
2871*-*-*) ;;
2872*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2873esac
2874build=$ac_cv_build
2875ac_save_IFS=$IFS; IFS='-'
2876set x $ac_cv_build
2877shift
2878build_cpu=$1
2879build_vendor=$2
2880shift; shift
2881# Remember, the first character of IFS is used to create $*,
2882# except with old shells:
2883build_os=$*
2884IFS=$ac_save_IFS
2885case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2886
2887
2888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2889$as_echo_n "checking host system type... " >&6; }
2890if test "${ac_cv_host+set}" = set; then :
2891  $as_echo_n "(cached) " >&6
2892else
2893  if test "x$host_alias" = x; then
2894  ac_cv_host=$ac_cv_build
2895else
2896  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2897    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2898fi
2899
2900fi
2901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2902$as_echo "$ac_cv_host" >&6; }
2903case $ac_cv_host in
2904*-*-*) ;;
2905*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2906esac
2907host=$ac_cv_host
2908ac_save_IFS=$IFS; IFS='-'
2909set x $ac_cv_host
2910shift
2911host_cpu=$1
2912host_vendor=$2
2913shift; shift
2914# Remember, the first character of IFS is used to create $*,
2915# except with old shells:
2916host_os=$*
2917IFS=$ac_save_IFS
2918case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2919
2920
2921
2922ac_config_headers="$ac_config_headers config.h"
2923
2924
2925
2926am__api_version='1.11'
2927
2928# Find a good install program.  We prefer a C program (faster),
2929# so one script is as good as another.  But avoid the broken or
2930# incompatible versions:
2931# SysV /etc/install, /usr/sbin/install
2932# SunOS /usr/etc/install
2933# IRIX /sbin/install
2934# AIX /bin/install
2935# AmigaOS /C/install, which installs bootblocks on floppy discs
2936# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2937# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2938# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2939# OS/2's system install, which has a completely different semantic
2940# ./install, which can be erroneously created by make from ./install.sh.
2941# Reject install programs that cannot install multiple files.
2942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2943$as_echo_n "checking for a BSD-compatible install... " >&6; }
2944if test -z "$INSTALL"; then
2945if test "${ac_cv_path_install+set}" = set; then :
2946  $as_echo_n "(cached) " >&6
2947else
2948  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2949for as_dir in $PATH
2950do
2951  IFS=$as_save_IFS
2952  test -z "$as_dir" && as_dir=.
2953    # Account for people who put trailing slashes in PATH elements.
2954case $as_dir/ in @%:@((
2955  ./ | .// | /[cC]/* | \
2956  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2957  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2958  /usr/ucb/* ) ;;
2959  *)
2960    # OSF1 and SCO ODT 3.0 have their own names for install.
2961    # Don't use installbsd from OSF since it installs stuff as root
2962    # by default.
2963    for ac_prog in ginstall scoinst install; do
2964      for ac_exec_ext in '' $ac_executable_extensions; do
2965	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2966	  if test $ac_prog = install &&
2967	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2968	    # AIX install.  It has an incompatible calling convention.
2969	    :
2970	  elif test $ac_prog = install &&
2971	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2972	    # program-specific install script used by HP pwplus--don't use.
2973	    :
2974	  else
2975	    rm -rf conftest.one conftest.two conftest.dir
2976	    echo one > conftest.one
2977	    echo two > conftest.two
2978	    mkdir conftest.dir
2979	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2980	      test -s conftest.one && test -s conftest.two &&
2981	      test -s conftest.dir/conftest.one &&
2982	      test -s conftest.dir/conftest.two
2983	    then
2984	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2985	      break 3
2986	    fi
2987	  fi
2988	fi
2989      done
2990    done
2991    ;;
2992esac
2993
2994  done
2995IFS=$as_save_IFS
2996
2997rm -rf conftest.one conftest.two conftest.dir
2998
2999fi
3000  if test "${ac_cv_path_install+set}" = set; then
3001    INSTALL=$ac_cv_path_install
3002  else
3003    # As a last resort, use the slow shell script.  Don't cache a
3004    # value for INSTALL within a source directory, because that will
3005    # break other packages using the cache if that directory is
3006    # removed, or if the value is a relative name.
3007    INSTALL=$ac_install_sh
3008  fi
3009fi
3010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3011$as_echo "$INSTALL" >&6; }
3012
3013# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3014# It thinks the first close brace ends the variable substitution.
3015test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3016
3017test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3018
3019test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3020
3021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3022$as_echo_n "checking whether build environment is sane... " >&6; }
3023# Just in case
3024sleep 1
3025echo timestamp > conftest.file
3026# Reject unsafe characters in $srcdir or the absolute working directory
3027# name.  Accept space and tab only in the latter.
3028am_lf='
3029'
3030case `pwd` in
3031  *[\\\"\#\$\&\'\`$am_lf]*)
3032    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3033esac
3034case $srcdir in
3035  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3036    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3037esac
3038
3039# Do `set' in a subshell so we don't clobber the current shell's
3040# arguments.  Must try -L first in case configure is actually a
3041# symlink; some systems play weird games with the mod time of symlinks
3042# (eg FreeBSD returns the mod time of the symlink's containing
3043# directory).
3044if (
3045   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3046   if test "$*" = "X"; then
3047      # -L didn't work.
3048      set X `ls -t "$srcdir/configure" conftest.file`
3049   fi
3050   rm -f conftest.file
3051   if test "$*" != "X $srcdir/configure conftest.file" \
3052      && test "$*" != "X conftest.file $srcdir/configure"; then
3053
3054      # If neither matched, then we have a broken ls.  This can happen
3055      # if, for instance, CONFIG_SHELL is bash and it inherits a
3056      # broken ls alias from the environment.  This has actually
3057      # happened.  Such a system could not be considered "sane".
3058      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3059alias in your environment" "$LINENO" 5
3060   fi
3061
3062   test "$2" = conftest.file
3063   )
3064then
3065   # Ok.
3066   :
3067else
3068   as_fn_error "newly created file is older than distributed files!
3069Check your system clock" "$LINENO" 5
3070fi
3071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3072$as_echo "yes" >&6; }
3073test "$program_prefix" != NONE &&
3074  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3075# Use a double $ so make ignores it.
3076test "$program_suffix" != NONE &&
3077  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3078# Double any \ or $.
3079# By default was `s,x,x', remove it if useless.
3080ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3081program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3082
3083# expand $ac_aux_dir to an absolute path
3084am_aux_dir=`cd $ac_aux_dir && pwd`
3085
3086if test x"${MISSING+set}" != xset; then
3087  case $am_aux_dir in
3088  *\ * | *\	*)
3089    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3090  *)
3091    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3092  esac
3093fi
3094# Use eval to expand $SHELL
3095if eval "$MISSING --run true"; then
3096  am_missing_run="$MISSING --run "
3097else
3098  am_missing_run=
3099  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3100$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3101fi
3102
3103if test x"${install_sh}" != xset; then
3104  case $am_aux_dir in
3105  *\ * | *\	*)
3106    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3107  *)
3108    install_sh="\${SHELL} $am_aux_dir/install-sh"
3109  esac
3110fi
3111
3112# Installed binaries are usually stripped using `strip' when the user
3113# run `make install-strip'.  However `strip' might not be the right
3114# tool to use in cross-compilation environments, therefore Automake
3115# will honor the `STRIP' environment variable to overrule this program.
3116if test "$cross_compiling" != no; then
3117  if test -n "$ac_tool_prefix"; then
3118  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3119set dummy ${ac_tool_prefix}strip; ac_word=$2
3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121$as_echo_n "checking for $ac_word... " >&6; }
3122if test "${ac_cv_prog_STRIP+set}" = set; then :
3123  $as_echo_n "(cached) " >&6
3124else
3125  if test -n "$STRIP"; then
3126  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3127else
3128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129for as_dir in $PATH
3130do
3131  IFS=$as_save_IFS
3132  test -z "$as_dir" && as_dir=.
3133    for ac_exec_ext in '' $ac_executable_extensions; do
3134  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3136    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137    break 2
3138  fi
3139done
3140  done
3141IFS=$as_save_IFS
3142
3143fi
3144fi
3145STRIP=$ac_cv_prog_STRIP
3146if test -n "$STRIP"; then
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3148$as_echo "$STRIP" >&6; }
3149else
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151$as_echo "no" >&6; }
3152fi
3153
3154
3155fi
3156if test -z "$ac_cv_prog_STRIP"; then
3157  ac_ct_STRIP=$STRIP
3158  # Extract the first word of "strip", so it can be a program name with args.
3159set dummy strip; ac_word=$2
3160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161$as_echo_n "checking for $ac_word... " >&6; }
3162if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3163  $as_echo_n "(cached) " >&6
3164else
3165  if test -n "$ac_ct_STRIP"; then
3166  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3167else
3168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169for as_dir in $PATH
3170do
3171  IFS=$as_save_IFS
3172  test -z "$as_dir" && as_dir=.
3173    for ac_exec_ext in '' $ac_executable_extensions; do
3174  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3175    ac_cv_prog_ac_ct_STRIP="strip"
3176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177    break 2
3178  fi
3179done
3180  done
3181IFS=$as_save_IFS
3182
3183fi
3184fi
3185ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3186if test -n "$ac_ct_STRIP"; then
3187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3188$as_echo "$ac_ct_STRIP" >&6; }
3189else
3190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191$as_echo "no" >&6; }
3192fi
3193
3194  if test "x$ac_ct_STRIP" = x; then
3195    STRIP=":"
3196  else
3197    case $cross_compiling:$ac_tool_warned in
3198yes:)
3199{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3200$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3201ac_tool_warned=yes ;;
3202esac
3203    STRIP=$ac_ct_STRIP
3204  fi
3205else
3206  STRIP="$ac_cv_prog_STRIP"
3207fi
3208
3209fi
3210INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3211
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3213$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3214if test -z "$MKDIR_P"; then
3215  if test "${ac_cv_path_mkdir+set}" = set; then :
3216  $as_echo_n "(cached) " >&6
3217else
3218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3220do
3221  IFS=$as_save_IFS
3222  test -z "$as_dir" && as_dir=.
3223    for ac_prog in mkdir gmkdir; do
3224	 for ac_exec_ext in '' $ac_executable_extensions; do
3225	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3226	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3227	     'mkdir (GNU coreutils) '* | \
3228	     'mkdir (coreutils) '* | \
3229	     'mkdir (fileutils) '4.1*)
3230	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3231	       break 3;;
3232	   esac
3233	 done
3234       done
3235  done
3236IFS=$as_save_IFS
3237
3238fi
3239
3240  test -d ./--version && rmdir ./--version
3241  if test "${ac_cv_path_mkdir+set}" = set; then
3242    MKDIR_P="$ac_cv_path_mkdir -p"
3243  else
3244    # As a last resort, use the slow shell script.  Don't cache a
3245    # value for MKDIR_P within a source directory, because that will
3246    # break other packages using the cache if that directory is
3247    # removed, or if the value is a relative name.
3248    MKDIR_P="$ac_install_sh -d"
3249  fi
3250fi
3251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3252$as_echo "$MKDIR_P" >&6; }
3253
3254mkdir_p="$MKDIR_P"
3255case $mkdir_p in
3256  [\\/$]* | ?:[\\/]*) ;;
3257  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3258esac
3259
3260for ac_prog in gawk mawk nawk awk
3261do
3262  # Extract the first word of "$ac_prog", so it can be a program name with args.
3263set dummy $ac_prog; ac_word=$2
3264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265$as_echo_n "checking for $ac_word... " >&6; }
3266if test "${ac_cv_prog_AWK+set}" = set; then :
3267  $as_echo_n "(cached) " >&6
3268else
3269  if test -n "$AWK"; then
3270  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3271else
3272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273for as_dir in $PATH
3274do
3275  IFS=$as_save_IFS
3276  test -z "$as_dir" && as_dir=.
3277    for ac_exec_ext in '' $ac_executable_extensions; do
3278  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279    ac_cv_prog_AWK="$ac_prog"
3280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3281    break 2
3282  fi
3283done
3284  done
3285IFS=$as_save_IFS
3286
3287fi
3288fi
3289AWK=$ac_cv_prog_AWK
3290if test -n "$AWK"; then
3291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3292$as_echo "$AWK" >&6; }
3293else
3294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295$as_echo "no" >&6; }
3296fi
3297
3298
3299  test -n "$AWK" && break
3300done
3301
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3303$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3304set x ${MAKE-make}
3305ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3306if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3307  $as_echo_n "(cached) " >&6
3308else
3309  cat >conftest.make <<\_ACEOF
3310SHELL = /bin/sh
3311all:
3312	@echo '@@@%%%=$(MAKE)=@@@%%%'
3313_ACEOF
3314# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3315case `${MAKE-make} -f conftest.make 2>/dev/null` in
3316  *@@@%%%=?*=@@@%%%*)
3317    eval ac_cv_prog_make_${ac_make}_set=yes;;
3318  *)
3319    eval ac_cv_prog_make_${ac_make}_set=no;;
3320esac
3321rm -f conftest.make
3322fi
3323if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3325$as_echo "yes" >&6; }
3326  SET_MAKE=
3327else
3328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3329$as_echo "no" >&6; }
3330  SET_MAKE="MAKE=${MAKE-make}"
3331fi
3332
3333rm -rf .tst 2>/dev/null
3334mkdir .tst 2>/dev/null
3335if test -d .tst; then
3336  am__leading_dot=.
3337else
3338  am__leading_dot=_
3339fi
3340rmdir .tst 2>/dev/null
3341
3342if test "`cd $srcdir && pwd`" != "`pwd`"; then
3343  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3344  # is not polluted with repeated "-I."
3345  am__isrc=' -I$(srcdir)'
3346  # test to see if srcdir already configured
3347  if test -f $srcdir/config.status; then
3348    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3349  fi
3350fi
3351
3352# test whether we have cygpath
3353if test -z "$CYGPATH_W"; then
3354  if (cygpath --version) >/dev/null 2>/dev/null; then
3355    CYGPATH_W='cygpath -w'
3356  else
3357    CYGPATH_W=echo
3358  fi
3359fi
3360
3361
3362# Define the identity of the package.
3363 PACKAGE='dbus'
3364 VERSION='1.6.8'
3365
3366
3367cat >>confdefs.h <<_ACEOF
3368@%:@define PACKAGE "$PACKAGE"
3369_ACEOF
3370
3371 
3372cat >>confdefs.h <<_ACEOF
3373@%:@define VERSION "$VERSION"
3374_ACEOF
3375
3376# Some tools Automake needs.
3377
3378ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3379
3380
3381AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3382
3383
3384AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3385
3386
3387AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3388
3389
3390MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3391
3392# We need awk for the "check" target.  The system "awk" is bad on
3393# some platforms.
3394# Always define AMTAR for backward compatibility.
3395
3396AMTAR=${AMTAR-"${am_missing_run}tar"}
3397
3398
3399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3400$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3401# Loop over all known methods to create a tar archive until one works.
3402_am_tools='gnutar plaintar pax cpio none'
3403_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3404# Do not fold the above two line into one, because Tru64 sh and
3405# Solaris sh will not grok spaces in the rhs of `-'.
3406for _am_tool in $_am_tools
3407do
3408  case $_am_tool in
3409  gnutar)
3410    for _am_tar in tar gnutar gtar;
3411    do
3412      { echo "$as_me:$LINENO: $_am_tar --version" >&5
3413   ($_am_tar --version) >&5 2>&5
3414   ac_status=$?
3415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416   (exit $ac_status); } && break
3417    done
3418    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3419    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3420    am__untar="$_am_tar -xf -"
3421    ;;
3422  plaintar)
3423    # Must skip GNU tar: if it does not support --format= it doesn't create
3424    # ustar tarball either.
3425    (tar --version) >/dev/null 2>&1 && continue
3426    am__tar='tar chf - "$$tardir"'
3427    am__tar_='tar chf - "$tardir"'
3428    am__untar='tar xf -'
3429    ;;
3430  pax)
3431    am__tar='pax -L -x ustar -w "$$tardir"'
3432    am__tar_='pax -L -x ustar -w "$tardir"'
3433    am__untar='pax -r'
3434    ;;
3435  cpio)
3436    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3437    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3438    am__untar='cpio -i -H ustar -d'
3439    ;;
3440  none)
3441    am__tar=false
3442    am__tar_=false
3443    am__untar=false
3444    ;;
3445  esac
3446
3447  # If the value was cached, stop now.  We just wanted to have am__tar
3448  # and am__untar set.
3449  test -n "${am_cv_prog_tar_ustar}" && break
3450
3451  # tar/untar a dummy directory, and stop if the command works
3452  rm -rf conftest.dir
3453  mkdir conftest.dir
3454  echo GrepMe > conftest.dir/file
3455  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3456   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3457   ac_status=$?
3458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459   (exit $ac_status); }
3460  rm -rf conftest.dir
3461  if test -s conftest.tar; then
3462    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3463   ($am__untar <conftest.tar) >&5 2>&5
3464   ac_status=$?
3465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466   (exit $ac_status); }
3467    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3468  fi
3469done
3470rm -rf conftest.dir
3471
3472if test "${am_cv_prog_tar_ustar+set}" = set; then :
3473  $as_echo_n "(cached) " >&6
3474else
3475  am_cv_prog_tar_ustar=$_am_tool
3476fi
3477
3478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3479$as_echo "$am_cv_prog_tar_ustar" >&6; }
3480
3481
3482
3483
3484
3485
3486GETTEXT_PACKAGE=dbus-1
3487
3488
3489cat >>confdefs.h <<_ACEOF
3490@%:@define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3491_ACEOF
3492
3493
3494# By default, rebuild autotools files on demand; only use ./missing if the
3495# user says --disable-maintainer-mode (some distributions like to do this)
3496
3497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
3498$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
3499    @%:@ Check whether --enable-maintainer-mode was given.
3500if test "${enable_maintainer_mode+set}" = set; then :
3501  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3502else
3503  USE_MAINTAINER_MODE=yes
3504fi
3505
3506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3507$as_echo "$USE_MAINTAINER_MODE" >&6; }
3508   if test $USE_MAINTAINER_MODE = yes; then
3509  MAINTAINER_MODE_TRUE=
3510  MAINTAINER_MODE_FALSE='#'
3511else
3512  MAINTAINER_MODE_TRUE='#'
3513  MAINTAINER_MODE_FALSE=
3514fi
3515
3516  MAINT=$MAINTAINER_MODE_TRUE
3517  
3518
3519
3520@%:@ Check whether --enable-silent-rules was given.
3521if test "${enable_silent_rules+set}" = set; then :
3522  enableval=$enable_silent_rules; 
3523fi
3524
3525case $enable_silent_rules in
3526yes) AM_DEFAULT_VERBOSITY=0;;
3527no)  AM_DEFAULT_VERBOSITY=1;;
3528*)   AM_DEFAULT_VERBOSITY=0;;
3529esac
3530AM_BACKSLASH='\'
3531
3532
3533
3534cat >>confdefs.h <<_ACEOF
3535@%:@define DBUS_DAEMON_NAME "dbus-daemon"
3536_ACEOF
3537
3538
3539# libtool versioning - this applies to libdbus
3540#
3541# See http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91 for details
3542#
3543
3544## increment if the interface has additions, changes, removals.
3545LT_CURRENT=10
3546
3547## increment any time the source changes; set to
3548##  0 if you increment CURRENT
3549LT_REVISION=2
3550
3551## increment if any interfaces have been added; set to 0
3552## if any interfaces have been changed or removed. removal has
3553## precedence over adding, so set to 0 if both happened.
3554LT_AGE=7
3555
3556
3557
3558
3559
3560DBUS_MAJOR_VERSION=1
3561DBUS_MINOR_VERSION=6
3562DBUS_MICRO_VERSION=8
3563DBUS_VERSION=1.6.8
3564
3565
3566
3567
3568
3569
3570ac_ext=c
3571ac_cpp='$CPP $CPPFLAGS'
3572ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575if test -n "$ac_tool_prefix"; then
3576  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3577set dummy ${ac_tool_prefix}gcc; ac_word=$2
3578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579$as_echo_n "checking for $ac_word... " >&6; }
3580if test "${ac_cv_prog_CC+set}" = set; then :
3581  $as_echo_n "(cached) " >&6
3582else
3583  if test -n "$CC"; then
3584  ac_cv_prog_CC="$CC" # Let the user override the test.
3585else
3586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587for as_dir in $PATH
3588do
3589  IFS=$as_save_IFS
3590  test -z "$as_dir" && as_dir=.
3591    for ac_exec_ext in '' $ac_executable_extensions; do
3592  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595    break 2
3596  fi
3597done
3598  done
3599IFS=$as_save_IFS
3600
3601fi
3602fi
3603CC=$ac_cv_prog_CC
3604if test -n "$CC"; then
3605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3606$as_echo "$CC" >&6; }
3607else
3608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609$as_echo "no" >&6; }
3610fi
3611
3612
3613fi
3614if test -z "$ac_cv_prog_CC"; then
3615  ac_ct_CC=$CC
3616  # Extract the first word of "gcc", so it can be a program name with args.
3617set dummy gcc; ac_word=$2
3618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619$as_echo_n "checking for $ac_word... " >&6; }
3620if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3621  $as_echo_n "(cached) " >&6
3622else
3623  if test -n "$ac_ct_CC"; then
3624  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3625else
3626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627for as_dir in $PATH
3628do
3629  IFS=$as_save_IFS
3630  test -z "$as_dir" && as_dir=.
3631    for ac_exec_ext in '' $ac_executable_extensions; do
3632  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633    ac_cv_prog_ac_ct_CC="gcc"
3634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635    break 2
3636  fi
3637done
3638  done
3639IFS=$as_save_IFS
3640
3641fi
3642fi
3643ac_ct_CC=$ac_cv_prog_ac_ct_CC
3644if test -n "$ac_ct_CC"; then
3645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3646$as_echo "$ac_ct_CC" >&6; }
3647else
3648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649$as_echo "no" >&6; }
3650fi
3651
3652  if test "x$ac_ct_CC" = x; then
3653    CC=""
3654  else
3655    case $cross_compiling:$ac_tool_warned in
3656yes:)
3657{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3658$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3659ac_tool_warned=yes ;;
3660esac
3661    CC=$ac_ct_CC
3662  fi
3663else
3664  CC="$ac_cv_prog_CC"
3665fi
3666
3667if test -z "$CC"; then
3668          if test -n "$ac_tool_prefix"; then
3669    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3670set dummy ${ac_tool_prefix}cc; ac_word=$2
3671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672$as_echo_n "checking for $ac_word... " >&6; }
3673if test "${ac_cv_prog_CC+set}" = set; then :
3674  $as_echo_n "(cached) " >&6
3675else
3676  if test -n "$CC"; then
3677  ac_cv_prog_CC="$CC" # Let the user override the test.
3678else
3679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680for as_dir in $PATH
3681do
3682  IFS=$as_save_IFS
3683  test -z "$as_dir" && as_dir=.
3684    for ac_exec_ext in '' $ac_executable_extensions; do
3685  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3686    ac_cv_prog_CC="${ac_tool_prefix}cc"
3687    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3688    break 2
3689  fi
3690done
3691  done
3692IFS=$as_save_IFS
3693
3694fi
3695fi
3696CC=$ac_cv_prog_CC
3697if test -n "$CC"; then
3698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3699$as_echo "$CC" >&6; }
3700else
3701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702$as_echo "no" >&6; }
3703fi
3704
3705
3706  fi
3707fi
3708if test -z "$CC"; then
3709  # Extract the first word of "cc", so it can be a program name with args.
3710set dummy cc; ac_word=$2
3711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712$as_echo_n "checking for $ac_word... " >&6; }
3713if test "${ac_cv_prog_CC+set}" = set; then :
3714  $as_echo_n "(cached) " >&6
3715else
3716  if test -n "$CC"; then
3717  ac_cv_prog_CC="$CC" # Let the user override the test.
3718else
3719  ac_prog_rejected=no
3720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721for as_dir in $PATH
3722do
3723  IFS=$as_save_IFS
3724  test -z "$as_dir" && as_dir=.
3725    for ac_exec_ext in '' $ac_executable_extensions; do
3726  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3727    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3728       ac_prog_rejected=yes
3729       continue
3730     fi
3731    ac_cv_prog_CC="cc"
3732    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733    break 2
3734  fi
3735done
3736  done
3737IFS=$as_save_IFS
3738
3739if test $ac_prog_rejected = yes; then
3740  # We found a bogon in the path, so make sure we never use it.
3741  set dummy $ac_cv_prog_CC
3742  shift
3743  if test $@%:@ != 0; then
3744    # We chose a different compiler from the bogus one.
3745    # However, it has the same basename, so the bogon will be chosen
3746    # first if we set CC to just the basename; use the full file name.
3747    shift
3748    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3749  fi
3750fi
3751fi
3752fi
3753CC=$ac_cv_prog_CC
3754if test -n "$CC"; then
3755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756$as_echo "$CC" >&6; }
3757else
3758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759$as_echo "no" >&6; }
3760fi
3761
3762
3763fi
3764if test -z "$CC"; then
3765  if test -n "$ac_tool_prefix"; then
3766  for ac_prog in cl.exe
3767  do
3768    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3769set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771$as_echo_n "checking for $ac_word... " >&6; }
3772if test "${ac_cv_prog_CC+set}" = set; then :
3773  $as_echo_n "(cached) " >&6
3774else
3775  if test -n "$CC"; then
3776  ac_cv_prog_CC="$CC" # Let the user override the test.
3777else
3778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779for as_dir in $PATH
3780do
3781  IFS=$as_save_IFS
3782  test -z "$as_dir" && as_dir=.
3783    for ac_exec_ext in '' $ac_executable_extensions; do
3784  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3786    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787    break 2
3788  fi
3789done
3790  done
3791IFS=$as_save_IFS
3792
3793fi
3794fi
3795CC=$ac_cv_prog_CC
3796if test -n "$CC"; then
3797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3798$as_echo "$CC" >&6; }
3799else
3800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801$as_echo "no" >&6; }
3802fi
3803
3804
3805    test -n "$CC" && break
3806  done
3807fi
3808if test -z "$CC"; then
3809  ac_ct_CC=$CC
3810  for ac_prog in cl.exe
3811do
3812  # Extract the first word of "$ac_prog", so it can be a program name with args.
3813set dummy $ac_prog; ac_word=$2
3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815$as_echo_n "checking for $ac_word... " >&6; }
3816if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3817  $as_echo_n "(cached) " >&6
3818else
3819  if test -n "$ac_ct_CC"; then
3820  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3821else
3822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823for as_dir in $PATH
3824do
3825  IFS=$as_save_IFS
3826  test -z "$as_dir" && as_dir=.
3827    for ac_exec_ext in '' $ac_executable_extensions; do
3828  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3829    ac_cv_prog_ac_ct_CC="$ac_prog"
3830    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831    break 2
3832  fi
3833done
3834  done
3835IFS=$as_save_IFS
3836
3837fi
3838fi
3839ac_ct_CC=$ac_cv_prog_ac_ct_CC
3840if test -n "$ac_ct_CC"; then
3841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3842$as_echo "$ac_ct_CC" >&6; }
3843else
3844  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845$as_echo "no" >&6; }
3846fi
3847
3848
3849  test -n "$ac_ct_CC" && break
3850done
3851
3852  if test "x$ac_ct_CC" = x; then
3853    CC=""
3854  else
3855    case $cross_compiling:$ac_tool_warned in
3856yes:)
3857{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3858$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3859ac_tool_warned=yes ;;
3860esac
3861    CC=$ac_ct_CC
3862  fi
3863fi
3864
3865fi
3866
3867
3868test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870as_fn_error "no acceptable C compiler found in \$PATH
3871See \`config.log' for more details." "$LINENO" 5; }
3872
3873# Provide some information about the compiler.
3874$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3875set X $ac_compile
3876ac_compiler=$2
3877for ac_option in --version -v -V -qversion; do
3878  { { ac_try="$ac_compiler $ac_option >&5"
3879case "(($ac_try" in
3880  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881  *) ac_try_echo=$ac_try;;
3882esac
3883eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3884$as_echo "$ac_try_echo"; } >&5
3885  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3886  ac_status=$?
3887  if test -s conftest.err; then
3888    sed '10a\
3889... rest of stderr output deleted ...
3890         10q' conftest.err >conftest.er1
3891    cat conftest.er1 >&5
3892  fi
3893  rm -f conftest.er1 conftest.err
3894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895  test $ac_status = 0; }
3896done
3897
3898cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899/* end confdefs.h.  */
3900
3901int
3902main ()
3903{
3904
3905  ;
3906  return 0;
3907}
3908_ACEOF
3909ac_clean_files_save=$ac_clean_files
3910ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3911# Try to create an executable without -o first, disregard a.out.
3912# It will help us diagnose broken compilers, and finding out an intuition
3913# of exeext.
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3915$as_echo_n "checking whether the C compiler works... " >&6; }
3916ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3917
3918# The possible output files:
3919ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3920
3921ac_rmfiles=
3922for ac_file in $ac_files
3923do
3924  case $ac_file in
3925    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3927  esac
3928done
3929rm -f $ac_rmfiles
3930
3931if { { ac_try="$ac_link_default"
3932case "(($ac_try" in
3933  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934  *) ac_try_echo=$ac_try;;
3935esac
3936eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937$as_echo "$ac_try_echo"; } >&5
3938  (eval "$ac_link_default") 2>&5
3939  ac_status=$?
3940  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941  test $ac_status = 0; }; then :
3942  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3943# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3944# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3945# so that the user can short-circuit this test for compilers unknown to
3946# Autoconf.
3947for ac_file in $ac_files ''
3948do
3949  test -f "$ac_file" || continue
3950  case $ac_file in
3951    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3952	;;
3953    [ab].out )
3954	# We found the default executable, but exeext='' is most
3955	# certainly right.
3956	break;;
3957    *.* )
3958	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3959	then :; else
3960	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3961	fi
3962	# We set ac_cv_exeext here because the later test for it is not
3963	# safe: cross compilers may not add the suffix if given an `-o'
3964	# argument, so we may need to know it at that point already.
3965	# Even if this section looks crufty: it has the advantage of
3966	# actually working.
3967	break;;
3968    * )
3969	break;;
3970  esac
3971done
3972test "$ac_cv_exeext" = no && ac_cv_exeext=
3973
3974else
3975  ac_file=''
3976fi
3977if test -z "$ac_file"; then :
3978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979$as_echo "no" >&6; }
3980$as_echo "$as_me: failed program was:" >&5
3981sed 's/^/| /' conftest.$ac_ext >&5
3982
3983{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985{ as_fn_set_status 77
3986as_fn_error "C compiler cannot create executables
3987See \`config.log' for more details." "$LINENO" 5; }; }
3988else
3989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990$as_echo "yes" >&6; }
3991fi
3992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3993$as_echo_n "checking for C compiler default output file name... " >&6; }
3994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3995$as_echo "$ac_file" >&6; }
3996ac_exeext=$ac_cv_exeext
3997
3998rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3999ac_clean_files=$ac_clean_files_save
4000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4001$as_echo_n "checking for suffix of executables... " >&6; }
4002if { { ac_try="$ac_link"
4003case "(($ac_try" in
4004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005  *) ac_try_echo=$ac_try;;
4006esac
4007eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008$as_echo "$ac_try_echo"; } >&5
4009  (eval "$ac_link") 2>&5
4010  ac_status=$?
4011  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012  test $ac_status = 0; }; then :
4013  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4014# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4015# work properly (i.e., refer to `conftest.exe'), while it won't with
4016# `rm'.
4017for ac_file in conftest.exe conftest conftest.*; do
4018  test -f "$ac_file" || continue
4019  case $ac_file in
4020    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4022	  break;;
4023    * ) break;;
4024  esac
4025done
4026else
4027  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029as_fn_error "cannot compute suffix of executables: cannot compile and link
4030See \`config.log' for more details." "$LINENO" 5; }
4031fi
4032rm -f conftest conftest$ac_cv_exeext
4033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034$as_echo "$ac_cv_exeext" >&6; }
4035
4036rm -f conftest.$ac_ext
4037EXEEXT=$ac_cv_exeext
4038ac_exeext=$EXEEXT
4039cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040/* end confdefs.h.  */
4041@%:@include <stdio.h>
4042int
4043main ()
4044{
4045FILE *f = fopen ("conftest.out", "w");
4046 return ferror (f) || fclose (f) != 0;
4047
4048  ;
4049  return 0;
4050}
4051_ACEOF
4052ac_clean_files="$ac_clean_files conftest.out"
4053# Check that the compiler produces executables we can run.  If not, either
4054# the compiler is broken, or we cross compile.
4055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4056$as_echo_n "checking whether we are cross compiling... " >&6; }
4057if test "$cross_compiling" != yes; then
4058  { { ac_try="$ac_link"
4059case "(($ac_try" in
4060  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061  *) ac_try_echo=$ac_try;;
4062esac
4063eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064$as_echo "$ac_try_echo"; } >&5
4065  (eval "$ac_link") 2>&5
4066  ac_status=$?
4067  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068  test $ac_status = 0; }
4069  if { ac_try='./conftest$ac_cv_exeext'
4070  { { case "(($ac_try" in
4071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072  *) ac_try_echo=$ac_try;;
4073esac
4074eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4075$as_echo "$ac_try_echo"; } >&5
4076  (eval "$ac_try") 2>&5
4077  ac_status=$?
4078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079  test $ac_status = 0; }; }; then
4080    cross_compiling=no
4081  else
4082    if test "$cross_compiling" = maybe; then
4083	cross_compiling=yes
4084    else
4085	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087as_fn_error "cannot run C compiled programs.
4088If you meant to cross compile, use \`--host'.
4089See \`config.log' for more details." "$LINENO" 5; }
4090    fi
4091  fi
4092fi
4093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4094$as_echo "$cross_compiling" >&6; }
4095
4096rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4097ac_clean_files=$ac_clean_files_save
4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4099$as_echo_n "checking for suffix of object files... " >&6; }
4100if test "${ac_cv_objext+set}" = set; then :
4101  $as_echo_n "(cached) " >&6
4102else
4103  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104/* end confdefs.h.  */
4105
4106int
4107main ()
4108{
4109
4110  ;
4111  return 0;
4112}
4113_ACEOF
4114rm -f conftest.o conftest.obj
4115if { { ac_try="$ac_compile"
4116case "(($ac_try" in
4117  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118  *) ac_try_echo=$ac_try;;
4119esac
4120eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121$as_echo "$ac_try_echo"; } >&5
4122  (eval "$ac_compile") 2>&5
4123  ac_status=$?
4124  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125  test $ac_status = 0; }; then :
4126  for ac_file in conftest.o conftest.obj conftest.*; do
4127  test -f "$ac_file" || continue;
4128  case $ac_file in
4129    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4130    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4131       break;;
4132  esac
4133done
4134else
4135  $as_echo "$as_me: failed program was:" >&5
4136sed 's/^/| /' conftest.$ac_ext >&5
4137
4138{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140as_fn_error "cannot compute suffix of object files: cannot compile
4141See \`config.log' for more details." "$LINENO" 5; }
4142fi
4143rm -f conftest.$ac_cv_objext conftest.$ac_ext
4144fi
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4146$as_echo "$ac_cv_objext" >&6; }
4147OBJEXT=$ac_cv_objext
4148ac_objext=$OBJEXT
4149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4150$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4151if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4152  $as_echo_n "(cached) " >&6
4153else
4154  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155/* end confdefs.h.  */
4156
4157int
4158main ()
4159{
4160#ifndef __GNUC__
4161       choke me
4162#endif
4163
4164  ;
4165  return 0;
4166}
4167_ACEOF
4168if ac_fn_c_try_compile "$LINENO"; then :
4169  ac_compiler_gnu=yes
4170else
4171  ac_compiler_gnu=no
4172fi
4173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174ac_cv_c_compiler_gnu=$ac_compiler_gnu
4175
4176fi
4177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4178$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4179if test $ac_compiler_gnu = yes; then
4180  GCC=yes
4181else
4182  GCC=
4183fi
4184ac_test_CFLAGS=${CFLAGS+set}
4185ac_save_CFLAGS=$CFLAGS
4186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4187$as_echo_n "checking whether $CC accepts -g... " >&6; }
4188if test "${ac_cv_prog_cc_g+set}" = set; then :
4189  $as_echo_n "(cached) " >&6
4190else
4191  ac_save_c_werror_flag=$ac_c_werror_flag
4192   ac_c_werror_flag=yes
4193   ac_cv_prog_cc_g=no
4194   CFLAGS="-g"
4195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196/* end confdefs.h.  */
4197
4198int
4199main ()
4200{
4201
4202  ;
4203  return 0;
4204}
4205_ACEOF
4206if ac_fn_c_try_compile "$LINENO"; then :
4207  ac_cv_prog_cc_g=yes
4208else
4209  CFLAGS=""
4210      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211/* end confdefs.h.  */
4212
4213int
4214main ()
4215{
4216
4217  ;
4218  return 0;
4219}
4220_ACEOF
4221if ac_fn_c_try_compile "$LINENO"; then :
4222  
4223else
4224  ac_c_werror_flag=$ac_save_c_werror_flag
4225	 CFLAGS="-g"
4226	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227/* end confdefs.h.  */
4228
4229int
4230main ()
4231{
4232
4233  ;
4234  return 0;
4235}
4236_ACEOF
4237if ac_fn_c_try_compile "$LINENO"; then :
4238  ac_cv_prog_cc_g=yes
4239fi
4240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241fi
4242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243fi
4244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245   ac_c_werror_flag=$ac_save_c_werror_flag
4246fi
4247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4248$as_echo "$ac_cv_prog_cc_g" >&6; }
4249if test "$ac_test_CFLAGS" = set; then
4250  CFLAGS=$ac_save_CFLAGS
4251elif test $ac_cv_prog_cc_g = yes; then
4252  if test "$GCC" = yes; then
4253    CFLAGS="-g -O2"
4254  else
4255    CFLAGS="-g"
4256  fi
4257else
4258  if test "$GCC" = yes; then
4259    CFLAGS="-O2"
4260  else
4261    CFLAGS=
4262  fi
4263fi
4264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4265$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4266if test "${ac_cv_prog_cc_c89+set}" = set; then :
4267  $as_echo_n "(cached) " >&6
4268else
4269  ac_cv_prog_cc_c89=no
4270ac_save_CC=$CC
4271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272/* end confdefs.h.  */
4273#include <stdarg.h>
4274#include <stdio.h>
4275#include <sys/types.h>
4276#include <sys/stat.h>
4277/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4278struct buf { int x; };
4279FILE * (*rcsopen) (struct buf *, struct stat *, int);
4280static char *e (p, i)
4281     char **p;
4282     int i;
4283{
4284  return p[i];
4285}
4286static char *f (char * (*g) (char **, int), char **p, ...)
4287{
4288  char *s;
4289  va_list v;
4290  va_start (v,p);
4291  s = g (p, va_arg (v,int));
4292  va_end (v);
4293  return s;
4294}
4295
4296/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4297   function prototypes and stuff, but not '\xHH' hex character constants.
4298   These don't provoke an error unfortunately, instead are silently treated
4299   as 'x'.  The following induces an error, until -std is added to get
4300   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4301   array size at least.  It's necessary to write '\x00'==0 to get something
4302   that's true only with -std.  */
4303int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4304
4305/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4306   inside strings and character constants.  */
4307#define FOO(x) 'x'
4308int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4309
4310int test (int i, double x);
4311struct s1 {int (*f) (int a);};
4312struct s2 {int (*f) (double a);};
4313int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4314int argc;
4315char **argv;
4316int
4317main ()
4318{
4319return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4320  ;
4321  return 0;
4322}
4323_ACEOF
4324for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4325	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4326do
4327  CC="$ac_save_CC $ac_arg"
4328  if ac_fn_c_try_compile "$LINENO"; then :
4329  ac_cv_prog_cc_c89=$ac_arg
4330fi
4331rm -f core conftest.err conftest.$ac_objext
4332  test "x$ac_cv_prog_cc_c89" != "xno" && break
4333done
4334rm -f conftest.$ac_ext
4335CC=$ac_save_CC
4336
4337fi
4338# AC_CACHE_VAL
4339case "x$ac_cv_prog_cc_c89" in
4340  x)
4341    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4342$as_echo "none needed" >&6; } ;;
4343  xno)
4344    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4345$as_echo "unsupported" >&6; } ;;
4346  *)
4347    CC="$CC $ac_cv_prog_cc_c89"
4348    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4349$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4350esac
4351if test "x$ac_cv_prog_cc_c89" != xno; then :
4352  
4353fi
4354
4355ac_ext=c
4356ac_cpp='$CPP $CPPFLAGS'
4357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4359ac_compiler_gnu=$ac_cv_c_compiler_gnu
4360DEPDIR="${am__leading_dot}deps"
4361
4362ac_config_commands="$ac_config_commands depfiles"
4363
4364
4365am_make=${MAKE-make}
4366cat > confinc << 'END'
4367am__doit:
4368	@echo this is the am__doit target
4369.PHONY: am__doit
4370END
4371# If we don't find an include directive, just comment out the code.
4372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4373$as_echo_n "checking for style of include used by $am_make... " >&6; }
4374am__include="#"
4375am__quote=
4376_am_result=none
4377# First try GNU make style include.
4378echo "include confinc" > confmf
4379# Ignore all kinds of additional output from `make'.
4380case `$am_make -s -f confmf 2> /dev/null` in #(
4381*the\ am__doit\ target*)
4382  am__include=include
4383  am__quote=
4384  _am_result=GNU
4385  ;;
4386esac
4387# Now try BSD make style include.
4388if test "$am__include" = "#"; then
4389   echo '.include "confinc"' > confmf
4390   case `$am_make -s -f confmf 2> /dev/null` in #(
4391   *the\ am__doit\ target*)
4392     am__include=.include
4393     am__quote="\""
4394     _am_result=BSD
4395     ;;
4396   esac
4397fi
4398
4399
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4401$as_echo "$_am_result" >&6; }
4402rm -f confinc confmf
4403
4404@%:@ Check whether --enable-dependency-tracking was given.
4405if test "${enable_dependency_tracking+set}" = set; then :
4406  enableval=$enable_dependency_tracking; 
4407fi
4408
4409if test "x$enable_dependency_tracking" != xno; then
4410  am_depcomp="$ac_aux_dir/depcomp"
4411  AMDEPBACKSLASH='\'
4412fi
4413 if test "x$enable_dependency_tracking" != xno; then
4414  AMDEP_TRUE=
4415  AMDEP_FALSE='#'
4416else
4417  AMDEP_TRUE='#'
4418  AMDEP_FALSE=
4419fi
4420
4421
4422
4423depcc="$CC"   am_compiler_list=
4424
4425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4426$as_echo_n "checking dependency style of $depcc... " >&6; }
4427if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4428  $as_echo_n "(cached) " >&6
4429else
4430  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4431  # We make a subdir and do the tests there.  Otherwise we can end up
4432  # making bogus files that we don't know about and never remove.  For
4433  # instance it was reported that on HP-UX the gcc test will end up
4434  # making a dummy file named `D' -- because `-MD' means `put the output
4435  # in D'.
4436  mkdir conftest.dir
4437  # Copy depcomp to subdir because otherwise we won't find it if we're
4438  # using a relative directory.
4439  cp "$am_depcomp" conftest.dir
4440  cd conftest.dir
4441  # We will build objects and dependencies in a subdirectory because
4442  # it helps to detect inapplicable dependency modes.  For instance
4443  # both Tru64's cc and ICC support -MD to output dependencies as a
4444  # side effect of compilation, but ICC will put the dependencies in
4445  # the current directory while Tru64 will put them in the object
4446  # directory.
4447  mkdir sub
4448
4449  am_cv_CC_dependencies_compiler_type=none
4450  if test "$am_compiler_list" = ""; then
4451     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4452  fi
4453  am__universal=false
4454  case " $depcc " in #(
4455     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4456     esac
4457
4458  for depmode in $am_compiler_list; do
4459    # Setup a source with many dependencies, because some compilers
4460    # like to wrap large dependency lists on column 80 (with \), and
4461    # we should not choose a depcomp mode which is confused by this.
4462    #
4463    # We need to recreate these files for each test, as the compiler may
4464    # overwrite some of them when testing with obscure command lines.
4465    # This happens at least with the AIX C compiler.
4466    : > sub/conftest.c
4467    for i in 1 2 3 4 5 6; do
4468      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4469      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4470      # Solaris 8's {/usr,}/bin/sh.
4471      touch sub/conftst$i.h
4472    done
4473    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4474
4475    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4476    # mode.  It turns out that the SunPro C++ compiler does not properly
4477    # handle `-M -o', and we need to detect this.  Also, some Intel
4478    # versions had trouble with output in subdirs
4479    am__obj=sub/conftest.${OBJEXT-o}
4480    am__minus_obj="-o $am__obj"
4481    case $depmode in
4482    gcc)
4483      # This depmode causes a compiler race in universal mode.
4484      test "$am__universal" = false || continue
4485      ;;
4486    nosideeffect)
4487      # after this tag, mechanisms are not by side-effect, so they'll
4488      # only be used when explicitly requested
4489      if test "x$enable_dependency_tracking" = xyes; then
4490	continue
4491      else
4492	break
4493      fi
4494      ;;
4495    msvisualcpp | msvcmsys)
4496      # This compiler won't grok `-c -o', but also, the minuso test has
4497      # not run yet.  These depmodes are late enough in the game, and
4498      # so weak that their functioning should not be impacted.
4499      am__obj=conftest.${OBJEXT-o}
4500      am__minus_obj=
4501      ;;
4502    none) break ;;
4503    esac
4504    if depmode=$depmode \
4505       source=sub/conftest.c object=$am__obj \
4506       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4507       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4508         >/dev/null 2>conftest.err &&
4509       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4510       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4511       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4512       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4513      # icc doesn't choke on unknown options, it will just issue warnings
4514      # or remarks (even with -Werror).  So we grep stderr for any message
4515      # that says an option was ignored or not supported.
4516      # When given -MP, icc 7.0 and 7.1 complain thusly:
4517      #   icc: Command line warning: ignoring option '-M'; no argument required
4518      # The diagnosis changed in icc 8.0:
4519      #   icc: Command line remark: option '-MP' not supported
4520      if (grep 'ignoring option' conftest.err ||
4521          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4522        am_cv_CC_dependencies_compiler_type=$depmode
4523        break
4524      fi
4525    fi
4526  done
4527
4528  cd ..
4529  rm -rf conftest.dir
4530else
4531  am_cv_CC_dependencies_compiler_type=none
4532fi
4533
4534fi
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4536$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4537CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4538
4539 if 
4540  test "x$enable_dependency_tracking" != xno \
4541  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4542  am__fastdepCC_TRUE=
4543  am__fastdepCC_FALSE='#'
4544else
4545  am__fastdepCC_TRUE='#'
4546  am__fastdepCC_FALSE=
4547fi
4548
4549
4550if test "x$CC" != xcc; then
4551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4552$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4553else
4554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4555$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4556fi
4557set dummy $CC; ac_cc=`$as_echo "$2" |
4558		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4559if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
4560  $as_echo_n "(cached) " >&6
4561else
4562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563/* end confdefs.h.  */
4564
4565int
4566main ()
4567{
4568
4569  ;
4570  return 0;
4571}
4572_ACEOF
4573# Make sure it works both with $CC and with simple cc.
4574# We do the test twice because some compilers refuse to overwrite an
4575# existing .o file with -o, though they will create one.
4576ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4577rm -f conftest2.*
4578if { { case "(($ac_try" in
4579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4580  *) ac_try_echo=$ac_try;;
4581esac
4582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4583$as_echo "$ac_try_echo"; } >&5
4584  (eval "$ac_try") 2>&5
4585  ac_status=$?
4586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587  test $ac_status = 0; } &&
4588   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4590  *) ac_try_echo=$ac_try;;
4591esac
4592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4593$as_echo "$ac_try_echo"; } >&5
4594  (eval "$ac_try") 2>&5
4595  ac_status=$?
4596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4597  test $ac_status = 0; };
4598then
4599  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4600  if test "x$CC" != xcc; then
4601    # Test first that cc exists at all.
4602    if { ac_try='cc -c conftest.$ac_ext >&5'
4603  { { case "(($ac_try" in
4604  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605  *) ac_try_echo=$ac_try;;
4606esac
4607eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608$as_echo "$ac_try_echo"; } >&5
4609  (eval "$ac_try") 2>&5
4610  ac_status=$?
4611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612  test $ac_status = 0; }; }; then
4613      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4614      rm -f conftest2.*
4615      if { { case "(($ac_try" in
4616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4617  *) ac_try_echo=$ac_try;;
4618esac
4619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4620$as_echo "$ac_try_echo"; } >&5
4621  (eval "$ac_try") 2>&5
4622  ac_status=$?
4623  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4624  test $ac_status = 0; } &&
4625	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4627  *) ac_try_echo=$ac_try;;
4628esac
4629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4630$as_echo "$ac_try_echo"; } >&5
4631  (eval "$ac_try") 2>&5
4632  ac_status=$?
4633  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4634  test $ac_status = 0; };
4635      then
4636	# cc works too.
4637	:
4638      else
4639	# cc exists but doesn't like -o.
4640	eval ac_cv_prog_cc_${ac_cc}_c_o=no
4641      fi
4642    fi
4643  fi
4644else
4645  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4646fi
4647rm -f core conftest*
4648
4649fi
4650if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4652$as_echo "yes" >&6; }
4653else
4654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655$as_echo "no" >&6; }
4656  
4657$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4658
4659fi
4660
4661# FIXME: we rely on the cache variable name because
4662# there is no other way.
4663set dummy $CC
4664am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4665eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4666if test "$am_t" != yes; then
4667   # Losing compiler, so override with the script.
4668   # FIXME: It is wrong to rewrite CC.
4669   # But if we don't then we get into trouble of one sort or another.
4670   # A longer-term fix would be to have automake use am__CC in this case,
4671   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4672   CC="$am_aux_dir/compile $CC"
4673fi
4674
4675
4676ac_ext=cpp
4677ac_cpp='$CXXCPP $CPPFLAGS'
4678ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4679ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4680ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4681if test -z "$CXX"; then
4682  if test -n "$CCC"; then
4683    CXX=$CCC
4684  else
4685    if test -n "$ac_tool_prefix"; then
4686  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4687  do
4688    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4689set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691$as_echo_n "checking for $ac_word... " >&6; }
4692if test "${ac_cv_prog_CXX+set}" = set; then :
4693  $as_echo_n "(cached) " >&6
4694else
4695  if test -n "$CXX"; then
4696  ac_cv_prog_CXX="$CXX" # Let the user override the test.
4697else
4698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699for as_dir in $PATH
4700do
4701  IFS=$as_save_IFS
4702  test -z "$as_dir" && as_dir=.
4703    for ac_exec_ext in '' $ac_executable_extensions; do
4704  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707    break 2
4708  fi
4709done
4710  done
4711IFS=$as_save_IFS
4712
4713fi
4714fi
4715CXX=$ac_cv_prog_CXX
4716if test -n "$CXX"; then
4717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4718$as_echo "$CXX" >&6; }
4719else
4720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721$as_echo "no" >&6; }
4722fi
4723
4724
4725    test -n "$CXX" && break
4726  done
4727fi
4728if test -z "$CXX"; then
4729  ac_ct_CXX=$CXX
4730  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4731do
4732  # Extract the first word of "$ac_prog", so it can be a program name with args.
4733set dummy $ac_prog; ac_word=$2
4734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735$as_echo_n "checking for $ac_word... " >&6; }
4736if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4737  $as_echo_n "(cached) " >&6
4738else
4739  if test -n "$ac_ct_CXX"; then
4740  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4741else
4742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4743for as_dir in $PATH
4744do
4745  IFS=$as_save_IFS
4746  test -z "$as_dir" && as_dir=.
4747    for ac_exec_ext in '' $ac_executable_extensions; do
4748  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4749    ac_cv_prog_ac_ct_CXX="$ac_prog"
4750    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751    break 2
4752  fi
4753done
4754  done
4755IFS=$as_save_IFS
4756
4757fi
4758fi
4759ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4760if test -n "$ac_ct_CXX"; then
4761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4762$as_echo "$ac_ct_CXX" >&6; }
4763else
4764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765$as_echo "no" >&6; }
4766fi
4767
4768
4769  test -n "$ac_ct_CXX" && break
4770done
4771
4772  if test "x$ac_ct_CXX" = x; then
4773    CXX="g++"
4774  else
4775    case $cross_compiling:$ac_tool_warned in
4776yes:)
4777{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4778$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4779ac_tool_warned=yes ;;
4780esac
4781    CXX=$ac_ct_CXX
4782  fi
4783fi
4784
4785  fi
4786fi
4787# Provide some information about the compiler.
4788$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4789set X $ac_compile
4790ac_compiler=$2
4791for ac_option in --version -v -V -qversion; do
4792  { { ac_try="$ac_compiler $ac_option >&5"
4793case "(($ac_try" in
4794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4795  *) ac_try_echo=$ac_try;;
4796esac
4797eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4798$as_echo "$ac_try_echo"; } >&5
4799  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4800  ac_status=$?
4801  if test -s conftest.err; then
4802    sed '10a\
4803... rest of stderr output deleted ...
4804         10q' conftest.err >conftest.er1
4805    cat conftest.er1 >&5
4806  fi
4807  rm -f conftest.er1 conftest.err
4808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4809  test $ac_status = 0; }
4810done
4811
4812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4813$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4814if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4815  $as_echo_n "(cached) " >&6
4816else
4817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818/* end confdefs.h.  */
4819
4820int
4821main ()
4822{
4823#ifndef __GNUC__
4824       choke me
4825#endif
4826
4827  ;
4828  return 0;
4829}
4830_ACEOF
4831if ac_fn_cxx_try_compile "$LINENO"; then :
4832  ac_compiler_gnu=yes
4833else
4834  ac_compiler_gnu=no
4835fi
4836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4838
4839fi
4840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4841$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4842if test $ac_compiler_gnu = yes; then
4843  GXX=yes
4844else
4845  GXX=
4846fi
4847ac_test_CXXFLAGS=${CXXFLAGS+set}
4848ac_save_CXXFLAGS=$CXXFLAGS
4849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4850$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4851if test "${ac_cv_prog_cxx_g+set}" = set; then :
4852  $as_echo_n "(cached) " >&6
4853else
4854  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4855   ac_cxx_werror_flag=yes
4856   ac_cv_prog_cxx_g=no
4857   CXXFLAGS="-g"
4858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859/* end confdefs.h.  */
4860
4861int
4862main ()
4863{
4864
4865  ;
4866  return 0;
4867}
4868_ACEOF
4869if ac_fn_cxx_try_compile "$LINENO"; then :
4870  ac_cv_prog_cxx_g=yes
4871else
4872  CXXFLAGS=""
4873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874/* end confdefs.h.  */
4875
4876int
4877main ()
4878{
4879
4880  ;
4881  return 0;
4882}
4883_ACEOF
4884if ac_fn_cxx_try_compile "$LINENO"; then :
4885  
4886else
4887  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4888	 CXXFLAGS="-g"
4889	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890/* end confdefs.h.  */
4891
4892int
4893main ()
4894{
4895
4896  ;
4897  return 0;
4898}
4899_ACEOF
4900if ac_fn_cxx_try_compile "$LINENO"; then :
4901  ac_cv_prog_cxx_g=yes
4902fi
4903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904fi
4905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906fi
4907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4909fi
4910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4911$as_echo "$ac_cv_prog_cxx_g" >&6; }
4912if test "$ac_test_CXXFLAGS" = set; then
4913  CXXFLAGS=$ac_save_CXXFLAGS
4914elif test $ac_cv_prog_cxx_g = yes; then
4915  if test "$GXX" = yes; then
4916    CXXFLAGS="-g -O2"
4917  else
4918    CXXFLAGS="-g"
4919  fi
4920else
4921  if test "$GXX" = yes; then
4922    CXXFLAGS="-O2"
4923  else
4924    CXXFLAGS=
4925  fi
4926fi
4927ac_ext=c
4928ac_cpp='$CPP $CPPFLAGS'
4929ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4930ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4931ac_compiler_gnu=$ac_cv_c_compiler_gnu
4932
4933depcc="$CXX"  am_compiler_list=
4934
4935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4936$as_echo_n "checking dependency style of $depcc... " >&6; }
4937if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4938  $as_echo_n "(cached) " >&6
4939else
4940  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4941  # We make a subdir and do the tests there.  Otherwise we can end up
4942  # making bogus files that we don't know about and never remove.  For
4943  # instance it was reported that on HP-UX the gcc test will end up
4944  # making a dummy file named `D' -- because `-MD' means `put the output
4945  # in D'.
4946  mkdir conftest.dir
4947  # Copy depcomp to subdir because otherwise we won't find it if we're
4948  # using a relative directory.
4949  cp "$am_depcomp" conftest.dir
4950  cd conftest.dir
4951  # We will build objects and dependencies in a subdirectory because
4952  # it helps to detect inapplicable dependency modes.  For instance
4953  # both Tru64's cc and ICC support -MD to output dependencies as a
4954  # side effect of compilation, but ICC will put the dependencies in
4955  # the current directory while Tru64 will put them in the object
4956  # directory.
4957  mkdir sub
4958
4959  am_cv_CXX_dependencies_compiler_type=none
4960  if test "$am_compiler_list" = ""; then
4961     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4962  fi
4963  am__universal=false
4964  case " $depcc " in #(
4965     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4966     esac
4967
4968  for depmode in $am_compiler_list; do
4969    # Setup a source with many dependencies, because some compilers
4970    # like to wrap large dependency lists on column 80 (with \), and
4971    # we should not choose a depcomp mode which is confused by this.
4972    #
4973    # We need to recreate these files for each test, as the compiler may
4974    # overwrite some of them when testing with obscure command lines.
4975    # This happens at least with the AIX C compiler.
4976    : > sub/conftest.c
4977    for i in 1 2 3 4 5 6; do
4978      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4979      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4980      # Solaris 8's {/usr,}/bin/sh.
4981      touch sub/conftst$i.h
4982    done
4983    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4984
4985    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4986    # mode.  It turns out that the SunPro C++ compiler does not properly
4987    # handle `-M -o', and we need to detect this.  Also, some Intel
4988    # versions had trouble with output in subdirs
4989    am__obj=sub/conftest.${OBJEXT-o}
4990    am__minus_obj="-o $am__obj"
4991    case $depmode in
4992    gcc)
4993      # This depmode causes a compiler race in universal mode.
4994      test "$am__universal" = false || continue
4995      ;;
4996    nosideeffect)
4997      # after this tag, mechanisms are not by side-effect, so they'll
4998      # only be used when explicitly requested
4999      if test "x$enable_dependency_tracking" = xyes; then
5000	continue
5001      else
5002	break
5003      fi
5004      ;;
5005    msvisualcpp | msvcmsys)
5006      # This compiler won't grok `-c -o', but also, the minuso test has
5007      # not run yet.  These depmodes are late enough in the game, and
5008      # so weak that their functioning should not be impacted.
5009      am__obj=conftest.${OBJEXT-o}
5010      am__minus_obj=
5011      ;;
5012    none) break ;;
5013    esac
5014    if depmode=$depmode \
5015       source=sub/conftest.c object=$am__obj \
5016       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5017       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5018         >/dev/null 2>conftest.err &&
5019       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5020       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5021       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5022       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5023      # icc doesn't choke on unknown options, it will just issue warnings
5024      # or remarks (even with -Werror).  So we grep stderr for any message
5025      # that says an option was ignored or not supported.
5026      # When given -MP, icc 7.0 and 7.1 complain thusly:
5027      #   icc: Command line warning: ignoring option '-M'; no argument required
5028      # The diagnosis changed in icc 8.0:
5029      #   icc: Command line remark: option '-MP' not supported
5030      if (grep 'ignoring option' conftest.err ||
5031          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5032        am_cv_CXX_dependencies_compiler_type=$depmode
5033        break
5034      fi
5035    fi
5036  done
5037
5038  cd ..
5039  rm -rf conftest.dir
5040else
5041  am_cv_CXX_dependencies_compiler_type=none
5042fi
5043
5044fi
5045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5046$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5047CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5048
5049 if 
5050  test "x$enable_dependency_tracking" != xno \
5051  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5052  am__fastdepCXX_TRUE=
5053  am__fastdepCXX_FALSE='#'
5054else
5055  am__fastdepCXX_TRUE='#'
5056  am__fastdepCXX_FALSE=
5057fi
5058
5059
5060
5061ac_ext=c
5062ac_cpp='$CPP $CPPFLAGS'
5063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5065ac_compiler_gnu=$ac_cv_c_compiler_gnu
5066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5067$as_echo_n "checking how to run the C preprocessor... " >&6; }
5068# On Suns, sometimes $CPP names a directory.
5069if test -n "$CPP" && test -d "$CPP"; then
5070  CPP=
5071fi
5072if test -z "$CPP"; then
5073  if test "${ac_cv_prog_CPP+set}" = set; then :
5074  $as_echo_n "(cached) " >&6
5075else
5076      # Double quotes because CPP needs to be expanded
5077    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5078    do
5079      ac_preproc_ok=false
5080for ac_c_preproc_warn_flag in '' yes
5081do
5082  # Use a header file that comes with gcc, so configuring glibc
5083  # with a fresh cross-compiler works.
5084  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5085  # <limits.h> exists even on freestanding compilers.
5086  # On the NeXT, cc -E runs the code through the compiler's parser,
5087  # not just through cpp. "Syntax error" is here to catch this case.
5088  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089/* end confdefs.h.  */
5090@%:@ifdef __STDC__
5091@%:@ include <limits.h>
5092@%:@else
5093@%:@ include <assert.h>
5094@%:@endif
5095		     Syntax error
5096_ACEOF
5097if ac_fn_c_try_cpp "$LINENO"; then :
5098  
5099else
5100  # Broken: fails on valid input.
5101continue
5102fi
5103rm -f conftest.err conftest.$ac_ext
5104
5105  # OK, works on sane cases.  Now check whether nonexistent headers
5106  # can be detected and how.
5107  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108/* end confdefs.h.  */
5109@%:@include <ac_nonexistent.h>
5110_ACEOF
5111if ac_fn_c_try_cpp "$LINENO"; then :
5112  # Broken: success on invalid input.
5113continue
5114else
5115  # Passes both tests.
5116ac_preproc_ok=:
5117break
5118fi
5119rm -f conftest.err conftest.$ac_ext
5120
5121done
5122# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5123rm -f conftest.err conftest.$ac_ext
5124if $ac_preproc_ok; then :
5125  break
5126fi
5127
5128    done
5129    ac_cv_prog_CPP=$CPP
5130  
5131fi
5132  CPP=$ac_cv_prog_CPP
5133else
5134  ac_cv_prog_CPP=$CPP
5135fi
5136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5137$as_echo "$CPP" >&6; }
5138ac_preproc_ok=false
5139for ac_c_preproc_warn_flag in '' yes
5140do
5141  # Use a header file that comes with gcc, so configuring glibc
5142  # with a fresh cross-compiler works.
5143  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5144  # <limits.h> exists even on freestanding compilers.
5145  # On the NeXT, cc -E runs the code through the compiler's parser,
5146  # not just through cpp. "Syntax error" is here to catch this case.
5147  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148/* end confdefs.h.  */
5149@%:@ifdef __STDC__
5150@%:@ include <limits.h>
5151@%:@else
5152@%:@ include <assert.h>
5153@%:@endif
5154		     Syntax error
5155_ACEOF
5156if ac_fn_c_try_cpp "$LINENO"; then :
5157  
5158else
5159  # Broken: fails on valid input.
5160continue
5161fi
5162rm -f conftest.err conftest.$ac_ext
5163
5164  # OK, works on sane cases.  Now check whether nonexistent headers
5165  # can be detected and how.
5166  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167/* end confdefs.h.  */
5168@%:@include <ac_nonexistent.h>
5169_ACEOF
5170if ac_fn_c_try_cpp "$LINENO"; then :
5171  # Broken: success on invalid input.
5172continue
5173else
5174  # Passes both tests.
5175ac_preproc_ok=:
5176break
5177fi
5178rm -f conftest.err conftest.$ac_ext
5179
5180done
5181# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5182rm -f conftest.err conftest.$ac_ext
5183if $ac_preproc_ok; then :
5184  
5185else
5186  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5187$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5188as_fn_error "C preprocessor \"$CPP\" fails sanity check
5189See \`config.log' for more details." "$LINENO" 5; }
5190fi
5191
5192ac_ext=c
5193ac_cpp='$CPP $CPPFLAGS'
5194ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5195ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5196ac_compiler_gnu=$ac_cv_c_compiler_gnu
5197
5198
5199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5200$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5201if test "${ac_cv_path_GREP+set}" = set; then :
5202  $as_echo_n "(cached) " >&6
5203else
5204  if test -z "$GREP"; then
5205  ac_path_GREP_found=false
5206  # Loop through the user's path and test for each of PROGNAME-LIST
5207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5209do
5210  IFS=$as_save_IFS
5211  test -z "$as_dir" && as_dir=.
5212    for ac_prog in grep ggrep; do
5213    for ac_exec_ext in '' $ac_executable_extensions; do
5214      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5215      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5216# Check for GNU ac_path_GREP and select it if it is found.
5217  # Check for GNU $ac_path_GREP
5218case `"$ac_path_GREP" --version 2>&1` in
5219*GNU*)
5220  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5221*)
5222  ac_count=0
5223  $as_echo_n 0123456789 >"conftest.in"
5224  while :
5225  do
5226    cat "conftest.in" "conftest.in" >"conftest.tmp"
5227    mv "conftest.tmp" "conftest.in"
5228    cp "conftest.in" "conftest.nl"
5229    $as_echo 'GREP' >> "conftest.nl"
5230    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5231    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5232    as_fn_arith $ac_count + 1 && ac_count=$as_val
5233    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5234      # Best one so far, save it but keep looking for a better one
5235      ac_cv_path_GREP="$ac_path_GREP"
5236      ac_path_GREP_max=$ac_count
5237    fi
5238    # 10*(2^10) chars as input seems more than enough
5239    test $ac_count -gt 10 && break
5240  done
5241  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5242esac
5243
5244      $ac_path_GREP_found && break 3
5245    done
5246  done
5247  done
5248IFS=$as_save_IFS
5249  if test -z "$ac_cv_path_GREP"; then
5250    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5251  fi
5252else
5253  ac_cv_path_GREP=$GREP
5254fi
5255
5256fi
5257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5258$as_echo "$ac_cv_path_GREP" >&6; }
5259 GREP="$ac_cv_path_GREP"
5260 
5261
5262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5263$as_echo_n "checking for egrep... " >&6; }
5264if test "${ac_cv_path_EGREP+set}" = set; then :
5265  $as_echo_n "(cached) " >&6
5266else
5267  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5268   then ac_cv_path_EGREP="$GREP -E"
5269   else
5270     if test -z "$EGREP"; then
5271  ac_path_EGREP_found=false
5272  # Loop through the user's path and test for each of PROGNAME-LIST
5273  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5275do
5276  IFS=$as_save_IFS
5277  test -z "$as_dir" && as_dir=.
5278    for ac_prog in egrep; do
5279    for ac_exec_ext in '' $ac_executable_extensions; do
5280      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5281      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5282# Check for GNU ac_path_EGREP and select it if it is found.
5283  # Check for GNU $ac_path_EGREP
5284case `"$ac_path_EGREP" --version 2>&1` in
5285*GNU*)
5286  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5287*)
5288  ac_count=0
5289  $as_echo_n 0123456789 >"conftest.in"
5290  while :
5291  do
5292    cat "conftest.in" "conftest.in" >"conftest.tmp"
5293    mv "conftest.tmp" "conftest.in"
5294    cp "conftest.in" "conftest.nl"
5295    $as_echo 'EGREP' >> "conftest.nl"
5296    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5297    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5298    as_fn_arith $ac_count + 1 && ac_count=$as_val
5299    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5300      # Best one so far, save it but keep looking for a better one
5301      ac_cv_path_EGREP="$ac_path_EGREP"
5302      ac_path_EGREP_max=$ac_count
5303    fi
5304    # 10*(2^10) chars as input seems more than enough
5305    test $ac_count -gt 10 && break
5306  done
5307  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5308esac
5309
5310      $ac_path_EGREP_found && break 3
5311    done
5312  done
5313  done
5314IFS=$as_save_IFS
5315  if test -z "$ac_cv_path_EGREP"; then
5316    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5317  fi
5318else
5319  ac_cv_path_EGREP=$EGREP
5320fi
5321
5322   fi
5323fi
5324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5325$as_echo "$ac_cv_path_EGREP" >&6; }
5326 EGREP="$ac_cv_path_EGREP"
5327 
5328
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5330$as_echo_n "checking for ANSI C header files... " >&6; }
5331if test "${ac_cv_header_stdc+set}" = set; then :
5332  $as_echo_n "(cached) " >&6
5333else
5334  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335/* end confdefs.h.  */
5336#include <stdlib.h>
5337#include <stdarg.h>
5338#include <string.h>
5339#include <float.h>
5340
5341int
5342main ()
5343{
5344
5345  ;
5346  return 0;
5347}
5348_ACEOF
5349if ac_fn_c_try_compile "$LINENO"; then :
5350  ac_cv_header_stdc=yes
5351else
5352  ac_cv_header_stdc=no
5353fi
5354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5355
5356if test $ac_cv_header_stdc = yes; then
5357  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5358  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359/* end confdefs.h.  */
5360#include <string.h>
5361
5362_ACEOF
5363if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5364  $EGREP "memchr" >/dev/null 2>&1; then :
5365  
5366else
5367  ac_cv_header_stdc=no
5368fi
5369rm -f conftest*
5370
5371fi
5372
5373if test $ac_cv_header_stdc = yes; then
5374  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5375  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376/* end confdefs.h.  */
5377#include <stdlib.h>
5378
5379_ACEOF
5380if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5381  $EGREP "free" >/dev/null 2>&1; then :
5382  
5383else
5384  ac_cv_header_stdc=no
5385fi
5386rm -f conftest*
5387
5388fi
5389
5390if test $ac_cv_header_stdc = yes; then
5391  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5392  if test "$cross_compiling" = yes; then :
5393  :
5394else
5395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396/* end confdefs.h.  */
5397#include <ctype.h>
5398#include <stdlib.h>
5399#if ((' ' & 0x0FF) == 0x020)
5400# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5401# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5402#else
5403# define ISLOWER(c) \
5404		   (('a' <= (c) && (c) <= 'i') \
5405		     || ('j' <= (c) && (c) <= 'r') \
5406		     || ('s' <= (c) && (c) <= 'z'))
5407# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5408#endif
5409
5410#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5411int
5412main ()
5413{
5414  int i;
5415  for (i = 0; i < 256; i++)
5416    if (XOR (islower (i), ISLOWER (i))
5417	|| toupper (i) != TOUPPER (i))
5418      return 2;
5419  return 0;
5420}
5421_ACEOF
5422if ac_fn_c_try_run "$LINENO"; then :
5423  
5424else
5425  ac_cv_header_stdc=no
5426fi
5427rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5428  conftest.$ac_objext conftest.beam conftest.$ac_ext
5429fi
5430
5431fi
5432fi
5433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5434$as_echo "$ac_cv_header_stdc" >&6; }
5435if test $ac_cv_header_stdc = yes; then
5436  
5437$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5438
5439fi
5440
5441# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5442for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5443		  inttypes.h stdint.h unistd.h
5444do :
5445  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5446ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5447"
5448eval as_val=\$$as_ac_Header
5449   if test "x$as_val" = x""yes; then :
5450  cat >>confdefs.h <<_ACEOF
5451@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5452_ACEOF
5453 
5454fi
5455
5456done
5457
5458
5459
5460  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5461if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5462  MINIX=yes
5463else
5464  MINIX=
5465fi
5466
5467
5468  if test "$MINIX" = yes; then
5469    
5470$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
5471
5472    
5473$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
5474
5475    
5476$as_echo "@%:@define _MINIX 1" >>confdefs.h
5477
5478  fi
5479
5480  
5481  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5482$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5483if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5484  $as_echo_n "(cached) " >&6
5485else
5486  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487/* end confdefs.h.  */
5488
5489#	  define __EXTENSIONS__ 1
5490	  $ac_includes_default
5491int
5492main ()
5493{
5494
5495  ;
5496  return 0;
5497}
5498_ACEOF
5499if ac_fn_c_try_compile "$LINENO"; then :
5500  ac_cv_safe_to_define___extensions__=yes
5501else
5502  ac_cv_safe_to_define___extensions__=no
5503fi
5504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505fi
5506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5507$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5508  test $ac_cv_safe_to_define___extensions__ = yes &&
5509    $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
5510
5511  $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
5512
5513  $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
5514
5515  $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5516
5517  $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
5518
5519
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5521$as_echo_n "checking for library containing strerror... " >&6; }
5522if test "${ac_cv_search_strerror+set}" = set; then :
5523  $as_echo_n "(cached) " >&6
5524else
5525  ac_func_search_save_LIBS=$LIBS
5526cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527/* end confdefs.h.  */
5528
5529/* Override any GCC internal prototype to avoid an error.
5530   Use char because int might match the return type of a GCC
5531   builtin and then its argument prototype would still apply.  */
5532#ifdef __cplusplus
5533extern "C"
5534#endif
5535char strerror ();
5536int
5537main ()
5538{
5539return strerror ();
5540  ;
5541  return 0;
5542}
5543_ACEOF
5544for ac_lib in '' cposix; do
5545  if test -z "$ac_lib"; then
5546    ac_res="none required"
5547  else
5548    ac_res=-l$ac_lib
5549    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5550  fi
5551  if ac_fn_c_try_link "$LINENO"; then :
5552  ac_cv_search_strerror=$ac_res
5553fi
5554rm -f core conftest.err conftest.$ac_objext \
5555    conftest$ac_exeext
5556  if test "${ac_cv_search_strerror+set}" = set; then :
5557  break
5558fi
5559done
5560if test "${ac_cv_search_strerror+set}" = set; then :
5561  
5562else
5563  ac_cv_search_strerror=no
5564fi
5565rm conftest.$ac_ext
5566LIBS=$ac_func_search_save_LIBS
5567fi
5568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5569$as_echo "$ac_cv_search_strerror" >&6; }
5570ac_res=$ac_cv_search_strerror
5571if test "$ac_res" != no; then :
5572  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5573  
5574fi
5575
5576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5577$as_echo_n "checking for ANSI C header files... " >&6; }
5578if test "${ac_cv_header_stdc+set}" = set; then :
5579  $as_echo_n "(cached) " >&6
5580else
5581  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5582/* end confdefs.h.  */
5583#include <stdlib.h>
5584#include <stdarg.h>
5585#include <string.h>
5586#include <float.h>
5587
5588int
5589main ()
5590{
5591
5592  ;
5593  return 0;
5594}
5595_ACEOF
5596if ac_fn_c_try_compile "$LINENO"; then :
5597  ac_cv_header_stdc=yes
5598else
5599  ac_cv_header_stdc=no
5600fi
5601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5602
5603if test $ac_cv_header_stdc = yes; then
5604  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5606/* end confdefs.h.  */
5607#include <string.h>
5608
5609_ACEOF
5610if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5611  $EGREP "memchr" >/dev/null 2>&1; then :
5612  
5613else
5614  ac_cv_header_stdc=no
5615fi
5616rm -f conftest*
5617
5618fi
5619
5620if test $ac_cv_header_stdc = yes; then
5621  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623/* end confdefs.h.  */
5624#include <stdlib.h>
5625
5626_ACEOF
5627if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5628  $EGREP "free" >/dev/null 2>&1; then :
5629  
5630else
5631  ac_cv_header_stdc=no
5632fi
5633rm -f conftest*
5634
5635fi
5636
5637if test $ac_cv_header_stdc = yes; then
5638  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5639  if test "$cross_compiling" = yes; then :
5640  :
5641else
5642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643/* end confdefs.h.  */
5644#include <ctype.h>
5645#include <stdlib.h>
5646#if ((' ' & 0x0FF) == 0x020)
5647# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5648# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5649#else
5650# define ISLOWER(c) \
5651		   (('a' <= (c) && (c) <= 'i') \
5652		     || ('j' <= (c) && (c) <= 'r') \
5653		     || ('s' <= (c) && (c) <= 'z'))
5654# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5655#endif
5656
5657#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5658int
5659main ()
5660{
5661  int i;
5662  for (i = 0; i < 256; i++)
5663    if (XOR (islower (i), ISLOWER (i))
5664	|| toupper (i) != TOUPPER (i))
5665      return 2;
5666  return 0;
5667}
5668_ACEOF
5669if ac_fn_c_try_run "$LINENO"; then :
5670  
5671else
5672  ac_cv_header_stdc=no
5673fi
5674rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5675  conftest.$ac_objext conftest.beam conftest.$ac_ext
5676fi
5677
5678fi
5679fi
5680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5681$as_echo "$ac_cv_header_stdc" >&6; }
5682if test $ac_cv_header_stdc = yes; then
5683  
5684$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5685
5686fi
5687
5688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5689$as_echo_n "checking for inline... " >&6; }
5690if test "${ac_cv_c_inline+set}" = set; then :
5691  $as_echo_n "(cached) " >&6
5692else
5693  ac_cv_c_inline=no
5694for ac_kw in inline __inline__ __inline; do
5695  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5696/* end confdefs.h.  */
5697#ifndef __cplusplus
5698typedef int foo_t;
5699static $ac_kw foo_t static_foo () {return 0; }
5700$ac_kw foo_t foo () {return 0; }
5701#endif
5702
5703_ACEOF
5704if ac_fn_c_try_compile "$LINENO"; then :
5705  ac_cv_c_inline=$ac_kw
5706fi
5707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5708  test "$ac_cv_c_inline" != no && break
5709done
5710
5711fi
5712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5713$as_echo "$ac_cv_c_inline" >&6; }
5714
5715case $ac_cv_c_inline in
5716  inline | yes) ;;
5717  *)
5718    case $ac_cv_c_inline in
5719      no) ac_val=;;
5720      *) ac_val=$ac_cv_c_inline;;
5721    esac
5722    cat >>confdefs.h <<_ACEOF
5723#ifndef __cplusplus
5724#define inline $ac_val
5725#endif
5726_ACEOF
5727    ;;
5728esac
5729
5730case `pwd` in
5731  *\ * | *\	*)
5732    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5733$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5734esac
5735
5736
5737
5738macro_version='2.4.2'
5739macro_revision='1.3337'
5740
5741    
5742    
5743    
5744
5745
5746    
5747    
5748    
5749
5750
5751
5752
5753ltmain="$ac_aux_dir/ltmain.sh"
5754
5755# Backslashify metacharacters that are still active within
5756# double-quoted strings.
5757sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5758
5759# Same as above, but do not quote variable references.
5760double_quote_subst='s/\(["`\\]\)/\\\1/g'
5761
5762# Sed substitution to delay expansion of an escaped shell variable in a
5763# double_quote_subst'ed string.
5764delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5765
5766# Sed substitution to delay expansion of an escaped single quote.
5767delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5768
5769# Sed substitution to avoid accidental globbing in evaled expressions
5770no_glob_subst='s/\*/\\\*/g'
5771
5772ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5773ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5774ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5775
5776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5777$as_echo_n "checking how to print strings... " >&6; }
5778# Test print first, because it will be a builtin if present.
5779if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5780   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5781  ECHO='print -r --'
5782elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5783  ECHO='printf %s\n'
5784else
5785  # Use this function as a fallback that always works.
5786  func_fallback_echo ()
5787  {
5788    eval 'cat <<_LTECHO_EOF
5789$1
5790_LTECHO_EOF'
5791  }
5792  ECHO='func_fallback_echo'
5793fi
5794
5795# func_echo_all arg...
5796# Invoke $ECHO with all args, space-separated.
5797func_echo_all ()
5798{
5799    $ECHO "" 
5800}
5801
5802case "$ECHO" in
5803  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5804$as_echo "printf" >&6; } ;;
5805  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5806$as_echo "print -r" >&6; } ;;
5807  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5808$as_echo "cat" >&6; } ;;
5809esac
5810
5811
5812
5813
5814    
5815    
5816    
5817
5818
5819    
5820    
5821    
5822
5823
5824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5825$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5826if test "${ac_cv_path_SED+set}" = set; then :
5827  $as_echo_n "(cached) " >&6
5828else
5829            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5830     for ac_i in 1 2 3 4 5 6 7; do
5831       ac_script="$ac_script$as_nl$ac_script"
5832     done
5833     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5834     { ac_script=; unset ac_script;}
5835     if test -z "$SED"; then
5836  ac_path_SED_found=false
5837  # Loop through the user's path and test for each of PROGNAME-LIST
5838  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839for as_dir in $PATH
5840do
5841  IFS=$as_save_IFS
5842  test -z "$as_dir" && as_dir=.
5843    for ac_prog in sed gsed; do
5844    for ac_exec_ext in '' $ac_executable_extensions; do
5845      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5846      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5847# Check for GNU ac_path_SED and select it if it is found.
5848  # Check for GNU $ac_path_SED
5849case `"$ac_path_SED" --version 2>&1` in
5850*GNU*)
5851  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5852*)
5853  ac_count=0
5854  $as_echo_n 0123456789 >"conftest.in"
5855  while :
5856  do
5857    cat "conftest.in" "conftest.in" >"conftest.tmp"
5858    mv "conftest.tmp" "conftest.in"
5859    cp "conftest.in" "conftest.nl"
5860    $as_echo '' >> "conftest.nl"
5861    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5862    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5863    as_fn_arith $ac_count + 1 && ac_count=$as_val
5864    if test $ac_count -gt ${ac_path_SED_max-0}; then
5865      # Best one so far, save it but keep looking for a better one
5866      ac_cv_path_SED="$ac_path_SED"
5867      ac_path_SED_max=$ac_count
5868    fi
5869    # 10*(2^10) chars as input seems more than enough
5870    test $ac_count -gt 10 && break
5871  done
5872  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5873esac
5874
5875      $ac_path_SED_found && break 3
5876    done
5877  done
5878  done
5879IFS=$as_save_IFS
5880  if test -z "$ac_cv_path_SED"; then
5881    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5882  fi
5883else
5884  ac_cv_path_SED=$SED
5885fi
5886
5887fi
5888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5889$as_echo "$ac_cv_path_SED" >&6; }
5890 SED="$ac_cv_path_SED"
5891  rm -f conftest.sed
5892
5893test -z "$SED" && SED=sed
5894Xsed="$SED -e 1s/^X//"
5895
5896    
5897    
5898    
5899
5900
5901    
5902    
5903    
5904
5905
5906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5907$as_echo_n "checking for fgrep... " >&6; }
5908if test "${ac_cv_path_FGREP+set}" = set; then :
5909  $as_echo_n "(cached) " >&6
5910else
5911  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5912   then ac_cv_path_FGREP="$GREP -F"
5913   else
5914     if test -z "$FGREP"; then
5915  ac_path_FGREP_found=false
5916  # Loop through the user's path and test for each of PROGNAME-LIST
5917  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5919do
5920  IFS=$as_save_IFS
5921  test -z "$as_dir" && as_dir=.
5922    for ac_prog in fgrep; do
5923    for ac_exec_ext in '' $ac_executable_extensions; do
5924      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5925      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5926# Check for GNU ac_path_FGREP and select it if it is found.
5927  # Check for GNU $ac_path_FGREP
5928case `"$ac_path_FGREP" --version 2>&1` in
5929*GNU*)
5930  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5931*)
5932  ac_count=0
5933  $as_echo_n 0123456789 >"conftest.in"
5934  while :
5935  do
5936    cat "conftest.in" "conftest.in" >"conftest.tmp"
5937    mv "conftest.tmp" "conftest.in"
5938    cp "conftest.in" "conftest.nl"
5939    $as_echo 'FGREP' >> "conftest.nl"
5940    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5941    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5942    as_fn_arith $ac_count + 1 && ac_count=$as_val
5943    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5944      # Best one so far, save it but keep looking for a better one
5945      ac_cv_path_FGREP="$ac_path_FGREP"
5946      ac_path_FGREP_max=$ac_count
5947    fi
5948    # 10*(2^10) chars as input seems more than enough
5949    test $ac_count -gt 10 && break
5950  done
5951  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5952esac
5953
5954      $ac_path_FGREP_found && break 3
5955    done
5956  done
5957  done
5958IFS=$as_save_IFS
5959  if test -z "$ac_cv_path_FGREP"; then
5960    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5961  fi
5962else
5963  ac_cv_path_FGREP=$FGREP
5964fi
5965
5966   fi
5967fi
5968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5969$as_echo "$ac_cv_path_FGREP" >&6; }
5970 FGREP="$ac_cv_path_FGREP"
5971 
5972
5973test -z "$GREP" && GREP=grep
5974
5975    
5976    
5977    
5978
5979
5980    
5981    
5982    
5983
5984
5985    
5986    
5987    
5988
5989
5990
5991
5992
5993@%:@ Check whether --with-gnu-ld was given.
5994if test "${with_gnu_ld+set}" = set; then :
5995  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5996else
5997  with_gnu_ld=no
5998fi
5999
6000ac_prog=ld
6001if test "$GCC" = yes; then
6002  # Check if gcc -print-prog-name=ld gives a path.
6003  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6004$as_echo_n "checking for ld used by $CC... " >&6; }
6005  case $host in
6006  *-*-mingw*)
6007    # gcc leaves a trailing carriage return which upsets mingw
6008    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6009  *)
6010    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6011  esac
6012  case $ac_prog in
6013    # Accept absolute paths.
6014    [\\/]* | ?:[\\/]*)
6015      re_direlt='/[^/][^/]*/\.\./'
6016      # Canonicalize the pathname of ld
6017      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6018      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6019	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6020      done
6021      test -z "$LD" && LD="$ac_prog"
6022      ;;
6023  "")
6024    # If it fails, then pretend we aren't using GCC.
6025    ac_prog=ld
6026    ;;
6027  *)
6028    # If it is relative, then search for the first ld in PATH.
6029    with_gnu_ld=unknown
6030    ;;
6031  esac
6032elif test "$with_gnu_ld" = yes; then
6033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6034$as_echo_n "checking for GNU ld... " >&6; }
6035else
6036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6037$as_echo_n "checking for non-GNU ld... " >&6; }
6038fi
6039if test "${lt_cv_path_LD+set}" = set; then :
6040  $as_echo_n "(cached) " >&6
6041else
6042  if test -z "$LD"; then
6043  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6044  for ac_dir in $PATH; do
6045    IFS="$lt_save_ifs"
6046    test -z "$ac_dir" && ac_dir=.
6047    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6048      lt_cv_path_LD="$ac_dir/$ac_prog"
6049      # Check to see if the program is GNU ld.  I'd rather use --version,
6050      # but apparently some variants of GNU ld only accept -v.
6051      # Break only if it was the GNU/non-GNU ld that we prefer.
6052      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6053      *GNU* | *'with BFD'*)
6054	test "$with_gnu_ld" != no && break
6055	;;
6056      *)
6057	test "$with_gnu_ld" != yes && break
6058	;;
6059      esac
6060    fi
6061  done
6062  IFS="$lt_save_ifs"
6063else
6064  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6065fi
6066fi
6067
6068LD="$lt_cv_path_LD"
6069if test -n "$LD"; then
6070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6071$as_echo "$LD" >&6; }
6072else
6073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074$as_echo "no" >&6; }
6075fi
6076test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6078$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6079if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6080  $as_echo_n "(cached) " >&6
6081else
6082  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6083case `$LD -v 2>&1 </dev/null` in
6084*GNU* | *'with BFD'*)
6085  lt_cv_prog_gnu_ld=yes
6086  ;;
6087*)
6088  lt_cv_prog_gnu_ld=no
6089  ;;
6090esac
6091fi
6092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6093$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6094with_gnu_ld=$lt_cv_prog_gnu_ld
6095
6096
6097
6098
6099    
6100    
6101    
6102
6103
6104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6105$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6106if test "${lt_cv_path_NM+set}" = set; then :
6107  $as_echo_n "(cached) " >&6
6108else
6109  if test -n "$NM"; then
6110  # Let the user override the test.
6111  lt_cv_path_NM="$NM"
6112else
6113  lt_nm_to_check="${ac_tool_prefix}nm"
6114  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6115    lt_nm_to_check="$lt_nm_to_check nm"
6116  fi
6117  for lt_tmp_nm in $lt_nm_to_check; do
6118    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6119    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6120      IFS="$lt_save_ifs"
6121      test -z "$ac_dir" && ac_dir=.
6122      tmp_nm="$ac_dir/$lt_tmp_nm"
6123      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6124	# Check to see if the nm accepts a BSD-compat flag.
6125	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6126	#   nm: unknown option "B" ignored
6127	# Tru64's nm complains that /dev/null is an invalid object file
6128	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6129	*/dev/null* | *'Invalid file or object type'*)
6130	  lt_cv_path_NM="$tmp_nm -B"
6131	  break
6132	  ;;
6133	*)
6134	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6135	  */dev/null*)
6136	    lt_cv_path_NM="$tmp_nm -p"
6137	    break
6138	    ;;
6139	  *)
6140	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6141	    continue # so that we can try to find one that supports BSD flags
6142	    ;;
6143	  esac
6144	  ;;
6145	esac
6146      fi
6147    done
6148    IFS="$lt_save_ifs"
6149  done
6150  : ${lt_cv_path_NM=no}
6151fi
6152fi
6153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6154$as_echo "$lt_cv_path_NM" >&6; }
6155if test "$lt_cv_path_NM" != "no"; then
6156  NM="$lt_cv_path_NM"
6157else
6158  # Didn't find any BSD compatible name lister, look for dumpbin.
6159  if test -n "$DUMPBIN"; then :
6160    # Let the user override the test.
6161  else
6162    if test -n "$ac_tool_prefix"; then
6163  for ac_prog in dumpbin "link -dump"
6164  do
6165    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6166set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168$as_echo_n "checking for $ac_word... " >&6; }
6169if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6170  $as_echo_n "(cached) " >&6
6171else
6172  if test -n "$DUMPBIN"; then
6173  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6174else
6175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176for as_dir in $PATH
6177do
6178  IFS=$as_save_IFS
6179  test -z "$as_dir" && as_dir=.
6180    for ac_exec_ext in '' $ac_executable_extensions; do
6181  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6182    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6183    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184    break 2
6185  fi
6186done
6187  done
6188IFS=$as_save_IFS
6189
6190fi
6191fi
6192DUMPBIN=$ac_cv_prog_DUMPBIN
6193if test -n "$DUMPBIN"; then
6194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6195$as_echo "$DUMPBIN" >&6; }
6196else
6197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198$as_echo "no" >&6; }
6199fi
6200
6201
6202    test -n "$DUMPBIN" && break
6203  done
6204fi
6205if test -z "$DUMPBIN"; then
6206  ac_ct_DUMPBIN=$DUMPBIN
6207  for ac_prog in dumpbin "link -dump"
6208do
6209  # Extract the first word of "$ac_prog", so it can be a program name with args.
6210set dummy $ac_prog; ac_word=$2
6211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212$as_echo_n "checking for $ac_word... " >&6; }
6213if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6214  $as_echo_n "(cached) " >&6
6215else
6216  if test -n "$ac_ct_DUMPBIN"; then
6217  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6218else
6219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220for as_dir in $PATH
6221do
6222  IFS=$as_save_IFS
6223  test -z "$as_dir" && as_dir=.
6224    for ac_exec_ext in '' $ac_executable_extensions; do
6225  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228    break 2
6229  fi
6230done
6231  done
6232IFS=$as_save_IFS
6233
6234fi
6235fi
6236ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6237if test -n "$ac_ct_DUMPBIN"; then
6238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6239$as_echo "$ac_ct_DUMPBIN" >&6; }
6240else
6241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242$as_echo "no" >&6; }
6243fi
6244
6245
6246  test -n "$ac_ct_DUMPBIN" && break
6247done
6248
6249  if test "x$ac_ct_DUMPBIN" = x; then
6250    DUMPBIN=":"
6251  else
6252    case $cross_compiling:$ac_tool_warned in
6253yes:)
6254{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6255$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6256ac_tool_warned=yes ;;
6257esac
6258    DUMPBIN=$ac_ct_DUMPBIN
6259  fi
6260fi
6261
6262    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6263    *COFF*)
6264      DUMPBIN="$DUMPBIN -symbols"
6265      ;;
6266    *)
6267      DUMPBIN=:
6268      ;;
6269    esac
6270  fi
6271  
6272  if test "$DUMPBIN" != ":"; then
6273    NM="$DUMPBIN"
6274  fi
6275fi
6276test -z "$NM" && NM=nm
6277
6278
6279    
6280    
6281    
6282
6283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6284$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6285if test "${lt_cv_nm_interface+set}" = set; then :
6286  $as_echo_n "(cached) " >&6
6287else
6288  lt_cv_nm_interface="BSD nm"
6289  echo "int some_variable = 0;" > conftest.$ac_ext
6290  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6291  (eval "$ac_compile" 2>conftest.err)
6292  cat conftest.err >&5
6293  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6294  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6295  cat conftest.err >&5
6296  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6297  cat conftest.out >&5
6298  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6299    lt_cv_nm_interface="MS dumpbin"
6300  fi
6301  rm -f conftest*
6302fi
6303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6304$as_echo "$lt_cv_nm_interface" >&6; }
6305
6306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6307$as_echo_n "checking whether ln -s works... " >&6; }
6308LN_S=$as_ln_s
6309if test "$LN_S" = "ln -s"; then
6310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6311$as_echo "yes" >&6; }
6312else
6313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6314$as_echo "no, using $LN_S" >&6; }
6315fi
6316
6317# find the maximum length of command line arguments
6318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6319$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6320if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6321  $as_echo_n "(cached) " >&6
6322else
6323    i=0
6324  teststring="ABCD"
6325
6326  case $build_os in
6327  msdosdjgpp*)
6328    # On DJGPP, this test can blow up pretty badly due to problems in libc
6329    # (any single argument exceeding 2000 bytes causes a buffer overrun
6330    # during glob expansion).  Even if it were fixed, the result of this
6331    # check would be larger than it should be.
6332    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6333    ;;
6334
6335  gnu*)
6336    # Under GNU Hurd, this test is not required because there is
6337    # no limit to the length of command line arguments.
6338    # Libtool will interpret -1 as no limit whatsoever
6339    lt_cv_sys_max_cmd_len=-1;
6340    ;;
6341
6342  cygwin* | mingw* | cegcc*)
6343    # On Win9x/ME, this test blows up -- it succeeds, but takes
6344    # about 5 minutes as the teststring grows exponentially.
6345    # Worse, since 9x/ME are not pre-emptively multitasking,
6346    # you end up with a "frozen" computer, even though with patience
6347    # the test eventually succeeds (with a max line length of 256k).
6348    # Instead, let's just punt: use the minimum linelength reported by
6349    # all of the supported platforms: 8192 (on NT/2K/XP).
6350    lt_cv_sys_max_cmd_len=8192;
6351    ;;
6352
6353  mint*)
6354    # On MiNT this can take a long time and run out of memory.
6355    lt_cv_sys_max_cmd_len=8192;
6356    ;;
6357
6358  amigaos*)
6359    # On AmigaOS with pdksh, this test takes hours, literally.
6360    # So we just punt and use a minimum line length of 8192.
6361    lt_cv_sys_max_cmd_len=8192;
6362    ;;
6363
6364  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6365    # This has been around since 386BSD, at least.  Likely further.
6366    if test -x /sbin/sysctl; then
6367      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6368    elif test -x /usr/sbin/sysctl; then
6369      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6370    else
6371      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6372    fi
6373    # And add a safety zone
6374    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6375    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6376    ;;
6377
6378  interix*)
6379    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6380    lt_cv_sys_max_cmd_len=196608
6381    ;;
6382
6383  os2*)
6384    # The test takes a long time on OS/2.
6385    lt_cv_sys_max_cmd_len=8192
6386    ;;
6387
6388  osf*)
6389    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6390    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6391    # nice to cause kernel panics so lets avoid the loop below.
6392    # First set a reasonable default.
6393    lt_cv_sys_max_cmd_len=16384
6394    #
6395    if test -x /sbin/sysconfig; then
6396      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6397        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6398      esac
6399    fi
6400    ;;
6401  sco3.2v5*)
6402    lt_cv_sys_max_cmd_len=102400
6403    ;;
6404  sysv5* | sco5v6* | sysv4.2uw2*)
6405    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6406    if test -n "$kargmax"; then
6407      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6408    else
6409      lt_cv_sys_max_cmd_len=32768
6410    fi
6411    ;;
6412  *)
6413    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6414    if test -n "$lt_cv_sys_max_cmd_len"; then
6415      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6416      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6417    else
6418      # Make teststring a little bigger before we do anything with it.
6419      # a 1K string should be a reasonable start.
6420      for i in 1 2 3 4 5 6 7 8 ; do
6421        teststring=$teststring$teststring
6422      done
6423      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6424      # If test is not a shell built-in, we'll probably end up computing a
6425      # maximum length that is only half of the actual maximum length, but
6426      # we can't tell.
6427      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6428	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6429	      test $i != 17 # 1/2 MB should be enough
6430      do
6431        i=`expr $i + 1`
6432        teststring=$teststring$teststring
6433      done
6434      # Only check the string length outside the loop.
6435      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6436      teststring=
6437      # Add a significant safety factor because C++ compilers can tack on
6438      # massive amounts of additional arguments before passing them to the
6439      # linker.  It appears as though 1/2 is a usable value.
6440      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6441    fi
6442    ;;
6443  esac
6444
6445fi
6446
6447if test -n $lt_cv_sys_max_cmd_len ; then
6448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6449$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6450else
6451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6452$as_echo "none" >&6; }
6453fi
6454max_cmd_len=$lt_cv_sys_max_cmd_len
6455
6456    
6457    
6458    
6459
6460
6461: ${CP="cp -f"}
6462: ${MV="mv -f"}
6463: ${RM="rm -f"}
6464
6465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6466$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6467# Try some XSI features
6468xsi_shell=no
6469( _lt_dummy="a/b/c"
6470  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6471      = c,a/b,b/c, \
6472    && eval 'test $(( 1 + 1 )) -eq 2 \
6473    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6474  && xsi_shell=yes
6475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6476$as_echo "$xsi_shell" >&6; }
6477
6478
6479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6480$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6481lt_shell_append=no
6482( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6483    >/dev/null 2>&1 \
6484  && lt_shell_append=yes
6485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6486$as_echo "$lt_shell_append" >&6; }
6487
6488
6489if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6490  lt_unset=unset
6491else
6492  lt_unset=false
6493fi
6494
6495    
6496    
6497    
6498
6499# test EBCDIC or ASCII
6500case `echo X|tr X '\101'` in
6501 A) # ASCII based system
6502    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6503  lt_SP2NL='tr \040 \012'
6504  lt_NL2SP='tr \015\012 \040\040'
6505  ;;
6506 *) # EBCDIC based system
6507  lt_SP2NL='tr \100 \n'
6508  lt_NL2SP='tr \r\n \100\100'
6509  ;;
6510esac
6511
6512    
6513    
6514    
6515
6516    
6517    
6518    
6519
6520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6521$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6522if test "${lt_cv_to_host_file_cmd+set}" = set; then :
6523  $as_echo_n "(cached) " >&6
6524else
6525  case $host in
6526  *-*-mingw* )
6527    case $build in
6528      *-*-mingw* ) # actually msys
6529        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6530        ;;
6531      *-*-cygwin* )
6532        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6533        ;;
6534      * ) # otherwise, assume *nix
6535        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6536        ;;
6537    esac
6538    ;;
6539  *-*-cygwin* )
6540    case $build in
6541      *-*-mingw* ) # actually msys
6542        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6543        ;;
6544      *-*-cygwin* )
6545        lt_cv_to_host_file_cmd=func_convert_file_noop
6546        ;;
6547      * ) # otherwise, assume *nix
6548        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6549        ;;
6550    esac
6551    ;;
6552  * ) # unhandled hosts (and "normal" native builds)
6553    lt_cv_to_host_file_cmd=func_convert_file_noop
6554    ;;
6555esac
6556
6557fi
6558
6559to_host_file_cmd=$lt_cv_to_host_file_cmd
6560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6561$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6562
6563    
6564    
6565    
6566
6567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6568$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6569if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
6570  $as_echo_n "(cached) " >&6
6571else
6572  #assume ordinary cross tools, or native build.
6573lt_cv_to_tool_file_cmd=func_convert_file_noop
6574case $host in
6575  *-*-mingw* )
6576    case $build in
6577      *-*-mingw* ) # actually msys
6578        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6579        ;;
6580    esac
6581    ;;
6582esac
6583
6584fi
6585
6586to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6588$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6589
6590    
6591    
6592    
6593
6594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6595$as_echo_n "checking for $LD option to reload object files... " >&6; }
6596if test "${lt_cv_ld_reload_flag+set}" = set; then :
6597  $as_echo_n "(cached) " >&6
6598else
6599  lt_cv_ld_reload_flag='-r'
6600fi
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6602$as_echo "$lt_cv_ld_reload_flag" >&6; }
6603reload_flag=$lt_cv_ld_reload_flag
6604case $reload_flag in
6605"" | " "*) ;;
6606*) reload_flag=" $reload_flag" ;;
6607esac
6608reload_cmds='$LD$reload_flag -o $output$reload_objs'
6609case $host_os in
6610  cygwin* | mingw* | pw32* | cegcc*)
6611    if test "$GCC" != yes; then
6612      reload_cmds=false
6613    fi
6614    ;;
6615  darwin*)
6616    if test "$GCC" = yes; then
6617      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6618    else
6619      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6620    fi
6621    ;;
6622esac
6623
6624    
6625    
6626    
6627
6628    
6629    
6630    
6631
6632if test -n "$ac_tool_prefix"; then
6633  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6634set dummy ${ac_tool_prefix}objdump; ac_word=$2
6635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636$as_echo_n "checking for $ac_word... " >&6; }
6637if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6638  $as_echo_n "(cached) " >&6
6639else
6640  if test -n "$OBJDUMP"; then
6641  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6642else
6643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644for as_dir in $PATH
6645do
6646  IFS=$as_save_IFS
6647  test -z "$as_dir" && as_dir=.
6648    for ac_exec_ext in '' $ac_executable_extensions; do
6649  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6650    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652    break 2
6653  fi
6654done
6655  done
6656IFS=$as_save_IFS
6657
6658fi
6659fi
6660OBJDUMP=$ac_cv_prog_OBJDUMP
6661if test -n "$OBJDUMP"; then
6662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6663$as_echo "$OBJDUMP" >&6; }
6664else
6665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666$as_echo "no" >&6; }
6667fi
6668
6669
6670fi
6671if test -z "$ac_cv_prog_OBJDUMP"; then
6672  ac_ct_OBJDUMP=$OBJDUMP
6673  # Extract the first word of "objdump", so it can be a program name with args.
6674set dummy objdump; ac_word=$2
6675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676$as_echo_n "checking for $ac_word... " >&6; }
6677if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6678  $as_echo_n "(cached) " >&6
6679else
6680  if test -n "$ac_ct_OBJDUMP"; then
6681  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6682else
6683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684for as_dir in $PATH
6685do
6686  IFS=$as_save_IFS
6687  test -z "$as_dir" && as_dir=.
6688    for ac_exec_ext in '' $ac_executable_extensions; do
6689  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6691    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692    break 2
6693  fi
6694done
6695  done
6696IFS=$as_save_IFS
6697
6698fi
6699fi
6700ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6701if test -n "$ac_ct_OBJDUMP"; then
6702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6703$as_echo "$ac_ct_OBJDUMP" >&6; }
6704else
6705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706$as_echo "no" >&6; }
6707fi
6708
6709  if test "x$ac_ct_OBJDUMP" = x; then
6710    OBJDUMP="false"
6711  else
6712    case $cross_compiling:$ac_tool_warned in
6713yes:)
6714{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6715$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6716ac_tool_warned=yes ;;
6717esac
6718    OBJDUMP=$ac_ct_OBJDUMP
6719  fi
6720else
6721  OBJDUMP="$ac_cv_prog_OBJDUMP"
6722fi
6723
6724test -z "$OBJDUMP" && OBJDUMP=objdump
6725
6726    
6727    
6728    
6729
6730
6731
6732
6733
6734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6735$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6736if test "${lt_cv_deplibs_check_method+set}" = set; then :
6737  $as_echo_n "(cached) " >&6
6738else
6739  lt_cv_file_magic_cmd='$MAGIC_CMD'
6740lt_cv_file_magic_test_file=
6741lt_cv_deplibs_check_method='unknown'
6742# Need to set the preceding variable on all platforms that support
6743# interlibrary dependencies.
6744# 'none' -- dependencies not supported.
6745# `unknown' -- same as none, but documents that we really don't know.
6746# 'pass_all' -- all dependencies passed with no checks.
6747# 'test_compile' -- check by making test program.
6748# 'file_magic [[regex]]' -- check by looking for files in library path
6749# which responds to the $file_magic_cmd with a given extended regex.
6750# If you have `file' or equivalent on your system and you're not sure
6751# whether `pass_all' will *always* work, you probably want this one.
6752
6753case $host_os in
6754aix[4-9]*)
6755  lt_cv_deplibs_check_method=pass_all
6756  ;;
6757
6758beos*)
6759  lt_cv_deplibs_check_method=pass_all
6760  ;;
6761
6762bsdi[45]*)
6763  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6764  lt_cv_file_magic_cmd='/usr/bin/file -L'
6765  lt_cv_file_magic_test_file=/shlib/libc.so
6766  ;;
6767
6768cygwin*)
6769  # func_win32_libid is a shell function defined in ltmain.sh
6770  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6771  lt_cv_file_magic_cmd='func_win32_libid'
6772  ;;
6773
6774mingw* | pw32*)
6775  # Base MSYS/MinGW do not provide the 'file' command needed by
6776  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6777  # unless we find 'file', for example because we are cross-compiling.
6778  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6779  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6780    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6781    lt_cv_file_magic_cmd='func_win32_libid'
6782  else
6783    # Keep this pattern in sync with the one in func_win32_libid.
6784    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6785    lt_cv_file_magic_cmd='$OBJDUMP -f'
6786  fi
6787  ;;
6788
6789cegcc*)
6790  # use the weaker test based on 'objdump'. See mingw*.
6791  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6792  lt_cv_file_magic_cmd='$OBJDUMP -f'
6793  ;;
6794
6795darwin* | rhapsody*)
6796  lt_cv_deplibs_check_method=pass_all
6797  ;;
6798
6799freebsd* | dragonfly*)
6800  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6801    case $host_cpu in
6802    i*86 )
6803      # Not sure whether the presence of OpenBSD here was a mistake.
6804      # Let's accept both of them until this is cleared up.
6805      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6806      lt_cv_file_magic_cmd=/usr/bin/file
6807      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6808      ;;
6809    esac
6810  else
6811    lt_cv_deplibs_check_method=pass_all
6812  fi
6813  ;;
6814
6815gnu*)
6816  lt_cv_deplibs_check_method=pass_all
6817  ;;
6818
6819haiku*)
6820  lt_cv_deplibs_check_method=pass_all
6821  ;;
6822
6823hpux10.20* | hpux11*)
6824  lt_cv_file_magic_cmd=/usr/bin/file
6825  case $host_cpu in
6826  ia64*)
6827    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6828    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6829    ;;
6830  hppa*64*)
6831    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6832    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6833    ;;
6834  *)
6835    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6836    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6837    ;;
6838  esac
6839  ;;
6840
6841interix[3-9]*)
6842  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6843  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6844  ;;
6845
6846irix5* | irix6* | nonstopux*)
6847  case $LD in
6848  *-32|*"-32 ") libmagic=32-bit;;
6849  *-n32|*"-n32 ") libmagic=N32;;
6850  *-64|*"-64 ") libmagic=64-bit;;
6851  *) libmagic=never-match;;
6852  esac
6853  lt_cv_deplibs_check_method=pass_all
6854  ;;
6855
6856# This must be glibc/ELF.
6857linux* | k*bsd*-gnu | kopensolaris*-gnu)
6858  lt_cv_deplibs_check_method=pass_all
6859  ;;
6860
6861netbsd*)
6862  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6863    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6864  else
6865    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6866  fi
6867  ;;
6868
6869newos6*)
6870  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6871  lt_cv_file_magic_cmd=/usr/bin/file
6872  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6873  ;;
6874
6875*nto* | *qnx*)
6876  lt_cv_deplibs_check_method=pass_all
6877  ;;
6878
6879openbsd*)
6880  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6881    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6882  else
6883    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6884  fi
6885  ;;
6886
6887osf3* | osf4* | osf5*)
6888  lt_cv_deplibs_check_method=pass_all
6889  ;;
6890
6891rdos*)
6892  lt_cv_deplibs_check_method=pass_all
6893  ;;
6894
6895solaris*)
6896  lt_cv_deplibs_check_method=pass_all
6897  ;;
6898
6899sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6900  lt_cv_deplibs_check_method=pass_all
6901  ;;
6902
6903sysv4 | sysv4.3*)
6904  case $host_vendor in
6905  motorola)
6906    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6907    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6908    ;;
6909  ncr)
6910    lt_cv_deplibs_check_method=pass_all
6911    ;;
6912  sequent)
6913    lt_cv_file_magic_cmd='/bin/file'
6914    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6915    ;;
6916  sni)
6917    lt_cv_file_magic_cmd='/bin/file'
6918    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6919    lt_cv_file_magic_test_file=/lib/libc.so
6920    ;;
6921  siemens)
6922    lt_cv_deplibs_check_method=pass_all
6923    ;;
6924  pc)
6925    lt_cv_deplibs_check_method=pass_all
6926    ;;
6927  esac
6928  ;;
6929
6930tpf*)
6931  lt_cv_deplibs_check_method=pass_all
6932  ;;
6933esac
6934
6935fi
6936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6937$as_echo "$lt_cv_deplibs_check_method" >&6; }
6938
6939file_magic_glob=
6940want_nocaseglob=no
6941if test "$build" = "$host"; then
6942  case $host_os in
6943  mingw* | pw32*)
6944    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6945      want_nocaseglob=yes
6946    else
6947      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6948    fi
6949    ;;
6950  esac
6951fi
6952
6953file_magic_cmd=$lt_cv_file_magic_cmd
6954deplibs_check_method=$lt_cv_deplibs_check_method
6955test -z "$deplibs_check_method" && deplibs_check_method=unknown
6956
6957
6958    
6959    
6960    
6961
6962
6963    
6964    
6965    
6966
6967
6968    
6969    
6970    
6971
6972
6973    
6974    
6975    
6976
6977
6978if test -n "$ac_tool_prefix"; then
6979  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6980set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982$as_echo_n "checking for $ac_word... " >&6; }
6983if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6984  $as_echo_n "(cached) " >&6
6985else
6986  if test -n "$DLLTOOL"; then
6987  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6988else
6989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990for as_dir in $PATH
6991do
6992  IFS=$as_save_IFS
6993  test -z "$as_dir" && as_dir=.
6994    for ac_exec_ext in '' $ac_executable_extensions; do
6995  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998    break 2
6999  fi
7000done
7001  done
7002IFS=$as_save_IFS
7003
7004fi
7005fi
7006DLLTOOL=$ac_cv_prog_DLLTOOL
7007if test -n "$DLLTOOL"; then
7008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7009$as_echo "$DLLTOOL" >&6; }
7010else
7011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012$as_echo "no" >&6; }
7013fi
7014
7015
7016fi
7017if test -z "$ac_cv_prog_DLLTOOL"; then
7018  ac_ct_DLLTOOL=$DLLTOOL
7019  # Extract the first word of "dlltool", so it can be a program name with args.
7020set dummy dlltool; ac_word=$2
7021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022$as_echo_n "checking for $ac_word... " >&6; }
7023if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7024  $as_echo_n "(cached) " >&6
7025else
7026  if test -n "$ac_ct_DLLTOOL"; then
7027  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7028else
7029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030for as_dir in $PATH
7031do
7032  IFS=$as_save_IFS
7033  test -z "$as_dir" && as_dir=.
7034    for ac_exec_ext in '' $ac_executable_extensions; do
7035  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7036    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038    break 2
7039  fi
7040done
7041  done
7042IFS=$as_save_IFS
7043
7044fi
7045fi
7046ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7047if test -n "$ac_ct_DLLTOOL"; then
7048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7049$as_echo "$ac_ct_DLLTOOL" >&6; }
7050else
7051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052$as_echo "no" >&6; }
7053fi
7054
7055  if test "x$ac_ct_DLLTOOL" = x; then
7056    DLLTOOL="false"
7057  else
7058    case $cross_compiling:$ac_tool_warned in
7059yes:)
7060{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7061$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7062ac_tool_warned=yes ;;
7063esac
7064    DLLTOOL=$ac_ct_DLLTOOL
7065  fi
7066else
7067  DLLTOOL="$ac_cv_prog_DLLTOOL"
7068fi
7069
7070test -z "$DLLTOOL" && DLLTOOL=dlltool
7071
7072    
7073    
7074    
7075
7076
7077
7078
7079
7080
7081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7082$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7083if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
7084  $as_echo_n "(cached) " >&6
7085else
7086  lt_cv_sharedlib_from_linklib_cmd='unknown'
7087
7088case $host_os in
7089cygwin* | mingw* | pw32* | cegcc*)
7090  # two different shell functions defined in ltmain.sh
7091  # decide which to use based on capabilities of $DLLTOOL
7092  case `$DLLTOOL --help 2>&1` in
7093  *--identify-strict*)
7094    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7095    ;;
7096  *)
7097    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7098    ;;
7099  esac
7100  ;;
7101*)
7102  # fallback: assume linklib IS sharedlib
7103  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7104  ;;
7105esac
7106
7107fi
7108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7109$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7110sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7111test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7112
7113
7114    
7115    
7116    
7117
7118
7119if test -n "$ac_tool_prefix"; then
7120  for ac_prog in ar
7121  do
7122    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7123set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125$as_echo_n "checking for $ac_word... " >&6; }
7126if test "${ac_cv_prog_AR+set}" = set; then :
7127  $as_echo_n "(cached) " >&6
7128else
7129  if test -n "$AR"; then
7130  ac_cv_prog_AR="$AR" # Let the user override the test.
7131else
7132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133for as_dir in $PATH
7134do
7135  IFS=$as_save_IFS
7136  test -z "$as_dir" && as_dir=.
7137    for ac_exec_ext in '' $ac_executable_extensions; do
7138  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141    break 2
7142  fi
7143done
7144  done
7145IFS=$as_save_IFS
7146
7147fi
7148fi
7149AR=$ac_cv_prog_AR
7150if test -n "$AR"; then
7151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7152$as_echo "$AR" >&6; }
7153else
7154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155$as_echo "no" >&6; }
7156fi
7157
7158
7159    test -n "$AR" && break
7160  done
7161fi
7162if test -z "$AR"; then
7163  ac_ct_AR=$AR
7164  for ac_prog in ar
7165do
7166  # Extract the first word of "$ac_prog", so it can be a program name with args.
7167set dummy $ac_prog; ac_word=$2
7168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169$as_echo_n "checking for $ac_word... " >&6; }
7170if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7171  $as_echo_n "(cached) " >&6
7172else
7173  if test -n "$ac_ct_AR"; then
7174  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7175else
7176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177for as_dir in $PATH
7178do
7179  IFS=$as_save_IFS
7180  test -z "$as_dir" && as_dir=.
7181    for ac_exec_ext in '' $ac_executable_extensions; do
7182  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183    ac_cv_prog_ac_ct_AR="$ac_prog"
7184    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185    break 2
7186  fi
7187done
7188  done
7189IFS=$as_save_IFS
7190
7191fi
7192fi
7193ac_ct_AR=$ac_cv_prog_ac_ct_AR
7194if test -n "$ac_ct_AR"; then
7195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7196$as_echo "$ac_ct_AR" >&6; }
7197else
7198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199$as_echo "no" >&6; }
7200fi
7201
7202
7203  test -n "$ac_ct_AR" && break
7204done
7205
7206  if test "x$ac_ct_AR" = x; then
7207    AR="false"
7208  else
7209    case $cross_compiling:$ac_tool_warned in
7210yes:)
7211{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7212$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7213ac_tool_warned=yes ;;
7214esac
7215    AR=$ac_ct_AR
7216  fi
7217fi
7218
7219: ${AR=ar}
7220: ${AR_FLAGS=cru}
7221
7222    
7223    
7224    
7225
7226
7227    
7228    
7229    
7230
7231
7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7233$as_echo_n "checking for archiver @FILE support... " >&6; }
7234if test "${lt_cv_ar_at_file+set}" = set; then :
7235  $as_echo_n "(cached) " >&6
7236else
7237  lt_cv_ar_at_file=no
7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239/* end confdefs.h.  */
7240
7241int
7242main ()
7243{
7244
7245  ;
7246  return 0;
7247}
7248_ACEOF
7249if ac_fn_c_try_compile "$LINENO"; then :
7250  echo conftest.$ac_objext > conftest.lst
7251      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7252      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7253  (eval $lt_ar_try) 2>&5
7254  ac_status=$?
7255  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256  test $ac_status = 0; }
7257      if test "$ac_status" -eq 0; then
7258	# Ensure the archiver fails upon bogus file names.
7259	rm -f conftest.$ac_objext libconftest.a
7260	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7261  (eval $lt_ar_try) 2>&5
7262  ac_status=$?
7263  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7264  test $ac_status = 0; }
7265	if test "$ac_status" -ne 0; then
7266          lt_cv_ar_at_file=@
7267        fi
7268      fi
7269      rm -f conftest.* libconftest.a
7270     
7271fi
7272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7273  
7274fi
7275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7276$as_echo "$lt_cv_ar_at_file" >&6; }
7277
7278if test "x$lt_cv_ar_at_file" = xno; then
7279  archiver_list_spec=
7280else
7281  archiver_list_spec=$lt_cv_ar_at_file
7282fi
7283
7284    
7285    
7286    
7287
7288
7289
7290if test -n "$ac_tool_prefix"; then
7291  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7292set dummy ${ac_tool_prefix}strip; ac_word=$2
7293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294$as_echo_n "checking for $ac_word... " >&6; }
7295if test "${ac_cv_prog_STRIP+set}" = set; then :
7296  $as_echo_n "(cached) " >&6
7297else
7298  if test -n "$STRIP"; then
7299  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7300else
7301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7302for as_dir in $PATH
7303do
7304  IFS=$as_save_IFS
7305  test -z "$as_dir" && as_dir=.
7306    for ac_exec_ext in '' $ac_executable_extensions; do
7307  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7308    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310    break 2
7311  fi
7312done
7313  done
7314IFS=$as_save_IFS
7315
7316fi
7317fi
7318STRIP=$ac_cv_prog_STRIP
7319if test -n "$STRIP"; then
7320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7321$as_echo "$STRIP" >&6; }
7322else
7323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324$as_echo "no" >&6; }
7325fi
7326
7327
7328fi
7329if test -z "$ac_cv_prog_STRIP"; then
7330  ac_ct_STRIP=$STRIP
7331  # Extract the first word of "strip", so it can be a program name with args.
7332set dummy strip; ac_word=$2
7333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7334$as_echo_n "checking for $ac_word... " >&6; }
7335if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7336  $as_echo_n "(cached) " >&6
7337else
7338  if test -n "$ac_ct_STRIP"; then
7339  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7340else
7341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7342for as_dir in $PATH
7343do
7344  IFS=$as_save_IFS
7345  test -z "$as_dir" && as_dir=.
7346    for ac_exec_ext in '' $ac_executable_extensions; do
7347  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7348    ac_cv_prog_ac_ct_STRIP="strip"
7349    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350    break 2
7351  fi
7352done
7353  done
7354IFS=$as_save_IFS
7355
7356fi
7357fi
7358ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7359if test -n "$ac_ct_STRIP"; then
7360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7361$as_echo "$ac_ct_STRIP" >&6; }
7362else
7363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364$as_echo "no" >&6; }
7365fi
7366
7367  if test "x$ac_ct_STRIP" = x; then
7368    STRIP=":"
7369  else
7370    case $cross_compiling:$ac_tool_warned in
7371yes:)
7372{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7373$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7374ac_tool_warned=yes ;;
7375esac
7376    STRIP=$ac_ct_STRIP
7377  fi
7378else
7379  STRIP="$ac_cv_prog_STRIP"
7380fi
7381
7382test -z "$STRIP" && STRIP=:
7383
7384    
7385    
7386    
7387
7388
7389if test -n "$ac_tool_prefix"; then
7390  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7391set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393$as_echo_n "checking for $ac_word... " >&6; }
7394if test "${ac_cv_prog_RANLIB+set}" = set; then :
7395  $as_echo_n "(cached) " >&6
7396else
7397  if test -n "$RANLIB"; then
7398  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7399else
7400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401for as_dir in $PATH
7402do
7403  IFS=$as_save_IFS
7404  test -z "$as_dir" && as_dir=.
7405    for ac_exec_ext in '' $ac_executable_extensions; do
7406  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7407    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7408    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409    break 2
7410  fi
7411done
7412  done
7413IFS=$as_save_IFS
7414
7415fi
7416fi
7417RANLIB=$ac_cv_prog_RANLIB
7418if test -n "$RANLIB"; then
7419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7420$as_echo "$RANLIB" >&6; }
7421else
7422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423$as_echo "no" >&6; }
7424fi
7425
7426
7427fi
7428if test -z "$ac_cv_prog_RANLIB"; then
7429  ac_ct_RANLIB=$RANLIB
7430  # Extract the first word of "ranlib", so it can be a program name with args.
7431set dummy ranlib; ac_word=$2
7432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433$as_echo_n "checking for $ac_word... " >&6; }
7434if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7435  $as_echo_n "(cached) " >&6
7436else
7437  if test -n "$ac_ct_RANLIB"; then
7438  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7439else
7440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441for as_dir in $PATH
7442do
7443  IFS=$as_save_IFS
7444  test -z "$as_dir" && as_dir=.
7445    for ac_exec_ext in '' $ac_executable_extensions; do
7446  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447    ac_cv_prog_ac_ct_RANLIB="ranlib"
7448    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449    break 2
7450  fi
7451done
7452  done
7453IFS=$as_save_IFS
7454
7455fi
7456fi
7457ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7458if test -n "$ac_ct_RANLIB"; then
7459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7460$as_echo "$ac_ct_RANLIB" >&6; }
7461else
7462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463$as_echo "no" >&6; }
7464fi
7465
7466  if test "x$ac_ct_RANLIB" = x; then
7467    RANLIB=":"
7468  else
7469    case $cross_compiling:$ac_tool_warned in
7470yes:)
7471{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7472$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7473ac_tool_warned=yes ;;
7474esac
7475    RANLIB=$ac_ct_RANLIB
7476  fi
7477else
7478  RANLIB="$ac_cv_prog_RANLIB"
7479fi
7480
7481test -z "$RANLIB" && RANLIB=:
7482
7483    
7484    
7485    
7486
7487
7488# Determine commands to create old-style static archives.
7489old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7490old_postinstall_cmds='chmod 644 $oldlib'
7491old_postuninstall_cmds=
7492
7493if test -n "$RANLIB"; then
7494  case $host_os in
7495  openbsd*)
7496    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7497    ;;
7498  *)
7499    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7500    ;;
7501  esac
7502  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7503fi
7504
7505case $host_os in
7506  darwin*)
7507    lock_old_archive_extraction=yes ;;
7508  *)
7509    lock_old_archive_extraction=no ;;
7510esac
7511
7512    
7513    
7514    
7515
7516
7517    
7518    
7519    
7520
7521
7522    
7523    
7524    
7525
7526
7527    
7528    
7529    
7530
7531
7532
7533
7534    
7535    
7536    
7537
7538    
7539    
7540    
7541
7542    
7543    
7544    
7545
7546    
7547    
7548    
7549
7550# If no C compiler was specified, use CC.
7551LTCC=${LTCC-"$CC"}
7552
7553# If no C compiler flags were specified, use CFLAGS.
7554LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7555
7556# Allow CC to be a program name with arguments.
7557compiler=$CC
7558
7559
7560# Check for command to grab the raw symbol name followed by C symbol from nm.
7561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7562$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7563if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7564  $as_echo_n "(cached) " >&6
7565else
7566  
7567# These are sane defaults that work on at least a few old systems.
7568# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7569
7570# Character class describing NM global symbol codes.
7571symcode='[BCDEGRST]'
7572
7573# Regexp to match symbols that can be accessed directly from C.
7574sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7575
7576# Define system-specific variables.
7577case $host_os in
7578aix*)
7579  symcode='[BCDT]'
7580  ;;
7581cygwin* | mingw* | pw32* | cegcc*)
7582  symcode='[ABCDGISTW]'
7583  ;;
7584hpux*)
7585  if test "$host_cpu" = ia64; then
7586    symcode='[ABCDEGRST]'
7587  fi
7588  ;;
7589irix* | nonstopux*)
7590  symcode='[BCDEGRST]'
7591  ;;
7592osf*)
7593  symcode='[BCDEGQRST]'
7594  ;;
7595solaris*)
7596  symcode='[BDRT]'
7597  ;;
7598sco3.2v5*)
7599  symcode='[DT]'
7600  ;;
7601sysv4.2uw2*)
7602  symcode='[DT]'
7603  ;;
7604sysv5* | sco5v6* | unixware* | OpenUNIX*)
7605  symcode='[ABDT]'
7606  ;;
7607sysv4)
7608  symcode='[DFNSTU]'
7609  ;;
7610esac
7611
7612# If we're using GNU nm, then use its standard symbol codes.
7613case `$NM -V 2>&1` in
7614*GNU* | *'with BFD'*)
7615  symcode='[ABCDGIRSTW]' ;;
7616esac
7617
7618# Transform an extracted symbol line into a proper C declaration.
7619# Some systems (esp. on ia64) link data and code symbols differently,
7620# so use this general approach.
7621lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7622
7623# Transform an extracted symbol line into symbol name and symbol address
7624lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7625lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7626
7627# Handle CRLF in mingw tool chain
7628opt_cr=
7629case $build_os in
7630mingw*)
7631  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7632  ;;
7633esac
7634
7635# Try without a prefix underscore, then with it.
7636for ac_symprfx in "" "_"; do
7637
7638  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7639  symxfrm="\\1 $ac_symprfx\\2 \\2"
7640
7641  # Write the raw and C identifiers.
7642  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7643    # Fake it for dumpbin and say T for any non-static function
7644    # and D for any global variable.
7645    # Also find C++ and __fastcall symbols from MSVC++,
7646    # which start with @ or ?.
7647    lt_cv_sys_global_symbol_pipe="$AWK '"\
7648"     {last_section=section; section=\$ 3};"\
7649"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7650"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7651"     \$ 0!~/External *\|/{next};"\
7652"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7653"     {if(hide[section]) next};"\
7654"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7655"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7656"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7657"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7658"     ' prfx=^$ac_symprfx"
7659  else
7660    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7661  fi
7662  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7663
7664  # Check to see that the pipe works correctly.
7665  pipe_works=no
7666
7667  rm -f conftest*
7668  cat > conftest.$ac_ext <<_LT_EOF
7669#ifdef __cplusplus
7670extern "C" {
7671#endif
7672char nm_test_var;
7673void nm_test_func(void);
7674void nm_test_func(void){}
7675#ifdef __cplusplus
7676}
7677#endif
7678int main(){nm_test_var='a';nm_test_func();return(0);}
7679_LT_EOF
7680
7681  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7682  (eval $ac_compile) 2>&5
7683  ac_status=$?
7684  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7685  test $ac_status = 0; }; then
7686    # Now try to grab the symbols.
7687    nlist=conftest.nm
7688    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7689  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7690  ac_status=$?
7691  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7692  test $ac_status = 0; } && test -s "$nlist"; then
7693      # Try sorting and uniquifying the output.
7694      if sort "$nlist" | uniq > "$nlist"T; then
7695	mv -f "$nlist"T "$nlist"
7696      else
7697	rm -f "$nlist"T
7698      fi
7699
7700      # Make sure that we snagged all the symbols we need.
7701      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7702	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7703	  cat <<_LT_EOF > conftest.$ac_ext
7704/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7705#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7706/* DATA imports from DLLs on WIN32 con't be const, because runtime
7707   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7708# define LT@&t@_DLSYM_CONST
7709#elif defined(__osf__)
7710/* This system does not cope well with relocations in const data.  */
7711# define LT@&t@_DLSYM_CONST
7712#else
7713# define LT@&t@_DLSYM_CONST const
7714#endif
7715
7716#ifdef __cplusplus
7717extern "C" {
7718#endif
7719
7720_LT_EOF
7721	  # Now generate the symbol file.
7722	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7723
7724	  cat <<_LT_EOF >> conftest.$ac_ext
7725
7726/* The mapping between symbol names and symbols.  */
7727LT@&t@_DLSYM_CONST struct {
7728  const char *name;
7729  void       *address;
7730}
7731lt__PROGRAM__LTX_preloaded_symbols[] =
7732{
7733  { "@PROGRAM@", (void *) 0 },
7734_LT_EOF
7735	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7736	  cat <<\_LT_EOF >> conftest.$ac_ext
7737  {0, (void *) 0}
7738};
7739
7740/* This works around a problem in FreeBSD linker */
7741#ifdef FREEBSD_WORKAROUND
7742static const void *lt_preloaded_setup() {
7743  return lt__PROGRAM__LTX_preloaded_symbols;
7744}
7745#endif
7746
7747#ifdef __cplusplus
7748}
7749#endif
7750_LT_EOF
7751	  # Now try linking the two files.
7752	  mv conftest.$ac_objext conftstm.$ac_objext
7753	  lt_globsym_save_LIBS=$LIBS
7754	  lt_globsym_save_CFLAGS=$CFLAGS
7755	  LIBS="conftstm.$ac_objext"
7756	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7757	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7758  (eval $ac_link) 2>&5
7759  ac_status=$?
7760  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7761  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7762	    pipe_works=yes
7763	  fi
7764	  LIBS=$lt_globsym_save_LIBS
7765	  CFLAGS=$lt_globsym_save_CFLAGS
7766	else
7767	  echo "cannot find nm_test_func in $nlist" >&5
7768	fi
7769      else
7770	echo "cannot find nm_test_var in $nlist" >&5
7771      fi
7772    else
7773      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7774    fi
7775  else
7776    echo "$progname: failed program was:" >&5
7777    cat conftest.$ac_ext >&5
7778  fi
7779  rm -rf conftest* conftst*
7780
7781  # Do not use the global_symbol_pipe unless it works.
7782  if test "$pipe_works" = yes; then
7783    break
7784  else
7785    lt_cv_sys_global_symbol_pipe=
7786  fi
7787done
7788
7789fi
7790
7791if test -z "$lt_cv_sys_global_symbol_pipe"; then
7792  lt_cv_sys_global_symbol_to_cdecl=
7793fi
7794if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7796$as_echo "failed" >&6; }
7797else
7798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7799$as_echo "ok" >&6; }
7800fi
7801
7802# Response file support.
7803if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7804  nm_file_list_spec='@'
7805elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7806  nm_file_list_spec='@'
7807fi
7808
7809
7810    
7811    
7812    
7813
7814
7815    
7816    
7817    
7818
7819
7820    
7821    
7822    
7823
7824
7825    
7826    
7827    
7828
7829
7830    
7831    
7832    
7833
7834
7835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7836$as_echo_n "checking for sysroot... " >&6; }
7837
7838@%:@ Check whether --with-sysroot was given.
7839if test "${with_sysroot+set}" = set; then :
7840  withval=$with_sysroot; 
7841else
7842  with_sysroot=no
7843fi
7844
7845
7846lt_sysroot=
7847case ${with_sysroot} in #(
7848 yes)
7849   if test "$GCC" = yes; then
7850     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7851   fi
7852   ;; #(
7853 /*)
7854   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7855   ;; #(
7856 no|'')
7857   ;; #(
7858 *)
7859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7860$as_echo "${with_sysroot}" >&6; }
7861   as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
7862   ;;
7863esac
7864
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7866$as_echo "${lt_sysroot:-no}" >&6; }
7867
7868    
7869    
7870    
7871
7872@%:@ Check whether --enable-libtool-lock was given.
7873if test "${enable_libtool_lock+set}" = set; then :
7874  enableval=$enable_libtool_lock; 
7875fi
7876
7877test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7878
7879# Some flags need to be propagated to the compiler or linker for good
7880# libtool support.
7881case $host in
7882ia64-*-hpux*)
7883  # Find out which ABI we are using.
7884  echo 'int i;' > conftest.$ac_ext
7885  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7886  (eval $ac_compile) 2>&5
7887  ac_status=$?
7888  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7889  test $ac_status = 0; }; then
7890    case `/usr/bin/file conftest.$ac_objext` in
7891      *ELF-32*)
7892	HPUX_IA64_MODE="32"
7893	;;
7894      *ELF-64*)
7895	HPUX_IA64_MODE="64"
7896	;;
7897    esac
7898  fi
7899  rm -rf conftest*
7900  ;;
7901*-*-irix6*)
7902  # Find out which ABI we are using.
7903  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7904  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7905  (eval $ac_compile) 2>&5
7906  ac_status=$?
7907  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7908  test $ac_status = 0; }; then
7909    if test "$lt_cv_prog_gnu_ld" = yes; then
7910      case `/usr/bin/file conftest.$ac_objext` in
7911	*32-bit*)
7912	  LD="${LD-ld} -melf32bsmip"
7913	  ;;
7914	*N32*)
7915	  LD="${LD-ld} -melf32bmipn32"
7916	  ;;
7917	*64-bit*)
7918	  LD="${LD-ld} -melf64bmip"
7919	;;
7920      esac
7921    else
7922      case `/usr/bin/file conftest.$ac_objext` in
7923	*32-bit*)
7924	  LD="${LD-ld} -32"
7925	  ;;
7926	*N32*)
7927	  LD="${LD-ld} -n32"
7928	  ;;
7929	*64-bit*)
7930	  LD="${LD-ld} -64"
7931	  ;;
7932      esac
7933    fi
7934  fi
7935  rm -rf conftest*
7936  ;;
7937
7938x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7939s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7940  # Find out which ABI we are using.
7941  echo 'int i;' > conftest.$ac_ext
7942  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7943  (eval $ac_compile) 2>&5
7944  ac_status=$?
7945  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7946  test $ac_status = 0; }; then
7947    case `/usr/bin/file conftest.o` in
7948      *32-bit*)
7949	case $host in
7950	  x86_64-*kfreebsd*-gnu)
7951	    LD="${LD-ld} -m elf_i386_fbsd"
7952	    ;;
7953	  x86_64-*linux*)
7954	    LD="${LD-ld} -m elf_i386"
7955	    ;;
7956	  ppc64-*linux*|powerpc64-*linux*)
7957	    LD="${LD-ld} -m elf32ppclinux"
7958	    ;;
7959	  s390x-*linux*)
7960	    LD="${LD-ld} -m elf_s390"
7961	    ;;
7962	  sparc64-*linux*)
7963	    LD="${LD-ld} -m elf32_sparc"
7964	    ;;
7965	esac
7966	;;
7967      *64-bit*)
7968	case $host in
7969	  x86_64-*kfreebsd*-gnu)
7970	    LD="${LD-ld} -m elf_x86_64_fbsd"
7971	    ;;
7972	  x86_64-*linux*)
7973	    LD="${LD-ld} -m elf_x86_64"
7974	    ;;
7975	  ppc*-*linux*|powerpc*-*linux*)
7976	    LD="${LD-ld} -m elf64ppc"
7977	    ;;
7978	  s390*-*linux*|s390*-*tpf*)
7979	    LD="${LD-ld} -m elf64_s390"
7980	    ;;
7981	  sparc*-*linux*)
7982	    LD="${LD-ld} -m elf64_sparc"
7983	    ;;
7984	esac
7985	;;
7986    esac
7987  fi
7988  rm -rf conftest*
7989  ;;
7990
7991*-*-sco3.2v5*)
7992  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7993  SAVE_CFLAGS="$CFLAGS"
7994  CFLAGS="$CFLAGS -belf"
7995  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7996$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7997if test "${lt_cv_cc_needs_belf+set}" = set; then :
7998  $as_echo_n "(cached) " >&6
7999else
8000  ac_ext=c
8001ac_cpp='$CPP $CPPFLAGS'
8002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8004ac_compiler_gnu=$ac_cv_c_compiler_gnu
8005
8006     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8007/* end confdefs.h.  */
8008
8009int
8010main ()
8011{
8012
8013  ;
8014  return 0;
8015}
8016_ACEOF
8017if ac_fn_c_try_link "$LINENO"; then :
8018  lt_cv_cc_needs_belf=yes
8019else
8020  lt_cv_cc_needs_belf=no
8021fi
8022rm -f core conftest.err conftest.$ac_objext \
8023    conftest$ac_exeext conftest.$ac_ext
8024     ac_ext=c
8025ac_cpp='$CPP $CPPFLAGS'
8026ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8027ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8028ac_compiler_gnu=$ac_cv_c_compiler_gnu
8029
8030fi
8031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8032$as_echo "$lt_cv_cc_needs_belf" >&6; }
8033  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8034    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8035    CFLAGS="$SAVE_CFLAGS"
8036  fi
8037  ;;
8038*-*solaris*)
8039  # Find out which ABI we are using.
8040  echo 'int i;' > conftest.$ac_ext
8041  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8042  (eval $ac_compile) 2>&5
8043  ac_status=$?
8044  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8045  test $ac_status = 0; }; then
8046    case `/usr/bin/file conftest.o` in
8047    *64-bit*)
8048      case $lt_cv_prog_gnu_ld in
8049      yes*)
8050        case $host in
8051        i?86-*-solaris*)
8052          LD="${LD-ld} -m elf_x86_64"
8053          ;;
8054        sparc*-*-solaris*)
8055          LD="${LD-ld} -m elf64_sparc"
8056          ;;
8057        esac
8058        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8059        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8060          LD="${LD-ld}_sol2"
8061        fi
8062        ;;
8063      *)
8064	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8065	  LD="${LD-ld} -64"
8066	fi
8067	;;
8068      esac
8069      ;;
8070    esac
8071  fi
8072  rm -rf conftest*
8073  ;;
8074esac
8075
8076need_locks="$enable_libtool_lock"
8077
8078if test -n "$ac_tool_prefix"; then
8079  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8080set dummy ${ac_tool_prefix}mt; ac_word=$2
8081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8082$as_echo_n "checking for $ac_word... " >&6; }
8083if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
8084  $as_echo_n "(cached) " >&6
8085else
8086  if test -n "$MANIFEST_TOOL"; then
8087  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8088else
8089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8090for as_dir in $PATH
8091do
8092  IFS=$as_save_IFS
8093  test -z "$as_dir" && as_dir=.
8094    for ac_exec_ext in '' $ac_executable_extensions; do
8095  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8096    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8097    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8098    break 2
8099  fi
8100done
8101  done
8102IFS=$as_save_IFS
8103
8104fi
8105fi
8106MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8107if test -n "$MANIFEST_TOOL"; then
8108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8109$as_echo "$MANIFEST_TOOL" >&6; }
8110else
8111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112$as_echo "no" >&6; }
8113fi
8114
8115
8116fi
8117if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8118  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8119  # Extract the first word of "mt", so it can be a program name with args.
8120set dummy mt; ac_word=$2
8121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8122$as_echo_n "checking for $ac_word... " >&6; }
8123if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
8124  $as_echo_n "(cached) " >&6
8125else
8126  if test -n "$ac_ct_MANIFEST_TOOL"; then
8127  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8128else
8129as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130for as_dir in $PATH
8131do
8132  IFS=$as_save_IFS
8133  test -z "$as_dir" && as_dir=.
8134    for ac_exec_ext in '' $ac_executable_extensions; do
8135  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8136    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8137    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8138    break 2
8139  fi
8140done
8141  done
8142IFS=$as_save_IFS
8143
8144fi
8145fi
8146ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8147if test -n "$ac_ct_MANIFEST_TOOL"; then
8148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8149$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8150else
8151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152$as_echo "no" >&6; }
8153fi
8154
8155  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8156    MANIFEST_TOOL=":"
8157  else
8158    case $cross_compiling:$ac_tool_warned in
8159yes:)
8160{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8161$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8162ac_tool_warned=yes ;;
8163esac
8164    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8165  fi
8166else
8167  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8168fi
8169
8170test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8172$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8173if test "${lt_cv_path_mainfest_tool+set}" = set; then :
8174  $as_echo_n "(cached) " >&6
8175else
8176  lt_cv_path_mainfest_tool=no
8177  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8178  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8179  cat conftest.err >&5
8180  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8181    lt_cv_path_mainfest_tool=yes
8182  fi
8183  rm -f conftest*
8184fi
8185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8186$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8187if test "x$lt_cv_path_mainfest_tool" != xyes; then
8188  MANIFEST_TOOL=:
8189fi
8190
8191    
8192    
8193    
8194
8195
8196  case $host_os in
8197    rhapsody* | darwin*)
8198    if test -n "$ac_tool_prefix"; then
8199  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8200set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202$as_echo_n "checking for $ac_word... " >&6; }
8203if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8204  $as_echo_n "(cached) " >&6
8205else
8206  if test -n "$DSYMUTIL"; then
8207  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8208else
8209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210for as_dir in $PATH
8211do
8212  IFS=$as_save_IFS
8213  test -z "$as_dir" && as_dir=.
8214    for ac_exec_ext in '' $ac_executable_extensions; do
8215  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218    break 2
8219  fi
8220done
8221  done
8222IFS=$as_save_IFS
8223
8224fi
8225fi
8226DSYMUTIL=$ac_cv_prog_DSYMUTIL
8227if test -n "$DSYMUTIL"; then
8228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8229$as_echo "$DSYMUTIL" >&6; }
8230else
8231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232$as_echo "no" >&6; }
8233fi
8234
8235
8236fi
8237if test -z "$ac_cv_prog_DSYMUTIL"; then
8238  ac_ct_DSYMUTIL=$DSYMUTIL
8239  # Extract the first word of "dsymutil", so it can be a program name with args.
8240set dummy dsymutil; ac_word=$2
8241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242$as_echo_n "checking for $ac_word... " >&6; }
8243if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8244  $as_echo_n "(cached) " >&6
8245else
8246  if test -n "$ac_ct_DSYMUTIL"; then
8247  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8248else
8249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250for as_dir in $PATH
8251do
8252  IFS=$as_save_IFS
8253  test -z "$as_dir" && as_dir=.
8254    for ac_exec_ext in '' $ac_executable_extensions; do
8255  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8256    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8257    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258    break 2
8259  fi
8260done
8261  done
8262IFS=$as_save_IFS
8263
8264fi
8265fi
8266ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8267if test -n "$ac_ct_DSYMUTIL"; then
8268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8269$as_echo "$ac_ct_DSYMUTIL" >&6; }
8270else
8271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272$as_echo "no" >&6; }
8273fi
8274
8275  if test "x$ac_ct_DSYMUTIL" = x; then
8276    DSYMUTIL=":"
8277  else
8278    case $cross_compiling:$ac_tool_warned in
8279yes:)
8280{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282ac_tool_warned=yes ;;
8283esac
8284    DSYMUTIL=$ac_ct_DSYMUTIL
8285  fi
8286else
8287  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8288fi
8289
8290    if test -n "$ac_tool_prefix"; then
8291  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8292set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294$as_echo_n "checking for $ac_word... " >&6; }
8295if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8296  $as_echo_n "(cached) " >&6
8297else
8298  if test -n "$NMEDIT"; then
8299  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8300else
8301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302for as_dir in $PATH
8303do
8304  IFS=$as_save_IFS
8305  test -z "$as_dir" && as_dir=.
8306    for ac_exec_ext in '' $ac_executable_extensions; do
8307  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310    break 2
8311  fi
8312done
8313  done
8314IFS=$as_save_IFS
8315
8316fi
8317fi
8318NMEDIT=$ac_cv_prog_NMEDIT
8319if test -n "$NMEDIT"; then
8320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8321$as_echo "$NMEDIT" >&6; }
8322else
8323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324$as_echo "no" >&6; }
8325fi
8326
8327
8328fi
8329if test -z "$ac_cv_prog_NMEDIT"; then
8330  ac_ct_NMEDIT=$NMEDIT
8331  # Extract the first word of "nmedit", so it can be a program name with args.
8332set dummy nmedit; ac_word=$2
8333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334$as_echo_n "checking for $ac_word... " >&6; }
8335if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8336  $as_echo_n "(cached) " >&6
8337else
8338  if test -n "$ac_ct_NMEDIT"; then
8339  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8340else
8341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342for as_dir in $PATH
8343do
8344  IFS=$as_save_IFS
8345  test -z "$as_dir" && as_dir=.
8346    for ac_exec_ext in '' $ac_executable_extensions; do
8347  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8349    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350    break 2
8351  fi
8352done
8353  done
8354IFS=$as_save_IFS
8355
8356fi
8357fi
8358ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8359if test -n "$ac_ct_NMEDIT"; then
8360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8361$as_echo "$ac_ct_NMEDIT" >&6; }
8362else
8363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364$as_echo "no" >&6; }
8365fi
8366
8367  if test "x$ac_ct_NMEDIT" = x; then
8368    NMEDIT=":"
8369  else
8370    case $cross_compiling:$ac_tool_warned in
8371yes:)
8372{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374ac_tool_warned=yes ;;
8375esac
8376    NMEDIT=$ac_ct_NMEDIT
8377  fi
8378else
8379  NMEDIT="$ac_cv_prog_NMEDIT"
8380fi
8381
8382    if test -n "$ac_tool_prefix"; then
8383  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8384set dummy ${ac_tool_prefix}lipo; ac_word=$2
8385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386$as_echo_n "checking for $ac_word... " >&6; }
8387if test "${ac_cv_prog_LIPO+set}" = set; then :
8388  $as_echo_n "(cached) " >&6
8389else
8390  if test -n "$LIPO"; then
8391  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8392else
8393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394for as_dir in $PATH
8395do
8396  IFS=$as_save_IFS
8397  test -z "$as_dir" && as_dir=.
8398    for ac_exec_ext in '' $ac_executable_extensions; do
8399  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402    break 2
8403  fi
8404done
8405  done
8406IFS=$as_save_IFS
8407
8408fi
8409fi
8410LIPO=$ac_cv_prog_LIPO
8411if test -n "$LIPO"; then
8412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8413$as_echo "$LIPO" >&6; }
8414else
8415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416$as_echo "no" >&6; }
8417fi
8418
8419
8420fi
8421if test -z "$ac_cv_prog_LIPO"; then
8422  ac_ct_LIPO=$LIPO
8423  # Extract the first word of "lipo", so it can be a program name with args.
8424set dummy lipo; ac_word=$2
8425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426$as_echo_n "checking for $ac_word... " >&6; }
8427if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8428  $as_echo_n "(cached) " >&6
8429else
8430  if test -n "$ac_ct_LIPO"; then
8431  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8432else
8433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8434for as_dir in $PATH
8435do
8436  IFS=$as_save_IFS
8437  test -z "$as_dir" && as_dir=.
8438    for ac_exec_ext in '' $ac_executable_extensions; do
8439  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8440    ac_cv_prog_ac_ct_LIPO="lipo"
8441    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8442    break 2
8443  fi
8444done
8445  done
8446IFS=$as_save_IFS
8447
8448fi
8449fi
8450ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8451if test -n "$ac_ct_LIPO"; then
8452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8453$as_echo "$ac_ct_LIPO" >&6; }
8454else
8455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456$as_echo "no" >&6; }
8457fi
8458
8459  if test "x$ac_ct_LIPO" = x; then
8460    LIPO=":"
8461  else
8462    case $cross_compiling:$ac_tool_warned in
8463yes:)
8464{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8465$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8466ac_tool_warned=yes ;;
8467esac
8468    LIPO=$ac_ct_LIPO
8469  fi
8470else
8471  LIPO="$ac_cv_prog_LIPO"
8472fi
8473
8474    if test -n "$ac_tool_prefix"; then
8475  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8476set dummy ${ac_tool_prefix}otool; ac_word=$2
8477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8478$as_echo_n "checking for $ac_word... " >&6; }
8479if test "${ac_cv_prog_OTOOL+set}" = set; then :
8480  $as_echo_n "(cached) " >&6
8481else
8482  if test -n "$OTOOL"; then
8483  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8484else
8485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486for as_dir in $PATH
8487do
8488  IFS=$as_save_IFS
8489  test -z "$as_dir" && as_dir=.
8490    for ac_exec_ext in '' $ac_executable_extensions; do
8491  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8492    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8494    break 2
8495  fi
8496done
8497  done
8498IFS=$as_save_IFS
8499
8500fi
8501fi
8502OTOOL=$ac_cv_prog_OTOOL
8503if test -n "$OTOOL"; then
8504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8505$as_echo "$OTOOL" >&6; }
8506else
8507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508$as_echo "no" >&6; }
8509fi
8510
8511
8512fi
8513if test -z "$ac_cv_prog_OTOOL"; then
8514  ac_ct_OTOOL=$OTOOL
8515  # Extract the first word of "otool", so it can be a program name with args.
8516set dummy otool; ac_word=$2
8517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8518$as_echo_n "checking for $ac_word... " >&6; }
8519if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8520  $as_echo_n "(cached) " >&6
8521else
8522  if test -n "$ac_ct_OTOOL"; then
8523  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8524else
8525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526for as_dir in $PATH
8527do
8528  IFS=$as_save_IFS
8529  test -z "$as_dir" && as_dir=.
8530    for ac_exec_ext in '' $ac_executable_extensions; do
8531  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8532    ac_cv_prog_ac_ct_OTOOL="otool"
8533    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8534    break 2
8535  fi
8536done
8537  done
8538IFS=$as_save_IFS
8539
8540fi
8541fi
8542ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8543if test -n "$ac_ct_OTOOL"; then
8544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8545$as_echo "$ac_ct_OTOOL" >&6; }
8546else
8547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548$as_echo "no" >&6; }
8549fi
8550
8551  if test "x$ac_ct_OTOOL" = x; then
8552    OTOOL=":"
8553  else
8554    case $cross_compiling:$ac_tool_warned in
8555yes:)
8556{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8557$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8558ac_tool_warned=yes ;;
8559esac
8560    OTOOL=$ac_ct_OTOOL
8561  fi
8562else
8563  OTOOL="$ac_cv_prog_OTOOL"
8564fi
8565
8566    if test -n "$ac_tool_prefix"; then
8567  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8568set dummy ${ac_tool_prefix}otool64; ac_word=$2
8569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570$as_echo_n "checking for $ac_word... " >&6; }
8571if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8572  $as_echo_n "(cached) " >&6
8573else
8574  if test -n "$OTOOL64"; then
8575  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8576else
8577as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578for as_dir in $PATH
8579do
8580  IFS=$as_save_IFS
8581  test -z "$as_dir" && as_dir=.
8582    for ac_exec_ext in '' $ac_executable_extensions; do
8583  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8584    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8585    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8586    break 2
8587  fi
8588done
8589  done
8590IFS=$as_save_IFS
8591
8592fi
8593fi
8594OTOOL64=$ac_cv_prog_OTOOL64
8595if test -n "$OTOOL64"; then
8596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8597$as_echo "$OTOOL64" >&6; }
8598else
8599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8600$as_echo "no" >&6; }
8601fi
8602
8603
8604fi
8605if test -z "$ac_cv_prog_OTOOL64"; then
8606  ac_ct_OTOOL64=$OTOOL64
8607  # Extract the first word of "otool64", so it can be a program name with args.
8608set dummy otool64; ac_word=$2
8609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8610$as_echo_n "checking for $ac_word... " >&6; }
8611if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8612  $as_echo_n "(cached) " >&6
8613else
8614  if test -n "$ac_ct_OTOOL64"; then
8615  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8616else
8617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8618for as_dir in $PATH
8619do
8620  IFS=$as_save_IFS
8621  test -z "$as_dir" && as_dir=.
8622    for ac_exec_ext in '' $ac_executable_extensions; do
8623  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8624    ac_cv_prog_ac_ct_OTOOL64="otool64"
8625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8626    break 2
8627  fi
8628done
8629  done
8630IFS=$as_save_IFS
8631
8632fi
8633fi
8634ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8635if test -n "$ac_ct_OTOOL64"; then
8636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8637$as_echo "$ac_ct_OTOOL64" >&6; }
8638else
8639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640$as_echo "no" >&6; }
8641fi
8642
8643  if test "x$ac_ct_OTOOL64" = x; then
8644    OTOOL64=":"
8645  else
8646    case $cross_compiling:$ac_tool_warned in
8647yes:)
8648{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8649$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8650ac_tool_warned=yes ;;
8651esac
8652    OTOOL64=$ac_ct_OTOOL64
8653  fi
8654else
8655  OTOOL64="$ac_cv_prog_OTOOL64"
8656fi
8657
8658    
8659    
8660    
8661    
8662
8663    
8664    
8665    
8666    
8667
8668    
8669    
8670    
8671    
8672
8673    
8674    
8675    
8676    
8677
8678    
8679    
8680    
8681    
8682
8683
8684    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8685$as_echo_n "checking for -single_module linker flag... " >&6; }
8686if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8687  $as_echo_n "(cached) " >&6
8688else
8689  lt_cv_apple_cc_single_mod=no
8690      if test -z "${LT_MULTI_MODULE}"; then
8691	# By default we will add the -single_module flag. You can override
8692	# by either setting the environment variable LT_MULTI_MODULE
8693	# non-empty at configure time, or by adding -multi_module to the
8694	# link flags.
8695	rm -rf libconftest.dylib*
8696	echo "int foo(void){return 1;}" > conftest.c
8697	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8698-dynamiclib -Wl,-single_module conftest.c" >&5
8699	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8700	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8701        _lt_result=$?
8702	# If there is a non-empty error log, and "single_module"
8703	# appears in it, assume the flag caused a linker warning
8704        if test -s conftest.err && $GREP single_module conftest.err; then
8705	  cat conftest.err >&5
8706	# Otherwise, if the output was created with a 0 exit code from
8707	# the compiler, it worked.
8708	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8709	  lt_cv_apple_cc_single_mod=yes
8710	else
8711	  cat conftest.err >&5
8712	fi
8713	rm -rf libconftest.dylib*
8714	rm -f conftest.*
8715      fi
8716fi
8717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8718$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8719
8720    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8721$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8722if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8723  $as_echo_n "(cached) " >&6
8724else
8725  lt_cv_ld_exported_symbols_list=no
8726      save_LDFLAGS=$LDFLAGS
8727      echo "_main" > conftest.sym
8728      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8729      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730/* end confdefs.h.  */
8731
8732int
8733main ()
8734{
8735
8736  ;
8737  return 0;
8738}
8739_ACEOF
8740if ac_fn_c_try_link "$LINENO"; then :
8741  lt_cv_ld_exported_symbols_list=yes
8742else
8743  lt_cv_ld_exported_symbols_list=no
8744fi
8745rm -f core conftest.err conftest.$ac_objext \
8746    conftest$ac_exeext conftest.$ac_ext
8747	LDFLAGS="$save_LDFLAGS"
8748    
8749fi
8750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8751$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8752
8753    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8754$as_echo_n "checking for -force_load linker flag... " >&6; }
8755if test "${lt_cv_ld_force_load+set}" = set; then :
8756  $as_echo_n "(cached) " >&6
8757else
8758  lt_cv_ld_force_load=no
8759      cat > conftest.c << _LT_EOF
8760int forced_loaded() { return 2;}
8761_LT_EOF
8762      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8763      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8764      echo "$AR cru libconftest.a conftest.o" >&5
8765      $AR cru libconftest.a conftest.o 2>&5
8766      echo "$RANLIB libconftest.a" >&5
8767      $RANLIB libconftest.a 2>&5
8768      cat > conftest.c << _LT_EOF
8769int main() { return 0;}
8770_LT_EOF
8771      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8772      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8773      _lt_result=$?
8774      if test -s conftest.err && $GREP force_load conftest.err; then
8775	cat conftest.err >&5
8776      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8777	lt_cv_ld_force_load=yes
8778      else
8779	cat conftest.err >&5
8780      fi
8781        rm -f conftest.err libconftest.a conftest conftest.c
8782        rm -rf conftest.dSYM
8783    
8784fi
8785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8786$as_echo "$lt_cv_ld_force_load" >&6; }
8787    case $host_os in
8788    rhapsody* | darwin1.[012])
8789      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8790    darwin1.*)
8791      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8792    darwin*) # darwin 5.x on
8793      # if running on 10.5 or later, the deployment target defaults
8794      # to the OS version, if on x86, and 10.4, the deployment
8795      # target defaults to 10.4. Don't you love it?
8796      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8797	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8798	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8799	10.[012]*)
8800	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8801	10.*)
8802	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8803      esac
8804    ;;
8805  esac
8806    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8807      _lt_dar_single_mod='$single_module'
8808    fi
8809    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8810      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8811    else
8812      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8813    fi
8814    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8815      _lt_dsymutil='~$DSYMUTIL $lib || :'
8816    else
8817      _lt_dsymutil=
8818    fi
8819    ;;
8820  esac
8821
8822for ac_header in dlfcn.h
8823do :
8824  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8825"
8826if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8827  cat >>confdefs.h <<_ACEOF
8828@%:@define HAVE_DLFCN_H 1
8829_ACEOF
8830 
8831fi
8832
8833done
8834
8835
8836
8837
8838func_stripname_cnf ()
8839{
8840  case ${2} in
8841  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8842  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8843  esac
8844} # func_stripname_cnf
8845
8846
8847
8848
8849
8850# Set options
8851
8852
8853
8854        enable_dlopen=no
8855  
8856
8857  enable_win32_dll=no
8858  
8859
8860            @%:@ Check whether --enable-shared was given.
8861if test "${enable_shared+set}" = set; then :
8862  enableval=$enable_shared; p=${PACKAGE-default}
8863    case $enableval in
8864    yes) enable_shared=yes ;;
8865    no) enable_shared=no ;;
8866    *)
8867      enable_shared=no
8868      # Look at the argument we got.  We use all the common list separators.
8869      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8870      for pkg in $enableval; do
8871	IFS="$lt_save_ifs"
8872	if test "X$pkg" = "X$p"; then
8873	  enable_shared=yes
8874	fi
8875      done
8876      IFS="$lt_save_ifs"
8877      ;;
8878    esac
8879else
8880  enable_shared=yes
8881fi
8882
8883
8884    
8885    
8886    
8887    
8888
8889
8890
8891  @%:@ Check whether --enable-static was given.
8892if test "${enable_static+set}" = set; then :
8893  enableval=$enable_static; p=${PACKAGE-default}
8894    case $enableval in
8895    yes) enable_static=yes ;;
8896    no) enable_static=no ;;
8897    *)
8898     enable_static=no
8899      # Look at the argument we got.  We use all the common list separators.
8900      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8901      for pkg in $enableval; do
8902	IFS="$lt_save_ifs"
8903	if test "X$pkg" = "X$p"; then
8904	  enable_static=yes
8905	fi
8906      done
8907      IFS="$lt_save_ifs"
8908      ;;
8909    esac
8910else
8911  enable_static=yes
8912fi
8913
8914
8915    
8916    
8917    
8918    
8919
8920
8921
8922  
8923@%:@ Check whether --with-pic was given.
8924if test "${with_pic+set}" = set; then :
8925  withval=$with_pic; lt_p=${PACKAGE-default}
8926    case $withval in
8927    yes|no) pic_mode=$withval ;;
8928    *)
8929      pic_mode=default
8930      # Look at the argument we got.  We use all the common list separators.
8931      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8932      for lt_pkg in $withval; do
8933	IFS="$lt_save_ifs"
8934	if test "X$lt_pkg" = "X$lt_p"; then
8935	  pic_mode=yes
8936	fi
8937      done
8938      IFS="$lt_save_ifs"
8939      ;;
8940    esac
8941else
8942  pic_mode=default
8943fi
8944
8945
8946test -z "$pic_mode" && pic_mode=default
8947
8948
8949    
8950    
8951    
8952
8953
8954  @%:@ Check whether --enable-fast-install was given.
8955if test "${enable_fast_install+set}" = set; then :
8956  enableval=$enable_fast_install; p=${PACKAGE-default}
8957    case $enableval in
8958    yes) enable_fast_install=yes ;;
8959    no) enable_fast_install=no ;;
8960    *)
8961      enable_fast_install=no
8962      # Look at the argument we got.  We use all the common list separators.
8963      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8964      for pkg in $enableval; do
8965	IFS="$lt_save_ifs"
8966	if test "X$pkg" = "X$p"; then
8967	  enable_fast_install=yes
8968	fi
8969      done
8970      IFS="$lt_save_ifs"
8971      ;;
8972    esac
8973else
8974  enable_fast_install=yes
8975fi
8976
8977
8978
8979    
8980    
8981    
8982
8983
8984  
8985
8986
8987# This can be used to rebuild libtool when needed
8988LIBTOOL_DEPS="$ltmain"
8989
8990# Always use our own libtool.
8991LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8992
8993
8994
8995    
8996    
8997    
8998
8999    
9000    
9001    
9002
9003    
9004    
9005    
9006
9007    
9008    
9009    
9010
9011    
9012    
9013    
9014
9015    
9016    
9017    
9018
9019    
9020    
9021    
9022test -z "$LN_S" && LN_S="ln -s"
9023
9024    
9025    
9026    
9027
9028    
9029    
9030    
9031
9032    
9033    
9034    
9035
9036
9037if test -n "${ZSH_VERSION+set}" ; then
9038   setopt NO_GLOB_SUBST
9039fi
9040
9041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9042$as_echo_n "checking for objdir... " >&6; }
9043if test "${lt_cv_objdir+set}" = set; then :
9044  $as_echo_n "(cached) " >&6
9045else
9046  rm -f .libs 2>/dev/null
9047mkdir .libs 2>/dev/null
9048if test -d .libs; then
9049  lt_cv_objdir=.libs
9050else
9051  # MS-DOS does not allow filenames that begin with a dot.
9052  lt_cv_objdir=_libs
9053fi
9054rmdir .libs 2>/dev/null
9055fi
9056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9057$as_echo "$lt_cv_objdir" >&6; }
9058objdir=$lt_cv_objdir
9059
9060    
9061    
9062    
9063
9064cat >>confdefs.h <<_ACEOF
9065@%:@define LT_OBJDIR "$lt_cv_objdir/"
9066_ACEOF
9067
9068
9069
9070
9071case $host_os in
9072aix3*)
9073  # AIX sometimes has problems with the GCC collect2 program.  For some
9074  # reason, if we set the COLLECT_NAMES environment variable, the problems
9075  # vanish in a puff of smoke.
9076  if test "X${COLLECT_NAMES+set}" != Xset; then
9077    COLLECT_NAMES=
9078    export COLLECT_NAMES
9079  fi
9080  ;;
9081esac
9082
9083# Global variables:
9084ofile=libtool
9085can_build_shared=yes
9086
9087# All known linkers require a `.a' archive for static linking (except MSVC,
9088# which needs '.lib').
9089libext=a
9090
9091with_gnu_ld="$lt_cv_prog_gnu_ld"
9092
9093old_CC="$CC"
9094old_CFLAGS="$CFLAGS"
9095
9096# Set sane defaults for various variables
9097test -z "$CC" && CC=cc
9098test -z "$LTCC" && LTCC=$CC
9099test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9100test -z "$LD" && LD=ld
9101test -z "$ac_objext" && ac_objext=o
9102
9103for cc_temp in $compiler""; do
9104  case $cc_temp in
9105    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9106    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9107    \-*) ;;
9108    *) break;;
9109  esac
9110done
9111cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9112
9113
9114# Only perform the check for file, if the check method requires it
9115test -z "$MAGIC_CMD" && MAGIC_CMD=file
9116case $deplibs_check_method in
9117file_magic*)
9118  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9119    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9120$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9121if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9122  $as_echo_n "(cached) " >&6
9123else
9124  case $MAGIC_CMD in
9125[\\/*] |  ?:[\\/]*)
9126  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9127  ;;
9128*)
9129  lt_save_MAGIC_CMD="$MAGIC_CMD"
9130  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9131  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9132  for ac_dir in $ac_dummy; do
9133    IFS="$lt_save_ifs"
9134    test -z "$ac_dir" && ac_dir=.
9135    if test -f $ac_dir/${ac_tool_prefix}file; then
9136      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9137      if test -n "$file_magic_test_file"; then
9138	case $deplibs_check_method in
9139	"file_magic "*)
9140	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9141	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9142	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9143	    $EGREP "$file_magic_regex" > /dev/null; then
9144	    :
9145	  else
9146	    cat <<_LT_EOF 1>&2
9147
9148*** Warning: the command libtool uses to detect shared libraries,
9149*** $file_magic_cmd, produces output that libtool cannot recognize.
9150*** The result is that libtool may fail to recognize shared libraries
9151*** as such.  This will affect the creation of libtool libraries that
9152*** depend on shared libraries, but programs linked with such libtool
9153*** libraries will work regardless of this problem.  Nevertheless, you
9154*** may want to report the problem to your system manager and/or to
9155*** bug-libtool@gnu.org
9156
9157_LT_EOF
9158	  fi ;;
9159	esac
9160      fi
9161      break
9162    fi
9163  done
9164  IFS="$lt_save_ifs"
9165  MAGIC_CMD="$lt_save_MAGIC_CMD"
9166  ;;
9167esac
9168fi
9169
9170MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9171if test -n "$MAGIC_CMD"; then
9172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9173$as_echo "$MAGIC_CMD" >&6; }
9174else
9175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9176$as_echo "no" >&6; }
9177fi
9178
9179    
9180    
9181    
9182
9183if test -z "$lt_cv_path_MAGIC_CMD"; then
9184  if test -n "$ac_tool_prefix"; then
9185    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9186$as_echo_n "checking for file... " >&6; }
9187if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9188  $as_echo_n "(cached) " >&6
9189else
9190  case $MAGIC_CMD in
9191[\\/*] |  ?:[\\/]*)
9192  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9193  ;;
9194*)
9195  lt_save_MAGIC_CMD="$MAGIC_CMD"
9196  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9197  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9198  for ac_dir in $ac_dummy; do
9199    IFS="$lt_save_ifs"
9200    test -z "$ac_dir" && ac_dir=.
9201    if test -f $ac_dir/file; then
9202      lt_cv_path_MAGIC_CMD="$ac_dir/file"
9203      if test -n "$file_magic_test_file"; then
9204	case $deplibs_check_method in
9205	"file_magic "*)
9206	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9207	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9208	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9209	    $EGREP "$file_magic_regex" > /dev/null; then
9210	    :
9211	  else
9212	    cat <<_LT_EOF 1>&2
9213
9214*** Warning: the command libtool uses to detect shared libraries,
9215*** $file_magic_cmd, produces output that libtool cannot recognize.
9216*** The result is that libtool may fail to recognize shared libraries
9217*** as such.  This will affect the creation of libtool libraries that
9218*** depend on shared libraries, but programs linked with such libtool
9219*** libraries will work regardless of this problem.  Nevertheless, you
9220*** may want to report the problem to your system manager and/or to
9221*** bug-libtool@gnu.org
9222
9223_LT_EOF
9224	  fi ;;
9225	esac
9226      fi
9227      break
9228    fi
9229  done
9230  IFS="$lt_save_ifs"
9231  MAGIC_CMD="$lt_save_MAGIC_CMD"
9232  ;;
9233esac
9234fi
9235
9236MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9237if test -n "$MAGIC_CMD"; then
9238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9239$as_echo "$MAGIC_CMD" >&6; }
9240else
9241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9242$as_echo "no" >&6; }
9243fi
9244
9245
9246  else
9247    MAGIC_CMD=:
9248  fi
9249fi
9250
9251  fi
9252  ;;
9253esac
9254
9255# Use C for the default configuration in the libtool script
9256
9257lt_save_CC="$CC"
9258ac_ext=c
9259ac_cpp='$CPP $CPPFLAGS'
9260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9262ac_compiler_gnu=$ac_cv_c_compiler_gnu
9263
9264
9265# Source file extension for C test sources.
9266ac_ext=c
9267
9268# Object file extension for compiled C test sources.
9269objext=o
9270objext=$objext
9271
9272# Code to be used in simple compile tests
9273lt_simple_compile_test_code="int some_variable = 0;"
9274
9275# Code to be used in simple link tests
9276lt_simple_link_test_code='int main(){return(0);}'
9277
9278
9279
9280
9281
9282
9283
9284# If no C compiler was specified, use CC.
9285LTCC=${LTCC-"$CC"}
9286
9287# If no C compiler flags were specified, use CFLAGS.
9288LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9289
9290# Allow CC to be a program name with arguments.
9291compiler=$CC
9292
9293# Save the default compiler, since it gets overwritten when the other
9294# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9295compiler_DEFAULT=$CC
9296
9297# save warnings/boilerplate of simple test code
9298ac_outfile=conftest.$ac_objext
9299echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9300eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9301_lt_compiler_boilerplate=`cat conftest.err`
9302$RM conftest*
9303
9304ac_outfile=conftest.$ac_objext
9305echo "$lt_simple_link_test_code" >conftest.$ac_ext
9306eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9307_lt_linker_boilerplate=`cat conftest.err`
9308$RM -r conftest*
9309
9310
9311## CAVEAT EMPTOR:
9312## There is no encapsulation within the following macros, do not change
9313## the running order or otherwise move them around unless you know exactly
9314## what you are doing...
9315if test -n "$compiler"; then
9316  
9317lt_prog_compiler_no_builtin_flag=
9318
9319if test "$GCC" = yes; then
9320  case $cc_basename in
9321  nvcc*)
9322    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9323  *)
9324    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9325  esac
9326
9327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9328$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9329if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9330  $as_echo_n "(cached) " >&6
9331else
9332  lt_cv_prog_compiler_rtti_exceptions=no
9333   ac_outfile=conftest.$ac_objext
9334   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9335   lt_compiler_flag="-fno-rtti -fno-exceptions"
9336   # Insert the option either (1) after the last *FLAGS variable, or
9337   # (2) before a word containing "conftest.", or (3) at the end.
9338   # Note that $ac_compile itself does not contain backslashes and begins
9339   # with a dollar sign (not a hyphen), so the echo should work correctly.
9340   # The option is referenced via a variable to avoid confusing sed.
9341   lt_compile=`echo "$ac_compile" | $SED \
9342   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9343   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9344   -e 's:$: $lt_compiler_flag:'`
9345   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9346   (eval "$lt_compile" 2>conftest.err)
9347   ac_status=$?
9348   cat conftest.err >&5
9349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350   if (exit $ac_status) && test -s "$ac_outfile"; then
9351     # The compiler can only warn and ignore the option if not recognized
9352     # So say no if there are warnings other than the usual output.
9353     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9354     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9355     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9356       lt_cv_prog_compiler_rtti_exceptions=yes
9357     fi
9358   fi
9359   $RM conftest*
9360
9361fi
9362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9363$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9364
9365if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9366    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9367else
9368    :
9369fi
9370
9371fi
9372
9373    
9374    
9375    
9376
9377
9378  lt_prog_compiler_wl=
9379lt_prog_compiler_pic=
9380lt_prog_compiler_static=
9381
9382
9383  if test "$GCC" = yes; then
9384    lt_prog_compiler_wl='-Wl,'
9385    lt_prog_compiler_static='-static'
9386
9387    case $host_os in
9388      aix*)
9389      # All AIX code is PIC.
9390      if test "$host_cpu" = ia64; then
9391	# AIX 5 now supports IA64 processor
9392	lt_prog_compiler_static='-Bstatic'
9393      fi
9394      ;;
9395
9396    amigaos*)
9397      case $host_cpu in
9398      powerpc)
9399            # see comment about AmigaOS4 .so support
9400            lt_prog_compiler_pic='-fPIC'
9401        ;;
9402      m68k)
9403            # FIXME: we need at least 68020 code to build shared libraries, but
9404            # adding the `-m68020' flag to GCC prevents building anything better,
9405            # like `-m68040'.
9406            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9407        ;;
9408      esac
9409      ;;
9410
9411    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9412      # PIC is the default for these OSes.
9413      ;;
9414
9415    mingw* | cygwin* | pw32* | os2* | cegcc*)
9416      # This hack is so that the source file can tell whether it is being
9417      # built for inclusion in a dll (and should export symbols for example).
9418      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9419      # (--disable-auto-import) libraries
9420      lt_prog_compiler_pic='-DDLL_EXPORT'
9421      ;;
9422
9423    darwin* | rhapsody*)
9424      # PIC is the default on this platform
9425      # Common symbols not allowed in MH_DYLIB files
9426      lt_prog_compiler_pic='-fno-common'
9427      ;;
9428
9429    haiku*)
9430      # PIC is the default for Haiku.
9431      # The "-static" flag exists, but is broken.
9432      lt_prog_compiler_static=
9433      ;;
9434
9435    hpux*)
9436      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9437      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9438      # sets the default TLS model and affects inlining.
9439      case $host_cpu in
9440      hppa*64*)
9441	# +Z the default
9442	;;
9443      *)
9444	lt_prog_compiler_pic='-fPIC'
9445	;;
9446      esac
9447      ;;
9448
9449    interix[3-9]*)
9450      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9451      # Instead, we relocate shared libraries at runtime.
9452      ;;
9453
9454    msdosdjgpp*)
9455      # Just because we use GCC doesn't mean we suddenly get shared libraries
9456      # on systems that don't support them.
9457      lt_prog_compiler_can_build_shared=no
9458      enable_shared=no
9459      ;;
9460
9461    *nto* | *qnx*)
9462      # QNX uses GNU C++, but need to define -shared option too, otherwise
9463      # it will coredump.
9464      lt_prog_compiler_pic='-fPIC -shared'
9465      ;;
9466
9467    sysv4*MP*)
9468      if test -d /usr/nec; then
9469	lt_prog_compiler_pic=-Kconform_pic
9470      fi
9471      ;;
9472
9473    *)
9474      lt_prog_compiler_pic='-fPIC'
9475      ;;
9476    esac
9477
9478    case $cc_basename in
9479    nvcc*) # Cuda Compiler Driver 2.2
9480      lt_prog_compiler_wl='-Xlinker '
9481      if test -n "$lt_prog_compiler_pic"; then
9482        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9483      fi
9484      ;;
9485    esac
9486  else
9487    # PORTME Check for flag to pass linker flags through the system compiler.
9488    case $host_os in
9489    aix*)
9490      lt_prog_compiler_wl='-Wl,'
9491      if test "$host_cpu" = ia64; then
9492	# AIX 5 now supports IA64 processor
9493	lt_prog_compiler_static='-Bstatic'
9494      else
9495	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9496      fi
9497      ;;
9498
9499    mingw* | cygwin* | pw32* | os2* | cegcc*)
9500      # This hack is so that the source file can tell whether it is being
9501      # built for inclusion in a dll (and should export symbols for example).
9502      lt_prog_compiler_pic='-DDLL_EXPORT'
9503      ;;
9504
9505    hpux9* | hpux10* | hpux11*)
9506      lt_prog_compiler_wl='-Wl,'
9507      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9508      # not for PA HP-UX.
9509      case $host_cpu in
9510      hppa*64*|ia64*)
9511	# +Z the default
9512	;;
9513      *)
9514	lt_prog_compiler_pic='+Z'
9515	;;
9516      esac
9517      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9518      lt_prog_compiler_static='${wl}-a ${wl}archive'
9519      ;;
9520
9521    irix5* | irix6* | nonstopux*)
9522      lt_prog_compiler_wl='-Wl,'
9523      # PIC (with -KPIC) is the default.
9524      lt_prog_compiler_static='-non_shared'
9525      ;;
9526
9527    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9528      case $cc_basename in
9529      # old Intel for x86_64 which still supported -KPIC.
9530      ecc*)
9531	lt_prog_compiler_wl='-Wl,'
9532	lt_prog_compiler_pic='-KPIC'
9533	lt_prog_compiler_static='-static'
9534        ;;
9535      # icc used to be incompatible with GCC.
9536      # ICC 10 doesn't accept -KPIC any more.
9537      icc* | ifort*)
9538	lt_prog_compiler_wl='-Wl,'
9539	lt_prog_compiler_pic='-fPIC'
9540	lt_prog_compiler_static='-static'
9541        ;;
9542      # Lahey Fortran 8.1.
9543      lf95*)
9544	lt_prog_compiler_wl='-Wl,'
9545	lt_prog_compiler_pic='--shared'
9546	lt_prog_compiler_static='--static'
9547	;;
9548      nagfor*)
9549	# NAG Fortran compiler
9550	lt_prog_compiler_wl='-Wl,-Wl,,'
9551	lt_prog_compiler_pic='-PIC'
9552	lt_prog_compiler_static='-Bstatic'
9553	;;
9554      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9555        # Portland Group compilers (*not* the Pentium gcc compiler,
9556	# which looks to be a dead project)
9557	lt_prog_compiler_wl='-Wl,'
9558	lt_prog_compiler_pic='-fpic'
9559	lt_prog_compiler_static='-Bstatic'
9560        ;;
9561      ccc*)
9562        lt_prog_compiler_wl='-Wl,'
9563        # All Alpha code is PIC.
9564        lt_prog_compiler_static='-non_shared'
9565        ;;
9566      xl* | bgxl* | bgf* | mpixl*)
9567	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9568	lt_prog_compiler_wl='-Wl,'
9569	lt_prog_compiler_pic='-qpic'
9570	lt_prog_compiler_static='-qstaticlink'
9571	;;
9572      *)
9573	case `$CC -V 2>&1 | sed 5q` in
9574	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9575	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9576	  lt_prog_compiler_pic='-KPIC'
9577	  lt_prog_compiler_static='-Bstatic'
9578	  lt_prog_compiler_wl=''
9579	  ;;
9580	*Sun\ F* | *Sun*Fortran*)
9581	  lt_prog_compiler_pic='-KPIC'
9582	  lt_prog_compiler_static='-Bstatic'
9583	  lt_prog_compiler_wl='-Qoption ld '
9584	  ;;
9585	*Sun\ C*)
9586	  # Sun C 5.9
9587	  lt_prog_compiler_pic='-KPIC'
9588	  lt_prog_compiler_static='-Bstatic'
9589	  lt_prog_compiler_wl='-Wl,'
9590	  ;;
9591        *Intel*\ [CF]*Compiler*)
9592	  lt_prog_compiler_wl='-Wl,'
9593	  lt_prog_compiler_pic='-fPIC'
9594	  lt_prog_compiler_static='-static'
9595	  ;;
9596	*Portland\ Group*)
9597	  lt_prog_compiler_wl='-Wl,'
9598	  lt_prog_compiler_pic='-fpic'
9599	  lt_prog_compiler_static='-Bstatic'
9600	  ;;
9601	esac
9602	;;
9603      esac
9604      ;;
9605
9606    newsos6)
9607      lt_prog_compiler_pic='-KPIC'
9608      lt_prog_compiler_static='-Bstatic'
9609      ;;
9610
9611    *nto* | *qnx*)
9612      # QNX uses GNU C++, but need to define -shared option too, otherwise
9613      # it will coredump.
9614      lt_prog_compiler_pic='-fPIC -shared'
9615      ;;
9616
9617    osf3* | osf4* | osf5*)
9618      lt_prog_compiler_wl='-Wl,'
9619      # All OSF/1 code is PIC.
9620      lt_prog_compiler_static='-non_shared'
9621      ;;
9622
9623    rdos*)
9624      lt_prog_compiler_static='-non_shared'
9625      ;;
9626
9627    solaris*)
9628      lt_prog_compiler_pic='-KPIC'
9629      lt_prog_compiler_static='-Bstatic'
9630      case $cc_basename in
9631      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9632	lt_prog_compiler_wl='-Qoption ld ';;
9633      *)
9634	lt_prog_compiler_wl='-Wl,';;
9635      esac
9636      ;;
9637
9638    sunos4*)
9639      lt_prog_compiler_wl='-Qoption ld '
9640      lt_prog_compiler_pic='-PIC'
9641      lt_prog_compiler_static='-Bstatic'
9642      ;;
9643
9644    sysv4 | sysv4.2uw2* | sysv4.3*)
9645      lt_prog_compiler_wl='-Wl,'
9646      lt_prog_compiler_pic='-KPIC'
9647      lt_prog_compiler_static='-Bstatic'
9648      ;;
9649
9650    sysv4*MP*)
9651      if test -d /usr/nec ;then
9652	lt_prog_compiler_pic='-Kconform_pic'
9653	lt_prog_compiler_static='-Bstatic'
9654      fi
9655      ;;
9656
9657    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9658      lt_prog_compiler_wl='-Wl,'
9659      lt_prog_compiler_pic='-KPIC'
9660      lt_prog_compiler_static='-Bstatic'
9661      ;;
9662
9663    unicos*)
9664      lt_prog_compiler_wl='-Wl,'
9665      lt_prog_compiler_can_build_shared=no
9666      ;;
9667
9668    uts4*)
9669      lt_prog_compiler_pic='-pic'
9670      lt_prog_compiler_static='-Bstatic'
9671      ;;
9672
9673    *)
9674      lt_prog_compiler_can_build_shared=no
9675      ;;
9676    esac
9677  fi
9678
9679case $host_os in
9680  # For platforms which do not support PIC, -DPIC is meaningless:
9681  *djgpp*)
9682    lt_prog_compiler_pic=
9683    ;;
9684  *)
9685    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9686    ;;
9687esac
9688
9689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9690$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9691if test "${lt_cv_prog_compiler_pic+set}" = set; then :
9692  $as_echo_n "(cached) " >&6
9693else
9694  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9695fi
9696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9697$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9698lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9699
9700#
9701# Check to make sure the PIC flag actually works.
9702#
9703if test -n "$lt_prog_compiler_pic"; then
9704  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9705$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9706if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9707  $as_echo_n "(cached) " >&6
9708else
9709  lt_cv_prog_compiler_pic_works=no
9710   ac_outfile=conftest.$ac_objext
9711   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9712   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
9713   # Insert the option either (1) after the last *FLAGS variable, or
9714   # (2) before a word containing "conftest.", or (3) at the end.
9715   # Note that $ac_compile itself does not contain backslashes and begins
9716   # with a dollar sign (not a hyphen), so the echo should work correctly.
9717   # The option is referenced via a variable to avoid confusing sed.
9718   lt_compile=`echo "$ac_compile" | $SED \
9719   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9720   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9721   -e 's:$: $lt_compiler_flag:'`
9722   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9723   (eval "$lt_compile" 2>conftest.err)
9724   ac_status=$?
9725   cat conftest.err >&5
9726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727   if (exit $ac_status) && test -s "$ac_outfile"; then
9728     # The compiler can only warn and ignore the option if not recognized
9729     # So say no if there are warnings other than the usual output.
9730     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9731     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9732     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9733       lt_cv_prog_compiler_pic_works=yes
9734     fi
9735   fi
9736   $RM conftest*
9737
9738fi
9739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9740$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9741
9742if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9743    case $lt_prog_compiler_pic in
9744     "" | " "*) ;;
9745     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9746     esac
9747else
9748    lt_prog_compiler_pic=
9749     lt_prog_compiler_can_build_shared=no
9750fi
9751
9752fi
9753
9754    
9755    
9756    
9757
9758
9759
9760    
9761    
9762    
9763
9764#
9765# Check to make sure the static flag actually works.
9766#
9767wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9769$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9770if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9771  $as_echo_n "(cached) " >&6
9772else
9773  lt_cv_prog_compiler_static_works=no
9774   save_LDFLAGS="$LDFLAGS"
9775   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9776   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9777   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9778     # The linker can only warn and ignore the option if not recognized
9779     # So say no if there are warnings
9780     if test -s conftest.err; then
9781       # Append any errors to the config.log.
9782       cat conftest.err 1>&5
9783       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9784       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9785       if diff conftest.exp conftest.er2 >/dev/null; then
9786         lt_cv_prog_compiler_static_works=yes
9787       fi
9788     else
9789       lt_cv_prog_compiler_static_works=yes
9790     fi
9791   fi
9792   $RM -r conftest*
9793   LDFLAGS="$save_LDFLAGS"
9794
9795fi
9796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9797$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9798
9799if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9800    :
9801else
9802    lt_prog_compiler_static=
9803fi
9804
9805
9806    
9807    
9808    
9809
9810
9811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9812$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9813if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9814  $as_echo_n "(cached) " >&6
9815else
9816  lt_cv_prog_compiler_c_o=no
9817   $RM -r conftest 2>/dev/null
9818   mkdir conftest
9819   cd conftest
9820   mkdir out
9821   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9822
9823   lt_compiler_flag="-o out/conftest2.$ac_objext"
9824   # Insert the option either (1) after the last *FLAGS variable, or
9825   # (2) before a word containing "conftest.", or (3) at the end.
9826   # Note that $ac_compile itself does not contain backslashes and begins
9827   # with a dollar sign (not a hyphen), so the echo should work correctly.
9828   lt_compile=`echo "$ac_compile" | $SED \
9829   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9830   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9831   -e 's:$: $lt_compiler_flag:'`
9832   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9833   (eval "$lt_compile" 2>out/conftest.err)
9834   ac_status=$?
9835   cat out/conftest.err >&5
9836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9838   then
9839     # The compiler can only warn and ignore the option if not recognized
9840     # So say no if there are warnings
9841     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9842     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9843     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9844       lt_cv_prog_compiler_c_o=yes
9845     fi
9846   fi
9847   chmod u+w . 2>&5
9848   $RM conftest*
9849   # SGI C++ compiler will create directory out/ii_files/ for
9850   # template instantiation
9851   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9852   $RM out/* && rmdir out
9853   cd ..
9854   $RM -r conftest
9855   $RM conftest*
9856
9857fi
9858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9859$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9860
9861    
9862    
9863    
9864
9865
9866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9867$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9868if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9869  $as_echo_n "(cached) " >&6
9870else
9871  lt_cv_prog_compiler_c_o=no
9872   $RM -r conftest 2>/dev/null
9873   mkdir conftest
9874   cd conftest
9875   mkdir out
9876   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9877
9878   lt_compiler_flag="-o out/conftest2.$ac_objext"
9879   # Insert the option either (1) after the last *FLAGS variable, or
9880   # (2) before a word containing "conftest.", or (3) at the end.
9881   # Note that $ac_compile itself does not contain backslashes and begins
9882   # with a dollar sign (not a hyphen), so the echo should work correctly.
9883   lt_compile=`echo "$ac_compile" | $SED \
9884   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9885   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9886   -e 's:$: $lt_compiler_flag:'`
9887   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9888   (eval "$lt_compile" 2>out/conftest.err)
9889   ac_status=$?
9890   cat out/conftest.err >&5
9891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9893   then
9894     # The compiler can only warn and ignore the option if not recognized
9895     # So say no if there are warnings
9896     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9897     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9898     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9899       lt_cv_prog_compiler_c_o=yes
9900     fi
9901   fi
9902   chmod u+w . 2>&5
9903   $RM conftest*
9904   # SGI C++ compiler will create directory out/ii_files/ for
9905   # template instantiation
9906   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9907   $RM out/* && rmdir out
9908   cd ..
9909   $RM -r conftest
9910   $RM conftest*
9911
9912fi
9913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9914$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9915
9916
9917
9918
9919hard_links="nottested"
9920if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9921  # do not overwrite the value of need_locks provided by the user
9922  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9923$as_echo_n "checking if we can lock with hard links... " >&6; }
9924  hard_links=yes
9925  $RM conftest*
9926  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9927  touch conftest.a
9928  ln conftest.a conftest.b 2>&5 || hard_links=no
9929  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9931$as_echo "$hard_links" >&6; }
9932  if test "$hard_links" = no; then
9933    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9934$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9935    need_locks=warn
9936  fi
9937else
9938  need_locks=no
9939fi
9940
9941    
9942    
9943    
9944
9945
9946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9947$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9948
9949  runpath_var=
9950  allow_undefined_flag=
9951  always_export_symbols=no
9952  archive_cmds=
9953  archive_expsym_cmds=
9954  compiler_needs_object=no
9955  enable_shared_with_static_runtimes=no
9956  export_dynamic_flag_spec=
9957  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9958  hardcode_automatic=no
9959  hardcode_direct=no
9960  hardcode_direct_absolute=no
9961  hardcode_libdir_flag_spec=
9962  hardcode_libdir_separator=
9963  hardcode_minus_L=no
9964  hardcode_shlibpath_var=unsupported
9965  inherit_rpath=no
9966  link_all_deplibs=unknown
9967  module_cmds=
9968  module_expsym_cmds=
9969  old_archive_from_new_cmds=
9970  old_archive_from_expsyms_cmds=
9971  thread_safe_flag_spec=
9972  whole_archive_flag_spec=
9973  # include_expsyms should be a list of space-separated symbols to be *always*
9974  # included in the symbol list
9975  include_expsyms=
9976  # exclude_expsyms can be an extended regexp of symbols to exclude
9977  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9978  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9979  # as well as any symbol that contains `d'.
9980  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9981  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9982  # platforms (ab)use it in PIC code, but their linkers get confused if
9983  # the symbol is explicitly referenced.  Since portable code cannot
9984  # rely on this symbol name, it's probably fine to never include it in
9985  # preloaded symbol tables.
9986  # Exclude shared library initialization/finalization symbols.
9987  extract_expsyms_cmds=
9988
9989  case $host_os in
9990  cygwin* | mingw* | pw32* | cegcc*)
9991    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9992    # When not using gcc, we currently assume that we are using
9993    # Microsoft Visual C++.
9994    if test "$GCC" != yes; then
9995      with_gnu_ld=no
9996    fi
9997    ;;
9998  interix*)
9999    # we just hope/assume this is gcc and not c89 (= MSVC++)
10000    with_gnu_ld=yes
10001    ;;
10002  openbsd*)
10003    with_gnu_ld=no
10004    ;;
10005  esac
10006
10007  ld_shlibs=yes
10008
10009  # On some targets, GNU ld is compatible enough with the native linker
10010  # that we're better off using the native interface for both.
10011  lt_use_gnu_ld_interface=no
10012  if test "$with_gnu_ld" = yes; then
10013    case $host_os in
10014      aix*)
10015	# The AIX port of GNU ld has always aspired to compatibility
10016	# with the native linker.  However, as the warning in the GNU ld
10017	# block says, versions before 2.19.5* couldn't really create working
10018	# shared libraries, regardless of the interface used.
10019	case `$LD -v 2>&1` in
10020	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10021	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10022	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10023	  *)
10024	    lt_use_gnu_ld_interface=yes
10025	    ;;
10026	esac
10027	;;
10028      *)
10029	lt_use_gnu_ld_interface=yes
10030	;;
10031    esac
10032  fi
10033
10034  if test "$lt_use_gnu_ld_interface" = yes; then
10035    # If archive_cmds runs LD, not CC, wlarc should be empty
10036    wlarc='${wl}'
10037
10038    # Set some defaults for GNU ld with shared library support. These
10039    # are reset later if shared libraries are not supported. Putting them
10040    # here allows them to be overridden if necessary.
10041    runpath_var=LD_RUN_PATH
10042    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10043    export_dynamic_flag_spec='${wl}--export-dynamic'
10044    # ancient GNU ld didn't support --whole-archive et. al.
10045    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10046      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10047    else
10048      whole_archive_flag_spec=
10049    fi
10050    supports_anon_versioning=no
10051    case `$LD -v 2>&1` in
10052      *GNU\ gold*) supports_anon_versioning=yes ;;
10053      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10054      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10055      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10056      *\ 2.11.*) ;; # other 2.11 versions
10057      *) supports_anon_versioning=yes ;;
10058    esac
10059
10060    # See if GNU ld supports shared libraries.
10061    case $host_os in
10062    aix[3-9]*)
10063      # On AIX/PPC, the GNU linker is very broken
10064      if test "$host_cpu" != ia64; then
10065	ld_shlibs=no
10066	cat <<_LT_EOF 1>&2
10067
10068*** Warning: the GNU linker, at least up to release 2.19, is reported
10069*** to be unable to reliably create shared libraries on AIX.
10070*** Therefore, libtool is disabling shared libraries support.  If you
10071*** really care for shared libraries, you may want to install binutils
10072*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10073*** You will then need to restart the configuration process.
10074
10075_LT_EOF
10076      fi
10077      ;;
10078
10079    amigaos*)
10080      case $host_cpu in
10081      powerpc)
10082            # see comment about AmigaOS4 .so support
10083            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084            archive_expsym_cmds=''
10085        ;;
10086      m68k)
10087            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10088            hardcode_libdir_flag_spec='-L$libdir'
10089            hardcode_minus_L=yes
10090        ;;
10091      esac
10092      ;;
10093
10094    beos*)
10095      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10096	allow_undefined_flag=unsupported
10097	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10098	# support --undefined.  This deserves some investigation.  FIXME
10099	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10100      else
10101	ld_shlibs=no
10102      fi
10103      ;;
10104
10105    cygwin* | mingw* | pw32* | cegcc*)
10106      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10107      # as there is no search path for DLLs.
10108      hardcode_libdir_flag_spec='-L$libdir'
10109      export_dynamic_flag_spec='${wl}--export-all-symbols'
10110      allow_undefined_flag=unsupported
10111      always_export_symbols=no
10112      enable_shared_with_static_runtimes=yes
10113      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10114      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10115
10116      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10117        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10118	# If the export-symbols file already is a .def file (1st line
10119	# is EXPORTS), use it as is; otherwise, prepend...
10120	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10121	  cp $export_symbols $output_objdir/$soname.def;
10122	else
10123	  echo EXPORTS > $output_objdir/$soname.def;
10124	  cat $export_symbols >> $output_objdir/$soname.def;
10125	fi~
10126	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10127      else
10128	ld_shlibs=no
10129      fi
10130      ;;
10131
10132    haiku*)
10133      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10134      link_all_deplibs=yes
10135      ;;
10136
10137    interix[3-9]*)
10138      hardcode_direct=no
10139      hardcode_shlibpath_var=no
10140      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10141      export_dynamic_flag_spec='${wl}-E'
10142      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10143      # Instead, shared libraries are loaded at an image base (0x10000000 by
10144      # default) and relocated if they conflict, which is a slow very memory
10145      # consuming and fragmenting process.  To avoid this, we pick a random,
10146      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10147      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10148      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10149      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10150      ;;
10151
10152    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10153      tmp_diet=no
10154      if test "$host_os" = linux-dietlibc; then
10155	case $cc_basename in
10156	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10157	esac
10158      fi
10159      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10160	 && test "$tmp_diet" = no
10161      then
10162	tmp_addflag=' $pic_flag'
10163	tmp_sharedflag='-shared'
10164	case $cc_basename,$host_cpu in
10165        pgcc*)				# Portland Group C compiler
10166	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10167	  tmp_addflag=' $pic_flag'
10168	  ;;
10169	pgf77* | pgf90* | pgf95* | pgfortran*)
10170					# Portland Group f77 and f90 compilers
10171	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10172	  tmp_addflag=' $pic_flag -Mnomain' ;;
10173	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10174	  tmp_addflag=' -i_dynamic' ;;
10175	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10176	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10177	ifc* | ifort*)			# Intel Fortran compiler
10178	  tmp_addflag=' -nofor_main' ;;
10179	lf95*)				# Lahey Fortran 8.1
10180	  whole_archive_flag_spec=
10181	  tmp_sharedflag='--shared' ;;
10182	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10183	  tmp_sharedflag='-qmkshrobj'
10184	  tmp_addflag= ;;
10185	nvcc*)	# Cuda Compiler Driver 2.2
10186	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10187	  compiler_needs_object=yes
10188	  ;;
10189	esac
10190	case `$CC -V 2>&1 | sed 5q` in
10191	*Sun\ C*)			# Sun C 5.9
10192	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10193	  compiler_needs_object=yes
10194	  tmp_sharedflag='-G' ;;
10195	*Sun\ F*)			# Sun Fortran 8.3
10196	  tmp_sharedflag='-G' ;;
10197	esac
10198	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10199
10200        if test "x$supports_anon_versioning" = xyes; then
10201          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10202	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10203	    echo "local: *; };" >> $output_objdir/$libname.ver~
10204	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10205        fi
10206
10207	case $cc_basename in
10208	xlf* | bgf* | bgxlf* | mpixlf*)
10209	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10210	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10211	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10212	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10213	  if test "x$supports_anon_versioning" = xyes; then
10214	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10215	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10216	      echo "local: *; };" >> $output_objdir/$libname.ver~
10217	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10218	  fi
10219	  ;;
10220	esac
10221      else
10222        ld_shlibs=no
10223      fi
10224      ;;
10225
10226    netbsd*)
10227      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10228	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10229	wlarc=
10230      else
10231	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10232	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10233      fi
10234      ;;
10235
10236    solaris*)
10237      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10238	ld_shlibs=no
10239	cat <<_LT_EOF 1>&2
10240
10241*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10242*** create shared libraries on Solaris systems.  Therefore, libtool
10243*** is disabling shared libraries support.  We urge you to upgrade GNU
10244*** binutils to release 2.9.1 or newer.  Another option is to modify
10245*** your PATH or compiler configuration so that the native linker is
10246*** used, and then restart.
10247
10248_LT_EOF
10249      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10250	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10251	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10252      else
10253	ld_shlibs=no
10254      fi
10255      ;;
10256
10257    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10258      case `$LD -v 2>&1` in
10259        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10260	ld_shlibs=no
10261	cat <<_LT_EOF 1>&2
10262
10263*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10264*** reliably create shared libraries on SCO systems.  Therefore, libtool
10265*** is disabling shared libraries support.  We urge you to upgrade GNU
10266*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10267*** your PATH or compiler configuration so that the native linker is
10268*** used, and then restart.
10269
10270_LT_EOF
10271	;;
10272	*)
10273	  # For security reasons, it is highly recommended that you always
10274	  # use absolute paths for naming shared libraries, and exclude the
10275	  # DT_RUNPATH tag from executables and libraries.  But doing so
10276	  # requires that you compile everything twice, which is a pain.
10277	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10278	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10279	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10280	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10281	  else
10282	    ld_shlibs=no
10283	  fi
10284	;;
10285      esac
10286      ;;
10287
10288    sunos4*)
10289      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10290      wlarc=
10291      hardcode_direct=yes
10292      hardcode_shlibpath_var=no
10293      ;;
10294
10295    *)
10296      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10297	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10298	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10299      else
10300	ld_shlibs=no
10301      fi
10302      ;;
10303    esac
10304
10305    if test "$ld_shlibs" = no; then
10306      runpath_var=
10307      hardcode_libdir_flag_spec=
10308      export_dynamic_flag_spec=
10309      whole_archive_flag_spec=
10310    fi
10311  else
10312    # PORTME fill in a description of your system's linker (not GNU ld)
10313    case $host_os in
10314    aix3*)
10315      allow_undefined_flag=unsupported
10316      always_export_symbols=yes
10317      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10318      # Note: this linker hardcodes the directories in LIBPATH if there
10319      # are no directories specified by -L.
10320      hardcode_minus_L=yes
10321      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10322	# Neither direct hardcoding nor static linking is supported with a
10323	# broken collect2.
10324	hardcode_direct=unsupported
10325      fi
10326      ;;
10327
10328    aix[4-9]*)
10329      if test "$host_cpu" = ia64; then
10330	# On IA64, the linker does run time linking by default, so we don't
10331	# have to do anything special.
10332	aix_use_runtimelinking=no
10333	exp_sym_flag='-Bexport'
10334	no_entry_flag=""
10335      else
10336	# If we're using GNU nm, then we don't want the "-C" option.
10337	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10338	# Also, AIX nm treats weak defined symbols like other global
10339	# defined symbols, whereas GNU nm marks them as "W".
10340	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10341	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10342	else
10343	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10344	fi
10345	aix_use_runtimelinking=no
10346
10347	# Test if we are trying to use run time linking or normal
10348	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10349	# need to do runtime linking.
10350	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10351	  for ld_flag in $LDFLAGS; do
10352	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10353	    aix_use_runtimelinking=yes
10354	    break
10355	  fi
10356	  done
10357	  ;;
10358	esac
10359
10360	exp_sym_flag='-bexport'
10361	no_entry_flag='-bnoentry'
10362      fi
10363
10364      # When large executables or shared objects are built, AIX ld can
10365      # have problems creating the table of contents.  If linking a library
10366      # or program results in "error TOC overflow" add -mminimal-toc to
10367      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10368      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10369
10370      archive_cmds=''
10371      hardcode_direct=yes
10372      hardcode_direct_absolute=yes
10373      hardcode_libdir_separator=':'
10374      link_all_deplibs=yes
10375      file_list_spec='${wl}-f,'
10376
10377      if test "$GCC" = yes; then
10378	case $host_os in aix4.[012]|aix4.[012].*)
10379	# We only want to do this on AIX 4.2 and lower, the check
10380	# below for broken collect2 doesn't work under 4.3+
10381	  collect2name=`${CC} -print-prog-name=collect2`
10382	  if test -f "$collect2name" &&
10383	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10384	  then
10385	  # We have reworked collect2
10386	  :
10387	  else
10388	  # We have old collect2
10389	  hardcode_direct=unsupported
10390	  # It fails to find uninstalled libraries when the uninstalled
10391	  # path is not listed in the libpath.  Setting hardcode_minus_L
10392	  # to unsupported forces relinking
10393	  hardcode_minus_L=yes
10394	  hardcode_libdir_flag_spec='-L$libdir'
10395	  hardcode_libdir_separator=
10396	  fi
10397	  ;;
10398	esac
10399	shared_flag='-shared'
10400	if test "$aix_use_runtimelinking" = yes; then
10401	  shared_flag="$shared_flag "'${wl}-G'
10402	fi
10403      else
10404	# not using gcc
10405	if test "$host_cpu" = ia64; then
10406	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10407	# chokes on -Wl,-G. The following line is correct:
10408	  shared_flag='-G'
10409	else
10410	  if test "$aix_use_runtimelinking" = yes; then
10411	    shared_flag='${wl}-G'
10412	  else
10413	    shared_flag='${wl}-bM:SRE'
10414	  fi
10415	fi
10416      fi
10417
10418      export_dynamic_flag_spec='${wl}-bexpall'
10419      # It seems that -bexpall does not export symbols beginning with
10420      # underscore (_), so it is better to generate a list of symbols to export.
10421      always_export_symbols=yes
10422      if test "$aix_use_runtimelinking" = yes; then
10423	# Warning - without using the other runtime loading flags (-brtl),
10424	# -berok will link without error, but may produce a broken library.
10425	allow_undefined_flag='-berok'
10426        # Determine the default libpath from the value encoded in an
10427        # empty executable.
10428        if test "${lt_cv_aix_libpath+set}" = set; then
10429  aix_libpath=$lt_cv_aix_libpath
10430else
10431  if test "${lt_cv_aix_libpath_+set}" = set; then :
10432  $as_echo_n "(cached) " >&6
10433else
10434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435/* end confdefs.h.  */
10436
10437int
10438main ()
10439{
10440
10441  ;
10442  return 0;
10443}
10444_ACEOF
10445if ac_fn_c_try_link "$LINENO"; then :
10446  
10447  lt_aix_libpath_sed='
10448      /Import File Strings/,/^$/ {
10449	  /^0/ {
10450	      s/^0  *\([^ ]*\) *$/\1/
10451	      p
10452	  }
10453      }'
10454  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10455  # Check for a 64-bit object if we didn't find anything.
10456  if test -z "$lt_cv_aix_libpath_"; then
10457    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10458  fi
10459fi
10460rm -f core conftest.err conftest.$ac_objext \
10461    conftest$ac_exeext conftest.$ac_ext
10462  if test -z "$lt_cv_aix_libpath_"; then
10463    lt_cv_aix_libpath_="/usr/lib:/lib"
10464  fi
10465  
10466fi
10467
10468  aix_libpath=$lt_cv_aix_libpath_
10469fi
10470
10471        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10472        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10473      else
10474	if test "$host_cpu" = ia64; then
10475	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10476	  allow_undefined_flag="-z nodefs"
10477	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10478	else
10479	 # Determine the default libpath from the value encoded in an
10480	 # empty executable.
10481	 if test "${lt_cv_aix_libpath+set}" = set; then
10482  aix_libpath=$lt_cv_aix_libpath
10483else
10484  if test "${lt_cv_aix_libpath_+set}" = set; then :
10485  $as_echo_n "(cached) " >&6
10486else
10487  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488/* end confdefs.h.  */
10489
10490int
10491main ()
10492{
10493
10494  ;
10495  return 0;
10496}
10497_ACEOF
10498if ac_fn_c_try_link "$LINENO"; then :
10499  
10500  lt_aix_libpath_sed='
10501      /Import File Strings/,/^$/ {
10502	  /^0/ {
10503	      s/^0  *\([^ ]*\) *$/\1/
10504	      p
10505	  }
10506      }'
10507  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10508  # Check for a 64-bit object if we didn't find anything.
10509  if test -z "$lt_cv_aix_libpath_"; then
10510    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10511  fi
10512fi
10513rm -f core conftest.err conftest.$ac_objext \
10514    conftest$ac_exeext conftest.$ac_ext
10515  if test -z "$lt_cv_aix_libpath_"; then
10516    lt_cv_aix_libpath_="/usr/lib:/lib"
10517  fi
10518  
10519fi
10520
10521  aix_libpath=$lt_cv_aix_libpath_
10522fi
10523
10524	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10525	  # Warning - without using the other run time loading flags,
10526	  # -berok will link without error, but may produce a broken library.
10527	  no_undefined_flag=' ${wl}-bernotok'
10528	  allow_undefined_flag=' ${wl}-berok'
10529	  if test "$with_gnu_ld" = yes; then
10530	    # We only use this code for GNU lds that support --whole-archive.
10531	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10532	  else
10533	    # Exported symbols can be pulled into shared objects from archives
10534	    whole_archive_flag_spec='$convenience'
10535	  fi
10536	  archive_cmds_need_lc=yes
10537	  # This is similar to how AIX traditionally builds its shared libraries.
10538	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10539	fi
10540      fi
10541      ;;
10542
10543    amigaos*)
10544      case $host_cpu in
10545      powerpc)
10546            # see comment about AmigaOS4 .so support
10547            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10548            archive_expsym_cmds=''
10549        ;;
10550      m68k)
10551            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10552            hardcode_libdir_flag_spec='-L$libdir'
10553            hardcode_minus_L=yes
10554        ;;
10555      esac
10556      ;;
10557
10558    bsdi[45]*)
10559      export_dynamic_flag_spec=-rdynamic
10560      ;;
10561
10562    cygwin* | mingw* | pw32* | cegcc*)
10563      # When not using gcc, we currently assume that we are using
10564      # Microsoft Visual C++.
10565      # hardcode_libdir_flag_spec is actually meaningless, as there is
10566      # no search path for DLLs.
10567      case $cc_basename in
10568      cl*)
10569	# Native MSVC
10570	hardcode_libdir_flag_spec=' '
10571	allow_undefined_flag=unsupported
10572	always_export_symbols=yes
10573	file_list_spec='@'
10574	# Tell ltmain to make .lib files, not .a files.
10575	libext=lib
10576	# Tell ltmain to make .dll files, not .so files.
10577	shrext_cmds=".dll"
10578	# FIXME: Setting linknames here is a bad hack.
10579	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10580	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10581	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10582	  else
10583	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10584	  fi~
10585	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10586	  linknames='
10587	# The linker will not automatically build a static lib if we build a DLL.
10588	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10589	enable_shared_with_static_runtimes=yes
10590	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10591	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10592	# Don't use ranlib
10593	old_postinstall_cmds='chmod 644 $oldlib'
10594	postlink_cmds='lt_outputfile="@OUTPUT@"~
10595	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10596	  case $lt_outputfile in
10597	    *.exe|*.EXE) ;;
10598	    *)
10599	      lt_outputfile="$lt_outputfile.exe"
10600	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10601	      ;;
10602	  esac~
10603	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10604	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10605	    $RM "$lt_outputfile.manifest";
10606	  fi'
10607	;;
10608      *)
10609	# Assume MSVC wrapper
10610	hardcode_libdir_flag_spec=' '
10611	allow_undefined_flag=unsupported
10612	# Tell ltmain to make .lib files, not .a files.
10613	libext=lib
10614	# Tell ltmain to make .dll files, not .so files.
10615	shrext_cmds=".dll"
10616	# FIXME: Setting linknames here is a bad hack.
10617	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10618	# The linker will automatically build a .lib file if we build a DLL.
10619	old_archive_from_new_cmds='true'
10620	# FIXME: Should let the user specify the lib program.
10621	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10622	enable_shared_with_static_runtimes=yes
10623	;;
10624      esac
10625      ;;
10626
10627    darwin* | rhapsody*)
10628      
10629  
10630  archive_cmds_need_lc=no
10631  hardcode_direct=no
10632  hardcode_automatic=yes
10633  hardcode_shlibpath_var=unsupported
10634  if test "$lt_cv_ld_force_load" = "yes"; then
10635    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10636    
10637  else
10638    whole_archive_flag_spec=''
10639  fi
10640  link_all_deplibs=yes
10641  allow_undefined_flag="$_lt_dar_allow_undefined"
10642  case $cc_basename in
10643     ifort*) _lt_dar_can_shared=yes ;;
10644     *) _lt_dar_can_shared=$GCC ;;
10645  esac
10646  if test "$_lt_dar_can_shared" = "yes"; then
10647    output_verbose_link_cmd=func_echo_all
10648    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10649    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10650    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10651    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10652    
10653  else
10654  ld_shlibs=no
10655  fi
10656
10657      ;;
10658
10659    dgux*)
10660      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10661      hardcode_libdir_flag_spec='-L$libdir'
10662      hardcode_shlibpath_var=no
10663      ;;
10664
10665    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10666    # support.  Future versions do this automatically, but an explicit c++rt0.o
10667    # does not break anything, and helps significantly (at the cost of a little
10668    # extra space).
10669    freebsd2.2*)
10670      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10671      hardcode_libdir_flag_spec='-R$libdir'
10672      hardcode_direct=yes
10673      hardcode_shlibpath_var=no
10674      ;;
10675
10676    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10677    freebsd2.*)
10678      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10679      hardcode_direct=yes
10680      hardcode_minus_L=yes
10681      hardcode_shlibpath_var=no
10682      ;;
10683
10684    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10685    freebsd* | dragonfly*)
10686      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10687      hardcode_libdir_flag_spec='-R$libdir'
10688      hardcode_direct=yes
10689      hardcode_shlibpath_var=no
10690      ;;
10691
10692    hpux9*)
10693      if test "$GCC" = yes; then
10694	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10695      else
10696	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10697      fi
10698      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10699      hardcode_libdir_separator=:
10700      hardcode_direct=yes
10701
10702      # hardcode_minus_L: Not really in the search PATH,
10703      # but as the default location of the library.
10704      hardcode_minus_L=yes
10705      export_dynamic_flag_spec='${wl}-E'
10706      ;;
10707
10708    hpux10*)
10709      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10710	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10711      else
10712	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10713      fi
10714      if test "$with_gnu_ld" = no; then
10715	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10716	hardcode_libdir_separator=:
10717	hardcode_direct=yes
10718	hardcode_direct_absolute=yes
10719	export_dynamic_flag_spec='${wl}-E'
10720	# hardcode_minus_L: Not really in the search PATH,
10721	# but as the default location of the library.
10722	hardcode_minus_L=yes
10723      fi
10724      ;;
10725
10726    hpux11*)
10727      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10728	case $host_cpu in
10729	hppa*64*)
10730	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10731	  ;;
10732	ia64*)
10733	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10734	  ;;
10735	*)
10736	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10737	  ;;
10738	esac
10739      else
10740	case $host_cpu in
10741	hppa*64*)
10742	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10743	  ;;
10744	ia64*)
10745	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10746	  ;;
10747	*)
10748	
10749	  # Older versions of the 11.00 compiler do not understand -b yet
10750	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10751	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10752$as_echo_n "checking if $CC understands -b... " >&6; }
10753if test "${lt_cv_prog_compiler__b+set}" = set; then :
10754  $as_echo_n "(cached) " >&6
10755else
10756  lt_cv_prog_compiler__b=no
10757   save_LDFLAGS="$LDFLAGS"
10758   LDFLAGS="$LDFLAGS -b"
10759   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10760   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10761     # The linker can only warn and ignore the option if not recognized
10762     # So say no if there are warnings
10763     if test -s conftest.err; then
10764       # Append any errors to the config.log.
10765       cat conftest.err 1>&5
10766       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10767       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10768       if diff conftest.exp conftest.er2 >/dev/null; then
10769         lt_cv_prog_compiler__b=yes
10770       fi
10771     else
10772       lt_cv_prog_compiler__b=yes
10773     fi
10774   fi
10775   $RM -r conftest*
10776   LDFLAGS="$save_LDFLAGS"
10777
10778fi
10779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10780$as_echo "$lt_cv_prog_compiler__b" >&6; }
10781
10782if test x"$lt_cv_prog_compiler__b" = xyes; then
10783    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10784else
10785    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10786fi
10787
10788	  ;;
10789	esac
10790      fi
10791      if test "$with_gnu_ld" = no; then
10792	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10793	hardcode_libdir_separator=:
10794
10795	case $host_cpu in
10796	hppa*64*|ia64*)
10797	  hardcode_direct=no
10798	  hardcode_shlibpath_var=no
10799	  ;;
10800	*)
10801	  hardcode_direct=yes
10802	  hardcode_direct_absolute=yes
10803	  export_dynamic_flag_spec='${wl}-E'
10804
10805	  # hardcode_minus_L: Not really in the search PATH,
10806	  # but as the default location of the library.
10807	  hardcode_minus_L=yes
10808	  ;;
10809	esac
10810      fi
10811      ;;
10812
10813    irix5* | irix6* | nonstopux*)
10814      if test "$GCC" = yes; then
10815	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10816	# Try to use the -exported_symbol ld option, if it does not
10817	# work, assume that -exports_file does not work either and
10818	# implicitly export all symbols.
10819	# This should be the same for all languages, so no per-tag cache variable.
10820	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10821$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10822if test "${lt_cv_irix_exported_symbol+set}" = set; then :
10823  $as_echo_n "(cached) " >&6
10824else
10825  save_LDFLAGS="$LDFLAGS"
10826	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10827	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828/* end confdefs.h.  */
10829int foo (void) { return 0; }
10830_ACEOF
10831if ac_fn_c_try_link "$LINENO"; then :
10832  lt_cv_irix_exported_symbol=yes
10833else
10834  lt_cv_irix_exported_symbol=no
10835fi
10836rm -f core conftest.err conftest.$ac_objext \
10837    conftest$ac_exeext conftest.$ac_ext
10838           LDFLAGS="$save_LDFLAGS"
10839fi
10840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10841$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10842	if test "$lt_cv_irix_exported_symbol" = yes; then
10843          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10844	fi
10845      else
10846	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10847	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10848      fi
10849      archive_cmds_need_lc='no'
10850      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10851      hardcode_libdir_separator=:
10852      inherit_rpath=yes
10853      link_all_deplibs=yes
10854      ;;
10855
10856    netbsd*)
10857      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10858	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10859      else
10860	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10861      fi
10862      hardcode_libdir_flag_spec='-R$libdir'
10863      hardcode_direct=yes
10864      hardcode_shlibpath_var=no
10865      ;;
10866
10867    newsos6)
10868      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10869      hardcode_direct=yes
10870      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10871      hardcode_libdir_separator=:
10872      hardcode_shlibpath_var=no
10873      ;;
10874
10875    *nto* | *qnx*)
10876      ;;
10877
10878    openbsd*)
10879      if test -f /usr/libexec/ld.so; then
10880	hardcode_direct=yes
10881	hardcode_shlibpath_var=no
10882	hardcode_direct_absolute=yes
10883	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10884	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10885	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10886	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10887	  export_dynamic_flag_spec='${wl}-E'
10888	else
10889	  case $host_os in
10890	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10891	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10892	     hardcode_libdir_flag_spec='-R$libdir'
10893	     ;;
10894	   *)
10895	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10896	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10897	     ;;
10898	  esac
10899	fi
10900      else
10901	ld_shlibs=no
10902      fi
10903      ;;
10904
10905    os2*)
10906      hardcode_libdir_flag_spec='-L$libdir'
10907      hardcode_minus_L=yes
10908      allow_undefined_flag=unsupported
10909      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10910      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10911      ;;
10912
10913    osf3*)
10914      if test "$GCC" = yes; then
10915	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10916	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10917      else
10918	allow_undefined_flag=' -expect_unresolved \*'
10919	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10920      fi
10921      archive_cmds_need_lc='no'
10922      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10923      hardcode_libdir_separator=:
10924      ;;
10925
10926    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10927      if test "$GCC" = yes; then
10928	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10929	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10930	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10931      else
10932	allow_undefined_flag=' -expect_unresolved \*'
10933	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10934	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10935	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10936
10937	# Both c and cxx compiler support -rpath directly
10938	hardcode_libdir_flag_spec='-rpath $libdir'
10939      fi
10940      archive_cmds_need_lc='no'
10941      hardcode_libdir_separator=:
10942      ;;
10943
10944    solaris*)
10945      no_undefined_flag=' -z defs'
10946      if test "$GCC" = yes; then
10947	wlarc='${wl}'
10948	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10949	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10950	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10951      else
10952	case `$CC -V 2>&1` in
10953	*"Compilers 5.0"*)
10954	  wlarc=''
10955	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10956	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10957	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10958	  ;;
10959	*)
10960	  wlarc='${wl}'
10961	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10962	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10963	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10964	  ;;
10965	esac
10966      fi
10967      hardcode_libdir_flag_spec='-R$libdir'
10968      hardcode_shlibpath_var=no
10969      case $host_os in
10970      solaris2.[0-5] | solaris2.[0-5].*) ;;
10971      *)
10972	# The compiler driver will combine and reorder linker options,
10973	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10974	# but is careful enough not to reorder.
10975	# Supported since Solaris 2.6 (maybe 2.5.1?)
10976	if test "$GCC" = yes; then
10977	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10978	else
10979	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10980	fi
10981	;;
10982      esac
10983      link_all_deplibs=yes
10984      ;;
10985
10986    sunos4*)
10987      if test "x$host_vendor" = xsequent; then
10988	# Use $CC to link under sequent, because it throws in some extra .o
10989	# files that make .init and .fini sections work.
10990	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10991      else
10992	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10993      fi
10994      hardcode_libdir_flag_spec='-L$libdir'
10995      hardcode_direct=yes
10996      hardcode_minus_L=yes
10997      hardcode_shlibpath_var=no
10998      ;;
10999
11000    sysv4)
11001      case $host_vendor in
11002	sni)
11003	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11004	  hardcode_direct=yes # is this really true???
11005	;;
11006	siemens)
11007	  ## LD is ld it makes a PLAMLIB
11008	  ## CC just makes a GrossModule.
11009	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11010	  reload_cmds='$CC -r -o $output$reload_objs'
11011	  hardcode_direct=no
11012        ;;
11013	motorola)
11014	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11015	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11016	;;
11017      esac
11018      runpath_var='LD_RUN_PATH'
11019      hardcode_shlibpath_var=no
11020      ;;
11021
11022    sysv4.3*)
11023      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11024      hardcode_shlibpath_var=no
11025      export_dynamic_flag_spec='-Bexport'
11026      ;;
11027
11028    sysv4*MP*)
11029      if test -d /usr/nec; then
11030	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11031	hardcode_shlibpath_var=no
11032	runpath_var=LD_RUN_PATH
11033	hardcode_runpath_var=yes
11034	ld_shlibs=yes
11035      fi
11036      ;;
11037
11038    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11039      no_undefined_flag='${wl}-z,text'
11040      archive_cmds_need_lc=no
11041      hardcode_shlibpath_var=no
11042      runpath_var='LD_RUN_PATH'
11043
11044      if test "$GCC" = yes; then
11045	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11046	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11047      else
11048	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11049	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11050      fi
11051      ;;
11052
11053    sysv5* | sco3.2v5* | sco5v6*)
11054      # Note: We can NOT use -z defs as we might desire, because we do not
11055      # link with -lc, and that would cause any symbols used from libc to
11056      # always be unresolved, which means just about no library would
11057      # ever link correctly.  If we're not using GNU ld we use -z text
11058      # though, which does catch some bad symbols but isn't as heavy-handed
11059      # as -z defs.
11060      no_undefined_flag='${wl}-z,text'
11061      allow_undefined_flag='${wl}-z,nodefs'
11062      archive_cmds_need_lc=no
11063      hardcode_shlibpath_var=no
11064      hardcode_libdir_flag_spec='${wl}-R,$libdir'
11065      hardcode_libdir_separator=':'
11066      link_all_deplibs=yes
11067      export_dynamic_flag_spec='${wl}-Bexport'
11068      runpath_var='LD_RUN_PATH'
11069
11070      if test "$GCC" = yes; then
11071	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11072	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11073      else
11074	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11075	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11076      fi
11077      ;;
11078
11079    uts4*)
11080      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11081      hardcode_libdir_flag_spec='-L$libdir'
11082      hardcode_shlibpath_var=no
11083      ;;
11084
11085    *)
11086      ld_shlibs=no
11087      ;;
11088    esac
11089
11090    if test x$host_vendor = xsni; then
11091      case $host in
11092      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11093	export_dynamic_flag_spec='${wl}-Blargedynsym'
11094	;;
11095      esac
11096    fi
11097  fi
11098
11099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11100$as_echo "$ld_shlibs" >&6; }
11101test "$ld_shlibs" = no && can_build_shared=no
11102
11103with_gnu_ld=$with_gnu_ld
11104
11105
11106    
11107    
11108    
11109
11110    
11111    
11112    
11113
11114    
11115    
11116    
11117
11118
11119#
11120# Do we need to explicitly link libc?
11121#
11122case "x$archive_cmds_need_lc" in
11123x|xyes)
11124  # Assume -lc should be added
11125  archive_cmds_need_lc=yes
11126
11127  if test "$enable_shared" = yes && test "$GCC" = yes; then
11128    case $archive_cmds in
11129    *'~'*)
11130      # FIXME: we may have to deal with multi-command sequences.
11131      ;;
11132    '$CC '*)
11133      # Test whether the compiler implicitly links with -lc since on some
11134      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11135      # to ld, don't add -lc before -lgcc.
11136      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11137$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11138if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11139  $as_echo_n "(cached) " >&6
11140else
11141  $RM conftest*
11142	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11143
11144	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11145  (eval $ac_compile) 2>&5
11146  ac_status=$?
11147  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11148  test $ac_status = 0; } 2>conftest.err; then
11149	  soname=conftest
11150	  lib=conftest
11151	  libobjs=conftest.$ac_objext
11152	  deplibs=
11153	  wl=$lt_prog_compiler_wl
11154	  pic_flag=$lt_prog_compiler_pic
11155	  compiler_flags=-v
11156	  linker_flags=-v
11157	  verstring=
11158	  output_objdir=.
11159	  libname=conftest
11160	  lt_save_allow_undefined_flag=$allow_undefined_flag
11161	  allow_undefined_flag=
11162	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11163  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11164  ac_status=$?
11165  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11166  test $ac_status = 0; }
11167	  then
11168	    lt_cv_archive_cmds_need_lc=no
11169	  else
11170	    lt_cv_archive_cmds_need_lc=yes
11171	  fi
11172	  allow_undefined_flag=$lt_save_allow_undefined_flag
11173	else
11174	  cat conftest.err 1>&5
11175	fi
11176	$RM conftest*
11177	
11178fi
11179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11180$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11181      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11182      ;;
11183    esac
11184  fi
11185  ;;
11186esac
11187
11188
11189    
11190    
11191    
11192
11193
11194    
11195    
11196    
11197
11198
11199    
11200    
11201    
11202
11203
11204    
11205    
11206    
11207
11208
11209    
11210    
11211    
11212
11213
11214    
11215    
11216    
11217
11218
11219    
11220    
11221    
11222
11223
11224    
11225    
11226    
11227
11228
11229    
11230    
11231    
11232
11233
11234    
11235    
11236    
11237
11238
11239    
11240    
11241    
11242
11243
11244    
11245    
11246    
11247
11248
11249    
11250    
11251    
11252
11253
11254    
11255    
11256    
11257
11258
11259    
11260    
11261    
11262
11263
11264    
11265    
11266    
11267
11268
11269    
11270    
11271    
11272
11273
11274    
11275    
11276    
11277
11278
11279    
11280    
11281    
11282
11283
11284    
11285    
11286    
11287
11288
11289    
11290    
11291    
11292
11293
11294    
11295    
11296    
11297
11298
11299    
11300    
11301    
11302
11303
11304    
11305    
11306    
11307
11308
11309    
11310    
11311    
11312
11313
11314    
11315    
11316    
11317
11318
11319    
11320    
11321    
11322
11323
11324    
11325    
11326    
11327
11328
11329    
11330    
11331    
11332
11333
11334    
11335    
11336    
11337
11338
11339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11340$as_echo_n "checking dynamic linker characteristics... " >&6; }
11341
11342if test "$GCC" = yes; then
11343  case $host_os in
11344    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11345    *) lt_awk_arg="/^libraries:/" ;;
11346  esac
11347  case $host_os in
11348    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11349    *) lt_sed_strip_eq="s,=/,/,g" ;;
11350  esac
11351  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11352  case $lt_search_path_spec in
11353  *\;*)
11354    # if the path contains ";" then we assume it to be the separator
11355    # otherwise default to the standard path separator (i.e. ":") - it is
11356    # assumed that no part of a normal pathname contains ";" but that should
11357    # okay in the real world where ";" in dirpaths is itself problematic.
11358    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11359    ;;
11360  *)
11361    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11362    ;;
11363  esac
11364  # Ok, now we have the path, separated by spaces, we can step through it
11365  # and add multilib dir if necessary.
11366  lt_tmp_lt_search_path_spec=
11367  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11368  for lt_sys_path in $lt_search_path_spec; do
11369    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11370      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11371    else
11372      test -d "$lt_sys_path" && \
11373	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11374    fi
11375  done
11376  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11377BEGIN {RS=" "; FS="/|\n";} {
11378  lt_foo="";
11379  lt_count=0;
11380  for (lt_i = NF; lt_i > 0; lt_i--) {
11381    if ($lt_i != "" && $lt_i != ".") {
11382      if ($lt_i == "..") {
11383        lt_count++;
11384      } else {
11385        if (lt_count == 0) {
11386          lt_foo="/" $lt_i lt_foo;
11387        } else {
11388          lt_count--;
11389        }
11390      }
11391    }
11392  }
11393  if (lt_foo != "") { lt_freq[lt_foo]++; }
11394  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11395}'`
11396  # AWK program above erroneously prepends '/' to C:/dos/paths
11397  # for these hosts.
11398  case $host_os in
11399    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11400      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11401  esac
11402  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11403else
11404  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11405fi
11406library_names_spec=
11407libname_spec='lib$name'
11408soname_spec=
11409shrext_cmds=".so"
11410postinstall_cmds=
11411postuninstall_cmds=
11412finish_cmds=
11413finish_eval=
11414shlibpath_var=
11415shlibpath_overrides_runpath=unknown
11416version_type=none
11417dynamic_linker="$host_os ld.so"
11418sys_lib_dlsearch_path_spec="/lib /usr/lib"
11419need_lib_prefix=unknown
11420hardcode_into_libs=no
11421
11422# when you set need_version to no, make sure it does not cause -set_version
11423# flags to be left without arguments
11424need_version=unknown
11425
11426case $host_os in
11427aix3*)
11428  version_type=linux # correct to gnu/linux during the next big refactor
11429  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11430  shlibpath_var=LIBPATH
11431
11432  # AIX 3 has no versioning support, so we append a major version to the name.
11433  soname_spec='${libname}${release}${shared_ext}$major'
11434  ;;
11435
11436aix[4-9]*)
11437  version_type=linux # correct to gnu/linux during the next big refactor
11438  need_lib_prefix=no
11439  need_version=no
11440  hardcode_into_libs=yes
11441  if test "$host_cpu" = ia64; then
11442    # AIX 5 supports IA64
11443    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11444    shlibpath_var=LD_LIBRARY_PATH
11445  else
11446    # With GCC up to 2.95.x, collect2 would create an import file
11447    # for dependence libraries.  The import file would start with
11448    # the line `#! .'.  This would cause the generated library to
11449    # depend on `.', always an invalid library.  This was fixed in
11450    # development snapshots of GCC prior to 3.0.
11451    case $host_os in
11452      aix4 | aix4.[01] | aix4.[01].*)
11453      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11454	   echo ' yes '
11455	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11456	:
11457      else
11458	can_build_shared=no
11459      fi
11460      ;;
11461    esac
11462    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11463    # soname into executable. Probably we can add versioning support to
11464    # collect2, so additional links can be useful in future.
11465    if test "$aix_use_runtimelinking" = yes; then
11466      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11467      # instead of lib<name>.a to let people know that these are not
11468      # typical AIX shared libraries.
11469      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11470    else
11471      # We preserve .a as extension for shared libraries through AIX4.2
11472      # and later when we are not doing run time linking.
11473      library_names_spec='${libname}${release}.a $libname.a'
11474      soname_spec='${libname}${release}${shared_ext}$major'
11475    fi
11476    shlibpath_var=LIBPATH
11477  fi
11478  ;;
11479
11480amigaos*)
11481  case $host_cpu in
11482  powerpc)
11483    # Since July 2007 AmigaOS4 officially supports .so libraries.
11484    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11485    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486    ;;
11487  m68k)
11488    library_names_spec='$libname.ixlibrary $libname.a'
11489    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11490    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11491    ;;
11492  esac
11493  ;;
11494
11495beos*)
11496  library_names_spec='${libname}${shared_ext}'
11497  dynamic_linker="$host_os ld.so"
11498  shlibpath_var=LIBRARY_PATH
11499  ;;
11500
11501bsdi[45]*)
11502  version_type=linux # correct to gnu/linux during the next big refactor
11503  need_version=no
11504  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505  soname_spec='${libname}${release}${shared_ext}$major'
11506  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11507  shlibpath_var=LD_LIBRARY_PATH
11508  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11509  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11510  # the default ld.so.conf also contains /usr/contrib/lib and
11511  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11512  # libtool to hard-code these into programs
11513  ;;
11514
11515cygwin* | mingw* | pw32* | cegcc*)
11516  version_type=windows
11517  shrext_cmds=".dll"
11518  need_version=no
11519  need_lib_prefix=no
11520
11521  case $GCC,$cc_basename in
11522  yes,*)
11523    # gcc
11524    library_names_spec='$libname.dll.a'
11525    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11526    postinstall_cmds='base_file=`basename \${file}`~
11527      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11528      dldir=$destdir/`dirname \$dlpath`~
11529      test -d \$dldir || mkdir -p \$dldir~
11530      $install_prog $dir/$dlname \$dldir/$dlname~
11531      chmod a+x \$dldir/$dlname~
11532      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11533        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11534      fi'
11535    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11536      dlpath=$dir/\$dldll~
11537       $RM \$dlpath'
11538    shlibpath_overrides_runpath=yes
11539
11540    case $host_os in
11541    cygwin*)
11542      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11543      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11544
11545      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11546      ;;
11547    mingw* | cegcc*)
11548      # MinGW DLLs use traditional 'lib' prefix
11549      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11550      ;;
11551    pw32*)
11552      # pw32 DLLs use 'pw' prefix rather than 'lib'
11553      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11554      ;;
11555    esac
11556    dynamic_linker='Win32 ld.exe'
11557    ;;
11558
11559  *,cl*)
11560    # Native MSVC
11561    libname_spec='$name'
11562    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11563    library_names_spec='${libname}.dll.lib'
11564
11565    case $build_os in
11566    mingw*)
11567      sys_lib_search_path_spec=
11568      lt_save_ifs=$IFS
11569      IFS=';'
11570      for lt_path in $LIB
11571      do
11572        IFS=$lt_save_ifs
11573        # Let DOS variable expansion print the short 8.3 style file name.
11574        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11575        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11576      done
11577      IFS=$lt_save_ifs
11578      # Convert to MSYS style.
11579      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11580      ;;
11581    cygwin*)
11582      # Convert to unix form, then to dos form, then back to unix form
11583      # but this time dos style (no spaces!) so that the unix form looks
11584      # like /cygdrive/c/PROGRA~1:/cygdr...
11585      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11586      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11587      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11588      ;;
11589    *)
11590      sys_lib_search_path_spec="$LIB"
11591      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11592        # It is most probably a Windows format PATH.
11593        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11594      else
11595        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11596      fi
11597      # FIXME: find the short name or the path components, as spaces are
11598      # common. (e.g. "Program Files" -> "PROGRA~1")
11599      ;;
11600    esac
11601
11602    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11603    postinstall_cmds='base_file=`basename \${file}`~
11604      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11605      dldir=$destdir/`dirname \$dlpath`~
11606      test -d \$dldir || mkdir -p \$dldir~
11607      $install_prog $dir/$dlname \$dldir/$dlname'
11608    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11609      dlpath=$dir/\$dldll~
11610       $RM \$dlpath'
11611    shlibpath_overrides_runpath=yes
11612    dynamic_linker='Win32 link.exe'
11613    ;;
11614
11615  *)
11616    # Assume MSVC wrapper
11617    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11618    dynamic_linker='Win32 ld.exe'
11619    ;;
11620  esac
11621  # FIXME: first we should search . and the directory the executable is in
11622  shlibpath_var=PATH
11623  ;;
11624
11625darwin* | rhapsody*)
11626  dynamic_linker="$host_os dyld"
11627  version_type=darwin
11628  need_lib_prefix=no
11629  need_version=no
11630  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11631  soname_spec='${libname}${release}${major}$shared_ext'
11632  shlibpath_overrides_runpath=yes
11633  shlibpath_var=DYLD_LIBRARY_PATH
11634  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11635
11636  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11637  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11638  ;;
11639
11640dgux*)
11641  version_type=linux # correct to gnu/linux during the next big refactor
11642  need_lib_prefix=no
11643  need_version=no
11644  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11645  soname_spec='${libname}${release}${shared_ext}$major'
11646  shlibpath_var=LD_LIBRARY_PATH
11647  ;;
11648
11649freebsd* | dragonfly*)
11650  # DragonFly does not have aout.  When/if they implement a new
11651  # versioning mechanism, adjust this.
11652  if test -x /usr/bin/objformat; then
11653    objformat=`/usr/bin/objformat`
11654  else
11655    case $host_os in
11656    freebsd[23].*) objformat=aout ;;
11657    *) objformat=elf ;;
11658    esac
11659  fi
11660  version_type=freebsd-$objformat
11661  case $version_type in
11662    freebsd-elf*)
11663      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11664      need_version=no
11665      need_lib_prefix=no
11666      ;;
11667    freebsd-*)
11668      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11669      need_version=yes
11670      ;;
11671  esac
11672  shlibpath_var=LD_LIBRARY_PATH
11673  case $host_os in
11674  freebsd2.*)
11675    shlibpath_overrides_runpath=yes
11676    ;;
11677  freebsd3.[01]* | freebsdelf3.[01]*)
11678    shlibpath_overrides_runpath=yes
11679    hardcode_into_libs=yes
11680    ;;
11681  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11682  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11683    shlibpath_overrides_runpath=no
11684    hardcode_into_libs=yes
11685    ;;
11686  *) # from 4.6 on, and DragonFly
11687    shlibpath_overrides_runpath=yes
11688    hardcode_into_libs=yes
11689    ;;
11690  esac
11691  ;;
11692
11693gnu*)
11694  version_type=linux # correct to gnu/linux during the next big refactor
11695  need_lib_prefix=no
11696  need_version=no
11697  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11698  soname_spec='${libname}${release}${shared_ext}$major'
11699  shlibpath_var=LD_LIBRARY_PATH
11700  shlibpath_overrides_runpath=no
11701  hardcode_into_libs=yes
11702  ;;
11703
11704haiku*)
11705  version_type=linux # correct to gnu/linux during the next big refactor
11706  need_lib_prefix=no
11707  need_version=no
11708  dynamic_linker="$host_os runtime_loader"
11709  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11710  soname_spec='${libname}${release}${shared_ext}$major'
11711  shlibpath_var=LIBRARY_PATH
11712  shlibpath_overrides_runpath=yes
11713  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11714  hardcode_into_libs=yes
11715  ;;
11716
11717hpux9* | hpux10* | hpux11*)
11718  # Give a soname corresponding to the major version so that dld.sl refuses to
11719  # link against other versions.
11720  version_type=sunos
11721  need_lib_prefix=no
11722  need_version=no
11723  case $host_cpu in
11724  ia64*)
11725    shrext_cmds='.so'
11726    hardcode_into_libs=yes
11727    dynamic_linker="$host_os dld.so"
11728    shlibpath_var=LD_LIBRARY_PATH
11729    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11730    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11731    soname_spec='${libname}${release}${shared_ext}$major'
11732    if test "X$HPUX_IA64_MODE" = X32; then
11733      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11734    else
11735      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11736    fi
11737    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11738    ;;
11739  hppa*64*)
11740    shrext_cmds='.sl'
11741    hardcode_into_libs=yes
11742    dynamic_linker="$host_os dld.sl"
11743    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11744    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11745    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11746    soname_spec='${libname}${release}${shared_ext}$major'
11747    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11748    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11749    ;;
11750  *)
11751    shrext_cmds='.sl'
11752    dynamic_linker="$host_os dld.sl"
11753    shlibpath_var=SHLIB_PATH
11754    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11755    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11756    soname_spec='${libname}${release}${shared_ext}$major'
11757    ;;
11758  esac
11759  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11760  postinstall_cmds='chmod 555 $lib'
11761  # or fails outright, so override atomically:
11762  install_override_mode=555
11763  ;;
11764
11765interix[3-9]*)
11766  version_type=linux # correct to gnu/linux during the next big refactor
11767  need_lib_prefix=no
11768  need_version=no
11769  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11770  soname_spec='${libname}${release}${shared_ext}$major'
11771  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11772  shlibpath_var=LD_LIBRARY_PATH
11773  shlibpath_overrides_runpath=no
11774  hardcode_into_libs=yes
11775  ;;
11776
11777irix5* | irix6* | nonstopux*)
11778  case $host_os in
11779    nonstopux*) version_type=nonstopux ;;
11780    *)
11781	if test "$lt_cv_prog_gnu_ld" = yes; then
11782		version_type=linux # correct to gnu/linux during the next big refactor
11783	else
11784		version_type=irix
11785	fi ;;
11786  esac
11787  need_lib_prefix=no
11788  need_version=no
11789  soname_spec='${libname}${release}${shared_ext}$major'
11790  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11791  case $host_os in
11792  irix5* | nonstopux*)
11793    libsuff= shlibsuff=
11794    ;;
11795  *)
11796    case $LD in # libtool.m4 will add one of these switches to LD
11797    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11798      libsuff= shlibsuff= libmagic=32-bit;;
11799    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11800      libsuff=32 shlibsuff=N32 libmagic=N32;;
11801    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11802      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11803    *) libsuff= shlibsuff= libmagic=never-match;;
11804    esac
11805    ;;
11806  esac
11807  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11808  shlibpath_overrides_runpath=no
11809  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11810  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11811  hardcode_into_libs=yes
11812  ;;
11813
11814# No shared lib support for Linux oldld, aout, or coff.
11815linux*oldld* | linux*aout* | linux*coff*)
11816  dynamic_linker=no
11817  ;;
11818
11819# This must be glibc/ELF.
11820linux* | k*bsd*-gnu | kopensolaris*-gnu)
11821  version_type=linux # correct to gnu/linux during the next big refactor
11822  need_lib_prefix=no
11823  need_version=no
11824  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11825  soname_spec='${libname}${release}${shared_ext}$major'
11826  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11827  shlibpath_var=LD_LIBRARY_PATH
11828  shlibpath_overrides_runpath=no
11829
11830  # Some binutils ld are patched to set DT_RUNPATH
11831  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11832  $as_echo_n "(cached) " >&6
11833else
11834  lt_cv_shlibpath_overrides_runpath=no
11835    save_LDFLAGS=$LDFLAGS
11836    save_libdir=$libdir
11837    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11838	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11839    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840/* end confdefs.h.  */
11841
11842int
11843main ()
11844{
11845
11846  ;
11847  return 0;
11848}
11849_ACEOF
11850if ac_fn_c_try_link "$LINENO"; then :
11851  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11852  lt_cv_shlibpath_overrides_runpath=yes
11853fi
11854fi
11855rm -f core conftest.err conftest.$ac_objext \
11856    conftest$ac_exeext conftest.$ac_ext
11857    LDFLAGS=$save_LDFLAGS
11858    libdir=$save_libdir
11859    
11860fi
11861
11862  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11863
11864  # This implies no fast_install, which is unacceptable.
11865  # Some rework will be needed to allow for fast_install
11866  # before this can be enabled.
11867  hardcode_into_libs=yes
11868
11869  # Add ABI-specific directories to the system library path.
11870  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11871
11872  # Append ld.so.conf contents to the search path
11873  if test -f /etc/ld.so.conf; then
11874    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11875    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11876
11877  fi
11878
11879  # We used to test for /lib/ld.so.1 and disable shared libraries on
11880  # powerpc, because MkLinux only supported shared libraries with the
11881  # GNU dynamic linker.  Since this was broken with cross compilers,
11882  # most powerpc-linux boxes support dynamic linking these days and
11883  # people can always --disable-shared, the test was removed, and we
11884  # assume the GNU/Linux dynamic linker is in use.
11885  dynamic_linker='GNU/Linux ld.so'
11886  ;;
11887
11888netbsd*)
11889  version_type=sunos
11890  need_lib_prefix=no
11891  need_version=no
11892  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11893    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11894    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11895    dynamic_linker='NetBSD (a.out) ld.so'
11896  else
11897    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11898    soname_spec='${libname}${release}${shared_ext}$major'
11899    dynamic_linker='NetBSD ld.elf_so'
11900  fi
11901  shlibpath_var=LD_LIBRARY_PATH
11902  shlibpath_overrides_runpath=yes
11903  hardcode_into_libs=yes
11904  ;;
11905
11906newsos6)
11907  version_type=linux # correct to gnu/linux during the next big refactor
11908  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11909  shlibpath_var=LD_LIBRARY_PATH
11910  shlibpath_overrides_runpath=yes
11911  ;;
11912
11913*nto* | *qnx*)
11914  version_type=qnx
11915  need_lib_prefix=no
11916  need_version=no
11917  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11918  soname_spec='${libname}${release}${shared_ext}$major'
11919  shlibpath_var=LD_LIBRARY_PATH
11920  shlibpath_overrides_runpath=no
11921  hardcode_into_libs=yes
11922  dynamic_linker='ldqnx.so'
11923  ;;
11924
11925openbsd*)
11926  version_type=sunos
11927  sys_lib_dlsearch_path_spec="/usr/lib"
11928  need_lib_prefix=no
11929  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11930  case $host_os in
11931    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11932    *)				need_version=no  ;;
11933  esac
11934  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11935  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11936  shlibpath_var=LD_LIBRARY_PATH
11937  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11938    case $host_os in
11939      openbsd2.[89] | openbsd2.[89].*)
11940	shlibpath_overrides_runpath=no
11941	;;
11942      *)
11943	shlibpath_overrides_runpath=yes
11944	;;
11945      esac
11946  else
11947    shlibpath_overrides_runpath=yes
11948  fi
11949  ;;
11950
11951os2*)
11952  libname_spec='$name'
11953  shrext_cmds=".dll"
11954  need_lib_prefix=no
11955  library_names_spec='$libname${shared_ext} $libname.a'
11956  dynamic_linker='OS/2 ld.exe'
11957  shlibpath_var=LIBPATH
11958  ;;
11959
11960osf3* | osf4* | osf5*)
11961  version_type=osf
11962  need_lib_prefix=no
11963  need_version=no
11964  soname_spec='${libname}${release}${shared_ext}$major'
11965  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11966  shlibpath_var=LD_LIBRARY_PATH
11967  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11968  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11969  ;;
11970
11971rdos*)
11972  dynamic_linker=no
11973  ;;
11974
11975solaris*)
11976  version_type=linux # correct to gnu/linux during the next big refactor
11977  need_lib_prefix=no
11978  need_version=no
11979  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11980  soname_spec='${libname}${release}${shared_ext}$major'
11981  shlibpath_var=LD_LIBRARY_PATH
11982  shlibpath_overrides_runpath=yes
11983  hardcode_into_libs=yes
11984  # ldd complains unless libraries are executable
11985  postinstall_cmds='chmod +x $lib'
11986  ;;
11987
11988sunos4*)
11989  version_type=sunos
11990  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11991  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11992  shlibpath_var=LD_LIBRARY_PATH
11993  shlibpath_overrides_runpath=yes
11994  if test "$with_gnu_ld" = yes; then
11995    need_lib_prefix=no
11996  fi
11997  need_version=yes
11998  ;;
11999
12000sysv4 | sysv4.3*)
12001  version_type=linux # correct to gnu/linux during the next big refactor
12002  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12003  soname_spec='${libname}${release}${shared_ext}$major'
12004  shlibpath_var=LD_LIBRARY_PATH
12005  case $host_vendor in
12006    sni)
12007      shlibpath_overrides_runpath=no
12008      need_lib_prefix=no
12009      runpath_var=LD_RUN_PATH
12010      ;;
12011    siemens)
12012      need_lib_prefix=no
12013      ;;
12014    motorola)
12015      need_lib_prefix=no
12016      need_version=no
12017      shlibpath_overrides_runpath=no
12018      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12019      ;;
12020  esac
12021  ;;
12022
12023sysv4*MP*)
12024  if test -d /usr/nec ;then
12025    version_type=linux # correct to gnu/linux during the next big refactor
12026    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12027    soname_spec='$libname${shared_ext}.$major'
12028    shlibpath_var=LD_LIBRARY_PATH
12029  fi
12030  ;;
12031
12032sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12033  version_type=freebsd-elf
12034  need_lib_prefix=no
12035  need_version=no
12036  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12037  soname_spec='${libname}${release}${shared_ext}$major'
12038  shlibpath_var=LD_LIBRARY_PATH
12039  shlibpath_overrides_runpath=yes
12040  hardcode_into_libs=yes
12041  if test "$with_gnu_ld" = yes; then
12042    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12043  else
12044    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12045    case $host_os in
12046      sco3.2v5*)
12047        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12048	;;
12049    esac
12050  fi
12051  sys_lib_dlsearch_path_spec='/usr/lib'
12052  ;;
12053
12054tpf*)
12055  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12056  version_type=linux # correct to gnu/linux during the next big refactor
12057  need_lib_prefix=no
12058  need_version=no
12059  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12060  shlibpath_var=LD_LIBRARY_PATH
12061  shlibpath_overrides_runpath=no
12062  hardcode_into_libs=yes
12063  ;;
12064
12065uts4*)
12066  version_type=linux # correct to gnu/linux during the next big refactor
12067  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12068  soname_spec='${libname}${release}${shared_ext}$major'
12069  shlibpath_var=LD_LIBRARY_PATH
12070  ;;
12071
12072*)
12073  dynamic_linker=no
12074  ;;
12075esac
12076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12077$as_echo "$dynamic_linker" >&6; }
12078test "$dynamic_linker" = no && can_build_shared=no
12079
12080variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12081if test "$GCC" = yes; then
12082  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12083fi
12084
12085if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12086  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12087fi
12088if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12089  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12090fi
12091
12092
12093    
12094    
12095    
12096
12097
12098    
12099    
12100    
12101
12102
12103    
12104    
12105    
12106
12107
12108    
12109    
12110    
12111
12112
12113    
12114    
12115    
12116
12117
12118    
12119    
12120    
12121
12122
12123    
12124    
12125    
12126
12127
12128    
12129    
12130    
12131
12132
12133    
12134    
12135    
12136
12137
12138    
12139    
12140    
12141
12142
12143    
12144    
12145    
12146
12147
12148    
12149    
12150    
12151
12152
12153    
12154    
12155    
12156
12157
12158    
12159    
12160    
12161
12162
12163    
12164    
12165    
12166
12167
12168    
12169    
12170    
12171
12172
12173    
12174    
12175    
12176
12177
12178    
12179    
12180    
12181
12182
12183  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12184$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12185hardcode_action=
12186if test -n "$hardcode_libdir_flag_spec" ||
12187   test -n "$runpath_var" ||
12188   test "X$hardcode_automatic" = "Xyes" ; then
12189
12190  # We can hardcode non-existent directories.
12191  if test "$hardcode_direct" != no &&
12192     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12193     # have to relink, otherwise we might link with an installed library
12194     # when we should be linking with a yet-to-be-installed one
12195     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12196     test "$hardcode_minus_L" != no; then
12197    # Linking always hardcodes the temporary library directory.
12198    hardcode_action=relink
12199  else
12200    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12201    hardcode_action=immediate
12202  fi
12203else
12204  # We cannot hardcode anything, or else we can only hardcode existing
12205  # directories.
12206  hardcode_action=unsupported
12207fi
12208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12209$as_echo "$hardcode_action" >&6; }
12210
12211if test "$hardcode_action" = relink ||
12212   test "$inherit_rpath" = yes; then
12213  # Fast installation is not supported
12214  enable_fast_install=no
12215elif test "$shlibpath_overrides_runpath" = yes ||
12216     test "$enable_shared" = no; then
12217  # Fast installation is not necessary
12218  enable_fast_install=needless
12219fi
12220
12221    
12222    
12223    
12224
12225
12226  if test "x$enable_dlopen" != xyes; then
12227  enable_dlopen=unknown
12228  enable_dlopen_self=unknown
12229  enable_dlopen_self_static=unknown
12230else
12231  lt_cv_dlopen=no
12232  lt_cv_dlopen_libs=
12233
12234  case $host_os in
12235  beos*)
12236    lt_cv_dlopen="load_add_on"
12237    lt_cv_dlopen_libs=
12238    lt_cv_dlopen_self=yes
12239    ;;
12240
12241  mingw* | pw32* | cegcc*)
12242    lt_cv_dlopen="LoadLibrary"
12243    lt_cv_dlopen_libs=
12244    ;;
12245
12246  cygwin*)
12247    lt_cv_dlopen="dlopen"
12248    lt_cv_dlopen_libs=
12249    ;;
12250
12251  darwin*)
12252  # if libdl is installed we need to link against it
12253    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12254$as_echo_n "checking for dlopen in -ldl... " >&6; }
12255if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12256  $as_echo_n "(cached) " >&6
12257else
12258  ac_check_lib_save_LIBS=$LIBS
12259LIBS="-ldl  $LIBS"
12260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261/* end confdefs.h.  */
12262
12263/* Override any GCC internal prototype to avoid an error.
12264   Use char because int might match the return type of a GCC
12265   builtin and then its argument prototype would still apply.  */
12266#ifdef __cplusplus
12267extern "C"
12268#endif
12269char dlopen ();
12270int
12271main ()
12272{
12273return dlopen ();
12274  ;
12275  return 0;
12276}
12277_ACEOF
12278if ac_fn_c_try_link "$LINENO"; then :
12279  ac_cv_lib_dl_dlopen=yes
12280else
12281  ac_cv_lib_dl_dlopen=no
12282fi
12283rm -f core conftest.err conftest.$ac_objext \
12284    conftest$ac_exeext conftest.$ac_ext
12285LIBS=$ac_check_lib_save_LIBS
12286fi
12287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12288$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12289if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12290  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12291else
12292  
12293    lt_cv_dlopen="dyld"
12294    lt_cv_dlopen_libs=
12295    lt_cv_dlopen_self=yes
12296    
12297fi
12298
12299    ;;
12300
12301  *)
12302    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12303if test "x$ac_cv_func_shl_load" = x""yes; then :
12304  lt_cv_dlopen="shl_load"
12305else
12306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12307$as_echo_n "checking for shl_load in -ldld... " >&6; }
12308if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12309  $as_echo_n "(cached) " >&6
12310else
12311  ac_check_lib_save_LIBS=$LIBS
12312LIBS="-ldld  $LIBS"
12313cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314/* end confdefs.h.  */
12315
12316/* Override any GCC internal prototype to avoid an error.
12317   Use char because int might match the return type of a GCC
12318   builtin and then its argument prototype would still apply.  */
12319#ifdef __cplusplus
12320extern "C"
12321#endif
12322char shl_load ();
12323int
12324main ()
12325{
12326return shl_load ();
12327  ;
12328  return 0;
12329}
12330_ACEOF
12331if ac_fn_c_try_link "$LINENO"; then :
12332  ac_cv_lib_dld_shl_load=yes
12333else
12334  ac_cv_lib_dld_shl_load=no
12335fi
12336rm -f core conftest.err conftest.$ac_objext \
12337    conftest$ac_exeext conftest.$ac_ext
12338LIBS=$ac_check_lib_save_LIBS
12339fi
12340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12341$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12342if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12343  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12344else
12345  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12346if test "x$ac_cv_func_dlopen" = x""yes; then :
12347  lt_cv_dlopen="dlopen"
12348else
12349  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12350$as_echo_n "checking for dlopen in -ldl... " >&6; }
12351if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12352  $as_echo_n "(cached) " >&6
12353else
12354  ac_check_lib_save_LIBS=$LIBS
12355LIBS="-ldl  $LIBS"
12356cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357/* end confdefs.h.  */
12358
12359/* Override any GCC internal prototype to avoid an error.
12360   Use char because int might match the return type of a GCC
12361   builtin and then its argument prototype would still apply.  */
12362#ifdef __cplusplus
12363extern "C"
12364#endif
12365char dlopen ();
12366int
12367main ()
12368{
12369return dlopen ();
12370  ;
12371  return 0;
12372}
12373_ACEOF
12374if ac_fn_c_try_link "$LINENO"; then :
12375  ac_cv_lib_dl_dlopen=yes
12376else
12377  ac_cv_lib_dl_dlopen=no
12378fi
12379rm -f core conftest.err conftest.$ac_objext \
12380    conftest$ac_exeext conftest.$ac_ext
12381LIBS=$ac_check_lib_save_LIBS
12382fi
12383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12384$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12385if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12386  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12387else
12388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12389$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12390if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12391  $as_echo_n "(cached) " >&6
12392else
12393  ac_check_lib_save_LIBS=$LIBS
12394LIBS="-lsvld  $LIBS"
12395cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396/* end confdefs.h.  */
12397
12398/* Override any GCC internal prototype to avoid an error.
12399   Use char because int might match the return type of a GCC
12400   builtin and then its argument prototype would still apply.  */
12401#ifdef __cplusplus
12402extern "C"
12403#endif
12404char dlopen ();
12405int
12406main ()
12407{
12408return dlopen ();
12409  ;
12410  return 0;
12411}
12412_ACEOF
12413if ac_fn_c_try_link "$LINENO"; then :
12414  ac_cv_lib_svld_dlopen=yes
12415else
12416  ac_cv_lib_svld_dlopen=no
12417fi
12418rm -f core conftest.err conftest.$ac_objext \
12419    conftest$ac_exeext conftest.$ac_ext
12420LIBS=$ac_check_lib_save_LIBS
12421fi
12422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12423$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12424if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12425  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12426else
12427  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12428$as_echo_n "checking for dld_link in -ldld... " >&6; }
12429if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12430  $as_echo_n "(cached) " >&6
12431else
12432  ac_check_lib_save_LIBS=$LIBS
12433LIBS="-ldld  $LIBS"
12434cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435/* end confdefs.h.  */
12436
12437/* Override any GCC internal prototype to avoid an error.
12438   Use char because int might match the return type of a GCC
12439   builtin and then its argument prototype would still apply.  */
12440#ifdef __cplusplus
12441extern "C"
12442#endif
12443char dld_link ();
12444int
12445main ()
12446{
12447return dld_link ();
12448  ;
12449  return 0;
12450}
12451_ACEOF
12452if ac_fn_c_try_link "$LINENO"; then :
12453  ac_cv_lib_dld_dld_link=yes
12454else
12455  ac_cv_lib_dld_dld_link=no
12456fi
12457rm -f core conftest.err conftest.$ac_objext \
12458    conftest$ac_exeext conftest.$ac_ext
12459LIBS=$ac_check_lib_save_LIBS
12460fi
12461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12462$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12463if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12464  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12465fi
12466
12467	      
12468fi
12469
12470	    
12471fi
12472
12473	  
12474fi
12475
12476	
12477fi
12478
12479      
12480fi
12481
12482    ;;
12483  esac
12484
12485  if test "x$lt_cv_dlopen" != xno; then
12486    enable_dlopen=yes
12487  else
12488    enable_dlopen=no
12489  fi
12490
12491  case $lt_cv_dlopen in
12492  dlopen)
12493    save_CPPFLAGS="$CPPFLAGS"
12494    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12495
12496    save_LDFLAGS="$LDFLAGS"
12497    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12498
12499    save_LIBS="$LIBS"
12500    LIBS="$lt_cv_dlopen_libs $LIBS"
12501
12502    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12503$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12504if test "${lt_cv_dlopen_self+set}" = set; then :
12505  $as_echo_n "(cached) " >&6
12506else
12507  	  if test "$cross_compiling" = yes; then :
12508  lt_cv_dlopen_self=cross
12509else
12510  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12511  lt_status=$lt_dlunknown
12512  cat > conftest.$ac_ext <<_LT_EOF
12513#line $LINENO "configure"
12514#include "confdefs.h"
12515
12516#if HAVE_DLFCN_H
12517#include <dlfcn.h>
12518#endif
12519
12520#include <stdio.h>
12521
12522#ifdef RTLD_GLOBAL
12523#  define LT_DLGLOBAL		RTLD_GLOBAL
12524#else
12525#  ifdef DL_GLOBAL
12526#    define LT_DLGLOBAL		DL_GLOBAL
12527#  else
12528#    define LT_DLGLOBAL		0
12529#  endif
12530#endif
12531
12532/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12533   find out it does not work in some platform. */
12534#ifndef LT_DLLAZY_OR_NOW
12535#  ifdef RTLD_LAZY
12536#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12537#  else
12538#    ifdef DL_LAZY
12539#      define LT_DLLAZY_OR_NOW		DL_LAZY
12540#    else
12541#      ifdef RTLD_NOW
12542#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12543#      else
12544#        ifdef DL_NOW
12545#          define LT_DLLAZY_OR_NOW	DL_NOW
12546#        else
12547#          define LT_DLLAZY_OR_NOW	0
12548#        endif
12549#      endif
12550#    endif
12551#  endif
12552#endif
12553
12554/* When -fvisbility=hidden is used, assume the code has been annotated
12555   correspondingly for the symbols needed.  */
12556#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12557int fnord () __attribute__((visibility("default")));
12558#endif
12559
12560int fnord () { return 42; }
12561int main ()
12562{
12563  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12564  int status = $lt_dlunknown;
12565
12566  if (self)
12567    {
12568      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12569      else
12570        {
12571	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12572          else puts (dlerror ());
12573	}
12574      /* dlclose (self); */
12575    }
12576  else
12577    puts (dlerror ());
12578
12579  return status;
12580}
12581_LT_EOF
12582  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12583  (eval $ac_link) 2>&5
12584  ac_status=$?
12585  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12586  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12587    (./conftest; exit; ) >&5 2>/dev/null
12588    lt_status=$?
12589    case x$lt_status in
12590      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12591      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12592      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12593    esac
12594  else :
12595    # compilation failed
12596    lt_cv_dlopen_self=no
12597  fi
12598fi
12599rm -fr conftest*
12600
12601    
12602fi
12603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12604$as_echo "$lt_cv_dlopen_self" >&6; }
12605
12606    if test "x$lt_cv_dlopen_self" = xyes; then
12607      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12608      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12609$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12610if test "${lt_cv_dlopen_self_static+set}" = set; then :
12611  $as_echo_n "(cached) " >&6
12612else
12613  	  if test "$cross_compiling" = yes; then :
12614  lt_cv_dlopen_self_static=cross
12615else
12616  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12617  lt_status=$lt_dlunknown
12618  cat > conftest.$ac_ext <<_LT_EOF
12619#line $LINENO "configure"
12620#include "confdefs.h"
12621
12622#if HAVE_DLFCN_H
12623#include <dlfcn.h>
12624#endif
12625
12626#include <stdio.h>
12627
12628#ifdef RTLD_GLOBAL
12629#  define LT_DLGLOBAL		RTLD_GLOBAL
12630#else
12631#  ifdef DL_GLOBAL
12632#    define LT_DLGLOBAL		DL_GLOBAL
12633#  else
12634#    define LT_DLGLOBAL		0
12635#  endif
12636#endif
12637
12638/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12639   find out it does not work in some platform. */
12640#ifndef LT_DLLAZY_OR_NOW
12641#  ifdef RTLD_LAZY
12642#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12643#  else
12644#    ifdef DL_LAZY
12645#      define LT_DLLAZY_OR_NOW		DL_LAZY
12646#    else
12647#      ifdef RTLD_NOW
12648#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12649#      else
12650#        ifdef DL_NOW
12651#          define LT_DLLAZY_OR_NOW	DL_NOW
12652#        else
12653#          define LT_DLLAZY_OR_NOW	0
12654#        endif
12655#      endif
12656#    endif
12657#  endif
12658#endif
12659
12660/* When -fvisbility=hidden is used, assume the code has been annotated
12661   correspondingly for the symbols needed.  */
12662#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12663int fnord () __attribute__((visibility("default")));
12664#endif
12665
12666int fnord () { return 42; }
12667int main ()
12668{
12669  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12670  int status = $lt_dlunknown;
12671
12672  if (self)
12673    {
12674      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12675      else
12676        {
12677	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12678          else puts (dlerror ());
12679	}
12680      /* dlclose (self); */
12681    }
12682  else
12683    puts (dlerror ());
12684
12685  return status;
12686}
12687_LT_EOF
12688  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12689  (eval $ac_link) 2>&5
12690  ac_status=$?
12691  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12692  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12693    (./conftest; exit; ) >&5 2>/dev/null
12694    lt_status=$?
12695    case x$lt_status in
12696      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12697      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12698      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12699    esac
12700  else :
12701    # compilation failed
12702    lt_cv_dlopen_self_static=no
12703  fi
12704fi
12705rm -fr conftest*
12706
12707      
12708fi
12709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12710$as_echo "$lt_cv_dlopen_self_static" >&6; }
12711    fi
12712
12713    CPPFLAGS="$save_CPPFLAGS"
12714    LDFLAGS="$save_LDFLAGS"
12715    LIBS="$save_LIBS"
12716    ;;
12717  esac
12718
12719  case $lt_cv_dlopen_self in
12720  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12721  *) enable_dlopen_self=unknown ;;
12722  esac
12723
12724  case $lt_cv_dlopen_self_static in
12725  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12726  *) enable_dlopen_self_static=unknown ;;
12727  esac
12728fi
12729
12730    
12731    
12732    
12733
12734
12735    
12736    
12737    
12738
12739
12740    
12741    
12742    
12743
12744
12745  
12746striplib=
12747old_striplib=
12748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12749$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12750if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12751  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12752  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12754$as_echo "yes" >&6; }
12755else
12756# FIXME - insert some real tests, host_os isn't really good enough
12757  case $host_os in
12758  darwin*)
12759    if test -n "$STRIP" ; then
12760      striplib="$STRIP -x"
12761      old_striplib="$STRIP -S"
12762      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12763$as_echo "yes" >&6; }
12764    else
12765      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12766$as_echo "no" >&6; }
12767    fi
12768    ;;
12769  *)
12770    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12771$as_echo "no" >&6; }
12772    ;;
12773  esac
12774fi
12775
12776    
12777    
12778    
12779
12780
12781    
12782    
12783    
12784
12785
12786
12787  # Report which library types will actually be built
12788  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12789$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12791$as_echo "$can_build_shared" >&6; }
12792
12793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12794$as_echo_n "checking whether to build shared libraries... " >&6; }
12795  test "$can_build_shared" = "no" && enable_shared=no
12796
12797  # On AIX, shared libraries and static libraries use the same namespace, and
12798  # are all built from PIC.
12799  case $host_os in
12800  aix3*)
12801    test "$enable_shared" = yes && enable_static=no
12802    if test -n "$RANLIB"; then
12803      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12804      postinstall_cmds='$RANLIB $lib'
12805    fi
12806    ;;
12807
12808  aix[4-9]*)
12809    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12810      test "$enable_shared" = yes && enable_static=no
12811    fi
12812    ;;
12813  esac
12814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12815$as_echo "$enable_shared" >&6; }
12816
12817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12818$as_echo_n "checking whether to build static libraries... " >&6; }
12819  # Make sure either enable_shared or enable_static is yes.
12820  test "$enable_shared" = yes || enable_static=yes
12821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12822$as_echo "$enable_static" >&6; }
12823
12824  
12825
12826
12827fi
12828ac_ext=c
12829ac_cpp='$CPP $CPPFLAGS'
12830ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12832ac_compiler_gnu=$ac_cv_c_compiler_gnu
12833
12834CC="$lt_save_CC"
12835
12836      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12837    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12838    (test "X$CXX" != "Xg++"))) ; then
12839  ac_ext=cpp
12840ac_cpp='$CXXCPP $CPPFLAGS'
12841ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12845$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12846if test -z "$CXXCPP"; then
12847  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12848  $as_echo_n "(cached) " >&6
12849else
12850      # Double quotes because CXXCPP needs to be expanded
12851    for CXXCPP in "$CXX -E" "/lib/cpp"
12852    do
12853      ac_preproc_ok=false
12854for ac_cxx_preproc_warn_flag in '' yes
12855do
12856  # Use a header file that comes with gcc, so configuring glibc
12857  # with a fresh cross-compiler works.
12858  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12859  # <limits.h> exists even on freestanding compilers.
12860  # On the NeXT, cc -E runs the code through the compiler's parser,
12861  # not just through cpp. "Syntax error" is here to catch this case.
12862  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863/* end confdefs.h.  */
12864@%:@ifdef __STDC__
12865@%:@ include <limits.h>
12866@%:@else
12867@%:@ include <assert.h>
12868@%:@endif
12869		     Syntax error
12870_ACEOF
12871if ac_fn_cxx_try_cpp "$LINENO"; then :
12872  
12873else
12874  # Broken: fails on valid input.
12875continue
12876fi
12877rm -f conftest.err conftest.$ac_ext
12878
12879  # OK, works on sane cases.  Now check whether nonexistent headers
12880  # can be detected and how.
12881  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882/* end confdefs.h.  */
12883@%:@include <ac_nonexistent.h>
12884_ACEOF
12885if ac_fn_cxx_try_cpp "$LINENO"; then :
12886  # Broken: success on invalid input.
12887continue
12888else
12889  # Passes both tests.
12890ac_preproc_ok=:
12891break
12892fi
12893rm -f conftest.err conftest.$ac_ext
12894
12895done
12896# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12897rm -f conftest.err conftest.$ac_ext
12898if $ac_preproc_ok; then :
12899  break
12900fi
12901
12902    done
12903    ac_cv_prog_CXXCPP=$CXXCPP
12904  
12905fi
12906  CXXCPP=$ac_cv_prog_CXXCPP
12907else
12908  ac_cv_prog_CXXCPP=$CXXCPP
12909fi
12910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12911$as_echo "$CXXCPP" >&6; }
12912ac_preproc_ok=false
12913for ac_cxx_preproc_warn_flag in '' yes
12914do
12915  # Use a header file that comes with gcc, so configuring glibc
12916  # with a fresh cross-compiler works.
12917  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12918  # <limits.h> exists even on freestanding compilers.
12919  # On the NeXT, cc -E runs the code through the compiler's parser,
12920  # not just through cpp. "Syntax error" is here to catch this case.
12921  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922/* end confdefs.h.  */
12923@%:@ifdef __STDC__
12924@%:@ include <limits.h>
12925@%:@else
12926@%:@ include <assert.h>
12927@%:@endif
12928		     Syntax error
12929_ACEOF
12930if ac_fn_cxx_try_cpp "$LINENO"; then :
12931  
12932else
12933  # Broken: fails on valid input.
12934continue
12935fi
12936rm -f conftest.err conftest.$ac_ext
12937
12938  # OK, works on sane cases.  Now check whether nonexistent headers
12939  # can be detected and how.
12940  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941/* end confdefs.h.  */
12942@%:@include <ac_nonexistent.h>
12943_ACEOF
12944if ac_fn_cxx_try_cpp "$LINENO"; then :
12945  # Broken: success on invalid input.
12946continue
12947else
12948  # Passes both tests.
12949ac_preproc_ok=:
12950break
12951fi
12952rm -f conftest.err conftest.$ac_ext
12953
12954done
12955# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12956rm -f conftest.err conftest.$ac_ext
12957if $ac_preproc_ok; then :
12958  
12959else
12960  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12962as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12963See \`config.log' for more details." "$LINENO" 5; }
12964fi
12965
12966ac_ext=c
12967ac_cpp='$CPP $CPPFLAGS'
12968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970ac_compiler_gnu=$ac_cv_c_compiler_gnu
12971
12972else
12973  _lt_caught_CXX_error=yes
12974fi
12975
12976ac_ext=cpp
12977ac_cpp='$CXXCPP $CPPFLAGS'
12978ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12979ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12980ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12981
12982archive_cmds_need_lc_CXX=no
12983allow_undefined_flag_CXX=
12984always_export_symbols_CXX=no
12985archive_expsym_cmds_CXX=
12986compiler_needs_object_CXX=no
12987export_dynamic_flag_spec_CXX=
12988hardcode_direct_CXX=no
12989hardcode_direct_absolute_CXX=no
12990hardcode_libdir_flag_spec_CXX=
12991hardcode_libdir_separator_CXX=
12992hardcode_minus_L_CXX=no
12993hardcode_shlibpath_var_CXX=unsupported
12994hardcode_automatic_CXX=no
12995inherit_rpath_CXX=no
12996module_cmds_CXX=
12997module_expsym_cmds_CXX=
12998link_all_deplibs_CXX=unknown
12999old_archive_cmds_CXX=$old_archive_cmds
13000reload_flag_CXX=$reload_flag
13001reload_cmds_CXX=$reload_cmds
13002no_undefined_flag_CXX=
13003whole_archive_flag_spec_CXX=
13004enable_shared_with_static_runtimes_CXX=no
13005
13006# Source file extension for C++ test sources.
13007ac_ext=cpp
13008
13009# Object file extension for compiled C++ test sources.
13010objext=o
13011objext_CXX=$objext
13012
13013# No sense in running all these tests if we already determined that
13014# the CXX compiler isn't working.  Some variables (like enable_shared)
13015# are currently assumed to apply to all compilers on this platform,
13016# and will be corrupted by setting them based on a non-working compiler.
13017if test "$_lt_caught_CXX_error" != yes; then
13018  # Code to be used in simple compile tests
13019  lt_simple_compile_test_code="int some_variable = 0;"
13020
13021  # Code to be used in simple link tests
13022  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13023
13024  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13025  
13026
13027
13028
13029
13030
13031# If no C compiler was specified, use CC.
13032LTCC=${LTCC-"$CC"}
13033
13034# If no C compiler flags were specified, use CFLAGS.
13035LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13036
13037# Allow CC to be a program name with arguments.
13038compiler=$CC
13039
13040
13041  # save warnings/boilerplate of simple test code
13042  ac_outfile=conftest.$ac_objext
13043echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13044eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13045_lt_compiler_boilerplate=`cat conftest.err`
13046$RM conftest*
13047
13048  ac_outfile=conftest.$ac_objext
13049echo "$lt_simple_link_test_code" >conftest.$ac_ext
13050eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13051_lt_linker_boilerplate=`cat conftest.err`
13052$RM -r conftest*
13053
13054
13055  # Allow CC to be a program name with arguments.
13056  lt_save_CC=$CC
13057  lt_save_CFLAGS=$CFLAGS
13058  lt_save_LD=$LD
13059  lt_save_GCC=$GCC
13060  GCC=$GXX
13061  lt_save_with_gnu_ld=$with_gnu_ld
13062  lt_save_path_LD=$lt_cv_path_LD
13063  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13064    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13065  else
13066    $as_unset lt_cv_prog_gnu_ld
13067  fi
13068  if test -n "${lt_cv_path_LDCXX+set}"; then
13069    lt_cv_path_LD=$lt_cv_path_LDCXX
13070  else
13071    $as_unset lt_cv_path_LD
13072  fi
13073  test -z "${LDCXX+set}" || LD=$LDCXX
13074  CC=${CXX-"c++"}
13075  CFLAGS=$CXXFLAGS
13076  compiler=$CC
13077  compiler_CXX=$CC
13078  for cc_temp in $compiler""; do
13079  case $cc_temp in
13080    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13081    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13082    \-*) ;;
13083    *) break;;
13084  esac
13085done
13086cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13087
13088
13089  if test -n "$compiler"; then
13090    # We don't want -fno-exception when compiling C++ code, so set the
13091    # no_builtin_flag separately
13092    if test "$GXX" = yes; then
13093      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13094    else
13095      lt_prog_compiler_no_builtin_flag_CXX=
13096    fi
13097
13098    if test "$GXX" = yes; then
13099      # Set up default GNU C++ configuration
13100
13101      
13102
13103@%:@ Check whether --with-gnu-ld was given.
13104if test "${with_gnu_ld+set}" = set; then :
13105  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13106else
13107  with_gnu_ld=no
13108fi
13109
13110ac_prog=ld
13111if test "$GCC" = yes; then
13112  # Check if gcc -print-prog-name=ld gives a path.
13113  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13114$as_echo_n "checking for ld used by $CC... " >&6; }
13115  case $host in
13116  *-*-mingw*)
13117    # gcc leaves a trailing carriage return which upsets mingw
13118    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13119  *)
13120    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13121  esac
13122  case $ac_prog in
13123    # Accept absolute paths.
13124    [\\/]* | ?:[\\/]*)
13125      re_direlt='/[^/][^/]*/\.\./'
13126      # Canonicalize the pathname of ld
13127      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13128      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13129	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13130      done
13131      test -z "$LD" && LD="$ac_prog"
13132      ;;
13133  "")
13134    # If it fails, then pretend we aren't using GCC.
13135    ac_prog=ld
13136    ;;
13137  *)
13138    # If it is relative, then search for the first ld in PATH.
13139    with_gnu_ld=unknown
13140    ;;
13141  esac
13142elif test "$with_gnu_ld" = yes; then
13143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13144$as_echo_n "checking for GNU ld... " >&6; }
13145else
13146  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13147$as_echo_n "checking for non-GNU ld... " >&6; }
13148fi
13149if test "${lt_cv_path_LD+set}" = set; then :
13150  $as_echo_n "(cached) " >&6
13151else
13152  if test -z "$LD"; then
13153  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13154  for ac_dir in $PATH; do
13155    IFS="$lt_save_ifs"
13156    test -z "$ac_dir" && ac_dir=.
13157    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13158      lt_cv_path_LD="$ac_dir/$ac_prog"
13159      # Check to see if the program is GNU ld.  I'd rather use --version,
13160      # but apparently some variants of GNU ld only accept -v.
13161      # Break only if it was the GNU/non-GNU ld that we prefer.
13162      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13163      *GNU* | *'with BFD'*)
13164	test "$with_gnu_ld" != no && break
13165	;;
13166      *)
13167	test "$with_gnu_ld" != yes && break
13168	;;
13169      esac
13170    fi
13171  done
13172  IFS="$lt_save_ifs"
13173else
13174  lt_cv_path_LD="$LD" # Let the user override the test with a path.
13175fi
13176fi
13177
13178LD="$lt_cv_path_LD"
13179if test -n "$LD"; then
13180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13181$as_echo "$LD" >&6; }
13182else
13183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13184$as_echo "no" >&6; }
13185fi
13186test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
13187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13188$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13189if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13190  $as_echo_n "(cached) " >&6
13191else
13192  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13193case `$LD -v 2>&1 </dev/null` in
13194*GNU* | *'with BFD'*)
13195  lt_cv_prog_gnu_ld=yes
13196  ;;
13197*)
13198  lt_cv_prog_gnu_ld=no
13199  ;;
13200esac
13201fi
13202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13203$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13204with_gnu_ld=$lt_cv_prog_gnu_ld
13205
13206
13207
13208
13209
13210
13211
13212      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13213      # archiving commands below assume that GNU ld is being used.
13214      if test "$with_gnu_ld" = yes; then
13215        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13216        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13217
13218        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13219        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13220
13221        # If archive_cmds runs LD, not CC, wlarc should be empty
13222        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13223        #     investigate it a little bit more. (MM)
13224        wlarc='${wl}'
13225
13226        # ancient GNU ld didn't support --whole-archive et. al.
13227        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13228	  $GREP 'no-whole-archive' > /dev/null; then
13229          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13230        else
13231          whole_archive_flag_spec_CXX=
13232        fi
13233      else
13234        with_gnu_ld=no
13235        wlarc=
13236
13237        # A generic and very simple default shared library creation
13238        # command for GNU C++ for the case where it uses the native
13239        # linker, instead of GNU ld.  If possible, this setting should
13240        # overridden to take advantage of the native linker features on
13241        # the platform it is being used on.
13242        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13243      fi
13244
13245      # Commands to make compiler produce verbose output that lists
13246      # what "hidden" libraries, object files and flags are used when
13247      # linking a shared library.
13248      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13249
13250    else
13251      GXX=no
13252      with_gnu_ld=no
13253      wlarc=
13254    fi
13255
13256    # PORTME: fill in a description of your system's C++ link characteristics
13257    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13258$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13259    ld_shlibs_CXX=yes
13260    case $host_os in
13261      aix3*)
13262        # FIXME: insert proper C++ library support
13263        ld_shlibs_CXX=no
13264        ;;
13265      aix[4-9]*)
13266        if test "$host_cpu" = ia64; then
13267          # On IA64, the linker does run time linking by default, so we don't
13268          # have to do anything special.
13269          aix_use_runtimelinking=no
13270          exp_sym_flag='-Bexport'
13271          no_entry_flag=""
13272        else
13273          aix_use_runtimelinking=no
13274
13275          # Test if we are trying to use run time linking or normal
13276          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13277          # need to do runtime linking.
13278          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13279	    for ld_flag in $LDFLAGS; do
13280	      case $ld_flag in
13281	      *-brtl*)
13282	        aix_use_runtimelinking=yes
13283	        break
13284	        ;;
13285	      esac
13286	    done
13287	    ;;
13288          esac
13289
13290          exp_sym_flag='-bexport'
13291          no_entry_flag='-bnoentry'
13292        fi
13293
13294        # When large executables or shared objects are built, AIX ld can
13295        # have problems creating the table of contents.  If linking a library
13296        # or program results in "error TOC overflow" add -mminimal-toc to
13297        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13298        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13299
13300        archive_cmds_CXX=''
13301        hardcode_direct_CXX=yes
13302        hardcode_direct_absolute_CXX=yes
13303        hardcode_libdir_separator_CXX=':'
13304        link_all_deplibs_CXX=yes
13305        file_list_spec_CXX='${wl}-f,'
13306
13307        if test "$GXX" = yes; then
13308          case $host_os in aix4.[012]|aix4.[012].*)
13309          # We only want to do this on AIX 4.2 and lower, the check
13310          # below for broken collect2 doesn't work under 4.3+
13311	  collect2name=`${CC} -print-prog-name=collect2`
13312	  if test -f "$collect2name" &&
13313	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13314	  then
13315	    # We have reworked collect2
13316	    :
13317	  else
13318	    # We have old collect2
13319	    hardcode_direct_CXX=unsupported
13320	    # It fails to find uninstalled libraries when the uninstalled
13321	    # path is not listed in the libpath.  Setting hardcode_minus_L
13322	    # to unsupported forces relinking
13323	    hardcode_minus_L_CXX=yes
13324	    hardcode_libdir_flag_spec_CXX='-L$libdir'
13325	    hardcode_libdir_separator_CXX=
13326	  fi
13327          esac
13328          shared_flag='-shared'
13329	  if test "$aix_use_runtimelinking" = yes; then
13330	    shared_flag="$shared_flag "'${wl}-G'
13331	  fi
13332        else
13333          # not using gcc
13334          if test "$host_cpu" = ia64; then
13335	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13336	  # chokes on -Wl,-G. The following line is correct:
13337	  shared_flag='-G'
13338          else
13339	    if test "$aix_use_runtimelinking" = yes; then
13340	      shared_flag='${wl}-G'
13341	    else
13342	      shared_flag='${wl}-bM:SRE'
13343	    fi
13344          fi
13345        fi
13346
13347        export_dynamic_flag_spec_CXX='${wl}-bexpall'
13348        # It seems that -bexpall does not export symbols beginning with
13349        # underscore (_), so it is better to generate a list of symbols to
13350	# export.
13351        always_export_symbols_CXX=yes
13352        if test "$aix_use_runtimelinking" = yes; then
13353          # Warning - without using the other runtime loading flags (-brtl),
13354          # -berok will link without error, but may produce a broken library.
13355          allow_undefined_flag_CXX='-berok'
13356          # Determine the default libpath from the value encoded in an empty
13357          # executable.
13358          if test "${lt_cv_aix_libpath+set}" = set; then
13359  aix_libpath=$lt_cv_aix_libpath
13360else
13361  if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
13362  $as_echo_n "(cached) " >&6
13363else
13364  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365/* end confdefs.h.  */
13366
13367int
13368main ()
13369{
13370
13371  ;
13372  return 0;
13373}
13374_ACEOF
13375if ac_fn_cxx_try_link "$LINENO"; then :
13376  
13377  lt_aix_libpath_sed='
13378      /Import File Strings/,/^$/ {
13379	  /^0/ {
13380	      s/^0  *\([^ ]*\) *$/\1/
13381	      p
13382	  }
13383      }'
13384  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13385  # Check for a 64-bit object if we didn't find anything.
13386  if test -z "$lt_cv_aix_libpath__CXX"; then
13387    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13388  fi
13389fi
13390rm -f core conftest.err conftest.$ac_objext \
13391    conftest$ac_exeext conftest.$ac_ext
13392  if test -z "$lt_cv_aix_libpath__CXX"; then
13393    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13394  fi
13395  
13396fi
13397
13398  aix_libpath=$lt_cv_aix_libpath__CXX
13399fi
13400
13401          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13402
13403          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13404        else
13405          if test "$host_cpu" = ia64; then
13406	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13407	    allow_undefined_flag_CXX="-z nodefs"
13408	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13409          else
13410	    # Determine the default libpath from the value encoded in an
13411	    # empty executable.
13412	    if test "${lt_cv_aix_libpath+set}" = set; then
13413  aix_libpath=$lt_cv_aix_libpath
13414else
13415  if test "${lt_cv_aix_libpath__CXX+set}" = set; then :
13416  $as_echo_n "(cached) " >&6
13417else
13418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419/* end confdefs.h.  */
13420
13421int
13422main ()
13423{
13424
13425  ;
13426  return 0;
13427}
13428_ACEOF
13429if ac_fn_cxx_try_link "$LINENO"; then :
13430  
13431  lt_aix_libpath_sed='
13432      /Import File Strings/,/^$/ {
13433	  /^0/ {
13434	      s/^0  *\([^ ]*\) *$/\1/
13435	      p
13436	  }
13437      }'
13438  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13439  # Check for a 64-bit object if we didn't find anything.
13440  if test -z "$lt_cv_aix_libpath__CXX"; then
13441    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13442  fi
13443fi
13444rm -f core conftest.err conftest.$ac_objext \
13445    conftest$ac_exeext conftest.$ac_ext
13446  if test -z "$lt_cv_aix_libpath__CXX"; then
13447    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13448  fi
13449  
13450fi
13451
13452  aix_libpath=$lt_cv_aix_libpath__CXX
13453fi
13454
13455	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13456	    # Warning - without using the other run time loading flags,
13457	    # -berok will link without error, but may produce a broken library.
13458	    no_undefined_flag_CXX=' ${wl}-bernotok'
13459	    allow_undefined_flag_CXX=' ${wl}-berok'
13460	    if test "$with_gnu_ld" = yes; then
13461	      # We only use this code for GNU lds that support --whole-archive.
13462	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13463	    else
13464	      # Exported symbols can be pulled into shared objects from archives
13465	      whole_archive_flag_spec_CXX='$convenience'
13466	    fi
13467	    archive_cmds_need_lc_CXX=yes
13468	    # This is similar to how AIX traditionally builds its shared
13469	    # libraries.
13470	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13471          fi
13472        fi
13473        ;;
13474
13475      beos*)
13476	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13477	  allow_undefined_flag_CXX=unsupported
13478	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13479	  # support --undefined.  This deserves some investigation.  FIXME
13480	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13481	else
13482	  ld_shlibs_CXX=no
13483	fi
13484	;;
13485
13486      chorus*)
13487        case $cc_basename in
13488          *)
13489	  # FIXME: insert proper C++ library support
13490	  ld_shlibs_CXX=no
13491	  ;;
13492        esac
13493        ;;
13494
13495      cygwin* | mingw* | pw32* | cegcc*)
13496	case $GXX,$cc_basename in
13497	,cl* | no,cl*)
13498	  # Native MSVC
13499	  # hardcode_libdir_flag_spec is actually meaningless, as there is
13500	  # no search path for DLLs.
13501	  hardcode_libdir_flag_spec_CXX=' '
13502	  allow_undefined_flag_CXX=unsupported
13503	  always_export_symbols_CXX=yes
13504	  file_list_spec_CXX='@'
13505	  # Tell ltmain to make .lib files, not .a files.
13506	  libext=lib
13507	  # Tell ltmain to make .dll files, not .so files.
13508	  shrext_cmds=".dll"
13509	  # FIXME: Setting linknames here is a bad hack.
13510	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13511	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13512	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13513	    else
13514	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13515	    fi~
13516	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13517	    linknames='
13518	  # The linker will not automatically build a static lib if we build a DLL.
13519	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13520	  enable_shared_with_static_runtimes_CXX=yes
13521	  # Don't use ranlib
13522	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
13523	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13524	    lt_tool_outputfile="@TOOL_OUTPUT@"~
13525	    case $lt_outputfile in
13526	      *.exe|*.EXE) ;;
13527	      *)
13528		lt_outputfile="$lt_outputfile.exe"
13529		lt_tool_outputfile="$lt_tool_outputfile.exe"
13530		;;
13531	    esac~
13532	    func_to_tool_file "$lt_outputfile"~
13533	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13534	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13535	      $RM "$lt_outputfile.manifest";
13536	    fi'
13537	  ;;
13538	*)
13539	  # g++
13540	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13541	  # as there is no search path for DLLs.
13542	  hardcode_libdir_flag_spec_CXX='-L$libdir'
13543	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13544	  allow_undefined_flag_CXX=unsupported
13545	  always_export_symbols_CXX=no
13546	  enable_shared_with_static_runtimes_CXX=yes
13547
13548	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13549	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13550	    # If the export-symbols file already is a .def file (1st line
13551	    # is EXPORTS), use it as is; otherwise, prepend...
13552	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13553	      cp $export_symbols $output_objdir/$soname.def;
13554	    else
13555	      echo EXPORTS > $output_objdir/$soname.def;
13556	      cat $export_symbols >> $output_objdir/$soname.def;
13557	    fi~
13558	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13559	  else
13560	    ld_shlibs_CXX=no
13561	  fi
13562	  ;;
13563	esac
13564	;;
13565      darwin* | rhapsody*)
13566        
13567  
13568  archive_cmds_need_lc_CXX=no
13569  hardcode_direct_CXX=no
13570  hardcode_automatic_CXX=yes
13571  hardcode_shlibpath_var_CXX=unsupported
13572  if test "$lt_cv_ld_force_load" = "yes"; then
13573    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13574    
13575  else
13576    whole_archive_flag_spec_CXX=''
13577  fi
13578  link_all_deplibs_CXX=yes
13579  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13580  case $cc_basename in
13581     ifort*) _lt_dar_can_shared=yes ;;
13582     *) _lt_dar_can_shared=$GCC ;;
13583  esac
13584  if test "$_lt_dar_can_shared" = "yes"; then
13585    output_verbose_link_cmd=func_echo_all
13586    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13587    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13588    archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13589    module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13590       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13591      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13592      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13593    fi
13594
13595  else
13596  ld_shlibs_CXX=no
13597  fi
13598
13599	;;
13600
13601      dgux*)
13602        case $cc_basename in
13603          ec++*)
13604	    # FIXME: insert proper C++ library support
13605	    ld_shlibs_CXX=no
13606	    ;;
13607          ghcx*)
13608	    # Green Hills C++ Compiler
13609	    # FIXME: insert proper C++ library support
13610	    ld_shlibs_CXX=no
13611	    ;;
13612          *)
13613	    # FIXME: insert proper C++ library support
13614	    ld_shlibs_CXX=no
13615	    ;;
13616        esac
13617        ;;
13618
13619      freebsd2.*)
13620        # C++ shared libraries reported to be fairly broken before
13621	# switch to ELF
13622        ld_shlibs_CXX=no
13623        ;;
13624
13625      freebsd-elf*)
13626        archive_cmds_need_lc_CXX=no
13627        ;;
13628
13629      freebsd* | dragonfly*)
13630        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13631        # conventions
13632        ld_shlibs_CXX=yes
13633        ;;
13634
13635      gnu*)
13636        ;;
13637
13638      haiku*)
13639        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13640        link_all_deplibs_CXX=yes
13641        ;;
13642
13643      hpux9*)
13644        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13645        hardcode_libdir_separator_CXX=:
13646        export_dynamic_flag_spec_CXX='${wl}-E'
13647        hardcode_direct_CXX=yes
13648        hardcode_minus_L_CXX=yes # Not in the search PATH,
13649				             # but as the default
13650				             # location of the library.
13651
13652        case $cc_basename in
13653          CC*)
13654            # FIXME: insert proper C++ library support
13655            ld_shlibs_CXX=no
13656            ;;
13657          aCC*)
13658            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13659            # Commands to make compiler produce verbose output that lists
13660            # what "hidden" libraries, object files and flags are used when
13661            # linking a shared library.
13662            #
13663            # There doesn't appear to be a way to prevent this compiler from
13664            # explicitly linking system object files so we need to strip them
13665            # from the output so that they don't get included in the library
13666            # dependencies.
13667            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13668            ;;
13669          *)
13670            if test "$GXX" = yes; then
13671              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13672            else
13673              # FIXME: insert proper C++ library support
13674              ld_shlibs_CXX=no
13675            fi
13676            ;;
13677        esac
13678        ;;
13679
13680      hpux10*|hpux11*)
13681        if test $with_gnu_ld = no; then
13682	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13683	  hardcode_libdir_separator_CXX=:
13684
13685          case $host_cpu in
13686            hppa*64*|ia64*)
13687              ;;
13688            *)
13689	      export_dynamic_flag_spec_CXX='${wl}-E'
13690              ;;
13691          esac
13692        fi
13693        case $host_cpu in
13694          hppa*64*|ia64*)
13695            hardcode_direct_CXX=no
13696            hardcode_shlibpath_var_CXX=no
13697            ;;
13698          *)
13699            hardcode_direct_CXX=yes
13700            hardcode_direct_absolute_CXX=yes
13701            hardcode_minus_L_CXX=yes # Not in the search PATH,
13702					         # but as the default
13703					         # location of the library.
13704            ;;
13705        esac
13706
13707        case $cc_basename in
13708          CC*)
13709	    # FIXME: insert proper C++ library support
13710	    ld_shlibs_CXX=no
13711	    ;;
13712          aCC*)
13713	    case $host_cpu in
13714	      hppa*64*)
13715	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13716	        ;;
13717	      ia64*)
13718	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13719	        ;;
13720	      *)
13721	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13722	        ;;
13723	    esac
13724	    # Commands to make compiler produce verbose output that lists
13725	    # what "hidden" libraries, object files and flags are used when
13726	    # linking a shared library.
13727	    #
13728	    # There doesn't appear to be a way to prevent this compiler from
13729	    # explicitly linking system object files so we need to strip them
13730	    # from the output so that they don't get included in the library
13731	    # dependencies.
13732	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13733	    ;;
13734          *)
13735	    if test "$GXX" = yes; then
13736	      if test $with_gnu_ld = no; then
13737	        case $host_cpu in
13738	          hppa*64*)
13739	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13740	            ;;
13741	          ia64*)
13742	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13743	            ;;
13744	          *)
13745	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13746	            ;;
13747	        esac
13748	      fi
13749	    else
13750	      # FIXME: insert proper C++ library support
13751	      ld_shlibs_CXX=no
13752	    fi
13753	    ;;
13754        esac
13755        ;;
13756
13757      interix[3-9]*)
13758	hardcode_direct_CXX=no
13759	hardcode_shlibpath_var_CXX=no
13760	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13761	export_dynamic_flag_spec_CXX='${wl}-E'
13762	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13763	# Instead, shared libraries are loaded at an image base (0x10000000 by
13764	# default) and relocated if they conflict, which is a slow very memory
13765	# consuming and fragmenting process.  To avoid this, we pick a random,
13766	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13767	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13768	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13769	archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13770	;;
13771      irix5* | irix6*)
13772        case $cc_basename in
13773          CC*)
13774	    # SGI C++
13775	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13776
13777	    # Archives containing C++ object files must be created using
13778	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13779	    # necessary to make sure instantiated templates are included
13780	    # in the archive.
13781	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13782	    ;;
13783          *)
13784	    if test "$GXX" = yes; then
13785	      if test "$with_gnu_ld" = no; then
13786	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13787	      else
13788	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13789	      fi
13790	    fi
13791	    link_all_deplibs_CXX=yes
13792	    ;;
13793        esac
13794        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13795        hardcode_libdir_separator_CXX=:
13796        inherit_rpath_CXX=yes
13797        ;;
13798
13799      linux* | k*bsd*-gnu | kopensolaris*-gnu)
13800        case $cc_basename in
13801          KCC*)
13802	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13803
13804	    # KCC will only create a shared library if the output file
13805	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13806	    # to its proper name (with version) after linking.
13807	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13808	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13809	    # Commands to make compiler produce verbose output that lists
13810	    # what "hidden" libraries, object files and flags are used when
13811	    # linking a shared library.
13812	    #
13813	    # There doesn't appear to be a way to prevent this compiler from
13814	    # explicitly linking system object files so we need to strip them
13815	    # from the output so that they don't get included in the library
13816	    # dependencies.
13817	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13818
13819	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13820	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13821
13822	    # Archives containing C++ object files must be created using
13823	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13824	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13825	    ;;
13826	  icpc* | ecpc* )
13827	    # Intel C++
13828	    with_gnu_ld=yes
13829	    # version 8.0 and above of icpc choke on multiply defined symbols
13830	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13831	    # earlier do not add the objects themselves.
13832	    case `$CC -V 2>&1` in
13833	      *"Version 7."*)
13834	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13835		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13836		;;
13837	      *)  # Version 8.0 or newer
13838	        tmp_idyn=
13839	        case $host_cpu in
13840		  ia64*) tmp_idyn=' -i_dynamic';;
13841		esac
13842	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13843		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13844		;;
13845	    esac
13846	    archive_cmds_need_lc_CXX=no
13847	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13848	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13849	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13850	    ;;
13851          pgCC* | pgcpp*)
13852            # Portland Group C++ compiler
13853	    case `$CC -V` in
13854	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13855	      prelink_cmds_CXX='tpldir=Template.dir~
13856		rm -rf $tpldir~
13857		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13858		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13859	      old_archive_cmds_CXX='tpldir=Template.dir~
13860		rm -rf $tpldir~
13861		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13862		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13863		$RANLIB $oldlib'
13864	      archive_cmds_CXX='tpldir=Template.dir~
13865		rm -rf $tpldir~
13866		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13867		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13868	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13869		rm -rf $tpldir~
13870		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13871		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13872	      ;;
13873	    *) # Version 6 and above use weak symbols
13874	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13875	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13876	      ;;
13877	    esac
13878
13879	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13880	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13881	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13882            ;;
13883	  cxx*)
13884	    # Compaq C++
13885	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13886	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13887
13888	    runpath_var=LD_RUN_PATH
13889	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13890	    hardcode_libdir_separator_CXX=:
13891
13892	    # Commands to make compiler produce verbose output that lists
13893	    # what "hidden" libraries, object files and flags are used when
13894	    # linking a shared library.
13895	    #
13896	    # There doesn't appear to be a way to prevent this compiler from
13897	    # explicitly linking system object files so we need to strip them
13898	    # from the output so that they don't get included in the library
13899	    # dependencies.
13900	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13901	    ;;
13902	  xl* | mpixl* | bgxl*)
13903	    # IBM XL 8.0 on PPC, with GNU ld
13904	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13905	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13906	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13907	    if test "x$supports_anon_versioning" = xyes; then
13908	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13909		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13910		echo "local: *; };" >> $output_objdir/$libname.ver~
13911		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13912	    fi
13913	    ;;
13914	  *)
13915	    case `$CC -V 2>&1 | sed 5q` in
13916	    *Sun\ C*)
13917	      # Sun C++ 5.9
13918	      no_undefined_flag_CXX=' -zdefs'
13919	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13920	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13921	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13922	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13923	      compiler_needs_object_CXX=yes
13924
13925	      # Not sure whether something based on
13926	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13927	      # would be better.
13928	      output_verbose_link_cmd='func_echo_all'
13929
13930	      # Archives containing C++ object files must be created using
13931	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13932	      # necessary to make sure instantiated templates are included
13933	      # in the archive.
13934	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13935	      ;;
13936	    esac
13937	    ;;
13938	esac
13939	;;
13940
13941      lynxos*)
13942        # FIXME: insert proper C++ library support
13943	ld_shlibs_CXX=no
13944	;;
13945
13946      m88k*)
13947        # FIXME: insert proper C++ library support
13948        ld_shlibs_CXX=no
13949	;;
13950
13951      mvs*)
13952        case $cc_basename in
13953          cxx*)
13954	    # FIXME: insert proper C++ library support
13955	    ld_shlibs_CXX=no
13956	    ;;
13957	  *)
13958	    # FIXME: insert proper C++ library support
13959	    ld_shlibs_CXX=no
13960	    ;;
13961	esac
13962	;;
13963
13964      netbsd*)
13965        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13966	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13967	  wlarc=
13968	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13969	  hardcode_direct_CXX=yes
13970	  hardcode_shlibpath_var_CXX=no
13971	fi
13972	# Workaround some broken pre-1.5 toolchains
13973	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13974	;;
13975
13976      *nto* | *qnx*)
13977        ld_shlibs_CXX=yes
13978	;;
13979
13980      openbsd2*)
13981        # C++ shared libraries are fairly broken
13982	ld_shlibs_CXX=no
13983	;;
13984
13985      openbsd*)
13986	if test -f /usr/libexec/ld.so; then
13987	  hardcode_direct_CXX=yes
13988	  hardcode_shlibpath_var_CXX=no
13989	  hardcode_direct_absolute_CXX=yes
13990	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13991	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13992	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13993	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13994	    export_dynamic_flag_spec_CXX='${wl}-E'
13995	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13996	  fi
13997	  output_verbose_link_cmd=func_echo_all
13998	else
13999	  ld_shlibs_CXX=no
14000	fi
14001	;;
14002
14003      osf3* | osf4* | osf5*)
14004        case $cc_basename in
14005          KCC*)
14006	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14007
14008	    # KCC will only create a shared library if the output file
14009	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14010	    # to its proper name (with version) after linking.
14011	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
14012
14013	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14014	    hardcode_libdir_separator_CXX=:
14015
14016	    # Archives containing C++ object files must be created using
14017	    # the KAI C++ compiler.
14018	    case $host in
14019	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14020	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14021	    esac
14022	    ;;
14023          RCC*)
14024	    # Rational C++ 2.4.1
14025	    # FIXME: insert proper C++ library support
14026	    ld_shlibs_CXX=no
14027	    ;;
14028          cxx*)
14029	    case $host in
14030	      osf3*)
14031	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14032	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14033	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14034		;;
14035	      *)
14036	        allow_undefined_flag_CXX=' -expect_unresolved \*'
14037	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14038	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14039	          echo "-hidden">> $lib.exp~
14040	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14041	          $RM $lib.exp'
14042	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14043		;;
14044	    esac
14045
14046	    hardcode_libdir_separator_CXX=:
14047
14048	    # Commands to make compiler produce verbose output that lists
14049	    # what "hidden" libraries, object files and flags are used when
14050	    # linking a shared library.
14051	    #
14052	    # There doesn't appear to be a way to prevent this compiler from
14053	    # explicitly linking system object files so we need to strip them
14054	    # from the output so that they don't get included in the library
14055	    # dependencies.
14056	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14057	    ;;
14058	  *)
14059	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14060	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14061	      case $host in
14062	        osf3*)
14063	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14064		  ;;
14065	        *)
14066	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14067		  ;;
14068	      esac
14069
14070	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14071	      hardcode_libdir_separator_CXX=:
14072
14073	      # Commands to make compiler produce verbose output that lists
14074	      # what "hidden" libraries, object files and flags are used when
14075	      # linking a shared library.
14076	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14077
14078	    else
14079	      # FIXME: insert proper C++ library support
14080	      ld_shlibs_CXX=no
14081	    fi
14082	    ;;
14083        esac
14084        ;;
14085
14086      psos*)
14087        # FIXME: insert proper C++ library support
14088        ld_shlibs_CXX=no
14089        ;;
14090
14091      sunos4*)
14092        case $cc_basename in
14093          CC*)
14094	    # Sun C++ 4.x
14095	    # FIXME: insert proper C++ library support
14096	    ld_shlibs_CXX=no
14097	    ;;
14098          lcc*)
14099	    # Lucid
14100	    # FIXME: insert proper C++ library support
14101	    ld_shlibs_CXX=no
14102	    ;;
14103          *)
14104	    # FIXME: insert proper C++ library support
14105	    ld_shlibs_CXX=no
14106	    ;;
14107        esac
14108        ;;
14109
14110      solaris*)
14111        case $cc_basename in
14112          CC* | sunCC*)
14113	    # Sun C++ 4.2, 5.x and Centerline C++
14114            archive_cmds_need_lc_CXX=yes
14115	    no_undefined_flag_CXX=' -zdefs'
14116	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14117	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14118	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14119
14120	    hardcode_libdir_flag_spec_CXX='-R$libdir'
14121	    hardcode_shlibpath_var_CXX=no
14122	    case $host_os in
14123	      solaris2.[0-5] | solaris2.[0-5].*) ;;
14124	      *)
14125		# The compiler driver will combine and reorder linker options,
14126		# but understands `-z linker_flag'.
14127	        # Supported since Solaris 2.6 (maybe 2.5.1?)
14128		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14129	        ;;
14130	    esac
14131	    link_all_deplibs_CXX=yes
14132
14133	    output_verbose_link_cmd='func_echo_all'
14134
14135	    # Archives containing C++ object files must be created using
14136	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14137	    # necessary to make sure instantiated templates are included
14138	    # in the archive.
14139	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14140	    ;;
14141          gcx*)
14142	    # Green Hills C++ Compiler
14143	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14144
14145	    # The C++ compiler must be used to create the archive.
14146	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14147	    ;;
14148          *)
14149	    # GNU C++ compiler with Solaris linker
14150	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14151	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14152	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14153	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14154	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14155		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14156
14157	        # Commands to make compiler produce verbose output that lists
14158	        # what "hidden" libraries, object files and flags are used when
14159	        # linking a shared library.
14160	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14161	      else
14162	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
14163	        # platform.
14164	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14165	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14166		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14167
14168	        # Commands to make compiler produce verbose output that lists
14169	        # what "hidden" libraries, object files and flags are used when
14170	        # linking a shared library.
14171	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14172	      fi
14173
14174	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14175	      case $host_os in
14176		solaris2.[0-5] | solaris2.[0-5].*) ;;
14177		*)
14178		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14179		  ;;
14180	      esac
14181	    fi
14182	    ;;
14183        esac
14184        ;;
14185
14186    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14187      no_undefined_flag_CXX='${wl}-z,text'
14188      archive_cmds_need_lc_CXX=no
14189      hardcode_shlibpath_var_CXX=no
14190      runpath_var='LD_RUN_PATH'
14191
14192      case $cc_basename in
14193        CC*)
14194	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14195	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14196	  ;;
14197	*)
14198	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14199	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14200	  ;;
14201      esac
14202      ;;
14203
14204      sysv5* | sco3.2v5* | sco5v6*)
14205	# Note: We can NOT use -z defs as we might desire, because we do not
14206	# link with -lc, and that would cause any symbols used from libc to
14207	# always be unresolved, which means just about no library would
14208	# ever link correctly.  If we're not using GNU ld we use -z text
14209	# though, which does catch some bad symbols but isn't as heavy-handed
14210	# as -z defs.
14211	no_undefined_flag_CXX='${wl}-z,text'
14212	allow_undefined_flag_CXX='${wl}-z,nodefs'
14213	archive_cmds_need_lc_CXX=no
14214	hardcode_shlibpath_var_CXX=no
14215	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14216	hardcode_libdir_separator_CXX=':'
14217	link_all_deplibs_CXX=yes
14218	export_dynamic_flag_spec_CXX='${wl}-Bexport'
14219	runpath_var='LD_RUN_PATH'
14220
14221	case $cc_basename in
14222          CC*)
14223	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14224	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14225	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14226	      '"$old_archive_cmds_CXX"
14227	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14228	      '"$reload_cmds_CXX"
14229	    ;;
14230	  *)
14231	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14232	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14233	    ;;
14234	esac
14235      ;;
14236
14237      tandem*)
14238        case $cc_basename in
14239          NCC*)
14240	    # NonStop-UX NCC 3.20
14241	    # FIXME: insert proper C++ library support
14242	    ld_shlibs_CXX=no
14243	    ;;
14244          *)
14245	    # FIXME: insert proper C++ library support
14246	    ld_shlibs_CXX=no
14247	    ;;
14248        esac
14249        ;;
14250
14251      vxworks*)
14252        # FIXME: insert proper C++ library support
14253        ld_shlibs_CXX=no
14254        ;;
14255
14256      *)
14257        # FIXME: insert proper C++ library support
14258        ld_shlibs_CXX=no
14259        ;;
14260    esac
14261
14262    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14263$as_echo "$ld_shlibs_CXX" >&6; }
14264    test "$ld_shlibs_CXX" = no && can_build_shared=no
14265
14266    GCC_CXX="$GXX"
14267    LD_CXX="$LD"
14268
14269    ## CAVEAT EMPTOR:
14270    ## There is no encapsulation within the following macros, do not change
14271    ## the running order or otherwise move them around unless you know exactly
14272    ## what you are doing...
14273    # Dependencies to place before and after the object being linked:
14274predep_objects_CXX=
14275postdep_objects_CXX=
14276predeps_CXX=
14277postdeps_CXX=
14278compiler_lib_search_path_CXX=
14279
14280cat > conftest.$ac_ext <<_LT_EOF
14281class Foo
14282{
14283public:
14284  Foo (void) { a = 0; }
14285private:
14286  int a;
14287};
14288_LT_EOF
14289
14290
14291_lt_libdeps_save_CFLAGS=$CFLAGS
14292case "$CC $CFLAGS " in #(
14293*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14294*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14295*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14296esac
14297
14298if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14299  (eval $ac_compile) 2>&5
14300  ac_status=$?
14301  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14302  test $ac_status = 0; }; then
14303  # Parse the compiler output and extract the necessary
14304  # objects, libraries and library flags.
14305
14306  # Sentinel used to keep track of whether or not we are before
14307  # the conftest object file.
14308  pre_test_object_deps_done=no
14309
14310  for p in `eval "$output_verbose_link_cmd"`; do
14311    case ${prev}${p} in
14312
14313    -L* | -R* | -l*)
14314       # Some compilers place space between "-{L,R}" and the path.
14315       # Remove the space.
14316       if test $p = "-L" ||
14317          test $p = "-R"; then
14318	 prev=$p
14319	 continue
14320       fi
14321
14322       # Expand the sysroot to ease extracting the directories later.
14323       if test -z "$prev"; then
14324         case $p in
14325         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14326         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14327         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14328         esac
14329       fi
14330       case $p in
14331       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14332       esac
14333       if test "$pre_test_object_deps_done" = no; then
14334	 case ${prev} in
14335	 -L | -R)
14336	   # Internal compiler library paths should come after those
14337	   # provided the user.  The postdeps already come after the
14338	   # user supplied libs so there is no need to process them.
14339	   if test -z "$compiler_lib_search_path_CXX"; then
14340	     compiler_lib_search_path_CXX="${prev}${p}"
14341	   else
14342	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14343	   fi
14344	   ;;
14345	 # The "-l" case would never come before the object being
14346	 # linked, so don't bother handling this case.
14347	 esac
14348       else
14349	 if test -z "$postdeps_CXX"; then
14350	   postdeps_CXX="${prev}${p}"
14351	 else
14352	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14353	 fi
14354       fi
14355       prev=
14356       ;;
14357
14358    *.lto.$objext) ;; # Ignore GCC LTO objects
14359    *.$objext)
14360       # This assumes that the test object file only shows up
14361       # once in the compiler output.
14362       if test "$p" = "conftest.$objext"; then
14363	 pre_test_object_deps_done=yes
14364	 continue
14365       fi
14366
14367       if test "$pre_test_object_deps_done" = no; then
14368	 if test -z "$predep_objects_CXX"; then
14369	   predep_objects_CXX="$p"
14370	 else
14371	   predep_objects_CXX="$predep_objects_CXX $p"
14372	 fi
14373       else
14374	 if test -z "$postdep_objects_CXX"; then
14375	   postdep_objects_CXX="$p"
14376	 else
14377	   postdep_objects_CXX="$postdep_objects_CXX $p"
14378	 fi
14379       fi
14380       ;;
14381
14382    *) ;; # Ignore the rest.
14383
14384    esac
14385  done
14386
14387  # Clean up.
14388  rm -f a.out a.exe
14389else
14390  echo "libtool.m4: error: problem compiling CXX test program"
14391fi
14392
14393$RM -f confest.$objext
14394CFLAGS=$_lt_libdeps_save_CFLAGS
14395
14396# PORTME: override above test on systems where it is broken
14397case $host_os in
14398interix[3-9]*)
14399  # Interix 3.5 installs completely hosed .la files for C++, so rather than
14400  # hack all around it, let's just trust "g++" to DTRT.
14401  predep_objects_CXX=
14402  postdep_objects_CXX=
14403  postdeps_CXX=
14404  ;;
14405
14406linux*)
14407  case `$CC -V 2>&1 | sed 5q` in
14408  *Sun\ C*)
14409    # Sun C++ 5.9
14410
14411    # The more standards-conforming stlport4 library is
14412    # incompatible with the Cstd library. Avoid specifying
14413    # it if it's in CXXFLAGS. Ignore libCrun as
14414    # -library=stlport4 depends on it.
14415    case " $CXX $CXXFLAGS " in
14416    *" -library=stlport4 "*)
14417      solaris_use_stlport4=yes
14418      ;;
14419    esac
14420
14421    if test "$solaris_use_stlport4" != yes; then
14422      postdeps_CXX='-library=Cstd -library=Crun'
14423    fi
14424    ;;
14425  esac
14426  ;;
14427
14428solaris*)
14429  case $cc_basename in
14430  CC* | sunCC*)
14431    # The more standards-conforming stlport4 library is
14432    # incompatible with the Cstd library. Avoid specifying
14433    # it if it's in CXXFLAGS. Ignore libCrun as
14434    # -library=stlport4 depends on it.
14435    case " $CXX $CXXFLAGS " in
14436    *" -library=stlport4 "*)
14437      solaris_use_stlport4=yes
14438      ;;
14439    esac
14440
14441    # Adding this requires a known-good setup of shared libraries for
14442    # Sun compiler versions before 5.6, else PIC objects from an old
14443    # archive will be linked into the output, leading to subtle bugs.
14444    if test "$solaris_use_stlport4" != yes; then
14445      postdeps_CXX='-library=Cstd -library=Crun'
14446    fi
14447    ;;
14448  esac
14449  ;;
14450esac
14451
14452
14453case " $postdeps_CXX " in
14454*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14455esac
14456 compiler_lib_search_dirs_CXX=
14457if test -n "${compiler_lib_search_path_CXX}"; then
14458 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14459fi
14460
14461    
14462    
14463    
14464
14465
14466    
14467    
14468    
14469
14470
14471    
14472    
14473    
14474
14475
14476    
14477    
14478    
14479
14480
14481    
14482    
14483    
14484
14485
14486    
14487    
14488    
14489
14490
14491    lt_prog_compiler_wl_CXX=
14492lt_prog_compiler_pic_CXX=
14493lt_prog_compiler_static_CXX=
14494
14495
14496  # C++ specific cases for pic, static, wl, etc.
14497  if test "$GXX" = yes; then
14498    lt_prog_compiler_wl_CXX='-Wl,'
14499    lt_prog_compiler_static_CXX='-static'
14500
14501    case $host_os in
14502    aix*)
14503      # All AIX code is PIC.
14504      if test "$host_cpu" = ia64; then
14505	# AIX 5 now supports IA64 processor
14506	lt_prog_compiler_static_CXX='-Bstatic'
14507      fi
14508      ;;
14509
14510    amigaos*)
14511      case $host_cpu in
14512      powerpc)
14513            # see comment about AmigaOS4 .so support
14514            lt_prog_compiler_pic_CXX='-fPIC'
14515        ;;
14516      m68k)
14517            # FIXME: we need at least 68020 code to build shared libraries, but
14518            # adding the `-m68020' flag to GCC prevents building anything better,
14519            # like `-m68040'.
14520            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14521        ;;
14522      esac
14523      ;;
14524
14525    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14526      # PIC is the default for these OSes.
14527      ;;
14528    mingw* | cygwin* | os2* | pw32* | cegcc*)
14529      # This hack is so that the source file can tell whether it is being
14530      # built for inclusion in a dll (and should export symbols for example).
14531      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14532      # (--disable-auto-import) libraries
14533      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14534      ;;
14535    darwin* | rhapsody*)
14536      # PIC is the default on this platform
14537      # Common symbols not allowed in MH_DYLIB files
14538      lt_prog_compiler_pic_CXX='-fno-common'
14539      ;;
14540    *djgpp*)
14541      # DJGPP does not support shared libraries at all
14542      lt_prog_compiler_pic_CXX=
14543      ;;
14544    haiku*)
14545      # PIC is the default for Haiku.
14546      # The "-static" flag exists, but is broken.
14547      lt_prog_compiler_static_CXX=
14548      ;;
14549    interix[3-9]*)
14550      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14551      # Instead, we relocate shared libraries at runtime.
14552      ;;
14553    sysv4*MP*)
14554      if test -d /usr/nec; then
14555	lt_prog_compiler_pic_CXX=-Kconform_pic
14556      fi
14557      ;;
14558    hpux*)
14559      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14560      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14561      # sets the default TLS model and affects inlining.
14562      case $host_cpu in
14563      hppa*64*)
14564	;;
14565      *)
14566	lt_prog_compiler_pic_CXX='-fPIC'
14567	;;
14568      esac
14569      ;;
14570    *qnx* | *nto*)
14571      # QNX uses GNU C++, but need to define -shared option too, otherwise
14572      # it will coredump.
14573      lt_prog_compiler_pic_CXX='-fPIC -shared'
14574      ;;
14575    *)
14576      lt_prog_compiler_pic_CXX='-fPIC'
14577      ;;
14578    esac
14579  else
14580    case $host_os in
14581      aix[4-9]*)
14582	# All AIX code is PIC.
14583	if test "$host_cpu" = ia64; then
14584	  # AIX 5 now supports IA64 processor
14585	  lt_prog_compiler_static_CXX='-Bstatic'
14586	else
14587	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14588	fi
14589	;;
14590      chorus*)
14591	case $cc_basename in
14592	cxch68*)
14593	  # Green Hills C++ Compiler
14594	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14595	  ;;
14596	esac
14597	;;
14598      mingw* | cygwin* | os2* | pw32* | cegcc*)
14599	# This hack is so that the source file can tell whether it is being
14600	# built for inclusion in a dll (and should export symbols for example).
14601	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14602	;;
14603      dgux*)
14604	case $cc_basename in
14605	  ec++*)
14606	    lt_prog_compiler_pic_CXX='-KPIC'
14607	    ;;
14608	  ghcx*)
14609	    # Green Hills C++ Compiler
14610	    lt_prog_compiler_pic_CXX='-pic'
14611	    ;;
14612	  *)
14613	    ;;
14614	esac
14615	;;
14616      freebsd* | dragonfly*)
14617	# FreeBSD uses GNU C++
14618	;;
14619      hpux9* | hpux10* | hpux11*)
14620	case $cc_basename in
14621	  CC*)
14622	    lt_prog_compiler_wl_CXX='-Wl,'
14623	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14624	    if test "$host_cpu" != ia64; then
14625	      lt_prog_compiler_pic_CXX='+Z'
14626	    fi
14627	    ;;
14628	  aCC*)
14629	    lt_prog_compiler_wl_CXX='-Wl,'
14630	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14631	    case $host_cpu in
14632	    hppa*64*|ia64*)
14633	      # +Z the default
14634	      ;;
14635	    *)
14636	      lt_prog_compiler_pic_CXX='+Z'
14637	      ;;
14638	    esac
14639	    ;;
14640	  *)
14641	    ;;
14642	esac
14643	;;
14644      interix*)
14645	# This is c89, which is MS Visual C++ (no shared libs)
14646	# Anyone wants to do a port?
14647	;;
14648      irix5* | irix6* | nonstopux*)
14649	case $cc_basename in
14650	  CC*)
14651	    lt_prog_compiler_wl_CXX='-Wl,'
14652	    lt_prog_compiler_static_CXX='-non_shared'
14653	    # CC pic flag -KPIC is the default.
14654	    ;;
14655	  *)
14656	    ;;
14657	esac
14658	;;
14659      linux* | k*bsd*-gnu | kopensolaris*-gnu)
14660	case $cc_basename in
14661	  KCC*)
14662	    # KAI C++ Compiler
14663	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14664	    lt_prog_compiler_pic_CXX='-fPIC'
14665	    ;;
14666	  ecpc* )
14667	    # old Intel C++ for x86_64 which still supported -KPIC.
14668	    lt_prog_compiler_wl_CXX='-Wl,'
14669	    lt_prog_compiler_pic_CXX='-KPIC'
14670	    lt_prog_compiler_static_CXX='-static'
14671	    ;;
14672	  icpc* )
14673	    # Intel C++, used to be incompatible with GCC.
14674	    # ICC 10 doesn't accept -KPIC any more.
14675	    lt_prog_compiler_wl_CXX='-Wl,'
14676	    lt_prog_compiler_pic_CXX='-fPIC'
14677	    lt_prog_compiler_static_CXX='-static'
14678	    ;;
14679	  pgCC* | pgcpp*)
14680	    # Portland Group C++ compiler
14681	    lt_prog_compiler_wl_CXX='-Wl,'
14682	    lt_prog_compiler_pic_CXX='-fpic'
14683	    lt_prog_compiler_static_CXX='-Bstatic'
14684	    ;;
14685	  cxx*)
14686	    # Compaq C++
14687	    # Make sure the PIC flag is empty.  It appears that all Alpha
14688	    # Linux and Compaq Tru64 Unix objects are PIC.
14689	    lt_prog_compiler_pic_CXX=
14690	    lt_prog_compiler_static_CXX='-non_shared'
14691	    ;;
14692	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14693	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14694	    lt_prog_compiler_wl_CXX='-Wl,'
14695	    lt_prog_compiler_pic_CXX='-qpic'
14696	    lt_prog_compiler_static_CXX='-qstaticlink'
14697	    ;;
14698	  *)
14699	    case `$CC -V 2>&1 | sed 5q` in
14700	    *Sun\ C*)
14701	      # Sun C++ 5.9
14702	      lt_prog_compiler_pic_CXX='-KPIC'
14703	      lt_prog_compiler_static_CXX='-Bstatic'
14704	      lt_prog_compiler_wl_CXX='-Qoption ld '
14705	      ;;
14706	    esac
14707	    ;;
14708	esac
14709	;;
14710      lynxos*)
14711	;;
14712      m88k*)
14713	;;
14714      mvs*)
14715	case $cc_basename in
14716	  cxx*)
14717	    lt_prog_compiler_pic_CXX='-W c,exportall'
14718	    ;;
14719	  *)
14720	    ;;
14721	esac
14722	;;
14723      netbsd*)
14724	;;
14725      *qnx* | *nto*)
14726        # QNX uses GNU C++, but need to define -shared option too, otherwise
14727        # it will coredump.
14728        lt_prog_compiler_pic_CXX='-fPIC -shared'
14729        ;;
14730      osf3* | osf4* | osf5*)
14731	case $cc_basename in
14732	  KCC*)
14733	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14734	    ;;
14735	  RCC*)
14736	    # Rational C++ 2.4.1
14737	    lt_prog_compiler_pic_CXX='-pic'
14738	    ;;
14739	  cxx*)
14740	    # Digital/Compaq C++
14741	    lt_prog_compiler_wl_CXX='-Wl,'
14742	    # Make sure the PIC flag is empty.  It appears that all Alpha
14743	    # Linux and Compaq Tru64 Unix objects are PIC.
14744	    lt_prog_compiler_pic_CXX=
14745	    lt_prog_compiler_static_CXX='-non_shared'
14746	    ;;
14747	  *)
14748	    ;;
14749	esac
14750	;;
14751      psos*)
14752	;;
14753      solaris*)
14754	case $cc_basename in
14755	  CC* | sunCC*)
14756	    # Sun C++ 4.2, 5.x and Centerline C++
14757	    lt_prog_compiler_pic_CXX='-KPIC'
14758	    lt_prog_compiler_static_CXX='-Bstatic'
14759	    lt_prog_compiler_wl_CXX='-Qoption ld '
14760	    ;;
14761	  gcx*)
14762	    # Green Hills C++ Compiler
14763	    lt_prog_compiler_pic_CXX='-PIC'
14764	    ;;
14765	  *)
14766	    ;;
14767	esac
14768	;;
14769      sunos4*)
14770	case $cc_basename in
14771	  CC*)
14772	    # Sun C++ 4.x
14773	    lt_prog_compiler_pic_CXX='-pic'
14774	    lt_prog_compiler_static_CXX='-Bstatic'
14775	    ;;
14776	  lcc*)
14777	    # Lucid
14778	    lt_prog_compiler_pic_CXX='-pic'
14779	    ;;
14780	  *)
14781	    ;;
14782	esac
14783	;;
14784      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14785	case $cc_basename in
14786	  CC*)
14787	    lt_prog_compiler_wl_CXX='-Wl,'
14788	    lt_prog_compiler_pic_CXX='-KPIC'
14789	    lt_prog_compiler_static_CXX='-Bstatic'
14790	    ;;
14791	esac
14792	;;
14793      tandem*)
14794	case $cc_basename in
14795	  NCC*)
14796	    # NonStop-UX NCC 3.20
14797	    lt_prog_compiler_pic_CXX='-KPIC'
14798	    ;;
14799	  *)
14800	    ;;
14801	esac
14802	;;
14803      vxworks*)
14804	;;
14805      *)
14806	lt_prog_compiler_can_build_shared_CXX=no
14807	;;
14808    esac
14809  fi
14810
14811case $host_os in
14812  # For platforms which do not support PIC, -DPIC is meaningless:
14813  *djgpp*)
14814    lt_prog_compiler_pic_CXX=
14815    ;;
14816  *)
14817    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
14818    ;;
14819esac
14820
14821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14822$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14823if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then :
14824  $as_echo_n "(cached) " >&6
14825else
14826  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14827fi
14828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14829$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14830lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14831
14832#
14833# Check to make sure the PIC flag actually works.
14834#
14835if test -n "$lt_prog_compiler_pic_CXX"; then
14836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14837$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14838if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14839  $as_echo_n "(cached) " >&6
14840else
14841  lt_cv_prog_compiler_pic_works_CXX=no
14842   ac_outfile=conftest.$ac_objext
14843   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14844   lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
14845   # Insert the option either (1) after the last *FLAGS variable, or
14846   # (2) before a word containing "conftest.", or (3) at the end.
14847   # Note that $ac_compile itself does not contain backslashes and begins
14848   # with a dollar sign (not a hyphen), so the echo should work correctly.
14849   # The option is referenced via a variable to avoid confusing sed.
14850   lt_compile=`echo "$ac_compile" | $SED \
14851   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14852   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14853   -e 's:$: $lt_compiler_flag:'`
14854   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14855   (eval "$lt_compile" 2>conftest.err)
14856   ac_status=$?
14857   cat conftest.err >&5
14858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859   if (exit $ac_status) && test -s "$ac_outfile"; then
14860     # The compiler can only warn and ignore the option if not recognized
14861     # So say no if there are warnings other than the usual output.
14862     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14863     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14864     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14865       lt_cv_prog_compiler_pic_works_CXX=yes
14866     fi
14867   fi
14868   $RM conftest*
14869
14870fi
14871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14872$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14873
14874if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14875    case $lt_prog_compiler_pic_CXX in
14876     "" | " "*) ;;
14877     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14878     esac
14879else
14880    lt_prog_compiler_pic_CXX=
14881     lt_prog_compiler_can_build_shared_CXX=no
14882fi
14883
14884fi
14885
14886
14887
14888
14889
14890#
14891# Check to make sure the static flag actually works.
14892#
14893wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14895$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14896if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14897  $as_echo_n "(cached) " >&6
14898else
14899  lt_cv_prog_compiler_static_works_CXX=no
14900   save_LDFLAGS="$LDFLAGS"
14901   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14902   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14903   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14904     # The linker can only warn and ignore the option if not recognized
14905     # So say no if there are warnings
14906     if test -s conftest.err; then
14907       # Append any errors to the config.log.
14908       cat conftest.err 1>&5
14909       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14910       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14911       if diff conftest.exp conftest.er2 >/dev/null; then
14912         lt_cv_prog_compiler_static_works_CXX=yes
14913       fi
14914     else
14915       lt_cv_prog_compiler_static_works_CXX=yes
14916     fi
14917   fi
14918   $RM -r conftest*
14919   LDFLAGS="$save_LDFLAGS"
14920
14921fi
14922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14923$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14924
14925if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14926    :
14927else
14928    lt_prog_compiler_static_CXX=
14929fi
14930
14931
14932
14933
14934    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14935$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14936if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14937  $as_echo_n "(cached) " >&6
14938else
14939  lt_cv_prog_compiler_c_o_CXX=no
14940   $RM -r conftest 2>/dev/null
14941   mkdir conftest
14942   cd conftest
14943   mkdir out
14944   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14945
14946   lt_compiler_flag="-o out/conftest2.$ac_objext"
14947   # Insert the option either (1) after the last *FLAGS variable, or
14948   # (2) before a word containing "conftest.", or (3) at the end.
14949   # Note that $ac_compile itself does not contain backslashes and begins
14950   # with a dollar sign (not a hyphen), so the echo should work correctly.
14951   lt_compile=`echo "$ac_compile" | $SED \
14952   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14953   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14954   -e 's:$: $lt_compiler_flag:'`
14955   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14956   (eval "$lt_compile" 2>out/conftest.err)
14957   ac_status=$?
14958   cat out/conftest.err >&5
14959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14961   then
14962     # The compiler can only warn and ignore the option if not recognized
14963     # So say no if there are warnings
14964     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14965     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14966     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14967       lt_cv_prog_compiler_c_o_CXX=yes
14968     fi
14969   fi
14970   chmod u+w . 2>&5
14971   $RM conftest*
14972   # SGI C++ compiler will create directory out/ii_files/ for
14973   # template instantiation
14974   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14975   $RM out/* && rmdir out
14976   cd ..
14977   $RM -r conftest
14978   $RM conftest*
14979
14980fi
14981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14982$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14983
14984
14985
14986    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14987$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14988if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14989  $as_echo_n "(cached) " >&6
14990else
14991  lt_cv_prog_compiler_c_o_CXX=no
14992   $RM -r conftest 2>/dev/null
14993   mkdir conftest
14994   cd conftest
14995   mkdir out
14996   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14997
14998   lt_compiler_flag="-o out/conftest2.$ac_objext"
14999   # Insert the option either (1) after the last *FLAGS variable, or
15000   # (2) before a word containing "conftest.", or (3) at the end.
15001   # Note that $ac_compile itself does not contain backslashes and begins
15002   # with a dollar sign (not a hyphen), so the echo should work correctly.
15003   lt_compile=`echo "$ac_compile" | $SED \
15004   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15005   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15006   -e 's:$: $lt_compiler_flag:'`
15007   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15008   (eval "$lt_compile" 2>out/conftest.err)
15009   ac_status=$?
15010   cat out/conftest.err >&5
15011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15013   then
15014     # The compiler can only warn and ignore the option if not recognized
15015     # So say no if there are warnings
15016     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15017     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15018     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15019       lt_cv_prog_compiler_c_o_CXX=yes
15020     fi
15021   fi
15022   chmod u+w . 2>&5
15023   $RM conftest*
15024   # SGI C++ compiler will create directory out/ii_files/ for
15025   # template instantiation
15026   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15027   $RM out/* && rmdir out
15028   cd ..
15029   $RM -r conftest
15030   $RM conftest*
15031
15032fi
15033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15034$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15035
15036
15037
15038
15039hard_links="nottested"
15040if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15041  # do not overwrite the value of need_locks provided by the user
15042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15043$as_echo_n "checking if we can lock with hard links... " >&6; }
15044  hard_links=yes
15045  $RM conftest*
15046  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15047  touch conftest.a
15048  ln conftest.a conftest.b 2>&5 || hard_links=no
15049  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15051$as_echo "$hard_links" >&6; }
15052  if test "$hard_links" = no; then
15053    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15054$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15055    need_locks=warn
15056  fi
15057else
15058  need_locks=no
15059fi
15060
15061
15062
15063    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15064$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15065
15066  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15067  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15068  case $host_os in
15069  aix[4-9]*)
15070    # If we're using GNU nm, then we don't want the "-C" option.
15071    # -C means demangle to AIX nm, but means don't demangle with GNU nm
15072    # Also, AIX nm treats weak defined symbols like other global defined
15073    # symbols, whereas GNU nm marks them as "W".
15074    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15075      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15076    else
15077      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15078    fi
15079    ;;
15080  pw32*)
15081    export_symbols_cmds_CXX="$ltdll_cmds"
15082    ;;
15083  cygwin* | mingw* | cegcc*)
15084    case $cc_basename in
15085    cl*)
15086      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15087      ;;
15088    *)
15089      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15090      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15091      ;;
15092    esac
15093    ;;
15094  *)
15095    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15096    ;;
15097  esac
15098
15099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15100$as_echo "$ld_shlibs_CXX" >&6; }
15101test "$ld_shlibs_CXX" = no && can_build_shared=no
15102
15103with_gnu_ld_CXX=$with_gnu_ld
15104
15105
15106
15107
15108
15109
15110#
15111# Do we need to explicitly link libc?
15112#
15113case "x$archive_cmds_need_lc_CXX" in
15114x|xyes)
15115  # Assume -lc should be added
15116  archive_cmds_need_lc_CXX=yes
15117
15118  if test "$enable_shared" = yes && test "$GCC" = yes; then
15119    case $archive_cmds_CXX in
15120    *'~'*)
15121      # FIXME: we may have to deal with multi-command sequences.
15122      ;;
15123    '$CC '*)
15124      # Test whether the compiler implicitly links with -lc since on some
15125      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15126      # to ld, don't add -lc before -lgcc.
15127      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15128$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15129if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15130  $as_echo_n "(cached) " >&6
15131else
15132  $RM conftest*
15133	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15134
15135	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15136  (eval $ac_compile) 2>&5
15137  ac_status=$?
15138  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15139  test $ac_status = 0; } 2>conftest.err; then
15140	  soname=conftest
15141	  lib=conftest
15142	  libobjs=conftest.$ac_objext
15143	  deplibs=
15144	  wl=$lt_prog_compiler_wl_CXX
15145	  pic_flag=$lt_prog_compiler_pic_CXX
15146	  compiler_flags=-v
15147	  linker_flags=-v
15148	  verstring=
15149	  output_objdir=.
15150	  libname=conftest
15151	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15152	  allow_undefined_flag_CXX=
15153	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15154  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15155  ac_status=$?
15156  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157  test $ac_status = 0; }
15158	  then
15159	    lt_cv_archive_cmds_need_lc_CXX=no
15160	  else
15161	    lt_cv_archive_cmds_need_lc_CXX=yes
15162	  fi
15163	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15164	else
15165	  cat conftest.err 1>&5
15166	fi
15167	$RM conftest*
15168	
15169fi
15170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15171$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15172      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15173      ;;
15174    esac
15175  fi
15176  ;;
15177esac
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15241$as_echo_n "checking dynamic linker characteristics... " >&6; }
15242
15243library_names_spec=
15244libname_spec='lib$name'
15245soname_spec=
15246shrext_cmds=".so"
15247postinstall_cmds=
15248postuninstall_cmds=
15249finish_cmds=
15250finish_eval=
15251shlibpath_var=
15252shlibpath_overrides_runpath=unknown
15253version_type=none
15254dynamic_linker="$host_os ld.so"
15255sys_lib_dlsearch_path_spec="/lib /usr/lib"
15256need_lib_prefix=unknown
15257hardcode_into_libs=no
15258
15259# when you set need_version to no, make sure it does not cause -set_version
15260# flags to be left without arguments
15261need_version=unknown
15262
15263case $host_os in
15264aix3*)
15265  version_type=linux # correct to gnu/linux during the next big refactor
15266  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15267  shlibpath_var=LIBPATH
15268
15269  # AIX 3 has no versioning support, so we append a major version to the name.
15270  soname_spec='${libname}${release}${shared_ext}$major'
15271  ;;
15272
15273aix[4-9]*)
15274  version_type=linux # correct to gnu/linux during the next big refactor
15275  need_lib_prefix=no
15276  need_version=no
15277  hardcode_into_libs=yes
15278  if test "$host_cpu" = ia64; then
15279    # AIX 5 supports IA64
15280    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15281    shlibpath_var=LD_LIBRARY_PATH
15282  else
15283    # With GCC up to 2.95.x, collect2 would create an import file
15284    # for dependence libraries.  The import file would start with
15285    # the line `#! .'.  This would cause the generated library to
15286    # depend on `.', always an invalid library.  This was fixed in
15287    # development snapshots of GCC prior to 3.0.
15288    case $host_os in
15289      aix4 | aix4.[01] | aix4.[01].*)
15290      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15291	   echo ' yes '
15292	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15293	:
15294      else
15295	can_build_shared=no
15296      fi
15297      ;;
15298    esac
15299    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15300    # soname into executable. Probably we can add versioning support to
15301    # collect2, so additional links can be useful in future.
15302    if test "$aix_use_runtimelinking" = yes; then
15303      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15304      # instead of lib<name>.a to let people know that these are not
15305      # typical AIX shared libraries.
15306      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15307    else
15308      # We preserve .a as extension for shared libraries through AIX4.2
15309      # and later when we are not doing run time linking.
15310      library_names_spec='${libname}${release}.a $libname.a'
15311      soname_spec='${libname}${release}${shared_ext}$major'
15312    fi
15313    shlibpath_var=LIBPATH
15314  fi
15315  ;;
15316
15317amigaos*)
15318  case $host_cpu in
15319  powerpc)
15320    # Since July 2007 AmigaOS4 officially supports .so libraries.
15321    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15322    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323    ;;
15324  m68k)
15325    library_names_spec='$libname.ixlibrary $libname.a'
15326    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15327    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15328    ;;
15329  esac
15330  ;;
15331
15332beos*)
15333  library_names_spec='${libname}${shared_ext}'
15334  dynamic_linker="$host_os ld.so"
15335  shlibpath_var=LIBRARY_PATH
15336  ;;
15337
15338bsdi[45]*)
15339  version_type=linux # correct to gnu/linux during the next big refactor
15340  need_version=no
15341  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15342  soname_spec='${libname}${release}${shared_ext}$major'
15343  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15344  shlibpath_var=LD_LIBRARY_PATH
15345  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15346  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15347  # the default ld.so.conf also contains /usr/contrib/lib and
15348  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15349  # libtool to hard-code these into programs
15350  ;;
15351
15352cygwin* | mingw* | pw32* | cegcc*)
15353  version_type=windows
15354  shrext_cmds=".dll"
15355  need_version=no
15356  need_lib_prefix=no
15357
15358  case $GCC,$cc_basename in
15359  yes,*)
15360    # gcc
15361    library_names_spec='$libname.dll.a'
15362    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15363    postinstall_cmds='base_file=`basename \${file}`~
15364      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15365      dldir=$destdir/`dirname \$dlpath`~
15366      test -d \$dldir || mkdir -p \$dldir~
15367      $install_prog $dir/$dlname \$dldir/$dlname~
15368      chmod a+x \$dldir/$dlname~
15369      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15370        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15371      fi'
15372    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15373      dlpath=$dir/\$dldll~
15374       $RM \$dlpath'
15375    shlibpath_overrides_runpath=yes
15376
15377    case $host_os in
15378    cygwin*)
15379      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15380      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15381
15382      ;;
15383    mingw* | cegcc*)
15384      # MinGW DLLs use traditional 'lib' prefix
15385      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15386      ;;
15387    pw32*)
15388      # pw32 DLLs use 'pw' prefix rather than 'lib'
15389      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15390      ;;
15391    esac
15392    dynamic_linker='Win32 ld.exe'
15393    ;;
15394
15395  *,cl*)
15396    # Native MSVC
15397    libname_spec='$name'
15398    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15399    library_names_spec='${libname}.dll.lib'
15400
15401    case $build_os in
15402    mingw*)
15403      sys_lib_search_path_spec=
15404      lt_save_ifs=$IFS
15405      IFS=';'
15406      for lt_path in $LIB
15407      do
15408        IFS=$lt_save_ifs
15409        # Let DOS variable expansion print the short 8.3 style file name.
15410        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15411        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15412      done
15413      IFS=$lt_save_ifs
15414      # Convert to MSYS style.
15415      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15416      ;;
15417    cygwin*)
15418      # Convert to unix form, then to dos form, then back to unix form
15419      # but this time dos style (no spaces!) so that the unix form looks
15420      # like /cygdrive/c/PROGRA~1:/cygdr...
15421      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15422      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15423      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15424      ;;
15425    *)
15426      sys_lib_search_path_spec="$LIB"
15427      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15428        # It is most probably a Windows format PATH.
15429        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15430      else
15431        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15432      fi
15433      # FIXME: find the short name or the path components, as spaces are
15434      # common. (e.g. "Program Files" -> "PROGRA~1")
15435      ;;
15436    esac
15437
15438    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15439    postinstall_cmds='base_file=`basename \${file}`~
15440      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15441      dldir=$destdir/`dirname \$dlpath`~
15442      test -d \$dldir || mkdir -p \$dldir~
15443      $install_prog $dir/$dlname \$dldir/$dlname'
15444    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15445      dlpath=$dir/\$dldll~
15446       $RM \$dlpath'
15447    shlibpath_overrides_runpath=yes
15448    dynamic_linker='Win32 link.exe'
15449    ;;
15450
15451  *)
15452    # Assume MSVC wrapper
15453    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15454    dynamic_linker='Win32 ld.exe'
15455    ;;
15456  esac
15457  # FIXME: first we should search . and the directory the executable is in
15458  shlibpath_var=PATH
15459  ;;
15460
15461darwin* | rhapsody*)
15462  dynamic_linker="$host_os dyld"
15463  version_type=darwin
15464  need_lib_prefix=no
15465  need_version=no
15466  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15467  soname_spec='${libname}${release}${major}$shared_ext'
15468  shlibpath_overrides_runpath=yes
15469  shlibpath_var=DYLD_LIBRARY_PATH
15470  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15471
15472  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15473  ;;
15474
15475dgux*)
15476  version_type=linux # correct to gnu/linux during the next big refactor
15477  need_lib_prefix=no
15478  need_version=no
15479  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15480  soname_spec='${libname}${release}${shared_ext}$major'
15481  shlibpath_var=LD_LIBRARY_PATH
15482  ;;
15483
15484freebsd* | dragonfly*)
15485  # DragonFly does not have aout.  When/if they implement a new
15486  # versioning mechanism, adjust this.
15487  if test -x /usr/bin/objformat; then
15488    objformat=`/usr/bin/objformat`
15489  else
15490    case $host_os in
15491    freebsd[23].*) objformat=aout ;;
15492    *) objformat=elf ;;
15493    esac
15494  fi
15495  version_type=freebsd-$objformat
15496  case $version_type in
15497    freebsd-elf*)
15498      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15499      need_version=no
15500      need_lib_prefix=no
15501      ;;
15502    freebsd-*)
15503      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15504      need_version=yes
15505      ;;
15506  esac
15507  shlibpath_var=LD_LIBRARY_PATH
15508  case $host_os in
15509  freebsd2.*)
15510    shlibpath_overrides_runpath=yes
15511    ;;
15512  freebsd3.[01]* | freebsdelf3.[01]*)
15513    shlibpath_overrides_runpath=yes
15514    hardcode_into_libs=yes
15515    ;;
15516  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15517  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15518    shlibpath_overrides_runpath=no
15519    hardcode_into_libs=yes
15520    ;;
15521  *) # from 4.6 on, and DragonFly
15522    shlibpath_overrides_runpath=yes
15523    hardcode_into_libs=yes
15524    ;;
15525  esac
15526  ;;
15527
15528gnu*)
15529  version_type=linux # correct to gnu/linux during the next big refactor
15530  need_lib_prefix=no
15531  need_version=no
15532  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15533  soname_spec='${libname}${release}${shared_ext}$major'
15534  shlibpath_var=LD_LIBRARY_PATH
15535  shlibpath_overrides_runpath=no
15536  hardcode_into_libs=yes
15537  ;;
15538
15539haiku*)
15540  version_type=linux # correct to gnu/linux during the next big refactor
15541  need_lib_prefix=no
15542  need_version=no
15543  dynamic_linker="$host_os runtime_loader"
15544  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15545  soname_spec='${libname}${release}${shared_ext}$major'
15546  shlibpath_var=LIBRARY_PATH
15547  shlibpath_overrides_runpath=yes
15548  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15549  hardcode_into_libs=yes
15550  ;;
15551
15552hpux9* | hpux10* | hpux11*)
15553  # Give a soname corresponding to the major version so that dld.sl refuses to
15554  # link against other versions.
15555  version_type=sunos
15556  need_lib_prefix=no
15557  need_version=no
15558  case $host_cpu in
15559  ia64*)
15560    shrext_cmds='.so'
15561    hardcode_into_libs=yes
15562    dynamic_linker="$host_os dld.so"
15563    shlibpath_var=LD_LIBRARY_PATH
15564    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15565    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566    soname_spec='${libname}${release}${shared_ext}$major'
15567    if test "X$HPUX_IA64_MODE" = X32; then
15568      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15569    else
15570      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15571    fi
15572    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15573    ;;
15574  hppa*64*)
15575    shrext_cmds='.sl'
15576    hardcode_into_libs=yes
15577    dynamic_linker="$host_os dld.sl"
15578    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15579    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15580    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15581    soname_spec='${libname}${release}${shared_ext}$major'
15582    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15583    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15584    ;;
15585  *)
15586    shrext_cmds='.sl'
15587    dynamic_linker="$host_os dld.sl"
15588    shlibpath_var=SHLIB_PATH
15589    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15590    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15591    soname_spec='${libname}${release}${shared_ext}$major'
15592    ;;
15593  esac
15594  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15595  postinstall_cmds='chmod 555 $lib'
15596  # or fails outright, so override atomically:
15597  install_override_mode=555
15598  ;;
15599
15600interix[3-9]*)
15601  version_type=linux # correct to gnu/linux during the next big refactor
15602  need_lib_prefix=no
15603  need_version=no
15604  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15605  soname_spec='${libname}${release}${shared_ext}$major'
15606  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15607  shlibpath_var=LD_LIBRARY_PATH
15608  shlibpath_overrides_runpath=no
15609  hardcode_into_libs=yes
15610  ;;
15611
15612irix5* | irix6* | nonstopux*)
15613  case $host_os in
15614    nonstopux*) version_type=nonstopux ;;
15615    *)
15616	if test "$lt_cv_prog_gnu_ld" = yes; then
15617		version_type=linux # correct to gnu/linux during the next big refactor
15618	else
15619		version_type=irix
15620	fi ;;
15621  esac
15622  need_lib_prefix=no
15623  need_version=no
15624  soname_spec='${libname}${release}${shared_ext}$major'
15625  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15626  case $host_os in
15627  irix5* | nonstopux*)
15628    libsuff= shlibsuff=
15629    ;;
15630  *)
15631    case $LD in # libtool.m4 will add one of these switches to LD
15632    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15633      libsuff= shlibsuff= libmagic=32-bit;;
15634    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15635      libsuff=32 shlibsuff=N32 libmagic=N32;;
15636    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15637      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15638    *) libsuff= shlibsuff= libmagic=never-match;;
15639    esac
15640    ;;
15641  esac
15642  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15643  shlibpath_overrides_runpath=no
15644  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15645  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15646  hardcode_into_libs=yes
15647  ;;
15648
15649# No shared lib support for Linux oldld, aout, or coff.
15650linux*oldld* | linux*aout* | linux*coff*)
15651  dynamic_linker=no
15652  ;;
15653
15654# This must be glibc/ELF.
15655linux* | k*bsd*-gnu | kopensolaris*-gnu)
15656  version_type=linux # correct to gnu/linux during the next big refactor
15657  need_lib_prefix=no
15658  need_version=no
15659  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15660  soname_spec='${libname}${release}${shared_ext}$major'
15661  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15662  shlibpath_var=LD_LIBRARY_PATH
15663  shlibpath_overrides_runpath=no
15664
15665  # Some binutils ld are patched to set DT_RUNPATH
15666  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15667  $as_echo_n "(cached) " >&6
15668else
15669  lt_cv_shlibpath_overrides_runpath=no
15670    save_LDFLAGS=$LDFLAGS
15671    save_libdir=$libdir
15672    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15673	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15674    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675/* end confdefs.h.  */
15676
15677int
15678main ()
15679{
15680
15681  ;
15682  return 0;
15683}
15684_ACEOF
15685if ac_fn_cxx_try_link "$LINENO"; then :
15686  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15687  lt_cv_shlibpath_overrides_runpath=yes
15688fi
15689fi
15690rm -f core conftest.err conftest.$ac_objext \
15691    conftest$ac_exeext conftest.$ac_ext
15692    LDFLAGS=$save_LDFLAGS
15693    libdir=$save_libdir
15694    
15695fi
15696
15697  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15698
15699  # This implies no fast_install, which is unacceptable.
15700  # Some rework will be needed to allow for fast_install
15701  # before this can be enabled.
15702  hardcode_into_libs=yes
15703
15704  # Add ABI-specific directories to the system library path.
15705  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
15706
15707  # Append ld.so.conf contents to the search path
15708  if test -f /etc/ld.so.conf; then
15709    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15710    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15711
15712  fi
15713
15714  # We used to test for /lib/ld.so.1 and disable shared libraries on
15715  # powerpc, because MkLinux only supported shared libraries with the
15716  # GNU dynamic linker.  Since this was broken with cross compilers,
15717  # most powerpc-linux boxes support dynamic linking these days and
15718  # people can always --disable-shared, the test was removed, and we
15719  # assume the GNU/Linux dynamic linker is in use.
15720  dynamic_linker='GNU/Linux ld.so'
15721  ;;
15722
15723netbsd*)
15724  version_type=sunos
15725  need_lib_prefix=no
15726  need_version=no
15727  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15728    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15729    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15730    dynamic_linker='NetBSD (a.out) ld.so'
15731  else
15732    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15733    soname_spec='${libname}${release}${shared_ext}$major'
15734    dynamic_linker='NetBSD ld.elf_so'
15735  fi
15736  shlibpath_var=LD_LIBRARY_PATH
15737  shlibpath_overrides_runpath=yes
15738  hardcode_into_libs=yes
15739  ;;
15740
15741newsos6)
15742  version_type=linux # correct to gnu/linux during the next big refactor
15743  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15744  shlibpath_var=LD_LIBRARY_PATH
15745  shlibpath_overrides_runpath=yes
15746  ;;
15747
15748*nto* | *qnx*)
15749  version_type=qnx
15750  need_lib_prefix=no
15751  need_version=no
15752  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15753  soname_spec='${libname}${release}${shared_ext}$major'
15754  shlibpath_var=LD_LIBRARY_PATH
15755  shlibpath_overrides_runpath=no
15756  hardcode_into_libs=yes
15757  dynamic_linker='ldqnx.so'
15758  ;;
15759
15760openbsd*)
15761  version_type=sunos
15762  sys_lib_dlsearch_path_spec="/usr/lib"
15763  need_lib_prefix=no
15764  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15765  case $host_os in
15766    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15767    *)				need_version=no  ;;
15768  esac
15769  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15770  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15771  shlibpath_var=LD_LIBRARY_PATH
15772  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15773    case $host_os in
15774      openbsd2.[89] | openbsd2.[89].*)
15775	shlibpath_overrides_runpath=no
15776	;;
15777      *)
15778	shlibpath_overrides_runpath=yes
15779	;;
15780      esac
15781  else
15782    shlibpath_overrides_runpath=yes
15783  fi
15784  ;;
15785
15786os2*)
15787  libname_spec='$name'
15788  shrext_cmds=".dll"
15789  need_lib_prefix=no
15790  library_names_spec='$libname${shared_ext} $libname.a'
15791  dynamic_linker='OS/2 ld.exe'
15792  shlibpath_var=LIBPATH
15793  ;;
15794
15795osf3* | osf4* | osf5*)
15796  version_type=osf
15797  need_lib_prefix=no
15798  need_version=no
15799  soname_spec='${libname}${release}${shared_ext}$major'
15800  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15801  shlibpath_var=LD_LIBRARY_PATH
15802  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15803  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15804  ;;
15805
15806rdos*)
15807  dynamic_linker=no
15808  ;;
15809
15810solaris*)
15811  version_type=linux # correct to gnu/linux during the next big refactor
15812  need_lib_prefix=no
15813  need_version=no
15814  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15815  soname_spec='${libname}${release}${shared_ext}$major'
15816  shlibpath_var=LD_LIBRARY_PATH
15817  shlibpath_overrides_runpath=yes
15818  hardcode_into_libs=yes
15819  # ldd complains unless libraries are executable
15820  postinstall_cmds='chmod +x $lib'
15821  ;;
15822
15823sunos4*)
15824  version_type=sunos
15825  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15826  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15827  shlibpath_var=LD_LIBRARY_PATH
15828  shlibpath_overrides_runpath=yes
15829  if test "$with_gnu_ld" = yes; then
15830    need_lib_prefix=no
15831  fi
15832  need_version=yes
15833  ;;
15834
15835sysv4 | sysv4.3*)
15836  version_type=linux # correct to gnu/linux during the next big refactor
15837  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15838  soname_spec='${libname}${release}${shared_ext}$major'
15839  shlibpath_var=LD_LIBRARY_PATH
15840  case $host_vendor in
15841    sni)
15842      shlibpath_overrides_runpath=no
15843      need_lib_prefix=no
15844      runpath_var=LD_RUN_PATH
15845      ;;
15846    siemens)
15847      need_lib_prefix=no
15848      ;;
15849    motorola)
15850      need_lib_prefix=no
15851      need_version=no
15852      shlibpath_overrides_runpath=no
15853      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15854      ;;
15855  esac
15856  ;;
15857
15858sysv4*MP*)
15859  if test -d /usr/nec ;then
15860    version_type=linux # correct to gnu/linux during the next big refactor
15861    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15862    soname_spec='$libname${shared_ext}.$major'
15863    shlibpath_var=LD_LIBRARY_PATH
15864  fi
15865  ;;
15866
15867sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15868  version_type=freebsd-elf
15869  need_lib_prefix=no
15870  need_version=no
15871  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15872  soname_spec='${libname}${release}${shared_ext}$major'
15873  shlibpath_var=LD_LIBRARY_PATH
15874  shlibpath_overrides_runpath=yes
15875  hardcode_into_libs=yes
15876  if test "$with_gnu_ld" = yes; then
15877    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15878  else
15879    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15880    case $host_os in
15881      sco3.2v5*)
15882        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15883	;;
15884    esac
15885  fi
15886  sys_lib_dlsearch_path_spec='/usr/lib'
15887  ;;
15888
15889tpf*)
15890  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15891  version_type=linux # correct to gnu/linux during the next big refactor
15892  need_lib_prefix=no
15893  need_version=no
15894  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15895  shlibpath_var=LD_LIBRARY_PATH
15896  shlibpath_overrides_runpath=no
15897  hardcode_into_libs=yes
15898  ;;
15899
15900uts4*)
15901  version_type=linux # correct to gnu/linux during the next big refactor
15902  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15903  soname_spec='${libname}${release}${shared_ext}$major'
15904  shlibpath_var=LD_LIBRARY_PATH
15905  ;;
15906
15907*)
15908  dynamic_linker=no
15909  ;;
15910esac
15911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15912$as_echo "$dynamic_linker" >&6; }
15913test "$dynamic_linker" = no && can_build_shared=no
15914
15915variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15916if test "$GCC" = yes; then
15917  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15918fi
15919
15920if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15921  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15922fi
15923if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15924  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15925fi
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15965$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15966hardcode_action_CXX=
15967if test -n "$hardcode_libdir_flag_spec_CXX" ||
15968   test -n "$runpath_var_CXX" ||
15969   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15970
15971  # We can hardcode non-existent directories.
15972  if test "$hardcode_direct_CXX" != no &&
15973     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15974     # have to relink, otherwise we might link with an installed library
15975     # when we should be linking with a yet-to-be-installed one
15976     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15977     test "$hardcode_minus_L_CXX" != no; then
15978    # Linking always hardcodes the temporary library directory.
15979    hardcode_action_CXX=relink
15980  else
15981    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15982    hardcode_action_CXX=immediate
15983  fi
15984else
15985  # We cannot hardcode anything, or else we can only hardcode existing
15986  # directories.
15987  hardcode_action_CXX=unsupported
15988fi
15989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15990$as_echo "$hardcode_action_CXX" >&6; }
15991
15992if test "$hardcode_action_CXX" = relink ||
15993   test "$inherit_rpath_CXX" = yes; then
15994  # Fast installation is not supported
15995  enable_fast_install=no
15996elif test "$shlibpath_overrides_runpath" = yes ||
15997     test "$enable_shared" = no; then
15998  # Fast installation is not necessary
15999  enable_fast_install=needless
16000fi
16001
16002
16003
16004
16005    
16006
16007
16008  fi # test -n "$compiler"
16009
16010  CC=$lt_save_CC
16011  CFLAGS=$lt_save_CFLAGS
16012  LDCXX=$LD
16013  LD=$lt_save_LD
16014  GCC=$lt_save_GCC
16015  with_gnu_ld=$lt_save_with_gnu_ld
16016  lt_cv_path_LDCXX=$lt_cv_path_LD
16017  lt_cv_path_LD=$lt_save_path_LD
16018  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16019  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16020fi # test "$_lt_caught_CXX_error" != yes
16021
16022ac_ext=c
16023ac_cpp='$CPP $CPPFLAGS'
16024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16026ac_compiler_gnu=$ac_cv_c_compiler_gnu
16027
16028
16029
16030
16031
16032
16033
16034
16035       
16036       
16037
16038
16039
16040
16041
16042        ac_config_commands="$ac_config_commands libtool"
16043
16044
16045
16046
16047# Only expand once:
16048
16049
16050
16051@%:@ Check whether --enable-compiler-coverage was given.
16052if test "${enable_compiler_coverage+set}" = set; then :
16053  enableval=$enable_compiler_coverage; if test "x$enable_compiler_coverage" = "xyes"; then
16054	if test "x$GCC" = "xyes"; then
16055		CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
16056	fi
16057fi
16058fi
16059
16060@%:@ Check whether --enable-compiler-optimisations was given.
16061if test "${enable_compiler_optimisations+set}" = set; then :
16062  enableval=$enable_compiler_optimisations; if test "x$enable_compiler_optimisations" = "xno"; then
16063	CFLAGS=`echo "$CFLAGS" | sed -e "s/ -O[1-9]*\b/ -O0/g"`
16064fi
16065fi
16066
16067
16068
16069if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16070	if test -n "$ac_tool_prefix"; then
16071  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16072set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16074$as_echo_n "checking for $ac_word... " >&6; }
16075if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16076  $as_echo_n "(cached) " >&6
16077else
16078  case $PKG_CONFIG in
16079  [\\/]* | ?:[\\/]*)
16080  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16081  ;;
16082  *)
16083  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16084for as_dir in $PATH
16085do
16086  IFS=$as_save_IFS
16087  test -z "$as_dir" && as_dir=.
16088    for ac_exec_ext in '' $ac_executable_extensions; do
16089  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16090    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16091    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16092    break 2
16093  fi
16094done
16095  done
16096IFS=$as_save_IFS
16097
16098  ;;
16099esac
16100fi
16101PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16102if test -n "$PKG_CONFIG"; then
16103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16104$as_echo "$PKG_CONFIG" >&6; }
16105else
16106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16107$as_echo "no" >&6; }
16108fi
16109
16110
16111fi
16112if test -z "$ac_cv_path_PKG_CONFIG"; then
16113  ac_pt_PKG_CONFIG=$PKG_CONFIG
16114  # Extract the first word of "pkg-config", so it can be a program name with args.
16115set dummy pkg-config; ac_word=$2
16116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16117$as_echo_n "checking for $ac_word... " >&6; }
16118if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
16119  $as_echo_n "(cached) " >&6
16120else
16121  case $ac_pt_PKG_CONFIG in
16122  [\\/]* | ?:[\\/]*)
16123  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16124  ;;
16125  *)
16126  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16127for as_dir in $PATH
16128do
16129  IFS=$as_save_IFS
16130  test -z "$as_dir" && as_dir=.
16131    for ac_exec_ext in '' $ac_executable_extensions; do
16132  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16133    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16134    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16135    break 2
16136  fi
16137done
16138  done
16139IFS=$as_save_IFS
16140
16141  ;;
16142esac
16143fi
16144ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16145if test -n "$ac_pt_PKG_CONFIG"; then
16146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16147$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16148else
16149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16150$as_echo "no" >&6; }
16151fi
16152
16153  if test "x$ac_pt_PKG_CONFIG" = x; then
16154    PKG_CONFIG=""
16155  else
16156    case $cross_compiling:$ac_tool_warned in
16157yes:)
16158{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16159$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16160ac_tool_warned=yes ;;
16161esac
16162    PKG_CONFIG=$ac_pt_PKG_CONFIG
16163  fi
16164else
16165  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16166fi
16167
16168fi
16169if test -n "$PKG_CONFIG"; then
16170	_pkg_min_version=0.9.0
16171	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16172$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16173	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16174		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16175$as_echo "yes" >&6; }
16176	else
16177		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16178$as_echo "no" >&6; }
16179		PKG_CONFIG=""
16180	fi
16181
16182fi
16183
16184# Initialize libtool
16185
16186if test -n "$ac_tool_prefix"; then
16187  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16188set dummy ${ac_tool_prefix}windres; ac_word=$2
16189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16190$as_echo_n "checking for $ac_word... " >&6; }
16191if test "${ac_cv_prog_RC+set}" = set; then :
16192  $as_echo_n "(cached) " >&6
16193else
16194  if test -n "$RC"; then
16195  ac_cv_prog_RC="$RC" # Let the user override the test.
16196else
16197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16198for as_dir in $PATH
16199do
16200  IFS=$as_save_IFS
16201  test -z "$as_dir" && as_dir=.
16202    for ac_exec_ext in '' $ac_executable_extensions; do
16203  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16204    ac_cv_prog_RC="${ac_tool_prefix}windres"
16205    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16206    break 2
16207  fi
16208done
16209  done
16210IFS=$as_save_IFS
16211
16212fi
16213fi
16214RC=$ac_cv_prog_RC
16215if test -n "$RC"; then
16216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
16217$as_echo "$RC" >&6; }
16218else
16219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16220$as_echo "no" >&6; }
16221fi
16222
16223
16224fi
16225if test -z "$ac_cv_prog_RC"; then
16226  ac_ct_RC=$RC
16227  # Extract the first word of "windres", so it can be a program name with args.
16228set dummy windres; ac_word=$2
16229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16230$as_echo_n "checking for $ac_word... " >&6; }
16231if test "${ac_cv_prog_ac_ct_RC+set}" = set; then :
16232  $as_echo_n "(cached) " >&6
16233else
16234  if test -n "$ac_ct_RC"; then
16235  ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
16236else
16237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16238for as_dir in $PATH
16239do
16240  IFS=$as_save_IFS
16241  test -z "$as_dir" && as_dir=.
16242    for ac_exec_ext in '' $ac_executable_extensions; do
16243  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16244    ac_cv_prog_ac_ct_RC="windres"
16245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16246    break 2
16247  fi
16248done
16249  done
16250IFS=$as_save_IFS
16251
16252fi
16253fi
16254ac_ct_RC=$ac_cv_prog_ac_ct_RC
16255if test -n "$ac_ct_RC"; then
16256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
16257$as_echo "$ac_ct_RC" >&6; }
16258else
16259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16260$as_echo "no" >&6; }
16261fi
16262
16263  if test "x$ac_ct_RC" = x; then
16264    RC=""
16265  else
16266    case $cross_compiling:$ac_tool_warned in
16267yes:)
16268{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16269$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16270ac_tool_warned=yes ;;
16271esac
16272    RC=$ac_ct_RC
16273  fi
16274else
16275  RC="$ac_cv_prog_RC"
16276fi
16277
16278
16279      
16280
16281# Source file extension for RC test sources.
16282ac_ext=rc
16283
16284# Object file extension for compiled RC test sources.
16285objext=o
16286objext_RC=$objext
16287
16288# Code to be used in simple compile tests
16289lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
16290
16291# Code to be used in simple link tests
16292lt_simple_link_test_code="$lt_simple_compile_test_code"
16293
16294# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16295
16296
16297
16298
16299
16300
16301# If no C compiler was specified, use CC.
16302LTCC=${LTCC-"$CC"}
16303
16304# If no C compiler flags were specified, use CFLAGS.
16305LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16306
16307# Allow CC to be a program name with arguments.
16308compiler=$CC
16309
16310
16311# save warnings/boilerplate of simple test code
16312ac_outfile=conftest.$ac_objext
16313echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16314eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16315_lt_compiler_boilerplate=`cat conftest.err`
16316$RM conftest*
16317
16318ac_outfile=conftest.$ac_objext
16319echo "$lt_simple_link_test_code" >conftest.$ac_ext
16320eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16321_lt_linker_boilerplate=`cat conftest.err`
16322$RM -r conftest*
16323
16324
16325# Allow CC to be a program name with arguments.
16326lt_save_CC="$CC"
16327lt_save_CFLAGS=$CFLAGS
16328lt_save_GCC=$GCC
16329GCC=
16330CC=${RC-"windres"}
16331CFLAGS=
16332compiler=$CC
16333compiler_RC=$CC
16334for cc_temp in $compiler""; do
16335  case $cc_temp in
16336    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16337    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16338    \-*) ;;
16339    *) break;;
16340  esac
16341done
16342cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16343
16344lt_cv_prog_compiler_c_o_RC=yes
16345
16346if test -n "$compiler"; then
16347  :
16348  
16349
16350
16351fi
16352
16353GCC=$lt_save_GCC
16354ac_ext=c
16355ac_cpp='$CPP $CPPFLAGS'
16356ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16357ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16358ac_compiler_gnu=$ac_cv_c_compiler_gnu
16359
16360CC=$lt_save_CC
16361CFLAGS=$lt_save_CFLAGS
16362
16363
16364# Set some internal variables depending on the platform for later use.
16365dbus_win=no
16366dbus_cygwin=no
16367dbus_unix=no
16368case "${host}" in
16369    *-mingw32ce*)
16370        dbus_win=yes
16371        dbus_wince=yes
16372        ;;
16373    *-mingw32*)
16374        dbus_win=yes
16375        ;;
16376    *-cygwin*)
16377        dbus_cygwin=yes
16378        dbus_unix=yes
16379        ;;
16380    *)
16381        dbus_unix=yes
16382       ;;
16383esac
16384
16385# Special defines for certain platforms
16386if test "$dbus_win" = yes; then
16387    
16388$as_echo "@%:@define DBUS_WIN 1" >>confdefs.h
16389
16390    BUILD_TIMESTAMP=`date --iso-8601=minutes`
16391    
16392    # Assume DBUS_VERSION is always three numbers
16393    BUILD_FILEVERSION=`echo "$DBUS_VERSION" | sed -e 's/\./,/g'`,0
16394    
16395    if test -n "$ac_tool_prefix"; then
16396  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16397set dummy ${ac_tool_prefix}windres; ac_word=$2
16398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16399$as_echo_n "checking for $ac_word... " >&6; }
16400if test "${ac_cv_prog_WINDRES+set}" = set; then :
16401  $as_echo_n "(cached) " >&6
16402else
16403  if test -n "$WINDRES"; then
16404  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16405else
16406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16407for as_dir in $PATH
16408do
16409  IFS=$as_save_IFS
16410  test -z "$as_dir" && as_dir=.
16411    for ac_exec_ext in '' $ac_executable_extensions; do
16412  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16413    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16414    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16415    break 2
16416  fi
16417done
16418  done
16419IFS=$as_save_IFS
16420
16421fi
16422fi
16423WINDRES=$ac_cv_prog_WINDRES
16424if test -n "$WINDRES"; then
16425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
16426$as_echo "$WINDRES" >&6; }
16427else
16428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16429$as_echo "no" >&6; }
16430fi
16431
16432
16433fi
16434if test -z "$ac_cv_prog_WINDRES"; then
16435  ac_ct_WINDRES=$WINDRES
16436  # Extract the first word of "windres", so it can be a program name with args.
16437set dummy windres; ac_word=$2
16438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16439$as_echo_n "checking for $ac_word... " >&6; }
16440if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
16441  $as_echo_n "(cached) " >&6
16442else
16443  if test -n "$ac_ct_WINDRES"; then
16444  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16445else
16446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16447for as_dir in $PATH
16448do
16449  IFS=$as_save_IFS
16450  test -z "$as_dir" && as_dir=.
16451    for ac_exec_ext in '' $ac_executable_extensions; do
16452  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16453    ac_cv_prog_ac_ct_WINDRES="windres"
16454    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16455    break 2
16456  fi
16457done
16458  done
16459IFS=$as_save_IFS
16460
16461fi
16462fi
16463ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16464if test -n "$ac_ct_WINDRES"; then
16465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
16466$as_echo "$ac_ct_WINDRES" >&6; }
16467else
16468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16469$as_echo "no" >&6; }
16470fi
16471
16472  if test "x$ac_ct_WINDRES" = x; then
16473    WINDRES="no"
16474  else
16475    case $cross_compiling:$ac_tool_warned in
16476yes:)
16477{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16478$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16479ac_tool_warned=yes ;;
16480esac
16481    WINDRES=$ac_ct_WINDRES
16482  fi
16483else
16484  WINDRES="$ac_cv_prog_WINDRES"
16485fi
16486
16487    if test "$WINDRES" = no; then
16488      as_fn_error "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
16489    fi
16490    if test "$dbus_wince" = yes; then
16491      
16492$as_echo "@%:@define DBUS_WINCE 1" >>confdefs.h
16493
16494      
16495$as_echo "@%:@define _WIN32_WCE 0x0502" >>confdefs.h
16496
16497    fi
16498else
16499    
16500$as_echo "@%:@define DBUS_UNIX 1" >>confdefs.h
16501
16502fi
16503if test "$dbus_cygwin" = yes; then
16504    
16505$as_echo "@%:@define DBUS_CYGWIN 1" >>confdefs.h
16506
16507fi
16508
16509 if test "$dbus_win" = yes; then
16510  DBUS_WIN_TRUE=
16511  DBUS_WIN_FALSE='#'
16512else
16513  DBUS_WIN_TRUE='#'
16514  DBUS_WIN_FALSE=
16515fi
16516
16517 if test "$dbus_wince" = yes; then
16518  DBUS_WINCE_TRUE=
16519  DBUS_WINCE_FALSE='#'
16520else
16521  DBUS_WINCE_TRUE='#'
16522  DBUS_WINCE_FALSE=
16523fi
16524
16525 if test "$dbus_unix" = yes; then
16526  DBUS_UNIX_TRUE=
16527  DBUS_UNIX_FALSE='#'
16528else
16529  DBUS_UNIX_TRUE='#'
16530  DBUS_UNIX_FALSE=
16531fi
16532
16533 if test "$dbus_cygwin" = yes; then
16534  DBUS_CYGWIN_TRUE=
16535  DBUS_CYGWIN_FALSE='#'
16536else
16537  DBUS_CYGWIN_TRUE='#'
16538  DBUS_CYGWIN_FALSE=
16539fi
16540
16541
16542# this must come first: other options use this to set their defaults
16543@%:@ Check whether --enable-developer was given.
16544if test "${enable_developer+set}" = set; then :
16545  enableval=$enable_developer; 
16546else
16547  enable_developer=no
16548fi
16549
16550
16551DBUS_STATIC_BUILD_CPPFLAGS=
16552if test "x$enable_shared" = xno; then
16553    # On Windows, linking against the static library requires special effort
16554    # to turn off DLL import/export processing. We normally link some things
16555    # against the dynamic library, but if we're not building that, we'll
16556    # have to link everything statically.
16557    DBUS_STATIC_BUILD_CPPFLAGS=-DDBUS_STATIC_BUILD
16558fi
16559
16560
16561@%:@ Check whether --enable-ansi was given.
16562if test "${enable_ansi+set}" = set; then :
16563  enableval=$enable_ansi; enable_ansi=$enableval
16564else
16565  enable_ansi=no
16566fi
16567
16568@%:@ Check whether --enable-verbose-mode was given.
16569if test "${enable_verbose_mode+set}" = set; then :
16570  enableval=$enable_verbose_mode; enable_verbose_mode=$enableval
16571else
16572  enable_verbose_mode=$enable_developer
16573fi
16574
16575@%:@ Check whether --enable-asserts was given.
16576if test "${enable_asserts+set}" = set; then :
16577  enableval=$enable_asserts; enable_asserts=$enableval
16578else
16579  enable_asserts=$enable_developer
16580fi
16581
16582@%:@ Check whether --enable-checks was given.
16583if test "${enable_checks+set}" = set; then :
16584  enableval=$enable_checks; enable_checks=$enableval
16585else
16586  enable_checks=yes
16587fi
16588
16589@%:@ Check whether --enable-xml-docs was given.
16590if test "${enable_xml_docs+set}" = set; then :
16591  enableval=$enable_xml_docs; enable_xml_docs=$enableval
16592else
16593  enable_xml_docs=auto
16594fi
16595
16596@%:@ Check whether --enable-doxygen-docs was given.
16597if test "${enable_doxygen_docs+set}" = set; then :
16598  enableval=$enable_doxygen_docs; enable_doxygen_docs=$enableval
16599else
16600  enable_doxygen_docs=auto
16601fi
16602
16603@%:@ Check whether --enable-abstract-sockets was given.
16604if test "${enable_abstract_sockets+set}" = set; then :
16605  enableval=$enable_abstract_sockets; enable_abstract_sockets=$enableval
16606else
16607  enable_abstract_sockets=auto
16608fi
16609
16610@%:@ Check whether --enable-selinux was given.
16611if test "${enable_selinux+set}" = set; then :
16612  enableval=$enable_selinux; enable_selinux=$enableval
16613else
16614  enable_selinux=auto
16615fi
16616
16617@%:@ Check whether --enable-libaudit was given.
16618if test "${enable_libaudit+set}" = set; then :
16619  enableval=$enable_libaudit; enable_libaudit=$enableval
16620else
16621  enable_libaudit=auto
16622fi
16623
16624@%:@ Check whether --enable-dnotify was given.
16625if test "${enable_dnotify+set}" = set; then :
16626  enableval=$enable_dnotify; enable_dnotify=$enableval
16627else
16628  enable_dnotify=auto
16629fi
16630
16631@%:@ Check whether --enable-inotify was given.
16632if test "${enable_inotify+set}" = set; then :
16633  enableval=$enable_inotify; enable_inotify=$enableval
16634else
16635  enable_inotify=auto
16636fi
16637
16638@%:@ Check whether --enable-kqueue was given.
16639if test "${enable_kqueue+set}" = set; then :
16640  enableval=$enable_kqueue; enable_kqueue=$enableval
16641else
16642  enable_kqueue=auto
16643fi
16644
16645@%:@ Check whether --enable-console-owner-file was given.
16646if test "${enable_console_owner_file+set}" = set; then :
16647  enableval=$enable_console_owner_file; enable_console_owner_file=$enableval
16648else
16649  enable_console_owner_file=auto
16650fi
16651
16652@%:@ Check whether --enable-userdb-cache was given.
16653if test "${enable_userdb_cache+set}" = set; then :
16654  enableval=$enable_userdb_cache; enable_userdb_cache=$enableval
16655else
16656  enable_userdb_cache=yes
16657fi
16658
16659@%:@ Check whether --enable-launchd was given.
16660if test "${enable_launchd+set}" = set; then :
16661  enableval=$enable_launchd; enable_launchd=$enableval
16662else
16663  enable_launchd=auto
16664fi
16665
16666@%:@ Check whether --enable-systemd was given.
16667if test "${enable_systemd+set}" = set; then :
16668  enableval=$enable_systemd; enable_systemd=$enableval
16669else
16670  enable_systemd=auto
16671fi
16672
16673
16674
16675@%:@ Check whether --with-xml was given.
16676if test "${with_xml+set}" = set; then :
16677  withval=$with_xml; 
16678fi
16679
16680
16681@%:@ Check whether --with-init-scripts was given.
16682if test "${with_init_scripts+set}" = set; then :
16683  withval=$with_init_scripts; 
16684fi
16685
16686
16687@%:@ Check whether --with-session-socket-dir was given.
16688if test "${with_session_socket_dir+set}" = set; then :
16689  withval=$with_session_socket_dir; 
16690fi
16691
16692
16693@%:@ Check whether --with-test-socket-dir was given.
16694if test "${with_test_socket_dir+set}" = set; then :
16695  withval=$with_test_socket_dir; 
16696fi
16697
16698
16699@%:@ Check whether --with-system-pid-file was given.
16700if test "${with_system_pid_file+set}" = set; then :
16701  withval=$with_system_pid_file; 
16702fi
16703
16704
16705@%:@ Check whether --with-system-socket was given.
16706if test "${with_system_socket+set}" = set; then :
16707  withval=$with_system_socket; 
16708fi
16709
16710
16711@%:@ Check whether --with-console-auth-dir was given.
16712if test "${with_console_auth_dir+set}" = set; then :
16713  withval=$with_console_auth_dir; 
16714fi
16715
16716
16717@%:@ Check whether --with-console-owner-file was given.
16718if test "${with_console_owner_file+set}" = set; then :
16719  withval=$with_console_owner_file; 
16720fi
16721
16722
16723@%:@ Check whether --with-launchd-agent-dir was given.
16724if test "${with_launchd_agent_dir+set}" = set; then :
16725  withval=$with_launchd_agent_dir; 
16726fi
16727
16728
16729@%:@ Check whether --with-dbus_user was given.
16730if test "${with_dbus_user+set}" = set; then :
16731  withval=$with_dbus_user; 
16732fi
16733
16734
16735@%:@ Check whether --with-dbus_daemondir was given.
16736if test "${with_dbus_daemondir+set}" = set; then :
16737  withval=$with_dbus_daemondir; 
16738fi
16739
16740
16741@%:@ Check whether --with-dbus_session_bus_default_address was given.
16742if test "${with_dbus_session_bus_default_address+set}" = set; then :
16743  withval=$with_dbus_session_bus_default_address; with_dbus_session_bus_default_address=$withval
16744else
16745  with_dbus_session_bus_default_address=nonce-tcp:
16746fi
16747
16748
16749@%:@ Check whether --enable-embedded-tests was given.
16750if test "${enable_embedded_tests+set}" = set; then :
16751  enableval=$enable_embedded_tests; 
16752else
16753  enable_embedded_tests=$enable_developer
16754fi
16755
16756@%:@ Check whether --enable-modular-tests was given.
16757if test "${enable_modular_tests+set}" = set; then :
16758  enableval=$enable_modular_tests; 
16759else
16760  enable_modular_tests=auto
16761fi
16762
16763# --enable-tests overrides both --enable-embedded-tests and
16764# --enable-modular-tests
16765@%:@ Check whether --enable-tests was given.
16766if test "${enable_tests+set}" = set; then :
16767  enableval=$enable_tests; 
16768  if test "x$enableval" = xyes; then
16769    { $as_echo "$as_me:${as_lineno-$LINENO}: Full test coverage was requested with --enable-tests=yes" >&5
16770$as_echo "$as_me: Full test coverage was requested with --enable-tests=yes" >&6;}
16771    { $as_echo "$as_me:${as_lineno-$LINENO}: This has many dependencies (GLib, dbus-glib, Python)" >&5
16772$as_echo "$as_me: This has many dependencies (GLib, dbus-glib, Python)" >&6;}
16773  fi
16774  enable_embedded_tests=$enableval
16775  enable_modular_tests=$enableval
16776  
16777fi
16778
16779
16780# DBUS_ENABLE_EMBEDDED_TESTS controls unit tests built in to .c files
16781# and also some stuff in the test/ subdir. DBUS_BUILD_TESTS was an older
16782# name for this.
16783 if test "x$enable_embedded_tests" = xyes; then
16784  DBUS_BUILD_TESTS_TRUE=
16785  DBUS_BUILD_TESTS_FALSE='#'
16786else
16787  DBUS_BUILD_TESTS_TRUE='#'
16788  DBUS_BUILD_TESTS_FALSE=
16789fi
16790
16791 if test "x$enable_embedded_tests" = xyes; then
16792  DBUS_ENABLE_EMBEDDED_TESTS_TRUE=
16793  DBUS_ENABLE_EMBEDDED_TESTS_FALSE='#'
16794else
16795  DBUS_ENABLE_EMBEDDED_TESTS_TRUE='#'
16796  DBUS_ENABLE_EMBEDDED_TESTS_FALSE=
16797fi
16798
16799if test "x$enable_embedded_tests" = xyes; then
16800    
16801$as_echo "@%:@define DBUS_ENABLE_EMBEDDED_TESTS 1" >>confdefs.h
16802
16803    
16804$as_echo "@%:@define DBUS_BUILD_TESTS 1" >>confdefs.h
16805
16806fi
16807
16808# DBUS_ENABLE_MODULAR_TESTS controls tests that work based on public API.
16809# These use GTest, from GLib, because life's too short. They're enabled by
16810# default (unless you don't have GLib), because they don't bloat the library
16811# or binaries.
16812
16813with_glib=yes
16814
16815if test "x$enable_modular_tests" != xno; then
16816  
16817pkg_failed=no
16818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
16819$as_echo_n "checking for GLIB... " >&6; }
16820
16821if test -n "$GLIB_CFLAGS"; then
16822    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
16823 elif test -n "$PKG_CONFIG"; then
16824    if test -n "$PKG_CONFIG" && \
16825    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24, gio-2.0 >= 2.24\""; } >&5
16826  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24, gio-2.0 >= 2.24") 2>&5
16827  ac_status=$?
16828  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16829  test $ac_status = 0; }; then
16830  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24, gio-2.0 >= 2.24" 2>/dev/null`
16831else
16832  pkg_failed=yes
16833fi
16834 else
16835    pkg_failed=untried
16836fi
16837if test -n "$GLIB_LIBS"; then
16838    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
16839 elif test -n "$PKG_CONFIG"; then
16840    if test -n "$PKG_CONFIG" && \
16841    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24, gio-2.0 >= 2.24\""; } >&5
16842  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24, gio-2.0 >= 2.24") 2>&5
16843  ac_status=$?
16844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16845  test $ac_status = 0; }; then
16846  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24, gio-2.0 >= 2.24" 2>/dev/null`
16847else
16848  pkg_failed=yes
16849fi
16850 else
16851    pkg_failed=untried
16852fi
16853
16854
16855
16856if test $pkg_failed = yes; then
16857        
16858if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16859        _pkg_short_errors_supported=yes
16860else
16861        _pkg_short_errors_supported=no
16862fi
16863        if test $_pkg_short_errors_supported = yes; then
16864	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.24, gio-2.0 >= 2.24" 2>&1`
16865        else
16866	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.24, gio-2.0 >= 2.24" 2>&1`
16867        fi
16868	# Put the nasty error message in config.log where it belongs
16869	echo "$GLIB_PKG_ERRORS" >&5
16870
16871	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16872$as_echo "no" >&6; }
16873                if test "x$enable_modular_tests" = xyes; then
16874      { $as_echo "$as_me:${as_lineno-$LINENO}: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires GLib" >&5
16875$as_echo "$as_me: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires GLib" >&6;}
16876      as_fn_error "$GLIB_ERRORS" "$LINENO" 5
16877    else # assumed to be "auto"
16878      with_glib=no
16879    fi
16880elif test $pkg_failed = untried; then
16881	if test "x$enable_modular_tests" = xyes; then
16882      { $as_echo "$as_me:${as_lineno-$LINENO}: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires GLib" >&5
16883$as_echo "$as_me: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires GLib" >&6;}
16884      as_fn_error "$GLIB_ERRORS" "$LINENO" 5
16885    else # assumed to be "auto"
16886      with_glib=no
16887    fi
16888else
16889	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
16890	GLIB_LIBS=$pkg_cv_GLIB_LIBS
16891        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16892$as_echo "yes" >&6; }
16893	:
16894fi
16895  # If dbus-gmain.[ch] returned to libdbus then we wouldn't need this
16896  
16897pkg_failed=no
16898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
16899$as_echo_n "checking for DBUS_GLIB... " >&6; }
16900
16901if test -n "$DBUS_GLIB_CFLAGS"; then
16902    pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
16903 elif test -n "$PKG_CONFIG"; then
16904    if test -n "$PKG_CONFIG" && \
16905    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5
16906  ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5
16907  ac_status=$?
16908  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16909  test $ac_status = 0; }; then
16910  pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1" 2>/dev/null`
16911else
16912  pkg_failed=yes
16913fi
16914 else
16915    pkg_failed=untried
16916fi
16917if test -n "$DBUS_GLIB_LIBS"; then
16918    pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
16919 elif test -n "$PKG_CONFIG"; then
16920    if test -n "$PKG_CONFIG" && \
16921    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5
16922  ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5
16923  ac_status=$?
16924  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16925  test $ac_status = 0; }; then
16926  pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1" 2>/dev/null`
16927else
16928  pkg_failed=yes
16929fi
16930 else
16931    pkg_failed=untried
16932fi
16933
16934
16935
16936if test $pkg_failed = yes; then
16937        
16938if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16939        _pkg_short_errors_supported=yes
16940else
16941        _pkg_short_errors_supported=no
16942fi
16943        if test $_pkg_short_errors_supported = yes; then
16944	        DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1" 2>&1`
16945        else
16946	        DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1" 2>&1`
16947        fi
16948	# Put the nasty error message in config.log where it belongs
16949	echo "$DBUS_GLIB_PKG_ERRORS" >&5
16950
16951	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16952$as_echo "no" >&6; }
16953                if test "x$enable_modular_tests" = xyes; then
16954      { $as_echo "$as_me:${as_lineno-$LINENO}: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires dbus-glib" >&5
16955$as_echo "$as_me: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires dbus-glib" >&6;}
16956      as_fn_error "$DBUS_GLIB_ERRORS" "$LINENO" 5
16957    else # assumed to be "auto"
16958      with_glib=no
16959    fi
16960elif test $pkg_failed = untried; then
16961	if test "x$enable_modular_tests" = xyes; then
16962      { $as_echo "$as_me:${as_lineno-$LINENO}: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires dbus-glib" >&5
16963$as_echo "$as_me: Full test coverage (--enable-modular-tests=yes or --enable-tests=yes) requires dbus-glib" >&6;}
16964      as_fn_error "$DBUS_GLIB_ERRORS" "$LINENO" 5
16965    else # assumed to be "auto"
16966      with_glib=no
16967    fi
16968else
16969	DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
16970	DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
16971        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16972$as_echo "yes" >&6; }
16973	:
16974fi
16975fi
16976if test "x$enable_modular_tests" != xno; then
16977  
16978$as_echo "@%:@define DBUS_ENABLE_MODULAR_TESTS 1" >>confdefs.h
16979
16980fi
16981 if test "x$enable_modular_tests" != xno; then
16982  DBUS_ENABLE_MODULAR_TESTS_TRUE=
16983  DBUS_ENABLE_MODULAR_TESTS_FALSE='#'
16984else
16985  DBUS_ENABLE_MODULAR_TESTS_TRUE='#'
16986  DBUS_ENABLE_MODULAR_TESTS_FALSE=
16987fi
16988
16989
16990if test "x$with_glib" != xno; then
16991  
16992$as_echo "@%:@define DBUS_WITH_GLIB 1" >>confdefs.h
16993
16994fi
16995 if test "x$with_glib" != xno; then
16996  DBUS_WITH_GLIB_TRUE=
16997  DBUS_WITH_GLIB_FALSE='#'
16998else
16999  DBUS_WITH_GLIB_TRUE='#'
17000  DBUS_WITH_GLIB_FALSE=
17001fi
17002
17003
17004@%:@ Check whether --enable-installed-tests was given.
17005if test "${enable_installed_tests+set}" = set; then :
17006  enableval=$enable_installed_tests; 
17007else
17008  enable_installed_tests=no
17009fi
17010
17011 if test "x$enable_installed_tests" = xyes; then
17012  DBUS_ENABLE_INSTALLED_TESTS_TRUE=
17013  DBUS_ENABLE_INSTALLED_TESTS_FALSE='#'
17014else
17015  DBUS_ENABLE_INSTALLED_TESTS_TRUE='#'
17016  DBUS_ENABLE_INSTALLED_TESTS_FALSE=
17017fi
17018
17019
17020if test "x$enable_tests" = xyes; then
17021  # full test coverage is required, Python is a hard dependency
17022  { $as_echo "$as_me:${as_lineno-$LINENO}: Full test coverage (--enable-tests=yes) requires Python, dbus-python, pygobject" >&5
17023$as_echo "$as_me: Full test coverage (--enable-tests=yes) requires Python, dbus-python, pygobject" >&6;}
17024  
17025      
17026
17027  
17028        if test -n "$PYTHON"; then
17029      # If the user set $PYTHON, use it and don't search something else.
17030      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5
17031$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
17032      prog="import sys
17033# split strings by '.' and convert to numeric.  Append some zeros
17034# because we need at least 4 digits for the hex conversion.
17035# map returns an iterator in Python 3.0 and a list in 2.x
17036minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
17037minverhex = 0
17038# xrange is not present in Python 3.0 and range returns an iterator
17039for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
17040sys.exit(sys.hexversion < minverhex)"
17041  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
17042   ($PYTHON -c "$prog") >&5 2>&5
17043   ac_status=$?
17044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045   (exit $ac_status); }; then :
17046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17047$as_echo "yes" >&6; }
17048else
17049  as_fn_error "too old" "$LINENO" 5
17050fi
17051      am_display_PYTHON=$PYTHON
17052    else
17053      # Otherwise, try each interpreter until we find one that satisfies
17054      # VERSION.
17055      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
17056$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
17057if test "${am_cv_pathless_PYTHON+set}" = set; then :
17058  $as_echo_n "(cached) " >&6
17059else
17060  
17061	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
17062	  test "$am_cv_pathless_PYTHON" = none && break
17063	  prog="import sys
17064# split strings by '.' and convert to numeric.  Append some zeros
17065# because we need at least 4 digits for the hex conversion.
17066# map returns an iterator in Python 3.0 and a list in 2.x
17067minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
17068minverhex = 0
17069# xrange is not present in Python 3.0 and range returns an iterator
17070for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
17071sys.exit(sys.hexversion < minverhex)"
17072  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
17073   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
17074   ac_status=$?
17075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076   (exit $ac_status); }; then :
17077  break
17078fi
17079	done
17080fi
17081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
17082$as_echo "$am_cv_pathless_PYTHON" >&6; }
17083      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
17084      if test "$am_cv_pathless_PYTHON" = none; then
17085	PYTHON=:
17086      else
17087        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
17088set dummy $am_cv_pathless_PYTHON; ac_word=$2
17089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17090$as_echo_n "checking for $ac_word... " >&6; }
17091if test "${ac_cv_path_PYTHON+set}" = set; then :
17092  $as_echo_n "(cached) " >&6
17093else
17094  case $PYTHON in
17095  [\\/]* | ?:[\\/]*)
17096  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
17097  ;;
17098  *)
17099  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17100for as_dir in $PATH
17101do
17102  IFS=$as_save_IFS
17103  test -z "$as_dir" && as_dir=.
17104    for ac_exec_ext in '' $ac_executable_extensions; do
17105  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17106    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
17107    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17108    break 2
17109  fi
17110done
17111  done
17112IFS=$as_save_IFS
17113
17114  ;;
17115esac
17116fi
17117PYTHON=$ac_cv_path_PYTHON
17118if test -n "$PYTHON"; then
17119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
17120$as_echo "$PYTHON" >&6; }
17121else
17122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17123$as_echo "no" >&6; }
17124fi
17125
17126
17127      fi
17128      am_display_PYTHON=$am_cv_pathless_PYTHON
17129    fi
17130  
17131
17132  if test "$PYTHON" = :; then
17133      as_fn_error "no suitable Python interpreter found" "$LINENO" 5
17134  else
17135
17136      
17137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
17138$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
17139if test "${am_cv_python_version+set}" = set; then :
17140  $as_echo_n "(cached) " >&6
17141else
17142  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
17143fi
17144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
17145$as_echo "$am_cv_python_version" >&6; }
17146  PYTHON_VERSION=$am_cv_python_version
17147
17148
17149        
17150  PYTHON_PREFIX='${prefix}'
17151
17152  PYTHON_EXEC_PREFIX='${exec_prefix}'
17153
17154
17155    
17156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
17157$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
17158if test "${am_cv_python_platform+set}" = set; then :
17159  $as_echo_n "(cached) " >&6
17160else
17161  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
17162fi
17163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
17164$as_echo "$am_cv_python_platform" >&6; }
17165  PYTHON_PLATFORM=$am_cv_python_platform
17166
17167
17168
17169  
17170                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
17171$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
17172if test "${am_cv_python_pythondir+set}" = set; then :
17173  $as_echo_n "(cached) " >&6
17174else
17175  if test "x$prefix" = xNONE
17176     then
17177       am_py_prefix=$ac_default_prefix
17178     else
17179       am_py_prefix=$prefix
17180     fi
17181     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
17182     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
17183     case $am_cv_python_pythondir in
17184     $am_py_prefix*)
17185       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
17186       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
17187       ;;
17188     *)
17189       case $am_py_prefix in
17190         /usr|/System*) ;;
17191         *)
17192	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
17193	  ;;
17194       esac
17195       ;;
17196     esac
17197    
17198fi
17199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
17200$as_echo "$am_cv_python_pythondir" >&6; }
17201  pythondir=$am_cv_python_pythondir
17202
17203
17204      
17205  pkgpythondir=\${pythondir}/$PACKAGE
17206
17207
17208            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
17209$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
17210if test "${am_cv_python_pyexecdir+set}" = set; then :
17211  $as_echo_n "(cached) " >&6
17212else
17213  if test "x$exec_prefix" = xNONE
17214     then
17215       am_py_exec_prefix=$am_py_prefix
17216     else
17217       am_py_exec_prefix=$exec_prefix
17218     fi
17219     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
17220     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
17221     case $am_cv_python_pyexecdir in
17222     $am_py_exec_prefix*)
17223       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
17224       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
17225       ;;
17226     *)
17227       case $am_py_exec_prefix in
17228         /usr|/System*) ;;
17229         *)
17230	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
17231	   ;;
17232       esac
17233       ;;
17234     esac
17235    
17236fi
17237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
17238$as_echo "$am_cv_python_pyexecdir" >&6; }
17239  pyexecdir=$am_cv_python_pyexecdir
17240
17241
17242  
17243  pkgpyexecdir=\${pyexecdir}/$PACKAGE
17244
17245
17246    
17247  fi
17248
17249
17250  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python modules for full test coverage" >&5
17251$as_echo_n "checking for Python modules for full test coverage... " >&6; }
17252  if "$PYTHON" -c "import dbus, gobject, dbus.mainloop.glib"; then
17253    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17254$as_echo "yes" >&6; }
17255  else
17256    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17257$as_echo "no" >&6; }
17258    as_fn_error "cannot import dbus, gobject, dbus.mainloop.glib Python modules" "$LINENO" 5
17259  fi
17260else
17261  # --enable-tests not given: do not abort if Python is missing
17262  
17263      
17264
17265  
17266        if test -n "$PYTHON"; then
17267      # If the user set $PYTHON, use it and don't search something else.
17268      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5
17269$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
17270      prog="import sys
17271# split strings by '.' and convert to numeric.  Append some zeros
17272# because we need at least 4 digits for the hex conversion.
17273# map returns an iterator in Python 3.0 and a list in 2.x
17274minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
17275minverhex = 0
17276# xrange is not present in Python 3.0 and range returns an iterator
17277for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
17278sys.exit(sys.hexversion < minverhex)"
17279  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
17280   ($PYTHON -c "$prog") >&5 2>&5
17281   ac_status=$?
17282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283   (exit $ac_status); }; then :
17284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17285$as_echo "yes" >&6; }
17286else
17287  as_fn_error "too old" "$LINENO" 5
17288fi
17289      am_display_PYTHON=$PYTHON
17290    else
17291      # Otherwise, try each interpreter until we find one that satisfies
17292      # VERSION.
17293      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
17294$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
17295if test "${am_cv_pathless_PYTHON+set}" = set; then :
17296  $as_echo_n "(cached) " >&6
17297else
17298  
17299	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
17300	  test "$am_cv_pathless_PYTHON" = none && break
17301	  prog="import sys
17302# split strings by '.' and convert to numeric.  Append some zeros
17303# because we need at least 4 digits for the hex conversion.
17304# map returns an iterator in Python 3.0 and a list in 2.x
17305minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
17306minverhex = 0
17307# xrange is not present in Python 3.0 and range returns an iterator
17308for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
17309sys.exit(sys.hexversion < minverhex)"
17310  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
17311   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
17312   ac_status=$?
17313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314   (exit $ac_status); }; then :
17315  break
17316fi
17317	done
17318fi
17319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
17320$as_echo "$am_cv_pathless_PYTHON" >&6; }
17321      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
17322      if test "$am_cv_pathless_PYTHON" = none; then
17323	PYTHON=:
17324      else
17325        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
17326set dummy $am_cv_pathless_PYTHON; ac_word=$2
17327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17328$as_echo_n "checking for $ac_word... " >&6; }
17329if test "${ac_cv_path_PYTHON+set}" = set; then :
17330  $as_echo_n "(cached) " >&6
17331else
17332  case $PYTHON in
17333  [\\/]* | ?:[\\/]*)
17334  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
17335  ;;
17336  *)
17337  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17338for as_dir in $PATH
17339do
17340  IFS=$as_save_IFS
17341  test -z "$as_dir" && as_dir=.
17342    for ac_exec_ext in '' $ac_executable_extensions; do
17343  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17344    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
17345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17346    break 2
17347  fi
17348done
17349  done
17350IFS=$as_save_IFS
17351
17352  ;;
17353esac
17354fi
17355PYTHON=$ac_cv_path_PYTHON
17356if test -n "$PYTHON"; then
17357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
17358$as_echo "$PYTHON" >&6; }
17359else
17360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17361$as_echo "no" >&6; }
17362fi
17363
17364
17365      fi
17366      am_display_PYTHON=$am_cv_pathless_PYTHON
17367    fi
17368  
17369
17370  if test "$PYTHON" = :; then
17371      :
17372  else
17373
17374      
17375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
17376$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
17377if test "${am_cv_python_version+set}" = set; then :
17378  $as_echo_n "(cached) " >&6
17379else
17380  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
17381fi
17382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
17383$as_echo "$am_cv_python_version" >&6; }
17384  PYTHON_VERSION=$am_cv_python_version
17385
17386
17387        
17388  PYTHON_PREFIX='${prefix}'
17389
17390  PYTHON_EXEC_PREFIX='${exec_prefix}'
17391
17392
17393    
17394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
17395$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
17396if test "${am_cv_python_platform+set}" = set; then :
17397  $as_echo_n "(cached) " >&6
17398else
17399  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
17400fi
17401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
17402$as_echo "$am_cv_python_platform" >&6; }
17403  PYTHON_PLATFORM=$am_cv_python_platform
17404
17405
17406
17407  
17408                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
17409$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
17410if test "${am_cv_python_pythondir+set}" = set; then :
17411  $as_echo_n "(cached) " >&6
17412else
17413  if test "x$prefix" = xNONE
17414     then
17415       am_py_prefix=$ac_default_prefix
17416     else
17417       am_py_prefix=$prefix
17418     fi
17419     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
17420     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
17421     case $am_cv_python_pythondir in
17422     $am_py_prefix*)
17423       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
17424       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
17425       ;;
17426     *)
17427       case $am_py_prefix in
17428         /usr|/System*) ;;
17429         *)
17430	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
17431	  ;;
17432       esac
17433       ;;
17434     esac
17435    
17436fi
17437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
17438$as_echo "$am_cv_python_pythondir" >&6; }
17439  pythondir=$am_cv_python_pythondir
17440
17441
17442      
17443  pkgpythondir=\${pythondir}/$PACKAGE
17444
17445
17446            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
17447$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
17448if test "${am_cv_python_pyexecdir+set}" = set; then :
17449  $as_echo_n "(cached) " >&6
17450else
17451  if test "x$exec_prefix" = xNONE
17452     then
17453       am_py_exec_prefix=$am_py_prefix
17454     else
17455       am_py_exec_prefix=$exec_prefix
17456     fi
17457     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
17458     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
17459     case $am_cv_python_pyexecdir in
17460     $am_py_exec_prefix*)
17461       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
17462       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
17463       ;;
17464     *)
17465       case $am_py_exec_prefix in
17466         /usr|/System*) ;;
17467         *)
17468	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
17469	   ;;
17470       esac
17471       ;;
17472     esac
17473    
17474fi
17475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
17476$as_echo "$am_cv_python_pyexecdir" >&6; }
17477  pyexecdir=$am_cv_python_pyexecdir
17478
17479
17480  
17481  pkgpyexecdir=\${pyexecdir}/$PACKAGE
17482
17483
17484    
17485  fi
17486
17487
17488fi
17489
17490if test x$enable_verbose_mode = xyes; then
17491    
17492$as_echo "@%:@define DBUS_ENABLE_VERBOSE_MODE 1" >>confdefs.h
17493
17494fi
17495
17496if test x$enable_asserts = xno; then
17497    
17498$as_echo "@%:@define DBUS_DISABLE_ASSERT 1" >>confdefs.h
17499
17500    DISABLE_UNUSED_WARNINGS="unused-label"
17501    R_DYNAMIC_LDFLAG=""
17502else
17503    # -rdynamic is needed for glibc's backtrace_symbols to work.
17504    # No clue how much overhead this adds, but it's useful
17505    # to do this on any assertion failure,
17506    # so for now it's enabled anytime asserts are (currently not
17507    # in production builds).
17508
17509    # To get -rdynamic you pass -export-dynamic to libtool.
17510    
17511$as_echo "@%:@define DBUS_BUILT_R_DYNAMIC 1" >>confdefs.h
17512
17513    R_DYNAMIC_LDFLAG=-export-dynamic
17514fi
17515
17516
17517if test x$enable_checks = xno; then
17518    
17519$as_echo "@%:@define DBUS_DISABLE_CHECKS 1" >>confdefs.h
17520
17521    
17522$as_echo "@%:@define G_DISABLE_CHECKS 1" >>confdefs.h
17523
17524    DISABLE_UNUSED_WARNINGS="unused-label"
17525fi
17526
17527if test x$enable_userdb_cache = xyes; then
17528    
17529$as_echo "@%:@define DBUS_ENABLE_USERDB_CACHE 1" >>confdefs.h
17530
17531fi
17532
17533if test x$enable_compiler_coverage = xyes; then
17534     ## so that config.h changes when you toggle gcov support
17535     
17536cat >>confdefs.h <<_ACEOF
17537@%:@define DBUS_GCOV_ENABLED 1
17538_ACEOF
17539
17540fi
17541
17542# glibc21.m4 serial 3
17543
17544# Test for the GNU C Library, version 2.1 or newer.
17545# From Bruno Haible.
17546
17547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
17548$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
17549if test "${ac_cv_gnu_library_2_1+set}" = set; then :
17550  $as_echo_n "(cached) " >&6
17551else
17552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553/* end confdefs.h.  */
17554
17555#include <features.h>
17556#ifdef __GNU_LIBRARY__
17557 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
17558  Lucky GNU user
17559 #endif
17560#endif
17561    
17562_ACEOF
17563if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17564  $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
17565  ac_cv_gnu_library_2_1=yes
17566else
17567  ac_cv_gnu_library_2_1=no
17568fi
17569rm -f conftest*
17570
17571  
17572
17573fi
17574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
17575$as_echo "$ac_cv_gnu_library_2_1" >&6; }
17576
17577#### Integer sizes
17578
17579# The cast to long int works around a bug in the HP C Compiler
17580# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17581# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17582# This bug is HP SR number 8606223364.
17583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
17584$as_echo_n "checking size of char... " >&6; }
17585if test "${ac_cv_sizeof_char+set}" = set; then :
17586  $as_echo_n "(cached) " >&6
17587else
17588  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
17589  
17590else
17591  if test "$ac_cv_type_char" = yes; then
17592     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17594{ as_fn_set_status 77
17595as_fn_error "cannot compute sizeof (char)
17596See \`config.log' for more details." "$LINENO" 5; }; }
17597   else
17598     ac_cv_sizeof_char=0
17599   fi
17600fi
17601
17602fi
17603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
17604$as_echo "$ac_cv_sizeof_char" >&6; }
17605
17606
17607
17608cat >>confdefs.h <<_ACEOF
17609@%:@define SIZEOF_CHAR $ac_cv_sizeof_char
17610_ACEOF
17611
17612
17613# The cast to long int works around a bug in the HP C Compiler
17614# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17615# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17616# This bug is HP SR number 8606223364.
17617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17618$as_echo_n "checking size of short... " >&6; }
17619if test "${ac_cv_sizeof_short+set}" = set; then :
17620  $as_echo_n "(cached) " >&6
17621else
17622  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
17623  
17624else
17625  if test "$ac_cv_type_short" = yes; then
17626     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17627$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17628{ as_fn_set_status 77
17629as_fn_error "cannot compute sizeof (short)
17630See \`config.log' for more details." "$LINENO" 5; }; }
17631   else
17632     ac_cv_sizeof_short=0
17633   fi
17634fi
17635
17636fi
17637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17638$as_echo "$ac_cv_sizeof_short" >&6; }
17639
17640
17641
17642cat >>confdefs.h <<_ACEOF
17643@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
17644_ACEOF
17645
17646
17647# The cast to long int works around a bug in the HP C Compiler
17648# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17649# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17650# This bug is HP SR number 8606223364.
17651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
17652$as_echo_n "checking size of long... " >&6; }
17653if test "${ac_cv_sizeof_long+set}" = set; then :
17654  $as_echo_n "(cached) " >&6
17655else
17656  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
17657  
17658else
17659  if test "$ac_cv_type_long" = yes; then
17660     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17661$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17662{ as_fn_set_status 77
17663as_fn_error "cannot compute sizeof (long)
17664See \`config.log' for more details." "$LINENO" 5; }; }
17665   else
17666     ac_cv_sizeof_long=0
17667   fi
17668fi
17669
17670fi
17671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
17672$as_echo "$ac_cv_sizeof_long" >&6; }
17673
17674
17675
17676cat >>confdefs.h <<_ACEOF
17677@%:@define SIZEOF_LONG $ac_cv_sizeof_long
17678_ACEOF
17679
17680
17681# The cast to long int works around a bug in the HP C Compiler
17682# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17683# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17684# This bug is HP SR number 8606223364.
17685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
17686$as_echo_n "checking size of int... " >&6; }
17687if test "${ac_cv_sizeof_int+set}" = set; then :
17688  $as_echo_n "(cached) " >&6
17689else
17690  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
17691  
17692else
17693  if test "$ac_cv_type_int" = yes; then
17694     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17696{ as_fn_set_status 77
17697as_fn_error "cannot compute sizeof (int)
17698See \`config.log' for more details." "$LINENO" 5; }; }
17699   else
17700     ac_cv_sizeof_int=0
17701   fi
17702fi
17703
17704fi
17705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17706$as_echo "$ac_cv_sizeof_int" >&6; }
17707
17708
17709
17710cat >>confdefs.h <<_ACEOF
17711@%:@define SIZEOF_INT $ac_cv_sizeof_int
17712_ACEOF
17713
17714
17715# The cast to long int works around a bug in the HP C Compiler
17716# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17717# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17718# This bug is HP SR number 8606223364.
17719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
17720$as_echo_n "checking size of void *... " >&6; }
17721if test "${ac_cv_sizeof_void_p+set}" = set; then :
17722  $as_echo_n "(cached) " >&6
17723else
17724  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
17725  
17726else
17727  if test "$ac_cv_type_void_p" = yes; then
17728     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17730{ as_fn_set_status 77
17731as_fn_error "cannot compute sizeof (void *)
17732See \`config.log' for more details." "$LINENO" 5; }; }
17733   else
17734     ac_cv_sizeof_void_p=0
17735   fi
17736fi
17737
17738fi
17739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
17740$as_echo "$ac_cv_sizeof_void_p" >&6; }
17741
17742
17743
17744cat >>confdefs.h <<_ACEOF
17745@%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17746_ACEOF
17747
17748
17749# The cast to long int works around a bug in the HP C Compiler
17750# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17751# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17752# This bug is HP SR number 8606223364.
17753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
17754$as_echo_n "checking size of long long... " >&6; }
17755if test "${ac_cv_sizeof_long_long+set}" = set; then :
17756  $as_echo_n "(cached) " >&6
17757else
17758  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
17759  
17760else
17761  if test "$ac_cv_type_long_long" = yes; then
17762     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17764{ as_fn_set_status 77
17765as_fn_error "cannot compute sizeof (long long)
17766See \`config.log' for more details." "$LINENO" 5; }; }
17767   else
17768     ac_cv_sizeof_long_long=0
17769   fi
17770fi
17771
17772fi
17773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
17774$as_echo "$ac_cv_sizeof_long_long" >&6; }
17775
17776
17777
17778cat >>confdefs.h <<_ACEOF
17779@%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17780_ACEOF
17781
17782
17783# The cast to long int works around a bug in the HP C Compiler
17784# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17785# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17786# This bug is HP SR number 8606223364.
17787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
17788$as_echo_n "checking size of __int64... " >&6; }
17789if test "${ac_cv_sizeof___int64+set}" = set; then :
17790  $as_echo_n "(cached) " >&6
17791else
17792  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64"        "$ac_includes_default"; then :
17793  
17794else
17795  if test "$ac_cv_type___int64" = yes; then
17796     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17798{ as_fn_set_status 77
17799as_fn_error "cannot compute sizeof (__int64)
17800See \`config.log' for more details." "$LINENO" 5; }; }
17801   else
17802     ac_cv_sizeof___int64=0
17803   fi
17804fi
17805
17806fi
17807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
17808$as_echo "$ac_cv_sizeof___int64" >&6; }
17809
17810
17811
17812cat >>confdefs.h <<_ACEOF
17813@%:@define SIZEOF___INT64 $ac_cv_sizeof___int64
17814_ACEOF
17815
17816
17817
17818
17819@%:@ Check whether --with-64-bit was given.
17820if test "${with_64_bit+set}" = set; then :
17821  withval=$with_64_bit; 
17822else
17823  with_64_bit=yes
17824fi
17825
17826
17827### See what our 64 bit type is called
17828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking 64-bit integer type" >&5
17829$as_echo_n "checking 64-bit integer type... " >&6; }
17830
17831case 8 in
17832$ac_cv_sizeof_int)
17833  dbusint64=int
17834  dbusint64_constant='(val)'
17835  dbusuint64_constant='(val)'
17836  dbusint64_printf_modifier='""'
17837  ;;
17838$ac_cv_sizeof_long)
17839  dbusint64=long
17840  dbusint64_constant='(val##L)'
17841  dbusuint64_constant='(val##UL)'
17842  dbusint64_printf_modifier='"l"'
17843  ;;
17844$ac_cv_sizeof_long_long)
17845  dbusint64='long long'
17846  dbusint64_constant='(val##LL)'
17847  dbusuint64_constant='(val##ULL)'
17848  # Ideally we discover what the format is, but this is
17849  # only used in verbose mode, so eh...
17850  if test x"$ac_cv_gnu_library_2_1" = xyes; then
17851    dbusint64_printf_modifier='"ll"'
17852  fi
17853  ;;
17854$ac_cv_sizeof___int64)
17855  dbusint64=__int64
17856  dbusint64_constant='(val##i64)'
17857  dbusuint64_constant='(val##ui64)'
17858  # See above case
17859  if test x"$ac_cv_gnu_library_2_1" = xyes; then
17860    dbusint64_printf_modifier='"ll"'
17861  fi
17862  ;;
17863esac
17864
17865if test "x$with_64_bit" = xno; then :
17866  
17867        DBUS_INT64_TYPE="no_int64_type_detected"
17868        DBUS_HAVE_INT64=0
17869        DBUS_INT64_CONSTANT=
17870        DBUS_UINT64_CONSTANT=
17871        { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled via --without-64-bit" >&5
17872$as_echo "disabled via --without-64-bit" >&6; }
17873  
17874elif   test -z "$dbusint64"; then :
17875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17876$as_echo "not found" >&6; }
17877  as_fn_error "Could not find a 64-bit integer type.
17878
17879Please report a bug here with details of your platform and compiler:
17880
17881    http://bugs.freedesktop.org/enter_bug.cgi?product=DBus&component=core
17882
17883To compile D-Bus with all 64-bit integer types removed (not recommended), use
17884the option \"--without-64-bit\".
17885
17886This option is likely to be removed in future, unless you report that your
17887platform needs it." "$LINENO" 5
17888  
17889else
17890    
17891        DBUS_INT64_TYPE="$dbusint64"
17892        DBUS_HAVE_INT64=1
17893        DBUS_INT64_CONSTANT="$dbusint64_constant"
17894        DBUS_UINT64_CONSTANT="$dbusuint64_constant"
17895	if test x"$dbusint64_printf_modifier" != x; then
17896		
17897cat >>confdefs.h <<_ACEOF
17898@%:@define DBUS_INT64_PRINTF_MODIFIER $dbusint64_printf_modifier
17899_ACEOF
17900
17901	fi
17902        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_INT64_TYPE" >&5
17903$as_echo "$DBUS_INT64_TYPE" >&6; }
17904  
17905fi
17906
17907
17908
17909
17910
17911
17912### see what 32-bit int is called
17913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit integer type" >&5
17914$as_echo_n "checking 32-bit integer type... " >&6; }
17915
17916case 4 in
17917$ac_cv_sizeof_short)
17918  dbusint32=short
17919  ;;
17920$ac_cv_sizeof_int)
17921  dbusint32=int
17922  ;;
17923$ac_cv_sizeof_long)
17924  dbusint32=long
17925  ;;
17926esac
17927
17928if test -z "$dbusint32" ; then
17929        DBUS_INT32_TYPE="no_int32_type_detected"
17930        as_fn_error "No 32-bit integer type found" "$LINENO" 5
17931else
17932        DBUS_INT32_TYPE="$dbusint32"
17933        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_INT32_TYPE" >&5
17934$as_echo "$DBUS_INT32_TYPE" >&6; }
17935fi
17936
17937
17938
17939### see what 16-bit int is called
17940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking 16-bit integer type" >&5
17941$as_echo_n "checking 16-bit integer type... " >&6; }
17942
17943case 2 in
17944$ac_cv_sizeof_short)
17945  dbusint16=short
17946  ;;
17947$ac_cv_sizeof_int)
17948  dbusint16=int
17949  ;;
17950esac
17951
17952if test -z "$dbusint16" ; then
17953        DBUS_INT16_TYPE="no_int16_type_detected"
17954        as_fn_error "No 16-bit integer type found" "$LINENO" 5
17955else
17956        DBUS_INT16_TYPE="$dbusint16"
17957        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_INT16_TYPE" >&5
17958$as_echo "$DBUS_INT16_TYPE" >&6; }
17959fi
17960
17961
17962
17963## byte order
17964case $host_os in
17965	darwin*)
17966		# check at compile-time, so that it is possible to build universal
17967		# (with multiple architectures at once on the compile line)
17968		
17969		;;
17970	*)
17971		 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
17972$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
17973if test "${ac_cv_c_bigendian+set}" = set; then :
17974  $as_echo_n "(cached) " >&6
17975else
17976  ac_cv_c_bigendian=unknown
17977    # See if we're dealing with a universal compiler.
17978    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979/* end confdefs.h.  */
17980#ifndef __APPLE_CC__
17981	       not a universal capable compiler
17982	     #endif
17983	     typedef int dummy;
17984	    
17985_ACEOF
17986if ac_fn_c_try_compile "$LINENO"; then :
17987  
17988	# Check for potential -arch flags.  It is not universal unless
17989	# there are at least two -arch flags with different values.
17990	ac_arch=
17991	ac_prev=
17992	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
17993	 if test -n "$ac_prev"; then
17994	   case $ac_word in
17995	     i?86 | x86_64 | ppc | ppc64)
17996	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
17997		 ac_arch=$ac_word
17998	       else
17999		 ac_cv_c_bigendian=universal
18000		 break
18001	       fi
18002	       ;;
18003	   esac
18004	   ac_prev=
18005	 elif test "x$ac_word" = "x-arch"; then
18006	   ac_prev=arch
18007	 fi
18008       done
18009fi
18010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011    if test $ac_cv_c_bigendian = unknown; then
18012      # See if sys/param.h defines the BYTE_ORDER macro.
18013      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18014/* end confdefs.h.  */
18015#include <sys/types.h>
18016	     #include <sys/param.h>
18017	   
18018int
18019main ()
18020{
18021#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18022		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18023		     && LITTLE_ENDIAN)
18024	      bogus endian macros
18025	     #endif
18026	   
18027  ;
18028  return 0;
18029}
18030_ACEOF
18031if ac_fn_c_try_compile "$LINENO"; then :
18032  # It does; now see whether it defined to BIG_ENDIAN or not.
18033	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034/* end confdefs.h.  */
18035#include <sys/types.h>
18036		#include <sys/param.h>
18037	      
18038int
18039main ()
18040{
18041#if BYTE_ORDER != BIG_ENDIAN
18042		 not big endian
18043		#endif
18044	      
18045  ;
18046  return 0;
18047}
18048_ACEOF
18049if ac_fn_c_try_compile "$LINENO"; then :
18050  ac_cv_c_bigendian=yes
18051else
18052  ac_cv_c_bigendian=no
18053fi
18054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055fi
18056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057    fi
18058    if test $ac_cv_c_bigendian = unknown; then
18059      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18060      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061/* end confdefs.h.  */
18062#include <limits.h>
18063	   
18064int
18065main ()
18066{
18067#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18068	      bogus endian macros
18069	     #endif
18070	   
18071  ;
18072  return 0;
18073}
18074_ACEOF
18075if ac_fn_c_try_compile "$LINENO"; then :
18076  # It does; now see whether it defined to _BIG_ENDIAN or not.
18077	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078/* end confdefs.h.  */
18079#include <limits.h>
18080	      
18081int
18082main ()
18083{
18084#ifndef _BIG_ENDIAN
18085		 not big endian
18086		#endif
18087	      
18088  ;
18089  return 0;
18090}
18091_ACEOF
18092if ac_fn_c_try_compile "$LINENO"; then :
18093  ac_cv_c_bigendian=yes
18094else
18095  ac_cv_c_bigendian=no
18096fi
18097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18098fi
18099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18100    fi
18101    if test $ac_cv_c_bigendian = unknown; then
18102      # Compile a test program.
18103      if test "$cross_compiling" = yes; then :
18104  # Try to guess by grepping values from an object file.
18105	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106/* end confdefs.h.  */
18107short int ascii_mm[] =
18108		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18109		short int ascii_ii[] =
18110		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18111		int use_ascii (int i) {
18112		  return ascii_mm[i] + ascii_ii[i];
18113		}
18114		short int ebcdic_ii[] =
18115		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18116		short int ebcdic_mm[] =
18117		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18118		int use_ebcdic (int i) {
18119		  return ebcdic_mm[i] + ebcdic_ii[i];
18120		}
18121		extern int foo;
18122	      
18123int
18124main ()
18125{
18126return use_ascii (foo) == use_ebcdic (foo);
18127  ;
18128  return 0;
18129}
18130_ACEOF
18131if ac_fn_c_try_compile "$LINENO"; then :
18132  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18133	      ac_cv_c_bigendian=yes
18134	    fi
18135	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18136	      if test "$ac_cv_c_bigendian" = unknown; then
18137		ac_cv_c_bigendian=no
18138	      else
18139		# finding both strings is unlikely to happen, but who knows?
18140		ac_cv_c_bigendian=unknown
18141	      fi
18142	    fi
18143fi
18144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18145else
18146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18147/* end confdefs.h.  */
18148$ac_includes_default
18149int
18150main ()
18151{
18152
18153	     /* Are we little or big endian?  From Harbison&Steele.  */
18154	     union
18155	     {
18156	       long int l;
18157	       char c[sizeof (long int)];
18158	     } u;
18159	     u.l = 1;
18160	     return u.c[sizeof (long int) - 1] == 1;
18161	   
18162  ;
18163  return 0;
18164}
18165_ACEOF
18166if ac_fn_c_try_run "$LINENO"; then :
18167  ac_cv_c_bigendian=no
18168else
18169  ac_cv_c_bigendian=yes
18170fi
18171rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18172  conftest.$ac_objext conftest.beam conftest.$ac_ext
18173fi
18174
18175    fi
18176fi
18177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
18178$as_echo "$ac_cv_c_bigendian" >&6; }
18179 case $ac_cv_c_bigendian in #(
18180   yes)
18181     $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
18182;; #(
18183   no)
18184      ;; #(
18185   universal)
18186     	
18187$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
18188
18189     ;; #(
18190   *)
18191     as_fn_error "unknown endianness
18192 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
18193 esac
18194
18195		;;
18196esac
18197
18198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5
18199$as_echo_n "checking for an implementation of va_copy()... " >&6; }
18200if test "${dbus_cv_va_copy+set}" = set; then :
18201  $as_echo_n "(cached) " >&6
18202else
18203  
18204	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205/* end confdefs.h.  */
18206#include <stdarg.h>
18207#include <stdlib.h>
18208	static void f (int i, ...) {
18209	va_list args1, args2;
18210	va_start (args1, i);
18211	va_copy (args2, args1);
18212	if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
18213	  exit (1);
18214	va_end (args1); va_end (args2);
18215	}
18216	int main() {
18217	  f (0, 42);
18218	  return 0;
18219	}
18220_ACEOF
18221if ac_fn_c_try_link "$LINENO"; then :
18222  dbus_cv_va_copy=yes
18223else
18224  dbus_cv_va_copy=no
18225fi
18226rm -f core conftest.err conftest.$ac_objext \
18227    conftest$ac_exeext conftest.$ac_ext
18228
18229fi
18230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_cv_va_copy" >&5
18231$as_echo "$dbus_cv_va_copy" >&6; }
18232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5
18233$as_echo_n "checking for an implementation of __va_copy()... " >&6; }
18234if test "${dbus_cv___va_copy+set}" = set; then :
18235  $as_echo_n "(cached) " >&6
18236else
18237  
18238	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18239/* end confdefs.h.  */
18240#include <stdarg.h>
18241#include <stdlib.h>
18242	static void f (int i, ...) {
18243	va_list args1, args2;
18244	va_start (args1, i);
18245	__va_copy (args2, args1);
18246	if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
18247	  exit (1);
18248	va_end (args1); va_end (args2);
18249	}
18250	int main() {
18251	  f (0, 42);
18252	  return 0;
18253	}
18254_ACEOF
18255if ac_fn_c_try_link "$LINENO"; then :
18256  dbus_cv___va_copy=yes
18257else
18258  dbus_cv___va_copy=no
18259fi
18260rm -f core conftest.err conftest.$ac_objext \
18261    conftest$ac_exeext conftest.$ac_ext
18262
18263fi
18264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_cv___va_copy" >&5
18265$as_echo "$dbus_cv___va_copy" >&6; }
18266
18267if test "x$dbus_cv_va_copy" = "xyes"; then
18268  dbus_va_copy_func=va_copy
18269else if test "x$dbus_cv___va_copy" = "xyes"; then
18270  dbus_va_copy_func=__va_copy
18271fi
18272fi
18273
18274if test -n "$dbus_va_copy_func"; then
18275  
18276cat >>confdefs.h <<_ACEOF
18277@%:@define DBUS_VA_COPY $dbus_va_copy_func
18278_ACEOF
18279
18280fi
18281
18282ac_ext=c
18283ac_cpp='$CPP $CPPFLAGS'
18284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287
18288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists can be copied by value" >&5
18289$as_echo_n "checking whether va_lists can be copied by value... " >&6; }
18290if test "${dbus_cv_va_val_copy+set}" = set; then :
18291  $as_echo_n "(cached) " >&6
18292else
18293  if test "$cross_compiling" = yes; then :
18294  dbus_cv_va_val_copy=yes
18295else
18296  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18297/* end confdefs.h.  */
18298
18299	#include <stdarg.h>
18300	#include <stdlib.h>
18301
18302int
18303main ()
18304{
18305
18306	static void f (int i, ...) {
18307	va_list args1, args2;
18308	va_start (args1, i);
18309	args2 = args1;
18310	if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
18311	  exit (1);
18312	va_end (args1); va_end (args2);
18313	}
18314	int main() {
18315	  f (0, 42);
18316	  return 0;
18317	}
18318
18319  ;
18320  return 0;
18321}
18322_ACEOF
18323if ac_fn_c_try_run "$LINENO"; then :
18324  dbus_cv_va_val_copy=yes
18325else
18326  dbus_cv_va_val_copy=no
18327fi
18328rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18329  conftest.$ac_objext conftest.beam conftest.$ac_ext
18330fi
18331
18332
18333fi
18334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_cv_va_val_copy" >&5
18335$as_echo "$dbus_cv_va_val_copy" >&6; }
18336ac_ext=c
18337ac_cpp='$CPP $CPPFLAGS'
18338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18340ac_compiler_gnu=$ac_cv_c_compiler_gnu
18341
18342
18343if test "x$dbus_cv_va_val_copy" = "xno"; then
18344  
18345$as_echo "@%:@define DBUS_VA_COPY_AS_ARRAY 1" >>confdefs.h
18346
18347fi
18348
18349
18350#### Atomic integers
18351
18352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC knows __sync_sub_and_fetch()" >&5
18353$as_echo_n "checking whether $CC knows __sync_sub_and_fetch()... " >&6; }
18354if test "${dbus_cv_sync_sub_and_fetch+set}" = set; then :
18355  $as_echo_n "(cached) " >&6
18356else
18357  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358/* end confdefs.h.  */
18359
18360     
18361int
18362main ()
18363{
18364int a = 4; int b = __sync_sub_and_fetch(&a, 4); exit(b); 
18365  ;
18366  return 0;
18367}
18368_ACEOF
18369if ac_fn_c_try_link "$LINENO"; then :
18370  dbus_cv_sync_sub_and_fetch=yes
18371else
18372  dbus_cv_sync_sub_and_fetch=no
18373fi
18374rm -f core conftest.err conftest.$ac_objext \
18375    conftest$ac_exeext conftest.$ac_ext
18376  
18377fi
18378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_cv_sync_sub_and_fetch" >&5
18379$as_echo "$dbus_cv_sync_sub_and_fetch" >&6; }
18380
18381if test "x$dbus_cv_sync_sub_and_fetch" = "xyes" ; then
18382   have_sync=1
18383else
18384   have_sync=0
18385fi
18386
18387
18388cat >>confdefs.h <<_ACEOF
18389@%:@define DBUS_USE_SYNC $have_sync
18390_ACEOF
18391
18392
18393#### Various functions
18394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
18395$as_echo_n "checking for library containing socket... " >&6; }
18396if test "${ac_cv_search_socket+set}" = set; then :
18397  $as_echo_n "(cached) " >&6
18398else
18399  ac_func_search_save_LIBS=$LIBS
18400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18401/* end confdefs.h.  */
18402
18403/* Override any GCC internal prototype to avoid an error.
18404   Use char because int might match the return type of a GCC
18405   builtin and then its argument prototype would still apply.  */
18406#ifdef __cplusplus
18407extern "C"
18408#endif
18409char socket ();
18410int
18411main ()
18412{
18413return socket ();
18414  ;
18415  return 0;
18416}
18417_ACEOF
18418for ac_lib in '' socket network; do
18419  if test -z "$ac_lib"; then
18420    ac_res="none required"
18421  else
18422    ac_res=-l$ac_lib
18423    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18424  fi
18425  if ac_fn_c_try_link "$LINENO"; then :
18426  ac_cv_search_socket=$ac_res
18427fi
18428rm -f core conftest.err conftest.$ac_objext \
18429    conftest$ac_exeext
18430  if test "${ac_cv_search_socket+set}" = set; then :
18431  break
18432fi
18433done
18434if test "${ac_cv_search_socket+set}" = set; then :
18435  
18436else
18437  ac_cv_search_socket=no
18438fi
18439rm conftest.$ac_ext
18440LIBS=$ac_func_search_save_LIBS
18441fi
18442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
18443$as_echo "$ac_cv_search_socket" >&6; }
18444ac_res=$ac_cv_search_socket
18445if test "$ac_res" != no; then :
18446  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18447  
18448fi
18449
18450ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
18451if test "x$ac_cv_func_gethostbyname" = x""yes; then :
18452  
18453else
18454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
18455$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
18456if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
18457  $as_echo_n "(cached) " >&6
18458else
18459  ac_check_lib_save_LIBS=$LIBS
18460LIBS="-lnsl  $LIBS"
18461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462/* end confdefs.h.  */
18463
18464/* Override any GCC internal prototype to avoid an error.
18465   Use char because int might match the return type of a GCC
18466   builtin and then its argument prototype would still apply.  */
18467#ifdef __cplusplus
18468extern "C"
18469#endif
18470char gethostbyname ();
18471int
18472main ()
18473{
18474return gethostbyname ();
18475  ;
18476  return 0;
18477}
18478_ACEOF
18479if ac_fn_c_try_link "$LINENO"; then :
18480  ac_cv_lib_nsl_gethostbyname=yes
18481else
18482  ac_cv_lib_nsl_gethostbyname=no
18483fi
18484rm -f core conftest.err conftest.$ac_objext \
18485    conftest$ac_exeext conftest.$ac_ext
18486LIBS=$ac_check_lib_save_LIBS
18487fi
18488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
18489$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
18490if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
18491  cat >>confdefs.h <<_ACEOF
18492@%:@define HAVE_LIBNSL 1
18493_ACEOF
18494
18495  LIBS="-lnsl $LIBS"
18496
18497fi
18498
18499fi
18500
18501
18502for ac_func in vsnprintf vasprintf nanosleep usleep setenv clearenv unsetenv socketpair getgrouplist fpathconf setrlimit poll setlocale localeconv strtoll strtoull issetugid getresuid
18503do :
18504  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18505ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18506eval as_val=\$$as_ac_var
18507   if test "x$as_val" = x""yes; then :
18508  cat >>confdefs.h <<_ACEOF
18509@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18510_ACEOF
18511 
18512fi
18513done
18514
18515
18516for ac_header in syslog.h
18517do :
18518  ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
18519if test "x$ac_cv_header_syslog_h" = x""yes; then :
18520  cat >>confdefs.h <<_ACEOF
18521@%:@define HAVE_SYSLOG_H 1
18522_ACEOF
18523 
18524fi
18525
18526done
18527
18528if test "x$ac_cv_header_syslog_h" = "xyes"; then
18529  ac_fn_c_check_decl "$LINENO" "LOG_PERROR" "ac_cv_have_decl_LOG_PERROR" "#include <syslog.h>
18530"
18531if test "x$ac_cv_have_decl_LOG_PERROR" = x""yes; then :
18532  ac_have_decl=1
18533else
18534  ac_have_decl=0
18535fi
18536
18537cat >>confdefs.h <<_ACEOF
18538@%:@define HAVE_DECL_LOG_PERROR $ac_have_decl
18539_ACEOF
18540
18541fi
18542
18543#### Check for broken poll; taken from Glib's configure
18544
18545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll" >&5
18546$as_echo_n "checking for broken poll... " >&6; }
18547if test "$cross_compiling" = yes; then :
18548  broken_poll="no (cross compiling)"
18549else
18550  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551/* end confdefs.h.  */
18552
18553    #include <stdlib.h>
18554    #include <fcntl.h>
18555    #include <poll.h>
18556    #ifdef HAVE_SYS_POLL_H
18557    #include <sys/poll.h>
18558    #endif
18559    int main(void) {
18560      struct pollfd fds[1];
18561      int fd;
18562      fd = open("/dev/null", 1);
18563      fds[0].fd = fd;
18564      fds[0].events = POLLIN;
18565      fds[0].revents = 0;
18566      if (poll(fds, 1, 0) < 0 || (fds[0].revents & POLLNVAL) != 0) {
18567            exit(1);  /* Does not work for devices -- fail */
18568      }
18569      exit(0);
18570    }
18571_ACEOF
18572if ac_fn_c_try_run "$LINENO"; then :
18573  broken_poll=no
18574else
18575  broken_poll=yes
18576   
18577$as_echo "@%:@define BROKEN_POLL 1" >>confdefs.h
18578
18579fi
18580rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18581  conftest.$ac_objext conftest.beam conftest.$ac_ext
18582fi
18583
18584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $broken_poll" >&5
18585$as_echo "$broken_poll" >&6; }
18586
18587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
18588$as_echo_n "checking for dirfd... " >&6; }
18589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590/* end confdefs.h.  */
18591
18592#include <sys/types.h>
18593#include <dirent.h>
18594
18595int
18596main ()
18597{
18598
18599DIR *dirp;
18600dirp = opendir(".");
18601dirfd(dirp);
18602closedir(dirp);
18603
18604  ;
18605  return 0;
18606}
18607_ACEOF
18608if ac_fn_c_try_link "$LINENO"; then :
18609  dbus_have_dirfd=yes
18610else
18611  dbus_have_dirfd=no
18612fi
18613rm -f core conftest.err conftest.$ac_objext \
18614    conftest$ac_exeext conftest.$ac_ext
18615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_have_dirfd" >&5
18616$as_echo "$dbus_have_dirfd" >&6; }
18617if test "$dbus_have_dirfd" = yes; then
18618	
18619$as_echo "@%:@define HAVE_DIRFD 1" >>confdefs.h
18620
18621else
18622	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIR *dirp->dd_fd" >&5
18623$as_echo_n "checking for DIR *dirp->dd_fd... " >&6; }
18624	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625/* end confdefs.h.  */
18626
18627#include <sys/types.h>
18628#include <dirent.h>
18629	
18630int
18631main ()
18632{
18633
18634DIR *dirp;
18635int fd;
18636dirp = opendir(".");
18637fd = dirp->dd_fd;
18638closedir(dirp);
18639        
18640  ;
18641  return 0;
18642}
18643_ACEOF
18644if ac_fn_c_try_link "$LINENO"; then :
18645  dbus_have_ddfd=yes
18646else
18647  dbus_have_ddfd=no
18648fi
18649rm -f core conftest.err conftest.$ac_objext \
18650    conftest$ac_exeext conftest.$ac_ext
18651	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_have_ddfd" >&5
18652$as_echo "$dbus_have_ddfd" >&6; }
18653	if test "$dbus_have_ddfd" = yes; then
18654		
18655$as_echo "@%:@define HAVE_DDFD 1" >>confdefs.h
18656
18657	fi
18658fi
18659
18660for ac_header in sys/resource.h
18661do :
18662  ac_fn_c_check_header_mongrel "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
18663if test "x$ac_cv_header_sys_resource_h" = x""yes; then :
18664  cat >>confdefs.h <<_ACEOF
18665@%:@define HAVE_SYS_RESOURCE_H 1
18666_ACEOF
18667 
18668fi
18669
18670done
18671
18672
18673for ac_header in dirent.h
18674do :
18675  ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
18676if test "x$ac_cv_header_dirent_h" = x""yes; then :
18677  cat >>confdefs.h <<_ACEOF
18678@%:@define HAVE_DIRENT_H 1
18679_ACEOF
18680 
18681fi
18682
18683done
18684
18685
18686for ac_header in execinfo.h
18687do :
18688  ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
18689if test "x$ac_cv_header_execinfo_h" = x""yes; then :
18690  cat >>confdefs.h <<_ACEOF
18691@%:@define HAVE_EXECINFO_H 1
18692_ACEOF
18693 for ac_func in backtrace
18694do :
18695  ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
18696if test "x$ac_cv_func_backtrace" = x""yes; then :
18697  cat >>confdefs.h <<_ACEOF
18698@%:@define HAVE_BACKTRACE 1
18699_ACEOF
18700 
18701fi
18702done
18703
18704fi
18705
18706done
18707
18708
18709for ac_header in errno.h
18710do :
18711  ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
18712if test "x$ac_cv_header_errno_h" = x""yes; then :
18713  cat >>confdefs.h <<_ACEOF
18714@%:@define HAVE_ERRNO_H 1
18715_ACEOF
18716 
18717fi
18718
18719done
18720
18721
18722for ac_header in signal.h
18723do :
18724  ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
18725if test "x$ac_cv_header_signal_h" = x""yes; then :
18726  cat >>confdefs.h <<_ACEOF
18727@%:@define HAVE_SIGNAL_H 1
18728_ACEOF
18729 
18730fi
18731
18732done
18733
18734
18735for ac_header in locale.h
18736do :
18737  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
18738if test "x$ac_cv_header_locale_h" = x""yes; then :
18739  cat >>confdefs.h <<_ACEOF
18740@%:@define HAVE_LOCALE_H 1
18741_ACEOF
18742 
18743fi
18744
18745done
18746
18747
18748for ac_header in byteswap.h
18749do :
18750  ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
18751if test "x$ac_cv_header_byteswap_h" = x""yes; then :
18752  cat >>confdefs.h <<_ACEOF
18753@%:@define HAVE_BYTESWAP_H 1
18754_ACEOF
18755 
18756fi
18757
18758done
18759
18760
18761for ac_header in unistd.h
18762do :
18763  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18764if test "x$ac_cv_header_unistd_h" = x""yes; then :
18765  cat >>confdefs.h <<_ACEOF
18766@%:@define HAVE_UNISTD_H 1
18767_ACEOF
18768 
18769fi
18770
18771done
18772
18773
18774for ac_header in ws2tcpip.h
18775do :
18776  ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default"
18777if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then :
18778  cat >>confdefs.h <<_ACEOF
18779@%:@define HAVE_WS2TCPIP_H 1
18780_ACEOF
18781 
18782fi
18783
18784done
18785
18786
18787for ac_header in wspiapi.h
18788do :
18789  ac_fn_c_check_header_mongrel "$LINENO" "wspiapi.h" "ac_cv_header_wspiapi_h" "$ac_includes_default"
18790if test "x$ac_cv_header_wspiapi_h" = x""yes; then :
18791  cat >>confdefs.h <<_ACEOF
18792@%:@define HAVE_WSPIAPI_H 1
18793_ACEOF
18794 
18795fi
18796
18797done
18798
18799
18800# Add -D_POSIX_PTHREAD_SEMANTICS if on Solaris
18801#
18802case $host_os in
18803    solaris*)
18804       CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS" ;;
18805esac
18806
18807# checking for a posix version of getpwnam_r
18808# if we are cross compiling and can not run the test
18809# assume getpwnam_r is the posix version
18810# it is up to the person cross compiling to change
18811# this behavior if desired
18812ac_ext=c
18813ac_cpp='$CPP $CPPFLAGS'
18814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18816ac_compiler_gnu=$ac_cv_c_compiler_gnu
18817
18818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix getpwnam_r" >&5
18819$as_echo_n "checking for posix getpwnam_r... " >&6; }
18820if test "${ac_cv_func_posix_getpwnam_r+set}" = set; then :
18821  $as_echo_n "(cached) " >&6
18822else
18823  if test "$cross_compiling" = yes; then :
18824  ac_cv_func_posix_getpwnam_r=yes
18825
18826else
18827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828/* end confdefs.h.  */
18829
18830#include <errno.h>
18831#include <pwd.h>
18832
18833int
18834main ()
18835{
18836
18837    char buffer[10000];
18838    struct passwd pwd, *pwptr = &pwd;
18839    int error;
18840    errno = 0;
18841    error = getpwnam_r ("", &pwd, buffer,
18842                        sizeof (buffer), &pwptr);
18843   return (error < 0 && errno == ENOSYS)
18844	   || error == ENOSYS;
18845
18846  ;
18847  return 0;
18848}
18849_ACEOF
18850if ac_fn_c_try_run "$LINENO"; then :
18851  ac_cv_func_posix_getpwnam_r=yes
18852else
18853  ac_cv_func_posix_getpwnam_r=no
18854fi
18855rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18856  conftest.$ac_objext conftest.beam conftest.$ac_ext
18857fi
18858
18859fi
18860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_posix_getpwnam_r" >&5
18861$as_echo "$ac_cv_func_posix_getpwnam_r" >&6; }
18862ac_ext=c
18863ac_cpp='$CPP $CPPFLAGS'
18864ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18865ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18866ac_compiler_gnu=$ac_cv_c_compiler_gnu
18867
18868
18869if test "$ac_cv_func_posix_getpwnam_r" = yes; then
18870        
18871$as_echo "@%:@define HAVE_POSIX_GETPWNAM_R 1" >>confdefs.h
18872
18873else
18874        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nonposix getpwnam_r" >&5
18875$as_echo_n "checking for nonposix getpwnam_r... " >&6; }
18876if test "${ac_cv_func_nonposix_getpwnam_r+set}" = set; then :
18877  $as_echo_n "(cached) " >&6
18878else
18879  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18880/* end confdefs.h.  */
18881#include <pwd.h>
18882int
18883main ()
18884{
18885char buffer[10000];
18886                        struct passwd pwd;
18887                        getpwnam_r ("", &pwd, buffer,
18888                                        sizeof (buffer));
18889  ;
18890  return 0;
18891}
18892_ACEOF
18893if ac_fn_c_try_link "$LINENO"; then :
18894  ac_cv_func_nonposix_getpwnam_r=yes
18895else
18896  ac_cv_func_nonposix_getpwnam_r=no
18897fi
18898rm -f core conftest.err conftest.$ac_objext \
18899    conftest$ac_exeext conftest.$ac_ext
18900fi
18901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_nonposix_getpwnam_r" >&5
18902$as_echo "$ac_cv_func_nonposix_getpwnam_r" >&6; }
18903                if test "$ac_cv_func_nonposix_getpwnam_r" = yes; then
18904                
18905$as_echo "@%:@define HAVE_NONPOSIX_GETPWNAM_R 1" >>confdefs.h
18906
18907        fi
18908fi
18909
18910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether socklen_t is defined" >&5
18911$as_echo_n "checking whether socklen_t is defined... " >&6; }
18912cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913/* end confdefs.h.  */
18914
18915#include <sys/types.h>
18916#include <sys/socket.h>
18917#include <netdb.h>
18918
18919int
18920main ()
18921{
18922
18923socklen_t foo;
18924foo = 1;
18925
18926  ;
18927  return 0;
18928}
18929_ACEOF
18930if ac_fn_c_try_compile "$LINENO"; then :
18931  dbus_have_socklen_t=yes
18932else
18933  dbus_have_socklen_t=no
18934fi
18935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_have_socklen_t" >&5
18937$as_echo "$dbus_have_socklen_t" >&6; }
18938
18939if test "x$dbus_have_socklen_t" = "xyes"; then
18940    
18941$as_echo "@%:@define HAVE_SOCKLEN_T 1" >>confdefs.h
18942
18943fi
18944
18945for ac_header in sys/uio.h
18946do :
18947  ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18948if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18949  cat >>confdefs.h <<_ACEOF
18950@%:@define HAVE_SYS_UIO_H 1
18951_ACEOF
18952 for ac_func in writev
18953do :
18954  ac_fn_c_check_func "$LINENO" "writev" "ac_cv_func_writev"
18955if test "x$ac_cv_func_writev" = x""yes; then :
18956  cat >>confdefs.h <<_ACEOF
18957@%:@define HAVE_WRITEV 1
18958_ACEOF
18959 
18960fi
18961done
18962
18963fi
18964
18965done
18966
18967
18968for ac_header in sys/syslimits.h
18969do :
18970  ac_fn_c_check_header_mongrel "$LINENO" "sys/syslimits.h" "ac_cv_header_sys_syslimits_h" "$ac_includes_default"
18971if test "x$ac_cv_header_sys_syslimits_h" = x""yes; then :
18972  cat >>confdefs.h <<_ACEOF
18973@%:@define HAVE_SYS_SYSLIMITS_H 1
18974_ACEOF
18975 
18976fi
18977
18978done
18979
18980
18981ac_fn_c_check_decl "$LINENO" "MSG_NOSIGNAL" "ac_cv_have_decl_MSG_NOSIGNAL" " #include <sys/types.h>
18982#include <sys/socket.h> 
18983"
18984if test "x$ac_cv_have_decl_MSG_NOSIGNAL" = x""yes; then :
18985  ac_have_decl=1
18986else
18987  ac_have_decl=0
18988fi
18989
18990cat >>confdefs.h <<_ACEOF
18991@%:@define HAVE_DECL_MSG_NOSIGNAL $ac_have_decl
18992_ACEOF
18993
18994
18995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 varargs macros in C" >&5
18996$as_echo_n "checking for ISO C99 varargs macros in C... " >&6; }
18997cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998/* end confdefs.h.  */
18999
19000int
19001main ()
19002{
19003
19004int a(int p1, int p2, int p3);
19005#define call_a(...) a(1,__VA_ARGS__)
19006call_a(2,3);
19007
19008  ;
19009  return 0;
19010}
19011_ACEOF
19012if ac_fn_c_try_compile "$LINENO"; then :
19013  dbus_have_iso_c_varargs=yes
19014else
19015  dbus_have_iso_c_varargs=no
19016fi
19017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_have_iso_c_varargs" >&5
19019$as_echo "$dbus_have_iso_c_varargs" >&6; }
19020
19021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUC varargs macros" >&5
19022$as_echo_n "checking for GNUC varargs macros... " >&6; }
19023cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024/* end confdefs.h.  */
19025
19026int
19027main ()
19028{
19029
19030int a(int p1, int p2, int p3);
19031#define call_a(params...) a(1,params)
19032call_a(2,3);
19033
19034  ;
19035  return 0;
19036}
19037_ACEOF
19038if ac_fn_c_try_compile "$LINENO"; then :
19039  dbus_have_gnuc_varargs=yes
19040else
19041  dbus_have_gnuc_varargs=no
19042fi
19043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_have_gnuc_varargs" >&5
19045$as_echo "$dbus_have_gnuc_varargs" >&6; }
19046
19047if test x$dbus_have_iso_c_varargs = xyes; then
19048    
19049$as_echo "@%:@define HAVE_ISO_VARARGS 1" >>confdefs.h
19050
19051fi
19052if test x$dbus_have_gnuc_varargs = xyes; then
19053    
19054$as_echo "@%:@define HAVE_GNUC_VARARGS 1" >>confdefs.h
19055
19056fi
19057
19058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct cmsgcred" >&5
19059$as_echo_n "checking for struct cmsgcred... " >&6; }
19060cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19061/* end confdefs.h.  */
19062
19063#include <sys/types.h>
19064#include <sys/socket.h>
19065
19066int
19067main ()
19068{
19069
19070struct cmsgcred cred;
19071
19072cred.cmcred_pid = 0;
19073
19074  ;
19075  return 0;
19076}
19077_ACEOF
19078if ac_fn_c_try_compile "$LINENO"; then :
19079  dbus_have_struct_cmsgcred=yes
19080else
19081  dbus_have_struct_cmsgcred=no
19082fi
19083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_have_struct_cmsgcred" >&5
19085$as_echo "$dbus_have_struct_cmsgcred" >&6; }
19086
19087if test x$dbus_have_struct_cmsgcred = xyes; then
19088    
19089$as_echo "@%:@define HAVE_CMSGCRED 1" >>confdefs.h
19090
19091fi
19092
19093for ac_func in getpeerucred getpeereid
19094do :
19095  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19096ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19097eval as_val=\$$as_ac_var
19098   if test "x$as_val" = x""yes; then :
19099  cat >>confdefs.h <<_ACEOF
19100@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19101_ACEOF
19102 
19103fi
19104done
19105
19106
19107for ac_func in pipe2 accept4
19108do :
19109  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19110ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19111eval as_val=\$$as_ac_var
19112   if test "x$as_val" = x""yes; then :
19113  cat >>confdefs.h <<_ACEOF
19114@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19115_ACEOF
19116 
19117fi
19118done
19119
19120
19121#### Abstract sockets
19122
19123if test x$enable_abstract_sockets = xauto; then
19124ac_ext=c
19125ac_cpp='$CPP $CPPFLAGS'
19126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128ac_compiler_gnu=$ac_cv_c_compiler_gnu
19129
19130warn_on_xcompile=no
19131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking abstract socket namespace" >&5
19132$as_echo_n "checking abstract socket namespace... " >&6; }
19133if test "${ac_cv_have_abstract_sockets+set}" = set; then :
19134  $as_echo_n "(cached) " >&6
19135else
19136  if test "$cross_compiling" = yes; then :
19137  
19138                ac_cv_have_abstract_sockets=no
19139                warn_on_xcompile=yes
19140              
19141
19142else
19143  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144/* end confdefs.h.  */
19145
19146#include <sys/types.h>
19147#include <stdlib.h>
19148#include <string.h>
19149#include <stdio.h>
19150#include <sys/socket.h>
19151#include <sys/un.h>
19152#include <errno.h>
19153
19154int
19155main ()
19156{
19157
19158  size_t slen;
19159  int listen_fd;
19160  struct sockaddr_un addr;
19161
19162  listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
19163
19164  if (listen_fd < 0)
19165    {
19166      fprintf (stderr, "socket() failed: %s\n", strerror (errno));
19167      exit (1);
19168    }
19169
19170  memset (&addr, '\0', sizeof (addr));
19171  addr.sun_family = AF_UNIX;
19172  strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
19173  /* SUN_LEN uses strlen() so need to calculate it before adding \0 at the
19174   * beginning.
19175   */
19176  slen = SUN_LEN(&addr);
19177  addr.sun_path[0] = '\0'; /* this is what makes it abstract */
19178
19179  if (bind (listen_fd, (struct sockaddr*) &addr, slen) < 0)
19180    {
19181       fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
19182                strerror (errno));
19183       exit (1);
19184    }
19185  else
19186    exit (0);
19187
19188  ;
19189  return 0;
19190}
19191_ACEOF
19192if ac_fn_c_try_run "$LINENO"; then :
19193  ac_cv_have_abstract_sockets=yes
19194else
19195  ac_cv_have_abstract_sockets=no
19196fi
19197rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19198  conftest.$ac_objext conftest.beam conftest.$ac_ext
19199fi
19200
19201fi
19202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_abstract_sockets" >&5
19203$as_echo "$ac_cv_have_abstract_sockets" >&6; }
19204if test x$warn_on_xcompile = xyes ; then
19205  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot check for abstract sockets when cross-compiling, please use --enable-abstract-sockets" >&5
19206$as_echo "$as_me: WARNING: Cannot check for abstract sockets when cross-compiling, please use --enable-abstract-sockets" >&2;}
19207fi
19208ac_ext=c
19209ac_cpp='$CPP $CPPFLAGS'
19210ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19211ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19212ac_compiler_gnu=$ac_cv_c_compiler_gnu
19213
19214fi
19215
19216if test x$enable_abstract_sockets = xyes; then
19217    if test x$ac_cv_have_abstract_sockets = xno; then
19218	as_fn_error "Abstract sockets explicitly required, and support not detected." "$LINENO" 5
19219    fi
19220fi
19221
19222if test x$enable_abstract_sockets = xno; then
19223   ac_cv_have_abstract_sockets=no;
19224fi
19225
19226if test x$ac_cv_have_abstract_sockets = xyes ; then
19227   DBUS_PATH_OR_ABSTRACT=abstract
19228   
19229$as_echo "@%:@define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
19230
19231else
19232   DBUS_PATH_OR_ABSTRACT=path
19233fi
19234
19235# this is used in addresses to prefer abstract, e.g.
19236# unix:path=/foo or unix:abstract=/foo
19237
19238
19239
19240
19241if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19242	if test -n "$ac_tool_prefix"; then
19243  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19244set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19246$as_echo_n "checking for $ac_word... " >&6; }
19247if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19248  $as_echo_n "(cached) " >&6
19249else
19250  case $PKG_CONFIG in
19251  [\\/]* | ?:[\\/]*)
19252  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19253  ;;
19254  *)
19255  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19256for as_dir in $PATH
19257do
19258  IFS=$as_save_IFS
19259  test -z "$as_dir" && as_dir=.
19260    for ac_exec_ext in '' $ac_executable_extensions; do
19261  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19262    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19263    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19264    break 2
19265  fi
19266done
19267  done
19268IFS=$as_save_IFS
19269
19270  ;;
19271esac
19272fi
19273PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19274if test -n "$PKG_CONFIG"; then
19275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19276$as_echo "$PKG_CONFIG" >&6; }
19277else
19278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19279$as_echo "no" >&6; }
19280fi
19281
19282
19283fi
19284if test -z "$ac_cv_path_PKG_CONFIG"; then
19285  ac_pt_PKG_CONFIG=$PKG_CONFIG
19286  # Extract the first word of "pkg-config", so it can be a program name with args.
19287set dummy pkg-config; ac_word=$2
19288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19289$as_echo_n "checking for $ac_word... " >&6; }
19290if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19291  $as_echo_n "(cached) " >&6
19292else
19293  case $ac_pt_PKG_CONFIG in
19294  [\\/]* | ?:[\\/]*)
19295  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19296  ;;
19297  *)
19298  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19299for as_dir in $PATH
19300do
19301  IFS=$as_save_IFS
19302  test -z "$as_dir" && as_dir=.
19303    for ac_exec_ext in '' $ac_executable_extensions; do
19304  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19305    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19306    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19307    break 2
19308  fi
19309done
19310  done
19311IFS=$as_save_IFS
19312
19313  ;;
19314esac
19315fi
19316ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19317if test -n "$ac_pt_PKG_CONFIG"; then
19318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19319$as_echo "$ac_pt_PKG_CONFIG" >&6; }
19320else
19321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19322$as_echo "no" >&6; }
19323fi
19324
19325  if test "x$ac_pt_PKG_CONFIG" = x; then
19326    PKG_CONFIG=""
19327  else
19328    case $cross_compiling:$ac_tool_warned in
19329yes:)
19330{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19331$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19332ac_tool_warned=yes ;;
19333esac
19334    PKG_CONFIG=$ac_pt_PKG_CONFIG
19335  fi
19336else
19337  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19338fi
19339
19340fi
19341if test -n "$PKG_CONFIG"; then
19342	_pkg_min_version=0.9.0
19343	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19344$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19345	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19346		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19347$as_echo "yes" >&6; }
19348	else
19349		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19350$as_echo "no" >&6; }
19351		PKG_CONFIG=""
19352	fi
19353
19354fi
19355
19356#### Sort out XML library
19357
19358# see what we have
19359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate_MM in -lexpat" >&5
19360$as_echo_n "checking for XML_ParserCreate_MM in -lexpat... " >&6; }
19361if test "${ac_cv_lib_expat_XML_ParserCreate_MM+set}" = set; then :
19362  $as_echo_n "(cached) " >&6
19363else
19364  ac_check_lib_save_LIBS=$LIBS
19365LIBS="-lexpat  $LIBS"
19366cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19367/* end confdefs.h.  */
19368
19369/* Override any GCC internal prototype to avoid an error.
19370   Use char because int might match the return type of a GCC
19371   builtin and then its argument prototype would still apply.  */
19372#ifdef __cplusplus
19373extern "C"
19374#endif
19375char XML_ParserCreate_MM ();
19376int
19377main ()
19378{
19379return XML_ParserCreate_MM ();
19380  ;
19381  return 0;
19382}
19383_ACEOF
19384if ac_fn_c_try_link "$LINENO"; then :
19385  ac_cv_lib_expat_XML_ParserCreate_MM=yes
19386else
19387  ac_cv_lib_expat_XML_ParserCreate_MM=no
19388fi
19389rm -f core conftest.err conftest.$ac_objext \
19390    conftest$ac_exeext conftest.$ac_ext
19391LIBS=$ac_check_lib_save_LIBS
19392fi
19393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate_MM" >&5
19394$as_echo "$ac_cv_lib_expat_XML_ParserCreate_MM" >&6; }
19395if test "x$ac_cv_lib_expat_XML_ParserCreate_MM" = x""yes; then :
19396   for ac_header in expat.h
19397do :
19398  ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
19399if test "x$ac_cv_header_expat_h" = x""yes; then :
19400  cat >>confdefs.h <<_ACEOF
19401@%:@define HAVE_EXPAT_H 1
19402_ACEOF
19403 have_expat=true
19404else
19405  have_expat=false
19406fi
19407
19408done
19409 
19410else
19411  have_expat=false
19412fi
19413
19414
19415# see what we want to use
19416dbus_use_libxml=false
19417dbus_use_expat=false
19418if test x$with_xml = xexpat; then
19419        if ! $have_expat ; then
19420           as_fn_error "Explicitly requested expat but expat not found" "$LINENO" 5
19421        fi
19422        dbus_use_expat=true
19423elif test x$with_xml = xlibxml; then
19424        
19425pkg_failed=no
19426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
19427$as_echo_n "checking for LIBXML... " >&6; }
19428
19429if test -n "$LIBXML_CFLAGS"; then
19430    pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
19431 elif test -n "$PKG_CONFIG"; then
19432    if test -n "$PKG_CONFIG" && \
19433    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
19434  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
19435  ac_status=$?
19436  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19437  test $ac_status = 0; }; then
19438  pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6.0" 2>/dev/null`
19439else
19440  pkg_failed=yes
19441fi
19442 else
19443    pkg_failed=untried
19444fi
19445if test -n "$LIBXML_LIBS"; then
19446    pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
19447 elif test -n "$PKG_CONFIG"; then
19448    if test -n "$PKG_CONFIG" && \
19449    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6.0\""; } >&5
19450  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6.0") 2>&5
19451  ac_status=$?
19452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19453  test $ac_status = 0; }; then
19454  pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6.0" 2>/dev/null`
19455else
19456  pkg_failed=yes
19457fi
19458 else
19459    pkg_failed=untried
19460fi
19461
19462
19463
19464if test $pkg_failed = yes; then
19465        
19466if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19467        _pkg_short_errors_supported=yes
19468else
19469        _pkg_short_errors_supported=no
19470fi
19471        if test $_pkg_short_errors_supported = yes; then
19472	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.6.0" 2>&1`
19473        else
19474	        LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.6.0" 2>&1`
19475        fi
19476	# Put the nasty error message in config.log where it belongs
19477	echo "$LIBXML_PKG_ERRORS" >&5
19478
19479	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19480$as_echo "no" >&6; }
19481                have_libxml=false
19482elif test $pkg_failed = untried; then
19483	have_libxml=false
19484else
19485	LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
19486	LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
19487        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19488$as_echo "yes" >&6; }
19489	have_libxml=true
19490fi
19491        if ! $have_libxml ; then
19492           as_fn_error "Explicitly requested libxml but libxml not found" "$LINENO" 5
19493        fi
19494        dbus_use_libxml=true
19495else
19496        ### expat is the default because libxml can't currently survive
19497        ### our brutal OOM-handling unit test setup.
19498        ### http://bugzilla.gnome.org/show_bug.cgi?id=109368
19499        if test x$have_expat = xfalse; then
19500                as_fn_error "Could not find expat.h, check config.log for failed attempts" "$LINENO" 5
19501        fi
19502	### By default, only use Expat since it's tested and known to work.  If you're a
19503	### general-purpose OS vendor, please don't enable libxml.  For embedded use
19504	### if your OS is built around libxml, that's another case.
19505	dbus_use_expat=true
19506fi
19507
19508 if $dbus_use_expat; then
19509  DBUS_USE_EXPAT_TRUE=
19510  DBUS_USE_EXPAT_FALSE='#'
19511else
19512  DBUS_USE_EXPAT_TRUE='#'
19513  DBUS_USE_EXPAT_FALSE=
19514fi
19515
19516 if $dbus_use_libxml; then
19517  DBUS_USE_LIBXML_TRUE=
19518  DBUS_USE_LIBXML_FALSE='#'
19519else
19520  DBUS_USE_LIBXML_TRUE='#'
19521  DBUS_USE_LIBXML_FALSE=
19522fi
19523
19524
19525if $dbus_use_expat; then
19526   XML_LIBS=-lexpat
19527   XML_CFLAGS=
19528fi
19529if $dbus_use_libxml; then
19530   XML_LIBS=$LIBXML_LIBS
19531   XML_CFLAGS=$LIBXML_CFLAGS
19532fi
19533
19534
19535
19536# Thread lib detection
19537ac_fn_c_check_func "$LINENO" "pthread_cond_timedwait" "ac_cv_func_pthread_cond_timedwait"
19538if test "x$ac_cv_func_pthread_cond_timedwait" = x""yes; then :
19539  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_timedwait in -lpthread" >&5
19540$as_echo_n "checking for pthread_cond_timedwait in -lpthread... " >&6; }
19541if test "${ac_cv_lib_pthread_pthread_cond_timedwait+set}" = set; then :
19542  $as_echo_n "(cached) " >&6
19543else
19544  ac_check_lib_save_LIBS=$LIBS
19545LIBS="-lpthread  $LIBS"
19546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19547/* end confdefs.h.  */
19548
19549/* Override any GCC internal prototype to avoid an error.
19550   Use char because int might match the return type of a GCC
19551   builtin and then its argument prototype would still apply.  */
19552#ifdef __cplusplus
19553extern "C"
19554#endif
19555char pthread_cond_timedwait ();
19556int
19557main ()
19558{
19559return pthread_cond_timedwait ();
19560  ;
19561  return 0;
19562}
19563_ACEOF
19564if ac_fn_c_try_link "$LINENO"; then :
19565  ac_cv_lib_pthread_pthread_cond_timedwait=yes
19566else
19567  ac_cv_lib_pthread_pthread_cond_timedwait=no
19568fi
19569rm -f core conftest.err conftest.$ac_objext \
19570    conftest$ac_exeext conftest.$ac_ext
19571LIBS=$ac_check_lib_save_LIBS
19572fi
19573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_timedwait" >&5
19574$as_echo "$ac_cv_lib_pthread_pthread_cond_timedwait" >&6; }
19575if test "x$ac_cv_lib_pthread_pthread_cond_timedwait" = x""yes; then :
19576  THREAD_LIBS="-lpthread"
19577fi
19578
19579fi
19580
19581save_libs="$LIBS"
19582LIBS="$LIBS $THREAD_LIBS"
19583ac_fn_c_check_func "$LINENO" "pthread_condattr_setclock" "ac_cv_func_pthread_condattr_setclock"
19584if test "x$ac_cv_func_pthread_condattr_setclock" = x""yes; then :
19585  have_pthread_condattr_setclock=true
19586else
19587  have_pthread_condattr_setclock=false
19588fi
19589
19590if test x$have_pthread_condattr_setclock = xtrue; then
19591    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_getres" >&5
19592$as_echo_n "checking for library containing clock_getres... " >&6; }
19593if test "${ac_cv_search_clock_getres+set}" = set; then :
19594  $as_echo_n "(cached) " >&6
19595else
19596  ac_func_search_save_LIBS=$LIBS
19597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598/* end confdefs.h.  */
19599
19600/* Override any GCC internal prototype to avoid an error.
19601   Use char because int might match the return type of a GCC
19602   builtin and then its argument prototype would still apply.  */
19603#ifdef __cplusplus
19604extern "C"
19605#endif
19606char clock_getres ();
19607int
19608main ()
19609{
19610return clock_getres ();
19611  ;
19612  return 0;
19613}
19614_ACEOF
19615for ac_lib in '' rt; do
19616  if test -z "$ac_lib"; then
19617    ac_res="none required"
19618  else
19619    ac_res=-l$ac_lib
19620    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19621  fi
19622  if ac_fn_c_try_link "$LINENO"; then :
19623  ac_cv_search_clock_getres=$ac_res
19624fi
19625rm -f core conftest.err conftest.$ac_objext \
19626    conftest$ac_exeext
19627  if test "${ac_cv_search_clock_getres+set}" = set; then :
19628  break
19629fi
19630done
19631if test "${ac_cv_search_clock_getres+set}" = set; then :
19632  
19633else
19634  ac_cv_search_clock_getres=no
19635fi
19636rm conftest.$ac_ext
19637LIBS=$ac_func_search_save_LIBS
19638fi
19639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_getres" >&5
19640$as_echo "$ac_cv_search_clock_getres" >&6; }
19641ac_res=$ac_cv_search_clock_getres
19642if test "$ac_res" != no; then :
19643  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19644  THREAD_LIBS="$THREAD_LIBS -lrt"
19645fi
19646
19647    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOCK_MONOTONIC" >&5
19648$as_echo_n "checking for CLOCK_MONOTONIC... " >&6; }
19649    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650/* end confdefs.h.  */
19651#include <time.h>
19652#include <pthread.h>
19653
19654int
19655main ()
19656{
19657
19658struct timespec monotonic_timer;
19659pthread_condattr_t attr;
19660pthread_condattr_init (&attr);
19661pthread_condattr_setclock (&attr, CLOCK_MONOTONIC);
19662clock_getres (CLOCK_MONOTONIC,&monotonic_timer);
19663
19664  ;
19665  return 0;
19666}
19667_ACEOF
19668if ac_fn_c_try_compile "$LINENO"; then :
19669  have_clock_monotonic=true
19670else
19671  have_clock_monotonic=false
19672fi
19673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19674if test x$have_clock_monotonic = xtrue; then
19675    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
19676$as_echo "found" >&6; }
19677    
19678$as_echo "@%:@define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
19679
19680else
19681    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19682$as_echo "not found" >&6; }
19683fi
19684fi
19685LIBS="$save_libs"
19686
19687
19688
19689# SELinux detection
19690if test x$enable_selinux = xno ; then
19691    have_selinux=no;
19692else
19693    # See if we have SELinux library
19694    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
19695$as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
19696if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then :
19697  $as_echo_n "(cached) " >&6
19698else
19699  ac_check_lib_save_LIBS=$LIBS
19700LIBS="-lselinux  $LIBS"
19701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19702/* end confdefs.h.  */
19703
19704/* Override any GCC internal prototype to avoid an error.
19705   Use char because int might match the return type of a GCC
19706   builtin and then its argument prototype would still apply.  */
19707#ifdef __cplusplus
19708extern "C"
19709#endif
19710char is_selinux_enabled ();
19711int
19712main ()
19713{
19714return is_selinux_enabled ();
19715  ;
19716  return 0;
19717}
19718_ACEOF
19719if ac_fn_c_try_link "$LINENO"; then :
19720  ac_cv_lib_selinux_is_selinux_enabled=yes
19721else
19722  ac_cv_lib_selinux_is_selinux_enabled=no
19723fi
19724rm -f core conftest.err conftest.$ac_objext \
19725    conftest$ac_exeext conftest.$ac_ext
19726LIBS=$ac_check_lib_save_LIBS
19727fi
19728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
19729$as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
19730if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then :
19731  have_selinux=yes
19732else
19733  have_selinux=no
19734fi
19735
19736
19737    # see if we have the SELinux header with the new D-Bus stuff in it
19738    if test x$have_selinux = xyes ; then
19739        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS Flask permissions in selinux/av_permissions.h" >&5
19740$as_echo_n "checking for DBUS Flask permissions in selinux/av_permissions.h... " >&6; }
19741        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742/* end confdefs.h.  */
19743#include <selinux/av_permissions.h>
19744int
19745main ()
19746{
19747#ifdef DBUS__ACQUIRE_SVC return 0;
19748			    #else
19749			    #error DBUS__ACQUIRE_SVC not defined
19750			    #endif
19751  ;
19752  return 0;
19753}
19754_ACEOF
19755if ac_fn_c_try_compile "$LINENO"; then :
19756  have_selinux=yes
19757else
19758  have_selinux=no
19759fi
19760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_selinux" >&5
19762$as_echo "$have_selinux" >&6; }
19763    fi
19764
19765    if test x$enable_selinux = xauto ; then
19766        if test x$have_selinux = xno ; then
19767                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sufficiently new SELinux library not found" >&5
19768$as_echo "$as_me: WARNING: Sufficiently new SELinux library not found" >&2;}
19769        fi
19770    else
19771        if test x$have_selinux = xno ; then
19772                as_fn_error "SElinux explicitly required, and SELinux library not found" "$LINENO" 5
19773        fi
19774    fi
19775fi
19776
19777 if test x$have_selinux = xyes; then
19778  HAVE_SELINUX_TRUE=
19779  HAVE_SELINUX_FALSE='#'
19780else
19781  HAVE_SELINUX_TRUE='#'
19782  HAVE_SELINUX_FALSE=
19783fi
19784
19785
19786if test x$have_selinux = xyes ; then
19787    # the selinux code creates threads
19788    # which requires libpthread even on linux
19789    ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
19790if test "x$ac_cv_func_pthread_create" = x""yes; then :
19791  
19792else
19793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
19794$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
19795if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
19796  $as_echo_n "(cached) " >&6
19797else
19798  ac_check_lib_save_LIBS=$LIBS
19799LIBS="-lpthread  $LIBS"
19800cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19801/* end confdefs.h.  */
19802
19803/* Override any GCC internal prototype to avoid an error.
19804   Use char because int might match the return type of a GCC
19805   builtin and then its argument prototype would still apply.  */
19806#ifdef __cplusplus
19807extern "C"
19808#endif
19809char pthread_create ();
19810int
19811main ()
19812{
19813return pthread_create ();
19814  ;
19815  return 0;
19816}
19817_ACEOF
19818if ac_fn_c_try_link "$LINENO"; then :
19819  ac_cv_lib_pthread_pthread_create=yes
19820else
19821  ac_cv_lib_pthread_pthread_create=no
19822fi
19823rm -f core conftest.err conftest.$ac_objext \
19824    conftest$ac_exeext conftest.$ac_ext
19825LIBS=$ac_check_lib_save_LIBS
19826fi
19827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
19828$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
19829if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
19830  SELINUX_THREAD_LIBS="-lpthread"
19831fi
19832
19833fi
19834
19835
19836    SELINUX_LIBS="-lselinux $SELINUX_THREAD_LIBS"
19837    
19838$as_echo "@%:@define HAVE_SELINUX 1" >>confdefs.h
19839
19840else
19841    SELINUX_LIBS=
19842fi
19843
19844# inotify checks
19845if test x$enable_inotify = xno ; then
19846    have_inotify=no;
19847else
19848    for ac_header in sys/inotify.h
19849do :
19850  ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
19851if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
19852  cat >>confdefs.h <<_ACEOF
19853@%:@define HAVE_SYS_INOTIFY_H 1
19854_ACEOF
19855 have_inotify=yes
19856else
19857  have_inotify=no
19858fi
19859
19860done
19861
19862fi
19863
19864if test x$have_inotify = xyes; then
19865   
19866$as_echo "@%:@define DBUS_BUS_ENABLE_INOTIFY 1" >>confdefs.h
19867
19868   for ac_func in inotify_init1
19869do :
19870  ac_fn_c_check_func "$LINENO" "inotify_init1" "ac_cv_func_inotify_init1"
19871if test "x$ac_cv_func_inotify_init1" = x""yes; then :
19872  cat >>confdefs.h <<_ACEOF
19873@%:@define HAVE_INOTIFY_INIT1 1
19874_ACEOF
19875 
19876fi
19877done
19878
19879fi
19880
19881 if test x$have_inotify = xyes; then
19882  DBUS_BUS_ENABLE_INOTIFY_TRUE=
19883  DBUS_BUS_ENABLE_INOTIFY_FALSE='#'
19884else
19885  DBUS_BUS_ENABLE_INOTIFY_TRUE='#'
19886  DBUS_BUS_ENABLE_INOTIFY_FALSE=
19887fi
19888
19889
19890# dnotify checks
19891if test x$enable_dnotify = xno ; then
19892    have_dnotify=no;
19893else
19894    if test x$have_inotify = xno -a x$host_os = xlinux-gnu -o x$host_os = xlinux; then
19895        have_dnotify=yes;
19896    else
19897        have_dnotify=no;
19898    fi
19899fi
19900
19901if test x$have_dnotify = xyes; then
19902   
19903$as_echo "@%:@define DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX 1" >>confdefs.h
19904
19905fi
19906
19907 if test x$have_dnotify = xyes; then
19908  DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_TRUE=
19909  DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_FALSE='#'
19910else
19911  DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_TRUE='#'
19912  DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_FALSE=
19913fi
19914
19915
19916# For simplicity, we require the userland API for epoll_create1 at
19917# compile-time (glibc 2.9), but we'll run on kernels that turn out
19918# not to have it at runtime.
19919@%:@ Check whether --enable-epoll was given.
19920if test "${enable_epoll+set}" = set; then :
19921  enableval=$enable_epoll; enable_epoll=$enableval
19922else
19923  enable_epoll=auto
19924fi
19925
19926if test x$enable_epoll = xno; then
19927    have_linux_epoll=no
19928else
19929    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux epoll(4)" >&5
19930$as_echo_n "checking for Linux epoll(4)... " >&6; }
19931    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19932/* end confdefs.h.  */
19933
19934        #ifndef __linux__
19935        #error This is not Linux
19936        #endif
19937        #include <sys/epoll.h>
19938        
19939int
19940main ()
19941{
19942epoll_create1 (EPOLL_CLOEXEC);
19943  ;
19944  return 0;
19945}
19946_ACEOF
19947if ac_fn_c_try_link "$LINENO"; then :
19948  have_linux_epoll=yes
19949else
19950  have_linux_epoll=no
19951fi
19952rm -f core conftest.err conftest.$ac_objext \
19953    conftest$ac_exeext conftest.$ac_ext
19954    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_linux_epoll" >&5
19955$as_echo "$have_linux_epoll" >&6; }
19956fi
19957if test x$enable_epoll,$have_linux_epoll = xyes,no; then
19958    as_fn_error "epoll support explicitly enabled but not available" "$LINENO" 5
19959fi
19960if test x$have_linux_epoll = xyes; then
19961  
19962$as_echo "@%:@define DBUS_HAVE_LINUX_EPOLL 1" >>confdefs.h
19963
19964fi
19965 if test x$have_linux_epoll = xyes; then
19966  HAVE_LINUX_EPOLL_TRUE=
19967  HAVE_LINUX_EPOLL_FALSE='#'
19968else
19969  HAVE_LINUX_EPOLL_TRUE='#'
19970  HAVE_LINUX_EPOLL_FALSE=
19971fi
19972
19973
19974# kqueue checks
19975if test x$enable_kqueue = xno ; then
19976    have_kqueue=no
19977else
19978    have_kqueue=yes
19979    ac_fn_c_check_header_mongrel "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
19980if test "x$ac_cv_header_sys_event_h" = x""yes; then :
19981  
19982else
19983  have_kqueue=no
19984fi
19985
19986
19987    ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19988if test "x$ac_cv_func_kqueue" = x""yes; then :
19989  
19990else
19991  have_kqueue=no
19992fi
19993
19994
19995    if test x$enable_kqueue = xyes -a x$have_kqueue = xno; then
19996        as_fn_error "kqueue support explicitly enabled but not available" "$LINENO" 5
19997    fi
19998fi
19999
20000if test x$have_kqueue = xyes; then
20001   
20002$as_echo "@%:@define DBUS_BUS_ENABLE_KQUEUE 1" >>confdefs.h
20003
20004fi
20005
20006 if test x$have_kqueue = xyes; then
20007  DBUS_BUS_ENABLE_KQUEUE_TRUE=
20008  DBUS_BUS_ENABLE_KQUEUE_FALSE='#'
20009else
20010  DBUS_BUS_ENABLE_KQUEUE_TRUE='#'
20011  DBUS_BUS_ENABLE_KQUEUE_FALSE=
20012fi
20013
20014
20015# launchd checks
20016if test x$enable_launchd = xno ; then
20017    have_launchd=no
20018else
20019    have_launchd=yes
20020    ac_fn_c_check_header_mongrel "$LINENO" "launch.h" "ac_cv_header_launch_h" "$ac_includes_default"
20021if test "x$ac_cv_header_launch_h" = x""yes; then :
20022  
20023else
20024  have_launchd=no
20025fi
20026
20027
20028    # Extract the first word of "launchctl", so it can be a program name with args.
20029set dummy launchctl; ac_word=$2
20030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20031$as_echo_n "checking for $ac_word... " >&6; }
20032if test "${ac_cv_path_LAUNCHCTL+set}" = set; then :
20033  $as_echo_n "(cached) " >&6
20034else
20035  case $LAUNCHCTL in
20036  [\\/]* | ?:[\\/]*)
20037  ac_cv_path_LAUNCHCTL="$LAUNCHCTL" # Let the user override the test with a path.
20038  ;;
20039  *)
20040  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20041for as_dir in $PATH
20042do
20043  IFS=$as_save_IFS
20044  test -z "$as_dir" && as_dir=.
20045    for ac_exec_ext in '' $ac_executable_extensions; do
20046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20047    ac_cv_path_LAUNCHCTL="$as_dir/$ac_word$ac_exec_ext"
20048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20049    break 2
20050  fi
20051done
20052  done
20053IFS=$as_save_IFS
20054
20055  ;;
20056esac
20057fi
20058LAUNCHCTL=$ac_cv_path_LAUNCHCTL
20059if test -n "$LAUNCHCTL"; then
20060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHCTL" >&5
20061$as_echo "$LAUNCHCTL" >&6; }
20062else
20063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20064$as_echo "no" >&6; }
20065fi
20066
20067
20068    if test "x$LAUNCHCTL" = "x"; then
20069        have_launchd=no
20070    fi
20071
20072    if test x$enable_launchd = xyes && test x$have_launchd = xno ; then
20073        as_fn_error "launchd support explicitly enabled but not available" "$LINENO" 5
20074    fi
20075fi
20076
20077if test x$have_launchd = xyes; then
20078    
20079$as_echo "@%:@define DBUS_ENABLE_LAUNCHD 1" >>confdefs.h
20080
20081fi
20082
20083 if test x$have_launchd = xyes; then
20084  DBUS_ENABLE_LAUNCHD_TRUE=
20085  DBUS_ENABLE_LAUNCHD_FALSE='#'
20086else
20087  DBUS_ENABLE_LAUNCHD_TRUE='#'
20088  DBUS_ENABLE_LAUNCHD_FALSE=
20089fi
20090
20091
20092#### Directory to place launchd agent file
20093if test "x$with_launchd_agent_dir" = "x"; then
20094   LAUNCHD_AGENT_DIR="/Library/LaunchAgents"
20095else
20096   LAUNCHD_AGENT_DIR="$with_launchd_agent_dir"
20097fi
20098
20099
20100
20101if test x$enable_console_owner_file = xno ; then
20102    have_console_owner_file=no;
20103else
20104    case $host_os in
20105    solaris*)
20106        have_console_owner_file=yes;
20107        
20108$as_echo "@%:@define HAVE_CONSOLE_OWNER_FILE 1" >>confdefs.h
20109
20110        ;;
20111    *)
20112        have_console_owner_file=no;;
20113    esac
20114fi
20115
20116 if test x$have_console_owner_file = xyes; then
20117  HAVE_CONSOLE_OWNER_FILE_TRUE=
20118  HAVE_CONSOLE_OWNER_FILE_FALSE='#'
20119else
20120  HAVE_CONSOLE_OWNER_FILE_TRUE='#'
20121  HAVE_CONSOLE_OWNER_FILE_FALSE=
20122fi
20123
20124
20125if test x$enable_systemd = xno ; then
20126    have_systemd=no;
20127else
20128    
20129pkg_failed=no
20130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
20131$as_echo_n "checking for SYSTEMD... " >&6; }
20132
20133if test -n "$SYSTEMD_CFLAGS"; then
20134    pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS"
20135 elif test -n "$PKG_CONFIG"; then
20136    if test -n "$PKG_CONFIG" && \
20137    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login >= 32, libsystemd-daemon >= 32\""; } >&5
20138  ($PKG_CONFIG --exists --print-errors "libsystemd-login >= 32, libsystemd-daemon >= 32") 2>&5
20139  ac_status=$?
20140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20141  test $ac_status = 0; }; then
20142  pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-login >= 32, libsystemd-daemon >= 32" 2>/dev/null`
20143else
20144  pkg_failed=yes
20145fi
20146 else
20147    pkg_failed=untried
20148fi
20149if test -n "$SYSTEMD_LIBS"; then
20150    pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS"
20151 elif test -n "$PKG_CONFIG"; then
20152    if test -n "$PKG_CONFIG" && \
20153    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login >= 32, libsystemd-daemon >= 32\""; } >&5
20154  ($PKG_CONFIG --exists --print-errors "libsystemd-login >= 32, libsystemd-daemon >= 32") 2>&5
20155  ac_status=$?
20156  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20157  test $ac_status = 0; }; then
20158  pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd-login >= 32, libsystemd-daemon >= 32" 2>/dev/null`
20159else
20160  pkg_failed=yes
20161fi
20162 else
20163    pkg_failed=untried
20164fi
20165
20166
20167
20168if test $pkg_failed = yes; then
20169        
20170if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20171        _pkg_short_errors_supported=yes
20172else
20173        _pkg_short_errors_supported=no
20174fi
20175        if test $_pkg_short_errors_supported = yes; then
20176	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsystemd-login >= 32, libsystemd-daemon >= 32" 2>&1`
20177        else
20178	        SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsystemd-login >= 32, libsystemd-daemon >= 32" 2>&1`
20179        fi
20180	# Put the nasty error message in config.log where it belongs
20181	echo "$SYSTEMD_PKG_ERRORS" >&5
20182
20183	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20184$as_echo "no" >&6; }
20185                have_systemd=no
20186elif test $pkg_failed = untried; then
20187	have_systemd=no
20188else
20189	SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS
20190	SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS
20191        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20192$as_echo "yes" >&6; }
20193	have_systemd=yes
20194fi
20195fi
20196
20197if test x$have_systemd = xyes; then
20198    
20199$as_echo "@%:@define HAVE_SYSTEMD 1" >>confdefs.h
20200
20201fi
20202
20203if test x$enable_systemd = xyes -a x$have_systemd != xyes ; then
20204    as_fn_error "Explicitly requested systemd support, but systemd not found" "$LINENO" 5
20205fi
20206
20207# libaudit detection
20208if test x$enable_libaudit = xno ; then
20209    have_libaudit=no;
20210else
20211    # See if we have audit daemon & capabilities library
20212    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_avc_message in -laudit" >&5
20213$as_echo_n "checking for audit_log_user_avc_message in -laudit... " >&6; }
20214if test "${ac_cv_lib_audit_audit_log_user_avc_message+set}" = set; then :
20215  $as_echo_n "(cached) " >&6
20216else
20217  ac_check_lib_save_LIBS=$LIBS
20218LIBS="-laudit  $LIBS"
20219cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20220/* end confdefs.h.  */
20221
20222/* Override any GCC internal prototype to avoid an error.
20223   Use char because int might match the return type of a GCC
20224   builtin and then its argument prototype would still apply.  */
20225#ifdef __cplusplus
20226extern "C"
20227#endif
20228char audit_log_user_avc_message ();
20229int
20230main ()
20231{
20232return audit_log_user_avc_message ();
20233  ;
20234  return 0;
20235}
20236_ACEOF
20237if ac_fn_c_try_link "$LINENO"; then :
20238  ac_cv_lib_audit_audit_log_user_avc_message=yes
20239else
20240  ac_cv_lib_audit_audit_log_user_avc_message=no
20241fi
20242rm -f core conftest.err conftest.$ac_objext \
20243    conftest$ac_exeext conftest.$ac_ext
20244LIBS=$ac_check_lib_save_LIBS
20245fi
20246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_avc_message" >&5
20247$as_echo "$ac_cv_lib_audit_audit_log_user_avc_message" >&6; }
20248if test "x$ac_cv_lib_audit_audit_log_user_avc_message" = x""yes; then :
20249  have_libaudit=yes
20250else
20251  have_libaudit=no
20252fi
20253
20254    if test x$have_libaudit = xyes ; then
20255        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_clear in -lcap-ng" >&5
20256$as_echo_n "checking for capng_clear in -lcap-ng... " >&6; }
20257if test "${ac_cv_lib_cap_ng_capng_clear+set}" = set; then :
20258  $as_echo_n "(cached) " >&6
20259else
20260  ac_check_lib_save_LIBS=$LIBS
20261LIBS="-lcap-ng  $LIBS"
20262cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263/* end confdefs.h.  */
20264
20265/* Override any GCC internal prototype to avoid an error.
20266   Use char because int might match the return type of a GCC
20267   builtin and then its argument prototype would still apply.  */
20268#ifdef __cplusplus
20269extern "C"
20270#endif
20271char capng_clear ();
20272int
20273main ()
20274{
20275return capng_clear ();
20276  ;
20277  return 0;
20278}
20279_ACEOF
20280if ac_fn_c_try_link "$LINENO"; then :
20281  ac_cv_lib_cap_ng_capng_clear=yes
20282else
20283  ac_cv_lib_cap_ng_capng_clear=no
20284fi
20285rm -f core conftest.err conftest.$ac_objext \
20286    conftest$ac_exeext conftest.$ac_ext
20287LIBS=$ac_check_lib_save_LIBS
20288fi
20289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_clear" >&5
20290$as_echo "$ac_cv_lib_cap_ng_capng_clear" >&6; }
20291if test "x$ac_cv_lib_cap_ng_capng_clear" = x""yes; then :
20292  have_libaudit=yes
20293else
20294  have_libaudit=no
20295fi
20296
20297    fi
20298fi
20299
20300 if test x$have_libaudit = xyes; then
20301  HAVE_LIBAUDIT_TRUE=
20302  HAVE_LIBAUDIT_FALSE='#'
20303else
20304  HAVE_LIBAUDIT_TRUE='#'
20305  HAVE_LIBAUDIT_FALSE=
20306fi
20307
20308
20309if test x$have_libaudit = xyes ; then
20310    SELINUX_LIBS="$SELINUX_LIBS -laudit -lcap-ng"
20311    
20312$as_echo "@%:@define HAVE_LIBAUDIT 1" >>confdefs.h
20313
20314fi
20315
20316
20317
20318# Check for ADT API (Solaris Basic Security Mode auditing)
20319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADT API" >&5
20320$as_echo_n "checking for ADT API... " >&6; }
20321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20322/* end confdefs.h.  */
20323
20324#include <bsm/adt.h>
20325adt_user_context = ADT_USER;
20326
20327int
20328main ()
20329{
20330
20331  ;
20332  return 0;
20333}
20334_ACEOF
20335if ac_fn_c_try_compile "$LINENO"; then :
20336   check_adt_audit=yes 
20337else
20338   check_adt_audit=no 
20339fi
20340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341
20342if test ${check_adt_audit} = yes
20343then
20344   
20345$as_echo "@%:@define HAVE_ADT /**/" >>confdefs.h
20346
20347   ADT_LIBS="-lbsm"
20348   LIBS="-lbsm $LIBS"
20349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20350$as_echo "yes" >&6; }
20351else
20352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20353$as_echo "no" >&6; }
20354fi
20355
20356
20357# Check for SCM_RIGHTS
20358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCM_RIGHTS" >&5
20359$as_echo_n "checking for SCM_RIGHTS... " >&6; }
20360cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20361/* end confdefs.h.  */
20362
20363#include <sys/types.h>
20364#include <sys/socket.h>
20365#include <sys/un.h>
20366static int x = SCM_RIGHTS;
20367
20368int
20369main ()
20370{
20371
20372  ;
20373  return 0;
20374}
20375_ACEOF
20376if ac_fn_c_try_compile "$LINENO"; then :
20377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: supported" >&5
20378$as_echo "supported" >&6; }
20379  
20380$as_echo "@%:@define HAVE_UNIX_FD_PASSING 1" >>confdefs.h
20381 
20382else
20383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not supported" >&5
20384$as_echo "not supported" >&6; } 
20385fi
20386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20387
20388NETWORK_libs=
20389if test x$dbus_win = xyes ; then
20390  if test x$dbus_wince = xyes ; then
20391    NETWORK_libs="-lws2"
20392  else
20393    NETWORK_libs="-lws2_32"
20394  fi
20395fi
20396
20397
20398
20399
20400@%:@ Check whether --with-valgrind was given.
20401if test "${with_valgrind+set}" = set; then :
20402  withval=$with_valgrind; 
20403else
20404  with_valgrind=no
20405fi
20406
20407
20408if test x$with_valgrind != xno; then
20409  
20410pkg_failed=no
20411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
20412$as_echo_n "checking for VALGRIND... " >&6; }
20413
20414if test -n "$VALGRIND_CFLAGS"; then
20415    pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
20416 elif test -n "$PKG_CONFIG"; then
20417    if test -n "$PKG_CONFIG" && \
20418    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 3.6\""; } >&5
20419  ($PKG_CONFIG --exists --print-errors "valgrind >= 3.6") 2>&5
20420  ac_status=$?
20421  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20422  test $ac_status = 0; }; then
20423  pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 3.6" 2>/dev/null`
20424else
20425  pkg_failed=yes
20426fi
20427 else
20428    pkg_failed=untried
20429fi
20430if test -n "$VALGRIND_LIBS"; then
20431    pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
20432 elif test -n "$PKG_CONFIG"; then
20433    if test -n "$PKG_CONFIG" && \
20434    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 3.6\""; } >&5
20435  ($PKG_CONFIG --exists --print-errors "valgrind >= 3.6") 2>&5
20436  ac_status=$?
20437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20438  test $ac_status = 0; }; then
20439  pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 3.6" 2>/dev/null`
20440else
20441  pkg_failed=yes
20442fi
20443 else
20444    pkg_failed=untried
20445fi
20446
20447
20448
20449if test $pkg_failed = yes; then
20450        
20451if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20452        _pkg_short_errors_supported=yes
20453else
20454        _pkg_short_errors_supported=no
20455fi
20456        if test $_pkg_short_errors_supported = yes; then
20457	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 3.6" 2>&1`
20458        else
20459	        VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 3.6" 2>&1`
20460        fi
20461	# Put the nasty error message in config.log where it belongs
20462	echo "$VALGRIND_PKG_ERRORS" >&5
20463
20464	as_fn_error "Package requirements (valgrind >= 3.6) were not met:
20465
20466$VALGRIND_PKG_ERRORS
20467
20468Consider adjusting the PKG_CONFIG_PATH environment variable if you
20469installed software in a non-standard prefix.
20470
20471Alternatively, you may set the environment variables VALGRIND_CFLAGS
20472and VALGRIND_LIBS to avoid the need to call pkg-config.
20473See the pkg-config man page for more details.
20474" "$LINENO" 5
20475elif test $pkg_failed = untried; then
20476	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20478as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
20479is in your PATH or set the PKG_CONFIG environment variable to the full
20480path to pkg-config.
20481
20482Alternatively, you may set the environment variables VALGRIND_CFLAGS
20483and VALGRIND_LIBS to avoid the need to call pkg-config.
20484See the pkg-config man page for more details.
20485
20486To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20487See \`config.log' for more details." "$LINENO" 5; }
20488else
20489	VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
20490	VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
20491        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20492$as_echo "yes" >&6; }
20493	:
20494fi
20495  
20496$as_echo "@%:@define WITH_VALGRIND 1" >>confdefs.h
20497
20498fi
20499
20500#### Set up final flags
20501LIBDBUS_LIBS="$THREAD_LIBS $NETWORK_libs"
20502
20503
20504### X11 detection
20505DBUS_X_LIBS=
20506DBUS_X_CFLAGS=
20507
20508@%:@ Check whether --enable-x11-autolaunch was given.
20509if test "${enable_x11_autolaunch+set}" = set; then :
20510  enableval=$enable_x11_autolaunch; 
20511else
20512  enable_x11_autolaunch=auto
20513fi
20514
20515
20516if test "x$dbus_win" = xyes; then
20517    if test "x$enable_x11_autolaunch" = xyes; then
20518        as_fn_error "X11 auto-launch is not supported on Windows" "$LINENO" 5
20519    fi
20520
20521    enable_x11_autolaunch=no
20522    have_x11=no
20523else
20524    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
20525$as_echo_n "checking for X... " >&6; }
20526
20527
20528@%:@ Check whether --with-x was given.
20529if test "${with_x+set}" = set; then :
20530  withval=$with_x; 
20531fi
20532
20533# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20534if test "x$with_x" = xno; then
20535  # The user explicitly disabled X.
20536  have_x=disabled
20537else
20538  case $x_includes,$x_libraries in #(
20539    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
20540    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
20541  $as_echo_n "(cached) " >&6
20542else
20543  # One or both of the vars are not set, and there is no cached value.
20544ac_x_includes=no ac_x_libraries=no
20545rm -f -r conftest.dir
20546if mkdir conftest.dir; then
20547  cd conftest.dir
20548  cat >Imakefile <<'_ACEOF'
20549incroot:
20550	@echo incroot='${INCROOT}'
20551usrlibdir:
20552	@echo usrlibdir='${USRLIBDIR}'
20553libdir:
20554	@echo libdir='${LIBDIR}'
20555_ACEOF
20556  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
20557    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20558    for ac_var in incroot usrlibdir libdir; do
20559      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
20560    done
20561    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20562    for ac_extension in a so sl dylib la dll; do
20563      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
20564	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
20565	ac_im_usrlibdir=$ac_im_libdir; break
20566      fi
20567    done
20568    # Screen out bogus values from the imake configuration.  They are
20569    # bogus both because they are the default anyway, and because
20570    # using them would break gcc on systems where it needs fixed includes.
20571    case $ac_im_incroot in
20572	/usr/include) ac_x_includes= ;;
20573	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20574    esac
20575    case $ac_im_usrlibdir in
20576	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
20577	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20578    esac
20579  fi
20580  cd ..
20581  rm -f -r conftest.dir
20582fi
20583
20584# Standard set of common directories for X headers.
20585# Check X11 before X11Rn because it is often a symlink to the current release.
20586ac_x_header_dirs='
20587/usr/X11/include
20588/usr/X11R7/include
20589/usr/X11R6/include
20590/usr/X11R5/include
20591/usr/X11R4/include
20592
20593/usr/include/X11
20594/usr/include/X11R7
20595/usr/include/X11R6
20596/usr/include/X11R5
20597/usr/include/X11R4
20598
20599/usr/local/X11/include
20600/usr/local/X11R7/include
20601/usr/local/X11R6/include
20602/usr/local/X11R5/include
20603/usr/local/X11R4/include
20604
20605/usr/local/include/X11
20606/usr/local/include/X11R7
20607/usr/local/include/X11R6
20608/usr/local/include/X11R5
20609/usr/local/include/X11R4
20610
20611/usr/X386/include
20612/usr/x386/include
20613/usr/XFree86/include/X11
20614
20615/usr/include
20616/usr/local/include
20617/usr/unsupported/include
20618/usr/athena/include
20619/usr/local/x11r5/include
20620/usr/lpp/Xamples/include
20621
20622/usr/openwin/include
20623/usr/openwin/share/include'
20624
20625if test "$ac_x_includes" = no; then
20626  # Guess where to find include files, by looking for Xlib.h.
20627  # First, try using that file with no special directory specified.
20628  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20629/* end confdefs.h.  */
20630@%:@include <X11/Xlib.h>
20631_ACEOF
20632if ac_fn_c_try_cpp "$LINENO"; then :
20633  # We can compile using X headers with no special include directory.
20634ac_x_includes=
20635else
20636  for ac_dir in $ac_x_header_dirs; do
20637  if test -r "$ac_dir/X11/Xlib.h"; then
20638    ac_x_includes=$ac_dir
20639    break
20640  fi
20641done
20642fi
20643rm -f conftest.err conftest.$ac_ext
20644fi # $ac_x_includes = no
20645
20646if test "$ac_x_libraries" = no; then
20647  # Check for the libraries.
20648  # See if we find them without any special options.
20649  # Don't add to $LIBS permanently.
20650  ac_save_LIBS=$LIBS
20651  LIBS="-lX11 $LIBS"
20652  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20653/* end confdefs.h.  */
20654@%:@include <X11/Xlib.h>
20655int
20656main ()
20657{
20658XrmInitialize ()
20659  ;
20660  return 0;
20661}
20662_ACEOF
20663if ac_fn_c_try_link "$LINENO"; then :
20664  LIBS=$ac_save_LIBS
20665# We can link X programs with no special library path.
20666ac_x_libraries=
20667else
20668  LIBS=$ac_save_LIBS
20669for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20670do
20671  # Don't even attempt the hair of trying to link an X program!
20672  for ac_extension in a so sl dylib la dll; do
20673    if test -r "$ac_dir/libX11.$ac_extension"; then
20674      ac_x_libraries=$ac_dir
20675      break 2
20676    fi
20677  done
20678done
20679fi
20680rm -f core conftest.err conftest.$ac_objext \
20681    conftest$ac_exeext conftest.$ac_ext
20682fi # $ac_x_libraries = no
20683
20684case $ac_x_includes,$ac_x_libraries in #(
20685  no,* | *,no | *\'*)
20686    # Didn't find X, or a directory has "'" in its name.
20687    ac_cv_have_x="have_x=no";; #(
20688  *)
20689    # Record where we found X for the cache.
20690    ac_cv_have_x="have_x=yes\
20691	ac_x_includes='$ac_x_includes'\
20692	ac_x_libraries='$ac_x_libraries'"
20693esac
20694fi
20695;; #(
20696    *) have_x=yes;;
20697  esac
20698  eval "$ac_cv_have_x"
20699fi # $with_x != no
20700
20701if test "$have_x" != yes; then
20702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
20703$as_echo "$have_x" >&6; }
20704  no_x=yes
20705else
20706  # If each of the values was on the command line, it overrides each guess.
20707  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20708  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20709  # Update the cache value to reflect the command line values.
20710  ac_cv_have_x="have_x=yes\
20711	ac_x_includes='$x_includes'\
20712	ac_x_libraries='$x_libraries'"
20713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
20714$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20715fi
20716
20717if test "$no_x" = yes; then
20718  # Not all programs may use this symbol, but it does not hurt to define it.
20719  
20720$as_echo "@%:@define X_DISPLAY_MISSING 1" >>confdefs.h
20721
20722  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20723else
20724  if test -n "$x_includes"; then
20725    X_CFLAGS="$X_CFLAGS -I$x_includes"
20726  fi
20727
20728  # It would also be nice to do this for all -L options, not just this one.
20729  if test -n "$x_libraries"; then
20730    X_LIBS="$X_LIBS -L$x_libraries"
20731    # For Solaris; some versions of Sun CC require a space after -R and
20732    # others require no space.  Words are not sufficient . . . .
20733    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20734$as_echo_n "checking whether -R must be followed by a space... " >&6; }
20735    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20736    ac_xsave_c_werror_flag=$ac_c_werror_flag
20737    ac_c_werror_flag=yes
20738    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20739/* end confdefs.h.  */
20740
20741int
20742main ()
20743{
20744
20745  ;
20746  return 0;
20747}
20748_ACEOF
20749if ac_fn_c_try_link "$LINENO"; then :
20750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20751$as_echo "no" >&6; }
20752       X_LIBS="$X_LIBS -R$x_libraries"
20753else
20754  LIBS="$ac_xsave_LIBS -R $x_libraries"
20755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20756/* end confdefs.h.  */
20757
20758int
20759main ()
20760{
20761
20762  ;
20763  return 0;
20764}
20765_ACEOF
20766if ac_fn_c_try_link "$LINENO"; then :
20767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20768$as_echo "yes" >&6; }
20769	  X_LIBS="$X_LIBS -R $x_libraries"
20770else
20771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20772$as_echo "neither works" >&6; }
20773fi
20774rm -f core conftest.err conftest.$ac_objext \
20775    conftest$ac_exeext conftest.$ac_ext
20776fi
20777rm -f core conftest.err conftest.$ac_objext \
20778    conftest$ac_exeext conftest.$ac_ext
20779    ac_c_werror_flag=$ac_xsave_c_werror_flag
20780    LIBS=$ac_xsave_LIBS
20781  fi
20782
20783  # Check for system-dependent libraries X programs must link with.
20784  # Do this before checking for the system-independent R6 libraries
20785  # (-lICE), since we may need -lsocket or whatever for X linking.
20786
20787  if test "$ISC" = yes; then
20788    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20789  else
20790    # Martyn Johnson says this is needed for Ultrix, if the X
20791    # libraries were built with DECnet support.  And Karl Berry says
20792    # the Alpha needs dnet_stub (dnet does not exist).
20793    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20794    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20795/* end confdefs.h.  */
20796
20797/* Override any GCC internal prototype to avoid an error.
20798   Use char because int might match the return type of a GCC
20799   builtin and then its argument prototype would still apply.  */
20800#ifdef __cplusplus
20801extern "C"
20802#endif
20803char XOpenDisplay ();
20804int
20805main ()
20806{
20807return XOpenDisplay ();
20808  ;
20809  return 0;
20810}
20811_ACEOF
20812if ac_fn_c_try_link "$LINENO"; then :
20813  
20814else
20815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20816$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20817if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20818  $as_echo_n "(cached) " >&6
20819else
20820  ac_check_lib_save_LIBS=$LIBS
20821LIBS="-ldnet  $LIBS"
20822cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20823/* end confdefs.h.  */
20824
20825/* Override any GCC internal prototype to avoid an error.
20826   Use char because int might match the return type of a GCC
20827   builtin and then its argument prototype would still apply.  */
20828#ifdef __cplusplus
20829extern "C"
20830#endif
20831char dnet_ntoa ();
20832int
20833main ()
20834{
20835return dnet_ntoa ();
20836  ;
20837  return 0;
20838}
20839_ACEOF
20840if ac_fn_c_try_link "$LINENO"; then :
20841  ac_cv_lib_dnet_dnet_ntoa=yes
20842else
20843  ac_cv_lib_dnet_dnet_ntoa=no
20844fi
20845rm -f core conftest.err conftest.$ac_objext \
20846    conftest$ac_exeext conftest.$ac_ext
20847LIBS=$ac_check_lib_save_LIBS
20848fi
20849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20850$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20851if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20852  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20853fi
20854
20855    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20856      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20857$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20858if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20859  $as_echo_n "(cached) " >&6
20860else
20861  ac_check_lib_save_LIBS=$LIBS
20862LIBS="-ldnet_stub  $LIBS"
20863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864/* end confdefs.h.  */
20865
20866/* Override any GCC internal prototype to avoid an error.
20867   Use char because int might match the return type of a GCC
20868   builtin and then its argument prototype would still apply.  */
20869#ifdef __cplusplus
20870extern "C"
20871#endif
20872char dnet_ntoa ();
20873int
20874main ()
20875{
20876return dnet_ntoa ();
20877  ;
20878  return 0;
20879}
20880_ACEOF
20881if ac_fn_c_try_link "$LINENO"; then :
20882  ac_cv_lib_dnet_stub_dnet_ntoa=yes
20883else
20884  ac_cv_lib_dnet_stub_dnet_ntoa=no
20885fi
20886rm -f core conftest.err conftest.$ac_objext \
20887    conftest$ac_exeext conftest.$ac_ext
20888LIBS=$ac_check_lib_save_LIBS
20889fi
20890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20891$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20892if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20893  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20894fi
20895
20896    fi
20897fi
20898rm -f core conftest.err conftest.$ac_objext \
20899    conftest$ac_exeext conftest.$ac_ext
20900    LIBS="$ac_xsave_LIBS"
20901
20902    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20903    # to get the SysV transport functions.
20904    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20905    # needs -lnsl.
20906    # The nsl library prevents programs from opening the X display
20907    # on Irix 5.2, according to T.E. Dickey.
20908    # The functions gethostbyname, getservbyname, and inet_addr are
20909    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20910    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20911if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20912  
20913fi
20914
20915    if test $ac_cv_func_gethostbyname = no; then
20916      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20917$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20918if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20919  $as_echo_n "(cached) " >&6
20920else
20921  ac_check_lib_save_LIBS=$LIBS
20922LIBS="-lnsl  $LIBS"
20923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924/* end confdefs.h.  */
20925
20926/* Override any GCC internal prototype to avoid an error.
20927   Use char because int might match the return type of a GCC
20928   builtin and then its argument prototype would still apply.  */
20929#ifdef __cplusplus
20930extern "C"
20931#endif
20932char gethostbyname ();
20933int
20934main ()
20935{
20936return gethostbyname ();
20937  ;
20938  return 0;
20939}
20940_ACEOF
20941if ac_fn_c_try_link "$LINENO"; then :
20942  ac_cv_lib_nsl_gethostbyname=yes
20943else
20944  ac_cv_lib_nsl_gethostbyname=no
20945fi
20946rm -f core conftest.err conftest.$ac_objext \
20947    conftest$ac_exeext conftest.$ac_ext
20948LIBS=$ac_check_lib_save_LIBS
20949fi
20950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20951$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20952if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20953  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20954fi
20955
20956      if test $ac_cv_lib_nsl_gethostbyname = no; then
20957	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20958$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20959if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20960  $as_echo_n "(cached) " >&6
20961else
20962  ac_check_lib_save_LIBS=$LIBS
20963LIBS="-lbsd  $LIBS"
20964cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965/* end confdefs.h.  */
20966
20967/* Override any GCC internal prototype to avoid an error.
20968   Use char because int might match the return type of a GCC
20969   builtin and then its argument prototype would still apply.  */
20970#ifdef __cplusplus
20971extern "C"
20972#endif
20973char gethostbyname ();
20974int
20975main ()
20976{
20977return gethostbyname ();
20978  ;
20979  return 0;
20980}
20981_ACEOF
20982if ac_fn_c_try_link "$LINENO"; then :
20983  ac_cv_lib_bsd_gethostbyname=yes
20984else
20985  ac_cv_lib_bsd_gethostbyname=no
20986fi
20987rm -f core conftest.err conftest.$ac_objext \
20988    conftest$ac_exeext conftest.$ac_ext
20989LIBS=$ac_check_lib_save_LIBS
20990fi
20991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20992$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20993if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20994  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20995fi
20996
20997      fi
20998    fi
20999
21000    # lieder@skyler.mavd.honeywell.com says without -lsocket,
21001    # socket/setsockopt and other routines are undefined under SCO ODT
21002    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
21003    # on later versions), says Simon Leinen: it contains gethostby*
21004    # variants that don't use the name server (or something).  -lsocket
21005    # must be given before -lnsl if both are needed.  We assume that
21006    # if connect needs -lnsl, so does gethostbyname.
21007    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
21008if test "x$ac_cv_func_connect" = x""yes; then :
21009  
21010fi
21011
21012    if test $ac_cv_func_connect = no; then
21013      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
21014$as_echo_n "checking for connect in -lsocket... " >&6; }
21015if test "${ac_cv_lib_socket_connect+set}" = set; then :
21016  $as_echo_n "(cached) " >&6
21017else
21018  ac_check_lib_save_LIBS=$LIBS
21019LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21021/* end confdefs.h.  */
21022
21023/* Override any GCC internal prototype to avoid an error.
21024   Use char because int might match the return type of a GCC
21025   builtin and then its argument prototype would still apply.  */
21026#ifdef __cplusplus
21027extern "C"
21028#endif
21029char connect ();
21030int
21031main ()
21032{
21033return connect ();
21034  ;
21035  return 0;
21036}
21037_ACEOF
21038if ac_fn_c_try_link "$LINENO"; then :
21039  ac_cv_lib_socket_connect=yes
21040else
21041  ac_cv_lib_socket_connect=no
21042fi
21043rm -f core conftest.err conftest.$ac_objext \
21044    conftest$ac_exeext conftest.$ac_ext
21045LIBS=$ac_check_lib_save_LIBS
21046fi
21047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
21048$as_echo "$ac_cv_lib_socket_connect" >&6; }
21049if test "x$ac_cv_lib_socket_connect" = x""yes; then :
21050  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21051fi
21052
21053    fi
21054
21055    # Guillermo Gomez says -lposix is necessary on A/UX.
21056    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
21057if test "x$ac_cv_func_remove" = x""yes; then :
21058  
21059fi
21060
21061    if test $ac_cv_func_remove = no; then
21062      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
21063$as_echo_n "checking for remove in -lposix... " >&6; }
21064if test "${ac_cv_lib_posix_remove+set}" = set; then :
21065  $as_echo_n "(cached) " >&6
21066else
21067  ac_check_lib_save_LIBS=$LIBS
21068LIBS="-lposix  $LIBS"
21069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21070/* end confdefs.h.  */
21071
21072/* Override any GCC internal prototype to avoid an error.
21073   Use char because int might match the return type of a GCC
21074   builtin and then its argument prototype would still apply.  */
21075#ifdef __cplusplus
21076extern "C"
21077#endif
21078char remove ();
21079int
21080main ()
21081{
21082return remove ();
21083  ;
21084  return 0;
21085}
21086_ACEOF
21087if ac_fn_c_try_link "$LINENO"; then :
21088  ac_cv_lib_posix_remove=yes
21089else
21090  ac_cv_lib_posix_remove=no
21091fi
21092rm -f core conftest.err conftest.$ac_objext \
21093    conftest$ac_exeext conftest.$ac_ext
21094LIBS=$ac_check_lib_save_LIBS
21095fi
21096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
21097$as_echo "$ac_cv_lib_posix_remove" >&6; }
21098if test "x$ac_cv_lib_posix_remove" = x""yes; then :
21099  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21100fi
21101
21102    fi
21103
21104    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21105    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
21106if test "x$ac_cv_func_shmat" = x""yes; then :
21107  
21108fi
21109
21110    if test $ac_cv_func_shmat = no; then
21111      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
21112$as_echo_n "checking for shmat in -lipc... " >&6; }
21113if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
21114  $as_echo_n "(cached) " >&6
21115else
21116  ac_check_lib_save_LIBS=$LIBS
21117LIBS="-lipc  $LIBS"
21118cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21119/* end confdefs.h.  */
21120
21121/* Override any GCC internal prototype to avoid an error.
21122   Use char because int might match the return type of a GCC
21123   builtin and then its argument prototype would still apply.  */
21124#ifdef __cplusplus
21125extern "C"
21126#endif
21127char shmat ();
21128int
21129main ()
21130{
21131return shmat ();
21132  ;
21133  return 0;
21134}
21135_ACEOF
21136if ac_fn_c_try_link "$LINENO"; then :
21137  ac_cv_lib_ipc_shmat=yes
21138else
21139  ac_cv_lib_ipc_shmat=no
21140fi
21141rm -f core conftest.err conftest.$ac_objext \
21142    conftest$ac_exeext conftest.$ac_ext
21143LIBS=$ac_check_lib_save_LIBS
21144fi
21145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
21146$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
21147if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
21148  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21149fi
21150
21151    fi
21152  fi
21153
21154  # Check for libraries that X11R6 Xt/Xaw programs need.
21155  ac_save_LDFLAGS=$LDFLAGS
21156  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21157  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21158  # check for ICE first), but we must link in the order -lSM -lICE or
21159  # we get undefined symbols.  So assume we have SM if we have ICE.
21160  # These have to be linked with before -lX11, unlike the other
21161  # libraries we check for below, so use a different variable.
21162  # John Interrante, Karl Berry
21163  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
21164$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
21165if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
21166  $as_echo_n "(cached) " >&6
21167else
21168  ac_check_lib_save_LIBS=$LIBS
21169LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21171/* end confdefs.h.  */
21172
21173/* Override any GCC internal prototype to avoid an error.
21174   Use char because int might match the return type of a GCC
21175   builtin and then its argument prototype would still apply.  */
21176#ifdef __cplusplus
21177extern "C"
21178#endif
21179char IceConnectionNumber ();
21180int
21181main ()
21182{
21183return IceConnectionNumber ();
21184  ;
21185  return 0;
21186}
21187_ACEOF
21188if ac_fn_c_try_link "$LINENO"; then :
21189  ac_cv_lib_ICE_IceConnectionNumber=yes
21190else
21191  ac_cv_lib_ICE_IceConnectionNumber=no
21192fi
21193rm -f core conftest.err conftest.$ac_objext \
21194    conftest$ac_exeext conftest.$ac_ext
21195LIBS=$ac_check_lib_save_LIBS
21196fi
21197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21198$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
21199if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
21200  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21201fi
21202
21203  LDFLAGS=$ac_save_LDFLAGS
21204
21205fi
21206
21207
21208    if test "x$no_x" = xyes; then
21209        have_x11=no
21210    else
21211        have_x11=yes
21212        DBUS_X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
21213        DBUS_X_CFLAGS="$X_CFLAGS"
21214    fi
21215fi
21216
21217if test "x$enable_x11_autolaunch,$have_x11" = xyes,no; then
21218    as_fn_error "X11 auto-launch requires X headers/libraries" "$LINENO" 5
21219else
21220    # move from "auto" to "yes" or "no" if necessary
21221    if test "x$enable_x11_autolaunch" != xno; then
21222        enable_x11_autolaunch="$have_x11"
21223    fi
21224fi
21225
21226if test "x$have_x11" = xyes ; then
21227   
21228$as_echo "@%:@define DBUS_BUILD_X11 1" >>confdefs.h
21229
21230fi
21231
21232if test "x$enable_x11_autolaunch" = xyes ; then
21233   
21234$as_echo "@%:@define DBUS_ENABLE_X11_AUTOLAUNCH 1" >>confdefs.h
21235
21236fi
21237
21238
21239
21240
21241#### gcc warning flags
21242
21243cc_supports_flag() {
21244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports \"$*\"" >&5
21245$as_echo_n "checking whether $CC supports \"$*\"... " >&6; }
21246  save_CFLAGS="$CFLAGS"
21247  CFLAGS="$*"
21248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21249/* end confdefs.h.  */
21250
21251int
21252main ()
21253{
21254
21255  ;
21256  return 0;
21257}
21258_ACEOF
21259if ac_fn_c_try_compile "$LINENO"; then :
21260  rc=yes
21261else
21262  rc=no
21263fi
21264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21265  CFLAGS="$save_CFLAGS"
21266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rc" >&5
21267$as_echo "$rc" >&6; }
21268  test "x$rc" = xyes
21269}
21270
21271                          
21272
21273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands " >&5
21274$as_echo_n "checking to see if compiler understands ... " >&6; }
21275
21276  save_CFLAGS="$CFLAGS"
21277  save_CXXFLAGS="$CXXFLAGS"
21278  CFLAGS="$CFLAGS "
21279  CXXFLAGS="$CXXFLAGS "
21280
21281  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282/* end confdefs.h.  */
21283 
21284int
21285main ()
21286{
21287
21288  ;
21289  return 0;
21290}
21291_ACEOF
21292if ac_fn_c_try_compile "$LINENO"; then :
21293  flag_ok=yes
21294else
21295  flag_ok=no
21296fi
21297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298  CFLAGS="$save_CFLAGS"
21299  CXXFLAGS="$save_CXXFLAGS"
21300
21301  if test "X$flag_ok" = Xyes ; then
21302    
21303    true
21304  else
21305    
21306    true
21307  fi
21308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21309$as_echo "$flag_ok" >&6; }
21310
21311
21312      
21313  tp_warnings=""
21314  for tp_flag in   all \
21315   extra \
21316   char-subscripts \
21317   missing-declarations \
21318   missing-prototypes \
21319   nested-externs \
21320   pointer-arith \
21321   cast-align \
21322   no-address \
21323   float-equal \
21324   declaration-after-statement \
21325  ; do
21326    
21327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -W$tp_flag" >&5
21328$as_echo_n "checking to see if compiler understands -W$tp_flag... " >&6; }
21329
21330  save_CFLAGS="$CFLAGS"
21331  save_CXXFLAGS="$CXXFLAGS"
21332  CFLAGS="$CFLAGS -W$tp_flag"
21333  CXXFLAGS="$CXXFLAGS -W$tp_flag"
21334
21335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336/* end confdefs.h.  */
21337 
21338int
21339main ()
21340{
21341
21342  ;
21343  return 0;
21344}
21345_ACEOF
21346if ac_fn_c_try_compile "$LINENO"; then :
21347  flag_ok=yes
21348else
21349  flag_ok=no
21350fi
21351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352  CFLAGS="$save_CFLAGS"
21353  CXXFLAGS="$save_CXXFLAGS"
21354
21355  if test "X$flag_ok" = Xyes ; then
21356    tp_warnings="$tp_warnings -W$tp_flag"
21357    true
21358  else
21359    
21360    true
21361  fi
21362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21363$as_echo "$flag_ok" >&6; }
21364
21365  done
21366
21367  tp_error_flags="-Werror"
21368  
21369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
21370$as_echo_n "checking to see if compiler understands -Werror... " >&6; }
21371
21372  save_CFLAGS="$CFLAGS"
21373  save_CXXFLAGS="$CXXFLAGS"
21374  CFLAGS="$CFLAGS -Werror"
21375  CXXFLAGS="$CXXFLAGS -Werror"
21376
21377  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21378/* end confdefs.h.  */
21379 
21380int
21381main ()
21382{
21383
21384  ;
21385  return 0;
21386}
21387_ACEOF
21388if ac_fn_c_try_compile "$LINENO"; then :
21389  flag_ok=yes
21390else
21391  flag_ok=no
21392fi
21393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21394  CFLAGS="$save_CFLAGS"
21395  CXXFLAGS="$save_CXXFLAGS"
21396
21397  if test "X$flag_ok" = Xyes ; then
21398    tp_werror=yes
21399    true
21400  else
21401    tp_werror=no
21402    true
21403  fi
21404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21405$as_echo "$flag_ok" >&6; }
21406
21407
21408  for tp_flag in                           $DISABLE_UNUSED_WARNINGS \
21409   missing-field-initializers \
21410   unused-parameter \
21411   sign-compare \
21412   pointer-sign \
21413   type-limits \
21414  ; do
21415    
21416  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wno-$tp_flag" >&5
21417$as_echo_n "checking to see if compiler understands -Wno-$tp_flag... " >&6; }
21418
21419  save_CFLAGS="$CFLAGS"
21420  save_CXXFLAGS="$CXXFLAGS"
21421  CFLAGS="$CFLAGS -Wno-$tp_flag"
21422  CXXFLAGS="$CXXFLAGS -Wno-$tp_flag"
21423
21424  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21425/* end confdefs.h.  */
21426 
21427int
21428main ()
21429{
21430
21431  ;
21432  return 0;
21433}
21434_ACEOF
21435if ac_fn_c_try_compile "$LINENO"; then :
21436  flag_ok=yes
21437else
21438  flag_ok=no
21439fi
21440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441  CFLAGS="$save_CFLAGS"
21442  CXXFLAGS="$save_CXXFLAGS"
21443
21444  if test "X$flag_ok" = Xyes ; then
21445    tp_warnings="$tp_warnings -Wno-$tp_flag"
21446    true
21447  else
21448    
21449    true
21450  fi
21451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21452$as_echo "$flag_ok" >&6; }
21453
21454    
21455  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wno-error=$tp_flag" >&5
21456$as_echo_n "checking to see if compiler understands -Wno-error=$tp_flag... " >&6; }
21457
21458  save_CFLAGS="$CFLAGS"
21459  save_CXXFLAGS="$CXXFLAGS"
21460  CFLAGS="$CFLAGS -Wno-error=$tp_flag"
21461  CXXFLAGS="$CXXFLAGS -Wno-error=$tp_flag"
21462
21463  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464/* end confdefs.h.  */
21465 
21466int
21467main ()
21468{
21469
21470  ;
21471  return 0;
21472}
21473_ACEOF
21474if ac_fn_c_try_compile "$LINENO"; then :
21475  flag_ok=yes
21476else
21477  flag_ok=no
21478fi
21479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480  CFLAGS="$save_CFLAGS"
21481  CXXFLAGS="$save_CXXFLAGS"
21482
21483  if test "X$flag_ok" = Xyes ; then
21484    tp_error_flags="$tp_error_flags -Wno-error=$tp_flag"
21485    true
21486  else
21487    tp_werror=no
21488    true
21489  fi
21490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21491$as_echo "$flag_ok" >&6; }
21492
21493  done
21494
21495  @%:@ Check whether --enable-Werror was given.
21496if test "${enable_Werror+set}" = set; then :
21497  enableval=$enable_Werror; tp_werror=$enableval
21498else
21499  :
21500fi
21501
21502
21503  if test "x$tp_werror" = xyes &&         test x$dbus_win != xyes -a x$dbus_cygwin != xyes -a x$enable_developer = xyes; then
21504    WARNING_CFLAGS="$tp_error_flags $tp_warnings"
21505  else
21506    WARNING_CFLAGS="$tp_warnings"
21507  fi
21508
21509
21510
21511if test "x$GCC" = "xyes"; then
21512  # We're treating -fno-common like a warning: it makes the linker more
21513  # strict, because on some systems the linker is *always* this strict
21514  
21515  
21516  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-common" >&5
21517$as_echo_n "checking to see if compiler understands -fno-common... " >&6; }
21518
21519  save_CFLAGS="$CFLAGS"
21520  save_CXXFLAGS="$CXXFLAGS"
21521  CFLAGS="$CFLAGS -fno-common"
21522  CXXFLAGS="$CXXFLAGS -fno-common"
21523
21524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525/* end confdefs.h.  */
21526 
21527int
21528main ()
21529{
21530
21531  ;
21532  return 0;
21533}
21534_ACEOF
21535if ac_fn_c_try_compile "$LINENO"; then :
21536  flag_ok=yes
21537else
21538  flag_ok=no
21539fi
21540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21541  CFLAGS="$save_CFLAGS"
21542  CXXFLAGS="$save_CXXFLAGS"
21543
21544  if test "X$flag_ok" = Xyes ; then
21545    WARNING_CFLAGS="$WARNING_CFLAGS -fno-common"
21546    true
21547  else
21548    
21549    true
21550  fi
21551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21552$as_echo "$flag_ok" >&6; }
21553
21554
21555
21556  # http://bugs.freedesktop.org/show_bug.cgi?id=10599
21557  
21558  
21559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
21560$as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
21561
21562  save_CFLAGS="$CFLAGS"
21563  save_CXXFLAGS="$CXXFLAGS"
21564  CFLAGS="$CFLAGS -fno-strict-aliasing"
21565  CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
21566
21567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568/* end confdefs.h.  */
21569 
21570int
21571main ()
21572{
21573
21574  ;
21575  return 0;
21576}
21577_ACEOF
21578if ac_fn_c_try_compile "$LINENO"; then :
21579  flag_ok=yes
21580else
21581  flag_ok=no
21582fi
21583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584  CFLAGS="$save_CFLAGS"
21585  CXXFLAGS="$save_CXXFLAGS"
21586
21587  if test "X$flag_ok" = Xyes ; then
21588    WARNING_CFLAGS="$WARNING_CFLAGS -fno-strict-aliasing"
21589    true
21590  else
21591    
21592    true
21593  fi
21594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21595$as_echo "$flag_ok" >&6; }
21596
21597
21598
21599  if test "x$enable_ansi" = "xyes"; then
21600    
21601  
21602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -ansi -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -pedantic" >&5
21603$as_echo_n "checking to see if compiler understands -ansi -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -pedantic... " >&6; }
21604
21605  save_CFLAGS="$CFLAGS"
21606  save_CXXFLAGS="$CXXFLAGS"
21607  CFLAGS="$CFLAGS -ansi -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -pedantic"
21608  CXXFLAGS="$CXXFLAGS -ansi -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -pedantic"
21609
21610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21611/* end confdefs.h.  */
21612 
21613int
21614main ()
21615{
21616
21617  ;
21618  return 0;
21619}
21620_ACEOF
21621if ac_fn_c_try_compile "$LINENO"; then :
21622  flag_ok=yes
21623else
21624  flag_ok=no
21625fi
21626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21627  CFLAGS="$save_CFLAGS"
21628  CXXFLAGS="$save_CXXFLAGS"
21629
21630  if test "X$flag_ok" = Xyes ; then
21631    WARNING_CFLAGS="$WARNING_CFLAGS -ansi -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -pedantic"
21632    true
21633  else
21634    
21635    true
21636  fi
21637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
21638$as_echo "$flag_ok" >&6; }
21639
21640
21641  fi
21642fi
21643
21644CFLAGS="$WARNING_CFLAGS $CFLAGS"
21645
21646case $host_os in
21647    solaris*)
21648        # Solaris' C library apparently needs these runes to be threadsafe...
21649        CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
21650        # ... this opt-in to get sockaddr_in6 and sockaddr_storage...
21651        CFLAGS="$CFLAGS -D__EXTENSIONS__"
21652        # ... and this opt-in to get file descriptor passing support
21653        CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500"
21654        ;;
21655esac
21656
21657### Doxygen Documentation
21658
21659# Extract the first word of "doxygen", so it can be a program name with args.
21660set dummy doxygen; ac_word=$2
21661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21662$as_echo_n "checking for $ac_word... " >&6; }
21663if test "${ac_cv_path_DOXYGEN+set}" = set; then :
21664  $as_echo_n "(cached) " >&6
21665else
21666  case $DOXYGEN in
21667  [\\/]* | ?:[\\/]*)
21668  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
21669  ;;
21670  *)
21671  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21672for as_dir in $PATH
21673do
21674  IFS=$as_save_IFS
21675  test -z "$as_dir" && as_dir=.
21676    for ac_exec_ext in '' $ac_executable_extensions; do
21677  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21678    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
21679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21680    break 2
21681  fi
21682done
21683  done
21684IFS=$as_save_IFS
21685
21686  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
21687  ;;
21688esac
21689fi
21690DOXYGEN=$ac_cv_path_DOXYGEN
21691if test -n "$DOXYGEN"; then
21692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
21693$as_echo "$DOXYGEN" >&6; }
21694else
21695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21696$as_echo "no" >&6; }
21697fi
21698
21699
21700
21701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Doxygen documentation" >&5
21702$as_echo_n "checking whether to build Doxygen documentation... " >&6; }
21703
21704if test x$DOXYGEN = xno ; then
21705    have_doxygen=no
21706else
21707    have_doxygen=yes
21708fi
21709
21710if test x$enable_doxygen_docs = xauto ; then
21711    if test x$have_doxygen = xno ; then
21712        enable_doxygen_docs=no
21713    else
21714        enable_doxygen_docs=yes
21715    fi
21716fi
21717
21718if test x$enable_doxygen_docs = xyes; then
21719    if test x$have_doxygen = xno; then
21720	as_fn_error "Building Doxygen docs explicitly required, but Doxygen not found" "$LINENO" 5
21721    fi
21722fi
21723
21724 if test x$enable_doxygen_docs = xyes; then
21725  DBUS_DOXYGEN_DOCS_ENABLED_TRUE=
21726  DBUS_DOXYGEN_DOCS_ENABLED_FALSE='#'
21727else
21728  DBUS_DOXYGEN_DOCS_ENABLED_TRUE='#'
21729  DBUS_DOXYGEN_DOCS_ENABLED_FALSE=
21730fi
21731
21732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_doxygen_docs" >&5
21733$as_echo "$enable_doxygen_docs" >&6; }
21734
21735for ac_prog in xsltproc
21736do
21737  # Extract the first word of "$ac_prog", so it can be a program name with args.
21738set dummy $ac_prog; ac_word=$2
21739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21740$as_echo_n "checking for $ac_word... " >&6; }
21741if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
21742  $as_echo_n "(cached) " >&6
21743else
21744  if test -n "$XSLTPROC"; then
21745  ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
21746else
21747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21748for as_dir in $PATH
21749do
21750  IFS=$as_save_IFS
21751  test -z "$as_dir" && as_dir=.
21752    for ac_exec_ext in '' $ac_executable_extensions; do
21753  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21754    ac_cv_prog_XSLTPROC="$ac_prog"
21755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21756    break 2
21757  fi
21758done
21759  done
21760IFS=$as_save_IFS
21761
21762fi
21763fi
21764XSLTPROC=$ac_cv_prog_XSLTPROC
21765if test -n "$XSLTPROC"; then
21766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
21767$as_echo "$XSLTPROC" >&6; }
21768else
21769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21770$as_echo "no" >&6; }
21771fi
21772
21773
21774  test -n "$XSLTPROC" && break
21775done
21776
21777 if test "x$XSLTPROC" != "x"; then
21778  DBUS_HAVE_XSLTPROC_TRUE=
21779  DBUS_HAVE_XSLTPROC_FALSE='#'
21780else
21781  DBUS_HAVE_XSLTPROC_TRUE='#'
21782  DBUS_HAVE_XSLTPROC_FALSE=
21783fi
21784
21785
21786### XML Documentation
21787
21788# Extract the first word of "xmlto", so it can be a program name with args.
21789set dummy xmlto; ac_word=$2
21790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21791$as_echo_n "checking for $ac_word... " >&6; }
21792if test "${ac_cv_path_XMLTO+set}" = set; then :
21793  $as_echo_n "(cached) " >&6
21794else
21795  case $XMLTO in
21796  [\\/]* | ?:[\\/]*)
21797  ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
21798  ;;
21799  *)
21800  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21801for as_dir in $PATH
21802do
21803  IFS=$as_save_IFS
21804  test -z "$as_dir" && as_dir=.
21805    for ac_exec_ext in '' $ac_executable_extensions; do
21806  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21807    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
21808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21809    break 2
21810  fi
21811done
21812  done
21813IFS=$as_save_IFS
21814
21815  test -z "$ac_cv_path_XMLTO" && ac_cv_path_XMLTO="no"
21816  ;;
21817esac
21818fi
21819XMLTO=$ac_cv_path_XMLTO
21820if test -n "$XMLTO"; then
21821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
21822$as_echo "$XMLTO" >&6; }
21823else
21824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21825$as_echo "no" >&6; }
21826fi
21827
21828
21829
21830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build XML documentation" >&5
21831$as_echo_n "checking whether to build XML documentation... " >&6; }
21832
21833if test x$XMLTO = xno ; then
21834    have_xmlto=no
21835else
21836    have_xmlto=yes
21837fi
21838
21839if test x$enable_xml_docs = xauto ; then
21840    if test x$have_xmlto = xno ; then
21841        enable_xml_docs=no
21842    else
21843        enable_xml_docs=yes
21844    fi
21845fi
21846
21847if test x$enable_xml_docs = xyes; then
21848    if test x$have_xmlto = xno; then
21849	as_fn_error "Building XML docs explicitly required, but xmlto not found" "$LINENO" 5
21850    fi
21851fi
21852
21853 if test x$enable_xml_docs = xyes; then
21854  DBUS_XML_DOCS_ENABLED_TRUE=
21855  DBUS_XML_DOCS_ENABLED_FALSE='#'
21856else
21857  DBUS_XML_DOCS_ENABLED_TRUE='#'
21858  DBUS_XML_DOCS_ENABLED_FALSE=
21859fi
21860
21861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xml_docs" >&5
21862$as_echo "$enable_xml_docs" >&6; }
21863
21864# Extract the first word of "man2html", so it can be a program name with args.
21865set dummy man2html; ac_word=$2
21866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21867$as_echo_n "checking for $ac_word... " >&6; }
21868if test "${ac_cv_path_MAN2HTML+set}" = set; then :
21869  $as_echo_n "(cached) " >&6
21870else
21871  case $MAN2HTML in
21872  [\\/]* | ?:[\\/]*)
21873  ac_cv_path_MAN2HTML="$MAN2HTML" # Let the user override the test with a path.
21874  ;;
21875  *)
21876  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21877for as_dir in $PATH
21878do
21879  IFS=$as_save_IFS
21880  test -z "$as_dir" && as_dir=.
21881    for ac_exec_ext in '' $ac_executable_extensions; do
21882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21883    ac_cv_path_MAN2HTML="$as_dir/$ac_word$ac_exec_ext"
21884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21885    break 2
21886  fi
21887done
21888  done
21889IFS=$as_save_IFS
21890
21891  ;;
21892esac
21893fi
21894MAN2HTML=$ac_cv_path_MAN2HTML
21895if test -n "$MAN2HTML"; then
21896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN2HTML" >&5
21897$as_echo "$MAN2HTML" >&6; }
21898else
21899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21900$as_echo "no" >&6; }
21901fi
21902
21903
21904
21905 if test x$MAN2HTML != x; then
21906  DBUS_HAVE_MAN2HTML_TRUE=
21907  DBUS_HAVE_MAN2HTML_FALSE='#'
21908else
21909  DBUS_HAVE_MAN2HTML_TRUE='#'
21910  DBUS_HAVE_MAN2HTML_FALSE=
21911fi
21912
21913
21914 if test x$enable_doxygen_docs = xyes -a x$enable_xml_docs = xyes -a \
21915         x$MAN2HTML != x; then
21916  DBUS_CAN_UPLOAD_DOCS_TRUE=
21917  DBUS_CAN_UPLOAD_DOCS_FALSE='#'
21918else
21919  DBUS_CAN_UPLOAD_DOCS_TRUE='#'
21920  DBUS_CAN_UPLOAD_DOCS_FALSE=
21921fi
21922
21923
21924#### Have to go $localstatedir->$prefix/var->/usr/local/var
21925
21926#### find the actual value for $prefix that we'll end up with
21927##   (I know this is broken and should be done in the Makefile, but
21928##    that's a major pain and almost nobody actually seems to care)
21929
21930  EXP_VAR=EXPANDED_PREFIX
21931  FROM_VAR="$prefix"
21932
21933    prefix_save=$prefix
21934  exec_prefix_save=$exec_prefix
21935
21936    if test "x$prefix" = "xNONE"; then
21937    prefix="$ac_default_prefix"
21938  fi
21939    if test "x$exec_prefix" = "xNONE"; then
21940    exec_prefix=$prefix
21941  fi
21942
21943  full_var="$FROM_VAR"
21944    while true; do
21945    new_full_var="`eval echo $full_var`"
21946    if test "x$new_full_var" = "x$full_var"; then break; fi
21947    full_var=$new_full_var
21948  done
21949
21950    full_var=$new_full_var
21951  EXPANDED_PREFIX="$full_var"
21952
21953
21954    prefix=$prefix_save
21955  exec_prefix=$exec_prefix_save
21956
21957
21958  EXP_VAR=EXPANDED_LOCALSTATEDIR
21959  FROM_VAR="$localstatedir"
21960
21961    prefix_save=$prefix
21962  exec_prefix_save=$exec_prefix
21963
21964    if test "x$prefix" = "xNONE"; then
21965    prefix="$ac_default_prefix"
21966  fi
21967    if test "x$exec_prefix" = "xNONE"; then
21968    exec_prefix=$prefix
21969  fi
21970
21971  full_var="$FROM_VAR"
21972    while true; do
21973    new_full_var="`eval echo $full_var`"
21974    if test "x$new_full_var" = "x$full_var"; then break; fi
21975    full_var=$new_full_var
21976  done
21977
21978    full_var=$new_full_var
21979  EXPANDED_LOCALSTATEDIR="$full_var"
21980
21981
21982    prefix=$prefix_save
21983  exec_prefix=$exec_prefix_save
21984
21985
21986  EXP_VAR=EXPANDED_SYSCONFDIR
21987  FROM_VAR="$sysconfdir"
21988
21989    prefix_save=$prefix
21990  exec_prefix_save=$exec_prefix
21991
21992    if test "x$prefix" = "xNONE"; then
21993    prefix="$ac_default_prefix"
21994  fi
21995    if test "x$exec_prefix" = "xNONE"; then
21996    exec_prefix=$prefix
21997  fi
21998
21999  full_var="$FROM_VAR"
22000    while true; do
22001    new_full_var="`eval echo $full_var`"
22002    if test "x$new_full_var" = "x$full_var"; then break; fi
22003    full_var=$new_full_var
22004  done
22005
22006    full_var=$new_full_var
22007  EXPANDED_SYSCONFDIR="$full_var"
22008
22009
22010    prefix=$prefix_save
22011  exec_prefix=$exec_prefix_save
22012
22013
22014  EXP_VAR=EXPANDED_BINDIR
22015  FROM_VAR="$bindir"
22016
22017    prefix_save=$prefix
22018  exec_prefix_save=$exec_prefix
22019
22020    if test "x$prefix" = "xNONE"; then
22021    prefix="$ac_default_prefix"
22022  fi
22023    if test "x$exec_prefix" = "xNONE"; then
22024    exec_prefix=$prefix
22025  fi
22026
22027  full_var="$FROM_VAR"
22028    while true; do
22029    new_full_var="`eval echo $full_var`"
22030    if test "x$new_full_var" = "x$full_var"; then break; fi
22031    full_var=$new_full_var
22032  done
22033
22034    full_var=$new_full_var
22035  EXPANDED_BINDIR="$full_var"
22036
22037
22038    prefix=$prefix_save
22039  exec_prefix=$exec_prefix_save
22040
22041
22042  EXP_VAR=EXPANDED_LIBDIR
22043  FROM_VAR="$libdir"
22044
22045    prefix_save=$prefix
22046  exec_prefix_save=$exec_prefix
22047
22048    if test "x$prefix" = "xNONE"; then
22049    prefix="$ac_default_prefix"
22050  fi
22051    if test "x$exec_prefix" = "xNONE"; then
22052    exec_prefix=$prefix
22053  fi
22054
22055  full_var="$FROM_VAR"
22056    while true; do
22057    new_full_var="`eval echo $full_var`"
22058    if test "x$new_full_var" = "x$full_var"; then break; fi
22059    full_var=$new_full_var
22060  done
22061
22062    full_var=$new_full_var
22063  EXPANDED_LIBDIR="$full_var"
22064
22065
22066    prefix=$prefix_save
22067  exec_prefix=$exec_prefix_save
22068
22069
22070  EXP_VAR=EXPANDED_LIBEXECDIR
22071  FROM_VAR="$libexecdir"
22072
22073    prefix_save=$prefix
22074  exec_prefix_save=$exec_prefix
22075
22076    if test "x$prefix" = "xNONE"; then
22077    prefix="$ac_default_prefix"
22078  fi
22079    if test "x$exec_prefix" = "xNONE"; then
22080    exec_prefix=$prefix
22081  fi
22082
22083  full_var="$FROM_VAR"
22084    while true; do
22085    new_full_var="`eval echo $full_var`"
22086    if test "x$new_full_var" = "x$full_var"; then break; fi
22087    full_var=$new_full_var
22088  done
22089
22090    full_var=$new_full_var
22091  EXPANDED_LIBEXECDIR="$full_var"
22092
22093
22094    prefix=$prefix_save
22095  exec_prefix=$exec_prefix_save
22096
22097
22098  EXP_VAR=EXPANDED_DATADIR
22099  FROM_VAR="$datadir"
22100
22101    prefix_save=$prefix
22102  exec_prefix_save=$exec_prefix
22103
22104    if test "x$prefix" = "xNONE"; then
22105    prefix="$ac_default_prefix"
22106  fi
22107    if test "x$exec_prefix" = "xNONE"; then
22108    exec_prefix=$prefix
22109  fi
22110
22111  full_var="$FROM_VAR"
22112    while true; do
22113    new_full_var="`eval echo $full_var`"
22114    if test "x$new_full_var" = "x$full_var"; then break; fi
22115    full_var=$new_full_var
22116  done
22117
22118    full_var=$new_full_var
22119  EXPANDED_DATADIR="$full_var"
22120
22121
22122    prefix=$prefix_save
22123  exec_prefix=$exec_prefix_save
22124
22125
22126#### Check our operating system
22127operating_system=unknown
22128if test -f /etc/redhat-release || test -f $EXPANDED_SYSCONFDIR/redhat-release ; then
22129   operating_system=redhat
22130fi
22131
22132if test -f /etc/slackware-version || test -f $EXPANDED_SYSCONFDIR/slackware-version ; then
22133   operating_system=slackware
22134fi
22135
22136if test -f /usr/bin/cygwin1.dll || test -f $EXPANDED_BINDIR/cygwin1.dll ; then
22137   operating_system=cygwin
22138fi
22139
22140#### Sort out init scripts
22141
22142if test x$with_init_scripts = x; then
22143    case x$operating_system in
22144        xredhat)	with_init_scripts=redhat ;;
22145        xslackware)	with_init_scripts=slackware ;;
22146        xcygwin)	with_init_scripts=cygwin ;;
22147        *)			with_init_scripts=none ;;
22148    esac
22149fi
22150
22151 if test x$with_init_scripts = xredhat; then
22152  DBUS_INIT_SCRIPTS_RED_HAT_TRUE=
22153  DBUS_INIT_SCRIPTS_RED_HAT_FALSE='#'
22154else
22155  DBUS_INIT_SCRIPTS_RED_HAT_TRUE='#'
22156  DBUS_INIT_SCRIPTS_RED_HAT_FALSE=
22157fi
22158
22159 if test x$with_init_scripts = xslackware; then
22160  DBUS_INIT_SCRIPTS_SLACKWARE_TRUE=
22161  DBUS_INIT_SCRIPTS_SLACKWARE_FALSE='#'
22162else
22163  DBUS_INIT_SCRIPTS_SLACKWARE_TRUE='#'
22164  DBUS_INIT_SCRIPTS_SLACKWARE_FALSE=
22165fi
22166
22167 if test x$with_init_scripts = xcygwin; then
22168  DBUS_INIT_SCRIPTS_CYGWIN_TRUE=
22169  DBUS_INIT_SCRIPTS_CYGWIN_FALSE='#'
22170else
22171  DBUS_INIT_SCRIPTS_CYGWIN_TRUE='#'
22172  DBUS_INIT_SCRIPTS_CYGWIN_FALSE=
22173fi
22174
22175
22176##### systemd unit files
22177
22178@%:@ Check whether --with-systemdsystemunitdir was given.
22179if test "${with_systemdsystemunitdir+set}" = set; then :
22180  withval=$with_systemdsystemunitdir; 
22181else
22182  
22183    if test -n "$PKG_CONFIG" && \
22184    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
22185  ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
22186  ac_status=$?
22187  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22188  test $ac_status = 0; }; then
22189  with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
22190else
22191  with_systemdsystemunitdir=no
22192fi
22193    
22194fi
22195
22196if test "x$with_systemdsystemunitdir" != xno; then
22197   systemdsystemunitdir=$with_systemdsystemunitdir
22198
22199fi
22200 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
22201  HAVE_SYSTEMD_TRUE=
22202  HAVE_SYSTEMD_FALSE='#'
22203else
22204  HAVE_SYSTEMD_TRUE='#'
22205  HAVE_SYSTEMD_FALSE=
22206fi
22207
22208
22209##### Set up location for system bus socket
22210if ! test -z "$with_system_socket"; then
22211   DBUS_SYSTEM_SOCKET=$with_system_socket
22212else
22213   DBUS_SYSTEM_SOCKET=/var/run/system_bus_socket
22214fi
22215
22216
22217
22218cat >>confdefs.h <<_ACEOF
22219@%:@define DBUS_SYSTEM_SOCKET "$DBUS_SYSTEM_SOCKET"
22220_ACEOF
22221
22222
22223## system bus only listens on local domain sockets, and never
22224## on an abstract socket (so only root can create the socket)
22225DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=$DBUS_SYSTEM_SOCKET"
22226
22227
22228cat >>confdefs.h <<_ACEOF
22229@%:@define DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "$DBUS_SYSTEM_BUS_DEFAULT_ADDRESS"
22230_ACEOF
22231
22232
22233#### Set up the pid file
22234if ! test -z "$with_system_pid_file"; then
22235   DBUS_SYSTEM_PID_FILE=$with_system_pid_file
22236elif test x$with_init_scripts = xredhat ; then
22237   DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/messagebus.pid
22238else
22239   DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/dbus/pid
22240fi
22241
22242
22243
22244#### Directory to check for console ownership
22245if ! test -z "$with_console_auth_dir"; then
22246   DBUS_CONSOLE_AUTH_DIR=$with_console_auth_dir
22247else
22248   DBUS_CONSOLE_AUTH_DIR=/var/run/console/
22249fi
22250
22251
22252
22253cat >>confdefs.h <<_ACEOF
22254@%:@define DBUS_CONSOLE_AUTH_DIR "$DBUS_CONSOLE_AUTH_DIR"
22255_ACEOF
22256
22257
22258#### File to check for console ownership
22259if test x$have_console_owner_file = xyes; then
22260   if ! test -z "$with_console_owner_file"; then
22261      DBUS_CONSOLE_OWNER_FILE=$with_console_owner_file
22262   else
22263      DBUS_CONSOLE_OWNER_FILE=/dev/console
22264   fi
22265else
22266  DBUS_CONSOLE_OWNER_FILE=
22267fi
22268
22269
22270
22271cat >>confdefs.h <<_ACEOF
22272@%:@define DBUS_CONSOLE_OWNER_FILE "$DBUS_CONSOLE_OWNER_FILE"
22273_ACEOF
22274
22275
22276#### User to start the system bus as
22277if test -z "$with_dbus_user" ; then
22278    DBUS_USER=messagebus
22279else
22280    DBUS_USER=$with_dbus_user
22281fi
22282
22283
22284cat >>confdefs.h <<_ACEOF
22285@%:@define DBUS_USER "$DBUS_USER"
22286_ACEOF
22287
22288
22289#### Prefix to install into
22290DBUS_PREFIX=$EXPANDED_PREFIX
22291
22292
22293cat >>confdefs.h <<_ACEOF
22294@%:@define DBUS_PREFIX "$DBUS_PREFIX"
22295_ACEOF
22296
22297
22298#### Direcotry to install data files into
22299DBUS_DATADIR=$EXPANDED_DATADIR
22300
22301
22302cat >>confdefs.h <<_ACEOF
22303@%:@define DBUS_DATADIR "$DBUS_DATADIR"
22304_ACEOF
22305
22306
22307#### Directory to install dbus-daemon
22308if test -z "$with_dbus_daemondir" ; then
22309    DBUS_DAEMONDIR=$EXPANDED_BINDIR
22310else
22311    DBUS_DAEMONDIR=$with_dbus_daemondir
22312fi
22313
22314
22315cat >>confdefs.h <<_ACEOF
22316@%:@define DBUS_DAEMONDIR "$DBUS_DAEMONDIR"
22317_ACEOF
22318
22319
22320#### Directory to install the other binaries
22321DBUS_BINDIR="$EXPANDED_BINDIR"
22322
22323
22324cat >>confdefs.h <<_ACEOF
22325@%:@define DBUS_BINDIR "$DBUS_BINDIR"
22326_ACEOF
22327
22328
22329#### Directory to install the libexec binaries
22330DBUS_LIBEXECDIR="$EXPANDED_LIBEXECDIR"
22331
22332
22333cat >>confdefs.h <<_ACEOF
22334@%:@define DBUS_LIBEXECDIR "$DBUS_LIBEXECDIR"
22335_ACEOF
22336
22337
22338#### Tell tests where to find certain stuff in builddir
22339
22340DBUS_PWD=`pwd`
22341# Useful in a cross-compilation environment, where the tests are run on the host system.
22342
22343@%:@ Check whether --with-dbus-test-dir was given.
22344if test "${with_dbus_test_dir+set}" = set; then :
22345  withval=$with_dbus_test_dir; DBUS_PWD=$withval
22346fi
22347
22348
22349DBUS_TEST_EXEC="$DBUS_PWD/test"
22350DBUS_TEST_DATA="$DBUS_PWD/test/data"
22351
22352
22353
22354
22355
22356cat >>confdefs.h <<_ACEOF
22357@%:@define DBUS_TEST_EXEC "$DBUS_TEST_EXEC"
22358_ACEOF
22359
22360
22361cat >>confdefs.h <<_ACEOF
22362@%:@define DBUS_EXEEXT "$EXEEXT"
22363_ACEOF
22364
22365
22366
22367cat >>confdefs.h <<_ACEOF
22368@%:@define TEST_BUS_BINARY "$DBUS_PWD/bus/dbus-daemon$EXEEXT"
22369_ACEOF
22370
22371
22372
22373## Export the non-setuid external helper
22374TEST_LAUNCH_HELPER_BINARY="$DBUS_PWD/bus/dbus-daemon-launch-helper-test$EXEEXT"
22375
22376
22377cat >>confdefs.h <<_ACEOF
22378@%:@define DBUS_TEST_LAUNCH_HELPER_BINARY "$TEST_LAUNCH_HELPER_BINARY"
22379_ACEOF
22380
22381
22382#### Find socket directories
22383if ! test -z "$TMPDIR" ; then
22384   DEFAULT_SOCKET_DIR=$TMPDIR
22385elif ! test -z "$TEMP" ; then
22386   DEFAULT_SOCKET_DIR=$TEMP
22387elif ! test -z "$TMP" ; then
22388   DEFAULT_SOCKET_DIR=$TMP
22389else
22390   DEFAULT_SOCKET_DIR=/tmp
22391fi
22392
22393DEFAULT_SOCKET_DIR=`echo $DEFAULT_SOCKET_DIR | sed 's/+/%2B/g'`
22394
22395if ! test -z "$with_test_socket_dir" ; then
22396   TEST_SOCKET_DIR="$with_test_socket_dir"
22397else
22398   TEST_SOCKET_DIR=$DEFAULT_SOCKET_DIR
22399fi
22400
22401
22402cat >>confdefs.h <<_ACEOF
22403@%:@define DBUS_TEST_SOCKET_DIR "$TEST_SOCKET_DIR"
22404_ACEOF
22405
22406
22407if test "x$dbus_unix" = xyes; then
22408  TEST_LISTEN="unix:tmpdir=$TEST_SOCKET_DIR"
22409else
22410  TEST_LISTEN="tcp:host=localhost"
22411fi
22412
22413
22414cat >>confdefs.h <<_ACEOF
22415@%:@define TEST_LISTEN "$TEST_LISTEN"
22416_ACEOF
22417
22418
22419if ! test -z "$with_session_socket_dir" ; then
22420   DBUS_SESSION_SOCKET_DIR="$with_session_socket_dir"
22421else
22422   DBUS_SESSION_SOCKET_DIR=$DEFAULT_SOCKET_DIR
22423fi
22424
22425cat >>confdefs.h <<_ACEOF
22426@%:@define DBUS_SESSION_SOCKET_DIR "$DBUS_SESSION_SOCKET_DIR"
22427_ACEOF
22428
22429
22430
22431if test x$dbus_win = xyes; then
22432        DBUS_SESSION_BUS_DEFAULT_ADDRESS="$with_dbus_session_bus_default_address"
22433elif test x$have_launchd = xyes; then
22434        DBUS_SESSION_BUS_DEFAULT_ADDRESS="launchd:env=DBUS_LAUNCHD_SESSION_BUS_SOCKET"
22435else
22436        DBUS_SESSION_BUS_DEFAULT_ADDRESS="unix:tmpdir=$DBUS_SESSION_SOCKET_DIR"
22437fi
22438
22439
22440# darwin needs this to initialize the environment
22441for ac_header in crt_externs.h
22442do :
22443  ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
22444if test "x$ac_cv_header_crt_externs_h" = x""yes; then :
22445  cat >>confdefs.h <<_ACEOF
22446@%:@define HAVE_CRT_EXTERNS_H 1
22447_ACEOF
22448 
22449fi
22450
22451done
22452
22453ac_fn_c_check_func "$LINENO" "_NSGetEnviron" "ac_cv_func__NSGetEnviron"
22454if test "x$ac_cv_func__NSGetEnviron" = x""yes; then :
22455  
22456$as_echo "@%:@define HAVE_NSGETENVIRON 1" >>confdefs.h
22457
22458fi
22459
22460
22461
22462@%:@ Check whether --enable-stats was given.
22463if test "${enable_stats+set}" = set; then :
22464  enableval=$enable_stats; 
22465else
22466  enable_stats=no
22467fi
22468
22469if test "x$enable_stats" = xyes; then
22470  
22471$as_echo "@%:@define DBUS_ENABLE_STATS 1" >>confdefs.h
22472
22473fi
22474
22475ac_config_files="$ac_config_files Doxyfile dbus/versioninfo.rc dbus/dbus-arch-deps.h bus/system.conf bus/session.conf bus/messagebus bus/messagebus-config bus/org.freedesktop.dbus-session.plist bus/rc.messagebus bus/dbus.service bus/dbus.socket Makefile dbus/Makefile bus/Makefile tools/Makefile test/Makefile test/name-test/Makefile doc/Makefile doc/dbus-daemon.1 dbus-1.pc dbus-1-uninstalled.pc test/data/valid-config-files/debug-allow-all.conf test/data/valid-config-files/debug-allow-all-sha1.conf test/data/valid-config-files-system/debug-allow-all-pass.conf test/data/valid-config-files-system/debug-allow-all-fail.conf test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoService.service test/data/valid-service-files/org.freedesktop.DBus.TestSuiteForkingEchoService.service test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfaultService.service test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteSegfaultService.service test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoExec.service test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoUser.service test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoService.service"
22476
22477cat >confcache <<\_ACEOF
22478# This file is a shell script that caches the results of configure
22479# tests run on this system so they can be shared between configure
22480# scripts and configure runs, see configure's option --config-cache.
22481# It is not useful on other systems.  If it contains results you don't
22482# want to keep, you may remove or edit it.
22483#
22484# config.status only pays attention to the cache file if you give it
22485# the --recheck option to rerun configure.
22486#
22487# `ac_cv_env_foo' variables (set or unset) will be overridden when
22488# loading this file, other *unset* `ac_cv_foo' will be assigned the
22489# following values.
22490
22491_ACEOF
22492
22493# The following way of writing the cache mishandles newlines in values,
22494# but we know of no workaround that is simple, portable, and efficient.
22495# So, we kill variables containing newlines.
22496# Ultrix sh set writes to stderr and can't be redirected directly,
22497# and sets the high bit in the cache file unless we assign to the vars.
22498(
22499  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22500    eval ac_val=\$$ac_var
22501    case $ac_val in #(
22502    *${as_nl}*)
22503      case $ac_var in #(
22504      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22505$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22506      esac
22507      case $ac_var in #(
22508      _ | IFS | as_nl) ;; #(
22509      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22510      *) { eval $ac_var=; unset $ac_var;} ;;
22511      esac ;;
22512    esac
22513  done
22514
22515  (set) 2>&1 |
22516    case $as_nl`(ac_space=' '; set) 2>&1` in #(
22517    *${as_nl}ac_space=\ *)
22518      # `set' does not quote correctly, so add quotes: double-quote
22519      # substitution turns \\\\ into \\, and sed turns \\ into \.
22520      sed -n \
22521	"s/'/'\\\\''/g;
22522	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22523      ;; #(
22524    *)
22525      # `set' quotes correctly as required by POSIX, so do not add quotes.
22526      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22527      ;;
22528    esac |
22529    sort
22530) |
22531  sed '
22532     /^ac_cv_env_/b end
22533     t clear
22534     :clear
22535     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22536     t end
22537     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22538     :end' >>confcache
22539if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22540  if test -w "$cache_file"; then
22541    test "x$cache_file" != "x/dev/null" &&
22542      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22543$as_echo "$as_me: updating cache $cache_file" >&6;}
22544    cat confcache >$cache_file
22545  else
22546    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22547$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22548  fi
22549fi
22550rm -f confcache
22551
22552test "x$prefix" = xNONE && prefix=$ac_default_prefix
22553# Let make expand exec_prefix.
22554test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22555
22556DEFS=-DHAVE_CONFIG_H
22557
22558ac_libobjs=
22559ac_ltlibobjs=
22560for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
22561  # 1. Remove the extension, and $U if already installed.
22562  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22563  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22564  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22565  #    will be set to the directory where LIBOBJS objects are built.
22566  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22567  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22568done
22569LIB@&t@OBJS=$ac_libobjs
22570
22571LTLIBOBJS=$ac_ltlibobjs
22572
22573
22574 if test -n "$EXEEXT"; then
22575  am__EXEEXT_TRUE=
22576  am__EXEEXT_FALSE='#'
22577else
22578  am__EXEEXT_TRUE='#'
22579  am__EXEEXT_FALSE=
22580fi
22581
22582if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22583  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
22584Usually this means the macro was only invoked conditionally." "$LINENO" 5
22585fi
22586if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22587  as_fn_error "conditional \"AMDEP\" was never defined.
22588Usually this means the macro was only invoked conditionally." "$LINENO" 5
22589fi
22590if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22591  as_fn_error "conditional \"am__fastdepCC\" was never defined.
22592Usually this means the macro was only invoked conditionally." "$LINENO" 5
22593fi
22594if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22595  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
22596Usually this means the macro was only invoked conditionally." "$LINENO" 5
22597fi
22598if test -z "${DBUS_WIN_TRUE}" && test -z "${DBUS_WIN_FALSE}"; then
22599  as_fn_error "conditional \"DBUS_WIN\" was never defined.
22600Usually this means the macro was only invoked conditionally." "$LINENO" 5
22601fi
22602if test -z "${DBUS_WINCE_TRUE}" && test -z "${DBUS_WINCE_FALSE}"; then
22603  as_fn_error "conditional \"DBUS_WINCE\" was never defined.
22604Usually this means the macro was only invoked conditionally." "$LINENO" 5
22605fi
22606if test -z "${DBUS_UNIX_TRUE}" && test -z "${DBUS_UNIX_FALSE}"; then
22607  as_fn_error "conditional \"DBUS_UNIX\" was never defined.
22608Usually this means the macro was only invoked conditionally." "$LINENO" 5
22609fi
22610if test -z "${DBUS_CYGWIN_TRUE}" && test -z "${DBUS_CYGWIN_FALSE}"; then
22611  as_fn_error "conditional \"DBUS_CYGWIN\" was never defined.
22612Usually this means the macro was only invoked conditionally." "$LINENO" 5
22613fi
22614if test -z "${DBUS_BUILD_TESTS_TRUE}" && test -z "${DBUS_BUILD_TESTS_FALSE}"; then
22615  as_fn_error "conditional \"DBUS_BUILD_TESTS\" was never defined.
22616Usually this means the macro was only invoked conditionally." "$LINENO" 5
22617fi
22618if test -z "${DBUS_ENABLE_EMBEDDED_TESTS_TRUE}" && test -z "${DBUS_ENABLE_EMBEDDED_TESTS_FALSE}"; then
22619  as_fn_error "conditional \"DBUS_ENABLE_EMBEDDED_TESTS\" was never defined.
22620Usually this means the macro was only invoked conditionally." "$LINENO" 5
22621fi
22622if test -z "${DBUS_ENABLE_MODULAR_TESTS_TRUE}" && test -z "${DBUS_ENABLE_MODULAR_TESTS_FALSE}"; then
22623  as_fn_error "conditional \"DBUS_ENABLE_MODULAR_TESTS\" was never defined.
22624Usually this means the macro was only invoked conditionally." "$LINENO" 5
22625fi
22626if test -z "${DBUS_WITH_GLIB_TRUE}" && test -z "${DBUS_WITH_GLIB_FALSE}"; then
22627  as_fn_error "conditional \"DBUS_WITH_GLIB\" was never defined.
22628Usually this means the macro was only invoked conditionally." "$LINENO" 5
22629fi
22630if test -z "${DBUS_ENABLE_INSTALLED_TESTS_TRUE}" && test -z "${DBUS_ENABLE_INSTALLED_TESTS_FALSE}"; then
22631  as_fn_error "conditional \"DBUS_ENABLE_INSTALLED_TESTS\" was never defined.
22632Usually this means the macro was only invoked conditionally." "$LINENO" 5
22633fi
22634
22635if test -z "${DBUS_USE_EXPAT_TRUE}" && test -z "${DBUS_USE_EXPAT_FALSE}"; then
22636  as_fn_error "conditional \"DBUS_USE_EXPAT\" was never defined.
22637Usually this means the macro was only invoked conditionally." "$LINENO" 5
22638fi
22639if test -z "${DBUS_USE_LIBXML_TRUE}" && test -z "${DBUS_USE_LIBXML_FALSE}"; then
22640  as_fn_error "conditional \"DBUS_USE_LIBXML\" was never defined.
22641Usually this means the macro was only invoked conditionally." "$LINENO" 5
22642fi
22643if test -z "${HAVE_SELINUX_TRUE}" && test -z "${HAVE_SELINUX_FALSE}"; then
22644  as_fn_error "conditional \"HAVE_SELINUX\" was never defined.
22645Usually this means the macro was only invoked conditionally." "$LINENO" 5
22646fi
22647if test -z "${DBUS_BUS_ENABLE_INOTIFY_TRUE}" && test -z "${DBUS_BUS_ENABLE_INOTIFY_FALSE}"; then
22648  as_fn_error "conditional \"DBUS_BUS_ENABLE_INOTIFY\" was never defined.
22649Usually this means the macro was only invoked conditionally." "$LINENO" 5
22650fi
22651if test -z "${DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_TRUE}" && test -z "${DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX_FALSE}"; then
22652  as_fn_error "conditional \"DBUS_BUS_ENABLE_DNOTIFY_ON_LINUX\" was never defined.
22653Usually this means the macro was only invoked conditionally." "$LINENO" 5
22654fi
22655if test -z "${HAVE_LINUX_EPOLL_TRUE}" && test -z "${HAVE_LINUX_EPOLL_FALSE}"; then
22656  as_fn_error "conditional \"HAVE_LINUX_EPOLL\" was never defined.
22657Usually this means the macro was only invoked conditionally." "$LINENO" 5
22658fi
22659if test -z "${DBUS_BUS_ENABLE_KQUEUE_TRUE}" && test -z "${DBUS_BUS_ENABLE_KQUEUE_FALSE}"; then
22660  as_fn_error "conditional \"DBUS_BUS_ENABLE_KQUEUE\" was never defined.
22661Usually this means the macro was only invoked conditionally." "$LINENO" 5
22662fi
22663if test -z "${DBUS_ENABLE_LAUNCHD_TRUE}" && test -z "${DBUS_ENABLE_LAUNCHD_FALSE}"; then
22664  as_fn_error "conditional \"DBUS_ENABLE_LAUNCHD\" was never defined.
22665Usually this means the macro was only invoked conditionally." "$LINENO" 5
22666fi
22667if test -z "${HAVE_CONSOLE_OWNER_FILE_TRUE}" && test -z "${HAVE_CONSOLE_OWNER_FILE_FALSE}"; then
22668  as_fn_error "conditional \"HAVE_CONSOLE_OWNER_FILE\" was never defined.
22669Usually this means the macro was only invoked conditionally." "$LINENO" 5
22670fi
22671if test -z "${HAVE_LIBAUDIT_TRUE}" && test -z "${HAVE_LIBAUDIT_FALSE}"; then
22672  as_fn_error "conditional \"HAVE_LIBAUDIT\" was never defined.
22673Usually this means the macro was only invoked conditionally." "$LINENO" 5
22674fi
22675if test -z "${DBUS_DOXYGEN_DOCS_ENABLED_TRUE}" && test -z "${DBUS_DOXYGEN_DOCS_ENABLED_FALSE}"; then
22676  as_fn_error "conditional \"DBUS_DOXYGEN_DOCS_ENABLED\" was never defined.
22677Usually this means the macro was only invoked conditionally." "$LINENO" 5
22678fi
22679if test -z "${DBUS_HAVE_XSLTPROC_TRUE}" && test -z "${DBUS_HAVE_XSLTPROC_FALSE}"; then
22680  as_fn_error "conditional \"DBUS_HAVE_XSLTPROC\" was never defined.
22681Usually this means the macro was only invoked conditionally." "$LINENO" 5
22682fi
22683if test -z "${DBUS_XML_DOCS_ENABLED_TRUE}" && test -z "${DBUS_XML_DOCS_ENABLED_FALSE}"; then
22684  as_fn_error "conditional \"DBUS_XML_DOCS_ENABLED\" was never defined.
22685Usually this means the macro was only invoked conditionally." "$LINENO" 5
22686fi
22687if test -z "${DBUS_HAVE_MAN2HTML_TRUE}" && test -z "${DBUS_HAVE_MAN2HTML_FALSE}"; then
22688  as_fn_error "conditional \"DBUS_HAVE_MAN2HTML\" was never defined.
22689Usually this means the macro was only invoked conditionally." "$LINENO" 5
22690fi
22691if test -z "${DBUS_CAN_UPLOAD_DOCS_TRUE}" && test -z "${DBUS_CAN_UPLOAD_DOCS_FALSE}"; then
22692  as_fn_error "conditional \"DBUS_CAN_UPLOAD_DOCS\" was never defined.
22693Usually this means the macro was only invoked conditionally." "$LINENO" 5
22694fi
22695if test -z "${DBUS_INIT_SCRIPTS_RED_HAT_TRUE}" && test -z "${DBUS_INIT_SCRIPTS_RED_HAT_FALSE}"; then
22696  as_fn_error "conditional \"DBUS_INIT_SCRIPTS_RED_HAT\" was never defined.
22697Usually this means the macro was only invoked conditionally." "$LINENO" 5
22698fi
22699if test -z "${DBUS_INIT_SCRIPTS_SLACKWARE_TRUE}" && test -z "${DBUS_INIT_SCRIPTS_SLACKWARE_FALSE}"; then
22700  as_fn_error "conditional \"DBUS_INIT_SCRIPTS_SLACKWARE\" was never defined.
22701Usually this means the macro was only invoked conditionally." "$LINENO" 5
22702fi
22703if test -z "${DBUS_INIT_SCRIPTS_CYGWIN_TRUE}" && test -z "${DBUS_INIT_SCRIPTS_CYGWIN_FALSE}"; then
22704  as_fn_error "conditional \"DBUS_INIT_SCRIPTS_CYGWIN\" was never defined.
22705Usually this means the macro was only invoked conditionally." "$LINENO" 5
22706fi
22707if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then
22708  as_fn_error "conditional \"HAVE_SYSTEMD\" was never defined.
22709Usually this means the macro was only invoked conditionally." "$LINENO" 5
22710fi
22711
22712: ${CONFIG_STATUS=./config.status}
22713ac_write_fail=0
22714ac_clean_files_save=$ac_clean_files
22715ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22716{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22717$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22718as_write_fail=0
22719cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22720#! $SHELL
22721# Generated by $as_me.
22722# Run this file to recreate the current configuration.
22723# Compiler output produced by configure, useful for debugging
22724# configure, is in config.log if it exists.
22725
22726debug=false
22727ac_cs_recheck=false
22728ac_cs_silent=false
22729
22730SHELL=\${CONFIG_SHELL-$SHELL}
22731export SHELL
22732_ASEOF
22733cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22734## -------------------- ##
22735## M4sh Initialization. ##
22736## -------------------- ##
22737
22738# Be more Bourne compatible
22739DUALCASE=1; export DUALCASE # for MKS sh
22740if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22741  emulate sh
22742  NULLCMD=:
22743  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22744  # is contrary to our usage.  Disable this feature.
22745  alias -g '${1+"$@"}'='"$@"'
22746  setopt NO_GLOB_SUBST
22747else
22748  case `(set -o) 2>/dev/null` in @%:@(
22749  *posix*) :
22750    set -o posix ;; @%:@(
22751  *) :
22752     ;;
22753esac
22754fi
22755
22756
22757as_nl='
22758'
22759export as_nl
22760# Printing a long string crashes Solaris 7 /usr/bin/printf.
22761as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22762as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22763as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22764# Prefer a ksh shell builtin over an external printf program on Solaris,
22765# but without wasting forks for bash or zsh.
22766if test -z "$BASH_VERSION$ZSH_VERSION" \
22767    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22768  as_echo='print -r --'
22769  as_echo_n='print -rn --'
22770elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22771  as_echo='printf %s\n'
22772  as_echo_n='printf %s'
22773else
22774  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22775    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
22776    as_echo_n='/usr/ucb/echo -n'
22777  else
22778    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22779    as_echo_n_body='eval
22780      arg=$1;
22781      case $arg in @%:@(
22782      *"$as_nl"*)
22783	expr "X$arg" : "X\\(.*\\)$as_nl";
22784	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22785      esac;
22786      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22787    '
22788    export as_echo_n_body
22789    as_echo_n='sh -c $as_echo_n_body as_echo'
22790  fi
22791  export as_echo_body
22792  as_echo='sh -c $as_echo_body as_echo'
22793fi
22794
22795# The user is always right.
22796if test "${PATH_SEPARATOR+set}" != set; then
22797  PATH_SEPARATOR=:
22798  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22799    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22800      PATH_SEPARATOR=';'
22801  }
22802fi
22803
22804
22805# IFS
22806# We need space, tab and new line, in precisely that order.  Quoting is
22807# there to prevent editors from complaining about space-tab.
22808# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22809# splitting by setting IFS to empty value.)
22810IFS=" ""	$as_nl"
22811
22812# Find who we are.  Look in the path if we contain no directory separator.
22813case $0 in @%:@((
22814  *[\\/]* ) as_myself=$0 ;;
22815  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22816for as_dir in $PATH
22817do
22818  IFS=$as_save_IFS
22819  test -z "$as_dir" && as_dir=.
22820    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22821  done
22822IFS=$as_save_IFS
22823
22824     ;;
22825esac
22826# We did not find ourselves, most probably we were run as `sh COMMAND'
22827# in which case we are not to be found in the path.
22828if test "x$as_myself" = x; then
22829  as_myself=$0
22830fi
22831if test ! -f "$as_myself"; then
22832  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22833  exit 1
22834fi
22835
22836# Unset variables that we do not need and which cause bugs (e.g. in
22837# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
22838# suppresses any "Segmentation fault" message there.  '((' could
22839# trigger a bug in pdksh 5.2.14.
22840for as_var in BASH_ENV ENV MAIL MAILPATH
22841do eval test x\${$as_var+set} = xset \
22842  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22843done
22844PS1='$ '
22845PS2='> '
22846PS4='+ '
22847
22848# NLS nuisances.
22849LC_ALL=C
22850export LC_ALL
22851LANGUAGE=C
22852export LANGUAGE
22853
22854# CDPATH.
22855(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22856
22857
22858@%:@ as_fn_error ERROR [LINENO LOG_FD]
22859@%:@ ---------------------------------
22860@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22861@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22862@%:@ script with status @S|@?, using 1 if that was 0.
22863as_fn_error ()
22864{
22865  as_status=$?; test $as_status -eq 0 && as_status=1
22866  if test "$3"; then
22867    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22868    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
22869  fi
22870  $as_echo "$as_me: error: $1" >&2
22871  as_fn_exit $as_status
22872} @%:@ as_fn_error
22873
22874
22875@%:@ as_fn_set_status STATUS
22876@%:@ -----------------------
22877@%:@ Set @S|@? to STATUS, without forking.
22878as_fn_set_status ()
22879{
22880  return $1
22881} @%:@ as_fn_set_status
22882
22883@%:@ as_fn_exit STATUS
22884@%:@ -----------------
22885@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22886as_fn_exit ()
22887{
22888  set +e
22889  as_fn_set_status $1
22890  exit $1
22891} @%:@ as_fn_exit
22892
22893@%:@ as_fn_unset VAR
22894@%:@ ---------------
22895@%:@ Portably unset VAR.
22896as_fn_unset ()
22897{
22898  { eval $1=; unset $1;}
22899}
22900as_unset=as_fn_unset
22901@%:@ as_fn_append VAR VALUE
22902@%:@ ----------------------
22903@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
22904@%:@ advantage of any shell optimizations that allow amortized linear growth over
22905@%:@ repeated appends, instead of the typical quadratic growth present in naive
22906@%:@ implementations.
22907if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
22908  eval 'as_fn_append ()
22909  {
22910    eval $1+=\$2
22911  }'
22912else
22913  as_fn_append ()
22914  {
22915    eval $1=\$$1\$2
22916  }
22917fi # as_fn_append
22918
22919@%:@ as_fn_arith ARG...
22920@%:@ ------------------
22921@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
22922@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
22923@%:@ must be portable across @S|@(()) and expr.
22924if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
22925  eval 'as_fn_arith ()
22926  {
22927    as_val=$(( $* ))
22928  }'
22929else
22930  as_fn_arith ()
22931  {
22932    as_val=`expr "$@" || test $? -eq 1`
22933  }
22934fi # as_fn_arith
22935
22936
22937if expr a : '\(a\)' >/dev/null 2>&1 &&
22938   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22939  as_expr=expr
22940else
22941  as_expr=false
22942fi
22943
22944if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22945  as_basename=basename
22946else
22947  as_basename=false
22948fi
22949
22950if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22951  as_dirname=dirname
22952else
22953  as_dirname=false
22954fi
22955
22956as_me=`$as_basename -- "$0" ||
22957$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22958	 X"$0" : 'X\(//\)$' \| \
22959	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22960$as_echo X/"$0" |
22961    sed '/^.*\/\([^/][^/]*\)\/*$/{
22962	    s//\1/
22963	    q
22964	  }
22965	  /^X\/\(\/\/\)$/{
22966	    s//\1/
22967	    q
22968	  }
22969	  /^X\/\(\/\).*/{
22970	    s//\1/
22971	    q
22972	  }
22973	  s/.*/./; q'`
22974
22975# Avoid depending upon Character Ranges.
22976as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22977as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22978as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22979as_cr_digits='0123456789'
22980as_cr_alnum=$as_cr_Letters$as_cr_digits
22981
22982ECHO_C= ECHO_N= ECHO_T=
22983case `echo -n x` in @%:@(((((
22984-n*)
22985  case `echo 'xy\c'` in
22986  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
22987  xy)  ECHO_C='\c';;
22988  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
22989       ECHO_T='	';;
22990  esac;;
22991*)
22992  ECHO_N='-n';;
22993esac
22994
22995rm -f conf$$ conf$$.exe conf$$.file
22996if test -d conf$$.dir; then
22997  rm -f conf$$.dir/conf$$.file
22998else
22999  rm -f conf$$.dir
23000  mkdir conf$$.dir 2>/dev/null
23001fi
23002if (echo >conf$$.file) 2>/dev/null; then
23003  if ln -s conf$$.file conf$$ 2>/dev/null; then
23004    as_ln_s='ln -s'
23005    # ... but there are two gotchas:
23006    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23007    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23008    # In both cases, we have to default to `cp -p'.
23009    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23010      as_ln_s='cp -p'
23011  elif ln conf$$.file conf$$ 2>/dev/null; then
23012    as_ln_s=ln
23013  else
23014    as_ln_s='cp -p'
23015  fi
23016else
23017  as_ln_s='cp -p'
23018fi
23019rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23020rmdir conf$$.dir 2>/dev/null
23021
23022
23023@%:@ as_fn_mkdir_p
23024@%:@ -------------
23025@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
23026as_fn_mkdir_p ()
23027{
23028
23029  case $as_dir in #(
23030  -*) as_dir=./$as_dir;;
23031  esac
23032  test -d "$as_dir" || eval $as_mkdir_p || {
23033    as_dirs=
23034    while :; do
23035      case $as_dir in #(
23036      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23037      *) as_qdir=$as_dir;;
23038      esac
23039      as_dirs="'$as_qdir' $as_dirs"
23040      as_dir=`$as_dirname -- "$as_dir" ||
23041$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23042	 X"$as_dir" : 'X\(//\)[^/]' \| \
23043	 X"$as_dir" : 'X\(//\)$' \| \
23044	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23045$as_echo X"$as_dir" |
23046    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23047	    s//\1/
23048	    q
23049	  }
23050	  /^X\(\/\/\)[^/].*/{
23051	    s//\1/
23052	    q
23053	  }
23054	  /^X\(\/\/\)$/{
23055	    s//\1/
23056	    q
23057	  }
23058	  /^X\(\/\).*/{
23059	    s//\1/
23060	    q
23061	  }
23062	  s/.*/./; q'`
23063      test -d "$as_dir" && break
23064    done
23065    test -z "$as_dirs" || eval "mkdir $as_dirs"
23066  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
23067
23068
23069} @%:@ as_fn_mkdir_p
23070if mkdir -p . 2>/dev/null; then
23071  as_mkdir_p='mkdir -p "$as_dir"'
23072else
23073  test -d ./-p && rmdir ./-p
23074  as_mkdir_p=false
23075fi
23076
23077if test -x / >/dev/null 2>&1; then
23078  as_test_x='test -x'
23079else
23080  if ls -dL / >/dev/null 2>&1; then
23081    as_ls_L_option=L
23082  else
23083    as_ls_L_option=
23084  fi
23085  as_test_x='
23086    eval sh -c '\''
23087      if test -d "$1"; then
23088	test -d "$1/.";
23089      else
23090	case $1 in @%:@(
23091	-*)set "./$1";;
23092	esac;
23093	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
23094	???[sx]*):;;*)false;;esac;fi
23095    '\'' sh
23096  '
23097fi
23098as_executable_p=$as_test_x
23099
23100# Sed expression to map a string onto a valid CPP name.
23101as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23102
23103# Sed expression to map a string onto a valid variable name.
23104as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23105
23106
23107exec 6>&1
23108## ----------------------------------- ##
23109## Main body of $CONFIG_STATUS script. ##
23110## ----------------------------------- ##
23111_ASEOF
23112test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23113
23114cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23115# Save the log message, to keep $0 and so on meaningful, and to
23116# report actual input values of CONFIG_FILES etc. instead of their
23117# values after options handling.
23118ac_log="
23119This file was extended by dbus $as_me 1.6.8, which was
23120generated by GNU Autoconf 2.65.  Invocation command line was
23121
23122  CONFIG_FILES    = $CONFIG_FILES
23123  CONFIG_HEADERS  = $CONFIG_HEADERS
23124  CONFIG_LINKS    = $CONFIG_LINKS
23125  CONFIG_COMMANDS = $CONFIG_COMMANDS
23126  $ $0 $@
23127
23128on `(hostname || uname -n) 2>/dev/null | sed 1q`
23129"
23130
23131_ACEOF
23132
23133case $ac_config_files in *"
23134"*) set x $ac_config_files; shift; ac_config_files=$*;;
23135esac
23136
23137case $ac_config_headers in *"
23138"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23139esac
23140
23141
23142cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23143# Files that config.status was made for.
23144config_files="$ac_config_files"
23145config_headers="$ac_config_headers"
23146config_commands="$ac_config_commands"
23147
23148_ACEOF
23149
23150cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23151ac_cs_usage="\
23152\`$as_me' instantiates files and other configuration actions
23153from templates according to the current configuration.  Unless the files
23154and actions are specified as TAGs, all are instantiated by default.
23155
23156Usage: $0 [OPTION]... [TAG]...
23157
23158  -h, --help       print this help, then exit
23159  -V, --version    print version number and configuration settings, then exit
23160      --config     print configuration, then exit
23161  -q, --quiet, --silent
23162                   do not print progress messages
23163  -d, --debug      don't remove temporary files
23164      --recheck    update $as_me by reconfiguring in the same conditions
23165      --file=FILE[:TEMPLATE] 
23166                   instantiate the configuration file FILE
23167      --header=FILE[:TEMPLATE] 
23168                   instantiate the configuration header FILE
23169
23170Configuration files:
23171$config_files
23172
23173Configuration headers:
23174$config_headers
23175
23176Configuration commands:
23177$config_commands
23178
23179Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=dbus>."
23180
23181_ACEOF
23182cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23183ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23184ac_cs_version="\\
23185dbus config.status 1.6.8
23186configured by $0, generated by GNU Autoconf 2.65,
23187  with options \\"\$ac_cs_config\\"
23188
23189Copyright (C) 2009 Free Software Foundation, Inc.
23190This config.status script is free software; the Free Software Foundation
23191gives unlimited permission to copy, distribute and modify it."
23192
23193ac_pwd='$ac_pwd'
23194srcdir='$srcdir'
23195INSTALL='$INSTALL'
23196MKDIR_P='$MKDIR_P'
23197AWK='$AWK'
23198test -n "\$AWK" || AWK=awk
23199_ACEOF
23200
23201cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23202# The default lists apply if the user does not specify any file.
23203ac_need_defaults=:
23204while test $# != 0
23205do
23206  case $1 in
23207  --*=*)
23208    ac_option=`expr "X$1" : 'X\([^=]*\)='`
23209    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23210    ac_shift=:
23211    ;;
23212  *)
23213    ac_option=$1
23214    ac_optarg=$2
23215    ac_shift=shift
23216    ;;
23217  esac
23218
23219  case $ac_option in
23220  # Handling of the options.
23221  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23222    ac_cs_recheck=: ;;
23223  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23224    $as_echo "$ac_cs_version"; exit ;;
23225  --config | --confi | --conf | --con | --co | --c )
23226    $as_echo "$ac_cs_config"; exit ;;
23227  --debug | --debu | --deb | --de | --d | -d )
23228    debug=: ;;
23229  --file | --fil | --fi | --f )
23230    $ac_shift
23231    case $ac_optarg in
23232    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23233    esac
23234    as_fn_append CONFIG_FILES " '$ac_optarg'"
23235    ac_need_defaults=false;;
23236  --header | --heade | --head | --hea )
23237    $ac_shift
23238    case $ac_optarg in
23239    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23240    esac
23241    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23242    ac_need_defaults=false;;
23243  --he | --h)
23244    # Conflict between --help and --header
23245    as_fn_error "ambiguous option: \`$1'
23246Try \`$0 --help' for more information.";;
23247  --help | --hel | -h )
23248    $as_echo "$ac_cs_usage"; exit ;;
23249  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23250  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23251    ac_cs_silent=: ;;
23252
23253  # This is an error.
23254  -*) as_fn_error "unrecognized option: \`$1'
23255Try \`$0 --help' for more information." ;;
23256
23257  *) as_fn_append ac_config_targets " $1"
23258     ac_need_defaults=false ;;
23259
23260  esac
23261  shift
23262done
23263
23264ac_configure_extra_args=
23265
23266if $ac_cs_silent; then
23267  exec 6>/dev/null
23268  ac_configure_extra_args="$ac_configure_extra_args --silent"
23269fi
23270
23271_ACEOF
23272cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23273if \$ac_cs_recheck; then
23274  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23275  shift
23276  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23277  CONFIG_SHELL='$SHELL'
23278  export CONFIG_SHELL
23279  exec "\$@"
23280fi
23281
23282_ACEOF
23283cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23284exec 5>>config.log
23285{
23286  echo
23287  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
23288@%:@@%:@ Running $as_me. @%:@@%:@
23289_ASBOX
23290  $as_echo "$ac_log"
23291} >&5
23292
23293_ACEOF
23294cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23295#
23296# INIT-COMMANDS
23297#
23298AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23299
23300
23301# The HP-UX ksh and POSIX shell print the target directory to stdout
23302# if CDPATH is set.
23303(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23304
23305sed_quote_subst='$sed_quote_subst'
23306double_quote_subst='$double_quote_subst'
23307delay_variable_subst='$delay_variable_subst'
23308macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23309macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23310enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23311enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23312pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23313enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23314SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23315ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23316PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23317host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23318host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23319host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23320build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23321build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23322build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23323SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23324Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23325GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23326EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23327FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23328LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23329NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23330LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23331max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23332ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23333exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23334lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23335lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23336lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23337lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23338lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23339reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23340reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23341OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23342deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23343file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23344file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23345want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23346DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23347sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23348AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23349AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23350archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23351STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23352RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23353old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23354old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23355old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23356lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23357CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23358CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23359compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23360GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23361lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23362lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23363lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23364lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
23365nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23366lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23367objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23368MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23369lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23370lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23371lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23372lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23373lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23374need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23375MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23376DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23377NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23378LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23379OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23380OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23381libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23382shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23383extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23384archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23385enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23386export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23387whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23388compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23389old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23390old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23391archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23392archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23393module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23394module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23395with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23396allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23397no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23398hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23399hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23400hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23401hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23402hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23403hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23404hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23405inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23406link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23407always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23408export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23409exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23410include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23411prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23412postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23413file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23414variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23415need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23416need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23417version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23418runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23419shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23420shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23421libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23422library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23423soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23424install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23425postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23426postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23427finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23428finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23429hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23430sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23431sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
23432hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23433enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23434enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23435enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23436old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23437striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23438compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23439predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23440postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23441predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23442postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23443compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23444LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23445LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
23446reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23447reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
23448reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23449reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
23450old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23451old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
23452compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23453compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
23454GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23455GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
23456lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23457lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
23458lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23459lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
23460lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23461lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
23462lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23463lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
23464lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23465lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
23466archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23467archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
23468enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23469enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
23470export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23471export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
23472whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23473whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
23474compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23475compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
23476old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23477old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
23478old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23479old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
23480archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23481archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
23482archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23483archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
23484module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23485module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
23486module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23487module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
23488with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23489with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
23490allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23491allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
23492no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23493no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
23494hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23495hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
23496hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23497hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
23498hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23499hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
23500hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23501hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
23502hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23503hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
23504hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23505hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
23506hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23507hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
23508inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23509inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
23510link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23511link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
23512always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23513always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
23514export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23515export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
23516exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23517exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
23518include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23519include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
23520prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23521prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
23522postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23523postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
23524file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23525file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
23526hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23527hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
23528compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23529compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
23530predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23531predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
23532postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23533postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
23534predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23535predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
23536postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23537postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
23538compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23539compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
23540
23541LTCC='$LTCC'
23542LTCFLAGS='$LTCFLAGS'
23543compiler='$compiler_DEFAULT'
23544
23545# A function that is used when there is no print builtin or printf.
23546func_fallback_echo ()
23547{
23548  eval 'cat <<_LTECHO_EOF
23549\$1
23550_LTECHO_EOF'
23551}
23552
23553# Quote evaled strings.
23554for var in SHELL \
23555ECHO \
23556PATH_SEPARATOR \
23557SED \
23558GREP \
23559EGREP \
23560FGREP \
23561LD \
23562NM \
23563LN_S \
23564lt_SP2NL \
23565lt_NL2SP \
23566reload_flag \
23567OBJDUMP \
23568deplibs_check_method \
23569file_magic_cmd \
23570file_magic_glob \
23571want_nocaseglob \
23572DLLTOOL \
23573sharedlib_from_linklib_cmd \
23574AR \
23575AR_FLAGS \
23576archiver_list_spec \
23577STRIP \
23578RANLIB \
23579CC \
23580CFLAGS \
23581compiler \
23582lt_cv_sys_global_symbol_pipe \
23583lt_cv_sys_global_symbol_to_cdecl \
23584lt_cv_sys_global_symbol_to_c_name_address \
23585lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23586nm_file_list_spec \
23587lt_prog_compiler_no_builtin_flag \
23588lt_prog_compiler_pic \
23589lt_prog_compiler_wl \
23590lt_prog_compiler_static \
23591lt_cv_prog_compiler_c_o \
23592need_locks \
23593MANIFEST_TOOL \
23594DSYMUTIL \
23595NMEDIT \
23596LIPO \
23597OTOOL \
23598OTOOL64 \
23599shrext_cmds \
23600export_dynamic_flag_spec \
23601whole_archive_flag_spec \
23602compiler_needs_object \
23603with_gnu_ld \
23604allow_undefined_flag \
23605no_undefined_flag \
23606hardcode_libdir_flag_spec \
23607hardcode_libdir_separator \
23608exclude_expsyms \
23609include_expsyms \
23610file_list_spec \
23611variables_saved_for_relink \
23612libname_spec \
23613library_names_spec \
23614soname_spec \
23615install_override_mode \
23616finish_eval \
23617old_striplib \
23618striplib \
23619compiler_lib_search_dirs \
23620predep_objects \
23621postdep_objects \
23622predeps \
23623postdeps \
23624compiler_lib_search_path \
23625LD_CXX \
23626LD_RC \
23627reload_flag_CXX \
23628reload_flag_RC \
23629compiler_CXX \
23630compiler_RC \
23631lt_prog_compiler_no_builtin_flag_CXX \
23632lt_prog_compiler_no_builtin_flag_RC \
23633lt_prog_compiler_pic_CXX \
23634lt_prog_compiler_pic_RC \
23635lt_prog_compiler_wl_CXX \
23636lt_prog_compiler_wl_RC \
23637lt_prog_compiler_static_CXX \
23638lt_prog_compiler_static_RC \
23639lt_cv_prog_compiler_c_o_CXX \
23640lt_cv_prog_compiler_c_o_RC \
23641export_dynamic_flag_spec_CXX \
23642export_dynamic_flag_spec_RC \
23643whole_archive_flag_spec_CXX \
23644whole_archive_flag_spec_RC \
23645compiler_needs_object_CXX \
23646compiler_needs_object_RC \
23647with_gnu_ld_CXX \
23648with_gnu_ld_RC \
23649allow_undefined_flag_CXX \
23650allow_undefined_flag_RC \
23651no_undefined_flag_CXX \
23652no_undefined_flag_RC \
23653hardcode_libdir_flag_spec_CXX \
23654hardcode_libdir_flag_spec_RC \
23655hardcode_libdir_separator_CXX \
23656hardcode_libdir_separator_RC \
23657exclude_expsyms_CXX \
23658exclude_expsyms_RC \
23659include_expsyms_CXX \
23660include_expsyms_RC \
23661file_list_spec_CXX \
23662file_list_spec_RC \
23663compiler_lib_search_dirs_CXX \
23664compiler_lib_search_dirs_RC \
23665predep_objects_CXX \
23666predep_objects_RC \
23667postdep_objects_CXX \
23668postdep_objects_RC \
23669predeps_CXX \
23670predeps_RC \
23671postdeps_CXX \
23672postdeps_RC \
23673compiler_lib_search_path_CXX \
23674compiler_lib_search_path_RC; do
23675    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23676    *[\\\\\\\`\\"\\\$]*)
23677      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23678      ;;
23679    *)
23680      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23681      ;;
23682    esac
23683done
23684
23685# Double-quote double-evaled strings.
23686for var in reload_cmds \
23687old_postinstall_cmds \
23688old_postuninstall_cmds \
23689old_archive_cmds \
23690extract_expsyms_cmds \
23691old_archive_from_new_cmds \
23692old_archive_from_expsyms_cmds \
23693archive_cmds \
23694archive_expsym_cmds \
23695module_cmds \
23696module_expsym_cmds \
23697export_symbols_cmds \
23698prelink_cmds \
23699postlink_cmds \
23700postinstall_cmds \
23701postuninstall_cmds \
23702finish_cmds \
23703sys_lib_search_path_spec \
23704sys_lib_dlsearch_path_spec \
23705reload_cmds_CXX \
23706reload_cmds_RC \
23707old_archive_cmds_CXX \
23708old_archive_cmds_RC \
23709old_archive_from_new_cmds_CXX \
23710old_archive_from_new_cmds_RC \
23711old_archive_from_expsyms_cmds_CXX \
23712old_archive_from_expsyms_cmds_RC \
23713archive_cmds_CXX \
23714archive_cmds_RC \
23715archive_expsym_cmds_CXX \
23716archive_expsym_cmds_RC \
23717module_cmds_CXX \
23718module_cmds_RC \
23719module_expsym_cmds_CXX \
23720module_expsym_cmds_RC \
23721export_symbols_cmds_CXX \
23722export_symbols_cmds_RC \
23723prelink_cmds_CXX \
23724prelink_cmds_RC \
23725postlink_cmds_CXX \
23726postlink_cmds_RC; do
23727    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23728    *[\\\\\\\`\\"\\\$]*)
23729      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23730      ;;
23731    *)
23732      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23733      ;;
23734    esac
23735done
23736
23737ac_aux_dir='$ac_aux_dir'
23738xsi_shell='$xsi_shell'
23739lt_shell_append='$lt_shell_append'
23740
23741# See if we are running on zsh, and set the options which allow our
23742# commands through without removal of \ escapes INIT.
23743if test -n "\${ZSH_VERSION+set}" ; then
23744   setopt NO_GLOB_SUBST
23745fi
23746
23747
23748    PACKAGE='$PACKAGE'
23749    VERSION='$VERSION'
23750    TIMESTAMP='$TIMESTAMP'
23751    RM='$RM'
23752    ofile='$ofile'
23753
23754
23755
23756
23757
23758
23759
23760
23761_ACEOF
23762
23763cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23764
23765# Handling of arguments.
23766for ac_config_target in $ac_config_targets
23767do
23768  case $ac_config_target in
23769    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23770    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23771    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23772    "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
23773    "dbus/versioninfo.rc") CONFIG_FILES="$CONFIG_FILES dbus/versioninfo.rc" ;;
23774    "dbus/dbus-arch-deps.h") CONFIG_FILES="$CONFIG_FILES dbus/dbus-arch-deps.h" ;;
23775    "bus/system.conf") CONFIG_FILES="$CONFIG_FILES bus/system.conf" ;;
23776    "bus/session.conf") CONFIG_FILES="$CONFIG_FILES bus/session.conf" ;;
23777    "bus/messagebus") CONFIG_FILES="$CONFIG_FILES bus/messagebus" ;;
23778    "bus/messagebus-config") CONFIG_FILES="$CONFIG_FILES bus/messagebus-config" ;;
23779    "bus/org.freedesktop.dbus-session.plist") CONFIG_FILES="$CONFIG_FILES bus/org.freedesktop.dbus-session.plist" ;;
23780    "bus/rc.messagebus") CONFIG_FILES="$CONFIG_FILES bus/rc.messagebus" ;;
23781    "bus/dbus.service") CONFIG_FILES="$CONFIG_FILES bus/dbus.service" ;;
23782    "bus/dbus.socket") CONFIG_FILES="$CONFIG_FILES bus/dbus.socket" ;;
23783    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23784    "dbus/Makefile") CONFIG_FILES="$CONFIG_FILES dbus/Makefile" ;;
23785    "bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
23786    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23787    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
23788    "test/name-test/Makefile") CONFIG_FILES="$CONFIG_FILES test/name-test/Makefile" ;;
23789    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
23790    "doc/dbus-daemon.1") CONFIG_FILES="$CONFIG_FILES doc/dbus-daemon.1" ;;
23791    "dbus-1.pc") CONFIG_FILES="$CONFIG_FILES dbus-1.pc" ;;
23792    "dbus-1-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES dbus-1-uninstalled.pc" ;;
23793    "test/data/valid-config-files/debug-allow-all.conf") CONFIG_FILES="$CONFIG_FILES test/data/valid-config-files/debug-allow-all.conf" ;;
23794    "test/data/valid-config-files/debug-allow-all-sha1.conf") CONFIG_FILES="$CONFIG_FILES test/data/valid-config-files/debug-allow-all-sha1.conf" ;;
23795    "test/data/valid-config-files-system/debug-allow-all-pass.conf") CONFIG_FILES="$CONFIG_FILES test/data/valid-config-files-system/debug-allow-all-pass.conf" ;;
23796    "test/data/valid-config-files-system/debug-allow-all-fail.conf") CONFIG_FILES="$CONFIG_FILES test/data/valid-config-files-system/debug-allow-all-fail.conf" ;;
23797    "test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service" ;;
23798    "test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoService.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoService.service" ;;
23799    "test/data/valid-service-files/org.freedesktop.DBus.TestSuiteForkingEchoService.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files/org.freedesktop.DBus.TestSuiteForkingEchoService.service" ;;
23800    "test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfaultService.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfaultService.service" ;;
23801    "test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service" ;;
23802    "test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service" ;;
23803    "test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service" ;;
23804    "test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteSegfaultService.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteSegfaultService.service" ;;
23805    "test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service" ;;
23806    "test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service") CONFIG_FILES="$CONFIG_FILES test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service" ;;
23807    "test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoExec.service") CONFIG_FILES="$CONFIG_FILES test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoExec.service" ;;
23808    "test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoUser.service") CONFIG_FILES="$CONFIG_FILES test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoUser.service" ;;
23809    "test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoService.service") CONFIG_FILES="$CONFIG_FILES test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoService.service" ;;
23810
23811  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23812  esac
23813done
23814
23815
23816# If the user did not use the arguments to specify the items to instantiate,
23817# then the envvar interface is used.  Set only those that are not.
23818# We use the long form for the default assignment because of an extremely
23819# bizarre bug on SunOS 4.1.3.
23820if $ac_need_defaults; then
23821  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23822  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23823  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23824fi
23825
23826# Have a temporary directory for convenience.  Make it in the build tree
23827# simply because there is no reason against having it here, and in addition,
23828# creating and moving files from /tmp can sometimes cause problems.
23829# Hook for its removal unless debugging.
23830# Note that there is a small window in which the directory will not be cleaned:
23831# after its creation but before its name has been assigned to `$tmp'.
23832$debug ||
23833{
23834  tmp=
23835  trap 'exit_status=$?
23836  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23837' 0
23838  trap 'as_fn_exit 1' 1 2 13 15
23839}
23840# Create a (secure) tmp directory for tmp files.
23841
23842{
23843  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23844  test -n "$tmp" && test -d "$tmp"
23845}  ||
23846{
23847  tmp=./conf$$-$RANDOM
23848  (umask 077 && mkdir "$tmp")
23849} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
23850
23851# Set up the scripts for CONFIG_FILES section.
23852# No need to generate them if there are no CONFIG_FILES.
23853# This happens for instance with `./config.status config.h'.
23854if test -n "$CONFIG_FILES"; then
23855
23856
23857ac_cr=`echo X | tr X '\015'`
23858# On cygwin, bash can eat \r inside `` if the user requested igncr.
23859# But we know of no other shell where ac_cr would be empty at this
23860# point, so we can use a bashism as a fallback.
23861if test "x$ac_cr" = x; then
23862  eval ac_cr=\$\'\\r\'
23863fi
23864ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23865if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23866  ac_cs_awk_cr='\r'
23867else
23868  ac_cs_awk_cr=$ac_cr
23869fi
23870
23871echo 'BEGIN {' >"$tmp/subs1.awk" &&
23872_ACEOF
23873
23874
23875{
23876  echo "cat >conf$$subs.awk <<_ACEOF" &&
23877  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23878  echo "_ACEOF"
23879} >conf$$subs.sh ||
23880  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23881ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
23882ac_delim='%!_!# '
23883for ac_last_try in false false false false false :; do
23884  . ./conf$$subs.sh ||
23885    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23886
23887  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23888  if test $ac_delim_n = $ac_delim_num; then
23889    break
23890  elif $ac_last_try; then
23891    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
23892  else
23893    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23894  fi
23895done
23896rm -f conf$$subs.sh
23897
23898cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23899cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
23900_ACEOF
23901sed -n '
23902h
23903s/^/S["/; s/!.*/"]=/
23904p
23905g
23906s/^[^!]*!//
23907:repl
23908t repl
23909s/'"$ac_delim"'$//
23910t delim
23911:nl
23912h
23913s/\(.\{148\}\)..*/\1/
23914t more1
23915s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
23916p
23917n
23918b repl
23919:more1
23920s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23921p
23922g
23923s/.\{148\}//
23924t nl
23925:delim
23926h
23927s/\(.\{148\}\)..*/\1/
23928t more2
23929s/["\\]/\\&/g; s/^/"/; s/$/"/
23930p
23931b
23932:more2
23933s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23934p
23935g
23936s/.\{148\}//
23937t delim
23938' <conf$$subs.awk | sed '
23939/^[^""]/{
23940  N
23941  s/\n//
23942}
23943' >>$CONFIG_STATUS || ac_write_fail=1
23944rm -f conf$$subs.awk
23945cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23946_ACAWK
23947cat >>"\$tmp/subs1.awk" <<_ACAWK &&
23948  for (key in S) S_is_set[key] = 1
23949  FS = ""
23950
23951}
23952{
23953  line = $ 0
23954  nfields = split(line, field, "@")
23955  substed = 0
23956  len = length(field[1])
23957  for (i = 2; i < nfields; i++) {
23958    key = field[i]
23959    keylen = length(key)
23960    if (S_is_set[key]) {
23961      value = S[key]
23962      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23963      len += length(value) + length(field[++i])
23964      substed = 1
23965    } else
23966      len += 1 + keylen
23967  }
23968
23969  print line
23970}
23971
23972_ACAWK
23973_ACEOF
23974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23975if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23976  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23977else
23978  cat
23979fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
23980  || as_fn_error "could not setup config files machinery" "$LINENO" 5
23981_ACEOF
23982
23983# VPATH may cause trouble with some makes, so we remove $(srcdir),
23984# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23985# trailing colons and then remove the whole line if VPATH becomes empty
23986# (actually we leave an empty line to preserve line numbers).
23987if test "x$srcdir" = x.; then
23988  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
23989s/:*\$(srcdir):*/:/
23990s/:*\${srcdir}:*/:/
23991s/:*@srcdir@:*/:/
23992s/^\([^=]*=[	 ]*\):*/\1/
23993s/:*$//
23994s/^[^=]*=[	 ]*$//
23995}'
23996fi
23997
23998cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23999fi # test -n "$CONFIG_FILES"
24000
24001# Set up the scripts for CONFIG_HEADERS section.
24002# No need to generate them if there are no CONFIG_HEADERS.
24003# This happens for instance with `./config.status Makefile'.
24004if test -n "$CONFIG_HEADERS"; then
24005cat >"$tmp/defines.awk" <<\_ACAWK ||
24006BEGIN {
24007_ACEOF
24008
24009# Transform confdefs.h into an awk script `defines.awk', embedded as
24010# here-document in config.status, that substitutes the proper values into
24011# config.h.in to produce config.h.
24012
24013# Create a delimiter string that does not exist in confdefs.h, to ease
24014# handling of long lines.
24015ac_delim='%!_!# '
24016for ac_last_try in false false :; do
24017  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
24018  if test -z "$ac_t"; then
24019    break
24020  elif $ac_last_try; then
24021    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
24022  else
24023    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24024  fi
24025done
24026
24027# For the awk script, D is an array of macro values keyed by name,
24028# likewise P contains macro parameters if any.  Preserve backslash
24029# newline sequences.
24030
24031ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24032sed -n '
24033s/.\{148\}/&'"$ac_delim"'/g
24034t rset
24035:rset
24036s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
24037t def
24038d
24039:def
24040s/\\$//
24041t bsnl
24042s/["\\]/\\&/g
24043s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
24044D["\1"]=" \3"/p
24045s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
24046d
24047:bsnl
24048s/["\\]/\\&/g
24049s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
24050D["\1"]=" \3\\\\\\n"\\/p
24051t cont
24052s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24053t cont
24054d
24055:cont
24056n
24057s/.\{148\}/&'"$ac_delim"'/g
24058t clear
24059:clear
24060s/\\$//
24061t bsnlc
24062s/["\\]/\\&/g; s/^/"/; s/$/"/p
24063d
24064:bsnlc
24065s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24066b cont
24067' <confdefs.h | sed '
24068s/'"$ac_delim"'/"\\\
24069"/g' >>$CONFIG_STATUS || ac_write_fail=1
24070
24071cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24072  for (key in D) D_is_set[key] = 1
24073  FS = ""
24074}
24075/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24076  line = \$ 0
24077  split(line, arg, " ")
24078  if (arg[1] == "#") {
24079    defundef = arg[2]
24080    mac1 = arg[3]
24081  } else {
24082    defundef = substr(arg[1], 2)
24083    mac1 = arg[2]
24084  }
24085  split(mac1, mac2, "(") #)
24086  macro = mac2[1]
24087  prefix = substr(line, 1, index(line, defundef) - 1)
24088  if (D_is_set[macro]) {
24089    # Preserve the white space surrounding the "#".
24090    print prefix "define", macro P[macro] D[macro]
24091    next
24092  } else {
24093    # Replace #undef with comments.  This is necessary, for example,
24094    # in the case of _POSIX_SOURCE, which is predefined and required
24095    # on some systems where configure will not decide to define it.
24096    if (defundef == "undef") {
24097      print "/*", prefix defundef, macro, "*/"
24098      next
24099    }
24100  }
24101}
24102{ print }
24103_ACAWK
24104_ACEOF
24105cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24106  as_fn_error "could not setup config headers machinery" "$LINENO" 5
24107fi # test -n "$CONFIG_HEADERS"
24108
24109
24110eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
24111shift
24112for ac_tag
24113do
24114  case $ac_tag in
24115  :[FHLC]) ac_mode=$ac_tag; continue;;
24116  esac
24117  case $ac_mode$ac_tag in
24118  :[FHL]*:*);;
24119  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
24120  :[FH]-) ac_tag=-:-;;
24121  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24122  esac
24123  ac_save_IFS=$IFS
24124  IFS=:
24125  set x $ac_tag
24126  IFS=$ac_save_IFS
24127  shift
24128  ac_file=$1
24129  shift
24130
24131  case $ac_mode in
24132  :L) ac_source=$1;;
24133  :[FH])
24134    ac_file_inputs=
24135    for ac_f
24136    do
24137      case $ac_f in
24138      -) ac_f="$tmp/stdin";;
24139      *) # Look for the file first in the build tree, then in the source tree
24140	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
24141	 # because $ac_f cannot contain `:'.
24142	 test -f "$ac_f" ||
24143	   case $ac_f in
24144	   [\\/$]*) false;;
24145	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24146	   esac ||
24147	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24148      esac
24149      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24150      as_fn_append ac_file_inputs " '$ac_f'"
24151    done
24152
24153    # Let's still pretend it is `configure' which instantiates (i.e., don't
24154    # use $as_me), people would be surprised to read:
24155    #    /* config.h.  Generated by config.status.  */
24156    configure_input='Generated from '`
24157	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24158	`' by configure.'
24159    if test x"$ac_file" != x-; then
24160      configure_input="$ac_file.  $configure_input"
24161      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24162$as_echo "$as_me: creating $ac_file" >&6;}
24163    fi
24164    # Neutralize special characters interpreted by sed in replacement strings.
24165    case $configure_input in #(
24166    *\&* | *\|* | *\\* )
24167       ac_sed_conf_input=`$as_echo "$configure_input" |
24168       sed 's/[\\\\&|]/\\\\&/g'`;; #(
24169    *) ac_sed_conf_input=$configure_input;;
24170    esac
24171
24172    case $ac_tag in
24173    *:-:* | *:-) cat >"$tmp/stdin" \
24174      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
24175    esac
24176    ;;
24177  esac
24178
24179  ac_dir=`$as_dirname -- "$ac_file" ||
24180$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24181	 X"$ac_file" : 'X\(//\)[^/]' \| \
24182	 X"$ac_file" : 'X\(//\)$' \| \
24183	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24184$as_echo X"$ac_file" |
24185    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24186	    s//\1/
24187	    q
24188	  }
24189	  /^X\(\/\/\)[^/].*/{
24190	    s//\1/
24191	    q
24192	  }
24193	  /^X\(\/\/\)$/{
24194	    s//\1/
24195	    q
24196	  }
24197	  /^X\(\/\).*/{
24198	    s//\1/
24199	    q
24200	  }
24201	  s/.*/./; q'`
24202  as_dir="$ac_dir"; as_fn_mkdir_p
24203  ac_builddir=.
24204
24205case "$ac_dir" in
24206.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24207*)
24208  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24209  # A ".." for each directory in $ac_dir_suffix.
24210  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24211  case $ac_top_builddir_sub in
24212  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24213  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24214  esac ;;
24215esac
24216ac_abs_top_builddir=$ac_pwd
24217ac_abs_builddir=$ac_pwd$ac_dir_suffix
24218# for backward compatibility:
24219ac_top_builddir=$ac_top_build_prefix
24220
24221case $srcdir in
24222  .)  # We are building in place.
24223    ac_srcdir=.
24224    ac_top_srcdir=$ac_top_builddir_sub
24225    ac_abs_top_srcdir=$ac_pwd ;;
24226  [\\/]* | ?:[\\/]* )  # Absolute name.
24227    ac_srcdir=$srcdir$ac_dir_suffix;
24228    ac_top_srcdir=$srcdir
24229    ac_abs_top_srcdir=$srcdir ;;
24230  *) # Relative name.
24231    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24232    ac_top_srcdir=$ac_top_build_prefix$srcdir
24233    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24234esac
24235ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24236
24237
24238  case $ac_mode in
24239  :F)
24240  #
24241  # CONFIG_FILE
24242  #
24243
24244  case $INSTALL in
24245  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24246  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24247  esac
24248  ac_MKDIR_P=$MKDIR_P
24249  case $MKDIR_P in
24250  [\\/$]* | ?:[\\/]* ) ;;
24251  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
24252  esac
24253_ACEOF
24254
24255cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24256# If the template does not know about datarootdir, expand it.
24257# FIXME: This hack should be removed a few years after 2.60.
24258ac_datarootdir_hack=; ac_datarootdir_seen=
24259ac_sed_dataroot='
24260/datarootdir/ {
24261  p
24262  q
24263}
24264/@datadir@/p
24265/@docdir@/p
24266/@infodir@/p
24267/@localedir@/p
24268/@mandir@/p'
24269case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24270*datarootdir*) ac_datarootdir_seen=yes;;
24271*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24272  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24273$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24274_ACEOF
24275cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24276  ac_datarootdir_hack='
24277  s&@datadir@&$datadir&g
24278  s&@docdir@&$docdir&g
24279  s&@infodir@&$infodir&g
24280  s&@localedir@&$localedir&g
24281  s&@mandir@&$mandir&g
24282  s&\\\${datarootdir}&$datarootdir&g' ;;
24283esac
24284_ACEOF
24285
24286# Neutralize VPATH when `$srcdir' = `.'.
24287# Shell code in configure.ac might set extrasub.
24288# FIXME: do we really want to maintain this feature?
24289cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24290ac_sed_extra="$ac_vpsub
24291$extrasub
24292_ACEOF
24293cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24294:t
24295/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24296s|@configure_input@|$ac_sed_conf_input|;t t
24297s&@top_builddir@&$ac_top_builddir_sub&;t t
24298s&@top_build_prefix@&$ac_top_build_prefix&;t t
24299s&@srcdir@&$ac_srcdir&;t t
24300s&@abs_srcdir@&$ac_abs_srcdir&;t t
24301s&@top_srcdir@&$ac_top_srcdir&;t t
24302s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24303s&@builddir@&$ac_builddir&;t t
24304s&@abs_builddir@&$ac_abs_builddir&;t t
24305s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24306s&@INSTALL@&$ac_INSTALL&;t t
24307s&@MKDIR_P@&$ac_MKDIR_P&;t t
24308$ac_datarootdir_hack
24309"
24310eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
24311  || as_fn_error "could not create $ac_file" "$LINENO" 5
24312
24313test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24314  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24315  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24316  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24317which seems to be undefined.  Please make sure it is defined." >&5
24318$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24319which seems to be undefined.  Please make sure it is defined." >&2;}
24320
24321  rm -f "$tmp/stdin"
24322  case $ac_file in
24323  -) cat "$tmp/out" && rm -f "$tmp/out";;
24324  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
24325  esac \
24326  || as_fn_error "could not create $ac_file" "$LINENO" 5
24327 ;;
24328  :H)
24329  #
24330  # CONFIG_HEADER
24331  #
24332  if test x"$ac_file" != x-; then
24333    {
24334      $as_echo "/* $configure_input  */" \
24335      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
24336    } >"$tmp/config.h" \
24337      || as_fn_error "could not create $ac_file" "$LINENO" 5
24338    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
24339      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24340$as_echo "$as_me: $ac_file is unchanged" >&6;}
24341    else
24342      rm -f "$ac_file"
24343      mv "$tmp/config.h" "$ac_file" \
24344	|| as_fn_error "could not create $ac_file" "$LINENO" 5
24345    fi
24346  else
24347    $as_echo "/* $configure_input  */" \
24348      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
24349      || as_fn_error "could not create -" "$LINENO" 5
24350  fi
24351# Compute "$ac_file"'s index in $config_headers.
24352_am_arg="$ac_file"
24353_am_stamp_count=1
24354for _am_header in $config_headers :; do
24355  case $_am_header in
24356    $_am_arg | $_am_arg:* )
24357      break ;;
24358    * )
24359      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24360  esac
24361done
24362echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24363$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24364	 X"$_am_arg" : 'X\(//\)[^/]' \| \
24365	 X"$_am_arg" : 'X\(//\)$' \| \
24366	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24367$as_echo X"$_am_arg" |
24368    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24369	    s//\1/
24370	    q
24371	  }
24372	  /^X\(\/\/\)[^/].*/{
24373	    s//\1/
24374	    q
24375	  }
24376	  /^X\(\/\/\)$/{
24377	    s//\1/
24378	    q
24379	  }
24380	  /^X\(\/\).*/{
24381	    s//\1/
24382	    q
24383	  }
24384	  s/.*/./; q'`/stamp-h$_am_stamp_count
24385 ;;
24386  
24387  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24388$as_echo "$as_me: executing $ac_file commands" >&6;}
24389 ;;
24390  esac
24391
24392
24393  case $ac_file$ac_mode in
24394    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
24395  # Autoconf 2.62 quotes --file arguments for eval, but not when files
24396  # are listed without --file.  Let's play safe and only enable the eval
24397  # if we detect the quoting.
24398  case $CONFIG_FILES in
24399  *\'*) eval set x "$CONFIG_FILES" ;;
24400  *)   set x $CONFIG_FILES ;;
24401  esac
24402  shift
24403  for mf
24404  do
24405    # Strip MF so we end up with the name of the file.
24406    mf=`echo "$mf" | sed -e 's/:.*$//'`
24407    # Check whether this is an Automake generated Makefile or not.
24408    # We used to match only the files named `Makefile.in', but
24409    # some people rename them; so instead we look at the file content.
24410    # Grep'ing the first line is not enough: some people post-process
24411    # each Makefile.in and add a new line on top of each file to say so.
24412    # Grep'ing the whole file is not good either: AIX grep has a line
24413    # limit of 2048, but all sed's we know have understand at least 4000.
24414    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24415      dirpart=`$as_dirname -- "$mf" ||
24416$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24417	 X"$mf" : 'X\(//\)[^/]' \| \
24418	 X"$mf" : 'X\(//\)$' \| \
24419	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24420$as_echo X"$mf" |
24421    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24422	    s//\1/
24423	    q
24424	  }
24425	  /^X\(\/\/\)[^/].*/{
24426	    s//\1/
24427	    q
24428	  }
24429	  /^X\(\/\/\)$/{
24430	    s//\1/
24431	    q
24432	  }
24433	  /^X\(\/\).*/{
24434	    s//\1/
24435	    q
24436	  }
24437	  s/.*/./; q'`
24438    else
24439      continue
24440    fi
24441    # Extract the definition of DEPDIR, am__include, and am__quote
24442    # from the Makefile without running `make'.
24443    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
24444    test -z "$DEPDIR" && continue
24445    am__include=`sed -n 's/^am__include = //p' < "$mf"`
24446    test -z "am__include" && continue
24447    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
24448    # When using ansi2knr, U may be empty or an underscore; expand it
24449    U=`sed -n 's/^U = //p' < "$mf"`
24450    # Find all dependency output files, they are included files with
24451    # $(DEPDIR) in their names.  We invoke sed twice because it is the
24452    # simplest approach to changing $(DEPDIR) to its actual value in the
24453    # expansion.
24454    for file in `sed -n "
24455      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24456	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24457      # Make sure the directory exists.
24458      test -f "$dirpart/$file" && continue
24459      fdir=`$as_dirname -- "$file" ||
24460$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24461	 X"$file" : 'X\(//\)[^/]' \| \
24462	 X"$file" : 'X\(//\)$' \| \
24463	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24464$as_echo X"$file" |
24465    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24466	    s//\1/
24467	    q
24468	  }
24469	  /^X\(\/\/\)[^/].*/{
24470	    s//\1/
24471	    q
24472	  }
24473	  /^X\(\/\/\)$/{
24474	    s//\1/
24475	    q
24476	  }
24477	  /^X\(\/\).*/{
24478	    s//\1/
24479	    q
24480	  }
24481	  s/.*/./; q'`
24482      as_dir=$dirpart/$fdir; as_fn_mkdir_p
24483      # echo "creating $dirpart/$file"
24484      echo '# dummy' > "$dirpart/$file"
24485    done
24486  done
24487}
24488 ;;
24489    "libtool":C) 
24490    
24491    # See if we are running on zsh, and set the options which allow our
24492    # commands through without removal of \ escapes.
24493    if test -n "${ZSH_VERSION+set}" ; then
24494      setopt NO_GLOB_SUBST
24495    fi
24496
24497    cfgfile="${ofile}T"
24498    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24499    $RM "$cfgfile"
24500
24501    cat <<_LT_EOF >> "$cfgfile"
24502#! $SHELL
24503
24504# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24505# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24506# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24507# NOTE: Changes made to this file will be lost: look at ltmain.sh.
24508#
24509#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24510#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
24511#                 Foundation, Inc.
24512#   Written by Gordon Matzigkeit, 1996
24513#
24514#   This file is part of GNU Libtool.
24515#
24516# GNU Libtool is free software; you can redistribute it and/or
24517# modify it under the terms of the GNU General Public License as
24518# published by the Free Software Foundation; either version 2 of
24519# the License, or (at your option) any later version.
24520#
24521# As a special exception to the GNU General Public License,
24522# if you distribute this file as part of a program or library that
24523# is built using GNU Libtool, you may include this file under the
24524# same distribution terms that you use for the rest of that program.
24525#
24526# GNU Libtool is distributed in the hope that it will be useful,
24527# but WITHOUT ANY WARRANTY; without even the implied warranty of
24528# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24529# GNU General Public License for more details.
24530#
24531# You should have received a copy of the GNU General Public License
24532# along with GNU Libtool; see the file COPYING.  If not, a copy
24533# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24534# obtained by writing to the Free Software Foundation, Inc.,
24535# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24536
24537
24538# The names of the tagged configurations supported by this script.
24539available_tags="CXX RC "
24540
24541# ### BEGIN LIBTOOL CONFIG
24542
24543# Which release of libtool.m4 was used?
24544macro_version=$macro_version
24545macro_revision=$macro_revision
24546
24547# Whether or not to build shared libraries.
24548build_libtool_libs=$enable_shared
24549
24550# Whether or not to build static libraries.
24551build_old_libs=$enable_static
24552
24553# What type of objects to build.
24554pic_mode=$pic_mode
24555
24556# Whether or not to optimize for fast installation.
24557fast_install=$enable_fast_install
24558
24559# Shell to use when invoking shell scripts.
24560SHELL=$lt_SHELL
24561
24562# An echo program that protects backslashes.
24563ECHO=$lt_ECHO
24564
24565# The PATH separator for the build system.
24566PATH_SEPARATOR=$lt_PATH_SEPARATOR
24567
24568# The host system.
24569host_alias=$host_alias
24570host=$host
24571host_os=$host_os
24572
24573# The build system.
24574build_alias=$build_alias
24575build=$build
24576build_os=$build_os
24577
24578# A sed program that does not truncate output.
24579SED=$lt_SED
24580
24581# Sed that helps us avoid accidentally triggering echo(1) options like -n.
24582Xsed="\$SED -e 1s/^X//"
24583
24584# A grep program that handles long lines.
24585GREP=$lt_GREP
24586
24587# An ERE matcher.
24588EGREP=$lt_EGREP
24589
24590# A literal string matcher.
24591FGREP=$lt_FGREP
24592
24593# A BSD- or MS-compatible name lister.
24594NM=$lt_NM
24595
24596# Whether we need soft or hard links.
24597LN_S=$lt_LN_S
24598
24599# What is the maximum length of a command?
24600max_cmd_len=$max_cmd_len
24601
24602# Object file suffix (normally "o").
24603objext=$ac_objext
24604
24605# Executable file suffix (normally "").
24606exeext=$exeext
24607
24608# whether the shell understands "unset".
24609lt_unset=$lt_unset
24610
24611# turn spaces into newlines.
24612SP2NL=$lt_lt_SP2NL
24613
24614# turn newlines into spaces.
24615NL2SP=$lt_lt_NL2SP
24616
24617# convert \$build file names to \$host format.
24618to_host_file_cmd=$lt_cv_to_host_file_cmd
24619
24620# convert \$build files to toolchain format.
24621to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24622
24623# An object symbol dumper.
24624OBJDUMP=$lt_OBJDUMP
24625
24626# Method to check whether dependent libraries are shared objects.
24627deplibs_check_method=$lt_deplibs_check_method
24628
24629# Command to use when deplibs_check_method = "file_magic".
24630file_magic_cmd=$lt_file_magic_cmd
24631
24632# How to find potential files when deplibs_check_method = "file_magic".
24633file_magic_glob=$lt_file_magic_glob
24634
24635# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
24636want_nocaseglob=$lt_want_nocaseglob
24637
24638# DLL creation program.
24639DLLTOOL=$lt_DLLTOOL
24640
24641# Command to associate shared and link libraries.
24642sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24643
24644# The archiver.
24645AR=$lt_AR
24646
24647# Flags to create an archive.
24648AR_FLAGS=$lt_AR_FLAGS
24649
24650# How to feed a file listing to the archiver.
24651archiver_list_spec=$lt_archiver_list_spec
24652
24653# A symbol stripping program.
24654STRIP=$lt_STRIP
24655
24656# Commands used to install an old-style archive.
24657RANLIB=$lt_RANLIB
24658old_postinstall_cmds=$lt_old_postinstall_cmds
24659old_postuninstall_cmds=$lt_old_postuninstall_cmds
24660
24661# Whether to use a lock for old archive extraction.
24662lock_old_archive_extraction=$lock_old_archive_extraction
24663
24664# A C compiler.
24665LTCC=$lt_CC
24666
24667# LTCC compiler flags.
24668LTCFLAGS=$lt_CFLAGS
24669
24670# Take the output of nm and produce a listing of raw symbols and C names.
24671global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24672
24673# Transform the output of nm in a proper C declaration.
24674global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24675
24676# Transform the output of nm in a C name address pair.
24677global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24678
24679# Transform the output of nm in a C name address pair when lib prefix is needed.
24680global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24681
24682# Specify filename containing input files for \$NM.
24683nm_file_list_spec=$lt_nm_file_list_spec
24684
24685# The root where to search for dependent libraries,and in which our libraries should be installed.
24686lt_sysroot=$lt_sysroot
24687
24688# The name of the directory that contains temporary libtool files.
24689objdir=$objdir
24690
24691# Used to examine libraries when file_magic_cmd begins with "file".
24692MAGIC_CMD=$MAGIC_CMD
24693
24694# Must we lock files when doing compilation?
24695need_locks=$lt_need_locks
24696
24697# Manifest tool.
24698MANIFEST_TOOL=$lt_MANIFEST_TOOL
24699
24700# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24701DSYMUTIL=$lt_DSYMUTIL
24702
24703# Tool to change global to local symbols on Mac OS X.
24704NMEDIT=$lt_NMEDIT
24705
24706# Tool to manipulate fat objects and archives on Mac OS X.
24707LIPO=$lt_LIPO
24708
24709# ldd/readelf like tool for Mach-O binaries on Mac OS X.
24710OTOOL=$lt_OTOOL
24711
24712# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24713OTOOL64=$lt_OTOOL64
24714
24715# Old archive suffix (normally "a").
24716libext=$libext
24717
24718# Shared library suffix (normally ".so").
24719shrext_cmds=$lt_shrext_cmds
24720
24721# The commands to extract the exported symbol list from a shared archive.
24722extract_expsyms_cmds=$lt_extract_expsyms_cmds
24723
24724# Variables whose values should be saved in libtool wrapper scripts and
24725# restored at link time.
24726variables_saved_for_relink=$lt_variables_saved_for_relink
24727
24728# Do we need the "lib" prefix for modules?
24729need_lib_prefix=$need_lib_prefix
24730
24731# Do we need a version for libraries?
24732need_version=$need_version
24733
24734# Library versioning type.
24735version_type=$version_type
24736
24737# Shared library runtime path variable.
24738runpath_var=$runpath_var
24739
24740# Shared library path variable.
24741shlibpath_var=$shlibpath_var
24742
24743# Is shlibpath searched before the hard-coded library search path?
24744shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24745
24746# Format of library name prefix.
24747libname_spec=$lt_libname_spec
24748
24749# List of archive names.  First name is the real one, the rest are links.
24750# The last name is the one that the linker finds with -lNAME
24751library_names_spec=$lt_library_names_spec
24752
24753# The coded name of the library, if different from the real name.
24754soname_spec=$lt_soname_spec
24755
24756# Permission mode override for installation of shared libraries.
24757install_override_mode=$lt_install_override_mode
24758
24759# Command to use after installation of a shared archive.
24760postinstall_cmds=$lt_postinstall_cmds
24761
24762# Command to use after uninstallation of a shared archive.
24763postuninstall_cmds=$lt_postuninstall_cmds
24764
24765# Commands used to finish a libtool library installation in a directory.
24766finish_cmds=$lt_finish_cmds
24767
24768# As "finish_cmds", except a single script fragment to be evaled but
24769# not shown.
24770finish_eval=$lt_finish_eval
24771
24772# Whether we should hardcode library paths into libraries.
24773hardcode_into_libs=$hardcode_into_libs
24774
24775# Compile-time system search path for libraries.
24776sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24777
24778# Run-time system search path for libraries.
24779sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24780
24781# Whether dlopen is supported.
24782dlopen_support=$enable_dlopen
24783
24784# Whether dlopen of programs is supported.
24785dlopen_self=$enable_dlopen_self
24786
24787# Whether dlopen of statically linked programs is supported.
24788dlopen_self_static=$enable_dlopen_self_static
24789
24790# Commands to strip libraries.
24791old_striplib=$lt_old_striplib
24792striplib=$lt_striplib
24793
24794
24795# The linker used to build libraries.
24796LD=$lt_LD
24797
24798# How to create reloadable object files.
24799reload_flag=$lt_reload_flag
24800reload_cmds=$lt_reload_cmds
24801
24802# Commands used to build an old-style archive.
24803old_archive_cmds=$lt_old_archive_cmds
24804
24805# A language specific compiler.
24806CC=$lt_compiler
24807
24808# Is the compiler the GNU compiler?
24809with_gcc=$GCC
24810
24811# Compiler flag to turn off builtin functions.
24812no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24813
24814# Additional compiler flags for building library objects.
24815pic_flag=$lt_lt_prog_compiler_pic
24816
24817# How to pass a linker flag through the compiler.
24818wl=$lt_lt_prog_compiler_wl
24819
24820# Compiler flag to prevent dynamic linking.
24821link_static_flag=$lt_lt_prog_compiler_static
24822
24823# Does compiler simultaneously support -c and -o options?
24824compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24825
24826# Whether or not to add -lc for building shared libraries.
24827build_libtool_need_lc=$archive_cmds_need_lc
24828
24829# Whether or not to disallow shared libs when runtime libs are static.
24830allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24831
24832# Compiler flag to allow reflexive dlopens.
24833export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24834
24835# Compiler flag to generate shared objects directly from archives.
24836whole_archive_flag_spec=$lt_whole_archive_flag_spec
24837
24838# Whether the compiler copes with passing no objects directly.
24839compiler_needs_object=$lt_compiler_needs_object
24840
24841# Create an old-style archive from a shared archive.
24842old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24843
24844# Create a temporary old-style archive to link instead of a shared archive.
24845old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24846
24847# Commands used to build a shared archive.
24848archive_cmds=$lt_archive_cmds
24849archive_expsym_cmds=$lt_archive_expsym_cmds
24850
24851# Commands used to build a loadable module if different from building
24852# a shared archive.
24853module_cmds=$lt_module_cmds
24854module_expsym_cmds=$lt_module_expsym_cmds
24855
24856# Whether we are building with GNU ld or not.
24857with_gnu_ld=$lt_with_gnu_ld
24858
24859# Flag that allows shared libraries with undefined symbols to be built.
24860allow_undefined_flag=$lt_allow_undefined_flag
24861
24862# Flag that enforces no undefined symbols.
24863no_undefined_flag=$lt_no_undefined_flag
24864
24865# Flag to hardcode \$libdir into a binary during linking.
24866# This must work even if \$libdir does not exist
24867hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24868
24869# Whether we need a single "-rpath" flag with a separated argument.
24870hardcode_libdir_separator=$lt_hardcode_libdir_separator
24871
24872# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24873# DIR into the resulting binary.
24874hardcode_direct=$hardcode_direct
24875
24876# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24877# DIR into the resulting binary and the resulting library dependency is
24878# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24879# library is relocated.
24880hardcode_direct_absolute=$hardcode_direct_absolute
24881
24882# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24883# into the resulting binary.
24884hardcode_minus_L=$hardcode_minus_L
24885
24886# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24887# into the resulting binary.
24888hardcode_shlibpath_var=$hardcode_shlibpath_var
24889
24890# Set to "yes" if building a shared library automatically hardcodes DIR
24891# into the library and all subsequent libraries and executables linked
24892# against it.
24893hardcode_automatic=$hardcode_automatic
24894
24895# Set to yes if linker adds runtime paths of dependent libraries
24896# to runtime path list.
24897inherit_rpath=$inherit_rpath
24898
24899# Whether libtool must link a program against all its dependency libraries.
24900link_all_deplibs=$link_all_deplibs
24901
24902# Set to "yes" if exported symbols are required.
24903always_export_symbols=$always_export_symbols
24904
24905# The commands to list exported symbols.
24906export_symbols_cmds=$lt_export_symbols_cmds
24907
24908# Symbols that should not be listed in the preloaded symbols.
24909exclude_expsyms=$lt_exclude_expsyms
24910
24911# Symbols that must always be exported.
24912include_expsyms=$lt_include_expsyms
24913
24914# Commands necessary for linking programs (against libraries) with templates.
24915prelink_cmds=$lt_prelink_cmds
24916
24917# Commands necessary for finishing linking programs.
24918postlink_cmds=$lt_postlink_cmds
24919
24920# Specify filename containing input files.
24921file_list_spec=$lt_file_list_spec
24922
24923# How to hardcode a shared library path into an executable.
24924hardcode_action=$hardcode_action
24925
24926# The directories searched by this compiler when creating a shared library.
24927compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24928
24929# Dependencies to place before and after the objects being linked to
24930# create a shared library.
24931predep_objects=$lt_predep_objects
24932postdep_objects=$lt_postdep_objects
24933predeps=$lt_predeps
24934postdeps=$lt_postdeps
24935
24936# The library search path used internally by the compiler when linking
24937# a shared library.
24938compiler_lib_search_path=$lt_compiler_lib_search_path
24939
24940# ### END LIBTOOL CONFIG
24941
24942_LT_EOF
24943
24944  case $host_os in
24945  aix3*)
24946    cat <<\_LT_EOF >> "$cfgfile"
24947# AIX sometimes has problems with the GCC collect2 program.  For some
24948# reason, if we set the COLLECT_NAMES environment variable, the problems
24949# vanish in a puff of smoke.
24950if test "X${COLLECT_NAMES+set}" != Xset; then
24951  COLLECT_NAMES=
24952  export COLLECT_NAMES
24953fi
24954_LT_EOF
24955    ;;
24956  esac
24957
24958  
24959ltmain="$ac_aux_dir/ltmain.sh"
24960
24961
24962  # We use sed instead of cat because bash on DJGPP gets confused if
24963  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
24964  # text mode, it properly converts lines to CR/LF.  This bash problem
24965  # is reportedly fixed, but why not run on old versions too?
24966  sed '$q' "$ltmain" >> "$cfgfile" \
24967     || (rm -f "$cfgfile"; exit 1)
24968
24969  if test x"$xsi_shell" = xyes; then
24970  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24971func_dirname ()\
24972{\
24973\    case ${1} in\
24974\      */*) func_dirname_result="${1%/*}${2}" ;;\
24975\      *  ) func_dirname_result="${3}" ;;\
24976\    esac\
24977} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24978  && mv -f "$cfgfile.tmp" "$cfgfile" \
24979    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24980test 0 -eq $? || _lt_function_replace_fail=:
24981
24982
24983  sed -e '/^func_basename ()$/,/^} # func_basename /c\
24984func_basename ()\
24985{\
24986\    func_basename_result="${1##*/}"\
24987} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24988  && mv -f "$cfgfile.tmp" "$cfgfile" \
24989    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24990test 0 -eq $? || _lt_function_replace_fail=:
24991
24992
24993  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24994func_dirname_and_basename ()\
24995{\
24996\    case ${1} in\
24997\      */*) func_dirname_result="${1%/*}${2}" ;;\
24998\      *  ) func_dirname_result="${3}" ;;\
24999\    esac\
25000\    func_basename_result="${1##*/}"\
25001} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
25002  && mv -f "$cfgfile.tmp" "$cfgfile" \
25003    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25004test 0 -eq $? || _lt_function_replace_fail=:
25005
25006
25007  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
25008func_stripname ()\
25009{\
25010\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
25011\    # positional parameters, so assign one to ordinary parameter first.\
25012\    func_stripname_result=${3}\
25013\    func_stripname_result=${func_stripname_result#"${1}"}\
25014\    func_stripname_result=${func_stripname_result%"${2}"}\
25015} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
25016  && mv -f "$cfgfile.tmp" "$cfgfile" \
25017    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25018test 0 -eq $? || _lt_function_replace_fail=:
25019
25020
25021  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
25022func_split_long_opt ()\
25023{\
25024\    func_split_long_opt_name=${1%%=*}\
25025\    func_split_long_opt_arg=${1#*=}\
25026} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
25027  && mv -f "$cfgfile.tmp" "$cfgfile" \
25028    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25029test 0 -eq $? || _lt_function_replace_fail=:
25030
25031
25032  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
25033func_split_short_opt ()\
25034{\
25035\    func_split_short_opt_arg=${1#??}\
25036\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
25037} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
25038  && mv -f "$cfgfile.tmp" "$cfgfile" \
25039    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25040test 0 -eq $? || _lt_function_replace_fail=:
25041
25042
25043  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
25044func_lo2o ()\
25045{\
25046\    case ${1} in\
25047\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
25048\      *)    func_lo2o_result=${1} ;;\
25049\    esac\
25050} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
25051  && mv -f "$cfgfile.tmp" "$cfgfile" \
25052    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25053test 0 -eq $? || _lt_function_replace_fail=:
25054
25055
25056  sed -e '/^func_xform ()$/,/^} # func_xform /c\
25057func_xform ()\
25058{\
25059    func_xform_result=${1%.*}.lo\
25060} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
25061  && mv -f "$cfgfile.tmp" "$cfgfile" \
25062    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25063test 0 -eq $? || _lt_function_replace_fail=:
25064
25065
25066  sed -e '/^func_arith ()$/,/^} # func_arith /c\
25067func_arith ()\
25068{\
25069    func_arith_result=$(( $* ))\
25070} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
25071  && mv -f "$cfgfile.tmp" "$cfgfile" \
25072    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25073test 0 -eq $? || _lt_function_replace_fail=:
25074
25075
25076  sed -e '/^func_len ()$/,/^} # func_len /c\
25077func_len ()\
25078{\
25079    func_len_result=${#1}\
25080} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
25081  && mv -f "$cfgfile.tmp" "$cfgfile" \
25082    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25083test 0 -eq $? || _lt_function_replace_fail=:
25084
25085fi
25086
25087if test x"$lt_shell_append" = xyes; then
25088  sed -e '/^func_append ()$/,/^} # func_append /c\
25089func_append ()\
25090{\
25091    eval "${1}+=\\${2}"\
25092} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
25093  && mv -f "$cfgfile.tmp" "$cfgfile" \
25094    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25095test 0 -eq $? || _lt_function_replace_fail=:
25096
25097
25098  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
25099func_append_quoted ()\
25100{\
25101\    func_quote_for_eval "${2}"\
25102\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
25103} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
25104  && mv -f "$cfgfile.tmp" "$cfgfile" \
25105    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25106test 0 -eq $? || _lt_function_replace_fail=:
25107
25108
25109  # Save a `func_append' function call where possible by direct use of '+='
25110  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
25111    && mv -f "$cfgfile.tmp" "$cfgfile" \
25112      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25113  test 0 -eq $? || _lt_function_replace_fail=:
25114else
25115  # Save a `func_append' function call even when '+=' is not available
25116  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
25117    && mv -f "$cfgfile.tmp" "$cfgfile" \
25118      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
25119  test 0 -eq $? || _lt_function_replace_fail=:
25120fi
25121
25122if test x"$_lt_function_replace_fail" = x":"; then
25123  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
25124$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
25125fi
25126
25127
25128   mv -f "$cfgfile" "$ofile" ||
25129    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25130  chmod +x "$ofile"
25131
25132
25133    cat <<_LT_EOF >> "$ofile"
25134
25135# ### BEGIN LIBTOOL TAG CONFIG: CXX
25136
25137# The linker used to build libraries.
25138LD=$lt_LD_CXX
25139
25140# How to create reloadable object files.
25141reload_flag=$lt_reload_flag_CXX
25142reload_cmds=$lt_reload_cmds_CXX
25143
25144# Commands used to build an old-style archive.
25145old_archive_cmds=$lt_old_archive_cmds_CXX
25146
25147# A language specific compiler.
25148CC=$lt_compiler_CXX
25149
25150# Is the compiler the GNU compiler?
25151with_gcc=$GCC_CXX
25152
25153# Compiler flag to turn off builtin functions.
25154no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25155
25156# Additional compiler flags for building library objects.
25157pic_flag=$lt_lt_prog_compiler_pic_CXX
25158
25159# How to pass a linker flag through the compiler.
25160wl=$lt_lt_prog_compiler_wl_CXX
25161
25162# Compiler flag to prevent dynamic linking.
25163link_static_flag=$lt_lt_prog_compiler_static_CXX
25164
25165# Does compiler simultaneously support -c and -o options?
25166compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25167
25168# Whether or not to add -lc for building shared libraries.
25169build_libtool_need_lc=$archive_cmds_need_lc_CXX
25170
25171# Whether or not to disallow shared libs when runtime libs are static.
25172allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25173
25174# Compiler flag to allow reflexive dlopens.
25175export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25176
25177# Compiler flag to generate shared objects directly from archives.
25178whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25179
25180# Whether the compiler copes with passing no objects directly.
25181compiler_needs_object=$lt_compiler_needs_object_CXX
25182
25183# Create an old-style archive from a shared archive.
25184old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25185
25186# Create a temporary old-style archive to link instead of a shared archive.
25187old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25188
25189# Commands used to build a shared archive.
25190archive_cmds=$lt_archive_cmds_CXX
25191archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25192
25193# Commands used to build a loadable module if different from building
25194# a shared archive.
25195module_cmds=$lt_module_cmds_CXX
25196module_expsym_cmds=$lt_module_expsym_cmds_CXX
25197
25198# Whether we are building with GNU ld or not.
25199with_gnu_ld=$lt_with_gnu_ld_CXX
25200
25201# Flag that allows shared libraries with undefined symbols to be built.
25202allow_undefined_flag=$lt_allow_undefined_flag_CXX
25203
25204# Flag that enforces no undefined symbols.
25205no_undefined_flag=$lt_no_undefined_flag_CXX
25206
25207# Flag to hardcode \$libdir into a binary during linking.
25208# This must work even if \$libdir does not exist
25209hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25210
25211# Whether we need a single "-rpath" flag with a separated argument.
25212hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25213
25214# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25215# DIR into the resulting binary.
25216hardcode_direct=$hardcode_direct_CXX
25217
25218# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25219# DIR into the resulting binary and the resulting library dependency is
25220# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25221# library is relocated.
25222hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25223
25224# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25225# into the resulting binary.
25226hardcode_minus_L=$hardcode_minus_L_CXX
25227
25228# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25229# into the resulting binary.
25230hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25231
25232# Set to "yes" if building a shared library automatically hardcodes DIR
25233# into the library and all subsequent libraries and executables linked
25234# against it.
25235hardcode_automatic=$hardcode_automatic_CXX
25236
25237# Set to yes if linker adds runtime paths of dependent libraries
25238# to runtime path list.
25239inherit_rpath=$inherit_rpath_CXX
25240
25241# Whether libtool must link a program against all its dependency libraries.
25242link_all_deplibs=$link_all_deplibs_CXX
25243
25244# Set to "yes" if exported symbols are required.
25245always_export_symbols=$always_export_symbols_CXX
25246
25247# The commands to list exported symbols.
25248export_symbols_cmds=$lt_export_symbols_cmds_CXX
25249
25250# Symbols that should not be listed in the preloaded symbols.
25251exclude_expsyms=$lt_exclude_expsyms_CXX
25252
25253# Symbols that must always be exported.
25254include_expsyms=$lt_include_expsyms_CXX
25255
25256# Commands necessary for linking programs (against libraries) with templates.
25257prelink_cmds=$lt_prelink_cmds_CXX
25258
25259# Commands necessary for finishing linking programs.
25260postlink_cmds=$lt_postlink_cmds_CXX
25261
25262# Specify filename containing input files.
25263file_list_spec=$lt_file_list_spec_CXX
25264
25265# How to hardcode a shared library path into an executable.
25266hardcode_action=$hardcode_action_CXX
25267
25268# The directories searched by this compiler when creating a shared library.
25269compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25270
25271# Dependencies to place before and after the objects being linked to
25272# create a shared library.
25273predep_objects=$lt_predep_objects_CXX
25274postdep_objects=$lt_postdep_objects_CXX
25275predeps=$lt_predeps_CXX
25276postdeps=$lt_postdeps_CXX
25277
25278# The library search path used internally by the compiler when linking
25279# a shared library.
25280compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25281
25282# ### END LIBTOOL TAG CONFIG: CXX
25283_LT_EOF
25284
25285
25286    cat <<_LT_EOF >> "$ofile"
25287
25288# ### BEGIN LIBTOOL TAG CONFIG: RC
25289
25290# The linker used to build libraries.
25291LD=$lt_LD_RC
25292
25293# How to create reloadable object files.
25294reload_flag=$lt_reload_flag_RC
25295reload_cmds=$lt_reload_cmds_RC
25296
25297# Commands used to build an old-style archive.
25298old_archive_cmds=$lt_old_archive_cmds_RC
25299
25300# A language specific compiler.
25301CC=$lt_compiler_RC
25302
25303# Is the compiler the GNU compiler?
25304with_gcc=$GCC_RC
25305
25306# Compiler flag to turn off builtin functions.
25307no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
25308
25309# Additional compiler flags for building library objects.
25310pic_flag=$lt_lt_prog_compiler_pic_RC
25311
25312# How to pass a linker flag through the compiler.
25313wl=$lt_lt_prog_compiler_wl_RC
25314
25315# Compiler flag to prevent dynamic linking.
25316link_static_flag=$lt_lt_prog_compiler_static_RC
25317
25318# Does compiler simultaneously support -c and -o options?
25319compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
25320
25321# Whether or not to add -lc for building shared libraries.
25322build_libtool_need_lc=$archive_cmds_need_lc_RC
25323
25324# Whether or not to disallow shared libs when runtime libs are static.
25325allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
25326
25327# Compiler flag to allow reflexive dlopens.
25328export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
25329
25330# Compiler flag to generate shared objects directly from archives.
25331whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
25332
25333# Whether the compiler copes with passing no objects directly.
25334compiler_needs_object=$lt_compiler_needs_object_RC
25335
25336# Create an old-style archive from a shared archive.
25337old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
25338
25339# Create a temporary old-style archive to link instead of a shared archive.
25340old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
25341
25342# Commands used to build a shared archive.
25343archive_cmds=$lt_archive_cmds_RC
25344archive_expsym_cmds=$lt_archive_expsym_cmds_RC
25345
25346# Commands used to build a loadable module if different from building
25347# a shared archive.
25348module_cmds=$lt_module_cmds_RC
25349module_expsym_cmds=$lt_module_expsym_cmds_RC
25350
25351# Whether we are building with GNU ld or not.
25352with_gnu_ld=$lt_with_gnu_ld_RC
25353
25354# Flag that allows shared libraries with undefined symbols to be built.
25355allow_undefined_flag=$lt_allow_undefined_flag_RC
25356
25357# Flag that enforces no undefined symbols.
25358no_undefined_flag=$lt_no_undefined_flag_RC
25359
25360# Flag to hardcode \$libdir into a binary during linking.
25361# This must work even if \$libdir does not exist
25362hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
25363
25364# Whether we need a single "-rpath" flag with a separated argument.
25365hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
25366
25367# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25368# DIR into the resulting binary.
25369hardcode_direct=$hardcode_direct_RC
25370
25371# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25372# DIR into the resulting binary and the resulting library dependency is
25373# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25374# library is relocated.
25375hardcode_direct_absolute=$hardcode_direct_absolute_RC
25376
25377# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25378# into the resulting binary.
25379hardcode_minus_L=$hardcode_minus_L_RC
25380
25381# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25382# into the resulting binary.
25383hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
25384
25385# Set to "yes" if building a shared library automatically hardcodes DIR
25386# into the library and all subsequent libraries and executables linked
25387# against it.
25388hardcode_automatic=$hardcode_automatic_RC
25389
25390# Set to yes if linker adds runtime paths of dependent libraries
25391# to runtime path list.
25392inherit_rpath=$inherit_rpath_RC
25393
25394# Whether libtool must link a program against all its dependency libraries.
25395link_all_deplibs=$link_all_deplibs_RC
25396
25397# Set to "yes" if exported symbols are required.
25398always_export_symbols=$always_export_symbols_RC
25399
25400# The commands to list exported symbols.
25401export_symbols_cmds=$lt_export_symbols_cmds_RC
25402
25403# Symbols that should not be listed in the preloaded symbols.
25404exclude_expsyms=$lt_exclude_expsyms_RC
25405
25406# Symbols that must always be exported.
25407include_expsyms=$lt_include_expsyms_RC
25408
25409# Commands necessary for linking programs (against libraries) with templates.
25410prelink_cmds=$lt_prelink_cmds_RC
25411
25412# Commands necessary for finishing linking programs.
25413postlink_cmds=$lt_postlink_cmds_RC
25414
25415# Specify filename containing input files.
25416file_list_spec=$lt_file_list_spec_RC
25417
25418# How to hardcode a shared library path into an executable.
25419hardcode_action=$hardcode_action_RC
25420
25421# The directories searched by this compiler when creating a shared library.
25422compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
25423
25424# Dependencies to place before and after the objects being linked to
25425# create a shared library.
25426predep_objects=$lt_predep_objects_RC
25427postdep_objects=$lt_postdep_objects_RC
25428predeps=$lt_predeps_RC
25429postdeps=$lt_postdeps_RC
25430
25431# The library search path used internally by the compiler when linking
25432# a shared library.
25433compiler_lib_search_path=$lt_compiler_lib_search_path_RC
25434
25435# ### END LIBTOOL TAG CONFIG: RC
25436_LT_EOF
25437
25438 ;;
25439
25440  esac
25441done # for ac_tag
25442
25443
25444as_fn_exit 0
25445_ACEOF
25446ac_clean_files=$ac_clean_files_save
25447
25448test $ac_write_fail = 0 ||
25449  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
25450
25451
25452# configure is writing to config.log, and then calls config.status.
25453# config.status does its own redirection, appending to config.log.
25454# Unfortunately, on DOS this fails, as config.log is still kept open
25455# by configure, so config.status won't be able to write to it; its
25456# output is simply discarded.  So we exec the FD to /dev/null,
25457# effectively closing config.log, so it can be properly (re)opened and
25458# appended to by config.status.  When coming back to configure, we
25459# need to make the FD available again.
25460if test "$no_create" != yes; then
25461  ac_cs_success=:
25462  ac_config_status_args=
25463  test "$silent" = yes &&
25464    ac_config_status_args="$ac_config_status_args --quiet"
25465  exec 5>/dev/null
25466  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25467  exec 5>>config.log
25468  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25469  # would make configure fail if this is the last instruction.
25470  $ac_cs_success || as_fn_exit $?
25471fi
25472if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
25473  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25474$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
25475fi
25476
25477
25478echo "
25479                    D-Bus $VERSION
25480                  ==============
25481
25482	prefix:                   ${EXPANDED_PREFIX}
25483	exec_prefix:              ${exec_prefix}
25484        libdir:                   ${EXPANDED_LIBDIR}
25485        libexecdir:               ${EXPANDED_LIBEXECDIR}
25486        bindir:                   ${EXPANDED_BINDIR}
25487        sysconfdir:               ${EXPANDED_SYSCONFDIR}
25488        localstatedir:            ${EXPANDED_LOCALSTATEDIR}
25489	datadir:                  ${EXPANDED_DATADIR}
25490	source code location:	  ${srcdir}
25491	compiler:		  ${CC}
25492	cflags:		          ${CFLAGS}
25493	cppflags:		  ${CPPFLAGS}
25494	cxxflags:		  ${CXXFLAGS}
25495	64-bit int:		  ${DBUS_INT64_TYPE}
25496	32-bit int:		  ${DBUS_INT32_TYPE}
25497	16-bit int:		  ${DBUS_INT16_TYPE}
25498        Doxygen:                  ${DOXYGEN:-not found}
25499        xmlto:                    ${XMLTO:-not found}
25500        man2html:                 ${MAN2HTML:-not found}"
25501
25502echo "
25503        Rebuilding generated files: ${USE_MAINTAINER_MODE}
25504        gcc coverage profiling:   ${enable_compiler_coverage}
25505        Building embedded tests:  ${enable_embedded_tests}
25506        Building modular tests:   ${enable_modular_tests}
25507            - with GLib:          ${with_glib}
25508        Building verbose mode:    ${enable_verbose_mode}
25509        Building assertions:      ${enable_asserts}
25510        Building checks:          ${enable_checks}
25511        Building bus stats API:   ${enable_stats}
25512        Building SELinux support: ${have_selinux}
25513        Building inotify support: ${have_inotify}
25514        Building dnotify support: ${have_dnotify}
25515        Building kqueue support:  ${have_kqueue}
25516        Building systemd support: ${have_systemd}
25517        Building X11 code:        ${enable_x11}
25518        Building Doxygen docs:    ${enable_doxygen_docs}
25519        Building XML docs:        ${enable_xml_docs}
25520        Building cache support:   ${enable_userdb_cache}
25521        Building launchd support: ${have_launchd}
25522        Using XML parser:         ${with_xml}
25523        Init scripts style:       ${with_init_scripts}
25524        Abstract socket names:    ${ac_cv_have_abstract_sockets}
25525        System bus socket:        ${DBUS_SYSTEM_SOCKET}
25526        System bus address:       ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS}
25527        System bus PID file:      ${DBUS_SYSTEM_PID_FILE}
25528        Session bus address:      ${DBUS_SESSION_BUS_DEFAULT_ADDRESS}
25529        Console auth dir:         ${DBUS_CONSOLE_AUTH_DIR}
25530        Console owner file:       ${have_console_owner_file}
25531        Console owner file path:  ${DBUS_CONSOLE_OWNER_FILE}
25532	System bus user:          ${DBUS_USER}
25533	Session bus services dir: ${EXPANDED_DATADIR}/dbus-1/services
25534        'make check' socket dir:  ${TEST_SOCKET_DIR}
25535"
25536if test x$have_launchd = xyes; then
25537        echo "        launchd agent dir:        ${LAUNCHD_AGENT_DIR}"
25538fi
25539echo
25540
25541if test x$enable_embedded_tests = xyes; then
25542        echo "NOTE: building with unit tests increases the size of the installed library and renders it insecure."
25543fi
25544if test x$enable_embedded_tests = xyes -a x$enable_asserts = xno; then
25545        echo "NOTE: building with embedded tests but without assertions means tests may not properly report failures (this configuration is only useful when doing something like profiling the tests)"
25546fi
25547if test x$enable_compiler_coverage = xyes; then
25548        echo "NOTE: building with coverage profiling is definitely for developers only."
25549fi
25550if test x$enable_verbose_mode = xyes; then
25551        echo "NOTE: building with verbose mode increases library size, may slightly increase security risk, and decreases performance."
25552fi
25553if test x$enable_asserts = xyes; then
25554        echo "NOTE: building with assertions increases library size and decreases performance."
25555fi
25556if test x$enable_checks = xno; then
25557        echo "NOTE: building without checks for arguments passed to public API makes it harder to debug apps using D-Bus, but will slightly decrease D-Bus library size and _very_ slightly improve performance."
25558fi
25559if test x$dbus_use_libxml = xtrue; then
25560        echo
25561	echo "WARNING: You have chosen to use libxml as your xml parser however this code path is not maintained by the D-Bus developers and if it breaks you get to keep the pieces.  If you have selected this option in err please reconfigure with expat (e.g. --with-xml=expat)."
25562fi
25563
25564if test "x$DBUS_HAVE_INT64" = x0; then
25565  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have disabled 64-bit integers via --without-64-bit.
25566
25567  This removes parts of the standard D-Bus API and ABI (the 't' and 'x'
25568  typecodes, the dbus_int64_t and dbus_uint64_t types, etc.) and should only be
25569  used if your compiler lacks support for 64-bit integers. Please report a bug
25570  with details of your platform and compiler.
25571
25572  This option is likely to be removed in future, unless the D-Bus developers
25573  receive reports that it is still needed.
25574  " >&5
25575$as_echo "$as_me: WARNING: You have disabled 64-bit integers via --without-64-bit.
25576
25577  This removes parts of the standard D-Bus API and ABI (the 't' and 'x'
25578  typecodes, the dbus_int64_t and dbus_uint64_t types, etc.) and should only be
25579  used if your compiler lacks support for 64-bit integers. Please report a bug
25580  with details of your platform and compiler.
25581
25582  This option is likely to be removed in future, unless the D-Bus developers
25583  receive reports that it is still needed.
25584  " >&2;}
25585fi
25586