Debian Codegraph @

src/modules/rlm_cache/configure

raw symbols SCIP
1 #! /bin/sh
2 # From configure.ac Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
5 #
6 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8 #
9 #
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 ## -------------------- ##
15
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 :
19 emulate sh
20 NULLCMD=:
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+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
30 ;;
31 esac
32 fi
33
34
35 as_nl='
36 '
37 export as_nl
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
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
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'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82
83 # IFS
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.)
88 IFS=" "" $as_nl"
89
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 # 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.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in # ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
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
157 as_fn_exit 255
158 fi
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 :
163 emulate sh
164 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in #(
171 *posix*) :
172 set -o posix ;; #(
173 *) :
174 ;;
175 esac
176 fi
177 "
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; }
183
184 exitcode=0
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 :
190
191 else
192 exitcode=1; echo positional parameters were not saved.
193 fi
194 test x\$exitcode = x0 || exit 1
195 test -x / || 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 :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
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 :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
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
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
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.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
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
257 exit 255
258 fi
259
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."
266 else
267 $as_echo "$0: Please tell [email protected] 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."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
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
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
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 :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
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.
408 as_fn_error ()
409 {
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
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
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
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
463
464
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. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
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; }
487
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).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
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 ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
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'"
552
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'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
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`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
584
585 ac_unique_file="rlm_cache.c"
586 enable_option_checking=no
587 ac_subst_vars='LTLIBOBJS
588 LIBOBJS
589 targetname
590 subdirs
591 OBJEXT
592 EXEEXT
593 ac_ct_CC
594 CPPFLAGS
595 LDFLAGS
596 CFLAGS
597 CC
598 target_alias
599 host_alias
600 build_alias
601 LIBS
602 ECHO_T
603 ECHO_N
604 ECHO_C
605 DEFS
606 mandir
607 localedir
608 libdir
609 psdir
610 pdfdir
611 dvidir
612 htmldir
613 infodir
614 docdir
615 oldincludedir
616 includedir
617 runstatedir
618 localstatedir
619 sharedstatedir
620 sysconfdir
621 datadir
622 datarootdir
623 libexecdir
624 sbindir
625 bindir
626 program_transform_name
627 prefix
628 exec_prefix
629 PACKAGE_URL
630 PACKAGE_BUGREPORT
631 PACKAGE_STRING
632 PACKAGE_VERSION
633 PACKAGE_TARNAME
634 PACKAGE_NAME
635 PATH_SEPARATOR
636 SHELL'
637 ac_subst_files=''
638 ac_user_opts='
639 enable_option_checking
640 with_rlm_cache
641 '
642 ac_precious_vars='build_alias
643 host_alias
644 target_alias
645 CC
646 CFLAGS
647 LDFLAGS
648 LIBS
649 CPPFLAGS'
650 ac_subdirs_all='$mysubdirs'
651
652 # Initialize some variables set by options.
653 ac_init_help=
654 ac_init_version=false
655 ac_unrecognized_opts=
656 ac_unrecognized_sep=
657 # The variables have the same names as the options, with
658 # dashes changed to underlines.
659 cache_file=/dev/null
660 exec_prefix=NONE
661 no_create=
662 no_recursion=
663 prefix=NONE
664 program_prefix=NONE
665 program_suffix=NONE
666 program_transform_name=s,x,x,
667 silent=
668 site=
669 srcdir=
670 verbose=
671 x_includes=NONE
672 x_libraries=NONE
673
674 # Installation directory options.
675 # These are left unexpanded so users can "make install exec_prefix=/foo"
676 # and all the variables that are supposed to be based on exec_prefix
677 # by default will actually change.
678 # Use braces instead of parens because sh, perl, etc. also accept them.
679 # (The list follows the same order as the GNU Coding Standards.)
680 bindir='${exec_prefix}/bin'
681 sbindir='${exec_prefix}/sbin'
682 libexecdir='${exec_prefix}/libexec'
683 datarootdir='${prefix}/share'
684 datadir='${datarootdir}'
685 sysconfdir='${prefix}/etc'
686 sharedstatedir='${prefix}/com'
687 localstatedir='${prefix}/var'
688 runstatedir='${localstatedir}/run'
689 includedir='${prefix}/include'
690 oldincludedir='/usr/include'
691 docdir='${datarootdir}/doc/${PACKAGE}'
692 infodir='${datarootdir}/info'
693 htmldir='${docdir}'
694 dvidir='${docdir}'
695 pdfdir='${docdir}'
696 psdir='${docdir}'
697 libdir='${exec_prefix}/lib'
698 localedir='${datarootdir}/locale'
699 mandir='${datarootdir}/man'
700
701 ac_prev=
702 ac_dashdash=
703 for ac_option
704 do
705 # If the previous option needs an argument, assign it.
706 if test -n "$ac_prev"; then
707 eval $ac_prev=\$ac_option
708 ac_prev=
709 continue
710 fi
711
712 case $ac_option in
713 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
714 *=) ac_optarg= ;;
715 *) ac_optarg=yes ;;
716 esac
717
718 # Accept the important Cygnus configure options, so we can diagnose typos.
719
720 case $ac_dashdash$ac_option in
721 --)
722 ac_dashdash=yes ;;
723
724 -bindir | --bindir | --bindi | --bind | --bin | --bi)
725 ac_prev=bindir ;;
726 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
727 bindir=$ac_optarg ;;
728
729 -build | --build | --buil | --bui | --bu)
730 ac_prev=build_alias ;;
731 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
732 build_alias=$ac_optarg ;;
733
734 -cache-file | --cache-file | --cache-fil | --cache-fi \
735 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
736 ac_prev=cache_file ;;
737 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
738 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
739 cache_file=$ac_optarg ;;
740
741 --config-cache | -C)
742 cache_file=config.cache ;;
743
744 -datadir | --datadir | --datadi | --datad)
745 ac_prev=datadir ;;
746 -datadir=* | --datadir=* | --datadi=* | --datad=*)
747 datadir=$ac_optarg ;;
748
749 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
750 | --dataroo | --dataro | --datar)
751 ac_prev=datarootdir ;;
752 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
753 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
754 datarootdir=$ac_optarg ;;
755
756 -disable-* | --disable-*)
757 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
760 as_fn_error $? "invalid feature name: $ac_useropt"
761 ac_useropt_orig=$ac_useropt
762 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
763 case $ac_user_opts in
764 *"
765 "enable_$ac_useropt"
766 "*) ;;
767 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
768 ac_unrecognized_sep=', ';;
769 esac
770 eval enable_$ac_useropt=no ;;
771
772 -docdir | --docdir | --docdi | --doc | --do)
773 ac_prev=docdir ;;
774 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
775 docdir=$ac_optarg ;;
776
777 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
778 ac_prev=dvidir ;;
779 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
780 dvidir=$ac_optarg ;;
781
782 -enable-* | --enable-*)
783 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
786 as_fn_error $? "invalid feature name: $ac_useropt"
787 ac_useropt_orig=$ac_useropt
788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
789 case $ac_user_opts in
790 *"
791 "enable_$ac_useropt"
792 "*) ;;
793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
794 ac_unrecognized_sep=', ';;
795 esac
796 eval enable_$ac_useropt=\$ac_optarg ;;
797
798 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
799 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
800 | --exec | --exe | --ex)
801 ac_prev=exec_prefix ;;
802 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
803 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
804 | --exec=* | --exe=* | --ex=*)
805 exec_prefix=$ac_optarg ;;
806
807 -gas | --gas | --ga | --g)
808 # Obsolete; use --with-gas.
809 with_gas=yes ;;
810
811 -help | --help | --hel | --he | -h)
812 ac_init_help=long ;;
813 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
814 ac_init_help=recursive ;;
815 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
816 ac_init_help=short ;;
817
818 -host | --host | --hos | --ho)
819 ac_prev=host_alias ;;
820 -host=* | --host=* | --hos=* | --ho=*)
821 host_alias=$ac_optarg ;;
822
823 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
824 ac_prev=htmldir ;;
825 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
826 | --ht=*)
827 htmldir=$ac_optarg ;;
828
829 -includedir | --includedir | --includedi | --included | --include \
830 | --includ | --inclu | --incl | --inc)
831 ac_prev=includedir ;;
832 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
833 | --includ=* | --inclu=* | --incl=* | --inc=*)
834 includedir=$ac_optarg ;;
835
836 -infodir | --infodir | --infodi | --infod | --info | --inf)
837 ac_prev=infodir ;;
838 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
839 infodir=$ac_optarg ;;
840
841 -libdir | --libdir | --libdi | --libd)
842 ac_prev=libdir ;;
843 -libdir=* | --libdir=* | --libdi=* | --libd=*)
844 libdir=$ac_optarg ;;
845
846 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
847 | --libexe | --libex | --libe)
848 ac_prev=libexecdir ;;
849 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
850 | --libexe=* | --libex=* | --libe=*)
851 libexecdir=$ac_optarg ;;
852
853 -localedir | --localedir | --localedi | --localed | --locale)
854 ac_prev=localedir ;;
855 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
856 localedir=$ac_optarg ;;
857
858 -localstatedir | --localstatedir | --localstatedi | --localstated \
859 | --localstate | --localstat | --localsta | --localst | --locals)
860 ac_prev=localstatedir ;;
861 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
862 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
863 localstatedir=$ac_optarg ;;
864
865 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
866 ac_prev=mandir ;;
867 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
868 mandir=$ac_optarg ;;
869
870 -nfp | --nfp | --nf)
871 # Obsolete; use --without-fp.
872 with_fp=no ;;
873
874 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
875 | --no-cr | --no-c | -n)
876 no_create=yes ;;
877
878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
880 no_recursion=yes ;;
881
882 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
883 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
884 | --oldin | --oldi | --old | --ol | --o)
885 ac_prev=oldincludedir ;;
886 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
887 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
888 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
889 oldincludedir=$ac_optarg ;;
890
891 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
892 ac_prev=prefix ;;
893 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
894 prefix=$ac_optarg ;;
895
896 -program-prefix | --program-prefix | --program-prefi | --program-pref \
897 | --program-pre | --program-pr | --program-p)
898 ac_prev=program_prefix ;;
899 -program-prefix=* | --program-prefix=* | --program-prefi=* \
900 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
901 program_prefix=$ac_optarg ;;
902
903 -program-suffix | --program-suffix | --program-suffi | --program-suff \
904 | --program-suf | --program-su | --program-s)
905 ac_prev=program_suffix ;;
906 -program-suffix=* | --program-suffix=* | --program-suffi=* \
907 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
908 program_suffix=$ac_optarg ;;
909
910 -program-transform-name | --program-transform-name \
911 | --program-transform-nam | --program-transform-na \
912 | --program-transform-n | --program-transform- \
913 | --program-transform | --program-transfor \
914 | --program-transfo | --program-transf \
915 | --program-trans | --program-tran \
916 | --progr-tra | --program-tr | --program-t)
917 ac_prev=program_transform_name ;;
918 -program-transform-name=* | --program-transform-name=* \
919 | --program-transform-nam=* | --program-transform-na=* \
920 | --program-transform-n=* | --program-transform-=* \
921 | --program-transform=* | --program-transfor=* \
922 | --program-transfo=* | --program-transf=* \
923 | --program-trans=* | --program-tran=* \
924 | --progr-tra=* | --program-tr=* | --program-t=*)
925 program_transform_name=$ac_optarg ;;
926
927 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
928 ac_prev=pdfdir ;;
929 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
930 pdfdir=$ac_optarg ;;
931
932 -psdir | --psdir | --psdi | --psd | --ps)
933 ac_prev=psdir ;;
934 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
935 psdir=$ac_optarg ;;
936
937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
938 | -silent | --silent | --silen | --sile | --sil)
939 silent=yes ;;
940
941 -runstatedir | --runstatedir | --runstatedi | --runstated \
942 | --runstate | --runstat | --runsta | --runst | --runs \
943 | --run | --ru | --r)
944 ac_prev=runstatedir ;;
945 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
946 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
947 | --run=* | --ru=* | --r=*)
948 runstatedir=$ac_optarg ;;
949
950 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
951 ac_prev=sbindir ;;
952 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
953 | --sbi=* | --sb=*)
954 sbindir=$ac_optarg ;;
955
956 -sharedstatedir | --sharedstatedir | --sharedstatedi \
957 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
958 | --sharedst | --shareds | --shared | --share | --shar \
959 | --sha | --sh)
960 ac_prev=sharedstatedir ;;
961 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
962 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
963 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
964 | --sha=* | --sh=*)
965 sharedstatedir=$ac_optarg ;;
966
967 -site | --site | --sit)
968 ac_prev=site ;;
969 -site=* | --site=* | --sit=*)
970 site=$ac_optarg ;;
971
972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
973 ac_prev=srcdir ;;
974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
975 srcdir=$ac_optarg ;;
976
977 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
978 | --syscon | --sysco | --sysc | --sys | --sy)
979 ac_prev=sysconfdir ;;
980 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
981 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
982 sysconfdir=$ac_optarg ;;
983
984 -target | --target | --targe | --targ | --tar | --ta | --t)
985 ac_prev=target_alias ;;
986 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
987 target_alias=$ac_optarg ;;
988
989 -v | -verbose | --verbose | --verbos | --verbo | --verb)
990 verbose=yes ;;
991
992 -version | --version | --versio | --versi | --vers | -V)
993 ac_init_version=: ;;
994
995 -with-* | --with-*)
996 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999 as_fn_error $? "invalid package name: $ac_useropt"
1000 ac_useropt_orig=$ac_useropt
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1003 *"
1004 "with_$ac_useropt"
1005 "*) ;;
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1007 ac_unrecognized_sep=', ';;
1008 esac
1009 eval with_$ac_useropt=\$ac_optarg ;;
1010
1011 -without-* | --without-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error $? "invalid package name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1019 *"
1020 "with_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval with_$ac_useropt=no ;;
1026
1027 --x)
1028 # Obsolete; use --with-x.
1029 with_x=yes ;;
1030
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1037
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1044
1045 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1046 Try \`$0 --help' for more information"
1047 ;;
1048
1049 *=*)
1050 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1051 # Reject names that are not valid shell variable names.
1052 case $ac_envvar in #(
1053 '' | [0-9]* | *[!_$as_cr_alnum]* )
1054 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1055 esac
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1058
1059 *)
1060 # FIXME: should be removed in autoconf 3.0.
1061 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1065 ;;
1066
1067 esac
1068 done
1069
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 as_fn_error $? "missing argument to $ac_option"
1073 fi
1074
1075 if test -n "$ac_unrecognized_opts"; then
1076 case $enable_option_checking in
1077 no) ;;
1078 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1079 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1080 esac
1081 fi
1082
1083 # Check all directory arguments for consistency.
1084 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1085 datadir sysconfdir sharedstatedir localstatedir includedir \
1086 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1087 libdir localedir mandir runstatedir
1088 do
1089 eval ac_val=\$$ac_var
1090 # Remove trailing slashes.
1091 case $ac_val in
1092 */ )
1093 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1094 eval $ac_var=\$ac_val;;
1095 esac
1096 # Be sure to have absolute directory names.
1097 case $ac_val in
1098 [\\/$]* | ?:[\\/]* ) continue;;
1099 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1100 esac
1101 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1102 done
1103
1104 # There might be people who depend on the old broken behavior: `$host'
1105 # used to hold the argument of --host etc.
1106 # FIXME: To remove some day.
1107 build=$build_alias
1108 host=$host_alias
1109 target=$target_alias
1110
1111 # FIXME: To remove some day.
1112 if test "x$host_alias" != x; then
1113 if test "x$build_alias" = x; then
1114 cross_compiling=maybe
1115 elif test "x$build_alias" != "x$host_alias"; then
1116 cross_compiling=yes
1117 fi
1118 fi
1119
1120 ac_tool_prefix=
1121 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1122
1123 test "$silent" = yes && exec 6>/dev/null
1124
1125
1126 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1127 ac_ls_di=`ls -di .` &&
1128 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1129 as_fn_error $? "working directory cannot be determined"
1130 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1131 as_fn_error $? "pwd does not report name of working directory"
1132
1133
1134 # Find the source files, if location was not specified.
1135 if test -z "$srcdir"; then
1136 ac_srcdir_defaulted=yes
1137 # Try the directory containing this script, then the parent directory.
1138 ac_confdir=`$as_dirname -- "$as_myself" ||
1139 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1140 X"$as_myself" : 'X\(//\)[^/]' \| \
1141 X"$as_myself" : 'X\(//\)$' \| \
1142 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1143 $as_echo X"$as_myself" |
1144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1145 s//\1/
1146 q
1147 }
1148 /^X\(\/\/\)[^/].*/{
1149 s//\1/
1150 q
1151 }
1152 /^X\(\/\/\)$/{
1153 s//\1/
1154 q
1155 }
1156 /^X\(\/\).*/{
1157 s//\1/
1158 q
1159 }
1160 s/.*/./; q'`
1161 srcdir=$ac_confdir
1162 if test ! -r "$srcdir/$ac_unique_file"; then
1163 srcdir=..
1164 fi
1165 else
1166 ac_srcdir_defaulted=no
1167 fi
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1169 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1170 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1171 fi
1172 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1173 ac_abs_confdir=`(
1174 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1175 pwd)`
1176 # When building in place, set srcdir=.
1177 if test "$ac_abs_confdir" = "$ac_pwd"; then
1178 srcdir=.
1179 fi
1180 # Remove unnecessary trailing slashes from srcdir.
1181 # Double slashes in file names in object file debugging info
1182 # mess up M-x gdb in Emacs.
1183 case $srcdir in
1184 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1185 esac
1186 for ac_var in $ac_precious_vars; do
1187 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1188 eval ac_env_${ac_var}_value=\$${ac_var}
1189 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1190 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1191 done
1192
1193 #
1194 # Report the --help message.
1195 #
1196 if test "$ac_init_help" = "long"; then
1197 # Omit some internal or obsolete options to make the list less imposing.
1198 # This message is too long to be a string in the A/UX 3.1 sh.
1199 cat <<_ACEOF
1200 \`configure' configures this package to adapt to many kinds of systems.
1201
1202 Usage: $0 [OPTION]... [VAR=VALUE]...
1203
1204 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1205 VAR=VALUE. See below for descriptions of some of the useful variables.
1206
1207 Defaults for the options are specified in brackets.
1208
1209 Configuration:
1210 -h, --help display this help and exit
1211 --help=short display options specific to this package
1212 --help=recursive display the short help of all the included packages
1213 -V, --version display version information and exit
1214 -q, --quiet, --silent do not print \`checking ...' messages
1215 --cache-file=FILE cache test results in FILE [disabled]
1216 -C, --config-cache alias for \`--cache-file=config.cache'
1217 -n, --no-create do not create output files
1218 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1219
1220 Installation directories:
1221 --prefix=PREFIX install architecture-independent files in PREFIX
1222 [$ac_default_prefix]
1223 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1224 [PREFIX]
1225
1226 By default, \`make install' will install all the files in
1227 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1228 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1229 for instance \`--prefix=\$HOME'.
1230
1231 For better control, use the options below.
1232
1233 Fine tuning of the installation directories:
1234 --bindir=DIR user executables [EPREFIX/bin]
1235 --sbindir=DIR system admin executables [EPREFIX/sbin]
1236 --libexecdir=DIR program executables [EPREFIX/libexec]
1237 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1238 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1239 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1240 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1241 --libdir=DIR object code libraries [EPREFIX/lib]
1242 --includedir=DIR C header files [PREFIX/include]
1243 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1244 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1245 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1246 --infodir=DIR info documentation [DATAROOTDIR/info]
1247 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1248 --mandir=DIR man documentation [DATAROOTDIR/man]
1249 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1250 --htmldir=DIR html documentation [DOCDIR]
1251 --dvidir=DIR dvi documentation [DOCDIR]
1252 --pdfdir=DIR pdf documentation [DOCDIR]
1253 --psdir=DIR ps documentation [DOCDIR]
1254 _ACEOF
1255
1256 cat <<\_ACEOF
1257 _ACEOF
1258 fi
1259
1260 if test -n "$ac_init_help"; then
1261
1262 cat <<\_ACEOF
1263
1264 Optional Packages:
1265 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1266 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1267 --without-rlm_cache build without rlm_cache
1268
1269 Some influential environment variables:
1270 CC C compiler command
1271 CFLAGS C compiler flags
1272 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1273 nonstandard directory <lib dir>
1274 LIBS libraries to pass to the linker, e.g. -l<library>
1275 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1276 you have headers in a nonstandard directory <include dir>
1277
1278 Use these variables to override the choices made by `configure' or to help
1279 it to find libraries and programs with nonstandard names/locations.
1280
1281 Report bugs to the package provider.
1282 _ACEOF
1283 ac_status=$?
1284 fi
1285
1286 if test "$ac_init_help" = "recursive"; then
1287 # If there are subdirs, report their specific --help.
1288 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1289 test -d "$ac_dir" ||
1290 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1291 continue
1292 ac_builddir=.
1293
1294 case "$ac_dir" in
1295 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1296 *)
1297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298 # A ".." for each directory in $ac_dir_suffix.
1299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300 case $ac_top_builddir_sub in
1301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 esac ;;
1304 esac
1305 ac_abs_top_builddir=$ac_pwd
1306 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307 # for backward compatibility:
1308 ac_top_builddir=$ac_top_build_prefix
1309
1310 case $srcdir in
1311 .) # We are building in place.
1312 ac_srcdir=.
1313 ac_top_srcdir=$ac_top_builddir_sub
1314 ac_abs_top_srcdir=$ac_pwd ;;
1315 [\\/]* | ?:[\\/]* ) # Absolute name.
1316 ac_srcdir=$srcdir$ac_dir_suffix;
1317 ac_top_srcdir=$srcdir
1318 ac_abs_top_srcdir=$srcdir ;;
1319 *) # Relative name.
1320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1321 ac_top_srcdir=$ac_top_build_prefix$srcdir
1322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323 esac
1324 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1325
1326 cd "$ac_dir" || { ac_status=$?; continue; }
1327 # Check for guested configure.
1328 if test -f "$ac_srcdir/configure.gnu"; then
1329 echo &&
1330 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1331 elif test -f "$ac_srcdir/configure"; then
1332 echo &&
1333 $SHELL "$ac_srcdir/configure" --help=recursive
1334 else
1335 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 fi || ac_status=$?
1337 cd "$ac_pwd" || { ac_status=$?; break; }
1338 done
1339 fi
1340
1341 test -n "$ac_init_help" && exit $ac_status
1342 if $ac_init_version; then
1343 cat <<\_ACEOF
1344 configure
1345 generated by GNU Autoconf 2.69
1346
1347 Copyright (C) 2012 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1350 _ACEOF
1351 exit
1352 fi
1353
1354 ## ------------------------ ##
1355 ## Autoconf initialization. ##
1356 ## ------------------------ ##
1357
1358 echo
1359 echo Running tests for rlm_cache
1360 echo
1361
1362
1363 # ac_fn_c_try_compile LINENO
1364 # --------------------------
1365 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1366 ac_fn_c_try_compile ()
1367 {
1368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1369 rm -f conftest.$ac_objext
1370 if { { ac_try="$ac_compile"
1371 case "(($ac_try" in
1372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1373 *) ac_try_echo=$ac_try;;
1374 esac
1375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1376 $as_echo "$ac_try_echo"; } >&5
1377 (eval "$ac_compile") 2>conftest.err
1378 ac_status=$?
1379 if test -s conftest.err; then
1380 grep -v '^ *+' conftest.err >conftest.er1
1381 cat conftest.er1 >&5
1382 mv -f conftest.er1 conftest.err
1383 fi
1384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1385 test $ac_status = 0; } && {
1386 test -z "$ac_c_werror_flag" ||
1387 test ! -s conftest.err
1388 } && test -s conftest.$ac_objext; then :
1389 ac_retval=0
1390 else
1391 $as_echo "$as_me: failed program was:" >&5
1392 sed 's/^/| /' conftest.$ac_ext >&5
1393
1394 ac_retval=1
1395 fi
1396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1397 as_fn_set_status $ac_retval
1398
1399 } # ac_fn_c_try_compile
1400 cat >config.log <<_ACEOF
1401 This file contains any messages produced by compilers while
1402 running configure, to aid debugging if configure makes a mistake.
1403
1404 It was created by $as_me, which was
1405 generated by GNU Autoconf 2.69. Invocation command line was
1406
1407 $ $0 $@
1408
1409 _ACEOF
1410 exec 5>>config.log
1411 {
1412 cat <<_ASUNAME
1413 ## --------- ##
1414 ## Platform. ##
1415 ## --------- ##
1416
1417 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1418 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1419 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1420 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1421 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1422
1423 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1424 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1425
1426 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1427 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1428 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1429 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1430 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1431 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1432 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1433
1434 _ASUNAME
1435
1436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437 for as_dir in $PATH
1438 do
1439 IFS=$as_save_IFS
1440 test -z "$as_dir" && as_dir=.
1441 $as_echo "PATH: $as_dir"
1442 done
1443 IFS=$as_save_IFS
1444
1445 } >&5
1446
1447 cat >&5 <<_ACEOF
1448
1449
1450 ## ----------- ##
1451 ## Core tests. ##
1452 ## ----------- ##
1453
1454 _ACEOF
1455
1456
1457 # Keep a trace of the command line.
1458 # Strip out --no-create and --no-recursion so they do not pile up.
1459 # Strip out --silent because we don't want to record it for future runs.
1460 # Also quote any args containing shell meta-characters.
1461 # Make two passes to allow for proper duplicate-argument suppression.
1462 ac_configure_args=
1463 ac_configure_args0=
1464 ac_configure_args1=
1465 ac_must_keep_next=false
1466 for ac_pass in 1 2
1467 do
1468 for ac_arg
1469 do
1470 case $ac_arg in
1471 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1472 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1473 | -silent | --silent | --silen | --sile | --sil)
1474 continue ;;
1475 *\'*)
1476 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1477 esac
1478 case $ac_pass in
1479 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1480 2)
1481 as_fn_append ac_configure_args1 " '$ac_arg'"
1482 if test $ac_must_keep_next = true; then
1483 ac_must_keep_next=false # Got value, back to normal.
1484 else
1485 case $ac_arg in
1486 *=* | --config-cache | -C | -disable-* | --disable-* \
1487 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1488 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1489 | -with-* | --with-* | -without-* | --without-* | --x)
1490 case "$ac_configure_args0 " in
1491 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1492 esac
1493 ;;
1494 -* ) ac_must_keep_next=true ;;
1495 esac
1496 fi
1497 as_fn_append ac_configure_args " '$ac_arg'"
1498 ;;
1499 esac
1500 done
1501 done
1502 { ac_configure_args0=; unset ac_configure_args0;}
1503 { ac_configure_args1=; unset ac_configure_args1;}
1504
1505 # When interrupted or exit'd, cleanup temporary files, and complete
1506 # config.log. We remove comments because anyway the quotes in there
1507 # would cause problems or look ugly.
1508 # WARNING: Use '\'' to represent an apostrophe within the trap.
1509 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1510 trap 'exit_status=$?
1511 # Save into config.log some information that might help in debugging.
1512 {
1513 echo
1514
1515 $as_echo "## ---------------- ##
1516 ## Cache variables. ##
1517 ## ---------------- ##"
1518 echo
1519 # The following way of writing the cache mishandles newlines in values,
1520 (
1521 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1522 eval ac_val=\$$ac_var
1523 case $ac_val in #(
1524 *${as_nl}*)
1525 case $ac_var in #(
1526 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1527 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1528 esac
1529 case $ac_var in #(
1530 _ | IFS | as_nl) ;; #(
1531 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1532 *) { eval $ac_var=; unset $ac_var;} ;;
1533 esac ;;
1534 esac
1535 done
1536 (set) 2>&1 |
1537 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1538 *${as_nl}ac_space=\ *)
1539 sed -n \
1540 "s/'\''/'\''\\\\'\'''\''/g;
1541 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1542 ;; #(
1543 *)
1544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1545 ;;
1546 esac |
1547 sort
1548 )
1549 echo
1550
1551 $as_echo "## ----------------- ##
1552 ## Output variables. ##
1553 ## ----------------- ##"
1554 echo
1555 for ac_var in $ac_subst_vars
1556 do
1557 eval ac_val=\$$ac_var
1558 case $ac_val in
1559 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1560 esac
1561 $as_echo "$ac_var='\''$ac_val'\''"
1562 done | sort
1563 echo
1564
1565 if test -n "$ac_subst_files"; then
1566 $as_echo "## ------------------- ##
1567 ## File substitutions. ##
1568 ## ------------------- ##"
1569 echo
1570 for ac_var in $ac_subst_files
1571 do
1572 eval ac_val=\$$ac_var
1573 case $ac_val in
1574 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 esac
1576 $as_echo "$ac_var='\''$ac_val'\''"
1577 done | sort
1578 echo
1579 fi
1580
1581 if test -s confdefs.h; then
1582 $as_echo "## ----------- ##
1583 ## confdefs.h. ##
1584 ## ----------- ##"
1585 echo
1586 cat confdefs.h
1587 echo
1588 fi
1589 test "$ac_signal" != 0 &&
1590 $as_echo "$as_me: caught signal $ac_signal"
1591 $as_echo "$as_me: exit $exit_status"
1592 } >&5
1593 rm -f core *.core core.conftest.* &&
1594 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1595 exit $exit_status
1596 ' 0
1597 for ac_signal in 1 2 13 15; do
1598 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1599 done
1600 ac_signal=0
1601
1602 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1603 rm -f -r conftest* confdefs.h
1604
1605 $as_echo "/* confdefs.h */" > confdefs.h
1606
1607 # Predefined preprocessor variables.
1608
1609 cat >>confdefs.h <<_ACEOF
1610 #define PACKAGE_NAME "$PACKAGE_NAME"
1611 _ACEOF
1612
1613 cat >>confdefs.h <<_ACEOF
1614 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1615 _ACEOF
1616
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1619 _ACEOF
1620
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_STRING "$PACKAGE_STRING"
1623 _ACEOF
1624
1625 cat >>confdefs.h <<_ACEOF
1626 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1627 _ACEOF
1628
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE_URL "$PACKAGE_URL"
1631 _ACEOF
1632
1633
1634 # Let the site file select an alternate cache file if it wants to.
1635 # Prefer an explicitly selected file to automatically selected ones.
1636 ac_site_file1=NONE
1637 ac_site_file2=NONE
1638 if test -n "$CONFIG_SITE"; then
1639 # We do not want a PATH search for config.site.
1640 case $CONFIG_SITE in #((
1641 -*) ac_site_file1=./$CONFIG_SITE;;
1642 */*) ac_site_file1=$CONFIG_SITE;;
1643 *) ac_site_file1=./$CONFIG_SITE;;
1644 esac
1645 elif test "x$prefix" != xNONE; then
1646 ac_site_file1=$prefix/share/config.site
1647 ac_site_file2=$prefix/etc/config.site
1648 else
1649 ac_site_file1=$ac_default_prefix/share/config.site
1650 ac_site_file2=$ac_default_prefix/etc/config.site
1651 fi
1652 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1653 do
1654 test "x$ac_site_file" = xNONE && continue
1655 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1657 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1658 sed 's/^/| /' "$ac_site_file" >&5
1659 . "$ac_site_file" \
1660 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1662 as_fn_error $? "failed to load site script $ac_site_file
1663 See \`config.log' for more details" "$LINENO" 5; }
1664 fi
1665 done
1666
1667 if test -r "$cache_file"; then
1668 # Some versions of bash will fail to source /dev/null (special files
1669 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1670 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1672 $as_echo "$as_me: loading cache $cache_file" >&6;}
1673 case $cache_file in
1674 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1675 *) . "./$cache_file";;
1676 esac
1677 fi
1678 else
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1680 $as_echo "$as_me: creating cache $cache_file" >&6;}
1681 >$cache_file
1682 fi
1683
1684 # Check that the precious variables saved in the cache have kept the same
1685 # value.
1686 ac_cache_corrupted=false
1687 for ac_var in $ac_precious_vars; do
1688 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1689 eval ac_new_set=\$ac_env_${ac_var}_set
1690 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1691 eval ac_new_val=\$ac_env_${ac_var}_value
1692 case $ac_old_set,$ac_new_set in
1693 set,)
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1695 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1696 ac_cache_corrupted=: ;;
1697 ,set)
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1699 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1700 ac_cache_corrupted=: ;;
1701 ,);;
1702 *)
1703 if test "x$ac_old_val" != "x$ac_new_val"; then
1704 # differences in whitespace do not lead to failure.
1705 ac_old_val_w=`echo x $ac_old_val`
1706 ac_new_val_w=`echo x $ac_new_val`
1707 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1709 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1710 ac_cache_corrupted=:
1711 else
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1713 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1714 eval $ac_var=\$ac_old_val
1715 fi
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1717 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1719 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1720 fi;;
1721 esac
1722 # Pass precious variables to config.status.
1723 if test "$ac_new_set" = set; then
1724 case $ac_new_val in
1725 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1726 *) ac_arg=$ac_var=$ac_new_val ;;
1727 esac
1728 case " $ac_configure_args " in
1729 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1730 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1731 esac
1732 fi
1733 done
1734 if $ac_cache_corrupted; then
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1738 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1739 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1740 fi
1741 ## -------------------- ##
1742 ## Main body of script. ##
1743 ## -------------------- ##
1744
1745 ac_ext=c
1746 ac_cpp='$CPP $CPPFLAGS'
1747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759 # Check whether --with-rlm_cache was given.
1760 if test "${with_rlm_cache+set}" = set; then :
1761 withval=$with_rlm_cache;
1762 fi
1763
1764
1765
1766 SMART_LIBS=
1767 SMART_CLFAGS=
1768
1769
1770 fail=
1771 fr_status=
1772 fr_features=
1773 : > "config.report"
1774 : > "config.report.tmp"
1775
1776
1777
1778 if test x"$with_rlm_cache" != xno; then
1779
1780
1781 ac_ext=c
1782 ac_cpp='$CPP $CPPFLAGS'
1783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1786 if test -n "$ac_tool_prefix"; then
1787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1788 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1790 $as_echo_n "checking for $ac_word... " >&6; }
1791 if ${ac_cv_prog_CC+:} false; then :
1792 $as_echo_n "(cached) " >&6
1793 else
1794 if test -n "$CC"; then
1795 ac_cv_prog_CC="$CC" # Let the user override the test.
1796 else
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 for as_dir in $PATH
1799 do
1800 IFS=$as_save_IFS
1801 test -z "$as_dir" && as_dir=.
1802 for ac_exec_ext in '' $ac_executable_extensions; do
1803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1804 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1806 break 2
1807 fi
1808 done
1809 done
1810 IFS=$as_save_IFS
1811
1812 fi
1813 fi
1814 CC=$ac_cv_prog_CC
1815 if test -n "$CC"; then
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1817 $as_echo "$CC" >&6; }
1818 else
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1820 $as_echo "no" >&6; }
1821 fi
1822
1823
1824 fi
1825 if test -z "$ac_cv_prog_CC"; then
1826 ac_ct_CC=$CC
1827 # Extract the first word of "gcc", so it can be a program name with args.
1828 set dummy gcc; ac_word=$2
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1830 $as_echo_n "checking for $ac_word... " >&6; }
1831 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1832 $as_echo_n "(cached) " >&6
1833 else
1834 if test -n "$ac_ct_CC"; then
1835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1836 else
1837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838 for as_dir in $PATH
1839 do
1840 IFS=$as_save_IFS
1841 test -z "$as_dir" && as_dir=.
1842 for ac_exec_ext in '' $ac_executable_extensions; do
1843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1844 ac_cv_prog_ac_ct_CC="gcc"
1845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 break 2
1847 fi
1848 done
1849 done
1850 IFS=$as_save_IFS
1851
1852 fi
1853 fi
1854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1855 if test -n "$ac_ct_CC"; then
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1857 $as_echo "$ac_ct_CC" >&6; }
1858 else
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1860 $as_echo "no" >&6; }
1861 fi
1862
1863 if test "x$ac_ct_CC" = x; then
1864 CC=""
1865 else
1866 case $cross_compiling:$ac_tool_warned in
1867 yes:)
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1870 ac_tool_warned=yes ;;
1871 esac
1872 CC=$ac_ct_CC
1873 fi
1874 else
1875 CC="$ac_cv_prog_CC"
1876 fi
1877
1878 if test -z "$CC"; then
1879 if test -n "$ac_tool_prefix"; then
1880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1881 set dummy ${ac_tool_prefix}cc; ac_word=$2
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1883 $as_echo_n "checking for $ac_word... " >&6; }
1884 if ${ac_cv_prog_CC+:} false; then :
1885 $as_echo_n "(cached) " >&6
1886 else
1887 if test -n "$CC"; then
1888 ac_cv_prog_CC="$CC" # Let the user override the test.
1889 else
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 for as_dir in $PATH
1892 do
1893 IFS=$as_save_IFS
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_CC="${ac_tool_prefix}cc"
1898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 break 2
1900 fi
1901 done
1902 done
1903 IFS=$as_save_IFS
1904
1905 fi
1906 fi
1907 CC=$ac_cv_prog_CC
1908 if test -n "$CC"; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1910 $as_echo "$CC" >&6; }
1911 else
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1913 $as_echo "no" >&6; }
1914 fi
1915
1916
1917 fi
1918 fi
1919 if test -z "$CC"; then
1920 # Extract the first word of "cc", so it can be a program name with args.
1921 set dummy cc; ac_word=$2
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1923 $as_echo_n "checking for $ac_word... " >&6; }
1924 if ${ac_cv_prog_CC+:} false; then :
1925 $as_echo_n "(cached) " >&6
1926 else
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC="$CC" # Let the user override the test.
1929 else
1930 ac_prog_rejected=no
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 for as_dir in $PATH
1933 do
1934 IFS=$as_save_IFS
1935 test -z "$as_dir" && as_dir=.
1936 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1939 ac_prog_rejected=yes
1940 continue
1941 fi
1942 ac_cv_prog_CC="cc"
1943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 break 2
1945 fi
1946 done
1947 done
1948 IFS=$as_save_IFS
1949
1950 if test $ac_prog_rejected = yes; then
1951 # We found a bogon in the path, so make sure we never use it.
1952 set dummy $ac_cv_prog_CC
1953 shift
1954 if test $# != 0; then
1955 # We chose a different compiler from the bogus one.
1956 # However, it has the same basename, so the bogon will be chosen
1957 # first if we set CC to just the basename; use the full file name.
1958 shift
1959 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1960 fi
1961 fi
1962 fi
1963 fi
1964 CC=$ac_cv_prog_CC
1965 if test -n "$CC"; then
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1967 $as_echo "$CC" >&6; }
1968 else
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1970 $as_echo "no" >&6; }
1971 fi
1972
1973
1974 fi
1975 if test -z "$CC"; then
1976 if test -n "$ac_tool_prefix"; then
1977 for ac_prog in cl.exe
1978 do
1979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1982 $as_echo_n "checking for $ac_word... " >&6; }
1983 if ${ac_cv_prog_CC+:} false; then :
1984 $as_echo_n "(cached) " >&6
1985 else
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC="$CC" # Let the user override the test.
1988 else
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 for as_dir in $PATH
1991 do
1992 IFS=$as_save_IFS
1993 test -z "$as_dir" && as_dir=.
1994 for ac_exec_ext in '' $ac_executable_extensions; do
1995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 break 2
1999 fi
2000 done
2001 done
2002 IFS=$as_save_IFS
2003
2004 fi
2005 fi
2006 CC=$ac_cv_prog_CC
2007 if test -n "$CC"; then
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2009 $as_echo "$CC" >&6; }
2010 else
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2012 $as_echo "no" >&6; }
2013 fi
2014
2015
2016 test -n "$CC" && break
2017 done
2018 fi
2019 if test -z "$CC"; then
2020 ac_ct_CC=$CC
2021 for ac_prog in cl.exe
2022 do
2023 # Extract the first word of "$ac_prog", so it can be a program name with args.
2024 set dummy $ac_prog; ac_word=$2
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2026 $as_echo_n "checking for $ac_word... " >&6; }
2027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2028 $as_echo_n "(cached) " >&6
2029 else
2030 if test -n "$ac_ct_CC"; then
2031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2032 else
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2035 do
2036 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_ac_ct_CC="$ac_prog"
2041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2
2043 fi
2044 done
2045 done
2046 IFS=$as_save_IFS
2047
2048 fi
2049 fi
2050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2051 if test -n "$ac_ct_CC"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2053 $as_echo "$ac_ct_CC" >&6; }
2054 else
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2056 $as_echo "no" >&6; }
2057 fi
2058
2059
2060 test -n "$ac_ct_CC" && break
2061 done
2062
2063 if test "x$ac_ct_CC" = x; then
2064 CC=""
2065 else
2066 case $cross_compiling:$ac_tool_warned in
2067 yes:)
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2070 ac_tool_warned=yes ;;
2071 esac
2072 CC=$ac_ct_CC
2073 fi
2074 fi
2075
2076 fi
2077
2078
2079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081 as_fn_error $? "no acceptable C compiler found in \$PATH
2082 See \`config.log' for more details" "$LINENO" 5; }
2083
2084 # Provide some information about the compiler.
2085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2086 set X $ac_compile
2087 ac_compiler=$2
2088 for ac_option in --version -v -V -qversion; do
2089 { { ac_try="$ac_compiler $ac_option >&5"
2090 case "(($ac_try" in
2091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2092 *) ac_try_echo=$ac_try;;
2093 esac
2094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095 $as_echo "$ac_try_echo"; } >&5
2096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2097 ac_status=$?
2098 if test -s conftest.err; then
2099 sed '10a\
2100 ... rest of stderr output deleted ...
2101 10q' conftest.err >conftest.er1
2102 cat conftest.er1 >&5
2103 fi
2104 rm -f conftest.er1 conftest.err
2105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; }
2107 done
2108
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2111
2112 int
2113 main ()
2114 {
2115
2116 ;
2117 return 0;
2118 }
2119 _ACEOF
2120 ac_clean_files_save=$ac_clean_files
2121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2122 # Try to create an executable without -o first, disregard a.out.
2123 # It will help us diagnose broken compilers, and finding out an intuition
2124 # of exeext.
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2126 $as_echo_n "checking whether the C compiler works... " >&6; }
2127 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2128
2129 # The possible output files:
2130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2131
2132 ac_rmfiles=
2133 for ac_file in $ac_files
2134 do
2135 case $ac_file in
2136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2138 esac
2139 done
2140 rm -f $ac_rmfiles
2141
2142 if { { ac_try="$ac_link_default"
2143 case "(($ac_try" in
2144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2145 *) ac_try_echo=$ac_try;;
2146 esac
2147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2148 $as_echo "$ac_try_echo"; } >&5
2149 (eval "$ac_link_default") 2>&5
2150 ac_status=$?
2151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2152 test $ac_status = 0; }; then :
2153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2156 # so that the user can short-circuit this test for compilers unknown to
2157 # Autoconf.
2158 for ac_file in $ac_files ''
2159 do
2160 test -f "$ac_file" || continue
2161 case $ac_file in
2162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2163 ;;
2164 [ab].out )
2165 # We found the default executable, but exeext='' is most
2166 # certainly right.
2167 break;;
2168 *.* )
2169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2170 then :; else
2171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2172 fi
2173 # We set ac_cv_exeext here because the later test for it is not
2174 # safe: cross compilers may not add the suffix if given an `-o'
2175 # argument, so we may need to know it at that point already.
2176 # Even if this section looks crufty: it has the advantage of
2177 # actually working.
2178 break;;
2179 * )
2180 break;;
2181 esac
2182 done
2183 test "$ac_cv_exeext" = no && ac_cv_exeext=
2184
2185 else
2186 ac_file=''
2187 fi
2188 if test -z "$ac_file"; then :
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2190 $as_echo "no" >&6; }
2191 $as_echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.$ac_ext >&5
2193
2194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196 as_fn_error 77 "C compiler cannot create executables
2197 See \`config.log' for more details" "$LINENO" 5; }
2198 else
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2200 $as_echo "yes" >&6; }
2201 fi
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2203 $as_echo_n "checking for C compiler default output file name... " >&6; }
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2205 $as_echo "$ac_file" >&6; }
2206 ac_exeext=$ac_cv_exeext
2207
2208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2209 ac_clean_files=$ac_clean_files_save
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2211 $as_echo_n "checking for suffix of executables... " >&6; }
2212 if { { ac_try="$ac_link"
2213 case "(($ac_try" in
2214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2216 esac
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_link") 2>&5
2220 ac_status=$?
2221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2222 test $ac_status = 0; }; then :
2223 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2224 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2225 # work properly (i.e., refer to `conftest.exe'), while it won't with
2226 # `rm'.
2227 for ac_file in conftest.exe conftest conftest.*; do
2228 test -f "$ac_file" || continue
2229 case $ac_file in
2230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2231 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2232 break;;
2233 * ) break;;
2234 esac
2235 done
2236 else
2237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2239 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2240 See \`config.log' for more details" "$LINENO" 5; }
2241 fi
2242 rm -f conftest conftest$ac_cv_exeext
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2244 $as_echo "$ac_cv_exeext" >&6; }
2245
2246 rm -f conftest.$ac_ext
2247 EXEEXT=$ac_cv_exeext
2248 ac_exeext=$EXEEXT
2249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h. */
2251 #include <stdio.h>
2252 int
2253 main ()
2254 {
2255 FILE *f = fopen ("conftest.out", "w");
2256 return ferror (f) || fclose (f) != 0;
2257
2258 ;
2259 return 0;
2260 }
2261 _ACEOF
2262 ac_clean_files="$ac_clean_files conftest.out"
2263 # Check that the compiler produces executables we can run. If not, either
2264 # the compiler is broken, or we cross compile.
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2266 $as_echo_n "checking whether we are cross compiling... " >&6; }
2267 if test "$cross_compiling" != yes; then
2268 { { ac_try="$ac_link"
2269 case "(($ac_try" in
2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2271 *) ac_try_echo=$ac_try;;
2272 esac
2273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2274 $as_echo "$ac_try_echo"; } >&5
2275 (eval "$ac_link") 2>&5
2276 ac_status=$?
2277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2278 test $ac_status = 0; }
2279 if { ac_try='./conftest$ac_cv_exeext'
2280 { { case "(($ac_try" in
2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2282 *) ac_try_echo=$ac_try;;
2283 esac
2284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2285 $as_echo "$ac_try_echo"; } >&5
2286 (eval "$ac_try") 2>&5
2287 ac_status=$?
2288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2289 test $ac_status = 0; }; }; then
2290 cross_compiling=no
2291 else
2292 if test "$cross_compiling" = maybe; then
2293 cross_compiling=yes
2294 else
2295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2297 as_fn_error $? "cannot run C compiled programs.
2298 If you meant to cross compile, use \`--host'.
2299 See \`config.log' for more details" "$LINENO" 5; }
2300 fi
2301 fi
2302 fi
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2304 $as_echo "$cross_compiling" >&6; }
2305
2306 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2307 ac_clean_files=$ac_clean_files_save
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2309 $as_echo_n "checking for suffix of object files... " >&6; }
2310 if ${ac_cv_objext+:} false; then :
2311 $as_echo_n "(cached) " >&6
2312 else
2313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2314 /* end confdefs.h. */
2315
2316 int
2317 main ()
2318 {
2319
2320 ;
2321 return 0;
2322 }
2323 _ACEOF
2324 rm -f conftest.o conftest.obj
2325 if { { ac_try="$ac_compile"
2326 case "(($ac_try" in
2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2329 esac
2330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2331 $as_echo "$ac_try_echo"; } >&5
2332 (eval "$ac_compile") 2>&5
2333 ac_status=$?
2334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2335 test $ac_status = 0; }; then :
2336 for ac_file in conftest.o conftest.obj conftest.*; do
2337 test -f "$ac_file" || continue;
2338 case $ac_file in
2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2341 break;;
2342 esac
2343 done
2344 else
2345 $as_echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.$ac_ext >&5
2347
2348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2350 as_fn_error $? "cannot compute suffix of object files: cannot compile
2351 See \`config.log' for more details" "$LINENO" 5; }
2352 fi
2353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2354 fi
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2356 $as_echo "$ac_cv_objext" >&6; }
2357 OBJEXT=$ac_cv_objext
2358 ac_objext=$OBJEXT
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2361 if ${ac_cv_c_compiler_gnu+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363 else
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2366
2367 int
2368 main ()
2369 {
2370 #ifndef __GNUC__
2371 choke me
2372 #endif
2373
2374 ;
2375 return 0;
2376 }
2377 _ACEOF
2378 if ac_fn_c_try_compile "$LINENO"; then :
2379 ac_compiler_gnu=yes
2380 else
2381 ac_compiler_gnu=no
2382 fi
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2385
2386 fi
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2389 if test $ac_compiler_gnu = yes; then
2390 GCC=yes
2391 else
2392 GCC=
2393 fi
2394 ac_test_CFLAGS=${CFLAGS+set}
2395 ac_save_CFLAGS=$CFLAGS
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2398 if ${ac_cv_prog_cc_g+:} false; then :
2399 $as_echo_n "(cached) " >&6
2400 else
2401 ac_save_c_werror_flag=$ac_c_werror_flag
2402 ac_c_werror_flag=yes
2403 ac_cv_prog_cc_g=no
2404 CFLAGS="-g"
2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2406 /* end confdefs.h. */
2407
2408 int
2409 main ()
2410 {
2411
2412 ;
2413 return 0;
2414 }
2415 _ACEOF
2416 if ac_fn_c_try_compile "$LINENO"; then :
2417 ac_cv_prog_cc_g=yes
2418 else
2419 CFLAGS=""
2420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2421 /* end confdefs.h. */
2422
2423 int
2424 main ()
2425 {
2426
2427 ;
2428 return 0;
2429 }
2430 _ACEOF
2431 if ac_fn_c_try_compile "$LINENO"; then :
2432
2433 else
2434 ac_c_werror_flag=$ac_save_c_werror_flag
2435 CFLAGS="-g"
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2438
2439 int
2440 main ()
2441 {
2442
2443 ;
2444 return 0;
2445 }
2446 _ACEOF
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_cv_prog_cc_g=yes
2449 fi
2450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451 fi
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 fi
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 ac_c_werror_flag=$ac_save_c_werror_flag
2456 fi
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2458 $as_echo "$ac_cv_prog_cc_g" >&6; }
2459 if test "$ac_test_CFLAGS" = set; then
2460 CFLAGS=$ac_save_CFLAGS
2461 elif test $ac_cv_prog_cc_g = yes; then
2462 if test "$GCC" = yes; then
2463 CFLAGS="-g -O2"
2464 else
2465 CFLAGS="-g"
2466 fi
2467 else
2468 if test "$GCC" = yes; then
2469 CFLAGS="-O2"
2470 else
2471 CFLAGS=
2472 fi
2473 fi
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2476 if ${ac_cv_prog_cc_c89+:} false; then :
2477 $as_echo_n "(cached) " >&6
2478 else
2479 ac_cv_prog_cc_c89=no
2480 ac_save_CC=$CC
2481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482 /* end confdefs.h. */
2483 #include <stdarg.h>
2484 #include <stdio.h>
2485 struct stat;
2486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2487 struct buf { int x; };
2488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2489 static char *e (p, i)
2490 char **p;
2491 int i;
2492 {
2493 return p[i];
2494 }
2495 static char *f (char * (*g) (char **, int), char **p, ...)
2496 {
2497 char *s;
2498 va_list v;
2499 va_start (v,p);
2500 s = g (p, va_arg (v,int));
2501 va_end (v);
2502 return s;
2503 }
2504
2505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2506 function prototypes and stuff, but not '\xHH' hex character constants.
2507 These don't provoke an error unfortunately, instead are silently treated
2508 as 'x'. The following induces an error, until -std is added to get
2509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2510 array size at least. It's necessary to write '\x00'==0 to get something
2511 that's true only with -std. */
2512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2513
2514 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2515 inside strings and character constants. */
2516 #define FOO(x) 'x'
2517 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2518
2519 int test (int i, double x);
2520 struct s1 {int (*f) (int a);};
2521 struct s2 {int (*f) (double a);};
2522 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2523 int argc;
2524 char **argv;
2525 int
2526 main ()
2527 {
2528 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2529 ;
2530 return 0;
2531 }
2532 _ACEOF
2533 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2534 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2535 do
2536 CC="$ac_save_CC $ac_arg"
2537 if ac_fn_c_try_compile "$LINENO"; then :
2538 ac_cv_prog_cc_c89=$ac_arg
2539 fi
2540 rm -f core conftest.err conftest.$ac_objext
2541 test "x$ac_cv_prog_cc_c89" != "xno" && break
2542 done
2543 rm -f conftest.$ac_ext
2544 CC=$ac_save_CC
2545
2546 fi
2547 # AC_CACHE_VAL
2548 case "x$ac_cv_prog_cc_c89" in
2549 x)
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2551 $as_echo "none needed" >&6; } ;;
2552 xno)
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2554 $as_echo "unsupported" >&6; } ;;
2555 *)
2556 CC="$CC $ac_cv_prog_cc_c89"
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2558 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2559 esac
2560 if test "x$ac_cv_prog_cc_c89" != xno; then :
2561
2562 fi
2563
2564 ac_ext=c
2565 ac_cpp='$CPP $CPPFLAGS'
2566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2569
2570
2571 mysubdirs=
2572 if test "x$EXPERIMENTAL" = "xyes"; then
2573 for foo in `find ./drivers -name configure -print`; do
2574 bar=`echo $foo | sed 's%/configure$%%g'`
2575 mysubdirs="$mysubdirs $bar"
2576 done
2577 else
2578 for foo in `cat stable`; do
2579 mysubdirs="$mysubdirs ./drivers/$foo"
2580 done
2581 fi
2582
2583 ln -s ../../../install-sh install-sh
2584
2585 ac_aux_dir=
2586 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2587 if test -f "$ac_dir/install-sh"; then
2588 ac_aux_dir=$ac_dir
2589 ac_install_sh="$ac_aux_dir/install-sh -c"
2590 break
2591 elif test -f "$ac_dir/install.sh"; then
2592 ac_aux_dir=$ac_dir
2593 ac_install_sh="$ac_aux_dir/install.sh -c"
2594 break
2595 elif test -f "$ac_dir/shtool"; then
2596 ac_aux_dir=$ac_dir
2597 ac_install_sh="$ac_aux_dir/shtool install -c"
2598 break
2599 fi
2600 done
2601 if test -z "$ac_aux_dir"; then
2602 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2603 fi
2604
2605 # These three variables are undocumented and unsupported,
2606 # and are intended to be withdrawn in a future Autoconf release.
2607 # They can cause serious problems if a builder's source tree is in a directory
2608 # whose full name contains unusual characters.
2609 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2610 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2611 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2612
2613
2614
2615
2616 subdirs="$subdirs $mysubdirs"
2617
2618 rm install-sh
2619
2620
2621 targetname=rlm_cache
2622 else
2623 targetname=
2624 echo \*\*\* module rlm_cache is disabled.
2625
2626
2627 fr_status="disabled"
2628
2629 fi
2630
2631 if test x"$fail" != x""; then
2632 targetname=""
2633
2634
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_cache." >&5
2636 $as_echo "$as_me: WARNING: silently not building rlm_cache." >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_cache requires: $fail." >&5
2638 $as_echo "$as_me: WARNING: FAILURE: rlm_cache requires: $fail." >&2;};
2639 fail="$(echo $fail)"
2640
2641
2642 fr_status="skipping (requires $fail)"
2643
2644 fr_features=
2645
2646 else
2647
2648
2649 fr_status="OK"
2650
2651 fi
2652
2653 if test x"$fr_features" = x""; then
2654 $as_echo "$fr_status" > "config.report"
2655 else
2656 $as_echo_n "$fr_status ... " > "config.report"
2657 cat "config.report.tmp" >> "config.report"
2658 fi
2659
2660 rm "config.report.tmp"
2661
2662
2663
2664
2665 ac_config_files="$ac_config_files all.mk"
2666
2667 cat >confcache <<\_ACEOF
2668 # This file is a shell script that caches the results of configure
2669 # tests run on this system so they can be shared between configure
2670 # scripts and configure runs, see configure's option --config-cache.
2671 # It is not useful on other systems. If it contains results you don't
2672 # want to keep, you may remove or edit it.
2673 #
2674 # config.status only pays attention to the cache file if you give it
2675 # the --recheck option to rerun configure.
2676 #
2677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2679 # following values.
2680
2681 _ACEOF
2682
2683 # The following way of writing the cache mishandles newlines in values,
2684 # but we know of no workaround that is simple, portable, and efficient.
2685 # So, we kill variables containing newlines.
2686 # Ultrix sh set writes to stderr and can't be redirected directly,
2687 # and sets the high bit in the cache file unless we assign to the vars.
2688 (
2689 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2690 eval ac_val=\$$ac_var
2691 case $ac_val in #(
2692 *${as_nl}*)
2693 case $ac_var in #(
2694 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2695 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2696 esac
2697 case $ac_var in #(
2698 _ | IFS | as_nl) ;; #(
2699 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2700 *) { eval $ac_var=; unset $ac_var;} ;;
2701 esac ;;
2702 esac
2703 done
2704
2705 (set) 2>&1 |
2706 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2707 *${as_nl}ac_space=\ *)
2708 # `set' does not quote correctly, so add quotes: double-quote
2709 # substitution turns \\\\ into \\, and sed turns \\ into \.
2710 sed -n \
2711 "s/'/'\\\\''/g;
2712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2713 ;; #(
2714 *)
2715 # `set' quotes correctly as required by POSIX, so do not add quotes.
2716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2717 ;;
2718 esac |
2719 sort
2720 ) |
2721 sed '
2722 /^ac_cv_env_/b end
2723 t clear
2724 :clear
2725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2726 t end
2727 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2728 :end' >>confcache
2729 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2730 if test -w "$cache_file"; then
2731 if test "x$cache_file" != "x/dev/null"; then
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2733 $as_echo "$as_me: updating cache $cache_file" >&6;}
2734 if test ! -f "$cache_file" || test -h "$cache_file"; then
2735 cat confcache >"$cache_file"
2736 else
2737 case $cache_file in #(
2738 */* | ?:*)
2739 mv -f confcache "$cache_file"$$ &&
2740 mv -f "$cache_file"$$ "$cache_file" ;; #(
2741 *)
2742 mv -f confcache "$cache_file" ;;
2743 esac
2744 fi
2745 fi
2746 else
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2748 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2749 fi
2750 fi
2751 rm -f confcache
2752
2753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2754 # Let make expand exec_prefix.
2755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2756
2757 # Transform confdefs.h into DEFS.
2758 # Protect against shell expansion while executing Makefile rules.
2759 # Protect against Makefile macro expansion.
2760 #
2761 # If the first sed substitution is executed (which looks for macros that
2762 # take arguments), then branch to the quote section. Otherwise,
2763 # look for a macro that doesn't take arguments.
2764 ac_script='
2765 :mline
2766 /\\$/{
2767 N
2768 s,\\\n,,
2769 b mline
2770 }
2771 t clear
2772 :clear
2773 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2774 t quote
2775 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2776 t quote
2777 b any
2778 :quote
2779 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2780 s/\[/\\&/g
2781 s/\]/\\&/g
2782 s/\$/$$/g
2783 H
2784 :any
2785 ${
2786 g
2787 s/^\n//
2788 s/\n/ /g
2789 p
2790 }
2791 '
2792 DEFS=`sed -n "$ac_script" confdefs.h`
2793
2794
2795 ac_libobjs=
2796 ac_ltlibobjs=
2797 U=
2798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2799 # 1. Remove the extension, and $U if already installed.
2800 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2801 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2802 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2803 # will be set to the directory where LIBOBJS objects are built.
2804 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2805 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2806 done
2807 LIBOBJS=$ac_libobjs
2808
2809 LTLIBOBJS=$ac_ltlibobjs
2810
2811
2812
2813 : "${CONFIG_STATUS=./config.status}"
2814 ac_write_fail=0
2815 ac_clean_files_save=$ac_clean_files
2816 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2818 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2819 as_write_fail=0
2820 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2821 #! $SHELL
2822 # Generated by $as_me.
2823 # Run this file to recreate the current configuration.
2824 # Compiler output produced by configure, useful for debugging
2825 # configure, is in config.log if it exists.
2826
2827 debug=false
2828 ac_cs_recheck=false
2829 ac_cs_silent=false
2830
2831 SHELL=\${CONFIG_SHELL-$SHELL}
2832 export SHELL
2833 _ASEOF
2834 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2835 ## -------------------- ##
2836 ## M4sh Initialization. ##
2837 ## -------------------- ##
2838
2839 # Be more Bourne compatible
2840 DUALCASE=1; export DUALCASE # for MKS sh
2841 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2842 emulate sh
2843 NULLCMD=:
2844 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2845 # is contrary to our usage. Disable this feature.
2846 alias -g '${1+"$@"}'='"$@"'
2847 setopt NO_GLOB_SUBST
2848 else
2849 case `(set -o) 2>/dev/null` in #(
2850 *posix*) :
2851 set -o posix ;; #(
2852 *) :
2853 ;;
2854 esac
2855 fi
2856
2857
2858 as_nl='
2859 '
2860 export as_nl
2861 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2862 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2865 # Prefer a ksh shell builtin over an external printf program on Solaris,
2866 # but without wasting forks for bash or zsh.
2867 if test -z "$BASH_VERSION$ZSH_VERSION" \
2868 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2869 as_echo='print -r --'
2870 as_echo_n='print -rn --'
2871 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2872 as_echo='printf %s\n'
2873 as_echo_n='printf %s'
2874 else
2875 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2876 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2877 as_echo_n='/usr/ucb/echo -n'
2878 else
2879 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2880 as_echo_n_body='eval
2881 arg=$1;
2882 case $arg in #(
2883 *"$as_nl"*)
2884 expr "X$arg" : "X\\(.*\\)$as_nl";
2885 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2886 esac;
2887 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2888 '
2889 export as_echo_n_body
2890 as_echo_n='sh -c $as_echo_n_body as_echo'
2891 fi
2892 export as_echo_body
2893 as_echo='sh -c $as_echo_body as_echo'
2894 fi
2895
2896 # The user is always right.
2897 if test "${PATH_SEPARATOR+set}" != set; then
2898 PATH_SEPARATOR=:
2899 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2900 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2901 PATH_SEPARATOR=';'
2902 }
2903 fi
2904
2905
2906 # IFS
2907 # We need space, tab and new line, in precisely that order. Quoting is
2908 # there to prevent editors from complaining about space-tab.
2909 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2910 # splitting by setting IFS to empty value.)
2911 IFS=" "" $as_nl"
2912
2913 # Find who we are. Look in the path if we contain no directory separator.
2914 as_myself=
2915 case $0 in #((
2916 *[\\/]* ) as_myself=$0 ;;
2917 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2918 for as_dir in $PATH
2919 do
2920 IFS=$as_save_IFS
2921 test -z "$as_dir" && as_dir=.
2922 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2923 done
2924 IFS=$as_save_IFS
2925
2926 ;;
2927 esac
2928 # We did not find ourselves, most probably we were run as `sh COMMAND'
2929 # in which case we are not to be found in the path.
2930 if test "x$as_myself" = x; then
2931 as_myself=$0
2932 fi
2933 if test ! -f "$as_myself"; then
2934 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2935 exit 1
2936 fi
2937
2938 # Unset variables that we do not need and which cause bugs (e.g. in
2939 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2940 # suppresses any "Segmentation fault" message there. '((' could
2941 # trigger a bug in pdksh 5.2.14.
2942 for as_var in BASH_ENV ENV MAIL MAILPATH
2943 do eval test x\${$as_var+set} = xset \
2944 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2945 done
2946 PS1='$ '
2947 PS2='> '
2948 PS4='+ '
2949
2950 # NLS nuisances.
2951 LC_ALL=C
2952 export LC_ALL
2953 LANGUAGE=C
2954 export LANGUAGE
2955
2956 # CDPATH.
2957 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2958
2959
2960 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2961 # ----------------------------------------
2962 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2963 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2964 # script with STATUS, using 1 if that was 0.
2965 as_fn_error ()
2966 {
2967 as_status=$1; test $as_status -eq 0 && as_status=1
2968 if test "$4"; then
2969 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2970 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2971 fi
2972 $as_echo "$as_me: error: $2" >&2
2973 as_fn_exit $as_status
2974 } # as_fn_error
2975
2976
2977 # as_fn_set_status STATUS
2978 # -----------------------
2979 # Set $? to STATUS, without forking.
2980 as_fn_set_status ()
2981 {
2982 return $1
2983 } # as_fn_set_status
2984
2985 # as_fn_exit STATUS
2986 # -----------------
2987 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2988 as_fn_exit ()
2989 {
2990 set +e
2991 as_fn_set_status $1
2992 exit $1
2993 } # as_fn_exit
2994
2995 # as_fn_unset VAR
2996 # ---------------
2997 # Portably unset VAR.
2998 as_fn_unset ()
2999 {
3000 { eval $1=; unset $1;}
3001 }
3002 as_unset=as_fn_unset
3003 # as_fn_append VAR VALUE
3004 # ----------------------
3005 # Append the text in VALUE to the end of the definition contained in VAR. Take
3006 # advantage of any shell optimizations that allow amortized linear growth over
3007 # repeated appends, instead of the typical quadratic growth present in naive
3008 # implementations.
3009 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3010 eval 'as_fn_append ()
3011 {
3012 eval $1+=\$2
3013 }'
3014 else
3015 as_fn_append ()
3016 {
3017 eval $1=\$$1\$2
3018 }
3019 fi # as_fn_append
3020
3021 # as_fn_arith ARG...
3022 # ------------------
3023 # Perform arithmetic evaluation on the ARGs, and store the result in the
3024 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3025 # must be portable across $(()) and expr.
3026 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3027 eval 'as_fn_arith ()
3028 {
3029 as_val=$(( $* ))
3030 }'
3031 else
3032 as_fn_arith ()
3033 {
3034 as_val=`expr "$@" || test $? -eq 1`
3035 }
3036 fi # as_fn_arith
3037
3038
3039 if expr a : '\(a\)' >/dev/null 2>&1 &&
3040 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3041 as_expr=expr
3042 else
3043 as_expr=false
3044 fi
3045
3046 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3047 as_basename=basename
3048 else
3049 as_basename=false
3050 fi
3051
3052 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3053 as_dirname=dirname
3054 else
3055 as_dirname=false
3056 fi
3057
3058 as_me=`$as_basename -- "$0" ||
3059 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3060 X"$0" : 'X\(//\)$' \| \
3061 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3062 $as_echo X/"$0" |
3063 sed '/^.*\/\([^/][^/]*\)\/*$/{
3064 s//\1/
3065 q
3066 }
3067 /^X\/\(\/\/\)$/{
3068 s//\1/
3069 q
3070 }
3071 /^X\/\(\/\).*/{
3072 s//\1/
3073 q
3074 }
3075 s/.*/./; q'`
3076
3077 # Avoid depending upon Character Ranges.
3078 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3079 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3080 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3081 as_cr_digits='0123456789'
3082 as_cr_alnum=$as_cr_Letters$as_cr_digits
3083
3084 ECHO_C= ECHO_N= ECHO_T=
3085 case `echo -n x` in #(((((
3086 -n*)
3087 case `echo 'xy\c'` in
3088 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3089 xy) ECHO_C='\c';;
3090 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3091 ECHO_T=' ';;
3092 esac;;
3093 *)
3094 ECHO_N='-n';;
3095 esac
3096
3097 rm -f conf$$ conf$$.exe conf$$.file
3098 if test -d conf$$.dir; then
3099 rm -f conf$$.dir/conf$$.file
3100 else
3101 rm -f conf$$.dir
3102 mkdir conf$$.dir 2>/dev/null
3103 fi
3104 if (echo >conf$$.file) 2>/dev/null; then
3105 if ln -s conf$$.file conf$$ 2>/dev/null; then
3106 as_ln_s='ln -s'
3107 # ... but there are two gotchas:
3108 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3109 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3110 # In both cases, we have to default to `cp -pR'.
3111 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3112 as_ln_s='cp -pR'
3113 elif ln conf$$.file conf$$ 2>/dev/null; then
3114 as_ln_s=ln
3115 else
3116 as_ln_s='cp -pR'
3117 fi
3118 else
3119 as_ln_s='cp -pR'
3120 fi
3121 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3122 rmdir conf$$.dir 2>/dev/null
3123
3124
3125 # as_fn_mkdir_p
3126 # -------------
3127 # Create "$as_dir" as a directory, including parents if necessary.
3128 as_fn_mkdir_p ()
3129 {
3130
3131 case $as_dir in #(
3132 -*) as_dir=./$as_dir;;
3133 esac
3134 test -d "$as_dir" || eval $as_mkdir_p || {
3135 as_dirs=
3136 while :; do
3137 case $as_dir in #(
3138 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3139 *) as_qdir=$as_dir;;
3140 esac
3141 as_dirs="'$as_qdir' $as_dirs"
3142 as_dir=`$as_dirname -- "$as_dir" ||
3143 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3144 X"$as_dir" : 'X\(//\)[^/]' \| \
3145 X"$as_dir" : 'X\(//\)$' \| \
3146 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3147 $as_echo X"$as_dir" |
3148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3149 s//\1/
3150 q
3151 }
3152 /^X\(\/\/\)[^/].*/{
3153 s//\1/
3154 q
3155 }
3156 /^X\(\/\/\)$/{
3157 s//\1/
3158 q
3159 }
3160 /^X\(\/\).*/{
3161 s//\1/
3162 q
3163 }
3164 s/.*/./; q'`
3165 test -d "$as_dir" && break
3166 done
3167 test -z "$as_dirs" || eval "mkdir $as_dirs"
3168 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3169
3170
3171 } # as_fn_mkdir_p
3172 if mkdir -p . 2>/dev/null; then
3173 as_mkdir_p='mkdir -p "$as_dir"'
3174 else
3175 test -d ./-p && rmdir ./-p
3176 as_mkdir_p=false
3177 fi
3178
3179
3180 # as_fn_executable_p FILE
3181 # -----------------------
3182 # Test if FILE is an executable regular file.
3183 as_fn_executable_p ()
3184 {
3185 test -f "$1" && test -x "$1"
3186 } # as_fn_executable_p
3187 as_test_x='test -x'
3188 as_executable_p=as_fn_executable_p
3189
3190 # Sed expression to map a string onto a valid CPP name.
3191 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3192
3193 # Sed expression to map a string onto a valid variable name.
3194 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3195
3196
3197 exec 6>&1
3198 ## ----------------------------------- ##
3199 ## Main body of $CONFIG_STATUS script. ##
3200 ## ----------------------------------- ##
3201 _ASEOF
3202 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3203
3204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3205 # Save the log message, to keep $0 and so on meaningful, and to
3206 # report actual input values of CONFIG_FILES etc. instead of their
3207 # values after options handling.
3208 ac_log="
3209 This file was extended by $as_me, which was
3210 generated by GNU Autoconf 2.69. Invocation command line was
3211
3212 CONFIG_FILES = $CONFIG_FILES
3213 CONFIG_HEADERS = $CONFIG_HEADERS
3214 CONFIG_LINKS = $CONFIG_LINKS
3215 CONFIG_COMMANDS = $CONFIG_COMMANDS
3216 $ $0 $@
3217
3218 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3219 "
3220
3221 _ACEOF
3222
3223 case $ac_config_files in *"
3224 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3225 esac
3226
3227
3228
3229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3230 # Files that config.status was made for.
3231 config_files="$ac_config_files"
3232
3233 _ACEOF
3234
3235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3236 ac_cs_usage="\
3237 \`$as_me' instantiates files and other configuration actions
3238 from templates according to the current configuration. Unless the files
3239 and actions are specified as TAGs, all are instantiated by default.
3240
3241 Usage: $0 [OPTION]... [TAG]...
3242
3243 -h, --help print this help, then exit
3244 -V, --version print version number and configuration settings, then exit
3245 --config print configuration, then exit
3246 -q, --quiet, --silent
3247 do not print progress messages
3248 -d, --debug don't remove temporary files
3249 --recheck update $as_me by reconfiguring in the same conditions
3250 --file=FILE[:TEMPLATE]
3251 instantiate the configuration file FILE
3252
3253 Configuration files:
3254 $config_files
3255
3256 Report bugs to the package provider."
3257
3258 _ACEOF
3259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3260 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3261 ac_cs_version="\\
3262 config.status
3263 configured by $0, generated by GNU Autoconf 2.69,
3264 with options \\"\$ac_cs_config\\"
3265
3266 Copyright (C) 2012 Free Software Foundation, Inc.
3267 This config.status script is free software; the Free Software Foundation
3268 gives unlimited permission to copy, distribute and modify it."
3269
3270 ac_pwd='$ac_pwd'
3271 srcdir='$srcdir'
3272 test -n "\$AWK" || AWK=awk
3273 _ACEOF
3274
3275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3276 # The default lists apply if the user does not specify any file.
3277 ac_need_defaults=:
3278 while test $# != 0
3279 do
3280 case $1 in
3281 --*=?*)
3282 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3283 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3284 ac_shift=:
3285 ;;
3286 --*=)
3287 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3288 ac_optarg=
3289 ac_shift=:
3290 ;;
3291 *)
3292 ac_option=$1
3293 ac_optarg=$2
3294 ac_shift=shift
3295 ;;
3296 esac
3297
3298 case $ac_option in
3299 # Handling of the options.
3300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3301 ac_cs_recheck=: ;;
3302 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3303 $as_echo "$ac_cs_version"; exit ;;
3304 --config | --confi | --conf | --con | --co | --c )
3305 $as_echo "$ac_cs_config"; exit ;;
3306 --debug | --debu | --deb | --de | --d | -d )
3307 debug=: ;;
3308 --file | --fil | --fi | --f )
3309 $ac_shift
3310 case $ac_optarg in
3311 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3312 '') as_fn_error $? "missing file argument" ;;
3313 esac
3314 as_fn_append CONFIG_FILES " '$ac_optarg'"
3315 ac_need_defaults=false;;
3316 --he | --h | --help | --hel | -h )
3317 $as_echo "$ac_cs_usage"; exit ;;
3318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3319 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3320 ac_cs_silent=: ;;
3321
3322 # This is an error.
3323 -*) as_fn_error $? "unrecognized option: \`$1'
3324 Try \`$0 --help' for more information." ;;
3325
3326 *) as_fn_append ac_config_targets " $1"
3327 ac_need_defaults=false ;;
3328
3329 esac
3330 shift
3331 done
3332
3333 ac_configure_extra_args=
3334
3335 if $ac_cs_silent; then
3336 exec 6>/dev/null
3337 ac_configure_extra_args="$ac_configure_extra_args --silent"
3338 fi
3339
3340 _ACEOF
3341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3342 if \$ac_cs_recheck; then
3343 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3344 shift
3345 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3346 CONFIG_SHELL='$SHELL'
3347 export CONFIG_SHELL
3348 exec "\$@"
3349 fi
3350
3351 _ACEOF
3352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3353 exec 5>>config.log
3354 {
3355 echo
3356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3357 ## Running $as_me. ##
3358 _ASBOX
3359 $as_echo "$ac_log"
3360 } >&5
3361
3362 _ACEOF
3363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3364 _ACEOF
3365
3366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3367
3368 # Handling of arguments.
3369 for ac_config_target in $ac_config_targets
3370 do
3371 case $ac_config_target in
3372 "all.mk") CONFIG_FILES="$CONFIG_FILES all.mk" ;;
3373
3374 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3375 esac
3376 done
3377
3378
3379 # If the user did not use the arguments to specify the items to instantiate,
3380 # then the envvar interface is used. Set only those that are not.
3381 # We use the long form for the default assignment because of an extremely
3382 # bizarre bug on SunOS 4.1.3.
3383 if $ac_need_defaults; then
3384 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3385 fi
3386
3387 # Have a temporary directory for convenience. Make it in the build tree
3388 # simply because there is no reason against having it here, and in addition,
3389 # creating and moving files from /tmp can sometimes cause problems.
3390 # Hook for its removal unless debugging.
3391 # Note that there is a small window in which the directory will not be cleaned:
3392 # after its creation but before its name has been assigned to `$tmp'.
3393 $debug ||
3394 {
3395 tmp= ac_tmp=
3396 trap 'exit_status=$?
3397 : "${ac_tmp:=$tmp}"
3398 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3399 ' 0
3400 trap 'as_fn_exit 1' 1 2 13 15
3401 }
3402 # Create a (secure) tmp directory for tmp files.
3403
3404 {
3405 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3406 test -d "$tmp"
3407 } ||
3408 {
3409 tmp=./conf$$-$RANDOM
3410 (umask 077 && mkdir "$tmp")
3411 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3412 ac_tmp=$tmp
3413
3414 # Set up the scripts for CONFIG_FILES section.
3415 # No need to generate them if there are no CONFIG_FILES.
3416 # This happens for instance with `./config.status config.h'.
3417 if test -n "$CONFIG_FILES"; then
3418
3419
3420 ac_cr=`echo X | tr X '\015'`
3421 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3422 # But we know of no other shell where ac_cr would be empty at this
3423 # point, so we can use a bashism as a fallback.
3424 if test "x$ac_cr" = x; then
3425 eval ac_cr=\$\'\\r\'
3426 fi
3427 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3428 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3429 ac_cs_awk_cr='\\r'
3430 else
3431 ac_cs_awk_cr=$ac_cr
3432 fi
3433
3434 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3435 _ACEOF
3436
3437
3438 {
3439 echo "cat >conf$$subs.awk <<_ACEOF" &&
3440 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3441 echo "_ACEOF"
3442 } >conf$$subs.sh ||
3443 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3444 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3445 ac_delim='%!_!# '
3446 for ac_last_try in false false false false false :; do
3447 . ./conf$$subs.sh ||
3448 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3449
3450 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3451 if test $ac_delim_n = $ac_delim_num; then
3452 break
3453 elif $ac_last_try; then
3454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3455 else
3456 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3457 fi
3458 done
3459 rm -f conf$$subs.sh
3460
3461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3462 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3463 _ACEOF
3464 sed -n '
3465 h
3466 s/^/S["/; s/!.*/"]=/
3467 p
3468 g
3469 s/^[^!]*!//
3470 :repl
3471 t repl
3472 s/'"$ac_delim"'$//
3473 t delim
3474 :nl
3475 h
3476 s/\(.\{148\}\)..*/\1/
3477 t more1
3478 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3479 p
3480 n
3481 b repl
3482 :more1
3483 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3484 p
3485 g
3486 s/.\{148\}//
3487 t nl
3488 :delim
3489 h
3490 s/\(.\{148\}\)..*/\1/
3491 t more2
3492 s/["\\]/\\&/g; s/^/"/; s/$/"/
3493 p
3494 b
3495 :more2
3496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3497 p
3498 g
3499 s/.\{148\}//
3500 t delim
3501 ' <conf$$subs.awk | sed '
3502 /^[^""]/{
3503 N
3504 s/\n//
3505 }
3506 ' >>$CONFIG_STATUS || ac_write_fail=1
3507 rm -f conf$$subs.awk
3508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3509 _ACAWK
3510 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3511 for (key in S) S_is_set[key] = 1
3512 FS = ""
3513
3514 }
3515 {
3516 line = $ 0
3517 nfields = split(line, field, "@")
3518 substed = 0
3519 len = length(field[1])
3520 for (i = 2; i < nfields; i++) {
3521 key = field[i]
3522 keylen = length(key)
3523 if (S_is_set[key]) {
3524 value = S[key]
3525 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3526 len += length(value) + length(field[++i])
3527 substed = 1
3528 } else
3529 len += 1 + keylen
3530 }
3531
3532 print line
3533 }
3534
3535 _ACAWK
3536 _ACEOF
3537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3538 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3539 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3540 else
3541 cat
3542 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3543 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3544 _ACEOF
3545
3546 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3547 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3548 # trailing colons and then remove the whole line if VPATH becomes empty
3549 # (actually we leave an empty line to preserve line numbers).
3550 if test "x$srcdir" = x.; then
3551 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3552 h
3553 s///
3554 s/^/:/
3555 s/[ ]*$/:/
3556 s/:\$(srcdir):/:/g
3557 s/:\${srcdir}:/:/g
3558 s/:@srcdir@:/:/g
3559 s/^:*//
3560 s/:*$//
3561 x
3562 s/\(=[ ]*\).*/\1/
3563 G
3564 s/\n//
3565 s/^[^=]*=[ ]*$//
3566 }'
3567 fi
3568
3569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3570 fi # test -n "$CONFIG_FILES"
3571
3572
3573 eval set X " :F $CONFIG_FILES "
3574 shift
3575 for ac_tag
3576 do
3577 case $ac_tag in
3578 :[FHLC]) ac_mode=$ac_tag; continue;;
3579 esac
3580 case $ac_mode$ac_tag in
3581 :[FHL]*:*);;
3582 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3583 :[FH]-) ac_tag=-:-;;
3584 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3585 esac
3586 ac_save_IFS=$IFS
3587 IFS=:
3588 set x $ac_tag
3589 IFS=$ac_save_IFS
3590 shift
3591 ac_file=$1
3592 shift
3593
3594 case $ac_mode in
3595 :L) ac_source=$1;;
3596 :[FH])
3597 ac_file_inputs=
3598 for ac_f
3599 do
3600 case $ac_f in
3601 -) ac_f="$ac_tmp/stdin";;
3602 *) # Look for the file first in the build tree, then in the source tree
3603 # (if the path is not absolute). The absolute path cannot be DOS-style,
3604 # because $ac_f cannot contain `:'.
3605 test -f "$ac_f" ||
3606 case $ac_f in
3607 [\\/$]*) false;;
3608 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3609 esac ||
3610 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3611 esac
3612 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3613 as_fn_append ac_file_inputs " '$ac_f'"
3614 done
3615
3616 # Let's still pretend it is `configure' which instantiates (i.e., don't
3617 # use $as_me), people would be surprised to read:
3618 # /* config.h. Generated by config.status. */
3619 configure_input='Generated from '`
3620 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3621 `' by configure.'
3622 if test x"$ac_file" != x-; then
3623 configure_input="$ac_file. $configure_input"
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3625 $as_echo "$as_me: creating $ac_file" >&6;}
3626 fi
3627 # Neutralize special characters interpreted by sed in replacement strings.
3628 case $configure_input in #(
3629 *\&* | *\|* | *\\* )
3630 ac_sed_conf_input=`$as_echo "$configure_input" |
3631 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3632 *) ac_sed_conf_input=$configure_input;;
3633 esac
3634
3635 case $ac_tag in
3636 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3637 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3638 esac
3639 ;;
3640 esac
3641
3642 ac_dir=`$as_dirname -- "$ac_file" ||
3643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3644 X"$ac_file" : 'X\(//\)[^/]' \| \
3645 X"$ac_file" : 'X\(//\)$' \| \
3646 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3647 $as_echo X"$ac_file" |
3648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3649 s//\1/
3650 q
3651 }
3652 /^X\(\/\/\)[^/].*/{
3653 s//\1/
3654 q
3655 }
3656 /^X\(\/\/\)$/{
3657 s//\1/
3658 q
3659 }
3660 /^X\(\/\).*/{
3661 s//\1/
3662 q
3663 }
3664 s/.*/./; q'`
3665 as_dir="$ac_dir"; as_fn_mkdir_p
3666 ac_builddir=.
3667
3668 case "$ac_dir" in
3669 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3670 *)
3671 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3672 # A ".." for each directory in $ac_dir_suffix.
3673 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3674 case $ac_top_builddir_sub in
3675 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3676 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3677 esac ;;
3678 esac
3679 ac_abs_top_builddir=$ac_pwd
3680 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3681 # for backward compatibility:
3682 ac_top_builddir=$ac_top_build_prefix
3683
3684 case $srcdir in
3685 .) # We are building in place.
3686 ac_srcdir=.
3687 ac_top_srcdir=$ac_top_builddir_sub
3688 ac_abs_top_srcdir=$ac_pwd ;;
3689 [\\/]* | ?:[\\/]* ) # Absolute name.
3690 ac_srcdir=$srcdir$ac_dir_suffix;
3691 ac_top_srcdir=$srcdir
3692 ac_abs_top_srcdir=$srcdir ;;
3693 *) # Relative name.
3694 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3695 ac_top_srcdir=$ac_top_build_prefix$srcdir
3696 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3697 esac
3698 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3699
3700
3701 case $ac_mode in
3702 :F)
3703 #
3704 # CONFIG_FILE
3705 #
3706
3707 _ACEOF
3708
3709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3710 # If the template does not know about datarootdir, expand it.
3711 # FIXME: This hack should be removed a few years after 2.60.
3712 ac_datarootdir_hack=; ac_datarootdir_seen=
3713 ac_sed_dataroot='
3714 /datarootdir/ {
3715 p
3716 q
3717 }
3718 /@datadir@/p
3719 /@docdir@/p
3720 /@infodir@/p
3721 /@localedir@/p
3722 /@mandir@/p'
3723 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3724 *datarootdir*) ac_datarootdir_seen=yes;;
3725 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3727 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3728 _ACEOF
3729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3730 ac_datarootdir_hack='
3731 s&@datadir@&$datadir&g
3732 s&@docdir@&$docdir&g
3733 s&@infodir@&$infodir&g
3734 s&@localedir@&$localedir&g
3735 s&@mandir@&$mandir&g
3736 s&\\\${datarootdir}&$datarootdir&g' ;;
3737 esac
3738 _ACEOF
3739
3740 # Neutralize VPATH when `$srcdir' = `.'.
3741 # Shell code in configure.ac might set extrasub.
3742 # FIXME: do we really want to maintain this feature?
3743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3744 ac_sed_extra="$ac_vpsub
3745 $extrasub
3746 _ACEOF
3747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3748 :t
3749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3750 s|@configure_input@|$ac_sed_conf_input|;t t
3751 s&@top_builddir@&$ac_top_builddir_sub&;t t
3752 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3753 s&@srcdir@&$ac_srcdir&;t t
3754 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3755 s&@top_srcdir@&$ac_top_srcdir&;t t
3756 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3757 s&@builddir@&$ac_builddir&;t t
3758 s&@abs_builddir@&$ac_abs_builddir&;t t
3759 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3760 $ac_datarootdir_hack
3761 "
3762 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3763 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3764
3765 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3766 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3767 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3768 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3770 which seems to be undefined. Please make sure it is defined" >&5
3771 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3772 which seems to be undefined. Please make sure it is defined" >&2;}
3773
3774 rm -f "$ac_tmp/stdin"
3775 case $ac_file in
3776 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3777 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3778 esac \
3779 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3780 ;;
3781
3782
3783
3784 esac
3785
3786 done # for ac_tag
3787
3788
3789 as_fn_exit 0
3790 _ACEOF
3791 ac_clean_files=$ac_clean_files_save
3792
3793 test $ac_write_fail = 0 ||
3794 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3795
3796
3797 # configure is writing to config.log, and then calls config.status.
3798 # config.status does its own redirection, appending to config.log.
3799 # Unfortunately, on DOS this fails, as config.log is still kept open
3800 # by configure, so config.status won't be able to write to it; its
3801 # output is simply discarded. So we exec the FD to /dev/null,
3802 # effectively closing config.log, so it can be properly (re)opened and
3803 # appended to by config.status. When coming back to configure, we
3804 # need to make the FD available again.
3805 if test "$no_create" != yes; then
3806 ac_cs_success=:
3807 ac_config_status_args=
3808 test "$silent" = yes &&
3809 ac_config_status_args="$ac_config_status_args --quiet"
3810 exec 5>/dev/null
3811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3812 exec 5>>config.log
3813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3814 # would make configure fail if this is the last instruction.
3815 $ac_cs_success || as_fn_exit 1
3816 fi
3817
3818 #
3819 # CONFIG_SUBDIRS section.
3820 #
3821 if test "$no_recursion" != yes; then
3822
3823 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3824 # so they do not pile up.
3825 ac_sub_configure_args=
3826 ac_prev=
3827 eval "set x $ac_configure_args"
3828 shift
3829 for ac_arg
3830 do
3831 if test -n "$ac_prev"; then
3832 ac_prev=
3833 continue
3834 fi
3835 case $ac_arg in
3836 -cache-file | --cache-file | --cache-fil | --cache-fi \
3837 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3838 ac_prev=cache_file ;;
3839 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3840 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3841 | --c=*)
3842 ;;
3843 --config-cache | -C)
3844 ;;
3845 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3846 ac_prev=srcdir ;;
3847 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3848 ;;
3849 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3850 ac_prev=prefix ;;
3851 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3852 ;;
3853 --disable-option-checking)
3854 ;;
3855 *)
3856 case $ac_arg in
3857 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3858 esac
3859 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3860 esac
3861 done
3862
3863 # Always prepend --prefix to ensure using the same prefix
3864 # in subdir configurations.
3865 ac_arg="--prefix=$prefix"
3866 case $ac_arg in
3867 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3868 esac
3869 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3870
3871 # Pass --silent
3872 if test "$silent" = yes; then
3873 ac_sub_configure_args="--silent $ac_sub_configure_args"
3874 fi
3875
3876 # Always prepend --disable-option-checking to silence warnings, since
3877 # different subdirs can have different --enable and --with options.
3878 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3879
3880 ac_popdir=`pwd`
3881 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3882
3883 # Do not complain, so a configure script can configure whichever
3884 # parts of a large source tree are present.
3885 test -d "$srcdir/$ac_dir" || continue
3886
3887 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3889 $as_echo "$ac_msg" >&6
3890 as_dir="$ac_dir"; as_fn_mkdir_p
3891 ac_builddir=.
3892
3893 case "$ac_dir" in
3894 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3895 *)
3896 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3897 # A ".." for each directory in $ac_dir_suffix.
3898 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3899 case $ac_top_builddir_sub in
3900 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3901 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3902 esac ;;
3903 esac
3904 ac_abs_top_builddir=$ac_pwd
3905 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3906 # for backward compatibility:
3907 ac_top_builddir=$ac_top_build_prefix
3908
3909 case $srcdir in
3910 .) # We are building in place.
3911 ac_srcdir=.
3912 ac_top_srcdir=$ac_top_builddir_sub
3913 ac_abs_top_srcdir=$ac_pwd ;;
3914 [\\/]* | ?:[\\/]* ) # Absolute name.
3915 ac_srcdir=$srcdir$ac_dir_suffix;
3916 ac_top_srcdir=$srcdir
3917 ac_abs_top_srcdir=$srcdir ;;
3918 *) # Relative name.
3919 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3920 ac_top_srcdir=$ac_top_build_prefix$srcdir
3921 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3922 esac
3923 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3924
3925
3926 cd "$ac_dir"
3927
3928 # Check for guested configure; otherwise get Cygnus style configure.
3929 if test -f "$ac_srcdir/configure.gnu"; then
3930 ac_sub_configure=$ac_srcdir/configure.gnu
3931 elif test -f "$ac_srcdir/configure"; then
3932 ac_sub_configure=$ac_srcdir/configure
3933 elif test -f "$ac_srcdir/configure.in"; then
3934 # This should be Cygnus configure.
3935 ac_sub_configure=$ac_aux_dir/configure
3936 else
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3938 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3939 ac_sub_configure=
3940 fi
3941
3942 # The recursion is here.
3943 if test -n "$ac_sub_configure"; then
3944 # Make the cache file name correct relative to the subdirectory.
3945 case $cache_file in
3946 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3947 *) # Relative name.
3948 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3949 esac
3950
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3952 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3953 # The eval makes quoting arguments work.
3954 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3955 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3956 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3957 fi
3958
3959 cd "$ac_popdir"
3960 done
3961 fi
3962 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3964 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3965 fi
3966