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