Debian Codegraph @

contrib/mod_auth_otp/configure

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