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