2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for radsecproxy 1.4-devel.
5 # Report bugs to <radsecproxy@uninett.no>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir=.
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org and
231 $0: radsecproxy@uninett.no about your system, including any
232 $0: error possibly output before this message. Then install
233 $0: a modern shell, or manually run the script under such a
234 $0: shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 exec 7<&0 </dev/null 6>&1
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix=/usr/local
541 ac_config_libobj_dir=.
548 # Identity of this package.
549 PACKAGE_NAME='radsecproxy'
550 PACKAGE_TARNAME='radsecproxy'
551 PACKAGE_VERSION='1.4-devel'
552 PACKAGE_STRING='radsecproxy 1.4-devel'
553 PACKAGE_BUGREPORT='radsecproxy@uninett.no'
556 ac_subst_vars='am__EXEEXT_FALSE
589 INSTALL_STRIP_PROGRAM
643 program_transform_name
656 enable_option_checking
657 enable_dependency_tracking
664 ac_precious_vars='build_alias
674 # Initialize some variables set by options.
676 ac_init_version=false
677 ac_unrecognized_opts=
679 # The variables have the same names as the options, with
680 # dashes changed to underlines.
688 program_transform_name=s,x,x,
696 # Installation directory options.
697 # These are left unexpanded so users can "make install exec_prefix=/foo"
698 # and all the variables that are supposed to be based on exec_prefix
699 # by default will actually change.
700 # Use braces instead of parens because sh, perl, etc. also accept them.
701 # (The list follows the same order as the GNU Coding Standards.)
702 bindir='${exec_prefix}/bin'
703 sbindir='${exec_prefix}/sbin'
704 libexecdir='${exec_prefix}/libexec'
705 datarootdir='${prefix}/share'
706 datadir='${datarootdir}'
707 sysconfdir='${prefix}/etc'
708 sharedstatedir='${prefix}/com'
709 localstatedir='${prefix}/var'
710 includedir='${prefix}/include'
711 oldincludedir='/usr/include'
712 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
713 infodir='${datarootdir}/info'
718 libdir='${exec_prefix}/lib'
719 localedir='${datarootdir}/locale'
720 mandir='${datarootdir}/man'
726 # If the previous option needs an argument, assign it.
727 if test -n "$ac_prev"; then
728 eval $ac_prev=\$ac_option
734 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
738 # Accept the important Cygnus configure options, so we can diagnose typos.
740 case $ac_dashdash$ac_option in
744 -bindir | --bindir | --bindi | --bind | --bin | --bi)
746 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749 -build | --build | --buil | --bui | --bu)
750 ac_prev=build_alias ;;
751 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
752 build_alias=$ac_optarg ;;
754 -cache-file | --cache-file | --cache-fil | --cache-fi \
755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
756 ac_prev=cache_file ;;
757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
759 cache_file=$ac_optarg ;;
762 cache_file=config.cache ;;
764 -datadir | --datadir | --datadi | --datad)
766 -datadir=* | --datadir=* | --datadi=* | --datad=*)
767 datadir=$ac_optarg ;;
769 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
770 | --dataroo | --dataro | --datar)
771 ac_prev=datarootdir ;;
772 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
773 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
774 datarootdir=$ac_optarg ;;
776 -disable-* | --disable-*)
777 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
778 # Reject names that are not valid shell variable names.
779 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
780 as_fn_error "invalid feature name: $ac_useropt"
781 ac_useropt_orig=$ac_useropt
782 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
783 case $ac_user_opts in
787 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
788 ac_unrecognized_sep=', ';;
790 eval enable_$ac_useropt=no ;;
792 -docdir | --docdir | --docdi | --doc | --do)
794 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
799 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802 -enable-* | --enable-*)
803 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
806 as_fn_error "invalid feature name: $ac_useropt"
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
816 eval enable_$ac_useropt=\$ac_optarg ;;
818 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
819 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
820 | --exec | --exe | --ex)
821 ac_prev=exec_prefix ;;
822 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
823 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
824 | --exec=* | --exe=* | --ex=*)
825 exec_prefix=$ac_optarg ;;
827 -gas | --gas | --ga | --g)
828 # Obsolete; use --with-gas.
831 -help | --help | --hel | --he | -h)
833 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
834 ac_init_help=recursive ;;
835 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
836 ac_init_help=short ;;
838 -host | --host | --hos | --ho)
839 ac_prev=host_alias ;;
840 -host=* | --host=* | --hos=* | --ho=*)
841 host_alias=$ac_optarg ;;
843 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
845 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
847 htmldir=$ac_optarg ;;
849 -includedir | --includedir | --includedi | --included | --include \
850 | --includ | --inclu | --incl | --inc)
851 ac_prev=includedir ;;
852 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
853 | --includ=* | --inclu=* | --incl=* | --inc=*)
854 includedir=$ac_optarg ;;
856 -infodir | --infodir | --infodi | --infod | --info | --inf)
858 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
859 infodir=$ac_optarg ;;
861 -libdir | --libdir | --libdi | --libd)
863 -libdir=* | --libdir=* | --libdi=* | --libd=*)
866 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
867 | --libexe | --libex | --libe)
868 ac_prev=libexecdir ;;
869 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
870 | --libexe=* | --libex=* | --libe=*)
871 libexecdir=$ac_optarg ;;
873 -localedir | --localedir | --localedi | --localed | --locale)
875 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
876 localedir=$ac_optarg ;;
878 -localstatedir | --localstatedir | --localstatedi | --localstated \
879 | --localstate | --localstat | --localsta | --localst | --locals)
880 ac_prev=localstatedir ;;
881 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
882 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
883 localstatedir=$ac_optarg ;;
885 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
887 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891 # Obsolete; use --without-fp.
894 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
895 | --no-cr | --no-c | -n)
898 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
899 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
903 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
904 | --oldin | --oldi | --old | --ol | --o)
905 ac_prev=oldincludedir ;;
906 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
907 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
908 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
909 oldincludedir=$ac_optarg ;;
911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916 -program-prefix | --program-prefix | --program-prefi | --program-pref \
917 | --program-pre | --program-pr | --program-p)
918 ac_prev=program_prefix ;;
919 -program-prefix=* | --program-prefix=* | --program-prefi=* \
920 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
921 program_prefix=$ac_optarg ;;
923 -program-suffix | --program-suffix | --program-suffi | --program-suff \
924 | --program-suf | --program-su | --program-s)
925 ac_prev=program_suffix ;;
926 -program-suffix=* | --program-suffix=* | --program-suffi=* \
927 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
928 program_suffix=$ac_optarg ;;
930 -program-transform-name | --program-transform-name \
931 | --program-transform-nam | --program-transform-na \
932 | --program-transform-n | --program-transform- \
933 | --program-transform | --program-transfor \
934 | --program-transfo | --program-transf \
935 | --program-trans | --program-tran \
936 | --progr-tra | --program-tr | --program-t)
937 ac_prev=program_transform_name ;;
938 -program-transform-name=* | --program-transform-name=* \
939 | --program-transform-nam=* | --program-transform-na=* \
940 | --program-transform-n=* | --program-transform-=* \
941 | --program-transform=* | --program-transfor=* \
942 | --program-transfo=* | --program-transf=* \
943 | --program-trans=* | --program-tran=* \
944 | --progr-tra=* | --program-tr=* | --program-t=*)
945 program_transform_name=$ac_optarg ;;
947 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
949 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952 -psdir | --psdir | --psdi | --psd | --ps)
954 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958 | -silent | --silent | --silen | --sile | --sil)
961 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
963 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
965 sbindir=$ac_optarg ;;
967 -sharedstatedir | --sharedstatedir | --sharedstatedi \
968 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
969 | --sharedst | --shareds | --shared | --share | --shar \
971 ac_prev=sharedstatedir ;;
972 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
973 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
974 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
976 sharedstatedir=$ac_optarg ;;
978 -site | --site | --sit)
980 -site=* | --site=* | --sit=*)
983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
988 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
989 | --syscon | --sysco | --sysc | --sys | --sy)
990 ac_prev=sysconfdir ;;
991 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
992 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
993 sysconfdir=$ac_optarg ;;
995 -target | --target | --targe | --targ | --tar | --ta | --t)
996 ac_prev=target_alias ;;
997 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
998 target_alias=$ac_optarg ;;
1000 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1003 -version | --version | --versio | --versi | --vers | -V)
1004 ac_init_version=: ;;
1007 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 as_fn_error "invalid package name: $ac_useropt"
1011 ac_useropt_orig=$ac_useropt
1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1018 ac_unrecognized_sep=', ';;
1020 eval with_$ac_useropt=\$ac_optarg ;;
1022 -without-* | --without-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error "invalid package name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval with_$ac_useropt=no ;;
1039 # Obsolete; use --with-x.
1042 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1043 | --x-incl | --x-inc | --x-in | --x-i)
1044 ac_prev=x_includes ;;
1045 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1046 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1047 x_includes=$ac_optarg ;;
1049 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1050 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1051 ac_prev=x_libraries ;;
1052 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1053 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1054 x_libraries=$ac_optarg ;;
1056 -*) as_fn_error "unrecognized option: \`$ac_option'
1057 Try \`$0 --help' for more information."
1061 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1062 # Reject names that are not valid shell variable names.
1063 case $ac_envvar in #(
1064 '' | [0-9]* | *[!_$as_cr_alnum]* )
1065 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1067 eval $ac_envvar=\$ac_optarg
1068 export $ac_envvar ;;
1071 # FIXME: should be removed in autoconf 3.0.
1072 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1073 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1074 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1075 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1081 if test -n "$ac_prev"; then
1082 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1083 as_fn_error "missing argument to $ac_option"
1086 if test -n "$ac_unrecognized_opts"; then
1087 case $enable_option_checking in
1089 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1090 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1094 # Check all directory arguments for consistency.
1095 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096 datadir sysconfdir sharedstatedir localstatedir includedir \
1097 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098 libdir localedir mandir
1100 eval ac_val=\$$ac_var
1101 # Remove trailing slashes.
1104 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1105 eval $ac_var=\$ac_val;;
1107 # Be sure to have absolute directory names.
1109 [\\/$]* | ?:[\\/]* ) continue;;
1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1115 # There might be people who depend on the old broken behavior: `$host'
1116 # used to hold the argument of --host etc.
1117 # FIXME: To remove some day.
1120 target=$target_alias
1122 # FIXME: To remove some day.
1123 if test "x$host_alias" != x; then
1124 if test "x$build_alias" = x; then
1125 cross_compiling=maybe
1126 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1127 If a cross compiler is detected then cross compile mode will be used." >&2
1128 elif test "x$build_alias" != "x$host_alias"; then
1134 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1136 test "$silent" = yes && exec 6>/dev/null
1139 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1140 ac_ls_di=`ls -di .` &&
1141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1142 as_fn_error "working directory cannot be determined"
1143 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1144 as_fn_error "pwd does not report name of working directory"
1147 # Find the source files, if location was not specified.
1148 if test -z "$srcdir"; then
1149 ac_srcdir_defaulted=yes
1150 # Try the directory containing this script, then the parent directory.
1151 ac_confdir=`$as_dirname -- "$as_myself" ||
1152 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1153 X"$as_myself" : 'X\(//\)[^/]' \| \
1154 X"$as_myself" : 'X\(//\)$' \| \
1155 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1156 $as_echo X"$as_myself" |
1157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1175 if test ! -r "$srcdir/$ac_unique_file"; then
1179 ac_srcdir_defaulted=no
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1182 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1183 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1185 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1187 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1189 # When building in place, set srcdir=.
1190 if test "$ac_abs_confdir" = "$ac_pwd"; then
1193 # Remove unnecessary trailing slashes from srcdir.
1194 # Double slashes in file names in object file debugging info
1195 # mess up M-x gdb in Emacs.
1197 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1199 for ac_var in $ac_precious_vars; do
1200 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_env_${ac_var}_value=\$${ac_var}
1202 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1207 # Report the --help message.
1209 if test "$ac_init_help" = "long"; then
1210 # Omit some internal or obsolete options to make the list less imposing.
1211 # This message is too long to be a string in the A/UX 3.1 sh.
1213 \`configure' configures radsecproxy 1.4-devel to adapt to many kinds of systems.
1215 Usage: $0 [OPTION]... [VAR=VALUE]...
1217 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1218 VAR=VALUE. See below for descriptions of some of the useful variables.
1220 Defaults for the options are specified in brackets.
1223 -h, --help display this help and exit
1224 --help=short display options specific to this package
1225 --help=recursive display the short help of all the included packages
1226 -V, --version display version information and exit
1227 -q, --quiet, --silent do not print \`checking...' messages
1228 --cache-file=FILE cache test results in FILE [disabled]
1229 -C, --config-cache alias for \`--cache-file=config.cache'
1230 -n, --no-create do not create output files
1231 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1233 Installation directories:
1234 --prefix=PREFIX install architecture-independent files in PREFIX
1235 [$ac_default_prefix]
1236 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1239 By default, \`make install' will install all the files in
1240 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1241 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1242 for instance \`--prefix=\$HOME'.
1244 For better control, use the options below.
1246 Fine tuning of the installation directories:
1247 --bindir=DIR user executables [EPREFIX/bin]
1248 --sbindir=DIR system admin executables [EPREFIX/sbin]
1249 --libexecdir=DIR program executables [EPREFIX/libexec]
1250 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1251 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1252 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1253 --libdir=DIR object code libraries [EPREFIX/lib]
1254 --includedir=DIR C header files [PREFIX/include]
1255 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1256 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1257 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1258 --infodir=DIR info documentation [DATAROOTDIR/info]
1259 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1260 --mandir=DIR man documentation [DATAROOTDIR/man]
1261 --docdir=DIR documentation root [DATAROOTDIR/doc/radsecproxy]
1262 --htmldir=DIR html documentation [DOCDIR]
1263 --dvidir=DIR dvi documentation [DOCDIR]
1264 --pdfdir=DIR pdf documentation [DOCDIR]
1265 --psdir=DIR ps documentation [DOCDIR]
1271 --program-prefix=PREFIX prepend PREFIX to installed program names
1272 --program-suffix=SUFFIX append SUFFIX to installed program names
1273 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1276 --build=BUILD configure for building on BUILD [guessed]
1277 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1278 --target=TARGET configure for building compilers for TARGET [HOST]
1282 if test -n "$ac_init_help"; then
1283 case $ac_init_help in
1284 short | recursive ) echo "Configuration of radsecproxy 1.4-devel:";;
1289 --disable-option-checking ignore unrecognized --enable/--with options
1290 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1291 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1292 --disable-dependency-tracking speeds up one-time build
1293 --enable-dependency-tracking do not reject slow dependency extractors
1294 --enable-udp whether to enable UDP transport: yes/no; default yes
1295 --enable-tcp whether to enable TCP transport: yes/no; default yes
1296 --enable-tls whether to enable TLS (RadSec) transport: yes/no; default yes
1297 --enable-dtls whether to enable DTLS transport: yes/no; default yes
1300 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1301 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1302 --with-ssl Use SSL (in specified installation directory)
1304 Some influential environment variables:
1305 CC C compiler command
1306 CFLAGS C compiler flags
1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308 nonstandard directory <lib dir>
1309 LIBS libraries to pass to the linker, e.g. -l<library>
1310 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1311 you have headers in a nonstandard directory <include dir>
1313 Use these variables to override the choices made by `configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to <radsecproxy@uninett.no>.
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1346 .) # We are building in place.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1379 radsecproxy configure 1.4-devel
1380 generated by GNU Autoconf 2.64
1382 Copyright (C) 2009 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 *) ac_try_echo=$ac_try;;
1405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1409 if test -s conftest.err; then
1410 grep -v '^ *+' conftest.err >conftest.er1
1411 cat conftest.er1 >&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.$ac_objext; then :
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.$ac_ext >&5
1426 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1429 } # ac_fn_c_try_compile
1430 cat >config.log <<_ACEOF
1431 This file contains any messages produced by compilers while
1432 running configure, to aid debugging if configure makes a mistake.
1434 It was created by radsecproxy $as_me 1.4-devel, which was
1435 generated by GNU Autoconf 2.64. Invocation command line was
1447 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1448 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1449 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1450 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1451 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1453 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1454 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1456 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1457 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1458 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1459 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1460 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1461 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1462 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir=.
1471 $as_echo "PATH: $as_dir"
1487 # Keep a trace of the command line.
1488 # Strip out --no-create and --no-recursion so they do not pile up.
1489 # Strip out --silent because we don't want to record it for future runs.
1490 # Also quote any args containing shell meta-characters.
1491 # Make two passes to allow for proper duplicate-argument suppression.
1495 ac_must_keep_next=false
1501 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503 | -silent | --silent | --silen | --sile | --sil)
1506 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1509 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1511 as_fn_append ac_configure_args1 " '$ac_arg'"
1512 if test $ac_must_keep_next = true; then
1513 ac_must_keep_next=false # Got value, back to normal.
1516 *=* | --config-cache | -C | -disable-* | --disable-* \
1517 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1518 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1519 | -with-* | --with-* | -without-* | --without-* | --x)
1520 case "$ac_configure_args0 " in
1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1524 -* ) ac_must_keep_next=true ;;
1527 as_fn_append ac_configure_args " '$ac_arg'"
1532 { ac_configure_args0=; unset ac_configure_args0;}
1533 { ac_configure_args1=; unset ac_configure_args1;}
1535 # When interrupted or exit'd, cleanup temporary files, and complete
1536 # config.log. We remove comments because anyway the quotes in there
1537 # would cause problems or look ugly.
1538 # WARNING: Use '\'' to represent an apostrophe within the trap.
1539 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1540 trap 'exit_status=$?
1541 # Save into config.log some information that might help in debugging.
1546 ## ---------------- ##
1547 ## Cache variables. ##
1548 ## ---------------- ##
1551 # The following way of writing the cache mishandles newlines in values,
1553 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1554 eval ac_val=\$$ac_var
1558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1562 _ | IFS | as_nl) ;; #(
1563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1564 *) { eval $ac_var=; unset $ac_var;} ;;
1569 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1570 *${as_nl}ac_space=\ *)
1572 "s/'\''/'\''\\\\'\'''\''/g;
1573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1576 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1584 ## ----------------- ##
1585 ## Output variables. ##
1586 ## ----------------- ##
1589 for ac_var in $ac_subst_vars
1591 eval ac_val=\$$ac_var
1593 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 $as_echo "$ac_var='\''$ac_val'\''"
1599 if test -n "$ac_subst_files"; then
1601 ## ------------------- ##
1602 ## File substitutions. ##
1603 ## ------------------- ##
1606 for ac_var in $ac_subst_files
1608 eval ac_val=\$$ac_var
1610 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1612 $as_echo "$ac_var='\''$ac_val'\''"
1617 if test -s confdefs.h; then
1627 test "$ac_signal" != 0 &&
1628 $as_echo "$as_me: caught signal $ac_signal"
1629 $as_echo "$as_me: exit $exit_status"
1631 rm -f core *.core core.conftest.* &&
1632 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 for ac_signal in 1 2 13 15; do
1636 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1640 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1641 rm -f -r conftest* confdefs.h
1643 $as_echo "/* confdefs.h */" > confdefs.h
1645 # Predefined preprocessor variables.
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_NAME "$PACKAGE_NAME"
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_URL "$PACKAGE_URL"
1672 # Let the site file select an alternate cache file if it wants to.
1673 # Prefer an explicitly selected file to automatically selected ones.
1676 if test -n "$CONFIG_SITE"; then
1677 ac_site_file1=$CONFIG_SITE
1678 elif test "x$prefix" != xNONE; then
1679 ac_site_file1=$prefix/share/config.site
1680 ac_site_file2=$prefix/etc/config.site
1682 ac_site_file1=$ac_default_prefix/share/config.site
1683 ac_site_file2=$ac_default_prefix/etc/config.site
1685 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1687 test "x$ac_site_file" = xNONE && continue
1688 if test -r "$ac_site_file"; then
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1690 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1691 sed 's/^/| /' "$ac_site_file" >&5
1696 if test -r "$cache_file"; then
1697 # Some versions of bash will fail to source /dev/null (special
1698 # files actually), so we avoid doing that.
1699 if test -f "$cache_file"; then
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1701 $as_echo "$as_me: loading cache $cache_file" >&6;}
1703 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1704 *) . "./$cache_file";;
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1709 $as_echo "$as_me: creating cache $cache_file" >&6;}
1713 # Check that the precious variables saved in the cache have kept the same
1715 ac_cache_corrupted=false
1716 for ac_var in $ac_precious_vars; do
1717 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1718 eval ac_new_set=\$ac_env_${ac_var}_set
1719 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1720 eval ac_new_val=\$ac_env_${ac_var}_value
1721 case $ac_old_set,$ac_new_set in
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1724 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1725 ac_cache_corrupted=: ;;
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1728 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1729 ac_cache_corrupted=: ;;
1732 if test "x$ac_old_val" != "x$ac_new_val"; then
1733 # differences in whitespace do not lead to failure.
1734 ac_old_val_w=`echo x $ac_old_val`
1735 ac_new_val_w=`echo x $ac_new_val`
1736 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1738 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1739 ac_cache_corrupted=:
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1742 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1743 eval $ac_var=\$ac_old_val
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1746 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1748 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1751 # Pass precious variables to config.status.
1752 if test "$ac_new_set" = set; then
1754 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1755 *) ac_arg=$ac_var=$ac_new_val ;;
1757 case " $ac_configure_args " in
1758 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1759 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1763 if $ac_cache_corrupted; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1767 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1768 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1770 ## -------------------- ##
1771 ## Main body of script. ##
1772 ## -------------------- ##
1775 ac_cpp='$CPP $CPPFLAGS'
1776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1782 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1783 for ac_t in install-sh install.sh shtool; do
1784 if test -f "$ac_dir/$ac_t"; then
1786 ac_install_sh="$ac_aux_dir/$ac_t -c"
1791 if test -z "$ac_aux_dir"; then
1792 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1795 # These three variables are undocumented and unsupported,
1796 # and are intended to be withdrawn in a future Autoconf release.
1797 # They can cause serious problems if a builder's source tree is in a directory
1798 # whose full name contains unusual characters.
1799 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1800 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1801 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1804 # Make sure we can run config.sub.
1805 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1806 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1809 $as_echo_n "checking build system type... " >&6; }
1810 if test "${ac_cv_build+set}" = set; then :
1811 $as_echo_n "(cached) " >&6
1813 ac_build_alias=$build_alias
1814 test "x$ac_build_alias" = x &&
1815 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1816 test "x$ac_build_alias" = x &&
1817 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1818 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1819 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1823 $as_echo "$ac_cv_build" >&6; }
1824 case $ac_cv_build in
1826 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1829 ac_save_IFS=$IFS; IFS='-'
1835 # Remember, the first character of IFS is used to create $*,
1836 # except with old shells:
1839 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1843 $as_echo_n "checking host system type... " >&6; }
1844 if test "${ac_cv_host+set}" = set; then :
1845 $as_echo_n "(cached) " >&6
1847 if test "x$host_alias" = x; then
1848 ac_cv_host=$ac_cv_build
1850 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1851 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1856 $as_echo "$ac_cv_host" >&6; }
1859 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1862 ac_save_IFS=$IFS; IFS='-'
1868 # Remember, the first character of IFS is used to create $*,
1869 # except with old shells:
1872 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1876 $as_echo_n "checking target system type... " >&6; }
1877 if test "${ac_cv_target+set}" = set; then :
1878 $as_echo_n "(cached) " >&6
1880 if test "x$target_alias" = x; then
1881 ac_cv_target=$ac_cv_host
1883 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1884 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1889 $as_echo "$ac_cv_target" >&6; }
1890 case $ac_cv_target in
1892 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1894 target=$ac_cv_target
1895 ac_save_IFS=$IFS; IFS='-'
1901 # Remember, the first character of IFS is used to create $*,
1902 # except with old shells:
1905 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1908 # The aliases save the names the user supplied, while $host etc.
1909 # will get canonicalized.
1910 test -n "$target_alias" &&
1911 test "$program_prefix$program_suffix$program_transform_name" = \
1913 program_prefix=${target_alias}-
1914 am__api_version='1.11'
1916 # Find a good install program. We prefer a C program (faster),
1917 # so one script is as good as another. But avoid the broken or
1918 # incompatible versions:
1919 # SysV /etc/install, /usr/sbin/install
1920 # SunOS /usr/etc/install
1921 # IRIX /sbin/install
1923 # AmigaOS /C/install, which installs bootblocks on floppy discs
1924 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1925 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1926 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1927 # OS/2's system install, which has a completely different semantic
1928 # ./install, which can be erroneously created by make from ./install.sh.
1929 # Reject install programs that cannot install multiple files.
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1931 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1932 if test -z "$INSTALL"; then
1933 if test "${ac_cv_path_install+set}" = set; then :
1934 $as_echo_n "(cached) " >&6
1936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 test -z "$as_dir" && as_dir=.
1941 # Account for people who put trailing slashes in PATH elements.
1942 case $as_dir/ in #((
1943 ./ | .// | /[cC]/* | \
1944 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1945 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1948 # OSF1 and SCO ODT 3.0 have their own names for install.
1949 # Don't use installbsd from OSF since it installs stuff as root
1951 for ac_prog in ginstall scoinst install; do
1952 for ac_exec_ext in '' $ac_executable_extensions; do
1953 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1954 if test $ac_prog = install &&
1955 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1956 # AIX install. It has an incompatible calling convention.
1958 elif test $ac_prog = install &&
1959 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1960 # program-specific install script used by HP pwplus--don't use.
1963 rm -rf conftest.one conftest.two conftest.dir
1964 echo one > conftest.one
1965 echo two > conftest.two
1967 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1968 test -s conftest.one && test -s conftest.two &&
1969 test -s conftest.dir/conftest.one &&
1970 test -s conftest.dir/conftest.two
1972 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1985 rm -rf conftest.one conftest.two conftest.dir
1988 if test "${ac_cv_path_install+set}" = set; then
1989 INSTALL=$ac_cv_path_install
1991 # As a last resort, use the slow shell script. Don't cache a
1992 # value for INSTALL within a source directory, because that will
1993 # break other packages using the cache if that directory is
1994 # removed, or if the value is a relative name.
1995 INSTALL=$ac_install_sh
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1999 $as_echo "$INSTALL" >&6; }
2001 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2002 # It thinks the first close brace ends the variable substitution.
2003 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2005 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2007 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2010 $as_echo_n "checking whether build environment is sane... " >&6; }
2013 echo timestamp > conftest.file
2014 # Reject unsafe characters in $srcdir or the absolute working directory
2015 # name. Accept space and tab only in the latter.
2019 *[\\\"\#\$\&\'\`$am_lf]*)
2020 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2023 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2024 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2027 # Do `set' in a subshell so we don't clobber the current shell's
2028 # arguments. Must try -L first in case configure is actually a
2029 # symlink; some systems play weird games with the mod time of symlinks
2030 # (eg FreeBSD returns the mod time of the symlink's containing
2033 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2034 if test "$*" = "X"; then
2036 set X `ls -t "$srcdir/configure" conftest.file`
2039 if test "$*" != "X $srcdir/configure conftest.file" \
2040 && test "$*" != "X conftest.file $srcdir/configure"; then
2042 # If neither matched, then we have a broken ls. This can happen
2043 # if, for instance, CONFIG_SHELL is bash and it inherits a
2044 # broken ls alias from the environment. This has actually
2045 # happened. Such a system could not be considered "sane".
2046 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2047 alias in your environment" "$LINENO" 5
2050 test "$2" = conftest.file
2056 as_fn_error "newly created file is older than distributed files!
2057 Check your system clock" "$LINENO" 5
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2060 $as_echo "yes" >&6; }
2061 test "$program_prefix" != NONE &&
2062 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2063 # Use a double $ so make ignores it.
2064 test "$program_suffix" != NONE &&
2065 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2066 # Double any \ or $.
2067 # By default was `s,x,x', remove it if useless.
2068 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2069 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2071 # expand $ac_aux_dir to an absolute path
2072 am_aux_dir=`cd $ac_aux_dir && pwd`
2074 if test x"${MISSING+set}" != xset; then
2077 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2079 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2082 # Use eval to expand $SHELL
2083 if eval "$MISSING --run true"; then
2084 am_missing_run="$MISSING --run "
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2088 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2091 if test x"${install_sh}" != xset; then
2094 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2096 install_sh="\${SHELL} $am_aux_dir/install-sh"
2100 # Installed binaries are usually stripped using `strip' when the user
2101 # run `make install-strip'. However `strip' might not be the right
2102 # tool to use in cross-compilation environments, therefore Automake
2103 # will honor the `STRIP' environment variable to overrule this program.
2104 if test "$cross_compiling" != no; then
2105 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2107 set dummy ${ac_tool_prefix}strip; ac_word=$2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2109 $as_echo_n "checking for $ac_word... " >&6; }
2110 if test "${ac_cv_prog_STRIP+set}" = set; then :
2111 $as_echo_n "(cached) " >&6
2113 if test -n "$STRIP"; then
2114 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 STRIP=$ac_cv_prog_STRIP
2134 if test -n "$STRIP"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2136 $as_echo "$STRIP" >&6; }
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2139 $as_echo "no" >&6; }
2144 if test -z "$ac_cv_prog_STRIP"; then
2146 # Extract the first word of "strip", so it can be a program name with args.
2147 set dummy strip; ac_word=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2151 $as_echo_n "(cached) " >&6
2153 if test -n "$ac_ct_STRIP"; then
2154 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2163 ac_cv_prog_ac_ct_STRIP="strip"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2174 if test -n "$ac_ct_STRIP"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2176 $as_echo "$ac_ct_STRIP" >&6; }
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2182 if test "x$ac_ct_STRIP" = x; then
2185 case $cross_compiling:$ac_tool_warned in
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2189 ac_tool_warned=yes ;;
2194 STRIP="$ac_cv_prog_STRIP"
2198 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2201 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2202 if test -z "$MKDIR_P"; then
2203 if test "${ac_cv_path_mkdir+set}" = set; then :
2204 $as_echo_n "(cached) " >&6
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2210 test -z "$as_dir" && as_dir=.
2211 for ac_prog in mkdir gmkdir; do
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2214 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2215 'mkdir (GNU coreutils) '* | \
2216 'mkdir (coreutils) '* | \
2217 'mkdir (fileutils) '4.1*)
2218 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2228 if test "${ac_cv_path_mkdir+set}" = set; then
2229 MKDIR_P="$ac_cv_path_mkdir -p"
2231 # As a last resort, use the slow shell script. Don't cache a
2232 # value for MKDIR_P within a source directory, because that will
2233 # break other packages using the cache if that directory is
2234 # removed, or if the value is a relative name.
2235 test -d ./--version && rmdir ./--version
2236 MKDIR_P="$ac_install_sh -d"
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2240 $as_echo "$MKDIR_P" >&6; }
2244 [\\/$]* | ?:[\\/]*) ;;
2245 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2248 for ac_prog in gawk mawk nawk awk
2250 # Extract the first word of "$ac_prog", so it can be a program name with args.
2251 set dummy $ac_prog; ac_word=$2
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2253 $as_echo_n "checking for $ac_word... " >&6; }
2254 if test "${ac_cv_prog_AWK+set}" = set; then :
2255 $as_echo_n "(cached) " >&6
2257 if test -n "$AWK"; then
2258 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267 ac_cv_prog_AWK="$ac_prog"
2268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 if test -n "$AWK"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2280 $as_echo "$AWK" >&6; }
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283 $as_echo "no" >&6; }
2287 test -n "$AWK" && break
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2291 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2293 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2294 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2295 $as_echo_n "(cached) " >&6
2297 cat >conftest.make <<\_ACEOF
2300 @echo '@@@%%%=$(MAKE)=@@@%%%'
2302 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2303 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2305 eval ac_cv_prog_make_${ac_make}_set=yes;;
2307 eval ac_cv_prog_make_${ac_make}_set=no;;
2311 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2313 $as_echo "yes" >&6; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317 $as_echo "no" >&6; }
2318 SET_MAKE="MAKE=${MAKE-make}"
2321 rm -rf .tst 2>/dev/null
2322 mkdir .tst 2>/dev/null
2323 if test -d .tst; then
2328 rmdir .tst 2>/dev/null
2330 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2331 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2332 # is not polluted with repeated "-I."
2333 am__isrc=' -I$(srcdir)'
2334 # test to see if srcdir already configured
2335 if test -f $srcdir/config.status; then
2336 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2340 # test whether we have cygpath
2341 if test -z "$CYGPATH_W"; then
2342 if (cygpath --version) >/dev/null 2>/dev/null; then
2343 CYGPATH_W='cygpath -w'
2350 # Define the identity of the package.
2351 PACKAGE='radsecproxy'
2355 cat >>confdefs.h <<_ACEOF
2356 #define PACKAGE "$PACKAGE"
2360 cat >>confdefs.h <<_ACEOF
2361 #define VERSION "$VERSION"
2364 # Some tools Automake needs.
2366 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2369 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2372 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2375 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2378 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2380 # We need awk for the "check" target. The system "awk" is bad on
2382 # Always define AMTAR for backward compatibility.
2384 AMTAR=${AMTAR-"${am_missing_run}tar"}
2386 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2393 ac_cpp='$CPP $CPPFLAGS'
2394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2397 if test -n "$ac_tool_prefix"; then
2398 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2399 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2401 $as_echo_n "checking for $ac_word... " >&6; }
2402 if test "${ac_cv_prog_CC+set}" = set; then :
2403 $as_echo_n "(cached) " >&6
2405 if test -n "$CC"; then
2406 ac_cv_prog_CC="$CC" # Let the user override the test.
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir=.
2413 for ac_exec_ext in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 if test -n "$CC"; then
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2428 $as_echo "$CC" >&6; }
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2431 $as_echo "no" >&6; }
2436 if test -z "$ac_cv_prog_CC"; then
2438 # Extract the first word of "gcc", so it can be a program name with args.
2439 set dummy gcc; ac_word=$2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2443 $as_echo_n "(cached) " >&6
2445 if test -n "$ac_ct_CC"; then
2446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455 ac_cv_prog_ac_ct_CC="gcc"
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2466 if test -n "$ac_ct_CC"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2468 $as_echo "$ac_ct_CC" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2474 if test "x$ac_ct_CC" = x; then
2477 case $cross_compiling:$ac_tool_warned in
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2481 ac_tool_warned=yes ;;
2489 if test -z "$CC"; then
2490 if test -n "$ac_tool_prefix"; then
2491 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2492 set dummy ${ac_tool_prefix}cc; ac_word=$2
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494 $as_echo_n "checking for $ac_word... " >&6; }
2495 if test "${ac_cv_prog_CC+set}" = set; then :
2496 $as_echo_n "(cached) " >&6
2498 if test -n "$CC"; then
2499 ac_cv_prog_CC="$CC" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2508 ac_cv_prog_CC="${ac_tool_prefix}cc"
2509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 if test -n "$CC"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2521 $as_echo "$CC" >&6; }
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2524 $as_echo "no" >&6; }
2530 if test -z "$CC"; then
2531 # Extract the first word of "cc", so it can be a program name with args.
2532 set dummy cc; ac_word=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if test "${ac_cv_prog_CC+set}" = set; then :
2536 $as_echo_n "(cached) " >&6
2538 if test -n "$CC"; then
2539 ac_cv_prog_CC="$CC" # Let the user override the test.
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2550 ac_prog_rejected=yes
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 if test $ac_prog_rejected = yes; then
2562 # We found a bogon in the path, so make sure we never use it.
2563 set dummy $ac_cv_prog_CC
2565 if test $# != 0; then
2566 # We chose a different compiler from the bogus one.
2567 # However, it has the same basename, so the bogon will be chosen
2568 # first if we set CC to just the basename; use the full file name.
2570 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2576 if test -n "$CC"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2578 $as_echo "$CC" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 $as_echo "no" >&6; }
2586 if test -z "$CC"; then
2587 if test -n "$ac_tool_prefix"; then
2588 for ac_prog in cl.exe
2590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if test "${ac_cv_prog_CC+set}" = set; then :
2595 $as_echo_n "(cached) " >&6
2597 if test -n "$CC"; then
2598 ac_cv_prog_CC="$CC" # Let the user override the test.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 if test -n "$CC"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2620 $as_echo "$CC" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2627 test -n "$CC" && break
2630 if test -z "$CC"; then
2632 for ac_prog in cl.exe
2634 # Extract the first word of "$ac_prog", so it can be a program name with args.
2635 set dummy $ac_prog; ac_word=$2
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2637 $as_echo_n "checking for $ac_word... " >&6; }
2638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2639 $as_echo_n "(cached) " >&6
2641 if test -n "$ac_ct_CC"; then
2642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir=.
2649 for ac_exec_ext in '' $ac_executable_extensions; do
2650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2651 ac_cv_prog_ac_ct_CC="$ac_prog"
2652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2662 if test -n "$ac_ct_CC"; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2664 $as_echo "$ac_ct_CC" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2667 $as_echo "no" >&6; }
2671 test -n "$ac_ct_CC" && break
2674 if test "x$ac_ct_CC" = x; then
2677 case $cross_compiling:$ac_tool_warned in
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2681 ac_tool_warned=yes ;;
2690 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2692 as_fn_error "no acceptable C compiler found in \$PATH
2693 See \`config.log' for more details." "$LINENO" 5; }
2695 # Provide some information about the compiler.
2696 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2699 for ac_option in --version -v -V -qversion; do
2700 { { ac_try="$ac_compiler $ac_option >&5"
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2709 if test -s conftest.err; then
2711 ... rest of stderr output deleted ...
2712 10q' conftest.err >conftest.er1
2713 cat conftest.er1 >&5
2714 rm -f conftest.er1 conftest.err
2716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2717 test $ac_status = 0; }
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2726 FILE *f = fopen ("conftest.out", "w");
2727 return ferror (f) || fclose (f) != 0;
2733 ac_clean_files_save=$ac_clean_files
2734 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2735 # Try to create an executable without -o first, disregard a.out.
2736 # It will help us diagnose broken compilers, and finding out an intuition
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2739 $as_echo_n "checking for C compiler default output file name... " >&6; }
2740 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2742 # The possible output files:
2743 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2746 for ac_file in $ac_files
2749 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2750 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2755 if { { ac_try="$ac_link_default"
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2761 $as_echo "$ac_try_echo"; } >&5
2762 (eval "$ac_link_default") 2>&5
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; }; then :
2766 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2767 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2768 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2769 # so that the user can short-circuit this test for compilers unknown to
2771 for ac_file in $ac_files ''
2773 test -f "$ac_file" || continue
2775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2778 # We found the default executable, but exeext='' is most
2782 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2784 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2786 # We set ac_cv_exeext here because the later test for it is not
2787 # safe: cross compilers may not add the suffix if given an `-o'
2788 # argument, so we may need to know it at that point already.
2789 # Even if this section looks crufty: it has the advantage of
2796 test "$ac_cv_exeext" = no && ac_cv_exeext=
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2802 $as_echo "$ac_file" >&6; }
2803 if test -z "$ac_file"; then :
2804 $as_echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2809 { as_fn_set_status 77
2810 as_fn_error "C compiler cannot create executables
2811 See \`config.log' for more details." "$LINENO" 5; }; }
2813 ac_exeext=$ac_cv_exeext
2815 # Check that the compiler produces executables we can run. If not, either
2816 # the compiler is broken, or we cross compile.
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2818 $as_echo_n "checking whether the C compiler works... " >&6; }
2819 # If not cross compiling, check that we can run a simple program.
2820 if test "$cross_compiling" != yes; then
2821 if { ac_try='./$ac_file'
2822 { { case "(($ac_try" in
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2827 $as_echo "$ac_try_echo"; } >&5
2828 (eval "$ac_try") 2>&5
2830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2831 test $ac_status = 0; }; }; then
2834 if test "$cross_compiling" = maybe; then
2837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2839 as_fn_error "cannot run C compiled programs.
2840 If you meant to cross compile, use \`--host'.
2841 See \`config.log' for more details." "$LINENO" 5; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2846 $as_echo "yes" >&6; }
2848 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2849 ac_clean_files=$ac_clean_files_save
2850 # Check that the compiler produces executables we can run. If not, either
2851 # the compiler is broken, or we cross compile.
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2853 $as_echo_n "checking whether we are cross compiling... " >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2855 $as_echo "$cross_compiling" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2858 $as_echo_n "checking for suffix of executables... " >&6; }
2859 if { { ac_try="$ac_link"
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865 $as_echo "$ac_try_echo"; } >&5
2866 (eval "$ac_link") 2>&5
2868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2869 test $ac_status = 0; }; then :
2870 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2871 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2872 # work properly (i.e., refer to `conftest.exe'), while it won't with
2874 for ac_file in conftest.exe conftest conftest.*; do
2875 test -f "$ac_file" || continue
2877 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2878 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2884 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2885 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2886 as_fn_error "cannot compute suffix of executables: cannot compile and link
2887 See \`config.log' for more details." "$LINENO" 5; }
2889 rm -f conftest$ac_cv_exeext
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2891 $as_echo "$ac_cv_exeext" >&6; }
2893 rm -f conftest.$ac_ext
2894 EXEEXT=$ac_cv_exeext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2897 $as_echo_n "checking for suffix of object files... " >&6; }
2898 if test "${ac_cv_objext+set}" = set; then :
2899 $as_echo_n "(cached) " >&6
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2912 rm -f conftest.o conftest.obj
2913 if { { ac_try="$ac_compile"
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920 (eval "$ac_compile") 2>&5
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; }; then :
2924 for ac_file in conftest.o conftest.obj conftest.*; do
2925 test -f "$ac_file" || continue;
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2928 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938 as_fn_error "cannot compute suffix of object files: cannot compile
2939 See \`config.log' for more details." "$LINENO" 5; }
2941 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2944 $as_echo "$ac_cv_objext" >&6; }
2945 OBJEXT=$ac_cv_objext
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2949 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2950 $as_echo_n "(cached) " >&6
2952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2953 /* end confdefs.h. */
2966 if ac_fn_c_try_compile "$LINENO"; then :
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2976 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2977 if test $ac_compiler_gnu = yes; then
2982 ac_test_CFLAGS=${CFLAGS+set}
2983 ac_save_CFLAGS=$CFLAGS
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2985 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2986 if test "${ac_cv_prog_cc_g+set}" = set; then :
2987 $as_echo_n "(cached) " >&6
2989 ac_save_c_werror_flag=$ac_c_werror_flag
2990 ac_c_werror_flag=yes
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
3004 if ac_fn_c_try_compile "$LINENO"; then :
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 if ac_fn_c_try_compile "$LINENO"; then :
3022 ac_c_werror_flag=$ac_save_c_werror_flag
3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3025 /* end confdefs.h. */
3035 if ac_fn_c_try_compile "$LINENO"; then :
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 ac_c_werror_flag=$ac_save_c_werror_flag
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3046 $as_echo "$ac_cv_prog_cc_g" >&6; }
3047 if test "$ac_test_CFLAGS" = set; then
3048 CFLAGS=$ac_save_CFLAGS
3049 elif test $ac_cv_prog_cc_g = yes; then
3050 if test "$GCC" = yes; then
3056 if test "$GCC" = yes; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3063 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3064 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3065 $as_echo_n "(cached) " >&6
3067 ac_cv_prog_cc_c89=no
3069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070 /* end confdefs.h. */
3073 #include <sys/types.h>
3074 #include <sys/stat.h>
3075 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3076 struct buf { int x; };
3077 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3078 static char *e (p, i)
3084 static char *f (char * (*g) (char **, int), char **p, ...)
3089 s = g (p, va_arg (v,int));
3094 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3095 function prototypes and stuff, but not '\xHH' hex character constants.
3096 These don't provoke an error unfortunately, instead are silently treated
3097 as 'x'. The following induces an error, until -std is added to get
3098 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3099 array size at least. It's necessary to write '\x00'==0 to get something
3100 that's true only with -std. */
3101 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3103 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3104 inside strings and character constants. */
3106 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3108 int test (int i, double x);
3109 struct s1 {int (*f) (int a);};
3110 struct s2 {int (*f) (double a);};
3111 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3117 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3122 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3123 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3125 CC="$ac_save_CC $ac_arg"
3126 if ac_fn_c_try_compile "$LINENO"; then :
3127 ac_cv_prog_cc_c89=$ac_arg
3129 rm -f core conftest.err conftest.$ac_objext
3130 test "x$ac_cv_prog_cc_c89" != "xno" && break
3132 rm -f conftest.$ac_ext
3137 case "x$ac_cv_prog_cc_c89" in
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3140 $as_echo "none needed" >&6; } ;;
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3143 $as_echo "unsupported" >&6; } ;;
3145 CC="$CC $ac_cv_prog_cc_c89"
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3147 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3149 if test "x$ac_cv_prog_cc_c89" != xno; then :
3154 ac_cpp='$CPP $CPPFLAGS'
3155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3158 DEPDIR="${am__leading_dot}deps"
3160 ac_config_commands="$ac_config_commands depfiles"
3163 am_make=${MAKE-make}
3164 cat > confinc << 'END'
3166 @echo this is the am__doit target
3169 # If we don't find an include directive, just comment out the code.
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3171 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3175 # First try GNU make style include.
3176 echo "include confinc" > confmf
3177 # Ignore all kinds of additional output from `make'.
3178 case `$am_make -s -f confmf 2> /dev/null` in #(
3179 *the\ am__doit\ target*)
3185 # Now try BSD make style include.
3186 if test "$am__include" = "#"; then
3187 echo '.include "confinc"' > confmf
3188 case `$am_make -s -f confmf 2> /dev/null` in #(
3189 *the\ am__doit\ target*)
3190 am__include=.include
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3199 $as_echo "$_am_result" >&6; }
3200 rm -f confinc confmf
3202 # Check whether --enable-dependency-tracking was given.
3203 if test "${enable_dependency_tracking+set}" = set; then :
3204 enableval=$enable_dependency_tracking;
3207 if test "x$enable_dependency_tracking" != xno; then
3208 am_depcomp="$ac_aux_dir/depcomp"
3211 if test "x$enable_dependency_tracking" != xno; then
3221 depcc="$CC" am_compiler_list=
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3224 $as_echo_n "checking dependency style of $depcc... " >&6; }
3225 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3229 # We make a subdir and do the tests there. Otherwise we can end up
3230 # making bogus files that we don't know about and never remove. For
3231 # instance it was reported that on HP-UX the gcc test will end up
3232 # making a dummy file named `D' -- because `-MD' means `put the output
3235 # Copy depcomp to subdir because otherwise we won't find it if we're
3236 # using a relative directory.
3237 cp "$am_depcomp" conftest.dir
3239 # We will build objects and dependencies in a subdirectory because
3240 # it helps to detect inapplicable dependency modes. For instance
3241 # both Tru64's cc and ICC support -MD to output dependencies as a
3242 # side effect of compilation, but ICC will put the dependencies in
3243 # the current directory while Tru64 will put them in the object
3247 am_cv_CC_dependencies_compiler_type=none
3248 if test "$am_compiler_list" = ""; then
3249 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3252 case " $depcc " in #(
3253 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3256 for depmode in $am_compiler_list; do
3257 # Setup a source with many dependencies, because some compilers
3258 # like to wrap large dependency lists on column 80 (with \), and
3259 # we should not choose a depcomp mode which is confused by this.
3261 # We need to recreate these files for each test, as the compiler may
3262 # overwrite some of them when testing with obscure command lines.
3263 # This happens at least with the AIX C compiler.
3265 for i in 1 2 3 4 5 6; do
3266 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3267 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3268 # Solaris 8's {/usr,}/bin/sh.
3269 touch sub/conftst$i.h
3271 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3273 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3274 # mode. It turns out that the SunPro C++ compiler does not properly
3275 # handle `-M -o', and we need to detect this. Also, some Intel
3276 # versions had trouble with output in subdirs
3277 am__obj=sub/conftest.${OBJEXT-o}
3278 am__minus_obj="-o $am__obj"
3281 # This depmode causes a compiler race in universal mode.
3282 test "$am__universal" = false || continue
3285 # after this tag, mechanisms are not by side-effect, so they'll
3286 # only be used when explicitly requested
3287 if test "x$enable_dependency_tracking" = xyes; then
3293 msvisualcpp | msvcmsys)
3294 # This compiler won't grok `-c -o', but also, the minuso test has
3295 # not run yet. These depmodes are late enough in the game, and
3296 # so weak that their functioning should not be impacted.
3297 am__obj=conftest.${OBJEXT-o}
3302 if depmode=$depmode \
3303 source=sub/conftest.c object=$am__obj \
3304 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3305 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3306 >/dev/null 2>conftest.err &&
3307 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3308 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3309 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3310 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3311 # icc doesn't choke on unknown options, it will just issue warnings
3312 # or remarks (even with -Werror). So we grep stderr for any message
3313 # that says an option was ignored or not supported.
3314 # When given -MP, icc 7.0 and 7.1 complain thusly:
3315 # icc: Command line warning: ignoring option '-M'; no argument required
3316 # The diagnosis changed in icc 8.0:
3317 # icc: Command line remark: option '-MP' not supported
3318 if (grep 'ignoring option' conftest.err ||
3319 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3320 am_cv_CC_dependencies_compiler_type=$depmode
3329 am_cv_CC_dependencies_compiler_type=none
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3334 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3335 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3338 test "x$enable_dependency_tracking" != xno \
3339 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3341 am__fastdepCC_FALSE='#'
3343 am__fastdepCC_TRUE='#'
3344 am__fastdepCC_FALSE=
3348 if test "x$CC" != xcc; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3350 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3353 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3355 set dummy $CC; ac_cc=`$as_echo "$2" |
3356 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3357 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3358 $as_echo_n "(cached) " >&6
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 # Make sure it works both with $CC and with simple cc.
3372 # We do the test twice because some compilers refuse to overwrite an
3373 # existing .o file with -o, though they will create one.
3374 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3376 if { { case "(($ac_try" in
3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_try") 2>&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; } &&
3386 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_try") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; };
3397 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3398 if test "x$CC" != xcc; then
3399 # Test first that cc exists at all.
3400 if { ac_try='cc -c conftest.$ac_ext >&5'
3401 { { case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3406 $as_echo "$ac_try_echo"; } >&5
3407 (eval "$ac_try") 2>&5
3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410 test $ac_status = 0; }; }; then
3411 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3413 if { { case "(($ac_try" in
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_try") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; } &&
3423 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428 $as_echo "$ac_try_echo"; } >&5
3429 (eval "$ac_try") 2>&5
3431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3432 test $ac_status = 0; };
3437 # cc exists but doesn't like -o.
3438 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3443 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3445 rm -f core conftest*
3448 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3450 $as_echo "yes" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3455 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3459 # FIXME: we rely on the cache variable name because
3460 # there is no other way.
3462 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3463 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3464 if test "$am_t" != yes; then
3465 # Losing compiler, so override with the script.
3466 # FIXME: It is wrong to rewrite CC.
3467 # But if we don't then we get into trouble of one sort or another.
3468 # A longer-term fix would be to have automake use am__CC in this case,
3469 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3470 CC="$am_aux_dir/compile $CC"
3475 # Check whether --enable-udp was given.
3476 if test "${enable_udp+set}" = set; then :
3477 enableval=$enable_udp; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3480 echo "--enable-udp argument must be yes or no"
3488 # Check whether --enable-tcp was given.
3489 if test "${enable_tcp+set}" = set; then :
3490 enableval=$enable_tcp; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3493 echo "--enable-tcp argument must be yes or no"
3501 # Check whether --enable-tls was given.
3502 if test "${enable_tls+set}" = set; then :
3503 enableval=$enable_tls; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3506 echo "--enable-tls argument must be yes or no"
3514 # Check whether --enable-dtls was given.
3515 if test "${enable_dtls+set}" = set; then :
3516 enableval=$enable_dtls; if test "x$enableval" = "xyes" -o "x$enableval" = "xno" ; then
3519 echo "--enable-dtls argument must be yes or no"
3527 case "${target_os}" in
3529 TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
3530 if test "$GCC" != yes ; then
3531 TARGET_CFLAGS="$TARGET_CFLAGS -mt"
3533 TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
3536 TARGET_CFLAGS="-Wall -pedantic -pthread"
3539 if test "x$udp" = "xyes" ; then
3540 echo "UDP transport enabled"
3541 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_UDP"
3543 if test "x$tcp" = "xyes" ; then
3544 echo "TCP transport enabled"
3545 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TCP"
3547 if test "x$tls" = "xyes" ; then
3548 echo "TLS (RadSec) transport enabled"
3549 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_TLS"
3551 if test "x$dtls" = "xyes" ; then
3552 echo "DTLS transport enabled"
3553 TARGET_CFLAGS="$TARGET_CFLAGS -DRADPROT_DTLS"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
3559 $as_echo_n "checking for OpenSSL... " >&6; }
3563 # Check whether --with-ssl was given.
3564 if test "${with_ssl+set}" = set; then :
3565 withval=$with_ssl; check_ssl_dir="$withval"
3570 for dir in $check_ssl_dir /usr /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local ; do
3572 if test -f "$dir/include/openssl/ssl.h"; then
3575 SSL_CFLAGS="-I$ssldir/include -I$ssldir/include/openssl";
3578 if test -f "$dir/include/ssl.h"; then
3581 SSL_CFLAGS="-I$ssldir/include/";
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_ssl" >&5
3586 $as_echo "$found_ssl" >&6; }
3587 if test x_$found_ssl != x_yes; then
3589 ----------------------------------------------------------------------
3590 Cannot find SSL libraries.
3592 Please install OpenSSL or specify installation directory with
3594 ----------------------------------------------------------------------
3597 printf "OpenSSL found in $ssldir\n";
3598 SSL_LIBS="-lssl -lcrypto";
3599 SSL_LDFLAGS="-L$ssldir/lib";
3601 cat >>confdefs.h <<_ACEOF
3602 #define USE_OPENSSL 1
3610 ac_config_files="$ac_config_files Makefile"
3612 cat >confcache <<\_ACEOF
3613 # This file is a shell script that caches the results of configure
3614 # tests run on this system so they can be shared between configure
3615 # scripts and configure runs, see configure's option --config-cache.
3616 # It is not useful on other systems. If it contains results you don't
3617 # want to keep, you may remove or edit it.
3619 # config.status only pays attention to the cache file if you give it
3620 # the --recheck option to rerun configure.
3622 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3623 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3628 # The following way of writing the cache mishandles newlines in values,
3629 # but we know of no workaround that is simple, portable, and efficient.
3630 # So, we kill variables containing newlines.
3631 # Ultrix sh set writes to stderr and can't be redirected directly,
3632 # and sets the high bit in the cache file unless we assign to the vars.
3634 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3635 eval ac_val=\$$ac_var
3639 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3640 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3643 _ | IFS | as_nl) ;; #(
3644 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3645 *) { eval $ac_var=; unset $ac_var;} ;;
3651 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3652 *${as_nl}ac_space=\ *)
3653 # `set' does not quote correctly, so add quotes: double-quote
3654 # substitution turns \\\\ into \\, and sed turns \\ into \.
3657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3660 # `set' quotes correctly as required by POSIX, so do not add quotes.
3661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3670 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3672 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3674 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3675 if test -w "$cache_file"; then
3676 test "x$cache_file" != "x/dev/null" &&
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3678 $as_echo "$as_me: updating cache $cache_file" >&6;}
3679 cat confcache >$cache_file
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3682 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3687 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3688 # Let make expand exec_prefix.
3689 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3691 # Transform confdefs.h into DEFS.
3692 # Protect against shell expansion while executing Makefile rules.
3693 # Protect against Makefile macro expansion.
3695 # If the first sed substitution is executed (which looks for macros that
3696 # take arguments), then branch to the quote section. Otherwise,
3697 # look for a macro that doesn't take arguments.
3707 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3709 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3713 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3726 DEFS=`sed -n "$ac_script" confdefs.h`
3731 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3732 # 1. Remove the extension, and $U if already installed.
3733 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3734 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3735 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3736 # will be set to the directory where LIBOBJS objects are built.
3737 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3738 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3742 LTLIBOBJS=$ac_ltlibobjs
3745 if test -n "$EXEEXT"; then
3747 am__EXEEXT_FALSE='#'
3753 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3754 as_fn_error "conditional \"AMDEP\" was never defined.
3755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3757 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3758 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3762 : ${CONFIG_STATUS=./config.status}
3764 ac_clean_files_save=$ac_clean_files
3765 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3767 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3769 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3771 # Generated by $as_me.
3772 # Run this file to recreate the current configuration.
3773 # Compiler output produced by configure, useful for debugging
3774 # configure, is in config.log if it exists.
3780 SHELL=\${CONFIG_SHELL-$SHELL}
3783 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3784 ## -------------------- ##
3785 ## M4sh Initialization. ##
3786 ## -------------------- ##
3788 # Be more Bourne compatible
3789 DUALCASE=1; export DUALCASE # for MKS sh
3790 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3793 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3794 # is contrary to our usage. Disable this feature.
3795 alias -g '${1+"$@"}'='"$@"'
3796 setopt NO_GLOB_SUBST
3798 case `(set -o) 2>/dev/null` in #(
3810 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3811 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3813 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3814 # Prefer a ksh shell builtin over an external printf program on Solaris,
3815 # but without wasting forks for bash or zsh.
3816 if test -z "$BASH_VERSION$ZSH_VERSION" \
3817 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3818 as_echo='print -r --'
3819 as_echo_n='print -rn --'
3820 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3821 as_echo='printf %s\n'
3822 as_echo_n='printf %s'
3824 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3825 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3826 as_echo_n='/usr/ucb/echo -n'
3828 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3829 as_echo_n_body='eval
3833 expr "X$arg" : "X\\(.*\\)$as_nl";
3834 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3836 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3838 export as_echo_n_body
3839 as_echo_n='sh -c $as_echo_n_body as_echo'
3842 as_echo='sh -c $as_echo_body as_echo'
3845 # The user is always right.
3846 if test "${PATH_SEPARATOR+set}" != set; then
3848 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3849 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3856 # We need space, tab and new line, in precisely that order. Quoting is
3857 # there to prevent editors from complaining about space-tab.
3858 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3859 # splitting by setting IFS to empty value.)
3862 # Find who we are. Look in the path if we contain no directory separator.
3864 *[\\/]* ) as_myself=$0 ;;
3865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir=.
3870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3876 # We did not find ourselves, most probably we were run as `sh COMMAND'
3877 # in which case we are not to be found in the path.
3878 if test "x$as_myself" = x; then
3881 if test ! -f "$as_myself"; then
3882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3886 # Unset variables that we do not need and which cause bugs (e.g. in
3887 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3888 # suppresses any "Segmentation fault" message there. '((' could
3889 # trigger a bug in pdksh 5.2.14.
3890 for as_var in BASH_ENV ENV MAIL MAILPATH
3891 do eval test x\${$as_var+set} = xset \
3892 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3905 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3908 # as_fn_error ERROR [LINENO LOG_FD]
3909 # ---------------------------------
3910 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3911 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3912 # script with status $?, using 1 if that was 0.
3915 as_status=$?; test $as_status -eq 0 && as_status=1
3917 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3920 $as_echo "$as_me: error: $1" >&2
3921 as_fn_exit $as_status
3925 # as_fn_set_status STATUS
3926 # -----------------------
3927 # Set $? to STATUS, without forking.
3931 } # as_fn_set_status
3935 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3945 # Portably unset VAR.
3948 { eval $1=; unset $1;}
3950 as_unset=as_fn_unset
3951 # as_fn_append VAR VALUE
3952 # ----------------------
3953 # Append the text in VALUE to the end of the definition contained in VAR. Take
3954 # advantage of any shell optimizations that allow amortized linear growth over
3955 # repeated appends, instead of the typical quadratic growth present in naive
3957 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3958 eval 'as_fn_append ()
3969 # as_fn_arith ARG...
3970 # ------------------
3971 # Perform arithmetic evaluation on the ARGs, and store the result in the
3972 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3973 # must be portable across $(()) and expr.
3974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3975 eval 'as_fn_arith ()
3982 as_val=`expr "$@" || test $? -eq 1`
3987 if expr a : '\(a\)' >/dev/null 2>&1 &&
3988 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3994 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3995 as_basename=basename
4000 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4006 as_me=`$as_basename -- "$0" ||
4007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4008 X"$0" : 'X\(//\)$' \| \
4009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4011 sed '/^.*\/\([^/][^/]*\)\/*$/{
4025 # Avoid depending upon Character Ranges.
4026 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4027 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4028 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4029 as_cr_digits='0123456789'
4030 as_cr_alnum=$as_cr_Letters$as_cr_digits
4032 ECHO_C= ECHO_N= ECHO_T=
4033 case `echo -n x` in #(((((
4035 case `echo 'xy\c'` in
4036 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4038 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4045 rm -f conf$$ conf$$.exe conf$$.file
4046 if test -d conf$$.dir; then
4047 rm -f conf$$.dir/conf$$.file
4050 mkdir conf$$.dir 2>/dev/null
4052 if (echo >conf$$.file) 2>/dev/null; then
4053 if ln -s conf$$.file conf$$ 2>/dev/null; then
4055 # ... but there are two gotchas:
4056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4058 # In both cases, we have to default to `cp -p'.
4059 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4061 elif ln conf$$.file conf$$ 2>/dev/null; then
4069 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4070 rmdir conf$$.dir 2>/dev/null
4075 # Create "$as_dir" as a directory, including parents if necessary.
4080 -*) as_dir=./$as_dir;;
4082 test -d "$as_dir" || eval $as_mkdir_p || {
4086 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4087 *) as_qdir=$as_dir;;
4089 as_dirs="'$as_qdir' $as_dirs"
4090 as_dir=`$as_dirname -- "$as_dir" ||
4091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4092 X"$as_dir" : 'X\(//\)[^/]' \| \
4093 X"$as_dir" : 'X\(//\)$' \| \
4094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4095 $as_echo X"$as_dir" |
4096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4113 test -d "$as_dir" && break
4115 test -z "$as_dirs" || eval "mkdir $as_dirs"
4116 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4120 if mkdir -p . 2>/dev/null; then
4121 as_mkdir_p='mkdir -p "$as_dir"'
4123 test -d ./-p && rmdir ./-p
4127 if test -x / >/dev/null 2>&1; then
4130 if ls -dL / >/dev/null 2>&1; then
4137 if test -d "$1"; then
4143 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4144 ???[sx]*):;;*)false;;esac;fi
4148 as_executable_p=$as_test_x
4150 # Sed expression to map a string onto a valid CPP name.
4151 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4153 # Sed expression to map a string onto a valid variable name.
4154 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4158 ## ----------------------------------- ##
4159 ## Main body of $CONFIG_STATUS script. ##
4160 ## ----------------------------------- ##
4162 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4165 # Save the log message, to keep $0 and so on meaningful, and to
4166 # report actual input values of CONFIG_FILES etc. instead of their
4167 # values after options handling.
4169 This file was extended by radsecproxy $as_me 1.4-devel, which was
4170 generated by GNU Autoconf 2.64. Invocation command line was
4172 CONFIG_FILES = $CONFIG_FILES
4173 CONFIG_HEADERS = $CONFIG_HEADERS
4174 CONFIG_LINKS = $CONFIG_LINKS
4175 CONFIG_COMMANDS = $CONFIG_COMMANDS
4178 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4183 case $ac_config_files in *"
4184 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4190 # Files that config.status was made for.
4191 config_files="$ac_config_files"
4192 config_commands="$ac_config_commands"
4196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4198 \`$as_me' instantiates files and other configuration actions
4199 from templates according to the current configuration. Unless the files
4200 and actions are specified as TAGs, all are instantiated by default.
4202 Usage: $0 [OPTION]... [TAG]...
4204 -h, --help print this help, then exit
4205 -V, --version print version number and configuration settings, then exit
4206 -q, --quiet, --silent
4207 do not print progress messages
4208 -d, --debug don't remove temporary files
4209 --recheck update $as_me by reconfiguring in the same conditions
4210 --file=FILE[:TEMPLATE]
4211 instantiate the configuration file FILE
4213 Configuration files:
4216 Configuration commands:
4219 Report bugs to <radsecproxy@uninett.no>."
4222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4224 radsecproxy config.status 1.4-devel
4225 configured by $0, generated by GNU Autoconf 2.64,
4226 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4228 Copyright (C) 2009 Free Software Foundation, Inc.
4229 This config.status script is free software; the Free Software Foundation
4230 gives unlimited permission to copy, distribute and modify it."
4237 test -n "\$AWK" || AWK=awk
4240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4241 # The default lists apply if the user does not specify any file.
4247 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4248 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4259 # Handling of the options.
4260 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4262 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4263 $as_echo "$ac_cs_version"; exit ;;
4264 --debug | --debu | --deb | --de | --d | -d )
4266 --file | --fil | --fi | --f )
4269 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4271 as_fn_append CONFIG_FILES " '$ac_optarg'"
4272 ac_need_defaults=false;;
4273 --he | --h | --help | --hel | -h )
4274 $as_echo "$ac_cs_usage"; exit ;;
4275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4276 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4280 -*) as_fn_error "unrecognized option: \`$1'
4281 Try \`$0 --help' for more information." ;;
4283 *) as_fn_append ac_config_targets " $1"
4284 ac_need_defaults=false ;;
4290 ac_configure_extra_args=
4292 if $ac_cs_silent; then
4294 ac_configure_extra_args="$ac_configure_extra_args --silent"
4298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4299 if \$ac_cs_recheck; then
4300 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4302 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4303 CONFIG_SHELL='$SHELL'
4309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4313 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4314 ## Running $as_me. ##
4320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4324 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4330 # Handling of arguments.
4331 for ac_config_target in $ac_config_targets
4333 case $ac_config_target in
4334 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4337 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4342 # If the user did not use the arguments to specify the items to instantiate,
4343 # then the envvar interface is used. Set only those that are not.
4344 # We use the long form for the default assignment because of an extremely
4345 # bizarre bug on SunOS 4.1.3.
4346 if $ac_need_defaults; then
4347 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4348 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4351 # Have a temporary directory for convenience. Make it in the build tree
4352 # simply because there is no reason against having it here, and in addition,
4353 # creating and moving files from /tmp can sometimes cause problems.
4354 # Hook for its removal unless debugging.
4355 # Note that there is a small window in which the directory will not be cleaned:
4356 # after its creation but before its name has been assigned to `$tmp'.
4360 trap 'exit_status=$?
4361 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4363 trap 'as_fn_exit 1' 1 2 13 15
4365 # Create a (secure) tmp directory for tmp files.
4368 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4369 test -n "$tmp" && test -d "$tmp"
4372 tmp=./conf$$-$RANDOM
4373 (umask 077 && mkdir "$tmp")
4374 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4376 # Set up the scripts for CONFIG_FILES section.
4377 # No need to generate them if there are no CONFIG_FILES.
4378 # This happens for instance with `./config.status config.h'.
4379 if test -n "$CONFIG_FILES"; then
4382 ac_cr=`echo X | tr X '\015'`
4383 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4384 # But we know of no other shell where ac_cr would be empty at this
4385 # point, so we can use a bashism as a fallback.
4386 if test "x$ac_cr" = x; then
4387 eval ac_cr=\$\'\\r\'
4389 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4390 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4396 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4401 echo "cat >conf$$subs.awk <<_ACEOF" &&
4402 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4405 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4406 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4408 for ac_last_try in false false false false false :; do
4409 . ./conf$$subs.sh ||
4410 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4412 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4413 if test $ac_delim_n = $ac_delim_num; then
4415 elif $ac_last_try; then
4416 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4424 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4428 s/^/S["/; s/!.*/"]=/
4438 s/\(.\{148\}\).*/\1/
4440 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4445 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4452 s/\(.\{148\}\).*/\1/
4454 s/["\\]/\\&/g; s/^/"/; s/$/"/
4458 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4463 ' <conf$$subs.awk | sed '
4468 ' >>$CONFIG_STATUS || ac_write_fail=1
4469 rm -f conf$$subs.awk
4470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4472 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4473 for (key in S) S_is_set[key] = 1
4479 nfields = split(line, field, "@")
4481 len = length(field[1])
4482 for (i = 2; i < nfields; i++) {
4484 keylen = length(key)
4485 if (S_is_set[key]) {
4487 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4488 len += length(value) + length(field[++i])
4499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4500 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4501 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4504 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4505 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4508 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4509 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4510 # trailing colons and then remove the whole line if VPATH becomes empty
4511 # (actually we leave an empty line to preserve line numbers).
4512 if test "x$srcdir" = x.; then
4513 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4517 s/^\([^=]*=[ ]*\):*/\1/
4523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4524 fi # test -n "$CONFIG_FILES"
4527 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4532 :[FHLC]) ac_mode=$ac_tag; continue;;
4534 case $ac_mode$ac_tag in
4536 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4537 :[FH]-) ac_tag=-:-;;
4538 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4555 -) ac_f="$tmp/stdin";;
4556 *) # Look for the file first in the build tree, then in the source tree
4557 # (if the path is not absolute). The absolute path cannot be DOS-style,
4558 # because $ac_f cannot contain `:'.
4562 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4564 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4566 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4567 as_fn_append ac_file_inputs " '$ac_f'"
4570 # Let's still pretend it is `configure' which instantiates (i.e., don't
4571 # use $as_me), people would be surprised to read:
4572 # /* config.h. Generated by config.status. */
4573 configure_input='Generated from '`
4574 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4576 if test x"$ac_file" != x-; then
4577 configure_input="$ac_file. $configure_input"
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4579 $as_echo "$as_me: creating $ac_file" >&6;}
4581 # Neutralize special characters interpreted by sed in replacement strings.
4582 case $configure_input in #(
4583 *\&* | *\|* | *\\* )
4584 ac_sed_conf_input=`$as_echo "$configure_input" |
4585 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4586 *) ac_sed_conf_input=$configure_input;;
4590 *:-:* | *:-) cat >"$tmp/stdin" \
4591 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4596 ac_dir=`$as_dirname -- "$ac_file" ||
4597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4598 X"$ac_file" : 'X\(//\)[^/]' \| \
4599 X"$ac_file" : 'X\(//\)$' \| \
4600 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4601 $as_echo X"$ac_file" |
4602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4619 as_dir="$ac_dir"; as_fn_mkdir_p
4623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4626 # A ".." for each directory in $ac_dir_suffix.
4627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4628 case $ac_top_builddir_sub in
4629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4633 ac_abs_top_builddir=$ac_pwd
4634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4635 # for backward compatibility:
4636 ac_top_builddir=$ac_top_build_prefix
4639 .) # We are building in place.
4641 ac_top_srcdir=$ac_top_builddir_sub
4642 ac_abs_top_srcdir=$ac_pwd ;;
4643 [\\/]* | ?:[\\/]* ) # Absolute name.
4644 ac_srcdir=$srcdir$ac_dir_suffix;
4645 ac_top_srcdir=$srcdir
4646 ac_abs_top_srcdir=$srcdir ;;
4648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4649 ac_top_srcdir=$ac_top_build_prefix$srcdir
4650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4662 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4663 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4667 [\\/$]* | ?:[\\/]* ) ;;
4668 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4673 # If the template does not know about datarootdir, expand it.
4674 # FIXME: This hack should be removed a few years after 2.60.
4675 ac_datarootdir_hack=; ac_datarootdir_seen=
4686 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4687 *datarootdir*) ac_datarootdir_seen=yes;;
4688 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4690 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4693 ac_datarootdir_hack='
4694 s&@datadir@&$datadir&g
4695 s&@docdir@&$docdir&g
4696 s&@infodir@&$infodir&g
4697 s&@localedir@&$localedir&g
4698 s&@mandir@&$mandir&g
4699 s&\\\${datarootdir}&$datarootdir&g' ;;
4703 # Neutralize VPATH when `$srcdir' = `.'.
4704 # Shell code in configure.ac might set extrasub.
4705 # FIXME: do we really want to maintain this feature?
4706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4707 ac_sed_extra="$ac_vpsub
4710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4712 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4713 s|@configure_input@|$ac_sed_conf_input|;t t
4714 s&@top_builddir@&$ac_top_builddir_sub&;t t
4715 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4716 s&@srcdir@&$ac_srcdir&;t t
4717 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4718 s&@top_srcdir@&$ac_top_srcdir&;t t
4719 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4720 s&@builddir@&$ac_builddir&;t t
4721 s&@abs_builddir@&$ac_abs_builddir&;t t
4722 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4723 s&@INSTALL@&$ac_INSTALL&;t t
4724 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4725 $ac_datarootdir_hack
4727 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4728 || as_fn_error "could not create $ac_file" "$LINENO" 5
4730 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4731 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4732 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4734 which seems to be undefined. Please make sure it is defined." >&5
4735 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4736 which seems to be undefined. Please make sure it is defined." >&2;}
4740 -) cat "$tmp/out" && rm -f "$tmp/out";;
4741 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4743 || as_fn_error "could not create $ac_file" "$LINENO" 5
4747 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4748 $as_echo "$as_me: executing $ac_file commands" >&6;}
4753 case $ac_file$ac_mode in
4754 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4755 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4756 # are listed without --file. Let's play safe and only enable the eval
4757 # if we detect the quoting.
4758 case $CONFIG_FILES in
4759 *\'*) eval set x "$CONFIG_FILES" ;;
4760 *) set x $CONFIG_FILES ;;
4765 # Strip MF so we end up with the name of the file.
4766 mf=`echo "$mf" | sed -e 's/:.*$//'`
4767 # Check whether this is an Automake generated Makefile or not.
4768 # We used to match only the files named `Makefile.in', but
4769 # some people rename them; so instead we look at the file content.
4770 # Grep'ing the first line is not enough: some people post-process
4771 # each Makefile.in and add a new line on top of each file to say so.
4772 # Grep'ing the whole file is not good either: AIX grep has a line
4773 # limit of 2048, but all sed's we know have understand at least 4000.
4774 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4775 dirpart=`$as_dirname -- "$mf" ||
4776 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777 X"$mf" : 'X\(//\)[^/]' \| \
4778 X"$mf" : 'X\(//\)$' \| \
4779 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4801 # Extract the definition of DEPDIR, am__include, and am__quote
4802 # from the Makefile without running `make'.
4803 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4804 test -z "$DEPDIR" && continue
4805 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4806 test -z "am__include" && continue
4807 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4808 # When using ansi2knr, U may be empty or an underscore; expand it
4809 U=`sed -n 's/^U = //p' < "$mf"`
4810 # Find all dependency output files, they are included files with
4811 # $(DEPDIR) in their names. We invoke sed twice because it is the
4812 # simplest approach to changing $(DEPDIR) to its actual value in the
4814 for file in `sed -n "
4815 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4816 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4817 # Make sure the directory exists.
4818 test -f "$dirpart/$file" && continue
4819 fdir=`$as_dirname -- "$file" ||
4820 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4821 X"$file" : 'X\(//\)[^/]' \| \
4822 X"$file" : 'X\(//\)$' \| \
4823 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4842 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4843 # echo "creating $dirpart/$file"
4844 echo '# dummy' > "$dirpart/$file"
4856 ac_clean_files=$ac_clean_files_save
4858 test $ac_write_fail = 0 ||
4859 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4862 # configure is writing to config.log, and then calls config.status.
4863 # config.status does its own redirection, appending to config.log.
4864 # Unfortunately, on DOS this fails, as config.log is still kept open
4865 # by configure, so config.status won't be able to write to it; its
4866 # output is simply discarded. So we exec the FD to /dev/null,
4867 # effectively closing config.log, so it can be properly (re)opened and
4868 # appended to by config.status. When coming back to configure, we
4869 # need to make the FD available again.
4870 if test "$no_create" != yes; then
4872 ac_config_status_args=
4873 test "$silent" = yes &&
4874 ac_config_status_args="$ac_config_status_args --quiet"
4876 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4878 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4879 # would make configure fail if this is the last instruction.
4880 $ac_cs_success || as_fn_exit $?
4882 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4884 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}