2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in #(
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 as_echo_n='sh -c $as_echo_n_body as_echo'
70 as_echo='sh -c $as_echo_body as_echo'
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
90 # 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 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 *v*x* | *x*v* ) as_opts=-vx ;;
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 case \`(set -o) 2>/dev/null\` in #(
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 exitcode=1; echo positional parameters were not saved.
194 test x\$exitcode = x0 || exit 1
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
585 ac_unique_file="rlm_yubikey.c"
586 ac_subst_vars='LTLIBOBJS
625 program_transform_name
638 enable_option_checking
639 with_yubikey_include_dir
642 with_ykclient_include_dir
643 with_ykclient_lib_dir
646 ac_precious_vars='build_alias
656 # Initialize some variables set by options.
658 ac_init_version=false
659 ac_unrecognized_opts=
661 # The variables have the same names as the options, with
662 # dashes changed to underlines.
670 program_transform_name=s,x,x,
678 # Installation directory options.
679 # These are left unexpanded so users can "make install exec_prefix=/foo"
680 # and all the variables that are supposed to be based on exec_prefix
681 # by default will actually change.
682 # Use braces instead of parens because sh, perl, etc. also accept them.
683 # (The list follows the same order as the GNU Coding Standards.)
684 bindir='${exec_prefix}/bin'
685 sbindir='${exec_prefix}/sbin'
686 libexecdir='${exec_prefix}/libexec'
687 datarootdir='${prefix}/share'
688 datadir='${datarootdir}'
689 sysconfdir='${prefix}/etc'
690 sharedstatedir='${prefix}/com'
691 localstatedir='${prefix}/var'
692 includedir='${prefix}/include'
693 oldincludedir='/usr/include'
694 docdir='${datarootdir}/doc/${PACKAGE}'
695 infodir='${datarootdir}/info'
700 libdir='${exec_prefix}/lib'
701 localedir='${datarootdir}/locale'
702 mandir='${datarootdir}/man'
708 # If the previous option needs an argument, assign it.
709 if test -n "$ac_prev"; then
710 eval $ac_prev=\$ac_option
716 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
721 # Accept the important Cygnus configure options, so we can diagnose typos.
723 case $ac_dashdash$ac_option in
727 -bindir | --bindir | --bindi | --bind | --bin | --bi)
729 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
732 -build | --build | --buil | --bui | --bu)
733 ac_prev=build_alias ;;
734 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
735 build_alias=$ac_optarg ;;
737 -cache-file | --cache-file | --cache-fil | --cache-fi \
738 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
739 ac_prev=cache_file ;;
740 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
741 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
742 cache_file=$ac_optarg ;;
745 cache_file=config.cache ;;
747 -datadir | --datadir | --datadi | --datad)
749 -datadir=* | --datadir=* | --datadi=* | --datad=*)
750 datadir=$ac_optarg ;;
752 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
753 | --dataroo | --dataro | --datar)
754 ac_prev=datarootdir ;;
755 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
756 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
757 datarootdir=$ac_optarg ;;
759 -disable-* | --disable-*)
760 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
761 # Reject names that are not valid shell variable names.
762 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
763 as_fn_error $? "invalid feature name: $ac_useropt"
764 ac_useropt_orig=$ac_useropt
765 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
766 case $ac_user_opts in
770 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
771 ac_unrecognized_sep=', ';;
773 eval enable_$ac_useropt=no ;;
775 -docdir | --docdir | --docdi | --doc | --do)
777 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
780 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
782 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
785 -enable-* | --enable-*)
786 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789 as_fn_error $? "invalid feature name: $ac_useropt"
790 ac_useropt_orig=$ac_useropt
791 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
797 ac_unrecognized_sep=', ';;
799 eval enable_$ac_useropt=\$ac_optarg ;;
801 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
802 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
803 | --exec | --exe | --ex)
804 ac_prev=exec_prefix ;;
805 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
806 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
807 | --exec=* | --exe=* | --ex=*)
808 exec_prefix=$ac_optarg ;;
810 -gas | --gas | --ga | --g)
811 # Obsolete; use --with-gas.
814 -help | --help | --hel | --he | -h)
816 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
817 ac_init_help=recursive ;;
818 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
819 ac_init_help=short ;;
821 -host | --host | --hos | --ho)
822 ac_prev=host_alias ;;
823 -host=* | --host=* | --hos=* | --ho=*)
824 host_alias=$ac_optarg ;;
826 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
828 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
830 htmldir=$ac_optarg ;;
832 -includedir | --includedir | --includedi | --included | --include \
833 | --includ | --inclu | --incl | --inc)
834 ac_prev=includedir ;;
835 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
836 | --includ=* | --inclu=* | --incl=* | --inc=*)
837 includedir=$ac_optarg ;;
839 -infodir | --infodir | --infodi | --infod | --info | --inf)
841 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
842 infodir=$ac_optarg ;;
844 -libdir | --libdir | --libdi | --libd)
846 -libdir=* | --libdir=* | --libdi=* | --libd=*)
849 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
850 | --libexe | --libex | --libe)
851 ac_prev=libexecdir ;;
852 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
853 | --libexe=* | --libex=* | --libe=*)
854 libexecdir=$ac_optarg ;;
856 -localedir | --localedir | --localedi | --localed | --locale)
858 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
859 localedir=$ac_optarg ;;
861 -localstatedir | --localstatedir | --localstatedi | --localstated \
862 | --localstate | --localstat | --localsta | --localst | --locals)
863 ac_prev=localstatedir ;;
864 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
865 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
866 localstatedir=$ac_optarg ;;
868 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
870 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
874 # Obsolete; use --without-fp.
877 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
878 | --no-cr | --no-c | -n)
881 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
882 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
885 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
886 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
887 | --oldin | --oldi | --old | --ol | --o)
888 ac_prev=oldincludedir ;;
889 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
890 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
891 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
892 oldincludedir=$ac_optarg ;;
894 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
896 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
899 -program-prefix | --program-prefix | --program-prefi | --program-pref \
900 | --program-pre | --program-pr | --program-p)
901 ac_prev=program_prefix ;;
902 -program-prefix=* | --program-prefix=* | --program-prefi=* \
903 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
904 program_prefix=$ac_optarg ;;
906 -program-suffix | --program-suffix | --program-suffi | --program-suff \
907 | --program-suf | --program-su | --program-s)
908 ac_prev=program_suffix ;;
909 -program-suffix=* | --program-suffix=* | --program-suffi=* \
910 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
911 program_suffix=$ac_optarg ;;
913 -program-transform-name | --program-transform-name \
914 | --program-transform-nam | --program-transform-na \
915 | --program-transform-n | --program-transform- \
916 | --program-transform | --program-transfor \
917 | --program-transfo | --program-transf \
918 | --program-trans | --program-tran \
919 | --progr-tra | --program-tr | --program-t)
920 ac_prev=program_transform_name ;;
921 -program-transform-name=* | --program-transform-name=* \
922 | --program-transform-nam=* | --program-transform-na=* \
923 | --program-transform-n=* | --program-transform-=* \
924 | --program-transform=* | --program-transfor=* \
925 | --program-transfo=* | --program-transf=* \
926 | --program-trans=* | --program-tran=* \
927 | --progr-tra=* | --program-tr=* | --program-t=*)
928 program_transform_name=$ac_optarg ;;
930 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
932 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
935 -psdir | --psdir | --psdi | --psd | --ps)
937 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
941 | -silent | --silent | --silen | --sile | --sil)
944 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
946 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
948 sbindir=$ac_optarg ;;
950 -sharedstatedir | --sharedstatedir | --sharedstatedi \
951 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
952 | --sharedst | --shareds | --shared | --share | --shar \
954 ac_prev=sharedstatedir ;;
955 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
956 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
957 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
959 sharedstatedir=$ac_optarg ;;
961 -site | --site | --sit)
963 -site=* | --site=* | --sit=*)
966 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
968 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
971 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
972 | --syscon | --sysco | --sysc | --sys | --sy)
973 ac_prev=sysconfdir ;;
974 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
975 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
976 sysconfdir=$ac_optarg ;;
978 -target | --target | --targe | --targ | --tar | --ta | --t)
979 ac_prev=target_alias ;;
980 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
981 target_alias=$ac_optarg ;;
983 -v | -verbose | --verbose | --verbos | --verbo | --verb)
986 -version | --version | --versio | --versi | --vers | -V)
990 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error $? "invalid package name: $ac_useropt"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1003 eval with_$ac_useropt=\$ac_optarg ;;
1005 -without-* | --without-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error $? "invalid package name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1019 eval with_$ac_useropt=no ;;
1022 # Obsolete; use --with-x.
1025 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1026 | --x-incl | --x-inc | --x-in | --x-i)
1027 ac_prev=x_includes ;;
1028 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1029 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1030 x_includes=$ac_optarg ;;
1032 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1033 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1034 ac_prev=x_libraries ;;
1035 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1036 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1037 x_libraries=$ac_optarg ;;
1039 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1040 Try \`$0 --help' for more information"
1044 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1045 # Reject names that are not valid shell variable names.
1046 case $ac_envvar in #(
1047 '' | [0-9]* | *[!_$as_cr_alnum]* )
1048 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1050 eval $ac_envvar=\$ac_optarg
1051 export $ac_envvar ;;
1054 # FIXME: should be removed in autoconf 3.0.
1055 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1056 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1058 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1064 if test -n "$ac_prev"; then
1065 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1066 as_fn_error $? "missing argument to $ac_option"
1069 if test -n "$ac_unrecognized_opts"; then
1070 case $enable_option_checking in
1072 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1073 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1077 # Check all directory arguments for consistency.
1078 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1079 datadir sysconfdir sharedstatedir localstatedir includedir \
1080 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1081 libdir localedir mandir
1083 eval ac_val=\$$ac_var
1084 # Remove trailing slashes.
1087 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1088 eval $ac_var=\$ac_val;;
1090 # Be sure to have absolute directory names.
1092 [\\/$]* | ?:[\\/]* ) continue;;
1093 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1095 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1098 # There might be people who depend on the old broken behavior: `$host'
1099 # used to hold the argument of --host etc.
1100 # FIXME: To remove some day.
1103 target=$target_alias
1105 # FIXME: To remove some day.
1106 if test "x$host_alias" != x; then
1107 if test "x$build_alias" = x; then
1108 cross_compiling=maybe
1109 elif test "x$build_alias" != "x$host_alias"; then
1115 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1117 test "$silent" = yes && exec 6>/dev/null
1120 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1121 ac_ls_di=`ls -di .` &&
1122 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1123 as_fn_error $? "working directory cannot be determined"
1124 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1125 as_fn_error $? "pwd does not report name of working directory"
1128 # Find the source files, if location was not specified.
1129 if test -z "$srcdir"; then
1130 ac_srcdir_defaulted=yes
1131 # Try the directory containing this script, then the parent directory.
1132 ac_confdir=`$as_dirname -- "$as_myself" ||
1133 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1134 X"$as_myself" : 'X\(//\)[^/]' \| \
1135 X"$as_myself" : 'X\(//\)$' \| \
1136 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1137 $as_echo X"$as_myself" |
1138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156 if test ! -r "$srcdir/$ac_unique_file"; then
1160 ac_srcdir_defaulted=no
1162 if test ! -r "$srcdir/$ac_unique_file"; then
1163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1164 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1166 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1168 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1170 # When building in place, set srcdir=.
1171 if test "$ac_abs_confdir" = "$ac_pwd"; then
1174 # Remove unnecessary trailing slashes from srcdir.
1175 # Double slashes in file names in object file debugging info
1176 # mess up M-x gdb in Emacs.
1178 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1180 for ac_var in $ac_precious_vars; do
1181 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1182 eval ac_env_${ac_var}_value=\$${ac_var}
1183 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1184 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1188 # Report the --help message.
1190 if test "$ac_init_help" = "long"; then
1191 # Omit some internal or obsolete options to make the list less imposing.
1192 # This message is too long to be a string in the A/UX 3.1 sh.
1194 \`configure' configures this package to adapt to many kinds of systems.
1196 Usage: $0 [OPTION]... [VAR=VALUE]...
1198 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1199 VAR=VALUE. See below for descriptions of some of the useful variables.
1201 Defaults for the options are specified in brackets.
1204 -h, --help display this help and exit
1205 --help=short display options specific to this package
1206 --help=recursive display the short help of all the included packages
1207 -V, --version display version information and exit
1208 -q, --quiet, --silent do not print \`checking ...' messages
1209 --cache-file=FILE cache test results in FILE [disabled]
1210 -C, --config-cache alias for \`--cache-file=config.cache'
1211 -n, --no-create do not create output files
1212 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1214 Installation directories:
1215 --prefix=PREFIX install architecture-independent files in PREFIX
1216 [$ac_default_prefix]
1217 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1220 By default, \`make install' will install all the files in
1221 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1222 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1223 for instance \`--prefix=\$HOME'.
1225 For better control, use the options below.
1227 Fine tuning of the installation directories:
1228 --bindir=DIR user executables [EPREFIX/bin]
1229 --sbindir=DIR system admin executables [EPREFIX/sbin]
1230 --libexecdir=DIR program executables [EPREFIX/libexec]
1231 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1232 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1233 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1234 --libdir=DIR object code libraries [EPREFIX/lib]
1235 --includedir=DIR C header files [PREFIX/include]
1236 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1237 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1238 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1239 --infodir=DIR info documentation [DATAROOTDIR/info]
1240 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1241 --mandir=DIR man documentation [DATAROOTDIR/man]
1242 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1243 --htmldir=DIR html documentation [DOCDIR]
1244 --dvidir=DIR dvi documentation [DOCDIR]
1245 --pdfdir=DIR pdf documentation [DOCDIR]
1246 --psdir=DIR ps documentation [DOCDIR]
1253 if test -n "$ac_init_help"; then
1258 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1259 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1260 --with-yubikey-include-dir=DIR
1261 Directory where the yubikey includes may be found
1262 --with-yubikey-lib-dir=DIR
1263 Directory where the yubikey libraries may be found
1264 --with-yubikey-dir=DIR Base directory where yubikey is installed
1265 --with-ykclient-include-dir=DIR
1266 Directory where the ykclient includes may be found
1267 --with-ykclient-lib-dir=DIR
1268 Directory where the ykclient libraries may be found
1269 --with-ykclient-dir=DIR Base directory where ykclient is installed
1271 Some influential environment variables:
1272 CC C compiler command
1273 CFLAGS C compiler flags
1274 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1275 nonstandard directory <lib dir>
1276 LIBS libraries to pass to the linker, e.g. -l<library>
1277 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1278 you have headers in a nonstandard directory <include dir>
1280 Use these variables to override the choices made by `configure' or to help
1281 it to find libraries and programs with nonstandard names/locations.
1283 Report bugs to the package provider.
1288 if test "$ac_init_help" = "recursive"; then
1289 # If there are subdirs, report their specific --help.
1290 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1291 test -d "$ac_dir" ||
1292 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1297 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1299 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1300 # A ".." for each directory in $ac_dir_suffix.
1301 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1302 case $ac_top_builddir_sub in
1303 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1307 ac_abs_top_builddir=$ac_pwd
1308 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1309 # for backward compatibility:
1310 ac_top_builddir=$ac_top_build_prefix
1313 .) # We are building in place.
1315 ac_top_srcdir=$ac_top_builddir_sub
1316 ac_abs_top_srcdir=$ac_pwd ;;
1317 [\\/]* | ?:[\\/]* ) # Absolute name.
1318 ac_srcdir=$srcdir$ac_dir_suffix;
1319 ac_top_srcdir=$srcdir
1320 ac_abs_top_srcdir=$srcdir ;;
1322 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1323 ac_top_srcdir=$ac_top_build_prefix$srcdir
1324 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1326 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1328 cd "$ac_dir" || { ac_status=$?; continue; }
1329 # Check for guested configure.
1330 if test -f "$ac_srcdir/configure.gnu"; then
1332 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1333 elif test -f "$ac_srcdir/configure"; then
1335 $SHELL "$ac_srcdir/configure" --help=recursive
1337 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1339 cd "$ac_pwd" || { ac_status=$?; break; }
1343 test -n "$ac_init_help" && exit $ac_status
1344 if $ac_init_version; then
1347 generated by GNU Autoconf 2.69
1349 Copyright (C) 2012 Free Software Foundation, Inc.
1350 This configure script is free software; the Free Software Foundation
1351 gives unlimited permission to copy, distribute and modify it.
1356 ## ------------------------ ##
1357 ## Autoconf initialization. ##
1358 ## ------------------------ ##
1360 # ac_fn_c_try_compile LINENO
1361 # --------------------------
1362 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1363 ac_fn_c_try_compile ()
1365 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1366 rm -f conftest.$ac_objext
1367 if { { ac_try="$ac_compile"
1369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1370 *) ac_try_echo=$ac_try;;
1372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1373 $as_echo "$ac_try_echo"; } >&5
1374 (eval "$ac_compile") 2>conftest.err
1376 if test -s conftest.err; then
1377 grep -v '^ *+' conftest.err >conftest.er1
1378 cat conftest.er1 >&5
1379 mv -f conftest.er1 conftest.err
1381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1382 test $ac_status = 0; } && {
1383 test -z "$ac_c_werror_flag" ||
1384 test ! -s conftest.err
1385 } && test -s conftest.$ac_objext; then :
1388 $as_echo "$as_me: failed program was:" >&5
1389 sed 's/^/| /' conftest.$ac_ext >&5
1393 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1394 as_fn_set_status $ac_retval
1396 } # ac_fn_c_try_compile
1398 # ac_fn_c_try_link LINENO
1399 # -----------------------
1400 # Try to link conftest.$ac_ext, and return whether this succeeded.
1403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1404 rm -f conftest.$ac_objext conftest$ac_exeext
1405 if { { ac_try="$ac_link"
1407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1408 *) ac_try_echo=$ac_try;;
1410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1411 $as_echo "$ac_try_echo"; } >&5
1412 (eval "$ac_link") 2>conftest.err
1414 if test -s conftest.err; then
1415 grep -v '^ *+' conftest.err >conftest.er1
1416 cat conftest.er1 >&5
1417 mv -f conftest.er1 conftest.err
1419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1420 test $ac_status = 0; } && {
1421 test -z "$ac_c_werror_flag" ||
1422 test ! -s conftest.err
1423 } && test -s conftest$ac_exeext && {
1424 test "$cross_compiling" = yes ||
1425 test -x conftest$ac_exeext
1429 $as_echo "$as_me: failed program was:" >&5
1430 sed 's/^/| /' conftest.$ac_ext >&5
1434 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1435 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1436 # interfere with the next link command; also delete a directory that is
1437 # left behind by Apple's compiler. We do this before executing the actions.
1438 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1440 as_fn_set_status $ac_retval
1442 } # ac_fn_c_try_link
1443 cat >config.log <<_ACEOF
1444 This file contains any messages produced by compilers while
1445 running configure, to aid debugging if configure makes a mistake.
1447 It was created by $as_me, which was
1448 generated by GNU Autoconf 2.69. Invocation command line was
1460 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1461 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1462 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1463 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1464 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1466 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1467 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1469 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1470 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1471 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1472 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1473 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1474 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1475 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483 test -z "$as_dir" && as_dir=.
1484 $as_echo "PATH: $as_dir"
1500 # Keep a trace of the command line.
1501 # Strip out --no-create and --no-recursion so they do not pile up.
1502 # Strip out --silent because we don't want to record it for future runs.
1503 # Also quote any args containing shell meta-characters.
1504 # Make two passes to allow for proper duplicate-argument suppression.
1508 ac_must_keep_next=false
1514 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1516 | -silent | --silent | --silen | --sile | --sil)
1519 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1522 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1524 as_fn_append ac_configure_args1 " '$ac_arg'"
1525 if test $ac_must_keep_next = true; then
1526 ac_must_keep_next=false # Got value, back to normal.
1529 *=* | --config-cache | -C | -disable-* | --disable-* \
1530 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1531 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1532 | -with-* | --with-* | -without-* | --without-* | --x)
1533 case "$ac_configure_args0 " in
1534 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1537 -* ) ac_must_keep_next=true ;;
1540 as_fn_append ac_configure_args " '$ac_arg'"
1545 { ac_configure_args0=; unset ac_configure_args0;}
1546 { ac_configure_args1=; unset ac_configure_args1;}
1548 # When interrupted or exit'd, cleanup temporary files, and complete
1549 # config.log. We remove comments because anyway the quotes in there
1550 # would cause problems or look ugly.
1551 # WARNING: Use '\'' to represent an apostrophe within the trap.
1552 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1553 trap 'exit_status=$?
1554 # Save into config.log some information that might help in debugging.
1558 $as_echo "## ---------------- ##
1559 ## Cache variables. ##
1560 ## ---------------- ##"
1562 # The following way of writing the cache mishandles newlines in values,
1564 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1565 eval ac_val=\$$ac_var
1569 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1570 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1573 _ | IFS | as_nl) ;; #(
1574 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1575 *) { eval $ac_var=; unset $ac_var;} ;;
1580 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1581 *${as_nl}ac_space=\ *)
1583 "s/'\''/'\''\\\\'\'''\''/g;
1584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1594 $as_echo "## ----------------- ##
1595 ## Output variables. ##
1596 ## ----------------- ##"
1598 for ac_var in $ac_subst_vars
1600 eval ac_val=\$$ac_var
1602 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1604 $as_echo "$ac_var='\''$ac_val'\''"
1608 if test -n "$ac_subst_files"; then
1609 $as_echo "## ------------------- ##
1610 ## File substitutions. ##
1611 ## ------------------- ##"
1613 for ac_var in $ac_subst_files
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 $as_echo "$ac_var='\''$ac_val'\''"
1624 if test -s confdefs.h; then
1625 $as_echo "## ----------- ##
1632 test "$ac_signal" != 0 &&
1633 $as_echo "$as_me: caught signal $ac_signal"
1634 $as_echo "$as_me: exit $exit_status"
1636 rm -f core *.core core.conftest.* &&
1637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1640 for ac_signal in 1 2 13 15; do
1641 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1645 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1646 rm -f -r conftest* confdefs.h
1648 $as_echo "/* confdefs.h */" > confdefs.h
1650 # Predefined preprocessor variables.
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE_NAME "$PACKAGE_NAME"
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1660 cat >>confdefs.h <<_ACEOF
1661 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_STRING "$PACKAGE_STRING"
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_URL "$PACKAGE_URL"
1677 # Let the site file select an alternate cache file if it wants to.
1678 # Prefer an explicitly selected file to automatically selected ones.
1681 if test -n "$CONFIG_SITE"; then
1682 # We do not want a PATH search for config.site.
1683 case $CONFIG_SITE in #((
1684 -*) ac_site_file1=./$CONFIG_SITE;;
1685 */*) ac_site_file1=$CONFIG_SITE;;
1686 *) ac_site_file1=./$CONFIG_SITE;;
1688 elif test "x$prefix" != xNONE; then
1689 ac_site_file1=$prefix/share/config.site
1690 ac_site_file2=$prefix/etc/config.site
1692 ac_site_file1=$ac_default_prefix/share/config.site
1693 ac_site_file2=$ac_default_prefix/etc/config.site
1695 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1697 test "x$ac_site_file" = xNONE && continue
1698 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1700 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1701 sed 's/^/| /' "$ac_site_file" >&5
1703 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1705 as_fn_error $? "failed to load site script $ac_site_file
1706 See \`config.log' for more details" "$LINENO" 5; }
1710 if test -r "$cache_file"; then
1711 # Some versions of bash will fail to source /dev/null (special files
1712 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1713 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1715 $as_echo "$as_me: loading cache $cache_file" >&6;}
1717 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1718 *) . "./$cache_file";;
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1723 $as_echo "$as_me: creating cache $cache_file" >&6;}
1727 # Check that the precious variables saved in the cache have kept the same
1729 ac_cache_corrupted=false
1730 for ac_var in $ac_precious_vars; do
1731 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1732 eval ac_new_set=\$ac_env_${ac_var}_set
1733 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1734 eval ac_new_val=\$ac_env_${ac_var}_value
1735 case $ac_old_set,$ac_new_set in
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1738 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1739 ac_cache_corrupted=: ;;
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1742 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1746 if test "x$ac_old_val" != "x$ac_new_val"; then
1747 # differences in whitespace do not lead to failure.
1748 ac_old_val_w=`echo x $ac_old_val`
1749 ac_new_val_w=`echo x $ac_new_val`
1750 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1752 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 ac_cache_corrupted=:
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1756 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1757 eval $ac_var=\$ac_old_val
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1760 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1762 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1765 # Pass precious variables to config.status.
1766 if test "$ac_new_set" = set; then
1768 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1769 *) ac_arg=$ac_var=$ac_new_val ;;
1771 case " $ac_configure_args " in
1772 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1773 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1777 if $ac_cache_corrupted; then
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1781 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1782 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1784 ## -------------------- ##
1785 ## Main body of script. ##
1786 ## -------------------- ##
1789 ac_cpp='$CPP $CPPFLAGS'
1790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1798 if test x$with_rlm_yubikey != xno; then
1801 yubikey_include_dir=
1803 # Check whether --with-yubikey-include-dir was given.
1804 if test "${with_yubikey_include_dir+set}" = set; then :
1805 withval=$with_yubikey_include_dir; case "$withval" in
1807 as_fn_error $? "Need yubikey-include-dir" "$LINENO" 5
1812 yubikey_include_dir="$withval"
1820 # Check whether --with-yubikey-lib-dir was given.
1821 if test "${with_yubikey_lib_dir+set}" = set; then :
1822 withval=$with_yubikey_lib_dir; case "$withval" in
1824 as_fn_error $? "Need yubikey-lib-dir" "$LINENO" 5
1829 yubikey_lib_dir="$withval"
1836 # Check whether --with-yubikey-dir was given.
1837 if test "${with_yubikey_dir+set}" = set; then :
1838 withval=$with_yubikey_dir; case "$withval" in
1840 as_fn_error $? "Need yubikey-dir" "$LINENO" 5
1845 yubikey_lib_dir="$withval/lib"
1846 yubikey_include_dir="$withval/include"
1853 ykclient_include_dir=
1855 # Check whether --with-ykclient-include-dir was given.
1856 if test "${with_ykclient_include_dir+set}" = set; then :
1857 withval=$with_ykclient_include_dir; case "$withval" in
1859 as_fn_error $? "Need ykclient-include-dir" "$LINENO" 5
1864 ykclient_include_dir="$withval"
1872 # Check whether --with-ykclient-lib-dir was given.
1873 if test "${with_ykclient_lib_dir+set}" = set; then :
1874 withval=$with_ykclient_lib_dir; case "$withval" in
1876 as_fn_error $? "Need ykclient-lib-dir" "$LINENO" 5
1881 ykclient_lib_dir="$withval"
1888 # Check whether --with-ykclient-dir was given.
1889 if test "${with_ykclient_dir+set}" = set; then :
1890 withval=$with_ykclient_dir; case "$withval" in
1892 as_fn_error $? "Need ykclient-dir" "$LINENO" 5
1897 ykclient_lib_dir="$withval/lib"
1898 ykclient_include_dir="$withval/include"
1906 smart_try_dir="$yubikey_include_dir"
1908 ac_cpp='$CPP $CPPFLAGS'
1909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1912 if test -n "$ac_tool_prefix"; then
1913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1914 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1916 $as_echo_n "checking for $ac_word... " >&6; }
1917 if ${ac_cv_prog_CC+:} false; then :
1918 $as_echo_n "(cached) " >&6
1920 if test -n "$CC"; then
1921 ac_cv_prog_CC="$CC" # Let the user override the test.
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 if test -n "$CC"; then
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1943 $as_echo "$CC" >&6; }
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1946 $as_echo "no" >&6; }
1951 if test -z "$ac_cv_prog_CC"; then
1953 # Extract the first word of "gcc", so it can be a program name with args.
1954 set dummy gcc; ac_word=$2
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1956 $as_echo_n "checking for $ac_word... " >&6; }
1957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1958 $as_echo_n "(cached) " >&6
1960 if test -n "$ac_ct_CC"; then
1961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 test -z "$as_dir" && as_dir=.
1968 for ac_exec_ext in '' $ac_executable_extensions; do
1969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1970 ac_cv_prog_ac_ct_CC="gcc"
1971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1981 if test -n "$ac_ct_CC"; then
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1983 $as_echo "$ac_ct_CC" >&6; }
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1986 $as_echo "no" >&6; }
1989 if test "x$ac_ct_CC" = x; then
1992 case $cross_compiling:$ac_tool_warned in
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1996 ac_tool_warned=yes ;;
2004 if test -z "$CC"; then
2005 if test -n "$ac_tool_prefix"; then
2006 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2007 set dummy ${ac_tool_prefix}cc; ac_word=$2
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2009 $as_echo_n "checking for $ac_word... " >&6; }
2010 if ${ac_cv_prog_CC+:} false; then :
2011 $as_echo_n "(cached) " >&6
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC="$CC" # Let the user override the test.
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir=.
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2023 ac_cv_prog_CC="${ac_tool_prefix}cc"
2024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 if test -n "$CC"; then
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2036 $as_echo "$CC" >&6; }
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2039 $as_echo "no" >&6; }
2045 if test -z "$CC"; then
2046 # Extract the first word of "cc", so it can be a program name with args.
2047 set dummy cc; ac_word=$2
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2049 $as_echo_n "checking for $ac_word... " >&6; }
2050 if ${ac_cv_prog_CC+:} false; then :
2051 $as_echo_n "(cached) " >&6
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC="$CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2065 ac_prog_rejected=yes
2069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 if test $ac_prog_rejected = yes; then
2077 # We found a bogon in the path, so make sure we never use it.
2078 set dummy $ac_cv_prog_CC
2080 if test $# != 0; then
2081 # We chose a different compiler from the bogus one.
2082 # However, it has the same basename, so the bogon will be chosen
2083 # first if we set CC to just the basename; use the full file name.
2085 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2091 if test -n "$CC"; then
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2093 $as_echo "$CC" >&6; }
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2096 $as_echo "no" >&6; }
2101 if test -z "$CC"; then
2102 if test -n "$ac_tool_prefix"; then
2103 for ac_prog in cl.exe
2105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2106 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2108 $as_echo_n "checking for $ac_word... " >&6; }
2109 if ${ac_cv_prog_CC+:} false; then :
2110 $as_echo_n "(cached) " >&6
2112 if test -n "$CC"; then
2113 ac_cv_prog_CC="$CC" # Let the user override the test.
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$CC"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2135 $as_echo "$CC" >&6; }
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2138 $as_echo "no" >&6; }
2142 test -n "$CC" && break
2145 if test -z "$CC"; then
2147 for ac_prog in cl.exe
2149 # Extract the first word of "$ac_prog", so it can be a program name with args.
2150 set dummy $ac_prog; ac_word=$2
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2152 $as_echo_n "checking for $ac_word... " >&6; }
2153 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2154 $as_echo_n "(cached) " >&6
2156 if test -n "$ac_ct_CC"; then
2157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2166 ac_cv_prog_ac_ct_CC="$ac_prog"
2167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2176 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2177 if test -n "$ac_ct_CC"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2179 $as_echo "$ac_ct_CC" >&6; }
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2182 $as_echo "no" >&6; }
2186 test -n "$ac_ct_CC" && break
2189 if test "x$ac_ct_CC" = x; then
2192 case $cross_compiling:$ac_tool_warned in
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2196 ac_tool_warned=yes ;;
2205 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 as_fn_error $? "no acceptable C compiler found in \$PATH
2208 See \`config.log' for more details" "$LINENO" 5; }
2210 # Provide some information about the compiler.
2211 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2214 for ac_option in --version -v -V -qversion; do
2215 { { ac_try="$ac_compiler $ac_option >&5"
2217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2218 *) ac_try_echo=$ac_try;;
2220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2221 $as_echo "$ac_try_echo"; } >&5
2222 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2224 if test -s conftest.err; then
2226 ... rest of stderr output deleted ...
2227 10q' conftest.err >conftest.er1
2228 cat conftest.er1 >&5
2230 rm -f conftest.er1 conftest.err
2231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2232 test $ac_status = 0; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2246 ac_clean_files_save=$ac_clean_files
2247 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2248 # Try to create an executable without -o first, disregard a.out.
2249 # It will help us diagnose broken compilers, and finding out an intuition
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2252 $as_echo_n "checking whether the C compiler works... " >&6; }
2253 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2255 # The possible output files:
2256 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2259 for ac_file in $ac_files
2262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2263 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2268 if { { ac_try="$ac_link_default"
2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2271 *) ac_try_echo=$ac_try;;
2273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2274 $as_echo "$ac_try_echo"; } >&5
2275 (eval "$ac_link_default") 2>&5
2277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2278 test $ac_status = 0; }; then :
2279 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2280 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2281 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2282 # so that the user can short-circuit this test for compilers unknown to
2284 for ac_file in $ac_files ''
2286 test -f "$ac_file" || continue
2288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2291 # We found the default executable, but exeext='' is most
2295 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2297 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2299 # We set ac_cv_exeext here because the later test for it is not
2300 # safe: cross compilers may not add the suffix if given an `-o'
2301 # argument, so we may need to know it at that point already.
2302 # Even if this section looks crufty: it has the advantage of
2309 test "$ac_cv_exeext" = no && ac_cv_exeext=
2314 if test -z "$ac_file"; then :
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2317 $as_echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.$ac_ext >&5
2320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322 as_fn_error 77 "C compiler cannot create executables
2323 See \`config.log' for more details" "$LINENO" 5; }
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2326 $as_echo "yes" >&6; }
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2329 $as_echo_n "checking for C compiler default output file name... " >&6; }
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2331 $as_echo "$ac_file" >&6; }
2332 ac_exeext=$ac_cv_exeext
2334 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2335 ac_clean_files=$ac_clean_files_save
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2337 $as_echo_n "checking for suffix of executables... " >&6; }
2338 if { { ac_try="$ac_link"
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_link") 2>&5
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }; then :
2349 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2350 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2351 # work properly (i.e., refer to `conftest.exe'), while it won't with
2353 for ac_file in conftest.exe conftest conftest.*; do
2354 test -f "$ac_file" || continue
2356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2357 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2366 See \`config.log' for more details" "$LINENO" 5; }
2368 rm -f conftest conftest$ac_cv_exeext
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2370 $as_echo "$ac_cv_exeext" >&6; }
2372 rm -f conftest.$ac_ext
2373 EXEEXT=$ac_cv_exeext
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2381 FILE *f = fopen ("conftest.out", "w");
2382 return ferror (f) || fclose (f) != 0;
2388 ac_clean_files="$ac_clean_files conftest.out"
2389 # Check that the compiler produces executables we can run. If not, either
2390 # the compiler is broken, or we cross compile.
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2392 $as_echo_n "checking whether we are cross compiling... " >&6; }
2393 if test "$cross_compiling" != yes; then
2394 { { ac_try="$ac_link"
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2400 $as_echo "$ac_try_echo"; } >&5
2401 (eval "$ac_link") 2>&5
2403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2404 test $ac_status = 0; }
2405 if { ac_try='./conftest$ac_cv_exeext'
2406 { { case "(($ac_try" in
2407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2408 *) ac_try_echo=$ac_try;;
2410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2411 $as_echo "$ac_try_echo"; } >&5
2412 (eval "$ac_try") 2>&5
2414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2415 test $ac_status = 0; }; }; then
2418 if test "$cross_compiling" = maybe; then
2421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2423 as_fn_error $? "cannot run C compiled programs.
2424 If you meant to cross compile, use \`--host'.
2425 See \`config.log' for more details" "$LINENO" 5; }
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2430 $as_echo "$cross_compiling" >&6; }
2432 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2433 ac_clean_files=$ac_clean_files_save
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2435 $as_echo_n "checking for suffix of object files... " >&6; }
2436 if ${ac_cv_objext+:} false; then :
2437 $as_echo_n "(cached) " >&6
2439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440 /* end confdefs.h. */
2450 rm -f conftest.o conftest.obj
2451 if { { ac_try="$ac_compile"
2453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454 *) ac_try_echo=$ac_try;;
2456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2457 $as_echo "$ac_try_echo"; } >&5
2458 (eval "$ac_compile") 2>&5
2460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461 test $ac_status = 0; }; then :
2462 for ac_file in conftest.o conftest.obj conftest.*; do
2463 test -f "$ac_file" || continue;
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2466 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2471 $as_echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.$ac_ext >&5
2474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2476 as_fn_error $? "cannot compute suffix of object files: cannot compile
2477 See \`config.log' for more details" "$LINENO" 5; }
2479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2482 $as_echo "$ac_cv_objext" >&6; }
2483 OBJEXT=$ac_cv_objext
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2486 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2487 if ${ac_cv_c_compiler_gnu+:} false; then :
2488 $as_echo_n "(cached) " >&6
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2504 if ac_fn_c_try_compile "$LINENO"; then :
2509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2514 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2515 if test $ac_compiler_gnu = yes; then
2520 ac_test_CFLAGS=${CFLAGS+set}
2521 ac_save_CFLAGS=$CFLAGS
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2523 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2524 if ${ac_cv_prog_cc_g+:} false; then :
2525 $as_echo_n "(cached) " >&6
2527 ac_save_c_werror_flag=$ac_c_werror_flag
2528 ac_c_werror_flag=yes
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2542 if ac_fn_c_try_compile "$LINENO"; then :
2546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2547 /* end confdefs.h. */
2557 if ac_fn_c_try_compile "$LINENO"; then :
2560 ac_c_werror_flag=$ac_save_c_werror_flag
2562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2563 /* end confdefs.h. */
2573 if ac_fn_c_try_compile "$LINENO"; then :
2576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2581 ac_c_werror_flag=$ac_save_c_werror_flag
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2584 $as_echo "$ac_cv_prog_cc_g" >&6; }
2585 if test "$ac_test_CFLAGS" = set; then
2586 CFLAGS=$ac_save_CFLAGS
2587 elif test $ac_cv_prog_cc_g = yes; then
2588 if test "$GCC" = yes; then
2594 if test "$GCC" = yes; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2601 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2602 if ${ac_cv_prog_cc_c89+:} false; then :
2603 $as_echo_n "(cached) " >&6
2605 ac_cv_prog_cc_c89=no
2607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2613 struct buf { int x; };
2614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2615 static char *e (p, i)
2621 static char *f (char * (*g) (char **, int), char **p, ...)
2626 s = g (p, va_arg (v,int));
2631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2632 function prototypes and stuff, but not '\xHH' hex character constants.
2633 These don't provoke an error unfortunately, instead are silently treated
2634 as 'x'. The following induces an error, until -std is added to get
2635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2636 array size at least. It's necessary to write '\x00'==0 to get something
2637 that's true only with -std. */
2638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2641 inside strings and character constants. */
2643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2645 int test (int i, double x);
2646 struct s1 {int (*f) (int a);};
2647 struct s2 {int (*f) (double a);};
2648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2662 CC="$ac_save_CC $ac_arg"
2663 if ac_fn_c_try_compile "$LINENO"; then :
2664 ac_cv_prog_cc_c89=$ac_arg
2666 rm -f core conftest.err conftest.$ac_objext
2667 test "x$ac_cv_prog_cc_c89" != "xno" && break
2669 rm -f conftest.$ac_ext
2674 case "x$ac_cv_prog_cc_c89" in
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2677 $as_echo "none needed" >&6; } ;;
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2680 $as_echo "unsupported" >&6; } ;;
2682 CC="$CC $ac_cv_prog_cc_c89"
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2684 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2686 if test "x$ac_cv_prog_cc_c89" != xno; then :
2691 ac_cpp='$CPP $CPPFLAGS'
2692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2699 ac_safe=`echo "yubikey.h" | sed 'y%./+-%__pm%'`
2700 old_CFLAGS="$CFLAGS"
2704 if test "x$smart_try_dir" != "x"; then
2705 for try in $smart_try_dir; do
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yubikey.h in $try" >&5
2707 $as_echo_n "checking for yubikey.h in $try... " >&6; }
2708 CFLAGS="$old_CFLAGS -isystem $try"
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2712 #include <yubikey.h>
2721 if ac_fn_c_try_compile "$LINENO"; then :
2723 smart_include="-isystem $try"
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2725 $as_echo "yes" >&6; }
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 CFLAGS="$old_CFLAGS"
2740 if test "x$smart_include" = "x"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yubikey.h" >&5
2742 $as_echo_n "checking for yubikey.h... " >&6; }
2743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2746 #include <yubikey.h>
2755 if ac_fn_c_try_compile "$LINENO"; then :
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759 $as_echo "yes" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766 $as_echo "no" >&6; }
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772 if test "x$smart_include" = "x"; then
2775 if test "x$LOCATE" != "x"; then
2779 for x in `${LOCATE} $file 2>/dev/null`; do
2780 base=`echo $x | sed "s%/${file}%%"`
2781 if test "x$x" = "x$base"; then
2785 dir=`${DIRNAME} $x 2>/dev/null`
2786 exclude=`echo ${dir} | ${GREP} /home`
2787 if test "x$exclude" != "x"; then
2791 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
2792 if test "x$already" = "x"; then
2798 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
2800 for try in $smart_include_dir /usr/local/include /opt/include; do
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yubikey.h in $try" >&5
2802 $as_echo_n "checking for yubikey.h in $try... " >&6; }
2803 CFLAGS="$old_CFLAGS -isystem $try"
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2807 #include <yubikey.h>
2816 if ac_fn_c_try_compile "$LINENO"; then :
2818 smart_include="-isystem $try"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820 $as_echo "yes" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2832 CFLAGS="$old_CFLAGS"
2835 if test "x$smart_include" != "x"; then
2836 eval "ac_cv_header_$ac_safe=yes"
2837 CFLAGS="$old_CFLAGS $smart_include"
2838 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
2841 if test "x$ac_cv_header_yubikey_h" != "xyes"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: yubikey headers not found. Use --with-yubikey-include-dir=<path>." >&5
2844 $as_echo "$as_me: WARNING: yubikey headers not found. Use --with-yubikey-include-dir=<path>." >&2;}
2848 smart_try_dir="$yubikey_lib_dir"
2851 sm_lib_safe=`echo "yubikey" | sed 'y%./+-%__p_%'`
2852 sm_func_safe=`echo "yubikey_aes_decrypt" | sed 'y%./+-%__p_%'`
2858 if test "x$smart_try_dir" != "x"; then
2859 for try in $smart_try_dir; do
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yubikey_aes_decrypt in -lyubikey in $try" >&5
2861 $as_echo_n "checking for yubikey_aes_decrypt in -lyubikey in $try... " >&6; }
2862 LIBS="-L$try -lyubikey $old_LIBS -Wl,-rpath,$try"
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2865 extern char yubikey_aes_decrypt();
2869 yubikey_aes_decrypt()
2874 if ac_fn_c_try_link "$LINENO"; then :
2876 smart_lib="-L$try -lyubikey -Wl,-rpath,$try"
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2878 $as_echo "yes" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2885 rm -f core conftest.err conftest.$ac_objext \
2886 conftest$ac_exeext conftest.$ac_ext
2891 if test "x$smart_lib" = "x"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yubikey_aes_decrypt in -lyubikey" >&5
2893 $as_echo_n "checking for yubikey_aes_decrypt in -lyubikey... " >&6; }
2894 LIBS="-lyubikey $old_LIBS"
2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2897 extern char yubikey_aes_decrypt();
2901 yubikey_aes_decrypt()
2906 if ac_fn_c_try_link "$LINENO"; then :
2908 smart_lib="-lyubikey"
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2910 $as_echo "yes" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2916 rm -f core conftest.err conftest.$ac_objext \
2917 conftest$ac_exeext conftest.$ac_ext
2921 if test "x$smart_lib" = "x"; then
2924 if test "x$LOCATE" != "x"; then
2926 file=libyubikey${libltdl_cv_shlibext}
2928 for x in `${LOCATE} $file 2>/dev/null`; do
2929 base=`echo $x | sed "s%/${file}%%"`
2930 if test "x$x" = "x$base"; then
2934 dir=`${DIRNAME} $x 2>/dev/null`
2935 exclude=`echo ${dir} | ${GREP} /home`
2936 if test "x$exclude" != "x"; then
2940 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2941 if test "x$already" = "x"; then
2947 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2951 if test "x$LOCATE" != "x"; then
2955 for x in `${LOCATE} $file 2>/dev/null`; do
2956 base=`echo $x | sed "s%/${file}%%"`
2957 if test "x$x" = "x$base"; then
2961 dir=`${DIRNAME} $x 2>/dev/null`
2962 exclude=`echo ${dir} | ${GREP} /home`
2963 if test "x$exclude" != "x"; then
2967 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2968 if test "x$already" = "x"; then
2974 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2977 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yubikey_aes_decrypt in -lyubikey in $try" >&5
2979 $as_echo_n "checking for yubikey_aes_decrypt in -lyubikey in $try... " >&6; }
2980 LIBS="-L$try -lyubikey $old_LIBS -Wl,-rpath,$try"
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2983 extern char yubikey_aes_decrypt();
2987 yubikey_aes_decrypt()
2992 if ac_fn_c_try_link "$LINENO"; then :
2994 smart_lib="-L$try -lyubikey -Wl,-rpath,$try"
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2996 $as_echo "yes" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3003 rm -f core conftest.err conftest.$ac_objext \
3004 conftest$ac_exeext conftest.$ac_ext
3009 if test "x$smart_lib" != "x"; then
3010 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3011 LIBS="$smart_lib $old_LIBS"
3012 SMART_LIBS="$smart_lib $SMART_LIBS"
3015 if test "x$ac_cv_lib_yubikey_yubikey_aes_decrypt" != "xyes"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: yubikey libraries not found. Use --with-yubikey-lib-dir=<path>." >&5
3018 $as_echo "$as_me: WARNING: yubikey libraries not found. Use --with-yubikey-lib-dir=<path>." >&2;}
3021 if test "x$have_yubikey" = "xyes"; then
3023 $as_echo "#define HAVE_YUBIKEY 1" >>confdefs.h
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without yubikey token decryption support. requires: yubikey" >&5
3027 $as_echo "$as_me: WARNING: silently building without yubikey token decryption support. requires: yubikey" >&2;}
3032 smart_try_dir="$ykclient_include_dir"
3035 ac_safe=`echo "ykclient.h" | sed 'y%./+-%__pm%'`
3036 old_CFLAGS="$CFLAGS"
3040 if test "x$smart_try_dir" != "x"; then
3041 for try in $smart_try_dir; do
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient.h in $try" >&5
3043 $as_echo_n "checking for ykclient.h in $try... " >&6; }
3044 CFLAGS="$old_CFLAGS -isystem $try"
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3048 #include <ykclient.h>
3057 if ac_fn_c_try_compile "$LINENO"; then :
3059 smart_include="-isystem $try"
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3061 $as_echo "yes" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3073 CFLAGS="$old_CFLAGS"
3076 if test "x$smart_include" = "x"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient.h" >&5
3078 $as_echo_n "checking for ykclient.h... " >&6; }
3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3082 #include <ykclient.h>
3091 if ac_fn_c_try_compile "$LINENO"; then :
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3095 $as_echo "yes" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 if test "x$smart_include" = "x"; then
3111 if test "x$LOCATE" != "x"; then
3115 for x in `${LOCATE} $file 2>/dev/null`; do
3116 base=`echo $x | sed "s%/${file}%%"`
3117 if test "x$x" = "x$base"; then
3121 dir=`${DIRNAME} $x 2>/dev/null`
3122 exclude=`echo ${dir} | ${GREP} /home`
3123 if test "x$exclude" != "x"; then
3127 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
3128 if test "x$already" = "x"; then
3134 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
3136 for try in $smart_include_dir /usr/local/include /opt/include; do
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient.h in $try" >&5
3138 $as_echo_n "checking for ykclient.h in $try... " >&6; }
3139 CFLAGS="$old_CFLAGS -isystem $try"
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3143 #include <ykclient.h>
3152 if ac_fn_c_try_compile "$LINENO"; then :
3154 smart_include="-isystem $try"
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3156 $as_echo "yes" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 CFLAGS="$old_CFLAGS"
3171 if test "x$smart_include" != "x"; then
3172 eval "ac_cv_header_$ac_safe=yes"
3173 CFLAGS="$old_CFLAGS $smart_include"
3174 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
3177 if test "x$ac_cv_header_ykclient_h" != "xyes"; then
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ykclient headers not found. Use --with-ykclient-include-dir=<path>." >&5
3180 $as_echo "$as_me: WARNING: ykclient headers not found. Use --with-ykclient-include-dir=<path>." >&2;}
3184 smart_try_dir="$ykclient_lib_dir"
3187 sm_lib_safe=`echo "ykclient" | sed 'y%./+-%__p_%'`
3188 sm_func_safe=`echo "ykclient_request_process" | sed 'y%./+-%__p_%'`
3194 if test "x$smart_try_dir" != "x"; then
3195 for try in $smart_try_dir; do
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient_request_process in -lykclient in $try" >&5
3197 $as_echo_n "checking for ykclient_request_process in -lykclient in $try... " >&6; }
3198 LIBS="-L$try -lykclient $old_LIBS -Wl,-rpath,$try"
3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3201 extern char ykclient_request_process();
3205 ykclient_request_process()
3210 if ac_fn_c_try_link "$LINENO"; then :
3212 smart_lib="-L$try -lykclient -Wl,-rpath,$try"
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3214 $as_echo "yes" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3221 rm -f core conftest.err conftest.$ac_objext \
3222 conftest$ac_exeext conftest.$ac_ext
3227 if test "x$smart_lib" = "x"; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient_request_process in -lykclient" >&5
3229 $as_echo_n "checking for ykclient_request_process in -lykclient... " >&6; }
3230 LIBS="-lykclient $old_LIBS"
3231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h. */
3233 extern char ykclient_request_process();
3237 ykclient_request_process()
3242 if ac_fn_c_try_link "$LINENO"; then :
3244 smart_lib="-lykclient"
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3246 $as_echo "yes" >&6; }
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3252 rm -f core conftest.err conftest.$ac_objext \
3253 conftest$ac_exeext conftest.$ac_ext
3257 if test "x$smart_lib" = "x"; then
3260 if test "x$LOCATE" != "x"; then
3262 file=libykclient${libltdl_cv_shlibext}
3264 for x in `${LOCATE} $file 2>/dev/null`; do
3265 base=`echo $x | sed "s%/${file}%%"`
3266 if test "x$x" = "x$base"; then
3270 dir=`${DIRNAME} $x 2>/dev/null`
3271 exclude=`echo ${dir} | ${GREP} /home`
3272 if test "x$exclude" != "x"; then
3276 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3277 if test "x$already" = "x"; then
3283 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3287 if test "x$LOCATE" != "x"; then
3291 for x in `${LOCATE} $file 2>/dev/null`; do
3292 base=`echo $x | sed "s%/${file}%%"`
3293 if test "x$x" = "x$base"; then
3297 dir=`${DIRNAME} $x 2>/dev/null`
3298 exclude=`echo ${dir} | ${GREP} /home`
3299 if test "x$exclude" != "x"; then
3303 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3304 if test "x$already" = "x"; then
3310 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3313 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient_request_process in -lykclient in $try" >&5
3315 $as_echo_n "checking for ykclient_request_process in -lykclient in $try... " >&6; }
3316 LIBS="-L$try -lykclient $old_LIBS -Wl,-rpath,$try"
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3319 extern char ykclient_request_process();
3323 ykclient_request_process()
3328 if ac_fn_c_try_link "$LINENO"; then :
3330 smart_lib="-L$try -lykclient -Wl,-rpath,$try"
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3339 rm -f core conftest.err conftest.$ac_objext \
3340 conftest$ac_exeext conftest.$ac_ext
3345 if test "x$smart_lib" != "x"; then
3346 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3347 LIBS="$smart_lib $old_LIBS"
3348 SMART_LIBS="$smart_lib $SMART_LIBS"
3351 if test "x$ac_cv_lib_ykclient_ykclient_request_process" != "xyes"; then
3355 sm_lib_safe=`echo "ykclient" | sed 'y%./+-%__p_%'`
3356 sm_func_safe=`echo "ykclient_request" | sed 'y%./+-%__p_%'`
3362 if test "x$smart_try_dir" != "x"; then
3363 for try in $smart_try_dir; do
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient_request in -lykclient in $try" >&5
3365 $as_echo_n "checking for ykclient_request in -lykclient in $try... " >&6; }
3366 LIBS="-L$try -lykclient $old_LIBS -Wl,-rpath,$try"
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3369 extern char ykclient_request();
3378 if ac_fn_c_try_link "$LINENO"; then :
3380 smart_lib="-L$try -lykclient -Wl,-rpath,$try"
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3382 $as_echo "yes" >&6; }
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3389 rm -f core conftest.err conftest.$ac_objext \
3390 conftest$ac_exeext conftest.$ac_ext
3395 if test "x$smart_lib" = "x"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient_request in -lykclient" >&5
3397 $as_echo_n "checking for ykclient_request in -lykclient... " >&6; }
3398 LIBS="-lykclient $old_LIBS"
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3401 extern char ykclient_request();
3410 if ac_fn_c_try_link "$LINENO"; then :
3412 smart_lib="-lykclient"
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3414 $as_echo "yes" >&6; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3418 $as_echo "no" >&6; }
3420 rm -f core conftest.err conftest.$ac_objext \
3421 conftest$ac_exeext conftest.$ac_ext
3425 if test "x$smart_lib" = "x"; then
3428 if test "x$LOCATE" != "x"; then
3430 file=libykclient${libltdl_cv_shlibext}
3432 for x in `${LOCATE} $file 2>/dev/null`; do
3433 base=`echo $x | sed "s%/${file}%%"`
3434 if test "x$x" = "x$base"; then
3438 dir=`${DIRNAME} $x 2>/dev/null`
3439 exclude=`echo ${dir} | ${GREP} /home`
3440 if test "x$exclude" != "x"; then
3444 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3445 if test "x$already" = "x"; then
3451 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3455 if test "x$LOCATE" != "x"; then
3459 for x in `${LOCATE} $file 2>/dev/null`; do
3460 base=`echo $x | sed "s%/${file}%%"`
3461 if test "x$x" = "x$base"; then
3465 dir=`${DIRNAME} $x 2>/dev/null`
3466 exclude=`echo ${dir} | ${GREP} /home`
3467 if test "x$exclude" != "x"; then
3471 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3472 if test "x$already" = "x"; then
3478 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3481 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ykclient_request in -lykclient in $try" >&5
3483 $as_echo_n "checking for ykclient_request in -lykclient in $try... " >&6; }
3484 LIBS="-L$try -lykclient $old_LIBS -Wl,-rpath,$try"
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3487 extern char ykclient_request();
3496 if ac_fn_c_try_link "$LINENO"; then :
3498 smart_lib="-L$try -lykclient -Wl,-rpath,$try"
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3500 $as_echo "yes" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3507 rm -f core conftest.err conftest.$ac_objext \
3508 conftest$ac_exeext conftest.$ac_ext
3513 if test "x$smart_lib" != "x"; then
3514 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3515 LIBS="$smart_lib $old_LIBS"
3516 SMART_LIBS="$smart_lib $SMART_LIBS"
3519 if test "x$ac_cv_lib_ykclient_ykclient_request" == "xyes"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libykclient missing ykclient_request_process. A later version of libykclient is required." >&5
3521 $as_echo "$as_me: WARNING: libykclient missing ykclient_request_process. A later version of libykclient is required." >&2;}
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ykclient libraries not found. Use --with-ykclient-lib-dir=<path>." >&5
3524 $as_echo "$as_me: WARNING: ykclient libraries not found. Use --with-ykclient-lib-dir=<path>." >&2;}
3528 if test "x$have_ykclient" = "xyes"; then
3530 $as_echo "#define HAVE_YKCLIENT 1" >>confdefs.h
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without yubicloud support. requires: ykclient" >&5
3534 $as_echo "$as_me: WARNING: silently building without yubicloud support. requires: ykclient" >&2;}
3537 targetname=rlm_yubikey
3540 echo \*\*\* module rlm_yubikey is disabled.
3543 if test x"$fail" != x""; then
3544 if test x"${enable_strict_dependencies}" = x"yes"; then
3545 as_fn_error $? "set --without-rlm_yubikey to disable it explicitly." "$LINENO" 5
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_yubikey." >&5
3548 $as_echo "$as_me: WARNING: silently not building rlm_yubikey." >&2;}
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_yubikey requires: $fail." >&5
3550 $as_echo "$as_me: WARNING: FAILURE: rlm_yubikey requires: $fail." >&2;};
3555 mod_ldflags="${SMART_LIBS}"
3556 mod_cflags="${SMART_CFLAGS}"
3561 ac_config_headers="$ac_config_headers config.h"
3564 unset ac_cv_env_LIBS_set
3565 unset ac_cv_env_LIBS_value
3567 ac_config_files="$ac_config_files all.mk"
3569 cat >confcache <<\_ACEOF
3570 # This file is a shell script that caches the results of configure
3571 # tests run on this system so they can be shared between configure
3572 # scripts and configure runs, see configure's option --config-cache.
3573 # It is not useful on other systems. If it contains results you don't
3574 # want to keep, you may remove or edit it.
3576 # config.status only pays attention to the cache file if you give it
3577 # the --recheck option to rerun configure.
3579 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3580 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3585 # The following way of writing the cache mishandles newlines in values,
3586 # but we know of no workaround that is simple, portable, and efficient.
3587 # So, we kill variables containing newlines.
3588 # Ultrix sh set writes to stderr and can't be redirected directly,
3589 # and sets the high bit in the cache file unless we assign to the vars.
3591 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3592 eval ac_val=\$$ac_var
3596 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3597 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3600 _ | IFS | as_nl) ;; #(
3601 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3602 *) { eval $ac_var=; unset $ac_var;} ;;
3608 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3609 *${as_nl}ac_space=\ *)
3610 # `set' does not quote correctly, so add quotes: double-quote
3611 # substitution turns \\\\ into \\, and sed turns \\ into \.
3614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3617 # `set' quotes correctly as required by POSIX, so do not add quotes.
3618 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3627 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3629 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3631 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3632 if test -w "$cache_file"; then
3633 if test "x$cache_file" != "x/dev/null"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3635 $as_echo "$as_me: updating cache $cache_file" >&6;}
3636 if test ! -f "$cache_file" || test -h "$cache_file"; then
3637 cat confcache >"$cache_file"
3639 case $cache_file in #(
3641 mv -f confcache "$cache_file"$$ &&
3642 mv -f "$cache_file"$$ "$cache_file" ;; #(
3644 mv -f confcache "$cache_file" ;;
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3650 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3655 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3656 # Let make expand exec_prefix.
3657 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3659 DEFS=-DHAVE_CONFIG_H
3664 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3665 # 1. Remove the extension, and $U if already installed.
3666 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3667 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3668 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3669 # will be set to the directory where LIBOBJS objects are built.
3670 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3671 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3675 LTLIBOBJS=$ac_ltlibobjs
3679 : "${CONFIG_STATUS=./config.status}"
3681 ac_clean_files_save=$ac_clean_files
3682 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3684 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3686 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3688 # Generated by $as_me.
3689 # Run this file to recreate the current configuration.
3690 # Compiler output produced by configure, useful for debugging
3691 # configure, is in config.log if it exists.
3697 SHELL=\${CONFIG_SHELL-$SHELL}
3700 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3701 ## -------------------- ##
3702 ## M4sh Initialization. ##
3703 ## -------------------- ##
3705 # Be more Bourne compatible
3706 DUALCASE=1; export DUALCASE # for MKS sh
3707 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3710 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3711 # is contrary to our usage. Disable this feature.
3712 alias -g '${1+"$@"}'='"$@"'
3713 setopt NO_GLOB_SUBST
3715 case `(set -o) 2>/dev/null` in #(
3727 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3728 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3729 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3730 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3731 # Prefer a ksh shell builtin over an external printf program on Solaris,
3732 # but without wasting forks for bash or zsh.
3733 if test -z "$BASH_VERSION$ZSH_VERSION" \
3734 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3735 as_echo='print -r --'
3736 as_echo_n='print -rn --'
3737 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3738 as_echo='printf %s\n'
3739 as_echo_n='printf %s'
3741 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3742 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3743 as_echo_n='/usr/ucb/echo -n'
3745 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3746 as_echo_n_body='eval
3750 expr "X$arg" : "X\\(.*\\)$as_nl";
3751 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3753 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3755 export as_echo_n_body
3756 as_echo_n='sh -c $as_echo_n_body as_echo'
3759 as_echo='sh -c $as_echo_body as_echo'
3762 # The user is always right.
3763 if test "${PATH_SEPARATOR+set}" != set; then
3765 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3766 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3773 # We need space, tab and new line, in precisely that order. Quoting is
3774 # there to prevent editors from complaining about space-tab.
3775 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3776 # splitting by setting IFS to empty value.)
3779 # Find who we are. Look in the path if we contain no directory separator.
3782 *[\\/]* ) as_myself=$0 ;;
3783 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir=.
3788 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3794 # We did not find ourselves, most probably we were run as `sh COMMAND'
3795 # in which case we are not to be found in the path.
3796 if test "x$as_myself" = x; then
3799 if test ! -f "$as_myself"; then
3800 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3804 # Unset variables that we do not need and which cause bugs (e.g. in
3805 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3806 # suppresses any "Segmentation fault" message there. '((' could
3807 # trigger a bug in pdksh 5.2.14.
3808 for as_var in BASH_ENV ENV MAIL MAILPATH
3809 do eval test x\${$as_var+set} = xset \
3810 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3823 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3826 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3827 # ----------------------------------------
3828 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3829 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3830 # script with STATUS, using 1 if that was 0.
3833 as_status=$1; test $as_status -eq 0 && as_status=1
3835 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3836 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3838 $as_echo "$as_me: error: $2" >&2
3839 as_fn_exit $as_status
3843 # as_fn_set_status STATUS
3844 # -----------------------
3845 # Set $? to STATUS, without forking.
3849 } # as_fn_set_status
3853 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3863 # Portably unset VAR.
3866 { eval $1=; unset $1;}
3868 as_unset=as_fn_unset
3869 # as_fn_append VAR VALUE
3870 # ----------------------
3871 # Append the text in VALUE to the end of the definition contained in VAR. Take
3872 # advantage of any shell optimizations that allow amortized linear growth over
3873 # repeated appends, instead of the typical quadratic growth present in naive
3875 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3876 eval 'as_fn_append ()
3887 # as_fn_arith ARG...
3888 # ------------------
3889 # Perform arithmetic evaluation on the ARGs, and store the result in the
3890 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3891 # must be portable across $(()) and expr.
3892 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3893 eval 'as_fn_arith ()
3900 as_val=`expr "$@" || test $? -eq 1`
3905 if expr a : '\(a\)' >/dev/null 2>&1 &&
3906 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3912 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3913 as_basename=basename
3918 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3924 as_me=`$as_basename -- "$0" ||
3925 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3926 X"$0" : 'X\(//\)$' \| \
3927 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3929 sed '/^.*\/\([^/][^/]*\)\/*$/{
3943 # Avoid depending upon Character Ranges.
3944 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3945 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3946 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3947 as_cr_digits='0123456789'
3948 as_cr_alnum=$as_cr_Letters$as_cr_digits
3950 ECHO_C= ECHO_N= ECHO_T=
3951 case `echo -n x` in #(((((
3953 case `echo 'xy\c'` in
3954 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3956 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3963 rm -f conf$$ conf$$.exe conf$$.file
3964 if test -d conf$$.dir; then
3965 rm -f conf$$.dir/conf$$.file
3968 mkdir conf$$.dir 2>/dev/null
3970 if (echo >conf$$.file) 2>/dev/null; then
3971 if ln -s conf$$.file conf$$ 2>/dev/null; then
3973 # ... but there are two gotchas:
3974 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3975 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3976 # In both cases, we have to default to `cp -pR'.
3977 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3979 elif ln conf$$.file conf$$ 2>/dev/null; then
3987 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3988 rmdir conf$$.dir 2>/dev/null
3993 # Create "$as_dir" as a directory, including parents if necessary.
3998 -*) as_dir=./$as_dir;;
4000 test -d "$as_dir" || eval $as_mkdir_p || {
4004 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4005 *) as_qdir=$as_dir;;
4007 as_dirs="'$as_qdir' $as_dirs"
4008 as_dir=`$as_dirname -- "$as_dir" ||
4009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4010 X"$as_dir" : 'X\(//\)[^/]' \| \
4011 X"$as_dir" : 'X\(//\)$' \| \
4012 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4013 $as_echo X"$as_dir" |
4014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4031 test -d "$as_dir" && break
4033 test -z "$as_dirs" || eval "mkdir $as_dirs"
4034 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4038 if mkdir -p . 2>/dev/null; then
4039 as_mkdir_p='mkdir -p "$as_dir"'
4041 test -d ./-p && rmdir ./-p
4046 # as_fn_executable_p FILE
4047 # -----------------------
4048 # Test if FILE is an executable regular file.
4049 as_fn_executable_p ()
4051 test -f "$1" && test -x "$1"
4052 } # as_fn_executable_p
4054 as_executable_p=as_fn_executable_p
4056 # Sed expression to map a string onto a valid CPP name.
4057 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4059 # Sed expression to map a string onto a valid variable name.
4060 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4064 ## ----------------------------------- ##
4065 ## Main body of $CONFIG_STATUS script. ##
4066 ## ----------------------------------- ##
4068 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4071 # Save the log message, to keep $0 and so on meaningful, and to
4072 # report actual input values of CONFIG_FILES etc. instead of their
4073 # values after options handling.
4075 This file was extended by $as_me, which was
4076 generated by GNU Autoconf 2.69. Invocation command line was
4078 CONFIG_FILES = $CONFIG_FILES
4079 CONFIG_HEADERS = $CONFIG_HEADERS
4080 CONFIG_LINKS = $CONFIG_LINKS
4081 CONFIG_COMMANDS = $CONFIG_COMMANDS
4084 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4089 case $ac_config_files in *"
4090 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4093 case $ac_config_headers in *"
4094 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4099 # Files that config.status was made for.
4100 config_files="$ac_config_files"
4101 config_headers="$ac_config_headers"
4105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4107 \`$as_me' instantiates files and other configuration actions
4108 from templates according to the current configuration. Unless the files
4109 and actions are specified as TAGs, all are instantiated by default.
4111 Usage: $0 [OPTION]... [TAG]...
4113 -h, --help print this help, then exit
4114 -V, --version print version number and configuration settings, then exit
4115 --config print configuration, then exit
4116 -q, --quiet, --silent
4117 do not print progress messages
4118 -d, --debug don't remove temporary files
4119 --recheck update $as_me by reconfiguring in the same conditions
4120 --file=FILE[:TEMPLATE]
4121 instantiate the configuration file FILE
4122 --header=FILE[:TEMPLATE]
4123 instantiate the configuration header FILE
4125 Configuration files:
4128 Configuration headers:
4131 Report bugs to the package provider."
4134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4135 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4138 configured by $0, generated by GNU Autoconf 2.69,
4139 with options \\"\$ac_cs_config\\"
4141 Copyright (C) 2012 Free Software Foundation, Inc.
4142 This config.status script is free software; the Free Software Foundation
4143 gives unlimited permission to copy, distribute and modify it."
4147 test -n "\$AWK" || AWK=awk
4150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4151 # The default lists apply if the user does not specify any file.
4157 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4158 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4162 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4174 # Handling of the options.
4175 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4177 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4178 $as_echo "$ac_cs_version"; exit ;;
4179 --config | --confi | --conf | --con | --co | --c )
4180 $as_echo "$ac_cs_config"; exit ;;
4181 --debug | --debu | --deb | --de | --d | -d )
4183 --file | --fil | --fi | --f )
4186 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4187 '') as_fn_error $? "missing file argument" ;;
4189 as_fn_append CONFIG_FILES " '$ac_optarg'"
4190 ac_need_defaults=false;;
4191 --header | --heade | --head | --hea )
4194 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4196 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4197 ac_need_defaults=false;;
4199 # Conflict between --help and --header
4200 as_fn_error $? "ambiguous option: \`$1'
4201 Try \`$0 --help' for more information.";;
4202 --help | --hel | -h )
4203 $as_echo "$ac_cs_usage"; exit ;;
4204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4205 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4209 -*) as_fn_error $? "unrecognized option: \`$1'
4210 Try \`$0 --help' for more information." ;;
4212 *) as_fn_append ac_config_targets " $1"
4213 ac_need_defaults=false ;;
4219 ac_configure_extra_args=
4221 if $ac_cs_silent; then
4223 ac_configure_extra_args="$ac_configure_extra_args --silent"
4227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4228 if \$ac_cs_recheck; then
4229 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4231 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4232 CONFIG_SHELL='$SHELL'
4238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4242 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4243 ## Running $as_me. ##
4249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4254 # Handling of arguments.
4255 for ac_config_target in $ac_config_targets
4257 case $ac_config_target in
4258 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4259 "all.mk") CONFIG_FILES="$CONFIG_FILES all.mk" ;;
4261 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4266 # If the user did not use the arguments to specify the items to instantiate,
4267 # then the envvar interface is used. Set only those that are not.
4268 # We use the long form for the default assignment because of an extremely
4269 # bizarre bug on SunOS 4.1.3.
4270 if $ac_need_defaults; then
4271 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4272 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4275 # Have a temporary directory for convenience. Make it in the build tree
4276 # simply because there is no reason against having it here, and in addition,
4277 # creating and moving files from /tmp can sometimes cause problems.
4278 # Hook for its removal unless debugging.
4279 # Note that there is a small window in which the directory will not be cleaned:
4280 # after its creation but before its name has been assigned to `$tmp'.
4284 trap 'exit_status=$?
4286 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4288 trap 'as_fn_exit 1' 1 2 13 15
4290 # Create a (secure) tmp directory for tmp files.
4293 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4297 tmp=./conf$$-$RANDOM
4298 (umask 077 && mkdir "$tmp")
4299 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4302 # Set up the scripts for CONFIG_FILES section.
4303 # No need to generate them if there are no CONFIG_FILES.
4304 # This happens for instance with `./config.status config.h'.
4305 if test -n "$CONFIG_FILES"; then
4308 ac_cr=`echo X | tr X '\015'`
4309 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4310 # But we know of no other shell where ac_cr would be empty at this
4311 # point, so we can use a bashism as a fallback.
4312 if test "x$ac_cr" = x; then
4313 eval ac_cr=\$\'\\r\'
4315 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4316 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4322 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4327 echo "cat >conf$$subs.awk <<_ACEOF" &&
4328 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4331 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4332 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4334 for ac_last_try in false false false false false :; do
4335 . ./conf$$subs.sh ||
4336 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4338 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4339 if test $ac_delim_n = $ac_delim_num; then
4341 elif $ac_last_try; then
4342 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4344 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4350 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4354 s/^/S["/; s/!.*/"]=/
4364 s/\(.\{148\}\)..*/\1/
4366 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4378 s/\(.\{148\}\)..*/\1/
4380 s/["\\]/\\&/g; s/^/"/; s/$/"/
4384 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4389 ' <conf$$subs.awk | sed '
4394 ' >>$CONFIG_STATUS || ac_write_fail=1
4395 rm -f conf$$subs.awk
4396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4398 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4399 for (key in S) S_is_set[key] = 1
4405 nfields = split(line, field, "@")
4407 len = length(field[1])
4408 for (i = 2; i < nfields; i++) {
4410 keylen = length(key)
4411 if (S_is_set[key]) {
4413 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4414 len += length(value) + length(field[++i])
4425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4426 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4427 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4430 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4431 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4434 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4435 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4436 # trailing colons and then remove the whole line if VPATH becomes empty
4437 # (actually we leave an empty line to preserve line numbers).
4438 if test "x$srcdir" = x.; then
4439 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4458 fi # test -n "$CONFIG_FILES"
4460 # Set up the scripts for CONFIG_HEADERS section.
4461 # No need to generate them if there are no CONFIG_HEADERS.
4462 # This happens for instance with `./config.status Makefile'.
4463 if test -n "$CONFIG_HEADERS"; then
4464 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4468 # Transform confdefs.h into an awk script `defines.awk', embedded as
4469 # here-document in config.status, that substitutes the proper values into
4470 # config.h.in to produce config.h.
4472 # Create a delimiter string that does not exist in confdefs.h, to ease
4473 # handling of long lines.
4475 for ac_last_try in false false :; do
4476 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4477 if test -z "$ac_tt"; then
4479 elif $ac_last_try; then
4480 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4482 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4486 # For the awk script, D is an array of macro values keyed by name,
4487 # likewise P contains macro parameters if any. Preserve backslash
4488 # newline sequences.
4490 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4492 s/.\{148\}/&'"$ac_delim"'/g
4495 s/^[ ]*#[ ]*define[ ][ ]*/ /
4502 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4504 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4508 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4509 D["\1"]=" \3\\\\\\n"\\/p
4511 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4516 s/.\{148\}/&'"$ac_delim"'/g
4521 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4524 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4526 ' <confdefs.h | sed '
4527 s/'"$ac_delim"'/"\\\
4528 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4531 for (key in D) D_is_set[key] = 1
4534 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4536 split(line, arg, " ")
4537 if (arg[1] == "#") {
4541 defundef = substr(arg[1], 2)
4544 split(mac1, mac2, "(") #)
4546 prefix = substr(line, 1, index(line, defundef) - 1)
4547 if (D_is_set[macro]) {
4548 # Preserve the white space surrounding the "#".
4549 print prefix "define", macro P[macro] D[macro]
4552 # Replace #undef with comments. This is necessary, for example,
4553 # in the case of _POSIX_SOURCE, which is predefined and required
4554 # on some systems where configure will not decide to define it.
4555 if (defundef == "undef") {
4556 print "/*", prefix defundef, macro, "*/"
4564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4565 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4566 fi # test -n "$CONFIG_HEADERS"
4569 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4574 :[FHLC]) ac_mode=$ac_tag; continue;;
4576 case $ac_mode$ac_tag in
4578 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4579 :[FH]-) ac_tag=-:-;;
4580 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4597 -) ac_f="$ac_tmp/stdin";;
4598 *) # Look for the file first in the build tree, then in the source tree
4599 # (if the path is not absolute). The absolute path cannot be DOS-style,
4600 # because $ac_f cannot contain `:'.
4604 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4606 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4608 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4609 as_fn_append ac_file_inputs " '$ac_f'"
4612 # Let's still pretend it is `configure' which instantiates (i.e., don't
4613 # use $as_me), people would be surprised to read:
4614 # /* config.h. Generated by config.status. */
4615 configure_input='Generated from '`
4616 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4618 if test x"$ac_file" != x-; then
4619 configure_input="$ac_file. $configure_input"
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4621 $as_echo "$as_me: creating $ac_file" >&6;}
4623 # Neutralize special characters interpreted by sed in replacement strings.
4624 case $configure_input in #(
4625 *\&* | *\|* | *\\* )
4626 ac_sed_conf_input=`$as_echo "$configure_input" |
4627 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4628 *) ac_sed_conf_input=$configure_input;;
4632 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4633 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4638 ac_dir=`$as_dirname -- "$ac_file" ||
4639 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4640 X"$ac_file" : 'X\(//\)[^/]' \| \
4641 X"$ac_file" : 'X\(//\)$' \| \
4642 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4643 $as_echo X"$ac_file" |
4644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4661 as_dir="$ac_dir"; as_fn_mkdir_p
4665 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4667 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4668 # A ".." for each directory in $ac_dir_suffix.
4669 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4670 case $ac_top_builddir_sub in
4671 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4672 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4675 ac_abs_top_builddir=$ac_pwd
4676 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4677 # for backward compatibility:
4678 ac_top_builddir=$ac_top_build_prefix
4681 .) # We are building in place.
4683 ac_top_srcdir=$ac_top_builddir_sub
4684 ac_abs_top_srcdir=$ac_pwd ;;
4685 [\\/]* | ?:[\\/]* ) # Absolute name.
4686 ac_srcdir=$srcdir$ac_dir_suffix;
4687 ac_top_srcdir=$srcdir
4688 ac_abs_top_srcdir=$srcdir ;;
4690 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4691 ac_top_srcdir=$ac_top_build_prefix$srcdir
4692 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4694 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4706 # If the template does not know about datarootdir, expand it.
4707 # FIXME: This hack should be removed a few years after 2.60.
4708 ac_datarootdir_hack=; ac_datarootdir_seen=
4719 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4720 *datarootdir*) ac_datarootdir_seen=yes;;
4721 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4723 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4726 ac_datarootdir_hack='
4727 s&@datadir@&$datadir&g
4728 s&@docdir@&$docdir&g
4729 s&@infodir@&$infodir&g
4730 s&@localedir@&$localedir&g
4731 s&@mandir@&$mandir&g
4732 s&\\\${datarootdir}&$datarootdir&g' ;;
4736 # Neutralize VPATH when `$srcdir' = `.'.
4737 # Shell code in configure.ac might set extrasub.
4738 # FIXME: do we really want to maintain this feature?
4739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4740 ac_sed_extra="$ac_vpsub
4743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4745 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4746 s|@configure_input@|$ac_sed_conf_input|;t t
4747 s&@top_builddir@&$ac_top_builddir_sub&;t t
4748 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4749 s&@srcdir@&$ac_srcdir&;t t
4750 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4751 s&@top_srcdir@&$ac_top_srcdir&;t t
4752 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4753 s&@builddir@&$ac_builddir&;t t
4754 s&@abs_builddir@&$ac_abs_builddir&;t t
4755 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4756 $ac_datarootdir_hack
4758 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4759 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4761 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4762 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4763 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4764 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4766 which seems to be undefined. Please make sure it is defined" >&5
4767 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4768 which seems to be undefined. Please make sure it is defined" >&2;}
4770 rm -f "$ac_tmp/stdin"
4772 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4773 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4775 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4781 if test x"$ac_file" != x-; then
4783 $as_echo "/* $configure_input */" \
4784 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4785 } >"$ac_tmp/config.h" \
4786 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4787 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4789 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4792 mv "$ac_tmp/config.h" "$ac_file" \
4793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4796 $as_echo "/* $configure_input */" \
4797 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4798 || as_fn_error $? "could not create -" "$LINENO" 5
4810 ac_clean_files=$ac_clean_files_save
4812 test $ac_write_fail = 0 ||
4813 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4816 # configure is writing to config.log, and then calls config.status.
4817 # config.status does its own redirection, appending to config.log.
4818 # Unfortunately, on DOS this fails, as config.log is still kept open
4819 # by configure, so config.status won't be able to write to it; its
4820 # output is simply discarded. So we exec the FD to /dev/null,
4821 # effectively closing config.log, so it can be properly (re)opened and
4822 # appended to by config.status. When coming back to configure, we
4823 # need to make the FD available again.
4824 if test "$no_create" != yes; then
4826 ac_config_status_args=
4827 test "$silent" = yes &&
4828 ac_config_status_args="$ac_config_status_args --quiet"
4830 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4832 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4833 # would make configure fail if this is the last instruction.
4834 $ac_cs_success || as_fn_exit 1
4836 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4838 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}