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