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
1440 cat >config.log <<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by radsecproxy $as_me 1.5-dev, which was
1445 generated by GNU Autoconf 2.67. Invocation command line was
1457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir=.
1481 $as_echo "PATH: $as_dir"
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1505 ac_must_keep_next=false
1511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1513 | -silent | --silent | --silen | --sile | --sil)
1516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1521 as_fn_append ac_configure_args1 " '$ac_arg'"
1522 if test $ac_must_keep_next = true; then
1523 ac_must_keep_next=false # Got value, back to normal.
1526 *=* | --config-cache | -C | -disable-* | --disable-* \
1527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1529 | -with-* | --with-* | -without-* | --without-* | --x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1534 -* ) ac_must_keep_next=true ;;
1537 as_fn_append ac_configure_args " '$ac_arg'"
1542 { ac_configure_args0=; unset ac_configure_args0;}
1543 { ac_configure_args1=; unset ac_configure_args1;}
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1555 $as_echo "## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##"
1559 # The following way of writing the cache mishandles newlines in values,
1561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1562 eval ac_val=\$$ac_var
1566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1570 _ | IFS | as_nl) ;; #(
1571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572 *) { eval $ac_var=; unset $ac_var;} ;;
1577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1591 $as_echo "## ----------------- ##
1592 ## Output variables. ##
1593 ## ----------------- ##"
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 $as_echo "$ac_var='\''$ac_val'\''"
1605 if test -n "$ac_subst_files"; then
1606 $as_echo "## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##"
1610 for ac_var in $ac_subst_files
1612 eval ac_val=\$$ac_var
1614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 $as_echo "$ac_var='\''$ac_val'\''"
1621 if test -s confdefs.h; then
1622 $as_echo "## ----------- ##
1629 test "$ac_signal" != 0 &&
1630 $as_echo "$as_me: caught signal $ac_signal"
1631 $as_echo "$as_me: exit $exit_status"
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1637 for ac_signal in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest* confdefs.h
1645 $as_echo "/* confdefs.h */" > confdefs.h
1647 # Predefined preprocessor variables.
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_NAME "$PACKAGE_NAME"
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_URL "$PACKAGE_URL"
1674 # Let the site file select an alternate cache file if it wants to.
1675 # Prefer an explicitly selected file to automatically selected ones.
1678 if test -n "$CONFIG_SITE"; then
1679 # We do not want a PATH search for config.site.
1680 case $CONFIG_SITE in #((
1681 -*) ac_site_file1=./$CONFIG_SITE;;
1682 */*) ac_site_file1=$CONFIG_SITE;;
1683 *) ac_site_file1=./$CONFIG_SITE;;
1685 elif test "x$prefix" != xNONE; then
1686 ac_site_file1=$prefix/share/config.site
1687 ac_site_file2=$prefix/etc/config.site
1689 ac_site_file1=$ac_default_prefix/share/config.site
1690 ac_site_file2=$ac_default_prefix/etc/config.site
1692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1694 test "x$ac_site_file" = xNONE && continue
1695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $? "failed to load site script $ac_site_file
1703 See \`config.log' for more details" "$LINENO" 5 ; }
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 $as_echo "$as_me: loading cache $cache_file" >&6;}
1714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1715 *) . "./$cache_file";;
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 $as_echo "$as_me: creating cache $cache_file" >&6;}
1724 # Check that the precious variables saved in the cache have kept the same
1726 ac_cache_corrupted=false
1727 for ac_var in $ac_precious_vars; do
1728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1729 eval ac_new_set=\$ac_env_${ac_var}_set
1730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1731 eval ac_new_val=\$ac_env_${ac_var}_value
1732 case $ac_old_set,$ac_new_set in
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1736 ac_cache_corrupted=: ;;
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1743 if test "x$ac_old_val" != "x$ac_new_val"; then
1744 # differences in whitespace do not lead to failure.
1745 ac_old_val_w=`echo x $ac_old_val`
1746 ac_new_val_w=`echo x $ac_new_val`
1747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 ac_cache_corrupted=:
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754 eval $ac_var=\$ac_old_val
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1774 if $ac_cache_corrupted; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1781 ## -------------------- ##
1782 ## Main body of script. ##
1783 ## -------------------- ##
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1794 if test -f "$ac_dir/install-sh"; then
1796 ac_install_sh="$ac_aux_dir/install-sh -c"
1798 elif test -f "$ac_dir/install.sh"; then
1800 ac_install_sh="$ac_aux_dir/install.sh -c"
1802 elif test -f "$ac_dir/shtool"; then
1804 ac_install_sh="$ac_aux_dir/shtool install -c"
1808 if test -z "$ac_aux_dir"; then
1809 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1812 # These three variables are undocumented and unsupported,
1813 # and are intended to be withdrawn in a future Autoconf release.
1814 # They can cause serious problems if a builder's source tree is in a directory
1815 # whose full name contains unusual characters.
1816 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1817 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1818 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1821 # Make sure we can run config.sub.
1822 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1823 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1826 $as_echo_n "checking build system type... " >&6; }
1827 if test "${ac_cv_build+set}" = set; then :
1828 $as_echo_n "(cached) " >&6
1830 ac_build_alias=$build_alias
1831 test "x$ac_build_alias" = x &&
1832 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1833 test "x$ac_build_alias" = x &&
1834 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1835 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1836 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1840 $as_echo "$ac_cv_build" >&6; }
1841 case $ac_cv_build in
1843 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
1846 ac_save_IFS=$IFS; IFS='-'
1852 # Remember, the first character of IFS is used to create $*,
1853 # except with old shells:
1856 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1860 $as_echo_n "checking host system type... " >&6; }
1861 if test "${ac_cv_host+set}" = set; then :
1862 $as_echo_n "(cached) " >&6
1864 if test "x$host_alias" = x; then
1865 ac_cv_host=$ac_cv_build
1867 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1868 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1873 $as_echo "$ac_cv_host" >&6; }
1876 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
1879 ac_save_IFS=$IFS; IFS='-'
1885 # Remember, the first character of IFS is used to create $*,
1886 # except with old shells:
1889 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1893 $as_echo_n "checking target system type... " >&6; }
1894 if test "${ac_cv_target+set}" = set; then :
1895 $as_echo_n "(cached) " >&6
1897 if test "x$target_alias" = x; then
1898 ac_cv_target=$ac_cv_host
1900 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1901 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1906 $as_echo "$ac_cv_target" >&6; }
1907 case $ac_cv_target in
1909 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
1911 target=$ac_cv_target
1912 ac_save_IFS=$IFS; IFS='-'
1918 # Remember, the first character of IFS is used to create $*,
1919 # except with old shells:
1922 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1925 # The aliases save the names the user supplied, while $host etc.
1926 # will get canonicalized.
1927 test -n "$target_alias" &&
1928 test "$program_prefix$program_suffix$program_transform_name" = \
1930 program_prefix=${target_alias}-
1931 am__api_version='1.11'
1933 # Find a good install program. We prefer a C program (faster),
1934 # so one script is as good as another. But avoid the broken or
1935 # incompatible versions:
1936 # SysV /etc/install, /usr/sbin/install
1937 # SunOS /usr/etc/install
1938 # IRIX /sbin/install
1940 # AmigaOS /C/install, which installs bootblocks on floppy discs
1941 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1942 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1943 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1944 # OS/2's system install, which has a completely different semantic
1945 # ./install, which can be erroneously created by make from ./install.sh.
1946 # Reject install programs that cannot install multiple files.
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1948 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1949 if test -z "$INSTALL"; then
1950 if test "${ac_cv_path_install+set}" = set; then :
1951 $as_echo_n "(cached) " >&6
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir=.
1958 # Account for people who put trailing slashes in PATH elements.
1959 case $as_dir/ in #((
1960 ./ | .// | /[cC]/* | \
1961 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1962 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1965 # OSF1 and SCO ODT 3.0 have their own names for install.
1966 # Don't use installbsd from OSF since it installs stuff as root
1968 for ac_prog in ginstall scoinst install; do
1969 for ac_exec_ext in '' $ac_executable_extensions; do
1970 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1971 if test $ac_prog = install &&
1972 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1973 # AIX install. It has an incompatible calling convention.
1975 elif test $ac_prog = install &&
1976 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1977 # program-specific install script used by HP pwplus--don't use.
1980 rm -rf conftest.one conftest.two conftest.dir
1981 echo one > conftest.one
1982 echo two > conftest.two
1984 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1985 test -s conftest.one && test -s conftest.two &&
1986 test -s conftest.dir/conftest.one &&
1987 test -s conftest.dir/conftest.two
1989 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2002 rm -rf conftest.one conftest.two conftest.dir
2005 if test "${ac_cv_path_install+set}" = set; then
2006 INSTALL=$ac_cv_path_install
2008 # As a last resort, use the slow shell script. Don't cache a
2009 # value for INSTALL within a source directory, because that will
2010 # break other packages using the cache if that directory is
2011 # removed, or if the value is a relative name.
2012 INSTALL=$ac_install_sh
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2016 $as_echo "$INSTALL" >&6; }
2018 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2019 # It thinks the first close brace ends the variable substitution.
2020 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2022 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2024 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2027 $as_echo_n "checking whether build environment is sane... " >&6; }
2030 echo timestamp > conftest.file
2031 # Reject unsafe characters in $srcdir or the absolute working directory
2032 # name. Accept space and tab only in the latter.
2036 *[\\\"\#\$\&\'\`$am_lf]*)
2037 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2040 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2041 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2044 # Do `set' in a subshell so we don't clobber the current shell's
2045 # arguments. Must try -L first in case configure is actually a
2046 # symlink; some systems play weird games with the mod time of symlinks
2047 # (eg FreeBSD returns the mod time of the symlink's containing
2050 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2051 if test "$*" = "X"; then
2053 set X `ls -t "$srcdir/configure" conftest.file`
2056 if test "$*" != "X $srcdir/configure conftest.file" \
2057 && test "$*" != "X conftest.file $srcdir/configure"; then
2059 # If neither matched, then we have a broken ls. This can happen
2060 # if, for instance, CONFIG_SHELL is bash and it inherits a
2061 # broken ls alias from the environment. This has actually
2062 # happened. Such a system could not be considered "sane".
2063 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2064 alias in your environment" "$LINENO" 5
2067 test "$2" = conftest.file
2073 as_fn_error $? "newly created file is older than distributed files!
2074 Check your system clock" "$LINENO" 5
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2077 $as_echo "yes" >&6; }
2078 test "$program_prefix" != NONE &&
2079 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2080 # Use a double $ so make ignores it.
2081 test "$program_suffix" != NONE &&
2082 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2083 # Double any \ or $.
2084 # By default was `s,x,x', remove it if useless.
2085 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2086 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2088 # expand $ac_aux_dir to an absolute path
2089 am_aux_dir=`cd $ac_aux_dir && pwd`
2091 if test x"${MISSING+set}" != xset; then
2094 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2096 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2099 # Use eval to expand $SHELL
2100 if eval "$MISSING --run true"; then
2101 am_missing_run="$MISSING --run "
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2105 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2108 if test x"${install_sh}" != xset; then
2111 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2113 install_sh="\${SHELL} $am_aux_dir/install-sh"
2117 # Installed binaries are usually stripped using `strip' when the user
2118 # run `make install-strip'. However `strip' might not be the right
2119 # tool to use in cross-compilation environments, therefore Automake
2120 # will honor the `STRIP' environment variable to overrule this program.
2121 if test "$cross_compiling" != no; then
2122 if test -n "$ac_tool_prefix"; then
2123 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2124 set dummy ${ac_tool_prefix}strip; ac_word=$2
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2126 $as_echo_n "checking for $ac_word... " >&6; }
2127 if test "${ac_cv_prog_STRIP+set}" = set; then :
2128 $as_echo_n "(cached) " >&6
2130 if test -n "$STRIP"; then
2131 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir=.
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 STRIP=$ac_cv_prog_STRIP
2151 if test -n "$STRIP"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2153 $as_echo "$STRIP" >&6; }
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2156 $as_echo "no" >&6; }
2161 if test -z "$ac_cv_prog_STRIP"; then
2163 # Extract the first word of "strip", so it can be a program name with args.
2164 set dummy strip; ac_word=$2
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2166 $as_echo_n "checking for $ac_word... " >&6; }
2167 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2168 $as_echo_n "(cached) " >&6
2170 if test -n "$ac_ct_STRIP"; then
2171 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_ac_ct_STRIP="strip"
2181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2191 if test -n "$ac_ct_STRIP"; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2193 $as_echo "$ac_ct_STRIP" >&6; }
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2196 $as_echo "no" >&6; }
2199 if test "x$ac_ct_STRIP" = x; then
2202 case $cross_compiling:$ac_tool_warned in
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2206 ac_tool_warned=yes ;;
2211 STRIP="$ac_cv_prog_STRIP"
2215 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2218 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2219 if test -z "$MKDIR_P"; then
2220 if test "${ac_cv_path_mkdir+set}" = set; then :
2221 $as_echo_n "(cached) " >&6
2223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2224 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2227 test -z "$as_dir" && as_dir=.
2228 for ac_prog in mkdir gmkdir; do
2229 for ac_exec_ext in '' $ac_executable_extensions; do
2230 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2231 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2232 'mkdir (GNU coreutils) '* | \
2233 'mkdir (coreutils) '* | \
2234 'mkdir (fileutils) '4.1*)
2235 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2245 test -d ./--version && rmdir ./--version
2246 if test "${ac_cv_path_mkdir+set}" = set; then
2247 MKDIR_P="$ac_cv_path_mkdir -p"
2249 # As a last resort, use the slow shell script. Don't cache a
2250 # value for MKDIR_P within a source directory, because that will
2251 # break other packages using the cache if that directory is
2252 # removed, or if the value is a relative name.
2253 MKDIR_P="$ac_install_sh -d"
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2257 $as_echo "$MKDIR_P" >&6; }
2261 [\\/$]* | ?:[\\/]*) ;;
2262 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2265 for ac_prog in gawk mawk nawk awk
2267 # Extract the first word of "$ac_prog", so it can be a program name with args.
2268 set dummy $ac_prog; ac_word=$2
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2270 $as_echo_n "checking for $ac_word... " >&6; }
2271 if test "${ac_cv_prog_AWK+set}" = set; then :
2272 $as_echo_n "(cached) " >&6
2274 if test -n "$AWK"; then
2275 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284 ac_cv_prog_AWK="$ac_prog"
2285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 if test -n "$AWK"; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2297 $as_echo "$AWK" >&6; }
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2300 $as_echo "no" >&6; }
2304 test -n "$AWK" && break
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2308 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2310 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2311 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2312 $as_echo_n "(cached) " >&6
2314 cat >conftest.make <<\_ACEOF
2317 @echo '@@@%%%=$(MAKE)=@@@%%%'
2319 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2320 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2322 eval ac_cv_prog_make_${ac_make}_set=yes;;
2324 eval ac_cv_prog_make_${ac_make}_set=no;;
2328 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2330 $as_echo "yes" >&6; }
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2335 SET_MAKE="MAKE=${MAKE-make}"
2338 rm -rf .tst 2>/dev/null
2339 mkdir .tst 2>/dev/null
2340 if test -d .tst; then
2345 rmdir .tst 2>/dev/null
2347 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2348 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2349 # is not polluted with repeated "-I."
2350 am__isrc=' -I$(srcdir)'
2351 # test to see if srcdir already configured
2352 if test -f $srcdir/config.status; then
2353 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2357 # test whether we have cygpath
2358 if test -z "$CYGPATH_W"; then
2359 if (cygpath --version) >/dev/null 2>/dev/null; then
2360 CYGPATH_W='cygpath -w'
2367 # Define the identity of the package.
2368 PACKAGE='radsecproxy'
2372 cat >>confdefs.h <<_ACEOF
2373 #define PACKAGE "$PACKAGE"
2377 cat >>confdefs.h <<_ACEOF
2378 #define VERSION "$VERSION"
2381 # Some tools Automake needs.
2383 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2386 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2389 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2392 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2395 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2397 # We need awk for the "check" target. The system "awk" is bad on
2399 # Always define AMTAR for backward compatibility.
2401 AMTAR=${AMTAR-"${am_missing_run}tar"}
2403 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if test "${ac_cv_prog_CC+set}" = set; then :
2420 $as_echo_n "(cached) " >&6
2422 if test -n "$CC"; then
2423 ac_cv_prog_CC="$CC" # Let the user override the test.
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 for ac_exec_ext in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 if test -n "$CC"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2445 $as_echo "$CC" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2453 if test -z "$ac_cv_prog_CC"; then
2455 # Extract the first word of "gcc", so it can be a program name with args.
2456 set dummy gcc; ac_word=$2
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2460 $as_echo_n "(cached) " >&6
2462 if test -n "$ac_ct_CC"; then
2463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_ac_ct_CC="gcc"
2473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2483 if test -n "$ac_ct_CC"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2485 $as_echo "$ac_ct_CC" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488 $as_echo "no" >&6; }
2491 if test "x$ac_ct_CC" = x; then
2494 case $cross_compiling:$ac_tool_warned in
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2498 ac_tool_warned=yes ;;
2506 if test -z "$CC"; then
2507 if test -n "$ac_tool_prefix"; then
2508 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2509 set dummy ${ac_tool_prefix}cc; ac_word=$2
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2511 $as_echo_n "checking for $ac_word... " >&6; }
2512 if test "${ac_cv_prog_CC+set}" = set; then :
2513 $as_echo_n "(cached) " >&6
2515 if test -n "$CC"; then
2516 ac_cv_prog_CC="$CC" # Let the user override the test.
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir=.
2523 for ac_exec_ext in '' $ac_executable_extensions; do
2524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2525 ac_cv_prog_CC="${ac_tool_prefix}cc"
2526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 if test -n "$CC"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2538 $as_echo "$CC" >&6; }
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2547 if test -z "$CC"; then
2548 # Extract the first word of "cc", so it can be a program name with args.
2549 set dummy cc; ac_word=$2
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if test "${ac_cv_prog_CC+set}" = set; then :
2553 $as_echo_n "(cached) " >&6
2555 if test -n "$CC"; then
2556 ac_cv_prog_CC="$CC" # Let the user override the test.
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2567 ac_prog_rejected=yes
2571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2578 if test $ac_prog_rejected = yes; then
2579 # We found a bogon in the path, so make sure we never use it.
2580 set dummy $ac_cv_prog_CC
2582 if test $# != 0; then
2583 # We chose a different compiler from the bogus one.
2584 # However, it has the same basename, so the bogon will be chosen
2585 # first if we set CC to just the basename; use the full file name.
2587 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2593 if test -n "$CC"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2595 $as_echo "$CC" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2603 if test -z "$CC"; then
2604 if test -n "$ac_tool_prefix"; then
2605 for ac_prog in cl.exe
2607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if test "${ac_cv_prog_CC+set}" = set; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$CC"; then
2615 ac_cv_prog_CC="$CC" # Let the user override the test.
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 for ac_exec_ext in '' $ac_executable_extensions; do
2623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$CC"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2637 $as_echo "$CC" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2644 test -n "$CC" && break
2647 if test -z "$CC"; then
2649 for ac_prog in cl.exe
2651 # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$ac_ct_CC"; then
2659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_ac_ct_CC="$ac_prog"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2679 if test -n "$ac_ct_CC"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2681 $as_echo "$ac_ct_CC" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2688 test -n "$ac_ct_CC" && break
2691 if test "x$ac_ct_CC" = x; then
2694 case $cross_compiling:$ac_tool_warned in
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2698 ac_tool_warned=yes ;;
2707 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 as_fn_error $? "no acceptable C compiler found in \$PATH
2710 See \`config.log' for more details" "$LINENO" 5 ; }
2712 # Provide some information about the compiler.
2713 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2716 for ac_option in --version -v -V -qversion; do
2717 { { ac_try="$ac_compiler $ac_option >&5"
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2723 $as_echo "$ac_try_echo"; } >&5
2724 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2726 if test -s conftest.err; then
2728 ... rest of stderr output deleted ...
2729 10q' conftest.err >conftest.er1
2730 cat conftest.er1 >&5
2732 rm -f conftest.er1 conftest.err
2733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; }
2737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2748 ac_clean_files_save=$ac_clean_files
2749 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2750 # Try to create an executable without -o first, disregard a.out.
2751 # It will help us diagnose broken compilers, and finding out an intuition
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2754 $as_echo_n "checking whether the C compiler works... " >&6; }
2755 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2757 # The possible output files:
2758 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2761 for ac_file in $ac_files
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2765 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2770 if { { ac_try="$ac_link_default"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2776 $as_echo "$ac_try_echo"; } >&5
2777 (eval "$ac_link_default") 2>&5
2779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; }; then :
2781 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2782 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2783 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2784 # so that the user can short-circuit this test for compilers unknown to
2786 for ac_file in $ac_files ''
2788 test -f "$ac_file" || continue
2790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2793 # We found the default executable, but exeext='' is most
2797 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2799 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2801 # We set ac_cv_exeext here because the later test for it is not
2802 # safe: cross compilers may not add the suffix if given an `-o'
2803 # argument, so we may need to know it at that point already.
2804 # Even if this section looks crufty: it has the advantage of
2811 test "$ac_cv_exeext" = no && ac_cv_exeext=
2816 if test -z "$ac_file"; then :
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 as_fn_error 77 "C compiler cannot create executables
2825 See \`config.log' for more details" "$LINENO" 5 ; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828 $as_echo "yes" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2831 $as_echo_n "checking for C compiler default output file name... " >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2833 $as_echo "$ac_file" >&6; }
2834 ac_exeext=$ac_cv_exeext
2836 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2837 ac_clean_files=$ac_clean_files_save
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2839 $as_echo_n "checking for suffix of executables... " >&6; }
2840 if { { ac_try="$ac_link"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2846 $as_echo "$ac_try_echo"; } >&5
2847 (eval "$ac_link") 2>&5
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; }; then :
2851 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2852 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2853 # work properly (i.e., refer to `conftest.exe'), while it won't with
2855 for ac_file in conftest.exe conftest conftest.*; do
2856 test -f "$ac_file" || continue
2858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2859 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2867 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2868 See \`config.log' for more details" "$LINENO" 5 ; }
2870 rm -f conftest conftest$ac_cv_exeext
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2872 $as_echo "$ac_cv_exeext" >&6; }
2874 rm -f conftest.$ac_ext
2875 EXEEXT=$ac_cv_exeext
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2883 FILE *f = fopen ("conftest.out", "w");
2884 return ferror (f) || fclose (f) != 0;
2890 ac_clean_files="$ac_clean_files conftest.out"
2891 # Check that the compiler produces executables we can run. If not, either
2892 # the compiler is broken, or we cross compile.
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2894 $as_echo_n "checking whether we are cross compiling... " >&6; }
2895 if test "$cross_compiling" != yes; then
2896 { { ac_try="$ac_link"
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 $as_echo "$ac_try_echo"; } >&5
2903 (eval "$ac_link") 2>&5
2905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2906 test $ac_status = 0; }
2907 if { ac_try='./conftest$ac_cv_exeext'
2908 { { case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2913 $as_echo "$ac_try_echo"; } >&5
2914 (eval "$ac_try") 2>&5
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; }; }; then
2920 if test "$cross_compiling" = maybe; then
2923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2925 as_fn_error $? "cannot run C compiled programs.
2926 If you meant to cross compile, use \`--host'.
2927 See \`config.log' for more details" "$LINENO" 5 ; }
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2932 $as_echo "$cross_compiling" >&6; }
2934 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2935 ac_clean_files=$ac_clean_files_save
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2937 $as_echo_n "checking for suffix of object files... " >&6; }
2938 if test "${ac_cv_objext+set}" = set; then :
2939 $as_echo_n "(cached) " >&6
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2952 rm -f conftest.o conftest.obj
2953 if { { ac_try="$ac_compile"
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_compile") 2>&5
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; }; then :
2964 for ac_file in conftest.o conftest.obj conftest.*; do
2965 test -f "$ac_file" || continue;
2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2968 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2973 $as_echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2978 as_fn_error $? "cannot compute suffix of object files: cannot compile
2979 See \`config.log' for more details" "$LINENO" 5 ; }
2981 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2984 $as_echo "$ac_cv_objext" >&6; }
2985 OBJEXT=$ac_cv_objext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2988 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2990 $as_echo_n "(cached) " >&6
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
3006 if ac_fn_c_try_compile "$LINENO"; then :
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3016 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3017 if test $ac_compiler_gnu = yes; then
3022 ac_test_CFLAGS=${CFLAGS+set}
3023 ac_save_CFLAGS=$CFLAGS
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3025 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3026 if test "${ac_cv_prog_cc_g+set}" = set; then :
3027 $as_echo_n "(cached) " >&6
3029 ac_save_c_werror_flag=$ac_c_werror_flag
3030 ac_c_werror_flag=yes
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3044 if ac_fn_c_try_compile "$LINENO"; then :
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3059 if ac_fn_c_try_compile "$LINENO"; then :
3062 ac_c_werror_flag=$ac_save_c_werror_flag
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 if ac_fn_c_try_compile "$LINENO"; then :
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 ac_c_werror_flag=$ac_save_c_werror_flag
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3086 $as_echo "$ac_cv_prog_cc_g" >&6; }
3087 if test "$ac_test_CFLAGS" = set; then
3088 CFLAGS=$ac_save_CFLAGS
3089 elif test $ac_cv_prog_cc_g = yes; then
3090 if test "$GCC" = yes; then
3096 if test "$GCC" = yes; then
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3103 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3104 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3105 $as_echo_n "(cached) " >&6
3107 ac_cv_prog_cc_c89=no
3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3113 #include <sys/types.h>
3114 #include <sys/stat.h>
3115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3116 struct buf { int x; };
3117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3118 static char *e (p, i)
3124 static char *f (char * (*g) (char **, int), char **p, ...)
3129 s = g (p, va_arg (v,int));
3134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3135 function prototypes and stuff, but not '\xHH' hex character constants.
3136 These don't provoke an error unfortunately, instead are silently treated
3137 as 'x'. The following induces an error, until -std is added to get
3138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3139 array size at least. It's necessary to write '\x00'==0 to get something
3140 that's true only with -std. */
3141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3143 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3144 inside strings and character constants. */
3146 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3148 int test (int i, double x);
3149 struct s1 {int (*f) (int a);};
3150 struct s2 {int (*f) (double a);};
3151 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3157 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3162 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3163 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3165 CC="$ac_save_CC $ac_arg"
3166 if ac_fn_c_try_compile "$LINENO"; then :
3167 ac_cv_prog_cc_c89=$ac_arg
3169 rm -f core conftest.err conftest.$ac_objext
3170 test "x$ac_cv_prog_cc_c89" != "xno" && break
3172 rm -f conftest.$ac_ext
3177 case "x$ac_cv_prog_cc_c89" in
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3180 $as_echo "none needed" >&6; } ;;
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3183 $as_echo "unsupported" >&6; } ;;
3185 CC="$CC $ac_cv_prog_cc_c89"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3187 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3189 if test "x$ac_cv_prog_cc_c89" != xno; then :
3194 ac_cpp='$CPP $CPPFLAGS'
3195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3198 DEPDIR="${am__leading_dot}deps"
3200 ac_config_commands="$ac_config_commands depfiles"
3203 am_make=${MAKE-make}
3204 cat > confinc << 'END'
3206 @echo this is the am__doit target
3209 # If we don't find an include directive, just comment out the code.
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3211 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3215 # First try GNU make style include.
3216 echo "include confinc" > confmf
3217 # Ignore all kinds of additional output from `make'.
3218 case `$am_make -s -f confmf 2> /dev/null` in #(
3219 *the\ am__doit\ target*)
3225 # Now try BSD make style include.
3226 if test "$am__include" = "#"; then
3227 echo '.include "confinc"' > confmf
3228 case `$am_make -s -f confmf 2> /dev/null` in #(
3229 *the\ am__doit\ target*)
3230 am__include=.include
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3239 $as_echo "$_am_result" >&6; }
3240 rm -f confinc confmf
3242 # Check whether --enable-dependency-tracking was given.
3243 if test "${enable_dependency_tracking+set}" = set; then :
3244 enableval=$enable_dependency_tracking;
3247 if test "x$enable_dependency_tracking" != xno; then
3248 am_depcomp="$ac_aux_dir/depcomp"
3251 if test "x$enable_dependency_tracking" != xno; then
3261 depcc="$CC" am_compiler_list=
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3264 $as_echo_n "checking dependency style of $depcc... " >&6; }
3265 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3269 # We make a subdir and do the tests there. Otherwise we can end up
3270 # making bogus files that we don't know about and never remove. For
3271 # instance it was reported that on HP-UX the gcc test will end up
3272 # making a dummy file named `D' -- because `-MD' means `put the output
3275 # Copy depcomp to subdir because otherwise we won't find it if we're
3276 # using a relative directory.
3277 cp "$am_depcomp" conftest.dir
3279 # We will build objects and dependencies in a subdirectory because
3280 # it helps to detect inapplicable dependency modes. For instance
3281 # both Tru64's cc and ICC support -MD to output dependencies as a
3282 # side effect of compilation, but ICC will put the dependencies in
3283 # the current directory while Tru64 will put them in the object
3287 am_cv_CC_dependencies_compiler_type=none
3288 if test "$am_compiler_list" = ""; then
3289 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3292 case " $depcc " in #(
3293 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3296 for depmode in $am_compiler_list; do
3297 # Setup a source with many dependencies, because some compilers
3298 # like to wrap large dependency lists on column 80 (with \), and
3299 # we should not choose a depcomp mode which is confused by this.
3301 # We need to recreate these files for each test, as the compiler may
3302 # overwrite some of them when testing with obscure command lines.
3303 # This happens at least with the AIX C compiler.
3305 for i in 1 2 3 4 5 6; do
3306 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3307 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3308 # Solaris 8's {/usr,}/bin/sh.
3309 touch sub/conftst$i.h
3311 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3313 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3314 # mode. It turns out that the SunPro C++ compiler does not properly
3315 # handle `-M -o', and we need to detect this. Also, some Intel
3316 # versions had trouble with output in subdirs
3317 am__obj=sub/conftest.${OBJEXT-o}
3318 am__minus_obj="-o $am__obj"
3321 # This depmode causes a compiler race in universal mode.
3322 test "$am__universal" = false || continue
3325 # after this tag, mechanisms are not by side-effect, so they'll
3326 # only be used when explicitly requested
3327 if test "x$enable_dependency_tracking" = xyes; then
3333 msvisualcpp | msvcmsys)
3334 # This compiler won't grok `-c -o', but also, the minuso test has
3335 # not run yet. These depmodes are late enough in the game, and
3336 # so weak that their functioning should not be impacted.
3337 am__obj=conftest.${OBJEXT-o}
3342 if depmode=$depmode \
3343 source=sub/conftest.c object=$am__obj \
3344 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3345 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3346 >/dev/null 2>conftest.err &&
3347 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3348 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3349 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3350 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3351 # icc doesn't choke on unknown options, it will just issue warnings
3352 # or remarks (even with -Werror). So we grep stderr for any message
3353 # that says an option was ignored or not supported.
3354 # When given -MP, icc 7.0 and 7.1 complain thusly:
3355 # icc: Command line warning: ignoring option '-M'; no argument required
3356 # The diagnosis changed in icc 8.0:
3357 # icc: Command line remark: option '-MP' not supported
3358 if (grep 'ignoring option' conftest.err ||
3359 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3360 am_cv_CC_dependencies_compiler_type=$depmode
3369 am_cv_CC_dependencies_compiler_type=none
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3374 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3375 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3378 test "x$enable_dependency_tracking" != xno \
3379 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3381 am__fastdepCC_FALSE='#'
3383 am__fastdepCC_TRUE='#'
3384 am__fastdepCC_FALSE=
3388 if test "x$CC" != xcc; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3390 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3393 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3395 set dummy $CC; ac_cc=`$as_echo "$2" |
3396 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3397 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
3398 $as_echo_n "(cached) " >&6
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3411 # Make sure it works both with $CC and with simple cc.
3412 # We do the test twice because some compilers refuse to overwrite an
3413 # existing .o file with -o, though they will create one.
3414 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3416 if { { case "(($ac_try" in
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3421 $as_echo "$ac_try_echo"; } >&5
3422 (eval "$ac_try") 2>&5
3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3425 test $ac_status = 0; } &&
3426 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3431 $as_echo "$ac_try_echo"; } >&5
3432 (eval "$ac_try") 2>&5
3434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3435 test $ac_status = 0; };
3437 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3438 if test "x$CC" != xcc; then
3439 # Test first that cc exists at all.
3440 if { ac_try='cc -c conftest.$ac_ext >&5'
3441 { { case "(($ac_try" in
3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446 $as_echo "$ac_try_echo"; } >&5
3447 (eval "$ac_try") 2>&5
3449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450 test $ac_status = 0; }; }; then
3451 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3453 if { { case "(($ac_try" in
3454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459 (eval "$ac_try") 2>&5
3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462 test $ac_status = 0; } &&
3463 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_try") 2>&5
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; };
3477 # cc exists but doesn't like -o.
3478 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3483 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3485 rm -f core conftest*
3488 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3490 $as_echo "yes" >&6; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3495 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3499 # FIXME: we rely on the cache variable name because
3500 # there is no other way.
3502 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3503 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3504 if test "$am_t" != yes; then
3505 # Losing compiler, so override with the script.
3506 # FIXME: It is wrong to rewrite CC.
3507 # But if we don't then we get into trouble of one sort or another.
3508 # A longer-term fix would be to have automake use am__CC in this case,
3509 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3510 CC="$am_aux_dir/compile $CC"
3515 # Check whether --enable-udp was given.
3516 if test "${enable_udp+set}" = set; then :
3517 enableval=$enable_udp; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3520 echo "--enable-udp argument must be yes or no"
3528 # Check whether --enable-tcp was given.
3529 if test "${enable_tcp+set}" = set; then :
3530 enableval=$enable_tcp; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3533 echo "--enable-tcp argument must be yes or no"
3541 # Check whether --enable-tls was given.
3542 if test "${enable_tls+set}" = set; then :
3543 enableval=$enable_tls; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3546 echo "--enable-tls argument must be yes or no"
3554 # Check whether --enable-dtls was given.
3555 if test "${enable_dtls+set}" = set; then :
3556 enableval=$enable_dtls; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3559 echo "--enable-dtls argument must be yes or no"
3567 case "${target_os}" in
3569 TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
3570 if test "$GCC" != yes ; then
3571 TARGET_CFLAGS="$TARGET_CFLAGS -mt"
3573 TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
3575 TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
3578 TARGET_CFLAGS="-Wall -pedantic -pthread"
3581 if test "x$udp" = "xyes" ; then
3582 echo "UDP transport enabled"
3583 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_UDP"
3585 if test "x$tcp" = "xyes" ; then
3586 echo "TCP transport enabled"
3587 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TCP"
3589 if test "x$tls" = "xyes" ; then
3590 echo "TLS (RadSec) transport enabled"
3591 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TLS"
3593 if test "x$dtls" = "xyes" ; then
3594 echo "DTLS transport enabled"
3595 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_DTLS"
3599 # Extract the first word of "docbook2x-man", so it can be a program name with args.
3600 set dummy docbook2x-man; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if test "${ac_cv_prog_DOCBOOK2X_MAN+set}" = set; then :
3604 $as_echo_n "(cached) " >&6
3606 if test -n "$DOCBOOK2X_MAN"; then
3607 ac_cv_prog_DOCBOOK2X_MAN="$DOCBOOK2X_MAN" # Let the user override the test.
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616 ac_cv_prog_DOCBOOK2X_MAN="yes"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 DOCBOOK2X_MAN=$ac_cv_prog_DOCBOOK2X_MAN
3627 if test -n "$DOCBOOK2X_MAN"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2X_MAN" >&5
3629 $as_echo "$DOCBOOK2X_MAN" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3636 if test "$DOCBOOK2X_MAN" = "yes"; then
3637 HAVE_DOCBOOK2X_MAN_TRUE=
3638 HAVE_DOCBOOK2X_MAN_FALSE='#'
3640 HAVE_DOCBOOK2X_MAN_TRUE='#'
3641 HAVE_DOCBOOK2X_MAN_FALSE=
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
3648 $as_echo_n "checking for OpenSSL... " >&6; }
3652 # Check whether --with-ssl was given.
3653 if test "${with_ssl+set}" = set; then :
3654 withval=$with_ssl; check_ssl_dir="$withval"
3659 for dir in $check_ssl_dir /usr /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local ; do
3661 if test -f "$dir/include/openssl/ssl.h"; then
3664 SSL_CFLAGS="-I$ssldir/include -I$ssldir/include/openssl";
3667 if test -f "$dir/include/ssl.h"; then
3670 SSL_CFLAGS="-I$ssldir/include/";
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_ssl" >&5
3675 $as_echo "$found_ssl" >&6; }
3676 if test x_$found_ssl != x_yes; then
3678 ----------------------------------------------------------------------
3679 Cannot find SSL libraries.
3681 Please install OpenSSL or specify installation directory with
3683 ----------------------------------------------------------------------
3686 printf "OpenSSL found in $ssldir\n";
3687 SSL_LIBS="-lssl -lcrypto";
3688 SSL_LDFLAGS="-L$ssldir/lib";
3690 cat >>confdefs.h <<_ACEOF
3691 #define USE_OPENSSL 1
3699 ac_config_files="$ac_config_files Makefile"
3701 cat >confcache <<\_ACEOF
3702 # This file is a shell script that caches the results of configure
3703 # tests run on this system so they can be shared between configure
3704 # scripts and configure runs, see configure's option --config-cache.
3705 # It is not useful on other systems. If it contains results you don't
3706 # want to keep, you may remove or edit it.
3708 # config.status only pays attention to the cache file if you give it
3709 # the --recheck option to rerun configure.
3711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3717 # The following way of writing the cache mishandles newlines in values,
3718 # but we know of no workaround that is simple, portable, and efficient.
3719 # So, we kill variables containing newlines.
3720 # Ultrix sh set writes to stderr and can't be redirected directly,
3721 # and sets the high bit in the cache file unless we assign to the vars.
3723 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3724 eval ac_val=\$$ac_var
3728 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3729 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3732 _ | IFS | as_nl) ;; #(
3733 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3734 *) { eval $ac_var=; unset $ac_var;} ;;
3740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3741 *${as_nl}ac_space=\ *)
3742 # `set' does not quote correctly, so add quotes: double-quote
3743 # substitution turns \\\\ into \\, and sed turns \\ into \.
3746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3749 # `set' quotes correctly as required by POSIX, so do not add quotes.
3750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3763 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3764 if test -w "$cache_file"; then
3765 test "x$cache_file" != "x/dev/null" &&
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3767 $as_echo "$as_me: updating cache $cache_file" >&6;}
3768 cat confcache >$cache_file
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3771 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3776 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3777 # Let make expand exec_prefix.
3778 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3780 # Transform confdefs.h into DEFS.
3781 # Protect against shell expansion while executing Makefile rules.
3782 # Protect against Makefile macro expansion.
3784 # If the first sed substitution is executed (which looks for macros that
3785 # take arguments), then branch to the quote section. Otherwise,
3786 # look for a macro that doesn't take arguments.
3796 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3798 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3802 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3815 DEFS=`sed -n "$ac_script" confdefs.h`
3821 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3822 # 1. Remove the extension, and $U if already installed.
3823 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3824 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3826 # will be set to the directory where LIBOBJS objects are built.
3827 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3828 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3832 LTLIBOBJS=$ac_ltlibobjs
3835 if test -n "$EXEEXT"; then
3837 am__EXEEXT_FALSE='#'
3843 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3844 as_fn_error $? "conditional \"AMDEP\" was never defined.
3845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3847 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3848 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3851 if test -z "${HAVE_DOCBOOK2X_MAN_TRUE}" && test -z "${HAVE_DOCBOOK2X_MAN_FALSE}"; then
3852 as_fn_error $? "conditional \"HAVE_DOCBOOK2X_MAN\" was never defined.
3853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3856 : ${CONFIG_STATUS=./config.status}
3858 ac_clean_files_save=$ac_clean_files
3859 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3861 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3863 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3865 # Generated by $as_me.
3866 # Run this file to recreate the current configuration.
3867 # Compiler output produced by configure, useful for debugging
3868 # configure, is in config.log if it exists.
3874 SHELL=\${CONFIG_SHELL-$SHELL}
3877 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3878 ## -------------------- ##
3879 ## M4sh Initialization. ##
3880 ## -------------------- ##
3882 # Be more Bourne compatible
3883 DUALCASE=1; export DUALCASE # for MKS sh
3884 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3887 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3888 # is contrary to our usage. Disable this feature.
3889 alias -g '${1+"$@"}'='"$@"'
3890 setopt NO_GLOB_SUBST
3892 case `(set -o) 2>/dev/null` in #(
3904 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3905 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3906 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3908 # Prefer a ksh shell builtin over an external printf program on Solaris,
3909 # but without wasting forks for bash or zsh.
3910 if test -z "$BASH_VERSION$ZSH_VERSION" \
3911 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3912 as_echo='print -r --'
3913 as_echo_n='print -rn --'
3914 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3915 as_echo='printf %s\n'
3916 as_echo_n='printf %s'
3918 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3919 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3920 as_echo_n='/usr/ucb/echo -n'
3922 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3923 as_echo_n_body='eval
3927 expr "X$arg" : "X\\(.*\\)$as_nl";
3928 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3930 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3932 export as_echo_n_body
3933 as_echo_n='sh -c $as_echo_n_body as_echo'
3936 as_echo='sh -c $as_echo_body as_echo'
3939 # The user is always right.
3940 if test "${PATH_SEPARATOR+set}" != set; then
3942 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3943 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3950 # We need space, tab and new line, in precisely that order. Quoting is
3951 # there to prevent editors from complaining about space-tab.
3952 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3953 # splitting by setting IFS to empty value.)
3956 # Find who we are. Look in the path if we contain no directory separator.
3958 *[\\/]* ) as_myself=$0 ;;
3959 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3970 # We did not find ourselves, most probably we were run as `sh COMMAND'
3971 # in which case we are not to be found in the path.
3972 if test "x$as_myself" = x; then
3975 if test ! -f "$as_myself"; then
3976 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3980 # Unset variables that we do not need and which cause bugs (e.g. in
3981 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3982 # suppresses any "Segmentation fault" message there. '((' could
3983 # trigger a bug in pdksh 5.2.14.
3984 for as_var in BASH_ENV ENV MAIL MAILPATH
3985 do eval test x\${$as_var+set} = xset \
3986 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3999 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4002 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4003 # ----------------------------------------
4004 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4005 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4006 # script with STATUS, using 1 if that was 0.
4009 as_status=$1; test $as_status -eq 0 && as_status=1
4011 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4012 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4014 $as_echo "$as_me: error: $2" >&2
4015 as_fn_exit $as_status
4019 # as_fn_set_status STATUS
4020 # -----------------------
4021 # Set $? to STATUS, without forking.
4025 } # as_fn_set_status
4029 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4039 # Portably unset VAR.
4042 { eval $1=; unset $1;}
4044 as_unset=as_fn_unset
4045 # as_fn_append VAR VALUE
4046 # ----------------------
4047 # Append the text in VALUE to the end of the definition contained in VAR. Take
4048 # advantage of any shell optimizations that allow amortized linear growth over
4049 # repeated appends, instead of the typical quadratic growth present in naive
4051 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4052 eval 'as_fn_append ()
4063 # as_fn_arith ARG...
4064 # ------------------
4065 # Perform arithmetic evaluation on the ARGs, and store the result in the
4066 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4067 # must be portable across $(()) and expr.
4068 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4069 eval 'as_fn_arith ()
4076 as_val=`expr "$@" || test $? -eq 1`
4081 if expr a : '\(a\)' >/dev/null 2>&1 &&
4082 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4088 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4089 as_basename=basename
4094 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4100 as_me=`$as_basename -- "$0" ||
4101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4102 X"$0" : 'X\(//\)$' \| \
4103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4105 sed '/^.*\/\([^/][^/]*\)\/*$/{
4119 # Avoid depending upon Character Ranges.
4120 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4121 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4122 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4123 as_cr_digits='0123456789'
4124 as_cr_alnum=$as_cr_Letters$as_cr_digits
4126 ECHO_C= ECHO_N= ECHO_T=
4127 case `echo -n x` in #(((((
4129 case `echo 'xy\c'` in
4130 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4132 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4139 rm -f conf$$ conf$$.exe conf$$.file
4140 if test -d conf$$.dir; then
4141 rm -f conf$$.dir/conf$$.file
4144 mkdir conf$$.dir 2>/dev/null
4146 if (echo >conf$$.file) 2>/dev/null; then
4147 if ln -s conf$$.file conf$$ 2>/dev/null; then
4149 # ... but there are two gotchas:
4150 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4151 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4152 # In both cases, we have to default to `cp -p'.
4153 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4155 elif ln conf$$.file conf$$ 2>/dev/null; then
4163 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4164 rmdir conf$$.dir 2>/dev/null
4169 # Create "$as_dir" as a directory, including parents if necessary.
4174 -*) as_dir=./$as_dir;;
4176 test -d "$as_dir" || eval $as_mkdir_p || {
4180 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4181 *) as_qdir=$as_dir;;
4183 as_dirs="'$as_qdir' $as_dirs"
4184 as_dir=`$as_dirname -- "$as_dir" ||
4185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4186 X"$as_dir" : 'X\(//\)[^/]' \| \
4187 X"$as_dir" : 'X\(//\)$' \| \
4188 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4189 $as_echo X"$as_dir" |
4190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4207 test -d "$as_dir" && break
4209 test -z "$as_dirs" || eval "mkdir $as_dirs"
4210 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4214 if mkdir -p . 2>/dev/null; then
4215 as_mkdir_p='mkdir -p "$as_dir"'
4217 test -d ./-p && rmdir ./-p
4221 if test -x / >/dev/null 2>&1; then
4224 if ls -dL / >/dev/null 2>&1; then
4231 if test -d "$1"; then
4237 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4238 ???[sx]*):;;*)false;;esac;fi
4242 as_executable_p=$as_test_x
4244 # Sed expression to map a string onto a valid CPP name.
4245 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4247 # Sed expression to map a string onto a valid variable name.
4248 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4252 ## ----------------------------------- ##
4253 ## Main body of $CONFIG_STATUS script. ##
4254 ## ----------------------------------- ##
4256 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4259 # Save the log message, to keep $0 and so on meaningful, and to
4260 # report actual input values of CONFIG_FILES etc. instead of their
4261 # values after options handling.
4263 This file was extended by radsecproxy $as_me 1.5-dev, which was
4264 generated by GNU Autoconf 2.67. Invocation command line was
4266 CONFIG_FILES = $CONFIG_FILES
4267 CONFIG_HEADERS = $CONFIG_HEADERS
4268 CONFIG_LINKS = $CONFIG_LINKS
4269 CONFIG_COMMANDS = $CONFIG_COMMANDS
4272 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4277 case $ac_config_files in *"
4278 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4284 # Files that config.status was made for.
4285 config_files="$ac_config_files"
4286 config_commands="$ac_config_commands"
4290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4292 \`$as_me' instantiates files and other configuration actions
4293 from templates according to the current configuration. Unless the files
4294 and actions are specified as TAGs, all are instantiated by default.
4296 Usage: $0 [OPTION]... [TAG]...
4298 -h, --help print this help, then exit
4299 -V, --version print version number and configuration settings, then exit
4300 --config print configuration, then exit
4301 -q, --quiet, --silent
4302 do not print progress messages
4303 -d, --debug don't remove temporary files
4304 --recheck update $as_me by reconfiguring in the same conditions
4305 --file=FILE[:TEMPLATE]
4306 instantiate the configuration file FILE
4308 Configuration files:
4311 Configuration commands:
4314 Report bugs to <radsecproxy@uninett.no>."
4317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4318 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4320 radsecproxy config.status 1.5-dev
4321 configured by $0, generated by GNU Autoconf 2.67,
4322 with options \\"\$ac_cs_config\\"
4324 Copyright (C) 2010 Free Software Foundation, Inc.
4325 This config.status script is free software; the Free Software Foundation
4326 gives unlimited permission to copy, distribute and modify it."
4333 test -n "\$AWK" || AWK=awk
4336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4337 # The default lists apply if the user does not specify any file.
4343 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4344 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4348 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4360 # Handling of the options.
4361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4363 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4364 $as_echo "$ac_cs_version"; exit ;;
4365 --config | --confi | --conf | --con | --co | --c )
4366 $as_echo "$ac_cs_config"; exit ;;
4367 --debug | --debu | --deb | --de | --d | -d )
4369 --file | --fil | --fi | --f )
4372 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4373 '') as_fn_error $? "missing file argument" ;;
4375 as_fn_append CONFIG_FILES " '$ac_optarg'"
4376 ac_need_defaults=false;;
4377 --he | --h | --help | --hel | -h )
4378 $as_echo "$ac_cs_usage"; exit ;;
4379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4380 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4384 -*) as_fn_error $? "unrecognized option: \`$1'
4385 Try \`$0 --help' for more information." ;;
4387 *) as_fn_append ac_config_targets " $1"
4388 ac_need_defaults=false ;;
4394 ac_configure_extra_args=
4396 if $ac_cs_silent; then
4398 ac_configure_extra_args="$ac_configure_extra_args --silent"
4402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4403 if \$ac_cs_recheck; then
4404 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4406 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4407 CONFIG_SHELL='$SHELL'
4413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4417 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4418 ## Running $as_me. ##
4424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4428 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4434 # Handling of arguments.
4435 for ac_config_target in $ac_config_targets
4437 case $ac_config_target in
4438 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4439 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4441 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4446 # If the user did not use the arguments to specify the items to instantiate,
4447 # then the envvar interface is used. Set only those that are not.
4448 # We use the long form for the default assignment because of an extremely
4449 # bizarre bug on SunOS 4.1.3.
4450 if $ac_need_defaults; then
4451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4452 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4455 # Have a temporary directory for convenience. Make it in the build tree
4456 # simply because there is no reason against having it here, and in addition,
4457 # creating and moving files from /tmp can sometimes cause problems.
4458 # Hook for its removal unless debugging.
4459 # Note that there is a small window in which the directory will not be cleaned:
4460 # after its creation but before its name has been assigned to `$tmp'.
4464 trap 'exit_status=$?
4465 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4467 trap 'as_fn_exit 1' 1 2 13 15
4469 # Create a (secure) tmp directory for tmp files.
4472 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4473 test -n "$tmp" && test -d "$tmp"
4476 tmp=./conf$$-$RANDOM
4477 (umask 077 && mkdir "$tmp")
4478 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4480 # Set up the scripts for CONFIG_FILES section.
4481 # No need to generate them if there are no CONFIG_FILES.
4482 # This happens for instance with `./config.status config.h'.
4483 if test -n "$CONFIG_FILES"; then
4486 ac_cr=`echo X | tr X '\015'`
4487 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4488 # But we know of no other shell where ac_cr would be empty at this
4489 # point, so we can use a bashism as a fallback.
4490 if test "x$ac_cr" = x; then
4491 eval ac_cr=\$\'\\r\'
4493 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4500 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4505 echo "cat >conf$$subs.awk <<_ACEOF" &&
4506 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4509 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4510 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4512 for ac_last_try in false false false false false :; do
4513 . ./conf$$subs.sh ||
4514 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4516 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4517 if test $ac_delim_n = $ac_delim_num; then
4519 elif $ac_last_try; then
4520 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4522 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4528 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4532 s/^/S["/; s/!.*/"]=/
4542 s/\(.\{148\}\)..*/\1/
4544 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4549 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4556 s/\(.\{148\}\)..*/\1/
4558 s/["\\]/\\&/g; s/^/"/; s/$/"/
4562 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4567 ' <conf$$subs.awk | sed '
4572 ' >>$CONFIG_STATUS || ac_write_fail=1
4573 rm -f conf$$subs.awk
4574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4576 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4577 for (key in S) S_is_set[key] = 1
4583 nfields = split(line, field, "@")
4585 len = length(field[1])
4586 for (i = 2; i < nfields; i++) {
4588 keylen = length(key)
4589 if (S_is_set[key]) {
4591 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4592 len += length(value) + length(field[++i])
4603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4604 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4605 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4608 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4609 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4612 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4613 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4614 # trailing colons and then remove the whole line if VPATH becomes empty
4615 # (actually we leave an empty line to preserve line numbers).
4616 if test "x$srcdir" = x.; then
4617 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4636 fi # test -n "$CONFIG_FILES"
4639 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4644 :[FHLC]) ac_mode=$ac_tag; continue;;
4646 case $ac_mode$ac_tag in
4648 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4649 :[FH]-) ac_tag=-:-;;
4650 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4667 -) ac_f="$tmp/stdin";;
4668 *) # Look for the file first in the build tree, then in the source tree
4669 # (if the path is not absolute). The absolute path cannot be DOS-style,
4670 # because $ac_f cannot contain `:'.
4674 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4676 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4678 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4679 as_fn_append ac_file_inputs " '$ac_f'"
4682 # Let's still pretend it is `configure' which instantiates (i.e., don't
4683 # use $as_me), people would be surprised to read:
4684 # /* config.h. Generated by config.status. */
4685 configure_input='Generated from '`
4686 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4688 if test x"$ac_file" != x-; then
4689 configure_input="$ac_file. $configure_input"
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4691 $as_echo "$as_me: creating $ac_file" >&6;}
4693 # Neutralize special characters interpreted by sed in replacement strings.
4694 case $configure_input in #(
4695 *\&* | *\|* | *\\* )
4696 ac_sed_conf_input=`$as_echo "$configure_input" |
4697 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4698 *) ac_sed_conf_input=$configure_input;;
4702 *:-:* | *:-) cat >"$tmp/stdin" \
4703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4708 ac_dir=`$as_dirname -- "$ac_file" ||
4709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4710 X"$ac_file" : 'X\(//\)[^/]' \| \
4711 X"$ac_file" : 'X\(//\)$' \| \
4712 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4713 $as_echo X"$ac_file" |
4714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4731 as_dir="$ac_dir"; as_fn_mkdir_p
4735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4738 # A ".." for each directory in $ac_dir_suffix.
4739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4740 case $ac_top_builddir_sub in
4741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4745 ac_abs_top_builddir=$ac_pwd
4746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4747 # for backward compatibility:
4748 ac_top_builddir=$ac_top_build_prefix
4751 .) # We are building in place.
4753 ac_top_srcdir=$ac_top_builddir_sub
4754 ac_abs_top_srcdir=$ac_pwd ;;
4755 [\\/]* | ?:[\\/]* ) # Absolute name.
4756 ac_srcdir=$srcdir$ac_dir_suffix;
4757 ac_top_srcdir=$srcdir
4758 ac_abs_top_srcdir=$srcdir ;;
4760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4761 ac_top_srcdir=$ac_top_build_prefix$srcdir
4762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4774 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4775 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4779 [\\/$]* | ?:[\\/]* ) ;;
4780 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4785 # If the template does not know about datarootdir, expand it.
4786 # FIXME: This hack should be removed a few years after 2.60.
4787 ac_datarootdir_hack=; ac_datarootdir_seen=
4798 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4799 *datarootdir*) ac_datarootdir_seen=yes;;
4800 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4802 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4805 ac_datarootdir_hack='
4806 s&@datadir@&$datadir&g
4807 s&@docdir@&$docdir&g
4808 s&@infodir@&$infodir&g
4809 s&@localedir@&$localedir&g
4810 s&@mandir@&$mandir&g
4811 s&\\\${datarootdir}&$datarootdir&g' ;;
4815 # Neutralize VPATH when `$srcdir' = `.'.
4816 # Shell code in configure.ac might set extrasub.
4817 # FIXME: do we really want to maintain this feature?
4818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4819 ac_sed_extra="$ac_vpsub
4822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4824 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4825 s|@configure_input@|$ac_sed_conf_input|;t t
4826 s&@top_builddir@&$ac_top_builddir_sub&;t t
4827 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4828 s&@srcdir@&$ac_srcdir&;t t
4829 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4830 s&@top_srcdir@&$ac_top_srcdir&;t t
4831 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4832 s&@builddir@&$ac_builddir&;t t
4833 s&@abs_builddir@&$ac_abs_builddir&;t t
4834 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4835 s&@INSTALL@&$ac_INSTALL&;t t
4836 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4837 $ac_datarootdir_hack
4839 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4842 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4843 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4844 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4846 which seems to be undefined. Please make sure it is defined" >&5
4847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4848 which seems to be undefined. Please make sure it is defined" >&2;}
4852 -) cat "$tmp/out" && rm -f "$tmp/out";;
4853 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4859 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4860 $as_echo "$as_me: executing $ac_file commands" >&6;}
4865 case $ac_file$ac_mode in
4866 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4867 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4868 # are listed without --file. Let's play safe and only enable the eval
4869 # if we detect the quoting.
4870 case $CONFIG_FILES in
4871 *\'*) eval set x "$CONFIG_FILES" ;;
4872 *) set x $CONFIG_FILES ;;
4877 # Strip MF so we end up with the name of the file.
4878 mf=`echo "$mf" | sed -e 's/:.*$//'`
4879 # Check whether this is an Automake generated Makefile or not.
4880 # We used to match only the files named `Makefile.in', but
4881 # some people rename them; so instead we look at the file content.
4882 # Grep'ing the first line is not enough: some people post-process
4883 # each Makefile.in and add a new line on top of each file to say so.
4884 # Grep'ing the whole file is not good either: AIX grep has a line
4885 # limit of 2048, but all sed's we know have understand at least 4000.
4886 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4887 dirpart=`$as_dirname -- "$mf" ||
4888 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4889 X"$mf" : 'X\(//\)[^/]' \| \
4890 X"$mf" : 'X\(//\)$' \| \
4891 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4913 # Extract the definition of DEPDIR, am__include, and am__quote
4914 # from the Makefile without running `make'.
4915 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4916 test -z "$DEPDIR" && continue
4917 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4918 test -z "am__include" && continue
4919 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4920 # When using ansi2knr, U may be empty or an underscore; expand it
4921 U=`sed -n 's/^U = //p' < "$mf"`
4922 # Find all dependency output files, they are included files with
4923 # $(DEPDIR) in their names. We invoke sed twice because it is the
4924 # simplest approach to changing $(DEPDIR) to its actual value in the
4926 for file in `sed -n "
4927 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4928 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4929 # Make sure the directory exists.
4930 test -f "$dirpart/$file" && continue
4931 fdir=`$as_dirname -- "$file" ||
4932 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4933 X"$file" : 'X\(//\)[^/]' \| \
4934 X"$file" : 'X\(//\)$' \| \
4935 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4954 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4955 # echo "creating $dirpart/$file"
4956 echo '# dummy' > "$dirpart/$file"
4968 ac_clean_files=$ac_clean_files_save
4970 test $ac_write_fail = 0 ||
4971 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4974 # configure is writing to config.log, and then calls config.status.
4975 # config.status does its own redirection, appending to config.log.
4976 # Unfortunately, on DOS this fails, as config.log is still kept open
4977 # by configure, so config.status won't be able to write to it; its
4978 # output is simply discarded. So we exec the FD to /dev/null,
4979 # effectively closing config.log, so it can be properly (re)opened and
4980 # appended to by config.status. When coming back to configure, we
4981 # need to make the FD available again.
4982 if test "$no_create" != yes; then
4984 ac_config_status_args=
4985 test "$silent" = yes &&
4986 ac_config_status_args="$ac_config_status_args --quiet"
4988 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4990 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4991 # would make configure fail if this is the last instruction.
4992 $ac_cs_success || as_fn_exit 1
4994 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4996 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}