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