Debian Codegraph @

configure

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