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