Debian Codegraph @

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