2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for radsecproxy 1.5-dev.
5 # Report bugs to <radsecproxy@uninett.no>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir=.
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: radsecproxy@uninett.no about your system, including any
234 $0: error possibly output before this message. Then install
235 $0: a modern shell, or manually run the script under such a
236 $0: shell if you do have one."
242 SHELL=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir=./$as_dir;;
287 test -d "$as_dir" || eval $as_mkdir_p || {
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356 as_val=`expr "$@" || test $? -eq 1`
361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
368 as_status=$1; test $as_status -eq 0 && as_status=1
370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status
377 if expr a : '\(a\)' >/dev/null 2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_me=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x "$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C= ECHO_N= ECHO_T=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 rm -f conf$$ conf$$.exe conf$$.file
468 if test -d conf$$.dir; then
469 rm -f conf$$.dir/conf$$.file
472 mkdir conf$$.dir 2>/dev/null
474 if (echo >conf$$.file) 2>/dev/null; then
475 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 elif ln conf$$.file conf$$ 2>/dev/null; then
491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492 rmdir conf$$.dir 2>/dev/null
494 if mkdir -p . 2>/dev/null; then
495 as_mkdir_p='mkdir -p "$as_dir"'
497 test -d ./-p && rmdir ./-p
501 if test -x / >/dev/null 2>&1; then
504 if ls -dL / >/dev/null 2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" || exec 7<&0 </dev/null
535 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
542 ac_default_prefix=/usr/local
544 ac_config_libobj_dir=.
551 # Identity of this package.
552 PACKAGE_NAME='radsecproxy'
553 PACKAGE_TARNAME='radsecproxy'
554 PACKAGE_VERSION='1.5-dev'
555 PACKAGE_STRING='radsecproxy 1.5-dev'
556 PACKAGE_BUGREPORT='radsecproxy@uninett.no'
559 ac_subst_vars='am__EXEEXT_FALSE
568 HAVE_DOCBOOK2X_MAN_FALSE
569 HAVE_DOCBOOK2X_MAN_TRUE
595 INSTALL_STRIP_PROGRAM
649 program_transform_name
662 enable_option_checking
663 enable_dependency_tracking
670 ac_precious_vars='build_alias
681 # Initialize some variables set by options.
683 ac_init_version=false
684 ac_unrecognized_opts=
686 # The variables have the same names as the options, with
687 # dashes changed to underlines.
695 program_transform_name=s,x,x,
703 # Installation directory options.
704 # These are left unexpanded so users can "make install exec_prefix=/foo"
705 # and all the variables that are supposed to be based on exec_prefix
706 # by default will actually change.
707 # Use braces instead of parens because sh, perl, etc. also accept them.
708 # (The list follows the same order as the GNU Coding Standards.)
709 bindir='${exec_prefix}/bin'
710 sbindir='${exec_prefix}/sbin'
711 libexecdir='${exec_prefix}/libexec'
712 datarootdir='${prefix}/share'
713 datadir='${datarootdir}'
714 sysconfdir='${prefix}/etc'
715 sharedstatedir='${prefix}/com'
716 localstatedir='${prefix}/var'
717 includedir='${prefix}/include'
718 oldincludedir='/usr/include'
719 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
720 infodir='${datarootdir}/info'
725 libdir='${exec_prefix}/lib'
726 localedir='${datarootdir}/locale'
727 mandir='${datarootdir}/man'
733 # If the previous option needs an argument, assign it.
734 if test -n "$ac_prev"; then
735 eval $ac_prev=\$ac_option
741 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
757 -build | --build | --buil | --bui | --bu)
758 ac_prev=build_alias ;;
759 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
760 build_alias=$ac_optarg ;;
762 -cache-file | --cache-file | --cache-fil | --cache-fi \
763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
764 ac_prev=cache_file ;;
765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
767 cache_file=$ac_optarg ;;
770 cache_file=config.cache ;;
772 -datadir | --datadir | --datadi | --datad)
774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
775 datadir=$ac_optarg ;;
777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
778 | --dataroo | --dataro | --datar)
779 ac_prev=datarootdir ;;
780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
782 datarootdir=$ac_optarg ;;
784 -disable-* | --disable-*)
785 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
788 as_fn_error $? "invalid feature name: $ac_useropt"
789 ac_useropt_orig=$ac_useropt
790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep=', ';;
798 eval enable_$ac_useropt=no ;;
800 -docdir | --docdir | --docdi | --doc | --do)
802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 -enable-* | --enable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: $ac_useropt"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
824 eval enable_$ac_useropt=\$ac_optarg ;;
826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828 | --exec | --exe | --ex)
829 ac_prev=exec_prefix ;;
830 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832 | --exec=* | --exe=* | --ex=*)
833 exec_prefix=$ac_optarg ;;
835 -gas | --gas | --ga | --g)
836 # Obsolete; use --with-gas.
839 -help | --help | --hel | --he | -h)
841 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842 ac_init_help=recursive ;;
843 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844 ac_init_help=short ;;
846 -host | --host | --hos | --ho)
847 ac_prev=host_alias ;;
848 -host=* | --host=* | --hos=* | --ho=*)
849 host_alias=$ac_optarg ;;
851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
855 htmldir=$ac_optarg ;;
857 -includedir | --includedir | --includedi | --included | --include \
858 | --includ | --inclu | --incl | --inc)
859 ac_prev=includedir ;;
860 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861 | --includ=* | --inclu=* | --incl=* | --inc=*)
862 includedir=$ac_optarg ;;
864 -infodir | --infodir | --infodi | --infod | --info | --inf)
866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867 infodir=$ac_optarg ;;
869 -libdir | --libdir | --libdi | --libd)
871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
874 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875 | --libexe | --libex | --libe)
876 ac_prev=libexecdir ;;
877 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878 | --libexe=* | --libex=* | --libe=*)
879 libexecdir=$ac_optarg ;;
881 -localedir | --localedir | --localedi | --localed | --locale)
883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884 localedir=$ac_optarg ;;
886 -localstatedir | --localstatedir | --localstatedi | --localstated \
887 | --localstate | --localstat | --localsta | --localst | --locals)
888 ac_prev=localstatedir ;;
889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
891 localstatedir=$ac_optarg ;;
893 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
899 # Obsolete; use --without-fp.
902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903 | --no-cr | --no-c | -n)
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
910 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912 | --oldin | --oldi | --old | --ol | --o)
913 ac_prev=oldincludedir ;;
914 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917 oldincludedir=$ac_optarg ;;
919 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
924 -program-prefix | --program-prefix | --program-prefi | --program-pref \
925 | --program-pre | --program-pr | --program-p)
926 ac_prev=program_prefix ;;
927 -program-prefix=* | --program-prefix=* | --program-prefi=* \
928 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929 program_prefix=$ac_optarg ;;
931 -program-suffix | --program-suffix | --program-suffi | --program-suff \
932 | --program-suf | --program-su | --program-s)
933 ac_prev=program_suffix ;;
934 -program-suffix=* | --program-suffix=* | --program-suffi=* \
935 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936 program_suffix=$ac_optarg ;;
938 -program-transform-name | --program-transform-name \
939 | --program-transform-nam | --program-transform-na \
940 | --program-transform-n | --program-transform- \
941 | --program-transform | --program-transfor \
942 | --program-transfo | --program-transf \
943 | --program-trans | --program-tran \
944 | --progr-tra | --program-tr | --program-t)
945 ac_prev=program_transform_name ;;
946 -program-transform-name=* | --program-transform-name=* \
947 | --program-transform-nam=* | --program-transform-na=* \
948 | --program-transform-n=* | --program-transform-=* \
949 | --program-transform=* | --program-transfor=* \
950 | --program-transfo=* | --program-transf=* \
951 | --program-trans=* | --program-tran=* \
952 | --progr-tra=* | --program-tr=* | --program-t=*)
953 program_transform_name=$ac_optarg ;;
955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
960 -psdir | --psdir | --psdi | --psd | --ps)
962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966 | -silent | --silent | --silen | --sile | --sil)
969 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
971 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
973 sbindir=$ac_optarg ;;
975 -sharedstatedir | --sharedstatedir | --sharedstatedi \
976 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
977 | --sharedst | --shareds | --shared | --share | --shar \
979 ac_prev=sharedstatedir ;;
980 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
981 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
982 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
984 sharedstatedir=$ac_optarg ;;
986 -site | --site | --sit)
988 -site=* | --site=* | --sit=*)
991 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
993 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
996 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
997 | --syscon | --sysco | --sysc | --sys | --sy)
998 ac_prev=sysconfdir ;;
999 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1000 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1001 sysconfdir=$ac_optarg ;;
1003 -target | --target | --targe | --targ | --tar | --ta | --t)
1004 ac_prev=target_alias ;;
1005 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1006 target_alias=$ac_optarg ;;
1008 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1011 -version | --version | --versio | --versi | --vers | -V)
1012 ac_init_version=: ;;
1015 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid package name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval with_$ac_useropt=\$ac_optarg ;;
1030 -without-* | --without-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 as_fn_error $? "invalid package name: $ac_useropt"
1035 ac_useropt_orig=$ac_useropt
1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1044 eval with_$ac_useropt=no ;;
1047 # Obsolete; use --with-x.
1050 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1051 | --x-incl | --x-inc | --x-in | --x-i)
1052 ac_prev=x_includes ;;
1053 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1054 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1055 x_includes=$ac_optarg ;;
1057 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1058 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1059 ac_prev=x_libraries ;;
1060 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1061 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1062 x_libraries=$ac_optarg ;;
1064 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1065 Try \`$0 --help' for more information"
1069 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 case $ac_envvar in #(
1072 '' | [0-9]* | *[!_$as_cr_alnum]* )
1073 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1075 eval $ac_envvar=\$ac_optarg
1076 export $ac_envvar ;;
1079 # FIXME: should be removed in autoconf 3.0.
1080 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1089 if test -n "$ac_prev"; then
1090 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1091 as_fn_error $? "missing argument to $ac_option"
1094 if test -n "$ac_unrecognized_opts"; then
1095 case $enable_option_checking in
1097 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1098 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102 # Check all directory arguments for consistency.
1103 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1108 eval ac_val=\$$ac_var
1109 # Remove trailing slashes.
1112 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113 eval $ac_var=\$ac_val;;
1115 # Be sure to have absolute directory names.
1117 [\\/$]* | ?:[\\/]* ) continue;;
1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1120 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1128 target=$target_alias
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x; then
1132 if test "x$build_alias" = x; then
1133 cross_compiling=maybe
1134 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1135 If a cross compiler is detected then cross compile mode will be used" >&2
1136 elif test "x$build_alias" != "x$host_alias"; then
1142 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144 test "$silent" = yes && exec 6>/dev/null
1147 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1148 ac_ls_di=`ls -di .` &&
1149 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1150 as_fn_error $? "working directory cannot be determined"
1151 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1152 as_fn_error $? "pwd does not report name of working directory"
1155 # Find the source files, if location was not specified.
1156 if test -z "$srcdir"; then
1157 ac_srcdir_defaulted=yes
1158 # Try the directory containing this script, then the parent directory.
1159 ac_confdir=`$as_dirname -- "$as_myself" ||
1160 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1161 X"$as_myself" : 'X\(//\)[^/]' \| \
1162 X"$as_myself" : 'X\(//\)$' \| \
1163 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1164 $as_echo X"$as_myself" |
1165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1187 ac_srcdir_defaulted=no
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1190 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1191 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1193 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1197 # When building in place, set srcdir=.
1198 if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 # Remove unnecessary trailing slashes from srcdir.
1202 # Double slashes in file names in object file debugging info
1203 # mess up M-x gdb in Emacs.
1205 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207 for ac_var in $ac_precious_vars; do
1208 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1209 eval ac_env_${ac_var}_value=\$${ac_var}
1210 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1211 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1215 # Report the --help message.
1217 if test "$ac_init_help" = "long"; then
1218 # Omit some internal or obsolete options to make the list less imposing.
1219 # This message is too long to be a string in the A/UX 3.1 sh.
1221 \`configure' configures radsecproxy 1.5-dev to adapt to many kinds of systems.
1223 Usage: $0 [OPTION]... [VAR=VALUE]...
1225 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1226 VAR=VALUE. See below for descriptions of some of the useful variables.
1228 Defaults for the options are specified in brackets.
1231 -h, --help display this help and exit
1232 --help=short display options specific to this package
1233 --help=recursive display the short help of all the included packages
1234 -V, --version display version information and exit
1235 -q, --quiet, --silent do not print \`checking ...' messages
1236 --cache-file=FILE cache test results in FILE [disabled]
1237 -C, --config-cache alias for \`--cache-file=config.cache'
1238 -n, --no-create do not create output files
1239 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241 Installation directories:
1242 --prefix=PREFIX install architecture-independent files in PREFIX
1243 [$ac_default_prefix]
1244 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 By default, \`make install' will install all the files in
1248 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1249 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1250 for instance \`--prefix=\$HOME'.
1252 For better control, use the options below.
1254 Fine tuning of the installation directories:
1255 --bindir=DIR user executables [EPREFIX/bin]
1256 --sbindir=DIR system admin executables [EPREFIX/sbin]
1257 --libexecdir=DIR program executables [EPREFIX/libexec]
1258 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1261 --libdir=DIR object code libraries [EPREFIX/lib]
1262 --includedir=DIR C header files [PREFIX/include]
1263 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1264 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1265 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1266 --infodir=DIR info documentation [DATAROOTDIR/info]
1267 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1268 --mandir=DIR man documentation [DATAROOTDIR/man]
1269 --docdir=DIR documentation root [DATAROOTDIR/doc/radsecproxy]
1270 --htmldir=DIR html documentation [DOCDIR]
1271 --dvidir=DIR dvi documentation [DOCDIR]
1272 --pdfdir=DIR pdf documentation [DOCDIR]
1273 --psdir=DIR ps documentation [DOCDIR]
1279 --program-prefix=PREFIX prepend PREFIX to installed program names
1280 --program-suffix=SUFFIX append SUFFIX to installed program names
1281 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1284 --build=BUILD configure for building on BUILD [guessed]
1285 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1286 --target=TARGET configure for building compilers for TARGET [HOST]
1290 if test -n "$ac_init_help"; then
1291 case $ac_init_help in
1292 short | recursive ) echo "Configuration of radsecproxy 1.5-dev:";;
1297 --disable-option-checking ignore unrecognized --enable/--with options
1298 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1299 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1300 --disable-dependency-tracking speeds up one-time build
1301 --enable-dependency-tracking do not reject slow dependency extractors
1302 --enable-udp whether to enable UDP transport: yes/no; default yes
1303 --enable-tcp whether to enable TCP transport: yes/no; default yes
1304 --enable-tls whether to enable TLS (RadSec) transport: yes/no; default yes
1305 --enable-dtls whether to enable DTLS transport: yes/no; default yes
1308 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1309 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1310 --with-ssl Use SSL (in specified installation directory)
1312 Some influential environment variables:
1313 CC C compiler command
1314 CFLAGS C compiler flags
1315 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1316 nonstandard directory <lib dir>
1317 LIBS libraries to pass to the linker, e.g. -l<library>
1318 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1319 you have headers in a nonstandard directory <include dir>
1323 Use these variables to override the choices made by `configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to <radsecproxy@uninett.no>.
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1356 .) # We are building in place.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1389 radsecproxy configure 1.5-dev
1390 generated by GNU Autoconf 2.67
1392 Copyright (C) 2010 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.$ac_objext; then :
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.$ac_ext >&5
1436 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_compile
1441 # ac_fn_c_try_link LINENO
1442 # -----------------------
1443 # Try to link conftest.$ac_ext, and return whether this succeeded.
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 rm -f conftest.$ac_objext conftest$ac_exeext
1448 if { { ac_try="$ac_link"
1450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_link") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_c_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest$ac_exeext && {
1467 test "$cross_compiling" = yes ||
1468 $as_test_x conftest$ac_exeext
1472 $as_echo "$as_me: failed program was:" >&5
1473 sed 's/^/| /' conftest.$ac_ext >&5
1477 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1478 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1479 # interfere with the next link command; also delete a directory that is
1480 # left behind by Apple's compiler. We do this before executing the actions.
1481 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483 as_fn_set_status $ac_retval
1485 } # ac_fn_c_try_link
1486 cat >config.log <<_ACEOF
1487 This file contains any messages produced by compilers while
1488 running configure, to aid debugging if configure makes a mistake.
1490 It was created by radsecproxy $as_me 1.5-dev, which was
1491 generated by GNU Autoconf 2.67. Invocation command line was
1503 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1504 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1505 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1506 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1507 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1509 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1510 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1512 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1513 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1514 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1515 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1516 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1517 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1518 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1526 test -z "$as_dir" && as_dir=.
1527 $as_echo "PATH: $as_dir"
1543 # Keep a trace of the command line.
1544 # Strip out --no-create and --no-recursion so they do not pile up.
1545 # Strip out --silent because we don't want to record it for future runs.
1546 # Also quote any args containing shell meta-characters.
1547 # Make two passes to allow for proper duplicate-argument suppression.
1551 ac_must_keep_next=false
1557 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1559 | -silent | --silent | --silen | --sile | --sil)
1562 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1565 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1567 as_fn_append ac_configure_args1 " '$ac_arg'"
1568 if test $ac_must_keep_next = true; then
1569 ac_must_keep_next=false # Got value, back to normal.
1572 *=* | --config-cache | -C | -disable-* | --disable-* \
1573 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1574 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1575 | -with-* | --with-* | -without-* | --without-* | --x)
1576 case "$ac_configure_args0 " in
1577 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1580 -* ) ac_must_keep_next=true ;;
1583 as_fn_append ac_configure_args " '$ac_arg'"
1588 { ac_configure_args0=; unset ac_configure_args0;}
1589 { ac_configure_args1=; unset ac_configure_args1;}
1591 # When interrupted or exit'd, cleanup temporary files, and complete
1592 # config.log. We remove comments because anyway the quotes in there
1593 # would cause problems or look ugly.
1594 # WARNING: Use '\'' to represent an apostrophe within the trap.
1595 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1596 trap 'exit_status=$?
1597 # Save into config.log some information that might help in debugging.
1601 $as_echo "## ---------------- ##
1602 ## Cache variables. ##
1603 ## ---------------- ##"
1605 # The following way of writing the cache mishandles newlines in values,
1607 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1608 eval ac_val=\$$ac_var
1612 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1616 _ | IFS | as_nl) ;; #(
1617 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1618 *) { eval $ac_var=; unset $ac_var;} ;;
1623 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1624 *${as_nl}ac_space=\ *)
1626 "s/'\''/'\''\\\\'\'''\''/g;
1627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1637 $as_echo "## ----------------- ##
1638 ## Output variables. ##
1639 ## ----------------- ##"
1641 for ac_var in $ac_subst_vars
1643 eval ac_val=\$$ac_var
1645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 $as_echo "$ac_var='\''$ac_val'\''"
1651 if test -n "$ac_subst_files"; then
1652 $as_echo "## ------------------- ##
1653 ## File substitutions. ##
1654 ## ------------------- ##"
1656 for ac_var in $ac_subst_files
1658 eval ac_val=\$$ac_var
1660 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1662 $as_echo "$ac_var='\''$ac_val'\''"
1667 if test -s confdefs.h; then
1668 $as_echo "## ----------- ##
1675 test "$ac_signal" != 0 &&
1676 $as_echo "$as_me: caught signal $ac_signal"
1677 $as_echo "$as_me: exit $exit_status"
1679 rm -f core *.core core.conftest.* &&
1680 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1683 for ac_signal in 1 2 13 15; do
1684 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1688 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1689 rm -f -r conftest* confdefs.h
1691 $as_echo "/* confdefs.h */" > confdefs.h
1693 # Predefined preprocessor variables.
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_NAME "$PACKAGE_NAME"
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_STRING "$PACKAGE_STRING"
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_URL "$PACKAGE_URL"
1720 # Let the site file select an alternate cache file if it wants to.
1721 # Prefer an explicitly selected file to automatically selected ones.
1724 if test -n "$CONFIG_SITE"; then
1725 # We do not want a PATH search for config.site.
1726 case $CONFIG_SITE in #((
1727 -*) ac_site_file1=./$CONFIG_SITE;;
1728 */*) ac_site_file1=$CONFIG_SITE;;
1729 *) ac_site_file1=./$CONFIG_SITE;;
1731 elif test "x$prefix" != xNONE; then
1732 ac_site_file1=$prefix/share/config.site
1733 ac_site_file2=$prefix/etc/config.site
1735 ac_site_file1=$ac_default_prefix/share/config.site
1736 ac_site_file2=$ac_default_prefix/etc/config.site
1738 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1740 test "x$ac_site_file" = xNONE && continue
1741 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1743 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1744 sed 's/^/| /' "$ac_site_file" >&5
1746 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1748 as_fn_error $? "failed to load site script $ac_site_file
1749 See \`config.log' for more details" "$LINENO" 5 ; }
1753 if test -r "$cache_file"; then
1754 # Some versions of bash will fail to source /dev/null (special files
1755 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1756 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1758 $as_echo "$as_me: loading cache $cache_file" >&6;}
1760 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1761 *) . "./$cache_file";;
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1766 $as_echo "$as_me: creating cache $cache_file" >&6;}
1770 # Check that the precious variables saved in the cache have kept the same
1772 ac_cache_corrupted=false
1773 for ac_var in $ac_precious_vars; do
1774 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1775 eval ac_new_set=\$ac_env_${ac_var}_set
1776 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1777 eval ac_new_val=\$ac_env_${ac_var}_value
1778 case $ac_old_set,$ac_new_set in
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1781 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1782 ac_cache_corrupted=: ;;
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1785 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1786 ac_cache_corrupted=: ;;
1789 if test "x$ac_old_val" != "x$ac_new_val"; then
1790 # differences in whitespace do not lead to failure.
1791 ac_old_val_w=`echo x $ac_old_val`
1792 ac_new_val_w=`echo x $ac_new_val`
1793 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1795 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1796 ac_cache_corrupted=:
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1799 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1800 eval $ac_var=\$ac_old_val
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1803 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1805 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1808 # Pass precious variables to config.status.
1809 if test "$ac_new_set" = set; then
1811 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1812 *) ac_arg=$ac_var=$ac_new_val ;;
1814 case " $ac_configure_args " in
1815 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1816 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1820 if $ac_cache_corrupted; then
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1824 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1827 ## -------------------- ##
1828 ## Main body of script. ##
1829 ## -------------------- ##
1832 ac_cpp='$CPP $CPPFLAGS'
1833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1839 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1840 if test -f "$ac_dir/install-sh"; then
1842 ac_install_sh="$ac_aux_dir/install-sh -c"
1844 elif test -f "$ac_dir/install.sh"; then
1846 ac_install_sh="$ac_aux_dir/install.sh -c"
1848 elif test -f "$ac_dir/shtool"; then
1850 ac_install_sh="$ac_aux_dir/shtool install -c"
1854 if test -z "$ac_aux_dir"; then
1855 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1858 # These three variables are undocumented and unsupported,
1859 # and are intended to be withdrawn in a future Autoconf release.
1860 # They can cause serious problems if a builder's source tree is in a directory
1861 # whose full name contains unusual characters.
1862 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1863 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1864 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1867 # Make sure we can run config.sub.
1868 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1869 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1872 $as_echo_n "checking build system type... " >&6; }
1873 if test "${ac_cv_build+set}" = set; then :
1874 $as_echo_n "(cached) " >&6
1876 ac_build_alias=$build_alias
1877 test "x$ac_build_alias" = x &&
1878 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1879 test "x$ac_build_alias" = x &&
1880 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1881 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1882 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1886 $as_echo "$ac_cv_build" >&6; }
1887 case $ac_cv_build in
1889 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
1892 ac_save_IFS=$IFS; IFS='-'
1898 # Remember, the first character of IFS is used to create $*,
1899 # except with old shells:
1902 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1906 $as_echo_n "checking host system type... " >&6; }
1907 if test "${ac_cv_host+set}" = set; then :
1908 $as_echo_n "(cached) " >&6
1910 if test "x$host_alias" = x; then
1911 ac_cv_host=$ac_cv_build
1913 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1914 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1919 $as_echo "$ac_cv_host" >&6; }
1922 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
1925 ac_save_IFS=$IFS; IFS='-'
1931 # Remember, the first character of IFS is used to create $*,
1932 # except with old shells:
1935 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1939 $as_echo_n "checking target system type... " >&6; }
1940 if test "${ac_cv_target+set}" = set; then :
1941 $as_echo_n "(cached) " >&6
1943 if test "x$target_alias" = x; then
1944 ac_cv_target=$ac_cv_host
1946 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1947 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1952 $as_echo "$ac_cv_target" >&6; }
1953 case $ac_cv_target in
1955 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
1957 target=$ac_cv_target
1958 ac_save_IFS=$IFS; IFS='-'
1964 # Remember, the first character of IFS is used to create $*,
1965 # except with old shells:
1968 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1971 # The aliases save the names the user supplied, while $host etc.
1972 # will get canonicalized.
1973 test -n "$target_alias" &&
1974 test "$program_prefix$program_suffix$program_transform_name" = \
1976 program_prefix=${target_alias}-
1977 am__api_version='1.11'
1979 # Find a good install program. We prefer a C program (faster),
1980 # so one script is as good as another. But avoid the broken or
1981 # incompatible versions:
1982 # SysV /etc/install, /usr/sbin/install
1983 # SunOS /usr/etc/install
1984 # IRIX /sbin/install
1986 # AmigaOS /C/install, which installs bootblocks on floppy discs
1987 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1988 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1989 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1990 # OS/2's system install, which has a completely different semantic
1991 # ./install, which can be erroneously created by make from ./install.sh.
1992 # Reject install programs that cannot install multiple files.
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1994 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1995 if test -z "$INSTALL"; then
1996 if test "${ac_cv_path_install+set}" = set; then :
1997 $as_echo_n "(cached) " >&6
1999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir=.
2004 # Account for people who put trailing slashes in PATH elements.
2005 case $as_dir/ in #((
2006 ./ | .// | /[cC]/* | \
2007 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2008 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2011 # OSF1 and SCO ODT 3.0 have their own names for install.
2012 # Don't use installbsd from OSF since it installs stuff as root
2014 for ac_prog in ginstall scoinst install; do
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2017 if test $ac_prog = install &&
2018 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2019 # AIX install. It has an incompatible calling convention.
2021 elif test $ac_prog = install &&
2022 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2023 # program-specific install script used by HP pwplus--don't use.
2026 rm -rf conftest.one conftest.two conftest.dir
2027 echo one > conftest.one
2028 echo two > conftest.two
2030 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2031 test -s conftest.one && test -s conftest.two &&
2032 test -s conftest.dir/conftest.one &&
2033 test -s conftest.dir/conftest.two
2035 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2048 rm -rf conftest.one conftest.two conftest.dir
2051 if test "${ac_cv_path_install+set}" = set; then
2052 INSTALL=$ac_cv_path_install
2054 # As a last resort, use the slow shell script. Don't cache a
2055 # value for INSTALL within a source directory, because that will
2056 # break other packages using the cache if that directory is
2057 # removed, or if the value is a relative name.
2058 INSTALL=$ac_install_sh
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2062 $as_echo "$INSTALL" >&6; }
2064 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2065 # It thinks the first close brace ends the variable substitution.
2066 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2068 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2070 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2073 $as_echo_n "checking whether build environment is sane... " >&6; }
2076 echo timestamp > conftest.file
2077 # Reject unsafe characters in $srcdir or the absolute working directory
2078 # name. Accept space and tab only in the latter.
2082 *[\\\"\#\$\&\'\`$am_lf]*)
2083 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2086 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2087 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2090 # Do `set' in a subshell so we don't clobber the current shell's
2091 # arguments. Must try -L first in case configure is actually a
2092 # symlink; some systems play weird games with the mod time of symlinks
2093 # (eg FreeBSD returns the mod time of the symlink's containing
2096 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2097 if test "$*" = "X"; then
2099 set X `ls -t "$srcdir/configure" conftest.file`
2102 if test "$*" != "X $srcdir/configure conftest.file" \
2103 && test "$*" != "X conftest.file $srcdir/configure"; then
2105 # If neither matched, then we have a broken ls. This can happen
2106 # if, for instance, CONFIG_SHELL is bash and it inherits a
2107 # broken ls alias from the environment. This has actually
2108 # happened. Such a system could not be considered "sane".
2109 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2110 alias in your environment" "$LINENO" 5
2113 test "$2" = conftest.file
2119 as_fn_error $? "newly created file is older than distributed files!
2120 Check your system clock" "$LINENO" 5
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2123 $as_echo "yes" >&6; }
2124 test "$program_prefix" != NONE &&
2125 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2126 # Use a double $ so make ignores it.
2127 test "$program_suffix" != NONE &&
2128 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2129 # Double any \ or $.
2130 # By default was `s,x,x', remove it if useless.
2131 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2132 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2134 # expand $ac_aux_dir to an absolute path
2135 am_aux_dir=`cd $ac_aux_dir && pwd`
2137 if test x"${MISSING+set}" != xset; then
2140 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2142 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2145 # Use eval to expand $SHELL
2146 if eval "$MISSING --run true"; then
2147 am_missing_run="$MISSING --run "
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2151 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2154 if test x"${install_sh}" != xset; then
2157 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2159 install_sh="\${SHELL} $am_aux_dir/install-sh"
2163 # Installed binaries are usually stripped using `strip' when the user
2164 # run `make install-strip'. However `strip' might not be the right
2165 # tool to use in cross-compilation environments, therefore Automake
2166 # will honor the `STRIP' environment variable to overrule this program.
2167 if test "$cross_compiling" != no; then
2168 if test -n "$ac_tool_prefix"; then
2169 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2170 set dummy ${ac_tool_prefix}strip; ac_word=$2
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2172 $as_echo_n "checking for $ac_word... " >&6; }
2173 if test "${ac_cv_prog_STRIP+set}" = set; then :
2174 $as_echo_n "(cached) " >&6
2176 if test -n "$STRIP"; then
2177 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2186 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 STRIP=$ac_cv_prog_STRIP
2197 if test -n "$STRIP"; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2199 $as_echo "$STRIP" >&6; }
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2202 $as_echo "no" >&6; }
2207 if test -z "$ac_cv_prog_STRIP"; then
2209 # Extract the first word of "strip", so it can be a program name with args.
2210 set dummy strip; ac_word=$2
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2212 $as_echo_n "checking for $ac_word... " >&6; }
2213 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2214 $as_echo_n "(cached) " >&6
2216 if test -n "$ac_ct_STRIP"; then
2217 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2226 ac_cv_prog_ac_ct_STRIP="strip"
2227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2237 if test -n "$ac_ct_STRIP"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2239 $as_echo "$ac_ct_STRIP" >&6; }
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2245 if test "x$ac_ct_STRIP" = x; then
2248 case $cross_compiling:$ac_tool_warned in
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2252 ac_tool_warned=yes ;;
2257 STRIP="$ac_cv_prog_STRIP"
2261 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2264 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2265 if test -z "$MKDIR_P"; then
2266 if test "${ac_cv_path_mkdir+set}" = set; then :
2267 $as_echo_n "(cached) " >&6
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2273 test -z "$as_dir" && as_dir=.
2274 for ac_prog in mkdir gmkdir; do
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2277 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2278 'mkdir (GNU coreutils) '* | \
2279 'mkdir (coreutils) '* | \
2280 'mkdir (fileutils) '4.1*)
2281 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2291 test -d ./--version && rmdir ./--version
2292 if test "${ac_cv_path_mkdir+set}" = set; then
2293 MKDIR_P="$ac_cv_path_mkdir -p"
2295 # As a last resort, use the slow shell script. Don't cache a
2296 # value for MKDIR_P within a source directory, because that will
2297 # break other packages using the cache if that directory is
2298 # removed, or if the value is a relative name.
2299 MKDIR_P="$ac_install_sh -d"
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2303 $as_echo "$MKDIR_P" >&6; }
2307 [\\/$]* | ?:[\\/]*) ;;
2308 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2311 for ac_prog in gawk mawk nawk awk
2313 # Extract the first word of "$ac_prog", so it can be a program name with args.
2314 set dummy $ac_prog; ac_word=$2
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2316 $as_echo_n "checking for $ac_word... " >&6; }
2317 if test "${ac_cv_prog_AWK+set}" = set; then :
2318 $as_echo_n "(cached) " >&6
2320 if test -n "$AWK"; then
2321 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2330 ac_cv_prog_AWK="$ac_prog"
2331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 if test -n "$AWK"; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2343 $as_echo "$AWK" >&6; }
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2346 $as_echo "no" >&6; }
2350 test -n "$AWK" && break
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2354 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2356 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2357 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2358 $as_echo_n "(cached) " >&6
2360 cat >conftest.make <<\_ACEOF
2363 @echo '@@@%%%=$(MAKE)=@@@%%%'
2365 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2366 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2368 eval ac_cv_prog_make_${ac_make}_set=yes;;
2370 eval ac_cv_prog_make_${ac_make}_set=no;;
2374 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2376 $as_echo "yes" >&6; }
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380 $as_echo "no" >&6; }
2381 SET_MAKE="MAKE=${MAKE-make}"
2384 rm -rf .tst 2>/dev/null
2385 mkdir .tst 2>/dev/null
2386 if test -d .tst; then
2391 rmdir .tst 2>/dev/null
2393 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2394 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2395 # is not polluted with repeated "-I."
2396 am__isrc=' -I$(srcdir)'
2397 # test to see if srcdir already configured
2398 if test -f $srcdir/config.status; then
2399 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2403 # test whether we have cygpath
2404 if test -z "$CYGPATH_W"; then
2405 if (cygpath --version) >/dev/null 2>/dev/null; then
2406 CYGPATH_W='cygpath -w'
2413 # Define the identity of the package.
2414 PACKAGE='radsecproxy'
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE "$PACKAGE"
2423 cat >>confdefs.h <<_ACEOF
2424 #define VERSION "$VERSION"
2427 # Some tools Automake needs.
2429 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2432 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2435 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2438 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2441 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2443 # We need awk for the "check" target. The system "awk" is bad on
2445 # Always define AMTAR for backward compatibility.
2447 AMTAR=${AMTAR-"${am_missing_run}tar"}
2449 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460 if test -n "$ac_tool_prefix"; then
2461 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2462 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_CC+set}" = set; then :
2466 $as_echo_n "(cached) " >&6
2468 if test -n "$CC"; then
2469 ac_cv_prog_CC="$CC" # Let the user override the test.
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir=.
2476 for ac_exec_ext in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test -n "$CC"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2491 $as_echo "$CC" >&6; }
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2499 if test -z "$ac_cv_prog_CC"; then
2501 # Extract the first word of "gcc", so it can be a program name with args.
2502 set dummy gcc; ac_word=$2
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$ac_ct_CC"; then
2509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518 ac_cv_prog_ac_ct_CC="gcc"
2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2529 if test -n "$ac_ct_CC"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2531 $as_echo "$ac_ct_CC" >&6; }
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 $as_echo "no" >&6; }
2537 if test "x$ac_ct_CC" = x; then
2540 case $cross_compiling:$ac_tool_warned in
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2544 ac_tool_warned=yes ;;
2552 if test -z "$CC"; then
2553 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}cc; ac_word=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if test "${ac_cv_prog_CC+set}" = set; then :
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$CC"; then
2562 ac_cv_prog_CC="$CC" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571 ac_cv_prog_CC="${ac_tool_prefix}cc"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 if test -n "$CC"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2584 $as_echo "$CC" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2593 if test -z "$CC"; then
2594 # Extract the first word of "cc", so it can be a program name with args.
2595 set dummy cc; ac_word=$2
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if test "${ac_cv_prog_CC+set}" = set; then :
2599 $as_echo_n "(cached) " >&6
2601 if test -n "$CC"; then
2602 ac_cv_prog_CC="$CC" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2613 ac_prog_rejected=yes
2617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 if test $ac_prog_rejected = yes; then
2625 # We found a bogon in the path, so make sure we never use it.
2626 set dummy $ac_cv_prog_CC
2628 if test $# != 0; then
2629 # We chose a different compiler from the bogus one.
2630 # However, it has the same basename, so the bogon will be chosen
2631 # first if we set CC to just the basename; use the full file name.
2633 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2639 if test -n "$CC"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2641 $as_echo "$CC" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2649 if test -z "$CC"; then
2650 if test -n "$ac_tool_prefix"; then
2651 for ac_prog in cl.exe
2653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_CC+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$CC"; then
2661 ac_cv_prog_CC="$CC" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test -n "$CC"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2683 $as_echo "$CC" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2690 test -n "$CC" && break
2693 if test -z "$CC"; then
2695 for ac_prog in cl.exe
2697 # Extract the first word of "$ac_prog", so it can be a program name with args.
2698 set dummy $ac_prog; ac_word=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$ac_ct_CC"; then
2705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_ac_ct_CC="$ac_prog"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2725 if test -n "$ac_ct_CC"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2727 $as_echo "$ac_ct_CC" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2734 test -n "$ac_ct_CC" && break
2737 if test "x$ac_ct_CC" = x; then
2740 case $cross_compiling:$ac_tool_warned in
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2744 ac_tool_warned=yes ;;
2753 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2755 as_fn_error $? "no acceptable C compiler found in \$PATH
2756 See \`config.log' for more details" "$LINENO" 5 ; }
2758 # Provide some information about the compiler.
2759 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2762 for ac_option in --version -v -V -qversion; do
2763 { { ac_try="$ac_compiler $ac_option >&5"
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2769 $as_echo "$ac_try_echo"; } >&5
2770 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2772 if test -s conftest.err; then
2774 ... rest of stderr output deleted ...
2775 10q' conftest.err >conftest.er1
2776 cat conftest.er1 >&5
2778 rm -f conftest.er1 conftest.err
2779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; }
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2794 ac_clean_files_save=$ac_clean_files
2795 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2796 # Try to create an executable without -o first, disregard a.out.
2797 # It will help us diagnose broken compilers, and finding out an intuition
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2800 $as_echo_n "checking whether the C compiler works... " >&6; }
2801 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2803 # The possible output files:
2804 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2807 for ac_file in $ac_files
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2811 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2816 if { { ac_try="$ac_link_default"
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2822 $as_echo "$ac_try_echo"; } >&5
2823 (eval "$ac_link_default") 2>&5
2825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2826 test $ac_status = 0; }; then :
2827 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2828 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2829 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2830 # so that the user can short-circuit this test for compilers unknown to
2832 for ac_file in $ac_files ''
2834 test -f "$ac_file" || continue
2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2839 # We found the default executable, but exeext='' is most
2843 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2845 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2847 # We set ac_cv_exeext here because the later test for it is not
2848 # safe: cross compilers may not add the suffix if given an `-o'
2849 # argument, so we may need to know it at that point already.
2850 # Even if this section looks crufty: it has the advantage of
2857 test "$ac_cv_exeext" = no && ac_cv_exeext=
2862 if test -z "$ac_file"; then :
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2865 $as_echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2870 as_fn_error 77 "C compiler cannot create executables
2871 See \`config.log' for more details" "$LINENO" 5 ; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2874 $as_echo "yes" >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2877 $as_echo_n "checking for C compiler default output file name... " >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2879 $as_echo "$ac_file" >&6; }
2880 ac_exeext=$ac_cv_exeext
2882 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2883 ac_clean_files=$ac_clean_files_save
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2885 $as_echo_n "checking for suffix of executables... " >&6; }
2886 if { { ac_try="$ac_link"
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2892 $as_echo "$ac_try_echo"; } >&5
2893 (eval "$ac_link") 2>&5
2895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; }; then :
2897 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2898 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2899 # work properly (i.e., refer to `conftest.exe'), while it won't with
2901 for ac_file in conftest.exe conftest conftest.*; do
2902 test -f "$ac_file" || continue
2904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2905 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2914 See \`config.log' for more details" "$LINENO" 5 ; }
2916 rm -f conftest conftest$ac_cv_exeext
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2918 $as_echo "$ac_cv_exeext" >&6; }
2920 rm -f conftest.$ac_ext
2921 EXEEXT=$ac_cv_exeext
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2929 FILE *f = fopen ("conftest.out", "w");
2930 return ferror (f) || fclose (f) != 0;
2936 ac_clean_files="$ac_clean_files conftest.out"
2937 # Check that the compiler produces executables we can run. If not, either
2938 # the compiler is broken, or we cross compile.
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2940 $as_echo_n "checking whether we are cross compiling... " >&6; }
2941 if test "$cross_compiling" != yes; then
2942 { { ac_try="$ac_link"
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 $as_echo "$ac_try_echo"; } >&5
2949 (eval "$ac_link") 2>&5
2951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; }
2953 if { ac_try='./conftest$ac_cv_exeext'
2954 { { case "(($ac_try" in
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959 $as_echo "$ac_try_echo"; } >&5
2960 (eval "$ac_try") 2>&5
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; }; }; then
2966 if test "$cross_compiling" = maybe; then
2969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2971 as_fn_error $? "cannot run C compiled programs.
2972 If you meant to cross compile, use \`--host'.
2973 See \`config.log' for more details" "$LINENO" 5 ; }
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2978 $as_echo "$cross_compiling" >&6; }
2980 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2981 ac_clean_files=$ac_clean_files_save
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2983 $as_echo_n "checking for suffix of object files... " >&6; }
2984 if test "${ac_cv_objext+set}" = set; then :
2985 $as_echo_n "(cached) " >&6
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2998 rm -f conftest.o conftest.obj
2999 if { { ac_try="$ac_compile"
3001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3002 *) ac_try_echo=$ac_try;;
3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_compile") 2>&5
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; }; then :
3010 for ac_file in conftest.o conftest.obj conftest.*; do
3011 test -f "$ac_file" || continue;
3013 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3014 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3019 $as_echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 as_fn_error $? "cannot compute suffix of object files: cannot compile
3025 See \`config.log' for more details" "$LINENO" 5 ; }
3027 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3030 $as_echo "$ac_cv_objext" >&6; }
3031 OBJEXT=$ac_cv_objext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3034 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3035 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3036 $as_echo_n "(cached) " >&6
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3052 if ac_fn_c_try_compile "$LINENO"; then :
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3062 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3063 if test $ac_compiler_gnu = yes; then
3068 ac_test_CFLAGS=${CFLAGS+set}
3069 ac_save_CFLAGS=$CFLAGS
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3071 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3072 if test "${ac_cv_prog_cc_g+set}" = set; then :
3073 $as_echo_n "(cached) " >&6
3075 ac_save_c_werror_flag=$ac_c_werror_flag
3076 ac_c_werror_flag=yes
3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3090 if ac_fn_c_try_compile "$LINENO"; then :
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3105 if ac_fn_c_try_compile "$LINENO"; then :
3108 ac_c_werror_flag=$ac_save_c_werror_flag
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3121 if ac_fn_c_try_compile "$LINENO"; then :
3124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3129 ac_c_werror_flag=$ac_save_c_werror_flag
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3132 $as_echo "$ac_cv_prog_cc_g" >&6; }
3133 if test "$ac_test_CFLAGS" = set; then
3134 CFLAGS=$ac_save_CFLAGS
3135 elif test $ac_cv_prog_cc_g = yes; then
3136 if test "$GCC" = yes; then
3142 if test "$GCC" = yes; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3149 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3150 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3151 $as_echo_n "(cached) " >&6
3153 ac_cv_prog_cc_c89=no
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3159 #include <sys/types.h>
3160 #include <sys/stat.h>
3161 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3162 struct buf { int x; };
3163 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3164 static char *e (p, i)
3170 static char *f (char * (*g) (char **, int), char **p, ...)
3175 s = g (p, va_arg (v,int));
3180 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3181 function prototypes and stuff, but not '\xHH' hex character constants.
3182 These don't provoke an error unfortunately, instead are silently treated
3183 as 'x'. The following induces an error, until -std is added to get
3184 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3185 array size at least. It's necessary to write '\x00'==0 to get something
3186 that's true only with -std. */
3187 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3189 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3190 inside strings and character constants. */
3192 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3194 int test (int i, double x);
3195 struct s1 {int (*f) (int a);};
3196 struct s2 {int (*f) (double a);};
3197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3208 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3209 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3211 CC="$ac_save_CC $ac_arg"
3212 if ac_fn_c_try_compile "$LINENO"; then :
3213 ac_cv_prog_cc_c89=$ac_arg
3215 rm -f core conftest.err conftest.$ac_objext
3216 test "x$ac_cv_prog_cc_c89" != "xno" && break
3218 rm -f conftest.$ac_ext
3223 case "x$ac_cv_prog_cc_c89" in
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3226 $as_echo "none needed" >&6; } ;;
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3229 $as_echo "unsupported" >&6; } ;;
3231 CC="$CC $ac_cv_prog_cc_c89"
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3233 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3235 if test "x$ac_cv_prog_cc_c89" != xno; then :
3240 ac_cpp='$CPP $CPPFLAGS'
3241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3244 DEPDIR="${am__leading_dot}deps"
3246 ac_config_commands="$ac_config_commands depfiles"
3249 am_make=${MAKE-make}
3250 cat > confinc << 'END'
3252 @echo this is the am__doit target
3255 # If we don't find an include directive, just comment out the code.
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3257 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3261 # First try GNU make style include.
3262 echo "include confinc" > confmf
3263 # Ignore all kinds of additional output from `make'.
3264 case `$am_make -s -f confmf 2> /dev/null` in #(
3265 *the\ am__doit\ target*)
3271 # Now try BSD make style include.
3272 if test "$am__include" = "#"; then
3273 echo '.include "confinc"' > confmf
3274 case `$am_make -s -f confmf 2> /dev/null` in #(
3275 *the\ am__doit\ target*)
3276 am__include=.include
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3285 $as_echo "$_am_result" >&6; }
3286 rm -f confinc confmf
3288 # Check whether --enable-dependency-tracking was given.
3289 if test "${enable_dependency_tracking+set}" = set; then :
3290 enableval=$enable_dependency_tracking;
3293 if test "x$enable_dependency_tracking" != xno; then
3294 am_depcomp="$ac_aux_dir/depcomp"
3297 if test "x$enable_dependency_tracking" != xno; then
3307 depcc="$CC" am_compiler_list=
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3310 $as_echo_n "checking dependency style of $depcc... " >&6; }
3311 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3312 $as_echo_n "(cached) " >&6
3314 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3315 # We make a subdir and do the tests there. Otherwise we can end up
3316 # making bogus files that we don't know about and never remove. For
3317 # instance it was reported that on HP-UX the gcc test will end up
3318 # making a dummy file named `D' -- because `-MD' means `put the output
3321 # Copy depcomp to subdir because otherwise we won't find it if we're
3322 # using a relative directory.
3323 cp "$am_depcomp" conftest.dir
3325 # We will build objects and dependencies in a subdirectory because
3326 # it helps to detect inapplicable dependency modes. For instance
3327 # both Tru64's cc and ICC support -MD to output dependencies as a
3328 # side effect of compilation, but ICC will put the dependencies in
3329 # the current directory while Tru64 will put them in the object
3333 am_cv_CC_dependencies_compiler_type=none
3334 if test "$am_compiler_list" = ""; then
3335 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3338 case " $depcc " in #(
3339 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3342 for depmode in $am_compiler_list; do
3343 # Setup a source with many dependencies, because some compilers
3344 # like to wrap large dependency lists on column 80 (with \), and
3345 # we should not choose a depcomp mode which is confused by this.
3347 # We need to recreate these files for each test, as the compiler may
3348 # overwrite some of them when testing with obscure command lines.
3349 # This happens at least with the AIX C compiler.
3351 for i in 1 2 3 4 5 6; do
3352 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3353 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3354 # Solaris 8's {/usr,}/bin/sh.
3355 touch sub/conftst$i.h
3357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3359 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3360 # mode. It turns out that the SunPro C++ compiler does not properly
3361 # handle `-M -o', and we need to detect this. Also, some Intel
3362 # versions had trouble with output in subdirs
3363 am__obj=sub/conftest.${OBJEXT-o}
3364 am__minus_obj="-o $am__obj"
3367 # This depmode causes a compiler race in universal mode.
3368 test "$am__universal" = false || continue
3371 # after this tag, mechanisms are not by side-effect, so they'll
3372 # only be used when explicitly requested
3373 if test "x$enable_dependency_tracking" = xyes; then
3379 msvisualcpp | msvcmsys)
3380 # This compiler won't grok `-c -o', but also, the minuso test has
3381 # not run yet. These depmodes are late enough in the game, and
3382 # so weak that their functioning should not be impacted.
3383 am__obj=conftest.${OBJEXT-o}
3388 if depmode=$depmode \
3389 source=sub/conftest.c object=$am__obj \
3390 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3391 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3392 >/dev/null 2>conftest.err &&
3393 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3394 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3395 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3396 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3397 # icc doesn't choke on unknown options, it will just issue warnings
3398 # or remarks (even with -Werror). So we grep stderr for any message
3399 # that says an option was ignored or not supported.
3400 # When given -MP, icc 7.0 and 7.1 complain thusly:
3401 # icc: Command line warning: ignoring option '-M'; no argument required
3402 # The diagnosis changed in icc 8.0:
3403 # icc: Command line remark: option '-MP' not supported
3404 if (grep 'ignoring option' conftest.err ||
3405 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3406 am_cv_CC_dependencies_compiler_type=$depmode
3415 am_cv_CC_dependencies_compiler_type=none
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3420 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3421 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3424 test "x$enable_dependency_tracking" != xno \
3425 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3427 am__fastdepCC_FALSE='#'
3429 am__fastdepCC_TRUE='#'
3430 am__fastdepCC_FALSE=
3434 if test "x$CC" != xcc; then
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3436 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3439 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3441 set dummy $CC; ac_cc=`$as_echo "$2" |
3442 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3443 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3444 $as_echo_n "(cached) " >&6
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3457 # Make sure it works both with $CC and with simple cc.
3458 # We do the test twice because some compilers refuse to overwrite an
3459 # existing .o file with -o, though they will create one.
3460 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3462 if { { case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468 (eval "$ac_try") 2>&5
3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471 test $ac_status = 0; } &&
3472 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_try") 2>&5
3480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3481 test $ac_status = 0; };
3483 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3484 if test "x$CC" != xcc; then
3485 # Test first that cc exists at all.
3486 if { ac_try='cc -c conftest.$ac_ext >&5'
3487 { { case "(($ac_try" in
3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3492 $as_echo "$ac_try_echo"; } >&5
3493 (eval "$ac_try") 2>&5
3495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3496 test $ac_status = 0; }; }; then
3497 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3499 if { { case "(($ac_try" in
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504 $as_echo "$ac_try_echo"; } >&5
3505 (eval "$ac_try") 2>&5
3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; } &&
3509 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_try") 2>&5
3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518 test $ac_status = 0; };
3523 # cc exists but doesn't like -o.
3524 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3529 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3531 rm -f core conftest*
3534 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536 $as_echo "yes" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3541 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3545 # FIXME: we rely on the cache variable name because
3546 # there is no other way.
3548 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3549 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3550 if test "$am_t" != yes; then
3551 # Losing compiler, so override with the script.
3552 # FIXME: It is wrong to rewrite CC.
3553 # But if we don't then we get into trouble of one sort or another.
3554 # A longer-term fix would be to have automake use am__CC in this case,
3555 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3556 CC="$am_aux_dir/compile $CC"
3561 # Check whether --enable-udp was given.
3562 if test "${enable_udp+set}" = set; then :
3563 enableval=$enable_udp; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3566 echo "--enable-udp argument must be yes or no"
3574 # Check whether --enable-tcp was given.
3575 if test "${enable_tcp+set}" = set; then :
3576 enableval=$enable_tcp; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3579 echo "--enable-tcp argument must be yes or no"
3587 # Check whether --enable-tls was given.
3588 if test "${enable_tls+set}" = set; then :
3589 enableval=$enable_tls; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3592 echo "--enable-tls argument must be yes or no"
3600 # Check whether --enable-dtls was given.
3601 if test "${enable_dtls+set}" = set; then :
3602 enableval=$enable_dtls; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3605 echo "--enable-dtls argument must be yes or no"
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_sha256_init in -lnettle" >&5
3614 $as_echo_n "checking for nettle_sha256_init in -lnettle... " >&6; }
3615 if test "${ac_cv_lib_nettle_nettle_sha256_init+set}" = set; then :
3616 $as_echo_n "(cached) " >&6
3618 ac_check_lib_save_LIBS=$LIBS
3619 LIBS="-lnettle $LIBS"
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3623 /* Override any GCC internal prototype to avoid an error.
3624 Use char because int might match the return type of a GCC
3625 builtin and then its argument prototype would still apply. */
3629 char nettle_sha256_init ();
3633 return nettle_sha256_init ();
3638 if ac_fn_c_try_link "$LINENO"; then :
3639 ac_cv_lib_nettle_nettle_sha256_init=yes
3641 ac_cv_lib_nettle_nettle_sha256_init=no
3643 rm -f core conftest.err conftest.$ac_objext \
3644 conftest$ac_exeext conftest.$ac_ext
3645 LIBS=$ac_check_lib_save_LIBS
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_sha256_init" >&5
3648 $as_echo "$ac_cv_lib_nettle_nettle_sha256_init" >&6; }
3649 if test "x$ac_cv_lib_nettle_nettle_sha256_init" = x""yes; then :
3650 cat >>confdefs.h <<_ACEOF
3651 #define HAVE_LIBNETTLE 1
3654 LIBS="-lnettle $LIBS"
3657 as_fn_error $? "required library nettle not found" "$LINENO" 5
3662 case "${target_os}" in
3664 TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
3665 if test "$GCC" != yes ; then
3666 TARGET_CFLAGS="$TARGET_CFLAGS -mt"
3668 TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
3670 TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
3673 TARGET_CFLAGS="-Wall -pedantic -pthread"
3676 if test "x$udp" = "xyes" ; then
3677 echo "UDP transport enabled"
3678 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_UDP"
3680 if test "x$tcp" = "xyes" ; then
3681 echo "TCP transport enabled"
3682 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TCP"
3684 if test "x$tls" = "xyes" ; then
3685 echo "TLS (RadSec) transport enabled"
3686 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TLS"
3688 if test "x$dtls" = "xyes" ; then
3689 echo "DTLS transport enabled"
3690 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_DTLS"
3694 # Extract the first word of "docbook2x-man", so it can be a program name with args.
3695 set dummy docbook2x-man; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if test "${ac_cv_prog_DOCBOOK2X_MAN+set}" = set; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$DOCBOOK2X_MAN"; then
3702 ac_cv_prog_DOCBOOK2X_MAN="$DOCBOOK2X_MAN" # Let the user override the test.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 ac_cv_prog_DOCBOOK2X_MAN="yes"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 DOCBOOK2X_MAN=$ac_cv_prog_DOCBOOK2X_MAN
3722 if test -n "$DOCBOOK2X_MAN"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2X_MAN" >&5
3724 $as_echo "$DOCBOOK2X_MAN" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3731 if test "$DOCBOOK2X_MAN" = "yes"; then
3732 HAVE_DOCBOOK2X_MAN_TRUE=
3733 HAVE_DOCBOOK2X_MAN_FALSE='#'
3735 HAVE_DOCBOOK2X_MAN_TRUE='#'
3736 HAVE_DOCBOOK2X_MAN_FALSE=
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
3743 $as_echo_n "checking for OpenSSL... " >&6; }
3747 # Check whether --with-ssl was given.
3748 if test "${with_ssl+set}" = set; then :
3749 withval=$with_ssl; check_ssl_dir="$withval"
3754 for dir in $check_ssl_dir /usr /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local ; do
3756 if test -f "$dir/include/openssl/ssl.h"; then
3759 SSL_CFLAGS="-I$ssldir/include -I$ssldir/include/openssl";
3762 if test -f "$dir/include/ssl.h"; then
3765 SSL_CFLAGS="-I$ssldir/include/";
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_ssl" >&5
3770 $as_echo "$found_ssl" >&6; }
3771 if test x_$found_ssl != x_yes; then
3773 ----------------------------------------------------------------------
3774 Cannot find SSL libraries.
3776 Please install OpenSSL or specify installation directory with
3778 ----------------------------------------------------------------------
3781 printf "OpenSSL found in $ssldir\n";
3782 SSL_LIBS="-lssl -lcrypto";
3783 SSL_LDFLAGS="-L$ssldir/lib";
3785 cat >>confdefs.h <<_ACEOF
3786 #define USE_OPENSSL 1
3794 ac_config_files="$ac_config_files Makefile"
3796 cat >confcache <<\_ACEOF
3797 # This file is a shell script that caches the results of configure
3798 # tests run on this system so they can be shared between configure
3799 # scripts and configure runs, see configure's option --config-cache.
3800 # It is not useful on other systems. If it contains results you don't
3801 # want to keep, you may remove or edit it.
3803 # config.status only pays attention to the cache file if you give it
3804 # the --recheck option to rerun configure.
3806 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3807 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3812 # The following way of writing the cache mishandles newlines in values,
3813 # but we know of no workaround that is simple, portable, and efficient.
3814 # So, we kill variables containing newlines.
3815 # Ultrix sh set writes to stderr and can't be redirected directly,
3816 # and sets the high bit in the cache file unless we assign to the vars.
3818 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3819 eval ac_val=\$$ac_var
3823 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3824 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3827 _ | IFS | as_nl) ;; #(
3828 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3829 *) { eval $ac_var=; unset $ac_var;} ;;
3835 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3836 *${as_nl}ac_space=\ *)
3837 # `set' does not quote correctly, so add quotes: double-quote
3838 # substitution turns \\\\ into \\, and sed turns \\ into \.
3841 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3844 # `set' quotes correctly as required by POSIX, so do not add quotes.
3845 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3854 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3856 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3858 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3859 if test -w "$cache_file"; then
3860 test "x$cache_file" != "x/dev/null" &&
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3862 $as_echo "$as_me: updating cache $cache_file" >&6;}
3863 cat confcache >$cache_file
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3866 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3871 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3872 # Let make expand exec_prefix.
3873 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3875 # Transform confdefs.h into DEFS.
3876 # Protect against shell expansion while executing Makefile rules.
3877 # Protect against Makefile macro expansion.
3879 # If the first sed substitution is executed (which looks for macros that
3880 # take arguments), then branch to the quote section. Otherwise,
3881 # look for a macro that doesn't take arguments.
3891 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3893 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3897 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3910 DEFS=`sed -n "$ac_script" confdefs.h`
3916 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3917 # 1. Remove the extension, and $U if already installed.
3918 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3919 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3920 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3921 # will be set to the directory where LIBOBJS objects are built.
3922 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3923 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3927 LTLIBOBJS=$ac_ltlibobjs
3930 if test -n "$EXEEXT"; then
3932 am__EXEEXT_FALSE='#'
3938 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3939 as_fn_error $? "conditional \"AMDEP\" was never defined.
3940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3942 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3943 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3946 if test -z "${HAVE_DOCBOOK2X_MAN_TRUE}" && test -z "${HAVE_DOCBOOK2X_MAN_FALSE}"; then
3947 as_fn_error $? "conditional \"HAVE_DOCBOOK2X_MAN\" was never defined.
3948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3951 : ${CONFIG_STATUS=./config.status}
3953 ac_clean_files_save=$ac_clean_files
3954 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3956 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3958 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3960 # Generated by $as_me.
3961 # Run this file to recreate the current configuration.
3962 # Compiler output produced by configure, useful for debugging
3963 # configure, is in config.log if it exists.
3969 SHELL=\${CONFIG_SHELL-$SHELL}
3972 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3973 ## -------------------- ##
3974 ## M4sh Initialization. ##
3975 ## -------------------- ##
3977 # Be more Bourne compatible
3978 DUALCASE=1; export DUALCASE # for MKS sh
3979 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3982 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3983 # is contrary to our usage. Disable this feature.
3984 alias -g '${1+"$@"}'='"$@"'
3985 setopt NO_GLOB_SUBST
3987 case `(set -o) 2>/dev/null` in #(
3999 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4000 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4001 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4002 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4003 # Prefer a ksh shell builtin over an external printf program on Solaris,
4004 # but without wasting forks for bash or zsh.
4005 if test -z "$BASH_VERSION$ZSH_VERSION" \
4006 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4007 as_echo='print -r --'
4008 as_echo_n='print -rn --'
4009 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4010 as_echo='printf %s\n'
4011 as_echo_n='printf %s'
4013 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4014 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4015 as_echo_n='/usr/ucb/echo -n'
4017 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4018 as_echo_n_body='eval
4022 expr "X$arg" : "X\\(.*\\)$as_nl";
4023 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4025 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4027 export as_echo_n_body
4028 as_echo_n='sh -c $as_echo_n_body as_echo'
4031 as_echo='sh -c $as_echo_body as_echo'
4034 # The user is always right.
4035 if test "${PATH_SEPARATOR+set}" != set; then
4037 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4038 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4045 # We need space, tab and new line, in precisely that order. Quoting is
4046 # there to prevent editors from complaining about space-tab.
4047 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4048 # splitting by setting IFS to empty value.)
4051 # Find who we are. Look in the path if we contain no directory separator.
4053 *[\\/]* ) as_myself=$0 ;;
4054 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 test -z "$as_dir" && as_dir=.
4059 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4065 # We did not find ourselves, most probably we were run as `sh COMMAND'
4066 # in which case we are not to be found in the path.
4067 if test "x$as_myself" = x; then
4070 if test ! -f "$as_myself"; then
4071 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4075 # Unset variables that we do not need and which cause bugs (e.g. in
4076 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4077 # suppresses any "Segmentation fault" message there. '((' could
4078 # trigger a bug in pdksh 5.2.14.
4079 for as_var in BASH_ENV ENV MAIL MAILPATH
4080 do eval test x\${$as_var+set} = xset \
4081 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4094 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4097 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4098 # ----------------------------------------
4099 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4100 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4101 # script with STATUS, using 1 if that was 0.
4104 as_status=$1; test $as_status -eq 0 && as_status=1
4106 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4107 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4109 $as_echo "$as_me: error: $2" >&2
4110 as_fn_exit $as_status
4114 # as_fn_set_status STATUS
4115 # -----------------------
4116 # Set $? to STATUS, without forking.
4120 } # as_fn_set_status
4124 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4134 # Portably unset VAR.
4137 { eval $1=; unset $1;}
4139 as_unset=as_fn_unset
4140 # as_fn_append VAR VALUE
4141 # ----------------------
4142 # Append the text in VALUE to the end of the definition contained in VAR. Take
4143 # advantage of any shell optimizations that allow amortized linear growth over
4144 # repeated appends, instead of the typical quadratic growth present in naive
4146 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4147 eval 'as_fn_append ()
4158 # as_fn_arith ARG...
4159 # ------------------
4160 # Perform arithmetic evaluation on the ARGs, and store the result in the
4161 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4162 # must be portable across $(()) and expr.
4163 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4164 eval 'as_fn_arith ()
4171 as_val=`expr "$@" || test $? -eq 1`
4176 if expr a : '\(a\)' >/dev/null 2>&1 &&
4177 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4183 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4184 as_basename=basename
4189 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4195 as_me=`$as_basename -- "$0" ||
4196 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4197 X"$0" : 'X\(//\)$' \| \
4198 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4200 sed '/^.*\/\([^/][^/]*\)\/*$/{
4214 # Avoid depending upon Character Ranges.
4215 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4216 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4217 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4218 as_cr_digits='0123456789'
4219 as_cr_alnum=$as_cr_Letters$as_cr_digits
4221 ECHO_C= ECHO_N= ECHO_T=
4222 case `echo -n x` in #(((((
4224 case `echo 'xy\c'` in
4225 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4227 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4234 rm -f conf$$ conf$$.exe conf$$.file
4235 if test -d conf$$.dir; then
4236 rm -f conf$$.dir/conf$$.file
4239 mkdir conf$$.dir 2>/dev/null
4241 if (echo >conf$$.file) 2>/dev/null; then
4242 if ln -s conf$$.file conf$$ 2>/dev/null; then
4244 # ... but there are two gotchas:
4245 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4246 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4247 # In both cases, we have to default to `cp -p'.
4248 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4250 elif ln conf$$.file conf$$ 2>/dev/null; then
4258 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4259 rmdir conf$$.dir 2>/dev/null
4264 # Create "$as_dir" as a directory, including parents if necessary.
4269 -*) as_dir=./$as_dir;;
4271 test -d "$as_dir" || eval $as_mkdir_p || {
4275 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4276 *) as_qdir=$as_dir;;
4278 as_dirs="'$as_qdir' $as_dirs"
4279 as_dir=`$as_dirname -- "$as_dir" ||
4280 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4281 X"$as_dir" : 'X\(//\)[^/]' \| \
4282 X"$as_dir" : 'X\(//\)$' \| \
4283 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4284 $as_echo X"$as_dir" |
4285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4302 test -d "$as_dir" && break
4304 test -z "$as_dirs" || eval "mkdir $as_dirs"
4305 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4309 if mkdir -p . 2>/dev/null; then
4310 as_mkdir_p='mkdir -p "$as_dir"'
4312 test -d ./-p && rmdir ./-p
4316 if test -x / >/dev/null 2>&1; then
4319 if ls -dL / >/dev/null 2>&1; then
4326 if test -d "$1"; then
4332 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4333 ???[sx]*):;;*)false;;esac;fi
4337 as_executable_p=$as_test_x
4339 # Sed expression to map a string onto a valid CPP name.
4340 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4342 # Sed expression to map a string onto a valid variable name.
4343 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4347 ## ----------------------------------- ##
4348 ## Main body of $CONFIG_STATUS script. ##
4349 ## ----------------------------------- ##
4351 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4354 # Save the log message, to keep $0 and so on meaningful, and to
4355 # report actual input values of CONFIG_FILES etc. instead of their
4356 # values after options handling.
4358 This file was extended by radsecproxy $as_me 1.5-dev, which was
4359 generated by GNU Autoconf 2.67. Invocation command line was
4361 CONFIG_FILES = $CONFIG_FILES
4362 CONFIG_HEADERS = $CONFIG_HEADERS
4363 CONFIG_LINKS = $CONFIG_LINKS
4364 CONFIG_COMMANDS = $CONFIG_COMMANDS
4367 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4372 case $ac_config_files in *"
4373 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4379 # Files that config.status was made for.
4380 config_files="$ac_config_files"
4381 config_commands="$ac_config_commands"
4385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4387 \`$as_me' instantiates files and other configuration actions
4388 from templates according to the current configuration. Unless the files
4389 and actions are specified as TAGs, all are instantiated by default.
4391 Usage: $0 [OPTION]... [TAG]...
4393 -h, --help print this help, then exit
4394 -V, --version print version number and configuration settings, then exit
4395 --config print configuration, then exit
4396 -q, --quiet, --silent
4397 do not print progress messages
4398 -d, --debug don't remove temporary files
4399 --recheck update $as_me by reconfiguring in the same conditions
4400 --file=FILE[:TEMPLATE]
4401 instantiate the configuration file FILE
4403 Configuration files:
4406 Configuration commands:
4409 Report bugs to <radsecproxy@uninett.no>."
4412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4413 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4415 radsecproxy config.status 1.5-dev
4416 configured by $0, generated by GNU Autoconf 2.67,
4417 with options \\"\$ac_cs_config\\"
4419 Copyright (C) 2010 Free Software Foundation, Inc.
4420 This config.status script is free software; the Free Software Foundation
4421 gives unlimited permission to copy, distribute and modify it."
4428 test -n "\$AWK" || AWK=awk
4431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4432 # The default lists apply if the user does not specify any file.
4438 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4439 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4443 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4455 # Handling of the options.
4456 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4458 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4459 $as_echo "$ac_cs_version"; exit ;;
4460 --config | --confi | --conf | --con | --co | --c )
4461 $as_echo "$ac_cs_config"; exit ;;
4462 --debug | --debu | --deb | --de | --d | -d )
4464 --file | --fil | --fi | --f )
4467 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4468 '') as_fn_error $? "missing file argument" ;;
4470 as_fn_append CONFIG_FILES " '$ac_optarg'"
4471 ac_need_defaults=false;;
4472 --he | --h | --help | --hel | -h )
4473 $as_echo "$ac_cs_usage"; exit ;;
4474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4475 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4479 -*) as_fn_error $? "unrecognized option: \`$1'
4480 Try \`$0 --help' for more information." ;;
4482 *) as_fn_append ac_config_targets " $1"
4483 ac_need_defaults=false ;;
4489 ac_configure_extra_args=
4491 if $ac_cs_silent; then
4493 ac_configure_extra_args="$ac_configure_extra_args --silent"
4497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4498 if \$ac_cs_recheck; then
4499 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4501 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4502 CONFIG_SHELL='$SHELL'
4508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4512 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4513 ## Running $as_me. ##
4519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4523 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4529 # Handling of arguments.
4530 for ac_config_target in $ac_config_targets
4532 case $ac_config_target in
4533 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4534 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4536 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4541 # If the user did not use the arguments to specify the items to instantiate,
4542 # then the envvar interface is used. Set only those that are not.
4543 # We use the long form for the default assignment because of an extremely
4544 # bizarre bug on SunOS 4.1.3.
4545 if $ac_need_defaults; then
4546 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4547 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4550 # Have a temporary directory for convenience. Make it in the build tree
4551 # simply because there is no reason against having it here, and in addition,
4552 # creating and moving files from /tmp can sometimes cause problems.
4553 # Hook for its removal unless debugging.
4554 # Note that there is a small window in which the directory will not be cleaned:
4555 # after its creation but before its name has been assigned to `$tmp'.
4559 trap 'exit_status=$?
4560 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4562 trap 'as_fn_exit 1' 1 2 13 15
4564 # Create a (secure) tmp directory for tmp files.
4567 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4568 test -n "$tmp" && test -d "$tmp"
4571 tmp=./conf$$-$RANDOM
4572 (umask 077 && mkdir "$tmp")
4573 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4575 # Set up the scripts for CONFIG_FILES section.
4576 # No need to generate them if there are no CONFIG_FILES.
4577 # This happens for instance with `./config.status config.h'.
4578 if test -n "$CONFIG_FILES"; then
4581 ac_cr=`echo X | tr X '\015'`
4582 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4583 # But we know of no other shell where ac_cr would be empty at this
4584 # point, so we can use a bashism as a fallback.
4585 if test "x$ac_cr" = x; then
4586 eval ac_cr=\$\'\\r\'
4588 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4589 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4595 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4600 echo "cat >conf$$subs.awk <<_ACEOF" &&
4601 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4604 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4605 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4607 for ac_last_try in false false false false false :; do
4608 . ./conf$$subs.sh ||
4609 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4611 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4612 if test $ac_delim_n = $ac_delim_num; then
4614 elif $ac_last_try; then
4615 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4623 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4627 s/^/S["/; s/!.*/"]=/
4637 s/\(.\{148\}\)..*/\1/
4639 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4644 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4651 s/\(.\{148\}\)..*/\1/
4653 s/["\\]/\\&/g; s/^/"/; s/$/"/
4657 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4662 ' <conf$$subs.awk | sed '
4667 ' >>$CONFIG_STATUS || ac_write_fail=1
4668 rm -f conf$$subs.awk
4669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4671 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4672 for (key in S) S_is_set[key] = 1
4678 nfields = split(line, field, "@")
4680 len = length(field[1])
4681 for (i = 2; i < nfields; i++) {
4683 keylen = length(key)
4684 if (S_is_set[key]) {
4686 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4687 len += length(value) + length(field[++i])
4698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4699 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4700 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4703 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4704 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4707 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4708 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4709 # trailing colons and then remove the whole line if VPATH becomes empty
4710 # (actually we leave an empty line to preserve line numbers).
4711 if test "x$srcdir" = x.; then
4712 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4731 fi # test -n "$CONFIG_FILES"
4734 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4739 :[FHLC]) ac_mode=$ac_tag; continue;;
4741 case $ac_mode$ac_tag in
4743 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4744 :[FH]-) ac_tag=-:-;;
4745 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4762 -) ac_f="$tmp/stdin";;
4763 *) # Look for the file first in the build tree, then in the source tree
4764 # (if the path is not absolute). The absolute path cannot be DOS-style,
4765 # because $ac_f cannot contain `:'.
4769 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4771 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4773 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4774 as_fn_append ac_file_inputs " '$ac_f'"
4777 # Let's still pretend it is `configure' which instantiates (i.e., don't
4778 # use $as_me), people would be surprised to read:
4779 # /* config.h. Generated by config.status. */
4780 configure_input='Generated from '`
4781 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4783 if test x"$ac_file" != x-; then
4784 configure_input="$ac_file. $configure_input"
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4786 $as_echo "$as_me: creating $ac_file" >&6;}
4788 # Neutralize special characters interpreted by sed in replacement strings.
4789 case $configure_input in #(
4790 *\&* | *\|* | *\\* )
4791 ac_sed_conf_input=`$as_echo "$configure_input" |
4792 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4793 *) ac_sed_conf_input=$configure_input;;
4797 *:-:* | *:-) cat >"$tmp/stdin" \
4798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4803 ac_dir=`$as_dirname -- "$ac_file" ||
4804 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4805 X"$ac_file" : 'X\(//\)[^/]' \| \
4806 X"$ac_file" : 'X\(//\)$' \| \
4807 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4808 $as_echo X"$ac_file" |
4809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4826 as_dir="$ac_dir"; as_fn_mkdir_p
4830 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4832 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4833 # A ".." for each directory in $ac_dir_suffix.
4834 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4835 case $ac_top_builddir_sub in
4836 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4837 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4840 ac_abs_top_builddir=$ac_pwd
4841 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4842 # for backward compatibility:
4843 ac_top_builddir=$ac_top_build_prefix
4846 .) # We are building in place.
4848 ac_top_srcdir=$ac_top_builddir_sub
4849 ac_abs_top_srcdir=$ac_pwd ;;
4850 [\\/]* | ?:[\\/]* ) # Absolute name.
4851 ac_srcdir=$srcdir$ac_dir_suffix;
4852 ac_top_srcdir=$srcdir
4853 ac_abs_top_srcdir=$srcdir ;;
4855 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4856 ac_top_srcdir=$ac_top_build_prefix$srcdir
4857 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4859 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4869 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4870 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4874 [\\/$]* | ?:[\\/]* ) ;;
4875 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4880 # If the template does not know about datarootdir, expand it.
4881 # FIXME: This hack should be removed a few years after 2.60.
4882 ac_datarootdir_hack=; ac_datarootdir_seen=
4893 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4894 *datarootdir*) ac_datarootdir_seen=yes;;
4895 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4897 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4900 ac_datarootdir_hack='
4901 s&@datadir@&$datadir&g
4902 s&@docdir@&$docdir&g
4903 s&@infodir@&$infodir&g
4904 s&@localedir@&$localedir&g
4905 s&@mandir@&$mandir&g
4906 s&\\\${datarootdir}&$datarootdir&g' ;;
4910 # Neutralize VPATH when `$srcdir' = `.'.
4911 # Shell code in configure.ac might set extrasub.
4912 # FIXME: do we really want to maintain this feature?
4913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4914 ac_sed_extra="$ac_vpsub
4917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4919 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4920 s|@configure_input@|$ac_sed_conf_input|;t t
4921 s&@top_builddir@&$ac_top_builddir_sub&;t t
4922 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4923 s&@srcdir@&$ac_srcdir&;t t
4924 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4925 s&@top_srcdir@&$ac_top_srcdir&;t t
4926 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4927 s&@builddir@&$ac_builddir&;t t
4928 s&@abs_builddir@&$ac_abs_builddir&;t t
4929 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4930 s&@INSTALL@&$ac_INSTALL&;t t
4931 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4932 $ac_datarootdir_hack
4934 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4935 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4937 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4938 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4939 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4941 which seems to be undefined. Please make sure it is defined" >&5
4942 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4943 which seems to be undefined. Please make sure it is defined" >&2;}
4947 -) cat "$tmp/out" && rm -f "$tmp/out";;
4948 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4954 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4955 $as_echo "$as_me: executing $ac_file commands" >&6;}
4960 case $ac_file$ac_mode in
4961 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4962 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4963 # are listed without --file. Let's play safe and only enable the eval
4964 # if we detect the quoting.
4965 case $CONFIG_FILES in
4966 *\'*) eval set x "$CONFIG_FILES" ;;
4967 *) set x $CONFIG_FILES ;;
4972 # Strip MF so we end up with the name of the file.
4973 mf=`echo "$mf" | sed -e 's/:.*$//'`
4974 # Check whether this is an Automake generated Makefile or not.
4975 # We used to match only the files named `Makefile.in', but
4976 # some people rename them; so instead we look at the file content.
4977 # Grep'ing the first line is not enough: some people post-process
4978 # each Makefile.in and add a new line on top of each file to say so.
4979 # Grep'ing the whole file is not good either: AIX grep has a line
4980 # limit of 2048, but all sed's we know have understand at least 4000.
4981 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4982 dirpart=`$as_dirname -- "$mf" ||
4983 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4984 X"$mf" : 'X\(//\)[^/]' \| \
4985 X"$mf" : 'X\(//\)$' \| \
4986 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5008 # Extract the definition of DEPDIR, am__include, and am__quote
5009 # from the Makefile without running `make'.
5010 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5011 test -z "$DEPDIR" && continue
5012 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5013 test -z "am__include" && continue
5014 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5015 # When using ansi2knr, U may be empty or an underscore; expand it
5016 U=`sed -n 's/^U = //p' < "$mf"`
5017 # Find all dependency output files, they are included files with
5018 # $(DEPDIR) in their names. We invoke sed twice because it is the
5019 # simplest approach to changing $(DEPDIR) to its actual value in the
5021 for file in `sed -n "
5022 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5023 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5024 # Make sure the directory exists.
5025 test -f "$dirpart/$file" && continue
5026 fdir=`$as_dirname -- "$file" ||
5027 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5028 X"$file" : 'X\(//\)[^/]' \| \
5029 X"$file" : 'X\(//\)$' \| \
5030 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5049 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5050 # echo "creating $dirpart/$file"
5051 echo '# dummy' > "$dirpart/$file"
5063 ac_clean_files=$ac_clean_files_save
5065 test $ac_write_fail = 0 ||
5066 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5069 # configure is writing to config.log, and then calls config.status.
5070 # config.status does its own redirection, appending to config.log.
5071 # Unfortunately, on DOS this fails, as config.log is still kept open
5072 # by configure, so config.status won't be able to write to it; its
5073 # output is simply discarded. So we exec the FD to /dev/null,
5074 # effectively closing config.log, so it can be properly (re)opened and
5075 # appended to by config.status. When coming back to configure, we
5076 # need to make the FD available again.
5077 if test "$no_create" != yes; then
5079 ac_config_status_args=
5080 test "$silent" = yes &&
5081 ac_config_status_args="$ac_config_status_args --quiet"
5083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5086 # would make configure fail if this is the last instruction.
5087 $ac_cs_success || as_fn_exit 1
5089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5091 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}