Debian Codegraph @

configure

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