/cp
[official-gcc.git] / gotools / configure
blob21be4655a3f66a582a9f26feb04a80e73ad21fbc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174 else
175 as_have_required=no
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179 else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
199 done;;
200 esac
201 as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227 else
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
233 exit 1
237 SHELL=${CONFIG_SHELL-/bin/sh}
238 export SHELL
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
251 { eval $1=; unset $1;}
253 as_unset=as_fn_unset
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
260 return $1
261 } # as_fn_set_status
263 # as_fn_exit STATUS
264 # -----------------
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266 as_fn_exit ()
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
304 /^X\(\/\/\)$/{
305 s//\1/
308 /^X\(\/\).*/{
309 s//\1/
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319 } # as_fn_mkdir_p
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
325 # implementations.
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
329 eval $1+=\$2
331 else
332 as_fn_append ()
334 eval $1=\$$1\$2
336 fi # as_fn_append
338 # as_fn_arith ARG...
339 # ------------------
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
346 as_val=$(( $* ))
348 else
349 as_fn_arith ()
351 as_val=`expr "$@" || test $? -eq 1`
353 fi # as_fn_arith
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
361 as_fn_error ()
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
374 as_expr=expr
375 else
376 as_expr=false
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387 else
388 as_dirname=false
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395 $as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
400 /^X\/\(\/\/\)$/{
401 s//\1/
404 /^X\/\(\/\).*/{
405 s//\1/
408 s/.*/./; q'`
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
431 :lineno
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435 t loop
436 s/-\n.*//
437 ' >$as_me.lineno &&
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
445 # Exit status is that of the last command.
446 exit
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
451 -n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
459 ECHO_N='-n';;
460 esac
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
465 else
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
471 as_ln_s='ln -s'
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
483 else
484 as_ln_s='cp -p'
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
491 else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
496 if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498 else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
517 as_executable_p=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev/null 6>&1
528 # Name of the host.
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
534 # Initializations.
536 ac_default_prefix=/usr/local
537 ac_clean_files=
538 ac_config_libobj_dir=.
539 LIBOBJS=
540 cross_compiling=no
541 subdirs=
542 MFLAGS=
543 MAKEFLAGS=
545 # Identity of this package.
546 PACKAGE_NAME='package-unused'
547 PACKAGE_TARNAME='gotools'
548 PACKAGE_VERSION='version-unused'
549 PACKAGE_STRING='package-unused version-unused'
550 PACKAGE_BUGREPORT=''
551 PACKAGE_URL=''
553 ac_unique_file="Makefile.am"
554 ac_subst_vars='am__EXEEXT_FALSE
555 am__EXEEXT_TRUE
556 LTLIBOBJS
557 LIBOBJS
558 NET_LIBS
559 NATIVE_FALSE
560 NATIVE_TRUE
561 GOCFLAGS
563 am__fastdepCC_FALSE
564 am__fastdepCC_TRUE
565 CCDEPMODE
566 AMDEPBACKSLASH
567 AMDEP_FALSE
568 AMDEP_TRUE
569 am__quote
570 am__include
571 DEPDIR
572 OBJEXT
573 EXEEXT
574 ac_ct_CC
575 CPPFLAGS
576 LDFLAGS
577 CFLAGS
579 MAINT
580 MAINTAINER_MODE_FALSE
581 MAINTAINER_MODE_TRUE
582 am__untar
583 am__tar
584 AMTAR
585 am__leading_dot
586 SET_MAKE
588 mkdir_p
589 MKDIR_P
590 INSTALL_STRIP_PROGRAM
591 STRIP
592 install_sh
593 MAKEINFO
594 AUTOHEADER
595 AUTOMAKE
596 AUTOCONF
597 ACLOCAL
598 VERSION
599 PACKAGE
600 CYGPATH_W
601 am__isrc
602 INSTALL_DATA
603 INSTALL_SCRIPT
604 INSTALL_PROGRAM
605 target_os
606 target_vendor
607 target_cpu
608 target
609 host_os
610 host_vendor
611 host_cpu
612 host
613 target_noncanonical
614 host_noncanonical
615 build_noncanonical
616 build_os
617 build_vendor
618 build_cpu
619 build
620 target_alias
621 host_alias
622 build_alias
623 LIBS
624 ECHO_T
625 ECHO_N
626 ECHO_C
627 DEFS
628 mandir
629 localedir
630 libdir
631 psdir
632 pdfdir
633 dvidir
634 htmldir
635 infodir
636 docdir
637 oldincludedir
638 includedir
639 localstatedir
640 sharedstatedir
641 sysconfdir
642 datadir
643 datarootdir
644 libexecdir
645 sbindir
646 bindir
647 program_transform_name
648 prefix
649 exec_prefix
650 PACKAGE_URL
651 PACKAGE_BUGREPORT
652 PACKAGE_STRING
653 PACKAGE_VERSION
654 PACKAGE_TARNAME
655 PACKAGE_NAME
656 PATH_SEPARATOR
657 SHELL'
658 ac_subst_files=''
659 ac_user_opts='
660 enable_option_checking
661 enable_maintainer_mode
662 enable_dependency_tracking
664 ac_precious_vars='build_alias
665 host_alias
666 target_alias
668 CFLAGS
669 LDFLAGS
670 LIBS
671 CPPFLAGS
673 GOCFLAGS'
676 # Initialize some variables set by options.
677 ac_init_help=
678 ac_init_version=false
679 ac_unrecognized_opts=
680 ac_unrecognized_sep=
681 # The variables have the same names as the options, with
682 # dashes changed to underlines.
683 cache_file=/dev/null
684 exec_prefix=NONE
685 no_create=
686 no_recursion=
687 prefix=NONE
688 program_prefix=NONE
689 program_suffix=NONE
690 program_transform_name=s,x,x,
691 silent=
692 site=
693 srcdir=
694 verbose=
695 x_includes=NONE
696 x_libraries=NONE
698 # Installation directory options.
699 # These are left unexpanded so users can "make install exec_prefix=/foo"
700 # and all the variables that are supposed to be based on exec_prefix
701 # by default will actually change.
702 # Use braces instead of parens because sh, perl, etc. also accept them.
703 # (The list follows the same order as the GNU Coding Standards.)
704 bindir='${exec_prefix}/bin'
705 sbindir='${exec_prefix}/sbin'
706 libexecdir='${exec_prefix}/libexec'
707 datarootdir='${prefix}/share'
708 datadir='${datarootdir}'
709 sysconfdir='${prefix}/etc'
710 sharedstatedir='${prefix}/com'
711 localstatedir='${prefix}/var'
712 includedir='${prefix}/include'
713 oldincludedir='/usr/include'
714 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
715 infodir='${datarootdir}/info'
716 htmldir='${docdir}'
717 dvidir='${docdir}'
718 pdfdir='${docdir}'
719 psdir='${docdir}'
720 libdir='${exec_prefix}/lib'
721 localedir='${datarootdir}/locale'
722 mandir='${datarootdir}/man'
724 ac_prev=
725 ac_dashdash=
726 for ac_option
728 # If the previous option needs an argument, assign it.
729 if test -n "$ac_prev"; then
730 eval $ac_prev=\$ac_option
731 ac_prev=
732 continue
735 case $ac_option in
736 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
737 *) ac_optarg=yes ;;
738 esac
740 # Accept the important Cygnus configure options, so we can diagnose typos.
742 case $ac_dashdash$ac_option in
744 ac_dashdash=yes ;;
746 -bindir | --bindir | --bindi | --bind | --bin | --bi)
747 ac_prev=bindir ;;
748 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749 bindir=$ac_optarg ;;
751 -build | --build | --buil | --bui | --bu)
752 ac_prev=build_alias ;;
753 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
754 build_alias=$ac_optarg ;;
756 -cache-file | --cache-file | --cache-fil | --cache-fi \
757 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
758 ac_prev=cache_file ;;
759 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
760 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
761 cache_file=$ac_optarg ;;
763 --config-cache | -C)
764 cache_file=config.cache ;;
766 -datadir | --datadir | --datadi | --datad)
767 ac_prev=datadir ;;
768 -datadir=* | --datadir=* | --datadi=* | --datad=*)
769 datadir=$ac_optarg ;;
771 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
772 | --dataroo | --dataro | --datar)
773 ac_prev=datarootdir ;;
774 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
775 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
776 datarootdir=$ac_optarg ;;
778 -disable-* | --disable-*)
779 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
782 as_fn_error "invalid feature name: $ac_useropt"
783 ac_useropt_orig=$ac_useropt
784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785 case $ac_user_opts in
787 "enable_$ac_useropt"
788 "*) ;;
789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790 ac_unrecognized_sep=', ';;
791 esac
792 eval enable_$ac_useropt=no ;;
794 -docdir | --docdir | --docdi | --doc | --do)
795 ac_prev=docdir ;;
796 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797 docdir=$ac_optarg ;;
799 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800 ac_prev=dvidir ;;
801 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802 dvidir=$ac_optarg ;;
804 -enable-* | --enable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
813 "enable_$ac_useropt"
814 "*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=\$ac_optarg ;;
820 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
821 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
822 | --exec | --exe | --ex)
823 ac_prev=exec_prefix ;;
824 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
825 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
826 | --exec=* | --exe=* | --ex=*)
827 exec_prefix=$ac_optarg ;;
829 -gas | --gas | --ga | --g)
830 # Obsolete; use --with-gas.
831 with_gas=yes ;;
833 -help | --help | --hel | --he | -h)
834 ac_init_help=long ;;
835 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
836 ac_init_help=recursive ;;
837 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
838 ac_init_help=short ;;
840 -host | --host | --hos | --ho)
841 ac_prev=host_alias ;;
842 -host=* | --host=* | --hos=* | --ho=*)
843 host_alias=$ac_optarg ;;
845 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
846 ac_prev=htmldir ;;
847 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
848 | --ht=*)
849 htmldir=$ac_optarg ;;
851 -includedir | --includedir | --includedi | --included | --include \
852 | --includ | --inclu | --incl | --inc)
853 ac_prev=includedir ;;
854 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
855 | --includ=* | --inclu=* | --incl=* | --inc=*)
856 includedir=$ac_optarg ;;
858 -infodir | --infodir | --infodi | --infod | --info | --inf)
859 ac_prev=infodir ;;
860 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
861 infodir=$ac_optarg ;;
863 -libdir | --libdir | --libdi | --libd)
864 ac_prev=libdir ;;
865 -libdir=* | --libdir=* | --libdi=* | --libd=*)
866 libdir=$ac_optarg ;;
868 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
869 | --libexe | --libex | --libe)
870 ac_prev=libexecdir ;;
871 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
872 | --libexe=* | --libex=* | --libe=*)
873 libexecdir=$ac_optarg ;;
875 -localedir | --localedir | --localedi | --localed | --locale)
876 ac_prev=localedir ;;
877 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
878 localedir=$ac_optarg ;;
880 -localstatedir | --localstatedir | --localstatedi | --localstated \
881 | --localstate | --localstat | --localsta | --localst | --locals)
882 ac_prev=localstatedir ;;
883 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
884 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
885 localstatedir=$ac_optarg ;;
887 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
888 ac_prev=mandir ;;
889 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
890 mandir=$ac_optarg ;;
892 -nfp | --nfp | --nf)
893 # Obsolete; use --without-fp.
894 with_fp=no ;;
896 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
897 | --no-cr | --no-c | -n)
898 no_create=yes ;;
900 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
901 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902 no_recursion=yes ;;
904 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
905 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
906 | --oldin | --oldi | --old | --ol | --o)
907 ac_prev=oldincludedir ;;
908 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
909 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
910 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
911 oldincludedir=$ac_optarg ;;
913 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
914 ac_prev=prefix ;;
915 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916 prefix=$ac_optarg ;;
918 -program-prefix | --program-prefix | --program-prefi | --program-pref \
919 | --program-pre | --program-pr | --program-p)
920 ac_prev=program_prefix ;;
921 -program-prefix=* | --program-prefix=* | --program-prefi=* \
922 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
923 program_prefix=$ac_optarg ;;
925 -program-suffix | --program-suffix | --program-suffi | --program-suff \
926 | --program-suf | --program-su | --program-s)
927 ac_prev=program_suffix ;;
928 -program-suffix=* | --program-suffix=* | --program-suffi=* \
929 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
930 program_suffix=$ac_optarg ;;
932 -program-transform-name | --program-transform-name \
933 | --program-transform-nam | --program-transform-na \
934 | --program-transform-n | --program-transform- \
935 | --program-transform | --program-transfor \
936 | --program-transfo | --program-transf \
937 | --program-trans | --program-tran \
938 | --progr-tra | --program-tr | --program-t)
939 ac_prev=program_transform_name ;;
940 -program-transform-name=* | --program-transform-name=* \
941 | --program-transform-nam=* | --program-transform-na=* \
942 | --program-transform-n=* | --program-transform-=* \
943 | --program-transform=* | --program-transfor=* \
944 | --program-transfo=* | --program-transf=* \
945 | --program-trans=* | --program-tran=* \
946 | --progr-tra=* | --program-tr=* | --program-t=*)
947 program_transform_name=$ac_optarg ;;
949 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
950 ac_prev=pdfdir ;;
951 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952 pdfdir=$ac_optarg ;;
954 -psdir | --psdir | --psdi | --psd | --ps)
955 ac_prev=psdir ;;
956 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957 psdir=$ac_optarg ;;
959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
960 | -silent | --silent | --silen | --sile | --sil)
961 silent=yes ;;
963 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
964 ac_prev=sbindir ;;
965 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
966 | --sbi=* | --sb=*)
967 sbindir=$ac_optarg ;;
969 -sharedstatedir | --sharedstatedir | --sharedstatedi \
970 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
971 | --sharedst | --shareds | --shared | --share | --shar \
972 | --sha | --sh)
973 ac_prev=sharedstatedir ;;
974 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
975 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
976 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
977 | --sha=* | --sh=*)
978 sharedstatedir=$ac_optarg ;;
980 -site | --site | --sit)
981 ac_prev=site ;;
982 -site=* | --site=* | --sit=*)
983 site=$ac_optarg ;;
985 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
986 ac_prev=srcdir ;;
987 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
988 srcdir=$ac_optarg ;;
990 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
991 | --syscon | --sysco | --sysc | --sys | --sy)
992 ac_prev=sysconfdir ;;
993 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
994 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
995 sysconfdir=$ac_optarg ;;
997 -target | --target | --targe | --targ | --tar | --ta | --t)
998 ac_prev=target_alias ;;
999 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1000 target_alias=$ac_optarg ;;
1002 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1003 verbose=yes ;;
1005 -version | --version | --versio | --versi | --vers | -V)
1006 ac_init_version=: ;;
1008 -with-* | --with-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error "invalid package name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "with_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval with_$ac_useropt=\$ac_optarg ;;
1024 -without-* | --without-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 as_fn_error "invalid package name: $ac_useropt"
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "with_$ac_useropt"
1034 "*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval with_$ac_useropt=no ;;
1040 --x)
1041 # Obsolete; use --with-x.
1042 with_x=yes ;;
1044 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1045 | --x-incl | --x-inc | --x-in | --x-i)
1046 ac_prev=x_includes ;;
1047 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1048 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1049 x_includes=$ac_optarg ;;
1051 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1052 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1053 ac_prev=x_libraries ;;
1054 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1055 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1056 x_libraries=$ac_optarg ;;
1058 -*) as_fn_error "unrecognized option: \`$ac_option'
1059 Try \`$0 --help' for more information."
1062 *=*)
1063 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1064 # Reject names that are not valid shell variable names.
1065 case $ac_envvar in #(
1066 '' | [0-9]* | *[!_$as_cr_alnum]* )
1067 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1068 esac
1069 eval $ac_envvar=\$ac_optarg
1070 export $ac_envvar ;;
1073 # FIXME: should be removed in autoconf 3.0.
1074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1077 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1080 esac
1081 done
1083 if test -n "$ac_prev"; then
1084 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1085 as_fn_error "missing argument to $ac_option"
1088 if test -n "$ac_unrecognized_opts"; then
1089 case $enable_option_checking in
1090 no) ;;
1091 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1092 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1093 esac
1096 # Check all directory arguments for consistency.
1097 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1098 datadir sysconfdir sharedstatedir localstatedir includedir \
1099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1100 libdir localedir mandir
1102 eval ac_val=\$$ac_var
1103 # Remove trailing slashes.
1104 case $ac_val in
1105 */ )
1106 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1107 eval $ac_var=\$ac_val;;
1108 esac
1109 # Be sure to have absolute directory names.
1110 case $ac_val in
1111 [\\/$]* | ?:[\\/]* ) continue;;
1112 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1113 esac
1114 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1115 done
1117 # There might be people who depend on the old broken behavior: `$host'
1118 # used to hold the argument of --host etc.
1119 # FIXME: To remove some day.
1120 build=$build_alias
1121 host=$host_alias
1122 target=$target_alias
1124 # FIXME: To remove some day.
1125 if test "x$host_alias" != x; then
1126 if test "x$build_alias" = x; then
1127 cross_compiling=maybe
1128 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used." >&2
1130 elif test "x$build_alias" != "x$host_alias"; then
1131 cross_compiling=yes
1135 ac_tool_prefix=
1136 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1138 test "$silent" = yes && exec 6>/dev/null
1141 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142 ac_ls_di=`ls -di .` &&
1143 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1144 as_fn_error "working directory cannot be determined"
1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1146 as_fn_error "pwd does not report name of working directory"
1149 # Find the source files, if location was not specified.
1150 if test -z "$srcdir"; then
1151 ac_srcdir_defaulted=yes
1152 # Try the directory containing this script, then the parent directory.
1153 ac_confdir=`$as_dirname -- "$as_myself" ||
1154 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1155 X"$as_myself" : 'X\(//\)[^/]' \| \
1156 X"$as_myself" : 'X\(//\)$' \| \
1157 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1158 $as_echo X"$as_myself" |
1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1160 s//\1/
1163 /^X\(\/\/\)[^/].*/{
1164 s//\1/
1167 /^X\(\/\/\)$/{
1168 s//\1/
1171 /^X\(\/\).*/{
1172 s//\1/
1175 s/.*/./; q'`
1176 srcdir=$ac_confdir
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 srcdir=..
1180 else
1181 ac_srcdir_defaulted=no
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1185 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1187 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1188 ac_abs_confdir=`(
1189 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1190 pwd)`
1191 # When building in place, set srcdir=.
1192 if test "$ac_abs_confdir" = "$ac_pwd"; then
1193 srcdir=.
1195 # Remove unnecessary trailing slashes from srcdir.
1196 # Double slashes in file names in object file debugging info
1197 # mess up M-x gdb in Emacs.
1198 case $srcdir in
1199 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1200 esac
1201 for ac_var in $ac_precious_vars; do
1202 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_env_${ac_var}_value=\$${ac_var}
1204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1205 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1206 done
1209 # Report the --help message.
1211 if test "$ac_init_help" = "long"; then
1212 # Omit some internal or obsolete options to make the list less imposing.
1213 # This message is too long to be a string in the A/UX 3.1 sh.
1214 cat <<_ACEOF
1215 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1217 Usage: $0 [OPTION]... [VAR=VALUE]...
1219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1220 VAR=VALUE. See below for descriptions of some of the useful variables.
1222 Defaults for the options are specified in brackets.
1224 Configuration:
1225 -h, --help display this help and exit
1226 --help=short display options specific to this package
1227 --help=recursive display the short help of all the included packages
1228 -V, --version display version information and exit
1229 -q, --quiet, --silent do not print \`checking...' messages
1230 --cache-file=FILE cache test results in FILE [disabled]
1231 -C, --config-cache alias for \`--cache-file=config.cache'
1232 -n, --no-create do not create output files
1233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1235 Installation directories:
1236 --prefix=PREFIX install architecture-independent files in PREFIX
1237 [$ac_default_prefix]
1238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1239 [PREFIX]
1241 By default, \`make install' will install all the files in
1242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1244 for instance \`--prefix=\$HOME'.
1246 For better control, use the options below.
1248 Fine tuning of the installation directories:
1249 --bindir=DIR user executables [EPREFIX/bin]
1250 --sbindir=DIR system admin executables [EPREFIX/sbin]
1251 --libexecdir=DIR program executables [EPREFIX/libexec]
1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root [DATAROOTDIR/doc/gotools]
1264 --htmldir=DIR html documentation [DOCDIR]
1265 --dvidir=DIR dvi documentation [DOCDIR]
1266 --pdfdir=DIR pdf documentation [DOCDIR]
1267 --psdir=DIR ps documentation [DOCDIR]
1268 _ACEOF
1270 cat <<\_ACEOF
1272 Program names:
1273 --program-prefix=PREFIX prepend PREFIX to installed program names
1274 --program-suffix=SUFFIX append SUFFIX to installed program names
1275 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1277 System types:
1278 --build=BUILD configure for building on BUILD [guessed]
1279 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1280 --target=TARGET configure for building compilers for TARGET [HOST]
1281 _ACEOF
1284 if test -n "$ac_init_help"; then
1285 case $ac_init_help in
1286 short | recursive ) echo "Configuration of package-unused version-unused:";;
1287 esac
1288 cat <<\_ACEOF
1290 Optional Features:
1291 --disable-option-checking ignore unrecognized --enable/--with options
1292 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1293 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1294 --enable-maintainer-mode enable make rules and dependencies not useful
1295 (and sometimes confusing) to the casual installer
1296 --disable-dependency-tracking speeds up one-time build
1297 --enable-dependency-tracking do not reject slow dependency extractors
1299 Some influential environment variables:
1300 CC C compiler command
1301 CFLAGS C compiler flags
1302 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1303 nonstandard directory <lib dir>
1304 LIBS libraries to pass to the linker, e.g. -l<library>
1305 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1306 you have headers in a nonstandard directory <include dir>
1307 GOC Go compiler command
1308 GOCFLAGS Go compiler flags
1310 Use these variables to override the choices made by `configure' or to help
1311 it to find libraries and programs with nonstandard names/locations.
1313 Report bugs to the package provider.
1314 _ACEOF
1315 ac_status=$?
1318 if test "$ac_init_help" = "recursive"; then
1319 # If there are subdirs, report their specific --help.
1320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1321 test -d "$ac_dir" ||
1322 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1323 continue
1324 ac_builddir=.
1326 case "$ac_dir" in
1327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1330 # A ".." for each directory in $ac_dir_suffix.
1331 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1332 case $ac_top_builddir_sub in
1333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335 esac ;;
1336 esac
1337 ac_abs_top_builddir=$ac_pwd
1338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1339 # for backward compatibility:
1340 ac_top_builddir=$ac_top_build_prefix
1342 case $srcdir in
1343 .) # We are building in place.
1344 ac_srcdir=.
1345 ac_top_srcdir=$ac_top_builddir_sub
1346 ac_abs_top_srcdir=$ac_pwd ;;
1347 [\\/]* | ?:[\\/]* ) # Absolute name.
1348 ac_srcdir=$srcdir$ac_dir_suffix;
1349 ac_top_srcdir=$srcdir
1350 ac_abs_top_srcdir=$srcdir ;;
1351 *) # Relative name.
1352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1353 ac_top_srcdir=$ac_top_build_prefix$srcdir
1354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1355 esac
1356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1358 cd "$ac_dir" || { ac_status=$?; continue; }
1359 # Check for guested configure.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1366 else
1367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 fi || ac_status=$?
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1370 done
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1375 cat <<\_ACEOF
1376 package-unused configure version-unused
1377 generated by GNU Autoconf 2.64
1379 Copyright (C) 2009 Free Software Foundation, Inc.
1380 This configure script is free software; the Free Software Foundation
1381 gives unlimited permission to copy, distribute and modify it.
1382 _ACEOF
1383 exit
1386 ## ------------------------ ##
1387 ## Autoconf initialization. ##
1388 ## ------------------------ ##
1390 # ac_fn_c_try_compile LINENO
1391 # --------------------------
1392 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1393 ac_fn_c_try_compile ()
1395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1396 rm -f conftest.$ac_objext
1397 if { { ac_try="$ac_compile"
1398 case "(($ac_try" in
1399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1400 *) ac_try_echo=$ac_try;;
1401 esac
1402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1403 $as_echo "$ac_try_echo"; } >&5
1404 (eval "$ac_compile") 2>conftest.err
1405 ac_status=$?
1406 if test -s conftest.err; then
1407 grep -v '^ *+' conftest.err >conftest.er1
1408 cat conftest.er1 >&5
1409 mv -f conftest.er1 conftest.err
1411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1412 test $ac_status = 0; } && {
1413 test -z "$ac_c_werror_flag" ||
1414 test ! -s conftest.err
1415 } && test -s conftest.$ac_objext; then :
1416 ac_retval=0
1417 else
1418 $as_echo "$as_me: failed program was:" >&5
1419 sed 's/^/| /' conftest.$ac_ext >&5
1421 ac_retval=1
1423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1424 return $ac_retval
1426 } # ac_fn_c_try_compile
1428 # ac_fn_c_try_link LINENO
1429 # -----------------------
1430 # Try to link conftest.$ac_ext, and return whether this succeeded.
1431 ac_fn_c_try_link ()
1433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1434 rm -f conftest.$ac_objext conftest$ac_exeext
1435 if { { ac_try="$ac_link"
1436 case "(($ac_try" in
1437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1439 esac
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_link") 2>conftest.err
1443 ac_status=$?
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } && {
1451 test -z "$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1453 } && test -s conftest$ac_exeext && {
1454 test "$cross_compiling" = yes ||
1455 $as_test_x conftest$ac_exeext
1456 }; then :
1457 ac_retval=0
1458 else
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1462 ac_retval=1
1464 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1465 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1466 # interfere with the next link command; also delete a directory that is
1467 # left behind by Apple's compiler. We do this before executing the actions.
1468 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1469 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1470 return $ac_retval
1472 } # ac_fn_c_try_link
1474 # ac_fn_c_check_func LINENO FUNC VAR
1475 # ----------------------------------
1476 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1477 ac_fn_c_check_func ()
1479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1481 $as_echo_n "checking for $2... " >&6; }
1482 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1483 $as_echo_n "(cached) " >&6
1484 else
1485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1486 /* end confdefs.h. */
1487 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1489 #define $2 innocuous_$2
1491 /* System header to define __stub macros and hopefully few prototypes,
1492 which can conflict with char $2 (); below.
1493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1494 <limits.h> exists even on freestanding compilers. */
1496 #ifdef __STDC__
1497 # include <limits.h>
1498 #else
1499 # include <assert.h>
1500 #endif
1502 #undef $2
1504 /* Override any GCC internal prototype to avoid an error.
1505 Use char because int might match the return type of a GCC
1506 builtin and then its argument prototype would still apply. */
1507 #ifdef __cplusplus
1508 extern "C"
1509 #endif
1510 char $2 ();
1511 /* The GNU C library defines this for functions which it implements
1512 to always fail with ENOSYS. Some functions are actually named
1513 something starting with __ and the normal name is an alias. */
1514 #if defined __stub_$2 || defined __stub___$2
1515 choke me
1516 #endif
1519 main ()
1521 return $2 ();
1523 return 0;
1525 _ACEOF
1526 if ac_fn_c_try_link "$LINENO"; then :
1527 eval "$3=yes"
1528 else
1529 eval "$3=no"
1531 rm -f core conftest.err conftest.$ac_objext \
1532 conftest$ac_exeext conftest.$ac_ext
1534 eval ac_res=\$$3
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1536 $as_echo "$ac_res" >&6; }
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1539 } # ac_fn_c_check_func
1540 cat >config.log <<_ACEOF
1541 This file contains any messages produced by compilers while
1542 running configure, to aid debugging if configure makes a mistake.
1544 It was created by package-unused $as_me version-unused, which was
1545 generated by GNU Autoconf 2.64. Invocation command line was
1547 $ $0 $@
1549 _ACEOF
1550 exec 5>>config.log
1552 cat <<_ASUNAME
1553 ## --------- ##
1554 ## Platform. ##
1555 ## --------- ##
1557 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1558 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1559 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1560 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1561 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1563 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1564 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1566 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1567 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1568 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1569 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1570 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1571 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1572 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1574 _ASUNAME
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1577 for as_dir in $PATH
1579 IFS=$as_save_IFS
1580 test -z "$as_dir" && as_dir=.
1581 $as_echo "PATH: $as_dir"
1582 done
1583 IFS=$as_save_IFS
1585 } >&5
1587 cat >&5 <<_ACEOF
1590 ## ----------- ##
1591 ## Core tests. ##
1592 ## ----------- ##
1594 _ACEOF
1597 # Keep a trace of the command line.
1598 # Strip out --no-create and --no-recursion so they do not pile up.
1599 # Strip out --silent because we don't want to record it for future runs.
1600 # Also quote any args containing shell meta-characters.
1601 # Make two passes to allow for proper duplicate-argument suppression.
1602 ac_configure_args=
1603 ac_configure_args0=
1604 ac_configure_args1=
1605 ac_must_keep_next=false
1606 for ac_pass in 1 2
1608 for ac_arg
1610 case $ac_arg in
1611 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1612 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1613 | -silent | --silent | --silen | --sile | --sil)
1614 continue ;;
1615 *\'*)
1616 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1617 esac
1618 case $ac_pass in
1619 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1621 as_fn_append ac_configure_args1 " '$ac_arg'"
1622 if test $ac_must_keep_next = true; then
1623 ac_must_keep_next=false # Got value, back to normal.
1624 else
1625 case $ac_arg in
1626 *=* | --config-cache | -C | -disable-* | --disable-* \
1627 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1628 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1629 | -with-* | --with-* | -without-* | --without-* | --x)
1630 case "$ac_configure_args0 " in
1631 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1632 esac
1634 -* ) ac_must_keep_next=true ;;
1635 esac
1637 as_fn_append ac_configure_args " '$ac_arg'"
1639 esac
1640 done
1641 done
1642 { ac_configure_args0=; unset ac_configure_args0;}
1643 { ac_configure_args1=; unset ac_configure_args1;}
1645 # When interrupted or exit'd, cleanup temporary files, and complete
1646 # config.log. We remove comments because anyway the quotes in there
1647 # would cause problems or look ugly.
1648 # WARNING: Use '\'' to represent an apostrophe within the trap.
1649 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1650 trap 'exit_status=$?
1651 # Save into config.log some information that might help in debugging.
1653 echo
1655 cat <<\_ASBOX
1656 ## ---------------- ##
1657 ## Cache variables. ##
1658 ## ---------------- ##
1659 _ASBOX
1660 echo
1661 # The following way of writing the cache mishandles newlines in values,
1663 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1664 eval ac_val=\$$ac_var
1665 case $ac_val in #(
1666 *${as_nl}*)
1667 case $ac_var in #(
1668 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1669 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1670 esac
1671 case $ac_var in #(
1672 _ | IFS | as_nl) ;; #(
1673 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1674 *) { eval $ac_var=; unset $ac_var;} ;;
1675 esac ;;
1676 esac
1677 done
1678 (set) 2>&1 |
1679 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1680 *${as_nl}ac_space=\ *)
1681 sed -n \
1682 "s/'\''/'\''\\\\'\'''\''/g;
1683 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1684 ;; #(
1686 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1688 esac |
1689 sort
1691 echo
1693 cat <<\_ASBOX
1694 ## ----------------- ##
1695 ## Output variables. ##
1696 ## ----------------- ##
1697 _ASBOX
1698 echo
1699 for ac_var in $ac_subst_vars
1701 eval ac_val=\$$ac_var
1702 case $ac_val in
1703 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1704 esac
1705 $as_echo "$ac_var='\''$ac_val'\''"
1706 done | sort
1707 echo
1709 if test -n "$ac_subst_files"; then
1710 cat <<\_ASBOX
1711 ## ------------------- ##
1712 ## File substitutions. ##
1713 ## ------------------- ##
1714 _ASBOX
1715 echo
1716 for ac_var in $ac_subst_files
1718 eval ac_val=\$$ac_var
1719 case $ac_val in
1720 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1721 esac
1722 $as_echo "$ac_var='\''$ac_val'\''"
1723 done | sort
1724 echo
1727 if test -s confdefs.h; then
1728 cat <<\_ASBOX
1729 ## ----------- ##
1730 ## confdefs.h. ##
1731 ## ----------- ##
1732 _ASBOX
1733 echo
1734 cat confdefs.h
1735 echo
1737 test "$ac_signal" != 0 &&
1738 $as_echo "$as_me: caught signal $ac_signal"
1739 $as_echo "$as_me: exit $exit_status"
1740 } >&5
1741 rm -f core *.core core.conftest.* &&
1742 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1743 exit $exit_status
1745 for ac_signal in 1 2 13 15; do
1746 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1747 done
1748 ac_signal=0
1750 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1751 rm -f -r conftest* confdefs.h
1753 $as_echo "/* confdefs.h */" > confdefs.h
1755 # Predefined preprocessor variables.
1757 cat >>confdefs.h <<_ACEOF
1758 #define PACKAGE_NAME "$PACKAGE_NAME"
1759 _ACEOF
1761 cat >>confdefs.h <<_ACEOF
1762 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1763 _ACEOF
1765 cat >>confdefs.h <<_ACEOF
1766 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1767 _ACEOF
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_STRING "$PACKAGE_STRING"
1771 _ACEOF
1773 cat >>confdefs.h <<_ACEOF
1774 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1775 _ACEOF
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_URL "$PACKAGE_URL"
1779 _ACEOF
1782 # Let the site file select an alternate cache file if it wants to.
1783 # Prefer an explicitly selected file to automatically selected ones.
1784 ac_site_file1=NONE
1785 ac_site_file2=NONE
1786 if test -n "$CONFIG_SITE"; then
1787 ac_site_file1=$CONFIG_SITE
1788 elif test "x$prefix" != xNONE; then
1789 ac_site_file1=$prefix/share/config.site
1790 ac_site_file2=$prefix/etc/config.site
1791 else
1792 ac_site_file1=$ac_default_prefix/share/config.site
1793 ac_site_file2=$ac_default_prefix/etc/config.site
1795 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1797 test "x$ac_site_file" = xNONE && continue
1798 if test -r "$ac_site_file"; then
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1800 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1801 sed 's/^/| /' "$ac_site_file" >&5
1802 . "$ac_site_file"
1804 done
1806 if test -r "$cache_file"; then
1807 # Some versions of bash will fail to source /dev/null (special
1808 # files actually), so we avoid doing that.
1809 if test -f "$cache_file"; then
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1811 $as_echo "$as_me: loading cache $cache_file" >&6;}
1812 case $cache_file in
1813 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1814 *) . "./$cache_file";;
1815 esac
1817 else
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1819 $as_echo "$as_me: creating cache $cache_file" >&6;}
1820 >$cache_file
1823 # Check that the precious variables saved in the cache have kept the same
1824 # value.
1825 ac_cache_corrupted=false
1826 for ac_var in $ac_precious_vars; do
1827 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1828 eval ac_new_set=\$ac_env_${ac_var}_set
1829 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1830 eval ac_new_val=\$ac_env_${ac_var}_value
1831 case $ac_old_set,$ac_new_set in
1832 set,)
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1834 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1835 ac_cache_corrupted=: ;;
1836 ,set)
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1838 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1839 ac_cache_corrupted=: ;;
1840 ,);;
1842 if test "x$ac_old_val" != "x$ac_new_val"; then
1843 # differences in whitespace do not lead to failure.
1844 ac_old_val_w=`echo x $ac_old_val`
1845 ac_new_val_w=`echo x $ac_new_val`
1846 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1848 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1849 ac_cache_corrupted=:
1850 else
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1852 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1853 eval $ac_var=\$ac_old_val
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1856 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1858 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1859 fi;;
1860 esac
1861 # Pass precious variables to config.status.
1862 if test "$ac_new_set" = set; then
1863 case $ac_new_val in
1864 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1865 *) ac_arg=$ac_var=$ac_new_val ;;
1866 esac
1867 case " $ac_configure_args " in
1868 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1869 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1870 esac
1872 done
1873 if $ac_cache_corrupted; then
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1877 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1878 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1880 ## -------------------- ##
1881 ## Main body of script. ##
1882 ## -------------------- ##
1884 ac_ext=c
1885 ac_cpp='$CPP $CPPFLAGS'
1886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1907 # This is what autoupdate's m4 run will expand. It fires
1908 # the warning (with _au_warn_XXX), outputs it into the
1909 # updated configure.ac (with AC_DIAGNOSE), and then outputs
1910 # the replacement expansion.
1913 # This is an auxiliary macro that is also run when
1914 # autoupdate runs m4. It simply calls m4_warning, but
1915 # we need a wrapper so that each warning is emitted only
1916 # once. We break the quoting in m4_warning's argument in
1917 # order to expand this macro's arguments, not AU_DEFUN's.
1920 # Finally, this is the expansion that is picked up by
1921 # autoconf. It tells the user to run autoupdate, and
1922 # then outputs the replacement expansion. We do not care
1923 # about autoupdate's warning because that contains
1924 # information on what to do *after* running autoupdate.
1943 # AC_PROG_GO
1946 # Determine the noncanonical names used for directories.
1947 ac_aux_dir=
1948 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1949 for ac_t in install-sh install.sh shtool; do
1950 if test -f "$ac_dir/$ac_t"; then
1951 ac_aux_dir=$ac_dir
1952 ac_install_sh="$ac_aux_dir/$ac_t -c"
1953 break 2
1955 done
1956 done
1957 if test -z "$ac_aux_dir"; then
1958 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1961 # These three variables are undocumented and unsupported,
1962 # and are intended to be withdrawn in a future Autoconf release.
1963 # They can cause serious problems if a builder's source tree is in a directory
1964 # whose full name contains unusual characters.
1965 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1966 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1967 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1970 # Make sure we can run config.sub.
1971 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1972 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1975 $as_echo_n "checking build system type... " >&6; }
1976 if test "${ac_cv_build+set}" = set; then :
1977 $as_echo_n "(cached) " >&6
1978 else
1979 ac_build_alias=$build_alias
1980 test "x$ac_build_alias" = x &&
1981 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1982 test "x$ac_build_alias" = x &&
1983 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1984 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1985 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1989 $as_echo "$ac_cv_build" >&6; }
1990 case $ac_cv_build in
1991 *-*-*) ;;
1992 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1993 esac
1994 build=$ac_cv_build
1995 ac_save_IFS=$IFS; IFS='-'
1996 set x $ac_cv_build
1997 shift
1998 build_cpu=$1
1999 build_vendor=$2
2000 shift; shift
2001 # Remember, the first character of IFS is used to create $*,
2002 # except with old shells:
2003 build_os=$*
2004 IFS=$ac_save_IFS
2005 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2008 case ${build_alias} in
2009 "") build_noncanonical=${build} ;;
2010 *) build_noncanonical=${build_alias} ;;
2011 esac
2015 case ${host_alias} in
2016 "") host_noncanonical=${build_noncanonical} ;;
2017 *) host_noncanonical=${host_alias} ;;
2018 esac
2022 case ${target_alias} in
2023 "") target_noncanonical=${host_noncanonical} ;;
2024 *) target_noncanonical=${target_alias} ;;
2025 esac
2030 test "$host_noncanonical" = "$target_noncanonical" &&
2031 test "$program_prefix$program_suffix$program_transform_name" = \
2032 NONENONEs,x,x, &&
2033 program_transform_name=s,y,y,
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2036 $as_echo_n "checking host system type... " >&6; }
2037 if test "${ac_cv_host+set}" = set; then :
2038 $as_echo_n "(cached) " >&6
2039 else
2040 if test "x$host_alias" = x; then
2041 ac_cv_host=$ac_cv_build
2042 else
2043 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2044 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2049 $as_echo "$ac_cv_host" >&6; }
2050 case $ac_cv_host in
2051 *-*-*) ;;
2052 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2053 esac
2054 host=$ac_cv_host
2055 ac_save_IFS=$IFS; IFS='-'
2056 set x $ac_cv_host
2057 shift
2058 host_cpu=$1
2059 host_vendor=$2
2060 shift; shift
2061 # Remember, the first character of IFS is used to create $*,
2062 # except with old shells:
2063 host_os=$*
2064 IFS=$ac_save_IFS
2065 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2069 $as_echo_n "checking target system type... " >&6; }
2070 if test "${ac_cv_target+set}" = set; then :
2071 $as_echo_n "(cached) " >&6
2072 else
2073 if test "x$target_alias" = x; then
2074 ac_cv_target=$ac_cv_host
2075 else
2076 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2077 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2082 $as_echo "$ac_cv_target" >&6; }
2083 case $ac_cv_target in
2084 *-*-*) ;;
2085 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2086 esac
2087 target=$ac_cv_target
2088 ac_save_IFS=$IFS; IFS='-'
2089 set x $ac_cv_target
2090 shift
2091 target_cpu=$1
2092 target_vendor=$2
2093 shift; shift
2094 # Remember, the first character of IFS is used to create $*,
2095 # except with old shells:
2096 target_os=$*
2097 IFS=$ac_save_IFS
2098 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2101 # The aliases save the names the user supplied, while $host etc.
2102 # will get canonicalized.
2103 test -n "$target_alias" &&
2104 test "$program_prefix$program_suffix$program_transform_name" = \
2105 NONENONEs,x,x, &&
2106 program_prefix=${target_alias}-
2108 test "$program_prefix" != NONE &&
2109 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2110 # Use a double $ so make ignores it.
2111 test "$program_suffix" != NONE &&
2112 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2113 # Double any \ or $.
2114 # By default was `s,x,x', remove it if useless.
2115 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2116 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2119 am__api_version='1.11'
2121 # Find a good install program. We prefer a C program (faster),
2122 # so one script is as good as another. But avoid the broken or
2123 # incompatible versions:
2124 # SysV /etc/install, /usr/sbin/install
2125 # SunOS /usr/etc/install
2126 # IRIX /sbin/install
2127 # AIX /bin/install
2128 # AmigaOS /C/install, which installs bootblocks on floppy discs
2129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2132 # OS/2's system install, which has a completely different semantic
2133 # ./install, which can be erroneously created by make from ./install.sh.
2134 # Reject install programs that cannot install multiple files.
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2136 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2137 if test -z "$INSTALL"; then
2138 if test "${ac_cv_path_install+set}" = set; then :
2139 $as_echo_n "(cached) " >&6
2140 else
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 for as_dir in $PATH
2144 IFS=$as_save_IFS
2145 test -z "$as_dir" && as_dir=.
2146 # Account for people who put trailing slashes in PATH elements.
2147 case $as_dir/ in #((
2148 ./ | .// | /[cC]/* | \
2149 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2150 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2151 /usr/ucb/* ) ;;
2153 # OSF1 and SCO ODT 3.0 have their own names for install.
2154 # Don't use installbsd from OSF since it installs stuff as root
2155 # by default.
2156 for ac_prog in ginstall scoinst install; do
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2159 if test $ac_prog = install &&
2160 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2161 # AIX install. It has an incompatible calling convention.
2163 elif test $ac_prog = install &&
2164 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2165 # program-specific install script used by HP pwplus--don't use.
2167 else
2168 rm -rf conftest.one conftest.two conftest.dir
2169 echo one > conftest.one
2170 echo two > conftest.two
2171 mkdir conftest.dir
2172 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2173 test -s conftest.one && test -s conftest.two &&
2174 test -s conftest.dir/conftest.one &&
2175 test -s conftest.dir/conftest.two
2176 then
2177 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2178 break 3
2182 done
2183 done
2185 esac
2187 done
2188 IFS=$as_save_IFS
2190 rm -rf conftest.one conftest.two conftest.dir
2193 if test "${ac_cv_path_install+set}" = set; then
2194 INSTALL=$ac_cv_path_install
2195 else
2196 # As a last resort, use the slow shell script. Don't cache a
2197 # value for INSTALL within a source directory, because that will
2198 # break other packages using the cache if that directory is
2199 # removed, or if the value is a relative name.
2200 INSTALL=$ac_install_sh
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2204 $as_echo "$INSTALL" >&6; }
2206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2207 # It thinks the first close brace ends the variable substitution.
2208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2212 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2215 $as_echo_n "checking whether build environment is sane... " >&6; }
2216 # Just in case
2217 sleep 1
2218 echo timestamp > conftest.file
2219 # Reject unsafe characters in $srcdir or the absolute working directory
2220 # name. Accept space and tab only in the latter.
2221 am_lf='
2223 case `pwd` in
2224 *[\\\"\#\$\&\'\`$am_lf]*)
2225 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2226 esac
2227 case $srcdir in
2228 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2229 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2230 esac
2232 # Do `set' in a subshell so we don't clobber the current shell's
2233 # arguments. Must try -L first in case configure is actually a
2234 # symlink; some systems play weird games with the mod time of symlinks
2235 # (eg FreeBSD returns the mod time of the symlink's containing
2236 # directory).
2237 if (
2238 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2239 if test "$*" = "X"; then
2240 # -L didn't work.
2241 set X `ls -t "$srcdir/configure" conftest.file`
2243 rm -f conftest.file
2244 if test "$*" != "X $srcdir/configure conftest.file" \
2245 && test "$*" != "X conftest.file $srcdir/configure"; then
2247 # If neither matched, then we have a broken ls. This can happen
2248 # if, for instance, CONFIG_SHELL is bash and it inherits a
2249 # broken ls alias from the environment. This has actually
2250 # happened. Such a system could not be considered "sane".
2251 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2252 alias in your environment" "$LINENO" 5
2255 test "$2" = conftest.file
2257 then
2258 # Ok.
2260 else
2261 as_fn_error "newly created file is older than distributed files!
2262 Check your system clock" "$LINENO" 5
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2265 $as_echo "yes" >&6; }
2266 # expand $ac_aux_dir to an absolute path
2267 am_aux_dir=`cd $ac_aux_dir && pwd`
2269 if test x"${MISSING+set}" != xset; then
2270 case $am_aux_dir in
2271 *\ * | *\ *)
2272 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2274 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2275 esac
2277 # Use eval to expand $SHELL
2278 if eval "$MISSING --run true"; then
2279 am_missing_run="$MISSING --run "
2280 else
2281 am_missing_run=
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2283 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2286 if test x"${install_sh}" != xset; then
2287 case $am_aux_dir in
2288 *\ * | *\ *)
2289 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2291 install_sh="\${SHELL} $am_aux_dir/install-sh"
2292 esac
2295 # Installed binaries are usually stripped using `strip' when the user
2296 # run `make install-strip'. However `strip' might not be the right
2297 # tool to use in cross-compilation environments, therefore Automake
2298 # will honor the `STRIP' environment variable to overrule this program.
2299 if test "$cross_compiling" != no; then
2300 if test -n "$ac_tool_prefix"; then
2301 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2302 set dummy ${ac_tool_prefix}strip; ac_word=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if test "${ac_cv_prog_STRIP+set}" = set; then :
2306 $as_echo_n "(cached) " >&6
2307 else
2308 if test -n "$STRIP"; then
2309 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 break 2
2322 done
2323 done
2324 IFS=$as_save_IFS
2328 STRIP=$ac_cv_prog_STRIP
2329 if test -n "$STRIP"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2331 $as_echo "$STRIP" >&6; }
2332 else
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2339 if test -z "$ac_cv_prog_STRIP"; then
2340 ac_ct_STRIP=$STRIP
2341 # Extract the first word of "strip", so it can be a program name with args.
2342 set dummy strip; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2346 $as_echo_n "(cached) " >&6
2347 else
2348 if test -n "$ac_ct_STRIP"; then
2349 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2350 else
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH
2354 IFS=$as_save_IFS
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_ac_ct_STRIP="strip"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 break 2
2362 done
2363 done
2364 IFS=$as_save_IFS
2368 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2369 if test -n "$ac_ct_STRIP"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2371 $as_echo "$ac_ct_STRIP" >&6; }
2372 else
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2377 if test "x$ac_ct_STRIP" = x; then
2378 STRIP=":"
2379 else
2380 case $cross_compiling:$ac_tool_warned in
2381 yes:)
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2384 ac_tool_warned=yes ;;
2385 esac
2386 STRIP=$ac_ct_STRIP
2388 else
2389 STRIP="$ac_cv_prog_STRIP"
2393 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2396 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2397 if test -z "$MKDIR_P"; then
2398 if test "${ac_cv_path_mkdir+set}" = set; then :
2399 $as_echo_n "(cached) " >&6
2400 else
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2402 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2404 IFS=$as_save_IFS
2405 test -z "$as_dir" && as_dir=.
2406 for ac_prog in mkdir gmkdir; do
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2409 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2410 'mkdir (GNU coreutils) '* | \
2411 'mkdir (coreutils) '* | \
2412 'mkdir (fileutils) '4.1*)
2413 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2414 break 3;;
2415 esac
2416 done
2417 done
2418 done
2419 IFS=$as_save_IFS
2423 if test "${ac_cv_path_mkdir+set}" = set; then
2424 MKDIR_P="$ac_cv_path_mkdir -p"
2425 else
2426 # As a last resort, use the slow shell script. Don't cache a
2427 # value for MKDIR_P within a source directory, because that will
2428 # break other packages using the cache if that directory is
2429 # removed, or if the value is a relative name.
2430 test -d ./--version && rmdir ./--version
2431 MKDIR_P="$ac_install_sh -d"
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2435 $as_echo "$MKDIR_P" >&6; }
2437 mkdir_p="$MKDIR_P"
2438 case $mkdir_p in
2439 [\\/$]* | ?:[\\/]*) ;;
2440 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2441 esac
2443 for ac_prog in gawk mawk nawk awk
2445 # Extract the first word of "$ac_prog", so it can be a program name with args.
2446 set dummy $ac_prog; ac_word=$2
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2448 $as_echo_n "checking for $ac_word... " >&6; }
2449 if test "${ac_cv_prog_AWK+set}" = set; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 if test -n "$AWK"; then
2453 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2454 else
2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 for as_dir in $PATH
2458 IFS=$as_save_IFS
2459 test -z "$as_dir" && as_dir=.
2460 for ac_exec_ext in '' $ac_executable_extensions; do
2461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2462 ac_cv_prog_AWK="$ac_prog"
2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 break 2
2466 done
2467 done
2468 IFS=$as_save_IFS
2472 AWK=$ac_cv_prog_AWK
2473 if test -n "$AWK"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2475 $as_echo "$AWK" >&6; }
2476 else
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2478 $as_echo "no" >&6; }
2482 test -n "$AWK" && break
2483 done
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2486 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2487 set x ${MAKE-make}
2488 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2489 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2490 $as_echo_n "(cached) " >&6
2491 else
2492 cat >conftest.make <<\_ACEOF
2493 SHELL = /bin/sh
2494 all:
2495 @echo '@@@%%%=$(MAKE)=@@@%%%'
2496 _ACEOF
2497 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2498 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2499 *@@@%%%=?*=@@@%%%*)
2500 eval ac_cv_prog_make_${ac_make}_set=yes;;
2502 eval ac_cv_prog_make_${ac_make}_set=no;;
2503 esac
2504 rm -f conftest.make
2506 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2508 $as_echo "yes" >&6; }
2509 SET_MAKE=
2510 else
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512 $as_echo "no" >&6; }
2513 SET_MAKE="MAKE=${MAKE-make}"
2516 rm -rf .tst 2>/dev/null
2517 mkdir .tst 2>/dev/null
2518 if test -d .tst; then
2519 am__leading_dot=.
2520 else
2521 am__leading_dot=_
2523 rmdir .tst 2>/dev/null
2525 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2526 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2527 # is not polluted with repeated "-I."
2528 am__isrc=' -I$(srcdir)'
2529 # test to see if srcdir already configured
2530 if test -f $srcdir/config.status; then
2531 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2535 # test whether we have cygpath
2536 if test -z "$CYGPATH_W"; then
2537 if (cygpath --version) >/dev/null 2>/dev/null; then
2538 CYGPATH_W='cygpath -w'
2539 else
2540 CYGPATH_W=echo
2545 # Define the identity of the package.
2546 PACKAGE='gotools'
2547 VERSION='version-unused'
2550 # Some tools Automake needs.
2552 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2555 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2558 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2561 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2564 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2566 # We need awk for the "check" target. The system "awk" is bad on
2567 # some platforms.
2568 # Always define AMTAR for backward compatibility.
2570 AMTAR=${AMTAR-"${am_missing_run}tar"}
2572 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2580 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2581 # Check whether --enable-maintainer-mode was given.
2582 if test "${enable_maintainer_mode+set}" = set; then :
2583 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2584 else
2585 USE_MAINTAINER_MODE=no
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2589 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2590 if test $USE_MAINTAINER_MODE = yes; then
2591 MAINTAINER_MODE_TRUE=
2592 MAINTAINER_MODE_FALSE='#'
2593 else
2594 MAINTAINER_MODE_TRUE='#'
2595 MAINTAINER_MODE_FALSE=
2598 MAINT=$MAINTAINER_MODE_TRUE
2604 ac_ext=c
2605 ac_cpp='$CPP $CPPFLAGS'
2606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2609 if test -n "$ac_tool_prefix"; then
2610 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2611 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613 $as_echo_n "checking for $ac_word... " >&6; }
2614 if test "${ac_cv_prog_CC+set}" = set; then :
2615 $as_echo_n "(cached) " >&6
2616 else
2617 if test -n "$CC"; then
2618 ac_cv_prog_CC="$CC" # Let the user override the test.
2619 else
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 for as_dir in $PATH
2623 IFS=$as_save_IFS
2624 test -z "$as_dir" && as_dir=.
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 break 2
2631 done
2632 done
2633 IFS=$as_save_IFS
2637 CC=$ac_cv_prog_CC
2638 if test -n "$CC"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2640 $as_echo "$CC" >&6; }
2641 else
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 $as_echo "no" >&6; }
2648 if test -z "$ac_cv_prog_CC"; then
2649 ac_ct_CC=$CC
2650 # Extract the first word of "gcc", so it can be a program name with args.
2651 set dummy gcc; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 if test -n "$ac_ct_CC"; then
2658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2659 else
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH
2663 IFS=$as_save_IFS
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667 ac_cv_prog_ac_ct_CC="gcc"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 break 2
2671 done
2672 done
2673 IFS=$as_save_IFS
2677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2678 if test -n "$ac_ct_CC"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2680 $as_echo "$ac_ct_CC" >&6; }
2681 else
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2686 if test "x$ac_ct_CC" = x; then
2687 CC=""
2688 else
2689 case $cross_compiling:$ac_tool_warned in
2690 yes:)
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2693 ac_tool_warned=yes ;;
2694 esac
2695 CC=$ac_ct_CC
2697 else
2698 CC="$ac_cv_prog_CC"
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2704 set dummy ${ac_tool_prefix}cc; ac_word=$2
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706 $as_echo_n "checking for $ac_word... " >&6; }
2707 if test "${ac_cv_prog_CC+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2709 else
2710 if test -n "$CC"; then
2711 ac_cv_prog_CC="$CC" # Let the user override the test.
2712 else
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH
2716 IFS=$as_save_IFS
2717 test -z "$as_dir" && as_dir=.
2718 for ac_exec_ext in '' $ac_executable_extensions; do
2719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720 ac_cv_prog_CC="${ac_tool_prefix}cc"
2721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 break 2
2724 done
2725 done
2726 IFS=$as_save_IFS
2730 CC=$ac_cv_prog_CC
2731 if test -n "$CC"; then
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2733 $as_echo "$CC" >&6; }
2734 else
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2742 if test -z "$CC"; then
2743 # Extract the first word of "cc", so it can be a program name with args.
2744 set dummy cc; ac_word=$2
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2746 $as_echo_n "checking for $ac_word... " >&6; }
2747 if test "${ac_cv_prog_CC+set}" = set; then :
2748 $as_echo_n "(cached) " >&6
2749 else
2750 if test -n "$CC"; then
2751 ac_cv_prog_CC="$CC" # Let the user override the test.
2752 else
2753 ac_prog_rejected=no
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 for as_dir in $PATH
2757 IFS=$as_save_IFS
2758 test -z "$as_dir" && as_dir=.
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2762 ac_prog_rejected=yes
2763 continue
2765 ac_cv_prog_CC="cc"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 break 2
2769 done
2770 done
2771 IFS=$as_save_IFS
2773 if test $ac_prog_rejected = yes; then
2774 # We found a bogon in the path, so make sure we never use it.
2775 set dummy $ac_cv_prog_CC
2776 shift
2777 if test $# != 0; then
2778 # We chose a different compiler from the bogus one.
2779 # However, it has the same basename, so the bogon will be chosen
2780 # first if we set CC to just the basename; use the full file name.
2781 shift
2782 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2787 CC=$ac_cv_prog_CC
2788 if test -n "$CC"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2790 $as_echo "$CC" >&6; }
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2798 if test -z "$CC"; then
2799 if test -n "$ac_tool_prefix"; then
2800 for ac_prog in cl.exe
2802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6
2808 else
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC="$CC" # Let the user override the test.
2811 else
2812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 for as_dir in $PATH
2815 IFS=$as_save_IFS
2816 test -z "$as_dir" && as_dir=.
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 break 2
2823 done
2824 done
2825 IFS=$as_save_IFS
2829 CC=$ac_cv_prog_CC
2830 if test -n "$CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2832 $as_echo "$CC" >&6; }
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2839 test -n "$CC" && break
2840 done
2842 if test -z "$CC"; then
2843 ac_ct_CC=$CC
2844 for ac_prog in cl.exe
2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2847 set dummy $ac_prog; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2851 $as_echo_n "(cached) " >&6
2852 else
2853 if test -n "$ac_ct_CC"; then
2854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2855 else
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 for as_dir in $PATH
2859 IFS=$as_save_IFS
2860 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863 ac_cv_prog_ac_ct_CC="$ac_prog"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 break 2
2867 done
2868 done
2869 IFS=$as_save_IFS
2873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2874 if test -n "$ac_ct_CC"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2876 $as_echo "$ac_ct_CC" >&6; }
2877 else
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2883 test -n "$ac_ct_CC" && break
2884 done
2886 if test "x$ac_ct_CC" = x; then
2887 CC=""
2888 else
2889 case $cross_compiling:$ac_tool_warned in
2890 yes:)
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2893 ac_tool_warned=yes ;;
2894 esac
2895 CC=$ac_ct_CC
2902 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2904 as_fn_error "no acceptable C compiler found in \$PATH
2905 See \`config.log' for more details." "$LINENO" 5; }
2907 # Provide some information about the compiler.
2908 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2909 set X $ac_compile
2910 ac_compiler=$2
2911 for ac_option in --version -v -V -qversion; do
2912 { { ac_try="$ac_compiler $ac_option >&5"
2913 case "(($ac_try" in
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2920 ac_status=$?
2921 if test -s conftest.err; then
2922 sed '10a\
2923 ... rest of stderr output deleted ...
2924 10q' conftest.err >conftest.er1
2925 cat conftest.er1 >&5
2926 rm -f conftest.er1 conftest.err
2928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; }
2930 done
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2936 main ()
2940 return 0;
2942 _ACEOF
2943 ac_clean_files_save=$ac_clean_files
2944 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2945 # Try to create an executable without -o first, disregard a.out.
2946 # It will help us diagnose broken compilers, and finding out an intuition
2947 # of exeext.
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2949 $as_echo_n "checking for C compiler default output file name... " >&6; }
2950 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2952 # The possible output files:
2953 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2955 ac_rmfiles=
2956 for ac_file in $ac_files
2958 case $ac_file in
2959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2960 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2961 esac
2962 done
2963 rm -f $ac_rmfiles
2965 if { { ac_try="$ac_link_default"
2966 case "(($ac_try" in
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2969 esac
2970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971 $as_echo "$ac_try_echo"; } >&5
2972 (eval "$ac_link_default") 2>&5
2973 ac_status=$?
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; }; then :
2976 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2977 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2978 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2979 # so that the user can short-circuit this test for compilers unknown to
2980 # Autoconf.
2981 for ac_file in $ac_files ''
2983 test -f "$ac_file" || continue
2984 case $ac_file in
2985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2987 [ab].out )
2988 # We found the default executable, but exeext='' is most
2989 # certainly right.
2990 break;;
2991 *.* )
2992 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2993 then :; else
2994 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2996 # We set ac_cv_exeext here because the later test for it is not
2997 # safe: cross compilers may not add the suffix if given an `-o'
2998 # argument, so we may need to know it at that point already.
2999 # Even if this section looks crufty: it has the advantage of
3000 # actually working.
3001 break;;
3003 break;;
3004 esac
3005 done
3006 test "$ac_cv_exeext" = no && ac_cv_exeext=
3008 else
3009 ac_file=''
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3012 $as_echo "$ac_file" >&6; }
3013 if test -z "$ac_file"; then :
3014 $as_echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3019 { as_fn_set_status 77
3020 as_fn_error "C compiler cannot create executables
3021 See \`config.log' for more details." "$LINENO" 5; }; }
3023 ac_exeext=$ac_cv_exeext
3025 # Check that the compiler produces executables we can run. If not, either
3026 # the compiler is broken, or we cross compile.
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3028 $as_echo_n "checking whether the C compiler works... " >&6; }
3029 # If not cross compiling, check that we can run a simple program.
3030 if test "$cross_compiling" != yes; then
3031 if { ac_try='./$ac_file'
3032 { { case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035 esac
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_try") 2>&5
3039 ac_status=$?
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; }; then
3042 cross_compiling=no
3043 else
3044 if test "$cross_compiling" = maybe; then
3045 cross_compiling=yes
3046 else
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error "cannot run C compiled programs.
3050 If you meant to cross compile, use \`--host'.
3051 See \`config.log' for more details." "$LINENO" 5; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056 $as_echo "yes" >&6; }
3058 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3059 ac_clean_files=$ac_clean_files_save
3060 # Check that the compiler produces executables we can run. If not, either
3061 # the compiler is broken, or we cross compile.
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3063 $as_echo_n "checking whether we are cross compiling... " >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3065 $as_echo "$cross_compiling" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3068 $as_echo_n "checking for suffix of executables... " >&6; }
3069 if { { ac_try="$ac_link"
3070 case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3073 esac
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3077 ac_status=$?
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; then :
3080 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3081 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3082 # work properly (i.e., refer to `conftest.exe'), while it won't with
3083 # `rm'.
3084 for ac_file in conftest.exe conftest conftest.*; do
3085 test -f "$ac_file" || continue
3086 case $ac_file in
3087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3088 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3089 break;;
3090 * ) break;;
3091 esac
3092 done
3093 else
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error "cannot compute suffix of executables: cannot compile and link
3097 See \`config.log' for more details." "$LINENO" 5; }
3099 rm -f conftest$ac_cv_exeext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3101 $as_echo "$ac_cv_exeext" >&6; }
3103 rm -f conftest.$ac_ext
3104 EXEEXT=$ac_cv_exeext
3105 ac_exeext=$EXEEXT
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3107 $as_echo_n "checking for suffix of object files... " >&6; }
3108 if test "${ac_cv_objext+set}" = set; then :
3109 $as_echo_n "(cached) " >&6
3110 else
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3115 main ()
3119 return 0;
3121 _ACEOF
3122 rm -f conftest.o conftest.obj
3123 if { { ac_try="$ac_compile"
3124 case "(($ac_try" in
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3127 esac
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_compile") 2>&5
3131 ac_status=$?
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; }; then :
3134 for ac_file in conftest.o conftest.obj conftest.*; do
3135 test -f "$ac_file" || continue;
3136 case $ac_file in
3137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3138 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3139 break;;
3140 esac
3141 done
3142 else
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 as_fn_error "cannot compute suffix of object files: cannot compile
3149 See \`config.log' for more details." "$LINENO" 5; }
3151 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3154 $as_echo "$ac_cv_objext" >&6; }
3155 OBJEXT=$ac_cv_objext
3156 ac_objext=$OBJEXT
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3158 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3159 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3160 $as_echo_n "(cached) " >&6
3161 else
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3166 main ()
3168 #ifndef __GNUC__
3169 choke me
3170 #endif
3173 return 0;
3175 _ACEOF
3176 if ac_fn_c_try_compile "$LINENO"; then :
3177 ac_compiler_gnu=yes
3178 else
3179 ac_compiler_gnu=no
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3186 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3187 if test $ac_compiler_gnu = yes; then
3188 GCC=yes
3189 else
3190 GCC=
3192 ac_test_CFLAGS=${CFLAGS+set}
3193 ac_save_CFLAGS=$CFLAGS
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3195 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3196 if test "${ac_cv_prog_cc_g+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3198 else
3199 ac_save_c_werror_flag=$ac_c_werror_flag
3200 ac_c_werror_flag=yes
3201 ac_cv_prog_cc_g=no
3202 CFLAGS="-g"
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3207 main ()
3211 return 0;
3213 _ACEOF
3214 if ac_fn_c_try_compile "$LINENO"; then :
3215 ac_cv_prog_cc_g=yes
3216 else
3217 CFLAGS=""
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3222 main ()
3226 return 0;
3228 _ACEOF
3229 if ac_fn_c_try_compile "$LINENO"; then :
3231 else
3232 ac_c_werror_flag=$ac_save_c_werror_flag
3233 CFLAGS="-g"
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3238 main ()
3242 return 0;
3244 _ACEOF
3245 if ac_fn_c_try_compile "$LINENO"; then :
3246 ac_cv_prog_cc_g=yes
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 ac_c_werror_flag=$ac_save_c_werror_flag
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3256 $as_echo "$ac_cv_prog_cc_g" >&6; }
3257 if test "$ac_test_CFLAGS" = set; then
3258 CFLAGS=$ac_save_CFLAGS
3259 elif test $ac_cv_prog_cc_g = yes; then
3260 if test "$GCC" = yes; then
3261 CFLAGS="-g -O2"
3262 else
3263 CFLAGS="-g"
3265 else
3266 if test "$GCC" = yes; then
3267 CFLAGS="-O2"
3268 else
3269 CFLAGS=
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3273 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3274 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 ac_cv_prog_cc_c89=no
3278 ac_save_CC=$CC
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3281 #include <stdarg.h>
3282 #include <stdio.h>
3283 #include <sys/types.h>
3284 #include <sys/stat.h>
3285 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3286 struct buf { int x; };
3287 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3288 static char *e (p, i)
3289 char **p;
3290 int i;
3292 return p[i];
3294 static char *f (char * (*g) (char **, int), char **p, ...)
3296 char *s;
3297 va_list v;
3298 va_start (v,p);
3299 s = g (p, va_arg (v,int));
3300 va_end (v);
3301 return s;
3304 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3305 function prototypes and stuff, but not '\xHH' hex character constants.
3306 These don't provoke an error unfortunately, instead are silently treated
3307 as 'x'. The following induces an error, until -std is added to get
3308 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3309 array size at least. It's necessary to write '\x00'==0 to get something
3310 that's true only with -std. */
3311 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3313 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3314 inside strings and character constants. */
3315 #define FOO(x) 'x'
3316 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3318 int test (int i, double x);
3319 struct s1 {int (*f) (int a);};
3320 struct s2 {int (*f) (double a);};
3321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3322 int argc;
3323 char **argv;
3325 main ()
3327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3329 return 0;
3331 _ACEOF
3332 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3333 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3335 CC="$ac_save_CC $ac_arg"
3336 if ac_fn_c_try_compile "$LINENO"; then :
3337 ac_cv_prog_cc_c89=$ac_arg
3339 rm -f core conftest.err conftest.$ac_objext
3340 test "x$ac_cv_prog_cc_c89" != "xno" && break
3341 done
3342 rm -f conftest.$ac_ext
3343 CC=$ac_save_CC
3346 # AC_CACHE_VAL
3347 case "x$ac_cv_prog_cc_c89" in
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3350 $as_echo "none needed" >&6; } ;;
3351 xno)
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3353 $as_echo "unsupported" >&6; } ;;
3355 CC="$CC $ac_cv_prog_cc_c89"
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3357 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3358 esac
3359 if test "x$ac_cv_prog_cc_c89" != xno; then :
3363 ac_ext=c
3364 ac_cpp='$CPP $CPPFLAGS'
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3368 DEPDIR="${am__leading_dot}deps"
3370 ac_config_commands="$ac_config_commands depfiles"
3373 am_make=${MAKE-make}
3374 cat > confinc << 'END'
3375 am__doit:
3376 @echo this is the am__doit target
3377 .PHONY: am__doit
3379 # If we don't find an include directive, just comment out the code.
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3381 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3382 am__include="#"
3383 am__quote=
3384 _am_result=none
3385 # First try GNU make style include.
3386 echo "include confinc" > confmf
3387 # Ignore all kinds of additional output from `make'.
3388 case `$am_make -s -f confmf 2> /dev/null` in #(
3389 *the\ am__doit\ target*)
3390 am__include=include
3391 am__quote=
3392 _am_result=GNU
3394 esac
3395 # Now try BSD make style include.
3396 if test "$am__include" = "#"; then
3397 echo '.include "confinc"' > confmf
3398 case `$am_make -s -f confmf 2> /dev/null` in #(
3399 *the\ am__doit\ target*)
3400 am__include=.include
3401 am__quote="\""
3402 _am_result=BSD
3404 esac
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3409 $as_echo "$_am_result" >&6; }
3410 rm -f confinc confmf
3412 # Check whether --enable-dependency-tracking was given.
3413 if test "${enable_dependency_tracking+set}" = set; then :
3414 enableval=$enable_dependency_tracking;
3417 if test "x$enable_dependency_tracking" != xno; then
3418 am_depcomp="$ac_aux_dir/depcomp"
3419 AMDEPBACKSLASH='\'
3421 if test "x$enable_dependency_tracking" != xno; then
3422 AMDEP_TRUE=
3423 AMDEP_FALSE='#'
3424 else
3425 AMDEP_TRUE='#'
3426 AMDEP_FALSE=
3431 depcc="$CC" am_compiler_list=
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3434 $as_echo_n "checking dependency style of $depcc... " >&6; }
3435 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3436 $as_echo_n "(cached) " >&6
3437 else
3438 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3439 # We make a subdir and do the tests there. Otherwise we can end up
3440 # making bogus files that we don't know about and never remove. For
3441 # instance it was reported that on HP-UX the gcc test will end up
3442 # making a dummy file named `D' -- because `-MD' means `put the output
3443 # in D'.
3444 mkdir conftest.dir
3445 # Copy depcomp to subdir because otherwise we won't find it if we're
3446 # using a relative directory.
3447 cp "$am_depcomp" conftest.dir
3448 cd conftest.dir
3449 # We will build objects and dependencies in a subdirectory because
3450 # it helps to detect inapplicable dependency modes. For instance
3451 # both Tru64's cc and ICC support -MD to output dependencies as a
3452 # side effect of compilation, but ICC will put the dependencies in
3453 # the current directory while Tru64 will put them in the object
3454 # directory.
3455 mkdir sub
3457 am_cv_CC_dependencies_compiler_type=none
3458 if test "$am_compiler_list" = ""; then
3459 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3461 am__universal=false
3462 case " $depcc " in #(
3463 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3464 esac
3466 for depmode in $am_compiler_list; do
3467 # Setup a source with many dependencies, because some compilers
3468 # like to wrap large dependency lists on column 80 (with \), and
3469 # we should not choose a depcomp mode which is confused by this.
3471 # We need to recreate these files for each test, as the compiler may
3472 # overwrite some of them when testing with obscure command lines.
3473 # This happens at least with the AIX C compiler.
3474 : > sub/conftest.c
3475 for i in 1 2 3 4 5 6; do
3476 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3477 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3478 # Solaris 8's {/usr,}/bin/sh.
3479 touch sub/conftst$i.h
3480 done
3481 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3483 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3484 # mode. It turns out that the SunPro C++ compiler does not properly
3485 # handle `-M -o', and we need to detect this. Also, some Intel
3486 # versions had trouble with output in subdirs
3487 am__obj=sub/conftest.${OBJEXT-o}
3488 am__minus_obj="-o $am__obj"
3489 case $depmode in
3490 gcc)
3491 # This depmode causes a compiler race in universal mode.
3492 test "$am__universal" = false || continue
3494 nosideeffect)
3495 # after this tag, mechanisms are not by side-effect, so they'll
3496 # only be used when explicitly requested
3497 if test "x$enable_dependency_tracking" = xyes; then
3498 continue
3499 else
3500 break
3503 msvisualcpp | msvcmsys)
3504 # This compiler won't grok `-c -o', but also, the minuso test has
3505 # not run yet. These depmodes are late enough in the game, and
3506 # so weak that their functioning should not be impacted.
3507 am__obj=conftest.${OBJEXT-o}
3508 am__minus_obj=
3510 none) break ;;
3511 esac
3512 if depmode=$depmode \
3513 source=sub/conftest.c object=$am__obj \
3514 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3515 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3516 >/dev/null 2>conftest.err &&
3517 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3518 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3519 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3520 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3521 # icc doesn't choke on unknown options, it will just issue warnings
3522 # or remarks (even with -Werror). So we grep stderr for any message
3523 # that says an option was ignored or not supported.
3524 # When given -MP, icc 7.0 and 7.1 complain thusly:
3525 # icc: Command line warning: ignoring option '-M'; no argument required
3526 # The diagnosis changed in icc 8.0:
3527 # icc: Command line remark: option '-MP' not supported
3528 if (grep 'ignoring option' conftest.err ||
3529 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3530 am_cv_CC_dependencies_compiler_type=$depmode
3531 break
3534 done
3536 cd ..
3537 rm -rf conftest.dir
3538 else
3539 am_cv_CC_dependencies_compiler_type=none
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3544 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3545 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3548 test "x$enable_dependency_tracking" != xno \
3549 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3550 am__fastdepCC_TRUE=
3551 am__fastdepCC_FALSE='#'
3552 else
3553 am__fastdepCC_TRUE='#'
3554 am__fastdepCC_FALSE=
3558 ac_ext=go
3559 ac_compile='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3560 ac_link='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3561 ac_compile_gnu=yes
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if test "${ac_cv_prog_GOC+set}" = set; then :
3568 $as_echo_n "(cached) " >&6
3569 else
3570 if test -n "$GOC"; then
3571 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3572 else
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3584 done
3585 done
3586 IFS=$as_save_IFS
3590 GOC=$ac_cv_prog_GOC
3591 if test -n "$GOC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3593 $as_echo "$GOC" >&6; }
3594 else
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3601 if test -z "$ac_cv_prog_GOC"; then
3602 ac_ct_GOC=$GOC
3603 # Extract the first word of "gccgo", so it can be a program name with args.
3604 set dummy gccgo; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 if test -n "$ac_ct_GOC"; then
3611 ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_ac_ct_GOC="gccgo"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
3631 if test -n "$ac_ct_GOC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3633 $as_echo "$ac_ct_GOC" >&6; }
3634 else
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3639 if test "x$ac_ct_GOC" = x; then
3640 GOC=""
3641 else
3642 case $cross_compiling:$ac_tool_warned in
3643 yes:)
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3646 ac_tool_warned=yes ;;
3647 esac
3648 GOC=$ac_ct_GOC
3650 else
3651 GOC="$ac_cv_prog_GOC"
3654 if test -z "$GOC"; then
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3657 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_GOC+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3662 else
3663 if test -n "$GOC"; then
3664 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673 ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3677 done
3678 done
3679 IFS=$as_save_IFS
3683 GOC=$ac_cv_prog_GOC
3684 if test -n "$GOC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3686 $as_echo "$GOC" >&6; }
3687 else
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3695 if test -z "$GOC"; then
3696 # Extract the first word of "gccgo", so it can be a program name with args.
3697 set dummy gccgo; ac_word=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if test "${ac_cv_prog_GOC+set}" = set; then :
3701 $as_echo_n "(cached) " >&6
3702 else
3703 if test -n "$GOC"; then
3704 ac_cv_prog_GOC="$GOC" # Let the user override the test.
3705 else
3706 ac_prog_rejected=no
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 for as_dir in $PATH
3710 IFS=$as_save_IFS
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
3715 ac_prog_rejected=yes
3716 continue
3718 ac_cv_prog_GOC="gccgo"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 break 2
3722 done
3723 done
3724 IFS=$as_save_IFS
3726 if test $ac_prog_rejected = yes; then
3727 # We found a bogon in the path, so make sure we never use it.
3728 set dummy $ac_cv_prog_GOC
3729 shift
3730 if test $# != 0; then
3731 # We chose a different compiler from the bogus one.
3732 # However, it has the same basename, so the bogon will be chosen
3733 # first if we set GOC to just the basename; use the full file name.
3734 shift
3735 ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
3740 GOC=$ac_cv_prog_GOC
3741 if test -n "$GOC"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3743 $as_echo "$GOC" >&6; }
3744 else
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3753 # Provide some information about the compiler.
3754 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
3755 set X $ac_compile
3756 ac_compiler=$2
3757 { { ac_try="$ac_compiler --version >&5"
3758 case "(($ac_try" in
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3761 esac
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_compiler --version >&5") 2>conftest.err
3765 ac_status=$?
3766 if test -s conftest.err; then
3767 sed '10a\
3768 ... rest of stderr output deleted ...
3769 10q' conftest.err >conftest.er1
3770 cat conftest.er1 >&5
3771 rm -f conftest.er1 conftest.err
3773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }
3775 GOCFLAGS="-g -O2"
3776 ac_ext=c
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3783 if test "$cross_compiling" = no; then
3784 NATIVE_TRUE=
3785 NATIVE_FALSE='#'
3786 else
3787 NATIVE_TRUE='#'
3788 NATIVE_FALSE=
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
3794 $as_echo_n "checking for socket libraries... " >&6; }
3795 if test "${gotools_cv_lib_sockets+set}" = set; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 gotools_cv_lib_sockets=
3799 gotools_check_both=no
3800 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
3801 if test "x$ac_cv_func_connect" = x""yes; then :
3802 gotools_check_socket=no
3803 else
3804 gotools_check_socket=yes
3807 if test "$gotools_check_socket" = "yes"; then
3808 unset ac_cv_func_connect
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
3810 $as_echo_n "checking for main in -lsocket... " >&6; }
3811 if test "${ac_cv_lib_socket_main+set}" = set; then :
3812 $as_echo_n "(cached) " >&6
3813 else
3814 ac_check_lib_save_LIBS=$LIBS
3815 LIBS="-lsocket $LIBS"
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3821 main ()
3823 return main ();
3825 return 0;
3827 _ACEOF
3828 if ac_fn_c_try_link "$LINENO"; then :
3829 ac_cv_lib_socket_main=yes
3830 else
3831 ac_cv_lib_socket_main=no
3833 rm -f core conftest.err conftest.$ac_objext \
3834 conftest$ac_exeext conftest.$ac_ext
3835 LIBS=$ac_check_lib_save_LIBS
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
3838 $as_echo "$ac_cv_lib_socket_main" >&6; }
3839 if test "x$ac_cv_lib_socket_main" = x""yes; then :
3840 gotools_cv_lib_sockets="-lsocket"
3841 else
3842 gotools_check_both=yes
3846 if test "$gotools_check_both" = "yes"; then
3847 gotools_old_libs=$LIBS
3848 LIBS="$LIBS -lsocket -lnsl"
3849 unset ac_cv_func_accept
3850 ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
3851 if test "x$ac_cv_func_accept" = x""yes; then :
3852 gotools_check_nsl=no
3853 gotools_cv_lib_sockets="-lsocket -lnsl"
3856 unset ac_cv_func_accept
3857 LIBS=$gotools_old_libs
3859 unset ac_cv_func_gethostbyname
3860 gotools_old_libs="$LIBS"
3861 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
3862 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
3864 else
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
3866 $as_echo_n "checking for main in -lnsl... " >&6; }
3867 if test "${ac_cv_lib_nsl_main+set}" = set; then :
3868 $as_echo_n "(cached) " >&6
3869 else
3870 ac_check_lib_save_LIBS=$LIBS
3871 LIBS="-lnsl $LIBS"
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3877 main ()
3879 return main ();
3881 return 0;
3883 _ACEOF
3884 if ac_fn_c_try_link "$LINENO"; then :
3885 ac_cv_lib_nsl_main=yes
3886 else
3887 ac_cv_lib_nsl_main=no
3889 rm -f core conftest.err conftest.$ac_objext \
3890 conftest$ac_exeext conftest.$ac_ext
3891 LIBS=$ac_check_lib_save_LIBS
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
3894 $as_echo "$ac_cv_lib_nsl_main" >&6; }
3895 if test "x$ac_cv_lib_nsl_main" = x""yes; then :
3896 gotools_cv_lib_sockets="$gotools_cv_lib_sockets -lnsl"
3901 unset ac_cv_func_gethostbyname
3902 LIBS=$gotools_old_libs
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gotools_cv_lib_sockets" >&5
3906 $as_echo "$gotools_cv_lib_sockets" >&6; }
3907 NET_LIBS="$gotools_cv_lib_sockets"
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
3911 $as_echo_n "checking for library containing sched_yield... " >&6; }
3912 if test "${ac_cv_search_sched_yield+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3914 else
3915 ac_func_search_save_LIBS=$LIBS
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3919 /* Override any GCC internal prototype to avoid an error.
3920 Use char because int might match the return type of a GCC
3921 builtin and then its argument prototype would still apply. */
3922 #ifdef __cplusplus
3923 extern "C"
3924 #endif
3925 char sched_yield ();
3927 main ()
3929 return sched_yield ();
3931 return 0;
3933 _ACEOF
3934 for ac_lib in '' rt; do
3935 if test -z "$ac_lib"; then
3936 ac_res="none required"
3937 else
3938 ac_res=-l$ac_lib
3939 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3941 if ac_fn_c_try_link "$LINENO"; then :
3942 ac_cv_search_sched_yield=$ac_res
3944 rm -f core conftest.err conftest.$ac_objext \
3945 conftest$ac_exeext
3946 if test "${ac_cv_search_sched_yield+set}" = set; then :
3947 break
3949 done
3950 if test "${ac_cv_search_sched_yield+set}" = set; then :
3952 else
3953 ac_cv_search_sched_yield=no
3955 rm conftest.$ac_ext
3956 LIBS=$ac_func_search_save_LIBS
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
3959 $as_echo "$ac_cv_search_sched_yield" >&6; }
3960 ac_res=$ac_cv_search_sched_yield
3961 if test "$ac_res" != no; then :
3962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
3967 $as_echo_n "checking for library containing nanosleep... " >&6; }
3968 if test "${ac_cv_search_nanosleep+set}" = set; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 ac_func_search_save_LIBS=$LIBS
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3975 /* Override any GCC internal prototype to avoid an error.
3976 Use char because int might match the return type of a GCC
3977 builtin and then its argument prototype would still apply. */
3978 #ifdef __cplusplus
3979 extern "C"
3980 #endif
3981 char nanosleep ();
3983 main ()
3985 return nanosleep ();
3987 return 0;
3989 _ACEOF
3990 for ac_lib in '' rt; do
3991 if test -z "$ac_lib"; then
3992 ac_res="none required"
3993 else
3994 ac_res=-l$ac_lib
3995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3997 if ac_fn_c_try_link "$LINENO"; then :
3998 ac_cv_search_nanosleep=$ac_res
4000 rm -f core conftest.err conftest.$ac_objext \
4001 conftest$ac_exeext
4002 if test "${ac_cv_search_nanosleep+set}" = set; then :
4003 break
4005 done
4006 if test "${ac_cv_search_nanosleep+set}" = set; then :
4008 else
4009 ac_cv_search_nanosleep=no
4011 rm conftest.$ac_ext
4012 LIBS=$ac_func_search_save_LIBS
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
4015 $as_echo "$ac_cv_search_nanosleep" >&6; }
4016 ac_res=$ac_cv_search_nanosleep
4017 if test "$ac_res" != no; then :
4018 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4023 ac_config_files="$ac_config_files Makefile"
4026 cat >confcache <<\_ACEOF
4027 # This file is a shell script that caches the results of configure
4028 # tests run on this system so they can be shared between configure
4029 # scripts and configure runs, see configure's option --config-cache.
4030 # It is not useful on other systems. If it contains results you don't
4031 # want to keep, you may remove or edit it.
4033 # config.status only pays attention to the cache file if you give it
4034 # the --recheck option to rerun configure.
4036 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4037 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4038 # following values.
4040 _ACEOF
4042 # The following way of writing the cache mishandles newlines in values,
4043 # but we know of no workaround that is simple, portable, and efficient.
4044 # So, we kill variables containing newlines.
4045 # Ultrix sh set writes to stderr and can't be redirected directly,
4046 # and sets the high bit in the cache file unless we assign to the vars.
4048 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4049 eval ac_val=\$$ac_var
4050 case $ac_val in #(
4051 *${as_nl}*)
4052 case $ac_var in #(
4053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4055 esac
4056 case $ac_var in #(
4057 _ | IFS | as_nl) ;; #(
4058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4059 *) { eval $ac_var=; unset $ac_var;} ;;
4060 esac ;;
4061 esac
4062 done
4064 (set) 2>&1 |
4065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4066 *${as_nl}ac_space=\ *)
4067 # `set' does not quote correctly, so add quotes: double-quote
4068 # substitution turns \\\\ into \\, and sed turns \\ into \.
4069 sed -n \
4070 "s/'/'\\\\''/g;
4071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4072 ;; #(
4074 # `set' quotes correctly as required by POSIX, so do not add quotes.
4075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4077 esac |
4078 sort
4080 sed '
4081 /^ac_cv_env_/b end
4082 t clear
4083 :clear
4084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4085 t end
4086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4087 :end' >>confcache
4088 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4089 if test -w "$cache_file"; then
4090 test "x$cache_file" != "x/dev/null" &&
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4092 $as_echo "$as_me: updating cache $cache_file" >&6;}
4093 cat confcache >$cache_file
4094 else
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4096 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4099 rm -f confcache
4101 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4102 # Let make expand exec_prefix.
4103 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4105 # Transform confdefs.h into DEFS.
4106 # Protect against shell expansion while executing Makefile rules.
4107 # Protect against Makefile macro expansion.
4109 # If the first sed substitution is executed (which looks for macros that
4110 # take arguments), then branch to the quote section. Otherwise,
4111 # look for a macro that doesn't take arguments.
4112 ac_script='
4113 :mline
4114 /\\$/{
4116 s,\\\n,,
4117 b mline
4119 t clear
4120 :clear
4121 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4122 t quote
4123 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4124 t quote
4125 b any
4126 :quote
4127 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4128 s/\[/\\&/g
4129 s/\]/\\&/g
4130 s/\$/$$/g
4132 :any
4135 s/^\n//
4136 s/\n/ /g
4140 DEFS=`sed -n "$ac_script" confdefs.h`
4143 ac_libobjs=
4144 ac_ltlibobjs=
4145 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4146 # 1. Remove the extension, and $U if already installed.
4147 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4148 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4149 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4150 # will be set to the directory where LIBOBJS objects are built.
4151 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4152 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4153 done
4154 LIBOBJS=$ac_libobjs
4156 LTLIBOBJS=$ac_ltlibobjs
4159 if test -n "$EXEEXT"; then
4160 am__EXEEXT_TRUE=
4161 am__EXEEXT_FALSE='#'
4162 else
4163 am__EXEEXT_TRUE='#'
4164 am__EXEEXT_FALSE=
4167 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4168 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
4169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4171 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4172 as_fn_error "conditional \"AMDEP\" was never defined.
4173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4175 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4176 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4179 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
4180 as_fn_error "conditional \"NATIVE\" was never defined.
4181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4184 : ${CONFIG_STATUS=./config.status}
4185 ac_write_fail=0
4186 ac_clean_files_save=$ac_clean_files
4187 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4189 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4190 as_write_fail=0
4191 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4192 #! $SHELL
4193 # Generated by $as_me.
4194 # Run this file to recreate the current configuration.
4195 # Compiler output produced by configure, useful for debugging
4196 # configure, is in config.log if it exists.
4198 debug=false
4199 ac_cs_recheck=false
4200 ac_cs_silent=false
4202 SHELL=\${CONFIG_SHELL-$SHELL}
4203 export SHELL
4204 _ASEOF
4205 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4206 ## -------------------- ##
4207 ## M4sh Initialization. ##
4208 ## -------------------- ##
4210 # Be more Bourne compatible
4211 DUALCASE=1; export DUALCASE # for MKS sh
4212 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4213 emulate sh
4214 NULLCMD=:
4215 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4216 # is contrary to our usage. Disable this feature.
4217 alias -g '${1+"$@"}'='"$@"'
4218 setopt NO_GLOB_SUBST
4219 else
4220 case `(set -o) 2>/dev/null` in #(
4221 *posix*) :
4222 set -o posix ;; #(
4223 *) :
4225 esac
4229 as_nl='
4231 export as_nl
4232 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4233 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4235 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4236 # Prefer a ksh shell builtin over an external printf program on Solaris,
4237 # but without wasting forks for bash or zsh.
4238 if test -z "$BASH_VERSION$ZSH_VERSION" \
4239 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4240 as_echo='print -r --'
4241 as_echo_n='print -rn --'
4242 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4243 as_echo='printf %s\n'
4244 as_echo_n='printf %s'
4245 else
4246 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4247 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4248 as_echo_n='/usr/ucb/echo -n'
4249 else
4250 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4251 as_echo_n_body='eval
4252 arg=$1;
4253 case $arg in #(
4254 *"$as_nl"*)
4255 expr "X$arg" : "X\\(.*\\)$as_nl";
4256 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4257 esac;
4258 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4260 export as_echo_n_body
4261 as_echo_n='sh -c $as_echo_n_body as_echo'
4263 export as_echo_body
4264 as_echo='sh -c $as_echo_body as_echo'
4267 # The user is always right.
4268 if test "${PATH_SEPARATOR+set}" != set; then
4269 PATH_SEPARATOR=:
4270 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4271 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4272 PATH_SEPARATOR=';'
4277 # IFS
4278 # We need space, tab and new line, in precisely that order. Quoting is
4279 # there to prevent editors from complaining about space-tab.
4280 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4281 # splitting by setting IFS to empty value.)
4282 IFS=" "" $as_nl"
4284 # Find who we are. Look in the path if we contain no directory separator.
4285 case $0 in #((
4286 *[\\/]* ) as_myself=$0 ;;
4287 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 for as_dir in $PATH
4290 IFS=$as_save_IFS
4291 test -z "$as_dir" && as_dir=.
4292 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4293 done
4294 IFS=$as_save_IFS
4297 esac
4298 # We did not find ourselves, most probably we were run as `sh COMMAND'
4299 # in which case we are not to be found in the path.
4300 if test "x$as_myself" = x; then
4301 as_myself=$0
4303 if test ! -f "$as_myself"; then
4304 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4305 exit 1
4308 # Unset variables that we do not need and which cause bugs (e.g. in
4309 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4310 # suppresses any "Segmentation fault" message there. '((' could
4311 # trigger a bug in pdksh 5.2.14.
4312 for as_var in BASH_ENV ENV MAIL MAILPATH
4313 do eval test x\${$as_var+set} = xset \
4314 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4315 done
4316 PS1='$ '
4317 PS2='> '
4318 PS4='+ '
4320 # NLS nuisances.
4321 LC_ALL=C
4322 export LC_ALL
4323 LANGUAGE=C
4324 export LANGUAGE
4326 # CDPATH.
4327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4330 # as_fn_error ERROR [LINENO LOG_FD]
4331 # ---------------------------------
4332 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4333 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4334 # script with status $?, using 1 if that was 0.
4335 as_fn_error ()
4337 as_status=$?; test $as_status -eq 0 && as_status=1
4338 if test "$3"; then
4339 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4340 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4342 $as_echo "$as_me: error: $1" >&2
4343 as_fn_exit $as_status
4344 } # as_fn_error
4347 # as_fn_set_status STATUS
4348 # -----------------------
4349 # Set $? to STATUS, without forking.
4350 as_fn_set_status ()
4352 return $1
4353 } # as_fn_set_status
4355 # as_fn_exit STATUS
4356 # -----------------
4357 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4358 as_fn_exit ()
4360 set +e
4361 as_fn_set_status $1
4362 exit $1
4363 } # as_fn_exit
4365 # as_fn_unset VAR
4366 # ---------------
4367 # Portably unset VAR.
4368 as_fn_unset ()
4370 { eval $1=; unset $1;}
4372 as_unset=as_fn_unset
4373 # as_fn_append VAR VALUE
4374 # ----------------------
4375 # Append the text in VALUE to the end of the definition contained in VAR. Take
4376 # advantage of any shell optimizations that allow amortized linear growth over
4377 # repeated appends, instead of the typical quadratic growth present in naive
4378 # implementations.
4379 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4380 eval 'as_fn_append ()
4382 eval $1+=\$2
4384 else
4385 as_fn_append ()
4387 eval $1=\$$1\$2
4389 fi # as_fn_append
4391 # as_fn_arith ARG...
4392 # ------------------
4393 # Perform arithmetic evaluation on the ARGs, and store the result in the
4394 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4395 # must be portable across $(()) and expr.
4396 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4397 eval 'as_fn_arith ()
4399 as_val=$(( $* ))
4401 else
4402 as_fn_arith ()
4404 as_val=`expr "$@" || test $? -eq 1`
4406 fi # as_fn_arith
4409 if expr a : '\(a\)' >/dev/null 2>&1 &&
4410 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4411 as_expr=expr
4412 else
4413 as_expr=false
4416 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4417 as_basename=basename
4418 else
4419 as_basename=false
4422 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4423 as_dirname=dirname
4424 else
4425 as_dirname=false
4428 as_me=`$as_basename -- "$0" ||
4429 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4430 X"$0" : 'X\(//\)$' \| \
4431 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4432 $as_echo X/"$0" |
4433 sed '/^.*\/\([^/][^/]*\)\/*$/{
4434 s//\1/
4437 /^X\/\(\/\/\)$/{
4438 s//\1/
4441 /^X\/\(\/\).*/{
4442 s//\1/
4445 s/.*/./; q'`
4447 # Avoid depending upon Character Ranges.
4448 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4449 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4450 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4451 as_cr_digits='0123456789'
4452 as_cr_alnum=$as_cr_Letters$as_cr_digits
4454 ECHO_C= ECHO_N= ECHO_T=
4455 case `echo -n x` in #(((((
4456 -n*)
4457 case `echo 'xy\c'` in
4458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4459 xy) ECHO_C='\c';;
4460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4461 ECHO_T=' ';;
4462 esac;;
4464 ECHO_N='-n';;
4465 esac
4467 rm -f conf$$ conf$$.exe conf$$.file
4468 if test -d conf$$.dir; then
4469 rm -f conf$$.dir/conf$$.file
4470 else
4471 rm -f conf$$.dir
4472 mkdir conf$$.dir 2>/dev/null
4474 if (echo >conf$$.file) 2>/dev/null; then
4475 if ln -s conf$$.file conf$$ 2>/dev/null; then
4476 as_ln_s='ln -s'
4477 # ... but there are two gotchas:
4478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4480 # In both cases, we have to default to `cp -p'.
4481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4482 as_ln_s='cp -p'
4483 elif ln conf$$.file conf$$ 2>/dev/null; then
4484 as_ln_s=ln
4485 else
4486 as_ln_s='cp -p'
4488 else
4489 as_ln_s='cp -p'
4491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4492 rmdir conf$$.dir 2>/dev/null
4495 # as_fn_mkdir_p
4496 # -------------
4497 # Create "$as_dir" as a directory, including parents if necessary.
4498 as_fn_mkdir_p ()
4501 case $as_dir in #(
4502 -*) as_dir=./$as_dir;;
4503 esac
4504 test -d "$as_dir" || eval $as_mkdir_p || {
4505 as_dirs=
4506 while :; do
4507 case $as_dir in #(
4508 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4509 *) as_qdir=$as_dir;;
4510 esac
4511 as_dirs="'$as_qdir' $as_dirs"
4512 as_dir=`$as_dirname -- "$as_dir" ||
4513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4514 X"$as_dir" : 'X\(//\)[^/]' \| \
4515 X"$as_dir" : 'X\(//\)$' \| \
4516 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4517 $as_echo X"$as_dir" |
4518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4519 s//\1/
4522 /^X\(\/\/\)[^/].*/{
4523 s//\1/
4526 /^X\(\/\/\)$/{
4527 s//\1/
4530 /^X\(\/\).*/{
4531 s//\1/
4534 s/.*/./; q'`
4535 test -d "$as_dir" && break
4536 done
4537 test -z "$as_dirs" || eval "mkdir $as_dirs"
4538 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4541 } # as_fn_mkdir_p
4542 if mkdir -p . 2>/dev/null; then
4543 as_mkdir_p='mkdir -p "$as_dir"'
4544 else
4545 test -d ./-p && rmdir ./-p
4546 as_mkdir_p=false
4549 if test -x / >/dev/null 2>&1; then
4550 as_test_x='test -x'
4551 else
4552 if ls -dL / >/dev/null 2>&1; then
4553 as_ls_L_option=L
4554 else
4555 as_ls_L_option=
4557 as_test_x='
4558 eval sh -c '\''
4559 if test -d "$1"; then
4560 test -d "$1/.";
4561 else
4562 case $1 in #(
4563 -*)set "./$1";;
4564 esac;
4565 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4566 ???[sx]*):;;*)false;;esac;fi
4567 '\'' sh
4570 as_executable_p=$as_test_x
4572 # Sed expression to map a string onto a valid CPP name.
4573 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4575 # Sed expression to map a string onto a valid variable name.
4576 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4579 exec 6>&1
4580 ## ----------------------------------- ##
4581 ## Main body of $CONFIG_STATUS script. ##
4582 ## ----------------------------------- ##
4583 _ASEOF
4584 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4587 # Save the log message, to keep $0 and so on meaningful, and to
4588 # report actual input values of CONFIG_FILES etc. instead of their
4589 # values after options handling.
4590 ac_log="
4591 This file was extended by package-unused $as_me version-unused, which was
4592 generated by GNU Autoconf 2.64. Invocation command line was
4594 CONFIG_FILES = $CONFIG_FILES
4595 CONFIG_HEADERS = $CONFIG_HEADERS
4596 CONFIG_LINKS = $CONFIG_LINKS
4597 CONFIG_COMMANDS = $CONFIG_COMMANDS
4598 $ $0 $@
4600 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4603 _ACEOF
4605 case $ac_config_files in *"
4606 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4607 esac
4611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4612 # Files that config.status was made for.
4613 config_files="$ac_config_files"
4614 config_commands="$ac_config_commands"
4616 _ACEOF
4618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4619 ac_cs_usage="\
4620 \`$as_me' instantiates files and other configuration actions
4621 from templates according to the current configuration. Unless the files
4622 and actions are specified as TAGs, all are instantiated by default.
4624 Usage: $0 [OPTION]... [TAG]...
4626 -h, --help print this help, then exit
4627 -V, --version print version number and configuration settings, then exit
4628 -q, --quiet, --silent
4629 do not print progress messages
4630 -d, --debug don't remove temporary files
4631 --recheck update $as_me by reconfiguring in the same conditions
4632 --file=FILE[:TEMPLATE]
4633 instantiate the configuration file FILE
4635 Configuration files:
4636 $config_files
4638 Configuration commands:
4639 $config_commands
4641 Report bugs to the package provider."
4643 _ACEOF
4644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4645 ac_cs_version="\\
4646 package-unused config.status version-unused
4647 configured by $0, generated by GNU Autoconf 2.64,
4648 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4650 Copyright (C) 2009 Free Software Foundation, Inc.
4651 This config.status script is free software; the Free Software Foundation
4652 gives unlimited permission to copy, distribute and modify it."
4654 ac_pwd='$ac_pwd'
4655 srcdir='$srcdir'
4656 INSTALL='$INSTALL'
4657 MKDIR_P='$MKDIR_P'
4658 AWK='$AWK'
4659 test -n "\$AWK" || AWK=awk
4660 _ACEOF
4662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4663 # The default lists apply if the user does not specify any file.
4664 ac_need_defaults=:
4665 while test $# != 0
4667 case $1 in
4668 --*=*)
4669 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4670 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4671 ac_shift=:
4674 ac_option=$1
4675 ac_optarg=$2
4676 ac_shift=shift
4678 esac
4680 case $ac_option in
4681 # Handling of the options.
4682 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4683 ac_cs_recheck=: ;;
4684 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4685 $as_echo "$ac_cs_version"; exit ;;
4686 --debug | --debu | --deb | --de | --d | -d )
4687 debug=: ;;
4688 --file | --fil | --fi | --f )
4689 $ac_shift
4690 case $ac_optarg in
4691 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4692 esac
4693 as_fn_append CONFIG_FILES " '$ac_optarg'"
4694 ac_need_defaults=false;;
4695 --he | --h | --help | --hel | -h )
4696 $as_echo "$ac_cs_usage"; exit ;;
4697 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4698 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4699 ac_cs_silent=: ;;
4701 # This is an error.
4702 -*) as_fn_error "unrecognized option: \`$1'
4703 Try \`$0 --help' for more information." ;;
4705 *) as_fn_append ac_config_targets " $1"
4706 ac_need_defaults=false ;;
4708 esac
4709 shift
4710 done
4712 ac_configure_extra_args=
4714 if $ac_cs_silent; then
4715 exec 6>/dev/null
4716 ac_configure_extra_args="$ac_configure_extra_args --silent"
4719 _ACEOF
4720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4721 if \$ac_cs_recheck; then
4722 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4723 shift
4724 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4725 CONFIG_SHELL='$SHELL'
4726 export CONFIG_SHELL
4727 exec "\$@"
4730 _ACEOF
4731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4732 exec 5>>config.log
4734 echo
4735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4736 ## Running $as_me. ##
4737 _ASBOX
4738 $as_echo "$ac_log"
4739 } >&5
4741 _ACEOF
4742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4744 # INIT-COMMANDS
4746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4748 _ACEOF
4750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4752 # Handling of arguments.
4753 for ac_config_target in $ac_config_targets
4755 case $ac_config_target in
4756 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4757 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4759 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4760 esac
4761 done
4764 # If the user did not use the arguments to specify the items to instantiate,
4765 # then the envvar interface is used. Set only those that are not.
4766 # We use the long form for the default assignment because of an extremely
4767 # bizarre bug on SunOS 4.1.3.
4768 if $ac_need_defaults; then
4769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4770 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4773 # Have a temporary directory for convenience. Make it in the build tree
4774 # simply because there is no reason against having it here, and in addition,
4775 # creating and moving files from /tmp can sometimes cause problems.
4776 # Hook for its removal unless debugging.
4777 # Note that there is a small window in which the directory will not be cleaned:
4778 # after its creation but before its name has been assigned to `$tmp'.
4779 $debug ||
4781 tmp=
4782 trap 'exit_status=$?
4783 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4785 trap 'as_fn_exit 1' 1 2 13 15
4787 # Create a (secure) tmp directory for tmp files.
4790 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4791 test -n "$tmp" && test -d "$tmp"
4792 } ||
4794 tmp=./conf$$-$RANDOM
4795 (umask 077 && mkdir "$tmp")
4796 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4798 # Set up the scripts for CONFIG_FILES section.
4799 # No need to generate them if there are no CONFIG_FILES.
4800 # This happens for instance with `./config.status config.h'.
4801 if test -n "$CONFIG_FILES"; then
4804 ac_cr=`echo X | tr X '\015'`
4805 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4806 # But we know of no other shell where ac_cr would be empty at this
4807 # point, so we can use a bashism as a fallback.
4808 if test "x$ac_cr" = x; then
4809 eval ac_cr=\$\'\\r\'
4811 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4812 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4813 ac_cs_awk_cr='\r'
4814 else
4815 ac_cs_awk_cr=$ac_cr
4818 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4819 _ACEOF
4823 echo "cat >conf$$subs.awk <<_ACEOF" &&
4824 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4825 echo "_ACEOF"
4826 } >conf$$subs.sh ||
4827 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4828 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4829 ac_delim='%!_!# '
4830 for ac_last_try in false false false false false :; do
4831 . ./conf$$subs.sh ||
4832 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4834 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4835 if test $ac_delim_n = $ac_delim_num; then
4836 break
4837 elif $ac_last_try; then
4838 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4839 else
4840 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4842 done
4843 rm -f conf$$subs.sh
4845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4846 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4847 _ACEOF
4848 sed -n '
4850 s/^/S["/; s/!.*/"]=/
4853 s/^[^!]*!//
4854 :repl
4855 t repl
4856 s/'"$ac_delim"'$//
4857 t delim
4860 s/\(.\{148\}\).*/\1/
4861 t more1
4862 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4865 b repl
4866 :more1
4867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4870 s/.\{148\}//
4871 t nl
4872 :delim
4874 s/\(.\{148\}\).*/\1/
4875 t more2
4876 s/["\\]/\\&/g; s/^/"/; s/$/"/
4879 :more2
4880 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4883 s/.\{148\}//
4884 t delim
4885 ' <conf$$subs.awk | sed '
4886 /^[^""]/{
4888 s/\n//
4890 ' >>$CONFIG_STATUS || ac_write_fail=1
4891 rm -f conf$$subs.awk
4892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4893 _ACAWK
4894 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4895 for (key in S) S_is_set[key] = 1
4896 FS = "\a"
4900 line = $ 0
4901 nfields = split(line, field, "@")
4902 substed = 0
4903 len = length(field[1])
4904 for (i = 2; i < nfields; i++) {
4905 key = field[i]
4906 keylen = length(key)
4907 if (S_is_set[key]) {
4908 value = S[key]
4909 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4910 len += length(value) + length(field[++i])
4911 substed = 1
4912 } else
4913 len += 1 + keylen
4916 print line
4919 _ACAWK
4920 _ACEOF
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4922 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4923 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4924 else
4926 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4927 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4928 _ACEOF
4930 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4931 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4932 # trailing colons and then remove the whole line if VPATH becomes empty
4933 # (actually we leave an empty line to preserve line numbers).
4934 if test "x$srcdir" = x.; then
4935 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4936 s/:*\$(srcdir):*/:/
4937 s/:*\${srcdir}:*/:/
4938 s/:*@srcdir@:*/:/
4939 s/^\([^=]*=[ ]*\):*/\1/
4940 s/:*$//
4941 s/^[^=]*=[ ]*$//
4945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4946 fi # test -n "$CONFIG_FILES"
4949 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4950 shift
4951 for ac_tag
4953 case $ac_tag in
4954 :[FHLC]) ac_mode=$ac_tag; continue;;
4955 esac
4956 case $ac_mode$ac_tag in
4957 :[FHL]*:*);;
4958 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4959 :[FH]-) ac_tag=-:-;;
4960 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4961 esac
4962 ac_save_IFS=$IFS
4963 IFS=:
4964 set x $ac_tag
4965 IFS=$ac_save_IFS
4966 shift
4967 ac_file=$1
4968 shift
4970 case $ac_mode in
4971 :L) ac_source=$1;;
4972 :[FH])
4973 ac_file_inputs=
4974 for ac_f
4976 case $ac_f in
4977 -) ac_f="$tmp/stdin";;
4978 *) # Look for the file first in the build tree, then in the source tree
4979 # (if the path is not absolute). The absolute path cannot be DOS-style,
4980 # because $ac_f cannot contain `:'.
4981 test -f "$ac_f" ||
4982 case $ac_f in
4983 [\\/$]*) false;;
4984 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4985 esac ||
4986 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4987 esac
4988 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4989 as_fn_append ac_file_inputs " '$ac_f'"
4990 done
4992 # Let's still pretend it is `configure' which instantiates (i.e., don't
4993 # use $as_me), people would be surprised to read:
4994 # /* config.h. Generated by config.status. */
4995 configure_input='Generated from '`
4996 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4997 `' by configure.'
4998 if test x"$ac_file" != x-; then
4999 configure_input="$ac_file. $configure_input"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5001 $as_echo "$as_me: creating $ac_file" >&6;}
5003 # Neutralize special characters interpreted by sed in replacement strings.
5004 case $configure_input in #(
5005 *\&* | *\|* | *\\* )
5006 ac_sed_conf_input=`$as_echo "$configure_input" |
5007 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5008 *) ac_sed_conf_input=$configure_input;;
5009 esac
5011 case $ac_tag in
5012 *:-:* | *:-) cat >"$tmp/stdin" \
5013 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5014 esac
5016 esac
5018 ac_dir=`$as_dirname -- "$ac_file" ||
5019 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5020 X"$ac_file" : 'X\(//\)[^/]' \| \
5021 X"$ac_file" : 'X\(//\)$' \| \
5022 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5023 $as_echo X"$ac_file" |
5024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5025 s//\1/
5028 /^X\(\/\/\)[^/].*/{
5029 s//\1/
5032 /^X\(\/\/\)$/{
5033 s//\1/
5036 /^X\(\/\).*/{
5037 s//\1/
5040 s/.*/./; q'`
5041 as_dir="$ac_dir"; as_fn_mkdir_p
5042 ac_builddir=.
5044 case "$ac_dir" in
5045 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5047 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5048 # A ".." for each directory in $ac_dir_suffix.
5049 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5050 case $ac_top_builddir_sub in
5051 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5052 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5053 esac ;;
5054 esac
5055 ac_abs_top_builddir=$ac_pwd
5056 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5057 # for backward compatibility:
5058 ac_top_builddir=$ac_top_build_prefix
5060 case $srcdir in
5061 .) # We are building in place.
5062 ac_srcdir=.
5063 ac_top_srcdir=$ac_top_builddir_sub
5064 ac_abs_top_srcdir=$ac_pwd ;;
5065 [\\/]* | ?:[\\/]* ) # Absolute name.
5066 ac_srcdir=$srcdir$ac_dir_suffix;
5067 ac_top_srcdir=$srcdir
5068 ac_abs_top_srcdir=$srcdir ;;
5069 *) # Relative name.
5070 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5071 ac_top_srcdir=$ac_top_build_prefix$srcdir
5072 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5073 esac
5074 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5077 case $ac_mode in
5080 # CONFIG_FILE
5083 case $INSTALL in
5084 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5085 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5086 esac
5087 ac_MKDIR_P=$MKDIR_P
5088 case $MKDIR_P in
5089 [\\/$]* | ?:[\\/]* ) ;;
5090 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5091 esac
5092 _ACEOF
5094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5095 # If the template does not know about datarootdir, expand it.
5096 # FIXME: This hack should be removed a few years after 2.60.
5097 ac_datarootdir_hack=; ac_datarootdir_seen=
5098 ac_sed_dataroot='
5099 /datarootdir/ {
5103 /@datadir@/p
5104 /@docdir@/p
5105 /@infodir@/p
5106 /@localedir@/p
5107 /@mandir@/p'
5108 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5109 *datarootdir*) ac_datarootdir_seen=yes;;
5110 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5112 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5113 _ACEOF
5114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5115 ac_datarootdir_hack='
5116 s&@datadir@&$datadir&g
5117 s&@docdir@&$docdir&g
5118 s&@infodir@&$infodir&g
5119 s&@localedir@&$localedir&g
5120 s&@mandir@&$mandir&g
5121 s&\\\${datarootdir}&$datarootdir&g' ;;
5122 esac
5123 _ACEOF
5125 # Neutralize VPATH when `$srcdir' = `.'.
5126 # Shell code in configure.ac might set extrasub.
5127 # FIXME: do we really want to maintain this feature?
5128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5129 ac_sed_extra="$ac_vpsub
5130 $extrasub
5131 _ACEOF
5132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5134 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5135 s|@configure_input@|$ac_sed_conf_input|;t t
5136 s&@top_builddir@&$ac_top_builddir_sub&;t t
5137 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5138 s&@srcdir@&$ac_srcdir&;t t
5139 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5140 s&@top_srcdir@&$ac_top_srcdir&;t t
5141 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5142 s&@builddir@&$ac_builddir&;t t
5143 s&@abs_builddir@&$ac_abs_builddir&;t t
5144 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5145 s&@INSTALL@&$ac_INSTALL&;t t
5146 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5147 $ac_datarootdir_hack
5149 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5150 || as_fn_error "could not create $ac_file" "$LINENO" 5
5152 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5153 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5154 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5156 which seems to be undefined. Please make sure it is defined." >&5
5157 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5158 which seems to be undefined. Please make sure it is defined." >&2;}
5160 rm -f "$tmp/stdin"
5161 case $ac_file in
5162 -) cat "$tmp/out" && rm -f "$tmp/out";;
5163 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5164 esac \
5165 || as_fn_error "could not create $ac_file" "$LINENO" 5
5169 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5170 $as_echo "$as_me: executing $ac_file commands" >&6;}
5172 esac
5175 case $ac_file$ac_mode in
5176 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5177 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5178 # are listed without --file. Let's play safe and only enable the eval
5179 # if we detect the quoting.
5180 case $CONFIG_FILES in
5181 *\'*) eval set x "$CONFIG_FILES" ;;
5182 *) set x $CONFIG_FILES ;;
5183 esac
5184 shift
5185 for mf
5187 # Strip MF so we end up with the name of the file.
5188 mf=`echo "$mf" | sed -e 's/:.*$//'`
5189 # Check whether this is an Automake generated Makefile or not.
5190 # We used to match only the files named `Makefile.in', but
5191 # some people rename them; so instead we look at the file content.
5192 # Grep'ing the first line is not enough: some people post-process
5193 # each Makefile.in and add a new line on top of each file to say so.
5194 # Grep'ing the whole file is not good either: AIX grep has a line
5195 # limit of 2048, but all sed's we know have understand at least 4000.
5196 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5197 dirpart=`$as_dirname -- "$mf" ||
5198 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5199 X"$mf" : 'X\(//\)[^/]' \| \
5200 X"$mf" : 'X\(//\)$' \| \
5201 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5202 $as_echo X"$mf" |
5203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5204 s//\1/
5207 /^X\(\/\/\)[^/].*/{
5208 s//\1/
5211 /^X\(\/\/\)$/{
5212 s//\1/
5215 /^X\(\/\).*/{
5216 s//\1/
5219 s/.*/./; q'`
5220 else
5221 continue
5223 # Extract the definition of DEPDIR, am__include, and am__quote
5224 # from the Makefile without running `make'.
5225 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5226 test -z "$DEPDIR" && continue
5227 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5228 test -z "am__include" && continue
5229 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5230 # When using ansi2knr, U may be empty or an underscore; expand it
5231 U=`sed -n 's/^U = //p' < "$mf"`
5232 # Find all dependency output files, they are included files with
5233 # $(DEPDIR) in their names. We invoke sed twice because it is the
5234 # simplest approach to changing $(DEPDIR) to its actual value in the
5235 # expansion.
5236 for file in `sed -n "
5237 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5238 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5239 # Make sure the directory exists.
5240 test -f "$dirpart/$file" && continue
5241 fdir=`$as_dirname -- "$file" ||
5242 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5243 X"$file" : 'X\(//\)[^/]' \| \
5244 X"$file" : 'X\(//\)$' \| \
5245 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5246 $as_echo X"$file" |
5247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5248 s//\1/
5251 /^X\(\/\/\)[^/].*/{
5252 s//\1/
5255 /^X\(\/\/\)$/{
5256 s//\1/
5259 /^X\(\/\).*/{
5260 s//\1/
5263 s/.*/./; q'`
5264 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5265 # echo "creating $dirpart/$file"
5266 echo '# dummy' > "$dirpart/$file"
5267 done
5268 done
5272 esac
5273 done # for ac_tag
5276 as_fn_exit 0
5277 _ACEOF
5278 ac_clean_files=$ac_clean_files_save
5280 test $ac_write_fail = 0 ||
5281 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5284 # configure is writing to config.log, and then calls config.status.
5285 # config.status does its own redirection, appending to config.log.
5286 # Unfortunately, on DOS this fails, as config.log is still kept open
5287 # by configure, so config.status won't be able to write to it; its
5288 # output is simply discarded. So we exec the FD to /dev/null,
5289 # effectively closing config.log, so it can be properly (re)opened and
5290 # appended to by config.status. When coming back to configure, we
5291 # need to make the FD available again.
5292 if test "$no_create" != yes; then
5293 ac_cs_success=:
5294 ac_config_status_args=
5295 test "$silent" = yes &&
5296 ac_config_status_args="$ac_config_status_args --quiet"
5297 exec 5>/dev/null
5298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5299 exec 5>>config.log
5300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5301 # would make configure fail if this is the last instruction.
5302 $ac_cs_success || as_fn_exit $?
5304 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5306 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}