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