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