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